{ // 获取包含Hugging Face文本的span元素 const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap'); spans.forEach(span => { if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) { span.textContent = 'AI快站'; } }); }); // 替换logo图片的alt属性 document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => { if (img.alt.match(/Hugging\s*Face/i)) { img.alt = 'AI快站 logo'; } }); } // 替换导航栏中的链接 function replaceNavigationLinks() { // 已替换标记,防止重复运行 if (window._navLinksReplaced) { return; } // 已经替换过的链接集合,防止重复替换 const replacedLinks = new Set(); // 只在导航栏区域查找和替换链接 const headerArea = document.querySelector('header') || document.querySelector('nav'); if (!headerArea) { return; } // 在导航区域内查找链接 const navLinks = headerArea.querySelectorAll('a'); navLinks.forEach(link => { // 如果已经替换过,跳过 if (replacedLinks.has(link)) return; const linkText = link.textContent.trim(); const linkHref = link.getAttribute('href') || ''; // 替换Spaces链接 - 仅替换一次 if ( (linkHref.includes('/spaces') || linkHref === '/spaces' || linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) && linkText !== 'OCR模型免费转Markdown' && linkText !== 'OCR模型免费转Markdown' ) { link.textContent = 'OCR模型免费转Markdown'; link.href = 'https://fast360.xyz'; link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); replacedLinks.add(link); } // 删除Posts链接 else if ( (linkHref.includes('/posts') || linkHref === '/posts' || linkText === 'Posts' || linkText.match(/^s*Postss*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } // 替换Docs链接 - 仅替换一次 else if ( (linkHref.includes('/docs') || linkHref === '/docs' || linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) && linkText !== '模型下载攻略' ) { link.textContent = '模型下载攻略'; link.href = '/'; replacedLinks.add(link); } // 删除Enterprise链接 else if ( (linkHref.includes('/enterprise') || linkHref === '/enterprise' || linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } }); // 查找可能嵌套的Spaces和Posts文本 const textNodes = []; function findTextNodes(element) { if (element.nodeType === Node.TEXT_NODE) { const text = element.textContent.trim(); if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') { textNodes.push(element); } } else { for (const child of element.childNodes) { findTextNodes(child); } } } // 只在导航区域内查找文本节点 findTextNodes(headerArea); // 替换找到的文本节点 textNodes.forEach(node => { const text = node.textContent.trim(); if (text === 'Spaces') { node.textContent = node.textContent.replace(/Spaces/g, 'OCR模型免费转Markdown'); } else if (text === 'Posts') { // 删除Posts文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } else if (text === 'Enterprise') { // 删除Enterprise文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } }); // 标记已替换完成 window._navLinksReplaced = true; } // 替换代码区域中的域名 function replaceCodeDomains() { // 特别处理span.hljs-string和span.njs-string元素 document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换hljs-string类的span中的域名(移除多余的转义符号) document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换pre和code标签中包含git clone命令的域名 document.querySelectorAll('pre, code').forEach(element => { if (element.textContent && element.textContent.includes('git clone')) { const text = element.innerHTML; if (text.includes('huggingface.co')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 处理特定的命令行示例 document.querySelectorAll('pre, code').forEach(element => { const text = element.innerHTML; if (text.includes('huggingface.co')) { // 针对git clone命令的专门处理 if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 特别处理模型下载页面上的代码片段 document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => { const content = container.innerHTML; if (content && content.includes('huggingface.co')) { container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 特别处理模型仓库克隆对话框中的代码片段 try { // 查找包含"Clone this model repository"标题的对话框 const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]'); if (cloneDialog) { // 查找对话框中所有的代码片段和命令示例 const codeElements = cloneDialog.querySelectorAll('pre, code, span'); codeElements.forEach(element => { if (element.textContent && element.textContent.includes('huggingface.co')) { if (element.innerHTML.includes('huggingface.co')) { element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); } // 更精确地定位克隆命令中的域名 document.querySelectorAll('[data-target]').forEach(container => { const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string'); codeBlocks.forEach(block => { if (block.textContent && block.textContent.includes('huggingface.co')) { if (block.innerHTML.includes('huggingface.co')) { block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); }); } catch (e) { // 错误处理但不打印日志 } } // 当DOM加载完成后执行替换 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); }); } else { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); } // 增加一个MutationObserver来处理可能的动态元素加载 const observer = new MutationObserver(mutations => { // 检查是否导航区域有变化 const hasNavChanges = mutations.some(mutation => { // 检查是否存在header或nav元素变化 return Array.from(mutation.addedNodes).some(node => { if (node.nodeType === Node.ELEMENT_NODE) { // 检查是否是导航元素或其子元素 if (node.tagName === 'HEADER' || node.tagName === 'NAV' || node.querySelector('header, nav')) { return true; } // 检查是否在导航元素内部 let parent = node.parentElement; while (parent) { if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') { return true; } parent = parent.parentElement; } } return false; }); }); // 只在导航区域有变化时执行替换 if (hasNavChanges) { // 重置替换状态,允许再次替换 window._navLinksReplaced = false; replaceHeaderBranding(); replaceNavigationLinks(); } }); // 开始观察document.body的变化,包括子节点 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } else { document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); } })(); \");\n // return;\n }\n else{\n int postid = stringToint(postidStr);\n if(postid == -1){\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\n response.getWriter().println(\"

\");\n response.getWriter().println(response.getStatus());\n response.getWriter().println(\" (Bad Request): Postid is not valid. It must be an integer

\");\n }\n else{\n //optional title body parameters\n String title = request.getParameter(\"title\");\n String body = request.getParameter(\"body\");\n\n boolean bodyAndTitlePassed;\n if(body == null || title == null)\n bodyAndTitlePassed = false;\n else\n bodyAndTitlePassed = true;\n\n if(postid <= 0){\n if(bodyAndTitlePassed){\n //use the passed parameter values as the initial title and body values\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n //return with status code 200\n response.setStatus(HttpServletResponse.SC_OK);\n }\n else{//otherwise, set missing title and/or body to empty string and return with status code 200 (OK)\n request.setAttribute(\"title\", \"\");\n request.setAttribute(\"body\", \"\");\n response.setStatus(HttpServletResponse.SC_OK);\n }\n //return the \"edit page\" for the post with the given postid by the user\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else{//postid > 0\n if(bodyAndTitlePassed){//click close window when using preview page\n //use the passed parameter values as the initial title and body values\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n //return with status code 200\n response.setStatus(HttpServletResponse.SC_OK);\n //return the \"edit page\" for the post with the given postid by the user\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else{\n AccessDB mydb = new AccessDB();\n boolean nameAndIDExist = mydb.checkExistence(username, postid);\n if(nameAndIDExist){//if (username, postid) row exists in the database, retrieve the title and body from the database and return with status code 200(OK)\n Record myRecord = mydb.fetchTitleAndBody(username, postid);\n request.setAttribute(\"title\", myRecord.title);\n request.setAttribute(\"body\", myRecord.body);\n response.setStatus(HttpServletResponse.SC_OK);\n //return the \"edit page\" for the post with the given postid by the user\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else{ //otherwise, return with status code 404 (Not found) //SC_NOT_FOUND\n response.setStatus(HttpServletResponse.SC_NOT_FOUND);\n response.getWriter().println(\"

\");\n response.getWriter().println(response.getStatus() + \" (Not found): Cannot find the post with id \" + postid + \" for user \" + username);\n response.getWriter().println(\"

\");\n }\n }\n }\n }\n }\n }","title":""},{"docid":"3a6ac374220b663c95f820353e7ac8b8","score":"0.5697887","text":"@GetMapping(\"/edit/{id}\")\r\n\tpublic String showEdit(\r\n\t\t\t@PageableDefault(page=0, size=5) Pageable pageable,\r\n\t\t\t@PathVariable Integer id,\r\n\t\t\tModel model) \r\n\t{\r\n\t\ttry {\r\n\t\t\tlog.info(\"Entered into showEdit(id) method and About to call getOneOrderMethod(id) service method\");\r\n\t\t\tOptional opt = service.getOneOrderMethod(id);\r\n\t\t\tif(opt.isPresent()) {\r\n\t\t\t\tlog.debug(\"Data fetched and about to show in ui using Model memory\");\r\n\t\t\t\tmodel.addAttribute(\"orderMethod\", opt.get());\r\n\t\t\t\treturn \"OrderMethodEdit\";\r\n\t\t\t}\r\n\t\t\tString message = \"Order Method Not Existed!\";\r\n\t\t\tlog.warn(message);\r\n\t\t\tmodel.addAttribute(\"errorMessag\"\r\n\t\t\t\t\t+ \"e\", message);\r\n\t\t\t\r\n\t\t\tmodel.addAttribute(\"page\", service.getAllOrderMethod(pageable));\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(\"Exception : \"+e);\r\n\t\t\te.printStackTrace();\t\t\r\n\t\t}\r\n\t\tlog.info(\"About to show OrderMethodData page\");\r\n\t\treturn \"OrderMethodData\";\r\n\t}","title":""},{"docid":"5204558c47c9886e040e3c21cd27e341","score":"0.5692364","text":"public void loadEdit() {\n\t\tif (Films.filmlist.isEmpty()) {\n\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\t\t\t\"Please add a film or load previous films, Use the Add or View All Tabs\", \"Add a film to use this\",\n\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\n\t\t} else {\n\t\t\t// set up the combo box with film names to edit\n\t\t\tsetUpComboBox(comboBoxEdit, panelEdit);\n\t\t\t// load buttons for edit screen\n\t\t\tbuttonEdit();\n\t\t\t//clear textboxes\n\t\t\tclearTextBoxesLoad();\n\t\t\t// move highlight panel\n\t\t\tpanel_highlight.setBounds(0, 463, 10, 66);\n\t\t\t// set highlight panel to the top\n\t\t\teditPanelToTop();\n\t\t}\n\t}","title":""},{"docid":"abdaa3c5b2ed163252a01aaf59ae327a","score":"0.56886894","text":"public void editDetailsOfPerson() {\n\n fileController.editMain();\n }","title":""},{"docid":"550066bac6fb333f9b0364586eb50342","score":"0.56797606","text":"protected void doEdit() {\n this.pageStatus = ZcSettingConstants.PAGE_STATUS_EDIT;\r\n updateFieldEditorsEditable();\r\n setButtonStatus();\r\n\r\n }","title":""},{"docid":"0a8d7e0a44025f2d146d4b2830cc0832","score":"0.56732416","text":"private void showUpdateForm(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows SQLException, ServletException, IOException {\n\t\t\n\t\tSystem.out.print(\"CONSOLE -- ENTROU NA SERVLET TRANSFER: showUpdateForm \\n \");\n\t\t\n\t\tint transferCode = Integer.parseInt(request.getParameter(\"id\"));\n\t\t\n\t\tTransferModel existingTransfer = TransferDataAccessObject.readOne(transferCode);\n\t\t\n\t\tRequestDispatcher dispatcher = request.getRequestDispatcher(\"/WEB-INF/javaServerPages/transfer-update.jsp\");\n\t\trequest.setAttribute(\"myTransfer\", existingTransfer);\n\t\tdispatcher.forward(request, response);\n\n\t}","title":""},{"docid":"6efb80cdbbecc71c6e22a39b5e76692e","score":"0.56361365","text":"public void requestEditStdInfo() {\n\t\tStudentB student = new StudentB();\n\t\tstudent = view.getStdSelected();\n\n\t\tStudentInfoViewB stdView = new StudentInfoViewB(student , view);\n\t//\tStudentInfoController stdController = new StudentInfoController(stdView , student);\n\t//\tstdView.createController();\n\t}","title":""},{"docid":"e1532cc0e3e4a746accb70b0b6ed8184","score":"0.5623053","text":"public void editItemDetil(){\n\t\tview.showWindowForm();\n\t\t//2. INIT LISTENER\n\t\tview.getItemDetilView().getBtnAddAndSave().addClickListener(this);\n\t\tview.getItemDetilView().getBtnClose().addClickListener(this);\n\t\t//3. INIT STATE FORM\n\t\tview.getItemDetilModel().setOperationStatus(EnumOperationStatus.EDITING.getStrCode());\n\t\t//4. INIT VALUE::ITEM DETIL\n\t\tview.getItemDetilModel().setItemHeader(model.getItemHeader());\n\t\tview.getItemDetilModel().setItemDetil(model.getItemDetil());\n\t\t\n\t\tview.getItemDetilPresenter().editItemdetil();\t\n\t\tview.getItemDetilView().focustIdOrDesc();\n\t\t\n\t}","title":""},{"docid":"60bc7c38545b4bb0a23347a3ad6330e5","score":"0.56184244","text":"private void showForm(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tInteger id = Integer.parseInt(request.getParameter(\"id\"));\n\t\tVoto vot = new Voto();\n\t\tvot.setId(id);\n\t\tVoto votaux = votaDAO.find(vot.getId());\n\t\trequest.getSession().setAttribute(\"voto\", votaux);\n\t\trequest.getRequestDispatcher(\"Voto.jsp\").forward(request, response);\n\t}","title":""},{"docid":"4e65d281fcfc54a4e8caa44ccd99b06c","score":"0.56156784","text":"private void showNewForm(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}","title":""},{"docid":"80b9f4474c532b61b188e3ff43f31721","score":"0.5614128","text":"public void pageValidate(PageEvent event) {\n\t\tsuper.pageValidate(event); \n\t\t// Now make sure that we have an Object to edit\n\t\tif (getEditedObject() == null) {\n\t\t\tIPage loginPage = getRequestCycle().getPage(getLoginPageName());\n\t\t\tthrow new PageRedirectException(loginPage);\n\t\t}\n\t}","title":""},{"docid":"c42b7a2beda347fb90f8a03d0acccfae","score":"0.5583467","text":"@Override\r\n\tpublic boolean edit(ResourceDetails vo) throws Exception {\n\t\treturn false;\r\n\t}","title":""},{"docid":"517cc36a5e1f14e757ca910a3cc491c7","score":"0.557861","text":"public void editProfile(){\n\t}","title":""},{"docid":"af2e85a3cdb47b0c6642d6ca23b3869f","score":"0.55682147","text":"private void editNoteBook(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException {\n\t\tint id = Integer.parseInt(request.getParameter(\"itemId\"));\n\t\tNoteBook noteBook = commonDao.getNoteBook(id);\n\t\trequest.setAttribute(\"noteBook\", noteBook);\n\t\tshowParticularNotebook(request, response);\n\t}","title":""},{"docid":"03c8245015f7813635f5232e9a4ef516","score":"0.5560177","text":"@RequestMapping(value=\"/bpm/table/showFieldEdit\", method = RequestMethod.GET)\n public ModelAndView showFieldEdit(@RequestParam(\"tableId\") String tableId, ModelMap model, @RequestParam(\"enableRelationTab\") String enableRelationTab,@RequestParam(\"moduleId\") String moduleId,@RequestParam(\"isEdit\") String isEdit) throws BpmException{\n try{\n MetaTable metaTableObj = tableService.getTableDetails(tableId);\n List tableList = tableService.getNonRelationTables(tableId);\n model.addAttribute(\"tableList\", tableList);\n model.addAttribute(\"metaTable\", metaTableObj);\n model.addAttribute(\"moduleId\", moduleId);\n model.addAttribute(\"isEdit\", isEdit);\n model.addAttribute(\"moduleName\", moduleService.getModule(moduleId).getName());\n model.addAttribute(\"enableRelationTab\", enableRelationTab);\n model.addAttribute(\"isFieldEdit\", true);\n model.addAttribute(\"isTableRelation\", \"false\");\n }catch(Exception e){\n log.error(\"Error while getting table by id \"+e);\n }\n return new ModelAndView(\"/table/createTable\", model);\n }","title":""},{"docid":"04c0f4a9e523b4aa081df1089c581da2","score":"0.5547528","text":"public static String edit(HttpServletRequest request, HttpServletResponse response, jjDatabaseWeb db, boolean isPost) throws Exception {\r\n try {\r\n String id = jjTools.getParameter(request, _id);\r\n System.out.println(\"id=\" + id);\r\n String script = \"\";\r\n String hasAccess = Access_User.getAccessDialog(request, db, rul_edt);\r\n if (!hasAccess.equals(\"\")) {\r\n Server.outPrinter(request, response, hasAccess);\r\n return \"\";\r\n\r\n }\r\n Map map = new HashMap<>();\r\n map.put(_filesExecutor, jjTools.getParameter(request, _filesExecutor));\r\n map.put(_filesTracker, jjTools.getParameter(request, _filesTracker));\r\n map.put(_descriptionExecutor, jjTools.getParameter(request, _descriptionExecutor));\r\n map.put(_descriptionTracker, jjTools.getParameter(request, _descriptionTracker));\r\n map.put(_status, jjTools.getParameter(request, _status));\r\n\r\n if (!db.update(tableName, map, _id + \"=\" + id)) {\r\n String errorMessage = \"عملیات ویرایش به درستی صورت نگرفت.\";\r\n if (jjTools.isLangEn(request)) {\r\n errorMessage = \"Edit Fail;\";\r\n }\r\n Server.outPrinter(request, response, Js.modal(errorMessage, \"پیام سامانه\"));\r\n return \"\";\r\n } else {\r\n// if (result.isEmpty()) {\r\n script += \"hmisApproved.m_refresh();\";\r\n script += \"hmisApproved.m_select(\" + id + \");\";\r\n script += Js.modal(\"تغییرات انجام شد\", \"پیام سامانه\");\r\n// }\r\n }\r\n Server.outPrinter(request, response, script);\r\n return \"\";\r\n } catch (Exception ex) {\r\n Server.outPrinter(request, response, Server.ErrorHandler(ex));\r\n return \"\";\r\n }\r\n }","title":""},{"docid":"805b1fbc86a0097be8ba4a5ac02c2e55","score":"0.55457634","text":"private void editAction() {\n if(newKeyField.getText().trim().isEmpty() && newBpKeyField.getText().trim().isEmpty()) {\n\n bikeManagement.editBike(numberField.getText().trim(), null, checkInfo());\n\n } else if(tireDField.getText().trim().isEmpty() && frameHField.getText().trim().isEmpty() &&\n manufacturerField.getText().trim().isEmpty() && colorField.getText().trim().isEmpty()) {\n\n bikeManagement.editBike(numberField.getText().trim(), new BikeKey(newKeyField.getText().trim(), newBpKeyField.getText().trim()), null);\n\n } else {\n bikeManagement.editBike(numberField.getText().trim(), new BikeKey(newKeyField.getText().trim(), newBpKeyField.getText().trim()), checkInfo());\n }\n\n eventBus.post(new ConfirmEditEvent());\n }","title":""},{"docid":"ba32cb1afbb1ed28f0e466d71f940211","score":"0.5537103","text":"public String editar() {\n //logger.setLevel(Level.ALL);\n logger.entering(this.getClass().getName(), \"editar\");\n httpServletRequest.getSession().setAttribute(\"nueF\", this.nue);\n httpServletRequest1.getSession().setAttribute(\"cuentaUsuario\", this.usuarioSis);\n logger.exiting(this.getClass().getName(), \"editar\", \"editarPeritoET\");\n return \"editarPeritoET.xhtml?faces-redirect=true\";\n }","title":""},{"docid":"3d95d6899f543bfe4e70447b1e340d63","score":"0.5532507","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, true, currentUser, 2);\r\n }","title":""},{"docid":"3d95d6899f543bfe4e70447b1e340d63","score":"0.5532507","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, true, currentUser, 2);\r\n }","title":""},{"docid":"45cd76d6273440af2530ef3710a45c73","score":"0.5531587","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, true, currentUser, 1);\r\n }","title":""},{"docid":"a173d51c41528049fb14a5af08a0b846","score":"0.55305344","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 2);\r\n }","title":""},{"docid":"fcd5c464e7f1612287c95bd03e2fc04a","score":"0.5520716","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"cb359749b6dde3988261fd5d09272b32","score":"0.5510102","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 2);\r\n }","title":""},{"docid":"cb359749b6dde3988261fd5d09272b32","score":"0.5510102","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 2);\r\n }","title":""},{"docid":"0336f9d76b122e067fed215dec5b20d5","score":"0.5502187","text":"public String editar( Entity entity ) {\r\n \tthis.entity = entity;\r\n \treturn \"create.seam?faces-redirect=true\";\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"833499863b71a3dec71b7f9d172dbec5","score":"0.5498488","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }","title":""},{"docid":"084365c223ef188ef5b3fa3dd49d4b9f","score":"0.5495976","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 3);\r\n }","title":""},{"docid":"084365c223ef188ef5b3fa3dd49d4b9f","score":"0.5495976","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 3);\r\n }","title":""},{"docid":"8d516bfa9be27eba552844543a311865","score":"0.548026","text":"private void viewUserEdit() {\r\n Intent intent = new Intent(this, UserPageEdit.class);\r\n intent.putExtra(\"userID\", userID);\r\n startActivity(intent);\r\n }","title":""},{"docid":"f4cd64d5944ec23358a0b83d2ea476bc","score":"0.5478139","text":"public void edit() {\r\n\t\t// Call view() to find, display, & return the customer to edit\r\n\t\tCustomer tempCustomer = view();\r\n\t\t// If the customer != null, i.e. it was found then...\r\n\t\tif (tempCustomer != null) {\r\n\t\t\t// get it's index\r\n\t\t\tint index = customers.indexOf(tempCustomer);\r\n\t\t\t// read in a new customer and...\r\n\t\t\ttempCustomer.read();\r\n\r\n\t\t\t// reset the object in customers\r\n\t\t\tcustomers.set(index, tempCustomer);\r\n\r\n\t\t}\r\n\t}","title":""},{"docid":"3dee367ab334aec6a01fb8a29355ab72","score":"0.54752237","text":"public void requestEditCourseInfo() {\n\t\tCourseB course = new CourseB();\n\t\tcourse = view.getCourseSelected();\n\t\t\n\t\tCourseInfoViewB courseView = new CourseInfoViewB(course , view);\n//\t\tCourseInfoController courseController = new CourseInfoController(courseView , course);\n\t}","title":""},{"docid":"56b6f7a83243f1ae3836e173c99b8492","score":"0.54740244","text":"public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 3);\r\n }","title":""},{"docid":"a4696587492ea126dc8f7aed97182e1f","score":"0.5473454","text":"@Override\r\n public Navigation run() throws Exception {\r\n // edit\r\n Job job = jobService.get(asKey(\"jobKey\"));\r\n BeanUtil.copy(job, request);\r\n\r\n requestScope(\"jobStatus\", jobStatus);\r\n return forward(\"manager-job-edit.jsp\");\r\n }","title":""},{"docid":"c71a881d8dd70f67fbc420e1894099a5","score":"0.54660165","text":"public EditLocationPage(){\n\t\tPageFactory.initElements(driver, this);\n\t\teditLocationString = prop.getProperty(\"editLocation\");\n\t\tnewEditLocationString = prop.getProperty(\"newEditLocation\");\n\t}","title":""},{"docid":"43453e983a9e8fdd3894bb6deabda0c7","score":"0.5456999","text":"@Test\n public void testEdit() {\n \n Mockito.doNothing().when(mokTelefonoRest).edit(Integer.SIZE, mokTelefono);\n mokTelefonoRest.edit(Integer.SIZE, mokTelefono);\n Mockito.verify(mokTelefonoRest, times(1)).edit(Integer.SIZE, mokTelefono);\n Mockito.doThrow(Exception.class).when(mokTelefonoRest).edit(Integer.SIZE, mokTelefono);\n }","title":""},{"docid":"7cb30f46434603edfcadbf809c23c054","score":"0.54532826","text":"@RenderMapping(params = \"action=edit\")\n\tpublic String edit(RenderRequest renderRequest, RenderResponse renderResponse, Model model) throws PortalException, SystemException {\n\t\t_log.debug(\"### ViewDesignerController edit ::: \");\n\n\t\ttry {\n\t\t\tServiceContext serviceContext = ServiceContextFactory.getInstance(DataView.class.getName(), renderRequest);\n\n\t\t\tString type = ParamUtil.getString(renderRequest, \"type\");\n\t\t\tlong dataViewId = ParamUtil.getLong(renderRequest, \"dataViewId\");\n\t\t\tlong dataTypeId = ParamUtil.getLong(renderRequest, \"dataTypeId\");\n\n\t\t\t//_log.debug(\"### type ::: \" +type + \" dataViewId:\"+dataViewId+ \" dataTypeId:\"+dataTypeId);\n\t\t\tif(dataViewId>0){\n\t\t\t\tDataView dataView = DataViewServiceUtil.getDataView(dataViewId, serviceContext);\n\t\t\t\tmodel.addAttribute(\"dataView\", dataView);\n\t\t\t\t\n\t\t\t\tif(\"edit\".equals(type) || \"load\".equals(type)){\n\t\t\t\t\tString html = URLEncoder.encode(dataView.getHtml(),\"utf-8\");\n\t\t\t\t\tmodel.addAttribute(\"html\", html);\n\t\t\t\t}\n\t\t\t}\n\t\t\tmodel.addAttribute(\"type\", type);\n\n\t\t} catch (PrincipalException e) {\n\t\t\tErrorHandler.error(renderRequest, e);\n\n\t\t} catch (SystemException | PortalException e) {\n\t\t\tSessionErrors.add(renderRequest, e.getClass(), e.getMessage());\n\t\t\tSessionMessages.add(renderRequest, PortalUtil.getPortletId(renderRequest) + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE);\n\t\t\t\n\t\t} finally {\n\t\t\treturn \"designer/edit\";\t\n\t\t}\n\t\t\n\t}","title":""},{"docid":"a80d900854f35949df8745c39a7fa0f7","score":"0.54517853","text":"public String editar() {\n\t\tInteger id = Integer.parseInt(\n\t\t\t\t(String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"id\"));\n\t\tpessoa = pessoaDao.selecionarPorId(id);\n\t\treturn \"sucesso\";\n\t}","title":""},{"docid":"2d764f06a7d801d61ac11af52642d558","score":"0.54507947","text":"private void showObjectDetails() {\n\t\tif ((currentSelection.size() != 1)\n\t\t\t\t|| !(currentSelection.getFirstElement() instanceof AbstractObject))\n\t\t\treturn;\n\n\t\tAbstractObject object = (AbstractObject) currentSelection\n\t\t\t\t.getFirstElement();\n\t\ttry {\n\t\t\tPlatformUI\n\t\t\t\t\t.getWorkbench()\n\t\t\t\t\t.getActiveWorkbenchWindow()\n\t\t\t\t\t.getActivePage()\n\t\t\t\t\t.showView(\n\t\t\t\t\t\t\t\"org.netxms.ui.eclipse.objectview.view.tabbed_object_view\"); //$NON-NLS-1$\n\t\t\tCommandBridge.getInstance().execute(\n\t\t\t\t\t\"TabbedObjectView/changeObject\", object.getObjectId());\n\t\t} catch (PartInitException e) {\n\t\t\tMessageDialogHelper\n\t\t\t\t\t.openError(\n\t\t\t\t\t\t\tgetSite().getShell(),\n\t\t\t\t\t\t\tMessages.get().AbstractNetworkMapView_Error,\n\t\t\t\t\t\t\tString.format(\n\t\t\t\t\t\t\t\t\tMessages.get().AbstractNetworkMapView_OpenObjDetailsError,\n\t\t\t\t\t\t\t\t\te.getLocalizedMessage()));\n\t\t}\n\t}","title":""},{"docid":"1d8915cd4cca6cc9e00f6f0352d921c2","score":"0.5447488","text":"@Override\n\tpublic boolean edit(T entity) {\n\t\treturn false;\n\t}","title":""},{"docid":"b1e211ab356acf00847e8900ffaed559","score":"0.54445916","text":"public void editStep(){\n\t\tif(!hasIdt()) setIdc(null);\n\t}","title":""},{"docid":"d0943086196beaa225ada114f9323ce0","score":"0.54409766","text":"public interface EditView extends View {\n\n void setSaveHandler (final SaveHandler entitySaveHandler);\n void setLoadHandler (final LoadHandler entityLoadHandler);\n void setCreateHandler (final CreateHandler entityCreateHandler);\n void setValueChangedHandler (final ValueChangedHandler valueChangedHandler);\n\n SaveHandler getSaveHandler ();\n LoadHandler getLoadHandler ();\n CreateHandler getCreateHandler ();\n ValueChangedHandler getValueChangedHandler();\n\n void load(ENTITY entity);\n\n}","title":""},{"docid":"cd1f8b59a140b5aba77be22b4f32affb","score":"0.54395896","text":"public EditEntryHandler() {\n\t\tsuper.edit = true;\n\t}","title":""},{"docid":"128e9a0411c5c8db690bc4f37309d76c","score":"0.5438532","text":"@GetMapping(\"/edit-answer\")\n public String showEditAnswerPage(@RequestParam(name=\"id\", required = true) int id, Model model) {\n Answer answerOfDiscussion = answerService.getById(id);\n\n //get the question of the discussion\n Discussion discussionWithTheAnswer = answerOfDiscussion.getPosted_in_discussion();\n Question questionOfDiscussion = getQuestionOfDiscussion(discussionWithTheAnswer);\n\n model.addAttribute(\"answer\", answerOfDiscussion);\n model.addAttribute(\"questionOfDiscussion\", questionOfDiscussion);\n\n //for showing the name in the navbar only\n model.addAttribute(\"logged_in_user\", getCurrentlyLoggedInUser());\n\n return \"edit-answer\";\n }","title":""},{"docid":"a84937162a6067816b26f1edee7d6ec9","score":"0.5418594","text":"@RequestMapping(value = \"/edit\", method = RequestMethod.GET)\n\tpublic String editUpdate (@RequestParam(value=\"id\", required=true) Integer id, Model model) {\n\t\tlogger.debug(\"Received request to show update edit page\");\n\t \n\t UpdateDao ud = this.getUpdateDao();\n\t Update up = ud.findById(id);\n\t \n\t\tmodel.addAttribute(\"update\", up); \n\t \n\t\treturn \"updateEditPage\";\n\t}","title":""},{"docid":"5481a0fdb2fc9571813d33a9181cb7f8","score":"0.5418337","text":"private void editItem(){\n if (currentSelected == null)\n return;\n addeditPanel(\"Edit\");\n nameField.setText(currentSelected.getName());\n addressField.setText(currentSelected.getAddress());\n numberField.setText(currentSelected.getPhoneNumber() + \"\");\n }","title":""},{"docid":"af112402cf90d5c1f9d59835c378aa9f","score":"0.5417562","text":"@Override\r\n protected void onInitPage()\r\n {\n if (record.isValid()==false)\r\n reloadRecord();\r\n }","title":""},{"docid":"659fed08cf5c917d11450df1a088c559","score":"0.54138094","text":"public String edit()\n {\n HttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\n province = provinceDAO.listProvinceById(Long.parseLong(request.getParameter(\"id\")));\n return SUCCESS;\n }","title":""},{"docid":"2a66b6fca94d3d8c2a2ea803bb551a9b","score":"0.5407735","text":"private void handleOpen(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException \n {\n if (request.getParameterMap().containsKey(\"username\") != false && request.getParameterMap().containsKey(\"postid\") != false)\n {\n int postid;\n try{\n postid = Integer.parseInt(request.getParameter(\"postid\").toString());\n }\n catch (NumberFormatException ex){\n response.setStatus(400);\n return;\n }\n String username = request.getParameter(\"username\").toString();\n request.setAttribute(\"username\", username);\n request.setAttribute(\"postid\", postid);\n\n String title = \"\";\n String body = \"\";\n\n if (postid == 0){\n if (request.getParameterMap().containsKey(\"title\") != false){\n title = request.getParameter(\"title\").toString();\n }\n if (request.getParameterMap().containsKey(\"body\") != false){\n body = request.getParameter(\"body\").toString();\n }\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n response.setStatus(200);\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else if (postid > 0) {\n if (request.getParameterMap().containsKey(\"title\") != false && request.getParameterMap().containsKey(\"body\") != false){\n title = request.getParameter(\"title\").toString();\n body = request.getParameter(\"body\").toString();\n\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n\n response.setStatus(200);\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n } \n else{\n Connection conn = null;\n PreparedStatement open_stmt = null;\n ResultSet rs = null;\n try{\n conn = DriverManager.getConnection(\"jdbc:mariadb://localhost:3306/CS144\", \"cs144\", \"\");\n open_stmt = conn.prepareStatement(\"SELECT title, body FROM Posts WHERE username = ? AND postid = ?\");\n open_stmt.setString(1, username);\n open_stmt.setInt(2, postid);\n rs = open_stmt.executeQuery();\n if (!rs.next())\n {\n response.setStatus(404);\n }\n else\n {\n rs.beforeFirst();\n while(rs.next()){\n title = rs.getString(\"title\");\n body = rs.getString(\"body\");\n }\n\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n\n response.setStatus(200);\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n }\n catch (SQLException ex){/* ignored */} \n finally{\n try{ open_stmt.close(); } catch (SQLException ex){/* ignored */}\n try{ conn.close(); } catch (SQLException ex){/* ignored */}\n try{ rs.close(); } catch (SQLException ex){/* ignored */}\n }\n }\n }\n else{\n // ERROR: postid is negative\n response.setStatus(400);\n } \n }\n else{\n // ERROR: required parameters not included\n response.setStatus(400);\n }\n }","title":""},{"docid":"eac1af3c7f333fec1467a2e0c7c9524d","score":"0.5405226","text":"@SkipValidation\r\n\tpublic String edit()\r\n\t{\r\n\t\tlog.debug(\"edit action\");\r\n\t\ttry{\r\n\t\t\tHttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\r\n\t\t\tattrb = attrbManager.findAttribute(Integer.parseInt(request.getParameter(\"attrbid\")));\r\n\t\t\tlistPhysicalType();\r\n\t\t\treturn \"success\";\r\n\t\t}catch(RuntimeException re) {\r\n\t\t\tlog.error(\"edit action failed\", re);\r\n\t\t\treturn \"fail\";\r\n\t\t}\r\n\t}","title":""},{"docid":"69b530a5fabe52178da13eb2377d1cf2","score":"0.54021496","text":"public void showEdit(String vdocno, String vdocdate, String vtrtype) throws Throwable {\n\t\ttrdate.setText(vdocdate);\r\n\t\tseqno.setText(vdocno);\r\n\t\tseqno.setBackground(Color.black);\r\n\t\tseqno.setForeground(Color.white);\r\n\t\tMSG.setText(\" EDIT \");\r\n\t\tEditMode = \"Y\";\r\n\t\tnew gnStyleButton().getStyleButton(btnEdit, Color.gray, Color.WHITE);\r\n\t\tEditData(vdocno, vdocdate, vtrtype);\r\n\t}","title":""},{"docid":"bfa9bd1837fc2f036eaf5c9900150742","score":"0.5399993","text":"@PostMapping(\"/edit\")\n public ItemResponse editItem(@RequestBody ItemRequest request) {\n Item item = this.itemService.editItem(request);\n if(item.getType()==Type.QUESTION) {\n return ItemResponse.of(null,null,Type.QUESTION, ZonedDateTime.now(),item.getQuestion().getDescription(), item.getId(), item.getQuestion().getId());\n }\n else {\n String url = ServletUriComponentsBuilder\n .fromCurrentContextPath()\n .path(\"/api/files/getFile/\")\n .path(item.getSmxFile().getId().toString())\n .toUriString();\n return ItemResponse.of(item.getSmxFile().getFileName(),url,item.getType(),ZonedDateTime.now(),null, item.getId(), null);\n }\n }","title":""},{"docid":"03d7a0d2313b37b63f215a1d8528ff34","score":"0.53957367","text":"private Entry getEntry () {\n return edit_entry;\n }","title":""},{"docid":"96df3743dfaac0fefe79c60aa5db7cff","score":"0.53918374","text":"private void doEdit(Long id, boolean add) {\n\t\tif(!add && id>0) {\n\t\t\tMNMain.services().getMapViewService().get(id, new MNAsyncCallback(\"get mapview\") {\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onSuccess(MapView m) {\n\t\t\t\t\tdoEdit2(m); \n\t\t\t\t}\t\t\t\t\n//\t\t\t\t@Override\n//\t\t\t\tpublic void onFailure(Throwable caught) {\t\n//\t\t\t\t\tMNMain.layout().setStatusError(text)\n//\t\t\t\t}\n\t\t\t}); \n\t\t}\n\t}","title":""},{"docid":"0d77ec3f95d12c668f2da755f067d62d","score":"0.538943","text":"private void actionPreview(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n String username = request.getParameter(\"username\");\n String postid = request.getParameter(\"postid\");\n //make sure request has required parameters\n if(username == null || postid == null){\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\n response.getWriter().println(\"

\");\n response.getWriter().println(response.getStatus());\n response.getWriter().println(\" (Bad Request): Missing username or postid!!

\");\n }\n String title = request.getParameter(\"title\");\n String body = request.getParameter(\"body\");\n //goes to preview page with the html rendering of the given title and body\n request.getRequestDispatcher(\"/preview.jsp\").forward(request, response);\n }","title":""},{"docid":"1a5651474a8546e97ac96ecfaa7637ef","score":"0.53889334","text":"private void editarCliente(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n // recuperar el id\n int id = Integer.parseInt(request.getParameter(\"id\"));\n Cliente cliente = new ClienteDAO().encontrar(new Cliente(id));\n System.out.println(\"cliente = \" + cliente);\n request.setAttribute(\"cliente\", cliente);\n String jspEditar = \"/WEB-INF/paginas/cliente/editarCliente.jsp\";\n request.getRequestDispatcher(jspEditar).forward(request, response);\n }","title":""},{"docid":"33bca0dd46349df73961453cd9803d52","score":"0.53853977","text":"@RequestMapping(value=\"/edit_advisor\", method = RequestMethod.GET)\r\n public ModelAndView edit_advisor_get(\r\n HttpServletRequest request,\r\n HttpServletResponse response) throws Exception\r\n {\r\n if(!this.security_service.hasAccess(request, \"edit_advisor_get\")){\r\n return ErrorController.error403();\r\n }\r\n \r\n ModelAndView mv = new ModelAndView(\"advisor/administrator/form_advisor\");\r\n \r\n String advisor_id = request.getParameter(\"id\");\r\n if(null == advisor_id || advisor_id.equals(\"\")){\r\n mv.addObject(\"alert_msg\", \"Impossible de récupérer le conseiller demandé.\");\r\n return this.handleRequestInternal(request, response);\r\n }\r\n \r\n UserEntity advisor = this.user_service.find(advisor_id);\r\n if(null == advisor){\r\n mv.addObject(\"alert_msg\", \"Impossible de récupérer le conseiller demandé.\");\r\n return this.handleRequestInternal(request, response);\r\n }\r\n \r\n mv.addObject(\"advisor\", advisor);\r\n return mv;\r\n }","title":""},{"docid":"54a0d0fd59d00f321274d87aba572abb","score":"0.5375862","text":"public interface IFormView extends IView {\r\n\r\n void delete(Collection otObject);\r\n\r\n /**\r\n * Metodo que se usa para enviar a eliminar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire eliminar.\r\n */\r\n void delete(IEntity otObject);\r\n\r\n void delete(IEntity otObject, boolean confirm);\r\n\r\n void delete(List otObject);\r\n\r\n void find(String namedQuery, Map parameters);\r\n\r\n void find(String namedQuery, Map parameters, IPersistenceListener listener);\r\n\r\n void findAll(Class entityClazz);\r\n\r\n void findById(Class entityClazz, Long id);\r\n\r\n void findById(Class entityClazz, Long id, IPersistenceListener listener);\r\n\r\n void findByName(Class entityClazz, String name);\r\n\r\n void findByName(Class entityClazz, String name, IPersistenceListener listener);\r\n\r\n \r\n \r\n IEntity findSynchroById(Class entityClazz, Long id);\r\n\r\n List findSynchro(String namedQuery, Map parameters);\r\n /**\r\n * Metodo que se usa para enviar a grabar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire grabar.\r\n */\r\n @Override\r\n void onSelected(IEntity otObject);\r\n\r\n /**\r\n * Metodo que se usa para enviar a grabar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire grabar.\r\n */\r\n IEntity save(IEntity otObject);\r\n\r\n /**\r\n * Metodo que se usa para indicar la selección de una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire seleccionar.\r\n */\r\n void select(IEntity otObject);\r\n\r\n /**\r\n * Metodo que se usa para enviar a grabar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire grabar.\r\n */\r\n boolean validate();\r\n}","title":""},{"docid":"a4bd5abd42a34f0c0096c68b7bc489d7","score":"0.5375854","text":"@Override\n public void prepare() throws TdarActionException {\n RequestType type = RequestType.EDIT;\n\n if (getId() == null && (getCurrentUrl().contains(\"/add\") ||\n (TdarConfiguration.getInstance().isTest() && StringUtils.isBlank(getCurrentUrl())))) {\n getLogger().debug(\"setting persistable\");\n if (getPersistable() == null) {\n setPersistable(createPersistable());\n }\n type = RequestType.CREATE;\n }\n prepareAndLoad(this, type);\n if (PersistableUtils.isNotNullOrTransient(getId()) && getPersistable().getDateUpdated() != null) {\n setEpochTimeUpdated(getPersistable().getDateUpdated().getTime());\n }\n }","title":""},{"docid":"0763b8f40893963ce555021bb9fc1585","score":"0.5372319","text":"private void showEditCustomersView() throws IOException {\n Stage stage=(Stage)cancelButton.getScene().getWindow();\n //load up Add Parts FXML Doc\n Parent root = FXMLLoader.load(getClass().getResource(\"/View_Controller/EditCustomers.fxml\"));\n // Call change scene helper\n ChangeSceneHelper.changeScene(stage, root);\n }","title":""},{"docid":"ee415f8b947b0871400c69df72d7cd8a","score":"0.5366014","text":"public void openCardToEdit() {\n\t\tpages.unit1ProceedingPage.clickButtonEdit();\n\t}","title":""},{"docid":"5991078af9b865a9ee925b5c6fec86d6","score":"0.5365782","text":"public void newAction() {\n\t\tPageParameters p= new PageParameters();\n\t\tp.add(\"new\", 1);\n\t\tsetResponsePage(this);\n\t\ttry\n\t\t{\n\t\t\tkstaff.remove(ro);\n\t\t\tnstaff.remove(ro);\n\t\t\tkalias.remove(ro);\n\t\t\taddress1.remove(ro);\n\t\t\ttgllahir.remove(ro);\n\t\t\ttglmasuk.remove(ro);\n\t\t\tcity.remove(ro);\n\t\t\tkjabatan.remove(ro);\n\t\t\tkcabang.remove(ro);\n\t\t\tkcompany.remove(ro);\n\t\t\tkhpp.remove(ro);\n\t\t\tkprint.remove(ro);\n\t\t\tkApprove.remove(ro);\n\t\t\tketerangan.remove(ro);\n\t\t\tdjabatan.remove(ro);\n\t\t\ttglkeluar.remove(ro);\n\t\t\tkotalahir.remove(ro);\n\t\t\taddress2.remove(ro);\n\t\t\taddress3.remove(ro);\n\t\t\tpostcode.remove(ro);\n\t\t\tphone.remove(ro);\n\t\t\tfax.remove(ro);\n\t\t}\n\t\tcatch(Exception ex){}\n\t}","title":""},{"docid":"e85bf7c3fa9871e64fc6c2536f7e67ca","score":"0.53616226","text":"@Security.Authenticated(Secured.class)\n\tpublic static Result edit() {\n\t\t\n\t\treturn respondTo(new Responder() {\n\n\t\t\t@Override\n\t\t\tpublic Result json() {\n\t\t\t\treturn badRequest();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Result html() {\n\t\t\t\treturn ok(edit.render(Form.form(UserEditForm.class)));\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Result script() {\n\t\t\t\treturn badRequest();\n\t\t\t}\n\t\t});\n\t}","title":""}],"string":"[\n {\n \"docid\": \"08787f13f73a424380eb46ccdd2382d7\",\n \"score\": \"0.70631623\",\n \"text\": \"@Override\\n\\tpublic String edit(HttpServletRequest request, HttpServletResponse response, Page page) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08787f13f73a424380eb46ccdd2382d7\",\n \"score\": \"0.70631623\",\n \"text\": \"@Override\\n\\tpublic String edit(HttpServletRequest request, HttpServletResponse response, Page page) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ee0e2f5f67685b1059426d96592f77d\",\n \"score\": \"0.64859843\",\n \"text\": \"public void editAction() {\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tsetResponsePage(this);\\n\\t\\t\\tkstaff.remove(ro);\\n\\t\\t\\tnstaff.remove(ro);\\n\\t\\t\\tkalias.remove(ro);\\n\\t\\t\\taddress1.remove(ro);\\n\\t\\t\\ttgllahir.remove(ro);\\n\\t\\t\\ttglmasuk.remove(ro);\\n\\t\\t\\tcity.remove(ro);\\n\\t\\t\\tkjabatan.remove(ro);\\n\\t\\t\\tkcabang.remove(ro);\\n\\t\\t\\tkcompany.remove(ro);\\n\\t\\t\\tkhpp.remove(ro);\\n\\t\\t\\tkprint.remove(ro);\\n\\t\\t\\tkApprove.remove(ro);\\n\\t\\t\\tketerangan.remove(ro);\\n\\t\\t\\tdjabatan.remove(ro);\\n\\t\\t\\ttglkeluar.remove(ro);\\n\\t\\t\\tkotalahir.remove(ro);\\n\\t\\t\\taddress2.remove(ro);\\n\\t\\t\\taddress3.remove(ro);\\n\\t\\t\\tpostcode.remove(ro);\\n\\t\\t\\tphone.remove(ro);\\n\\t\\t\\tfax.remove(ro);\\n\\t\\t}\\n\\t\\tcatch(Exception ex){}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3feaf36096e5e4568d1a5963c2cd118f\",\n \"score\": \"0.63143647\",\n \"text\": \"private ShowUpdateSectionPage() {\\n this.service = UserService.retrieve();\\n this.validator = Validator.retrieve();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2c85a7dde0c8b8f8feca494db1ab4e1\",\n \"score\": \"0.6128597\",\n \"text\": \"public String goEdit() throws DataBaseException, \\n SharedApplicationException {\\n String navigationCase= null; \\n if (this.getSelectedDTOS() != null && \\n this.getSelectedDTOS().size() == 1) {\\n\\n ManyToManyMaintainBaseBean maintainBean = \\n (ManyToManyMaintainBaseBean)FacesContext.getCurrentInstance().getApplication().createValueBinding(\\\"#{\\\" + \\n this.getAddBeanName() + \\n \\\"}\\\").getValue(FacesContext.getCurrentInstance());\\n\\n setPageDTO(((IDecisionsClient)getClient()).getAllAndFirstPageOfEmpById(this.getSelectedDTOS().get(0).getCode()));\\n maintainBean.setMaintainMode(1);\\n this.initializeObjectBeforeMaintain();\\n\\n maintainBean.setPageDTO(this.getPageDTO());\\n navigationCase=getEditNavigationCase();\\n\\n }\\n \\n\\n if (getIntegrationBean() != null && \\n (getIntegrationBean().getInitializeMethod() != null && \\n getIntegrationBean().getInitializeMethod() != \\\"\\\")) {\\n\\n executeMethodBinding(getIntegrationBean().getInitializeMethod(), \\n null);\\n\\n }\\n \\n DecisionEmployeesModel decisionEmployeesModelSessionBean = \\n (DecisionEmployeesModel)evaluateValueBinding(\\\"decisionEmployeesModel\\\");\\n decisionEmployeesModelSessionBean.resetSessionData();\\n return navigationCase;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e292693299e943a9aa2a9c73a57e94f4\",\n \"score\": \"0.61042523\",\n \"text\": \"@Override\\n public void onInit() {\\n\\n super.onInit();\\n\\n// long t1 = System.currentTimeMillis();\\n// System.out.println(\\\"Edit onInit super.onInit()\\\" + (t1 - t0) + \\\" ms\\\");\\n\\n //Map parameters = new HashMap();\\n //parameters.put(NODE_ID_KEY, getNodeId());\\n\\n// long t2 = System.currentTimeMillis();\\n// System.out.println(\\\"Edit onInit create Edit page\\\" + (t2 - t2) + \\\" ms\\\");\\n\\n Class pageClass = getRedirectPage(node);\\n if (pageClass == null) {\\n pageClass = DefaultEdit.class;\\n }\\n StructrPage editPage = (StructrPage) getContext().createPage(pageClass);\\n\\n setForward(editPage);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"137de0f0a1b80e698689c6140bc43da2\",\n \"score\": \"0.60132575\",\n \"text\": \"private void edit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tString email = request.getParameter(\\\"email\\\");\\r\\n\\t\\tList p = dao.view();\\r\\n\\t\\trequest.setAttribute(\\\"person\\\", p);\\r\\n\\t\\tRequestDispatcher d = request.getRequestDispatcher(\\\"email.jsp\\\");\\r\\n\\t\\td.forward(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1daef66c2440d8b0a74824c5df21377b\",\n \"score\": \"0.6012714\",\n \"text\": \"public void infoPage(int theId, Model theModel) {\\n\\t\\t\\t// get the request from our service\\n\\t\\t\\tRequest existingRequest = requestService.getRequest(theId);\\t\\n\\t\\t\\t\\n\\t\\t\\t// TESTING\\n\\t\\t\\tUpdateObjectForm helperFormExistingRequest = new UpdateObjectForm();\\n\\t\\t\\t\\n\\t\\t\\t// Adding UpdateObjectForm object for form submission START\\n\\t\\t\\t// Setting requestId\\n\\t\\t\\thelperFormExistingRequest.setRequestId(existingRequest.getId());\\n\\t\\t\\t\\n\\t\\t\\t// Setting Date\\n//\\t\\t\\thelperFormExistingRequest.setDateSelected(existingRequest.getDate().toString());\\n\\t\\t\\t\\n\\t\\t\\tString formatedDate = existingRequest.getDate().format(customDateFormatter);\\t\\t\\t\\n\\t\\t\\thelperFormExistingRequest.setDateSelected(formatedDate);\\n\\t\\t\\t\\t\\t\\n//\\t\\t\\tSystem.out.println(\\\">>>>>> INSIDE requestinfopageGenerator: \\\" + helperFormExistingRequest.getDateSelected());\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t// Setting Requester\\n\\t\\t\\thelperFormExistingRequest.setRequesterName(existingRequest.getRequester().getName());\\n\\t\\t\\t\\n\\t\\t\\t// Setting Requester Comment\\n\\t\\t\\thelperFormExistingRequest.setRequesterComment(existingRequest.getRequesterComment());\\n\\t\\t\\t\\n\\t\\t\\t// Setting itemInService if exists\\n\\t\\t\\tif(existingRequest.getItemInService() != null) {\\n\\t\\t\\t\\thelperFormExistingRequest.setCheckBoxInService(true);\\n\\t\\t\\t\\thelperFormExistingRequest.setObjectTypeIdInService(existingRequest.getItemInService().getObjectModel().getObjectType().getId());\\n\\t\\t\\t\\thelperFormExistingRequest.setObjectModelIdInService(existingRequest.getItemInService().getObjectModel().getId());\\n\\t\\t\\t\\thelperFormExistingRequest.setObjectInstanceIdInService(existingRequest.getItemInService().getId());\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t// Setting itemInOperation if exists\\n\\t\\t\\tif(existingRequest.getItemInOperation() != null) {\\n\\t\\t\\t\\thelperFormExistingRequest.setCheckBoxInOperation(true);\\n\\t\\t\\t\\thelperFormExistingRequest.setObjectTypeIdInOperation(existingRequest.getItemInOperation().getObjectModel().getObjectType().getId());\\n\\t\\t\\t\\thelperFormExistingRequest.setObjectModelIdInOperation(existingRequest.getItemInOperation().getObjectModel().getId());\\n\\t\\t\\t\\thelperFormExistingRequest.setObjectInstanceIdInOperation(existingRequest.getItemInOperation().getId());\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t//Setting itemComment\\n\\t\\t\\thelperFormExistingRequest.setItemComment(existingRequest.getItemComment());\\n\\t\\t\\t\\n\\t\\t\\n\\t\\t\\t// Adding Modification Date TESTING !!!\\n\\t\\t\\tString formatedModificationDate = \\\"\\\";\\n\\t\\t\\t\\n\\t\\t\\tif(existingRequest.getModificationDate() != null) {\\n\\t\\t\\t\\tformatedModificationDate = existingRequest.getModificationDate().format(customDateFormatter);\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t//Adding UpdateObjectForm object for form submission START\\n\\t\\t\\t\\n\\t\\t\\t//Adding UpdateObjectForm helperForm object to the model\\n\\t\\t\\ttheModel.addAttribute(\\\"helperFormExistingRequest\\\", helperFormExistingRequest);\\n\\t\\t\\t\\n\\t\\t\\t// set request as a model attribute \\n\\t\\t\\ttheModel.addAttribute(\\\"existingRequest\\\", existingRequest);\\n\\t\\t\\t\\n\\t\\t\\t// adding model attribute with formated date\\n\\t\\t\\ttheModel.addAttribute(\\\"formatedDate\\\", formatedDate);\\n\\t\\t\\t\\n\\t\\t\\t// adding model attribute with formated MODIFICATION date TESTING!!!\\n\\t\\t\\ttheModel.addAttribute(\\\"formatedModificationDate\\\", formatedModificationDate);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b17d67bfc742a17dad1d92c04db7081\",\n \"score\": \"0.59727085\",\n \"text\": \"private void edit(HttpServletRequest request, HttpServletResponse response) {\\n\\t\\tString employee_id = request.getParameter(\\\"employee_id\\\");\\n\\t\\tif (employee_id != null) {\\n\\t\\t\\tEmployee employee = DAOFactoryImpl.getEmployeeDAO().getEmployeebyID(employee_id);\\n\\t\\t\\trequest.setAttribute(\\\"employee\\\", employee);\\n\\t\\t}\\n\\t\\ttry {\\n\\t\\t\\trequest.getRequestDispatcher(\\\"/customer/companystruct/employee_edit.jsp\\\").forward(request, response);\\n\\t\\t} catch (ServletException | IOException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e108acccdc04de21bb9ef4666f9fc980\",\n \"score\": \"0.59582955\",\n \"text\": \"@RequestMapping(value = \\\"/edit/{id}\\\", method = RequestMethod.GET)\\r\\n public ModelAndView edit(@PathVariable(\\\"id\\\") String id) {\\r\\n ModelAndView modelAndView = new ModelAndView(getBase() + \\\"/form\\\");\\r\\n modelAndView.addObject(\\\"object\\\", crudService.findById(id));\\r\\n addExtraFormAttributeForEditPage(modelAndView);\\r\\n return modelAndView;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0ce0fd5c256818034ecb063b82d2863\",\n \"score\": \"0.590746\",\n \"text\": \"@Override\\n public void editPage(StaticPage page) {\\n StaticPage fromDao = dao.getPageById(page.getStaticPageId());\\n \\n // Set the properties that can not be changed by the user\\n page.setCreatedBy(fromDao.getCreatedBy());\\n page.setCreatedDate(fromDao.getCreatedDate());\\n \\n // Get the current time and update the last modified\\n LocalDateTime now = LocalDateTime.now();\\n page.setModifiedDate(now);\\n \\n // TODO Set the user that modified the page\\n page.setModifiedBy(fromDao.getModifiedBy());\\n \\n dao.editPage(page);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed12fa8676360a0cffd4973064cc3382\",\n \"score\": \"0.58927715\",\n \"text\": \"public void edit() {\\n\\t\\tEmployee tempEmployee = view();\\r\\n\\t\\t\\r\\n\\t\\t// If the employee != null, i.e. it was found then...\\r\\n\\t if(tempEmployee != null){\\r\\n\\t\\t // get it's index\\r\\n\\t\\t int index=employees.indexOf(tempEmployee);\\r\\n\\t\\t // read in a new employee and...\\r\\n\\t\\t tempEmployee.read();\\r\\n\\t\\t // reset the object in employees\\r\\n\\t\\t employees.set(index, tempEmployee);\\r\\n\\t }\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a255be7507f2b940dbc7a16299b2a67\",\n \"score\": \"0.5889575\",\n \"text\": \"private String redirectToEdit() {\\n try {\\n String referrer = FacesContext.getCurrentInstance().getExternalContext().getRequestHeaderMap()\\n .get(\\\"referer\\\");\\n String callerViewId = referrer.substring(referrer.lastIndexOf('/') + 1);\\n if (!callerViewId.isEmpty() && callerViewId.contains(\\\"projects.jsf\\\")) {\\n return \\\"/pages/editDocket?\\\" + REDIRECT_PARAMETER;\\n } else {\\n return \\\"/pages/DocketEdit?\\\" + REDIRECT_PARAMETER;\\n }\\n } catch (NullPointerException e) {\\n // This NPE gets thrown - and therefore must be caught - when \\\"DocketForm\\\" is\\n // used from it's integration test\\n // class \\\"DocketFormIT\\\", where no \\\"FacesContext\\\" is available!\\n return \\\"/pages/DocketEdit?\\\" + REDIRECT_PARAMETER;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49b685b9530892f115ab682388cb081c\",\n \"score\": \"0.58770865\",\n \"text\": \"public FoxyFinishRptEditPage() {\\n super(new String(\\\"FinishRptEditForm\\\"));\\n try {\\n this.isAuthorize(MENU_CODE);\\n this.id = foxySessionData.getPageParameterLong();\\n //System.out.println(ctx.getApplication().getViewHandler().toString());\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34a5258d0f1c86dc0b1a62fe8acbf824\",\n \"score\": \"0.5858918\",\n \"text\": \"@Override\\n public void doEdit(RenderRequest req, RenderResponse res) throws PortletException {\\n String editView = getViewNameFromPreferredValueOrDefaultValue(\\n req,\\n res,\\n Settings.Entry.DEFAULT_EDIT_VIEW);\\n\\n // Render...\\n if (editView == null) {\\n doView(req, res);\\n } else {\\n\\n try {\\n\\n renderView(editView, req, res);\\n } catch (Throwable t) {\\n\\n String msg = \\\"Rendering failure in CernunnosPortlet.doEdit()\\\";\\n throw new PortletException(msg, t);\\n }\\n \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccec13587de844bf79819cd547e00314\",\n \"score\": \"0.58313024\",\n \"text\": \"@Override\\n\\tpublic String update(HttpServletRequest request, HttpServletResponse response, Page page) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccec13587de844bf79819cd547e00314\",\n \"score\": \"0.58313024\",\n \"text\": \"@Override\\n\\tpublic String update(HttpServletRequest request, HttpServletResponse response, Page page) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a263cbb68dfd142827c206c05edf5cf\",\n \"score\": \"0.5799156\",\n \"text\": \"private void addPageAttributesOfEdit (ModelMap modelMap) {\\n\\t\\tmodelMap.addAttribute(\\\"pageTitle\\\", getMessage(\\\"edit.member\\\"));\\n\\t\\tmodelMap.addAttribute(\\\"description\\\", getMessage(\\\"edit.member.desc\\\"));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96f7cf9b31df6ed00802c936a0aefe25\",\n \"score\": \"0.5797303\",\n \"text\": \"private void writeEditForm(HttpServletRequest request, HttpServletResponse response, int id) throws ServletException, IOException {\\n request.setAttribute(\\\"id\\\", id);\\n try {\\n Storage s = DBDao.getStorage(id);\\n request.setAttribute(\\\"storage\\\", s);\\n } catch (Exception ignored) {\\n }\\n request.getRequestDispatcher(\\\"/WEB-INF/views/storage/edit.jsp\\\").forward(request, response);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6e99fd1bda25f01e01be15810f94664\",\n \"score\": \"0.579527\",\n \"text\": \"public EditInfo() {\\n initComponents();\\n Edit();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6ab46717699b7f1900cc0d4c197eef9\",\n \"score\": \"0.5792917\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\r\\n\\tprotected > W enterEdit(final V viewObj) {\\r\\n\\t\\t// disable\\r\\n\\t\\t_enabledStatusHandler.setEnabled(false);\\r\\n\\r\\n\\t\\t// puts the [detail form] (a pop up or just a form) into [create-new mode]\\r\\n\\t\\t_detailEditForm.forEditing(viewObj,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t // What happens when the edit form is closed after editing the [view object]\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t // ... update the edited obj and refresh\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t viewObjToSave -> {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t \\t// enable again\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t \\t_enabledStatusHandler.setEnabled(true);\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t \\t// tell the outside world to save\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t \\tthis.doSaveItem(viewObjToSave,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t// what to do after saving\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\tsavedViewObj -> {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// refresh the grid\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t\\tif (this.getDataProvider() instanceof ListDataProvider) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tVaadinListDataProviders.collectionBackedOf(_grid)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t .refreshItem(savedViewObj);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// setup up/down buttons\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t_setUpDownButtonsStatusForSelectedItem();\\t// maybe there existed a selected item... now there exists more than a single item and buttons need to be updated\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t\\t\\t_grid.getDataProvider()\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t\\t\\t\\t .refreshAll();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t \\t});\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t });\\r\\n\\t\\treturn (W)_detailEditForm;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e8862c1f830e110a686ec671e5476c8\",\n \"score\": \"0.57924783\",\n \"text\": \"protected abstract void editDataAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45b74069b942ec1c053ba7b3bfba73f2\",\n \"score\": \"0.57623905\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\r\\n\\tprivate void editAction(){\\r\\n\\t\\tescribirFormEdicion( (T) ((BeanModel)(this.grid.getSelectionModel().getSelectedItem())).getBean());\\r\\n\\t\\ttabPanel.setSelection(editarTab);\\r\\n\\t\\teditarTab.enable();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb51e5f7c68becc063e1bd6939657a54\",\n \"score\": \"0.57584536\",\n \"text\": \"@Override\\r\\n\\tpublic boolean edit(Object obj, String id) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad6f9ade1820d29074128a173a17bb26\",\n \"score\": \"0.57482\",\n \"text\": \"public String edit() \\n {\\n try\\n {\\n userController.edit(user);\\n }\\n catch(Exception e)\\n {\\n System.out.println(e.getMessage());\\n }\\n \\n this.user = null;\\n this.filteredUsers = userController.findShopUserEntities(); \\n return \\\"manclients\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93f56ab8ce6256ea944d554b1c97a172\",\n \"score\": \"0.5746465\",\n \"text\": \"public String edit()\\r\\n\\t{\\r\\n\\t\\tHttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\\r\\n\\t\\testabelecimento = estabelecimentoDAO.listEstabelecimentoById(Long.parseLong(request.getParameter(\\\"id\\\")));\\r\\n\\t\\treturn SUCCESS;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b0186bc1836a3aaeab31e57bdc2561a\",\n \"score\": \"0.5735234\",\n \"text\": \"private void requestEditOperation(HttpServletRequest req, HttpServletResponse resp, String id, String nickname) throws ServletException, IOException {\\n Long idNumber;\\n try {\\n idNumber = Long.parseLong(id);\\n } catch (NumberFormatException e) {\\n sendToErrorPage(req, resp, \\\"You provided a invalid blog entry number format: \\\" + id);\\n return;\\n }\\n BlogUser user = DAOProvider.getDAO().getBlogUserByNick(nickname);\\n boolean contains = false;\\n\\n BlogEntry entry = null;\\n\\n for (BlogEntry entry2 : user.getEntries()) {\\n if (entry2.getId().equals(idNumber)) {\\n contains = true;\\n entry = entry2;\\n break;\\n }\\n }\\n\\n if (!contains) {\\n sendToErrorPage(req, resp, \\\"The user \\\" + nickname + \\\" has no entries with id number: \\\" + idNumber);\\n return;\\n }\\n\\n req.setAttribute(\\\"title\\\", entry.getTitle());\\n req.setAttribute(\\\"text\\\", entry.getText());\\n req.setAttribute(\\\"idNumber\\\", idNumber);\\n\\n req.getRequestDispatcher(\\\"/WEB-INF/pages/BlogEntry.jsp\\\").forward(req, resp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33dceded79427e1211cd443e1e49c48d\",\n \"score\": \"0.57198524\",\n \"text\": \"@Override\\n public void preShow(Long id, Model model) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e54129453cc4d9915dd8263fb42d713b\",\n \"score\": \"0.5716959\",\n \"text\": \"@GetMapping(\\\"/edit-question\\\")\\n public String showEditQuestionPage(@RequestParam(name=\\\"id\\\", required = true) int id, Model model) {\\n Question questionOfDiscussion = questionService.getById(id);\\n\\n model.addAttribute(\\\"question\\\", questionOfDiscussion);\\n\\n //for showing the name in the navbar only\\n model.addAttribute(\\\"logged_in_user\\\", getCurrentlyLoggedInUser());\\n\\n return \\\"edit-question\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdea98003cc80f4bb0e1478218732a9f\",\n \"score\": \"0.5711941\",\n \"text\": \"private void actionOpen(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException\\n {\\n String username = request.getParameter(\\\"username\\\");\\n String postidStr = request.getParameter(\\\"postid\\\");\\n //make sure request has required parameters\\n if(username == null || postidStr == null){\\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\\n response.getWriter().println(\\\"

\\\");\\n response.getWriter().println(response.getStatus());\\n response.getWriter().println(\\\" (Bad Request): Missing username or postid!!

\\\");\\n // return;\\n }\\n else{\\n int postid = stringToint(postidStr);\\n if(postid == -1){\\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\\n response.getWriter().println(\\\"

\\\");\\n response.getWriter().println(response.getStatus());\\n response.getWriter().println(\\\" (Bad Request): Postid is not valid. It must be an integer

\\\");\\n }\\n else{\\n //optional title body parameters\\n String title = request.getParameter(\\\"title\\\");\\n String body = request.getParameter(\\\"body\\\");\\n\\n boolean bodyAndTitlePassed;\\n if(body == null || title == null)\\n bodyAndTitlePassed = false;\\n else\\n bodyAndTitlePassed = true;\\n\\n if(postid <= 0){\\n if(bodyAndTitlePassed){\\n //use the passed parameter values as the initial title and body values\\n request.setAttribute(\\\"title\\\", title);\\n request.setAttribute(\\\"body\\\", body);\\n //return with status code 200\\n response.setStatus(HttpServletResponse.SC_OK);\\n }\\n else{//otherwise, set missing title and/or body to empty string and return with status code 200 (OK)\\n request.setAttribute(\\\"title\\\", \\\"\\\");\\n request.setAttribute(\\\"body\\\", \\\"\\\");\\n response.setStatus(HttpServletResponse.SC_OK);\\n }\\n //return the \\\"edit page\\\" for the post with the given postid by the user\\n request.getRequestDispatcher(\\\"/edit.jsp\\\").forward(request, response);\\n }\\n else{//postid > 0\\n if(bodyAndTitlePassed){//click close window when using preview page\\n //use the passed parameter values as the initial title and body values\\n request.setAttribute(\\\"title\\\", title);\\n request.setAttribute(\\\"body\\\", body);\\n //return with status code 200\\n response.setStatus(HttpServletResponse.SC_OK);\\n //return the \\\"edit page\\\" for the post with the given postid by the user\\n request.getRequestDispatcher(\\\"/edit.jsp\\\").forward(request, response);\\n }\\n else{\\n AccessDB mydb = new AccessDB();\\n boolean nameAndIDExist = mydb.checkExistence(username, postid);\\n if(nameAndIDExist){//if (username, postid) row exists in the database, retrieve the title and body from the database and return with status code 200(OK)\\n Record myRecord = mydb.fetchTitleAndBody(username, postid);\\n request.setAttribute(\\\"title\\\", myRecord.title);\\n request.setAttribute(\\\"body\\\", myRecord.body);\\n response.setStatus(HttpServletResponse.SC_OK);\\n //return the \\\"edit page\\\" for the post with the given postid by the user\\n request.getRequestDispatcher(\\\"/edit.jsp\\\").forward(request, response);\\n }\\n else{ //otherwise, return with status code 404 (Not found) //SC_NOT_FOUND\\n response.setStatus(HttpServletResponse.SC_NOT_FOUND);\\n response.getWriter().println(\\\"

\\\");\\n response.getWriter().println(response.getStatus() + \\\" (Not found): Cannot find the post with id \\\" + postid + \\\" for user \\\" + username);\\n response.getWriter().println(\\\"

\\\");\\n }\\n }\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a6ac374220b663c95f820353e7ac8b8\",\n \"score\": \"0.5697887\",\n \"text\": \"@GetMapping(\\\"/edit/{id}\\\")\\r\\n\\tpublic String showEdit(\\r\\n\\t\\t\\t@PageableDefault(page=0, size=5) Pageable pageable,\\r\\n\\t\\t\\t@PathVariable Integer id,\\r\\n\\t\\t\\tModel model) \\r\\n\\t{\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tlog.info(\\\"Entered into showEdit(id) method and About to call getOneOrderMethod(id) service method\\\");\\r\\n\\t\\t\\tOptional opt = service.getOneOrderMethod(id);\\r\\n\\t\\t\\tif(opt.isPresent()) {\\r\\n\\t\\t\\t\\tlog.debug(\\\"Data fetched and about to show in ui using Model memory\\\");\\r\\n\\t\\t\\t\\tmodel.addAttribute(\\\"orderMethod\\\", opt.get());\\r\\n\\t\\t\\t\\treturn \\\"OrderMethodEdit\\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tString message = \\\"Order Method Not Existed!\\\";\\r\\n\\t\\t\\tlog.warn(message);\\r\\n\\t\\t\\tmodel.addAttribute(\\\"errorMessag\\\"\\r\\n\\t\\t\\t\\t\\t+ \\\"e\\\", message);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tmodel.addAttribute(\\\"page\\\", service.getAllOrderMethod(pageable));\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\tlog.error(\\\"Exception : \\\"+e);\\r\\n\\t\\t\\te.printStackTrace();\\t\\t\\r\\n\\t\\t}\\r\\n\\t\\tlog.info(\\\"About to show OrderMethodData page\\\");\\r\\n\\t\\treturn \\\"OrderMethodData\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5204558c47c9886e040e3c21cd27e341\",\n \"score\": \"0.5692364\",\n \"text\": \"public void loadEdit() {\\n\\t\\tif (Films.filmlist.isEmpty()) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null,\\n\\t\\t\\t\\t\\t\\\"Please add a film or load previous films, Use the Add or View All Tabs\\\", \\\"Add a film to use this\\\",\\n\\t\\t\\t\\t\\tJOptionPane.ERROR_MESSAGE);\\n\\t\\t} else {\\n\\t\\t\\t// set up the combo box with film names to edit\\n\\t\\t\\tsetUpComboBox(comboBoxEdit, panelEdit);\\n\\t\\t\\t// load buttons for edit screen\\n\\t\\t\\tbuttonEdit();\\n\\t\\t\\t//clear textboxes\\n\\t\\t\\tclearTextBoxesLoad();\\n\\t\\t\\t// move highlight panel\\n\\t\\t\\tpanel_highlight.setBounds(0, 463, 10, 66);\\n\\t\\t\\t// set highlight panel to the top\\n\\t\\t\\teditPanelToTop();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abdaa3c5b2ed163252a01aaf59ae327a\",\n \"score\": \"0.56886894\",\n \"text\": \"public void editDetailsOfPerson() {\\n\\n fileController.editMain();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"550066bac6fb333f9b0364586eb50342\",\n \"score\": \"0.56797606\",\n \"text\": \"protected void doEdit() {\\n this.pageStatus = ZcSettingConstants.PAGE_STATUS_EDIT;\\r\\n updateFieldEditorsEditable();\\r\\n setButtonStatus();\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a8d7e0a44025f2d146d4b2830cc0832\",\n \"score\": \"0.56732416\",\n \"text\": \"private void showUpdateForm(HttpServletRequest request, HttpServletResponse response)\\n\\t\\t\\tthrows SQLException, ServletException, IOException {\\n\\t\\t\\n\\t\\tSystem.out.print(\\\"CONSOLE -- ENTROU NA SERVLET TRANSFER: showUpdateForm \\\\n \\\");\\n\\t\\t\\n\\t\\tint transferCode = Integer.parseInt(request.getParameter(\\\"id\\\"));\\n\\t\\t\\n\\t\\tTransferModel existingTransfer = TransferDataAccessObject.readOne(transferCode);\\n\\t\\t\\n\\t\\tRequestDispatcher dispatcher = request.getRequestDispatcher(\\\"/WEB-INF/javaServerPages/transfer-update.jsp\\\");\\n\\t\\trequest.setAttribute(\\\"myTransfer\\\", existingTransfer);\\n\\t\\tdispatcher.forward(request, response);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6efb80cdbbecc71c6e22a39b5e76692e\",\n \"score\": \"0.56361365\",\n \"text\": \"public void requestEditStdInfo() {\\n\\t\\tStudentB student = new StudentB();\\n\\t\\tstudent = view.getStdSelected();\\n\\n\\t\\tStudentInfoViewB stdView = new StudentInfoViewB(student , view);\\n\\t//\\tStudentInfoController stdController = new StudentInfoController(stdView , student);\\n\\t//\\tstdView.createController();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1532cc0e3e4a746accb70b0b6ed8184\",\n \"score\": \"0.5623053\",\n \"text\": \"public void editItemDetil(){\\n\\t\\tview.showWindowForm();\\n\\t\\t//2. INIT LISTENER\\n\\t\\tview.getItemDetilView().getBtnAddAndSave().addClickListener(this);\\n\\t\\tview.getItemDetilView().getBtnClose().addClickListener(this);\\n\\t\\t//3. INIT STATE FORM\\n\\t\\tview.getItemDetilModel().setOperationStatus(EnumOperationStatus.EDITING.getStrCode());\\n\\t\\t//4. INIT VALUE::ITEM DETIL\\n\\t\\tview.getItemDetilModel().setItemHeader(model.getItemHeader());\\n\\t\\tview.getItemDetilModel().setItemDetil(model.getItemDetil());\\n\\t\\t\\n\\t\\tview.getItemDetilPresenter().editItemdetil();\\t\\n\\t\\tview.getItemDetilView().focustIdOrDesc();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60bc7c38545b4bb0a23347a3ad6330e5\",\n \"score\": \"0.56184244\",\n \"text\": \"private void showForm(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tInteger id = Integer.parseInt(request.getParameter(\\\"id\\\"));\\n\\t\\tVoto vot = new Voto();\\n\\t\\tvot.setId(id);\\n\\t\\tVoto votaux = votaDAO.find(vot.getId());\\n\\t\\trequest.getSession().setAttribute(\\\"voto\\\", votaux);\\n\\t\\trequest.getRequestDispatcher(\\\"Voto.jsp\\\").forward(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e65d281fcfc54a4e8caa44ccd99b06c\",\n \"score\": \"0.56156784\",\n \"text\": \"private void showNewForm(HttpServletRequest request, HttpServletResponse response) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80b9f4474c532b61b188e3ff43f31721\",\n \"score\": \"0.5614128\",\n \"text\": \"public void pageValidate(PageEvent event) {\\n\\t\\tsuper.pageValidate(event); \\n\\t\\t// Now make sure that we have an Object to edit\\n\\t\\tif (getEditedObject() == null) {\\n\\t\\t\\tIPage loginPage = getRequestCycle().getPage(getLoginPageName());\\n\\t\\t\\tthrow new PageRedirectException(loginPage);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c42b7a2beda347fb90f8a03d0acccfae\",\n \"score\": \"0.5583467\",\n \"text\": \"@Override\\r\\n\\tpublic boolean edit(ResourceDetails vo) throws Exception {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"517cc36a5e1f14e757ca910a3cc491c7\",\n \"score\": \"0.557861\",\n \"text\": \"public void editProfile(){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af2e85a3cdb47b0c6642d6ca23b3869f\",\n \"score\": \"0.55682147\",\n \"text\": \"private void editNoteBook(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException {\\n\\t\\tint id = Integer.parseInt(request.getParameter(\\\"itemId\\\"));\\n\\t\\tNoteBook noteBook = commonDao.getNoteBook(id);\\n\\t\\trequest.setAttribute(\\\"noteBook\\\", noteBook);\\n\\t\\tshowParticularNotebook(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03c8245015f7813635f5232e9a4ef516\",\n \"score\": \"0.5560177\",\n \"text\": \"@RequestMapping(value=\\\"/bpm/table/showFieldEdit\\\", method = RequestMethod.GET)\\n public ModelAndView showFieldEdit(@RequestParam(\\\"tableId\\\") String tableId, ModelMap model, @RequestParam(\\\"enableRelationTab\\\") String enableRelationTab,@RequestParam(\\\"moduleId\\\") String moduleId,@RequestParam(\\\"isEdit\\\") String isEdit) throws BpmException{\\n try{\\n MetaTable metaTableObj = tableService.getTableDetails(tableId);\\n List tableList = tableService.getNonRelationTables(tableId);\\n model.addAttribute(\\\"tableList\\\", tableList);\\n model.addAttribute(\\\"metaTable\\\", metaTableObj);\\n model.addAttribute(\\\"moduleId\\\", moduleId);\\n model.addAttribute(\\\"isEdit\\\", isEdit);\\n model.addAttribute(\\\"moduleName\\\", moduleService.getModule(moduleId).getName());\\n model.addAttribute(\\\"enableRelationTab\\\", enableRelationTab);\\n model.addAttribute(\\\"isFieldEdit\\\", true);\\n model.addAttribute(\\\"isTableRelation\\\", \\\"false\\\");\\n }catch(Exception e){\\n log.error(\\\"Error while getting table by id \\\"+e);\\n }\\n return new ModelAndView(\\\"/table/createTable\\\", model);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04c0f4a9e523b4aa081df1089c581da2\",\n \"score\": \"0.5547528\",\n \"text\": \"public static String edit(HttpServletRequest request, HttpServletResponse response, jjDatabaseWeb db, boolean isPost) throws Exception {\\r\\n try {\\r\\n String id = jjTools.getParameter(request, _id);\\r\\n System.out.println(\\\"id=\\\" + id);\\r\\n String script = \\\"\\\";\\r\\n String hasAccess = Access_User.getAccessDialog(request, db, rul_edt);\\r\\n if (!hasAccess.equals(\\\"\\\")) {\\r\\n Server.outPrinter(request, response, hasAccess);\\r\\n return \\\"\\\";\\r\\n\\r\\n }\\r\\n Map map = new HashMap<>();\\r\\n map.put(_filesExecutor, jjTools.getParameter(request, _filesExecutor));\\r\\n map.put(_filesTracker, jjTools.getParameter(request, _filesTracker));\\r\\n map.put(_descriptionExecutor, jjTools.getParameter(request, _descriptionExecutor));\\r\\n map.put(_descriptionTracker, jjTools.getParameter(request, _descriptionTracker));\\r\\n map.put(_status, jjTools.getParameter(request, _status));\\r\\n\\r\\n if (!db.update(tableName, map, _id + \\\"=\\\" + id)) {\\r\\n String errorMessage = \\\"عملیات ویرایش به درستی صورت نگرفت.\\\";\\r\\n if (jjTools.isLangEn(request)) {\\r\\n errorMessage = \\\"Edit Fail;\\\";\\r\\n }\\r\\n Server.outPrinter(request, response, Js.modal(errorMessage, \\\"پیام سامانه\\\"));\\r\\n return \\\"\\\";\\r\\n } else {\\r\\n// if (result.isEmpty()) {\\r\\n script += \\\"hmisApproved.m_refresh();\\\";\\r\\n script += \\\"hmisApproved.m_select(\\\" + id + \\\");\\\";\\r\\n script += Js.modal(\\\"تغییرات انجام شد\\\", \\\"پیام سامانه\\\");\\r\\n// }\\r\\n }\\r\\n Server.outPrinter(request, response, script);\\r\\n return \\\"\\\";\\r\\n } catch (Exception ex) {\\r\\n Server.outPrinter(request, response, Server.ErrorHandler(ex));\\r\\n return \\\"\\\";\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"805b1fbc86a0097be8ba4a5ac02c2e55\",\n \"score\": \"0.55457634\",\n \"text\": \"private void editAction() {\\n if(newKeyField.getText().trim().isEmpty() && newBpKeyField.getText().trim().isEmpty()) {\\n\\n bikeManagement.editBike(numberField.getText().trim(), null, checkInfo());\\n\\n } else if(tireDField.getText().trim().isEmpty() && frameHField.getText().trim().isEmpty() &&\\n manufacturerField.getText().trim().isEmpty() && colorField.getText().trim().isEmpty()) {\\n\\n bikeManagement.editBike(numberField.getText().trim(), new BikeKey(newKeyField.getText().trim(), newBpKeyField.getText().trim()), null);\\n\\n } else {\\n bikeManagement.editBike(numberField.getText().trim(), new BikeKey(newKeyField.getText().trim(), newBpKeyField.getText().trim()), checkInfo());\\n }\\n\\n eventBus.post(new ConfirmEditEvent());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba32cb1afbb1ed28f0e466d71f940211\",\n \"score\": \"0.5537103\",\n \"text\": \"public String editar() {\\n //logger.setLevel(Level.ALL);\\n logger.entering(this.getClass().getName(), \\\"editar\\\");\\n httpServletRequest.getSession().setAttribute(\\\"nueF\\\", this.nue);\\n httpServletRequest1.getSession().setAttribute(\\\"cuentaUsuario\\\", this.usuarioSis);\\n logger.exiting(this.getClass().getName(), \\\"editar\\\", \\\"editarPeritoET\\\");\\n return \\\"editarPeritoET.xhtml?faces-redirect=true\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d95d6899f543bfe4e70447b1e340d63\",\n \"score\": \"0.5532507\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, true, currentUser, 2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d95d6899f543bfe4e70447b1e340d63\",\n \"score\": \"0.5532507\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, true, currentUser, 2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45cd76d6273440af2530ef3710a45c73\",\n \"score\": \"0.5531587\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, true, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a173d51c41528049fb14a5af08a0b846\",\n \"score\": \"0.55305344\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcd5c464e7f1612287c95bd03e2fc04a\",\n \"score\": \"0.5520716\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb359749b6dde3988261fd5d09272b32\",\n \"score\": \"0.5510102\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb359749b6dde3988261fd5d09272b32\",\n \"score\": \"0.5510102\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0336f9d76b122e067fed215dec5b20d5\",\n \"score\": \"0.5502187\",\n \"text\": \"public String editar( Entity entity ) {\\r\\n \\tthis.entity = entity;\\r\\n \\treturn \\\"create.seam?faces-redirect=true\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"833499863b71a3dec71b7f9d172dbec5\",\n \"score\": \"0.5498488\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"084365c223ef188ef5b3fa3dd49d4b9f\",\n \"score\": \"0.5495976\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 3);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"084365c223ef188ef5b3fa3dd49d4b9f\",\n \"score\": \"0.5495976\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 3);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d516bfa9be27eba552844543a311865\",\n \"score\": \"0.548026\",\n \"text\": \"private void viewUserEdit() {\\r\\n Intent intent = new Intent(this, UserPageEdit.class);\\r\\n intent.putExtra(\\\"userID\\\", userID);\\r\\n startActivity(intent);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4cd64d5944ec23358a0b83d2ea476bc\",\n \"score\": \"0.5478139\",\n \"text\": \"public void edit() {\\r\\n\\t\\t// Call view() to find, display, & return the customer to edit\\r\\n\\t\\tCustomer tempCustomer = view();\\r\\n\\t\\t// If the customer != null, i.e. it was found then...\\r\\n\\t\\tif (tempCustomer != null) {\\r\\n\\t\\t\\t// get it's index\\r\\n\\t\\t\\tint index = customers.indexOf(tempCustomer);\\r\\n\\t\\t\\t// read in a new customer and...\\r\\n\\t\\t\\ttempCustomer.read();\\r\\n\\r\\n\\t\\t\\t// reset the object in customers\\r\\n\\t\\t\\tcustomers.set(index, tempCustomer);\\r\\n\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dee367ab334aec6a01fb8a29355ab72\",\n \"score\": \"0.54752237\",\n \"text\": \"public void requestEditCourseInfo() {\\n\\t\\tCourseB course = new CourseB();\\n\\t\\tcourse = view.getCourseSelected();\\n\\t\\t\\n\\t\\tCourseInfoViewB courseView = new CourseInfoViewB(course , view);\\n//\\t\\tCourseInfoController courseController = new CourseInfoController(courseView , course);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56b6f7a83243f1ae3836e173c99b8492\",\n \"score\": \"0.54740244\",\n \"text\": \"public void onClick(ClickEvent event) {\\n EditWindow.show(record, false, currentUser, 3);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4696587492ea126dc8f7aed97182e1f\",\n \"score\": \"0.5473454\",\n \"text\": \"@Override\\r\\n public Navigation run() throws Exception {\\r\\n // edit\\r\\n Job job = jobService.get(asKey(\\\"jobKey\\\"));\\r\\n BeanUtil.copy(job, request);\\r\\n\\r\\n requestScope(\\\"jobStatus\\\", jobStatus);\\r\\n return forward(\\\"manager-job-edit.jsp\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c71a881d8dd70f67fbc420e1894099a5\",\n \"score\": \"0.54660165\",\n \"text\": \"public EditLocationPage(){\\n\\t\\tPageFactory.initElements(driver, this);\\n\\t\\teditLocationString = prop.getProperty(\\\"editLocation\\\");\\n\\t\\tnewEditLocationString = prop.getProperty(\\\"newEditLocation\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43453e983a9e8fdd3894bb6deabda0c7\",\n \"score\": \"0.5456999\",\n \"text\": \"@Test\\n public void testEdit() {\\n \\n Mockito.doNothing().when(mokTelefonoRest).edit(Integer.SIZE, mokTelefono);\\n mokTelefonoRest.edit(Integer.SIZE, mokTelefono);\\n Mockito.verify(mokTelefonoRest, times(1)).edit(Integer.SIZE, mokTelefono);\\n Mockito.doThrow(Exception.class).when(mokTelefonoRest).edit(Integer.SIZE, mokTelefono);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cb30f46434603edfcadbf809c23c054\",\n \"score\": \"0.54532826\",\n \"text\": \"@RenderMapping(params = \\\"action=edit\\\")\\n\\tpublic String edit(RenderRequest renderRequest, RenderResponse renderResponse, Model model) throws PortalException, SystemException {\\n\\t\\t_log.debug(\\\"### ViewDesignerController edit ::: \\\");\\n\\n\\t\\ttry {\\n\\t\\t\\tServiceContext serviceContext = ServiceContextFactory.getInstance(DataView.class.getName(), renderRequest);\\n\\n\\t\\t\\tString type = ParamUtil.getString(renderRequest, \\\"type\\\");\\n\\t\\t\\tlong dataViewId = ParamUtil.getLong(renderRequest, \\\"dataViewId\\\");\\n\\t\\t\\tlong dataTypeId = ParamUtil.getLong(renderRequest, \\\"dataTypeId\\\");\\n\\n\\t\\t\\t//_log.debug(\\\"### type ::: \\\" +type + \\\" dataViewId:\\\"+dataViewId+ \\\" dataTypeId:\\\"+dataTypeId);\\n\\t\\t\\tif(dataViewId>0){\\n\\t\\t\\t\\tDataView dataView = DataViewServiceUtil.getDataView(dataViewId, serviceContext);\\n\\t\\t\\t\\tmodel.addAttribute(\\\"dataView\\\", dataView);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(\\\"edit\\\".equals(type) || \\\"load\\\".equals(type)){\\n\\t\\t\\t\\t\\tString html = URLEncoder.encode(dataView.getHtml(),\\\"utf-8\\\");\\n\\t\\t\\t\\t\\tmodel.addAttribute(\\\"html\\\", html);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tmodel.addAttribute(\\\"type\\\", type);\\n\\n\\t\\t} catch (PrincipalException e) {\\n\\t\\t\\tErrorHandler.error(renderRequest, e);\\n\\n\\t\\t} catch (SystemException | PortalException e) {\\n\\t\\t\\tSessionErrors.add(renderRequest, e.getClass(), e.getMessage());\\n\\t\\t\\tSessionMessages.add(renderRequest, PortalUtil.getPortletId(renderRequest) + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE);\\n\\t\\t\\t\\n\\t\\t} finally {\\n\\t\\t\\treturn \\\"designer/edit\\\";\\t\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a80d900854f35949df8745c39a7fa0f7\",\n \"score\": \"0.54517853\",\n \"text\": \"public String editar() {\\n\\t\\tInteger id = Integer.parseInt(\\n\\t\\t\\t\\t(String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\\\"id\\\"));\\n\\t\\tpessoa = pessoaDao.selecionarPorId(id);\\n\\t\\treturn \\\"sucesso\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d764f06a7d801d61ac11af52642d558\",\n \"score\": \"0.54507947\",\n \"text\": \"private void showObjectDetails() {\\n\\t\\tif ((currentSelection.size() != 1)\\n\\t\\t\\t\\t|| !(currentSelection.getFirstElement() instanceof AbstractObject))\\n\\t\\t\\treturn;\\n\\n\\t\\tAbstractObject object = (AbstractObject) currentSelection\\n\\t\\t\\t\\t.getFirstElement();\\n\\t\\ttry {\\n\\t\\t\\tPlatformUI\\n\\t\\t\\t\\t\\t.getWorkbench()\\n\\t\\t\\t\\t\\t.getActiveWorkbenchWindow()\\n\\t\\t\\t\\t\\t.getActivePage()\\n\\t\\t\\t\\t\\t.showView(\\n\\t\\t\\t\\t\\t\\t\\t\\\"org.netxms.ui.eclipse.objectview.view.tabbed_object_view\\\"); //$NON-NLS-1$\\n\\t\\t\\tCommandBridge.getInstance().execute(\\n\\t\\t\\t\\t\\t\\\"TabbedObjectView/changeObject\\\", object.getObjectId());\\n\\t\\t} catch (PartInitException e) {\\n\\t\\t\\tMessageDialogHelper\\n\\t\\t\\t\\t\\t.openError(\\n\\t\\t\\t\\t\\t\\t\\tgetSite().getShell(),\\n\\t\\t\\t\\t\\t\\t\\tMessages.get().AbstractNetworkMapView_Error,\\n\\t\\t\\t\\t\\t\\t\\tString.format(\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tMessages.get().AbstractNetworkMapView_OpenObjDetailsError,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\te.getLocalizedMessage()));\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d8915cd4cca6cc9e00f6f0352d921c2\",\n \"score\": \"0.5447488\",\n \"text\": \"@Override\\n\\tpublic boolean edit(T entity) {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1e211ab356acf00847e8900ffaed559\",\n \"score\": \"0.54445916\",\n \"text\": \"public void editStep(){\\n\\t\\tif(!hasIdt()) setIdc(null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0943086196beaa225ada114f9323ce0\",\n \"score\": \"0.54409766\",\n \"text\": \"public interface EditView extends View {\\n\\n void setSaveHandler (final SaveHandler entitySaveHandler);\\n void setLoadHandler (final LoadHandler entityLoadHandler);\\n void setCreateHandler (final CreateHandler entityCreateHandler);\\n void setValueChangedHandler (final ValueChangedHandler valueChangedHandler);\\n\\n SaveHandler getSaveHandler ();\\n LoadHandler getLoadHandler ();\\n CreateHandler getCreateHandler ();\\n ValueChangedHandler getValueChangedHandler();\\n\\n void load(ENTITY entity);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd1f8b59a140b5aba77be22b4f32affb\",\n \"score\": \"0.54395896\",\n \"text\": \"public EditEntryHandler() {\\n\\t\\tsuper.edit = true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"128e9a0411c5c8db690bc4f37309d76c\",\n \"score\": \"0.5438532\",\n \"text\": \"@GetMapping(\\\"/edit-answer\\\")\\n public String showEditAnswerPage(@RequestParam(name=\\\"id\\\", required = true) int id, Model model) {\\n Answer answerOfDiscussion = answerService.getById(id);\\n\\n //get the question of the discussion\\n Discussion discussionWithTheAnswer = answerOfDiscussion.getPosted_in_discussion();\\n Question questionOfDiscussion = getQuestionOfDiscussion(discussionWithTheAnswer);\\n\\n model.addAttribute(\\\"answer\\\", answerOfDiscussion);\\n model.addAttribute(\\\"questionOfDiscussion\\\", questionOfDiscussion);\\n\\n //for showing the name in the navbar only\\n model.addAttribute(\\\"logged_in_user\\\", getCurrentlyLoggedInUser());\\n\\n return \\\"edit-answer\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a84937162a6067816b26f1edee7d6ec9\",\n \"score\": \"0.5418594\",\n \"text\": \"@RequestMapping(value = \\\"/edit\\\", method = RequestMethod.GET)\\n\\tpublic String editUpdate (@RequestParam(value=\\\"id\\\", required=true) Integer id, Model model) {\\n\\t\\tlogger.debug(\\\"Received request to show update edit page\\\");\\n\\t \\n\\t UpdateDao ud = this.getUpdateDao();\\n\\t Update up = ud.findById(id);\\n\\t \\n\\t\\tmodel.addAttribute(\\\"update\\\", up); \\n\\t \\n\\t\\treturn \\\"updateEditPage\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5481a0fdb2fc9571813d33a9181cb7f8\",\n \"score\": \"0.5418337\",\n \"text\": \"private void editItem(){\\n if (currentSelected == null)\\n return;\\n addeditPanel(\\\"Edit\\\");\\n nameField.setText(currentSelected.getName());\\n addressField.setText(currentSelected.getAddress());\\n numberField.setText(currentSelected.getPhoneNumber() + \\\"\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af112402cf90d5c1f9d59835c378aa9f\",\n \"score\": \"0.5417562\",\n \"text\": \"@Override\\r\\n protected void onInitPage()\\r\\n {\\n if (record.isValid()==false)\\r\\n reloadRecord();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"659fed08cf5c917d11450df1a088c559\",\n \"score\": \"0.54138094\",\n \"text\": \"public String edit()\\n {\\n HttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\\n province = provinceDAO.listProvinceById(Long.parseLong(request.getParameter(\\\"id\\\")));\\n return SUCCESS;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a66b6fca94d3d8c2a2ea803bb551a9b\",\n \"score\": \"0.5407735\",\n \"text\": \"private void handleOpen(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException \\n {\\n if (request.getParameterMap().containsKey(\\\"username\\\") != false && request.getParameterMap().containsKey(\\\"postid\\\") != false)\\n {\\n int postid;\\n try{\\n postid = Integer.parseInt(request.getParameter(\\\"postid\\\").toString());\\n }\\n catch (NumberFormatException ex){\\n response.setStatus(400);\\n return;\\n }\\n String username = request.getParameter(\\\"username\\\").toString();\\n request.setAttribute(\\\"username\\\", username);\\n request.setAttribute(\\\"postid\\\", postid);\\n\\n String title = \\\"\\\";\\n String body = \\\"\\\";\\n\\n if (postid == 0){\\n if (request.getParameterMap().containsKey(\\\"title\\\") != false){\\n title = request.getParameter(\\\"title\\\").toString();\\n }\\n if (request.getParameterMap().containsKey(\\\"body\\\") != false){\\n body = request.getParameter(\\\"body\\\").toString();\\n }\\n request.setAttribute(\\\"title\\\", title);\\n request.setAttribute(\\\"body\\\", body);\\n response.setStatus(200);\\n request.getRequestDispatcher(\\\"/edit.jsp\\\").forward(request, response);\\n }\\n else if (postid > 0) {\\n if (request.getParameterMap().containsKey(\\\"title\\\") != false && request.getParameterMap().containsKey(\\\"body\\\") != false){\\n title = request.getParameter(\\\"title\\\").toString();\\n body = request.getParameter(\\\"body\\\").toString();\\n\\n request.setAttribute(\\\"title\\\", title);\\n request.setAttribute(\\\"body\\\", body);\\n\\n response.setStatus(200);\\n request.getRequestDispatcher(\\\"/edit.jsp\\\").forward(request, response);\\n } \\n else{\\n Connection conn = null;\\n PreparedStatement open_stmt = null;\\n ResultSet rs = null;\\n try{\\n conn = DriverManager.getConnection(\\\"jdbc:mariadb://localhost:3306/CS144\\\", \\\"cs144\\\", \\\"\\\");\\n open_stmt = conn.prepareStatement(\\\"SELECT title, body FROM Posts WHERE username = ? AND postid = ?\\\");\\n open_stmt.setString(1, username);\\n open_stmt.setInt(2, postid);\\n rs = open_stmt.executeQuery();\\n if (!rs.next())\\n {\\n response.setStatus(404);\\n }\\n else\\n {\\n rs.beforeFirst();\\n while(rs.next()){\\n title = rs.getString(\\\"title\\\");\\n body = rs.getString(\\\"body\\\");\\n }\\n\\n request.setAttribute(\\\"title\\\", title);\\n request.setAttribute(\\\"body\\\", body);\\n\\n response.setStatus(200);\\n request.getRequestDispatcher(\\\"/edit.jsp\\\").forward(request, response);\\n }\\n }\\n catch (SQLException ex){/* ignored */} \\n finally{\\n try{ open_stmt.close(); } catch (SQLException ex){/* ignored */}\\n try{ conn.close(); } catch (SQLException ex){/* ignored */}\\n try{ rs.close(); } catch (SQLException ex){/* ignored */}\\n }\\n }\\n }\\n else{\\n // ERROR: postid is negative\\n response.setStatus(400);\\n } \\n }\\n else{\\n // ERROR: required parameters not included\\n response.setStatus(400);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eac1af3c7f333fec1467a2e0c7c9524d\",\n \"score\": \"0.5405226\",\n \"text\": \"@SkipValidation\\r\\n\\tpublic String edit()\\r\\n\\t{\\r\\n\\t\\tlog.debug(\\\"edit action\\\");\\r\\n\\t\\ttry{\\r\\n\\t\\t\\tHttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\\r\\n\\t\\t\\tattrb = attrbManager.findAttribute(Integer.parseInt(request.getParameter(\\\"attrbid\\\")));\\r\\n\\t\\t\\tlistPhysicalType();\\r\\n\\t\\t\\treturn \\\"success\\\";\\r\\n\\t\\t}catch(RuntimeException re) {\\r\\n\\t\\t\\tlog.error(\\\"edit action failed\\\", re);\\r\\n\\t\\t\\treturn \\\"fail\\\";\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69b530a5fabe52178da13eb2377d1cf2\",\n \"score\": \"0.54021496\",\n \"text\": \"public void showEdit(String vdocno, String vdocdate, String vtrtype) throws Throwable {\\n\\t\\ttrdate.setText(vdocdate);\\r\\n\\t\\tseqno.setText(vdocno);\\r\\n\\t\\tseqno.setBackground(Color.black);\\r\\n\\t\\tseqno.setForeground(Color.white);\\r\\n\\t\\tMSG.setText(\\\" EDIT \\\");\\r\\n\\t\\tEditMode = \\\"Y\\\";\\r\\n\\t\\tnew gnStyleButton().getStyleButton(btnEdit, Color.gray, Color.WHITE);\\r\\n\\t\\tEditData(vdocno, vdocdate, vtrtype);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfa9bd1837fc2f036eaf5c9900150742\",\n \"score\": \"0.5399993\",\n \"text\": \"@PostMapping(\\\"/edit\\\")\\n public ItemResponse editItem(@RequestBody ItemRequest request) {\\n Item item = this.itemService.editItem(request);\\n if(item.getType()==Type.QUESTION) {\\n return ItemResponse.of(null,null,Type.QUESTION, ZonedDateTime.now(),item.getQuestion().getDescription(), item.getId(), item.getQuestion().getId());\\n }\\n else {\\n String url = ServletUriComponentsBuilder\\n .fromCurrentContextPath()\\n .path(\\\"/api/files/getFile/\\\")\\n .path(item.getSmxFile().getId().toString())\\n .toUriString();\\n return ItemResponse.of(item.getSmxFile().getFileName(),url,item.getType(),ZonedDateTime.now(),null, item.getId(), null);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03d7a0d2313b37b63f215a1d8528ff34\",\n \"score\": \"0.53957367\",\n \"text\": \"private Entry getEntry () {\\n return edit_entry;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96df3743dfaac0fefe79c60aa5db7cff\",\n \"score\": \"0.53918374\",\n \"text\": \"private void doEdit(Long id, boolean add) {\\n\\t\\tif(!add && id>0) {\\n\\t\\t\\tMNMain.services().getMapViewService().get(id, new MNAsyncCallback(\\\"get mapview\\\") {\\t\\t\\t\\t\\n\\t\\t\\t\\t@Override\\n\\t\\t\\t\\tpublic void onSuccess(MapView m) {\\n\\t\\t\\t\\t\\tdoEdit2(m); \\n\\t\\t\\t\\t}\\t\\t\\t\\t\\n//\\t\\t\\t\\t@Override\\n//\\t\\t\\t\\tpublic void onFailure(Throwable caught) {\\t\\n//\\t\\t\\t\\t\\tMNMain.layout().setStatusError(text)\\n//\\t\\t\\t\\t}\\n\\t\\t\\t}); \\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d77ec3f95d12c668f2da755f067d62d\",\n \"score\": \"0.538943\",\n \"text\": \"private void actionPreview(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException\\n {\\n String username = request.getParameter(\\\"username\\\");\\n String postid = request.getParameter(\\\"postid\\\");\\n //make sure request has required parameters\\n if(username == null || postid == null){\\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\\n response.getWriter().println(\\\"

\\\");\\n response.getWriter().println(response.getStatus());\\n response.getWriter().println(\\\" (Bad Request): Missing username or postid!!

\\\");\\n }\\n String title = request.getParameter(\\\"title\\\");\\n String body = request.getParameter(\\\"body\\\");\\n //goes to preview page with the html rendering of the given title and body\\n request.getRequestDispatcher(\\\"/preview.jsp\\\").forward(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a5651474a8546e97ac96ecfaa7637ef\",\n \"score\": \"0.53889334\",\n \"text\": \"private void editarCliente(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\n // recuperar el id\\n int id = Integer.parseInt(request.getParameter(\\\"id\\\"));\\n Cliente cliente = new ClienteDAO().encontrar(new Cliente(id));\\n System.out.println(\\\"cliente = \\\" + cliente);\\n request.setAttribute(\\\"cliente\\\", cliente);\\n String jspEditar = \\\"/WEB-INF/paginas/cliente/editarCliente.jsp\\\";\\n request.getRequestDispatcher(jspEditar).forward(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33bca0dd46349df73961453cd9803d52\",\n \"score\": \"0.53853977\",\n \"text\": \"@RequestMapping(value=\\\"/edit_advisor\\\", method = RequestMethod.GET)\\r\\n public ModelAndView edit_advisor_get(\\r\\n HttpServletRequest request,\\r\\n HttpServletResponse response) throws Exception\\r\\n {\\r\\n if(!this.security_service.hasAccess(request, \\\"edit_advisor_get\\\")){\\r\\n return ErrorController.error403();\\r\\n }\\r\\n \\r\\n ModelAndView mv = new ModelAndView(\\\"advisor/administrator/form_advisor\\\");\\r\\n \\r\\n String advisor_id = request.getParameter(\\\"id\\\");\\r\\n if(null == advisor_id || advisor_id.equals(\\\"\\\")){\\r\\n mv.addObject(\\\"alert_msg\\\", \\\"Impossible de récupérer le conseiller demandé.\\\");\\r\\n return this.handleRequestInternal(request, response);\\r\\n }\\r\\n \\r\\n UserEntity advisor = this.user_service.find(advisor_id);\\r\\n if(null == advisor){\\r\\n mv.addObject(\\\"alert_msg\\\", \\\"Impossible de récupérer le conseiller demandé.\\\");\\r\\n return this.handleRequestInternal(request, response);\\r\\n }\\r\\n \\r\\n mv.addObject(\\\"advisor\\\", advisor);\\r\\n return mv;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54a0d0fd59d00f321274d87aba572abb\",\n \"score\": \"0.5375862\",\n \"text\": \"public interface IFormView extends IView {\\r\\n\\r\\n void delete(Collection otObject);\\r\\n\\r\\n /**\\r\\n * Metodo que se usa para enviar a eliminar una entidad.\\r\\n * \\r\\n * @param otObject\\r\\n * Objeto que se quire eliminar.\\r\\n */\\r\\n void delete(IEntity otObject);\\r\\n\\r\\n void delete(IEntity otObject, boolean confirm);\\r\\n\\r\\n void delete(List otObject);\\r\\n\\r\\n void find(String namedQuery, Map parameters);\\r\\n\\r\\n void find(String namedQuery, Map parameters, IPersistenceListener listener);\\r\\n\\r\\n void findAll(Class entityClazz);\\r\\n\\r\\n void findById(Class entityClazz, Long id);\\r\\n\\r\\n void findById(Class entityClazz, Long id, IPersistenceListener listener);\\r\\n\\r\\n void findByName(Class entityClazz, String name);\\r\\n\\r\\n void findByName(Class entityClazz, String name, IPersistenceListener listener);\\r\\n\\r\\n \\r\\n \\r\\n IEntity findSynchroById(Class entityClazz, Long id);\\r\\n\\r\\n List findSynchro(String namedQuery, Map parameters);\\r\\n /**\\r\\n * Metodo que se usa para enviar a grabar una entidad.\\r\\n * \\r\\n * @param otObject\\r\\n * Objeto que se quire grabar.\\r\\n */\\r\\n @Override\\r\\n void onSelected(IEntity otObject);\\r\\n\\r\\n /**\\r\\n * Metodo que se usa para enviar a grabar una entidad.\\r\\n * \\r\\n * @param otObject\\r\\n * Objeto que se quire grabar.\\r\\n */\\r\\n IEntity save(IEntity otObject);\\r\\n\\r\\n /**\\r\\n * Metodo que se usa para indicar la selección de una entidad.\\r\\n * \\r\\n * @param otObject\\r\\n * Objeto que se quire seleccionar.\\r\\n */\\r\\n void select(IEntity otObject);\\r\\n\\r\\n /**\\r\\n * Metodo que se usa para enviar a grabar una entidad.\\r\\n * \\r\\n * @param otObject\\r\\n * Objeto que se quire grabar.\\r\\n */\\r\\n boolean validate();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4bd5abd42a34f0c0096c68b7bc489d7\",\n \"score\": \"0.5375854\",\n \"text\": \"@Override\\n public void prepare() throws TdarActionException {\\n RequestType type = RequestType.EDIT;\\n\\n if (getId() == null && (getCurrentUrl().contains(\\\"/add\\\") ||\\n (TdarConfiguration.getInstance().isTest() && StringUtils.isBlank(getCurrentUrl())))) {\\n getLogger().debug(\\\"setting persistable\\\");\\n if (getPersistable() == null) {\\n setPersistable(createPersistable());\\n }\\n type = RequestType.CREATE;\\n }\\n prepareAndLoad(this, type);\\n if (PersistableUtils.isNotNullOrTransient(getId()) && getPersistable().getDateUpdated() != null) {\\n setEpochTimeUpdated(getPersistable().getDateUpdated().getTime());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0763b8f40893963ce555021bb9fc1585\",\n \"score\": \"0.5372319\",\n \"text\": \"private void showEditCustomersView() throws IOException {\\n Stage stage=(Stage)cancelButton.getScene().getWindow();\\n //load up Add Parts FXML Doc\\n Parent root = FXMLLoader.load(getClass().getResource(\\\"/View_Controller/EditCustomers.fxml\\\"));\\n // Call change scene helper\\n ChangeSceneHelper.changeScene(stage, root);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee415f8b947b0871400c69df72d7cd8a\",\n \"score\": \"0.5366014\",\n \"text\": \"public void openCardToEdit() {\\n\\t\\tpages.unit1ProceedingPage.clickButtonEdit();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5991078af9b865a9ee925b5c6fec86d6\",\n \"score\": \"0.5365782\",\n \"text\": \"public void newAction() {\\n\\t\\tPageParameters p= new PageParameters();\\n\\t\\tp.add(\\\"new\\\", 1);\\n\\t\\tsetResponsePage(this);\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tkstaff.remove(ro);\\n\\t\\t\\tnstaff.remove(ro);\\n\\t\\t\\tkalias.remove(ro);\\n\\t\\t\\taddress1.remove(ro);\\n\\t\\t\\ttgllahir.remove(ro);\\n\\t\\t\\ttglmasuk.remove(ro);\\n\\t\\t\\tcity.remove(ro);\\n\\t\\t\\tkjabatan.remove(ro);\\n\\t\\t\\tkcabang.remove(ro);\\n\\t\\t\\tkcompany.remove(ro);\\n\\t\\t\\tkhpp.remove(ro);\\n\\t\\t\\tkprint.remove(ro);\\n\\t\\t\\tkApprove.remove(ro);\\n\\t\\t\\tketerangan.remove(ro);\\n\\t\\t\\tdjabatan.remove(ro);\\n\\t\\t\\ttglkeluar.remove(ro);\\n\\t\\t\\tkotalahir.remove(ro);\\n\\t\\t\\taddress2.remove(ro);\\n\\t\\t\\taddress3.remove(ro);\\n\\t\\t\\tpostcode.remove(ro);\\n\\t\\t\\tphone.remove(ro);\\n\\t\\t\\tfax.remove(ro);\\n\\t\\t}\\n\\t\\tcatch(Exception ex){}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e85bf7c3fa9871e64fc6c2536f7e67ca\",\n \"score\": \"0.53616226\",\n \"text\": \"@Security.Authenticated(Secured.class)\\n\\tpublic static Result edit() {\\n\\t\\t\\n\\t\\treturn respondTo(new Responder() {\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic Result json() {\\n\\t\\t\\t\\treturn badRequest();\\n\\t\\t\\t}\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic Result html() {\\n\\t\\t\\t\\treturn ok(edit.render(Form.form(UserEditForm.class)));\\n\\t\\t\\t}\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic Result script() {\\n\\t\\t\\t\\treturn badRequest();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":841,"cells":{"query_id":{"kind":"string","value":"59ebec554adcc5e7c13bcbdd9ae567fc"},"query":{"kind":"string","value":"Shows the form to set up the meeting time and location."},"positive_passages":{"kind":"list like","value":[{"docid":"0b6301ae1b64912d662c7a8a9b9231e0","score":"0.52586514","text":"public String setMeetingsPresenter(Model model, String tradeDuration, String tradeType, String borrowItemId) {\n model.addAttribute(\"borrowItemId\", borrowItemId);\n model.addAttribute(\"tradeDuration\", tradeDuration);\n model.addAttribute(\"tradeType\", tradeType);\n return \"meetings/meetingForm\";\n }","title":""}],"string":"[\n {\n \"docid\": \"0b6301ae1b64912d662c7a8a9b9231e0\",\n \"score\": \"0.52586514\",\n \"text\": \"public String setMeetingsPresenter(Model model, String tradeDuration, String tradeType, String borrowItemId) {\\n model.addAttribute(\\\"borrowItemId\\\", borrowItemId);\\n model.addAttribute(\\\"tradeDuration\\\", tradeDuration);\\n model.addAttribute(\\\"tradeType\\\", tradeType);\\n return \\\"meetings/meetingForm\\\";\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"2a6ebffe84e840708d1497577d324216","score":"0.61038995","text":"public MakeAppointmentPage() {\n initialize();\n }","title":""},{"docid":"c1017152e7365ffd2ff0713828577c99","score":"0.5942816","text":"public start()\n {\n super(\"AppDiary\");\n title=new JTextField(\"Appointments Diary\",35);\n title.setEditable(false);\n title.setBackground(Color.gray);\n title.setForeground(Color.white);\n title.setHorizontalAlignment(JTextField.CENTER );\n title.setFont(new Font(\"Georgia\",Font.BOLD+Font.ITALIC,35));\n lb1=new Label(\" Welcome\");\n\n lb1.setFont(new Font(\"Georgia\",Font.ITALIC,20));\n\n newapp=new JButton(\">> CREATE AN APPOINTMENT <<\");\n newapp.setBackground(Color.green);\n \n cancel=new JButton(\">> CANCEL AN APPOINTMENT <<\");\n cancel.setBackground(Color.green);\n \n check=new JButton(\">> CHECK SCHEDULE <<\");\n check.setBackground(Color.green);\n \n view=new JButton(\">> VIEW ALL APPOINTMENTS <<\");\n view.setBackground(Color.green);\n d1=new JTextField(10);\n d1.setVisible(false);\n d2=new JTextField(10);\n d2.setVisible(false);\n d3=new JTextField(10);\n d3.setVisible(false);\n d4=new JTextField(10);\n d4.setVisible(false);\n d5=new JTextField(10);\n d5.setVisible(false);\n d6=new JTextField(10);\n d7=new JTextField(10);\n Date date = new Date(); \n String str=date.toString();\n lb2=new Label(str);\n lb2.setFont(new Font(\"Georgia\",Font.BOLD,15));\n lb2.setForeground(Color.blue);\n makeFrame();\n showFrame();\n \n }","title":""},{"docid":"d47f350f0d971fe4431fd8066afb251c","score":"0.59301007","text":"void displayMeeting(boolean editable)\r\n {\r\n if( !_meetingList.isEmpty() )\r\n {\r\n int index = _meetingList.getSelectedIndex(); \r\n Vector meetings = _uiApp.getMeetings(); \r\n _uiApp.pushScreen( new MeetingScreen((Meeting)meetings.elementAt(index), index, editable) ); \r\n } \r\n }","title":""},{"docid":"42b372bd2160e2c909b0c97e41b6c706","score":"0.5915859","text":"public StaffAccountOfficeManagerForm() {\n initComponents();\n StaffTable();\n showDate();\n showTime();\n }","title":""},{"docid":"f603a7d33dbba7d908cfbbebc70f3510","score":"0.5828757","text":"public void showMySchedule() {\r\n\r\n\r\n //start with a clear map\r\n clearSchedules();\r\n\r\n activeDay = sharedPreferences.getString(\"dayOfWeek\", \"Error\");\r\n SchedulePlot mySchedulePlot = new SchedulePlot(me.getSchedule().getSections(activeDay), me.getFirstName(), \"#FF0000\", R.drawable.ic_action_place);\r\n\r\n new GetRoutingForSchedule().execute(mySchedulePlot);\r\n }","title":""},{"docid":"bbaccfd26309e772243a3f25baaf2d30","score":"0.5802494","text":"private void showFormLocationList(){\n\t\tFragmentTransaction ft = getFragmentManager().beginTransaction();\n\t\tFragment prev = getFragmentManager().findFragmentByTag(LOCATIONLIST_TAG);\n\t\t\n\t\tif(prev != null){\n\t\t\tft.remove(prev);\n\t\t}\t\t\n\t\tft.addToBackStack(null);\n\t\t\n\t\tDialogFragment locationList = MapReminderLocationList.newInstance(activeTask);\n\t\tlocationList.show(ft, LOCATIONLIST_TAG);\t\t\t\t\n\t}","title":""},{"docid":"2db8e67ad9579f8ddfbaf9ecbabd6777","score":"0.57307106","text":"public CommonStaffForm() {\n initComponents();\n this.setLocation(450,150);\n }","title":""},{"docid":"879a2ad21745265be2211c22fc425633","score":"0.56147945","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n approveJButton = new javax.swing.JButton();\n approvalJLabel = new javax.swing.JLabel();\n resultJTextField = new javax.swing.JTextField();\n backJButton = new javax.swing.JButton();\n rejectJButton = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n confirmJButton = new javax.swing.JButton();\n dayTimeJLabel = new javax.swing.JLabel();\n\n approveJButton.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n approveJButton.setText(\"Approve Appointment\");\n approveJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n approveJButtonActionPerformed(evt);\n }\n });\n\n approvalJLabel.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n approvalJLabel.setText(\"Please mention below the half hour slot for the patient from the daytime range patient preferred:\");\n\n resultJTextField.setFont(new java.awt.Font(\"Comic Sans MS\", 1, 14)); // NOI18N\n\n backJButton.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n backJButton.setText(\"< {\n startMeetingCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);\n startMeetingCalendar.set(Calendar.MINUTE, minute);\n updateStartTimeTextView();\n };\n startMeetingTimePicker.setOnClickListener(v -> new TimePickerDialog(AddMeeting.this,\n startTime, startMeetingCalendar.get(Calendar.HOUR),\n startMeetingCalendar.get(Calendar.MINUTE),\n true).show());\n }","title":""},{"docid":"d13eefd4758885d8827ee3f6851d881f","score":"0.5373146","text":"private void setEndTimePicker() {\n final TimePickerDialog.OnTimeSetListener endTime = (view, hourOfDay, minute) -> {\n endMeetingCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);\n endMeetingCalendar.set(Calendar.MINUTE, minute);\n updateEndTimeTextView();\n };\n endMeetingTimePicker.setOnClickListener(view -> new TimePickerDialog(AddMeeting.this,\n endTime, endMeetingCalendar.get(Calendar.HOUR),\n endMeetingCalendar.get(Calendar.MINUTE),\n true).show());\n }","title":""},{"docid":"70e0514a1e3a1db57dc2e9c42510b712","score":"0.53704023","text":"public void initialize() {\n constraints.weightx = 1;\n constraints.gridx = 0;\n constraints.gridy = 0;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the start hour\", startHour), constraints);\n constraints.gridy = 1;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the start minute\", startMinute), constraints);\n constraints.gridy = 2;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the end hour\", endHour), constraints);\n constraints.gridy = 3;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the end minute\", endMinute), constraints);\n constraints.gridy = 4;\n JButton btn = new JButton(\"Enter\");\n btn.setActionCommand(\"enterTimes\");\n btn.addActionListener(this);\n editTimes.add(btn, constraints);\n }","title":""},{"docid":"4d4b7e6fc658bf7792b090b1af5c1cd4","score":"0.5361162","text":"@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\n mEditStartTime.setText(mTimeFormat.format(Utils.getDate(mYear, mMonth, mDay, hourOfDay, minute)));\n /**\n * Set meeting end to start time +1 hour\n */\n mEditEndTime.setText(mTimeFormat.format(Utils.getDate(mYear, mMonth, mDay, hourOfDay+1, minute)));\n }","title":""},{"docid":"9ae085ed9ccfb8d0ae3f4d9973f43d8f","score":"0.5359146","text":"public PersistentStoreDemoScreen(Vector meetings)\r\n { \r\n _uiApp = (PersistentStoreDemo)UiApplication.getUiApplication();\r\n \r\n // Initialize UI components\r\n setTitle(new LabelField(\"Persistent Store Demo\", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH)); \r\n _meetingList = new ListField(); \r\n add(_meetingList); \r\n \r\n // Set list field callback and update meeting list\r\n _meetingList.setCallback(_uiApp);\r\n updateList(); \r\n addMenuItem(newMeetingItem); \r\n addMenuItem(retrieveItem); \r\n }","title":""},{"docid":"b7cf5877579fc88e212421b315fdb671","score":"0.53406495","text":"public TaskPanel(TaskController taskController) {\n this.taskController = taskController;\n\n Button submit = new Button(\"Submit\");\n submit.setOnAction(event -> {\n \ttaskController.add(getTaskName(), getTaskDescription(), getHours(), getMinutes(), getDateTime());\n \tSystem.out.println(\"Selected date: \" + getDateTime());\n });\n submit.setId(\"submitButton\");\n submit.setStyle(\"-fx-font-weight: bold\");\n\n Label personInstructions = new Label(\"Select people to assign to task.\");\n Label taskInstructions = new Label(\"Select prerequisite tasks or delete pre-existing tasks.\");\n Label resourcesInstructions = new Label(\"Select required resources.\");\n\n\n Label taskLabel = new Label(\"Task Name:\");\n taskLabel.setStyle(\"-fx-font-weight: bold\");\n\n\n // taskLabel.setAlignment(Pos.TOP_LEFT);\n\n taskField = new TextField();\n //taskField.setAlignment(Pos.TOP_CENTER);\n taskField.setMaxSize(200,25);\n\n taskField.setId(\"taskField\");\n\n Label taskDescription = new Label(\"Task Description:\");\n taskDescription.setStyle(\"-fx-font-weight: bold\");\n\n\n descriptionArea = new TextArea();\n descriptionArea.setWrapText(true);\n descriptionArea.setMaxSize(200,50);\n descriptionArea.setId(\"taskDescArea\");\n\n\n Label spinnerLabelHours = new Label(\"Hours:\");\n Label spinnerLabelMins = new Label(\"Minutes:\");\n\n\n\n spinnerHours = new Spinner();\n int initialValueHours = 1;\n SpinnerValueFactory valueFactoryHours = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 300, initialValueHours);\n\n spinnerMins = new Spinner();\n int initialValueMins = 0;\n\n SpinnerValueFactory valueFactoryMins = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 300, initialValueMins);\n\n spinnerHours.setValueFactory(valueFactoryHours);\n spinnerMins.setValueFactory(valueFactoryMins);\n spinnerHours.setMaxWidth(70);\n spinnerMins.setMaxWidth(70);\n\n Label dateLabel\t= new Label(\"Select start date: \");\n dateSelection = new DatePicker(LocalDate.now());\n dateSelection.setEditable(false);\n\n spinnerTimeHours = new Spinner();\n SpinnerValueFactory valueFactorySelectHours = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 23, 0);\n spinnerTimeHours.setValueFactory(valueFactorySelectHours);\n\n spinnerTimeMins = new Spinner();\n SpinnerValueFactory valueFactorySelectMins = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 59, 0);\n spinnerTimeMins.setValueFactory(valueFactorySelectMins);\n\n spinnerTimeHours.setMaxWidth(70);\n spinnerTimeMins.setMaxWidth(70);\n\n Label select = new Label(\"Select start time (24hr clock): \");\n Label select2 = new Label(\" : \");\n select2.setStyle(\"-fx-font-weight: bold\");\n\n Label effortLabel = new Label(\"Effort Estimate:\");\n effortLabel.setStyle(\"-fx-font-weight: bold\");\n HBox spinnerHBox = new HBox(10);\n spinnerHBox.setPadding(new Insets(25,25,25,25));\n spinnerHBox.setPadding(new Insets(0, 0, 25, 0));\n spinnerHBox.setAlignment(Pos.CENTER);\n spinnerHBox.getChildren().add(effortLabel);\n spinnerHBox.getChildren().addAll(spinnerLabelHours, spinnerHours);\n spinnerHBox.getChildren().addAll(spinnerLabelMins, spinnerMins);\n\n\n VBox dateTimeVBox = new VBox();\n dateTimeVBox.setAlignment(Pos.CENTER);\n dateTimeVBox.setPadding(new Insets(0, 0, 25, 0));\n dateTimeVBox.setSpacing(5);\n HBox dateHBox = new\tHBox();\n dateHBox.setAlignment(Pos.CENTER);\n HBox timeHBox = new HBox();\n timeHBox.setAlignment(Pos.CENTER);\n\n dateHBox.getChildren().addAll(dateLabel, dateSelection);\n timeHBox.getChildren().addAll(select,spinnerTimeHours, select2, spinnerTimeMins);\n dateTimeVBox.getChildren().addAll(dateHBox, timeHBox);\n\n\n spinnerHBox.getChildren().addAll(dateTimeVBox);\n\n\n people = FXCollections.observableArrayList ();\n ListView listOfPeople = new ListView<>(people);\n listOfPeople.setCellFactory(param -> new peopleCell(taskController));\n\n\n tasks = FXCollections.observableArrayList ();\n ListView listOfTasks = new ListView<>(tasks);\n listOfTasks.setCellFactory(param -> new taskCell(taskController));\n\n resources = FXCollections.observableArrayList ();\n ListView listOfResources = new ListView<>(resources);\n listOfResources.setCellFactory(param -> new resourcesCell(taskController));\n\n\n\n this.initModality(Modality.APPLICATION_MODAL);\n HBox dialogHbox = new HBox(20);\n dialogHbox.setPadding(new Insets(25,25,25,25));\n BorderPane borderPane = new BorderPane();\n\n VBox peopleVbox = new VBox();\n peopleVbox.getChildren().add(personInstructions);\n //peopleVbox.getChildren().add(blankLabel);\n peopleVbox.setSpacing(25);\n peopleVbox.getChildren().add(listOfPeople);\n\n VBox taskVbox = new VBox();\n taskVbox.getChildren().add(taskInstructions);\n //taskVbox.getChildren().add(blankLabel);\n taskVbox.setSpacing(25);\n taskVbox.setPadding(new Insets(0,10,0,10));\n taskVbox.getChildren().add(listOfTasks);\n\n VBox resourcesVbox = new VBox();\n resourcesVbox.getChildren().add(resourcesInstructions);\n// resourcesVbox.getChildren().add(resourcesField);\n resourcesVbox.setSpacing(25);\n resourcesVbox.getChildren().add(listOfResources);\n\n dialogHbox.setAlignment(Pos.CENTER);\n\n dialogHbox.getChildren().add(taskLabel);\n dialogHbox.getChildren().add(taskField);\n dialogHbox.getChildren().add(taskDescription);\n dialogHbox.getChildren().add(descriptionArea);\n\n VBox headerVBox = new VBox();\n headerVBox.getChildren().add(dialogHbox);\n headerVBox.getChildren().add(spinnerHBox);\n\n\n BorderPane buttonPane = new BorderPane();\n buttonPane.setRight(submit);\n borderPane.setBottom(buttonPane);\n\n borderPane.setLeft(peopleVbox);\n borderPane.setCenter(taskVbox);\n borderPane.setRight(resourcesVbox);\n\n borderPane.setTop(headerVBox);\n\n borderPane.setPadding(new Insets(25,25,25,25));\n\n Scene dialogScene = new Scene(borderPane, 850, 500);\n this.setScene(dialogScene);\n\n }","title":""},{"docid":"4c0b1f2d3a5f0362937fd1d090f16ae2","score":"0.53346777","text":"public AllocateTeamForm() {\n initComponents();\n }","title":""},{"docid":"2b535c5d8b8a63ab534ec1caf6f82d8c","score":"0.5327675","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jPanel2 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n jTextField1 = new javax.swing.JTextField();\n jTextField2 = new javax.swing.JTextField();\n jComboBox1 = new javax.swing.JComboBox<>();\n jTextField3 = new javax.swing.JTextField();\n jRadioButton1 = new javax.swing.JRadioButton();\n jRadioButton2 = new javax.swing.JRadioButton();\n jTextField4 = new javax.swing.JTextField();\n dateChooserCombo1 = new datechooser.beans.DateChooserCombo();\n jTimeChooser1 = new lu.tudor.santec.jtimechooser.JTimeChooser();\n jPanel3 = new javax.swing.JPanel();\n btnsave = new javax.swing.JButton();\n btnreset = new javax.swing.JButton();\n btnsearch = new javax.swing.JButton();\n btncancel = new javax.swing.JButton();\n btnbill = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Room Reservation\");\n\n jPanel1.setBackground(new java.awt.Color(0, 153, 153));\n\n jPanel2.setBackground(new java.awt.Color(0, 204, 255));\n jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2), \"Details\", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\"Tahoma\", 1, 11))); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel1.setText(\"Room No\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel2.setText(\"Patient ID\");\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel3.setText(\"Room Type\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel4.setText(\"Price\");\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel6.setText(\"Availability\");\n\n jLabel7.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel7.setText(\"Reserved Date\");\n\n jLabel8.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel8.setText(\"Reserved Time\");\n\n jLabel9.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel9.setText(\"Description\");\n\n jRadioButton1.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jRadioButton1.setText(\"Available\");\n\n jRadioButton2.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jRadioButton2.setText(\"Not Available\");\n\n dateChooserCombo1.setFormat(0);\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(33, 33, 33)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel2)\n .addComponent(jLabel3)\n .addComponent(jLabel4))\n .addGap(27, 27, 27)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jTextField1)\n .addComponent(jTextField2)\n .addComponent(jComboBox1, 0, 182, Short.MAX_VALUE)\n .addComponent(jTextField3))\n .addGap(35, 35, 35)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel7)\n .addComponent(jLabel6)\n .addComponent(jLabel8)\n .addComponent(jLabel9))\n .addGap(23, 23, 23)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jRadioButton2)\n .addComponent(jRadioButton1)\n .addComponent(dateChooserCombo1, javax.swing.GroupLayout.PREFERRED_SIZE, 178, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(jTextField4, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jTimeChooser1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 163, Short.MAX_VALUE)))\n .addGap(0, 32, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(49, 49, 49)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jLabel6)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jRadioButton1))\n .addGap(18, 18, 18)\n .addComponent(jRadioButton2)\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addComponent(dateChooserCombo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(48, 48, 48)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(34, 34, 34)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel8)\n .addComponent(jTimeChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGap(48, 48, 48)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(jLabel9)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(41, Short.MAX_VALUE))\n );\n\n jPanel3.setBackground(new java.awt.Color(0, 204, 255));\n jPanel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2));\n\n btnsave.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnsave.setText(\"Save\");\n\n btnreset.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnreset.setText(\"Reset\");\n\n btnsearch.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnsearch.setText(\"Search\");\n\n btncancel.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btncancel.setText(\"Cancel\");\n btncancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btncancelActionPerformed(evt);\n }\n });\n\n btnbill.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnbill.setText(\"Bill\");\n btnbill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnbillActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\n jPanel3.setLayout(jPanel3Layout);\n jPanel3Layout.setHorizontalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGap(40, 40, 40)\n .addComponent(btnsave)\n .addGap(44, 44, 44)\n .addComponent(btnreset)\n .addGap(48, 48, 48)\n .addComponent(btnsearch)\n .addGap(51, 51, 51)\n .addComponent(btncancel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 40, Short.MAX_VALUE)\n .addComponent(btnbill, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(41, 41, 41))\n );\n jPanel3Layout.setVerticalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()\n .addContainerGap(41, Short.MAX_VALUE)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnsave, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnreset, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnsearch, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btncancel, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnbill, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(36, 36, 36))\n );\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(26, 26, 26)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(78, 78, 78)\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(44, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(35, 35, 35))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }","title":""},{"docid":"09b6aae260a012615cb70f46d46b1b31","score":"0.53227806","text":"public void startTimeDialog() {\n TimePickerDialog.OnTimeSetListener listener = new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker view, int selectedHour, int selectedMinute) {\n hour = selectedHour;\n minute = selectedMinute;\n String zone = \"\";\n\n if (hour > 12) {\n hour -= 12;\n zone = \"PM\";\n } else {\n zone = \"AM\";\n }\n\n txtStartTime.setText(new StringBuilder().append(pad(hour)).append(\":\").append(pad(minute)).append(\" \").append(zone));\n\n int time = (minute * 60 + hour * 60 * 60) * 1000;\n SimpleDateFormat format = new SimpleDateFormat(\"HH:mm:ss\");\n timeStart = format.format(time);\n\n }\n };\n\n TimePickerDialog tpDialog = new TimePickerDialog(this, listener, hour, minute, false);\n tpDialog.show();\n }","title":""},{"docid":"01a5a26b6921b57629242beb1d34a149","score":"0.5318911","text":"private void displayLocationSettingsDialog() {\n\t\tnew AlertDialog.Builder(this)\n\t\t.setTitle(getResources().getString(R.string.gps_dialog_title))\n\t\t.setMessage(getResources().getString(R.string.gps_dialog_text))\n\t\t.setPositiveButton(getResources().getString(R.string.yes_button_label), \n\t\t\tnew DialogInterface.OnClickListener() {\n\t public void onClick(DialogInterface dialog, int id) {\n\t \t startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS));\n\t }\n\t })\n\t .setNegativeButton(getResources().getString(R.string.no_button_label), \n\t \tnew DialogInterface.OnClickListener() {\n\t \t\tpublic void onClick(DialogInterface dialog, int id) {\n\t \t\t\tdialog.cancel();\n\t \t\t}\n\t })\n\t\t.show();\n\t}","title":""},{"docid":"15c6b736efa52328060460464379a729","score":"0.53168684","text":"public void run()\r\n { \r\n displayMeeting(true);\r\n }","title":""},{"docid":"25f6eb641ceaf0b53d8fc444e407442d","score":"0.5295795","text":"public ChooseTabletForm() {\n initComponents();\n }","title":""},{"docid":"9ce17530f889b0912a61346a7b4bafca","score":"0.5289617","text":"private void showTaskInfo(View view) {\n\n //displaying actual data\n TextView taskName = (TextView) view.findViewById(R.id.edit_task_name);\n taskName.setText(tInfo.displayName);\n\n TextView description = (TextView) view.findViewById(R.id.edit_task_description);\n description.setText(tInfo.description);\n\n //Set the date pickers\n setDate();\n\n //Begin actions to fill houses dropdown and members dropdown\n houseAction.viewYourHouses(uInfo);\n\n //create a list of items for the notifications spinner.\n setupNotificationSpinner(view);\n\n //Setup the tags available\n setUpTags();\n\n TextView cost =(TextView) view.findViewById(R.id.edit_task_associated_cost);\n cost.setText(Double.toString(tInfo.costAssociated));\n\n TextView penalty =(TextView) view.findViewById(R.id.edit_task_penalty);\n penalty.setText(Integer.toString(tInfo.difficultyScore));\n\n //Set the itemList\n setField();\n }","title":""},{"docid":"aab86b5cc34d877844c15a19eff921e5","score":"0.52797246","text":"public LoginForm() {\n initComponents();\n lbl_U.setVisible(false);\n lbl_P.setVisible(false);\n lbl_C.setVisible(false);\n currentDate();\n \n // show login form in center screen\n this.setLocationRelativeTo(null);\n }","title":""},{"docid":"16213c03e344df1fe474397992931d97","score":"0.5267924","text":"public FrmTimeLine() {\n initComponents();\n Conexao c = new Conexao();\n c.connect();\n \n \n \n }","title":""},{"docid":"1db5d7138b75b2cca28c091754364ec8","score":"0.52672774","text":"public void CallAttendance1704IT(){\n \n ta2.setVisible(true);\n if (ma.cmboClass.getSelectedItem().toString().equals(\"Lecture\")) {\n ta2.ClassLab.setText(\"Lecture\");\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\"Tutorial\")) {\n ta2.ClassLab.setText(\"Tutorial\");\n }\n\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\n\n case \"8.00am - 10.00am\":\n ta2.TimeLab.setText(\"8.00am - 10.00am\");\n break;\n case \"10.00am - 12.00pm\":\n ta2.TimeLab.setText(\"10.00am - 12.00pm\");\n break;\n case \"12.00pm - 2.00pm\":\n ta2.TimeLab.setText(\"12.00pm - 2.00pm\");\n break;\n case \"2.00pm - 4.00pm\":\n ta2.TimeLab.setText(\"2.00pm - 4.00pm\");\n break;\n }\n }","title":""},{"docid":"25d98a46c7b3c70a8d261bd3e2a6522e","score":"0.5259558","text":"public ManageVolunteers() {\n initComponents();\n this.setLocationRelativeTo(null);\n fetch();\n }","title":""},{"docid":"17466fd3198cc101279f4520dd34f965","score":"0.5256953","text":"public FareListForm() {\n \n initComponents();\n db.fillTable(table1, \"select * from BusRouteView\"); \n getContentPane().setBackground(new java.awt.Color(255,255,255));\n lbl2.setSize(100,80);\n Utility.setLabelImage(lbl2, new File(\"src/images/bus2.jpg\").getAbsolutePath());\n \n db.fillCombo(cmbstart, \"select Distinct RouteFrom from RouteInfo\", \"RouteFrom\", \"RouteFrom\");\n db.fillCombo(cmbend, \"select Distinct RouteTo from RouteInfo\", \"RouteTo\", \"RouteTo\");\n }","title":""},{"docid":"608123c2fd0acb1bd22793205cf91b0f","score":"0.5255929","text":"private void initialize() {\n\t\tinfos = new JPanel();\n\t\tinfos.setLayout(new GridLayout(4,2));\n\t\tinfo1 = new JLabel();\n\t\tinfo2 = new JLabel();\n\t\tinfo1_label = new JLabel();\n\t\tinfo2_label = new JLabel();\n\t\ttps_restant = new HourTextField(new HourFormat());\n\t\ttps_restant.addCaretListener(new CaretListener(){\n\t\t\tpublic void caretUpdate(CaretEvent arg0) {\n\t\t\t\tif(!tps_restant.getText().equals(\"\") && tps_restant.getText().matches(HourTextField.pattern)){\n\t\t\t\t\ttry {\n\t\t\t\t\t\ttps_restant.commitEdit();\n\t\t\t\t\t\tcurrentConcreteTask.setRemainingTime(getRemainingTimeForUpload());\n\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\tnew ExceptionManager(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\t// definition of tps_restant\n\t\t\n\t\t\n\t\ttps_restant_label = new JLabel();\n\t\ttps = new HourTextField(new HourFormat());\n\t\ttps.setEditable(false);\n\t\t\n\t\n\t\ttps_label = new JLabel();\n\n\t\tinfos.add(info1);\n\t\tinfos.add(info1_label);\n\t\tinfos.add(info2);\n\t\tinfos.add(info2_label);\n\t\tinfos.add(tps_restant_label);\n\t\tinfos.add(tps_restant);\n\t\tinfos.add(tps_label);\n\t\tinfos.add(tps);\t\t\n\t\t\n\t\tthis.setLayout(new BorderLayout());\n\t\tthis.add(getTasks(),BorderLayout.CENTER);\n\t\ttasks.setExpanded(false);\n\t\tmodify.setVisible(false);\n\t\tinfos.setVisible(false);\n\t}","title":""},{"docid":"f97073b80750970a8339e7b62884f19c","score":"0.5251018","text":"private void setUpViews(){\n meetingName = findViewById(R.id.create_meeting_name);\n location = findViewById(R.id.create_meeting_location);\n date = findViewById(R.id.create_meeting_date);\n meetingDescription = findViewById(R.id.create_meeting_description);\n agenda = findViewById(R.id.create_meeting_agenda);\n createMeeting = findViewById(R.id.create_meeting_button);\n attendeeEmail = findViewById(R.id.create_meeting_collaborator_email);\n addAttendeeFab = findViewById(R.id.create_meeting_add_collaborator_fab);\n\n }","title":""},{"docid":"02e0aa0b3b9750aedfcbfb7edef99c81","score":"0.5249858","text":"public void CallAttendance1701IT(){\n \n ta1.setVisible(true);\n if (ma.cmboClass.getSelectedItem().toString().equals(\"Lecture\")) {\n ta1.ClassLab.setText(\"Lecture\");\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\"Tutorial\")) {\n ta1.ClassLab.setText(\"Tutorial\");\n }\n\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\n\n case \"8.00am - 10.00am\":\n ta1.TimeLab.setText(\"8.00am - 10.00am\");\n break;\n case \"10.00am - 12.00pm\":\n ta1.TimeLab.setText(\"10.00am - 12.00pm\");\n break;\n case \"12.00pm - 2.00pm\":\n ta1.TimeLab.setText(\"12.00pm - 2.00pm\");\n break;\n case \"2.00pm - 4.00pm\":\n ta1.TimeLab.setText(\"2.00pm - 4.00pm\");\n break;\n }\n }","title":""},{"docid":"705008291a2639afe0a162e462f10ec5","score":"0.52483","text":"public void doTimePicker(View view)\n {\n DialogFragment newFragment = new TimePickerFragment();\n newFragment.show(getSupportFragmentManager(), \"timePicker\");\n }","title":""},{"docid":"441f27bf783bb7ceeb85ee189f788147","score":"0.52261806","text":"private void initialize() {\n\n\t\tframeWorldClock = new JFrame();\n\t\tframeWorldClock.setBounds(100, 100, 450, 300);\n\t\tframeWorldClock.setIconImage(Toolkit.getDefaultToolkit()\n\t\t\t\t.getImage(WorldClock.class.getResource(\"/mevenk/image/mevenkGitHubLogo.png\")));\n\t\tframeWorldClock.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframeWorldClock.setAlwaysOnTop(true);\n\t\tframeWorldClock.setType(Type.UTILITY);\n\t\tframeWorldClock.setTitle(runningClockDisplayPanelLocalTimeZone.getTimeZoneBean().timeZoneTitle());\n\t\tframeWorldClock.setResizable(false);\n\t\tframeWorldClock.setLayout(new GridBagLayout());\n\t\tframeWorldClock.setSize(250, 100);\n\t\tDimension screenDimension = Toolkit.getDefaultToolkit().getScreenSize();\n\t\tframeWorldClock.setLocation(screenDimension.width - frameWorldClock.getSize().width - 50,\n\t\t\t\tscreenDimension.height / 5 - frameWorldClock.getSize().height / 2);\n\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setText(\"Always On Top\");\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setSelected(frameWorldClock.isAlwaysOnTop());\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setHorizontalAlignment(ALIGNMENT_CENTER);\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tframeWorldClock.setAlwaysOnTop(CHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.isSelected());\n\n\t\t\t}\n\t\t});\n\n\t\tbuttonAddTime = new JButton(\"ADD\");\n\t\tbuttonAddTime.setHorizontalAlignment(ALIGNMENT_CENTER);\n\t\tbuttonAddTime.setAlignmentX(JButton.RIGHT_ALIGNMENT);\n\t\tbuttonAddTime.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t\tif (timeZoneCounter == MAX_TIME_ZONES) {\n\t\t\t\t\tJOptionPane.showMessageDialog(frameWorldClock, \"Max Limit Reached !!\", \"Add New Time\",\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tTimeZonesComboBox timeZonesComboBox = new TimeZonesComboBox();\n\n\t\t\t\tJOptionPane.showMessageDialog(frameWorldClock, timeZonesComboBox, \"Select TimeZone\",\n\t\t\t\t\t\tJOptionPane.QUESTION_MESSAGE);\n\n\t\t\t\tTimeZone selectedTimeZone = timeZonesComboBox.selectedTimeZone();\n\n\t\t\t\tif (selectedTimeZone == null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfinal RunningClockDisplayPanel runningClockDisplayPanel = new RunningClockDisplayPanel(\n\t\t\t\t\t\tselectedTimeZone);\n\n\t\t\t\tframeWorldClock.setSize(frameWorldClock.getWidth(),\n\t\t\t\t\t\tframeWorldClock.getHeight() + runningClockDisplayPanel.getHeight());\n\n\t\t\t\tgridBagConstraintsFrameWorldClock.gridy = gridBagConstraintsFrameWorldClock.gridy + 1;\n\t\t\t\tframeWorldClock.getContentPane().add(runningClockDisplayPanel, gridBagConstraintsFrameWorldClock);\n\n\t\t\t\ttimeZoneCounter++;\n\t\t\t}\n\t\t});\n\n\t\tpanelControlPanel = new JPanel(new GridBagLayout());\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\n\t\tgridBagConstraints.fill = GridBagConstraints.LINE_START;\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.gridy = 0;\n\n\t\tpanelControlPanel.setPreferredSize(new Dimension(frameWorldClock.getWidth() - 5, 60));\n\t\tpanelControlPanel.setMaximumSize(new Dimension(frameWorldClock.getWidth() - 5, 60));\n\t\tpanelControlPanel.add(CHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP, gridBagConstraints);\n\n\t\tgridBagConstraints.fill = GridBagConstraints.LINE_END;\n\t\tgridBagConstraints.gridx = 1;\n\t\tpanelControlPanel.add(buttonAddTime, gridBagConstraints);\n\n\t\tframeWorldClock.getContentPane().add(panelControlPanel, gridBagConstraintsFrameWorldClock);\n\n\t\tgridBagConstraintsFrameWorldClock.gridy = 1;\n\t\tframeWorldClock.getContentPane().add(runningClockDisplayPanelLocalTimeZone, gridBagConstraintsFrameWorldClock);\n\n\t}","title":""},{"docid":"94f685f6b219484d5fd91c26f3697935","score":"0.52224565","text":"public ObstetricsOfficeVisitForm() {\n this(null);\n }","title":""},{"docid":"07476c46f30670561b858b5cf4b93d40","score":"0.5210872","text":"public Home() {\n initComponents();\n hdate.setText(date.format(cal.getTime())); \n htime.setText(time.format(cal.getTime()));\n }","title":""},{"docid":"8db381b5158388f602784701d34796b9","score":"0.52078027","text":"public void enterShowTimezLocation(String... strings)\n {\n String location = strings[1];\n ExtentTestManager.getTest().log(LogStatus.INFO, \" \" + strings[0] + \":: Enter ShowTimes Location as \" + \"\\\"\" + location +\"\\\" \" );\n try\n {\n genericfunctions.waitForPageToLoad(postwithhashtagobjects.showtimez_location);\n postwithhashtagobjects.showtimez_location.clear();\n\n postwithhashtagobjects.showtimez_location.sendKeys(location);\n }\n catch (Throwable e)\n {\n Assert.fail(\"Could not able to enter ShowTimes Location\" + \" &\"+e.getMessage()+ \"\");\n }\n }","title":""},{"docid":"ea24b8023769a6f612ca3dbb4f0f039a","score":"0.5198944","text":"public HousingLoan() {\n initComponents();\n this.setLocationRelativeTo(null);\n loaduserDetails();\n }","title":""},{"docid":"28f0632c7a5a06c7b16f16dcf7bac881","score":"0.5192493","text":"public void showSettingsForm() {\n this.jpSettings.loadPastevidSettings();\n this.setVisible(true);\n }","title":""},{"docid":"9d88020b3a77f65a3a331208c8065ead","score":"0.51896316","text":"private void setInquiryPanel()\n {\n Label titleLabel = new Label(\"Property Inquiry Form (Finish this form to confirm your booking)\");\n titleLabel.setId(\"titleLabel\");\n \n GridPane formPane = new GridPane();\n formPane.setHgap(20);\n formPane.setVgap(40);\n formPane.setId(\"formpane\");\n \n \n Label zero = new Label(\"Your Name:\");\n Label first = new Label(\"Phone Number:\");\n Label second = new Label(\"email address:\");\n Label third = new Label(\"Property Name:\");\n Label fourth = new Label(\"Property ID:\");\n Label fifth = new Label(\"Date of checking in:\");\n Label sixth = new Label(\"Date of checking out:\");\n formPane.add(zero, 0, 0);\n formPane.add(first, 0, 1);\n formPane.add(second, 0, 2);\n formPane.add(third, 0, 3);\n formPane.add(fourth, 0, 4);\n formPane.add(fifth, 0, 5);\n formPane.add(sixth, 0, 6);\n \n TextField zeroTF = new TextField();\n zeroTF.setPromptText(\"Enter your full name\");\n formPane.add(setValidityNameLabel(zeroTF), 2, 0);\n \n TextField firstTF = new TextField();\n formPane.add(setValidityNumberLabel(firstTF), 2, 1);\n \n TextField secondTF = new TextField();\n \n TextField thirdTF = new TextField();\n thirdTF.setMinWidth(400);\n thirdTF.setPromptText(\"Enter the name of the property that you want to book\");\n formPane.add(setValidityNameLabel(thirdTF), 2, 3);\n \n TextField fourthTF = new TextField();\n fourthTF.setPromptText(\"Enter the id of the property that you want to book\");\n formPane.add(setValidityNumberLabel(fourthTF), 2, 4);\n \n TextField fifthTF = new TextField();\n fifthTF.setPromptText(\"DD/MM/YYYY\");\n formPane.add(setValidityDateLabel(fifthTF), 2, 5);\n \n TextField sixthTF = new TextField();\n sixthTF.setPromptText(\"DD/MM/YYYY\");\n formPane.add(setValidityDateLabel(sixthTF), 2, 6);\n \n textFields.add(zeroTF);\n textFields.add(firstTF);\n textFields.add(secondTF);\n textFields.add(thirdTF);\n textFields.add(fourthTF);\n textFields.add(fifthTF);\n textFields.add(sixthTF);\n \n \n Button submitButton = new Button(\"submit\");\n submitButton.setOnAction(this::submitButtonClick);\n Button listProperty = new Button(\"Get your property listed!\");\n listProperty.setOnAction(this::listPropertyButtonClick);\n formPane.add(zeroTF, 1, 0);\n formPane.add(firstTF, 1, 1);\n formPane.add(secondTF, 1, 2);\n formPane.add(thirdTF, 1, 3);\n formPane.add(fourthTF, 1, 4);\n formPane.add(fifthTF, 1, 5);\n formPane.add(sixthTF, 1, 6);\n formPane.add(submitButton, 1, 7);\n formPane.add(listProperty, 3, 7);\n \n root.setTop(titleLabel);\n root.setCenter(formPane);\n currentPanel = 1;\n }","title":""},{"docid":"cdc8330a57eec99b0ebfddb92db3787a","score":"0.51875854","text":"private void showCalendar() {\n new DatePickerDialog(ReviewSelectScheduleProgramScreen.this, date, calendar\n .get(Calendar.YEAR), calendar.get(Calendar.MONTH),\n calendar.get(Calendar.DAY_OF_MONTH)).show();\n }","title":""},{"docid":"62c61215495979d9e0d8393bbe265737","score":"0.51860625","text":"public void setTimeScreen() {\r\n \r\n nifty.gotoScreen(\"timeisup\");\r\n }","title":""},{"docid":"8a2c62fef4fef95d224a3cd9f6b46181","score":"0.51794165","text":"AddAppointment(){\r\n }","title":""},{"docid":"602acb839ceb3c1b91630a10b5c99848","score":"0.5177055","text":"public void showTimePickerDialog2(View view) {\n DialogFragment newFragment = TimePickerFragment.newInstance(MCTQ_B2_A2_ID, btf);\n newFragment.show(getFragmentManager(), \"timePicker2\");\n }","title":""},{"docid":"1d48929745660283541321cdfa497e4a","score":"0.51760596","text":"public EventForm() {\n initComponents();\n }","title":""},{"docid":"3c36b043ab3693fd0e0e2b384909c3ea","score":"0.5175121","text":"public FormPrincipal() {\r\n initComponents();\r\n \r\n this.setLocationRelativeTo(null);\r\n \r\n }","title":""},{"docid":"dc6d2ec3d3b818ffd55ef694cfdb09b2","score":"0.5170784","text":"public void middlePanel(){\n\t\tArrayList myMeetups = new ArrayList();\n\t\teProduceDatabase.getMyMeetups(currentUser.getEmail(),myMeetups); //get the current user's meetups and put them in myMeetups ArrayList\n\t\t\n\t\tJTextField[][] meetups = new JTextField[myMeetups.size()][6];\n\t\tString[][] meetupData = new String[myMeetups.size()][6];\n\t\tfor(int i = 0; i < meetups.length; i++){\n\t\t\tmeetups[i][0] = new JTextField(\"Meetup Number \"+i);\n\t\t\tmeetups[i][1] = new JTextField(\"Meetup Date \" + i);\n\t\t\tmeetups[i][2] = new JTextField(\"Meetup Time \" + i);\n\t\t\tmeetups[i][3] = new JTextField(\"Meetup Location \" + i);\n\t\t\tmeetups[i][4] = new JTextField(\"Meetup Participants \" + i);\n\t\t\tmeetups[i][5] = new JTextField(\"Meetup Owner \" + i);\n\t\t}\n\t\t\n\t\tJPanel leftSide = new JPanel();\n\t\tJPanel meetup = new JPanel();\n\t\t\n\t\tfor(int i = 0; i < myMeetups.size(); i++)\n\t\t{\n\t\t\tMeetup currMeetup = myMeetups.get(i);\n\t\t\tif(currMeetup != null)\n\t\t\t{\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"hh:mm aa\");\n\t\t\t\tmeetupData[i][0] = currMeetup.getMeetupNum();\n\t\t\t\tmeetupData[i][1] = currMeetup.getDate().toString();\n\t\t\t\tmeetupData[i][2] = sdf.format(currMeetup.getTime()); //convert the time to a more readable format\n\t\t\t\tmeetupData[i][3] = currMeetup.getLocation().toString();\n\t\t\t\tmeetupData[i][4] = currMeetup.getParticipants().get(0).getEmail() + \", \" + currMeetup.getParticipants().get(1).getEmail();\n\t\t\t\tmeetupData[i][5] = currMeetup.getOwner();\n\t\t\t\tSystem.out.println(currMeetup.getOwner().toString());\n\t\t\t}\n\t\t}\n\t\t\n\t\tmeetup.setLayout(new BoxLayout(meetup, BoxLayout.Y_AXIS));\n\t\tJTable table = new JTable(meetupData, new String[] {\"Meeting #\", \"Date\", \"Time\", \"Location\"});\n\t\t\n\t\ttable.setBackground(frame.getBackground()); //sets background color of each cell to the frame's background.\n\t\ttable.setShowVerticalLines(false); //doesn't show vertical gridlines\n\t\ttable.setGridColor(Color.black); //changes the gridline's colors to black\n\t\ttable.setIntercellSpacing(new Dimension(0, 0));\n\t\ttable.setFont(new Font(\"Serif\", Font.PLAIN, 24)); //changes font to be larger\n\t\ttable.setBorder(new MatteBorder(1, 1, 1, 1, Color.black)); //Gives a black border around the table\n\t\ttable.setRowHeight(30); //number of rows to have in the table.\n\t\ttable.setDefaultEditor(Object.class, null); //disables \"double-click to edit\" functionality\n\t\t\n\t\t\n\t\t\n\t\ttable.getSelectionModel().addListSelectionListener(new ListSelectionListener() {\n\t\t\tpublic void valueChanged(ListSelectionEvent event) {\n\t\t\t\tJPanel meetingPanel = new JPanel();\n\t\t\t\tJLabel participantsLabel = new JLabel();\n\t\t\t\tJLabel whenLabel = new JLabel();\n\t\t\t\tJLabel timeLabel = new JLabel();\n\t\t\t\tJLabel locationLabel = new JLabel();\n\t\t\t\tJLabel meetupNumLabel = new JLabel();\n\t\t\t\tJLabel meetupNumLabel2 = new JLabel();\n\t\t\t\tJTextField whenTF = new JTextField(10);\n\t\t\t\tJPanel metPanel = new JPanel();\n\t\t\t\tJLabel participantslbl = new JLabel();\n\t\t\t\tJLabel whenlbl = new JLabel();\n\t\t\t\tJLabel timelbl = new JLabel();\n\t\t\t\tJLabel loclbl = new JLabel();\n\t\t\t\tJTextField participantstxt = new JTextField(10);\n\t\t\t\tJTextField loctxt = new JTextField(10);\n\t\t\t\tSpinnerDateModel model2 = new SpinnerDateModel();\n\t\t\t\tmodel2.setCalendarField(Calendar.MINUTE);\n\t\t\t\tJSpinner spinner= new JSpinner();\n\t\t\t\tspinner.setModel(model2);\n\t\t\t\tspinner.setEditor(new JSpinner.DateEditor(spinner, \"hh:mm a\"));\n\t\t\t\tDate date = myMeetups.get(table.getSelectedRow()).getTime();\n\t\t\t\tspinner.setValue(date);\n\t\t\t\t\n\t\t\t\tspinner.setSize(10,10);\n\t\t\t\tmeetingPanel.setLayout(new GridLayout(0,1));\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tparticipantsLabel.setText(\"Participants: \");\n\t\t\t\twhenLabel.setText(\"When: \");\n\t\t\t\ttimeLabel.setText(\"Time\");\n\t\t\t\tlocationLabel.setText(\"Location:\");\n\t\t\t\tparticipantslbl.setText(\"Participants: \");\n\t\t\t\twhenlbl.setText(\"When: \");\n\t\t\t\ttimelbl.setText(\"Time\");\n\t\t\t\tloclbl.setText(\"Location:\");\n\t\t\t\tmeetupNumLabel.setText(\"Meetup #: \");\n\t\t\t\tmeetupNumLabel2.setText(myMeetups.get(table.getSelectedRow()).getMeetupNum());\n\t\t\t\tString partString = \"\";\n\t\t\t\tfor(int i = 0; i < myMeetups.get(table.getSelectedRow()).getParticipants().size(); i++)\n\t\t\t\t{\n\t\t\t\t\tpartString += myMeetups.get(table.getSelectedRow()).getParticipants().get(i).getEmail();\n\t\t\t\t\tif(i != myMeetups.get(table.getSelectedRow()).getParticipants().size() - 1)\n\t\t\t\t\t\tpartString += \", \";\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tparticipantstxt.setText(partString);\n\t\t\t\tloctxt.setText(myMeetups.get(table.getSelectedRow()).getLocation());\n\t\t\t\tUtilDateModel model = new UtilDateModel(myMeetups.get(table.getSelectedRow()).getDate());\n\t\t\t\tJDatePanelImpl datePanel = new JDatePanelImpl(model);\n\t\t\t\tJDatePickerImpl datePicker = new JDatePickerImpl(datePanel);\n\t\t\t\t\n\t\t\t\tmeetingPanel.add(meetupNumLabel);\n\t\t\t\tmeetingPanel.add(meetupNumLabel2);\n\t\t\t\tmeetingPanel.add(participantsLabel);\n\t\t\t\tmeetingPanel.add(participantstxt);\n\t\t\t\tmeetingPanel.add(whenLabel);\n\t\t\t\tmeetingPanel.add(datePicker);\n\t\t\t\tmeetingPanel.add(timeLabel);\n\t\t\t\tmeetingPanel.add(spinner);\n\t\t\t\tmeetingPanel.add(locationLabel);\n\t\t\t\tmeetingPanel.add(loctxt);\n\t\t\t\t\n\t\t\t\n\t\t\t\tString[] options = new String[] {\"Save Changes\", \"Delete Meeting\", \"Cancel\"}; //options to be displayed as buttons in the dialog\n\t\t\t\tint result = JOptionPane.showOptionDialog(null, meetingPanel, \"Edit Meeting Info\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE, null, options, null);\n\t\t\t\tif(result == JOptionPane.YES_OPTION) //save changes button clicked\n\t\t\t\t{\n\t\t\t\t\tif(!(participantstxt.getText().equals(\"\")) && !(datePicker.getModel().getValue().toString().equals(\"\")) && !loctxt.getText().equals(\"\") )\t\n\t\t\t\t\t{\n\t\t\t\t\t\tjava.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\t\t\t\t\tString foo = sdf.format(new Date(model.getYear()-1900, model.getMonth(), model.getDay(), model2.getDate().getHours(), model2.getDate().getMinutes()));\n\t\t\t\t\t\tSystem.out.println(foo);\n\t\t\t\t\t\tboolean ret = eProduceDatabase.editMeetup(meetupNumLabel2.getText(),participantstxt.getText(),loctxt.getText(), model, model2);\n\t\t\t\t\t\tif(ret)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(frame, \"Meetup has been successfully edited!\");\n\t\t\t\t\t\t\tframe.dispose();\n\t\t\t\t\t\t\tMyMeetingsView mmv = new MyMeetingsView(currentUser);\n\t\t\t\t\t\t\tframe = mmv.frame;\n\t\t\t\t\t\t\tframe.setVisible(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tString emptyFieldMsg = \"Unable to edit meeting. The following fields are empty: \\n\";\n\t\t\t\t\t\tif(participantstxt.getText().equals(\"\")) emptyFieldMsg += \" Participants\\n\";\n\t\t\t\t\t\tif(datePicker.getModel().getValue().toString().equals(\"\")) emptyFieldMsg += \" When\\n\";\n\t\t\t\t\t\tif(loctxt.getText().equals(\"\")) emptyFieldMsg += \" Location\\n\";\n\t\t\t\t\t\tif(participantstxt.getText().equals(\"\")) emptyFieldMsg += \" Participants\\n\";\n\t\t\t\t\t\tif(datePicker.getModel().getValue().toString().equals(\"\")) emptyFieldMsg += \" When\\n\";\n\t\t\t\t\t\tif(loctxt.getText().equals(\"\")) emptyFieldMsg += \" Location\\n\";\n\t\t\t\t\t\tJOptionPane.showMessageDialog(frame, emptyFieldMsg);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(result == JOptionPane.NO_OPTION) //delete button clicked\n\t\t\t\t{\n\t\t\t\t\teProduceDatabase.deleteMeetup(myMeetups.get(table.getSelectedRow()).getMeetupNum());\n\t\t\t\t\tJOptionPane.showMessageDialog(frame, \"Meetup has been successfully deleted!\");\n\t\t\t\t\tframe.dispose();\n\t\t\t\t\tMyMeetingsView mmv = new MyMeetingsView(currentUser);\n\t\t\t\t\tframe = mmv.frame;\n\t\t\t\t\tframe.setVisible(true);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tfor(int i = 0; i < table.getColumnCount(); i++){ //this sets the JTable's text to be centered\n\t\t\tDefaultTableCellRenderer center = new DefaultTableCellRenderer();\n\t\t\tcenter.setHorizontalAlignment(SwingConstants.CENTER);\n\t\t\tTableColumn column = table.getColumnModel().getColumn(i);\n\t\t\tcolumn.setCellRenderer(center);\n\t\t\t\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tcolumn.setMinWidth(75);\n\t\t\t\tcolumn.setPreferredWidth(75);\n\t\t\t\tcolumn.setMaxWidth(100);\n\t\t\t}\n\t\t\tif(i == 1)\n\t\t\t{\n\t\t\t\tcolumn.setMinWidth(75);\n\t\t\t\tcolumn.setPreferredWidth(150);\n\t\t\t\tcolumn.setMaxWidth(200);\n\t\t\t}\n\t\t\telse if(i == 2)\n\t\t\t{\n\t\t\t\tcolumn.setMinWidth(100);\n\t\t\t\tcolumn.setPreferredWidth(150);\n\t\t\t\tcolumn.setMaxWidth(250);\n\t\t\t}\n\t\t}\n\t\tmeetup.add(new JScrollPane(table));\n\t\t\n\t\t\n\t\tleftSide.setLayout(new FlowLayout(FlowLayout.LEFT));\n\t\tmiddlePanel.setLayout(new BorderLayout());\n\t\tmiddlePanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));\n\n\t\tmiddlePanel.add(meetup);\n\t\t\n\t\tmiddlePanel.add(leftSide,BorderLayout.NORTH);\n\t}","title":""},{"docid":"827e588e6f4cd0bae71fe0c3cb5140c8","score":"0.5166856","text":"public alewis91_Assignment3_mainForm() {\n initComponents();\n Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();\n int x = (int) ((screen.getWidth() - getWidth()) /2);\n int y = (int) ((screen.getHeight() -getHeight()) /2);\n setLocation(x, y);\n this.setTitle(\"Encrytion Software - alewis91-Assignment3\");\n }","title":""},{"docid":"91922c428932ec8e832b3e2fe1997424","score":"0.516429","text":"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_hourly, container, false);\n\n ppoint = (EditText)v.findViewById(R.id.pickup);\n pdate = (EditText)v.findViewById(R.id.p_date);\n ptime = (EditText)v.findViewById(R.id.p_time);\n search = (Button)v.findViewById(R.id.search);\n\n pdate.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n showDatePicker();\n }\n });\n\n ptime.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n showTimePicker();\n }\n });\n\n search.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String d,t, pl;\n d = pdate.getText().toString();\n t = ptime.getText().toString();\n pl = ppoint.getText().toString();\n if(!d.isEmpty() || !t.isEmpty() || !pl.isEmpty() ) {\n Intent i = new Intent(getContext(), VehiclesActivity.class);\n i.putExtra(\"pickup_location\", pl);\n i.putExtra(\"date\", d);\n i.putExtra(\"time\", t);\n startActivity(i);\n pdate.setText(\"\");\n ptime.setText(\"\");\n ppoint.setText(\"\");\n }\n else\n {\n Toast.makeText(getContext(), \"Please Select All Fields\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n\n return v;\n }","title":""},{"docid":"6a3402e9a3d80f59f386cbee0ba47299","score":"0.51626873","text":"public UserMainForm() {\n initComponents();\n setLocationRelativeTo(null);\n }","title":""},{"docid":"31bc4a09dc92de9a1f6b5ad3d63a1c4f","score":"0.5161832","text":"public void setMeetupTime(LocalTime meetupTime) {\n this.meetupTime = meetupTime;\n }","title":""},{"docid":"5aa49f1dbd43baeb4f13cab8c95e498a","score":"0.51597357","text":"private void topPanelEntryOrExitOrView() {\r\n\r\n JLabel label1 = new JLabel(\"Enter the license plate number of the car \");\r\n label1.setFont(font);\r\n JLabel label2 = new JLabel(\"Enter the current time as HH:MM (24-hour clock):\");\r\n label2.setFont(font);\r\n JLabel label3 = new JLabel(\"Enter today's date as MM-DD-YYYY:\");\r\n label3.setFont(font);\r\n\r\n fieldCarLicense = new JTextField(5);\r\n fieldCarTime = new JTextField(5);\r\n fieldCarDate = new JTextField(5);\r\n\r\n topPanel.add(label1);\r\n topPanel.add(fieldCarLicense);\r\n topPanel.add(label2);\r\n topPanel.add(fieldCarTime);\r\n topPanel.add(label3);\r\n topPanel.add(fieldCarDate);\r\n }","title":""},{"docid":"6ff2d96315866463dbfd039adb100afc","score":"0.5159673","text":"public CreateEventView(EventModel model) {\n final JFrame frame = new JFrame();\n\n Calendar cal = model.getCal();\n\n SimpleDateFormat currentTime = new SimpleDateFormat(\"hh:mmaa\");\n Calendar formatEnd = new GregorianCalendar();\n formatEnd.setTime(cal.getTime());\n formatEnd.add(Calendar.MINUTE, 30);\n\n currentTime.format(cal.getTime());\n\n final JTextField descField = new JTextField(\"Description here\");\n final JTextField dateField = new JTextField(\n (cal.get(Calendar.MONTH) + 1) + \"/\" + cal.get(Calendar.DAY_OF_MONTH) + \"/\" + cal.get(Calendar.YEAR));\n final JTextField startField = new JTextField(currentTime.format(cal.getTime()));\n final JTextField endField = new JTextField(currentTime.format(formatEnd.getTime()));\n JButton saveButton = new JButton(\"Save\");\n JButton cancelButton = new JButton(\"Cancel\");\n\n cancelButton.addActionListener(new ActionListener() {\n\n @Override\n public void actionPerformed(ActionEvent e) {\n frame.dispose();\n }\n });\n\n // CONTROLLER gets the from the fields and updates the model with a new\n // Event.\n saveButton.addActionListener(new ActionListener() {\n\n @Override\n public void actionPerformed(ActionEvent e) {\n String name = descField.getText();\n String date = dateField.getText();\n String start = startField.getText();\n String end = endField.getText();\n ArrayList events = model.getEvents();\n\n SimpleDateFormat sf = new SimpleDateFormat(\"MM/dd/yyyyhh:mmaa\");\n\n Date startDate = null;\n try {\n startDate = sf.parse(date + start);\n } catch (ParseException ex) {\n Logger.getLogger(CreateEventView.class.getName()).log(Level.SEVERE, null, ex);\n }\n Date endDate = null;\n try {\n endDate = sf.parse(date + end);\n } catch (ParseException ex) {\n Logger.getLogger(CreateEventView.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n\n Calendar startCal = new GregorianCalendar();\n startCal.setTime(startDate);\n Calendar endCal = new GregorianCalendar();\n endCal.setTime(endDate);\n\n Event newEvent = new Event(name, (GregorianCalendar) startCal, (GregorianCalendar) endCal);\n\n boolean isConflicting = false;\n\n if (newEvent.end.before(newEvent.start) || newEvent.start.equals(newEvent.end)) {\n JOptionPane.showMessageDialog(frame, \"Sorry user, but the End can't come before start!\", \"Time Conflict\",\n JOptionPane.WARNING_MESSAGE);\n isConflicting = true;\n }\n for (Event event : model.getEvents()) { // Display error message\n if (event.compareTo(newEvent) == 0) {\n JOptionPane.showMessageDialog(frame, \"Sorry but the Times can't overlap!\", \"Time Conflict\",\n JOptionPane.WARNING_MESSAGE);\n\n isConflicting = true;\n break;\n }\n }\n\n if (!isConflicting) {\n model.add_event(newEvent);\n\n }\n\n isConflicting = false;\n\n ArrayList events_list = new ArrayList();\n\n for (int i = 0; i < events.size(); i++) {\n events_list.add(events.get(i));\n }\n for(int i=0;i//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n weight = new javax.swing.JTextField();\n jLabel9 = new javax.swing.JLabel();\n patientid = new javax.swing.JTextField();\n height = new javax.swing.JTextField();\n bp = new javax.swing.JTextField();\n jLabel10 = new javax.swing.JLabel();\n jLabel11 = new javax.swing.JLabel();\n jLabel12 = new javax.swing.JLabel();\n jLabel13 = new javax.swing.JLabel();\n jLabel14 = new javax.swing.JLabel();\n cholesterol = new javax.swing.JTextField();\n visit = new javax.swing.JTextField();\n diag = new javax.swing.JTextField();\n doctornote = new javax.swing.JTextField();\n labnote = new javax.swing.JTextField();\n create = new javax.swing.JButton();\n clear = new javax.swing.JButton();\n exit = new javax.swing.JButton();\n date = new com.toedter.calendar.JDateChooser();\n listDoctor = new javax.swing.JComboBox();\n location = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Lucida Grande\", 0, 15)); // NOI18N\n jLabel1.setText(\"Create Records\");\n\n jLabel3.setText(\"Service Date\");\n\n jLabel4.setText(\"Patient ID\");\n\n jLabel5.setText(\"Doctor\");\n\n jLabel6.setText(\"Location\");\n\n jLabel7.setText(\"Height\");\n\n jLabel8.setText(\"Weight\");\n\n jLabel9.setText(\"Blood Pressure\");\n\n jLabel10.setText(\"Cholesterol\");\n\n jLabel11.setText(\"Reason For Visit\");\n\n jLabel12.setText(\"Doctor Diagnosis\");\n\n jLabel13.setText(\"Doctor's Notes\");\n\n jLabel14.setText(\"Lab Notes\");\n\n create.setText(\"Create\");\n create.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n createActionPerformed(evt);\n }\n });\n\n clear.setText(\"Clear\");\n clear.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n clearActionPerformed(evt);\n }\n });\n\n exit.setText(\"Exit\");\n exit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n exitActionPerformed(evt);\n }\n });\n\n listDoctor.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n listDoctorItemStateChanged(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3)\n .addComponent(jLabel8)\n .addComponent(jLabel10)\n .addComponent(jLabel12)\n .addComponent(jLabel4)\n .addComponent(jLabel7))\n .addGap(46, 46, 46)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(weight)\n .addComponent(cholesterol)\n .addComponent(diag, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(date, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(height, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(62, 62, 62)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6)\n .addComponent(jLabel5)\n .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel11)\n .addComponent(jLabel13)\n .addComponent(jLabel14))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(doctornote)\n .addComponent(visit, javax.swing.GroupLayout.PREFERRED_SIZE, 222, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(labnote)\n .addComponent(bp, javax.swing.GroupLayout.DEFAULT_SIZE, 224, Short.MAX_VALUE)\n .addComponent(listDoctor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addContainerGap(14, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGap(247, 247, 247)\n .addComponent(create)\n .addGap(27, 27, 27)\n .addComponent(clear)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGap(272, 272, 272)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(131, 131, 131)\n .addComponent(exit, javax.swing.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE)\n .addGap(14, 14, 14))\n .addGroup(layout.createSequentialGroup()\n .addGap(424, 424, 424)\n .addComponent(location, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap(211, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(exit))\n .addGap(14, 14, 14)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(listDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addComponent(jLabel3))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(location, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(63, 63, 63)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(date, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel9)\n .addComponent(bp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(height, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8)\n .addComponent(weight, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel11)\n .addComponent(visit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel10)\n .addComponent(cholesterol, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel13)\n .addComponent(doctornote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel12)\n .addComponent(diag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(labnote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel14))\n .addGap(85, 85, 85)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(create)\n .addComponent(clear))))\n .addContainerGap(41, Short.MAX_VALUE))\n );\n\n pack();\n }","title":""},{"docid":"eaf1f561f915a99d99d58c971bcb9d5f","score":"0.51413727","text":"private void displayResourcesTechnologyConsultation() {\n\t\t// cblupo, I changed Go back to '1' because I used 1 in earlier method\n\t\tsop(\"(1) Go back\\n\"+\n\t\t\t\"(2) Schedule new appointment\\n\"+\n\t\t\t\"(3) View past appointments\"\n\t\t);\n\t\tint res = console.nextInt();\n\t\t\n\t\tswitch(res){\n\t\t\tcase 1:{\n\t\t\t\tdisplayHomepage();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 2:{\n\t\t\t\t//schedule new appointment\n\t\t\t\tString location;\n\t\t\t\tString date1, date2, date3;\n\t\t\t\tString topic;\n\t\t\t\tsop(\"enter desired library (Hunt OR Hill)\");\n\t\t\t\tlocation = console.next();\n\t\t\t\tsop(\"enter first desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\"+\n\t\t\t\t\t\"example '2003-05-03,21:02:44'\");\n\t\t\t\tdate1 = console.next();\n\t\t\t\tsop(\"enter second desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\"+\n\t\t\t\t\t\"example '2003-05-03,21:02:44'\");\n\t\t\t\tdate2 = console.next();\n\t\t\t\tsop(\"enter third desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\"+\n\t\t\t\t\t\"example '2003-05-03,21:02:44'\");\n\t\t\t\tdate3 = console.next();\n\t\t\t\tsop(\"enter the amnout of time you will need help (in hours)\");\n\t\t\t\tint duration = console.nextInt();\n\t\t\t\tduration = 1; //because default\n\t\t\t\tsop(\"enter the topic you need help with\");\n\t\t\t\ttopic = console.next();\n\t\t\t\tTimestamp d1s = strToTs(date1);\n\t\t\t\tTimestamp d1e = addHours(d1s, duration);\n\t\t\t\tTimestamp d2s = strToTs(date2);\n\t\t\t\tTimestamp d2e = addHours(d2s, duration);\n\t\t\t\tTimestamp d3s = strToTs(date3);\n\t\t\t\tTimestamp d3e = addHours(d3s, duration);\n\t\t\t\tdb.requestTechnologyConsultation(currentID, location, d1s, d1e, d2s, d2e, d3s, d3e, topic);\n\t\t\t\tdisplayHomepage();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 3:{\n\t\t\t\t//view past appointments\n\t\t\t\tsop(db.displayTechnologyConsultations(currentID));\n\t\t\t\tsop(\"Enter the consultation ID to leave feedback for that consultation\");\n\t\t\t\tsop(\"Enter 0 to go back\");\n\t\t\t\tString resp = console.next();\n\t\t\t\tif(resp.equals(\"0\")){\n\t\t\t\t\tdisplayHomepage();\n\t\t\t\t} else {\n\t\t\t\t\tsop(\"Enter feedback for consultation \" + resp);\n\t\t\t\t\tString feedback = console.next();\n\t\t\t\t\tif(db.addTechnologyConsultationFeedback(resp, feedback)){\n\t\t\t\t\t\tsop(\"Thanks for the feedback!\");\n\t\t\t\t\t\tdisplayHomepage();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsop(\"leaving feedback failed.\");\n\t\t\t\t\t\tdisplayHomepage();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault:{\n\t\t\t\tsop(\"failed. Enter one of the given numbers.\");\n\t\t\t\tdisplayHomepage();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"0996e7fcf2925a49894e85623d325c7c","score":"0.51401025","text":"public Times() {\n initComponents();\n }","title":""},{"docid":"c5f6ae48b9fd3905251644eddcc0c49e","score":"0.5135392","text":"public ShowPost() {\n initComponents();\n this.setLocationRelativeTo(null);\n }","title":""},{"docid":"c187099105e58dc4e9408dab3526fc96","score":"0.5133503","text":"public SchoolHubTarea() {\n initComponents();\n this.setLocationRelativeTo(null);\n }","title":""},{"docid":"c1a63388bbcc107b7e6c0efd843d7a68","score":"0.5126174","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n patientid = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n exit = new javax.swing.JButton();\n CreateAppt = new javax.swing.JButton();\n Clear = new javax.swing.JButton();\n jDateChooser1 = new com.toedter.calendar.JDateChooser();\n listDoctor = new javax.swing.JComboBox();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"New Appointment\");\n setName(\"createAppointment\\n\"); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Lucida Grande\", 0, 15)); // NOI18N\n jLabel1.setText(\"New Appointment \");\n\n jLabel2.setText(\"Patient ID\");\n\n jLabel3.setText(\"Doctor ID \");\n\n jLabel4.setText(\"Appointment\");\n\n exit.setText(\"Exit\");\n exit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n exitActionPerformed(evt);\n }\n });\n\n CreateAppt.setText(\"Create\");\n CreateAppt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CreateApptActionPerformed(evt);\n }\n });\n\n Clear.setText(\"Clear\");\n Clear.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ClearActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(259, 259, 259)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 194, Short.MAX_VALUE)\n .addComponent(exit)\n .addGap(23, 23, 23))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(176, 176, 176)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel4)\n .addComponent(jLabel3)))\n .addGroup(layout.createSequentialGroup()\n .addGap(234, 234, 234)\n .addComponent(CreateAppt, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(16, 16, 16)\n .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(Clear, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(patientid, javax.swing.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE)\n .addComponent(listDoctor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addContainerGap(160, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(21, 21, 21)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(exit))\n .addGap(19, 19, 19)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(listDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(30, 30, 30)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4)\n .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 39, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(CreateAppt)\n .addComponent(Clear, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(48, 48, 48))\n );\n\n pack();\n }","title":""},{"docid":"d38e9e4724b3906b003dee6b770a56e5","score":"0.51221365","text":"public TournamentConfigurationView() {\n initComponents();\n setLocationRelativeTo(null);\n }","title":""},{"docid":"0ce34867cffb144ef5296bac0e6912c9","score":"0.5120062","text":"public VehicleDepartureForm() {\n initComponents();\n \n }","title":""},{"docid":"6d5a5e8a26e89b1a7398e75eb53a6cd5","score":"0.5111308","text":"public fragment_dialog_for_user_lock_set_time_am_pm() {\n }","title":""},{"docid":"380fea30e26b078689ab18ad9c3491b3","score":"0.5104917","text":"public Form_Locacao() {\n initComponents();\n }","title":""},{"docid":"49da2dc59680e052a62ee57b40a42763","score":"0.51035136","text":"public FormMain() {\n initComponents();\n adjustCurrentUser(Session.getInstance().getCurrentUser());\n setLocationRelativeTo(null);\n setExtendedState(MAXIMIZED_BOTH);\n \n \n }","title":""},{"docid":"0c4f68b0153c5a76be9d35f2f02b5720","score":"0.51017743","text":"public FrameCalendario() {\n initComponents();\n this.setLocationRelativeTo(null);\n }","title":""},{"docid":"e9df872ab712841e842104ed3b006d86","score":"0.5099501","text":"private void initView() {\r\n\t\t//set up our initial view of the pane\r\n\t\t//Add the ID texfield with label to the pane\r\n\t\tJPanel p = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task ID: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskID());\r\n\t\tthis.add(p);\r\n\t\t//add the Task name textfield to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Name: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskTitle());\r\n\t\tthis.add(p);\r\n\t\t//add the Task category JComboBox to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Category: \", SwingConstants.LEFT));\r\n\t\tp.add(getCategory());\r\n\t\tthis.add(p);\r\n\t\t//add the Task start date JSpinner to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Start Date: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskStartSpinner());\r\n\t\tthis.add(p);\r\n\t\t//add the Task due date JSpinner to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Due Date: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskDueSpinner());\r\n\t\tthis.add(p);\r\n\t\t//add the Task completed date JSpinner to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Completion Date: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskCompletedSpinner());\r\n\t\tthis.add(p);\r\n\t\t//add the Task completed status checkbox to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Completion Status: \", SwingConstants.LEFT));\r\n\t\tp.add(getComplete());\r\n\t\tthis.add(p);\r\n\t\t//add the Task details JTextArea to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Details: \", SwingConstants.LEFT));\r\n\t\tthis.add(p);\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(getTaskDetails());\r\n\t\tthis.add(p);\r\n\t}","title":""},{"docid":"007a998202bdfef1f4a8e5e9c9169e2a","score":"0.5092899","text":"public int showTimeDialog()\n\t{\n\t\treturn showDialog(owner, layoutPanel, SwingLocale.getString(\"time_selector\"), IconFactory.getSwingIcon(\"component/calendar_48.png\"));\n\t}","title":""},{"docid":"f38c80cbbed1ff072278a0d0a4732caf","score":"0.5091158","text":"public CreateReservationJFrame() {\n initComponents();\n populateHotels();\n populateRoomTypes();\n }","title":""},{"docid":"826441570923542dc467d84d401c1f69","score":"0.50856286","text":"public FlightTravelAgencyGUI() \n {\n initComponents();\n }","title":""},{"docid":"ef7bebacf5c8358d783c008bc008d258","score":"0.50854146","text":"private void initUi() {\n\t\tArrayList todaysTasks = getTodayTasks(TaskManager.getInstance().getTaskList());\n\t\t//If there are no tasks for today show an error\n\t\tif (todaysTasks.size() == 0) {\n\t\t\tJOptionPane.showMessageDialog(PanicController.getInstance().getFrame(), I18.getInstance().properties.getString(\"noTasksToday\"), I18.getInstance().properties.getString(\"noTasksTodayTitle\"), JOptionPane.INFORMATION_MESSAGE);\n\t\t}\n\t\telse {\n\t\t\t//If there already is a frame showing, remove it and show a new one\n\t\t\tif (today == null) {\n\t\t\t\ttoday = new JFrame();\n\t\t\t}\n\t\t\telse {\n\t\t\t\ttoday.dispose();\n\t\t\t\ttoday = new JFrame();\n\t\t\t}\n\t\t\ttoday.setTitle(I18.getInstance().properties.getString(\"todaysTasks\"));\n\t\t\t\n\t\t\t//Create a panel to use as contentpane\n\t\t\tJPanel panel = new JPanel();\n\t\t\t\n\t\t\t//Create a view for the tasks\n\t\t\ttasks = new JList(todaysTasks.toArray());\n\t\t\ttasks.setSize(300, 0);\n\t\t\trenderer = new TasksTodayRenderer();\n\t\t\ttasks.setCellRenderer(renderer);\n\t\t\ttasks.addMouseListener(new TodayTasksMouseAdapter());\n\t\t\t//Add it to the contentpane\n\t\t\tpanel.add(tasks);\n\t\t\t\n\t\t\t//Get the mainframe for positioning calculations\n\t\t\tJFrame mainFrame = PanicController.getInstance().getFrame();\n\t\t\t\n\t\t\t//Set the contentpane to the JPanel\n\t\t\ttoday.setContentPane(panel);\n\t\t\ttoday.pack();\n\t\t\ttoday.setSize(200,todaysTasks.size()*20 + 30);\n\t\t\ttoday.setResizable(false);\n\t\t\t\n\t\t\t//Use the mainFrame to calculate position to appear in the middle\n\t\t\ttoday.setLocation(mainFrame.getLocation().x + mainFrame.getWidth()/2 - today.getWidth()/2, \n\t\t\t\t\t mainFrame.getLocation().y + mainFrame.getHeight()/2 - today.getHeight()/2);\n\t\t\ttoday.setVisible(true);\n\t\t\t//Lastly, make sure you get focus\n\t\t\ttoday.requestFocus();\n\t\t}\n\t\t\n\t}","title":""},{"docid":"bc659f1945bfa18b8a7d50b928b7b955","score":"0.50814104","text":"public ActionForward start(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)\n throws Exception {\n\n Map fieldValues = new HashMap();\n fieldValues.put(\"id\", request.getParameter(\"scheduleId\"));\n List> permittedMinutes = new ArrayList>();\n CommitteeScheduleBase commSchedule = (CommitteeScheduleBase) getBusinessObjectService().findByPrimaryKey(getCommitteeScheduleBOClass(), fieldValues);\n List minutes = commSchedule.getCommitteeScheduleMinutes();\n \n // use the entry type comparator to sort the minutes \n Collections.sort(minutes, CommitteeScheduleMinuteBase.entryTypeComparator);\n \n for (CommitteeScheduleMinuteBase minute : minutes) {\n if (getReviewerCommentsService().getReviewerCommentsView(minute)) {\n permittedMinutes.add(minute);\n } \n }\n commSchedule.setCommitteeScheduleMinutes(permittedMinutes);\n ((MeetingFormBase) form).setReadOnly(\"true\".equals(request.getParameter(\"readOnly\")));\n ((MeetingFormBase) form).getMeetingHelper().setCommitteeSchedule(commSchedule);\n if ( !((MeetingFormBase) form).getMeetingHelper().hasViewModifySchedulePermission() ) {\n // same exception as of checkauthorization of kualiaction\n throw new AuthorizationException(GlobalVariables.getUserSession().getPerson().getPrincipalName(), \"start\", this\n .getClass().getSimpleName());\n }\n\n getMeetingService().populateFormHelper(((MeetingFormBase) form).getMeetingHelper(), commSchedule,\n getScheduleLineNumber(request, commSchedule));\n return mapping.findForward(Constants.MAPPING_BASIC);\n }","title":""},{"docid":"aed552e4ee806c54775e7a453ccf1b33","score":"0.5080472","text":"private void initView(Meeting meet) {\n\t\t\n\n\t\ttvCreateDate = (TextView) findViewById(R.id.tv_meeting_detail_date);\n\t\ttvApplyName = (TextView) findViewById(R.id.tv_meeting_detail_applyname);\n\t\ttvInviteName = (TextView) findViewById(R.id.tv_meeting_detail_invitename);\n\t\ttvState = (TextView) findViewById(R.id.tv_meeting_detail_state);\n\t\ttvApplyContent = (TextView) findViewById(R.id.tv_meeting_detail_applytext);\n\t\t\n\t\t\n\t\tbtnAgree = (Button) findViewById(R.id.btn_meeting_detail_agree);\n\t\tbtnRefuse = (Button) findViewById(R.id.btn_meeting_detail_refuse);\n\t\tbtnAgree.setOnClickListener(this);\n\t\tbtnRefuse.setOnClickListener(this);\n//\t\tLog.i(\"meeting\", \"时间:\"+meet.getCreateAt());\n//\t\tLog.i(\"meeting\", \"申请人姓名:\"+meet.getApplyUser().getNickName());\n//\t\tLog.i(\"meeting\", \"受邀人姓名:\"+meet.getInviteUser().getNickName());\n//\t\tLog.i(\"meeting\", \"状态:\"+meet.getState());\n//\t\tLog.i(\"meeting\", \"留言:\"+meet.getApplyText());\n//\t\t\n//\t\ttvCreateDate.setText(meet.getCreatedAt());\n//\t\ttvApplyName.setText(meet.getApplyUser().getNickName());\n//\t\ttvInviteName.setText(meet.getInviteUser().getNickName());\n//\t\ttvApplyContent.setText(meet.getApplyText());\n//\t\ttvState.setText(meet.getState()+\"\");\n//\t\t\n//\t\tif (inviteUserId!=null && inviteUserId.equals(BmobUser.getCurrentUser(this, User.class).getObjectId())) {\n//\t\t\tif( meet.getState()==1){\n//\t\t\t\ttvState.setText(\"2\");\n//\t\t\t\tupdate(meet,2);\n//\t\t\t}\n//\t\t} else {\n//\t\t\ttvState.setText(meet.getState() + \"\");\n//\t\t\tbtnAgree.setVisibility(View.GONE);\n//\t\t\tbtnRefuse.setVisibility(View.GONE);\n//\t\t}\n\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"2a6ebffe84e840708d1497577d324216\",\n \"score\": \"0.61038995\",\n \"text\": \"public MakeAppointmentPage() {\\n initialize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1017152e7365ffd2ff0713828577c99\",\n \"score\": \"0.5942816\",\n \"text\": \"public start()\\n {\\n super(\\\"AppDiary\\\");\\n title=new JTextField(\\\"Appointments Diary\\\",35);\\n title.setEditable(false);\\n title.setBackground(Color.gray);\\n title.setForeground(Color.white);\\n title.setHorizontalAlignment(JTextField.CENTER );\\n title.setFont(new Font(\\\"Georgia\\\",Font.BOLD+Font.ITALIC,35));\\n lb1=new Label(\\\" Welcome\\\");\\n\\n lb1.setFont(new Font(\\\"Georgia\\\",Font.ITALIC,20));\\n\\n newapp=new JButton(\\\">> CREATE AN APPOINTMENT <<\\\");\\n newapp.setBackground(Color.green);\\n \\n cancel=new JButton(\\\">> CANCEL AN APPOINTMENT <<\\\");\\n cancel.setBackground(Color.green);\\n \\n check=new JButton(\\\">> CHECK SCHEDULE <<\\\");\\n check.setBackground(Color.green);\\n \\n view=new JButton(\\\">> VIEW ALL APPOINTMENTS <<\\\");\\n view.setBackground(Color.green);\\n d1=new JTextField(10);\\n d1.setVisible(false);\\n d2=new JTextField(10);\\n d2.setVisible(false);\\n d3=new JTextField(10);\\n d3.setVisible(false);\\n d4=new JTextField(10);\\n d4.setVisible(false);\\n d5=new JTextField(10);\\n d5.setVisible(false);\\n d6=new JTextField(10);\\n d7=new JTextField(10);\\n Date date = new Date(); \\n String str=date.toString();\\n lb2=new Label(str);\\n lb2.setFont(new Font(\\\"Georgia\\\",Font.BOLD,15));\\n lb2.setForeground(Color.blue);\\n makeFrame();\\n showFrame();\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d47f350f0d971fe4431fd8066afb251c\",\n \"score\": \"0.59301007\",\n \"text\": \"void displayMeeting(boolean editable)\\r\\n {\\r\\n if( !_meetingList.isEmpty() )\\r\\n {\\r\\n int index = _meetingList.getSelectedIndex(); \\r\\n Vector meetings = _uiApp.getMeetings(); \\r\\n _uiApp.pushScreen( new MeetingScreen((Meeting)meetings.elementAt(index), index, editable) ); \\r\\n } \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42b372bd2160e2c909b0c97e41b6c706\",\n \"score\": \"0.5915859\",\n \"text\": \"public StaffAccountOfficeManagerForm() {\\n initComponents();\\n StaffTable();\\n showDate();\\n showTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f603a7d33dbba7d908cfbbebc70f3510\",\n \"score\": \"0.5828757\",\n \"text\": \"public void showMySchedule() {\\r\\n\\r\\n\\r\\n //start with a clear map\\r\\n clearSchedules();\\r\\n\\r\\n activeDay = sharedPreferences.getString(\\\"dayOfWeek\\\", \\\"Error\\\");\\r\\n SchedulePlot mySchedulePlot = new SchedulePlot(me.getSchedule().getSections(activeDay), me.getFirstName(), \\\"#FF0000\\\", R.drawable.ic_action_place);\\r\\n\\r\\n new GetRoutingForSchedule().execute(mySchedulePlot);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbaccfd26309e772243a3f25baaf2d30\",\n \"score\": \"0.5802494\",\n \"text\": \"private void showFormLocationList(){\\n\\t\\tFragmentTransaction ft = getFragmentManager().beginTransaction();\\n\\t\\tFragment prev = getFragmentManager().findFragmentByTag(LOCATIONLIST_TAG);\\n\\t\\t\\n\\t\\tif(prev != null){\\n\\t\\t\\tft.remove(prev);\\n\\t\\t}\\t\\t\\n\\t\\tft.addToBackStack(null);\\n\\t\\t\\n\\t\\tDialogFragment locationList = MapReminderLocationList.newInstance(activeTask);\\n\\t\\tlocationList.show(ft, LOCATIONLIST_TAG);\\t\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2db8e67ad9579f8ddfbaf9ecbabd6777\",\n \"score\": \"0.57307106\",\n \"text\": \"public CommonStaffForm() {\\n initComponents();\\n this.setLocation(450,150);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"879a2ad21745265be2211c22fc425633\",\n \"score\": \"0.56147945\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n approveJButton = new javax.swing.JButton();\\n approvalJLabel = new javax.swing.JLabel();\\n resultJTextField = new javax.swing.JTextField();\\n backJButton = new javax.swing.JButton();\\n rejectJButton = new javax.swing.JButton();\\n jLabel2 = new javax.swing.JLabel();\\n confirmJButton = new javax.swing.JButton();\\n dayTimeJLabel = new javax.swing.JLabel();\\n\\n approveJButton.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 14)); // NOI18N\\n approveJButton.setText(\\\"Approve Appointment\\\");\\n approveJButton.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n approveJButtonActionPerformed(evt);\\n }\\n });\\n\\n approvalJLabel.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 14)); // NOI18N\\n approvalJLabel.setText(\\\"Please mention below the half hour slot for the patient from the daytime range patient preferred:\\\");\\n\\n resultJTextField.setFont(new java.awt.Font(\\\"Comic Sans MS\\\", 1, 14)); // NOI18N\\n\\n backJButton.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 14)); // NOI18N\\n backJButton.setText(\\\"< {\\n startMeetingCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);\\n startMeetingCalendar.set(Calendar.MINUTE, minute);\\n updateStartTimeTextView();\\n };\\n startMeetingTimePicker.setOnClickListener(v -> new TimePickerDialog(AddMeeting.this,\\n startTime, startMeetingCalendar.get(Calendar.HOUR),\\n startMeetingCalendar.get(Calendar.MINUTE),\\n true).show());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d13eefd4758885d8827ee3f6851d881f\",\n \"score\": \"0.5373146\",\n \"text\": \"private void setEndTimePicker() {\\n final TimePickerDialog.OnTimeSetListener endTime = (view, hourOfDay, minute) -> {\\n endMeetingCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);\\n endMeetingCalendar.set(Calendar.MINUTE, minute);\\n updateEndTimeTextView();\\n };\\n endMeetingTimePicker.setOnClickListener(view -> new TimePickerDialog(AddMeeting.this,\\n endTime, endMeetingCalendar.get(Calendar.HOUR),\\n endMeetingCalendar.get(Calendar.MINUTE),\\n true).show());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70e0514a1e3a1db57dc2e9c42510b712\",\n \"score\": \"0.53704023\",\n \"text\": \"public void initialize() {\\n constraints.weightx = 1;\\n constraints.gridx = 0;\\n constraints.gridy = 0;\\n editTimes.add(createBoxWithFieldAndLabel(\\\"Enter the start hour\\\", startHour), constraints);\\n constraints.gridy = 1;\\n editTimes.add(createBoxWithFieldAndLabel(\\\"Enter the start minute\\\", startMinute), constraints);\\n constraints.gridy = 2;\\n editTimes.add(createBoxWithFieldAndLabel(\\\"Enter the end hour\\\", endHour), constraints);\\n constraints.gridy = 3;\\n editTimes.add(createBoxWithFieldAndLabel(\\\"Enter the end minute\\\", endMinute), constraints);\\n constraints.gridy = 4;\\n JButton btn = new JButton(\\\"Enter\\\");\\n btn.setActionCommand(\\\"enterTimes\\\");\\n btn.addActionListener(this);\\n editTimes.add(btn, constraints);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d4b7e6fc658bf7792b090b1af5c1cd4\",\n \"score\": \"0.5361162\",\n \"text\": \"@Override\\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\\n mEditStartTime.setText(mTimeFormat.format(Utils.getDate(mYear, mMonth, mDay, hourOfDay, minute)));\\n /**\\n * Set meeting end to start time +1 hour\\n */\\n mEditEndTime.setText(mTimeFormat.format(Utils.getDate(mYear, mMonth, mDay, hourOfDay+1, minute)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ae085ed9ccfb8d0ae3f4d9973f43d8f\",\n \"score\": \"0.5359146\",\n \"text\": \"public PersistentStoreDemoScreen(Vector meetings)\\r\\n { \\r\\n _uiApp = (PersistentStoreDemo)UiApplication.getUiApplication();\\r\\n \\r\\n // Initialize UI components\\r\\n setTitle(new LabelField(\\\"Persistent Store Demo\\\", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH)); \\r\\n _meetingList = new ListField(); \\r\\n add(_meetingList); \\r\\n \\r\\n // Set list field callback and update meeting list\\r\\n _meetingList.setCallback(_uiApp);\\r\\n updateList(); \\r\\n addMenuItem(newMeetingItem); \\r\\n addMenuItem(retrieveItem); \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7cf5877579fc88e212421b315fdb671\",\n \"score\": \"0.53406495\",\n \"text\": \"public TaskPanel(TaskController taskController) {\\n this.taskController = taskController;\\n\\n Button submit = new Button(\\\"Submit\\\");\\n submit.setOnAction(event -> {\\n \\ttaskController.add(getTaskName(), getTaskDescription(), getHours(), getMinutes(), getDateTime());\\n \\tSystem.out.println(\\\"Selected date: \\\" + getDateTime());\\n });\\n submit.setId(\\\"submitButton\\\");\\n submit.setStyle(\\\"-fx-font-weight: bold\\\");\\n\\n Label personInstructions = new Label(\\\"Select people to assign to task.\\\");\\n Label taskInstructions = new Label(\\\"Select prerequisite tasks or delete pre-existing tasks.\\\");\\n Label resourcesInstructions = new Label(\\\"Select required resources.\\\");\\n\\n\\n Label taskLabel = new Label(\\\"Task Name:\\\");\\n taskLabel.setStyle(\\\"-fx-font-weight: bold\\\");\\n\\n\\n // taskLabel.setAlignment(Pos.TOP_LEFT);\\n\\n taskField = new TextField();\\n //taskField.setAlignment(Pos.TOP_CENTER);\\n taskField.setMaxSize(200,25);\\n\\n taskField.setId(\\\"taskField\\\");\\n\\n Label taskDescription = new Label(\\\"Task Description:\\\");\\n taskDescription.setStyle(\\\"-fx-font-weight: bold\\\");\\n\\n\\n descriptionArea = new TextArea();\\n descriptionArea.setWrapText(true);\\n descriptionArea.setMaxSize(200,50);\\n descriptionArea.setId(\\\"taskDescArea\\\");\\n\\n\\n Label spinnerLabelHours = new Label(\\\"Hours:\\\");\\n Label spinnerLabelMins = new Label(\\\"Minutes:\\\");\\n\\n\\n\\n spinnerHours = new Spinner();\\n int initialValueHours = 1;\\n SpinnerValueFactory valueFactoryHours = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 300, initialValueHours);\\n\\n spinnerMins = new Spinner();\\n int initialValueMins = 0;\\n\\n SpinnerValueFactory valueFactoryMins = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 300, initialValueMins);\\n\\n spinnerHours.setValueFactory(valueFactoryHours);\\n spinnerMins.setValueFactory(valueFactoryMins);\\n spinnerHours.setMaxWidth(70);\\n spinnerMins.setMaxWidth(70);\\n\\n Label dateLabel\\t= new Label(\\\"Select start date: \\\");\\n dateSelection = new DatePicker(LocalDate.now());\\n dateSelection.setEditable(false);\\n\\n spinnerTimeHours = new Spinner();\\n SpinnerValueFactory valueFactorySelectHours = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 23, 0);\\n spinnerTimeHours.setValueFactory(valueFactorySelectHours);\\n\\n spinnerTimeMins = new Spinner();\\n SpinnerValueFactory valueFactorySelectMins = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 59, 0);\\n spinnerTimeMins.setValueFactory(valueFactorySelectMins);\\n\\n spinnerTimeHours.setMaxWidth(70);\\n spinnerTimeMins.setMaxWidth(70);\\n\\n Label select = new Label(\\\"Select start time (24hr clock): \\\");\\n Label select2 = new Label(\\\" : \\\");\\n select2.setStyle(\\\"-fx-font-weight: bold\\\");\\n\\n Label effortLabel = new Label(\\\"Effort Estimate:\\\");\\n effortLabel.setStyle(\\\"-fx-font-weight: bold\\\");\\n HBox spinnerHBox = new HBox(10);\\n spinnerHBox.setPadding(new Insets(25,25,25,25));\\n spinnerHBox.setPadding(new Insets(0, 0, 25, 0));\\n spinnerHBox.setAlignment(Pos.CENTER);\\n spinnerHBox.getChildren().add(effortLabel);\\n spinnerHBox.getChildren().addAll(spinnerLabelHours, spinnerHours);\\n spinnerHBox.getChildren().addAll(spinnerLabelMins, spinnerMins);\\n\\n\\n VBox dateTimeVBox = new VBox();\\n dateTimeVBox.setAlignment(Pos.CENTER);\\n dateTimeVBox.setPadding(new Insets(0, 0, 25, 0));\\n dateTimeVBox.setSpacing(5);\\n HBox dateHBox = new\\tHBox();\\n dateHBox.setAlignment(Pos.CENTER);\\n HBox timeHBox = new HBox();\\n timeHBox.setAlignment(Pos.CENTER);\\n\\n dateHBox.getChildren().addAll(dateLabel, dateSelection);\\n timeHBox.getChildren().addAll(select,spinnerTimeHours, select2, spinnerTimeMins);\\n dateTimeVBox.getChildren().addAll(dateHBox, timeHBox);\\n\\n\\n spinnerHBox.getChildren().addAll(dateTimeVBox);\\n\\n\\n people = FXCollections.observableArrayList ();\\n ListView listOfPeople = new ListView<>(people);\\n listOfPeople.setCellFactory(param -> new peopleCell(taskController));\\n\\n\\n tasks = FXCollections.observableArrayList ();\\n ListView listOfTasks = new ListView<>(tasks);\\n listOfTasks.setCellFactory(param -> new taskCell(taskController));\\n\\n resources = FXCollections.observableArrayList ();\\n ListView listOfResources = new ListView<>(resources);\\n listOfResources.setCellFactory(param -> new resourcesCell(taskController));\\n\\n\\n\\n this.initModality(Modality.APPLICATION_MODAL);\\n HBox dialogHbox = new HBox(20);\\n dialogHbox.setPadding(new Insets(25,25,25,25));\\n BorderPane borderPane = new BorderPane();\\n\\n VBox peopleVbox = new VBox();\\n peopleVbox.getChildren().add(personInstructions);\\n //peopleVbox.getChildren().add(blankLabel);\\n peopleVbox.setSpacing(25);\\n peopleVbox.getChildren().add(listOfPeople);\\n\\n VBox taskVbox = new VBox();\\n taskVbox.getChildren().add(taskInstructions);\\n //taskVbox.getChildren().add(blankLabel);\\n taskVbox.setSpacing(25);\\n taskVbox.setPadding(new Insets(0,10,0,10));\\n taskVbox.getChildren().add(listOfTasks);\\n\\n VBox resourcesVbox = new VBox();\\n resourcesVbox.getChildren().add(resourcesInstructions);\\n// resourcesVbox.getChildren().add(resourcesField);\\n resourcesVbox.setSpacing(25);\\n resourcesVbox.getChildren().add(listOfResources);\\n\\n dialogHbox.setAlignment(Pos.CENTER);\\n\\n dialogHbox.getChildren().add(taskLabel);\\n dialogHbox.getChildren().add(taskField);\\n dialogHbox.getChildren().add(taskDescription);\\n dialogHbox.getChildren().add(descriptionArea);\\n\\n VBox headerVBox = new VBox();\\n headerVBox.getChildren().add(dialogHbox);\\n headerVBox.getChildren().add(spinnerHBox);\\n\\n\\n BorderPane buttonPane = new BorderPane();\\n buttonPane.setRight(submit);\\n borderPane.setBottom(buttonPane);\\n\\n borderPane.setLeft(peopleVbox);\\n borderPane.setCenter(taskVbox);\\n borderPane.setRight(resourcesVbox);\\n\\n borderPane.setTop(headerVBox);\\n\\n borderPane.setPadding(new Insets(25,25,25,25));\\n\\n Scene dialogScene = new Scene(borderPane, 850, 500);\\n this.setScene(dialogScene);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c0b1f2d3a5f0362937fd1d090f16ae2\",\n \"score\": \"0.53346777\",\n \"text\": \"public AllocateTeamForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b535c5d8b8a63ab534ec1caf6f82d8c\",\n \"score\": \"0.5327675\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n jPanel1 = new javax.swing.JPanel();\\n jPanel2 = new javax.swing.JPanel();\\n jLabel1 = new javax.swing.JLabel();\\n jLabel2 = new javax.swing.JLabel();\\n jLabel3 = new javax.swing.JLabel();\\n jLabel4 = new javax.swing.JLabel();\\n jLabel6 = new javax.swing.JLabel();\\n jLabel7 = new javax.swing.JLabel();\\n jLabel8 = new javax.swing.JLabel();\\n jLabel9 = new javax.swing.JLabel();\\n jTextField1 = new javax.swing.JTextField();\\n jTextField2 = new javax.swing.JTextField();\\n jComboBox1 = new javax.swing.JComboBox<>();\\n jTextField3 = new javax.swing.JTextField();\\n jRadioButton1 = new javax.swing.JRadioButton();\\n jRadioButton2 = new javax.swing.JRadioButton();\\n jTextField4 = new javax.swing.JTextField();\\n dateChooserCombo1 = new datechooser.beans.DateChooserCombo();\\n jTimeChooser1 = new lu.tudor.santec.jtimechooser.JTimeChooser();\\n jPanel3 = new javax.swing.JPanel();\\n btnsave = new javax.swing.JButton();\\n btnreset = new javax.swing.JButton();\\n btnsearch = new javax.swing.JButton();\\n btncancel = new javax.swing.JButton();\\n btnbill = new javax.swing.JButton();\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\n setTitle(\\\"Room Reservation\\\");\\n\\n jPanel1.setBackground(new java.awt.Color(0, 153, 153));\\n\\n jPanel2.setBackground(new java.awt.Color(0, 204, 255));\\n jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2), \\\"Details\\\", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\\\"Tahoma\\\", 1, 11))); // NOI18N\\n\\n jLabel1.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel1.setText(\\\"Room No\\\");\\n\\n jLabel2.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel2.setText(\\\"Patient ID\\\");\\n\\n jLabel3.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel3.setText(\\\"Room Type\\\");\\n\\n jLabel4.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel4.setText(\\\"Price\\\");\\n\\n jLabel6.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel6.setText(\\\"Availability\\\");\\n\\n jLabel7.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel7.setText(\\\"Reserved Date\\\");\\n\\n jLabel8.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel8.setText(\\\"Reserved Time\\\");\\n\\n jLabel9.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jLabel9.setText(\\\"Description\\\");\\n\\n jRadioButton1.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jRadioButton1.setText(\\\"Available\\\");\\n\\n jRadioButton2.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 11)); // NOI18N\\n jRadioButton2.setText(\\\"Not Available\\\");\\n\\n dateChooserCombo1.setFormat(0);\\n\\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\\n jPanel2.setLayout(jPanel2Layout);\\n jPanel2Layout.setHorizontalGroup(\\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel2Layout.createSequentialGroup()\\n .addGap(33, 33, 33)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel1)\\n .addComponent(jLabel2)\\n .addComponent(jLabel3)\\n .addComponent(jLabel4))\\n .addGap(27, 27, 27)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(jTextField1)\\n .addComponent(jTextField2)\\n .addComponent(jComboBox1, 0, 182, Short.MAX_VALUE)\\n .addComponent(jTextField3))\\n .addGap(35, 35, 35)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel7)\\n .addComponent(jLabel6)\\n .addComponent(jLabel8)\\n .addComponent(jLabel9))\\n .addGap(23, 23, 23)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jRadioButton2)\\n .addComponent(jRadioButton1)\\n .addComponent(dateChooserCombo1, javax.swing.GroupLayout.PREFERRED_SIZE, 178, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\\n .addComponent(jTextField4, javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jTimeChooser1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 163, Short.MAX_VALUE)))\\n .addGap(0, 32, Short.MAX_VALUE))\\n );\\n jPanel2Layout.setVerticalGroup(\\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel2Layout.createSequentialGroup()\\n .addGap(49, 49, 49)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel1)\\n .addComponent(jLabel6)\\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jRadioButton1))\\n .addGap(18, 18, 18)\\n .addComponent(jRadioButton2)\\n .addGap(18, 18, 18)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel2)\\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel7))\\n .addComponent(dateChooserCombo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel2Layout.createSequentialGroup()\\n .addGap(48, 48, 48)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel3)\\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addGroup(jPanel2Layout.createSequentialGroup()\\n .addGap(34, 34, 34)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\\n .addComponent(jLabel8)\\n .addComponent(jTimeChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\\n .addGap(48, 48, 48)\\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel4)\\n .addComponent(jLabel9)\\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addContainerGap(41, Short.MAX_VALUE))\\n );\\n\\n jPanel3.setBackground(new java.awt.Color(0, 204, 255));\\n jPanel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2));\\n\\n btnsave.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 11)); // NOI18N\\n btnsave.setText(\\\"Save\\\");\\n\\n btnreset.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 11)); // NOI18N\\n btnreset.setText(\\\"Reset\\\");\\n\\n btnsearch.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 11)); // NOI18N\\n btnsearch.setText(\\\"Search\\\");\\n\\n btncancel.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 11)); // NOI18N\\n btncancel.setText(\\\"Cancel\\\");\\n btncancel.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n btncancelActionPerformed(evt);\\n }\\n });\\n\\n btnbill.setFont(new java.awt.Font(\\\"Times New Roman\\\", 1, 11)); // NOI18N\\n btnbill.setText(\\\"Bill\\\");\\n btnbill.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n btnbillActionPerformed(evt);\\n }\\n });\\n\\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\\n jPanel3.setLayout(jPanel3Layout);\\n jPanel3Layout.setHorizontalGroup(\\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel3Layout.createSequentialGroup()\\n .addGap(40, 40, 40)\\n .addComponent(btnsave)\\n .addGap(44, 44, 44)\\n .addComponent(btnreset)\\n .addGap(48, 48, 48)\\n .addComponent(btnsearch)\\n .addGap(51, 51, 51)\\n .addComponent(btncancel)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 40, Short.MAX_VALUE)\\n .addComponent(btnbill, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(41, 41, 41))\\n );\\n jPanel3Layout.setVerticalGroup(\\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()\\n .addContainerGap(41, Short.MAX_VALUE)\\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(btnsave, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnreset, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnsearch, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btncancel, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnbill, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(36, 36, 36))\\n );\\n\\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\\n jPanel1.setLayout(jPanel1Layout);\\n jPanel1Layout.setHorizontalGroup(\\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addGap(26, 26, 26)\\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addGap(78, 78, 78)\\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addContainerGap(44, Short.MAX_VALUE))\\n );\\n jPanel1Layout.setVerticalGroup(\\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addGap(39, 39, 39)\\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(35, 35, 35))\\n );\\n\\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\\n getContentPane().setLayout(layout);\\n layout.setHorizontalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09b6aae260a012615cb70f46d46b1b31\",\n \"score\": \"0.53227806\",\n \"text\": \"public void startTimeDialog() {\\n TimePickerDialog.OnTimeSetListener listener = new TimePickerDialog.OnTimeSetListener() {\\n @Override\\n public void onTimeSet(TimePicker view, int selectedHour, int selectedMinute) {\\n hour = selectedHour;\\n minute = selectedMinute;\\n String zone = \\\"\\\";\\n\\n if (hour > 12) {\\n hour -= 12;\\n zone = \\\"PM\\\";\\n } else {\\n zone = \\\"AM\\\";\\n }\\n\\n txtStartTime.setText(new StringBuilder().append(pad(hour)).append(\\\":\\\").append(pad(minute)).append(\\\" \\\").append(zone));\\n\\n int time = (minute * 60 + hour * 60 * 60) * 1000;\\n SimpleDateFormat format = new SimpleDateFormat(\\\"HH:mm:ss\\\");\\n timeStart = format.format(time);\\n\\n }\\n };\\n\\n TimePickerDialog tpDialog = new TimePickerDialog(this, listener, hour, minute, false);\\n tpDialog.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01a5a26b6921b57629242beb1d34a149\",\n \"score\": \"0.5318911\",\n \"text\": \"private void displayLocationSettingsDialog() {\\n\\t\\tnew AlertDialog.Builder(this)\\n\\t\\t.setTitle(getResources().getString(R.string.gps_dialog_title))\\n\\t\\t.setMessage(getResources().getString(R.string.gps_dialog_text))\\n\\t\\t.setPositiveButton(getResources().getString(R.string.yes_button_label), \\n\\t\\t\\tnew DialogInterface.OnClickListener() {\\n\\t public void onClick(DialogInterface dialog, int id) {\\n\\t \\t startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS));\\n\\t }\\n\\t })\\n\\t .setNegativeButton(getResources().getString(R.string.no_button_label), \\n\\t \\tnew DialogInterface.OnClickListener() {\\n\\t \\t\\tpublic void onClick(DialogInterface dialog, int id) {\\n\\t \\t\\t\\tdialog.cancel();\\n\\t \\t\\t}\\n\\t })\\n\\t\\t.show();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15c6b736efa52328060460464379a729\",\n \"score\": \"0.53168684\",\n \"text\": \"public void run()\\r\\n { \\r\\n displayMeeting(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25f6eb641ceaf0b53d8fc444e407442d\",\n \"score\": \"0.5295795\",\n \"text\": \"public ChooseTabletForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ce17530f889b0912a61346a7b4bafca\",\n \"score\": \"0.5289617\",\n \"text\": \"private void showTaskInfo(View view) {\\n\\n //displaying actual data\\n TextView taskName = (TextView) view.findViewById(R.id.edit_task_name);\\n taskName.setText(tInfo.displayName);\\n\\n TextView description = (TextView) view.findViewById(R.id.edit_task_description);\\n description.setText(tInfo.description);\\n\\n //Set the date pickers\\n setDate();\\n\\n //Begin actions to fill houses dropdown and members dropdown\\n houseAction.viewYourHouses(uInfo);\\n\\n //create a list of items for the notifications spinner.\\n setupNotificationSpinner(view);\\n\\n //Setup the tags available\\n setUpTags();\\n\\n TextView cost =(TextView) view.findViewById(R.id.edit_task_associated_cost);\\n cost.setText(Double.toString(tInfo.costAssociated));\\n\\n TextView penalty =(TextView) view.findViewById(R.id.edit_task_penalty);\\n penalty.setText(Integer.toString(tInfo.difficultyScore));\\n\\n //Set the itemList\\n setField();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aab86b5cc34d877844c15a19eff921e5\",\n \"score\": \"0.52797246\",\n \"text\": \"public LoginForm() {\\n initComponents();\\n lbl_U.setVisible(false);\\n lbl_P.setVisible(false);\\n lbl_C.setVisible(false);\\n currentDate();\\n \\n // show login form in center screen\\n this.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16213c03e344df1fe474397992931d97\",\n \"score\": \"0.5267924\",\n \"text\": \"public FrmTimeLine() {\\n initComponents();\\n Conexao c = new Conexao();\\n c.connect();\\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1db5d7138b75b2cca28c091754364ec8\",\n \"score\": \"0.52672774\",\n \"text\": \"public void CallAttendance1704IT(){\\n \\n ta2.setVisible(true);\\n if (ma.cmboClass.getSelectedItem().toString().equals(\\\"Lecture\\\")) {\\n ta2.ClassLab.setText(\\\"Lecture\\\");\\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\\\"Tutorial\\\")) {\\n ta2.ClassLab.setText(\\\"Tutorial\\\");\\n }\\n\\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\\n\\n case \\\"8.00am - 10.00am\\\":\\n ta2.TimeLab.setText(\\\"8.00am - 10.00am\\\");\\n break;\\n case \\\"10.00am - 12.00pm\\\":\\n ta2.TimeLab.setText(\\\"10.00am - 12.00pm\\\");\\n break;\\n case \\\"12.00pm - 2.00pm\\\":\\n ta2.TimeLab.setText(\\\"12.00pm - 2.00pm\\\");\\n break;\\n case \\\"2.00pm - 4.00pm\\\":\\n ta2.TimeLab.setText(\\\"2.00pm - 4.00pm\\\");\\n break;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25d98a46c7b3c70a8d261bd3e2a6522e\",\n \"score\": \"0.5259558\",\n \"text\": \"public ManageVolunteers() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n fetch();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17466fd3198cc101279f4520dd34f965\",\n \"score\": \"0.5256953\",\n \"text\": \"public FareListForm() {\\n \\n initComponents();\\n db.fillTable(table1, \\\"select * from BusRouteView\\\"); \\n getContentPane().setBackground(new java.awt.Color(255,255,255));\\n lbl2.setSize(100,80);\\n Utility.setLabelImage(lbl2, new File(\\\"src/images/bus2.jpg\\\").getAbsolutePath());\\n \\n db.fillCombo(cmbstart, \\\"select Distinct RouteFrom from RouteInfo\\\", \\\"RouteFrom\\\", \\\"RouteFrom\\\");\\n db.fillCombo(cmbend, \\\"select Distinct RouteTo from RouteInfo\\\", \\\"RouteTo\\\", \\\"RouteTo\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"608123c2fd0acb1bd22793205cf91b0f\",\n \"score\": \"0.5255929\",\n \"text\": \"private void initialize() {\\n\\t\\tinfos = new JPanel();\\n\\t\\tinfos.setLayout(new GridLayout(4,2));\\n\\t\\tinfo1 = new JLabel();\\n\\t\\tinfo2 = new JLabel();\\n\\t\\tinfo1_label = new JLabel();\\n\\t\\tinfo2_label = new JLabel();\\n\\t\\ttps_restant = new HourTextField(new HourFormat());\\n\\t\\ttps_restant.addCaretListener(new CaretListener(){\\n\\t\\t\\tpublic void caretUpdate(CaretEvent arg0) {\\n\\t\\t\\t\\tif(!tps_restant.getText().equals(\\\"\\\") && tps_restant.getText().matches(HourTextField.pattern)){\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\ttps_restant.commitEdit();\\n\\t\\t\\t\\t\\t\\tcurrentConcreteTask.setRemainingTime(getRemainingTimeForUpload());\\n\\t\\t\\t\\t\\t} catch (ParseException e) {\\n\\t\\t\\t\\t\\t\\tnew ExceptionManager(e);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t\\n\\t\\t// definition of tps_restant\\n\\t\\t\\n\\t\\t\\n\\t\\ttps_restant_label = new JLabel();\\n\\t\\ttps = new HourTextField(new HourFormat());\\n\\t\\ttps.setEditable(false);\\n\\t\\t\\n\\t\\n\\t\\ttps_label = new JLabel();\\n\\n\\t\\tinfos.add(info1);\\n\\t\\tinfos.add(info1_label);\\n\\t\\tinfos.add(info2);\\n\\t\\tinfos.add(info2_label);\\n\\t\\tinfos.add(tps_restant_label);\\n\\t\\tinfos.add(tps_restant);\\n\\t\\tinfos.add(tps_label);\\n\\t\\tinfos.add(tps);\\t\\t\\n\\t\\t\\n\\t\\tthis.setLayout(new BorderLayout());\\n\\t\\tthis.add(getTasks(),BorderLayout.CENTER);\\n\\t\\ttasks.setExpanded(false);\\n\\t\\tmodify.setVisible(false);\\n\\t\\tinfos.setVisible(false);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f97073b80750970a8339e7b62884f19c\",\n \"score\": \"0.5251018\",\n \"text\": \"private void setUpViews(){\\n meetingName = findViewById(R.id.create_meeting_name);\\n location = findViewById(R.id.create_meeting_location);\\n date = findViewById(R.id.create_meeting_date);\\n meetingDescription = findViewById(R.id.create_meeting_description);\\n agenda = findViewById(R.id.create_meeting_agenda);\\n createMeeting = findViewById(R.id.create_meeting_button);\\n attendeeEmail = findViewById(R.id.create_meeting_collaborator_email);\\n addAttendeeFab = findViewById(R.id.create_meeting_add_collaborator_fab);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02e0aa0b3b9750aedfcbfb7edef99c81\",\n \"score\": \"0.5249858\",\n \"text\": \"public void CallAttendance1701IT(){\\n \\n ta1.setVisible(true);\\n if (ma.cmboClass.getSelectedItem().toString().equals(\\\"Lecture\\\")) {\\n ta1.ClassLab.setText(\\\"Lecture\\\");\\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\\\"Tutorial\\\")) {\\n ta1.ClassLab.setText(\\\"Tutorial\\\");\\n }\\n\\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\\n\\n case \\\"8.00am - 10.00am\\\":\\n ta1.TimeLab.setText(\\\"8.00am - 10.00am\\\");\\n break;\\n case \\\"10.00am - 12.00pm\\\":\\n ta1.TimeLab.setText(\\\"10.00am - 12.00pm\\\");\\n break;\\n case \\\"12.00pm - 2.00pm\\\":\\n ta1.TimeLab.setText(\\\"12.00pm - 2.00pm\\\");\\n break;\\n case \\\"2.00pm - 4.00pm\\\":\\n ta1.TimeLab.setText(\\\"2.00pm - 4.00pm\\\");\\n break;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"705008291a2639afe0a162e462f10ec5\",\n \"score\": \"0.52483\",\n \"text\": \"public void doTimePicker(View view)\\n {\\n DialogFragment newFragment = new TimePickerFragment();\\n newFragment.show(getSupportFragmentManager(), \\\"timePicker\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"441f27bf783bb7ceeb85ee189f788147\",\n \"score\": \"0.52261806\",\n \"text\": \"private void initialize() {\\n\\n\\t\\tframeWorldClock = new JFrame();\\n\\t\\tframeWorldClock.setBounds(100, 100, 450, 300);\\n\\t\\tframeWorldClock.setIconImage(Toolkit.getDefaultToolkit()\\n\\t\\t\\t\\t.getImage(WorldClock.class.getResource(\\\"/mevenk/image/mevenkGitHubLogo.png\\\")));\\n\\t\\tframeWorldClock.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\tframeWorldClock.setAlwaysOnTop(true);\\n\\t\\tframeWorldClock.setType(Type.UTILITY);\\n\\t\\tframeWorldClock.setTitle(runningClockDisplayPanelLocalTimeZone.getTimeZoneBean().timeZoneTitle());\\n\\t\\tframeWorldClock.setResizable(false);\\n\\t\\tframeWorldClock.setLayout(new GridBagLayout());\\n\\t\\tframeWorldClock.setSize(250, 100);\\n\\t\\tDimension screenDimension = Toolkit.getDefaultToolkit().getScreenSize();\\n\\t\\tframeWorldClock.setLocation(screenDimension.width - frameWorldClock.getSize().width - 50,\\n\\t\\t\\t\\tscreenDimension.height / 5 - frameWorldClock.getSize().height / 2);\\n\\n\\t\\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setText(\\\"Always On Top\\\");\\n\\t\\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setSelected(frameWorldClock.isAlwaysOnTop());\\n\\t\\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setHorizontalAlignment(ALIGNMENT_CENTER);\\n\\t\\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.addActionListener(new ActionListener() {\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\t\\t\\tframeWorldClock.setAlwaysOnTop(CHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.isSelected());\\n\\n\\t\\t\\t}\\n\\t\\t});\\n\\n\\t\\tbuttonAddTime = new JButton(\\\"ADD\\\");\\n\\t\\tbuttonAddTime.setHorizontalAlignment(ALIGNMENT_CENTER);\\n\\t\\tbuttonAddTime.setAlignmentX(JButton.RIGHT_ALIGNMENT);\\n\\t\\tbuttonAddTime.addActionListener(new ActionListener() {\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\n\\t\\t\\t\\tif (timeZoneCounter == MAX_TIME_ZONES) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(frameWorldClock, \\\"Max Limit Reached !!\\\", \\\"Add New Time\\\",\\n\\t\\t\\t\\t\\t\\t\\tJOptionPane.INFORMATION_MESSAGE);\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tTimeZonesComboBox timeZonesComboBox = new TimeZonesComboBox();\\n\\n\\t\\t\\t\\tJOptionPane.showMessageDialog(frameWorldClock, timeZonesComboBox, \\\"Select TimeZone\\\",\\n\\t\\t\\t\\t\\t\\tJOptionPane.QUESTION_MESSAGE);\\n\\n\\t\\t\\t\\tTimeZone selectedTimeZone = timeZonesComboBox.selectedTimeZone();\\n\\n\\t\\t\\t\\tif (selectedTimeZone == null) {\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tfinal RunningClockDisplayPanel runningClockDisplayPanel = new RunningClockDisplayPanel(\\n\\t\\t\\t\\t\\t\\tselectedTimeZone);\\n\\n\\t\\t\\t\\tframeWorldClock.setSize(frameWorldClock.getWidth(),\\n\\t\\t\\t\\t\\t\\tframeWorldClock.getHeight() + runningClockDisplayPanel.getHeight());\\n\\n\\t\\t\\t\\tgridBagConstraintsFrameWorldClock.gridy = gridBagConstraintsFrameWorldClock.gridy + 1;\\n\\t\\t\\t\\tframeWorldClock.getContentPane().add(runningClockDisplayPanel, gridBagConstraintsFrameWorldClock);\\n\\n\\t\\t\\t\\ttimeZoneCounter++;\\n\\t\\t\\t}\\n\\t\\t});\\n\\n\\t\\tpanelControlPanel = new JPanel(new GridBagLayout());\\n\\t\\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\\n\\n\\t\\tgridBagConstraints.fill = GridBagConstraints.LINE_START;\\n\\t\\tgridBagConstraints.gridx = 0;\\n\\t\\tgridBagConstraints.gridy = 0;\\n\\n\\t\\tpanelControlPanel.setPreferredSize(new Dimension(frameWorldClock.getWidth() - 5, 60));\\n\\t\\tpanelControlPanel.setMaximumSize(new Dimension(frameWorldClock.getWidth() - 5, 60));\\n\\t\\tpanelControlPanel.add(CHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP, gridBagConstraints);\\n\\n\\t\\tgridBagConstraints.fill = GridBagConstraints.LINE_END;\\n\\t\\tgridBagConstraints.gridx = 1;\\n\\t\\tpanelControlPanel.add(buttonAddTime, gridBagConstraints);\\n\\n\\t\\tframeWorldClock.getContentPane().add(panelControlPanel, gridBagConstraintsFrameWorldClock);\\n\\n\\t\\tgridBagConstraintsFrameWorldClock.gridy = 1;\\n\\t\\tframeWorldClock.getContentPane().add(runningClockDisplayPanelLocalTimeZone, gridBagConstraintsFrameWorldClock);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94f685f6b219484d5fd91c26f3697935\",\n \"score\": \"0.52224565\",\n \"text\": \"public ObstetricsOfficeVisitForm() {\\n this(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07476c46f30670561b858b5cf4b93d40\",\n \"score\": \"0.5210872\",\n \"text\": \"public Home() {\\n initComponents();\\n hdate.setText(date.format(cal.getTime())); \\n htime.setText(time.format(cal.getTime()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8db381b5158388f602784701d34796b9\",\n \"score\": \"0.52078027\",\n \"text\": \"public void enterShowTimezLocation(String... strings)\\n {\\n String location = strings[1];\\n ExtentTestManager.getTest().log(LogStatus.INFO, \\\" \\\" + strings[0] + \\\":: Enter ShowTimes Location as \\\" + \\\"\\\\\\\"\\\" + location +\\\"\\\\\\\" \\\" );\\n try\\n {\\n genericfunctions.waitForPageToLoad(postwithhashtagobjects.showtimez_location);\\n postwithhashtagobjects.showtimez_location.clear();\\n\\n postwithhashtagobjects.showtimez_location.sendKeys(location);\\n }\\n catch (Throwable e)\\n {\\n Assert.fail(\\\"Could not able to enter ShowTimes Location\\\" + \\\" &\\\"+e.getMessage()+ \\\"\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea24b8023769a6f612ca3dbb4f0f039a\",\n \"score\": \"0.5198944\",\n \"text\": \"public HousingLoan() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n loaduserDetails();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28f0632c7a5a06c7b16f16dcf7bac881\",\n \"score\": \"0.5192493\",\n \"text\": \"public void showSettingsForm() {\\n this.jpSettings.loadPastevidSettings();\\n this.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d88020b3a77f65a3a331208c8065ead\",\n \"score\": \"0.51896316\",\n \"text\": \"private void setInquiryPanel()\\n {\\n Label titleLabel = new Label(\\\"Property Inquiry Form (Finish this form to confirm your booking)\\\");\\n titleLabel.setId(\\\"titleLabel\\\");\\n \\n GridPane formPane = new GridPane();\\n formPane.setHgap(20);\\n formPane.setVgap(40);\\n formPane.setId(\\\"formpane\\\");\\n \\n \\n Label zero = new Label(\\\"Your Name:\\\");\\n Label first = new Label(\\\"Phone Number:\\\");\\n Label second = new Label(\\\"email address:\\\");\\n Label third = new Label(\\\"Property Name:\\\");\\n Label fourth = new Label(\\\"Property ID:\\\");\\n Label fifth = new Label(\\\"Date of checking in:\\\");\\n Label sixth = new Label(\\\"Date of checking out:\\\");\\n formPane.add(zero, 0, 0);\\n formPane.add(first, 0, 1);\\n formPane.add(second, 0, 2);\\n formPane.add(third, 0, 3);\\n formPane.add(fourth, 0, 4);\\n formPane.add(fifth, 0, 5);\\n formPane.add(sixth, 0, 6);\\n \\n TextField zeroTF = new TextField();\\n zeroTF.setPromptText(\\\"Enter your full name\\\");\\n formPane.add(setValidityNameLabel(zeroTF), 2, 0);\\n \\n TextField firstTF = new TextField();\\n formPane.add(setValidityNumberLabel(firstTF), 2, 1);\\n \\n TextField secondTF = new TextField();\\n \\n TextField thirdTF = new TextField();\\n thirdTF.setMinWidth(400);\\n thirdTF.setPromptText(\\\"Enter the name of the property that you want to book\\\");\\n formPane.add(setValidityNameLabel(thirdTF), 2, 3);\\n \\n TextField fourthTF = new TextField();\\n fourthTF.setPromptText(\\\"Enter the id of the property that you want to book\\\");\\n formPane.add(setValidityNumberLabel(fourthTF), 2, 4);\\n \\n TextField fifthTF = new TextField();\\n fifthTF.setPromptText(\\\"DD/MM/YYYY\\\");\\n formPane.add(setValidityDateLabel(fifthTF), 2, 5);\\n \\n TextField sixthTF = new TextField();\\n sixthTF.setPromptText(\\\"DD/MM/YYYY\\\");\\n formPane.add(setValidityDateLabel(sixthTF), 2, 6);\\n \\n textFields.add(zeroTF);\\n textFields.add(firstTF);\\n textFields.add(secondTF);\\n textFields.add(thirdTF);\\n textFields.add(fourthTF);\\n textFields.add(fifthTF);\\n textFields.add(sixthTF);\\n \\n \\n Button submitButton = new Button(\\\"submit\\\");\\n submitButton.setOnAction(this::submitButtonClick);\\n Button listProperty = new Button(\\\"Get your property listed!\\\");\\n listProperty.setOnAction(this::listPropertyButtonClick);\\n formPane.add(zeroTF, 1, 0);\\n formPane.add(firstTF, 1, 1);\\n formPane.add(secondTF, 1, 2);\\n formPane.add(thirdTF, 1, 3);\\n formPane.add(fourthTF, 1, 4);\\n formPane.add(fifthTF, 1, 5);\\n formPane.add(sixthTF, 1, 6);\\n formPane.add(submitButton, 1, 7);\\n formPane.add(listProperty, 3, 7);\\n \\n root.setTop(titleLabel);\\n root.setCenter(formPane);\\n currentPanel = 1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdc8330a57eec99b0ebfddb92db3787a\",\n \"score\": \"0.51875854\",\n \"text\": \"private void showCalendar() {\\n new DatePickerDialog(ReviewSelectScheduleProgramScreen.this, date, calendar\\n .get(Calendar.YEAR), calendar.get(Calendar.MONTH),\\n calendar.get(Calendar.DAY_OF_MONTH)).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62c61215495979d9e0d8393bbe265737\",\n \"score\": \"0.51860625\",\n \"text\": \"public void setTimeScreen() {\\r\\n \\r\\n nifty.gotoScreen(\\\"timeisup\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a2c62fef4fef95d224a3cd9f6b46181\",\n \"score\": \"0.51794165\",\n \"text\": \"AddAppointment(){\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"602acb839ceb3c1b91630a10b5c99848\",\n \"score\": \"0.5177055\",\n \"text\": \"public void showTimePickerDialog2(View view) {\\n DialogFragment newFragment = TimePickerFragment.newInstance(MCTQ_B2_A2_ID, btf);\\n newFragment.show(getFragmentManager(), \\\"timePicker2\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d48929745660283541321cdfa497e4a\",\n \"score\": \"0.51760596\",\n \"text\": \"public EventForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c36b043ab3693fd0e0e2b384909c3ea\",\n \"score\": \"0.5175121\",\n \"text\": \"public FormPrincipal() {\\r\\n initComponents();\\r\\n \\r\\n this.setLocationRelativeTo(null);\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc6d2ec3d3b818ffd55ef694cfdb09b2\",\n \"score\": \"0.5170784\",\n \"text\": \"public void middlePanel(){\\n\\t\\tArrayList myMeetups = new ArrayList();\\n\\t\\teProduceDatabase.getMyMeetups(currentUser.getEmail(),myMeetups); //get the current user's meetups and put them in myMeetups ArrayList\\n\\t\\t\\n\\t\\tJTextField[][] meetups = new JTextField[myMeetups.size()][6];\\n\\t\\tString[][] meetupData = new String[myMeetups.size()][6];\\n\\t\\tfor(int i = 0; i < meetups.length; i++){\\n\\t\\t\\tmeetups[i][0] = new JTextField(\\\"Meetup Number \\\"+i);\\n\\t\\t\\tmeetups[i][1] = new JTextField(\\\"Meetup Date \\\" + i);\\n\\t\\t\\tmeetups[i][2] = new JTextField(\\\"Meetup Time \\\" + i);\\n\\t\\t\\tmeetups[i][3] = new JTextField(\\\"Meetup Location \\\" + i);\\n\\t\\t\\tmeetups[i][4] = new JTextField(\\\"Meetup Participants \\\" + i);\\n\\t\\t\\tmeetups[i][5] = new JTextField(\\\"Meetup Owner \\\" + i);\\n\\t\\t}\\n\\t\\t\\n\\t\\tJPanel leftSide = new JPanel();\\n\\t\\tJPanel meetup = new JPanel();\\n\\t\\t\\n\\t\\tfor(int i = 0; i < myMeetups.size(); i++)\\n\\t\\t{\\n\\t\\t\\tMeetup currMeetup = myMeetups.get(i);\\n\\t\\t\\tif(currMeetup != null)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSimpleDateFormat sdf = new SimpleDateFormat(\\\"hh:mm aa\\\");\\n\\t\\t\\t\\tmeetupData[i][0] = currMeetup.getMeetupNum();\\n\\t\\t\\t\\tmeetupData[i][1] = currMeetup.getDate().toString();\\n\\t\\t\\t\\tmeetupData[i][2] = sdf.format(currMeetup.getTime()); //convert the time to a more readable format\\n\\t\\t\\t\\tmeetupData[i][3] = currMeetup.getLocation().toString();\\n\\t\\t\\t\\tmeetupData[i][4] = currMeetup.getParticipants().get(0).getEmail() + \\\", \\\" + currMeetup.getParticipants().get(1).getEmail();\\n\\t\\t\\t\\tmeetupData[i][5] = currMeetup.getOwner();\\n\\t\\t\\t\\tSystem.out.println(currMeetup.getOwner().toString());\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\tmeetup.setLayout(new BoxLayout(meetup, BoxLayout.Y_AXIS));\\n\\t\\tJTable table = new JTable(meetupData, new String[] {\\\"Meeting #\\\", \\\"Date\\\", \\\"Time\\\", \\\"Location\\\"});\\n\\t\\t\\n\\t\\ttable.setBackground(frame.getBackground()); //sets background color of each cell to the frame's background.\\n\\t\\ttable.setShowVerticalLines(false); //doesn't show vertical gridlines\\n\\t\\ttable.setGridColor(Color.black); //changes the gridline's colors to black\\n\\t\\ttable.setIntercellSpacing(new Dimension(0, 0));\\n\\t\\ttable.setFont(new Font(\\\"Serif\\\", Font.PLAIN, 24)); //changes font to be larger\\n\\t\\ttable.setBorder(new MatteBorder(1, 1, 1, 1, Color.black)); //Gives a black border around the table\\n\\t\\ttable.setRowHeight(30); //number of rows to have in the table.\\n\\t\\ttable.setDefaultEditor(Object.class, null); //disables \\\"double-click to edit\\\" functionality\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\ttable.getSelectionModel().addListSelectionListener(new ListSelectionListener() {\\n\\t\\t\\tpublic void valueChanged(ListSelectionEvent event) {\\n\\t\\t\\t\\tJPanel meetingPanel = new JPanel();\\n\\t\\t\\t\\tJLabel participantsLabel = new JLabel();\\n\\t\\t\\t\\tJLabel whenLabel = new JLabel();\\n\\t\\t\\t\\tJLabel timeLabel = new JLabel();\\n\\t\\t\\t\\tJLabel locationLabel = new JLabel();\\n\\t\\t\\t\\tJLabel meetupNumLabel = new JLabel();\\n\\t\\t\\t\\tJLabel meetupNumLabel2 = new JLabel();\\n\\t\\t\\t\\tJTextField whenTF = new JTextField(10);\\n\\t\\t\\t\\tJPanel metPanel = new JPanel();\\n\\t\\t\\t\\tJLabel participantslbl = new JLabel();\\n\\t\\t\\t\\tJLabel whenlbl = new JLabel();\\n\\t\\t\\t\\tJLabel timelbl = new JLabel();\\n\\t\\t\\t\\tJLabel loclbl = new JLabel();\\n\\t\\t\\t\\tJTextField participantstxt = new JTextField(10);\\n\\t\\t\\t\\tJTextField loctxt = new JTextField(10);\\n\\t\\t\\t\\tSpinnerDateModel model2 = new SpinnerDateModel();\\n\\t\\t\\t\\tmodel2.setCalendarField(Calendar.MINUTE);\\n\\t\\t\\t\\tJSpinner spinner= new JSpinner();\\n\\t\\t\\t\\tspinner.setModel(model2);\\n\\t\\t\\t\\tspinner.setEditor(new JSpinner.DateEditor(spinner, \\\"hh:mm a\\\"));\\n\\t\\t\\t\\tDate date = myMeetups.get(table.getSelectedRow()).getTime();\\n\\t\\t\\t\\tspinner.setValue(date);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tspinner.setSize(10,10);\\n\\t\\t\\t\\tmeetingPanel.setLayout(new GridLayout(0,1));\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tparticipantsLabel.setText(\\\"Participants: \\\");\\n\\t\\t\\t\\twhenLabel.setText(\\\"When: \\\");\\n\\t\\t\\t\\ttimeLabel.setText(\\\"Time\\\");\\n\\t\\t\\t\\tlocationLabel.setText(\\\"Location:\\\");\\n\\t\\t\\t\\tparticipantslbl.setText(\\\"Participants: \\\");\\n\\t\\t\\t\\twhenlbl.setText(\\\"When: \\\");\\n\\t\\t\\t\\ttimelbl.setText(\\\"Time\\\");\\n\\t\\t\\t\\tloclbl.setText(\\\"Location:\\\");\\n\\t\\t\\t\\tmeetupNumLabel.setText(\\\"Meetup #: \\\");\\n\\t\\t\\t\\tmeetupNumLabel2.setText(myMeetups.get(table.getSelectedRow()).getMeetupNum());\\n\\t\\t\\t\\tString partString = \\\"\\\";\\n\\t\\t\\t\\tfor(int i = 0; i < myMeetups.get(table.getSelectedRow()).getParticipants().size(); i++)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tpartString += myMeetups.get(table.getSelectedRow()).getParticipants().get(i).getEmail();\\n\\t\\t\\t\\t\\tif(i != myMeetups.get(table.getSelectedRow()).getParticipants().size() - 1)\\n\\t\\t\\t\\t\\t\\tpartString += \\\", \\\";\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tparticipantstxt.setText(partString);\\n\\t\\t\\t\\tloctxt.setText(myMeetups.get(table.getSelectedRow()).getLocation());\\n\\t\\t\\t\\tUtilDateModel model = new UtilDateModel(myMeetups.get(table.getSelectedRow()).getDate());\\n\\t\\t\\t\\tJDatePanelImpl datePanel = new JDatePanelImpl(model);\\n\\t\\t\\t\\tJDatePickerImpl datePicker = new JDatePickerImpl(datePanel);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tmeetingPanel.add(meetupNumLabel);\\n\\t\\t\\t\\tmeetingPanel.add(meetupNumLabel2);\\n\\t\\t\\t\\tmeetingPanel.add(participantsLabel);\\n\\t\\t\\t\\tmeetingPanel.add(participantstxt);\\n\\t\\t\\t\\tmeetingPanel.add(whenLabel);\\n\\t\\t\\t\\tmeetingPanel.add(datePicker);\\n\\t\\t\\t\\tmeetingPanel.add(timeLabel);\\n\\t\\t\\t\\tmeetingPanel.add(spinner);\\n\\t\\t\\t\\tmeetingPanel.add(locationLabel);\\n\\t\\t\\t\\tmeetingPanel.add(loctxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\tString[] options = new String[] {\\\"Save Changes\\\", \\\"Delete Meeting\\\", \\\"Cancel\\\"}; //options to be displayed as buttons in the dialog\\n\\t\\t\\t\\tint result = JOptionPane.showOptionDialog(null, meetingPanel, \\\"Edit Meeting Info\\\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE, null, options, null);\\n\\t\\t\\t\\tif(result == JOptionPane.YES_OPTION) //save changes button clicked\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tif(!(participantstxt.getText().equals(\\\"\\\")) && !(datePicker.getModel().getValue().toString().equals(\\\"\\\")) && !loctxt.getText().equals(\\\"\\\") )\\t\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tjava.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(\\\"yyyy-MM-dd HH:mm:ss\\\");\\n\\t\\t\\t\\t\\t\\tString foo = sdf.format(new Date(model.getYear()-1900, model.getMonth(), model.getDay(), model2.getDate().getHours(), model2.getDate().getMinutes()));\\n\\t\\t\\t\\t\\t\\tSystem.out.println(foo);\\n\\t\\t\\t\\t\\t\\tboolean ret = eProduceDatabase.editMeetup(meetupNumLabel2.getText(),participantstxt.getText(),loctxt.getText(), model, model2);\\n\\t\\t\\t\\t\\t\\tif(ret)\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(frame, \\\"Meetup has been successfully edited!\\\");\\n\\t\\t\\t\\t\\t\\t\\tframe.dispose();\\n\\t\\t\\t\\t\\t\\t\\tMyMeetingsView mmv = new MyMeetingsView(currentUser);\\n\\t\\t\\t\\t\\t\\t\\tframe = mmv.frame;\\n\\t\\t\\t\\t\\t\\t\\tframe.setVisible(true);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tString emptyFieldMsg = \\\"Unable to edit meeting. The following fields are empty: \\\\n\\\";\\n\\t\\t\\t\\t\\t\\tif(participantstxt.getText().equals(\\\"\\\")) emptyFieldMsg += \\\" Participants\\\\n\\\";\\n\\t\\t\\t\\t\\t\\tif(datePicker.getModel().getValue().toString().equals(\\\"\\\")) emptyFieldMsg += \\\" When\\\\n\\\";\\n\\t\\t\\t\\t\\t\\tif(loctxt.getText().equals(\\\"\\\")) emptyFieldMsg += \\\" Location\\\\n\\\";\\n\\t\\t\\t\\t\\t\\tif(participantstxt.getText().equals(\\\"\\\")) emptyFieldMsg += \\\" Participants\\\\n\\\";\\n\\t\\t\\t\\t\\t\\tif(datePicker.getModel().getValue().toString().equals(\\\"\\\")) emptyFieldMsg += \\\" When\\\\n\\\";\\n\\t\\t\\t\\t\\t\\tif(loctxt.getText().equals(\\\"\\\")) emptyFieldMsg += \\\" Location\\\\n\\\";\\n\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(frame, emptyFieldMsg);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(result == JOptionPane.NO_OPTION) //delete button clicked\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\teProduceDatabase.deleteMeetup(myMeetups.get(table.getSelectedRow()).getMeetupNum());\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(frame, \\\"Meetup has been successfully deleted!\\\");\\n\\t\\t\\t\\t\\tframe.dispose();\\n\\t\\t\\t\\t\\tMyMeetingsView mmv = new MyMeetingsView(currentUser);\\n\\t\\t\\t\\t\\tframe = mmv.frame;\\n\\t\\t\\t\\t\\tframe.setVisible(true);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t\\n\\t\\tfor(int i = 0; i < table.getColumnCount(); i++){ //this sets the JTable's text to be centered\\n\\t\\t\\tDefaultTableCellRenderer center = new DefaultTableCellRenderer();\\n\\t\\t\\tcenter.setHorizontalAlignment(SwingConstants.CENTER);\\n\\t\\t\\tTableColumn column = table.getColumnModel().getColumn(i);\\n\\t\\t\\tcolumn.setCellRenderer(center);\\n\\t\\t\\t\\n\\t\\t\\tif(i == 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tcolumn.setMinWidth(75);\\n\\t\\t\\t\\tcolumn.setPreferredWidth(75);\\n\\t\\t\\t\\tcolumn.setMaxWidth(100);\\n\\t\\t\\t}\\n\\t\\t\\tif(i == 1)\\n\\t\\t\\t{\\n\\t\\t\\t\\tcolumn.setMinWidth(75);\\n\\t\\t\\t\\tcolumn.setPreferredWidth(150);\\n\\t\\t\\t\\tcolumn.setMaxWidth(200);\\n\\t\\t\\t}\\n\\t\\t\\telse if(i == 2)\\n\\t\\t\\t{\\n\\t\\t\\t\\tcolumn.setMinWidth(100);\\n\\t\\t\\t\\tcolumn.setPreferredWidth(150);\\n\\t\\t\\t\\tcolumn.setMaxWidth(250);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tmeetup.add(new JScrollPane(table));\\n\\t\\t\\n\\t\\t\\n\\t\\tleftSide.setLayout(new FlowLayout(FlowLayout.LEFT));\\n\\t\\tmiddlePanel.setLayout(new BorderLayout());\\n\\t\\tmiddlePanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));\\n\\n\\t\\tmiddlePanel.add(meetup);\\n\\t\\t\\n\\t\\tmiddlePanel.add(leftSide,BorderLayout.NORTH);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"827e588e6f4cd0bae71fe0c3cb5140c8\",\n \"score\": \"0.5166856\",\n \"text\": \"public alewis91_Assignment3_mainForm() {\\n initComponents();\\n Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();\\n int x = (int) ((screen.getWidth() - getWidth()) /2);\\n int y = (int) ((screen.getHeight() -getHeight()) /2);\\n setLocation(x, y);\\n this.setTitle(\\\"Encrytion Software - alewis91-Assignment3\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91922c428932ec8e832b3e2fe1997424\",\n \"score\": \"0.516429\",\n \"text\": \"@Override\\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\\n Bundle savedInstanceState) {\\n View v = inflater.inflate(R.layout.fragment_hourly, container, false);\\n\\n ppoint = (EditText)v.findViewById(R.id.pickup);\\n pdate = (EditText)v.findViewById(R.id.p_date);\\n ptime = (EditText)v.findViewById(R.id.p_time);\\n search = (Button)v.findViewById(R.id.search);\\n\\n pdate.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n showDatePicker();\\n }\\n });\\n\\n ptime.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n showTimePicker();\\n }\\n });\\n\\n search.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n String d,t, pl;\\n d = pdate.getText().toString();\\n t = ptime.getText().toString();\\n pl = ppoint.getText().toString();\\n if(!d.isEmpty() || !t.isEmpty() || !pl.isEmpty() ) {\\n Intent i = new Intent(getContext(), VehiclesActivity.class);\\n i.putExtra(\\\"pickup_location\\\", pl);\\n i.putExtra(\\\"date\\\", d);\\n i.putExtra(\\\"time\\\", t);\\n startActivity(i);\\n pdate.setText(\\\"\\\");\\n ptime.setText(\\\"\\\");\\n ppoint.setText(\\\"\\\");\\n }\\n else\\n {\\n Toast.makeText(getContext(), \\\"Please Select All Fields\\\", Toast.LENGTH_SHORT).show();\\n }\\n }\\n });\\n\\n return v;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a3402e9a3d80f59f386cbee0ba47299\",\n \"score\": \"0.51626873\",\n \"text\": \"public UserMainForm() {\\n initComponents();\\n setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31bc4a09dc92de9a1f6b5ad3d63a1c4f\",\n \"score\": \"0.5161832\",\n \"text\": \"public void setMeetupTime(LocalTime meetupTime) {\\n this.meetupTime = meetupTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5aa49f1dbd43baeb4f13cab8c95e498a\",\n \"score\": \"0.51597357\",\n \"text\": \"private void topPanelEntryOrExitOrView() {\\r\\n\\r\\n JLabel label1 = new JLabel(\\\"Enter the license plate number of the car \\\");\\r\\n label1.setFont(font);\\r\\n JLabel label2 = new JLabel(\\\"Enter the current time as HH:MM (24-hour clock):\\\");\\r\\n label2.setFont(font);\\r\\n JLabel label3 = new JLabel(\\\"Enter today's date as MM-DD-YYYY:\\\");\\r\\n label3.setFont(font);\\r\\n\\r\\n fieldCarLicense = new JTextField(5);\\r\\n fieldCarTime = new JTextField(5);\\r\\n fieldCarDate = new JTextField(5);\\r\\n\\r\\n topPanel.add(label1);\\r\\n topPanel.add(fieldCarLicense);\\r\\n topPanel.add(label2);\\r\\n topPanel.add(fieldCarTime);\\r\\n topPanel.add(label3);\\r\\n topPanel.add(fieldCarDate);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ff2d96315866463dbfd039adb100afc\",\n \"score\": \"0.5159673\",\n \"text\": \"public CreateEventView(EventModel model) {\\n final JFrame frame = new JFrame();\\n\\n Calendar cal = model.getCal();\\n\\n SimpleDateFormat currentTime = new SimpleDateFormat(\\\"hh:mmaa\\\");\\n Calendar formatEnd = new GregorianCalendar();\\n formatEnd.setTime(cal.getTime());\\n formatEnd.add(Calendar.MINUTE, 30);\\n\\n currentTime.format(cal.getTime());\\n\\n final JTextField descField = new JTextField(\\\"Description here\\\");\\n final JTextField dateField = new JTextField(\\n (cal.get(Calendar.MONTH) + 1) + \\\"/\\\" + cal.get(Calendar.DAY_OF_MONTH) + \\\"/\\\" + cal.get(Calendar.YEAR));\\n final JTextField startField = new JTextField(currentTime.format(cal.getTime()));\\n final JTextField endField = new JTextField(currentTime.format(formatEnd.getTime()));\\n JButton saveButton = new JButton(\\\"Save\\\");\\n JButton cancelButton = new JButton(\\\"Cancel\\\");\\n\\n cancelButton.addActionListener(new ActionListener() {\\n\\n @Override\\n public void actionPerformed(ActionEvent e) {\\n frame.dispose();\\n }\\n });\\n\\n // CONTROLLER gets the from the fields and updates the model with a new\\n // Event.\\n saveButton.addActionListener(new ActionListener() {\\n\\n @Override\\n public void actionPerformed(ActionEvent e) {\\n String name = descField.getText();\\n String date = dateField.getText();\\n String start = startField.getText();\\n String end = endField.getText();\\n ArrayList events = model.getEvents();\\n\\n SimpleDateFormat sf = new SimpleDateFormat(\\\"MM/dd/yyyyhh:mmaa\\\");\\n\\n Date startDate = null;\\n try {\\n startDate = sf.parse(date + start);\\n } catch (ParseException ex) {\\n Logger.getLogger(CreateEventView.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n Date endDate = null;\\n try {\\n endDate = sf.parse(date + end);\\n } catch (ParseException ex) {\\n Logger.getLogger(CreateEventView.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n\\n\\n Calendar startCal = new GregorianCalendar();\\n startCal.setTime(startDate);\\n Calendar endCal = new GregorianCalendar();\\n endCal.setTime(endDate);\\n\\n Event newEvent = new Event(name, (GregorianCalendar) startCal, (GregorianCalendar) endCal);\\n\\n boolean isConflicting = false;\\n\\n if (newEvent.end.before(newEvent.start) || newEvent.start.equals(newEvent.end)) {\\n JOptionPane.showMessageDialog(frame, \\\"Sorry user, but the End can't come before start!\\\", \\\"Time Conflict\\\",\\n JOptionPane.WARNING_MESSAGE);\\n isConflicting = true;\\n }\\n for (Event event : model.getEvents()) { // Display error message\\n if (event.compareTo(newEvent) == 0) {\\n JOptionPane.showMessageDialog(frame, \\\"Sorry but the Times can't overlap!\\\", \\\"Time Conflict\\\",\\n JOptionPane.WARNING_MESSAGE);\\n\\n isConflicting = true;\\n break;\\n }\\n }\\n\\n if (!isConflicting) {\\n model.add_event(newEvent);\\n\\n }\\n\\n isConflicting = false;\\n\\n ArrayList events_list = new ArrayList();\\n\\n for (int i = 0; i < events.size(); i++) {\\n events_list.add(events.get(i));\\n }\\n for(int i=0;i//GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n jLabel1 = new javax.swing.JLabel();\\n jLabel3 = new javax.swing.JLabel();\\n jLabel4 = new javax.swing.JLabel();\\n jLabel5 = new javax.swing.JLabel();\\n jLabel6 = new javax.swing.JLabel();\\n jLabel7 = new javax.swing.JLabel();\\n jLabel8 = new javax.swing.JLabel();\\n weight = new javax.swing.JTextField();\\n jLabel9 = new javax.swing.JLabel();\\n patientid = new javax.swing.JTextField();\\n height = new javax.swing.JTextField();\\n bp = new javax.swing.JTextField();\\n jLabel10 = new javax.swing.JLabel();\\n jLabel11 = new javax.swing.JLabel();\\n jLabel12 = new javax.swing.JLabel();\\n jLabel13 = new javax.swing.JLabel();\\n jLabel14 = new javax.swing.JLabel();\\n cholesterol = new javax.swing.JTextField();\\n visit = new javax.swing.JTextField();\\n diag = new javax.swing.JTextField();\\n doctornote = new javax.swing.JTextField();\\n labnote = new javax.swing.JTextField();\\n create = new javax.swing.JButton();\\n clear = new javax.swing.JButton();\\n exit = new javax.swing.JButton();\\n date = new com.toedter.calendar.JDateChooser();\\n listDoctor = new javax.swing.JComboBox();\\n location = new javax.swing.JLabel();\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\n\\n jLabel1.setFont(new java.awt.Font(\\\"Lucida Grande\\\", 0, 15)); // NOI18N\\n jLabel1.setText(\\\"Create Records\\\");\\n\\n jLabel3.setText(\\\"Service Date\\\");\\n\\n jLabel4.setText(\\\"Patient ID\\\");\\n\\n jLabel5.setText(\\\"Doctor\\\");\\n\\n jLabel6.setText(\\\"Location\\\");\\n\\n jLabel7.setText(\\\"Height\\\");\\n\\n jLabel8.setText(\\\"Weight\\\");\\n\\n jLabel9.setText(\\\"Blood Pressure\\\");\\n\\n jLabel10.setText(\\\"Cholesterol\\\");\\n\\n jLabel11.setText(\\\"Reason For Visit\\\");\\n\\n jLabel12.setText(\\\"Doctor Diagnosis\\\");\\n\\n jLabel13.setText(\\\"Doctor's Notes\\\");\\n\\n jLabel14.setText(\\\"Lab Notes\\\");\\n\\n create.setText(\\\"Create\\\");\\n create.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n createActionPerformed(evt);\\n }\\n });\\n\\n clear.setText(\\\"Clear\\\");\\n clear.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n clearActionPerformed(evt);\\n }\\n });\\n\\n exit.setText(\\\"Exit\\\");\\n exit.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n exitActionPerformed(evt);\\n }\\n });\\n\\n listDoctor.addItemListener(new java.awt.event.ItemListener() {\\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\\n listDoctorItemStateChanged(evt);\\n }\\n });\\n\\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\\n getContentPane().setLayout(layout);\\n layout.setHorizontalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(23, 23, 23)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel3)\\n .addComponent(jLabel8)\\n .addComponent(jLabel10)\\n .addComponent(jLabel12)\\n .addComponent(jLabel4)\\n .addComponent(jLabel7))\\n .addGap(46, 46, 46)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(weight)\\n .addComponent(cholesterol)\\n .addComponent(diag, javax.swing.GroupLayout.Alignment.TRAILING)\\n .addComponent(date, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(height, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(62, 62, 62)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel6)\\n .addComponent(jLabel5)\\n .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel11)\\n .addComponent(jLabel13)\\n .addComponent(jLabel14))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(doctornote)\\n .addComponent(visit, javax.swing.GroupLayout.PREFERRED_SIZE, 222, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(labnote)\\n .addComponent(bp, javax.swing.GroupLayout.DEFAULT_SIZE, 224, Short.MAX_VALUE)\\n .addComponent(listDoctor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\\n .addContainerGap(14, Short.MAX_VALUE))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(247, 247, 247)\\n .addComponent(create)\\n .addGap(27, 27, 27)\\n .addComponent(clear)\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(272, 272, 272)\\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(131, 131, 131)\\n .addComponent(exit, javax.swing.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE)\\n .addGap(14, 14, 14))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(424, 424, 424)\\n .addComponent(location, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addContainerGap(211, Short.MAX_VALUE))\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(24, 24, 24)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel1)\\n .addComponent(exit))\\n .addGap(14, 14, 14)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel4)\\n .addComponent(listDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(23, 23, 23)\\n .addComponent(jLabel3))\\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\\n .addGap(18, 18, 18)\\n .addComponent(location, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE))))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(63, 63, 63)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel5))\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(date, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel6))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel9)\\n .addComponent(bp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(height, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel7))\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel8)\\n .addComponent(weight, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel11)\\n .addComponent(visit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(22, 22, 22)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel10)\\n .addComponent(cholesterol, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel13)\\n .addComponent(doctornote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(28, 28, 28)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel12)\\n .addComponent(diag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(labnote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jLabel14))\\n .addGap(85, 85, 85)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(create)\\n .addComponent(clear))))\\n .addContainerGap(41, Short.MAX_VALUE))\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaf1f561f915a99d99d58c971bcb9d5f\",\n \"score\": \"0.51413727\",\n \"text\": \"private void displayResourcesTechnologyConsultation() {\\n\\t\\t// cblupo, I changed Go back to '1' because I used 1 in earlier method\\n\\t\\tsop(\\\"(1) Go back\\\\n\\\"+\\n\\t\\t\\t\\\"(2) Schedule new appointment\\\\n\\\"+\\n\\t\\t\\t\\\"(3) View past appointments\\\"\\n\\t\\t);\\n\\t\\tint res = console.nextInt();\\n\\t\\t\\n\\t\\tswitch(res){\\n\\t\\t\\tcase 1:{\\n\\t\\t\\t\\tdisplayHomepage();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tcase 2:{\\n\\t\\t\\t\\t//schedule new appointment\\n\\t\\t\\t\\tString location;\\n\\t\\t\\t\\tString date1, date2, date3;\\n\\t\\t\\t\\tString topic;\\n\\t\\t\\t\\tsop(\\\"enter desired library (Hunt OR Hill)\\\");\\n\\t\\t\\t\\tlocation = console.next();\\n\\t\\t\\t\\tsop(\\\"enter first desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\\\"+\\n\\t\\t\\t\\t\\t\\\"example '2003-05-03,21:02:44'\\\");\\n\\t\\t\\t\\tdate1 = console.next();\\n\\t\\t\\t\\tsop(\\\"enter second desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\\\"+\\n\\t\\t\\t\\t\\t\\\"example '2003-05-03,21:02:44'\\\");\\n\\t\\t\\t\\tdate2 = console.next();\\n\\t\\t\\t\\tsop(\\\"enter third desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\\\"+\\n\\t\\t\\t\\t\\t\\\"example '2003-05-03,21:02:44'\\\");\\n\\t\\t\\t\\tdate3 = console.next();\\n\\t\\t\\t\\tsop(\\\"enter the amnout of time you will need help (in hours)\\\");\\n\\t\\t\\t\\tint duration = console.nextInt();\\n\\t\\t\\t\\tduration = 1; //because default\\n\\t\\t\\t\\tsop(\\\"enter the topic you need help with\\\");\\n\\t\\t\\t\\ttopic = console.next();\\n\\t\\t\\t\\tTimestamp d1s = strToTs(date1);\\n\\t\\t\\t\\tTimestamp d1e = addHours(d1s, duration);\\n\\t\\t\\t\\tTimestamp d2s = strToTs(date2);\\n\\t\\t\\t\\tTimestamp d2e = addHours(d2s, duration);\\n\\t\\t\\t\\tTimestamp d3s = strToTs(date3);\\n\\t\\t\\t\\tTimestamp d3e = addHours(d3s, duration);\\n\\t\\t\\t\\tdb.requestTechnologyConsultation(currentID, location, d1s, d1e, d2s, d2e, d3s, d3e, topic);\\n\\t\\t\\t\\tdisplayHomepage();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tcase 3:{\\n\\t\\t\\t\\t//view past appointments\\n\\t\\t\\t\\tsop(db.displayTechnologyConsultations(currentID));\\n\\t\\t\\t\\tsop(\\\"Enter the consultation ID to leave feedback for that consultation\\\");\\n\\t\\t\\t\\tsop(\\\"Enter 0 to go back\\\");\\n\\t\\t\\t\\tString resp = console.next();\\n\\t\\t\\t\\tif(resp.equals(\\\"0\\\")){\\n\\t\\t\\t\\t\\tdisplayHomepage();\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tsop(\\\"Enter feedback for consultation \\\" + resp);\\n\\t\\t\\t\\t\\tString feedback = console.next();\\n\\t\\t\\t\\t\\tif(db.addTechnologyConsultationFeedback(resp, feedback)){\\n\\t\\t\\t\\t\\t\\tsop(\\\"Thanks for the feedback!\\\");\\n\\t\\t\\t\\t\\t\\tdisplayHomepage();\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tsop(\\\"leaving feedback failed.\\\");\\n\\t\\t\\t\\t\\t\\tdisplayHomepage();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tdefault:{\\n\\t\\t\\t\\tsop(\\\"failed. Enter one of the given numbers.\\\");\\n\\t\\t\\t\\tdisplayHomepage();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0996e7fcf2925a49894e85623d325c7c\",\n \"score\": \"0.51401025\",\n \"text\": \"public Times() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5f6ae48b9fd3905251644eddcc0c49e\",\n \"score\": \"0.5135392\",\n \"text\": \"public ShowPost() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c187099105e58dc4e9408dab3526fc96\",\n \"score\": \"0.5133503\",\n \"text\": \"public SchoolHubTarea() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1a63388bbcc107b7e6c0efd843d7a68\",\n \"score\": \"0.5126174\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n jLabel1 = new javax.swing.JLabel();\\n jLabel2 = new javax.swing.JLabel();\\n jLabel3 = new javax.swing.JLabel();\\n patientid = new javax.swing.JTextField();\\n jLabel4 = new javax.swing.JLabel();\\n exit = new javax.swing.JButton();\\n CreateAppt = new javax.swing.JButton();\\n Clear = new javax.swing.JButton();\\n jDateChooser1 = new com.toedter.calendar.JDateChooser();\\n listDoctor = new javax.swing.JComboBox();\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\\n setTitle(\\\"New Appointment\\\");\\n setName(\\\"createAppointment\\\\n\\\"); // NOI18N\\n\\n jLabel1.setFont(new java.awt.Font(\\\"Lucida Grande\\\", 0, 15)); // NOI18N\\n jLabel1.setText(\\\"New Appointment \\\");\\n\\n jLabel2.setText(\\\"Patient ID\\\");\\n\\n jLabel3.setText(\\\"Doctor ID \\\");\\n\\n jLabel4.setText(\\\"Appointment\\\");\\n\\n exit.setText(\\\"Exit\\\");\\n exit.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n exitActionPerformed(evt);\\n }\\n });\\n\\n CreateAppt.setText(\\\"Create\\\");\\n CreateAppt.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n CreateApptActionPerformed(evt);\\n }\\n });\\n\\n Clear.setText(\\\"Clear\\\");\\n Clear.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n ClearActionPerformed(evt);\\n }\\n });\\n\\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\\n getContentPane().setLayout(layout);\\n layout.setHorizontalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(259, 259, 259)\\n .addComponent(jLabel1)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 194, Short.MAX_VALUE)\\n .addComponent(exit)\\n .addGap(23, 23, 23))\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(176, 176, 176)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel2)\\n .addComponent(jLabel4)\\n .addComponent(jLabel3)))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(234, 234, 234)\\n .addComponent(CreateAppt, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\\n .addGap(16, 16, 16)\\n .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(19, 19, 19)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(Clear, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(patientid, javax.swing.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE)\\n .addComponent(listDoctor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\\n .addContainerGap(160, Short.MAX_VALUE))\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(21, 21, 21)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel1)\\n .addComponent(exit))\\n .addGap(19, 19, 19)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel2)\\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(22, 22, 22)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel3)\\n .addComponent(listDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(30, 30, 30)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jLabel4)\\n .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 39, Short.MAX_VALUE)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(CreateAppt)\\n .addComponent(Clear, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(48, 48, 48))\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d38e9e4724b3906b003dee6b770a56e5\",\n \"score\": \"0.51221365\",\n \"text\": \"public TournamentConfigurationView() {\\n initComponents();\\n setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ce34867cffb144ef5296bac0e6912c9\",\n \"score\": \"0.5120062\",\n \"text\": \"public VehicleDepartureForm() {\\n initComponents();\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d5a5e8a26e89b1a7398e75eb53a6cd5\",\n \"score\": \"0.5111308\",\n \"text\": \"public fragment_dialog_for_user_lock_set_time_am_pm() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"380fea30e26b078689ab18ad9c3491b3\",\n \"score\": \"0.5104917\",\n \"text\": \"public Form_Locacao() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49da2dc59680e052a62ee57b40a42763\",\n \"score\": \"0.51035136\",\n \"text\": \"public FormMain() {\\n initComponents();\\n adjustCurrentUser(Session.getInstance().getCurrentUser());\\n setLocationRelativeTo(null);\\n setExtendedState(MAXIMIZED_BOTH);\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c4f68b0153c5a76be9d35f2f02b5720\",\n \"score\": \"0.51017743\",\n \"text\": \"public FrameCalendario() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9df872ab712841e842104ed3b006d86\",\n \"score\": \"0.5099501\",\n \"text\": \"private void initView() {\\r\\n\\t\\t//set up our initial view of the pane\\r\\n\\t\\t//Add the ID texfield with label to the pane\\r\\n\\t\\tJPanel p = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task ID: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getTaskID());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task name textfield to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Name: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getTaskTitle());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task category JComboBox to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Category: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getCategory());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task start date JSpinner to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Start Date: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getTaskStartSpinner());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task due date JSpinner to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Due Date: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getTaskDueSpinner());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task completed date JSpinner to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Completion Date: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getTaskCompletedSpinner());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task completed status checkbox to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Completion Status: \\\", SwingConstants.LEFT));\\r\\n\\t\\tp.add(getComplete());\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\t//add the Task details JTextArea to the pane\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(new JLabel(\\\"Task Details: \\\", SwingConstants.LEFT));\\r\\n\\t\\tthis.add(p);\\r\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\r\\n\\t\\tp.add(getTaskDetails());\\r\\n\\t\\tthis.add(p);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"007a998202bdfef1f4a8e5e9c9169e2a\",\n \"score\": \"0.5092899\",\n \"text\": \"public int showTimeDialog()\\n\\t{\\n\\t\\treturn showDialog(owner, layoutPanel, SwingLocale.getString(\\\"time_selector\\\"), IconFactory.getSwingIcon(\\\"component/calendar_48.png\\\"));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f38c80cbbed1ff072278a0d0a4732caf\",\n \"score\": \"0.5091158\",\n \"text\": \"public CreateReservationJFrame() {\\n initComponents();\\n populateHotels();\\n populateRoomTypes();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"826441570923542dc467d84d401c1f69\",\n \"score\": \"0.50856286\",\n \"text\": \"public FlightTravelAgencyGUI() \\n {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef7bebacf5c8358d783c008bc008d258\",\n \"score\": \"0.50854146\",\n \"text\": \"private void initUi() {\\n\\t\\tArrayList todaysTasks = getTodayTasks(TaskManager.getInstance().getTaskList());\\n\\t\\t//If there are no tasks for today show an error\\n\\t\\tif (todaysTasks.size() == 0) {\\n\\t\\t\\tJOptionPane.showMessageDialog(PanicController.getInstance().getFrame(), I18.getInstance().properties.getString(\\\"noTasksToday\\\"), I18.getInstance().properties.getString(\\\"noTasksTodayTitle\\\"), JOptionPane.INFORMATION_MESSAGE);\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\t//If there already is a frame showing, remove it and show a new one\\n\\t\\t\\tif (today == null) {\\n\\t\\t\\t\\ttoday = new JFrame();\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\ttoday.dispose();\\n\\t\\t\\t\\ttoday = new JFrame();\\n\\t\\t\\t}\\n\\t\\t\\ttoday.setTitle(I18.getInstance().properties.getString(\\\"todaysTasks\\\"));\\n\\t\\t\\t\\n\\t\\t\\t//Create a panel to use as contentpane\\n\\t\\t\\tJPanel panel = new JPanel();\\n\\t\\t\\t\\n\\t\\t\\t//Create a view for the tasks\\n\\t\\t\\ttasks = new JList(todaysTasks.toArray());\\n\\t\\t\\ttasks.setSize(300, 0);\\n\\t\\t\\trenderer = new TasksTodayRenderer();\\n\\t\\t\\ttasks.setCellRenderer(renderer);\\n\\t\\t\\ttasks.addMouseListener(new TodayTasksMouseAdapter());\\n\\t\\t\\t//Add it to the contentpane\\n\\t\\t\\tpanel.add(tasks);\\n\\t\\t\\t\\n\\t\\t\\t//Get the mainframe for positioning calculations\\n\\t\\t\\tJFrame mainFrame = PanicController.getInstance().getFrame();\\n\\t\\t\\t\\n\\t\\t\\t//Set the contentpane to the JPanel\\n\\t\\t\\ttoday.setContentPane(panel);\\n\\t\\t\\ttoday.pack();\\n\\t\\t\\ttoday.setSize(200,todaysTasks.size()*20 + 30);\\n\\t\\t\\ttoday.setResizable(false);\\n\\t\\t\\t\\n\\t\\t\\t//Use the mainFrame to calculate position to appear in the middle\\n\\t\\t\\ttoday.setLocation(mainFrame.getLocation().x + mainFrame.getWidth()/2 - today.getWidth()/2, \\n\\t\\t\\t\\t\\t mainFrame.getLocation().y + mainFrame.getHeight()/2 - today.getHeight()/2);\\n\\t\\t\\ttoday.setVisible(true);\\n\\t\\t\\t//Lastly, make sure you get focus\\n\\t\\t\\ttoday.requestFocus();\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc659f1945bfa18b8a7d50b928b7b955\",\n \"score\": \"0.50814104\",\n \"text\": \"public ActionForward start(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)\\n throws Exception {\\n\\n Map fieldValues = new HashMap();\\n fieldValues.put(\\\"id\\\", request.getParameter(\\\"scheduleId\\\"));\\n List> permittedMinutes = new ArrayList>();\\n CommitteeScheduleBase commSchedule = (CommitteeScheduleBase) getBusinessObjectService().findByPrimaryKey(getCommitteeScheduleBOClass(), fieldValues);\\n List minutes = commSchedule.getCommitteeScheduleMinutes();\\n \\n // use the entry type comparator to sort the minutes \\n Collections.sort(minutes, CommitteeScheduleMinuteBase.entryTypeComparator);\\n \\n for (CommitteeScheduleMinuteBase minute : minutes) {\\n if (getReviewerCommentsService().getReviewerCommentsView(minute)) {\\n permittedMinutes.add(minute);\\n } \\n }\\n commSchedule.setCommitteeScheduleMinutes(permittedMinutes);\\n ((MeetingFormBase) form).setReadOnly(\\\"true\\\".equals(request.getParameter(\\\"readOnly\\\")));\\n ((MeetingFormBase) form).getMeetingHelper().setCommitteeSchedule(commSchedule);\\n if ( !((MeetingFormBase) form).getMeetingHelper().hasViewModifySchedulePermission() ) {\\n // same exception as of checkauthorization of kualiaction\\n throw new AuthorizationException(GlobalVariables.getUserSession().getPerson().getPrincipalName(), \\\"start\\\", this\\n .getClass().getSimpleName());\\n }\\n\\n getMeetingService().populateFormHelper(((MeetingFormBase) form).getMeetingHelper(), commSchedule,\\n getScheduleLineNumber(request, commSchedule));\\n return mapping.findForward(Constants.MAPPING_BASIC);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aed552e4ee806c54775e7a453ccf1b33\",\n \"score\": \"0.5080472\",\n \"text\": \"private void initView(Meeting meet) {\\n\\t\\t\\n\\n\\t\\ttvCreateDate = (TextView) findViewById(R.id.tv_meeting_detail_date);\\n\\t\\ttvApplyName = (TextView) findViewById(R.id.tv_meeting_detail_applyname);\\n\\t\\ttvInviteName = (TextView) findViewById(R.id.tv_meeting_detail_invitename);\\n\\t\\ttvState = (TextView) findViewById(R.id.tv_meeting_detail_state);\\n\\t\\ttvApplyContent = (TextView) findViewById(R.id.tv_meeting_detail_applytext);\\n\\t\\t\\n\\t\\t\\n\\t\\tbtnAgree = (Button) findViewById(R.id.btn_meeting_detail_agree);\\n\\t\\tbtnRefuse = (Button) findViewById(R.id.btn_meeting_detail_refuse);\\n\\t\\tbtnAgree.setOnClickListener(this);\\n\\t\\tbtnRefuse.setOnClickListener(this);\\n//\\t\\tLog.i(\\\"meeting\\\", \\\"时间:\\\"+meet.getCreateAt());\\n//\\t\\tLog.i(\\\"meeting\\\", \\\"申请人姓名:\\\"+meet.getApplyUser().getNickName());\\n//\\t\\tLog.i(\\\"meeting\\\", \\\"受邀人姓名:\\\"+meet.getInviteUser().getNickName());\\n//\\t\\tLog.i(\\\"meeting\\\", \\\"状态:\\\"+meet.getState());\\n//\\t\\tLog.i(\\\"meeting\\\", \\\"留言:\\\"+meet.getApplyText());\\n//\\t\\t\\n//\\t\\ttvCreateDate.setText(meet.getCreatedAt());\\n//\\t\\ttvApplyName.setText(meet.getApplyUser().getNickName());\\n//\\t\\ttvInviteName.setText(meet.getInviteUser().getNickName());\\n//\\t\\ttvApplyContent.setText(meet.getApplyText());\\n//\\t\\ttvState.setText(meet.getState()+\\\"\\\");\\n//\\t\\t\\n//\\t\\tif (inviteUserId!=null && inviteUserId.equals(BmobUser.getCurrentUser(this, User.class).getObjectId())) {\\n//\\t\\t\\tif( meet.getState()==1){\\n//\\t\\t\\t\\ttvState.setText(\\\"2\\\");\\n//\\t\\t\\t\\tupdate(meet,2);\\n//\\t\\t\\t}\\n//\\t\\t} else {\\n//\\t\\t\\ttvState.setText(meet.getState() + \\\"\\\");\\n//\\t\\t\\tbtnAgree.setVisibility(View.GONE);\\n//\\t\\t\\tbtnRefuse.setVisibility(View.GONE);\\n//\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":842,"cells":{"query_id":{"kind":"string","value":"5a15fc4f9b819b62ce6ec9ab3a92e8d8"},"query":{"kind":"string","value":"FileReader reader = new FileReader(path);"},"positive_passages":{"kind":"list like","value":[{"docid":"958f955b73a1d7dbf9a7a2786f79f74b","score":"0.5685541","text":"public static void readFile(String path) throws Exception{\n\t\tFile file = new File(path);\r\n\t\tSystem.out.println(file.getAbsolutePath());\r\n\t\tScanner scanner = new Scanner(file);\r\n\t\twhile (scanner.hasNext())\r\n\t\t\tSystem.out.println(scanner.next());\r\n\t\t\r\n\t\t\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"958f955b73a1d7dbf9a7a2786f79f74b\",\n \"score\": \"0.5685541\",\n \"text\": \"public static void readFile(String path) throws Exception{\\n\\t\\tFile file = new File(path);\\r\\n\\t\\tSystem.out.println(file.getAbsolutePath());\\r\\n\\t\\tScanner scanner = new Scanner(file);\\r\\n\\t\\twhile (scanner.hasNext())\\r\\n\\t\\t\\tSystem.out.println(scanner.next());\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"3606b494b516c7c63adf516441ec28e7","score":"0.6963669","text":"public void readFile(String filepath);","title":""},{"docid":"335b05a9cbe2d55afea6fecadf195a7e","score":"0.6913169","text":"public static String readFromFile(final InputStream path) throws IOException {\r\n InputStreamReader fr = null;\r\n BufferedReader br = null;\r\n StringBuilder stringBuilder = new StringBuilder();\r\n\r\n try {\r\n fr = new InputStreamReader(path);\r\n br = new BufferedReader(fr);\r\n\r\n String line;\r\n while ((line = br.readLine()) != null) {\r\n stringBuilder.append(line).append(\"\\n\");\r\n }\r\n } finally {\r\n if (br != null) {\r\n try {\r\n br.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n if (fr != null) {\r\n try {\r\n fr.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }\r\n\r\n return stringBuilder.toString();\r\n}","title":""},{"docid":"3d81b1965b5f40e709b6fe7c5c71df0f","score":"0.6867099","text":"@Override\r\n\tpublic void readFromFile() {\n\t\t\r\n\t}","title":""},{"docid":"3d81b1965b5f40e709b6fe7c5c71df0f","score":"0.6867099","text":"@Override\r\n\tpublic void readFromFile() {\n\t\t\r\n\t}","title":""},{"docid":"a77f5c3ce96cfb1773f6456af5879e5a","score":"0.6786642","text":"public InputStream openFileRead(String name)\r\n throws IOException;","title":""},{"docid":"4f01769ef30ed312cfaf40fd4838b9c2","score":"0.6717148","text":"File file(String path);","title":""},{"docid":"4e1d005b58a9a7c7c32b011412a7bf9f","score":"0.6675846","text":"public static String readFromFile(final File path) throws IOException {\r\n FileInputStream fis = null;\r\n try {\r\n fis = new FileInputStream(path);\r\n return readFromFile(fis);\r\n } finally {\r\n if (fis != null) {\r\n fis.close();\r\n }\r\n }\r\n}","title":""},{"docid":"0d876cc7d505e8bbd21b34b05384fbf0","score":"0.66697884","text":"InputStream open(String path);","title":""},{"docid":"91f76a9a758725c65a4da72873b4fc1b","score":"0.6619909","text":"public void readFile();","title":""},{"docid":"0da93ed74d216be58e1e4d1732101662","score":"0.66119194","text":"@Override\r\n\tpublic void readFromFile(String fileName) {\n\t\t\r\n\t}","title":""},{"docid":"0a50433e4cebe0c30268762d99dd5a53","score":"0.65912193","text":"BufferedReader readFile() {\n\t\tPath path = Paths.get(properties.getProperty(\"uri\"));\n\t\tBufferedReader reader = null;\n\t\ttry {\n\t\t\treader = Files.newBufferedReader(path);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error while opening file\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn reader;\n\t}","title":""},{"docid":"bef0b4887a5c34b4ad6f9a976a10718e","score":"0.65637857","text":"void read(Reader reader) throws IOException, ClassNotFoundException;","title":""},{"docid":"68b96d36ab8ed67872c7836cade7d35d","score":"0.6502057","text":"private BufferedReader getFileReader() {\n \tBufferedReader reader = null;\n JFileChooser fileOpen = new JFileChooser();\n fileOpen.showOpenDialog(null);\n FileReader fileRead;\n\t\ttry {\n\t\t\tfileRead = new FileReader(fileOpen.getSelectedFile().getPath());\n\t\t\treader = new BufferedReader(fileRead);\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n return reader;\n }","title":""},{"docid":"7ee4b5efeb4a0a3fa2eccaf3c66f0f24","score":"0.6485486","text":"public void veryComplexMethod() throws Exception {\n FileReader fr=new FileReader(\"C:\\\\s.txt\");\n }","title":""},{"docid":"a4f17a32ecdca4201900a51e9824f208","score":"0.6460091","text":"private static ClassReader parserFile(Path path) throws IOException {\n\t\treturn new ClassReader(parsingPathToByte(path));\t\t\n\t}","title":""},{"docid":"04e1dda0672082a40677d430be46bd3e","score":"0.6459547","text":"public static void solution6a() {\n BufferedReader in = null;\n try {\n in = Files.newBufferedReader(path, StandardCharsets.UTF_8);\n } catch (IOException ex) {\n System.err.println(\"Caught IOException: \" + ex.getMessage());\n } finally {\n try {\n if (in != null) {\n in.close();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"6e0fcab601b8b11c3e435f583d899352","score":"0.64472526","text":"private final static synchronized File loadFile(String path) {\n\t\treturn new File(path);\n\t}","title":""},{"docid":"a0eeb05f619056102896359b531fc6c5","score":"0.6414663","text":"public InputStream openFile(String filename);","title":""},{"docid":"f64bd001af614064994a1b38e6520344","score":"0.63439924","text":"long openFile(String path) throws IOException;","title":""},{"docid":"bd7603b2eee4d1dd53c9436ed50f6ba0","score":"0.6330531","text":"static private BufferedReader buildBufferedReader(String path) throws IOException {\n return new BufferedReader(new InputStreamReader(new FileInputStream(path)));\n }","title":""},{"docid":"45823a6a0954f70fbd52c5ae9105b046","score":"0.6285115","text":"T load(String path);","title":""},{"docid":"9ac3e6069d541b9c98aa7a9228d14d35","score":"0.62643224","text":"public void loadFromFile(String file);","title":""},{"docid":"d10d582599deeea5e52ea74de45cc0ac","score":"0.62192106","text":"public void loadFromFile(String path){\r\n\t\t\r\n\t\ttry {\r\n\t\t\tm_reader = new BufferedReader(new FileReader(path));\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\r\n\t\tnextLine();\r\n\t\r\n\t\twhile(m_line != null){\r\n\t\t\tprocess();\r\n\t\t\tnextLine();\r\n\t\t}\r\n\t\r\n\t}","title":""},{"docid":"212c5afa4c4ecd585f988609c2675bee","score":"0.62048566","text":"public void load(File file) throws FileNotFoundException;","title":""},{"docid":"e138a20e037afe10a27ad49d5363dade","score":"0.6191414","text":"public static BufferedReader create_reader(String filename){\n\t\tBufferedReader in = null;\n\t\ttry{ // If an exception is raised, return NULL\n\t\t\tFile inFile = new File(filename);\n\t\t\tFileInputStream fis = new FileInputStream(inFile);\n\t\t\tDataInputStream dis = new DataInputStream(fis);\n\t\t\tInputStreamReader isr = new InputStreamReader(dis);\n\t\t\tin = new BufferedReader(isr);\n\t\t} catch (Exception e){\n\t\t\tSystem.err.println(\"Error opening reader over file: \" + filename);\n\t\t} // And output a message concerning nature of error\n\t\treturn in;\n\t}","title":""},{"docid":"01f9566d36acaf396c66b4e04771ae61","score":"0.6180029","text":"public static void solution6c() {\n try (BufferedReader in = Files.newBufferedReader(path, StandardCharsets.UTF_8)) {\n } catch (IOException ex) {\n System.err.println(\"Caught IOException: \" + ex.getMessage());\n }\n }","title":""},{"docid":"12fdb6ce0439aec6ef6ec1b6d7cd489a","score":"0.61427474","text":"InputStream openFile(String s);","title":""},{"docid":"0b667a94f87a634e2d91001f843200c5","score":"0.6134117","text":"public Excel_Reader(String path) {\n \tthis.path = path;\t\n\ttry {\n\tfis = new FileInputStream(path);\n\tworkbook = new XSSFWorkbook(fis);\n\tsheet = workbook.getSheetAt(0);\n\tfis.close();\n\t} catch (Exception e) {\n\te.printStackTrace();\n\t}\n\t}","title":""},{"docid":"a4418acf6b802f212f03426eadffcb2b","score":"0.6105897","text":"public abstract void load(String fileName);","title":""},{"docid":"389ee7b70906bf6b5a6ff5034a6dd126","score":"0.6103778","text":"public StringsFromFile(java.io.Reader reader) {\r\n this.reader = reader;\r\n }","title":""},{"docid":"55319815d2c3335b011dbd9d0cc385ba","score":"0.609754","text":"public JLineReader(File file){\t\t\r\n\t\tthis.file = file;\r\n\t}","title":""},{"docid":"88b18e49faf09d976139f3299e00bac8","score":"0.6061282","text":"private static String readFile(String path) \n\t{\n\t\t\t byte[] encoded;\n\t\t\t String s = \"\";\n\t\t\ttry {\n\t\t\t\tencoded = Files.readAllBytes(Paths.get(path));\n\t\t\t\ts = new String(encoded);\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t return s;\n\t}","title":""},{"docid":"4f7f73f9b045df5bc79af037af9de0d3","score":"0.6049039","text":"File file();","title":""},{"docid":"f5de186e473df5d257b879b46ecf8831","score":"0.6035793","text":"Reader obtainReader();","title":""},{"docid":"7000ecdf120d71ad3bde5f0a61767b0f","score":"0.60335785","text":"public abstract void read(Vector filename);","title":""},{"docid":"ffe07b5f0614eae47b229715af22b754","score":"0.6025682","text":"void readFiles() {\n\n\n }","title":""},{"docid":"bc92b617c1fb804355801de1d0bcff90","score":"0.6022309","text":"public String fileRead(String path) {\n\t\tclassLineNum c=new classLineNum();\r\n\t\t\r\n\t\treturn c.readFilex(path);\r\n\t}","title":""},{"docid":"ecf040d6f2b7cfb4d9210b076782158c","score":"0.6019575","text":"public ReadFileManager(){\n\t\t\n\t}","title":""},{"docid":"bc517e045bf8a63495359bceae8eb923","score":"0.6006374","text":"@Override\n public File getFileFromPath(String path) {\n return new File(path);\n }","title":""},{"docid":"0742dbcb0b3ae938a9aa357fe373f4b7","score":"0.6003317","text":"public Object read(String path) {\n \treturn null;\r\n }","title":""},{"docid":"3acbae06b375b3ba3dd6230f10c2b075","score":"0.5998436","text":"public static String read(String fileName) {\n StringBuilder sb = new StringBuilder(\"\"); \n if (exists(fileName)){\n File file = new File(fileName);\n try {\n BufferedReader in = new BufferedReader(new FileReader( file.getAbsoluteFile()));\n try {\n String s;\n while ((s = in.readLine()) != null) {\n sb.append(s);\n sb.append(\"\\n\");\n }\n } finally {\n in.close();\n }\n } catch(IOException e) {\n throw new RuntimeException(e);\n }\n }\n return sb.toString();\n}","title":""},{"docid":"835e49f422d4c6ab6c06d3eb5a8700ee","score":"0.599557","text":"public FileReader(Player player)\n {\n this.player = player;\n analyzeLevelFiles();\n }","title":""},{"docid":"80e6a279962f4e09dd5b766bf564becc","score":"0.5986098","text":"private void loadFromDisk(String filename) throws IOException {\n try {\n Reader r = new FileReader(filename);\n load(r);\n\n //Convert FileNotFoundException to IOException to conform with constructor throws clause\n } catch (FileNotFoundException e) {\n throw new IOException(\"No file could be found at \"+filename);\n }\n }","title":""},{"docid":"92eef8e705f3a35a78cbd4479a72ee3a","score":"0.5982226","text":"public static void ReadFileToConsole(String filePath) throws FileNotFoundException\n {\n FileReader f = new FileReader(filePath);\n //...do something with it...\n }","title":""},{"docid":"e934d67a8a0110f15add7b139cdb8e73","score":"0.5971349","text":"public Reader(String filepath) {\n\t\t\n\t\tfile = new File(filepath);\n\t\ttry {\n\t\t\treader = new FileReader(file);\n\t\t\tbufferedReader = new BufferedReader(reader);\n\t\t\tfileOpened = true;\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"Database failed to load\");\n\t\t}\n\t\t\n\t}","title":""},{"docid":"70a35a0ee919b9ef427fac8ab4daa7e6","score":"0.594711","text":"public IReader getReader(String path) throws IllegalArgumentException\n {\n String extension = path.substring(path.lastIndexOf('.')+1);\n \n switch(extension)\n {\n case \"xlsx\":\n return new ExcelReader();\n case \"xls\":\n return new ExcelReader();\n case \"csv\":\n return new CSVReader();\n default: \n throw new IllegalArgumentException(\"The filetype '\"+extension+\"' is not valid\");\n }\n \n }","title":""},{"docid":"4462e0b2a05f8b725a389274b75a2a2f","score":"0.5939305","text":"public InputStream openFileReadOrNull(String name);","title":""},{"docid":"486dd4d34bb8209e861810f1f02860fd","score":"0.59358656","text":"private static String usingBufferedReader(String filePath) {\n\t\t\n\t StringBuilder contentBuilder = new StringBuilder();\n\t try (BufferedReader br = new BufferedReader(new FileReader(filePath)))\n\t {\n\t \n\t String sCurrentLine;\n\t while ((sCurrentLine = br.readLine()) != null)\n\t {\n\t contentBuilder.append(sCurrentLine).append(\"\\n\");\n\t }\n\t }\n\t catch (IOException e)\n\t {\n\t e.printStackTrace();\n\t }\n\t return contentBuilder.toString();\n\t}","title":""},{"docid":"7879c3915084319de299e903ccdad456","score":"0.593564","text":"public static void main(String[] args) throws FileNotFoundException {\n\n File file = new File(\"test.txt\");\n\n FileReader fr = new FileReader(file);\n }","title":""},{"docid":"962ad55389a699e87a4df6454fe24d1b","score":"0.5928652","text":"public static BufferedReader readFileFromDisk() {\n try {\n File file = openFile();\n if (file != null) {\n FileReader fr = new FileReader(file);\n BufferedReader br = new BufferedReader(fr);\n return br;\n }\n else {\n return null;\n }\n }\n catch (IOException e) {\n System.err.println(\"Unable to read file\");\n e.printStackTrace();\n }\n return null;\n }","title":""},{"docid":"e4686d1d6041603b34687e9a2e704a47","score":"0.5919563","text":"public static final Reader getReader(String filePath, String encoding) {\n\n\t\ttry {\n\n\t\t\tfilePath = relativePath(filePath);\n\t\t\tString absPath = absolutePath(filePath);\n\t\t\treturn new InputStreamReader(new FileInputStream(absPath), encoding);\n\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}","title":""},{"docid":"37e71ad71fb42b9d3a18080d073e09e3","score":"0.5916158","text":"private void initializeReader() {\n try {\n reader.set(new FileReader(FileActions.getInstance().getAbsolutePath(jsonFilePath), StandardCharsets.UTF_8));\n } catch (FileNotFoundException rootCauseException) {\n FailureReporter.fail(this.getClass(), \"Couldn't read the desired file. [\" + this.jsonFilePath + \"].\", rootCauseException);\n } catch (IOException formatException) {\n FailureReporter.fail(this.getClass(), \"file didn't match the specified format. [\" + this.jsonFilePath + \"].\", formatException);\n }\n }","title":""},{"docid":"ccd38cf27195540532f80054c677365d","score":"0.5915063","text":"private void readFile(String path){\n try {\n BufferedReader bufferedReader = new BufferedReader(new FileReader(path));\n String line = bufferedReader.readLine();\n while (line != null)\n {\n lineArrayList.add(line);\n line = bufferedReader.readLine();\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"62941cf77afb03b54a3a65dbfb0d6a0f","score":"0.59068483","text":"File getFile();","title":""},{"docid":"91cf683e3514c52bec7d4ca6f9de0b25","score":"0.59034294","text":"public static File LoadFile(String path) {\n\t\treturn new File(path);\n\t}","title":""},{"docid":"cceb7687caac0216dfe299bb662ba65e","score":"0.58981913","text":"public static void ReadFile(String filePath) throws IOException {\n BufferedReader bufferedReader = null;\n if (filePath == null){\n InputStream in = InputProcess.class.getResourceAsStream(\"input.txt\");\n bufferedReader =new BufferedReader(new InputStreamReader(in));\n }\n else{\n FileReader fileReader = new FileReader(filePath);\n bufferedReader = new BufferedReader(fileReader);\n }\n String line = null;\n while ((line = bufferedReader.readLine()) != null) {\n ProcessReadLine(line);\n }\n bufferedReader.close();\n }","title":""},{"docid":"0cb7272d8b26dcdec56f0ec7eee3e34a","score":"0.5891601","text":"public static String loadFileAsString(String path) {\r\n //creates StringBuilder class.\r\n StringBuilder builder = new StringBuilder();\r\n \r\n //this try-catch block will read in the file at the parameter variable\r\n //path and appends it to the builder.\r\n try {\r\n //creates bufferedReader object which will read in the file.\r\n BufferedReader br = new BufferedReader(new FileReader(path));\r\n //temp variable for reading in lines\r\n String line;\r\n //this loop will read until there is no next line.\r\n while((line=br.readLine()) != null) {\r\n //appends the builder object with the line read in and adds\r\n //new line.\r\n builder.append(line+\"\\n\");\r\n }\r\n //closes the buffered reader.\r\n br.close();\r\n //catches the exception if there is no file. \r\n } catch(IOException e) {\r\n //prints the error to the console\r\n e.printStackTrace();\r\n }\r\n \r\n //returns the builder object as a string.\r\n return builder.toString();\r\n }","title":""},{"docid":"c2f1148727ddfe8875e4bd90c1e7218f","score":"0.58888996","text":"public static GenericFileReader getReader(String filePath) throws IOException, OpenXML4JException, ParserConfigurationException, SAXException, XMLStreamException{\n\t\tString extension = FilenameUtils.getExtension(filePath);\n\t\tif(extension==null){\n\t\t\treturn null;\n\t\t}\n\t\tif(\"xlsx\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSXReader(filePath);\n\t\t}else if(\"csv\".equalsIgnoreCase(extension)){\n\t\t\treturn new CSVReader(filePath);\n\t\t}else if(\"xls\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSReader(filePath);\n\t\t}\n\t\t\n\t\treturn null;\n\t}","title":""},{"docid":"bd6e376225992524ff23c36b30177742","score":"0.5888546","text":"public abstract void open(String fileName) throws IOException;","title":""},{"docid":"e9bdb37f0cbf9a8c2edeee99b48180fd","score":"0.58725333","text":"static String readLineFromFile(String path) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new FileReader(path));\n\t\ttry {\n\t\t\treturn br.readLine();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"c9553064e4c250ef71d2fa8175837a6a","score":"0.5864444","text":"private String readFile(String path) throws IOException {\n\t\tPath p = FileSystems.getDefault().getPath(path);\n\t\tString contents = new String(Files.readAllBytes(p));\n\t\treturn contents;\n\t}","title":""},{"docid":"0a6343c653fc296b2607231d73991ea6","score":"0.5863752","text":"public abstract EntityRoot readFile (File file) ;","title":""},{"docid":"545c22482e9419e232c5c341d2ce6c17","score":"0.5856536","text":"private static String safeRead(String path) {\n try(BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(path)))) {\n return reader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return null;\n }","title":""},{"docid":"434c5411ca4fb41c222f5ddab0719a96","score":"0.5856283","text":"public abstract FileIDE loadFile() throws Exception;","title":""},{"docid":"3a3dcf24a2d5109382be29daec93d342","score":"0.58553153","text":"@Override\n\tpublic String readFileByLines(LineReader reader) {\n\t\treturn null;\n\t}","title":""},{"docid":"20a2472757941daae8c14c0552e55faa","score":"0.58208704","text":"void populateForReference(String fullPath, Reader reader) throws ParsingException;","title":""},{"docid":"b27b690bad2961572712078bfaa43f92","score":"0.581458","text":"@Override\n public InputStream readFile(String file) throws IOException {\n return new FileInputStream(externalStoragePath + file);\n }","title":""},{"docid":"b83f8649d1ec7646d76d7f3a8f72dead","score":"0.58131033","text":"public Reader(String fileName) throws FileNotFoundException {\r\n File file = new File(fileName);\r\n scan = new Scanner(file);\r\n }","title":""},{"docid":"f7537bfd59173b8dbe28d010dcd3d155","score":"0.5777342","text":"public Person loadFromFile(File filename) throws FileNotFoundException;","title":""},{"docid":"d32f95bf98fdfd6025a067eb5b3aa441","score":"0.5773206","text":"public boolean openFileReader() {\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tjsonReader = new BufferedReader(new InputStreamReader(new FileInputStream(path), \"UTF-8\"));\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\tSystem.err.println(\"File is not ready\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\tSystem.err.println(\"Problem with encoding\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}","title":""},{"docid":"e017d740d6738a292632ebf933d1ce22","score":"0.5769515","text":"public Queue readFile(String file);","title":""},{"docid":"d7e03289ff6b9bd9e3bd0f8ccae20910","score":"0.57616997","text":"public void IOEx() throws IOException {\n File file = new File(\"\");\r\n FileReader fr = new FileReader(file);\r\n }","title":""},{"docid":"bc323bd31c6e2f8af9a1422ff024c70e","score":"0.575289","text":"public String read(String path) {\n return FileHandler.readFromFile(path);\n }","title":""},{"docid":"6df62b3e12c79aca49c8fc517149e401","score":"0.5748514","text":"public void handleRead(String path) throws IOException, NoStarterUploadedException {\n if (this.reader != null) {\n reader.read(path);\n } else {\n throw new NoStarterUploadedException();\n }\n }","title":""},{"docid":"a9af1788e0d76c7f270811208d7e23e1","score":"0.5744043","text":"public void decode(String filePath);","title":""},{"docid":"08254e251c15dcedd3815b76dba0b54c","score":"0.5735103","text":"public String readByChar(String path) {\r\n\t\ttry {\r\n\t\t\tbReader = new BufferedReader(new FileReader(path));\r\n\t\t\treturn bReader.readLine();\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\tprintError(e);\r\n\t\t\treturn null;\r\n\t\t} catch (IOException e) {\r\n\t\t\tprintError(e);\r\n\t\t\treturn null;\r\n\t\t} finally {\r\n\t\t\t// Check whether 'bReader' Object is still alive\r\n\t\t\tif (bReader != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tbReader.close(); \r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\tprintError(e);\r\n\t\t\t\t}\r\n\t\t\t} \r\n\t\t}\r\n\t}","title":""},{"docid":"345ab1d630f2d0f8ad05ff8317d0cd65","score":"0.57318574","text":"public ModelReader(String filePath) {\n\t\tsuper(NAME);\n\t\tPreconditions.checkNotNull(filePath,\n\t\t\t\t\"The path of the file cannot be null\");\n\t\tthis.file = new File(filePath);\n\t}","title":""},{"docid":"3731aa294d8f82ace3ede1e3a28c9ab5","score":"0.5726723","text":"public void open() throws IOException\r\n {\r\n // close if already open.\r\n close();\r\n BufferedReader reader = new BufferedReader( new FileReader( getFile() ));\r\n setReader(reader);\r\n }","title":""},{"docid":"ebd57ef5df3b87add1e5f7615e177961","score":"0.57242316","text":"File getFile() throws IOException;","title":""},{"docid":"8bfc6d13ef06f6b57b6a7ddaab14c4fc","score":"0.5722135","text":"public void readfile(String infile) throws IOException {\n\t\tsourcefile = infile;\n\t\treadfile();\n\t}","title":""},{"docid":"7c706c913f67fb9ef42a8a6f9544370c","score":"0.57177436","text":"MyMatrixReader (MyFileReader inputFile){\r\n presentLine = 0;\r\n file = inputFile;\r\n }","title":""},{"docid":"eef47404408534e91ec2c8dba4adaa41","score":"0.57150203","text":"public ConfigFileReader getConfigReader() {\n return (configFileReader == null) ? new ConfigFileReader() : configFileReader;\n }","title":""},{"docid":"f911b7d26f5412198796a69d1cbaac5d","score":"0.5697195","text":"protected static BufferedReader getFileReader(final String filename) {\r\n\r\n try {\r\n String filepath;\r\n\r\n if (filename.equals(DicomDictionary.DEFAULT_DICTIONARY_FILENAME)) {\r\n final URL fileURL = Thread.currentThread().getContextClassLoader().getResource(filename);\r\n\r\n return new BufferedReader(new InputStreamReader(fileURL.openStream()));\r\n } else {\r\n filepath = GetPath.getPath(filename, Purpose.FOR_READING) + File.separator;\r\n }\r\n\r\n if (filepath == null || filepath.equals(File.separator)) {\r\n filepath = \"\";\r\n }\r\n\r\n final File dictionaryFile = new File(filepath + filename);\r\n\r\n if ( !dictionaryFile.exists()) {\r\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \" does not exist.\");\r\n }\r\n\r\n if ( !dictionaryFile.isFile()) {\r\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \" is not a file.\");\r\n }\r\n\r\n if ( !dictionaryFile.canRead()) {\r\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \" does not have 'read' permissions.\");\r\n }\r\n\r\n return new BufferedReader(new FileReader(dictionaryFile));\r\n } catch (final Throwable t) {\r\n return null;\r\n }\r\n }","title":""},{"docid":"654e4546d54d75300a0c7dd3e7111200","score":"0.5696403","text":"public void load(String path) {\n\t\t\r\n\t}","title":""},{"docid":"4f199bdbc4da4038b4e4c98b0cb0171d","score":"0.56803083","text":"public InputStream ReadAsset(String _name) throws IOException;","title":""},{"docid":"53a575423e1ac07506feebae01b06c5b","score":"0.5679885","text":"public interface Reader {\n /**\n * Reads a stream and parses its output\n *\n * @throws IOException if the source file does not exist or the target file already exists\n */\n void parse() throws IOException;\n}","title":""},{"docid":"555a35e8c15d380447fbcda0dc06e469","score":"0.5673168","text":"private static String readFile(File fin) throws IOException,FileNotFoundException{\n\t\tBufferedReader br = new BufferedReader(new FileReader(fin));\n\t\t\n\t\tString line = null;\n\t\tline = br.readLine();\n\t\tbr.close();\n\t\treturn line;\n\t}","title":""},{"docid":"fc4b07d43920c534b67b05d81cc548eb","score":"0.5661399","text":"@Override\n\tpublic Path load(String filename) {\n\t\treturn null;\n\t}","title":""},{"docid":"5b72d2cc9be083c00555c908bf4073c6","score":"0.5655409","text":"private BufferedReader openFileReader(String prompt) {\n\t\tBufferedReader rd = null;\n\t\twhile (rd == null) {\n\t\t\tString name = readLine(prompt);\n\t\t\ttry {\n\t\t\t\trd = new BufferedReader(new FileReader(name));\n\t\t\t} catch (IOException ex) {\n\t\t\t\tprintln(\"Can't open that file.\");\n\t\t\t}\n\t\t}\n\t\treturn rd;\n\t}","title":""},{"docid":"82343ce7b73ef1c5bbef1561efe13d37","score":"0.565468","text":"public static void readFileBuffered (String path, String fileName) {\n // Stream to read file\n FileInputStream fin = null;\n BufferedReader reader = null;\n \n try {\n // Open an input stream\n fin = new FileInputStream (path+fileName); \n reader = new BufferedReader(new InputStreamReader(fin));\n \n logger.info(\"Reading File line by line using BufferedReader\\n\");\n String line = reader.readLine();\n \n while (line != null) {\n logger.info(line);\n line = reader.readLine(); \n }\n \n } catch ( FileNotFoundException efnt) {\n throw new WrappingUnchecked(\"In FileNotFoundException\", efnt);\n } catch (IOException eio) {\n throw new WrappingUnchecked(\"In FileNotFoundException\", eio); \n } finally {\n /*Never throw any exception from finally block. The original first exception (correct reason from catch) will be lost forever. \n Insted either Handle it, or log it. */\n if (reader != null) {\n try {\n reader.close();\n } catch (Exception e) {\n logger.error(\" >>> BufferedReader was't closed!\");\n } \n }\n \n if (fin != null) {\n try {\n fin.close();\n } catch (Exception e) {\n logger.error(\" >>> FileInputStream was't closed!\");\n }\n } \n }\n }","title":""},{"docid":"96c92bb2ea9f0e2c045d4630c8af78d1","score":"0.5650372","text":"private void setUp(String filename) throws FileNotFoundException\n\t{\n\t\tfStream = new FileInputStream(filename);\n\t\t\n\t\t// Get the object of DataInputStream\n\t\tinStream = new DataInputStream(fStream);\n\t\treader = new BufferedReader(new InputStreamReader(inStream));\n\t}","title":""},{"docid":"017cd6551930e08fec74dcf762afa71d","score":"0.564508","text":"private BufferedReader openInputFile() {\r\n\t\tBufferedReader rd = null;\r\n\t\twhile (rd == null) {\r\n\t\t\ttry {\r\n\t\t\t\tString name = readLine(\"Enter input file: \");\r\n\t\t\t\trd = new BufferedReader(new FileReader(name));\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tprintln(\"Can't open that file.\");\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn rd;\r\n\t}","title":""},{"docid":"f833f0b0dab68dd694712d3e43affe0a","score":"0.5644938","text":"public void FNFEx() throws FileNotFoundException {\n File file = new File(\"\");\r\n FileReader fr = new FileReader(file);\r\n }","title":""},{"docid":"5b1a11ede7cc6c4cdad9ba4084e63e33","score":"0.5628709","text":"public T read(Path.Entry e, InputStream input) throws IOException;","title":""},{"docid":"cc43c9e468f96a05577f3f67d6739ad7","score":"0.5617355","text":"File getFile(File directory, String fileName);","title":""},{"docid":"58b802997817ec377db49abaa5c2a68e","score":"0.5614964","text":"private String readFile(String path) {\n\n try {\n File file = new File(storageDir, normalizePath(path));\n return FileUtils.readFileToString(file, StandardCharsets.UTF_8);\n }\n catch (IOException e) {\n throw new RuntimeException(e);\n }\n }","title":""},{"docid":"dbe837ff311cc08c6834891f3dcf5634","score":"0.55995935","text":"public JLineReader open() throws FileNotFoundException{\r\n\r\n\t\tif(stringOnly)\r\n\t\t\treturn this;\r\n\r\n\t\tif(!file.exists()){\r\n\t\t\ttry {\r\n\t\t\t\tfile.getParentFile().mkdirs();\r\n\t\t\t\tfile.createNewFile();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\tLog.error(\"JLineWriter\", \"File : \" + file.getAbsolutePath());\r\n\t\t\t\tLog.error(\"JLineWriter\", \"Parent : \" + file.getParentFile().getAbsolutePath());\r\n\t\t\t\tthrow new FileNotFoundException();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treader = new BufferedReader(new FileReader(file));\r\n\t\tnextLine();\r\n\t\treturn this;\r\n\t}","title":""},{"docid":"c5288c2441e1ef091c3105bd97195bba","score":"0.5597747","text":"private InputStream getFilePath()\n\t{\n\t\tInputStream file = HangmanRules.class.getClassLoader().getResourceAsStream(\"1-1000.txt\");\n\t\treturn file;\n\t}","title":""},{"docid":"94fa3390c047e174d78c5c7c605fe72e","score":"0.55950373","text":"public static String readFile( String path )\n\t{\n\t\tString file = \"\";\n\t\ttry\n\t\t{\n\t\t\tFile myObj = new File( path );\n\t\t\tScanner myReader = new Scanner( myObj );\n\t\t\twhile( myReader.hasNextLine() )\n\t\t\t{\n\t\t\t\tString data = myReader.nextLine();\n\t\t\t\tfile += data;\n\t\t\t}\n\t\t\tmyReader.close();\n\t\t} catch( FileNotFoundException e )\n\t\t{\n\t\t\tSystem.err.println( \"An error occurred.\" );\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn file;\n\t}","title":""},{"docid":"1216aa4c5aa87810e66fe95546592e72","score":"0.5593386","text":"public static GenericFileReader getReader(String filePath, boolean readEmptyRow) throws IOException, OpenXML4JException, ParserConfigurationException, SAXException, XMLStreamException{\n\t\tString extension = FilenameUtils.getExtension(filePath);\n\t\tif(extension==null){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tif(\"xlsx\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSXReader(filePath,readEmptyRow);\n\t\t}else if(\"csv\".equalsIgnoreCase(extension)){\n\t\t\treturn new CSVReader(filePath, readEmptyRow);\n\t\t}else if(\"xls\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSReader(filePath,readEmptyRow);\n\t\t}\n\t\t\n\t\treturn null;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"3606b494b516c7c63adf516441ec28e7\",\n \"score\": \"0.6963669\",\n \"text\": \"public void readFile(String filepath);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"335b05a9cbe2d55afea6fecadf195a7e\",\n \"score\": \"0.6913169\",\n \"text\": \"public static String readFromFile(final InputStream path) throws IOException {\\r\\n InputStreamReader fr = null;\\r\\n BufferedReader br = null;\\r\\n StringBuilder stringBuilder = new StringBuilder();\\r\\n\\r\\n try {\\r\\n fr = new InputStreamReader(path);\\r\\n br = new BufferedReader(fr);\\r\\n\\r\\n String line;\\r\\n while ((line = br.readLine()) != null) {\\r\\n stringBuilder.append(line).append(\\\"\\\\n\\\");\\r\\n }\\r\\n } finally {\\r\\n if (br != null) {\\r\\n try {\\r\\n br.close();\\r\\n } catch (IOException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\\r\\n\\r\\n if (fr != null) {\\r\\n try {\\r\\n fr.close();\\r\\n } catch (IOException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n return stringBuilder.toString();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d81b1965b5f40e709b6fe7c5c71df0f\",\n \"score\": \"0.6867099\",\n \"text\": \"@Override\\r\\n\\tpublic void readFromFile() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d81b1965b5f40e709b6fe7c5c71df0f\",\n \"score\": \"0.6867099\",\n \"text\": \"@Override\\r\\n\\tpublic void readFromFile() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a77f5c3ce96cfb1773f6456af5879e5a\",\n \"score\": \"0.6786642\",\n \"text\": \"public InputStream openFileRead(String name)\\r\\n throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f01769ef30ed312cfaf40fd4838b9c2\",\n \"score\": \"0.6717148\",\n \"text\": \"File file(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e1d005b58a9a7c7c32b011412a7bf9f\",\n \"score\": \"0.6675846\",\n \"text\": \"public static String readFromFile(final File path) throws IOException {\\r\\n FileInputStream fis = null;\\r\\n try {\\r\\n fis = new FileInputStream(path);\\r\\n return readFromFile(fis);\\r\\n } finally {\\r\\n if (fis != null) {\\r\\n fis.close();\\r\\n }\\r\\n }\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d876cc7d505e8bbd21b34b05384fbf0\",\n \"score\": \"0.66697884\",\n \"text\": \"InputStream open(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91f76a9a758725c65a4da72873b4fc1b\",\n \"score\": \"0.6619909\",\n \"text\": \"public void readFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0da93ed74d216be58e1e4d1732101662\",\n \"score\": \"0.66119194\",\n \"text\": \"@Override\\r\\n\\tpublic void readFromFile(String fileName) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a50433e4cebe0c30268762d99dd5a53\",\n \"score\": \"0.65912193\",\n \"text\": \"BufferedReader readFile() {\\n\\t\\tPath path = Paths.get(properties.getProperty(\\\"uri\\\"));\\n\\t\\tBufferedReader reader = null;\\n\\t\\ttry {\\n\\t\\t\\treader = Files.newBufferedReader(path);\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\tSystem.out.println(\\\"error while opening file\\\");\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\treturn reader;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bef0b4887a5c34b4ad6f9a976a10718e\",\n \"score\": \"0.65637857\",\n \"text\": \"void read(Reader reader) throws IOException, ClassNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68b96d36ab8ed67872c7836cade7d35d\",\n \"score\": \"0.6502057\",\n \"text\": \"private BufferedReader getFileReader() {\\n \\tBufferedReader reader = null;\\n JFileChooser fileOpen = new JFileChooser();\\n fileOpen.showOpenDialog(null);\\n FileReader fileRead;\\n\\t\\ttry {\\n\\t\\t\\tfileRead = new FileReader(fileOpen.getSelectedFile().getPath());\\n\\t\\t\\treader = new BufferedReader(fileRead);\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n return reader;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ee4b5efeb4a0a3fa2eccaf3c66f0f24\",\n \"score\": \"0.6485486\",\n \"text\": \"public void veryComplexMethod() throws Exception {\\n FileReader fr=new FileReader(\\\"C:\\\\\\\\s.txt\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4f17a32ecdca4201900a51e9824f208\",\n \"score\": \"0.6460091\",\n \"text\": \"private static ClassReader parserFile(Path path) throws IOException {\\n\\t\\treturn new ClassReader(parsingPathToByte(path));\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04e1dda0672082a40677d430be46bd3e\",\n \"score\": \"0.6459547\",\n \"text\": \"public static void solution6a() {\\n BufferedReader in = null;\\n try {\\n in = Files.newBufferedReader(path, StandardCharsets.UTF_8);\\n } catch (IOException ex) {\\n System.err.println(\\\"Caught IOException: \\\" + ex.getMessage());\\n } finally {\\n try {\\n if (in != null) {\\n in.close();\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e0fcab601b8b11c3e435f583d899352\",\n \"score\": \"0.64472526\",\n \"text\": \"private final static synchronized File loadFile(String path) {\\n\\t\\treturn new File(path);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0eeb05f619056102896359b531fc6c5\",\n \"score\": \"0.6414663\",\n \"text\": \"public InputStream openFile(String filename);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f64bd001af614064994a1b38e6520344\",\n \"score\": \"0.63439924\",\n \"text\": \"long openFile(String path) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd7603b2eee4d1dd53c9436ed50f6ba0\",\n \"score\": \"0.6330531\",\n \"text\": \"static private BufferedReader buildBufferedReader(String path) throws IOException {\\n return new BufferedReader(new InputStreamReader(new FileInputStream(path)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45823a6a0954f70fbd52c5ae9105b046\",\n \"score\": \"0.6285115\",\n \"text\": \"T load(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ac3e6069d541b9c98aa7a9228d14d35\",\n \"score\": \"0.62643224\",\n \"text\": \"public void loadFromFile(String file);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d10d582599deeea5e52ea74de45cc0ac\",\n \"score\": \"0.62192106\",\n \"text\": \"public void loadFromFile(String path){\\r\\n\\t\\t\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tm_reader = new BufferedReader(new FileReader(path));\\r\\n\\t\\t} catch (FileNotFoundException e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\r\\n\\t\\tnextLine();\\r\\n\\t\\r\\n\\t\\twhile(m_line != null){\\r\\n\\t\\t\\tprocess();\\r\\n\\t\\t\\tnextLine();\\r\\n\\t\\t}\\r\\n\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"212c5afa4c4ecd585f988609c2675bee\",\n \"score\": \"0.62048566\",\n \"text\": \"public void load(File file) throws FileNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e138a20e037afe10a27ad49d5363dade\",\n \"score\": \"0.6191414\",\n \"text\": \"public static BufferedReader create_reader(String filename){\\n\\t\\tBufferedReader in = null;\\n\\t\\ttry{ // If an exception is raised, return NULL\\n\\t\\t\\tFile inFile = new File(filename);\\n\\t\\t\\tFileInputStream fis = new FileInputStream(inFile);\\n\\t\\t\\tDataInputStream dis = new DataInputStream(fis);\\n\\t\\t\\tInputStreamReader isr = new InputStreamReader(dis);\\n\\t\\t\\tin = new BufferedReader(isr);\\n\\t\\t} catch (Exception e){\\n\\t\\t\\tSystem.err.println(\\\"Error opening reader over file: \\\" + filename);\\n\\t\\t} // And output a message concerning nature of error\\n\\t\\treturn in;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01f9566d36acaf396c66b4e04771ae61\",\n \"score\": \"0.6180029\",\n \"text\": \"public static void solution6c() {\\n try (BufferedReader in = Files.newBufferedReader(path, StandardCharsets.UTF_8)) {\\n } catch (IOException ex) {\\n System.err.println(\\\"Caught IOException: \\\" + ex.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12fdb6ce0439aec6ef6ec1b6d7cd489a\",\n \"score\": \"0.61427474\",\n \"text\": \"InputStream openFile(String s);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b667a94f87a634e2d91001f843200c5\",\n \"score\": \"0.6134117\",\n \"text\": \"public Excel_Reader(String path) {\\n \\tthis.path = path;\\t\\n\\ttry {\\n\\tfis = new FileInputStream(path);\\n\\tworkbook = new XSSFWorkbook(fis);\\n\\tsheet = workbook.getSheetAt(0);\\n\\tfis.close();\\n\\t} catch (Exception e) {\\n\\te.printStackTrace();\\n\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4418acf6b802f212f03426eadffcb2b\",\n \"score\": \"0.6105897\",\n \"text\": \"public abstract void load(String fileName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"389ee7b70906bf6b5a6ff5034a6dd126\",\n \"score\": \"0.6103778\",\n \"text\": \"public StringsFromFile(java.io.Reader reader) {\\r\\n this.reader = reader;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55319815d2c3335b011dbd9d0cc385ba\",\n \"score\": \"0.609754\",\n \"text\": \"public JLineReader(File file){\\t\\t\\r\\n\\t\\tthis.file = file;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88b18e49faf09d976139f3299e00bac8\",\n \"score\": \"0.6061282\",\n \"text\": \"private static String readFile(String path) \\n\\t{\\n\\t\\t\\t byte[] encoded;\\n\\t\\t\\t String s = \\\"\\\";\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tencoded = Files.readAllBytes(Paths.get(path));\\n\\t\\t\\t\\ts = new String(encoded);\\n\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t\\t return s;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f7f73f9b045df5bc79af037af9de0d3\",\n \"score\": \"0.6049039\",\n \"text\": \"File file();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5de186e473df5d257b879b46ecf8831\",\n \"score\": \"0.6035793\",\n \"text\": \"Reader obtainReader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7000ecdf120d71ad3bde5f0a61767b0f\",\n \"score\": \"0.60335785\",\n \"text\": \"public abstract void read(Vector filename);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffe07b5f0614eae47b229715af22b754\",\n \"score\": \"0.6025682\",\n \"text\": \"void readFiles() {\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc92b617c1fb804355801de1d0bcff90\",\n \"score\": \"0.6022309\",\n \"text\": \"public String fileRead(String path) {\\n\\t\\tclassLineNum c=new classLineNum();\\r\\n\\t\\t\\r\\n\\t\\treturn c.readFilex(path);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecf040d6f2b7cfb4d9210b076782158c\",\n \"score\": \"0.6019575\",\n \"text\": \"public ReadFileManager(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc517e045bf8a63495359bceae8eb923\",\n \"score\": \"0.6006374\",\n \"text\": \"@Override\\n public File getFileFromPath(String path) {\\n return new File(path);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0742dbcb0b3ae938a9aa357fe373f4b7\",\n \"score\": \"0.6003317\",\n \"text\": \"public Object read(String path) {\\n \\treturn null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3acbae06b375b3ba3dd6230f10c2b075\",\n \"score\": \"0.5998436\",\n \"text\": \"public static String read(String fileName) {\\n StringBuilder sb = new StringBuilder(\\\"\\\"); \\n if (exists(fileName)){\\n File file = new File(fileName);\\n try {\\n BufferedReader in = new BufferedReader(new FileReader( file.getAbsoluteFile()));\\n try {\\n String s;\\n while ((s = in.readLine()) != null) {\\n sb.append(s);\\n sb.append(\\\"\\\\n\\\");\\n }\\n } finally {\\n in.close();\\n }\\n } catch(IOException e) {\\n throw new RuntimeException(e);\\n }\\n }\\n return sb.toString();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"835e49f422d4c6ab6c06d3eb5a8700ee\",\n \"score\": \"0.599557\",\n \"text\": \"public FileReader(Player player)\\n {\\n this.player = player;\\n analyzeLevelFiles();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80e6a279962f4e09dd5b766bf564becc\",\n \"score\": \"0.5986098\",\n \"text\": \"private void loadFromDisk(String filename) throws IOException {\\n try {\\n Reader r = new FileReader(filename);\\n load(r);\\n\\n //Convert FileNotFoundException to IOException to conform with constructor throws clause\\n } catch (FileNotFoundException e) {\\n throw new IOException(\\\"No file could be found at \\\"+filename);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92eef8e705f3a35a78cbd4479a72ee3a\",\n \"score\": \"0.5982226\",\n \"text\": \"public static void ReadFileToConsole(String filePath) throws FileNotFoundException\\n {\\n FileReader f = new FileReader(filePath);\\n //...do something with it...\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e934d67a8a0110f15add7b139cdb8e73\",\n \"score\": \"0.5971349\",\n \"text\": \"public Reader(String filepath) {\\n\\t\\t\\n\\t\\tfile = new File(filepath);\\n\\t\\ttry {\\n\\t\\t\\treader = new FileReader(file);\\n\\t\\t\\tbufferedReader = new BufferedReader(reader);\\n\\t\\t\\tfileOpened = true;\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\tSystem.out.println(\\\"Database failed to load\\\");\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70a35a0ee919b9ef427fac8ab4daa7e6\",\n \"score\": \"0.594711\",\n \"text\": \"public IReader getReader(String path) throws IllegalArgumentException\\n {\\n String extension = path.substring(path.lastIndexOf('.')+1);\\n \\n switch(extension)\\n {\\n case \\\"xlsx\\\":\\n return new ExcelReader();\\n case \\\"xls\\\":\\n return new ExcelReader();\\n case \\\"csv\\\":\\n return new CSVReader();\\n default: \\n throw new IllegalArgumentException(\\\"The filetype '\\\"+extension+\\\"' is not valid\\\");\\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4462e0b2a05f8b725a389274b75a2a2f\",\n \"score\": \"0.5939305\",\n \"text\": \"public InputStream openFileReadOrNull(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"486dd4d34bb8209e861810f1f02860fd\",\n \"score\": \"0.59358656\",\n \"text\": \"private static String usingBufferedReader(String filePath) {\\n\\t\\t\\n\\t StringBuilder contentBuilder = new StringBuilder();\\n\\t try (BufferedReader br = new BufferedReader(new FileReader(filePath)))\\n\\t {\\n\\t \\n\\t String sCurrentLine;\\n\\t while ((sCurrentLine = br.readLine()) != null)\\n\\t {\\n\\t contentBuilder.append(sCurrentLine).append(\\\"\\\\n\\\");\\n\\t }\\n\\t }\\n\\t catch (IOException e)\\n\\t {\\n\\t e.printStackTrace();\\n\\t }\\n\\t return contentBuilder.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7879c3915084319de299e903ccdad456\",\n \"score\": \"0.593564\",\n \"text\": \"public static void main(String[] args) throws FileNotFoundException {\\n\\n File file = new File(\\\"test.txt\\\");\\n\\n FileReader fr = new FileReader(file);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"962ad55389a699e87a4df6454fe24d1b\",\n \"score\": \"0.5928652\",\n \"text\": \"public static BufferedReader readFileFromDisk() {\\n try {\\n File file = openFile();\\n if (file != null) {\\n FileReader fr = new FileReader(file);\\n BufferedReader br = new BufferedReader(fr);\\n return br;\\n }\\n else {\\n return null;\\n }\\n }\\n catch (IOException e) {\\n System.err.println(\\\"Unable to read file\\\");\\n e.printStackTrace();\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4686d1d6041603b34687e9a2e704a47\",\n \"score\": \"0.5919563\",\n \"text\": \"public static final Reader getReader(String filePath, String encoding) {\\n\\n\\t\\ttry {\\n\\n\\t\\t\\tfilePath = relativePath(filePath);\\n\\t\\t\\tString absPath = absolutePath(filePath);\\n\\t\\t\\treturn new InputStreamReader(new FileInputStream(absPath), encoding);\\n\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37e71ad71fb42b9d3a18080d073e09e3\",\n \"score\": \"0.5916158\",\n \"text\": \"private void initializeReader() {\\n try {\\n reader.set(new FileReader(FileActions.getInstance().getAbsolutePath(jsonFilePath), StandardCharsets.UTF_8));\\n } catch (FileNotFoundException rootCauseException) {\\n FailureReporter.fail(this.getClass(), \\\"Couldn't read the desired file. [\\\" + this.jsonFilePath + \\\"].\\\", rootCauseException);\\n } catch (IOException formatException) {\\n FailureReporter.fail(this.getClass(), \\\"file didn't match the specified format. [\\\" + this.jsonFilePath + \\\"].\\\", formatException);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccd38cf27195540532f80054c677365d\",\n \"score\": \"0.5915063\",\n \"text\": \"private void readFile(String path){\\n try {\\n BufferedReader bufferedReader = new BufferedReader(new FileReader(path));\\n String line = bufferedReader.readLine();\\n while (line != null)\\n {\\n lineArrayList.add(line);\\n line = bufferedReader.readLine();\\n }\\n\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62941cf77afb03b54a3a65dbfb0d6a0f\",\n \"score\": \"0.59068483\",\n \"text\": \"File getFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91cf683e3514c52bec7d4ca6f9de0b25\",\n \"score\": \"0.59034294\",\n \"text\": \"public static File LoadFile(String path) {\\n\\t\\treturn new File(path);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cceb7687caac0216dfe299bb662ba65e\",\n \"score\": \"0.58981913\",\n \"text\": \"public static void ReadFile(String filePath) throws IOException {\\n BufferedReader bufferedReader = null;\\n if (filePath == null){\\n InputStream in = InputProcess.class.getResourceAsStream(\\\"input.txt\\\");\\n bufferedReader =new BufferedReader(new InputStreamReader(in));\\n }\\n else{\\n FileReader fileReader = new FileReader(filePath);\\n bufferedReader = new BufferedReader(fileReader);\\n }\\n String line = null;\\n while ((line = bufferedReader.readLine()) != null) {\\n ProcessReadLine(line);\\n }\\n bufferedReader.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cb7272d8b26dcdec56f0ec7eee3e34a\",\n \"score\": \"0.5891601\",\n \"text\": \"public static String loadFileAsString(String path) {\\r\\n //creates StringBuilder class.\\r\\n StringBuilder builder = new StringBuilder();\\r\\n \\r\\n //this try-catch block will read in the file at the parameter variable\\r\\n //path and appends it to the builder.\\r\\n try {\\r\\n //creates bufferedReader object which will read in the file.\\r\\n BufferedReader br = new BufferedReader(new FileReader(path));\\r\\n //temp variable for reading in lines\\r\\n String line;\\r\\n //this loop will read until there is no next line.\\r\\n while((line=br.readLine()) != null) {\\r\\n //appends the builder object with the line read in and adds\\r\\n //new line.\\r\\n builder.append(line+\\\"\\\\n\\\");\\r\\n }\\r\\n //closes the buffered reader.\\r\\n br.close();\\r\\n //catches the exception if there is no file. \\r\\n } catch(IOException e) {\\r\\n //prints the error to the console\\r\\n e.printStackTrace();\\r\\n }\\r\\n \\r\\n //returns the builder object as a string.\\r\\n return builder.toString();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f1148727ddfe8875e4bd90c1e7218f\",\n \"score\": \"0.58888996\",\n \"text\": \"public static GenericFileReader getReader(String filePath) throws IOException, OpenXML4JException, ParserConfigurationException, SAXException, XMLStreamException{\\n\\t\\tString extension = FilenameUtils.getExtension(filePath);\\n\\t\\tif(extension==null){\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t\\tif(\\\"xlsx\\\".equalsIgnoreCase(extension)){\\n\\t\\t\\treturn new XLSXReader(filePath);\\n\\t\\t}else if(\\\"csv\\\".equalsIgnoreCase(extension)){\\n\\t\\t\\treturn new CSVReader(filePath);\\n\\t\\t}else if(\\\"xls\\\".equalsIgnoreCase(extension)){\\n\\t\\t\\treturn new XLSReader(filePath);\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd6e376225992524ff23c36b30177742\",\n \"score\": \"0.5888546\",\n \"text\": \"public abstract void open(String fileName) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9bdb37f0cbf9a8c2edeee99b48180fd\",\n \"score\": \"0.58725333\",\n \"text\": \"static String readLineFromFile(String path) throws IOException {\\n\\t\\tBufferedReader br = new BufferedReader(new FileReader(path));\\n\\t\\ttry {\\n\\t\\t\\treturn br.readLine();\\n\\t\\t} finally {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tbr.close();\\n\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9553064e4c250ef71d2fa8175837a6a\",\n \"score\": \"0.5864444\",\n \"text\": \"private String readFile(String path) throws IOException {\\n\\t\\tPath p = FileSystems.getDefault().getPath(path);\\n\\t\\tString contents = new String(Files.readAllBytes(p));\\n\\t\\treturn contents;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a6343c653fc296b2607231d73991ea6\",\n \"score\": \"0.5863752\",\n \"text\": \"public abstract EntityRoot readFile (File file) ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"545c22482e9419e232c5c341d2ce6c17\",\n \"score\": \"0.5856536\",\n \"text\": \"private static String safeRead(String path) {\\n try(BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(path)))) {\\n return reader.readLine();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"434c5411ca4fb41c222f5ddab0719a96\",\n \"score\": \"0.5856283\",\n \"text\": \"public abstract FileIDE loadFile() throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a3dcf24a2d5109382be29daec93d342\",\n \"score\": \"0.58553153\",\n \"text\": \"@Override\\n\\tpublic String readFileByLines(LineReader reader) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20a2472757941daae8c14c0552e55faa\",\n \"score\": \"0.58208704\",\n \"text\": \"void populateForReference(String fullPath, Reader reader) throws ParsingException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b27b690bad2961572712078bfaa43f92\",\n \"score\": \"0.581458\",\n \"text\": \"@Override\\n public InputStream readFile(String file) throws IOException {\\n return new FileInputStream(externalStoragePath + file);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83f8649d1ec7646d76d7f3a8f72dead\",\n \"score\": \"0.58131033\",\n \"text\": \"public Reader(String fileName) throws FileNotFoundException {\\r\\n File file = new File(fileName);\\r\\n scan = new Scanner(file);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7537bfd59173b8dbe28d010dcd3d155\",\n \"score\": \"0.5777342\",\n \"text\": \"public Person loadFromFile(File filename) throws FileNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d32f95bf98fdfd6025a067eb5b3aa441\",\n \"score\": \"0.5773206\",\n \"text\": \"public boolean openFileReader() {\\n\\t\\ttry {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tjsonReader = new BufferedReader(new InputStreamReader(new FileInputStream(path), \\\"UTF-8\\\"));\\n\\t\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\t\\tSystem.err.println(\\\"File is not ready\\\");\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t} catch (UnsupportedEncodingException e) {\\n\\t\\t\\tSystem.err.println(\\\"Problem with encoding\\\");\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e017d740d6738a292632ebf933d1ce22\",\n \"score\": \"0.5769515\",\n \"text\": \"public Queue readFile(String file);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e03289ff6b9bd9e3bd0f8ccae20910\",\n \"score\": \"0.57616997\",\n \"text\": \"public void IOEx() throws IOException {\\n File file = new File(\\\"\\\");\\r\\n FileReader fr = new FileReader(file);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc323bd31c6e2f8af9a1422ff024c70e\",\n \"score\": \"0.575289\",\n \"text\": \"public String read(String path) {\\n return FileHandler.readFromFile(path);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6df62b3e12c79aca49c8fc517149e401\",\n \"score\": \"0.5748514\",\n \"text\": \"public void handleRead(String path) throws IOException, NoStarterUploadedException {\\n if (this.reader != null) {\\n reader.read(path);\\n } else {\\n throw new NoStarterUploadedException();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9af1788e0d76c7f270811208d7e23e1\",\n \"score\": \"0.5744043\",\n \"text\": \"public void decode(String filePath);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08254e251c15dcedd3815b76dba0b54c\",\n \"score\": \"0.5735103\",\n \"text\": \"public String readByChar(String path) {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tbReader = new BufferedReader(new FileReader(path));\\r\\n\\t\\t\\treturn bReader.readLine();\\r\\n\\t\\t} catch (FileNotFoundException e) {\\r\\n\\t\\t\\tprintError(e);\\r\\n\\t\\t\\treturn null;\\r\\n\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\tprintError(e);\\r\\n\\t\\t\\treturn null;\\r\\n\\t\\t} finally {\\r\\n\\t\\t\\t// Check whether 'bReader' Object is still alive\\r\\n\\t\\t\\tif (bReader != null) {\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tbReader.close(); \\r\\n\\t\\t\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t\\t\\tprintError(e);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t} \\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"345ab1d630f2d0f8ad05ff8317d0cd65\",\n \"score\": \"0.57318574\",\n \"text\": \"public ModelReader(String filePath) {\\n\\t\\tsuper(NAME);\\n\\t\\tPreconditions.checkNotNull(filePath,\\n\\t\\t\\t\\t\\\"The path of the file cannot be null\\\");\\n\\t\\tthis.file = new File(filePath);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3731aa294d8f82ace3ede1e3a28c9ab5\",\n \"score\": \"0.5726723\",\n \"text\": \"public void open() throws IOException\\r\\n {\\r\\n // close if already open.\\r\\n close();\\r\\n BufferedReader reader = new BufferedReader( new FileReader( getFile() ));\\r\\n setReader(reader);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebd57ef5df3b87add1e5f7615e177961\",\n \"score\": \"0.57242316\",\n \"text\": \"File getFile() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bfc6d13ef06f6b57b6a7ddaab14c4fc\",\n \"score\": \"0.5722135\",\n \"text\": \"public void readfile(String infile) throws IOException {\\n\\t\\tsourcefile = infile;\\n\\t\\treadfile();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c706c913f67fb9ef42a8a6f9544370c\",\n \"score\": \"0.57177436\",\n \"text\": \"MyMatrixReader (MyFileReader inputFile){\\r\\n presentLine = 0;\\r\\n file = inputFile;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eef47404408534e91ec2c8dba4adaa41\",\n \"score\": \"0.57150203\",\n \"text\": \"public ConfigFileReader getConfigReader() {\\n return (configFileReader == null) ? new ConfigFileReader() : configFileReader;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f911b7d26f5412198796a69d1cbaac5d\",\n \"score\": \"0.5697195\",\n \"text\": \"protected static BufferedReader getFileReader(final String filename) {\\r\\n\\r\\n try {\\r\\n String filepath;\\r\\n\\r\\n if (filename.equals(DicomDictionary.DEFAULT_DICTIONARY_FILENAME)) {\\r\\n final URL fileURL = Thread.currentThread().getContextClassLoader().getResource(filename);\\r\\n\\r\\n return new BufferedReader(new InputStreamReader(fileURL.openStream()));\\r\\n } else {\\r\\n filepath = GetPath.getPath(filename, Purpose.FOR_READING) + File.separator;\\r\\n }\\r\\n\\r\\n if (filepath == null || filepath.equals(File.separator)) {\\r\\n filepath = \\\"\\\";\\r\\n }\\r\\n\\r\\n final File dictionaryFile = new File(filepath + filename);\\r\\n\\r\\n if ( !dictionaryFile.exists()) {\\r\\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \\\" does not exist.\\\");\\r\\n }\\r\\n\\r\\n if ( !dictionaryFile.isFile()) {\\r\\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \\\" is not a file.\\\");\\r\\n }\\r\\n\\r\\n if ( !dictionaryFile.canRead()) {\\r\\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \\\" does not have 'read' permissions.\\\");\\r\\n }\\r\\n\\r\\n return new BufferedReader(new FileReader(dictionaryFile));\\r\\n } catch (final Throwable t) {\\r\\n return null;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"654e4546d54d75300a0c7dd3e7111200\",\n \"score\": \"0.5696403\",\n \"text\": \"public void load(String path) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f199bdbc4da4038b4e4c98b0cb0171d\",\n \"score\": \"0.56803083\",\n \"text\": \"public InputStream ReadAsset(String _name) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53a575423e1ac07506feebae01b06c5b\",\n \"score\": \"0.5679885\",\n \"text\": \"public interface Reader {\\n /**\\n * Reads a stream and parses its output\\n *\\n * @throws IOException if the source file does not exist or the target file already exists\\n */\\n void parse() throws IOException;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"555a35e8c15d380447fbcda0dc06e469\",\n \"score\": \"0.5673168\",\n \"text\": \"private static String readFile(File fin) throws IOException,FileNotFoundException{\\n\\t\\tBufferedReader br = new BufferedReader(new FileReader(fin));\\n\\t\\t\\n\\t\\tString line = null;\\n\\t\\tline = br.readLine();\\n\\t\\tbr.close();\\n\\t\\treturn line;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc4b07d43920c534b67b05d81cc548eb\",\n \"score\": \"0.5661399\",\n \"text\": \"@Override\\n\\tpublic Path load(String filename) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b72d2cc9be083c00555c908bf4073c6\",\n \"score\": \"0.5655409\",\n \"text\": \"private BufferedReader openFileReader(String prompt) {\\n\\t\\tBufferedReader rd = null;\\n\\t\\twhile (rd == null) {\\n\\t\\t\\tString name = readLine(prompt);\\n\\t\\t\\ttry {\\n\\t\\t\\t\\trd = new BufferedReader(new FileReader(name));\\n\\t\\t\\t} catch (IOException ex) {\\n\\t\\t\\t\\tprintln(\\\"Can't open that file.\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn rd;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82343ce7b73ef1c5bbef1561efe13d37\",\n \"score\": \"0.565468\",\n \"text\": \"public static void readFileBuffered (String path, String fileName) {\\n // Stream to read file\\n FileInputStream fin = null;\\n BufferedReader reader = null;\\n \\n try {\\n // Open an input stream\\n fin = new FileInputStream (path+fileName); \\n reader = new BufferedReader(new InputStreamReader(fin));\\n \\n logger.info(\\\"Reading File line by line using BufferedReader\\\\n\\\");\\n String line = reader.readLine();\\n \\n while (line != null) {\\n logger.info(line);\\n line = reader.readLine(); \\n }\\n \\n } catch ( FileNotFoundException efnt) {\\n throw new WrappingUnchecked(\\\"In FileNotFoundException\\\", efnt);\\n } catch (IOException eio) {\\n throw new WrappingUnchecked(\\\"In FileNotFoundException\\\", eio); \\n } finally {\\n /*Never throw any exception from finally block. The original first exception (correct reason from catch) will be lost forever. \\n Insted either Handle it, or log it. */\\n if (reader != null) {\\n try {\\n reader.close();\\n } catch (Exception e) {\\n logger.error(\\\" >>> BufferedReader was't closed!\\\");\\n } \\n }\\n \\n if (fin != null) {\\n try {\\n fin.close();\\n } catch (Exception e) {\\n logger.error(\\\" >>> FileInputStream was't closed!\\\");\\n }\\n } \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96c92bb2ea9f0e2c045d4630c8af78d1\",\n \"score\": \"0.5650372\",\n \"text\": \"private void setUp(String filename) throws FileNotFoundException\\n\\t{\\n\\t\\tfStream = new FileInputStream(filename);\\n\\t\\t\\n\\t\\t// Get the object of DataInputStream\\n\\t\\tinStream = new DataInputStream(fStream);\\n\\t\\treader = new BufferedReader(new InputStreamReader(inStream));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"017cd6551930e08fec74dcf762afa71d\",\n \"score\": \"0.564508\",\n \"text\": \"private BufferedReader openInputFile() {\\r\\n\\t\\tBufferedReader rd = null;\\r\\n\\t\\twhile (rd == null) {\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tString name = readLine(\\\"Enter input file: \\\");\\r\\n\\t\\t\\t\\trd = new BufferedReader(new FileReader(name));\\r\\n\\t\\t\\t} catch (IOException ex) {\\r\\n\\t\\t\\t\\tprintln(\\\"Can't open that file.\\\");\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn rd;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f833f0b0dab68dd694712d3e43affe0a\",\n \"score\": \"0.5644938\",\n \"text\": \"public void FNFEx() throws FileNotFoundException {\\n File file = new File(\\\"\\\");\\r\\n FileReader fr = new FileReader(file);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b1a11ede7cc6c4cdad9ba4084e63e33\",\n \"score\": \"0.5628709\",\n \"text\": \"public T read(Path.Entry e, InputStream input) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc43c9e468f96a05577f3f67d6739ad7\",\n \"score\": \"0.5617355\",\n \"text\": \"File getFile(File directory, String fileName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58b802997817ec377db49abaa5c2a68e\",\n \"score\": \"0.5614964\",\n \"text\": \"private String readFile(String path) {\\n\\n try {\\n File file = new File(storageDir, normalizePath(path));\\n return FileUtils.readFileToString(file, StandardCharsets.UTF_8);\\n }\\n catch (IOException e) {\\n throw new RuntimeException(e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbe837ff311cc08c6834891f3dcf5634\",\n \"score\": \"0.55995935\",\n \"text\": \"public JLineReader open() throws FileNotFoundException{\\r\\n\\r\\n\\t\\tif(stringOnly)\\r\\n\\t\\t\\treturn this;\\r\\n\\r\\n\\t\\tif(!file.exists()){\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tfile.getParentFile().mkdirs();\\r\\n\\t\\t\\t\\tfile.createNewFile();\\r\\n\\t\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t\\tLog.error(\\\"JLineWriter\\\", \\\"File : \\\" + file.getAbsolutePath());\\r\\n\\t\\t\\t\\tLog.error(\\\"JLineWriter\\\", \\\"Parent : \\\" + file.getParentFile().getAbsolutePath());\\r\\n\\t\\t\\t\\tthrow new FileNotFoundException();\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treader = new BufferedReader(new FileReader(file));\\r\\n\\t\\tnextLine();\\r\\n\\t\\treturn this;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5288c2441e1ef091c3105bd97195bba\",\n \"score\": \"0.5597747\",\n \"text\": \"private InputStream getFilePath()\\n\\t{\\n\\t\\tInputStream file = HangmanRules.class.getClassLoader().getResourceAsStream(\\\"1-1000.txt\\\");\\n\\t\\treturn file;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94fa3390c047e174d78c5c7c605fe72e\",\n \"score\": \"0.55950373\",\n \"text\": \"public static String readFile( String path )\\n\\t{\\n\\t\\tString file = \\\"\\\";\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tFile myObj = new File( path );\\n\\t\\t\\tScanner myReader = new Scanner( myObj );\\n\\t\\t\\twhile( myReader.hasNextLine() )\\n\\t\\t\\t{\\n\\t\\t\\t\\tString data = myReader.nextLine();\\n\\t\\t\\t\\tfile += data;\\n\\t\\t\\t}\\n\\t\\t\\tmyReader.close();\\n\\t\\t} catch( FileNotFoundException e )\\n\\t\\t{\\n\\t\\t\\tSystem.err.println( \\\"An error occurred.\\\" );\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\treturn file;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1216aa4c5aa87810e66fe95546592e72\",\n \"score\": \"0.5593386\",\n \"text\": \"public static GenericFileReader getReader(String filePath, boolean readEmptyRow) throws IOException, OpenXML4JException, ParserConfigurationException, SAXException, XMLStreamException{\\n\\t\\tString extension = FilenameUtils.getExtension(filePath);\\n\\t\\tif(extension==null){\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(\\\"xlsx\\\".equalsIgnoreCase(extension)){\\n\\t\\t\\treturn new XLSXReader(filePath,readEmptyRow);\\n\\t\\t}else if(\\\"csv\\\".equalsIgnoreCase(extension)){\\n\\t\\t\\treturn new CSVReader(filePath, readEmptyRow);\\n\\t\\t}else if(\\\"xls\\\".equalsIgnoreCase(extension)){\\n\\t\\t\\treturn new XLSReader(filePath,readEmptyRow);\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":843,"cells":{"query_id":{"kind":"string","value":"d6941b6befef263ce5be806fc8096c9e"},"query":{"kind":"string","value":"rate at which phenotypes are crossed over Default constructor"},"positive_passages":{"kind":"list like","value":[{"docid":"5299ed801e2ad7c8efda20ac06d3f781","score":"0.0","text":"public NSGA2() {\n\t\tthis(Parameters.parameters.booleanParameter(\"io\"));\n\t}","title":""}],"string":"[\n {\n \"docid\": \"5299ed801e2ad7c8efda20ac06d3f781\",\n \"score\": \"0.0\",\n \"text\": \"public NSGA2() {\\n\\t\\tthis(Parameters.parameters.booleanParameter(\\\"io\\\"));\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"354dbdcee74d1b36f18d740fed044541","score":"0.63975805","text":"public Rating() {\n this(0, 5);\n }","title":""},{"docid":"e41b99fb1192c154eaf35c1937ade565","score":"0.6266122","text":"public TaxRate () {\n\t\tsuper();\n\t}","title":""},{"docid":"9b6be010d90389ac40e263b4f262ce8a","score":"0.6242192","text":"WeaponType(float p){\n power=p;\n }","title":""},{"docid":"f8660b0ec608abc57e94835225ac01c3","score":"0.62357223","text":"private Weight() {\n\n\t}","title":""},{"docid":"92190c8e6cd48c9f00c03e5dce619d2c","score":"0.6175015","text":"public MulishCritter(double weight) \r\n {\r\n super(weight);\r\n }","title":""},{"docid":"96ae44efb86d0b901a9b2cfab87c286f","score":"0.61169714","text":"public void specialize() {\r\n\tstrength = 75;\r\n\tdef = 10;\r\n }","title":""},{"docid":"50774126f5a0ba2153b047aeca18a4f4","score":"0.6106534","text":"public Car(double efficiency)\n{\n this.fuelEfficiency = efficiency;\n this.fuelInTank = 0;\n}","title":""},{"docid":"ddd64073f3c01fd63799e6fbbd8881b9","score":"0.6068201","text":"default double getRate() {\n return 2.5;\n }","title":""},{"docid":"e72466b15e8afd0302d0c5fa4c84292f","score":"0.60406363","text":"public void testConstructors()\n {\n System.out.println( \"Constructors\" );\n\n NegativeLogLikelihood instance = new NegativeLogLikelihood();\n assertNull( instance.getCostParameters() );\n\n UnivariateGaussian g = new UnivariateGaussian.PDF();\n Collection samples = g.sample(RANDOM, 1000);\n instance = new NegativeLogLikelihood( samples );\n assertSame( samples, instance.getCostParameters() );\n }","title":""},{"docid":"0fc20777fe5a912f9e4c162caeda790b","score":"0.60159993","text":"public Nachtelf() {\r\n\t\tthis(false, 1.0);\r\n\t}","title":""},{"docid":"2051330cef72db786d75105de65c113a","score":"0.6010285","text":"public DefaultEstimator() {\n\t\tthis(100, new edu.uab.ssg.mixomatic.power.jmsl.TTestPValueAdjuster(), new edu.uab.ssg.mixomatic.power.colt.RandomAdapter());\n\t}","title":""},{"docid":"45e203c4af269d6641842865ee7b0a39","score":"0.59938824","text":"@Override\n public int defaultFactor() {\n return 1;\n }","title":""},{"docid":"402a3f9085aefd67835b24f3228c43c5","score":"0.59790695","text":"public Rate() {\n }","title":""},{"docid":"8262feaed597f7a1985a58c14a2d4ab2","score":"0.59636366","text":"public MediatingModeratingFQualityCalculator() {\n super();\n }","title":""},{"docid":"5eed14e26478de97c5a6599fb5946ee4","score":"0.59411","text":"public Nickel() //If you initialize without a count....\n {\n //Should default to one coin being added\n this.count = 1;\n this.value = 0.05;\n }","title":""},{"docid":"f907e3f02a195fe4023a1c6bdbd84290","score":"0.5926041","text":"public AverageSpeedMeter() {\n this(5);\n }","title":""},{"docid":"4ff266f6cfcf09943de4dbb8b2596f26","score":"0.592068","text":"public Card() {\n\n Random rand = new Random();\n power = rand.nextInt(100) + 1;\n toughness = rand.nextInt(100) + 1;\n\n }","title":""},{"docid":"3e6c5b06bc63accfc75e1694278b9abc","score":"0.59181833","text":"public Potato1() {\n this.variety = \"Russet Burbank\";\n this.age = 0;\n }","title":""},{"docid":"478fb45697ef53f505d3c8457fb61dd4","score":"0.589269","text":"@Override\n\tpublic double calcRate() {\n\t\treturn 0;\n\t}","title":""},{"docid":"ab9ce075cf81fe3876514d4b02e8d389","score":"0.58824587","text":"public BeatIntensity() { }","title":""},{"docid":"bfdcbb9dcc67580b54948dbc09b23039","score":"0.5866355","text":"public ParabolicTrough() {\n super(1, 1, 0);\n }","title":""},{"docid":"c7dd1d1fa12800412880220a6bc9e7de","score":"0.58532417","text":"protected Pilsner(String name, BeerType type, Integer ibu, Double abv) {\n super(name, type, ibu, abv);\n }","title":""},{"docid":"49c41af1258f442e69589a071a3d1d04","score":"0.5841656","text":"public CapacityAnalysis ()\n {\n super();\n }","title":""},{"docid":"c9bca2cd74f375f424d05eb9f5326414","score":"0.58235914","text":"public Monom(){//Default Constructor\r\n\t\tthis.set_coefficient(0);\r\n\t\tthis.set_power(0);\r\n\t}","title":""},{"docid":"4cdabf0a4adb9fd1aaf90a7c44e8bb3d","score":"0.5793561","text":"@Override\r\n public double getBaseWeight() {\r\n switch (getType()) {\r\n case Chemical: return 5 * getAutonomy();\r\n default: return Math.ceil(0.025 * getPlantSize() * getAutonomy());\r\n }\r\n }","title":""},{"docid":"da3fd4e6a906fc8c5a7a23bebb0e44f2","score":"0.57926464","text":"public Pilsner(String name) {\n super(name, BeerType.PILSNER);\n Integer ibu = (int)Math.floor((Math.random() * 20)) + 25;\n Double abv = Math.random() * 1.8 + 4.2;\n this.ibu = ibu;\n this.abv = abv;\n }","title":""},{"docid":"867df9bae114218cb82e70fe5dfaa074","score":"0.5791092","text":"public RainSensor() {\r\n myInitial = 5;\r\n }","title":""},{"docid":"2e2e319ae6bbf75030f9ccce2527f2e1","score":"0.578626","text":"@Override\n public double ploscina() {\n return 0;\n }","title":""},{"docid":"4ac5e28b134874fc3d28fa4f8529f83c","score":"0.5783537","text":"@Override\r\n public Double getSensitivity() {\n return new Double(0);\r\n }","title":""},{"docid":"96b7a173a25e03e87c76f902bb84918a","score":"0.5765845","text":"public Boneyard(){\r\n\t\tthis(6);\r\n\t}","title":""},{"docid":"d26624de23a58909c9fef2ce089bb84d","score":"0.5763007","text":"public SpeedDating()\n {}","title":""},{"docid":"b47848dda19f097b988d146425ea386b","score":"0.5762626","text":"public SkuCapacity() {\n }","title":""},{"docid":"66cd94aa95186390126412c0c7d32294","score":"0.57615155","text":"public void set_baserate(double rate) { this.baseLearnRate = rate; this.learnRate = rate; }","title":""},{"docid":"1bb80e08d79fca738007aa54af7caa56","score":"0.57584417","text":"public Pythagoras() { }","title":""},{"docid":"a5d724d392ec6b99232e5dd7c51518ed","score":"0.5753141","text":"public void set_rate(double rate) { this.learnRate = rate; }","title":""},{"docid":"edcc791d582f5875663561f50637e4a4","score":"0.5744733","text":"public Rating(){\n\n }","title":""},{"docid":"f1b370e45ca11daa36dbe5075283e2ce","score":"0.5740229","text":"public BMI(){\r\n\t}","title":""},{"docid":"4c068de62e1f4da2a8558bbf2decf90f","score":"0.5737708","text":"@Override\r\n protected double getBaseCost() { return 0; }","title":""},{"docid":"1c84f408d528979bc078676e876c17bf","score":"0.5722689","text":"public double getBaseRate() {\n\t\treturn 2.5;\n\t}","title":""},{"docid":"ef7a4fd1768b804a9ab120ab16c428db","score":"0.57215345","text":"public Animal() {\n this.age = 0;\n this.weight = 0.0f;\n System.out.println(\"Creation of new animal...\");\n }","title":""},{"docid":"ad4cb43c3fcbf23002164ab0392f5d5c","score":"0.57090795","text":"public Generator1() {\n\t\tsuper();\n\t\tthis.minL = 1.0;\n\t\t}","title":""},{"docid":"9d4d3155694508b163eef7caa1387335","score":"0.5704441","text":"SimpleInt()\r\n{\r\np=10;\r\nno_of_year=4;\r\nrate=15000;\r\n}","title":""},{"docid":"944f6fa060354d3f7ec39398031efefb","score":"0.570211","text":"public Animal() {\n\t\tthis.type = \"\";\n\t\tthis.weight = 0;\n\t\tthis.height = 0;\n\t\tthis.isDomestic = false;\n\t\tthis.isPredator = false;\n\t\tcount++;\n\t}","title":""},{"docid":"40418f5afc5177571bb0226bb908e40c","score":"0.5698841","text":"public void specialize(){\r\n\tdefense = (int)(defense * 0.5);\r\n\tattackRating = attackRating * 2;\r\n }","title":""},{"docid":"2290c4e68c585ef91dbeb68af13a9c95","score":"0.56978494","text":"public Animal()\n {\n // initialise instance variables\n height = 10;\n weight = 50;\n \n \n }","title":""},{"docid":"19fa57c6bd980a5a7c36bc4c915197e5","score":"0.56912035","text":"public Loan(float notional, float outstanding, int rating, Date expiry) {\r\n\r\nthis(new TermROC(), notional, outstanding, rating, expiry, null);\r\n\r\n}","title":""},{"docid":"5a53b96b33d1178a3c3889000d135513","score":"0.5681489","text":"public Poids() {\n }","title":""},{"docid":"25182ca0a131dbb8cf03946ff42f9779","score":"0.5677979","text":"public Bus () {\r\n super.speed = 60;\r\n super.costForKm = 35;\r\n }","title":""},{"docid":"770e7be3658b3744421543da20c18e23","score":"0.5668286","text":"public JediConsular() {\n super(\"JediConsular\",\n Attribute.WIS, Attribute.CHA, Attribute.INT, Attribute.CON, Attribute.STR, Attribute.DEX,\n 8, 6,\n new ArrayList(),//Class Skills\n new int[]{0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15},//BAB\n new int[]{2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12},//FORTSAVE\n new int[]{1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9},//REFSAVE\n new int[]{2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12},//WILLSAVE\n new int[]{3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 10, 10, 11},//DEFENSE\n new int[]{1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6},//REPUTATION\n 4, 250);\n //TODO add specific abilities/feats here\n prestige = false;\n isForce = true;\n addClassSkill(3);\n addClassSkill(5);\n addClassSkill(6);\n addClassSkill(10);\n addClassSkill(17);\n addClassSkill(20);\n addClassSkill(22);\n addClassSkill(27);\n addClassSkill(28);\n addClassSkill(32);\n addClassSkill(37);\n }","title":""},{"docid":"e1e611080aa998f56dcb1a13bc019a0e","score":"0.566356","text":"public Loan(float notional, float outstanding, int rating, Date expiry, Date maturity) {\r\n\r\nthis(new RevolvingTermROC(), notional, outstanding, rating, expiry, maturity);\r\n\r\n}","title":""},{"docid":"b110a3c0c92bac7171c928564bc34e87","score":"0.5654429","text":"public Cab() {\r\n fare = 30;\r\n }","title":""},{"docid":"f5cbe3d46d992caf7872c8e646dbe778","score":"0.56531656","text":"@Test\n public void testConstructors()\n {\n Kernel kernel = null;\n int budget = Forgetron.DEFAULT_BUDGET;\n Forgetron.Greedy instance = new Forgetron.Greedy();\n assertSame(kernel, instance.getKernel());\n assertEquals(budget, instance.getBudget());\n\n kernel = new PolynomialKernel(\n 1 + this.random.nextInt(10), this.random.nextDouble());\n budget = 1 + random.nextInt(100);\n instance = new Forgetron.Greedy(kernel, budget);\n assertSame(kernel, instance.getKernel());\n assertEquals(budget, instance.getBudget());\n }","title":""},{"docid":"e9f5fa657e2629cf562149dbc4a12b29","score":"0.5651979","text":"public Car()\n {\n super.setMaxSpeed(MAX_SPEED);\n }","title":""},{"docid":"e4e097ded3d1858348e6ce8a58fc6517","score":"0.56474626","text":"@Override\n public double CalcularPromedio() {\n return 0;\n }","title":""},{"docid":"c020b2e18840065159e5f52a3dc776f0","score":"0.5645983","text":"public StandardTruck() {\n\t\tsuper();\n\t\tmaxWeight = 100; // default value\n\t\tthis.currentWeight = 0;\n\t\tdestination = null;\n\t\tSystem.out.println(\"Creating \" + this);\n\t}","title":""},{"docid":"12552fe3c036f148500a3cd80049afe8","score":"0.5645255","text":"public CaseChance() {\r\n\t\tsuper(\"Chance\", 0);\r\n\t}","title":""},{"docid":"f26edd6769163d17c762e40a580def93","score":"0.5641806","text":"public SiLengthMetricSystem() {\n\t\tsuper();\n\t}","title":""},{"docid":"e2c0cf28dcb2ab3107f1aab558ba0a11","score":"0.5632791","text":"public ThermometerRound(int i){\n }","title":""},{"docid":"f7ab54fa72659d4b7295837cd8f51a39","score":"0.5630888","text":"public Coalescor() {\r\n\t\tthis(0);\r\n\t}","title":""},{"docid":"1172a7b7fce4f6ac7d16e55fd74985ea","score":"0.56237507","text":"private RandomValue() {\n super();\n }","title":""},{"docid":"040ce8b819fa780f067cb8930207ffc5","score":"0.5623227","text":"public Product()\n {\n this(0, \"\", 0.0, 0, 0, 0);\n }","title":""},{"docid":"4eb2c00f9932e2d4110cc433fd601bc9","score":"0.56155956","text":"public Producer()\r\n\t{\r\n\t\tproCurve = new ProducerCurve();\r\n\t}","title":""},{"docid":"dac09076a972f857c833cd170554ea82","score":"0.56116146","text":"public BritishSquare() {\n this(5);\n }","title":""},{"docid":"351a9ff9c1254c15907e952bce9f2e4f","score":"0.5611565","text":"public Speciality() {\n}","title":""},{"docid":"95f0549e2e40c1e262a534078042345f","score":"0.56113034","text":"public Rain() {\n}","title":""},{"docid":"f4af509187581b9e9bbd8112c3b6053f","score":"0.56054676","text":"public PulseRifle()\n {\n super(new BigDecimal(30000), \"Pulse Rifle\", \"The most powerful weapon of its time.Multiplies Dudley gain by 4.5\",new BigDecimal(\"4.5\"));\n }","title":""},{"docid":"fb2dcf5066d61e7532e6bb4b53fb9ad2","score":"0.5604868","text":"public Consumo(){\n km = 0; \n litros = 0;\n vMed = 0;\n pGas = 0;\n }","title":""},{"docid":"5383209e600b3a455dbde215ac7b522c","score":"0.5598162","text":"Candy(){\n weight = 0.00;\n PRICE_PER_POUND = 0.00;\n calories = 0;\n }","title":""},{"docid":"13052d0b0d58007f1ad61106d2d16f78","score":"0.5596917","text":"public double perimetro() {\r\n\r\n }","title":""},{"docid":"f97d2182683c11d1088389684eb74a07","score":"0.5596638","text":"public CastleLevel() {\r\n }","title":""},{"docid":"d05e1c3f1d300478556d833688936920","score":"0.55955607","text":"@Override\n\tprotected double getBaseFare() {\n\t\treturn 0;\n\t}","title":""},{"docid":"d6975cb0daf418d9ca9f3d06d6c50e00","score":"0.5591196","text":"public VideoGameCharacterRatingPart1() {\r\n }","title":""},{"docid":"d100e288ce60d89d62c0efe4cdc832fa","score":"0.55733323","text":"public Term() {\r\n\t\tcoefficient = 1;\r\n\t\texponent = 1;\r\n\t\t\r\n\t}","title":""},{"docid":"7e02c688155fa05c56388770d4db9a74","score":"0.55733097","text":"@Override\r\n\tpublic double getBulletPowa() {\n\t\treturn 10;\r\n\t}","title":""},{"docid":"a4326e3b6ece62a45b3fd3004e1069f6","score":"0.5565597","text":"@Test\n public void testRetirementYearsUsesAppreciationRateSpecifiedInConstructor() {\n double appreciationRate = .06;\n RetirementScenario testScenario = new RetirementScenario(67, 68, 100000, 0, appreciationRate, 0, 0);\n RetirementYear year = testScenario.getRetirementYears().get(0);\n int appreciation = (int) (year.getBeginBalance() * appreciationRate);\n assertEquals(appreciation, year.getAppreciation());\n }","title":""},{"docid":"d6c4dc471558e7f7724b2394b4108907","score":"0.55605423","text":"public Rational() {\r\n this(zero,one);\r\n }","title":""},{"docid":"b00ffb224af2e4af766df8c9cc9b87d8","score":"0.5554168","text":"public Critter4() {\n\n\t}","title":""},{"docid":"a3b7fe82f1d40e7456c5bba5d34ec491","score":"0.5546947","text":"public Metric() {\r\n\t\tsuper();\r\n\t}","title":""},{"docid":"e400a40b7669f9acfd0d88e18f7bf24d","score":"0.5546293","text":"public Thing()\n\t{\n\t\tage = -99;\n\t\tweight = -.00005;\n\t\tname = \"\";\n\t}","title":""},{"docid":"69ece90e3c6da90e80bdc8a141802ea9","score":"0.5540206","text":"private NoteCreationMetrics() {}","title":""},{"docid":"a9b64459f5d0ee1bb61885e1f02c117b","score":"0.553837","text":"public EggAscensionRate(){\n super(numParams,numSubFuncs,DEFAULT_type,DEFAULT_name,DEFAULT_descr,DEFAULT_fullDescr);\n String key;\n key = PARAM_rpw; addParameter(key, Double.class,key);\n }","title":""},{"docid":"88013746ba2a834246cc757cf63a52d6","score":"0.5537849","text":"public RegistrationCost(){\n \n student = 0.0; \n nonStudent = 0.0; \n dinner = 0.0; \n commerce = 0.0; \n futureWeb = 0.0; \n java = 0.0; \n network = 0.0; \n }","title":""},{"docid":"fd9072f5138cc1c4ab41677a24a353b8","score":"0.55341744","text":"public PredictiveUnit() {\n }","title":""},{"docid":"206bdf51299a734aae4e52be66f924a2","score":"0.5531526","text":"public Pesticide() {\n\t\tsuper(\"Pesticide\", 20.00, 1, 2);\n\t}","title":""},{"docid":"261bb67a81fc77eb39c9f90cc5f39306","score":"0.55289495","text":"public Coalescor() {\n this(0);\n }","title":""},{"docid":"d38eac9b175d563323c6270742c6686d","score":"0.5528047","text":"private SkillArea()\r\n\t{\r\n\t\t\r\n\t}","title":""},{"docid":"dce79489dee1906577c427fd368b8bd6","score":"0.5522699","text":"public Pneumatics() {\n cylinder = new DoubleSolenoid(1, 0);\n cylinder.set(Value.kReverse);\n }","title":""},{"docid":"4292385bb9b43a3bfc9d11d79e59f3a5","score":"0.5520532","text":"public Mammals() {\n\t\tthis(100);\n\t}","title":""},{"docid":"b8874ce5227682f3a5a4cabdfaffe2a7","score":"0.5518337","text":"public Claw (){\n\t}","title":""},{"docid":"9798cdcb437ae73cec3fa8e5ac97900b","score":"0.5516015","text":"public SmallPotion()\n {\n super.setPower(20);\n super.setName(\"Small Healing Potion\");\n super.setDescription(\"| Restores 20 health\");\n super.setPrice(30);\n }","title":""},{"docid":"787aa70606c5f3d1745d063a5a131221","score":"0.5514322","text":"public Coalescor(double startingAmount) {\n this(startingAmount, DefaultConfig.EPSILON);\n }","title":""},{"docid":"d4837ef7cf64f1d341ed0caa073ee102","score":"0.5513496","text":"public void setWeight (int w) {\r\n this.Weight = w;\r\n}","title":""},{"docid":"b3988c3ebf2d67cea938d850bfa1600a","score":"0.55134","text":"public AudiSolicitud() {\r\n }","title":""},{"docid":"edb8df5c167ab686d7a7b0bb834ca654","score":"0.55090135","text":"public ChordEvaluator() {\n\t\tsuper();\n\t}","title":""},{"docid":"b3f91f1216f9ab44a9d5fc6dfafe0666","score":"0.55041665","text":"private Tipo(double prezzo) {\n\t\tthis.prezzo = prezzo;\n\t}","title":""},{"docid":"0c1de2aea9bdb46d51429be56acb8176","score":"0.5501169","text":"@Override\npublic double getBreedingProbability() {\n\treturn 0;\n}","title":""},{"docid":"813fe344244bb419aa351af1233ae3a5","score":"0.55010825","text":"public Rifle()\n {\n super(new BigDecimal(20000), \"Rifle\", \"A large gun specializing in long range engages. Multiplies Dudley gain by 4.\",new BigDecimal(\"4\"));\n }","title":""},{"docid":"1cb2674c2b2c89135d8229a802d45e84","score":"0.5500629","text":"public Score() {\n\t\tthis(0); \n\t}","title":""},{"docid":"11a437ee1bf13e2d6517936d665c55fc","score":"0.55001223","text":"public Clorus() {\n this(1);\n }","title":""},{"docid":"11a437ee1bf13e2d6517936d665c55fc","score":"0.55001223","text":"public Clorus() {\n this(1);\n }","title":""},{"docid":"11a437ee1bf13e2d6517936d665c55fc","score":"0.55001223","text":"public Clorus() {\n this(1);\n }","title":""}],"string":"[\n {\n \"docid\": \"354dbdcee74d1b36f18d740fed044541\",\n \"score\": \"0.63975805\",\n \"text\": \"public Rating() {\\n this(0, 5);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e41b99fb1192c154eaf35c1937ade565\",\n \"score\": \"0.6266122\",\n \"text\": \"public TaxRate () {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b6be010d90389ac40e263b4f262ce8a\",\n \"score\": \"0.6242192\",\n \"text\": \"WeaponType(float p){\\n power=p;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8660b0ec608abc57e94835225ac01c3\",\n \"score\": \"0.62357223\",\n \"text\": \"private Weight() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92190c8e6cd48c9f00c03e5dce619d2c\",\n \"score\": \"0.6175015\",\n \"text\": \"public MulishCritter(double weight) \\r\\n {\\r\\n super(weight);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ae44efb86d0b901a9b2cfab87c286f\",\n \"score\": \"0.61169714\",\n \"text\": \"public void specialize() {\\r\\n\\tstrength = 75;\\r\\n\\tdef = 10;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50774126f5a0ba2153b047aeca18a4f4\",\n \"score\": \"0.6106534\",\n \"text\": \"public Car(double efficiency)\\n{\\n this.fuelEfficiency = efficiency;\\n this.fuelInTank = 0;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddd64073f3c01fd63799e6fbbd8881b9\",\n \"score\": \"0.6068201\",\n \"text\": \"default double getRate() {\\n return 2.5;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72466b15e8afd0302d0c5fa4c84292f\",\n \"score\": \"0.60406363\",\n \"text\": \"public void testConstructors()\\n {\\n System.out.println( \\\"Constructors\\\" );\\n\\n NegativeLogLikelihood instance = new NegativeLogLikelihood();\\n assertNull( instance.getCostParameters() );\\n\\n UnivariateGaussian g = new UnivariateGaussian.PDF();\\n Collection samples = g.sample(RANDOM, 1000);\\n instance = new NegativeLogLikelihood( samples );\\n assertSame( samples, instance.getCostParameters() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fc20777fe5a912f9e4c162caeda790b\",\n \"score\": \"0.60159993\",\n \"text\": \"public Nachtelf() {\\r\\n\\t\\tthis(false, 1.0);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2051330cef72db786d75105de65c113a\",\n \"score\": \"0.6010285\",\n \"text\": \"public DefaultEstimator() {\\n\\t\\tthis(100, new edu.uab.ssg.mixomatic.power.jmsl.TTestPValueAdjuster(), new edu.uab.ssg.mixomatic.power.colt.RandomAdapter());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45e203c4af269d6641842865ee7b0a39\",\n \"score\": \"0.59938824\",\n \"text\": \"@Override\\n public int defaultFactor() {\\n return 1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"402a3f9085aefd67835b24f3228c43c5\",\n \"score\": \"0.59790695\",\n \"text\": \"public Rate() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8262feaed597f7a1985a58c14a2d4ab2\",\n \"score\": \"0.59636366\",\n \"text\": \"public MediatingModeratingFQualityCalculator() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eed14e26478de97c5a6599fb5946ee4\",\n \"score\": \"0.59411\",\n \"text\": \"public Nickel() //If you initialize without a count....\\n {\\n //Should default to one coin being added\\n this.count = 1;\\n this.value = 0.05;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f907e3f02a195fe4023a1c6bdbd84290\",\n \"score\": \"0.5926041\",\n \"text\": \"public AverageSpeedMeter() {\\n this(5);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff266f6cfcf09943de4dbb8b2596f26\",\n \"score\": \"0.592068\",\n \"text\": \"public Card() {\\n\\n Random rand = new Random();\\n power = rand.nextInt(100) + 1;\\n toughness = rand.nextInt(100) + 1;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e6c5b06bc63accfc75e1694278b9abc\",\n \"score\": \"0.59181833\",\n \"text\": \"public Potato1() {\\n this.variety = \\\"Russet Burbank\\\";\\n this.age = 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"478fb45697ef53f505d3c8457fb61dd4\",\n \"score\": \"0.589269\",\n \"text\": \"@Override\\n\\tpublic double calcRate() {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab9ce075cf81fe3876514d4b02e8d389\",\n \"score\": \"0.58824587\",\n \"text\": \"public BeatIntensity() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfdcbb9dcc67580b54948dbc09b23039\",\n \"score\": \"0.5866355\",\n \"text\": \"public ParabolicTrough() {\\n super(1, 1, 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7dd1d1fa12800412880220a6bc9e7de\",\n \"score\": \"0.58532417\",\n \"text\": \"protected Pilsner(String name, BeerType type, Integer ibu, Double abv) {\\n super(name, type, ibu, abv);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49c41af1258f442e69589a071a3d1d04\",\n \"score\": \"0.5841656\",\n \"text\": \"public CapacityAnalysis ()\\n {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9bca2cd74f375f424d05eb9f5326414\",\n \"score\": \"0.58235914\",\n \"text\": \"public Monom(){//Default Constructor\\r\\n\\t\\tthis.set_coefficient(0);\\r\\n\\t\\tthis.set_power(0);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cdabf0a4adb9fd1aaf90a7c44e8bb3d\",\n \"score\": \"0.5793561\",\n \"text\": \"@Override\\r\\n public double getBaseWeight() {\\r\\n switch (getType()) {\\r\\n case Chemical: return 5 * getAutonomy();\\r\\n default: return Math.ceil(0.025 * getPlantSize() * getAutonomy());\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da3fd4e6a906fc8c5a7a23bebb0e44f2\",\n \"score\": \"0.57926464\",\n \"text\": \"public Pilsner(String name) {\\n super(name, BeerType.PILSNER);\\n Integer ibu = (int)Math.floor((Math.random() * 20)) + 25;\\n Double abv = Math.random() * 1.8 + 4.2;\\n this.ibu = ibu;\\n this.abv = abv;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"867df9bae114218cb82e70fe5dfaa074\",\n \"score\": \"0.5791092\",\n \"text\": \"public RainSensor() {\\r\\n myInitial = 5;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e2e319ae6bbf75030f9ccce2527f2e1\",\n \"score\": \"0.578626\",\n \"text\": \"@Override\\n public double ploscina() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ac5e28b134874fc3d28fa4f8529f83c\",\n \"score\": \"0.5783537\",\n \"text\": \"@Override\\r\\n public Double getSensitivity() {\\n return new Double(0);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96b7a173a25e03e87c76f902bb84918a\",\n \"score\": \"0.5765845\",\n \"text\": \"public Boneyard(){\\r\\n\\t\\tthis(6);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d26624de23a58909c9fef2ce089bb84d\",\n \"score\": \"0.5763007\",\n \"text\": \"public SpeedDating()\\n {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b47848dda19f097b988d146425ea386b\",\n \"score\": \"0.5762626\",\n \"text\": \"public SkuCapacity() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66cd94aa95186390126412c0c7d32294\",\n \"score\": \"0.57615155\",\n \"text\": \"public void set_baserate(double rate) { this.baseLearnRate = rate; this.learnRate = rate; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bb80e08d79fca738007aa54af7caa56\",\n \"score\": \"0.57584417\",\n \"text\": \"public Pythagoras() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5d724d392ec6b99232e5dd7c51518ed\",\n \"score\": \"0.5753141\",\n \"text\": \"public void set_rate(double rate) { this.learnRate = rate; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edcc791d582f5875663561f50637e4a4\",\n \"score\": \"0.5744733\",\n \"text\": \"public Rating(){\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1b370e45ca11daa36dbe5075283e2ce\",\n \"score\": \"0.5740229\",\n \"text\": \"public BMI(){\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c068de62e1f4da2a8558bbf2decf90f\",\n \"score\": \"0.5737708\",\n \"text\": \"@Override\\r\\n protected double getBaseCost() { return 0; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c84f408d528979bc078676e876c17bf\",\n \"score\": \"0.5722689\",\n \"text\": \"public double getBaseRate() {\\n\\t\\treturn 2.5;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef7a4fd1768b804a9ab120ab16c428db\",\n \"score\": \"0.57215345\",\n \"text\": \"public Animal() {\\n this.age = 0;\\n this.weight = 0.0f;\\n System.out.println(\\\"Creation of new animal...\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad4cb43c3fcbf23002164ab0392f5d5c\",\n \"score\": \"0.57090795\",\n \"text\": \"public Generator1() {\\n\\t\\tsuper();\\n\\t\\tthis.minL = 1.0;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d4d3155694508b163eef7caa1387335\",\n \"score\": \"0.5704441\",\n \"text\": \"SimpleInt()\\r\\n{\\r\\np=10;\\r\\nno_of_year=4;\\r\\nrate=15000;\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"944f6fa060354d3f7ec39398031efefb\",\n \"score\": \"0.570211\",\n \"text\": \"public Animal() {\\n\\t\\tthis.type = \\\"\\\";\\n\\t\\tthis.weight = 0;\\n\\t\\tthis.height = 0;\\n\\t\\tthis.isDomestic = false;\\n\\t\\tthis.isPredator = false;\\n\\t\\tcount++;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40418f5afc5177571bb0226bb908e40c\",\n \"score\": \"0.5698841\",\n \"text\": \"public void specialize(){\\r\\n\\tdefense = (int)(defense * 0.5);\\r\\n\\tattackRating = attackRating * 2;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2290c4e68c585ef91dbeb68af13a9c95\",\n \"score\": \"0.56978494\",\n \"text\": \"public Animal()\\n {\\n // initialise instance variables\\n height = 10;\\n weight = 50;\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19fa57c6bd980a5a7c36bc4c915197e5\",\n \"score\": \"0.56912035\",\n \"text\": \"public Loan(float notional, float outstanding, int rating, Date expiry) {\\r\\n\\r\\nthis(new TermROC(), notional, outstanding, rating, expiry, null);\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a53b96b33d1178a3c3889000d135513\",\n \"score\": \"0.5681489\",\n \"text\": \"public Poids() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25182ca0a131dbb8cf03946ff42f9779\",\n \"score\": \"0.5677979\",\n \"text\": \"public Bus () {\\r\\n super.speed = 60;\\r\\n super.costForKm = 35;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"770e7be3658b3744421543da20c18e23\",\n \"score\": \"0.5668286\",\n \"text\": \"public JediConsular() {\\n super(\\\"JediConsular\\\",\\n Attribute.WIS, Attribute.CHA, Attribute.INT, Attribute.CON, Attribute.STR, Attribute.DEX,\\n 8, 6,\\n new ArrayList(),//Class Skills\\n new int[]{0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15},//BAB\\n new int[]{2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12},//FORTSAVE\\n new int[]{1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9},//REFSAVE\\n new int[]{2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12},//WILLSAVE\\n new int[]{3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 10, 10, 11},//DEFENSE\\n new int[]{1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6},//REPUTATION\\n 4, 250);\\n //TODO add specific abilities/feats here\\n prestige = false;\\n isForce = true;\\n addClassSkill(3);\\n addClassSkill(5);\\n addClassSkill(6);\\n addClassSkill(10);\\n addClassSkill(17);\\n addClassSkill(20);\\n addClassSkill(22);\\n addClassSkill(27);\\n addClassSkill(28);\\n addClassSkill(32);\\n addClassSkill(37);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1e611080aa998f56dcb1a13bc019a0e\",\n \"score\": \"0.566356\",\n \"text\": \"public Loan(float notional, float outstanding, int rating, Date expiry, Date maturity) {\\r\\n\\r\\nthis(new RevolvingTermROC(), notional, outstanding, rating, expiry, maturity);\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b110a3c0c92bac7171c928564bc34e87\",\n \"score\": \"0.5654429\",\n \"text\": \"public Cab() {\\r\\n fare = 30;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5cbe3d46d992caf7872c8e646dbe778\",\n \"score\": \"0.56531656\",\n \"text\": \"@Test\\n public void testConstructors()\\n {\\n Kernel kernel = null;\\n int budget = Forgetron.DEFAULT_BUDGET;\\n Forgetron.Greedy instance = new Forgetron.Greedy();\\n assertSame(kernel, instance.getKernel());\\n assertEquals(budget, instance.getBudget());\\n\\n kernel = new PolynomialKernel(\\n 1 + this.random.nextInt(10), this.random.nextDouble());\\n budget = 1 + random.nextInt(100);\\n instance = new Forgetron.Greedy(kernel, budget);\\n assertSame(kernel, instance.getKernel());\\n assertEquals(budget, instance.getBudget());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9f5fa657e2629cf562149dbc4a12b29\",\n \"score\": \"0.5651979\",\n \"text\": \"public Car()\\n {\\n super.setMaxSpeed(MAX_SPEED);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4e097ded3d1858348e6ce8a58fc6517\",\n \"score\": \"0.56474626\",\n \"text\": \"@Override\\n public double CalcularPromedio() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c020b2e18840065159e5f52a3dc776f0\",\n \"score\": \"0.5645983\",\n \"text\": \"public StandardTruck() {\\n\\t\\tsuper();\\n\\t\\tmaxWeight = 100; // default value\\n\\t\\tthis.currentWeight = 0;\\n\\t\\tdestination = null;\\n\\t\\tSystem.out.println(\\\"Creating \\\" + this);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12552fe3c036f148500a3cd80049afe8\",\n \"score\": \"0.5645255\",\n \"text\": \"public CaseChance() {\\r\\n\\t\\tsuper(\\\"Chance\\\", 0);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f26edd6769163d17c762e40a580def93\",\n \"score\": \"0.5641806\",\n \"text\": \"public SiLengthMetricSystem() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2c0cf28dcb2ab3107f1aab558ba0a11\",\n \"score\": \"0.5632791\",\n \"text\": \"public ThermometerRound(int i){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7ab54fa72659d4b7295837cd8f51a39\",\n \"score\": \"0.5630888\",\n \"text\": \"public Coalescor() {\\r\\n\\t\\tthis(0);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1172a7b7fce4f6ac7d16e55fd74985ea\",\n \"score\": \"0.56237507\",\n \"text\": \"private RandomValue() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"040ce8b819fa780f067cb8930207ffc5\",\n \"score\": \"0.5623227\",\n \"text\": \"public Product()\\n {\\n this(0, \\\"\\\", 0.0, 0, 0, 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4eb2c00f9932e2d4110cc433fd601bc9\",\n \"score\": \"0.56155956\",\n \"text\": \"public Producer()\\r\\n\\t{\\r\\n\\t\\tproCurve = new ProducerCurve();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dac09076a972f857c833cd170554ea82\",\n \"score\": \"0.56116146\",\n \"text\": \"public BritishSquare() {\\n this(5);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"351a9ff9c1254c15907e952bce9f2e4f\",\n \"score\": \"0.5611565\",\n \"text\": \"public Speciality() {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95f0549e2e40c1e262a534078042345f\",\n \"score\": \"0.56113034\",\n \"text\": \"public Rain() {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4af509187581b9e9bbd8112c3b6053f\",\n \"score\": \"0.56054676\",\n \"text\": \"public PulseRifle()\\n {\\n super(new BigDecimal(30000), \\\"Pulse Rifle\\\", \\\"The most powerful weapon of its time.Multiplies Dudley gain by 4.5\\\",new BigDecimal(\\\"4.5\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb2dcf5066d61e7532e6bb4b53fb9ad2\",\n \"score\": \"0.5604868\",\n \"text\": \"public Consumo(){\\n km = 0; \\n litros = 0;\\n vMed = 0;\\n pGas = 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5383209e600b3a455dbde215ac7b522c\",\n \"score\": \"0.5598162\",\n \"text\": \"Candy(){\\n weight = 0.00;\\n PRICE_PER_POUND = 0.00;\\n calories = 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13052d0b0d58007f1ad61106d2d16f78\",\n \"score\": \"0.5596917\",\n \"text\": \"public double perimetro() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f97d2182683c11d1088389684eb74a07\",\n \"score\": \"0.5596638\",\n \"text\": \"public CastleLevel() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d05e1c3f1d300478556d833688936920\",\n \"score\": \"0.55955607\",\n \"text\": \"@Override\\n\\tprotected double getBaseFare() {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6975cb0daf418d9ca9f3d06d6c50e00\",\n \"score\": \"0.5591196\",\n \"text\": \"public VideoGameCharacterRatingPart1() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d100e288ce60d89d62c0efe4cdc832fa\",\n \"score\": \"0.55733323\",\n \"text\": \"public Term() {\\r\\n\\t\\tcoefficient = 1;\\r\\n\\t\\texponent = 1;\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e02c688155fa05c56388770d4db9a74\",\n \"score\": \"0.55733097\",\n \"text\": \"@Override\\r\\n\\tpublic double getBulletPowa() {\\n\\t\\treturn 10;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4326e3b6ece62a45b3fd3004e1069f6\",\n \"score\": \"0.5565597\",\n \"text\": \"@Test\\n public void testRetirementYearsUsesAppreciationRateSpecifiedInConstructor() {\\n double appreciationRate = .06;\\n RetirementScenario testScenario = new RetirementScenario(67, 68, 100000, 0, appreciationRate, 0, 0);\\n RetirementYear year = testScenario.getRetirementYears().get(0);\\n int appreciation = (int) (year.getBeginBalance() * appreciationRate);\\n assertEquals(appreciation, year.getAppreciation());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6c4dc471558e7f7724b2394b4108907\",\n \"score\": \"0.55605423\",\n \"text\": \"public Rational() {\\r\\n this(zero,one);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b00ffb224af2e4af766df8c9cc9b87d8\",\n \"score\": \"0.5554168\",\n \"text\": \"public Critter4() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3b7fe82f1d40e7456c5bba5d34ec491\",\n \"score\": \"0.5546947\",\n \"text\": \"public Metric() {\\r\\n\\t\\tsuper();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e400a40b7669f9acfd0d88e18f7bf24d\",\n \"score\": \"0.5546293\",\n \"text\": \"public Thing()\\n\\t{\\n\\t\\tage = -99;\\n\\t\\tweight = -.00005;\\n\\t\\tname = \\\"\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69ece90e3c6da90e80bdc8a141802ea9\",\n \"score\": \"0.5540206\",\n \"text\": \"private NoteCreationMetrics() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9b64459f5d0ee1bb61885e1f02c117b\",\n \"score\": \"0.553837\",\n \"text\": \"public EggAscensionRate(){\\n super(numParams,numSubFuncs,DEFAULT_type,DEFAULT_name,DEFAULT_descr,DEFAULT_fullDescr);\\n String key;\\n key = PARAM_rpw; addParameter(key, Double.class,key);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88013746ba2a834246cc757cf63a52d6\",\n \"score\": \"0.5537849\",\n \"text\": \"public RegistrationCost(){\\n \\n student = 0.0; \\n nonStudent = 0.0; \\n dinner = 0.0; \\n commerce = 0.0; \\n futureWeb = 0.0; \\n java = 0.0; \\n network = 0.0; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd9072f5138cc1c4ab41677a24a353b8\",\n \"score\": \"0.55341744\",\n \"text\": \"public PredictiveUnit() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"206bdf51299a734aae4e52be66f924a2\",\n \"score\": \"0.5531526\",\n \"text\": \"public Pesticide() {\\n\\t\\tsuper(\\\"Pesticide\\\", 20.00, 1, 2);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"261bb67a81fc77eb39c9f90cc5f39306\",\n \"score\": \"0.55289495\",\n \"text\": \"public Coalescor() {\\n this(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d38eac9b175d563323c6270742c6686d\",\n \"score\": \"0.5528047\",\n \"text\": \"private SkillArea()\\r\\n\\t{\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dce79489dee1906577c427fd368b8bd6\",\n \"score\": \"0.5522699\",\n \"text\": \"public Pneumatics() {\\n cylinder = new DoubleSolenoid(1, 0);\\n cylinder.set(Value.kReverse);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4292385bb9b43a3bfc9d11d79e59f3a5\",\n \"score\": \"0.5520532\",\n \"text\": \"public Mammals() {\\n\\t\\tthis(100);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8874ce5227682f3a5a4cabdfaffe2a7\",\n \"score\": \"0.5518337\",\n \"text\": \"public Claw (){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9798cdcb437ae73cec3fa8e5ac97900b\",\n \"score\": \"0.5516015\",\n \"text\": \"public SmallPotion()\\n {\\n super.setPower(20);\\n super.setName(\\\"Small Healing Potion\\\");\\n super.setDescription(\\\"| Restores 20 health\\\");\\n super.setPrice(30);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"787aa70606c5f3d1745d063a5a131221\",\n \"score\": \"0.5514322\",\n \"text\": \"public Coalescor(double startingAmount) {\\n this(startingAmount, DefaultConfig.EPSILON);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4837ef7cf64f1d341ed0caa073ee102\",\n \"score\": \"0.5513496\",\n \"text\": \"public void setWeight (int w) {\\r\\n this.Weight = w;\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3988c3ebf2d67cea938d850bfa1600a\",\n \"score\": \"0.55134\",\n \"text\": \"public AudiSolicitud() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edb8df5c167ab686d7a7b0bb834ca654\",\n \"score\": \"0.55090135\",\n \"text\": \"public ChordEvaluator() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3f91f1216f9ab44a9d5fc6dfafe0666\",\n \"score\": \"0.55041665\",\n \"text\": \"private Tipo(double prezzo) {\\n\\t\\tthis.prezzo = prezzo;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c1de2aea9bdb46d51429be56acb8176\",\n \"score\": \"0.5501169\",\n \"text\": \"@Override\\npublic double getBreedingProbability() {\\n\\treturn 0;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"813fe344244bb419aa351af1233ae3a5\",\n \"score\": \"0.55010825\",\n \"text\": \"public Rifle()\\n {\\n super(new BigDecimal(20000), \\\"Rifle\\\", \\\"A large gun specializing in long range engages. Multiplies Dudley gain by 4.\\\",new BigDecimal(\\\"4\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cb2674c2b2c89135d8229a802d45e84\",\n \"score\": \"0.5500629\",\n \"text\": \"public Score() {\\n\\t\\tthis(0); \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11a437ee1bf13e2d6517936d665c55fc\",\n \"score\": \"0.55001223\",\n \"text\": \"public Clorus() {\\n this(1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11a437ee1bf13e2d6517936d665c55fc\",\n \"score\": \"0.55001223\",\n \"text\": \"public Clorus() {\\n this(1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11a437ee1bf13e2d6517936d665c55fc\",\n \"score\": \"0.55001223\",\n \"text\": \"public Clorus() {\\n this(1);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":844,"cells":{"query_id":{"kind":"string","value":"206f2a772d2061d9b0df8301589657f2"},"query":{"kind":"string","value":"Feeds the specified value into the neuron."},"positive_passages":{"kind":"list like","value":[{"docid":"537b93a91b93cb47c11d9399a229ad1a","score":"0.5017156","text":"@Override\n public void input(double input) {\n this.value += input;\n }","title":""}],"string":"[\n {\n \"docid\": \"537b93a91b93cb47c11d9399a229ad1a\",\n \"score\": \"0.5017156\",\n \"text\": \"@Override\\n public void input(double input) {\\n this.value += input;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"cefe332211f5b38cb2b8eb748a0c7a05","score":"0.587522","text":"public void value(float value);","title":""},{"docid":"07c432199f39feec6c1747bbe52964c0","score":"0.5817635","text":"public InputNeuron(double value, ArrayList outputs) {\n this.error = 0;\n this.value = value;\n this.outputs = outputs;\n }","title":""},{"docid":"6ad58bf28e03a8ec942934421865077b","score":"0.5806415","text":"public void updateXYDataset(float value){\r\n\t\tstep++;\r\n\t\txyPopulationToT.add(step, value);\r\n\t}","title":""},{"docid":"73561d1fc2a2bf76337b21227d0a06cf","score":"0.5669807","text":"public void setStream(double value){\r\n table.getEntry(\"stream\").setNumber(value);\r\n }","title":""},{"docid":"8ecd4737c20f70690a1f56e92349e73e","score":"0.55699706","text":"void setValue(double value);","title":""},{"docid":"1bbe29dbd588e999f9601df962f36c93","score":"0.5562411","text":"public Builder addIntensity(double value) {\n ensureIntensityIsMutable();\n intensity_.add(value);\n onChanged();\n return this;\n }","title":""},{"docid":"1c4eff5e407d31ac10c6f669518a3587","score":"0.5559436","text":"public void setValue(double value);","title":""},{"docid":"ec65aff6df6d29927d7e6168735b7aac","score":"0.55498487","text":"public void write(int value) {\r\n\r\n this.value = value; \r\n\r\n }","title":""},{"docid":"89dfda99615c5ea89b065e5cf3d8e602","score":"0.5499995","text":"void addValueNode(double val)\n\t{\n\t\tNode n = new Node();\n\t\tnodes.add(n);\n\n\t\tn.type = NodeType.VALUE;\n\t\tn.value = val;\n\t}","title":""},{"docid":"ae29ee2d17450abd87f58707d9229d2b","score":"0.5496271","text":"private void startFeedForwarding() {\n\t\tfor (int layer = 0; layer < nodes.keySet().size(); layer++) {\n\t\t\tfor (int node = 0; node < nodes.get(layer).size(); node++) {\n\t\t\t\tNodeGene nodeGene = nodes.get(layer).get(node);\n\t\t\t\t// Sigmoid each node\n\t\t\t\tnodeGene.sigmoid();\n\t\t\t\t\n\t\t\t\t// Pass value throught connection to next node\n\t\t\t\t// Loop throught all the connections of this node\n\t\t\t\tfor (ConnectionGene connection : connections.get(nodeGene.getId())) {\n\t\t\t\t\tfloat valueToPass = nodeGene.getValue() * connection.getWeight();\n\t\t\t\t\tgetNodeById(connection.getOutNode()).addToValue(valueToPass);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"5d9f31c384643dca7be2246028ee3576","score":"0.54765433","text":"public void setValue(double value)\n {\n this.value = value;\n }","title":""},{"docid":"9786b63926446e8b2c6b26f2617146ff","score":"0.54673445","text":"@Override\n public void run() {\n if(mThermostat == null) {\n return;\n }\n\n // set value\n String thermostatId = mThermostat.getDeviceId();\n\n // Set value based on temp scale\n if (mFahrenheit) {\n mNest.thermostats.setTargetTemperatureF(thermostatId, mTargetValue);\n } else {\n mNest.thermostats.setTargetTemperatureC(thermostatId, mTargetValue);\n }\n\n say();\n }","title":""},{"docid":"fe49db8e587ae1469d74d9094c307b0c","score":"0.5463362","text":"public void writeFloat(int startingAddress, float value){\r\n \ttry {\r\n\t\t\tclient.WriteMultipleRegisters(startingAddress -1 ,ModbusClient.ConvertFloatToTwoRegisters((float)value ));\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"Exception from server\", JOptionPane.OK_CANCEL_OPTION);\r\n\t\t}\r\n }","title":""},{"docid":"20dd626f51fc5ccc238ab011c7c150da","score":"0.5447235","text":"public Builder addIntensity(float value) {\n ensureIntensityIsMutable();\n intensity_.add(value);\n onChanged();\n return this;\n }","title":""},{"docid":"cfae0376ac6f3979349f8e19be64fb48","score":"0.53969675","text":"public void setValue(double value) {\n this.value = value;\n }","title":""},{"docid":"cfae0376ac6f3979349f8e19be64fb48","score":"0.53969675","text":"public void setValue(double value) {\n this.value = value;\n }","title":""},{"docid":"20071eb9472437646b009f0199c0ef6c","score":"0.53607666","text":"void addValue(int pass,float v,float w,int index,BinData bd);","title":""},{"docid":"572e630a98b127864836bf45463df71e","score":"0.5353723","text":"public void setValue(double value) {\n this.value = value;\n }","title":""},{"docid":"3ea3ac5d707e70da51fd2ba8b6e60534","score":"0.5340527","text":"public void notifyPort(double value);","title":""},{"docid":"40be81f52b6c1b27ed10fd0506b00518","score":"0.533928","text":"public void setValue(float value) {\n this.value = value;\n }","title":""},{"docid":"75d1b18f187dc8483bd1c56e37909173","score":"0.5290572","text":"public void feed(double[] in) {\n if (in.length != neurons.size())\n throw new IllegalArgumentException(\"feed_ERR in size not right\");\n if (type != LayerType.IN)\n throw new IllegalArgumentException(\"feed_ERR in size not right\");\n for (int i = 0; i < in.length; i++) {\n neurons.get(i).setValue(in[i]);\n }\n }","title":""},{"docid":"7ba081b4b5f2a75dc96f5a926b744bc5","score":"0.52904356","text":"public void setValue(float value) {\n this.value = value;\n }","title":""},{"docid":"3b98829dcc365f2840190d1121c76aae","score":"0.52887744","text":"void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"01711236974bc45f3a9f188d1b4e4195","score":"0.5249076","text":"public void setValue(Double value) {\n this.value = value;\n }","title":""},{"docid":"01711236974bc45f3a9f188d1b4e4195","score":"0.5249076","text":"public void setValue(Double value) {\n this.value = value;\n }","title":""},{"docid":"01711236974bc45f3a9f188d1b4e4195","score":"0.5249076","text":"public void setValue(Double value) {\n this.value = value;\n }","title":""},{"docid":"01711236974bc45f3a9f188d1b4e4195","score":"0.5249076","text":"public void setValue(Double value) {\n this.value = value;\n }","title":""},{"docid":"53381a3aac48b3867b37bdfd5363949c","score":"0.5236645","text":"public void gainValue()\n\t{\n\t\tvalue++;\n\t}","title":""},{"docid":"3a4c41f12b5741f5040c6022779d8a8b","score":"0.5219379","text":"public void setValue(T value) {\n this.value = value;\n }","title":""},{"docid":"3a4c41f12b5741f5040c6022779d8a8b","score":"0.5219379","text":"public void setValue(T value) {\n this.value = value;\n }","title":""},{"docid":"3a4c41f12b5741f5040c6022779d8a8b","score":"0.5219379","text":"public void setValue(T value) {\n this.value = value;\n }","title":""},{"docid":"0ba0dac99eac6d85db33847e2039011a","score":"0.5215311","text":"V setValue(V value);","title":""},{"docid":"1a0f2cc15795dbbdfee35533306b87b1","score":"0.5168916","text":"public void simInject(double e, String portName, entity value) {\n\t\tsimInject(e, new port(portName), value);\r\n\t}","title":""},{"docid":"214f50973d0e299eb8d4f131599638e8","score":"0.5168359","text":"void valueReceived(Endpoint ep, T value);","title":""},{"docid":"c6004bdeae3f203d7d8f9b565aec4618","score":"0.5164589","text":"public void process(Object value) {\n\t\t\t\tadd(value);\n\t\t\t}","title":""},{"docid":"ae38868ab0b98bc60c44553913f9c040","score":"0.5163724","text":"public void setValue(Object value);","title":""},{"docid":"e7a98df1f8b4c52b7b8e94e1786756f8","score":"0.51568586","text":"public void setValue(Float value)\n\t{\n\t\tthis.value = value;\n\t}","title":""},{"docid":"a47bcb2ed27eaefd6e4df2f4c19e6f94","score":"0.5146014","text":"public void emit(int count, int value) {\n numEntries+= count;\n breaks();\n emitUC(count);\n emitUC(value+translate);\n }","title":""},{"docid":"30c9f15f9012c1f5fbeaf1065b91daf3","score":"0.51448077","text":"public IValue setValue(IValue value);","title":""},{"docid":"6c9d2edcd5bbfe0b16d99759d6448c02","score":"0.5137229","text":"public void setValue(int value) {\r\n this.value = value;\r\n }","title":""},{"docid":"6c9d2edcd5bbfe0b16d99759d6448c02","score":"0.5137229","text":"public void setValue(int value) {\r\n this.value = value;\r\n }","title":""},{"docid":"c6ea119a303f76e2f03b6b550c0aa2be","score":"0.51369065","text":"public Tower(int X, int Y, int value) {\n\t\tthis.value = value;\n\t\tsetX(X);\n\t\tsetY(Y);\n\t}","title":""},{"docid":"d4ca320f0e3ae047011c051861f172ac","score":"0.5127221","text":"public void valueIncremented(){\n value++;\n }","title":""},{"docid":"7b1dc72398d8c024891915d9c3d80000","score":"0.5115814","text":"@Override\r\n\tpublic void update(Object target, Object value) {\n\t\ts.update(target, value);\r\n\t\t\r\n\t}","title":""},{"docid":"e7f7a310b633869a0ed98c7e22154778","score":"0.5115304","text":"public void setValue(V value) {\n this.value = value;\n }","title":""},{"docid":"5e256cf9bf9b6acbf6961389546ac85f","score":"0.5113343","text":"@Override\n\t\tpublic void set(T value) {\n\t\t\tthis.context.run(() -> this.value = value);\n\t\t}","title":""},{"docid":"1bd7956bef7bb6d72a0a45ea46b26f3e","score":"0.5108201","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"1bd7956bef7bb6d72a0a45ea46b26f3e","score":"0.5108201","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"1bd7956bef7bb6d72a0a45ea46b26f3e","score":"0.5108201","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"1bd7956bef7bb6d72a0a45ea46b26f3e","score":"0.5108201","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"1bd7956bef7bb6d72a0a45ea46b26f3e","score":"0.5108201","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"1bd7956bef7bb6d72a0a45ea46b26f3e","score":"0.5108201","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"4c21d678900e80b8077811102e1925d1","score":"0.5102006","text":"public void setValue(Object value) {\n\t\tthis.value = value;\n\t}","title":""},{"docid":"7e84fd82f313d624aef565c783486392","score":"0.5101685","text":"private void sample(double value, int samples) {\n this.total += value;\n this.samples += samples;\n }","title":""},{"docid":"72d147d1451779916a5dc7f17bd4098e","score":"0.5101334","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"0300614f8a4fe1c04badf12630b04cfc","score":"0.5095744","text":"public void setValue(V value) {this.value = value;}","title":""},{"docid":"1d9ed1880a224021f7da5834ceb4ec8c","score":"0.50956756","text":"public void sendBTvalue(int knob_id,float value){\r\n if ((!DISABLE_BLUETOOTH)){\r\n int valueToSend = Math.round(SimpleMath.map(value, 0, 1, 0, (float)ARDUINO_MAX_KNOB_VALUE));\r\n if (System.currentTimeMillis()-lastMsgSentTime[knob_id]>MINIMUM_GAP_BETWEEN_BT_COMMANDS){\r\n if (valueToSend!=knobLastValue[knob_id]){ //prevent un-needed sends of same-value\r\n if (btDeviceConnected && btHasControl) {\r\n if (DEBUG_BLUETOOTH) {\r\n if (knob_id == 0) {\r\n mBlue.SendMessage(\"0\");\r\n Log.d(\"SYNTH\",\"bluetooth send: \"+String.valueOf(0));\r\n }\r\n if (knob_id == 1) {\r\n mBlue.SendMessage(\"1\");\r\n Log.d(\"SYNTH\",\"bluetooth send: \"+String.valueOf(1));\r\n }\r\n } else {\r\n String msg = BT_KNOB_CHANGE_CMD+\" \" + String.valueOf(knob_id) + \"=\" + String.valueOf(valueToSend);\r\n mBlue.SendMessage(msg);\r\n //Log.d(\"SYNTH\",\"bluetooth send: \\\"\"+msg+\"\\\"\");\r\n }\r\n }\r\n lastMsgSentTime[knob_id] = System.currentTimeMillis();\r\n knobLastValue[knob_id]=valueToSend;\r\n }\r\n\r\n }else{\r\n //schedule value for future send:\r\n BTmsgSendLater(knob_id,value);\r\n }\r\n }\r\n\r\n }","title":""},{"docid":"0af659689b6ac87a80162b15b3740ed1","score":"0.508678","text":"void setValue(T value);","title":""},{"docid":"0af659689b6ac87a80162b15b3740ed1","score":"0.508678","text":"void setValue(T value);","title":""},{"docid":"6a7d2818a1ab1136a3921ce7438cb9d4","score":"0.50864077","text":"public void setValue(int value) {\n this.value = value;\n }","title":""},{"docid":"1de5e06295594d0fe8c03efd45605cd1","score":"0.50851995","text":"public void sendToRecipient(final Value value, final Address recipient)\n {\n TransactionOutput output = new TransactionOutput.Builder()\n .value(value)\n .script(StandardOutputScript.create(recipient))\n .build();\n this.outputs.add(output);\n }","title":""},{"docid":"d7f170d251c436dcd731d4279a1c677b","score":"0.5084473","text":"protected void inlet(float value) {\n \tif (!defaultInt) {\n \t\tinlet((int)value);\n \t\treturn;\n \t}\n \telse if (!defaultAtomList) {\n \t\tlist(new Atom[] {Atom.newAtom(value)});\n \t\treturn;\n \t}\n \telse {\n \t\tanything(\"float\", new Atom[] {Atom.newAtom(value)});\n \t\treturn;\n \t}\n }","title":""},{"docid":"e5a5f1e471fa106adeb31c98ceceda4d","score":"0.507963","text":"public void setValue(SlingFunction f) {\n source[0] = f;\n }","title":""},{"docid":"04eb6d81e65867d87b4ecfef9ab2bdf7","score":"0.5076435","text":"public Node(int value) {//Constructor to create a new node and insert data\n this.value = value;\n }","title":""},{"docid":"08ada7c402c7c32551f28dbb4887d70d","score":"0.5043213","text":"@Override\n\tpublic void setValue(double value) {\n\t\tif(Double.isInfinite(value)) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Cannot accept infinite result.\", \"Infinite\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\treturn;\n\t\t}\n\t\tif(Double.isNaN(value)) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Invalid fuction domain given.\", \"Domain\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tcurrentValue = Double.toString(value);\n\t\t\n\t\tnotifyAllListeners();\n\t}","title":""},{"docid":"4b3d63e29a093d125d182cd198b5fc7e","score":"0.5038669","text":"@Override\n public void update(Number value) {\n double doubleValue = ((Number) value).doubleValue();\n\n settingSlider.setValue(doubleValue);\n settingValue.setText(String.format(\"%.2f\", doubleValue));\n }","title":""},{"docid":"7703a689481c7200184e6677fc57811c","score":"0.5038272","text":"void setValue(Object value);","title":""},{"docid":"7703a689481c7200184e6677fc57811c","score":"0.5038272","text":"void setValue(Object value);","title":""},{"docid":"7a0e8caa0c3594eb49b4cea103d2c5df","score":"0.50356996","text":"public ValueNode(int value) {\n setValue(value);\n }","title":""},{"docid":"a53c4c0a706c810cb13c1e282b9063ab","score":"0.5030408","text":"public void setBasedOnValue(entity.GL7Exposure value);","title":""},{"docid":"73ef689ff49d6e5bf998e8be899b3e66","score":"0.5029588","text":"public void setValue(S value){\n this.value = value;\n }","title":""},{"docid":"ccaad29aaa193dc99c6453d52d503598","score":"0.5029512","text":"public void setValue(double val){\n\t\tthis.value = val;\n\t}","title":""},{"docid":"2a02e423b03754726f4e4561cfb6de8c","score":"0.5023652","text":"public void setValue(T value);","title":""},{"docid":"2a02e423b03754726f4e4561cfb6de8c","score":"0.5023652","text":"public void setValue(T value);","title":""},{"docid":"76f751a5ef398f862ca042c562505fd1","score":"0.50236094","text":"public void setValue( int index , double value ) {\n\t\tY.set(index,value);\n\t}","title":""},{"docid":"c70f7470de5f88206a296fdca8774a80","score":"0.5022367","text":"public Builder setIntensity(\n int index, double value) {\n ensureIntensityIsMutable();\n intensity_.set(index, value);\n onChanged();\n return this;\n }","title":""},{"docid":"906a7a22f6226a5d130fd976afee56cb","score":"0.50183487","text":"public void putPixelValue(int x, int y, double value) {\n\t\tif (x >= 0 && x < width && y >= 0 && y < height) {\n\t\t\tif (value > 255.0)\n\t\t\t\tvalue = 255;\n\t\t\telse if (value < 0.0)\n\t\t\t\tvalue = 0.0;\n\t\t\tint gray = (int) (value + 0.5);\n\t\t\tpixels[y * width + x] = 0xff000000 + (gray << 16) + (gray << 8)\n\t\t\t\t\t+ gray;\n\n\t\t}\n\t}","title":""},{"docid":"ce858adac1d1a89870c14f5ae24743e1","score":"0.50180656","text":"protected void updateNode(final Node node, final E value) {\n node.setValue(value);\n }","title":""},{"docid":"eca1a281c365230f0fb5be4c1493df87","score":"0.5017918","text":"public final void setValue(Object value) {\n this.value = value;\n }","title":""},{"docid":"959d31b15fb83ad1a2cd99df2b9cdf15","score":"0.50166136","text":"public void add(int value) {\n Node newNode = new Node(value);\n if(head == null) {\n head = newNode;\n } else {\n Node runner = head;\n while(runner.next != null) {\n runner = runner.next;\n }\n runner.next = newNode;\n }\n }","title":""},{"docid":"599d35953cfff17ece11195768a1c4b1","score":"0.5007641","text":"public void sample(double value) {\n sample(value, 1);\n }","title":""},{"docid":"1146a8472963e2a504d0cc4e11bd3371","score":"0.5002911","text":"public void addValue (String setting, float value);","title":""},{"docid":"afcef95c48bc378141b7c98d744b5f19","score":"0.49905413","text":"public void addValue(double value) {\n\t\tlist.add(value);\n\t}","title":""},{"docid":"22825c63b1cd5589ffe8d5ae3302d808","score":"0.49892265","text":"private void putStack(Float value) {\n //On ajoute la valeur sur la pile\n pile.push(value);\n\n refreshNumbers();\n }","title":""},{"docid":"ab1987c16cd1a469d791163ad394f643","score":"0.49793166","text":"@Override\n\tpublic void setValue(Object value) {\n\t\tstoreRawValue(Integer.toString((Integer)value));\n\t}","title":""},{"docid":"f949f070fe6eb9cff9bcdf4dd9172267","score":"0.49755883","text":"public void setValue(java.lang.Object value) {\n this.value = value;\n }","title":""},{"docid":"86ed5af7f34c7e04b52648551c375ad1","score":"0.4975021","text":"void add(int value) {\n root = addAndUpdate(root,value);\n }","title":""},{"docid":"ed3a4d066d3524dda6c74b47e19b6a27","score":"0.49687415","text":"@Override\n public void feedToActivationFunction() {\n this.output = this.getInput();\n }","title":""},{"docid":"4f3d63f7dffdc7dc0f671c794e3423bb","score":"0.4966202","text":"public void setValue(int value) {\n this._value = value;\n }","title":""},{"docid":"9f75ec207f4216749fa0afa503817bb8","score":"0.4959043","text":"private void setX(double value) {\n \n x_ = value;\n }","title":""},{"docid":"3cd758c9c257b51e879f4e2eea86c0e9","score":"0.495497","text":"public void update(DataPoint dataPoint, double targetValue);","title":""},{"docid":"85127f685118848d365daf8af4f50812","score":"0.4954961","text":"public void update_value() {\n }","title":""},{"docid":"e7443f16eab31c5062bcc7c1ed0a2a5d","score":"0.49504364","text":"public void sample(boolean value) {\n sample(value ? 1 : 0);\n }","title":""},{"docid":"440af6a261787bb09c67c7e8eaa5917f","score":"0.4948756","text":"@Override\n public void setPort(final int tag, final String portName, final double value,\n TimeStamp timeStamp) {\n getSynthesizer().scheduleCommand(timeStamp, new ScheduledCommand() {\n @Override\n public void run() {\n VoiceTracker voiceTracker = findVoice(tag);\n if (voiceTracker != null) {\n voiceTracker.voice.setPort(portName, value, getSynthesizer().createTimeStamp());\n }\n }\n });\n }","title":""},{"docid":"c0f0aca7dfadca1c19b24b0494331b65","score":"0.4948466","text":"public void limitSumPower(int value, Computer... nodes) {\r\n\t\taddRule(new LimitSumPower(this, value, nodes));\r\n\t}","title":""},{"docid":"12815b510c27a6af8be8f2e341f71afc","score":"0.49346545","text":"public void setParameter(String param, float value) throws IOException {\n\t\tOSCMessage oscmessage = new OSCMessage(\"/setparam\");\n\t\toscmessage.addArgument(param);\n\t\toscmessage.addArgument((float)value);\n\t\toscout.send(oscmessage);\n\t}","title":""},{"docid":"707e45ffcbb3acf7b3638b0e3a0d8b04","score":"0.4926559","text":"public void set(T value, int index) {\n\t\tGenericListNode setNode = search(index);\n\t\tsetNode.data = value;\n\t}","title":""},{"docid":"353092496cd1965f6daf020d0aff8517","score":"0.49248466","text":"public void append(int value) {\n\t\t\tNode newNode = new Node(value);\n\t\t\tNode current = head;\n\t\t\tif(head == null) {\n\t\t\t\thead = newNode;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile(current.next != null) {\n\t\t\t\tcurrent = current.next;\n\t\t\t}\n\t\t\tcurrent.next = newNode;\n\t\t\tnewNode.next = null;\n\t\t}","title":""},{"docid":"b5afb2844a67c2f593b8af962828339e","score":"0.49247375","text":"public synchronized void add(int value) {\n\t\tint position = writeIndex; // store the write index\n\n\t\ttry {\n\t\t\t// put thread to sleep for 0-499 milliseconds\n\t\t\tThread.sleep(generator.nextInt(500));\n\t\t} // end try\n\t\tcatch (InterruptedException ex) {\n\t\t\tex.printStackTrace();\n\t\t} // end catch\n\n\t\t// put value in the appropriate element\n\t\tarray[position] = value;\n\t\tSystem.out.printf(\"%s wrote %2d to position %d.\\n\", Thread\n\t\t\t\t.currentThread().getName(), value, position);\n\n\t\t++writeIndex; // increment index of element to be written next\n\t\tSystem.out.printf(\"Next write index: %d\\n\", writeIndex);\n\t}","title":""},{"docid":"f7ccd005f2840945743beac6b1668e8d","score":"0.49177703","text":"public void setValue(int value) {\n slider.setValue(value);\n }","title":""}],"string":"[\n {\n \"docid\": \"cefe332211f5b38cb2b8eb748a0c7a05\",\n \"score\": \"0.587522\",\n \"text\": \"public void value(float value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07c432199f39feec6c1747bbe52964c0\",\n \"score\": \"0.5817635\",\n \"text\": \"public InputNeuron(double value, ArrayList outputs) {\\n this.error = 0;\\n this.value = value;\\n this.outputs = outputs;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ad58bf28e03a8ec942934421865077b\",\n \"score\": \"0.5806415\",\n \"text\": \"public void updateXYDataset(float value){\\r\\n\\t\\tstep++;\\r\\n\\t\\txyPopulationToT.add(step, value);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73561d1fc2a2bf76337b21227d0a06cf\",\n \"score\": \"0.5669807\",\n \"text\": \"public void setStream(double value){\\r\\n table.getEntry(\\\"stream\\\").setNumber(value);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ecd4737c20f70690a1f56e92349e73e\",\n \"score\": \"0.55699706\",\n \"text\": \"void setValue(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bbe29dbd588e999f9601df962f36c93\",\n \"score\": \"0.5562411\",\n \"text\": \"public Builder addIntensity(double value) {\\n ensureIntensityIsMutable();\\n intensity_.add(value);\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c4eff5e407d31ac10c6f669518a3587\",\n \"score\": \"0.5559436\",\n \"text\": \"public void setValue(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec65aff6df6d29927d7e6168735b7aac\",\n \"score\": \"0.55498487\",\n \"text\": \"public void write(int value) {\\r\\n\\r\\n this.value = value; \\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89dfda99615c5ea89b065e5cf3d8e602\",\n \"score\": \"0.5499995\",\n \"text\": \"void addValueNode(double val)\\n\\t{\\n\\t\\tNode n = new Node();\\n\\t\\tnodes.add(n);\\n\\n\\t\\tn.type = NodeType.VALUE;\\n\\t\\tn.value = val;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae29ee2d17450abd87f58707d9229d2b\",\n \"score\": \"0.5496271\",\n \"text\": \"private void startFeedForwarding() {\\n\\t\\tfor (int layer = 0; layer < nodes.keySet().size(); layer++) {\\n\\t\\t\\tfor (int node = 0; node < nodes.get(layer).size(); node++) {\\n\\t\\t\\t\\tNodeGene nodeGene = nodes.get(layer).get(node);\\n\\t\\t\\t\\t// Sigmoid each node\\n\\t\\t\\t\\tnodeGene.sigmoid();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// Pass value throught connection to next node\\n\\t\\t\\t\\t// Loop throught all the connections of this node\\n\\t\\t\\t\\tfor (ConnectionGene connection : connections.get(nodeGene.getId())) {\\n\\t\\t\\t\\t\\tfloat valueToPass = nodeGene.getValue() * connection.getWeight();\\n\\t\\t\\t\\t\\tgetNodeById(connection.getOutNode()).addToValue(valueToPass);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d9f31c384643dca7be2246028ee3576\",\n \"score\": \"0.54765433\",\n \"text\": \"public void setValue(double value)\\n {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9786b63926446e8b2c6b26f2617146ff\",\n \"score\": \"0.54673445\",\n \"text\": \"@Override\\n public void run() {\\n if(mThermostat == null) {\\n return;\\n }\\n\\n // set value\\n String thermostatId = mThermostat.getDeviceId();\\n\\n // Set value based on temp scale\\n if (mFahrenheit) {\\n mNest.thermostats.setTargetTemperatureF(thermostatId, mTargetValue);\\n } else {\\n mNest.thermostats.setTargetTemperatureC(thermostatId, mTargetValue);\\n }\\n\\n say();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe49db8e587ae1469d74d9094c307b0c\",\n \"score\": \"0.5463362\",\n \"text\": \"public void writeFloat(int startingAddress, float value){\\r\\n \\ttry {\\r\\n\\t\\t\\tclient.WriteMultipleRegisters(startingAddress -1 ,ModbusClient.ConvertFloatToTwoRegisters((float)value ));\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage(), \\\"Exception from server\\\", JOptionPane.OK_CANCEL_OPTION);\\r\\n\\t\\t}\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20dd626f51fc5ccc238ab011c7c150da\",\n \"score\": \"0.5447235\",\n \"text\": \"public Builder addIntensity(float value) {\\n ensureIntensityIsMutable();\\n intensity_.add(value);\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfae0376ac6f3979349f8e19be64fb48\",\n \"score\": \"0.53969675\",\n \"text\": \"public void setValue(double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfae0376ac6f3979349f8e19be64fb48\",\n \"score\": \"0.53969675\",\n \"text\": \"public void setValue(double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20071eb9472437646b009f0199c0ef6c\",\n \"score\": \"0.53607666\",\n \"text\": \"void addValue(int pass,float v,float w,int index,BinData bd);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"572e630a98b127864836bf45463df71e\",\n \"score\": \"0.5353723\",\n \"text\": \"public void setValue(double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ea3ac5d707e70da51fd2ba8b6e60534\",\n \"score\": \"0.5340527\",\n \"text\": \"public void notifyPort(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40be81f52b6c1b27ed10fd0506b00518\",\n \"score\": \"0.533928\",\n \"text\": \"public void setValue(float value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75d1b18f187dc8483bd1c56e37909173\",\n \"score\": \"0.5290572\",\n \"text\": \"public void feed(double[] in) {\\n if (in.length != neurons.size())\\n throw new IllegalArgumentException(\\\"feed_ERR in size not right\\\");\\n if (type != LayerType.IN)\\n throw new IllegalArgumentException(\\\"feed_ERR in size not right\\\");\\n for (int i = 0; i < in.length; i++) {\\n neurons.get(i).setValue(in[i]);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ba081b4b5f2a75dc96f5a926b744bc5\",\n \"score\": \"0.52904356\",\n \"text\": \"public void setValue(float value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b98829dcc365f2840190d1121c76aae\",\n \"score\": \"0.52887744\",\n \"text\": \"void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01711236974bc45f3a9f188d1b4e4195\",\n \"score\": \"0.5249076\",\n \"text\": \"public void setValue(Double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01711236974bc45f3a9f188d1b4e4195\",\n \"score\": \"0.5249076\",\n \"text\": \"public void setValue(Double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01711236974bc45f3a9f188d1b4e4195\",\n \"score\": \"0.5249076\",\n \"text\": \"public void setValue(Double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01711236974bc45f3a9f188d1b4e4195\",\n \"score\": \"0.5249076\",\n \"text\": \"public void setValue(Double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53381a3aac48b3867b37bdfd5363949c\",\n \"score\": \"0.5236645\",\n \"text\": \"public void gainValue()\\n\\t{\\n\\t\\tvalue++;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a4c41f12b5741f5040c6022779d8a8b\",\n \"score\": \"0.5219379\",\n \"text\": \"public void setValue(T value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a4c41f12b5741f5040c6022779d8a8b\",\n \"score\": \"0.5219379\",\n \"text\": \"public void setValue(T value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a4c41f12b5741f5040c6022779d8a8b\",\n \"score\": \"0.5219379\",\n \"text\": \"public void setValue(T value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ba0dac99eac6d85db33847e2039011a\",\n \"score\": \"0.5215311\",\n \"text\": \"V setValue(V value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a0f2cc15795dbbdfee35533306b87b1\",\n \"score\": \"0.5168916\",\n \"text\": \"public void simInject(double e, String portName, entity value) {\\n\\t\\tsimInject(e, new port(portName), value);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"214f50973d0e299eb8d4f131599638e8\",\n \"score\": \"0.5168359\",\n \"text\": \"void valueReceived(Endpoint ep, T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6004bdeae3f203d7d8f9b565aec4618\",\n \"score\": \"0.5164589\",\n \"text\": \"public void process(Object value) {\\n\\t\\t\\t\\tadd(value);\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae38868ab0b98bc60c44553913f9c040\",\n \"score\": \"0.5163724\",\n \"text\": \"public void setValue(Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7a98df1f8b4c52b7b8e94e1786756f8\",\n \"score\": \"0.51568586\",\n \"text\": \"public void setValue(Float value)\\n\\t{\\n\\t\\tthis.value = value;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a47bcb2ed27eaefd6e4df2f4c19e6f94\",\n \"score\": \"0.5146014\",\n \"text\": \"public void emit(int count, int value) {\\n numEntries+= count;\\n breaks();\\n emitUC(count);\\n emitUC(value+translate);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30c9f15f9012c1f5fbeaf1065b91daf3\",\n \"score\": \"0.51448077\",\n \"text\": \"public IValue setValue(IValue value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c9d2edcd5bbfe0b16d99759d6448c02\",\n \"score\": \"0.5137229\",\n \"text\": \"public void setValue(int value) {\\r\\n this.value = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c9d2edcd5bbfe0b16d99759d6448c02\",\n \"score\": \"0.5137229\",\n \"text\": \"public void setValue(int value) {\\r\\n this.value = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6ea119a303f76e2f03b6b550c0aa2be\",\n \"score\": \"0.51369065\",\n \"text\": \"public Tower(int X, int Y, int value) {\\n\\t\\tthis.value = value;\\n\\t\\tsetX(X);\\n\\t\\tsetY(Y);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4ca320f0e3ae047011c051861f172ac\",\n \"score\": \"0.5127221\",\n \"text\": \"public void valueIncremented(){\\n value++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b1dc72398d8c024891915d9c3d80000\",\n \"score\": \"0.5115814\",\n \"text\": \"@Override\\r\\n\\tpublic void update(Object target, Object value) {\\n\\t\\ts.update(target, value);\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7f7a310b633869a0ed98c7e22154778\",\n \"score\": \"0.5115304\",\n \"text\": \"public void setValue(V value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e256cf9bf9b6acbf6961389546ac85f\",\n \"score\": \"0.5113343\",\n \"text\": \"@Override\\n\\t\\tpublic void set(T value) {\\n\\t\\t\\tthis.context.run(() -> this.value = value);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bd7956bef7bb6d72a0a45ea46b26f3e\",\n \"score\": \"0.5108201\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bd7956bef7bb6d72a0a45ea46b26f3e\",\n \"score\": \"0.5108201\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bd7956bef7bb6d72a0a45ea46b26f3e\",\n \"score\": \"0.5108201\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bd7956bef7bb6d72a0a45ea46b26f3e\",\n \"score\": \"0.5108201\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bd7956bef7bb6d72a0a45ea46b26f3e\",\n \"score\": \"0.5108201\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bd7956bef7bb6d72a0a45ea46b26f3e\",\n \"score\": \"0.5108201\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c21d678900e80b8077811102e1925d1\",\n \"score\": \"0.5102006\",\n \"text\": \"public void setValue(Object value) {\\n\\t\\tthis.value = value;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e84fd82f313d624aef565c783486392\",\n \"score\": \"0.5101685\",\n \"text\": \"private void sample(double value, int samples) {\\n this.total += value;\\n this.samples += samples;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72d147d1451779916a5dc7f17bd4098e\",\n \"score\": \"0.5101334\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0300614f8a4fe1c04badf12630b04cfc\",\n \"score\": \"0.5095744\",\n \"text\": \"public void setValue(V value) {this.value = value;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d9ed1880a224021f7da5834ceb4ec8c\",\n \"score\": \"0.50956756\",\n \"text\": \"public void sendBTvalue(int knob_id,float value){\\r\\n if ((!DISABLE_BLUETOOTH)){\\r\\n int valueToSend = Math.round(SimpleMath.map(value, 0, 1, 0, (float)ARDUINO_MAX_KNOB_VALUE));\\r\\n if (System.currentTimeMillis()-lastMsgSentTime[knob_id]>MINIMUM_GAP_BETWEEN_BT_COMMANDS){\\r\\n if (valueToSend!=knobLastValue[knob_id]){ //prevent un-needed sends of same-value\\r\\n if (btDeviceConnected && btHasControl) {\\r\\n if (DEBUG_BLUETOOTH) {\\r\\n if (knob_id == 0) {\\r\\n mBlue.SendMessage(\\\"0\\\");\\r\\n Log.d(\\\"SYNTH\\\",\\\"bluetooth send: \\\"+String.valueOf(0));\\r\\n }\\r\\n if (knob_id == 1) {\\r\\n mBlue.SendMessage(\\\"1\\\");\\r\\n Log.d(\\\"SYNTH\\\",\\\"bluetooth send: \\\"+String.valueOf(1));\\r\\n }\\r\\n } else {\\r\\n String msg = BT_KNOB_CHANGE_CMD+\\\" \\\" + String.valueOf(knob_id) + \\\"=\\\" + String.valueOf(valueToSend);\\r\\n mBlue.SendMessage(msg);\\r\\n //Log.d(\\\"SYNTH\\\",\\\"bluetooth send: \\\\\\\"\\\"+msg+\\\"\\\\\\\"\\\");\\r\\n }\\r\\n }\\r\\n lastMsgSentTime[knob_id] = System.currentTimeMillis();\\r\\n knobLastValue[knob_id]=valueToSend;\\r\\n }\\r\\n\\r\\n }else{\\r\\n //schedule value for future send:\\r\\n BTmsgSendLater(knob_id,value);\\r\\n }\\r\\n }\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0af659689b6ac87a80162b15b3740ed1\",\n \"score\": \"0.508678\",\n \"text\": \"void setValue(T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0af659689b6ac87a80162b15b3740ed1\",\n \"score\": \"0.508678\",\n \"text\": \"void setValue(T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a7d2818a1ab1136a3921ce7438cb9d4\",\n \"score\": \"0.50864077\",\n \"text\": \"public void setValue(int value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1de5e06295594d0fe8c03efd45605cd1\",\n \"score\": \"0.50851995\",\n \"text\": \"public void sendToRecipient(final Value value, final Address recipient)\\n {\\n TransactionOutput output = new TransactionOutput.Builder()\\n .value(value)\\n .script(StandardOutputScript.create(recipient))\\n .build();\\n this.outputs.add(output);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7f170d251c436dcd731d4279a1c677b\",\n \"score\": \"0.5084473\",\n \"text\": \"protected void inlet(float value) {\\n \\tif (!defaultInt) {\\n \\t\\tinlet((int)value);\\n \\t\\treturn;\\n \\t}\\n \\telse if (!defaultAtomList) {\\n \\t\\tlist(new Atom[] {Atom.newAtom(value)});\\n \\t\\treturn;\\n \\t}\\n \\telse {\\n \\t\\tanything(\\\"float\\\", new Atom[] {Atom.newAtom(value)});\\n \\t\\treturn;\\n \\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5a5f1e471fa106adeb31c98ceceda4d\",\n \"score\": \"0.507963\",\n \"text\": \"public void setValue(SlingFunction f) {\\n source[0] = f;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04eb6d81e65867d87b4ecfef9ab2bdf7\",\n \"score\": \"0.5076435\",\n \"text\": \"public Node(int value) {//Constructor to create a new node and insert data\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08ada7c402c7c32551f28dbb4887d70d\",\n \"score\": \"0.5043213\",\n \"text\": \"@Override\\n\\tpublic void setValue(double value) {\\n\\t\\tif(Double.isInfinite(value)) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Cannot accept infinite result.\\\", \\\"Infinite\\\", JOptionPane.INFORMATION_MESSAGE);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif(Double.isNaN(value)) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Invalid fuction domain given.\\\", \\\"Domain\\\", JOptionPane.INFORMATION_MESSAGE);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t\\n\\t\\tcurrentValue = Double.toString(value);\\n\\t\\t\\n\\t\\tnotifyAllListeners();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b3d63e29a093d125d182cd198b5fc7e\",\n \"score\": \"0.5038669\",\n \"text\": \"@Override\\n public void update(Number value) {\\n double doubleValue = ((Number) value).doubleValue();\\n\\n settingSlider.setValue(doubleValue);\\n settingValue.setText(String.format(\\\"%.2f\\\", doubleValue));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7703a689481c7200184e6677fc57811c\",\n \"score\": \"0.5038272\",\n \"text\": \"void setValue(Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7703a689481c7200184e6677fc57811c\",\n \"score\": \"0.5038272\",\n \"text\": \"void setValue(Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a0e8caa0c3594eb49b4cea103d2c5df\",\n \"score\": \"0.50356996\",\n \"text\": \"public ValueNode(int value) {\\n setValue(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a53c4c0a706c810cb13c1e282b9063ab\",\n \"score\": \"0.5030408\",\n \"text\": \"public void setBasedOnValue(entity.GL7Exposure value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73ef689ff49d6e5bf998e8be899b3e66\",\n \"score\": \"0.5029588\",\n \"text\": \"public void setValue(S value){\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccaad29aaa193dc99c6453d52d503598\",\n \"score\": \"0.5029512\",\n \"text\": \"public void setValue(double val){\\n\\t\\tthis.value = val;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a02e423b03754726f4e4561cfb6de8c\",\n \"score\": \"0.5023652\",\n \"text\": \"public void setValue(T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a02e423b03754726f4e4561cfb6de8c\",\n \"score\": \"0.5023652\",\n \"text\": \"public void setValue(T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76f751a5ef398f862ca042c562505fd1\",\n \"score\": \"0.50236094\",\n \"text\": \"public void setValue( int index , double value ) {\\n\\t\\tY.set(index,value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c70f7470de5f88206a296fdca8774a80\",\n \"score\": \"0.5022367\",\n \"text\": \"public Builder setIntensity(\\n int index, double value) {\\n ensureIntensityIsMutable();\\n intensity_.set(index, value);\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"906a7a22f6226a5d130fd976afee56cb\",\n \"score\": \"0.50183487\",\n \"text\": \"public void putPixelValue(int x, int y, double value) {\\n\\t\\tif (x >= 0 && x < width && y >= 0 && y < height) {\\n\\t\\t\\tif (value > 255.0)\\n\\t\\t\\t\\tvalue = 255;\\n\\t\\t\\telse if (value < 0.0)\\n\\t\\t\\t\\tvalue = 0.0;\\n\\t\\t\\tint gray = (int) (value + 0.5);\\n\\t\\t\\tpixels[y * width + x] = 0xff000000 + (gray << 16) + (gray << 8)\\n\\t\\t\\t\\t\\t+ gray;\\n\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce858adac1d1a89870c14f5ae24743e1\",\n \"score\": \"0.50180656\",\n \"text\": \"protected void updateNode(final Node node, final E value) {\\n node.setValue(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eca1a281c365230f0fb5be4c1493df87\",\n \"score\": \"0.5017918\",\n \"text\": \"public final void setValue(Object value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"959d31b15fb83ad1a2cd99df2b9cdf15\",\n \"score\": \"0.50166136\",\n \"text\": \"public void add(int value) {\\n Node newNode = new Node(value);\\n if(head == null) {\\n head = newNode;\\n } else {\\n Node runner = head;\\n while(runner.next != null) {\\n runner = runner.next;\\n }\\n runner.next = newNode;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"599d35953cfff17ece11195768a1c4b1\",\n \"score\": \"0.5007641\",\n \"text\": \"public void sample(double value) {\\n sample(value, 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1146a8472963e2a504d0cc4e11bd3371\",\n \"score\": \"0.5002911\",\n \"text\": \"public void addValue (String setting, float value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afcef95c48bc378141b7c98d744b5f19\",\n \"score\": \"0.49905413\",\n \"text\": \"public void addValue(double value) {\\n\\t\\tlist.add(value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22825c63b1cd5589ffe8d5ae3302d808\",\n \"score\": \"0.49892265\",\n \"text\": \"private void putStack(Float value) {\\n //On ajoute la valeur sur la pile\\n pile.push(value);\\n\\n refreshNumbers();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab1987c16cd1a469d791163ad394f643\",\n \"score\": \"0.49793166\",\n \"text\": \"@Override\\n\\tpublic void setValue(Object value) {\\n\\t\\tstoreRawValue(Integer.toString((Integer)value));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f949f070fe6eb9cff9bcdf4dd9172267\",\n \"score\": \"0.49755883\",\n \"text\": \"public void setValue(java.lang.Object value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86ed5af7f34c7e04b52648551c375ad1\",\n \"score\": \"0.4975021\",\n \"text\": \"void add(int value) {\\n root = addAndUpdate(root,value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed3a4d066d3524dda6c74b47e19b6a27\",\n \"score\": \"0.49687415\",\n \"text\": \"@Override\\n public void feedToActivationFunction() {\\n this.output = this.getInput();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f3d63f7dffdc7dc0f671c794e3423bb\",\n \"score\": \"0.4966202\",\n \"text\": \"public void setValue(int value) {\\n this._value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f75ec207f4216749fa0afa503817bb8\",\n \"score\": \"0.4959043\",\n \"text\": \"private void setX(double value) {\\n \\n x_ = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cd758c9c257b51e879f4e2eea86c0e9\",\n \"score\": \"0.495497\",\n \"text\": \"public void update(DataPoint dataPoint, double targetValue);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85127f685118848d365daf8af4f50812\",\n \"score\": \"0.4954961\",\n \"text\": \"public void update_value() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7443f16eab31c5062bcc7c1ed0a2a5d\",\n \"score\": \"0.49504364\",\n \"text\": \"public void sample(boolean value) {\\n sample(value ? 1 : 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"440af6a261787bb09c67c7e8eaa5917f\",\n \"score\": \"0.4948756\",\n \"text\": \"@Override\\n public void setPort(final int tag, final String portName, final double value,\\n TimeStamp timeStamp) {\\n getSynthesizer().scheduleCommand(timeStamp, new ScheduledCommand() {\\n @Override\\n public void run() {\\n VoiceTracker voiceTracker = findVoice(tag);\\n if (voiceTracker != null) {\\n voiceTracker.voice.setPort(portName, value, getSynthesizer().createTimeStamp());\\n }\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0f0aca7dfadca1c19b24b0494331b65\",\n \"score\": \"0.4948466\",\n \"text\": \"public void limitSumPower(int value, Computer... nodes) {\\r\\n\\t\\taddRule(new LimitSumPower(this, value, nodes));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12815b510c27a6af8be8f2e341f71afc\",\n \"score\": \"0.49346545\",\n \"text\": \"public void setParameter(String param, float value) throws IOException {\\n\\t\\tOSCMessage oscmessage = new OSCMessage(\\\"/setparam\\\");\\n\\t\\toscmessage.addArgument(param);\\n\\t\\toscmessage.addArgument((float)value);\\n\\t\\toscout.send(oscmessage);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"707e45ffcbb3acf7b3638b0e3a0d8b04\",\n \"score\": \"0.4926559\",\n \"text\": \"public void set(T value, int index) {\\n\\t\\tGenericListNode setNode = search(index);\\n\\t\\tsetNode.data = value;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"353092496cd1965f6daf020d0aff8517\",\n \"score\": \"0.49248466\",\n \"text\": \"public void append(int value) {\\n\\t\\t\\tNode newNode = new Node(value);\\n\\t\\t\\tNode current = head;\\n\\t\\t\\tif(head == null) {\\n\\t\\t\\t\\thead = newNode;\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\twhile(current.next != null) {\\n\\t\\t\\t\\tcurrent = current.next;\\n\\t\\t\\t}\\n\\t\\t\\tcurrent.next = newNode;\\n\\t\\t\\tnewNode.next = null;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5afb2844a67c2f593b8af962828339e\",\n \"score\": \"0.49247375\",\n \"text\": \"public synchronized void add(int value) {\\n\\t\\tint position = writeIndex; // store the write index\\n\\n\\t\\ttry {\\n\\t\\t\\t// put thread to sleep for 0-499 milliseconds\\n\\t\\t\\tThread.sleep(generator.nextInt(500));\\n\\t\\t} // end try\\n\\t\\tcatch (InterruptedException ex) {\\n\\t\\t\\tex.printStackTrace();\\n\\t\\t} // end catch\\n\\n\\t\\t// put value in the appropriate element\\n\\t\\tarray[position] = value;\\n\\t\\tSystem.out.printf(\\\"%s wrote %2d to position %d.\\\\n\\\", Thread\\n\\t\\t\\t\\t.currentThread().getName(), value, position);\\n\\n\\t\\t++writeIndex; // increment index of element to be written next\\n\\t\\tSystem.out.printf(\\\"Next write index: %d\\\\n\\\", writeIndex);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7ccd005f2840945743beac6b1668e8d\",\n \"score\": \"0.49177703\",\n \"text\": \"public void setValue(int value) {\\n slider.setValue(value);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":845,"cells":{"query_id":{"kind":"string","value":"c6995213355cfde7bb5d113215463e75"},"query":{"kind":"string","value":"Create the index template ..."},"positive_passages":{"kind":"list like","value":[{"docid":"0e026b4d4adc1185efbf3c49487cfd00","score":"0.0","text":"protected void registerIndex( String indexName,\n IndexKind kind,\n String providerName,\n String indexedNodeType,\n String desc,\n String workspaceNamePattern,\n String propertyName,\n int propertyType ) throws RepositoryException {\n IndexDefinitionTemplate template = indexManager().createIndexDefinitionTemplate();\n template.setName(indexName);\n template.setKind(kind);\n template.setNodeTypeName(indexedNodeType);\n template.setProviderName(providerName);\n template.setSynchronous(useSynchronousIndexes());\n if (workspaceNamePattern != null) {\n template.setWorkspaceNamePattern(workspaceNamePattern);\n } else {\n template.setAllWorkspaces();\n }\n if (desc != null) {\n template.setDescription(desc);\n }\n\n // Set up the columns ...\n IndexColumnDefinition colDefn = indexManager().createIndexColumnDefinitionTemplate().setPropertyName(propertyName)\n .setColumnType(propertyType);\n template.setColumnDefinitions(colDefn);\n\n // Register the index ...\n indexManager().registerIndex(template, false);\n }","title":""}],"string":"[\n {\n \"docid\": \"0e026b4d4adc1185efbf3c49487cfd00\",\n \"score\": \"0.0\",\n \"text\": \"protected void registerIndex( String indexName,\\n IndexKind kind,\\n String providerName,\\n String indexedNodeType,\\n String desc,\\n String workspaceNamePattern,\\n String propertyName,\\n int propertyType ) throws RepositoryException {\\n IndexDefinitionTemplate template = indexManager().createIndexDefinitionTemplate();\\n template.setName(indexName);\\n template.setKind(kind);\\n template.setNodeTypeName(indexedNodeType);\\n template.setProviderName(providerName);\\n template.setSynchronous(useSynchronousIndexes());\\n if (workspaceNamePattern != null) {\\n template.setWorkspaceNamePattern(workspaceNamePattern);\\n } else {\\n template.setAllWorkspaces();\\n }\\n if (desc != null) {\\n template.setDescription(desc);\\n }\\n\\n // Set up the columns ...\\n IndexColumnDefinition colDefn = indexManager().createIndexColumnDefinitionTemplate().setPropertyName(propertyName)\\n .setColumnType(propertyType);\\n template.setColumnDefinitions(colDefn);\\n\\n // Register the index ...\\n indexManager().registerIndex(template, false);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"b0167faa99a64821b6ded5aeeae09e2d","score":"0.70215154","text":"public synchronized void createIndex() {\r\n if (isIndexBeingCreated()) {\r\n return;\r\n }\r\n creatingIndex = true;\r\n \r\n Thread thread = new Thread(\"Search Index Generator\") {\r\n @Override\r\n public void run() {\r\n doCreateIndex();\r\n }\r\n };\r\n \r\n thread.setPriority(Thread.MIN_PRIORITY);\r\n thread.start();\r\n }","title":""},{"docid":"6530234b97ee2873a3cd68dc4c486ae7","score":"0.6882187","text":"private void indexTemplates(AnnotationIndex templateIndex, Document doc) {\n\t\tfor (Annotation annotation : templateIndex) {\n\t\t\tWikiTemplateAnnotation wikiTemplate = (WikiTemplateAnnotation) annotation;\n\t\t\tdoc.add(new Field(IndexFieldNames.TEMPLATES_FIELD_NAME, wikiTemplate.getName(),\n\t\t\t\t\tField.Store.YES, Field.Index.ANALYZED));\n\t\t}\n\t}","title":""},{"docid":"d56c1af7dab3fe21b9ab85d01154de98","score":"0.6602319","text":"public static CreateIndex.Stub createIndex() {\n\t\treturn new CreateIndex.Stub(false, false);\n\t}","title":""},{"docid":"630a97c1a9cfae2b9b362e2e0a079c7e","score":"0.6490158","text":"@Override\n @SneakyThrows\n public void createIndex(CreateIndex createIndex) {\n\n if (getIndexName().isEmpty()){\n throw new IllegalStateException(\"No index name configured\");\n }\n final String supplied = indexNameSupplier.get();\n\n final String indexName;\n if (createIndex.isUseNumberPostfix()) {\n long number = firstNewNumber();\n indexName = supplied + \"-\" + number;\n } else {\n indexName = supplied;\n }\n\n ObjectNode request = Jackson2Mapper.getInstance().createObjectNode();\n\n if (createIndex.isCreateAliases() && (! this.aliases.isEmpty() || createIndex.isUseNumberPostfix())) {\n ObjectNode aliases = request.withObject(\"/aliases\");\n for (String alias : this.aliases) {\n if (alias.equals(indexName)) {\n continue;\n }\n if (alias.equals(supplied)) {\n if (aliasExists(alias)) {\n log.info(\"Not making alias {} because it exists already\");\n continue;\n }\n }\n aliases.withObject(\"/\" + alias);\n }\n }\n\n ObjectNode settings = request.set(\"settings\", this.settings.get());\n if (createIndex.isForReindex()){\n forReindex(settings);\n }\n if (createIndex.getShards() != null) {\n ObjectNode index = settings.withObject(P_SETTINGS).withObject(P_INDEX);\n index.put(\"number_of_shards\", createIndex.getShards());\n }\n if (createIndex.getNumberOfReplicas() != null) {\n ObjectNode index = settings.withObject(P_SETTINGS).withObject(P_INDEX);\n index.put(\"number_of_replicas\", createIndex.getNumberOfReplicas());\n }\n if (mapping == null) {\n throw new IllegalStateException(\"No mappings provided in \" + this);\n }\n ObjectNode mappingJson = mapping.get();\n if (elasticSearchIndex != null) {\n BiConsumer mappingsProcessor = elasticSearchIndex.getMappingsProcessor();\n mappingsProcessor.accept(getInfo().get().getDistribution(), mappingJson);\n }\n request.set(\"mappings\", mappingJson);\n HttpEntity entity = entity(request);\n\n log.info(\"Creating index {} with mapping {}: {}\", indexName, mapping, request.toString());\n Request req = new Request(PUT, \"/\" + indexName);\n req.setEntity(entity);\n ObjectNode response = read(client().performRequest(req));\n\n\n if (response.get(\"acknowledged\").booleanValue()) {\n String setIndexName = getIndexName();\n if (! Objects.equals(setIndexName, indexName)) {\n setIndexName(indexName);\n log.info(\"Created index {} (postfixed from {})\", getIndexName(), setIndexName);\n } else {\n log.info(\"Created index {}\", getIndexName());\n }\n } else {\n log.warn(\"Could not create index {}\", indexName);\n }\n\n }","title":""},{"docid":"6e76ae495d4a863aefb35f1350cec291","score":"0.64508224","text":"int createIndex() throws IOException;","title":""},{"docid":"d67956b0269ef136bc2e0f06951b1b10","score":"0.6386979","text":"@Override\n public void createIndex() throws IOException {\n final IndicesExistsResponse res = client.admin ( ).indices ( ).prepareExists\n ( AppConfig.properties.getElasticSearchIndexName ( ) ).execute ( ).actionGet ( );\n if (!res.isExists ( )) {\n client.admin ( ).indices ( )\n .prepareCreate ( AppConfig.properties.getElasticSearchIndexName ( ) )\n .get ( );\n client.admin ( ).cluster ( ).prepareHealth ( AppConfig.properties.getElasticSearchIndexName ( ) ).setWaitForYellowStatus ( );\n }\n client.admin ( ).indices ( ).preparePutMapping ( AppConfig.properties.getElasticSearchIndexName ( ) )\n .setType ( AppConfig.properties.getElasticSearchDocumentName ( ) )\n .setSource ( \"{\\n\" +\n \" \\\"\" + AppConfig.properties.getElasticSearchDocumentName ( ) + \"\\\":{\\n\" +\n \" \\\"properties\\\": {\\n\" +\n \" \\\"name\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"category\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"topcategory\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"cityid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"cityname\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"townid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"townname\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"oldtowns\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"oldquarters\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"quarterid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"streetid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"zipcode\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"location\\\": {\\n \\\"type\\\": \\\"geo_shape\\\"\\n }\" +\n \" }\\n\" +\n \" }\\n\" +\n \"}\" )\n .get ( );\n }","title":""},{"docid":"c6709296db8caec8412ec929ec46d699","score":"0.63002515","text":"public SoupIndex() {\n super();\n }","title":""},{"docid":"8d556ef54245e97bf50d3b418d35af8e","score":"0.6293875","text":"public void create(int index, Object type);","title":""},{"docid":"ff8115553c5dda04d931b15d88363c53","score":"0.6288122","text":"public void index() {\n new Index();\n }","title":""},{"docid":"ea637eec40639acd1acb679451d6b1f9","score":"0.62525624","text":"public SearchEngineIndex buildIndex(final ArrayList files);","title":""},{"docid":"2c3536b39c3cc1209374df1970afc969","score":"0.61687106","text":"CPNIndex createCPNIndex();","title":""},{"docid":"91bb042d0701fd979568e1a8b69c3cfb","score":"0.6150346","text":"@Override\n\t public void constructIndex() throws IOException {\n\n\t\t String corpusDirPath = _options._corpusPrefix;\n\t\t System.out.println(\"Constructing index from: \" + corpusDirPath);\n\t\t \n\t\t StringBuffer ss = new StringBuffer();\n\t\t File corpusDir = new File(corpusDirPath);\n\t\t for (File corpusFile : corpusDir.listFiles()) {\n\t\t\t if(corpusFile.getName().startsWith(\".\")) {\n\t\t\t\t continue;\n\t\t\t }\n\t\t\t \n\t\t\t Document doc = Jsoup.parse(corpusFile, \"UTF-8\");\n\t\t\t String contents = doc.text();\n\t\t\t \n\t\t\t System.out.println(\"Processing : \" + _numDocs + \" : \" + corpusFile.getName());\n\t\t\t \n\t\t\t ss.append(\"Processing : \" + _numDocs + \" : \" + corpusFile.getName());\n\t\t\t ss.append(\"\\n\");\n\t\t\t\t\n\t\t\t processDocument(contents, doc, _numDocs);\n\n\t\t\t if ((_numDocs + 1) % _maxFiles == 0) {\n\t\t\t\t // write index to intermediate file\n\t\t\t\t writeIndexToFile();\n\t\t\t\t System.out.println(\"writing to : \" + _docInfoFile);\n\t\t\t\t // flush the in memory index\n\t\t\t\t _occuredIndex = new LinkedHashMap>>();\n\t\t\t\t docInfo = new StringBuffer();\n\t\t\t }\n\n\t\t\t _numDocs++;\n\t\t }\n\n\t\t // write last batch of info\n\t\t writeIndexToFile();\n\t\t}","title":""},{"docid":"58c2f71f69adf4ed75f00c309669984b","score":"0.61243886","text":"private DesignTemplate(int ind){this.index = ind;}","title":""},{"docid":"09443ed03c7d423e3b7e1ef4c94774b0","score":"0.608853","text":"public void createIndex(List
articles) {\n\n for (Article article : articles) {\n try {\n Document doc = new Document(); // Create documents that will be stored in the index\n\n // Tokenize the Article Title\n doc.add(new TextField(ApplicationConfig.ARTICLE_TITLE, article.getTitle(), Field.Store.YES));\n\n // Add the article ID and publication date as atomic values\n doc.add(new StringField(ApplicationConfig.PMID, article.getId(), Field.Store.YES));\n doc.add(new StringField(ApplicationConfig.MONTH, article.getMonth(), Field.Store.YES));\n doc.add(new StringField(ApplicationConfig.YEAR, article.getYear(), Field.Store.YES));\n\n indexWriter.addDocument(doc); // Add the document to the index\n exists = true; // Prevents the XML document from being re-parsed\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n // Opening and closing the index is expensive, so only do it after the entire batch updates\n closeIndexWriter();\n }","title":""},{"docid":"3b7f8abc889979ffa6c98c7fc60d0524","score":"0.6081284","text":"public void buildHelper() throws Exception {\n\n\t\tif (isClustered) {\n\t\t\treCluster () ;\n\t\t}\n\n\t\t/*generate map to store >*/\n\t\tMap> map = buildMap();\n\n\t\tint[] keys = new int[map.size()];\n\t\tint i=0;\n\t\tfor (Integer key: map.keySet()) {\n\t\t\tkeys[i++] = key;\n\t\t}\n\t\tArrays.sort(keys);\n\n\t\t//\"src/samples/indexes/indextest\";\n\t\tString path = indexFilePath + \"/\" + tableName + \".\"+attribute;\n\t\tTupleWriter write = new TupleWriter(path);\n\t\tint pageIndex = 0;\n\n\t\t/*write header page*/\n\t\tSystem.out.println(\"header page\");\n\t\tNode headerNode = new indexNode();\n\t\theaderNode.addressNumber = pageIndex;\n\t\tList data = headerNode.getDatalist();\n\t\twrite.writePage(data);\n\t\tpageIndex++;\n\n\n\t\tSystem.out.println(\"leaf page\");\n\t\t/*write leaf page*/\n\t\t\n\t\t/*the next position of key*/\n\t\tint keyPosition = 0;\n\t\tDeque nodeQueue = new LinkedList<>();\n\n\t\twhile (keyPosition < keys.length) {\n\t\t\t/*check the rest number of children*/\n\t\t\tint restChildren = keys.length - keyPosition;\n\t\t\tint keySize = 2 * order;\n\t\t\t/*2d < children < 3d*/\n\t\t\tif (restChildren > 2 * order && restChildren < 3 * order ) {\n\t\t\t\tkeySize = restChildren /2;\n\t\t\t} else if (restChildren < 2* order) {\n\t\t\t\tkeySize = restChildren;\n\t\t\t}\n\n\t\t\tNode leafNode = new leafNode();\n\t\t\tleafNode.addressNumber = pageIndex;\n\t\t\tleafNode.generate(map, keys, keyPosition, keySize);\n\t\t\tdata = leafNode.getDatalist();\n\t\t\twrite.writePage(data);\n\n\t\t\tnodeQueue.add(leafNode);\n\t\t\tpageIndex++;\n\t\t\tkeyPosition += keySize;\n\n\t\t}\n\n\t\tint leafNumber = pageIndex-1;\n\t\tboolean childLayer = true;\n\n\t\t/*write index page*/\n\t\twhile (!nodeQueue.isEmpty()) {\n\t\t\tint size = nodeQueue.size();\n\t\t\t/*handle case that the only have one leaf node\n\t\t\t * and it will generate a index tree like (index node without key) --> (leaf node)\n\t\t\t * */\n\t\t\tif (size == 1 && !childLayer ) {\n\t\t\t\tpageIndex--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint start = 0;\n\t\t\t/*generate index node for this level*/\n\t\t\twhile (start < size) {\n\t\t\t\tchildLayer = false;\n\t\t\t\t/*check the rest number of children*/\n\t\t\t\tint restChildren = size - start;\n\t\t\t\tint keySize = 2 * order +1;\n\t\t\t\t/*2d +1 < children < 3d +2 */\n\t\t\t\tif (restChildren > 2 * order +1 && restChildren < 3 * order +2 ) {\n\t\t\t\t\tkeySize = restChildren /2;\n\t\t\t\t} else if (restChildren < 2* order +1) {\n\t\t\t\t\tkeySize = restChildren;\n\t\t\t\t}\n\n\t\t\t\tNode indexNode = new indexNode();\n\t\t\t\tindexNode.addressNumber = pageIndex;\n\n\t\t\t\tint counter = keySize;\n\t\t\t\twhile(counter>0) {\n\t\t\t\t\tindexNode.addChildNode(nodeQueue.poll());\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\n\n\t\t\t\tindexNode.generate();\n\t\t\t\tdata = indexNode.getDatalist();\n\t\t\t\twrite.writePage(data);\n\n\t\t\t\tnodeQueue.add(indexNode);\n\t\t\t\tpageIndex++;\n\t\t\t\tstart += keySize;\n\n\t\t\t}\t\n\t\t\tSystem.out.println(\"level\");\n\t\t}\n\n\t\t/*rewrite root node*/\n\t\theaderNode.getDatalist().add(pageIndex);\n\t\theaderNode.getDatalist().add(leafNumber);\n\t\theaderNode.getDatalist().add(order);\n\n\t\twrite.reWritePage(0, headerNode.getDatalist());\n\t\twrite.close();\n\n\n\n\t}","title":""},{"docid":"3a125ca16d8f53c588fbe0eacd1579da","score":"0.60541934","text":"Template createTemplate();","title":""},{"docid":"a5b3e598ce38290db71deefcc19b97a5","score":"0.6003532","text":"protected void checkForIndexTemplate(String index,String docType,String timeFieldName) {\n\t\tString name = index + \"-template\";\n\t\tGetIndexTemplatesResponse response = client.admin().indices().prepareGetTemplates(name).execute().actionGet();\n\t\tif (response.getIndexTemplates().size() > 0) {\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tXContentBuilder json = JsonXContent.contentBuilder();\n\t\t\tjson.startObject();\n\t\t\tjson.field(\"template\", index + \"*\");\n\n\n\t\t\tjson.startObject(\"mappings\");\n\t\t\t\tjson.startObject(docType);\n\t\t\t\t\tjson.startObject(\"properties\");\n\t\t\t\t\t\t\tjson.startObject(timeFieldName);\n\t\t\t\t\t\t\tjson.field(\"type\", \"date\");\n\t\t\t\t\t\t\tjson.field(\"format\", \"epoch_millis\");\n\t\t\t\t\t\t\tjson.endObject();\n\t\t\t\t\tjson.endObject();\n\t\t\t\tjson.endObject();\n\t\t\tjson.endObject();\n\n//\t\t\t\"dynamic_templates\": [\n//\t\t\t{\n//\t\t\t\t\"strings_as_keyword\": {\n//\t\t\t\t\"mapping\": {\n//\t\t\t\t\t\"type\": \"keyword\",\n//\t\t\t\t\t\t\t\"ignore_above\": 1024\n//\t\t\t\t},\n//\t\t\t\t\"match_mapping_type\": \"string\"\n//\t\t\t}\n//\t\t\t}\n// ]\n//\n//\t\t}\n\n\t\t\tjson.startArray(\"dynamic_templates\");\n\t\t\t\tjson.startObject();\n\t\t\t\t\tjson.startObject(\"strings_as_keyword\");\n\t\t\t\t\t\tjson.startObject(\"mapping\");\n\t\t\t\t\t\tjson.field(\"type\", \"keyword\");\n\t\t\t\t\t\tjson.field(\"ignore_above\", \"256\");\n\t\t\t\t\t\tjson.endObject();\n\t\t\t\t\tjson.field(\"match_mapping_type\", \"string\");\n\t\t\t\t\tjson.endObject();\n\t\t\t\tjson.endObject();\n\t\t\tjson.endArray();\n\n\n\t\t\tjson.endObject();\n\t\t\tclient.admin().indices().preparePutTemplate(name).setPatterns(Arrays.asList(index + \"-*\")).setSource(json).execute().actionGet();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"cc762b2811f1807bdaa0f7012b52d959","score":"0.5989233","text":"@Override\n public boolean autoIndexCreation() {\n return false;\n }","title":""},{"docid":"494930af7408c7dfd1a869a1a176ee5c","score":"0.5983691","text":"public static void loadIndex(){\n\t\t// chargement de l'index des tags des documents \n\t\tlong startLoadingDocTag = System.currentTimeMillis();\n\t\tindexTag = Index.createIndex(\"/home/ould/ould/collections/delicious_cogo/indexation/index_document_tags/terrier-4.0/var/index\", \"data\");\n\t\tif(indexTag == null)\n\t\t{\n\t\t\tlogger.fatal(\"Failed to load index tags. Perhaps index files are missing\");\n\t\t}\n\t\tlong endLoadingDocTag = System.currentTimeMillis();\n\t\tif (logger.isInfoEnabled())\n\t\t\tlogger.info(\"time to intialise index tag: \" + ((endLoadingDocTag-startLoadingDocTag)/1000.0D));\n\n\n\n\t\t// chargement de l'index des documents \n\t\tlong startLoadingDoc = System.currentTimeMillis();\n\t\tindexDoc = Index.createIndex(\"/home/ould/ould/collections/delicious_cogo/indexation/index_documents/terrier-4.0/var/index\", \"data\");\n\t\tif(indexDoc == null)\n\t\t{\n\t\t\tlogger.fatal(\"Failed to load index tags. Perhaps index files are missing\");\n\t\t}\n\t\tlong endLoadingDoc = System.currentTimeMillis();\n\t\tif (logger.isInfoEnabled())\n\t\t\tlogger.info(\"time to intialise index tag: \" + ((endLoadingDoc-startLoadingDoc)/1000.0D));\n\t}","title":""},{"docid":"2dacf69a02379e41b54491f85a06e556","score":"0.5982809","text":"@Override\n public void enterCreate_index_stmt(SQLiteParser.Create_index_stmtContext ctx) throws DBAppException {\n String tableName=ctx.table_name().getText();\n List temp=ctx.index_name();\n String [] colNames=new String[temp.size()];\n int i=0;\n for(SQLiteParser.Index_nameContext x:temp){\n colNames[i++]=x.getText();\n }\n dbApp.createIndex(tableName,colNames);\n }","title":""},{"docid":"c40af5e5460ad268c0c9808eb183ba78","score":"0.5981438","text":"public indexManager() {}","title":""},{"docid":"c70b313c5ed2eeac6435f3597cd53aac","score":"0.5948669","text":"public static Result index() {\n SqlConn sqlWritter = new SqlConn(\"will\");\n dbList = sqlWritter.readDbList();\n sqlWritter.closeCon();\n List tbList = new ArrayList<>();\n return ok(index.render(dbList, null, null));\n }","title":""},{"docid":"a982b3ac757b4ba7a85ed612856cec64","score":"0.5914754","text":"public synchronized void schedule() {\r\n if (timer != null) {\r\n timer.cancel();\r\n }\r\n timer = new Timer(true);\r\n \r\n TimerTask task = new TimerTask() {\r\n @Override\r\n public void run() {\r\n createIndex();\r\n }\r\n };\r\n \r\n long daysBetween = settingsService.getIndexCreationInterval();\r\n int hour = settingsService.getIndexCreationHour();\r\n \r\n if (daysBetween == -1) {\r\n LOG.info(\"Automatic index creation disabled.\");\r\n return;\r\n }\r\n \r\n Date now = new Date();\r\n Calendar cal = Calendar.getInstance();\r\n cal.setTime(now);\r\n cal.set(Calendar.HOUR_OF_DAY, hour);\r\n cal.set(Calendar.MINUTE, 0);\r\n cal.set(Calendar.SECOND, 0);\r\n \r\n if (cal.getTime().before(now)) {\r\n cal.add(Calendar.DATE, 1);\r\n }\r\n \r\n Date firstTime = cal.getTime();\r\n long period = daysBetween * 24L * 3600L * 1000L;\r\n timer.schedule(task, firstTime, period);\r\n \r\n LOG.info(\"Automatic index creation scheduled to run every \" + daysBetween + \" day(s), starting at \" + firstTime);\r\n \r\n // In addition, create index immediately if it doesn't exist on disk.\r\n if (!isIndexCreated()) {\r\n LOG.info(\"Search index not found on disk. Creating it.\");\r\n createIndex();\r\n }\r\n }","title":""},{"docid":"1749f98e6ff8e4401b3fd5c11638f3bc","score":"0.5886015","text":"private GenericIndex createIndex(int indexType, Class attributeType, String controllingAttribute) {\n \t\tGenericIndex index;\n \n \t\t// If all the values for the controllingAttribute are NULL, return null\n \t\tString _type = \"node\";\n \t\tif (indexType == QuickFind.INDEX_EDGES){\n \t\t\t_type = \"edge\";\n \t\t}\n \t\t//\n \t\tif ((attributeType == Integer.class)\n \t\t || (attributeType == Double.class)) {\n \t\t\tindex = IndexFactory.createDefaultNumberIndex(indexType);\n \t\t} else {\n \t\t\tindex = IndexFactory.createDefaultTextIndex(indexType);\n \t\t}\n \n \t\tindex.setControllingAttribute(controllingAttribute);\n \n \t\treturn index;\n \t}","title":""},{"docid":"b56c6ae260ceba2407ee03a23bffb426","score":"0.5862745","text":"private void createPhotoIndex(TransportClient client) {\n\n // delete index before starting\n try {\n DeleteIndexResponse deleteResponse = client.admin().indices()\n .delete(new DeleteIndexRequest(propertyService.getEsPhotoIndex())).actionGet();\n } catch (Exception e) {\n logger.info(e.getMessage());\n }\n\n String locationType =\n \"{\\n\" +\n \" \\\"\"+propertyService.getEsPhotoIndexType()+\"\\\": {\\n\" +\n \" \\\"properties\\\": {\\n\" +\n \" \\\"location\\\": {\\n\" +\n \" \\\"type\\\": \\\"geo_point\\\"\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\";\n\n logger.info(\"trying to create index...\");\n logger.info(propertyService.getEsPhotoIndex());\n logger.info(propertyService.getEsPhotoIndexType());\n\n client.admin().indices().prepareCreate(propertyService.getEsPhotoIndex())\n .addMapping(propertyService.getEsPhotoIndexType(),locationType,XContentType.JSON)\n .get();\n }","title":""},{"docid":"b2a379f06cb759bfb2a86e6e653339fd","score":"0.58299834","text":"protected static void createIndex(String indexName) {\n\t\ttry {\n\t\t\t// Create our expand / search indices\n\t\t\tString endpoint = String.format(\"/%s\", indexName);\n\t\t\tMap params = new HashMap();\n\t\t\tStringEntity requestBody = new StringEntity(INDEX_JSON);\n\n\t\t\tResponse resp = client.performRequest(\"PUT\", endpoint, params, requestBody, contentTypeHeader);\n\t\t\tstaticLogger.debug(\"Response: \" + resp.getStatusLine());\n\n\t\t} catch (IOException e) {\n\t\t\t// Ignore this...? probably already exists\n\t\t\tstaticLogger.error(e.getMessage(), e);\n\n\t\t\tif (e instanceof UnsupportedEncodingException) {\n\t\t\t\tstaticLogger.error(\"Error encoding JSON: \" + e.getMessage(), e);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"f03260c38530811f85a89b7402b53883","score":"0.5820401","text":"private static void createHealthDataIndex(){\r\n\t\tString[] index_and_order = {\"phone,1\",\"appType,1\",\"dataType,1\",\"measureTime,1\"};\r\n\t\thealth_data = db.getCollection(collection_health_data);\r\n\t\tcreateIndex(health_data, index_and_order);\r\n\t}","title":""},{"docid":"51e7e9fe1ad2c16e587f826b3f7c756b","score":"0.58183265","text":"public static CreateIndex.Stub createUniqueIndex() {\n\t\treturn new CreateIndex.Stub(true, false);\n\t}","title":""},{"docid":"61ba0f1c89ad691a9df5a7329db7c6a7","score":"0.5806487","text":"public void createInvertedIndex() throws IOException {\n mergeTermsPostings();\n mergeCityPostings();\n tmpCityDic.clear();\n mergeDocsPostings();\n tmpDocsDic.clear();\n createFinalTermsPostings();\n createFinalTermsDic();\n deleteTmpFiles();\n }","title":""},{"docid":"f138ad337ab3432f5717967a07d1887f","score":"0.5789705","text":"TemplateBuilder templateBuilder();","title":""},{"docid":"6aaf717c2b3edde3fc70a8a4e2ce8a71","score":"0.57832235","text":"public static CreateIndex.Stub createIndexIfNotExists() {\n\t\treturn new CreateIndex.Stub(false, true);\n\t}","title":""},{"docid":"492a9b84797f48f0afad16615e0e31ed","score":"0.57783353","text":"private static void createPatientDataIndex(){\r\n\t\tString[] index_and_order = {\"phone,1\",\"appType,1\"};\r\n\t\tpatient_data = db.getCollection(collection_patient_data);\r\n\t\tcreateIndex(patient_data, index_and_order);\r\n\t}","title":""},{"docid":"b71af71fc9295f5da328a86c73b17570","score":"0.5776086","text":"public Datum index();","title":""},{"docid":"a6363c60ba87428c1f55b6bf72e68577","score":"0.5738237","text":"TarantoolIndexMeta getSpaceIndex(String spaceName, String indexName);","title":""},{"docid":"8035bc9067e268d9d43f64853882cb35","score":"0.57338595","text":"public TemplateController(int i){ \n // index=i; // example \n }","title":""},{"docid":"aafd034bbe261c51569586d167ddb73a","score":"0.5707166","text":"ExistenceTemplate createExistenceTemplate();","title":""},{"docid":"da4a89ea968064af9374953a2d5bf9d2","score":"0.57061654","text":"private void createIndex(MariaDB mariaDB) throws ClassNotFoundException, IOException, SQLException {\n\t\tHashMap uniqueTokensBigram = this.getUniqueTokenBigram(mariaDB);\n\t\tFile indexFolder1 = new File(ConfigLucene.INDEX_FOLDER);\n\t\tIndexBigramLucene.IndexLuceneUniqueTokensBigram(uniqueTokensBigram, indexFolder1, ConfigLucene.CONCATENATION_FIELD,\n\t\t\t\tConfigLucene.BIGRAM_FIELD);\n\t}","title":""},{"docid":"c02662a4dff1c9251b4e4e515aa05a19","score":"0.56786615","text":"MobaIndexFactory getMobaIndexFactory();","title":""},{"docid":"c0e9f79e098d33d238019aa62b33f071","score":"0.5675032","text":"public KeyIndex createKeyIndex() {\n/* 438 */ return new KeyIndex(this._indexSize);\n/* */ }","title":""},{"docid":"06cd47abc48d059561f65811c3f90713","score":"0.56707686","text":"public IndexEntries() {\n\t\tsuper(\"index_entries\", io.corps.sgoc.jooq.DefaultSchema.DEFAULT_SCHEMA);\n\t}","title":""},{"docid":"35b764322f5e6500e97396bdd3ceabb4","score":"0.56559056","text":"public static Model createIndex(Model dataModel) {\n\t\treturn createIndex(dataModel, new Config());\n\t}","title":""},{"docid":"45a81ac3ef830061983873564872bcb8","score":"0.56490093","text":"public Result indexD() {\n \n return ok(index.render(\"Gestion de Docentes\") );\n }","title":""},{"docid":"1aa79471662f3ed53973ace1cd36e4b3","score":"0.5625232","text":"public void index( File root, boolean create, String index )\n {\n\n try\n {\n Date start = new Date();\n\n writer = new IndexWriter(index, new StandardAnalyzer(), create, IndexWriter.MaxFieldLength.LIMITED);\n\n if (!create)\n { // delete stale docs\n deleting = true;\n indexDocs(root, index, create);\n }\n\n indexDocs(root, index, create); // add new docs\n\n System.out.println(\"Optimizing index...\");\n writer.optimize();\n writer.close();\n\n Date end = new Date();\n\n System.out.print(end.getTime() - start.getTime());\n System.out.println(\" total milliseconds\");\n\n }\n catch( Exception e )\n {\n e.printStackTrace();\n }\n }","title":""},{"docid":"049837bdbfede9c768770cf429096656","score":"0.5616663","text":"public TemplateController(){}","title":""},{"docid":"a2c670d387c6005f40089f7287b554f0","score":"0.55987597","text":"public void generateTableTemplateData() throws FileNotFoundException, NotBoundException, RemoteException {\n List templates = ServiceFacade.getInstance().getTemplates();\n if (templates != null) {\n tableTemplateData = new String[templates.size()][COUNT_PARAMETERS];\n int j = 0;\n for (int i = 0; i < tableTemplateData.length; i++) {\n tableTemplateData[i][j] = ((Template) templates.get(i)).getName();\n }\n } else {\n tableTemplateData = new String[1][1];\n tableTemplateData[0][0] = null; //empty table\n }\n \n modelTemplate = new ResultTableModel(headerNameTemplate, tableTemplateData);\n }","title":""},{"docid":"070d3bdffe2b39063ea06f92f6d470ac","score":"0.55805963","text":"static PublicIndexHandler create() {\n return new PublicIndexHandlerImpl();\n }","title":""},{"docid":"426431d28c16bd65dcaccb5e2252f0c3","score":"0.55803615","text":"CreateIndex(long transactionId, String indexName) {\n super(transactionId, Action.TYPE_CREATE_INDEX);\n this.indexName = indexName;\n }","title":""},{"docid":"0267be311910ae8c821084910996cb38","score":"0.5575618","text":"public void feedElasticIndex() {\n\n // Initialize document metadata\n documentMetadata = esOperations.getElasticsearchConverter().getMappingContext().getPersistentEntity(getDocumentClass());\n\n // Load documents into index\n testDocumentsLoader.initElasticIndex(\n documentMetadata,\n getTestFixture().getStoredDocuments());\n }","title":""},{"docid":"7e5baece400e68436fa9f04b917f805d","score":"0.5566386","text":"public Indexer()\n {\n talID1 = new TalonSRX(Constants.p_TAL_ID_1);\n talID2 = new TalonSRX(Constants.p_TAL_ID_2);\n }","title":""},{"docid":"7f379bae7d60bdea0e41d466e6729ece","score":"0.5542115","text":"void createInitialIndex(ItemStateManager stateMgr,\n NodeId rootId,\n Path rootPath)\n throws IOException {\n // only do an initial index if there are no indexes at all\n if (indexNames.size() == 0) {\n reindexing = true;\n try {\n long count = 0;\n // traverse and index workspace\n executeAndLog(new Start(Action.INTERNAL_TRANSACTION));\n NodeState rootState = (NodeState) stateMgr.getItemState(rootId);\n count = createIndex(rootState, rootPath, stateMgr, count);\n checkIndexingQueue(true);\n executeAndLog(new Commit(getTransactionId()));\n log.debug(\"Created initial index for {} nodes\", count);\n releaseMultiReader();\n safeFlush();\n } catch (Exception e) {\n String msg = \"Error indexing workspace\";\n IOException ex = new IOException(msg);\n ex.initCause(e);\n throw ex;\n } finally {\n reindexing = false;\n scheduleFlushTask();\n }\n } else {\n throw new IllegalStateException(\"Index already present\");\n }\n }","title":""},{"docid":"f61f590dfe916424300ae33eade38a4c","score":"0.55338097","text":"private void generateAllIndexDDL() {\n\n Map indexes = table.getIndexes();\n\n if (indexes.size() != 0) {\n for (Map.Entry indexEntry : indexes.entrySet()) {\n Index index = indexEntry.getValue();\n indexDDLs.add(getIndexDDL(index));\n }\n }\n }","title":""},{"docid":"091612fdfc26e6d139586788d3e48ecc","score":"0.5520833","text":"public void initTemplate(String templateName, String templateReq) throws Exception {\n // Check if the template is set\n if (templateReq != null && !templateReq.equals(\"\")) {\n // Json deserialization\n PutIndexTemplateRequest request =\n new PutIndexTemplateRequest(templateName).source(templateReq);\n // Sending the request to elastic search\n sendIndexTemplateRequest(request);\n }\n }","title":""},{"docid":"78a1cb2bf7093af27e9f23fdeee97d52","score":"0.5516477","text":"public PutIndexTemplateRequestBuilder(IndicesAdminClient indicesClient) {\n\t\tsuper(indicesClient, new PutIndexTemplateRequest());\n\t}","title":""},{"docid":"ec86b0e25b323e981c1e5bd8330aa170","score":"0.55142987","text":"abstract protected String composeIndexNameFromEntry(UpdateDocumentEntry entry);","title":""},{"docid":"5c405c3ee1974b18b948b53caccdba95","score":"0.55102634","text":"public void uindex() {\n\n List users = new ArrayList<>();\n users.add(\"u1\");\n users.add(\"u2\");\n users.add(\"u3\");\n users.add(\"u4\");\n users.add(\"u5\");\n users.add(\"u6\");\n users.add(\"u7\");\n users.add(\"u8\");\n users.add(\"u9\");\n\n// setAttr(\"articles\", articles);\n setAttr(\"users\", users);\n\n render(\"/user_index.ftl\");\n }","title":""},{"docid":"37dcc0e97ca031e516eb5011a9fb31c7","score":"0.5509343","text":"private static void InitialIndexCatalog() throws IOException {\n\t\tFile file=new File(Config.Minisql.path + indexFilename);\n\t\tif(!file.exists()) return;\n\t\tFileInputStream fis = new FileInputStream(file);\n\t\tDataInputStream dis = new DataInputStream(fis);\n\t\tString tmpIndexName,tmpTableName,tmpAttriName;\n\t\tint tmpIndexBlockNum,tmpRootNum;\n\t\twhile(dis.available()>0) {\n\t\t\ttmpIndexName=dis.readUTF();\n\t\t\ttmpTableName=dis.readUTF();\n\t\t\ttmpAttriName=dis.readUTF();\n\t\t\ttmpIndexBlockNum=dis.readInt();\n\t\t\ttmpRootNum = dis.readInt();\n\t\t\tindexes.put(tmpIndexName, new Index(tmpIndexName,tmpTableName,tmpAttriName,tmpIndexBlockNum,tmpRootNum));\n\t\t}\n\t\tdis.close();\n\n\t}","title":""},{"docid":"ed779708eb5bbb0cb241c468d0502541","score":"0.548341","text":"private void generateChapterIndex() {\n Story story = new Story(imagesDir);\n story.makeRelativeTo(imagesDir.getParent());\n story.name = title;\n generateStoryIndex(story);\n }","title":""},{"docid":"3bcae283bdd3fb15e3bfd8cf819bf38b","score":"0.54811317","text":"public void addIndexes() {\n }","title":""},{"docid":"fbdacd75beb90d6981771974383014df","score":"0.5468681","text":"public IndexManager getIndexManager();","title":""},{"docid":"ae57296aae2eb9acfe2ad65b14192b3c","score":"0.54629296","text":"public Result index() {\n List all = Capabilities.find.all();\n List all2 = Gallery.find.all();\n List all3 = School.find.all();\n List all4 = Team.find.all();\n return ok(index.render(all, all2, all3, all4));\n }","title":""},{"docid":"c22b0c556a8e22509e505bb8d90e3ea5","score":"0.5453489","text":"public static void main(String[] args) throws Exception {\t\n\tfor (final LuceneGenerateResourceIndex generator : GENERATORS) {\n\t generator.createEmptyIndex();\n\t generator.shutdown();\n\t}\n }","title":""},{"docid":"91e72288b7fb04dc19cf7c522fac18cd","score":"0.5452453","text":"public void renderIndex(PrintWriter pr, List all, int level) throws Exception\n {\n Object working = all.get(0); // type is very important\n if (working instanceof IndexEntry)\n {\n throw new Exception(\"Index Structure Wrong: \" + working); // NOT HERE\n }\n else\n {\n if (working instanceof IndexGroup)\n {\n switch (level)\n {\n case SIMPLE_INDEX:\n {\n /*\n * make heading for the index page\n */\n // already there HTMLSink.fullWidth960(pr); // full width layout\n pr.println(gT(\"HEADER_ID1\") +\n \"_index\" +\n gT(\"HEADER_ID2\") +\n \"Indexes\" +\n gT(\"LINE_BREAK\") +\n gT(\"LINE_BREAK\") +\n gT(\"HEADER1_END\"));\n /*\n * BREADCRUMBS needed for HTML\n */\n /*\n * HOW do we know where to drop breadcrumbs? Well, the first-level\n * objects will all be IndexGroup objects and we will make\n * breadcrumbs for THEM ONLY (no recursion, etc, etc)\n */\n /*\n * Loop through all in the list, creating breadcrumbs\n */\n Iterator ingrp = all.iterator();\n IndexGroup inner_group = null;\n \n /*\n * we have not put a marker at the top of this\n * web page, because the name of the page\n * should be enough to get from other pages.\n * HOWEVER, we may want one for the \"top\" indicators!?!!?\n */\n pr.print(gT(\"PARAGRAPH_START\")); // treat real breadcrumb style\n while (ingrp.hasNext())\n {\n inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\n pr.print(gT(\"INDEX_CRUMB1\") +\n inner_group.id +\n gT(\"INDEX_CRUMB2\") +\n inner_group.short_title + \" -- \" +\n gT(\"INDEX_CRUMB_END\")); \n } // end if putting in bread crumb for a particular top-level group\n pr.print(gT(\"PARAGRAPH_END\")); // treat real breadcrumb style\n\n // HTMLSink.finish960(pr); // finish full-across block\n /*\n * NOW, we create the index, based on this structure\n */\n break;\n } // end simple case (state for HTML, might be different for other types)\n case POPUP_INDEX:\n {\n /*\n * make heading for the index page\n */\n // already there HTMLSink.fullWidth960(pr); // full width layout\n pr.println(gT(\"HEADER_ID1\") +\n \"_index\" +\n gT(\"HEADER_ID2\") +\n \"Indexes\" +\n gT(\"LINE_BREAK\") +\n gT(\"LINE_BREAK\") +\n gT(\"HEADER1_END\"));\n /*\n * BREADCRUMBS needed for HTML\n */\n /*\n * HOW do we know where to drop breadcrumbs? Well, the first-level\n * objects will all be IndexGroup objects and we will make\n * breadcrumbs for THEM ONLY (no recursion, etc, etc)\n */\n /*\n * Loop through all in the list, creating breadcrumbs\n */\n Iterator ingrp = all.iterator();\n IndexGroup inner_group = null;\n \n /*\n * we have not put a marker at the top of this\n * web page, because the name of the page\n * should be enough to get from other pages.\n * HOWEVER, we may want one for the \"top\" indicators!?!!?\n */\n pr.print(gT(\"PARAGRAPH_START\")); // treat real breadcrumb style\n while (ingrp.hasNext())\n {\n inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\n pr.print(gT(\"INDEX_CRUMB1\") +\n inner_group.id +\n gT(\"INDEX_CRUMB2\") +\n inner_group.short_title + \" -- \" +\n gT(\"INDEX_CRUMB_END\")); \n } // end if putting in bread crumb for a particular top-level group\n pr.print(gT(\"PARAGRAPH_END\")); // treat real breadcrumb style\n pr.print(gT(\"PARAGRAPH_START\")); // add link for closing window\n\n pr.print(gT(\"POPUP_CLOSE\"));\n // was \"Close the popup.\");\n pr.print(gT(\"PARAGRAPH_END\")); \n // HTMLSink.finish960(pr); // finish full-across block\n /*\n * NOW, we create the index, based on this structure\n */\n break;\n } // end popup case \n case COMPLETE_INDEX:\n {\n /*\n * make heading for the index page, only if we have some content\n */\n\t\t\tif (g_options.wantGeneralIndexONLY())\n\t\t\t{\n\t\t\t\t/*\n\t\t\t\t * no need for index start page\n\t\t\t\t * BUT, need \"index\" jump address\n\t\t\t\t * empty name will work\n\t\t\t\t */\n\t\t\t\tpr.println(\"\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// \n\t\t\t\tpr.println(gT(\"HEADER_ID1\") +\n\t\t\t\t\t \"index\" +\n\t\t\t\t\t gT(\"HEADER_ID2\") +\n\t\t\t\t\t \"All Document Indexes\" +\n\t\t\t\t\t gT(\"LINE_BREAK\") +\n\t\t\t\t\t gT(\"LINE_BREAK\") +\n\t\t\t\t\t gT(\"HEADER1_END\"));\n\t\t\t\tif (g_options.wantTOC())\n\t\t\t\t{\n\t\t\t\t\t// add a TOC reference, just to assist the reader\n\t\t\t\t\tpr.println(gT(\"INDEX_TARGET10\") +\n\t\t\t\t\t gT(\"INDEX_TARGET2\") +\n\t\t\t\t\t \"TOC\" +\n\t\t\t\t\t gT(\"INDEX_CRUMB2\") +\n\t\t\t\t\t \"Table of Contents\" +\n\t\t\t\t\t gT(\"INDEX_CRUMB10_END\") +\n\t\t\t\t\t gT(\"SEPARATOR_PARAGRAPH\"));\n\t\t\t\t} // end if want toc\n\t\t\t\t/*\n\t\t\t\t * BREADCRUMBS needed for HTML\n\t\t\t\t */\n\t\t\t\t/*\n\t\t\t\t * HOW do we know where to drop breadcrumbs? Well, the first-level\n\t\t\t\t * objects will all be IndexGroup objects and we will make\n\t\t\t\t * breadcrumbs for THEM ONLY (no recursion, etc, etc)\n\t\t\t\t */\n\t\t\t\t/*\n\t\t\t\t * Loop through all in the list, creating breadcrumbs\n\t\t\t\t */\n\t\t\t\tIterator ingrp = all.iterator();\n\t\t\t\tIndexGroup inner_group = null;\n\t\t\t\t \n\t\t\t\t/*\n\t\t\t\t * we have not put a marker at the top of this\n\t\t\t\t * web page, because the name of the page\n\t\t\t\t * should be enough to get from other pages.\n\t\t\t\t * HOWEVER, we may want one for the \"top\" indicators!?!!?\n\t\t\t\t */\n\t\t\t\tpr.print(gT(\"PARAGRAPH_START\")); // treat real breadcrumb style\n\t\t\t\twhile (ingrp.hasNext())\n\t\t\t\t{\n\t\t\t\t inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\n\t\t\t\t pr.print(gT(\"INDEX_CRUMB1\") +\n\t\t\t\t\t inner_group.id +\n\t\t\t\t\t gT(\"INDEX_CRUMB2\") +\n\t\t\t\t\t inner_group.short_title + \" -- \" +\n\t\t\t\t\t gT(\"INDEX_CRUMB_END\")); \n\t\t\t\t} // end if putting in bread crumb for a particular top-level group\n\t\t\t\tpr.print(gT(\"PARAGRAPH_END\")); // treat real breadcrumb style\n\t\t\t} // end else want some sort of index besides general\n\t\t\t/*\n * NOW, we create the index, based on this structure\n */\n break;\n } // end complete index for HTML\n } // end switch on the type of index wanted\n \n renderIndexGroupList(pr,all,1,new ArrayDeque(),level); // probably will recurse, no back to top yet\n } // end if the right kind of group\n else\n {\n throw new Exception(\"Index Structure Wrong: \" + working);\n }\n } // end not index entry\n }","title":""},{"docid":"c9c49e86177d94a613e0146a230cda96","score":"0.5452282","text":"public Tuple createIndexEntry(Tuple t){\n \t//Some code goes here\n \t//You may change or ignore this method based on your design decisions\n \treturn null;\n }","title":""},{"docid":"db1e920d5da29749521d5b54e32423d7","score":"0.54403937","text":"public static CreateIndex.Stub createUniqueIndexIfNotExists() {\n\t\treturn new CreateIndex.Stub(true, true);\n\t}","title":""},{"docid":"b441eea8764b51f6ef33917ebfff337e","score":"0.54342824","text":"static CreateIndex fromString(long transactionId, String arguments) {\n // when created from String, this action is executed as redo action\n return new CreateIndex(transactionId, arguments);\n }","title":""},{"docid":"97c78f6fce1f30b6eb1f8ba42ddc7ade","score":"0.54342216","text":"@Override\n public ImmutableCollection getTemplates() {\n return templateIndex.values();\n }","title":""},{"docid":"92f4221d77f2b82eb4c508c3f67887a7","score":"0.5433669","text":"protected final Index index()\n {\n return index;\n }","title":""},{"docid":"2f6ec2f22603a52d4a2438999bd72566","score":"0.54321563","text":"@Test\n public void test() {\n IndexMetaWriter metaBuilder = new IndexMetaWriter(1);\n metaBuilder.startPage(1, 1); //Title\n metaBuilder.addTerm(-1, TermSegment.TEXT);\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\n metaBuilder.addTerm(-2, TermSegment.TEXT);\n metaBuilder.addTerm(-1, TermSegment.TEXT);\n metaBuilder.addSection(-5);\n metaBuilder.addSection(-5);\n metaBuilder.endPage();\n\n metaBuilder.startPage(2, 2); //Title title\n metaBuilder.addTerm(-2, TermSegment.TEXT);\n metaBuilder.addTerm(-3, TermSegment.TEXT);\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\n metaBuilder.addTerm(-9, TermSegment.TEXT);\n metaBuilder.addSection(-10);\n metaBuilder.endPage();\n\n metaBuilder.startPage(3, 3); //Title with title\n metaBuilder.addTerm(-239, TermSegment.TEXT);\n metaBuilder.addSection(-13);\n metaBuilder.endPage();\n\n IndexMeta meta = metaBuilder.build();\n assertEquals(1, meta.getVersion());\n assertEquals(3, meta.getDocumentsCount());\n assertEquals(7, meta.getContentTermsCount());\n assertEquals(4, meta.getTitlesCount());\n assertEquals(3, meta.getTitleTermsCount());\n assertEquals(0, meta.getLinksCount());\n assertEquals(0, meta.getTargetTitleTermsCount());\n assertEquals(0, meta.getLinkTermsCount());\n }","title":""},{"docid":"d8679b2d90a878a108f63ba8994e0ad8","score":"0.54264325","text":"void init() throws Exception {\n stmt.executeUpdate(\"CREATE TABLE IF NOT EXISTS IndexTest (f1 int NOT NULL, f2 int, f3 varchar)\");\n stmt.executeUpdate(\"CREATE PRIMARY KEY HASH IF NOT EXISTS IndexTest_idx0 ON IndexTest(f1)\");\n stmt.executeUpdate(\"CREATE UNIQUE HASH INDEX IF NOT EXISTS IndexTest_idx1 ON IndexTest(f2)\");\n stmt.executeUpdate(\"CREATE INDEX IF NOT EXISTS IndexTest_idx2 ON IndexTest(f3, f2)\");\n\n indexFieldWithColumnFamilyPrefix();\n }","title":""},{"docid":"45378da87a4f3748ec30de4de0313d94","score":"0.54231095","text":"public void ensureIndexCreation(Book book) throws BookException {\r\n \tlog.debug(\"ensureIndexCreation\");\r\n\r\n \t// ensure this isn't just the user re-clicking the Index button\r\n\t\tif (!book.getIndexStatus().equals(IndexStatus.CREATING) && !book.getIndexStatus().equals(IndexStatus.SCHEDULED)) {\r\n\r\n\t\t\tIndexCreator ic = new IndexCreator();\r\n\t ic.scheduleIndexCreation(book);\r\n\t\t}\r\n\t}","title":""},{"docid":"837d461f48b941422418c8953f84b96c","score":"0.54040873","text":"@Override\n\tpublic Index getIndex(String id) {\n\t\t\n\t\tIndex index = new Index();\n\t\tindex.setId(\"123\");\n\t\tindex.setIndexType((byte) 2);\n\t\tindex.setMsgType((byte)2);\n\t\tindex.setCreatTime(3242344L);\n\t\t\n\t\treturn index;\n\t}","title":""},{"docid":"5e8701ebc045aaedce3130960d08658a","score":"0.54036516","text":"public ElasticsearchIndexService(\n UserRepository userRepository,\n UserSearchRepository userSearchRepository,\n AppointmentRepository appointmentRepository,\n AppointmentSearchRepository appointmentSearchRepository,\n AttendeeRepository attendeeRepository,\n AttendeeSearchRepository attendeeSearchRepository,\n CustomUserRepository customUserRepository,\n CustomUserSearchRepository customUserSearchRepository,\n GroupsRepository groupsRepository,\n GroupsSearchRepository groupsSearchRepository,\n GroupsMemberRepository groupsMemberRepository,\n GroupsMemberSearchRepository groupsMemberSearchRepository,\n IconRepository iconRepository,\n IconSearchRepository iconSearchRepository,\n NoteRepository noteRepository,\n NoteSearchRepository noteSearchRepository,\n NotificationRepository notificationRepository,\n NotificationSearchRepository notificationSearchRepository,\n TeamRepository teamRepository,\n TeamSearchRepository teamSearchRepository,\n ElasticsearchTemplate elasticsearchTemplate) {\n this.userRepository = userRepository;\n this.userSearchRepository = userSearchRepository;\n this.appointmentRepository = appointmentRepository;\n this.appointmentSearchRepository = appointmentSearchRepository;\n this.attendeeRepository = attendeeRepository;\n this.attendeeSearchRepository = attendeeSearchRepository;\n this.customUserRepository = customUserRepository;\n this.customUserSearchRepository = customUserSearchRepository;\n this.groupsRepository = groupsRepository;\n this.groupsSearchRepository = groupsSearchRepository;\n this.groupsMemberRepository = groupsMemberRepository;\n this.groupsMemberSearchRepository = groupsMemberSearchRepository;\n this.iconRepository = iconRepository;\n this.iconSearchRepository = iconSearchRepository;\n this.noteRepository = noteRepository;\n this.noteSearchRepository = noteSearchRepository;\n this.notificationRepository = notificationRepository;\n this.notificationSearchRepository = notificationSearchRepository;\n this.teamRepository = teamRepository;\n this.teamSearchRepository = teamSearchRepository;\n this.elasticsearchTemplate = elasticsearchTemplate;\n }","title":""},{"docid":"fd7aa639faf6b36d9854fa244a69de6b","score":"0.5401601","text":"public RiakIndexes()\n {\n \n }","title":""},{"docid":"e74630caac3b131810d145c19db7d9d0","score":"0.53845","text":"public IndexBean() {\r\n }","title":""},{"docid":"953f03038d8352a38f97545b33c8ee39","score":"0.538335","text":"public PutIndexTemplateRequestBuilder(IndicesAdminClient indicesClient, String name) {\n\t\tsuper(indicesClient, new PutIndexTemplateRequest(name));\n\t}","title":""},{"docid":"ab5ddf37faa39023911f61c5dec609cd","score":"0.5381152","text":"static void BuildIndex(String datafile, int mode) throws Throwable {\n\t\t\n\t\t//init the index\n\t\tfor(int i = 0;i < num_ip; i++)\n\t\t\tjclient.initServer(i, Index.BUILD);\n\t\t\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(new FileInputStream(datafile)));\n\t\tString line;\t\n\t\tint id = 0;\n\t\twhile ((line = buf.readLine()) != null) {\n\t\t\t//for insertion the key is elementID\n\t\t\tstrKey strkey = new strKey(String.valueOf(id));\n\t\t\tString values[] = null;\n\t\t\tif(mode == Index.STRING_BUILD)\n\t\t\t\tvalues = DataProcessor.process(2, line).split(\" \");\n\t\t\telse if(mode == Index.SIFT_BUILD)\n\t\t\t\tvalues = line.split(\" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Type error\");\n\t\t\t\n\t\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\t\t//for insertion the value is grams and dim+value\n\t\t\t\tstrValue strvalue = null;\n\t\t\t\tif(mode == Index.SIFT_BUILD)\n\t\t\t\t\tstrvalue = new strValue(i+\"+\"+values[i]);\n\t\t\t\telse if(mode == Index.STRING_BUILD)\n\t\t\t\t\tstrvalue = new strValue(values[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"Type error when adding document\");\n\t\t\t\tjclient.addPair(strkey, strvalue, mode);\n\t\t\t}\n\t\t\tid++;\n\t\t}\t\n\t\tfor(int i = 0;i < num_ip; i++)\n\t\t\tjclient.closeIndexwriter(i);\n\t}","title":""},{"docid":"693997c67478342587c9998aa35a17b5","score":"0.5378575","text":"private void setupIndexes(Config config, Query query) {\n if (index != Index.NO_INDEX) {\n MapIndexConfig mapIndexConfig = new MapIndexConfig();\n mapIndexConfig.setAttribute(query.expression);\n mapIndexConfig.setOrdered(index == Index.ORDERED);\n config.getMapConfig(\"map\").addMapIndexConfig(mapIndexConfig);\n }\n }","title":""},{"docid":"73eaca59ff4e6001e9cbefe1d49566dc","score":"0.537552","text":"protected void buildIndexMap(DocletEnvironment docEnv) {\n Set packages = configuration.getSpecifiedPackageElements();\n Set classes = configuration.getIncludedTypeElements();\n if (!classesOnly) {\n if (packages.isEmpty()) {\n Set set = new HashSet<>();\n for (TypeElement aClass : classes) {\n PackageElement pkg = utils.containingPackage(aClass);\n if (pkg != null && !pkg.isUnnamed()) {\n set.add(pkg);\n }\n }\n adjustIndexMap(set);\n } else {\n adjustIndexMap(packages);\n }\n }\n adjustIndexMap(classes);\n if (!classesOnly) {\n for (TypeElement aClass : classes) {\n if (shouldAddToIndexMap(aClass)) {\n putMembersInIndexMap(aClass);\n }\n }\n if (configuration.showModules) {\n addModulesToIndexMap();\n }\n }\n }","title":""},{"docid":"3e21bd0864df9919cc60e7bb7cdd7779","score":"0.5367082","text":"public IndexPath() {}","title":""},{"docid":"3ed68ca1c7831552ce53c1fa909482bb","score":"0.53654116","text":"private static void indexDirectory() {\n try {\n Path path;\n path = Paths.get(\"C:\\\\Users\\\\USER\\\\Desktop\\\\index\");\n Directory directory = FSDirectory.open(path);\n \n IndexWriterConfig config = new IndexWriterConfig(new SimpleAnalyzer());\n IndexWriter indexWriter = new IndexWriter(directory, config);\n indexWriter.deleteAll();\n File f = new File(\"C:\\\\seminar\\\\test_data\"); // current directory \n for (File file : f.listFiles()) {\n //System.out.println(\"indexed \" + file.getCanonicalPath());\n Document doc = new Document();\n doc.add(new TextField(\"FileName\", file.getName(), Store.YES));\n\n FileInputStream is = new FileInputStream(file);\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\n StringBuffer stringBuffer = new StringBuffer();\n String line = null;\n while ((line = reader.readLine()) != null) {\n stringBuffer.append(line).append(\"\\n\");\n }\n reader.close();\n doc.add(new TextField(\"contents\", stringBuffer.toString(), Store.YES));\n indexWriter.addDocument(doc);\n }\n indexWriter.close();\n directory.close();\n System.out.println(\"indexing finished\");\n } catch (Exception e) {\n // TODO: handle exception\n e.printStackTrace();\n }\n }","title":""},{"docid":"0537a5ad455ed531809324682b44ec10","score":"0.53640115","text":"public IndexRequest createIndexRequest(T element) {\n\n return Requests.indexRequest()\n .index(indexName)\n .type(type)\n .source(ClickstreamProcessor.toJson(element), XContentType.JSON);\n }","title":""},{"docid":"19627a7e115e6ae3b4a6a216f5727b79","score":"0.53599596","text":"private void createIndexList(ZipOutputStream zOut) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n // encoding must be UTF8 as specified in the specs.\n PrintWriter writer = new PrintWriter(new OutputStreamWriter(baos, StandardCharsets.UTF_8));\n\n // version-info blankline\n writer.println(\"JarIndex-Version: 1.0\");\n writer.println();\n\n // header newline\n writer.println(zipFile.getName());\n\n writeIndexLikeList(new ArrayList<>(addedDirs.keySet()),\n rootEntries, writer);\n writer.println();\n\n if (indexJars != null) {\n Manifest mf = createManifest();\n Manifest.Attribute classpath =\n mf.getMainSection().getAttribute(Manifest.ATTRIBUTE_CLASSPATH);\n String[] cpEntries = null;\n if (classpath != null && classpath.getValue() != null) {\n StringTokenizer tok = new StringTokenizer(classpath.getValue(),\n \" \");\n cpEntries = new String[tok.countTokens()];\n int c = 0;\n while (tok.hasMoreTokens()) {\n cpEntries[c++] = tok.nextToken();\n }\n }\n for (String indexJarEntry : indexJars.list()) {\n String name = findJarName(indexJarEntry, cpEntries);\n if (name != null) {\n ArrayList dirs = new ArrayList<>();\n ArrayList files = new ArrayList<>();\n grabFilesAndDirs(indexJarEntry, dirs, files);\n if (dirs.size() + files.size() > 0) {\n writer.println(name);\n writeIndexLikeList(dirs, files, writer);\n writer.println();\n }\n }\n }\n }\n\n if (writer.checkError()) {\n throw new IOException(\"Encountered an error writing jar index\");\n }\n writer.close();\n try (ByteArrayInputStream bais =\n new ByteArrayInputStream(baos.toByteArray())) {\n super.zipFile(bais, zOut, INDEX_NAME, System.currentTimeMillis(),\n null, ZipFileSet.DEFAULT_FILE_MODE);\n }\n }","title":""},{"docid":"7882741d5d3e41be3e7af5ed4e85c030","score":"0.53570867","text":"public void buildIncrementalIndex(int page, int pageSize, boolean useReindexServer) throws ServiceException;","title":""},{"docid":"83131262ed7271e854ca900b315bfbee","score":"0.5351804","text":"public void sendIndexTemplateRequest(PutIndexTemplateRequest indexTemplateRequest)\n throws Exception {\n // Check if the template is set\n if (indexTemplateRequest != null) {\n // Sending the request to elastic search\n client.admin().indices().putTemplate(indexTemplateRequest).get();\n }\n }","title":""},{"docid":"3c3086ebebcb70e28d740f18e279c11f","score":"0.53405637","text":"private static void createViewResourceFile(String requiredIndexStorageFilePath) throws IOException {\n FileUtil.createIfMissing(new File(requiredIndexStorageFilePath));\n FileUtil.createIfMissing(new File(\"data/view/\" + STUDENT_MISC_INFO_PAGE));\n FileUtil.createIfMissing(new File(\"data/view/\" + STUDENT_INFO_PAGE_STYLESHEET));\n FileUtil.createIfMissing(new File(\"data/view/profile_photo_placeholder.png\"));\n }","title":""},{"docid":"35e07a63210ca33f5f847950ef09920a","score":"0.5317536","text":"protected abstract void processIndex() throws Exception;","title":""},{"docid":"b79dd82b033c06cde268c035f4395729","score":"0.5313089","text":"private void ensureIndexExists( ExplicitIndexWrite ops )\n {\n if ( !indexCreated )\n {\n type.ensureIndexExists( ops );\n indexCreated = true;\n }\n }","title":""},{"docid":"999bc896eb336977a556c126d16c2ce9","score":"0.5296379","text":"public void setUniqueIDTemplate(String a_templateID, int a_index) {\n\t\t\n\t}","title":""},{"docid":"de456dc67646917995cc054336dea751","score":"0.52950704","text":"public static Result index() {\n return ok(index.render(\"Your new application is ready.\"));\n }","title":""},{"docid":"45dee3d85a78604eacf2bf32786c68c7","score":"0.5286154","text":"public void makeIndexAndDisplayCounts(){\n \n IndexFile aIndexFile = new IndexFile();\n try{\n aIndexFile.open(\"index.txt\");\n \n /*\n * Prints all labels using the ^above format\"\n * TODO: FIX INDENTATIONS\n */\n ArrayList allBuckets = aMusicList.getBuckets();\n for(int i = 0; i < allBuckets.size(); ++i){\n Bucket aBucket = allBuckets.get(i);\n if (aBucket.size() != 0){\n for(int j = 0; j < aBucket.getItems().size(); ++j){\n MusicItem aMusicItem = aBucket.getItems().get(j);\n \n /*\n * Writes musicItem to file\n */\n aIndexFile.writeItem(aMusicItem);\n \n /*\n * Prints musicItem to console\n *\n */\n //System.out.println(String.format(\"%-50s %-12s %-6s %s\", aMusicItem.title, aMusicItem.accessionNumber, \n // aMusicItem.mediaCode, aMusicItem.displaySupplementalInfo())); \n }\n }\n }\n aIndexFile.close();\n \n /*\n * Print out media counts\n */\n System.out.println(\"\\nIndex File SUCCESSFULLY CREATED! (index.txt)\\n\");\n System.out.println(\"Paper Count: \" + aMusicList.getPaperItemCount() + \n \" | Compact Media Count: \" + aMusicList.getCompactMediaItemCount() +\n \" | Vinyl Count: \" + aMusicList.getVinylItemCount() +\n \" | Wax Cylinder Count: \" + aMusicList.getPaperItemCount() +\n \"\\nTotal Item Count: \" + aMusicList.getTotalItemCount());\n \n }catch(IOException e){\n System.out.println(\"Specificed file could not be written to. Have a nice day :)\");\n }\n }","title":""},{"docid":"dadcb3a95a57ffc28035f3d7151c2222","score":"0.5281301","text":"protected Index getIndex(String indexName)\n {\n return getIndexStore().getNamedIndex(indexName);\n }","title":""},{"docid":"44958e5d272633865c22c6cf6fff21fb","score":"0.52760357","text":"private synchronized boolean isIndexCreated() {\r\n return getIndexFile().exists();\r\n }","title":""},{"docid":"563b3fda3d1f6617f7a51555f3f0726b","score":"0.5264144","text":"public Result index() {\n return ok(index.render(\"Your new application is ready.\"));\n\n }","title":""},{"docid":"4c30cad8205bad048aee74d835c6e5c0","score":"0.52632207","text":"private void createIndexIfNotExists()\n\t{\n\t\tclient.admin().cluster().prepareHealth().setWaitForYellowStatus().execute().actionGet();\n\t\tboolean hasIndex = client.admin().indices().exists(new IndicesExistsRequest(indexName)).actionGet().exists();\n\t\tif (!hasIndex)\n\t\t{\n\t\t\tCreateIndexResponse response = client.admin().indices().prepareCreate(indexName).execute().actionGet();\n\t\t\tif (!response.acknowledged())\n\t\t\t{\n\t\t\t\tthrow new ElasticSearchException(\"Creation of index [\" + indexName + \"] failed. Response=\" + response);\n\t\t\t}\n\t\t\tLOG.info(\"Index [\" + indexName + \"] created\");\n\t\t}\n\t}","title":""},{"docid":"3396baa37f4217458ce4c3fd9a0d9594","score":"0.52616554","text":"public void sendIndexMappingRequest(PutMappingRequest mappingRequest) throws Exception {\n // Check if the template is set\n if (mappingRequest != null) {\n try {\n // Check if the index exists\n SearchResponse response =\n client.prepareSearch(mappingRequest.indices()).setTypes(mappingRequest.type()).get();\n if (response != null) {\n LOG.debug(\"Index found, no need to create it...\");\n }\n } catch (IndexNotFoundException infe) {\n for (String indexName : mappingRequest.indices()) {\n // If the index does not exist, create it\n client.admin().indices().prepareCreate(indexName)\n .setSettings(Settings.builder()\n .put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, DEFAULT_INDEX_SHARDS)\n .put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, DEFAULT_INDEX_REPLICAS))\n .execute().actionGet();\n LOG.info(\"Index \" + indexName + \" not found, creating it...\");\n }\n }\n // Sending the request to elastic search\n client.admin().indices().putMapping(mappingRequest).get();\n }\n }","title":""},{"docid":"4f34ba52853e9c1b4aa7c33351258bbf","score":"0.5260543","text":"protected void registerIndex( String indexName,\n IndexKind kind,\n String providerName,\n String indexedNodeType,\n String desc,\n String workspaceNamePattern,\n Map properties) throws RepositoryException {\n IndexDefinitionTemplate template = indexManager().createIndexDefinitionTemplate();\n template.setName(indexName);\n template.setKind(kind);\n template.setNodeTypeName(indexedNodeType);\n template.setProviderName(providerName);\n template.setSynchronous(useSynchronousIndexes());\n if (workspaceNamePattern != null) {\n template.setWorkspaceNamePattern(workspaceNamePattern);\n } else {\n template.setAllWorkspaces();\n }\n if (desc != null) {\n template.setDescription(desc);\n }\n\n List colDefs = new ArrayList<>(properties.size());\n for (Map.Entry entry : properties.entrySet()) {\n colDefs.add(indexManager().createIndexColumnDefinitionTemplate().setPropertyName(entry.getKey())\n .setColumnType(entry.getValue())); \n }\n template.setColumnDefinitions(colDefs);\n\n // Register the index ...\n indexManager().registerIndex(template, false);\n }","title":""},{"docid":"fa3da4f1bedf8571375ad4dd94d2da36","score":"0.52367836","text":"public static void create(String content, int index) {\n if (!DIR.exists())\n DIR.mkdir();\n\n File[] files = DIR.listFiles();\n\n int fileCount = 0;\n if (files != null)\n for (File f : files) {\n if (f.getName().charAt(f.getName().length()-6) == ')') {\n if (f.getName().charAt(f.getName().length()-9) == '(') {\n if (f.getName().substring(0,f.getName().length()-9).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\n fileCount++;\n } else if (f.getName().substring(0,f.getName().length()-8).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\n fileCount++;\n } else if (f.getName().substring(0,f.getName().length()-5).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\n fileCount++;\n }\n\n\n\n File file;\n if (fileCount > 0)\n file = new File( DIR.getAbsolutePath() + File.separator +\n Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_') + \"(\" + fileCount + \")\" + \".html\");\n else file = new File( DIR.getAbsolutePath() + File.separator +\n Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_') + \".html\");\n\n try {\n FileWriter fw = new FileWriter(file);\n fw.write(content);\n System.out.println(file.getName() + \" has been created.\");\n fw.close();\n\n } catch (IOException e){\n e.printStackTrace();\n }\n }","title":""},{"docid":"5226d18c6cfb203c88dcd1cbb7afe908","score":"0.5236066","text":"@Override\n public IndexBuildingSupport getBuildTaskSupport() {\n if (isDummyMode) {\n return null;\n }\n return (cfs, indexes, ssTables) -> new EsIndexBuilder(EsSecondaryIndex.this, ssTables);\n }","title":""},{"docid":"5adfe334e8da1809ff6262c74d27067a","score":"0.5228847","text":"private static void storeIndexCatalog() throws IOException {\n\n\t\tFile file=new File(Config.Minisql.path + indexFilename);\n\t\tif(file.exists())file.delete();\n\t\tFileOutputStream fos = new FileOutputStream(file);\n\t\tDataOutputStream dos = new DataOutputStream(fos);\n\t\tIndex tmpIndex;\n\t\tEnumeration en = indexes.elements();\n\t\twhile(en.hasMoreElements()) {\n\t\t\ttmpIndex=en.nextElement();\n\t\t\tdos.writeUTF(tmpIndex.indexName);\n\t\t\tdos.writeUTF(tmpIndex.tableName);\n\t\t\tdos.writeUTF(tmpIndex.attriName);\n\t\t\tdos.writeInt(tmpIndex.blockNum);\n\t\t\tdos.writeInt(tmpIndex.rootNum);\n\t\t}\n\t\t//将流中剩下的内容写入\n\t\tdos.close();\n\t}","title":""},{"docid":"2d33e42d22de50d94f205caf973a87c2","score":"0.52283436","text":"private IndexResponse index(Request request) {\n assert request instanceof Screening;\n Screening screening = (Screening) request;\n String screeningJson = toJson(screening);\n\n IndexRequestBuilder builder =\n esDao.getClient().prepareIndex(esDao.getConfig().getElasticsearchAlias(),\n esDao.getConfig().getElasticsearchDocType(), screening.getId());\n builder.setSource(screeningJson, XContentType.JSON);\n\n return builder.get();\n }","title":""},{"docid":"bef3eac6d7eb0e65acf36a3ba5ad5075","score":"0.5219099","text":"@Override\n public void process(JCas jCas) throws AnalysisEngineProcessException {\n XContentBuilder xb = createJSON(jCas);\n if (xb == null) return;\n\n try {\n indexList.add(new Index.Builder(xb.string()).build());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"b0167faa99a64821b6ded5aeeae09e2d\",\n \"score\": \"0.70215154\",\n \"text\": \"public synchronized void createIndex() {\\r\\n if (isIndexBeingCreated()) {\\r\\n return;\\r\\n }\\r\\n creatingIndex = true;\\r\\n \\r\\n Thread thread = new Thread(\\\"Search Index Generator\\\") {\\r\\n @Override\\r\\n public void run() {\\r\\n doCreateIndex();\\r\\n }\\r\\n };\\r\\n \\r\\n thread.setPriority(Thread.MIN_PRIORITY);\\r\\n thread.start();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6530234b97ee2873a3cd68dc4c486ae7\",\n \"score\": \"0.6882187\",\n \"text\": \"private void indexTemplates(AnnotationIndex templateIndex, Document doc) {\\n\\t\\tfor (Annotation annotation : templateIndex) {\\n\\t\\t\\tWikiTemplateAnnotation wikiTemplate = (WikiTemplateAnnotation) annotation;\\n\\t\\t\\tdoc.add(new Field(IndexFieldNames.TEMPLATES_FIELD_NAME, wikiTemplate.getName(),\\n\\t\\t\\t\\t\\tField.Store.YES, Field.Index.ANALYZED));\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d56c1af7dab3fe21b9ab85d01154de98\",\n \"score\": \"0.6602319\",\n \"text\": \"public static CreateIndex.Stub createIndex() {\\n\\t\\treturn new CreateIndex.Stub(false, false);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630a97c1a9cfae2b9b362e2e0a079c7e\",\n \"score\": \"0.6490158\",\n \"text\": \"@Override\\n @SneakyThrows\\n public void createIndex(CreateIndex createIndex) {\\n\\n if (getIndexName().isEmpty()){\\n throw new IllegalStateException(\\\"No index name configured\\\");\\n }\\n final String supplied = indexNameSupplier.get();\\n\\n final String indexName;\\n if (createIndex.isUseNumberPostfix()) {\\n long number = firstNewNumber();\\n indexName = supplied + \\\"-\\\" + number;\\n } else {\\n indexName = supplied;\\n }\\n\\n ObjectNode request = Jackson2Mapper.getInstance().createObjectNode();\\n\\n if (createIndex.isCreateAliases() && (! this.aliases.isEmpty() || createIndex.isUseNumberPostfix())) {\\n ObjectNode aliases = request.withObject(\\\"/aliases\\\");\\n for (String alias : this.aliases) {\\n if (alias.equals(indexName)) {\\n continue;\\n }\\n if (alias.equals(supplied)) {\\n if (aliasExists(alias)) {\\n log.info(\\\"Not making alias {} because it exists already\\\");\\n continue;\\n }\\n }\\n aliases.withObject(\\\"/\\\" + alias);\\n }\\n }\\n\\n ObjectNode settings = request.set(\\\"settings\\\", this.settings.get());\\n if (createIndex.isForReindex()){\\n forReindex(settings);\\n }\\n if (createIndex.getShards() != null) {\\n ObjectNode index = settings.withObject(P_SETTINGS).withObject(P_INDEX);\\n index.put(\\\"number_of_shards\\\", createIndex.getShards());\\n }\\n if (createIndex.getNumberOfReplicas() != null) {\\n ObjectNode index = settings.withObject(P_SETTINGS).withObject(P_INDEX);\\n index.put(\\\"number_of_replicas\\\", createIndex.getNumberOfReplicas());\\n }\\n if (mapping == null) {\\n throw new IllegalStateException(\\\"No mappings provided in \\\" + this);\\n }\\n ObjectNode mappingJson = mapping.get();\\n if (elasticSearchIndex != null) {\\n BiConsumer mappingsProcessor = elasticSearchIndex.getMappingsProcessor();\\n mappingsProcessor.accept(getInfo().get().getDistribution(), mappingJson);\\n }\\n request.set(\\\"mappings\\\", mappingJson);\\n HttpEntity entity = entity(request);\\n\\n log.info(\\\"Creating index {} with mapping {}: {}\\\", indexName, mapping, request.toString());\\n Request req = new Request(PUT, \\\"/\\\" + indexName);\\n req.setEntity(entity);\\n ObjectNode response = read(client().performRequest(req));\\n\\n\\n if (response.get(\\\"acknowledged\\\").booleanValue()) {\\n String setIndexName = getIndexName();\\n if (! Objects.equals(setIndexName, indexName)) {\\n setIndexName(indexName);\\n log.info(\\\"Created index {} (postfixed from {})\\\", getIndexName(), setIndexName);\\n } else {\\n log.info(\\\"Created index {}\\\", getIndexName());\\n }\\n } else {\\n log.warn(\\\"Could not create index {}\\\", indexName);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e76ae495d4a863aefb35f1350cec291\",\n \"score\": \"0.64508224\",\n \"text\": \"int createIndex() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d67956b0269ef136bc2e0f06951b1b10\",\n \"score\": \"0.6386979\",\n \"text\": \"@Override\\n public void createIndex() throws IOException {\\n final IndicesExistsResponse res = client.admin ( ).indices ( ).prepareExists\\n ( AppConfig.properties.getElasticSearchIndexName ( ) ).execute ( ).actionGet ( );\\n if (!res.isExists ( )) {\\n client.admin ( ).indices ( )\\n .prepareCreate ( AppConfig.properties.getElasticSearchIndexName ( ) )\\n .get ( );\\n client.admin ( ).cluster ( ).prepareHealth ( AppConfig.properties.getElasticSearchIndexName ( ) ).setWaitForYellowStatus ( );\\n }\\n client.admin ( ).indices ( ).preparePutMapping ( AppConfig.properties.getElasticSearchIndexName ( ) )\\n .setType ( AppConfig.properties.getElasticSearchDocumentName ( ) )\\n .setSource ( \\\"{\\\\n\\\" +\\n \\\" \\\\\\\"\\\" + AppConfig.properties.getElasticSearchDocumentName ( ) + \\\"\\\\\\\":{\\\\n\\\" +\\n \\\" \\\\\\\"properties\\\\\\\": {\\\\n\\\" +\\n \\\" \\\\\\\"name\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"category\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"topcategory\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"cityid\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"cityname\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"townid\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"townname\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"oldtowns\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"oldquarters\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"quarterid\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"streetid\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"zipcode\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"\\\\n },\\\\n\\\" +\\n \\\" \\\\\\\"location\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"geo_shape\\\\\\\"\\\\n }\\\" +\\n \\\" }\\\\n\\\" +\\n \\\" }\\\\n\\\" +\\n \\\"}\\\" )\\n .get ( );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6709296db8caec8412ec929ec46d699\",\n \"score\": \"0.63002515\",\n \"text\": \"public SoupIndex() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d556ef54245e97bf50d3b418d35af8e\",\n \"score\": \"0.6293875\",\n \"text\": \"public void create(int index, Object type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff8115553c5dda04d931b15d88363c53\",\n \"score\": \"0.6288122\",\n \"text\": \"public void index() {\\n new Index();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea637eec40639acd1acb679451d6b1f9\",\n \"score\": \"0.62525624\",\n \"text\": \"public SearchEngineIndex buildIndex(final ArrayList files);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c3536b39c3cc1209374df1970afc969\",\n \"score\": \"0.61687106\",\n \"text\": \"CPNIndex createCPNIndex();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91bb042d0701fd979568e1a8b69c3cfb\",\n \"score\": \"0.6150346\",\n \"text\": \"@Override\\n\\t public void constructIndex() throws IOException {\\n\\n\\t\\t String corpusDirPath = _options._corpusPrefix;\\n\\t\\t System.out.println(\\\"Constructing index from: \\\" + corpusDirPath);\\n\\t\\t \\n\\t\\t StringBuffer ss = new StringBuffer();\\n\\t\\t File corpusDir = new File(corpusDirPath);\\n\\t\\t for (File corpusFile : corpusDir.listFiles()) {\\n\\t\\t\\t if(corpusFile.getName().startsWith(\\\".\\\")) {\\n\\t\\t\\t\\t continue;\\n\\t\\t\\t }\\n\\t\\t\\t \\n\\t\\t\\t Document doc = Jsoup.parse(corpusFile, \\\"UTF-8\\\");\\n\\t\\t\\t String contents = doc.text();\\n\\t\\t\\t \\n\\t\\t\\t System.out.println(\\\"Processing : \\\" + _numDocs + \\\" : \\\" + corpusFile.getName());\\n\\t\\t\\t \\n\\t\\t\\t ss.append(\\\"Processing : \\\" + _numDocs + \\\" : \\\" + corpusFile.getName());\\n\\t\\t\\t ss.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t processDocument(contents, doc, _numDocs);\\n\\n\\t\\t\\t if ((_numDocs + 1) % _maxFiles == 0) {\\n\\t\\t\\t\\t // write index to intermediate file\\n\\t\\t\\t\\t writeIndexToFile();\\n\\t\\t\\t\\t System.out.println(\\\"writing to : \\\" + _docInfoFile);\\n\\t\\t\\t\\t // flush the in memory index\\n\\t\\t\\t\\t _occuredIndex = new LinkedHashMap>>();\\n\\t\\t\\t\\t docInfo = new StringBuffer();\\n\\t\\t\\t }\\n\\n\\t\\t\\t _numDocs++;\\n\\t\\t }\\n\\n\\t\\t // write last batch of info\\n\\t\\t writeIndexToFile();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58c2f71f69adf4ed75f00c309669984b\",\n \"score\": \"0.61243886\",\n \"text\": \"private DesignTemplate(int ind){this.index = ind;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09443ed03c7d423e3b7e1ef4c94774b0\",\n \"score\": \"0.608853\",\n \"text\": \"public void createIndex(List
articles) {\\n\\n for (Article article : articles) {\\n try {\\n Document doc = new Document(); // Create documents that will be stored in the index\\n\\n // Tokenize the Article Title\\n doc.add(new TextField(ApplicationConfig.ARTICLE_TITLE, article.getTitle(), Field.Store.YES));\\n\\n // Add the article ID and publication date as atomic values\\n doc.add(new StringField(ApplicationConfig.PMID, article.getId(), Field.Store.YES));\\n doc.add(new StringField(ApplicationConfig.MONTH, article.getMonth(), Field.Store.YES));\\n doc.add(new StringField(ApplicationConfig.YEAR, article.getYear(), Field.Store.YES));\\n\\n indexWriter.addDocument(doc); // Add the document to the index\\n exists = true; // Prevents the XML document from being re-parsed\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\\n\\n // Opening and closing the index is expensive, so only do it after the entire batch updates\\n closeIndexWriter();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b7f8abc889979ffa6c98c7fc60d0524\",\n \"score\": \"0.6081284\",\n \"text\": \"public void buildHelper() throws Exception {\\n\\n\\t\\tif (isClustered) {\\n\\t\\t\\treCluster () ;\\n\\t\\t}\\n\\n\\t\\t/*generate map to store >*/\\n\\t\\tMap> map = buildMap();\\n\\n\\t\\tint[] keys = new int[map.size()];\\n\\t\\tint i=0;\\n\\t\\tfor (Integer key: map.keySet()) {\\n\\t\\t\\tkeys[i++] = key;\\n\\t\\t}\\n\\t\\tArrays.sort(keys);\\n\\n\\t\\t//\\\"src/samples/indexes/indextest\\\";\\n\\t\\tString path = indexFilePath + \\\"/\\\" + tableName + \\\".\\\"+attribute;\\n\\t\\tTupleWriter write = new TupleWriter(path);\\n\\t\\tint pageIndex = 0;\\n\\n\\t\\t/*write header page*/\\n\\t\\tSystem.out.println(\\\"header page\\\");\\n\\t\\tNode headerNode = new indexNode();\\n\\t\\theaderNode.addressNumber = pageIndex;\\n\\t\\tList data = headerNode.getDatalist();\\n\\t\\twrite.writePage(data);\\n\\t\\tpageIndex++;\\n\\n\\n\\t\\tSystem.out.println(\\\"leaf page\\\");\\n\\t\\t/*write leaf page*/\\n\\t\\t\\n\\t\\t/*the next position of key*/\\n\\t\\tint keyPosition = 0;\\n\\t\\tDeque nodeQueue = new LinkedList<>();\\n\\n\\t\\twhile (keyPosition < keys.length) {\\n\\t\\t\\t/*check the rest number of children*/\\n\\t\\t\\tint restChildren = keys.length - keyPosition;\\n\\t\\t\\tint keySize = 2 * order;\\n\\t\\t\\t/*2d < children < 3d*/\\n\\t\\t\\tif (restChildren > 2 * order && restChildren < 3 * order ) {\\n\\t\\t\\t\\tkeySize = restChildren /2;\\n\\t\\t\\t} else if (restChildren < 2* order) {\\n\\t\\t\\t\\tkeySize = restChildren;\\n\\t\\t\\t}\\n\\n\\t\\t\\tNode leafNode = new leafNode();\\n\\t\\t\\tleafNode.addressNumber = pageIndex;\\n\\t\\t\\tleafNode.generate(map, keys, keyPosition, keySize);\\n\\t\\t\\tdata = leafNode.getDatalist();\\n\\t\\t\\twrite.writePage(data);\\n\\n\\t\\t\\tnodeQueue.add(leafNode);\\n\\t\\t\\tpageIndex++;\\n\\t\\t\\tkeyPosition += keySize;\\n\\n\\t\\t}\\n\\n\\t\\tint leafNumber = pageIndex-1;\\n\\t\\tboolean childLayer = true;\\n\\n\\t\\t/*write index page*/\\n\\t\\twhile (!nodeQueue.isEmpty()) {\\n\\t\\t\\tint size = nodeQueue.size();\\n\\t\\t\\t/*handle case that the only have one leaf node\\n\\t\\t\\t * and it will generate a index tree like (index node without key) --> (leaf node)\\n\\t\\t\\t * */\\n\\t\\t\\tif (size == 1 && !childLayer ) {\\n\\t\\t\\t\\tpageIndex--;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tint start = 0;\\n\\t\\t\\t/*generate index node for this level*/\\n\\t\\t\\twhile (start < size) {\\n\\t\\t\\t\\tchildLayer = false;\\n\\t\\t\\t\\t/*check the rest number of children*/\\n\\t\\t\\t\\tint restChildren = size - start;\\n\\t\\t\\t\\tint keySize = 2 * order +1;\\n\\t\\t\\t\\t/*2d +1 < children < 3d +2 */\\n\\t\\t\\t\\tif (restChildren > 2 * order +1 && restChildren < 3 * order +2 ) {\\n\\t\\t\\t\\t\\tkeySize = restChildren /2;\\n\\t\\t\\t\\t} else if (restChildren < 2* order +1) {\\n\\t\\t\\t\\t\\tkeySize = restChildren;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tNode indexNode = new indexNode();\\n\\t\\t\\t\\tindexNode.addressNumber = pageIndex;\\n\\n\\t\\t\\t\\tint counter = keySize;\\n\\t\\t\\t\\twhile(counter>0) {\\n\\t\\t\\t\\t\\tindexNode.addChildNode(nodeQueue.poll());\\n\\t\\t\\t\\t\\tcounter--;\\n\\t\\t\\t\\t}\\n\\n\\n\\t\\t\\t\\tindexNode.generate();\\n\\t\\t\\t\\tdata = indexNode.getDatalist();\\n\\t\\t\\t\\twrite.writePage(data);\\n\\n\\t\\t\\t\\tnodeQueue.add(indexNode);\\n\\t\\t\\t\\tpageIndex++;\\n\\t\\t\\t\\tstart += keySize;\\n\\n\\t\\t\\t}\\t\\n\\t\\t\\tSystem.out.println(\\\"level\\\");\\n\\t\\t}\\n\\n\\t\\t/*rewrite root node*/\\n\\t\\theaderNode.getDatalist().add(pageIndex);\\n\\t\\theaderNode.getDatalist().add(leafNumber);\\n\\t\\theaderNode.getDatalist().add(order);\\n\\n\\t\\twrite.reWritePage(0, headerNode.getDatalist());\\n\\t\\twrite.close();\\n\\n\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a125ca16d8f53c588fbe0eacd1579da\",\n \"score\": \"0.60541934\",\n \"text\": \"Template createTemplate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5b3e598ce38290db71deefcc19b97a5\",\n \"score\": \"0.6003532\",\n \"text\": \"protected void checkForIndexTemplate(String index,String docType,String timeFieldName) {\\n\\t\\tString name = index + \\\"-template\\\";\\n\\t\\tGetIndexTemplatesResponse response = client.admin().indices().prepareGetTemplates(name).execute().actionGet();\\n\\t\\tif (response.getIndexTemplates().size() > 0) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\ttry {\\n\\t\\t\\tXContentBuilder json = JsonXContent.contentBuilder();\\n\\t\\t\\tjson.startObject();\\n\\t\\t\\tjson.field(\\\"template\\\", index + \\\"*\\\");\\n\\n\\n\\t\\t\\tjson.startObject(\\\"mappings\\\");\\n\\t\\t\\t\\tjson.startObject(docType);\\n\\t\\t\\t\\t\\tjson.startObject(\\\"properties\\\");\\n\\t\\t\\t\\t\\t\\t\\tjson.startObject(timeFieldName);\\n\\t\\t\\t\\t\\t\\t\\tjson.field(\\\"type\\\", \\\"date\\\");\\n\\t\\t\\t\\t\\t\\t\\tjson.field(\\\"format\\\", \\\"epoch_millis\\\");\\n\\t\\t\\t\\t\\t\\t\\tjson.endObject();\\n\\t\\t\\t\\t\\tjson.endObject();\\n\\t\\t\\t\\tjson.endObject();\\n\\t\\t\\tjson.endObject();\\n\\n//\\t\\t\\t\\\"dynamic_templates\\\": [\\n//\\t\\t\\t{\\n//\\t\\t\\t\\t\\\"strings_as_keyword\\\": {\\n//\\t\\t\\t\\t\\\"mapping\\\": {\\n//\\t\\t\\t\\t\\t\\\"type\\\": \\\"keyword\\\",\\n//\\t\\t\\t\\t\\t\\t\\t\\\"ignore_above\\\": 1024\\n//\\t\\t\\t\\t},\\n//\\t\\t\\t\\t\\\"match_mapping_type\\\": \\\"string\\\"\\n//\\t\\t\\t}\\n//\\t\\t\\t}\\n// ]\\n//\\n//\\t\\t}\\n\\n\\t\\t\\tjson.startArray(\\\"dynamic_templates\\\");\\n\\t\\t\\t\\tjson.startObject();\\n\\t\\t\\t\\t\\tjson.startObject(\\\"strings_as_keyword\\\");\\n\\t\\t\\t\\t\\t\\tjson.startObject(\\\"mapping\\\");\\n\\t\\t\\t\\t\\t\\tjson.field(\\\"type\\\", \\\"keyword\\\");\\n\\t\\t\\t\\t\\t\\tjson.field(\\\"ignore_above\\\", \\\"256\\\");\\n\\t\\t\\t\\t\\t\\tjson.endObject();\\n\\t\\t\\t\\t\\tjson.field(\\\"match_mapping_type\\\", \\\"string\\\");\\n\\t\\t\\t\\t\\tjson.endObject();\\n\\t\\t\\t\\tjson.endObject();\\n\\t\\t\\tjson.endArray();\\n\\n\\n\\t\\t\\tjson.endObject();\\n\\t\\t\\tclient.admin().indices().preparePutTemplate(name).setPatterns(Arrays.asList(index + \\\"-*\\\")).setSource(json).execute().actionGet();\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc762b2811f1807bdaa0f7012b52d959\",\n \"score\": \"0.5989233\",\n \"text\": \"@Override\\n public boolean autoIndexCreation() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"494930af7408c7dfd1a869a1a176ee5c\",\n \"score\": \"0.5983691\",\n \"text\": \"public static void loadIndex(){\\n\\t\\t// chargement de l'index des tags des documents \\n\\t\\tlong startLoadingDocTag = System.currentTimeMillis();\\n\\t\\tindexTag = Index.createIndex(\\\"/home/ould/ould/collections/delicious_cogo/indexation/index_document_tags/terrier-4.0/var/index\\\", \\\"data\\\");\\n\\t\\tif(indexTag == null)\\n\\t\\t{\\n\\t\\t\\tlogger.fatal(\\\"Failed to load index tags. Perhaps index files are missing\\\");\\n\\t\\t}\\n\\t\\tlong endLoadingDocTag = System.currentTimeMillis();\\n\\t\\tif (logger.isInfoEnabled())\\n\\t\\t\\tlogger.info(\\\"time to intialise index tag: \\\" + ((endLoadingDocTag-startLoadingDocTag)/1000.0D));\\n\\n\\n\\n\\t\\t// chargement de l'index des documents \\n\\t\\tlong startLoadingDoc = System.currentTimeMillis();\\n\\t\\tindexDoc = Index.createIndex(\\\"/home/ould/ould/collections/delicious_cogo/indexation/index_documents/terrier-4.0/var/index\\\", \\\"data\\\");\\n\\t\\tif(indexDoc == null)\\n\\t\\t{\\n\\t\\t\\tlogger.fatal(\\\"Failed to load index tags. Perhaps index files are missing\\\");\\n\\t\\t}\\n\\t\\tlong endLoadingDoc = System.currentTimeMillis();\\n\\t\\tif (logger.isInfoEnabled())\\n\\t\\t\\tlogger.info(\\\"time to intialise index tag: \\\" + ((endLoadingDoc-startLoadingDoc)/1000.0D));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dacf69a02379e41b54491f85a06e556\",\n \"score\": \"0.5982809\",\n \"text\": \"@Override\\n public void enterCreate_index_stmt(SQLiteParser.Create_index_stmtContext ctx) throws DBAppException {\\n String tableName=ctx.table_name().getText();\\n List temp=ctx.index_name();\\n String [] colNames=new String[temp.size()];\\n int i=0;\\n for(SQLiteParser.Index_nameContext x:temp){\\n colNames[i++]=x.getText();\\n }\\n dbApp.createIndex(tableName,colNames);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c40af5e5460ad268c0c9808eb183ba78\",\n \"score\": \"0.5981438\",\n \"text\": \"public indexManager() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c70b313c5ed2eeac6435f3597cd53aac\",\n \"score\": \"0.5948669\",\n \"text\": \"public static Result index() {\\n SqlConn sqlWritter = new SqlConn(\\\"will\\\");\\n dbList = sqlWritter.readDbList();\\n sqlWritter.closeCon();\\n List tbList = new ArrayList<>();\\n return ok(index.render(dbList, null, null));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a982b3ac757b4ba7a85ed612856cec64\",\n \"score\": \"0.5914754\",\n \"text\": \"public synchronized void schedule() {\\r\\n if (timer != null) {\\r\\n timer.cancel();\\r\\n }\\r\\n timer = new Timer(true);\\r\\n \\r\\n TimerTask task = new TimerTask() {\\r\\n @Override\\r\\n public void run() {\\r\\n createIndex();\\r\\n }\\r\\n };\\r\\n \\r\\n long daysBetween = settingsService.getIndexCreationInterval();\\r\\n int hour = settingsService.getIndexCreationHour();\\r\\n \\r\\n if (daysBetween == -1) {\\r\\n LOG.info(\\\"Automatic index creation disabled.\\\");\\r\\n return;\\r\\n }\\r\\n \\r\\n Date now = new Date();\\r\\n Calendar cal = Calendar.getInstance();\\r\\n cal.setTime(now);\\r\\n cal.set(Calendar.HOUR_OF_DAY, hour);\\r\\n cal.set(Calendar.MINUTE, 0);\\r\\n cal.set(Calendar.SECOND, 0);\\r\\n \\r\\n if (cal.getTime().before(now)) {\\r\\n cal.add(Calendar.DATE, 1);\\r\\n }\\r\\n \\r\\n Date firstTime = cal.getTime();\\r\\n long period = daysBetween * 24L * 3600L * 1000L;\\r\\n timer.schedule(task, firstTime, period);\\r\\n \\r\\n LOG.info(\\\"Automatic index creation scheduled to run every \\\" + daysBetween + \\\" day(s), starting at \\\" + firstTime);\\r\\n \\r\\n // In addition, create index immediately if it doesn't exist on disk.\\r\\n if (!isIndexCreated()) {\\r\\n LOG.info(\\\"Search index not found on disk. Creating it.\\\");\\r\\n createIndex();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1749f98e6ff8e4401b3fd5c11638f3bc\",\n \"score\": \"0.5886015\",\n \"text\": \"private GenericIndex createIndex(int indexType, Class attributeType, String controllingAttribute) {\\n \\t\\tGenericIndex index;\\n \\n \\t\\t// If all the values for the controllingAttribute are NULL, return null\\n \\t\\tString _type = \\\"node\\\";\\n \\t\\tif (indexType == QuickFind.INDEX_EDGES){\\n \\t\\t\\t_type = \\\"edge\\\";\\n \\t\\t}\\n \\t\\t//\\n \\t\\tif ((attributeType == Integer.class)\\n \\t\\t || (attributeType == Double.class)) {\\n \\t\\t\\tindex = IndexFactory.createDefaultNumberIndex(indexType);\\n \\t\\t} else {\\n \\t\\t\\tindex = IndexFactory.createDefaultTextIndex(indexType);\\n \\t\\t}\\n \\n \\t\\tindex.setControllingAttribute(controllingAttribute);\\n \\n \\t\\treturn index;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b56c6ae260ceba2407ee03a23bffb426\",\n \"score\": \"0.5862745\",\n \"text\": \"private void createPhotoIndex(TransportClient client) {\\n\\n // delete index before starting\\n try {\\n DeleteIndexResponse deleteResponse = client.admin().indices()\\n .delete(new DeleteIndexRequest(propertyService.getEsPhotoIndex())).actionGet();\\n } catch (Exception e) {\\n logger.info(e.getMessage());\\n }\\n\\n String locationType =\\n \\\"{\\\\n\\\" +\\n \\\" \\\\\\\"\\\"+propertyService.getEsPhotoIndexType()+\\\"\\\\\\\": {\\\\n\\\" +\\n \\\" \\\\\\\"properties\\\\\\\": {\\\\n\\\" +\\n \\\" \\\\\\\"location\\\\\\\": {\\\\n\\\" +\\n \\\" \\\\\\\"type\\\\\\\": \\\\\\\"geo_point\\\\\\\"\\\\n\\\" +\\n \\\" }\\\\n\\\" +\\n \\\" }\\\\n\\\" +\\n \\\" }\\\\n\\\" +\\n \\\" }\\\";\\n\\n logger.info(\\\"trying to create index...\\\");\\n logger.info(propertyService.getEsPhotoIndex());\\n logger.info(propertyService.getEsPhotoIndexType());\\n\\n client.admin().indices().prepareCreate(propertyService.getEsPhotoIndex())\\n .addMapping(propertyService.getEsPhotoIndexType(),locationType,XContentType.JSON)\\n .get();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2a379f06cb759bfb2a86e6e653339fd\",\n \"score\": \"0.58299834\",\n \"text\": \"protected static void createIndex(String indexName) {\\n\\t\\ttry {\\n\\t\\t\\t// Create our expand / search indices\\n\\t\\t\\tString endpoint = String.format(\\\"/%s\\\", indexName);\\n\\t\\t\\tMap params = new HashMap();\\n\\t\\t\\tStringEntity requestBody = new StringEntity(INDEX_JSON);\\n\\n\\t\\t\\tResponse resp = client.performRequest(\\\"PUT\\\", endpoint, params, requestBody, contentTypeHeader);\\n\\t\\t\\tstaticLogger.debug(\\\"Response: \\\" + resp.getStatusLine());\\n\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\t// Ignore this...? probably already exists\\n\\t\\t\\tstaticLogger.error(e.getMessage(), e);\\n\\n\\t\\t\\tif (e instanceof UnsupportedEncodingException) {\\n\\t\\t\\t\\tstaticLogger.error(\\\"Error encoding JSON: \\\" + e.getMessage(), e);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f03260c38530811f85a89b7402b53883\",\n \"score\": \"0.5820401\",\n \"text\": \"private static void createHealthDataIndex(){\\r\\n\\t\\tString[] index_and_order = {\\\"phone,1\\\",\\\"appType,1\\\",\\\"dataType,1\\\",\\\"measureTime,1\\\"};\\r\\n\\t\\thealth_data = db.getCollection(collection_health_data);\\r\\n\\t\\tcreateIndex(health_data, index_and_order);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51e7e9fe1ad2c16e587f826b3f7c756b\",\n \"score\": \"0.58183265\",\n \"text\": \"public static CreateIndex.Stub createUniqueIndex() {\\n\\t\\treturn new CreateIndex.Stub(true, false);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61ba0f1c89ad691a9df5a7329db7c6a7\",\n \"score\": \"0.5806487\",\n \"text\": \"public void createInvertedIndex() throws IOException {\\n mergeTermsPostings();\\n mergeCityPostings();\\n tmpCityDic.clear();\\n mergeDocsPostings();\\n tmpDocsDic.clear();\\n createFinalTermsPostings();\\n createFinalTermsDic();\\n deleteTmpFiles();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f138ad337ab3432f5717967a07d1887f\",\n \"score\": \"0.5789705\",\n \"text\": \"TemplateBuilder templateBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6aaf717c2b3edde3fc70a8a4e2ce8a71\",\n \"score\": \"0.57832235\",\n \"text\": \"public static CreateIndex.Stub createIndexIfNotExists() {\\n\\t\\treturn new CreateIndex.Stub(false, true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"492a9b84797f48f0afad16615e0e31ed\",\n \"score\": \"0.57783353\",\n \"text\": \"private static void createPatientDataIndex(){\\r\\n\\t\\tString[] index_and_order = {\\\"phone,1\\\",\\\"appType,1\\\"};\\r\\n\\t\\tpatient_data = db.getCollection(collection_patient_data);\\r\\n\\t\\tcreateIndex(patient_data, index_and_order);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b71af71fc9295f5da328a86c73b17570\",\n \"score\": \"0.5776086\",\n \"text\": \"public Datum index();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6363c60ba87428c1f55b6bf72e68577\",\n \"score\": \"0.5738237\",\n \"text\": \"TarantoolIndexMeta getSpaceIndex(String spaceName, String indexName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8035bc9067e268d9d43f64853882cb35\",\n \"score\": \"0.57338595\",\n \"text\": \"public TemplateController(int i){ \\n // index=i; // example \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aafd034bbe261c51569586d167ddb73a\",\n \"score\": \"0.5707166\",\n \"text\": \"ExistenceTemplate createExistenceTemplate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da4a89ea968064af9374953a2d5bf9d2\",\n \"score\": \"0.57061654\",\n \"text\": \"private void createIndex(MariaDB mariaDB) throws ClassNotFoundException, IOException, SQLException {\\n\\t\\tHashMap uniqueTokensBigram = this.getUniqueTokenBigram(mariaDB);\\n\\t\\tFile indexFolder1 = new File(ConfigLucene.INDEX_FOLDER);\\n\\t\\tIndexBigramLucene.IndexLuceneUniqueTokensBigram(uniqueTokensBigram, indexFolder1, ConfigLucene.CONCATENATION_FIELD,\\n\\t\\t\\t\\tConfigLucene.BIGRAM_FIELD);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c02662a4dff1c9251b4e4e515aa05a19\",\n \"score\": \"0.56786615\",\n \"text\": \"MobaIndexFactory getMobaIndexFactory();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0e9f79e098d33d238019aa62b33f071\",\n \"score\": \"0.5675032\",\n \"text\": \"public KeyIndex createKeyIndex() {\\n/* 438 */ return new KeyIndex(this._indexSize);\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06cd47abc48d059561f65811c3f90713\",\n \"score\": \"0.56707686\",\n \"text\": \"public IndexEntries() {\\n\\t\\tsuper(\\\"index_entries\\\", io.corps.sgoc.jooq.DefaultSchema.DEFAULT_SCHEMA);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35b764322f5e6500e97396bdd3ceabb4\",\n \"score\": \"0.56559056\",\n \"text\": \"public static Model createIndex(Model dataModel) {\\n\\t\\treturn createIndex(dataModel, new Config());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45a81ac3ef830061983873564872bcb8\",\n \"score\": \"0.56490093\",\n \"text\": \"public Result indexD() {\\n \\n return ok(index.render(\\\"Gestion de Docentes\\\") );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aa79471662f3ed53973ace1cd36e4b3\",\n \"score\": \"0.5625232\",\n \"text\": \"public void index( File root, boolean create, String index )\\n {\\n\\n try\\n {\\n Date start = new Date();\\n\\n writer = new IndexWriter(index, new StandardAnalyzer(), create, IndexWriter.MaxFieldLength.LIMITED);\\n\\n if (!create)\\n { // delete stale docs\\n deleting = true;\\n indexDocs(root, index, create);\\n }\\n\\n indexDocs(root, index, create); // add new docs\\n\\n System.out.println(\\\"Optimizing index...\\\");\\n writer.optimize();\\n writer.close();\\n\\n Date end = new Date();\\n\\n System.out.print(end.getTime() - start.getTime());\\n System.out.println(\\\" total milliseconds\\\");\\n\\n }\\n catch( Exception e )\\n {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"049837bdbfede9c768770cf429096656\",\n \"score\": \"0.5616663\",\n \"text\": \"public TemplateController(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2c670d387c6005f40089f7287b554f0\",\n \"score\": \"0.55987597\",\n \"text\": \"public void generateTableTemplateData() throws FileNotFoundException, NotBoundException, RemoteException {\\n List templates = ServiceFacade.getInstance().getTemplates();\\n if (templates != null) {\\n tableTemplateData = new String[templates.size()][COUNT_PARAMETERS];\\n int j = 0;\\n for (int i = 0; i < tableTemplateData.length; i++) {\\n tableTemplateData[i][j] = ((Template) templates.get(i)).getName();\\n }\\n } else {\\n tableTemplateData = new String[1][1];\\n tableTemplateData[0][0] = null; //empty table\\n }\\n \\n modelTemplate = new ResultTableModel(headerNameTemplate, tableTemplateData);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"070d3bdffe2b39063ea06f92f6d470ac\",\n \"score\": \"0.55805963\",\n \"text\": \"static PublicIndexHandler create() {\\n return new PublicIndexHandlerImpl();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"426431d28c16bd65dcaccb5e2252f0c3\",\n \"score\": \"0.55803615\",\n \"text\": \"CreateIndex(long transactionId, String indexName) {\\n super(transactionId, Action.TYPE_CREATE_INDEX);\\n this.indexName = indexName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0267be311910ae8c821084910996cb38\",\n \"score\": \"0.5575618\",\n \"text\": \"public void feedElasticIndex() {\\n\\n // Initialize document metadata\\n documentMetadata = esOperations.getElasticsearchConverter().getMappingContext().getPersistentEntity(getDocumentClass());\\n\\n // Load documents into index\\n testDocumentsLoader.initElasticIndex(\\n documentMetadata,\\n getTestFixture().getStoredDocuments());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e5baece400e68436fa9f04b917f805d\",\n \"score\": \"0.5566386\",\n \"text\": \"public Indexer()\\n {\\n talID1 = new TalonSRX(Constants.p_TAL_ID_1);\\n talID2 = new TalonSRX(Constants.p_TAL_ID_2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f379bae7d60bdea0e41d466e6729ece\",\n \"score\": \"0.5542115\",\n \"text\": \"void createInitialIndex(ItemStateManager stateMgr,\\n NodeId rootId,\\n Path rootPath)\\n throws IOException {\\n // only do an initial index if there are no indexes at all\\n if (indexNames.size() == 0) {\\n reindexing = true;\\n try {\\n long count = 0;\\n // traverse and index workspace\\n executeAndLog(new Start(Action.INTERNAL_TRANSACTION));\\n NodeState rootState = (NodeState) stateMgr.getItemState(rootId);\\n count = createIndex(rootState, rootPath, stateMgr, count);\\n checkIndexingQueue(true);\\n executeAndLog(new Commit(getTransactionId()));\\n log.debug(\\\"Created initial index for {} nodes\\\", count);\\n releaseMultiReader();\\n safeFlush();\\n } catch (Exception e) {\\n String msg = \\\"Error indexing workspace\\\";\\n IOException ex = new IOException(msg);\\n ex.initCause(e);\\n throw ex;\\n } finally {\\n reindexing = false;\\n scheduleFlushTask();\\n }\\n } else {\\n throw new IllegalStateException(\\\"Index already present\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f61f590dfe916424300ae33eade38a4c\",\n \"score\": \"0.55338097\",\n \"text\": \"private void generateAllIndexDDL() {\\n\\n Map indexes = table.getIndexes();\\n\\n if (indexes.size() != 0) {\\n for (Map.Entry indexEntry : indexes.entrySet()) {\\n Index index = indexEntry.getValue();\\n indexDDLs.add(getIndexDDL(index));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"091612fdfc26e6d139586788d3e48ecc\",\n \"score\": \"0.5520833\",\n \"text\": \"public void initTemplate(String templateName, String templateReq) throws Exception {\\n // Check if the template is set\\n if (templateReq != null && !templateReq.equals(\\\"\\\")) {\\n // Json deserialization\\n PutIndexTemplateRequest request =\\n new PutIndexTemplateRequest(templateName).source(templateReq);\\n // Sending the request to elastic search\\n sendIndexTemplateRequest(request);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a1cb2bf7093af27e9f23fdeee97d52\",\n \"score\": \"0.5516477\",\n \"text\": \"public PutIndexTemplateRequestBuilder(IndicesAdminClient indicesClient) {\\n\\t\\tsuper(indicesClient, new PutIndexTemplateRequest());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec86b0e25b323e981c1e5bd8330aa170\",\n \"score\": \"0.55142987\",\n \"text\": \"abstract protected String composeIndexNameFromEntry(UpdateDocumentEntry entry);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c405c3ee1974b18b948b53caccdba95\",\n \"score\": \"0.55102634\",\n \"text\": \"public void uindex() {\\n\\n List users = new ArrayList<>();\\n users.add(\\\"u1\\\");\\n users.add(\\\"u2\\\");\\n users.add(\\\"u3\\\");\\n users.add(\\\"u4\\\");\\n users.add(\\\"u5\\\");\\n users.add(\\\"u6\\\");\\n users.add(\\\"u7\\\");\\n users.add(\\\"u8\\\");\\n users.add(\\\"u9\\\");\\n\\n// setAttr(\\\"articles\\\", articles);\\n setAttr(\\\"users\\\", users);\\n\\n render(\\\"/user_index.ftl\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37dcc0e97ca031e516eb5011a9fb31c7\",\n \"score\": \"0.5509343\",\n \"text\": \"private static void InitialIndexCatalog() throws IOException {\\n\\t\\tFile file=new File(Config.Minisql.path + indexFilename);\\n\\t\\tif(!file.exists()) return;\\n\\t\\tFileInputStream fis = new FileInputStream(file);\\n\\t\\tDataInputStream dis = new DataInputStream(fis);\\n\\t\\tString tmpIndexName,tmpTableName,tmpAttriName;\\n\\t\\tint tmpIndexBlockNum,tmpRootNum;\\n\\t\\twhile(dis.available()>0) {\\n\\t\\t\\ttmpIndexName=dis.readUTF();\\n\\t\\t\\ttmpTableName=dis.readUTF();\\n\\t\\t\\ttmpAttriName=dis.readUTF();\\n\\t\\t\\ttmpIndexBlockNum=dis.readInt();\\n\\t\\t\\ttmpRootNum = dis.readInt();\\n\\t\\t\\tindexes.put(tmpIndexName, new Index(tmpIndexName,tmpTableName,tmpAttriName,tmpIndexBlockNum,tmpRootNum));\\n\\t\\t}\\n\\t\\tdis.close();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed779708eb5bbb0cb241c468d0502541\",\n \"score\": \"0.548341\",\n \"text\": \"private void generateChapterIndex() {\\n Story story = new Story(imagesDir);\\n story.makeRelativeTo(imagesDir.getParent());\\n story.name = title;\\n generateStoryIndex(story);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bcae283bdd3fb15e3bfd8cf819bf38b\",\n \"score\": \"0.54811317\",\n \"text\": \"public void addIndexes() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbdacd75beb90d6981771974383014df\",\n \"score\": \"0.5468681\",\n \"text\": \"public IndexManager getIndexManager();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae57296aae2eb9acfe2ad65b14192b3c\",\n \"score\": \"0.54629296\",\n \"text\": \"public Result index() {\\n List all = Capabilities.find.all();\\n List all2 = Gallery.find.all();\\n List all3 = School.find.all();\\n List all4 = Team.find.all();\\n return ok(index.render(all, all2, all3, all4));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c22b0c556a8e22509e505bb8d90e3ea5\",\n \"score\": \"0.5453489\",\n \"text\": \"public static void main(String[] args) throws Exception {\\t\\n\\tfor (final LuceneGenerateResourceIndex generator : GENERATORS) {\\n\\t generator.createEmptyIndex();\\n\\t generator.shutdown();\\n\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91e72288b7fb04dc19cf7c522fac18cd\",\n \"score\": \"0.5452453\",\n \"text\": \"public void renderIndex(PrintWriter pr, List all, int level) throws Exception\\n {\\n Object working = all.get(0); // type is very important\\n if (working instanceof IndexEntry)\\n {\\n throw new Exception(\\\"Index Structure Wrong: \\\" + working); // NOT HERE\\n }\\n else\\n {\\n if (working instanceof IndexGroup)\\n {\\n switch (level)\\n {\\n case SIMPLE_INDEX:\\n {\\n /*\\n * make heading for the index page\\n */\\n // already there HTMLSink.fullWidth960(pr); // full width layout\\n pr.println(gT(\\\"HEADER_ID1\\\") +\\n \\\"_index\\\" +\\n gT(\\\"HEADER_ID2\\\") +\\n \\\"Indexes\\\" +\\n gT(\\\"LINE_BREAK\\\") +\\n gT(\\\"LINE_BREAK\\\") +\\n gT(\\\"HEADER1_END\\\"));\\n /*\\n * BREADCRUMBS needed for HTML\\n */\\n /*\\n * HOW do we know where to drop breadcrumbs? Well, the first-level\\n * objects will all be IndexGroup objects and we will make\\n * breadcrumbs for THEM ONLY (no recursion, etc, etc)\\n */\\n /*\\n * Loop through all in the list, creating breadcrumbs\\n */\\n Iterator ingrp = all.iterator();\\n IndexGroup inner_group = null;\\n \\n /*\\n * we have not put a marker at the top of this\\n * web page, because the name of the page\\n * should be enough to get from other pages.\\n * HOWEVER, we may want one for the \\\"top\\\" indicators!?!!?\\n */\\n pr.print(gT(\\\"PARAGRAPH_START\\\")); // treat real breadcrumb style\\n while (ingrp.hasNext())\\n {\\n inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\\n pr.print(gT(\\\"INDEX_CRUMB1\\\") +\\n inner_group.id +\\n gT(\\\"INDEX_CRUMB2\\\") +\\n inner_group.short_title + \\\" -- \\\" +\\n gT(\\\"INDEX_CRUMB_END\\\")); \\n } // end if putting in bread crumb for a particular top-level group\\n pr.print(gT(\\\"PARAGRAPH_END\\\")); // treat real breadcrumb style\\n\\n // HTMLSink.finish960(pr); // finish full-across block\\n /*\\n * NOW, we create the index, based on this structure\\n */\\n break;\\n } // end simple case (state for HTML, might be different for other types)\\n case POPUP_INDEX:\\n {\\n /*\\n * make heading for the index page\\n */\\n // already there HTMLSink.fullWidth960(pr); // full width layout\\n pr.println(gT(\\\"HEADER_ID1\\\") +\\n \\\"_index\\\" +\\n gT(\\\"HEADER_ID2\\\") +\\n \\\"Indexes\\\" +\\n gT(\\\"LINE_BREAK\\\") +\\n gT(\\\"LINE_BREAK\\\") +\\n gT(\\\"HEADER1_END\\\"));\\n /*\\n * BREADCRUMBS needed for HTML\\n */\\n /*\\n * HOW do we know where to drop breadcrumbs? Well, the first-level\\n * objects will all be IndexGroup objects and we will make\\n * breadcrumbs for THEM ONLY (no recursion, etc, etc)\\n */\\n /*\\n * Loop through all in the list, creating breadcrumbs\\n */\\n Iterator ingrp = all.iterator();\\n IndexGroup inner_group = null;\\n \\n /*\\n * we have not put a marker at the top of this\\n * web page, because the name of the page\\n * should be enough to get from other pages.\\n * HOWEVER, we may want one for the \\\"top\\\" indicators!?!!?\\n */\\n pr.print(gT(\\\"PARAGRAPH_START\\\")); // treat real breadcrumb style\\n while (ingrp.hasNext())\\n {\\n inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\\n pr.print(gT(\\\"INDEX_CRUMB1\\\") +\\n inner_group.id +\\n gT(\\\"INDEX_CRUMB2\\\") +\\n inner_group.short_title + \\\" -- \\\" +\\n gT(\\\"INDEX_CRUMB_END\\\")); \\n } // end if putting in bread crumb for a particular top-level group\\n pr.print(gT(\\\"PARAGRAPH_END\\\")); // treat real breadcrumb style\\n pr.print(gT(\\\"PARAGRAPH_START\\\")); // add link for closing window\\n\\n pr.print(gT(\\\"POPUP_CLOSE\\\"));\\n // was \\\"Close the popup.\\\");\\n pr.print(gT(\\\"PARAGRAPH_END\\\")); \\n // HTMLSink.finish960(pr); // finish full-across block\\n /*\\n * NOW, we create the index, based on this structure\\n */\\n break;\\n } // end popup case \\n case COMPLETE_INDEX:\\n {\\n /*\\n * make heading for the index page, only if we have some content\\n */\\n\\t\\t\\tif (g_options.wantGeneralIndexONLY())\\n\\t\\t\\t{\\n\\t\\t\\t\\t/*\\n\\t\\t\\t\\t * no need for index start page\\n\\t\\t\\t\\t * BUT, need \\\"index\\\" jump address\\n\\t\\t\\t\\t * empty name will work\\n\\t\\t\\t\\t */\\n\\t\\t\\t\\tpr.println(\\\"\\\");\\n\\t\\t\\t}\\n\\t\\t\\telse\\n\\t\\t\\t{\\n\\t\\t\\t\\t// \\n\\t\\t\\t\\tpr.println(gT(\\\"HEADER_ID1\\\") +\\n\\t\\t\\t\\t\\t \\\"index\\\" +\\n\\t\\t\\t\\t\\t gT(\\\"HEADER_ID2\\\") +\\n\\t\\t\\t\\t\\t \\\"All Document Indexes\\\" +\\n\\t\\t\\t\\t\\t gT(\\\"LINE_BREAK\\\") +\\n\\t\\t\\t\\t\\t gT(\\\"LINE_BREAK\\\") +\\n\\t\\t\\t\\t\\t gT(\\\"HEADER1_END\\\"));\\n\\t\\t\\t\\tif (g_options.wantTOC())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t// add a TOC reference, just to assist the reader\\n\\t\\t\\t\\t\\tpr.println(gT(\\\"INDEX_TARGET10\\\") +\\n\\t\\t\\t\\t\\t gT(\\\"INDEX_TARGET2\\\") +\\n\\t\\t\\t\\t\\t \\\"TOC\\\" +\\n\\t\\t\\t\\t\\t gT(\\\"INDEX_CRUMB2\\\") +\\n\\t\\t\\t\\t\\t \\\"Table of Contents\\\" +\\n\\t\\t\\t\\t\\t gT(\\\"INDEX_CRUMB10_END\\\") +\\n\\t\\t\\t\\t\\t gT(\\\"SEPARATOR_PARAGRAPH\\\"));\\n\\t\\t\\t\\t} // end if want toc\\n\\t\\t\\t\\t/*\\n\\t\\t\\t\\t * BREADCRUMBS needed for HTML\\n\\t\\t\\t\\t */\\n\\t\\t\\t\\t/*\\n\\t\\t\\t\\t * HOW do we know where to drop breadcrumbs? Well, the first-level\\n\\t\\t\\t\\t * objects will all be IndexGroup objects and we will make\\n\\t\\t\\t\\t * breadcrumbs for THEM ONLY (no recursion, etc, etc)\\n\\t\\t\\t\\t */\\n\\t\\t\\t\\t/*\\n\\t\\t\\t\\t * Loop through all in the list, creating breadcrumbs\\n\\t\\t\\t\\t */\\n\\t\\t\\t\\tIterator ingrp = all.iterator();\\n\\t\\t\\t\\tIndexGroup inner_group = null;\\n\\t\\t\\t\\t \\n\\t\\t\\t\\t/*\\n\\t\\t\\t\\t * we have not put a marker at the top of this\\n\\t\\t\\t\\t * web page, because the name of the page\\n\\t\\t\\t\\t * should be enough to get from other pages.\\n\\t\\t\\t\\t * HOWEVER, we may want one for the \\\"top\\\" indicators!?!!?\\n\\t\\t\\t\\t */\\n\\t\\t\\t\\tpr.print(gT(\\\"PARAGRAPH_START\\\")); // treat real breadcrumb style\\n\\t\\t\\t\\twhile (ingrp.hasNext())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\\n\\t\\t\\t\\t pr.print(gT(\\\"INDEX_CRUMB1\\\") +\\n\\t\\t\\t\\t\\t inner_group.id +\\n\\t\\t\\t\\t\\t gT(\\\"INDEX_CRUMB2\\\") +\\n\\t\\t\\t\\t\\t inner_group.short_title + \\\" -- \\\" +\\n\\t\\t\\t\\t\\t gT(\\\"INDEX_CRUMB_END\\\")); \\n\\t\\t\\t\\t} // end if putting in bread crumb for a particular top-level group\\n\\t\\t\\t\\tpr.print(gT(\\\"PARAGRAPH_END\\\")); // treat real breadcrumb style\\n\\t\\t\\t} // end else want some sort of index besides general\\n\\t\\t\\t/*\\n * NOW, we create the index, based on this structure\\n */\\n break;\\n } // end complete index for HTML\\n } // end switch on the type of index wanted\\n \\n renderIndexGroupList(pr,all,1,new ArrayDeque(),level); // probably will recurse, no back to top yet\\n } // end if the right kind of group\\n else\\n {\\n throw new Exception(\\\"Index Structure Wrong: \\\" + working);\\n }\\n } // end not index entry\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9c49e86177d94a613e0146a230cda96\",\n \"score\": \"0.5452282\",\n \"text\": \"public Tuple createIndexEntry(Tuple t){\\n \\t//Some code goes here\\n \\t//You may change or ignore this method based on your design decisions\\n \\treturn null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db1e920d5da29749521d5b54e32423d7\",\n \"score\": \"0.54403937\",\n \"text\": \"public static CreateIndex.Stub createUniqueIndexIfNotExists() {\\n\\t\\treturn new CreateIndex.Stub(true, true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b441eea8764b51f6ef33917ebfff337e\",\n \"score\": \"0.54342824\",\n \"text\": \"static CreateIndex fromString(long transactionId, String arguments) {\\n // when created from String, this action is executed as redo action\\n return new CreateIndex(transactionId, arguments);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97c78f6fce1f30b6eb1f8ba42ddc7ade\",\n \"score\": \"0.54342216\",\n \"text\": \"@Override\\n public ImmutableCollection getTemplates() {\\n return templateIndex.values();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92f4221d77f2b82eb4c508c3f67887a7\",\n \"score\": \"0.5433669\",\n \"text\": \"protected final Index index()\\n {\\n return index;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f6ec2f22603a52d4a2438999bd72566\",\n \"score\": \"0.54321563\",\n \"text\": \"@Test\\n public void test() {\\n IndexMetaWriter metaBuilder = new IndexMetaWriter(1);\\n metaBuilder.startPage(1, 1); //Title\\n metaBuilder.addTerm(-1, TermSegment.TEXT);\\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\\n metaBuilder.addTerm(-2, TermSegment.TEXT);\\n metaBuilder.addTerm(-1, TermSegment.TEXT);\\n metaBuilder.addSection(-5);\\n metaBuilder.addSection(-5);\\n metaBuilder.endPage();\\n\\n metaBuilder.startPage(2, 2); //Title title\\n metaBuilder.addTerm(-2, TermSegment.TEXT);\\n metaBuilder.addTerm(-3, TermSegment.TEXT);\\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\\n metaBuilder.addTerm(-9, TermSegment.TEXT);\\n metaBuilder.addSection(-10);\\n metaBuilder.endPage();\\n\\n metaBuilder.startPage(3, 3); //Title with title\\n metaBuilder.addTerm(-239, TermSegment.TEXT);\\n metaBuilder.addSection(-13);\\n metaBuilder.endPage();\\n\\n IndexMeta meta = metaBuilder.build();\\n assertEquals(1, meta.getVersion());\\n assertEquals(3, meta.getDocumentsCount());\\n assertEquals(7, meta.getContentTermsCount());\\n assertEquals(4, meta.getTitlesCount());\\n assertEquals(3, meta.getTitleTermsCount());\\n assertEquals(0, meta.getLinksCount());\\n assertEquals(0, meta.getTargetTitleTermsCount());\\n assertEquals(0, meta.getLinkTermsCount());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8679b2d90a878a108f63ba8994e0ad8\",\n \"score\": \"0.54264325\",\n \"text\": \"void init() throws Exception {\\n stmt.executeUpdate(\\\"CREATE TABLE IF NOT EXISTS IndexTest (f1 int NOT NULL, f2 int, f3 varchar)\\\");\\n stmt.executeUpdate(\\\"CREATE PRIMARY KEY HASH IF NOT EXISTS IndexTest_idx0 ON IndexTest(f1)\\\");\\n stmt.executeUpdate(\\\"CREATE UNIQUE HASH INDEX IF NOT EXISTS IndexTest_idx1 ON IndexTest(f2)\\\");\\n stmt.executeUpdate(\\\"CREATE INDEX IF NOT EXISTS IndexTest_idx2 ON IndexTest(f3, f2)\\\");\\n\\n indexFieldWithColumnFamilyPrefix();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45378da87a4f3748ec30de4de0313d94\",\n \"score\": \"0.54231095\",\n \"text\": \"public void ensureIndexCreation(Book book) throws BookException {\\r\\n \\tlog.debug(\\\"ensureIndexCreation\\\");\\r\\n\\r\\n \\t// ensure this isn't just the user re-clicking the Index button\\r\\n\\t\\tif (!book.getIndexStatus().equals(IndexStatus.CREATING) && !book.getIndexStatus().equals(IndexStatus.SCHEDULED)) {\\r\\n\\r\\n\\t\\t\\tIndexCreator ic = new IndexCreator();\\r\\n\\t ic.scheduleIndexCreation(book);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"837d461f48b941422418c8953f84b96c\",\n \"score\": \"0.54040873\",\n \"text\": \"@Override\\n\\tpublic Index getIndex(String id) {\\n\\t\\t\\n\\t\\tIndex index = new Index();\\n\\t\\tindex.setId(\\\"123\\\");\\n\\t\\tindex.setIndexType((byte) 2);\\n\\t\\tindex.setMsgType((byte)2);\\n\\t\\tindex.setCreatTime(3242344L);\\n\\t\\t\\n\\t\\treturn index;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e8701ebc045aaedce3130960d08658a\",\n \"score\": \"0.54036516\",\n \"text\": \"public ElasticsearchIndexService(\\n UserRepository userRepository,\\n UserSearchRepository userSearchRepository,\\n AppointmentRepository appointmentRepository,\\n AppointmentSearchRepository appointmentSearchRepository,\\n AttendeeRepository attendeeRepository,\\n AttendeeSearchRepository attendeeSearchRepository,\\n CustomUserRepository customUserRepository,\\n CustomUserSearchRepository customUserSearchRepository,\\n GroupsRepository groupsRepository,\\n GroupsSearchRepository groupsSearchRepository,\\n GroupsMemberRepository groupsMemberRepository,\\n GroupsMemberSearchRepository groupsMemberSearchRepository,\\n IconRepository iconRepository,\\n IconSearchRepository iconSearchRepository,\\n NoteRepository noteRepository,\\n NoteSearchRepository noteSearchRepository,\\n NotificationRepository notificationRepository,\\n NotificationSearchRepository notificationSearchRepository,\\n TeamRepository teamRepository,\\n TeamSearchRepository teamSearchRepository,\\n ElasticsearchTemplate elasticsearchTemplate) {\\n this.userRepository = userRepository;\\n this.userSearchRepository = userSearchRepository;\\n this.appointmentRepository = appointmentRepository;\\n this.appointmentSearchRepository = appointmentSearchRepository;\\n this.attendeeRepository = attendeeRepository;\\n this.attendeeSearchRepository = attendeeSearchRepository;\\n this.customUserRepository = customUserRepository;\\n this.customUserSearchRepository = customUserSearchRepository;\\n this.groupsRepository = groupsRepository;\\n this.groupsSearchRepository = groupsSearchRepository;\\n this.groupsMemberRepository = groupsMemberRepository;\\n this.groupsMemberSearchRepository = groupsMemberSearchRepository;\\n this.iconRepository = iconRepository;\\n this.iconSearchRepository = iconSearchRepository;\\n this.noteRepository = noteRepository;\\n this.noteSearchRepository = noteSearchRepository;\\n this.notificationRepository = notificationRepository;\\n this.notificationSearchRepository = notificationSearchRepository;\\n this.teamRepository = teamRepository;\\n this.teamSearchRepository = teamSearchRepository;\\n this.elasticsearchTemplate = elasticsearchTemplate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd7aa639faf6b36d9854fa244a69de6b\",\n \"score\": \"0.5401601\",\n \"text\": \"public RiakIndexes()\\n {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e74630caac3b131810d145c19db7d9d0\",\n \"score\": \"0.53845\",\n \"text\": \"public IndexBean() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"953f03038d8352a38f97545b33c8ee39\",\n \"score\": \"0.538335\",\n \"text\": \"public PutIndexTemplateRequestBuilder(IndicesAdminClient indicesClient, String name) {\\n\\t\\tsuper(indicesClient, new PutIndexTemplateRequest(name));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab5ddf37faa39023911f61c5dec609cd\",\n \"score\": \"0.5381152\",\n \"text\": \"static void BuildIndex(String datafile, int mode) throws Throwable {\\n\\t\\t\\n\\t\\t//init the index\\n\\t\\tfor(int i = 0;i < num_ip; i++)\\n\\t\\t\\tjclient.initServer(i, Index.BUILD);\\n\\t\\t\\n\\t\\tBufferedReader buf = new BufferedReader(new InputStreamReader(new FileInputStream(datafile)));\\n\\t\\tString line;\\t\\n\\t\\tint id = 0;\\n\\t\\twhile ((line = buf.readLine()) != null) {\\n\\t\\t\\t//for insertion the key is elementID\\n\\t\\t\\tstrKey strkey = new strKey(String.valueOf(id));\\n\\t\\t\\tString values[] = null;\\n\\t\\t\\tif(mode == Index.STRING_BUILD)\\n\\t\\t\\t\\tvalues = DataProcessor.process(2, line).split(\\\" \\\");\\n\\t\\t\\telse if(mode == Index.SIFT_BUILD)\\n\\t\\t\\t\\tvalues = line.split(\\\" \\\");\\n\\t\\t\\telse\\n\\t\\t\\t\\tSystem.out.println(\\\"Type error\\\");\\n\\t\\t\\t\\n\\t\\t\\tfor (int i = 0; i < values.length; i++) {\\n\\t\\t\\t\\t//for insertion the value is grams and dim+value\\n\\t\\t\\t\\tstrValue strvalue = null;\\n\\t\\t\\t\\tif(mode == Index.SIFT_BUILD)\\n\\t\\t\\t\\t\\tstrvalue = new strValue(i+\\\"+\\\"+values[i]);\\n\\t\\t\\t\\telse if(mode == Index.STRING_BUILD)\\n\\t\\t\\t\\t\\tstrvalue = new strValue(values[i]);\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Type error when adding document\\\");\\n\\t\\t\\t\\tjclient.addPair(strkey, strvalue, mode);\\n\\t\\t\\t}\\n\\t\\t\\tid++;\\n\\t\\t}\\t\\n\\t\\tfor(int i = 0;i < num_ip; i++)\\n\\t\\t\\tjclient.closeIndexwriter(i);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"693997c67478342587c9998aa35a17b5\",\n \"score\": \"0.5378575\",\n \"text\": \"private void setupIndexes(Config config, Query query) {\\n if (index != Index.NO_INDEX) {\\n MapIndexConfig mapIndexConfig = new MapIndexConfig();\\n mapIndexConfig.setAttribute(query.expression);\\n mapIndexConfig.setOrdered(index == Index.ORDERED);\\n config.getMapConfig(\\\"map\\\").addMapIndexConfig(mapIndexConfig);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73eaca59ff4e6001e9cbefe1d49566dc\",\n \"score\": \"0.537552\",\n \"text\": \"protected void buildIndexMap(DocletEnvironment docEnv) {\\n Set packages = configuration.getSpecifiedPackageElements();\\n Set classes = configuration.getIncludedTypeElements();\\n if (!classesOnly) {\\n if (packages.isEmpty()) {\\n Set set = new HashSet<>();\\n for (TypeElement aClass : classes) {\\n PackageElement pkg = utils.containingPackage(aClass);\\n if (pkg != null && !pkg.isUnnamed()) {\\n set.add(pkg);\\n }\\n }\\n adjustIndexMap(set);\\n } else {\\n adjustIndexMap(packages);\\n }\\n }\\n adjustIndexMap(classes);\\n if (!classesOnly) {\\n for (TypeElement aClass : classes) {\\n if (shouldAddToIndexMap(aClass)) {\\n putMembersInIndexMap(aClass);\\n }\\n }\\n if (configuration.showModules) {\\n addModulesToIndexMap();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e21bd0864df9919cc60e7bb7cdd7779\",\n \"score\": \"0.5367082\",\n \"text\": \"public IndexPath() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ed68ca1c7831552ce53c1fa909482bb\",\n \"score\": \"0.53654116\",\n \"text\": \"private static void indexDirectory() {\\n try {\\n Path path;\\n path = Paths.get(\\\"C:\\\\\\\\Users\\\\\\\\USER\\\\\\\\Desktop\\\\\\\\index\\\");\\n Directory directory = FSDirectory.open(path);\\n \\n IndexWriterConfig config = new IndexWriterConfig(new SimpleAnalyzer());\\n IndexWriter indexWriter = new IndexWriter(directory, config);\\n indexWriter.deleteAll();\\n File f = new File(\\\"C:\\\\\\\\seminar\\\\\\\\test_data\\\"); // current directory \\n for (File file : f.listFiles()) {\\n //System.out.println(\\\"indexed \\\" + file.getCanonicalPath());\\n Document doc = new Document();\\n doc.add(new TextField(\\\"FileName\\\", file.getName(), Store.YES));\\n\\n FileInputStream is = new FileInputStream(file);\\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\\n StringBuffer stringBuffer = new StringBuffer();\\n String line = null;\\n while ((line = reader.readLine()) != null) {\\n stringBuffer.append(line).append(\\\"\\\\n\\\");\\n }\\n reader.close();\\n doc.add(new TextField(\\\"contents\\\", stringBuffer.toString(), Store.YES));\\n indexWriter.addDocument(doc);\\n }\\n indexWriter.close();\\n directory.close();\\n System.out.println(\\\"indexing finished\\\");\\n } catch (Exception e) {\\n // TODO: handle exception\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0537a5ad455ed531809324682b44ec10\",\n \"score\": \"0.53640115\",\n \"text\": \"public IndexRequest createIndexRequest(T element) {\\n\\n return Requests.indexRequest()\\n .index(indexName)\\n .type(type)\\n .source(ClickstreamProcessor.toJson(element), XContentType.JSON);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19627a7e115e6ae3b4a6a216f5727b79\",\n \"score\": \"0.53599596\",\n \"text\": \"private void createIndexList(ZipOutputStream zOut) throws IOException {\\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\\n // encoding must be UTF8 as specified in the specs.\\n PrintWriter writer = new PrintWriter(new OutputStreamWriter(baos, StandardCharsets.UTF_8));\\n\\n // version-info blankline\\n writer.println(\\\"JarIndex-Version: 1.0\\\");\\n writer.println();\\n\\n // header newline\\n writer.println(zipFile.getName());\\n\\n writeIndexLikeList(new ArrayList<>(addedDirs.keySet()),\\n rootEntries, writer);\\n writer.println();\\n\\n if (indexJars != null) {\\n Manifest mf = createManifest();\\n Manifest.Attribute classpath =\\n mf.getMainSection().getAttribute(Manifest.ATTRIBUTE_CLASSPATH);\\n String[] cpEntries = null;\\n if (classpath != null && classpath.getValue() != null) {\\n StringTokenizer tok = new StringTokenizer(classpath.getValue(),\\n \\\" \\\");\\n cpEntries = new String[tok.countTokens()];\\n int c = 0;\\n while (tok.hasMoreTokens()) {\\n cpEntries[c++] = tok.nextToken();\\n }\\n }\\n for (String indexJarEntry : indexJars.list()) {\\n String name = findJarName(indexJarEntry, cpEntries);\\n if (name != null) {\\n ArrayList dirs = new ArrayList<>();\\n ArrayList files = new ArrayList<>();\\n grabFilesAndDirs(indexJarEntry, dirs, files);\\n if (dirs.size() + files.size() > 0) {\\n writer.println(name);\\n writeIndexLikeList(dirs, files, writer);\\n writer.println();\\n }\\n }\\n }\\n }\\n\\n if (writer.checkError()) {\\n throw new IOException(\\\"Encountered an error writing jar index\\\");\\n }\\n writer.close();\\n try (ByteArrayInputStream bais =\\n new ByteArrayInputStream(baos.toByteArray())) {\\n super.zipFile(bais, zOut, INDEX_NAME, System.currentTimeMillis(),\\n null, ZipFileSet.DEFAULT_FILE_MODE);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7882741d5d3e41be3e7af5ed4e85c030\",\n \"score\": \"0.53570867\",\n \"text\": \"public void buildIncrementalIndex(int page, int pageSize, boolean useReindexServer) throws ServiceException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83131262ed7271e854ca900b315bfbee\",\n \"score\": \"0.5351804\",\n \"text\": \"public void sendIndexTemplateRequest(PutIndexTemplateRequest indexTemplateRequest)\\n throws Exception {\\n // Check if the template is set\\n if (indexTemplateRequest != null) {\\n // Sending the request to elastic search\\n client.admin().indices().putTemplate(indexTemplateRequest).get();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c3086ebebcb70e28d740f18e279c11f\",\n \"score\": \"0.53405637\",\n \"text\": \"private static void createViewResourceFile(String requiredIndexStorageFilePath) throws IOException {\\n FileUtil.createIfMissing(new File(requiredIndexStorageFilePath));\\n FileUtil.createIfMissing(new File(\\\"data/view/\\\" + STUDENT_MISC_INFO_PAGE));\\n FileUtil.createIfMissing(new File(\\\"data/view/\\\" + STUDENT_INFO_PAGE_STYLESHEET));\\n FileUtil.createIfMissing(new File(\\\"data/view/profile_photo_placeholder.png\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35e07a63210ca33f5f847950ef09920a\",\n \"score\": \"0.5317536\",\n \"text\": \"protected abstract void processIndex() throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b79dd82b033c06cde268c035f4395729\",\n \"score\": \"0.5313089\",\n \"text\": \"private void ensureIndexExists( ExplicitIndexWrite ops )\\n {\\n if ( !indexCreated )\\n {\\n type.ensureIndexExists( ops );\\n indexCreated = true;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"999bc896eb336977a556c126d16c2ce9\",\n \"score\": \"0.5296379\",\n \"text\": \"public void setUniqueIDTemplate(String a_templateID, int a_index) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de456dc67646917995cc054336dea751\",\n \"score\": \"0.52950704\",\n \"text\": \"public static Result index() {\\n return ok(index.render(\\\"Your new application is ready.\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45dee3d85a78604eacf2bf32786c68c7\",\n \"score\": \"0.5286154\",\n \"text\": \"public void makeIndexAndDisplayCounts(){\\n \\n IndexFile aIndexFile = new IndexFile();\\n try{\\n aIndexFile.open(\\\"index.txt\\\");\\n \\n /*\\n * Prints all labels using the ^above format\\\"\\n * TODO: FIX INDENTATIONS\\n */\\n ArrayList allBuckets = aMusicList.getBuckets();\\n for(int i = 0; i < allBuckets.size(); ++i){\\n Bucket aBucket = allBuckets.get(i);\\n if (aBucket.size() != 0){\\n for(int j = 0; j < aBucket.getItems().size(); ++j){\\n MusicItem aMusicItem = aBucket.getItems().get(j);\\n \\n /*\\n * Writes musicItem to file\\n */\\n aIndexFile.writeItem(aMusicItem);\\n \\n /*\\n * Prints musicItem to console\\n *\\n */\\n //System.out.println(String.format(\\\"%-50s %-12s %-6s %s\\\", aMusicItem.title, aMusicItem.accessionNumber, \\n // aMusicItem.mediaCode, aMusicItem.displaySupplementalInfo())); \\n }\\n }\\n }\\n aIndexFile.close();\\n \\n /*\\n * Print out media counts\\n */\\n System.out.println(\\\"\\\\nIndex File SUCCESSFULLY CREATED! (index.txt)\\\\n\\\");\\n System.out.println(\\\"Paper Count: \\\" + aMusicList.getPaperItemCount() + \\n \\\" | Compact Media Count: \\\" + aMusicList.getCompactMediaItemCount() +\\n \\\" | Vinyl Count: \\\" + aMusicList.getVinylItemCount() +\\n \\\" | Wax Cylinder Count: \\\" + aMusicList.getPaperItemCount() +\\n \\\"\\\\nTotal Item Count: \\\" + aMusicList.getTotalItemCount());\\n \\n }catch(IOException e){\\n System.out.println(\\\"Specificed file could not be written to. Have a nice day :)\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dadcb3a95a57ffc28035f3d7151c2222\",\n \"score\": \"0.5281301\",\n \"text\": \"protected Index getIndex(String indexName)\\n {\\n return getIndexStore().getNamedIndex(indexName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44958e5d272633865c22c6cf6fff21fb\",\n \"score\": \"0.52760357\",\n \"text\": \"private synchronized boolean isIndexCreated() {\\r\\n return getIndexFile().exists();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"563b3fda3d1f6617f7a51555f3f0726b\",\n \"score\": \"0.5264144\",\n \"text\": \"public Result index() {\\n return ok(index.render(\\\"Your new application is ready.\\\"));\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c30cad8205bad048aee74d835c6e5c0\",\n \"score\": \"0.52632207\",\n \"text\": \"private void createIndexIfNotExists()\\n\\t{\\n\\t\\tclient.admin().cluster().prepareHealth().setWaitForYellowStatus().execute().actionGet();\\n\\t\\tboolean hasIndex = client.admin().indices().exists(new IndicesExistsRequest(indexName)).actionGet().exists();\\n\\t\\tif (!hasIndex)\\n\\t\\t{\\n\\t\\t\\tCreateIndexResponse response = client.admin().indices().prepareCreate(indexName).execute().actionGet();\\n\\t\\t\\tif (!response.acknowledged())\\n\\t\\t\\t{\\n\\t\\t\\t\\tthrow new ElasticSearchException(\\\"Creation of index [\\\" + indexName + \\\"] failed. Response=\\\" + response);\\n\\t\\t\\t}\\n\\t\\t\\tLOG.info(\\\"Index [\\\" + indexName + \\\"] created\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3396baa37f4217458ce4c3fd9a0d9594\",\n \"score\": \"0.52616554\",\n \"text\": \"public void sendIndexMappingRequest(PutMappingRequest mappingRequest) throws Exception {\\n // Check if the template is set\\n if (mappingRequest != null) {\\n try {\\n // Check if the index exists\\n SearchResponse response =\\n client.prepareSearch(mappingRequest.indices()).setTypes(mappingRequest.type()).get();\\n if (response != null) {\\n LOG.debug(\\\"Index found, no need to create it...\\\");\\n }\\n } catch (IndexNotFoundException infe) {\\n for (String indexName : mappingRequest.indices()) {\\n // If the index does not exist, create it\\n client.admin().indices().prepareCreate(indexName)\\n .setSettings(Settings.builder()\\n .put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, DEFAULT_INDEX_SHARDS)\\n .put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, DEFAULT_INDEX_REPLICAS))\\n .execute().actionGet();\\n LOG.info(\\\"Index \\\" + indexName + \\\" not found, creating it...\\\");\\n }\\n }\\n // Sending the request to elastic search\\n client.admin().indices().putMapping(mappingRequest).get();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f34ba52853e9c1b4aa7c33351258bbf\",\n \"score\": \"0.5260543\",\n \"text\": \"protected void registerIndex( String indexName,\\n IndexKind kind,\\n String providerName,\\n String indexedNodeType,\\n String desc,\\n String workspaceNamePattern,\\n Map properties) throws RepositoryException {\\n IndexDefinitionTemplate template = indexManager().createIndexDefinitionTemplate();\\n template.setName(indexName);\\n template.setKind(kind);\\n template.setNodeTypeName(indexedNodeType);\\n template.setProviderName(providerName);\\n template.setSynchronous(useSynchronousIndexes());\\n if (workspaceNamePattern != null) {\\n template.setWorkspaceNamePattern(workspaceNamePattern);\\n } else {\\n template.setAllWorkspaces();\\n }\\n if (desc != null) {\\n template.setDescription(desc);\\n }\\n\\n List colDefs = new ArrayList<>(properties.size());\\n for (Map.Entry entry : properties.entrySet()) {\\n colDefs.add(indexManager().createIndexColumnDefinitionTemplate().setPropertyName(entry.getKey())\\n .setColumnType(entry.getValue())); \\n }\\n template.setColumnDefinitions(colDefs);\\n\\n // Register the index ...\\n indexManager().registerIndex(template, false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa3da4f1bedf8571375ad4dd94d2da36\",\n \"score\": \"0.52367836\",\n \"text\": \"public static void create(String content, int index) {\\n if (!DIR.exists())\\n DIR.mkdir();\\n\\n File[] files = DIR.listFiles();\\n\\n int fileCount = 0;\\n if (files != null)\\n for (File f : files) {\\n if (f.getName().charAt(f.getName().length()-6) == ')') {\\n if (f.getName().charAt(f.getName().length()-9) == '(') {\\n if (f.getName().substring(0,f.getName().length()-9).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\\n fileCount++;\\n } else if (f.getName().substring(0,f.getName().length()-8).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\\n fileCount++;\\n } else if (f.getName().substring(0,f.getName().length()-5).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\\n fileCount++;\\n }\\n\\n\\n\\n File file;\\n if (fileCount > 0)\\n file = new File( DIR.getAbsolutePath() + File.separator +\\n Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_') + \\\"(\\\" + fileCount + \\\")\\\" + \\\".html\\\");\\n else file = new File( DIR.getAbsolutePath() + File.separator +\\n Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_') + \\\".html\\\");\\n\\n try {\\n FileWriter fw = new FileWriter(file);\\n fw.write(content);\\n System.out.println(file.getName() + \\\" has been created.\\\");\\n fw.close();\\n\\n } catch (IOException e){\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5226d18c6cfb203c88dcd1cbb7afe908\",\n \"score\": \"0.5236066\",\n \"text\": \"@Override\\n public IndexBuildingSupport getBuildTaskSupport() {\\n if (isDummyMode) {\\n return null;\\n }\\n return (cfs, indexes, ssTables) -> new EsIndexBuilder(EsSecondaryIndex.this, ssTables);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5adfe334e8da1809ff6262c74d27067a\",\n \"score\": \"0.5228847\",\n \"text\": \"private static void storeIndexCatalog() throws IOException {\\n\\n\\t\\tFile file=new File(Config.Minisql.path + indexFilename);\\n\\t\\tif(file.exists())file.delete();\\n\\t\\tFileOutputStream fos = new FileOutputStream(file);\\n\\t\\tDataOutputStream dos = new DataOutputStream(fos);\\n\\t\\tIndex tmpIndex;\\n\\t\\tEnumeration en = indexes.elements();\\n\\t\\twhile(en.hasMoreElements()) {\\n\\t\\t\\ttmpIndex=en.nextElement();\\n\\t\\t\\tdos.writeUTF(tmpIndex.indexName);\\n\\t\\t\\tdos.writeUTF(tmpIndex.tableName);\\n\\t\\t\\tdos.writeUTF(tmpIndex.attriName);\\n\\t\\t\\tdos.writeInt(tmpIndex.blockNum);\\n\\t\\t\\tdos.writeInt(tmpIndex.rootNum);\\n\\t\\t}\\n\\t\\t//将流中剩下的内容写入\\n\\t\\tdos.close();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d33e42d22de50d94f205caf973a87c2\",\n \"score\": \"0.52283436\",\n \"text\": \"private IndexResponse index(Request request) {\\n assert request instanceof Screening;\\n Screening screening = (Screening) request;\\n String screeningJson = toJson(screening);\\n\\n IndexRequestBuilder builder =\\n esDao.getClient().prepareIndex(esDao.getConfig().getElasticsearchAlias(),\\n esDao.getConfig().getElasticsearchDocType(), screening.getId());\\n builder.setSource(screeningJson, XContentType.JSON);\\n\\n return builder.get();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bef3eac6d7eb0e65acf36a3ba5ad5075\",\n \"score\": \"0.5219099\",\n \"text\": \"@Override\\n public void process(JCas jCas) throws AnalysisEngineProcessException {\\n XContentBuilder xb = createJSON(jCas);\\n if (xb == null) return;\\n\\n try {\\n indexList.add(new Index.Builder(xb.string()).build());\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":846,"cells":{"query_id":{"kind":"string","value":"c224d023713f6a17908fdd7fc9cdb86b"},"query":{"kind":"string","value":"main method to drive program."},"positive_passages":{"kind":"list like","value":[{"docid":"1eeb1c6701956a478a12565805b03dae","score":"0.0","text":"public static void main(final String[] args) {\n BookYourShow bys = new BookYourShow();\n Scanner scan = new Scanner(System.in);\n int testCases = Integer.parseInt(scan.nextLine());\n for (int i = 0; i < testCases; i++) {\n String[] tokens = scan.nextLine().\n replace(\"[\", \"\").replace(\"]\", \"\").split(\",\");\n String[] check = tokens[0].split(\" \");\n switch (check[0]) {\n case \"add\":\n int k = 2;\n String[] seats = new String[tokens.length - 2];\n for (int j = 0; j < seats.length; j++) {\n seats[j] = tokens[k++];\n }\n bys.addAShow(new Show(check[1], tokens[1], seats));\n break;\n\n case \"book\":\n k = 2 + 2;\n seats = new String[tokens.length - 2 - 2];\n for (int j = 0; j < seats.length; j++) {\n seats[j] = tokens[k++];\n }\n bys.bookAShow(check[1], tokens[1],\n new Patron(tokens[2], tokens[2 + 1]), seats);\n break;\n\n case \"get\":\n Show show = bys.getAShow(check[1], tokens[1]);\n if (show != null) {\n System.out.println(show);\n } else {\n System.out.println(\"No show\");\n }\n break;\n\n case \"print\":\n bys.printTicket(check[1], tokens[1], tokens[2]);\n break;\n\n case \"showAll\":\n bys.showAll();\n break;\n\n default:\n break;\n }\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"1eeb1c6701956a478a12565805b03dae\",\n \"score\": \"0.0\",\n \"text\": \"public static void main(final String[] args) {\\n BookYourShow bys = new BookYourShow();\\n Scanner scan = new Scanner(System.in);\\n int testCases = Integer.parseInt(scan.nextLine());\\n for (int i = 0; i < testCases; i++) {\\n String[] tokens = scan.nextLine().\\n replace(\\\"[\\\", \\\"\\\").replace(\\\"]\\\", \\\"\\\").split(\\\",\\\");\\n String[] check = tokens[0].split(\\\" \\\");\\n switch (check[0]) {\\n case \\\"add\\\":\\n int k = 2;\\n String[] seats = new String[tokens.length - 2];\\n for (int j = 0; j < seats.length; j++) {\\n seats[j] = tokens[k++];\\n }\\n bys.addAShow(new Show(check[1], tokens[1], seats));\\n break;\\n\\n case \\\"book\\\":\\n k = 2 + 2;\\n seats = new String[tokens.length - 2 - 2];\\n for (int j = 0; j < seats.length; j++) {\\n seats[j] = tokens[k++];\\n }\\n bys.bookAShow(check[1], tokens[1],\\n new Patron(tokens[2], tokens[2 + 1]), seats);\\n break;\\n\\n case \\\"get\\\":\\n Show show = bys.getAShow(check[1], tokens[1]);\\n if (show != null) {\\n System.out.println(show);\\n } else {\\n System.out.println(\\\"No show\\\");\\n }\\n break;\\n\\n case \\\"print\\\":\\n bys.printTicket(check[1], tokens[1], tokens[2]);\\n break;\\n\\n case \\\"showAll\\\":\\n bys.showAll();\\n break;\\n\\n default:\\n break;\\n }\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"092dbc6e7dbe0409ae3adfd1cb6baaa1","score":"0.7738337","text":"public void main() {\n\n \n\n }","title":""},{"docid":"4ce05ce5423abf66102e73c40851f978","score":"0.7608695","text":"public static void main (String args[])\n {\n new Main().begin();\n }","title":""},{"docid":"10ad2b105ed7c8240fc0586b0e8d6497","score":"0.74162924","text":"public static final void main() {\n }","title":""},{"docid":"91a7ef53ff91dd30e7b199ca2a288ad9","score":"0.7383993","text":"public static void main() throws IOException {\t\t\n\n\t}","title":""},{"docid":"88ca85c3ffb0c853c11e7dedb0ab97bf","score":"0.7350041","text":"public static void main(String[] args) {\n System.out.println(\"Added new program\");\n\t}","title":""},{"docid":"c7c8f62b955211fe30251ad1eef73b21","score":"0.7343829","text":"public static void main(String[] args) {\n \n\n\n \tnew Main().doMain(args); \n }","title":""},{"docid":"f3b95087e37f62acbb59919d3299c316","score":"0.7235156","text":"public static void main (String [] args ) throws IOException {\n\t\t\n\t}","title":""},{"docid":"476ca7bd2c77ebff5bb3004436533b9a","score":"0.7217305","text":"public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t\r\n\t\t//uncomment this to test whatever you want\r\n\t\t//DemoCodes.main();\r\n\t}","title":""},{"docid":"bd770c48c37a7d5a20da9970f5e72b4a","score":"0.7160244","text":"public static void main(String[] args) {}","title":""},{"docid":"ba24e4e5782b4251c9fc0a09cf818a6c","score":"0.7153214","text":"public static void main (String[] args){\n Lesson05();\n }","title":""},{"docid":"ced340c8ac6ba92460ee12060fa2739d","score":"0.7150234","text":"public static void main (String[] args)\n {\n\n \n\n }","title":""},{"docid":"75b6802abc26c720bc00e89230d0260f","score":"0.71438855","text":"public static void main(String[] args) {\n\r\n\t\tnew Main().perform();\r\n\r\n\t}","title":""},{"docid":"bf95cb8db1b29d5f205988533c8d0308","score":"0.71265453","text":"public static void main(String[] args) {\n \n \n \n }","title":""},{"docid":"472725814d0474331f0e3d9728d1a993","score":"0.7104612","text":"public void main(String[] args) {\n\t\t\n\n }","title":""},{"docid":"329743a78373d7f37df932b2ace4660b","score":"0.71033365","text":"public static void main (String[] args) {\n \r\n }","title":""},{"docid":"eb058fb9337411eb16636f6f11721966","score":"0.7090366","text":"public static void main(String[] args) {\n \n \n }","title":""},{"docid":"334a0797a8e482fb2acf4cad17301ac8","score":"0.7083059","text":"public static void main(String[] args)\n\t\t{\n\t\tmain();\n\t\t}","title":""},{"docid":"53163eedc9a0235599ad741222126518","score":"0.70793617","text":"public static void main(String[] args) {\n //test Stefan\n\n // I have written your code There\n //\n }","title":""},{"docid":"7f25ea0405e6793f48b3d35d4257e7d4","score":"0.707422","text":"public static void main(String[] args) {\n \n \n \n \n }","title":""},{"docid":"2402099d60ddd3b8b4d6dd0f2e3b96f7","score":"0.7067591","text":"public static void main(String args[]) throws IOException {\r\n //\r\n }","title":""},{"docid":"aaeebb5cda1ce0119b2edb76a030a890","score":"0.7066227","text":"public static void main(String[] args) {\n\n Excercise1 ex1 = new Excercise1();\n ex1.run();\n }","title":""},{"docid":"e97a158da62462c47cdacd87cd5e49c3","score":"0.70446944","text":"void appMain(String [] args) throws IOException {\n\n\t\t// for the following comments: \"~\" = \"Stands For\"/\"Represents\"\n\t\t// Initialize cmd with empty quotes so it has a starting value in memory\n\t\t// cmd ~ command\n\t\tString cmd = \"\";\n\t\t// Initialize data with empty quotes so it has a starting value in memory\n\t\t// data ~ Name\n\t\t// It should represent the Task name in the current state of this application,\n\t\t// yet might change its function to be for multiple scenarios\n\t\tString data = \"\";\n\t\t// Initialize desc with empty quotes so it has a starting value in memory\n\t\t// desc ~ description\n\t\tString desc = \"\";\n\n\n\t\t// Create a new Log() function\n\t\t// This will allow all commands, task name, descriptions, etc. to be written to a log file and be stored\n\t\tLog log = new Log();\n\n\t\t// Create a new LocalDateTime with name of timeRN, this will get the exact current time when called\n\t\t// This will allow for time calculations and start and end times to be completed\n\t\tLocalDateTime timeRN = LocalDateTime.now();\n\n\t\t// created a try/catch block that will output the Usage() statement if there is an error\n\t\ttry {\n\t\t\t// set the command as the first argument in the running of the program\n\t\t\tcmd = args[0];\n\n\t\t\t// make the command argument all uppercase\n\t\t\t// This will allow any mixture of uppercase and lower case in the command argument to be used\n\t\t\tcmd = cmd.toUpperCase();\n\n\t\t\t// Check to see if the command equals uppercase \"DESCRIBE\"\n\t\t\t// It is uppercase because the command value should be set to uppercase in a previous statement.\n\t\t\tif(cmd.equals(\"DESCRIBE\")){\n\n\t\t\t\t// If DESCRIBE is the command, set the third argument (as it starts at 0) to be the description\n\t\t\t\t// This will set the \"desc\" as the actual description to be saved, later in the program\n\t\t\t\tdesc = args[2];\n\n\t\t\t}\n\t\t\t// If it is not equal to DESCRIBE, set the description to an empty value of a String\n\t\t\t// This will make sure that it won't have an error if there is no description\n\t\t\telse {\n\t\t\t\tdesc = \"\";\n\t\t\t}\n\n\t\t\t// Check to see if the command equals SUMMARY (uppper case once again, as I set it to all uppercase previously)\n\t\t\t// If that is true, it will check the next part of the IF statement,\n\t\t\t// which checks to see if there are less than 2 argument statments\n\t\t\t// Kept the two if statements separate due to the ending else statements being different\n\t\t\tif(cmd.equals(\"SUMMARY\") && args.length < 2){\n\n\t\t\t\t// If this is true set the name (aka 'data') to be null, as it is not needed if these are true\n\t\t\t\tdata = null;\n\n\t\t\t}\n\t\t\t// Every other case that doesn't follow this statement will then make the name (aka 'data'),\n\t\t\t// to be the second argument, allowing for the continuation of the program\n\t\t\telse {\n\t\t\t\tdata = args[1];\n\t\t\t}\n\n\t\t}\n\t\t// If any of these fail due to an exception of too many or too few arguments it will print out the Usage() statement\n\t\t// This will allow the user to understand how to run the program\n\t\tcatch (ArrayIndexOutOfBoundsException err) {\n\t\t\tUsage();\n\t\t}\n\n\t\t// Set up a SWITCH statement to check for each of the UPPERCASE values of the command\n\t\tswitch(cmd){\n\t\t\t// If the case is STOP, pass in the following:\n\t\t\t// data, also known as the name of the task\n\t\t\t// log, the initialized log file that will handle the data, and record all of it\n\t\t\t// cmd, aka the UPPERCASE command that was run\n\t\t\t// timeRN, aka the LocalDateTime.now() command which gets the current time down past the second\n\t\t\tcase \"STOP\": cmdStop(data, log, cmd, timeRN);\n\t\t\t\tbreak;\n\t\t\t// if the case is START, pass in the following:\n\t\t\t// data, also known as the name of the task\n\t\t\t// log, the initialized log file that will handle the data, and record all of it\n\t\t\t// cmd, aka the UPPERCASE command that was run\n\t\t\t// timeRN, aka the LocalDateTime.now() command which gets the current time down past the second\n\t\t\tcase \"START\": cmdStart(data, log, cmd, timeRN);\n\t\t\t\tbreak;\n\t\t\t// If the case is SUMMARY, it will run into and if/else scenario\n\t\t\tcase \"SUMMARY\": \n\t\t\t\t// If the name of the task is unknown, it means that the user is requesting the full summary/log file\n\t\t\t\tif(data == null) {\n\t\t\t\t\t// This will just pass the log only, which will run into the appropriate method,\n\t\t\t\t\t// to return all summary data\n\t\t\t\t\tcmdSummary(log);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// if there is any other data, it will send the name of the task,\n\t\t\t\t\t// as well as the log file previously created\n\t\t\t\t\tcmdSummary(data, log);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"DESCRIBE\":\n\t\t\t\t// if there are exactly 4 arguments in the case of the DESCRIBE command, \n\t\t\t\t// it means there is a size parameter also being passed into the according method \n\t\t\t\tif(args.length == 4) {\n\t\t\t\t\t// Set the Size as the fourth element of the arguments provided \n\t\t\t\t\tSize = args[3];\n\t\t\t\t\t// Send the same data, log, cmd, and timeRN into the correct method as the other case statements\n\t\t\t\t\t// Also pass into the cmdDescribe method, the description of the task that was supplied\n\t\t\t\t\t// As well as the Size of the task that was also supplied\n\t\t\t\t\tcmdDescribe(data, log, cmd, timeRN, desc, Size);\n\t\t\t\t} else {\n\t\t\t\t\t// Send all the same data as the previous describe case, except exclude the Size, as this was not supplied\n\t\t\t\t\tcmdDescribe(data, log, cmd, timeRN, desc);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t// If the SIZE is supplied, go to this case, and then enter the below if/else statement\n\t\t\tcase \"SIZE\":\n\t\t\t\t// This says if there are exactly 3 arguments enter this statement\n\t\t\t\tif(args.length == 3) {\n\t\t\t\t\t// if there are the correct number of arguments, use these to set the Size parameter as the third argument\n\t\t\t\t\tSize = args[2];\n\t\t\t\t\t// Send all the data (Previously described), into the cmdSize method as shown\n\t\t\t\t\tcmdSize(data, log, cmd, timeRN, Size);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t// NO NEED FOR DEFAULT CASE, AS THIS WAS ALREADY HANDLED PREVIOUSLY\n\t\t\t// If I put another Usage() case, it will the same this out twice, TESTED AND CONFIRMED\n\t\t}\n\t}","title":""},{"docid":"54adf2c377313e0976d85f35fb761ff4","score":"0.7038207","text":"public static void main(String[] args) {\n\n\n\n\n\n\n }","title":""},{"docid":"54adf2c377313e0976d85f35fb761ff4","score":"0.7038207","text":"public static void main(String[] args) {\n\n\n\n\n\n\n }","title":""},{"docid":"e592ef4d997461e42e778c06289f2f52","score":"0.7037137","text":"public static void main (String[] args) {\n\t\tmain(); //Calls main\n\t}","title":""},{"docid":"dfed6b0616bc419c7050fdc08532065d","score":"0.7035921","text":"public static void main(String[] args){launch(args);}","title":""},{"docid":"5d1d2f6141f1e4bc1159e0286ac82479","score":"0.7033414","text":"static void main(String[] args) {\n\n\t}","title":""},{"docid":"19ea1fbeba3f2b56c543dbcead8b3206","score":"0.7029528","text":"private static void main(String[] args) {\n\t}","title":""},{"docid":"c8203c5fd7842ba86f30eacab8cb1d77","score":"0.70268345","text":"public static void main (String args[]){\n \n \n }","title":""},{"docid":"b085f29339040920fcfbb8b39ad223b8","score":"0.70224607","text":"private Main() {\n \n }","title":""},{"docid":"41091378a494954abda53dd7f21a8480","score":"0.702092","text":"public static void main(String[] args) {\n\t\t// ...\n\t}","title":""},{"docid":"d44a8e113d9c8e0b3c032ed10866602b","score":"0.7018396","text":"public static void main(String[] args) {\n FileHandler.readFile(EXAMPLE_PROGRAM_NAME);\n\n // Create the JSON object from the read string\n JSONHandler.setJSONobjectFromString(FileHandler.getLastReadFile());\n \n // Load the program using the ProgramHandler\n ProgramHandler.loadProgram();\n \n // Show generated code\n ProgramHandler.showGeneratedCode();\n ProgramHandler.saveCodeToFile(OUTPUT_FILE_NAME);\n \n }","title":""},{"docid":"23e516a16d7716368e139de7452fffdc","score":"0.7018119","text":"public static void main(String[] args) { launch(args); }","title":""},{"docid":"23e516a16d7716368e139de7452fffdc","score":"0.7018119","text":"public static void main(String[] args) { launch(args); }","title":""},{"docid":"090d289ca6eb86fd8e524d34a02e1585","score":"0.7012309","text":"public static void main(String[] args) {\r\n\r\n\r\n }","title":""},{"docid":"deaf5da8d0f3bce6e2e3efce38bf9bd8","score":"0.6995075","text":"private void goMain(){\n }","title":""},{"docid":"18be2bc99ff20944d7bd15456d48e045","score":"0.69944775","text":"public static void main(String[]args){\n\n }","title":""},{"docid":"f4a63c2764b0345bcb79000dd7577102","score":"0.6993712","text":"public static void main(String[] args) {\n\t\t\n\t\tProgram program = new Program();\n\t\tprogram.run();\n\t\t\n\t}","title":""},{"docid":"366c612b3ed55fd44e6b0fbaf0fb4e8e","score":"0.6991013","text":"public static void main(String[] args) {\r\n \r\n \r\n \r\n }","title":""},{"docid":"f41967b70aa9ecd298f2f3615251964c","score":"0.6990793","text":"public static void main(String[] args){\n \t\t\n \t}","title":""},{"docid":"50e8504ea37a5014721a11dd4db0bf1e","score":"0.6989786","text":"public static void main(String []args) {\n\n }","title":""},{"docid":"6887f1f60b8d149ed541d0c222b2945a","score":"0.6989661","text":"public static void main(String[] args) {\nSystem.out.println(\"Lesson 6\");\r\n\t}","title":""},{"docid":"af8ff2928a4d02a0b7b25334fdfc724e","score":"0.6988892","text":"public static void main (String [] args) {\n\t\t\n\t}","title":""},{"docid":"89b85250b9bc6b8d520984d2e6380638","score":"0.698868","text":"public static void main(String[] args) {\n\t\t\n\t}","title":""},{"docid":"c2e686e646cf86652514844355a21a94","score":"0.69858056","text":"public static void main(String[] args) {\n\r\n new Main();\r\n }","title":""},{"docid":"fdc62ffe06931270062aa30c26b36b1f","score":"0.69851357","text":"public static void main(String[] args) {\n\t\t\t\n\t}","title":""},{"docid":"6d62be82cdc116b382c400aa964df949","score":"0.6978469","text":"public static void main(String[] args) {\n\n\n\n }","title":""},{"docid":"6d62be82cdc116b382c400aa964df949","score":"0.6978469","text":"public static void main(String[] args) {\n\n\n\n }","title":""},{"docid":"6d62be82cdc116b382c400aa964df949","score":"0.6978469","text":"public static void main(String[] args) {\n\n\n\n }","title":""},{"docid":"6d62be82cdc116b382c400aa964df949","score":"0.6978469","text":"public static void main(String[] args) {\n\n\n\n }","title":""},{"docid":"6d62be82cdc116b382c400aa964df949","score":"0.6978469","text":"public static void main(String[] args) {\n\n\n\n }","title":""},{"docid":"d82f855f9e33bef7c29daae8ad440316","score":"0.69708484","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"39eb1572954f820a39cda740993d87b5","score":"0.6970386","text":"public static void main(String[] argv){\n\t}","title":""},{"docid":"61bbd758a7a4ade65d6ea6e611583584","score":"0.6969574","text":"public static void main(String[] argc) {\n\n\n\n\n\n\n }","title":""},{"docid":"af849445052b6ceb7a9485e89a48d61f","score":"0.69648856","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"af849445052b6ceb7a9485e89a48d61f","score":"0.69648856","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"af849445052b6ceb7a9485e89a48d61f","score":"0.69648856","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"af849445052b6ceb7a9485e89a48d61f","score":"0.69648856","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"af849445052b6ceb7a9485e89a48d61f","score":"0.69648856","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"af849445052b6ceb7a9485e89a48d61f","score":"0.69648856","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"faf1c00082c08eec53d4a82259d8e8d7","score":"0.69585884","text":"public static void main( String args[] )\n {\n \n }","title":""},{"docid":"1cf25a985df21cbba2bf283a36283fb6","score":"0.69568694","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"a4b8ee5d7eec21d5889324e86ab75c08","score":"0.69481665","text":"public static void main(String[] args) {\n\n\n\n\n }","title":""},{"docid":"a4b8ee5d7eec21d5889324e86ab75c08","score":"0.69481665","text":"public static void main(String[] args) {\n\n\n\n\n }","title":""},{"docid":"de978d4e7d1b757a613b99f83fab2144","score":"0.69450223","text":"public static void main (String [] args){\n\tSystem.out.println(\"THis works\");\n }","title":""},{"docid":"20fc53ac2b1f8633ba024d7c67a88a0d","score":"0.69449097","text":"public static void main(String[] args) {\n// Het is niet erg als dit leeg is.\n }","title":""},{"docid":"d93e1780270fe7e9c4f9f36a7235cb65","score":"0.69419646","text":"public static void main(String[] args) throws IOException {\n\t\t\r\n\t}","title":""},{"docid":"55d0f789b29a52bfdc42ff15f0fbf025","score":"0.6941716","text":"public static void main(String[] args) {\n \n \n }","title":""},{"docid":"55d0f789b29a52bfdc42ff15f0fbf025","score":"0.6941716","text":"public static void main(String[] args) {\n \n \n }","title":""},{"docid":"971f0f0b50fe9068c523bc7f18b04f70","score":"0.69406915","text":"private void program() {\n System.out.println(\"#include \");\n System.out.println(\"main()\");\n block();\n }","title":""},{"docid":"ae86a2b73873d19a10cd16d91f5fd9e7","score":"0.6937936","text":"public static void main(String[] args) {\n \t}","title":""},{"docid":"127946574ea7d4b163b754f0c5eec5b6","score":"0.69289","text":"public static void main() throws Exception {\n\n }","title":""},{"docid":"c78a2256de944e4a9687015f169f6a3d","score":"0.69287056","text":"public static void main(String[] args) throws IOException {\n\t\tlaunch(args);\n\t}","title":""},{"docid":"aae84da3da8eebfd312b9771a467a085","score":"0.6925227","text":"public static void main(String[]args)\n {\n }","title":""},{"docid":"5d89ba565d64a388c20408f694cdf0cd","score":"0.6922991","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"5d89ba565d64a388c20408f694cdf0cd","score":"0.6922991","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"daed2a0b034d75c5e4f77e570180617a","score":"0.69188935","text":"public static void main(String[] args) {\n \n }","title":""},{"docid":"a60fde24f3e48e4812ca51b824266acf","score":"0.6915718","text":"public static void main(String[] args) {\n \r\n\t}","title":""},{"docid":"11d80eb84c5d27ecefa3f49f241cff49","score":"0.6915599","text":"public static void main(String[] args) {\n\n\n\n\n\t}","title":""},{"docid":"fad77b138e4f2d8c2e7dcd6cb6700286","score":"0.6914846","text":"public static void main (String [] args) {\n\n }","title":""},{"docid":"db04913635d25bdd36f8e7c65332ec09","score":"0.69144285","text":"public static void main(String[] args)\n {\n\n\n }","title":""},{"docid":"65f75e468e53b663e921769a060a0019","score":"0.6912915","text":"public static void main(String[] args) {\n\t\tnew Main();\r\n\r\n\t}","title":""},{"docid":"a3d1937e236c5a85399d26d6902af304","score":"0.6912602","text":"public static void Main()\n {\n // This will make a fresh game to play from the start\n newGame = new Game();\n \n // This will run the game so that the user can start playing\n newGame.play();\n \n // This will close out of the game when it is over\n System.exit(0);\n\n }","title":""},{"docid":"ecd7b9d681edff0a20b2ed63629afa6c","score":"0.69024056","text":"public static void main (String [] args) {\n\t}","title":""},{"docid":"d43edba93f47b1baec0b35b730203792","score":"0.6902226","text":"public static void main(String[] args) {\n\n\t }","title":""},{"docid":"0575e2291352c6855189e568eff2c807","score":"0.69018614","text":"public static void main (String[] args){\n\n\n }","title":""},{"docid":"3c9445779430046cdc4f3fd7d887ceb6","score":"0.69004065","text":"public static void main(String[] args) {\r\n\r\n }","title":""},{"docid":"3c9445779430046cdc4f3fd7d887ceb6","score":"0.69004065","text":"public static void main(String[] args) {\r\n\r\n }","title":""},{"docid":"3c9445779430046cdc4f3fd7d887ceb6","score":"0.69004065","text":"public static void main(String[] args) {\r\n\r\n }","title":""},{"docid":"7fd4d3f6416e8314a9ec838aae4d2bf6","score":"0.68989575","text":"public static void main(String args[]) {}","title":""},{"docid":"7fd4d3f6416e8314a9ec838aae4d2bf6","score":"0.68989575","text":"public static void main(String args[]) {}","title":""},{"docid":"7fd4d3f6416e8314a9ec838aae4d2bf6","score":"0.68989575","text":"public static void main(String args[]) {}","title":""},{"docid":"e6d8d284b71e8f4ad1daf4af78f425cd","score":"0.6898075","text":"public static void main(String [] args)\n {\n\n\n }","title":""},{"docid":"7c0f87b4e3eb2d5aa86018ea3536bd48","score":"0.6895983","text":"public static void main(String[] args) {\n\t\tlaunch(args); \r\n\t}","title":""},{"docid":"7486477701c3435fe7cad4d4b72cb2fd","score":"0.68904036","text":"public static void main(String[] args)\n {\n\n }","title":""},{"docid":"7486477701c3435fe7cad4d4b72cb2fd","score":"0.68904036","text":"public static void main(String[] args)\n {\n\n }","title":""},{"docid":"7486477701c3435fe7cad4d4b72cb2fd","score":"0.68904036","text":"public static void main(String[] args)\n {\n\n }","title":""},{"docid":"45f1304a6ca7ed032637de1a652f020e","score":"0.6888219","text":"public Main() {\n \n }","title":""},{"docid":"cd87fa72e88fe306653c7271f4a029f4","score":"0.6888045","text":"public static void main(String[] args) { }","title":""},{"docid":"ab533d36ea195c7f79ca20ef90a704e5","score":"0.6887264","text":"public static void main(String[] args) {\r\n }","title":""},{"docid":"ab533d36ea195c7f79ca20ef90a704e5","score":"0.6887264","text":"public static void main(String[] args) {\r\n }","title":""}],"string":"[\n {\n \"docid\": \"092dbc6e7dbe0409ae3adfd1cb6baaa1\",\n \"score\": \"0.7738337\",\n \"text\": \"public void main() {\\n\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ce05ce5423abf66102e73c40851f978\",\n \"score\": \"0.7608695\",\n \"text\": \"public static void main (String args[])\\n {\\n new Main().begin();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10ad2b105ed7c8240fc0586b0e8d6497\",\n \"score\": \"0.74162924\",\n \"text\": \"public static final void main() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91a7ef53ff91dd30e7b199ca2a288ad9\",\n \"score\": \"0.7383993\",\n \"text\": \"public static void main() throws IOException {\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88ca85c3ffb0c853c11e7dedb0ab97bf\",\n \"score\": \"0.7350041\",\n \"text\": \"public static void main(String[] args) {\\n System.out.println(\\\"Added new program\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7c8f62b955211fe30251ad1eef73b21\",\n \"score\": \"0.7343829\",\n \"text\": \"public static void main(String[] args) {\\n \\n\\n\\n \\tnew Main().doMain(args); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b95087e37f62acbb59919d3299c316\",\n \"score\": \"0.7235156\",\n \"text\": \"public static void main (String [] args ) throws IOException {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"476ca7bd2c77ebff5bb3004436533b9a\",\n \"score\": \"0.7217305\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tlaunch(args);\\r\\n\\t\\r\\n\\t\\t//uncomment this to test whatever you want\\r\\n\\t\\t//DemoCodes.main();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd770c48c37a7d5a20da9970f5e72b4a\",\n \"score\": \"0.7160244\",\n \"text\": \"public static void main(String[] args) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba24e4e5782b4251c9fc0a09cf818a6c\",\n \"score\": \"0.7153214\",\n \"text\": \"public static void main (String[] args){\\n Lesson05();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ced340c8ac6ba92460ee12060fa2739d\",\n \"score\": \"0.7150234\",\n \"text\": \"public static void main (String[] args)\\n {\\n\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75b6802abc26c720bc00e89230d0260f\",\n \"score\": \"0.71438855\",\n \"text\": \"public static void main(String[] args) {\\n\\r\\n\\t\\tnew Main().perform();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf95cb8db1b29d5f205988533c8d0308\",\n \"score\": \"0.71265453\",\n \"text\": \"public static void main(String[] args) {\\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"472725814d0474331f0e3d9728d1a993\",\n \"score\": \"0.7104612\",\n \"text\": \"public void main(String[] args) {\\n\\t\\t\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"329743a78373d7f37df932b2ace4660b\",\n \"score\": \"0.71033365\",\n \"text\": \"public static void main (String[] args) {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb058fb9337411eb16636f6f11721966\",\n \"score\": \"0.7090366\",\n \"text\": \"public static void main(String[] args) {\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"334a0797a8e482fb2acf4cad17301ac8\",\n \"score\": \"0.7083059\",\n \"text\": \"public static void main(String[] args)\\n\\t\\t{\\n\\t\\tmain();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53163eedc9a0235599ad741222126518\",\n \"score\": \"0.70793617\",\n \"text\": \"public static void main(String[] args) {\\n //test Stefan\\n\\n // I have written your code There\\n //\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f25ea0405e6793f48b3d35d4257e7d4\",\n \"score\": \"0.707422\",\n \"text\": \"public static void main(String[] args) {\\n \\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2402099d60ddd3b8b4d6dd0f2e3b96f7\",\n \"score\": \"0.7067591\",\n \"text\": \"public static void main(String args[]) throws IOException {\\r\\n //\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aaeebb5cda1ce0119b2edb76a030a890\",\n \"score\": \"0.7066227\",\n \"text\": \"public static void main(String[] args) {\\n\\n Excercise1 ex1 = new Excercise1();\\n ex1.run();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e97a158da62462c47cdacd87cd5e49c3\",\n \"score\": \"0.70446944\",\n \"text\": \"void appMain(String [] args) throws IOException {\\n\\n\\t\\t// for the following comments: \\\"~\\\" = \\\"Stands For\\\"/\\\"Represents\\\"\\n\\t\\t// Initialize cmd with empty quotes so it has a starting value in memory\\n\\t\\t// cmd ~ command\\n\\t\\tString cmd = \\\"\\\";\\n\\t\\t// Initialize data with empty quotes so it has a starting value in memory\\n\\t\\t// data ~ Name\\n\\t\\t// It should represent the Task name in the current state of this application,\\n\\t\\t// yet might change its function to be for multiple scenarios\\n\\t\\tString data = \\\"\\\";\\n\\t\\t// Initialize desc with empty quotes so it has a starting value in memory\\n\\t\\t// desc ~ description\\n\\t\\tString desc = \\\"\\\";\\n\\n\\n\\t\\t// Create a new Log() function\\n\\t\\t// This will allow all commands, task name, descriptions, etc. to be written to a log file and be stored\\n\\t\\tLog log = new Log();\\n\\n\\t\\t// Create a new LocalDateTime with name of timeRN, this will get the exact current time when called\\n\\t\\t// This will allow for time calculations and start and end times to be completed\\n\\t\\tLocalDateTime timeRN = LocalDateTime.now();\\n\\n\\t\\t// created a try/catch block that will output the Usage() statement if there is an error\\n\\t\\ttry {\\n\\t\\t\\t// set the command as the first argument in the running of the program\\n\\t\\t\\tcmd = args[0];\\n\\n\\t\\t\\t// make the command argument all uppercase\\n\\t\\t\\t// This will allow any mixture of uppercase and lower case in the command argument to be used\\n\\t\\t\\tcmd = cmd.toUpperCase();\\n\\n\\t\\t\\t// Check to see if the command equals uppercase \\\"DESCRIBE\\\"\\n\\t\\t\\t// It is uppercase because the command value should be set to uppercase in a previous statement.\\n\\t\\t\\tif(cmd.equals(\\\"DESCRIBE\\\")){\\n\\n\\t\\t\\t\\t// If DESCRIBE is the command, set the third argument (as it starts at 0) to be the description\\n\\t\\t\\t\\t// This will set the \\\"desc\\\" as the actual description to be saved, later in the program\\n\\t\\t\\t\\tdesc = args[2];\\n\\n\\t\\t\\t}\\n\\t\\t\\t// If it is not equal to DESCRIBE, set the description to an empty value of a String\\n\\t\\t\\t// This will make sure that it won't have an error if there is no description\\n\\t\\t\\telse {\\n\\t\\t\\t\\tdesc = \\\"\\\";\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Check to see if the command equals SUMMARY (uppper case once again, as I set it to all uppercase previously)\\n\\t\\t\\t// If that is true, it will check the next part of the IF statement,\\n\\t\\t\\t// which checks to see if there are less than 2 argument statments\\n\\t\\t\\t// Kept the two if statements separate due to the ending else statements being different\\n\\t\\t\\tif(cmd.equals(\\\"SUMMARY\\\") && args.length < 2){\\n\\n\\t\\t\\t\\t// If this is true set the name (aka 'data') to be null, as it is not needed if these are true\\n\\t\\t\\t\\tdata = null;\\n\\n\\t\\t\\t}\\n\\t\\t\\t// Every other case that doesn't follow this statement will then make the name (aka 'data'),\\n\\t\\t\\t// to be the second argument, allowing for the continuation of the program\\n\\t\\t\\telse {\\n\\t\\t\\t\\tdata = args[1];\\n\\t\\t\\t}\\n\\n\\t\\t}\\n\\t\\t// If any of these fail due to an exception of too many or too few arguments it will print out the Usage() statement\\n\\t\\t// This will allow the user to understand how to run the program\\n\\t\\tcatch (ArrayIndexOutOfBoundsException err) {\\n\\t\\t\\tUsage();\\n\\t\\t}\\n\\n\\t\\t// Set up a SWITCH statement to check for each of the UPPERCASE values of the command\\n\\t\\tswitch(cmd){\\n\\t\\t\\t// If the case is STOP, pass in the following:\\n\\t\\t\\t// data, also known as the name of the task\\n\\t\\t\\t// log, the initialized log file that will handle the data, and record all of it\\n\\t\\t\\t// cmd, aka the UPPERCASE command that was run\\n\\t\\t\\t// timeRN, aka the LocalDateTime.now() command which gets the current time down past the second\\n\\t\\t\\tcase \\\"STOP\\\": cmdStop(data, log, cmd, timeRN);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t// if the case is START, pass in the following:\\n\\t\\t\\t// data, also known as the name of the task\\n\\t\\t\\t// log, the initialized log file that will handle the data, and record all of it\\n\\t\\t\\t// cmd, aka the UPPERCASE command that was run\\n\\t\\t\\t// timeRN, aka the LocalDateTime.now() command which gets the current time down past the second\\n\\t\\t\\tcase \\\"START\\\": cmdStart(data, log, cmd, timeRN);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t// If the case is SUMMARY, it will run into and if/else scenario\\n\\t\\t\\tcase \\\"SUMMARY\\\": \\n\\t\\t\\t\\t// If the name of the task is unknown, it means that the user is requesting the full summary/log file\\n\\t\\t\\t\\tif(data == null) {\\n\\t\\t\\t\\t\\t// This will just pass the log only, which will run into the appropriate method,\\n\\t\\t\\t\\t\\t// to return all summary data\\n\\t\\t\\t\\t\\tcmdSummary(log);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t// if there is any other data, it will send the name of the task,\\n\\t\\t\\t\\t\\t// as well as the log file previously created\\n\\t\\t\\t\\t\\tcmdSummary(data, log);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"DESCRIBE\\\":\\n\\t\\t\\t\\t// if there are exactly 4 arguments in the case of the DESCRIBE command, \\n\\t\\t\\t\\t// it means there is a size parameter also being passed into the according method \\n\\t\\t\\t\\tif(args.length == 4) {\\n\\t\\t\\t\\t\\t// Set the Size as the fourth element of the arguments provided \\n\\t\\t\\t\\t\\tSize = args[3];\\n\\t\\t\\t\\t\\t// Send the same data, log, cmd, and timeRN into the correct method as the other case statements\\n\\t\\t\\t\\t\\t// Also pass into the cmdDescribe method, the description of the task that was supplied\\n\\t\\t\\t\\t\\t// As well as the Size of the task that was also supplied\\n\\t\\t\\t\\t\\tcmdDescribe(data, log, cmd, timeRN, desc, Size);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Send all the same data as the previous describe case, except exclude the Size, as this was not supplied\\n\\t\\t\\t\\t\\tcmdDescribe(data, log, cmd, timeRN, desc);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t// If the SIZE is supplied, go to this case, and then enter the below if/else statement\\n\\t\\t\\tcase \\\"SIZE\\\":\\n\\t\\t\\t\\t// This says if there are exactly 3 arguments enter this statement\\n\\t\\t\\t\\tif(args.length == 3) {\\n\\t\\t\\t\\t\\t// if there are the correct number of arguments, use these to set the Size parameter as the third argument\\n\\t\\t\\t\\t\\tSize = args[2];\\n\\t\\t\\t\\t\\t// Send all the data (Previously described), into the cmdSize method as shown\\n\\t\\t\\t\\t\\tcmdSize(data, log, cmd, timeRN, Size);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t// NO NEED FOR DEFAULT CASE, AS THIS WAS ALREADY HANDLED PREVIOUSLY\\n\\t\\t\\t// If I put another Usage() case, it will the same this out twice, TESTED AND CONFIRMED\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54adf2c377313e0976d85f35fb761ff4\",\n \"score\": \"0.7038207\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54adf2c377313e0976d85f35fb761ff4\",\n \"score\": \"0.7038207\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e592ef4d997461e42e778c06289f2f52\",\n \"score\": \"0.7037137\",\n \"text\": \"public static void main (String[] args) {\\n\\t\\tmain(); //Calls main\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfed6b0616bc419c7050fdc08532065d\",\n \"score\": \"0.7035921\",\n \"text\": \"public static void main(String[] args){launch(args);}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1d2f6141f1e4bc1159e0286ac82479\",\n \"score\": \"0.7033414\",\n \"text\": \"static void main(String[] args) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19ea1fbeba3f2b56c543dbcead8b3206\",\n \"score\": \"0.7029528\",\n \"text\": \"private static void main(String[] args) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8203c5fd7842ba86f30eacab8cb1d77\",\n \"score\": \"0.70268345\",\n \"text\": \"public static void main (String args[]){\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b085f29339040920fcfbb8b39ad223b8\",\n \"score\": \"0.70224607\",\n \"text\": \"private Main() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41091378a494954abda53dd7f21a8480\",\n \"score\": \"0.702092\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t// ...\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d44a8e113d9c8e0b3c032ed10866602b\",\n \"score\": \"0.7018396\",\n \"text\": \"public static void main(String[] args) {\\n FileHandler.readFile(EXAMPLE_PROGRAM_NAME);\\n\\n // Create the JSON object from the read string\\n JSONHandler.setJSONobjectFromString(FileHandler.getLastReadFile());\\n \\n // Load the program using the ProgramHandler\\n ProgramHandler.loadProgram();\\n \\n // Show generated code\\n ProgramHandler.showGeneratedCode();\\n ProgramHandler.saveCodeToFile(OUTPUT_FILE_NAME);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23e516a16d7716368e139de7452fffdc\",\n \"score\": \"0.7018119\",\n \"text\": \"public static void main(String[] args) { launch(args); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23e516a16d7716368e139de7452fffdc\",\n \"score\": \"0.7018119\",\n \"text\": \"public static void main(String[] args) { launch(args); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"090d289ca6eb86fd8e524d34a02e1585\",\n \"score\": \"0.7012309\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"deaf5da8d0f3bce6e2e3efce38bf9bd8\",\n \"score\": \"0.6995075\",\n \"text\": \"private void goMain(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18be2bc99ff20944d7bd15456d48e045\",\n \"score\": \"0.69944775\",\n \"text\": \"public static void main(String[]args){\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a63c2764b0345bcb79000dd7577102\",\n \"score\": \"0.6993712\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\tProgram program = new Program();\\n\\t\\tprogram.run();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"366c612b3ed55fd44e6b0fbaf0fb4e8e\",\n \"score\": \"0.6991013\",\n \"text\": \"public static void main(String[] args) {\\r\\n \\r\\n \\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f41967b70aa9ecd298f2f3615251964c\",\n \"score\": \"0.6990793\",\n \"text\": \"public static void main(String[] args){\\n \\t\\t\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50e8504ea37a5014721a11dd4db0bf1e\",\n \"score\": \"0.6989786\",\n \"text\": \"public static void main(String []args) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6887f1f60b8d149ed541d0c222b2945a\",\n \"score\": \"0.6989661\",\n \"text\": \"public static void main(String[] args) {\\nSystem.out.println(\\\"Lesson 6\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af8ff2928a4d02a0b7b25334fdfc724e\",\n \"score\": \"0.6988892\",\n \"text\": \"public static void main (String [] args) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89b85250b9bc6b8d520984d2e6380638\",\n \"score\": \"0.698868\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2e686e646cf86652514844355a21a94\",\n \"score\": \"0.69858056\",\n \"text\": \"public static void main(String[] args) {\\n\\r\\n new Main();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdc62ffe06931270062aa30c26b36b1f\",\n \"score\": \"0.69851357\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d62be82cdc116b382c400aa964df949\",\n \"score\": \"0.6978469\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d62be82cdc116b382c400aa964df949\",\n \"score\": \"0.6978469\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d62be82cdc116b382c400aa964df949\",\n \"score\": \"0.6978469\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d62be82cdc116b382c400aa964df949\",\n \"score\": \"0.6978469\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d62be82cdc116b382c400aa964df949\",\n \"score\": \"0.6978469\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d82f855f9e33bef7c29daae8ad440316\",\n \"score\": \"0.69708484\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39eb1572954f820a39cda740993d87b5\",\n \"score\": \"0.6970386\",\n \"text\": \"public static void main(String[] argv){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61bbd758a7a4ade65d6ea6e611583584\",\n \"score\": \"0.6969574\",\n \"text\": \"public static void main(String[] argc) {\\n\\n\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af849445052b6ceb7a9485e89a48d61f\",\n \"score\": \"0.69648856\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af849445052b6ceb7a9485e89a48d61f\",\n \"score\": \"0.69648856\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af849445052b6ceb7a9485e89a48d61f\",\n \"score\": \"0.69648856\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af849445052b6ceb7a9485e89a48d61f\",\n \"score\": \"0.69648856\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af849445052b6ceb7a9485e89a48d61f\",\n \"score\": \"0.69648856\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af849445052b6ceb7a9485e89a48d61f\",\n \"score\": \"0.69648856\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faf1c00082c08eec53d4a82259d8e8d7\",\n \"score\": \"0.69585884\",\n \"text\": \"public static void main( String args[] )\\n {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cf25a985df21cbba2bf283a36283fb6\",\n \"score\": \"0.69568694\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4b8ee5d7eec21d5889324e86ab75c08\",\n \"score\": \"0.69481665\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4b8ee5d7eec21d5889324e86ab75c08\",\n \"score\": \"0.69481665\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de978d4e7d1b757a613b99f83fab2144\",\n \"score\": \"0.69450223\",\n \"text\": \"public static void main (String [] args){\\n\\tSystem.out.println(\\\"THis works\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20fc53ac2b1f8633ba024d7c67a88a0d\",\n \"score\": \"0.69449097\",\n \"text\": \"public static void main(String[] args) {\\n// Het is niet erg als dit leeg is.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d93e1780270fe7e9c4f9f36a7235cb65\",\n \"score\": \"0.69419646\",\n \"text\": \"public static void main(String[] args) throws IOException {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d0f789b29a52bfdc42ff15f0fbf025\",\n \"score\": \"0.6941716\",\n \"text\": \"public static void main(String[] args) {\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d0f789b29a52bfdc42ff15f0fbf025\",\n \"score\": \"0.6941716\",\n \"text\": \"public static void main(String[] args) {\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"971f0f0b50fe9068c523bc7f18b04f70\",\n \"score\": \"0.69406915\",\n \"text\": \"private void program() {\\n System.out.println(\\\"#include \\\");\\n System.out.println(\\\"main()\\\");\\n block();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae86a2b73873d19a10cd16d91f5fd9e7\",\n \"score\": \"0.6937936\",\n \"text\": \"public static void main(String[] args) {\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"127946574ea7d4b163b754f0c5eec5b6\",\n \"score\": \"0.69289\",\n \"text\": \"public static void main() throws Exception {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c78a2256de944e4a9687015f169f6a3d\",\n \"score\": \"0.69287056\",\n \"text\": \"public static void main(String[] args) throws IOException {\\n\\t\\tlaunch(args);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aae84da3da8eebfd312b9771a467a085\",\n \"score\": \"0.6925227\",\n \"text\": \"public static void main(String[]args)\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d89ba565d64a388c20408f694cdf0cd\",\n \"score\": \"0.6922991\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d89ba565d64a388c20408f694cdf0cd\",\n \"score\": \"0.6922991\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daed2a0b034d75c5e4f77e570180617a\",\n \"score\": \"0.69188935\",\n \"text\": \"public static void main(String[] args) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a60fde24f3e48e4812ca51b824266acf\",\n \"score\": \"0.6915718\",\n \"text\": \"public static void main(String[] args) {\\n \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11d80eb84c5d27ecefa3f49f241cff49\",\n \"score\": \"0.6915599\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\n\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fad77b138e4f2d8c2e7dcd6cb6700286\",\n \"score\": \"0.6914846\",\n \"text\": \"public static void main (String [] args) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db04913635d25bdd36f8e7c65332ec09\",\n \"score\": \"0.69144285\",\n \"text\": \"public static void main(String[] args)\\n {\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65f75e468e53b663e921769a060a0019\",\n \"score\": \"0.6912915\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tnew Main();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3d1937e236c5a85399d26d6902af304\",\n \"score\": \"0.6912602\",\n \"text\": \"public static void Main()\\n {\\n // This will make a fresh game to play from the start\\n newGame = new Game();\\n \\n // This will run the game so that the user can start playing\\n newGame.play();\\n \\n // This will close out of the game when it is over\\n System.exit(0);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecd7b9d681edff0a20b2ed63629afa6c\",\n \"score\": \"0.69024056\",\n \"text\": \"public static void main (String [] args) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d43edba93f47b1baec0b35b730203792\",\n \"score\": \"0.6902226\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0575e2291352c6855189e568eff2c807\",\n \"score\": \"0.69018614\",\n \"text\": \"public static void main (String[] args){\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c9445779430046cdc4f3fd7d887ceb6\",\n \"score\": \"0.69004065\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c9445779430046cdc4f3fd7d887ceb6\",\n \"score\": \"0.69004065\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c9445779430046cdc4f3fd7d887ceb6\",\n \"score\": \"0.69004065\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fd4d3f6416e8314a9ec838aae4d2bf6\",\n \"score\": \"0.68989575\",\n \"text\": \"public static void main(String args[]) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fd4d3f6416e8314a9ec838aae4d2bf6\",\n \"score\": \"0.68989575\",\n \"text\": \"public static void main(String args[]) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fd4d3f6416e8314a9ec838aae4d2bf6\",\n \"score\": \"0.68989575\",\n \"text\": \"public static void main(String args[]) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6d8d284b71e8f4ad1daf4af78f425cd\",\n \"score\": \"0.6898075\",\n \"text\": \"public static void main(String [] args)\\n {\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c0f87b4e3eb2d5aa86018ea3536bd48\",\n \"score\": \"0.6895983\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tlaunch(args); \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7486477701c3435fe7cad4d4b72cb2fd\",\n \"score\": \"0.68904036\",\n \"text\": \"public static void main(String[] args)\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7486477701c3435fe7cad4d4b72cb2fd\",\n \"score\": \"0.68904036\",\n \"text\": \"public static void main(String[] args)\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7486477701c3435fe7cad4d4b72cb2fd\",\n \"score\": \"0.68904036\",\n \"text\": \"public static void main(String[] args)\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45f1304a6ca7ed032637de1a652f020e\",\n \"score\": \"0.6888219\",\n \"text\": \"public Main() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd87fa72e88fe306653c7271f4a029f4\",\n \"score\": \"0.6888045\",\n \"text\": \"public static void main(String[] args) { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab533d36ea195c7f79ca20ef90a704e5\",\n \"score\": \"0.6887264\",\n \"text\": \"public static void main(String[] args) {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab533d36ea195c7f79ca20ef90a704e5\",\n \"score\": \"0.6887264\",\n \"text\": \"public static void main(String[] args) {\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":847,"cells":{"query_id":{"kind":"string","value":"fdc00f5cd240e701fcb4de3801e94add"},"query":{"kind":"string","value":"Setter for the id."},"positive_passages":{"kind":"list like","value":[{"docid":"3d086aba1b0882c84f4e975a57fe6a84","score":"0.0","text":"public void setId( Integer id )\n {\n _nId = id;\n }","title":""}],"string":"[\n {\n \"docid\": \"3d086aba1b0882c84f4e975a57fe6a84\",\n \"score\": \"0.0\",\n \"text\": \"public void setId( Integer id )\\n {\\n _nId = id;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"765049c5a4fe882245c9a6b58e7e05e0","score":"0.84806633","text":"public void setid(int value) {\n this.id = value;\n }","title":""},{"docid":"8f1681d629395cfa911f0d096eca79ae","score":"0.8414706","text":"@Override\n\t\tpublic void setId(long id) {\n\t\t\tthis.id = Long.toString(id);\n\t\t}","title":""},{"docid":"6d948e1982866f98803b554d58dc98df","score":"0.8327612","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"47662f89af394dd62bdbc57aedb2cd36","score":"0.8318764","text":"public void setId(String value)\n {\n id = value;\n }","title":""},{"docid":"62080f11b512976222e6e1838e281805","score":"0.83060515","text":"@Override\r\n\tpublic void setId(long value) {\r\n this.id = value;\r\n }","title":""},{"docid":"dd941c0fac47c2be665ca9de3bc2951d","score":"0.82440543","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"dd941c0fac47c2be665ca9de3bc2951d","score":"0.82440543","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"dd941c0fac47c2be665ca9de3bc2951d","score":"0.82440543","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"dd941c0fac47c2be665ca9de3bc2951d","score":"0.82440543","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"dd941c0fac47c2be665ca9de3bc2951d","score":"0.82440543","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"dd941c0fac47c2be665ca9de3bc2951d","score":"0.82440543","text":"public void setId(int value) {\n this.id = value;\n }","title":""},{"docid":"141e0b7695d9141d0ce67934a0af9c58","score":"0.82173884","text":"private void setId(int id) {\n\t\tmId = id;\n\t}","title":""},{"docid":"594ddd406b432223ead8ff843dc4df9e","score":"0.820707","text":"public void setID(int value) {\n this.id = value;\n }","title":""},{"docid":"594ddd406b432223ead8ff843dc4df9e","score":"0.820707","text":"public void setID(int value) {\n this.id = value;\n }","title":""},{"docid":"5a3d8cb16a6d32c2e41aa5ad721ee8f4","score":"0.8194845","text":"public void setId(long id) {\r\n this.id = id;\r\n }","title":""},{"docid":"1cedf068e0c4e10d6a36fc2c0a96766f","score":"0.8179165","text":"public void setId(long id)\r\n\t{\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"7c9928205cfc5c2a3e7c54ec74d4aff5","score":"0.81700236","text":"public void setId(final int id) {\n this.id = id;\n }","title":""},{"docid":"e5ca0bb86080f24f6dd98c65017d019d","score":"0.8168807","text":"public void setId(final int id)\n {\n this.id = id;\n }","title":""},{"docid":"41a28e0ef8c922e9986a387dc29d7d55","score":"0.8167719","text":"public void setId(long id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"41a28e0ef8c922e9986a387dc29d7d55","score":"0.8167719","text":"public void setId(long id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"927fc7a52ac6dc525e0fd021adc80d43","score":"0.81636214","text":"public void setId(java.lang.String value) {\n this.id = value;\n }","title":""},{"docid":"927fc7a52ac6dc525e0fd021adc80d43","score":"0.81636214","text":"public void setId(java.lang.String value) {\n this.id = value;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e3c9bff71177b79a91171c519740b550","score":"0.8150884","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"cbdf576aff0d4d9394900c932c96f751","score":"0.814474","text":"protected void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"78c4c311c2190e3e23d694ff3b6f0243","score":"0.81408507","text":"public void setId(int id) {\r\n\r\n this.id = id;\r\n\r\n }","title":""},{"docid":"c4e0089b5ed8b17bc578c49fff419365","score":"0.81405777","text":"@Override\r\n\tpublic void setId(Integer id) {\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"6e3402e5e29be5dbf86d0f5bf8810a30","score":"0.81329757","text":"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"6e3402e5e29be5dbf86d0f5bf8810a30","score":"0.81329757","text":"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"6e3402e5e29be5dbf86d0f5bf8810a30","score":"0.81329757","text":"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"6e3402e5e29be5dbf86d0f5bf8810a30","score":"0.81329757","text":"public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"208e4d7cf1a7558fa2061bd02111ccf0","score":"0.81276876","text":"public void setId(long value) {\n this.id = value;\n }","title":""},{"docid":"208e4d7cf1a7558fa2061bd02111ccf0","score":"0.81276876","text":"public void setId(long value) {\n this.id = value;\n }","title":""},{"docid":"1b254e0a146b496aee21e30e3a4e0383","score":"0.81254035","text":"public void setId(long id)\n {\n _id = id;\n }","title":""},{"docid":"2f9380e950a0be9e1ff591def01e6d9e","score":"0.8124937","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"2f9380e950a0be9e1ff591def01e6d9e","score":"0.8124937","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"f77a59c09d5c71f4612dbe0e719622bd","score":"0.81155527","text":"@Override\n public void setId(Integer id) {\n this.id = id;\n }","title":""},{"docid":"370c89ec4264533d53889698d284f277","score":"0.81153554","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"370c89ec4264533d53889698d284f277","score":"0.81153554","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"370c89ec4264533d53889698d284f277","score":"0.81153554","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"370c89ec4264533d53889698d284f277","score":"0.81153554","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"370c89ec4264533d53889698d284f277","score":"0.81153554","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"370c89ec4264533d53889698d284f277","score":"0.81153554","text":"public void setId(int id) {\r\n this.id = id;\r\n }","title":""},{"docid":"0247cc07ac3b2b91a775c34076a930c7","score":"0.81014436","text":"public void setId (int id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"d780338f207855a82c75adaaef8eb893","score":"0.810097","text":"public void setId(long value) {\r\n this.id = value;\r\n }","title":""},{"docid":"d780338f207855a82c75adaaef8eb893","score":"0.810097","text":"public void setId(long value) {\r\n this.id = value;\r\n }","title":""},{"docid":"a2f1ca515ed026db1981ea6c9b6eeb04","score":"0.8099266","text":"public void setId(java.lang.Integer id) {\r\n this.id = id;\r\n }","title":""},{"docid":"6f2d5a7f9cc43e15f073d571e5622bee","score":"0.80837303","text":"public void setId(int id) {\r\n\t\t\tthis.id = id;\r\n\t\t}","title":""},{"docid":"b4bfdd788f89f2b99dc19a364bc005b8","score":"0.8076643","text":"public void setId(int id){\n\t\tthis.id = id;\n\t}","title":""},{"docid":"b4bfdd788f89f2b99dc19a364bc005b8","score":"0.8076643","text":"public void setId(int id){\n\t\tthis.id = id;\n\t}","title":""},{"docid":"e65246d2956f7b3e99aff51e320f3949","score":"0.80742675","text":"public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"e65246d2956f7b3e99aff51e320f3949","score":"0.80742675","text":"public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"43db25f9f088dfc595283a3127294298","score":"0.80732197","text":"public void setId(Integer id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"43db25f9f088dfc595283a3127294298","score":"0.80732197","text":"public void setId(Integer id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"43db25f9f088dfc595283a3127294298","score":"0.80732197","text":"public void setId(Integer id) {\r\n\t\tthis.id = id;\r\n\t}","title":""},{"docid":"9e516a7fe715336d57026fc428630b12","score":"0.8072382","text":"public void id(int id) {\n id_ = id;\n }","title":""},{"docid":"48808dba48e8330c4ce16046cd99962b","score":"0.80718964","text":"public void setId(long value) {\n this.id = value;\n }","title":""},{"docid":"48808dba48e8330c4ce16046cd99962b","score":"0.80718964","text":"public void setId(long value) {\n this.id = value;\n }","title":""},{"docid":"94e19d7d5f3a4ed2767d2246bd5e5e22","score":"0.80707276","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"94e19d7d5f3a4ed2767d2246bd5e5e22","score":"0.80707276","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"c437faabcd79788b4f4d3cfafcf17eed","score":"0.80693597","text":"public void setId(int id)\r\n {\r\n this.id = id;\r\n }","title":""},{"docid":"49d0656bf265195f3b7f4d3aefee9a0f","score":"0.806755","text":"public void setId(long id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"49d0656bf265195f3b7f4d3aefee9a0f","score":"0.806755","text":"public void setId(long id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"49d0656bf265195f3b7f4d3aefee9a0f","score":"0.806755","text":"public void setId(long id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"49d0656bf265195f3b7f4d3aefee9a0f","score":"0.806755","text":"public void setId(long id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"49d0656bf265195f3b7f4d3aefee9a0f","score":"0.806755","text":"public void setId(long id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"49d0656bf265195f3b7f4d3aefee9a0f","score":"0.806755","text":"public void setId(long id) {\n\t\tthis.id = id;\n\t}","title":""},{"docid":"d00cd87bb3c7463342b282304c0ee274","score":"0.8059615","text":"public final void setId(final String id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"faa950bca891285a105ad127bf3a8cb9","score":"0.8058859","text":"public void setId(int id) {\n this.id = id;\n }","title":""}],"string":"[\n {\n \"docid\": \"765049c5a4fe882245c9a6b58e7e05e0\",\n \"score\": \"0.84806633\",\n \"text\": \"public void setid(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f1681d629395cfa911f0d096eca79ae\",\n \"score\": \"0.8414706\",\n \"text\": \"@Override\\n\\t\\tpublic void setId(long id) {\\n\\t\\t\\tthis.id = Long.toString(id);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d948e1982866f98803b554d58dc98df\",\n \"score\": \"0.8327612\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47662f89af394dd62bdbc57aedb2cd36\",\n \"score\": \"0.8318764\",\n \"text\": \"public void setId(String value)\\n {\\n id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62080f11b512976222e6e1838e281805\",\n \"score\": \"0.83060515\",\n \"text\": \"@Override\\r\\n\\tpublic void setId(long value) {\\r\\n this.id = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd941c0fac47c2be665ca9de3bc2951d\",\n \"score\": \"0.82440543\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd941c0fac47c2be665ca9de3bc2951d\",\n \"score\": \"0.82440543\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd941c0fac47c2be665ca9de3bc2951d\",\n \"score\": \"0.82440543\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd941c0fac47c2be665ca9de3bc2951d\",\n \"score\": \"0.82440543\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd941c0fac47c2be665ca9de3bc2951d\",\n \"score\": \"0.82440543\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd941c0fac47c2be665ca9de3bc2951d\",\n \"score\": \"0.82440543\",\n \"text\": \"public void setId(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"141e0b7695d9141d0ce67934a0af9c58\",\n \"score\": \"0.82173884\",\n \"text\": \"private void setId(int id) {\\n\\t\\tmId = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"594ddd406b432223ead8ff843dc4df9e\",\n \"score\": \"0.820707\",\n \"text\": \"public void setID(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"594ddd406b432223ead8ff843dc4df9e\",\n \"score\": \"0.820707\",\n \"text\": \"public void setID(int value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a3d8cb16a6d32c2e41aa5ad721ee8f4\",\n \"score\": \"0.8194845\",\n \"text\": \"public void setId(long id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cedf068e0c4e10d6a36fc2c0a96766f\",\n \"score\": \"0.8179165\",\n \"text\": \"public void setId(long id)\\r\\n\\t{\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c9928205cfc5c2a3e7c54ec74d4aff5\",\n \"score\": \"0.81700236\",\n \"text\": \"public void setId(final int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5ca0bb86080f24f6dd98c65017d019d\",\n \"score\": \"0.8168807\",\n \"text\": \"public void setId(final int id)\\n {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41a28e0ef8c922e9986a387dc29d7d55\",\n \"score\": \"0.8167719\",\n \"text\": \"public void setId(long id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41a28e0ef8c922e9986a387dc29d7d55\",\n \"score\": \"0.8167719\",\n \"text\": \"public void setId(long id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"927fc7a52ac6dc525e0fd021adc80d43\",\n \"score\": \"0.81636214\",\n \"text\": \"public void setId(java.lang.String value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"927fc7a52ac6dc525e0fd021adc80d43\",\n \"score\": \"0.81636214\",\n \"text\": \"public void setId(java.lang.String value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c9bff71177b79a91171c519740b550\",\n \"score\": \"0.8150884\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbdf576aff0d4d9394900c932c96f751\",\n \"score\": \"0.814474\",\n \"text\": \"protected void setId(int id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78c4c311c2190e3e23d694ff3b6f0243\",\n \"score\": \"0.81408507\",\n \"text\": \"public void setId(int id) {\\r\\n\\r\\n this.id = id;\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4e0089b5ed8b17bc578c49fff419365\",\n \"score\": \"0.81405777\",\n \"text\": \"@Override\\r\\n\\tpublic void setId(Integer id) {\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e3402e5e29be5dbf86d0f5bf8810a30\",\n \"score\": \"0.81329757\",\n \"text\": \"public void setId(int id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e3402e5e29be5dbf86d0f5bf8810a30\",\n \"score\": \"0.81329757\",\n \"text\": \"public void setId(int id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e3402e5e29be5dbf86d0f5bf8810a30\",\n \"score\": \"0.81329757\",\n \"text\": \"public void setId(int id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e3402e5e29be5dbf86d0f5bf8810a30\",\n \"score\": \"0.81329757\",\n \"text\": \"public void setId(int id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"208e4d7cf1a7558fa2061bd02111ccf0\",\n \"score\": \"0.81276876\",\n \"text\": \"public void setId(long value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"208e4d7cf1a7558fa2061bd02111ccf0\",\n \"score\": \"0.81276876\",\n \"text\": \"public void setId(long value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b254e0a146b496aee21e30e3a4e0383\",\n \"score\": \"0.81254035\",\n \"text\": \"public void setId(long id)\\n {\\n _id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f9380e950a0be9e1ff591def01e6d9e\",\n \"score\": \"0.8124937\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f9380e950a0be9e1ff591def01e6d9e\",\n \"score\": \"0.8124937\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f77a59c09d5c71f4612dbe0e719622bd\",\n \"score\": \"0.81155527\",\n \"text\": \"@Override\\n public void setId(Integer id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"370c89ec4264533d53889698d284f277\",\n \"score\": \"0.81153554\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"370c89ec4264533d53889698d284f277\",\n \"score\": \"0.81153554\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"370c89ec4264533d53889698d284f277\",\n \"score\": \"0.81153554\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"370c89ec4264533d53889698d284f277\",\n \"score\": \"0.81153554\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"370c89ec4264533d53889698d284f277\",\n \"score\": \"0.81153554\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"370c89ec4264533d53889698d284f277\",\n \"score\": \"0.81153554\",\n \"text\": \"public void setId(int id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0247cc07ac3b2b91a775c34076a930c7\",\n \"score\": \"0.81014436\",\n \"text\": \"public void setId (int id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d780338f207855a82c75adaaef8eb893\",\n \"score\": \"0.810097\",\n \"text\": \"public void setId(long value) {\\r\\n this.id = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d780338f207855a82c75adaaef8eb893\",\n \"score\": \"0.810097\",\n \"text\": \"public void setId(long value) {\\r\\n this.id = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f1ca515ed026db1981ea6c9b6eeb04\",\n \"score\": \"0.8099266\",\n \"text\": \"public void setId(java.lang.Integer id) {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f2d5a7f9cc43e15f073d571e5622bee\",\n \"score\": \"0.80837303\",\n \"text\": \"public void setId(int id) {\\r\\n\\t\\t\\tthis.id = id;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4bfdd788f89f2b99dc19a364bc005b8\",\n \"score\": \"0.8076643\",\n \"text\": \"public void setId(int id){\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4bfdd788f89f2b99dc19a364bc005b8\",\n \"score\": \"0.8076643\",\n \"text\": \"public void setId(int id){\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e65246d2956f7b3e99aff51e320f3949\",\n \"score\": \"0.80742675\",\n \"text\": \"public void setId(String id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e65246d2956f7b3e99aff51e320f3949\",\n \"score\": \"0.80742675\",\n \"text\": \"public void setId(String id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43db25f9f088dfc595283a3127294298\",\n \"score\": \"0.80732197\",\n \"text\": \"public void setId(Integer id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43db25f9f088dfc595283a3127294298\",\n \"score\": \"0.80732197\",\n \"text\": \"public void setId(Integer id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43db25f9f088dfc595283a3127294298\",\n \"score\": \"0.80732197\",\n \"text\": \"public void setId(Integer id) {\\r\\n\\t\\tthis.id = id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e516a7fe715336d57026fc428630b12\",\n \"score\": \"0.8072382\",\n \"text\": \"public void id(int id) {\\n id_ = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48808dba48e8330c4ce16046cd99962b\",\n \"score\": \"0.80718964\",\n \"text\": \"public void setId(long value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48808dba48e8330c4ce16046cd99962b\",\n \"score\": \"0.80718964\",\n \"text\": \"public void setId(long value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e19d7d5f3a4ed2767d2246bd5e5e22\",\n \"score\": \"0.80707276\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e19d7d5f3a4ed2767d2246bd5e5e22\",\n \"score\": \"0.80707276\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c437faabcd79788b4f4d3cfafcf17eed\",\n \"score\": \"0.80693597\",\n \"text\": \"public void setId(int id)\\r\\n {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49d0656bf265195f3b7f4d3aefee9a0f\",\n \"score\": \"0.806755\",\n \"text\": \"public void setId(long id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49d0656bf265195f3b7f4d3aefee9a0f\",\n \"score\": \"0.806755\",\n \"text\": \"public void setId(long id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49d0656bf265195f3b7f4d3aefee9a0f\",\n \"score\": \"0.806755\",\n \"text\": \"public void setId(long id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49d0656bf265195f3b7f4d3aefee9a0f\",\n \"score\": \"0.806755\",\n \"text\": \"public void setId(long id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49d0656bf265195f3b7f4d3aefee9a0f\",\n \"score\": \"0.806755\",\n \"text\": \"public void setId(long id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49d0656bf265195f3b7f4d3aefee9a0f\",\n \"score\": \"0.806755\",\n \"text\": \"public void setId(long id) {\\n\\t\\tthis.id = id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d00cd87bb3c7463342b282304c0ee274\",\n \"score\": \"0.8059615\",\n \"text\": \"public final void setId(final String id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa950bca891285a105ad127bf3a8cb9\",\n \"score\": \"0.8058859\",\n \"text\": \"public void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":848,"cells":{"query_id":{"kind":"string","value":"7f1868df76addfb4c05131a70d2e4f94"},"query":{"kind":"string","value":"Metodo que realiza el ciclo del competidor 3 de cada color y da por finalizada la carrera"},"positive_passages":{"kind":"list like","value":[{"docid":"877d89371a6150b902edb2caa2ed7a06","score":"0.563641","text":"public void cicloPersonaTres() {\n while (true) {\n int pasoActual = avanzar(3);\n if (pasoActual >= 100) {\n color.setPosicionActualP3(100);\n\n if (color.getNombre().equals(\"Cyan\")) {\n color.setNombre(\"Cyan\");\n } else if (color.getNombre().equals(\"Azul\")) {\n color.setNombre(\"Azul\");\n } else if (color.getNombre().equals(\"Rojo\")) {\n color.setNombre(\"Rojo\");\n }\n\n Principal p = new Principal();\n p.mostrarGanador(color.getNombre());\n System.exit(0);\n\n }\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"877d89371a6150b902edb2caa2ed7a06\",\n \"score\": \"0.563641\",\n \"text\": \"public void cicloPersonaTres() {\\n while (true) {\\n int pasoActual = avanzar(3);\\n if (pasoActual >= 100) {\\n color.setPosicionActualP3(100);\\n\\n if (color.getNombre().equals(\\\"Cyan\\\")) {\\n color.setNombre(\\\"Cyan\\\");\\n } else if (color.getNombre().equals(\\\"Azul\\\")) {\\n color.setNombre(\\\"Azul\\\");\\n } else if (color.getNombre().equals(\\\"Rojo\\\")) {\\n color.setNombre(\\\"Rojo\\\");\\n }\\n\\n Principal p = new Principal();\\n p.mostrarGanador(color.getNombre());\\n System.exit(0);\\n\\n }\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d1f0716b4dad7bc3c6f94879295d35a4","score":"0.6219444","text":"private static void test3(){\n StringBuilder red = new StringBuilder();\n StringBuilder blue = new StringBuilder();\n StringBuilder green = new StringBuilder();\n StringBuilder yellow = new StringBuilder();\n StringBuilder purple = new StringBuilder();\n StringBuilder cyan = new StringBuilder();\n StringBuilder grey = new StringBuilder();\n \n for(int i = 0; i < 255; i += 5){\n \tred.append(Colors.background(i, 0, 0)).append(\" \");\n green.append(Colors.background(0, i, 0)).append(\" \");\n blue.append(Colors.background(0, 0, i)).append(\" \");\n yellow.append(Colors.background(i, i, 0)).append(\" \");\n purple.append(Colors.background(i, 0, i)).append(\" \");\n cyan.append(Colors.background(0, i, i)).append(\" \");\n grey.append(Colors.background(i, i, i)).append(\" \");\n }\n System.out.println(red + Colors.RESET_ALL);\n System.out.println(green + Colors.RESET_ALL);\n System.out.println(blue + Colors.RESET_ALL);\n System.out.println(yellow + Colors.RESET_ALL);\n System.out.println(purple + Colors.RESET_ALL);\n System.out.println(cyan + Colors.RESET_ALL);\n System.out.println(grey + Colors.RESET_ALL);\n\t}","title":""},{"docid":"d29ed56749b769243d843509369c3729","score":"0.61703914","text":"public static void uebung3() {\n\t\tfor (int i = 0; i < 301; i=i+5) {\n\t\t\tZeichenfenster.zeichneEllipse(200+i, 400, 100+i, 100+i);\n\t\t}\n\t}","title":""},{"docid":"e593e8c2e47b181ad218c51a0f8403fc","score":"0.6147568","text":"public void coloring() {\n boolean colors[] = new boolean[4];\r\n colors[v0.color] = true;\r\n colors[v1.color] = true;\r\n colors[v2.color] = true;\r\n if (v0.color == 0) v0.color = nextColor(colors);\r\n if (v1.color == 0) v1.color = nextColor(colors);\r\n if (v2.color == 0) v2.color = nextColor(colors);\r\n }","title":""},{"docid":"36bed9c58a316f85c1485a2fb351b87d","score":"0.6087423","text":"public int[][] YellowCCW(int colorcube[][]) \r\n {\n int[] primaryFace = new int[60]; \r\n \r\n for (int i = 0; i <=8; i++) {\r\n primaryFace[i] = colorcube[3][i];\r\n }\r\n \r\n \r\n colorcube[3][6] = primaryFace[0]; \r\n colorcube[3][3] = primaryFace[1]; \r\n colorcube[3][0] = primaryFace[2]; \r\n colorcube[3][7] = primaryFace[3]; \r\n colorcube[3][4] = primaryFace[4]; \r\n colorcube[3][1] = primaryFace[5]; \r\n colorcube[3][8] = primaryFace[6]; \r\n colorcube[3][5] = primaryFace[7]; \r\n colorcube[3][2] = primaryFace[8]; \r\n \r\n \r\n int[] primaryOuter = new int[60]; \r\n primaryOuter[42] = colorcube[4][2]; \r\n primaryOuter[41] = colorcube[4][1]; \r\n primaryOuter[40] = colorcube[4][0]; \r\n primaryOuter[00] = colorcube[0][0]; \r\n primaryOuter[03] = colorcube[0][3]; \r\n primaryOuter[06] = colorcube[0][6]; \r\n primaryOuter[56] = colorcube[5][6]; \r\n primaryOuter[57] = colorcube[5][7]; \r\n primaryOuter[58] = colorcube[5][8]; \r\n primaryOuter[28] = colorcube[2][8]; \r\n primaryOuter[25] = colorcube[2][5]; \r\n primaryOuter[22] = colorcube[2][2]; \r\n \r\n \r\n colorcube[2][8] = primaryOuter[42]; \r\n colorcube[2][5] = primaryOuter[41]; \r\n colorcube[2][2] = primaryOuter[40]; \r\n colorcube[4][2] = primaryOuter[00]; \r\n colorcube[4][1] = primaryOuter[03]; \r\n colorcube[4][0] = primaryOuter[06]; \r\n colorcube[0][0] = primaryOuter[56]; \r\n colorcube[0][3] = primaryOuter[57]; \r\n colorcube[0][6] = primaryOuter[58]; \r\n colorcube[5][6] = primaryOuter[28]; \r\n colorcube[5][7] = primaryOuter[25]; \r\n colorcube[5][8] = primaryOuter[22]; \r\n \r\n System.out.println();\r\n System.out.println(\"Yellow CounterClockWise\"); \r\n return colorcube; \r\n }","title":""},{"docid":"35ad175c945e157da3bd7bc4424d9888","score":"0.6073006","text":"public void getColors() {\n rosu = Integer.parseInt(colors.substring(UNU, TREI), SAISPREZECE);\n verde = Integer.parseInt(colors.substring(TREI, CINCI), SAISPREZECE);\n albastru = Integer.parseInt(colors.substring(CINCI, SAPTE), SAISPREZECE);\n }","title":""},{"docid":"66792f79a0a9cfa6000a4bd0dcc434ac","score":"0.6041528","text":"private void logic() {\n // \"we fade to black\"\n // ===========================================\n for(int i=0; i Constants.THRESHOLD_3)) {\n B--;\n } else if ((R >= Constants.THRESHOLD_3 && R < Constants.THRESHOLD_5) && G == Constants.THRESHOLD_5 && B == Constants.THRESHOLD_3) {\n R++;\n } else if (R == Constants.THRESHOLD_5 && (G <= Constants.THRESHOLD_5 && G > Constants.THRESHOLD_3) && B == Constants.THRESHOLD_3) {\n G--;\n } else if (R == Constants.THRESHOLD_5 && G == Constants.THRESHOLD_3 && (B >= Constants.THRESHOLD_3 && B < Constants.THRESHOLD_5)) {\n B++;\n } else if ((R <= Constants.THRESHOLD_5 && R > Constants.THRESHOLD_3 && G == Constants.THRESHOLD_3 && B == Constants.THRESHOLD_5)) {\n R--;\n } else {\n G++;\n }\n }","title":""},{"docid":"beb3f24ea4877c4217ed20da5488dfae","score":"0.603002","text":"int getColourComponents();","title":""},{"docid":"48617caabd0c1c84c4c5f131fc513c08","score":"0.59910715","text":"private void nextBackgroundColor() {\n if (R == Constants.THRESHOLD_3 && (G <= Constants.THRESHOLD_4 && G > Constants.THRESHOLD_3) && B == Constants.THRESHOLD_5) {\n G--;\n } else if ((R >= Constants.THRESHOLD_3 && R < Constants.THRESHOLD_5) && G == Constants.THRESHOLD_3 && B == Constants.THRESHOLD_5) {\n R++;\n } else if (R == Constants.THRESHOLD_5 && G == Constants.THRESHOLD_3 && (B <= Constants.THRESHOLD_5 && B > Constants.THRESHOLD_3)) {\n B--;\n } else if (R == Constants.THRESHOLD_5 && (G >= Constants.THRESHOLD_3 && G < Constants.THRESHOLD_5) && B == Constants.THRESHOLD_3) {\n G++;\n } else if ((R <= Constants.THRESHOLD_5 && R > Constants.THRESHOLD_3) && G == Constants.THRESHOLD_5 && B == Constants.THRESHOLD_3) {\n R--;\n } else if (R == Constants.THRESHOLD_3 && G == Constants.THRESHOLD_5 && (B >= Constants.THRESHOLD_3 && B < Constants.THRESHOLD_5)) {\n B++;\n } else {\n G--;\n }\n }","title":""},{"docid":"09fcd3e498aca45440479a8d87dee1c2","score":"0.5941573","text":"public void consultarCurva(Caja caja){\n //unidadesCaja = caja.getUnidadesCaja();\n pu = new funciones().precioConIva(caja.getPrecioventaUnidad());\n numTallas = 0;\n resetTallas();\n numColores = 0;\n resetCurva();\n List tallasList = ejbFacadeInventario.tallasCaja(caja);\n List curvasList = ejbFacadeInventario.curvaByCaja(caja);\n if((tallasList != null) && (curvasList != null)){\n int menorLista = 0;\n if(tallas.length <= tallasList.size()){\n numTallas = tallas.length;\n }else{\n numTallas = tallasList.size();\n }\n //Llenar Lista de Tallas a mostrar en curva\n for(int t=0; t < numTallas; t++){\n tallas[t] = tallasList.get(t);\n }\n int c = -1; //posicion del arreglo de curva\n String colorActual = \"\"; //Color Actual\n //Recorremos el arreglo de la consulta\n for(Object consulta: curvasList){ // r: posicion en la consulta\n int t; //Posicion de la talla en el arreglo tallas\n Object[] actual = (Object[]) consulta;\n if(!(actual[0].equals(colorActual))){\n //No es igual (cambio de color)\n c++; //posicion del arreglo de curva\n colorActual = (String) actual[0]; //Nuevo Color\n numColores++;\n curva[c].setColor(colorActual);\n }\n //Es igual al color actual\n for(t=0; t < tallas.length; t++){\n if(actual[1].equals(tallas[t])){\n break; //Encontrado\n }\n }\n switch(t){\n case 0: \n curva[c].setT1(Integer.parseInt(actual[2].toString()));break;\n case 1: \n curva[c].setT2(Integer.parseInt(actual[2].toString())); break;\n case 2: \n curva[c].setT3(Integer.parseInt(actual[2].toString())); break;\n case 3: \n curva[c].setT4(Integer.parseInt(actual[2].toString())); break;\n case 4: \n curva[c].setT5(Integer.parseInt(actual[2].toString())); break;\n case 5: \n curva[c].setT6(Integer.parseInt(actual[2].toString())); break;\n case 6: \n curva[c].setT7(Integer.parseInt(actual[2].toString())); break;\n case 7: \n curva[c].setT8(Integer.parseInt(actual[2].toString())); break;\n case 8: \n curva[c].setT9(Integer.parseInt(actual[2].toString())); break;\n case 9: \n curva[c].setT10(Integer.parseInt(actual[2].toString()));break;\n }\n }\n }\n }","title":""},{"docid":"f8295a608caa533538097277cdabc64d","score":"0.59341383","text":"public void escudo(){\n exi=14; eyi=0; epixeles=12;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixeles(3, 4, cs.rojo);\n pixeles(3, 2, cs.rojo);\n pixeles(1,cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(1,cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(2,cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(11,cs.rojo);\n //2do\n exi=15; eyi=4; epixeles=10;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixeles(2,4,cs.blanco);\n pixeles(3,2,cs.blanco);\n pixeles(1,2,cs.blanco);\n pixeles(1,cs.blanco);\n pixeles(1,2,cs.blanco);\n pixeles(1,cs.blanco);\n pixeles(10,cs.blanco);\n //3ro\n exi=16; eyi=8; epixeles=8;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n for (int i=0; i<3; i++) {\n pixeles(1,4,cs.rojo);\n pixeles(1,cs.rojo);\n }\n pixeles(1,2,cs.rojo);\n pixeles(8,cs.rojo);\n \n\n\n //Inverso\n exi=14; eyi=39; epixeles=12;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixelesAbajo(3, 4, cs.rojo);\n pixelesAbajo(3, 2, cs.rojo);\n pixelesAbajo(1,cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(1,cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(2,cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(1,cs.rojo);\n //2do\n exi=15; eyi=35; epixeles=10;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixelesAbajo(2,4,cs.blanco);\n pixelesAbajo(3,2,cs.blanco);\n pixelesAbajo(1,2,cs.blanco);\n pixelesAbajo(1,cs.blanco);\n pixelesAbajo(1,2,cs.blanco);\n pixelesAbajo(1,cs.blanco);\n pixelesAbajo(10,cs.blanco);\n //3ro\n exi=16; eyi=31; epixeles=8;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n for (int i=0; i<3; i++) {\n pixelesAbajo(1,4,cs.rojo);\n pixelesAbajo(1,cs.rojo);\n }\n pixelesAbajo(1,2,cs.rojo);\n pixelesAbajo(8,cs.rojo);\n\n //Azul\n line(17, 12, 24, 12, cs.azul);\n line(16, 13, 25, 13, cs.azul);\n line(15, 14, 26, 14, cs.azul);\n line(14, 15, 27, 15, cs.azul);\n line(13, 16, 28, 16, cs.azul);\n line(12, 17, 29, 17, cs.azul);\n line(12, 18, 29, 18, cs.azul);\n line(12, 19, 29, 19, cs.azul);\n line(12, 20, 29, 20, cs.azul);\n line(12, 21, 29, 21, cs.azul);\n line(12, 22, 29, 22, cs.azul);\n line(12, 23, 29, 23, cs.azul);\n line(13, 24, 28, 24, cs.azul);\n line(14, 25, 27, 25, cs.azul);\n line(15, 26, 26, 26, cs.azul);\n line(16, 27, 25, 27, cs.azul);\n line(17, 28, 24, 28, cs.azul);\n\n //Estrellas\n drawPixel(20,13,cs.blanco);\n drawPixel(20,14,cs.blanco);\n exi=19; eyi=15; epixeles=3;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.blanco);\n pixeles(1,cs.blanco);\n pixeles(1,8,cs.blanco);\n exi++;\n eyi++;\n line(exi, eyi, exi+9, eyi, cs.blanco);\n exi++;\n eyi++;\n line(exi, eyi, exi+7, eyi, cs.blanco);\n exi++;\n eyi++;\n line(exi, eyi, exi+5, eyi, cs.blanco);\n exi--;\n eyi++;\n line(exi, eyi, exi+7, eyi, cs.blanco);\n exi--;\n eyi++;\n line(exi, eyi, exi+8, eyi, cs.blanco);\n line(16,23,25,23,cs.blanco);\n line(15,24,18,24,cs.blanco); line(23,24,26,24,cs.blanco);\n drawPixel(15, 25,cs.blanco); drawPixel(25,25,cs.blanco);\n }","title":""},{"docid":"f450a5ed1bad7cf5ae94dfe4ff439622","score":"0.5901061","text":"public void pintarCola(JPanel panelito){\n\t\tfor (int i = 0; i < Constantes.tamanioCola; i++) {\n\t\t\tpanelito.getComponent(i).setBackground(dato.getCola().getCola().get(i).getColor());\n\t\t}\n\t}","title":""},{"docid":"9ba30daf357b2319f08ba098367ee67a","score":"0.58790743","text":"void criaListaCores(JFrame janela) {\r\n \tcores.clear();\r\n \tcores.add(new Rect(10, janela.getHeight()-100, 30, 30, Color.black, Color.black));\r\n \tcores.add(new Rect(40, janela.getHeight()-100, 30, 30, Color.black, Color.white));\r\n \tcores.add(new Rect(70, janela.getHeight()-100, 30, 30, Color.black, Color.gray));\r\n \tcores.add(new Rect(100, janela.getHeight()-100, 30, 30, Color.black, Color.green));\r\n \tcores.add(new Rect(130, janela.getHeight()-100, 30, 30, Color.black, Color.blue));\r\n \tcores.add(new Rect(160, janela.getHeight()-100, 30, 30, Color.black, Color.pink));\r\n \tcores.add(new Rect(190, janela.getHeight()-100, 30, 30, Color.black, Color.yellow));\r\n \tcores.add(new Rect(220, janela.getHeight()-100, 30, 30, Color.black, Color.orange));\r\n \tcores.add(new Rect(250, janela.getHeight()-100, 30, 30, Color.black, Color.red));\r\n \tcores.add(new Rect(280, janela.getHeight()-100, 30, 30, Color.black, new Color(150, 75, 0)));\r\n \tcores.add(new Rect(310, janela.getHeight()-100, 30, 30, Color.black, new Color(148, 0, 211)));\r\n \t\r\n \tcores.add(new Rect(10, janela.getHeight()-70, 30, 30, Color.black, Color.black));\r\n \tcores.add(new Rect(40, janela.getHeight()-70, 30, 30, Color.black, Color.white));\r\n \tcores.add(new Rect(70, janela.getHeight()-70, 30, 30, Color.black, Color.gray));\r\n \tcores.add(new Rect(100, janela.getHeight()-70, 30, 30, Color.black, Color.green));\r\n \tcores.add(new Rect(130, janela.getHeight()-70, 30, 30, Color.black, Color.blue));\r\n \tcores.add(new Rect(160, janela.getHeight()-70, 30, 30, Color.black, Color.pink));\r\n \tcores.add(new Rect(190, janela.getHeight()-70, 30, 30, Color.black, Color.yellow));\r\n \tcores.add(new Rect(220, janela.getHeight()-70, 30, 30, Color.black, Color.orange));\r\n \tcores.add(new Rect(250, janela.getHeight()-70, 30, 30, Color.black, Color.red));\r\n \tcores.add(new Rect(280, janela.getHeight()-70, 30, 30, Color.black, new Color(150, 75, 0)));\r\n \tcores.add(new Rect(310, janela.getHeight()-70, 30, 30, Color.black, new Color(148, 0, 211)));\r\n }","title":""},{"docid":"b80a2467428a50af5d3955414d74da10","score":"0.58770657","text":"private void rgb2cmyk()\n {\n \tdouble red_ = red / 255.0;\n \tdouble green_ = green / 255.0;\n \tdouble blue_ = blue / 255.0;\n \t\n \tdouble max = red_ > green_ ? red_ : green_;\n max = max > blue_ ? max : blue_;\n \t\n key = 1.0 - max;\n \n cyan = (1.0 - red_ - key) / (1.0 - key);\n magenta = (1.0 - green_ - key) / (1.0 - key);\n yellow = (1.0 - blue_ - key) / (1.0 - key);\n }","title":""},{"docid":"c7830a08173973bb7bb9fc7965f5339c","score":"0.58741724","text":"private Crystal3D() {\r\n this.count = 1;\r\n this.radius = 1;\r\n this.zoom = 0;\r\n Color[] c = {Color.RED, Color.BLUE, Color.BLACK};\r\n this.color = new StandardColor(c);\r\n //parts.add(new CParticle3(point3(0, 0, 0), 1, null));\r\n CParticle3 p = new CParticle3(point3(0, 0, 0), 1, null);\r\n color.chooseColor(p);\r\n parts.add(p);\r\n \r\n }","title":""},{"docid":"13d9d2c83dcf9dbe4b2c719f337ff200","score":"0.58692724","text":"public void buildPrecomputedColors(){\n\t\tif (settingsCopy.getIterations() cores) {\n\t\tint i = 1;\n\t\tfor (String color : cores) {\n\t\t\tthis.corP(i, color);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = entrada();\n\t\t\n\t\twhile(i < 1 || i > cores.size()) {\n\t\t\tthis.opcaoIncorreta();\n\t\t\ti = entrada();\n\t\t}\n\t\t\n\t\tthis.cor = cores.get(i-1);\n\t\tcores.remove(i-1);\n\t}","title":""},{"docid":"24b302fe53048fd1e18c17528f665b5c","score":"0.57658935","text":"private void putCasillas() {\n int y = 0;\r\n int x = 0;\r\n for (int i = 0; i < Constants.FILAS; i++) {\r\n for (int j = 0; j < Constants.COLUMNAS; j++) {\r\n switch (i) {\r\n case 0:\r\n y = Constants.Y11;\r\n break;\r\n case 1:\r\n y = Constants.Y22;\r\n break;\r\n case 2:\r\n y = Constants.Y33;\r\n break;\r\n }\r\n switch (j) {\r\n case 0:\r\n x = Constants.X11;\r\n break;\r\n case 1:\r\n x = Constants.X22;\r\n break;\r\n case 2:\r\n x = Constants.X33;\r\n break;\r\n }\r\n casillas[i][j] = new JButton();//Creamos el boton\r\n casillas[i][j].setBounds(x, y, Constants.SQUARE, Constants.SQUARE);//Dimensionamos y decidimos su posición\r\n casillas[i][j].setBorderPainted(false);//Quitamos los bordes del boton\r\n casillas[i][j].setIcon(new ImageIcon(casillaVacia.getImage().getScaledInstance(casillas[i][j].getWidth(), casillas[i][j].getHeight(), Image.SCALE_SMOOTH)));//Dimensionamos la imagen segun el boton\r\n casillas[i][j].addActionListener(this);//Añadimos el ActionListener a las casillas\r\n this.add(casillas[i][j]);//Añadimos el boton al panel\r\n\r\n }\r\n }\r\n }","title":""},{"docid":"6dd88fc8fdaa10de1621dd862def7f7b","score":"0.57431465","text":"public void ci4(byte[] rgba5551s) {\n byte colorHigh;\r\n byte colorLow;\r\n byte[] palette = new byte[16 * 2]; \r\n boolean inPalette = false;\r\n int paletteIndex = 0;\r\n byte[] paletteIndexes = new byte[rgba5551s.length / 2];\r\n\r\n // init arrays\r\n for (byte i = 0; i < palette.length; i++) {\r\n palette[i] = 0;\r\n }\r\n\r\n for (int i = 0; i < paletteIndexes.length; i++) {\r\n paletteIndexes[i] = 0;\r\n }\r\n\r\n // omega(16n) bleh\r\n for (int i = 0; i < rgba5551s.length; i += 2) {\r\n // get color\r\n colorHigh = rgba5551s[i];\r\n colorLow = rgba5551s[i + 1];\r\n \r\n // check if color is already in \r\n for (int j = 0; j < palette.length; j += 2) {\r\n if (colorHigh == palette[j] && colorLow == palette[j + 1]) {\r\n inPalette = true; \r\n break;\r\n }\r\n }\r\n\r\n // add to palette if necessary\r\n if (!inPalette) {\r\n try {\r\n palette[paletteIndex] = colorHigh;\r\n palette[paletteIndex + 1] = colorLow;\r\n paletteIndex += 2;\r\n } catch (Exception e) {\r\n System.out.println(\"CI4 color max exceeded!\");\r\n return;\r\n }\r\n }\r\n\r\n // reset inPalette after adding color to palette\r\n inPalette = false;\r\n }\r\n\r\n // gather indicies\r\n for (int i = 0; i < paletteIndexes.length; i++) {\r\n // get color\r\n colorHigh = rgba5551s[i * 2];\r\n colorLow = rgba5551s[i * 2 + 1];\r\n \r\n for (byte j = 0; j < palette.length; j += 2) {\r\n if (colorHigh == palette[j] && colorLow == palette[j + 1]) {\r\n paletteIndexes[i] = (byte) (j / 2);\r\n }\r\n }\r\n }\r\n\r\n // debug, print paleteindexes\r\n for (int i = 0; i < paletteIndexes.length; i++) {\r\n //System.out.printf(\"paletteIndexes[%d] = %X\\n\", i, paletteIndexes[i]);\r\n }\r\n\r\n // create texture\r\n byte ci4Out[] = new byte[rgba5551s.length / 4];\r\n for (int i = 0; i < ci4Out.length; i++) {\r\n ci4Out[i] = 0;\r\n }\r\n\r\n for (int i = 0; i < paletteIndexes.length; i += 2) {\r\n byte a, b;\r\n a = (byte) (paletteIndexes[i] << 4);\r\n b = (byte) (paletteIndexes[i + 1]);\r\n ci4Out[i / 2] = (byte) (a | b); \r\n }\r\n \r\n // write pallette\r\n try (FileOutputStream fos = new FileOutputStream(\"out.ci4pal\")) {\r\n fos.write(palette);\r\n } catch (Exception e) {\r\n System.out.println(\"Unknown error occured!\");\r\n System.exit(0);\r\n }\r\n\r\n // write texture\r\n try (FileOutputStream fos = new FileOutputStream(\"out.ci4tex\")) {\r\n fos.write(ci4Out);\r\n } catch (Exception e) {\r\n System.out.println(\"Unknown error occured!\");\r\n System.exit(0);\r\n }\r\n\r\n\r\n }","title":""},{"docid":"42356d06d5d602870c6850b50174e8fb","score":"0.57431406","text":"void setColor( int i, Color c )\n {\n if ( i < 0 || i > MAX_COLORS ) // should throw an exception!\n {\n System.err.println( \"*** ERROR *** Object3D.setColor: bad index: \" \n + i + \"\\n\" );\n return;\n }\n float[] rgb = c.getComponents( null );\n Color newColor = new Color( rgb[ 0 ], rgb[ 1 ], rgb[ 2 ] );\n if ( i >= colors.size() ) // need to add entries to vector\n {\n for ( int n = colors.size(); n < i; n++ ) // fill w/ black if needed\n colors.add( Color.BLACK );\n colors.add( newColor ); // put desired color at desired index\n }\n else\n {\n // now replace old entry \n colors.set( i, newColor );\n }\n }","title":""},{"docid":"8bd8cb36e9e2bac2312b145bef4d6478","score":"0.5681236","text":"public void runExampe() {\n Color tomato = new RGBColor(255, 99, 71);\n\n //Now, we make an instance of Palette once and ask it to return a color to us every time we need it:\n Palette palette = new Palette();\n Color c1 = palette.take(255, 99, 71);\n Color c2 = palette.take(255, 99, 71);\n }","title":""},{"docid":"36905216427b6b5fc95467ea312f39ff","score":"0.5677012","text":"synchronized void waitColors( Pencils artistPencils )\r\n {\r\n // check if need a red pencil\r\n if( !artistPencils.getColor(RED) )\r\n {\r\n if( artistPencils.onlyAbsentColor(RED) )// if red is the only pencil needed\r\n {\r\n setColor( artistPencils, RED ); // wait for red then return\r\n return ;\r\n }\r\n if( count[RED] > 0 ) // else take a red pencil if one is free\r\n {\r\n count[RED]-- ;\r\n artistPencils.setColor( RED );\r\n }\r\n }// RED\r\n\r\n // or move on and check if need a green pencil\r\n if( !artistPencils.getColor(GREEN) )\r\n {\r\n if( artistPencils.onlyAbsentColor(GREEN) )// if green is the only pencil needed\r\n {\r\n setColor( artistPencils, GREEN ); // wait for green then return\r\n return ;\r\n }\r\n if( count[GREEN] > 0 ) // else take a green pencil if one is free\r\n {\r\n count[GREEN]-- ;\r\n artistPencils.setColor( GREEN );\r\n }\r\n }// GREEN\r\n\r\n // or move on and get a yellow pencil if it is needed\r\n if( !artistPencils.getColor(YELLOW) )\r\n {\r\n if( artistPencils.onlyAbsentColor(YELLOW) )// if yellow is the only pencil needed\r\n {\r\n setColor( artistPencils, YELLOW ); // wait for yellow then return\r\n return ;\r\n }\r\n if( count[YELLOW] > 0 ) // else take a yellow pencil if one is free\r\n {\r\n count[YELLOW]-- ;\r\n artistPencils.setColor( YELLOW );\r\n }\r\n }// YELLOW\r\n\r\n // or finish by trying to get a blue pencil if this color is needed\r\n if( !artistPencils.getColor(BLUE) )\r\n {\r\n if( artistPencils.onlyAbsentColor(BLUE) )// if blue is the only missing color\r\n {\r\n setColor( artistPencils, BLUE ); // wait for blue then return\r\n return ;\r\n }\r\n if( count[BLUE] > 0 ) // else take a blue pencil if one is free\r\n {\r\n count[BLUE]-- ;\r\n artistPencils.setColor( BLUE );\r\n }\r\n }// BLUE\r\n\r\n // then return from the Semaphore\r\n return ;\r\n }","title":""},{"docid":"f15bbcac88296767fba2d9c550191493","score":"0.5650594","text":"private synchronized void sceltaColore(){\n\t\tthis.coloriInOrdine = new ArrayList(this.giocatoriIniziali.size());\n\t\tColori coloreTemp = null; \n\t\tGiocatoreConnesso giocatoreTemp; \n\t\tIterator iteratoreGiocatori = this.giocatoriIniziali.iterator();\n\t\tArrayList coloriDisponibili = riempiListaColori(); \n\t\twhile(iteratoreGiocatori.hasNext()){\n\t\t\tgiocatoreTemp = iteratoreGiocatori.next();\n\t\t\t//chiamo il metodo per la scelta del colore nella classe Player\n\t\t\tif(giocatoreTemp.getMiaPartita() == this)\n\t\t\t\tgiocatoreTemp.scegliColore(tempoSceltaColore, coloriDisponibili);\n\t\t\tattendiSceltaColore();\n\t\t\tcoloreTemp = this.coloreScelto;\n\t\t\t//se mi ritorna null significa che non ha scelto nulla, quindi glielo assegno io di default\n\t\t\tif(coloreTemp == null || coloreTemp == Colori.NEUTRO){\n\t\t\t\tcoloreTemp = coloriDisponibili.get(0); //scelgo il primo nella lista (l'utente non aveva scelto in tempo)\n\t\t\t}\n\t\t\tcoloriDisponibili.remove(coloreTemp);\n\t\t\tthis.coloriInOrdine.add(coloreTemp);\n\t\t\tgiocatoreTemp.setColoreGiocatore(coloreTemp);\n\t\t\tthis.coloreScelto = Colori.NEUTRO;\n\t\t}\n\t}","title":""},{"docid":"0a38d71f7009bcf84efcc5676cdb2fb2","score":"0.5621696","text":"private void setColourForEachBit(String error){\n String tmp = inputData.getText();\n\n /*if(!error.equals(tmp)){\n tmp = error;\n }*/\n\n StyledDocument doc = outputData.getStyledDocument(); //wyjscie dla calosci - kolor\n StyledDocument doc_disk1 = disk1.getStyledDocument(); //wyjscie dla dysku 1 - kolor\n StyledDocument doc_disk2 = disk2.getStyledDocument(); //wyjscie dla dysku 2 - kolor\n\n Style style = outputData.addStyle(\"Red coloured text\", null);\n Style style_disk1 = disk1.addStyle(\"Red coloured tex\", null);\n Style style_disk2 = disk2.addStyle(\"Red coloured te\", null);\n StyleConstants.setBackground(style, Color.red);\n StyleConstants.setBackground(style_disk1, Color.red);\n StyleConstants.setBackground(style_disk2, Color.red);\n\n Style style2 = outputData.addStyle(\"Black coloured text\", null);\n Style style2_disk1 = disk1.addStyle(\"Black coloured tex\", null);\n Style style2_disk2 = disk2.addStyle(\"Black coloured te\", null);\n StyleConstants.setBackground(style2, Color.white);\n StyleConstants.setBackground(style2_disk1, Color.white);\n StyleConstants.setBackground(style2_disk2, Color.white);\n\n int j = 0;\n int k = 0;\n for(int i=0; i color(int n) {\n\t\tList colors = new ArrayList();\n\t\tcolors.addAll(Arrays.asList(Color.red, Color.green, Color.blue,new Color(148, 0, 211), new Color(135, 51, 36), Color.gray, Color.pink, new Color(175, 255, 225), new Color(130, 175, 190),\n\t\t\t\tColor.yellow, Color.cyan, new Color(46, 139, 87)));\n\t\treturn colors;\n\t}","title":""},{"docid":"e192fcd2335cdb44c7521c514963898b","score":"0.5606504","text":"private void llenarCasillasLibres(){\r\n\t\tint capaID = mapa.getLayerIndex(\"collision\");\r\n\t\tfor(int i = 0;i < altoEnTiles;i++){\r\n\t\t\tfor(int j = 0;j < anchoEnTiles;j++){\r\n\t\t\t\tint tileID = mapa.getTileId(j, i, capaID);\r\n\t\t\t\tif(tileID != 0){\r\n\t\t\t\t\tcasillasLibres[i][j] = false;\r\n\t\t\t\t\tresistenciaCasillas[i][j] = 2;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tcasillasLibres[i][j] = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"69056678db5bc1394b3bd4bd550d9e46","score":"0.5605862","text":"public LinkedList generarColoresCola(){\n\t\tLinkedList cola= this.dato.generarCola();\n\t\tLinkedList colaVista= new LinkedList();\n\t\tfor (Iterator iterator = cola.iterator(); iterator.hasNext();) {\n\t\t\tColores color = (Colores) iterator.next();\n\t\t\tJLabel colorVista= new JLabel();\n\t\t\tcolorVista.setBackground(color.getColor());\n\t\t}\n\t\treturn colaVista;\n\t}","title":""},{"docid":"c3ccaca7e92b67e5167135688b5c4469","score":"0.5590347","text":"public void paintAbsValColorWheel() {\r\n\t\tColor c;\r\n\t\tfloat gammaInv= 1/gamma;\r\n\t\tfor(int r=r6;r>=0;r-=1) {\r\n\t\t\tint arcw = 2*r;\r\n\t\t\tint arch = 2*r;\r\n\t\t\tint x = r6-arcw/2;\r\n\t\t\tint y = r6-arch/2;\r\n\t\t\tdouble ang = r/(r6*Math.sqrt(2));\r\n\t\t\tdouble theta = 2 * Math.asin(ang);\r\n\t\t\tfor(int angle=0;angle<=360;angle++) {\r\n\t\t\t\tfloat phi = angle * ((float)Math.PI/180);\r\n\t\t\t\tfloat red = (Math.abs((float)Math.sin(theta) * (float)Math.cos(phi)));\r\n\t\t\t\tfloat green = (Math.abs((float)Math.sin(theta) * (float)Math.sin(phi)));\r\n\t\t\t\tfloat blue = (Math.abs((float)Math.cos(theta)));\r\n\t\t\t\t\r\n\t\t\t\t//shift blue\r\n\t\t\t\tblueShiftColors = shiftBlue(red,green,blue);\r\n\t\t\t\tred = blueShiftColors[0];\r\n\t\t\t\tgreen = blueShiftColors[1];\r\n\t\t\t\tblue = blueShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//shift red\r\n\t\t\t\tredShiftColors = shiftRed(red,green,blue);\r\n\t\t\t\tred = redShiftColors[0];\r\n\t\t\t\tgreen = redShiftColors[1];\r\n\t\t\t\tblue = redShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//adjust green\r\n\t\t\t\tgreenAdjColors = adjustGreen(red,green,blue);\r\n\t\t\t\tred = greenAdjColors[0];\r\n\t\t\t\tgreen = greenAdjColors[1];\r\n\t\t\t\tblue = greenAdjColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//gamma correction\r\n\t\t\t\tred = (float)Math.pow(red,gammaInv);\r\n\t\t\t\tgreen = (float)Math.pow(green,gammaInv);\r\n\t\t\t\tblue = (float)Math.pow(blue,gammaInv);\r\n\t\t\t\t\r\n\t\t\t\tc = new Color(red,green,blue);\r\n\t\t\t\toffGraphics.setColor(c);\r\n\t\t\t\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"723a8ec67f4db33a8e034c469478e8a1","score":"0.55754215","text":"public void marque(int[] t){\r\n for(int i=0; i<3;i++){\r\n tab[t[i]].setBackground(Color.BLUE);\r\n }\r\n }","title":""},{"docid":"6db2f64de3cdf72fa56d84ab37898f07","score":"0.5555727","text":"public static void colorTiles(){\n Tile current = redStart;\n int counter = 3;\n do{\n if(counter%4==0) current.setColor(\"red\");\n if(counter%4==1) current.setColor(\"yellow\");\n if(counter%4==2) current.setColor(\"blue\");\n if(counter%4==3) current.setColor(\"green\");\n counter++;\n current=current.getNextTile();\n } while(current!=redStart);\n }","title":""},{"docid":"11babe0ec73696a831aad60e36195fbc","score":"0.55533093","text":"private void build()\n\t\t{\n\t\tfor(int i = 0; i < resX; i++)\n\t\t\t{\n\t\t\tfor(int j = 0; j < resY; j++)\n\t\t\t\t{\n\t\t\t\tfor(int k = 0; k < resZ; k++)\n\t\t\t\t\t{\n\t\t\t\t\tvertices[i][j][k] = initialColor.cloneOf();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}","title":""},{"docid":"dba9c3faed4c9f74879aa2ab10ee8575","score":"0.55530846","text":"private static void test1(){\n StringBuilder red = new StringBuilder();\n StringBuilder blue = new StringBuilder();\n StringBuilder green = new StringBuilder();\n StringBuilder yellow = new StringBuilder();\n StringBuilder purple = new StringBuilder();\n StringBuilder cyan = new StringBuilder();\n StringBuilder grey = new StringBuilder();\n \n for(int i = 0; i < 255; i += 5){\n \tred.append(Colors.foreground(i, 0, 0)).append(\"█\");\n green.append(Colors.foreground(0, i, 0)).append(\"█\");\n blue.append(Colors.foreground(0, 0, i)).append(\"█\");\n yellow.append(Colors.foreground(i, i, 0)).append(\"█\");\n purple.append(Colors.foreground(i, 0, i)).append(\"█\");\n cyan.append(Colors.foreground(0, i, i)).append(\"█\");\n grey.append(Colors.foreground(i, i, i)).append(\"█\");\n }\n System.out.println(red + Colors.RESET_ALL);\n System.out.println(green + Colors.RESET_ALL);\n System.out.println(blue + Colors.RESET_ALL);\n System.out.println(yellow + Colors.RESET_ALL);\n System.out.println(purple + Colors.RESET_ALL);\n System.out.println(cyan + Colors.RESET_ALL);\n System.out.println(grey + Colors.RESET_ALL);\n\t}","title":""},{"docid":"5195e1c7354dda664c89026a2c071b0f","score":"0.5551804","text":"private void colorShiftingUtil(){\n if (currClothingPiece.equals(\"shirt\")){\n currShirtColor = shirtColors.peek();\n mainFragment.changeColorShirt(currShirtColor);\n } else {\n currPantColor = pantsColors.peek();\n mainFragment.changeColorPant(currPantColor);\n }\n }","title":""},{"docid":"a15eee651451ce4d632ac7c4a73596f5","score":"0.55466574","text":"public void dibujarTablero() {\n int id = 0;\n int color;\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n color = getColorId(getColor(sharedPreferences));\n \n\n for (int i = 0; i < Game.NFILAS; i++)\n for (int j = 0; j < Game.NCOLUMNAS; j++) {\n \t if(game.devolverCasilla(i,j)==Game.MAQUINA){\n \t\t id = R.color.yellow;\n \t }\n \t else if(game.devolverCasilla(i,j) == Game.JUGADOR){\n \t\t id = color;\n \t }\n \t else{\n \t\t id = R.color.light_blue;\n \t }\n ImageButton imageButton = (ImageButton) findViewById(ids[i][j]);\n GradientDrawable drawable = (GradientDrawable) imageButton.getDrawable();\n drawable.setColor(getResources().getColor(id));\n }\n }","title":""},{"docid":"9c4847eb110c5c15f3bd8c4fe57edf7a","score":"0.5531877","text":"private void init() {\n tablero= new Color[a][b];\r\n for (int i = 0; i < a; i++) {\r\n for (int j = 0; j < b-1; j++) {\r\n if(i== 0 || i== a-1 || j== b-2) {\r\n tablero[i][j]= Color.DARK_GRAY;\r\n } else {\r\n tablero[i][j]= Color.BLACK;\r\n }\r\n }\r\n }\r\n nuevapieza();\r\n }","title":""},{"docid":"856504fb2a1a1c43d372eb1ba497df32","score":"0.55165225","text":"public static String cortarRed (){\n String partRed = \"\";\n\n int as;\n int ass;\n for (int i = 0; i < 4; i++) {\n as=Red.get(i);\n ass=ipe.get(i);\n System.out.println(\"reddddddddd: \"+ Red);\n System.out.println(\"ipppppppppp: \"+ ipe);\n System.out.println(\"igualllllll: \"+ (as==ass));\n\n if (Red.get(i).equals(ipe.get(i))) {\n partRed += Integer.toString(ipe.get(i));\n if (i < 3) partRed += \".\";\n ///\n }else{\n partHost += Integer.toString(ipe.get(i));\n if (i < 3) partHost += \".\";\n }\n\n }\n return partRed;\n }","title":""},{"docid":"d6cc5d3456ba9ef39d3f69477fe2aa0b","score":"0.5514636","text":"public void puntos(){\n int image=1;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.verde);\n drawPixel(px[1][i],py[1][i],cs.rosa);\n drawPixel(px[2][i],py[2][i],cs.amarillo);\n drawPixel(px[3][i],py[3][i],cs.rojo);\n drawPixel(px[4][i],py[4][i],cs.cafe);\n }\n estrellas[image] = bullet;\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\n image++;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.amarillo);\n drawPixel(px[1][i],py[1][i],cs.cafe);\n drawPixel(px[2][i],py[2][i],cs.rojo);\n drawPixel(px[3][i],py[3][i],cs.rosa);\n drawPixel(px[4][i],py[4][i],cs.verde);\n }\n estrellas[image] = bullet;\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\n image++;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.rosa);\n drawPixel(px[1][i],py[1][i],cs.rojo);\n drawPixel(px[2][i],py[2][i],cs.verde);\n drawPixel(px[3][i],py[3][i],cs.amarillo);\n drawPixel(px[4][i],py[4][i],cs.cafe);\n }\n estrellas[image] = bullet;\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\n image++;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.amarillo);\n drawPixel(px[1][i],py[1][i],cs.rosa);\n drawPixel(px[2][i],py[2][i],cs.cafe);\n drawPixel(px[3][i],py[3][i],cs.rojo);\n drawPixel(px[4][i],py[4][i],cs.verde);\n }\n estrellas[image] = bullet;\n px = new int[1][1];\n py = new int[1][1];\n }","title":""},{"docid":"d4767c5877e16cd3e06cd843aeb976ef","score":"0.550497","text":"private Color trocaCor() {\r\n\t\tif (cor.equals(Color.WHITE)) cor = Color.BLACK;\r\n\t\telse if (cor.equals(Color.BLACK)) cor = Color.WHITE; \r\n\t\treturn cor;\r\n\t}","title":""},{"docid":"f2f3f07196e8f56b91c6ca9111aa90f9","score":"0.5502221","text":"static void crearcolasvic() {\n\t\t int a = movs.size();\n\t\t int n = a-1; //indice del tablero final (ganador)\n\t\t while (n != -1){ //hasta llegar al primer tablero\n\t\t movsvic.add(movs.get(n)); //agregar movimiento\n\t\t colavic.add(cola.get(n)); //agregar tablero\n\t\t n = back.get(n); //retroceder al movimiento anterior\n\t\t }\n\t\t }","title":""},{"docid":"389393f36acfaba26ea904980d2e86ec","score":"0.54996467","text":"public void tirarHuevo() {\r\n\t\tboolean ingresado = false;\r\n\t\tHuevo huevo = new Huevo();\r\n\t\twhile (!ingresado) {\r\n\t\t\tint k = Utiles.leerNumeros(\"Ingrese coordenada x(vertical):\" , \"sinlinea\");\r\n\t\t\tint j = Utiles.leerNumeros(\"Ingrese coordenada y(horizontal):\" , \"sinlinea\");\r\n\t\t\tif (k >=0 && k <14 && j >= 0 && j < 14) {\r\n\t\t\thuevo.setX(k);\r\n\t\t\thuevo.setY(j);\r\n\t\t\tingresado = true;\r\n\t\t\t}else {\r\n\t\t\t\tUtiles.escribir(\"coordenadas invalidas. Trate con numeros entre 0 y 14\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tString objImpactado = verificaImpacto(huevo.getX(), huevo.getY());\r\n\t\ttablero[huevo.getX()][huevo.getY()] = huevo.getCodigo(); // pone letra en tablero\r\n\t\ttiros.add(huevo); // agrega huevo a arrayList de tiros\r\n\t\tmarcador.setIntentos(marcador.getIntentos() + 1); // incrementa numero intentos\r\n\t\tif (objImpactado.equals(\"Trupalla\")) {\r\n\t\t\tfor (Carro carro : carros) {\r\n\t\t\t\tfor (Posicion posicion : carro.posiciones) {\r\n\t\t\t\t\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\r\n\t\t\t\t\t\tcarro.setVida(carro.getVida() - 1);\r\n\t\t\t\t\t\tif (carro.getVida() == 0) {\r\n\t\t\t\t\t\t\tint puntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 1);\r\n\t\t\t\t\t\t\thuevo.setPuntaje(1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (objImpactado.equals(\"Caguano\")) {\r\n\t\t\tfor (Carro carro : carros) {\r\n\t\t\t\tfor (Posicion posicion : carro.posiciones) {\r\n\t\t\t\t\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\r\n\t\t\t\t\t\tcarro.setVida(carro.getVida() - 1);\r\n\t\t\t\t\t\tint puntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 2);\r\n\t\t\t\t\t\thuevo.setPuntaje(2);\r\n\t\t\t\t\t\tif (carro.getVida() == 0) {\r\n\t\t\t\t\t\t\tUtiles.escribir(\"Caguano destruido!!! +7pts\");\r\n\t\t\t\t\t\t\tpuntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 7);\r\n\t\t\t\t\t\t\thuevo.setPuntaje(2 + 7);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (objImpactado.equals(\"Kromi\")) {\r\n\t\t\tfor (Carro carro : carros) {\r\n\t\t\t\tfor (Posicion posicion : carro.posiciones) {\r\n\t\t\t\t\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\r\n\t\t\t\t\t\tcarro.setVida(carro.getVida() - 1);\r\n\t\t\t\t\t\tint puntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 3);\r\n\t\t\t\t\t\thuevo.setPuntaje(3);\r\n\t\t\t\t\t\tif (carro.getVida() == 0) {\r\n\t\t\t\t\t\t\tpuntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\t\tUtiles.escribir(\"Kromi destruida!!! +10pts\");\r\n\t\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 10);\r\n\t\t\t\t\t\t\thuevo.setPuntaje(3 + 10);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (marcador.getPuntaje() >= PUNTAJE_MAXIMO) {\r\n\t\t\tUtiles.escribir(\"FELICITACIONES GANASTE\");\r\n\t\t}\r\n\t}","title":""},{"docid":"517501da0d284faa2e9d096f3fb7db9f","score":"0.54960704","text":"private static Mat drawPintura(Mat webcam_image, int[][] connectCompon) {\n\t\t\n\t\tfor(int i = 0; i < webcam_image.rows(); i++)\n\t\t\tfor(int j = 0; j < webcam_image.cols(); j++) {\n\t\t\t\tdouble color[] = pintura.get(i, j);\n\t\t\t\tif(color[0] != 255 && color[1] != 255 && color[2] != 255) {\n\t\t\t\t\t\n\t\t\t\t\tif(connectCompon[i][j] == 1) {\n\t\t\t\t\t\tif(i == 0 || j == 0 || i == webcam_image.rows()-1 || j == webcam_image.cols()-1 ) {\n\t\t\t\t\t\t\twebcam_image.put(i, j, new double[]{0,0,0});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(connectCompon[i-1][j] == 0 || connectCompon[i+1][j] == 0 || connectCompon[i][j-1] == 0 || connectCompon[i][j+1] == 0) {\n\t\t\t\t\t\t\twebcam_image.put(i, j, new double[]{0,0,0});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\twebcam_image.put(i, j, new double[]{color[2], color[1], color[0]});\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t\twebcam_image.put(i, j, new double[]{color[2], color[1], color[0]});\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\treturn webcam_image;\n\t}","title":""},{"docid":"8a1951df23a400419deb9c906e25c711","score":"0.54927754","text":"private void setColor(int i, int j, int k) {\n\t\t\n\t}","title":""},{"docid":"b4278fbfca5e4ce1fc63b0bdc9703f96","score":"0.5488188","text":"public CouleurS(Color coul) {\n\t\tr= ((float)coul.getRed())/255;\n\t\tb= ((float)coul.getBlue())/255;\n\t\tg= ((float)coul.getGreen())/255;\n\t}","title":""},{"docid":"3ba1a1a2016c1d44b4bc3cdcd7ee4acc","score":"0.54833746","text":"private void changeStyleColor(int i){\n if (currClothingPiece.equals(\"shirt\")) {\n currShirtColor = i;\n shirtColors.push(currShirtColor);\n mainFragment.changeColorShirt(i);\n } else {\n currPantColor = i;\n pantsColors.push(currPantColor);\n mainFragment.changeColorPant(i);\n }\n }","title":""},{"docid":"a516c203e1cde363e6e14c149797de4d","score":"0.54766124","text":"void removeColour(int i){if (domain[i]){saturation++; domain[i] = false;}}","title":""},{"docid":"069cff94367e882b235cf1a8f7f4e9ff","score":"0.54736215","text":"private void initBackgroundColour() {\n final float maxColour = 255f;\n final float x = 149f / maxColour;\n final float y = 221f / maxColour;\n final float z = 226f / maxColour;\n cBackgroundColour = new Vector3f(x, y, z);\n }","title":""},{"docid":"0bd3d5c2ffdbcf3f1b9edc48828d6bef","score":"0.54578006","text":"public void automata() {\n\t\tfor (int y = 0; y < 510; y++) {\r\n\t\t\tfor (int x = 0; x < 255; x++) {\r\n\t\t\t\t// se limita que el eje x tiene que ser menor a 2\r\n\t\t\t\tif (x < 255) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tint j = 0, k = 0, l = 0;\r\n\t\t\t\t\t// junto con la variable x, las variables j, k son sus\r\n\t\t\t\t\t// consecutivas.La variable L corresponde a la misma columna\r\n\t\t\t\t\t// de J pero de la siguiente fila\r\n\t\t\t\t\tj = x + 1;\r\n\t\t\t\t\tk = x + 2;\r\n\t\t\t\t\tl = y + 1;\r\n\t\t\t\t\t// se le asigna un nuevo valor a la posicion de la nueva\r\n\t\t\t\t\t// fila, que ser igual al resultado que arroje como\r\n\t\t\t\t\t// resultado de la regla de 3 numeros de la fila anterior\r\n\t\t\t\t\tmatriz[l][j] = getCasilla(matriz[y][x], matriz[y][j],\r\n\t\t\t\t\t\t\tmatriz[y][k]);\r\n\t\t\t\t\t//en caso excepcional para los ultimos terminos (cierre de anillo), se ocupa esta alternativa de llenado\r\n\t\t\t\t} else if (x >= 255) {\r\n\t\t\t\t\tint l = 0;\r\n\t\t\t\t\tl = y + 1;\r\n\t\t\t\t\tmatriz[l][256] = getCasilla(matriz[y][256], matriz[y][256],\r\n\t\t\t\t\t\t\tmatriz[y][0]);\r\n\t\t\t\t\tmatriz[l][0] = getCasilla(matriz[y][256], matriz[y][0],\r\n\t\t\t\t\t\t\tmatriz[y][1]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"62c2470dc93b732048be72a00cc5aae4","score":"0.5454101","text":"public void cicloPersonaDos() {\n while (true) {\n int pasoActual = avanzar(2);\n if (pasoActual >= 66) {\n color.setPosicionActualP2(66);\n synchronized (color) {\n color.notifyAll();\n }\n break;\n }\n }\n }","title":""},{"docid":"342c4944cc0219db7ed68801cf635705","score":"0.5452998","text":"public Figurs() {\n just4color = new Paint();\n just4color.setColor(Color.BLUE);\n colors.put(\"pink\", \"#E13D63\");\n colors.put(\"fiol\", \"#964CE1\");\n colors.put(\"lblue\", \"#10E0BC\");\n colors.put(\"yellow\", \"#FFF105\");\n\n int_colors.put(\"pink\", Color.parseColor(\"#E13D63\"));\n int_colors.put(\"fiol\", Color.parseColor(\"#964CE1\"));\n int_colors.put(\"lblue\", Color.parseColor(\"#10E0BC\"));\n int_colors.put(\"yellow\", Color.parseColor(\"#FFF105\"));\n }","title":""},{"docid":"67f95758a05a2d4d392625673c4b3311","score":"0.5450678","text":"private void colorcitoBoton() {\n\t\tvolver.setBackground(colorBoton);\n\t}","title":""},{"docid":"5bf512930e1833369fd2df47551d78a6","score":"0.54489493","text":"@Override\r\n\tpublic void pintarPieza(String color, String nombre) {\r\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"45e4f9299473933b5a19e1c726a320d4","score":"0.5445277","text":"public static void main (String[] args) throws IOException {\n\n\t\tFile file = new File(args[0]);\n\n\t\tBufferedReader buffer = new BufferedReader(new FileReader(file));\n\t\tString line,rgbRaw,\n\t\tresult = new String();\n\t\tStringTokenizer token;\n\t\tint[] pixleColor = new int[3];\n\t\tint count, base,\n\t\trow = 0,\n\t\tprevious = 0,\n\t\tblock = 16,\n\t\twidth = 256/block,\n\t\tcolor = 0;\n\n\t\twhile ((line = buffer.readLine()) != null) {\n\t\t\tline = line.trim();\n\t\t\t//System.out.println(line);\n\t\t\ttoken = new StringTokenizer(line);\n\t\t\tif(line.charAt(0) != '#'){\n\t\t\t\trow = Integer.parseInt(token.nextToken(\":\").split(\",\")[1]);\n\t\t\t\t//System.out.println(row);\n\t\t\t\t//If the row is different form previous, print out result and start new line\n\t\t\t\tif(row != previous){\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t\tresult = new String();\n\t\t\t\t}\n\t\t\t\t//Get Current color\n\t\t\t\ttoken.nextToken(\"#\");\n\t\t\t\trgbRaw = token.nextToken(\" \").substring(1);\n\t\t\t\t//System.out.println(rgbRaw);\n\t\t\t\t//Split Color in to components\n\t\t\t\tfor(count = 0; count < 3; count++){\n\t\t\t\t\tpixleColor[count] = Integer.parseInt(rgbRaw.substring(count*2,count*2+2), 16); \n\t\t\t\t\tpixleColor[count] /= width;\n\t\t\t\t}\n\t\t\t\tcolor = 0;\n\t\t\t\tbase = block*block;\n\t\t\t\tfor(int i: pixleColor){\n\t\t\t\t\tcolor += i* base;\n\t\t\t\t\tbase /= block;\n\t\t\t\t}\n\t\t\t\t//System.out.println(Arrays.toString(pixleColor));\n\t\t\t\t//System.out.println(color);\n\t\t\t\tresult += \"[\"+ Integer.toHexString(color)+ \"]\";\n\t\t\t\t//current now becomes previous\n\t\t\t\tprevious = row;\n\n\t\t\t}\n\n\t\t}\n\t}","title":""},{"docid":"7de8b3328a422dcf0c7f2720bb5c6280","score":"0.54446715","text":"private void setColorData() {\n \t\tColorRGBA[] color = new ColorRGBA[16];\n \t\tfor (int i = 0; i < color.length; i++) {\n \t\t\tcolor[i] = new ColorRGBA(1, 1, 1, 1);\n \t\t}\n \t\tsetColors(color);\n \t}","title":""},{"docid":"075fe68826b44cb161d95335870979f4","score":"0.54413426","text":"private void ciclo() {\n\t\tcomprobarSiSiguientePieza();\n\t\tpiezaActual.cae();\n\t\tif (estadoJuego==1) miTablero.dibujaPieza(piezaActual);\n\t}","title":""},{"docid":"e15f31e1b2e4cd9f666efa03a6c8365a","score":"0.5437145","text":"public void paintNoSymmColorWheel() {\r\n\t\tColor c;\r\n\t\tfloat gammaInv= 1/gamma;\r\n\t\tfloat rotConst = 1/360f;\r\n\t\tfloat normConst = 1/255f;\r\n\t\tdouble piDiv2 = Math.PI/2.0d;\r\n\t\tdouble sinConst = 1/Math.sin(pS * piDiv2);\r\n\t\tfor(int r=r6;r>=0;r-=1) {\r\n\t\t\tint arcw = 2*r;\r\n\t\t\tint arch = 2*r;\r\n\t\t\tint x = r6-arcw/2;\r\n\t\t\tint y = r6-arch/2;\r\n\t\t\tdouble ang = r/(r6*Math.sqrt(2));\r\n\t\t\tdouble theta = 2 * Math.asin(ang);\r\n\t\t\tif(pS < .001) {\r\n\t\t\t\tpS = .001f;\r\n\t\t\t}\r\n\t\t\tfloat sat = (float)(Math.sin(pS*theta) * sinConst); \r\n\t\t\t\r\n\t\t\tint hueAngle = 360;\r\n\t\t\tfor(int angle=0;angle<=360;angle++) {\r\n\t\t\t\tfloat hue = ((hueAngle + 90 + 360)%360) * rotConst;\r\n\t\t\t\tc = Color.getHSBColor(hue, sat, 1f);\r\n\t\t\t\t\r\n\t\t\t\tfloat red = c.getRed() * normConst;\r\n\t\t\t\tfloat green = c.getGreen() * normConst;\r\n\t\t\t\tfloat blue = c.getBlue() * normConst;\r\n\r\n\t\t\t\t//blue shift\r\n\t\t\t\tblueShiftColors = shiftBlue(red,green,blue);\r\n\t\t\t\tred = blueShiftColors[0];\r\n\t\t\t\tgreen = blueShiftColors[1];\r\n\t\t\t\tblue = blueShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//shift red\r\n\t\t\t\tredShiftColors = shiftRed(red,green,blue);\r\n\t\t\t\tred = redShiftColors[0];\r\n\t\t\t\tgreen = redShiftColors[1];\r\n\t\t\t\tblue = redShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//adjust green\r\n\t\t\t\tgreenAdjColors = adjustGreen(red,green,blue);\r\n\t\t\t\tred = greenAdjColors[0];\r\n\t\t\t\tgreen = greenAdjColors[1];\r\n\t\t\t\tblue = greenAdjColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//gamma correction\r\n\t\t\t\tred = (float)Math.pow(red,gammaInv);\r\n\t\t\t\tgreen = (float)Math.pow(green,gammaInv);\r\n\t\t\t\tblue = (float)Math.pow(blue,gammaInv);\r\n\t\t\t\t\r\n\t\t\t\tc = new Color(red,green,blue);\r\n\t\t\t\toffGraphics.setColor(c);\r\n\r\n\t\t\t\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\r\n\t\t\t\thueAngle--;\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"403695f1641a38f4b2227dd60aaeaecd","score":"0.5435375","text":"private static Paint m31332a(int i) {\n Paint paint = new Paint();\n paint.setColor(i);\n return paint;\n }","title":""},{"docid":"34811dbf194bc87c46ce5d87e0e8f5dc","score":"0.5419929","text":"public void pattern3(){\n\t\tnoStroke();\n\t\tfill(random(0,255), random(0,255), random(0,255),10);\n\t\t/* alter the width size */\n\t\tfloat widthDistance = abs(width/2 - xCo) * 0.4f ;\n\t\tellipse(xCo, yCo, widthDistance, widthDistance);\n\t}","title":""},{"docid":"9c4a22ca26b017c437259a90b89ba5a4","score":"0.5419866","text":"public void ColorUtility() {\n String code;\r\n for (int i=0;i<=16;i++) {\r\n for (int j = 0; j <= 16; j++) {\r\n //public static final String ANSI_BOLD = \"\\u001B[1m\";\r\n code = Integer.toString((i * 16 + j));\r\n pageHelper.UpdateTestResults( \"Code u001b[\" + code + \"m = \" + \"\\u001b[\" + code + \"m\");\r\n //sys.stdout.write(u\"\\u001b[48;5;\" + code + \"m \" + code.ljust(4))\r\n //print u \"\\u001b[0m\"\r\n }\r\n }\r\n }","title":""},{"docid":"c51c8ac93ec3e1da5e0e657470f5478b","score":"0.54181933","text":"public void colorizeCP(String pu){\n char[] array =pu.toCharArray();\n if(pu.equals(\"empty\")) {\n System.out.print(\" \");\n return;\n }\n for(char c:array){\n switch(Character.toString(c)){\n case \"R\":\n pu=RED_AMMO;\n break;\n case \"B\":\n pu=BLUE_AMMO;\n break;\n case \"Y\":\n pu=YELLOW_AMMO;\n break;\n case \"P\":\n pu=PU_AMMO;\n break;\n }\n System.out.print(pu);\n\n }\n }","title":""},{"docid":"d88e850dc0c6314edba66e3f170c9737","score":"0.5415812","text":"public void entrarColorPila(Colores color){\n\t\tint aleatorio= (int)(Math.random()*2);\n\t\t\n\t\tif(aleatorio==0){\n\t\t\tColores colorParcial=dato.getPilaUno().desApilarBlanco();\n\t\t\tentrarColorLista(colorParcial);\n\t\t\tdato.getPilaUno().apilar(color);\n\t\t\t}\n\t\telse{\n\t\t\tColores colorParcial=dato.getPilaDos().desApilarBlanco();\n\t\t\tentrarColorLista(colorParcial);\n\t\t\tdato.getPilaDos().apilar(color);\n\t\t}\t\n\t}","title":""},{"docid":"4e24f36e01f213d4b3280ac17037f3da","score":"0.5405502","text":"public AmmoCubes() {\n this.red = 0;\n this.blue = 0;\n this.yellow = 0;\n }","title":""},{"docid":"79aced5c2f3bc568fa3ee8d0938049f9","score":"0.5401982","text":"private Color GetColorOfID(int i, int a)\n {\n if(i==0) {return new Color(15, 0, 255, a);}\n else if(i==1) {return new Color(204, 0, 0, a);}\n else if(i==2) {return new Color(51, 255, 0, a);}\n else if(i==3) {return new Color(254, 255, 0, a);}\n else if(i==4) {return new Color(255,102,204, a);}\n else if(i==5) {return new Color(51,102,0, a);}\n else if(i==6) {return new Color(255,52,153, a);}\n else if(i==7) {return new Color(51,0,153, a);}\n else if(i==8) {return new Color(204,255,0, a);}\n else if(i==9) {return new Color(255,1,51, a);}\n else if(i==10) {return new Color(51,204,255, a);}\n else if(i==11) {return new Color(204,103,1, a);}\n else {return Color.LIGHT_GRAY;}\n }","title":""},{"docid":"cd0ddc1aa46096e747efba99d5a7c5f4","score":"0.53964555","text":"public void changeCircleColor(){\r\n circleRGB[0] = 50f;\r\n circleRGB[1] = 0f;\r\n circleRGB[2] = 50f; \r\n }","title":""},{"docid":"5d73914f10529f9df0af1078c17d7e52","score":"0.5389391","text":"private void addCrowns(JPanel p1, int n1) {\n\t\t\t\n\t\t\tJPanel crowns1 = new JPanel();\n\t\t\tcrowns1.setBackground(new Color(255,255,0));\n\t\t\tJPanel crowns2 = new JPanel();\n\t\t\tcrowns2.setBackground(new Color(255,255,0));\n\t\t\tJPanel crowns3 = new JPanel();\n\t\t\tcrowns3.setBackground(new Color(255,255,0));\n\t\t\n\t\t\tif(n1==1) {\n\t\t\t\tp1.add(crowns1);\n\t\t\t} else if(n1==2) {\n\t\t\t\tp1.add(crowns1);\n\t\t\t\tp1.add(crowns2);\n\t\t\t} else if(n1==3) {\n\t\t\t\tp1.add(crowns1);\n\t\t\t\tp1.add(crowns2);\n\t\t\t\tp1.add(crowns3);\n\t\t\t}\t\n\t\t\n\t\t\tframeR.setVisible(true);\n\t\t\t\n\t}","title":""},{"docid":"2bad224d70e79cc13cff1149b4e3b80d","score":"0.53893155","text":"public void resetCouleur() {\n\t\tthis.vert = 0;\n\t\tthis.bleu = 0;\n\t\tthis.rouge = 0;\n\t\tthis.white = 0;\n\t\tthis.couleur = 0;\n\t}","title":""},{"docid":"8928342076abad16b52018bd99a7fe33","score":"0.538","text":"public void botaoClicado(JButton jButton) {\n\t\t\n\t\tPosicao posicao = pegaPosicaoBotaoClicado(jButton);\n\t\tint linhaOriginal = posicao.getLinha();\n\t\tint colunaOriginal = posicao.getColuna();\n\t\tposicao.setClicado();\n\t\t\n\t\t// -L-C | -L | -L+C\n\t\t// -C | O | +C\n\t\t// +L-C | +L | +L+C\n\n\t\t//TODO tratar os cliques nas colunas e linhas das bordas\n\t\t\n\t\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal - 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal + 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal][colunaOriginal - 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal][colunaOriginal + 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal - 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal + 1]).getjButton().setBackground(Color.green);\n\n\t}","title":""},{"docid":"13e169780bd401c7d1c0081bc1e76312","score":"0.53775376","text":"public static void iluColorsUsed() {\n iluColoursUsed();\n }","title":""},{"docid":"9dca415f6e8583b6ece278530df362be","score":"0.5374673","text":"private void deathStar3() { \n TableColorCellRenderer render = new TableColorCellRenderer();\n this.matriz1.setDefaultRenderer(Object.class,render);\n //volver a colocar todos los strings que hay en el display para que renderer los agarre\n Grafo enemigo = (Grafo) Main.grafos.get(1);\n for(Vertice v : enemigo.vertices)\n {\n if(v.dato<=15){\n //int total = enemigo.vertices.size();\n int total = 15;\n while(total<=15&total>0)\n {\n \n if(matriz1.getModel().getValueAt(v.dato-1, total)!=null){\n String valor = String.valueOf(matriz1.getModel().getValueAt(v.dato-1, total));\n matriz1.getModel().setValueAt(valor, v.dato-1, total); \n }\n \n total--;\n }\n }\n \n }\n }","title":""},{"docid":"70b2b93e1f044d9a8b06c1168838695b","score":"0.53697443","text":"private int[] colorify(Color original,float colPercent,\n\t\t\tColor col1, Color col2) {\n\t\tfloat originalPercent = 0.6f;// % Combining merged col1+col2 and the image color\n\t\t\n\t\tif (colPercent > 1.0f) colPercent = 1.0f;\n\t\tColor actualCol = VisualFunction.combineColorsHue(original, \n\t\t\t\t\t\t\tVisualFunction.combineColorsRGB(col1, col2, colPercent),\n\t\t\t\t\t\t\toriginalPercent);\n\t\treturn new int[] {actualCol.getRed(), actualCol.getGreen(),actualCol.getBlue()};\n\t\t\n\t\t\n\t}","title":""},{"docid":"ed98b5ada6c3f34d209b957a8774b460","score":"0.5368613","text":"private void redoColor(){\n if (canRedoColor()){\n if (currClothingPiece.equals(\"shirt\")){\n shirtColors.push(shirtColors1.pop());\n colorShiftingUtil();\n } else {\n pantsColors.push(pantsColors1.pop());\n colorShiftingUtil();\n }\n }\n }","title":""},{"docid":"e6668765d9230af1267948c0b79e8901","score":"0.5362078","text":"@Override\n public void actionPerformed(ActionEvent e) {\n\n if(e.getSource()==lineC)\n type=1;\n else if (e.getSource()==barC1)\n type=2;\n else if (e.getSource()==barC2)\n type=3;\n \n if(e.getSource()==grayScale){\n colorS[1]=new Color(215, 215, 215);\n colorS[2]=new Color(210, 210, 210);\n colorS[3]=new Color(204, 204, 204);\n colorS[4]=new Color(179, 179, 179);\n colorS[5]=new Color(166, 166, 166);\n colorS[6]=new Color(153, 153, 153);\n colorS[7]=new Color(192, 192, 192);\n colorS[8]=new Color(115, 115, 115);\n colorS[9]=new Color(89, 89, 89);\n colorS[10]=new Color(77, 77, 77);\n colorS[11]=new Color(64, 64, 64);\n colorS[12]=new Color(51, 51, 51);\n colorS[13]=new Color(38, 38, 38);\n colorS[14]=new Color(0, 0, 0); \n }\n else if(e.getSource()==highContrast){\n colorS[1]=new Color(0, 0, 255);\n colorS[2]=new Color(0, 255, 0);\n colorS[3]=new Color(0, 255, 255);\n colorS[4]=new Color(255, 0, 0);\n colorS[5]=new Color(255, 0, 255);\n colorS[6]=new Color(255, 255, 0);\n colorS[7]=new Color(192, 192, 192);\n colorS[8]=new Color(128, 128, 255);\n colorS[9]=new Color(128, 255, 128);\n colorS[10]=new Color(128, 255, 255);\n colorS[11]=new Color(255, 128, 128);\n colorS[12]=new Color(255, 128, 255);\n colorS[13]=new Color(255, 255, 128);\n colorS[14]=new Color(128, 128, 128);\n }\n else if(e.getSource()==rainbow){\n colorS[1]=new Color(255, 153, 255);\n colorS[2]=new Color(153, 255, 153);\n colorS[3]=new Color(255, 255, 204);\n colorS[4]=new Color(51, 153, 255);\n colorS[5]=new Color(0, 255, 255);\n colorS[6]=new Color(55, 255, 153);\n colorS[7]=new Color(255, 153, 153);\n colorS[8]=new Color(153, 153, 255);\n colorS[9]=new Color(255, 255, 153);\n colorS[10]=new Color(204, 255, 204);\n colorS[11]=new Color(102, 204, 255);\n colorS[12]=new Color(102, 153, 255);\n colorS[13]=new Color(255, 102, 102);\n colorS[14]=new Color(0, 255, 204);\n }\n else if(e.getSource()==winter){\n colorS[1]=new Color(210, 230, 255);\n colorS[2]=new Color(204, 226, 255);\n colorS[3]=new Color(179, 212, 255);\n colorS[4]=new Color(153, 197, 255);\n colorS[5]=new Color(128, 183, 255);\n colorS[6]=new Color(102, 168, 255);\n colorS[7]=new Color(77, 154, 255);\n colorS[8]=new Color(51, 139, 255);\n colorS[9]=new Color(26, 125, 255);\n colorS[10]=new Color(0, 110, 255);\n colorS[11]=new Color(0, 77, 179);\n colorS[12]=new Color(0, 44, 102);\n colorS[13]=new Color(0, 22, 51);\n colorS[14]=new Color(0, 0, 0);\n }\n \n if(e.getSource()==chartCB){\n if(showChartTitle==1)\n showChartTitle=0;\n else if(showChartTitle==0)\n showChartTitle=1;\n }\n \n else if(e.getSource()==axisCB){\n if(showAxisTitle==1)\n showAxisTitle=0;\n else if(showAxisTitle==0)\n showAxisTitle=1;\n }\n else if(e.getSource()==dataCB){\n if(showDataLabel==0)\n showDataLabel=1;\n else if(showDataLabel==1)\n showDataLabel=0;\n }\n else if(e.getSource()==legendCB){\n if(showLegend==1)\n showLegend=0;\n else if(showLegend==0)\n showLegend=1;\n }\n repaint();\n }","title":""},{"docid":"55eb4ed5d6ca57514c81f24af4bf890a","score":"0.5355963","text":"public int changeColor() {\n\t\t\r\n\t\tif(this.currentLength <= ((double)this.maxWidth / 4.0)) {\r\n\t\t\treturn 1;\r\n\t\t} else {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t}","title":""},{"docid":"264e3f66abf01246106b7f024ee849d9","score":"0.53512883","text":"public static int calcularNuevoTono(int x, int y, BufferedImage bi, int[][] mascara){\n int auxR = 0, auxG = 0, auxB = 0;\n Color color = null;\n int k = 0;\n for(int i = 0 , r = x -1; i> 2);\r\n\t\t\tgreen = (byte) (((highByte & 0x3) * 4) + (lowByte >> 4));\r\n\r\n\t\t\t// blue, green and red are color value in the range [0-15] as they\r\n\t\t\t// are\r\n\t\t\t// coded in 4 bits. Let's turn them into \"real\" modern colors in the\r\n\t\t\t// range [0-255]. Let's multiply the [0-15] value by 255, and divide\r\n\t\t\t// by 15\r\n\t\t\t// i.e multiply by 17 !\r\n\t\t\tsetColormapElement(colormap, startIndex, i, (red * 17), (green * 17), (blue * 17));\r\n\t\t}\r\n\t}","title":""},{"docid":"7f11fdccf71b9ce2bcb157596b2408d5","score":"0.5325229","text":"int numColors()\r\n { return NUM_COLORS ; }","title":""},{"docid":"2f814286db3db5c341d022c930f280fc","score":"0.532242","text":"private int getNextColor() {\n\t\treturn getResources().getIntArray(R.array.pieChart)[colourNumber++];\n\t}","title":""},{"docid":"732a623caa30ad54916d8a39e72e0bbe","score":"0.5317409","text":"public void invertColors( int threads )\r\n\t{\r\n\t\tWorker[] workers = new Worker[threads];\r\n\t\tfor(int i = 0; i < workers.length; i++)\r\n\t\t{\r\n\t\t\tworkers[i] = new Worker( 'i', colorData3D, i, threads );\r\n\t\t\tworkers[i].start();\r\n\t\t}\r\n\t\t\r\n\t\tfor(int i = 0; i < workers.length; i++)\r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tworkers[i].join();\r\n\t\t\t} \r\n\t\t\tcatch (InterruptedException e) \r\n\t\t\t{\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tSystem.err.println(\"Thread Interrupted!\");\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"5163dd04a3483394ceabf963ffbcb93d","score":"0.5313295","text":"public static void populateColors() \r\n\t{\r\n\t\tcolors.put(0,Color.WHITE); //empty tile\r\n\t\tcolors.put(2, Color.ALICEBLUE);\r\n\t\tcolors.put(4, Color.AQUA);\r\n\t\tcolors.put(8,Color.AQUAMARINE);\r\n\t\tcolors.put(16, Color.AZURE);\r\n\t\tcolors.put(32,Color.BEIGE);\r\n\t\tcolors.put(64,Color.YELLOW);\r\n\t\tcolors.put(128,Color.CADETBLUE);\r\n\t\tcolors.put(256,Color.CRIMSON);\r\n\t\tcolors.put(512,Color.DEEPPINK);\r\n\t\tcolors.put(1024,Color.DARKRED);\r\n\t\tcolors.put(2048,Color.GRAY);\r\n\t\tcolors.put(4096,Color.PALETURQUOISE);\r\n\t\tcolors.put(8192,Color.SLATEGREY);\r\n\t}","title":""},{"docid":"2c1bb5b14042ec45387aa4822ed6ff2a","score":"0.53132147","text":"public void drawPoint2Ds(List corrs, int colour){\n for(int p=0; p 255 ? 255 : rgb[0];\n green[offset] = rgb[1] > 255 ? 255 : rgb[1];\n blue[offset] = rgb[2] > 255 ? 255 : rgb[2];\n\n offset++;\n }\n }\n }","title":""},{"docid":"0a6b552df7c9430cb8edabee33f0485b","score":"0.5307124","text":"public void paintRotationalSymmColorWheel() {\r\n\t\tColor c;\r\n\t\tfloat gammaInv= 1/gamma;\r\n\t\tfloat rotConst = 1/360f;\r\n\t\tfloat normConst = 1/255f;\r\n\t\tdouble piDiv2 = Math.PI/2.0d;\r\n\t\tdouble sinConst = 1/Math.sin(pS * piDiv2);\r\n\t\tfor(int r=r6;r>=0;r-=1) {\r\n\t\t\tint arcw = 2*r;\r\n\t\t\tint arch = 2*r;\r\n\t\t\tint x = r6-arcw/2;\r\n\t\t\tint y = r6-arch/2;\r\n\t\t\tdouble ang = r/(r6*Math.sqrt(2));\r\n\t\t\tdouble theta = 2 * Math.asin(ang);\r\n\t\t\tif(pS < .001) {\r\n\t\t\t\tpS = .001f;\r\n\t\t\t}\r\n\t\t\tfloat sat = (float)(Math.sin(pS*theta) * sinConst); \r\n\t\t\tint hueAngle = 360;\r\n\t\t\tfor(int angle=0;angle<360;angle++) {\r\n\t\t\t\t//float hue = ((2 * (angle - 90 + 360))%360)/360f;\r\n\t\t\t\tfloat hue = ((2 * (hueAngle + 90 + 360))%360) * rotConst;\r\n\t\t\t\tc = Color.getHSBColor(hue, sat, 1f);\r\n\t\t\t\t\r\n\t\t\t\tfloat red = c.getRed() * normConst;\r\n\t\t\t\tfloat green = c.getGreen() * normConst;\r\n\t\t\t\tfloat blue = c.getBlue() * normConst;\r\n\t\t\t\t\r\n\t\t\t\t//blue shift\r\n\t\t\t\tblueShiftColors = shiftBlue(red,green,blue);\r\n\t\t\t\tred = blueShiftColors[0];\r\n\t\t\t\tgreen = blueShiftColors[1];\r\n\t\t\t\tblue = blueShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//shift red\r\n\t\t\t\tredShiftColors = shiftRed(red,green,blue);\r\n\t\t\t\tred = redShiftColors[0];\r\n\t\t\t\tgreen = redShiftColors[1];\r\n\t\t\t\tblue = redShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//adjust green\r\n\t\t\t\tgreenAdjColors = adjustGreen(red,green,blue);\r\n\t\t\t\tred = greenAdjColors[0];\r\n\t\t\t\tgreen = greenAdjColors[1];\r\n\t\t\t\tblue = greenAdjColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//gamma correction\r\n\t\t\t\tred = (float)Math.pow(red,gammaInv);\r\n\t\t\t\tgreen = (float)Math.pow(green,gammaInv);\r\n\t\t\t\tblue = (float)Math.pow(blue,gammaInv);\r\n\t\t\t\t\r\n\t\t\t\tc = new Color(red,green,blue);\r\n\t\t\t\t\r\n\t\t\t\toffGraphics.setColor(c);\r\n\t\t\t\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\r\n\t\t\t\t\r\n\t\t\t\thueAngle--;\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"2d31afcd3c67679021c6b92b69860281","score":"0.53037745","text":"private ImageData createColorImage(Control w, RGB color) {\r\n\r\n\t\tGC gc = new GC(w);\r\n\t\tFontMetrics fm = gc.getFontMetrics();\r\n\t\tint size = fm.getAscent();\r\n\t\tgc.dispose();\r\n\r\n\t\tint indent = 6;\r\n\t\tint extent = DEFAULT_EXTENT;\r\n\t\tif (w instanceof Table) {\r\n\t\t\textent = ((Table) w).getItemHeight() - 1;\r\n\t\t} else if (w instanceof Tree) {\r\n\t\t\textent = ((Tree) w).getItemHeight() - 1;\r\n\t\t} else if (w instanceof TableTree) {\r\n\t\t\textent = ((TableTree) w).getItemHeight() - 1;\r\n\t\t}\r\n\r\n\t\tif (size > extent) {\r\n\t\t\tsize = extent;\r\n\t\t}\r\n\r\n\t\tint width = indent + size;\r\n\t\tint height = extent;\r\n\r\n\t\tint xoffset = indent;\r\n\t\tint yoffset = (height - size) / 2;\r\n\r\n\t\tRGB black = new RGB(0, 0, 0);\r\n\t\tPaletteData dataPalette = new PaletteData(new RGB[] { black, black,\r\n\t\t\t\tcolor });\r\n\t\tImageData data = new ImageData(width, height, 4, dataPalette);\r\n\t\tdata.transparentPixel = 0;\r\n\r\n\t\tint end = size - 1;\r\n\t\tfor (int y = 0; y < size; y++) {\r\n\t\t\tfor (int x = 0; x < size; x++) {\r\n\t\t\t\tif (x == 0 || y == 0 || x == end || y == end) {\r\n\t\t\t\t\tdata.setPixel(x + xoffset, y + yoffset, 1);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdata.setPixel(x + xoffset, y + yoffset, 2);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn data;\r\n\t}","title":""},{"docid":"445fb60c70bcb6e71ad33da77e434220","score":"0.5283944","text":"public void setColor(final int i_c)\r\n\t{\r\n\t\tc = i_c;\r\n\t}","title":""},{"docid":"c04a2abc0c740f7d811c413055578ec7","score":"0.52835846","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n EligeColor = new javax.swing.JDialog();\n jColorChooser1 = new javax.swing.JColorChooser();\n botonAceptar = new javax.swing.JButton();\n botonCancelar = new javax.swing.JButton();\n Guardar = new javax.swing.JDialog();\n jFileChooser1 = new javax.swing.JFileChooser();\n lienzo = new javax.swing.JPanel();\n botonColor = new javax.swing.JButton();\n botonCirculos = new javax.swing.JButton();\n botonCuadrados = new javax.swing.JButton();\n botonTriangulo = new javax.swing.JButton();\n botonPentagono = new javax.swing.JButton();\n botonHexagono = new javax.swing.JButton();\n botonEstrella = new javax.swing.JButton();\n botonAzul = new javax.swing.JButton();\n botonAzul1 = new javax.swing.JButton();\n botonAzul2 = new javax.swing.JButton();\n botonAzul3 = new javax.swing.JButton();\n botonAzul4 = new javax.swing.JButton();\n botonAzul5 = new javax.swing.JButton();\n botonAzul6 = new javax.swing.JButton();\n botonAzul7 = new javax.swing.JButton();\n botonAzul8 = new javax.swing.JButton();\n botonAzul9 = new javax.swing.JButton();\n botonAzul10 = new javax.swing.JButton();\n botonAzul11 = new javax.swing.JButton();\n botonAzul12 = new javax.swing.JButton();\n botonAzul13 = new javax.swing.JButton();\n botonAzul14 = new javax.swing.JButton();\n botonAzul15 = new javax.swing.JButton();\n botonAzul16 = new javax.swing.JButton();\n botonAzul17 = new javax.swing.JButton();\n botonBorrar = new javax.swing.JButton();\n botonDibujoLibre = new javax.swing.JButton();\n botonLineas = new javax.swing.JButton();\n botonAgrandarTamaño = new javax.swing.JSlider();\n jCheckBox1 = new javax.swing.JCheckBox();\n jCheckBox2 = new javax.swing.JCheckBox();\n jMenuBar1 = new javax.swing.JMenuBar();\n MenuArchivo = new javax.swing.JMenu();\n MenuGuardar = new javax.swing.JMenuItem();\n menuImprimir = new javax.swing.JMenuItem();\n\n botonAceptar.setText(\"Aceptar\");\n botonAceptar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAceptarMousePressed(evt);\n }\n });\n\n botonCancelar.setText(\"Cancelar\");\n botonCancelar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonCancelarMousePressed(evt);\n }\n });\n\n javax.swing.GroupLayout EligeColorLayout = new javax.swing.GroupLayout(EligeColor.getContentPane());\n EligeColor.getContentPane().setLayout(EligeColorLayout);\n EligeColorLayout.setHorizontalGroup(\n EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, EligeColorLayout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 679, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n .addGroup(EligeColorLayout.createSequentialGroup()\n .addGap(129, 129, 129)\n .addComponent(botonAceptar)\n .addGap(195, 195, 195)\n .addComponent(botonCancelar)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n EligeColorLayout.setVerticalGroup(\n EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(EligeColorLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 351, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(botonAceptar)\n .addComponent(botonCancelar))\n .addContainerGap(24, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout GuardarLayout = new javax.swing.GroupLayout(Guardar.getContentPane());\n Guardar.getContentPane().setLayout(GuardarLayout);\n GuardarLayout.setHorizontalGroup(\n GuardarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(GuardarLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jFileChooser1, javax.swing.GroupLayout.DEFAULT_SIZE, 601, Short.MAX_VALUE))\n );\n GuardarLayout.setVerticalGroup(\n GuardarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jFileChooser1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)\n );\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n lienzo.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseDragged(java.awt.event.MouseEvent evt) {\n lienzoMouseDragged(evt);\n }\n });\n lienzo.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n lienzoMousePressed(evt);\n }\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n lienzoMouseReleased(evt);\n }\n });\n\n javax.swing.GroupLayout lienzoLayout = new javax.swing.GroupLayout(lienzo);\n lienzo.setLayout(lienzoLayout);\n lienzoLayout.setHorizontalGroup(\n lienzoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 753, Short.MAX_VALUE)\n );\n lienzoLayout.setVerticalGroup(\n lienzoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 552, Short.MAX_VALUE)\n );\n\n botonColor.setText(\"Más Colores\");\n botonColor.setToolTipText(\"\");\n botonColor.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n botonColor.setName(\"\"); // NOI18N\n botonColor.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonColorMousePressed(evt);\n }\n });\n\n botonCirculos.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/circulo.png\"))); // NOI18N\n botonCirculos.setToolTipText(\"\");\n botonCirculos.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonCirculosMousePressed(evt);\n }\n });\n\n botonCuadrados.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/cuadrado.png\"))); // NOI18N\n botonCuadrados.setToolTipText(\"\");\n botonCuadrados.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonCuadradosMousePressed(evt);\n }\n });\n\n botonTriangulo.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/triangulo.png\"))); // NOI18N\n botonTriangulo.setToolTipText(\"\");\n botonTriangulo.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonTrianguloMousePressed(evt);\n }\n });\n\n botonPentagono.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/pentagono.png\"))); // NOI18N\n botonPentagono.setToolTipText(\"\");\n botonPentagono.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonPentagonoMousePressed(evt);\n }\n });\n\n botonHexagono.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/hexagono.png\"))); // NOI18N\n botonHexagono.setToolTipText(\"\");\n botonHexagono.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonHexagonoMousePressed(evt);\n }\n });\n\n botonEstrella.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/estrella.png\"))); // NOI18N\n botonEstrella.setToolTipText(\"\");\n botonEstrella.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonEstrellaMousePressed(evt);\n }\n });\n\n botonAzul.setBackground(new java.awt.Color(0, 0, 204));\n botonAzul.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzulMousePressed(evt);\n }\n });\n\n botonAzul1.setBackground(new java.awt.Color(0, 204, 204));\n botonAzul1.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul1MousePressed(evt);\n }\n });\n\n botonAzul2.setBackground(new java.awt.Color(51, 51, 255));\n botonAzul2.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul2MousePressed(evt);\n }\n });\n\n botonAzul3.setBackground(new java.awt.Color(102, 0, 255));\n botonAzul3.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul3.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul3MousePressed(evt);\n }\n });\n\n botonAzul4.setBackground(new java.awt.Color(255, 0, 102));\n botonAzul4.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul4.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul4MousePressed(evt);\n }\n });\n\n botonAzul5.setBackground(new java.awt.Color(204, 0, 51));\n botonAzul5.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul5.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul5MousePressed(evt);\n }\n });\n\n botonAzul6.setBackground(new java.awt.Color(51, 255, 51));\n botonAzul6.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul6.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul6MousePressed(evt);\n }\n });\n\n botonAzul7.setBackground(new java.awt.Color(51, 0, 51));\n botonAzul7.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul7.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul7MousePressed(evt);\n }\n });\n\n botonAzul8.setBackground(new java.awt.Color(51, 0, 51));\n botonAzul8.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul8.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul8MousePressed(evt);\n }\n });\n\n botonAzul9.setBackground(new java.awt.Color(153, 0, 0));\n botonAzul9.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul9.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul9MousePressed(evt);\n }\n });\n\n botonAzul10.setBackground(new java.awt.Color(255, 51, 51));\n botonAzul10.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul10.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul10MousePressed(evt);\n }\n });\n\n botonAzul11.setBackground(new java.awt.Color(0, 153, 102));\n botonAzul11.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul11.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul11MousePressed(evt);\n }\n });\n\n botonAzul12.setBackground(new java.awt.Color(0, 102, 102));\n botonAzul12.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul12.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul12MousePressed(evt);\n }\n });\n\n botonAzul13.setBackground(new java.awt.Color(255, 255, 51));\n botonAzul13.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul13.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul13MousePressed(evt);\n }\n });\n\n botonAzul14.setBackground(new java.awt.Color(0, 255, 255));\n botonAzul14.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul14.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul14MousePressed(evt);\n }\n });\n\n botonAzul15.setBackground(new java.awt.Color(0, 204, 153));\n botonAzul15.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul15.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul15MousePressed(evt);\n }\n });\n\n botonAzul16.setBackground(new java.awt.Color(153, 153, 153));\n botonAzul16.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul16.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul16MousePressed(evt);\n }\n });\n\n botonAzul17.setBackground(new java.awt.Color(0, 0, 0));\n botonAzul17.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul17.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul17MousePressed(evt);\n }\n });\n\n botonBorrar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/1487550064_draft.png\"))); // NOI18N\n botonBorrar.setToolTipText(\"borrar\");\n botonBorrar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonBorrarMousePressed(evt);\n }\n });\n\n botonDibujoLibre.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/1487550202_translate.png\"))); // NOI18N\n botonDibujoLibre.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonDibujoLibreMousePressed(evt);\n }\n });\n botonDibujoLibre.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n botonDibujoLibreActionPerformed(evt);\n }\n });\n\n botonLineas.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/linea.png\"))); // NOI18N\n botonLineas.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonLineasMousePressed(evt);\n }\n });\n\n botonAgrandarTamaño.setOrientation(javax.swing.JSlider.VERTICAL);\n\n jCheckBox1.setText(\"Discontinuas\");\n\n jCheckBox2.setText(\"Relleno\");\n jCheckBox2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n jCheckBox2MousePressed(evt);\n }\n });\n\n MenuArchivo.setText(\"File\");\n\n MenuGuardar.setText(\"Guardar...\");\n MenuGuardar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n MenuGuardarMousePressed(evt);\n }\n });\n MenuArchivo.add(MenuGuardar);\n\n menuImprimir.setText(\"Imprimir...\");\n menuImprimir.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n menuImprimirActionPerformed(evt);\n }\n });\n MenuArchivo.add(menuImprimir);\n\n jMenuBar1.add(MenuArchivo);\n\n setJMenuBar(jMenuBar1);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jCheckBox1)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonTriangulo, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\n .addComponent(botonPentagono, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonDibujoLibre, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonLineas, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addComponent(jCheckBox2)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonCirculos, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\n .addComponent(botonHexagono, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonCuadrados, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\n .addComponent(botonEstrella, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGap(8, 8, 8)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul13, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul14, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul15, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul7, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul8, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul9, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul16, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul17, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul12, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul3, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul4, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul5, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul10, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul11, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul6, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonBorrar, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(32, 32, 32)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAgrandarTamaño, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botonColor, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)))\n .addComponent(lienzo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonColor, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul3, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul5, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul4, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul10, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul6, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul11, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul16, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul12, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul17, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul2, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul1, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul7, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul9, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul8, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul13, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul15, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul14, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonCuadrados, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(botonCirculos))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonHexagono, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonEstrella, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonTriangulo)\n .addComponent(botonDibujoLibre))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonPentagono, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botonLineas, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jCheckBox1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jCheckBox2))\n .addComponent(botonAgrandarTamaño, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(botonBorrar))\n .addComponent(lienzo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(15, 15, 15))\n );\n\n pack();\n }","title":""},{"docid":"0d3ceaa6f22aa51791223c3dbc8a1e16","score":"0.5281554","text":"private void fancyBackground(){\n\n loadPixels();\n\n for (int x = 0; x < width; x++) {\n // Loop through every pixel row\n for (int y = 0; y < height; y++) {\n\n // Use the formula to find the 1D location\n int loc = x + y * width;\n // If even column\n if (x % 3 == 0) {\n pixels[loc] = color(230, 138, 0);\n // If odd column\n } else if (x % 3 == 1) {\n pixels[loc] = color(0);\n } else {\n pixels[loc] = color(255);\n }\n }\n }\n updatePixels();\n }","title":""},{"docid":"e75b87af8f9d1141df10bc78c82cb9fc","score":"0.5278868","text":"private void initGameWheel() {\n slices.add(new Slice(\"black\", 8000));\n for (int i = 1; i < 40; i++) {\n if (i % 2 == 1)\n slices.add(new Slice(\"red\", i * 10));\n else if (i % 10 == 0)\n slices.add(new Slice(\"black\", i * 200));\n else\n slices.add(new Slice(\"blue\", i * 100));\n }\n }","title":""},{"docid":"6bc047c9f8e74129b0739867a279ae66","score":"0.5276328","text":"private void undoColor(){\n if (canUndoColor()){\n if (currClothingPiece.equals(\"shirt\")){\n shirtColors1.push(shirtColors.pop());\n colorShiftingUtil();\n } else {\n pantsColors1.push(pantsColors.pop());\n colorShiftingUtil();\n }\n }\n }","title":""},{"docid":"825a967599b1a09647f9e317d14b484c","score":"0.52759266","text":"@Override\n\tpublic Color colorSprite() throws RemoteException {\n\t\tsynchronized (this) {\n\t\t\tint i = ++count % colors.length;\n\t\t\tif (i == 0)\n\t\t\t\treturn colors[colors.length - 1];\n\t\t\telse if (i == 1 || i == 2)\n\t\t\t\treturn colors[i - 1];\n\t\t\telse\n\t\t\t\treturn Color.BLACK;\n\t\t}\n\t}","title":""},{"docid":"a5dbf78ea189117f6f2ea7b4ac491ab6","score":"0.52727014","text":"ContourBuilder colors(String arg);","title":""},{"docid":"77db872b08a66a3810672408fa71ea02","score":"0.5270941","text":"public void background(float x, float y, float z)\n/* */ {\n/* 4940 */ colorCalc(x, y, z);\n/* 4941 */ backgroundFromCalc();\n/* */ }","title":""},{"docid":"4b699bba901783c9baec34daa375b249","score":"0.52699775","text":"private void calcPlateColor(){\n\t\tint[] pix = new int[3];\n\t\tfloat[] hsv = new float[3];\n\t\tdata.getPixel(midpoint[0], midpoint[1], pix);\n\t\tColor.RGBtoHSB(pix[0], pix[1], pix[2], hsv);\n\t\tfloat hue = hsv[0];\n\n\t\tif (hue >= 0.11111 && hue <= 0.22222) {\n\t\t\t//yellow (40 - 80)\n\t\t\tthis.classification = 2;\n\t\t} else if (hue >= 0.38888 && hue <= 0.61111) {\n\t\t\t//blue (140 - 220)\n\t\t\tthis.classification = 1;\n\t\t} else {\n\t\t\t// no plate\n\t\t\tthis.classification = 0;\n\t\t}\n\t}","title":""}],"string":"[\n {\n \"docid\": \"d1f0716b4dad7bc3c6f94879295d35a4\",\n \"score\": \"0.6219444\",\n \"text\": \"private static void test3(){\\n StringBuilder red = new StringBuilder();\\n StringBuilder blue = new StringBuilder();\\n StringBuilder green = new StringBuilder();\\n StringBuilder yellow = new StringBuilder();\\n StringBuilder purple = new StringBuilder();\\n StringBuilder cyan = new StringBuilder();\\n StringBuilder grey = new StringBuilder();\\n \\n for(int i = 0; i < 255; i += 5){\\n \\tred.append(Colors.background(i, 0, 0)).append(\\\" \\\");\\n green.append(Colors.background(0, i, 0)).append(\\\" \\\");\\n blue.append(Colors.background(0, 0, i)).append(\\\" \\\");\\n yellow.append(Colors.background(i, i, 0)).append(\\\" \\\");\\n purple.append(Colors.background(i, 0, i)).append(\\\" \\\");\\n cyan.append(Colors.background(0, i, i)).append(\\\" \\\");\\n grey.append(Colors.background(i, i, i)).append(\\\" \\\");\\n }\\n System.out.println(red + Colors.RESET_ALL);\\n System.out.println(green + Colors.RESET_ALL);\\n System.out.println(blue + Colors.RESET_ALL);\\n System.out.println(yellow + Colors.RESET_ALL);\\n System.out.println(purple + Colors.RESET_ALL);\\n System.out.println(cyan + Colors.RESET_ALL);\\n System.out.println(grey + Colors.RESET_ALL);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d29ed56749b769243d843509369c3729\",\n \"score\": \"0.61703914\",\n \"text\": \"public static void uebung3() {\\n\\t\\tfor (int i = 0; i < 301; i=i+5) {\\n\\t\\t\\tZeichenfenster.zeichneEllipse(200+i, 400, 100+i, 100+i);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e593e8c2e47b181ad218c51a0f8403fc\",\n \"score\": \"0.6147568\",\n \"text\": \"public void coloring() {\\n boolean colors[] = new boolean[4];\\r\\n colors[v0.color] = true;\\r\\n colors[v1.color] = true;\\r\\n colors[v2.color] = true;\\r\\n if (v0.color == 0) v0.color = nextColor(colors);\\r\\n if (v1.color == 0) v1.color = nextColor(colors);\\r\\n if (v2.color == 0) v2.color = nextColor(colors);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36bed9c58a316f85c1485a2fb351b87d\",\n \"score\": \"0.6087423\",\n \"text\": \"public int[][] YellowCCW(int colorcube[][]) \\r\\n {\\n int[] primaryFace = new int[60]; \\r\\n \\r\\n for (int i = 0; i <=8; i++) {\\r\\n primaryFace[i] = colorcube[3][i];\\r\\n }\\r\\n \\r\\n \\r\\n colorcube[3][6] = primaryFace[0]; \\r\\n colorcube[3][3] = primaryFace[1]; \\r\\n colorcube[3][0] = primaryFace[2]; \\r\\n colorcube[3][7] = primaryFace[3]; \\r\\n colorcube[3][4] = primaryFace[4]; \\r\\n colorcube[3][1] = primaryFace[5]; \\r\\n colorcube[3][8] = primaryFace[6]; \\r\\n colorcube[3][5] = primaryFace[7]; \\r\\n colorcube[3][2] = primaryFace[8]; \\r\\n \\r\\n \\r\\n int[] primaryOuter = new int[60]; \\r\\n primaryOuter[42] = colorcube[4][2]; \\r\\n primaryOuter[41] = colorcube[4][1]; \\r\\n primaryOuter[40] = colorcube[4][0]; \\r\\n primaryOuter[00] = colorcube[0][0]; \\r\\n primaryOuter[03] = colorcube[0][3]; \\r\\n primaryOuter[06] = colorcube[0][6]; \\r\\n primaryOuter[56] = colorcube[5][6]; \\r\\n primaryOuter[57] = colorcube[5][7]; \\r\\n primaryOuter[58] = colorcube[5][8]; \\r\\n primaryOuter[28] = colorcube[2][8]; \\r\\n primaryOuter[25] = colorcube[2][5]; \\r\\n primaryOuter[22] = colorcube[2][2]; \\r\\n \\r\\n \\r\\n colorcube[2][8] = primaryOuter[42]; \\r\\n colorcube[2][5] = primaryOuter[41]; \\r\\n colorcube[2][2] = primaryOuter[40]; \\r\\n colorcube[4][2] = primaryOuter[00]; \\r\\n colorcube[4][1] = primaryOuter[03]; \\r\\n colorcube[4][0] = primaryOuter[06]; \\r\\n colorcube[0][0] = primaryOuter[56]; \\r\\n colorcube[0][3] = primaryOuter[57]; \\r\\n colorcube[0][6] = primaryOuter[58]; \\r\\n colorcube[5][6] = primaryOuter[28]; \\r\\n colorcube[5][7] = primaryOuter[25]; \\r\\n colorcube[5][8] = primaryOuter[22]; \\r\\n \\r\\n System.out.println();\\r\\n System.out.println(\\\"Yellow CounterClockWise\\\"); \\r\\n return colorcube; \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35ad175c945e157da3bd7bc4424d9888\",\n \"score\": \"0.6073006\",\n \"text\": \"public void getColors() {\\n rosu = Integer.parseInt(colors.substring(UNU, TREI), SAISPREZECE);\\n verde = Integer.parseInt(colors.substring(TREI, CINCI), SAISPREZECE);\\n albastru = Integer.parseInt(colors.substring(CINCI, SAPTE), SAISPREZECE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66792f79a0a9cfa6000a4bd0dcc434ac\",\n \"score\": \"0.6041528\",\n \"text\": \"private void logic() {\\n // \\\"we fade to black\\\"\\n // ===========================================\\n for(int i=0; i Constants.THRESHOLD_3)) {\\n B--;\\n } else if ((R >= Constants.THRESHOLD_3 && R < Constants.THRESHOLD_5) && G == Constants.THRESHOLD_5 && B == Constants.THRESHOLD_3) {\\n R++;\\n } else if (R == Constants.THRESHOLD_5 && (G <= Constants.THRESHOLD_5 && G > Constants.THRESHOLD_3) && B == Constants.THRESHOLD_3) {\\n G--;\\n } else if (R == Constants.THRESHOLD_5 && G == Constants.THRESHOLD_3 && (B >= Constants.THRESHOLD_3 && B < Constants.THRESHOLD_5)) {\\n B++;\\n } else if ((R <= Constants.THRESHOLD_5 && R > Constants.THRESHOLD_3 && G == Constants.THRESHOLD_3 && B == Constants.THRESHOLD_5)) {\\n R--;\\n } else {\\n G++;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beb3f24ea4877c4217ed20da5488dfae\",\n \"score\": \"0.603002\",\n \"text\": \"int getColourComponents();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48617caabd0c1c84c4c5f131fc513c08\",\n \"score\": \"0.59910715\",\n \"text\": \"private void nextBackgroundColor() {\\n if (R == Constants.THRESHOLD_3 && (G <= Constants.THRESHOLD_4 && G > Constants.THRESHOLD_3) && B == Constants.THRESHOLD_5) {\\n G--;\\n } else if ((R >= Constants.THRESHOLD_3 && R < Constants.THRESHOLD_5) && G == Constants.THRESHOLD_3 && B == Constants.THRESHOLD_5) {\\n R++;\\n } else if (R == Constants.THRESHOLD_5 && G == Constants.THRESHOLD_3 && (B <= Constants.THRESHOLD_5 && B > Constants.THRESHOLD_3)) {\\n B--;\\n } else if (R == Constants.THRESHOLD_5 && (G >= Constants.THRESHOLD_3 && G < Constants.THRESHOLD_5) && B == Constants.THRESHOLD_3) {\\n G++;\\n } else if ((R <= Constants.THRESHOLD_5 && R > Constants.THRESHOLD_3) && G == Constants.THRESHOLD_5 && B == Constants.THRESHOLD_3) {\\n R--;\\n } else if (R == Constants.THRESHOLD_3 && G == Constants.THRESHOLD_5 && (B >= Constants.THRESHOLD_3 && B < Constants.THRESHOLD_5)) {\\n B++;\\n } else {\\n G--;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09fcd3e498aca45440479a8d87dee1c2\",\n \"score\": \"0.5941573\",\n \"text\": \"public void consultarCurva(Caja caja){\\n //unidadesCaja = caja.getUnidadesCaja();\\n pu = new funciones().precioConIva(caja.getPrecioventaUnidad());\\n numTallas = 0;\\n resetTallas();\\n numColores = 0;\\n resetCurva();\\n List tallasList = ejbFacadeInventario.tallasCaja(caja);\\n List curvasList = ejbFacadeInventario.curvaByCaja(caja);\\n if((tallasList != null) && (curvasList != null)){\\n int menorLista = 0;\\n if(tallas.length <= tallasList.size()){\\n numTallas = tallas.length;\\n }else{\\n numTallas = tallasList.size();\\n }\\n //Llenar Lista de Tallas a mostrar en curva\\n for(int t=0; t < numTallas; t++){\\n tallas[t] = tallasList.get(t);\\n }\\n int c = -1; //posicion del arreglo de curva\\n String colorActual = \\\"\\\"; //Color Actual\\n //Recorremos el arreglo de la consulta\\n for(Object consulta: curvasList){ // r: posicion en la consulta\\n int t; //Posicion de la talla en el arreglo tallas\\n Object[] actual = (Object[]) consulta;\\n if(!(actual[0].equals(colorActual))){\\n //No es igual (cambio de color)\\n c++; //posicion del arreglo de curva\\n colorActual = (String) actual[0]; //Nuevo Color\\n numColores++;\\n curva[c].setColor(colorActual);\\n }\\n //Es igual al color actual\\n for(t=0; t < tallas.length; t++){\\n if(actual[1].equals(tallas[t])){\\n break; //Encontrado\\n }\\n }\\n switch(t){\\n case 0: \\n curva[c].setT1(Integer.parseInt(actual[2].toString()));break;\\n case 1: \\n curva[c].setT2(Integer.parseInt(actual[2].toString())); break;\\n case 2: \\n curva[c].setT3(Integer.parseInt(actual[2].toString())); break;\\n case 3: \\n curva[c].setT4(Integer.parseInt(actual[2].toString())); break;\\n case 4: \\n curva[c].setT5(Integer.parseInt(actual[2].toString())); break;\\n case 5: \\n curva[c].setT6(Integer.parseInt(actual[2].toString())); break;\\n case 6: \\n curva[c].setT7(Integer.parseInt(actual[2].toString())); break;\\n case 7: \\n curva[c].setT8(Integer.parseInt(actual[2].toString())); break;\\n case 8: \\n curva[c].setT9(Integer.parseInt(actual[2].toString())); break;\\n case 9: \\n curva[c].setT10(Integer.parseInt(actual[2].toString()));break;\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8295a608caa533538097277cdabc64d\",\n \"score\": \"0.59341383\",\n \"text\": \"public void escudo(){\\n exi=14; eyi=0; epixeles=12;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.rojo);\\n pixeles(3, 4, cs.rojo);\\n pixeles(3, 2, cs.rojo);\\n pixeles(1,cs.rojo);\\n pixeles(1, 2, cs.rojo);\\n pixeles(1, 2, cs.rojo);\\n pixeles(1,cs.rojo);\\n pixeles(1, 2, cs.rojo);\\n pixeles(2,cs.rojo);\\n pixeles(1, 2, cs.rojo);\\n pixeles(11,cs.rojo);\\n //2do\\n exi=15; eyi=4; epixeles=10;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.rojo);\\n pixeles(2,4,cs.blanco);\\n pixeles(3,2,cs.blanco);\\n pixeles(1,2,cs.blanco);\\n pixeles(1,cs.blanco);\\n pixeles(1,2,cs.blanco);\\n pixeles(1,cs.blanco);\\n pixeles(10,cs.blanco);\\n //3ro\\n exi=16; eyi=8; epixeles=8;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.rojo);\\n for (int i=0; i<3; i++) {\\n pixeles(1,4,cs.rojo);\\n pixeles(1,cs.rojo);\\n }\\n pixeles(1,2,cs.rojo);\\n pixeles(8,cs.rojo);\\n \\n\\n\\n //Inverso\\n exi=14; eyi=39; epixeles=12;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.rojo);\\n pixelesAbajo(3, 4, cs.rojo);\\n pixelesAbajo(3, 2, cs.rojo);\\n pixelesAbajo(1,cs.rojo);\\n pixelesAbajo(1, 2, cs.rojo);\\n pixelesAbajo(1, 2, cs.rojo);\\n pixelesAbajo(1,cs.rojo);\\n pixelesAbajo(1, 2, cs.rojo);\\n pixelesAbajo(2,cs.rojo);\\n pixelesAbajo(1, 2, cs.rojo);\\n pixelesAbajo(1,cs.rojo);\\n //2do\\n exi=15; eyi=35; epixeles=10;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.rojo);\\n pixelesAbajo(2,4,cs.blanco);\\n pixelesAbajo(3,2,cs.blanco);\\n pixelesAbajo(1,2,cs.blanco);\\n pixelesAbajo(1,cs.blanco);\\n pixelesAbajo(1,2,cs.blanco);\\n pixelesAbajo(1,cs.blanco);\\n pixelesAbajo(10,cs.blanco);\\n //3ro\\n exi=16; eyi=31; epixeles=8;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.rojo);\\n for (int i=0; i<3; i++) {\\n pixelesAbajo(1,4,cs.rojo);\\n pixelesAbajo(1,cs.rojo);\\n }\\n pixelesAbajo(1,2,cs.rojo);\\n pixelesAbajo(8,cs.rojo);\\n\\n //Azul\\n line(17, 12, 24, 12, cs.azul);\\n line(16, 13, 25, 13, cs.azul);\\n line(15, 14, 26, 14, cs.azul);\\n line(14, 15, 27, 15, cs.azul);\\n line(13, 16, 28, 16, cs.azul);\\n line(12, 17, 29, 17, cs.azul);\\n line(12, 18, 29, 18, cs.azul);\\n line(12, 19, 29, 19, cs.azul);\\n line(12, 20, 29, 20, cs.azul);\\n line(12, 21, 29, 21, cs.azul);\\n line(12, 22, 29, 22, cs.azul);\\n line(12, 23, 29, 23, cs.azul);\\n line(13, 24, 28, 24, cs.azul);\\n line(14, 25, 27, 25, cs.azul);\\n line(15, 26, 26, 26, cs.azul);\\n line(16, 27, 25, 27, cs.azul);\\n line(17, 28, 24, 28, cs.azul);\\n\\n //Estrellas\\n drawPixel(20,13,cs.blanco);\\n drawPixel(20,14,cs.blanco);\\n exi=19; eyi=15; epixeles=3;\\n exf=exi+epixeles;\\n line(exi, eyi, exf, eyi, cs.blanco);\\n pixeles(1,cs.blanco);\\n pixeles(1,8,cs.blanco);\\n exi++;\\n eyi++;\\n line(exi, eyi, exi+9, eyi, cs.blanco);\\n exi++;\\n eyi++;\\n line(exi, eyi, exi+7, eyi, cs.blanco);\\n exi++;\\n eyi++;\\n line(exi, eyi, exi+5, eyi, cs.blanco);\\n exi--;\\n eyi++;\\n line(exi, eyi, exi+7, eyi, cs.blanco);\\n exi--;\\n eyi++;\\n line(exi, eyi, exi+8, eyi, cs.blanco);\\n line(16,23,25,23,cs.blanco);\\n line(15,24,18,24,cs.blanco); line(23,24,26,24,cs.blanco);\\n drawPixel(15, 25,cs.blanco); drawPixel(25,25,cs.blanco);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f450a5ed1bad7cf5ae94dfe4ff439622\",\n \"score\": \"0.5901061\",\n \"text\": \"public void pintarCola(JPanel panelito){\\n\\t\\tfor (int i = 0; i < Constantes.tamanioCola; i++) {\\n\\t\\t\\tpanelito.getComponent(i).setBackground(dato.getCola().getCola().get(i).getColor());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ba30daf357b2319f08ba098367ee67a\",\n \"score\": \"0.58790743\",\n \"text\": \"void criaListaCores(JFrame janela) {\\r\\n \\tcores.clear();\\r\\n \\tcores.add(new Rect(10, janela.getHeight()-100, 30, 30, Color.black, Color.black));\\r\\n \\tcores.add(new Rect(40, janela.getHeight()-100, 30, 30, Color.black, Color.white));\\r\\n \\tcores.add(new Rect(70, janela.getHeight()-100, 30, 30, Color.black, Color.gray));\\r\\n \\tcores.add(new Rect(100, janela.getHeight()-100, 30, 30, Color.black, Color.green));\\r\\n \\tcores.add(new Rect(130, janela.getHeight()-100, 30, 30, Color.black, Color.blue));\\r\\n \\tcores.add(new Rect(160, janela.getHeight()-100, 30, 30, Color.black, Color.pink));\\r\\n \\tcores.add(new Rect(190, janela.getHeight()-100, 30, 30, Color.black, Color.yellow));\\r\\n \\tcores.add(new Rect(220, janela.getHeight()-100, 30, 30, Color.black, Color.orange));\\r\\n \\tcores.add(new Rect(250, janela.getHeight()-100, 30, 30, Color.black, Color.red));\\r\\n \\tcores.add(new Rect(280, janela.getHeight()-100, 30, 30, Color.black, new Color(150, 75, 0)));\\r\\n \\tcores.add(new Rect(310, janela.getHeight()-100, 30, 30, Color.black, new Color(148, 0, 211)));\\r\\n \\t\\r\\n \\tcores.add(new Rect(10, janela.getHeight()-70, 30, 30, Color.black, Color.black));\\r\\n \\tcores.add(new Rect(40, janela.getHeight()-70, 30, 30, Color.black, Color.white));\\r\\n \\tcores.add(new Rect(70, janela.getHeight()-70, 30, 30, Color.black, Color.gray));\\r\\n \\tcores.add(new Rect(100, janela.getHeight()-70, 30, 30, Color.black, Color.green));\\r\\n \\tcores.add(new Rect(130, janela.getHeight()-70, 30, 30, Color.black, Color.blue));\\r\\n \\tcores.add(new Rect(160, janela.getHeight()-70, 30, 30, Color.black, Color.pink));\\r\\n \\tcores.add(new Rect(190, janela.getHeight()-70, 30, 30, Color.black, Color.yellow));\\r\\n \\tcores.add(new Rect(220, janela.getHeight()-70, 30, 30, Color.black, Color.orange));\\r\\n \\tcores.add(new Rect(250, janela.getHeight()-70, 30, 30, Color.black, Color.red));\\r\\n \\tcores.add(new Rect(280, janela.getHeight()-70, 30, 30, Color.black, new Color(150, 75, 0)));\\r\\n \\tcores.add(new Rect(310, janela.getHeight()-70, 30, 30, Color.black, new Color(148, 0, 211)));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b80a2467428a50af5d3955414d74da10\",\n \"score\": \"0.58770657\",\n \"text\": \"private void rgb2cmyk()\\n {\\n \\tdouble red_ = red / 255.0;\\n \\tdouble green_ = green / 255.0;\\n \\tdouble blue_ = blue / 255.0;\\n \\t\\n \\tdouble max = red_ > green_ ? red_ : green_;\\n max = max > blue_ ? max : blue_;\\n \\t\\n key = 1.0 - max;\\n \\n cyan = (1.0 - red_ - key) / (1.0 - key);\\n magenta = (1.0 - green_ - key) / (1.0 - key);\\n yellow = (1.0 - blue_ - key) / (1.0 - key);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7830a08173973bb7bb9fc7965f5339c\",\n \"score\": \"0.58741724\",\n \"text\": \"private Crystal3D() {\\r\\n this.count = 1;\\r\\n this.radius = 1;\\r\\n this.zoom = 0;\\r\\n Color[] c = {Color.RED, Color.BLUE, Color.BLACK};\\r\\n this.color = new StandardColor(c);\\r\\n //parts.add(new CParticle3(point3(0, 0, 0), 1, null));\\r\\n CParticle3 p = new CParticle3(point3(0, 0, 0), 1, null);\\r\\n color.chooseColor(p);\\r\\n parts.add(p);\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13d9d2c83dcf9dbe4b2c719f337ff200\",\n \"score\": \"0.58692724\",\n \"text\": \"public void buildPrecomputedColors(){\\n\\t\\tif (settingsCopy.getIterations() cores) {\\n\\t\\tint i = 1;\\n\\t\\tfor (String color : cores) {\\n\\t\\t\\tthis.corP(i, color);\\n\\t\\t\\ti++;\\n\\t\\t}\\n\\t\\t\\n\\t\\ti = entrada();\\n\\t\\t\\n\\t\\twhile(i < 1 || i > cores.size()) {\\n\\t\\t\\tthis.opcaoIncorreta();\\n\\t\\t\\ti = entrada();\\n\\t\\t}\\n\\t\\t\\n\\t\\tthis.cor = cores.get(i-1);\\n\\t\\tcores.remove(i-1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24b302fe53048fd1e18c17528f665b5c\",\n \"score\": \"0.57658935\",\n \"text\": \"private void putCasillas() {\\n int y = 0;\\r\\n int x = 0;\\r\\n for (int i = 0; i < Constants.FILAS; i++) {\\r\\n for (int j = 0; j < Constants.COLUMNAS; j++) {\\r\\n switch (i) {\\r\\n case 0:\\r\\n y = Constants.Y11;\\r\\n break;\\r\\n case 1:\\r\\n y = Constants.Y22;\\r\\n break;\\r\\n case 2:\\r\\n y = Constants.Y33;\\r\\n break;\\r\\n }\\r\\n switch (j) {\\r\\n case 0:\\r\\n x = Constants.X11;\\r\\n break;\\r\\n case 1:\\r\\n x = Constants.X22;\\r\\n break;\\r\\n case 2:\\r\\n x = Constants.X33;\\r\\n break;\\r\\n }\\r\\n casillas[i][j] = new JButton();//Creamos el boton\\r\\n casillas[i][j].setBounds(x, y, Constants.SQUARE, Constants.SQUARE);//Dimensionamos y decidimos su posición\\r\\n casillas[i][j].setBorderPainted(false);//Quitamos los bordes del boton\\r\\n casillas[i][j].setIcon(new ImageIcon(casillaVacia.getImage().getScaledInstance(casillas[i][j].getWidth(), casillas[i][j].getHeight(), Image.SCALE_SMOOTH)));//Dimensionamos la imagen segun el boton\\r\\n casillas[i][j].addActionListener(this);//Añadimos el ActionListener a las casillas\\r\\n this.add(casillas[i][j]);//Añadimos el boton al panel\\r\\n\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6dd88fc8fdaa10de1621dd862def7f7b\",\n \"score\": \"0.57431465\",\n \"text\": \"public void ci4(byte[] rgba5551s) {\\n byte colorHigh;\\r\\n byte colorLow;\\r\\n byte[] palette = new byte[16 * 2]; \\r\\n boolean inPalette = false;\\r\\n int paletteIndex = 0;\\r\\n byte[] paletteIndexes = new byte[rgba5551s.length / 2];\\r\\n\\r\\n // init arrays\\r\\n for (byte i = 0; i < palette.length; i++) {\\r\\n palette[i] = 0;\\r\\n }\\r\\n\\r\\n for (int i = 0; i < paletteIndexes.length; i++) {\\r\\n paletteIndexes[i] = 0;\\r\\n }\\r\\n\\r\\n // omega(16n) bleh\\r\\n for (int i = 0; i < rgba5551s.length; i += 2) {\\r\\n // get color\\r\\n colorHigh = rgba5551s[i];\\r\\n colorLow = rgba5551s[i + 1];\\r\\n \\r\\n // check if color is already in \\r\\n for (int j = 0; j < palette.length; j += 2) {\\r\\n if (colorHigh == palette[j] && colorLow == palette[j + 1]) {\\r\\n inPalette = true; \\r\\n break;\\r\\n }\\r\\n }\\r\\n\\r\\n // add to palette if necessary\\r\\n if (!inPalette) {\\r\\n try {\\r\\n palette[paletteIndex] = colorHigh;\\r\\n palette[paletteIndex + 1] = colorLow;\\r\\n paletteIndex += 2;\\r\\n } catch (Exception e) {\\r\\n System.out.println(\\\"CI4 color max exceeded!\\\");\\r\\n return;\\r\\n }\\r\\n }\\r\\n\\r\\n // reset inPalette after adding color to palette\\r\\n inPalette = false;\\r\\n }\\r\\n\\r\\n // gather indicies\\r\\n for (int i = 0; i < paletteIndexes.length; i++) {\\r\\n // get color\\r\\n colorHigh = rgba5551s[i * 2];\\r\\n colorLow = rgba5551s[i * 2 + 1];\\r\\n \\r\\n for (byte j = 0; j < palette.length; j += 2) {\\r\\n if (colorHigh == palette[j] && colorLow == palette[j + 1]) {\\r\\n paletteIndexes[i] = (byte) (j / 2);\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n // debug, print paleteindexes\\r\\n for (int i = 0; i < paletteIndexes.length; i++) {\\r\\n //System.out.printf(\\\"paletteIndexes[%d] = %X\\\\n\\\", i, paletteIndexes[i]);\\r\\n }\\r\\n\\r\\n // create texture\\r\\n byte ci4Out[] = new byte[rgba5551s.length / 4];\\r\\n for (int i = 0; i < ci4Out.length; i++) {\\r\\n ci4Out[i] = 0;\\r\\n }\\r\\n\\r\\n for (int i = 0; i < paletteIndexes.length; i += 2) {\\r\\n byte a, b;\\r\\n a = (byte) (paletteIndexes[i] << 4);\\r\\n b = (byte) (paletteIndexes[i + 1]);\\r\\n ci4Out[i / 2] = (byte) (a | b); \\r\\n }\\r\\n \\r\\n // write pallette\\r\\n try (FileOutputStream fos = new FileOutputStream(\\\"out.ci4pal\\\")) {\\r\\n fos.write(palette);\\r\\n } catch (Exception e) {\\r\\n System.out.println(\\\"Unknown error occured!\\\");\\r\\n System.exit(0);\\r\\n }\\r\\n\\r\\n // write texture\\r\\n try (FileOutputStream fos = new FileOutputStream(\\\"out.ci4tex\\\")) {\\r\\n fos.write(ci4Out);\\r\\n } catch (Exception e) {\\r\\n System.out.println(\\\"Unknown error occured!\\\");\\r\\n System.exit(0);\\r\\n }\\r\\n\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42356d06d5d602870c6850b50174e8fb\",\n \"score\": \"0.57431406\",\n \"text\": \"void setColor( int i, Color c )\\n {\\n if ( i < 0 || i > MAX_COLORS ) // should throw an exception!\\n {\\n System.err.println( \\\"*** ERROR *** Object3D.setColor: bad index: \\\" \\n + i + \\\"\\\\n\\\" );\\n return;\\n }\\n float[] rgb = c.getComponents( null );\\n Color newColor = new Color( rgb[ 0 ], rgb[ 1 ], rgb[ 2 ] );\\n if ( i >= colors.size() ) // need to add entries to vector\\n {\\n for ( int n = colors.size(); n < i; n++ ) // fill w/ black if needed\\n colors.add( Color.BLACK );\\n colors.add( newColor ); // put desired color at desired index\\n }\\n else\\n {\\n // now replace old entry \\n colors.set( i, newColor );\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bd8cb36e9e2bac2312b145bef4d6478\",\n \"score\": \"0.5681236\",\n \"text\": \"public void runExampe() {\\n Color tomato = new RGBColor(255, 99, 71);\\n\\n //Now, we make an instance of Palette once and ask it to return a color to us every time we need it:\\n Palette palette = new Palette();\\n Color c1 = palette.take(255, 99, 71);\\n Color c2 = palette.take(255, 99, 71);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36905216427b6b5fc95467ea312f39ff\",\n \"score\": \"0.5677012\",\n \"text\": \"synchronized void waitColors( Pencils artistPencils )\\r\\n {\\r\\n // check if need a red pencil\\r\\n if( !artistPencils.getColor(RED) )\\r\\n {\\r\\n if( artistPencils.onlyAbsentColor(RED) )// if red is the only pencil needed\\r\\n {\\r\\n setColor( artistPencils, RED ); // wait for red then return\\r\\n return ;\\r\\n }\\r\\n if( count[RED] > 0 ) // else take a red pencil if one is free\\r\\n {\\r\\n count[RED]-- ;\\r\\n artistPencils.setColor( RED );\\r\\n }\\r\\n }// RED\\r\\n\\r\\n // or move on and check if need a green pencil\\r\\n if( !artistPencils.getColor(GREEN) )\\r\\n {\\r\\n if( artistPencils.onlyAbsentColor(GREEN) )// if green is the only pencil needed\\r\\n {\\r\\n setColor( artistPencils, GREEN ); // wait for green then return\\r\\n return ;\\r\\n }\\r\\n if( count[GREEN] > 0 ) // else take a green pencil if one is free\\r\\n {\\r\\n count[GREEN]-- ;\\r\\n artistPencils.setColor( GREEN );\\r\\n }\\r\\n }// GREEN\\r\\n\\r\\n // or move on and get a yellow pencil if it is needed\\r\\n if( !artistPencils.getColor(YELLOW) )\\r\\n {\\r\\n if( artistPencils.onlyAbsentColor(YELLOW) )// if yellow is the only pencil needed\\r\\n {\\r\\n setColor( artistPencils, YELLOW ); // wait for yellow then return\\r\\n return ;\\r\\n }\\r\\n if( count[YELLOW] > 0 ) // else take a yellow pencil if one is free\\r\\n {\\r\\n count[YELLOW]-- ;\\r\\n artistPencils.setColor( YELLOW );\\r\\n }\\r\\n }// YELLOW\\r\\n\\r\\n // or finish by trying to get a blue pencil if this color is needed\\r\\n if( !artistPencils.getColor(BLUE) )\\r\\n {\\r\\n if( artistPencils.onlyAbsentColor(BLUE) )// if blue is the only missing color\\r\\n {\\r\\n setColor( artistPencils, BLUE ); // wait for blue then return\\r\\n return ;\\r\\n }\\r\\n if( count[BLUE] > 0 ) // else take a blue pencil if one is free\\r\\n {\\r\\n count[BLUE]-- ;\\r\\n artistPencils.setColor( BLUE );\\r\\n }\\r\\n }// BLUE\\r\\n\\r\\n // then return from the Semaphore\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f15bbcac88296767fba2d9c550191493\",\n \"score\": \"0.5650594\",\n \"text\": \"private synchronized void sceltaColore(){\\n\\t\\tthis.coloriInOrdine = new ArrayList(this.giocatoriIniziali.size());\\n\\t\\tColori coloreTemp = null; \\n\\t\\tGiocatoreConnesso giocatoreTemp; \\n\\t\\tIterator iteratoreGiocatori = this.giocatoriIniziali.iterator();\\n\\t\\tArrayList coloriDisponibili = riempiListaColori(); \\n\\t\\twhile(iteratoreGiocatori.hasNext()){\\n\\t\\t\\tgiocatoreTemp = iteratoreGiocatori.next();\\n\\t\\t\\t//chiamo il metodo per la scelta del colore nella classe Player\\n\\t\\t\\tif(giocatoreTemp.getMiaPartita() == this)\\n\\t\\t\\t\\tgiocatoreTemp.scegliColore(tempoSceltaColore, coloriDisponibili);\\n\\t\\t\\tattendiSceltaColore();\\n\\t\\t\\tcoloreTemp = this.coloreScelto;\\n\\t\\t\\t//se mi ritorna null significa che non ha scelto nulla, quindi glielo assegno io di default\\n\\t\\t\\tif(coloreTemp == null || coloreTemp == Colori.NEUTRO){\\n\\t\\t\\t\\tcoloreTemp = coloriDisponibili.get(0); //scelgo il primo nella lista (l'utente non aveva scelto in tempo)\\n\\t\\t\\t}\\n\\t\\t\\tcoloriDisponibili.remove(coloreTemp);\\n\\t\\t\\tthis.coloriInOrdine.add(coloreTemp);\\n\\t\\t\\tgiocatoreTemp.setColoreGiocatore(coloreTemp);\\n\\t\\t\\tthis.coloreScelto = Colori.NEUTRO;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a38d71f7009bcf84efcc5676cdb2fb2\",\n \"score\": \"0.5621696\",\n \"text\": \"private void setColourForEachBit(String error){\\n String tmp = inputData.getText();\\n\\n /*if(!error.equals(tmp)){\\n tmp = error;\\n }*/\\n\\n StyledDocument doc = outputData.getStyledDocument(); //wyjscie dla calosci - kolor\\n StyledDocument doc_disk1 = disk1.getStyledDocument(); //wyjscie dla dysku 1 - kolor\\n StyledDocument doc_disk2 = disk2.getStyledDocument(); //wyjscie dla dysku 2 - kolor\\n\\n Style style = outputData.addStyle(\\\"Red coloured text\\\", null);\\n Style style_disk1 = disk1.addStyle(\\\"Red coloured tex\\\", null);\\n Style style_disk2 = disk2.addStyle(\\\"Red coloured te\\\", null);\\n StyleConstants.setBackground(style, Color.red);\\n StyleConstants.setBackground(style_disk1, Color.red);\\n StyleConstants.setBackground(style_disk2, Color.red);\\n\\n Style style2 = outputData.addStyle(\\\"Black coloured text\\\", null);\\n Style style2_disk1 = disk1.addStyle(\\\"Black coloured tex\\\", null);\\n Style style2_disk2 = disk2.addStyle(\\\"Black coloured te\\\", null);\\n StyleConstants.setBackground(style2, Color.white);\\n StyleConstants.setBackground(style2_disk1, Color.white);\\n StyleConstants.setBackground(style2_disk2, Color.white);\\n\\n int j = 0;\\n int k = 0;\\n for(int i=0; i color(int n) {\\n\\t\\tList colors = new ArrayList();\\n\\t\\tcolors.addAll(Arrays.asList(Color.red, Color.green, Color.blue,new Color(148, 0, 211), new Color(135, 51, 36), Color.gray, Color.pink, new Color(175, 255, 225), new Color(130, 175, 190),\\n\\t\\t\\t\\tColor.yellow, Color.cyan, new Color(46, 139, 87)));\\n\\t\\treturn colors;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e192fcd2335cdb44c7521c514963898b\",\n \"score\": \"0.5606504\",\n \"text\": \"private void llenarCasillasLibres(){\\r\\n\\t\\tint capaID = mapa.getLayerIndex(\\\"collision\\\");\\r\\n\\t\\tfor(int i = 0;i < altoEnTiles;i++){\\r\\n\\t\\t\\tfor(int j = 0;j < anchoEnTiles;j++){\\r\\n\\t\\t\\t\\tint tileID = mapa.getTileId(j, i, capaID);\\r\\n\\t\\t\\t\\tif(tileID != 0){\\r\\n\\t\\t\\t\\t\\tcasillasLibres[i][j] = false;\\r\\n\\t\\t\\t\\t\\tresistenciaCasillas[i][j] = 2;\\r\\n\\t\\t\\t\\t}else{\\r\\n\\t\\t\\t\\t\\tcasillasLibres[i][j] = true;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69056678db5bc1394b3bd4bd550d9e46\",\n \"score\": \"0.5605862\",\n \"text\": \"public LinkedList generarColoresCola(){\\n\\t\\tLinkedList cola= this.dato.generarCola();\\n\\t\\tLinkedList colaVista= new LinkedList();\\n\\t\\tfor (Iterator iterator = cola.iterator(); iterator.hasNext();) {\\n\\t\\t\\tColores color = (Colores) iterator.next();\\n\\t\\t\\tJLabel colorVista= new JLabel();\\n\\t\\t\\tcolorVista.setBackground(color.getColor());\\n\\t\\t}\\n\\t\\treturn colaVista;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3ccaca7e92b67e5167135688b5c4469\",\n \"score\": \"0.5590347\",\n \"text\": \"public void paintAbsValColorWheel() {\\r\\n\\t\\tColor c;\\r\\n\\t\\tfloat gammaInv= 1/gamma;\\r\\n\\t\\tfor(int r=r6;r>=0;r-=1) {\\r\\n\\t\\t\\tint arcw = 2*r;\\r\\n\\t\\t\\tint arch = 2*r;\\r\\n\\t\\t\\tint x = r6-arcw/2;\\r\\n\\t\\t\\tint y = r6-arch/2;\\r\\n\\t\\t\\tdouble ang = r/(r6*Math.sqrt(2));\\r\\n\\t\\t\\tdouble theta = 2 * Math.asin(ang);\\r\\n\\t\\t\\tfor(int angle=0;angle<=360;angle++) {\\r\\n\\t\\t\\t\\tfloat phi = angle * ((float)Math.PI/180);\\r\\n\\t\\t\\t\\tfloat red = (Math.abs((float)Math.sin(theta) * (float)Math.cos(phi)));\\r\\n\\t\\t\\t\\tfloat green = (Math.abs((float)Math.sin(theta) * (float)Math.sin(phi)));\\r\\n\\t\\t\\t\\tfloat blue = (Math.abs((float)Math.cos(theta)));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//shift blue\\r\\n\\t\\t\\t\\tblueShiftColors = shiftBlue(red,green,blue);\\r\\n\\t\\t\\t\\tred = blueShiftColors[0];\\r\\n\\t\\t\\t\\tgreen = blueShiftColors[1];\\r\\n\\t\\t\\t\\tblue = blueShiftColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//shift red\\r\\n\\t\\t\\t\\tredShiftColors = shiftRed(red,green,blue);\\r\\n\\t\\t\\t\\tred = redShiftColors[0];\\r\\n\\t\\t\\t\\tgreen = redShiftColors[1];\\r\\n\\t\\t\\t\\tblue = redShiftColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//adjust green\\r\\n\\t\\t\\t\\tgreenAdjColors = adjustGreen(red,green,blue);\\r\\n\\t\\t\\t\\tred = greenAdjColors[0];\\r\\n\\t\\t\\t\\tgreen = greenAdjColors[1];\\r\\n\\t\\t\\t\\tblue = greenAdjColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//gamma correction\\r\\n\\t\\t\\t\\tred = (float)Math.pow(red,gammaInv);\\r\\n\\t\\t\\t\\tgreen = (float)Math.pow(green,gammaInv);\\r\\n\\t\\t\\t\\tblue = (float)Math.pow(blue,gammaInv);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tc = new Color(red,green,blue);\\r\\n\\t\\t\\t\\toffGraphics.setColor(c);\\r\\n\\t\\t\\t\\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"723a8ec67f4db33a8e034c469478e8a1\",\n \"score\": \"0.55754215\",\n \"text\": \"public void marque(int[] t){\\r\\n for(int i=0; i<3;i++){\\r\\n tab[t[i]].setBackground(Color.BLUE);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6db2f64de3cdf72fa56d84ab37898f07\",\n \"score\": \"0.5555727\",\n \"text\": \"public static void colorTiles(){\\n Tile current = redStart;\\n int counter = 3;\\n do{\\n if(counter%4==0) current.setColor(\\\"red\\\");\\n if(counter%4==1) current.setColor(\\\"yellow\\\");\\n if(counter%4==2) current.setColor(\\\"blue\\\");\\n if(counter%4==3) current.setColor(\\\"green\\\");\\n counter++;\\n current=current.getNextTile();\\n } while(current!=redStart);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11babe0ec73696a831aad60e36195fbc\",\n \"score\": \"0.55533093\",\n \"text\": \"private void build()\\n\\t\\t{\\n\\t\\tfor(int i = 0; i < resX; i++)\\n\\t\\t\\t{\\n\\t\\t\\tfor(int j = 0; j < resY; j++)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\tfor(int k = 0; k < resZ; k++)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tvertices[i][j][k] = initialColor.cloneOf();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dba9c3faed4c9f74879aa2ab10ee8575\",\n \"score\": \"0.55530846\",\n \"text\": \"private static void test1(){\\n StringBuilder red = new StringBuilder();\\n StringBuilder blue = new StringBuilder();\\n StringBuilder green = new StringBuilder();\\n StringBuilder yellow = new StringBuilder();\\n StringBuilder purple = new StringBuilder();\\n StringBuilder cyan = new StringBuilder();\\n StringBuilder grey = new StringBuilder();\\n \\n for(int i = 0; i < 255; i += 5){\\n \\tred.append(Colors.foreground(i, 0, 0)).append(\\\"█\\\");\\n green.append(Colors.foreground(0, i, 0)).append(\\\"█\\\");\\n blue.append(Colors.foreground(0, 0, i)).append(\\\"█\\\");\\n yellow.append(Colors.foreground(i, i, 0)).append(\\\"█\\\");\\n purple.append(Colors.foreground(i, 0, i)).append(\\\"█\\\");\\n cyan.append(Colors.foreground(0, i, i)).append(\\\"█\\\");\\n grey.append(Colors.foreground(i, i, i)).append(\\\"█\\\");\\n }\\n System.out.println(red + Colors.RESET_ALL);\\n System.out.println(green + Colors.RESET_ALL);\\n System.out.println(blue + Colors.RESET_ALL);\\n System.out.println(yellow + Colors.RESET_ALL);\\n System.out.println(purple + Colors.RESET_ALL);\\n System.out.println(cyan + Colors.RESET_ALL);\\n System.out.println(grey + Colors.RESET_ALL);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5195e1c7354dda664c89026a2c071b0f\",\n \"score\": \"0.5551804\",\n \"text\": \"private void colorShiftingUtil(){\\n if (currClothingPiece.equals(\\\"shirt\\\")){\\n currShirtColor = shirtColors.peek();\\n mainFragment.changeColorShirt(currShirtColor);\\n } else {\\n currPantColor = pantsColors.peek();\\n mainFragment.changeColorPant(currPantColor);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a15eee651451ce4d632ac7c4a73596f5\",\n \"score\": \"0.55466574\",\n \"text\": \"public void dibujarTablero() {\\n int id = 0;\\n int color;\\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\\n color = getColorId(getColor(sharedPreferences));\\n \\n\\n for (int i = 0; i < Game.NFILAS; i++)\\n for (int j = 0; j < Game.NCOLUMNAS; j++) {\\n \\t if(game.devolverCasilla(i,j)==Game.MAQUINA){\\n \\t\\t id = R.color.yellow;\\n \\t }\\n \\t else if(game.devolverCasilla(i,j) == Game.JUGADOR){\\n \\t\\t id = color;\\n \\t }\\n \\t else{\\n \\t\\t id = R.color.light_blue;\\n \\t }\\n ImageButton imageButton = (ImageButton) findViewById(ids[i][j]);\\n GradientDrawable drawable = (GradientDrawable) imageButton.getDrawable();\\n drawable.setColor(getResources().getColor(id));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c4847eb110c5c15f3bd8c4fe57edf7a\",\n \"score\": \"0.5531877\",\n \"text\": \"private void init() {\\n tablero= new Color[a][b];\\r\\n for (int i = 0; i < a; i++) {\\r\\n for (int j = 0; j < b-1; j++) {\\r\\n if(i== 0 || i== a-1 || j== b-2) {\\r\\n tablero[i][j]= Color.DARK_GRAY;\\r\\n } else {\\r\\n tablero[i][j]= Color.BLACK;\\r\\n }\\r\\n }\\r\\n }\\r\\n nuevapieza();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"856504fb2a1a1c43d372eb1ba497df32\",\n \"score\": \"0.55165225\",\n \"text\": \"public static String cortarRed (){\\n String partRed = \\\"\\\";\\n\\n int as;\\n int ass;\\n for (int i = 0; i < 4; i++) {\\n as=Red.get(i);\\n ass=ipe.get(i);\\n System.out.println(\\\"reddddddddd: \\\"+ Red);\\n System.out.println(\\\"ipppppppppp: \\\"+ ipe);\\n System.out.println(\\\"igualllllll: \\\"+ (as==ass));\\n\\n if (Red.get(i).equals(ipe.get(i))) {\\n partRed += Integer.toString(ipe.get(i));\\n if (i < 3) partRed += \\\".\\\";\\n ///\\n }else{\\n partHost += Integer.toString(ipe.get(i));\\n if (i < 3) partHost += \\\".\\\";\\n }\\n\\n }\\n return partRed;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6cc5d3456ba9ef39d3f69477fe2aa0b\",\n \"score\": \"0.5514636\",\n \"text\": \"public void puntos(){\\n int image=1;\\n for (int i=0; i<2000; i++) {\\n drawPixel(px[0][i],py[0][i],cs.verde);\\n drawPixel(px[1][i],py[1][i],cs.rosa);\\n drawPixel(px[2][i],py[2][i],cs.amarillo);\\n drawPixel(px[3][i],py[3][i],cs.rojo);\\n drawPixel(px[4][i],py[4][i],cs.cafe);\\n }\\n estrellas[image] = bullet;\\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\\n image++;\\n for (int i=0; i<2000; i++) {\\n drawPixel(px[0][i],py[0][i],cs.amarillo);\\n drawPixel(px[1][i],py[1][i],cs.cafe);\\n drawPixel(px[2][i],py[2][i],cs.rojo);\\n drawPixel(px[3][i],py[3][i],cs.rosa);\\n drawPixel(px[4][i],py[4][i],cs.verde);\\n }\\n estrellas[image] = bullet;\\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\\n image++;\\n for (int i=0; i<2000; i++) {\\n drawPixel(px[0][i],py[0][i],cs.rosa);\\n drawPixel(px[1][i],py[1][i],cs.rojo);\\n drawPixel(px[2][i],py[2][i],cs.verde);\\n drawPixel(px[3][i],py[3][i],cs.amarillo);\\n drawPixel(px[4][i],py[4][i],cs.cafe);\\n }\\n estrellas[image] = bullet;\\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\\n image++;\\n for (int i=0; i<2000; i++) {\\n drawPixel(px[0][i],py[0][i],cs.amarillo);\\n drawPixel(px[1][i],py[1][i],cs.rosa);\\n drawPixel(px[2][i],py[2][i],cs.cafe);\\n drawPixel(px[3][i],py[3][i],cs.rojo);\\n drawPixel(px[4][i],py[4][i],cs.verde);\\n }\\n estrellas[image] = bullet;\\n px = new int[1][1];\\n py = new int[1][1];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4767c5877e16cd3e06cd843aeb976ef\",\n \"score\": \"0.550497\",\n \"text\": \"private Color trocaCor() {\\r\\n\\t\\tif (cor.equals(Color.WHITE)) cor = Color.BLACK;\\r\\n\\t\\telse if (cor.equals(Color.BLACK)) cor = Color.WHITE; \\r\\n\\t\\treturn cor;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2f3f07196e8f56b91c6ca9111aa90f9\",\n \"score\": \"0.5502221\",\n \"text\": \"static void crearcolasvic() {\\n\\t\\t int a = movs.size();\\n\\t\\t int n = a-1; //indice del tablero final (ganador)\\n\\t\\t while (n != -1){ //hasta llegar al primer tablero\\n\\t\\t movsvic.add(movs.get(n)); //agregar movimiento\\n\\t\\t colavic.add(cola.get(n)); //agregar tablero\\n\\t\\t n = back.get(n); //retroceder al movimiento anterior\\n\\t\\t }\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"389393f36acfaba26ea904980d2e86ec\",\n \"score\": \"0.54996467\",\n \"text\": \"public void tirarHuevo() {\\r\\n\\t\\tboolean ingresado = false;\\r\\n\\t\\tHuevo huevo = new Huevo();\\r\\n\\t\\twhile (!ingresado) {\\r\\n\\t\\t\\tint k = Utiles.leerNumeros(\\\"Ingrese coordenada x(vertical):\\\" , \\\"sinlinea\\\");\\r\\n\\t\\t\\tint j = Utiles.leerNumeros(\\\"Ingrese coordenada y(horizontal):\\\" , \\\"sinlinea\\\");\\r\\n\\t\\t\\tif (k >=0 && k <14 && j >= 0 && j < 14) {\\r\\n\\t\\t\\thuevo.setX(k);\\r\\n\\t\\t\\thuevo.setY(j);\\r\\n\\t\\t\\tingresado = true;\\r\\n\\t\\t\\t}else {\\r\\n\\t\\t\\t\\tUtiles.escribir(\\\"coordenadas invalidas. Trate con numeros entre 0 y 14\\\");\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tString objImpactado = verificaImpacto(huevo.getX(), huevo.getY());\\r\\n\\t\\ttablero[huevo.getX()][huevo.getY()] = huevo.getCodigo(); // pone letra en tablero\\r\\n\\t\\ttiros.add(huevo); // agrega huevo a arrayList de tiros\\r\\n\\t\\tmarcador.setIntentos(marcador.getIntentos() + 1); // incrementa numero intentos\\r\\n\\t\\tif (objImpactado.equals(\\\"Trupalla\\\")) {\\r\\n\\t\\t\\tfor (Carro carro : carros) {\\r\\n\\t\\t\\t\\tfor (Posicion posicion : carro.posiciones) {\\r\\n\\t\\t\\t\\t\\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\\r\\n\\t\\t\\t\\t\\t\\tcarro.setVida(carro.getVida() - 1);\\r\\n\\t\\t\\t\\t\\t\\tif (carro.getVida() == 0) {\\r\\n\\t\\t\\t\\t\\t\\t\\tint puntaje = marcador.getPuntaje();\\r\\n\\t\\t\\t\\t\\t\\t\\tmarcador.setPuntaje(puntaje + 1);\\r\\n\\t\\t\\t\\t\\t\\t\\thuevo.setPuntaje(1);\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tif (objImpactado.equals(\\\"Caguano\\\")) {\\r\\n\\t\\t\\tfor (Carro carro : carros) {\\r\\n\\t\\t\\t\\tfor (Posicion posicion : carro.posiciones) {\\r\\n\\t\\t\\t\\t\\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\\r\\n\\t\\t\\t\\t\\t\\tcarro.setVida(carro.getVida() - 1);\\r\\n\\t\\t\\t\\t\\t\\tint puntaje = marcador.getPuntaje();\\r\\n\\t\\t\\t\\t\\t\\tmarcador.setPuntaje(puntaje + 2);\\r\\n\\t\\t\\t\\t\\t\\thuevo.setPuntaje(2);\\r\\n\\t\\t\\t\\t\\t\\tif (carro.getVida() == 0) {\\r\\n\\t\\t\\t\\t\\t\\t\\tUtiles.escribir(\\\"Caguano destruido!!! +7pts\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\tpuntaje = marcador.getPuntaje();\\r\\n\\t\\t\\t\\t\\t\\t\\tmarcador.setPuntaje(puntaje + 7);\\r\\n\\t\\t\\t\\t\\t\\t\\thuevo.setPuntaje(2 + 7);\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tif (objImpactado.equals(\\\"Kromi\\\")) {\\r\\n\\t\\t\\tfor (Carro carro : carros) {\\r\\n\\t\\t\\t\\tfor (Posicion posicion : carro.posiciones) {\\r\\n\\t\\t\\t\\t\\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\\r\\n\\t\\t\\t\\t\\t\\tcarro.setVida(carro.getVida() - 1);\\r\\n\\t\\t\\t\\t\\t\\tint puntaje = marcador.getPuntaje();\\r\\n\\t\\t\\t\\t\\t\\tmarcador.setPuntaje(puntaje + 3);\\r\\n\\t\\t\\t\\t\\t\\thuevo.setPuntaje(3);\\r\\n\\t\\t\\t\\t\\t\\tif (carro.getVida() == 0) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpuntaje = marcador.getPuntaje();\\r\\n\\t\\t\\t\\t\\t\\t\\tUtiles.escribir(\\\"Kromi destruida!!! +10pts\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\tmarcador.setPuntaje(puntaje + 10);\\r\\n\\t\\t\\t\\t\\t\\t\\thuevo.setPuntaje(3 + 10);\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tif (marcador.getPuntaje() >= PUNTAJE_MAXIMO) {\\r\\n\\t\\t\\tUtiles.escribir(\\\"FELICITACIONES GANASTE\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"517501da0d284faa2e9d096f3fb7db9f\",\n \"score\": \"0.54960704\",\n \"text\": \"private static Mat drawPintura(Mat webcam_image, int[][] connectCompon) {\\n\\t\\t\\n\\t\\tfor(int i = 0; i < webcam_image.rows(); i++)\\n\\t\\t\\tfor(int j = 0; j < webcam_image.cols(); j++) {\\n\\t\\t\\t\\tdouble color[] = pintura.get(i, j);\\n\\t\\t\\t\\tif(color[0] != 255 && color[1] != 255 && color[2] != 255) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif(connectCompon[i][j] == 1) {\\n\\t\\t\\t\\t\\t\\tif(i == 0 || j == 0 || i == webcam_image.rows()-1 || j == webcam_image.cols()-1 ) {\\n\\t\\t\\t\\t\\t\\t\\twebcam_image.put(i, j, new double[]{0,0,0});\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\telse if(connectCompon[i-1][j] == 0 || connectCompon[i+1][j] == 0 || connectCompon[i][j-1] == 0 || connectCompon[i][j+1] == 0) {\\n\\t\\t\\t\\t\\t\\t\\twebcam_image.put(i, j, new double[]{0,0,0});\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\t\\twebcam_image.put(i, j, new double[]{color[2], color[1], color[0]});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\twebcam_image.put(i, j, new double[]{color[2], color[1], color[0]});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\n\\t\\treturn webcam_image;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a1951df23a400419deb9c906e25c711\",\n \"score\": \"0.54927754\",\n \"text\": \"private void setColor(int i, int j, int k) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4278fbfca5e4ce1fc63b0bdc9703f96\",\n \"score\": \"0.5488188\",\n \"text\": \"public CouleurS(Color coul) {\\n\\t\\tr= ((float)coul.getRed())/255;\\n\\t\\tb= ((float)coul.getBlue())/255;\\n\\t\\tg= ((float)coul.getGreen())/255;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ba1a1a2016c1d44b4bc3cdcd7ee4acc\",\n \"score\": \"0.54833746\",\n \"text\": \"private void changeStyleColor(int i){\\n if (currClothingPiece.equals(\\\"shirt\\\")) {\\n currShirtColor = i;\\n shirtColors.push(currShirtColor);\\n mainFragment.changeColorShirt(i);\\n } else {\\n currPantColor = i;\\n pantsColors.push(currPantColor);\\n mainFragment.changeColorPant(i);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a516c203e1cde363e6e14c149797de4d\",\n \"score\": \"0.54766124\",\n \"text\": \"void removeColour(int i){if (domain[i]){saturation++; domain[i] = false;}}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"069cff94367e882b235cf1a8f7f4e9ff\",\n \"score\": \"0.54736215\",\n \"text\": \"private void initBackgroundColour() {\\n final float maxColour = 255f;\\n final float x = 149f / maxColour;\\n final float y = 221f / maxColour;\\n final float z = 226f / maxColour;\\n cBackgroundColour = new Vector3f(x, y, z);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bd3d5c2ffdbcf3f1b9edc48828d6bef\",\n \"score\": \"0.54578006\",\n \"text\": \"public void automata() {\\n\\t\\tfor (int y = 0; y < 510; y++) {\\r\\n\\t\\t\\tfor (int x = 0; x < 255; x++) {\\r\\n\\t\\t\\t\\t// se limita que el eje x tiene que ser menor a 2\\r\\n\\t\\t\\t\\tif (x < 255) {\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tint j = 0, k = 0, l = 0;\\r\\n\\t\\t\\t\\t\\t// junto con la variable x, las variables j, k son sus\\r\\n\\t\\t\\t\\t\\t// consecutivas.La variable L corresponde a la misma columna\\r\\n\\t\\t\\t\\t\\t// de J pero de la siguiente fila\\r\\n\\t\\t\\t\\t\\tj = x + 1;\\r\\n\\t\\t\\t\\t\\tk = x + 2;\\r\\n\\t\\t\\t\\t\\tl = y + 1;\\r\\n\\t\\t\\t\\t\\t// se le asigna un nuevo valor a la posicion de la nueva\\r\\n\\t\\t\\t\\t\\t// fila, que ser igual al resultado que arroje como\\r\\n\\t\\t\\t\\t\\t// resultado de la regla de 3 numeros de la fila anterior\\r\\n\\t\\t\\t\\t\\tmatriz[l][j] = getCasilla(matriz[y][x], matriz[y][j],\\r\\n\\t\\t\\t\\t\\t\\t\\tmatriz[y][k]);\\r\\n\\t\\t\\t\\t\\t//en caso excepcional para los ultimos terminos (cierre de anillo), se ocupa esta alternativa de llenado\\r\\n\\t\\t\\t\\t} else if (x >= 255) {\\r\\n\\t\\t\\t\\t\\tint l = 0;\\r\\n\\t\\t\\t\\t\\tl = y + 1;\\r\\n\\t\\t\\t\\t\\tmatriz[l][256] = getCasilla(matriz[y][256], matriz[y][256],\\r\\n\\t\\t\\t\\t\\t\\t\\tmatriz[y][0]);\\r\\n\\t\\t\\t\\t\\tmatriz[l][0] = getCasilla(matriz[y][256], matriz[y][0],\\r\\n\\t\\t\\t\\t\\t\\t\\tmatriz[y][1]);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62c2470dc93b732048be72a00cc5aae4\",\n \"score\": \"0.5454101\",\n \"text\": \"public void cicloPersonaDos() {\\n while (true) {\\n int pasoActual = avanzar(2);\\n if (pasoActual >= 66) {\\n color.setPosicionActualP2(66);\\n synchronized (color) {\\n color.notifyAll();\\n }\\n break;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"342c4944cc0219db7ed68801cf635705\",\n \"score\": \"0.5452998\",\n \"text\": \"public Figurs() {\\n just4color = new Paint();\\n just4color.setColor(Color.BLUE);\\n colors.put(\\\"pink\\\", \\\"#E13D63\\\");\\n colors.put(\\\"fiol\\\", \\\"#964CE1\\\");\\n colors.put(\\\"lblue\\\", \\\"#10E0BC\\\");\\n colors.put(\\\"yellow\\\", \\\"#FFF105\\\");\\n\\n int_colors.put(\\\"pink\\\", Color.parseColor(\\\"#E13D63\\\"));\\n int_colors.put(\\\"fiol\\\", Color.parseColor(\\\"#964CE1\\\"));\\n int_colors.put(\\\"lblue\\\", Color.parseColor(\\\"#10E0BC\\\"));\\n int_colors.put(\\\"yellow\\\", Color.parseColor(\\\"#FFF105\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67f95758a05a2d4d392625673c4b3311\",\n \"score\": \"0.5450678\",\n \"text\": \"private void colorcitoBoton() {\\n\\t\\tvolver.setBackground(colorBoton);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bf512930e1833369fd2df47551d78a6\",\n \"score\": \"0.54489493\",\n \"text\": \"@Override\\r\\n\\tpublic void pintarPieza(String color, String nombre) {\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45e4f9299473933b5a19e1c726a320d4\",\n \"score\": \"0.5445277\",\n \"text\": \"public static void main (String[] args) throws IOException {\\n\\n\\t\\tFile file = new File(args[0]);\\n\\n\\t\\tBufferedReader buffer = new BufferedReader(new FileReader(file));\\n\\t\\tString line,rgbRaw,\\n\\t\\tresult = new String();\\n\\t\\tStringTokenizer token;\\n\\t\\tint[] pixleColor = new int[3];\\n\\t\\tint count, base,\\n\\t\\trow = 0,\\n\\t\\tprevious = 0,\\n\\t\\tblock = 16,\\n\\t\\twidth = 256/block,\\n\\t\\tcolor = 0;\\n\\n\\t\\twhile ((line = buffer.readLine()) != null) {\\n\\t\\t\\tline = line.trim();\\n\\t\\t\\t//System.out.println(line);\\n\\t\\t\\ttoken = new StringTokenizer(line);\\n\\t\\t\\tif(line.charAt(0) != '#'){\\n\\t\\t\\t\\trow = Integer.parseInt(token.nextToken(\\\":\\\").split(\\\",\\\")[1]);\\n\\t\\t\\t\\t//System.out.println(row);\\n\\t\\t\\t\\t//If the row is different form previous, print out result and start new line\\n\\t\\t\\t\\tif(row != previous){\\n\\t\\t\\t\\t\\tSystem.out.println(result);\\n\\t\\t\\t\\t\\tresult = new String();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t//Get Current color\\n\\t\\t\\t\\ttoken.nextToken(\\\"#\\\");\\n\\t\\t\\t\\trgbRaw = token.nextToken(\\\" \\\").substring(1);\\n\\t\\t\\t\\t//System.out.println(rgbRaw);\\n\\t\\t\\t\\t//Split Color in to components\\n\\t\\t\\t\\tfor(count = 0; count < 3; count++){\\n\\t\\t\\t\\t\\tpixleColor[count] = Integer.parseInt(rgbRaw.substring(count*2,count*2+2), 16); \\n\\t\\t\\t\\t\\tpixleColor[count] /= width;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcolor = 0;\\n\\t\\t\\t\\tbase = block*block;\\n\\t\\t\\t\\tfor(int i: pixleColor){\\n\\t\\t\\t\\t\\tcolor += i* base;\\n\\t\\t\\t\\t\\tbase /= block;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t//System.out.println(Arrays.toString(pixleColor));\\n\\t\\t\\t\\t//System.out.println(color);\\n\\t\\t\\t\\tresult += \\\"[\\\"+ Integer.toHexString(color)+ \\\"]\\\";\\n\\t\\t\\t\\t//current now becomes previous\\n\\t\\t\\t\\tprevious = row;\\n\\n\\t\\t\\t}\\n\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7de8b3328a422dcf0c7f2720bb5c6280\",\n \"score\": \"0.54446715\",\n \"text\": \"private void setColorData() {\\n \\t\\tColorRGBA[] color = new ColorRGBA[16];\\n \\t\\tfor (int i = 0; i < color.length; i++) {\\n \\t\\t\\tcolor[i] = new ColorRGBA(1, 1, 1, 1);\\n \\t\\t}\\n \\t\\tsetColors(color);\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"075fe68826b44cb161d95335870979f4\",\n \"score\": \"0.54413426\",\n \"text\": \"private void ciclo() {\\n\\t\\tcomprobarSiSiguientePieza();\\n\\t\\tpiezaActual.cae();\\n\\t\\tif (estadoJuego==1) miTablero.dibujaPieza(piezaActual);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e15f31e1b2e4cd9f666efa03a6c8365a\",\n \"score\": \"0.5437145\",\n \"text\": \"public void paintNoSymmColorWheel() {\\r\\n\\t\\tColor c;\\r\\n\\t\\tfloat gammaInv= 1/gamma;\\r\\n\\t\\tfloat rotConst = 1/360f;\\r\\n\\t\\tfloat normConst = 1/255f;\\r\\n\\t\\tdouble piDiv2 = Math.PI/2.0d;\\r\\n\\t\\tdouble sinConst = 1/Math.sin(pS * piDiv2);\\r\\n\\t\\tfor(int r=r6;r>=0;r-=1) {\\r\\n\\t\\t\\tint arcw = 2*r;\\r\\n\\t\\t\\tint arch = 2*r;\\r\\n\\t\\t\\tint x = r6-arcw/2;\\r\\n\\t\\t\\tint y = r6-arch/2;\\r\\n\\t\\t\\tdouble ang = r/(r6*Math.sqrt(2));\\r\\n\\t\\t\\tdouble theta = 2 * Math.asin(ang);\\r\\n\\t\\t\\tif(pS < .001) {\\r\\n\\t\\t\\t\\tpS = .001f;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tfloat sat = (float)(Math.sin(pS*theta) * sinConst); \\r\\n\\t\\t\\t\\r\\n\\t\\t\\tint hueAngle = 360;\\r\\n\\t\\t\\tfor(int angle=0;angle<=360;angle++) {\\r\\n\\t\\t\\t\\tfloat hue = ((hueAngle + 90 + 360)%360) * rotConst;\\r\\n\\t\\t\\t\\tc = Color.getHSBColor(hue, sat, 1f);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tfloat red = c.getRed() * normConst;\\r\\n\\t\\t\\t\\tfloat green = c.getGreen() * normConst;\\r\\n\\t\\t\\t\\tfloat blue = c.getBlue() * normConst;\\r\\n\\r\\n\\t\\t\\t\\t//blue shift\\r\\n\\t\\t\\t\\tblueShiftColors = shiftBlue(red,green,blue);\\r\\n\\t\\t\\t\\tred = blueShiftColors[0];\\r\\n\\t\\t\\t\\tgreen = blueShiftColors[1];\\r\\n\\t\\t\\t\\tblue = blueShiftColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//shift red\\r\\n\\t\\t\\t\\tredShiftColors = shiftRed(red,green,blue);\\r\\n\\t\\t\\t\\tred = redShiftColors[0];\\r\\n\\t\\t\\t\\tgreen = redShiftColors[1];\\r\\n\\t\\t\\t\\tblue = redShiftColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//adjust green\\r\\n\\t\\t\\t\\tgreenAdjColors = adjustGreen(red,green,blue);\\r\\n\\t\\t\\t\\tred = greenAdjColors[0];\\r\\n\\t\\t\\t\\tgreen = greenAdjColors[1];\\r\\n\\t\\t\\t\\tblue = greenAdjColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//gamma correction\\r\\n\\t\\t\\t\\tred = (float)Math.pow(red,gammaInv);\\r\\n\\t\\t\\t\\tgreen = (float)Math.pow(green,gammaInv);\\r\\n\\t\\t\\t\\tblue = (float)Math.pow(blue,gammaInv);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tc = new Color(red,green,blue);\\r\\n\\t\\t\\t\\toffGraphics.setColor(c);\\r\\n\\r\\n\\t\\t\\t\\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\\r\\n\\t\\t\\t\\thueAngle--;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"403695f1641a38f4b2227dd60aaeaecd\",\n \"score\": \"0.5435375\",\n \"text\": \"private static Paint m31332a(int i) {\\n Paint paint = new Paint();\\n paint.setColor(i);\\n return paint;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34811dbf194bc87c46ce5d87e0e8f5dc\",\n \"score\": \"0.5419929\",\n \"text\": \"public void pattern3(){\\n\\t\\tnoStroke();\\n\\t\\tfill(random(0,255), random(0,255), random(0,255),10);\\n\\t\\t/* alter the width size */\\n\\t\\tfloat widthDistance = abs(width/2 - xCo) * 0.4f ;\\n\\t\\tellipse(xCo, yCo, widthDistance, widthDistance);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c4a22ca26b017c437259a90b89ba5a4\",\n \"score\": \"0.5419866\",\n \"text\": \"public void ColorUtility() {\\n String code;\\r\\n for (int i=0;i<=16;i++) {\\r\\n for (int j = 0; j <= 16; j++) {\\r\\n //public static final String ANSI_BOLD = \\\"\\\\u001B[1m\\\";\\r\\n code = Integer.toString((i * 16 + j));\\r\\n pageHelper.UpdateTestResults( \\\"Code u001b[\\\" + code + \\\"m = \\\" + \\\"\\\\u001b[\\\" + code + \\\"m\\\");\\r\\n //sys.stdout.write(u\\\"\\\\u001b[48;5;\\\" + code + \\\"m \\\" + code.ljust(4))\\r\\n //print u \\\"\\\\u001b[0m\\\"\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c51c8ac93ec3e1da5e0e657470f5478b\",\n \"score\": \"0.54181933\",\n \"text\": \"public void colorizeCP(String pu){\\n char[] array =pu.toCharArray();\\n if(pu.equals(\\\"empty\\\")) {\\n System.out.print(\\\" \\\");\\n return;\\n }\\n for(char c:array){\\n switch(Character.toString(c)){\\n case \\\"R\\\":\\n pu=RED_AMMO;\\n break;\\n case \\\"B\\\":\\n pu=BLUE_AMMO;\\n break;\\n case \\\"Y\\\":\\n pu=YELLOW_AMMO;\\n break;\\n case \\\"P\\\":\\n pu=PU_AMMO;\\n break;\\n }\\n System.out.print(pu);\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d88e850dc0c6314edba66e3f170c9737\",\n \"score\": \"0.5415812\",\n \"text\": \"public void entrarColorPila(Colores color){\\n\\t\\tint aleatorio= (int)(Math.random()*2);\\n\\t\\t\\n\\t\\tif(aleatorio==0){\\n\\t\\t\\tColores colorParcial=dato.getPilaUno().desApilarBlanco();\\n\\t\\t\\tentrarColorLista(colorParcial);\\n\\t\\t\\tdato.getPilaUno().apilar(color);\\n\\t\\t\\t}\\n\\t\\telse{\\n\\t\\t\\tColores colorParcial=dato.getPilaDos().desApilarBlanco();\\n\\t\\t\\tentrarColorLista(colorParcial);\\n\\t\\t\\tdato.getPilaDos().apilar(color);\\n\\t\\t}\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e24f36e01f213d4b3280ac17037f3da\",\n \"score\": \"0.5405502\",\n \"text\": \"public AmmoCubes() {\\n this.red = 0;\\n this.blue = 0;\\n this.yellow = 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79aced5c2f3bc568fa3ee8d0938049f9\",\n \"score\": \"0.5401982\",\n \"text\": \"private Color GetColorOfID(int i, int a)\\n {\\n if(i==0) {return new Color(15, 0, 255, a);}\\n else if(i==1) {return new Color(204, 0, 0, a);}\\n else if(i==2) {return new Color(51, 255, 0, a);}\\n else if(i==3) {return new Color(254, 255, 0, a);}\\n else if(i==4) {return new Color(255,102,204, a);}\\n else if(i==5) {return new Color(51,102,0, a);}\\n else if(i==6) {return new Color(255,52,153, a);}\\n else if(i==7) {return new Color(51,0,153, a);}\\n else if(i==8) {return new Color(204,255,0, a);}\\n else if(i==9) {return new Color(255,1,51, a);}\\n else if(i==10) {return new Color(51,204,255, a);}\\n else if(i==11) {return new Color(204,103,1, a);}\\n else {return Color.LIGHT_GRAY;}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd0ddc1aa46096e747efba99d5a7c5f4\",\n \"score\": \"0.53964555\",\n \"text\": \"public void changeCircleColor(){\\r\\n circleRGB[0] = 50f;\\r\\n circleRGB[1] = 0f;\\r\\n circleRGB[2] = 50f; \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d73914f10529f9df0af1078c17d7e52\",\n \"score\": \"0.5389391\",\n \"text\": \"private void addCrowns(JPanel p1, int n1) {\\n\\t\\t\\t\\n\\t\\t\\tJPanel crowns1 = new JPanel();\\n\\t\\t\\tcrowns1.setBackground(new Color(255,255,0));\\n\\t\\t\\tJPanel crowns2 = new JPanel();\\n\\t\\t\\tcrowns2.setBackground(new Color(255,255,0));\\n\\t\\t\\tJPanel crowns3 = new JPanel();\\n\\t\\t\\tcrowns3.setBackground(new Color(255,255,0));\\n\\t\\t\\n\\t\\t\\tif(n1==1) {\\n\\t\\t\\t\\tp1.add(crowns1);\\n\\t\\t\\t} else if(n1==2) {\\n\\t\\t\\t\\tp1.add(crowns1);\\n\\t\\t\\t\\tp1.add(crowns2);\\n\\t\\t\\t} else if(n1==3) {\\n\\t\\t\\t\\tp1.add(crowns1);\\n\\t\\t\\t\\tp1.add(crowns2);\\n\\t\\t\\t\\tp1.add(crowns3);\\n\\t\\t\\t}\\t\\n\\t\\t\\n\\t\\t\\tframeR.setVisible(true);\\n\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bad224d70e79cc13cff1149b4e3b80d\",\n \"score\": \"0.53893155\",\n \"text\": \"public void resetCouleur() {\\n\\t\\tthis.vert = 0;\\n\\t\\tthis.bleu = 0;\\n\\t\\tthis.rouge = 0;\\n\\t\\tthis.white = 0;\\n\\t\\tthis.couleur = 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8928342076abad16b52018bd99a7fe33\",\n \"score\": \"0.538\",\n \"text\": \"public void botaoClicado(JButton jButton) {\\n\\t\\t\\n\\t\\tPosicao posicao = pegaPosicaoBotaoClicado(jButton);\\n\\t\\tint linhaOriginal = posicao.getLinha();\\n\\t\\tint colunaOriginal = posicao.getColuna();\\n\\t\\tposicao.setClicado();\\n\\t\\t\\n\\t\\t// -L-C | -L | -L+C\\n\\t\\t// -C | O | +C\\n\\t\\t// +L-C | +L | +L+C\\n\\n\\t\\t//TODO tratar os cliques nas colunas e linhas das bordas\\n\\t\\t\\n\\t\\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal - 1]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal + 1]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal][colunaOriginal - 1]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal][colunaOriginal + 1]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal - 1]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal]).getjButton().setBackground(Color.green);\\n\\t\\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal + 1]).getjButton().setBackground(Color.green);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13e169780bd401c7d1c0081bc1e76312\",\n \"score\": \"0.53775376\",\n \"text\": \"public static void iluColorsUsed() {\\n iluColoursUsed();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9dca415f6e8583b6ece278530df362be\",\n \"score\": \"0.5374673\",\n \"text\": \"private void deathStar3() { \\n TableColorCellRenderer render = new TableColorCellRenderer();\\n this.matriz1.setDefaultRenderer(Object.class,render);\\n //volver a colocar todos los strings que hay en el display para que renderer los agarre\\n Grafo enemigo = (Grafo) Main.grafos.get(1);\\n for(Vertice v : enemigo.vertices)\\n {\\n if(v.dato<=15){\\n //int total = enemigo.vertices.size();\\n int total = 15;\\n while(total<=15&total>0)\\n {\\n \\n if(matriz1.getModel().getValueAt(v.dato-1, total)!=null){\\n String valor = String.valueOf(matriz1.getModel().getValueAt(v.dato-1, total));\\n matriz1.getModel().setValueAt(valor, v.dato-1, total); \\n }\\n \\n total--;\\n }\\n }\\n \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70b2b93e1f044d9a8b06c1168838695b\",\n \"score\": \"0.53697443\",\n \"text\": \"private int[] colorify(Color original,float colPercent,\\n\\t\\t\\tColor col1, Color col2) {\\n\\t\\tfloat originalPercent = 0.6f;// % Combining merged col1+col2 and the image color\\n\\t\\t\\n\\t\\tif (colPercent > 1.0f) colPercent = 1.0f;\\n\\t\\tColor actualCol = VisualFunction.combineColorsHue(original, \\n\\t\\t\\t\\t\\t\\t\\tVisualFunction.combineColorsRGB(col1, col2, colPercent),\\n\\t\\t\\t\\t\\t\\t\\toriginalPercent);\\n\\t\\treturn new int[] {actualCol.getRed(), actualCol.getGreen(),actualCol.getBlue()};\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed98b5ada6c3f34d209b957a8774b460\",\n \"score\": \"0.5368613\",\n \"text\": \"private void redoColor(){\\n if (canRedoColor()){\\n if (currClothingPiece.equals(\\\"shirt\\\")){\\n shirtColors.push(shirtColors1.pop());\\n colorShiftingUtil();\\n } else {\\n pantsColors.push(pantsColors1.pop());\\n colorShiftingUtil();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6668765d9230af1267948c0b79e8901\",\n \"score\": \"0.5362078\",\n \"text\": \"@Override\\n public void actionPerformed(ActionEvent e) {\\n\\n if(e.getSource()==lineC)\\n type=1;\\n else if (e.getSource()==barC1)\\n type=2;\\n else if (e.getSource()==barC2)\\n type=3;\\n \\n if(e.getSource()==grayScale){\\n colorS[1]=new Color(215, 215, 215);\\n colorS[2]=new Color(210, 210, 210);\\n colorS[3]=new Color(204, 204, 204);\\n colorS[4]=new Color(179, 179, 179);\\n colorS[5]=new Color(166, 166, 166);\\n colorS[6]=new Color(153, 153, 153);\\n colorS[7]=new Color(192, 192, 192);\\n colorS[8]=new Color(115, 115, 115);\\n colorS[9]=new Color(89, 89, 89);\\n colorS[10]=new Color(77, 77, 77);\\n colorS[11]=new Color(64, 64, 64);\\n colorS[12]=new Color(51, 51, 51);\\n colorS[13]=new Color(38, 38, 38);\\n colorS[14]=new Color(0, 0, 0); \\n }\\n else if(e.getSource()==highContrast){\\n colorS[1]=new Color(0, 0, 255);\\n colorS[2]=new Color(0, 255, 0);\\n colorS[3]=new Color(0, 255, 255);\\n colorS[4]=new Color(255, 0, 0);\\n colorS[5]=new Color(255, 0, 255);\\n colorS[6]=new Color(255, 255, 0);\\n colorS[7]=new Color(192, 192, 192);\\n colorS[8]=new Color(128, 128, 255);\\n colorS[9]=new Color(128, 255, 128);\\n colorS[10]=new Color(128, 255, 255);\\n colorS[11]=new Color(255, 128, 128);\\n colorS[12]=new Color(255, 128, 255);\\n colorS[13]=new Color(255, 255, 128);\\n colorS[14]=new Color(128, 128, 128);\\n }\\n else if(e.getSource()==rainbow){\\n colorS[1]=new Color(255, 153, 255);\\n colorS[2]=new Color(153, 255, 153);\\n colorS[3]=new Color(255, 255, 204);\\n colorS[4]=new Color(51, 153, 255);\\n colorS[5]=new Color(0, 255, 255);\\n colorS[6]=new Color(55, 255, 153);\\n colorS[7]=new Color(255, 153, 153);\\n colorS[8]=new Color(153, 153, 255);\\n colorS[9]=new Color(255, 255, 153);\\n colorS[10]=new Color(204, 255, 204);\\n colorS[11]=new Color(102, 204, 255);\\n colorS[12]=new Color(102, 153, 255);\\n colorS[13]=new Color(255, 102, 102);\\n colorS[14]=new Color(0, 255, 204);\\n }\\n else if(e.getSource()==winter){\\n colorS[1]=new Color(210, 230, 255);\\n colorS[2]=new Color(204, 226, 255);\\n colorS[3]=new Color(179, 212, 255);\\n colorS[4]=new Color(153, 197, 255);\\n colorS[5]=new Color(128, 183, 255);\\n colorS[6]=new Color(102, 168, 255);\\n colorS[7]=new Color(77, 154, 255);\\n colorS[8]=new Color(51, 139, 255);\\n colorS[9]=new Color(26, 125, 255);\\n colorS[10]=new Color(0, 110, 255);\\n colorS[11]=new Color(0, 77, 179);\\n colorS[12]=new Color(0, 44, 102);\\n colorS[13]=new Color(0, 22, 51);\\n colorS[14]=new Color(0, 0, 0);\\n }\\n \\n if(e.getSource()==chartCB){\\n if(showChartTitle==1)\\n showChartTitle=0;\\n else if(showChartTitle==0)\\n showChartTitle=1;\\n }\\n \\n else if(e.getSource()==axisCB){\\n if(showAxisTitle==1)\\n showAxisTitle=0;\\n else if(showAxisTitle==0)\\n showAxisTitle=1;\\n }\\n else if(e.getSource()==dataCB){\\n if(showDataLabel==0)\\n showDataLabel=1;\\n else if(showDataLabel==1)\\n showDataLabel=0;\\n }\\n else if(e.getSource()==legendCB){\\n if(showLegend==1)\\n showLegend=0;\\n else if(showLegend==0)\\n showLegend=1;\\n }\\n repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55eb4ed5d6ca57514c81f24af4bf890a\",\n \"score\": \"0.5355963\",\n \"text\": \"public int changeColor() {\\n\\t\\t\\r\\n\\t\\tif(this.currentLength <= ((double)this.maxWidth / 4.0)) {\\r\\n\\t\\t\\treturn 1;\\r\\n\\t\\t} else {\\r\\n\\t\\t\\treturn 0;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"264e3f66abf01246106b7f024ee849d9\",\n \"score\": \"0.53512883\",\n \"text\": \"public static int calcularNuevoTono(int x, int y, BufferedImage bi, int[][] mascara){\\n int auxR = 0, auxG = 0, auxB = 0;\\n Color color = null;\\n int k = 0;\\n for(int i = 0 , r = x -1; i> 2);\\r\\n\\t\\t\\tgreen = (byte) (((highByte & 0x3) * 4) + (lowByte >> 4));\\r\\n\\r\\n\\t\\t\\t// blue, green and red are color value in the range [0-15] as they\\r\\n\\t\\t\\t// are\\r\\n\\t\\t\\t// coded in 4 bits. Let's turn them into \\\"real\\\" modern colors in the\\r\\n\\t\\t\\t// range [0-255]. Let's multiply the [0-15] value by 255, and divide\\r\\n\\t\\t\\t// by 15\\r\\n\\t\\t\\t// i.e multiply by 17 !\\r\\n\\t\\t\\tsetColormapElement(colormap, startIndex, i, (red * 17), (green * 17), (blue * 17));\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f11fdccf71b9ce2bcb157596b2408d5\",\n \"score\": \"0.5325229\",\n \"text\": \"int numColors()\\r\\n { return NUM_COLORS ; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f814286db3db5c341d022c930f280fc\",\n \"score\": \"0.532242\",\n \"text\": \"private int getNextColor() {\\n\\t\\treturn getResources().getIntArray(R.array.pieChart)[colourNumber++];\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"732a623caa30ad54916d8a39e72e0bbe\",\n \"score\": \"0.5317409\",\n \"text\": \"public void invertColors( int threads )\\r\\n\\t{\\r\\n\\t\\tWorker[] workers = new Worker[threads];\\r\\n\\t\\tfor(int i = 0; i < workers.length; i++)\\r\\n\\t\\t{\\r\\n\\t\\t\\tworkers[i] = new Worker( 'i', colorData3D, i, threads );\\r\\n\\t\\t\\tworkers[i].start();\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tfor(int i = 0; i < workers.length; i++)\\r\\n\\t\\t{\\r\\n\\t\\t\\ttry \\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tworkers[i].join();\\r\\n\\t\\t\\t} \\r\\n\\t\\t\\tcatch (InterruptedException e) \\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\tSystem.err.println(\\\"Thread Interrupted!\\\");\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5163dd04a3483394ceabf963ffbcb93d\",\n \"score\": \"0.5313295\",\n \"text\": \"public static void populateColors() \\r\\n\\t{\\r\\n\\t\\tcolors.put(0,Color.WHITE); //empty tile\\r\\n\\t\\tcolors.put(2, Color.ALICEBLUE);\\r\\n\\t\\tcolors.put(4, Color.AQUA);\\r\\n\\t\\tcolors.put(8,Color.AQUAMARINE);\\r\\n\\t\\tcolors.put(16, Color.AZURE);\\r\\n\\t\\tcolors.put(32,Color.BEIGE);\\r\\n\\t\\tcolors.put(64,Color.YELLOW);\\r\\n\\t\\tcolors.put(128,Color.CADETBLUE);\\r\\n\\t\\tcolors.put(256,Color.CRIMSON);\\r\\n\\t\\tcolors.put(512,Color.DEEPPINK);\\r\\n\\t\\tcolors.put(1024,Color.DARKRED);\\r\\n\\t\\tcolors.put(2048,Color.GRAY);\\r\\n\\t\\tcolors.put(4096,Color.PALETURQUOISE);\\r\\n\\t\\tcolors.put(8192,Color.SLATEGREY);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c1bb5b14042ec45387aa4822ed6ff2a\",\n \"score\": \"0.53132147\",\n \"text\": \"public void drawPoint2Ds(List corrs, int colour){\\n for(int p=0; p 255 ? 255 : rgb[0];\\n green[offset] = rgb[1] > 255 ? 255 : rgb[1];\\n blue[offset] = rgb[2] > 255 ? 255 : rgb[2];\\n\\n offset++;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a6b552df7c9430cb8edabee33f0485b\",\n \"score\": \"0.5307124\",\n \"text\": \"public void paintRotationalSymmColorWheel() {\\r\\n\\t\\tColor c;\\r\\n\\t\\tfloat gammaInv= 1/gamma;\\r\\n\\t\\tfloat rotConst = 1/360f;\\r\\n\\t\\tfloat normConst = 1/255f;\\r\\n\\t\\tdouble piDiv2 = Math.PI/2.0d;\\r\\n\\t\\tdouble sinConst = 1/Math.sin(pS * piDiv2);\\r\\n\\t\\tfor(int r=r6;r>=0;r-=1) {\\r\\n\\t\\t\\tint arcw = 2*r;\\r\\n\\t\\t\\tint arch = 2*r;\\r\\n\\t\\t\\tint x = r6-arcw/2;\\r\\n\\t\\t\\tint y = r6-arch/2;\\r\\n\\t\\t\\tdouble ang = r/(r6*Math.sqrt(2));\\r\\n\\t\\t\\tdouble theta = 2 * Math.asin(ang);\\r\\n\\t\\t\\tif(pS < .001) {\\r\\n\\t\\t\\t\\tpS = .001f;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tfloat sat = (float)(Math.sin(pS*theta) * sinConst); \\r\\n\\t\\t\\tint hueAngle = 360;\\r\\n\\t\\t\\tfor(int angle=0;angle<360;angle++) {\\r\\n\\t\\t\\t\\t//float hue = ((2 * (angle - 90 + 360))%360)/360f;\\r\\n\\t\\t\\t\\tfloat hue = ((2 * (hueAngle + 90 + 360))%360) * rotConst;\\r\\n\\t\\t\\t\\tc = Color.getHSBColor(hue, sat, 1f);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tfloat red = c.getRed() * normConst;\\r\\n\\t\\t\\t\\tfloat green = c.getGreen() * normConst;\\r\\n\\t\\t\\t\\tfloat blue = c.getBlue() * normConst;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//blue shift\\r\\n\\t\\t\\t\\tblueShiftColors = shiftBlue(red,green,blue);\\r\\n\\t\\t\\t\\tred = blueShiftColors[0];\\r\\n\\t\\t\\t\\tgreen = blueShiftColors[1];\\r\\n\\t\\t\\t\\tblue = blueShiftColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//shift red\\r\\n\\t\\t\\t\\tredShiftColors = shiftRed(red,green,blue);\\r\\n\\t\\t\\t\\tred = redShiftColors[0];\\r\\n\\t\\t\\t\\tgreen = redShiftColors[1];\\r\\n\\t\\t\\t\\tblue = redShiftColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//adjust green\\r\\n\\t\\t\\t\\tgreenAdjColors = adjustGreen(red,green,blue);\\r\\n\\t\\t\\t\\tred = greenAdjColors[0];\\r\\n\\t\\t\\t\\tgreen = greenAdjColors[1];\\r\\n\\t\\t\\t\\tblue = greenAdjColors[2];\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//gamma correction\\r\\n\\t\\t\\t\\tred = (float)Math.pow(red,gammaInv);\\r\\n\\t\\t\\t\\tgreen = (float)Math.pow(green,gammaInv);\\r\\n\\t\\t\\t\\tblue = (float)Math.pow(blue,gammaInv);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tc = new Color(red,green,blue);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\toffGraphics.setColor(c);\\r\\n\\t\\t\\t\\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\thueAngle--;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d31afcd3c67679021c6b92b69860281\",\n \"score\": \"0.53037745\",\n \"text\": \"private ImageData createColorImage(Control w, RGB color) {\\r\\n\\r\\n\\t\\tGC gc = new GC(w);\\r\\n\\t\\tFontMetrics fm = gc.getFontMetrics();\\r\\n\\t\\tint size = fm.getAscent();\\r\\n\\t\\tgc.dispose();\\r\\n\\r\\n\\t\\tint indent = 6;\\r\\n\\t\\tint extent = DEFAULT_EXTENT;\\r\\n\\t\\tif (w instanceof Table) {\\r\\n\\t\\t\\textent = ((Table) w).getItemHeight() - 1;\\r\\n\\t\\t} else if (w instanceof Tree) {\\r\\n\\t\\t\\textent = ((Tree) w).getItemHeight() - 1;\\r\\n\\t\\t} else if (w instanceof TableTree) {\\r\\n\\t\\t\\textent = ((TableTree) w).getItemHeight() - 1;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tif (size > extent) {\\r\\n\\t\\t\\tsize = extent;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tint width = indent + size;\\r\\n\\t\\tint height = extent;\\r\\n\\r\\n\\t\\tint xoffset = indent;\\r\\n\\t\\tint yoffset = (height - size) / 2;\\r\\n\\r\\n\\t\\tRGB black = new RGB(0, 0, 0);\\r\\n\\t\\tPaletteData dataPalette = new PaletteData(new RGB[] { black, black,\\r\\n\\t\\t\\t\\tcolor });\\r\\n\\t\\tImageData data = new ImageData(width, height, 4, dataPalette);\\r\\n\\t\\tdata.transparentPixel = 0;\\r\\n\\r\\n\\t\\tint end = size - 1;\\r\\n\\t\\tfor (int y = 0; y < size; y++) {\\r\\n\\t\\t\\tfor (int x = 0; x < size; x++) {\\r\\n\\t\\t\\t\\tif (x == 0 || y == 0 || x == end || y == end) {\\r\\n\\t\\t\\t\\t\\tdata.setPixel(x + xoffset, y + yoffset, 1);\\r\\n\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\tdata.setPixel(x + xoffset, y + yoffset, 2);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn data;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"445fb60c70bcb6e71ad33da77e434220\",\n \"score\": \"0.5283944\",\n \"text\": \"public void setColor(final int i_c)\\r\\n\\t{\\r\\n\\t\\tc = i_c;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c04a2abc0c740f7d811c413055578ec7\",\n \"score\": \"0.52835846\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n EligeColor = new javax.swing.JDialog();\\n jColorChooser1 = new javax.swing.JColorChooser();\\n botonAceptar = new javax.swing.JButton();\\n botonCancelar = new javax.swing.JButton();\\n Guardar = new javax.swing.JDialog();\\n jFileChooser1 = new javax.swing.JFileChooser();\\n lienzo = new javax.swing.JPanel();\\n botonColor = new javax.swing.JButton();\\n botonCirculos = new javax.swing.JButton();\\n botonCuadrados = new javax.swing.JButton();\\n botonTriangulo = new javax.swing.JButton();\\n botonPentagono = new javax.swing.JButton();\\n botonHexagono = new javax.swing.JButton();\\n botonEstrella = new javax.swing.JButton();\\n botonAzul = new javax.swing.JButton();\\n botonAzul1 = new javax.swing.JButton();\\n botonAzul2 = new javax.swing.JButton();\\n botonAzul3 = new javax.swing.JButton();\\n botonAzul4 = new javax.swing.JButton();\\n botonAzul5 = new javax.swing.JButton();\\n botonAzul6 = new javax.swing.JButton();\\n botonAzul7 = new javax.swing.JButton();\\n botonAzul8 = new javax.swing.JButton();\\n botonAzul9 = new javax.swing.JButton();\\n botonAzul10 = new javax.swing.JButton();\\n botonAzul11 = new javax.swing.JButton();\\n botonAzul12 = new javax.swing.JButton();\\n botonAzul13 = new javax.swing.JButton();\\n botonAzul14 = new javax.swing.JButton();\\n botonAzul15 = new javax.swing.JButton();\\n botonAzul16 = new javax.swing.JButton();\\n botonAzul17 = new javax.swing.JButton();\\n botonBorrar = new javax.swing.JButton();\\n botonDibujoLibre = new javax.swing.JButton();\\n botonLineas = new javax.swing.JButton();\\n botonAgrandarTamaño = new javax.swing.JSlider();\\n jCheckBox1 = new javax.swing.JCheckBox();\\n jCheckBox2 = new javax.swing.JCheckBox();\\n jMenuBar1 = new javax.swing.JMenuBar();\\n MenuArchivo = new javax.swing.JMenu();\\n MenuGuardar = new javax.swing.JMenuItem();\\n menuImprimir = new javax.swing.JMenuItem();\\n\\n botonAceptar.setText(\\\"Aceptar\\\");\\n botonAceptar.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAceptarMousePressed(evt);\\n }\\n });\\n\\n botonCancelar.setText(\\\"Cancelar\\\");\\n botonCancelar.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonCancelarMousePressed(evt);\\n }\\n });\\n\\n javax.swing.GroupLayout EligeColorLayout = new javax.swing.GroupLayout(EligeColor.getContentPane());\\n EligeColor.getContentPane().setLayout(EligeColorLayout);\\n EligeColorLayout.setHorizontalGroup(\\n EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, EligeColorLayout.createSequentialGroup()\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 679, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addContainerGap())\\n .addGroup(EligeColorLayout.createSequentialGroup()\\n .addGap(129, 129, 129)\\n .addComponent(botonAceptar)\\n .addGap(195, 195, 195)\\n .addComponent(botonCancelar)\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\\n );\\n EligeColorLayout.setVerticalGroup(\\n EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(EligeColorLayout.createSequentialGroup()\\n .addContainerGap()\\n .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 351, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\\n .addGroup(EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(botonAceptar)\\n .addComponent(botonCancelar))\\n .addContainerGap(24, Short.MAX_VALUE))\\n );\\n\\n javax.swing.GroupLayout GuardarLayout = new javax.swing.GroupLayout(Guardar.getContentPane());\\n Guardar.getContentPane().setLayout(GuardarLayout);\\n GuardarLayout.setHorizontalGroup(\\n GuardarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(GuardarLayout.createSequentialGroup()\\n .addContainerGap()\\n .addComponent(jFileChooser1, javax.swing.GroupLayout.DEFAULT_SIZE, 601, Short.MAX_VALUE))\\n );\\n GuardarLayout.setVerticalGroup(\\n GuardarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jFileChooser1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)\\n );\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\n\\n lienzo.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\\n public void mouseDragged(java.awt.event.MouseEvent evt) {\\n lienzoMouseDragged(evt);\\n }\\n });\\n lienzo.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n lienzoMousePressed(evt);\\n }\\n public void mouseReleased(java.awt.event.MouseEvent evt) {\\n lienzoMouseReleased(evt);\\n }\\n });\\n\\n javax.swing.GroupLayout lienzoLayout = new javax.swing.GroupLayout(lienzo);\\n lienzo.setLayout(lienzoLayout);\\n lienzoLayout.setHorizontalGroup(\\n lienzoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGap(0, 753, Short.MAX_VALUE)\\n );\\n lienzoLayout.setVerticalGroup(\\n lienzoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGap(0, 552, Short.MAX_VALUE)\\n );\\n\\n botonColor.setText(\\\"Más Colores\\\");\\n botonColor.setToolTipText(\\\"\\\");\\n botonColor.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\\n botonColor.setName(\\\"\\\"); // NOI18N\\n botonColor.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonColorMousePressed(evt);\\n }\\n });\\n\\n botonCirculos.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/circulo.png\\\"))); // NOI18N\\n botonCirculos.setToolTipText(\\\"\\\");\\n botonCirculos.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonCirculosMousePressed(evt);\\n }\\n });\\n\\n botonCuadrados.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/cuadrado.png\\\"))); // NOI18N\\n botonCuadrados.setToolTipText(\\\"\\\");\\n botonCuadrados.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonCuadradosMousePressed(evt);\\n }\\n });\\n\\n botonTriangulo.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/triangulo.png\\\"))); // NOI18N\\n botonTriangulo.setToolTipText(\\\"\\\");\\n botonTriangulo.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonTrianguloMousePressed(evt);\\n }\\n });\\n\\n botonPentagono.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/pentagono.png\\\"))); // NOI18N\\n botonPentagono.setToolTipText(\\\"\\\");\\n botonPentagono.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonPentagonoMousePressed(evt);\\n }\\n });\\n\\n botonHexagono.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/hexagono.png\\\"))); // NOI18N\\n botonHexagono.setToolTipText(\\\"\\\");\\n botonHexagono.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonHexagonoMousePressed(evt);\\n }\\n });\\n\\n botonEstrella.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/estrella.png\\\"))); // NOI18N\\n botonEstrella.setToolTipText(\\\"\\\");\\n botonEstrella.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonEstrellaMousePressed(evt);\\n }\\n });\\n\\n botonAzul.setBackground(new java.awt.Color(0, 0, 204));\\n botonAzul.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzulMousePressed(evt);\\n }\\n });\\n\\n botonAzul1.setBackground(new java.awt.Color(0, 204, 204));\\n botonAzul1.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul1.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul1MousePressed(evt);\\n }\\n });\\n\\n botonAzul2.setBackground(new java.awt.Color(51, 51, 255));\\n botonAzul2.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul2.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul2MousePressed(evt);\\n }\\n });\\n\\n botonAzul3.setBackground(new java.awt.Color(102, 0, 255));\\n botonAzul3.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul3.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul3MousePressed(evt);\\n }\\n });\\n\\n botonAzul4.setBackground(new java.awt.Color(255, 0, 102));\\n botonAzul4.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul4.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul4MousePressed(evt);\\n }\\n });\\n\\n botonAzul5.setBackground(new java.awt.Color(204, 0, 51));\\n botonAzul5.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul5.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul5MousePressed(evt);\\n }\\n });\\n\\n botonAzul6.setBackground(new java.awt.Color(51, 255, 51));\\n botonAzul6.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul6.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul6MousePressed(evt);\\n }\\n });\\n\\n botonAzul7.setBackground(new java.awt.Color(51, 0, 51));\\n botonAzul7.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul7.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul7MousePressed(evt);\\n }\\n });\\n\\n botonAzul8.setBackground(new java.awt.Color(51, 0, 51));\\n botonAzul8.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul8.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul8MousePressed(evt);\\n }\\n });\\n\\n botonAzul9.setBackground(new java.awt.Color(153, 0, 0));\\n botonAzul9.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul9.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul9MousePressed(evt);\\n }\\n });\\n\\n botonAzul10.setBackground(new java.awt.Color(255, 51, 51));\\n botonAzul10.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul10.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul10MousePressed(evt);\\n }\\n });\\n\\n botonAzul11.setBackground(new java.awt.Color(0, 153, 102));\\n botonAzul11.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul11.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul11MousePressed(evt);\\n }\\n });\\n\\n botonAzul12.setBackground(new java.awt.Color(0, 102, 102));\\n botonAzul12.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul12.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul12MousePressed(evt);\\n }\\n });\\n\\n botonAzul13.setBackground(new java.awt.Color(255, 255, 51));\\n botonAzul13.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul13.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul13MousePressed(evt);\\n }\\n });\\n\\n botonAzul14.setBackground(new java.awt.Color(0, 255, 255));\\n botonAzul14.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul14.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul14MousePressed(evt);\\n }\\n });\\n\\n botonAzul15.setBackground(new java.awt.Color(0, 204, 153));\\n botonAzul15.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul15.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul15MousePressed(evt);\\n }\\n });\\n\\n botonAzul16.setBackground(new java.awt.Color(153, 153, 153));\\n botonAzul16.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul16.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul16MousePressed(evt);\\n }\\n });\\n\\n botonAzul17.setBackground(new java.awt.Color(0, 0, 0));\\n botonAzul17.setPreferredSize(new java.awt.Dimension(80, 30));\\n botonAzul17.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonAzul17MousePressed(evt);\\n }\\n });\\n\\n botonBorrar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/1487550064_draft.png\\\"))); // NOI18N\\n botonBorrar.setToolTipText(\\\"borrar\\\");\\n botonBorrar.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonBorrarMousePressed(evt);\\n }\\n });\\n\\n botonDibujoLibre.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/1487550202_translate.png\\\"))); // NOI18N\\n botonDibujoLibre.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonDibujoLibreMousePressed(evt);\\n }\\n });\\n botonDibujoLibre.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n botonDibujoLibreActionPerformed(evt);\\n }\\n });\\n\\n botonLineas.setIcon(new javax.swing.ImageIcon(getClass().getResource(\\\"/Imagenes/linea.png\\\"))); // NOI18N\\n botonLineas.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n botonLineasMousePressed(evt);\\n }\\n });\\n\\n botonAgrandarTamaño.setOrientation(javax.swing.JSlider.VERTICAL);\\n\\n jCheckBox1.setText(\\\"Discontinuas\\\");\\n\\n jCheckBox2.setText(\\\"Relleno\\\");\\n jCheckBox2.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n jCheckBox2MousePressed(evt);\\n }\\n });\\n\\n MenuArchivo.setText(\\\"File\\\");\\n\\n MenuGuardar.setText(\\\"Guardar...\\\");\\n MenuGuardar.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mousePressed(java.awt.event.MouseEvent evt) {\\n MenuGuardarMousePressed(evt);\\n }\\n });\\n MenuArchivo.add(MenuGuardar);\\n\\n menuImprimir.setText(\\\"Imprimir...\\\");\\n menuImprimir.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n menuImprimirActionPerformed(evt);\\n }\\n });\\n MenuArchivo.add(menuImprimir);\\n\\n jMenuBar1.add(MenuArchivo);\\n\\n setJMenuBar(jMenuBar1);\\n\\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\\n getContentPane().setLayout(layout);\\n layout.setHorizontalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jCheckBox1)\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(botonTriangulo, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\\n .addComponent(botonPentagono, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(botonDibujoLibre, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonLineas, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addComponent(jCheckBox2)\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(botonCirculos, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\\n .addComponent(botonHexagono, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(botonCuadrados, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\\n .addComponent(botonEstrella, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(8, 8, 8)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonAzul13, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul14, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul15, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonAzul, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonAzul7, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul8, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul9, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonAzul16, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul17, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul12, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonAzul3, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul4, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul5, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonAzul10, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul11, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAzul6, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))))\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonBorrar, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(32, 32, 32)))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(botonAgrandarTamaño, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(18, 18, Short.MAX_VALUE))\\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(botonColor, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(18, 18, 18)))\\n .addComponent(lienzo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addContainerGap())\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addComponent(botonColor, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonAzul3, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul5, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul4, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonAzul10, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul6, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul11, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonAzul16, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul12, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul17, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonAzul, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul2, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul1, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonAzul7, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul9, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul8, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonAzul13, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul15, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonAzul14, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(11, 11, 11)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonCuadrados, javax.swing.GroupLayout.Alignment.TRAILING)\\n .addComponent(botonCirculos))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(botonHexagono, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(botonEstrella, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(botonTriangulo)\\n .addComponent(botonDibujoLibre))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(botonPentagono, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(botonLineas, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(jCheckBox1)\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\\n .addComponent(jCheckBox2))\\n .addComponent(botonAgrandarTamaño, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\\n .addComponent(botonBorrar))\\n .addComponent(lienzo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(15, 15, 15))\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d3ceaa6f22aa51791223c3dbc8a1e16\",\n \"score\": \"0.5281554\",\n \"text\": \"private void fancyBackground(){\\n\\n loadPixels();\\n\\n for (int x = 0; x < width; x++) {\\n // Loop through every pixel row\\n for (int y = 0; y < height; y++) {\\n\\n // Use the formula to find the 1D location\\n int loc = x + y * width;\\n // If even column\\n if (x % 3 == 0) {\\n pixels[loc] = color(230, 138, 0);\\n // If odd column\\n } else if (x % 3 == 1) {\\n pixels[loc] = color(0);\\n } else {\\n pixels[loc] = color(255);\\n }\\n }\\n }\\n updatePixels();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e75b87af8f9d1141df10bc78c82cb9fc\",\n \"score\": \"0.5278868\",\n \"text\": \"private void initGameWheel() {\\n slices.add(new Slice(\\\"black\\\", 8000));\\n for (int i = 1; i < 40; i++) {\\n if (i % 2 == 1)\\n slices.add(new Slice(\\\"red\\\", i * 10));\\n else if (i % 10 == 0)\\n slices.add(new Slice(\\\"black\\\", i * 200));\\n else\\n slices.add(new Slice(\\\"blue\\\", i * 100));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bc047c9f8e74129b0739867a279ae66\",\n \"score\": \"0.5276328\",\n \"text\": \"private void undoColor(){\\n if (canUndoColor()){\\n if (currClothingPiece.equals(\\\"shirt\\\")){\\n shirtColors1.push(shirtColors.pop());\\n colorShiftingUtil();\\n } else {\\n pantsColors1.push(pantsColors.pop());\\n colorShiftingUtil();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"825a967599b1a09647f9e317d14b484c\",\n \"score\": \"0.52759266\",\n \"text\": \"@Override\\n\\tpublic Color colorSprite() throws RemoteException {\\n\\t\\tsynchronized (this) {\\n\\t\\t\\tint i = ++count % colors.length;\\n\\t\\t\\tif (i == 0)\\n\\t\\t\\t\\treturn colors[colors.length - 1];\\n\\t\\t\\telse if (i == 1 || i == 2)\\n\\t\\t\\t\\treturn colors[i - 1];\\n\\t\\t\\telse\\n\\t\\t\\t\\treturn Color.BLACK;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5dbf78ea189117f6f2ea7b4ac491ab6\",\n \"score\": \"0.52727014\",\n \"text\": \"ContourBuilder colors(String arg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77db872b08a66a3810672408fa71ea02\",\n \"score\": \"0.5270941\",\n \"text\": \"public void background(float x, float y, float z)\\n/* */ {\\n/* 4940 */ colorCalc(x, y, z);\\n/* 4941 */ backgroundFromCalc();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b699bba901783c9baec34daa375b249\",\n \"score\": \"0.52699775\",\n \"text\": \"private void calcPlateColor(){\\n\\t\\tint[] pix = new int[3];\\n\\t\\tfloat[] hsv = new float[3];\\n\\t\\tdata.getPixel(midpoint[0], midpoint[1], pix);\\n\\t\\tColor.RGBtoHSB(pix[0], pix[1], pix[2], hsv);\\n\\t\\tfloat hue = hsv[0];\\n\\n\\t\\tif (hue >= 0.11111 && hue <= 0.22222) {\\n\\t\\t\\t//yellow (40 - 80)\\n\\t\\t\\tthis.classification = 2;\\n\\t\\t} else if (hue >= 0.38888 && hue <= 0.61111) {\\n\\t\\t\\t//blue (140 - 220)\\n\\t\\t\\tthis.classification = 1;\\n\\t\\t} else {\\n\\t\\t\\t// no plate\\n\\t\\t\\tthis.classification = 0;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":849,"cells":{"query_id":{"kind":"string","value":"f5f7af702fff14f108e044c8bcceb3b3"},"query":{"kind":"string","value":"Util method to write an attribute with the ns prefix"},"positive_passages":{"kind":"list like","value":[{"docid":"cfb1bf743b10c5c4cb7d0b334f13cb3b","score":"0.0","text":"private void writeAttribute(java.lang.String prefix,\n java.lang.String namespace, java.lang.String attName,\n java.lang.String attValue,\n javax.xml.stream.XMLStreamWriter xmlWriter)\n throws javax.xml.stream.XMLStreamException {\n java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);\n\n if (writerPrefix != null) {\n xmlWriter.writeAttribute(writerPrefix, namespace, attName,\n attValue);\n } else {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n xmlWriter.writeAttribute(prefix, namespace, attName, attValue);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"cfb1bf743b10c5c4cb7d0b334f13cb3b\",\n \"score\": \"0.0\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,\\n java.lang.String namespace, java.lang.String attName,\\n java.lang.String attValue,\\n javax.xml.stream.XMLStreamWriter xmlWriter)\\n throws javax.xml.stream.XMLStreamException {\\n java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);\\n\\n if (writerPrefix != null) {\\n xmlWriter.writeAttribute(writerPrefix, namespace, attName,\\n attValue);\\n } else {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n xmlWriter.writeAttribute(prefix, namespace, attName, attValue);\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"5eec9a323f0dc37e5df4cd90110e2844","score":"0.77567035","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""},{"docid":"78a9f1a04b774d7adc8fa4c24f7078a9","score":"0.771335","text":"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }","title":""}],"string":"[\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eec9a323f0dc37e5df4cd90110e2844\",\n \"score\": \"0.77567035\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\r\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\r\\n if (xmlWriter.getPrefix(namespace) == null) {\\r\\n xmlWriter.writeNamespace(prefix, namespace);\\r\\n xmlWriter.setPrefix(prefix, namespace);\\r\\n\\r\\n }\\r\\n\\r\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a9f1a04b774d7adc8fa4c24f7078a9\",\n \"score\": \"0.771335\",\n \"text\": \"private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\\n if (xmlWriter.getPrefix(namespace) == null) {\\n xmlWriter.writeNamespace(prefix, namespace);\\n xmlWriter.setPrefix(prefix, namespace);\\n\\n }\\n\\n xmlWriter.writeAttribute(namespace,attName,attValue);\\n\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":850,"cells":{"query_id":{"kind":"string","value":"08af66c43f362a4ee71c95a8cb72fff7"},"query":{"kind":"string","value":"Execute the selected action."},"positive_passages":{"kind":"list like","value":[{"docid":"93f34af61cf22e1d38e66f9743d1f691","score":"0.0","text":"protected boolean executeAction(SUT system, State state, Action action){\n\t\treturn super.executeAction(system, state, action);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"93f34af61cf22e1d38e66f9743d1f691\",\n \"score\": \"0.0\",\n \"text\": \"protected boolean executeAction(SUT system, State state, Action action){\\n\\t\\treturn super.executeAction(system, state, action);\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"aeb1a0c74188575f46e43cb9ff1ff7db","score":"0.78111035","text":"protected abstract void executeAction();","title":""},{"docid":"bead7ad148adacdc7657ffcd43f23c18","score":"0.72252136","text":"@Override\n public void execute()\n {\n target.doAction();\n }","title":""},{"docid":"17b119e6fa26d4b80451c9ae8b27d83d","score":"0.71426374","text":"public abstract Object performAction();","title":""},{"docid":"b319581994171d103a9e1b38f5a8bb9d","score":"0.7020469","text":"public String execute() {\n\r\n\r\n\t\r\n\t\r\n\t\treturn Action.SUCCESS;\r\n\t}","title":""},{"docid":"eee66ed4dc67d46bd50820f751038f88","score":"0.69361985","text":"public void execute(){\n if (!enabled)\n return;\n\n logger.info(\"Executing flow(id: \" + getId() + \"): \" + getName());\n\n for (Action action : actionList){\n action.execute();\n }\n }","title":""},{"docid":"a13fbd5a5123aa8a069ed3788048b9eb","score":"0.68906","text":"@Override\n protected void execute() {\n\n switch(action) {\n case SWITCH:\n Robot.hatchGrabber.switchClaw();\n break;\n case GRAB:\n Robot.hatchGrabber.grabHatch();\n break;\n case RELEASE:\n Robot.hatchGrabber.releaseHatch();\n break;\n case OFF:\n Robot.hatchGrabber.clawOff();\n break;\n }\n\n }","title":""},{"docid":"4efc060b8fdd91f33733fc10d10522d8","score":"0.6873004","text":"void performAction();","title":""},{"docid":"9a8dbda2d5e405f7ecd395cd20a4e44a","score":"0.6797211","text":"public void execute(Object actioned) {\n if (actioned == view.getButtonSpaceStoreManager()) {\n MainFrameControl.showStoreManagerMenu();\n\n } else if (actioned == view.getButtonSpaceSeller()) {\n MainFrameControl.showSellerMenu();\n\n } else if (actioned == view.getButtonListSales()) {\n MainFrameControl.showListSalesMenu();\n\n } else if (actioned == view.getButtonListProducts()) {\n MainFrameControl.showListProducts();\n\n } else if (actioned == view.getButtonListSellers()) {\n MainFrameControl.showListSellers();\n\n } else if (actioned == view.getButtonListCustomers()) {\n MainFrameControl.showListCustomers();\n }\n }","title":""},{"docid":"b6e987f8296ad6c2062c8c24203f1713","score":"0.6774574","text":"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (action != null) {\n\t\t\taction.execute();\n\t\t}\n\t\t\n\t}","title":""},{"docid":"48eb49a7e7936990a1df478323b06a10","score":"0.67470795","text":"public void execute() {\n MenuItem item = _menuItems.get(_hoverIdx);\n LOG.debug(\"Executing menu function for '\" + item.getText() + \"'\");\n item.run();\n }","title":""},{"docid":"892be219f08bfc10d69e741830e33c68","score":"0.66978014","text":"public abstract\n void apply(int action);","title":""},{"docid":"9838d51231056ec593be266bf63e1116","score":"0.6680039","text":"public void executeAction(int action) {\n\t\tswitch (action) {\r\n\t\tcase Cnst.ACTION_ADD_SPAWN:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_ADD_LEADER:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_MOVE_SPAWN:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_MOVE_LEADER:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_CLEAN_TEMPLE:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_DIG:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_OWN_TEMPLE:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_BUILD_CAMP:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_SWAP_MEDALLIONS:\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}","title":""},{"docid":"aa2fa5f78b7f2152c09d782a56bdcaa1","score":"0.6654494","text":"public TaskBean executeAction(TaskBean task, TaskActionEnum action) throws DtgovUiException;","title":""},{"docid":"43537748eacb7fbfc4233ad7c95a6e2a","score":"0.6626712","text":"public void run() {\r\n\t\taction();\r\n\t\t\r\n\t}","title":""},{"docid":"20f9c370b7b343fdc27982748ce6bd82","score":"0.6609807","text":"public void dispatch() {\n if (action != null) {\n action.DO();\n }\n }","title":""},{"docid":"ad50e9d85c83dcf51a580a8164ab209f","score":"0.6587701","text":"protected abstract void selectActions();","title":""},{"docid":"d43af6bcedd2a0da5ff9f16cbe83ed2d","score":"0.6566274","text":"public String action(String action);","title":""},{"docid":"1a745ad5573b1921be2c02b65e3ec713","score":"0.653657","text":"public void execute(\n\t \tAction action,\n\t NodeRef actionedUponNodeRef);","title":""},{"docid":"57ad0178b1dfbd26698768d93189bf23","score":"0.6532898","text":"void userChooseAction(String token, IActionCommand action) throws InvalidActionException;","title":""},{"docid":"e83f4135a1ec67fd5b652fbe36b6d539","score":"0.6521918","text":"abstract protected void execute(IAction action) throws InvocationTargetException, InterruptedException;","title":""},{"docid":"66a68aa56e7ca6029edaa1c0c4c1a797","score":"0.65154886","text":"protected void executeAction(){\n\t\t\n\t\tif(currentJWidgetEditionObject!=null){\n\t\t\t\n\t\t\tjwidgetManager.handleCurrentJWidgetEditionObject(\n\t\t\t\t\tcurrentJWidgetEditionObject);\n\t\t}\n\t}","title":""},{"docid":"c00333657433992929f4af8bac780d63","score":"0.6507166","text":"public void run() {\n //update state\n updateState();\n\n //select action based on the state\n performStatefulAction();\n }","title":""},{"docid":"42db7363089115048db880442503e701","score":"0.65027213","text":"@Override\n\t\t\tpublic EssentialAction apply() {\n\t\t\t\treturn action.apply();\n\t\t\t}","title":""},{"docid":"58620c90ad7dc6ceeaccb20703234021","score":"0.65012926","text":"public void act() \r\n {\r\n // Add your action code here.\r\n }","title":""},{"docid":"58620c90ad7dc6ceeaccb20703234021","score":"0.65012926","text":"public void act() \r\n {\r\n // Add your action code here.\r\n }","title":""},{"docid":"58620c90ad7dc6ceeaccb20703234021","score":"0.65012926","text":"public void act() \r\n {\r\n // Add your action code here.\r\n }","title":""},{"docid":"48e8e0ad1a2a2c9d9d55da36b1f82cca","score":"0.6496829","text":"public void performAction() {\n ActionPerformer ap = getActionPerformer ();\n if (ap != null) ap.performAction (this);\n }","title":""},{"docid":"6f0c0ee4d4d6d98528973eb32571a0a0","score":"0.6484829","text":"abstract public void doAction();","title":""},{"docid":"3de8284f39cbaf93dd0e8d55dfe6ad15","score":"0.6476039","text":"final public void run(IAction action) {\r\n\t\ttry {\r\n\t\t\tif (!beginExecution(action)) return;\r\n\t\t\texecute(action);\r\n\t\t\tendExecution();\r\n\t\t} catch (InvocationTargetException e) {\r\n\t\t\t// Handle the exception and any accumulated errors\r\n\t\t\t//handle(e);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\t// Show any problems that have occurred so far\r\n\t\t\t//handle(null);\r\n\t\t}\r\n\t}","title":""},{"docid":"ef0ea6442e0e399fd2c9b310c9707718","score":"0.64696693","text":"public void handleRequest(String action) {\n if (commands.containsKey(action))\n {\n try {\n ICommand command = commands.get(action);\n command.execute();\n }\n catch (NullPointerException e)\n {\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"484095bd72a80d0f2e6c2b79264f4fbe","score":"0.64595056","text":"@Override\n\tpublic void executeAction() {\n\t\tGetItemCall getItemCall = (GetItemCall) apicall;\n\n\t\ttry {\n\t\t\tgetItemCall.getItem();\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t((GetItemBean) bean).setReturnedItem(getItemCall.getReturnedItem());\n\t}","title":""},{"docid":"e704a55e5214b5688b8e8eb1cbf881a1","score":"0.64329654","text":"public void doAction(String action) throws InputException, IOException {\n if( map.get(action) != null ) {\n Actioner actioner = map.get(action);\n actioner.action();\n } else\n mainContextMethod(action);\n }","title":""},{"docid":"bf03edafda366cc25548bb2f8aba8615","score":"0.6432889","text":"public void run() {\n loadActionDialog();\n }","title":""},{"docid":"0d265ff27633e218e29b68d163ad1ef5","score":"0.64320284","text":"@Override\n\tpublic void eventAction() {\n\t\tactionable.doAction();\n\t}","title":""},{"docid":"54fa38948f1606738e97ffec9897ccd1","score":"0.6424819","text":"public void act() \n {\n // Add your action code here.\n }","title":""},{"docid":"54fa38948f1606738e97ffec9897ccd1","score":"0.6424819","text":"public void act() \n {\n // Add your action code here.\n }","title":""},{"docid":"54fa38948f1606738e97ffec9897ccd1","score":"0.6424819","text":"public void act() \n {\n // Add your action code here.\n }","title":""},{"docid":"7e045818a93d8a50eda6511c275516d7","score":"0.64236814","text":"public void run(IAction action) {\n\t\tMessageDialog.openInformation(myView.getViewSite().getShell(),\n\t\t\t\t\"Information\",\n\t\t\t\t\"Very well, you did it, you did add an action to this view. You are my hero!\");\n\t}","title":""},{"docid":"25e09b8068ee22340f3e4c02a0169bd2","score":"0.6415441","text":"@Override\n\t\tpublic void action() {\n\t\t\t\n\t\t}","title":""},{"docid":"d1cbb7d9e2183cc05526316b8f8f1d8e","score":"0.64116436","text":"public void execute()\r\n {\r\n switch (actionType)\r\n {\r\n case DASH:\r\n client.dash(power);\r\n dashCount++;\r\n break;\r\n case KICK:\r\n client.kick(power, direction);\r\n kickCount++;\r\n break;\r\n case TURN:\r\n client.turn(direction);\r\n turnCount++;\r\n break;\r\n default:\r\n break;\r\n }\r\n }","title":""},{"docid":"d3b047e68a0da36e5ad34ea2f085c743","score":"0.64089346","text":"public void dispatch(String action) {\r\n\r\n }","title":""},{"docid":"25c1f8744f7213963b9d23a5620620e7","score":"0.63852584","text":"@Override\n\tpublic void run() {\n\t\tSystem.out.println(\"Action executed \");\n\t}","title":""},{"docid":"4e9a26cbbbaf522ebde4248ce073c5eb","score":"0.6384887","text":"public Action getAction();","title":""},{"docid":"e63ea8b31980d15401da0693cb55d697","score":"0.63780147","text":"public void execute(final ActionTypes actionType)\n {\n if (actionType == ActionTypes.FULL_ENGAGE) fullEngage();\n else if (actionType == ActionTypes.FULL_DISENGAGE) fullDisengage();\n else if (actionType == ActionTypes.GRADUAL_ENGAGE) gradualEngage();\n else if (actionType == ActionTypes.RED) red();\n else if (actionType == ActionTypes.BLUE) blue();\n else if (actionType == ActionTypes.ORANGE) orange();\n else if (actionType == ActionTypes.PLAY_TONE) playTone();\n else throw new UnsupportedOperationException(\"Attempt to execute unsupported ActionType\");\n }","title":""},{"docid":"5be10e436c40e39d8d2de9deb872e44e","score":"0.6373829","text":"protected void doAction(){\n\t\tif (dialogToOpen != null)\n\t\t\tdialogToOpen.open();\n\t}","title":""},{"docid":"f31bd6a11b20718e35ef60d7c00d487c","score":"0.63598084","text":"public void actionPerformed(ActionEvent event) {\n execute();\n }","title":""},{"docid":"3aa390f585a7e2e299d62e2072714b00","score":"0.63501006","text":"public void execute() {\n\t\tString comm = toCommand();\n\t\tgame.handleCommand(comm);\n\t\tthis.selected1 = null;\n\t\tthis.selected2 = null;\n\t\tupdate();\n\t}","title":""},{"docid":"ee8270e30e2ffa2596aebfaf011a8139","score":"0.63137424","text":"public abstract void action();","title":""},{"docid":"ee8270e30e2ffa2596aebfaf011a8139","score":"0.63137424","text":"public abstract void action();","title":""},{"docid":"2b24799cfbae9a2538024b8515e67eb8","score":"0.6308817","text":"@Override\r\n\tpublic void action() {\n\t\t\r\n\t}","title":""},{"docid":"3f92b8e2085bd7fff34177fc2c64f3f7","score":"0.630129","text":"public void actionPerformed(ActionEvent e) {\n String command = e.getActionCommand();\n \n if (command.equals(\"execute\")) {\n try {\n execute();\n } catch (PropertyVetoException pve) {}\n } else {\n if (Trace.isTracing(Trace.MASK_APPLICATION))\n {\n Trace.record(Trace.MASK_APPLICATION, BEANNAME, \"ActionEvent \" + e.toString());\n }\n }\n }","title":""},{"docid":"254e12db3b531791e891f38e19dabc89","score":"0.6281805","text":"private void doExecute() {\n parser.commandName().ifPresentOrElse(this::doExecuteCommandName, this::printUsage);\n }","title":""},{"docid":"3cbe73fd01adc1343262067fe78e34fc","score":"0.6262978","text":"public void doAction(RpcInvokeAction sendAction) {\n\r\n\t}","title":""},{"docid":"75cd68816686c5a65980151d274302a9","score":"0.62592506","text":"public void execute(FixtureCommand action) {\n if (action.execute()) {\n actionQueue.add(action);\n }\n }","title":""},{"docid":"291ff54b26a7e301bbe13a0aa670c05d","score":"0.62579674","text":"public String getAction();","title":""},{"docid":"291ff54b26a7e301bbe13a0aa670c05d","score":"0.62579674","text":"public String getAction();","title":""},{"docid":"fed4d5837e94fe0528135724bbe141bd","score":"0.6239939","text":"public String execute(String action) {\n\t\tif(\"list\".equals(action)){\n\t\t\treturn list();\n\t\t}\n\t\treturn null;\n\t}","title":""},{"docid":"f1be95c4340114f5b05ac29c68aa9894","score":"0.6236756","text":"@Override\n public void run() {\n if(actions.isEmpty()) return;\n\n ExecutorService executor = Executors.newSingleThreadExecutor();\n for(Action action:actions) executor.submit(action);\n\n }","title":""},{"docid":"102e1f55b7fe88be95d4758f206c218d","score":"0.6233495","text":"Actions getActionDone();","title":""},{"docid":"7784675b28b663ddcf78febc43a987f0","score":"0.622555","text":"public java.lang.String getAction();","title":""},{"docid":"7784675b28b663ddcf78febc43a987f0","score":"0.622555","text":"public java.lang.String getAction();","title":""},{"docid":"51d0f0b433fc64e308e11ec726f1acd7","score":"0.6222859","text":"private String performTheAction(HttpServletRequest request) {\r\n String servletPath = request.getServletPath();\r\n String action = getActionName(servletPath);\r\n // Let the logged in user run his chosen action\r\n return Action.perform(action, request);\r\n }","title":""},{"docid":"759fabfa8fd6bd4da5ce6a7342f5bf7d","score":"0.62182426","text":"void execute( Runnable action );","title":""},{"docid":"603fb052c644a6ac23f88b2be1870512","score":"0.6189835","text":"@Override\n\tpublic boolean pickAndExecuteAnAction() {\n\t\treturn false;\n\t}","title":""},{"docid":"603fb052c644a6ac23f88b2be1870512","score":"0.6189835","text":"@Override\n\tpublic boolean pickAndExecuteAnAction() {\n\t\treturn false;\n\t}","title":""},{"docid":"3daaac1b20f9861a5a09bac209c31055","score":"0.61824024","text":"void performPositiveAction();","title":""},{"docid":"05be038bc8bc481d0af7fee8bf9ce4e4","score":"0.6161079","text":"@Override\n\tprotected void executeAction() {\n\t\tAction actionExcute = actions.actionToExecute();\n\t\t\n\t\tif(actionExcute.equals(Action.Tirer)) {\n\t\t\tthis.tirer();\n\t\t}\n\t\tif(actionExcute.equals(Action.Braquer)) {\n\t\t\tthis.braquer();\n\t\t}\n\t\tif(interieur && actionExcute.equals(Action.Monter)) {\n\t\t\tinterieur = false;\n\t\t\tSystem.out.println(getName()+\" monte sur le toit\");\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tif(!interieur && actionExcute.equals(Action.Descendre)) {\n\t\t\tinterieur = true;\n\t\t\tSystem.out.println(getName()+\" descend a l'interieur\");\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tif(!wagon.isLastWagon() && actionExcute.equals(Action.Avance)) {\n\t\t\tTrain.Wagon newWagon = wagon.avanceBandit(this);\n\t\t\tSystem.out.println(getName()+\" avance vers la fin de train\");\n\t\t\twagon = newWagon;\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tif(!wagon.isFirstWagon() && actionExcute.equals(Action.Recule)) {\n\t\t\tTrain.Wagon newWagon =wagon.reculeBandit(this);\n\t\t\tSystem.out.println(getName()+\" recule vers le debut de train\");\n\t\t\twagon = newWagon;\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(getName()+ \" has nothing to do!\");\n\t}","title":""},{"docid":"95d6b712f680ff2c0c9e4c269032b860","score":"0.6152927","text":"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString command = e.getActionCommand();\n\n\t\tif (command.equals(view.getWelcomePanel().getCOMMAND_SELECT_FILE())) {\n\t\t\tworld.uploadFile(view.connectFileChooser());\n\t\t\tview.getSelectionPanel().getShowPanel().getTxtAreaShow().setText(world.getAlFile());\n\t\t}\n\t\tif (command.equals(view.getSelectionPanel().getCOMMAND_CONFIRM())) {\n\t\t\tthis.manageSelectionKeyword();\n\t\t}\n\t}","title":""},{"docid":"d40386ede98d210fdd3dd4e65fad402a","score":"0.6152484","text":"public void actions() { }","title":""},{"docid":"203d8e7343767695d70f23a7b058f8e1","score":"0.6148252","text":"@Override\n\tpublic void execute(Action action,\n\t\t\tBrokerCallback response) {\n\t\t\n\t}","title":""},{"docid":"b7b759f35f9722401938d00e4632dd2b","score":"0.614728","text":"public String invokeAction()\n {\n\n if (script != null)\n {\n try\n {\n if (useRhino)\n {\n output = Context.toString(executeUsingRhino(script));\n }\n else\n {\n Object ret = executeUsingScriptEngine(script);\n if (ret != null)\n {\n output = ret.toString();\n }\n }\n }\n catch (Exception e)\n {\n StringWriter sw = new StringWriter(100);\n PrintWriter pw = new PrintWriter(sw);\n e.printStackTrace(pw);\n output = sw.toString();\n output = output.replaceAll(\"\\n\", \"
\");\n }\n }\n return null;\n }","title":""},{"docid":"c3f444201ab1f72f6ddce6d68f82374f","score":"0.61293995","text":"public String execute() throws Exception {\n\t\tif (this.getSubmit() == null) {\r\n\t\t\treturn Action.INPUT;\r\n\t\t}\r\n\r\n\t\t// standard goes right to the override check\r\n\t\tif (this.getSubmit().equalsIgnoreCase(SUBMIT_STANDARD)) {\r\n\t\t\treturn SUCCESS_STANDARD;\r\n\t\t}\r\n\r\n\t\t// ONLY OTHER OPTION - advanced goes to the field level detail screen\r\n\t\treturn SUCCESS_ADVANCED;\r\n\r\n\t}","title":""},{"docid":"c0994c7247d441b44f92261f21250ba5","score":"0.6118974","text":"private void submitAction() {\n String choice = null;\n switch (actionState.getCheckedRadioButtonId()) {\n case R.id.zombie_action_military:\n choice = Zombie.ZACTION_MILITARY;\n break;\n case R.id.zombie_action_cure:\n choice = Zombie.ZACTION_CURE;\n break;\n case R.id.zombie_action_horde:\n choice = Zombie.ZACTION_ZOMBIE;\n break;\n }\n\n if (zombieData != null && choice != null && !choice.equals(zombieData.action)) {\n ((ZombieControlActivity) getActivity()).startSubmitAction(choice);\n }\n }","title":""},{"docid":"b75dd84337feb261e6c280d953b25c9d","score":"0.611825","text":"public abstract boolean performAction(int playerId, Action a);","title":""},{"docid":"6dea1d6980d0779f86239649fc600ee7","score":"0.6106594","text":"Action getAction();","title":""},{"docid":"ab3e2faadbbf0e2a2904289a840fa2bd","score":"0.60985136","text":"@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}","title":""},{"docid":"ab3e2faadbbf0e2a2904289a840fa2bd","score":"0.60985136","text":"@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}","title":""},{"docid":"ab3e2faadbbf0e2a2904289a840fa2bd","score":"0.60985136","text":"@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}","title":""},{"docid":"ab3e2faadbbf0e2a2904289a840fa2bd","score":"0.60985136","text":"@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}","title":""},{"docid":"a823cb8de47622b1a7ada08e8bd528dd","score":"0.60897905","text":"public boolean doAction(String command)\r\n/* 177: */ {\r\n/* 178:197 */ return true;\r\n/* 179: */ }","title":""},{"docid":"f05c09e332f3cee4450e89d134560653","score":"0.60874045","text":"@Override\n\t\t\tpublic void handle(ActionEvent arg0) {\n\t\t\t\tclickSound.play();\n\t\t\t\tinstruction5();\n\t\t\t}","title":""},{"docid":"3c4584cd1a7a358ea836e4bed82ea9fa","score":"0.60751915","text":"public void selectAction(Actions action){\n currentAction.put(currentActivePlayer,action);\n serverViews.get(currentServerView).sendActionResponse(action);\n switch (action){\n case MARKETACTION:\n case USEPRODUCTION:\n case BUYDEVELOPMENTCARD: {\n numOfActions.put(currentActivePlayer,true);\n break;\n }\n case DISCARDLEADERCARD:\n case PLAYLEADERCARD:{\n break;\n }\n }\n }","title":""},{"docid":"c8516d7359f72d6d521028eafb3ac605","score":"0.60692346","text":"public void invoke() throws STException {\n try {\n if( isAsync() ) {\n MethodExecutionAsyncTask task = null ;\n task = new MethodExecutionAsyncTask( this.targetBean, this.targetOp ) ;\n ServiceMgr.getAsyncExecutorSvc().submit( task ) ;\n }\n else {\n this.method.invoke( this.bean, (Object[])null ) ;\n }\n }\n catch ( final Exception e ) {\n logger.error( \"Could not invoke action \" + this.name, e ) ;\n throw new STException( \"Action command failure \", e, ErrorCode.UNKNOWN_EXCEPTION ) ;\n }\n }","title":""},{"docid":"f507883d1f706e0685da7eb676e12116","score":"0.6068238","text":"public abstract void runBaseAction();","title":""},{"docid":"630e87ad28b206d44df89fd22509c8ca","score":"0.60603994","text":"@Override\n\tpublic java_cup.runtime.Symbol do_action(int act_num, java_cup.runtime.lr_parser parser, java.util.Stack stack,\n\t\t\tint top) throws java.lang.Exception {\n\t\t/* call code in generated class */\n\t\treturn action_obj.CUP$parser$do_action(act_num, parser, stack, top);\n\t}","title":""},{"docid":"c910f0b6519a12bbc725479a121b51f0","score":"0.60599846","text":"public final void execute() {\r\n executeAction();\r\n _isUndo = false;\r\n setChanged();\r\n notifyObservers();\r\n _isRedo = false;\r\n }","title":""},{"docid":"48f55ad2f9fc5b03e65271767cc5e2ab","score":"0.60575116","text":"@Override public void doAction(int option)\n {\n switch (option)\n {\n // if the option is 1, call startNewGame( )\n case 1:\n startNewGame();\n break;\n // if the option is 2, call startExistingGame( )\n case 2:\n startSavedGame();\n break;\n // if the option is 3, call displayHelpMenu( )\n case 3:\n displayHelpMenuView();\n break;\n // if the option is 4, call displaySaveGame( )\n case 4:\n displaySaveGameView();\n break;\n // if the option is 5, display a goodbye message\n case 5:\n System.out.println(\"Thanks for playing... goodbye.\");\n }\n }","title":""},{"docid":"434d600ca23e527c99bfd0902731f0b7","score":"0.6050774","text":"public int getAction() {\n return action;\n }","title":""},{"docid":"b27108768a1246664d04a821f911aef3","score":"0.6048662","text":"String getAction();","title":""},{"docid":"b27108768a1246664d04a821f911aef3","score":"0.6048662","text":"String getAction();","title":""},{"docid":"b27108768a1246664d04a821f911aef3","score":"0.6048662","text":"String getAction();","title":""},{"docid":"b686177411465a15d3e5db79fe3ec3c1","score":"0.6038323","text":"public abstract void sendAction(String actionCommand);","title":""},{"docid":"7800c455df56a32fb9d4e76ca643c242","score":"0.6032515","text":"public Object execute(ExecutionEvent event) throws ExecutionException {\n\t\tString action = null;\n\t\tEditorHelper editor = EditorHelper.getCurrent(event);\n\t\tif (editor.textEditor instanceof HTMLEditor) {\n\t\t\taction = fromView(editor);\n\t\t\tSystem.out.println(\"View!!\");\n\t\t} else if (editor.textEditor instanceof RouteEditor) {\n\t\t\taction = fromRoutes(editor);\n\t\t\tSystem.out.println(\"Routes!!\");\n\t\t}\n\t\tSystem.out.println(\"action = \" + action);\n\t\t\n\t\t(new Navigation(editor)).goToAction(action);\n\t\treturn null;\n\t}","title":""},{"docid":"7944e72c9c74b5a8e46afeea7b661729","score":"0.6029276","text":"public int getAction() {\n return instance.getAction();\n }","title":""},{"docid":"7944e72c9c74b5a8e46afeea7b661729","score":"0.6029276","text":"public int getAction() {\n return instance.getAction();\n }","title":""},{"docid":"0ff7549093dfc8141b01669ce084c0ac","score":"0.602923","text":"@Override\n\t\t\tpublic void handle(ActionEvent arg0) {\n\t\t\t\tclickSound.play();\n\t\t\t\tinstruction2();\n\t\t\t}","title":""},{"docid":"4019520cf4af2f60490471576d8d42f1","score":"0.6020533","text":"@Override\r\n public boolean doAction(String[] inputs) {\r\n // Act on the user's input.\r\n // This is a \"dispatch\" function that decides what\r\n // other functions to call. You can use an if-, if-else,\r\n // or switch statement.\r\n\r\n // return false if you want this view to exit and return\r\n // to the view that called it.\r\n someActionHandler();\r\n\r\n return true;\r\n }","title":""},{"docid":"15034bb5a6dfda213b77a673838022d8","score":"0.60188407","text":"public Result executeAction(HttpServletRequest request, HttpServletResponse response, Method runBeforeAction, Method action) throws Exception {\n Object[] args = new Object[2];\n args[0] = request;\n args[1] = response;\n\n Result result = ViewHelper.processAction();\n\n if (runBeforeAction != null) {\n result = (Result) runBeforeAction.invoke(controller, args);\n }\n\n if (result.isProcessAction()) {\n result = (Result) action.invoke(controller, args);\n }\n\n if (result.isDefaultView()) {\n Controller annotation = controller.getClass().getAnnotation(Controller.class);\n result = ViewHelper.forwardToView(annotation.mappedBy(), action.getName());\n }\n\n args = null;\n return result;\n }","title":""},{"docid":"575491bef5c6647e45592845302ef858","score":"0.60178584","text":"public abstract void perform(Player player, Action action);","title":""},{"docid":"e200326022df158576ee90c7e265e013","score":"0.6016685","text":"public void execute() {\n\t\tm.displayMenu(true,false);\n\t\tint i = InputController.promptInteger(\"Please enter the index of the item you want to move\",1,m.size());\n\t\tiMenuItem k = m.getItem(i-1);\n\t\tm.deleteItem(k);\n\t\tm.displayMenu(true);\n\t\ti = InputController.promptInteger(\"Please enter the new index of this item\",1,m.size()+1);\n\t\tif(i>m.size()) {\n\t\t\tm.addItem(k);\n\t\t} else {\n\t\t\tm.addItem(i-1,k);\n\t\t}\n\t}","title":""},{"docid":"a4a439a9a84ad96bd819a60c0bff1dab","score":"0.59880877","text":"@Override\n public void action() {\n System.out.printf(\"%s - %s\", name, \"Do some action\");\n }","title":""}],"string":"[\n {\n \"docid\": \"aeb1a0c74188575f46e43cb9ff1ff7db\",\n \"score\": \"0.78111035\",\n \"text\": \"protected abstract void executeAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bead7ad148adacdc7657ffcd43f23c18\",\n \"score\": \"0.72252136\",\n \"text\": \"@Override\\n public void execute()\\n {\\n target.doAction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17b119e6fa26d4b80451c9ae8b27d83d\",\n \"score\": \"0.71426374\",\n \"text\": \"public abstract Object performAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b319581994171d103a9e1b38f5a8bb9d\",\n \"score\": \"0.7020469\",\n \"text\": \"public String execute() {\\n\\r\\n\\r\\n\\t\\r\\n\\t\\r\\n\\t\\treturn Action.SUCCESS;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eee66ed4dc67d46bd50820f751038f88\",\n \"score\": \"0.69361985\",\n \"text\": \"public void execute(){\\n if (!enabled)\\n return;\\n\\n logger.info(\\\"Executing flow(id: \\\" + getId() + \\\"): \\\" + getName());\\n\\n for (Action action : actionList){\\n action.execute();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a13fbd5a5123aa8a069ed3788048b9eb\",\n \"score\": \"0.68906\",\n \"text\": \"@Override\\n protected void execute() {\\n\\n switch(action) {\\n case SWITCH:\\n Robot.hatchGrabber.switchClaw();\\n break;\\n case GRAB:\\n Robot.hatchGrabber.grabHatch();\\n break;\\n case RELEASE:\\n Robot.hatchGrabber.releaseHatch();\\n break;\\n case OFF:\\n Robot.hatchGrabber.clawOff();\\n break;\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4efc060b8fdd91f33733fc10d10522d8\",\n \"score\": \"0.6873004\",\n \"text\": \"void performAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a8dbda2d5e405f7ecd395cd20a4e44a\",\n \"score\": \"0.6797211\",\n \"text\": \"public void execute(Object actioned) {\\n if (actioned == view.getButtonSpaceStoreManager()) {\\n MainFrameControl.showStoreManagerMenu();\\n\\n } else if (actioned == view.getButtonSpaceSeller()) {\\n MainFrameControl.showSellerMenu();\\n\\n } else if (actioned == view.getButtonListSales()) {\\n MainFrameControl.showListSalesMenu();\\n\\n } else if (actioned == view.getButtonListProducts()) {\\n MainFrameControl.showListProducts();\\n\\n } else if (actioned == view.getButtonListSellers()) {\\n MainFrameControl.showListSellers();\\n\\n } else if (actioned == view.getButtonListCustomers()) {\\n MainFrameControl.showListCustomers();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6e987f8296ad6c2062c8c24203f1713\",\n \"score\": \"0.6774574\",\n \"text\": \"@Override\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\tif (action != null) {\\n\\t\\t\\taction.execute();\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48eb49a7e7936990a1df478323b06a10\",\n \"score\": \"0.67470795\",\n \"text\": \"public void execute() {\\n MenuItem item = _menuItems.get(_hoverIdx);\\n LOG.debug(\\\"Executing menu function for '\\\" + item.getText() + \\\"'\\\");\\n item.run();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"892be219f08bfc10d69e741830e33c68\",\n \"score\": \"0.66978014\",\n \"text\": \"public abstract\\n void apply(int action);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9838d51231056ec593be266bf63e1116\",\n \"score\": \"0.6680039\",\n \"text\": \"public void executeAction(int action) {\\n\\t\\tswitch (action) {\\r\\n\\t\\tcase Cnst.ACTION_ADD_SPAWN:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_ADD_LEADER:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_MOVE_SPAWN:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_MOVE_LEADER:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_CLEAN_TEMPLE:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_DIG:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_OWN_TEMPLE:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_BUILD_CAMP:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tcase Cnst.ACTION_SWAP_MEDALLIONS:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\tdefault:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa2fa5f78b7f2152c09d782a56bdcaa1\",\n \"score\": \"0.6654494\",\n \"text\": \"public TaskBean executeAction(TaskBean task, TaskActionEnum action) throws DtgovUiException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43537748eacb7fbfc4233ad7c95a6e2a\",\n \"score\": \"0.6626712\",\n \"text\": \"public void run() {\\r\\n\\t\\taction();\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20f9c370b7b343fdc27982748ce6bd82\",\n \"score\": \"0.6609807\",\n \"text\": \"public void dispatch() {\\n if (action != null) {\\n action.DO();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad50e9d85c83dcf51a580a8164ab209f\",\n \"score\": \"0.6587701\",\n \"text\": \"protected abstract void selectActions();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d43af6bcedd2a0da5ff9f16cbe83ed2d\",\n \"score\": \"0.6566274\",\n \"text\": \"public String action(String action);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a745ad5573b1921be2c02b65e3ec713\",\n \"score\": \"0.653657\",\n \"text\": \"public void execute(\\n\\t \\tAction action,\\n\\t NodeRef actionedUponNodeRef);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57ad0178b1dfbd26698768d93189bf23\",\n \"score\": \"0.6532898\",\n \"text\": \"void userChooseAction(String token, IActionCommand action) throws InvalidActionException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e83f4135a1ec67fd5b652fbe36b6d539\",\n \"score\": \"0.6521918\",\n \"text\": \"abstract protected void execute(IAction action) throws InvocationTargetException, InterruptedException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66a68aa56e7ca6029edaa1c0c4c1a797\",\n \"score\": \"0.65154886\",\n \"text\": \"protected void executeAction(){\\n\\t\\t\\n\\t\\tif(currentJWidgetEditionObject!=null){\\n\\t\\t\\t\\n\\t\\t\\tjwidgetManager.handleCurrentJWidgetEditionObject(\\n\\t\\t\\t\\t\\tcurrentJWidgetEditionObject);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c00333657433992929f4af8bac780d63\",\n \"score\": \"0.6507166\",\n \"text\": \"public void run() {\\n //update state\\n updateState();\\n\\n //select action based on the state\\n performStatefulAction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42db7363089115048db880442503e701\",\n \"score\": \"0.65027213\",\n \"text\": \"@Override\\n\\t\\t\\tpublic EssentialAction apply() {\\n\\t\\t\\t\\treturn action.apply();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58620c90ad7dc6ceeaccb20703234021\",\n \"score\": \"0.65012926\",\n \"text\": \"public void act() \\r\\n {\\r\\n // Add your action code here.\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58620c90ad7dc6ceeaccb20703234021\",\n \"score\": \"0.65012926\",\n \"text\": \"public void act() \\r\\n {\\r\\n // Add your action code here.\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58620c90ad7dc6ceeaccb20703234021\",\n \"score\": \"0.65012926\",\n \"text\": \"public void act() \\r\\n {\\r\\n // Add your action code here.\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48e8e0ad1a2a2c9d9d55da36b1f82cca\",\n \"score\": \"0.6496829\",\n \"text\": \"public void performAction() {\\n ActionPerformer ap = getActionPerformer ();\\n if (ap != null) ap.performAction (this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f0c0ee4d4d6d98528973eb32571a0a0\",\n \"score\": \"0.6484829\",\n \"text\": \"abstract public void doAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3de8284f39cbaf93dd0e8d55dfe6ad15\",\n \"score\": \"0.6476039\",\n \"text\": \"final public void run(IAction action) {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tif (!beginExecution(action)) return;\\r\\n\\t\\t\\texecute(action);\\r\\n\\t\\t\\tendExecution();\\r\\n\\t\\t} catch (InvocationTargetException e) {\\r\\n\\t\\t\\t// Handle the exception and any accumulated errors\\r\\n\\t\\t\\t//handle(e);\\r\\n\\t\\t} catch (InterruptedException e) {\\r\\n\\t\\t\\t// Show any problems that have occurred so far\\r\\n\\t\\t\\t//handle(null);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef0ea6442e0e399fd2c9b310c9707718\",\n \"score\": \"0.64696693\",\n \"text\": \"public void handleRequest(String action) {\\n if (commands.containsKey(action))\\n {\\n try {\\n ICommand command = commands.get(action);\\n command.execute();\\n }\\n catch (NullPointerException e)\\n {\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"484095bd72a80d0f2e6c2b79264f4fbe\",\n \"score\": \"0.64595056\",\n \"text\": \"@Override\\n\\tpublic void executeAction() {\\n\\t\\tGetItemCall getItemCall = (GetItemCall) apicall;\\n\\n\\t\\ttry {\\n\\t\\t\\tgetItemCall.getItem();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\t((GetItemBean) bean).setReturnedItem(getItemCall.getReturnedItem());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e704a55e5214b5688b8e8eb1cbf881a1\",\n \"score\": \"0.64329654\",\n \"text\": \"public void doAction(String action) throws InputException, IOException {\\n if( map.get(action) != null ) {\\n Actioner actioner = map.get(action);\\n actioner.action();\\n } else\\n mainContextMethod(action);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf03edafda366cc25548bb2f8aba8615\",\n \"score\": \"0.6432889\",\n \"text\": \"public void run() {\\n loadActionDialog();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d265ff27633e218e29b68d163ad1ef5\",\n \"score\": \"0.64320284\",\n \"text\": \"@Override\\n\\tpublic void eventAction() {\\n\\t\\tactionable.doAction();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54fa38948f1606738e97ffec9897ccd1\",\n \"score\": \"0.6424819\",\n \"text\": \"public void act() \\n {\\n // Add your action code here.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54fa38948f1606738e97ffec9897ccd1\",\n \"score\": \"0.6424819\",\n \"text\": \"public void act() \\n {\\n // Add your action code here.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54fa38948f1606738e97ffec9897ccd1\",\n \"score\": \"0.6424819\",\n \"text\": \"public void act() \\n {\\n // Add your action code here.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e045818a93d8a50eda6511c275516d7\",\n \"score\": \"0.64236814\",\n \"text\": \"public void run(IAction action) {\\n\\t\\tMessageDialog.openInformation(myView.getViewSite().getShell(),\\n\\t\\t\\t\\t\\\"Information\\\",\\n\\t\\t\\t\\t\\\"Very well, you did it, you did add an action to this view. You are my hero!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25e09b8068ee22340f3e4c02a0169bd2\",\n \"score\": \"0.6415441\",\n \"text\": \"@Override\\n\\t\\tpublic void action() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1cbb7d9e2183cc05526316b8f8f1d8e\",\n \"score\": \"0.64116436\",\n \"text\": \"public void execute()\\r\\n {\\r\\n switch (actionType)\\r\\n {\\r\\n case DASH:\\r\\n client.dash(power);\\r\\n dashCount++;\\r\\n break;\\r\\n case KICK:\\r\\n client.kick(power, direction);\\r\\n kickCount++;\\r\\n break;\\r\\n case TURN:\\r\\n client.turn(direction);\\r\\n turnCount++;\\r\\n break;\\r\\n default:\\r\\n break;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3b047e68a0da36e5ad34ea2f085c743\",\n \"score\": \"0.64089346\",\n \"text\": \"public void dispatch(String action) {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25c1f8744f7213963b9d23a5620620e7\",\n \"score\": \"0.63852584\",\n \"text\": \"@Override\\n\\tpublic void run() {\\n\\t\\tSystem.out.println(\\\"Action executed \\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e9a26cbbbaf522ebde4248ce073c5eb\",\n \"score\": \"0.6384887\",\n \"text\": \"public Action getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e63ea8b31980d15401da0693cb55d697\",\n \"score\": \"0.63780147\",\n \"text\": \"public void execute(final ActionTypes actionType)\\n {\\n if (actionType == ActionTypes.FULL_ENGAGE) fullEngage();\\n else if (actionType == ActionTypes.FULL_DISENGAGE) fullDisengage();\\n else if (actionType == ActionTypes.GRADUAL_ENGAGE) gradualEngage();\\n else if (actionType == ActionTypes.RED) red();\\n else if (actionType == ActionTypes.BLUE) blue();\\n else if (actionType == ActionTypes.ORANGE) orange();\\n else if (actionType == ActionTypes.PLAY_TONE) playTone();\\n else throw new UnsupportedOperationException(\\\"Attempt to execute unsupported ActionType\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5be10e436c40e39d8d2de9deb872e44e\",\n \"score\": \"0.6373829\",\n \"text\": \"protected void doAction(){\\n\\t\\tif (dialogToOpen != null)\\n\\t\\t\\tdialogToOpen.open();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f31bd6a11b20718e35ef60d7c00d487c\",\n \"score\": \"0.63598084\",\n \"text\": \"public void actionPerformed(ActionEvent event) {\\n execute();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3aa390f585a7e2e299d62e2072714b00\",\n \"score\": \"0.63501006\",\n \"text\": \"public void execute() {\\n\\t\\tString comm = toCommand();\\n\\t\\tgame.handleCommand(comm);\\n\\t\\tthis.selected1 = null;\\n\\t\\tthis.selected2 = null;\\n\\t\\tupdate();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee8270e30e2ffa2596aebfaf011a8139\",\n \"score\": \"0.63137424\",\n \"text\": \"public abstract void action();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee8270e30e2ffa2596aebfaf011a8139\",\n \"score\": \"0.63137424\",\n \"text\": \"public abstract void action();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b24799cfbae9a2538024b8515e67eb8\",\n \"score\": \"0.6308817\",\n \"text\": \"@Override\\r\\n\\tpublic void action() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f92b8e2085bd7fff34177fc2c64f3f7\",\n \"score\": \"0.630129\",\n \"text\": \"public void actionPerformed(ActionEvent e) {\\n String command = e.getActionCommand();\\n \\n if (command.equals(\\\"execute\\\")) {\\n try {\\n execute();\\n } catch (PropertyVetoException pve) {}\\n } else {\\n if (Trace.isTracing(Trace.MASK_APPLICATION))\\n {\\n Trace.record(Trace.MASK_APPLICATION, BEANNAME, \\\"ActionEvent \\\" + e.toString());\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"254e12db3b531791e891f38e19dabc89\",\n \"score\": \"0.6281805\",\n \"text\": \"private void doExecute() {\\n parser.commandName().ifPresentOrElse(this::doExecuteCommandName, this::printUsage);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cbe73fd01adc1343262067fe78e34fc\",\n \"score\": \"0.6262978\",\n \"text\": \"public void doAction(RpcInvokeAction sendAction) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75cd68816686c5a65980151d274302a9\",\n \"score\": \"0.62592506\",\n \"text\": \"public void execute(FixtureCommand action) {\\n if (action.execute()) {\\n actionQueue.add(action);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"291ff54b26a7e301bbe13a0aa670c05d\",\n \"score\": \"0.62579674\",\n \"text\": \"public String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"291ff54b26a7e301bbe13a0aa670c05d\",\n \"score\": \"0.62579674\",\n \"text\": \"public String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fed4d5837e94fe0528135724bbe141bd\",\n \"score\": \"0.6239939\",\n \"text\": \"public String execute(String action) {\\n\\t\\tif(\\\"list\\\".equals(action)){\\n\\t\\t\\treturn list();\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1be95c4340114f5b05ac29c68aa9894\",\n \"score\": \"0.6236756\",\n \"text\": \"@Override\\n public void run() {\\n if(actions.isEmpty()) return;\\n\\n ExecutorService executor = Executors.newSingleThreadExecutor();\\n for(Action action:actions) executor.submit(action);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"102e1f55b7fe88be95d4758f206c218d\",\n \"score\": \"0.6233495\",\n \"text\": \"Actions getActionDone();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7784675b28b663ddcf78febc43a987f0\",\n \"score\": \"0.622555\",\n \"text\": \"public java.lang.String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7784675b28b663ddcf78febc43a987f0\",\n \"score\": \"0.622555\",\n \"text\": \"public java.lang.String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51d0f0b433fc64e308e11ec726f1acd7\",\n \"score\": \"0.6222859\",\n \"text\": \"private String performTheAction(HttpServletRequest request) {\\r\\n String servletPath = request.getServletPath();\\r\\n String action = getActionName(servletPath);\\r\\n // Let the logged in user run his chosen action\\r\\n return Action.perform(action, request);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"759fabfa8fd6bd4da5ce6a7342f5bf7d\",\n \"score\": \"0.62182426\",\n \"text\": \"void execute( Runnable action );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"603fb052c644a6ac23f88b2be1870512\",\n \"score\": \"0.6189835\",\n \"text\": \"@Override\\n\\tpublic boolean pickAndExecuteAnAction() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"603fb052c644a6ac23f88b2be1870512\",\n \"score\": \"0.6189835\",\n \"text\": \"@Override\\n\\tpublic boolean pickAndExecuteAnAction() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3daaac1b20f9861a5a09bac209c31055\",\n \"score\": \"0.61824024\",\n \"text\": \"void performPositiveAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05be038bc8bc481d0af7fee8bf9ce4e4\",\n \"score\": \"0.6161079\",\n \"text\": \"@Override\\n\\tprotected void executeAction() {\\n\\t\\tAction actionExcute = actions.actionToExecute();\\n\\t\\t\\n\\t\\tif(actionExcute.equals(Action.Tirer)) {\\n\\t\\t\\tthis.tirer();\\n\\t\\t}\\n\\t\\tif(actionExcute.equals(Action.Braquer)) {\\n\\t\\t\\tthis.braquer();\\n\\t\\t}\\n\\t\\tif(interieur && actionExcute.equals(Action.Monter)) {\\n\\t\\t\\tinterieur = false;\\n\\t\\t\\tSystem.out.println(getName()+\\\" monte sur le toit\\\");\\n\\t\\t\\tSystem.out.println(wagon);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif(!interieur && actionExcute.equals(Action.Descendre)) {\\n\\t\\t\\tinterieur = true;\\n\\t\\t\\tSystem.out.println(getName()+\\\" descend a l'interieur\\\");\\n\\t\\t\\tSystem.out.println(wagon);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif(!wagon.isLastWagon() && actionExcute.equals(Action.Avance)) {\\n\\t\\t\\tTrain.Wagon newWagon = wagon.avanceBandit(this);\\n\\t\\t\\tSystem.out.println(getName()+\\\" avance vers la fin de train\\\");\\n\\t\\t\\twagon = newWagon;\\n\\t\\t\\tSystem.out.println(wagon);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif(!wagon.isFirstWagon() && actionExcute.equals(Action.Recule)) {\\n\\t\\t\\tTrain.Wagon newWagon =wagon.reculeBandit(this);\\n\\t\\t\\tSystem.out.println(getName()+\\\" recule vers le debut de train\\\");\\n\\t\\t\\twagon = newWagon;\\n\\t\\t\\tSystem.out.println(wagon);\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tSystem.out.println(getName()+ \\\" has nothing to do!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95d6b712f680ff2c0c9e4c269032b860\",\n \"score\": \"0.6152927\",\n \"text\": \"@Override\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\tString command = e.getActionCommand();\\n\\n\\t\\tif (command.equals(view.getWelcomePanel().getCOMMAND_SELECT_FILE())) {\\n\\t\\t\\tworld.uploadFile(view.connectFileChooser());\\n\\t\\t\\tview.getSelectionPanel().getShowPanel().getTxtAreaShow().setText(world.getAlFile());\\n\\t\\t}\\n\\t\\tif (command.equals(view.getSelectionPanel().getCOMMAND_CONFIRM())) {\\n\\t\\t\\tthis.manageSelectionKeyword();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d40386ede98d210fdd3dd4e65fad402a\",\n \"score\": \"0.6152484\",\n \"text\": \"public void actions() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"203d8e7343767695d70f23a7b058f8e1\",\n \"score\": \"0.6148252\",\n \"text\": \"@Override\\n\\tpublic void execute(Action action,\\n\\t\\t\\tBrokerCallback response) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7b759f35f9722401938d00e4632dd2b\",\n \"score\": \"0.614728\",\n \"text\": \"public String invokeAction()\\n {\\n\\n if (script != null)\\n {\\n try\\n {\\n if (useRhino)\\n {\\n output = Context.toString(executeUsingRhino(script));\\n }\\n else\\n {\\n Object ret = executeUsingScriptEngine(script);\\n if (ret != null)\\n {\\n output = ret.toString();\\n }\\n }\\n }\\n catch (Exception e)\\n {\\n StringWriter sw = new StringWriter(100);\\n PrintWriter pw = new PrintWriter(sw);\\n e.printStackTrace(pw);\\n output = sw.toString();\\n output = output.replaceAll(\\\"\\\\n\\\", \\\"
\\\");\\n }\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3f444201ab1f72f6ddce6d68f82374f\",\n \"score\": \"0.61293995\",\n \"text\": \"public String execute() throws Exception {\\n\\t\\tif (this.getSubmit() == null) {\\r\\n\\t\\t\\treturn Action.INPUT;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// standard goes right to the override check\\r\\n\\t\\tif (this.getSubmit().equalsIgnoreCase(SUBMIT_STANDARD)) {\\r\\n\\t\\t\\treturn SUCCESS_STANDARD;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// ONLY OTHER OPTION - advanced goes to the field level detail screen\\r\\n\\t\\treturn SUCCESS_ADVANCED;\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0994c7247d441b44f92261f21250ba5\",\n \"score\": \"0.6118974\",\n \"text\": \"private void submitAction() {\\n String choice = null;\\n switch (actionState.getCheckedRadioButtonId()) {\\n case R.id.zombie_action_military:\\n choice = Zombie.ZACTION_MILITARY;\\n break;\\n case R.id.zombie_action_cure:\\n choice = Zombie.ZACTION_CURE;\\n break;\\n case R.id.zombie_action_horde:\\n choice = Zombie.ZACTION_ZOMBIE;\\n break;\\n }\\n\\n if (zombieData != null && choice != null && !choice.equals(zombieData.action)) {\\n ((ZombieControlActivity) getActivity()).startSubmitAction(choice);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b75dd84337feb261e6c280d953b25c9d\",\n \"score\": \"0.611825\",\n \"text\": \"public abstract boolean performAction(int playerId, Action a);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6dea1d6980d0779f86239649fc600ee7\",\n \"score\": \"0.6106594\",\n \"text\": \"Action getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab3e2faadbbf0e2a2904289a840fa2bd\",\n \"score\": \"0.60985136\",\n \"text\": \"@Override\\n\\t\\tpublic void execute() {\\n\\t\\t\\tWindow.alert(\\\"Hola menu\\\");\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab3e2faadbbf0e2a2904289a840fa2bd\",\n \"score\": \"0.60985136\",\n \"text\": \"@Override\\n\\t\\tpublic void execute() {\\n\\t\\t\\tWindow.alert(\\\"Hola menu\\\");\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab3e2faadbbf0e2a2904289a840fa2bd\",\n \"score\": \"0.60985136\",\n \"text\": \"@Override\\n\\t\\tpublic void execute() {\\n\\t\\t\\tWindow.alert(\\\"Hola menu\\\");\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab3e2faadbbf0e2a2904289a840fa2bd\",\n \"score\": \"0.60985136\",\n \"text\": \"@Override\\n\\t\\tpublic void execute() {\\n\\t\\t\\tWindow.alert(\\\"Hola menu\\\");\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a823cb8de47622b1a7ada08e8bd528dd\",\n \"score\": \"0.60897905\",\n \"text\": \"public boolean doAction(String command)\\r\\n/* 177: */ {\\r\\n/* 178:197 */ return true;\\r\\n/* 179: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f05c09e332f3cee4450e89d134560653\",\n \"score\": \"0.60874045\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void handle(ActionEvent arg0) {\\n\\t\\t\\t\\tclickSound.play();\\n\\t\\t\\t\\tinstruction5();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c4584cd1a7a358ea836e4bed82ea9fa\",\n \"score\": \"0.60751915\",\n \"text\": \"public void selectAction(Actions action){\\n currentAction.put(currentActivePlayer,action);\\n serverViews.get(currentServerView).sendActionResponse(action);\\n switch (action){\\n case MARKETACTION:\\n case USEPRODUCTION:\\n case BUYDEVELOPMENTCARD: {\\n numOfActions.put(currentActivePlayer,true);\\n break;\\n }\\n case DISCARDLEADERCARD:\\n case PLAYLEADERCARD:{\\n break;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8516d7359f72d6d521028eafb3ac605\",\n \"score\": \"0.60692346\",\n \"text\": \"public void invoke() throws STException {\\n try {\\n if( isAsync() ) {\\n MethodExecutionAsyncTask task = null ;\\n task = new MethodExecutionAsyncTask( this.targetBean, this.targetOp ) ;\\n ServiceMgr.getAsyncExecutorSvc().submit( task ) ;\\n }\\n else {\\n this.method.invoke( this.bean, (Object[])null ) ;\\n }\\n }\\n catch ( final Exception e ) {\\n logger.error( \\\"Could not invoke action \\\" + this.name, e ) ;\\n throw new STException( \\\"Action command failure \\\", e, ErrorCode.UNKNOWN_EXCEPTION ) ;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f507883d1f706e0685da7eb676e12116\",\n \"score\": \"0.6068238\",\n \"text\": \"public abstract void runBaseAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630e87ad28b206d44df89fd22509c8ca\",\n \"score\": \"0.60603994\",\n \"text\": \"@Override\\n\\tpublic java_cup.runtime.Symbol do_action(int act_num, java_cup.runtime.lr_parser parser, java.util.Stack stack,\\n\\t\\t\\tint top) throws java.lang.Exception {\\n\\t\\t/* call code in generated class */\\n\\t\\treturn action_obj.CUP$parser$do_action(act_num, parser, stack, top);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c910f0b6519a12bbc725479a121b51f0\",\n \"score\": \"0.60599846\",\n \"text\": \"public final void execute() {\\r\\n executeAction();\\r\\n _isUndo = false;\\r\\n setChanged();\\r\\n notifyObservers();\\r\\n _isRedo = false;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48f55ad2f9fc5b03e65271767cc5e2ab\",\n \"score\": \"0.60575116\",\n \"text\": \"@Override public void doAction(int option)\\n {\\n switch (option)\\n {\\n // if the option is 1, call startNewGame( )\\n case 1:\\n startNewGame();\\n break;\\n // if the option is 2, call startExistingGame( )\\n case 2:\\n startSavedGame();\\n break;\\n // if the option is 3, call displayHelpMenu( )\\n case 3:\\n displayHelpMenuView();\\n break;\\n // if the option is 4, call displaySaveGame( )\\n case 4:\\n displaySaveGameView();\\n break;\\n // if the option is 5, display a goodbye message\\n case 5:\\n System.out.println(\\\"Thanks for playing... goodbye.\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"434d600ca23e527c99bfd0902731f0b7\",\n \"score\": \"0.6050774\",\n \"text\": \"public int getAction() {\\n return action;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b27108768a1246664d04a821f911aef3\",\n \"score\": \"0.6048662\",\n \"text\": \"String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b27108768a1246664d04a821f911aef3\",\n \"score\": \"0.6048662\",\n \"text\": \"String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b27108768a1246664d04a821f911aef3\",\n \"score\": \"0.6048662\",\n \"text\": \"String getAction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b686177411465a15d3e5db79fe3ec3c1\",\n \"score\": \"0.6038323\",\n \"text\": \"public abstract void sendAction(String actionCommand);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7800c455df56a32fb9d4e76ca643c242\",\n \"score\": \"0.6032515\",\n \"text\": \"public Object execute(ExecutionEvent event) throws ExecutionException {\\n\\t\\tString action = null;\\n\\t\\tEditorHelper editor = EditorHelper.getCurrent(event);\\n\\t\\tif (editor.textEditor instanceof HTMLEditor) {\\n\\t\\t\\taction = fromView(editor);\\n\\t\\t\\tSystem.out.println(\\\"View!!\\\");\\n\\t\\t} else if (editor.textEditor instanceof RouteEditor) {\\n\\t\\t\\taction = fromRoutes(editor);\\n\\t\\t\\tSystem.out.println(\\\"Routes!!\\\");\\n\\t\\t}\\n\\t\\tSystem.out.println(\\\"action = \\\" + action);\\n\\t\\t\\n\\t\\t(new Navigation(editor)).goToAction(action);\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7944e72c9c74b5a8e46afeea7b661729\",\n \"score\": \"0.6029276\",\n \"text\": \"public int getAction() {\\n return instance.getAction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7944e72c9c74b5a8e46afeea7b661729\",\n \"score\": \"0.6029276\",\n \"text\": \"public int getAction() {\\n return instance.getAction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ff7549093dfc8141b01669ce084c0ac\",\n \"score\": \"0.602923\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void handle(ActionEvent arg0) {\\n\\t\\t\\t\\tclickSound.play();\\n\\t\\t\\t\\tinstruction2();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4019520cf4af2f60490471576d8d42f1\",\n \"score\": \"0.6020533\",\n \"text\": \"@Override\\r\\n public boolean doAction(String[] inputs) {\\r\\n // Act on the user's input.\\r\\n // This is a \\\"dispatch\\\" function that decides what\\r\\n // other functions to call. You can use an if-, if-else,\\r\\n // or switch statement.\\r\\n\\r\\n // return false if you want this view to exit and return\\r\\n // to the view that called it.\\r\\n someActionHandler();\\r\\n\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15034bb5a6dfda213b77a673838022d8\",\n \"score\": \"0.60188407\",\n \"text\": \"public Result executeAction(HttpServletRequest request, HttpServletResponse response, Method runBeforeAction, Method action) throws Exception {\\n Object[] args = new Object[2];\\n args[0] = request;\\n args[1] = response;\\n\\n Result result = ViewHelper.processAction();\\n\\n if (runBeforeAction != null) {\\n result = (Result) runBeforeAction.invoke(controller, args);\\n }\\n\\n if (result.isProcessAction()) {\\n result = (Result) action.invoke(controller, args);\\n }\\n\\n if (result.isDefaultView()) {\\n Controller annotation = controller.getClass().getAnnotation(Controller.class);\\n result = ViewHelper.forwardToView(annotation.mappedBy(), action.getName());\\n }\\n\\n args = null;\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"575491bef5c6647e45592845302ef858\",\n \"score\": \"0.60178584\",\n \"text\": \"public abstract void perform(Player player, Action action);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e200326022df158576ee90c7e265e013\",\n \"score\": \"0.6016685\",\n \"text\": \"public void execute() {\\n\\t\\tm.displayMenu(true,false);\\n\\t\\tint i = InputController.promptInteger(\\\"Please enter the index of the item you want to move\\\",1,m.size());\\n\\t\\tiMenuItem k = m.getItem(i-1);\\n\\t\\tm.deleteItem(k);\\n\\t\\tm.displayMenu(true);\\n\\t\\ti = InputController.promptInteger(\\\"Please enter the new index of this item\\\",1,m.size()+1);\\n\\t\\tif(i>m.size()) {\\n\\t\\t\\tm.addItem(k);\\n\\t\\t} else {\\n\\t\\t\\tm.addItem(i-1,k);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4a439a9a84ad96bd819a60c0bff1dab\",\n \"score\": \"0.59880877\",\n \"text\": \"@Override\\n public void action() {\\n System.out.printf(\\\"%s - %s\\\", name, \\\"Do some action\\\");\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":851,"cells":{"query_id":{"kind":"string","value":"09fc15cc497c58e52767da4934b04b80"},"query":{"kind":"string","value":"Get the current attendee count in the Event and add 1"},"positive_passages":{"kind":"list like","value":[{"docid":"b2ea81967f0b6f1da739d835acff82da","score":"0.5998831","text":"private int newAttendCount(String postid){\n final String DB_NAME = \"testDB\";\n final String EVENT_TABLE = \"EVENT\";\n int oldcount;\n int newCount = 0;\n try (Connection con = ConnectionTest.getConnection(DB_NAME);\n Statement stmt = con.createStatement();){\n System.out.println(postid);\n String query = \"SELECT * FROM \" + EVENT_TABLE+\" WHERE postID ='\"+postid+\"'\";\n try (ResultSet resultSet = stmt.executeQuery(query)) {\n while(resultSet.next()) {\n oldcount = resultSet.getInt(\"eventAttendCount\");\n newCount = oldcount+1;\n }\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n\n return newCount;\n }","title":""}],"string":"[\n {\n \"docid\": \"b2ea81967f0b6f1da739d835acff82da\",\n \"score\": \"0.5998831\",\n \"text\": \"private int newAttendCount(String postid){\\n final String DB_NAME = \\\"testDB\\\";\\n final String EVENT_TABLE = \\\"EVENT\\\";\\n int oldcount;\\n int newCount = 0;\\n try (Connection con = ConnectionTest.getConnection(DB_NAME);\\n Statement stmt = con.createStatement();){\\n System.out.println(postid);\\n String query = \\\"SELECT * FROM \\\" + EVENT_TABLE+\\\" WHERE postID ='\\\"+postid+\\\"'\\\";\\n try (ResultSet resultSet = stmt.executeQuery(query)) {\\n while(resultSet.next()) {\\n oldcount = resultSet.getInt(\\\"eventAttendCount\\\");\\n newCount = oldcount+1;\\n }\\n } catch (SQLException e) {\\n System.out.println(e.getMessage());\\n }\\n } catch (Exception e) {\\n System.out.println(e.getMessage());\\n }\\n\\n return newCount;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"e76189aa145b311c0761a51b08ef446c","score":"0.6370112","text":"public Integer getAttendCount() {\n return attendCount;\n }","title":""},{"docid":"00711b30c08ab37408c9862b6316b95c","score":"0.6308361","text":"long getJoinedEventsCount();","title":""},{"docid":"7c436e8e974fa09a7a377c97620fd4f8","score":"0.6306165","text":"long getUnjoinedEventsCount();","title":""},{"docid":"68f31809ec0dd312a7c109fd5fda21fe","score":"0.62258923","text":"public int getParticipantAmountToday() {\n\t\treturn ParticipantsToday;\n\t}","title":""},{"docid":"6eb5de9ebd8e5b900f8b4c7ac3e00276","score":"0.6020926","text":"public int getAttendanceCount() {\n return attendanceCount;\n }","title":""},{"docid":"5ff7a6489b9291094527013913494c65","score":"0.59210974","text":"public void addCount()\n {\n \tcount++;\n }","title":""},{"docid":"84aa68e1fceb0c62021ab9d0d8b2ba7e","score":"0.58293533","text":"public void setAttendCount(Integer attendCount) {\n this.attendCount = attendCount;\n }","title":""},{"docid":"c070e230d224f59c43508d63d3c678cf","score":"0.5822609","text":"int getDeliveredCount();","title":""},{"docid":"a9accea45c7421b57b27928ecd581af9","score":"0.57942176","text":"private static void incrementFlightTakeOffCounter()\r\n\t{\r\n\t\tflightTakeOffCounter++;\r\n\t}","title":""},{"docid":"65f6034ba2fd15f43cd4a2cbcfeae903","score":"0.57813835","text":"public int getNumberOfActivitesOnActivityFeed(Identity ownerIdentity);","title":""},{"docid":"9b669e4fbdd3d0804d0aef215804bb87","score":"0.5760746","text":"public void incrementCount() {\n count++;\n }","title":""},{"docid":"b364b4a2f81e0c587884efc8d4aa0dbf","score":"0.5755444","text":"@Test\n public void testAddAttendee() throws Exception {\n EventData deltaEvent = prepareDeltaEvent(createdEvent);\n TestUser testUser3 = context2.acquireUser();\n addTearDownOperation(() -> context2.backUser(testUser3));\n\n Attendee addedAttendee = ITipUtil.convertToAttendee(testUser3, Integer.valueOf(0));\n addedAttendee.setPartStat(PartStat.NEEDS_ACTION.getStatus());\n deltaEvent.getAttendees().add(addedAttendee);\n updateEventAsOrganizer(deltaEvent);\n\n /*\n * Check that the event has a new attendee\n */\n AnalyzeResponse analyzeResponse = receiveUpdateAsAttendee(PartStat.ACCEPTED, CustomConsumers.ALL);\n AnalysisChange change = assertSingleChange(analyzeResponse);\n assertSingleDescription(change, \"has been invited to the appointment\");\n\n /*\n * Check invite mail for new attendee\n */\n ApiClient apiClient3 = generateApiClient(testUser3);\n rememberClient(apiClient3);\n MailData iMip = receiveIMip(apiClient3, userResponseC1.getData().getEmail1(), summary, 1, SchedulingMethod.REQUEST);\n rememberMail(apiClient3, iMip);\n analyzeResponse = analyze(apiClient3, iMip);\n AnalysisChangeNewEvent newEvent = assertSingleChange(analyzeResponse).getNewEvent();\n assertNotNull(newEvent);\n assertEquals(attendeeEvent.getUid(), newEvent.getUid());\n assertAttendeePartStat(newEvent.getAttendees(), addedAttendee.getEmail(), PartStat.NEEDS_ACTION.getStatus());\n analyze(analyzeResponse, CustomConsumers.ACTIONS);\n }","title":""},{"docid":"c0a32e55ee19ee4b0acc6e0548585c33","score":"0.5752353","text":"public int getAutoEventCount()\n {\n return _autoEventList.size();\n }","title":""},{"docid":"9217471e3bd11ba948d57648cec07da0","score":"0.5714114","text":"public int getNumberOfNewerOnActivityFeed(Identity ownerIdentity, Long sinceTime);","title":""},{"docid":"a7339fc2ff3d7e170e8f3e30bd1c6bd8","score":"0.5700709","text":"public void increment() {\n mNewNotificationCount.setValue(mNewNotificationCount.getValue() + 1);\n }","title":""},{"docid":"73363998427d49302c8848830bfad8af","score":"0.56693685","text":"public int getIncidentsCreatedCount() {\r\n\t\treturn incidentsCreated.size();\r\n\t}","title":""},{"docid":"017461a9cbef6ee4c1924da0419bf244","score":"0.56483203","text":"public int getAdjacentMeetingCount() throws NumberFormatException,\n\t\t\tServiceLocalException {\n\t\treturn (Integer.parseInt(this.getPropertyBag()\n\t\t\t\t.getObjectFromPropertyDefinition(\n\t\t\t\t\t\tAppointmentSchema.AdjacentMeetingCount).toString()));\n\t}","title":""},{"docid":"5dfe5d0aec411e1cc180c805d036afc0","score":"0.5648227","text":"int getParticipantsCount();","title":""},{"docid":"5dfe5d0aec411e1cc180c805d036afc0","score":"0.5648227","text":"int getParticipantsCount();","title":""},{"docid":"367d8337535fad487f61b6d1eefa3210","score":"0.5634678","text":"public int getNumberOfNewerOnUserActivities(Identity ownerIdentity, Long sinceTime);","title":""},{"docid":"3fc7d61b46fb0036544986372929c75f","score":"0.5611034","text":"public void increase() {\r\n\t\t\tsynchronized (activity.getTaskTracker()) {\r\n\t\t\t\tactivity.getTaskTracker().count++;\r\n\t\t\t\tLog.d(LOGTAG, \"Incremented task count to \" + count);\r\n\t\t\t}\r\n\t\t}","title":""},{"docid":"c51862f990c21e75ca78c58cd38c4323","score":"0.56105983","text":"public int getInviteeIdsCount() {\n return inviteeIds_.size();\n }","title":""},{"docid":"42b025cf6d6661bb845fefcf28f081d4","score":"0.5594268","text":"public int getInviteeIdsCount() {\n return inviteeIds_.size();\n }","title":""},{"docid":"0d4ca87690d6fb993b8b827893df1c7f","score":"0.5591914","text":"public void incrementCount() {\n\t\tcount++;\n\t}","title":""},{"docid":"c2c1dee87d1230c43fe41c2441a8777d","score":"0.55670905","text":"long getOwnedEntryCount();","title":""},{"docid":"6c2d712e13befef8e775f30d192bb566","score":"0.554583","text":"public int getSignupByDayCount(int day) {\r\n\t\treturn signupByDayCountList.get(day);\r\n\r\n\t}","title":""},{"docid":"199db5b3c55435a440d05db6b0fc6a31","score":"0.55454737","text":"int getAoisCount();","title":""},{"docid":"9328523a44e56947409543760f476a83","score":"0.5542027","text":"private static int getFlightTakeOffCount()\r\n\t{\r\n\t\treturn flightTakeOffCounter;\r\n\t}","title":""},{"docid":"a4a29708dab1044e4e889453f3e7a8ef","score":"0.5535954","text":"public void incrementCount(){\n count+=1;\n }","title":""},{"docid":"810cf29486c35ceadbbda160b843b325","score":"0.55125076","text":"public void incEts() {\n ets++;\n }","title":""},{"docid":"3d10490ca4f2d4deed01735325c18423","score":"0.5511738","text":"public void addCount()\r\n {\r\n bookCount++;\r\n }","title":""},{"docid":"4df74656482bcdec73eaf925db328120","score":"0.54990417","text":"public int getNumberOfNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity);","title":""},{"docid":"f43d35ec2690acb2e941a777e1464cf1","score":"0.5492321","text":"long getReceivedEventsCount();","title":""},{"docid":"041340de3418b5734b18f205389fe7cb","score":"0.54684055","text":"public void increaseCount(){\n myCount++;\n }","title":""},{"docid":"16fd29f857491b7d7cd07a2a96fc0bd6","score":"0.54571193","text":"public String getCurrentConfirmedCount() {\n return currentConfirmedCount;\n }","title":""},{"docid":"d7c9dcd0c32984e8b214861a9a19cc12","score":"0.5449671","text":"public void incA() {\n this.countA++;\n }","title":""},{"docid":"344044455e5bb388abde3e5870fb7031","score":"0.5441987","text":"public static int numberOfEvents() {\n List listOfEvents = retrieveEvents();\n if (listOfEvents != null) {\n return listOfEvents.size();\n } else {\n return 0;\n }\n }","title":""},{"docid":"a0d70b40686742c6d354fae163372ab3","score":"0.5432193","text":"public int getNumberOfNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity);","title":""},{"docid":"0d29ec288d0f0b17bcf86d51842b963a","score":"0.5419319","text":"public int getAnnounceCount() {\n\t\tCursor c = db.query(TABLE_TEACHER_ANNOUNCEMENT,\n\t\t\t\tnew String[] { KEY_ROW_ID }, null, null, null, null, null);\n\t\treturn c == null ? 0 : c.getCount();\n\t}","title":""},{"docid":"867b4410e2d0659ba3032a16cf974f38","score":"0.53953296","text":"int getInCount();","title":""},{"docid":"42ee3556c70da4d1f5bc77fcb2ef1add","score":"0.539177","text":"void incrementAddedCount() {\n addedCount.incrementAndGet();\n }","title":""},{"docid":"4529e453ff53225297e51a28f6d8cd3c","score":"0.53894544","text":"public int getNumberOfActivitesOnActivityFeedForUpgrade(Identity ownerIdentity);","title":""},{"docid":"288a1ba1d3da074e1407dc6e8cc82bb6","score":"0.53826505","text":"void incrementCount();","title":""},{"docid":"1b5a7b18332774d234c79bad04b8b89a","score":"0.53767616","text":"public void setAttendanceCount(int attendanceCount) {\n this.attendanceCount = attendanceCount;\n }","title":""},{"docid":"5f7c4b19119a5b85af7232b7127878bc","score":"0.53761303","text":"public static void incrementGuestRoomCount() {numGuestRooms++;}","title":""},{"docid":"e1ea5bfc67796723fe4efc4ce8001239","score":"0.5351528","text":"int getUncommittedEventCount();","title":""},{"docid":"ea9cadabd203ade25d248c78fd5440b2","score":"0.5347711","text":"int getActAmountCount();","title":""},{"docid":"8f2a02631029506fc071f7764af1e979","score":"0.5342197","text":"public int counter (){\n return currentID;\n }","title":""},{"docid":"8a7691d46d75fea085752b6680e2960f","score":"0.53321224","text":"public void incCount() { }","title":""},{"docid":"c4adf0cb3351971dd6e692cdb9f7517e","score":"0.532551","text":"public void incrementNumAttacked( ){\n this.numAttacked++;\n }","title":""},{"docid":"c63b4ecd6af3b877a185b8a8da7c2319","score":"0.5319422","text":"public synchronized void incrementCount() {\r\n\t\tcount++;\r\n\t\tnotifyAll();\r\n\t}","title":""},{"docid":"dfed60cc42536069eb062a3cd8ff6649","score":"0.5312679","text":"public int getNumberOfOlderOnActivityFeed(Identity ownerIdentity, Long sinceTime);","title":""},{"docid":"1c09ad4c755733e69fc6eb3151e7418f","score":"0.53005934","text":"int getAchieveInfoCount();","title":""},{"docid":"369ae8af9378408589be59ea767101f1","score":"0.5288882","text":"public int getNumberOfUserActivities(Identity owner) throws ActivityStorageException;","title":""},{"docid":"e631fd1d251745a770228401583e364e","score":"0.52851284","text":"@Override\n\tpublic int numberOfAccounts() {\n\t\treturn counter;\n\t}","title":""},{"docid":"8a1973853deff81306456712fc5dfd92","score":"0.5275476","text":"public int getNumberOfOlderOnUserActivities(Identity ownerIdentity, Long sinceTime);","title":""},{"docid":"691c6a27b9d99ebed370f580b8252070","score":"0.52670944","text":"private void appStartCountIncrease(int currentAppStartCount) {\n\t\tPrefs p = new Prefs(c);\n\t\tp.save(\"app_start_count\", currentAppStartCount + 1);\n\t}","title":""},{"docid":"96f7481f0eb80aebb54a8bd083058417","score":"0.52564627","text":"int getDeliveriesCount();","title":""},{"docid":"6ce6eb54f3dbee0d91a59399fe12cc3d","score":"0.5247389","text":"int getFriendCount();","title":""},{"docid":"6ce6eb54f3dbee0d91a59399fe12cc3d","score":"0.5247389","text":"int getFriendCount();","title":""},{"docid":"b4799a3f6867ac437d1a7b8564e7ac19","score":"0.52448183","text":"@Override\n\tpublic List getNumberOfPatientPerDay() {\n\t\treturn ar.findAppointmentCount();\n\t}","title":""},{"docid":"58c03ad138d2231d3ef2cb7f3317b52d","score":"0.5244305","text":"public int getTotalEvents() {\n\t\treturn totalEvents;\n\t}","title":""},{"docid":"777dbcc8103bb9a05c2f8ded0e7eecef","score":"0.5243557","text":"public static void enemyWonInc(){\r\n\t\t_enemyWon++;\r\n\t}","title":""},{"docid":"61ff1355af93912dc1836b977e24d4b0","score":"0.52334464","text":"public void incrMine() {\r\n\t\tthis.mineCount++;\r\n\t}","title":""},{"docid":"7a5e9489f24848b28f1c2cae893a1dba","score":"0.52230674","text":"BigInteger getAddedEP();","title":""},{"docid":"5a3e293485a329f5c2543d5f2262215a","score":"0.5222502","text":"public int getParticipantAmount() {\n\t\treturn Participants;\n\t}","title":""},{"docid":"9f942e525c2f6e1b0cf34cd504c318f8","score":"0.5220287","text":"public void addToGroup(ParseUser invitee) {\n ParseRelation relation = group.getRelation(\"users\");\n relation.add(invitee);\n Integer num = group.getInt(\"userCount\");\n int addNum = num.intValue();\n addNum++;\n num = Integer.valueOf(addNum);\n group.put(\"userCount\", num);\n group.saveInBackground();\n\n }","title":""},{"docid":"b536bf4e588a6e1fe253d3cead58c310","score":"0.5215812","text":"int getSeenInfoCount();","title":""},{"docid":"d4d48abf0e0116fb6133b3efcef8164e","score":"0.5215253","text":"public void incrementNumExtendedRequests() {\n this.numExtendedRequests.incrementAndGet();\n }","title":""},{"docid":"319ae953cc43711391efe8172b52ba97","score":"0.5209995","text":"public void zugInWerkstatt() {\n werkstatt++;\n }","title":""},{"docid":"e55a837521872352579e4828f6fc226e","score":"0.5204376","text":"long getTotalAcceptCount();","title":""},{"docid":"9754e5778bb8f85ea812c1ff2489a050","score":"0.5204246","text":"public void addPassenger() {\n\t\t\n\t\tsynchronized(this) {\n\t\t\tcurrentOccup++;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"Elevator \" + elevatorNum + \" total passenger count: \" + currentOccup);\n\t}","title":""},{"docid":"69b1aa850f4077d1c34d907567f6fa81","score":"0.52010995","text":"private void updateEventAtCount(String postid,int newAttend){\n final String DB_NAME = \"testDB\";\n final String TABLE_NAME = \"EVENT\";\n try (Connection con = ConnectionTest.getConnection(DB_NAME);\n Statement stmt = con.createStatement();\n ) {\n String query = \"UPDATE \" + TABLE_NAME + \" SET eventAttendCount = \" +newAttend+ \" WHERE postID LIKE '\"+postid+\"'\";\n int r = stmt.executeUpdate(query);\n System.out.println(\"Update table \" + TABLE_NAME + \" executed successfully\");\n System.out.println(r + \" row(s) affected\");\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n }","title":""},{"docid":"3cdc56777c04d64e4b331fc1c78d0e44","score":"0.51946443","text":"public void incrementa(View view) {\n TextView mensagem = findViewById(R.id.Mensagem);\n count++;\n\n Integer i = new Integer(count);\n mensagem.setText(i.toString());\n\n }","title":""},{"docid":"c2f807fc9c23996e3f9378a2467c5f7a","score":"0.5187566","text":"@Override\r\n\tpublic int fetchEmployeCount() {\n\t\treturn edao.getEmployeCount();\r\n\t}","title":""},{"docid":"62595d20556a433ebefe7fbd19931210","score":"0.5184339","text":"@Override\n public void setCounterToInitialAmount() {\n UserPreferences.sharedInstance().setEventId(null);\n //reset timer to normal recording time\n timeCounter = UserPreferences.sharedInstance().recordTime() * 1000;\n }","title":""},{"docid":"d1799147f53668fee3aff538eeeb3ae8","score":"0.5177076","text":"public int getNumberOfOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity);","title":""},{"docid":"f0e24bb5bc5a9724c08f3b33a7d4faeb","score":"0.51735455","text":"public void incrementDepartures() {\n numDepartures++; \n }","title":""},{"docid":"c74afaa875b0bc475cc952d5129c8bc2","score":"0.5173317","text":"public int createAppointment(Appointment appointment) {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"27d5a1e34a3e48c19ec8ec07276a19b9","score":"0.51701075","text":"public int getConflictingMeetingCount() throws NumberFormatException,\n\t\t\tServiceLocalException {\n\t\treturn (Integer.parseInt(this.getPropertyBag()\n\t\t\t\t.getObjectFromPropertyDefinition(\n\t\t\t\t\t\tAppointmentSchema.ConflictingMeetingCount).toString()));\n\t}","title":""},{"docid":"2ee2fc2a68375da3d6beae432597a153","score":"0.5169979","text":"public Integer getFollowerCount() {\n return followerCount;\n }","title":""},{"docid":"021159b0fe517dd843bf5c98abf528e6","score":"0.5155503","text":"int getDonatoriCount();","title":""},{"docid":"d294693a7d3828704a28ebed645b9208","score":"0.5152926","text":"public void increase()\n {\n setCount(getCount() + 1);\n }","title":""},{"docid":"dc3c2c29a0dc49e3ef2575a3d44349cc","score":"0.5130835","text":"void updateFrequencyCount() {\n //Always increments by 1 so there is no need for a parameter to specify a number\n this.count++;\n }","title":""},{"docid":"0c49dd914d81421623d2504dd060619d","score":"0.5125924","text":"public int getPhoneNuber() {\r\n return phoneNuber;\r\n }","title":""},{"docid":"1d8aceafa6f5dd6ec74da18f98855807","score":"0.5125492","text":"public String getAttendeeUserId() {\n\t\treturn attendeeUserId;\n\t}","title":""},{"docid":"d11de89bdc7f4cc031b81d463a29e37d","score":"0.5125006","text":"public void addVote() {\n this.votes++;\n }","title":""},{"docid":"ce70114a115495d9b0a6fbe0b585a5f1","score":"0.5115577","text":"public final void addToPendingCount(int paramInt)\n/* */ {\n/* 526 */ U.getAndAddInt(this, PENDING, paramInt);\n/* */ }","title":""},{"docid":"3aacb1f2f615b81aa428e7af83fd429d","score":"0.5114316","text":"int getBadgeNumber();","title":""},{"docid":"3aacb1f2f615b81aa428e7af83fd429d","score":"0.5114316","text":"int getBadgeNumber();","title":""},{"docid":"6ffd5097a534d025d54fd0ebdfc8f3c6","score":"0.51129186","text":"private int getNumberOfCoffees() {\n return Integer.parseInt(((TextView)findViewById(R.id.quantity_text_view)).getText().toString());\n }","title":""},{"docid":"7720a7b2b41e8e34e7b244ed70d7b0a3","score":"0.5107954","text":"public int getActiveUserCount() {\n return activeUserCount;\n }","title":""},{"docid":"ea8be44b732f11eba569f431726104ca","score":"0.51056474","text":"public int getAmendmentCount(int paraId);","title":""},{"docid":"c7002dcd546961718735c2d016cd1edb","score":"0.5102602","text":"public int getMemberId() {\n\t\treturn memberIDCounter++;\n\t}","title":""},{"docid":"f2894989c97b37c14fd93b1fa9a0c123","score":"0.5102121","text":"public void setCurrentConfirmedCount(String currentConfirmedCount) {\n this.currentConfirmedCount = currentConfirmedCount;\n }","title":""},{"docid":"201ffce61e1ebf96876a53b374306c1e","score":"0.51010376","text":"public int getNumberOfUpdatedOnActivityFeed(Identity owner, ActivityUpdateFilter filter);","title":""},{"docid":"48d7b0497487710beb97f74d6a4c1ebf","score":"0.51004267","text":"public void defaultUpdateCount(AcProperty e)\n {\n }","title":""},{"docid":"345dcffb958d2ae368825000f31d63ba","score":"0.5095086","text":"@Override\n\tpublic int getEnemyCount() {\n\t\treturn 0;//enNum;\n\t}","title":""},{"docid":"6fe4bb08c5af7249ff128d96befdc560","score":"0.5094714","text":"public void addOccurence() {\n\t\tcount = count + 1;\n\t}","title":""},{"docid":"22f8143249629808c63833fb473ff53b","score":"0.50903815","text":"public int getNumberOfOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity);","title":""}],"string":"[\n {\n \"docid\": \"e76189aa145b311c0761a51b08ef446c\",\n \"score\": \"0.6370112\",\n \"text\": \"public Integer getAttendCount() {\\n return attendCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00711b30c08ab37408c9862b6316b95c\",\n \"score\": \"0.6308361\",\n \"text\": \"long getJoinedEventsCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c436e8e974fa09a7a377c97620fd4f8\",\n \"score\": \"0.6306165\",\n \"text\": \"long getUnjoinedEventsCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68f31809ec0dd312a7c109fd5fda21fe\",\n \"score\": \"0.62258923\",\n \"text\": \"public int getParticipantAmountToday() {\\n\\t\\treturn ParticipantsToday;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6eb5de9ebd8e5b900f8b4c7ac3e00276\",\n \"score\": \"0.6020926\",\n \"text\": \"public int getAttendanceCount() {\\n return attendanceCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ff7a6489b9291094527013913494c65\",\n \"score\": \"0.59210974\",\n \"text\": \"public void addCount()\\n {\\n \\tcount++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84aa68e1fceb0c62021ab9d0d8b2ba7e\",\n \"score\": \"0.58293533\",\n \"text\": \"public void setAttendCount(Integer attendCount) {\\n this.attendCount = attendCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c070e230d224f59c43508d63d3c678cf\",\n \"score\": \"0.5822609\",\n \"text\": \"int getDeliveredCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9accea45c7421b57b27928ecd581af9\",\n \"score\": \"0.57942176\",\n \"text\": \"private static void incrementFlightTakeOffCounter()\\r\\n\\t{\\r\\n\\t\\tflightTakeOffCounter++;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65f6034ba2fd15f43cd4a2cbcfeae903\",\n \"score\": \"0.57813835\",\n \"text\": \"public int getNumberOfActivitesOnActivityFeed(Identity ownerIdentity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b669e4fbdd3d0804d0aef215804bb87\",\n \"score\": \"0.5760746\",\n \"text\": \"public void incrementCount() {\\n count++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b364b4a2f81e0c587884efc8d4aa0dbf\",\n \"score\": \"0.5755444\",\n \"text\": \"@Test\\n public void testAddAttendee() throws Exception {\\n EventData deltaEvent = prepareDeltaEvent(createdEvent);\\n TestUser testUser3 = context2.acquireUser();\\n addTearDownOperation(() -> context2.backUser(testUser3));\\n\\n Attendee addedAttendee = ITipUtil.convertToAttendee(testUser3, Integer.valueOf(0));\\n addedAttendee.setPartStat(PartStat.NEEDS_ACTION.getStatus());\\n deltaEvent.getAttendees().add(addedAttendee);\\n updateEventAsOrganizer(deltaEvent);\\n\\n /*\\n * Check that the event has a new attendee\\n */\\n AnalyzeResponse analyzeResponse = receiveUpdateAsAttendee(PartStat.ACCEPTED, CustomConsumers.ALL);\\n AnalysisChange change = assertSingleChange(analyzeResponse);\\n assertSingleDescription(change, \\\"has been invited to the appointment\\\");\\n\\n /*\\n * Check invite mail for new attendee\\n */\\n ApiClient apiClient3 = generateApiClient(testUser3);\\n rememberClient(apiClient3);\\n MailData iMip = receiveIMip(apiClient3, userResponseC1.getData().getEmail1(), summary, 1, SchedulingMethod.REQUEST);\\n rememberMail(apiClient3, iMip);\\n analyzeResponse = analyze(apiClient3, iMip);\\n AnalysisChangeNewEvent newEvent = assertSingleChange(analyzeResponse).getNewEvent();\\n assertNotNull(newEvent);\\n assertEquals(attendeeEvent.getUid(), newEvent.getUid());\\n assertAttendeePartStat(newEvent.getAttendees(), addedAttendee.getEmail(), PartStat.NEEDS_ACTION.getStatus());\\n analyze(analyzeResponse, CustomConsumers.ACTIONS);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0a32e55ee19ee4b0acc6e0548585c33\",\n \"score\": \"0.5752353\",\n \"text\": \"public int getAutoEventCount()\\n {\\n return _autoEventList.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9217471e3bd11ba948d57648cec07da0\",\n \"score\": \"0.5714114\",\n \"text\": \"public int getNumberOfNewerOnActivityFeed(Identity ownerIdentity, Long sinceTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7339fc2ff3d7e170e8f3e30bd1c6bd8\",\n \"score\": \"0.5700709\",\n \"text\": \"public void increment() {\\n mNewNotificationCount.setValue(mNewNotificationCount.getValue() + 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73363998427d49302c8848830bfad8af\",\n \"score\": \"0.56693685\",\n \"text\": \"public int getIncidentsCreatedCount() {\\r\\n\\t\\treturn incidentsCreated.size();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"017461a9cbef6ee4c1924da0419bf244\",\n \"score\": \"0.56483203\",\n \"text\": \"public int getAdjacentMeetingCount() throws NumberFormatException,\\n\\t\\t\\tServiceLocalException {\\n\\t\\treturn (Integer.parseInt(this.getPropertyBag()\\n\\t\\t\\t\\t.getObjectFromPropertyDefinition(\\n\\t\\t\\t\\t\\t\\tAppointmentSchema.AdjacentMeetingCount).toString()));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dfe5d0aec411e1cc180c805d036afc0\",\n \"score\": \"0.5648227\",\n \"text\": \"int getParticipantsCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dfe5d0aec411e1cc180c805d036afc0\",\n \"score\": \"0.5648227\",\n \"text\": \"int getParticipantsCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"367d8337535fad487f61b6d1eefa3210\",\n \"score\": \"0.5634678\",\n \"text\": \"public int getNumberOfNewerOnUserActivities(Identity ownerIdentity, Long sinceTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fc7d61b46fb0036544986372929c75f\",\n \"score\": \"0.5611034\",\n \"text\": \"public void increase() {\\r\\n\\t\\t\\tsynchronized (activity.getTaskTracker()) {\\r\\n\\t\\t\\t\\tactivity.getTaskTracker().count++;\\r\\n\\t\\t\\t\\tLog.d(LOGTAG, \\\"Incremented task count to \\\" + count);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c51862f990c21e75ca78c58cd38c4323\",\n \"score\": \"0.56105983\",\n \"text\": \"public int getInviteeIdsCount() {\\n return inviteeIds_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42b025cf6d6661bb845fefcf28f081d4\",\n \"score\": \"0.5594268\",\n \"text\": \"public int getInviteeIdsCount() {\\n return inviteeIds_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d4ca87690d6fb993b8b827893df1c7f\",\n \"score\": \"0.5591914\",\n \"text\": \"public void incrementCount() {\\n\\t\\tcount++;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2c1dee87d1230c43fe41c2441a8777d\",\n \"score\": \"0.55670905\",\n \"text\": \"long getOwnedEntryCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c2d712e13befef8e775f30d192bb566\",\n \"score\": \"0.554583\",\n \"text\": \"public int getSignupByDayCount(int day) {\\r\\n\\t\\treturn signupByDayCountList.get(day);\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"199db5b3c55435a440d05db6b0fc6a31\",\n \"score\": \"0.55454737\",\n \"text\": \"int getAoisCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9328523a44e56947409543760f476a83\",\n \"score\": \"0.5542027\",\n \"text\": \"private static int getFlightTakeOffCount()\\r\\n\\t{\\r\\n\\t\\treturn flightTakeOffCounter;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4a29708dab1044e4e889453f3e7a8ef\",\n \"score\": \"0.5535954\",\n \"text\": \"public void incrementCount(){\\n count+=1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"810cf29486c35ceadbbda160b843b325\",\n \"score\": \"0.55125076\",\n \"text\": \"public void incEts() {\\n ets++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d10490ca4f2d4deed01735325c18423\",\n \"score\": \"0.5511738\",\n \"text\": \"public void addCount()\\r\\n {\\r\\n bookCount++;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4df74656482bcdec73eaf925db328120\",\n \"score\": \"0.54990417\",\n \"text\": \"public int getNumberOfNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f43d35ec2690acb2e941a777e1464cf1\",\n \"score\": \"0.5492321\",\n \"text\": \"long getReceivedEventsCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"041340de3418b5734b18f205389fe7cb\",\n \"score\": \"0.54684055\",\n \"text\": \"public void increaseCount(){\\n myCount++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16fd29f857491b7d7cd07a2a96fc0bd6\",\n \"score\": \"0.54571193\",\n \"text\": \"public String getCurrentConfirmedCount() {\\n return currentConfirmedCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7c9dcd0c32984e8b214861a9a19cc12\",\n \"score\": \"0.5449671\",\n \"text\": \"public void incA() {\\n this.countA++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"344044455e5bb388abde3e5870fb7031\",\n \"score\": \"0.5441987\",\n \"text\": \"public static int numberOfEvents() {\\n List listOfEvents = retrieveEvents();\\n if (listOfEvents != null) {\\n return listOfEvents.size();\\n } else {\\n return 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0d70b40686742c6d354fae163372ab3\",\n \"score\": \"0.5432193\",\n \"text\": \"public int getNumberOfNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d29ec288d0f0b17bcf86d51842b963a\",\n \"score\": \"0.5419319\",\n \"text\": \"public int getAnnounceCount() {\\n\\t\\tCursor c = db.query(TABLE_TEACHER_ANNOUNCEMENT,\\n\\t\\t\\t\\tnew String[] { KEY_ROW_ID }, null, null, null, null, null);\\n\\t\\treturn c == null ? 0 : c.getCount();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"867b4410e2d0659ba3032a16cf974f38\",\n \"score\": \"0.53953296\",\n \"text\": \"int getInCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42ee3556c70da4d1f5bc77fcb2ef1add\",\n \"score\": \"0.539177\",\n \"text\": \"void incrementAddedCount() {\\n addedCount.incrementAndGet();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4529e453ff53225297e51a28f6d8cd3c\",\n \"score\": \"0.53894544\",\n \"text\": \"public int getNumberOfActivitesOnActivityFeedForUpgrade(Identity ownerIdentity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"288a1ba1d3da074e1407dc6e8cc82bb6\",\n \"score\": \"0.53826505\",\n \"text\": \"void incrementCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b5a7b18332774d234c79bad04b8b89a\",\n \"score\": \"0.53767616\",\n \"text\": \"public void setAttendanceCount(int attendanceCount) {\\n this.attendanceCount = attendanceCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f7c4b19119a5b85af7232b7127878bc\",\n \"score\": \"0.53761303\",\n \"text\": \"public static void incrementGuestRoomCount() {numGuestRooms++;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1ea5bfc67796723fe4efc4ce8001239\",\n \"score\": \"0.5351528\",\n \"text\": \"int getUncommittedEventCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea9cadabd203ade25d248c78fd5440b2\",\n \"score\": \"0.5347711\",\n \"text\": \"int getActAmountCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f2a02631029506fc071f7764af1e979\",\n \"score\": \"0.5342197\",\n \"text\": \"public int counter (){\\n return currentID;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a7691d46d75fea085752b6680e2960f\",\n \"score\": \"0.53321224\",\n \"text\": \"public void incCount() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4adf0cb3351971dd6e692cdb9f7517e\",\n \"score\": \"0.532551\",\n \"text\": \"public void incrementNumAttacked( ){\\n this.numAttacked++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c63b4ecd6af3b877a185b8a8da7c2319\",\n \"score\": \"0.5319422\",\n \"text\": \"public synchronized void incrementCount() {\\r\\n\\t\\tcount++;\\r\\n\\t\\tnotifyAll();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfed60cc42536069eb062a3cd8ff6649\",\n \"score\": \"0.5312679\",\n \"text\": \"public int getNumberOfOlderOnActivityFeed(Identity ownerIdentity, Long sinceTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c09ad4c755733e69fc6eb3151e7418f\",\n \"score\": \"0.53005934\",\n \"text\": \"int getAchieveInfoCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"369ae8af9378408589be59ea767101f1\",\n \"score\": \"0.5288882\",\n \"text\": \"public int getNumberOfUserActivities(Identity owner) throws ActivityStorageException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e631fd1d251745a770228401583e364e\",\n \"score\": \"0.52851284\",\n \"text\": \"@Override\\n\\tpublic int numberOfAccounts() {\\n\\t\\treturn counter;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a1973853deff81306456712fc5dfd92\",\n \"score\": \"0.5275476\",\n \"text\": \"public int getNumberOfOlderOnUserActivities(Identity ownerIdentity, Long sinceTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"691c6a27b9d99ebed370f580b8252070\",\n \"score\": \"0.52670944\",\n \"text\": \"private void appStartCountIncrease(int currentAppStartCount) {\\n\\t\\tPrefs p = new Prefs(c);\\n\\t\\tp.save(\\\"app_start_count\\\", currentAppStartCount + 1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96f7481f0eb80aebb54a8bd083058417\",\n \"score\": \"0.52564627\",\n \"text\": \"int getDeliveriesCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ce6eb54f3dbee0d91a59399fe12cc3d\",\n \"score\": \"0.5247389\",\n \"text\": \"int getFriendCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ce6eb54f3dbee0d91a59399fe12cc3d\",\n \"score\": \"0.5247389\",\n \"text\": \"int getFriendCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4799a3f6867ac437d1a7b8564e7ac19\",\n \"score\": \"0.52448183\",\n \"text\": \"@Override\\n\\tpublic List getNumberOfPatientPerDay() {\\n\\t\\treturn ar.findAppointmentCount();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58c03ad138d2231d3ef2cb7f3317b52d\",\n \"score\": \"0.5244305\",\n \"text\": \"public int getTotalEvents() {\\n\\t\\treturn totalEvents;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"777dbcc8103bb9a05c2f8ded0e7eecef\",\n \"score\": \"0.5243557\",\n \"text\": \"public static void enemyWonInc(){\\r\\n\\t\\t_enemyWon++;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61ff1355af93912dc1836b977e24d4b0\",\n \"score\": \"0.52334464\",\n \"text\": \"public void incrMine() {\\r\\n\\t\\tthis.mineCount++;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a5e9489f24848b28f1c2cae893a1dba\",\n \"score\": \"0.52230674\",\n \"text\": \"BigInteger getAddedEP();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a3e293485a329f5c2543d5f2262215a\",\n \"score\": \"0.5222502\",\n \"text\": \"public int getParticipantAmount() {\\n\\t\\treturn Participants;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f942e525c2f6e1b0cf34cd504c318f8\",\n \"score\": \"0.5220287\",\n \"text\": \"public void addToGroup(ParseUser invitee) {\\n ParseRelation relation = group.getRelation(\\\"users\\\");\\n relation.add(invitee);\\n Integer num = group.getInt(\\\"userCount\\\");\\n int addNum = num.intValue();\\n addNum++;\\n num = Integer.valueOf(addNum);\\n group.put(\\\"userCount\\\", num);\\n group.saveInBackground();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b536bf4e588a6e1fe253d3cead58c310\",\n \"score\": \"0.5215812\",\n \"text\": \"int getSeenInfoCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4d48abf0e0116fb6133b3efcef8164e\",\n \"score\": \"0.5215253\",\n \"text\": \"public void incrementNumExtendedRequests() {\\n this.numExtendedRequests.incrementAndGet();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"319ae953cc43711391efe8172b52ba97\",\n \"score\": \"0.5209995\",\n \"text\": \"public void zugInWerkstatt() {\\n werkstatt++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e55a837521872352579e4828f6fc226e\",\n \"score\": \"0.5204376\",\n \"text\": \"long getTotalAcceptCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9754e5778bb8f85ea812c1ff2489a050\",\n \"score\": \"0.5204246\",\n \"text\": \"public void addPassenger() {\\n\\t\\t\\n\\t\\tsynchronized(this) {\\n\\t\\t\\tcurrentOccup++;\\n\\t\\t}\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Elevator \\\" + elevatorNum + \\\" total passenger count: \\\" + currentOccup);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69b1aa850f4077d1c34d907567f6fa81\",\n \"score\": \"0.52010995\",\n \"text\": \"private void updateEventAtCount(String postid,int newAttend){\\n final String DB_NAME = \\\"testDB\\\";\\n final String TABLE_NAME = \\\"EVENT\\\";\\n try (Connection con = ConnectionTest.getConnection(DB_NAME);\\n Statement stmt = con.createStatement();\\n ) {\\n String query = \\\"UPDATE \\\" + TABLE_NAME + \\\" SET eventAttendCount = \\\" +newAttend+ \\\" WHERE postID LIKE '\\\"+postid+\\\"'\\\";\\n int r = stmt.executeUpdate(query);\\n System.out.println(\\\"Update table \\\" + TABLE_NAME + \\\" executed successfully\\\");\\n System.out.println(r + \\\" row(s) affected\\\");\\n } catch (Exception e) {\\n System.out.println(e.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cdc56777c04d64e4b331fc1c78d0e44\",\n \"score\": \"0.51946443\",\n \"text\": \"public void incrementa(View view) {\\n TextView mensagem = findViewById(R.id.Mensagem);\\n count++;\\n\\n Integer i = new Integer(count);\\n mensagem.setText(i.toString());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f807fc9c23996e3f9378a2467c5f7a\",\n \"score\": \"0.5187566\",\n \"text\": \"@Override\\r\\n\\tpublic int fetchEmployeCount() {\\n\\t\\treturn edao.getEmployeCount();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62595d20556a433ebefe7fbd19931210\",\n \"score\": \"0.5184339\",\n \"text\": \"@Override\\n public void setCounterToInitialAmount() {\\n UserPreferences.sharedInstance().setEventId(null);\\n //reset timer to normal recording time\\n timeCounter = UserPreferences.sharedInstance().recordTime() * 1000;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1799147f53668fee3aff538eeeb3ae8\",\n \"score\": \"0.5177076\",\n \"text\": \"public int getNumberOfOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0e24bb5bc5a9724c08f3b33a7d4faeb\",\n \"score\": \"0.51735455\",\n \"text\": \"public void incrementDepartures() {\\n numDepartures++; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c74afaa875b0bc475cc952d5129c8bc2\",\n \"score\": \"0.5173317\",\n \"text\": \"public int createAppointment(Appointment appointment) {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27d5a1e34a3e48c19ec8ec07276a19b9\",\n \"score\": \"0.51701075\",\n \"text\": \"public int getConflictingMeetingCount() throws NumberFormatException,\\n\\t\\t\\tServiceLocalException {\\n\\t\\treturn (Integer.parseInt(this.getPropertyBag()\\n\\t\\t\\t\\t.getObjectFromPropertyDefinition(\\n\\t\\t\\t\\t\\t\\tAppointmentSchema.ConflictingMeetingCount).toString()));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ee2fc2a68375da3d6beae432597a153\",\n \"score\": \"0.5169979\",\n \"text\": \"public Integer getFollowerCount() {\\n return followerCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"021159b0fe517dd843bf5c98abf528e6\",\n \"score\": \"0.5155503\",\n \"text\": \"int getDonatoriCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d294693a7d3828704a28ebed645b9208\",\n \"score\": \"0.5152926\",\n \"text\": \"public void increase()\\n {\\n setCount(getCount() + 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc3c2c29a0dc49e3ef2575a3d44349cc\",\n \"score\": \"0.5130835\",\n \"text\": \"void updateFrequencyCount() {\\n //Always increments by 1 so there is no need for a parameter to specify a number\\n this.count++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c49dd914d81421623d2504dd060619d\",\n \"score\": \"0.5125924\",\n \"text\": \"public int getPhoneNuber() {\\r\\n return phoneNuber;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d8aceafa6f5dd6ec74da18f98855807\",\n \"score\": \"0.5125492\",\n \"text\": \"public String getAttendeeUserId() {\\n\\t\\treturn attendeeUserId;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d11de89bdc7f4cc031b81d463a29e37d\",\n \"score\": \"0.5125006\",\n \"text\": \"public void addVote() {\\n this.votes++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce70114a115495d9b0a6fbe0b585a5f1\",\n \"score\": \"0.5115577\",\n \"text\": \"public final void addToPendingCount(int paramInt)\\n/* */ {\\n/* 526 */ U.getAndAddInt(this, PENDING, paramInt);\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3aacb1f2f615b81aa428e7af83fd429d\",\n \"score\": \"0.5114316\",\n \"text\": \"int getBadgeNumber();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3aacb1f2f615b81aa428e7af83fd429d\",\n \"score\": \"0.5114316\",\n \"text\": \"int getBadgeNumber();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ffd5097a534d025d54fd0ebdfc8f3c6\",\n \"score\": \"0.51129186\",\n \"text\": \"private int getNumberOfCoffees() {\\n return Integer.parseInt(((TextView)findViewById(R.id.quantity_text_view)).getText().toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7720a7b2b41e8e34e7b244ed70d7b0a3\",\n \"score\": \"0.5107954\",\n \"text\": \"public int getActiveUserCount() {\\n return activeUserCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea8be44b732f11eba569f431726104ca\",\n \"score\": \"0.51056474\",\n \"text\": \"public int getAmendmentCount(int paraId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7002dcd546961718735c2d016cd1edb\",\n \"score\": \"0.5102602\",\n \"text\": \"public int getMemberId() {\\n\\t\\treturn memberIDCounter++;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2894989c97b37c14fd93b1fa9a0c123\",\n \"score\": \"0.5102121\",\n \"text\": \"public void setCurrentConfirmedCount(String currentConfirmedCount) {\\n this.currentConfirmedCount = currentConfirmedCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"201ffce61e1ebf96876a53b374306c1e\",\n \"score\": \"0.51010376\",\n \"text\": \"public int getNumberOfUpdatedOnActivityFeed(Identity owner, ActivityUpdateFilter filter);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48d7b0497487710beb97f74d6a4c1ebf\",\n \"score\": \"0.51004267\",\n \"text\": \"public void defaultUpdateCount(AcProperty e)\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"345dcffb958d2ae368825000f31d63ba\",\n \"score\": \"0.5095086\",\n \"text\": \"@Override\\n\\tpublic int getEnemyCount() {\\n\\t\\treturn 0;//enNum;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fe4bb08c5af7249ff128d96befdc560\",\n \"score\": \"0.5094714\",\n \"text\": \"public void addOccurence() {\\n\\t\\tcount = count + 1;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22f8143249629808c63833fb473ff53b\",\n \"score\": \"0.50903815\",\n \"text\": \"public int getNumberOfOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":852,"cells":{"query_id":{"kind":"string","value":"fae843c57d2f9374e03fede7307c1ebb"},"query":{"kind":"string","value":"Update list after remove"},"positive_passages":{"kind":"list like","value":[{"docid":"5891ddda20ac3b6bbd6fb56be6872e54","score":"0.0","text":"private void updateNewsBookmarkUrlList(ArrayList bookMarkList){\n tinydb.remove(NEWS_BOOKMARKED_LIST_KEY);\n tinydb.putListString(NEWS_BOOKMARKED_LIST_KEY,newsBookMarkedList);\n }","title":""}],"string":"[\n {\n \"docid\": \"5891ddda20ac3b6bbd6fb56be6872e54\",\n \"score\": \"0.0\",\n \"text\": \"private void updateNewsBookmarkUrlList(ArrayList bookMarkList){\\n tinydb.remove(NEWS_BOOKMARKED_LIST_KEY);\\n tinydb.putListString(NEWS_BOOKMARKED_LIST_KEY,newsBookMarkedList);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"dc51cdbe99b1f0d9740fb9762c9baf0e","score":"0.68562627","text":"@Override\n\tpublic void updateList() {\n\n\t}","title":""},{"docid":"9513fc1ec764f97d902aa71ef56d53d5","score":"0.677284","text":"public void deleteList(){\r\n\t\torigin=null;\r\n\t\tend=null;\r\n\t}","title":""},{"docid":"f2484f5547c8116f4e2c5f7cc42bec07","score":"0.6718327","text":"private void removeAndUpdate(final List path) {\n updateResult(path);\n if (path.size() > 0) {\n path.remove(path.size() - 1);\n }\n }","title":""},{"docid":"8ce7e9b1128fa80a9f0f215e35e52b43","score":"0.67033625","text":"private static void notifyList(RemovedMsg msg) {\n\t\tfor (Worker worker : removeList) {\n\t\t\tworker.update(msg);\n\t\t}\n\t\t\n\t}","title":""},{"docid":"de389014006a23c4979be482ed1af92d","score":"0.6668412","text":"protected abstract void onRemove();","title":""},{"docid":"368f248d77efc3a88141402bc4f0d52f","score":"0.664387","text":"public void deleteList()\n {\n }","title":""},{"docid":"bf793429a1b7a3a2414ab1967c1dff5e","score":"0.66210395","text":"public void removeFromList(Syncable s) {\n\t\tlist.remove(s);\n\t}","title":""},{"docid":"6f776b06e3d8d5c1a427ab7cbe7bda33","score":"0.6610987","text":"public void remove(){}","title":""},{"docid":"d6f76a3c6464d2c987d3bf8f192bef5e","score":"0.6609665","text":"@Override\n\t\t\tpublic void remove(){\n\t\t\t}","title":""},{"docid":"6689c940431d6c9769e47f6c03ecb53c","score":"0.65971154","text":"void remove();","title":""},{"docid":"6689c940431d6c9769e47f6c03ecb53c","score":"0.65971154","text":"void remove();","title":""},{"docid":"6689c940431d6c9769e47f6c03ecb53c","score":"0.65971154","text":"void remove();","title":""},{"docid":"1a1ce379586a6c83cebb27302953bfd7","score":"0.65869606","text":"public void remove() {\n\t\t\n\t}","title":""},{"docid":"1a1ce379586a6c83cebb27302953bfd7","score":"0.65869606","text":"public void remove() {\n\t\t\n\t}","title":""},{"docid":"18831e159f2bf9627065b21928f13201","score":"0.656837","text":"public void realTimeRemover(List currentNews);","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6552965","text":"public void remove();","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6552965","text":"public void remove();","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6552965","text":"public void remove();","title":""},{"docid":"addeea225f06f7dfdb0c457c30bfe57c","score":"0.6546679","text":"public void remove(){\n }","title":""},{"docid":"c4caef44c6dd57d0dcb78c34d7b12c55","score":"0.65417814","text":"public void updateDroppableObjectsArrayList()\n {\n SecureRandom rand = new SecureRandom();\n\n if(droppableObjects != null && !droppableObjects.isEmpty())\n {\n for(GenericObject element : droppableObjects)\n {\n int removeObjectRate = rand.nextInt((int)(element.getDropRate() * 100));\n int keepObjectRate = rand.nextInt((int)(element.getDropRate() * 100));\n int keepObjectBonus = rand.nextInt((int)((element.getDropRate() * 100) / 3));\n \n if(removeObjectRate >= keepObjectRate + keepObjectBonus)\n {\n droppableObjects.remove(element);\n }\n }\n }\n }","title":""},{"docid":"7178d67fc1c41988a589cd8a6bfaf7b9","score":"0.6516772","text":"public void remove() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"12c4003874250dc1e2cce4645ac9d5b1","score":"0.6504226","text":"@Override\n\tpublic void remove() {\n\t\t\n\t}","title":""},{"docid":"12c4003874250dc1e2cce4645ac9d5b1","score":"0.6504226","text":"@Override\n\tpublic void remove() {\n\t\t\n\t}","title":""},{"docid":"12c4003874250dc1e2cce4645ac9d5b1","score":"0.6504226","text":"@Override\n\tpublic void remove() {\n\t\t\n\t}","title":""},{"docid":"c2fdee1ab3b10b9a470c6b497c6dc93f","score":"0.64806825","text":"@Override\n public void remove() {\n\n }","title":""},{"docid":"41b69dbff15a49407eb57f0fa4d57181","score":"0.64681184","text":"public void remove(){\n removed = true;\n }","title":""},{"docid":"2e2f73c16075bd97b966d1e6c72d49d4","score":"0.6460055","text":"@Override\n\tpublic void remove() {\n\n\t}","title":""},{"docid":"1dcb79801cce3818543dd7244a888596","score":"0.64426523","text":"@Override\n void remove();","title":""},{"docid":"be7dd68e1a1a106786bd902829cd9257","score":"0.64288986","text":"void doDelete() {\r\n\t\tint idx = list.items.indexOf(list.selected);\r\n\t\tif (idx >= 0) {\r\n\t\t\t\r\n\t\t\tFile f = new File(\"save/\" + commons.profile.name + \"/\" + list.selected.name);\r\n\t\t\tif (f.delete()) {\r\n\t\t\t\tlist.items.remove(idx);\r\n\t\t\t\t\r\n\t\t\t\tidx = Math.min(idx, list.items.size() - 1);\r\n\t\t\t\tif (idx >= 0) {\r\n\t\t\t\t\tlist.selected = list.items.get(idx);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlist.selected = null;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.err.println(\"Could not delete \" + f);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"d7fe5c59bdd08138d1e1874edd215997","score":"0.6422682","text":"public void remove() {\n markedForRemoval = true;\n }","title":""},{"docid":"ef0e85ca314d3ec069e0e0d2cddedf52","score":"0.6420583","text":"private void processMessageRemoveList(MessageRemoveList message) {\n\t\tif (!message.getSenderLauncherId_REMOVE_LIST().equals(\n\t\t\t\tlauncher.getLauncherId())) {\n\n\t\t\tString contextKey = message.getContextKey_REMOVE_LIST();\n\t\t\tObject o = message.getListValue_REMOVE_LIST();\n\t\t\tcontextListData.updateListForRemove(contextKey, o);\n\n\t\t}\n\t}","title":""},{"docid":"56ffd33ba95651e7a8d58e22d7c85469","score":"0.6410866","text":"@Override\n public void remove() {\n }","title":""},{"docid":"c0f61eccf9191ae1c28d5c664b4825b1","score":"0.64105004","text":"@Override\n\tpublic List remove() {\n\t\treturn null;\n\t}","title":""},{"docid":"2647f349e3876fcf5bbac38db45efa97","score":"0.6407539","text":"public void remove() {\n }","title":""},{"docid":"2647f349e3876fcf5bbac38db45efa97","score":"0.6407539","text":"public void remove() {\n }","title":""},{"docid":"968d1f94d83a6daba510f3af9928d540","score":"0.6406303","text":"@Override\n public void remove()\n {\n }","title":""},{"docid":"efcab5e3796e4b00d7bbb057b040589b","score":"0.64037424","text":"public void remove() {\n if ((current > 0) && (current <= ordered.size())) {\n\n HashedList.this.remove(current - 1);\n\n // If we just removed the last entry, then we need\n // to go back one.\n if (current > 0) {\n current -= 1;\n }\n }\n }","title":""},{"docid":"7ffc5395f3b75e17c06820eccf000f71","score":"0.63949114","text":"void remove( );","title":""},{"docid":"cc9d748f67cdd4ecf6c7e7ad072d6ff5","score":"0.6391609","text":"public void remove() {\n\t }","title":""},{"docid":"34096261f27755c91eaba54dff95f89c","score":"0.6383078","text":"public void remove_the_instruction_form_the_dispatch_list_and_update_counter(int element_in_the_issue_that_was_moved_to_array_list) \r\n\t{\n\t\t\r\n\t\tthis.issue_list.remove((Object)(element_in_the_issue_that_was_moved_to_array_list));\r\n\t\t\r\n\t\tthis.schedule_counter--;\r\n\r\n\t}","title":""},{"docid":"5b2917bad4d83eea6d2d00cc19f28b52","score":"0.63815826","text":"@Override public void remove() {\n\t}","title":""},{"docid":"5ceefb9021a170bb2b9f44d1b35b8bbd","score":"0.6379666","text":"public void updateList() {\n updateGluedStickerCount();\n new LongOperation().execute(\"\");\n }","title":""},{"docid":"0bb8d0d7d1248be089b34752c1cc6b32","score":"0.6363227","text":"@Override\n\t\tpublic void remove() {\n\t\t}","title":""},{"docid":"d75a17a2aa8961b4c6ff857ff271376c","score":"0.63571423","text":"public void remove() {\n\t\tremoved = true;\n\t}","title":""},{"docid":"0499c4163784b29d14da560727c49675","score":"0.63546306","text":"public void remove() {\n }","title":""},{"docid":"6999c2cfd0dcb2ed06265d2d25bf4da0","score":"0.6348796","text":"@Override\n public void remove() {\n ShortStore.listPlayer.clear(); \n }","title":""},{"docid":"87316fcee29b9712461fe27973cb8f3b","score":"0.63353205","text":"public static void main(String[] args) {\n List list= new ArrayList<>();\n List l=Collections.synchronizedList(list);\n list.add(\"Prakhar\");\n list.add(1);\n list.add(4);\n list.add(\"CL\");\n list.add(\"Prakhar\");\n list.add(null);\n\n\n System.out.println(\"List:\");\n System.out.println(list);\n \n \n \n System.out.println(\"remove:\");\n list.lastIndexOf(\"Prakhar\");\n \n System.out.println(list);\n}","title":""},{"docid":"5063916a62ea3f4991d962d8a786878d","score":"0.6333865","text":"private void delHistoryLink(int i) {\n list.remove(i);\n uson.putList(list);\n myRecyclerAdapter.notifyDataSetChanged();\n }","title":""},{"docid":"20d51f85a80083278ac8c778a5713e87","score":"0.6333341","text":"public void remove()\n\t{\n\n\t}","title":""},{"docid":"d9a67c5e8e2a8cdada16e86e69c3d297","score":"0.6332101","text":"private void clearRemoved() {\n removed_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();\n }","title":""},{"docid":"23f02ce501dd372bb0b76d1d21c9d88a","score":"0.6326161","text":"public void remove()\n\t{\n\t}","title":""},{"docid":"01fd4e3a806401d56de62ecc8e22df9e","score":"0.631544","text":"public final void removedFromList() {\n\t\tnext = null;\n\t\t// we need to clear the pre link also, otherwise it is a mem leak,\n\t\t// there are canceled timer tasks hold by the timer thread, that link via the prev\n\t\t// reference to all other entries previously evicted!\n\t\tprev = null;\n\t}","title":""},{"docid":"87f6cdc7dd82909eae1d04138e921bed","score":"0.6297459","text":"public abstract void removed ();","title":""},{"docid":"2562bbc95c4f8157a0b5b7034f27203a","score":"0.62782997","text":"public void remove(List entidades);","title":""},{"docid":"f6d7fe6c972327a9204d483bba8b8812","score":"0.6275218","text":"private void testListRemoval() {\n\t\tList list = new ArrayList<>(Arrays.asList(\"un\", \"un\", \"un\", \"deux\"));\n\t\tSystem.out.println(\"Initial list: \" + list.toString());\n\t\t// Removes the first found\n\t\tlist.remove(\"un\");\n\t\tSystem.out.println(\"After removal of first found \\\"un\\\": \" + list.toString());\n\n\t\t// Remove all instances of \"un\"\n\t\tlist = new ArrayList<>(Arrays.asList(\"un\", \"un\", \"un\", \"deux\"));\n\t\tlist.removeAll(Collections.singleton(\"un\"));\n\t\tSystem.out.println(\"After removal of all occurences of \\\"un\\\": \" + list.toString());\n\n\t\ttry {\n\t\t\t// this does not create an ArrayList but creates a wrapper that is\n\t\t\t// backed by the initial array\n\t\t\tList list2 = Arrays.asList(\"un\", \"un\", \"un\", \"deux\");\n\t\t\t// So trying to remove an element will throw an Unsupported\n\t\t\t// operation exception, the above\n\t\t\t// See for more information\n\t\t\t// https://stackoverflow.com/questions/16748030/difference-between-arrays-aslistarray-vs-new-arraylistintegerarrays-aslist\n\t\t\tlist2.remove(\"un\");\n\t\t} catch (UnsupportedOperationException e) {\n\t\t\tSystem.out.println(\"Expected error happened: \" + e.getClass().getName());\n\t\t}\n\t}","title":""},{"docid":"eb78f9b6c20cdd966ac737287c93654c","score":"0.62282735","text":"public void remove() {\n\t\tif (!removeOK) {\n\t\t\tthrow new IllegalStateException();\n\t\t}\n\t\tlist.remove(position - 1);\n\t\tposition--;\n\t\tremoveOK = false;\n\t}","title":""},{"docid":"805436a6e3feb6f4ba4e44db1b72ae32","score":"0.62262374","text":"@Override\npublic void remove() {\n\t\n}","title":""},{"docid":"3dd206f65b4585406c58a0135a1f72e2","score":"0.62138397","text":"void clearList();","title":""},{"docid":"5f1f33ee3f9f68cba8dd1f06ad5bddb2","score":"0.62040377","text":"public static void testingRemove()\n\t{\n\t\tSortedListRefBased list = new SortedListRefBased();\n\n\t\tSystem.out.println(\"\\n\\t*Testing remove*\");\n\t\tlist.insert(new Integer(5));\n\t\tlist.insert(new Integer(4));\n\t\tlist.insert(new Integer(3));\n\t\tlist.insert(new Integer(2));\n\t\tlist.insert(new Integer(1));\n\t\tSystem.out.println(\"Removing first number out of the list:\");\n\t\tSystem.out.println(\"Before:\");\n\t\tlist.printList();\n\t\tSystem.out.println(\"After:\");\n\t\tlist.remove(1);\n\t\tlist.printList();\n\t\t\n\t\tSystem.out.println(\"Removing random number out of the list:\");\n\t\tSystem.out.println(\"Before:\");\n\t\tlist.printList();\n\t\tSystem.out.println(\"After:\");\n\t\tlist.remove(3);\n\t\tlist.printList();\n\t\t\n\t\tSystem.out.println(\"Removing last number out of the list:\");\n\t\tSystem.out.println(\"Before:\");\n\t\tlist.printList();\n\t\tSystem.out.println(\"After:\");\n\t\tlist.remove(5);\n\t\tlist.printList();\n\t\t\n\t}","title":""},{"docid":"17bd60429a138a2c5c9a4a7d0bd4fb54","score":"0.6199447","text":"@Override\n public void stateChanged(ChangeEvent e) {\n this.removeAll();\n this.addLists();\n }","title":""},{"docid":"c51cf5a9eb06eae755b007aa8b6e0d4a","score":"0.6193031","text":"public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }","title":""},{"docid":"54ddaf235063b1cdafe98093ec66a466","score":"0.6178236","text":"public void deletCreatedList() {\r\n\r\n\t\tclickOptions();\r\n\r\n\t\tmarkAllItems();\r\n\r\n\t\tclickOptions();\r\n\r\n\t\tdeleteList();\r\n\r\n\t\thandleAlert();\r\n\r\n\t}","title":""},{"docid":"316bc24c7d31e33b3dbfb88245d5b1d5","score":"0.61765516","text":"V remove();","title":""},{"docid":"d1207b4ad351ab524a6ada35ecb04149","score":"0.6156371","text":"public void remove()\n\t\t{\n\t\t}","title":""},{"docid":"a911ee11d74b78a3ea5073eac2a015e3","score":"0.61541986","text":"public void remove( int id ){\n for( Struct obj: list ){\n if(obj.processId == id){\n list.remove(obj);\n //Collections.sort(list);\n break;\n }\n }\n }","title":""},{"docid":"9b632cabe711358c8c777d11dec77fe0","score":"0.6153351","text":"public static void remove(Handler list) {\r\n\t\t\tint index;\r\n\r\n\t\t\tlist.printAll(); \r\n\t\t\tSystem.out.print(\"Number of Task to delete: \");\r\n\t\t\tindex = keyboard.nextInt();\r\n\t\t\tkeyboard.nextLine();\r\n\r\n\t\t\tlist.deleteTask(index - 1);\r\n\t\t}","title":""},{"docid":"98c5d1e5dfc4ad6155f43b100a22dd16","score":"0.6150295","text":"void resetList();","title":""},{"docid":"79d0d22a6732204a39a37742f1b9cbdf","score":"0.614891","text":"void deleteList() {\n head = null;\n }","title":""},{"docid":"a7e5d2be37525737b323e2433e7bcf1c","score":"0.6141103","text":"Collection removed();","title":""},{"docid":"7a407cff26040d3d69dc9a49c6a57f7e","score":"0.61296546","text":"@Override\n protected void onRemove() {\n\n }","title":""},{"docid":"e3b41f4705f1ee9e3f9e41010919b61f","score":"0.61253965","text":"public void removeFromList(Cell theCell) {\r\n\t\ttheCell.resetDependencyList();\r\n\t\ttheCell.decrementInDegree();\r\n\t\ttheCells.remove(theCell);\r\n\t}","title":""},{"docid":"4c2d46a88915dcbb58a0de807be039fe","score":"0.6121841","text":"public void remove(Post data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }","title":""},{"docid":"df0569a7d46d126bed70030433649dbc","score":"0.6120818","text":"@Override\r\n\t\tpublic void remove() {\r\n\t\t\tthrow new ConcurrentModificationException(\r\n\t\t\t\t\t\"ILLEGAL OPERATION ATTEMPTED...remove()\");\r\n\t\t}","title":""},{"docid":"079a24083347a95e198b8af2065f7a85","score":"0.6116963","text":"void markRemoved() {\n\t\tremoved = true;\n\t}","title":""},{"docid":"b9ac198bedeb16f79b014a436ab80c07","score":"0.6114214","text":"public void update()\n {\n for (int i=0; i < itemArray.size; i++)\n {\n if(this.itemArray.get(i).isCollected())\n {\n itemArray.get(i).deleteItem();\n itemArray.removeIndex(i);\n }\n }\n \n //Delete tomb stone if collected\n for (int i=0; i < tombArray.size; i++)\n {\n if(this.tombArray.get(i).isCollected())\n {\n tombArray.get(i).deleteItem();\n tombArray.removeIndex(i);\n }\n }\n \n //Delete coins if collected\n for (int i=0; i < coinArray.size; i++)\n {\n if(this.coinArray.get(i).isCollected())\n {\n coinArray.get(i).deleteItem();\n coinArray.removeIndex(i);\n }\n }\n \n }","title":""},{"docid":"45a4aa1a6d9862e8f84ea9cc299927bd","score":"0.61138934","text":"private void removeUpdated(int index) {\n ensureUpdatedIsMutable();\n updated_.remove(index);\n }","title":""},{"docid":"8bce69fae9594589aba94e56439e5f75","score":"0.61135304","text":"protected native void remove();","title":""},{"docid":"9a499992e8e31b1f4cda3fe627369421","score":"0.61034274","text":"protected void remove() {\n previous.next = next;\n next.previous = previous;\n }","title":""},{"docid":"0632fa540eab48da06a3a50c5bd5677b","score":"0.6100682","text":"public final void removeParticipant(final WatchableList theList)\r\n {\r\n // there isn't a remove button for the primary track,\r\n // so the user must have clicked on the secondary\r\n _theSecondary.removeElement(theList);\r\n\r\n // update the time period of the stepper\r\n _theStepper.removeParticpant(theList);\r\n\r\n // and update the screen\r\n updateToteMembers();\r\n }","title":""},{"docid":"e29711d76d28ecaee1c28d5ab44df96d","score":"0.60904896","text":"private void updateList() {\n cl = new CarList(lv, getBaseContext(), Utils.getCarsInTown(sCurrentTown));\n cl.resetList();\n }","title":""},{"docid":"1d39c643e2ff50f80697195b4137ae0b","score":"0.6086291","text":"private void resetList() {\n \n SwingUtilities.invokeLater(new Runnable() {\n\n @Override\n public void run() {\n listElements.removeAllElements();\n }\n });\n \n }","title":""},{"docid":"c5c91d36af02e55ac247ef98a75e509b","score":"0.6085521","text":"public void remove()\n {\n super.remove();\n\n }","title":""},{"docid":"d758066bf33bf6c5618978ac70a6ce63","score":"0.60812265","text":"private void updateGameObjectList(){\n\t\tfor(int c=gameObjects.size()-1; c>=0; c--){\n\t\t\tGameObject2D obj = gameObjects.get(c);\n\t\t\tif(obj.isDestroy()){\n\t\t\t\tobjectDestroyReport(obj);\n\t\t\t\tremoveGameObject(obj);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"7390167c87f1ca5b1ed05b1643dd0b63","score":"0.6075544","text":"@Test (timeout=5000)\n public void testRemove_Object() throws Exception {\n String name = \"testRemove_Object()\";\n JCSyncArrayList list1;\n JCSyncArrayList list2; \n ArrayList al = new ArrayList();\n al.add(100);\n al.add(150);\n al.add(250);\n al.add(350);\n al.add(450);\n al.add(550);\n SharedCollectionObject so_1;\n SharedCollectionObject so_2;\n list1 = new JCSyncArrayList(); \n list2 = new JCSyncArrayList(); \n so_1 = new SharedCollectionObject(name, list1, core);\n so_2 = (SharedCollectionObject) SharedCollectionObject.getFromOverlay(name, core2);\n list2 = (JCSyncArrayList) so_2.getNucleusObject();\n assertEquals(list1, list2);\n assertTrue(list2.size()==0);\n list2.addAll(al);\n Thread.sleep(500); \n boolean fr = list1.remove(new Integer(250));\n assertTrue(fr);\n Thread.sleep(500);\n assertTrue(list2.get(2)==350);\n fr = list2.remove(new Integer(111));\n assertFalse(fr);\n }","title":""},{"docid":"c419d7e8503e12574579059544db319e","score":"0.60745543","text":"@Override\n\t\t\t\t\t\t\tpublic void onDeleteFinished() {\n\t\t\t\t\t\t\t\tMessage message = mHandler\n\t\t\t\t\t\t\t\t\t\t.obtainMessage();\n\t\t\t\t\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\t\t\t\t\tbundle.putIntegerArrayList(\"position\",\n\t\t\t\t\t\t\t\t\t\t(ArrayList) posList);\n\t\t\t\t\t\t\t\tmessage.setData(bundle);\n\t\t\t\t\t\t\t\tmessage.what = MSG_UPDATE_LIST;\n\t\t\t\t\t\t\t\tmessage.sendToTarget();\n\t\t\t\t\t\t\t}","title":""},{"docid":"104a1e091e88d23ff9bfb9a8302d0746","score":"0.60729104","text":"@Override\n public void remove(T removeItem) {\n\n }","title":""},{"docid":"a446daf91a38faa751b6e3d27fee28fc","score":"0.6061025","text":"java.util.List\n getRemovedList();","title":""},{"docid":"7621f645f7e50833eedf50e743a547d0","score":"0.6055679","text":"public void remove() {\n\t\t\tSkipList.this.remove(loc);\n\t\t}","title":""},{"docid":"1dc344ae76c8e1a275f02cee05d642b3","score":"0.60475767","text":"@Override\n public final void remove() {\n if (logB.isDebugEnabled()) {\n logB.debug(this.name + \".remove : enter\");\n }\n boolean doRemove = true;\n try {\n doRemove = onRemoveValue(get());\n } catch (final RuntimeException re) {\n logB.error(this.name + \".remove : failure : \", re);\n }\n if (doRemove) {\n super.remove();\n }\n\n if (DIAGNOSTICS) {\n logB.error(this.name + \".remove : caller : \", new Throwable());\n }\n\n removeCounter.incrementAndGet();\n if (logB.isDebugEnabled()) {\n logB.debug(this.name + \".remove : exit\");\n }\n }","title":""},{"docid":"5418601c3eba089ec1072b3427d0a4e0","score":"0.60408103","text":"boolean remove();","title":""},{"docid":"d1bff8b2af1ab6460747a5eff2b8da04","score":"0.60337824","text":"public void removeRecord(ArrayList lst) {\n //TODO, how will i remove these\n }","title":""},{"docid":"05224da231d479e7a8c55d3bac0f8c75","score":"0.6032737","text":"void notifyRemoveAt(int position);","title":""},{"docid":"4b806771a7b653fc328aa53ce8829194","score":"0.6029783","text":"public void clear()\n {\n list.clear(); \n }","title":""},{"docid":"be91a4ee28a6254bf5c8d84369e1e90b","score":"0.6026892","text":"private void updateItems()\n {\n Iterator itemIterator = items.iterator();\n while (itemIterator.hasNext())\n {\n Item item = itemIterator.next();\n item.update();\n if (item.isPickedUp())\n {\n itemIterator.remove();\n }\n }\n }","title":""},{"docid":"e30a6a73dd21b627ba5f3c25273a0946","score":"0.6025898","text":"public void remove() {\n if (!removeOK)\n throw new IllegalStateException();\n list.remove(position - 1);\n position--;\n removeOK = false;\n }","title":""},{"docid":"58e55376903f6d9b49faff562be128b6","score":"0.6004072","text":"public void cleanMemeory(){\n\t\ttry {\n\t\t\tremLock.acquire();\n\t\t\tlock.acquire();\n\t\t\tfor(PCB ele : remove){\n\t\t\t\tif(ele.getAddress() != -1)\n\t\t\t\t\tRAM.getInstance().removeJob(ele);\n\t\t\t}\n\t\t\n\t\t\tremove = new ArrayList<>();\n\t\t\tlock.release();\n\t\t\tremLock.release();\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.out.println(\"ERROR\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"f368143396f438dc634013a397b9889c","score":"0.59988457","text":"public List remove(final long id);","title":""},{"docid":"f9537a061d2b0276f6393557390b7501","score":"0.5997314","text":"private void deleteListData(long rowId){\n\t\tint listID = listItems.get((int)rowId).getId();\n DBOperationsHandler dboper = new DBOperationsHandler();\n listItems.remove((int)rowId);\n dboper.deleteList(this, listID);\n ((ListArrayAdapter)list.getAdapter()).notifyDataSetChanged();\t\n\t}","title":""},{"docid":"f495ec9bfcc66e6bf90ba2ca4e33f51e","score":"0.59943306","text":"@Override\n\tpublic List removePerson1(List list, String name) { //method to remove stock from file\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).getFname().equalsIgnoreCase(name)) { //matching user input in list\n\n\t\t\t\tlist.remove(i);\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}","title":""},{"docid":"656e311ed175b8c27141ed03c0ee3fc4","score":"0.59882927","text":"private static void notifyList(DeleteMsg msg) {\n\t\tfor (Worker worker : deleteList) {\n\t\t\tworker.update(msg);\n\t\t}\n\t\t\n\t}","title":""},{"docid":"ccd4d413b592b50072486a08e5265c74","score":"0.5988239","text":"public boolean remove();","title":""}],"string":"[\n {\n \"docid\": \"dc51cdbe99b1f0d9740fb9762c9baf0e\",\n \"score\": \"0.68562627\",\n \"text\": \"@Override\\n\\tpublic void updateList() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9513fc1ec764f97d902aa71ef56d53d5\",\n \"score\": \"0.677284\",\n \"text\": \"public void deleteList(){\\r\\n\\t\\torigin=null;\\r\\n\\t\\tend=null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2484f5547c8116f4e2c5f7cc42bec07\",\n \"score\": \"0.6718327\",\n \"text\": \"private void removeAndUpdate(final List path) {\\n updateResult(path);\\n if (path.size() > 0) {\\n path.remove(path.size() - 1);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ce7e9b1128fa80a9f0f215e35e52b43\",\n \"score\": \"0.67033625\",\n \"text\": \"private static void notifyList(RemovedMsg msg) {\\n\\t\\tfor (Worker worker : removeList) {\\n\\t\\t\\tworker.update(msg);\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de389014006a23c4979be482ed1af92d\",\n \"score\": \"0.6668412\",\n \"text\": \"protected abstract void onRemove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"368f248d77efc3a88141402bc4f0d52f\",\n \"score\": \"0.664387\",\n \"text\": \"public void deleteList()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf793429a1b7a3a2414ab1967c1dff5e\",\n \"score\": \"0.66210395\",\n \"text\": \"public void removeFromList(Syncable s) {\\n\\t\\tlist.remove(s);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f776b06e3d8d5c1a427ab7cbe7bda33\",\n \"score\": \"0.6610987\",\n \"text\": \"public void remove(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6f76a3c6464d2c987d3bf8f192bef5e\",\n \"score\": \"0.6609665\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void remove(){\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6689c940431d6c9769e47f6c03ecb53c\",\n \"score\": \"0.65971154\",\n \"text\": \"void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6689c940431d6c9769e47f6c03ecb53c\",\n \"score\": \"0.65971154\",\n \"text\": \"void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6689c940431d6c9769e47f6c03ecb53c\",\n \"score\": \"0.65971154\",\n \"text\": \"void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a1ce379586a6c83cebb27302953bfd7\",\n \"score\": \"0.65869606\",\n \"text\": \"public void remove() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a1ce379586a6c83cebb27302953bfd7\",\n \"score\": \"0.65869606\",\n \"text\": \"public void remove() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18831e159f2bf9627065b21928f13201\",\n \"score\": \"0.656837\",\n \"text\": \"public void realTimeRemover(List currentNews);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6552965\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6552965\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6552965\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"addeea225f06f7dfdb0c457c30bfe57c\",\n \"score\": \"0.6546679\",\n \"text\": \"public void remove(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4caef44c6dd57d0dcb78c34d7b12c55\",\n \"score\": \"0.65417814\",\n \"text\": \"public void updateDroppableObjectsArrayList()\\n {\\n SecureRandom rand = new SecureRandom();\\n\\n if(droppableObjects != null && !droppableObjects.isEmpty())\\n {\\n for(GenericObject element : droppableObjects)\\n {\\n int removeObjectRate = rand.nextInt((int)(element.getDropRate() * 100));\\n int keepObjectRate = rand.nextInt((int)(element.getDropRate() * 100));\\n int keepObjectBonus = rand.nextInt((int)((element.getDropRate() * 100) / 3));\\n \\n if(removeObjectRate >= keepObjectRate + keepObjectBonus)\\n {\\n droppableObjects.remove(element);\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7178d67fc1c41988a589cd8a6bfaf7b9\",\n \"score\": \"0.6516772\",\n \"text\": \"public void remove() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12c4003874250dc1e2cce4645ac9d5b1\",\n \"score\": \"0.6504226\",\n \"text\": \"@Override\\n\\tpublic void remove() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12c4003874250dc1e2cce4645ac9d5b1\",\n \"score\": \"0.6504226\",\n \"text\": \"@Override\\n\\tpublic void remove() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12c4003874250dc1e2cce4645ac9d5b1\",\n \"score\": \"0.6504226\",\n \"text\": \"@Override\\n\\tpublic void remove() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2fdee1ab3b10b9a470c6b497c6dc93f\",\n \"score\": \"0.64806825\",\n \"text\": \"@Override\\n public void remove() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41b69dbff15a49407eb57f0fa4d57181\",\n \"score\": \"0.64681184\",\n \"text\": \"public void remove(){\\n removed = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e2f73c16075bd97b966d1e6c72d49d4\",\n \"score\": \"0.6460055\",\n \"text\": \"@Override\\n\\tpublic void remove() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dcb79801cce3818543dd7244a888596\",\n \"score\": \"0.64426523\",\n \"text\": \"@Override\\n void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be7dd68e1a1a106786bd902829cd9257\",\n \"score\": \"0.64288986\",\n \"text\": \"void doDelete() {\\r\\n\\t\\tint idx = list.items.indexOf(list.selected);\\r\\n\\t\\tif (idx >= 0) {\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tFile f = new File(\\\"save/\\\" + commons.profile.name + \\\"/\\\" + list.selected.name);\\r\\n\\t\\t\\tif (f.delete()) {\\r\\n\\t\\t\\t\\tlist.items.remove(idx);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tidx = Math.min(idx, list.items.size() - 1);\\r\\n\\t\\t\\t\\tif (idx >= 0) {\\r\\n\\t\\t\\t\\t\\tlist.selected = list.items.get(idx);\\r\\n\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\tlist.selected = null;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\tSystem.err.println(\\\"Could not delete \\\" + f);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7fe5c59bdd08138d1e1874edd215997\",\n \"score\": \"0.6422682\",\n \"text\": \"public void remove() {\\n markedForRemoval = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef0e85ca314d3ec069e0e0d2cddedf52\",\n \"score\": \"0.6420583\",\n \"text\": \"private void processMessageRemoveList(MessageRemoveList message) {\\n\\t\\tif (!message.getSenderLauncherId_REMOVE_LIST().equals(\\n\\t\\t\\t\\tlauncher.getLauncherId())) {\\n\\n\\t\\t\\tString contextKey = message.getContextKey_REMOVE_LIST();\\n\\t\\t\\tObject o = message.getListValue_REMOVE_LIST();\\n\\t\\t\\tcontextListData.updateListForRemove(contextKey, o);\\n\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56ffd33ba95651e7a8d58e22d7c85469\",\n \"score\": \"0.6410866\",\n \"text\": \"@Override\\n public void remove() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0f61eccf9191ae1c28d5c664b4825b1\",\n \"score\": \"0.64105004\",\n \"text\": \"@Override\\n\\tpublic List remove() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2647f349e3876fcf5bbac38db45efa97\",\n \"score\": \"0.6407539\",\n \"text\": \"public void remove() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2647f349e3876fcf5bbac38db45efa97\",\n \"score\": \"0.6407539\",\n \"text\": \"public void remove() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"968d1f94d83a6daba510f3af9928d540\",\n \"score\": \"0.6406303\",\n \"text\": \"@Override\\n public void remove()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efcab5e3796e4b00d7bbb057b040589b\",\n \"score\": \"0.64037424\",\n \"text\": \"public void remove() {\\n if ((current > 0) && (current <= ordered.size())) {\\n\\n HashedList.this.remove(current - 1);\\n\\n // If we just removed the last entry, then we need\\n // to go back one.\\n if (current > 0) {\\n current -= 1;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ffc5395f3b75e17c06820eccf000f71\",\n \"score\": \"0.63949114\",\n \"text\": \"void remove( );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc9d748f67cdd4ecf6c7e7ad072d6ff5\",\n \"score\": \"0.6391609\",\n \"text\": \"public void remove() {\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34096261f27755c91eaba54dff95f89c\",\n \"score\": \"0.6383078\",\n \"text\": \"public void remove_the_instruction_form_the_dispatch_list_and_update_counter(int element_in_the_issue_that_was_moved_to_array_list) \\r\\n\\t{\\n\\t\\t\\r\\n\\t\\tthis.issue_list.remove((Object)(element_in_the_issue_that_was_moved_to_array_list));\\r\\n\\t\\t\\r\\n\\t\\tthis.schedule_counter--;\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b2917bad4d83eea6d2d00cc19f28b52\",\n \"score\": \"0.63815826\",\n \"text\": \"@Override public void remove() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ceefb9021a170bb2b9f44d1b35b8bbd\",\n \"score\": \"0.6379666\",\n \"text\": \"public void updateList() {\\n updateGluedStickerCount();\\n new LongOperation().execute(\\\"\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bb8d0d7d1248be089b34752c1cc6b32\",\n \"score\": \"0.6363227\",\n \"text\": \"@Override\\n\\t\\tpublic void remove() {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d75a17a2aa8961b4c6ff857ff271376c\",\n \"score\": \"0.63571423\",\n \"text\": \"public void remove() {\\n\\t\\tremoved = true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0499c4163784b29d14da560727c49675\",\n \"score\": \"0.63546306\",\n \"text\": \"public void remove() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6999c2cfd0dcb2ed06265d2d25bf4da0\",\n \"score\": \"0.6348796\",\n \"text\": \"@Override\\n public void remove() {\\n ShortStore.listPlayer.clear(); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87316fcee29b9712461fe27973cb8f3b\",\n \"score\": \"0.63353205\",\n \"text\": \"public static void main(String[] args) {\\n List list= new ArrayList<>();\\n List l=Collections.synchronizedList(list);\\n list.add(\\\"Prakhar\\\");\\n list.add(1);\\n list.add(4);\\n list.add(\\\"CL\\\");\\n list.add(\\\"Prakhar\\\");\\n list.add(null);\\n\\n\\n System.out.println(\\\"List:\\\");\\n System.out.println(list);\\n \\n \\n \\n System.out.println(\\\"remove:\\\");\\n list.lastIndexOf(\\\"Prakhar\\\");\\n \\n System.out.println(list);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5063916a62ea3f4991d962d8a786878d\",\n \"score\": \"0.6333865\",\n \"text\": \"private void delHistoryLink(int i) {\\n list.remove(i);\\n uson.putList(list);\\n myRecyclerAdapter.notifyDataSetChanged();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20d51f85a80083278ac8c778a5713e87\",\n \"score\": \"0.6333341\",\n \"text\": \"public void remove()\\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9a67c5e8e2a8cdada16e86e69c3d297\",\n \"score\": \"0.6332101\",\n \"text\": \"private void clearRemoved() {\\n removed_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23f02ce501dd372bb0b76d1d21c9d88a\",\n \"score\": \"0.6326161\",\n \"text\": \"public void remove()\\n\\t{\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01fd4e3a806401d56de62ecc8e22df9e\",\n \"score\": \"0.631544\",\n \"text\": \"public final void removedFromList() {\\n\\t\\tnext = null;\\n\\t\\t// we need to clear the pre link also, otherwise it is a mem leak,\\n\\t\\t// there are canceled timer tasks hold by the timer thread, that link via the prev\\n\\t\\t// reference to all other entries previously evicted!\\n\\t\\tprev = null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87f6cdc7dd82909eae1d04138e921bed\",\n \"score\": \"0.6297459\",\n \"text\": \"public abstract void removed ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2562bbc95c4f8157a0b5b7034f27203a\",\n \"score\": \"0.62782997\",\n \"text\": \"public void remove(List entidades);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6d7fe6c972327a9204d483bba8b8812\",\n \"score\": \"0.6275218\",\n \"text\": \"private void testListRemoval() {\\n\\t\\tList list = new ArrayList<>(Arrays.asList(\\\"un\\\", \\\"un\\\", \\\"un\\\", \\\"deux\\\"));\\n\\t\\tSystem.out.println(\\\"Initial list: \\\" + list.toString());\\n\\t\\t// Removes the first found\\n\\t\\tlist.remove(\\\"un\\\");\\n\\t\\tSystem.out.println(\\\"After removal of first found \\\\\\\"un\\\\\\\": \\\" + list.toString());\\n\\n\\t\\t// Remove all instances of \\\"un\\\"\\n\\t\\tlist = new ArrayList<>(Arrays.asList(\\\"un\\\", \\\"un\\\", \\\"un\\\", \\\"deux\\\"));\\n\\t\\tlist.removeAll(Collections.singleton(\\\"un\\\"));\\n\\t\\tSystem.out.println(\\\"After removal of all occurences of \\\\\\\"un\\\\\\\": \\\" + list.toString());\\n\\n\\t\\ttry {\\n\\t\\t\\t// this does not create an ArrayList but creates a wrapper that is\\n\\t\\t\\t// backed by the initial array\\n\\t\\t\\tList list2 = Arrays.asList(\\\"un\\\", \\\"un\\\", \\\"un\\\", \\\"deux\\\");\\n\\t\\t\\t// So trying to remove an element will throw an Unsupported\\n\\t\\t\\t// operation exception, the above\\n\\t\\t\\t// See for more information\\n\\t\\t\\t// https://stackoverflow.com/questions/16748030/difference-between-arrays-aslistarray-vs-new-arraylistintegerarrays-aslist\\n\\t\\t\\tlist2.remove(\\\"un\\\");\\n\\t\\t} catch (UnsupportedOperationException e) {\\n\\t\\t\\tSystem.out.println(\\\"Expected error happened: \\\" + e.getClass().getName());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb78f9b6c20cdd966ac737287c93654c\",\n \"score\": \"0.62282735\",\n \"text\": \"public void remove() {\\n\\t\\tif (!removeOK) {\\n\\t\\t\\tthrow new IllegalStateException();\\n\\t\\t}\\n\\t\\tlist.remove(position - 1);\\n\\t\\tposition--;\\n\\t\\tremoveOK = false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"805436a6e3feb6f4ba4e44db1b72ae32\",\n \"score\": \"0.62262374\",\n \"text\": \"@Override\\npublic void remove() {\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dd206f65b4585406c58a0135a1f72e2\",\n \"score\": \"0.62138397\",\n \"text\": \"void clearList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f1f33ee3f9f68cba8dd1f06ad5bddb2\",\n \"score\": \"0.62040377\",\n \"text\": \"public static void testingRemove()\\n\\t{\\n\\t\\tSortedListRefBased list = new SortedListRefBased();\\n\\n\\t\\tSystem.out.println(\\\"\\\\n\\\\t*Testing remove*\\\");\\n\\t\\tlist.insert(new Integer(5));\\n\\t\\tlist.insert(new Integer(4));\\n\\t\\tlist.insert(new Integer(3));\\n\\t\\tlist.insert(new Integer(2));\\n\\t\\tlist.insert(new Integer(1));\\n\\t\\tSystem.out.println(\\\"Removing first number out of the list:\\\");\\n\\t\\tSystem.out.println(\\\"Before:\\\");\\n\\t\\tlist.printList();\\n\\t\\tSystem.out.println(\\\"After:\\\");\\n\\t\\tlist.remove(1);\\n\\t\\tlist.printList();\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Removing random number out of the list:\\\");\\n\\t\\tSystem.out.println(\\\"Before:\\\");\\n\\t\\tlist.printList();\\n\\t\\tSystem.out.println(\\\"After:\\\");\\n\\t\\tlist.remove(3);\\n\\t\\tlist.printList();\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Removing last number out of the list:\\\");\\n\\t\\tSystem.out.println(\\\"Before:\\\");\\n\\t\\tlist.printList();\\n\\t\\tSystem.out.println(\\\"After:\\\");\\n\\t\\tlist.remove(5);\\n\\t\\tlist.printList();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17bd60429a138a2c5c9a4a7d0bd4fb54\",\n \"score\": \"0.6199447\",\n \"text\": \"@Override\\n public void stateChanged(ChangeEvent e) {\\n this.removeAll();\\n this.addLists();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c51cf5a9eb06eae755b007aa8b6e0d4a\",\n \"score\": \"0.6193031\",\n \"text\": \"public void remove(Data data) {\\n int position = list.indexOf(data);\\n list.remove(position);\\n notifyItemRemoved(position);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54ddaf235063b1cdafe98093ec66a466\",\n \"score\": \"0.6178236\",\n \"text\": \"public void deletCreatedList() {\\r\\n\\r\\n\\t\\tclickOptions();\\r\\n\\r\\n\\t\\tmarkAllItems();\\r\\n\\r\\n\\t\\tclickOptions();\\r\\n\\r\\n\\t\\tdeleteList();\\r\\n\\r\\n\\t\\thandleAlert();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"316bc24c7d31e33b3dbfb88245d5b1d5\",\n \"score\": \"0.61765516\",\n \"text\": \"V remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1207b4ad351ab524a6ada35ecb04149\",\n \"score\": \"0.6156371\",\n \"text\": \"public void remove()\\n\\t\\t{\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a911ee11d74b78a3ea5073eac2a015e3\",\n \"score\": \"0.61541986\",\n \"text\": \"public void remove( int id ){\\n for( Struct obj: list ){\\n if(obj.processId == id){\\n list.remove(obj);\\n //Collections.sort(list);\\n break;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b632cabe711358c8c777d11dec77fe0\",\n \"score\": \"0.6153351\",\n \"text\": \"public static void remove(Handler list) {\\r\\n\\t\\t\\tint index;\\r\\n\\r\\n\\t\\t\\tlist.printAll(); \\r\\n\\t\\t\\tSystem.out.print(\\\"Number of Task to delete: \\\");\\r\\n\\t\\t\\tindex = keyboard.nextInt();\\r\\n\\t\\t\\tkeyboard.nextLine();\\r\\n\\r\\n\\t\\t\\tlist.deleteTask(index - 1);\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98c5d1e5dfc4ad6155f43b100a22dd16\",\n \"score\": \"0.6150295\",\n \"text\": \"void resetList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79d0d22a6732204a39a37742f1b9cbdf\",\n \"score\": \"0.614891\",\n \"text\": \"void deleteList() {\\n head = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7e5d2be37525737b323e2433e7bcf1c\",\n \"score\": \"0.6141103\",\n \"text\": \"Collection removed();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a407cff26040d3d69dc9a49c6a57f7e\",\n \"score\": \"0.61296546\",\n \"text\": \"@Override\\n protected void onRemove() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3b41f4705f1ee9e3f9e41010919b61f\",\n \"score\": \"0.61253965\",\n \"text\": \"public void removeFromList(Cell theCell) {\\r\\n\\t\\ttheCell.resetDependencyList();\\r\\n\\t\\ttheCell.decrementInDegree();\\r\\n\\t\\ttheCells.remove(theCell);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c2d46a88915dcbb58a0de807be039fe\",\n \"score\": \"0.6121841\",\n \"text\": \"public void remove(Post data) {\\n int position = list.indexOf(data);\\n list.remove(position);\\n notifyItemRemoved(position);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df0569a7d46d126bed70030433649dbc\",\n \"score\": \"0.6120818\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void remove() {\\r\\n\\t\\t\\tthrow new ConcurrentModificationException(\\r\\n\\t\\t\\t\\t\\t\\\"ILLEGAL OPERATION ATTEMPTED...remove()\\\");\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"079a24083347a95e198b8af2065f7a85\",\n \"score\": \"0.6116963\",\n \"text\": \"void markRemoved() {\\n\\t\\tremoved = true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9ac198bedeb16f79b014a436ab80c07\",\n \"score\": \"0.6114214\",\n \"text\": \"public void update()\\n {\\n for (int i=0; i < itemArray.size; i++)\\n {\\n if(this.itemArray.get(i).isCollected())\\n {\\n itemArray.get(i).deleteItem();\\n itemArray.removeIndex(i);\\n }\\n }\\n \\n //Delete tomb stone if collected\\n for (int i=0; i < tombArray.size; i++)\\n {\\n if(this.tombArray.get(i).isCollected())\\n {\\n tombArray.get(i).deleteItem();\\n tombArray.removeIndex(i);\\n }\\n }\\n \\n //Delete coins if collected\\n for (int i=0; i < coinArray.size; i++)\\n {\\n if(this.coinArray.get(i).isCollected())\\n {\\n coinArray.get(i).deleteItem();\\n coinArray.removeIndex(i);\\n }\\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45a4aa1a6d9862e8f84ea9cc299927bd\",\n \"score\": \"0.61138934\",\n \"text\": \"private void removeUpdated(int index) {\\n ensureUpdatedIsMutable();\\n updated_.remove(index);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bce69fae9594589aba94e56439e5f75\",\n \"score\": \"0.61135304\",\n \"text\": \"protected native void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a499992e8e31b1f4cda3fe627369421\",\n \"score\": \"0.61034274\",\n \"text\": \"protected void remove() {\\n previous.next = next;\\n next.previous = previous;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0632fa540eab48da06a3a50c5bd5677b\",\n \"score\": \"0.6100682\",\n \"text\": \"public final void removeParticipant(final WatchableList theList)\\r\\n {\\r\\n // there isn't a remove button for the primary track,\\r\\n // so the user must have clicked on the secondary\\r\\n _theSecondary.removeElement(theList);\\r\\n\\r\\n // update the time period of the stepper\\r\\n _theStepper.removeParticpant(theList);\\r\\n\\r\\n // and update the screen\\r\\n updateToteMembers();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e29711d76d28ecaee1c28d5ab44df96d\",\n \"score\": \"0.60904896\",\n \"text\": \"private void updateList() {\\n cl = new CarList(lv, getBaseContext(), Utils.getCarsInTown(sCurrentTown));\\n cl.resetList();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d39c643e2ff50f80697195b4137ae0b\",\n \"score\": \"0.6086291\",\n \"text\": \"private void resetList() {\\n \\n SwingUtilities.invokeLater(new Runnable() {\\n\\n @Override\\n public void run() {\\n listElements.removeAllElements();\\n }\\n });\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5c91d36af02e55ac247ef98a75e509b\",\n \"score\": \"0.6085521\",\n \"text\": \"public void remove()\\n {\\n super.remove();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d758066bf33bf6c5618978ac70a6ce63\",\n \"score\": \"0.60812265\",\n \"text\": \"private void updateGameObjectList(){\\n\\t\\tfor(int c=gameObjects.size()-1; c>=0; c--){\\n\\t\\t\\tGameObject2D obj = gameObjects.get(c);\\n\\t\\t\\tif(obj.isDestroy()){\\n\\t\\t\\t\\tobjectDestroyReport(obj);\\n\\t\\t\\t\\tremoveGameObject(obj);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7390167c87f1ca5b1ed05b1643dd0b63\",\n \"score\": \"0.6075544\",\n \"text\": \"@Test (timeout=5000)\\n public void testRemove_Object() throws Exception {\\n String name = \\\"testRemove_Object()\\\";\\n JCSyncArrayList list1;\\n JCSyncArrayList list2; \\n ArrayList al = new ArrayList();\\n al.add(100);\\n al.add(150);\\n al.add(250);\\n al.add(350);\\n al.add(450);\\n al.add(550);\\n SharedCollectionObject so_1;\\n SharedCollectionObject so_2;\\n list1 = new JCSyncArrayList(); \\n list2 = new JCSyncArrayList(); \\n so_1 = new SharedCollectionObject(name, list1, core);\\n so_2 = (SharedCollectionObject) SharedCollectionObject.getFromOverlay(name, core2);\\n list2 = (JCSyncArrayList) so_2.getNucleusObject();\\n assertEquals(list1, list2);\\n assertTrue(list2.size()==0);\\n list2.addAll(al);\\n Thread.sleep(500); \\n boolean fr = list1.remove(new Integer(250));\\n assertTrue(fr);\\n Thread.sleep(500);\\n assertTrue(list2.get(2)==350);\\n fr = list2.remove(new Integer(111));\\n assertFalse(fr);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c419d7e8503e12574579059544db319e\",\n \"score\": \"0.60745543\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\t\\t\\tpublic void onDeleteFinished() {\\n\\t\\t\\t\\t\\t\\t\\t\\tMessage message = mHandler\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.obtainMessage();\\n\\t\\t\\t\\t\\t\\t\\t\\tBundle bundle = new Bundle();\\n\\t\\t\\t\\t\\t\\t\\t\\tbundle.putIntegerArrayList(\\\"position\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t(ArrayList) posList);\\n\\t\\t\\t\\t\\t\\t\\t\\tmessage.setData(bundle);\\n\\t\\t\\t\\t\\t\\t\\t\\tmessage.what = MSG_UPDATE_LIST;\\n\\t\\t\\t\\t\\t\\t\\t\\tmessage.sendToTarget();\\n\\t\\t\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"104a1e091e88d23ff9bfb9a8302d0746\",\n \"score\": \"0.60729104\",\n \"text\": \"@Override\\n public void remove(T removeItem) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a446daf91a38faa751b6e3d27fee28fc\",\n \"score\": \"0.6061025\",\n \"text\": \"java.util.List\\n getRemovedList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7621f645f7e50833eedf50e743a547d0\",\n \"score\": \"0.6055679\",\n \"text\": \"public void remove() {\\n\\t\\t\\tSkipList.this.remove(loc);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dc344ae76c8e1a275f02cee05d642b3\",\n \"score\": \"0.60475767\",\n \"text\": \"@Override\\n public final void remove() {\\n if (logB.isDebugEnabled()) {\\n logB.debug(this.name + \\\".remove : enter\\\");\\n }\\n boolean doRemove = true;\\n try {\\n doRemove = onRemoveValue(get());\\n } catch (final RuntimeException re) {\\n logB.error(this.name + \\\".remove : failure : \\\", re);\\n }\\n if (doRemove) {\\n super.remove();\\n }\\n\\n if (DIAGNOSTICS) {\\n logB.error(this.name + \\\".remove : caller : \\\", new Throwable());\\n }\\n\\n removeCounter.incrementAndGet();\\n if (logB.isDebugEnabled()) {\\n logB.debug(this.name + \\\".remove : exit\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5418601c3eba089ec1072b3427d0a4e0\",\n \"score\": \"0.60408103\",\n \"text\": \"boolean remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1bff8b2af1ab6460747a5eff2b8da04\",\n \"score\": \"0.60337824\",\n \"text\": \"public void removeRecord(ArrayList lst) {\\n //TODO, how will i remove these\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05224da231d479e7a8c55d3bac0f8c75\",\n \"score\": \"0.6032737\",\n \"text\": \"void notifyRemoveAt(int position);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b806771a7b653fc328aa53ce8829194\",\n \"score\": \"0.6029783\",\n \"text\": \"public void clear()\\n {\\n list.clear(); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be91a4ee28a6254bf5c8d84369e1e90b\",\n \"score\": \"0.6026892\",\n \"text\": \"private void updateItems()\\n {\\n Iterator itemIterator = items.iterator();\\n while (itemIterator.hasNext())\\n {\\n Item item = itemIterator.next();\\n item.update();\\n if (item.isPickedUp())\\n {\\n itemIterator.remove();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e30a6a73dd21b627ba5f3c25273a0946\",\n \"score\": \"0.6025898\",\n \"text\": \"public void remove() {\\n if (!removeOK)\\n throw new IllegalStateException();\\n list.remove(position - 1);\\n position--;\\n removeOK = false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58e55376903f6d9b49faff562be128b6\",\n \"score\": \"0.6004072\",\n \"text\": \"public void cleanMemeory(){\\n\\t\\ttry {\\n\\t\\t\\tremLock.acquire();\\n\\t\\t\\tlock.acquire();\\n\\t\\t\\tfor(PCB ele : remove){\\n\\t\\t\\t\\tif(ele.getAddress() != -1)\\n\\t\\t\\t\\t\\tRAM.getInstance().removeJob(ele);\\n\\t\\t\\t}\\n\\t\\t\\n\\t\\t\\tremove = new ArrayList<>();\\n\\t\\t\\tlock.release();\\n\\t\\t\\tremLock.release();\\n\\t\\t} catch (InterruptedException e) {\\n\\t\\t\\tSystem.out.println(\\\"ERROR\\\");\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f368143396f438dc634013a397b9889c\",\n \"score\": \"0.59988457\",\n \"text\": \"public List remove(final long id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9537a061d2b0276f6393557390b7501\",\n \"score\": \"0.5997314\",\n \"text\": \"private void deleteListData(long rowId){\\n\\t\\tint listID = listItems.get((int)rowId).getId();\\n DBOperationsHandler dboper = new DBOperationsHandler();\\n listItems.remove((int)rowId);\\n dboper.deleteList(this, listID);\\n ((ListArrayAdapter)list.getAdapter()).notifyDataSetChanged();\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f495ec9bfcc66e6bf90ba2ca4e33f51e\",\n \"score\": \"0.59943306\",\n \"text\": \"@Override\\n\\tpublic List removePerson1(List list, String name) { //method to remove stock from file\\n\\n\\t\\tfor (int i = 0; i < list.size(); i++) {\\n\\t\\t\\tif (list.get(i).getFname().equalsIgnoreCase(name)) { //matching user input in list\\n\\n\\t\\t\\t\\tlist.remove(i);\\n\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn list;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"656e311ed175b8c27141ed03c0ee3fc4\",\n \"score\": \"0.59882927\",\n \"text\": \"private static void notifyList(DeleteMsg msg) {\\n\\t\\tfor (Worker worker : deleteList) {\\n\\t\\t\\tworker.update(msg);\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccd4d413b592b50072486a08e5265c74\",\n \"score\": \"0.5988239\",\n \"text\": \"public boolean remove();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":853,"cells":{"query_id":{"kind":"string","value":"d42c3e56d8e0da19a7f8b3619d1de743"},"query":{"kind":"string","value":"True if has \"resolution\" attribute"},"positive_passages":{"kind":"list like","value":[{"docid":"4c783bfdf0ea5f2c57cb3336fd52dbeb","score":"0.7647066","text":"boolean isSetResolution();","title":""}],"string":"[\n {\n \"docid\": \"4c783bfdf0ea5f2c57cb3336fd52dbeb\",\n \"score\": \"0.7647066\",\n \"text\": \"boolean isSetResolution();\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"29d1d386c667be3796a9228c8ac4c058","score":"0.72188485","text":"abstract public boolean validResolution(int resolution);","title":""},{"docid":"0bb6c35f29e5fe7f3e3845b4e1694c72","score":"0.6819945","text":"boolean hasQuality();","title":""},{"docid":"0bb6c35f29e5fe7f3e3845b4e1694c72","score":"0.6819945","text":"boolean hasQuality();","title":""},{"docid":"0bb6c35f29e5fe7f3e3845b4e1694c72","score":"0.6819945","text":"boolean hasQuality();","title":""},{"docid":"f6b86062e2b17a245fcd3d28898c3fa9","score":"0.6708635","text":"public Optional resolution() {\n return dimensions.resolution();\n }","title":""},{"docid":"b7178213f74f31978e86f573661f3765","score":"0.6679251","text":"public boolean fixedResolution() {\n return useResolution;\n }","title":""},{"docid":"74645b6669e83efa0d3e162378c43299","score":"0.6675377","text":"public String getResolution() {\n return resolution;\n }","title":""},{"docid":"fd515e05a77109c4e9b5eb1a0ade2668","score":"0.65342027","text":"public int getResolution() {\n return resolution;\n }","title":""},{"docid":"c438a53fd49655406dc62786d4cda855","score":"0.65074337","text":"public float getResolution() {\n return this.resolution;\n }","title":""},{"docid":"80f5792922c01fe15cc3fe7e700b7966","score":"0.64996344","text":"boolean hasRes();","title":""},{"docid":"738233b56250b77c3880bae4dcc137e0","score":"0.64350957","text":"public double getResolution() {\n\t\treturn this.resolution;\n\t}","title":""},{"docid":"883dcd8c16a5ae3f9889efbd9d94e43e","score":"0.637546","text":"boolean hasScale();","title":""},{"docid":"eae19b22f7649cfe625bea42b71b2505","score":"0.626896","text":"public boolean hasQualityLimitationResolutionChanges() {\n return fieldSetFlags()[22];\n }","title":""},{"docid":"17a99b7891e3e4216cfde9376a3c717c","score":"0.61997545","text":"public boolean isSetWidth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(WIDTH$50) != null;\n }\n }","title":""},{"docid":"808cef01e827caa39e8296a580607985","score":"0.61974883","text":"public Point getResolution() {\n\t\t\n\t\treturn resolution;\n\t}","title":""},{"docid":"4beb4d0c4ba14e5c9d030d0f01cd2c7c","score":"0.6197396","text":"float getResolution();","title":""},{"docid":"dc57a4206f17feea32f9296f958a520c","score":"0.6190183","text":"public boolean hasMetric() {\n return fieldSetFlags()[2];\n }","title":""},{"docid":"01ddcaa9e00ad58eb26d838a557ceef6","score":"0.6188734","text":"boolean hasEnhancedMeasurementSettings();","title":""},{"docid":"01f066f09d2607b623f5e42e11b43ecd","score":"0.61608416","text":"boolean hasImgWidth();","title":""},{"docid":"de49d2d853a2b4a1c8c0b331bfbb5064","score":"0.6125535","text":"boolean hasPackageMetrics();","title":""},{"docid":"f352b1078d0b467e959d416805923461","score":"0.6116171","text":"public Dimension getResolution();","title":""},{"docid":"bc02d3c40dc11e4b2fe57167b36b4117","score":"0.6112696","text":"boolean hasMetaData();","title":""},{"docid":"becfe1ec58c0c32e595f1916b42c3912","score":"0.61101276","text":"public boolean hasMetric() {\n return fieldSetFlags()[3];\n }","title":""},{"docid":"89ca37171695e872dd57dc06211a6029","score":"0.6108339","text":"boolean hasTargetMetrics();","title":""},{"docid":"c91067cfdac72a5d81de2cdf5f94d97c","score":"0.606761","text":"boolean isResearchscale();","title":""},{"docid":"23b030c52fd947089fa5c8e0b00d5b7f","score":"0.60521454","text":"@NonNull\n public ResolutionFeature getResolution() {\n return (ResolutionFeature) Objects.requireNonNull(featureMap.get(RESOLUTION));\n }","title":""},{"docid":"c78722e2552db792b0fc623d3113e577","score":"0.60462785","text":"@Override\n /*@return String resolution, the resolution of the screen.*/\n public String getResolution() {\n return resolution;\n }","title":""},{"docid":"b81c98ac378ce06de3fca5973b4b65e1","score":"0.6045551","text":"boolean hasMetadata();","title":""},{"docid":"b81c98ac378ce06de3fca5973b4b65e1","score":"0.6045551","text":"boolean hasMetadata();","title":""},{"docid":"4af5708671c701acf553053f95afbc55","score":"0.6039318","text":"boolean hasBuildMetrics();","title":""},{"docid":"4af5708671c701acf553053f95afbc55","score":"0.6039318","text":"boolean hasBuildMetrics();","title":""},{"docid":"7c4d4f3e40a76fe5e485c0bbb121cb60","score":"0.60180396","text":"boolean hasMeasurand();","title":""},{"docid":"ac2b33ce09eaabf9cd63c02dbaf34e74","score":"0.5980854","text":"boolean hasCustomMetric();","title":""},{"docid":"43ee49f58b7fd609375382211eb17b6e","score":"0.5957254","text":"boolean isThumbnailSeries();","title":""},{"docid":"44e93c6e4d49c92e50a122ce7773a199","score":"0.59503907","text":"boolean hasMetadataLocation();","title":""},{"docid":"ca370efb1b2e958bb438f8b077b5875d","score":"0.59289867","text":"public boolean hasPackageMetrics() {\n return packageMetrics_ != null;\n }","title":""},{"docid":"3d16c785c5679988f4c07f8539aa34f7","score":"0.5921856","text":"boolean hasThumbnail();","title":""},{"docid":"3d16c785c5679988f4c07f8539aa34f7","score":"0.5921856","text":"boolean hasThumbnail();","title":""},{"docid":"2b41f0d5c544f0098636f4956168305f","score":"0.5918724","text":"@Override\r\n\tpublic boolean checkResolution() {\n\t\tintoSecondLevel(2);\r\n\t\treturn false;\r\n\t}","title":""},{"docid":"648ee68f9fe2147a95ba28d4ad1b9248","score":"0.5913458","text":"public boolean hasMetricDimension() {\n return fieldSetFlags()[0];\n }","title":""},{"docid":"86576c2d4d6e6a2c4abf2406b9aafb78","score":"0.5912567","text":"boolean hasProperties();","title":""},{"docid":"3e7a4a1d79c2473a300f49a629100de4","score":"0.5904368","text":"@Override\n public boolean isSet() {\n return publicationsLoaded;\n }","title":""},{"docid":"0fc7c82e0839befee17b8d1b854705a6","score":"0.58799374","text":"public void setResolution(int resolution) {\n this.resolution = resolution;\n }","title":""},{"docid":"d49b2f59b0f696ae7187da4ed11c21d3","score":"0.58703667","text":"public boolean hasMemoryMetrics() {\n return memoryMetrics_ != null;\n }","title":""},{"docid":"2fd1b4c230447bed31c14644672e6010","score":"0.58666444","text":"public Boolean getDensityAvailable() {\n\t\treturn getBoolean(KEY_DENSITY_AVAILABLE);\n\t}","title":""},{"docid":"e59baf77cce1eee2ebb0ec192b8fecf7","score":"0.58479375","text":"default boolean isImage() {\n return getHeight().isPresent();\n }","title":""},{"docid":"efcff477f3fe8b6e723d3b38723863a7","score":"0.58462","text":"@Override\n public boolean isSet() {\n return attributionsLoaded;\n }","title":""},{"docid":"7fabf83606763743281d5a0e3f8dd3f3","score":"0.58407485","text":"@JsOverlay public final Boolean getDetectRetina() {\n\t\treturn this.detectRetina;\n\t}","title":""},{"docid":"21ede336d6eac5ac5e3a460ec00f73f8","score":"0.5837743","text":"private boolean useRegularPhotoSize() {\n DisplayMetrics displaymetrics = new DisplayMetrics();\n getActivity().getWindowManager().getDefaultDisplay().getRealMetrics(displaymetrics);\n return displaymetrics.widthPixels > 1080;\n }","title":""},{"docid":"af46b2877dc6c0d187bf0dac31fe48a0","score":"0.5837062","text":"boolean hasResource();","title":""},{"docid":"af46b2877dc6c0d187bf0dac31fe48a0","score":"0.5837062","text":"boolean hasResource();","title":""},{"docid":"af46b2877dc6c0d187bf0dac31fe48a0","score":"0.5837062","text":"boolean hasResource();","title":""},{"docid":"a39bec47e2ec4ab81c155ba8d877cefd","score":"0.5836429","text":"boolean hasMemoryMetrics();","title":""},{"docid":"0c62ebbf557b849f5661e9b47a7df786","score":"0.58296543","text":"public boolean isThumbnail() {\n return thumbnail;\n }","title":""},{"docid":"7f226e91b948bb55779efd669b1f603a","score":"0.5800119","text":"boolean hasImage();","title":""},{"docid":"7f226e91b948bb55779efd669b1f603a","score":"0.5800119","text":"boolean hasImage();","title":""},{"docid":"7f226e91b948bb55779efd669b1f603a","score":"0.5800119","text":"boolean hasImage();","title":""},{"docid":"76746d53811b4deef66013c5c0efd115","score":"0.5795371","text":"private boolean isApplicable() {\n return getProperty()!=null;\n }","title":""},{"docid":"56859f065f4b7ce759426381eb22ce6b","score":"0.5794867","text":"abstract public int getMinResolution();","title":""},{"docid":"37af32cab169a4ac6bff6f853cfade35","score":"0.5776753","text":"@java.lang.Override\n public boolean hasProperty() {\n return resourceCase_ == 2;\n }","title":""},{"docid":"ffe3f3ea858cb13cd51f5a8912a13d7b","score":"0.57741296","text":"public boolean isSetThumbnailUrl() {\n return this.thumbnailUrl != null;\n }","title":""},{"docid":"19ba5e2489f13dcb79001558e6eee2bb","score":"0.57735366","text":"public Boolean getHasPicture() {\n return hasPicture;\n }","title":""},{"docid":"ec8de53eb4c5406a6aa1a4f314da0207","score":"0.5765249","text":"boolean hasPicture();","title":""},{"docid":"480ff499193d3e0f5f5bb818642cc9b5","score":"0.5758472","text":"boolean hasUsesMaterialProperty();","title":""},{"docid":"38550cb5b82209cd824c41e67ba04336","score":"0.57564425","text":"public TimeDuration getResolution() {\n return resolution;\n }","title":""},{"docid":"aeb01499bff26cdcae06c50ffece9928","score":"0.5755434","text":"public boolean isMetric()\n\t{\n\t\treturn isMetric;\n\t}","title":""},{"docid":"3f12fa66f2c4e6da7f319d5bc9be9032","score":"0.5755289","text":"private boolean isScaled() {\n\t\treturn isScaled;\n\t}","title":""},{"docid":"01102d7d2229cd1c8d5f56f2de8ca5ce","score":"0.57450193","text":"boolean hasImageLocation();","title":""},{"docid":"32391f63077c5d2a8719f4699c5e4cac","score":"0.5741044","text":"@java.lang.Override\n public boolean hasMetadata() {\n return metadata_ != null;\n }","title":""},{"docid":"32391f63077c5d2a8719f4699c5e4cac","score":"0.5741044","text":"@java.lang.Override\n public boolean hasMetadata() {\n return metadata_ != null;\n }","title":""},{"docid":"04cb30fd009774940142e123627ac4d3","score":"0.57359475","text":"boolean hasAttributionSettings();","title":""},{"docid":"f466a762b2c8016ccf5d617673392533","score":"0.57292217","text":"public boolean isSetSizes() {\n return this.sizes != null;\n }","title":""},{"docid":"3a680701ca34e7ca976c9fb8e6fed0ae","score":"0.57271945","text":"public boolean isSetImage() {\n return this.image != null;\n }","title":""},{"docid":"e1202847a751eb9d2c201a6755e5f0ed","score":"0.5725272","text":"@java.lang.Override\n public boolean hasProperty() {\n return resourceCase_ == 2;\n }","title":""},{"docid":"6bc88b3ca53da68d76e84b89cc5ec9d5","score":"0.57143265","text":"public boolean hasBitmap() {\n return mBitmap != null;\n }","title":""},{"docid":"bbc54aecef5d35966768ae5a61dd281c","score":"0.5713445","text":"public boolean hasTargetMetrics() {\n return targetMetrics_ != null;\n }","title":""},{"docid":"d496e2a1131ff44b4fd198c6492c2636","score":"0.5711239","text":"boolean hasWidth();","title":""},{"docid":"374645c6806ef2e38eae921c17dcda42","score":"0.5700927","text":"boolean hasFit();","title":""},{"docid":"2aea1d0f5974d9f701602fec897f0a63","score":"0.5699255","text":"public boolean isSetMetadata()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(METADATA$6) != 0;\n }\n }","title":""},{"docid":"6c277cfdb1572f0ce0b7187c8810a484","score":"0.5690836","text":"public boolean hasImage() {\n return _hasImage;\n }","title":""},{"docid":"23fc52f01a0cb56b44ac8184fb94a01e","score":"0.5684786","text":"public boolean isResolved();","title":""},{"docid":"8feeb40af152423d007d019bf88a9051","score":"0.5683672","text":"public boolean hasPackageMetrics() {\n return packageMetricsBuilder_ != null || packageMetrics_ != null;\n }","title":""},{"docid":"95bbc84ab7a7b9beba8a869bb8e4960b","score":"0.5681629","text":"public boolean hasImgWidth() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }","title":""},{"docid":"611aa67180940504afa78b8e9a2bdbbc","score":"0.5678397","text":"boolean isSetQualityControlFlags();","title":""},{"docid":"5e59b8568d601d35a8c53e94950f3782","score":"0.567792","text":"boolean hasInfo();","title":""},{"docid":"5e59b8568d601d35a8c53e94950f3782","score":"0.567792","text":"boolean hasInfo();","title":""},{"docid":"1727b0868bfbd1397e2c9f83b0876570","score":"0.5674355","text":"public boolean isSetWidth() {\n return __isset_vector[__WIDTH_ISSET_ID];\n }","title":""},{"docid":"7ab25526636afab65687aa7724f91e82","score":"0.5672578","text":"public boolean isSetStreamInfo() {\n return this.streamInfo != null;\n }","title":""},{"docid":"7ab25526636afab65687aa7724f91e82","score":"0.5672578","text":"public boolean isSetStreamInfo() {\n return this.streamInfo != null;\n }","title":""},{"docid":"7ab25526636afab65687aa7724f91e82","score":"0.5672578","text":"public boolean isSetStreamInfo() {\n return this.streamInfo != null;\n }","title":""},{"docid":"e087a8e01bf00581ebdea69548aa8efa","score":"0.56709844","text":"public boolean hasImgWidth() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }","title":""},{"docid":"e2f230cf592b639101b4add65fe58caa","score":"0.56613714","text":"private boolean needResize() {\n int current_orientation = this.getResources().getConfiguration().orientation;\n if ( last_orientation != current_orientation ) {\n return true;\n }\n if ( last_video_nb != mediaStreams.size() ) {\n return true;\n }\n for (MediaStream media : mediaStreams) {\n float ratio = media.getVideoRatio();\n SurfaceView view = media.getRender();\n float current_ratio = (float)view.getWidth() / view.getHeight();\n if ( (int)(ratio *100) != (int)(current_ratio *100) ) {\n return true;\n }\n }\n return false;\n }","title":""},{"docid":"7c3729290f5216bc17f02f2623b57c56","score":"0.56600064","text":"boolean hasRatePerMeter();","title":""},{"docid":"938a7362dbd95308566b588b5c2e5a0c","score":"0.56535953","text":"public boolean isCacheImageMetadata() {\n\t\treturn cacheImageMetadata;\n\t}","title":""},{"docid":"00c57011313cd8c2eaa5866bfed7dc74","score":"0.5647443","text":"boolean hasStat();","title":""},{"docid":"dc4d29e45aa2dce44c4a28863416be2e","score":"0.5644764","text":"boolean hasProperty();","title":""},{"docid":"8a1c4dd29ff8a67d18fd95d2b5a728e5","score":"0.5644099","text":"boolean hasAttribute();","title":""},{"docid":"3552e4f09dcd07eba29620de735cdca9","score":"0.5641612","text":"public void setResolution(Point resolution) {\n\t\t\n\t\tthis.resolution = resolution;\n\t}","title":""},{"docid":"bd48cf3350e5817bfc10e16ec4b92f84","score":"0.5636065","text":"boolean isMetadataComplete();","title":""},{"docid":"70b8e7fa9f6a552aeafec02c39dd377d","score":"0.56287235","text":"public boolean hasQuality() {\n return ((bitField0_ & 0x00000200) == 0x00000200);\n }","title":""}],"string":"[\n {\n \"docid\": \"29d1d386c667be3796a9228c8ac4c058\",\n \"score\": \"0.72188485\",\n \"text\": \"abstract public boolean validResolution(int resolution);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bb6c35f29e5fe7f3e3845b4e1694c72\",\n \"score\": \"0.6819945\",\n \"text\": \"boolean hasQuality();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bb6c35f29e5fe7f3e3845b4e1694c72\",\n \"score\": \"0.6819945\",\n \"text\": \"boolean hasQuality();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bb6c35f29e5fe7f3e3845b4e1694c72\",\n \"score\": \"0.6819945\",\n \"text\": \"boolean hasQuality();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6b86062e2b17a245fcd3d28898c3fa9\",\n \"score\": \"0.6708635\",\n \"text\": \"public Optional resolution() {\\n return dimensions.resolution();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7178213f74f31978e86f573661f3765\",\n \"score\": \"0.6679251\",\n \"text\": \"public boolean fixedResolution() {\\n return useResolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74645b6669e83efa0d3e162378c43299\",\n \"score\": \"0.6675377\",\n \"text\": \"public String getResolution() {\\n return resolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd515e05a77109c4e9b5eb1a0ade2668\",\n \"score\": \"0.65342027\",\n \"text\": \"public int getResolution() {\\n return resolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c438a53fd49655406dc62786d4cda855\",\n \"score\": \"0.65074337\",\n \"text\": \"public float getResolution() {\\n return this.resolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80f5792922c01fe15cc3fe7e700b7966\",\n \"score\": \"0.64996344\",\n \"text\": \"boolean hasRes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"738233b56250b77c3880bae4dcc137e0\",\n \"score\": \"0.64350957\",\n \"text\": \"public double getResolution() {\\n\\t\\treturn this.resolution;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"883dcd8c16a5ae3f9889efbd9d94e43e\",\n \"score\": \"0.637546\",\n \"text\": \"boolean hasScale();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eae19b22f7649cfe625bea42b71b2505\",\n \"score\": \"0.626896\",\n \"text\": \"public boolean hasQualityLimitationResolutionChanges() {\\n return fieldSetFlags()[22];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17a99b7891e3e4216cfde9376a3c717c\",\n \"score\": \"0.61997545\",\n \"text\": \"public boolean isSetWidth()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n return get_store().find_attribute_user(WIDTH$50) != null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"808cef01e827caa39e8296a580607985\",\n \"score\": \"0.61974883\",\n \"text\": \"public Point getResolution() {\\n\\t\\t\\n\\t\\treturn resolution;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4beb4d0c4ba14e5c9d030d0f01cd2c7c\",\n \"score\": \"0.6197396\",\n \"text\": \"float getResolution();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc57a4206f17feea32f9296f958a520c\",\n \"score\": \"0.6190183\",\n \"text\": \"public boolean hasMetric() {\\n return fieldSetFlags()[2];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01ddcaa9e00ad58eb26d838a557ceef6\",\n \"score\": \"0.6188734\",\n \"text\": \"boolean hasEnhancedMeasurementSettings();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01f066f09d2607b623f5e42e11b43ecd\",\n \"score\": \"0.61608416\",\n \"text\": \"boolean hasImgWidth();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de49d2d853a2b4a1c8c0b331bfbb5064\",\n \"score\": \"0.6125535\",\n \"text\": \"boolean hasPackageMetrics();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f352b1078d0b467e959d416805923461\",\n \"score\": \"0.6116171\",\n \"text\": \"public Dimension getResolution();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc02d3c40dc11e4b2fe57167b36b4117\",\n \"score\": \"0.6112696\",\n \"text\": \"boolean hasMetaData();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"becfe1ec58c0c32e595f1916b42c3912\",\n \"score\": \"0.61101276\",\n \"text\": \"public boolean hasMetric() {\\n return fieldSetFlags()[3];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89ca37171695e872dd57dc06211a6029\",\n \"score\": \"0.6108339\",\n \"text\": \"boolean hasTargetMetrics();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c91067cfdac72a5d81de2cdf5f94d97c\",\n \"score\": \"0.606761\",\n \"text\": \"boolean isResearchscale();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23b030c52fd947089fa5c8e0b00d5b7f\",\n \"score\": \"0.60521454\",\n \"text\": \"@NonNull\\n public ResolutionFeature getResolution() {\\n return (ResolutionFeature) Objects.requireNonNull(featureMap.get(RESOLUTION));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c78722e2552db792b0fc623d3113e577\",\n \"score\": \"0.60462785\",\n \"text\": \"@Override\\n /*@return String resolution, the resolution of the screen.*/\\n public String getResolution() {\\n return resolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b81c98ac378ce06de3fca5973b4b65e1\",\n \"score\": \"0.6045551\",\n \"text\": \"boolean hasMetadata();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b81c98ac378ce06de3fca5973b4b65e1\",\n \"score\": \"0.6045551\",\n \"text\": \"boolean hasMetadata();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4af5708671c701acf553053f95afbc55\",\n \"score\": \"0.6039318\",\n \"text\": \"boolean hasBuildMetrics();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4af5708671c701acf553053f95afbc55\",\n \"score\": \"0.6039318\",\n \"text\": \"boolean hasBuildMetrics();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c4d4f3e40a76fe5e485c0bbb121cb60\",\n \"score\": \"0.60180396\",\n \"text\": \"boolean hasMeasurand();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac2b33ce09eaabf9cd63c02dbaf34e74\",\n \"score\": \"0.5980854\",\n \"text\": \"boolean hasCustomMetric();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43ee49f58b7fd609375382211eb17b6e\",\n \"score\": \"0.5957254\",\n \"text\": \"boolean isThumbnailSeries();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44e93c6e4d49c92e50a122ce7773a199\",\n \"score\": \"0.59503907\",\n \"text\": \"boolean hasMetadataLocation();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca370efb1b2e958bb438f8b077b5875d\",\n \"score\": \"0.59289867\",\n \"text\": \"public boolean hasPackageMetrics() {\\n return packageMetrics_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d16c785c5679988f4c07f8539aa34f7\",\n \"score\": \"0.5921856\",\n \"text\": \"boolean hasThumbnail();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d16c785c5679988f4c07f8539aa34f7\",\n \"score\": \"0.5921856\",\n \"text\": \"boolean hasThumbnail();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b41f0d5c544f0098636f4956168305f\",\n \"score\": \"0.5918724\",\n \"text\": \"@Override\\r\\n\\tpublic boolean checkResolution() {\\n\\t\\tintoSecondLevel(2);\\r\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"648ee68f9fe2147a95ba28d4ad1b9248\",\n \"score\": \"0.5913458\",\n \"text\": \"public boolean hasMetricDimension() {\\n return fieldSetFlags()[0];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86576c2d4d6e6a2c4abf2406b9aafb78\",\n \"score\": \"0.5912567\",\n \"text\": \"boolean hasProperties();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e7a4a1d79c2473a300f49a629100de4\",\n \"score\": \"0.5904368\",\n \"text\": \"@Override\\n public boolean isSet() {\\n return publicationsLoaded;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fc7c82e0839befee17b8d1b854705a6\",\n \"score\": \"0.58799374\",\n \"text\": \"public void setResolution(int resolution) {\\n this.resolution = resolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d49b2f59b0f696ae7187da4ed11c21d3\",\n \"score\": \"0.58703667\",\n \"text\": \"public boolean hasMemoryMetrics() {\\n return memoryMetrics_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fd1b4c230447bed31c14644672e6010\",\n \"score\": \"0.58666444\",\n \"text\": \"public Boolean getDensityAvailable() {\\n\\t\\treturn getBoolean(KEY_DENSITY_AVAILABLE);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e59baf77cce1eee2ebb0ec192b8fecf7\",\n \"score\": \"0.58479375\",\n \"text\": \"default boolean isImage() {\\n return getHeight().isPresent();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efcff477f3fe8b6e723d3b38723863a7\",\n \"score\": \"0.58462\",\n \"text\": \"@Override\\n public boolean isSet() {\\n return attributionsLoaded;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fabf83606763743281d5a0e3f8dd3f3\",\n \"score\": \"0.58407485\",\n \"text\": \"@JsOverlay public final Boolean getDetectRetina() {\\n\\t\\treturn this.detectRetina;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21ede336d6eac5ac5e3a460ec00f73f8\",\n \"score\": \"0.5837743\",\n \"text\": \"private boolean useRegularPhotoSize() {\\n DisplayMetrics displaymetrics = new DisplayMetrics();\\n getActivity().getWindowManager().getDefaultDisplay().getRealMetrics(displaymetrics);\\n return displaymetrics.widthPixels > 1080;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af46b2877dc6c0d187bf0dac31fe48a0\",\n \"score\": \"0.5837062\",\n \"text\": \"boolean hasResource();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af46b2877dc6c0d187bf0dac31fe48a0\",\n \"score\": \"0.5837062\",\n \"text\": \"boolean hasResource();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af46b2877dc6c0d187bf0dac31fe48a0\",\n \"score\": \"0.5837062\",\n \"text\": \"boolean hasResource();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a39bec47e2ec4ab81c155ba8d877cefd\",\n \"score\": \"0.5836429\",\n \"text\": \"boolean hasMemoryMetrics();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c62ebbf557b849f5661e9b47a7df786\",\n \"score\": \"0.58296543\",\n \"text\": \"public boolean isThumbnail() {\\n return thumbnail;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f226e91b948bb55779efd669b1f603a\",\n \"score\": \"0.5800119\",\n \"text\": \"boolean hasImage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f226e91b948bb55779efd669b1f603a\",\n \"score\": \"0.5800119\",\n \"text\": \"boolean hasImage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f226e91b948bb55779efd669b1f603a\",\n \"score\": \"0.5800119\",\n \"text\": \"boolean hasImage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76746d53811b4deef66013c5c0efd115\",\n \"score\": \"0.5795371\",\n \"text\": \"private boolean isApplicable() {\\n return getProperty()!=null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56859f065f4b7ce759426381eb22ce6b\",\n \"score\": \"0.5794867\",\n \"text\": \"abstract public int getMinResolution();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37af32cab169a4ac6bff6f853cfade35\",\n \"score\": \"0.5776753\",\n \"text\": \"@java.lang.Override\\n public boolean hasProperty() {\\n return resourceCase_ == 2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffe3f3ea858cb13cd51f5a8912a13d7b\",\n \"score\": \"0.57741296\",\n \"text\": \"public boolean isSetThumbnailUrl() {\\n return this.thumbnailUrl != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19ba5e2489f13dcb79001558e6eee2bb\",\n \"score\": \"0.57735366\",\n \"text\": \"public Boolean getHasPicture() {\\n return hasPicture;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec8de53eb4c5406a6aa1a4f314da0207\",\n \"score\": \"0.5765249\",\n \"text\": \"boolean hasPicture();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"480ff499193d3e0f5f5bb818642cc9b5\",\n \"score\": \"0.5758472\",\n \"text\": \"boolean hasUsesMaterialProperty();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38550cb5b82209cd824c41e67ba04336\",\n \"score\": \"0.57564425\",\n \"text\": \"public TimeDuration getResolution() {\\n return resolution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeb01499bff26cdcae06c50ffece9928\",\n \"score\": \"0.5755434\",\n \"text\": \"public boolean isMetric()\\n\\t{\\n\\t\\treturn isMetric;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f12fa66f2c4e6da7f319d5bc9be9032\",\n \"score\": \"0.5755289\",\n \"text\": \"private boolean isScaled() {\\n\\t\\treturn isScaled;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01102d7d2229cd1c8d5f56f2de8ca5ce\",\n \"score\": \"0.57450193\",\n \"text\": \"boolean hasImageLocation();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32391f63077c5d2a8719f4699c5e4cac\",\n \"score\": \"0.5741044\",\n \"text\": \"@java.lang.Override\\n public boolean hasMetadata() {\\n return metadata_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32391f63077c5d2a8719f4699c5e4cac\",\n \"score\": \"0.5741044\",\n \"text\": \"@java.lang.Override\\n public boolean hasMetadata() {\\n return metadata_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04cb30fd009774940142e123627ac4d3\",\n \"score\": \"0.57359475\",\n \"text\": \"boolean hasAttributionSettings();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f466a762b2c8016ccf5d617673392533\",\n \"score\": \"0.57292217\",\n \"text\": \"public boolean isSetSizes() {\\n return this.sizes != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a680701ca34e7ca976c9fb8e6fed0ae\",\n \"score\": \"0.57271945\",\n \"text\": \"public boolean isSetImage() {\\n return this.image != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1202847a751eb9d2c201a6755e5f0ed\",\n \"score\": \"0.5725272\",\n \"text\": \"@java.lang.Override\\n public boolean hasProperty() {\\n return resourceCase_ == 2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bc88b3ca53da68d76e84b89cc5ec9d5\",\n \"score\": \"0.57143265\",\n \"text\": \"public boolean hasBitmap() {\\n return mBitmap != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbc54aecef5d35966768ae5a61dd281c\",\n \"score\": \"0.5713445\",\n \"text\": \"public boolean hasTargetMetrics() {\\n return targetMetrics_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d496e2a1131ff44b4fd198c6492c2636\",\n \"score\": \"0.5711239\",\n \"text\": \"boolean hasWidth();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"374645c6806ef2e38eae921c17dcda42\",\n \"score\": \"0.5700927\",\n \"text\": \"boolean hasFit();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2aea1d0f5974d9f701602fec897f0a63\",\n \"score\": \"0.5699255\",\n \"text\": \"public boolean isSetMetadata()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n return get_store().count_elements(METADATA$6) != 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c277cfdb1572f0ce0b7187c8810a484\",\n \"score\": \"0.5690836\",\n \"text\": \"public boolean hasImage() {\\n return _hasImage;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23fc52f01a0cb56b44ac8184fb94a01e\",\n \"score\": \"0.5684786\",\n \"text\": \"public boolean isResolved();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8feeb40af152423d007d019bf88a9051\",\n \"score\": \"0.5683672\",\n \"text\": \"public boolean hasPackageMetrics() {\\n return packageMetricsBuilder_ != null || packageMetrics_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95bbc84ab7a7b9beba8a869bb8e4960b\",\n \"score\": \"0.5681629\",\n \"text\": \"public boolean hasImgWidth() {\\n return ((bitField0_ & 0x00000004) == 0x00000004);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"611aa67180940504afa78b8e9a2bdbbc\",\n \"score\": \"0.5678397\",\n \"text\": \"boolean isSetQualityControlFlags();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e59b8568d601d35a8c53e94950f3782\",\n \"score\": \"0.567792\",\n \"text\": \"boolean hasInfo();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e59b8568d601d35a8c53e94950f3782\",\n \"score\": \"0.567792\",\n \"text\": \"boolean hasInfo();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1727b0868bfbd1397e2c9f83b0876570\",\n \"score\": \"0.5674355\",\n \"text\": \"public boolean isSetWidth() {\\n return __isset_vector[__WIDTH_ISSET_ID];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ab25526636afab65687aa7724f91e82\",\n \"score\": \"0.5672578\",\n \"text\": \"public boolean isSetStreamInfo() {\\n return this.streamInfo != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ab25526636afab65687aa7724f91e82\",\n \"score\": \"0.5672578\",\n \"text\": \"public boolean isSetStreamInfo() {\\n return this.streamInfo != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ab25526636afab65687aa7724f91e82\",\n \"score\": \"0.5672578\",\n \"text\": \"public boolean isSetStreamInfo() {\\n return this.streamInfo != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e087a8e01bf00581ebdea69548aa8efa\",\n \"score\": \"0.56709844\",\n \"text\": \"public boolean hasImgWidth() {\\n return ((bitField0_ & 0x00000004) == 0x00000004);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2f230cf592b639101b4add65fe58caa\",\n \"score\": \"0.56613714\",\n \"text\": \"private boolean needResize() {\\n int current_orientation = this.getResources().getConfiguration().orientation;\\n if ( last_orientation != current_orientation ) {\\n return true;\\n }\\n if ( last_video_nb != mediaStreams.size() ) {\\n return true;\\n }\\n for (MediaStream media : mediaStreams) {\\n float ratio = media.getVideoRatio();\\n SurfaceView view = media.getRender();\\n float current_ratio = (float)view.getWidth() / view.getHeight();\\n if ( (int)(ratio *100) != (int)(current_ratio *100) ) {\\n return true;\\n }\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c3729290f5216bc17f02f2623b57c56\",\n \"score\": \"0.56600064\",\n \"text\": \"boolean hasRatePerMeter();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"938a7362dbd95308566b588b5c2e5a0c\",\n \"score\": \"0.56535953\",\n \"text\": \"public boolean isCacheImageMetadata() {\\n\\t\\treturn cacheImageMetadata;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00c57011313cd8c2eaa5866bfed7dc74\",\n \"score\": \"0.5647443\",\n \"text\": \"boolean hasStat();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc4d29e45aa2dce44c4a28863416be2e\",\n \"score\": \"0.5644764\",\n \"text\": \"boolean hasProperty();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a1c4dd29ff8a67d18fd95d2b5a728e5\",\n \"score\": \"0.5644099\",\n \"text\": \"boolean hasAttribute();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3552e4f09dcd07eba29620de735cdca9\",\n \"score\": \"0.5641612\",\n \"text\": \"public void setResolution(Point resolution) {\\n\\t\\t\\n\\t\\tthis.resolution = resolution;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd48cf3350e5817bfc10e16ec4b92f84\",\n \"score\": \"0.5636065\",\n \"text\": \"boolean isMetadataComplete();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70b8e7fa9f6a552aeafec02c39dd377d\",\n \"score\": \"0.56287235\",\n \"text\": \"public boolean hasQuality() {\\n return ((bitField0_ & 0x00000200) == 0x00000200);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":854,"cells":{"query_id":{"kind":"string","value":"2b0c9c7aaa35756e8ff4d6a7a9d53ce3"},"query":{"kind":"string","value":"Called when R key is pressed from main menu. Displays how much money is in the restaurant's cash register."},"positive_passages":{"kind":"list like","value":[{"docid":"0be0d79ff186dd95e141ea1e7560e5e7","score":"0.7011995","text":"private void cashRegister() {\n\t\tSystem.out.println(\"Money in the cash register: \" + restaurant.getCashRegister());\n\t}","title":""}],"string":"[\n {\n \"docid\": \"0be0d79ff186dd95e141ea1e7560e5e7\",\n \"score\": \"0.7011995\",\n \"text\": \"private void cashRegister() {\\n\\t\\tSystem.out.println(\\\"Money in the cash register: \\\" + restaurant.getCashRegister());\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ce9bcbbd9b161899f55a5e7c7d7b420a","score":"0.62749773","text":"@Override\n public void displayMenu(){\n System.out.println(\"CREDIT CARD PAYMENT HAS BEEN APPROVED\");\n System.out.println(\"\\t FUEL MENU\");\n System.out.println(\"ENTER 6 for SUPER\");\n System.out.println(\"ENTER 7 for REGULAR\");\n System.out.println(\"ENTER 5 for CANCELLING TRANSACTION\");\n }","title":""},{"docid":"10951d4e63ed9bb755af4929860d2f30","score":"0.6143527","text":"public static void displayMenu()\n\t{\n\t\t\n\t\tString username;\n\t\tScanner keyboard = new Scanner(System.in);\n\t\tSystem.out.print(\"Please enter your name: \");\n\t\tusername = keyboard.nextLine();\n\t\n\t\tSystem.out.println(\"\\nWelcome to The Java Byte Code Coffee Shop, \" + username + \"!\");\n\t\tSystem.out.println(\"Here is our menu: \\n\");\n\t\tSystem.out.println(\"1. Coffee $1.50\");\n\t\tSystem.out.println(\"2. Latte $3.50\");\n\t\tSystem.out.println(\"3. Cappuccino $3.25\");\n\t\tSystem.out.println(\"4. Espresso $2.00\\n\");\n\t\t\n\t\tgetItemNumber();\t\t\n\t\tSystem.out.println(\"\\nThank you, \" + username + \"! Please stop by again!\\n\");\n\t}","title":""},{"docid":"bb3bff02f8c8f6f410997b53cb252934","score":"0.5929959","text":"private void displayMenuOfAccounts() {\n\t\tAccount inputSheet;\n\t\tint inputAccNum, inputPinNum;\n\t\tdouble inputAvBalance, inputDeposito;\n\t\tString inputDesc;\n\t\t\n\t\t // display the add cash menu\n\t\tscreen.displayMessageLine(\"\\nAdd Account Menu:\");\n\t\tscreen.displayMessageLine(\"1 - Add Account Nasabah\");\n\t\tscreen.displayMessageLine(\"2 - Add Account Admin\");\n\t\tscreen.displayMessageLine(\"3 - Cancel Transaction\");\n\t\tscreen.displayMessage(\"\\nChoose option menu: \");\n\t\t\n\t\t int input = keypad.getInput(); // get user input through keypad\n\t\t // determine how to proceed based on the input value\n\t\t switch (input) {\n\t\t \tcase 1: // do add account number nasabah process\n\t\t \tcase 2: // do add account number admin process\t\n\t\t \t\tscreen.displayMessage(\"Input account number:\");\t\t \t\t\n\t\t \t\tinputAccNum = keypad.getInput(); // input acc number\n\t\t\t\t\n\t\t\t\t// validation input account number\n\t\t\t\tstatusAdd = inputAccountNumberValidation(inputAccNum);\n\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\tscreen.displayMessage(\"Input pin number:\");\t\t \t\t\n\t\t\t\t\tinputPinNum = keypad.getInput(); // input pin number\n\t\t\t\t\t\n\t\t\t\t\t// validation pin number\n\t\t\t\t\tstatusAdd = pinNumberValidation(inputPinNum);\n\t\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\t\tif(input==1) { // for add account nasabah process\n\t\t\t\t\t\t\tscreen.displayMessage(\"Input available balance:\");\t\t \t\t\n\t\t\t\t\t\t\tinputAvBalance = keypad.getInput(); // input available balance\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// validation available balance\n\t\t\t\t\t\t\tstatusAdd = availableBalanceValidation(inputAvBalance);\n\t\t\t\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\t\t\t\tscreen.displayMessage(\"Input deposit fund:\");\t\t \t\t\n\t\t\t\t\t\t\t\tinputDeposito = keypad.getInput(); // input deposito\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// validation deposit fund\n\t\t\t\t\t\t\t\tstatusAdd = depositFundValidation(inputDeposito);\n\t\t\t\t\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\t\t\t\t\tscreen.displayMessage(\"Input description Account:\");\t\t \t\t\n\t\t\t\t\t\t\t\t\tinputDesc = keypad.getInputString(); // input deskripsi account\n\t\t\t\t\t\t\t\t\tinputSheet = new Account(inputAccNum, inputPinNum, inputAvBalance, inputDeposito, \n\t\t\t\t\t\t\t\t\t\t\tinputDesc, ROLE_INDIVIDUAL_CUSTOMER, STATUS_ACC_ACTIVE);\n\t\t\t\t\t\t\t\t\taccAdded = inputSheet;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}else { // for add account admin\n\t\t\t\t\t\t\tscreen.displayMessage(\"Input description Account:\");\t\t \t\t\n\t\t\t\t\t\t\tinputDesc = keypad.getInputString(); // input deskripsi account\n\t\t\t\t\t\t\t// available balance dan deposito diisi dengan nol\n\t\t\t\t\t\t\tinputSheet = new Account(inputAccNum, inputPinNum, 0, 0, inputDesc, ROLE_ADMIN, STATUS_ACC_ACTIVE);\n\t\t\t\t\t\t\taccAdded = inputSheet;\n\t\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t \t\tbreak; \n\t\t \tcase ADD_ACCOUNT_CANCELED: // the user chose to cancel\n\t\t \t\tstatusAdd = ADD_ACCOUNT_CANCELED; // save user's choice\n\t\t \t\tbreak;\n\t\t \tdefault: // the user did not enter a value from 1-2\n\t\t \t\tstatusAdd = ADD_ACCOUNT_ERROR_INPUT_MENU;\n\t\t\t} \n\t }","title":""},{"docid":"708d224fde6922c3a1f0756ac75a1055","score":"0.5799708","text":"void enter() {\r\n // set display to digit in event\r\n int digit = calcController.digitsController.getDigit((Button) lastEvent.getSource());\r\n calcController.display.setText(digit + \"\");\r\n\r\n // enable equals button\r\n calcController.resController.enableEquals();\r\n\r\n // enable operator buttons\r\n calcController.opsController.enableOperators();\r\n }","title":""},{"docid":"5c8f55e2a870392787cb469584b3e10d","score":"0.57724863","text":"public void displayPurchaseMainMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Monash Fruit & Vegetables ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. search product by product id\");\n System.out.println(\"2. search product by name\");\n System.out.println(\"3. search product by type\");\n System.out.println(\"4. search product by location\");\n System.out.println(\"5. view the entire product list\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"-----------------------------------\");\n }","title":""},{"docid":"1ec4e05139e5895b379d8c33cd499dd7","score":"0.5755344","text":"public void run() {\n\n boolean runVendingMachine = true;\n\n //Prompt X Amount of Money\n String usersMoneyAmount = InsertMoneyPrompt();\n //Inventory\n //POPCORN A1 $1.00\n int popcornInventory = 3;\n //PEPSI B8 $1.25\n int pepsiInventory = 1;\n //HERSHEYS G4 $2.00\n int hersheyInventory = 6;\n //SNICKERS F9 $0.90\n int snickersInventory = 6;\n\n while (runVendingMachine) {\n\n displayMenu();\n String menuSelection = recordSelection();\n\n switch (menuSelection) {\n //POPCORN A1 $1.00\n //PEPSI B8 $1.25\n //HERSHEYS G4 $2.00\n //SNICKERS F9 $0.90\n case \"A1\":\n\n //Popcorn\n //variable processes transaction and returns result\n if (popcornInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = popcornINVENTORY(usersMoneyAmount, popcornInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n popcornInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n popcornInventory--;\n }\n\n }\n\n break;\n case \"B8\":\n //Pepsi\n\n if (pepsiInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = pepsiINVENTORY(usersMoneyAmount, popcornInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n pepsiInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n pepsiInventory--;\n }\n\n }\n break;\n case \"G4\":\n //hersheys\n if (hersheyInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = hersheysINVENTORY(usersMoneyAmount, hersheyInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n hersheyInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n hersheyInventory--;\n }\n\n }\n break;\n case \"F9\":\n //snickers\n if (snickersInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = snickersINVENTORY(usersMoneyAmount, snickersInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n snickersInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n snickersInventory--;\n }\n\n }\n break;\n \n default:\n //error\n runVendingMachine = false;\n\n }\n\n }\n GBye();\n }","title":""},{"docid":"eaf2ff23439b3595f96a94cfeda339f4","score":"0.574543","text":"public void showMenu() {\n char option = '\\0';\n Scanner in = new Scanner(System.in);\n System.out.println(\"Welcome \" + customerName + \"!\");\n System.out.println(\"Your ID is: \" + customerID);\n System.out.println();\n System.out.println(\"What would you like to do?\");\n System.out.println();\n System.out.println(\"A. Check balance\");\n System.out.println(\"B. Make a deposit\");\n System.out.println(\"C. Make a withdrawal\");\n System.out.println(\"D. View previous transaction\");\n System.out.println(\"E. Calculate interest\");\n System.out.println(\"F. Exit\");\n \n do {\n System.out.println();\n System.out.println(\"Enter an option: \");\n char inValue = in.next().charAt(0);\n option = Character.toUpperCase(inValue);\n System.out.println();\n \n switch(option) {\n //option A will return a user's balance\n case 'A' :\n System.out.println(\"=============================\");\n System.out.println(\"Balance: $\" + balance);\n System.out.println(\"=============================\");\n System.out.println();\n break;\n //option B will allow a user to make a deposit to their account\n case 'B' :\n System.out.println(\"Enter the amount you will deposit: \");\n int toDeposit = in.nextInt();\n deposit(toDeposit);\n System.out.println();\n break;\n //option C will allow a user to make a withdrawal from their account\n case 'C' :\n System.out.println(\"Enter the amount you will withdraw: \");\n int toWithdraw = in.nextInt();\n withdraw(toWithdraw);\n System.out.println();\n break;\n //option D will show a user the previous transaction\n case 'D' :\n System.out.println(\"=============================\");\n getPreviousTransaction();\n System.out.println(\"=============================\");\n System.out.println();\n break;\n //will prompt for a number of years and return accrued interest for that time frame\n case 'E' :\n System.out.println(\"Enter number of years of accrued interest: \");\n int yearsAccrued = in.nextInt();\n calculateInterest(yearsAccrued);\n break;\n //will exit the application\n case 'F' :\n System.out.println(\"=============================\");\n break;\n //default: invalid character error message\n default :\n System.out.println(\"Error: invalid option. Please enter A, B, C, D, E, or F to exit.\");\n break;\n }\n } while(option != 'F');\n \n System.out.println(\"Thank you for banking with us!\");\n }","title":""},{"docid":"a963aacced4a992f14cfc3962183800b","score":"0.5737255","text":"public void showCredit(){\n\n\t\t((TextView)findViewById(R.id.tv_total_credit)).setText(AppSharedPreference.getInstance(this).getTotalCredit());\n\t}","title":""},{"docid":"efa4c06f74f3ea97fbf3f3594bf49edb","score":"0.5716129","text":"private static void withdraw ( ) {\r\n user2 user = new user2();\r\n\r\n Main main = new Main();\r\n\r\n Scanner reader = new Scanner(System.in);\r\n\r\n System.out.println ( );\r\n\r\n System.out.print(\"Amount : \");\r\n\r\n long userdeposit = reader.nextLong ();\r\n\r\n user2.accountbalence -= userdeposit;\r\n\r\n System.out.println ( );\r\n\r\n System.out.println (\"Current balence : \" + user2.accountbalence + '$');\r\n\r\n System.out.println ( );\r\n\r\n smenu();\r\n }","title":""},{"docid":"bc22069db1f6cf3e1442c7ae9e663297","score":"0.5714732","text":"public void input()\r\n\t{\r\n\t\tSystem.out.println(\"Hello costumer. Welcome to my cash register \" +\r\n\t\t\t\t\"program. What would you like to buy today? \");\r\n\t\titem = scan.nextLine();\r\n\t\tSystem.out.println(\"How much does the \"+item+\" cost?\");\r\n\t\toriginalCost = scan.nextInt();\r\n\t\tscan.nextLine();\r\n\t}","title":""},{"docid":"8ef5fce98c2bc6985a3de0111bb7f2d5","score":"0.5714523","text":"@Override\r\n public void keyReleased(KeyEvent e) {\n String str13=t5_amount_recieved.getText();\r\n \r\n if(str13.equals(\"\"))\r\n {\r\n t6_due_amount.setText(\"\");\r\n }\r\n int no1=Integer.parseInt(str13);\r\n \r\n System.out.println(\"no1 is:\"+no1);\r\n \r\n //STR14 IS USED TO STORE RECIEVED TOTAL\r\n String str14=t4_net_total.getText();\r\n int no2=Integer.parseInt(str14);\r\n System.out.println(\"no2 is:\"+no2);\r\n \r\n int no=no1-no2;\r\n System.out.println(\"no is:\"+no);\r\n \r\n //STR15 IS USED TO STORE DUE AMOUNT\r\n String str15=Integer.toString(no);\r\n t6_due_amount.setText(str15);\r\n }","title":""},{"docid":"c8dccdbc0dbb105aaf190c22984ae94c","score":"0.563721","text":"public void printMenu()\n\t{\n\t\tSystem.out.println(\"--------------------------------\");\n\t\tSystem.out.println(\"| Welcome To Huge Bank |\");\n\t\tSystem.out.println(\"| \\t MAIN MENU \\t |\");\n\t\tSystem.out.println(\"-------------------------------\");\n\t\tSystem.out.println(\"| Enter 1 To Get Balance |\");\n\t\tSystem.out.println(\"| Enter 2 To Deposit Money |\");\n\t\tSystem.out.println(\"| Enter 3 To Make A Withdrawl |\");\n\t\tSystem.out.println(\"| Enter 4 To Exit |\");\n\t\tSystem.out.println(\"| Enter 5 To Change Pin |\");\n\t\tSystem.out.println(\"--------------------------------\");\n\t\t\n\t}","title":""},{"docid":"4b7e93a3c3538a04f7886524238a263e","score":"0.5608749","text":"public void updateCash(double cost){\n\t\tcashInRegister = cost + cashInRegister;\n\t\tSystem.out.println(\"The cashregister now contains \"+cashInRegister+\" $\");\n\t}","title":""},{"docid":"fcdaeb9f4796e7cf7668d881f9b52c30","score":"0.5604286","text":"public void displayMenu()\n\t{\n\t\tSystem.out.println(\"===== Vending Machine Menu =====\");\n\t\tSystem.out.println(\" 1. Water............$1.50\");\n\t\tSystem.out.println(\" 2. Regular Coffee...$2.00\");\n\t\tSystem.out.println(\" 3. Sun Chip.........$1.00\");\n\t\tSystem.out.println(\" 4. Chocolate Bar....$2.50\");\n\t}","title":""},{"docid":"b1be3a38f62f1a1c05046332ee0a4f26","score":"0.5591501","text":"public static void displayMenu() {\n System.out.printf(\"%s%s%s%s\",\n \"(1) Convert Celsius to Fahrenheit\\n\",\n \"(2) Convert Fahrenheit to Celsius\\n\",\n \"(3) Exit\\n\",\n \"Please choose: \");\n }","title":""},{"docid":"d0293ea5352235532b5dd4d5da200243","score":"0.5579873","text":"private void display() {\r\n\r\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\r\n\r\n quantityTextView.setText(\"\" + this.amount);\r\n\r\n }","title":""},{"docid":"e0c32731280af8dcc78990a0fea8b323","score":"0.5566935","text":"public void ClientView () {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint ch = 0;\n\t\twhile (ch != 4) {\n\t\tSystem.out.println(\"Please make a selection:\");\n\t\tSystem.out.println(\"1. Deposit money.\\n\");\n\t\tSystem.out.println(\"2. Withdraw money.\\n\");\n\t\tSystem.out.println(\"3. Check balance.\\n\");\n\t\tSystem.out.println(\"4. Logout and exit. \");\n\t\tch = sc.nextInt();\n\t\t\n\t/*\tswitch(ch) {\n\t\tcase:\n\t\tcase:\n\t\tcase:\n\t\tcase:\n\t\t}*/\n\t\tsc.close();\n\t}\n\n\t\t\n\t}","title":""},{"docid":"16a6ddcf74ee7f2c708a50ec8014d11d","score":"0.5546508","text":"@Override\r\n public void showContent() {\n double value = Console.readDouble(\"Amount:\");\r\n BigDecimal amount = new BigDecimal(value);\r\n \r\n String description = Console.readLine(\"Description:\");\r\n \r\n controller.registerSaving(amount, description);\r\n \r\n System.out.println(\"Savings registered.\");\r\n }","title":""},{"docid":"759ccfed4da7da58cb364ee065af62e0","score":"0.55343705","text":"public double moneyRemaining(){\n var newMonTrack = new MoneyTracker(2,2);\n // to check if the user has entered money into option 1\n if(newMonTrack.getRemainingTotal() == 0){\n System.out.println(\"You have not calculated your expenditure, go back to option 1\");\n // set default values, have no use here\n var newMenu = new MainMenu(2,2);\n newMenu.startMainMenu();\n }\n return newMonTrack.getRemainingTotal();\n }","title":""},{"docid":"ecd800e67807a8a95cd61b9fe4ec6318","score":"0.5501399","text":"private static String getDollarsEntered()\n {\n return JOptionPane.showInputDialog(null, \"How much money would you like to invest?\");\n }","title":""},{"docid":"d59a58b948c6b93525f6c0d1588effd8","score":"0.54883623","text":"public void showMenu() {\n char option = '\\0'; // just to initialize options with a value, could have used anything or nothing?\n Scanner scanner = new Scanner(System.in);\n\n System.out.println(\"Welcome \" + this.customerName);\n System.out.println(\"Your ID is \" + this.customerId);\n System.out.println(\"\\n\");\n System.out.println(\"A. Check Balance\");\n System.out.println(\"B. Deposit\");\n System.out.println(\"C. Withdraw\");\n System.out.println(\"D. Previous transaction\");\n System.out.println(\"E. Exit\");\n\n do {\n System.out.println(\"===========================================================================\");\n System.out.println(\"Enter an option\");\n System.out.println(\"===========================================================================\");\n option = scanner.next().charAt(0);\n System.out.println(\"\\n\");\n\n switch (option) {\n case 'A':\n System.out.println(\"----------------------------\");\n System.out.println(\"Balance: \" + this.balance);\n System.out.println(\"----------------------------\");\n System.out.println(\"\\n\");\n break;\n case 'B':\n System.out.println();\n System.out.println(\"----------------------------\");\n System.out.println(\"Enter an amount to deposit:\");\n System.out.println(\"----------------------------\");\n int amount = scanner.nextInt();\n deposit(amount);\n System.out.println(\"\\n\");\n break;\n case 'C':\n System.out.println(\"----------------------------\");\n System.out.println(\"Enter an amount to withdraw:\");\n System.out.println(\"----------------------------\");\n int amountToWithdraw = scanner.nextInt();\n withdraw(amountToWithdraw);\n System.out.println(\"\\n\");\n break;\n case 'D':\n System.out.println(\"----------------------------\");\n getPreviousTransaction();\n System.out.println(\"----------------------------\");\n System.out.println(\"\\n\");\n break;\n case 'E':\n System.out.println(\"*****************************\");\n break;\n default:\n System.out.println(\"Invalid option: please enter another option\");\n break;\n }\n } while (option != 'E');\n }","title":""},{"docid":"e20b3b25d1f26d482da8be7993780b99","score":"0.5480131","text":"private void displayMenu() {\n System.out.println(\"\\nPlease select a command:\");\n System.out.println(\"purchase) Buy a book for the library from these search results\");\n System.out.println(\"search) Search the store again\");\n System.out.println(\"return) Return to main menu\");\n }","title":""},{"docid":"ed8ad92c245ccede095005b1ef261f19","score":"0.5452029","text":"public static void displayMainMenu() {\n\t\tSOP(\"Main Menu: \");\n\t\tSOP(\"\\t1 - Add A Car\");\n\t\tSOP(\"\\t2 - Update A Car\");\n\t\tSOP(\"\\t3 - Remove A Car\");\n\t\tSOP(\"\\t4 - Retrieve the Lowest Priced Car\");\n\t\tSOP(\"\\t5 - Retrieve the Lowest Milage Car\");\n\t\tSOP(\"\\t6 - Retrieve the Lowest Priced Car by Make and Model\");\n\t\tSOP(\"\\t7 - Retrieve the Lowest Milage Car by Make and Model\");\n\t\tSOP(\"\\t8 - Exit\");\n\t\tSOP(\"\\t9 - Print ALL Cars\");\n\t\t\n\t}","title":""},{"docid":"f562d7b7dc23045efaaeacec26571c3f","score":"0.5431343","text":"public void credit(){\n\t\tSystem.out.println(\"Amount credited\");\n\t}","title":""},{"docid":"af6336ff13e57415d44dff67999dc442","score":"0.5427627","text":"@Override\n\tpublic void printMenu() {\n\t\t\n\t\t\n\t\tSystem.out.println(\"[1] Market\\n\");\n\t\t//System.out.println(\"[2] Land on Planet\");\n\t\tSystem.out.println(\"[3] Ship Status\");\n\t\tSystem.out.println(\"[4] Return to orbit\");\n\t\t\n\t\t\n\t\tif (mainMenu.userInput.hasNextInt()) {\n\t\t\tint choice = mainMenu.userInput.nextInt();\n\t\t\t\n\t\t\tswitch (choice) {\n\t\t\t\n\t\t\t\tcase 1:\t// Menu State -> Travel Menu\n\t\t\t\t\t\n\t\t\t\t\tmainMenu.setMenuState(mainMenu.marketMenu);\n\t\t\t\t\tbreak;\n\t\t\t\n\t\t\t\t//case 2: // Menu State -> Station Menu\n\t\t\t\t\t\n\t\t\t\t\t//mainMenu.setMenuState(mainMenu.stationMenu);\n\t\t\t\t\t//break;\n\t\t\t\t\t\n\t\t\t\tcase 3: // Menu State -> Status Menu\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tmainMenu.shipService.showStatus();\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 4: \n\t\t\t\t\t\n\t\t\t\t\tmainMenu.setMenuState(mainMenu.orbitMenu);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.out.println(\"Invalid Input\");\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t}","title":""},{"docid":"4b91dd9df499034a3fb98789669b5dec","score":"0.54252523","text":"public static void displayMenuUser() {\n\t\tSystem.out.println(\"\\n\");\n\t\tSystem.out.println(\"*******************************\");\n\t\tSystem.out.println(\"*** PRS Console Application ***\");\n\t\tSystem.out.println(\"*******************************\");\n\t\tSystem.out.println(\"1.) View my Account\");\n\t\tSystem.out.println(\"2.) Update My Account/Password\");\n\t\tSystem.out.println(\"3.) View Available Products\");\n\t\tSystem.out.println(\"4.) View my Open Purchase Requests\");\n\t\tSystem.out.println(\"5.) Create a New Purchase Request\");\n\t\tSystem.out.println(\"6.) Update My Purchase Requests\");\n\t\tif (loginUser.isReviewer()) {\n\t\t\tSystem.out.println(\"7.) Approve Purchase Requests\");\n\t\t\tSystem.out.println(\"8.) Exit\");\n\t\t} else {\n\t\t\tSystem.out.println(\"7.) Exit\");\t\n\t\t}\n\t\tSystem.out.println();\n\t}","title":""},{"docid":"0f68b56721c1535c676e66399c2f828c","score":"0.54149276","text":"static void take()\n {\n System.out.println(\"I gave you $\" + moneySupply);\n moneySupply = 0;\n System.out.println();\n }","title":""},{"docid":"5153a1bc945f78683a1b3ff2137c3c5b","score":"0.5407753","text":"public static void printMenuList(){\r\n\t\tmenu = RestaurantManager.getMenuItems(); //get menu items from RestaurantManager and save them to attribute.\r\n\t\tprices = RestaurantManager.getPrices(); // get prices from RestaurantManager and save them to attribute.\r\n\t\tString prompt = \"[T] Total\\n\" + \"[P] Payment\\n\" + \"[M] DisplayMenus\\n\" + \"[E] Exit\";\r\n\t\tSystem.out.println(\"--------- Welcome to SKE Restaurant ---------\");\r\n\t\tfor (int i = 0; i= 12){\n nombreTotalCereale -= 12;\n Money.setTotalMoney(Money.getTotalMoney() + 10);\n }\n else\n System.out.println(\"You don't have enough cereals to sell for money.\");\n }","title":""},{"docid":"b745937bc8a8df8bebf324902be0ad0b","score":"0.53618515","text":"public static void cdReturning() {\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"\\t\\t +-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+\" + \"\\n\"\n\t\t\t\t+ \"\\t\\t |C|D| |R|e|t|u|r|n|i|n|g| |M|e|n|u|\" + \"\\n\"\n\t\t\t\t+ \"\\t\\t +-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+\");\n\t\tSystem.out.println(\"\");\n\n\t\tdo {\n\n\t\t\tSystem.out.println(\"Enter CD number: \");\n\t\t\tint item_number = sc.nextInt();\n\t\t\trentList.remove(item_number);\n\n\t\t\tSystem.out.println(\"Your cd returning was recorded successfully!\");\n\t\t\tdo {\n\t\t\t\tSystem.out.println(\"Return anthor cd? yes/no\");\n\t\t\t\tconfirmation = sc.next();\n\t\t\t\tif (!(confirmation.equalsIgnoreCase(\"yes\") || confirmation\n\t\t\t\t\t\t.equalsIgnoreCase(\"no\")))\n\t\t\t\t\tSystem.out.println(\"Invalid input. Enter yes/no\");\n\t\t\t} while (!(confirmation.equalsIgnoreCase(\"yes\") || confirmation\n\t\t\t\t\t.equalsIgnoreCase(\"no\")));\n\t\t} while (!confirmation.equalsIgnoreCase(\"no\"));\n\t}","title":""},{"docid":"8dd86ef04a6ed3896ce86e9c9ce1e0a6","score":"0.5350508","text":"public void MenuElige(){\n System.out.println(\"\");\n System.out.println(\"Elige una de las dos cuentas introduciendo su número: \");\n System.out.println(\"1) Cuenta 1.\");\n System.out.println(\"2) Cuenta 2.\"); \n }","title":""},{"docid":"eea14b6f081adaf7032192df2a3c14af","score":"0.5347621","text":"public void onKeyPress(Widget sender, char keyCode, int modifiers) {\n switch (keyCode) {\n case 13:\n updatePV(pv);\n break;\n case 27:\n box.setText(pv.getValue().getValue());\n break;\n }\n }","title":""},{"docid":"3f22344c8bdbaab514785ec79c63a3d1","score":"0.53390473","text":"int startCash();","title":""},{"docid":"136c2b137e451de3be532d6dbb89a732","score":"0.5324597","text":"public void displayAccountManageMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Account Manage Menu ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. edit account\");\n System.out.println(\"2. unregister\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"-----------------------------\");\n }","title":""},{"docid":"bacfbabdff533fc7301b593a6ffa7178","score":"0.5324015","text":"public void mainMenu(){\n this.printer.printTitle(\"Main Menu\");\n System.out.println(\"To make an donation press 1\");\n System.out.println(\"To view donations press 2\");\n System.out.println(\"To view Projects press 3\");\t\n System.out.println(\"To exit press 4\");\n if (!this.checkInputViolations(Arrays.asList(1,2,3,4))){\n int numbericInput = Integer.parseInt(this.input);\n switch(numbericInput){\n case 1:\n //donor makes donation \n this.makeDonation();\n break;\n case 2:\n viewDonations();\n break;\n case 3:\n this.viewprojectScreen();\n break;\n case 4:\n System.out.println(\"System now turning off. Thank you for using our service.\");\n this.teminate = true;\n break;\n }\t\t\n }else{\n this.mainMenu();\n }\n\n }","title":""},{"docid":"a0d2558c44c6314d27464fade77375f2","score":"0.53081656","text":"private void OnItemFound(ActionEvent e) {\r\n\t\tString itemSelected = dialog.getSelectedItem();\r\n\t\tdialog.setVisible(false);\r\n\t\tdialog.dispose();\r\n\t\tItem selectedItem = inventoryManager.RetrieveItem(itemSelected);\r\n\t\tif(selectedItem == null) {\r\n\t\t\tJOptionPane.showMessageDialog(null,\"Could not find item \" + itemSelected + \" in inventory.\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif(selectedItem.isAlcohol() && !cart.isAuthorizedToBuyAlcohol()) {\r\n\t\t\tString result = \"\";\r\n\t\t\twhile(result != null && !result.equals(\"1234\")) {\r\n\t\t\t\tresult = CashierAlcoholAuthorization();\r\n\t\t\t}\r\n\t\t\tif(result == null) { //Cacher check was cancelled return\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tcart.setAuthorizedToBuyAlcohol(true);\r\n\t\t}\r\n\t\tcart.AddItem(selectedItem);\r\n\t\tString currentItemText = String.format(\"Scanned %s $ %.2f\",selectedItem.getName(),selectedItem.getPrice());\r\n\t\tJLabel l = this.scanItemsView.getCurrentItem();\r\n\t\tl.setText(currentItemText);\r\n\t\tthis.scanItemsView.AddItemFromCart(selectedItem);\r\n\t\tdouble total = cart.Total();\r\n\t\tthis.scanItemsView.getTotalAmount().setText(String.format(\"$%.2f\",total));\r\n\t\tthis.scanItemsView.getBtnPay().setText(String.format(\"Pay $%.2f\",cart.SubTotal() ));\r\n\t\t//l.paintImmediately(l.getVisibleRect());\r\n\t}","title":""},{"docid":"5d6f6019433b67656d83f9e6a1332ffa","score":"0.5306352","text":"public void printReturnToMenu() {\n System.out.println();\n System.out.println();\n System.out.println(\"Returning to main menu...\");\n System.out.println(\"Enter \\\"p\\\" to review menu options\");\n System.out.println();\n System.out.println();\n }","title":""},{"docid":"2bd9c4ef405cf1abd40463975deeb706","score":"0.52988845","text":"@Override\r\n\tpublic void keyPress(int key) {\n\t\tif(key==KeyEvent.VK_3){\r\n\t\t\tGameCharacter.getInventory().addItem(Items.KEYCRYSTAL, 1);\r\n\t\t}\r\n\t\tif (key == KeyEvent.VK_8) {\r\n\t\t\ttoggleLagPrevention();\r\n\t\t} else if (key == KeyEvent.VK_J) {\r\n\t\t\tif (pointedPoint == null) {\r\n\r\n\t\t\t\tpointedPoint = MouseInfo.getPointerInfo().getLocation();\r\n\t\t\t} else\r\n\t\t\t\tpointedPoint = null;\r\n\t\t}\r\n\t\tif (key == Preferences.CHAR_CHANGE() && state != State.NPC && GameCharacter.storyInt > 3)\r\n\t\t\tswitching = true;\r\n\t\telse if (key == KeyEvent.VK_EQUALS)\r\n\t\t\tJOptionPane.showMessageDialog(owner, Preferences.getControls(), DigIt.NAME, JOptionPane.INFORMATION_MESSAGE);\r\n\r\n\t\telse if (state != State.NPC && key == KeyEvent.VK_ESCAPE) {\r\n\r\n\t\t\tif (state != State.DEAD && state != State.LOADING)\r\n\t\t\t\tsetState(State.PAUSED);\r\n\t\t\towner.quit(false);\r\n\t\t}\r\n\t\tswitch (state) {\r\n\t\tcase NPC:\r\n\t\t\tif (key == Preferences.NPC())\r\n\t\t\t\tcurrent.exit();\r\n\r\n\t\t\tbreak;\r\n\r\n\t\tcase PAUSED:\r\n\t\t\tpausedHandler(key);\r\n\t\t\tbreak;\r\n\r\n\t\tcase INGAME:\r\n\r\n\t\t\tif (key == Preferences.PAUSE()) {\r\n\t\t\t\tsetState(State.PAUSED);\r\n\t\t\t\trepaint();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tingameHandler(key);\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\t// repaint();\r\n\t}","title":""},{"docid":"6cba6c8757960e490f267e79f5fc5285","score":"0.528794","text":"public void doChangeRate() {\r\n System.out.println(\"Enter the new rate of charge ($/hour):\");\r\n rate = input.nextDouble();\r\n parkingList.setRate(rate);\r\n\r\n System.out.println(\"The rate has been set to \" + rate + \" $/hour\");\r\n }","title":""},{"docid":"d635778e8556dd4eee3bcd288347d6db","score":"0.5287807","text":"public static void rentCd() {\n\t\tString confirm = \"no\"; // database\n\t\tdo {\n\t\t\tint y = 0;\n\t\t\tSystem.out.println(\" \");\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"\\t\\t +-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+\"\n\t\t\t\t\t\t\t+ \"\\n\"\n\t\t\t\t\t\t\t+ \"\\t\\t |C|D| |R|e|n|t|a|l| |I|n|f|o|r|m|a|t|i|o|n|\"\n\t\t\t\t\t\t\t+ \"\\n\"\n\t\t\t\t\t\t\t+ \"\\t\\t +-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+\");\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.print(\"Enter the CD number: \");\n\t\t\tint itemNumber = sc.nextInt();\n\t\t\ttry {\n\t\t\t\tcdList.get(itemNumber);\n\t\t\t} catch (java.lang.IndexOutOfBoundsException e) {\n\t\t\t\tSystem.out.println(\"CD not found!\");\n\t\t\t\tconfirm = \"yes\";\n\t\t\t}\n\t\t\tSystem.out.print(\"Enter item type (weekly/overnight): \");\n\t\t\tString itemType = sc.next();\n\t\t\tSystem.out.print(\"Enter borrower name: \");\n\t\t\tsc.nextLine();\n\t\t\tString borrowerName = sc.nextLine();\n\t\t\tSystem.out.print(\"Enter borrower address: \");\n\t\t\tString borrowerAddress = sc.nextLine();\n\t\t\tSystem.out.print(\"Enter borrower mobile Number: \");\n\n\t\t\tdo {\n\t\t\t\tif (!sc.hasNextInt()) {\n\t\t\t\t\tSystem.err.print(\"Enter an Integer!\\n\");\n\t\t\t\t\tSystem.out.print(\"Enter borrower mobile Number: \");\n\t\t\t\t\tsc.next();\n\t\t\t\t}\n\n\t\t\t} while (!sc.hasNextInt());\n\n\t\t\tint borrowerNumber = sc.nextInt();\n\n\t\t\tSystem.out.print(\"Rented date(dd/mm/yyyy): \");\n\t\t\tString rentedDate = sc.next();\n\t\t\tSystem.out.print(\"Due date(dd/mm/yyyy): \");\n\t\t\tString dueDate = sc.next();\n\t\t\tint rentNumber = y;\n\t\t\trentList.add(itemNumber + \";\" + dueDate + \";\" + itemType + \";\"\n\t\t\t\t\t+ borrowerName + \";\" + borrowerAddress + \" ;\"\n\t\t\t\t\t+ borrowerNumber + \";\" + rentedDate + \";\" + rentNumber\n\t\t\t\t\t+ \";\");\n\t\t\ty++;\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Your cd rental details was recorded successfully!\");\n\t\t\tdo {\n\t\t\t\tSystem.out.println(\"Do you want to rent a new cd? (Yes/No)\");\n\t\t\t\tconfirm = sc.next();\n\t\t\t\tif (!(confirm.equalsIgnoreCase(\"yes\") || confirm\n\t\t\t\t\t\t.equalsIgnoreCase(\"no\")))\n\t\t\t\t\tSystem.out.println(\"Invalid input. Enter (Yes/No)\");\n\t\t\t} while (!(confirm.equalsIgnoreCase(\"yes\") || confirm\n\t\t\t\t\t.equalsIgnoreCase(\"no\")));\n\t\t} while (confirm.equalsIgnoreCase(\"yes\"));\n\t}","title":""},{"docid":"fd036b3bc67f817391b8a807e9bb1ce2","score":"0.5287386","text":"private void exchangeMoney(){\n // if the user picked option 1, it will take the money entered and exchanged\n try{\n if(option.equals(\"1\")){\n System.out.println(\"***************************************************************************************\");\n System.out.println(\"The exchange money is £\" + String.format( \"%.2f\", findExchangeRate(enteredAmount) ) );\n System.out.println(\"***************************************************************************************\");\n } else {\n System.out.println(\"***************************************************************************************\");\n System.out.println(\"The money you have remaining exchanged into £\" + String.format( \"%.2f\", findExchangeRate(moneyRemaining())) );\n System.out.println(\"***************************************************************************************\");\n }\n // go back to the main menu\n // add some default values\n var newMain = new MainMenu(2,2);\n newMain.startMainMenu();\n } catch (InputMismatchException d){\n System.out.println(\"Something has gone wrong\");\n }\n\n }","title":""},{"docid":"eb9e03c50b358d22c003d912cb8fb6bd","score":"0.52860457","text":"public void displayCustomerMainMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Customer Main Menu ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. manage account\");\n System.out.println(\"2. start viewing products\");\n System.out.println(\"3. sign out\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"----------------------------\");\n }","title":""},{"docid":"0959490d09eae824765e3743310437fe","score":"0.5280083","text":"public void display_Current_Balance(){\n System.out.println(\"The balance in the current account is :\" + \" \" + balance_amt );\r\n }","title":""},{"docid":"f0471346dc3964dbacb667411f11ce95","score":"0.5264291","text":"public static void insertCash() {\n\t\tSystem.out.print(\"請投入現金: 1) 50元 2) 100元 3) 500元4) 1000元 5)結束 -1)取消: \");\n\t\tinput = scanner.nextInt();\n\t\tif (input == 1)\n\t\t\tamount += 50;\n\t\telse if (input == 2)\n\t\t\tamount += 100;\n\t\telse if (input == 3)\n\t\t\tamount += 500;\n\t\telse if (input == 4)\n\t\t\tamount += 1000;\n\t\telse if (input == 5)\n\t\t\tstatus = 2;\n\t\telse if (input == -1){\n\t\t\tif (amount > 0) \n\t\t\t\tSystem.out.printf(\"退您%d元。\\n\", amount);\n\t\t\tstatus = 0;\n\t\t}\n\t\telse\n\t\t\tSystem.out.print(\"Input error!\");\n\t\t\t\n\t}","title":""},{"docid":"d9c709e0329506d513dfa82bf4d1e279","score":"0.5246852","text":"private void displayQuantity(int numberOfCups) {\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\n quantityTextView.setText(\"\" + numberOfCups);\n }","title":""},{"docid":"63ff192619d55f5a345bc77639b012d7","score":"0.5241162","text":"@Override\n public void returnCash() {\n System.out.println(\"Return Cash 2\");\n System.out.println(\n \"Returning :\" + (((DataStore2) this.dataStore).getCash() - this.dataStore.getTotal()));\n ((DataStore2) this.dataStore).setCash(0);\n }","title":""},{"docid":"a278117cd24c123b16bc902ebee89b30","score":"0.52357215","text":"public static int menu(){\r\n\t\t\r\n\t\tint choice;\r\n\t\t\r\n\t\tSystem.out.println(\"1. print shit\");\r\n\t\tSystem.out.println(\"2. print hi\");\r\n\t\tSystem.out.println(\"3. Commision\");\r\n\t\tSystem.out.println(\"4. discount\");\r\n\t\tSystem.out.println(\"5. intrest\");\r\n\t\tSystem.out.println(\"6. circles\");\r\n\t\tSystem.out.println(\"7. quit\");\r\n\t\t\r\n\t\tchoice = k.nextInt();\r\n\t\t\r\n\t\treturn choice;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"e092e3bcd5348aab5e0e282459d8f913","score":"0.5232565","text":"@Override\n\tpublic void menu() {\n\t\tif(mod==1) {\n\t\t\tSystem.out.println(\"1-Add Player\");\n\t\t\tSystem.out.println(\"2-Remove Player\");\n\t\t\tSystem.out.println(\"3-View Player's Inventory\");\n\t\t\tSystem.out.println(\"4-Return to menu\");\n\t\t}\n\t\telse \n\t\t\tSystem.out.println(\"Do you want to return to the menu? (y for yes)\");\n\t\t\n\t}","title":""},{"docid":"a1456779119e36a905a0a94ae4422b98","score":"0.5230585","text":"public String addKey(String key){\r\n double num; // to hold the number in display.\r\n\r\n //switch statement for all different key presses.\r\n switch (key){\r\n\r\n //adds a decimal point only if there isn't one already.\r\n case \".\":\r\n\r\n if (!display.toString().contains(\".\")){\r\n display.append(\".\");\r\n }\r\n break;\r\n /*adds the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"+\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just add what is in the stack already*/\r\n if (!numberDone) {\r\n // make the number on the display a double,\r\n num = Double.parseDouble(display.toString());\r\n // put that double in the stack\r\n calc.enterNumber(num);\r\n // set flag so a new number will start on the display\r\n numberDone = true;\r\n }\r\n //get the sum\r\n num = calc.add();\r\n //put the sum on the display\r\n display.replace(0, display.length(), (\"\" + num));\r\n break;\r\n\r\n /*subtracts the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"-\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just subtract what is in the stack already*/\r\n if (!numberDone){\r\n // make the number on display a double\r\n num = Double.parseDouble(display.toString());\r\n //put double into stack\r\n calc.enterNumber(num);\r\n //set flag so a new number can start on screen\r\n numberDone = true;\r\n }\r\n //get the difference\r\n num = calc.subtract();\r\n //put difference on display\r\n display.replace(0,display.length(),(\"\" + num));\r\n break;\r\n\r\n /* multiplies the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"*\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just multiply what is in the stack already*/\r\n if (!numberDone){\r\n //make the number on the display a double\r\n num = Double.parseDouble(display.toString());\r\n // put double into stack\r\n calc.enterNumber(num);\r\n //set flag so a new number can start\r\n numberDone = true;\r\n }\r\n //get the product\r\n num = calc.multiply();\r\n //put product on the display\r\n display.replace(0, display.length(), (\"\" + num));\r\n break;\r\n\r\n /*divides the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"/\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just multiply what is in the stack already*/\r\n if (!numberDone) {\r\n //make the number on the display a double\r\n num = Double.parseDouble(display.toString());\r\n // put the double in the stack\r\n calc.enterNumber(num);\r\n // set flag so that a new number can start\r\n numberDone = true;\r\n }\r\n //get the quotient\r\n num = calc.divide();\r\n // put quotient on display\r\n display.replace(0, display.length(),(\"\" + num));\r\n break;\r\n\r\n // enters number into stack and puts the double equivalent on display.\r\n case \"^\":\r\n // new number can start on display\r\n numberDone = true;\r\n // the a string into a double, put it in the stack and on the display\r\n num = Double.parseDouble(display.toString());\r\n display.replace(0, display.length(), (\"\" + num));\r\n calc.enterNumber(num);\r\n break;\r\n\r\n // deletes the last char in the display\r\n case \"<\":\r\n //only delete the char if the number isn't done. If it is done, then\r\n //it shouldn't be editable.\r\n if (!numberDone){\r\n display.deleteCharAt(display.length()-1);\r\n }\r\n //otherwise don't do anything.\r\n break;\r\n\r\n // make the number on display a negative if positive, or vice versa.\r\n case \"+/-\":\r\n if (display.charAt(0) == '-'){\r\n display.deleteCharAt(0);\r\n }\r\n else {\r\n display.insert(0, \"-\");\r\n }\r\n break;\r\n // put said number on display.\r\n case\"0\":\r\n case\"1\":\r\n case\"2\":\r\n case\"3\":\r\n case\"4\":\r\n case\"5\":\r\n case\"6\":\r\n case\"7\":\r\n case\"8\":\r\n case\"9\":\r\n /*if the number is done and has been added to the stack, start a new\r\n number*/\r\n if (numberDone){\r\n display.delete(0, display.length());\r\n }\r\n //put the number on the display\r\n display.append(key);\r\n // can still add to number on display\r\n numberDone = false;\r\n break;\r\n\r\n // puts number on display on stack, and puts pi on screen.\r\n case \"pi\":\r\n //if the numberDone is false, then put number on display into stack\r\n if (!numberDone) {\r\n // make the number in the display a double\r\n num = Double.parseDouble(display.toString());\r\n // put double into stack\r\n calc.enterNumber(num);\r\n }\r\n //otherwise just put pi on the screen\r\n display.replace(0,display.length(),\"\" + Math.PI);\r\n // and put pi into the stack\r\n calc.enterNumber(Math.PI);\r\n //can't add to pi.\r\n numberDone = true;\r\n }\r\n\r\n //return the display.\r\n return display.toString();\r\n }","title":""},{"docid":"beac17df12496a78cd06895cc19d36f6","score":"0.5228523","text":"public void displayMainMenu(){\n System.out.println(\"1. List all available Enclosures\");\n System.out.println(\"2. List all available Cages with their Animals and Keepers\");\n System.out.println(\"3. Add a new Cage\");\n System.out.println(\"4. List all available Animals \");\n System.out.println(\"5. Add new Animal and assign it to Cage\");\n System.out.println(\"6. Unassign Animal from Cage\");\n System.out.println(\"7. List all available Keepers\");\n System.out.println(\"8. Add a new Keeper\");\n System.out.println(\"9. Assign keeper to cage\");\n System.out.println(\"10. Unassign Keeper from Cage\");\n System.out.println(\"11. Save all the current details and exit\");\n }","title":""},{"docid":"53da444b197771a578a4d2943ce5df00","score":"0.5228178","text":"@Override\n\tpublic Prompt run() {\n\t\tSystem.out.println(\"Which character would you like to deposit to?\");\n\t\tString name = input.nextLine();\n\t\tWizardStudent currentWizard = wizardDao.findByName(name);\n\t\tif(currentWizard != null) {\n\t\t\tSystem.out.println(\"How many points would you like to deposit?\");\n\t\t\tint pointsAdded = input.nextInt();\n\t\t\tint currentPoints = currentWizard.getHousePoints();\n\t\t\tint newHousePoints = currentPoints + pointsAdded;\n\t\t\t\n\t\t\t//adding points to transaction\n\t\t\twizardDao.addTransaction(\"added points: \" + pointsAdded, currentWizard.getName());\n\t\t\t\n\t\t\ttry (Connection hogwartsDatabase = ConnectionUtil.getConnection()){\n\t\t\t\tString changePoints = \"UPDATE hogwarts_characters SET house_points = ? WHERE wizard_name = ?\";\n\t\t\t\tPreparedStatement ps = hogwartsDatabase.prepareStatement(changePoints);\n\t\t\t\tps.setInt(1, newHousePoints);\n\t\t\t\tps.setString(2, name);\n\t\t\t\t\n\t\t\t\tps.executeUpdate();\n\t\t\t\t\n\t\t\t} catch(SQLException e) {\n\t\t\t\te.getSQLState();\n\t\t\t\te.getCause();\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//String pointsTransaction = Integer.toString(newHousePoints);\n\t\t\t\n\t\t} else {\n\t\t\tSystem.out.println(\"Invalid character, please enter a valid character.\");\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\t\n\t\treturn new MainMenuPrompt();\n\t}","title":""},{"docid":"c6a922f8dbd4c736d9ffd0591e516125","score":"0.5226032","text":"@Override\r\n public void handle(ActionEvent event) \r\n {\n System.out.println(\"CREDIT\");\r\n }","title":""},{"docid":"2f993f74437a2be5a50b265c7f210d78","score":"0.522527","text":"public void payment()\r\n\t{\r\n\t\tSystem.out.println(\"Your total is \"+money.format(finalPrice)+\" how much\" +\r\n\t\t\t\t\" would you like to pay with?\");\r\n\t\tpay = scan.nextDouble();\r\n\t\tchange = pay-finalPrice;\r\n\t\tscan.nextLine();\r\n\t}","title":""},{"docid":"daf1d19b1e1e81b1108c3d0ec42f8652","score":"0.52032137","text":"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String item = scan.nextLine(),\n result = \"\";\n int giftCardBalance = 100;\n\n\n\n switch (item) {\n case \"Blanket\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 60) + \"$\";\n break;\n case \"Charger\":\n result = \"Thank you for your purchase!\" + \"\\n\" +\n \"Your current balance is: \" + (giftCardBalance - 15) + \"$\";\n break;\n case \"Hat\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 25) + \"$\";\n break;\n case \"Headphones\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 30) + \"$\";\n break;\n case \"Laptop\":\n result = \"Sorry, not enough funds on your gift card!\";\n\n break;\n case \"Pants\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 50) + \"$\";\n break;\n case \"Pillow\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 40) + \"$\";\n break;\n case \"Smartphone\":\n result = \"Sorry, not enough funds on your gift card!\";\n break;\n case \"Socks\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 5) + \"$\";\n break;\n case \"USB cable\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 10) + \"$\";\n break;\n\n default:\n result = \"Invalid item!\";\n\n\n }\n System.out.println(result);\n\n\n }","title":""},{"docid":"5746eb0cf21fb197e143014c976703eb","score":"0.51971173","text":"public void displayMenu() {\n System.out.print(\"1 - Challenger \\r\\n\");\n System.out.print(\"2 - Défenseur \\r\\n\");\n System.out.print(\"3 - Duel \\r\\n\");\n System.out.print(\"4 - Quitter \\r\\n\");\n System.out.println(\"choisissez le mode de jeu qui vous convient : \\r\\n\");\n }","title":""},{"docid":"f61d122a0908c722a7a9a4ca21140238","score":"0.51865053","text":"static void employeeMenu() {\n\t\tsc = new Scanner(System.in);\n\t\tint Emploptn;// customer options keys\n\t\tboolean exit = false;\n\t\tList cars = new ArrayList<>();\n\n\t\tSystem.out.println(\"Employee Access\\n\\n1)Add/Remove Cars\\n2)Cars\\n3)Offer\\n4)View all payments\\n5)Exit\");\n\t\tdo {\n\t\t\tEmploptn = sc.nextInt();\n\n\t\t\tswitch (Emploptn) {\n\t\t\tcase 1:// Add and Remove cars\n\t\t\t\tSystem.out.println(\"Would you like to add cars or remove cars?\");\n\t\t\t\tString answer = sc.next();\n\t\t\t\tif (answer.contentEquals(\"add\")) {\n\t\t\t\t\tInventory();\n\t\t\t\t} else if (answer.contentEquals(\"remove\")) {\n\t\t\t\t\tRemove();\n\t\t\t\t} else {\n\t\t\t\t\temployeeMenu();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:// List of cars\n\t\t\t\tSystem.out.println(\"My cars\");// list of cars\n\t\t\t\tprintCarList(cars);\n\t\t\t\tbreak;\n\t\t\tcase 3:// Offers available\n\t\t\t\tSystem.out.println(\"Offer available (Accept or decline)\");\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\t// View all payments\n\t\t\t\tSystem.out.println(\"View all payments!\");\n\n\t\t\tcase 5:\n\t\t\t\tSystem.out.println(\"Exit!\");\n\t\t\t\texit = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"U dun F'ed up!\");\n\t\t\t}\n\t\t} while (!exit);\n\t\tSystem.out.println(\"Au revoir ami!\");\n\n\t}","title":""},{"docid":"2e9d46f4e22556d3d4f6df15785097cd","score":"0.51830584","text":"public static void menu() {\r\n System.out.println(\"/nWelcome\" +\r\n\t\t\"\\n1.Sandwishes 45 kr\" +\r\n\t\t\"\\n2.Hamburger, 65 kr\" +\r\n\t\t\"\\n3.Veggieburger 65 kr\" +\r\n\t\t\"\\n4.Samon Sallad 65 kr\" + \r\n\t\t\"\\n5.Swedish Meatballs 65 kr\" +\r\n\t\t\"\\n6.Pancakes 45 kr\" +\r\n\t\t\"\\n7.IceCream 45 kr\" +\r\n\t\t\"\\n8Lobster 450 kr\" +\r\n\t\t\"\\n9Veggieburger deluxe 250 kr\" +\r\n\t\t\"\\n10Mushroom stew and paked potatoe 125 kr\" +\r\n\t\t\"\\n11Veggie Sallad 100 kr\" +\r\n\t\t\"\\n12Lemon Cheesecake 125 kr\" +\r\n\t\t\"\\n13Strawberry Cheesecake 125 kr\" +\r\n\t\t\"\\n14Waffles and icecream 125 kr\");\r\n\r\n\t}","title":""},{"docid":"48728e64e84e1c9a5816c0455eb35501","score":"0.51795083","text":"public void buyItem()\n\t{\n\t\tint choice = 0;\n\t\tint quianty = 0;\n\t\tSystem.out.print(\"Select an item number: \");\n\t\tchoice = keyboard.nextInt();\n\t\tSystem.out.print(\"How many do you want to buy? \");\n\t\tquianty = keyboard.nextInt();\n\t\t// uses a switch statement to decide what the user has chosen\n\t\t// in each case it has a check to make sure that the number of items\n\t\t// requested is fewer than the number of items that is in the machine\n\t\t// if the requesed amount is more than the ammount in the machine it throws an \n\t\t// excepotion \n\t\t// if not than it takes away from the total how much they wanted\n\t\t// and adds to the counter of how many they bought\n\t\tswitch(choice)\n\t\t{\n\t\tcase 1: \n\t\t\tSystem.out.print(\"You selected Water. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.water - quianty < 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Water.\");\n\t\t\t}\n\t\t\telse { this.water -= quianty;\n\t\t\t\tthis.waterCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 2: \n\t\t\tSystem.out.print(\"You selected Regular Coffee. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.coffee < quianty)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Regular Coffee.\");\n\t\t\t}\n\t\t\telse{ this.coffee -= quianty;\n\t\t\t\tthis.coffeeCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 3: \n\t\t\tSystem.out.print(\"You selected Sun Chip. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.chips < quianty)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Sun Chip.\");\n\t\t\t}\n\t\t\telse{ this.chips -= quianty;\n\t\t\t\tthis.chipsCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 4: \n\t\t\tSystem.out.print(\"You selected Chocolate Bar. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.chocolateBar < quianty)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Chocolate Bar.\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tthis.chocolateBar -= quianty;\n\t\t\tthis.chocolateBarCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\t\t\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Invalid Choice. \");\n\t\t}\n\t}","title":""},{"docid":"6ff36c9b78fb93d131689b497e742785","score":"0.51755846","text":"private int displayMenu() {\n\t\tSystem.out.println();\n\t\t\n\t\t/** \n\t\t * opt is a local variable of type int that stores the numeric value of the category chosen by the user.\n\t\t */\n\t\tint opt = Integer.parseInt(getResponseTo(\"Enter a category from the following menu: \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tASSESSMENT + \".Assessment \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tFILLING + \".Filling \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tCROWN + \".Crown \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tCOSMETIC + \".Cosmetic Repair \\n\"));\n\t\treturn (opt);\n\t}","title":""},{"docid":"daaa69d5a8d57b20a0a3501781a2d116","score":"0.5166086","text":"private String InsertMoneyPrompt() {\n String result = view.settingTheUserTransactionAmount();\n return result;\n }","title":""},{"docid":"f62aa5ffe45f927a5f24ab434c58caac","score":"0.51558995","text":"public void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\tdouble subtotal, tax, total;\n\t\t\t// Calculate the subtotal.\n\t\t\tsubtotal =getTeaCost() +\n\t\t\tgetFoodCost() +\n\t\t\tgetDrinksCost();\n\t\t\t// Calculate the sales tax.\n\t\t\ttax = subtotal * TAX_RATE;\n\t\t\t// Calculate the total.\n\t\t\ttotal = subtotal + tax;\n\t\t\t// Display the charges.\n\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\tString.format(\"Subtotal: $%,.2f\\n\" +\n\t\t\t\"Tax: $%,.2f\\n\" +\n\t\t\t\"Total: $%,.2f\",\n\t\t\tsubtotal, tax, total));\n\t\t\t}","title":""},{"docid":"4d5a904c6f851d41d086b66a83eef790","score":"0.5153626","text":"public void printMenu()\n {\n System.out.println(\"\\n\\nEnter option: \");\n System.out.println(\"\\t 1 - Print all hurricane data \\n\" +\n \"\\t 2 - Print maximum and minimum data \\n\" +\n \"\\t 3 - Print averages \\n\" +\n \"\\t 4 - Sort hurricanes by year \\n\" +\n \"\\t 5 - Sort hurricanes by name \\n\" +\n \"\\t 6 - Sort hurricanes by category, descending \\n\" +\n \"\\t 7 - Sort hurricanes by pressure, descending \\n\" +\n \"\\t 8 - Sort hurricanes by speed \\n\" + \n \"\\t 9 - Search for hurricanes for a given year \\n\" +\n \"\\t10 - Search for a given hurricane by name \\n\" +\n \"\\t11 - Quit \\n\");\n }","title":""},{"docid":"3145e94f344771c3d9cc868d345e909c","score":"0.5135653","text":"public void credit(){\n System.out.println(\"Bank- Credit\");\n }","title":""},{"docid":"c4eaf06ffc900a53dc4b66f88af6e99b","score":"0.513262","text":"private void mainMenu() {\n System.out.println(\"Canteen Management System\");\n System.out.println(\"-----------------------\");\n System.out.println(\"1. Show Menu\");\n System.out.println(\"2. Show Vendor\");\n System.out.println(\"3. Customer Info\");\n System.out.println(\"4. Pending Orders\");\n System.out.println(\"5. Order History\");\n System.out.println(\"6. Show Full Order\");\n System.out.println(\"7. Accept And Reject\");\n System.out.println(\"8. Place Order\");\n System.out.println(\"9. Cancel Order\");\n System.out.println(\"10. Wallet Details\");\n System.out.println(\"11. Pay GST\");\n System.out.println(\"12.Exit\");\n mainMenuDetails();\n }","title":""},{"docid":"80335c50e050239541dcf86aa4f332e0","score":"0.51318634","text":"@Override\n public void calculate(double totalPrice) {\n this.input = new Scanner(System.in);\n DecimalFormat decimalFormat = new DecimalFormat(\"##0.0#\");\n Pattern accountPattern = Pattern.compile(\"[0-9]{12}\");\n Pattern codePattern = Pattern.compile(\"[0-9]{3}\");\n String string = \"$\" + decimalFormat.format(totalPrice + 0.49);\n\n System.out.print(\"Enter the bank code: \");\n if(input.hasNext(codePattern)) this.bankCode = input.next(codePattern);\n\n System.out.print(\"Enter the account number: \");\n if(input.hasNext(accountPattern)) this.accountNumber = input.next(accountPattern);\n\n if(this.accountNumber!=null && this.bankCode != null){\n EventManager.getInstance().publish(new StringEvent(EventType.PRINT_RECEIPT,string));\n System.out.print(\"Pay successfully!\\n\");\n }else {\n System.out.print(\"Pay failed.\\n\");\n }\n }","title":""},{"docid":"15b0d86f528c8bfb83bc3bf13c0ecb1c","score":"0.51308507","text":"void showSmallCar(){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint ch;\n\t\tdo{\n\t\t\tSystem.out.println(\"-------------------------------------------\");\n\t\t\tSystem.out.println(\"\\t1:Maruti alto\\n\\t2:Honda Brio\\n\\t3:Main menu\");\n\t\t\tSystem.out.println(\"\\tEnter choice:\");\n\t\t\tch=sc.nextInt();\n\t\t\tSystem.out.println(\"-------------------------------------------\");\n\t\t\tswitch(ch){\n\t\t\tcase 1:\n\t\t\t\tSystem.out.println(\"\\tBulding Maruti Alto\");\n\t\t\t\tSystem.out.println(\"\\tSpecifications::\");\n\t\t\t\tSystem.out.println(\"\\tPrice: Rs.2.95 lakhs - Rs.4.41 lakhs\");\n\t\t\t\tSystem.out.println(\"\\tFuel economy: 22-32 km/l combined\");\n\t\t\t\tSystem.out.println(\"\\tSeating capacity: 4, 5\");\n\t\t\t\tSystem.out.println(\"\\tEngine: 0.80 L 3-cylinder, 0.80 L 3-cylinder natural gas\");\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tSystem.out.println(\"\\tBulding Honda Brio\");\n\t\t\t\tSystem.out.println(\"\\tSpecifications::\");\n\t\t\t\tSystem.out.println(\"\\tPrice:Rs.5,17,000.00\");\n\t\t\t\tSystem.out.println(\"\\tFuel Type:Petrol\");\n\t\t\t\tSystem.out.println(\"\\tEngine Displacement:1198cc\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"\\tBack to main menus\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"\\tEnter valid choice..\");\n\t\t\t}\n\t\t}while(ch!=3);\n\t}","title":""},{"docid":"1302e0071d6439890b4c750a40f331d7","score":"0.51235676","text":"public void displayCartMiniMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Cart Main Menu ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. add product to cart\");\n System.out.println(\"2. view cart\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"------------------------\");\n }","title":""},{"docid":"0b39bc9d4c41f448b4667d134a49278f","score":"0.51233333","text":"public void displayCartDetailEditMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Unit Editor ----\");\n System.out.println(\"Please select the attribute of unit to edit: \");\n System.out.println(\"1. Amount\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"------------------------\");\n }","title":""},{"docid":"617e65004198b03177b9912484d8fe82","score":"0.5120468","text":"@Override\n protected void onResume() {\n super.onResume();\n mCurrentCash = (TextView)findViewById(R.id.shopMoney);\n mCurrentCash.setText(Integer.toString(SingletonCurrentCash.getInstance().getCash()));\n }","title":""},{"docid":"b42062dca1df4f7721c9c0264b7390da","score":"0.51155984","text":"public void tick(){\n if (handler.getKeyManager().keyJustPressed(KeyEvent.VK_E))\n active = !active;\n if(!active){ return; }\n// isDebugOn = true;\n if(isDebugOn){\n System.out.println(\"Inventory: \");\n for(Item i : inventoryItems){\n System.out.println(\"Item : \\\"\" + i.getName() + \"\\\" \" + i.getCount());\n }\n }\n //Below codes makes you navigate inventory items list by keyboard.\n if(handler.getKeyManager().keyJustPressed(KeyEvent.VK_NUMPAD8)){selectedItem--;}\n if(handler.getKeyManager().keyJustPressed(KeyEvent.VK_NUMPAD2)){selectedItem++;}\n\n if(selectedItem < 0){selectedItem = inventoryItems.size() - 1;}\n else if(selectedItem >= inventoryItems.size()){selectedItem = 0;}\n }","title":""},{"docid":"44497720c90f9f918d4f2f2a3b6bb26a","score":"0.51117086","text":"void doAction() {\n System.out.println(\"You are at the candy counter.\");\n int index = random.nextInt(Items.candyBar.length);\n if (kbio.YNRequestInput(\"Do you want to buy a \" + Items.candyBar[index])) {\n super.addCandyBar(Items.candyBar[index]);\n }\n }","title":""},{"docid":"61526789b0b9655adf7abb73f03b9665","score":"0.5107349","text":"public void displayAccountEditMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Account Editor ----\");\n System.out.println(\"Please select the detail part of your account to edit: \");\n System.out.println(\"1. Password\");\n System.out.println(\"2. Name\");\n System.out.println(\"3. Phone\");\n System.out.println(\"4. Email\");\n System.out.println(\"5. Address\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"------------------------\");\n }","title":""},{"docid":"a158d31ff29a46fe4d97adf464212144","score":"0.51031846","text":"private void DisplayCashSale(){\n\t\t//Direct user to the CashSale Activity\n\t\tstartActivity(new Intent(this,CashSale.class));\n\t}","title":""},{"docid":"ec63ec1eaf7186220e451a35929cbe1e","score":"0.5097252","text":"public int Menu() {\n int userChoice = 0;\n System.out.println(\"\\n+ + Main Menu + + + +\" +\n \"\\nPress > 1 < To Order a Pizza!\" +\n \"\\nPress > 2 < To See All orders, starting from most Recent.\" +\n \"\\nPress > 3 < To See All orders, starting at the Oldest.\" +\n \"\\nPress > 4 < To Quit Program.\");\n do {\n System.out.print(\"\\n >> Enter a number: \");\n userChoice = input.nextInt();\n input.nextLine();\n } while (userChoice > 4);\n return userChoice;\n }","title":""},{"docid":"92afeac0ef8ec5ced7c5d9a952dd43ab","score":"0.5094808","text":"public void credit(){\n System.out.println(\"Bank Credit\");\n }","title":""},{"docid":"d400b6f3f30072904dfd56b5feeb1b93","score":"0.50922513","text":"public void firstMenu() {\n\n int back = 0;\n while (back == 0) {\n spaces();\n System.out.println(\"\\033[33m\" + \"========== BIENVENIDO A HOTEL TRANSILVANIA ==========\");\n try {\n System.out.println(\"\"\"\n \\033[32m\n [1]- Ingresar\n [2]- Registrarse\n [0]- Salir\"\"\");\n System.out.print(\"Ingrese una opción: \");\n switch (scan.nextInt()) {\n case 1 -> logIn();\n case 2 -> {\n registerMenu();\n saveHotel();\n }\n case 0 -> back++;\n default -> System.out.println(\"\\033[31m\" + \"Opcion incorrecta\");\n }\n } catch (InputMismatchException e) {\n System.out.println(\"\\033[31m\" + \"Solo se puede ingresar numeros.\");\n scan.next();\n }\n }\n saveHotel();\n }","title":""},{"docid":"6e176bba3e6ac2428cf30ea5fa079bc3","score":"0.5091521","text":"public void displayOwnerAccountManageMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Account Manage Menu For Owner ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. add a new account\");\n System.out.println(\"2. edit an existed account\");\n System.out.println(\"3. remove an existed account\");\n System.out.println(\"4. view the list of accounts\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"---------------------------------------\");\n }","title":""},{"docid":"e90139168151c903ef3ad181b934544d","score":"0.50897247","text":"@Override\n public void generateOnScreen() {\n System.out.println(\"Total amount of money spent is \" + countPrices());\n }","title":""},{"docid":"6d613531671601c15ad342673212b162","score":"0.50888336","text":"public void viewBal() {\n\t\tSystem.out.println(\"Your outstanding balance is: RM\" +tuitionBal);\n\t}","title":""},{"docid":"f153252e4e414e6de2520f807e8e8dc7","score":"0.5087298","text":"public static void mainMenu()\n {\n System.out.println();\n System.out.println(\"-------------------------------------------------\");\n System.out.println(\"Enter from the following options or -1 to quit. \");\n System.out.println();\n System.out.println(\"1: View Roster \");\n System.out.println(\"2: View Schedule \");\n System.out.println(\"3: View Staff \");\n System.out.println(\"4: Add player \");\n System.out.println(\"5: Add Game \");\n System.out.println(\"6: Add Staff Member \");\n System.out.println(\"7: Update Player Stats\");\n System.out.println(\"8: Update Game Results\");\n System.out.println(\"9: Save Roster\");\n System.out.println(\"10: View Saved Information \");\n System.out.println(\"-------------------------------------------------\");\n System.out.println();\n System.out.print(\"Enter here: \");\n }","title":""},{"docid":"fb1c4170374e029bf6f81cdde74d9dfa","score":"0.5078135","text":"public static void showMenu() {\n kb = new Scanner(System.in);\n System.out.println(\"Welcome to my garden!\\n\");\n System.out.println(\"Please select:\");\n System.out.println(\"1.\\tAdd flowerbed\");\n System.out.println(\"2.\\tRemove folwerbed\");\n System.out.println(\"3.\\tSave and exit\");\n //System.out.println(\"4.\\tRead from file\");\n int command = getIntInput();\n switch (command) {\n case 1:\n Garden.getFlowerbedInput(\"grass.png\");\n break;\n case 2:\n Garden.RemoveGarden();\n //System.out.println(\"Removing flowerbed:\");\n break;\n case 3:\n Garden.saveGarden();\n break;\n default:\n System.out.println(\"Please input a value from 1 to 3\");\n UserInterface.showMenu();\n }\n }","title":""},{"docid":"760393d424e33bb6597026a659994d2c","score":"0.50641745","text":"public void runUI() {\n\n\t\tString User_R;\n\t\tString User_RC;\n\t\tString User_Sb;\n\t\tint shareAmount;\n\t\tboolean buy = true;\n\n\t\tdo {\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Would you like to see your 1 account status? 2 Or trade Stock? 3 or Cycle the market.\"\n\t\t\t\t\t\t\t+ \"Or if you're done type exit.\");\n\n\t\t\tUser_R = keyboard.next();\n\n\t\t\tif (User_R.equals(\"1\")) {\n\t\t\t\tSystem.out.println(ta.balance);\n\t\t\t\tSystem.out.println(ta.stockPositions);\n\n\t\t\t} else if (User_R.equals(\"2\")) {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.println(\"Which stock would you like? APPl, INTU, GOOG?\");\n\t\t\t\tUser_RC = keyboard.next();\n\n\t\t\t\tSystem.out.println(\"How many shares?\");\n\t\t\t\tshareAmount = keyboard.nextInt();\n\n\t\t\t\tSystem.out.println(\"Buy or Sell?\");\n\t\t\t\tUser_Sb = keyboard.next();\n\n\t\t\t\tif (User_Sb.equals(\"Buy\")) {\n\t\t\t\t\tbuy = true;\n\n\t\t\t\t} else {\n\t\t\t\t\tbuy = false;\n\t\t\t\t}\n\n\t\t\t\ttq.enqueue(User_RC, shareAmount, buy);\n\n\t\t\t} else if (User_R.equals(\"3\")) {\n\t\t\t\tse.cycleTurn();\n\t\t\t\tprocessTrades();\n\n\t\t\t}\n\n\t\t} while (!User_R.equals(\"exit\") && ta.balance >= 1);\n\n\t\tSystem.out.println(ta.balance);\n\t\tSystem.out.println(\"Thanks for playing\");\n\n\t}","title":""},{"docid":"52e045ef212caa78e52973d430536f13","score":"0.5061703","text":"private void DisplayMenu() \n {\n int menuChoice = 0;\n int count = 1;\n \n while(menuChoice != 12) {\n \n Scanner scan = new Scanner(System.in);\n System.out.println(\"\");\n System.out.println(\"1. Enter the deails of your books\");\n System.out.println(\"2. Output details of books in stock.\");\n System.out.println(\"3. Output details of book via it's title\");\n System.out.println(\"4. Output details of book via it's ISBN\");\n System.out.println(\"5. Display most expensive book in stock\");\n System.out.println(\"6. Display quantity of total books in stock\");\n System.out.println(\"7. Display total cost of all books in stock\");\n System.out.println(\"8. Update stock of a book via it's ISBN\");\n System.out.println(\"9. Update price of book via it's title\");\n System.out.println(\"10. Add details of new book to stock\");\n System.out.println(\"11. Delete record of book from stock via it's ISBN\");\n System.out.println(\"12. Quit the program\");\n \n System.out.println();\n menuChoice = CheckIfInt(scan, \"Enter the number of your choice: \");\n \n switch (menuChoice) {\n \n case 1:\n PromptForBookDetails();\n break;\n case 2:\n OutputAllBookDetails();\n break;\n case 3:\n OutputDetailsViaTitle();\n break;\n case 4:\n OutputDetailsViaISBN();\n break;\n case 5:\n MostExpensiveBook();\n break;\n case 6:\n TotalStockQuanity();\n break;\n case 7:\n TotalStockPrice();\n break;\n case 8:\n UpdateStockViaISBN();\n break;\n case 9:\n UpdatePriceViaTitle();\n break;\n case 10:\n AddNewBook();\n break;\n case 11:\n DeleteExistingBook();\n break;\n case 12:\n System.exit(0);\n break;\n }\n } \n \n }","title":""},{"docid":"c79bf4b4166ce61449f4a53796f057d5","score":"0.50612366","text":"public void credit(){\n\t\tSystem.out.println(\"HSBC---credit\");\n\t}","title":""},{"docid":"25ea0eda2b776ea56aea6b30597a429f","score":"0.5057026","text":"public void credit() { \r\n\t\tScanner input = new Scanner(System.in);\r\n\t\tdouble credit = input.nextDouble();\r\n\t\tbalance = credit;\r\n\t\t}","title":""},{"docid":"25ee459e0e3b4ac1f7e878178d185249","score":"0.50561464","text":"public static void displayMenu() {\n\t\tSystem.out.println(\"----------Menu----------\");\n\t\tSystem.out.println(\"Welcome manager , choose what you want to do !\\n1.Add new location \\n2.Add new apartment\\n3.Allocate Price\\n4.Book apartment\\n5.Quit\\nEnter your choice:\");\n\t\n\t}","title":""},{"docid":"3c030a7c499ab8993a27173c273f0522","score":"0.5055681","text":"public void run() { \r\n int choice = 0;\r\n do {\r\n \r\n this.displayMenu();\r\n \r\n choice = this.getUserInt(\"Please enter your choice\");\r\n if (choice == 1) {\r\n \t this.displaySummaryData();\r\n \t} else if (choice == 2) {\r\n \t this.displayStatisticalData(); \r\n \t} else if (choice == 3) {\r\n \t this.displayAllRecords(); \r\n \t} else if (choice < 1 || choice > 4) {\r\n \t System.out.println();\r\n \t System.out.println(\"\\tThat's not a valid menu option. Please try again.\");\r\n \t}\r\n } while (choice != 4);\r\n \r\n System.out.println();\r\n \tSystem.out.println(\"\\tThank you for using the Stock Manager Application.\");\r\n \tSystem.out.println(\"\\tGoodbye!\");\r\n }","title":""},{"docid":"81e43f5d8e2a7ef6999c6819b2c2e82e","score":"0.50554025","text":"@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(total <= 21) {\r\n\t\t\tif(e.getSource() == hit) {\r\n\t\t\t\tint newCard = drawCard();\r\n\t total += newCard;\r\n\t scores.setText(\"Dealer hand: \" + house + \" \" + \"Your hand: \" + total);\r\n\t if(total > 21) {\r\n\t \tscores.setText(\"Dealer hand: \" + house + \" \" + \"Your hand: \" + total);\r\n\t \tcheckWin();\r\n\t \t\r\n\t }\r\n\t\t\t}\r\n\t\t\tif(e.getSource() == stay) {\r\n\t\t\t\tif(total <= 21) {\r\n\t\t houseGetCards();\r\n\t\t scores.setText(\"Dealer hand: \" + house + \" \" + \"Your hand: \" + total);\r\n\t\t }\r\n\t\t\t\tcheckWin();\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"3a204c55c8914d888530e456981e0534","score":"0.50546676","text":"@Override\n\tpublic int queryCash() {\n\t\treturn cash;\n\t}","title":""},{"docid":"d6a9adecab9a5bd7b318e0da77d20ff1","score":"0.5050956","text":"@Override\r\n public void keyPressed(KeyEvent e) {\r\n \r\n \r\n if (e.getKeyCode()==KeyEvent.VK_ENTER){\r\n \r\n model.setNumero1(Integer.parseInt(view.TN1.getText()));\r\n model.setNumero2(Integer.parseInt(view.TN2.getText()));\r\n model.sumar();\r\n view.Tresultado.setText(String.valueOf(model.getResultado())); \r\n \r\n\r\n }\r\n \r\n }","title":""},{"docid":"fe6a59f1743d589fc181a15a8395d736","score":"0.5048724","text":"public static void mainMenu() {\n\n\t\tif (cartao != null) {\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** MAQUINA ANDANTE **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** \\\"\" + cartao.zona.nome + \"\\\" \" + cartao.quantidade + \" **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** 1) COMPRAR Cartão Andante **\");\n\t\t\tSystem.out.println(\"** 2) CARREGAR Cartão Andante **\");\n\t\t\tSystem.out.println(\"** 3) MUDAR ZONA Cartão Andante **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.print(\"Escolha operação : \");\n\t\t} else {\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** MAQUINA ANDANTE **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** 1) COMPRAR Cartão Andante **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.print(\"Escolha operação : \");\n\t\t}\n\t}","title":""}],"string":"[\n {\n \"docid\": \"ce9bcbbd9b161899f55a5e7c7d7b420a\",\n \"score\": \"0.62749773\",\n \"text\": \"@Override\\n public void displayMenu(){\\n System.out.println(\\\"CREDIT CARD PAYMENT HAS BEEN APPROVED\\\");\\n System.out.println(\\\"\\\\t FUEL MENU\\\");\\n System.out.println(\\\"ENTER 6 for SUPER\\\");\\n System.out.println(\\\"ENTER 7 for REGULAR\\\");\\n System.out.println(\\\"ENTER 5 for CANCELLING TRANSACTION\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10951d4e63ed9bb755af4929860d2f30\",\n \"score\": \"0.6143527\",\n \"text\": \"public static void displayMenu()\\n\\t{\\n\\t\\t\\n\\t\\tString username;\\n\\t\\tScanner keyboard = new Scanner(System.in);\\n\\t\\tSystem.out.print(\\\"Please enter your name: \\\");\\n\\t\\tusername = keyboard.nextLine();\\n\\t\\n\\t\\tSystem.out.println(\\\"\\\\nWelcome to The Java Byte Code Coffee Shop, \\\" + username + \\\"!\\\");\\n\\t\\tSystem.out.println(\\\"Here is our menu: \\\\n\\\");\\n\\t\\tSystem.out.println(\\\"1. Coffee $1.50\\\");\\n\\t\\tSystem.out.println(\\\"2. Latte $3.50\\\");\\n\\t\\tSystem.out.println(\\\"3. Cappuccino $3.25\\\");\\n\\t\\tSystem.out.println(\\\"4. Espresso $2.00\\\\n\\\");\\n\\t\\t\\n\\t\\tgetItemNumber();\\t\\t\\n\\t\\tSystem.out.println(\\\"\\\\nThank you, \\\" + username + \\\"! Please stop by again!\\\\n\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb3bff02f8c8f6f410997b53cb252934\",\n \"score\": \"0.5929959\",\n \"text\": \"private void displayMenuOfAccounts() {\\n\\t\\tAccount inputSheet;\\n\\t\\tint inputAccNum, inputPinNum;\\n\\t\\tdouble inputAvBalance, inputDeposito;\\n\\t\\tString inputDesc;\\n\\t\\t\\n\\t\\t // display the add cash menu\\n\\t\\tscreen.displayMessageLine(\\\"\\\\nAdd Account Menu:\\\");\\n\\t\\tscreen.displayMessageLine(\\\"1 - Add Account Nasabah\\\");\\n\\t\\tscreen.displayMessageLine(\\\"2 - Add Account Admin\\\");\\n\\t\\tscreen.displayMessageLine(\\\"3 - Cancel Transaction\\\");\\n\\t\\tscreen.displayMessage(\\\"\\\\nChoose option menu: \\\");\\n\\t\\t\\n\\t\\t int input = keypad.getInput(); // get user input through keypad\\n\\t\\t // determine how to proceed based on the input value\\n\\t\\t switch (input) {\\n\\t\\t \\tcase 1: // do add account number nasabah process\\n\\t\\t \\tcase 2: // do add account number admin process\\t\\n\\t\\t \\t\\tscreen.displayMessage(\\\"Input account number:\\\");\\t\\t \\t\\t\\n\\t\\t \\t\\tinputAccNum = keypad.getInput(); // input acc number\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// validation input account number\\n\\t\\t\\t\\tstatusAdd = inputAccountNumberValidation(inputAccNum);\\n\\t\\t\\t\\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\\n\\t\\t\\t\\t\\tscreen.displayMessage(\\\"Input pin number:\\\");\\t\\t \\t\\t\\n\\t\\t\\t\\t\\tinputPinNum = keypad.getInput(); // input pin number\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t// validation pin number\\n\\t\\t\\t\\t\\tstatusAdd = pinNumberValidation(inputPinNum);\\n\\t\\t\\t\\t\\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\\n\\t\\t\\t\\t\\t\\tif(input==1) { // for add account nasabah process\\n\\t\\t\\t\\t\\t\\t\\tscreen.displayMessage(\\\"Input available balance:\\\");\\t\\t \\t\\t\\n\\t\\t\\t\\t\\t\\t\\tinputAvBalance = keypad.getInput(); // input available balance\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t// validation available balance\\n\\t\\t\\t\\t\\t\\t\\tstatusAdd = availableBalanceValidation(inputAvBalance);\\n\\t\\t\\t\\t\\t\\t\\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\\n\\t\\t\\t\\t\\t\\t\\t\\tscreen.displayMessage(\\\"Input deposit fund:\\\");\\t\\t \\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\tinputDeposito = keypad.getInput(); // input deposito\\n\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t// validation deposit fund\\n\\t\\t\\t\\t\\t\\t\\t\\tstatusAdd = depositFundValidation(inputDeposito);\\n\\t\\t\\t\\t\\t\\t\\t\\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tscreen.displayMessage(\\\"Input description Account:\\\");\\t\\t \\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tinputDesc = keypad.getInputString(); // input deskripsi account\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tinputSheet = new Account(inputAccNum, inputPinNum, inputAvBalance, inputDeposito, \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tinputDesc, ROLE_INDIVIDUAL_CUSTOMER, STATUS_ACC_ACTIVE);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\taccAdded = inputSheet;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}else { // for add account admin\\n\\t\\t\\t\\t\\t\\t\\tscreen.displayMessage(\\\"Input description Account:\\\");\\t\\t \\t\\t\\n\\t\\t\\t\\t\\t\\t\\tinputDesc = keypad.getInputString(); // input deskripsi account\\n\\t\\t\\t\\t\\t\\t\\t// available balance dan deposito diisi dengan nol\\n\\t\\t\\t\\t\\t\\t\\tinputSheet = new Account(inputAccNum, inputPinNum, 0, 0, inputDesc, ROLE_ADMIN, STATUS_ACC_ACTIVE);\\n\\t\\t\\t\\t\\t\\t\\taccAdded = inputSheet;\\n\\t\\t\\t\\t\\t\\t}\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t \\t\\tbreak; \\n\\t\\t \\tcase ADD_ACCOUNT_CANCELED: // the user chose to cancel\\n\\t\\t \\t\\tstatusAdd = ADD_ACCOUNT_CANCELED; // save user's choice\\n\\t\\t \\t\\tbreak;\\n\\t\\t \\tdefault: // the user did not enter a value from 1-2\\n\\t\\t \\t\\tstatusAdd = ADD_ACCOUNT_ERROR_INPUT_MENU;\\n\\t\\t\\t} \\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"708d224fde6922c3a1f0756ac75a1055\",\n \"score\": \"0.5799708\",\n \"text\": \"void enter() {\\r\\n // set display to digit in event\\r\\n int digit = calcController.digitsController.getDigit((Button) lastEvent.getSource());\\r\\n calcController.display.setText(digit + \\\"\\\");\\r\\n\\r\\n // enable equals button\\r\\n calcController.resController.enableEquals();\\r\\n\\r\\n // enable operator buttons\\r\\n calcController.opsController.enableOperators();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c8f55e2a870392787cb469584b3e10d\",\n \"score\": \"0.57724863\",\n \"text\": \"public void displayPurchaseMainMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Monash Fruit & Vegetables ----\\\");\\n System.out.println(\\\"Please select the service from: \\\");\\n System.out.println(\\\"1. search product by product id\\\");\\n System.out.println(\\\"2. search product by name\\\");\\n System.out.println(\\\"3. search product by type\\\");\\n System.out.println(\\\"4. search product by location\\\");\\n System.out.println(\\\"5. view the entire product list\\\");\\n System.out.println(\\\"R. return to the previous menu\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"-----------------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ec4e05139e5895b379d8c33cd499dd7\",\n \"score\": \"0.5755344\",\n \"text\": \"public void run() {\\n\\n boolean runVendingMachine = true;\\n\\n //Prompt X Amount of Money\\n String usersMoneyAmount = InsertMoneyPrompt();\\n //Inventory\\n //POPCORN A1 $1.00\\n int popcornInventory = 3;\\n //PEPSI B8 $1.25\\n int pepsiInventory = 1;\\n //HERSHEYS G4 $2.00\\n int hersheyInventory = 6;\\n //SNICKERS F9 $0.90\\n int snickersInventory = 6;\\n\\n while (runVendingMachine) {\\n\\n displayMenu();\\n String menuSelection = recordSelection();\\n\\n switch (menuSelection) {\\n //POPCORN A1 $1.00\\n //PEPSI B8 $1.25\\n //HERSHEYS G4 $2.00\\n //SNICKERS F9 $0.90\\n case \\\"A1\\\":\\n\\n //Popcorn\\n //variable processes transaction and returns result\\n if (popcornInventory == 0) {\\n view.SOLDOUT();\\n view.hitEnterToContinue();\\n break;\\n } else {\\n //usersMoneyAmount\\n String changedMoney = popcornINVENTORY(usersMoneyAmount, popcornInventory);\\n if (changedMoney.equals(usersMoneyAmount)) {\\n usersMoneyAmount = changedMoney;\\n int foo = Integer.parseInt(usersMoneyAmount);\\n foo += foo;\\n String superFoo = String.valueOf(foo);\\n usersMoneyAmount = superFoo;\\n popcornInventory++;\\n } else {\\n usersMoneyAmount = changedMoney;\\n popcornInventory--;\\n }\\n\\n }\\n\\n break;\\n case \\\"B8\\\":\\n //Pepsi\\n\\n if (pepsiInventory == 0) {\\n view.SOLDOUT();\\n view.hitEnterToContinue();\\n break;\\n } else {\\n //usersMoneyAmount\\n String changedMoney = pepsiINVENTORY(usersMoneyAmount, popcornInventory);\\n if (changedMoney.equals(usersMoneyAmount)) {\\n usersMoneyAmount = changedMoney;\\n int foo = Integer.parseInt(usersMoneyAmount);\\n foo += foo;\\n String superFoo = String.valueOf(foo);\\n usersMoneyAmount = superFoo;\\n pepsiInventory++;\\n } else {\\n usersMoneyAmount = changedMoney;\\n pepsiInventory--;\\n }\\n\\n }\\n break;\\n case \\\"G4\\\":\\n //hersheys\\n if (hersheyInventory == 0) {\\n view.SOLDOUT();\\n view.hitEnterToContinue();\\n break;\\n } else {\\n //usersMoneyAmount\\n String changedMoney = hersheysINVENTORY(usersMoneyAmount, hersheyInventory);\\n if (changedMoney.equals(usersMoneyAmount)) {\\n usersMoneyAmount = changedMoney;\\n int foo = Integer.parseInt(usersMoneyAmount);\\n foo += foo;\\n String superFoo = String.valueOf(foo);\\n usersMoneyAmount = superFoo;\\n hersheyInventory++;\\n } else {\\n usersMoneyAmount = changedMoney;\\n hersheyInventory--;\\n }\\n\\n }\\n break;\\n case \\\"F9\\\":\\n //snickers\\n if (snickersInventory == 0) {\\n view.SOLDOUT();\\n view.hitEnterToContinue();\\n break;\\n } else {\\n //usersMoneyAmount\\n String changedMoney = snickersINVENTORY(usersMoneyAmount, snickersInventory);\\n if (changedMoney.equals(usersMoneyAmount)) {\\n usersMoneyAmount = changedMoney;\\n int foo = Integer.parseInt(usersMoneyAmount);\\n foo += foo;\\n String superFoo = String.valueOf(foo);\\n usersMoneyAmount = superFoo;\\n snickersInventory++;\\n } else {\\n usersMoneyAmount = changedMoney;\\n snickersInventory--;\\n }\\n\\n }\\n break;\\n \\n default:\\n //error\\n runVendingMachine = false;\\n\\n }\\n\\n }\\n GBye();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaf2ff23439b3595f96a94cfeda339f4\",\n \"score\": \"0.574543\",\n \"text\": \"public void showMenu() {\\n char option = '\\\\0';\\n Scanner in = new Scanner(System.in);\\n System.out.println(\\\"Welcome \\\" + customerName + \\\"!\\\");\\n System.out.println(\\\"Your ID is: \\\" + customerID);\\n System.out.println();\\n System.out.println(\\\"What would you like to do?\\\");\\n System.out.println();\\n System.out.println(\\\"A. Check balance\\\");\\n System.out.println(\\\"B. Make a deposit\\\");\\n System.out.println(\\\"C. Make a withdrawal\\\");\\n System.out.println(\\\"D. View previous transaction\\\");\\n System.out.println(\\\"E. Calculate interest\\\");\\n System.out.println(\\\"F. Exit\\\");\\n \\n do {\\n System.out.println();\\n System.out.println(\\\"Enter an option: \\\");\\n char inValue = in.next().charAt(0);\\n option = Character.toUpperCase(inValue);\\n System.out.println();\\n \\n switch(option) {\\n //option A will return a user's balance\\n case 'A' :\\n System.out.println(\\\"=============================\\\");\\n System.out.println(\\\"Balance: $\\\" + balance);\\n System.out.println(\\\"=============================\\\");\\n System.out.println();\\n break;\\n //option B will allow a user to make a deposit to their account\\n case 'B' :\\n System.out.println(\\\"Enter the amount you will deposit: \\\");\\n int toDeposit = in.nextInt();\\n deposit(toDeposit);\\n System.out.println();\\n break;\\n //option C will allow a user to make a withdrawal from their account\\n case 'C' :\\n System.out.println(\\\"Enter the amount you will withdraw: \\\");\\n int toWithdraw = in.nextInt();\\n withdraw(toWithdraw);\\n System.out.println();\\n break;\\n //option D will show a user the previous transaction\\n case 'D' :\\n System.out.println(\\\"=============================\\\");\\n getPreviousTransaction();\\n System.out.println(\\\"=============================\\\");\\n System.out.println();\\n break;\\n //will prompt for a number of years and return accrued interest for that time frame\\n case 'E' :\\n System.out.println(\\\"Enter number of years of accrued interest: \\\");\\n int yearsAccrued = in.nextInt();\\n calculateInterest(yearsAccrued);\\n break;\\n //will exit the application\\n case 'F' :\\n System.out.println(\\\"=============================\\\");\\n break;\\n //default: invalid character error message\\n default :\\n System.out.println(\\\"Error: invalid option. Please enter A, B, C, D, E, or F to exit.\\\");\\n break;\\n }\\n } while(option != 'F');\\n \\n System.out.println(\\\"Thank you for banking with us!\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a963aacced4a992f14cfc3962183800b\",\n \"score\": \"0.5737255\",\n \"text\": \"public void showCredit(){\\n\\n\\t\\t((TextView)findViewById(R.id.tv_total_credit)).setText(AppSharedPreference.getInstance(this).getTotalCredit());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efa4c06f74f3ea97fbf3f3594bf49edb\",\n \"score\": \"0.5716129\",\n \"text\": \"private static void withdraw ( ) {\\r\\n user2 user = new user2();\\r\\n\\r\\n Main main = new Main();\\r\\n\\r\\n Scanner reader = new Scanner(System.in);\\r\\n\\r\\n System.out.println ( );\\r\\n\\r\\n System.out.print(\\\"Amount : \\\");\\r\\n\\r\\n long userdeposit = reader.nextLong ();\\r\\n\\r\\n user2.accountbalence -= userdeposit;\\r\\n\\r\\n System.out.println ( );\\r\\n\\r\\n System.out.println (\\\"Current balence : \\\" + user2.accountbalence + '$');\\r\\n\\r\\n System.out.println ( );\\r\\n\\r\\n smenu();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc22069db1f6cf3e1442c7ae9e663297\",\n \"score\": \"0.5714732\",\n \"text\": \"public void input()\\r\\n\\t{\\r\\n\\t\\tSystem.out.println(\\\"Hello costumer. Welcome to my cash register \\\" +\\r\\n\\t\\t\\t\\t\\\"program. What would you like to buy today? \\\");\\r\\n\\t\\titem = scan.nextLine();\\r\\n\\t\\tSystem.out.println(\\\"How much does the \\\"+item+\\\" cost?\\\");\\r\\n\\t\\toriginalCost = scan.nextInt();\\r\\n\\t\\tscan.nextLine();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ef5fce98c2bc6985a3de0111bb7f2d5\",\n \"score\": \"0.5714523\",\n \"text\": \"@Override\\r\\n public void keyReleased(KeyEvent e) {\\n String str13=t5_amount_recieved.getText();\\r\\n \\r\\n if(str13.equals(\\\"\\\"))\\r\\n {\\r\\n t6_due_amount.setText(\\\"\\\");\\r\\n }\\r\\n int no1=Integer.parseInt(str13);\\r\\n \\r\\n System.out.println(\\\"no1 is:\\\"+no1);\\r\\n \\r\\n //STR14 IS USED TO STORE RECIEVED TOTAL\\r\\n String str14=t4_net_total.getText();\\r\\n int no2=Integer.parseInt(str14);\\r\\n System.out.println(\\\"no2 is:\\\"+no2);\\r\\n \\r\\n int no=no1-no2;\\r\\n System.out.println(\\\"no is:\\\"+no);\\r\\n \\r\\n //STR15 IS USED TO STORE DUE AMOUNT\\r\\n String str15=Integer.toString(no);\\r\\n t6_due_amount.setText(str15);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8dccdbc0dbb105aaf190c22984ae94c\",\n \"score\": \"0.563721\",\n \"text\": \"public void printMenu()\\n\\t{\\n\\t\\tSystem.out.println(\\\"--------------------------------\\\");\\n\\t\\tSystem.out.println(\\\"| Welcome To Huge Bank |\\\");\\n\\t\\tSystem.out.println(\\\"| \\\\t MAIN MENU \\\\t |\\\");\\n\\t\\tSystem.out.println(\\\"-------------------------------\\\");\\n\\t\\tSystem.out.println(\\\"| Enter 1 To Get Balance |\\\");\\n\\t\\tSystem.out.println(\\\"| Enter 2 To Deposit Money |\\\");\\n\\t\\tSystem.out.println(\\\"| Enter 3 To Make A Withdrawl |\\\");\\n\\t\\tSystem.out.println(\\\"| Enter 4 To Exit |\\\");\\n\\t\\tSystem.out.println(\\\"| Enter 5 To Change Pin |\\\");\\n\\t\\tSystem.out.println(\\\"--------------------------------\\\");\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b7e93a3c3538a04f7886524238a263e\",\n \"score\": \"0.5608749\",\n \"text\": \"public void updateCash(double cost){\\n\\t\\tcashInRegister = cost + cashInRegister;\\n\\t\\tSystem.out.println(\\\"The cashregister now contains \\\"+cashInRegister+\\\" $\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcdaeb9f4796e7cf7668d881f9b52c30\",\n \"score\": \"0.5604286\",\n \"text\": \"public void displayMenu()\\n\\t{\\n\\t\\tSystem.out.println(\\\"===== Vending Machine Menu =====\\\");\\n\\t\\tSystem.out.println(\\\" 1. Water............$1.50\\\");\\n\\t\\tSystem.out.println(\\\" 2. Regular Coffee...$2.00\\\");\\n\\t\\tSystem.out.println(\\\" 3. Sun Chip.........$1.00\\\");\\n\\t\\tSystem.out.println(\\\" 4. Chocolate Bar....$2.50\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1be3a38f62f1a1c05046332ee0a4f26\",\n \"score\": \"0.5591501\",\n \"text\": \"public static void displayMenu() {\\n System.out.printf(\\\"%s%s%s%s\\\",\\n \\\"(1) Convert Celsius to Fahrenheit\\\\n\\\",\\n \\\"(2) Convert Fahrenheit to Celsius\\\\n\\\",\\n \\\"(3) Exit\\\\n\\\",\\n \\\"Please choose: \\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0293ea5352235532b5dd4d5da200243\",\n \"score\": \"0.5579873\",\n \"text\": \"private void display() {\\r\\n\\r\\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\\r\\n\\r\\n quantityTextView.setText(\\\"\\\" + this.amount);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0c32731280af8dcc78990a0fea8b323\",\n \"score\": \"0.5566935\",\n \"text\": \"public void ClientView () {\\n\\t\\t\\n\\t\\tScanner sc = new Scanner(System.in);\\n\\t\\t\\n\\t\\tint ch = 0;\\n\\t\\twhile (ch != 4) {\\n\\t\\tSystem.out.println(\\\"Please make a selection:\\\");\\n\\t\\tSystem.out.println(\\\"1. Deposit money.\\\\n\\\");\\n\\t\\tSystem.out.println(\\\"2. Withdraw money.\\\\n\\\");\\n\\t\\tSystem.out.println(\\\"3. Check balance.\\\\n\\\");\\n\\t\\tSystem.out.println(\\\"4. Logout and exit. \\\");\\n\\t\\tch = sc.nextInt();\\n\\t\\t\\n\\t/*\\tswitch(ch) {\\n\\t\\tcase:\\n\\t\\tcase:\\n\\t\\tcase:\\n\\t\\tcase:\\n\\t\\t}*/\\n\\t\\tsc.close();\\n\\t}\\n\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16a6ddcf74ee7f2c708a50ec8014d11d\",\n \"score\": \"0.5546508\",\n \"text\": \"@Override\\r\\n public void showContent() {\\n double value = Console.readDouble(\\\"Amount:\\\");\\r\\n BigDecimal amount = new BigDecimal(value);\\r\\n \\r\\n String description = Console.readLine(\\\"Description:\\\");\\r\\n \\r\\n controller.registerSaving(amount, description);\\r\\n \\r\\n System.out.println(\\\"Savings registered.\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"759ccfed4da7da58cb364ee065af62e0\",\n \"score\": \"0.55343705\",\n \"text\": \"public double moneyRemaining(){\\n var newMonTrack = new MoneyTracker(2,2);\\n // to check if the user has entered money into option 1\\n if(newMonTrack.getRemainingTotal() == 0){\\n System.out.println(\\\"You have not calculated your expenditure, go back to option 1\\\");\\n // set default values, have no use here\\n var newMenu = new MainMenu(2,2);\\n newMenu.startMainMenu();\\n }\\n return newMonTrack.getRemainingTotal();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecd800e67807a8a95cd61b9fe4ec6318\",\n \"score\": \"0.5501399\",\n \"text\": \"private static String getDollarsEntered()\\n {\\n return JOptionPane.showInputDialog(null, \\\"How much money would you like to invest?\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d59a58b948c6b93525f6c0d1588effd8\",\n \"score\": \"0.54883623\",\n \"text\": \"public void showMenu() {\\n char option = '\\\\0'; // just to initialize options with a value, could have used anything or nothing?\\n Scanner scanner = new Scanner(System.in);\\n\\n System.out.println(\\\"Welcome \\\" + this.customerName);\\n System.out.println(\\\"Your ID is \\\" + this.customerId);\\n System.out.println(\\\"\\\\n\\\");\\n System.out.println(\\\"A. Check Balance\\\");\\n System.out.println(\\\"B. Deposit\\\");\\n System.out.println(\\\"C. Withdraw\\\");\\n System.out.println(\\\"D. Previous transaction\\\");\\n System.out.println(\\\"E. Exit\\\");\\n\\n do {\\n System.out.println(\\\"===========================================================================\\\");\\n System.out.println(\\\"Enter an option\\\");\\n System.out.println(\\\"===========================================================================\\\");\\n option = scanner.next().charAt(0);\\n System.out.println(\\\"\\\\n\\\");\\n\\n switch (option) {\\n case 'A':\\n System.out.println(\\\"----------------------------\\\");\\n System.out.println(\\\"Balance: \\\" + this.balance);\\n System.out.println(\\\"----------------------------\\\");\\n System.out.println(\\\"\\\\n\\\");\\n break;\\n case 'B':\\n System.out.println();\\n System.out.println(\\\"----------------------------\\\");\\n System.out.println(\\\"Enter an amount to deposit:\\\");\\n System.out.println(\\\"----------------------------\\\");\\n int amount = scanner.nextInt();\\n deposit(amount);\\n System.out.println(\\\"\\\\n\\\");\\n break;\\n case 'C':\\n System.out.println(\\\"----------------------------\\\");\\n System.out.println(\\\"Enter an amount to withdraw:\\\");\\n System.out.println(\\\"----------------------------\\\");\\n int amountToWithdraw = scanner.nextInt();\\n withdraw(amountToWithdraw);\\n System.out.println(\\\"\\\\n\\\");\\n break;\\n case 'D':\\n System.out.println(\\\"----------------------------\\\");\\n getPreviousTransaction();\\n System.out.println(\\\"----------------------------\\\");\\n System.out.println(\\\"\\\\n\\\");\\n break;\\n case 'E':\\n System.out.println(\\\"*****************************\\\");\\n break;\\n default:\\n System.out.println(\\\"Invalid option: please enter another option\\\");\\n break;\\n }\\n } while (option != 'E');\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e20b3b25d1f26d482da8be7993780b99\",\n \"score\": \"0.5480131\",\n \"text\": \"private void displayMenu() {\\n System.out.println(\\\"\\\\nPlease select a command:\\\");\\n System.out.println(\\\"purchase) Buy a book for the library from these search results\\\");\\n System.out.println(\\\"search) Search the store again\\\");\\n System.out.println(\\\"return) Return to main menu\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed8ad92c245ccede095005b1ef261f19\",\n \"score\": \"0.5452029\",\n \"text\": \"public static void displayMainMenu() {\\n\\t\\tSOP(\\\"Main Menu: \\\");\\n\\t\\tSOP(\\\"\\\\t1 - Add A Car\\\");\\n\\t\\tSOP(\\\"\\\\t2 - Update A Car\\\");\\n\\t\\tSOP(\\\"\\\\t3 - Remove A Car\\\");\\n\\t\\tSOP(\\\"\\\\t4 - Retrieve the Lowest Priced Car\\\");\\n\\t\\tSOP(\\\"\\\\t5 - Retrieve the Lowest Milage Car\\\");\\n\\t\\tSOP(\\\"\\\\t6 - Retrieve the Lowest Priced Car by Make and Model\\\");\\n\\t\\tSOP(\\\"\\\\t7 - Retrieve the Lowest Milage Car by Make and Model\\\");\\n\\t\\tSOP(\\\"\\\\t8 - Exit\\\");\\n\\t\\tSOP(\\\"\\\\t9 - Print ALL Cars\\\");\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f562d7b7dc23045efaaeacec26571c3f\",\n \"score\": \"0.5431343\",\n \"text\": \"public void credit(){\\n\\t\\tSystem.out.println(\\\"Amount credited\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af6336ff13e57415d44dff67999dc442\",\n \"score\": \"0.5427627\",\n \"text\": \"@Override\\n\\tpublic void printMenu() {\\n\\t\\t\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"[1] Market\\\\n\\\");\\n\\t\\t//System.out.println(\\\"[2] Land on Planet\\\");\\n\\t\\tSystem.out.println(\\\"[3] Ship Status\\\");\\n\\t\\tSystem.out.println(\\\"[4] Return to orbit\\\");\\n\\t\\t\\n\\t\\t\\n\\t\\tif (mainMenu.userInput.hasNextInt()) {\\n\\t\\t\\tint choice = mainMenu.userInput.nextInt();\\n\\t\\t\\t\\n\\t\\t\\tswitch (choice) {\\n\\t\\t\\t\\n\\t\\t\\t\\tcase 1:\\t// Menu State -> Travel Menu\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tmainMenu.setMenuState(mainMenu.marketMenu);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\n\\t\\t\\t\\t//case 2: // Menu State -> Station Menu\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//mainMenu.setMenuState(mainMenu.stationMenu);\\n\\t\\t\\t\\t\\t//break;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\tcase 3: // Menu State -> Status Menu\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tmainMenu.shipService.showStatus();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\tcase 4: \\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tmainMenu.setMenuState(mainMenu.orbitMenu);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Invalid Input\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b91dd9df499034a3fb98789669b5dec\",\n \"score\": \"0.54252523\",\n \"text\": \"public static void displayMenuUser() {\\n\\t\\tSystem.out.println(\\\"\\\\n\\\");\\n\\t\\tSystem.out.println(\\\"*******************************\\\");\\n\\t\\tSystem.out.println(\\\"*** PRS Console Application ***\\\");\\n\\t\\tSystem.out.println(\\\"*******************************\\\");\\n\\t\\tSystem.out.println(\\\"1.) View my Account\\\");\\n\\t\\tSystem.out.println(\\\"2.) Update My Account/Password\\\");\\n\\t\\tSystem.out.println(\\\"3.) View Available Products\\\");\\n\\t\\tSystem.out.println(\\\"4.) View my Open Purchase Requests\\\");\\n\\t\\tSystem.out.println(\\\"5.) Create a New Purchase Request\\\");\\n\\t\\tSystem.out.println(\\\"6.) Update My Purchase Requests\\\");\\n\\t\\tif (loginUser.isReviewer()) {\\n\\t\\t\\tSystem.out.println(\\\"7.) Approve Purchase Requests\\\");\\n\\t\\t\\tSystem.out.println(\\\"8.) Exit\\\");\\n\\t\\t} else {\\n\\t\\t\\tSystem.out.println(\\\"7.) Exit\\\");\\t\\n\\t\\t}\\n\\t\\tSystem.out.println();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f68b56721c1535c676e66399c2f828c\",\n \"score\": \"0.54149276\",\n \"text\": \"static void take()\\n {\\n System.out.println(\\\"I gave you $\\\" + moneySupply);\\n moneySupply = 0;\\n System.out.println();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5153a1bc945f78683a1b3ff2137c3c5b\",\n \"score\": \"0.5407753\",\n \"text\": \"public static void printMenuList(){\\r\\n\\t\\tmenu = RestaurantManager.getMenuItems(); //get menu items from RestaurantManager and save them to attribute.\\r\\n\\t\\tprices = RestaurantManager.getPrices(); // get prices from RestaurantManager and save them to attribute.\\r\\n\\t\\tString prompt = \\\"[T] Total\\\\n\\\" + \\\"[P] Payment\\\\n\\\" + \\\"[M] DisplayMenus\\\\n\\\" + \\\"[E] Exit\\\";\\r\\n\\t\\tSystem.out.println(\\\"--------- Welcome to SKE Restaurant ---------\\\");\\r\\n\\t\\tfor (int i = 0; i= 12){\\n nombreTotalCereale -= 12;\\n Money.setTotalMoney(Money.getTotalMoney() + 10);\\n }\\n else\\n System.out.println(\\\"You don't have enough cereals to sell for money.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b745937bc8a8df8bebf324902be0ad0b\",\n \"score\": \"0.53618515\",\n \"text\": \"public static void cdReturning() {\\n\\t\\tSystem.out.println(\\\"\\\");\\n\\t\\tSystem.out.println(\\\"\\\\t\\\\t +-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+\\\" + \\\"\\\\n\\\"\\n\\t\\t\\t\\t+ \\\"\\\\t\\\\t |C|D| |R|e|t|u|r|n|i|n|g| |M|e|n|u|\\\" + \\\"\\\\n\\\"\\n\\t\\t\\t\\t+ \\\"\\\\t\\\\t +-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+\\\");\\n\\t\\tSystem.out.println(\\\"\\\");\\n\\n\\t\\tdo {\\n\\n\\t\\t\\tSystem.out.println(\\\"Enter CD number: \\\");\\n\\t\\t\\tint item_number = sc.nextInt();\\n\\t\\t\\trentList.remove(item_number);\\n\\n\\t\\t\\tSystem.out.println(\\\"Your cd returning was recorded successfully!\\\");\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tSystem.out.println(\\\"Return anthor cd? yes/no\\\");\\n\\t\\t\\t\\tconfirmation = sc.next();\\n\\t\\t\\t\\tif (!(confirmation.equalsIgnoreCase(\\\"yes\\\") || confirmation\\n\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(\\\"no\\\")))\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Invalid input. Enter yes/no\\\");\\n\\t\\t\\t} while (!(confirmation.equalsIgnoreCase(\\\"yes\\\") || confirmation\\n\\t\\t\\t\\t\\t.equalsIgnoreCase(\\\"no\\\")));\\n\\t\\t} while (!confirmation.equalsIgnoreCase(\\\"no\\\"));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dd86ef04a6ed3896ce86e9c9ce1e0a6\",\n \"score\": \"0.5350508\",\n \"text\": \"public void MenuElige(){\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"Elige una de las dos cuentas introduciendo su número: \\\");\\n System.out.println(\\\"1) Cuenta 1.\\\");\\n System.out.println(\\\"2) Cuenta 2.\\\"); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eea14b6f081adaf7032192df2a3c14af\",\n \"score\": \"0.5347621\",\n \"text\": \"public void onKeyPress(Widget sender, char keyCode, int modifiers) {\\n switch (keyCode) {\\n case 13:\\n updatePV(pv);\\n break;\\n case 27:\\n box.setText(pv.getValue().getValue());\\n break;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f22344c8bdbaab514785ec79c63a3d1\",\n \"score\": \"0.53390473\",\n \"text\": \"int startCash();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"136c2b137e451de3be532d6dbb89a732\",\n \"score\": \"0.5324597\",\n \"text\": \"public void displayAccountManageMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Account Manage Menu ----\\\");\\n System.out.println(\\\"Please select the service from: \\\");\\n System.out.println(\\\"1. edit account\\\");\\n System.out.println(\\\"2. unregister\\\");\\n System.out.println(\\\"R. return to the previous menu\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"-----------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bacfbabdff533fc7301b593a6ffa7178\",\n \"score\": \"0.5324015\",\n \"text\": \"public void mainMenu(){\\n this.printer.printTitle(\\\"Main Menu\\\");\\n System.out.println(\\\"To make an donation press 1\\\");\\n System.out.println(\\\"To view donations press 2\\\");\\n System.out.println(\\\"To view Projects press 3\\\");\\t\\n System.out.println(\\\"To exit press 4\\\");\\n if (!this.checkInputViolations(Arrays.asList(1,2,3,4))){\\n int numbericInput = Integer.parseInt(this.input);\\n switch(numbericInput){\\n case 1:\\n //donor makes donation \\n this.makeDonation();\\n break;\\n case 2:\\n viewDonations();\\n break;\\n case 3:\\n this.viewprojectScreen();\\n break;\\n case 4:\\n System.out.println(\\\"System now turning off. Thank you for using our service.\\\");\\n this.teminate = true;\\n break;\\n }\\t\\t\\n }else{\\n this.mainMenu();\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0d2558c44c6314d27464fade77375f2\",\n \"score\": \"0.53081656\",\n \"text\": \"private void OnItemFound(ActionEvent e) {\\r\\n\\t\\tString itemSelected = dialog.getSelectedItem();\\r\\n\\t\\tdialog.setVisible(false);\\r\\n\\t\\tdialog.dispose();\\r\\n\\t\\tItem selectedItem = inventoryManager.RetrieveItem(itemSelected);\\r\\n\\t\\tif(selectedItem == null) {\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(null,\\\"Could not find item \\\" + itemSelected + \\\" in inventory.\\\");\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\t\\tif(selectedItem.isAlcohol() && !cart.isAuthorizedToBuyAlcohol()) {\\r\\n\\t\\t\\tString result = \\\"\\\";\\r\\n\\t\\t\\twhile(result != null && !result.equals(\\\"1234\\\")) {\\r\\n\\t\\t\\t\\tresult = CashierAlcoholAuthorization();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tif(result == null) { //Cacher check was cancelled return\\r\\n\\t\\t\\t\\treturn;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcart.setAuthorizedToBuyAlcohol(true);\\r\\n\\t\\t}\\r\\n\\t\\tcart.AddItem(selectedItem);\\r\\n\\t\\tString currentItemText = String.format(\\\"Scanned %s $ %.2f\\\",selectedItem.getName(),selectedItem.getPrice());\\r\\n\\t\\tJLabel l = this.scanItemsView.getCurrentItem();\\r\\n\\t\\tl.setText(currentItemText);\\r\\n\\t\\tthis.scanItemsView.AddItemFromCart(selectedItem);\\r\\n\\t\\tdouble total = cart.Total();\\r\\n\\t\\tthis.scanItemsView.getTotalAmount().setText(String.format(\\\"$%.2f\\\",total));\\r\\n\\t\\tthis.scanItemsView.getBtnPay().setText(String.format(\\\"Pay $%.2f\\\",cart.SubTotal() ));\\r\\n\\t\\t//l.paintImmediately(l.getVisibleRect());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d6f6019433b67656d83f9e6a1332ffa\",\n \"score\": \"0.5306352\",\n \"text\": \"public void printReturnToMenu() {\\n System.out.println();\\n System.out.println();\\n System.out.println(\\\"Returning to main menu...\\\");\\n System.out.println(\\\"Enter \\\\\\\"p\\\\\\\" to review menu options\\\");\\n System.out.println();\\n System.out.println();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd9c4ef405cf1abd40463975deeb706\",\n \"score\": \"0.52988845\",\n \"text\": \"@Override\\r\\n\\tpublic void keyPress(int key) {\\n\\t\\tif(key==KeyEvent.VK_3){\\r\\n\\t\\t\\tGameCharacter.getInventory().addItem(Items.KEYCRYSTAL, 1);\\r\\n\\t\\t}\\r\\n\\t\\tif (key == KeyEvent.VK_8) {\\r\\n\\t\\t\\ttoggleLagPrevention();\\r\\n\\t\\t} else if (key == KeyEvent.VK_J) {\\r\\n\\t\\t\\tif (pointedPoint == null) {\\r\\n\\r\\n\\t\\t\\t\\tpointedPoint = MouseInfo.getPointerInfo().getLocation();\\r\\n\\t\\t\\t} else\\r\\n\\t\\t\\t\\tpointedPoint = null;\\r\\n\\t\\t}\\r\\n\\t\\tif (key == Preferences.CHAR_CHANGE() && state != State.NPC && GameCharacter.storyInt > 3)\\r\\n\\t\\t\\tswitching = true;\\r\\n\\t\\telse if (key == KeyEvent.VK_EQUALS)\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(owner, Preferences.getControls(), DigIt.NAME, JOptionPane.INFORMATION_MESSAGE);\\r\\n\\r\\n\\t\\telse if (state != State.NPC && key == KeyEvent.VK_ESCAPE) {\\r\\n\\r\\n\\t\\t\\tif (state != State.DEAD && state != State.LOADING)\\r\\n\\t\\t\\t\\tsetState(State.PAUSED);\\r\\n\\t\\t\\towner.quit(false);\\r\\n\\t\\t}\\r\\n\\t\\tswitch (state) {\\r\\n\\t\\tcase NPC:\\r\\n\\t\\t\\tif (key == Preferences.NPC())\\r\\n\\t\\t\\t\\tcurrent.exit();\\r\\n\\r\\n\\t\\t\\tbreak;\\r\\n\\r\\n\\t\\tcase PAUSED:\\r\\n\\t\\t\\tpausedHandler(key);\\r\\n\\t\\t\\tbreak;\\r\\n\\r\\n\\t\\tcase INGAME:\\r\\n\\r\\n\\t\\t\\tif (key == Preferences.PAUSE()) {\\r\\n\\t\\t\\t\\tsetState(State.PAUSED);\\r\\n\\t\\t\\t\\trepaint();\\r\\n\\t\\t\\t\\treturn;\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tingameHandler(key);\\r\\n\\t\\t\\tbreak;\\r\\n\\r\\n\\t\\tdefault:\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// repaint();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cba6c8757960e490f267e79f5fc5285\",\n \"score\": \"0.528794\",\n \"text\": \"public void doChangeRate() {\\r\\n System.out.println(\\\"Enter the new rate of charge ($/hour):\\\");\\r\\n rate = input.nextDouble();\\r\\n parkingList.setRate(rate);\\r\\n\\r\\n System.out.println(\\\"The rate has been set to \\\" + rate + \\\" $/hour\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d635778e8556dd4eee3bcd288347d6db\",\n \"score\": \"0.5287807\",\n \"text\": \"public static void rentCd() {\\n\\t\\tString confirm = \\\"no\\\"; // database\\n\\t\\tdo {\\n\\t\\t\\tint y = 0;\\n\\t\\t\\tSystem.out.println(\\\" \\\");\\n\\t\\t\\tSystem.out\\n\\t\\t\\t\\t\\t.println(\\\"\\\\t\\\\t +-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+\\\"\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\n\\\"\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\t |C|D| |R|e|n|t|a|l| |I|n|f|o|r|m|a|t|i|o|n|\\\"\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\n\\\"\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\t +-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+\\\");\\n\\t\\t\\tSystem.out.println(\\\"\\\");\\n\\t\\t\\tSystem.out.print(\\\"Enter the CD number: \\\");\\n\\t\\t\\tint itemNumber = sc.nextInt();\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tcdList.get(itemNumber);\\n\\t\\t\\t} catch (java.lang.IndexOutOfBoundsException e) {\\n\\t\\t\\t\\tSystem.out.println(\\\"CD not found!\\\");\\n\\t\\t\\t\\tconfirm = \\\"yes\\\";\\n\\t\\t\\t}\\n\\t\\t\\tSystem.out.print(\\\"Enter item type (weekly/overnight): \\\");\\n\\t\\t\\tString itemType = sc.next();\\n\\t\\t\\tSystem.out.print(\\\"Enter borrower name: \\\");\\n\\t\\t\\tsc.nextLine();\\n\\t\\t\\tString borrowerName = sc.nextLine();\\n\\t\\t\\tSystem.out.print(\\\"Enter borrower address: \\\");\\n\\t\\t\\tString borrowerAddress = sc.nextLine();\\n\\t\\t\\tSystem.out.print(\\\"Enter borrower mobile Number: \\\");\\n\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tif (!sc.hasNextInt()) {\\n\\t\\t\\t\\t\\tSystem.err.print(\\\"Enter an Integer!\\\\n\\\");\\n\\t\\t\\t\\t\\tSystem.out.print(\\\"Enter borrower mobile Number: \\\");\\n\\t\\t\\t\\t\\tsc.next();\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t} while (!sc.hasNextInt());\\n\\n\\t\\t\\tint borrowerNumber = sc.nextInt();\\n\\n\\t\\t\\tSystem.out.print(\\\"Rented date(dd/mm/yyyy): \\\");\\n\\t\\t\\tString rentedDate = sc.next();\\n\\t\\t\\tSystem.out.print(\\\"Due date(dd/mm/yyyy): \\\");\\n\\t\\t\\tString dueDate = sc.next();\\n\\t\\t\\tint rentNumber = y;\\n\\t\\t\\trentList.add(itemNumber + \\\";\\\" + dueDate + \\\";\\\" + itemType + \\\";\\\"\\n\\t\\t\\t\\t\\t+ borrowerName + \\\";\\\" + borrowerAddress + \\\" ;\\\"\\n\\t\\t\\t\\t\\t+ borrowerNumber + \\\";\\\" + rentedDate + \\\";\\\" + rentNumber\\n\\t\\t\\t\\t\\t+ \\\";\\\");\\n\\t\\t\\ty++;\\n\\t\\t\\tSystem.out\\n\\t\\t\\t\\t\\t.println(\\\"Your cd rental details was recorded successfully!\\\");\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tSystem.out.println(\\\"Do you want to rent a new cd? (Yes/No)\\\");\\n\\t\\t\\t\\tconfirm = sc.next();\\n\\t\\t\\t\\tif (!(confirm.equalsIgnoreCase(\\\"yes\\\") || confirm\\n\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(\\\"no\\\")))\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Invalid input. Enter (Yes/No)\\\");\\n\\t\\t\\t} while (!(confirm.equalsIgnoreCase(\\\"yes\\\") || confirm\\n\\t\\t\\t\\t\\t.equalsIgnoreCase(\\\"no\\\")));\\n\\t\\t} while (confirm.equalsIgnoreCase(\\\"yes\\\"));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd036b3bc67f817391b8a807e9bb1ce2\",\n \"score\": \"0.5287386\",\n \"text\": \"private void exchangeMoney(){\\n // if the user picked option 1, it will take the money entered and exchanged\\n try{\\n if(option.equals(\\\"1\\\")){\\n System.out.println(\\\"***************************************************************************************\\\");\\n System.out.println(\\\"The exchange money is £\\\" + String.format( \\\"%.2f\\\", findExchangeRate(enteredAmount) ) );\\n System.out.println(\\\"***************************************************************************************\\\");\\n } else {\\n System.out.println(\\\"***************************************************************************************\\\");\\n System.out.println(\\\"The money you have remaining exchanged into £\\\" + String.format( \\\"%.2f\\\", findExchangeRate(moneyRemaining())) );\\n System.out.println(\\\"***************************************************************************************\\\");\\n }\\n // go back to the main menu\\n // add some default values\\n var newMain = new MainMenu(2,2);\\n newMain.startMainMenu();\\n } catch (InputMismatchException d){\\n System.out.println(\\\"Something has gone wrong\\\");\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb9e03c50b358d22c003d912cb8fb6bd\",\n \"score\": \"0.52860457\",\n \"text\": \"public void displayCustomerMainMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Customer Main Menu ----\\\");\\n System.out.println(\\\"Please select the service from: \\\");\\n System.out.println(\\\"1. manage account\\\");\\n System.out.println(\\\"2. start viewing products\\\");\\n System.out.println(\\\"3. sign out\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"----------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0959490d09eae824765e3743310437fe\",\n \"score\": \"0.5280083\",\n \"text\": \"public void display_Current_Balance(){\\n System.out.println(\\\"The balance in the current account is :\\\" + \\\" \\\" + balance_amt );\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0471346dc3964dbacb667411f11ce95\",\n \"score\": \"0.5264291\",\n \"text\": \"public static void insertCash() {\\n\\t\\tSystem.out.print(\\\"請投入現金: 1) 50元 2) 100元 3) 500元4) 1000元 5)結束 -1)取消: \\\");\\n\\t\\tinput = scanner.nextInt();\\n\\t\\tif (input == 1)\\n\\t\\t\\tamount += 50;\\n\\t\\telse if (input == 2)\\n\\t\\t\\tamount += 100;\\n\\t\\telse if (input == 3)\\n\\t\\t\\tamount += 500;\\n\\t\\telse if (input == 4)\\n\\t\\t\\tamount += 1000;\\n\\t\\telse if (input == 5)\\n\\t\\t\\tstatus = 2;\\n\\t\\telse if (input == -1){\\n\\t\\t\\tif (amount > 0) \\n\\t\\t\\t\\tSystem.out.printf(\\\"退您%d元。\\\\n\\\", amount);\\n\\t\\t\\tstatus = 0;\\n\\t\\t}\\n\\t\\telse\\n\\t\\t\\tSystem.out.print(\\\"Input error!\\\");\\n\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9c709e0329506d513dfa82bf4d1e279\",\n \"score\": \"0.5246852\",\n \"text\": \"private void displayQuantity(int numberOfCups) {\\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\\n quantityTextView.setText(\\\"\\\" + numberOfCups);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63ff192619d55f5a345bc77639b012d7\",\n \"score\": \"0.5241162\",\n \"text\": \"@Override\\n public void returnCash() {\\n System.out.println(\\\"Return Cash 2\\\");\\n System.out.println(\\n \\\"Returning :\\\" + (((DataStore2) this.dataStore).getCash() - this.dataStore.getTotal()));\\n ((DataStore2) this.dataStore).setCash(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a278117cd24c123b16bc902ebee89b30\",\n \"score\": \"0.52357215\",\n \"text\": \"public static int menu(){\\r\\n\\t\\t\\r\\n\\t\\tint choice;\\r\\n\\t\\t\\r\\n\\t\\tSystem.out.println(\\\"1. print shit\\\");\\r\\n\\t\\tSystem.out.println(\\\"2. print hi\\\");\\r\\n\\t\\tSystem.out.println(\\\"3. Commision\\\");\\r\\n\\t\\tSystem.out.println(\\\"4. discount\\\");\\r\\n\\t\\tSystem.out.println(\\\"5. intrest\\\");\\r\\n\\t\\tSystem.out.println(\\\"6. circles\\\");\\r\\n\\t\\tSystem.out.println(\\\"7. quit\\\");\\r\\n\\t\\t\\r\\n\\t\\tchoice = k.nextInt();\\r\\n\\t\\t\\r\\n\\t\\treturn choice;\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e092e3bcd5348aab5e0e282459d8f913\",\n \"score\": \"0.5232565\",\n \"text\": \"@Override\\n\\tpublic void menu() {\\n\\t\\tif(mod==1) {\\n\\t\\t\\tSystem.out.println(\\\"1-Add Player\\\");\\n\\t\\t\\tSystem.out.println(\\\"2-Remove Player\\\");\\n\\t\\t\\tSystem.out.println(\\\"3-View Player's Inventory\\\");\\n\\t\\t\\tSystem.out.println(\\\"4-Return to menu\\\");\\n\\t\\t}\\n\\t\\telse \\n\\t\\t\\tSystem.out.println(\\\"Do you want to return to the menu? (y for yes)\\\");\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1456779119e36a905a0a94ae4422b98\",\n \"score\": \"0.5230585\",\n \"text\": \"public String addKey(String key){\\r\\n double num; // to hold the number in display.\\r\\n\\r\\n //switch statement for all different key presses.\\r\\n switch (key){\\r\\n\\r\\n //adds a decimal point only if there isn't one already.\\r\\n case \\\".\\\":\\r\\n\\r\\n if (!display.toString().contains(\\\".\\\")){\\r\\n display.append(\\\".\\\");\\r\\n }\\r\\n break;\\r\\n /*adds the top two numbers on the stack together. If there aren't any\\r\\n numbers in the stack, then do nothing.*/\\r\\n case \\\"+\\\":\\r\\n /*if the numberDone is false, enter the number in the stack, otherwise\\r\\n just add what is in the stack already*/\\r\\n if (!numberDone) {\\r\\n // make the number on the display a double,\\r\\n num = Double.parseDouble(display.toString());\\r\\n // put that double in the stack\\r\\n calc.enterNumber(num);\\r\\n // set flag so a new number will start on the display\\r\\n numberDone = true;\\r\\n }\\r\\n //get the sum\\r\\n num = calc.add();\\r\\n //put the sum on the display\\r\\n display.replace(0, display.length(), (\\\"\\\" + num));\\r\\n break;\\r\\n\\r\\n /*subtracts the top two numbers on the stack together. If there aren't any\\r\\n numbers in the stack, then do nothing.*/\\r\\n case \\\"-\\\":\\r\\n /*if the numberDone is false, enter the number in the stack, otherwise\\r\\n just subtract what is in the stack already*/\\r\\n if (!numberDone){\\r\\n // make the number on display a double\\r\\n num = Double.parseDouble(display.toString());\\r\\n //put double into stack\\r\\n calc.enterNumber(num);\\r\\n //set flag so a new number can start on screen\\r\\n numberDone = true;\\r\\n }\\r\\n //get the difference\\r\\n num = calc.subtract();\\r\\n //put difference on display\\r\\n display.replace(0,display.length(),(\\\"\\\" + num));\\r\\n break;\\r\\n\\r\\n /* multiplies the top two numbers on the stack together. If there aren't any\\r\\n numbers in the stack, then do nothing.*/\\r\\n case \\\"*\\\":\\r\\n /*if the numberDone is false, enter the number in the stack, otherwise\\r\\n just multiply what is in the stack already*/\\r\\n if (!numberDone){\\r\\n //make the number on the display a double\\r\\n num = Double.parseDouble(display.toString());\\r\\n // put double into stack\\r\\n calc.enterNumber(num);\\r\\n //set flag so a new number can start\\r\\n numberDone = true;\\r\\n }\\r\\n //get the product\\r\\n num = calc.multiply();\\r\\n //put product on the display\\r\\n display.replace(0, display.length(), (\\\"\\\" + num));\\r\\n break;\\r\\n\\r\\n /*divides the top two numbers on the stack together. If there aren't any\\r\\n numbers in the stack, then do nothing.*/\\r\\n case \\\"/\\\":\\r\\n /*if the numberDone is false, enter the number in the stack, otherwise\\r\\n just multiply what is in the stack already*/\\r\\n if (!numberDone) {\\r\\n //make the number on the display a double\\r\\n num = Double.parseDouble(display.toString());\\r\\n // put the double in the stack\\r\\n calc.enterNumber(num);\\r\\n // set flag so that a new number can start\\r\\n numberDone = true;\\r\\n }\\r\\n //get the quotient\\r\\n num = calc.divide();\\r\\n // put quotient on display\\r\\n display.replace(0, display.length(),(\\\"\\\" + num));\\r\\n break;\\r\\n\\r\\n // enters number into stack and puts the double equivalent on display.\\r\\n case \\\"^\\\":\\r\\n // new number can start on display\\r\\n numberDone = true;\\r\\n // the a string into a double, put it in the stack and on the display\\r\\n num = Double.parseDouble(display.toString());\\r\\n display.replace(0, display.length(), (\\\"\\\" + num));\\r\\n calc.enterNumber(num);\\r\\n break;\\r\\n\\r\\n // deletes the last char in the display\\r\\n case \\\"<\\\":\\r\\n //only delete the char if the number isn't done. If it is done, then\\r\\n //it shouldn't be editable.\\r\\n if (!numberDone){\\r\\n display.deleteCharAt(display.length()-1);\\r\\n }\\r\\n //otherwise don't do anything.\\r\\n break;\\r\\n\\r\\n // make the number on display a negative if positive, or vice versa.\\r\\n case \\\"+/-\\\":\\r\\n if (display.charAt(0) == '-'){\\r\\n display.deleteCharAt(0);\\r\\n }\\r\\n else {\\r\\n display.insert(0, \\\"-\\\");\\r\\n }\\r\\n break;\\r\\n // put said number on display.\\r\\n case\\\"0\\\":\\r\\n case\\\"1\\\":\\r\\n case\\\"2\\\":\\r\\n case\\\"3\\\":\\r\\n case\\\"4\\\":\\r\\n case\\\"5\\\":\\r\\n case\\\"6\\\":\\r\\n case\\\"7\\\":\\r\\n case\\\"8\\\":\\r\\n case\\\"9\\\":\\r\\n /*if the number is done and has been added to the stack, start a new\\r\\n number*/\\r\\n if (numberDone){\\r\\n display.delete(0, display.length());\\r\\n }\\r\\n //put the number on the display\\r\\n display.append(key);\\r\\n // can still add to number on display\\r\\n numberDone = false;\\r\\n break;\\r\\n\\r\\n // puts number on display on stack, and puts pi on screen.\\r\\n case \\\"pi\\\":\\r\\n //if the numberDone is false, then put number on display into stack\\r\\n if (!numberDone) {\\r\\n // make the number in the display a double\\r\\n num = Double.parseDouble(display.toString());\\r\\n // put double into stack\\r\\n calc.enterNumber(num);\\r\\n }\\r\\n //otherwise just put pi on the screen\\r\\n display.replace(0,display.length(),\\\"\\\" + Math.PI);\\r\\n // and put pi into the stack\\r\\n calc.enterNumber(Math.PI);\\r\\n //can't add to pi.\\r\\n numberDone = true;\\r\\n }\\r\\n\\r\\n //return the display.\\r\\n return display.toString();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beac17df12496a78cd06895cc19d36f6\",\n \"score\": \"0.5228523\",\n \"text\": \"public void displayMainMenu(){\\n System.out.println(\\\"1. List all available Enclosures\\\");\\n System.out.println(\\\"2. List all available Cages with their Animals and Keepers\\\");\\n System.out.println(\\\"3. Add a new Cage\\\");\\n System.out.println(\\\"4. List all available Animals \\\");\\n System.out.println(\\\"5. Add new Animal and assign it to Cage\\\");\\n System.out.println(\\\"6. Unassign Animal from Cage\\\");\\n System.out.println(\\\"7. List all available Keepers\\\");\\n System.out.println(\\\"8. Add a new Keeper\\\");\\n System.out.println(\\\"9. Assign keeper to cage\\\");\\n System.out.println(\\\"10. Unassign Keeper from Cage\\\");\\n System.out.println(\\\"11. Save all the current details and exit\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53da444b197771a578a4d2943ce5df00\",\n \"score\": \"0.5228178\",\n \"text\": \"@Override\\n\\tpublic Prompt run() {\\n\\t\\tSystem.out.println(\\\"Which character would you like to deposit to?\\\");\\n\\t\\tString name = input.nextLine();\\n\\t\\tWizardStudent currentWizard = wizardDao.findByName(name);\\n\\t\\tif(currentWizard != null) {\\n\\t\\t\\tSystem.out.println(\\\"How many points would you like to deposit?\\\");\\n\\t\\t\\tint pointsAdded = input.nextInt();\\n\\t\\t\\tint currentPoints = currentWizard.getHousePoints();\\n\\t\\t\\tint newHousePoints = currentPoints + pointsAdded;\\n\\t\\t\\t\\n\\t\\t\\t//adding points to transaction\\n\\t\\t\\twizardDao.addTransaction(\\\"added points: \\\" + pointsAdded, currentWizard.getName());\\n\\t\\t\\t\\n\\t\\t\\ttry (Connection hogwartsDatabase = ConnectionUtil.getConnection()){\\n\\t\\t\\t\\tString changePoints = \\\"UPDATE hogwarts_characters SET house_points = ? WHERE wizard_name = ?\\\";\\n\\t\\t\\t\\tPreparedStatement ps = hogwartsDatabase.prepareStatement(changePoints);\\n\\t\\t\\t\\tps.setInt(1, newHousePoints);\\n\\t\\t\\t\\tps.setString(2, name);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tps.executeUpdate();\\n\\t\\t\\t\\t\\n\\t\\t\\t} catch(SQLException e) {\\n\\t\\t\\t\\te.getSQLState();\\n\\t\\t\\t\\te.getCause();\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t\\t//String pointsTransaction = Integer.toString(newHousePoints);\\n\\t\\t\\t\\n\\t\\t} else {\\n\\t\\t\\tSystem.out.println(\\\"Invalid character, please enter a valid character.\\\");\\n\\t\\t\\treturn this;\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\treturn new MainMenuPrompt();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6a922f8dbd4c736d9ffd0591e516125\",\n \"score\": \"0.5226032\",\n \"text\": \"@Override\\r\\n public void handle(ActionEvent event) \\r\\n {\\n System.out.println(\\\"CREDIT\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f993f74437a2be5a50b265c7f210d78\",\n \"score\": \"0.522527\",\n \"text\": \"public void payment()\\r\\n\\t{\\r\\n\\t\\tSystem.out.println(\\\"Your total is \\\"+money.format(finalPrice)+\\\" how much\\\" +\\r\\n\\t\\t\\t\\t\\\" would you like to pay with?\\\");\\r\\n\\t\\tpay = scan.nextDouble();\\r\\n\\t\\tchange = pay-finalPrice;\\r\\n\\t\\tscan.nextLine();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daf1d19b1e1e81b1108c3d0ec42f8652\",\n \"score\": \"0.52032137\",\n \"text\": \"public static void main(String[] args) {\\n Scanner scan = new Scanner(System.in);\\n String item = scan.nextLine(),\\n result = \\\"\\\";\\n int giftCardBalance = 100;\\n\\n\\n\\n switch (item) {\\n case \\\"Blanket\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 60) + \\\"$\\\";\\n break;\\n case \\\"Charger\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\"\\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 15) + \\\"$\\\";\\n break;\\n case \\\"Hat\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 25) + \\\"$\\\";\\n break;\\n case \\\"Headphones\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 30) + \\\"$\\\";\\n break;\\n case \\\"Laptop\\\":\\n result = \\\"Sorry, not enough funds on your gift card!\\\";\\n\\n break;\\n case \\\"Pants\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 50) + \\\"$\\\";\\n break;\\n case \\\"Pillow\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 40) + \\\"$\\\";\\n break;\\n case \\\"Smartphone\\\":\\n result = \\\"Sorry, not enough funds on your gift card!\\\";\\n break;\\n case \\\"Socks\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 5) + \\\"$\\\";\\n break;\\n case \\\"USB cable\\\":\\n result = \\\"Thank you for your purchase!\\\" + \\\" \\\\n\\\" +\\n \\\"Your current balance is: \\\" + (giftCardBalance - 10) + \\\"$\\\";\\n break;\\n\\n default:\\n result = \\\"Invalid item!\\\";\\n\\n\\n }\\n System.out.println(result);\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5746eb0cf21fb197e143014c976703eb\",\n \"score\": \"0.51971173\",\n \"text\": \"public void displayMenu() {\\n System.out.print(\\\"1 - Challenger \\\\r\\\\n\\\");\\n System.out.print(\\\"2 - Défenseur \\\\r\\\\n\\\");\\n System.out.print(\\\"3 - Duel \\\\r\\\\n\\\");\\n System.out.print(\\\"4 - Quitter \\\\r\\\\n\\\");\\n System.out.println(\\\"choisissez le mode de jeu qui vous convient : \\\\r\\\\n\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f61d122a0908c722a7a9a4ca21140238\",\n \"score\": \"0.51865053\",\n \"text\": \"static void employeeMenu() {\\n\\t\\tsc = new Scanner(System.in);\\n\\t\\tint Emploptn;// customer options keys\\n\\t\\tboolean exit = false;\\n\\t\\tList cars = new ArrayList<>();\\n\\n\\t\\tSystem.out.println(\\\"Employee Access\\\\n\\\\n1)Add/Remove Cars\\\\n2)Cars\\\\n3)Offer\\\\n4)View all payments\\\\n5)Exit\\\");\\n\\t\\tdo {\\n\\t\\t\\tEmploptn = sc.nextInt();\\n\\n\\t\\t\\tswitch (Emploptn) {\\n\\t\\t\\tcase 1:// Add and Remove cars\\n\\t\\t\\t\\tSystem.out.println(\\\"Would you like to add cars or remove cars?\\\");\\n\\t\\t\\t\\tString answer = sc.next();\\n\\t\\t\\t\\tif (answer.contentEquals(\\\"add\\\")) {\\n\\t\\t\\t\\t\\tInventory();\\n\\t\\t\\t\\t} else if (answer.contentEquals(\\\"remove\\\")) {\\n\\t\\t\\t\\t\\tRemove();\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\temployeeMenu();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 2:// List of cars\\n\\t\\t\\t\\tSystem.out.println(\\\"My cars\\\");// list of cars\\n\\t\\t\\t\\tprintCarList(cars);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 3:// Offers available\\n\\t\\t\\t\\tSystem.out.println(\\\"Offer available (Accept or decline)\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 4:\\n\\t\\t\\t\\t// View all payments\\n\\t\\t\\t\\tSystem.out.println(\\\"View all payments!\\\");\\n\\n\\t\\t\\tcase 5:\\n\\t\\t\\t\\tSystem.out.println(\\\"Exit!\\\");\\n\\t\\t\\t\\texit = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tSystem.out.println(\\\"U dun F'ed up!\\\");\\n\\t\\t\\t}\\n\\t\\t} while (!exit);\\n\\t\\tSystem.out.println(\\\"Au revoir ami!\\\");\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e9d46f4e22556d3d4f6df15785097cd\",\n \"score\": \"0.51830584\",\n \"text\": \"public static void menu() {\\r\\n System.out.println(\\\"/nWelcome\\\" +\\r\\n\\t\\t\\\"\\\\n1.Sandwishes 45 kr\\\" +\\r\\n\\t\\t\\\"\\\\n2.Hamburger, 65 kr\\\" +\\r\\n\\t\\t\\\"\\\\n3.Veggieburger 65 kr\\\" +\\r\\n\\t\\t\\\"\\\\n4.Samon Sallad 65 kr\\\" + \\r\\n\\t\\t\\\"\\\\n5.Swedish Meatballs 65 kr\\\" +\\r\\n\\t\\t\\\"\\\\n6.Pancakes 45 kr\\\" +\\r\\n\\t\\t\\\"\\\\n7.IceCream 45 kr\\\" +\\r\\n\\t\\t\\\"\\\\n8Lobster 450 kr\\\" +\\r\\n\\t\\t\\\"\\\\n9Veggieburger deluxe 250 kr\\\" +\\r\\n\\t\\t\\\"\\\\n10Mushroom stew and paked potatoe 125 kr\\\" +\\r\\n\\t\\t\\\"\\\\n11Veggie Sallad 100 kr\\\" +\\r\\n\\t\\t\\\"\\\\n12Lemon Cheesecake 125 kr\\\" +\\r\\n\\t\\t\\\"\\\\n13Strawberry Cheesecake 125 kr\\\" +\\r\\n\\t\\t\\\"\\\\n14Waffles and icecream 125 kr\\\");\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48728e64e84e1c9a5816c0455eb35501\",\n \"score\": \"0.51795083\",\n \"text\": \"public void buyItem()\\n\\t{\\n\\t\\tint choice = 0;\\n\\t\\tint quianty = 0;\\n\\t\\tSystem.out.print(\\\"Select an item number: \\\");\\n\\t\\tchoice = keyboard.nextInt();\\n\\t\\tSystem.out.print(\\\"How many do you want to buy? \\\");\\n\\t\\tquianty = keyboard.nextInt();\\n\\t\\t// uses a switch statement to decide what the user has chosen\\n\\t\\t// in each case it has a check to make sure that the number of items\\n\\t\\t// requested is fewer than the number of items that is in the machine\\n\\t\\t// if the requesed amount is more than the ammount in the machine it throws an \\n\\t\\t// excepotion \\n\\t\\t// if not than it takes away from the total how much they wanted\\n\\t\\t// and adds to the counter of how many they bought\\n\\t\\tswitch(choice)\\n\\t\\t{\\n\\t\\tcase 1: \\n\\t\\t\\tSystem.out.print(\\\"You selected Water. \\\");\\n\\t\\t\\tSystem.out.println(\\\"Quantity: \\\" + quianty);\\n\\t\\t\\tif(this.water - quianty < 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Selection Failed. We don’t \\\"\\n\\t\\t\\t\\t\\t\\t+ \\\"have enough Water.\\\");\\n\\t\\t\\t}\\n\\t\\t\\telse { this.water -= quianty;\\n\\t\\t\\t\\tthis.waterCounter = quianty;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase 2: \\n\\t\\t\\tSystem.out.print(\\\"You selected Regular Coffee. \\\");\\n\\t\\t\\tSystem.out.println(\\\"Quantity: \\\" + quianty);\\n\\t\\t\\tif(this.coffee < quianty)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Selection Failed. We don’t \\\"\\n\\t\\t\\t\\t\\t\\t+ \\\"have enough Regular Coffee.\\\");\\n\\t\\t\\t}\\n\\t\\t\\telse{ this.coffee -= quianty;\\n\\t\\t\\t\\tthis.coffeeCounter = quianty;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase 3: \\n\\t\\t\\tSystem.out.print(\\\"You selected Sun Chip. \\\");\\n\\t\\t\\tSystem.out.println(\\\"Quantity: \\\" + quianty);\\n\\t\\t\\tif(this.chips < quianty)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Selection Failed. We don’t \\\"\\n\\t\\t\\t\\t\\t\\t+ \\\"have enough Sun Chip.\\\");\\n\\t\\t\\t}\\n\\t\\t\\telse{ this.chips -= quianty;\\n\\t\\t\\t\\tthis.chipsCounter = quianty;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase 4: \\n\\t\\t\\tSystem.out.print(\\\"You selected Chocolate Bar. \\\");\\n\\t\\t\\tSystem.out.println(\\\"Quantity: \\\" + quianty);\\n\\t\\t\\tif(this.chocolateBar < quianty)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Selection Failed. We don’t \\\"\\n\\t\\t\\t\\t\\t\\t+ \\\"have enough Chocolate Bar.\\\");\\n\\t\\t\\t}\\n\\t\\t\\telse{\\n\\t\\t\\t\\tthis.chocolateBar -= quianty;\\n\\t\\t\\tthis.chocolateBarCounter = quianty;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\t\\t\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tSystem.out.println(\\\"Invalid Choice. \\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ff36c9b78fb93d131689b497e742785\",\n \"score\": \"0.51755846\",\n \"text\": \"private int displayMenu() {\\n\\t\\tSystem.out.println();\\n\\t\\t\\n\\t\\t/** \\n\\t\\t * opt is a local variable of type int that stores the numeric value of the category chosen by the user.\\n\\t\\t */\\n\\t\\tint opt = Integer.parseInt(getResponseTo(\\\"Enter a category from the following menu: \\\\n\\\" +\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tASSESSMENT + \\\".Assessment \\\\n\\\" +\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tFILLING + \\\".Filling \\\\n\\\" +\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCROWN + \\\".Crown \\\\n\\\" +\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCOSMETIC + \\\".Cosmetic Repair \\\\n\\\"));\\n\\t\\treturn (opt);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daaa69d5a8d57b20a0a3501781a2d116\",\n \"score\": \"0.5166086\",\n \"text\": \"private String InsertMoneyPrompt() {\\n String result = view.settingTheUserTransactionAmount();\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f62aa5ffe45f927a5f24ab434c58caac\",\n \"score\": \"0.51558995\",\n \"text\": \"public void actionPerformed(ActionEvent e)\\n\\t\\t\\t{\\n\\t\\t\\tdouble subtotal, tax, total;\\n\\t\\t\\t// Calculate the subtotal.\\n\\t\\t\\tsubtotal =getTeaCost() +\\n\\t\\t\\tgetFoodCost() +\\n\\t\\t\\tgetDrinksCost();\\n\\t\\t\\t// Calculate the sales tax.\\n\\t\\t\\ttax = subtotal * TAX_RATE;\\n\\t\\t\\t// Calculate the total.\\n\\t\\t\\ttotal = subtotal + tax;\\n\\t\\t\\t// Display the charges.\\n\\t\\t\\tJOptionPane.showMessageDialog(null,\\n\\t\\t\\tString.format(\\\"Subtotal: $%,.2f\\\\n\\\" +\\n\\t\\t\\t\\\"Tax: $%,.2f\\\\n\\\" +\\n\\t\\t\\t\\\"Total: $%,.2f\\\",\\n\\t\\t\\tsubtotal, tax, total));\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d5a904c6f851d41d086b66a83eef790\",\n \"score\": \"0.5153626\",\n \"text\": \"public void printMenu()\\n {\\n System.out.println(\\\"\\\\n\\\\nEnter option: \\\");\\n System.out.println(\\\"\\\\t 1 - Print all hurricane data \\\\n\\\" +\\n \\\"\\\\t 2 - Print maximum and minimum data \\\\n\\\" +\\n \\\"\\\\t 3 - Print averages \\\\n\\\" +\\n \\\"\\\\t 4 - Sort hurricanes by year \\\\n\\\" +\\n \\\"\\\\t 5 - Sort hurricanes by name \\\\n\\\" +\\n \\\"\\\\t 6 - Sort hurricanes by category, descending \\\\n\\\" +\\n \\\"\\\\t 7 - Sort hurricanes by pressure, descending \\\\n\\\" +\\n \\\"\\\\t 8 - Sort hurricanes by speed \\\\n\\\" + \\n \\\"\\\\t 9 - Search for hurricanes for a given year \\\\n\\\" +\\n \\\"\\\\t10 - Search for a given hurricane by name \\\\n\\\" +\\n \\\"\\\\t11 - Quit \\\\n\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3145e94f344771c3d9cc868d345e909c\",\n \"score\": \"0.5135653\",\n \"text\": \"public void credit(){\\n System.out.println(\\\"Bank- Credit\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4eaf06ffc900a53dc4b66f88af6e99b\",\n \"score\": \"0.513262\",\n \"text\": \"private void mainMenu() {\\n System.out.println(\\\"Canteen Management System\\\");\\n System.out.println(\\\"-----------------------\\\");\\n System.out.println(\\\"1. Show Menu\\\");\\n System.out.println(\\\"2. Show Vendor\\\");\\n System.out.println(\\\"3. Customer Info\\\");\\n System.out.println(\\\"4. Pending Orders\\\");\\n System.out.println(\\\"5. Order History\\\");\\n System.out.println(\\\"6. Show Full Order\\\");\\n System.out.println(\\\"7. Accept And Reject\\\");\\n System.out.println(\\\"8. Place Order\\\");\\n System.out.println(\\\"9. Cancel Order\\\");\\n System.out.println(\\\"10. Wallet Details\\\");\\n System.out.println(\\\"11. Pay GST\\\");\\n System.out.println(\\\"12.Exit\\\");\\n mainMenuDetails();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80335c50e050239541dcf86aa4f332e0\",\n \"score\": \"0.51318634\",\n \"text\": \"@Override\\n public void calculate(double totalPrice) {\\n this.input = new Scanner(System.in);\\n DecimalFormat decimalFormat = new DecimalFormat(\\\"##0.0#\\\");\\n Pattern accountPattern = Pattern.compile(\\\"[0-9]{12}\\\");\\n Pattern codePattern = Pattern.compile(\\\"[0-9]{3}\\\");\\n String string = \\\"$\\\" + decimalFormat.format(totalPrice + 0.49);\\n\\n System.out.print(\\\"Enter the bank code: \\\");\\n if(input.hasNext(codePattern)) this.bankCode = input.next(codePattern);\\n\\n System.out.print(\\\"Enter the account number: \\\");\\n if(input.hasNext(accountPattern)) this.accountNumber = input.next(accountPattern);\\n\\n if(this.accountNumber!=null && this.bankCode != null){\\n EventManager.getInstance().publish(new StringEvent(EventType.PRINT_RECEIPT,string));\\n System.out.print(\\\"Pay successfully!\\\\n\\\");\\n }else {\\n System.out.print(\\\"Pay failed.\\\\n\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15b0d86f528c8bfb83bc3bf13c0ecb1c\",\n \"score\": \"0.51308507\",\n \"text\": \"void showSmallCar(){\\n\\t\\tScanner sc=new Scanner(System.in);\\n\\t\\tint ch;\\n\\t\\tdo{\\n\\t\\t\\tSystem.out.println(\\\"-------------------------------------------\\\");\\n\\t\\t\\tSystem.out.println(\\\"\\\\t1:Maruti alto\\\\n\\\\t2:Honda Brio\\\\n\\\\t3:Main menu\\\");\\n\\t\\t\\tSystem.out.println(\\\"\\\\tEnter choice:\\\");\\n\\t\\t\\tch=sc.nextInt();\\n\\t\\t\\tSystem.out.println(\\\"-------------------------------------------\\\");\\n\\t\\t\\tswitch(ch){\\n\\t\\t\\tcase 1:\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tBulding Maruti Alto\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tSpecifications::\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tPrice: Rs.2.95 lakhs - Rs.4.41 lakhs\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tFuel economy: 22-32 km/l combined\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tSeating capacity: 4, 5\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tEngine: 0.80 L 3-cylinder, 0.80 L 3-cylinder natural gas\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 2:\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tBulding Honda Brio\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tSpecifications::\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tPrice:Rs.5,17,000.00\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tFuel Type:Petrol\\\");\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tEngine Displacement:1198cc\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 3:\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tBack to main menus\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\tEnter valid choice..\\\");\\n\\t\\t\\t}\\n\\t\\t}while(ch!=3);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1302e0071d6439890b4c750a40f331d7\",\n \"score\": \"0.51235676\",\n \"text\": \"public void displayCartMiniMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Cart Main Menu ----\\\");\\n System.out.println(\\\"Please select the service from: \\\");\\n System.out.println(\\\"1. add product to cart\\\");\\n System.out.println(\\\"2. view cart\\\");\\n System.out.println(\\\"R. return to the previous menu\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b39bc9d4c41f448b4667d134a49278f\",\n \"score\": \"0.51233333\",\n \"text\": \"public void displayCartDetailEditMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Unit Editor ----\\\");\\n System.out.println(\\\"Please select the attribute of unit to edit: \\\");\\n System.out.println(\\\"1. Amount\\\");\\n System.out.println(\\\"R. return to the previous menu\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"617e65004198b03177b9912484d8fe82\",\n \"score\": \"0.5120468\",\n \"text\": \"@Override\\n protected void onResume() {\\n super.onResume();\\n mCurrentCash = (TextView)findViewById(R.id.shopMoney);\\n mCurrentCash.setText(Integer.toString(SingletonCurrentCash.getInstance().getCash()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b42062dca1df4f7721c9c0264b7390da\",\n \"score\": \"0.51155984\",\n \"text\": \"public void tick(){\\n if (handler.getKeyManager().keyJustPressed(KeyEvent.VK_E))\\n active = !active;\\n if(!active){ return; }\\n// isDebugOn = true;\\n if(isDebugOn){\\n System.out.println(\\\"Inventory: \\\");\\n for(Item i : inventoryItems){\\n System.out.println(\\\"Item : \\\\\\\"\\\" + i.getName() + \\\"\\\\\\\" \\\" + i.getCount());\\n }\\n }\\n //Below codes makes you navigate inventory items list by keyboard.\\n if(handler.getKeyManager().keyJustPressed(KeyEvent.VK_NUMPAD8)){selectedItem--;}\\n if(handler.getKeyManager().keyJustPressed(KeyEvent.VK_NUMPAD2)){selectedItem++;}\\n\\n if(selectedItem < 0){selectedItem = inventoryItems.size() - 1;}\\n else if(selectedItem >= inventoryItems.size()){selectedItem = 0;}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44497720c90f9f918d4f2f2a3b6bb26a\",\n \"score\": \"0.51117086\",\n \"text\": \"void doAction() {\\n System.out.println(\\\"You are at the candy counter.\\\");\\n int index = random.nextInt(Items.candyBar.length);\\n if (kbio.YNRequestInput(\\\"Do you want to buy a \\\" + Items.candyBar[index])) {\\n super.addCandyBar(Items.candyBar[index]);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61526789b0b9655adf7abb73f03b9665\",\n \"score\": \"0.5107349\",\n \"text\": \"public void displayAccountEditMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Account Editor ----\\\");\\n System.out.println(\\\"Please select the detail part of your account to edit: \\\");\\n System.out.println(\\\"1. Password\\\");\\n System.out.println(\\\"2. Name\\\");\\n System.out.println(\\\"3. Phone\\\");\\n System.out.println(\\\"4. Email\\\");\\n System.out.println(\\\"5. Address\\\");\\n System.out.println(\\\"R. return to the previous menu\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a158d31ff29a46fe4d97adf464212144\",\n \"score\": \"0.51031846\",\n \"text\": \"private void DisplayCashSale(){\\n\\t\\t//Direct user to the CashSale Activity\\n\\t\\tstartActivity(new Intent(this,CashSale.class));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec63ec1eaf7186220e451a35929cbe1e\",\n \"score\": \"0.5097252\",\n \"text\": \"public int Menu() {\\n int userChoice = 0;\\n System.out.println(\\\"\\\\n+ + Main Menu + + + +\\\" +\\n \\\"\\\\nPress > 1 < To Order a Pizza!\\\" +\\n \\\"\\\\nPress > 2 < To See All orders, starting from most Recent.\\\" +\\n \\\"\\\\nPress > 3 < To See All orders, starting at the Oldest.\\\" +\\n \\\"\\\\nPress > 4 < To Quit Program.\\\");\\n do {\\n System.out.print(\\\"\\\\n >> Enter a number: \\\");\\n userChoice = input.nextInt();\\n input.nextLine();\\n } while (userChoice > 4);\\n return userChoice;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92afeac0ef8ec5ced7c5d9a952dd43ab\",\n \"score\": \"0.5094808\",\n \"text\": \"public void credit(){\\n System.out.println(\\\"Bank Credit\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d400b6f3f30072904dfd56b5feeb1b93\",\n \"score\": \"0.50922513\",\n \"text\": \"public void firstMenu() {\\n\\n int back = 0;\\n while (back == 0) {\\n spaces();\\n System.out.println(\\\"\\\\033[33m\\\" + \\\"========== BIENVENIDO A HOTEL TRANSILVANIA ==========\\\");\\n try {\\n System.out.println(\\\"\\\"\\\"\\n \\\\033[32m\\n [1]- Ingresar\\n [2]- Registrarse\\n [0]- Salir\\\"\\\"\\\");\\n System.out.print(\\\"Ingrese una opción: \\\");\\n switch (scan.nextInt()) {\\n case 1 -> logIn();\\n case 2 -> {\\n registerMenu();\\n saveHotel();\\n }\\n case 0 -> back++;\\n default -> System.out.println(\\\"\\\\033[31m\\\" + \\\"Opcion incorrecta\\\");\\n }\\n } catch (InputMismatchException e) {\\n System.out.println(\\\"\\\\033[31m\\\" + \\\"Solo se puede ingresar numeros.\\\");\\n scan.next();\\n }\\n }\\n saveHotel();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e176bba3e6ac2428cf30ea5fa079bc3\",\n \"score\": \"0.5091521\",\n \"text\": \"public void displayOwnerAccountManageMenu()\\n {\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"---- Account Manage Menu For Owner ----\\\");\\n System.out.println(\\\"Please select the service from: \\\");\\n System.out.println(\\\"1. add a new account\\\");\\n System.out.println(\\\"2. edit an existed account\\\");\\n System.out.println(\\\"3. remove an existed account\\\");\\n System.out.println(\\\"4. view the list of accounts\\\");\\n System.out.println(\\\"R. return to the previous menu\\\");\\n System.out.println(\\\"X. exit the MFV system\\\");\\n System.out.println(\\\"---------------------------------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e90139168151c903ef3ad181b934544d\",\n \"score\": \"0.50897247\",\n \"text\": \"@Override\\n public void generateOnScreen() {\\n System.out.println(\\\"Total amount of money spent is \\\" + countPrices());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d613531671601c15ad342673212b162\",\n \"score\": \"0.50888336\",\n \"text\": \"public void viewBal() {\\n\\t\\tSystem.out.println(\\\"Your outstanding balance is: RM\\\" +tuitionBal);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f153252e4e414e6de2520f807e8e8dc7\",\n \"score\": \"0.5087298\",\n \"text\": \"public static void mainMenu()\\n {\\n System.out.println();\\n System.out.println(\\\"-------------------------------------------------\\\");\\n System.out.println(\\\"Enter from the following options or -1 to quit. \\\");\\n System.out.println();\\n System.out.println(\\\"1: View Roster \\\");\\n System.out.println(\\\"2: View Schedule \\\");\\n System.out.println(\\\"3: View Staff \\\");\\n System.out.println(\\\"4: Add player \\\");\\n System.out.println(\\\"5: Add Game \\\");\\n System.out.println(\\\"6: Add Staff Member \\\");\\n System.out.println(\\\"7: Update Player Stats\\\");\\n System.out.println(\\\"8: Update Game Results\\\");\\n System.out.println(\\\"9: Save Roster\\\");\\n System.out.println(\\\"10: View Saved Information \\\");\\n System.out.println(\\\"-------------------------------------------------\\\");\\n System.out.println();\\n System.out.print(\\\"Enter here: \\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb1c4170374e029bf6f81cdde74d9dfa\",\n \"score\": \"0.5078135\",\n \"text\": \"public static void showMenu() {\\n kb = new Scanner(System.in);\\n System.out.println(\\\"Welcome to my garden!\\\\n\\\");\\n System.out.println(\\\"Please select:\\\");\\n System.out.println(\\\"1.\\\\tAdd flowerbed\\\");\\n System.out.println(\\\"2.\\\\tRemove folwerbed\\\");\\n System.out.println(\\\"3.\\\\tSave and exit\\\");\\n //System.out.println(\\\"4.\\\\tRead from file\\\");\\n int command = getIntInput();\\n switch (command) {\\n case 1:\\n Garden.getFlowerbedInput(\\\"grass.png\\\");\\n break;\\n case 2:\\n Garden.RemoveGarden();\\n //System.out.println(\\\"Removing flowerbed:\\\");\\n break;\\n case 3:\\n Garden.saveGarden();\\n break;\\n default:\\n System.out.println(\\\"Please input a value from 1 to 3\\\");\\n UserInterface.showMenu();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"760393d424e33bb6597026a659994d2c\",\n \"score\": \"0.50641745\",\n \"text\": \"public void runUI() {\\n\\n\\t\\tString User_R;\\n\\t\\tString User_RC;\\n\\t\\tString User_Sb;\\n\\t\\tint shareAmount;\\n\\t\\tboolean buy = true;\\n\\n\\t\\tdo {\\n\\t\\t\\tSystem.out\\n\\t\\t\\t\\t\\t.println(\\\"Would you like to see your 1 account status? 2 Or trade Stock? 3 or Cycle the market.\\\"\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"Or if you're done type exit.\\\");\\n\\n\\t\\t\\tUser_R = keyboard.next();\\n\\n\\t\\t\\tif (User_R.equals(\\\"1\\\")) {\\n\\t\\t\\t\\tSystem.out.println(ta.balance);\\n\\t\\t\\t\\tSystem.out.println(ta.stockPositions);\\n\\n\\t\\t\\t} else if (User_R.equals(\\\"2\\\")) {\\n\\t\\t\\t\\tSystem.out\\n\\t\\t\\t\\t\\t\\t.println(\\\"Which stock would you like? APPl, INTU, GOOG?\\\");\\n\\t\\t\\t\\tUser_RC = keyboard.next();\\n\\n\\t\\t\\t\\tSystem.out.println(\\\"How many shares?\\\");\\n\\t\\t\\t\\tshareAmount = keyboard.nextInt();\\n\\n\\t\\t\\t\\tSystem.out.println(\\\"Buy or Sell?\\\");\\n\\t\\t\\t\\tUser_Sb = keyboard.next();\\n\\n\\t\\t\\t\\tif (User_Sb.equals(\\\"Buy\\\")) {\\n\\t\\t\\t\\t\\tbuy = true;\\n\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tbuy = false;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\ttq.enqueue(User_RC, shareAmount, buy);\\n\\n\\t\\t\\t} else if (User_R.equals(\\\"3\\\")) {\\n\\t\\t\\t\\tse.cycleTurn();\\n\\t\\t\\t\\tprocessTrades();\\n\\n\\t\\t\\t}\\n\\n\\t\\t} while (!User_R.equals(\\\"exit\\\") && ta.balance >= 1);\\n\\n\\t\\tSystem.out.println(ta.balance);\\n\\t\\tSystem.out.println(\\\"Thanks for playing\\\");\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52e045ef212caa78e52973d430536f13\",\n \"score\": \"0.5061703\",\n \"text\": \"private void DisplayMenu() \\n {\\n int menuChoice = 0;\\n int count = 1;\\n \\n while(menuChoice != 12) {\\n \\n Scanner scan = new Scanner(System.in);\\n System.out.println(\\\"\\\");\\n System.out.println(\\\"1. Enter the deails of your books\\\");\\n System.out.println(\\\"2. Output details of books in stock.\\\");\\n System.out.println(\\\"3. Output details of book via it's title\\\");\\n System.out.println(\\\"4. Output details of book via it's ISBN\\\");\\n System.out.println(\\\"5. Display most expensive book in stock\\\");\\n System.out.println(\\\"6. Display quantity of total books in stock\\\");\\n System.out.println(\\\"7. Display total cost of all books in stock\\\");\\n System.out.println(\\\"8. Update stock of a book via it's ISBN\\\");\\n System.out.println(\\\"9. Update price of book via it's title\\\");\\n System.out.println(\\\"10. Add details of new book to stock\\\");\\n System.out.println(\\\"11. Delete record of book from stock via it's ISBN\\\");\\n System.out.println(\\\"12. Quit the program\\\");\\n \\n System.out.println();\\n menuChoice = CheckIfInt(scan, \\\"Enter the number of your choice: \\\");\\n \\n switch (menuChoice) {\\n \\n case 1:\\n PromptForBookDetails();\\n break;\\n case 2:\\n OutputAllBookDetails();\\n break;\\n case 3:\\n OutputDetailsViaTitle();\\n break;\\n case 4:\\n OutputDetailsViaISBN();\\n break;\\n case 5:\\n MostExpensiveBook();\\n break;\\n case 6:\\n TotalStockQuanity();\\n break;\\n case 7:\\n TotalStockPrice();\\n break;\\n case 8:\\n UpdateStockViaISBN();\\n break;\\n case 9:\\n UpdatePriceViaTitle();\\n break;\\n case 10:\\n AddNewBook();\\n break;\\n case 11:\\n DeleteExistingBook();\\n break;\\n case 12:\\n System.exit(0);\\n break;\\n }\\n } \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c79bf4b4166ce61449f4a53796f057d5\",\n \"score\": \"0.50612366\",\n \"text\": \"public void credit(){\\n\\t\\tSystem.out.println(\\\"HSBC---credit\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25ea0eda2b776ea56aea6b30597a429f\",\n \"score\": \"0.5057026\",\n \"text\": \"public void credit() { \\r\\n\\t\\tScanner input = new Scanner(System.in);\\r\\n\\t\\tdouble credit = input.nextDouble();\\r\\n\\t\\tbalance = credit;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25ee459e0e3b4ac1f7e878178d185249\",\n \"score\": \"0.50561464\",\n \"text\": \"public static void displayMenu() {\\n\\t\\tSystem.out.println(\\\"----------Menu----------\\\");\\n\\t\\tSystem.out.println(\\\"Welcome manager , choose what you want to do !\\\\n1.Add new location \\\\n2.Add new apartment\\\\n3.Allocate Price\\\\n4.Book apartment\\\\n5.Quit\\\\nEnter your choice:\\\");\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c030a7c499ab8993a27173c273f0522\",\n \"score\": \"0.5055681\",\n \"text\": \"public void run() { \\r\\n int choice = 0;\\r\\n do {\\r\\n \\r\\n this.displayMenu();\\r\\n \\r\\n choice = this.getUserInt(\\\"Please enter your choice\\\");\\r\\n if (choice == 1) {\\r\\n \\t this.displaySummaryData();\\r\\n \\t} else if (choice == 2) {\\r\\n \\t this.displayStatisticalData(); \\r\\n \\t} else if (choice == 3) {\\r\\n \\t this.displayAllRecords(); \\r\\n \\t} else if (choice < 1 || choice > 4) {\\r\\n \\t System.out.println();\\r\\n \\t System.out.println(\\\"\\\\tThat's not a valid menu option. Please try again.\\\");\\r\\n \\t}\\r\\n } while (choice != 4);\\r\\n \\r\\n System.out.println();\\r\\n \\tSystem.out.println(\\\"\\\\tThank you for using the Stock Manager Application.\\\");\\r\\n \\tSystem.out.println(\\\"\\\\tGoodbye!\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81e43f5d8e2a7ef6999c6819b2c2e82e\",\n \"score\": \"0.50554025\",\n \"text\": \"@Override\\r\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\tif(total <= 21) {\\r\\n\\t\\t\\tif(e.getSource() == hit) {\\r\\n\\t\\t\\t\\tint newCard = drawCard();\\r\\n\\t total += newCard;\\r\\n\\t scores.setText(\\\"Dealer hand: \\\" + house + \\\" \\\" + \\\"Your hand: \\\" + total);\\r\\n\\t if(total > 21) {\\r\\n\\t \\tscores.setText(\\\"Dealer hand: \\\" + house + \\\" \\\" + \\\"Your hand: \\\" + total);\\r\\n\\t \\tcheckWin();\\r\\n\\t \\t\\r\\n\\t }\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tif(e.getSource() == stay) {\\r\\n\\t\\t\\t\\tif(total <= 21) {\\r\\n\\t\\t houseGetCards();\\r\\n\\t\\t scores.setText(\\\"Dealer hand: \\\" + house + \\\" \\\" + \\\"Your hand: \\\" + total);\\r\\n\\t\\t }\\r\\n\\t\\t\\t\\tcheckWin();\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a204c55c8914d888530e456981e0534\",\n \"score\": \"0.50546676\",\n \"text\": \"@Override\\n\\tpublic int queryCash() {\\n\\t\\treturn cash;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6a9adecab9a5bd7b318e0da77d20ff1\",\n \"score\": \"0.5050956\",\n \"text\": \"@Override\\r\\n public void keyPressed(KeyEvent e) {\\r\\n \\r\\n \\r\\n if (e.getKeyCode()==KeyEvent.VK_ENTER){\\r\\n \\r\\n model.setNumero1(Integer.parseInt(view.TN1.getText()));\\r\\n model.setNumero2(Integer.parseInt(view.TN2.getText()));\\r\\n model.sumar();\\r\\n view.Tresultado.setText(String.valueOf(model.getResultado())); \\r\\n \\r\\n\\r\\n }\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe6a59f1743d589fc181a15a8395d736\",\n \"score\": \"0.5048724\",\n \"text\": \"public static void mainMenu() {\\n\\n\\t\\tif (cartao != null) {\\n\\t\\t\\tSystem.out.println(\\\"************************************\\\");\\n\\t\\t\\tSystem.out.println(\\\"** MAQUINA ANDANTE **\\\");\\n\\t\\t\\tSystem.out.println(\\\"************************************\\\");\\n\\t\\t\\tSystem.out.println(\\\"** \\\\\\\"\\\" + cartao.zona.nome + \\\"\\\\\\\" \\\" + cartao.quantidade + \\\" **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** 1) COMPRAR Cartão Andante **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** 2) CARREGAR Cartão Andante **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** 3) MUDAR ZONA Cartão Andante **\\\");\\n\\t\\t\\tSystem.out.println(\\\"************************************\\\");\\n\\t\\t\\tSystem.out.print(\\\"Escolha operação : \\\");\\n\\t\\t} else {\\n\\t\\t\\tSystem.out.println(\\\"************************************\\\");\\n\\t\\t\\tSystem.out.println(\\\"** MAQUINA ANDANTE **\\\");\\n\\t\\t\\tSystem.out.println(\\\"************************************\\\");\\n\\t\\t\\tSystem.out.println(\\\"** **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** 1) COMPRAR Cartão Andante **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** **\\\");\\n\\t\\t\\tSystem.out.println(\\\"** **\\\");\\n\\t\\t\\tSystem.out.println(\\\"************************************\\\");\\n\\t\\t\\tSystem.out.print(\\\"Escolha operação : \\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":855,"cells":{"query_id":{"kind":"string","value":"0bbc0888c63a8e3dae4fec83813f0881"},"query":{"kind":"string","value":"Creates a Search with the given MainSystem."},"positive_passages":{"kind":"list like","value":[{"docid":"9f792525156a20c3078263fcd8eb2a00","score":"0.80730927","text":"public Search(MainSystem system) {\n this.system = system;\n }","title":""}],"string":"[\n {\n \"docid\": \"9f792525156a20c3078263fcd8eb2a00\",\n \"score\": \"0.80730927\",\n \"text\": \"public Search(MainSystem system) {\\n this.system = system;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"532dc53e4396364a7619cc9b1c8cf48e","score":"0.6590036","text":"Search newInstance();","title":""},{"docid":"a69649aa9e3ac8728dd83465a902222c","score":"0.61643356","text":"public SearchEngine() {\n\t\tthis.basicEngine = new BasicSearchEngine();\n\t}","title":""},{"docid":"021c3f973ade4debf0d97720783e429c","score":"0.61618006","text":"public void createSearchManager()\n\t{\n\t\tif (searchManager == null) {\n\t\t\t// searchManager = new UserSearchManager(provider.getConnection(), serviceName);\n\t\t\tsearchManager = new UserSearchManager(provider.getConnection());\n\t\t}\n\t}","title":""},{"docid":"ced0c26aec2684f3894149c38f8ad854","score":"0.60689366","text":"public SearchInstance(String searchString, Resource.TYPE resourceTypeToSearchFor)\r\n {\r\n this.searchType = TYPE.QuerySearch;\r\n this.serviceFilteringBasedOn = null;\r\n \r\n this.resourceTypeToSearchFor = resourceTypeToSearchFor; \r\n \r\n this.searchString = searchString;\r\n this.searchTags = null;\r\n }","title":""},{"docid":"9736ffc9128b816a25fcb535ce90fd87","score":"0.6021145","text":"SearchEngine openSearchEngine(RuntimeCompassSettings runtimeSettings);","title":""},{"docid":"d5f044f2acf565813b61bba12c7d198a","score":"0.5792167","text":"public interface SearchEngineFactory {\n\n /**\n * Opens/Creates a light weight search engine to perform search engine\n * operations.\n * \n * @return A new search engine session.\n */\n SearchEngine openSearchEngine(RuntimeCompassSettings runtimeSettings);\n\n /**\n * Creates a new query builder.\n */\n SearchEngineQueryBuilder queryBuilder() throws SearchEngineException;\n\n /**\n * Creates a new query filter builder.\n */\n SearchEngineQueryFilterBuilder queryFilterBuilder() throws SearchEngineException;\n \n /**\n * Returns a resource factory allowing to create resources and properties.\n */\n ResourceFactory getResourceFactory();\n\n /**\n * Returns the index manager.\n *\n * @return the search engine index manager.\n */\n SearchEngineIndexManager getIndexManager();\n\n /**\n * Returns the property naming strategy used by the search engine to create\n * hidden properties.\n * \n * @return The property naming strategy used.\n */\n PropertyNamingStrategy getPropertyNamingStrategy();\n\n /**\n * Returns the serach engine optimizer that was created by the factory.\n * \n * @return The search engine optimizer\n */\n SearchEngineOptimizer getOptimizer();\n\n /**\n * Rerturns the specll checker manager (if enabled).\n */\n SearchEngineSpellCheckManager getSpellCheckManager();\n\n /**\n */\n SearchEngineEventManager getEventManager();\n\n /**\n * Returns a transactional context that operations that (usually) operate on a different\n * thread or outside of a transactional context should use.\n */\n TransactionContext getTransactionContext();\n\n /**\n * Returns an executor manager allowing to execute tasks in an async manner as well as\n * schedule tasks.\n */\n ExecutorManager getExecutorManager();\n\n /**\n * Closes the factory.\n * \n * @throws SearchEngineException\n */\n void close() throws SearchEngineException;\n\n /**\n * Returns the name of the alias property.\n *\n * @return The name of the alias property.\n */\n String getAliasProperty();\n\n /**\n * Returns the name of the extending alias property name.\n */\n String getExtendedAliasProperty();\n\n /**\n * Returns the name for the all property.\n *\n * @return The name of the all property.\n */\n String getAllProperty();\n\n /**\n * Returns the compass mappings.\n */\n CompassMapping getMapping();\n}","title":""},{"docid":"e4becaa1e0e8e7aa53fcea10997a7aaf","score":"0.56812227","text":"public static BluetoothServiceSearch newInstance() {\n\t\treturn new BluetoothServiceSearch();\n\t}","title":""},{"docid":"423d1a319b47cbc02716ef4b3b8c1a5f","score":"0.5676546","text":"protected Search() {/* intentionally empty block */}","title":""},{"docid":"8e764ead61d42b90963e341a9a2b0c9d","score":"0.5651134","text":"public SoftwarePackage search(mySystem system,String softwareName){\n SoftwarePackage searchByName=new SoftwarePackage(softwareName,-1,-1);\n if(system.getSoftwares().find(searchByName)!=null){\n return system.getSoftwares().find(searchByName);\n }\n else{\n return null;\n }\n }","title":""},{"docid":"b70f280e3d75196677efbe2d2eb40462","score":"0.5646106","text":"public ASSearch createSearchMethod() throws Exception {\n\t\tASSearch searchMethod = (ASSearch) getImplementingClass().newInstance();\n\t\tif (searchMethod instanceof OptionHandler && getSearchMethodParameters() != null) {\n\t\t\t((OptionHandler) searchMethod).setOptions(Utils.splitOptions(ParameterUtilities.buildOptionsString(getSearchMethodParameters())));\n\t\t}\n\t\treturn searchMethod;\n\t}","title":""},{"docid":"50c36c05e627cabed0053eefe7ca302d","score":"0.5587959","text":"public void NewSearch (String query) {\n mSearchQuery = query;\n initializeState();\n }","title":""},{"docid":"1701f5f5ff1eb4ca301a4454df70707c","score":"0.55583113","text":"public void createSearchSpace(){\n createSearchSpace(1, state, board, true);\n }","title":""},{"docid":"cd345e344b9932e9e978fdc91bd90453","score":"0.5557371","text":"private ServicesSearch() {\n\t\tsuper();\n\t}","title":""},{"docid":"711a20c3d30963a0f6b9dd8323e97e4f","score":"0.55457145","text":"public SearchHelper(boolean createEngine) {\n\t\tstaticInfo = new StaticBibleInfo();\n\t\tif (createEngine) {\n\t\t\tengine = new CBibleEngine();\n\t\t\tString DATA_SOURCE = \"data/data/edu.southern/lighthouse/\";\n\t\t\tengine.StartEngine(DATA_SOURCE, \"KJV\");\n\t\t\tengine.StartLexiconEngine(DATA_SOURCE);\n\t\t\tengine.StartMarginEngine(DATA_SOURCE);\n\t\t}\n\t}","title":""},{"docid":"ef53a05bf486e6b2bf09c7ab65721ed5","score":"0.5496954","text":"public SearchEngine(WorkingCopyOwner workingCopyOwner) {\n\t\tthis.basicEngine = new BasicSearchEngine(workingCopyOwner);\n\t}","title":""},{"docid":"8b3687725c3a2b93c888b3df86c9ab4b","score":"0.54236907","text":"@POST( BASE + APP )\n SearchResult executeAppSearch( @Body SearchTerm searchTerm );","title":""},{"docid":"8b682c546a61c653332847901b1d295e","score":"0.54170305","text":"public static void main(String[] args) {\n\t\tnew SearchEngineGui(); // Let the constructor do the job\n\t}","title":""},{"docid":"d0343ea14aa6b08687c29452531d2671","score":"0.53884244","text":"public void search();","title":""},{"docid":"3254f7967ccce41d8a675bd40bcf5349","score":"0.53865314","text":"public SearchQuery() {\n }","title":""},{"docid":"a9080589d87e4efb789ec176a3b4e758","score":"0.53751683","text":"public static ServicesSearch getInstance() {\n\t\treturn SINGLETON;\n\t}","title":""},{"docid":"596910218ab68251a884f7ec851595c9","score":"0.5365349","text":"private SearchProject(){}","title":""},{"docid":"86eb6faa20f51103c3f6bb4b8fbb3b19","score":"0.5360294","text":"@NotNull\r\n public BaseViewModel createViewModel() {\r\n return new SearchViewModel(this.eventTracker, this.searchRepository, this.searchHistoryRepository);\r\n }","title":""},{"docid":"0dad0356ecfa26e6c014f85465fb8bda","score":"0.5354998","text":"public LuceneComponentsFactory initializeSearcher() throws IOException{\n\t\t\n\t\tinitializeCommon();\n\t\t\n\t\t// instantiate an index searcher\n\t\tindexSearcher = new IndexSearcher(DirectoryReader.open(index));\n\t\t\n\t\t// override default TF/IDF score to ignore multiple appearances\n\t\tindexSearcher.setSimilarity(new BinarySimilarity());\n\t\t\n\t\t// Instantiate the searcher manager.\n\t\tsearcherManager = new SearcherManager(index, null);\n\t\t\n\t\t// Do it.\n\t\treturn this;\n\t}","title":""},{"docid":"17f4394155b756a0e245b4cfb296aa01","score":"0.5349302","text":"public void initialiseSearch(EntityID myself) {\n\t\tbuildingUtility.initialiseSearchList(myself);\n\t\tinitialisedSearch = true;\n\t}","title":""},{"docid":"dc11c2af687147d3c799a1f3fde278d5","score":"0.531068","text":"public SearchEngine(ICompilationUnit[] workingCopies) {\n\t\tthis.basicEngine = new BasicSearchEngine(workingCopies);\n\t}","title":""},{"docid":"b1715297726090247e3c0a05fecc8670","score":"0.5295878","text":"SearchEngine(String user){\n\t\tthis.user = user;\n\t}","title":""},{"docid":"b9456efa65ff2e388f510707d9b16ce5","score":"0.5292989","text":"public static FormSearch newInstance() {\n FormSearch fragment = new FormSearch();\n\n return fragment;\n }","title":""},{"docid":"34964081bb608a8365ef5f78c65a3134","score":"0.5271606","text":"public SearchInstance(Tag searchTag, Resource.TYPE resourceTypeToSearchFor)\r\n {\r\n this.searchType = TYPE.TagSearch;\r\n this.serviceFilteringBasedOn = null;\r\n \r\n this.resourceTypeToSearchFor = resourceTypeToSearchFor;\r\n \r\n this.searchTags = Collections.singletonList(searchTag);\r\n this.searchString = null;\r\n }","title":""},{"docid":"218a05a1ef88e739f6017a3bd1791891","score":"0.5269775","text":"public VSearchDao() {\n super(VSearch.V_SEARCH, cn.vertxup.ui.domain.tables.pojos.VSearch.class);\n }","title":""},{"docid":"8e8973ccb195a8eafab145fa7c3c4099","score":"0.5250449","text":"public Search() {\n /*\n r0 = this;\n r0.();\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.adminpanelfinder.Search.():void\");\n }","title":""},{"docid":"b99b2b53dba48a7792eb4c783bf470fb","score":"0.52468073","text":"public static void main(String[] args) {\r\nSearch s3=new Search();\r\ns3.start();\r\n}","title":""},{"docid":"64371edb557577330f5ed3a883e120ba","score":"0.5238641","text":"public Call createSearchRequest(Long l, Long l2) {\n return this.twitterCore.getApiClient().getSearchService().tweets(this.query, this.geocode, this.languageCode, null, this.resultType, this.maxItemsPerRequest, this.untilDate, l, l2, Boolean.valueOf(true));\n }","title":""},{"docid":"1a310c50b79fa0da1ea112bb559e01f8","score":"0.5232209","text":"@Override\r\n\tprotected Searcher generateSearcher() {\n\t\treturn null;\r\n\t}","title":""},{"docid":"9d9e14401e8d729731e5ff5324c37ccd","score":"0.5225375","text":"public SearchById() {\n\t\tsuper();\n\t}","title":""},{"docid":"b04d803fe7b48954450d146c36b85043","score":"0.52148825","text":"public Search(int addr, TOP_Type type) {\n super(addr, type);\n readObject();\n }","title":""},{"docid":"8f56a31eea0f5df24d4b4e994d24c897","score":"0.52077574","text":"private RepositorySystem newManualSystem()\n {\n DefaultServiceLocator locator = new DefaultServiceLocator();\n locator.setServices( WagonProvider.class, new ManualWagonProvider() );\n locator.addService( RepositoryConnectorFactory.class, WagonRepositoryConnectorFactory.class );\n return locator.getService( RepositorySystem.class );\n }","title":""},{"docid":"23fbb534becba3eb60dc5c5c1888b053","score":"0.52074647","text":"searchEngine() {\r\n\t// Below is the directory that contains all the internet files\r\n\thtmlParsing.internetFilesLocation = \"internetFiles\";\r\n\twordIndex = new HashMap > ();\t\t\r\n\tinternet = new directedGraph();\t\t\t\t\r\n }","title":""},{"docid":"96c803ca9480d8276cae5bc26c515fe7","score":"0.52048856","text":"private void doMySearch(String query) {\n\t\t\n\t}","title":""},{"docid":"96c803ca9480d8276cae5bc26c515fe7","score":"0.52048856","text":"private void doMySearch(String query) {\n\t\t\n\t}","title":""},{"docid":"af49586af9307fc2bc8fd28c5127b896","score":"0.5203251","text":"void searchByName();","title":""},{"docid":"ab5096f97277c5913376ccac343c202e","score":"0.52018726","text":"public VSearchDao(Configuration configuration) {\n super(VSearch.V_SEARCH, cn.vertxup.ui.domain.tables.pojos.VSearch.class, configuration);\n }","title":""},{"docid":"3fcda4e8f3b97dc8dae12e000ed90227","score":"0.5201484","text":"public void search()\r\n\t{\r\n\t\t// Loop through each term in the searchTerms list\r\n\t\tfor (int i = 0; i < searchTerms.size(); i++)\r\n\t\t{\r\n\t\t\tSearch search = new Search(searchTerms.get(i));\r\n\t\t\t\r\n\t\t\t// Find paragraphs containing term\r\n\t\t\tList paraResults = search.getResults();\r\n\t\t\t\r\n\t\t\t// Check for null list\r\n\t\t\tif (paraResults != null)\r\n\t\t\t{\r\n\t\t\t\tresultsList.addAll(paraResults);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tremoveDuplicateResults();\r\n\t}","title":""},{"docid":"5611786fbdd969f875eb59f7fcdd8904","score":"0.51880383","text":"public Bundle search(Object appInfo, String type, List searchParams);","title":""},{"docid":"ca532a458fc418ec1d63629c89b7b235","score":"0.518369","text":"public FacetResult runSearch() throws IOException, ParseException {\n index();\n return search();\n }","title":""},{"docid":"28a5b902bbc0c8ce7ac9f596af54023e","score":"0.51744664","text":"void search(ISearchRequestor requestor, QuerySpecification querySpecification, IProgressMonitor monitor) throws CoreException;","title":""},{"docid":"f8f166077138f64da2950e3190b5357d","score":"0.51659846","text":"protected abstract TextField constructSearchField();","title":""},{"docid":"a7c670fa55d562ef4bad337ec632ed95","score":"0.514491","text":"public static void main(String[] args) throws IOException, ParseException {\n CreateIndex.Creating_Index();\n SearchEngine.Engine();\n System.out.println(\"Searching Successful\");\n }","title":""},{"docid":"1a2749a0ef3fa531643ff4f6e61abad6","score":"0.51437885","text":"public SearchInstance(List searchTags, Resource.TYPE resourceTypeToSearchFor)\r\n {\r\n this.searchType = TYPE.TagSearch;\r\n this.serviceFilteringBasedOn = null;\r\n \r\n this.resourceTypeToSearchFor = resourceTypeToSearchFor;\r\n \r\n this.searchTags = searchTags;\r\n this.searchString = null;\r\n }","title":""},{"docid":"e443b1493b57e0a29b80e3d062606932","score":"0.51419455","text":"public LuceneService() throws IOException {\n this(new SimpleFSDirectory(new File(\"./searchDirectory\")));\n }","title":""},{"docid":"817ec7c440cfdff6b797c7113a94a56f","score":"0.51391995","text":"private IndexSearcher getSearcher() {\n IndexSearcher searcher = null;\n try {\n IndexReader reader = getReader();\n searcher = new IndexSearcher(reader);\n } catch (Exception e) {\n e.printStackTrace();\n throw new RuntimeException();\n }\n return searcher;\n }","title":""},{"docid":"d012ceaec642cb293eac566408714969","score":"0.51143485","text":"private void doSearch() throws Exception {\r\n dialog.setTitle(\"Search what?\");\r\n Optional result = dialog.showAndWait();\r\n if (result.isPresent() && !result.get().isEmpty()) {\r\n LuceneSearch lucene = new LuceneSearch();\r\n textArea.appendText(lucene.indexSearch(result.get()));\r\n// SearchEngine searchEngine = new SearchEngine();\r\n// String web = searchEngine.searchResult(result.get());\r\n// textArea.appendText(web);\r\n\r\n } else {\r\n textArea.appendText(\"Invalid query, please check your query\");\r\n }\r\n }","title":""},{"docid":"f84709fb018a6296afa40f4dffb1d84a","score":"0.51124936","text":"public void makeNetworkSearchQuery(){\n // get the search string\n String searchTerm = mSearchTermEditText.getText().toString();\n //reset the search results\n mSearchResultsDisplay.setText(\"Results : \\n\\n\");\n // make the search - network\n new FetchNetworkData().execute(searchTerm);\n\n }","title":""},{"docid":"b36be09d7e29e0ea829cd4b818cb892a","score":"0.51053715","text":"@Override\n\tpublic ContentAssemblyNodeContainer createSmartFolderFromSearch(User arg0,\n\t\t\tString arg1, String arg2, Search arg3,\n\t\t\tContentAssemblyCreateOptions arg4) throws RSuiteException {\n\t\treturn null;\n\t}","title":""},{"docid":"2f77f163ed1c7780f1dcf0de6de515a1","score":"0.50972044","text":"public static void main(String[] args) {\n\t\tLuceneInitializer tester = new LuceneInitializer();\n\n\t\tcreateIndexAndSearch(tester);\n\t\tspecificSearch(tester);\n\t}","title":""},{"docid":"c4cbb747e072e0a28c6e4d1448316bc5","score":"0.50841403","text":"public abstract void build(SolrCore core, SolrIndexSearcher searcher);","title":""},{"docid":"17a44e66465d6368930fd6ce5096de22","score":"0.507116","text":"public Results searchForQuery(String query)\n {\n// (new ElementActions(driver)).type(search_TextBox(), query)\n// .keyPress(search_TextBox(), Keys.ENTER);\n\n ElementActions.type(driver, search_TextBox(), query);\n ElementActions.keyPress(driver, search_TextBox(), Keys.ENTER);\n return new Results(driver);\n }","title":""},{"docid":"ec1963bb5268e46c55f9942d60fda1e3","score":"0.50683165","text":"private void doMySearch(String query){\n }","title":""},{"docid":"20f0add0f2509efc120f33da55a1efd4","score":"0.5050743","text":"private void doSearch(String queryStr) {\n }","title":""},{"docid":"99b4fba631d4bfbefac19208767bdbd0","score":"0.5048257","text":"public DynamicElement addSearch(By byToAdd) {\n searchOptions.add(byToAdd);\n return this;\n }","title":""},{"docid":"9aaeb48be30a36071585404751a271d7","score":"0.5045918","text":"public Search(String args) {\r\n\t\t// Temp Variables\r\n\t\tString paragraph = null;\r\n\t\tFile[] allDocuments;\r\n\t\tScanner scan;\r\n\t\tArrayList docArray = new ArrayList<>();\r\n\t\tFile file = new File(\"sourceFiles//\");\r\n\t\t\r\n\t\tString s = args.toString();\r\n\t\tString[] searchArray = s.split(\" \");\r\n\t\t\r\n\r\n\t\tallDocuments = file.listFiles();\r\n\t\t\r\n\t\t//This for loop runs through all the files in the\r\n\t\t//directory and adds them to one big array list\r\n\t\tfor (File temp : allDocuments) {\r\n\t\t\ttry {\r\n\t\t\t\tscan = new Scanner(temp);\r\n\t\t\t\tparagraph = temp.getName() + \"\\n\";\r\n\t\t\t\twhile (scan.hasNext()) {\r\n\t\t\t\t\t\tparagraph += scan.next() + \" \";\r\n\t\t\t\t}\r\n\t\t\t\tdocArray.add(paragraph);\r\n\t\t\t} catch (FileNotFoundException fnf) {\r\n\t\t\t\tfnf.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Enhanced for loop creates a string temp and for each temp\r\n\t\t//in the search array that is split by spaces. \r\n\t\tfor (String query : searchArray) {\r\n\t\t\tresults = getParagraph(query, docArray);\r\n\t\t}\r\n\t}","title":""},{"docid":"da5bdb1d5627fda54721831c00b5da6a","score":"0.50350094","text":"public void search(ContentSource contentSource, String query,\n SearchSeriesController searchSeriesController) {\n // stop running search threads, since if they exist they are probably\n // loading covers that we don't need anymore\n stopThreads(PREFIX_SEARCH);\n\n String name = PREFIX_SEARCH + contentSource.toString() + \"_\" + query;\n LoaderRunnable runnable =\n new SearchRunnable(name, this, contentSource, query, searchSeriesController);\n startThreadSafely(name, runnable);\n }","title":""},{"docid":"17c3829ce0cdd39c480dca9f86279113","score":"0.50309503","text":"public SearchCondition()\r\n\t{}","title":""},{"docid":"1ad6d60e1f3fed5500941216bdfa948a","score":"0.5019412","text":"public SearchParameters() {\n }","title":""},{"docid":"94bc44e7930a2cbcf0cce40c49b890b1","score":"0.5013137","text":"public void search(String searchTxt){\n CommonPage.search(driver,searchTxt);\n }","title":""},{"docid":"eff4f81e78e90a0b9343604289715242","score":"0.5012918","text":"public searchServlet() {\r\n\t\tsuper();\r\n\t}","title":""},{"docid":"346f5aa5b9fdc3b27e33c9b6d37de773","score":"0.5009492","text":"public static void main(String args[] ) throws Exception {\n storeDocument( \"experienced software developer python\",0);\n storeDocument( \" experienced developer javascript css html react\",1);\n storeDocument(\"technical recruiter junior software\",2);\n\n performSearch(\"software\");\n\n\n }","title":""},{"docid":"3d45b1a82996adb6c177139c293d8a46","score":"0.50060636","text":"public void search()\n\t{\t\n\t\tcurrent_loc.search();\n\t}","title":""},{"docid":"f61d4aa46462b20acfe1409ecf3e2b8a","score":"0.49950734","text":"public abstract void search();","title":""},{"docid":"e3a31ee5bf36754f8125ceba09b2b10e","score":"0.49950427","text":"private void doSearch(String queryStr) {\n }","title":""},{"docid":"c1bd30d91d75c763a486ee115baab47d","score":"0.4994478","text":"@Override\r\n protected void createSearchForm(final SearchPanel search) {\n }","title":""},{"docid":"aea6d89990201dbd3af5417f1766a929","score":"0.49909806","text":"public int NEW_SEARCH(IApplicationManager theAppMgr)\n\t throws StateException {\n\t return 1;\n\t }","title":""},{"docid":"6674a91e03107fb10848b80ea169107d","score":"0.4973741","text":"private void discoverSearchService()\n\t{\n\t\tnew Thread()\n\t\t{\n\t\t\tpublic void run()\n\t\t\t{\n\t\t\t\tsynchronized (userSearchEnabled) {\n\t\t\t\t\tCollection serviceNames = null;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tserviceNames = searchManager.getSearchServices();\n\t\t\t\t\t}\n\t\t\t\t\tcatch (NoResponseException | InterruptedException | NotConnectedException\n\t\t\t\t\t\t\t| XMPPErrorException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tif (!serviceNames.isEmpty()) {\n\t\t\t\t\t\tserviceName = serviceNames.iterator().next();\n\t\t\t\t\t\tsetUserSearchEnabled(true);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tsetUserSearchEnabled(false);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t};\n\t\t}.start();\n\t}","title":""},{"docid":"e46d822ef0af2835144777616d3b5d5f","score":"0.49575415","text":"SearchEngine(){\n this.invertedIndex = new InvertedPageIndex();\n }","title":""},{"docid":"a38b71dacc12a49dd38debe7057a4e79","score":"0.49466196","text":"private static void searchByName() {\n\t\r\n}","title":""},{"docid":"444395e443a99366925547c1f6b25d52","score":"0.4937959","text":"public interface LuceneService {\n boolean createIndex() throws IOException;\n\n List search(String queryStr) throws IOException, ParseException;\n\n}","title":""},{"docid":"44dfcddfeea30465c2a0e722658678e7","score":"0.49342397","text":"public SearchImpl(SearchDataSource searchDataSource) {\n if (searchDataSource == null)\n throw new IllegalArgumentException(\"searchDataSource cannot be null\");\n\n this.searchDataSource = searchDataSource;\n\n\n }","title":""},{"docid":"b3866b3ee8a9acb9198e244a4da68cde","score":"0.4929495","text":"public void beginSearch(String currentQuery2) {\n this.currentQuery = currentQuery2;\n new ReviewSearchRequest(currentQuery2, this.listingId).doubleResponse().withListener(this.reviewSearchResultsRequestListener).execute(this.requestManager);\n this.controller.requestModelBuild();\n }","title":""},{"docid":"43035804d52285a661ca5a0ddb2e337d","score":"0.4923362","text":"private void search() {\n SolaTask t = new SolaTask() {\n\n @Override\n public Void doTask() {\n setMessage(MessageUtility.getLocalizedMessageText(ClientMessage.PROGRESS_MSG_PERSON_SEARCHING));\n partySearchResuls.search(partySearchParams, serviceId);\n return null;\n }\n\n @Override\n public void taskDone() {\n jLabel5.setVisible(true);\n lblSearchResultNumber.setText(Integer.toString(partySearchResuls.getPartySearchResults().size()));\n if (partySearchResuls.getPartySearchResults().size() < 1) {\n MessageUtility.displayMessage(ClientMessage.SEARCH_NO_RESULTS);\n }\n }\n };\n TaskManager.getInstance().runTask(t);\n }","title":""},{"docid":"886a65c44d8506aaa9c6d8b0f5b4aaaa","score":"0.4923151","text":"@Override Document getSearchRequest()\n{\n Document doc = XMLParser.createDocument();\n Element root = SviwebXml.addChild(doc,\"SEARCH\");\n root.setAttribute(\"WHAT\",\"UIFRAMEWORK\");\n addCommonProperties(root);\n \n String cnm = class_box.getText();\n String mnm = method_box.getText();\n String vnm = \"uicls\";\n String rnm = \"uirslt\";\n \n Element tests = SviwebXml.addChild(root,\"TESTS\");\n Element tcase = SviwebXml.addChild(tests,\"TESTCASE\");\n tcase.setAttribute(\"NAME\",\"SVIWEB_1\");\n tcase.setAttribute(\"TYPE\",\"CALLS\");\n Element call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"METHOD\",cnm);\n call.setAttribute(\"NEW\",\"true\");\n call.setAttribute(\"OP\",\"SAVE\");\n Element oute = SviwebXml.addChild(call,\"OUTPUT\");\n oute.setAttribute(\"TYPE\",\"SAVE\");\n oute.setAttribute(\"VALUE\",vnm);\n SviwebXml.addTextElement(oute,\"CODE\",cnm + \" \" + vnm + \";\");\n call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"METHOD\",mnm);\n call.setAttribute(\"THIS\",vnm);\n call.setAttribute(\"OP\",\"SAVE\");\n oute = SviwebXml.addChild(call,\"OUTPUT\");\n oute.setAttribute(\"TYPE\",\"SAVE\");\n oute.setAttribute(\"VALUE\",rnm);\n SviwebXml.addTextElement(oute,\"CODE\",\"java.awt.component \" + rnm + \";\");\n call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"OP\",\"HIERARCHY\");\n call.setAttribute(\"THIS\",rnm);\n call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"OP\",\"SHOW\");\n call.setAttribute(\"THIS\",rnm);\n \n if (security_area != null) security_area.generateOutput(root);\n if (context_area != null) context_area.generateOutput(root);\n if (contract_area != null) contract_area.generateOutput(root);\n \n return doc;\n}","title":""},{"docid":"e42e4924f5efd17832d98665f372deb3","score":"0.49219048","text":"Page searchWithModel(String query, RobotModel model, Pageable pageable);","title":""},{"docid":"b027df97299d7b01c7c303483376e709","score":"0.49105248","text":"private DocumentSearchService()\n {\n\n }","title":""},{"docid":"cc0c70d766431eeefd24940d7e812aa3","score":"0.49099386","text":"public int getSearchType() {\n return 0;\n }","title":""},{"docid":"6fd9c22ddacf9b2f38fb592e1d0a2c28","score":"0.4899738","text":"public Page generalSearch(java.lang.String search, Pageable pageable) {\n return repository.generalSearch(search, pageable);\n }","title":""},{"docid":"ee2e804a7b7a71dbcc093f06ff12472a","score":"0.4897159","text":"private Command prepareSearchByStatus(String status) {\n return new SearchCommand(status);\n }","title":""},{"docid":"472d4eec7d7903111cccd0c0b2bf11a6","score":"0.48939583","text":"public Solution search(Searchable s);","title":""},{"docid":"adc714b97db9c1e99adfcbb004931c18","score":"0.489359","text":"public AntSearch() {\n resetOptions();\n\n }","title":""},{"docid":"7a6757a398bf76e5442cb0999a7080e6","score":"0.48876625","text":"public static void main(String[] args) throws Exception {\n System.out.println(new App().search());\n }","title":""},{"docid":"14353d8cb2905e97d0d9abd4198b560d","score":"0.48873156","text":"private void processSearch(String inputText) {\n\tScreenRegion searchField = validateScreenRegionForImage(\n\t\ttestEnv.getImageURL(Patterns.SearchFieldImage),\n\t\t\"Search field was not found on the screen\", true);\n\ttestEnv.getMouse().click(searchField.getCenter());\n\tKeyboard keyboard = testEnv.getKeyboard();\n\tkeyboardCombination(Key.CMD, \"a\");\n\tkeyboard.type(Key.BACKSPACE);\n\n\tkeyboard.type(inputText);\n\tkeyboard.type(Key.ENTER);\n }","title":""},{"docid":"7680e47c53c035b0cffc34d952748618","score":"0.488332","text":"public static Results simpleSearch(String searchTerm)\n {\n\t\treturn (executeQuery(searchTerm));\n }","title":""},{"docid":"5b2338c64c040b3bc24f2e79dff6b684","score":"0.48757818","text":"public void search(View v) {\n String searchWord = search.getText().toString();\n cursor = dbhandler.getSearch(searchType, searchWord);\n toList(cursor);\n }","title":""},{"docid":"57968e93ac82754977436a662f155c21","score":"0.48745617","text":"public void goSearch() {\n\t\tmActivity.startSearch(null, false, Bundle.EMPTY, false);\n\t}","title":""},{"docid":"5954ea71e3f509736978b713d717f0cc","score":"0.48698038","text":"public SearchResultPage search(String searchTerm) {\n searchField.sendKeys(searchTerm);\n searchField.sendKeys(Keys.ENTER);\n return new SearchResultPage(driver);\n\n\n }","title":""},{"docid":"9e7cc2edf39c8abc7c77c0e0eded5339","score":"0.486129","text":"public void createSearchIndex(List feeds);","title":""},{"docid":"346fad40bab5b043d6029721786ac52a","score":"0.48594266","text":"public void createSearchArea(){\n\n searchVBox = new VBox();\n searchVBox.setPadding(new Insets(10, 10, 0, 10));\n searchInputField = new TextField();\n searchInputField.setId(\"search-field\"); // give textfield css id for styling\n searchInputField.setPromptText(\"Search entries...\");\n searchInputField.setEditable(true);\n searchInputField.setOnKeyTyped(e -> showSearchResults(searchInputField.getText())); // refresh list on key presses\n\n // create initial observable list for the search results and place in the ListView\n showSearchResults(\"\");\n searchVBox.getChildren().addAll(searchInputField, searchResultsList);\n\n }","title":""},{"docid":"9dc863d96a62985dcd62041282baac45","score":"0.48575777","text":"public HashMap searchService(String searchTerm) {\n\n String[] words = searchTerm.toLowerCase().trim().split(\"\\\\s+\");\n\n // search results: service identifier, search score\n HashMap searchResults = new HashMap<>();\n\n // collecting all inverted indexes from the peers\n List indexes = new ArrayList();\n for (String word : words) {\n InvertedIndex tmp = getIndex(word);\n if (tmp != null) indexes.add(tmp);\n }\n // TODO: In order to further improve the service discovery performance of the directory, we could\n // TODO: cache the frequently used indexes\n\n // Computing very easy search score with the occurrence of search terms\n indexes.forEach(invertedIndex -> {\n for (Map.Entry entry : invertedIndex.getMicroServices().entrySet()) {\n if (searchResults.containsKey(entry.getKey())) {\n searchResults.put(entry.getKey(), searchResults.get(entry.getKey()) + entry.getValue());\n } else {\n searchResults.put(entry.getKey(), entry.getValue());\n }\n }\n });\n\n // Print the top ten search results\n System.out.println(\"Search results:\");\n searchResults.entrySet().stream()\n .sorted(Map.Entry.comparingByValue().reversed())\n .limit(10)\n .forEach(stringIntegerEntry -> {\n Microservice tmpService = getService(stringIntegerEntry.getKey());\n System.out.println(tmpService.toString());\n });\n\n return searchResults;\n }","title":""},{"docid":"54a84a07bc7e997aa829e76ac1abfedb","score":"0.4851596","text":"public static void searchCatalog() {\r\n\r\n\t\tSystem.out.print(searchPrompt);\r\n\r\n\t\tString userInput = reader.nextLine();\r\n\t\tsearchResults.clear();\r\n\t\tString allLowerUserInput = userInput.toLowerCase();\r\n\t\t// PROMPT USER FOR SEARCH QUERY\r\n\t\tfor (Song x : songList) {\r\n\t\t\tString title = x.getTitle();\r\n\t\t\tString allLowerTitle = title.toLowerCase();\r\n\t\t\tif (allLowerTitle.contains(allLowerUserInput)) {\r\n\t\t\t\tsearchResults.add(x);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tint numberOfOccurances = searchResults.size();\r\n\t\tSystem.out.println(\"Found \" + numberOfOccurances + \" matches\");\r\n\t\tSystem.out.println(menuDivider);\r\n\t\tfor (Song match : searchResults) {\r\n\t\t\tSystem.out.println(match);\r\n\r\n\t\t}\r\n\t\tSystem.out.print(lastPrompt);\r\n\t\tmenuInput();\r\n\r\n\t}","title":""},{"docid":"a2844e3b8070d6bad7df85feed33bbe2","score":"0.48512462","text":"public SearchPanel(){\n createSearchPanel();\n }","title":""},{"docid":"cf4152d441220203a29f979e3a8d6ca5","score":"0.4849509","text":"public void performSearch() {\n OASelect sel = getJsonTypeSearch().getSelect();\n sel.setSearchHub(getSearchFromHub());\n sel.setFinder(getFinder());\n getHub().select(sel);\n }","title":""},{"docid":"9fe312908ce5126b2db1634ea1d7f7bb","score":"0.48456752","text":"default public void search(Document doc) {\n\t}","title":""},{"docid":"5efd9f7633b71c5ffa40fbca63b4c7fc","score":"0.48403284","text":"public static SearchFragment newInstance() {\r\n SearchFragment fragment = new SearchFragment();\r\n return fragment;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"532dc53e4396364a7619cc9b1c8cf48e\",\n \"score\": \"0.6590036\",\n \"text\": \"Search newInstance();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a69649aa9e3ac8728dd83465a902222c\",\n \"score\": \"0.61643356\",\n \"text\": \"public SearchEngine() {\\n\\t\\tthis.basicEngine = new BasicSearchEngine();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"021c3f973ade4debf0d97720783e429c\",\n \"score\": \"0.61618006\",\n \"text\": \"public void createSearchManager()\\n\\t{\\n\\t\\tif (searchManager == null) {\\n\\t\\t\\t// searchManager = new UserSearchManager(provider.getConnection(), serviceName);\\n\\t\\t\\tsearchManager = new UserSearchManager(provider.getConnection());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ced0c26aec2684f3894149c38f8ad854\",\n \"score\": \"0.60689366\",\n \"text\": \"public SearchInstance(String searchString, Resource.TYPE resourceTypeToSearchFor)\\r\\n {\\r\\n this.searchType = TYPE.QuerySearch;\\r\\n this.serviceFilteringBasedOn = null;\\r\\n \\r\\n this.resourceTypeToSearchFor = resourceTypeToSearchFor; \\r\\n \\r\\n this.searchString = searchString;\\r\\n this.searchTags = null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9736ffc9128b816a25fcb535ce90fd87\",\n \"score\": \"0.6021145\",\n \"text\": \"SearchEngine openSearchEngine(RuntimeCompassSettings runtimeSettings);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5f044f2acf565813b61bba12c7d198a\",\n \"score\": \"0.5792167\",\n \"text\": \"public interface SearchEngineFactory {\\n\\n /**\\n * Opens/Creates a light weight search engine to perform search engine\\n * operations.\\n * \\n * @return A new search engine session.\\n */\\n SearchEngine openSearchEngine(RuntimeCompassSettings runtimeSettings);\\n\\n /**\\n * Creates a new query builder.\\n */\\n SearchEngineQueryBuilder queryBuilder() throws SearchEngineException;\\n\\n /**\\n * Creates a new query filter builder.\\n */\\n SearchEngineQueryFilterBuilder queryFilterBuilder() throws SearchEngineException;\\n \\n /**\\n * Returns a resource factory allowing to create resources and properties.\\n */\\n ResourceFactory getResourceFactory();\\n\\n /**\\n * Returns the index manager.\\n *\\n * @return the search engine index manager.\\n */\\n SearchEngineIndexManager getIndexManager();\\n\\n /**\\n * Returns the property naming strategy used by the search engine to create\\n * hidden properties.\\n * \\n * @return The property naming strategy used.\\n */\\n PropertyNamingStrategy getPropertyNamingStrategy();\\n\\n /**\\n * Returns the serach engine optimizer that was created by the factory.\\n * \\n * @return The search engine optimizer\\n */\\n SearchEngineOptimizer getOptimizer();\\n\\n /**\\n * Rerturns the specll checker manager (if enabled).\\n */\\n SearchEngineSpellCheckManager getSpellCheckManager();\\n\\n /**\\n */\\n SearchEngineEventManager getEventManager();\\n\\n /**\\n * Returns a transactional context that operations that (usually) operate on a different\\n * thread or outside of a transactional context should use.\\n */\\n TransactionContext getTransactionContext();\\n\\n /**\\n * Returns an executor manager allowing to execute tasks in an async manner as well as\\n * schedule tasks.\\n */\\n ExecutorManager getExecutorManager();\\n\\n /**\\n * Closes the factory.\\n * \\n * @throws SearchEngineException\\n */\\n void close() throws SearchEngineException;\\n\\n /**\\n * Returns the name of the alias property.\\n *\\n * @return The name of the alias property.\\n */\\n String getAliasProperty();\\n\\n /**\\n * Returns the name of the extending alias property name.\\n */\\n String getExtendedAliasProperty();\\n\\n /**\\n * Returns the name for the all property.\\n *\\n * @return The name of the all property.\\n */\\n String getAllProperty();\\n\\n /**\\n * Returns the compass mappings.\\n */\\n CompassMapping getMapping();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4becaa1e0e8e7aa53fcea10997a7aaf\",\n \"score\": \"0.56812227\",\n \"text\": \"public static BluetoothServiceSearch newInstance() {\\n\\t\\treturn new BluetoothServiceSearch();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"423d1a319b47cbc02716ef4b3b8c1a5f\",\n \"score\": \"0.5676546\",\n \"text\": \"protected Search() {/* intentionally empty block */}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e764ead61d42b90963e341a9a2b0c9d\",\n \"score\": \"0.5651134\",\n \"text\": \"public SoftwarePackage search(mySystem system,String softwareName){\\n SoftwarePackage searchByName=new SoftwarePackage(softwareName,-1,-1);\\n if(system.getSoftwares().find(searchByName)!=null){\\n return system.getSoftwares().find(searchByName);\\n }\\n else{\\n return null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b70f280e3d75196677efbe2d2eb40462\",\n \"score\": \"0.5646106\",\n \"text\": \"public ASSearch createSearchMethod() throws Exception {\\n\\t\\tASSearch searchMethod = (ASSearch) getImplementingClass().newInstance();\\n\\t\\tif (searchMethod instanceof OptionHandler && getSearchMethodParameters() != null) {\\n\\t\\t\\t((OptionHandler) searchMethod).setOptions(Utils.splitOptions(ParameterUtilities.buildOptionsString(getSearchMethodParameters())));\\n\\t\\t}\\n\\t\\treturn searchMethod;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50c36c05e627cabed0053eefe7ca302d\",\n \"score\": \"0.5587959\",\n \"text\": \"public void NewSearch (String query) {\\n mSearchQuery = query;\\n initializeState();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1701f5f5ff1eb4ca301a4454df70707c\",\n \"score\": \"0.55583113\",\n \"text\": \"public void createSearchSpace(){\\n createSearchSpace(1, state, board, true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd345e344b9932e9e978fdc91bd90453\",\n \"score\": \"0.5557371\",\n \"text\": \"private ServicesSearch() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"711a20c3d30963a0f6b9dd8323e97e4f\",\n \"score\": \"0.55457145\",\n \"text\": \"public SearchHelper(boolean createEngine) {\\n\\t\\tstaticInfo = new StaticBibleInfo();\\n\\t\\tif (createEngine) {\\n\\t\\t\\tengine = new CBibleEngine();\\n\\t\\t\\tString DATA_SOURCE = \\\"data/data/edu.southern/lighthouse/\\\";\\n\\t\\t\\tengine.StartEngine(DATA_SOURCE, \\\"KJV\\\");\\n\\t\\t\\tengine.StartLexiconEngine(DATA_SOURCE);\\n\\t\\t\\tengine.StartMarginEngine(DATA_SOURCE);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef53a05bf486e6b2bf09c7ab65721ed5\",\n \"score\": \"0.5496954\",\n \"text\": \"public SearchEngine(WorkingCopyOwner workingCopyOwner) {\\n\\t\\tthis.basicEngine = new BasicSearchEngine(workingCopyOwner);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b3687725c3a2b93c888b3df86c9ab4b\",\n \"score\": \"0.54236907\",\n \"text\": \"@POST( BASE + APP )\\n SearchResult executeAppSearch( @Body SearchTerm searchTerm );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b682c546a61c653332847901b1d295e\",\n \"score\": \"0.54170305\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tnew SearchEngineGui(); // Let the constructor do the job\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0343ea14aa6b08687c29452531d2671\",\n \"score\": \"0.53884244\",\n \"text\": \"public void search();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3254f7967ccce41d8a675bd40bcf5349\",\n \"score\": \"0.53865314\",\n \"text\": \"public SearchQuery() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9080589d87e4efb789ec176a3b4e758\",\n \"score\": \"0.53751683\",\n \"text\": \"public static ServicesSearch getInstance() {\\n\\t\\treturn SINGLETON;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"596910218ab68251a884f7ec851595c9\",\n \"score\": \"0.5365349\",\n \"text\": \"private SearchProject(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86eb6faa20f51103c3f6bb4b8fbb3b19\",\n \"score\": \"0.5360294\",\n \"text\": \"@NotNull\\r\\n public BaseViewModel createViewModel() {\\r\\n return new SearchViewModel(this.eventTracker, this.searchRepository, this.searchHistoryRepository);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dad0356ecfa26e6c014f85465fb8bda\",\n \"score\": \"0.5354998\",\n \"text\": \"public LuceneComponentsFactory initializeSearcher() throws IOException{\\n\\t\\t\\n\\t\\tinitializeCommon();\\n\\t\\t\\n\\t\\t// instantiate an index searcher\\n\\t\\tindexSearcher = new IndexSearcher(DirectoryReader.open(index));\\n\\t\\t\\n\\t\\t// override default TF/IDF score to ignore multiple appearances\\n\\t\\tindexSearcher.setSimilarity(new BinarySimilarity());\\n\\t\\t\\n\\t\\t// Instantiate the searcher manager.\\n\\t\\tsearcherManager = new SearcherManager(index, null);\\n\\t\\t\\n\\t\\t// Do it.\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17f4394155b756a0e245b4cfb296aa01\",\n \"score\": \"0.5349302\",\n \"text\": \"public void initialiseSearch(EntityID myself) {\\n\\t\\tbuildingUtility.initialiseSearchList(myself);\\n\\t\\tinitialisedSearch = true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc11c2af687147d3c799a1f3fde278d5\",\n \"score\": \"0.531068\",\n \"text\": \"public SearchEngine(ICompilationUnit[] workingCopies) {\\n\\t\\tthis.basicEngine = new BasicSearchEngine(workingCopies);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1715297726090247e3c0a05fecc8670\",\n \"score\": \"0.5295878\",\n \"text\": \"SearchEngine(String user){\\n\\t\\tthis.user = user;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9456efa65ff2e388f510707d9b16ce5\",\n \"score\": \"0.5292989\",\n \"text\": \"public static FormSearch newInstance() {\\n FormSearch fragment = new FormSearch();\\n\\n return fragment;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34964081bb608a8365ef5f78c65a3134\",\n \"score\": \"0.5271606\",\n \"text\": \"public SearchInstance(Tag searchTag, Resource.TYPE resourceTypeToSearchFor)\\r\\n {\\r\\n this.searchType = TYPE.TagSearch;\\r\\n this.serviceFilteringBasedOn = null;\\r\\n \\r\\n this.resourceTypeToSearchFor = resourceTypeToSearchFor;\\r\\n \\r\\n this.searchTags = Collections.singletonList(searchTag);\\r\\n this.searchString = null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"218a05a1ef88e739f6017a3bd1791891\",\n \"score\": \"0.5269775\",\n \"text\": \"public VSearchDao() {\\n super(VSearch.V_SEARCH, cn.vertxup.ui.domain.tables.pojos.VSearch.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e8973ccb195a8eafab145fa7c3c4099\",\n \"score\": \"0.5250449\",\n \"text\": \"public Search() {\\n /*\\n r0 = this;\\n r0.();\\n return;\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: com.adminpanelfinder.Search.():void\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b99b2b53dba48a7792eb4c783bf470fb\",\n \"score\": \"0.52468073\",\n \"text\": \"public static void main(String[] args) {\\r\\nSearch s3=new Search();\\r\\ns3.start();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64371edb557577330f5ed3a883e120ba\",\n \"score\": \"0.5238641\",\n \"text\": \"public Call createSearchRequest(Long l, Long l2) {\\n return this.twitterCore.getApiClient().getSearchService().tweets(this.query, this.geocode, this.languageCode, null, this.resultType, this.maxItemsPerRequest, this.untilDate, l, l2, Boolean.valueOf(true));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a310c50b79fa0da1ea112bb559e01f8\",\n \"score\": \"0.5232209\",\n \"text\": \"@Override\\r\\n\\tprotected Searcher generateSearcher() {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d9e14401e8d729731e5ff5324c37ccd\",\n \"score\": \"0.5225375\",\n \"text\": \"public SearchById() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b04d803fe7b48954450d146c36b85043\",\n \"score\": \"0.52148825\",\n \"text\": \"public Search(int addr, TOP_Type type) {\\n super(addr, type);\\n readObject();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f56a31eea0f5df24d4b4e994d24c897\",\n \"score\": \"0.52077574\",\n \"text\": \"private RepositorySystem newManualSystem()\\n {\\n DefaultServiceLocator locator = new DefaultServiceLocator();\\n locator.setServices( WagonProvider.class, new ManualWagonProvider() );\\n locator.addService( RepositoryConnectorFactory.class, WagonRepositoryConnectorFactory.class );\\n return locator.getService( RepositorySystem.class );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23fbb534becba3eb60dc5c5c1888b053\",\n \"score\": \"0.52074647\",\n \"text\": \"searchEngine() {\\r\\n\\t// Below is the directory that contains all the internet files\\r\\n\\thtmlParsing.internetFilesLocation = \\\"internetFiles\\\";\\r\\n\\twordIndex = new HashMap > ();\\t\\t\\r\\n\\tinternet = new directedGraph();\\t\\t\\t\\t\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96c803ca9480d8276cae5bc26c515fe7\",\n \"score\": \"0.52048856\",\n \"text\": \"private void doMySearch(String query) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96c803ca9480d8276cae5bc26c515fe7\",\n \"score\": \"0.52048856\",\n \"text\": \"private void doMySearch(String query) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af49586af9307fc2bc8fd28c5127b896\",\n \"score\": \"0.5203251\",\n \"text\": \"void searchByName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab5096f97277c5913376ccac343c202e\",\n \"score\": \"0.52018726\",\n \"text\": \"public VSearchDao(Configuration configuration) {\\n super(VSearch.V_SEARCH, cn.vertxup.ui.domain.tables.pojos.VSearch.class, configuration);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fcda4e8f3b97dc8dae12e000ed90227\",\n \"score\": \"0.5201484\",\n \"text\": \"public void search()\\r\\n\\t{\\r\\n\\t\\t// Loop through each term in the searchTerms list\\r\\n\\t\\tfor (int i = 0; i < searchTerms.size(); i++)\\r\\n\\t\\t{\\r\\n\\t\\t\\tSearch search = new Search(searchTerms.get(i));\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t// Find paragraphs containing term\\r\\n\\t\\t\\tList paraResults = search.getResults();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t// Check for null list\\r\\n\\t\\t\\tif (paraResults != null)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tresultsList.addAll(paraResults);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tremoveDuplicateResults();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5611786fbdd969f875eb59f7fcdd8904\",\n \"score\": \"0.51880383\",\n \"text\": \"public Bundle search(Object appInfo, String type, List searchParams);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca532a458fc418ec1d63629c89b7b235\",\n \"score\": \"0.518369\",\n \"text\": \"public FacetResult runSearch() throws IOException, ParseException {\\n index();\\n return search();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28a5b902bbc0c8ce7ac9f596af54023e\",\n \"score\": \"0.51744664\",\n \"text\": \"void search(ISearchRequestor requestor, QuerySpecification querySpecification, IProgressMonitor monitor) throws CoreException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8f166077138f64da2950e3190b5357d\",\n \"score\": \"0.51659846\",\n \"text\": \"protected abstract TextField constructSearchField();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7c670fa55d562ef4bad337ec632ed95\",\n \"score\": \"0.514491\",\n \"text\": \"public static void main(String[] args) throws IOException, ParseException {\\n CreateIndex.Creating_Index();\\n SearchEngine.Engine();\\n System.out.println(\\\"Searching Successful\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a2749a0ef3fa531643ff4f6e61abad6\",\n \"score\": \"0.51437885\",\n \"text\": \"public SearchInstance(List searchTags, Resource.TYPE resourceTypeToSearchFor)\\r\\n {\\r\\n this.searchType = TYPE.TagSearch;\\r\\n this.serviceFilteringBasedOn = null;\\r\\n \\r\\n this.resourceTypeToSearchFor = resourceTypeToSearchFor;\\r\\n \\r\\n this.searchTags = searchTags;\\r\\n this.searchString = null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e443b1493b57e0a29b80e3d062606932\",\n \"score\": \"0.51419455\",\n \"text\": \"public LuceneService() throws IOException {\\n this(new SimpleFSDirectory(new File(\\\"./searchDirectory\\\")));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"817ec7c440cfdff6b797c7113a94a56f\",\n \"score\": \"0.51391995\",\n \"text\": \"private IndexSearcher getSearcher() {\\n IndexSearcher searcher = null;\\n try {\\n IndexReader reader = getReader();\\n searcher = new IndexSearcher(reader);\\n } catch (Exception e) {\\n e.printStackTrace();\\n throw new RuntimeException();\\n }\\n return searcher;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d012ceaec642cb293eac566408714969\",\n \"score\": \"0.51143485\",\n \"text\": \"private void doSearch() throws Exception {\\r\\n dialog.setTitle(\\\"Search what?\\\");\\r\\n Optional result = dialog.showAndWait();\\r\\n if (result.isPresent() && !result.get().isEmpty()) {\\r\\n LuceneSearch lucene = new LuceneSearch();\\r\\n textArea.appendText(lucene.indexSearch(result.get()));\\r\\n// SearchEngine searchEngine = new SearchEngine();\\r\\n// String web = searchEngine.searchResult(result.get());\\r\\n// textArea.appendText(web);\\r\\n\\r\\n } else {\\r\\n textArea.appendText(\\\"Invalid query, please check your query\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f84709fb018a6296afa40f4dffb1d84a\",\n \"score\": \"0.51124936\",\n \"text\": \"public void makeNetworkSearchQuery(){\\n // get the search string\\n String searchTerm = mSearchTermEditText.getText().toString();\\n //reset the search results\\n mSearchResultsDisplay.setText(\\\"Results : \\\\n\\\\n\\\");\\n // make the search - network\\n new FetchNetworkData().execute(searchTerm);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b36be09d7e29e0ea829cd4b818cb892a\",\n \"score\": \"0.51053715\",\n \"text\": \"@Override\\n\\tpublic ContentAssemblyNodeContainer createSmartFolderFromSearch(User arg0,\\n\\t\\t\\tString arg1, String arg2, Search arg3,\\n\\t\\t\\tContentAssemblyCreateOptions arg4) throws RSuiteException {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f77f163ed1c7780f1dcf0de6de515a1\",\n \"score\": \"0.50972044\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tLuceneInitializer tester = new LuceneInitializer();\\n\\n\\t\\tcreateIndexAndSearch(tester);\\n\\t\\tspecificSearch(tester);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4cbb747e072e0a28c6e4d1448316bc5\",\n \"score\": \"0.50841403\",\n \"text\": \"public abstract void build(SolrCore core, SolrIndexSearcher searcher);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17a44e66465d6368930fd6ce5096de22\",\n \"score\": \"0.507116\",\n \"text\": \"public Results searchForQuery(String query)\\n {\\n// (new ElementActions(driver)).type(search_TextBox(), query)\\n// .keyPress(search_TextBox(), Keys.ENTER);\\n\\n ElementActions.type(driver, search_TextBox(), query);\\n ElementActions.keyPress(driver, search_TextBox(), Keys.ENTER);\\n return new Results(driver);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec1963bb5268e46c55f9942d60fda1e3\",\n \"score\": \"0.50683165\",\n \"text\": \"private void doMySearch(String query){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20f0add0f2509efc120f33da55a1efd4\",\n \"score\": \"0.5050743\",\n \"text\": \"private void doSearch(String queryStr) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99b4fba631d4bfbefac19208767bdbd0\",\n \"score\": \"0.5048257\",\n \"text\": \"public DynamicElement addSearch(By byToAdd) {\\n searchOptions.add(byToAdd);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9aaeb48be30a36071585404751a271d7\",\n \"score\": \"0.5045918\",\n \"text\": \"public Search(String args) {\\r\\n\\t\\t// Temp Variables\\r\\n\\t\\tString paragraph = null;\\r\\n\\t\\tFile[] allDocuments;\\r\\n\\t\\tScanner scan;\\r\\n\\t\\tArrayList docArray = new ArrayList<>();\\r\\n\\t\\tFile file = new File(\\\"sourceFiles//\\\");\\r\\n\\t\\t\\r\\n\\t\\tString s = args.toString();\\r\\n\\t\\tString[] searchArray = s.split(\\\" \\\");\\r\\n\\t\\t\\r\\n\\r\\n\\t\\tallDocuments = file.listFiles();\\r\\n\\t\\t\\r\\n\\t\\t//This for loop runs through all the files in the\\r\\n\\t\\t//directory and adds them to one big array list\\r\\n\\t\\tfor (File temp : allDocuments) {\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tscan = new Scanner(temp);\\r\\n\\t\\t\\t\\tparagraph = temp.getName() + \\\"\\\\n\\\";\\r\\n\\t\\t\\t\\twhile (scan.hasNext()) {\\r\\n\\t\\t\\t\\t\\t\\tparagraph += scan.next() + \\\" \\\";\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tdocArray.add(paragraph);\\r\\n\\t\\t\\t} catch (FileNotFoundException fnf) {\\r\\n\\t\\t\\t\\tfnf.printStackTrace();\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\t//Enhanced for loop creates a string temp and for each temp\\r\\n\\t\\t//in the search array that is split by spaces. \\r\\n\\t\\tfor (String query : searchArray) {\\r\\n\\t\\t\\tresults = getParagraph(query, docArray);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da5bdb1d5627fda54721831c00b5da6a\",\n \"score\": \"0.50350094\",\n \"text\": \"public void search(ContentSource contentSource, String query,\\n SearchSeriesController searchSeriesController) {\\n // stop running search threads, since if they exist they are probably\\n // loading covers that we don't need anymore\\n stopThreads(PREFIX_SEARCH);\\n\\n String name = PREFIX_SEARCH + contentSource.toString() + \\\"_\\\" + query;\\n LoaderRunnable runnable =\\n new SearchRunnable(name, this, contentSource, query, searchSeriesController);\\n startThreadSafely(name, runnable);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17c3829ce0cdd39c480dca9f86279113\",\n \"score\": \"0.50309503\",\n \"text\": \"public SearchCondition()\\r\\n\\t{}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ad6d60e1f3fed5500941216bdfa948a\",\n \"score\": \"0.5019412\",\n \"text\": \"public SearchParameters() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94bc44e7930a2cbcf0cce40c49b890b1\",\n \"score\": \"0.5013137\",\n \"text\": \"public void search(String searchTxt){\\n CommonPage.search(driver,searchTxt);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eff4f81e78e90a0b9343604289715242\",\n \"score\": \"0.5012918\",\n \"text\": \"public searchServlet() {\\r\\n\\t\\tsuper();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"346f5aa5b9fdc3b27e33c9b6d37de773\",\n \"score\": \"0.5009492\",\n \"text\": \"public static void main(String args[] ) throws Exception {\\n storeDocument( \\\"experienced software developer python\\\",0);\\n storeDocument( \\\" experienced developer javascript css html react\\\",1);\\n storeDocument(\\\"technical recruiter junior software\\\",2);\\n\\n performSearch(\\\"software\\\");\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d45b1a82996adb6c177139c293d8a46\",\n \"score\": \"0.50060636\",\n \"text\": \"public void search()\\n\\t{\\t\\n\\t\\tcurrent_loc.search();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f61d4aa46462b20acfe1409ecf3e2b8a\",\n \"score\": \"0.49950734\",\n \"text\": \"public abstract void search();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3a31ee5bf36754f8125ceba09b2b10e\",\n \"score\": \"0.49950427\",\n \"text\": \"private void doSearch(String queryStr) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1bd30d91d75c763a486ee115baab47d\",\n \"score\": \"0.4994478\",\n \"text\": \"@Override\\r\\n protected void createSearchForm(final SearchPanel search) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aea6d89990201dbd3af5417f1766a929\",\n \"score\": \"0.49909806\",\n \"text\": \"public int NEW_SEARCH(IApplicationManager theAppMgr)\\n\\t throws StateException {\\n\\t return 1;\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6674a91e03107fb10848b80ea169107d\",\n \"score\": \"0.4973741\",\n \"text\": \"private void discoverSearchService()\\n\\t{\\n\\t\\tnew Thread()\\n\\t\\t{\\n\\t\\t\\tpublic void run()\\n\\t\\t\\t{\\n\\t\\t\\t\\tsynchronized (userSearchEnabled) {\\n\\t\\t\\t\\t\\tCollection serviceNames = null;\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tserviceNames = searchManager.getSearchServices();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch (NoResponseException | InterruptedException | NotConnectedException\\n\\t\\t\\t\\t\\t\\t\\t| XMPPErrorException e) {\\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif (!serviceNames.isEmpty()) {\\n\\t\\t\\t\\t\\t\\tserviceName = serviceNames.iterator().next();\\n\\t\\t\\t\\t\\t\\tsetUserSearchEnabled(true);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t\\tsetUserSearchEnabled(false);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t};\\n\\t\\t}.start();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e46d822ef0af2835144777616d3b5d5f\",\n \"score\": \"0.49575415\",\n \"text\": \"SearchEngine(){\\n this.invertedIndex = new InvertedPageIndex();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a38b71dacc12a49dd38debe7057a4e79\",\n \"score\": \"0.49466196\",\n \"text\": \"private static void searchByName() {\\n\\t\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"444395e443a99366925547c1f6b25d52\",\n \"score\": \"0.4937959\",\n \"text\": \"public interface LuceneService {\\n boolean createIndex() throws IOException;\\n\\n List search(String queryStr) throws IOException, ParseException;\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44dfcddfeea30465c2a0e722658678e7\",\n \"score\": \"0.49342397\",\n \"text\": \"public SearchImpl(SearchDataSource searchDataSource) {\\n if (searchDataSource == null)\\n throw new IllegalArgumentException(\\\"searchDataSource cannot be null\\\");\\n\\n this.searchDataSource = searchDataSource;\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3866b3ee8a9acb9198e244a4da68cde\",\n \"score\": \"0.4929495\",\n \"text\": \"public void beginSearch(String currentQuery2) {\\n this.currentQuery = currentQuery2;\\n new ReviewSearchRequest(currentQuery2, this.listingId).doubleResponse().withListener(this.reviewSearchResultsRequestListener).execute(this.requestManager);\\n this.controller.requestModelBuild();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43035804d52285a661ca5a0ddb2e337d\",\n \"score\": \"0.4923362\",\n \"text\": \"private void search() {\\n SolaTask t = new SolaTask() {\\n\\n @Override\\n public Void doTask() {\\n setMessage(MessageUtility.getLocalizedMessageText(ClientMessage.PROGRESS_MSG_PERSON_SEARCHING));\\n partySearchResuls.search(partySearchParams, serviceId);\\n return null;\\n }\\n\\n @Override\\n public void taskDone() {\\n jLabel5.setVisible(true);\\n lblSearchResultNumber.setText(Integer.toString(partySearchResuls.getPartySearchResults().size()));\\n if (partySearchResuls.getPartySearchResults().size() < 1) {\\n MessageUtility.displayMessage(ClientMessage.SEARCH_NO_RESULTS);\\n }\\n }\\n };\\n TaskManager.getInstance().runTask(t);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"886a65c44d8506aaa9c6d8b0f5b4aaaa\",\n \"score\": \"0.4923151\",\n \"text\": \"@Override Document getSearchRequest()\\n{\\n Document doc = XMLParser.createDocument();\\n Element root = SviwebXml.addChild(doc,\\\"SEARCH\\\");\\n root.setAttribute(\\\"WHAT\\\",\\\"UIFRAMEWORK\\\");\\n addCommonProperties(root);\\n \\n String cnm = class_box.getText();\\n String mnm = method_box.getText();\\n String vnm = \\\"uicls\\\";\\n String rnm = \\\"uirslt\\\";\\n \\n Element tests = SviwebXml.addChild(root,\\\"TESTS\\\");\\n Element tcase = SviwebXml.addChild(tests,\\\"TESTCASE\\\");\\n tcase.setAttribute(\\\"NAME\\\",\\\"SVIWEB_1\\\");\\n tcase.setAttribute(\\\"TYPE\\\",\\\"CALLS\\\");\\n Element call = SviwebXml.addChild(tcase,\\\"CALL\\\");\\n call.setAttribute(\\\"METHOD\\\",cnm);\\n call.setAttribute(\\\"NEW\\\",\\\"true\\\");\\n call.setAttribute(\\\"OP\\\",\\\"SAVE\\\");\\n Element oute = SviwebXml.addChild(call,\\\"OUTPUT\\\");\\n oute.setAttribute(\\\"TYPE\\\",\\\"SAVE\\\");\\n oute.setAttribute(\\\"VALUE\\\",vnm);\\n SviwebXml.addTextElement(oute,\\\"CODE\\\",cnm + \\\" \\\" + vnm + \\\";\\\");\\n call = SviwebXml.addChild(tcase,\\\"CALL\\\");\\n call.setAttribute(\\\"METHOD\\\",mnm);\\n call.setAttribute(\\\"THIS\\\",vnm);\\n call.setAttribute(\\\"OP\\\",\\\"SAVE\\\");\\n oute = SviwebXml.addChild(call,\\\"OUTPUT\\\");\\n oute.setAttribute(\\\"TYPE\\\",\\\"SAVE\\\");\\n oute.setAttribute(\\\"VALUE\\\",rnm);\\n SviwebXml.addTextElement(oute,\\\"CODE\\\",\\\"java.awt.component \\\" + rnm + \\\";\\\");\\n call = SviwebXml.addChild(tcase,\\\"CALL\\\");\\n call.setAttribute(\\\"OP\\\",\\\"HIERARCHY\\\");\\n call.setAttribute(\\\"THIS\\\",rnm);\\n call = SviwebXml.addChild(tcase,\\\"CALL\\\");\\n call.setAttribute(\\\"OP\\\",\\\"SHOW\\\");\\n call.setAttribute(\\\"THIS\\\",rnm);\\n \\n if (security_area != null) security_area.generateOutput(root);\\n if (context_area != null) context_area.generateOutput(root);\\n if (contract_area != null) contract_area.generateOutput(root);\\n \\n return doc;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e42e4924f5efd17832d98665f372deb3\",\n \"score\": \"0.49219048\",\n \"text\": \"Page searchWithModel(String query, RobotModel model, Pageable pageable);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b027df97299d7b01c7c303483376e709\",\n \"score\": \"0.49105248\",\n \"text\": \"private DocumentSearchService()\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc0c70d766431eeefd24940d7e812aa3\",\n \"score\": \"0.49099386\",\n \"text\": \"public int getSearchType() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fd9c22ddacf9b2f38fb592e1d0a2c28\",\n \"score\": \"0.4899738\",\n \"text\": \"public Page generalSearch(java.lang.String search, Pageable pageable) {\\n return repository.generalSearch(search, pageable);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee2e804a7b7a71dbcc093f06ff12472a\",\n \"score\": \"0.4897159\",\n \"text\": \"private Command prepareSearchByStatus(String status) {\\n return new SearchCommand(status);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"472d4eec7d7903111cccd0c0b2bf11a6\",\n \"score\": \"0.48939583\",\n \"text\": \"public Solution search(Searchable s);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adc714b97db9c1e99adfcbb004931c18\",\n \"score\": \"0.489359\",\n \"text\": \"public AntSearch() {\\n resetOptions();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a6757a398bf76e5442cb0999a7080e6\",\n \"score\": \"0.48876625\",\n \"text\": \"public static void main(String[] args) throws Exception {\\n System.out.println(new App().search());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14353d8cb2905e97d0d9abd4198b560d\",\n \"score\": \"0.48873156\",\n \"text\": \"private void processSearch(String inputText) {\\n\\tScreenRegion searchField = validateScreenRegionForImage(\\n\\t\\ttestEnv.getImageURL(Patterns.SearchFieldImage),\\n\\t\\t\\\"Search field was not found on the screen\\\", true);\\n\\ttestEnv.getMouse().click(searchField.getCenter());\\n\\tKeyboard keyboard = testEnv.getKeyboard();\\n\\tkeyboardCombination(Key.CMD, \\\"a\\\");\\n\\tkeyboard.type(Key.BACKSPACE);\\n\\n\\tkeyboard.type(inputText);\\n\\tkeyboard.type(Key.ENTER);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7680e47c53c035b0cffc34d952748618\",\n \"score\": \"0.488332\",\n \"text\": \"public static Results simpleSearch(String searchTerm)\\n {\\n\\t\\treturn (executeQuery(searchTerm));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b2338c64c040b3bc24f2e79dff6b684\",\n \"score\": \"0.48757818\",\n \"text\": \"public void search(View v) {\\n String searchWord = search.getText().toString();\\n cursor = dbhandler.getSearch(searchType, searchWord);\\n toList(cursor);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57968e93ac82754977436a662f155c21\",\n \"score\": \"0.48745617\",\n \"text\": \"public void goSearch() {\\n\\t\\tmActivity.startSearch(null, false, Bundle.EMPTY, false);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5954ea71e3f509736978b713d717f0cc\",\n \"score\": \"0.48698038\",\n \"text\": \"public SearchResultPage search(String searchTerm) {\\n searchField.sendKeys(searchTerm);\\n searchField.sendKeys(Keys.ENTER);\\n return new SearchResultPage(driver);\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e7cc2edf39c8abc7c77c0e0eded5339\",\n \"score\": \"0.486129\",\n \"text\": \"public void createSearchIndex(List feeds);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"346fad40bab5b043d6029721786ac52a\",\n \"score\": \"0.48594266\",\n \"text\": \"public void createSearchArea(){\\n\\n searchVBox = new VBox();\\n searchVBox.setPadding(new Insets(10, 10, 0, 10));\\n searchInputField = new TextField();\\n searchInputField.setId(\\\"search-field\\\"); // give textfield css id for styling\\n searchInputField.setPromptText(\\\"Search entries...\\\");\\n searchInputField.setEditable(true);\\n searchInputField.setOnKeyTyped(e -> showSearchResults(searchInputField.getText())); // refresh list on key presses\\n\\n // create initial observable list for the search results and place in the ListView\\n showSearchResults(\\\"\\\");\\n searchVBox.getChildren().addAll(searchInputField, searchResultsList);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9dc863d96a62985dcd62041282baac45\",\n \"score\": \"0.48575777\",\n \"text\": \"public HashMap searchService(String searchTerm) {\\n\\n String[] words = searchTerm.toLowerCase().trim().split(\\\"\\\\\\\\s+\\\");\\n\\n // search results: service identifier, search score\\n HashMap searchResults = new HashMap<>();\\n\\n // collecting all inverted indexes from the peers\\n List indexes = new ArrayList();\\n for (String word : words) {\\n InvertedIndex tmp = getIndex(word);\\n if (tmp != null) indexes.add(tmp);\\n }\\n // TODO: In order to further improve the service discovery performance of the directory, we could\\n // TODO: cache the frequently used indexes\\n\\n // Computing very easy search score with the occurrence of search terms\\n indexes.forEach(invertedIndex -> {\\n for (Map.Entry entry : invertedIndex.getMicroServices().entrySet()) {\\n if (searchResults.containsKey(entry.getKey())) {\\n searchResults.put(entry.getKey(), searchResults.get(entry.getKey()) + entry.getValue());\\n } else {\\n searchResults.put(entry.getKey(), entry.getValue());\\n }\\n }\\n });\\n\\n // Print the top ten search results\\n System.out.println(\\\"Search results:\\\");\\n searchResults.entrySet().stream()\\n .sorted(Map.Entry.comparingByValue().reversed())\\n .limit(10)\\n .forEach(stringIntegerEntry -> {\\n Microservice tmpService = getService(stringIntegerEntry.getKey());\\n System.out.println(tmpService.toString());\\n });\\n\\n return searchResults;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54a84a07bc7e997aa829e76ac1abfedb\",\n \"score\": \"0.4851596\",\n \"text\": \"public static void searchCatalog() {\\r\\n\\r\\n\\t\\tSystem.out.print(searchPrompt);\\r\\n\\r\\n\\t\\tString userInput = reader.nextLine();\\r\\n\\t\\tsearchResults.clear();\\r\\n\\t\\tString allLowerUserInput = userInput.toLowerCase();\\r\\n\\t\\t// PROMPT USER FOR SEARCH QUERY\\r\\n\\t\\tfor (Song x : songList) {\\r\\n\\t\\t\\tString title = x.getTitle();\\r\\n\\t\\t\\tString allLowerTitle = title.toLowerCase();\\r\\n\\t\\t\\tif (allLowerTitle.contains(allLowerUserInput)) {\\r\\n\\t\\t\\t\\tsearchResults.add(x);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\tint numberOfOccurances = searchResults.size();\\r\\n\\t\\tSystem.out.println(\\\"Found \\\" + numberOfOccurances + \\\" matches\\\");\\r\\n\\t\\tSystem.out.println(menuDivider);\\r\\n\\t\\tfor (Song match : searchResults) {\\r\\n\\t\\t\\tSystem.out.println(match);\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\tSystem.out.print(lastPrompt);\\r\\n\\t\\tmenuInput();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2844e3b8070d6bad7df85feed33bbe2\",\n \"score\": \"0.48512462\",\n \"text\": \"public SearchPanel(){\\n createSearchPanel();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf4152d441220203a29f979e3a8d6ca5\",\n \"score\": \"0.4849509\",\n \"text\": \"public void performSearch() {\\n OASelect sel = getJsonTypeSearch().getSelect();\\n sel.setSearchHub(getSearchFromHub());\\n sel.setFinder(getFinder());\\n getHub().select(sel);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fe312908ce5126b2db1634ea1d7f7bb\",\n \"score\": \"0.48456752\",\n \"text\": \"default public void search(Document doc) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5efd9f7633b71c5ffa40fbca63b4c7fc\",\n \"score\": \"0.48403284\",\n \"text\": \"public static SearchFragment newInstance() {\\r\\n SearchFragment fragment = new SearchFragment();\\r\\n return fragment;\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":856,"cells":{"query_id":{"kind":"string","value":"d8ba3e4c7d8d17d4eb1286bea4b65bbc"},"query":{"kind":"string","value":"when web socket message is received from user agent. Cependant, on attend pas de message venant de l'utilisateur."},"positive_passages":{"kind":"list like","value":[{"docid":"e1b8af109016aa513aa95a1e49d534f6","score":"0.705949","text":"@OnMessage\n public void onMessage(String message, Session session) throws IOException, InterruptedException {\n String username = getUserName(session);\n logger.info(String.format(\"message websocket reçu. expediteur=%s, texte= %s\", username, message)); \n }","title":""}],"string":"[\n {\n \"docid\": \"e1b8af109016aa513aa95a1e49d534f6\",\n \"score\": \"0.705949\",\n \"text\": \"@OnMessage\\n public void onMessage(String message, Session session) throws IOException, InterruptedException {\\n String username = getUserName(session);\\n logger.info(String.format(\\\"message websocket reçu. expediteur=%s, texte= %s\\\", username, message)); \\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"f75aa5a678996dad5e91821fda54eb39","score":"0.7141033","text":"void onMessageReceived(String username, String data);","title":""},{"docid":"b1f6f2da7705eae0d745211b414996bb","score":"0.6784888","text":"@Override\n public void onMessage(WebSocket webSocket, ByteString bytes) {\n }","title":""},{"docid":"e5c41afad8befbff0d37116a0210ce61","score":"0.6765605","text":"@Override\n public void onMessage(WebSocket webSocket, String text) {\n }","title":""},{"docid":"83c0da0f79858c5856aa4b86a8cc5977","score":"0.66707605","text":"@OnWebSocketMessage\n public void onMessage(Session session, String message) {\n }","title":""},{"docid":"fde6948fa47a90e349f441e2ae37ccd2","score":"0.6538328","text":"@Override\r\n public void onMessage(String message) {\n Log.e(\"JWebSocketClient\", \"onMessage()\"+message);\r\n }","title":""},{"docid":"8c42d4b90f2f847de7135f6d266396b8","score":"0.6456768","text":"public void onMessage(Message message) {\n\t\tObjectMessage tmsg = (ObjectMessage) message;\r\n\t\ttry {\r\n\t\t\tMessageClient mess= (MessageClient) tmsg.getObject();\r\n\t\t\tSystem.out.println(mess.getType()+\" chatApp\");\r\n\t\t\tUser user= new User();\r\n\t\t\tuser.setUsername(mess.getUsername());\r\n\t\t\tuser.setPassword(mess.getPassword());\r\n\t\t\tif(mess.getType().equals(\"login\")){\r\n\t\t\t\taddUser(user);\r\n\t\t\t}else if(mess.getType().equals(\"logout\")){\r\n\t\t\t\tremoveUser(user);\r\n\t\t\t}\r\n\t\t} catch (JMSException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"0ab5e986086bda1f961f777bdba39da7","score":"0.63385785","text":"@Override\n\tpublic void messageReceived(IoSession session, Object message)\n\t\t\tthrows Exception {\n\t\tsuper.messageReceived(session, message);\n\t\tlogger.debug(\"== messageReceived: \"+ message.toString());\n\t\t\n\t\t\n\t\tsession.write(\"收到:\"+message.toString());\n\t\t\n\t}","title":""},{"docid":"ecfe3826321c489bc11f8b908e6300ae","score":"0.62979025","text":"@OnMessage\n\tpublic void onMessage(String message) {\n\t\ttry {\n\t\t\tthis.monWebSocketClient.recvMessage(message);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"7f3f0ec15a82694bffe625457e975100","score":"0.62957126","text":"@OnWebSocketMessage\n public void handleMessage(String message) {\n \t// if the message is a change of model update Model;\n \t// broadcast new model;\n System.out.println(\"StreetViewWebSocketServlet Message:\" + message);\n\t\t\n theModel.updateModel(message);\n \n StringBuilder theBuilder = new StringBuilder(\"model:\");\n\t\tString stringifiedModel = theModel.asJSONObject().toString();\n\t\ttheBuilder.append(stringifiedModel);\n\n\t\tfor (int i = 1; i < users.size(); ++i) {\n\t users.get(i).send(theBuilder.toString());\n\t\t}\n }","title":""},{"docid":"2b2ca47df33ea0d4de33e90e9f716475","score":"0.628889","text":"@OnMessage\r\n\tpublic void incoming(String message, @PathParam(\"path\") String path) throws Exception {\n\t\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n\t\t\t\tDocumentBuilder builder;\r\n\t\t\t\tbuilder = factory.newDocumentBuilder();\r\n\t\t\t\tStringReader sr = new StringReader(message);\r\n\t\t\t\tInputSource is = new InputSource(sr);\r\n\t\t\t\tDocument doc = builder.parse(is); //Invalid XML will crash here\r\n\r\n\t\t\t\t// get message type\r\n\t\t\t\tElement element = doc.getDocumentElement();\r\n\t\t\t\tString messageType = element.getAttribute(\"type\");\r\n\t\t\t\t\r\n\t\t\t\t//System.out.println(\"Received: \"+convertXMLtoString(element));\r\n\r\n\t\t\t\tString senderID = null; \r\n\t\t\t\t\r\n\t\t\t\t//Get the senderID and Client and link to this ChatAnnotation class\r\n\t\t\t\tsenderID = element.getAttribute(\"senderID\");\r\n\t\t\t\t\r\n\t\t\t\t//long startTime = System.nanoTime();\r\n\t\t\t\t\r\n\t\t\t//Moved these up for optimization, but it only gets like 1ms so idk\r\n\t\t\r\n\t\tif(messageType.equals(MessageType.UserClientAffirm)) {\r\n\t\t\t//If a clientID is included, confirm it the userClient and send it\r\n\t\t\t//Else create a new userClient\r\n\t\t//System.out.println(\"Time diff \"+(System.nanoTime()-startTime));\r\n\t\t\t//Use senderID to find userClient and link userClient\r\n\t\t\tif (senderID != \"\") {\r\n\t\t\t\tint userListSize = userList.size(); //set before for is run\r\n\t\t\t\t\r\n\t\t\t\tfor (int i=0; i \"+ userClient.toString());\r\n\t\t\t\t\t\tsendXMLMessage(\"permIDConfirm\", userClient.permID);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t/******************************************************\r\n\t\t\t\t\t\t * User had a verified Client, run reconnect script\r\n\t\t\t\t\t\t *********************************************************/\r\n\t\t\t\t\t\t\r\n//\t\t\t\t\t\t//Reconnect for loginChat- is not Admin but has groupID \r\n//\t\t\t\t\t\tif (path.equals(\"loginChat\") && !userClient.isAdmin && userClient.groupID>0) {\r\n//\t\t\t\t\t\t\t//place user back into group if removed- otherwise Session change fixes this\r\n//\t\t\t\t\t\t\tuserClient.session = this.session; //change session early in case\r\n//\t\t\t\t\t\t\tSet group = groupManager.getGroup(userClient.groupID);\r\n//\t\t\t\t\t\t\tif (!group.contains(userClient))\r\n//\t\t\t\t\t\t\t\tgroup.add(userClient); \r\n//\r\n//\t\t\t\t\t\t\tsendChatHistory(userClient, 0, true); //send chatHistory\r\n//\t\t\t\t\t\t\tsendXMLMessage(\"goToChat\", userClient.permID); //calls swapPanel on loginChatJS which when sent twice\r\n//\t\t\t\t\t\t\t//sendXMLMessage(\"displayChat\", userClient.permID); //sends user to chat page\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tsendReconnectMessage(doc, userClient);\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tSystem.out.println(\"User \"+userClient.IDString()+\" has successfully reconnected to loginChat.\");\r\n//\t\t\t\t\t\t} else if //adminMonitor- is admin and has adminMonitor Table (has logged in but not out)\r\n//\t\t\t\t\t\t\t(path.equals(\"adminMonitor\") && userClient.isAdmin &&\r\n//\t\t\t\t\t\t\t\t\tgroupManager.getAMStatus(userClient)!=null) {\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tuserClient.session = this.session; //refresh session\r\n//\t\t\t\t\t\t\tsendAMStatus(groupManager.getAMStatus(userClient)); //client needs this to prepare the windows\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tint[] AMStatus = groupManager.getAMStatus(userClient);\r\n//\t\t\t\t\t\t\tfor (int groupNo=0; groupNoGroupManager.AM_NONE){ //add to group\r\n//\t\t\t\t\t\t\t\t\tgroupManager.getGroupByNo(groupNo).add(userClient);\r\n//\t\t\t\t\t\t\t\t\tuserClient.groupID = groupManager.getGroupID(groupNo);\r\n//\t\t\t\t\t\t\t\t\tsendChatHistory(userClient, 0, true);\r\n//\t\t\t\t\t\t\t\t}\r\n//\t\t\t\t\t\t\t\tif (AMStatus[groupNo]==GroupManager.AM_CHAT)\r\n//\t\t\t\t\t\t\t\t\tsendReconnectMessage(doc, userClient);\r\n//\t\t\t\t\t\t\t}\r\n//\t\t\t\t\t\t\tSystem.out.println(\"AM User \"+userClient.IDString()+\" has reconnected to: \"+AMStatus);\r\n//\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of for loop\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//if no userClient was found (and by default senderID is empty)\r\n\t\t\tif (userClient==null) {\r\n\t\t\t\tif (senderID != \"\") {\r\n\t\t\t\t\tSystem.out.print(\"Outdated PermID-\"+senderID+\" \");\r\n\t\t\t\t}\r\n\t\t\t\tthis.userClient = new Client(session.getId(), new SimpleDateFormat(\"-HHmmssSS\").format(serverStartTime) );\r\n\t\t\t\t//senderID = userClient.permID;\r\n\t\t\t\tSystem.out.println(\"AFFIRM permID: \"+userClient.permID+\" -> \"+ userClient.toString());\r\n\t\t\t\tuserList.add(this.userClient);\r\n\t\t\t\tsendXMLMessage(\"permIDSet\", userClient.permID);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tuserClient.sessionID = this.session.getId();\r\n\t\t\tuserClient.session = this.session;\r\n\t\t\treturn;\r\n\t\t} //end of UserClientAffirm\r\n\t}","title":""},{"docid":"fbbb6350213c4297ea6a6f82d017c7c3","score":"0.6284878","text":"@Override\n public void accept(WebSocket webSocket) {\n QbitServerMessageConsumer messageConsumer = new QbitServerMessageConsumer(webSocket);\n webSocket.setTextMessageConsumer(messageConsumer);\n }","title":""},{"docid":"a81473fc3d908686a840861e818fed52","score":"0.6268593","text":"@Override\r\n\tpublic void OnAnyChatOnlineUserMessage(int dwUserNum, int dwRoomId) {\n\t\t\r\n\t}","title":""},{"docid":"482352a9d383f3023f3d215aa46d6462","score":"0.6262001","text":"public abstract void onMessageReceived(Message message);","title":""},{"docid":"08a32b914e417789b14f17259ec1e7b6","score":"0.6258293","text":"void onMessage(Message message);","title":""},{"docid":"08a32b914e417789b14f17259ec1e7b6","score":"0.6258293","text":"void onMessage(Message message);","title":""},{"docid":"409672425d466f5c08ac4c7ba1e3cf82","score":"0.6256705","text":"@Override\n protected void acceptReceived(SessionId clientSessionId) {\n\n }","title":""},{"docid":"68ad40a05e7f8e94e21fd27d85f78e3a","score":"0.6250755","text":"@Override\n \tpublic void messageArrived( final int userCode, final String msg, final int color )\n \t{\n \t\tThread t = new Thread()\n \t\t{\n \t\t\tpublic void run()\n \t\t\t{\n \t\t\t\tif ( isAlive() )\n \t\t\t\t{\n \t\t\t\t\tint counter = 0;\n \n \t\t\t\t\twhile ( wList.isWaitingUser( userCode ) && counter < 40 )\n \t\t\t\t\t{\n \t\t\t\t\t\tcounter++;\n \n \t\t\t\t\t\ttry\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tsleep( 50 );\n \t\t\t\t\t\t}\n \n \t\t\t\t\t\tcatch ( InterruptedException e )\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tlog.log( Level.SEVERE, e.getMessage(), e );\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \n \t\t\t\tif ( !controller.isNewUser( userCode ) )\n \t\t\t\t{\n \t\t\t\t\tlistener.showUserMessage( msg, color );\n \t\t\t\t}\n \n \t\t\t\telse\n \t\t\t\t{\n \t\t\t\t\tlog.log( Level.SEVERE, \"Could not find user: \" + userCode );\n \t\t\t\t}\n \t\t\t}\n \t\t};\n \n \t\tif ( controller.isNewUser( userCode ) )\n \t\t{\n \t\t\twList.addWaitingUser( userCode );\n \t\t\tcontroller.sendExposeMessage();\n \t\t\tcontroller.sendGetTopicMessage();\n \n \t\t\tt.start();\n \t\t}\n \n \t\telse\n \t\t\tt.run();\n \t}","title":""},{"docid":"dff2001d077bdbde908aa674e1e3fd54","score":"0.6235546","text":"public void onMessage(String msg) {\r\n\t\tfinal String data = msg;\r\n\t\tLog.v(TAG, \"Received a message: \" + msg);\r\n\t\tappView.post(new Runnable() {\r\n\t public void run() {\t \r\n\t appView.loadUrl(buildJavaScriptData(EVENT_ON_MESSAGE, data));\r\n\t }\r\n\t });\r\n\t}","title":""},{"docid":"fb9c5f6de813dab769bd0761ae319c93","score":"0.62230766","text":"private void onMessageSent(String message) {\n }","title":""},{"docid":"bdb3e435c1e2b8e3d2c644cfaf778c01","score":"0.6205066","text":"public void onMessage(byte[] data) {\n\t\t\t\n\t\t}","title":""},{"docid":"a7ff3dfad5abbb37eb77ed8c6d34467e","score":"0.6168768","text":"@Override\n\tpublic void fireReceiveMessage(Object message) {\n\n\t}","title":""},{"docid":"c283da5c0d8113579229aac2265bcfa2","score":"0.6164079","text":"@Override\n\t\tpublic void onRecv() {\n\t\t}","title":""},{"docid":"83f4bcf57002a737df3d2d667507a9a7","score":"0.6164027","text":"@Override\n\tpublic void onMessage(WebSocket p1, String p2) {\n\t}","title":""},{"docid":"816c6dd2978f87301d610637038162e9","score":"0.6149115","text":"@OnMessage\r\n public void handleMessage(String message, Session session) {\r\n try {\r\n System.out.println(message);\r\n ObjectMapper objectMapper = new ObjectMapper();\r\n JsonMessage jsonMessage = objectMapper.readValue(message, JsonMessage.class);\r\n switch (jsonMessage.getAction()) {\r\n case \"addChatUser\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String id = jsonMessage.getData()[1];\r\n User user = ActiveUsers.getUser(username);\r\n ChatRoom chatRoom = ActiveChatRooms.getChatRoom(id);\r\n JsonChatRoom jsonChatRoom = new JsonChatRoom(\r\n \"newChat\",\r\n chatRoom.getChatRoomID(),\r\n chatRoom.getUsernames(),\r\n chatRoom.getMessages()\r\n );\r\n String strSend = objectMapper.writeValueAsString(jsonChatRoom);\r\n user.sendMessage(strSend); \r\n chatRoom.addUser(user);\r\n String[] data = {username, id};\r\n JsonMessage send = new JsonMessage(\r\n \"addChatUser\",\r\n data\r\n );\r\n strSend = objectMapper.writeValueAsString(send);\r\n chatRoom.sendMessage(strSend);\r\n }\r\n case \"heartbeat\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n if (ActiveUsers.containsUser(username)){ \r\n ActiveUsers.getUser(username).resetTimer();\r\n } else {\r\n login(username, session);\r\n }\r\n break;\r\n }\r\n case \"login\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n login(username, session);\r\n break;\r\n }\r\n case \"logout\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String[] IDs = ActiveChatRooms.removeUser(username);\r\n for (int i=0; i < IDs.length; i++){ \r\n removeChatUser(username, IDs[i]);\r\n } \r\n ActiveUsers.getUser(username).cancelTimer();\r\n ActiveUsers.removeUser(username);\r\n JsonMessage send = new JsonMessage(\r\n \"usernames\", \r\n ActiveUsers.getUsernames()\r\n );\r\n String strSend = objectMapper.writeValueAsString(send);\r\n ActiveUsers.broadcast(strSend);\r\n break;\r\n }\r\n case \"newChat\":\r\n {\r\n String username1 = jsonMessage.getData()[0];\r\n String username2 = jsonMessage.getData()[1];\r\n ChatRoom chatRoom = new ChatRoom(\r\n ActiveUsers.getUser(username1),\r\n ActiveUsers.getUser(username2)\r\n );\r\n ActiveChatRooms.addChatRoom(chatRoom.getChatRoomID(), chatRoom);\r\n JsonChatRoom jsonChatRoom = new JsonChatRoom(\r\n \"newChat\",\r\n chatRoom.getChatRoomID(),\r\n chatRoom.getUsernames(),\r\n chatRoom.getMessages()\r\n );\r\n String strSend = objectMapper.writeValueAsString(jsonChatRoom);\r\n chatRoom.sendMessage(strSend);\r\n break;\r\n }\r\n case \"removeChatUser\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String id = jsonMessage.getData()[1];\r\n removeChatUser(username, id);\r\n break;\r\n }\r\n case \"sendMessage\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String id = jsonMessage.getData()[1];\r\n String textMessage = jsonMessage.getData()[2];\r\n ChatRoom chatRoom = ActiveChatRooms.getChatRoom(id);\r\n chatRoom.addMessage(username + \": \" + textMessage);\r\n chatRoom.sendMessage(message);\r\n break;\r\n }\r\n default:\r\n Logger.getLogger(Controller.class.getName()).log(\r\n Level.WARNING, \r\n \"Received an unknown message action: {0}\", \r\n jsonMessage.getAction()\r\n );\r\n break;\r\n }\r\n } catch (IOException ex) {\r\n Logger.getLogger(Controller.class.getName()).log(Level.SEVERE, ex.getMessage(), ex); \r\n }\r\n }","title":""},{"docid":"a5da4b3592c01f58391780eab89478a1","score":"0.6144328","text":"@OnMessage\n public void receive(String message, Session session) {\n }","title":""},{"docid":"71e1e2cc9ae1a2061d497c996e898510","score":"0.6139286","text":"@Override\n\tpublic void onMessage(JSONObject message) {\n\t\t\n\t}","title":""},{"docid":"a4a2ec3e13f16118a94043a26e081ca9","score":"0.6134156","text":"@Override\n\tpublic void handleTextMessage(WebSocketSession session, TextMessage message)\n\t\t\tthrows InterruptedException, IOException {\n\t\tlogger.info(\"Receive a message from socket client:\" + message.getPayload());\n\t}","title":""},{"docid":"8201931f5683d5603cc1e253253c6e53","score":"0.6132251","text":"public void onMessageReceived(M message);","title":""},{"docid":"8f2a8e7fa215d4b23525788132979d17","score":"0.61163634","text":"void messageReceived(String sender, String message);","title":""},{"docid":"40c660a550bfeec64a51aad52f0a94ea","score":"0.61110985","text":"@Override\n\tpublic void messageReceived(Message msg) {\n\t\t\n\t}","title":""},{"docid":"d4c20307593cd3288189c6f5917e3156","score":"0.6110077","text":"public void onMessage(String msg) {\n }","title":""},{"docid":"ced3650243255ca400df11da6360bfa9","score":"0.61090106","text":"@Override\n public void onMessage( String event )\n {\n }","title":""},{"docid":"aea3a3b5682f535c7f2d383f5d11bb48","score":"0.6107369","text":"public void onMessageReceived(Message message){\n if (message.getUserId().equals(this.getName())){\n return;\n }\n if (message instanceof ConnectMessage && !this.clientConnected) {\n sendMessage(new ConnectAcknowledgeMessage(this.getUserId()));\n onConnect(message.getUserId());\n this.clientConnected = true;\n } else {\n onChatMessageReceived(message);\n }\n }","title":""},{"docid":"9ba85d205014b9d8caf8af2d720d1611","score":"0.60980123","text":"@Override\n protected void onTextMessage(CharBuffer message) throws IOException {\n System.out.println(\"onTextMessage:\" + message);\n try {\n // NotificaBean notifica = new NotificaBean();\n Map dataParsed = (Map) JSON.parse(message.toString());\n System.out.println(\"Data JSON parsed:\" + dataParsed);\n \n TipoNotificacion tipoNotificacion = NotificaBean.getNotificacion(dataParsed.get(\"notificacion\").toString());\n System.out.println(\"TipoNotificacion:\" + tipoNotificacion);\n String msgTo = dataParsed.get(\"msgTo\").toString();\n System.out.println(\"msgTo:\" + msgTo);\n \n if (\"*\".equals(msgTo)) {\n Enumeration en = mapNotifica.keys();\n String key;\n while (en.hasMoreElements()) {\n key = (String) en.nextElement();\n System.out.println(\"enviando broadcast a:\" + key);\n broadcastNotificaciones(tipoNotificacion, key);\n\n }\n } else {\n broadcastNotificaciones(tipoNotificacion, msgTo);\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n System.err.println(\"Sin poder parsear msg:\" + message + \" from:\" + nickname + \" causa:\" + e.getMessage());\n }\n\n }","title":""},{"docid":"486a8500c8ea02ae21aaf269e333eb93","score":"0.6094109","text":"@Override\r\n\t\tpublic void handleMessage(Message msg) {\r\n\t\t\tswitch (msg.what) {\r\n\t\t\tcase MSG_REGISTER_CLIENT:\r\n\t\t\t\tUImessenger = msg.replyTo;\r\n\t\t\t\tbreak;\r\n\t\t\tcase MSG_UNREGISTER_CLIENT:\r\n\t\t\t\tUImessenger = null;\r\n\t\t\t\tbreak;\r\n\t\t\tcase MSG_SET_DATA_VALUE:\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tsuper.handleMessage(msg);\r\n\t\t\t}\r\n\t\t}","title":""},{"docid":"40a4d74be63ecd6b1b3ddf0075d352c0","score":"0.6090189","text":"@Override\n \tpublic void messageArrived( final int userCode, final String msg, final int color )\n \t{\n \t\tThread t = new Thread()\n \t\t{\n \t\t\tpublic void run()\n \t\t\t{\n \t\t\t\tif ( isAlive() )\n \t\t\t\t{\n \t\t\t\t\tint counter = 0;\n \t\t\t\t\t\n \t\t\t\t\twhile ( wList.isWaitingUser( userCode ) && counter < 40 )\n \t\t\t\t\t{\n \t\t\t\t\t\tcounter++;\n \t\t\t\t\t\t\n \t\t\t\t\t\ttry\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tsleep( 50 );\n \t\t\t\t\t\t}\n \t\t\t\t\t\t\n \t\t\t\t\t\tcatch ( InterruptedException e )\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tlog.log( Level.SEVERE, e.getMessage(), e );\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tmainP.appendUserMessage( msg, color );\n \n \t\t\t\tif ( !gui.isVisible() && me.isAway() )\n \t\t\t\t{\n \t\t\t\t\tsysTray.setAwayActivityState();\n \t\t\t\t}\n \n \t\t\t\telse if ( !gui.isVisible() )\n \t\t\t\t{\n \t\t\t\t\tsysTray.setNormalActivityState();\n \t\t\t\t}\n \t\t\t}\n \t\t};\n \t\t\n \t\tif ( controller.isNewUser( userCode ) )\n \t\t{\n \t\t\twList.addWaitingUser( userCode );\n \t\t\tcontroller.sendExposeMessage();\n \t\t\tcontroller.sendGetTopicMessage();\n \t\t\t\n \t\t\tt.start();\n \t\t}\n \n \t\telse\n \t\t\tt.run();\n \t}","title":""},{"docid":"f1727481e92680a980e4efe759306e09","score":"0.6082149","text":"Messageable receiveMessage();","title":""},{"docid":"c671a4df7c6cd3ac3c1cce64bfc9dd97","score":"0.60700744","text":"@Override\n protected void onMessage(Context context, Intent intent) {\n Log.i(TAG, \"Received message\");\n /* String message = intent.getExtras().getString(\"price\");\n\n displayMessage(context, message);\n */ // notifies user\n\n // dbHelper = new DBHelper(context);\n myPreferences = new Preferences(context.getApplicationContext());\n String str_msg = intent.getExtras().getString(\"message\");\n\n /* if (str_msg.contains(\"tamsonic\")) {\n }*/\n\n /* Message message = Utility.getMessageFromString(str_msg);\n\n String from_id = message.getFrom_user_id();\n String to_id = message.getTo_user_id();\n\n\n message.setFrom_user_id(to_id);\n message.setTo_user_id(from_id);\n\n\n from_id = message.getFrom_user_id();\n to_id = message.getTo_user_id();\n\n message.setMessage_type(String.valueOf(Message.RECEIVED));\n\n\n String my_user_id = myPreferences.getUser().getUser_id();\n\n if (from_id.equalsIgnoreCase(my_user_id) || from_id.equalsIgnoreCase(\"0\")) {\n\n //checking same user login\n\n\n if (ConversationFragment.isInside) {\n message.setRead(Message.READ);\n } else {\n message.setRead(Message.UNREAD);\n }\n\n\n dbHelper.addMessage(message);\n if (!ConversationFragment.isInside) {\n try {\n str_msg = URLDecoder.decode(str_msg, \"UTF-8\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n generateNotification(context, str_msg);\n } else {\n Intent newMessageIntent = new Intent(\"new_message\");\n newMessageIntent.putExtra(\"message\", str_msg);\n sendBroadcast(newMessageIntent);\n }\n\n } else {\n Toast.makeText(context, \"msg came but different user\", Toast.LENGTH_SHORT).show();\n }\n*/\n }","title":""},{"docid":"3e484262f6c66a07e8cffbfc596744ff","score":"0.60541946","text":"@Override\r\n\tpublic void onMessage(String message) {\n\r\n\t}","title":""},{"docid":"472a0e580f37bbdedad4799ee19503cb","score":"0.6045742","text":"public void processNewUser(){\n\t\t\n\t\tlog.debug(\"\");\n\t\t\n\t\tbuffer = message.getBuffer();\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tnetwork.newUser(buffer.getInt(), buffer.getInt());\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"01df58624b7ccdfc274e9f7cc881e0cd","score":"0.6044282","text":"void onMessage(WampMessage message) {\n if (currentState instanceof SessionEstablishedState)\n ((SessionEstablishedState)currentState).onMessage(message);\n else if (currentState instanceof HandshakingState)\n ((HandshakingState)currentState).onMessage(message);\n }","title":""},{"docid":"d16e460ee15bbe04e6236280e9faf235","score":"0.6040477","text":"@Override\r\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\r\n\t\t\tswitch (msg.what) {\r\n\t\t\tcase MessageID.MESSAGE_CHICK:\r\n//\t\t\t\tLogPrint.Print(\"message\",\"======chick message\");\r\n//\t\t\t\tif(UserUtil.userid != -1&&UserUtil.userState == 1){\r\n//\t\t\t\t\tmConnectUtil = new ConnectUtil(MessageReceiveService.this, mHandler,0);\r\n//\t\t\t\t\t//by lyb\r\n////\t\t\t\t\tmConnectUtil.connect(URLUtil.URL_MESSAGE_GET+\"?oid=\"+UserUtil.userid, HttpThread.TYPE_PAGE, 0);\r\n//\t\t\t\t\tmConnectUtil.connect(URLUtil.URL_MESSAGE_GET+\"?oid=\"+UserUtil.userid, HttpThread.TYPE_MESSAGE_GET, 0);\r\n//\t\t\t\t}\r\n//\t\t\t\tmHandler.sendEmptyMessageDelayed(MessageID.MESSAGE_CHICK, CHICK_TIME);\r\n\t\t\t\tbreak;\r\n\t\t\tcase MessageID.MESSAGE_CONNECT_DOWNLOADOVER:\r\n//\t\t\t\tif(mConnectUtil!=null&&\"text/json\".equals(msg.getData().getString(\"content_type\"))){\r\n//\t\t\t\t\tJson((byte[])msg.obj);\r\n//\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}","title":""},{"docid":"f0f88d24e1be679245f00f3a57d9b471","score":"0.6039488","text":"void onMessage(String message);","title":""},{"docid":"54f92f3e2d3b99ebf6a141ddab3c5bcb","score":"0.6014909","text":"public interface MessageHandler {\n\n\n /**\n * process the message from web socket server\n * @param message\n */\n void handleMessage(String message);\n}","title":""},{"docid":"66fdc15175745072faf2db331c436516","score":"0.6010212","text":"@Override\n\tpublic void personalMessageReceived(String arg0, String arg1) {\n\t\t\n\t}","title":""},{"docid":"09ee04753ca1ec0d1552857aa281564b","score":"0.60099286","text":"public void onMessage(AIMessage msg)\n {\n \n }","title":""},{"docid":"c5f8a7289276bcc4222d1137ad23089e","score":"0.60043436","text":"@Override\n public void onMessageSent() {\n }","title":""},{"docid":"af5cad5ffd78a18e1ff11e0cc9a86003","score":"0.60019666","text":"@Override\n public boolean handleMessage(Message msg)\n {\n connection_callback(msg);\n return true;\n }","title":""},{"docid":"a0994569145de9300457722b7cfc5081","score":"0.5997233","text":"public void onMessage(Message msg) {\r\n try {\r\n ObjectMessage objmsg = (ObjectMessage)msg;\r\n Video video = (Video)objmsg.getObject();\r\n String perp = msg.getStringProperty(\"SpudsCustomer\");\r\n System.out.println(\"Perpetrator \" + perp + \" requested video \" + video);\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }","title":""},{"docid":"453afb8f102670443255b55370e824d9","score":"0.599299","text":"@Override\n public void messageReceived(IoSession session, Object message) throws Exception {\n LOG.warn(\"客户端收到消息:\" + message);\n if (message.toString().equals(\"1111\")) {\n //收到心跳包\n LOG.warn(\"收到心跳包\");\n session.write(\"1112\");\n }\n }","title":""},{"docid":"a1a9767cf9922329a28e8b99977bc9e2","score":"0.59921986","text":"@Override\n public void onOpen(WebSocket webSocket, Response response) {\n }","title":""},{"docid":"9ba542d465fc4aaedbaa9a3f872debc0","score":"0.59754604","text":"private void handleUser(final Socket userSocket) {\n new Thread(new Runnable() {\n public void run() {\n ObjectInputStream oin = null;\n ObjectOutputStream oout;\n String[] SplitServerMessage;\n String msg = \"\";\n\n try {\n oin = new ObjectInputStream(userSocket.getInputStream());\n oout = new ObjectOutputStream(userSocket.getOutputStream());\n\n while (oin != null) {\n try {\n msg = (String) oin.readObject();\n SplitServerMessage = msg.split(\":\", 4);\n String source = SplitServerMessage[0];\n\n if (source.equals(\"S\")) {\n //L'expéditeur du message est un serveur\n analyzeMessageSentByServer(msg, userSocket);\n } else if (source.equals(\"C\")) {\n //L'expéditeur du message est un client\n if (sId == Integer.valueOf(serverMaster[0])) {\n analyzeMessageSentByUser_Master(msg, userSocket, oout);\n } else {\n analyzeMessageSentByUser_NotMaster(msg, userSocket, oout);\n }\n } else if (source.equals(\"UPDATE\")) {\n //Mise a jour des infos du serveur ressuscité;\n handleMsgUpdateServer(oin);\n } else if (source.equals(\"GAME\")) {\n //Mise a jour d'une partie transmis par le serveur master\n Game g = (Game) oin.readObject();\n handleMsgGameServer(g);\n } else {\n System.out.println(\"Erreur : Message de type inconnu\");\n }\n } catch (OptionalDataException opt) {\n // System.out.println(\" DATA OPTIONAL\");\n }catch (ClassCastException cast){\n // System.out.println(\" CAST STRING GAME\");\n }\n catch ( StreamCorruptedException stream){\n // System.out.println(\" STREAM\");\n }\n\n }\n } catch (SocketException ex) {\n if (socketBack.equals(userSocket)) {\n //panne du serveur de derriere\n try {\n System.out.println(\"=>Détection mon voisin Back \" + neighborServerBehindMe[0] + \" à l'adresse \"\n + neighborServerBehindMe[1] + \" sur le port \" + neighborServerBehindMe[2] + \" est mort\");\n sendMessageNextServer(\"S:\" + neighborServerBehindMe[0] + \":\" + sId + \":DEAD\");\n setServerDead(Integer.valueOf(neighborServerBehindMe[0]));\n neighborServerBehindMe = whoIsMyNeighborBehindMe(sId);\n serverMaster = electMaster();\n } catch (IOException ei) {\n //ei.printStackTrace();\n }\n } else if (userSocket != null && usersSocket.containsKey(userSocket)) {\n //panne du client\n String lastPseudo = usersSocket.get(userSocket);\n if (lastPseudo != null) {\n try {\n sendMessageNextServer(\"C:\" + lastPseudo + \":DISCONNECT:\");\n handleUserDead(lastPseudo, userSocket);\n } catch (IOException e) {\n //e.printStackTrace();\n }\n }\n }\n } catch (EOFException eo) {\n String lastPseudo = usersSocket.get(userSocket);\n if (lastPseudo != null) {\n try {\n sendMessageNextServer(\"C:\" + lastPseudo + \":DISCONNECT:\");\n handleUserDead(lastPseudo, userSocket);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }\n }).start();\n }","title":""},{"docid":"36b165e64a8db80f1a3e50d434b10b03","score":"0.5974574","text":"public synchronized void receivedFrame(ClockUsersAndTranslatorsFrame frame)\r\n\t{\r\n\t\tif(frame.getReceiver()==this.getUserId() || frame.getReceiver()==Frame.BROADCAST)\r\n\t\t{\r\n\t\t\tif(frame.getClockUsersAndTranslatorsMessageInFrame().getStringMessage().equals(\"Quelle heure est-il?\"))\r\n\t\t\t\tthis.sendFrame( new ClockUsersAndTranslatorsFrame(this.getUserId(),frame.getSender(),new ClockUsersAndTranslatorsMessage(this.getUserId(),frame.getSender(),\"Il est 8h00\")));\r\n\t\t\telse\r\n\t\t\t\tthis.notifyEvent(new NotUnderstanbleRequestEvent(this.getSystemId(),frame.getSender()));\r\n\t\t}\r\n\t}","title":""},{"docid":"cce68dd524adbd726939a7c11a1c5b5f","score":"0.59703845","text":"public void messageReceived (DeviceSocket socket, byte[] payload);","title":""},{"docid":"45f1497647422b9390343139d4f91f9f","score":"0.59563416","text":"void onReceive(Object msg);","title":""},{"docid":"b74738ebd511b984274a82a008c61054","score":"0.5953182","text":"@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tswitch(msg.what)\n\t\t\t{\n\t\t\tcase 0:\n\t\t\t{\n\t\t//\t\t webViewIsLoading = false;\n \t String s=\"Time out(10s)\\n\";\n \t webViewIsLoading = false;\n \t AutoTestResult.append(s);\n\t\t\t\t Intent mIntent1 = new Intent(\"URLACK\");\n\t\t\t\t mIntent1.putExtra(\"result\", \"DONE\"); \n\t\t\t\t sendBroadcast(mIntent1);\n\t\t\t\t \n \t}\n\t\t\tcase 1:\n\t\t\t{\n\t\t\t\t AutoTestResult.append(\"start\\n\");\n\t\t\t}\n break;\n\t\t\tcase 2:\n\t\t\t{\n\t\t\t\t AutoTestResult.append(\"end\\n\");\n\t\t\t}\n break;\n default:\n \t break;\n\t\t\t}\n\t\t}","title":""},{"docid":"f8a767d9cac21c7e96ceae2cfc9380f1","score":"0.5953004","text":"@OnMessage\r\n public void onMessage(String message, Session session) \r\n throws IOException, InterruptedException {\n session.getBasicRemote().sendText(\"Received: \" + message);\r\n }","title":""},{"docid":"71c53398f80da2ea97c2edbf08b4fd21","score":"0.5948544","text":"@Override\r\n public void messageRecieved(AppEvent _event) {\r\n System.out.println(\"This module does not act on messages.\");\r\n }","title":""},{"docid":"691aef3ed6392541b184ff5066684dff","score":"0.5938133","text":"public abstract void onChatMessageReceived(Message message);","title":""},{"docid":"85c4382cb79ce417aa7e2da8fa6e9677","score":"0.5936145","text":"protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {\n UserInfo req = (UserInfo) msg;\n System.out.println(\"received from client: \" + req.toString());\n\n ctx.writeAndFlush(new String(\"accepted\"));\n }","title":""},{"docid":"0095db3b1a581050f56bd2a15df5795e","score":"0.59350187","text":"@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tswitch (msg.what) {\n\t\t\tcase 2:// token获取\n\t\t\t\tif (LoginUtil.login_handlered) {\n\t\t\t\t\tLoginUtil.login_handlered = false;\n\t\t\t\t\tmToken = sp.getString(\"mToken\", null);\n\t\t\t\t\tLog.e(TAG, \"handleMessage token = \" + mToken);\n\t\t\t\t\tif (mToken != null) {\n\t\t\t\t\t\t// signUp();\n\t\t\t\t\t\tgetRecommomt(startPage);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast.makeText(OfflineCoursePayActivity.this,\n\t\t\t\t\t\t\t\t\"网络不佳,请稍后再试\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tnew Timer().schedule(new TimerTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t// 需要做的事:发送消息\n\t\t\t\t\t\t\t// LoginUtil.login_handlered = false;\n\t\t\t\t\t\t\tMessage msg_loop = handler.obtainMessage();\n\t\t\t\t\t\t\tmsg_loop.what = 2;\n\t\t\t\t\t\t\tmsg_loop.sendToTarget();\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 1000);\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}","title":""},{"docid":"7262c0d19748532f336cbed2c18a9877","score":"0.59344536","text":"@Override\n\tpublic void serverMessageReceived(String arg0) {\n\t\t\n\t}","title":""},{"docid":"567e93f3d167693a3f446c0774079d69","score":"0.5928378","text":"void onText(String message, WebSocketSession session);","title":""},{"docid":"a1671b388a535d08da6b15d853669838","score":"0.5917624","text":"@Override\n protected void channelRead0(ChannelHandlerContext ctx, WebSocketFrame frame) throws Exception {\n if (frame instanceof TextWebSocketFrame) {\n String request = ((TextWebSocketFrame) frame).text();\n try {\n JSONObject jObject = new JSONObject(request);\n String msgType = jObject.getString(\"type\");\n if (hasLogin.equals(\"init\")) {\n ctx.executor().schedule(new ConnectionTerminator(ctx), 5, TimeUnit.SECONDS);\n hasLogin = \"waiting\";\n }\n if (msgType.equals(\"login\")) { //学生端login和老师端推题login\n int result = new WebSocketMsgProcessor(ctx, request).processLogin(jObject);\n if (result == 0) {\n hasLogin = \"success\";\n userType = jObject.getString(\"userType\");\n uid = jObject.getString(\"uid\");\n roomId = jObject.getString(\"roomId\");\n clientType = \"normalWebSock\";\n if (jObject.has(\"appType\")) {\n appType = jObject.getString(\"appType\");\n }\n }\n } \n else if (hasLogin.equals(\"success\")){ //增强校验,非登录状态不接受任何业务消息\n ctx.executor().execute(new WebSocketMsgProcessor(ctx, request));\n } else {\n MyLogger.log(\"非登录态试探:\" + jObject.toString() + \" channel:\" +ctx.channel());\n ctx.close();\n }\n } catch (Exception e){\n MyLogger.log(\"FrameWork error:\"+e.getMessage());\n ctx.close();\n }\n }\n }","title":""},{"docid":"fdc2817e2f5ce6d321f057a001998a7a","score":"0.59128433","text":"@Override\n protected void handleBinaryMessage(WebSocketSession session, BinaryMessage message) {\n super.handleBinaryMessage(session, message);\n System.out.println(\"handleBinaryMessage......\");\n }","title":""},{"docid":"afb295b534a39ab27b4bdc21da54c355","score":"0.59103227","text":"public interface MessageListener {\n\n /**\n * Called when a message from a remote endpoint is received.\n *\n * @param envelope the {@link WebSocketEnvelope} for the received message\n * @param message the de-serialized message payload\n */\n void onMessage(WebSocketEnvelope envelope, Object message);\n}","title":""},{"docid":"e257da8b0460d946311d22b7a6160d0f","score":"0.5906633","text":"protected void onConnected() {\n\t\tSystem.out.println(\"onConnected\");\n\t\tsetStatus(StatusType.EXTENDED_AWAY, \"testing message! :)\");\n\t\tsendMessage(\"hanzz@njs.netlab.cz\" ,\"ahoj :) -- Sent by Sporky, don't answer here...\");\n\t}","title":""},{"docid":"3a5776f4901a6f31c96d1ae006db21ba","score":"0.59050906","text":"@OnMessage\n public void onMessage(String message) {\n try {\n //{\"collision\":\"true \",\"move\":\"...\"} or {\"sonarName\":\"sonar2\",\"distance\":19,\"axis\":\"x\"}\n //System.out.println(\" IssWsSupport | onMessage:\" + message);\n JSONObject jsonObj = new JSONObject(message);\n for (var observer : this.observers) {\n observer.accept(jsonObj);\n }\n\n } catch (Exception e) {\n System.out.println(\" VirtualRobotWS | onMessage ERROR \" + e.getMessage());\n\n }\n }","title":""},{"docid":"5d01cfb130e35fd86d400414a0f143c0","score":"0.5901218","text":"@Override\n public void onPreMessageSent() {\n }","title":""},{"docid":"569def1054c0998db047da34e66e9bb5","score":"0.5895207","text":"protected abstract void onReceivedTextFrame(final HttpEvent event, final WebSocket socket) throws IOException;","title":""},{"docid":"15d3791ddb962d19cfb4ac086e03ea5c","score":"0.5891719","text":"@Override\n public void handleMessage(Message msg) {\n if (msg.replyTo != null) {\n mClient = msg.replyTo;\n return;\n }\n\n // Perform traditional checks\n Bundle bundle = msg.getData();\n switch (msg.what) {\n case EVENT_ESTABLISH_CONNECTION: {\n try {\n String ipAddr = bundle.getString(\"ipAddr\");\n InetAddress addr = InetAddress.getByName(ipAddr);\n int port = bundle.getInt(\"port\");\n\n establishConnection(addr, port);\n } catch (UnknownHostException e) {\n e.printStackTrace();\n\n Message reply = Message.obtain();\n reply.what = EVENT_CONNECTION_FAILURE;\n\n try {\n mClient.send(reply);\n } catch (RemoteException f) {\n f.printStackTrace();\n }\n }\n break;\n }\n case EVENT_INITIATE_TEST: {\n try {\n OutputStream os = mSocket.getOutputStream();\n byte eventKey = '1';\n byte[] payload = {eventKey};\n os.write(payload);\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n }\n case EVENT_CONTROL: {\n mLift = bundle.getFloat(\"lift\");\n mRoll = bundle.getFloat(\"roll\");\n mPitch = bundle.getFloat(\"pitch\");\n mYaw = bundle.getFloat(\"yaw\");\n break;\n }\n case EVENT_REQUEST_DISCONNECT: {\n disconnect();\n break;\n }\n case EVENT_TAKEOFF: {\n // Signal to the reporting thread to send a takeoff request on the next loop\n mReportThreadAction = ReportTimer.ACTION_BEGIN_TAKEOFF;\n break;\n }\n case EVENT_END_TAKEOFF: {\n // Signal to the reporting thread to send a takeoff-arrest request on the next\n // loop\n mReportThreadAction = ReportTimer.ACTION_END_TAKEOFF;\n break;\n }\n }\n }","title":""},{"docid":"e9d7dfa5908cd5b272d1584df363ccc8","score":"0.5882935","text":"@OnMessage\n public void onMessage(String message, Session userSession) {\n User user;\n user = (User) httpSession.getAttribute(ATT_SESSION);\n String Sender = user.getPhoneNumber();\n if (Sender == null) return;\n List phoneNumbersConversation = conversation.getPhoneNumber();\n String destinationPhoneNumber = \"\";\n for (String phoneNumber : phoneNumbersConversation)\n if (!phoneNumber.equals(Sender)) destinationPhoneNumber = phoneNumber;\n for (Session session : userSession.getOpenSessions()) {\n if (session.isOpen() && conversation.getId().equals(session.getUserProperties().get(\"conversationId\"))) {\n String json = \"{\"\n + \"\\\"phone\\\":\" + \"\\\"\" + user.getPhoneNumber() + \"\\\",\"\n + \"\\\"sms\\\":\" + \"\\\"\" + message + \"\\\"\"\n + \"}\";\n session.getAsyncRemote().sendText(json);\n }\n }\n smsService.sendMessage(message, destinationPhoneNumber, user.getPhoneNumber());\n }","title":""},{"docid":"a7f691ddae860f57fd433fd61a0c6a56","score":"0.587373","text":"@OnWebSocketConnect\n public void handleConnect(Session session) {\n System.out.println(\"StreetViewWebSocketServlet Connect number of users is =\" + Integer.toString(users.size()));\n this.session = session;\n\t\tusers.add(this);\n\t\tStringBuilder theBuilder = new StringBuilder(\"model:\");\n\t\tString stringifiedModel = theModel.asJSONObject().toString();\n\t\ttheBuilder.append(stringifiedModel);\n\t\t\n\t\tif(users.size() == 1){\n\t\t\tthis.send(\"is_leader:\");\t\t\t\n\t\t} else {\n\t\t\tif(users.size() > 1){\n\t\t\t\tthis.send(theBuilder.toString());\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"e35d5e95f6bf607a8ed58aac55163f55","score":"0.58684784","text":"@Override\r\n public void handleMessage(android.os.Message msg){\r\n }","title":""},{"docid":"7177af2cd86eef634b831aef71a3be37","score":"0.58630735","text":"public void handleMessage(Message msg) {\n \t}","title":""},{"docid":"c985112aa59c536312de2de157637a7e","score":"0.58527577","text":"protected void messageReceived(SessionMessage msg, Member sender) {\n \t\n \tClassLoader contextLoader = Thread.currentThread().getContextClassLoader();\n \t\n \ttry {\n \t\tClassLoader[] loaders = getClassLoaders();\n \t\tif ( loaders != null && loaders.length > 0) \n \t\t\tThread.currentThread().setContextClassLoader(loaders[0]);\n \t\t\n \t\tswitch (msg.getEventType()) {\n \t\t\tcase SessionMessage.EVT_SESSION_CREATED: {\n \t\t\t\thandleSESSION_CREATED(msg,sender);\n \t\t\t\tbreak;\n \t\t\t}\n \t\t\tcase SessionMessage.EVT_SESSION_EXPIRED: {\n \t\t\t\t//...\n break;\n }\n \t\t\t\n \t\t\tcase SessionMessage.EVT_GET_ALL_SESSIONS: {\n handleGET_ALL_SESSIONS(msg,sender);\n break;\n }\n \t\t\t\n \t\t\tcase SessionMessage.EVT_ALL_SESSION_DATA: {\n handleALL_SESSION_DATA(msg,sender);\n break;\n }\n \t\t\t\n \t\t\tdefault: {\n //we didn't recognize the message type, do nothing\n break;\n }\n \t\t}\n \t}\n \tcatch (Exception x) {\n \t\t\n \t}\n \tfinally {\n Thread.currentThread().setContextClassLoader(contextLoader);\n }\n \t\n \t\n }","title":""},{"docid":"42513fcc823b16d2d018e37ad9029a89","score":"0.58468336","text":"@Override\r\n protected void handleTextMessage(WebSocketSession session, TextMessage message) throws Exception {\r\n LOG.info(\"handleTextMessage : {}\", message.getPayload());\r\n\r\n final SessionMessage sessionMessage = WebSocketUtils.getObject(message.getPayload());\r\n final String targetMessage = WebSocketUtils.getString(sessionMessage);\r\n TextMessage data = new TextMessage(targetMessage);\r\n\r\n webSocketService.handlerMessage(session, message);\r\n }","title":""},{"docid":"911920cecc2f246e0dad962ea04f9fa6","score":"0.5839836","text":"@Override\n\t\tpublic synchronized void handleMessage(Message msg) {\n\n\t\t\tswitch(msg.what){\n\t\t\t//--------------通用消息-------------------------//\n\t\t\tcase TEACHEREXIST:// 教师端存在,如果没有被初始化,向教师端请求信息\n\t\t\t\t//设置连接状态\n\t\t\t\tif(!initialed){//未初始化,请求初始化信息\n\t\t\t\t\t\t//设置教师端IP\n\t\t\t\t\t\tif(ServerIP == null){\n\t\t\t\t\t\t\tServerIP = msg.getData().getString(\"ServerIP\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tus.SetIP(ServerIP);\n\t\t\t\t\t\t//发送学生信息请求\n\t\t\t\t\t\ttagCommandCode tcmd = new tagCommandCode(\" \",\" \",\" \");//否则为null!!!\n\t\t\t\t\t\ttcmd.SetCmdID(GETSTUINFO);\n\t\t\t\t\t\tus.SendMsg(tcmd.toByteArray());\n\t\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"GETSTUINFO\");\n\t\t\t\t\t\ttcmd.SetCmdID(LOGIN);// 在线ID\n\t\t\t\t\t\tus.SendMsg(tcmd.toByteArray());// 发送消息\n\t\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"Not Initialed\");\n\t\t\t\t}else {\n\t\t\t\t\tif(!connected){//发生改变时才操作\n\t\t\t\t\t\tconnected = true;\n\t\t\t\t\t\tpbLandlight.setImageResource(R.drawable.green);//设置为在线\n\t\t\t\t\t\tLog.i(\"LandLight========>\",\"Online!!!\");\n\t\t\t\t\t\t}\n\t\t\t\t\tif(ServerIP == null){\n\t\t\t\t\t\tServerIP = msg.getData().getString(\"ServerIP\");\n\t\t\t\t\t}\n\t\t\t\t\tcmd.SetCmdID(GETSTUINFO);\n\t\t\t\t\tus.SendMsg(cmd.toByteArray());\n\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"GETSTUINFO\");\n\t\t\t\t\tus.SetIP(ServerIP);\n\t\t\t\t\tcmd.SetCmdID(LOGIN);// 在线ID\n\t\t\t\t\tus.SendMsg(cmd.toByteArray());// 发送消息\n\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"Connected & Initialed\");\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ACCEPT://与教师端连接,初始化系统参数\n\t\t\tcase GETSTUINFO_RETURN://获得学生信息\n\t\t\t\tif (!popup.isShowing() || !popupStuWindow.isShowing() || !popupRecordListWindow.isShowing() || !popupRecordWindow.isShowing()) {\n\t\t\t\tboolean state = true;\n\t\t\t\tswitch(new tagCommandStream(msg.getData().getByteArray(\"data\")).toCode().iReserver[80]){\n\t\t\t\tcase -1://正常状态\n\t\t\t\t\tbreak;\n\t\t\t\tcase 0:\n\t\t\t\t\tstate = true;\n\t\t\t\t\ttvState.setText(\"待命\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tstate = true;\n\t\t\t\t\ttvState.setText(\"广播音频\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tstate = true;\n\t\t\t\t\ttvState.setText(\"全通话\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 14:\n\t\t\t\t\tstate = false;\n\t\t\t\t\ttvState.setText(\"自主学习\");\n\t\t\t\tcase 15:\n\t\t\t\t\tstate = false;\n\t\t\t\t\ttvState.setText(\"下课\");//???\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tStateChange(state);\n\t\t\t\t}\n\t\t\t\tLog.i(\"ActivityInfo---ACCEPT===>\", \"Initialed!\");\n\t\t\t\t//初始化命令\n\t\t\t\ttagCommandCode tcmd = new tagCommandCode(msg.getData().getByteArray(\"data\"));\n\t\t\t\t//初始化信息\n\t\t\t\tString StrLocalIP = getLocalIpAddress();//本地IP\n\t\t\t\tString subIP = StrLocalIP.substring(0, StrLocalIP.lastIndexOf(\".\")+1);//网段\n\t\t\t\t\n\t\t\t\tString StrName; \n\t\t\t\tif(tcmd.strName!= null){\n\t\t\t\t\tStrName = tcmd.strName;//学生姓名\n\t\t\t\t}else StrName =\"STU\"+StrLocalIP.substring(StrLocalIP.lastIndexOf(\".\"),StrLocalIP.length());\n\t\t\t\t\n\t\t\t\tif(ServerIP==null){\n\t\t\t\t\tServerIP = msg.getData().getString(\"ServerIP\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//显示到界面\n\t\t\t\ttvIP.setText(StrLocalIP);\n\t\t\t\ttvName.setText(StrName);\n\t\t\t\tString strSeat = \"A1\";\n\t\t\t\t\n\t\t\t\t//写入\n\t\t\t\tif(cmd == null){\n\t\t\t\t\tcmd = new tagCommandCode(StrLocalIP,strSeat,StrName,subIP);//座位号!!!\n\t\t\t\t}else{\n\t\t\t\t\tcmd.strIP = StrLocalIP;\n\t\t\t\t\tcmd.strName = StrName;\n\t\t\t\t\tcmd.subIP = subIP;\n\t\t\t\t\tcmd.strSeat = strSeat;\n\t\t\t\t} \n\t\t\t\tUserInfo mycmd = ((UserInfo) getApplicationContext());\n\t\t\t\tmycmd.getInstant(cmd);\n\t\t\t\tmycmd.setIP(ServerIP);\n\t\t\t\t//标记位\n\t\t\t\tinitialed = true;\n\t\t\t\tconnected = true;\n\t\t\t\tpbLandlight.setImageResource(R.drawable.green);//设置为在线\n\t\t\t\tbreak;\n\t\t\tcase TIMEOUTCONNECTION://掉线\n//\t\t\t\t//设置连接显示\n//\t\t\t\tif (!initialed || connected) {\n\t\t\t\t\tStateChange(false);\n\t\t\t\t\tunconnected();\n\t\t\t\t\tconnected = false;\n\t\t\t\t\ttvState.setText(\"待命\");\n//\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase CLEARRAISEHAND:\n\t\t\t\tHand.setImageResource(R.drawable.hand_on);\n\t\t\t\tbHandup = false;\n\t\t\t\tbreak;\n\t\t\tcase ENABLERAISEHAND:\n\t\t\t\tHand.setEnabled(true);\n\t\t\t\tHand.setImageResource(R.drawable.hand_on);\n\t\t\t\tbHandup = false;\n\t\t\t\tbreak;\n\t\t\tcase DISRAISEHAND:\n\t\t\t\tHand.setEnabled(false);\n\t\t\t\tHand.setImageResource(R.drawable.hand_disable);\n\t\t\t\tbHandup = false;\n\t\t\t\tbreak;\n\t\t\tcase SETVOLUME://老师调节音量\n\t\t\t\ttagCommandCode t = new tagCommandCode(msg.getData().getByteArray(\"data\"));\n\t\t\t\tseekBar.setProgress(t.iReserver[0]);\n\t\t\t\taudioManager.setStreamVolume(AudioManager.STREAM_MUSIC,t.iReserver[0], 0);\n\t\t\t\tbreak;\n\t\t\tcase NOTIFY:\n\t\t\t\t byte[] Note = new byte[480];\n\t\t\t\t System.arraycopy(msg.getData().getByteArray(\"data\"), DATALONG-480, Note, 0, 480);\n\t\t\t\tAlertDialog.Builder NotifyDialog= new AlertDialog.Builder(ClassTeachActivity.this);\n\t\t\t\ttry {\n\t\t\t\tNotifyDialog.setTitle(\"通知\").setMessage(new String(Note,\"GBK\"))\n\t\t\t\t.setCancelable(false)\n\t\t\t\t.setNegativeButton(\"关闭\", new DialogInterface.OnClickListener() { \n\t\t\t\t public void onClick(DialogInterface dialog, int id) { \n\t\t\t\t dialog.cancel(); \n\t\t\t\t } \n\t\t\t\t }).create().show();\n\t\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t break;\n\t\t\tcase CLASSRESUME://上课--跟读可用,录音等待命令,默认不允许,上课置灰\n\t\t\tcase SELFSTUDYOFF://取消自助学习-同上课\n\t\t\t\tStateChange(true);\n\t\t\t\tbreak;\n\t\t\tcase CLASSOVER://下课--同自主学习\n\t\t\tcase SELFSTUDYON://自主学习-全部允许,掉线也是自主学习\n\t\t\t\tStateChange(false);\n\t\t\t\tbreak;\n\t\t\tcase WARNING:\n\t\t\t\tWarnDialog.show();\n\t\t\t\tbreak;\n\t\t\tcase LOCK:\n\t\t\t\tLockDialog.show();\n\t\t\t\tbreak;\n\t\t\tcase UNLOCK:\n\t\t\t\tLockDialog.cancel();\n\t\t\t\tbreak;\n\t\t\t//---------------自有消息----------------------//\n\t\t\tcase BROADCASTSOUNDCARD:// 广播音频\n\t\t\t\ttvState.setText(\"广播音频\");\n\t\t\t\tbreak;\n\t\t\tcase BROADCASTMIC:// 全通话\n\t\t\t\ttvState.setText(\"全通话\");\n\t\t\t\tbreak;\n\t\t\tcase TALKTOONE:// 个别通话\n\t\t\t\ttvState.setText(\"个别通话\");\n\t\t\t\tbreak;\n\t\t\tcase DEMONSTRATE://示范学生列表\n\t\t\t\tListFill(msg.getData().getByteArray(\"data\"));\n\t\t\t\tbreak;\n\t\t\tcase STOPTALKTOONE:\n\t\t\tcase STOPBROADCASTMIC:\n\t\t\tcase CLOSEBROADCASTAUDIO:\n\t\t\t\tboolean state1 = true;\n\t\t\t\tswitch(new tagCommandStream(msg.getData().getByteArray(\"data\")).toCode().iReserver[80]){\n\t\t\t\tcase -1://正常状态\n\t\t\t\t\tbreak;\n\t\t\t\tcase 0:\n\t\t\t\t\tstate1 = true;\n\t\t\t\t\ttvState.setText(\"待命\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tstate1 = true;\n\t\t\t\t\ttvState.setText(\"广播音频\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tstate1 = true;\n\t\t\t\t\ttvState.setText(\"全通话\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 14:\n\t\t\t\t\tstate1 = false;\n\t\t\t\t\ttvState.setText(\"自主学习\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 15:\n\t\t\t\t\tstate1 = false;\n\t\t\t\t\ttvState.setText(\"下课\");//???\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tStateChange(state1);\n\t\t\t\tbreak;\n\t\t\tcase STOPDEMONSTRATE:\n\t\t\t\tpopup.dismiss();\n\t\t\t\tbreak;\n\t\t\tcase SPEAKFALSE:\n\t\t\t\tSpannableString ss = new SpannableString(\"系统提示:自由讨论组已满.\");\n\t\t\t\tss.setSpan(new ForegroundColorSpan(Color.RED), 0, ss.length(),Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);\n\t\t\t\ttvStuInfo.append(ss);\n\t\t\t\tsView.pageScroll(View.FOCUS_DOWN);\n\t\t\t\tbreak;\n\t\t\tcase SPEAKOK://加入讨论\n\t\t\t\tloadpopupSt(msg.getData().getByteArray(\"data\"),false);\n\t\t\t\tbreak;\n\t\t\tcase SPEAKCANCELOK://退出讨论\n\t\t\t\tloadpopupSt(msg.getData().getByteArray(\"data\"), true);\n\t\t\t\tbreak;\n\t\t\tcase SPEAKON://开始分组讨论\n\t\t\t\ttvState.setText(\"自由讨论\");\n\t\t\t\tif (!popupStuWindow.isShowing())\n\t\t\t\tpopupStuWindow.showAtLocation(findViewById(R.id.background_center_layout), \n\t\t\t\t\t\tGravity.TOP|Gravity.LEFT, 50, 0);\n\t\t\t\tLog.i(\"show\", \"speakon\");\n\t\t\t\tbreak;\n\t\t\tcase SPEAKOFF:\n\t\t\t\tstlist.clear();\n\t\t\t\tstAdapter.notifyDataSetChanged();\n\t\t\t\ttvStuInfo.setText(\"\");\n\t\t\t\tOKButtonStu.setEnabled(true);\n\t\t\t\tCancleButton.setEnabled(false);\n\t\t\t\tif (popupStuWindow.isShowing())\n\t\t\t\tpopupStuWindow.dismiss();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}","title":""},{"docid":"0e5b16131b8ac31ab8212eb5a4804192","score":"0.583306","text":"@Override\r\n\tprotected void handleBinaryMessage(WebSocketSession arg0, BinaryMessage arg1) {\n\t\tsuper.handleBinaryMessage(arg0, arg1);\r\n\t}","title":""},{"docid":"acc9933b0ad676acb424c35423480ab8","score":"0.5831328","text":"@Override\r\n\t\tpublic void handleMessage(Message msg) {\n\t\t}","title":""},{"docid":"1507dee9f8443c9179b98b947e408e60","score":"0.5831062","text":"public void messageReceived(Serializable message);","title":""},{"docid":"a7c95c96cd9fdfbd9a31bc005a11567f","score":"0.58285916","text":"@Override\n public void onMessageReceived(RemoteMessage message) {\n /**\n * Our Node.js server adds the message body to the remote message data so that we can retrieve\n * it an show a simple notification as we want.\n *\n * Notification resource parameters are mapped as follows:\n * Body --> twi_body\n * Title --> twi_title\n * Sound --> twi_sound\n * Action --> twi_action\n */\n String from = message.getFrom();\n Map data = message.getData();\n String body = data.get(\"twi_body\");\n String title = data.get(\"twi_title\");\n Log.d(TAG, \"From: \" + from);\n Log.d(TAG, \"Body: \" + body);\n\n // [START_EXCLUDE]\n /**\n * Production applications would usually process the message here.\n * Eg: - Syncing with server.\n * - Store message in local database.\n * - Update UI.\n */\n\n /**\n * In some cases it may be useful to show a notification indicating to the user\n * that a message was received.\n */\n sendNotification(title, body);\n // [END_EXCLUDE]\n }","title":""},{"docid":"758804a1478a6931f93343c4f9eb8c0a","score":"0.58274126","text":"public void onMessage(WebSocket ws, String message) {\n\t\tLog.d(\"WebSocket\", \"onMessage: \" + message);\n\t\t// Call JS an notify of onMessage\n\t\tmessage = message.replace(\"\\\"\", \"\\\\\\\"\");\n\t\tthis.executeJS(\"window.WebSocket.onMessage(\\\"\" + ws.getId() + \"\\\", \\\"\"\n\t\t\t\t+ message + \"\\\")\");\n\t}","title":""},{"docid":"1f79e044e9e9bcc26168d0daa92bf22b","score":"0.5826589","text":"@EventListener\n public void handleWebSocketSubscribeListener(SessionSubscribeEvent event) {\n StompHeaderAccessor headerAccessor = StompHeaderAccessor.wrap(event.getMessage());\n MessageHeaders messageHeaders = headerAccessor.getMessageHeaders();\n Principal user = headerAccessor.getUser();\n String simpDestination = (String) messageHeaders.get(\"simpDestination\");\n LOGGER.info(\"WebSocket Server Get A New Client Subscriber, Username: {}, Destination: {}\", user.getName(), simpDestination);\n }","title":""},{"docid":"f32c26b421e4cc5522dafc7b73b48d18","score":"0.5819634","text":"public void onDataReceived(ConnectionClient client,Object data);","title":""},{"docid":"6767b941bd33f55ace6cc8fb2fc18146","score":"0.5803948","text":"@EventListener\n public void handleWebSocketConnectListener(SessionConnectedEvent event) {\n StompHeaderAccessor headerAccessor = StompHeaderAccessor.wrap(event.getMessage());\n Principal user = headerAccessor.getUser();\n\n LOGGER.info(\"WebSocket Server Create A New Connect, Username: {}\", user.getName());\n LOGGER.info(\"WebSocket Server Current Online User Count: {}\", userRegistry.getUserCount() + 1);\n }","title":""},{"docid":"35027c0e68a7423d4cf281dc4ff75ed7","score":"0.58000416","text":"private static void onMessage(final String uuid, final WebSocket.In in, final WebSocket.Out out) {\n\t in.onMessage(new Callback() {\n\t public void invoke(JsonNode event) {\n\t \tOnlineGame onlineGame = getOnlineGame(uuid);\n\t \tGameController controller = onlineGame.getController();\n\t \tObjectNode status = Json.newObject();\n\t \t\t \t \n\t \t/* new single player game */\n\t \tif (null != event.findPath(\"newSinglePlayerGame\").textValue()) {\n\t \t\t/* remove the own uuid, if a game is already open with this uuid */\n\t \t\topenGames.remove(uuid);\n\t \t\tSystem.out.println(\"newSinglePlayerGame\");\n\t \t\tonlineGame = getNewOnlineGame(uuid);\n\t \t\tSystem.out.println(\"1\");\n\t \t\tonlineGame.getController().newController(Constances.DEFAULT_ROWS, Constances.DEFAULT_COLUMNS, GameContent.HUMAN_PLAYER_1, GameContent.AI_PLAYER_1_EASY, GameContent.SINGLEPLAYER);\n\t \t\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n\t \t\tSystem.out.println(\"2\");\n\t \t\tstatus.put(\"player\", onlineGame.getPlayer());\n\t \t\tstatus.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n\t \tstatus.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n\t \tSystem.out.println(\"3\");\n\t \t\t\tout.write(status);\n\t \t\t\tSystem.out.println(\"4\");\n\t \t\tonlineGame.getController().startGame();\n\t \t\tSystem.out.println(\"5\");\n\t \t\t\treturn;\n\t \t}\n\t \t\n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"newMultiPlayerGame\").textValue()) {\n\t \t\t/* remove the own uuid, if a game is already open with this uuid */\n\t \t\topenGames.remove(uuid);\n\t \t\t/* check if a game is already open, than join the game */\n\t \t\tif (0 < openGames.size()) {\n\t \t\t\tSystem.out.println(\"JOIN MultiPlayerGame\");\t\n\t\t \t\tonlineGame = joinOnlineGame(openGames.get(0), uuid);\n\t\t \t\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n\t\t \t\tstatus.put(\"player\", onlineGame.getPlayer());\n\t\t \t\tstatus.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \tstatus.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \t\t\tout.write(status);\n\t\t \t\tonlineGame.getController().startGame();\n\t\t \t\t\treturn;\n\t \t\t} else {\n\t\t \t\tSystem.out.println(\"newMultiPlayerGame\");\n\t\t \t\topenGames.add(uuid);\n\t\t \t\tonlineGame = getNewOnlineGame(uuid);\n\t\t \t\tonlineGame.getController().newController(Constances.DEFAULT_ROWS, Constances.DEFAULT_COLUMNS, GameContent.HUMAN_PLAYER_1, GameContent.HUMAN_PLAYER_2, GameContent.MULTIPLAYER);\n\t\t \t\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n\t\t \t\tstatus.put(\"player\", onlineGame.getPlayer());\n\t\t \t\tstatus.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \tstatus.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \t\t\tout.write(status);\n\t\t \t\t\treturn;\n\t \t\t}\n\t \t}\n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"saveGame\").textValue()) {\n if (null == controller) {\n status.put(\"saveGameError\", \"No Game to save.\");\n out.write(status);\n return;\n } else {\n onlineGame.getController().saveGame(event.findPath(\"saveGame\").textValue());\n if (controller.getStatus().errorExist()) {\n status.put(\"saveGameError\", controller.getStatus().getError());\n out.write(status);\n controller.getStatus().clearError();\n } else {\n status.put(\"saveGameSuccess\", \"Game successfully saved.\");\n out.write(status);\n }\n return;\n }\n }\n \n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"loadGame\").textValue()) {\n if (null == controller) {\n onlineGame = getNewOnlineGame(uuid);\n onlineGame.getController().loadGame(event.findPath(\"loadGame\").textValue());\n onlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n status.put(\"player\", onlineGame.getPlayer());\n status.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n status.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n out.write(status);\n onlineGame.getController().startGame();\n return;\n } else {\n onlineGame.getController().loadGame(event.findPath(\"loadGame\").textValue());\n onlineGame.getController().startGame();\n return;\n }\n }\n \n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"getHighscore\").textValue()) {\n status.put(\"highscore\", Game.newGameController().getHighscores());\n out.write(status);\n return;\n }\n\t \t\n\t \t/* get save game */\n\t \tif (null != event.findPath(\"getSavegames\").textValue()) {\n StringBuilder builder = new StringBuilder(\"
\");\n status.put(\"getSavegames\", builder.toString());\n out.write(status);\n return;\n }\n \n\t \t/* check if no controller is ready */\n\t \tif (null == controller) {\n\t \t\tstatus.put(\"info\", \"Create a new game to start with Battleship.\");\n\t \t\tout.write(status);\n\t \t\treturn;\n\t \t}\n \n\t \tif (controller.gameFinished()) {\n\t \t\t\tstatus.put(\"info\", \"Creating a new game is required.\");\n\t \t\t\tout.write(status);\n\t \t\t\treturn;\n\t \t}\n\t \t\n\t \tif ((event.findPath(\"shootX\").canConvertToInt())\n\t \t &&(event.findPath(\"shootY\").canConvertToInt())) {\n\t \t\tSystem.out.println(\"shoot from \"+onlineGame.getPlayer());\n\t \t\tCoordinates target = new Coordinates(event.findPath(\"shootX\").asInt(), event.findPath(\"shootY\").asInt());\n\t \t\tcontroller.shoot(onlineGame.getPlayer(), target);\n\t \t\treturn;\n\t \t}\n\t \t\n\t\t\t\tstatus.put(\"error\", \"Illegal call to websocket.\");\n\t\t\t\tout.write(status);\n\t\t\t\treturn;\n\t \t\n\t }\n\t });\n }","title":""},{"docid":"cb618ced9474280263db91f26a4ba41a","score":"0.5781279","text":"@Override\n public void onMessageReceived(final RemoteMessage message) {\n if (message.getData().size() > 0) {\n // Handle message within 10 seconds\n Executor executor = Executors.newSingleThreadExecutor();\n\n FusedLocationProviderClient mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n\n if (checkSelfPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n mFusedLocationClient.getLastLocation()\n .addOnSuccessListener(executor, new OnSuccessListener() {\n @Override\n public void onSuccess(Location location) {\n // Got last known location. In some rare situations this can be null.\n Map data = message.getData();\n double latitude = Double.valueOf(data.get(\"latitude\"));\n double longitude = Double.valueOf(data.get(\"longitude\"));\n String user = data.get(\"user_id\");\n float[] results = new float[1];\n Location.distanceBetween(location.getLatitude(), location.getLongitude(),\n latitude, longitude, results);\n\n if (results[0] < 1000 && email != null && !email.equals(user)) {\n sendNotification(\"New event less than 1 km away!\");\n }\n }\n });\n }\n }\n }","title":""},{"docid":"6defb73b410f94e069fbbc0efcc87754","score":"0.5781147","text":"@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tswitch (msg.what) {\n\t\t\tcase 2:// token获取\n\t\t\t\tif (LoginUtil.login_handlered) {\n\t\t\t\t\tLoginUtil.login_handlered = false;\n\t\t\t\t\tmToken = sp.getString(\"mToken\", null);\n\t\t\t\t\tif (mToken != null) {\n\t\t\t\t\t\tgetType();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast.makeText(context, \"网络不佳,请稍后再试\",\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tnew Timer().schedule(new TimerTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tMessage msg_loop = handler.obtainMessage();\n\t\t\t\t\t\t\tmsg_loop.what = 2;\n\t\t\t\t\t\t\tmsg_loop.sendToTarget();\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 1000);\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}","title":""},{"docid":"75f9da5a546353de1b935e7d11766fab","score":"0.57755893","text":"@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tBundle b=msg.getData();\n\t\t\tboolean flag = b.getBoolean(\"sendTFlag\");\n\t\t\tLog.d(\"sendTflag\", \"\"+flag);\n\t\t\tif (true == flag) {\n\t\t\t\tIntent it = new Intent(ActivitySendTravel.this,\n\t\t\t\t\t\tActivityTravel.class);\n\t\t\t\tit.putExtra(\"u_id\", userId);\n\t\t\t\tActivitySendTravel.this.startActivity(it);\n\t\t\t\tToast.makeText(ActivitySendTravel.this, \"发送成功!\", Toast.LENGTH_SHORT).show();\n\t\t\t\tfinish();\n\t\t\t} else {\n\t\t\t\tToast.makeText(ActivitySendTravel.this, \"发送失败!\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t.show();\n\t\t\t}\n\t\t}","title":""},{"docid":"97f27324e3f7ed01b0c81ab94e9011a7","score":"0.5758111","text":"@OnMessage\n public void onMessage(String message, Session session, @PathParam(\"groupId\") Integer groupId) {\n try {\n if (session.getUserProperties().get(\"user\") == null) {\n if (!WebSocketUtil.authenticate(message, session)) {\n close(session, groupId);\n }\n }\n else {\n User u = (User)session.getUserProperties().get(\"user\");\n Message m = new Message(u.getID(), u.getFullName(), groupId, message);\n m.insertToDatabase();\n \tprocessMessage(m, groupId);\n }\n }\n catch (IOException ioe) {\n ioe.printStackTrace();\n close(session, groupId);\n }\n }","title":""},{"docid":"bc950816458674c3c02fd223530d1895","score":"0.5753638","text":"@Override\r\n\tpublic void onMessage(Message arg0) {\n\t\tSystem.out.println(\"message received:\" + arg0);\r\n\t\t\r\n\t}","title":""},{"docid":"cd32492e62e5aeac601003a413559e4c","score":"0.5749205","text":"@OnMessage\n public void onMessage(String message) {\n \tSystem.out.println(\"Client onMessage\");\n System.out.println(message);\n }","title":""},{"docid":"7ac5d2140fb7a59aafaaea80bd428c53","score":"0.5742868","text":"public void handleMessage(Message msg) {\n }","title":""},{"docid":"3850b1ce710e832c6cd469e4ea82b734","score":"0.5742406","text":"void onMessage(String message, Session session) throws Exception {\n handle(message, session);\n }","title":""},{"docid":"7d3f3ce231af8f6359153cf665b23c74","score":"0.57386404","text":"@Override\n\tpublic void onRealTimeMessageReceived(RealTimeMessage arg0) {\n\n\t}","title":""},{"docid":"6f7d45fbbc5782f0edd16bfb758e200d","score":"0.5725487","text":"@Override\n public void onMessage(String message) {\n\n\n if (message.contains(\"te\")) {\n\n onMessageTrade(message);\n\n }\n\n// } else if (!message.contains(\"te\") && !message.contains(\"hb\")) {\n// onMessageOther(message);\n//// } else if (message.contains(\"\\\"addChannel\\\",\\\"data\\\":{\\\"result\\\":true\")) {\n//// System.out.println(\"okex channel opened: \" + message);\n////// System.out.println(message);\n////// } else if (message.contains(\"liquidation\")) {\n//////// onMessageLiq(message);\n// } else {\n// onMessageOther(message);\n// }\n\n\n }","title":""},{"docid":"a00e3d0ee9f20c2ed6aa642694816104","score":"0.5725058","text":"@Override\n public void messageReceived(String message) {\n // Not used\n Log.i(TAG, \"Message is: \" + message);\n }","title":""},{"docid":"a7d4cd0645dac3eff5eb8a0ce25a955a","score":"0.5724397","text":"@Override\n\tpublic void handleMessage(Message msg) {\n\n\t}","title":""},{"docid":"3fcb9efa3d6481228111b6a5ff217036","score":"0.57223636","text":"@Override\n\tpublic void onMsgSendinEnd() {\n\n\t}","title":""}],"string":"[\n {\n \"docid\": \"f75aa5a678996dad5e91821fda54eb39\",\n \"score\": \"0.7141033\",\n \"text\": \"void onMessageReceived(String username, String data);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1f6f2da7705eae0d745211b414996bb\",\n \"score\": \"0.6784888\",\n \"text\": \"@Override\\n public void onMessage(WebSocket webSocket, ByteString bytes) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5c41afad8befbff0d37116a0210ce61\",\n \"score\": \"0.6765605\",\n \"text\": \"@Override\\n public void onMessage(WebSocket webSocket, String text) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83c0da0f79858c5856aa4b86a8cc5977\",\n \"score\": \"0.66707605\",\n \"text\": \"@OnWebSocketMessage\\n public void onMessage(Session session, String message) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fde6948fa47a90e349f441e2ae37ccd2\",\n \"score\": \"0.6538328\",\n \"text\": \"@Override\\r\\n public void onMessage(String message) {\\n Log.e(\\\"JWebSocketClient\\\", \\\"onMessage()\\\"+message);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c42d4b90f2f847de7135f6d266396b8\",\n \"score\": \"0.6456768\",\n \"text\": \"public void onMessage(Message message) {\\n\\t\\tObjectMessage tmsg = (ObjectMessage) message;\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tMessageClient mess= (MessageClient) tmsg.getObject();\\r\\n\\t\\t\\tSystem.out.println(mess.getType()+\\\" chatApp\\\");\\r\\n\\t\\t\\tUser user= new User();\\r\\n\\t\\t\\tuser.setUsername(mess.getUsername());\\r\\n\\t\\t\\tuser.setPassword(mess.getPassword());\\r\\n\\t\\t\\tif(mess.getType().equals(\\\"login\\\")){\\r\\n\\t\\t\\t\\taddUser(user);\\r\\n\\t\\t\\t}else if(mess.getType().equals(\\\"logout\\\")){\\r\\n\\t\\t\\t\\tremoveUser(user);\\r\\n\\t\\t\\t}\\r\\n\\t\\t} catch (JMSException e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ab5e986086bda1f961f777bdba39da7\",\n \"score\": \"0.63385785\",\n \"text\": \"@Override\\n\\tpublic void messageReceived(IoSession session, Object message)\\n\\t\\t\\tthrows Exception {\\n\\t\\tsuper.messageReceived(session, message);\\n\\t\\tlogger.debug(\\\"== messageReceived: \\\"+ message.toString());\\n\\t\\t\\n\\t\\t\\n\\t\\tsession.write(\\\"收到:\\\"+message.toString());\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecfe3826321c489bc11f8b908e6300ae\",\n \"score\": \"0.62979025\",\n \"text\": \"@OnMessage\\n\\tpublic void onMessage(String message) {\\n\\t\\ttry {\\n\\t\\t\\tthis.monWebSocketClient.recvMessage(message);\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f3f0ec15a82694bffe625457e975100\",\n \"score\": \"0.62957126\",\n \"text\": \"@OnWebSocketMessage\\n public void handleMessage(String message) {\\n \\t// if the message is a change of model update Model;\\n \\t// broadcast new model;\\n System.out.println(\\\"StreetViewWebSocketServlet Message:\\\" + message);\\n\\t\\t\\n theModel.updateModel(message);\\n \\n StringBuilder theBuilder = new StringBuilder(\\\"model:\\\");\\n\\t\\tString stringifiedModel = theModel.asJSONObject().toString();\\n\\t\\ttheBuilder.append(stringifiedModel);\\n\\n\\t\\tfor (int i = 1; i < users.size(); ++i) {\\n\\t users.get(i).send(theBuilder.toString());\\n\\t\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b2ca47df33ea0d4de33e90e9f716475\",\n \"score\": \"0.628889\",\n \"text\": \"@OnMessage\\r\\n\\tpublic void incoming(String message, @PathParam(\\\"path\\\") String path) throws Exception {\\n\\t\\t\\t\\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\\r\\n\\t\\t\\t\\tDocumentBuilder builder;\\r\\n\\t\\t\\t\\tbuilder = factory.newDocumentBuilder();\\r\\n\\t\\t\\t\\tStringReader sr = new StringReader(message);\\r\\n\\t\\t\\t\\tInputSource is = new InputSource(sr);\\r\\n\\t\\t\\t\\tDocument doc = builder.parse(is); //Invalid XML will crash here\\r\\n\\r\\n\\t\\t\\t\\t// get message type\\r\\n\\t\\t\\t\\tElement element = doc.getDocumentElement();\\r\\n\\t\\t\\t\\tString messageType = element.getAttribute(\\\"type\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//System.out.println(\\\"Received: \\\"+convertXMLtoString(element));\\r\\n\\r\\n\\t\\t\\t\\tString senderID = null; \\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Get the senderID and Client and link to this ChatAnnotation class\\r\\n\\t\\t\\t\\tsenderID = element.getAttribute(\\\"senderID\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//long startTime = System.nanoTime();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t//Moved these up for optimization, but it only gets like 1ms so idk\\r\\n\\t\\t\\r\\n\\t\\tif(messageType.equals(MessageType.UserClientAffirm)) {\\r\\n\\t\\t\\t//If a clientID is included, confirm it the userClient and send it\\r\\n\\t\\t\\t//Else create a new userClient\\r\\n\\t\\t//System.out.println(\\\"Time diff \\\"+(System.nanoTime()-startTime));\\r\\n\\t\\t\\t//Use senderID to find userClient and link userClient\\r\\n\\t\\t\\tif (senderID != \\\"\\\") {\\r\\n\\t\\t\\t\\tint userListSize = userList.size(); //set before for is run\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tfor (int i=0; i \\\"+ userClient.toString());\\r\\n\\t\\t\\t\\t\\t\\tsendXMLMessage(\\\"permIDConfirm\\\", userClient.permID);\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t/******************************************************\\r\\n\\t\\t\\t\\t\\t\\t * User had a verified Client, run reconnect script\\r\\n\\t\\t\\t\\t\\t\\t *********************************************************/\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n//\\t\\t\\t\\t\\t\\t//Reconnect for loginChat- is not Admin but has groupID \\r\\n//\\t\\t\\t\\t\\t\\tif (path.equals(\\\"loginChat\\\") && !userClient.isAdmin && userClient.groupID>0) {\\r\\n//\\t\\t\\t\\t\\t\\t\\t//place user back into group if removed- otherwise Session change fixes this\\r\\n//\\t\\t\\t\\t\\t\\t\\tuserClient.session = this.session; //change session early in case\\r\\n//\\t\\t\\t\\t\\t\\t\\tSet group = groupManager.getGroup(userClient.groupID);\\r\\n//\\t\\t\\t\\t\\t\\t\\tif (!group.contains(userClient))\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\tgroup.add(userClient); \\r\\n//\\r\\n//\\t\\t\\t\\t\\t\\t\\tsendChatHistory(userClient, 0, true); //send chatHistory\\r\\n//\\t\\t\\t\\t\\t\\t\\tsendXMLMessage(\\\"goToChat\\\", userClient.permID); //calls swapPanel on loginChatJS which when sent twice\\r\\n//\\t\\t\\t\\t\\t\\t\\t//sendXMLMessage(\\\"displayChat\\\", userClient.permID); //sends user to chat page\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\r\\n//\\t\\t\\t\\t\\t\\t\\tsendReconnectMessage(doc, userClient);\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\r\\n//\\t\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"User \\\"+userClient.IDString()+\\\" has successfully reconnected to loginChat.\\\");\\r\\n//\\t\\t\\t\\t\\t\\t} else if //adminMonitor- is admin and has adminMonitor Table (has logged in but not out)\\r\\n//\\t\\t\\t\\t\\t\\t\\t(path.equals(\\\"adminMonitor\\\") && userClient.isAdmin &&\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\tgroupManager.getAMStatus(userClient)!=null) {\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\r\\n//\\t\\t\\t\\t\\t\\t\\tuserClient.session = this.session; //refresh session\\r\\n//\\t\\t\\t\\t\\t\\t\\tsendAMStatus(groupManager.getAMStatus(userClient)); //client needs this to prepare the windows\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\r\\n//\\t\\t\\t\\t\\t\\t\\tint[] AMStatus = groupManager.getAMStatus(userClient);\\r\\n//\\t\\t\\t\\t\\t\\t\\tfor (int groupNo=0; groupNoGroupManager.AM_NONE){ //add to group\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\tgroupManager.getGroupByNo(groupNo).add(userClient);\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\tuserClient.groupID = groupManager.getGroupID(groupNo);\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\tsendChatHistory(userClient, 0, true);\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\tif (AMStatus[groupNo]==GroupManager.AM_CHAT)\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\tsendReconnectMessage(doc, userClient);\\r\\n//\\t\\t\\t\\t\\t\\t\\t}\\r\\n//\\t\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"AM User \\\"+userClient.IDString()+\\\" has reconnected to: \\\"+AMStatus);\\r\\n//\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}//end of for loop\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//if no userClient was found (and by default senderID is empty)\\r\\n\\t\\t\\tif (userClient==null) {\\r\\n\\t\\t\\t\\tif (senderID != \\\"\\\") {\\r\\n\\t\\t\\t\\t\\tSystem.out.print(\\\"Outdated PermID-\\\"+senderID+\\\" \\\");\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tthis.userClient = new Client(session.getId(), new SimpleDateFormat(\\\"-HHmmssSS\\\").format(serverStartTime) );\\r\\n\\t\\t\\t\\t//senderID = userClient.permID;\\r\\n\\t\\t\\t\\tSystem.out.println(\\\"AFFIRM permID: \\\"+userClient.permID+\\\" -> \\\"+ userClient.toString());\\r\\n\\t\\t\\t\\tuserList.add(this.userClient);\\r\\n\\t\\t\\t\\tsendXMLMessage(\\\"permIDSet\\\", userClient.permID);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tuserClient.sessionID = this.session.getId();\\r\\n\\t\\t\\tuserClient.session = this.session;\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t} //end of UserClientAffirm\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbbb6350213c4297ea6a6f82d017c7c3\",\n \"score\": \"0.6284878\",\n \"text\": \"@Override\\n public void accept(WebSocket webSocket) {\\n QbitServerMessageConsumer messageConsumer = new QbitServerMessageConsumer(webSocket);\\n webSocket.setTextMessageConsumer(messageConsumer);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a81473fc3d908686a840861e818fed52\",\n \"score\": \"0.6268593\",\n \"text\": \"@Override\\r\\n\\tpublic void OnAnyChatOnlineUserMessage(int dwUserNum, int dwRoomId) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"482352a9d383f3023f3d215aa46d6462\",\n \"score\": \"0.6262001\",\n \"text\": \"public abstract void onMessageReceived(Message message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08a32b914e417789b14f17259ec1e7b6\",\n \"score\": \"0.6258293\",\n \"text\": \"void onMessage(Message message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08a32b914e417789b14f17259ec1e7b6\",\n \"score\": \"0.6258293\",\n \"text\": \"void onMessage(Message message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"409672425d466f5c08ac4c7ba1e3cf82\",\n \"score\": \"0.6256705\",\n \"text\": \"@Override\\n protected void acceptReceived(SessionId clientSessionId) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68ad40a05e7f8e94e21fd27d85f78e3a\",\n \"score\": \"0.6250755\",\n \"text\": \"@Override\\n \\tpublic void messageArrived( final int userCode, final String msg, final int color )\\n \\t{\\n \\t\\tThread t = new Thread()\\n \\t\\t{\\n \\t\\t\\tpublic void run()\\n \\t\\t\\t{\\n \\t\\t\\t\\tif ( isAlive() )\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tint counter = 0;\\n \\n \\t\\t\\t\\t\\twhile ( wList.isWaitingUser( userCode ) && counter < 40 )\\n \\t\\t\\t\\t\\t{\\n \\t\\t\\t\\t\\t\\tcounter++;\\n \\n \\t\\t\\t\\t\\t\\ttry\\n \\t\\t\\t\\t\\t\\t{\\n \\t\\t\\t\\t\\t\\t\\tsleep( 50 );\\n \\t\\t\\t\\t\\t\\t}\\n \\n \\t\\t\\t\\t\\t\\tcatch ( InterruptedException e )\\n \\t\\t\\t\\t\\t\\t{\\n \\t\\t\\t\\t\\t\\t\\tlog.log( Level.SEVERE, e.getMessage(), e );\\n \\t\\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t}\\n \\n \\t\\t\\t\\tif ( !controller.isNewUser( userCode ) )\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tlistener.showUserMessage( msg, color );\\n \\t\\t\\t\\t}\\n \\n \\t\\t\\t\\telse\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tlog.log( Level.SEVERE, \\\"Could not find user: \\\" + userCode );\\n \\t\\t\\t\\t}\\n \\t\\t\\t}\\n \\t\\t};\\n \\n \\t\\tif ( controller.isNewUser( userCode ) )\\n \\t\\t{\\n \\t\\t\\twList.addWaitingUser( userCode );\\n \\t\\t\\tcontroller.sendExposeMessage();\\n \\t\\t\\tcontroller.sendGetTopicMessage();\\n \\n \\t\\t\\tt.start();\\n \\t\\t}\\n \\n \\t\\telse\\n \\t\\t\\tt.run();\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dff2001d077bdbde908aa674e1e3fd54\",\n \"score\": \"0.6235546\",\n \"text\": \"public void onMessage(String msg) {\\r\\n\\t\\tfinal String data = msg;\\r\\n\\t\\tLog.v(TAG, \\\"Received a message: \\\" + msg);\\r\\n\\t\\tappView.post(new Runnable() {\\r\\n\\t public void run() {\\t \\r\\n\\t appView.loadUrl(buildJavaScriptData(EVENT_ON_MESSAGE, data));\\r\\n\\t }\\r\\n\\t });\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb9c5f6de813dab769bd0761ae319c93\",\n \"score\": \"0.62230766\",\n \"text\": \"private void onMessageSent(String message) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdb3e435c1e2b8e3d2c644cfaf778c01\",\n \"score\": \"0.6205066\",\n \"text\": \"public void onMessage(byte[] data) {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7ff3dfad5abbb37eb77ed8c6d34467e\",\n \"score\": \"0.6168768\",\n \"text\": \"@Override\\n\\tpublic void fireReceiveMessage(Object message) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c283da5c0d8113579229aac2265bcfa2\",\n \"score\": \"0.6164079\",\n \"text\": \"@Override\\n\\t\\tpublic void onRecv() {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83f4bcf57002a737df3d2d667507a9a7\",\n \"score\": \"0.6164027\",\n \"text\": \"@Override\\n\\tpublic void onMessage(WebSocket p1, String p2) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"816c6dd2978f87301d610637038162e9\",\n \"score\": \"0.6149115\",\n \"text\": \"@OnMessage\\r\\n public void handleMessage(String message, Session session) {\\r\\n try {\\r\\n System.out.println(message);\\r\\n ObjectMapper objectMapper = new ObjectMapper();\\r\\n JsonMessage jsonMessage = objectMapper.readValue(message, JsonMessage.class);\\r\\n switch (jsonMessage.getAction()) {\\r\\n case \\\"addChatUser\\\":\\r\\n {\\r\\n String username = jsonMessage.getData()[0];\\r\\n String id = jsonMessage.getData()[1];\\r\\n User user = ActiveUsers.getUser(username);\\r\\n ChatRoom chatRoom = ActiveChatRooms.getChatRoom(id);\\r\\n JsonChatRoom jsonChatRoom = new JsonChatRoom(\\r\\n \\\"newChat\\\",\\r\\n chatRoom.getChatRoomID(),\\r\\n chatRoom.getUsernames(),\\r\\n chatRoom.getMessages()\\r\\n );\\r\\n String strSend = objectMapper.writeValueAsString(jsonChatRoom);\\r\\n user.sendMessage(strSend); \\r\\n chatRoom.addUser(user);\\r\\n String[] data = {username, id};\\r\\n JsonMessage send = new JsonMessage(\\r\\n \\\"addChatUser\\\",\\r\\n data\\r\\n );\\r\\n strSend = objectMapper.writeValueAsString(send);\\r\\n chatRoom.sendMessage(strSend);\\r\\n }\\r\\n case \\\"heartbeat\\\":\\r\\n {\\r\\n String username = jsonMessage.getData()[0];\\r\\n if (ActiveUsers.containsUser(username)){ \\r\\n ActiveUsers.getUser(username).resetTimer();\\r\\n } else {\\r\\n login(username, session);\\r\\n }\\r\\n break;\\r\\n }\\r\\n case \\\"login\\\":\\r\\n {\\r\\n String username = jsonMessage.getData()[0];\\r\\n login(username, session);\\r\\n break;\\r\\n }\\r\\n case \\\"logout\\\":\\r\\n {\\r\\n String username = jsonMessage.getData()[0];\\r\\n String[] IDs = ActiveChatRooms.removeUser(username);\\r\\n for (int i=0; i < IDs.length; i++){ \\r\\n removeChatUser(username, IDs[i]);\\r\\n } \\r\\n ActiveUsers.getUser(username).cancelTimer();\\r\\n ActiveUsers.removeUser(username);\\r\\n JsonMessage send = new JsonMessage(\\r\\n \\\"usernames\\\", \\r\\n ActiveUsers.getUsernames()\\r\\n );\\r\\n String strSend = objectMapper.writeValueAsString(send);\\r\\n ActiveUsers.broadcast(strSend);\\r\\n break;\\r\\n }\\r\\n case \\\"newChat\\\":\\r\\n {\\r\\n String username1 = jsonMessage.getData()[0];\\r\\n String username2 = jsonMessage.getData()[1];\\r\\n ChatRoom chatRoom = new ChatRoom(\\r\\n ActiveUsers.getUser(username1),\\r\\n ActiveUsers.getUser(username2)\\r\\n );\\r\\n ActiveChatRooms.addChatRoom(chatRoom.getChatRoomID(), chatRoom);\\r\\n JsonChatRoom jsonChatRoom = new JsonChatRoom(\\r\\n \\\"newChat\\\",\\r\\n chatRoom.getChatRoomID(),\\r\\n chatRoom.getUsernames(),\\r\\n chatRoom.getMessages()\\r\\n );\\r\\n String strSend = objectMapper.writeValueAsString(jsonChatRoom);\\r\\n chatRoom.sendMessage(strSend);\\r\\n break;\\r\\n }\\r\\n case \\\"removeChatUser\\\":\\r\\n {\\r\\n String username = jsonMessage.getData()[0];\\r\\n String id = jsonMessage.getData()[1];\\r\\n removeChatUser(username, id);\\r\\n break;\\r\\n }\\r\\n case \\\"sendMessage\\\":\\r\\n {\\r\\n String username = jsonMessage.getData()[0];\\r\\n String id = jsonMessage.getData()[1];\\r\\n String textMessage = jsonMessage.getData()[2];\\r\\n ChatRoom chatRoom = ActiveChatRooms.getChatRoom(id);\\r\\n chatRoom.addMessage(username + \\\": \\\" + textMessage);\\r\\n chatRoom.sendMessage(message);\\r\\n break;\\r\\n }\\r\\n default:\\r\\n Logger.getLogger(Controller.class.getName()).log(\\r\\n Level.WARNING, \\r\\n \\\"Received an unknown message action: {0}\\\", \\r\\n jsonMessage.getAction()\\r\\n );\\r\\n break;\\r\\n }\\r\\n } catch (IOException ex) {\\r\\n Logger.getLogger(Controller.class.getName()).log(Level.SEVERE, ex.getMessage(), ex); \\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5da4b3592c01f58391780eab89478a1\",\n \"score\": \"0.6144328\",\n \"text\": \"@OnMessage\\n public void receive(String message, Session session) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71e1e2cc9ae1a2061d497c996e898510\",\n \"score\": \"0.6139286\",\n \"text\": \"@Override\\n\\tpublic void onMessage(JSONObject message) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4a2ec3e13f16118a94043a26e081ca9\",\n \"score\": \"0.6134156\",\n \"text\": \"@Override\\n\\tpublic void handleTextMessage(WebSocketSession session, TextMessage message)\\n\\t\\t\\tthrows InterruptedException, IOException {\\n\\t\\tlogger.info(\\\"Receive a message from socket client:\\\" + message.getPayload());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8201931f5683d5603cc1e253253c6e53\",\n \"score\": \"0.6132251\",\n \"text\": \"public void onMessageReceived(M message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f2a8e7fa215d4b23525788132979d17\",\n \"score\": \"0.61163634\",\n \"text\": \"void messageReceived(String sender, String message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40c660a550bfeec64a51aad52f0a94ea\",\n \"score\": \"0.61110985\",\n \"text\": \"@Override\\n\\tpublic void messageReceived(Message msg) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4c20307593cd3288189c6f5917e3156\",\n \"score\": \"0.6110077\",\n \"text\": \"public void onMessage(String msg) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ced3650243255ca400df11da6360bfa9\",\n \"score\": \"0.61090106\",\n \"text\": \"@Override\\n public void onMessage( String event )\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aea3a3b5682f535c7f2d383f5d11bb48\",\n \"score\": \"0.6107369\",\n \"text\": \"public void onMessageReceived(Message message){\\n if (message.getUserId().equals(this.getName())){\\n return;\\n }\\n if (message instanceof ConnectMessage && !this.clientConnected) {\\n sendMessage(new ConnectAcknowledgeMessage(this.getUserId()));\\n onConnect(message.getUserId());\\n this.clientConnected = true;\\n } else {\\n onChatMessageReceived(message);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ba85d205014b9d8caf8af2d720d1611\",\n \"score\": \"0.60980123\",\n \"text\": \"@Override\\n protected void onTextMessage(CharBuffer message) throws IOException {\\n System.out.println(\\\"onTextMessage:\\\" + message);\\n try {\\n // NotificaBean notifica = new NotificaBean();\\n Map dataParsed = (Map) JSON.parse(message.toString());\\n System.out.println(\\\"Data JSON parsed:\\\" + dataParsed);\\n \\n TipoNotificacion tipoNotificacion = NotificaBean.getNotificacion(dataParsed.get(\\\"notificacion\\\").toString());\\n System.out.println(\\\"TipoNotificacion:\\\" + tipoNotificacion);\\n String msgTo = dataParsed.get(\\\"msgTo\\\").toString();\\n System.out.println(\\\"msgTo:\\\" + msgTo);\\n \\n if (\\\"*\\\".equals(msgTo)) {\\n Enumeration en = mapNotifica.keys();\\n String key;\\n while (en.hasMoreElements()) {\\n key = (String) en.nextElement();\\n System.out.println(\\\"enviando broadcast a:\\\" + key);\\n broadcastNotificaciones(tipoNotificacion, key);\\n\\n }\\n } else {\\n broadcastNotificaciones(tipoNotificacion, msgTo);\\n }\\n\\n } catch (Exception e) {\\n e.printStackTrace();\\n System.err.println(\\\"Sin poder parsear msg:\\\" + message + \\\" from:\\\" + nickname + \\\" causa:\\\" + e.getMessage());\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"486a8500c8ea02ae21aaf269e333eb93\",\n \"score\": \"0.6094109\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void handleMessage(Message msg) {\\r\\n\\t\\t\\tswitch (msg.what) {\\r\\n\\t\\t\\tcase MSG_REGISTER_CLIENT:\\r\\n\\t\\t\\t\\tUImessenger = msg.replyTo;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase MSG_UNREGISTER_CLIENT:\\r\\n\\t\\t\\t\\tUImessenger = null;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase MSG_SET_DATA_VALUE:\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tdefault:\\r\\n\\t\\t\\t\\tsuper.handleMessage(msg);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40a4d74be63ecd6b1b3ddf0075d352c0\",\n \"score\": \"0.6090189\",\n \"text\": \"@Override\\n \\tpublic void messageArrived( final int userCode, final String msg, final int color )\\n \\t{\\n \\t\\tThread t = new Thread()\\n \\t\\t{\\n \\t\\t\\tpublic void run()\\n \\t\\t\\t{\\n \\t\\t\\t\\tif ( isAlive() )\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tint counter = 0;\\n \\t\\t\\t\\t\\t\\n \\t\\t\\t\\t\\twhile ( wList.isWaitingUser( userCode ) && counter < 40 )\\n \\t\\t\\t\\t\\t{\\n \\t\\t\\t\\t\\t\\tcounter++;\\n \\t\\t\\t\\t\\t\\t\\n \\t\\t\\t\\t\\t\\ttry\\n \\t\\t\\t\\t\\t\\t{\\n \\t\\t\\t\\t\\t\\t\\tsleep( 50 );\\n \\t\\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\t\\t\\n \\t\\t\\t\\t\\t\\tcatch ( InterruptedException e )\\n \\t\\t\\t\\t\\t\\t{\\n \\t\\t\\t\\t\\t\\t\\tlog.log( Level.SEVERE, e.getMessage(), e );\\n \\t\\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\t\\n \\t\\t\\t\\tmainP.appendUserMessage( msg, color );\\n \\n \\t\\t\\t\\tif ( !gui.isVisible() && me.isAway() )\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tsysTray.setAwayActivityState();\\n \\t\\t\\t\\t}\\n \\n \\t\\t\\t\\telse if ( !gui.isVisible() )\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tsysTray.setNormalActivityState();\\n \\t\\t\\t\\t}\\n \\t\\t\\t}\\n \\t\\t};\\n \\t\\t\\n \\t\\tif ( controller.isNewUser( userCode ) )\\n \\t\\t{\\n \\t\\t\\twList.addWaitingUser( userCode );\\n \\t\\t\\tcontroller.sendExposeMessage();\\n \\t\\t\\tcontroller.sendGetTopicMessage();\\n \\t\\t\\t\\n \\t\\t\\tt.start();\\n \\t\\t}\\n \\n \\t\\telse\\n \\t\\t\\tt.run();\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1727481e92680a980e4efe759306e09\",\n \"score\": \"0.6082149\",\n \"text\": \"Messageable receiveMessage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c671a4df7c6cd3ac3c1cce64bfc9dd97\",\n \"score\": \"0.60700744\",\n \"text\": \"@Override\\n protected void onMessage(Context context, Intent intent) {\\n Log.i(TAG, \\\"Received message\\\");\\n /* String message = intent.getExtras().getString(\\\"price\\\");\\n\\n displayMessage(context, message);\\n */ // notifies user\\n\\n // dbHelper = new DBHelper(context);\\n myPreferences = new Preferences(context.getApplicationContext());\\n String str_msg = intent.getExtras().getString(\\\"message\\\");\\n\\n /* if (str_msg.contains(\\\"tamsonic\\\")) {\\n }*/\\n\\n /* Message message = Utility.getMessageFromString(str_msg);\\n\\n String from_id = message.getFrom_user_id();\\n String to_id = message.getTo_user_id();\\n\\n\\n message.setFrom_user_id(to_id);\\n message.setTo_user_id(from_id);\\n\\n\\n from_id = message.getFrom_user_id();\\n to_id = message.getTo_user_id();\\n\\n message.setMessage_type(String.valueOf(Message.RECEIVED));\\n\\n\\n String my_user_id = myPreferences.getUser().getUser_id();\\n\\n if (from_id.equalsIgnoreCase(my_user_id) || from_id.equalsIgnoreCase(\\\"0\\\")) {\\n\\n //checking same user login\\n\\n\\n if (ConversationFragment.isInside) {\\n message.setRead(Message.READ);\\n } else {\\n message.setRead(Message.UNREAD);\\n }\\n\\n\\n dbHelper.addMessage(message);\\n if (!ConversationFragment.isInside) {\\n try {\\n str_msg = URLDecoder.decode(str_msg, \\\"UTF-8\\\");\\n } catch (UnsupportedEncodingException e) {\\n e.printStackTrace();\\n }\\n generateNotification(context, str_msg);\\n } else {\\n Intent newMessageIntent = new Intent(\\\"new_message\\\");\\n newMessageIntent.putExtra(\\\"message\\\", str_msg);\\n sendBroadcast(newMessageIntent);\\n }\\n\\n } else {\\n Toast.makeText(context, \\\"msg came but different user\\\", Toast.LENGTH_SHORT).show();\\n }\\n*/\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e484262f6c66a07e8cffbfc596744ff\",\n \"score\": \"0.60541946\",\n \"text\": \"@Override\\r\\n\\tpublic void onMessage(String message) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"472a0e580f37bbdedad4799ee19503cb\",\n \"score\": \"0.6045742\",\n \"text\": \"public void processNewUser(){\\n\\t\\t\\n\\t\\tlog.debug(\\\"\\\");\\n\\t\\t\\n\\t\\tbuffer = message.getBuffer();\\n\\t\\tSwingUtilities.invokeLater(new Runnable() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tnetwork.newUser(buffer.getInt(), buffer.getInt());\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01df58624b7ccdfc274e9f7cc881e0cd\",\n \"score\": \"0.6044282\",\n \"text\": \"void onMessage(WampMessage message) {\\n if (currentState instanceof SessionEstablishedState)\\n ((SessionEstablishedState)currentState).onMessage(message);\\n else if (currentState instanceof HandshakingState)\\n ((HandshakingState)currentState).onMessage(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d16e460ee15bbe04e6236280e9faf235\",\n \"score\": \"0.6040477\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void handleMessage(Message msg) {\\n\\t\\t\\tsuper.handleMessage(msg);\\r\\n\\t\\t\\tswitch (msg.what) {\\r\\n\\t\\t\\tcase MessageID.MESSAGE_CHICK:\\r\\n//\\t\\t\\t\\tLogPrint.Print(\\\"message\\\",\\\"======chick message\\\");\\r\\n//\\t\\t\\t\\tif(UserUtil.userid != -1&&UserUtil.userState == 1){\\r\\n//\\t\\t\\t\\t\\tmConnectUtil = new ConnectUtil(MessageReceiveService.this, mHandler,0);\\r\\n//\\t\\t\\t\\t\\t//by lyb\\r\\n////\\t\\t\\t\\t\\tmConnectUtil.connect(URLUtil.URL_MESSAGE_GET+\\\"?oid=\\\"+UserUtil.userid, HttpThread.TYPE_PAGE, 0);\\r\\n//\\t\\t\\t\\t\\tmConnectUtil.connect(URLUtil.URL_MESSAGE_GET+\\\"?oid=\\\"+UserUtil.userid, HttpThread.TYPE_MESSAGE_GET, 0);\\r\\n//\\t\\t\\t\\t}\\r\\n//\\t\\t\\t\\tmHandler.sendEmptyMessageDelayed(MessageID.MESSAGE_CHICK, CHICK_TIME);\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase MessageID.MESSAGE_CONNECT_DOWNLOADOVER:\\r\\n//\\t\\t\\t\\tif(mConnectUtil!=null&&\\\"text/json\\\".equals(msg.getData().getString(\\\"content_type\\\"))){\\r\\n//\\t\\t\\t\\t\\tJson((byte[])msg.obj);\\r\\n//\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0f88d24e1be679245f00f3a57d9b471\",\n \"score\": \"0.6039488\",\n \"text\": \"void onMessage(String message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54f92f3e2d3b99ebf6a141ddab3c5bcb\",\n \"score\": \"0.6014909\",\n \"text\": \"public interface MessageHandler {\\n\\n\\n /**\\n * process the message from web socket server\\n * @param message\\n */\\n void handleMessage(String message);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66fdc15175745072faf2db331c436516\",\n \"score\": \"0.6010212\",\n \"text\": \"@Override\\n\\tpublic void personalMessageReceived(String arg0, String arg1) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09ee04753ca1ec0d1552857aa281564b\",\n \"score\": \"0.60099286\",\n \"text\": \"public void onMessage(AIMessage msg)\\n {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5f8a7289276bcc4222d1137ad23089e\",\n \"score\": \"0.60043436\",\n \"text\": \"@Override\\n public void onMessageSent() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af5cad5ffd78a18e1ff11e0cc9a86003\",\n \"score\": \"0.60019666\",\n \"text\": \"@Override\\n public boolean handleMessage(Message msg)\\n {\\n connection_callback(msg);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0994569145de9300457722b7cfc5081\",\n \"score\": \"0.5997233\",\n \"text\": \"public void onMessage(Message msg) {\\r\\n try {\\r\\n ObjectMessage objmsg = (ObjectMessage)msg;\\r\\n Video video = (Video)objmsg.getObject();\\r\\n String perp = msg.getStringProperty(\\\"SpudsCustomer\\\");\\r\\n System.out.println(\\\"Perpetrator \\\" + perp + \\\" requested video \\\" + video);\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"453afb8f102670443255b55370e824d9\",\n \"score\": \"0.599299\",\n \"text\": \"@Override\\n public void messageReceived(IoSession session, Object message) throws Exception {\\n LOG.warn(\\\"客户端收到消息:\\\" + message);\\n if (message.toString().equals(\\\"1111\\\")) {\\n //收到心跳包\\n LOG.warn(\\\"收到心跳包\\\");\\n session.write(\\\"1112\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1a9767cf9922329a28e8b99977bc9e2\",\n \"score\": \"0.59921986\",\n \"text\": \"@Override\\n public void onOpen(WebSocket webSocket, Response response) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ba542d465fc4aaedbaa9a3f872debc0\",\n \"score\": \"0.59754604\",\n \"text\": \"private void handleUser(final Socket userSocket) {\\n new Thread(new Runnable() {\\n public void run() {\\n ObjectInputStream oin = null;\\n ObjectOutputStream oout;\\n String[] SplitServerMessage;\\n String msg = \\\"\\\";\\n\\n try {\\n oin = new ObjectInputStream(userSocket.getInputStream());\\n oout = new ObjectOutputStream(userSocket.getOutputStream());\\n\\n while (oin != null) {\\n try {\\n msg = (String) oin.readObject();\\n SplitServerMessage = msg.split(\\\":\\\", 4);\\n String source = SplitServerMessage[0];\\n\\n if (source.equals(\\\"S\\\")) {\\n //L'expéditeur du message est un serveur\\n analyzeMessageSentByServer(msg, userSocket);\\n } else if (source.equals(\\\"C\\\")) {\\n //L'expéditeur du message est un client\\n if (sId == Integer.valueOf(serverMaster[0])) {\\n analyzeMessageSentByUser_Master(msg, userSocket, oout);\\n } else {\\n analyzeMessageSentByUser_NotMaster(msg, userSocket, oout);\\n }\\n } else if (source.equals(\\\"UPDATE\\\")) {\\n //Mise a jour des infos du serveur ressuscité;\\n handleMsgUpdateServer(oin);\\n } else if (source.equals(\\\"GAME\\\")) {\\n //Mise a jour d'une partie transmis par le serveur master\\n Game g = (Game) oin.readObject();\\n handleMsgGameServer(g);\\n } else {\\n System.out.println(\\\"Erreur : Message de type inconnu\\\");\\n }\\n } catch (OptionalDataException opt) {\\n // System.out.println(\\\" DATA OPTIONAL\\\");\\n }catch (ClassCastException cast){\\n // System.out.println(\\\" CAST STRING GAME\\\");\\n }\\n catch ( StreamCorruptedException stream){\\n // System.out.println(\\\" STREAM\\\");\\n }\\n\\n }\\n } catch (SocketException ex) {\\n if (socketBack.equals(userSocket)) {\\n //panne du serveur de derriere\\n try {\\n System.out.println(\\\"=>Détection mon voisin Back \\\" + neighborServerBehindMe[0] + \\\" à l'adresse \\\"\\n + neighborServerBehindMe[1] + \\\" sur le port \\\" + neighborServerBehindMe[2] + \\\" est mort\\\");\\n sendMessageNextServer(\\\"S:\\\" + neighborServerBehindMe[0] + \\\":\\\" + sId + \\\":DEAD\\\");\\n setServerDead(Integer.valueOf(neighborServerBehindMe[0]));\\n neighborServerBehindMe = whoIsMyNeighborBehindMe(sId);\\n serverMaster = electMaster();\\n } catch (IOException ei) {\\n //ei.printStackTrace();\\n }\\n } else if (userSocket != null && usersSocket.containsKey(userSocket)) {\\n //panne du client\\n String lastPseudo = usersSocket.get(userSocket);\\n if (lastPseudo != null) {\\n try {\\n sendMessageNextServer(\\\"C:\\\" + lastPseudo + \\\":DISCONNECT:\\\");\\n handleUserDead(lastPseudo, userSocket);\\n } catch (IOException e) {\\n //e.printStackTrace();\\n }\\n }\\n }\\n } catch (EOFException eo) {\\n String lastPseudo = usersSocket.get(userSocket);\\n if (lastPseudo != null) {\\n try {\\n sendMessageNextServer(\\\"C:\\\" + lastPseudo + \\\":DISCONNECT:\\\");\\n handleUserDead(lastPseudo, userSocket);\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n\\n }\\n }).start();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36b165e64a8db80f1a3e50d434b10b03\",\n \"score\": \"0.5974574\",\n \"text\": \"public synchronized void receivedFrame(ClockUsersAndTranslatorsFrame frame)\\r\\n\\t{\\r\\n\\t\\tif(frame.getReceiver()==this.getUserId() || frame.getReceiver()==Frame.BROADCAST)\\r\\n\\t\\t{\\r\\n\\t\\t\\tif(frame.getClockUsersAndTranslatorsMessageInFrame().getStringMessage().equals(\\\"Quelle heure est-il?\\\"))\\r\\n\\t\\t\\t\\tthis.sendFrame( new ClockUsersAndTranslatorsFrame(this.getUserId(),frame.getSender(),new ClockUsersAndTranslatorsMessage(this.getUserId(),frame.getSender(),\\\"Il est 8h00\\\")));\\r\\n\\t\\t\\telse\\r\\n\\t\\t\\t\\tthis.notifyEvent(new NotUnderstanbleRequestEvent(this.getSystemId(),frame.getSender()));\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cce68dd524adbd726939a7c11a1c5b5f\",\n \"score\": \"0.59703845\",\n \"text\": \"public void messageReceived (DeviceSocket socket, byte[] payload);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45f1497647422b9390343139d4f91f9f\",\n \"score\": \"0.59563416\",\n \"text\": \"void onReceive(Object msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b74738ebd511b984274a82a008c61054\",\n \"score\": \"0.5953182\",\n \"text\": \"@Override\\n\\t\\tpublic void handleMessage(Message msg) {\\n\\t\\t\\tswitch(msg.what)\\n\\t\\t\\t{\\n\\t\\t\\tcase 0:\\n\\t\\t\\t{\\n\\t\\t//\\t\\t webViewIsLoading = false;\\n \\t String s=\\\"Time out(10s)\\\\n\\\";\\n \\t webViewIsLoading = false;\\n \\t AutoTestResult.append(s);\\n\\t\\t\\t\\t Intent mIntent1 = new Intent(\\\"URLACK\\\");\\n\\t\\t\\t\\t mIntent1.putExtra(\\\"result\\\", \\\"DONE\\\"); \\n\\t\\t\\t\\t sendBroadcast(mIntent1);\\n\\t\\t\\t\\t \\n \\t}\\n\\t\\t\\tcase 1:\\n\\t\\t\\t{\\n\\t\\t\\t\\t AutoTestResult.append(\\\"start\\\\n\\\");\\n\\t\\t\\t}\\n break;\\n\\t\\t\\tcase 2:\\n\\t\\t\\t{\\n\\t\\t\\t\\t AutoTestResult.append(\\\"end\\\\n\\\");\\n\\t\\t\\t}\\n break;\\n default:\\n \\t break;\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8a767d9cac21c7e96ceae2cfc9380f1\",\n \"score\": \"0.5953004\",\n \"text\": \"@OnMessage\\r\\n public void onMessage(String message, Session session) \\r\\n throws IOException, InterruptedException {\\n session.getBasicRemote().sendText(\\\"Received: \\\" + message);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71c53398f80da2ea97c2edbf08b4fd21\",\n \"score\": \"0.5948544\",\n \"text\": \"@Override\\r\\n public void messageRecieved(AppEvent _event) {\\r\\n System.out.println(\\\"This module does not act on messages.\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"691aef3ed6392541b184ff5066684dff\",\n \"score\": \"0.5938133\",\n \"text\": \"public abstract void onChatMessageReceived(Message message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85c4382cb79ce417aa7e2da8fa6e9677\",\n \"score\": \"0.5936145\",\n \"text\": \"protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {\\n UserInfo req = (UserInfo) msg;\\n System.out.println(\\\"received from client: \\\" + req.toString());\\n\\n ctx.writeAndFlush(new String(\\\"accepted\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0095db3b1a581050f56bd2a15df5795e\",\n \"score\": \"0.59350187\",\n \"text\": \"@Override\\n\\t\\tpublic void handleMessage(Message msg) {\\n\\t\\t\\tsuper.handleMessage(msg);\\n\\t\\t\\tswitch (msg.what) {\\n\\t\\t\\tcase 2:// token获取\\n\\t\\t\\t\\tif (LoginUtil.login_handlered) {\\n\\t\\t\\t\\t\\tLoginUtil.login_handlered = false;\\n\\t\\t\\t\\t\\tmToken = sp.getString(\\\"mToken\\\", null);\\n\\t\\t\\t\\t\\tLog.e(TAG, \\\"handleMessage token = \\\" + mToken);\\n\\t\\t\\t\\t\\tif (mToken != null) {\\n\\t\\t\\t\\t\\t\\t// signUp();\\n\\t\\t\\t\\t\\t\\tgetRecommomt(startPage);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tToast.makeText(OfflineCoursePayActivity.this,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"网络不佳,请稍后再试\\\", Toast.LENGTH_SHORT).show();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tnew Timer().schedule(new TimerTask() {\\n\\t\\t\\t\\t\\t\\t@Override\\n\\t\\t\\t\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\t\\t\\t\\t// 需要做的事:发送消息\\n\\t\\t\\t\\t\\t\\t\\t// LoginUtil.login_handlered = false;\\n\\t\\t\\t\\t\\t\\t\\tMessage msg_loop = handler.obtainMessage();\\n\\t\\t\\t\\t\\t\\t\\tmsg_loop.what = 2;\\n\\t\\t\\t\\t\\t\\t\\tmsg_loop.sendToTarget();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}, 1000);\\n\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7262c0d19748532f336cbed2c18a9877\",\n \"score\": \"0.59344536\",\n \"text\": \"@Override\\n\\tpublic void serverMessageReceived(String arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"567e93f3d167693a3f446c0774079d69\",\n \"score\": \"0.5928378\",\n \"text\": \"void onText(String message, WebSocketSession session);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1671b388a535d08da6b15d853669838\",\n \"score\": \"0.5917624\",\n \"text\": \"@Override\\n protected void channelRead0(ChannelHandlerContext ctx, WebSocketFrame frame) throws Exception {\\n if (frame instanceof TextWebSocketFrame) {\\n String request = ((TextWebSocketFrame) frame).text();\\n try {\\n JSONObject jObject = new JSONObject(request);\\n String msgType = jObject.getString(\\\"type\\\");\\n if (hasLogin.equals(\\\"init\\\")) {\\n ctx.executor().schedule(new ConnectionTerminator(ctx), 5, TimeUnit.SECONDS);\\n hasLogin = \\\"waiting\\\";\\n }\\n if (msgType.equals(\\\"login\\\")) { //学生端login和老师端推题login\\n int result = new WebSocketMsgProcessor(ctx, request).processLogin(jObject);\\n if (result == 0) {\\n hasLogin = \\\"success\\\";\\n userType = jObject.getString(\\\"userType\\\");\\n uid = jObject.getString(\\\"uid\\\");\\n roomId = jObject.getString(\\\"roomId\\\");\\n clientType = \\\"normalWebSock\\\";\\n if (jObject.has(\\\"appType\\\")) {\\n appType = jObject.getString(\\\"appType\\\");\\n }\\n }\\n } \\n else if (hasLogin.equals(\\\"success\\\")){ //增强校验,非登录状态不接受任何业务消息\\n ctx.executor().execute(new WebSocketMsgProcessor(ctx, request));\\n } else {\\n MyLogger.log(\\\"非登录态试探:\\\" + jObject.toString() + \\\" channel:\\\" +ctx.channel());\\n ctx.close();\\n }\\n } catch (Exception e){\\n MyLogger.log(\\\"FrameWork error:\\\"+e.getMessage());\\n ctx.close();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdc2817e2f5ce6d321f057a001998a7a\",\n \"score\": \"0.59128433\",\n \"text\": \"@Override\\n protected void handleBinaryMessage(WebSocketSession session, BinaryMessage message) {\\n super.handleBinaryMessage(session, message);\\n System.out.println(\\\"handleBinaryMessage......\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afb295b534a39ab27b4bdc21da54c355\",\n \"score\": \"0.59103227\",\n \"text\": \"public interface MessageListener {\\n\\n /**\\n * Called when a message from a remote endpoint is received.\\n *\\n * @param envelope the {@link WebSocketEnvelope} for the received message\\n * @param message the de-serialized message payload\\n */\\n void onMessage(WebSocketEnvelope envelope, Object message);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e257da8b0460d946311d22b7a6160d0f\",\n \"score\": \"0.5906633\",\n \"text\": \"protected void onConnected() {\\n\\t\\tSystem.out.println(\\\"onConnected\\\");\\n\\t\\tsetStatus(StatusType.EXTENDED_AWAY, \\\"testing message! :)\\\");\\n\\t\\tsendMessage(\\\"hanzz@njs.netlab.cz\\\" ,\\\"ahoj :) -- Sent by Sporky, don't answer here...\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a5776f4901a6f31c96d1ae006db21ba\",\n \"score\": \"0.59050906\",\n \"text\": \"@OnMessage\\n public void onMessage(String message) {\\n try {\\n //{\\\"collision\\\":\\\"true \\\",\\\"move\\\":\\\"...\\\"} or {\\\"sonarName\\\":\\\"sonar2\\\",\\\"distance\\\":19,\\\"axis\\\":\\\"x\\\"}\\n //System.out.println(\\\" IssWsSupport | onMessage:\\\" + message);\\n JSONObject jsonObj = new JSONObject(message);\\n for (var observer : this.observers) {\\n observer.accept(jsonObj);\\n }\\n\\n } catch (Exception e) {\\n System.out.println(\\\" VirtualRobotWS | onMessage ERROR \\\" + e.getMessage());\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d01cfb130e35fd86d400414a0f143c0\",\n \"score\": \"0.5901218\",\n \"text\": \"@Override\\n public void onPreMessageSent() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"569def1054c0998db047da34e66e9bb5\",\n \"score\": \"0.5895207\",\n \"text\": \"protected abstract void onReceivedTextFrame(final HttpEvent event, final WebSocket socket) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15d3791ddb962d19cfb4ac086e03ea5c\",\n \"score\": \"0.5891719\",\n \"text\": \"@Override\\n public void handleMessage(Message msg) {\\n if (msg.replyTo != null) {\\n mClient = msg.replyTo;\\n return;\\n }\\n\\n // Perform traditional checks\\n Bundle bundle = msg.getData();\\n switch (msg.what) {\\n case EVENT_ESTABLISH_CONNECTION: {\\n try {\\n String ipAddr = bundle.getString(\\\"ipAddr\\\");\\n InetAddress addr = InetAddress.getByName(ipAddr);\\n int port = bundle.getInt(\\\"port\\\");\\n\\n establishConnection(addr, port);\\n } catch (UnknownHostException e) {\\n e.printStackTrace();\\n\\n Message reply = Message.obtain();\\n reply.what = EVENT_CONNECTION_FAILURE;\\n\\n try {\\n mClient.send(reply);\\n } catch (RemoteException f) {\\n f.printStackTrace();\\n }\\n }\\n break;\\n }\\n case EVENT_INITIATE_TEST: {\\n try {\\n OutputStream os = mSocket.getOutputStream();\\n byte eventKey = '1';\\n byte[] payload = {eventKey};\\n os.write(payload);\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n break;\\n }\\n case EVENT_CONTROL: {\\n mLift = bundle.getFloat(\\\"lift\\\");\\n mRoll = bundle.getFloat(\\\"roll\\\");\\n mPitch = bundle.getFloat(\\\"pitch\\\");\\n mYaw = bundle.getFloat(\\\"yaw\\\");\\n break;\\n }\\n case EVENT_REQUEST_DISCONNECT: {\\n disconnect();\\n break;\\n }\\n case EVENT_TAKEOFF: {\\n // Signal to the reporting thread to send a takeoff request on the next loop\\n mReportThreadAction = ReportTimer.ACTION_BEGIN_TAKEOFF;\\n break;\\n }\\n case EVENT_END_TAKEOFF: {\\n // Signal to the reporting thread to send a takeoff-arrest request on the next\\n // loop\\n mReportThreadAction = ReportTimer.ACTION_END_TAKEOFF;\\n break;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9d7dfa5908cd5b272d1584df363ccc8\",\n \"score\": \"0.5882935\",\n \"text\": \"@OnMessage\\n public void onMessage(String message, Session userSession) {\\n User user;\\n user = (User) httpSession.getAttribute(ATT_SESSION);\\n String Sender = user.getPhoneNumber();\\n if (Sender == null) return;\\n List phoneNumbersConversation = conversation.getPhoneNumber();\\n String destinationPhoneNumber = \\\"\\\";\\n for (String phoneNumber : phoneNumbersConversation)\\n if (!phoneNumber.equals(Sender)) destinationPhoneNumber = phoneNumber;\\n for (Session session : userSession.getOpenSessions()) {\\n if (session.isOpen() && conversation.getId().equals(session.getUserProperties().get(\\\"conversationId\\\"))) {\\n String json = \\\"{\\\"\\n + \\\"\\\\\\\"phone\\\\\\\":\\\" + \\\"\\\\\\\"\\\" + user.getPhoneNumber() + \\\"\\\\\\\",\\\"\\n + \\\"\\\\\\\"sms\\\\\\\":\\\" + \\\"\\\\\\\"\\\" + message + \\\"\\\\\\\"\\\"\\n + \\\"}\\\";\\n session.getAsyncRemote().sendText(json);\\n }\\n }\\n smsService.sendMessage(message, destinationPhoneNumber, user.getPhoneNumber());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7f691ddae860f57fd433fd61a0c6a56\",\n \"score\": \"0.587373\",\n \"text\": \"@OnWebSocketConnect\\n public void handleConnect(Session session) {\\n System.out.println(\\\"StreetViewWebSocketServlet Connect number of users is =\\\" + Integer.toString(users.size()));\\n this.session = session;\\n\\t\\tusers.add(this);\\n\\t\\tStringBuilder theBuilder = new StringBuilder(\\\"model:\\\");\\n\\t\\tString stringifiedModel = theModel.asJSONObject().toString();\\n\\t\\ttheBuilder.append(stringifiedModel);\\n\\t\\t\\n\\t\\tif(users.size() == 1){\\n\\t\\t\\tthis.send(\\\"is_leader:\\\");\\t\\t\\t\\n\\t\\t} else {\\n\\t\\t\\tif(users.size() > 1){\\n\\t\\t\\t\\tthis.send(theBuilder.toString());\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e35d5e95f6bf607a8ed58aac55163f55\",\n \"score\": \"0.58684784\",\n \"text\": \"@Override\\r\\n public void handleMessage(android.os.Message msg){\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7177af2cd86eef634b831aef71a3be37\",\n \"score\": \"0.58630735\",\n \"text\": \"public void handleMessage(Message msg) {\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c985112aa59c536312de2de157637a7e\",\n \"score\": \"0.58527577\",\n \"text\": \"protected void messageReceived(SessionMessage msg, Member sender) {\\n \\t\\n \\tClassLoader contextLoader = Thread.currentThread().getContextClassLoader();\\n \\t\\n \\ttry {\\n \\t\\tClassLoader[] loaders = getClassLoaders();\\n \\t\\tif ( loaders != null && loaders.length > 0) \\n \\t\\t\\tThread.currentThread().setContextClassLoader(loaders[0]);\\n \\t\\t\\n \\t\\tswitch (msg.getEventType()) {\\n \\t\\t\\tcase SessionMessage.EVT_SESSION_CREATED: {\\n \\t\\t\\t\\thandleSESSION_CREATED(msg,sender);\\n \\t\\t\\t\\tbreak;\\n \\t\\t\\t}\\n \\t\\t\\tcase SessionMessage.EVT_SESSION_EXPIRED: {\\n \\t\\t\\t\\t//...\\n break;\\n }\\n \\t\\t\\t\\n \\t\\t\\tcase SessionMessage.EVT_GET_ALL_SESSIONS: {\\n handleGET_ALL_SESSIONS(msg,sender);\\n break;\\n }\\n \\t\\t\\t\\n \\t\\t\\tcase SessionMessage.EVT_ALL_SESSION_DATA: {\\n handleALL_SESSION_DATA(msg,sender);\\n break;\\n }\\n \\t\\t\\t\\n \\t\\t\\tdefault: {\\n //we didn't recognize the message type, do nothing\\n break;\\n }\\n \\t\\t}\\n \\t}\\n \\tcatch (Exception x) {\\n \\t\\t\\n \\t}\\n \\tfinally {\\n Thread.currentThread().setContextClassLoader(contextLoader);\\n }\\n \\t\\n \\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42513fcc823b16d2d018e37ad9029a89\",\n \"score\": \"0.58468336\",\n \"text\": \"@Override\\r\\n protected void handleTextMessage(WebSocketSession session, TextMessage message) throws Exception {\\r\\n LOG.info(\\\"handleTextMessage : {}\\\", message.getPayload());\\r\\n\\r\\n final SessionMessage sessionMessage = WebSocketUtils.getObject(message.getPayload());\\r\\n final String targetMessage = WebSocketUtils.getString(sessionMessage);\\r\\n TextMessage data = new TextMessage(targetMessage);\\r\\n\\r\\n webSocketService.handlerMessage(session, message);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"911920cecc2f246e0dad962ea04f9fa6\",\n \"score\": \"0.5839836\",\n \"text\": \"@Override\\n\\t\\tpublic synchronized void handleMessage(Message msg) {\\n\\n\\t\\t\\tswitch(msg.what){\\n\\t\\t\\t//--------------通用消息-------------------------//\\n\\t\\t\\tcase TEACHEREXIST:// 教师端存在,如果没有被初始化,向教师端请求信息\\n\\t\\t\\t\\t//设置连接状态\\n\\t\\t\\t\\tif(!initialed){//未初始化,请求初始化信息\\n\\t\\t\\t\\t\\t\\t//设置教师端IP\\n\\t\\t\\t\\t\\t\\tif(ServerIP == null){\\n\\t\\t\\t\\t\\t\\t\\tServerIP = msg.getData().getString(\\\"ServerIP\\\");\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tus.SetIP(ServerIP);\\n\\t\\t\\t\\t\\t\\t//发送学生信息请求\\n\\t\\t\\t\\t\\t\\ttagCommandCode tcmd = new tagCommandCode(\\\" \\\",\\\" \\\",\\\" \\\");//否则为null!!!\\n\\t\\t\\t\\t\\t\\ttcmd.SetCmdID(GETSTUINFO);\\n\\t\\t\\t\\t\\t\\tus.SendMsg(tcmd.toByteArray());\\n\\t\\t\\t\\t\\t\\tLog.i(\\\"ActivityInfo---Login===>\\\", \\\"GETSTUINFO\\\");\\n\\t\\t\\t\\t\\t\\ttcmd.SetCmdID(LOGIN);// 在线ID\\n\\t\\t\\t\\t\\t\\tus.SendMsg(tcmd.toByteArray());// 发送消息\\n\\t\\t\\t\\t\\t\\tLog.i(\\\"ActivityInfo---Login===>\\\", \\\"Not Initialed\\\");\\n\\t\\t\\t\\t}else {\\n\\t\\t\\t\\t\\tif(!connected){//发生改变时才操作\\n\\t\\t\\t\\t\\t\\tconnected = true;\\n\\t\\t\\t\\t\\t\\tpbLandlight.setImageResource(R.drawable.green);//设置为在线\\n\\t\\t\\t\\t\\t\\tLog.i(\\\"LandLight========>\\\",\\\"Online!!!\\\");\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif(ServerIP == null){\\n\\t\\t\\t\\t\\t\\tServerIP = msg.getData().getString(\\\"ServerIP\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcmd.SetCmdID(GETSTUINFO);\\n\\t\\t\\t\\t\\tus.SendMsg(cmd.toByteArray());\\n\\t\\t\\t\\t\\tLog.i(\\\"ActivityInfo---Login===>\\\", \\\"GETSTUINFO\\\");\\n\\t\\t\\t\\t\\tus.SetIP(ServerIP);\\n\\t\\t\\t\\t\\tcmd.SetCmdID(LOGIN);// 在线ID\\n\\t\\t\\t\\t\\tus.SendMsg(cmd.toByteArray());// 发送消息\\n\\t\\t\\t\\t\\tLog.i(\\\"ActivityInfo---Login===>\\\", \\\"Connected & Initialed\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase ACCEPT://与教师端连接,初始化系统参数\\n\\t\\t\\tcase GETSTUINFO_RETURN://获得学生信息\\n\\t\\t\\t\\tif (!popup.isShowing() || !popupStuWindow.isShowing() || !popupRecordListWindow.isShowing() || !popupRecordWindow.isShowing()) {\\n\\t\\t\\t\\tboolean state = true;\\n\\t\\t\\t\\tswitch(new tagCommandStream(msg.getData().getByteArray(\\\"data\\\")).toCode().iReserver[80]){\\n\\t\\t\\t\\tcase -1://正常状态\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 0:\\n\\t\\t\\t\\t\\tstate = true;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"待命\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 1:\\n\\t\\t\\t\\t\\tstate = true;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"广播音频\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 4:\\n\\t\\t\\t\\t\\tstate = true;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"全通话\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 14:\\n\\t\\t\\t\\t\\tstate = false;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"自主学习\\\");\\n\\t\\t\\t\\tcase 15:\\n\\t\\t\\t\\t\\tstate = false;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"下课\\\");//???\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tStateChange(state);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tLog.i(\\\"ActivityInfo---ACCEPT===>\\\", \\\"Initialed!\\\");\\n\\t\\t\\t\\t//初始化命令\\n\\t\\t\\t\\ttagCommandCode tcmd = new tagCommandCode(msg.getData().getByteArray(\\\"data\\\"));\\n\\t\\t\\t\\t//初始化信息\\n\\t\\t\\t\\tString StrLocalIP = getLocalIpAddress();//本地IP\\n\\t\\t\\t\\tString subIP = StrLocalIP.substring(0, StrLocalIP.lastIndexOf(\\\".\\\")+1);//网段\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString StrName; \\n\\t\\t\\t\\tif(tcmd.strName!= null){\\n\\t\\t\\t\\t\\tStrName = tcmd.strName;//学生姓名\\n\\t\\t\\t\\t}else StrName =\\\"STU\\\"+StrLocalIP.substring(StrLocalIP.lastIndexOf(\\\".\\\"),StrLocalIP.length());\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(ServerIP==null){\\n\\t\\t\\t\\t\\tServerIP = msg.getData().getString(\\\"ServerIP\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//显示到界面\\n\\t\\t\\t\\ttvIP.setText(StrLocalIP);\\n\\t\\t\\t\\ttvName.setText(StrName);\\n\\t\\t\\t\\tString strSeat = \\\"A1\\\";\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//写入\\n\\t\\t\\t\\tif(cmd == null){\\n\\t\\t\\t\\t\\tcmd = new tagCommandCode(StrLocalIP,strSeat,StrName,subIP);//座位号!!!\\n\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\tcmd.strIP = StrLocalIP;\\n\\t\\t\\t\\t\\tcmd.strName = StrName;\\n\\t\\t\\t\\t\\tcmd.subIP = subIP;\\n\\t\\t\\t\\t\\tcmd.strSeat = strSeat;\\n\\t\\t\\t\\t} \\n\\t\\t\\t\\tUserInfo mycmd = ((UserInfo) getApplicationContext());\\n\\t\\t\\t\\tmycmd.getInstant(cmd);\\n\\t\\t\\t\\tmycmd.setIP(ServerIP);\\n\\t\\t\\t\\t//标记位\\n\\t\\t\\t\\tinitialed = true;\\n\\t\\t\\t\\tconnected = true;\\n\\t\\t\\t\\tpbLandlight.setImageResource(R.drawable.green);//设置为在线\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TIMEOUTCONNECTION://掉线\\n//\\t\\t\\t\\t//设置连接显示\\n//\\t\\t\\t\\tif (!initialed || connected) {\\n\\t\\t\\t\\t\\tStateChange(false);\\n\\t\\t\\t\\t\\tunconnected();\\n\\t\\t\\t\\t\\tconnected = false;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"待命\\\");\\n//\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CLEARRAISEHAND:\\n\\t\\t\\t\\tHand.setImageResource(R.drawable.hand_on);\\n\\t\\t\\t\\tbHandup = false;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase ENABLERAISEHAND:\\n\\t\\t\\t\\tHand.setEnabled(true);\\n\\t\\t\\t\\tHand.setImageResource(R.drawable.hand_on);\\n\\t\\t\\t\\tbHandup = false;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase DISRAISEHAND:\\n\\t\\t\\t\\tHand.setEnabled(false);\\n\\t\\t\\t\\tHand.setImageResource(R.drawable.hand_disable);\\n\\t\\t\\t\\tbHandup = false;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase SETVOLUME://老师调节音量\\n\\t\\t\\t\\ttagCommandCode t = new tagCommandCode(msg.getData().getByteArray(\\\"data\\\"));\\n\\t\\t\\t\\tseekBar.setProgress(t.iReserver[0]);\\n\\t\\t\\t\\taudioManager.setStreamVolume(AudioManager.STREAM_MUSIC,t.iReserver[0], 0);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase NOTIFY:\\n\\t\\t\\t\\t byte[] Note = new byte[480];\\n\\t\\t\\t\\t System.arraycopy(msg.getData().getByteArray(\\\"data\\\"), DATALONG-480, Note, 0, 480);\\n\\t\\t\\t\\tAlertDialog.Builder NotifyDialog= new AlertDialog.Builder(ClassTeachActivity.this);\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\tNotifyDialog.setTitle(\\\"通知\\\").setMessage(new String(Note,\\\"GBK\\\"))\\n\\t\\t\\t\\t.setCancelable(false)\\n\\t\\t\\t\\t.setNegativeButton(\\\"关闭\\\", new DialogInterface.OnClickListener() { \\n\\t\\t\\t\\t public void onClick(DialogInterface dialog, int id) { \\n\\t\\t\\t\\t dialog.cancel(); \\n\\t\\t\\t\\t } \\n\\t\\t\\t\\t }).create().show();\\n\\t\\t\\t\\t} catch (UnsupportedEncodingException e) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t break;\\n\\t\\t\\tcase CLASSRESUME://上课--跟读可用,录音等待命令,默认不允许,上课置灰\\n\\t\\t\\tcase SELFSTUDYOFF://取消自助学习-同上课\\n\\t\\t\\t\\tStateChange(true);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase CLASSOVER://下课--同自主学习\\n\\t\\t\\tcase SELFSTUDYON://自主学习-全部允许,掉线也是自主学习\\n\\t\\t\\t\\tStateChange(false);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase WARNING:\\n\\t\\t\\t\\tWarnDialog.show();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase LOCK:\\n\\t\\t\\t\\tLockDialog.show();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase UNLOCK:\\n\\t\\t\\t\\tLockDialog.cancel();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t//---------------自有消息----------------------//\\n\\t\\t\\tcase BROADCASTSOUNDCARD:// 广播音频\\n\\t\\t\\t\\ttvState.setText(\\\"广播音频\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase BROADCASTMIC:// 全通话\\n\\t\\t\\t\\ttvState.setText(\\\"全通话\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase TALKTOONE:// 个别通话\\n\\t\\t\\t\\ttvState.setText(\\\"个别通话\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase DEMONSTRATE://示范学生列表\\n\\t\\t\\t\\tListFill(msg.getData().getByteArray(\\\"data\\\"));\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase STOPTALKTOONE:\\n\\t\\t\\tcase STOPBROADCASTMIC:\\n\\t\\t\\tcase CLOSEBROADCASTAUDIO:\\n\\t\\t\\t\\tboolean state1 = true;\\n\\t\\t\\t\\tswitch(new tagCommandStream(msg.getData().getByteArray(\\\"data\\\")).toCode().iReserver[80]){\\n\\t\\t\\t\\tcase -1://正常状态\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 0:\\n\\t\\t\\t\\t\\tstate1 = true;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"待命\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 1:\\n\\t\\t\\t\\t\\tstate1 = true;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"广播音频\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 4:\\n\\t\\t\\t\\t\\tstate1 = true;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"全通话\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 14:\\n\\t\\t\\t\\t\\tstate1 = false;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"自主学习\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 15:\\n\\t\\t\\t\\t\\tstate1 = false;\\n\\t\\t\\t\\t\\ttvState.setText(\\\"下课\\\");//???\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tStateChange(state1);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase STOPDEMONSTRATE:\\n\\t\\t\\t\\tpopup.dismiss();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase SPEAKFALSE:\\n\\t\\t\\t\\tSpannableString ss = new SpannableString(\\\"系统提示:自由讨论组已满.\\\");\\n\\t\\t\\t\\tss.setSpan(new ForegroundColorSpan(Color.RED), 0, ss.length(),Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);\\n\\t\\t\\t\\ttvStuInfo.append(ss);\\n\\t\\t\\t\\tsView.pageScroll(View.FOCUS_DOWN);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase SPEAKOK://加入讨论\\n\\t\\t\\t\\tloadpopupSt(msg.getData().getByteArray(\\\"data\\\"),false);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase SPEAKCANCELOK://退出讨论\\n\\t\\t\\t\\tloadpopupSt(msg.getData().getByteArray(\\\"data\\\"), true);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase SPEAKON://开始分组讨论\\n\\t\\t\\t\\ttvState.setText(\\\"自由讨论\\\");\\n\\t\\t\\t\\tif (!popupStuWindow.isShowing())\\n\\t\\t\\t\\tpopupStuWindow.showAtLocation(findViewById(R.id.background_center_layout), \\n\\t\\t\\t\\t\\t\\tGravity.TOP|Gravity.LEFT, 50, 0);\\n\\t\\t\\t\\tLog.i(\\\"show\\\", \\\"speakon\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase SPEAKOFF:\\n\\t\\t\\t\\tstlist.clear();\\n\\t\\t\\t\\tstAdapter.notifyDataSetChanged();\\n\\t\\t\\t\\ttvStuInfo.setText(\\\"\\\");\\n\\t\\t\\t\\tOKButtonStu.setEnabled(true);\\n\\t\\t\\t\\tCancleButton.setEnabled(false);\\n\\t\\t\\t\\tif (popupStuWindow.isShowing())\\n\\t\\t\\t\\tpopupStuWindow.dismiss();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e5b16131b8ac31ab8212eb5a4804192\",\n \"score\": \"0.583306\",\n \"text\": \"@Override\\r\\n\\tprotected void handleBinaryMessage(WebSocketSession arg0, BinaryMessage arg1) {\\n\\t\\tsuper.handleBinaryMessage(arg0, arg1);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acc9933b0ad676acb424c35423480ab8\",\n \"score\": \"0.5831328\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void handleMessage(Message msg) {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1507dee9f8443c9179b98b947e408e60\",\n \"score\": \"0.5831062\",\n \"text\": \"public void messageReceived(Serializable message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7c95c96cd9fdfbd9a31bc005a11567f\",\n \"score\": \"0.58285916\",\n \"text\": \"@Override\\n public void onMessageReceived(RemoteMessage message) {\\n /**\\n * Our Node.js server adds the message body to the remote message data so that we can retrieve\\n * it an show a simple notification as we want.\\n *\\n * Notification resource parameters are mapped as follows:\\n * Body --> twi_body\\n * Title --> twi_title\\n * Sound --> twi_sound\\n * Action --> twi_action\\n */\\n String from = message.getFrom();\\n Map data = message.getData();\\n String body = data.get(\\\"twi_body\\\");\\n String title = data.get(\\\"twi_title\\\");\\n Log.d(TAG, \\\"From: \\\" + from);\\n Log.d(TAG, \\\"Body: \\\" + body);\\n\\n // [START_EXCLUDE]\\n /**\\n * Production applications would usually process the message here.\\n * Eg: - Syncing with server.\\n * - Store message in local database.\\n * - Update UI.\\n */\\n\\n /**\\n * In some cases it may be useful to show a notification indicating to the user\\n * that a message was received.\\n */\\n sendNotification(title, body);\\n // [END_EXCLUDE]\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"758804a1478a6931f93343c4f9eb8c0a\",\n \"score\": \"0.58274126\",\n \"text\": \"public void onMessage(WebSocket ws, String message) {\\n\\t\\tLog.d(\\\"WebSocket\\\", \\\"onMessage: \\\" + message);\\n\\t\\t// Call JS an notify of onMessage\\n\\t\\tmessage = message.replace(\\\"\\\\\\\"\\\", \\\"\\\\\\\\\\\\\\\"\\\");\\n\\t\\tthis.executeJS(\\\"window.WebSocket.onMessage(\\\\\\\"\\\" + ws.getId() + \\\"\\\\\\\", \\\\\\\"\\\"\\n\\t\\t\\t\\t+ message + \\\"\\\\\\\")\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f79e044e9e9bcc26168d0daa92bf22b\",\n \"score\": \"0.5826589\",\n \"text\": \"@EventListener\\n public void handleWebSocketSubscribeListener(SessionSubscribeEvent event) {\\n StompHeaderAccessor headerAccessor = StompHeaderAccessor.wrap(event.getMessage());\\n MessageHeaders messageHeaders = headerAccessor.getMessageHeaders();\\n Principal user = headerAccessor.getUser();\\n String simpDestination = (String) messageHeaders.get(\\\"simpDestination\\\");\\n LOGGER.info(\\\"WebSocket Server Get A New Client Subscriber, Username: {}, Destination: {}\\\", user.getName(), simpDestination);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f32c26b421e4cc5522dafc7b73b48d18\",\n \"score\": \"0.5819634\",\n \"text\": \"public void onDataReceived(ConnectionClient client,Object data);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6767b941bd33f55ace6cc8fb2fc18146\",\n \"score\": \"0.5803948\",\n \"text\": \"@EventListener\\n public void handleWebSocketConnectListener(SessionConnectedEvent event) {\\n StompHeaderAccessor headerAccessor = StompHeaderAccessor.wrap(event.getMessage());\\n Principal user = headerAccessor.getUser();\\n\\n LOGGER.info(\\\"WebSocket Server Create A New Connect, Username: {}\\\", user.getName());\\n LOGGER.info(\\\"WebSocket Server Current Online User Count: {}\\\", userRegistry.getUserCount() + 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35027c0e68a7423d4cf281dc4ff75ed7\",\n \"score\": \"0.58000416\",\n \"text\": \"private static void onMessage(final String uuid, final WebSocket.In in, final WebSocket.Out out) {\\n\\t in.onMessage(new Callback() {\\n\\t public void invoke(JsonNode event) {\\n\\t \\tOnlineGame onlineGame = getOnlineGame(uuid);\\n\\t \\tGameController controller = onlineGame.getController();\\n\\t \\tObjectNode status = Json.newObject();\\n\\t \\t\\t \\t \\n\\t \\t/* new single player game */\\n\\t \\tif (null != event.findPath(\\\"newSinglePlayerGame\\\").textValue()) {\\n\\t \\t\\t/* remove the own uuid, if a game is already open with this uuid */\\n\\t \\t\\topenGames.remove(uuid);\\n\\t \\t\\tSystem.out.println(\\\"newSinglePlayerGame\\\");\\n\\t \\t\\tonlineGame = getNewOnlineGame(uuid);\\n\\t \\t\\tSystem.out.println(\\\"1\\\");\\n\\t \\t\\tonlineGame.getController().newController(Constances.DEFAULT_ROWS, Constances.DEFAULT_COLUMNS, GameContent.HUMAN_PLAYER_1, GameContent.AI_PLAYER_1_EASY, GameContent.SINGLEPLAYER);\\n\\t \\t\\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\\n\\t \\t\\tSystem.out.println(\\\"2\\\");\\n\\t \\t\\tstatus.put(\\\"player\\\", onlineGame.getPlayer());\\n\\t \\t\\tstatus.put(\\\"ownPlayground\\\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\\n\\t \\tstatus.put(\\\"enemyPlayground\\\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\\n\\t \\tSystem.out.println(\\\"3\\\");\\n\\t \\t\\t\\tout.write(status);\\n\\t \\t\\t\\tSystem.out.println(\\\"4\\\");\\n\\t \\t\\tonlineGame.getController().startGame();\\n\\t \\t\\tSystem.out.println(\\\"5\\\");\\n\\t \\t\\t\\treturn;\\n\\t \\t}\\n\\t \\t\\n\\t \\t/* new multiplayer game */\\n\\t \\tif (null != event.findPath(\\\"newMultiPlayerGame\\\").textValue()) {\\n\\t \\t\\t/* remove the own uuid, if a game is already open with this uuid */\\n\\t \\t\\topenGames.remove(uuid);\\n\\t \\t\\t/* check if a game is already open, than join the game */\\n\\t \\t\\tif (0 < openGames.size()) {\\n\\t \\t\\t\\tSystem.out.println(\\\"JOIN MultiPlayerGame\\\");\\t\\n\\t\\t \\t\\tonlineGame = joinOnlineGame(openGames.get(0), uuid);\\n\\t\\t \\t\\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\\n\\t\\t \\t\\tstatus.put(\\\"player\\\", onlineGame.getPlayer());\\n\\t\\t \\t\\tstatus.put(\\\"ownPlayground\\\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\\n\\t\\t \\tstatus.put(\\\"enemyPlayground\\\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\\n\\t\\t \\t\\t\\tout.write(status);\\n\\t\\t \\t\\tonlineGame.getController().startGame();\\n\\t\\t \\t\\t\\treturn;\\n\\t \\t\\t} else {\\n\\t\\t \\t\\tSystem.out.println(\\\"newMultiPlayerGame\\\");\\n\\t\\t \\t\\topenGames.add(uuid);\\n\\t\\t \\t\\tonlineGame = getNewOnlineGame(uuid);\\n\\t\\t \\t\\tonlineGame.getController().newController(Constances.DEFAULT_ROWS, Constances.DEFAULT_COLUMNS, GameContent.HUMAN_PLAYER_1, GameContent.HUMAN_PLAYER_2, GameContent.MULTIPLAYER);\\n\\t\\t \\t\\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\\n\\t\\t \\t\\tstatus.put(\\\"player\\\", onlineGame.getPlayer());\\n\\t\\t \\t\\tstatus.put(\\\"ownPlayground\\\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\\n\\t\\t \\tstatus.put(\\\"enemyPlayground\\\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\\n\\t\\t \\t\\t\\tout.write(status);\\n\\t\\t \\t\\t\\treturn;\\n\\t \\t\\t}\\n\\t \\t}\\n\\t \\t/* new multiplayer game */\\n\\t \\tif (null != event.findPath(\\\"saveGame\\\").textValue()) {\\n if (null == controller) {\\n status.put(\\\"saveGameError\\\", \\\"No Game to save.\\\");\\n out.write(status);\\n return;\\n } else {\\n onlineGame.getController().saveGame(event.findPath(\\\"saveGame\\\").textValue());\\n if (controller.getStatus().errorExist()) {\\n status.put(\\\"saveGameError\\\", controller.getStatus().getError());\\n out.write(status);\\n controller.getStatus().clearError();\\n } else {\\n status.put(\\\"saveGameSuccess\\\", \\\"Game successfully saved.\\\");\\n out.write(status);\\n }\\n return;\\n }\\n }\\n \\n\\t \\t/* new multiplayer game */\\n\\t \\tif (null != event.findPath(\\\"loadGame\\\").textValue()) {\\n if (null == controller) {\\n onlineGame = getNewOnlineGame(uuid);\\n onlineGame.getController().loadGame(event.findPath(\\\"loadGame\\\").textValue());\\n onlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\\n status.put(\\\"player\\\", onlineGame.getPlayer());\\n status.put(\\\"ownPlayground\\\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\\n status.put(\\\"enemyPlayground\\\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\\n out.write(status);\\n onlineGame.getController().startGame();\\n return;\\n } else {\\n onlineGame.getController().loadGame(event.findPath(\\\"loadGame\\\").textValue());\\n onlineGame.getController().startGame();\\n return;\\n }\\n }\\n \\n\\t \\t/* new multiplayer game */\\n\\t \\tif (null != event.findPath(\\\"getHighscore\\\").textValue()) {\\n status.put(\\\"highscore\\\", Game.newGameController().getHighscores());\\n out.write(status);\\n return;\\n }\\n\\t \\t\\n\\t \\t/* get save game */\\n\\t \\tif (null != event.findPath(\\\"getSavegames\\\").textValue()) {\\n StringBuilder builder = new StringBuilder(\\\"
\\\");\\n status.put(\\\"getSavegames\\\", builder.toString());\\n out.write(status);\\n return;\\n }\\n \\n\\t \\t/* check if no controller is ready */\\n\\t \\tif (null == controller) {\\n\\t \\t\\tstatus.put(\\\"info\\\", \\\"Create a new game to start with Battleship.\\\");\\n\\t \\t\\tout.write(status);\\n\\t \\t\\treturn;\\n\\t \\t}\\n \\n\\t \\tif (controller.gameFinished()) {\\n\\t \\t\\t\\tstatus.put(\\\"info\\\", \\\"Creating a new game is required.\\\");\\n\\t \\t\\t\\tout.write(status);\\n\\t \\t\\t\\treturn;\\n\\t \\t}\\n\\t \\t\\n\\t \\tif ((event.findPath(\\\"shootX\\\").canConvertToInt())\\n\\t \\t &&(event.findPath(\\\"shootY\\\").canConvertToInt())) {\\n\\t \\t\\tSystem.out.println(\\\"shoot from \\\"+onlineGame.getPlayer());\\n\\t \\t\\tCoordinates target = new Coordinates(event.findPath(\\\"shootX\\\").asInt(), event.findPath(\\\"shootY\\\").asInt());\\n\\t \\t\\tcontroller.shoot(onlineGame.getPlayer(), target);\\n\\t \\t\\treturn;\\n\\t \\t}\\n\\t \\t\\n\\t\\t\\t\\tstatus.put(\\\"error\\\", \\\"Illegal call to websocket.\\\");\\n\\t\\t\\t\\tout.write(status);\\n\\t\\t\\t\\treturn;\\n\\t \\t\\n\\t }\\n\\t });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb618ced9474280263db91f26a4ba41a\",\n \"score\": \"0.5781279\",\n \"text\": \"@Override\\n public void onMessageReceived(final RemoteMessage message) {\\n if (message.getData().size() > 0) {\\n // Handle message within 10 seconds\\n Executor executor = Executors.newSingleThreadExecutor();\\n\\n FusedLocationProviderClient mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\\n\\n if (checkSelfPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\\n mFusedLocationClient.getLastLocation()\\n .addOnSuccessListener(executor, new OnSuccessListener() {\\n @Override\\n public void onSuccess(Location location) {\\n // Got last known location. In some rare situations this can be null.\\n Map data = message.getData();\\n double latitude = Double.valueOf(data.get(\\\"latitude\\\"));\\n double longitude = Double.valueOf(data.get(\\\"longitude\\\"));\\n String user = data.get(\\\"user_id\\\");\\n float[] results = new float[1];\\n Location.distanceBetween(location.getLatitude(), location.getLongitude(),\\n latitude, longitude, results);\\n\\n if (results[0] < 1000 && email != null && !email.equals(user)) {\\n sendNotification(\\\"New event less than 1 km away!\\\");\\n }\\n }\\n });\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6defb73b410f94e069fbbc0efcc87754\",\n \"score\": \"0.5781147\",\n \"text\": \"@Override\\n\\t\\tpublic void handleMessage(Message msg) {\\n\\t\\t\\tsuper.handleMessage(msg);\\n\\t\\t\\tswitch (msg.what) {\\n\\t\\t\\tcase 2:// token获取\\n\\t\\t\\t\\tif (LoginUtil.login_handlered) {\\n\\t\\t\\t\\t\\tLoginUtil.login_handlered = false;\\n\\t\\t\\t\\t\\tmToken = sp.getString(\\\"mToken\\\", null);\\n\\t\\t\\t\\t\\tif (mToken != null) {\\n\\t\\t\\t\\t\\t\\tgetType();\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tToast.makeText(context, \\\"网络不佳,请稍后再试\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\tToast.LENGTH_SHORT).show();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tnew Timer().schedule(new TimerTask() {\\n\\t\\t\\t\\t\\t\\t@Override\\n\\t\\t\\t\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\t\\t\\t\\tMessage msg_loop = handler.obtainMessage();\\n\\t\\t\\t\\t\\t\\t\\tmsg_loop.what = 2;\\n\\t\\t\\t\\t\\t\\t\\tmsg_loop.sendToTarget();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}, 1000);\\n\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75f9da5a546353de1b935e7d11766fab\",\n \"score\": \"0.57755893\",\n \"text\": \"@Override\\n\\t\\tpublic void handleMessage(Message msg) {\\n\\t\\t\\tsuper.handleMessage(msg);\\n\\t\\t\\tBundle b=msg.getData();\\n\\t\\t\\tboolean flag = b.getBoolean(\\\"sendTFlag\\\");\\n\\t\\t\\tLog.d(\\\"sendTflag\\\", \\\"\\\"+flag);\\n\\t\\t\\tif (true == flag) {\\n\\t\\t\\t\\tIntent it = new Intent(ActivitySendTravel.this,\\n\\t\\t\\t\\t\\t\\tActivityTravel.class);\\n\\t\\t\\t\\tit.putExtra(\\\"u_id\\\", userId);\\n\\t\\t\\t\\tActivitySendTravel.this.startActivity(it);\\n\\t\\t\\t\\tToast.makeText(ActivitySendTravel.this, \\\"发送成功!\\\", Toast.LENGTH_SHORT).show();\\n\\t\\t\\t\\tfinish();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tToast.makeText(ActivitySendTravel.this, \\\"发送失败!\\\", Toast.LENGTH_SHORT)\\n\\t\\t\\t\\t\\t\\t.show();\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97f27324e3f7ed01b0c81ab94e9011a7\",\n \"score\": \"0.5758111\",\n \"text\": \"@OnMessage\\n public void onMessage(String message, Session session, @PathParam(\\\"groupId\\\") Integer groupId) {\\n try {\\n if (session.getUserProperties().get(\\\"user\\\") == null) {\\n if (!WebSocketUtil.authenticate(message, session)) {\\n close(session, groupId);\\n }\\n }\\n else {\\n User u = (User)session.getUserProperties().get(\\\"user\\\");\\n Message m = new Message(u.getID(), u.getFullName(), groupId, message);\\n m.insertToDatabase();\\n \\tprocessMessage(m, groupId);\\n }\\n }\\n catch (IOException ioe) {\\n ioe.printStackTrace();\\n close(session, groupId);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc950816458674c3c02fd223530d1895\",\n \"score\": \"0.5753638\",\n \"text\": \"@Override\\r\\n\\tpublic void onMessage(Message arg0) {\\n\\t\\tSystem.out.println(\\\"message received:\\\" + arg0);\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd32492e62e5aeac601003a413559e4c\",\n \"score\": \"0.5749205\",\n \"text\": \"@OnMessage\\n public void onMessage(String message) {\\n \\tSystem.out.println(\\\"Client onMessage\\\");\\n System.out.println(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ac5d2140fb7a59aafaaea80bd428c53\",\n \"score\": \"0.5742868\",\n \"text\": \"public void handleMessage(Message msg) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3850b1ce710e832c6cd469e4ea82b734\",\n \"score\": \"0.5742406\",\n \"text\": \"void onMessage(String message, Session session) throws Exception {\\n handle(message, session);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d3f3ce231af8f6359153cf665b23c74\",\n \"score\": \"0.57386404\",\n \"text\": \"@Override\\n\\tpublic void onRealTimeMessageReceived(RealTimeMessage arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f7d45fbbc5782f0edd16bfb758e200d\",\n \"score\": \"0.5725487\",\n \"text\": \"@Override\\n public void onMessage(String message) {\\n\\n\\n if (message.contains(\\\"te\\\")) {\\n\\n onMessageTrade(message);\\n\\n }\\n\\n// } else if (!message.contains(\\\"te\\\") && !message.contains(\\\"hb\\\")) {\\n// onMessageOther(message);\\n//// } else if (message.contains(\\\"\\\\\\\"addChannel\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"result\\\\\\\":true\\\")) {\\n//// System.out.println(\\\"okex channel opened: \\\" + message);\\n////// System.out.println(message);\\n////// } else if (message.contains(\\\"liquidation\\\")) {\\n//////// onMessageLiq(message);\\n// } else {\\n// onMessageOther(message);\\n// }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a00e3d0ee9f20c2ed6aa642694816104\",\n \"score\": \"0.5725058\",\n \"text\": \"@Override\\n public void messageReceived(String message) {\\n // Not used\\n Log.i(TAG, \\\"Message is: \\\" + message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7d4cd0645dac3eff5eb8a0ce25a955a\",\n \"score\": \"0.5724397\",\n \"text\": \"@Override\\n\\tpublic void handleMessage(Message msg) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fcb9efa3d6481228111b6a5ff217036\",\n \"score\": \"0.57223636\",\n \"text\": \"@Override\\n\\tpublic void onMsgSendinEnd() {\\n\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":857,"cells":{"query_id":{"kind":"string","value":"a0a46264110ba3950fdcfd624901725b"},"query":{"kind":"string","value":"LocalDateTime dayStart = LocalDateTime.of(start.toLocalDate(), LocalTime.MIDNIGHT);"},"positive_passages":{"kind":"list like","value":[{"docid":"d261412d76c7344a671ad3b23521c4f6","score":"0.0","text":"public static long getQIndex(LocalDateTime start, LocalDateTime end)\n {\n long minutes = ChronoUnit.MINUTES.between(start, end);\n\n long mod = minutes % 15;\n long res = 0;\n if ((mod) >= 8L) {\n res = minutes + (15 - mod);\n } else {\n res = minutes - mod;\n }\n\n return res / 15;\n }","title":""}],"string":"[\n {\n \"docid\": \"d261412d76c7344a671ad3b23521c4f6\",\n \"score\": \"0.0\",\n \"text\": \"public static long getQIndex(LocalDateTime start, LocalDateTime end)\\n {\\n long minutes = ChronoUnit.MINUTES.between(start, end);\\n\\n long mod = minutes % 15;\\n long res = 0;\\n if ((mod) >= 8L) {\\n res = minutes + (15 - mod);\\n } else {\\n res = minutes - mod;\\n }\\n\\n return res / 15;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"828fff8e31060eb82b6c75d627b2aebf","score":"0.69301635","text":"public static Date startOfDayLocal() {\n return startOfDayLocal(new Date());\n }","title":""},{"docid":"2ffa69b63ec1fd4b8e20986f4c5e2b4e","score":"0.62856555","text":"public LocalDateTime getLocalStart() {\n return getStart() == null ? null : DateUtils.toLocalDateTime(getStart());\n }","title":""},{"docid":"709b8ae4e79418229645fdac9d6a7553","score":"0.6090573","text":"public LocalDate getDateStart()\n {\n return dateStart;\n }","title":""},{"docid":"07e5f62adf4ca90c3d61bf61f9919f39","score":"0.6083499","text":"@Test\n public void test1(){\n LocalDateTime ldt = LocalDateTime.now();\n System.out.println(\"ldt = \" + ldt);\n\n LocalDate of1 = LocalDate.of(2019, 9, 7);\n System.out.println(\"of1 = \" + of1);\n\n LocalDateTime of = LocalDateTime.of(2019, 9, 7, 18, 8, 34);\n System.out.println(\"of = \" + of);\n\n System.out.println(ldt.plusYears(2));\n\n System.out.println(ldt.minusHours(5));\n\n System.out.println(ldt.getDayOfMonth());\n System.out.println(ldt.getDayOfYear());\n System.out.println(ldt.getDayOfWeek());\n System.out.println(ldt.getMonthValue());\n\n\n System.out.println();\n }","title":""},{"docid":"5a325347d1deea253d9763dd1dcf40fc","score":"0.606746","text":"LocalDate getStartDate();","title":""},{"docid":"a90e329f5e6aac001cfd995f21e82cad","score":"0.60587","text":"public LocalDateTime getBeginDate() {\n return beginDate;\n }","title":""},{"docid":"52ebaefd0c94ff99f6d17b5faa653ef1","score":"0.601967","text":"private static LocalDateTime atMidnight(LocalDateTime input) {\n\n return input.withHour(0).withMinute(0).withSecond(0).withNano(0);\n }","title":""},{"docid":"52ebaefd0c94ff99f6d17b5faa653ef1","score":"0.601967","text":"private static LocalDateTime atMidnight(LocalDateTime input) {\n\n return input.withHour(0).withMinute(0).withSecond(0).withNano(0);\n }","title":""},{"docid":"0e9926c0666e3840aebbbd354f895e0e","score":"0.6001585","text":"LocalDate getFrom();","title":""},{"docid":"28eefd8ae1464b8e064b96db7670b180","score":"0.5953285","text":"public com.eyeblaster.api.v1.datacontracts.smart.APIDateTime getStartDate(){\n return localStartDate;\n }","title":""},{"docid":"92052c0445c4750064ba1936e1d234a1","score":"0.5915426","text":"Date getStart();","title":""},{"docid":"60bb2be94cca98d6f88e65823ca46709","score":"0.58137816","text":"public LocalDateTime getStartDateUTC()\n {\n return TimeUtils.toDateTimeUTC(getStartDate());\n }","title":""},{"docid":"f996f9b342fc6c851dcad1de66707e4e","score":"0.57987416","text":"LocalDateTime getEventDateAndTime();","title":""},{"docid":"50949c1eb08a94e5a7b58ea16a78e9c4","score":"0.5797521","text":"@Test\n public void contextLoads() {\n\n LocalDate now = LocalDate.now();\n LocalDate localDate = now.plusDays(2);\n LocalDateTime of = LocalDateTime.of(localDate, LocalTime.MAX);\n String format = of.format(DateTimeFormatter.ofPattern(\"yyyy-MM-dd HH:mm:ss\"));\n System.out.println(format);\n\n\n }","title":""},{"docid":"0416a92da17e52508ea82990bd4068b2","score":"0.5765649","text":"OffsetDateTime startTime();","title":""},{"docid":"fd5b483b1ddca0b3da1f3e93da1baf3b","score":"0.5702481","text":"int getArtificalLightStartMinuteOfDay();","title":""},{"docid":"c03f3f5cd4338c8cb234cc9ad091b73b","score":"0.5700383","text":"private static LocalDateTime getStartIntervalDate(InfoInterval interval) {\n\t\treturn LocalDateTime.now(Clock.systemUTC()).minusMonths(interval.getCount());\n\t}","title":""},{"docid":"94f3703a47ad82ecea37f0958244e663","score":"0.56629103","text":"public LocalTime getStart() {\n\t\treturn this.start;\n\t}","title":""},{"docid":"8910c679baa626ef361558245b0d3d6c","score":"0.5559936","text":"public LocalDate getStartDate() {\n return startDate;\n }","title":""},{"docid":"0e44bbe422fd541f3d29e27d991b99cd","score":"0.55421966","text":"DateTime getStartDateTime(String input);","title":""},{"docid":"a1f47b8f99d7b65aa1d7d1ae8344f36e","score":"0.553436","text":"java.lang.String getStartDateTime();","title":""},{"docid":"d8205e1981ec86a9fba4546b193d72f2","score":"0.5533443","text":"public void setBeginDate(LocalDateTime beginDate) {\n this.beginDate = beginDate;\n }","title":""},{"docid":"979b9b9bce01c2f37b6da16cf9938b93","score":"0.5518676","text":"private static Date gmttoLocalDate(Date date) {\n String timeZone = Calendar.getInstance().getTimeZone().getID();\n Date local = new Date(date.getTime()\n + TimeZone.getTimeZone(timeZone).getOffset(date.getTime()));\n return local;\n }","title":""},{"docid":"90421b292c61557e12781827fa4f7612","score":"0.5515881","text":"@Override\n public LocalDate getDate() {\n return this.timeStart;\n }","title":""},{"docid":"dd168b2ee817a1185fe83514aeec08f7","score":"0.5485348","text":"public Date getFirstStartDate();","title":""},{"docid":"b41ad0236080608b1812215e2bc2c2c2","score":"0.5480424","text":"public LocalDate getStartDate(){\n LocalDate date = LocalDate.of(invoiceYear,invoiceMonth,1);\n return date;\n }","title":""},{"docid":"86c1bb7b76b555b69cf740c7d7aca795","score":"0.5462349","text":"private LocalDateTime toStartDate(final String arg){\n\n return arg == null ? null : LocalDateTime.from(formatter.parse(arg));\n }","title":""},{"docid":"50244295157b2fbce43cc4e5c97467cd","score":"0.54547846","text":"public LocalDateTime getDateTime() {\n return dateTime;\n }","title":""},{"docid":"671ff5afaf91f7180583d0f45cd65f55","score":"0.54507774","text":"Date getStartDate();","title":""},{"docid":"671ff5afaf91f7180583d0f45cd65f55","score":"0.54507774","text":"Date getStartDate();","title":""},{"docid":"d9d32c8dce11808526ca4ea26bccbbbe","score":"0.54466355","text":"public long atStartOfDay() {\n Calendar calendar = Calendar.getInstance();\n calendar.set(calendar.get(Calendar.YEAR),calendar.get(Calendar.MONTH), calendar.get(DATE),\n 0, 0, 0);\n return calendar.getTimeInMillis();\n }","title":""},{"docid":"0aab4bd3bdbbbe7d65bb1562c4897af5","score":"0.54346037","text":"public LocalDateTime getDate() {\n return date;\n }","title":""},{"docid":"0aab4bd3bdbbbe7d65bb1562c4897af5","score":"0.54346037","text":"public LocalDateTime getDate() {\n return date;\n }","title":""},{"docid":"869123d1a69a47fcb8e7d0843b0ad35b","score":"0.54337984","text":"public LocalDate getStartDate() {\n return startDate;\n }","title":""},{"docid":"869123d1a69a47fcb8e7d0843b0ad35b","score":"0.54337984","text":"public LocalDate getStartDate() {\n return startDate;\n }","title":""},{"docid":"869123d1a69a47fcb8e7d0843b0ad35b","score":"0.54337984","text":"public LocalDate getStartDate() {\n return startDate;\n }","title":""},{"docid":"aa6dd9804fc7745e469d3f06cdc12636","score":"0.5431994","text":"public Date getStartDate();","title":""},{"docid":"9bad56f9c55e80d04af1d760233cf48c","score":"0.5426279","text":"public void testLocalDateTime() {\n LocalDateTime currentTime = LocalDateTime.now();\r\n System.out.println(\"Current DateTime: \" + currentTime);\r\n\r\n LocalDate date1 = currentTime.toLocalDate();\r\n System.out.println(\"date1: \" + date1);\r\n\r\n LocalTime time = currentTime.toLocalTime();\r\n System.out.println(\"time: \"+time);\r\n\r\n int year = currentTime.getYear();\r\n Month month = currentTime.getMonth();\r\n int day = currentTime.getDayOfMonth();\r\n int hour =currentTime.getHour();\r\n int minutes = currentTime.getMinute();\r\n int seconds = currentTime.getSecond();\r\n\r\n System.out.println(\"Year: \"+year+\" Month: \" + month +\" day: \" + day +\" Hour: \"+hour+\" Minute: \"+minutes+\" seconds: \" + seconds);\r\n\r\n LocalDateTime date2 = currentTime.withDayOfMonth(10).withYear(2012);\r\n System.out.println(\"date2: \" + date2);\r\n\r\n //12 december 2014\r\n LocalDate date3 = LocalDate.of(2014, Month.DECEMBER, 12);\r\n System.out.println(\"date3: \" + date3);\r\n\r\n //22 hour 15 minutes\r\n LocalTime date4 = LocalTime.of(22, 15);\r\n System.out.println(\"date4: \" + date4);\r\n\r\n //parse a string\r\n LocalTime date5 = LocalTime.parse(\"20:15:30\");\r\n System.out.println(\"date5: \" + date5);\r\n }","title":""},{"docid":"176347edac4ebe0d6755d64d7da999f7","score":"0.5392478","text":"public NSTimestamp workStartDate() {\n Calendar cal = Calendar.getInstance();\n cal.setTime(myStartDate);\n cal.set(Calendar.HOUR_OF_DAY, 9);\n cal.set(Calendar.MINUTE, 0);\n cal.set(Calendar.SECOND, 0);\n cal.set(Calendar.MILLISECOND, 0);\n NSTimestamp workStart = new NSTimestamp(cal.getTime());\n return workStart;\n }","title":""},{"docid":"30a9f1274564608184e0144952f79d44","score":"0.5384836","text":"LocalDateTime getAvailablefrom();","title":""},{"docid":"0cfd72301ebda3211968b733c144d21a","score":"0.5376079","text":"public Date getStartDate() ;","title":""},{"docid":"4f70d4e03966deae4ae2156620c999ec","score":"0.5374714","text":"public java.lang.String getStartDate(){\n return localStartDate;\n }","title":""},{"docid":"c4bae54a8d6f4730bb5fc708b17217a9","score":"0.5369519","text":"public void setStart(LocalTime start) {\n\t\tthis.start = start;\n\t}","title":""},{"docid":"a2179d447f415db31eb63f92f5c689d4","score":"0.5352241","text":"private static Date localDateTimeToDate(LocalDateTime ldt) {\n\n return Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant());\n }","title":""},{"docid":"a2179d447f415db31eb63f92f5c689d4","score":"0.5352241","text":"private static Date localDateTimeToDate(LocalDateTime ldt) {\n\n return Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant());\n }","title":""},{"docid":"8aa4ff6ea0e5a3289c61d6f04aa2d606","score":"0.5347024","text":"LocalDate getTo();","title":""},{"docid":"78a484a07cc544edca8558c9238e12fa","score":"0.5324081","text":"com.google.protobuf.Timestamp getStartDate();","title":""},{"docid":"5b9e092a01919f3e84ac1371ca31b2ea","score":"0.53186595","text":"@Test\n void testMonthDayYearMin() {\n assertEquals(LocalDateTime.of(TimeOfYearRange.DEFAULT_LEAP_YEAR, 1, 7, 15, 38),\n TimeOfYearRange.toMonthDayHourMin(LocalDateTime.of(2019, 1, 7, 15, 38, 45, 10))\n );\n }","title":""},{"docid":"94bb94fb62e4691a56aac62600b4a8b8","score":"0.5316095","text":"public static void main(String[] args) {\n LocalDateTime ldt = LocalDateTime.now();\n System.out.println(\"Now: \"+ldt); //YYYY-MM-DDTHH:MM:SS.SSS\n \n LocalTime lt = LocalTime.now();\n LocalDate ld = LocalDate.now();\n LocalDateTime ldt1 = LocalDateTime.of(ld, lt);\n \n \n LocalDateTime ldt2 = LocalDateTime.of(2020, 1, 2, 10, 43); //year,month,day,hour,minute,[second]\n LocalDateTime ldt3 = LocalDateTime.of(2020, Month.JANUARY, 2, 10, 43, 55);\n \n //LocalDateTime all classes are immutable\n \n \n \n }","title":""},{"docid":"7b10c59a859f5d4389b8dafc0214ddea","score":"0.5314053","text":"private Date toDate(LocalDateTime localDateTime) {\n return Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant());\n }","title":""},{"docid":"00978883ea0b03e5cf94746b2f9b014c","score":"0.5305687","text":"public Date getStart_time();","title":""},{"docid":"dae9a8bea7cb6c779eb67764e4ace9d5","score":"0.5304235","text":"public org.hl7.fhir.DateTime addNewStart()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.DateTime target = null;\n target = (org.hl7.fhir.DateTime)get_store().add_element_user(START$0);\n return target;\n }\n }","title":""},{"docid":"c031c8f8df7af93df7b4559a7e0a8ff3","score":"0.5296322","text":"public Instant getStartDate()\n {\n return startDate;\n }","title":""},{"docid":"912c48a18d14cd5b1b689e4122d55472","score":"0.52753097","text":"LocalDate getFirstFlightDate() {\n return LocalDate.of(1903, 12, 17);\n }","title":""},{"docid":"5dc03a4849adf4ef431b1d8ac0f94d8c","score":"0.5250062","text":"@Override\n public LocalDate getLoadStartDate() {\n return Util.adjustToFirstDayOfWeek(getSkinnable().getDate().withDayOfMonth(1), getSkinnable().getFirstDayOfWeek());\n }","title":""},{"docid":"1833205d6fa64676ee74055c10b755a4","score":"0.52464944","text":"public static void main(String[] args) {\n\t\t\n\t\tLocalDateTime ldt = LocalDateTime.now();\n\t\tSystem.out.println(ldt);//2021-03-19T20:09:36.526085300\n\t\t\n\t\tSystem.out.println(ldt.toString());//2021-03-19T20:09:36.526085300\n\t\t\n\t\tString time = ldt.toString();\n\t\t\n\t\tSystem.out.println(time.startsWith(\"2021\"));//true\n\n\t}","title":""},{"docid":"64ef2fad51d47f6140c741278b3c213a","score":"0.52219385","text":"public Time getStartAfternoon() {return StartAfternoon;}","title":""},{"docid":"1ac242216ae46c05cb3d99a42ccafdf8","score":"0.522185","text":"public Date getStartDate() { return startDate; }","title":""},{"docid":"b42c842a989f93339a449dbe3dca036e","score":"0.52156484","text":"@Test\n public void testStartTimeGetter() {\n restaurantHours2 = restaurantHourRepository.findByRestaurant_IdAndDay(restaurant.getId(), 1);\n assertEquals(LocalTime.ofSecondOfDay(1000), restaurantHours2.getStartTime());\n }","title":""},{"docid":"a13ece8fe73abdd403e6592f7d4afd1d","score":"0.5214755","text":"public static Date endOfDayLocal() {\n return endOfDayLocal(new Date());\n }","title":""},{"docid":"028769a2cc8cd0009d73cc69244a2665","score":"0.5213563","text":"public Instant getStart();","title":""},{"docid":"1d2a829b3c274969482777150eea69ac","score":"0.5202518","text":"public java.util.Calendar getStart() {\r\n return localStart;\r\n }","title":""},{"docid":"dfa0da0f579766e876635812ce8bddaa","score":"0.51988775","text":"public void setStartDate(com.eyeblaster.api.v1.datacontracts.smart.APIDateTime param){\n \n this.localStartDate=param;\n \n\n }","title":""},{"docid":"011a545a0cc23666da56d77e3549e812","score":"0.5192058","text":"public Calendar getStart() {\n return start;\n }","title":""},{"docid":"21d0017b518b3443b0ba6e37ebbd0d75","score":"0.51775956","text":"boolean hasStartDateTime();","title":""},{"docid":"566bb4b4261f487cc8c94e7ab2411ac9","score":"0.5166929","text":"OffsetDateTime getJoinDate();","title":""},{"docid":"96890d641e32ff489ee3eda5349758b9","score":"0.5159447","text":"public DateSequenceValueGenerator startingAt(@Nonnull LocalDateTime startDate) {\n return startingAt(startDate.atZone(ZoneId.systemDefault()));\n }","title":""},{"docid":"535982b9fe7cdfa96909113737cfc4b1","score":"0.5156937","text":"public void setStartDate(LocalDate startDate) {\n this.startDate = startDate;\n }","title":""},{"docid":"6596b1884d759f1f433ed3a9edb60446","score":"0.51533055","text":"public Time getStartMorning() {return StartMorning;}","title":""},{"docid":"d504891b4fdb636c2ae79bc3d5d20cc3","score":"0.51425695","text":"Date getStartTime();","title":""},{"docid":"d504891b4fdb636c2ae79bc3d5d20cc3","score":"0.51425695","text":"Date getStartTime();","title":""},{"docid":"572f694d4d30081d08c4517c07dfd463","score":"0.51405895","text":"public org.hl7.fhir.DateTime getStart()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.DateTime target = null;\n target = (org.hl7.fhir.DateTime)get_store().find_element_user(START$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }","title":""},{"docid":"ed1f8c977b8eb1e74000973e667a3ffe","score":"0.5139544","text":"public LocalDateTime getStartTimestamp() {\n\t\treturn startTimestamp;\n\t}","title":""},{"docid":"4fbc42f063699c211ed552ce43a3f16c","score":"0.51365775","text":"public long getStartDateMillis()\n {\n return getStartDate() != null ? getStartDate().toEpochMilli() : 0L;\n }","title":""},{"docid":"fd4fe12c523b4314a2377cac66e55df1","score":"0.51278394","text":"public static void main(String[] args) {\n\t\t\tLocalDateTime today=LocalDateTime.now();\n\t\t\tSystem.out.println(\"Current Date and Time \"+today);\n\t\t\t// Start of the year\n\t\t\t\n\t\t\tLocalDate startDate=LocalDate.of(2019, Month.JANUARY, 1);\n\t\t\tLocalTime startTime=LocalTime.of(00, 1,44,666);\n\t\t\tLocalDateTime start=LocalDateTime.of(startDate, startTime);\n\t\t\tSystem.out.println(\"Start of the year \"+start);\n\t\t\t\n\t}","title":""},{"docid":"8cf24133a74c86d7fb0f8fe302732e3b","score":"0.511962","text":"Date getStartedTime() ;","title":""},{"docid":"45112dc6d23025473707e95b56bd1bd6","score":"0.5117864","text":"Date getStarted();","title":""},{"docid":"a1ea2f0ddcf02977886a1c0d08be12e2","score":"0.51042116","text":"public LocalDateTime getTimeFrom() {\n\t\t\treturn timeFrom;\n\t\t}","title":""},{"docid":"d30d56ace5f875b774de55bcf2f9810b","score":"0.51034147","text":"public java.util.Calendar getDateTime(){\n return localDateTime;\n }","title":""},{"docid":"1be805f2e443b172cf28e0f7d0164658","score":"0.5103305","text":"public Date getStart()\n {\n return m_start;\n }","title":""},{"docid":"9c33e24e8e5b20025f5ec02789ff748e","score":"0.5090328","text":"private LocalDateTime getBookingDay() {\n // launch app at 23:59:00 and keep searching until 0:00:00:000\n LocalDate today = LocalDate.now(ZoneId.of(\"America/Montreal\"));\n LocalTime bookingTime = LocalTime.of(23, 59, 00, 00000);\n LocalDateTime now = LocalDateTime.now(ZoneId.of(\"America/Montreal\"));\n\n // book three days later if before 00:00:00\n if (now.isAfter(LocalDateTime.of(today, bookingTime))) {\n return now.plusDays(3);\n }\n // book two days later if after 00:00:00\n return now.plusDays(2);\n }","title":""},{"docid":"960375efea4872ef1e433c6965f5f3de","score":"0.50892746","text":"LocalDateTime getAvailableto();","title":""},{"docid":"98e15b1aa02b2a54df9b82a46ba4aca3","score":"0.5085211","text":"Instant getStart();","title":""},{"docid":"68f0d1cee330ec9f1b48bde05554e778","score":"0.5067402","text":"public\n Date\n getStartDate()\n {\n return itsStartDate;\n }","title":""},{"docid":"647600d12b47dd53924d46bf93a99514","score":"0.50618446","text":"public MyDate getStartDate(){\n\treturn startDate;\n }","title":""},{"docid":"966b3e85beaec001b10a516e237f11fb","score":"0.50606453","text":"private Calendar getSchoolStart(List todaysLectures)\n {\n Calendar firstLectureStart = Calendar.getInstance();\n firstLectureStart.set(Calendar.HOUR, todaysLectures.get(0).getPeriodStart()[0]);\n firstLectureStart.set(Calendar.MINUTE, todaysLectures.get(0).getPeriodStart()[1]);\n return firstLectureStart;\n }","title":""},{"docid":"ead50ed1e52c7284e564277384a66aec","score":"0.50598603","text":"public static Date getStartOfDay(Date date) {\n Calendar calendar = Calendar.getInstance();\n calendar.setTime(date);\n calendar.set(Calendar.HOUR_OF_DAY, 0);\n calendar.set(Calendar.MINUTE, 0);\n calendar.set(Calendar.SECOND, 0);\n calendar.set(Calendar.MILLISECOND, 0);\n return calendar.getTime();\n }","title":""},{"docid":"4e09e33d3efd2ebda4df0f459ce43df9","score":"0.5054981","text":"@Override\n public boolean isOpenToday(LocalDateTime day){\n return true;\n }","title":""},{"docid":"c996f5fdf60f809970855eecd87cdcbf","score":"0.5050848","text":"private static DateTime calculatePublishTimeBeforeCriterion() {\n return DateUtil.now().plusMinutes(1).toLocalDate().minusDays(1).toDateTimeAtStartOfDay();\n }","title":""},{"docid":"065a7ae04b5e7976efedf5792b261938","score":"0.50504476","text":"public com.eyeblaster.api.v1.datacontracts.smart.APIDateTime getStartingHours(){\n return localStartingHours;\n }","title":""},{"docid":"2cc7b320b238f008df4683c6782a10fc","score":"0.50454104","text":"@Test\n public void testGetTransactionDateTime() {\n setUp();\n LocalDateTime expResult = GOOD_DATE;\n LocalDateTime result = instance.getTransactionDateTime();\n assertEquals(expResult, result);\n }","title":""},{"docid":"7d9e07e90c41242483f33fa2487e9fe3","score":"0.50386554","text":"public void setStartDate(LocalDate startDate) {\n this.startDate = startDate;\n }","title":""},{"docid":"7d1bf8e71b5661379ea4d00d69fc2ca8","score":"0.50358665","text":"public boolean startDate() //4th a question\n {\n Calendar c = Calendar.getInstance();\n\n// Set the calendar to monday of the current week\n c.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);\n\n// Print dates of the current week starting on Monday\n DateFormat df = new SimpleDateFormat(\"EEE dd/MM/yyyy\");\n String s1 = df.format(c.getTime());\n if (s1.equals(\"Mon 18/02/2019\"))\n return true;\n else\n return false;\n\n }","title":""},{"docid":"a5e3806a365fac53b70771b9789d8bd9","score":"0.5033871","text":"public LocalDateTime getDate() {\n return this.date;\n }","title":""},{"docid":"a2b2e48c893c2c692cfb8b6e441c5104","score":"0.502992","text":"public Date getStartDate()\r\n/* 76: */ {\r\n/* 77: 68 */ return this.startDate;\r\n/* 78: */ }","title":""},{"docid":"f5d93c3f5b1008e065db6b8c18e7535e","score":"0.5024651","text":"public static Date dateToDateStartDay(Date date) { \r\n Calendar cal = Calendar.getInstance();\r\n cal.setTime(date);\r\n cal.set(Calendar.HOUR_OF_DAY, 0);\r\n cal.set(Calendar.MINUTE, 0);\r\n cal.set(Calendar.SECOND, 0);\r\n cal.set(Calendar.MILLISECOND, 0);\r\n return cal.getTime();\r\n }","title":""},{"docid":"4975d567d782e7ea266b50b95d751eef","score":"0.50189805","text":"public Date getStartDate() {\n return startDate;\n }","title":""},{"docid":"4975d567d782e7ea266b50b95d751eef","score":"0.50189805","text":"public Date getStartDate() {\n return startDate;\n }","title":""},{"docid":"4975d567d782e7ea266b50b95d751eef","score":"0.50189805","text":"public Date getStartDate() {\n return startDate;\n }","title":""},{"docid":"4975d567d782e7ea266b50b95d751eef","score":"0.50189805","text":"public Date getStartDate() {\n return startDate;\n }","title":""},{"docid":"4975d567d782e7ea266b50b95d751eef","score":"0.50189805","text":"public Date getStartDate() {\n return startDate;\n }","title":""}],"string":"[\n {\n \"docid\": \"828fff8e31060eb82b6c75d627b2aebf\",\n \"score\": \"0.69301635\",\n \"text\": \"public static Date startOfDayLocal() {\\n return startOfDayLocal(new Date());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ffa69b63ec1fd4b8e20986f4c5e2b4e\",\n \"score\": \"0.62856555\",\n \"text\": \"public LocalDateTime getLocalStart() {\\n return getStart() == null ? null : DateUtils.toLocalDateTime(getStart());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"709b8ae4e79418229645fdac9d6a7553\",\n \"score\": \"0.6090573\",\n \"text\": \"public LocalDate getDateStart()\\n {\\n return dateStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07e5f62adf4ca90c3d61bf61f9919f39\",\n \"score\": \"0.6083499\",\n \"text\": \"@Test\\n public void test1(){\\n LocalDateTime ldt = LocalDateTime.now();\\n System.out.println(\\\"ldt = \\\" + ldt);\\n\\n LocalDate of1 = LocalDate.of(2019, 9, 7);\\n System.out.println(\\\"of1 = \\\" + of1);\\n\\n LocalDateTime of = LocalDateTime.of(2019, 9, 7, 18, 8, 34);\\n System.out.println(\\\"of = \\\" + of);\\n\\n System.out.println(ldt.plusYears(2));\\n\\n System.out.println(ldt.minusHours(5));\\n\\n System.out.println(ldt.getDayOfMonth());\\n System.out.println(ldt.getDayOfYear());\\n System.out.println(ldt.getDayOfWeek());\\n System.out.println(ldt.getMonthValue());\\n\\n\\n System.out.println();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a325347d1deea253d9763dd1dcf40fc\",\n \"score\": \"0.606746\",\n \"text\": \"LocalDate getStartDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a90e329f5e6aac001cfd995f21e82cad\",\n \"score\": \"0.60587\",\n \"text\": \"public LocalDateTime getBeginDate() {\\n return beginDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52ebaefd0c94ff99f6d17b5faa653ef1\",\n \"score\": \"0.601967\",\n \"text\": \"private static LocalDateTime atMidnight(LocalDateTime input) {\\n\\n return input.withHour(0).withMinute(0).withSecond(0).withNano(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52ebaefd0c94ff99f6d17b5faa653ef1\",\n \"score\": \"0.601967\",\n \"text\": \"private static LocalDateTime atMidnight(LocalDateTime input) {\\n\\n return input.withHour(0).withMinute(0).withSecond(0).withNano(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e9926c0666e3840aebbbd354f895e0e\",\n \"score\": \"0.6001585\",\n \"text\": \"LocalDate getFrom();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28eefd8ae1464b8e064b96db7670b180\",\n \"score\": \"0.5953285\",\n \"text\": \"public com.eyeblaster.api.v1.datacontracts.smart.APIDateTime getStartDate(){\\n return localStartDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92052c0445c4750064ba1936e1d234a1\",\n \"score\": \"0.5915426\",\n \"text\": \"Date getStart();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60bb2be94cca98d6f88e65823ca46709\",\n \"score\": \"0.58137816\",\n \"text\": \"public LocalDateTime getStartDateUTC()\\n {\\n return TimeUtils.toDateTimeUTC(getStartDate());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f996f9b342fc6c851dcad1de66707e4e\",\n \"score\": \"0.57987416\",\n \"text\": \"LocalDateTime getEventDateAndTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50949c1eb08a94e5a7b58ea16a78e9c4\",\n \"score\": \"0.5797521\",\n \"text\": \"@Test\\n public void contextLoads() {\\n\\n LocalDate now = LocalDate.now();\\n LocalDate localDate = now.plusDays(2);\\n LocalDateTime of = LocalDateTime.of(localDate, LocalTime.MAX);\\n String format = of.format(DateTimeFormatter.ofPattern(\\\"yyyy-MM-dd HH:mm:ss\\\"));\\n System.out.println(format);\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0416a92da17e52508ea82990bd4068b2\",\n \"score\": \"0.5765649\",\n \"text\": \"OffsetDateTime startTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd5b483b1ddca0b3da1f3e93da1baf3b\",\n \"score\": \"0.5702481\",\n \"text\": \"int getArtificalLightStartMinuteOfDay();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c03f3f5cd4338c8cb234cc9ad091b73b\",\n \"score\": \"0.5700383\",\n \"text\": \"private static LocalDateTime getStartIntervalDate(InfoInterval interval) {\\n\\t\\treturn LocalDateTime.now(Clock.systemUTC()).minusMonths(interval.getCount());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94f3703a47ad82ecea37f0958244e663\",\n \"score\": \"0.56629103\",\n \"text\": \"public LocalTime getStart() {\\n\\t\\treturn this.start;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8910c679baa626ef361558245b0d3d6c\",\n \"score\": \"0.5559936\",\n \"text\": \"public LocalDate getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e44bbe422fd541f3d29e27d991b99cd\",\n \"score\": \"0.55421966\",\n \"text\": \"DateTime getStartDateTime(String input);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1f47b8f99d7b65aa1d7d1ae8344f36e\",\n \"score\": \"0.553436\",\n \"text\": \"java.lang.String getStartDateTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8205e1981ec86a9fba4546b193d72f2\",\n \"score\": \"0.5533443\",\n \"text\": \"public void setBeginDate(LocalDateTime beginDate) {\\n this.beginDate = beginDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"979b9b9bce01c2f37b6da16cf9938b93\",\n \"score\": \"0.5518676\",\n \"text\": \"private static Date gmttoLocalDate(Date date) {\\n String timeZone = Calendar.getInstance().getTimeZone().getID();\\n Date local = new Date(date.getTime()\\n + TimeZone.getTimeZone(timeZone).getOffset(date.getTime()));\\n return local;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90421b292c61557e12781827fa4f7612\",\n \"score\": \"0.5515881\",\n \"text\": \"@Override\\n public LocalDate getDate() {\\n return this.timeStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd168b2ee817a1185fe83514aeec08f7\",\n \"score\": \"0.5485348\",\n \"text\": \"public Date getFirstStartDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b41ad0236080608b1812215e2bc2c2c2\",\n \"score\": \"0.5480424\",\n \"text\": \"public LocalDate getStartDate(){\\n LocalDate date = LocalDate.of(invoiceYear,invoiceMonth,1);\\n return date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86c1bb7b76b555b69cf740c7d7aca795\",\n \"score\": \"0.5462349\",\n \"text\": \"private LocalDateTime toStartDate(final String arg){\\n\\n return arg == null ? null : LocalDateTime.from(formatter.parse(arg));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50244295157b2fbce43cc4e5c97467cd\",\n \"score\": \"0.54547846\",\n \"text\": \"public LocalDateTime getDateTime() {\\n return dateTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"671ff5afaf91f7180583d0f45cd65f55\",\n \"score\": \"0.54507774\",\n \"text\": \"Date getStartDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"671ff5afaf91f7180583d0f45cd65f55\",\n \"score\": \"0.54507774\",\n \"text\": \"Date getStartDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d32c8dce11808526ca4ea26bccbbbe\",\n \"score\": \"0.54466355\",\n \"text\": \"public long atStartOfDay() {\\n Calendar calendar = Calendar.getInstance();\\n calendar.set(calendar.get(Calendar.YEAR),calendar.get(Calendar.MONTH), calendar.get(DATE),\\n 0, 0, 0);\\n return calendar.getTimeInMillis();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aab4bd3bdbbbe7d65bb1562c4897af5\",\n \"score\": \"0.54346037\",\n \"text\": \"public LocalDateTime getDate() {\\n return date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aab4bd3bdbbbe7d65bb1562c4897af5\",\n \"score\": \"0.54346037\",\n \"text\": \"public LocalDateTime getDate() {\\n return date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"869123d1a69a47fcb8e7d0843b0ad35b\",\n \"score\": \"0.54337984\",\n \"text\": \"public LocalDate getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"869123d1a69a47fcb8e7d0843b0ad35b\",\n \"score\": \"0.54337984\",\n \"text\": \"public LocalDate getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"869123d1a69a47fcb8e7d0843b0ad35b\",\n \"score\": \"0.54337984\",\n \"text\": \"public LocalDate getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa6dd9804fc7745e469d3f06cdc12636\",\n \"score\": \"0.5431994\",\n \"text\": \"public Date getStartDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bad56f9c55e80d04af1d760233cf48c\",\n \"score\": \"0.5426279\",\n \"text\": \"public void testLocalDateTime() {\\n LocalDateTime currentTime = LocalDateTime.now();\\r\\n System.out.println(\\\"Current DateTime: \\\" + currentTime);\\r\\n\\r\\n LocalDate date1 = currentTime.toLocalDate();\\r\\n System.out.println(\\\"date1: \\\" + date1);\\r\\n\\r\\n LocalTime time = currentTime.toLocalTime();\\r\\n System.out.println(\\\"time: \\\"+time);\\r\\n\\r\\n int year = currentTime.getYear();\\r\\n Month month = currentTime.getMonth();\\r\\n int day = currentTime.getDayOfMonth();\\r\\n int hour =currentTime.getHour();\\r\\n int minutes = currentTime.getMinute();\\r\\n int seconds = currentTime.getSecond();\\r\\n\\r\\n System.out.println(\\\"Year: \\\"+year+\\\" Month: \\\" + month +\\\" day: \\\" + day +\\\" Hour: \\\"+hour+\\\" Minute: \\\"+minutes+\\\" seconds: \\\" + seconds);\\r\\n\\r\\n LocalDateTime date2 = currentTime.withDayOfMonth(10).withYear(2012);\\r\\n System.out.println(\\\"date2: \\\" + date2);\\r\\n\\r\\n //12 december 2014\\r\\n LocalDate date3 = LocalDate.of(2014, Month.DECEMBER, 12);\\r\\n System.out.println(\\\"date3: \\\" + date3);\\r\\n\\r\\n //22 hour 15 minutes\\r\\n LocalTime date4 = LocalTime.of(22, 15);\\r\\n System.out.println(\\\"date4: \\\" + date4);\\r\\n\\r\\n //parse a string\\r\\n LocalTime date5 = LocalTime.parse(\\\"20:15:30\\\");\\r\\n System.out.println(\\\"date5: \\\" + date5);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"176347edac4ebe0d6755d64d7da999f7\",\n \"score\": \"0.5392478\",\n \"text\": \"public NSTimestamp workStartDate() {\\n Calendar cal = Calendar.getInstance();\\n cal.setTime(myStartDate);\\n cal.set(Calendar.HOUR_OF_DAY, 9);\\n cal.set(Calendar.MINUTE, 0);\\n cal.set(Calendar.SECOND, 0);\\n cal.set(Calendar.MILLISECOND, 0);\\n NSTimestamp workStart = new NSTimestamp(cal.getTime());\\n return workStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30a9f1274564608184e0144952f79d44\",\n \"score\": \"0.5384836\",\n \"text\": \"LocalDateTime getAvailablefrom();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cfd72301ebda3211968b733c144d21a\",\n \"score\": \"0.5376079\",\n \"text\": \"public Date getStartDate() ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f70d4e03966deae4ae2156620c999ec\",\n \"score\": \"0.5374714\",\n \"text\": \"public java.lang.String getStartDate(){\\n return localStartDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4bae54a8d6f4730bb5fc708b17217a9\",\n \"score\": \"0.5369519\",\n \"text\": \"public void setStart(LocalTime start) {\\n\\t\\tthis.start = start;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2179d447f415db31eb63f92f5c689d4\",\n \"score\": \"0.5352241\",\n \"text\": \"private static Date localDateTimeToDate(LocalDateTime ldt) {\\n\\n return Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2179d447f415db31eb63f92f5c689d4\",\n \"score\": \"0.5352241\",\n \"text\": \"private static Date localDateTimeToDate(LocalDateTime ldt) {\\n\\n return Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8aa4ff6ea0e5a3289c61d6f04aa2d606\",\n \"score\": \"0.5347024\",\n \"text\": \"LocalDate getTo();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a484a07cc544edca8558c9238e12fa\",\n \"score\": \"0.5324081\",\n \"text\": \"com.google.protobuf.Timestamp getStartDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b9e092a01919f3e84ac1371ca31b2ea\",\n \"score\": \"0.53186595\",\n \"text\": \"@Test\\n void testMonthDayYearMin() {\\n assertEquals(LocalDateTime.of(TimeOfYearRange.DEFAULT_LEAP_YEAR, 1, 7, 15, 38),\\n TimeOfYearRange.toMonthDayHourMin(LocalDateTime.of(2019, 1, 7, 15, 38, 45, 10))\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94bb94fb62e4691a56aac62600b4a8b8\",\n \"score\": \"0.5316095\",\n \"text\": \"public static void main(String[] args) {\\n LocalDateTime ldt = LocalDateTime.now();\\n System.out.println(\\\"Now: \\\"+ldt); //YYYY-MM-DDTHH:MM:SS.SSS\\n \\n LocalTime lt = LocalTime.now();\\n LocalDate ld = LocalDate.now();\\n LocalDateTime ldt1 = LocalDateTime.of(ld, lt);\\n \\n \\n LocalDateTime ldt2 = LocalDateTime.of(2020, 1, 2, 10, 43); //year,month,day,hour,minute,[second]\\n LocalDateTime ldt3 = LocalDateTime.of(2020, Month.JANUARY, 2, 10, 43, 55);\\n \\n //LocalDateTime all classes are immutable\\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b10c59a859f5d4389b8dafc0214ddea\",\n \"score\": \"0.5314053\",\n \"text\": \"private Date toDate(LocalDateTime localDateTime) {\\n return Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00978883ea0b03e5cf94746b2f9b014c\",\n \"score\": \"0.5305687\",\n \"text\": \"public Date getStart_time();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dae9a8bea7cb6c779eb67764e4ace9d5\",\n \"score\": \"0.5304235\",\n \"text\": \"public org.hl7.fhir.DateTime addNewStart()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.hl7.fhir.DateTime target = null;\\n target = (org.hl7.fhir.DateTime)get_store().add_element_user(START$0);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c031c8f8df7af93df7b4559a7e0a8ff3\",\n \"score\": \"0.5296322\",\n \"text\": \"public Instant getStartDate()\\n {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"912c48a18d14cd5b1b689e4122d55472\",\n \"score\": \"0.52753097\",\n \"text\": \"LocalDate getFirstFlightDate() {\\n return LocalDate.of(1903, 12, 17);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dc03a4849adf4ef431b1d8ac0f94d8c\",\n \"score\": \"0.5250062\",\n \"text\": \"@Override\\n public LocalDate getLoadStartDate() {\\n return Util.adjustToFirstDayOfWeek(getSkinnable().getDate().withDayOfMonth(1), getSkinnable().getFirstDayOfWeek());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1833205d6fa64676ee74055c10b755a4\",\n \"score\": \"0.52464944\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\tLocalDateTime ldt = LocalDateTime.now();\\n\\t\\tSystem.out.println(ldt);//2021-03-19T20:09:36.526085300\\n\\t\\t\\n\\t\\tSystem.out.println(ldt.toString());//2021-03-19T20:09:36.526085300\\n\\t\\t\\n\\t\\tString time = ldt.toString();\\n\\t\\t\\n\\t\\tSystem.out.println(time.startsWith(\\\"2021\\\"));//true\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64ef2fad51d47f6140c741278b3c213a\",\n \"score\": \"0.52219385\",\n \"text\": \"public Time getStartAfternoon() {return StartAfternoon;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ac242216ae46c05cb3d99a42ccafdf8\",\n \"score\": \"0.522185\",\n \"text\": \"public Date getStartDate() { return startDate; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b42c842a989f93339a449dbe3dca036e\",\n \"score\": \"0.52156484\",\n \"text\": \"@Test\\n public void testStartTimeGetter() {\\n restaurantHours2 = restaurantHourRepository.findByRestaurant_IdAndDay(restaurant.getId(), 1);\\n assertEquals(LocalTime.ofSecondOfDay(1000), restaurantHours2.getStartTime());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a13ece8fe73abdd403e6592f7d4afd1d\",\n \"score\": \"0.5214755\",\n \"text\": \"public static Date endOfDayLocal() {\\n return endOfDayLocal(new Date());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"028769a2cc8cd0009d73cc69244a2665\",\n \"score\": \"0.5213563\",\n \"text\": \"public Instant getStart();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d2a829b3c274969482777150eea69ac\",\n \"score\": \"0.5202518\",\n \"text\": \"public java.util.Calendar getStart() {\\r\\n return localStart;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfa0da0f579766e876635812ce8bddaa\",\n \"score\": \"0.51988775\",\n \"text\": \"public void setStartDate(com.eyeblaster.api.v1.datacontracts.smart.APIDateTime param){\\n \\n this.localStartDate=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"011a545a0cc23666da56d77e3549e812\",\n \"score\": \"0.5192058\",\n \"text\": \"public Calendar getStart() {\\n return start;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21d0017b518b3443b0ba6e37ebbd0d75\",\n \"score\": \"0.51775956\",\n \"text\": \"boolean hasStartDateTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"566bb4b4261f487cc8c94e7ab2411ac9\",\n \"score\": \"0.5166929\",\n \"text\": \"OffsetDateTime getJoinDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96890d641e32ff489ee3eda5349758b9\",\n \"score\": \"0.5159447\",\n \"text\": \"public DateSequenceValueGenerator startingAt(@Nonnull LocalDateTime startDate) {\\n return startingAt(startDate.atZone(ZoneId.systemDefault()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"535982b9fe7cdfa96909113737cfc4b1\",\n \"score\": \"0.5156937\",\n \"text\": \"public void setStartDate(LocalDate startDate) {\\n this.startDate = startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6596b1884d759f1f433ed3a9edb60446\",\n \"score\": \"0.51533055\",\n \"text\": \"public Time getStartMorning() {return StartMorning;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d504891b4fdb636c2ae79bc3d5d20cc3\",\n \"score\": \"0.51425695\",\n \"text\": \"Date getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d504891b4fdb636c2ae79bc3d5d20cc3\",\n \"score\": \"0.51425695\",\n \"text\": \"Date getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"572f694d4d30081d08c4517c07dfd463\",\n \"score\": \"0.51405895\",\n \"text\": \"public org.hl7.fhir.DateTime getStart()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.hl7.fhir.DateTime target = null;\\n target = (org.hl7.fhir.DateTime)get_store().find_element_user(START$0, 0);\\n if (target == null)\\n {\\n return null;\\n }\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed1f8c977b8eb1e74000973e667a3ffe\",\n \"score\": \"0.5139544\",\n \"text\": \"public LocalDateTime getStartTimestamp() {\\n\\t\\treturn startTimestamp;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fbc42f063699c211ed552ce43a3f16c\",\n \"score\": \"0.51365775\",\n \"text\": \"public long getStartDateMillis()\\n {\\n return getStartDate() != null ? getStartDate().toEpochMilli() : 0L;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd4fe12c523b4314a2377cac66e55df1\",\n \"score\": \"0.51278394\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\tLocalDateTime today=LocalDateTime.now();\\n\\t\\t\\tSystem.out.println(\\\"Current Date and Time \\\"+today);\\n\\t\\t\\t// Start of the year\\n\\t\\t\\t\\n\\t\\t\\tLocalDate startDate=LocalDate.of(2019, Month.JANUARY, 1);\\n\\t\\t\\tLocalTime startTime=LocalTime.of(00, 1,44,666);\\n\\t\\t\\tLocalDateTime start=LocalDateTime.of(startDate, startTime);\\n\\t\\t\\tSystem.out.println(\\\"Start of the year \\\"+start);\\n\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cf24133a74c86d7fb0f8fe302732e3b\",\n \"score\": \"0.511962\",\n \"text\": \"Date getStartedTime() ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45112dc6d23025473707e95b56bd1bd6\",\n \"score\": \"0.5117864\",\n \"text\": \"Date getStarted();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1ea2f0ddcf02977886a1c0d08be12e2\",\n \"score\": \"0.51042116\",\n \"text\": \"public LocalDateTime getTimeFrom() {\\n\\t\\t\\treturn timeFrom;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d30d56ace5f875b774de55bcf2f9810b\",\n \"score\": \"0.51034147\",\n \"text\": \"public java.util.Calendar getDateTime(){\\n return localDateTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1be805f2e443b172cf28e0f7d0164658\",\n \"score\": \"0.5103305\",\n \"text\": \"public Date getStart()\\n {\\n return m_start;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c33e24e8e5b20025f5ec02789ff748e\",\n \"score\": \"0.5090328\",\n \"text\": \"private LocalDateTime getBookingDay() {\\n // launch app at 23:59:00 and keep searching until 0:00:00:000\\n LocalDate today = LocalDate.now(ZoneId.of(\\\"America/Montreal\\\"));\\n LocalTime bookingTime = LocalTime.of(23, 59, 00, 00000);\\n LocalDateTime now = LocalDateTime.now(ZoneId.of(\\\"America/Montreal\\\"));\\n\\n // book three days later if before 00:00:00\\n if (now.isAfter(LocalDateTime.of(today, bookingTime))) {\\n return now.plusDays(3);\\n }\\n // book two days later if after 00:00:00\\n return now.plusDays(2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"960375efea4872ef1e433c6965f5f3de\",\n \"score\": \"0.50892746\",\n \"text\": \"LocalDateTime getAvailableto();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98e15b1aa02b2a54df9b82a46ba4aca3\",\n \"score\": \"0.5085211\",\n \"text\": \"Instant getStart();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68f0d1cee330ec9f1b48bde05554e778\",\n \"score\": \"0.5067402\",\n \"text\": \"public\\n Date\\n getStartDate()\\n {\\n return itsStartDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"647600d12b47dd53924d46bf93a99514\",\n \"score\": \"0.50618446\",\n \"text\": \"public MyDate getStartDate(){\\n\\treturn startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"966b3e85beaec001b10a516e237f11fb\",\n \"score\": \"0.50606453\",\n \"text\": \"private Calendar getSchoolStart(List todaysLectures)\\n {\\n Calendar firstLectureStart = Calendar.getInstance();\\n firstLectureStart.set(Calendar.HOUR, todaysLectures.get(0).getPeriodStart()[0]);\\n firstLectureStart.set(Calendar.MINUTE, todaysLectures.get(0).getPeriodStart()[1]);\\n return firstLectureStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ead50ed1e52c7284e564277384a66aec\",\n \"score\": \"0.50598603\",\n \"text\": \"public static Date getStartOfDay(Date date) {\\n Calendar calendar = Calendar.getInstance();\\n calendar.setTime(date);\\n calendar.set(Calendar.HOUR_OF_DAY, 0);\\n calendar.set(Calendar.MINUTE, 0);\\n calendar.set(Calendar.SECOND, 0);\\n calendar.set(Calendar.MILLISECOND, 0);\\n return calendar.getTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e09e33d3efd2ebda4df0f459ce43df9\",\n \"score\": \"0.5054981\",\n \"text\": \"@Override\\n public boolean isOpenToday(LocalDateTime day){\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c996f5fdf60f809970855eecd87cdcbf\",\n \"score\": \"0.5050848\",\n \"text\": \"private static DateTime calculatePublishTimeBeforeCriterion() {\\n return DateUtil.now().plusMinutes(1).toLocalDate().minusDays(1).toDateTimeAtStartOfDay();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"065a7ae04b5e7976efedf5792b261938\",\n \"score\": \"0.50504476\",\n \"text\": \"public com.eyeblaster.api.v1.datacontracts.smart.APIDateTime getStartingHours(){\\n return localStartingHours;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cc7b320b238f008df4683c6782a10fc\",\n \"score\": \"0.50454104\",\n \"text\": \"@Test\\n public void testGetTransactionDateTime() {\\n setUp();\\n LocalDateTime expResult = GOOD_DATE;\\n LocalDateTime result = instance.getTransactionDateTime();\\n assertEquals(expResult, result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d9e07e90c41242483f33fa2487e9fe3\",\n \"score\": \"0.50386554\",\n \"text\": \"public void setStartDate(LocalDate startDate) {\\n this.startDate = startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d1bf8e71b5661379ea4d00d69fc2ca8\",\n \"score\": \"0.50358665\",\n \"text\": \"public boolean startDate() //4th a question\\n {\\n Calendar c = Calendar.getInstance();\\n\\n// Set the calendar to monday of the current week\\n c.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);\\n\\n// Print dates of the current week starting on Monday\\n DateFormat df = new SimpleDateFormat(\\\"EEE dd/MM/yyyy\\\");\\n String s1 = df.format(c.getTime());\\n if (s1.equals(\\\"Mon 18/02/2019\\\"))\\n return true;\\n else\\n return false;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5e3806a365fac53b70771b9789d8bd9\",\n \"score\": \"0.5033871\",\n \"text\": \"public LocalDateTime getDate() {\\n return this.date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2b2e48c893c2c692cfb8b6e441c5104\",\n \"score\": \"0.502992\",\n \"text\": \"public Date getStartDate()\\r\\n/* 76: */ {\\r\\n/* 77: 68 */ return this.startDate;\\r\\n/* 78: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5d93c3f5b1008e065db6b8c18e7535e\",\n \"score\": \"0.5024651\",\n \"text\": \"public static Date dateToDateStartDay(Date date) { \\r\\n Calendar cal = Calendar.getInstance();\\r\\n cal.setTime(date);\\r\\n cal.set(Calendar.HOUR_OF_DAY, 0);\\r\\n cal.set(Calendar.MINUTE, 0);\\r\\n cal.set(Calendar.SECOND, 0);\\r\\n cal.set(Calendar.MILLISECOND, 0);\\r\\n return cal.getTime();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4975d567d782e7ea266b50b95d751eef\",\n \"score\": \"0.50189805\",\n \"text\": \"public Date getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4975d567d782e7ea266b50b95d751eef\",\n \"score\": \"0.50189805\",\n \"text\": \"public Date getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4975d567d782e7ea266b50b95d751eef\",\n \"score\": \"0.50189805\",\n \"text\": \"public Date getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4975d567d782e7ea266b50b95d751eef\",\n \"score\": \"0.50189805\",\n \"text\": \"public Date getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4975d567d782e7ea266b50b95d751eef\",\n \"score\": \"0.50189805\",\n \"text\": \"public Date getStartDate() {\\n return startDate;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":858,"cells":{"query_id":{"kind":"string","value":"12646d2f36cc8e58c71a2f9f44e07f0c"},"query":{"kind":"string","value":"Set the image to draw on."},"positive_passages":{"kind":"list like","value":[{"docid":"6465f95ab499ec123fea18ab35f193be","score":"0.60957444","text":"public void setImage(Mat img) {\r\n\t\tthis.img = img;\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"6465f95ab499ec123fea18ab35f193be\",\n \"score\": \"0.60957444\",\n \"text\": \"public void setImage(Mat img) {\\r\\n\\t\\tthis.img = img;\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ea88dcedfe38950f8f5d4e625fed127f","score":"0.7897715","text":"private void setImage(Image img){\n gc = (Graphics2D) img.getGraphics();\n gc.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n gc.setPaint(Color.black);\n this.drawnImg = img;\n repaint();\n }","title":""},{"docid":"ab53d45e95cfea0632415a84c619f48e","score":"0.748722","text":"public void setImage(Image new_image) {\n/* 62 */ this.canvas_image = new_image;\n/* 63 */ invalidate();\n/* 64 */ repaint();\n/* */ }","title":""},{"docid":"915f2a6bd0c25bd8bb35fed0f62fd600","score":"0.747898","text":"public void setImage(Image image) {\r\n\tthis.image = image;\r\n\tredraw();\r\n }","title":""},{"docid":"0173e01d77ad26b0bd7e1bfdae9a7480","score":"0.73065335","text":"public void setImage(java.awt.image.BufferedImage image) {\n drawingPanel.setImage(image);\n }","title":""},{"docid":"a09a200cb269f0db36a701712267906b","score":"0.6950965","text":"public void setImage() {\n\t\tcharacter = Toolkit.getDefaultToolkit().getImage(ghost.filename[0][0]);\n\t}","title":""},{"docid":"7141b345ee728f8e905c70c7f087426a","score":"0.69316024","text":"public void setImage(Image image) {\n imageCanvas.setIcon(new ImageIcon(image));\n }","title":""},{"docid":"13685dbc35a4155b509502adca2238d7","score":"0.69133884","text":"public void draw() {\n image.fillRect(7, 7, 16, 16);//interior\n //image.setColor(new java.awt.Color(0, 0, 0));\n image.fillRect(0, 0, 30, 30);//bodor\n setImage(image);\n }","title":""},{"docid":"9b0707b9182aa6ed3f747b87c61718ed","score":"0.6909677","text":"public void draw() {\n\t\tthis.app.image(this.img,this.app.mouseX*850/1000,this.y,this.WIDTH,this.HEIGHT);\n\t}","title":""},{"docid":"e1568313c38b3e978481e9e2f89235a7","score":"0.682167","text":"public void redrawImage(){\n clearImage();\n redrawPoints();\n redrawConnections();\n }","title":""},{"docid":"c7d012b11e7e39f52efca0b1db981fc4","score":"0.66923934","text":"public void Draw() {\r\n\t\tDrawer.DrawImage(img, x, y, width, height);\r\n\t}","title":""},{"docid":"e52690edf7a7dc27b117442b30d33597","score":"0.6656903","text":"public final void setImage(Image image) {\n face = image.getElement();\n updateButtonFace();\n }","title":""},{"docid":"2e2f251f29f7191fc7a9373a7869186e","score":"0.6592912","text":"public void draw(){\n\t\tStdDraw.picture(xxPos, yyPos, imgFileName);\n\t}","title":""},{"docid":"c9679da5e1dfc6b9eef236ee757d44f5","score":"0.6552685","text":"public void setImage(Bitmap image)\n {\n this.image = image;\n }","title":""},{"docid":"661eb9dcae527a572f0d68f2e3bd8293","score":"0.6538272","text":"public void draw(){\n String path = \"./images/\";\n StdDraw.picture(xxPos, yyPos,path+imgFileName);\n }","title":""},{"docid":"f98c5d44a705c9166d77333eca77ba87","score":"0.6495662","text":"public void setImage(Image i)\n\t{\n\tstring = null;\n\timage = i;\n\tiwidth = Util.getWidth(image);\n\tiheight = Util.getHeight(image);\n\trepaint();\n\t}","title":""},{"docid":"447edadf23de2093e5c4bc669515a743","score":"0.6489994","text":"public void setImg(Image img) {\n\t\tif(getState()==\"alive\"){\n\t\t\tif(getPosframe()%2==0){\n\t\t\t\tif(getGhostdy()==-1){ this.img = up1 ;}\n\t\t\t\telse if(getGhostdy()==1){this.img = down1 ;}\n\t\t\t\telse if(getGhostdx()==1){this.img = right1 ;}\n\t\t\t\telse if(getGhostdx()==-1){this.img = left1 ;}\n\t\t\t\telse if(getGhostdx()==0 && getGhostdy()==0 ){this.img = down1 ;}\n\t\t\t}else{\n\t\t\t\tif(getGhostdy()==-1){ this.img = up2;}\n\t\t\t\telse if(getGhostdy()==1){this.img = down2 ;}\n\t\t\t\telse if(getGhostdx()==1){this.img = right2 ;}\n\t\t\t\telse if(getGhostdx()==-1){this.img = left2 ;}\n\t\t\t\telse if(getGhostdx()==0 && getGhostdy()==0 ){this.img = down1 ;}\n\t\t\t\t\t\t\t\n\t\t\t}\n\t\t}else{\n\t\t\tthis.img = img;\n\t\t}\n\t\n\t}","title":""},{"docid":"2184247075f98004149e16c3e8eec9a6","score":"0.64681315","text":"private void draw(){\r\n String fname = null;\r\n fname = this.imageName + \"/\" + this.direction + \"-\" + this.emotion + \".png\"; \r\n UI.drawImage(fname, this.figureX, this.figureY, this.figureWidth, this.figureHeight);\r\n UI.sleep(500);\r\n }","title":""},{"docid":"40b66942907c63ffcae78241b839f5bd","score":"0.64215463","text":"public void draw() {\r\n image.draw(x, y, width, height, filter);\r\n }","title":""},{"docid":"aaf0b4a3d03db76ec9d10bf0112b7762","score":"0.6402471","text":"protected void setImage(ImageDescriptor image) {\n\t\tthis.image = image;\n\t}","title":""},{"docid":"09402cb981bf2ff2b5f87ff1b8fad68a","score":"0.638677","text":"private void setPic() {\r\n\t\tif(mImageBitmap != null){\r\n mImageView.setImageBitmap(mImageBitmap);\r\n mImageView.setVisibility(View.VISIBLE);\r\n }\r\n }","title":""},{"docid":"933d195a7aa2fd0993ff199547e3e785","score":"0.63847995","text":"public void update() {\n\t\tg.drawImage(image, 0, 0, canvas.getWidth(), canvas.getHeight());\n\t}","title":""},{"docid":"54193d0a4dd8fa606209c5d6e176060d","score":"0.63827556","text":"public void draw(ImageObserver obs) {\n if (show) {\n WingmanExe.g2.drawImage(img, x, y, obs);\n }\n }","title":""},{"docid":"0d5b47b4af50000ddd4b6ae23c8baaea","score":"0.6381126","text":"public void setImage(ImageObject io) {\n imo = io;\n loadImage();\n }","title":""},{"docid":"11ee1ac5893c8fc227fbe8358e062dd9","score":"0.63740253","text":"public void draw() {\n\t\tthis.game.image(bimg, x, y);\n\t}","title":""},{"docid":"6c39847abb66d0024dc60e09e3841ac3","score":"0.6362629","text":"private void updateImage()\n {\n img.clear();\n img.setColor(Color.BLACK);\n if(initialized == true)\n {\n List struct = getObjectsInRange(30,Buildings.class);\n if(!struct.isEmpty())\n {\n if(struct.get(0).getPlayer() == 1)\n {\n img.setColor(Color.RED);\n }\n else if(struct.get(0).getPlayer() == 2)\n {\n img.setColor(Color.GREEN);\n }\n else if(struct.get(0).getPlayer() == 3)\n {\n img.setColor(Color.BLUE);\n }\n else\n {\n img.setColor(Color.WHITE);\n }\n }\n }\n img.drawLine(29,0,0,14);\n img.drawLine(0,14,0,44);\n img.drawLine(0,44,29,59);\n img.drawLine(29,59,59,44);\n img.drawLine(59,44,59,14);\n img.drawLine(59,14,29,0);\n img.scale(60,60);\n setImage(img);\n }","title":""},{"docid":"7d09de0b1f3b80c1ac4c0b685bcb066f","score":"0.6355369","text":"public void setImage(Image image) {\n this.image = image;\n loadImage(image);\n }","title":""},{"docid":"a01eb2cba402b68e1878ef180018caa0","score":"0.63456875","text":"public void draw() {\n\t\tint frameX = (currentFrame() % columns()) * frameWidth();\r\n\t\tint frameY = (currentFrame() / columns()) * frameHeight();\r\n\r\n\t\tthis.tempSurface.drawImage(this.animimage, 0, 0, frameWidth() - 1,\r\n\t\t\t\tframeHeight() - 1, frameX, frameY, frameX + frameWidth(),\r\n\t\t\t\tframeY + frameHeight(), applet());\r\n\r\n\t\tsuper.setImage(this.tempImage);\r\n\t\tsuper.transform();\r\n\t\tsuper.draw();\r\n\t}","title":""},{"docid":"8ec84b84777f304365a49c9b4a83d8c4","score":"0.6329629","text":"public void setImage(String img) {\n\t\tthis.img = new ImageIcon(img).getImage();\n\t\trepaint();\n\t}","title":""},{"docid":"5a469ab779633c9e7a1dbc60fad9f444","score":"0.63101065","text":"@Override\n protected void paintComponent(Graphics g) {\n g.drawImage(GuiImages.image, 0, 0, getWidth(), getHeight(), this);\n }","title":""},{"docid":"abfc0c11c956b207995dec29208ac3a5","score":"0.6306243","text":"public void drawTile() {\n String imgUrl = getImageUrl();\n image.setImage(new Image(imgUrl));\n }","title":""},{"docid":"3e240c810627ff0cc3cf70d9a9b4cd5a","score":"0.6300555","text":"public void setImage(BufferedImage image)\n {\n this.image = image;\n }","title":""},{"docid":"0fbbcf90dd98a0e1568f0365dd51d296","score":"0.62923926","text":"public void setImage(BufferedImage image) {\n this.image = image;\n }","title":""},{"docid":"c4a88e8a57fc2185b9405e9e9de31106","score":"0.6274034","text":"public void setImage(PImage i) {\n\t\timage = i;\n\t}","title":""},{"docid":"00d889ad0b1a6c079301f94f8e9d06c7","score":"0.6254722","text":"public void setImage(Image i) {\n if (tileset != null) {\n tileset.overlayImage(\"\" + tileImageId, i);\n } else {\n internalImage = i;\n }\n groundHeight = getHeight();\n }","title":""},{"docid":"d11d194d75d2aef59c7ffd31b07dc2ef","score":"0.62546515","text":"public void drawImage(Image image, float x, float y, float x2, float y2, float srcx, float srcy, float srcx2, float srcy2) {\n/* 1465 */ predraw();\n/* 1466 */ image.draw(x, y, x2, y2, srcx, srcy, srcx2, srcy2);\n/* 1467 */ this.currentColor.bind();\n/* 1468 */ postdraw();\n/* */ }","title":""},{"docid":"886e84a489df893df1b89801c08a3a68","score":"0.6251607","text":"public void drawImage(IImage img, int x, int y) {\n Bitmap bitmap=((RIMImage) img).image;\n graphics.drawBitmap(x,y,bitmap.getWidth(),bitmap.getHeight(),bitmap,0,0);\n }","title":""},{"docid":"937ddfc8fda4f715d716aac233285373","score":"0.6246124","text":"private void paintOnImage() {\n\t\tint ix = mx - (400 - this.imageWidth) / 2;\n\t\tint iy = my - (300 - this.imageHeight) / 2;\n\n\t\tboolean valid = !(ix < 0 || iy < 0 || ix >= this.imageWidth || iy >= this.imageWidth);\n\t\tif(!valid)return;\n\n\t\t// Check if we are inside the \"image\"\n\t\tif (valid && this.usingBrush) {\n\t\t\tcircle(ix, iy, brushSize, this.pallet[this.palletIndex]);\n\t\t}\n\n\t\tbufferToFX();\n\t}","title":""},{"docid":"e4387d81f8fc908c64ebe4edaf841f0f","score":"0.6239069","text":"public void setimage(Image im) {\n\t\timage.setImage(im);\n\t}","title":""},{"docid":"fa337225efc509a7692f7d3f051420fb","score":"0.6238832","text":"private void updatePicture() {\n // get path of this class\n String path = this.getClass().getResource(\"\").getPath();\n // modify path to point to resource folder\n path = path.replaceFirst(\"java/\", \"res/\");\n path = path.replaceFirst(\"/gui\", \"\");\n // make URI, point to relevant dungeon picture using id\n path = \"file:\" + path + \"dungeon\" + Integer.toString(this.player.getCurrentDungeonID())+ \".jpg\";\n // get image from path and set ImageView to that image\n Image imageFile = new Image(path);\n this.image.setImage(imageFile);\n }","title":""},{"docid":"6c0921fac735cff21a2e943a59349c6f","score":"0.62351584","text":"public void setImage() {\n try {\n ImageIcon ico = new ImageIcon(player.get(\"imagePath\"));\n playerButton.setText(\"\");\n playerButton.setIcon(ico);\n playerButton.setPreferredSize(new Dimension(ico.getIconWidth(), ico.getIconHeight()));\n f.resize();\n } catch (Exception e) {\n }\n }","title":""},{"docid":"42470688d333a9df6015ed47b7e36a16","score":"0.6230543","text":"private void paintImageModify() {\n\n\t\topenImage();\n\t\timageCanvas = new JPanel();\n\t\timageCanvas.add(panelIma.getCanvas());\n\t\tscrollPanel = new JScrollPane(imageCanvas);\n\n\t\troi = new RoiManager(false);\n\n\t\tif ((new File(roiPath)).exists()) {\n\t\t\troi.runCommand(\"Open\", roiPath);\n\t\t\troi.select(0);\n\t\t\thasRoi = true;\n\t\t} else {\n\t\t\thasRoi = false;\n\t\t\tJOptionPane.showMessageDialog(null, \"No Roi file associated with this image\");\n\t\t}\n\n\t}","title":""},{"docid":"14a5fb05533469d014481ca17dc21f78","score":"0.62293607","text":"public void setImage(){\r\n imageView.setImageBitmap(bitmap);\r\n }","title":""},{"docid":"2f62d9080cfed588d3ebaf3e22c49566","score":"0.62240577","text":"public void setImage(GImage image) {\n\t\t// You fill this in\n\t\tprofile_img = image;\n\t}","title":""},{"docid":"b3d6bd434e8242bece34451c88ccc996","score":"0.62129813","text":"private void setPic() {\n int targetW = mImageView.getWidth();\n int targetH = mImageView.getHeight();\n\n\t\t/* Get the size of the image */\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n\t\t/* Figure out which way needs to be reduced less */\n int scaleFactor = 1;\n if ((targetW > 0) || (targetH > 0)) {\n scaleFactor = Math.min(photoW/targetW, photoH/targetH);\n }\n\n\t\t/* Set bitmap options to scale the image decode target */\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n bmOptions.inPurgeable = true;\n\n\t\t/* Decode the JPEG file into a Bitmap */\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n\n\t\t/* Associate the Bitmap to the ImageView */\n mImageView.setImageBitmap(bitmap);\n\n mImageView.setVisibility(View.VISIBLE);\n\n }","title":""},{"docid":"e8038ab0b4b670b03dd9fc2ddab24989","score":"0.62050843","text":"public void changeImage() {\r\n\t\tif (this.playingMusic) {\r\n\t\t\tImage image = new Image(\"images/pause.jpg\");\r\n\t\t\tthis.playPauseImage.setImage(image);\r\n\t\t} else {\r\n\t\t\tImage image = new Image(\"images/play.jpg\");\r\n\t\t\tthis.playPauseImage.setImage(image);\r\n\t\t}\r\n\t}","title":""},{"docid":"67c873af810e273cf07fcc6ed1d526e9","score":"0.61877984","text":"@Override\n protected void paintComponent(Graphics g) {\n super.paintComponent(g);\n g.drawImage(img, 0, 0, this);\n }","title":""},{"docid":"27d0abc8fce73864fd864e1a5ee4cb13","score":"0.6183635","text":"void setImage(String image_path) {\n image = new ImageIcon(image_path);\n image_label.setIcon(image);\n root_frame.frame.setSize(550, 450);\n }","title":""},{"docid":"d6d9ee2060179b05e3b7ce3965065ed3","score":"0.6177763","text":"public void setimage(String s) {\n \tix=iy=0;\t// Adam Ryan's fix for panning problem (aryan@co.linn.or.us)\r\n// URL url=null;\r\n MediaTracker tracker = new MediaTracker(this);\r\n\r\n busy = true;\r\n\r\n // reinitialize the cursor position\r\n x1 = x2 = (screenSize.width-1)/2.0;\r\n y1 = y2 = (screenSize.height-1)/2.0;\r\n\r\n if(busyimg != null)\r\n repaint(); // show busy image\r\n\r\n // img.flush();\r\n\r\n\t\timg = get_image(s);\r\n\t\ttracker.addImage(img, 0);\r\n\r\n try {\r\n tracker.waitForID(0); // wait till it loads\r\n } catch (InterruptedException e) {\r\n return;\r\n }\r\n\r\n busy = false;\r\n repaint();\r\n window.eval(\"reset_handler('\" + name + \"',\" + Math.min(x1,x2) + \",\" + Math.min(y1,y2) + \",\" + Math.max(x1,x2) + \",\" + Math.max(y1,y2) + \");\");\r\n\r\n return;\r\n }","title":""},{"docid":"54c80a809c26e045e1387090bd4d4595","score":"0.6175675","text":"protected void draw(Canvas canvas)\n {\n if(imageBitmapDrawable ==null) {return;}\n\n canvas.drawBitmap(imageBitmapDrawable.getBitmap(),(float) this.position.getX(),(float) this.position.getY(), null);\n\n }","title":""},{"docid":"0d8b3bd0fdf2075b79606b2c6ceaab68","score":"0.6165548","text":"public void potatoDuck()\r\n {\r\n setImage (\"potatoDuck.png\");\r\n }","title":""},{"docid":"68814e6d4f94d5f80fa57b1f7344f1f3","score":"0.61652935","text":"private void setPic() {\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mCurrentImagePath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n // Determine how much to scale down the image\n int scaleFactor = Math.min(photoW/mTargetW, photoH/mTargetH);\n\n // Decode the image file into a Bitmap sized to fill the View\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentImagePath, bmOptions);\n mImageView.setImageBitmap(bitmap);\n }","title":""},{"docid":"001ef977c97f423e6ef51d04a43c9754","score":"0.61607695","text":"private void setPic() {\n\t\tint targetW = mImageView.getWidth();\n\t\tint targetH = mImageView.getHeight();\n\n\t\t/* Get the size of the image */\n\t\tBitmapFactory.Options bmOptions = new BitmapFactory.Options();\n\t\tbmOptions.inJustDecodeBounds = true;\n\t\tBitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n\t\tint photoW = bmOptions.outWidth;\n\t\tint photoH = bmOptions.outHeight;\n\t\t\n\t\t/* Figure out which way needs to be reduced less */\n\t\tint scaleFactor = 1;\n\t\tif ((targetW > 0) || (targetH > 0)) {\n\t\t\tscaleFactor = Math.min(photoW/targetW, photoH/targetH);\t\n\t\t}\n\n\t\t/* Set bitmap options to scale the image decode target */\n\t\tbmOptions.inJustDecodeBounds = false;\n\t\tbmOptions.inSampleSize = scaleFactor;\n\t\tbmOptions.inPurgeable = true;\n\n\t\t/* Decode the JPEG file into a Bitmap */\n\t\tBitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n\t\t\n\t\t/* Associate the Bitmap to the ImageView */\n\t\tmImageView.setImageBitmap(bitmap);\n\t\tmImageView.setVisibility(View.VISIBLE);\n\t}","title":""},{"docid":"5443397b5fcefe6f1ec46c8f46eb5d74","score":"0.6147101","text":"private void setImage(Drawable drawable, ImageView mImageView)\r\n\t{\r\n\t mImageView.setImageDrawable(drawable);\r\n\t}","title":""},{"docid":"b6e3b6541e7baaaa3a8b54fd0ea8a1da","score":"0.6143198","text":"public void setImage(BufferedImage image) {\n\t\tthis.image = image;\n\t}","title":""},{"docid":"9666e5ba39852678b8434168b060b125","score":"0.61344373","text":"private void setPic() {\n int targetW = mImage.getWidth();\n int targetH = mImage.getHeight();\n\n // Get the dimensions of the bitmap\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mPhotoPath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n // Determine how much to scale down the image\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\n\n // Decode the image file into a Bitmap sized to fill the View\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n bmOptions.inPurgeable = true;\n\n Bitmap bitmap = BitmapFactory.decodeFile(mPhotoPath, bmOptions);\n mImage.setImageBitmap(bitmap);\n }","title":""},{"docid":"1008d8f647f17131368a4708cf42fe16","score":"0.6120446","text":"@Override\n\tpublic void setImage(Bitmap bmp) {\n\t\tbmp=Bitmap.createScaledBitmap(bmp,bmp.getWidth()*20,bmp.getHeight()*20,true);\n\t\tfinal Drawable draw=new BitmapDrawable(bmp);\n\t\tRunnable r=new Runnable(){\n\t\t\tpublic void run(){\n\t\t\t\tsetIcon(draw);\n\t\t\t\tif(v==null)\n\t\t\t\t\treturn;\n\t\t\t\tImageView iv=(ImageView)v.findViewById(android.R.id.icon);\n\t\t\t\tiv.setScaleType(ImageView.ScaleType.FIT_CENTER);\n\t\t\t}\n\t\t};\n\t\tContext ctx=getContext();\n\t\tif(ctx instanceof Activity){\n\t\t\tActivity act=(Activity)ctx;\n\t\t\tact.runOnUiThread(r);\n\t\t}else{\n\t\t\th.post(r);\n\t\t}\n\t}","title":""},{"docid":"a59f38f59378ff7b847b5c4b81d87fef","score":"0.61027604","text":"private void imageSetting(Activity activity) {\n scrollX = scrollY = 0;\n scalefactor = 0;\n imageX = winX = activity.getWindow().getWindowManager()\n .getDefaultDisplay().getWidth();\n imageY = winY = activity.getWindow().getWindowManager()\n .getDefaultDisplay().getHeight();\n if (orientation == LANDSCAPE) {\n imageX = 3 * imageY / 4;\n }\n calculatePos();\n }","title":""},{"docid":"6d02f07ff78cb99211d1d89e470f8283","score":"0.6094858","text":"void rerenderImage() {\n if (!isShowing() || getWidth() < 5 || getHeight() < 5) {\n return;\n }\n // Possible fix for OS X flashing: request image now so it is\n // already available during repaint; keep last non-null image\n getCurrentImage();\n repaint();\n }","title":""},{"docid":"e48ac34f2ba7ac30820ed66635eb0fd2","score":"0.60923165","text":"private void setPic() {\n int targetW = mImageView.getWidth();\n int targetH = mImageView.getHeight();\n\n // Get the dimensions of the bitmap\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n // Determine how much to scale down the image\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\n\n // Decode the image file into a Bitmap sized to fill the View\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n bmOptions.inPurgeable = true;\n\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n mImageView.setImageBitmap(bitmap);\n galleryAddPic();\n }","title":""},{"docid":"8f7ab08e7b1459a58f39c3ae2260dc86","score":"0.6087727","text":"public void setImage(BufferedImage image) {\n if (image != null && (image.getWidth() != this.getWidth() || image.getHeight() != this.getHeight())) {\n this.setPreferredSize(new Dimension(image.getWidth(), image.getHeight()));\n }\n\n this.image = image;\n\n this.repaint();\n }","title":""},{"docid":"420fc8b82afa9651eb609ddb7b28e7bf","score":"0.6071378","text":"public void setImage(BufferedImage aimage)\n\t{\n\t\tmyImage = aimage;\t\t\n\t}","title":""},{"docid":"ac7bb88e7a18931c6f5eeecf7a15be2f","score":"0.6054681","text":"private static void setImage (int inIndex)\r\n\t{\r\n\t\tfor (int i = 0; i < inputLayer.length; i++)\r\n\t\t{\r\n\t\t\tinputLayer[i].setVal(images[inIndex][i]);\r\n\t\t}\r\n\t\t\r\n\t\tif (DISPLAY_ON)\r\n\t\t{\r\n\t\t\tdisplay.repaint();\r\n\t\t}\r\n\t}","title":""},{"docid":"51d9aed49b4219bea7aae01b6020989e","score":"0.6045148","text":"private void updateImage() {\n Graphics2D graphics = (Graphics2D) image.getGraphics();\n graphics.setColor(new Color(10, 10, 10));\n graphics.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 26));\n graphics.setColor(new Color(60, 100, 60));\n graphics.drawString(text, 38, 43);\n graphics.setColor(new Color(10, 10, 10));\n graphics.drawString(text, 35, 40);\n if (isFocused()) {\n if (ballroll) {\n ballroll = false;\n graphics.drawImage(ImageManager.getInstance().loadImage(\"selectionball1.png\"), 0, 15, null);\n } else {\n ballroll = true;\n graphics.drawImage(ImageManager.getInstance().loadImage(\"selectionball2.png\"), 0, 15, null);\n }\n }\n }","title":""},{"docid":"bf398095237e89197c386080d2643c70","score":"0.60433775","text":"public void newImage(BufferedImage img) {\n\t\tSystem.out.println(\"newImage\");\n\t\t\n\t\t//reset line/circle state\n\t\tpointGiven= false;\n\t\tcenterGiven= false;\n\n\t\twidth= img.getWidth();\n\t\theight= img.getHeight();\n\t\tthis.img= img;\n\t\t\n\t\trepaint();\n\t\trevalidate();\n\t}","title":""},{"docid":"384cf879fdc77846ddea7e6068d8efa6","score":"0.60351276","text":"public void setImage(String path) {\n setImage(Load.getImage(path));\n }","title":""},{"docid":"f09872a5d31f5fc52a5526ca73cdf607","score":"0.6023438","text":"public void setImage(final Image image) {\n\t\tif (image != this.fElementImage.getImage()) {\n\t\t\tthis.fElementImage.setImage(image);\n\t\t}\n\t}","title":""},{"docid":"a61122a210f4a21656d71e073a153f17","score":"0.60120934","text":"public void setImage(Image image) {\n this.mImage = image;\n this.mWidth = image.getWidth();\n this.mHeight = image.getHeight();\n }","title":""},{"docid":"ff60522b73fcdfdf0a52030e47a7072e","score":"0.59971434","text":"@Override\n public void setImageBitmap(Bitmap bm) {\n super.setImageBitmap(bm);\n initializeBitmap();\n invalidate();\n }","title":""},{"docid":"c54890a6ffb36f455ebb623ba59f4c89","score":"0.59856755","text":"public void setUpImage(){\n if(fileString == null){\n this.fileString = new String[]{\"_blue\",\"_orange\",\"_yellow\",\"\"}[((int)(Math.random()*4))];\n }\n\n this.trainImage= new Image(Main.class.getResourceAsStream(\"/res/train\"+fileString+\".png\"), width, train.getLength() * Simulation.METER_MULTIPLIER, false, false);\n this.trainImageView = new ImageView(trainImage);\n this.params = new SnapshotParameters();\n params.setFill(Color.TRANSPARENT);\n }","title":""},{"docid":"ef202dd709564e0869cd9f9244fa922f","score":"0.5985537","text":"public void RebuildImage()\n{\n makeImage();\n repaint();\n}","title":""},{"docid":"5095698e465bbb4150425abdc9820d44","score":"0.5978023","text":"void SetImage(int act) {\n try {\n ivMainView.setImage(new Image(new FileInputStream(img.getFilesList().get(act)), 1024, 0, true, true));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"6feb19d772838433e3d6ef0ede71150e","score":"0.5974751","text":"public void setImage(BufferedImage image) {\n this.image = image;\n //Width and height is based on the image height and width\n Width = image.getWidth();\n Height = image.getHeight();\n }","title":""},{"docid":"43296488b82c22e6b6bb5ad047600842","score":"0.59643674","text":"@Override\n\tprotected void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\n\t\tg.drawImage(image, 0, 0, getWidth(), getHeight(), null);\n\t}","title":""},{"docid":"f1d51bf7bc15f50b1140875e2988a5c1","score":"0.59470826","text":"public void setImageMap(BufferedImage image) {\n this.gamePanel.setImageMap(image);\n }","title":""},{"docid":"30837d7fda9c6b43eaf9c00c74da3f46","score":"0.59467787","text":"public void drawImage(Image image, float x, float y, float x2, float y2, float srcx, float srcy, float srcx2, float srcy2, Color col) {\n/* 1608 */ predraw();\n/* 1609 */ image.draw(x, y, x2, y2, srcx, srcy, srcx2, srcy2, col);\n/* 1610 */ this.currentColor.bind();\n/* 1611 */ postdraw();\n/* */ }","title":""},{"docid":"dc8a78b8a312abbab592258fcf4d3a17","score":"0.5944904","text":"public void draw(Graphics g){\n\t\tg.drawImage(mImage,(int) x,(int) y, null);\n\t}","title":""},{"docid":"28fc1660125cb9fd304c48795e6f42b4","score":"0.59358215","text":"@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"this image type is\" + this.strImageType \n\t\t\t\t+ \"image size: \" + nWidth + \"กข\" + nHeight + \",\"\n\t\t\t\t+ \"display position: \" + nPosX + \"กข\" + nPosY + \".\");\n\t}","title":""},{"docid":"752450227686aa7cf5980d9a89014b83","score":"0.5935463","text":"public void paint(Graphics g) {\n/* 90 */ if (this.canvas_image != null)\n/* 91 */ g.drawImage(this.canvas_image, 0, 0, this); \n/* */ }","title":""},{"docid":"89e99aff906e3cadcc8efb352ae89bea","score":"0.5934024","text":"@Override\n\tpublic void paint(Graphics g) {\n\t\tsuper.paint(g);\n\t\tif (image != null) {\n\t\t\tg.drawImage(image, 0, 0, null);\n\t\t}\n\t}","title":""},{"docid":"3f0ad75624c51b1f4d2669df2055c70b","score":"0.59238446","text":"@Override\n public void setSprite() {\n super.getSprite().setSpritePosX(727);\n super.getSprite().setSpritePosY(320);\n super.getSprite().setSprite_width(52);\n super.getSprite().setSprite_height(88);\n super.getSprite().setWidth(52);\n super.getSprite().setHeight(88);\n }","title":""},{"docid":"79800544c8dcc20adba087cbac1ad09d","score":"0.5912118","text":"public void draw(Canvas canvas) {\n\t\tif (bmp != null)\n\t\t\tcanvas.drawBitmap(bmp, x, y, null);\n\t}","title":""},{"docid":"62cacd6caa91df046d0b2ad26f25d534","score":"0.5911771","text":"public void setImg(ImageIcon img)\n\t{\nmyImg = img;\t\n}","title":""},{"docid":"22bacad6e6de386c415b7ea9eabf5133","score":"0.591018","text":"void setImagePath(String imagePath);","title":""},{"docid":"70e8972f500c2dd3af31a6f93c3b736c","score":"0.59014684","text":"public void draw() {\n\t\tif (visible) {\n\t\t\tif (chooseEnemy == 0) {\n\t \t\t//naranja\n\t \t\tapp.imageMode(PConstants.CENTER);\n\t \t\tapp.image(enemy1, x, y, width, height);\n\t\t\t} else {\n\t\t\t\t//magenta\n\t\t\t\tapp.imageMode(PConstants.CENTER);\n\t\t\t\tapp.image(enemy2, x, y, width, height);\n\t\t\t}\t\t\n\t\t}\n \n\t}","title":""},{"docid":"d55c4eedbea27842e83b7f95c340536b","score":"0.58889204","text":"public void setPicture(String i){\r\n\t\ttry {\r\n\t\t\tshipImage = ImageIO.read(new File(\"i\"));\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(\"caught\");\r\n\t\t}\r\n\t}","title":""},{"docid":"7ef96ad12939c28a602b5297ae1658f5","score":"0.58876985","text":"private void setPic() {\n \r\n int targetW = imagen.getWidth();\r\n int targetH = imagen.getHeight();\r\n \r\n // Get the dimensions of the bitmap\r\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\r\n bmOptions.inJustDecodeBounds = true;\r\n BitmapFactory.decodeFile(foto, bmOptions);\r\n int photoW = bmOptions.outWidth;\r\n int photoH = bmOptions.outHeight;\r\n \r\n // Determine how much to scale down the image\r\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\r\n \r\n // Decode the image file into a Bitmap sized to fill the View\r\n bmOptions.inJustDecodeBounds = false;\r\n bmOptions.inSampleSize = scaleFactor;\r\n bmOptions.inPurgeable = true;\r\n \r\n Bitmap bitmap = BitmapFactory.decodeFile(foto, bmOptions);\r\n imagen.setImageBitmap(bitmap);\r\n }","title":""},{"docid":"85736646d1e44cfa353ef5b76e0815e0","score":"0.58864695","text":"public void drawImage(Image image, float x, float y, Color col) {\n/* 1383 */ predraw();\n/* 1384 */ image.draw(x, y, col);\n/* 1385 */ this.currentColor.bind();\n/* 1386 */ postdraw();\n/* */ }","title":""},{"docid":"f8bdb1701ec8aac409a595cabb7cd3b7","score":"0.5886461","text":"private void drawToScreen() {\n\t\tGraphics graphics2 = getGraphics();\n\t\tgraphics2.drawImage(image, 0, 0, WIDTH * SCALE, HEIGHT * SCALE, null);\n\t\tgraphics2.dispose();\n\t}","title":""},{"docid":"13fbd3db92bb2d52971e09ada280a52b","score":"0.5886393","text":"@Override\n public void paint(final Graphics g) {\n super.paint(g);\n g.drawImage(image, 0, 0, this);\n\n // Initialisiert das Fenster.\n this.setSize(image.getWidth(), image.getHeight());\n this.setName(imageName);\n this.setVisible(true);\n }","title":""},{"docid":"a94623304fbc4387b7d390044c88f78b","score":"0.58843356","text":"public void setImageObserver(ImageObserver observer) {\n imageObserver = observer;\n }","title":""},{"docid":"90a5d797830bb955a9055fb516fd0167","score":"0.5874667","text":"public void updateImage()\n {\n setImage (new GreenfootImage (text+count, 24, java.awt.Color.black, null));\n }","title":""},{"docid":"589781fc3278d946b06500dbc45cd4e9","score":"0.58743066","text":"private void updateImage()\n {\n nowShowing.setText(\"Frame : \" + (fnum+1) + \" of \" + numframes);\n if(numframes==0) return;\n dp.setImage(frames.get(fnum));\n repaint();\n }","title":""},{"docid":"6599270e81924ae2f2134a42e2f9f177","score":"0.58698565","text":"void drawImage(String path, String parent);","title":""},{"docid":"c14365f025a3e20e36058f5a8ac29dbd","score":"0.5868563","text":"public void setBitmap(Bitmap bmp) {\n this.bmp = bmp;\n }","title":""},{"docid":"e00e9bd752c3500b8a7cea9c48439ff1","score":"0.586408","text":"Paint setPaint();","title":""},{"docid":"1d0b02470da2bf093174d7b527bed574","score":"0.5860705","text":"@Override\r\n public void setImageBitmap(Bitmap bitmap) {\r\n bmp = bitmap;\r\n isReady = true;\r\n }","title":""},{"docid":"01aa897178727c7026b4fe7ce738f3f0","score":"0.5857176","text":"public void ondraw(Canvas canvas){\n update();\n canvas.drawBitmap(bmp, x, y, null);\n }","title":""},{"docid":"aa663fb5776215669cb77f24e1bf8fe2","score":"0.58560985","text":"private void setImageDrawable(Drawable drawable) {\n ImageView imageView = getView();\n\n // We can only set the drawable if the view has not been released.\n if (imageView != null) {\n imageView.setImageDrawable(drawable);\n } else {\n Log.w(TAG, \"Attempt to set a drawable on a recycled image view\");\n }\n }","title":""},{"docid":"53c53056171740a73dd6782af1da8314","score":"0.5855825","text":"@Override\n public void draw(Graphics graphics) {\n graphics.drawImage( image, getX()-getWidth()/2, getY()-getHeight()/2, null);\n\n }","title":""},{"docid":"d0cd72f1a5c5cc149d5833386c1c13b8","score":"0.5847544","text":"public void drawImage(Image image, float x, float y) {\n/* 1433 */ drawImage(image, x, y, Color.white);\n/* */ }","title":""}],"string":"[\n {\n \"docid\": \"ea88dcedfe38950f8f5d4e625fed127f\",\n \"score\": \"0.7897715\",\n \"text\": \"private void setImage(Image img){\\n gc = (Graphics2D) img.getGraphics();\\n gc.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\\n RenderingHints.VALUE_ANTIALIAS_ON);\\n gc.setPaint(Color.black);\\n this.drawnImg = img;\\n repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab53d45e95cfea0632415a84c619f48e\",\n \"score\": \"0.748722\",\n \"text\": \"public void setImage(Image new_image) {\\n/* 62 */ this.canvas_image = new_image;\\n/* 63 */ invalidate();\\n/* 64 */ repaint();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"915f2a6bd0c25bd8bb35fed0f62fd600\",\n \"score\": \"0.747898\",\n \"text\": \"public void setImage(Image image) {\\r\\n\\tthis.image = image;\\r\\n\\tredraw();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0173e01d77ad26b0bd7e1bfdae9a7480\",\n \"score\": \"0.73065335\",\n \"text\": \"public void setImage(java.awt.image.BufferedImage image) {\\n drawingPanel.setImage(image);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a09a200cb269f0db36a701712267906b\",\n \"score\": \"0.6950965\",\n \"text\": \"public void setImage() {\\n\\t\\tcharacter = Toolkit.getDefaultToolkit().getImage(ghost.filename[0][0]);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7141b345ee728f8e905c70c7f087426a\",\n \"score\": \"0.69316024\",\n \"text\": \"public void setImage(Image image) {\\n imageCanvas.setIcon(new ImageIcon(image));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13685dbc35a4155b509502adca2238d7\",\n \"score\": \"0.69133884\",\n \"text\": \"public void draw() {\\n image.fillRect(7, 7, 16, 16);//interior\\n //image.setColor(new java.awt.Color(0, 0, 0));\\n image.fillRect(0, 0, 30, 30);//bodor\\n setImage(image);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b0707b9182aa6ed3f747b87c61718ed\",\n \"score\": \"0.6909677\",\n \"text\": \"public void draw() {\\n\\t\\tthis.app.image(this.img,this.app.mouseX*850/1000,this.y,this.WIDTH,this.HEIGHT);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1568313c38b3e978481e9e2f89235a7\",\n \"score\": \"0.682167\",\n \"text\": \"public void redrawImage(){\\n clearImage();\\n redrawPoints();\\n redrawConnections();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7d012b11e7e39f52efca0b1db981fc4\",\n \"score\": \"0.66923934\",\n \"text\": \"public void Draw() {\\r\\n\\t\\tDrawer.DrawImage(img, x, y, width, height);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e52690edf7a7dc27b117442b30d33597\",\n \"score\": \"0.6656903\",\n \"text\": \"public final void setImage(Image image) {\\n face = image.getElement();\\n updateButtonFace();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e2f251f29f7191fc7a9373a7869186e\",\n \"score\": \"0.6592912\",\n \"text\": \"public void draw(){\\n\\t\\tStdDraw.picture(xxPos, yyPos, imgFileName);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9679da5e1dfc6b9eef236ee757d44f5\",\n \"score\": \"0.6552685\",\n \"text\": \"public void setImage(Bitmap image)\\n {\\n this.image = image;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"661eb9dcae527a572f0d68f2e3bd8293\",\n \"score\": \"0.6538272\",\n \"text\": \"public void draw(){\\n String path = \\\"./images/\\\";\\n StdDraw.picture(xxPos, yyPos,path+imgFileName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f98c5d44a705c9166d77333eca77ba87\",\n \"score\": \"0.6495662\",\n \"text\": \"public void setImage(Image i)\\n\\t{\\n\\tstring = null;\\n\\timage = i;\\n\\tiwidth = Util.getWidth(image);\\n\\tiheight = Util.getHeight(image);\\n\\trepaint();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"447edadf23de2093e5c4bc669515a743\",\n \"score\": \"0.6489994\",\n \"text\": \"public void setImg(Image img) {\\n\\t\\tif(getState()==\\\"alive\\\"){\\n\\t\\t\\tif(getPosframe()%2==0){\\n\\t\\t\\t\\tif(getGhostdy()==-1){ this.img = up1 ;}\\n\\t\\t\\t\\telse if(getGhostdy()==1){this.img = down1 ;}\\n\\t\\t\\t\\telse if(getGhostdx()==1){this.img = right1 ;}\\n\\t\\t\\t\\telse if(getGhostdx()==-1){this.img = left1 ;}\\n\\t\\t\\t\\telse if(getGhostdx()==0 && getGhostdy()==0 ){this.img = down1 ;}\\n\\t\\t\\t}else{\\n\\t\\t\\t\\tif(getGhostdy()==-1){ this.img = up2;}\\n\\t\\t\\t\\telse if(getGhostdy()==1){this.img = down2 ;}\\n\\t\\t\\t\\telse if(getGhostdx()==1){this.img = right2 ;}\\n\\t\\t\\t\\telse if(getGhostdx()==-1){this.img = left2 ;}\\n\\t\\t\\t\\telse if(getGhostdx()==0 && getGhostdy()==0 ){this.img = down1 ;}\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}else{\\n\\t\\t\\tthis.img = img;\\n\\t\\t}\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2184247075f98004149e16c3e8eec9a6\",\n \"score\": \"0.64681315\",\n \"text\": \"private void draw(){\\r\\n String fname = null;\\r\\n fname = this.imageName + \\\"/\\\" + this.direction + \\\"-\\\" + this.emotion + \\\".png\\\"; \\r\\n UI.drawImage(fname, this.figureX, this.figureY, this.figureWidth, this.figureHeight);\\r\\n UI.sleep(500);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40b66942907c63ffcae78241b839f5bd\",\n \"score\": \"0.64215463\",\n \"text\": \"public void draw() {\\r\\n image.draw(x, y, width, height, filter);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aaf0b4a3d03db76ec9d10bf0112b7762\",\n \"score\": \"0.6402471\",\n \"text\": \"protected void setImage(ImageDescriptor image) {\\n\\t\\tthis.image = image;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09402cb981bf2ff2b5f87ff1b8fad68a\",\n \"score\": \"0.638677\",\n \"text\": \"private void setPic() {\\r\\n\\t\\tif(mImageBitmap != null){\\r\\n mImageView.setImageBitmap(mImageBitmap);\\r\\n mImageView.setVisibility(View.VISIBLE);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"933d195a7aa2fd0993ff199547e3e785\",\n \"score\": \"0.63847995\",\n \"text\": \"public void update() {\\n\\t\\tg.drawImage(image, 0, 0, canvas.getWidth(), canvas.getHeight());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54193d0a4dd8fa606209c5d6e176060d\",\n \"score\": \"0.63827556\",\n \"text\": \"public void draw(ImageObserver obs) {\\n if (show) {\\n WingmanExe.g2.drawImage(img, x, y, obs);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d5b47b4af50000ddd4b6ae23c8baaea\",\n \"score\": \"0.6381126\",\n \"text\": \"public void setImage(ImageObject io) {\\n imo = io;\\n loadImage();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11ee1ac5893c8fc227fbe8358e062dd9\",\n \"score\": \"0.63740253\",\n \"text\": \"public void draw() {\\n\\t\\tthis.game.image(bimg, x, y);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c39847abb66d0024dc60e09e3841ac3\",\n \"score\": \"0.6362629\",\n \"text\": \"private void updateImage()\\n {\\n img.clear();\\n img.setColor(Color.BLACK);\\n if(initialized == true)\\n {\\n List struct = getObjectsInRange(30,Buildings.class);\\n if(!struct.isEmpty())\\n {\\n if(struct.get(0).getPlayer() == 1)\\n {\\n img.setColor(Color.RED);\\n }\\n else if(struct.get(0).getPlayer() == 2)\\n {\\n img.setColor(Color.GREEN);\\n }\\n else if(struct.get(0).getPlayer() == 3)\\n {\\n img.setColor(Color.BLUE);\\n }\\n else\\n {\\n img.setColor(Color.WHITE);\\n }\\n }\\n }\\n img.drawLine(29,0,0,14);\\n img.drawLine(0,14,0,44);\\n img.drawLine(0,44,29,59);\\n img.drawLine(29,59,59,44);\\n img.drawLine(59,44,59,14);\\n img.drawLine(59,14,29,0);\\n img.scale(60,60);\\n setImage(img);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d09de0b1f3b80c1ac4c0b685bcb066f\",\n \"score\": \"0.6355369\",\n \"text\": \"public void setImage(Image image) {\\n this.image = image;\\n loadImage(image);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a01eb2cba402b68e1878ef180018caa0\",\n \"score\": \"0.63456875\",\n \"text\": \"public void draw() {\\n\\t\\tint frameX = (currentFrame() % columns()) * frameWidth();\\r\\n\\t\\tint frameY = (currentFrame() / columns()) * frameHeight();\\r\\n\\r\\n\\t\\tthis.tempSurface.drawImage(this.animimage, 0, 0, frameWidth() - 1,\\r\\n\\t\\t\\t\\tframeHeight() - 1, frameX, frameY, frameX + frameWidth(),\\r\\n\\t\\t\\t\\tframeY + frameHeight(), applet());\\r\\n\\r\\n\\t\\tsuper.setImage(this.tempImage);\\r\\n\\t\\tsuper.transform();\\r\\n\\t\\tsuper.draw();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ec84b84777f304365a49c9b4a83d8c4\",\n \"score\": \"0.6329629\",\n \"text\": \"public void setImage(String img) {\\n\\t\\tthis.img = new ImageIcon(img).getImage();\\n\\t\\trepaint();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a469ab779633c9e7a1dbc60fad9f444\",\n \"score\": \"0.63101065\",\n \"text\": \"@Override\\n protected void paintComponent(Graphics g) {\\n g.drawImage(GuiImages.image, 0, 0, getWidth(), getHeight(), this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abfc0c11c956b207995dec29208ac3a5\",\n \"score\": \"0.6306243\",\n \"text\": \"public void drawTile() {\\n String imgUrl = getImageUrl();\\n image.setImage(new Image(imgUrl));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e240c810627ff0cc3cf70d9a9b4cd5a\",\n \"score\": \"0.6300555\",\n \"text\": \"public void setImage(BufferedImage image)\\n {\\n this.image = image;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fbbcf90dd98a0e1568f0365dd51d296\",\n \"score\": \"0.62923926\",\n \"text\": \"public void setImage(BufferedImage image) {\\n this.image = image;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4a88e8a57fc2185b9405e9e9de31106\",\n \"score\": \"0.6274034\",\n \"text\": \"public void setImage(PImage i) {\\n\\t\\timage = i;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00d889ad0b1a6c079301f94f8e9d06c7\",\n \"score\": \"0.6254722\",\n \"text\": \"public void setImage(Image i) {\\n if (tileset != null) {\\n tileset.overlayImage(\\\"\\\" + tileImageId, i);\\n } else {\\n internalImage = i;\\n }\\n groundHeight = getHeight();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d11d194d75d2aef59c7ffd31b07dc2ef\",\n \"score\": \"0.62546515\",\n \"text\": \"public void drawImage(Image image, float x, float y, float x2, float y2, float srcx, float srcy, float srcx2, float srcy2) {\\n/* 1465 */ predraw();\\n/* 1466 */ image.draw(x, y, x2, y2, srcx, srcy, srcx2, srcy2);\\n/* 1467 */ this.currentColor.bind();\\n/* 1468 */ postdraw();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"886e84a489df893df1b89801c08a3a68\",\n \"score\": \"0.6251607\",\n \"text\": \"public void drawImage(IImage img, int x, int y) {\\n Bitmap bitmap=((RIMImage) img).image;\\n graphics.drawBitmap(x,y,bitmap.getWidth(),bitmap.getHeight(),bitmap,0,0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"937ddfc8fda4f715d716aac233285373\",\n \"score\": \"0.6246124\",\n \"text\": \"private void paintOnImage() {\\n\\t\\tint ix = mx - (400 - this.imageWidth) / 2;\\n\\t\\tint iy = my - (300 - this.imageHeight) / 2;\\n\\n\\t\\tboolean valid = !(ix < 0 || iy < 0 || ix >= this.imageWidth || iy >= this.imageWidth);\\n\\t\\tif(!valid)return;\\n\\n\\t\\t// Check if we are inside the \\\"image\\\"\\n\\t\\tif (valid && this.usingBrush) {\\n\\t\\t\\tcircle(ix, iy, brushSize, this.pallet[this.palletIndex]);\\n\\t\\t}\\n\\n\\t\\tbufferToFX();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4387d81f8fc908c64ebe4edaf841f0f\",\n \"score\": \"0.6239069\",\n \"text\": \"public void setimage(Image im) {\\n\\t\\timage.setImage(im);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa337225efc509a7692f7d3f051420fb\",\n \"score\": \"0.6238832\",\n \"text\": \"private void updatePicture() {\\n // get path of this class\\n String path = this.getClass().getResource(\\\"\\\").getPath();\\n // modify path to point to resource folder\\n path = path.replaceFirst(\\\"java/\\\", \\\"res/\\\");\\n path = path.replaceFirst(\\\"/gui\\\", \\\"\\\");\\n // make URI, point to relevant dungeon picture using id\\n path = \\\"file:\\\" + path + \\\"dungeon\\\" + Integer.toString(this.player.getCurrentDungeonID())+ \\\".jpg\\\";\\n // get image from path and set ImageView to that image\\n Image imageFile = new Image(path);\\n this.image.setImage(imageFile);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c0921fac735cff21a2e943a59349c6f\",\n \"score\": \"0.62351584\",\n \"text\": \"public void setImage() {\\n try {\\n ImageIcon ico = new ImageIcon(player.get(\\\"imagePath\\\"));\\n playerButton.setText(\\\"\\\");\\n playerButton.setIcon(ico);\\n playerButton.setPreferredSize(new Dimension(ico.getIconWidth(), ico.getIconHeight()));\\n f.resize();\\n } catch (Exception e) {\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42470688d333a9df6015ed47b7e36a16\",\n \"score\": \"0.6230543\",\n \"text\": \"private void paintImageModify() {\\n\\n\\t\\topenImage();\\n\\t\\timageCanvas = new JPanel();\\n\\t\\timageCanvas.add(panelIma.getCanvas());\\n\\t\\tscrollPanel = new JScrollPane(imageCanvas);\\n\\n\\t\\troi = new RoiManager(false);\\n\\n\\t\\tif ((new File(roiPath)).exists()) {\\n\\t\\t\\troi.runCommand(\\\"Open\\\", roiPath);\\n\\t\\t\\troi.select(0);\\n\\t\\t\\thasRoi = true;\\n\\t\\t} else {\\n\\t\\t\\thasRoi = false;\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"No Roi file associated with this image\\\");\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14a5fb05533469d014481ca17dc21f78\",\n \"score\": \"0.62293607\",\n \"text\": \"public void setImage(){\\r\\n imageView.setImageBitmap(bitmap);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f62d9080cfed588d3ebaf3e22c49566\",\n \"score\": \"0.62240577\",\n \"text\": \"public void setImage(GImage image) {\\n\\t\\t// You fill this in\\n\\t\\tprofile_img = image;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3d6bd434e8242bece34451c88ccc996\",\n \"score\": \"0.62129813\",\n \"text\": \"private void setPic() {\\n int targetW = mImageView.getWidth();\\n int targetH = mImageView.getHeight();\\n\\n\\t\\t/* Get the size of the image */\\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\\n bmOptions.inJustDecodeBounds = true;\\n BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\\n int photoW = bmOptions.outWidth;\\n int photoH = bmOptions.outHeight;\\n\\n\\t\\t/* Figure out which way needs to be reduced less */\\n int scaleFactor = 1;\\n if ((targetW > 0) || (targetH > 0)) {\\n scaleFactor = Math.min(photoW/targetW, photoH/targetH);\\n }\\n\\n\\t\\t/* Set bitmap options to scale the image decode target */\\n bmOptions.inJustDecodeBounds = false;\\n bmOptions.inSampleSize = scaleFactor;\\n bmOptions.inPurgeable = true;\\n\\n\\t\\t/* Decode the JPEG file into a Bitmap */\\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\\n\\n\\t\\t/* Associate the Bitmap to the ImageView */\\n mImageView.setImageBitmap(bitmap);\\n\\n mImageView.setVisibility(View.VISIBLE);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8038ab0b4b670b03dd9fc2ddab24989\",\n \"score\": \"0.62050843\",\n \"text\": \"public void changeImage() {\\r\\n\\t\\tif (this.playingMusic) {\\r\\n\\t\\t\\tImage image = new Image(\\\"images/pause.jpg\\\");\\r\\n\\t\\t\\tthis.playPauseImage.setImage(image);\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tImage image = new Image(\\\"images/play.jpg\\\");\\r\\n\\t\\t\\tthis.playPauseImage.setImage(image);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67c873af810e273cf07fcc6ed1d526e9\",\n \"score\": \"0.61877984\",\n \"text\": \"@Override\\n protected void paintComponent(Graphics g) {\\n super.paintComponent(g);\\n g.drawImage(img, 0, 0, this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27d0abc8fce73864fd864e1a5ee4cb13\",\n \"score\": \"0.6183635\",\n \"text\": \"void setImage(String image_path) {\\n image = new ImageIcon(image_path);\\n image_label.setIcon(image);\\n root_frame.frame.setSize(550, 450);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6d9ee2060179b05e3b7ce3965065ed3\",\n \"score\": \"0.6177763\",\n \"text\": \"public void setimage(String s) {\\n \\tix=iy=0;\\t// Adam Ryan's fix for panning problem (aryan@co.linn.or.us)\\r\\n// URL url=null;\\r\\n MediaTracker tracker = new MediaTracker(this);\\r\\n\\r\\n busy = true;\\r\\n\\r\\n // reinitialize the cursor position\\r\\n x1 = x2 = (screenSize.width-1)/2.0;\\r\\n y1 = y2 = (screenSize.height-1)/2.0;\\r\\n\\r\\n if(busyimg != null)\\r\\n repaint(); // show busy image\\r\\n\\r\\n // img.flush();\\r\\n\\r\\n\\t\\timg = get_image(s);\\r\\n\\t\\ttracker.addImage(img, 0);\\r\\n\\r\\n try {\\r\\n tracker.waitForID(0); // wait till it loads\\r\\n } catch (InterruptedException e) {\\r\\n return;\\r\\n }\\r\\n\\r\\n busy = false;\\r\\n repaint();\\r\\n window.eval(\\\"reset_handler('\\\" + name + \\\"',\\\" + Math.min(x1,x2) + \\\",\\\" + Math.min(y1,y2) + \\\",\\\" + Math.max(x1,x2) + \\\",\\\" + Math.max(y1,y2) + \\\");\\\");\\r\\n\\r\\n return;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54c80a809c26e045e1387090bd4d4595\",\n \"score\": \"0.6175675\",\n \"text\": \"protected void draw(Canvas canvas)\\n {\\n if(imageBitmapDrawable ==null) {return;}\\n\\n canvas.drawBitmap(imageBitmapDrawable.getBitmap(),(float) this.position.getX(),(float) this.position.getY(), null);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d8b3bd0fdf2075b79606b2c6ceaab68\",\n \"score\": \"0.6165548\",\n \"text\": \"public void potatoDuck()\\r\\n {\\r\\n setImage (\\\"potatoDuck.png\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68814e6d4f94d5f80fa57b1f7344f1f3\",\n \"score\": \"0.61652935\",\n \"text\": \"private void setPic() {\\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\\n bmOptions.inJustDecodeBounds = true;\\n BitmapFactory.decodeFile(mCurrentImagePath, bmOptions);\\n int photoW = bmOptions.outWidth;\\n int photoH = bmOptions.outHeight;\\n\\n // Determine how much to scale down the image\\n int scaleFactor = Math.min(photoW/mTargetW, photoH/mTargetH);\\n\\n // Decode the image file into a Bitmap sized to fill the View\\n bmOptions.inJustDecodeBounds = false;\\n bmOptions.inSampleSize = scaleFactor;\\n\\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentImagePath, bmOptions);\\n mImageView.setImageBitmap(bitmap);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"001ef977c97f423e6ef51d04a43c9754\",\n \"score\": \"0.61607695\",\n \"text\": \"private void setPic() {\\n\\t\\tint targetW = mImageView.getWidth();\\n\\t\\tint targetH = mImageView.getHeight();\\n\\n\\t\\t/* Get the size of the image */\\n\\t\\tBitmapFactory.Options bmOptions = new BitmapFactory.Options();\\n\\t\\tbmOptions.inJustDecodeBounds = true;\\n\\t\\tBitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\\n\\t\\tint photoW = bmOptions.outWidth;\\n\\t\\tint photoH = bmOptions.outHeight;\\n\\t\\t\\n\\t\\t/* Figure out which way needs to be reduced less */\\n\\t\\tint scaleFactor = 1;\\n\\t\\tif ((targetW > 0) || (targetH > 0)) {\\n\\t\\t\\tscaleFactor = Math.min(photoW/targetW, photoH/targetH);\\t\\n\\t\\t}\\n\\n\\t\\t/* Set bitmap options to scale the image decode target */\\n\\t\\tbmOptions.inJustDecodeBounds = false;\\n\\t\\tbmOptions.inSampleSize = scaleFactor;\\n\\t\\tbmOptions.inPurgeable = true;\\n\\n\\t\\t/* Decode the JPEG file into a Bitmap */\\n\\t\\tBitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\\n\\t\\t\\n\\t\\t/* Associate the Bitmap to the ImageView */\\n\\t\\tmImageView.setImageBitmap(bitmap);\\n\\t\\tmImageView.setVisibility(View.VISIBLE);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5443397b5fcefe6f1ec46c8f46eb5d74\",\n \"score\": \"0.6147101\",\n \"text\": \"private void setImage(Drawable drawable, ImageView mImageView)\\r\\n\\t{\\r\\n\\t mImageView.setImageDrawable(drawable);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6e3b6541e7baaaa3a8b54fd0ea8a1da\",\n \"score\": \"0.6143198\",\n \"text\": \"public void setImage(BufferedImage image) {\\n\\t\\tthis.image = image;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9666e5ba39852678b8434168b060b125\",\n \"score\": \"0.61344373\",\n \"text\": \"private void setPic() {\\n int targetW = mImage.getWidth();\\n int targetH = mImage.getHeight();\\n\\n // Get the dimensions of the bitmap\\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\\n bmOptions.inJustDecodeBounds = true;\\n BitmapFactory.decodeFile(mPhotoPath, bmOptions);\\n int photoW = bmOptions.outWidth;\\n int photoH = bmOptions.outHeight;\\n\\n // Determine how much to scale down the image\\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\\n\\n // Decode the image file into a Bitmap sized to fill the View\\n bmOptions.inJustDecodeBounds = false;\\n bmOptions.inSampleSize = scaleFactor;\\n bmOptions.inPurgeable = true;\\n\\n Bitmap bitmap = BitmapFactory.decodeFile(mPhotoPath, bmOptions);\\n mImage.setImageBitmap(bitmap);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1008d8f647f17131368a4708cf42fe16\",\n \"score\": \"0.6120446\",\n \"text\": \"@Override\\n\\tpublic void setImage(Bitmap bmp) {\\n\\t\\tbmp=Bitmap.createScaledBitmap(bmp,bmp.getWidth()*20,bmp.getHeight()*20,true);\\n\\t\\tfinal Drawable draw=new BitmapDrawable(bmp);\\n\\t\\tRunnable r=new Runnable(){\\n\\t\\t\\tpublic void run(){\\n\\t\\t\\t\\tsetIcon(draw);\\n\\t\\t\\t\\tif(v==null)\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\tImageView iv=(ImageView)v.findViewById(android.R.id.icon);\\n\\t\\t\\t\\tiv.setScaleType(ImageView.ScaleType.FIT_CENTER);\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tContext ctx=getContext();\\n\\t\\tif(ctx instanceof Activity){\\n\\t\\t\\tActivity act=(Activity)ctx;\\n\\t\\t\\tact.runOnUiThread(r);\\n\\t\\t}else{\\n\\t\\t\\th.post(r);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a59f38f59378ff7b847b5c4b81d87fef\",\n \"score\": \"0.61027604\",\n \"text\": \"private void imageSetting(Activity activity) {\\n scrollX = scrollY = 0;\\n scalefactor = 0;\\n imageX = winX = activity.getWindow().getWindowManager()\\n .getDefaultDisplay().getWidth();\\n imageY = winY = activity.getWindow().getWindowManager()\\n .getDefaultDisplay().getHeight();\\n if (orientation == LANDSCAPE) {\\n imageX = 3 * imageY / 4;\\n }\\n calculatePos();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d02f07ff78cb99211d1d89e470f8283\",\n \"score\": \"0.6094858\",\n \"text\": \"void rerenderImage() {\\n if (!isShowing() || getWidth() < 5 || getHeight() < 5) {\\n return;\\n }\\n // Possible fix for OS X flashing: request image now so it is\\n // already available during repaint; keep last non-null image\\n getCurrentImage();\\n repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e48ac34f2ba7ac30820ed66635eb0fd2\",\n \"score\": \"0.60923165\",\n \"text\": \"private void setPic() {\\n int targetW = mImageView.getWidth();\\n int targetH = mImageView.getHeight();\\n\\n // Get the dimensions of the bitmap\\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\\n bmOptions.inJustDecodeBounds = true;\\n BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\\n int photoW = bmOptions.outWidth;\\n int photoH = bmOptions.outHeight;\\n\\n // Determine how much to scale down the image\\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\\n\\n // Decode the image file into a Bitmap sized to fill the View\\n bmOptions.inJustDecodeBounds = false;\\n bmOptions.inSampleSize = scaleFactor;\\n bmOptions.inPurgeable = true;\\n\\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\\n mImageView.setImageBitmap(bitmap);\\n galleryAddPic();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f7ab08e7b1459a58f39c3ae2260dc86\",\n \"score\": \"0.6087727\",\n \"text\": \"public void setImage(BufferedImage image) {\\n if (image != null && (image.getWidth() != this.getWidth() || image.getHeight() != this.getHeight())) {\\n this.setPreferredSize(new Dimension(image.getWidth(), image.getHeight()));\\n }\\n\\n this.image = image;\\n\\n this.repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"420fc8b82afa9651eb609ddb7b28e7bf\",\n \"score\": \"0.6071378\",\n \"text\": \"public void setImage(BufferedImage aimage)\\n\\t{\\n\\t\\tmyImage = aimage;\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac7bb88e7a18931c6f5eeecf7a15be2f\",\n \"score\": \"0.6054681\",\n \"text\": \"private static void setImage (int inIndex)\\r\\n\\t{\\r\\n\\t\\tfor (int i = 0; i < inputLayer.length; i++)\\r\\n\\t\\t{\\r\\n\\t\\t\\tinputLayer[i].setVal(images[inIndex][i]);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tif (DISPLAY_ON)\\r\\n\\t\\t{\\r\\n\\t\\t\\tdisplay.repaint();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51d9aed49b4219bea7aae01b6020989e\",\n \"score\": \"0.6045148\",\n \"text\": \"private void updateImage() {\\n Graphics2D graphics = (Graphics2D) image.getGraphics();\\n graphics.setColor(new Color(10, 10, 10));\\n graphics.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 26));\\n graphics.setColor(new Color(60, 100, 60));\\n graphics.drawString(text, 38, 43);\\n graphics.setColor(new Color(10, 10, 10));\\n graphics.drawString(text, 35, 40);\\n if (isFocused()) {\\n if (ballroll) {\\n ballroll = false;\\n graphics.drawImage(ImageManager.getInstance().loadImage(\\\"selectionball1.png\\\"), 0, 15, null);\\n } else {\\n ballroll = true;\\n graphics.drawImage(ImageManager.getInstance().loadImage(\\\"selectionball2.png\\\"), 0, 15, null);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf398095237e89197c386080d2643c70\",\n \"score\": \"0.60433775\",\n \"text\": \"public void newImage(BufferedImage img) {\\n\\t\\tSystem.out.println(\\\"newImage\\\");\\n\\t\\t\\n\\t\\t//reset line/circle state\\n\\t\\tpointGiven= false;\\n\\t\\tcenterGiven= false;\\n\\n\\t\\twidth= img.getWidth();\\n\\t\\theight= img.getHeight();\\n\\t\\tthis.img= img;\\n\\t\\t\\n\\t\\trepaint();\\n\\t\\trevalidate();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"384cf879fdc77846ddea7e6068d8efa6\",\n \"score\": \"0.60351276\",\n \"text\": \"public void setImage(String path) {\\n setImage(Load.getImage(path));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f09872a5d31f5fc52a5526ca73cdf607\",\n \"score\": \"0.6023438\",\n \"text\": \"public void setImage(final Image image) {\\n\\t\\tif (image != this.fElementImage.getImage()) {\\n\\t\\t\\tthis.fElementImage.setImage(image);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a61122a210f4a21656d71e073a153f17\",\n \"score\": \"0.60120934\",\n \"text\": \"public void setImage(Image image) {\\n this.mImage = image;\\n this.mWidth = image.getWidth();\\n this.mHeight = image.getHeight();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff60522b73fcdfdf0a52030e47a7072e\",\n \"score\": \"0.59971434\",\n \"text\": \"@Override\\n public void setImageBitmap(Bitmap bm) {\\n super.setImageBitmap(bm);\\n initializeBitmap();\\n invalidate();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c54890a6ffb36f455ebb623ba59f4c89\",\n \"score\": \"0.59856755\",\n \"text\": \"public void setUpImage(){\\n if(fileString == null){\\n this.fileString = new String[]{\\\"_blue\\\",\\\"_orange\\\",\\\"_yellow\\\",\\\"\\\"}[((int)(Math.random()*4))];\\n }\\n\\n this.trainImage= new Image(Main.class.getResourceAsStream(\\\"/res/train\\\"+fileString+\\\".png\\\"), width, train.getLength() * Simulation.METER_MULTIPLIER, false, false);\\n this.trainImageView = new ImageView(trainImage);\\n this.params = new SnapshotParameters();\\n params.setFill(Color.TRANSPARENT);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef202dd709564e0869cd9f9244fa922f\",\n \"score\": \"0.5985537\",\n \"text\": \"public void RebuildImage()\\n{\\n makeImage();\\n repaint();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5095698e465bbb4150425abdc9820d44\",\n \"score\": \"0.5978023\",\n \"text\": \"void SetImage(int act) {\\n try {\\n ivMainView.setImage(new Image(new FileInputStream(img.getFilesList().get(act)), 1024, 0, true, true));\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6feb19d772838433e3d6ef0ede71150e\",\n \"score\": \"0.5974751\",\n \"text\": \"public void setImage(BufferedImage image) {\\n this.image = image;\\n //Width and height is based on the image height and width\\n Width = image.getWidth();\\n Height = image.getHeight();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43296488b82c22e6b6bb5ad047600842\",\n \"score\": \"0.59643674\",\n \"text\": \"@Override\\n\\tprotected void paintComponent(Graphics g) {\\n\\t\\tsuper.paintComponent(g);\\n\\t\\tg.drawImage(image, 0, 0, getWidth(), getHeight(), null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1d51bf7bc15f50b1140875e2988a5c1\",\n \"score\": \"0.59470826\",\n \"text\": \"public void setImageMap(BufferedImage image) {\\n this.gamePanel.setImageMap(image);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30837d7fda9c6b43eaf9c00c74da3f46\",\n \"score\": \"0.59467787\",\n \"text\": \"public void drawImage(Image image, float x, float y, float x2, float y2, float srcx, float srcy, float srcx2, float srcy2, Color col) {\\n/* 1608 */ predraw();\\n/* 1609 */ image.draw(x, y, x2, y2, srcx, srcy, srcx2, srcy2, col);\\n/* 1610 */ this.currentColor.bind();\\n/* 1611 */ postdraw();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc8a78b8a312abbab592258fcf4d3a17\",\n \"score\": \"0.5944904\",\n \"text\": \"public void draw(Graphics g){\\n\\t\\tg.drawImage(mImage,(int) x,(int) y, null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28fc1660125cb9fd304c48795e6f42b4\",\n \"score\": \"0.59358215\",\n \"text\": \"@Override\\n\\tpublic void draw() {\\n\\t\\tSystem.out.println(\\\"this image type is\\\" + this.strImageType \\n\\t\\t\\t\\t+ \\\"image size: \\\" + nWidth + \\\"กข\\\" + nHeight + \\\",\\\"\\n\\t\\t\\t\\t+ \\\"display position: \\\" + nPosX + \\\"กข\\\" + nPosY + \\\".\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"752450227686aa7cf5980d9a89014b83\",\n \"score\": \"0.5935463\",\n \"text\": \"public void paint(Graphics g) {\\n/* 90 */ if (this.canvas_image != null)\\n/* 91 */ g.drawImage(this.canvas_image, 0, 0, this); \\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89e99aff906e3cadcc8efb352ae89bea\",\n \"score\": \"0.5934024\",\n \"text\": \"@Override\\n\\tpublic void paint(Graphics g) {\\n\\t\\tsuper.paint(g);\\n\\t\\tif (image != null) {\\n\\t\\t\\tg.drawImage(image, 0, 0, null);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f0ad75624c51b1f4d2669df2055c70b\",\n \"score\": \"0.59238446\",\n \"text\": \"@Override\\n public void setSprite() {\\n super.getSprite().setSpritePosX(727);\\n super.getSprite().setSpritePosY(320);\\n super.getSprite().setSprite_width(52);\\n super.getSprite().setSprite_height(88);\\n super.getSprite().setWidth(52);\\n super.getSprite().setHeight(88);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79800544c8dcc20adba087cbac1ad09d\",\n \"score\": \"0.5912118\",\n \"text\": \"public void draw(Canvas canvas) {\\n\\t\\tif (bmp != null)\\n\\t\\t\\tcanvas.drawBitmap(bmp, x, y, null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62cacd6caa91df046d0b2ad26f25d534\",\n \"score\": \"0.5911771\",\n \"text\": \"public void setImg(ImageIcon img)\\n\\t{\\nmyImg = img;\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22bacad6e6de386c415b7ea9eabf5133\",\n \"score\": \"0.591018\",\n \"text\": \"void setImagePath(String imagePath);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70e8972f500c2dd3af31a6f93c3b736c\",\n \"score\": \"0.59014684\",\n \"text\": \"public void draw() {\\n\\t\\tif (visible) {\\n\\t\\t\\tif (chooseEnemy == 0) {\\n\\t \\t\\t//naranja\\n\\t \\t\\tapp.imageMode(PConstants.CENTER);\\n\\t \\t\\tapp.image(enemy1, x, y, width, height);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t//magenta\\n\\t\\t\\t\\tapp.imageMode(PConstants.CENTER);\\n\\t\\t\\t\\tapp.image(enemy2, x, y, width, height);\\n\\t\\t\\t}\\t\\t\\n\\t\\t}\\n \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d55c4eedbea27842e83b7f95c340536b\",\n \"score\": \"0.58889204\",\n \"text\": \"public void setPicture(String i){\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tshipImage = ImageIO.read(new File(\\\"i\\\"));\\r\\n\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\tSystem.out.println(\\\"caught\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ef96ad12939c28a602b5297ae1658f5\",\n \"score\": \"0.58876985\",\n \"text\": \"private void setPic() {\\n \\r\\n int targetW = imagen.getWidth();\\r\\n int targetH = imagen.getHeight();\\r\\n \\r\\n // Get the dimensions of the bitmap\\r\\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\\r\\n bmOptions.inJustDecodeBounds = true;\\r\\n BitmapFactory.decodeFile(foto, bmOptions);\\r\\n int photoW = bmOptions.outWidth;\\r\\n int photoH = bmOptions.outHeight;\\r\\n \\r\\n // Determine how much to scale down the image\\r\\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\\r\\n \\r\\n // Decode the image file into a Bitmap sized to fill the View\\r\\n bmOptions.inJustDecodeBounds = false;\\r\\n bmOptions.inSampleSize = scaleFactor;\\r\\n bmOptions.inPurgeable = true;\\r\\n \\r\\n Bitmap bitmap = BitmapFactory.decodeFile(foto, bmOptions);\\r\\n imagen.setImageBitmap(bitmap);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85736646d1e44cfa353ef5b76e0815e0\",\n \"score\": \"0.58864695\",\n \"text\": \"public void drawImage(Image image, float x, float y, Color col) {\\n/* 1383 */ predraw();\\n/* 1384 */ image.draw(x, y, col);\\n/* 1385 */ this.currentColor.bind();\\n/* 1386 */ postdraw();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8bdb1701ec8aac409a595cabb7cd3b7\",\n \"score\": \"0.5886461\",\n \"text\": \"private void drawToScreen() {\\n\\t\\tGraphics graphics2 = getGraphics();\\n\\t\\tgraphics2.drawImage(image, 0, 0, WIDTH * SCALE, HEIGHT * SCALE, null);\\n\\t\\tgraphics2.dispose();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13fbd3db92bb2d52971e09ada280a52b\",\n \"score\": \"0.5886393\",\n \"text\": \"@Override\\n public void paint(final Graphics g) {\\n super.paint(g);\\n g.drawImage(image, 0, 0, this);\\n\\n // Initialisiert das Fenster.\\n this.setSize(image.getWidth(), image.getHeight());\\n this.setName(imageName);\\n this.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a94623304fbc4387b7d390044c88f78b\",\n \"score\": \"0.58843356\",\n \"text\": \"public void setImageObserver(ImageObserver observer) {\\n imageObserver = observer;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90a5d797830bb955a9055fb516fd0167\",\n \"score\": \"0.5874667\",\n \"text\": \"public void updateImage()\\n {\\n setImage (new GreenfootImage (text+count, 24, java.awt.Color.black, null));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"589781fc3278d946b06500dbc45cd4e9\",\n \"score\": \"0.58743066\",\n \"text\": \"private void updateImage()\\n {\\n nowShowing.setText(\\\"Frame : \\\" + (fnum+1) + \\\" of \\\" + numframes);\\n if(numframes==0) return;\\n dp.setImage(frames.get(fnum));\\n repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6599270e81924ae2f2134a42e2f9f177\",\n \"score\": \"0.58698565\",\n \"text\": \"void drawImage(String path, String parent);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c14365f025a3e20e36058f5a8ac29dbd\",\n \"score\": \"0.5868563\",\n \"text\": \"public void setBitmap(Bitmap bmp) {\\n this.bmp = bmp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e00e9bd752c3500b8a7cea9c48439ff1\",\n \"score\": \"0.586408\",\n \"text\": \"Paint setPaint();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d0b02470da2bf093174d7b527bed574\",\n \"score\": \"0.5860705\",\n \"text\": \"@Override\\r\\n public void setImageBitmap(Bitmap bitmap) {\\r\\n bmp = bitmap;\\r\\n isReady = true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01aa897178727c7026b4fe7ce738f3f0\",\n \"score\": \"0.5857176\",\n \"text\": \"public void ondraw(Canvas canvas){\\n update();\\n canvas.drawBitmap(bmp, x, y, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa663fb5776215669cb77f24e1bf8fe2\",\n \"score\": \"0.58560985\",\n \"text\": \"private void setImageDrawable(Drawable drawable) {\\n ImageView imageView = getView();\\n\\n // We can only set the drawable if the view has not been released.\\n if (imageView != null) {\\n imageView.setImageDrawable(drawable);\\n } else {\\n Log.w(TAG, \\\"Attempt to set a drawable on a recycled image view\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53c53056171740a73dd6782af1da8314\",\n \"score\": \"0.5855825\",\n \"text\": \"@Override\\n public void draw(Graphics graphics) {\\n graphics.drawImage( image, getX()-getWidth()/2, getY()-getHeight()/2, null);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0cd72f1a5c5cc149d5833386c1c13b8\",\n \"score\": \"0.5847544\",\n \"text\": \"public void drawImage(Image image, float x, float y) {\\n/* 1433 */ drawImage(image, x, y, Color.white);\\n/* */ }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":859,"cells":{"query_id":{"kind":"string","value":"2a14c8ca0e57c2988e8528bdf425cd8b"},"query":{"kind":"string","value":"set name of ability"},"positive_passages":{"kind":"list like","value":[{"docid":"91e606193818ca84b424b561ace594e3","score":"0.6257591","text":"public void setName(String name)\n {\n this.name = name; \n }","title":""}],"string":"[\n {\n \"docid\": \"91e606193818ca84b424b561ace594e3\",\n \"score\": \"0.6257591\",\n \"text\": \"public void setName(String name)\\n {\\n this.name = name; \\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1964f49cae676a82eca8c43bc6973d87","score":"0.80565757","text":"public void setName(String name) {\n //add(\"AbilityList.NAME\", name, true);\n this.name = name;\n }","title":""},{"docid":"3811c4083dcb509cb968d2f62f77494b","score":"0.6803541","text":"public void setAttack(String name){\n \n }","title":""},{"docid":"ce2c2eadc5a362ed79596de870f321fc","score":"0.66715986","text":"public void setName(String aName){\n name = aName;\n }","title":""},{"docid":"09ed22b3e19a0a95f8ba6dfe42118242","score":"0.66133577","text":"public void setName(String name) throws UnauthorizedException;","title":""},{"docid":"248088af2b7ab6276cfcf62ed138e7ec","score":"0.65881133","text":"public void setName( String name );","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"9a775968bdcc6873d82b72be14147562","score":"0.65606225","text":"public void setName(String name);","title":""},{"docid":"49c8457d93ec630802496af18c54845d","score":"0.65066427","text":"public void setName(String name){\r\n\t}","title":""},{"docid":"cd9f4eb2e7672cd58e3890774e2f110a","score":"0.650388","text":"public void setName (String aName)\r\n {\r\n name = aName;\r\n }","title":""},{"docid":"02e90e4ec3ddf8889c9f97827427a7f6","score":"0.6496512","text":"public void setName (String Name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"a1152c660cbabcd54ec6b5f99e8b5fa5","score":"0.6490531","text":"void setName(String name);","title":""},{"docid":"58fa91a7f59bf5332977dc79d9abca39","score":"0.64437366","text":"void setName (String name) \n { // example of modifier \n this.name = name;\n }","title":""},{"docid":"601fba5f146d2e4ab748ce3723adecfc","score":"0.64256847","text":"public void setName(String aName) {\n name = aName;\n }","title":""},{"docid":"13a787ee8e07fe041ac91c8212c4d44f","score":"0.6424983","text":"public void setName(String name){\n \tthis.name = name;\n }","title":""},{"docid":"abc945b8bcaf23e1e1f6a0d92d338dbd","score":"0.6424226","text":"@Override\n\tpublic void ability() {\n\t\t\n\t}","title":""},{"docid":"9a6131008cd5bc9b63674c1def1af122","score":"0.6421444","text":"public void setName(final String name);","title":""},{"docid":"c2891b59dcdcc7ab49074544052c4c32","score":"0.64195037","text":"private void setName(String name){\r\n\t\tthis.name = name;\r\n\t}","title":""},{"docid":"73a3fddde6c1866768a12fb4994032cf","score":"0.640556","text":"private void setName(String name) {\r\n \tthis.name = name ;\r\n }","title":""},{"docid":"b1ad1ab55d36aa4420b61b7be41bd9d2","score":"0.64037895","text":"@Override\r\n\tpublic void setName(String name) {\n\t\t\r\n\t}","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"0f37526e0e37e5649565b0128726dd10","score":"0.63969606","text":"void setName(java.lang.String name);","title":""},{"docid":"898d79dfb4a764e99138c289f626211a","score":"0.63921946","text":"public void setName(String name){\n\tthis.name = name;\n }","title":""},{"docid":"821e9ce918880abecd72d7c239ccbf41","score":"0.6374192","text":"public void setName(String name) {this.name = name;}","title":""},{"docid":"0abb75ca7dd66af7e75f430e43c364cc","score":"0.63729554","text":"public void setName(String aName)\r\n\t{\r\n\t\tthis.name = aName;\r\n\t}","title":""},{"docid":"16e7b9d8a2e782f69f4198cef6a8de47","score":"0.6368361","text":"void setName(final String name);","title":""},{"docid":"770117034d2dc48f0c431088e3678cdd","score":"0.636595","text":"public void setName(String name){\r\n this.name = name;\r\n }","title":""},{"docid":"770117034d2dc48f0c431088e3678cdd","score":"0.636595","text":"public void setName(String name){\r\n this.name = name;\r\n }","title":""},{"docid":"f752ba58f72202606ddef0025348a42b","score":"0.6359448","text":"public void setName (String name){\n this.name = name;\n }","title":""},{"docid":"65dab3896cb6077daf4aefebd3dc26e5","score":"0.635878","text":"public void setName(String name) {\n this.name = name; //store the name\n }","title":""},{"docid":"e31aeaa3e13772b2631010a6502a6e8c","score":"0.63537496","text":"public String getAbilityName() {\r\n\treturn \"Reckless\";\r\n }","title":""},{"docid":"2eaec34d023bc9e27c5da6176dac0a7f","score":"0.63514227","text":"@Override\n\tpublic void setName(String name) {\n\t\t\n\t}","title":""},{"docid":"e086ef6f25cd0e645ebaca3c75f5015b","score":"0.6350331","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"af13aef05d874444dfcaccc53b3757d6","score":"0.6348966","text":"public void setName(String name) { this.name = name;}","title":""},{"docid":"39e8cd592f64d707ff45b6c301780fea","score":"0.63459784","text":"public void setName(String name){ this.name = name; }","title":""},{"docid":"9957c93cbf28fd0c4647c766136024a8","score":"0.6331374","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"9957c93cbf28fd0c4647c766136024a8","score":"0.6331374","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"9957c93cbf28fd0c4647c766136024a8","score":"0.6331374","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"9957c93cbf28fd0c4647c766136024a8","score":"0.6331374","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"9957c93cbf28fd0c4647c766136024a8","score":"0.6331374","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"9957c93cbf28fd0c4647c766136024a8","score":"0.6331374","text":"public void setName(String name){\n this.name = name;\n }","title":""},{"docid":"d55e4c355822eabb886eedefdde8ea6f","score":"0.63308597","text":"protected void setName(String name) {\n\tiName= name;\n }","title":""},{"docid":"cf404d2eb5815e2d0788c408c69392a0","score":"0.63304424","text":"public void setName(String name) { this.name = name; }","title":""},{"docid":"cf404d2eb5815e2d0788c408c69392a0","score":"0.63304424","text":"public void setName(String name) { this.name = name; }","title":""},{"docid":"cf404d2eb5815e2d0788c408c69392a0","score":"0.63304424","text":"public void setName(String name) { this.name = name; }","title":""},{"docid":"216184bf0b722ecb91d58a52eb273c5f","score":"0.6324244","text":"public void setName(String name){\n\n this.name = name;\n }","title":""},{"docid":"324ba08fb686d3b5e245a99473f63947","score":"0.63240176","text":"public void setName(String name){\n this.name=name;\n }","title":""},{"docid":"ddc9b2b21f059a7ba53151d2e096b5bb","score":"0.63230765","text":"public void setName(String inName)\r\n {\r\n name = inName;\r\n }","title":""},{"docid":"0d376cf8ea06a912426cd13686f2b30a","score":"0.6322508","text":"public void setName(String name) {\n\n }","title":""},{"docid":"ae28f2bd4d7e7a1ecfefd6825f5138fc","score":"0.631009","text":"@Override\n public void setName(String name) {\n this.name =name;\n }","title":""},{"docid":"e37a360a0222aecba391883807cf4499","score":"0.6302833","text":"public void setName(String n){\n this.name = n;\n }","title":""},{"docid":"dee81db575f2ea32187ec587f48989b2","score":"0.6299778","text":"public void setName(String name) {\n \tthis.name = name;\n }","title":""},{"docid":"8409edf1fc564c45edae3c6a4401b5ac","score":"0.62916213","text":"public void setName(String name) {\n this.name = name;\n }","title":""},{"docid":"de6a72cfb9e4ae0d9cecb3538307ad4b","score":"0.62916046","text":"public void setName(String name) {\n\n\t}","title":""},{"docid":"86db5e95aa48722e689a347a7efa56ac","score":"0.6290244","text":"public void setName(String name) {\n }","title":""},{"docid":"dd761c94ac8dcc648057ea2bf4d4a130","score":"0.6288019","text":"public void setName(String name){\n\t\tthis.name=name;\n\t}","title":""},{"docid":"6e5801d7a641f570346cda0aa9442019","score":"0.6287272","text":"public void setName(String name) {\n \tthis.name = name;\n }","title":""},{"docid":"4d47a2912d7f829a8afe1b3c19598c08","score":"0.62844265","text":"public void setName(String name){\n\t\tthis.name = name;\n\t}","title":""},{"docid":"4d47a2912d7f829a8afe1b3c19598c08","score":"0.62844265","text":"public void setName(String name){\n\t\tthis.name = name;\n\t}","title":""},{"docid":"a7f894638a2125563ea312aee621fb44","score":"0.6282512","text":"public void setName (String name){\r\n\t\tthis.name = name;\r\n\t}","title":""},{"docid":"3031c3494dac1605d166ba63ce14bb89","score":"0.62812364","text":"private void setName(String name) {\n\t\tthis.name = name;\n\t}","title":""},{"docid":"9401e279a3954f315b69471224a33353","score":"0.6271321","text":"@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name=name;\r\n\t}","title":""},{"docid":"9401e279a3954f315b69471224a33353","score":"0.6271321","text":"@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name=name;\r\n\t}","title":""},{"docid":"c361b90924c6908e5bdd4cdd6ca38a60","score":"0.62601185","text":"public void setName(String name)\n {\n this.Name=name;\n }","title":""},{"docid":"a1adbbe7d50228427cfadeb256b9eaed","score":"0.6249642","text":"public void setName(String theName){\n\tname = theName;\n }","title":""},{"docid":"01fda5b3bf1b6da309314c50c754cefd","score":"0.62477845","text":"public void setName(String n){\r\n name = n;\r\n }","title":""},{"docid":"8418221a60716aec889db26d84e1ced8","score":"0.6241405","text":"public void setName(String name) {\n this.name = name;\n }","title":""},{"docid":"7e57c2810d0923c82cfb0500da67e7ab","score":"0.62390184","text":"public void setName(String name)\n {\n this.name = name ;\n }","title":""},{"docid":"ad8ec973960af1939f43d5599eaf9404","score":"0.6236872","text":"public void setName(java.lang.CharSequence value) {\n this.name = value;\n }","title":""},{"docid":"ad8ec973960af1939f43d5599eaf9404","score":"0.6236872","text":"public void setName(java.lang.CharSequence value) {\n this.name = value;\n }","title":""}],"string":"[\n {\n \"docid\": \"1964f49cae676a82eca8c43bc6973d87\",\n \"score\": \"0.80565757\",\n \"text\": \"public void setName(String name) {\\n //add(\\\"AbilityList.NAME\\\", name, true);\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3811c4083dcb509cb968d2f62f77494b\",\n \"score\": \"0.6803541\",\n \"text\": \"public void setAttack(String name){\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce2c2eadc5a362ed79596de870f321fc\",\n \"score\": \"0.66715986\",\n \"text\": \"public void setName(String aName){\\n name = aName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09ed22b3e19a0a95f8ba6dfe42118242\",\n \"score\": \"0.66133577\",\n \"text\": \"public void setName(String name) throws UnauthorizedException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"248088af2b7ab6276cfcf62ed138e7ec\",\n \"score\": \"0.65881133\",\n \"text\": \"public void setName( String name );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a775968bdcc6873d82b72be14147562\",\n \"score\": \"0.65606225\",\n \"text\": \"public void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49c8457d93ec630802496af18c54845d\",\n \"score\": \"0.65066427\",\n \"text\": \"public void setName(String name){\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9f4eb2e7672cd58e3890774e2f110a\",\n \"score\": \"0.650388\",\n \"text\": \"public void setName (String aName)\\r\\n {\\r\\n name = aName;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02e90e4ec3ddf8889c9f97827427a7f6\",\n \"score\": \"0.6496512\",\n \"text\": \"public void setName (String Name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1152c660cbabcd54ec6b5f99e8b5fa5\",\n \"score\": \"0.6490531\",\n \"text\": \"void setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58fa91a7f59bf5332977dc79d9abca39\",\n \"score\": \"0.64437366\",\n \"text\": \"void setName (String name) \\n { // example of modifier \\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"601fba5f146d2e4ab748ce3723adecfc\",\n \"score\": \"0.64256847\",\n \"text\": \"public void setName(String aName) {\\n name = aName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13a787ee8e07fe041ac91c8212c4d44f\",\n \"score\": \"0.6424983\",\n \"text\": \"public void setName(String name){\\n \\tthis.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abc945b8bcaf23e1e1f6a0d92d338dbd\",\n \"score\": \"0.6424226\",\n \"text\": \"@Override\\n\\tpublic void ability() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a6131008cd5bc9b63674c1def1af122\",\n \"score\": \"0.6421444\",\n \"text\": \"public void setName(final String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2891b59dcdcc7ab49074544052c4c32\",\n \"score\": \"0.64195037\",\n \"text\": \"private void setName(String name){\\r\\n\\t\\tthis.name = name;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73a3fddde6c1866768a12fb4994032cf\",\n \"score\": \"0.640556\",\n \"text\": \"private void setName(String name) {\\r\\n \\tthis.name = name ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ad1ab55d36aa4420b61b7be41bd9d2\",\n \"score\": \"0.64037895\",\n \"text\": \"@Override\\r\\n\\tpublic void setName(String name) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f37526e0e37e5649565b0128726dd10\",\n \"score\": \"0.63969606\",\n \"text\": \"void setName(java.lang.String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"898d79dfb4a764e99138c289f626211a\",\n \"score\": \"0.63921946\",\n \"text\": \"public void setName(String name){\\n\\tthis.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"821e9ce918880abecd72d7c239ccbf41\",\n \"score\": \"0.6374192\",\n \"text\": \"public void setName(String name) {this.name = name;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0abb75ca7dd66af7e75f430e43c364cc\",\n \"score\": \"0.63729554\",\n \"text\": \"public void setName(String aName)\\r\\n\\t{\\r\\n\\t\\tthis.name = aName;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16e7b9d8a2e782f69f4198cef6a8de47\",\n \"score\": \"0.6368361\",\n \"text\": \"void setName(final String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"770117034d2dc48f0c431088e3678cdd\",\n \"score\": \"0.636595\",\n \"text\": \"public void setName(String name){\\r\\n this.name = name;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"770117034d2dc48f0c431088e3678cdd\",\n \"score\": \"0.636595\",\n \"text\": \"public void setName(String name){\\r\\n this.name = name;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f752ba58f72202606ddef0025348a42b\",\n \"score\": \"0.6359448\",\n \"text\": \"public void setName (String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65dab3896cb6077daf4aefebd3dc26e5\",\n \"score\": \"0.635878\",\n \"text\": \"public void setName(String name) {\\n this.name = name; //store the name\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e31aeaa3e13772b2631010a6502a6e8c\",\n \"score\": \"0.63537496\",\n \"text\": \"public String getAbilityName() {\\r\\n\\treturn \\\"Reckless\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2eaec34d023bc9e27c5da6176dac0a7f\",\n \"score\": \"0.63514227\",\n \"text\": \"@Override\\n\\tpublic void setName(String name) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e086ef6f25cd0e645ebaca3c75f5015b\",\n \"score\": \"0.6350331\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af13aef05d874444dfcaccc53b3757d6\",\n \"score\": \"0.6348966\",\n \"text\": \"public void setName(String name) { this.name = name;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39e8cd592f64d707ff45b6c301780fea\",\n \"score\": \"0.63459784\",\n \"text\": \"public void setName(String name){ this.name = name; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9957c93cbf28fd0c4647c766136024a8\",\n \"score\": \"0.6331374\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9957c93cbf28fd0c4647c766136024a8\",\n \"score\": \"0.6331374\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9957c93cbf28fd0c4647c766136024a8\",\n \"score\": \"0.6331374\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9957c93cbf28fd0c4647c766136024a8\",\n \"score\": \"0.6331374\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9957c93cbf28fd0c4647c766136024a8\",\n \"score\": \"0.6331374\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9957c93cbf28fd0c4647c766136024a8\",\n \"score\": \"0.6331374\",\n \"text\": \"public void setName(String name){\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d55e4c355822eabb886eedefdde8ea6f\",\n \"score\": \"0.63308597\",\n \"text\": \"protected void setName(String name) {\\n\\tiName= name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf404d2eb5815e2d0788c408c69392a0\",\n \"score\": \"0.63304424\",\n \"text\": \"public void setName(String name) { this.name = name; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf404d2eb5815e2d0788c408c69392a0\",\n \"score\": \"0.63304424\",\n \"text\": \"public void setName(String name) { this.name = name; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf404d2eb5815e2d0788c408c69392a0\",\n \"score\": \"0.63304424\",\n \"text\": \"public void setName(String name) { this.name = name; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"216184bf0b722ecb91d58a52eb273c5f\",\n \"score\": \"0.6324244\",\n \"text\": \"public void setName(String name){\\n\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"324ba08fb686d3b5e245a99473f63947\",\n \"score\": \"0.63240176\",\n \"text\": \"public void setName(String name){\\n this.name=name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddc9b2b21f059a7ba53151d2e096b5bb\",\n \"score\": \"0.63230765\",\n \"text\": \"public void setName(String inName)\\r\\n {\\r\\n name = inName;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d376cf8ea06a912426cd13686f2b30a\",\n \"score\": \"0.6322508\",\n \"text\": \"public void setName(String name) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae28f2bd4d7e7a1ecfefd6825f5138fc\",\n \"score\": \"0.631009\",\n \"text\": \"@Override\\n public void setName(String name) {\\n this.name =name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e37a360a0222aecba391883807cf4499\",\n \"score\": \"0.6302833\",\n \"text\": \"public void setName(String n){\\n this.name = n;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dee81db575f2ea32187ec587f48989b2\",\n \"score\": \"0.6299778\",\n \"text\": \"public void setName(String name) {\\n \\tthis.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8409edf1fc564c45edae3c6a4401b5ac\",\n \"score\": \"0.62916213\",\n \"text\": \"public void setName(String name) {\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de6a72cfb9e4ae0d9cecb3538307ad4b\",\n \"score\": \"0.62916046\",\n \"text\": \"public void setName(String name) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86db5e95aa48722e689a347a7efa56ac\",\n \"score\": \"0.6290244\",\n \"text\": \"public void setName(String name) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd761c94ac8dcc648057ea2bf4d4a130\",\n \"score\": \"0.6288019\",\n \"text\": \"public void setName(String name){\\n\\t\\tthis.name=name;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e5801d7a641f570346cda0aa9442019\",\n \"score\": \"0.6287272\",\n \"text\": \"public void setName(String name) {\\n \\tthis.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d47a2912d7f829a8afe1b3c19598c08\",\n \"score\": \"0.62844265\",\n \"text\": \"public void setName(String name){\\n\\t\\tthis.name = name;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d47a2912d7f829a8afe1b3c19598c08\",\n \"score\": \"0.62844265\",\n \"text\": \"public void setName(String name){\\n\\t\\tthis.name = name;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7f894638a2125563ea312aee621fb44\",\n \"score\": \"0.6282512\",\n \"text\": \"public void setName (String name){\\r\\n\\t\\tthis.name = name;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3031c3494dac1605d166ba63ce14bb89\",\n \"score\": \"0.62812364\",\n \"text\": \"private void setName(String name) {\\n\\t\\tthis.name = name;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9401e279a3954f315b69471224a33353\",\n \"score\": \"0.6271321\",\n \"text\": \"@Override\\r\\n\\tpublic void setName(String name) {\\n\\t\\tthis.name=name;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9401e279a3954f315b69471224a33353\",\n \"score\": \"0.6271321\",\n \"text\": \"@Override\\r\\n\\tpublic void setName(String name) {\\n\\t\\tthis.name=name;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c361b90924c6908e5bdd4cdd6ca38a60\",\n \"score\": \"0.62601185\",\n \"text\": \"public void setName(String name)\\n {\\n this.Name=name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1adbbe7d50228427cfadeb256b9eaed\",\n \"score\": \"0.6249642\",\n \"text\": \"public void setName(String theName){\\n\\tname = theName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01fda5b3bf1b6da309314c50c754cefd\",\n \"score\": \"0.62477845\",\n \"text\": \"public void setName(String n){\\r\\n name = n;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8418221a60716aec889db26d84e1ced8\",\n \"score\": \"0.6241405\",\n \"text\": \"public void setName(String name) {\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e57c2810d0923c82cfb0500da67e7ab\",\n \"score\": \"0.62390184\",\n \"text\": \"public void setName(String name)\\n {\\n this.name = name ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad8ec973960af1939f43d5599eaf9404\",\n \"score\": \"0.6236872\",\n \"text\": \"public void setName(java.lang.CharSequence value) {\\n this.name = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad8ec973960af1939f43d5599eaf9404\",\n \"score\": \"0.6236872\",\n \"text\": \"public void setName(java.lang.CharSequence value) {\\n this.name = value;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":860,"cells":{"query_id":{"kind":"string","value":"ccea63568ebd9313b7d5488770c0588f"},"query":{"kind":"string","value":"Creates new form ShowAllAttendance"},"positive_passages":{"kind":"list like","value":[{"docid":"1c08d2ed279de00e604711f21131b58a","score":"0.6498935","text":"public ShowAllAttendance() {\n \n initComponents();\n GreyTextField.greyifyTextFieldText(txtSearchClass, \"Search Class\");\n try{\n refreshClassTable();\n }catch(SQLException e){e.printStackTrace();}\n }","title":""}],"string":"[\n {\n \"docid\": \"1c08d2ed279de00e604711f21131b58a\",\n \"score\": \"0.6498935\",\n \"text\": \"public ShowAllAttendance() {\\n \\n initComponents();\\n GreyTextField.greyifyTextFieldText(txtSearchClass, \\\"Search Class\\\");\\n try{\\n refreshClassTable();\\n }catch(SQLException e){e.printStackTrace();}\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"485e573db13899fe18e4623172363711","score":"0.60393494","text":"public ViewAttendance() {\n initComponents();\n conn=DBconnect.connect();\n tableload();\n }","title":""},{"docid":"b76e604d275617785136909e161eca40","score":"0.60021925","text":"public Operator_Attendance() {\n initComponents();\n ope_Date.setVisible(false);\n TableAllData();\n }","title":""},{"docid":"aed6e80685da75d45396fcdc4202382c","score":"0.5931475","text":"public attendanceViewer() {\n initComponents();\n }","title":""},{"docid":"119d0428be51f0a0dc9e5ccda1ab6b74","score":"0.5851377","text":"public EmployeeAttendances() {}","title":""},{"docid":"9a512d513c669d0c9fd9511bf2ea27f9","score":"0.5828989","text":"@Override\n\tpublic List list() {\n\t\treturn attendanceDao.list();\n\t}","title":""},{"docid":"9b4afd3f5f148a678cada168053823b6","score":"0.5729885","text":"public AttendanceReport() {\n initComponents();\n\n }","title":""},{"docid":"5ede4fd3694785e1e6e9fbc9bcc863b8","score":"0.5525128","text":"public static void populateFilledAppointments() {\n\t\ttry {\n\t\t\t//Create a query to use in a PreparedStatement\n\t\t\t\t//Will find all information about scheduled appointment for a specific advisor\n\t\t\tString query = \"select * from appointments WHERE open=0 and advisor=?\";\n\t\t\t//Execute the query with the associated database connection\n\t\t\tPreparedStatement pst = sqliteConnection.connAppointment.prepareStatement(query);\n\t\t\t//advisor = the currently logged in advisor\n\t\t\tpst.setString(1, AdvisorAccount.name);\n\t\t\t//Results of the PreparedStatement\n\t\t\tResultSet rs = pst.executeQuery();\n\t\t\t//Populate the table with the ResultSet \n\t\t\t\t//Only displays the scheduled appointment for the currently logged in advisor\n\t\t\t\t//Unscheduled appointments will not be visible\n\t\t\tAdvisorSchedule.table.setModel(DbUtils.resultSetToTableModel(rs));\n\t\t\t//Close the data reception from the database\n\t\t\trs.close();\n\t\t\tpst.close();\n\t\t} catch (Exception e) {\n\t\t\tJOptionPane.showMessageDialog(null, e);\n\t\t}\n\t}","title":""},{"docid":"b3bb8d84ca96519354a8fb16816b033e","score":"0.5513711","text":"public frmAgendamentoListagem() {\n initComponents();\n \n DAO = new AgendamentoDAO();\n\n // List Agendamentos = DAO.ListarAgendamentos();\n\n //preencheTabela(Agendamentos);\n \n \n }","title":""},{"docid":"45268b95cf05c07183c923be9cead1db","score":"0.5439495","text":"public void b_attendance(View view) {\n startActivity(new Intent(this, AttendanceScreen.class));\n }","title":""},{"docid":"e985847d9763c01244d22a347d3fe42e","score":"0.5404022","text":"public void ShowClassSchedule() {\n ArrayList list = StudentRegisteredCourses();\n DefaultTableModel model = (DefaultTableModel)MP_Class_Schedule_Table.getModel();\n Object[] row = new Object[3];\n for(int i=0;i list = dbManager.showAllCommitteeMember();\n if (list.size()<1){\n Toast.makeText(getApplicationContext(), \"You do not have any committee with members so fist add committee with members\",Toast.LENGTH_LONG).show();\n }else {\n newActivity = new Intent(this, AddMeetingActivity.class);\n startActivity(newActivity);\n }\n }","title":""},{"docid":"a7c1de314467eb642de430e0d2b69f66","score":"0.5330943","text":"@Nonnull\n public com.microsoft.graph.requests.MeetingAttendanceReportCollectionRequestBuilder attendanceReports() {\n return new com.microsoft.graph.requests.MeetingAttendanceReportCollectionRequestBuilder(getRequestUrlWithAdditionalSegment(\"attendanceReports\"), getClient(), null);\n }","title":""},{"docid":"97b8c935a1e6f6ecb03ec49ec9d36de1","score":"0.5313492","text":"private void viewAllAttendant() {\r\n carPark.showAllAttendant();\r\n }","title":""},{"docid":"a7c62d2cae5779037ee21d2e1de7a546","score":"0.53107023","text":"public void newAppointment(Meeting model) {\n main.newAppointment(model);\n }","title":""},{"docid":"a623a06420c8ac7ad08efcf7d619882c","score":"0.530394","text":"@Override\n public void showAll() {\n model.setRowCount(0);\n ArrayList employees = new ArrayList();\n \n employees = emp_operations.showEmployees();\n \n if (employees != null) {\n \n for(Employee element: employees){\n Object[] x = {element.getId(),element.getName(),element.getSurname(),element.getBirth_date(),element.getNationality(),element.getAddress(),element.getPhone(),element.getDpt_id(),element.getEmail(),element.getJob(),element.getSalary()};\n model.addRow(x);\n \n \n }\n \n }\n \n }","title":""},{"docid":"6cbecd509c1b9335b04d18baeaaf4e2e","score":"0.5280962","text":"private void createAppointment(){\n Intent intent = new Intent(this, AddAppointment.class);\n if ( selectedDate == null ){\n selectedDate = getCurrentDate();\n }\n intent.putExtra(Appointment.KEY_DATE, selectedDate);\n startActivity(intent);\n\n }","title":""},{"docid":"6cff1b869fab92ece417ae0d33e1594c","score":"0.52476007","text":"private void viewAllAvailableAttendant() {\r\n carPark.showAllAvailableAttendant();\r\n }","title":""},{"docid":"a0f5c52daff2a2131b548d32a342f26e","score":"0.5236564","text":"private void fillForm() {\n model.setRowCount(0);\n for (SinhVien sv : listSV) {\n model.addRow(new Object[] {sv.getFullName(), sv.getMajors(),\n sv.getMarks(), sv.getDate()});\n }\n }","title":""},{"docid":"14e1f1ad5eb970a4936f564812758dbe","score":"0.521346","text":"public String attendanceReport(){\n\n\t\tStringBuilder strb = new StringBuilder(\"\");\n\n\t\t//Displays the ID and the name of the class and the name of the tutor of the class.\n\t\tstrb.append(String.format(\"%10s %25s %25s \", getClassID(), getClassName(), getTutorName()));\n\n\t\tfor(int attendance : getAttendanceRecords()){\n\t\t\t//Loops the attendances for each week\n\t\t\tstrb.append(String.format(\"%6d\", attendance));\n\t\t}\n\n\t\tstrb.append(String.format(\"%22.2f\\n\", averageAttendance()));\n\n\t\treturn strb.toString();\n\t}","title":""},{"docid":"e7ffe58c90aba2ad62acdf69a74a1a4e","score":"0.5212624","text":"private void getAllExamsForEach() {\n try {\n ArrayList searchExam = ExamsController.getEachExams(txtrid.getText());\n DefaultTableModel dtm = (DefaultTableModel) tblExam.getModel();\n dtm.setRowCount(0);\n\n if (searchExam != null) {\n for (ExamsDTO searchExams1 : searchExam) {\n dtm.addRow(new Object[]{searchExams1.getRegId(), searchExams1.getExamId(), searchExams1.getExamName(), searchExams1.getExamMark(), searchExams1.getExamDate()});\n }\n } else {\n JOptionPane.showMessageDialog(null, \"There is no Exams such that Student..!!\");\n }\n } catch (Exception ex) {\n Logger.getLogger(ExamsReportsForm.class.getName()).log(Level.SEVERE, null, ex);\n }\n }","title":""},{"docid":"97b219a9eb211ab7733b63871d1f162d","score":"0.52118015","text":"public static void bookedAppointment() {\n\t\t\n\n\t\tSystem.out.println(\n\t\t\t\t\"--------------------------------------Appointment List---------------------------------------------\");\n\n\t\ttry {\n\t\t AppointmentDao appointment = new AppointmentDao(new DatabaseManager());\n\t\t\tList dtos = appointment.read();\n\t\t\tSystem.out.println(\"\\n\");\n\t\t\tSystem.out.printf(\"Id Name DoctorId Problem DateofAppointment Time\\n\");\n\t\t\t\n\t\t\tfor (AppointmentDto appointmentDto : dtos) {\n\t\t\t\tSystem.out.printf(\" %s %30s %20s %28s %20s %25s \", appointmentDto.getAppointmentId(),\n\t\t\t\t\t\tappointmentDto.getPatientname(), appointmentDto.getDrId(), appointmentDto.getProblem(),\n\t\t\t\t\t\tappointmentDto.getAppointmentDate(), appointmentDto.getAppointmentTime());\n\t\t\t\tSystem.out.println(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(\"-----------------------------------*---Appointment List---*--------------------------------------------------- \");\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(e);\n\t\t\tSystem.out.println(\"----------Can't read---------\");\n\t\t}\n\t}","title":""},{"docid":"229e4256239b45b0f401b6a46412c0a6","score":"0.5196054","text":"public nurseScreen(Nurse nurse) {\n this.nurse = nurse;\n initComponents();\n DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\"yyyy/MM/dd HH:mm:ss\"); \n LocalDateTime now = LocalDateTime.now(); \n date.setText(dtf.format(now));\n \n for(Patients p : Company.patientsData){\n vaccinelist.addItem(p.getId());\n updatelist.addItem(p.getId());\n covidlist.addItem(p.getId());\n }\n }","title":""},{"docid":"a8512e5c89eb9f7f99e97bda76a8e7ff","score":"0.5178777","text":"@GetMapping(\"/showAddForm\")\r\n\tpublic String showAddForm(Model model) {\n\t\tStudent student = new Student();\r\n\t\tmodel.addAttribute(\"student\", student);\r\n\t\treturn \"student-form\";\r\n\t}","title":""},{"docid":"b2cf0b92f7103cd6c7889d726bcb6aeb","score":"0.51728463","text":"public void addAllWiaEnrollment() {\n btnAddAllWiaEnrollment.click();\n }","title":""},{"docid":"25d1df6a40a444139a93bc70389a8978","score":"0.5166266","text":"public void AECG_ShowStudents() {\n ArrayList list = StudentsList();\n DefaultTableModel model = (DefaultTableModel) AECG_Students_Table.getModel();\n Object[] row = new Object[3];\n for(int i=0;i cause = new ArrayList();\n\t\tcause.add(new Cause(1,\"Homeless\"));\n\t\tcause.add(new Cause(2,\"Drunk\"));\n\t\tcause.add(new Cause(3,\"Animal\"));\n\t\tcause.add(new Cause(4,\"Other\"));\n\t\tmodel.addAttribute(\"cause\", cause);\n\t\t\n\t\tmodel.addAttribute(new Incident());\n\t\treturn \"incident/createForm\";\n\t}","title":""},{"docid":"0e073c97cbe151f058c31a82b8119d92","score":"0.5158915","text":"public UpdateAttendanceServlet() {\r\n\t\tsuper();\r\n\t}","title":""},{"docid":"35785c84f2ceb4c1af8baa321c644d1e","score":"0.51583594","text":"private void butAdd_Click(Object sender, EventArgs e) throws Exception {\n FormVitalsignEdit2014 FormVSE = new FormVitalsignEdit2014();\n //FormEhrVitalsignEdit FormVSE=new FormEhrVitalsignEdit();\n FormVSE.VitalsignCur = new Vitalsign();\n FormVSE.VitalsignCur.PatNum = PatNum;\n FormVSE.VitalsignCur.DateTaken = DateTime.Today;\n FormVSE.VitalsignCur.setIsNew(true);\n FormVSE.ShowDialog();\n fillGrid();\n }","title":""},{"docid":"2ea485c67fb1af0e3e021b08924d0826","score":"0.5154295","text":"public void MS_Show_Students() {\n ArrayList list = StudentsList();\n DefaultTableModel model = (DefaultTableModel)MS_Current_Students_Table.getModel();\n Object[] row = new Object[10];\n for(int i=0;i listAnd(Attendance attendance) {\n\t\treturn attendanceDao.listAnd(attendance);\n\t}","title":""},{"docid":"8ea6b6e93cb2f37abcbef4550791dc30","score":"0.5100833","text":"@GetMapping(\"/showAddForm\")\n\tpublic String showFormForAdd(Model theModel) {\n\t\tStudent theStudent = new Student();\n\t\t\n\t\ttheModel.addAttribute(\"student\", theStudent);\n\t\t\n\t\treturn \"student-form\";\n\t}","title":""},{"docid":"7c3292133c16123c95a9495ae529e895","score":"0.5089629","text":"@GetMapping(\"/showFormForAdd\")\n\t\tpublic String showFormForAdd(Model theModel) {\n\t\t\tReservation theReservation = new Reservation();\n\t\t\t\n\t\t\ttheModel.addAttribute(\"reservation\", theReservation);\n\t\t\t\n\t\t\treturn \"reservations/reservation-form\";\n\t\t}","title":""},{"docid":"711a7cb4cab5fdcdf6ac5441088cab88","score":"0.5075649","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jScrollPane1 = new javax.swing.JScrollPane();\n tblattend = new javax.swing.JTable();\n jLabel4 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n txtid = new javax.swing.JTextField();\n jButton3 = new javax.swing.JButton();\n\n setBorder(null);\n setMaximumSize(new java.awt.Dimension(1030, 630));\n setMinimumSize(new java.awt.Dimension(1030, 630));\n setPreferredSize(new java.awt.Dimension(1030, 630));\n\n jPanel1.setBackground(new java.awt.Color(255, 255, 255));\n jPanel1.setMaximumSize(new java.awt.Dimension(1030, 630));\n jPanel1.setMinimumSize(new java.awt.Dimension(1030, 630));\n jPanel1.setName(\"\"); // NOI18N\n jPanel1.setPreferredSize(new java.awt.Dimension(1030, 630));\n\n tblattend.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null, null, null, null},\n {null, null, null, null, null, null, null},\n {null, null, null, null, null, null, null},\n {null, null, null, null, null, null, null}\n },\n new String [] {\n \"Date\", \"Employee ID\", \"Name \", \"In \", \"Out\", \"Hours Worked\", \"Title 7\"\n }\n ));\n jScrollPane1.setViewportView(tblattend);\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel4.setText(\"View Daily Attendance\");\n\n jButton1.setText(\"Search\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"Employee ID\");\n\n txtid.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtidActionPerformed(evt);\n }\n });\n\n jButton3.setText(\"Clear\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addGap(21, 21, 21)\n .addComponent(txtid, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(46, 46, 46)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jButton3)\n .addContainerGap(685, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jButton1)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel4))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(21, 21, 21)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 961, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(48, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(26, 26, 26)\n .addComponent(jLabel4)\n .addGap(29, 29, 29)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jButton1)\n .addGap(63, 63, 63)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 604, Short.MAX_VALUE)\n );\n\n pack();\n }","title":""},{"docid":"a839a3c563e6eef9c91c8b9f6f2a5475","score":"0.5072824","text":"public void SR_Show_Students() {\n ArrayList list = StudentsList();\n DefaultTableModel model = (DefaultTableModel)SC_Current_Students_Table.getModel();\n Object[] row = new Object[10];\n for(int i=0;i list) {\n labelVisibility(!list.isEmpty());\n this.recordSection.setData(list);\n }","title":""},{"docid":"18dedc7f2f2dfdcbdc0fdd778c48c9d9","score":"0.50370616","text":"private void PrintPatientsAssessementForm() {\n com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf.connectDB = connectDB;\n com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf regForm = new com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf();\n regForm.generatePdf(nameNoTxt.getText().toString(), headerDatePicker.getDate());\n }","title":""},{"docid":"25700c217d1ad73681df46483adcd7a8","score":"0.50091094","text":"private void consultantSchedules() {\n \n // Retreive all appointments from the database.\n ObservableList allAppointments = DAO.getAllAppointments();\n \n // Create the table view and table columns.\n TableView tableView = new TableView<>();\n TableColumn userIdColumn = new TableColumn<>(\"Consultant ID\");\n TableColumn startColumn = new TableColumn<>(\"Start\");\n TableColumn endColumn = new TableColumn<>(\"End\");\n TableColumn titleColumn = new TableColumn<>(\"Title\");\n TableColumn typeColumn = new TableColumn<>(\"Type\");\n TableColumn locationColumn = new TableColumn<>(\"Location\");\n TableColumn customerNameColumn = new TableColumn<>(\"Customer Name\");\n \n // Add the table columns to the table.\n tableView.getColumns().add(userIdColumn);\n tableView.getColumns().add(customerNameColumn);\n tableView.getColumns().add(titleColumn);\n tableView.getColumns().add(typeColumn);\n tableView.getColumns().add(locationColumn);\n tableView.getColumns().add(startColumn);\n tableView.getColumns().add(endColumn);\n \n // Bind data to the table columns.\n userIdColumn.setCellValueFactory(cellData -> cellData.getValue().userIdProperty().asString());\n customerNameColumn.setCellValueFactory(cellData -> cellData.getValue().customerNameProperty());\n startColumn.setCellValueFactory(cellData -> cellData.getValue().startProperty());\n endColumn.setCellValueFactory(cellData -> cellData.getValue().endProperty());\n titleColumn.setCellValueFactory(cellData -> cellData.getValue().titleProperty());\n typeColumn.setCellValueFactory(cellData -> cellData.getValue().typeProperty());\n locationColumn.setCellValueFactory(cellData -> cellData.getValue().locationProperty());\n \n // Add items to the table.\n tableView.setItems(allAppointments);\n \n // Display report.\n reports.displayReport(tableView);\n }","title":""},{"docid":"790af2ef3fce0c6901df1a465b196232","score":"0.50057554","text":"public FrmRegistrodeEstudiantes() {\n initComponents();\n try {\n iniciarListado();\n } catch (IOException ex) {\n Util.imprimir(ex.toString());\n } \n \n }","title":""},{"docid":"9bb5752a2e9fe7fc0a59898b9ab58c60","score":"0.49961212","text":"public void Show_RegisteredCourses() {\n ArrayList list = StudentRegisteredCourses();\n DefaultTableModel model = (DefaultTableModel)SP_Registered_Courses_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jScrollPane1 = new javax.swing.JScrollPane();\n jTable1 = new javax.swing.JTable();\n course = new javax.swing.JComboBox<>();\n jButton1 = new javax.swing.JButton();\n studName = new javax.swing.JTextField();\n studIntake = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n studID = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Attendace Record\"));\n jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"Date\", \"Start Time\", \"End Time\", \"Status\"\n }\n ));\n jScrollPane1.setViewportView(jTable1);\n\n jPanel1.add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 30, 520, 580));\n\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 30, 570, 630));\n\n course.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(course, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 310, 180, -1));\n\n jButton1.setText(\"View\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 390, -1, -1));\n\n studName.setEditable(false);\n getContentPane().add(studName, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 180, 200, 30));\n\n studIntake.setEditable(false);\n getContentPane().add(studIntake, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 240, 200, 30));\n\n jLabel1.setText(\"Student ID\");\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 120, -1, -1));\n\n jLabel2.setText(\"Intake\");\n getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 250, -1, -1));\n\n jLabel3.setText(\"Module\");\n getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 310, -1, -1));\n\n studID.setEditable(false);\n getContentPane().add(studID, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 110, 200, 30));\n\n jLabel4.setText(\"Name\");\n getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 190, -1, -1));\n\n pack();\n }","title":""},{"docid":"dd63a305c72987a28aee49cfaaf6f997","score":"0.49338546","text":"private JPanel consultationForm() {\r\n\t\tJPanel consultationpanel = new JPanel();\r\n\t\tJLabel lblpatientid = new JLabel(\"Patient's Username\");\r\n\t\tlblpatientid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lblstaffid = new JLabel(\" Staff's Username\");\r\n\t\tlblstaffid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lblsubject = new JLabel(\" Subject\");\r\n\t\tlblsubject.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbldateBooked = new JLabel(\" Date Booked\");\r\n\t\tlbldateBooked.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbldate = new JLabel(\" Date\");\r\n\t\tlbldate.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbltime = new JLabel(\" Time\");\r\n\t\tlbltime.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbltreatmentid = new JLabel(\" Treatment ID\");\r\n\t\tlbltreatmentid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tfinal JTextField patientid = new JTextField(15);\r\n\t\tfinal JTextField staffid = new JTextField(15);\r\n\t\tfinal JTextField subject = new JTextField(15);\r\n\t\tfinal JDateChooser dateBooked = new JDateChooser();\r\n\t\tdateBooked.setDateFormatString(\"yyyy-MM-dd\");\r\n\t\tfinal JDateChooser date = new JDateChooser();\r\n\t\tdate.setDateFormatString(\"yyyy-MM-dd\");\r\n\t\tfinal JTextField time = new JTextField(15);\r\n\t\tfinal JTextField treatmentid = new JTextField(15);\r\n\t\tJButton addConsultation = new JButton(\"Add\");\r\n\t\tconsultationpanel.add(lblpatientid);\r\n\t\tconsultationpanel.add(patientid);\r\n\t\tconsultationpanel.add(lblstaffid);\r\n\t\tconsultationpanel.add(staffid);\r\n\t\tconsultationpanel.add(lblsubject);\r\n\t\tconsultationpanel.add(subject);\r\n\t\tconsultationpanel.add(lbldateBooked);\r\n\t\tconsultationpanel.add(dateBooked);\r\n\t\tconsultationpanel.add(lbldate);\r\n\t\tconsultationpanel.add(date);\r\n\t\tconsultationpanel.add(lbltime);\r\n\t\tconsultationpanel.add(time);\r\n\t\tconsultationpanel.add(lbltreatmentid);\r\n\t\tconsultationpanel.add(treatmentid);\r\n\t\tconsultationpanel.add(addConsultation);\r\n\t\taddConsultation.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// Send data to server\r\n\t\t\t\t\tout.println(\"addConsultation\");\r\n\t\t\t\t\tout.println(patientid.getText());\r\n\t\t\t\t\tout.println(staffid.getText());\r\n\t\t\t\t\tout.println(subject.getText());\r\n\t\t\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n\t\t\t\t\tout.println(dateFormat.format(dateBooked.getDate()));\r\n\t\t\t\t\tout.println(dateFormat.format(date.getDate()));\r\n\t\t\t\t\tout.println(time.getText());\r\n\t\t\t\t\tout.println(treatmentid.getText());\r\n\t\t\t\t\t// Get data from server\r\n\t\t\t\t\tif ((messageFromServer = in.readLine()) != null) {\r\n\t\t\t\t\t\tSystem.out.println(messageFromServer);\r\n\t\t\t\t\t\tgetContentPane().removeAll();\r\n\t\t\t\t\t\t// Successful addition\r\n\t\t\t\t\t\tif (messageFromServer.equals(\"consultationAdded\")) {\r\n\t\t\t\t\t\t\tJLabel message = new JLabel(\"You have successfully added the consultation!\");\r\n\t\t\t\t\t\t\tmessage.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\t\t\t\t\tmessage.setForeground(Color.blue);\r\n\t\t\t\t\t\t\tmessage.setBounds(380, 380, 350, 50);\r\n\t\t\t\t\t\t\tgetContentPane().add(consultationForm());\r\n\t\t\t\t\t\t\tgetContentPane().add(message);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\trevalidate();\r\n\t\t\t\t\t\trepaint();\r\n\t\t\t\t\t\tpack();\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception er) {\r\n\t\t\t\t\tSystem.out.println(\"Exception: consultationForm\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tconsultationpanel.setBounds(350, 150, 350, 220);\r\n\t\tconsultationpanel.setOpaque(false);\r\n\t\tconsultationpanel.setBorder(BorderFactory.createLineBorder(Color.black));\r\n\t\treturn consultationpanel;\r\n\t}","title":""},{"docid":"6666beeb2310edfd3ec212ea5fe170fa","score":"0.49293205","text":"public FormInicio() {\n initComponents(); \n Ambito a=new Ambito(-1,0);\n TSH.lista_ambitos.add(a);\n }","title":""},{"docid":"c1849ff394fc888ee05ea0a2d775af15","score":"0.49289003","text":"public ArrayList getAppointments() {\n ArrayList appointments = null;\n try {\n String sqlQuary = \"select Appointment._id,Appointment.GpName,Appointment.Date,Appointment.Time,Appointment.DateTime from Appointment where Appointment.userName= '\" + LoginActivity.userName + \"' ORDER BY datetime(DateTime) ASC\";\n open();\n Cursor cursor = db.rawQuery(sqlQuary, null);\n appointments = new ArrayList();\n\n if (cursor.moveToFirst()) {\n\n do {\n //create new object from Appointment Model class to hold the new data\n Appointment newappointment = new Appointment();\n\n newappointment.setID(cursor.getInt(0));\n newappointment.setGpName(cursor.getString(1));\n newappointment.setAppointmentDate(cursor.getString(2));\n newappointment.setAppointmentTime(cursor.getString(3));\n newappointment.setAppointmentDateTime(cursor.getString(4));\n\n appointments.add(newappointment);\n\n\n } while (cursor.moveToNext());\n cursor.close();\n close();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return appointments;\n }","title":""},{"docid":"9d1b89b3611a4af96698038d8535e437","score":"0.4922842","text":"public void AC_Show_Courses() {\n ArrayList list = CoursesList();\n DefaultTableModel model = (DefaultTableModel)SC_Current_Courses_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i list = new ArrayList();\n try {\n list.add(new Patient(\"Flora\",6, \"A\",\"01-04-2020\",\"23-04-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Denys\",24, \"B\",\"01-04-2020\",\"23-04-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Jim\",42, \"C\",\"18-05-2020\",\"09-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Hazel\",87, \"D\",\"23-06-2020\",\"15-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Caery\",72, \"A\",\"01-06-2020\",\"23-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"David\",7, \"B\",\"14-06-2020\",\"06-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Kevim\",37, \"D\",\"05-06-2020\",\"27-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Tom\",67, \"D\",\"20-06-2020\",\"12-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Bob\",74, \"A\",\"04-07-2020\",\"26-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Rachel\",48, \"C\",\"24-07-2020\",\"15-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Thomas\",21, \"C\",\"11-06-2020\",\"03-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Mary\",17, \"D\",\"21-06-2020\",\"13-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Smith\",89, \"A\",\"07-08-2020\",\"29-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Pearson\",47, \"B\",\"04-06-2020\",\"26-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Anderson\",62, \"B\",\"27-07-2020\",\"18-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Johnson\",10, \"D\",\"01-08-2020\",\"23-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Robertz\",50, \"A\",\"09-08-2020\",\"31-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Julie\",86, \"B\",\"02-05-2020\",\"27-05-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Edith\",42, \"D\",\"07-06-2020\",\"29-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"John\",95, \"D\",\"01-06-2020\",\"23-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n\n// SimpleDateFormat formatter2=new SimpleDateFormat(\"dd-MM-yyyy\");\n\n\n try {\n Date inputDate = formatter2.parse(t1.getText());\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n// inputDate.compareTo(list.get(0).doa);\n\n ArrayList selectedTowers = new ArrayList();\n if(ta.isSelected())\n selectedTowers.add(\"A\");\n if(tb.isSelected())\n selectedTowers.add(\"B\");\n if(tc.isSelected())\n selectedTowers.add(\"C\");\n if(td.isSelected())\n selectedTowers.add(\"D\");\n\n if(selectedTowers.size()==0 ){\n l3.setText(\"(Please Choose a Tower)\");\n }\n\n else{\n\n\n\n\n ArrayList> arr = new ArrayList>();\n for(int i = 0; i < list.size();i++){\n// long diffInMillies = Math.abs(in.getTime() - list.get(i).doa.getTime());\n// long diff = TimeUnit.DAYS.convert(diffInMillies, TimeUnit.MILLISECONDS);\n for(int j =0 ; j < selectedTowers.size();j++){\n if (list.get(i).tower == selectedTowers.get(j)) {\n\n\n\n if(in.compareTo(list.get(i).doa)>=0 && in.compareTo(list.get(i).dor)<0){\n\n String status = \"Active\";\n\n\n arr.add(new ArrayList());\n arr.get(arr.size() -1).add(list.get(i).name);\n arr.get(arr.size() -1).add(list.get(i).age+\"\");\n arr.get(arr.size() -1).add(list.get(i).tower);\n arr.get(arr.size() -1).add(list.get(i).doas);\n arr.get(arr.size() -1).add(list.get(i).dors);\n arr.get(arr.size() -1).add(status);\n\n// active.replace(arr.get(arr.size() -1).get(i),active.get(arr.get(arr.size() -1).get(i))+1) ;\n\n }\n if(in.compareTo(list.get(i).dor)>=0) {\n String status = \"Recovered\";\n arr.add(new ArrayList());\n arr.get(arr.size() - 1).add(list.get(i).name);\n arr.get(arr.size() - 1).add(list.get(i).age + \"\");\n arr.get(arr.size() - 1).add(list.get(i).tower);\n arr.get(arr.size() - 1).add(list.get(i).doas);\n arr.get(arr.size() - 1).add(list.get(i).dors);\n arr.get(arr.size() - 1).add(status);\n\n// recovered.replace(arr.get(arr.size() -1).get(i),recovered.get(arr.get(arr.size() -1).get(i))+1) ;\n }\n }}\n }\n Date start = null;\n\n try {\n start = formatter2.parse(\"01-04-2020\");\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n\n if(l1.getText()!=\"Enter a valid date \")\n new finalresult(arr);\n\n }}","title":""},{"docid":"4a9db90f5d0345bd52bff85850354b22","score":"0.49132794","text":"private void buttonMedicationHisFormActionPerformed(java.awt.event.ActionEvent evt) {\n MedicationHistory form = new MedicationHistory(getCurrentPatientID());\n form.setVisible(true);\n this.setVisible(false);\n }","title":""},{"docid":"465c17fef19af4530bdcdf80de92fa4d","score":"0.49104065","text":"public void addAllTradeEnrollment() {\n btnAddAllTradeEnrollment.click();\n }","title":""},{"docid":"29f2d8d2c55c5ee021a32842c68cef7e","score":"0.4904523","text":"public FormAsistencias() {\n initComponents();\n this.configTable();\n this.mostrarTable();\n }","title":""},{"docid":"a6604df5ed538a7d2875cc3aaaedf06e","score":"0.49038297","text":"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n getActivity().setTitle(\"Attendance\");\n\n\n View view = inflater.inflate(R.layout.fragment_attendance, container, false);\n\n attendanceRecycler = view.findViewById(R.id.attendanceRecyclerView);\n attendanceRecyclerAdapter = new attendanceRecyclerAdapter(attendanceList, getContext());\n sessionManager = new SessionManager(getActivity());\n RecyclerView.LayoutManager leavesLayoutManager = new LinearLayoutManager(getActivity().getApplicationContext());\n attendanceRecycler.setLayoutManager(leavesLayoutManager);\n attendanceRecycler.setItemAnimator(new DefaultItemAnimator());\n attendanceRecycler.setAdapter(attendanceRecyclerAdapter);\n attendanceRecycler.addItemDecoration(new DividerItemDecoration(getActivity(), LinearLayoutManager.VERTICAL));\n attendanceCalendarView = view.findViewById(R.id.attendanceCalendarView);\n imageView = view.findViewById(R.id.attendanceImageView);\n\n pd = new ProgressDialog(getActivity());\n pd.setMessage(\"loading\");\n pd.setCancelable(false);\n\n\n Calendar c = Calendar.getInstance();\n int year = c.get(Calendar.YEAR);\n int month = c.get(Calendar.MONTH);\n\n\n\n\n attendanceCalendarView.setOnDateChangedListener(new OnDateSelectedListener() {\n @Override\n public void onDateSelected(@NonNull MaterialCalendarView widget, @NonNull CalendarDay date, boolean selected) {\n Integer month = date.getMonth() + 1;\n Integer year = date.getYear();\n Integer dte = date.getDay();\n String formattedDate = year + \"-\" + month + \"-\" + dte;\n prepareAttendanceData();\n }\n });\n\n\n attendanceCalendarView.setOnMonthChangedListener(new OnMonthChangedListener() {\n @Override\n public void onMonthChanged(MaterialCalendarView widget, CalendarDay date) {\n Integer month = date.getMonth() + 1;\n Integer year = date.getYear();\n getMonthlyAttendance(month, year);\n }\n });\n\n String temp = String.format(\"%02d\", month + 1);\n\n getMonthlyAttendance(Integer.parseInt(temp), year);\n\n prepareAttendanceData();\n\n\n return view;\n }","title":""},{"docid":"a81384cebc5de8af6c6c774388d7cfb2","score":"0.4903055","text":"public void clickCreateEvent(View view) throws java.text.ParseException {\r\n\t\t//validate data\r\n\t\tif(ValidateShowEntry()) {\r\n\t\t\tShowDAO showDAO = null;\r\n\t\t\ttry {\r\n\t\t\t\t//create a show DAO\r\n\t\t\t\tshowDAO = new ShowDAO();\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t\t\tToast.makeText(this, \"The error is occurred.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t\t//add it in ShowEvent class\r\n\t\t\tShow showEvent = new Show();\r\n\t\t\t\r\n\t\t\tshowEvent.setName(((EditText)findViewById(R.id.editTitle)).getText().toString().trim());\r\n\t\t\t\t\t\r\n\t\t\tString date = ((EditText)findViewById(R.id.editDate)).getText().toString().trim();\r\n\t\t\tString time = ((EditText)findViewById(R.id.editTime)).getText().toString().trim();\r\n\t\t\t\r\n\t\t\tSimpleDateFormat tempFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\r\n\t\t\tDate showDate = tempFormat.parse(date + \" \" + time);\r\n\r\n\t\t\tshowEvent.setDate(showDate);\r\n\t\t\t\r\n\t\t\tint genre = ((Spinner) findViewById(R.id.spinnerGenre)).getSelectedItemPosition();\r\n\t\t\tshowEvent.setGenre(genre);\r\n\t\t\t\r\n\t\t\tint locationID = SaveShowLocation(((EditText)findViewById(R.id.editLocation)).getText().toString().trim(), ((EditText)findViewById(R.id.editAddress)).getText().toString().trim());\r\n\t\t\tif(locationID > -1) {\r\n\t\t\t\tshowEvent.setLocationID(locationID);\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tshowEvent.setBands(SelectedBands);\r\n\r\n\t\t\t\r\n\t\t\tshowEvent.setCost(((EditText)findViewById(R.id.editPrice)).getText().toString().trim());\r\n//\t\t\tshowEvent.setContactEmail(((EditText)findViewById(R.id.editEmail)).getText().toString().trim());\r\n//\t\t\tshowEvent.setContactPhone(((EditText)findViewById(R.id.editPhone)).getText().toString().trim());\r\n//\t\t\tshowEvent.setWebSite(((EditText)findViewById(R.id.editWebsite)).getText().toString().trim());\r\n\t\t\tshowEvent.setDescription(((EditText)findViewById(R.id.editDescription)).getText().toString().trim());\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\t//insert a record to database\r\n\t\r\n\t\t\t\tshowEvent.setShowID(showDAO.create(showEvent));\r\n\t\t\t\t\r\n\t\t\t\tToast.makeText(this, \"Created a New Show\", Toast.LENGTH_SHORT).show();\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t\t\tToast.makeText(this, \"Error while creating show.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t}\r\n\t\t\t\r\n\r\n\t\t}\r\n\t}","title":""},{"docid":"ca99ad610581c47d738d8f80409dfcb9","score":"0.4887239","text":"private void actionNewEvent() {\n final Event newEvent = new Event();\n final Calendar cal = Calendar.getInstance();\n\n // Build new event dialog\n AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getContext());\n LayoutInflater inflater = this.getLayoutInflater();\n final View dialogView = inflater.inflate(R.layout.dialog_event_new, null);\n dialogBuilder.setView(dialogView);\n dialogBuilder.setTitle(R.string.title_new_event);\n\n // Define fields\n final EditText event_name_edit = dialogView.findViewById(R.id.event_name_edit);\n final Spinner event_type_spinner = dialogView.findViewById(R.id.event_type_spinner);\n final Spinner event_course_spinner = dialogView.findViewById(R.id.event_course_spinner);\n final TextView event_date_pick = dialogView.findViewById(R.id.event_date_pick);\n event_date_pick.setVisibility(View.GONE);\n final Spinner event_alarm_spinner = dialogView.findViewById(R.id.event_alarm_spinner);\n final TextView event_time_pick = dialogView.findViewById(R.id.event_time_pick);\n\n // Type\n event_type_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView parent, View view, int position, long id) {\n String type = parent.getItemAtPosition(position).toString();\n\n // Set type\n newEvent.setType(type);\n\n Log.d(TAG, \"onItemSelected: Type selected: \" + type);\n }\n\n @Override\n public void onNothingSelected(AdapterView parent) {\n\n }\n });\n\n // Course\n if (mDatabase.courseNames.isEmpty()) {\n event_course_spinner.setVisibility(View.GONE);\n\n newEvent.setCourseName(\"Undefined\");\n }\n else {\n // Set adapter\n event_course_spinner.setAdapter(mDatabase.courseNamesAdapter);\n\n // Set listener\n event_course_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView parent, View view, int position, long id) {\n String courseName = parent.getItemAtPosition(position).toString();\n\n // Set course\n newEvent.setCourseName(courseName);\n\n Log.d(TAG, \"onItemSelected: Course selected: \" + courseName);\n }\n\n @Override\n public void onNothingSelected(AdapterView parent) {\n\n }\n });\n }\n\n // Alarm\n event_alarm_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView parent, View view, int position, long id) {\n String alarm = parent.getItemAtPosition(position).toString();\n\n // Set alarm\n newEvent.setAlarm(alarm);\n\n Log.d(TAG, \"onItemSelected: Alarm selected: \" + alarm);\n }\n\n @Override\n public void onNothingSelected(AdapterView parent) {\n\n }\n });\n\n // Time\n event_time_pick.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n // Build time picker\n TimePickerDialog time_picker = new TimePickerDialog(getContext(),\n new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker view, int hour, int minute) {\n // Format time\n String time;\n if (hour < 10 && minute < 10) {\n time = \"0\" + hour + \":0\" + minute;\n }\n else if (hour < 10) {\n time = \"0\" + hour + \":\" + minute;\n }\n else if (minute < 10) {\n time = \"\" + hour + \":0\" + minute;\n }\n else {\n time = \"\" + hour + \":\" + minute;\n }\n\n // Set time\n newEvent.setTime(time);\n\n // Preview time\n event_time_pick.setText(time);\n\n Log.d(TAG, \"onTimeSet: Time set: \" + time);\n }\n },\n cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), true);\n\n // Show time picker\n time_picker.getWindow();\n time_picker.show();\n }\n });\n\n // Define responses\n dialogBuilder.setPositiveButton(\"Done\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n // Set name\n String name = event_name_edit.getText().toString().trim();\n if (name.isEmpty()) {\n newEvent.setName(\"New event\");\n }\n else {\n newEvent.setName(name);\n }\n\n // Set date\n newEvent.setDate(mDate);\n\n // Add event\n mDatabase.addEvent(newEvent);\n }\n });\n dialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n // TODO: Cancel\n }\n });\n\n // Show new event dialog\n AlertDialog eventDialog = dialogBuilder.create();\n eventDialog.show();\n }","title":""},{"docid":"1b7fd5c64610bbff95d7832356cd3234","score":"0.48867607","text":"private void chooseAppointment() {\n schedule = doctorDataController.getData(doctor.getAfm());\n\n }","title":""},{"docid":"5e50386f34925f3f567c9db93a3515a8","score":"0.48785675","text":"@OneToMany(\n mappedBy = \"event\",\n cascade = CascadeType.ALL,\n orphanRemoval = true\n )\n public List getAttendances() {\n return attendances;\n }","title":""},{"docid":"9d37aa3260dcc353b1ed5b0549fc3872","score":"0.48725706","text":"@RequestMapping(\"/showForm\")\r\n\tpublic String showForm(Model theModel) {\n\t\tStudent theStudent = new Student();\t\t\r\n\t\t\r\n\t\t//add student object to the model\r\n\t\ttheModel.addAttribute(\"student\", theStudent);\r\n\t\t\r\n\t\tSystem.out.println(\"*****student/showForm method\");\r\n\t\t\r\n\t\treturn \"studentForm\";\r\n\t}","title":""},{"docid":"ce8603740105018aa53e578606c9dbdd","score":"0.4871431","text":"public ChooseAppointment() {\n initComponents();\n }","title":""},{"docid":"e87c7c1358cde68090dc8eab6368cae3","score":"0.48690063","text":"public String btnAll_action() {\n try {\n if(isEntryValidForAll()){\n lstMainDepartment.setValue(null);\n lstMainDepartment.setDisabled(true);\n btnFilter.setDisabled(true);\n getReadAvailableDepartments().clear();\n populateAllRequesterDtaeofBirth();\n populateAllretireTableComponents(calculatedAllDate);\n }\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return null;\n }","title":""},{"docid":"2faca61b07c0df1556bee05ded3dfff4","score":"0.48670807","text":"public void SC_Show_RegisteredCourses() {\n ArrayList list = SC_StudentRegisteredCourses();\n DefaultTableModel model = (DefaultTableModel)SC_Student_Courses_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i=11)\n {\n }\n else\n {\n for(int z = x ;z<13;z++)\n {\n Object rowData[] = {\n \"\", \"\", \"\",\"\",\"\",\n };\n model.addRow(rowData);\n }\n }\n }\n catch (SQLException ex) {\n \n }\n }","title":""},{"docid":"5367cdfec89b68ff95f1496ebe3c9507","score":"0.48448932","text":"public frm_adm_tutor_info_asigna_eje_aca() {\n }","title":""},{"docid":"1d4dce224eb00b7170075662802c77c0","score":"0.4843564","text":"public void createNewEvent(View v) {\n Intent intent = new Intent(this, CreateNewEventActivity.class);\n startActivity(intent);\n\n\n\n }","title":""},{"docid":"fd2c265c5f760ae46d12982074f085d7","score":"0.48400226","text":"public Agenda(){\r\n\t\tappointments = new ArrayList();\r\n\t}","title":""},{"docid":"35c5ecdd99d46723de193928c1569c41","score":"0.4837684","text":"private void createAllObjects() {\n\t\tcheckSubmition = (ImageButton) findViewById(R.id.Bsubmit);\n\t\tdisplaySubmit = (TextView) findViewById(R.id.msgSubmit);\n\t\tTweight = (EditText) findViewById(R.id.CommandWeight);\n\t\tTheight = (EditText) findViewById(R.id.CommandHeigh);\n\t\tsetCurrentDateOnView();\n\t}","title":""},{"docid":"03f3a5662d85a6edb741967508ce1248","score":"0.48354903","text":"public ViewAccountant() {\n initComponents();\n setLocationRelativeTo(null);\n\n fillEntries();\n }","title":""},{"docid":"f842d7ac59190e42c15773799e840206","score":"0.48310855","text":"public void actionPerformed(ActionEvent arg0) {\n\t\t\t\tList employees = fachada.searchAll();\n//\t\t\t\tString cols[] = {\"Matrícula\", \"Nome\", \"PIS\", \"CPF\", \n//\t\t\t\t\t\t\"Função\", \"Cód Depto\", \"Depto\", \n//\t\t\t\t\t\t\"UF\", \"Data Admissão\", \"Data Nasc.\" };\n//\n//\t\t\t\tDefaultTableModel tableModel = new DefaultTableModel(cols, 0);\n//\t\t\t\temployeeTable.setModel(tableModel);\n//\n//\t\t\t\t//Object[] objs = {1, \"Arsenal\", 35, 11, 2, 2, 15, 30, 11, 19};\n//\t\t\t\tfor (Employee emp : employees){\n//\t\t\t\t\tObject[] row = {\n//\t\t\t\t\t\t\temp.getMatriculation(), \n//\t\t\t\t\t\t\temp.getName(),\n//\t\t\t\t\t\t\temp.getPis(),\n//\t\t\t\t\t\t\temp.getCpf(),\n//\t\t\t\t\t\t\temp.getFunction().getName(),\n//\t\t\t\t\t\t\temp.getWorkplace().getCode(),\n//\t\t\t\t\t\t\temp.getWorkplace().getName(),\n//\t\t\t\t\t\t\temp.getState().getAbbrev(),\n//\t\t\t\t\t\t\tformat1.format(emp.getAdmissionDate().getTime()),\n//\t\t\t\t\t\t\tformat1.format(emp.getBirthday().getTime())};\n//\t\t\t\t\ttableModel.addRow(row);\n//\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//String cols[] = {\"Matrícula\", \"Nome\", \"ID_SOLL\" };\n\t\t\t\tString cols[] = {\"Nome\", \"ID_SOLL\" };\n\t\t\t\t\n\t\t\t\tDefaultTableModel tableModel = new DefaultTableModel(cols, 0);\n\t\t\t\temployeeTable.setModel(tableModel);\n\n\t\t\t\t//Object[] objs = {1, \"Arsenal\", 35, 11, 2, 2, 15, 30, 11, 19};\n\t\t\t\tfor (Employee emp : employees){\n\t\t\t\t\tObject[] row = {\n\t\t\t\t\t\t\t//emp.getMatriculation(),\n\t\t\t\t\t\t\temp.getName(),\n\t\t\t\t\t\t\temp.getIdSoll()\n\t\t\t\t\t\t\t};\n\t\t\t\t\ttableModel.addRow(row);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tCardLayout c = (CardLayout)contentPane.getLayout();\n\t\t\t\tc.show(contentPane, \"employeesList\");\n\t\t\t}","title":""},{"docid":"0264fe0b5b58161c9800ce642cb86db1","score":"0.48297042","text":"@RequestMapping(value=\"/showAxEmp\")\r\n\tpublic String showAllRec(ModelMap map){\r\n\t\tList axemplist = service.getAllAxEmployee();\r\n\t\tmap.addAttribute(\"listobjAxEmp\", axemplist);\r\n\t\treturn \"AxEmployeeData\";\r\n\t\t\r\n\t}","title":""},{"docid":"f365e1d5489a319b732e758441f59939","score":"0.4826878","text":"public void displayAll(){\r\n Object [] row = new Object[3];\r\n row[0] = regmem.generateMemberID(tablemembers);\r\n row[1] = nameTextField.getText();\r\n row[2] = p_numTextField.getText();\r\n \r\n model.addRow(row);\r\n regmem.saveToFile(tablemembers);\r\n }","title":""},{"docid":"b9075ab266f3308cd7d404aee35cf54c","score":"0.48219743","text":"public static void populateAppointments() {\n\t\ttry {\n\t\t\t//Create a query to use in a PreparedStatement\n\t\t\t\t//Will find all appointments\n\t\t\tString query = \"select * from appointments\";\n\t\t\t//Execute the query with the associated database connection\n\t\t\tPreparedStatement pst = sqliteConnection.connAppointment.prepareStatement(query);\n\t\t\t//Results of the PreparedStatement\n\t\t\tResultSet rs = pst.executeQuery();\n\t\t\t//Populate the table with this ResultSet\n\t\t\tAdvisingAppointment.table.setModel(DbUtils.resultSetToTableModel(rs));\n\t\t\t//Close the data reception from the database\n\t\t\trs.close();\n\t\t\tpst.close();\n\t\t} catch (Exception e) {\n\t\t\tJOptionPane.showMessageDialog(null, e);\n\t\t}\n\t}","title":""},{"docid":"b7269ed806310c76976ac6caa1f1d66e","score":"0.4817533","text":"void onSubmitDetails(AttendanceDetails attendanceDetails);","title":""},{"docid":"09b3162fb5ad7216f83fa298126b1a4e","score":"0.48133546","text":"List getListOfScheduleInterview();","title":""},{"docid":"b77504e399b280166f6c1ace53e49914","score":"0.48072323","text":"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n\n View rootView = inflater.inflate(R.layout.fragment_show_attendance_detail, container, false);\n Bundle bundle = getArguments();\n if(bundle!=null){\n if(bundle.containsKey(Constants.BundelKays.ATTENDANCE_DATA)) {\n attendanceData = bundle.getParcelable(Constants.BundelKays.ATTENDANCE_DATA);\n }\n }\n\n onAttendanceActionListener = this;\n\n return rootView;\n }","title":""},{"docid":"e0124b522577b42a084de1b0b78dd7ee","score":"0.48070884","text":"List selectAll();","title":""},{"docid":"6b25e442ae742fd5d6c4273c4dfca140","score":"0.47985718","text":"public void displayAllHandler(ActionEvent actionEvent) throws SQLException {\r\n showAll = true;\r\n showMonth = false;\r\n showWeek = false;\r\n apptsMsg.setText(\"\");\r\n getAllAppointments();\r\n }","title":""},{"docid":"c91a2565c2d7b609ed83f303ce71c16b","score":"0.47982728","text":"public String goToCreateAppointment() {\n return \"createEditAppointment\";\n }","title":""},{"docid":"1435261708d357763b8ad3ce82536427","score":"0.47956333","text":"public void addAttendance(Attendance attendance) {\r\n attendance.setStudent(this);\r\n this.attendance.add(attendance);\r\n }","title":""},{"docid":"110f2352a93ca0bdc9ddb7a13f6f7141","score":"0.47865674","text":"private void buscar() {\n idActividad = \"\";\n lblActividad.setText(\"\");\n listActividad = frmPrincipal.oNegocioDao.getBuscarActividad(txtActividad.getText().trim().toUpperCase());\n System.out.println(\"Datos obtenidos \" + listActividad.size());\n oActividad = new Actividades();\n for (int i = 0; 0 < tablitaActividades.getRowCount(); i++) {\n tablitaActividades.removeRow(0);\n }\n\n for (Actividades item : listActividad) {\n String[] nuevo = new String[2];\n nuevo[0] = item.getIdActividad() + \"\";\n nuevo[1] = item.getActividad();\n tablitaActividades.addRow(nuevo);\n }\n personalizarJtable();\n }","title":""},{"docid":"f221989f37f15a070f78f51e7243e2f4","score":"0.47789547","text":"@RequestMapping(\"/appointment\")\n\tpublic String appointment(Model model) {\n\t\tList booking = bookingService.getListBooking();\n\t\tmodel.addAttribute(\"LIST_CUSTOMER\", booking);\n\t\treturn \"appointment\";\n\t}","title":""},{"docid":"30b15b431fd1962a5a8bbebf5e4ee702","score":"0.4778364","text":"private void listMateriais(){\n DefaultTableModel tableModel = new DefaultTableModel(0,4); \n tableModel.setColumnIdentifiers(new Object[] {\"Id\",\"Nome\", \"Quantidade\", \"Custo\"});\n bdMateriais = MaterialDAO.getMateriaisByIdTarefa(localTarefa.getId());\n \n if(!bdMateriais.isEmpty()){\n for (Material m:bdMateriais){\n tableModel.addRow(new Object[]{m.getId(),m.getNome(),m.getQuantidade(),m.getCusto()});\n matForm.materiaisTable.setModel(tableModel);\n matForm.deleteButton.setEnabled(true);\n matForm.editarMatButton.setEnabled(true);\n }\n }\n else{\n matForm.deleteButton.setEnabled(false);\n matForm.editarMatButton.setEnabled(false);\n }\n }","title":""},{"docid":"618dfdf1d4d800c9f5eeea71b9b65c57","score":"0.47778496","text":"@Override\n\tpublic List getDateWiseAttendance() {\n\t\t\n\t\tfinal String procedureCall=\"{call attendance_manager2(?,?,?,?,?,?)}\";\n\t\tConnection con=null;\n\t\t\n\t\t\t\ttry {\n\t\t\t\t\tcon=jdbcTemplate.getDataSource().getConnection();\n\t\t\t\t\tCallableStatement cs=con.prepareCall(procedureCall);\n\t\t\t\t\tcs.setString(1, \"get_sattendance\");\n\t\t\t\t\tcs.setInt(2, datewiseatt.getSid());\n\t\t\t\t\tcs.setString(3, null);\n\t\t\t\t\tcs.setDate(4, null);\n\t\t\t\t\tcs.setInt(5, 0);\n\t\t\t\t\tcs.setInt(6, datewiseatt.getCid());\n\t\t\t\t\tResultSet rs=cs.executeQuery();\n\t\t\t\t\tList l=new ArrayList();\n\t\t\t\t\twhile(rs.next())\n\t\t\t\t\t{\n\t\t\t\t\t\tdatewiseatt dt=new datewiseatt();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(rs.getInt(\"attendance\")==1)\n\t\t\t\t\t\t\tdt.setPresent(\"Present\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdt.setPresent(\"Absent\");\n\t\t\t\t\t\tjava.sql.Date d=rs.getDate(\"adate\");\n\t\t\t\t\t\tlong ms=d.getTime();\n\t\t\t\t\t\tDate ud=new Date(ms);\n\t\t\t\t\t\tdt.setD(ud);\n\t\t\t\t\t\tl.add(dt);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\treturn l;\n\t\t\t\t}\n\t\t\t\tcatch(Exception e)\n\t\t\t\t{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn null;\n\t}","title":""},{"docid":"009885b1200f6500b8d85bae5fdeb106","score":"0.47670537","text":"public void Show_LoginHistory() {\n ArrayList list = LoginHistory();\n DefaultTableModel model = (DefaultTableModel)Login_History_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i 100 || Integer.parseInt(attnd.getText().toString().trim()) < 0) {\n showMessage(\"Error\", \"Please Enter Valid Attendance\");\n return;\n }else if (Integer.parseInt(grade.getText().toString().trim()) > 100 || Integer.parseInt(grade.getText().toString().trim()) < 0) {\n showMessage(\"Error\", \"Please Enter Valid Percentage\");\n return;\n }else {\n //If the required fields are filled then the DB is updated\n db.execSQL(\"INSERT INTO child VALUES('\" + sid + \"','\" + SchoolAddActivity.school_id + \"','\" + name.getText() + \"','\" + date + \"','\" + genderString + \"','\" + std + \"','\" + father.getText() + \"','\" + mother.getText() + \"','\" + guardian.getText() + \"','\" + attnd.getText() + \"','\" + grade.getText() + \"');\");\n showMessage(\"Success\", \"Record added\");\n changeIntent();\n }\n }","title":""},{"docid":"237289293ef93f7635c999fe9fc3009a","score":"0.4757773","text":"public void MC_Show_Courses() {\n ArrayList list = CoursesList();\n DefaultTableModel model = (DefaultTableModel)MC_Current_Courses_Table.getModel();\n Object[] row = new Object[9];\n for(int i=0;i roomList = new LinkedHashMap();\n\t\tSet rooms = roomDAO.findAllRooms();\n\t\tfor(Room rT : rooms){\n\t\t\troomList.put(rT.getRoomId(), rT.getRoomCategory());\n\t }\n\t\t\n\t\t\n\t\tMap guestList = new LinkedHashMap();\n\t\tSet guests = guestDAO.findAllGuests();\n\t\tfor(Guest rT : guests){\n\t\t\tguestList.put(rT.getGuestId(), rT.getFirstName()+\" \"+rT.getLastName());\n\t }\n\t\t\n\t\t\n\t\tmav.addObject(\"reservation\", reservation);\n\t\tmav.addObject(\"roomList\", roomList);\n\t\tmav.addObject(\"guestList\", guestList);\n\t\tmav.addObject(\"newFlag\", true);\n\t\tmav.setViewName(\"reservation/editReservation.jsp\");\n\n\t\treturn mav;\n\t}","title":""},{"docid":"bfd4cfe761b1bd3a4670657ae777330a","score":"0.4736896","text":"private void getAllRecordForPatient(Integer appointmentId) {\n try {\n PaymentsDAOImpl paymentsDAOImpl = new PaymentsDAOImpl();\n ResultSet operationRecord = paymentsDAOImpl.getPatientOperationRecordByAppointmentId(appointmentId);\n ResultSet testRecord = paymentsDAOImpl.getPatientTestByAppointmentId(appointmentId);\n ResultSet roomRecord = paymentsDAOImpl.getPatientRoomRecordByAppointmentId(appointmentId);\n ResultSet doctorFees = paymentsDAOImpl.getDoctorFeesByAppointmentId(appointmentId);\n while (doctorFees.next()) {\n patientRecordTextArea.append(\"Appointment ID :\" + \"\\t\" + doctorFees.getString(\"Appointment ID\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Appointment Date :\" + \"\\t\" + doctorFees.getTimestamp(\"Appointment Date\").toString() + \"\\n\\n\");\n patientRecordTextArea.append(\"Patient Name :\" + \"\\t\\t\" + doctorFees.getString(\"Patient Name\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Gender :\" + \"\\t\\t\" + doctorFees.getString(\"Gender\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Contact :\" + \"\\t\\t\" + doctorFees.getString(\"Contact\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Doctor Name :\" + \"\\t\\t\" + doctorFees.getString(\"Doctor Name\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Fees Status :\" + \"\\t\\t\" + doctorFees.getString(\"Fees Status\"));\n }\n operationTable.setModel(DbUtils.resultSetToTableModel(operationRecord));\n testTable.setModel(DbUtils.resultSetToTableModel(testRecord));\n roomDetailTable.setModel(DbUtils.resultSetToTableModel(roomRecord));\n } catch (SQLException ex) {\n Logger.getLogger(PatientChargesDetailFrame.class.getName()).log(Level.SEVERE, null, ex);\n }\n }","title":""},{"docid":"6f131eb193731e420930fa6d1485682a","score":"0.47319362","text":"public ArrayList getAppointmentsbyName() {\n ArrayList appointments = null;\n try {\n String sqlQuary = \"select Appointment._id,Appointment.GpName,Appointment.Date,Appointment.Time from Appointment where Appointment.userName= '\" + LoginActivity.userName + \"' ORDER BY GpName ASC\";\n open();\n Cursor cursor = db.rawQuery(sqlQuary, null);\n appointments = new ArrayList();\n if (cursor.moveToFirst()) {\n\n do {\n ///create new object from Appointment Model class to hold the new data\n Appointment newappointment = new Appointment();\n\n newappointment.setID(cursor.getInt(0));\n newappointment.setGpName(cursor.getString(1));\n newappointment.setAppointmentDate(cursor.getString(2));\n newappointment.setAppointmentTime(cursor.getString(3));\n\n ///add appointment object to the list of appointments\n appointments.add(newappointment);\n\n } while (cursor.moveToNext());\n cursor.close();\n close();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return appointments;\n }","title":""},{"docid":"be6e4de9498e440afb0f2e33459b382e","score":"0.47264776","text":"private JPanel consultationsForm(List consultation) {\r\n\t\ttry {\r\n\t\t\tJPanel consultationpanel = new JPanel();\r\n\t\t\tJLabel lblid = new JLabel(\" ID\");\r\n\t\t\tlblid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblpatientid = new JLabel(\"Patient's Username\");\r\n\t\t\tlblpatientid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblstaffid = new JLabel(\"Staff ID\");\r\n\t\t\tlblstaffid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblsubject = new JLabel(\"Subject\");\r\n\t\t\tlblsubject.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbldateBooked = new JLabel(\"Date Booked\");\r\n\t\t\tlbldateBooked.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbldate = new JLabel(\"Date\");\r\n\t\t\tlbldate.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbltime = new JLabel(\"Time\");\r\n\t\t\tlbltime.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbltreatmentid = new JLabel(\"Treatment ID\");\r\n\t\t\tlbltreatmentid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblattended = new JLabel(\"Attended\");\r\n\t\t\tlblattended.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblupdated = new JLabel(\"Medical Record Updated\");\r\n\t\t\tlblupdated.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tfinal JTextField id = new JTextField(Integer.toString(consultation.get(0).ConsultationID));\r\n\t\t\tid.setEditable(false);\r\n\t\t\tfinal JTextField patientid = new JTextField(consultation.get(0).PatientID);\r\n\t\t\tfinal JTextField staffid = new JTextField(consultation.get(0).StaffID);\r\n\t\t\tfinal JTextField subject = new JTextField(consultation.get(0).Subject);\r\n\t\t\tfinal JTextField dateBooked = new JTextField(consultation.get(0).DateBooked);\r\n\t\t\tfinal JTextField date = new JTextField(consultation.get(0).Date);\r\n\t\t\tfinal JTextField time = new JTextField(consultation.get(0).Time);\r\n\t\t\tfinal JTextField attended = new JTextField(Integer.toString(consultation.get(0).Attended));\r\n\t\t\tfinal JTextField updated = new JTextField(Integer.toString(consultation.get(0).MedicalRecordUpdated));\r\n\t\t\tfinal JTextField treatmentid = new JTextField(Integer.toString(consultation.get(0).TreatmentID));\r\n\t\t\tJButton update = new JButton(\"Update\");\r\n\t\t\tupdate.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tupdate.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\t// Send data to server\r\n\t\t\t\t\t\tout.println(\"updateConsultation\");\r\n\t\t\t\t\t\tout.println(Integer.parseInt(id.getText()));\r\n\t\t\t\t\t\tout.println(patientid.getText());\r\n\t\t\t\t\t\tout.println(staffid.getText());\r\n\t\t\t\t\t\tout.println(subject.getText());\r\n\t\t\t\t\t\tout.println(dateBooked.getText());\r\n\t\t\t\t\t\tout.println(date.getText());\r\n\t\t\t\t\t\tout.println(time.getText());\r\n\t\t\t\t\t\tout.println(Integer.parseInt(attended.getText()));\r\n\t\t\t\t\t\tout.println(Integer.parseInt(updated.getText()));\r\n\t\t\t\t\t\tout.println(Integer.parseInt(treatmentid.getText()));\r\n\t\t\t\t\t\t// Get data from server\r\n\t\t\t\t\t\tif ((messageFromServer = in.readLine()) != null) {\r\n\t\t\t\t\t\t\tgetContentPane().removeAll();\r\n\t\t\t\t\t\t\t// Successful update\r\n\t\t\t\t\t\t\tif (messageFromServer.equals(\"consultationUpdated\")) {\r\n\t\t\t\t\t\t\t\tgetContentPane().add(searchConsultationForm());\r\n\t\t\t\t\t\t\t\t// Get data from server\r\n\t\t\t\t\t\t\t\tList ls = new ArrayList();\r\n\t\t\t\t\t\t\t\tls = (List) inObject.readObject();\r\n\t\t\t\t\t\t\t\tgetContentPane().add(consultationsForm(ls));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\trevalidate();\r\n\t\t\t\t\t\t\trepaint();\r\n\t\t\t\t\t\t\tpack();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} catch (Exception er) {\r\n\t\t\t\t\t\tSystem.out.println(\"Exception: consultationsForm\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tJButton delete = new JButton(\"Delete\");\r\n\t\t\tdelete.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tdelete.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\t// Send data to server\r\n\t\t\t\t\t\tout.println(\"deleteConsultation\");\r\n\t\t\t\t\t\tout.println(Integer.parseInt(id.getText()));\r\n\t\t\t\t\t\t// Get data from server\r\n\t\t\t\t\t\tif ((messageFromServer = in.readLine()) != null) {\r\n\t\t\t\t\t\t\tgetContentPane().removeAll();\r\n\t\t\t\t\t\t\t// Successful deletion\r\n\t\t\t\t\t\t\tif (messageFromServer.equals(\"consultationDeleted\")) {\r\n\t\t\t\t\t\t\t\tgetContentPane().add(searchConsultationForm());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\trevalidate();\r\n\t\t\t\t\t\t\trepaint();\r\n\t\t\t\t\t\t\tpack();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t} catch (Exception er) {\r\n\t\t\t\t\t\tSystem.out.println(\"Exception: consultationsForm\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tconsultationpanel.add(lblid);\r\n\t\t\tconsultationpanel.add(id);\r\n\t\t\tconsultationpanel.add(lblpatientid);\r\n\t\t\tconsultationpanel.add(patientid);\r\n\t\t\tconsultationpanel.add(lblstaffid);\r\n\t\t\tconsultationpanel.add(staffid);\r\n\t\t\tconsultationpanel.add(lblsubject);\r\n\t\t\tconsultationpanel.add(subject);\r\n\t\t\tconsultationpanel.add(lbldateBooked);\r\n\t\t\tconsultationpanel.add(dateBooked);\r\n\t\t\tconsultationpanel.add(lbldate);\r\n\t\t\tconsultationpanel.add(date);\r\n\t\t\tconsultationpanel.add(lbltime);\r\n\t\t\tconsultationpanel.add(time);\r\n\t\t\tconsultationpanel.add(lblattended);\r\n\t\t\tconsultationpanel.add(attended);\r\n\t\t\tconsultationpanel.add(lblupdated);\r\n\t\t\tconsultationpanel.add(updated);\r\n\t\t\tconsultationpanel.add(lbltreatmentid);\r\n\t\t\tconsultationpanel.add(treatmentid);\r\n\t\t\tconsultationpanel.add(update);\r\n\t\t\tconsultationpanel.add(delete);\r\n\t\t\tconsultationpanel.setBounds(350, 250, 250, 250);\r\n\t\t\tconsultationpanel.setOpaque(false);\r\n\t\t\treturn consultationpanel;\r\n\t\t} catch (Exception er) {\r\n\t\t\tSystem.out.println(\"Exception: consultationsForm\");\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}","title":""},{"docid":"b32b7a78549dc282922fc59e235a5585","score":"0.47183874","text":"@GetMapping(\"/newPatient\")\n public String addPatient(Model model) {\n Patient patient = new Patient();\n patient.setNationality(new Nation());\n model.addAttribute(\"patient\", patient);\n model.addAttribute(\"mode\", \"PATIENT_EDIT\");\n model.addAttribute(\"nations\", nationService.findAll());\n return \"patient\";\n }","title":""},{"docid":"aef4625a703a158895b61b01c60eb68f","score":"0.47166798","text":"List getAllApplicant();","title":""},{"docid":"ef6725e2fe89e97937d7c4eebac1388c","score":"0.47131875","text":"private void addNewEmButtonActionPerformed(java.awt.event.ActionEvent evt) {\n int id = Integer.parseInt(addEmIDTextField.getText());\n String name = addEmNameTextField.getText();\n String address = addEmAddressTextField.getText();\n String phone = addEmPhoneTextField.getText();\n String phoneExtension = addEmPhoneExtensionTextField.getText();\n String userName = addEmUsernameTextField.getText();\n char gender = addEmGenderComboBox.getSelectedItem().toString().charAt(0);\n Date dateOfBirth = addEmDOBDatePicker.getDate();\n Employee em = new Employee(userName, phoneExtension, id, name, dateOfBirth, address, phone, gender);\n employees.add(em);\n JOptionPane.showMessageDialog(this, \"Employee Added Successfully\");\n addEmIDTextField.setText(\"\"); addEmNameTextField.setText(\"\"); addEmAddressTextField.setText(\"\"); addEmPhoneTextField.setText(\"\");\n addEmPhoneExtensionTextField.setText(\"\"); addEmUsernameTextField.setText(\"\");\n }","title":""}],"string":"[\n {\n \"docid\": \"485e573db13899fe18e4623172363711\",\n \"score\": \"0.60393494\",\n \"text\": \"public ViewAttendance() {\\n initComponents();\\n conn=DBconnect.connect();\\n tableload();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b76e604d275617785136909e161eca40\",\n \"score\": \"0.60021925\",\n \"text\": \"public Operator_Attendance() {\\n initComponents();\\n ope_Date.setVisible(false);\\n TableAllData();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aed6e80685da75d45396fcdc4202382c\",\n \"score\": \"0.5931475\",\n \"text\": \"public attendanceViewer() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"119d0428be51f0a0dc9e5ccda1ab6b74\",\n \"score\": \"0.5851377\",\n \"text\": \"public EmployeeAttendances() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a512d513c669d0c9fd9511bf2ea27f9\",\n \"score\": \"0.5828989\",\n \"text\": \"@Override\\n\\tpublic List list() {\\n\\t\\treturn attendanceDao.list();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b4afd3f5f148a678cada168053823b6\",\n \"score\": \"0.5729885\",\n \"text\": \"public AttendanceReport() {\\n initComponents();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ede4fd3694785e1e6e9fbc9bcc863b8\",\n \"score\": \"0.5525128\",\n \"text\": \"public static void populateFilledAppointments() {\\n\\t\\ttry {\\n\\t\\t\\t//Create a query to use in a PreparedStatement\\n\\t\\t\\t\\t//Will find all information about scheduled appointment for a specific advisor\\n\\t\\t\\tString query = \\\"select * from appointments WHERE open=0 and advisor=?\\\";\\n\\t\\t\\t//Execute the query with the associated database connection\\n\\t\\t\\tPreparedStatement pst = sqliteConnection.connAppointment.prepareStatement(query);\\n\\t\\t\\t//advisor = the currently logged in advisor\\n\\t\\t\\tpst.setString(1, AdvisorAccount.name);\\n\\t\\t\\t//Results of the PreparedStatement\\n\\t\\t\\tResultSet rs = pst.executeQuery();\\n\\t\\t\\t//Populate the table with the ResultSet \\n\\t\\t\\t\\t//Only displays the scheduled appointment for the currently logged in advisor\\n\\t\\t\\t\\t//Unscheduled appointments will not be visible\\n\\t\\t\\tAdvisorSchedule.table.setModel(DbUtils.resultSetToTableModel(rs));\\n\\t\\t\\t//Close the data reception from the database\\n\\t\\t\\trs.close();\\n\\t\\t\\tpst.close();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3bb8d84ca96519354a8fb16816b033e\",\n \"score\": \"0.5513711\",\n \"text\": \"public frmAgendamentoListagem() {\\n initComponents();\\n \\n DAO = new AgendamentoDAO();\\n\\n // List Agendamentos = DAO.ListarAgendamentos();\\n\\n //preencheTabela(Agendamentos);\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45268b95cf05c07183c923be9cead1db\",\n \"score\": \"0.5439495\",\n \"text\": \"public void b_attendance(View view) {\\n startActivity(new Intent(this, AttendanceScreen.class));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e985847d9763c01244d22a347d3fe42e\",\n \"score\": \"0.5404022\",\n \"text\": \"public void ShowClassSchedule() {\\n ArrayList list = StudentRegisteredCourses();\\n DefaultTableModel model = (DefaultTableModel)MP_Class_Schedule_Table.getModel();\\n Object[] row = new Object[3];\\n for(int i=0;i list = dbManager.showAllCommitteeMember();\\n if (list.size()<1){\\n Toast.makeText(getApplicationContext(), \\\"You do not have any committee with members so fist add committee with members\\\",Toast.LENGTH_LONG).show();\\n }else {\\n newActivity = new Intent(this, AddMeetingActivity.class);\\n startActivity(newActivity);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7c1de314467eb642de430e0d2b69f66\",\n \"score\": \"0.5330943\",\n \"text\": \"@Nonnull\\n public com.microsoft.graph.requests.MeetingAttendanceReportCollectionRequestBuilder attendanceReports() {\\n return new com.microsoft.graph.requests.MeetingAttendanceReportCollectionRequestBuilder(getRequestUrlWithAdditionalSegment(\\\"attendanceReports\\\"), getClient(), null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97b8c935a1e6f6ecb03ec49ec9d36de1\",\n \"score\": \"0.5313492\",\n \"text\": \"private void viewAllAttendant() {\\r\\n carPark.showAllAttendant();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7c62d2cae5779037ee21d2e1de7a546\",\n \"score\": \"0.53107023\",\n \"text\": \"public void newAppointment(Meeting model) {\\n main.newAppointment(model);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a623a06420c8ac7ad08efcf7d619882c\",\n \"score\": \"0.530394\",\n \"text\": \"@Override\\n public void showAll() {\\n model.setRowCount(0);\\n ArrayList employees = new ArrayList();\\n \\n employees = emp_operations.showEmployees();\\n \\n if (employees != null) {\\n \\n for(Employee element: employees){\\n Object[] x = {element.getId(),element.getName(),element.getSurname(),element.getBirth_date(),element.getNationality(),element.getAddress(),element.getPhone(),element.getDpt_id(),element.getEmail(),element.getJob(),element.getSalary()};\\n model.addRow(x);\\n \\n \\n }\\n \\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cbecd509c1b9335b04d18baeaaf4e2e\",\n \"score\": \"0.5280962\",\n \"text\": \"private void createAppointment(){\\n Intent intent = new Intent(this, AddAppointment.class);\\n if ( selectedDate == null ){\\n selectedDate = getCurrentDate();\\n }\\n intent.putExtra(Appointment.KEY_DATE, selectedDate);\\n startActivity(intent);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cff1b869fab92ece417ae0d33e1594c\",\n \"score\": \"0.52476007\",\n \"text\": \"private void viewAllAvailableAttendant() {\\r\\n carPark.showAllAvailableAttendant();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f5c52daff2a2131b548d32a342f26e\",\n \"score\": \"0.5236564\",\n \"text\": \"private void fillForm() {\\n model.setRowCount(0);\\n for (SinhVien sv : listSV) {\\n model.addRow(new Object[] {sv.getFullName(), sv.getMajors(),\\n sv.getMarks(), sv.getDate()});\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14e1f1ad5eb970a4936f564812758dbe\",\n \"score\": \"0.521346\",\n \"text\": \"public String attendanceReport(){\\n\\n\\t\\tStringBuilder strb = new StringBuilder(\\\"\\\");\\n\\n\\t\\t//Displays the ID and the name of the class and the name of the tutor of the class.\\n\\t\\tstrb.append(String.format(\\\"%10s %25s %25s \\\", getClassID(), getClassName(), getTutorName()));\\n\\n\\t\\tfor(int attendance : getAttendanceRecords()){\\n\\t\\t\\t//Loops the attendances for each week\\n\\t\\t\\tstrb.append(String.format(\\\"%6d\\\", attendance));\\n\\t\\t}\\n\\n\\t\\tstrb.append(String.format(\\\"%22.2f\\\\n\\\", averageAttendance()));\\n\\n\\t\\treturn strb.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7ffe58c90aba2ad62acdf69a74a1a4e\",\n \"score\": \"0.5212624\",\n \"text\": \"private void getAllExamsForEach() {\\n try {\\n ArrayList searchExam = ExamsController.getEachExams(txtrid.getText());\\n DefaultTableModel dtm = (DefaultTableModel) tblExam.getModel();\\n dtm.setRowCount(0);\\n\\n if (searchExam != null) {\\n for (ExamsDTO searchExams1 : searchExam) {\\n dtm.addRow(new Object[]{searchExams1.getRegId(), searchExams1.getExamId(), searchExams1.getExamName(), searchExams1.getExamMark(), searchExams1.getExamDate()});\\n }\\n } else {\\n JOptionPane.showMessageDialog(null, \\\"There is no Exams such that Student..!!\\\");\\n }\\n } catch (Exception ex) {\\n Logger.getLogger(ExamsReportsForm.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97b219a9eb211ab7733b63871d1f162d\",\n \"score\": \"0.52118015\",\n \"text\": \"public static void bookedAppointment() {\\n\\t\\t\\n\\n\\t\\tSystem.out.println(\\n\\t\\t\\t\\t\\\"--------------------------------------Appointment List---------------------------------------------\\\");\\n\\n\\t\\ttry {\\n\\t\\t AppointmentDao appointment = new AppointmentDao(new DatabaseManager());\\n\\t\\t\\tList dtos = appointment.read();\\n\\t\\t\\tSystem.out.println(\\\"\\\\n\\\");\\n\\t\\t\\tSystem.out.printf(\\\"Id Name DoctorId Problem DateofAppointment Time\\\\n\\\");\\n\\t\\t\\t\\n\\t\\t\\tfor (AppointmentDto appointmentDto : dtos) {\\n\\t\\t\\t\\tSystem.out.printf(\\\" %s %30s %20s %28s %20s %25s \\\", appointmentDto.getAppointmentId(),\\n\\t\\t\\t\\t\\t\\tappointmentDto.getPatientname(), appointmentDto.getDrId(), appointmentDto.getProblem(),\\n\\t\\t\\t\\t\\t\\tappointmentDto.getAppointmentDate(), appointmentDto.getAppointmentTime());\\n\\t\\t\\t\\tSystem.out.println(\\\"\\\\n\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\tSystem.out.println(\\\"-----------------------------------*---Appointment List---*--------------------------------------------------- \\\");\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\tSystem.err.println(e);\\n\\t\\t\\tSystem.out.println(\\\"----------Can't read---------\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"229e4256239b45b0f401b6a46412c0a6\",\n \"score\": \"0.5196054\",\n \"text\": \"public nurseScreen(Nurse nurse) {\\n this.nurse = nurse;\\n initComponents();\\n DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\\\"yyyy/MM/dd HH:mm:ss\\\"); \\n LocalDateTime now = LocalDateTime.now(); \\n date.setText(dtf.format(now));\\n \\n for(Patients p : Company.patientsData){\\n vaccinelist.addItem(p.getId());\\n updatelist.addItem(p.getId());\\n covidlist.addItem(p.getId());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8512e5c89eb9f7f99e97bda76a8e7ff\",\n \"score\": \"0.5178777\",\n \"text\": \"@GetMapping(\\\"/showAddForm\\\")\\r\\n\\tpublic String showAddForm(Model model) {\\n\\t\\tStudent student = new Student();\\r\\n\\t\\tmodel.addAttribute(\\\"student\\\", student);\\r\\n\\t\\treturn \\\"student-form\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2cf0b92f7103cd6c7889d726bcb6aeb\",\n \"score\": \"0.51728463\",\n \"text\": \"public void addAllWiaEnrollment() {\\n btnAddAllWiaEnrollment.click();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25d1df6a40a444139a93bc70389a8978\",\n \"score\": \"0.5166266\",\n \"text\": \"public void AECG_ShowStudents() {\\n ArrayList list = StudentsList();\\n DefaultTableModel model = (DefaultTableModel) AECG_Students_Table.getModel();\\n Object[] row = new Object[3];\\n for(int i=0;i cause = new ArrayList();\\n\\t\\tcause.add(new Cause(1,\\\"Homeless\\\"));\\n\\t\\tcause.add(new Cause(2,\\\"Drunk\\\"));\\n\\t\\tcause.add(new Cause(3,\\\"Animal\\\"));\\n\\t\\tcause.add(new Cause(4,\\\"Other\\\"));\\n\\t\\tmodel.addAttribute(\\\"cause\\\", cause);\\n\\t\\t\\n\\t\\tmodel.addAttribute(new Incident());\\n\\t\\treturn \\\"incident/createForm\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e073c97cbe151f058c31a82b8119d92\",\n \"score\": \"0.5158915\",\n \"text\": \"public UpdateAttendanceServlet() {\\r\\n\\t\\tsuper();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35785c84f2ceb4c1af8baa321c644d1e\",\n \"score\": \"0.51583594\",\n \"text\": \"private void butAdd_Click(Object sender, EventArgs e) throws Exception {\\n FormVitalsignEdit2014 FormVSE = new FormVitalsignEdit2014();\\n //FormEhrVitalsignEdit FormVSE=new FormEhrVitalsignEdit();\\n FormVSE.VitalsignCur = new Vitalsign();\\n FormVSE.VitalsignCur.PatNum = PatNum;\\n FormVSE.VitalsignCur.DateTaken = DateTime.Today;\\n FormVSE.VitalsignCur.setIsNew(true);\\n FormVSE.ShowDialog();\\n fillGrid();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ea485c67fb1af0e3e021b08924d0826\",\n \"score\": \"0.5154295\",\n \"text\": \"public void MS_Show_Students() {\\n ArrayList list = StudentsList();\\n DefaultTableModel model = (DefaultTableModel)MS_Current_Students_Table.getModel();\\n Object[] row = new Object[10];\\n for(int i=0;i listAnd(Attendance attendance) {\\n\\t\\treturn attendanceDao.listAnd(attendance);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ea6b6e93cb2f37abcbef4550791dc30\",\n \"score\": \"0.5100833\",\n \"text\": \"@GetMapping(\\\"/showAddForm\\\")\\n\\tpublic String showFormForAdd(Model theModel) {\\n\\t\\tStudent theStudent = new Student();\\n\\t\\t\\n\\t\\ttheModel.addAttribute(\\\"student\\\", theStudent);\\n\\t\\t\\n\\t\\treturn \\\"student-form\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c3292133c16123c95a9495ae529e895\",\n \"score\": \"0.5089629\",\n \"text\": \"@GetMapping(\\\"/showFormForAdd\\\")\\n\\t\\tpublic String showFormForAdd(Model theModel) {\\n\\t\\t\\tReservation theReservation = new Reservation();\\n\\t\\t\\t\\n\\t\\t\\ttheModel.addAttribute(\\\"reservation\\\", theReservation);\\n\\t\\t\\t\\n\\t\\t\\treturn \\\"reservations/reservation-form\\\";\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"711a7cb4cab5fdcdf6ac5441088cab88\",\n \"score\": \"0.5075649\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n jPanel1 = new javax.swing.JPanel();\\n jScrollPane1 = new javax.swing.JScrollPane();\\n tblattend = new javax.swing.JTable();\\n jLabel4 = new javax.swing.JLabel();\\n jButton1 = new javax.swing.JButton();\\n jLabel1 = new javax.swing.JLabel();\\n txtid = new javax.swing.JTextField();\\n jButton3 = new javax.swing.JButton();\\n\\n setBorder(null);\\n setMaximumSize(new java.awt.Dimension(1030, 630));\\n setMinimumSize(new java.awt.Dimension(1030, 630));\\n setPreferredSize(new java.awt.Dimension(1030, 630));\\n\\n jPanel1.setBackground(new java.awt.Color(255, 255, 255));\\n jPanel1.setMaximumSize(new java.awt.Dimension(1030, 630));\\n jPanel1.setMinimumSize(new java.awt.Dimension(1030, 630));\\n jPanel1.setName(\\\"\\\"); // NOI18N\\n jPanel1.setPreferredSize(new java.awt.Dimension(1030, 630));\\n\\n tblattend.setModel(new javax.swing.table.DefaultTableModel(\\n new Object [][] {\\n {null, null, null, null, null, null, null},\\n {null, null, null, null, null, null, null},\\n {null, null, null, null, null, null, null},\\n {null, null, null, null, null, null, null}\\n },\\n new String [] {\\n \\\"Date\\\", \\\"Employee ID\\\", \\\"Name \\\", \\\"In \\\", \\\"Out\\\", \\\"Hours Worked\\\", \\\"Title 7\\\"\\n }\\n ));\\n jScrollPane1.setViewportView(tblattend);\\n\\n jLabel4.setFont(new java.awt.Font(\\\"Tahoma\\\", 1, 14)); // NOI18N\\n jLabel4.setText(\\\"View Daily Attendance\\\");\\n\\n jButton1.setText(\\\"Search\\\");\\n jButton1.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n jButton1ActionPerformed(evt);\\n }\\n });\\n\\n jLabel1.setText(\\\"Employee ID\\\");\\n\\n txtid.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n txtidActionPerformed(evt);\\n }\\n });\\n\\n jButton3.setText(\\\"Clear\\\");\\n jButton3.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n jButton3ActionPerformed(evt);\\n }\\n });\\n\\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\\n jPanel1.setLayout(jPanel1Layout);\\n jPanel1Layout.setHorizontalGroup(\\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addContainerGap()\\n .addComponent(jLabel1)\\n .addGap(21, 21, 21)\\n .addComponent(txtid, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(46, 46, 46)\\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addComponent(jButton3)\\n .addContainerGap(685, Short.MAX_VALUE))\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addComponent(jButton1)\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addContainerGap()\\n .addComponent(jLabel4))\\n .addGroup(jPanel1Layout.createSequentialGroup()\\n .addGap(21, 21, 21)\\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 961, javax.swing.GroupLayout.PREFERRED_SIZE)))\\n .addContainerGap(48, Short.MAX_VALUE))\\n );\\n jPanel1Layout.setVerticalGroup(\\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\\n .addGap(26, 26, 26)\\n .addComponent(jLabel4)\\n .addGap(29, 29, 29)\\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel1)\\n .addComponent(txtid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(jButton3))\\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\\n .addComponent(jButton1)\\n .addGap(63, 63, 63)\\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\\n );\\n\\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\\n getContentPane().setLayout(layout);\\n layout.setHorizontalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 604, Short.MAX_VALUE)\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a839a3c563e6eef9c91c8b9f6f2a5475\",\n \"score\": \"0.5072824\",\n \"text\": \"public void SR_Show_Students() {\\n ArrayList list = StudentsList();\\n DefaultTableModel model = (DefaultTableModel)SC_Current_Students_Table.getModel();\\n Object[] row = new Object[10];\\n for(int i=0;i list) {\\n labelVisibility(!list.isEmpty());\\n this.recordSection.setData(list);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18dedc7f2f2dfdcbdc0fdd778c48c9d9\",\n \"score\": \"0.50370616\",\n \"text\": \"private void PrintPatientsAssessementForm() {\\n com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf.connectDB = connectDB;\\n com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf regForm = new com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf();\\n regForm.generatePdf(nameNoTxt.getText().toString(), headerDatePicker.getDate());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25700c217d1ad73681df46483adcd7a8\",\n \"score\": \"0.50091094\",\n \"text\": \"private void consultantSchedules() {\\n \\n // Retreive all appointments from the database.\\n ObservableList allAppointments = DAO.getAllAppointments();\\n \\n // Create the table view and table columns.\\n TableView tableView = new TableView<>();\\n TableColumn userIdColumn = new TableColumn<>(\\\"Consultant ID\\\");\\n TableColumn startColumn = new TableColumn<>(\\\"Start\\\");\\n TableColumn endColumn = new TableColumn<>(\\\"End\\\");\\n TableColumn titleColumn = new TableColumn<>(\\\"Title\\\");\\n TableColumn typeColumn = new TableColumn<>(\\\"Type\\\");\\n TableColumn locationColumn = new TableColumn<>(\\\"Location\\\");\\n TableColumn customerNameColumn = new TableColumn<>(\\\"Customer Name\\\");\\n \\n // Add the table columns to the table.\\n tableView.getColumns().add(userIdColumn);\\n tableView.getColumns().add(customerNameColumn);\\n tableView.getColumns().add(titleColumn);\\n tableView.getColumns().add(typeColumn);\\n tableView.getColumns().add(locationColumn);\\n tableView.getColumns().add(startColumn);\\n tableView.getColumns().add(endColumn);\\n \\n // Bind data to the table columns.\\n userIdColumn.setCellValueFactory(cellData -> cellData.getValue().userIdProperty().asString());\\n customerNameColumn.setCellValueFactory(cellData -> cellData.getValue().customerNameProperty());\\n startColumn.setCellValueFactory(cellData -> cellData.getValue().startProperty());\\n endColumn.setCellValueFactory(cellData -> cellData.getValue().endProperty());\\n titleColumn.setCellValueFactory(cellData -> cellData.getValue().titleProperty());\\n typeColumn.setCellValueFactory(cellData -> cellData.getValue().typeProperty());\\n locationColumn.setCellValueFactory(cellData -> cellData.getValue().locationProperty());\\n \\n // Add items to the table.\\n tableView.setItems(allAppointments);\\n \\n // Display report.\\n reports.displayReport(tableView);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"790af2ef3fce0c6901df1a465b196232\",\n \"score\": \"0.50057554\",\n \"text\": \"public FrmRegistrodeEstudiantes() {\\n initComponents();\\n try {\\n iniciarListado();\\n } catch (IOException ex) {\\n Util.imprimir(ex.toString());\\n } \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bb5752a2e9fe7fc0a59898b9ab58c60\",\n \"score\": \"0.49961212\",\n \"text\": \"public void Show_RegisteredCourses() {\\n ArrayList list = StudentRegisteredCourses();\\n DefaultTableModel model = (DefaultTableModel)SP_Registered_Courses_Table.getModel();\\n Object[] row = new Object[6];\\n for(int i=0;i//GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n jPanel1 = new javax.swing.JPanel();\\n jScrollPane1 = new javax.swing.JScrollPane();\\n jTable1 = new javax.swing.JTable();\\n course = new javax.swing.JComboBox<>();\\n jButton1 = new javax.swing.JButton();\\n studName = new javax.swing.JTextField();\\n studIntake = new javax.swing.JTextField();\\n jLabel1 = new javax.swing.JLabel();\\n jLabel2 = new javax.swing.JLabel();\\n jLabel3 = new javax.swing.JLabel();\\n studID = new javax.swing.JTextField();\\n jLabel4 = new javax.swing.JLabel();\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\\n addWindowListener(new java.awt.event.WindowAdapter() {\\n public void windowOpened(java.awt.event.WindowEvent evt) {\\n formWindowOpened(evt);\\n }\\n });\\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\\n\\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(\\\"Attendace Record\\\"));\\n jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\\n\\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\\n new Object [][] {\\n\\n },\\n new String [] {\\n \\\"Date\\\", \\\"Start Time\\\", \\\"End Time\\\", \\\"Status\\\"\\n }\\n ));\\n jScrollPane1.setViewportView(jTable1);\\n\\n jPanel1.add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 30, 520, 580));\\n\\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 30, 570, 630));\\n\\n course.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \\\"Item 1\\\", \\\"Item 2\\\", \\\"Item 3\\\", \\\"Item 4\\\" }));\\n getContentPane().add(course, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 310, 180, -1));\\n\\n jButton1.setText(\\\"View\\\");\\n jButton1.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n jButton1ActionPerformed(evt);\\n }\\n });\\n getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 390, -1, -1));\\n\\n studName.setEditable(false);\\n getContentPane().add(studName, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 180, 200, 30));\\n\\n studIntake.setEditable(false);\\n getContentPane().add(studIntake, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 240, 200, 30));\\n\\n jLabel1.setText(\\\"Student ID\\\");\\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 120, -1, -1));\\n\\n jLabel2.setText(\\\"Intake\\\");\\n getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 250, -1, -1));\\n\\n jLabel3.setText(\\\"Module\\\");\\n getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 310, -1, -1));\\n\\n studID.setEditable(false);\\n getContentPane().add(studID, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 110, 200, 30));\\n\\n jLabel4.setText(\\\"Name\\\");\\n getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 190, -1, -1));\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd63a305c72987a28aee49cfaaf6f997\",\n \"score\": \"0.49338546\",\n \"text\": \"private JPanel consultationForm() {\\r\\n\\t\\tJPanel consultationpanel = new JPanel();\\r\\n\\t\\tJLabel lblpatientid = new JLabel(\\\"Patient's Username\\\");\\r\\n\\t\\tlblpatientid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tJLabel lblstaffid = new JLabel(\\\" Staff's Username\\\");\\r\\n\\t\\tlblstaffid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tJLabel lblsubject = new JLabel(\\\" Subject\\\");\\r\\n\\t\\tlblsubject.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tJLabel lbldateBooked = new JLabel(\\\" Date Booked\\\");\\r\\n\\t\\tlbldateBooked.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tJLabel lbldate = new JLabel(\\\" Date\\\");\\r\\n\\t\\tlbldate.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tJLabel lbltime = new JLabel(\\\" Time\\\");\\r\\n\\t\\tlbltime.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tJLabel lbltreatmentid = new JLabel(\\\" Treatment ID\\\");\\r\\n\\t\\tlbltreatmentid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\tfinal JTextField patientid = new JTextField(15);\\r\\n\\t\\tfinal JTextField staffid = new JTextField(15);\\r\\n\\t\\tfinal JTextField subject = new JTextField(15);\\r\\n\\t\\tfinal JDateChooser dateBooked = new JDateChooser();\\r\\n\\t\\tdateBooked.setDateFormatString(\\\"yyyy-MM-dd\\\");\\r\\n\\t\\tfinal JDateChooser date = new JDateChooser();\\r\\n\\t\\tdate.setDateFormatString(\\\"yyyy-MM-dd\\\");\\r\\n\\t\\tfinal JTextField time = new JTextField(15);\\r\\n\\t\\tfinal JTextField treatmentid = new JTextField(15);\\r\\n\\t\\tJButton addConsultation = new JButton(\\\"Add\\\");\\r\\n\\t\\tconsultationpanel.add(lblpatientid);\\r\\n\\t\\tconsultationpanel.add(patientid);\\r\\n\\t\\tconsultationpanel.add(lblstaffid);\\r\\n\\t\\tconsultationpanel.add(staffid);\\r\\n\\t\\tconsultationpanel.add(lblsubject);\\r\\n\\t\\tconsultationpanel.add(subject);\\r\\n\\t\\tconsultationpanel.add(lbldateBooked);\\r\\n\\t\\tconsultationpanel.add(dateBooked);\\r\\n\\t\\tconsultationpanel.add(lbldate);\\r\\n\\t\\tconsultationpanel.add(date);\\r\\n\\t\\tconsultationpanel.add(lbltime);\\r\\n\\t\\tconsultationpanel.add(time);\\r\\n\\t\\tconsultationpanel.add(lbltreatmentid);\\r\\n\\t\\tconsultationpanel.add(treatmentid);\\r\\n\\t\\tconsultationpanel.add(addConsultation);\\r\\n\\t\\taddConsultation.addActionListener(new ActionListener() {\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\t// Send data to server\\r\\n\\t\\t\\t\\t\\tout.println(\\\"addConsultation\\\");\\r\\n\\t\\t\\t\\t\\tout.println(patientid.getText());\\r\\n\\t\\t\\t\\t\\tout.println(staffid.getText());\\r\\n\\t\\t\\t\\t\\tout.println(subject.getText());\\r\\n\\t\\t\\t\\t\\tDateFormat dateFormat = new SimpleDateFormat(\\\"yyyy-MM-dd\\\");\\r\\n\\t\\t\\t\\t\\tout.println(dateFormat.format(dateBooked.getDate()));\\r\\n\\t\\t\\t\\t\\tout.println(dateFormat.format(date.getDate()));\\r\\n\\t\\t\\t\\t\\tout.println(time.getText());\\r\\n\\t\\t\\t\\t\\tout.println(treatmentid.getText());\\r\\n\\t\\t\\t\\t\\t// Get data from server\\r\\n\\t\\t\\t\\t\\tif ((messageFromServer = in.readLine()) != null) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(messageFromServer);\\r\\n\\t\\t\\t\\t\\t\\tgetContentPane().removeAll();\\r\\n\\t\\t\\t\\t\\t\\t// Successful addition\\r\\n\\t\\t\\t\\t\\t\\tif (messageFromServer.equals(\\\"consultationAdded\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tJLabel message = new JLabel(\\\"You have successfully added the consultation!\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\tmessage.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\t\\t\\t\\t\\tmessage.setForeground(Color.blue);\\r\\n\\t\\t\\t\\t\\t\\t\\tmessage.setBounds(380, 380, 350, 50);\\r\\n\\t\\t\\t\\t\\t\\t\\tgetContentPane().add(consultationForm());\\r\\n\\t\\t\\t\\t\\t\\t\\tgetContentPane().add(message);\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\trevalidate();\\r\\n\\t\\t\\t\\t\\t\\trepaint();\\r\\n\\t\\t\\t\\t\\t\\tpack();\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} catch (Exception er) {\\r\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Exception: consultationForm\\\");\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\tconsultationpanel.setBounds(350, 150, 350, 220);\\r\\n\\t\\tconsultationpanel.setOpaque(false);\\r\\n\\t\\tconsultationpanel.setBorder(BorderFactory.createLineBorder(Color.black));\\r\\n\\t\\treturn consultationpanel;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6666beeb2310edfd3ec212ea5fe170fa\",\n \"score\": \"0.49293205\",\n \"text\": \"public FormInicio() {\\n initComponents(); \\n Ambito a=new Ambito(-1,0);\\n TSH.lista_ambitos.add(a);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1849ff394fc888ee05ea0a2d775af15\",\n \"score\": \"0.49289003\",\n \"text\": \"public ArrayList getAppointments() {\\n ArrayList appointments = null;\\n try {\\n String sqlQuary = \\\"select Appointment._id,Appointment.GpName,Appointment.Date,Appointment.Time,Appointment.DateTime from Appointment where Appointment.userName= '\\\" + LoginActivity.userName + \\\"' ORDER BY datetime(DateTime) ASC\\\";\\n open();\\n Cursor cursor = db.rawQuery(sqlQuary, null);\\n appointments = new ArrayList();\\n\\n if (cursor.moveToFirst()) {\\n\\n do {\\n //create new object from Appointment Model class to hold the new data\\n Appointment newappointment = new Appointment();\\n\\n newappointment.setID(cursor.getInt(0));\\n newappointment.setGpName(cursor.getString(1));\\n newappointment.setAppointmentDate(cursor.getString(2));\\n newappointment.setAppointmentTime(cursor.getString(3));\\n newappointment.setAppointmentDateTime(cursor.getString(4));\\n\\n appointments.add(newappointment);\\n\\n\\n } while (cursor.moveToNext());\\n cursor.close();\\n close();\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n return appointments;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d1b89b3611a4af96698038d8535e437\",\n \"score\": \"0.4922842\",\n \"text\": \"public void AC_Show_Courses() {\\n ArrayList list = CoursesList();\\n DefaultTableModel model = (DefaultTableModel)SC_Current_Courses_Table.getModel();\\n Object[] row = new Object[6];\\n for(int i=0;i list = new ArrayList();\\n try {\\n list.add(new Patient(\\\"Flora\\\",6, \\\"A\\\",\\\"01-04-2020\\\",\\\"23-04-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Denys\\\",24, \\\"B\\\",\\\"01-04-2020\\\",\\\"23-04-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Jim\\\",42, \\\"C\\\",\\\"18-05-2020\\\",\\\"09-06-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Hazel\\\",87, \\\"D\\\",\\\"23-06-2020\\\",\\\"15-07-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Caery\\\",72, \\\"A\\\",\\\"01-06-2020\\\",\\\"23-06-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"David\\\",7, \\\"B\\\",\\\"14-06-2020\\\",\\\"06-07-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Kevim\\\",37, \\\"D\\\",\\\"05-06-2020\\\",\\\"27-06-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Tom\\\",67, \\\"D\\\",\\\"20-06-2020\\\",\\\"12-07-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Bob\\\",74, \\\"A\\\",\\\"04-07-2020\\\",\\\"26-07-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Rachel\\\",48, \\\"C\\\",\\\"24-07-2020\\\",\\\"15-08-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Thomas\\\",21, \\\"C\\\",\\\"11-06-2020\\\",\\\"03-07-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Mary\\\",17, \\\"D\\\",\\\"21-06-2020\\\",\\\"13-07-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Smith\\\",89, \\\"A\\\",\\\"07-08-2020\\\",\\\"29-08-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Pearson\\\",47, \\\"B\\\",\\\"04-06-2020\\\",\\\"26-06-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Anderson\\\",62, \\\"B\\\",\\\"27-07-2020\\\",\\\"18-08-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Johnson\\\",10, \\\"D\\\",\\\"01-08-2020\\\",\\\"23-08-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Robertz\\\",50, \\\"A\\\",\\\"09-08-2020\\\",\\\"31-08-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Julie\\\",86, \\\"B\\\",\\\"02-05-2020\\\",\\\"27-05-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"Edith\\\",42, \\\"D\\\",\\\"07-06-2020\\\",\\\"29-06-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n try {\\n list.add(new Patient(\\\"John\\\",95, \\\"D\\\",\\\"01-06-2020\\\",\\\"23-06-2020\\\"));\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n\\n// SimpleDateFormat formatter2=new SimpleDateFormat(\\\"dd-MM-yyyy\\\");\\n\\n\\n try {\\n Date inputDate = formatter2.parse(t1.getText());\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n// inputDate.compareTo(list.get(0).doa);\\n\\n ArrayList selectedTowers = new ArrayList();\\n if(ta.isSelected())\\n selectedTowers.add(\\\"A\\\");\\n if(tb.isSelected())\\n selectedTowers.add(\\\"B\\\");\\n if(tc.isSelected())\\n selectedTowers.add(\\\"C\\\");\\n if(td.isSelected())\\n selectedTowers.add(\\\"D\\\");\\n\\n if(selectedTowers.size()==0 ){\\n l3.setText(\\\"(Please Choose a Tower)\\\");\\n }\\n\\n else{\\n\\n\\n\\n\\n ArrayList> arr = new ArrayList>();\\n for(int i = 0; i < list.size();i++){\\n// long diffInMillies = Math.abs(in.getTime() - list.get(i).doa.getTime());\\n// long diff = TimeUnit.DAYS.convert(diffInMillies, TimeUnit.MILLISECONDS);\\n for(int j =0 ; j < selectedTowers.size();j++){\\n if (list.get(i).tower == selectedTowers.get(j)) {\\n\\n\\n\\n if(in.compareTo(list.get(i).doa)>=0 && in.compareTo(list.get(i).dor)<0){\\n\\n String status = \\\"Active\\\";\\n\\n\\n arr.add(new ArrayList());\\n arr.get(arr.size() -1).add(list.get(i).name);\\n arr.get(arr.size() -1).add(list.get(i).age+\\\"\\\");\\n arr.get(arr.size() -1).add(list.get(i).tower);\\n arr.get(arr.size() -1).add(list.get(i).doas);\\n arr.get(arr.size() -1).add(list.get(i).dors);\\n arr.get(arr.size() -1).add(status);\\n\\n// active.replace(arr.get(arr.size() -1).get(i),active.get(arr.get(arr.size() -1).get(i))+1) ;\\n\\n }\\n if(in.compareTo(list.get(i).dor)>=0) {\\n String status = \\\"Recovered\\\";\\n arr.add(new ArrayList());\\n arr.get(arr.size() - 1).add(list.get(i).name);\\n arr.get(arr.size() - 1).add(list.get(i).age + \\\"\\\");\\n arr.get(arr.size() - 1).add(list.get(i).tower);\\n arr.get(arr.size() - 1).add(list.get(i).doas);\\n arr.get(arr.size() - 1).add(list.get(i).dors);\\n arr.get(arr.size() - 1).add(status);\\n\\n// recovered.replace(arr.get(arr.size() -1).get(i),recovered.get(arr.get(arr.size() -1).get(i))+1) ;\\n }\\n }}\\n }\\n Date start = null;\\n\\n try {\\n start = formatter2.parse(\\\"01-04-2020\\\");\\n } catch (ParseException parseException) {\\n parseException.printStackTrace();\\n }\\n\\n if(l1.getText()!=\\\"Enter a valid date \\\")\\n new finalresult(arr);\\n\\n }}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a9db90f5d0345bd52bff85850354b22\",\n \"score\": \"0.49132794\",\n \"text\": \"private void buttonMedicationHisFormActionPerformed(java.awt.event.ActionEvent evt) {\\n MedicationHistory form = new MedicationHistory(getCurrentPatientID());\\n form.setVisible(true);\\n this.setVisible(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"465c17fef19af4530bdcdf80de92fa4d\",\n \"score\": \"0.49104065\",\n \"text\": \"public void addAllTradeEnrollment() {\\n btnAddAllTradeEnrollment.click();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29f2d8d2c55c5ee021a32842c68cef7e\",\n \"score\": \"0.4904523\",\n \"text\": \"public FormAsistencias() {\\n initComponents();\\n this.configTable();\\n this.mostrarTable();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6604df5ed538a7d2875cc3aaaedf06e\",\n \"score\": \"0.49038297\",\n \"text\": \"@Override\\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\\n Bundle savedInstanceState) {\\n getActivity().setTitle(\\\"Attendance\\\");\\n\\n\\n View view = inflater.inflate(R.layout.fragment_attendance, container, false);\\n\\n attendanceRecycler = view.findViewById(R.id.attendanceRecyclerView);\\n attendanceRecyclerAdapter = new attendanceRecyclerAdapter(attendanceList, getContext());\\n sessionManager = new SessionManager(getActivity());\\n RecyclerView.LayoutManager leavesLayoutManager = new LinearLayoutManager(getActivity().getApplicationContext());\\n attendanceRecycler.setLayoutManager(leavesLayoutManager);\\n attendanceRecycler.setItemAnimator(new DefaultItemAnimator());\\n attendanceRecycler.setAdapter(attendanceRecyclerAdapter);\\n attendanceRecycler.addItemDecoration(new DividerItemDecoration(getActivity(), LinearLayoutManager.VERTICAL));\\n attendanceCalendarView = view.findViewById(R.id.attendanceCalendarView);\\n imageView = view.findViewById(R.id.attendanceImageView);\\n\\n pd = new ProgressDialog(getActivity());\\n pd.setMessage(\\\"loading\\\");\\n pd.setCancelable(false);\\n\\n\\n Calendar c = Calendar.getInstance();\\n int year = c.get(Calendar.YEAR);\\n int month = c.get(Calendar.MONTH);\\n\\n\\n\\n\\n attendanceCalendarView.setOnDateChangedListener(new OnDateSelectedListener() {\\n @Override\\n public void onDateSelected(@NonNull MaterialCalendarView widget, @NonNull CalendarDay date, boolean selected) {\\n Integer month = date.getMonth() + 1;\\n Integer year = date.getYear();\\n Integer dte = date.getDay();\\n String formattedDate = year + \\\"-\\\" + month + \\\"-\\\" + dte;\\n prepareAttendanceData();\\n }\\n });\\n\\n\\n attendanceCalendarView.setOnMonthChangedListener(new OnMonthChangedListener() {\\n @Override\\n public void onMonthChanged(MaterialCalendarView widget, CalendarDay date) {\\n Integer month = date.getMonth() + 1;\\n Integer year = date.getYear();\\n getMonthlyAttendance(month, year);\\n }\\n });\\n\\n String temp = String.format(\\\"%02d\\\", month + 1);\\n\\n getMonthlyAttendance(Integer.parseInt(temp), year);\\n\\n prepareAttendanceData();\\n\\n\\n return view;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a81384cebc5de8af6c6c774388d7cfb2\",\n \"score\": \"0.4903055\",\n \"text\": \"public void clickCreateEvent(View view) throws java.text.ParseException {\\r\\n\\t\\t//validate data\\r\\n\\t\\tif(ValidateShowEntry()) {\\r\\n\\t\\t\\tShowDAO showDAO = null;\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t//create a show DAO\\r\\n\\t\\t\\t\\tshowDAO = new ShowDAO();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcatch (Exception e) {\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tToast.makeText(this, \\\"The error is occurred.\\\", Toast.LENGTH_SHORT).show();\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//add it in ShowEvent class\\r\\n\\t\\t\\tShow showEvent = new Show();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tshowEvent.setName(((EditText)findViewById(R.id.editTitle)).getText().toString().trim());\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\tString date = ((EditText)findViewById(R.id.editDate)).getText().toString().trim();\\r\\n\\t\\t\\tString time = ((EditText)findViewById(R.id.editTime)).getText().toString().trim();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSimpleDateFormat tempFormat = new SimpleDateFormat(\\\"yyyy-MM-dd HH:mm:ss\\\");\\r\\n\\t\\t\\tDate showDate = tempFormat.parse(date + \\\" \\\" + time);\\r\\n\\r\\n\\t\\t\\tshowEvent.setDate(showDate);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tint genre = ((Spinner) findViewById(R.id.spinnerGenre)).getSelectedItemPosition();\\r\\n\\t\\t\\tshowEvent.setGenre(genre);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tint locationID = SaveShowLocation(((EditText)findViewById(R.id.editLocation)).getText().toString().trim(), ((EditText)findViewById(R.id.editAddress)).getText().toString().trim());\\r\\n\\t\\t\\tif(locationID > -1) {\\r\\n\\t\\t\\t\\tshowEvent.setLocationID(locationID);\\t\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tshowEvent.setBands(SelectedBands);\\r\\n\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tshowEvent.setCost(((EditText)findViewById(R.id.editPrice)).getText().toString().trim());\\r\\n//\\t\\t\\tshowEvent.setContactEmail(((EditText)findViewById(R.id.editEmail)).getText().toString().trim());\\r\\n//\\t\\t\\tshowEvent.setContactPhone(((EditText)findViewById(R.id.editPhone)).getText().toString().trim());\\r\\n//\\t\\t\\tshowEvent.setWebSite(((EditText)findViewById(R.id.editWebsite)).getText().toString().trim());\\r\\n\\t\\t\\tshowEvent.setDescription(((EditText)findViewById(R.id.editDescription)).getText().toString().trim());\\r\\n\\t\\t\\t\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t//insert a record to database\\r\\n\\t\\r\\n\\t\\t\\t\\tshowEvent.setShowID(showDAO.create(showEvent));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tToast.makeText(this, \\\"Created a New Show\\\", Toast.LENGTH_SHORT).show();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcatch (Exception e) {\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tToast.makeText(this, \\\"Error while creating show.\\\", Toast.LENGTH_SHORT).show();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca99ad610581c47d738d8f80409dfcb9\",\n \"score\": \"0.4887239\",\n \"text\": \"private void actionNewEvent() {\\n final Event newEvent = new Event();\\n final Calendar cal = Calendar.getInstance();\\n\\n // Build new event dialog\\n AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getContext());\\n LayoutInflater inflater = this.getLayoutInflater();\\n final View dialogView = inflater.inflate(R.layout.dialog_event_new, null);\\n dialogBuilder.setView(dialogView);\\n dialogBuilder.setTitle(R.string.title_new_event);\\n\\n // Define fields\\n final EditText event_name_edit = dialogView.findViewById(R.id.event_name_edit);\\n final Spinner event_type_spinner = dialogView.findViewById(R.id.event_type_spinner);\\n final Spinner event_course_spinner = dialogView.findViewById(R.id.event_course_spinner);\\n final TextView event_date_pick = dialogView.findViewById(R.id.event_date_pick);\\n event_date_pick.setVisibility(View.GONE);\\n final Spinner event_alarm_spinner = dialogView.findViewById(R.id.event_alarm_spinner);\\n final TextView event_time_pick = dialogView.findViewById(R.id.event_time_pick);\\n\\n // Type\\n event_type_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\\n @Override\\n public void onItemSelected(AdapterView parent, View view, int position, long id) {\\n String type = parent.getItemAtPosition(position).toString();\\n\\n // Set type\\n newEvent.setType(type);\\n\\n Log.d(TAG, \\\"onItemSelected: Type selected: \\\" + type);\\n }\\n\\n @Override\\n public void onNothingSelected(AdapterView parent) {\\n\\n }\\n });\\n\\n // Course\\n if (mDatabase.courseNames.isEmpty()) {\\n event_course_spinner.setVisibility(View.GONE);\\n\\n newEvent.setCourseName(\\\"Undefined\\\");\\n }\\n else {\\n // Set adapter\\n event_course_spinner.setAdapter(mDatabase.courseNamesAdapter);\\n\\n // Set listener\\n event_course_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\\n @Override\\n public void onItemSelected(AdapterView parent, View view, int position, long id) {\\n String courseName = parent.getItemAtPosition(position).toString();\\n\\n // Set course\\n newEvent.setCourseName(courseName);\\n\\n Log.d(TAG, \\\"onItemSelected: Course selected: \\\" + courseName);\\n }\\n\\n @Override\\n public void onNothingSelected(AdapterView parent) {\\n\\n }\\n });\\n }\\n\\n // Alarm\\n event_alarm_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\\n @Override\\n public void onItemSelected(AdapterView parent, View view, int position, long id) {\\n String alarm = parent.getItemAtPosition(position).toString();\\n\\n // Set alarm\\n newEvent.setAlarm(alarm);\\n\\n Log.d(TAG, \\\"onItemSelected: Alarm selected: \\\" + alarm);\\n }\\n\\n @Override\\n public void onNothingSelected(AdapterView parent) {\\n\\n }\\n });\\n\\n // Time\\n event_time_pick.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n // Build time picker\\n TimePickerDialog time_picker = new TimePickerDialog(getContext(),\\n new TimePickerDialog.OnTimeSetListener() {\\n @Override\\n public void onTimeSet(TimePicker view, int hour, int minute) {\\n // Format time\\n String time;\\n if (hour < 10 && minute < 10) {\\n time = \\\"0\\\" + hour + \\\":0\\\" + minute;\\n }\\n else if (hour < 10) {\\n time = \\\"0\\\" + hour + \\\":\\\" + minute;\\n }\\n else if (minute < 10) {\\n time = \\\"\\\" + hour + \\\":0\\\" + minute;\\n }\\n else {\\n time = \\\"\\\" + hour + \\\":\\\" + minute;\\n }\\n\\n // Set time\\n newEvent.setTime(time);\\n\\n // Preview time\\n event_time_pick.setText(time);\\n\\n Log.d(TAG, \\\"onTimeSet: Time set: \\\" + time);\\n }\\n },\\n cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), true);\\n\\n // Show time picker\\n time_picker.getWindow();\\n time_picker.show();\\n }\\n });\\n\\n // Define responses\\n dialogBuilder.setPositiveButton(\\\"Done\\\", new DialogInterface.OnClickListener() {\\n public void onClick(DialogInterface dialog, int whichButton) {\\n // Set name\\n String name = event_name_edit.getText().toString().trim();\\n if (name.isEmpty()) {\\n newEvent.setName(\\\"New event\\\");\\n }\\n else {\\n newEvent.setName(name);\\n }\\n\\n // Set date\\n newEvent.setDate(mDate);\\n\\n // Add event\\n mDatabase.addEvent(newEvent);\\n }\\n });\\n dialogBuilder.setNegativeButton(\\\"Cancel\\\", new DialogInterface.OnClickListener() {\\n public void onClick(DialogInterface dialog, int whichButton) {\\n // TODO: Cancel\\n }\\n });\\n\\n // Show new event dialog\\n AlertDialog eventDialog = dialogBuilder.create();\\n eventDialog.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b7fd5c64610bbff95d7832356cd3234\",\n \"score\": \"0.48867607\",\n \"text\": \"private void chooseAppointment() {\\n schedule = doctorDataController.getData(doctor.getAfm());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e50386f34925f3f567c9db93a3515a8\",\n \"score\": \"0.48785675\",\n \"text\": \"@OneToMany(\\n mappedBy = \\\"event\\\",\\n cascade = CascadeType.ALL,\\n orphanRemoval = true\\n )\\n public List getAttendances() {\\n return attendances;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d37aa3260dcc353b1ed5b0549fc3872\",\n \"score\": \"0.48725706\",\n \"text\": \"@RequestMapping(\\\"/showForm\\\")\\r\\n\\tpublic String showForm(Model theModel) {\\n\\t\\tStudent theStudent = new Student();\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t//add student object to the model\\r\\n\\t\\ttheModel.addAttribute(\\\"student\\\", theStudent);\\r\\n\\t\\t\\r\\n\\t\\tSystem.out.println(\\\"*****student/showForm method\\\");\\r\\n\\t\\t\\r\\n\\t\\treturn \\\"studentForm\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce8603740105018aa53e578606c9dbdd\",\n \"score\": \"0.4871431\",\n \"text\": \"public ChooseAppointment() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e87c7c1358cde68090dc8eab6368cae3\",\n \"score\": \"0.48690063\",\n \"text\": \"public String btnAll_action() {\\n try {\\n if(isEntryValidForAll()){\\n lstMainDepartment.setValue(null);\\n lstMainDepartment.setDisabled(true);\\n btnFilter.setDisabled(true);\\n getReadAvailableDepartments().clear();\\n populateAllRequesterDtaeofBirth();\\n populateAllretireTableComponents(calculatedAllDate);\\n }\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2faca61b07c0df1556bee05ded3dfff4\",\n \"score\": \"0.48670807\",\n \"text\": \"public void SC_Show_RegisteredCourses() {\\n ArrayList list = SC_StudentRegisteredCourses();\\n DefaultTableModel model = (DefaultTableModel)SC_Student_Courses_Table.getModel();\\n Object[] row = new Object[6];\\n for(int i=0;i=11)\\n {\\n }\\n else\\n {\\n for(int z = x ;z<13;z++)\\n {\\n Object rowData[] = {\\n \\\"\\\", \\\"\\\", \\\"\\\",\\\"\\\",\\\"\\\",\\n };\\n model.addRow(rowData);\\n }\\n }\\n }\\n catch (SQLException ex) {\\n \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5367cdfec89b68ff95f1496ebe3c9507\",\n \"score\": \"0.48448932\",\n \"text\": \"public frm_adm_tutor_info_asigna_eje_aca() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d4dce224eb00b7170075662802c77c0\",\n \"score\": \"0.4843564\",\n \"text\": \"public void createNewEvent(View v) {\\n Intent intent = new Intent(this, CreateNewEventActivity.class);\\n startActivity(intent);\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd2c265c5f760ae46d12982074f085d7\",\n \"score\": \"0.48400226\",\n \"text\": \"public Agenda(){\\r\\n\\t\\tappointments = new ArrayList();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35c5ecdd99d46723de193928c1569c41\",\n \"score\": \"0.4837684\",\n \"text\": \"private void createAllObjects() {\\n\\t\\tcheckSubmition = (ImageButton) findViewById(R.id.Bsubmit);\\n\\t\\tdisplaySubmit = (TextView) findViewById(R.id.msgSubmit);\\n\\t\\tTweight = (EditText) findViewById(R.id.CommandWeight);\\n\\t\\tTheight = (EditText) findViewById(R.id.CommandHeigh);\\n\\t\\tsetCurrentDateOnView();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03f3a5662d85a6edb741967508ce1248\",\n \"score\": \"0.48354903\",\n \"text\": \"public ViewAccountant() {\\n initComponents();\\n setLocationRelativeTo(null);\\n\\n fillEntries();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f842d7ac59190e42c15773799e840206\",\n \"score\": \"0.48310855\",\n \"text\": \"public void actionPerformed(ActionEvent arg0) {\\n\\t\\t\\t\\tList employees = fachada.searchAll();\\n//\\t\\t\\t\\tString cols[] = {\\\"Matrícula\\\", \\\"Nome\\\", \\\"PIS\\\", \\\"CPF\\\", \\n//\\t\\t\\t\\t\\t\\t\\\"Função\\\", \\\"Cód Depto\\\", \\\"Depto\\\", \\n//\\t\\t\\t\\t\\t\\t\\\"UF\\\", \\\"Data Admissão\\\", \\\"Data Nasc.\\\" };\\n//\\n//\\t\\t\\t\\tDefaultTableModel tableModel = new DefaultTableModel(cols, 0);\\n//\\t\\t\\t\\temployeeTable.setModel(tableModel);\\n//\\n//\\t\\t\\t\\t//Object[] objs = {1, \\\"Arsenal\\\", 35, 11, 2, 2, 15, 30, 11, 19};\\n//\\t\\t\\t\\tfor (Employee emp : employees){\\n//\\t\\t\\t\\t\\tObject[] row = {\\n//\\t\\t\\t\\t\\t\\t\\temp.getMatriculation(), \\n//\\t\\t\\t\\t\\t\\t\\temp.getName(),\\n//\\t\\t\\t\\t\\t\\t\\temp.getPis(),\\n//\\t\\t\\t\\t\\t\\t\\temp.getCpf(),\\n//\\t\\t\\t\\t\\t\\t\\temp.getFunction().getName(),\\n//\\t\\t\\t\\t\\t\\t\\temp.getWorkplace().getCode(),\\n//\\t\\t\\t\\t\\t\\t\\temp.getWorkplace().getName(),\\n//\\t\\t\\t\\t\\t\\t\\temp.getState().getAbbrev(),\\n//\\t\\t\\t\\t\\t\\t\\tformat1.format(emp.getAdmissionDate().getTime()),\\n//\\t\\t\\t\\t\\t\\t\\tformat1.format(emp.getBirthday().getTime())};\\n//\\t\\t\\t\\t\\ttableModel.addRow(row);\\n//\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//String cols[] = {\\\"Matrícula\\\", \\\"Nome\\\", \\\"ID_SOLL\\\" };\\n\\t\\t\\t\\tString cols[] = {\\\"Nome\\\", \\\"ID_SOLL\\\" };\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tDefaultTableModel tableModel = new DefaultTableModel(cols, 0);\\n\\t\\t\\t\\temployeeTable.setModel(tableModel);\\n\\n\\t\\t\\t\\t//Object[] objs = {1, \\\"Arsenal\\\", 35, 11, 2, 2, 15, 30, 11, 19};\\n\\t\\t\\t\\tfor (Employee emp : employees){\\n\\t\\t\\t\\t\\tObject[] row = {\\n\\t\\t\\t\\t\\t\\t\\t//emp.getMatriculation(),\\n\\t\\t\\t\\t\\t\\t\\temp.getName(),\\n\\t\\t\\t\\t\\t\\t\\temp.getIdSoll()\\n\\t\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\ttableModel.addRow(row);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tCardLayout c = (CardLayout)contentPane.getLayout();\\n\\t\\t\\t\\tc.show(contentPane, \\\"employeesList\\\");\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0264fe0b5b58161c9800ce642cb86db1\",\n \"score\": \"0.48297042\",\n \"text\": \"@RequestMapping(value=\\\"/showAxEmp\\\")\\r\\n\\tpublic String showAllRec(ModelMap map){\\r\\n\\t\\tList axemplist = service.getAllAxEmployee();\\r\\n\\t\\tmap.addAttribute(\\\"listobjAxEmp\\\", axemplist);\\r\\n\\t\\treturn \\\"AxEmployeeData\\\";\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f365e1d5489a319b732e758441f59939\",\n \"score\": \"0.4826878\",\n \"text\": \"public void displayAll(){\\r\\n Object [] row = new Object[3];\\r\\n row[0] = regmem.generateMemberID(tablemembers);\\r\\n row[1] = nameTextField.getText();\\r\\n row[2] = p_numTextField.getText();\\r\\n \\r\\n model.addRow(row);\\r\\n regmem.saveToFile(tablemembers);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9075ab266f3308cd7d404aee35cf54c\",\n \"score\": \"0.48219743\",\n \"text\": \"public static void populateAppointments() {\\n\\t\\ttry {\\n\\t\\t\\t//Create a query to use in a PreparedStatement\\n\\t\\t\\t\\t//Will find all appointments\\n\\t\\t\\tString query = \\\"select * from appointments\\\";\\n\\t\\t\\t//Execute the query with the associated database connection\\n\\t\\t\\tPreparedStatement pst = sqliteConnection.connAppointment.prepareStatement(query);\\n\\t\\t\\t//Results of the PreparedStatement\\n\\t\\t\\tResultSet rs = pst.executeQuery();\\n\\t\\t\\t//Populate the table with this ResultSet\\n\\t\\t\\tAdvisingAppointment.table.setModel(DbUtils.resultSetToTableModel(rs));\\n\\t\\t\\t//Close the data reception from the database\\n\\t\\t\\trs.close();\\n\\t\\t\\tpst.close();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7269ed806310c76976ac6caa1f1d66e\",\n \"score\": \"0.4817533\",\n \"text\": \"void onSubmitDetails(AttendanceDetails attendanceDetails);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09b3162fb5ad7216f83fa298126b1a4e\",\n \"score\": \"0.48133546\",\n \"text\": \"List getListOfScheduleInterview();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b77504e399b280166f6c1ace53e49914\",\n \"score\": \"0.48072323\",\n \"text\": \"@Override\\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\\n Bundle savedInstanceState) {\\n\\n\\n View rootView = inflater.inflate(R.layout.fragment_show_attendance_detail, container, false);\\n Bundle bundle = getArguments();\\n if(bundle!=null){\\n if(bundle.containsKey(Constants.BundelKays.ATTENDANCE_DATA)) {\\n attendanceData = bundle.getParcelable(Constants.BundelKays.ATTENDANCE_DATA);\\n }\\n }\\n\\n onAttendanceActionListener = this;\\n\\n return rootView;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0124b522577b42a084de1b0b78dd7ee\",\n \"score\": \"0.48070884\",\n \"text\": \"List selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b25e442ae742fd5d6c4273c4dfca140\",\n \"score\": \"0.47985718\",\n \"text\": \"public void displayAllHandler(ActionEvent actionEvent) throws SQLException {\\r\\n showAll = true;\\r\\n showMonth = false;\\r\\n showWeek = false;\\r\\n apptsMsg.setText(\\\"\\\");\\r\\n getAllAppointments();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c91a2565c2d7b609ed83f303ce71c16b\",\n \"score\": \"0.47982728\",\n \"text\": \"public String goToCreateAppointment() {\\n return \\\"createEditAppointment\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1435261708d357763b8ad3ce82536427\",\n \"score\": \"0.47956333\",\n \"text\": \"public void addAttendance(Attendance attendance) {\\r\\n attendance.setStudent(this);\\r\\n this.attendance.add(attendance);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"110f2352a93ca0bdc9ddb7a13f6f7141\",\n \"score\": \"0.47865674\",\n \"text\": \"private void buscar() {\\n idActividad = \\\"\\\";\\n lblActividad.setText(\\\"\\\");\\n listActividad = frmPrincipal.oNegocioDao.getBuscarActividad(txtActividad.getText().trim().toUpperCase());\\n System.out.println(\\\"Datos obtenidos \\\" + listActividad.size());\\n oActividad = new Actividades();\\n for (int i = 0; 0 < tablitaActividades.getRowCount(); i++) {\\n tablitaActividades.removeRow(0);\\n }\\n\\n for (Actividades item : listActividad) {\\n String[] nuevo = new String[2];\\n nuevo[0] = item.getIdActividad() + \\\"\\\";\\n nuevo[1] = item.getActividad();\\n tablitaActividades.addRow(nuevo);\\n }\\n personalizarJtable();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f221989f37f15a070f78f51e7243e2f4\",\n \"score\": \"0.47789547\",\n \"text\": \"@RequestMapping(\\\"/appointment\\\")\\n\\tpublic String appointment(Model model) {\\n\\t\\tList booking = bookingService.getListBooking();\\n\\t\\tmodel.addAttribute(\\\"LIST_CUSTOMER\\\", booking);\\n\\t\\treturn \\\"appointment\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30b15b431fd1962a5a8bbebf5e4ee702\",\n \"score\": \"0.4778364\",\n \"text\": \"private void listMateriais(){\\n DefaultTableModel tableModel = new DefaultTableModel(0,4); \\n tableModel.setColumnIdentifiers(new Object[] {\\\"Id\\\",\\\"Nome\\\", \\\"Quantidade\\\", \\\"Custo\\\"});\\n bdMateriais = MaterialDAO.getMateriaisByIdTarefa(localTarefa.getId());\\n \\n if(!bdMateriais.isEmpty()){\\n for (Material m:bdMateriais){\\n tableModel.addRow(new Object[]{m.getId(),m.getNome(),m.getQuantidade(),m.getCusto()});\\n matForm.materiaisTable.setModel(tableModel);\\n matForm.deleteButton.setEnabled(true);\\n matForm.editarMatButton.setEnabled(true);\\n }\\n }\\n else{\\n matForm.deleteButton.setEnabled(false);\\n matForm.editarMatButton.setEnabled(false);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"618dfdf1d4d800c9f5eeea71b9b65c57\",\n \"score\": \"0.47778496\",\n \"text\": \"@Override\\n\\tpublic List getDateWiseAttendance() {\\n\\t\\t\\n\\t\\tfinal String procedureCall=\\\"{call attendance_manager2(?,?,?,?,?,?)}\\\";\\n\\t\\tConnection con=null;\\n\\t\\t\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tcon=jdbcTemplate.getDataSource().getConnection();\\n\\t\\t\\t\\t\\tCallableStatement cs=con.prepareCall(procedureCall);\\n\\t\\t\\t\\t\\tcs.setString(1, \\\"get_sattendance\\\");\\n\\t\\t\\t\\t\\tcs.setInt(2, datewiseatt.getSid());\\n\\t\\t\\t\\t\\tcs.setString(3, null);\\n\\t\\t\\t\\t\\tcs.setDate(4, null);\\n\\t\\t\\t\\t\\tcs.setInt(5, 0);\\n\\t\\t\\t\\t\\tcs.setInt(6, datewiseatt.getCid());\\n\\t\\t\\t\\t\\tResultSet rs=cs.executeQuery();\\n\\t\\t\\t\\t\\tList l=new ArrayList();\\n\\t\\t\\t\\t\\twhile(rs.next())\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tdatewiseatt dt=new datewiseatt();\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tif(rs.getInt(\\\"attendance\\\")==1)\\n\\t\\t\\t\\t\\t\\t\\tdt.setPresent(\\\"Present\\\");\\n\\t\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\t\\tdt.setPresent(\\\"Absent\\\");\\n\\t\\t\\t\\t\\t\\tjava.sql.Date d=rs.getDate(\\\"adate\\\");\\n\\t\\t\\t\\t\\t\\tlong ms=d.getTime();\\n\\t\\t\\t\\t\\t\\tDate ud=new Date(ms);\\n\\t\\t\\t\\t\\t\\tdt.setD(ud);\\n\\t\\t\\t\\t\\t\\tl.add(dt);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\treturn l;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcatch(Exception e)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"009885b1200f6500b8d85bae5fdeb106\",\n \"score\": \"0.47670537\",\n \"text\": \"public void Show_LoginHistory() {\\n ArrayList list = LoginHistory();\\n DefaultTableModel model = (DefaultTableModel)Login_History_Table.getModel();\\n Object[] row = new Object[6];\\n for(int i=0;i 100 || Integer.parseInt(attnd.getText().toString().trim()) < 0) {\\n showMessage(\\\"Error\\\", \\\"Please Enter Valid Attendance\\\");\\n return;\\n }else if (Integer.parseInt(grade.getText().toString().trim()) > 100 || Integer.parseInt(grade.getText().toString().trim()) < 0) {\\n showMessage(\\\"Error\\\", \\\"Please Enter Valid Percentage\\\");\\n return;\\n }else {\\n //If the required fields are filled then the DB is updated\\n db.execSQL(\\\"INSERT INTO child VALUES('\\\" + sid + \\\"','\\\" + SchoolAddActivity.school_id + \\\"','\\\" + name.getText() + \\\"','\\\" + date + \\\"','\\\" + genderString + \\\"','\\\" + std + \\\"','\\\" + father.getText() + \\\"','\\\" + mother.getText() + \\\"','\\\" + guardian.getText() + \\\"','\\\" + attnd.getText() + \\\"','\\\" + grade.getText() + \\\"');\\\");\\n showMessage(\\\"Success\\\", \\\"Record added\\\");\\n changeIntent();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"237289293ef93f7635c999fe9fc3009a\",\n \"score\": \"0.4757773\",\n \"text\": \"public void MC_Show_Courses() {\\n ArrayList list = CoursesList();\\n DefaultTableModel model = (DefaultTableModel)MC_Current_Courses_Table.getModel();\\n Object[] row = new Object[9];\\n for(int i=0;i roomList = new LinkedHashMap();\\n\\t\\tSet rooms = roomDAO.findAllRooms();\\n\\t\\tfor(Room rT : rooms){\\n\\t\\t\\troomList.put(rT.getRoomId(), rT.getRoomCategory());\\n\\t }\\n\\t\\t\\n\\t\\t\\n\\t\\tMap guestList = new LinkedHashMap();\\n\\t\\tSet guests = guestDAO.findAllGuests();\\n\\t\\tfor(Guest rT : guests){\\n\\t\\t\\tguestList.put(rT.getGuestId(), rT.getFirstName()+\\\" \\\"+rT.getLastName());\\n\\t }\\n\\t\\t\\n\\t\\t\\n\\t\\tmav.addObject(\\\"reservation\\\", reservation);\\n\\t\\tmav.addObject(\\\"roomList\\\", roomList);\\n\\t\\tmav.addObject(\\\"guestList\\\", guestList);\\n\\t\\tmav.addObject(\\\"newFlag\\\", true);\\n\\t\\tmav.setViewName(\\\"reservation/editReservation.jsp\\\");\\n\\n\\t\\treturn mav;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfd4cfe761b1bd3a4670657ae777330a\",\n \"score\": \"0.4736896\",\n \"text\": \"private void getAllRecordForPatient(Integer appointmentId) {\\n try {\\n PaymentsDAOImpl paymentsDAOImpl = new PaymentsDAOImpl();\\n ResultSet operationRecord = paymentsDAOImpl.getPatientOperationRecordByAppointmentId(appointmentId);\\n ResultSet testRecord = paymentsDAOImpl.getPatientTestByAppointmentId(appointmentId);\\n ResultSet roomRecord = paymentsDAOImpl.getPatientRoomRecordByAppointmentId(appointmentId);\\n ResultSet doctorFees = paymentsDAOImpl.getDoctorFeesByAppointmentId(appointmentId);\\n while (doctorFees.next()) {\\n patientRecordTextArea.append(\\\"Appointment ID :\\\" + \\\"\\\\t\\\" + doctorFees.getString(\\\"Appointment ID\\\") + \\\"\\\\n\\\\n\\\");\\n patientRecordTextArea.append(\\\"Appointment Date :\\\" + \\\"\\\\t\\\" + doctorFees.getTimestamp(\\\"Appointment Date\\\").toString() + \\\"\\\\n\\\\n\\\");\\n patientRecordTextArea.append(\\\"Patient Name :\\\" + \\\"\\\\t\\\\t\\\" + doctorFees.getString(\\\"Patient Name\\\") + \\\"\\\\n\\\\n\\\");\\n patientRecordTextArea.append(\\\"Gender :\\\" + \\\"\\\\t\\\\t\\\" + doctorFees.getString(\\\"Gender\\\") + \\\"\\\\n\\\\n\\\");\\n patientRecordTextArea.append(\\\"Contact :\\\" + \\\"\\\\t\\\\t\\\" + doctorFees.getString(\\\"Contact\\\") + \\\"\\\\n\\\\n\\\");\\n patientRecordTextArea.append(\\\"Doctor Name :\\\" + \\\"\\\\t\\\\t\\\" + doctorFees.getString(\\\"Doctor Name\\\") + \\\"\\\\n\\\\n\\\");\\n patientRecordTextArea.append(\\\"Fees Status :\\\" + \\\"\\\\t\\\\t\\\" + doctorFees.getString(\\\"Fees Status\\\"));\\n }\\n operationTable.setModel(DbUtils.resultSetToTableModel(operationRecord));\\n testTable.setModel(DbUtils.resultSetToTableModel(testRecord));\\n roomDetailTable.setModel(DbUtils.resultSetToTableModel(roomRecord));\\n } catch (SQLException ex) {\\n Logger.getLogger(PatientChargesDetailFrame.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f131eb193731e420930fa6d1485682a\",\n \"score\": \"0.47319362\",\n \"text\": \"public ArrayList getAppointmentsbyName() {\\n ArrayList appointments = null;\\n try {\\n String sqlQuary = \\\"select Appointment._id,Appointment.GpName,Appointment.Date,Appointment.Time from Appointment where Appointment.userName= '\\\" + LoginActivity.userName + \\\"' ORDER BY GpName ASC\\\";\\n open();\\n Cursor cursor = db.rawQuery(sqlQuary, null);\\n appointments = new ArrayList();\\n if (cursor.moveToFirst()) {\\n\\n do {\\n ///create new object from Appointment Model class to hold the new data\\n Appointment newappointment = new Appointment();\\n\\n newappointment.setID(cursor.getInt(0));\\n newappointment.setGpName(cursor.getString(1));\\n newappointment.setAppointmentDate(cursor.getString(2));\\n newappointment.setAppointmentTime(cursor.getString(3));\\n\\n ///add appointment object to the list of appointments\\n appointments.add(newappointment);\\n\\n } while (cursor.moveToNext());\\n cursor.close();\\n close();\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n return appointments;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be6e4de9498e440afb0f2e33459b382e\",\n \"score\": \"0.47264776\",\n \"text\": \"private JPanel consultationsForm(List consultation) {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tJPanel consultationpanel = new JPanel();\\r\\n\\t\\t\\tJLabel lblid = new JLabel(\\\" ID\\\");\\r\\n\\t\\t\\tlblid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lblpatientid = new JLabel(\\\"Patient's Username\\\");\\r\\n\\t\\t\\tlblpatientid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lblstaffid = new JLabel(\\\"Staff ID\\\");\\r\\n\\t\\t\\tlblstaffid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lblsubject = new JLabel(\\\"Subject\\\");\\r\\n\\t\\t\\tlblsubject.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lbldateBooked = new JLabel(\\\"Date Booked\\\");\\r\\n\\t\\t\\tlbldateBooked.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lbldate = new JLabel(\\\"Date\\\");\\r\\n\\t\\t\\tlbldate.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lbltime = new JLabel(\\\"Time\\\");\\r\\n\\t\\t\\tlbltime.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lbltreatmentid = new JLabel(\\\"Treatment ID\\\");\\r\\n\\t\\t\\tlbltreatmentid.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lblattended = new JLabel(\\\"Attended\\\");\\r\\n\\t\\t\\tlblattended.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tJLabel lblupdated = new JLabel(\\\"Medical Record Updated\\\");\\r\\n\\t\\t\\tlblupdated.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tfinal JTextField id = new JTextField(Integer.toString(consultation.get(0).ConsultationID));\\r\\n\\t\\t\\tid.setEditable(false);\\r\\n\\t\\t\\tfinal JTextField patientid = new JTextField(consultation.get(0).PatientID);\\r\\n\\t\\t\\tfinal JTextField staffid = new JTextField(consultation.get(0).StaffID);\\r\\n\\t\\t\\tfinal JTextField subject = new JTextField(consultation.get(0).Subject);\\r\\n\\t\\t\\tfinal JTextField dateBooked = new JTextField(consultation.get(0).DateBooked);\\r\\n\\t\\t\\tfinal JTextField date = new JTextField(consultation.get(0).Date);\\r\\n\\t\\t\\tfinal JTextField time = new JTextField(consultation.get(0).Time);\\r\\n\\t\\t\\tfinal JTextField attended = new JTextField(Integer.toString(consultation.get(0).Attended));\\r\\n\\t\\t\\tfinal JTextField updated = new JTextField(Integer.toString(consultation.get(0).MedicalRecordUpdated));\\r\\n\\t\\t\\tfinal JTextField treatmentid = new JTextField(Integer.toString(consultation.get(0).TreatmentID));\\r\\n\\t\\t\\tJButton update = new JButton(\\\"Update\\\");\\r\\n\\t\\t\\tupdate.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tupdate.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\r\\n\\t\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\t\\t// Send data to server\\r\\n\\t\\t\\t\\t\\t\\tout.println(\\\"updateConsultation\\\");\\r\\n\\t\\t\\t\\t\\t\\tout.println(Integer.parseInt(id.getText()));\\r\\n\\t\\t\\t\\t\\t\\tout.println(patientid.getText());\\r\\n\\t\\t\\t\\t\\t\\tout.println(staffid.getText());\\r\\n\\t\\t\\t\\t\\t\\tout.println(subject.getText());\\r\\n\\t\\t\\t\\t\\t\\tout.println(dateBooked.getText());\\r\\n\\t\\t\\t\\t\\t\\tout.println(date.getText());\\r\\n\\t\\t\\t\\t\\t\\tout.println(time.getText());\\r\\n\\t\\t\\t\\t\\t\\tout.println(Integer.parseInt(attended.getText()));\\r\\n\\t\\t\\t\\t\\t\\tout.println(Integer.parseInt(updated.getText()));\\r\\n\\t\\t\\t\\t\\t\\tout.println(Integer.parseInt(treatmentid.getText()));\\r\\n\\t\\t\\t\\t\\t\\t// Get data from server\\r\\n\\t\\t\\t\\t\\t\\tif ((messageFromServer = in.readLine()) != null) {\\r\\n\\t\\t\\t\\t\\t\\t\\tgetContentPane().removeAll();\\r\\n\\t\\t\\t\\t\\t\\t\\t// Successful update\\r\\n\\t\\t\\t\\t\\t\\t\\tif (messageFromServer.equals(\\\"consultationUpdated\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tgetContentPane().add(searchConsultationForm());\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t// Get data from server\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tList ls = new ArrayList();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tls = (List) inObject.readObject();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tgetContentPane().add(consultationsForm(ls));\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\trevalidate();\\r\\n\\t\\t\\t\\t\\t\\t\\trepaint();\\r\\n\\t\\t\\t\\t\\t\\t\\tpack();\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t} catch (Exception er) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Exception: consultationsForm\\\");\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t});\\r\\n\\t\\t\\tJButton delete = new JButton(\\\"Delete\\\");\\r\\n\\t\\t\\tdelete.setFont(new Font(\\\"Arial\\\", Font.PLAIN, 14));\\r\\n\\t\\t\\tdelete.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\r\\n\\t\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\t\\t// Send data to server\\r\\n\\t\\t\\t\\t\\t\\tout.println(\\\"deleteConsultation\\\");\\r\\n\\t\\t\\t\\t\\t\\tout.println(Integer.parseInt(id.getText()));\\r\\n\\t\\t\\t\\t\\t\\t// Get data from server\\r\\n\\t\\t\\t\\t\\t\\tif ((messageFromServer = in.readLine()) != null) {\\r\\n\\t\\t\\t\\t\\t\\t\\tgetContentPane().removeAll();\\r\\n\\t\\t\\t\\t\\t\\t\\t// Successful deletion\\r\\n\\t\\t\\t\\t\\t\\t\\tif (messageFromServer.equals(\\\"consultationDeleted\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tgetContentPane().add(searchConsultationForm());\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\trevalidate();\\r\\n\\t\\t\\t\\t\\t\\t\\trepaint();\\r\\n\\t\\t\\t\\t\\t\\t\\tpack();\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t} catch (Exception er) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Exception: consultationsForm\\\");\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t});\\r\\n\\t\\t\\tconsultationpanel.add(lblid);\\r\\n\\t\\t\\tconsultationpanel.add(id);\\r\\n\\t\\t\\tconsultationpanel.add(lblpatientid);\\r\\n\\t\\t\\tconsultationpanel.add(patientid);\\r\\n\\t\\t\\tconsultationpanel.add(lblstaffid);\\r\\n\\t\\t\\tconsultationpanel.add(staffid);\\r\\n\\t\\t\\tconsultationpanel.add(lblsubject);\\r\\n\\t\\t\\tconsultationpanel.add(subject);\\r\\n\\t\\t\\tconsultationpanel.add(lbldateBooked);\\r\\n\\t\\t\\tconsultationpanel.add(dateBooked);\\r\\n\\t\\t\\tconsultationpanel.add(lbldate);\\r\\n\\t\\t\\tconsultationpanel.add(date);\\r\\n\\t\\t\\tconsultationpanel.add(lbltime);\\r\\n\\t\\t\\tconsultationpanel.add(time);\\r\\n\\t\\t\\tconsultationpanel.add(lblattended);\\r\\n\\t\\t\\tconsultationpanel.add(attended);\\r\\n\\t\\t\\tconsultationpanel.add(lblupdated);\\r\\n\\t\\t\\tconsultationpanel.add(updated);\\r\\n\\t\\t\\tconsultationpanel.add(lbltreatmentid);\\r\\n\\t\\t\\tconsultationpanel.add(treatmentid);\\r\\n\\t\\t\\tconsultationpanel.add(update);\\r\\n\\t\\t\\tconsultationpanel.add(delete);\\r\\n\\t\\t\\tconsultationpanel.setBounds(350, 250, 250, 250);\\r\\n\\t\\t\\tconsultationpanel.setOpaque(false);\\r\\n\\t\\t\\treturn consultationpanel;\\r\\n\\t\\t} catch (Exception er) {\\r\\n\\t\\t\\tSystem.out.println(\\\"Exception: consultationsForm\\\");\\r\\n\\t\\t\\treturn null;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b32b7a78549dc282922fc59e235a5585\",\n \"score\": \"0.47183874\",\n \"text\": \"@GetMapping(\\\"/newPatient\\\")\\n public String addPatient(Model model) {\\n Patient patient = new Patient();\\n patient.setNationality(new Nation());\\n model.addAttribute(\\\"patient\\\", patient);\\n model.addAttribute(\\\"mode\\\", \\\"PATIENT_EDIT\\\");\\n model.addAttribute(\\\"nations\\\", nationService.findAll());\\n return \\\"patient\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aef4625a703a158895b61b01c60eb68f\",\n \"score\": \"0.47166798\",\n \"text\": \"List getAllApplicant();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef6725e2fe89e97937d7c4eebac1388c\",\n \"score\": \"0.47131875\",\n \"text\": \"private void addNewEmButtonActionPerformed(java.awt.event.ActionEvent evt) {\\n int id = Integer.parseInt(addEmIDTextField.getText());\\n String name = addEmNameTextField.getText();\\n String address = addEmAddressTextField.getText();\\n String phone = addEmPhoneTextField.getText();\\n String phoneExtension = addEmPhoneExtensionTextField.getText();\\n String userName = addEmUsernameTextField.getText();\\n char gender = addEmGenderComboBox.getSelectedItem().toString().charAt(0);\\n Date dateOfBirth = addEmDOBDatePicker.getDate();\\n Employee em = new Employee(userName, phoneExtension, id, name, dateOfBirth, address, phone, gender);\\n employees.add(em);\\n JOptionPane.showMessageDialog(this, \\\"Employee Added Successfully\\\");\\n addEmIDTextField.setText(\\\"\\\"); addEmNameTextField.setText(\\\"\\\"); addEmAddressTextField.setText(\\\"\\\"); addEmPhoneTextField.setText(\\\"\\\");\\n addEmPhoneExtensionTextField.setText(\\\"\\\"); addEmUsernameTextField.setText(\\\"\\\");\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":861,"cells":{"query_id":{"kind":"string","value":"5781eda0657b075718be80d8b97717eb"},"query":{"kind":"string","value":"Static method for turning a file's IFile representation into File."},"positive_passages":{"kind":"list like","value":[{"docid":"e6046eba982140421bba8e9e485aa5ed","score":"0.62163925","text":"public static File ifileToFile(IFile ifile){\n\t\tFile file = new File(ifile.getLocation().toString());\n\t\treturn file;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"e6046eba982140421bba8e9e485aa5ed\",\n \"score\": \"0.62163925\",\n \"text\": \"public static File ifileToFile(IFile ifile){\\n\\t\\tFile file = new File(ifile.getLocation().toString());\\n\\t\\treturn file;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ecfbdcefbce3427aba831c7db9533321","score":"0.6420464","text":"FileObject getFile();","title":""},{"docid":"c06ecc73b7f738b76842ab55f99a328b","score":"0.6236026","text":"File makeFile();","title":""},{"docid":"2977abc9639323927ba0cb502edb5860","score":"0.61198175","text":"public static File convertToFile(MultipartFile file) {\n File convFile = new File(file.getOriginalFilename());\n try {\n convFile.createNewFile();\n FileOutputStream fos = new FileOutputStream(convFile);\n fos.write(file.getBytes());\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return convFile;\n }","title":""},{"docid":"2f3a4fa9535046903508552d8cf8c5f2","score":"0.6103755","text":"File creer();","title":""},{"docid":"a8c4ceb32a6a57388faab11472fc71a2","score":"0.59976476","text":"public final IFile createFileFromInfo(IFileMetadata info) {\n\t\treturn createFileFromInfo(info, IFile.Flags.READONLY);\n\t}","title":""},{"docid":"4f7f73f9b045df5bc79af037af9de0d3","score":"0.5904185","text":"File file();","title":""},{"docid":"16765b23ed2f1be9fc4b4692db8570a6","score":"0.58336604","text":"public File getFile();","title":""},{"docid":"6e9f19cf6feb86d3c7643481ba87409c","score":"0.5825514","text":"public abstract File getFile();","title":""},{"docid":"62941cf77afb03b54a3a65dbfb0d6a0f","score":"0.5786115","text":"File getFile();","title":""},{"docid":"1f7dcda8d9ab4932ab018ba1e1306128","score":"0.57653946","text":"FileObject toRealFile(FileObject output) throws ImpossibleOnRemoteFileException;","title":""},{"docid":"5377bab9c18bfce902bed341647c46ec","score":"0.5760089","text":"private File convertMultiPartToFile(MultipartFile file) throws IOException {\n\t\tFile convFile = new File(file.getOriginalFilename());\n\t\tFileOutputStream fos = new FileOutputStream(convFile);\n\t\tfos.write(file.getBytes());\n\t\tfos.close();\n\t\treturn convFile;\n\t}","title":""},{"docid":"76cb5ab53596c7e2618a580d66f93a39","score":"0.5755162","text":"File localFile(FileObject resource);","title":""},{"docid":"fdd5e7ad37f36d9015c1f359b20a33c4","score":"0.5750421","text":"protected abstract T transformFile(File file) throws IOException;","title":""},{"docid":"9dbeaeb8941ed42c991a40f4364fe85e","score":"0.57338464","text":"public File instance(String filePath);","title":""},{"docid":"2149ea55527cccf8c3502d42651b5516","score":"0.5639703","text":"public File getOrCreateFile(String name);","title":""},{"docid":"d27eaf70fe18b66ead697342f07d2336","score":"0.55724144","text":"public File getFile() {\n return new File(_filename);\n }","title":""},{"docid":"dc55686075b456883b192244028facaf","score":"0.5538551","text":"public static FieldInputStream create(File inFile) throws IOException {\n FieldInputStream retVal = null;\n Type[] types = Type.values();\n for (int i = 0; i < types.length && retVal == null; i++) {\n if (types[i].matches(inFile))\n retVal = types[i].open(inFile);\n }\n if (retVal == null)\n throw new IOException(\"File '\\\"\" + inFile.getName() + \"\\\" is not a recognized field-input file type.\");\n return retVal;\n }","title":""},{"docid":"a21008fdc615f98af6fc886347aca620","score":"0.5527568","text":"File localFile(FileObject resource, FileObject dir);","title":""},{"docid":"2a514656e40b6fa9dc5be4d30f98d354","score":"0.5527168","text":"File getFile(T path);","title":""},{"docid":"741e28248be3607c0778e7c4a7b7451b","score":"0.54934907","text":"Resp file(File file);","title":""},{"docid":"69e896f7a9af10a17fdc373e9b0e6365","score":"0.5483859","text":"public static File.Builder newBuilder() {\n return new File.Builder();\n }","title":""},{"docid":"bac9204627700f49ab1ac0ca92c85b55","score":"0.5468756","text":"public File() {}","title":""},{"docid":"385f16208588ee99f4a3de6afc42b795","score":"0.54686415","text":"@Deprecated\r\n public File objFile() {\r\n return new File(this.getAbsolutePath());\r\n }","title":""},{"docid":"b8a80c59b4737378db099d67d419d66b","score":"0.5446523","text":"public FileIO getFileIO();","title":""},{"docid":"eaafc2e64fae1dd4c1d9c6f89099769b","score":"0.54152477","text":"FileObject resolve(File file);","title":""},{"docid":"b8fed83b55232a4865a6082d5316c102","score":"0.5408294","text":"public IFile getFile(String name);","title":""},{"docid":"708ee6691cf6c5ceff02ef9e373b4cbe","score":"0.54056287","text":"public T caseFile(File object) {\r\n\t\treturn null;\r\n\t}","title":""},{"docid":"888c8bc88d4ff418ccf3941270f78a57","score":"0.5396914","text":"private FileObject resolveFileObject(String path) {\n FileObject fo = projDir.getFileObject(path);\n if (fo == null) {\n if (File.separatorChar != '/') {\n path = path.replace('/', File.separatorChar);\n if (Utilities.isUnix() && path.charAt(0) != File.separatorChar) {\n path = File.separatorChar + path;\n }\n }\n File f = new File(path);\n if (f.exists()) {\n fo = FileUtil.toFileObject(FileUtil.normalizeFile(f));\n }\n }\n return fo;\n }","title":""},{"docid":"fee645f0e49884e29f43bc0c1da0afbe","score":"0.53617245","text":"public File getFile() {\n // some code goes here\n return file;\n }","title":""},{"docid":"fee645f0e49884e29f43bc0c1da0afbe","score":"0.53617245","text":"public File getFile() {\n // some code goes here\n return file;\n }","title":""},{"docid":"fee645f0e49884e29f43bc0c1da0afbe","score":"0.53617245","text":"public File getFile() {\n // some code goes here\n return file;\n }","title":""},{"docid":"af07c419526ab4fa310771a74e8a7ae0","score":"0.530923","text":"@Override\n\tpublic File getFile() {\n\t\treturn file;\n\t}","title":""},{"docid":"af07c419526ab4fa310771a74e8a7ae0","score":"0.530923","text":"@Override\n\tpublic File getFile() {\n\t\treturn file;\n\t}","title":""},{"docid":"b02ca9a2be7b1473d7125464b361db49","score":"0.5306307","text":"private File createTestFile() {\n return createTestFile(null);\n }","title":""},{"docid":"d2bc26f018abe2465da8911664536007","score":"0.5304145","text":"public static File.Builder newBuilder(File other) {\n return new File.Builder(other);\n }","title":""},{"docid":"4dbb70c3a713ed96c062f54e444c01eb","score":"0.52648765","text":"private File createOutputFile(File inputFile) throws Exception {\n File path = new File(FilenameUtils.getFullPath(inputFile.getPath()));\n String outputFileName = FilenameUtils.removeExtension(inputFile.getName());\n return new File(path, outputFileName);\n }","title":""},{"docid":"9a768b0d508f6407492f12e64fcb4d2d","score":"0.5254047","text":"Optional file(String name) throws IllegalArgumentIOException;","title":""},{"docid":"4ebed35fd713cf6e4af7a7fa4d28f599","score":"0.5206047","text":"public FileObject getFileObject() {\n return fo;\n }","title":""},{"docid":"0acfe05133224cf3c814454856e06991","score":"0.51843345","text":"public File getFile() {\r\n\t\treturn f;\r\n\t}","title":""},{"docid":"53c5450c59901ca1ffea8e22e75dfb4a","score":"0.5180291","text":"public File getFile() {\n return path.toFile();\n }","title":""},{"docid":"6a1ae09496b49aac1171e2de6299b910","score":"0.517524","text":"public static String convertFileToBase64(@NotNull File file){\n\n String base64Representation = null ;\n\n try (FileInputStream fileInputStream = new FileInputStream(file)) {\n byte[] bytes = new byte[(int)file.length()] ;\n int numberOfBytesRead = fileInputStream.read(bytes) ;\n if(numberOfBytesRead != -1){\n\n Base64.Encoder encoder = Base64.getEncoder() ;\n base64Representation = encoder.encodeToString(bytes) ;\n }\n }\n catch (IOException ex){\n\n ex.printStackTrace() ;\n }\n\n return base64Representation ;\n }","title":""},{"docid":"7a39d5cccfbc10abbad8dd702c6cc822","score":"0.51711154","text":"T deserialize(File file) throws IOException, ClassNotFoundException;","title":""},{"docid":"44ffe9c8d08ec08deb18943683c07b18","score":"0.51663846","text":"@SuppressWarnings(\"unchecked\")\n public static T read(File file) {\n\treturn (T) new XStream().fromXML(file);\n }","title":""},{"docid":"2817c321923cbb6371525ae6a565d50e","score":"0.51591605","text":"public File getFile() {\n\t\treturn f;\n\t}","title":""},{"docid":"8fdf12d16aed4c1dce202fd405228878","score":"0.51504517","text":"public FileObject file() {\n return file;\n }","title":""},{"docid":"544eb75cdd5d42dfbf31c4b3cbc9e965","score":"0.51144934","text":"public interface FileStreamFactory {\n OutputStreamWriter fileWriterStream(File file) throws FileNotFoundException;\n InputStreamReader fileReaderStream(File file) throws FileNotFoundException;\n}","title":""},{"docid":"07ce671f27bfde5fb99cea8056af88f0","score":"0.51124287","text":"public static org.bear.api.fs.File.Builder newBuilder(org.bear.api.fs.File other) {\n return new org.bear.api.fs.File.Builder(other);\n }","title":""},{"docid":"4bb56d5216deb54ca3e24e249bc5e1e6","score":"0.51009274","text":"public File getFile() {\n \treturn f;\n }","title":""},{"docid":"735ed6cde34357233c4f188030053b19","score":"0.5091849","text":"@Override\n protected Class getEntityClass() {\n return File.class;\n }","title":""},{"docid":"dbea2c371797a2ee882c4e4261f71a0b","score":"0.5075374","text":"void convert(String filename);","title":""},{"docid":"682502c98f84c02923f820f953911d60","score":"0.506622","text":"public static org.bear.api.fs.File.Builder newBuilder() {\n return new org.bear.api.fs.File.Builder();\n }","title":""},{"docid":"ba7a72ddf9e1c32a1e5ea27b0ff84c60","score":"0.505937","text":"public OptionsBuilder toFile(File toFile) {\n this.options.setToFile(toFile.getPath());\n return this;\n }","title":""},{"docid":"18698d7813a4be31bfb067dce1598464","score":"0.5051136","text":"private File createTestFile(final File f) {\n return assertDoesNotThrow(() -> {\n File file = f;\n if (file == null) {\n file = newFile(tempFolder);\n }\n try (Writer out = new FileWriter(file)) {\n out.write(CONTENT);\n }\n return file;\n });\n }","title":""},{"docid":"8f5774753a275dc06821bdde829bae2e","score":"0.5049669","text":"public FileFun getWrappedFileFun() {\r\n\t\treturn wrappedFileFun;\r\n\t}","title":""},{"docid":"27b4776997d8f722d7c6e5fd3438dab8","score":"0.5047045","text":"public static Object readFromFile(\n File file)\n throws IOException\n {\n BufferedInputStream in = new BufferedInputStream(\n new FileInputStream(file));\n\n // Read the object.\n Object read = null;\n try\n {\n read = read(in);\n }\n finally\n {\n in.close();\n }\n\n return read;\n }","title":""},{"docid":"eb1d0bb2030c24b84794f51968c9581c","score":"0.5037265","text":"public IFile getFile() {\n\t\treturn null;\n\t}","title":""},{"docid":"a640807e516c5d420d5f4c80e49d1a44","score":"0.50273883","text":"public File getFile(String path);","title":""},{"docid":"caccaf27b9b414a1e70184192759eeb3","score":"0.5012062","text":"IFile getModelFile();","title":""},{"docid":"c489a1e15bfa6909e4ced13ff7ba33f0","score":"0.50100297","text":"public static File convertTestResourceIntoFile(Class classToUseForResource, String testResourcePath) {\n if (!testResourcePath.startsWith(\"/\")) {\n testResourcePath = \"/\" + testResourcePath;\n }\n URL url = classToUseForResource.getResource(testResourcePath);\n try {\n return new File(url.toURI());\n } catch (URISyntaxException e) {\n throw new RuntimeException(\"Unable to create URI for \" + url, e);\n }\n }","title":""},{"docid":"d1a0a4679816a0ed52184ca2bc72051c","score":"0.50065833","text":"public File getFile(){\n return file;\n }","title":""},{"docid":"0ac90356e3b0ccb9795e1b00484415c0","score":"0.5005975","text":"public FileConverter getFileConverter(MultipartFile file) {\n FileConverter converter = mimeTable.get(file.getContentType());\n //MetadataWrapper fileMetadata = converter.convertFile(file);\n if (converter == null) {\n Logger.getLogger(\"MIMEResolver\").log(Level.INFO, \"Choosing default file converter\");\n return mimeTable.get(DefaultFileConverterHandle);\n }\n return converter;\n }","title":""},{"docid":"9bb5e603fd25fe3e89b6c4d47e10d966","score":"0.50025195","text":"private File _getFullFile(File f) throws IOException {\n if (PlatformFactory.ONLY.isWindowsPlatform() &&\n ((f.getAbsolutePath().indexOf(\"..\") != -1) || (f.getAbsolutePath().indexOf(\"./\") != -1) ||\n (f.getAbsolutePath().indexOf(\".\\\\\") != -1))) {\n return f.getCanonicalFile();\n }\n return f.getAbsoluteFile();\n }","title":""},{"docid":"61e0075525dd63a0f7f40b8f40e208c1","score":"0.5000387","text":"public File getFile()\n {\n return file;\n }","title":""},{"docid":"27c888ee7780ae38444b2a1c8e0a5c0f","score":"0.4991991","text":"private String streamToTempFile(InputStream in, String filename, Path libDir) throws IOException {\n String[] fnParts = filename.split(\"\\\\.\");\n String suffix = \"\";\n if(fnParts.length > 1) {\n suffix = \".\" + fnParts[fnParts.length - 1];\n }\n\n File libFile = new File(libDir.toAbsolutePath() + File.separator + filename);\n try (\n final FileOutputStream fos = new FileOutputStream(libFile);\n final OutputStream out = new BufferedOutputStream(fos);\n ) {\n int len = 0;\n byte[] buffer = new byte[8192];\n while ((len = in.read(buffer)) > -1)\n out.write(buffer, 0, len);\n }\n\n libFile.deleteOnExit();\n return libFile.getAbsolutePath();\n }","title":""},{"docid":"f66563a9302ded6b2f88eaeb904a972c","score":"0.4982114","text":"public File create(String filePath) throws IOException;","title":""},{"docid":"4f8955e27da5db43214f1dd39230929f","score":"0.49797875","text":"public static File getFileObject(String filePath, String fileName, String extension, CachedFileHandle handle) {\r\n return new File(handle.getCodeGenFilePath() + filePath + File.separator + fileName + extension);\r\n }","title":""},{"docid":"b47172c1bed30bcd2f703a98d64ad41f","score":"0.49785718","text":"@Override\r\n public IFile getFile(String itemName) {\r\n return new MockFile(itemName, this);\r\n }","title":""},{"docid":"4314926aff6baa25f4a3e101727b602b","score":"0.4977921","text":"File getFile(String name);","title":""},{"docid":"98a5eae968f60d7d65189379fe468180","score":"0.497736","text":"protected abstract IFile getPlatformFile(String path, IFile.Flags flags) throws IllegalArgumentException,\n\t\t\tIOException;","title":""},{"docid":"d45d3519fbd9ee71fe08c20bdd84a1a8","score":"0.49767414","text":"public IApiObject deserializeBinaryFileToApiObject(File file) {\n\t\tIApiObject apiObject = null;\n\t\t\n\t\ttry {\n\t\t\tFileInputStream fileInputStream = new FileInputStream(file);\n\t\t\tObjectInputStream objectInputStream = new ObjectInputStream(fileInputStream);\n\t\t\tapiObject = (IApiObject) objectInputStream.readObject();\n\t\t\tobjectInputStream.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"File not found!\", JOptionPane.ERROR_MESSAGE);\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"Class not found!\", JOptionPane.ERROR_MESSAGE);\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"Cannot read file!\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t\t\n\t\treturn apiObject;\n\t}","title":""},{"docid":"a705c02fdff4087b28826df08b92445d","score":"0.49758816","text":"public File file() {\n return _file;\n }","title":""},{"docid":"bdab4bd9d3095e79d0355b606b5ca8f0","score":"0.49675277","text":"@Override\r\n\t\t\tpublic File getFile() throws IOException {\n\t\t\t\treturn null;\r\n\t\t\t}","title":""},{"docid":"bdbf29cf2b5e2df324e880b3637f6266","score":"0.4961556","text":"public static Object loadFromFile(File inputFile) throws IOException {\n\t\ttry (FileInputStream fis = new FileInputStream(inputFile)) {\n\t\t\ttry (XMLDecoder xmlDecoder = new XMLDecoder(fis)) {\n\t\t\t\treturn xmlDecoder.readObject();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"756a9f57ff4f347bc48c813aa72d3394","score":"0.49608463","text":"public File readIt(InputStream stream) throws IOException, UnsupportedEncodingException {\r\n File file = new File(getBaseContext().getFilesDir(), fileName);\r\n FileOutputStream os;\r\n try {\r\n os = openFileOutput(fileName, Context.MODE_PRIVATE);\r\n int read = 0;\r\n byte[] bytes = new byte[1024];\r\n while ((read = stream.read(bytes)) != -1) {\r\n os.write(bytes, 0, read);\r\n }\r\n } catch (IOException e) {\r\n Log.e(\"IOException\", \"error\");\r\n }\r\n finally {\r\n if(stream != null) {\r\n try {\r\n stream.close();\r\n } catch (IOException e) {\r\n Log.e(\"IOException\", \"error\");\r\n }\r\n }\r\n if(stream != null) {\r\n try {\r\n stream.close();\r\n } catch (IOException e) {\r\n Log.e(\"IOException\", \"error\");\r\n }\r\n }\r\n }\r\n return file;\r\n }","title":""},{"docid":"63226baa2011b642e10d26f8a160adb6","score":"0.4957465","text":"public Object deserialise(final File file)\n\t{\n\t\tif (file == null)\n\t\t\tthrow new IllegalArgumentException(\"Null argument passed to deserialise!\");\n\t\tif (!file.exists())\n\t\t\tthrow new IllegalArgumentException(\"File does not exist: \" + file);\n\n\t\tfinal Unmarshaller unmarshaller = getUnmarshaller();\n\n\t\ttry\n\t\t{\n\t\t\tfinal Object obj = unmarshaller.unmarshal(file);\n\n\t\t\tif (obj == null)\n\t\t\t\tthrow new RuntimeException(\"Malformed XML from \" + file);\n\t\t\telse\n\t\t\t\treturn obj;\n\t\t}\n\t\tcatch (JAXBException e)\n\t\t{\n\t\t\tthrow new JAXBRuntimeException(\"deserialisation\", e);\n\t\t}\n\t}","title":""},{"docid":"8f1ff4ce8a89496daf7d33acdfb2cde6","score":"0.49563318","text":"private static Object deserialize(final File f) throws IOException, ClassNotFoundException {\n try (FileInputStream fis = new FileInputStream(f);\n ObjectInputStream in = new ObjectInputStream(fis)) {\n Object obj = in.readObject();\n return obj;\n }\n }","title":""},{"docid":"84d73d82577b7cf441721a9d70fbdf02","score":"0.49543214","text":"public File getFile()\n {\n if (file.exists() && file.isFile())\n {\n return file;\n } \n else\n {\n try\n {\n file = FileUtil.findFile(file.getPath());\n return file;\n } \n catch (FileNotFoundException exc)\n {\n throw new RuntimeException(\"Could not find: \" + file.getPath());\n }\n }\n }","title":""},{"docid":"7649c563f645f5fff30b0dc8b1729f66","score":"0.49542457","text":"public File getFile() {\n return file;\n }","title":""},{"docid":"7649c563f645f5fff30b0dc8b1729f66","score":"0.49542457","text":"public File getFile() {\n return file;\n }","title":""},{"docid":"ab1f7142bc784725725f23a719b2b85d","score":"0.4951216","text":"public interface IFileVisitor {\n\t\tvoid visit(File file);\n\t}","title":""},{"docid":"bae671aaea425f38fc709a4bf379704a","score":"0.4946838","text":"public File getFile()\n {\n return file_;\n }","title":""},{"docid":"b64caa784dff938a6a7dae6c1c406ab8","score":"0.49385434","text":"@Nullable File localPath(FileObject resource);","title":""},{"docid":"3ff0a85436b3ee57c22653a0f1b0da0f","score":"0.4926017","text":"private T fileSerialization2Object(File file, Class clazz) {\n T result;\n String testDataName = file.getName();\n try {\n String extName = FileUtil.extName(testDataName);\n if (!StrUtil.isEmpty(extName)) {\n this.extName = extName;\n }\n if (Constant.SUPPORT_TEST_CASE_FILE_EXT_JSON_NAME.equalsIgnoreCase(this.extName)) {\n result = (T) mapper.readValue(new FileInputStream(file), clazz);\n } else if (Constant.SUPPORT_TEST_CASE_FILE_EXT_YML_NAME.equalsIgnoreCase(this.extName)) {\n JSONObject jsonObject = yaml.load(new FileInputStream(file));\n result = (T) jsonObject.toJavaObject(clazz);\n } else {\n String exceptionMsg = String.format(\"The current format %s is not currently supported,you can implement ITestDataLoader interface and try to override load() method\", extName);\n throw new DefinedException(exceptionMsg);\n }\n if (Objects.isNull(result)) {\n String exceptionMsg = String.format(\"The serialized file %s cannot be empty\", testDataName);\n throw new DefinedException(exceptionMsg);\n }\n } catch (IOException e) {\n String exceptionMsg = String.format(\"Error in file %s serialization,Exception Information: %s\", testDataName, this.extName, e.getMessage());\n throw new DefinedException(exceptionMsg);\n }\n return result;\n }","title":""},{"docid":"f46e0847dab915c96dc97057d7e56d41","score":"0.4924318","text":"public static File getFileStr() {\r\n\t\treturn fileStr;\r\n\t}","title":""},{"docid":"150670a4df939b1693472ee51cfd3ddb","score":"0.49239463","text":"File getFile()\t\t\t\t{ return for_file; }","title":""},{"docid":"4481ab2140558b296a5e5358cf9b2e88","score":"0.49193925","text":"public interface FileGenerator {\n\n InputStreamResource toTxt(FileDto fileDto) throws IOException;\n}","title":""},{"docid":"3f3e08048725cf50bf119b84672adb84","score":"0.49191123","text":"public Storage file() {\n return new Storage(this);\n }","title":""},{"docid":"ef7f81db9f746888fb4dddd48c2671e3","score":"0.49134022","text":"File createFile(String name) throws IllegalArgumentIOException, FileAlreadyExistsException;","title":""},{"docid":"bf699ee3d4585ca6fb488290f413a228","score":"0.49006483","text":"public static File withDefaultType( File file, Type defaultType)\n {\n return\n file != null && FilenameUtils.getExtension( file.getName()).isEmpty()\n ? new File( String.format( \"%s.%s\", file.getPath(), String.valueOf( defaultType).toLowerCase()))\n : file;\n }","title":""},{"docid":"e7c15eee7ae116505796c654846f21a6","score":"0.4892502","text":"public interface IFileManager {\n\t/**\n\t * Returns a file instance for the given name.\n\t * If the file does not yet exist, it is created.\n\t * @param name The name of the file.\n\t * @return A file instance representing the file with provided name.\n\t */\n\tpublic File getOrCreateFile(String name);\n\tpublic File getExistingFile(String name);\n\tpublic void deleteFile(File file);\n}","title":""},{"docid":"132e4ce63bf3430c3adc184d53fc0c81","score":"0.4892173","text":"private File doGetFile()\n {\n if (StringUtils.isBlank(getRelativePath()))\n {\n return root;\n } else\n {\n return new File(root, getRelativePath());\n }\n }","title":""},{"docid":"d6ae15230f54a1cc20056fec8fa0a0ea","score":"0.48843968","text":"@java.lang.Override\r\n\tpublic java.lang.String toString()\r\n\t{\r\n\t\treturn \"StringToFile\";\r\n\t}","title":""},{"docid":"c320e04334b89ebbc05eca6cecb658b4","score":"0.48813063","text":"public File getFile() {\n return this.f;\n }","title":""},{"docid":"8ec84044cd22b186bab5ffc55fc868dc","score":"0.48652604","text":"public static File asFile(final String scriptName) {\n\t\tString fileName = removeAnchorTag(scriptName).replaceAll(\"http:/\", \"FitNesseRoot\");\n\t\t\n\t\treturn new File(fileName);\n\t}","title":""},{"docid":"279251a6971280e4cff64f3f1b811031","score":"0.48647034","text":"@Deprecated\r\n public FileInputStream objFileInputStream() throws FileNotFoundException {\r\n return new FileInputStream(this.getAbsolutePath());\r\n }","title":""},{"docid":"1775b3d6e6203ce3bcf2c8f78d8dd67d","score":"0.48579893","text":"private File getFile(File origine, File f) {\n File base = (origine.getParentFile() == null) ? origine : origine.getParentFile();\n String s2 = base.toURI().relativize(f.toURI()).getPath();\n return new File(this.dest, s2);\n }","title":""},{"docid":"42a2779cc9bd550c22473df3fdc8f30b","score":"0.48490557","text":"public java.lang.String getFile() {\n return file;\n }","title":""},{"docid":"9f4803056f8e681a8be673d68cab9c4e","score":"0.48469698","text":"public File getFile() {\n // some code goes here\n return this.backingFile;\n }","title":""},{"docid":"4f2a40fd0c9e4825d84210da60818fb3","score":"0.4845543","text":"public File bind(Object value) {\n if (value == null || value instanceof File) {\n return (File) value;\n }\n File result = new File(value.toString());\n URI.create(value.toString()); // throws IllegalArgumentException if the given string violates RFC 2396\n return result;\n }","title":""},{"docid":"4d8b66cc860f132f0d554049718d896a","score":"0.48437524","text":"public static File readable(File file) {\n\t\tValidate.notNull(file);\n\t\tif(!file.canRead())\n\t\t\tthrow new ParameterException(\"\\\"\"+file+\"\\\" is not readable!\");\n\t\treturn file;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"ecfbdcefbce3427aba831c7db9533321\",\n \"score\": \"0.6420464\",\n \"text\": \"FileObject getFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c06ecc73b7f738b76842ab55f99a328b\",\n \"score\": \"0.6236026\",\n \"text\": \"File makeFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2977abc9639323927ba0cb502edb5860\",\n \"score\": \"0.61198175\",\n \"text\": \"public static File convertToFile(MultipartFile file) {\\n File convFile = new File(file.getOriginalFilename());\\n try {\\n convFile.createNewFile();\\n FileOutputStream fos = new FileOutputStream(convFile);\\n fos.write(file.getBytes());\\n fos.close();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n return convFile;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f3a4fa9535046903508552d8cf8c5f2\",\n \"score\": \"0.6103755\",\n \"text\": \"File creer();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8c4ceb32a6a57388faab11472fc71a2\",\n \"score\": \"0.59976476\",\n \"text\": \"public final IFile createFileFromInfo(IFileMetadata info) {\\n\\t\\treturn createFileFromInfo(info, IFile.Flags.READONLY);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f7f73f9b045df5bc79af037af9de0d3\",\n \"score\": \"0.5904185\",\n \"text\": \"File file();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16765b23ed2f1be9fc4b4692db8570a6\",\n \"score\": \"0.58336604\",\n \"text\": \"public File getFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e9f19cf6feb86d3c7643481ba87409c\",\n \"score\": \"0.5825514\",\n \"text\": \"public abstract File getFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62941cf77afb03b54a3a65dbfb0d6a0f\",\n \"score\": \"0.5786115\",\n \"text\": \"File getFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7dcda8d9ab4932ab018ba1e1306128\",\n \"score\": \"0.57653946\",\n \"text\": \"FileObject toRealFile(FileObject output) throws ImpossibleOnRemoteFileException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5377bab9c18bfce902bed341647c46ec\",\n \"score\": \"0.5760089\",\n \"text\": \"private File convertMultiPartToFile(MultipartFile file) throws IOException {\\n\\t\\tFile convFile = new File(file.getOriginalFilename());\\n\\t\\tFileOutputStream fos = new FileOutputStream(convFile);\\n\\t\\tfos.write(file.getBytes());\\n\\t\\tfos.close();\\n\\t\\treturn convFile;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76cb5ab53596c7e2618a580d66f93a39\",\n \"score\": \"0.5755162\",\n \"text\": \"File localFile(FileObject resource);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdd5e7ad37f36d9015c1f359b20a33c4\",\n \"score\": \"0.5750421\",\n \"text\": \"protected abstract T transformFile(File file) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9dbeaeb8941ed42c991a40f4364fe85e\",\n \"score\": \"0.57338464\",\n \"text\": \"public File instance(String filePath);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2149ea55527cccf8c3502d42651b5516\",\n \"score\": \"0.5639703\",\n \"text\": \"public File getOrCreateFile(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d27eaf70fe18b66ead697342f07d2336\",\n \"score\": \"0.55724144\",\n \"text\": \"public File getFile() {\\n return new File(_filename);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc55686075b456883b192244028facaf\",\n \"score\": \"0.5538551\",\n \"text\": \"public static FieldInputStream create(File inFile) throws IOException {\\n FieldInputStream retVal = null;\\n Type[] types = Type.values();\\n for (int i = 0; i < types.length && retVal == null; i++) {\\n if (types[i].matches(inFile))\\n retVal = types[i].open(inFile);\\n }\\n if (retVal == null)\\n throw new IOException(\\\"File '\\\\\\\"\\\" + inFile.getName() + \\\"\\\\\\\" is not a recognized field-input file type.\\\");\\n return retVal;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a21008fdc615f98af6fc886347aca620\",\n \"score\": \"0.5527568\",\n \"text\": \"File localFile(FileObject resource, FileObject dir);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a514656e40b6fa9dc5be4d30f98d354\",\n \"score\": \"0.5527168\",\n \"text\": \"File getFile(T path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"741e28248be3607c0778e7c4a7b7451b\",\n \"score\": \"0.54934907\",\n \"text\": \"Resp file(File file);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69e896f7a9af10a17fdc373e9b0e6365\",\n \"score\": \"0.5483859\",\n \"text\": \"public static File.Builder newBuilder() {\\n return new File.Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bac9204627700f49ab1ac0ca92c85b55\",\n \"score\": \"0.5468756\",\n \"text\": \"public File() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"385f16208588ee99f4a3de6afc42b795\",\n \"score\": \"0.54686415\",\n \"text\": \"@Deprecated\\r\\n public File objFile() {\\r\\n return new File(this.getAbsolutePath());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8a80c59b4737378db099d67d419d66b\",\n \"score\": \"0.5446523\",\n \"text\": \"public FileIO getFileIO();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaafc2e64fae1dd4c1d9c6f89099769b\",\n \"score\": \"0.54152477\",\n \"text\": \"FileObject resolve(File file);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8fed83b55232a4865a6082d5316c102\",\n \"score\": \"0.5408294\",\n \"text\": \"public IFile getFile(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"708ee6691cf6c5ceff02ef9e373b4cbe\",\n \"score\": \"0.54056287\",\n \"text\": \"public T caseFile(File object) {\\r\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"888c8bc88d4ff418ccf3941270f78a57\",\n \"score\": \"0.5396914\",\n \"text\": \"private FileObject resolveFileObject(String path) {\\n FileObject fo = projDir.getFileObject(path);\\n if (fo == null) {\\n if (File.separatorChar != '/') {\\n path = path.replace('/', File.separatorChar);\\n if (Utilities.isUnix() && path.charAt(0) != File.separatorChar) {\\n path = File.separatorChar + path;\\n }\\n }\\n File f = new File(path);\\n if (f.exists()) {\\n fo = FileUtil.toFileObject(FileUtil.normalizeFile(f));\\n }\\n }\\n return fo;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fee645f0e49884e29f43bc0c1da0afbe\",\n \"score\": \"0.53617245\",\n \"text\": \"public File getFile() {\\n // some code goes here\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fee645f0e49884e29f43bc0c1da0afbe\",\n \"score\": \"0.53617245\",\n \"text\": \"public File getFile() {\\n // some code goes here\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fee645f0e49884e29f43bc0c1da0afbe\",\n \"score\": \"0.53617245\",\n \"text\": \"public File getFile() {\\n // some code goes here\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af07c419526ab4fa310771a74e8a7ae0\",\n \"score\": \"0.530923\",\n \"text\": \"@Override\\n\\tpublic File getFile() {\\n\\t\\treturn file;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af07c419526ab4fa310771a74e8a7ae0\",\n \"score\": \"0.530923\",\n \"text\": \"@Override\\n\\tpublic File getFile() {\\n\\t\\treturn file;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b02ca9a2be7b1473d7125464b361db49\",\n \"score\": \"0.5306307\",\n \"text\": \"private File createTestFile() {\\n return createTestFile(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2bc26f018abe2465da8911664536007\",\n \"score\": \"0.5304145\",\n \"text\": \"public static File.Builder newBuilder(File other) {\\n return new File.Builder(other);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4dbb70c3a713ed96c062f54e444c01eb\",\n \"score\": \"0.52648765\",\n \"text\": \"private File createOutputFile(File inputFile) throws Exception {\\n File path = new File(FilenameUtils.getFullPath(inputFile.getPath()));\\n String outputFileName = FilenameUtils.removeExtension(inputFile.getName());\\n return new File(path, outputFileName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a768b0d508f6407492f12e64fcb4d2d\",\n \"score\": \"0.5254047\",\n \"text\": \"Optional file(String name) throws IllegalArgumentIOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ebed35fd713cf6e4af7a7fa4d28f599\",\n \"score\": \"0.5206047\",\n \"text\": \"public FileObject getFileObject() {\\n return fo;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0acfe05133224cf3c814454856e06991\",\n \"score\": \"0.51843345\",\n \"text\": \"public File getFile() {\\r\\n\\t\\treturn f;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53c5450c59901ca1ffea8e22e75dfb4a\",\n \"score\": \"0.5180291\",\n \"text\": \"public File getFile() {\\n return path.toFile();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a1ae09496b49aac1171e2de6299b910\",\n \"score\": \"0.517524\",\n \"text\": \"public static String convertFileToBase64(@NotNull File file){\\n\\n String base64Representation = null ;\\n\\n try (FileInputStream fileInputStream = new FileInputStream(file)) {\\n byte[] bytes = new byte[(int)file.length()] ;\\n int numberOfBytesRead = fileInputStream.read(bytes) ;\\n if(numberOfBytesRead != -1){\\n\\n Base64.Encoder encoder = Base64.getEncoder() ;\\n base64Representation = encoder.encodeToString(bytes) ;\\n }\\n }\\n catch (IOException ex){\\n\\n ex.printStackTrace() ;\\n }\\n\\n return base64Representation ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a39d5cccfbc10abbad8dd702c6cc822\",\n \"score\": \"0.51711154\",\n \"text\": \"T deserialize(File file) throws IOException, ClassNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44ffe9c8d08ec08deb18943683c07b18\",\n \"score\": \"0.51663846\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n public static T read(File file) {\\n\\treturn (T) new XStream().fromXML(file);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2817c321923cbb6371525ae6a565d50e\",\n \"score\": \"0.51591605\",\n \"text\": \"public File getFile() {\\n\\t\\treturn f;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fdf12d16aed4c1dce202fd405228878\",\n \"score\": \"0.51504517\",\n \"text\": \"public FileObject file() {\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"544eb75cdd5d42dfbf31c4b3cbc9e965\",\n \"score\": \"0.51144934\",\n \"text\": \"public interface FileStreamFactory {\\n OutputStreamWriter fileWriterStream(File file) throws FileNotFoundException;\\n InputStreamReader fileReaderStream(File file) throws FileNotFoundException;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07ce671f27bfde5fb99cea8056af88f0\",\n \"score\": \"0.51124287\",\n \"text\": \"public static org.bear.api.fs.File.Builder newBuilder(org.bear.api.fs.File other) {\\n return new org.bear.api.fs.File.Builder(other);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bb56d5216deb54ca3e24e249bc5e1e6\",\n \"score\": \"0.51009274\",\n \"text\": \"public File getFile() {\\n \\treturn f;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"735ed6cde34357233c4f188030053b19\",\n \"score\": \"0.5091849\",\n \"text\": \"@Override\\n protected Class getEntityClass() {\\n return File.class;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbea2c371797a2ee882c4e4261f71a0b\",\n \"score\": \"0.5075374\",\n \"text\": \"void convert(String filename);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"682502c98f84c02923f820f953911d60\",\n \"score\": \"0.506622\",\n \"text\": \"public static org.bear.api.fs.File.Builder newBuilder() {\\n return new org.bear.api.fs.File.Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba7a72ddf9e1c32a1e5ea27b0ff84c60\",\n \"score\": \"0.505937\",\n \"text\": \"public OptionsBuilder toFile(File toFile) {\\n this.options.setToFile(toFile.getPath());\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18698d7813a4be31bfb067dce1598464\",\n \"score\": \"0.5051136\",\n \"text\": \"private File createTestFile(final File f) {\\n return assertDoesNotThrow(() -> {\\n File file = f;\\n if (file == null) {\\n file = newFile(tempFolder);\\n }\\n try (Writer out = new FileWriter(file)) {\\n out.write(CONTENT);\\n }\\n return file;\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f5774753a275dc06821bdde829bae2e\",\n \"score\": \"0.5049669\",\n \"text\": \"public FileFun getWrappedFileFun() {\\r\\n\\t\\treturn wrappedFileFun;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27b4776997d8f722d7c6e5fd3438dab8\",\n \"score\": \"0.5047045\",\n \"text\": \"public static Object readFromFile(\\n File file)\\n throws IOException\\n {\\n BufferedInputStream in = new BufferedInputStream(\\n new FileInputStream(file));\\n\\n // Read the object.\\n Object read = null;\\n try\\n {\\n read = read(in);\\n }\\n finally\\n {\\n in.close();\\n }\\n\\n return read;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb1d0bb2030c24b84794f51968c9581c\",\n \"score\": \"0.5037265\",\n \"text\": \"public IFile getFile() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a640807e516c5d420d5f4c80e49d1a44\",\n \"score\": \"0.50273883\",\n \"text\": \"public File getFile(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"caccaf27b9b414a1e70184192759eeb3\",\n \"score\": \"0.5012062\",\n \"text\": \"IFile getModelFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c489a1e15bfa6909e4ced13ff7ba33f0\",\n \"score\": \"0.50100297\",\n \"text\": \"public static File convertTestResourceIntoFile(Class classToUseForResource, String testResourcePath) {\\n if (!testResourcePath.startsWith(\\\"/\\\")) {\\n testResourcePath = \\\"/\\\" + testResourcePath;\\n }\\n URL url = classToUseForResource.getResource(testResourcePath);\\n try {\\n return new File(url.toURI());\\n } catch (URISyntaxException e) {\\n throw new RuntimeException(\\\"Unable to create URI for \\\" + url, e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1a0a4679816a0ed52184ca2bc72051c\",\n \"score\": \"0.50065833\",\n \"text\": \"public File getFile(){\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ac90356e3b0ccb9795e1b00484415c0\",\n \"score\": \"0.5005975\",\n \"text\": \"public FileConverter getFileConverter(MultipartFile file) {\\n FileConverter converter = mimeTable.get(file.getContentType());\\n //MetadataWrapper fileMetadata = converter.convertFile(file);\\n if (converter == null) {\\n Logger.getLogger(\\\"MIMEResolver\\\").log(Level.INFO, \\\"Choosing default file converter\\\");\\n return mimeTable.get(DefaultFileConverterHandle);\\n }\\n return converter;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bb5e603fd25fe3e89b6c4d47e10d966\",\n \"score\": \"0.50025195\",\n \"text\": \"private File _getFullFile(File f) throws IOException {\\n if (PlatformFactory.ONLY.isWindowsPlatform() &&\\n ((f.getAbsolutePath().indexOf(\\\"..\\\") != -1) || (f.getAbsolutePath().indexOf(\\\"./\\\") != -1) ||\\n (f.getAbsolutePath().indexOf(\\\".\\\\\\\\\\\") != -1))) {\\n return f.getCanonicalFile();\\n }\\n return f.getAbsoluteFile();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61e0075525dd63a0f7f40b8f40e208c1\",\n \"score\": \"0.5000387\",\n \"text\": \"public File getFile()\\n {\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27c888ee7780ae38444b2a1c8e0a5c0f\",\n \"score\": \"0.4991991\",\n \"text\": \"private String streamToTempFile(InputStream in, String filename, Path libDir) throws IOException {\\n String[] fnParts = filename.split(\\\"\\\\\\\\.\\\");\\n String suffix = \\\"\\\";\\n if(fnParts.length > 1) {\\n suffix = \\\".\\\" + fnParts[fnParts.length - 1];\\n }\\n\\n File libFile = new File(libDir.toAbsolutePath() + File.separator + filename);\\n try (\\n final FileOutputStream fos = new FileOutputStream(libFile);\\n final OutputStream out = new BufferedOutputStream(fos);\\n ) {\\n int len = 0;\\n byte[] buffer = new byte[8192];\\n while ((len = in.read(buffer)) > -1)\\n out.write(buffer, 0, len);\\n }\\n\\n libFile.deleteOnExit();\\n return libFile.getAbsolutePath();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f66563a9302ded6b2f88eaeb904a972c\",\n \"score\": \"0.4982114\",\n \"text\": \"public File create(String filePath) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f8955e27da5db43214f1dd39230929f\",\n \"score\": \"0.49797875\",\n \"text\": \"public static File getFileObject(String filePath, String fileName, String extension, CachedFileHandle handle) {\\r\\n return new File(handle.getCodeGenFilePath() + filePath + File.separator + fileName + extension);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b47172c1bed30bcd2f703a98d64ad41f\",\n \"score\": \"0.49785718\",\n \"text\": \"@Override\\r\\n public IFile getFile(String itemName) {\\r\\n return new MockFile(itemName, this);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4314926aff6baa25f4a3e101727b602b\",\n \"score\": \"0.4977921\",\n \"text\": \"File getFile(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98a5eae968f60d7d65189379fe468180\",\n \"score\": \"0.497736\",\n \"text\": \"protected abstract IFile getPlatformFile(String path, IFile.Flags flags) throws IllegalArgumentException,\\n\\t\\t\\tIOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d45d3519fbd9ee71fe08c20bdd84a1a8\",\n \"score\": \"0.49767414\",\n \"text\": \"public IApiObject deserializeBinaryFileToApiObject(File file) {\\n\\t\\tIApiObject apiObject = null;\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tFileInputStream fileInputStream = new FileInputStream(file);\\n\\t\\t\\tObjectInputStream objectInputStream = new ObjectInputStream(fileInputStream);\\n\\t\\t\\tapiObject = (IApiObject) objectInputStream.readObject();\\n\\t\\t\\tobjectInputStream.close();\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage(), \\\"File not found!\\\", JOptionPane.ERROR_MESSAGE);\\n\\t\\t} catch (ClassNotFoundException e) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage(), \\\"Class not found!\\\", JOptionPane.ERROR_MESSAGE);\\t\\t\\t\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage(), \\\"Cannot read file!\\\", JOptionPane.ERROR_MESSAGE);\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn apiObject;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a705c02fdff4087b28826df08b92445d\",\n \"score\": \"0.49758816\",\n \"text\": \"public File file() {\\n return _file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdab4bd9d3095e79d0355b606b5ca8f0\",\n \"score\": \"0.49675277\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic File getFile() throws IOException {\\n\\t\\t\\t\\treturn null;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdbf29cf2b5e2df324e880b3637f6266\",\n \"score\": \"0.4961556\",\n \"text\": \"public static Object loadFromFile(File inputFile) throws IOException {\\n\\t\\ttry (FileInputStream fis = new FileInputStream(inputFile)) {\\n\\t\\t\\ttry (XMLDecoder xmlDecoder = new XMLDecoder(fis)) {\\n\\t\\t\\t\\treturn xmlDecoder.readObject();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"756a9f57ff4f347bc48c813aa72d3394\",\n \"score\": \"0.49608463\",\n \"text\": \"public File readIt(InputStream stream) throws IOException, UnsupportedEncodingException {\\r\\n File file = new File(getBaseContext().getFilesDir(), fileName);\\r\\n FileOutputStream os;\\r\\n try {\\r\\n os = openFileOutput(fileName, Context.MODE_PRIVATE);\\r\\n int read = 0;\\r\\n byte[] bytes = new byte[1024];\\r\\n while ((read = stream.read(bytes)) != -1) {\\r\\n os.write(bytes, 0, read);\\r\\n }\\r\\n } catch (IOException e) {\\r\\n Log.e(\\\"IOException\\\", \\\"error\\\");\\r\\n }\\r\\n finally {\\r\\n if(stream != null) {\\r\\n try {\\r\\n stream.close();\\r\\n } catch (IOException e) {\\r\\n Log.e(\\\"IOException\\\", \\\"error\\\");\\r\\n }\\r\\n }\\r\\n if(stream != null) {\\r\\n try {\\r\\n stream.close();\\r\\n } catch (IOException e) {\\r\\n Log.e(\\\"IOException\\\", \\\"error\\\");\\r\\n }\\r\\n }\\r\\n }\\r\\n return file;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63226baa2011b642e10d26f8a160adb6\",\n \"score\": \"0.4957465\",\n \"text\": \"public Object deserialise(final File file)\\n\\t{\\n\\t\\tif (file == null)\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"Null argument passed to deserialise!\\\");\\n\\t\\tif (!file.exists())\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"File does not exist: \\\" + file);\\n\\n\\t\\tfinal Unmarshaller unmarshaller = getUnmarshaller();\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tfinal Object obj = unmarshaller.unmarshal(file);\\n\\n\\t\\t\\tif (obj == null)\\n\\t\\t\\t\\tthrow new RuntimeException(\\\"Malformed XML from \\\" + file);\\n\\t\\t\\telse\\n\\t\\t\\t\\treturn obj;\\n\\t\\t}\\n\\t\\tcatch (JAXBException e)\\n\\t\\t{\\n\\t\\t\\tthrow new JAXBRuntimeException(\\\"deserialisation\\\", e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f1ff4ce8a89496daf7d33acdfb2cde6\",\n \"score\": \"0.49563318\",\n \"text\": \"private static Object deserialize(final File f) throws IOException, ClassNotFoundException {\\n try (FileInputStream fis = new FileInputStream(f);\\n ObjectInputStream in = new ObjectInputStream(fis)) {\\n Object obj = in.readObject();\\n return obj;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84d73d82577b7cf441721a9d70fbdf02\",\n \"score\": \"0.49543214\",\n \"text\": \"public File getFile()\\n {\\n if (file.exists() && file.isFile())\\n {\\n return file;\\n } \\n else\\n {\\n try\\n {\\n file = FileUtil.findFile(file.getPath());\\n return file;\\n } \\n catch (FileNotFoundException exc)\\n {\\n throw new RuntimeException(\\\"Could not find: \\\" + file.getPath());\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7649c563f645f5fff30b0dc8b1729f66\",\n \"score\": \"0.49542457\",\n \"text\": \"public File getFile() {\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7649c563f645f5fff30b0dc8b1729f66\",\n \"score\": \"0.49542457\",\n \"text\": \"public File getFile() {\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab1f7142bc784725725f23a719b2b85d\",\n \"score\": \"0.4951216\",\n \"text\": \"public interface IFileVisitor {\\n\\t\\tvoid visit(File file);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bae671aaea425f38fc709a4bf379704a\",\n \"score\": \"0.4946838\",\n \"text\": \"public File getFile()\\n {\\n return file_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b64caa784dff938a6a7dae6c1c406ab8\",\n \"score\": \"0.49385434\",\n \"text\": \"@Nullable File localPath(FileObject resource);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ff0a85436b3ee57c22653a0f1b0da0f\",\n \"score\": \"0.4926017\",\n \"text\": \"private T fileSerialization2Object(File file, Class clazz) {\\n T result;\\n String testDataName = file.getName();\\n try {\\n String extName = FileUtil.extName(testDataName);\\n if (!StrUtil.isEmpty(extName)) {\\n this.extName = extName;\\n }\\n if (Constant.SUPPORT_TEST_CASE_FILE_EXT_JSON_NAME.equalsIgnoreCase(this.extName)) {\\n result = (T) mapper.readValue(new FileInputStream(file), clazz);\\n } else if (Constant.SUPPORT_TEST_CASE_FILE_EXT_YML_NAME.equalsIgnoreCase(this.extName)) {\\n JSONObject jsonObject = yaml.load(new FileInputStream(file));\\n result = (T) jsonObject.toJavaObject(clazz);\\n } else {\\n String exceptionMsg = String.format(\\\"The current format %s is not currently supported,you can implement ITestDataLoader interface and try to override load() method\\\", extName);\\n throw new DefinedException(exceptionMsg);\\n }\\n if (Objects.isNull(result)) {\\n String exceptionMsg = String.format(\\\"The serialized file %s cannot be empty\\\", testDataName);\\n throw new DefinedException(exceptionMsg);\\n }\\n } catch (IOException e) {\\n String exceptionMsg = String.format(\\\"Error in file %s serialization,Exception Information: %s\\\", testDataName, this.extName, e.getMessage());\\n throw new DefinedException(exceptionMsg);\\n }\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f46e0847dab915c96dc97057d7e56d41\",\n \"score\": \"0.4924318\",\n \"text\": \"public static File getFileStr() {\\r\\n\\t\\treturn fileStr;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"150670a4df939b1693472ee51cfd3ddb\",\n \"score\": \"0.49239463\",\n \"text\": \"File getFile()\\t\\t\\t\\t{ return for_file; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4481ab2140558b296a5e5358cf9b2e88\",\n \"score\": \"0.49193925\",\n \"text\": \"public interface FileGenerator {\\n\\n InputStreamResource toTxt(FileDto fileDto) throws IOException;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f3e08048725cf50bf119b84672adb84\",\n \"score\": \"0.49191123\",\n \"text\": \"public Storage file() {\\n return new Storage(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef7f81db9f746888fb4dddd48c2671e3\",\n \"score\": \"0.49134022\",\n \"text\": \"File createFile(String name) throws IllegalArgumentIOException, FileAlreadyExistsException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf699ee3d4585ca6fb488290f413a228\",\n \"score\": \"0.49006483\",\n \"text\": \"public static File withDefaultType( File file, Type defaultType)\\n {\\n return\\n file != null && FilenameUtils.getExtension( file.getName()).isEmpty()\\n ? new File( String.format( \\\"%s.%s\\\", file.getPath(), String.valueOf( defaultType).toLowerCase()))\\n : file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7c15eee7ae116505796c654846f21a6\",\n \"score\": \"0.4892502\",\n \"text\": \"public interface IFileManager {\\n\\t/**\\n\\t * Returns a file instance for the given name.\\n\\t * If the file does not yet exist, it is created.\\n\\t * @param name The name of the file.\\n\\t * @return A file instance representing the file with provided name.\\n\\t */\\n\\tpublic File getOrCreateFile(String name);\\n\\tpublic File getExistingFile(String name);\\n\\tpublic void deleteFile(File file);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"132e4ce63bf3430c3adc184d53fc0c81\",\n \"score\": \"0.4892173\",\n \"text\": \"private File doGetFile()\\n {\\n if (StringUtils.isBlank(getRelativePath()))\\n {\\n return root;\\n } else\\n {\\n return new File(root, getRelativePath());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6ae15230f54a1cc20056fec8fa0a0ea\",\n \"score\": \"0.48843968\",\n \"text\": \"@java.lang.Override\\r\\n\\tpublic java.lang.String toString()\\r\\n\\t{\\r\\n\\t\\treturn \\\"StringToFile\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c320e04334b89ebbc05eca6cecb658b4\",\n \"score\": \"0.48813063\",\n \"text\": \"public File getFile() {\\n return this.f;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ec84044cd22b186bab5ffc55fc868dc\",\n \"score\": \"0.48652604\",\n \"text\": \"public static File asFile(final String scriptName) {\\n\\t\\tString fileName = removeAnchorTag(scriptName).replaceAll(\\\"http:/\\\", \\\"FitNesseRoot\\\");\\n\\t\\t\\n\\t\\treturn new File(fileName);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"279251a6971280e4cff64f3f1b811031\",\n \"score\": \"0.48647034\",\n \"text\": \"@Deprecated\\r\\n public FileInputStream objFileInputStream() throws FileNotFoundException {\\r\\n return new FileInputStream(this.getAbsolutePath());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1775b3d6e6203ce3bcf2c8f78d8dd67d\",\n \"score\": \"0.48579893\",\n \"text\": \"private File getFile(File origine, File f) {\\n File base = (origine.getParentFile() == null) ? origine : origine.getParentFile();\\n String s2 = base.toURI().relativize(f.toURI()).getPath();\\n return new File(this.dest, s2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42a2779cc9bd550c22473df3fdc8f30b\",\n \"score\": \"0.48490557\",\n \"text\": \"public java.lang.String getFile() {\\n return file;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f4803056f8e681a8be673d68cab9c4e\",\n \"score\": \"0.48469698\",\n \"text\": \"public File getFile() {\\n // some code goes here\\n return this.backingFile;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f2a40fd0c9e4825d84210da60818fb3\",\n \"score\": \"0.4845543\",\n \"text\": \"public File bind(Object value) {\\n if (value == null || value instanceof File) {\\n return (File) value;\\n }\\n File result = new File(value.toString());\\n URI.create(value.toString()); // throws IllegalArgumentException if the given string violates RFC 2396\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d8b66cc860f132f0d554049718d896a\",\n \"score\": \"0.48437524\",\n \"text\": \"public static File readable(File file) {\\n\\t\\tValidate.notNull(file);\\n\\t\\tif(!file.canRead())\\n\\t\\t\\tthrow new ParameterException(\\\"\\\\\\\"\\\"+file+\\\"\\\\\\\" is not readable!\\\");\\n\\t\\treturn file;\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":862,"cells":{"query_id":{"kind":"string","value":"6bb3e2370bf882b1a2e7a10d6994ef07"},"query":{"kind":"string","value":"Test conquering a territory."},"positive_passages":{"kind":"list like","value":[{"docid":"96a74d89c9a151c3b2052729204b22e7","score":"0.72331077","text":"@Test\n\tpublic void conquerTest() {\n\t\tTerritory attackingTerritory = new Territory(\"attacker\", new Point(0, 0));\n\t\tTerritory defendingTerritory = new Territory(\"defender\", new Point(0, 1));\n\t\t\n\t\tPlayer attacker = new Player(\"attacker\");\n\t\tPlayer defender = new Player(\"defender\");\n\t\t\n\t\tattacker.addTerritory(attackingTerritory);\n\t\tattackingTerritory.setOwner(attacker);\n\t\tattackingTerritory.setArmy(10000);\n\t\t\n\t\tdefender.addTerritory(defendingTerritory);\n\t\tdefendingTerritory.setOwner(defender);\n\t\tdefendingTerritory.setArmy(1);\n\t\t\n\t\twhile (defendingTerritory.getArmy() > 0) {\n\t\t\tattacker.attack(attackingTerritory, defendingTerritory, Math.min(3, attackingTerritory.getArmy() - 1), Math.min(2, defendingTerritory.getArmy()));\n\t\t}\n\t\t\n\t\tassertEquals(attacker, defendingTerritory.getOwner());\n\t\tSystem.out.println(\"Successfully test conquering a territory\");\n\t}","title":""}],"string":"[\n {\n \"docid\": \"96a74d89c9a151c3b2052729204b22e7\",\n \"score\": \"0.72331077\",\n \"text\": \"@Test\\n\\tpublic void conquerTest() {\\n\\t\\tTerritory attackingTerritory = new Territory(\\\"attacker\\\", new Point(0, 0));\\n\\t\\tTerritory defendingTerritory = new Territory(\\\"defender\\\", new Point(0, 1));\\n\\t\\t\\n\\t\\tPlayer attacker = new Player(\\\"attacker\\\");\\n\\t\\tPlayer defender = new Player(\\\"defender\\\");\\n\\t\\t\\n\\t\\tattacker.addTerritory(attackingTerritory);\\n\\t\\tattackingTerritory.setOwner(attacker);\\n\\t\\tattackingTerritory.setArmy(10000);\\n\\t\\t\\n\\t\\tdefender.addTerritory(defendingTerritory);\\n\\t\\tdefendingTerritory.setOwner(defender);\\n\\t\\tdefendingTerritory.setArmy(1);\\n\\t\\t\\n\\t\\twhile (defendingTerritory.getArmy() > 0) {\\n\\t\\t\\tattacker.attack(attackingTerritory, defendingTerritory, Math.min(3, attackingTerritory.getArmy() - 1), Math.min(2, defendingTerritory.getArmy()));\\n\\t\\t}\\n\\t\\t\\n\\t\\tassertEquals(attacker, defendingTerritory.getOwner());\\n\\t\\tSystem.out.println(\\\"Successfully test conquering a territory\\\");\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"74587eab3de19cd16c292e0cc9b4e273","score":"0.6462158","text":"@Test\n public void testGetDonorsRegionCanterburyOrOtago() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Canterbury, Otago\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\n assertTrue(foundSnakeFiddleAloe[0]);\n assertTrue(foundSnakeFiddleAloe[1]);\n assertTrue(foundSnakeFiddleAloe[2]);\n } else {\n printCannotRunTests();\n }\n }","title":""},{"docid":"5ac7d668cca5eb2baad96c13b00f81d9","score":"0.6336006","text":"@Test\n\tpublic void testAllTerritoriesOwnBySinglePlayer() { \n\t\tMap.listOfAllTerritories = new ArrayList();\n\t\tMain.activeMap = new Map();\n\t\tMain.activeMap.territories = new ArrayList();\n\t\tMain.players = new ArrayList(); \n\t\tPlayer player = new Player(\"Player1\");\n\t\tMain.players.add(player);\n\t\tTerritory t1 = new Territory(\"Africa\");\n\t\tt1.addNeighbours(\"India,Pakistan\");// add neighbour and add player to owner of neighbour and finally create\n\t\tt1.neighbours.get(0).owner = player; \n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player;\n\t\tMain.activeMap.territories.add(t1); \n\t\tt1 = new Territory(\"Asia\");\n\t\tt1.addNeighbours(\"Nepal,Bangal\");// add neighbour and add player to owner of neighbour and finally create \n\t\tt1.neighbours.get(0).owner = player; \n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player;\n\t\tMain.activeMap.territories.add(t1);\n\t\t\n\t\tSystem.out.println(\"All for one \"+Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t\tassertTrue(Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t}","title":""},{"docid":"f13d38cd24c7d981bc590221dbdc803e","score":"0.62943596","text":"@Test\n\tpublic void testFindTerritory() { \n\t\t//actualTerritory=Map.findTerritory(\"Japan\"); //Territory constructor is already adding it\n\t\tassertEquals(\"Japan\", actualTerritory.name);\n\t}","title":""},{"docid":"3e608b3d779d7b04e3983adcb22d3378","score":"0.6258937","text":"@Test\n public void testGetDonorsRegionCanterbury() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Canterbury\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\n assertTrue(foundSnakeFiddleAloe[0]);\n assertTrue(foundSnakeFiddleAloe[1]);\n assertFalse(foundSnakeFiddleAloe[2]);\n } else {\n printCannotRunTests();\n }\n }","title":""},{"docid":"bf568a8b904df1376ce93739c399da38","score":"0.6242936","text":"@Test\n\tpublic void testAllTerritoriesNotOwnBySinglePlayer() { \n\t\tMap.listOfAllTerritories = new ArrayList();\n\t\tMain.activeMap = new Map();\n\t\tMain.activeMap.territories = new ArrayList();\n\t\tMain.players = new ArrayList();\n\t\t// removed this becas its assigned in randim so giving only ione player and\n\t\t// seeing\n\t\tPlayer player = new Player(\"Player1\");\n\t\tMain.players.add(player);\n\t\tTerritory t1 = new Territory(\"Africa\");\n\t\tt1.addNeighbours(\"India,Pakistan\");// add neighbour and add player to owner of neighbour and finally create\n\t\t// assignedterritories list since player is assighes\n\t\tt1.neighbours.get(0).owner = player;\n\t\t//Player player2 = new Player(\"Player2\");// assigning owner to neighbour\n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player;\n\t\tMain.activeMap.territories.add(t1);\n\t\t\n\t\tt1 = new Territory(\"Asia\");\n\t\tt1.addNeighbours(\"Nepal,Bangal\");// add neighbour and add player to owner of neighbour and finally create\n\t\t// assignedterritories list since player is assighes\n\t\tt1.neighbours.get(0).owner = player;\n\t\tPlayer player2 = new Player(\"Player2\");// assigning owner to neighbour\n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player2;\n\t\tMain.activeMap.territories.add(t1);\n\t\t\n\t\tSystem.out.println(\"All for one \"+Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t\tassertFalse(Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t}","title":""},{"docid":"f24a41df4f63a0d16843b696f0d3ac52","score":"0.61598897","text":"@Test\n public void testGetDonorsRegionOtago() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Otago\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\n assertFalse(foundSnakeFiddleAloe[0]);\n assertFalse(foundSnakeFiddleAloe[1]);\n assertTrue(foundSnakeFiddleAloe[2]);\n } else {\n printCannotRunTests();\n }\n }","title":""},{"docid":"8a0d9d3cacfe430116b8fb745ec6b0eb","score":"0.6140449","text":"@Test\r\n public void attacksProvinceAndLoses() {\r\n g.runInv();\r\n g.loadSave(\"testData1.txt\");\r\n \r\n Territory wa = m.getTerritory(\"West Africa\");\r\n Territory eg = m.getTerritory(\"Egypt\");\r\n \r\n for (int i = 0; i < 9; i++) {\r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n }\r\n assertEquals(GamePhase.OFFENSE_BLUE, g.phase());\r\n assertEquals(9, wa.getTroops());\r\n \r\n DieRollGenerator.rigDice(new int[] {4, 2, 2, 1});\r\n \r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n //Clicks in Egypt, valid\r\n m.handleClick(442, 240);\r\n \r\n assertEquals(8, wa.getTroops());\r\n assertEquals(1, eg.getTroops());\r\n assertEquals(g.getBlue(), wa.getOwner());\r\n assertEquals(g.getRed(), eg.getOwner());\r\n assertEquals(15, g.getBlue().getScore());\r\n assertEquals(7, g.getRed().getScore()); \r\n }","title":""},{"docid":"e3a52f1e0f43be3506b25c89f89d2a9a","score":"0.60462713","text":"@Test\n public void testGetDonorsRegionSouthlandOrNorthland() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Southland, Northland\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleMonsteraJade = findFourDonors(donors, SNAKE, FIDDLE, MONSTERA, JADE);\n assertFalse(foundSnakeFiddleMonsteraJade[0]);\n assertFalse(foundSnakeFiddleMonsteraJade[1]);\n assertTrue(foundSnakeFiddleMonsteraJade[2]);\n assertTrue(foundSnakeFiddleMonsteraJade[3]);\n } else {\n printCannotRunTests();\n }\n }","title":""},{"docid":"e94c5e3a3f011f71f4d81519f59e03f5","score":"0.5899979","text":"public void testGetIsCoordinatingCenter(){\r\n\t\tStudy study = new LocalStudy();\r\n\t\tStudyCoordinatingCenter studyCoordinatingCenter = new StudyCoordinatingCenter();\r\n\t\tHealthcareSite healthcareSite = new LocalHealthcareSite();\r\n\t\tstudyCoordinatingCenter.setHealthcareSite(healthcareSite);\r\n\t\thealthcareSite.setCtepCode(\"NCIID\", true);\r\n\r\n\t\tstudy.getStudyCoordinatingCenters().add(studyCoordinatingCenter);\r\n\r\n\t\tStudyOrganization studyOrganization = new StudySite();\r\n\t\tstudyOrganization.setHealthcareSite(healthcareSite);\r\n\t\tstudyOrganization.setStudy(study);\r\n\r\n\t\tassertTrue(studyOrganization.getIsCoordinatingCenter());\r\n\t}","title":""},{"docid":"fb92fff6db8a92e40b4fafeaeedf064b","score":"0.5896225","text":"public void testGetWinCondition() {\r\n assertEquals(false, f_nowhere.getWinCondition().booleanValue());\r\n assertEquals(true, f_Columbus.getWinCondition().booleanValue());\r\n }","title":""},{"docid":"e49e53a370ddb0de1eb693a958ce8523","score":"0.5850105","text":"@Test\n\tpublic void testeandoAtacar() {\n\t\t\n\t\tAssert.assertEquals( true, jose.atacar(ronaldo));\n\t\t\n\t\tAssert.assertEquals( 190, ronaldo.getSalud(),0);\n\t\tAssert.assertEquals( 90, jose.getEnergia(),0);\n\t}","title":""},{"docid":"5bd3eec0a854489e4a7c4641557a920c","score":"0.5838965","text":"@Test\n public void toBeAngry() {\n Armchair armchair = new Armchair(ArmchairState.NORMAL);\n armchair.breakDown();\n VogonJeltz jeltz = new VogonJeltz(JeltzState.INAGOODMOOD);\n jeltz.become_angry(armchair);\n Assert.assertEquals(JeltzState.ANGRY, jeltz.getJeltzState());\n }","title":""},{"docid":"f0fa116b2e0a566c2da029d70c466de4","score":"0.583333","text":"public void testBeesFar2()\n { \n chamber.beesInChamber();\n assertEquals(false, chamber.beesInChamber()); \n \n }","title":""},{"docid":"d1326c2a1be3e3b68bd2eee4c4656af1","score":"0.57967436","text":"public void testSecureIndianSettlementMissionIgnoreNavalThreat() {\n Game game = ServerTestHelper.startServerGame(getCoastTestMap(plainsType));\n Map map = game.getMap();\n AIMain aiMain = ServerTestHelper.getServer().getAIMain();\n InGameController igc = ServerTestHelper.getInGameController();\n\n // Create player and unit\n ServerPlayer inca = (ServerPlayer) game.getPlayer(\"model.nation.inca\");\n NativeAIPlayer aiInca = (NativeAIPlayer)aiMain.getAIPlayer(inca);\n ServerPlayer dutch = (ServerPlayer) game.getPlayer(\"model.nation.dutch\");\n\n Tile settlementTile = map.getTile(9, 9);\n Tile seaTile = map.getTile(10, 9);\n assertTrue(\"Settlement tile should be land\", settlementTile.isLand());\n assertFalse(\"Galleon tile should be ocean\", seaTile.isLand());\n FreeColTestCase.IndianSettlementBuilder builder\n = new FreeColTestCase.IndianSettlementBuilder(game);\n IndianSettlement camp = builder.player(inca)\n .settlementTile(settlementTile).initialBravesInCamp(10).build();\n Unit galleon = new ServerUnit(game, seaTile, dutch, galleonType);\n int unitsInGalleon = 6;\n for (int i = 0; i < unitsInGalleon; i++) {\n Unit artillery = new ServerUnit(game, settlementTile, dutch,\n artilleryType);\n igc.embarkUnit(dutch, artillery, galleon);\n }\n assertEquals(\"Wrong number of units onboard galleon\", unitsInGalleon,\n galleon.getUnitCount());\n assertEquals(\"Galleon should be full\", 0, galleon.getSpaceLeft());\n\n for (Unit brave : camp.getUnitList()) {\n AIUnit aiUnit = aiMain.getAIUnit(brave);\n assertNotNull(aiUnit);\n aiUnit.setMission(new UnitWanderHostileMission(aiMain, aiUnit));\n assertEquals(\"No enemy units present\",\n UnitWanderHostileMission.class,\n aiUnit.getMission().getClass());\n }\n\n inca.setStance(dutch, Stance.WAR);\n inca.setTension(dutch, new Tension(Tension.Level.HATEFUL.getLimit()));\n assertTrue(\"Indian player should be at war with dutch\",\n inca.getStance(dutch) == Stance.WAR);\n assertEquals(\"Wrong Indian player tension towards dutch\",\n Tension.Level.HATEFUL.getLimit(),\n inca.getTension(dutch).getValue());\n\n aiInca.abortInvalidAndOneTimeMissions();\n aiInca.secureIndianSettlement(camp);\n boolean seeking = false;\n for (Unit brave : inca.getUnits()) {\n AIUnit aiUnit = aiMain.getAIUnit(brave);\n assertNotNull(aiUnit);\n if (aiUnit.getMission() instanceof UnitSeekAndDestroyMission) {\n seeking = true;\n break;\n }\n }\n assertFalse(\"Braves should not pursue naval units\", seeking);\n }","title":""},{"docid":"7494c1fb8d70521eedbf0d564a4874dd","score":"0.57819325","text":"@Test\n\tpublic void testAccusation() {\n\t\tgame.setSolution(\"Frodo\", \"Dagger\", \"The Shire\");\n\t\t\n\t\t// Tests to make sure that the function won't return true person isn't correct\n\t\tassertFalse(game.checkAccusation(new Solution(\"Gollum\", \"Dagger\", \"The Shire\")));\n\t\t\n\t\t// Tests to make sure that the function won't return true weapon isn't correct\n\t\tassertFalse(game.checkAccusation(new Solution(\"Frodo\", \"Wizard Staff\", \"The Shire\")));\n\t\t\t\t\n\t\t// Tests to make sure that the function won't return true room isn't correct\n\t\tassertFalse(game.checkAccusation(new Solution(\"Frodo\", \"Dagger\", \"Rivendell\")));\n\t\t\n\t\t// Verifies that the function will return true when the correct values are put in\n\t\tassertTrue(game.checkAccusation(new Solution(\"Frodo\", \"Dagger\", \"The Shire\")));\n\t}","title":""},{"docid":"4cdb6d49bc24c7756c2b1e8f0ce81c43","score":"0.57741106","text":"public void testBeesFar1()\n { \n\n colony.add(bee1, 1, 3);\n run(colony, 260);\n bee1.act();\n chamber.beesInChamber();\n assertEquals(true, chamber.beesInChamber()); \n \n }","title":""},{"docid":"9280fd7633f12f489816ce264a380133","score":"0.57644767","text":"@Test\n\tpublic void queDetectaConexionUbicacion() {\n\n\t\tString entrada = \"taberna\";\n\t\tConexion conexionDevuelta = analizador.contieneConexion(entrada, this.muelle.getConexiones());\n\t\tAssert.assertEquals(this.surMuelle, conexionDevuelta);\n\t}","title":""},{"docid":"6f094d6d7ab24992b80c304ceb8c0e40","score":"0.5735628","text":"@Test\n public void willAnnoyed() {\n Planet planet = new Planet(PlanetState.NOTDESTOYED, PlanetPopulation.UNINHABITED);\n planet.destroy();\n planet.populate();\n VogonJeltz jeltz = new VogonJeltz(JeltzState.NORMAL);\n jeltz.toBeAnnoyed(planet);\n Assert.assertEquals(JeltzState.ANNOYED, jeltz.getJeltzState());\n }","title":""},{"docid":"2cca20d898b2b8d8de27ea641197f6bb","score":"0.57237685","text":"private Territory botchooseAttackingTerritory() {\n\t\tTelegramBot bot = new TelegramBot();\n\t\tboolean undo = true;\n\t\tTerritory tempTerritory = new Territory();\n\t\twhile(undo) {\n\t\t\tPlayer currentPlayer = players.get(currentPlayerIndex);\n\t\t\ttempTerritory = currentPlayer.botchooseAttackingTerritory(getPlayersTerritories(currentPlayer), territories, this);\n\t\t\tif(tempTerritory == null) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tString confirmationMessage = \"You have chosen to attack from \" + tempTerritory.getTerritoryName() + \" --yes/no\";\n\t\t\tString n = null;\n\t\t\tbot.sendplayer(confirmationMessage);\n\t\t\tbot.cleanmessage();\n\t\t\tint counter = 0;\n\t\t\twhile(bot.getmessage() == null && counter < 30) {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\tcounter++;\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(bot.getmessage()!=null) {\n\t\t\t\tn = bot.getmessage();\n\t\t\t}\n\t\t\tif(n.equals(\"no\")) {\n\t\t\t\tif(currentPlayer.getCredits() > 0){\n\t\t\t\t\tcurrentPlayer.useCredits(currentPlayer.getCredits()-1);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\t//JOptionPane.showMessageDialog(null, \"You do not have enough credits to undo your action.\");\n\t\t\t\t\tString inputMessage = \"You do not have enough credits to undo your action.\";\n\t\t\t\t\tbot.sendplayer(inputMessage);\n\t\t\t\t\ttimedAcknowledgement(inputMessage);\n\t\t\t\t\tundo = false;\n\t\t\t\t}\n\t\t\t} else if (n.equals(\"yes\")) {\n\t\t\t\tundo = false;\n\t\t\t}\n\t\t}\n\t\treturn tempTerritory;\n\t}","title":""},{"docid":"1aabb79fc684bcc98d0e8d8bc96c247a","score":"0.57158214","text":"@Test\n\tpublic void testNotSuicide() {\n\t\tGameStatus status = new GameStatus(model, alien);\n\t\tnew Attack(status).attackMove();\n\t\tassertTrue(alien.isInGame());\n\t}","title":""},{"docid":"3a0043b20370ebeda00ff18acf8dc5e8","score":"0.5707072","text":"@Test\n public void companyComplete() {\n Organization c1 = new Organization(\"Google\", 100);\n assertTrue((c1.getOrgName() !=null) && c1.getEmployeeCount() > 0 );\n\n }","title":""},{"docid":"cf14085020c0d807a31d031bd7ddaf11","score":"0.57012624","text":"public void testGetStereotypeCompartment() {\n assertNotNull(\"Test method for 'getStereotypeCompartment()' failed.\", transition.getStereotypeCompartment());\n }","title":""},{"docid":"6179f8816e291375cab91392f1ad9cef","score":"0.5697259","text":"public void testGetContestPrizeAccuracy2() throws Exception {\n ContestPrize contestPrize = bean.getContestPrize(new TCSubject(1), 1, false);\n assertEquals(\"Expects the contest prize is returned properly.\", 1, contestPrize.getContestId());\n assertFalse(\"Expects the contest prize is returned properly.\", contestPrize.isStudio());\n }","title":""},{"docid":"ab25c059a54ded833cc12c32a1db7445","score":"0.56923854","text":"void attackTerritory(Territory from, Territory to, int troopCount) throws NotYourTerritoryException, NotANeigbourException, NotEnoughTroopsException;","title":""},{"docid":"4d3d75ea94b0e75e2dfd251c2daa7e5d","score":"0.5690519","text":"@Test //Trying to attack nothing is ignored\r\n public void userSwitchesAttackTargetFromNothingToValid() {\r\n g.runInv();\r\n g.loadSave(\"testData3.txt\");\r\n \r\n Territory wa = m.getTerritory(\"West Africa\");\r\n Territory eg = m.getTerritory(\"Egypt\");\r\n Territory ng = m.getTerritory(\"New Guinea\");\r\n \r\n for (int i = 0; i < 8; i++) {\r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n }\r\n assertEquals(GamePhase.OFFENSE_BLUE, g.phase());\r\n assertEquals(10, wa.getTroops());\r\n assertEquals(2, eg.getTroops());\r\n assertEquals(2, ng.getTroops());\r\n \r\n DieRollGenerator.rigDice(new int[] {2, 6, 4, 4, 1});\r\n \r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n //Clicks in ocean, invalid\r\n m.handleClick(0, 250);\r\n //Clicks in Egypt, valid\r\n m.handleClick(442, 240);\r\n \r\n assertEquals(9, wa.getTroops());\r\n assertEquals(1, eg.getTroops());\r\n assertEquals(2, ng.getTroops());\r\n assertEquals(g.getBlue(), wa.getOwner());\r\n assertEquals(g.getRed(), eg.getOwner());\r\n assertEquals(0, g.getBlue().getScore());\r\n assertEquals(0, g.getRed().getScore()); \r\n }","title":""},{"docid":"932855b3ce72a5839143a64190cafba7","score":"0.56773007","text":"@Override\n\t\tpublic boolean goalTest() {\n\t\t\treturn ((this.state[0] == goalm) && (this.state[1] == goalc) && (this.state[2] == goalb)); \n\t\t}","title":""},{"docid":"f410a67871b6f9f81c2ce4e6e71a4e37","score":"0.5668324","text":"private boolean csDoAssignedWork(Random random, ChangeSet cs) {\n ServerPlayer owner = (ServerPlayer) getOwner();\n \n switch (getState()) {\n case IMPROVING:\n // Has the improvement been completed already? Do nothing.\n TileImprovement ti = getWorkImprovement();\n if (ti.isComplete()) {\n setState(UnitState.ACTIVE);\n return false;\n }\n \n // Otherwise do work\n int amount = (getType().hasAbility(\"model.ability.expertPioneer\"))\n ? 2 : 1;\n int turns = ti.getTurnsToComplete();\n if ((turns -= amount) < 0) turns = 0;\n ti.setTurnsToComplete(turns);\n setWorkLeft(turns);\n break;\n case TO_AMERICA:\n if (getOwner().isREF()) { // Shorter travel to America for the REF\n setWorkLeft(0);\n break;\n }\n // Fall through\n default:\n setWorkLeft(getWorkLeft() - 1);\n break;\n }\n \n if (getWorkLeft() == 0) {\n setWorkLeft(-1);\n switch (getState()) {\n case TO_EUROPE:\n logger.info(toString() + \" arrives in Europe\");\n if (getTradeRoute() != null) {\n setMovesLeft(0);\n setState(UnitState.ACTIVE);\n return false;\n }\n Europe europe = owner.getEurope();\n cs.addMessage(See.only(owner),\n new ModelMessage(ModelMessage.MessageType.DEFAULT,\n \"model.unit.arriveInEurope\",\n europe, this)\n .add(\"%europe%\", europe.getNameKey()));\n setState(UnitState.ACTIVE);\n break;\n case TO_AMERICA:\n logger.info(toString() + \" arrives in America\");\n csMove(getVacantEntryLocation(random), random, cs);\n break;\n case FORTIFYING:\n setState(UnitState.FORTIFIED);\n break;\n case IMPROVING:\n csImproveTile(random, cs);\n return true;\n default:\n logger.warning(\"Unknown work completed, state=\" + getState());\n setState(UnitState.ACTIVE);\n break;\n }\n }\n return false;\n }","title":""},{"docid":"cd16f0b5d41e109698f9ddcf35b07ef5","score":"0.565076","text":"@Test\r\n\tpublic void canPutInside1(){\n\t\tChest c = new Chest(null, 0, 0, \"\", \"\",false,null, true, new ArrayList());\r\n\t\tWallet w = new Wallet(null, 0, 0, null, null);\r\n\t\tassertTrue(c.canPutInside(w));\r\n\t}","title":""},{"docid":"a203c88cbddda416522c2654ac24ded5","score":"0.5645085","text":"public void testSting()\n { \n bee1 = new Bee();\n colony.add(bee1, 5, 4);\n harant = new HarvesterAnt();\n colony.add(harant, 4, 4);\n run(colony, 260);\n bee1.act();\n assertEquals(0, harant.getHealth()); \n assertEquals(3, bee1.getHealth()); \n \n }","title":""},{"docid":"f7e850150c8541d0bb539090b9251a07","score":"0.56401145","text":"@Test\n public final void testBranchCoverageAdmin() {\n account.setBanned(false);\n account.setLocked(false);\n account.setAdmin(true);\n assertEquals(\"Administrator\", account.getStatus());\n }","title":""},{"docid":"410c8e957333fb24caeb2bfedcd606c4","score":"0.56360096","text":"@Test\n public void testFortifyByC() {\n \n Map territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \"30\", 30);\n Map territoryB = performDeltaOnTerritory(getTerritories(PLAYER_B), \"15\", 1);\n \n Map state = ImmutableMap.builder()\n .put(GameResources.PHASE, GameResources.FORTIFY)\n .put(PLAYER_A, ImmutableMap.of(\n GameResources.CARDS, ImmutableList.of(0),\n GameResources.TERRITORY, getTerritories(PLAYER_A),\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\n .put(PLAYER_B, ImmutableMap.of(\n GameResources.CARDS, ImmutableList.of(1),\n GameResources.TERRITORY, territoryB,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\n .put(PLAYER_C, ImmutableMap.of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\n .put(GameResources.TURN_ORDER, ImmutableList.of(CID, BID, AID))\n .put(GameResources.DECK, getCardsInRange(2, 43))\n .build();\n \n territoryC = performDeltaOnTerritory(territoryC, \"30\", -2);\n territoryC = performDeltaOnTerritory(territoryC, \"38\", 2);\n \n List fortifyTerritoryOfC = ImmutableList.of(\n new SetTurn(BID),\n new Set(PLAYER_C, ImmutableMap.of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n\n // Check valid move\n assertMoveOk(move(CID, state, fortifyTerritoryOfC));\n\n // Check invalid move - wrong turn, from invalid states\n assertHacker(move(BID, state, fortifyTerritoryOfC));\n assertHacker(move(CID, GameResources.EMPTYSTATE, fortifyTerritoryOfC));\n assertHacker(move(CID, GameResources.NONEMPTYSTATE, fortifyTerritoryOfC));\n\n territoryB = performDeltaOnTerritory(territoryB, \"15\", -1);\n territoryB = performDeltaOnTerritory(territoryB, \"16\", 1);\n \n List fortifyTerritoryOfBInWrongTurn = ImmutableList.of(\n new SetTurn(BID),\n new Set(PLAYER_B, ImmutableMap.of(\n GameResources.CARDS, ImmutableList.of(1),\n GameResources.TERRITORY, territoryB,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n \n assertHacker(move(CID, state, fortifyTerritoryOfBInWrongTurn));\n \n territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \"30\", -5);\n territoryC = performDeltaOnTerritory(territoryC, \"38\", 2);\n territoryC = performDeltaOnTerritory(territoryC, \"41\", 3);\n\n List fortifyTerritoryOfCWithInvalidMove = ImmutableList.of(\n new SetTurn(BID),\n new Set(PLAYER_C, ImmutableMap.of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n\n assertHacker(move(CID, state, fortifyTerritoryOfCWithInvalidMove));\n\n territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \"30\", -5);\n territoryC = performDeltaOnTerritory(territoryC, \"38\", 2);\n\n List fortifyTerritoryOfCWithIncorrectNumberOfUnits = ImmutableList.of(\n new SetTurn(BID),\n new Set(PLAYER_C, ImmutableMap.of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n\n assertHacker(move(CID, state, fortifyTerritoryOfCWithIncorrectNumberOfUnits));\n }","title":""},{"docid":"ef00ec9c092142a0ee5677a235f732c4","score":"0.5632053","text":"public void testIsTravelAllowedToward() {\r\n for (final Navigation d : Navigation.values()) {\r\n assertFalse(f_nowhere.isTravelAllowedToward(d));\r\n }\r\n for (final Navigation d : Navigation.values()) {\r\n if (d == Navigation.EAST) {\r\n assertTrue(f_Dayton.isTravelAllowedToward(d));\r\n } else {\r\n assertFalse(f_Dayton.isTravelAllowedToward(d));\r\n }\r\n }\r\n }","title":""},{"docid":"c5e13fb9983ba804f18fe430c3c7a549","score":"0.56209874","text":"public void testGetTravelDestinationToward() {\r\n for (final Navigation d : Navigation.values()) {\r\n assertNull(f_nowhere.getTravelDestinationToward(d));\r\n }\r\n for (final Navigation d : Navigation.values()) {\r\n if (d == Navigation.EAST) {\r\n assertEquals(f_Dayton.getTravelDestinationToward(d), f_Columbus);\r\n } else {\r\n assertNull(f_Dayton.getTravelDestinationToward(d));\r\n }\r\n }\r\n }","title":""},{"docid":"64dc8c929086315c7d224fd1f1b91663","score":"0.5605535","text":"@Test\r\n\tpublic void testVacantLandWithCharity() {\r\n\t\t//creating object using default constructor\r\n\t\tVacantLand res= new VacantLand();\r\n\t\tres.setCapitalImprovedValue(400000);\r\n\t\t//setting the charity of owner to true\r\n\t\tres.getOwner().setCharity(true);\r\n\t\tres.setUpExtraServices();\r\n\t\tdouble value=res.calculateRates();\r\n\t\t//validating that rate calculated is correct with 20% discount\r\n\t\tassertEquals(value, 478.0-478.0*0.20, 0.0001);\r\n\t}","title":""},{"docid":"6f08047e03752f30f2cbebb4162f57e8","score":"0.5604889","text":"@Test\n public void testIsEstadoCandidaturasAtribuidas() {\n System.out.println(\"isEstadoCandidaturasAtribuidas\");\n Exposicao m_e = new Exposicao ();\n ExposicaoCandidaturaAtribuidaStandState instance= new ExposicaoCandidaturaAtribuidaStandState (m_e) ;\n \n boolean expResult = true;\n boolean result = instance.isEstadoCandidaturasAtribuidas();\n assertEquals(expResult, result);\n }","title":""},{"docid":"568a27ea8840ee870e64a63ecc71d32a","score":"0.55898935","text":"public void testAntInjure()\n { \n WallAnt want = new WallAnt();\n colony.add(want, 5, 5);\n colony.add(bee1, 6, 5);\n run(colony, 100);\n bee1.act();\n assertEquals(3, want.getHealth()); \n \n }","title":""},{"docid":"43d4caaf9e5848965c6ecae7f2fdce2a","score":"0.55763805","text":"@Test\r\n\tpublic void testTollLocation1() {\n\t\tSystem.out.println(\"*** testTollLocation1\");\r\n \tint[][] graph = {\r\n {0, 1, 1, 5}, // 0 is source\r\n {INF, 0, 1, 1},\r\n {INF, INF, 0, 1},\r\n {INF, INF, INF, 0}, // 3 is destination\r\n };\r\n \t\r\n \t\r\n TollLocation tollLocation = new TollLocation();\r\n Map tollMap = new HashMap();\r\n boolean doesSolutionExist = tollLocation.findTollLocations(graph, tollMap);\r\n assertTrue(!doesSolutionExist);\r\n\t}","title":""},{"docid":"3bbe2af99192025f84deeb4a953c6228","score":"0.55761486","text":"@Test\n public void testGetAssistants() {\n System.out.println(\"getAssistants()\");\n \n controllingCreator = new ControllingCreator(employment.getYear(),\n employment.getMonth(), costUnit);\n \n ControllingAssistant expectedAssistant = new ControllingAssistant();\n expectedAssistant.setFirstName(assistant.getFirstName());\n expectedAssistant.setLastName(assistant.getLastName());\n new BalanceHelper();\n expectedAssistant.setCosts(0);\n expectedAssistant.setFlagged(true);\n \n assertEquals(controllingCreator.getAssistants(false).get(0).toString(),\n expectedAssistant.toString());\n }","title":""},{"docid":"0fc2f393e607cb09d450d7741e1cf956","score":"0.5572357","text":"@Test\n public void notToBeAngry() {\n Armchair armchair = new Armchair(ArmchairState.NORMAL);\n armchair.creak();\n VogonJeltz jeltz = new VogonJeltz(JeltzState.NORMAL);\n jeltz.become_angry(armchair);\n Assert.assertNotEquals(JeltzState.ANGRY, jeltz.getJeltzState());\n }","title":""},{"docid":"e80277b5ab03a8710db49e578750c89c","score":"0.55714315","text":"@Test\n public void getParentalControlStatusTest(){\n\n testTarget.turnParentalControlOn(false);\n assertEquals(\"Parental Control Mode Off\", testTarget.getParentalControlStatus());\n assertEquals(false, testTarget.getParentalControlModeOn());\n\n testTarget.turnParentalControlOn(true);\n assertEquals(\"Parental Control Mode On\", testTarget.getParentalControlStatus());\n assertEquals(true, testTarget.getParentalControlModeOn());\n }","title":""},{"docid":"ceb3203b95f3157fc6dd000cc866c690","score":"0.55624545","text":"void assertGameSituation(int treasury, int player1_cards, int player1_coins, int player2_cards, int player2_coins) {\n Assertions.assertEquals(treasury, game.theTable().treasury().coins());\n Assertions.assertEquals(11, game.theTable().courtDeck().cards().size());\n\n Assertions.assertEquals(player1_cards, game.theTable().player(1).influenceDeck().cards().size());\n Assertions.assertEquals(player1_coins, game.theTable().player(1).wallet().coins());\n\n Assertions.assertEquals(player2_cards, game.theTable().player(2).influenceDeck().cards().size());\n Assertions.assertEquals(player2_coins, game.theTable().player(2).wallet().coins());\n }","title":""},{"docid":"36bd8af90ef419ea94e67ee37a1a58b4","score":"0.5559583","text":"@Test\n public final void testBranchCoverageNone() {\n account.setBanned(false);\n account.setLocked(false);\n account.setAdmin(false);\n assertEquals(\"Active\", account.getStatus());\n }","title":""},{"docid":"38fd549d80c3ff59df679036718ec152","score":"0.55583197","text":"private void assertTrue(ContaCorrente instance2) {\n\r\n\t\t}","title":""},{"docid":"1a50f63158ea649f2a7c951fc6c6bb38","score":"0.55575174","text":"@Test\r\n\tpublic void testHospitalCharity() {\r\n\t\t//creating object using default constructor\r\n\t\tHospital res= new Hospital();\r\n\t\tres.setCapitalImprovedValue(400000);\r\n\t\tres.getOwner().setCharity(false);\r\n\r\n\t\t//calculating extra service charge\r\n\t\tres.setUpExtraServices();\r\n\t\tdouble value=res.calculateRates();\r\n\t\tassertEquals(value, 4068, 0.0001);\r\n\t}","title":""},{"docid":"4ecc32caed7d8aff5839dff9ecf69d22","score":"0.5547897","text":"@Test\r\n public void testConfirmaUtilizador() {\r\n System.out.println(\"confirmaUtilizador\");\r\n Utilizador u = new Utilizador();\r\n RegistoUtilizadores instance = new RegistoUtilizadores();\r\n boolean expResult = true;\r\n boolean result = instance.confirmaUtilizador(u);\r\n assertEquals(expResult, result);\r\n }","title":""},{"docid":"57b310e299b4b4217b04902305fcfdca","score":"0.55431056","text":"public void testGetContestPrizeAccuracy1() throws Exception {\n ContestPrize contestPrize = bean.getContestPrize(new TCSubject(1), 1, true);\n assertEquals(\"Expects the contest prize is returned properly.\", 1, contestPrize.getContestId());\n assertTrue(\"Expects the contest prize is returned properly.\", contestPrize.isStudio());\n }","title":""},{"docid":"fdf08d126046e78fa75fb709ffac78dc","score":"0.5541539","text":"public final void testClientBuys() {\n assertFalse(client1.hasADose());\n\n dealer.sell();\n\n assertTrue(\"Client should have a dose because\", client1.hasADose());\n }","title":""},{"docid":"25f1d4abde52a62c57ff06dfaf974e7a","score":"0.5539486","text":"@Test public void performSpecialAttackTest2(){\n String[] gSpecialAtks = {\"Leaf Blade\", \"Petal Blizzard\", \"Power Whip\",\"Seed Bomb\", \"Solar Beam\"};\n Pokemon p = new Bulbasaur();\n Pokemon p2 = new Squirtle();\n String pSA = p.getSpecialAttack();\n int i = 0;\n boolean pAtkGrass = false;\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\n i++;\n }\n if(pAtkGrass){\n Assert.assertEquals(\"String output from special attack on Water Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Squirtle\\n It was super effective!\",\n p.performSpecialAttack(p2));\n }else{\n Assert.assertEquals(\"String output from special attack on Water Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Squirtle\", p.performSpecialAttack(p2));\n }\n }","title":""},{"docid":"ce0b92584cbebb538c563ddb2d86e605","score":"0.5536643","text":"public void testGetContestScheduleAccuracy2() throws Exception {\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 1, false);\n assertEquals(\"Expects the contestSchedule is returned properly.\", 1, contestSchedule.getContestId());\n assertFalse(\"Expects the contestSchedule is returned properly.\", contestSchedule.isStudio());\n }","title":""},{"docid":"8a94376147943236c57dcce52add99fa","score":"0.55229867","text":"@Test public void performSpecialAttackTest3(){\n String[] gSpecialAtks = {\"Leaf Blade\", \"Petal Blizzard\", \"Power Whip\",\"Seed Bomb\", \"Solar Beam\"};\n Pokemon p = new Bulbasaur();\n Pokemon p2 = new Charmander();\n String pSA = p.getSpecialAttack();\n int i = 0;\n boolean pAtkGrass = false;\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\n i++;\n }\n if(pAtkGrass){\n Assert.assertEquals(\"String output from special attack on Fire Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Charmander\\n It was not very effective.\",\n p.performSpecialAttack(p2));\n }else{\n Assert.assertEquals(\"String output from special attack on Fire Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Charmander\", p.performSpecialAttack(p2));\n }\n }","title":""},{"docid":"27d56412d9bec9eb1b846ef089557f8c","score":"0.5511856","text":"public void testChestIndrawingDangerSign() {\n \t// 1. Execute the Classification rule engine to determine patient classifications\n \t// 2. Execute the Treatment rule engine to determine patient treatments\n \texecuteRuleEngines();\n \n // 3. Has the correct number of classifications been determined?\n assertEquals(\"the actual number of patient classifications does not match the expected number\",\n \t\t 1, CcmRuleEngineUtilities.calculateStandardClassificationNumber(getPatientAssessment().getDiagnostics()));\n \n // 4. Has the correct classification been determined?\n assertEquals(\"incorrect classification assessed\", true, CcmRuleEngineUtilities.classificationPresent(getPatientAssessment().getDiagnostics(), \"Chest Indrawing\"));\n \n // 5. Have the correct number of treatments been determined?\n assertEquals(\"the actual number of patient treatments does not match the expected number\",\n \t\t 7, CcmRuleEngineUtilities.calculateTotalTreatmentNumber(getPatientAssessment().getDiagnostics()));\n \n // 6. Have the correct treatments been determined?\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"REFER URGENTLY to health facility\"));\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Explain why child needs to go to health facility\"));\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Advise to give fluids and continue feeding\"));\n \n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \n \t\t\"Give first dose of oral antibiotic (Cotrimoxazole adult tablet - 80/400) Age 12 months up to 5 years: 1 tablet\"));\n \n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Advise to keep child warm, if 'child is NOT hot with fever'\"));\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Write a referral note\"));\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Arrange transportation and help solve other difficulties in referral\"));\n }","title":""},{"docid":"ad0d74dd4db298224d69e4f08cd4210f","score":"0.55084795","text":"@Test\r\n\tpublic\tvoid\ttestBattle()\t{\r\n\t\tOverallGame testGame\t=\tnew\tOverallGame();\r\n\t\ttestGame.setGameWindow(new\tgameWindow(testGame));\r\n\t\tGame3\t\ttestGame3\t=\tnew\tGame3(testGame);\r\n\t\ttestGame3.getTimer().stop();\r\n\t\ttestGame3.addPlant(0, 3, \"Mangrove\");\r\n\t\ttestGame3.getEnemies().set(0, new Runoff(0,4*Game3.scalor+Game3.xOffset));\r\n\t\ttestGame3.getEnemies().get(0).grow();\r\n\t\ttestGame3.getPlants().get(0).setStrength(testGame3.getEnemies().get(0).getHealth().get(1));\r\n\t\t//First\t\tTest\r\n\t\tint health\t=\t150;\r\n\t\ttestGame3.battle(testGame3.getPlants().get(0), testGame3.getEnemies().get(0));\r\n\t\tassertTrue(health\t== testGame3.getEnemies().get(0).getHealth().get(0));\r\n\t\t//Second\tTest\r\n\t\tassertTrue(testGame3.getEnemies().get(0).hasDied\t==\ttrue);\r\n\t\tassertTrue(testGame3.getEnemies().get(0).getLength()\t==\t1);\r\n\t\t//Third\t\tTest\r\n\t\tassertTrue(testGame3.getEnemies().get(0).getFront() != 4*Game3.scalor+Game3.xOffset);\r\n\t\t//Fourth\tTest\r\n\t\ttestGame3.getEnemies().get(0).setStrength(testGame3.getPlants().get(0).getHealth());\r\n\t\ttestGame3.battle(testGame3.getPlants().get(0), testGame3.getEnemies().get(0));\r\n\t\tassertTrue(testGame3.getPlants().size()\t==\t0);\r\n\t\tassertTrue(testGame3.getEnemies().get(0).getLength()\t==\t0);\r\n\t}","title":""},{"docid":"b6e8de99de2b4f64a3978524921ca7b4","score":"0.5505628","text":"@Test\n public void testSameCity() {\n Customer customer1 = customerRepository.findByName(\"Beethoven\");\n //customer live in jerusalem\n Customer customer2 = customerRepository.findByName(\"Mozart\");\n //restaurant in jerusalem\n Restaurant restaurant = restaurantRepository.findByName(\"meat\");\n Date deliveryTime = new Date(\"10/23/2021 10:00:00\");\n\n Delivery delivery1 = waltService.createOrderAndAssignDriver(customer1, restaurant, deliveryTime);\n Delivery delivery2 = waltService.createOrderAndAssignDriver(customer2, restaurant, deliveryTime);\n\n assertNull(delivery1);\n assertNotNull(delivery2);\n assertEquals(delivery2.getDriver().getCity().getName(), delivery2.getRestaurant().getCity().getName());\n }","title":""},{"docid":"224a563ee71e05f86ae2ff6071caf0ef","score":"0.55003554","text":"public void testRentedAndRenturned()\r\n {\r\n //test is rented\r\n adapter.rented();\r\n assertEquals(true, adapter.isRented());\r\n //test not rented\r\n adapter.returned();\r\n assertEquals(false, adapter.isRented());\r\n }","title":""},{"docid":"8c12444f0387edef2a08fc46dadfb9b2","score":"0.54982704","text":"@Test\n public void testWithdraw()\n {\n Bank myBank = new Bank(\"Bank of America\");\n Money myBalance = new Money(400,50);\n Account myAccount = new Account(\"Haidar\", 1052382734, myBalance);\n myBank.addAccount(myAccount);\n Money myWithdraw = new Money(200,50);\n myBank.withdraw(1052382734, myWithdraw.getTotalCents());\n myAccount.deposit(myWithdraw.getTotalCents());\n\n assertEquals(\"Error in search\", myAccount, myBank.search(1052382734));\n\n }","title":""},{"docid":"49540e5bba19bb57dc4ad3b5e263f0b4","score":"0.5485016","text":"@Test\n\tpublic void queDetectaConexionPuntoCardinal() {\n\n\t\tString entrada = \"sur\";\n\t\tConexion conexionDevuelta = analizador.contieneConexion(entrada, this.muelle.getConexiones());\n\t\tAssert.assertEquals(this.surMuelle, conexionDevuelta);\n\t}","title":""},{"docid":"6b70daf4f4b7154a4ef69aab4d16a208","score":"0.5481129","text":"@Test public void performSpecialAttackTest1(){\n String[] gSpecialAtks = {\"Leaf Blade\", \"Petal Blizzard\", \"Power Whip\",\"Seed Bomb\", \"Solar Beam\"};\n Pokemon p = new Bulbasaur();\n Pokemon p2 = new Bulbasaur();\n String pSA = p.getSpecialAttack();\n int i = 0;\n boolean pAtkGrass = false;\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\n i++;\n }\n if(pAtkGrass){\n Assert.assertEquals(\"String output from special attack on Bulbasaur is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Bulbasaur\\n It was not very effective.\",\n p.performSpecialAttack(p2));\n }else{\n Assert.assertEquals(\"String output from special attack on Bulbasaur is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Bulbasaur\\n It was super effective!\", p.performSpecialAttack(p2));\n }\n }","title":""},{"docid":"febf37445589b8683673f6dc9abe198e","score":"0.54763967","text":"@Test\n public void testEstAutoSteril() {\n Case[][] plateau = Utils.plateauDepuisTexte(PLATEAU2);\n\n assertTrue(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('a', 'A')));\n assertTrue(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('e', 'D')));\n assertFalse(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('f', 'D')));\n assertFalse(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('e', 'E')));\n }","title":""},{"docid":"a40b0294370a5faa4ddfa9de3a4e8cd8","score":"0.54709315","text":"boolean hasTransArea();","title":""},{"docid":"07c3b0440cee27c423f4fe3594e91be3","score":"0.5470881","text":"@Test //Drafting works as normal across two provinces\r\n public void draftClickingWorksTwoProvinces() {\r\n g.runInv();\r\n g.loadSave(\"testData1.txt\");\r\n \r\n Territory wa = m.getTerritory(\"West Africa\");\r\n Territory br = m.getTerritory(\"Brazil\");\r\n \r\n assertEquals(1, wa.getTroops());\r\n assertEquals(1, br.getTroops());\r\n \r\n //Within West Africa\r\n m.handleClick(350, 250);\r\n assertEquals(2, wa.getTroops());\r\n assertEquals(1, br.getTroops());\r\n \r\n m.handleClick(350, 250);\r\n assertEquals(3, wa.getTroops());\r\n assertEquals(1, br.getTroops());\r\n \r\n //Within Brazil\r\n m.handleClick(250, 300);\r\n assertEquals(3, wa.getTroops());\r\n assertEquals(2, br.getTroops());\r\n }","title":""},{"docid":"c3cd65b887e28426e2af5da76e1fd0bb","score":"0.5469005","text":"@Override\r\n\tpublic void testCompletness() {\n\t}","title":""},{"docid":"9b6bfcbf25085370e8467ed72fcc7006","score":"0.54612327","text":"@Test\n public void okTest() {\n assertEquals(plugin.evaulate(tender2).getType(),\n TenderIndicatorType.CORRUPTION_TAX_HAVEN.name());\n }","title":""},{"docid":"baa7292b6894699462038e524a39be17","score":"0.5460079","text":"@Test\n public void TestPithingNeedle() {\n addCard(Zone.HAND, playerA, \"Pithing Needle\");\n addCard(Zone.BATTLEFIELD, playerA, \"Plains\", 1);\n addCard(Zone.BATTLEFIELD, playerA, \"Silvercoat Lion\", 1);\n addCard(Zone.LIBRARY, playerA, \"Pillarfield Ox\", 1);\n\n addCard(Zone.BATTLEFIELD, playerB, \"Island\", 3);\n // {2}{U}, {T}: Put target creature on the bottom of its owner's library.\n // That creature's controller reveals cards from the top of their library until they reveal a creature card.\n // The player puts that card onto the battlefield and the rest on the bottom of their library in any order.\n // Activate this ability only any time you could cast a sorcery.\n addCard(Zone.BATTLEFIELD, playerB, \"Proteus Staff\", 1);\n\n addCard(Zone.BATTLEFIELD, playerC, \"Island\", 3);\n addCard(Zone.BATTLEFIELD, playerC, \"Proteus Staff\", 1);\n addCard(Zone.BATTLEFIELD, playerC, \"Wall of Air\", 1);\n addCard(Zone.LIBRARY, playerC, \"Wind Drake\", 2);\n\n addCard(Zone.BATTLEFIELD, playerD, \"Island\", 3);\n addCard(Zone.BATTLEFIELD, playerD, \"Eager Cadet\", 1);\n addCard(Zone.LIBRARY, playerD, \"Storm Crow\", 2);\n\n skipInitShuffling();\n\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \"Pithing Needle\");\n setChoice(playerA, \"Proteus Staff\");\n\n activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerC, \"{2}{U}\", \"Eager Cadet\"); // allowed because Needle out of range\n\n activateAbility(4, PhaseStep.PRECOMBAT_MAIN, playerB, \"{2}{U}\", \"Wall of Air\"); // not allowed\n\n setStopAt(4, PhaseStep.END_TURN);\n try {\n execute();\n Assert.fail(\"must throw exception on execute\");\n } catch (Throwable e) {\n if (!e.getMessage().contains(\"Can't find ability to activate command: {2}{U}$target=Wall of Air\")) {\n Assert.fail(\"Should have thrown an error about PlayerB not being able to use the staff to target Wall of Air, but got:\\n\" + e.getMessage());\n }\n }\n\n assertPermanentCount(playerD, \"Eager Cadet\", 0);\n assertPermanentCount(playerD, \"Storm Crow\", 1);\n assertPermanentCount(playerC, \"Wall of Air\", 1);\n assertPermanentCount(playerC, \"Wind Drake\", 0);\n }","title":""},{"docid":"4647a10bf18a4f5ae99b83339cef097d","score":"0.5455974","text":"@Test\r\n\tpublic void testAdd_Territory() {\r\n\t\tnew_continent = new Continent(\"new_continent_name\" , 1);\r\n\t\tnew_territory = new Territory(\"new_territory_name\",120,300,\"test_name_continent\");\r\n\t\tboolean result = new_continent.Add_Territory(new_territory);\r\n\t\tAssert.assertTrue(result);\r\n\t}","title":""},{"docid":"345b1a4e132bf629d8977e25ce05ece6","score":"0.5449961","text":"@Test\n public void testBordering(){\n Territory Alaska = new Territory(\"Alaska\");\n Territory Alberta = new Territory(\"Alberta\");\n Alaska.addBorderTerritories(Alberta);\n Alberta.addBorderTerritories(Alaska);\n assertEquals(\"Alaska\",Alberta.getBorderTerritories().get(0).getName());\n assertEquals(\"Alberta\",Alaska.getBorderTerritories().get(0).getName());\n }","title":""},{"docid":"cdecfd55de1cfea7fa6c8f8ce7e3950b","score":"0.54462236","text":"@Test\n public void hasSpecialAbility(){\n dwarve.specialAbility();\n assertEquals(8, dwarve.getBaseAttack());\n assertEquals(6, dwarve.getBaseResistance());\n }","title":""},{"docid":"09aa4d6753bab4aba1d48ef559c97aca","score":"0.5443814","text":"boolean hasTransAgency();","title":""},{"docid":"ff7a8055b894421b5fe3290a087bd574","score":"0.5442859","text":"public void testCargoFromHongkongToStockholm() throws Exception {\n Location origin = HONGKONG;\n Location destination = STOCKHOLM;\n Date arrivalDeadline = toDate(\"2009-03-18\");\n\n /*\n * Use case 1: booking A new cargo is booked, and the unique tracking id is\n * assigned to the cargo.\n */\n TrackingId trackingId = bookingService.bookNewCargo(origin.unLocode(),\n destination.unLocode(),\n arrivalDeadline);\n\n /*\n * The tracking id can be used to lookup the cargo in the repository.\n * Important: The cargo, and thus the domain model, is responsible for\n * determining the status of the cargo, whether it is on the right track or\n * not and so on. This is core domain logic. Tracking the cargo basically\n * amounts to presenting information extracted from the cargo aggregate in a\n * suitable way.\n */\n Cargo cargo = cargoRepository.find(trackingId);\n assertNotNull(cargo);\n assertEquals(NOT_RECEIVED, cargo.delivery().transportStatus());\n assertEquals(NOT_ROUTED, cargo.delivery().routingStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertNull(cargo.delivery().estimatedTimeOfArrival());\n assertNull(cargo.delivery().nextExpectedActivity());\n\n /*\n * Use case 2: routing A number of possible routes for this cargo is\n * requested and may be presented to the customer in some way for him/her to\n * choose from. Selection could be affected by things like price and time of\n * delivery, but this test simply uses an arbitrary selection to mimic that\n * process. The cargo is then assigned to the selected route, described by\n * an itinerary.\n */\n List itineraries = bookingService.requestPossibleRoutesForCargo(trackingId);\n Itinerary itinerary = selectPreferedItinerary(itineraries);\n cargo.assignToRoute(itinerary);\n\n assertEquals(NOT_RECEIVED, cargo.delivery().transportStatus());\n assertEquals(ROUTED, cargo.delivery().routingStatus());\n assertNotNull(cargo.delivery().estimatedTimeOfArrival());\n assertEquals(new HandlingActivity(RECEIVE, HONGKONG), cargo.delivery().nextExpectedActivity());\n\n /*\n * Use case 3: handling A handling event registration attempt will be formed\n * from parsing the data coming in as a handling report either via the web\n * service interface or as an uploaded CSV file. The handling event factory\n * tries to create a HandlingEvent from the attempt, and if the factory\n * decides that this is a plausible handling event, it is stored. If the\n * attempt is invalid, for example if no cargo exists for the specfied\n * tracking id, the attempt is rejected. Handling begins: cargo is received\n * in Hongkong.\n */\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-01\"),\n trackingId,\n null,\n HONGKONG.unLocode(),\n RECEIVE);\n\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertEquals(HONGKONG, cargo.delivery().lastKnownLocation());\n\n // Next event: Load onto voyage CM003 in Hongkong\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-03\"),\n trackingId,\n v100.voyageNumber(),\n HONGKONG.unLocode(),\n LOAD);\n\n // Check current state - should be ok\n assertEquals(v100, cargo.delivery().currentVoyage());\n assertEquals(HONGKONG, cargo.delivery().lastKnownLocation());\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(UNLOAD, NEWYORK, v100), cargo.delivery().nextExpectedActivity());\n\n /*\n * Here's an attempt to register a handling event that's not valid because\n * there is no voyage with the specified voyage number, and there's no\n * location with the specified UN Locode either. This attempt will be\n * rejected and will not affect the cargo delivery in any way.\n */\n final VoyageNumber noSuchVoyageNumber = new VoyageNumber(\"XX000\");\n final UnLocode noSuchUnLocode = new UnLocode(\"ZZZZZ\");\n try {\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-05\"),\n trackingId,\n noSuchVoyageNumber,\n noSuchUnLocode,\n LOAD);\n fail(\"Should not be able to register a handling event with invalid location and voyage\");\n }\n catch (CannotCreateHandlingEventException expected) {\n }\n\n // Cargo is now (incorrectly) unloaded in Tokyo\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-05\"),\n trackingId,\n v100.voyageNumber(),\n TOKYO.unLocode(),\n UNLOAD);\n\n // Check current state - cargo is misdirected!\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(TOKYO, cargo.delivery().lastKnownLocation());\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertTrue(cargo.delivery().isMisdirected());\n assertNull(cargo.delivery().nextExpectedActivity());\n\n // -- Cargo needs to be rerouted --\n\n // TODO cleaner reroute from \"earliest location from where the new route originates\"\n\n // Specify a new route, this time from Tokyo (where it was incorrectly unloaded) to Stockholm\n RouteSpecification fromTokyo = new RouteSpecification(TOKYO, STOCKHOLM, arrivalDeadline);\n cargo.specifyNewRoute(fromTokyo);\n\n // The old itinerary does not satisfy the new specification\n assertEquals(MISROUTED, cargo.delivery().routingStatus());\n assertNull(cargo.delivery().nextExpectedActivity());\n\n // Repeat procedure of selecting one out of a number of possible routes satisfying the route spec\n List newItineraries = bookingService.requestPossibleRoutesForCargo(cargo.trackingId());\n Itinerary newItinerary = selectPreferedItinerary(newItineraries);\n cargo.assignToRoute(newItinerary);\n\n // New itinerary should satisfy new route\n assertEquals(ROUTED, cargo.delivery().routingStatus());\n\n // TODO we can't handle the face that after a reroute, the cargo isn't misdirected anymore\n //assertFalse(cargo.isMisdirected());\n //assertEquals(new HandlingActivity(LOAD, TOKYO), cargo.nextExpectedActivity());\n\n // -- Cargo has been rerouted, shipping continues --\n\n // Load in Tokyo\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-08\"),\n trackingId,\n v300.voyageNumber(),\n TOKYO.unLocode(),\n LOAD);\n\n // Check current state - should be ok\n assertEquals(v300, cargo.delivery().currentVoyage());\n assertEquals(TOKYO, cargo.delivery().lastKnownLocation());\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(UNLOAD, HAMBURG, v300), cargo.delivery().nextExpectedActivity());\n\n // Unload in Hamburg\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-12\"),\n trackingId,\n v300.voyageNumber(),\n HAMBURG.unLocode(),\n UNLOAD);\n\n // Check current state - should be ok\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(HAMBURG, cargo.delivery().lastKnownLocation());\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(LOAD, HAMBURG, v400), cargo.delivery().nextExpectedActivity());\n\n // Load in Hamburg\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-14\"),\n trackingId,\n v400.voyageNumber(),\n HAMBURG.unLocode(),\n LOAD);\n\n // Check current state - should be ok\n assertEquals(v400, cargo.delivery().currentVoyage());\n assertEquals(HAMBURG, cargo.delivery().lastKnownLocation());\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(UNLOAD, STOCKHOLM, v400), cargo.delivery().nextExpectedActivity());\n\n // Unload in Stockholm\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-15\"),\n trackingId,\n v400.voyageNumber(),\n STOCKHOLM.unLocode(),\n UNLOAD);\n\n // Check current state - should be ok\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(STOCKHOLM, cargo.delivery().lastKnownLocation());\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(CLAIM, STOCKHOLM), cargo.delivery().nextExpectedActivity());\n\n // Finally, cargo is claimed in Stockholm. This ends the cargo lifecycle from our perspective.\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-16\"),\n trackingId,\n null,\n STOCKHOLM.unLocode(),\n CLAIM);\n\n // Check current state - should be ok\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(STOCKHOLM, cargo.delivery().lastKnownLocation());\n assertEquals(CLAIMED, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertNull(cargo.delivery().nextExpectedActivity());\n }","title":""},{"docid":"7d734c6c5c3f07b8313f571e166b805e","score":"0.5439896","text":"public void setaTerritory(RiskTerritoryModel test) {\n\t\taTerritory = test;\n\t}","title":""},{"docid":"ea2def7b0de525325dbdb8becd5a08d4","score":"0.54390174","text":"private Territory botchooseTerritoryToAttack(Territory attackingTerritory) {\n\t\t\tTelegramBot bot = new TelegramBot();\n\t\t\tboolean undo = true;\n\t\t\tTerritory tempTerritory = new Territory();\n\t\t\twhile(undo) {\n\t\t\t\ttempTerritory = players.get(currentPlayerIndex).botchooseTerritoryToAttack(attackingTerritory, territories, this);\n\t\t\t\tif(tempTerritory == null) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString confirmationMessage = \"You have chosen to attack \" + tempTerritory.getTerritoryName() + \" --yes/no\";\n\t\t\t\tString n = null;\n\t\t\t\tbot.sendplayer(confirmationMessage);\n\t\t\t\tbot.cleanmessage();\n\t\t\t\tint counter = 0;\n\t\t\t\twhile(bot.getmessage() == null && counter < 30) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(bot.getmessage() != null) {\n\t\t\t\t\tn = bot.getmessage();\n\t\t\t\t}\n\t\t\t\tif(n.equals(\"no\")) {\n\t\t\t\t\tif(players.get(currentPlayerIndex).getCredits() > 0){\n\t\t\t\t\t\tplayers.get(currentPlayerIndex).useCredits(players.get(currentPlayerIndex).getCredits()-1);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\t//JOptionPane.showMessageDialog(null, \"You do not have enough credits to undo your action.\");\n\t\t\t\t\t\tString inputMessage = \"You do not have enough credits to undo your action.\";\n\t\t\t\t\t\tbot.sendmessage(inputMessage);\n\t\t\t\t\t\ttimedAcknowledgement(inputMessage);\n\t\t\t\t\t\tundo = true;\n\t\t\t\t\t}\n\t\t\t\t} else if (n.equals(\"yes\")) {\n\t\t\t\t\tundo = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tempTerritory;\n\t\t}","title":""},{"docid":"d1183582503d463a076ac7b2d35150b1","score":"0.54358023","text":"public void testHarvesterAntAct()\n { \n harant = new HarvesterAnt();\n colony.add(harant, 5, 5);\n colony.add(bee1, 5, 4);\n run(colony, 40);\n harant.act();\n assertEquals(11, colony.getFood()); \n \n }","title":""},{"docid":"df25c97d1a42b898324fff30949fe9b3","score":"0.5433976","text":"public void checkStateAndPerformActions()\n {\n //update the map square to the current ants map square\n //\n this.setMapSpaceToUse(this.getSoldierAnt().getCurrentMapSpace());\n randomMove.setCurrentMapSpace(this.getMapSpaceToUse());\n \n //check if enemy is on our square\n //setting ant to null and isEnemyOnSquare to false to start with clean slate\n //\n this.setAntWhoIsDefending(null);\n this.isEnemyOnSquare = false;\n Class enemy = BalaAnt.class;\n MapSpace tempMapSpace = null;\n BalaAnt enenmyInQuestion = null;\n boolean enemyFound = false;\n \n //ugh this is not effiecent to check the map square each time\n //\n for (Object antToTest : this.getMapSpaceToUse().getAntsOnMapSpace()) \n {\n if(!antToTest.equals(this))\n {\n if (enemy.isInstance(antToTest)) \n {\n enenmyInQuestion = (BalaAnt)antToTest;\n \n //check to make sure we dont attack dead ants\n //\n if(!enenmyInQuestion.isDead())\n {\n this.setAntWhoIsDefending((BalaAnt)antToTest);\n this.isEnemyOnSquare = true;\n }\n }\n }\n }\n \n if(this.isEnemyOnSquare)\n {\n attack.setDefenderAnt(this.getAntWhoIsDefending());\n attack.performAction();\n }\n else\n {\n //look around for enemy ants and if found move there else random move\n //\n this.mapSqauresAround = this.getMapSpaceToUse().getMapInfoObject().listOfValidMapSquaresBasedOnRadius(\n this.getSoldierAnt().getAwarenessRadius(), \n this.getMapSpaceToUse());\n \n //now to look inside each mapspace and see if there is any around in valid mapspaces\n //\n for(MapSpace ms : this.mapSqauresAround)\n {\n enenmyInQuestion = null;\n \n //dont test the square we are currently on\n //\n if(!ms.equals(this.getMapSpaceToUse()) && (!enemyFound))\n {\n if(this.isDoesMovesToMapSpaceNeedUncovering())\n {\n if(ms.isDiscovered())\n {\n tempMapSpace = ms;\n }\n }\n else\n {\n tempMapSpace = ms;\n }\n \n //ok now loop thru that map space looking for enemies\n //\n //ugh this is not effiecent to check the map square each time\n //\n if(tempMapSpace != null)\n {\n for (Object antToTest : tempMapSpace.getAntsOnMapSpace()) \n {\n if (enemy.isInstance(antToTest)) \n {\n enenmyInQuestion = (BalaAnt)antToTest;\n //check to make sure we dont attack dead ants\n //\n if(!enenmyInQuestion.isDead())\n {\n this.setAntWhoIsDefending(enenmyInQuestion);\n this.isEnemyOnSquare = true;\n enemyFound = true;\n break;\n }\n }\n }\n }\n \n }\n \n }\n \n if(this.isEnemyOnSquare)\n {\n //move to enemy\n //\n this.getMapSpaceToUse().removeAntOnMapSpace(this.getSoldierAnt());\n this.setMapSpaceToUse(tempMapSpace);\n this.getMapSpaceToUse().addAntOnMapSpace(this.getSoldierAnt());\n this.getSoldierAnt().setCurrentMapSpace(this.getMapSpaceToUse());\n this.getSoldierAnt().addToHistoryOfMapMoves(this.getMapSpaceToUse());\n \n }\n else\n {\n //random move\n //\n this.randomMove.performAction();\n }\n \n }\n }","title":""},{"docid":"d8aff89d2c668d0e55dc151472158902","score":"0.543373","text":"@Test\n public void testChoose(){\n Clorus c = new Clorus(1.2);\n HashMap surround = new HashMap();\n surround.put(Direction.TOP, new Impassible());\n surround.put(Direction.BOTTOM, new Impassible());\n surround.put(Direction.LEFT, new Impassible());\n surround.put(Direction.RIGHT, new Impassible());\n\n Action actual = c.chooseAction(surround);\n Action expect = new Action(Action.ActionType.STAY);\n\n assertEquals(expect,actual);\n\n //any plip around, attack\n c = new Clorus(1.2);\n surround = new HashMap();\n surround.put(Direction.TOP, new Plip());\n surround.put(Direction.BOTTOM, new Impassible());\n surround.put(Direction.LEFT, new Impassible());\n surround.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(surround);\n expect = new Action(Action.ActionType.STAY);\n\n assertEquals(expect,actual);\n\n c = new Clorus(0.8);\n surround = new HashMap();\n surround.put(Direction.TOP, new Plip());\n surround.put(Direction.BOTTOM, new Empty());\n surround.put(Direction.LEFT, new Impassible());\n surround.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(surround);\n expect = new Action(Action.ActionType.ATTACK, Direction.TOP);\n\n assertEquals(expect,actual);\n\n // Energy >= 1; replicate towards an empty space.\n c = new Clorus(1.2);\n HashMap topEmpty = new HashMap();\n topEmpty.put(Direction.TOP, new Empty());\n topEmpty.put(Direction.BOTTOM, new Impassible());\n topEmpty.put(Direction.LEFT, new Impassible());\n topEmpty.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(topEmpty);\n expect = new Action(Action.ActionType.REPLICATE, Direction.TOP);\n\n assertEquals(expect, actual);\n\n // Energy < 1; replicate towards an empty space.\n c = new Clorus(0.8);\n topEmpty = new HashMap();\n topEmpty.put(Direction.TOP, new Empty());\n topEmpty.put(Direction.BOTTOM, new Impassible());\n topEmpty.put(Direction.LEFT, new Impassible());\n topEmpty.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(topEmpty);\n expect = new Action(Action.ActionType.MOVE, Direction.TOP);\n\n assertEquals(expect, actual);\n }","title":""},{"docid":"dd82c8a5579e044db482f62528ba278f","score":"0.54327816","text":"@Test\n\tpublic void testEnter() {\n\t\tDoor test = new Door(inSite, outSite, myKey);\n\t\tRoom start = thePlayer.getLoc(); \n\t\ttest.enter(thePlayer); \n\t\tassertEquals(start,thePlayer.getLoc());\n\t\t\n\t\tthePlayer.pickUp(myKey);\n\t\ttest.enter(thePlayer);\n\t\tassertEquals(start,thePlayer.getLoc());\n\t\t\n\t\tRoom in = new Room();\n\t\tRoom out = new Room();\n\t\tDoor test2 = new Door(in,out,myKey);\n\t\tthePlayer.setLoc(in);\n\t\ttest2.enter(thePlayer);\n\t\t\n\t\tthePlayer.drop(0);\n\t\ttest2.enter(thePlayer); \n\t}","title":""},{"docid":"e228ba2c5961608d15fa3a0cebcb0ef7","score":"0.5432473","text":"@Test\n public void test2() throws HSException {\n\n BruteForceSearchAI ai0 = BruteForceSearchAI.buildStandardAI1();\n List ab = ai0.playTurn(0, board.data_);\n BoardModel resBoard0 = ab.get(ab.size() - 1).board;\n PlayerModel currentPlayer = resBoard0.modelForSide(PlayerSide.CURRENT_PLAYER);\n PlayerModel waitingPlayer = resBoard0.modelForSide(PlayerSide.WAITING_PLAYER);\n\n assertEquals(resBoard0.getCurrentPlayer().getHand().size(), 0);\n assertEquals(currentPlayer.getNumMinions(), 3);\n assertEquals(waitingPlayer.getNumMinions(), 0);\n assertEquals(resBoard0.getCurrentPlayer().getMana(), 7);\n assertEquals(resBoard0.getWaitingPlayer().getMana(), 8);\n assertEquals(resBoard0.getCurrentPlayer().getHero().getHealth(), 30);\n assertEquals(resBoard0.getWaitingPlayer().getHero().getHealth(), 28);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_1).getTotalHealth(), 1);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_2).getTotalHealth(), 2);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_3).getTotalHealth(), 5);\n\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_1).getTotalAttack(), 3);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_2).getTotalAttack(), 2);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_3).getTotalAttack(), 7);\n\n int origHealthMinion1 = 2;\n int origHealthMinion2 = 5;\n\n BoardModel resBoard1 = Game.endTurn(resBoard0);\n currentPlayer = resBoard1.modelForSide(PlayerSide.CURRENT_PLAYER);\n\n log.info(\"Raid Leader Health = \" + currentPlayer.getCharacter(CharacterIndex.MINION_2).getHealth());\n log.info(\"Boulderfist Ogre Health = \" + currentPlayer.getCharacter(CharacterIndex.MINION_3).getHealth());\n\n assertTrue((currentPlayer.getCharacter(CharacterIndex.MINION_2).getHealth() != origHealthMinion1)\n ^ (currentPlayer.getCharacter(CharacterIndex.MINION_3).getHealth() != origHealthMinion2));\n }","title":""},{"docid":"6b9aee061fd5155f4a71a8b521b6a764","score":"0.5428995","text":"public void testIsCommitted() {\n assertFalse(\"isCommitted method should return false\", review.isCommitted());\n }","title":""},{"docid":"87c33cb6421d6b9f16087bd7c8478c0e","score":"0.54249233","text":"public void checkStateAndPerformActions()\n {\n //update mapspace\n //\n this.setMapSpaceToUse(this.getBalaAnt().getCurrentMapSpace());\n randomMove.setCurrentMapSpace(this.getMapSpaceToUse());\n colonyMove.setCurrentMapSpace(this.getMapSpaceToUse());\n \n //check if enemy is on our square\n //setting ant to null and isEnemyOnSquare to false to start with clean slate\n //\n this.setAntWhoIsDefending(null);\n this.isEnemyOnSquare = false;\n Class freindly = BalaAnt.class;\n \n Ant enenmyInQuestion = null;\n \n //ugh this is not effiecent to check the map square each time\n //\n for (Object antToTest : this.getMapSpaceToUse().getAntsOnMapSpace()) \n {\n if(!antToTest.equals(this))\n {\n if (!freindly.isInstance(antToTest)) \n {\n \n enenmyInQuestion = (Ant)antToTest;\n \n //check to make sure we dont attack dead ants\n //\n if(!enenmyInQuestion.isDead())\n {\n this.setAntWhoIsDefending(enenmyInQuestion);\n this.isEnemyOnSquare = true;\n }\n }\n }\n }\n \n if(this.isEnemyOnSquare)\n {\n attack.setDefenderAnt(this.getAntWhoIsDefending());\n attack.performAction();\n }\n else\n {\n \n if(this.getMapSpaceToUse().isColonySpace())\n {\n //move in the colony\n //\n this.colonyMove.performAction();\n \n }\n else\n {\n //random move\n //\n this.randomMove.performAction();\n }\n \n }\n }","title":""},{"docid":"3ba0dcc4bb34d6d9426f54a183b1882f","score":"0.5423894","text":"public void testAR1056()\n {\n\t\tNodeRef workingCopy = this.cociService.checkout(\n\t\t\t\tthis.nodeRef, \n\t\t\t\tthis.rootNodeRef, \n\t\t\t\tContentModel.ASSOC_CHILDREN, \n\t\t\t\tQName.createQName(\"workingCopy\"));\n\t\tassertNotNull(workingCopy);\n\t\t\n\t\t// Try and check the same node out again\n\t\ttry\n\t\t{\n\t\t\tthis.cociService.checkout(\n\t\t\t\tthis.nodeRef, \n\t\t\t\tthis.rootNodeRef, \n\t\t\t\tContentModel.ASSOC_CHILDREN, \n\t\t\t\tQName.createQName(\"workingCopy2\"));\n\t\t\tfail(\"This document has been checked out twice.\");\n\t\t}\n\t\tcatch (Exception exception)\n\t\t{\n\t\t\t// Good because we shouldnt be able to checkout a document twice\n\t\t}\n \n }","title":""},{"docid":"2f015113adf8d953e9bd090ab9c606e4","score":"0.5421208","text":"public void testGetContestScheduleAccuracy3() throws Exception {\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 3, false);\n assertEquals(\"Expects the contestSchedule is returned properly.\", 3, contestSchedule.getContestId());\n assertFalse(\"Expects the contestSchedule is returned properly.\", contestSchedule.isStudio());\n }","title":""},{"docid":"ec86bb08704650c24da64f20b84e2f42","score":"0.5420407","text":"@Test\n\tpublic void tt(){\n\t\t\n\t\tDealDetail detail = new DealDetail();\n\t\tErrorInfo error = new ErrorInfo();\n\t\tdetail.checkWithdraw(error);\n\t}","title":""},{"docid":"d8388a4b5483de2d9a93c97b6c407d95","score":"0.5418974","text":"@Test\n public void shouldCheckIfSomeoneWon(){\n TicTacToe testGame1 = new TicTacToe();\n assertFalse(testGame1.checkWinCon(), \"wincon 1\");\n testGame1.makeMove('X',0,0);\n testGame1.makeMove('X',1,0);\n testGame1.makeMove('X',2,0);\n assertFalse(testGame1.checkWinCon(), \"wincon 2\");\n testGame1.makeMove('O',0,2);\n testGame1.makeMove('O',1,2);\n assertTrue(testGame1.checkWinCon(), \"wincon 3\");\n testGame1.makeMove('O',2,2);\n testGame1.makeMove('X',0,1);\n testGame1.makeMove('O',1,1);\n testGame1.makeMove('X',2,1);\n assertTrue(testGame1.checkWinCon(), \"wincon 4\");\n }","title":""},{"docid":"fc8b118780967c9705f20b97f90121b1","score":"0.5417648","text":"@Test\n public void isNeighboorOf_Sector() {\n Sector sector0 = new Sector();\n Sector sector1 = new Sector();\n Sector sector2 = new Sector();\n\n //sector0.addNeighboor(sector1.ID());\n\n assertTrue(sector0.isNeighboorOf(sector1));\n assertFalse(sector0.isNeighboorOf(sector2));\n }","title":""},{"docid":"98c0fa78c04965f948b1801bb4192172","score":"0.54046404","text":"@Test\n public final void testBranchCoverageLocked() {\n account.setBanned(false);\n account.setLocked(true);\n account.setAdmin(false);\n assertEquals(\"Locked\", account.getStatus());\n }","title":""},{"docid":"a1cd01ad6310f6322afb397771a5f0b8","score":"0.5394648","text":"public void testIntersection()\n {\n \tassertEquals(LocationTools.intersection(r1, r1),\n \t\t new PointLocation(1));\n\tassertEquals(LocationTools.intersection(r1, r3),\n \t\t Location.empty);\n }","title":""},{"docid":"04ad1d6f1c5535bb64162d41c995d1f6","score":"0.53910816","text":"@Test\n public void GainedInfectByEnchantment() {\n // Trample\n // Whenever a source deals damage to Phyrexian Obliterator, that source's controller sacrifices that many permanents.\n addCard(Zone.BATTLEFIELD, playerB, \"Phyrexian Obliterator\");\n\n // Enchant creature\n // You control enchanted creature.\n // Enchanted creature has infect. (It deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)\n addCard(Zone.HAND, playerA, \"Corrupted Conscience\"); // Enchantment {3}{U}{U}\n // Enchant creature\n // You control enchanted creature.\n // At the beginning of your upkeep, enchanted creature deals 1 damage to its owner.\n addCard(Zone.HAND, playerA, \"Enslave\"); // Enchantment {4}{B}{B}\n addCard(Zone.BATTLEFIELD, playerA, \"Swamp\", 9);\n addCard(Zone.BATTLEFIELD, playerA, \"Island\", 2);\n\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \"Corrupted Conscience\", \"Phyrexian Obliterator\");\n waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \"Enslave\", \"Phyrexian Obliterator\");\n\n setStopAt(3, PhaseStep.POSTCOMBAT_MAIN);\n execute();\n\n assertPermanentCount(playerA, \"Phyrexian Obliterator\", 1);\n assertPermanentCount(playerA, \"Corrupted Conscience\", 1);\n assertPermanentCount(playerA, \"Enslave\", 1);\n\n assertAbility(playerA, \"Phyrexian Obliterator\", InfectAbility.getInstance(), true);\n\n assertLife(playerA, 20);\n assertLife(playerB, 20);\n\n assertCounterCount(playerB, CounterType.POISON, 1);\n\n }","title":""},{"docid":"2b5b33455714f80d66109f3bfb28d2c6","score":"0.5384176","text":"@Test\n public void testSorceryCostReduction() {\n addCard(Zone.HAND, playerA, mageDuel);\n addCard(Zone.HAND, playerA, festivalOfTrokin);\n addCard(Zone.BATTLEFIELD, playerA, \"Plains\");\n addCard(Zone.BATTLEFIELD, playerA, \"Forest\");\n addCard(Zone.BATTLEFIELD, playerA, akroanJailer);\n\n addCard(Zone.BATTLEFIELD, playerB, lion);\n\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, festivalOfTrokin);\n waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, mageDuel);\n\n setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);\n execute();\n assertPowerToughness(playerA, akroanJailer, 2, 3);\n assertPermanentCount(playerA, akroanJailer, 1);\n assertGraveyardCount(playerB, lion, 1);\n assertLife(playerA, 20 + 2);\n }","title":""},{"docid":"9b46552e79240647dda48853ff001b65","score":"0.5382589","text":"@Test\r\n\tpublic void testDelete_Territories() {\r\n\t\tnew_continent = new Continent(\"new_continent_name\" , 1);\r\n\t\t\r\n\t\tnew_territory = new Territory(\"new_territory_name_1\",120,300,\"new_continent_name\");\r\n\t\tnew_continent.Add_Territory(new_territory);\r\n\t\t\r\n\t\tnew_territory_neighbour = new Territory(\"new_territory_name_2\",320,432,\"new_continent_name\");\r\n\t\tnew_continent.Add_Territory(new_territory_neighbour);\r\n\t\t\r\n\t\tnew_territory.Add_Neighbour(new_territory_neighbour);\r\n\t\t\r\n\t\tboolean result = new_continent.Delete_Territories();\r\n\t\t\r\n\t\tAssert.assertTrue(result);\r\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"ccbd426f5a24bb4b48db17928f4300ce","score":"0.53812957","text":"@Test\n public void checkConstruction(){\n assertTrue(testGame.getTURNS().isEmpty());\n assertFalse(testGame.getEndGame());\n assertFalse(testGame.getPlayerWinner());\n assertEquals(WaitPhase.class,testGame.getPhase().getClass());\n assertEquals(-1,testGame.getActCharacterIndex());\n assertFalse(testGame.getActPlayerCharacter());\n assertEquals(-1,testGame.getActTarget());\n assertEquals(\"\",testGame.getInfo());\n }","title":""},{"docid":"d88de79b6daa71425e0980c40fefbfb8","score":"0.5378518","text":"public void testReproducir(){\r\n\r\n\t\tfor(int i=0; i contestants = new ArrayList();\n\t\t\t\t\n\t\tDog dog1 = newrace.addDog(\"Max\", 128, new EarlySprint());\n\t\tDog dog2 = newrace.addDog(\"Charlie\", 137, new SteadyRun());\n\t\tDog dog3 = newrace.addDog(\"Buddy\", 141, new EarlySprint());\n\t\tDog dog4 = newrace.addDog(\"Joe\", 121, new SlowStart());\n\t\tDog dog5 = newrace.addDog(\"Doggo\", 140, new SteadyRun());\n\t\tDog dog6 = newrace.addDog(\"Doge\", 137, new SlowStart());\n\t\tDog dog7 = newrace.addDog(\"Lucky\", 135, new EarlySprint());\n\n\t\tcontestants.add(dog1);\n\t\tcontestants.add(dog2);\n\t\tcontestants.add(dog3);\n\t\tcontestants.add(dog4);\n\t\tcontestants.add(dog5);\n\t\tcontestants.add(dog6);\n\t\tcontestants.add(dog7);\n\t\t\t\t\n\t\tnewrace.startRace(contestants);\n\t\tnewrace.runRace(contestants);\n\t\tassert(newrace.findWinner(contestants)==\"Buddy\"); //Highest speed and early sprint wins\n\t\n\t\tdog6.setMaxSpeed(138);\n\t\tnewrace.startRace(contestants);\n\t\tnewrace.runRace(contestants);\n\t\tassert(newrace.findWinner(contestants)==\"Doge\"); //Slow start with lower speed wins (optimal strategy)\n\t}","title":""},{"docid":"dc7e17a34ee6e9f8c38c43ffefb998d2","score":"0.5368455","text":"@Test\r\n public void testGetEstadoAtribuicao() {\r\n System.out.println(\"getEstadoAtribuicao\");\r\n \r\n FAE fae=new FAE(new Utilizador(\"Nome\", \"email\", \"Admin\", \"email\"));\r\n Candidatura c=new Candidatura(\"Empresa\", \"Morada\", 123456789, 89, 5);\r\n Atribuicao instance = new Atribuicao(fae,c);\r\n \r\n boolean expResult =false;\r\n boolean result = instance.getEstadoAtribuicao();\r\n assertEquals(expResult, result);\r\n \r\n }","title":""},{"docid":"319ee6bc89936645d13a6c93296c1765","score":"0.53665817","text":"@Test\n\tpublic void testeandoTomarAgua() {\n\t\tint cant = 0;\n\t\twhile(jose.atacar(ronaldo))\n\t\t\tcant ++;\n\t\t\n\t\tAssert.assertEquals( 0, jose.getEnergia(), 0);\n\t\tAssert.assertEquals( 10, cant, 0);\n\t\tAssert.assertEquals( false, jose.atacar(ronaldo));\n\t\t\n\t\tjose.tomarAgua();\n\t\t\n\t\tAssert.assertEquals( 100, jose.getEnergia(), 0);\n\t}","title":""},{"docid":"bf879f39c38c82b7cfe947a66d9d2897","score":"0.5357568","text":"@Test\n public void testGetDonorsGenderAnyOrOther() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, \"any, other\", null, null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleMonstera = findThreeDonors(donors, SNAKE, FIDDLE, MONSTERA);\n assertTrue(foundSnakeFiddleMonstera[0]);\n assertTrue(foundSnakeFiddleMonstera[1]);\n assertTrue(foundSnakeFiddleMonstera[2]);\n } else {\n printCannotRunTests();\n }\n }","title":""},{"docid":"36a680e59bf34504e4c298cce0395511","score":"0.5355944","text":"@Test\n\tpublic void testIfBalancedTrue() {\n\t\tboolean check = CheckBalance.isBalanced(balanseratUttryck);\n\t\tassertTrue(check);\n\t}","title":""},{"docid":"bd4dd781959277caddb91465c5e4422b","score":"0.5355403","text":"@Test\n public void transModeTest() {\n // TODO: test transMode\n }","title":""},{"docid":"832b3cc078ae5382548385395006a7bb","score":"0.5354936","text":"int doTerritoryPlacement(int maxTroops);","title":""}],"string":"[\n {\n \"docid\": \"74587eab3de19cd16c292e0cc9b4e273\",\n \"score\": \"0.6462158\",\n \"text\": \"@Test\\n public void testGetDonorsRegionCanterburyOrOtago() {\\n if (canRunTests) {\\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \\\"Canterbury, Otago\\\", null, null, null, null,null,null);\\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\\n List donors = createDonorsList(responseEntity);\\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\\n assertTrue(foundSnakeFiddleAloe[0]);\\n assertTrue(foundSnakeFiddleAloe[1]);\\n assertTrue(foundSnakeFiddleAloe[2]);\\n } else {\\n printCannotRunTests();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ac7d668cca5eb2baad96c13b00f81d9\",\n \"score\": \"0.6336006\",\n \"text\": \"@Test\\n\\tpublic void testAllTerritoriesOwnBySinglePlayer() { \\n\\t\\tMap.listOfAllTerritories = new ArrayList();\\n\\t\\tMain.activeMap = new Map();\\n\\t\\tMain.activeMap.territories = new ArrayList();\\n\\t\\tMain.players = new ArrayList(); \\n\\t\\tPlayer player = new Player(\\\"Player1\\\");\\n\\t\\tMain.players.add(player);\\n\\t\\tTerritory t1 = new Territory(\\\"Africa\\\");\\n\\t\\tt1.addNeighbours(\\\"India,Pakistan\\\");// add neighbour and add player to owner of neighbour and finally create\\n\\t\\tt1.neighbours.get(0).owner = player; \\n\\t\\tt1.neighbours.get(1).owner = player;\\n\\t\\tt1.numberOfArmies = 1;\\n\\t\\tt1.owner=player;\\n\\t\\tMain.activeMap.territories.add(t1); \\n\\t\\tt1 = new Territory(\\\"Asia\\\");\\n\\t\\tt1.addNeighbours(\\\"Nepal,Bangal\\\");// add neighbour and add player to owner of neighbour and finally create \\n\\t\\tt1.neighbours.get(0).owner = player; \\n\\t\\tt1.neighbours.get(1).owner = player;\\n\\t\\tt1.numberOfArmies = 1;\\n\\t\\tt1.owner=player;\\n\\t\\tMain.activeMap.territories.add(t1);\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"All for one \\\"+Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\\n\\t\\tassertTrue(Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f13d38cd24c7d981bc590221dbdc803e\",\n \"score\": \"0.62943596\",\n \"text\": \"@Test\\n\\tpublic void testFindTerritory() { \\n\\t\\t//actualTerritory=Map.findTerritory(\\\"Japan\\\"); //Territory constructor is already adding it\\n\\t\\tassertEquals(\\\"Japan\\\", actualTerritory.name);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e608b3d779d7b04e3983adcb22d3378\",\n \"score\": \"0.6258937\",\n \"text\": \"@Test\\n public void testGetDonorsRegionCanterbury() {\\n if (canRunTests) {\\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \\\"Canterbury\\\", null, null, null, null,null,null);\\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\\n List donors = createDonorsList(responseEntity);\\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\\n assertTrue(foundSnakeFiddleAloe[0]);\\n assertTrue(foundSnakeFiddleAloe[1]);\\n assertFalse(foundSnakeFiddleAloe[2]);\\n } else {\\n printCannotRunTests();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf568a8b904df1376ce93739c399da38\",\n \"score\": \"0.6242936\",\n \"text\": \"@Test\\n\\tpublic void testAllTerritoriesNotOwnBySinglePlayer() { \\n\\t\\tMap.listOfAllTerritories = new ArrayList();\\n\\t\\tMain.activeMap = new Map();\\n\\t\\tMain.activeMap.territories = new ArrayList();\\n\\t\\tMain.players = new ArrayList();\\n\\t\\t// removed this becas its assigned in randim so giving only ione player and\\n\\t\\t// seeing\\n\\t\\tPlayer player = new Player(\\\"Player1\\\");\\n\\t\\tMain.players.add(player);\\n\\t\\tTerritory t1 = new Territory(\\\"Africa\\\");\\n\\t\\tt1.addNeighbours(\\\"India,Pakistan\\\");// add neighbour and add player to owner of neighbour and finally create\\n\\t\\t// assignedterritories list since player is assighes\\n\\t\\tt1.neighbours.get(0).owner = player;\\n\\t\\t//Player player2 = new Player(\\\"Player2\\\");// assigning owner to neighbour\\n\\t\\tt1.neighbours.get(1).owner = player;\\n\\t\\tt1.numberOfArmies = 1;\\n\\t\\tt1.owner=player;\\n\\t\\tMain.activeMap.territories.add(t1);\\n\\t\\t\\n\\t\\tt1 = new Territory(\\\"Asia\\\");\\n\\t\\tt1.addNeighbours(\\\"Nepal,Bangal\\\");// add neighbour and add player to owner of neighbour and finally create\\n\\t\\t// assignedterritories list since player is assighes\\n\\t\\tt1.neighbours.get(0).owner = player;\\n\\t\\tPlayer player2 = new Player(\\\"Player2\\\");// assigning owner to neighbour\\n\\t\\tt1.neighbours.get(1).owner = player;\\n\\t\\tt1.numberOfArmies = 1;\\n\\t\\tt1.owner=player2;\\n\\t\\tMain.activeMap.territories.add(t1);\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"All for one \\\"+Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\\n\\t\\tassertFalse(Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f24a41df4f63a0d16843b696f0d3ac52\",\n \"score\": \"0.61598897\",\n \"text\": \"@Test\\n public void testGetDonorsRegionOtago() {\\n if (canRunTests) {\\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \\\"Otago\\\", null, null, null, null,null,null);\\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\\n List donors = createDonorsList(responseEntity);\\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\\n assertFalse(foundSnakeFiddleAloe[0]);\\n assertFalse(foundSnakeFiddleAloe[1]);\\n assertTrue(foundSnakeFiddleAloe[2]);\\n } else {\\n printCannotRunTests();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a0d9d3cacfe430116b8fb745ec6b0eb\",\n \"score\": \"0.6140449\",\n \"text\": \"@Test\\r\\n public void attacksProvinceAndLoses() {\\r\\n g.runInv();\\r\\n g.loadSave(\\\"testData1.txt\\\");\\r\\n \\r\\n Territory wa = m.getTerritory(\\\"West Africa\\\");\\r\\n Territory eg = m.getTerritory(\\\"Egypt\\\");\\r\\n \\r\\n for (int i = 0; i < 9; i++) {\\r\\n //Clicks in West Africa, valid\\r\\n m.handleClick(350, 250);\\r\\n }\\r\\n assertEquals(GamePhase.OFFENSE_BLUE, g.phase());\\r\\n assertEquals(9, wa.getTroops());\\r\\n \\r\\n DieRollGenerator.rigDice(new int[] {4, 2, 2, 1});\\r\\n \\r\\n //Clicks in West Africa, valid\\r\\n m.handleClick(350, 250);\\r\\n //Clicks in Egypt, valid\\r\\n m.handleClick(442, 240);\\r\\n \\r\\n assertEquals(8, wa.getTroops());\\r\\n assertEquals(1, eg.getTroops());\\r\\n assertEquals(g.getBlue(), wa.getOwner());\\r\\n assertEquals(g.getRed(), eg.getOwner());\\r\\n assertEquals(15, g.getBlue().getScore());\\r\\n assertEquals(7, g.getRed().getScore()); \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3a52f1e0f43be3506b25c89f89d2a9a\",\n \"score\": \"0.60462713\",\n \"text\": \"@Test\\n public void testGetDonorsRegionSouthlandOrNorthland() {\\n if (canRunTests) {\\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \\\"Southland, Northland\\\", null, null, null, null,null,null);\\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\\n List donors = createDonorsList(responseEntity);\\n Boolean[] foundSnakeFiddleMonsteraJade = findFourDonors(donors, SNAKE, FIDDLE, MONSTERA, JADE);\\n assertFalse(foundSnakeFiddleMonsteraJade[0]);\\n assertFalse(foundSnakeFiddleMonsteraJade[1]);\\n assertTrue(foundSnakeFiddleMonsteraJade[2]);\\n assertTrue(foundSnakeFiddleMonsteraJade[3]);\\n } else {\\n printCannotRunTests();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e94c5e3a3f011f71f4d81519f59e03f5\",\n \"score\": \"0.5899979\",\n \"text\": \"public void testGetIsCoordinatingCenter(){\\r\\n\\t\\tStudy study = new LocalStudy();\\r\\n\\t\\tStudyCoordinatingCenter studyCoordinatingCenter = new StudyCoordinatingCenter();\\r\\n\\t\\tHealthcareSite healthcareSite = new LocalHealthcareSite();\\r\\n\\t\\tstudyCoordinatingCenter.setHealthcareSite(healthcareSite);\\r\\n\\t\\thealthcareSite.setCtepCode(\\\"NCIID\\\", true);\\r\\n\\r\\n\\t\\tstudy.getStudyCoordinatingCenters().add(studyCoordinatingCenter);\\r\\n\\r\\n\\t\\tStudyOrganization studyOrganization = new StudySite();\\r\\n\\t\\tstudyOrganization.setHealthcareSite(healthcareSite);\\r\\n\\t\\tstudyOrganization.setStudy(study);\\r\\n\\r\\n\\t\\tassertTrue(studyOrganization.getIsCoordinatingCenter());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb92fff6db8a92e40b4fafeaeedf064b\",\n \"score\": \"0.5896225\",\n \"text\": \"public void testGetWinCondition() {\\r\\n assertEquals(false, f_nowhere.getWinCondition().booleanValue());\\r\\n assertEquals(true, f_Columbus.getWinCondition().booleanValue());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e49e53a370ddb0de1eb693a958ce8523\",\n \"score\": \"0.5850105\",\n \"text\": \"@Test\\n\\tpublic void testeandoAtacar() {\\n\\t\\t\\n\\t\\tAssert.assertEquals( true, jose.atacar(ronaldo));\\n\\t\\t\\n\\t\\tAssert.assertEquals( 190, ronaldo.getSalud(),0);\\n\\t\\tAssert.assertEquals( 90, jose.getEnergia(),0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bd3eec0a854489e4a7c4641557a920c\",\n \"score\": \"0.5838965\",\n \"text\": \"@Test\\n public void toBeAngry() {\\n Armchair armchair = new Armchair(ArmchairState.NORMAL);\\n armchair.breakDown();\\n VogonJeltz jeltz = new VogonJeltz(JeltzState.INAGOODMOOD);\\n jeltz.become_angry(armchair);\\n Assert.assertEquals(JeltzState.ANGRY, jeltz.getJeltzState());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0fa116b2e0a566c2da029d70c466de4\",\n \"score\": \"0.583333\",\n \"text\": \"public void testBeesFar2()\\n { \\n chamber.beesInChamber();\\n assertEquals(false, chamber.beesInChamber()); \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1326c2a1be3e3b68bd2eee4c4656af1\",\n \"score\": \"0.57967436\",\n \"text\": \"public void testSecureIndianSettlementMissionIgnoreNavalThreat() {\\n Game game = ServerTestHelper.startServerGame(getCoastTestMap(plainsType));\\n Map map = game.getMap();\\n AIMain aiMain = ServerTestHelper.getServer().getAIMain();\\n InGameController igc = ServerTestHelper.getInGameController();\\n\\n // Create player and unit\\n ServerPlayer inca = (ServerPlayer) game.getPlayer(\\\"model.nation.inca\\\");\\n NativeAIPlayer aiInca = (NativeAIPlayer)aiMain.getAIPlayer(inca);\\n ServerPlayer dutch = (ServerPlayer) game.getPlayer(\\\"model.nation.dutch\\\");\\n\\n Tile settlementTile = map.getTile(9, 9);\\n Tile seaTile = map.getTile(10, 9);\\n assertTrue(\\\"Settlement tile should be land\\\", settlementTile.isLand());\\n assertFalse(\\\"Galleon tile should be ocean\\\", seaTile.isLand());\\n FreeColTestCase.IndianSettlementBuilder builder\\n = new FreeColTestCase.IndianSettlementBuilder(game);\\n IndianSettlement camp = builder.player(inca)\\n .settlementTile(settlementTile).initialBravesInCamp(10).build();\\n Unit galleon = new ServerUnit(game, seaTile, dutch, galleonType);\\n int unitsInGalleon = 6;\\n for (int i = 0; i < unitsInGalleon; i++) {\\n Unit artillery = new ServerUnit(game, settlementTile, dutch,\\n artilleryType);\\n igc.embarkUnit(dutch, artillery, galleon);\\n }\\n assertEquals(\\\"Wrong number of units onboard galleon\\\", unitsInGalleon,\\n galleon.getUnitCount());\\n assertEquals(\\\"Galleon should be full\\\", 0, galleon.getSpaceLeft());\\n\\n for (Unit brave : camp.getUnitList()) {\\n AIUnit aiUnit = aiMain.getAIUnit(brave);\\n assertNotNull(aiUnit);\\n aiUnit.setMission(new UnitWanderHostileMission(aiMain, aiUnit));\\n assertEquals(\\\"No enemy units present\\\",\\n UnitWanderHostileMission.class,\\n aiUnit.getMission().getClass());\\n }\\n\\n inca.setStance(dutch, Stance.WAR);\\n inca.setTension(dutch, new Tension(Tension.Level.HATEFUL.getLimit()));\\n assertTrue(\\\"Indian player should be at war with dutch\\\",\\n inca.getStance(dutch) == Stance.WAR);\\n assertEquals(\\\"Wrong Indian player tension towards dutch\\\",\\n Tension.Level.HATEFUL.getLimit(),\\n inca.getTension(dutch).getValue());\\n\\n aiInca.abortInvalidAndOneTimeMissions();\\n aiInca.secureIndianSettlement(camp);\\n boolean seeking = false;\\n for (Unit brave : inca.getUnits()) {\\n AIUnit aiUnit = aiMain.getAIUnit(brave);\\n assertNotNull(aiUnit);\\n if (aiUnit.getMission() instanceof UnitSeekAndDestroyMission) {\\n seeking = true;\\n break;\\n }\\n }\\n assertFalse(\\\"Braves should not pursue naval units\\\", seeking);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7494c1fb8d70521eedbf0d564a4874dd\",\n \"score\": \"0.57819325\",\n \"text\": \"@Test\\n\\tpublic void testAccusation() {\\n\\t\\tgame.setSolution(\\\"Frodo\\\", \\\"Dagger\\\", \\\"The Shire\\\");\\n\\t\\t\\n\\t\\t// Tests to make sure that the function won't return true person isn't correct\\n\\t\\tassertFalse(game.checkAccusation(new Solution(\\\"Gollum\\\", \\\"Dagger\\\", \\\"The Shire\\\")));\\n\\t\\t\\n\\t\\t// Tests to make sure that the function won't return true weapon isn't correct\\n\\t\\tassertFalse(game.checkAccusation(new Solution(\\\"Frodo\\\", \\\"Wizard Staff\\\", \\\"The Shire\\\")));\\n\\t\\t\\t\\t\\n\\t\\t// Tests to make sure that the function won't return true room isn't correct\\n\\t\\tassertFalse(game.checkAccusation(new Solution(\\\"Frodo\\\", \\\"Dagger\\\", \\\"Rivendell\\\")));\\n\\t\\t\\n\\t\\t// Verifies that the function will return true when the correct values are put in\\n\\t\\tassertTrue(game.checkAccusation(new Solution(\\\"Frodo\\\", \\\"Dagger\\\", \\\"The Shire\\\")));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cdb6d49bc24c7756c2b1e8f0ce81c43\",\n \"score\": \"0.57741106\",\n \"text\": \"public void testBeesFar1()\\n { \\n\\n colony.add(bee1, 1, 3);\\n run(colony, 260);\\n bee1.act();\\n chamber.beesInChamber();\\n assertEquals(true, chamber.beesInChamber()); \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9280fd7633f12f489816ce264a380133\",\n \"score\": \"0.57644767\",\n \"text\": \"@Test\\n\\tpublic void queDetectaConexionUbicacion() {\\n\\n\\t\\tString entrada = \\\"taberna\\\";\\n\\t\\tConexion conexionDevuelta = analizador.contieneConexion(entrada, this.muelle.getConexiones());\\n\\t\\tAssert.assertEquals(this.surMuelle, conexionDevuelta);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f094d6d7ab24992b80c304ceb8c0e40\",\n \"score\": \"0.5735628\",\n \"text\": \"@Test\\n public void willAnnoyed() {\\n Planet planet = new Planet(PlanetState.NOTDESTOYED, PlanetPopulation.UNINHABITED);\\n planet.destroy();\\n planet.populate();\\n VogonJeltz jeltz = new VogonJeltz(JeltzState.NORMAL);\\n jeltz.toBeAnnoyed(planet);\\n Assert.assertEquals(JeltzState.ANNOYED, jeltz.getJeltzState());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cca20d898b2b8d8de27ea641197f6bb\",\n \"score\": \"0.57237685\",\n \"text\": \"private Territory botchooseAttackingTerritory() {\\n\\t\\tTelegramBot bot = new TelegramBot();\\n\\t\\tboolean undo = true;\\n\\t\\tTerritory tempTerritory = new Territory();\\n\\t\\twhile(undo) {\\n\\t\\t\\tPlayer currentPlayer = players.get(currentPlayerIndex);\\n\\t\\t\\ttempTerritory = currentPlayer.botchooseAttackingTerritory(getPlayersTerritories(currentPlayer), territories, this);\\n\\t\\t\\tif(tempTerritory == null) {\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\t}\\n\\n\\t\\t\\tString confirmationMessage = \\\"You have chosen to attack from \\\" + tempTerritory.getTerritoryName() + \\\" --yes/no\\\";\\n\\t\\t\\tString n = null;\\n\\t\\t\\tbot.sendplayer(confirmationMessage);\\n\\t\\t\\tbot.cleanmessage();\\n\\t\\t\\tint counter = 0;\\n\\t\\t\\twhile(bot.getmessage() == null && counter < 30) {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tThread.sleep(1000);\\n\\t\\t\\t\\t\\tcounter++;\\n\\t\\t\\t\\t} catch (InterruptedException e) {\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(bot.getmessage()!=null) {\\n\\t\\t\\t\\tn = bot.getmessage();\\n\\t\\t\\t}\\n\\t\\t\\tif(n.equals(\\\"no\\\")) {\\n\\t\\t\\t\\tif(currentPlayer.getCredits() > 0){\\n\\t\\t\\t\\t\\tcurrentPlayer.useCredits(currentPlayer.getCredits()-1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse{\\n\\t\\t\\t\\t\\t//JOptionPane.showMessageDialog(null, \\\"You do not have enough credits to undo your action.\\\");\\n\\t\\t\\t\\t\\tString inputMessage = \\\"You do not have enough credits to undo your action.\\\";\\n\\t\\t\\t\\t\\tbot.sendplayer(inputMessage);\\n\\t\\t\\t\\t\\ttimedAcknowledgement(inputMessage);\\n\\t\\t\\t\\t\\tundo = false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if (n.equals(\\\"yes\\\")) {\\n\\t\\t\\t\\tundo = false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn tempTerritory;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aabb79fc684bcc98d0e8d8bc96c247a\",\n \"score\": \"0.57158214\",\n \"text\": \"@Test\\n\\tpublic void testNotSuicide() {\\n\\t\\tGameStatus status = new GameStatus(model, alien);\\n\\t\\tnew Attack(status).attackMove();\\n\\t\\tassertTrue(alien.isInGame());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a0043b20370ebeda00ff18acf8dc5e8\",\n \"score\": \"0.5707072\",\n \"text\": \"@Test\\n public void companyComplete() {\\n Organization c1 = new Organization(\\\"Google\\\", 100);\\n assertTrue((c1.getOrgName() !=null) && c1.getEmployeeCount() > 0 );\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf14085020c0d807a31d031bd7ddaf11\",\n \"score\": \"0.57012624\",\n \"text\": \"public void testGetStereotypeCompartment() {\\n assertNotNull(\\\"Test method for 'getStereotypeCompartment()' failed.\\\", transition.getStereotypeCompartment());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6179f8816e291375cab91392f1ad9cef\",\n \"score\": \"0.5697259\",\n \"text\": \"public void testGetContestPrizeAccuracy2() throws Exception {\\n ContestPrize contestPrize = bean.getContestPrize(new TCSubject(1), 1, false);\\n assertEquals(\\\"Expects the contest prize is returned properly.\\\", 1, contestPrize.getContestId());\\n assertFalse(\\\"Expects the contest prize is returned properly.\\\", contestPrize.isStudio());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab25c059a54ded833cc12c32a1db7445\",\n \"score\": \"0.56923854\",\n \"text\": \"void attackTerritory(Territory from, Territory to, int troopCount) throws NotYourTerritoryException, NotANeigbourException, NotEnoughTroopsException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d3d75ea94b0e75e2dfd251c2daa7e5d\",\n \"score\": \"0.5690519\",\n \"text\": \"@Test //Trying to attack nothing is ignored\\r\\n public void userSwitchesAttackTargetFromNothingToValid() {\\r\\n g.runInv();\\r\\n g.loadSave(\\\"testData3.txt\\\");\\r\\n \\r\\n Territory wa = m.getTerritory(\\\"West Africa\\\");\\r\\n Territory eg = m.getTerritory(\\\"Egypt\\\");\\r\\n Territory ng = m.getTerritory(\\\"New Guinea\\\");\\r\\n \\r\\n for (int i = 0; i < 8; i++) {\\r\\n //Clicks in West Africa, valid\\r\\n m.handleClick(350, 250);\\r\\n }\\r\\n assertEquals(GamePhase.OFFENSE_BLUE, g.phase());\\r\\n assertEquals(10, wa.getTroops());\\r\\n assertEquals(2, eg.getTroops());\\r\\n assertEquals(2, ng.getTroops());\\r\\n \\r\\n DieRollGenerator.rigDice(new int[] {2, 6, 4, 4, 1});\\r\\n \\r\\n //Clicks in West Africa, valid\\r\\n m.handleClick(350, 250);\\r\\n //Clicks in ocean, invalid\\r\\n m.handleClick(0, 250);\\r\\n //Clicks in Egypt, valid\\r\\n m.handleClick(442, 240);\\r\\n \\r\\n assertEquals(9, wa.getTroops());\\r\\n assertEquals(1, eg.getTroops());\\r\\n assertEquals(2, ng.getTroops());\\r\\n assertEquals(g.getBlue(), wa.getOwner());\\r\\n assertEquals(g.getRed(), eg.getOwner());\\r\\n assertEquals(0, g.getBlue().getScore());\\r\\n assertEquals(0, g.getRed().getScore()); \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"932855b3ce72a5839143a64190cafba7\",\n \"score\": \"0.56773007\",\n \"text\": \"@Override\\n\\t\\tpublic boolean goalTest() {\\n\\t\\t\\treturn ((this.state[0] == goalm) && (this.state[1] == goalc) && (this.state[2] == goalb)); \\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f410a67871b6f9f81c2ce4e6e71a4e37\",\n \"score\": \"0.5668324\",\n \"text\": \"private boolean csDoAssignedWork(Random random, ChangeSet cs) {\\n ServerPlayer owner = (ServerPlayer) getOwner();\\n \\n switch (getState()) {\\n case IMPROVING:\\n // Has the improvement been completed already? Do nothing.\\n TileImprovement ti = getWorkImprovement();\\n if (ti.isComplete()) {\\n setState(UnitState.ACTIVE);\\n return false;\\n }\\n \\n // Otherwise do work\\n int amount = (getType().hasAbility(\\\"model.ability.expertPioneer\\\"))\\n ? 2 : 1;\\n int turns = ti.getTurnsToComplete();\\n if ((turns -= amount) < 0) turns = 0;\\n ti.setTurnsToComplete(turns);\\n setWorkLeft(turns);\\n break;\\n case TO_AMERICA:\\n if (getOwner().isREF()) { // Shorter travel to America for the REF\\n setWorkLeft(0);\\n break;\\n }\\n // Fall through\\n default:\\n setWorkLeft(getWorkLeft() - 1);\\n break;\\n }\\n \\n if (getWorkLeft() == 0) {\\n setWorkLeft(-1);\\n switch (getState()) {\\n case TO_EUROPE:\\n logger.info(toString() + \\\" arrives in Europe\\\");\\n if (getTradeRoute() != null) {\\n setMovesLeft(0);\\n setState(UnitState.ACTIVE);\\n return false;\\n }\\n Europe europe = owner.getEurope();\\n cs.addMessage(See.only(owner),\\n new ModelMessage(ModelMessage.MessageType.DEFAULT,\\n \\\"model.unit.arriveInEurope\\\",\\n europe, this)\\n .add(\\\"%europe%\\\", europe.getNameKey()));\\n setState(UnitState.ACTIVE);\\n break;\\n case TO_AMERICA:\\n logger.info(toString() + \\\" arrives in America\\\");\\n csMove(getVacantEntryLocation(random), random, cs);\\n break;\\n case FORTIFYING:\\n setState(UnitState.FORTIFIED);\\n break;\\n case IMPROVING:\\n csImproveTile(random, cs);\\n return true;\\n default:\\n logger.warning(\\\"Unknown work completed, state=\\\" + getState());\\n setState(UnitState.ACTIVE);\\n break;\\n }\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd16f0b5d41e109698f9ddcf35b07ef5\",\n \"score\": \"0.565076\",\n \"text\": \"@Test\\r\\n\\tpublic void canPutInside1(){\\n\\t\\tChest c = new Chest(null, 0, 0, \\\"\\\", \\\"\\\",false,null, true, new ArrayList());\\r\\n\\t\\tWallet w = new Wallet(null, 0, 0, null, null);\\r\\n\\t\\tassertTrue(c.canPutInside(w));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a203c88cbddda416522c2654ac24ded5\",\n \"score\": \"0.5645085\",\n \"text\": \"public void testSting()\\n { \\n bee1 = new Bee();\\n colony.add(bee1, 5, 4);\\n harant = new HarvesterAnt();\\n colony.add(harant, 4, 4);\\n run(colony, 260);\\n bee1.act();\\n assertEquals(0, harant.getHealth()); \\n assertEquals(3, bee1.getHealth()); \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7e850150c8541d0bb539090b9251a07\",\n \"score\": \"0.56401145\",\n \"text\": \"@Test\\n public final void testBranchCoverageAdmin() {\\n account.setBanned(false);\\n account.setLocked(false);\\n account.setAdmin(true);\\n assertEquals(\\\"Administrator\\\", account.getStatus());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"410c8e957333fb24caeb2bfedcd606c4\",\n \"score\": \"0.56360096\",\n \"text\": \"@Test\\n public void testFortifyByC() {\\n \\n Map territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \\\"30\\\", 30);\\n Map territoryB = performDeltaOnTerritory(getTerritories(PLAYER_B), \\\"15\\\", 1);\\n \\n Map state = ImmutableMap.builder()\\n .put(GameResources.PHASE, GameResources.FORTIFY)\\n .put(PLAYER_A, ImmutableMap.of(\\n GameResources.CARDS, ImmutableList.of(0),\\n GameResources.TERRITORY, getTerritories(PLAYER_A),\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\\n .put(PLAYER_B, ImmutableMap.of(\\n GameResources.CARDS, ImmutableList.of(1),\\n GameResources.TERRITORY, territoryB,\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\\n .put(PLAYER_C, ImmutableMap.of(\\n GameResources.CARDS, GameResources.EMPTYLISTINT,\\n GameResources.TERRITORY, territoryC,\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\\n .put(GameResources.TURN_ORDER, ImmutableList.of(CID, BID, AID))\\n .put(GameResources.DECK, getCardsInRange(2, 43))\\n .build();\\n \\n territoryC = performDeltaOnTerritory(territoryC, \\\"30\\\", -2);\\n territoryC = performDeltaOnTerritory(territoryC, \\\"38\\\", 2);\\n \\n List fortifyTerritoryOfC = ImmutableList.of(\\n new SetTurn(BID),\\n new Set(PLAYER_C, ImmutableMap.of(\\n GameResources.CARDS, GameResources.EMPTYLISTINT,\\n GameResources.TERRITORY, territoryC,\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\\n\\n // Check valid move\\n assertMoveOk(move(CID, state, fortifyTerritoryOfC));\\n\\n // Check invalid move - wrong turn, from invalid states\\n assertHacker(move(BID, state, fortifyTerritoryOfC));\\n assertHacker(move(CID, GameResources.EMPTYSTATE, fortifyTerritoryOfC));\\n assertHacker(move(CID, GameResources.NONEMPTYSTATE, fortifyTerritoryOfC));\\n\\n territoryB = performDeltaOnTerritory(territoryB, \\\"15\\\", -1);\\n territoryB = performDeltaOnTerritory(territoryB, \\\"16\\\", 1);\\n \\n List fortifyTerritoryOfBInWrongTurn = ImmutableList.of(\\n new SetTurn(BID),\\n new Set(PLAYER_B, ImmutableMap.of(\\n GameResources.CARDS, ImmutableList.of(1),\\n GameResources.TERRITORY, territoryB,\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\\n \\n assertHacker(move(CID, state, fortifyTerritoryOfBInWrongTurn));\\n \\n territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \\\"30\\\", -5);\\n territoryC = performDeltaOnTerritory(territoryC, \\\"38\\\", 2);\\n territoryC = performDeltaOnTerritory(territoryC, \\\"41\\\", 3);\\n\\n List fortifyTerritoryOfCWithInvalidMove = ImmutableList.of(\\n new SetTurn(BID),\\n new Set(PLAYER_C, ImmutableMap.of(\\n GameResources.CARDS, GameResources.EMPTYLISTINT,\\n GameResources.TERRITORY, territoryC,\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\\n\\n assertHacker(move(CID, state, fortifyTerritoryOfCWithInvalidMove));\\n\\n territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \\\"30\\\", -5);\\n territoryC = performDeltaOnTerritory(territoryC, \\\"38\\\", 2);\\n\\n List fortifyTerritoryOfCWithIncorrectNumberOfUnits = ImmutableList.of(\\n new SetTurn(BID),\\n new Set(PLAYER_C, ImmutableMap.of(\\n GameResources.CARDS, GameResources.EMPTYLISTINT,\\n GameResources.TERRITORY, territoryC,\\n GameResources.UNCLAIMED_UNITS, 0,\\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\\n\\n assertHacker(move(CID, state, fortifyTerritoryOfCWithIncorrectNumberOfUnits));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef00ec9c092142a0ee5677a235f732c4\",\n \"score\": \"0.5632053\",\n \"text\": \"public void testIsTravelAllowedToward() {\\r\\n for (final Navigation d : Navigation.values()) {\\r\\n assertFalse(f_nowhere.isTravelAllowedToward(d));\\r\\n }\\r\\n for (final Navigation d : Navigation.values()) {\\r\\n if (d == Navigation.EAST) {\\r\\n assertTrue(f_Dayton.isTravelAllowedToward(d));\\r\\n } else {\\r\\n assertFalse(f_Dayton.isTravelAllowedToward(d));\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5e13fb9983ba804f18fe430c3c7a549\",\n \"score\": \"0.56209874\",\n \"text\": \"public void testGetTravelDestinationToward() {\\r\\n for (final Navigation d : Navigation.values()) {\\r\\n assertNull(f_nowhere.getTravelDestinationToward(d));\\r\\n }\\r\\n for (final Navigation d : Navigation.values()) {\\r\\n if (d == Navigation.EAST) {\\r\\n assertEquals(f_Dayton.getTravelDestinationToward(d), f_Columbus);\\r\\n } else {\\r\\n assertNull(f_Dayton.getTravelDestinationToward(d));\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64dc8c929086315c7d224fd1f1b91663\",\n \"score\": \"0.5605535\",\n \"text\": \"@Test\\r\\n\\tpublic void testVacantLandWithCharity() {\\r\\n\\t\\t//creating object using default constructor\\r\\n\\t\\tVacantLand res= new VacantLand();\\r\\n\\t\\tres.setCapitalImprovedValue(400000);\\r\\n\\t\\t//setting the charity of owner to true\\r\\n\\t\\tres.getOwner().setCharity(true);\\r\\n\\t\\tres.setUpExtraServices();\\r\\n\\t\\tdouble value=res.calculateRates();\\r\\n\\t\\t//validating that rate calculated is correct with 20% discount\\r\\n\\t\\tassertEquals(value, 478.0-478.0*0.20, 0.0001);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f08047e03752f30f2cbebb4162f57e8\",\n \"score\": \"0.5604889\",\n \"text\": \"@Test\\n public void testIsEstadoCandidaturasAtribuidas() {\\n System.out.println(\\\"isEstadoCandidaturasAtribuidas\\\");\\n Exposicao m_e = new Exposicao ();\\n ExposicaoCandidaturaAtribuidaStandState instance= new ExposicaoCandidaturaAtribuidaStandState (m_e) ;\\n \\n boolean expResult = true;\\n boolean result = instance.isEstadoCandidaturasAtribuidas();\\n assertEquals(expResult, result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"568a27ea8840ee870e64a63ecc71d32a\",\n \"score\": \"0.55898935\",\n \"text\": \"public void testAntInjure()\\n { \\n WallAnt want = new WallAnt();\\n colony.add(want, 5, 5);\\n colony.add(bee1, 6, 5);\\n run(colony, 100);\\n bee1.act();\\n assertEquals(3, want.getHealth()); \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43d4caaf9e5848965c6ecae7f2fdce2a\",\n \"score\": \"0.55763805\",\n \"text\": \"@Test\\r\\n\\tpublic void testTollLocation1() {\\n\\t\\tSystem.out.println(\\\"*** testTollLocation1\\\");\\r\\n \\tint[][] graph = {\\r\\n {0, 1, 1, 5}, // 0 is source\\r\\n {INF, 0, 1, 1},\\r\\n {INF, INF, 0, 1},\\r\\n {INF, INF, INF, 0}, // 3 is destination\\r\\n };\\r\\n \\t\\r\\n \\t\\r\\n TollLocation tollLocation = new TollLocation();\\r\\n Map tollMap = new HashMap();\\r\\n boolean doesSolutionExist = tollLocation.findTollLocations(graph, tollMap);\\r\\n assertTrue(!doesSolutionExist);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bbe2af99192025f84deeb4a953c6228\",\n \"score\": \"0.55761486\",\n \"text\": \"@Test\\n public void testGetAssistants() {\\n System.out.println(\\\"getAssistants()\\\");\\n \\n controllingCreator = new ControllingCreator(employment.getYear(),\\n employment.getMonth(), costUnit);\\n \\n ControllingAssistant expectedAssistant = new ControllingAssistant();\\n expectedAssistant.setFirstName(assistant.getFirstName());\\n expectedAssistant.setLastName(assistant.getLastName());\\n new BalanceHelper();\\n expectedAssistant.setCosts(0);\\n expectedAssistant.setFlagged(true);\\n \\n assertEquals(controllingCreator.getAssistants(false).get(0).toString(),\\n expectedAssistant.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fc2f393e607cb09d450d7741e1cf956\",\n \"score\": \"0.5572357\",\n \"text\": \"@Test\\n public void notToBeAngry() {\\n Armchair armchair = new Armchair(ArmchairState.NORMAL);\\n armchair.creak();\\n VogonJeltz jeltz = new VogonJeltz(JeltzState.NORMAL);\\n jeltz.become_angry(armchair);\\n Assert.assertNotEquals(JeltzState.ANGRY, jeltz.getJeltzState());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e80277b5ab03a8710db49e578750c89c\",\n \"score\": \"0.55714315\",\n \"text\": \"@Test\\n public void getParentalControlStatusTest(){\\n\\n testTarget.turnParentalControlOn(false);\\n assertEquals(\\\"Parental Control Mode Off\\\", testTarget.getParentalControlStatus());\\n assertEquals(false, testTarget.getParentalControlModeOn());\\n\\n testTarget.turnParentalControlOn(true);\\n assertEquals(\\\"Parental Control Mode On\\\", testTarget.getParentalControlStatus());\\n assertEquals(true, testTarget.getParentalControlModeOn());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ceb3203b95f3157fc6dd000cc866c690\",\n \"score\": \"0.55624545\",\n \"text\": \"void assertGameSituation(int treasury, int player1_cards, int player1_coins, int player2_cards, int player2_coins) {\\n Assertions.assertEquals(treasury, game.theTable().treasury().coins());\\n Assertions.assertEquals(11, game.theTable().courtDeck().cards().size());\\n\\n Assertions.assertEquals(player1_cards, game.theTable().player(1).influenceDeck().cards().size());\\n Assertions.assertEquals(player1_coins, game.theTable().player(1).wallet().coins());\\n\\n Assertions.assertEquals(player2_cards, game.theTable().player(2).influenceDeck().cards().size());\\n Assertions.assertEquals(player2_coins, game.theTable().player(2).wallet().coins());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36bd8af90ef419ea94e67ee37a1a58b4\",\n \"score\": \"0.5559583\",\n \"text\": \"@Test\\n public final void testBranchCoverageNone() {\\n account.setBanned(false);\\n account.setLocked(false);\\n account.setAdmin(false);\\n assertEquals(\\\"Active\\\", account.getStatus());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38fd549d80c3ff59df679036718ec152\",\n \"score\": \"0.55583197\",\n \"text\": \"private void assertTrue(ContaCorrente instance2) {\\n\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a50f63158ea649f2a7c951fc6c6bb38\",\n \"score\": \"0.55575174\",\n \"text\": \"@Test\\r\\n\\tpublic void testHospitalCharity() {\\r\\n\\t\\t//creating object using default constructor\\r\\n\\t\\tHospital res= new Hospital();\\r\\n\\t\\tres.setCapitalImprovedValue(400000);\\r\\n\\t\\tres.getOwner().setCharity(false);\\r\\n\\r\\n\\t\\t//calculating extra service charge\\r\\n\\t\\tres.setUpExtraServices();\\r\\n\\t\\tdouble value=res.calculateRates();\\r\\n\\t\\tassertEquals(value, 4068, 0.0001);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ecc32caed7d8aff5839dff9ecf69d22\",\n \"score\": \"0.5547897\",\n \"text\": \"@Test\\r\\n public void testConfirmaUtilizador() {\\r\\n System.out.println(\\\"confirmaUtilizador\\\");\\r\\n Utilizador u = new Utilizador();\\r\\n RegistoUtilizadores instance = new RegistoUtilizadores();\\r\\n boolean expResult = true;\\r\\n boolean result = instance.confirmaUtilizador(u);\\r\\n assertEquals(expResult, result);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57b310e299b4b4217b04902305fcfdca\",\n \"score\": \"0.55431056\",\n \"text\": \"public void testGetContestPrizeAccuracy1() throws Exception {\\n ContestPrize contestPrize = bean.getContestPrize(new TCSubject(1), 1, true);\\n assertEquals(\\\"Expects the contest prize is returned properly.\\\", 1, contestPrize.getContestId());\\n assertTrue(\\\"Expects the contest prize is returned properly.\\\", contestPrize.isStudio());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdf08d126046e78fa75fb709ffac78dc\",\n \"score\": \"0.5541539\",\n \"text\": \"public final void testClientBuys() {\\n assertFalse(client1.hasADose());\\n\\n dealer.sell();\\n\\n assertTrue(\\\"Client should have a dose because\\\", client1.hasADose());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25f1d4abde52a62c57ff06dfaf974e7a\",\n \"score\": \"0.5539486\",\n \"text\": \"@Test public void performSpecialAttackTest2(){\\n String[] gSpecialAtks = {\\\"Leaf Blade\\\", \\\"Petal Blizzard\\\", \\\"Power Whip\\\",\\\"Seed Bomb\\\", \\\"Solar Beam\\\"};\\n Pokemon p = new Bulbasaur();\\n Pokemon p2 = new Squirtle();\\n String pSA = p.getSpecialAttack();\\n int i = 0;\\n boolean pAtkGrass = false;\\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\\n i++;\\n }\\n if(pAtkGrass){\\n Assert.assertEquals(\\\"String output from special attack on Water Type is not as expected\\\", \\n \\\"Bulbasaur performed \\\" + pSA + \\\" on Squirtle\\\\n It was super effective!\\\",\\n p.performSpecialAttack(p2));\\n }else{\\n Assert.assertEquals(\\\"String output from special attack on Water Type is not as expected\\\", \\n \\\"Bulbasaur performed \\\" + pSA + \\\" on Squirtle\\\", p.performSpecialAttack(p2));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce0b92584cbebb538c563ddb2d86e605\",\n \"score\": \"0.5536643\",\n \"text\": \"public void testGetContestScheduleAccuracy2() throws Exception {\\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 1, false);\\n assertEquals(\\\"Expects the contestSchedule is returned properly.\\\", 1, contestSchedule.getContestId());\\n assertFalse(\\\"Expects the contestSchedule is returned properly.\\\", contestSchedule.isStudio());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a94376147943236c57dcce52add99fa\",\n \"score\": \"0.55229867\",\n \"text\": \"@Test public void performSpecialAttackTest3(){\\n String[] gSpecialAtks = {\\\"Leaf Blade\\\", \\\"Petal Blizzard\\\", \\\"Power Whip\\\",\\\"Seed Bomb\\\", \\\"Solar Beam\\\"};\\n Pokemon p = new Bulbasaur();\\n Pokemon p2 = new Charmander();\\n String pSA = p.getSpecialAttack();\\n int i = 0;\\n boolean pAtkGrass = false;\\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\\n i++;\\n }\\n if(pAtkGrass){\\n Assert.assertEquals(\\\"String output from special attack on Fire Type is not as expected\\\", \\n \\\"Bulbasaur performed \\\" + pSA + \\\" on Charmander\\\\n It was not very effective.\\\",\\n p.performSpecialAttack(p2));\\n }else{\\n Assert.assertEquals(\\\"String output from special attack on Fire Type is not as expected\\\", \\n \\\"Bulbasaur performed \\\" + pSA + \\\" on Charmander\\\", p.performSpecialAttack(p2));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27d56412d9bec9eb1b846ef089557f8c\",\n \"score\": \"0.5511856\",\n \"text\": \"public void testChestIndrawingDangerSign() {\\n \\t// 1. Execute the Classification rule engine to determine patient classifications\\n \\t// 2. Execute the Treatment rule engine to determine patient treatments\\n \\texecuteRuleEngines();\\n \\n // 3. Has the correct number of classifications been determined?\\n assertEquals(\\\"the actual number of patient classifications does not match the expected number\\\",\\n \\t\\t 1, CcmRuleEngineUtilities.calculateStandardClassificationNumber(getPatientAssessment().getDiagnostics()));\\n \\n // 4. Has the correct classification been determined?\\n assertEquals(\\\"incorrect classification assessed\\\", true, CcmRuleEngineUtilities.classificationPresent(getPatientAssessment().getDiagnostics(), \\\"Chest Indrawing\\\"));\\n \\n // 5. Have the correct number of treatments been determined?\\n assertEquals(\\\"the actual number of patient treatments does not match the expected number\\\",\\n \\t\\t 7, CcmRuleEngineUtilities.calculateTotalTreatmentNumber(getPatientAssessment().getDiagnostics()));\\n \\n // 6. Have the correct treatments been determined?\\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\\"REFER URGENTLY to health facility\\\"));\\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\\"Explain why child needs to go to health facility\\\"));\\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\\"Advise to give fluids and continue feeding\\\"));\\n \\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\n \\t\\t\\\"Give first dose of oral antibiotic (Cotrimoxazole adult tablet - 80/400) Age 12 months up to 5 years: 1 tablet\\\"));\\n \\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\\"Advise to keep child warm, if 'child is NOT hot with fever'\\\"));\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\\"Write a referral note\\\"));\\n assertEquals(\\\"incorrect treatment assessed\\\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \\\"Arrange transportation and help solve other difficulties in referral\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad0d74dd4db298224d69e4f08cd4210f\",\n \"score\": \"0.55084795\",\n \"text\": \"@Test\\r\\n\\tpublic\\tvoid\\ttestBattle()\\t{\\r\\n\\t\\tOverallGame testGame\\t=\\tnew\\tOverallGame();\\r\\n\\t\\ttestGame.setGameWindow(new\\tgameWindow(testGame));\\r\\n\\t\\tGame3\\t\\ttestGame3\\t=\\tnew\\tGame3(testGame);\\r\\n\\t\\ttestGame3.getTimer().stop();\\r\\n\\t\\ttestGame3.addPlant(0, 3, \\\"Mangrove\\\");\\r\\n\\t\\ttestGame3.getEnemies().set(0, new Runoff(0,4*Game3.scalor+Game3.xOffset));\\r\\n\\t\\ttestGame3.getEnemies().get(0).grow();\\r\\n\\t\\ttestGame3.getPlants().get(0).setStrength(testGame3.getEnemies().get(0).getHealth().get(1));\\r\\n\\t\\t//First\\t\\tTest\\r\\n\\t\\tint health\\t=\\t150;\\r\\n\\t\\ttestGame3.battle(testGame3.getPlants().get(0), testGame3.getEnemies().get(0));\\r\\n\\t\\tassertTrue(health\\t== testGame3.getEnemies().get(0).getHealth().get(0));\\r\\n\\t\\t//Second\\tTest\\r\\n\\t\\tassertTrue(testGame3.getEnemies().get(0).hasDied\\t==\\ttrue);\\r\\n\\t\\tassertTrue(testGame3.getEnemies().get(0).getLength()\\t==\\t1);\\r\\n\\t\\t//Third\\t\\tTest\\r\\n\\t\\tassertTrue(testGame3.getEnemies().get(0).getFront() != 4*Game3.scalor+Game3.xOffset);\\r\\n\\t\\t//Fourth\\tTest\\r\\n\\t\\ttestGame3.getEnemies().get(0).setStrength(testGame3.getPlants().get(0).getHealth());\\r\\n\\t\\ttestGame3.battle(testGame3.getPlants().get(0), testGame3.getEnemies().get(0));\\r\\n\\t\\tassertTrue(testGame3.getPlants().size()\\t==\\t0);\\r\\n\\t\\tassertTrue(testGame3.getEnemies().get(0).getLength()\\t==\\t0);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6e8de99de2b4f64a3978524921ca7b4\",\n \"score\": \"0.5505628\",\n \"text\": \"@Test\\n public void testSameCity() {\\n Customer customer1 = customerRepository.findByName(\\\"Beethoven\\\");\\n //customer live in jerusalem\\n Customer customer2 = customerRepository.findByName(\\\"Mozart\\\");\\n //restaurant in jerusalem\\n Restaurant restaurant = restaurantRepository.findByName(\\\"meat\\\");\\n Date deliveryTime = new Date(\\\"10/23/2021 10:00:00\\\");\\n\\n Delivery delivery1 = waltService.createOrderAndAssignDriver(customer1, restaurant, deliveryTime);\\n Delivery delivery2 = waltService.createOrderAndAssignDriver(customer2, restaurant, deliveryTime);\\n\\n assertNull(delivery1);\\n assertNotNull(delivery2);\\n assertEquals(delivery2.getDriver().getCity().getName(), delivery2.getRestaurant().getCity().getName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"224a563ee71e05f86ae2ff6071caf0ef\",\n \"score\": \"0.55003554\",\n \"text\": \"public void testRentedAndRenturned()\\r\\n {\\r\\n //test is rented\\r\\n adapter.rented();\\r\\n assertEquals(true, adapter.isRented());\\r\\n //test not rented\\r\\n adapter.returned();\\r\\n assertEquals(false, adapter.isRented());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c12444f0387edef2a08fc46dadfb9b2\",\n \"score\": \"0.54982704\",\n \"text\": \"@Test\\n public void testWithdraw()\\n {\\n Bank myBank = new Bank(\\\"Bank of America\\\");\\n Money myBalance = new Money(400,50);\\n Account myAccount = new Account(\\\"Haidar\\\", 1052382734, myBalance);\\n myBank.addAccount(myAccount);\\n Money myWithdraw = new Money(200,50);\\n myBank.withdraw(1052382734, myWithdraw.getTotalCents());\\n myAccount.deposit(myWithdraw.getTotalCents());\\n\\n assertEquals(\\\"Error in search\\\", myAccount, myBank.search(1052382734));\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49540e5bba19bb57dc4ad3b5e263f0b4\",\n \"score\": \"0.5485016\",\n \"text\": \"@Test\\n\\tpublic void queDetectaConexionPuntoCardinal() {\\n\\n\\t\\tString entrada = \\\"sur\\\";\\n\\t\\tConexion conexionDevuelta = analizador.contieneConexion(entrada, this.muelle.getConexiones());\\n\\t\\tAssert.assertEquals(this.surMuelle, conexionDevuelta);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b70daf4f4b7154a4ef69aab4d16a208\",\n \"score\": \"0.5481129\",\n \"text\": \"@Test public void performSpecialAttackTest1(){\\n String[] gSpecialAtks = {\\\"Leaf Blade\\\", \\\"Petal Blizzard\\\", \\\"Power Whip\\\",\\\"Seed Bomb\\\", \\\"Solar Beam\\\"};\\n Pokemon p = new Bulbasaur();\\n Pokemon p2 = new Bulbasaur();\\n String pSA = p.getSpecialAttack();\\n int i = 0;\\n boolean pAtkGrass = false;\\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\\n i++;\\n }\\n if(pAtkGrass){\\n Assert.assertEquals(\\\"String output from special attack on Bulbasaur is not as expected\\\", \\n \\\"Bulbasaur performed \\\" + pSA + \\\" on Bulbasaur\\\\n It was not very effective.\\\",\\n p.performSpecialAttack(p2));\\n }else{\\n Assert.assertEquals(\\\"String output from special attack on Bulbasaur is not as expected\\\", \\n \\\"Bulbasaur performed \\\" + pSA + \\\" on Bulbasaur\\\\n It was super effective!\\\", p.performSpecialAttack(p2));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"febf37445589b8683673f6dc9abe198e\",\n \"score\": \"0.54763967\",\n \"text\": \"@Test\\n public void testEstAutoSteril() {\\n Case[][] plateau = Utils.plateauDepuisTexte(PLATEAU2);\\n\\n assertTrue(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('a', 'A')));\\n assertTrue(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('e', 'D')));\\n assertFalse(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('f', 'D')));\\n assertFalse(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('e', 'E')));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a40b0294370a5faa4ddfa9de3a4e8cd8\",\n \"score\": \"0.54709315\",\n \"text\": \"boolean hasTransArea();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07c3b0440cee27c423f4fe3594e91be3\",\n \"score\": \"0.5470881\",\n \"text\": \"@Test //Drafting works as normal across two provinces\\r\\n public void draftClickingWorksTwoProvinces() {\\r\\n g.runInv();\\r\\n g.loadSave(\\\"testData1.txt\\\");\\r\\n \\r\\n Territory wa = m.getTerritory(\\\"West Africa\\\");\\r\\n Territory br = m.getTerritory(\\\"Brazil\\\");\\r\\n \\r\\n assertEquals(1, wa.getTroops());\\r\\n assertEquals(1, br.getTroops());\\r\\n \\r\\n //Within West Africa\\r\\n m.handleClick(350, 250);\\r\\n assertEquals(2, wa.getTroops());\\r\\n assertEquals(1, br.getTroops());\\r\\n \\r\\n m.handleClick(350, 250);\\r\\n assertEquals(3, wa.getTroops());\\r\\n assertEquals(1, br.getTroops());\\r\\n \\r\\n //Within Brazil\\r\\n m.handleClick(250, 300);\\r\\n assertEquals(3, wa.getTroops());\\r\\n assertEquals(2, br.getTroops());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3cd65b887e28426e2af5da76e1fd0bb\",\n \"score\": \"0.5469005\",\n \"text\": \"@Override\\r\\n\\tpublic void testCompletness() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b6bfcbf25085370e8467ed72fcc7006\",\n \"score\": \"0.54612327\",\n \"text\": \"@Test\\n public void okTest() {\\n assertEquals(plugin.evaulate(tender2).getType(),\\n TenderIndicatorType.CORRUPTION_TAX_HAVEN.name());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"baa7292b6894699462038e524a39be17\",\n \"score\": \"0.5460079\",\n \"text\": \"@Test\\n public void TestPithingNeedle() {\\n addCard(Zone.HAND, playerA, \\\"Pithing Needle\\\");\\n addCard(Zone.BATTLEFIELD, playerA, \\\"Plains\\\", 1);\\n addCard(Zone.BATTLEFIELD, playerA, \\\"Silvercoat Lion\\\", 1);\\n addCard(Zone.LIBRARY, playerA, \\\"Pillarfield Ox\\\", 1);\\n\\n addCard(Zone.BATTLEFIELD, playerB, \\\"Island\\\", 3);\\n // {2}{U}, {T}: Put target creature on the bottom of its owner's library.\\n // That creature's controller reveals cards from the top of their library until they reveal a creature card.\\n // The player puts that card onto the battlefield and the rest on the bottom of their library in any order.\\n // Activate this ability only any time you could cast a sorcery.\\n addCard(Zone.BATTLEFIELD, playerB, \\\"Proteus Staff\\\", 1);\\n\\n addCard(Zone.BATTLEFIELD, playerC, \\\"Island\\\", 3);\\n addCard(Zone.BATTLEFIELD, playerC, \\\"Proteus Staff\\\", 1);\\n addCard(Zone.BATTLEFIELD, playerC, \\\"Wall of Air\\\", 1);\\n addCard(Zone.LIBRARY, playerC, \\\"Wind Drake\\\", 2);\\n\\n addCard(Zone.BATTLEFIELD, playerD, \\\"Island\\\", 3);\\n addCard(Zone.BATTLEFIELD, playerD, \\\"Eager Cadet\\\", 1);\\n addCard(Zone.LIBRARY, playerD, \\\"Storm Crow\\\", 2);\\n\\n skipInitShuffling();\\n\\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \\\"Pithing Needle\\\");\\n setChoice(playerA, \\\"Proteus Staff\\\");\\n\\n activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerC, \\\"{2}{U}\\\", \\\"Eager Cadet\\\"); // allowed because Needle out of range\\n\\n activateAbility(4, PhaseStep.PRECOMBAT_MAIN, playerB, \\\"{2}{U}\\\", \\\"Wall of Air\\\"); // not allowed\\n\\n setStopAt(4, PhaseStep.END_TURN);\\n try {\\n execute();\\n Assert.fail(\\\"must throw exception on execute\\\");\\n } catch (Throwable e) {\\n if (!e.getMessage().contains(\\\"Can't find ability to activate command: {2}{U}$target=Wall of Air\\\")) {\\n Assert.fail(\\\"Should have thrown an error about PlayerB not being able to use the staff to target Wall of Air, but got:\\\\n\\\" + e.getMessage());\\n }\\n }\\n\\n assertPermanentCount(playerD, \\\"Eager Cadet\\\", 0);\\n assertPermanentCount(playerD, \\\"Storm Crow\\\", 1);\\n assertPermanentCount(playerC, \\\"Wall of Air\\\", 1);\\n assertPermanentCount(playerC, \\\"Wind Drake\\\", 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4647a10bf18a4f5ae99b83339cef097d\",\n \"score\": \"0.5455974\",\n \"text\": \"@Test\\r\\n\\tpublic void testAdd_Territory() {\\r\\n\\t\\tnew_continent = new Continent(\\\"new_continent_name\\\" , 1);\\r\\n\\t\\tnew_territory = new Territory(\\\"new_territory_name\\\",120,300,\\\"test_name_continent\\\");\\r\\n\\t\\tboolean result = new_continent.Add_Territory(new_territory);\\r\\n\\t\\tAssert.assertTrue(result);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"345b1a4e132bf629d8977e25ce05ece6\",\n \"score\": \"0.5449961\",\n \"text\": \"@Test\\n public void testBordering(){\\n Territory Alaska = new Territory(\\\"Alaska\\\");\\n Territory Alberta = new Territory(\\\"Alberta\\\");\\n Alaska.addBorderTerritories(Alberta);\\n Alberta.addBorderTerritories(Alaska);\\n assertEquals(\\\"Alaska\\\",Alberta.getBorderTerritories().get(0).getName());\\n assertEquals(\\\"Alberta\\\",Alaska.getBorderTerritories().get(0).getName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdecfd55de1cfea7fa6c8f8ce7e3950b\",\n \"score\": \"0.54462236\",\n \"text\": \"@Test\\n public void hasSpecialAbility(){\\n dwarve.specialAbility();\\n assertEquals(8, dwarve.getBaseAttack());\\n assertEquals(6, dwarve.getBaseResistance());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09aa4d6753bab4aba1d48ef559c97aca\",\n \"score\": \"0.5443814\",\n \"text\": \"boolean hasTransAgency();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff7a8055b894421b5fe3290a087bd574\",\n \"score\": \"0.5442859\",\n \"text\": \"public void testCargoFromHongkongToStockholm() throws Exception {\\n Location origin = HONGKONG;\\n Location destination = STOCKHOLM;\\n Date arrivalDeadline = toDate(\\\"2009-03-18\\\");\\n\\n /*\\n * Use case 1: booking A new cargo is booked, and the unique tracking id is\\n * assigned to the cargo.\\n */\\n TrackingId trackingId = bookingService.bookNewCargo(origin.unLocode(),\\n destination.unLocode(),\\n arrivalDeadline);\\n\\n /*\\n * The tracking id can be used to lookup the cargo in the repository.\\n * Important: The cargo, and thus the domain model, is responsible for\\n * determining the status of the cargo, whether it is on the right track or\\n * not and so on. This is core domain logic. Tracking the cargo basically\\n * amounts to presenting information extracted from the cargo aggregate in a\\n * suitable way.\\n */\\n Cargo cargo = cargoRepository.find(trackingId);\\n assertNotNull(cargo);\\n assertEquals(NOT_RECEIVED, cargo.delivery().transportStatus());\\n assertEquals(NOT_ROUTED, cargo.delivery().routingStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertNull(cargo.delivery().estimatedTimeOfArrival());\\n assertNull(cargo.delivery().nextExpectedActivity());\\n\\n /*\\n * Use case 2: routing A number of possible routes for this cargo is\\n * requested and may be presented to the customer in some way for him/her to\\n * choose from. Selection could be affected by things like price and time of\\n * delivery, but this test simply uses an arbitrary selection to mimic that\\n * process. The cargo is then assigned to the selected route, described by\\n * an itinerary.\\n */\\n List itineraries = bookingService.requestPossibleRoutesForCargo(trackingId);\\n Itinerary itinerary = selectPreferedItinerary(itineraries);\\n cargo.assignToRoute(itinerary);\\n\\n assertEquals(NOT_RECEIVED, cargo.delivery().transportStatus());\\n assertEquals(ROUTED, cargo.delivery().routingStatus());\\n assertNotNull(cargo.delivery().estimatedTimeOfArrival());\\n assertEquals(new HandlingActivity(RECEIVE, HONGKONG), cargo.delivery().nextExpectedActivity());\\n\\n /*\\n * Use case 3: handling A handling event registration attempt will be formed\\n * from parsing the data coming in as a handling report either via the web\\n * service interface or as an uploaded CSV file. The handling event factory\\n * tries to create a HandlingEvent from the attempt, and if the factory\\n * decides that this is a plausible handling event, it is stored. If the\\n * attempt is invalid, for example if no cargo exists for the specfied\\n * tracking id, the attempt is rejected. Handling begins: cargo is received\\n * in Hongkong.\\n */\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-01\\\"),\\n trackingId,\\n null,\\n HONGKONG.unLocode(),\\n RECEIVE);\\n\\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\\n assertEquals(HONGKONG, cargo.delivery().lastKnownLocation());\\n\\n // Next event: Load onto voyage CM003 in Hongkong\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-03\\\"),\\n trackingId,\\n v100.voyageNumber(),\\n HONGKONG.unLocode(),\\n LOAD);\\n\\n // Check current state - should be ok\\n assertEquals(v100, cargo.delivery().currentVoyage());\\n assertEquals(HONGKONG, cargo.delivery().lastKnownLocation());\\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertEquals(new HandlingActivity(UNLOAD, NEWYORK, v100), cargo.delivery().nextExpectedActivity());\\n\\n /*\\n * Here's an attempt to register a handling event that's not valid because\\n * there is no voyage with the specified voyage number, and there's no\\n * location with the specified UN Locode either. This attempt will be\\n * rejected and will not affect the cargo delivery in any way.\\n */\\n final VoyageNumber noSuchVoyageNumber = new VoyageNumber(\\\"XX000\\\");\\n final UnLocode noSuchUnLocode = new UnLocode(\\\"ZZZZZ\\\");\\n try {\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-05\\\"),\\n trackingId,\\n noSuchVoyageNumber,\\n noSuchUnLocode,\\n LOAD);\\n fail(\\\"Should not be able to register a handling event with invalid location and voyage\\\");\\n }\\n catch (CannotCreateHandlingEventException expected) {\\n }\\n\\n // Cargo is now (incorrectly) unloaded in Tokyo\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-05\\\"),\\n trackingId,\\n v100.voyageNumber(),\\n TOKYO.unLocode(),\\n UNLOAD);\\n\\n // Check current state - cargo is misdirected!\\n assertEquals(NONE, cargo.delivery().currentVoyage());\\n assertEquals(TOKYO, cargo.delivery().lastKnownLocation());\\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\\n assertTrue(cargo.delivery().isMisdirected());\\n assertNull(cargo.delivery().nextExpectedActivity());\\n\\n // -- Cargo needs to be rerouted --\\n\\n // TODO cleaner reroute from \\\"earliest location from where the new route originates\\\"\\n\\n // Specify a new route, this time from Tokyo (where it was incorrectly unloaded) to Stockholm\\n RouteSpecification fromTokyo = new RouteSpecification(TOKYO, STOCKHOLM, arrivalDeadline);\\n cargo.specifyNewRoute(fromTokyo);\\n\\n // The old itinerary does not satisfy the new specification\\n assertEquals(MISROUTED, cargo.delivery().routingStatus());\\n assertNull(cargo.delivery().nextExpectedActivity());\\n\\n // Repeat procedure of selecting one out of a number of possible routes satisfying the route spec\\n List newItineraries = bookingService.requestPossibleRoutesForCargo(cargo.trackingId());\\n Itinerary newItinerary = selectPreferedItinerary(newItineraries);\\n cargo.assignToRoute(newItinerary);\\n\\n // New itinerary should satisfy new route\\n assertEquals(ROUTED, cargo.delivery().routingStatus());\\n\\n // TODO we can't handle the face that after a reroute, the cargo isn't misdirected anymore\\n //assertFalse(cargo.isMisdirected());\\n //assertEquals(new HandlingActivity(LOAD, TOKYO), cargo.nextExpectedActivity());\\n\\n // -- Cargo has been rerouted, shipping continues --\\n\\n // Load in Tokyo\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-08\\\"),\\n trackingId,\\n v300.voyageNumber(),\\n TOKYO.unLocode(),\\n LOAD);\\n\\n // Check current state - should be ok\\n assertEquals(v300, cargo.delivery().currentVoyage());\\n assertEquals(TOKYO, cargo.delivery().lastKnownLocation());\\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertEquals(new HandlingActivity(UNLOAD, HAMBURG, v300), cargo.delivery().nextExpectedActivity());\\n\\n // Unload in Hamburg\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-12\\\"),\\n trackingId,\\n v300.voyageNumber(),\\n HAMBURG.unLocode(),\\n UNLOAD);\\n\\n // Check current state - should be ok\\n assertEquals(NONE, cargo.delivery().currentVoyage());\\n assertEquals(HAMBURG, cargo.delivery().lastKnownLocation());\\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertEquals(new HandlingActivity(LOAD, HAMBURG, v400), cargo.delivery().nextExpectedActivity());\\n\\n // Load in Hamburg\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-14\\\"),\\n trackingId,\\n v400.voyageNumber(),\\n HAMBURG.unLocode(),\\n LOAD);\\n\\n // Check current state - should be ok\\n assertEquals(v400, cargo.delivery().currentVoyage());\\n assertEquals(HAMBURG, cargo.delivery().lastKnownLocation());\\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertEquals(new HandlingActivity(UNLOAD, STOCKHOLM, v400), cargo.delivery().nextExpectedActivity());\\n\\n // Unload in Stockholm\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-15\\\"),\\n trackingId,\\n v400.voyageNumber(),\\n STOCKHOLM.unLocode(),\\n UNLOAD);\\n\\n // Check current state - should be ok\\n assertEquals(NONE, cargo.delivery().currentVoyage());\\n assertEquals(STOCKHOLM, cargo.delivery().lastKnownLocation());\\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertEquals(new HandlingActivity(CLAIM, STOCKHOLM), cargo.delivery().nextExpectedActivity());\\n\\n // Finally, cargo is claimed in Stockholm. This ends the cargo lifecycle from our perspective.\\n handlingEventService.registerHandlingEvent(toDate(\\\"2009-03-16\\\"),\\n trackingId,\\n null,\\n STOCKHOLM.unLocode(),\\n CLAIM);\\n\\n // Check current state - should be ok\\n assertEquals(NONE, cargo.delivery().currentVoyage());\\n assertEquals(STOCKHOLM, cargo.delivery().lastKnownLocation());\\n assertEquals(CLAIMED, cargo.delivery().transportStatus());\\n assertFalse(cargo.delivery().isMisdirected());\\n assertNull(cargo.delivery().nextExpectedActivity());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d734c6c5c3f07b8313f571e166b805e\",\n \"score\": \"0.5439896\",\n \"text\": \"public void setaTerritory(RiskTerritoryModel test) {\\n\\t\\taTerritory = test;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea2def7b0de525325dbdb8becd5a08d4\",\n \"score\": \"0.54390174\",\n \"text\": \"private Territory botchooseTerritoryToAttack(Territory attackingTerritory) {\\n\\t\\t\\tTelegramBot bot = new TelegramBot();\\n\\t\\t\\tboolean undo = true;\\n\\t\\t\\tTerritory tempTerritory = new Territory();\\n\\t\\t\\twhile(undo) {\\n\\t\\t\\t\\ttempTerritory = players.get(currentPlayerIndex).botchooseTerritoryToAttack(attackingTerritory, territories, this);\\n\\t\\t\\t\\tif(tempTerritory == null) {\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString confirmationMessage = \\\"You have chosen to attack \\\" + tempTerritory.getTerritoryName() + \\\" --yes/no\\\";\\n\\t\\t\\t\\tString n = null;\\n\\t\\t\\t\\tbot.sendplayer(confirmationMessage);\\n\\t\\t\\t\\tbot.cleanmessage();\\n\\t\\t\\t\\tint counter = 0;\\n\\t\\t\\t\\twhile(bot.getmessage() == null && counter < 30) {\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tThread.sleep(1000);\\n\\t\\t\\t\\t\\t\\tcounter++;\\n\\t\\t\\t\\t\\t} catch (InterruptedException e) {\\n\\t\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(bot.getmessage() != null) {\\n\\t\\t\\t\\t\\tn = bot.getmessage();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(n.equals(\\\"no\\\")) {\\n\\t\\t\\t\\t\\tif(players.get(currentPlayerIndex).getCredits() > 0){\\n\\t\\t\\t\\t\\t\\tplayers.get(currentPlayerIndex).useCredits(players.get(currentPlayerIndex).getCredits()-1);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse{\\n\\t\\t\\t\\t\\t\\t//JOptionPane.showMessageDialog(null, \\\"You do not have enough credits to undo your action.\\\");\\n\\t\\t\\t\\t\\t\\tString inputMessage = \\\"You do not have enough credits to undo your action.\\\";\\n\\t\\t\\t\\t\\t\\tbot.sendmessage(inputMessage);\\n\\t\\t\\t\\t\\t\\ttimedAcknowledgement(inputMessage);\\n\\t\\t\\t\\t\\t\\tundo = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else if (n.equals(\\\"yes\\\")) {\\n\\t\\t\\t\\t\\tundo = false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn tempTerritory;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1183582503d463a076ac7b2d35150b1\",\n \"score\": \"0.54358023\",\n \"text\": \"public void testHarvesterAntAct()\\n { \\n harant = new HarvesterAnt();\\n colony.add(harant, 5, 5);\\n colony.add(bee1, 5, 4);\\n run(colony, 40);\\n harant.act();\\n assertEquals(11, colony.getFood()); \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df25c97d1a42b898324fff30949fe9b3\",\n \"score\": \"0.5433976\",\n \"text\": \"public void checkStateAndPerformActions()\\n {\\n //update the map square to the current ants map square\\n //\\n this.setMapSpaceToUse(this.getSoldierAnt().getCurrentMapSpace());\\n randomMove.setCurrentMapSpace(this.getMapSpaceToUse());\\n \\n //check if enemy is on our square\\n //setting ant to null and isEnemyOnSquare to false to start with clean slate\\n //\\n this.setAntWhoIsDefending(null);\\n this.isEnemyOnSquare = false;\\n Class enemy = BalaAnt.class;\\n MapSpace tempMapSpace = null;\\n BalaAnt enenmyInQuestion = null;\\n boolean enemyFound = false;\\n \\n //ugh this is not effiecent to check the map square each time\\n //\\n for (Object antToTest : this.getMapSpaceToUse().getAntsOnMapSpace()) \\n {\\n if(!antToTest.equals(this))\\n {\\n if (enemy.isInstance(antToTest)) \\n {\\n enenmyInQuestion = (BalaAnt)antToTest;\\n \\n //check to make sure we dont attack dead ants\\n //\\n if(!enenmyInQuestion.isDead())\\n {\\n this.setAntWhoIsDefending((BalaAnt)antToTest);\\n this.isEnemyOnSquare = true;\\n }\\n }\\n }\\n }\\n \\n if(this.isEnemyOnSquare)\\n {\\n attack.setDefenderAnt(this.getAntWhoIsDefending());\\n attack.performAction();\\n }\\n else\\n {\\n //look around for enemy ants and if found move there else random move\\n //\\n this.mapSqauresAround = this.getMapSpaceToUse().getMapInfoObject().listOfValidMapSquaresBasedOnRadius(\\n this.getSoldierAnt().getAwarenessRadius(), \\n this.getMapSpaceToUse());\\n \\n //now to look inside each mapspace and see if there is any around in valid mapspaces\\n //\\n for(MapSpace ms : this.mapSqauresAround)\\n {\\n enenmyInQuestion = null;\\n \\n //dont test the square we are currently on\\n //\\n if(!ms.equals(this.getMapSpaceToUse()) && (!enemyFound))\\n {\\n if(this.isDoesMovesToMapSpaceNeedUncovering())\\n {\\n if(ms.isDiscovered())\\n {\\n tempMapSpace = ms;\\n }\\n }\\n else\\n {\\n tempMapSpace = ms;\\n }\\n \\n //ok now loop thru that map space looking for enemies\\n //\\n //ugh this is not effiecent to check the map square each time\\n //\\n if(tempMapSpace != null)\\n {\\n for (Object antToTest : tempMapSpace.getAntsOnMapSpace()) \\n {\\n if (enemy.isInstance(antToTest)) \\n {\\n enenmyInQuestion = (BalaAnt)antToTest;\\n //check to make sure we dont attack dead ants\\n //\\n if(!enenmyInQuestion.isDead())\\n {\\n this.setAntWhoIsDefending(enenmyInQuestion);\\n this.isEnemyOnSquare = true;\\n enemyFound = true;\\n break;\\n }\\n }\\n }\\n }\\n \\n }\\n \\n }\\n \\n if(this.isEnemyOnSquare)\\n {\\n //move to enemy\\n //\\n this.getMapSpaceToUse().removeAntOnMapSpace(this.getSoldierAnt());\\n this.setMapSpaceToUse(tempMapSpace);\\n this.getMapSpaceToUse().addAntOnMapSpace(this.getSoldierAnt());\\n this.getSoldierAnt().setCurrentMapSpace(this.getMapSpaceToUse());\\n this.getSoldierAnt().addToHistoryOfMapMoves(this.getMapSpaceToUse());\\n \\n }\\n else\\n {\\n //random move\\n //\\n this.randomMove.performAction();\\n }\\n \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8aff89d2c668d0e55dc151472158902\",\n \"score\": \"0.543373\",\n \"text\": \"@Test\\n public void testChoose(){\\n Clorus c = new Clorus(1.2);\\n HashMap surround = new HashMap();\\n surround.put(Direction.TOP, new Impassible());\\n surround.put(Direction.BOTTOM, new Impassible());\\n surround.put(Direction.LEFT, new Impassible());\\n surround.put(Direction.RIGHT, new Impassible());\\n\\n Action actual = c.chooseAction(surround);\\n Action expect = new Action(Action.ActionType.STAY);\\n\\n assertEquals(expect,actual);\\n\\n //any plip around, attack\\n c = new Clorus(1.2);\\n surround = new HashMap();\\n surround.put(Direction.TOP, new Plip());\\n surround.put(Direction.BOTTOM, new Impassible());\\n surround.put(Direction.LEFT, new Impassible());\\n surround.put(Direction.RIGHT, new Impassible());\\n\\n actual = c.chooseAction(surround);\\n expect = new Action(Action.ActionType.STAY);\\n\\n assertEquals(expect,actual);\\n\\n c = new Clorus(0.8);\\n surround = new HashMap();\\n surround.put(Direction.TOP, new Plip());\\n surround.put(Direction.BOTTOM, new Empty());\\n surround.put(Direction.LEFT, new Impassible());\\n surround.put(Direction.RIGHT, new Impassible());\\n\\n actual = c.chooseAction(surround);\\n expect = new Action(Action.ActionType.ATTACK, Direction.TOP);\\n\\n assertEquals(expect,actual);\\n\\n // Energy >= 1; replicate towards an empty space.\\n c = new Clorus(1.2);\\n HashMap topEmpty = new HashMap();\\n topEmpty.put(Direction.TOP, new Empty());\\n topEmpty.put(Direction.BOTTOM, new Impassible());\\n topEmpty.put(Direction.LEFT, new Impassible());\\n topEmpty.put(Direction.RIGHT, new Impassible());\\n\\n actual = c.chooseAction(topEmpty);\\n expect = new Action(Action.ActionType.REPLICATE, Direction.TOP);\\n\\n assertEquals(expect, actual);\\n\\n // Energy < 1; replicate towards an empty space.\\n c = new Clorus(0.8);\\n topEmpty = new HashMap();\\n topEmpty.put(Direction.TOP, new Empty());\\n topEmpty.put(Direction.BOTTOM, new Impassible());\\n topEmpty.put(Direction.LEFT, new Impassible());\\n topEmpty.put(Direction.RIGHT, new Impassible());\\n\\n actual = c.chooseAction(topEmpty);\\n expect = new Action(Action.ActionType.MOVE, Direction.TOP);\\n\\n assertEquals(expect, actual);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd82c8a5579e044db482f62528ba278f\",\n \"score\": \"0.54327816\",\n \"text\": \"@Test\\n\\tpublic void testEnter() {\\n\\t\\tDoor test = new Door(inSite, outSite, myKey);\\n\\t\\tRoom start = thePlayer.getLoc(); \\n\\t\\ttest.enter(thePlayer); \\n\\t\\tassertEquals(start,thePlayer.getLoc());\\n\\t\\t\\n\\t\\tthePlayer.pickUp(myKey);\\n\\t\\ttest.enter(thePlayer);\\n\\t\\tassertEquals(start,thePlayer.getLoc());\\n\\t\\t\\n\\t\\tRoom in = new Room();\\n\\t\\tRoom out = new Room();\\n\\t\\tDoor test2 = new Door(in,out,myKey);\\n\\t\\tthePlayer.setLoc(in);\\n\\t\\ttest2.enter(thePlayer);\\n\\t\\t\\n\\t\\tthePlayer.drop(0);\\n\\t\\ttest2.enter(thePlayer); \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e228ba2c5961608d15fa3a0cebcb0ef7\",\n \"score\": \"0.5432473\",\n \"text\": \"@Test\\n public void test2() throws HSException {\\n\\n BruteForceSearchAI ai0 = BruteForceSearchAI.buildStandardAI1();\\n List ab = ai0.playTurn(0, board.data_);\\n BoardModel resBoard0 = ab.get(ab.size() - 1).board;\\n PlayerModel currentPlayer = resBoard0.modelForSide(PlayerSide.CURRENT_PLAYER);\\n PlayerModel waitingPlayer = resBoard0.modelForSide(PlayerSide.WAITING_PLAYER);\\n\\n assertEquals(resBoard0.getCurrentPlayer().getHand().size(), 0);\\n assertEquals(currentPlayer.getNumMinions(), 3);\\n assertEquals(waitingPlayer.getNumMinions(), 0);\\n assertEquals(resBoard0.getCurrentPlayer().getMana(), 7);\\n assertEquals(resBoard0.getWaitingPlayer().getMana(), 8);\\n assertEquals(resBoard0.getCurrentPlayer().getHero().getHealth(), 30);\\n assertEquals(resBoard0.getWaitingPlayer().getHero().getHealth(), 28);\\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_1).getTotalHealth(), 1);\\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_2).getTotalHealth(), 2);\\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_3).getTotalHealth(), 5);\\n\\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_1).getTotalAttack(), 3);\\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_2).getTotalAttack(), 2);\\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_3).getTotalAttack(), 7);\\n\\n int origHealthMinion1 = 2;\\n int origHealthMinion2 = 5;\\n\\n BoardModel resBoard1 = Game.endTurn(resBoard0);\\n currentPlayer = resBoard1.modelForSide(PlayerSide.CURRENT_PLAYER);\\n\\n log.info(\\\"Raid Leader Health = \\\" + currentPlayer.getCharacter(CharacterIndex.MINION_2).getHealth());\\n log.info(\\\"Boulderfist Ogre Health = \\\" + currentPlayer.getCharacter(CharacterIndex.MINION_3).getHealth());\\n\\n assertTrue((currentPlayer.getCharacter(CharacterIndex.MINION_2).getHealth() != origHealthMinion1)\\n ^ (currentPlayer.getCharacter(CharacterIndex.MINION_3).getHealth() != origHealthMinion2));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b9aee061fd5155f4a71a8b521b6a764\",\n \"score\": \"0.5428995\",\n \"text\": \"public void testIsCommitted() {\\n assertFalse(\\\"isCommitted method should return false\\\", review.isCommitted());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87c33cb6421d6b9f16087bd7c8478c0e\",\n \"score\": \"0.54249233\",\n \"text\": \"public void checkStateAndPerformActions()\\n {\\n //update mapspace\\n //\\n this.setMapSpaceToUse(this.getBalaAnt().getCurrentMapSpace());\\n randomMove.setCurrentMapSpace(this.getMapSpaceToUse());\\n colonyMove.setCurrentMapSpace(this.getMapSpaceToUse());\\n \\n //check if enemy is on our square\\n //setting ant to null and isEnemyOnSquare to false to start with clean slate\\n //\\n this.setAntWhoIsDefending(null);\\n this.isEnemyOnSquare = false;\\n Class freindly = BalaAnt.class;\\n \\n Ant enenmyInQuestion = null;\\n \\n //ugh this is not effiecent to check the map square each time\\n //\\n for (Object antToTest : this.getMapSpaceToUse().getAntsOnMapSpace()) \\n {\\n if(!antToTest.equals(this))\\n {\\n if (!freindly.isInstance(antToTest)) \\n {\\n \\n enenmyInQuestion = (Ant)antToTest;\\n \\n //check to make sure we dont attack dead ants\\n //\\n if(!enenmyInQuestion.isDead())\\n {\\n this.setAntWhoIsDefending(enenmyInQuestion);\\n this.isEnemyOnSquare = true;\\n }\\n }\\n }\\n }\\n \\n if(this.isEnemyOnSquare)\\n {\\n attack.setDefenderAnt(this.getAntWhoIsDefending());\\n attack.performAction();\\n }\\n else\\n {\\n \\n if(this.getMapSpaceToUse().isColonySpace())\\n {\\n //move in the colony\\n //\\n this.colonyMove.performAction();\\n \\n }\\n else\\n {\\n //random move\\n //\\n this.randomMove.performAction();\\n }\\n \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ba0dcc4bb34d6d9426f54a183b1882f\",\n \"score\": \"0.5423894\",\n \"text\": \"public void testAR1056()\\n {\\n\\t\\tNodeRef workingCopy = this.cociService.checkout(\\n\\t\\t\\t\\tthis.nodeRef, \\n\\t\\t\\t\\tthis.rootNodeRef, \\n\\t\\t\\t\\tContentModel.ASSOC_CHILDREN, \\n\\t\\t\\t\\tQName.createQName(\\\"workingCopy\\\"));\\n\\t\\tassertNotNull(workingCopy);\\n\\t\\t\\n\\t\\t// Try and check the same node out again\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tthis.cociService.checkout(\\n\\t\\t\\t\\tthis.nodeRef, \\n\\t\\t\\t\\tthis.rootNodeRef, \\n\\t\\t\\t\\tContentModel.ASSOC_CHILDREN, \\n\\t\\t\\t\\tQName.createQName(\\\"workingCopy2\\\"));\\n\\t\\t\\tfail(\\\"This document has been checked out twice.\\\");\\n\\t\\t}\\n\\t\\tcatch (Exception exception)\\n\\t\\t{\\n\\t\\t\\t// Good because we shouldnt be able to checkout a document twice\\n\\t\\t}\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f015113adf8d953e9bd090ab9c606e4\",\n \"score\": \"0.5421208\",\n \"text\": \"public void testGetContestScheduleAccuracy3() throws Exception {\\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 3, false);\\n assertEquals(\\\"Expects the contestSchedule is returned properly.\\\", 3, contestSchedule.getContestId());\\n assertFalse(\\\"Expects the contestSchedule is returned properly.\\\", contestSchedule.isStudio());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec86bb08704650c24da64f20b84e2f42\",\n \"score\": \"0.5420407\",\n \"text\": \"@Test\\n\\tpublic void tt(){\\n\\t\\t\\n\\t\\tDealDetail detail = new DealDetail();\\n\\t\\tErrorInfo error = new ErrorInfo();\\n\\t\\tdetail.checkWithdraw(error);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8388a4b5483de2d9a93c97b6c407d95\",\n \"score\": \"0.5418974\",\n \"text\": \"@Test\\n public void shouldCheckIfSomeoneWon(){\\n TicTacToe testGame1 = new TicTacToe();\\n assertFalse(testGame1.checkWinCon(), \\\"wincon 1\\\");\\n testGame1.makeMove('X',0,0);\\n testGame1.makeMove('X',1,0);\\n testGame1.makeMove('X',2,0);\\n assertFalse(testGame1.checkWinCon(), \\\"wincon 2\\\");\\n testGame1.makeMove('O',0,2);\\n testGame1.makeMove('O',1,2);\\n assertTrue(testGame1.checkWinCon(), \\\"wincon 3\\\");\\n testGame1.makeMove('O',2,2);\\n testGame1.makeMove('X',0,1);\\n testGame1.makeMove('O',1,1);\\n testGame1.makeMove('X',2,1);\\n assertTrue(testGame1.checkWinCon(), \\\"wincon 4\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc8b118780967c9705f20b97f90121b1\",\n \"score\": \"0.5417648\",\n \"text\": \"@Test\\n public void isNeighboorOf_Sector() {\\n Sector sector0 = new Sector();\\n Sector sector1 = new Sector();\\n Sector sector2 = new Sector();\\n\\n //sector0.addNeighboor(sector1.ID());\\n\\n assertTrue(sector0.isNeighboorOf(sector1));\\n assertFalse(sector0.isNeighboorOf(sector2));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98c0fa78c04965f948b1801bb4192172\",\n \"score\": \"0.54046404\",\n \"text\": \"@Test\\n public final void testBranchCoverageLocked() {\\n account.setBanned(false);\\n account.setLocked(true);\\n account.setAdmin(false);\\n assertEquals(\\\"Locked\\\", account.getStatus());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1cd01ad6310f6322afb397771a5f0b8\",\n \"score\": \"0.5394648\",\n \"text\": \"public void testIntersection()\\n {\\n \\tassertEquals(LocationTools.intersection(r1, r1),\\n \\t\\t new PointLocation(1));\\n\\tassertEquals(LocationTools.intersection(r1, r3),\\n \\t\\t Location.empty);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04ad1d6f1c5535bb64162d41c995d1f6\",\n \"score\": \"0.53910816\",\n \"text\": \"@Test\\n public void GainedInfectByEnchantment() {\\n // Trample\\n // Whenever a source deals damage to Phyrexian Obliterator, that source's controller sacrifices that many permanents.\\n addCard(Zone.BATTLEFIELD, playerB, \\\"Phyrexian Obliterator\\\");\\n\\n // Enchant creature\\n // You control enchanted creature.\\n // Enchanted creature has infect. (It deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)\\n addCard(Zone.HAND, playerA, \\\"Corrupted Conscience\\\"); // Enchantment {3}{U}{U}\\n // Enchant creature\\n // You control enchanted creature.\\n // At the beginning of your upkeep, enchanted creature deals 1 damage to its owner.\\n addCard(Zone.HAND, playerA, \\\"Enslave\\\"); // Enchantment {4}{B}{B}\\n addCard(Zone.BATTLEFIELD, playerA, \\\"Swamp\\\", 9);\\n addCard(Zone.BATTLEFIELD, playerA, \\\"Island\\\", 2);\\n\\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \\\"Corrupted Conscience\\\", \\\"Phyrexian Obliterator\\\");\\n waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);\\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \\\"Enslave\\\", \\\"Phyrexian Obliterator\\\");\\n\\n setStopAt(3, PhaseStep.POSTCOMBAT_MAIN);\\n execute();\\n\\n assertPermanentCount(playerA, \\\"Phyrexian Obliterator\\\", 1);\\n assertPermanentCount(playerA, \\\"Corrupted Conscience\\\", 1);\\n assertPermanentCount(playerA, \\\"Enslave\\\", 1);\\n\\n assertAbility(playerA, \\\"Phyrexian Obliterator\\\", InfectAbility.getInstance(), true);\\n\\n assertLife(playerA, 20);\\n assertLife(playerB, 20);\\n\\n assertCounterCount(playerB, CounterType.POISON, 1);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b5b33455714f80d66109f3bfb28d2c6\",\n \"score\": \"0.5384176\",\n \"text\": \"@Test\\n public void testSorceryCostReduction() {\\n addCard(Zone.HAND, playerA, mageDuel);\\n addCard(Zone.HAND, playerA, festivalOfTrokin);\\n addCard(Zone.BATTLEFIELD, playerA, \\\"Plains\\\");\\n addCard(Zone.BATTLEFIELD, playerA, \\\"Forest\\\");\\n addCard(Zone.BATTLEFIELD, playerA, akroanJailer);\\n\\n addCard(Zone.BATTLEFIELD, playerB, lion);\\n\\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, festivalOfTrokin);\\n waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);\\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, mageDuel);\\n\\n setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);\\n execute();\\n assertPowerToughness(playerA, akroanJailer, 2, 3);\\n assertPermanentCount(playerA, akroanJailer, 1);\\n assertGraveyardCount(playerB, lion, 1);\\n assertLife(playerA, 20 + 2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b46552e79240647dda48853ff001b65\",\n \"score\": \"0.5382589\",\n \"text\": \"@Test\\r\\n\\tpublic void testDelete_Territories() {\\r\\n\\t\\tnew_continent = new Continent(\\\"new_continent_name\\\" , 1);\\r\\n\\t\\t\\r\\n\\t\\tnew_territory = new Territory(\\\"new_territory_name_1\\\",120,300,\\\"new_continent_name\\\");\\r\\n\\t\\tnew_continent.Add_Territory(new_territory);\\r\\n\\t\\t\\r\\n\\t\\tnew_territory_neighbour = new Territory(\\\"new_territory_name_2\\\",320,432,\\\"new_continent_name\\\");\\r\\n\\t\\tnew_continent.Add_Territory(new_territory_neighbour);\\r\\n\\t\\t\\r\\n\\t\\tnew_territory.Add_Neighbour(new_territory_neighbour);\\r\\n\\t\\t\\r\\n\\t\\tboolean result = new_continent.Delete_Territories();\\r\\n\\t\\t\\r\\n\\t\\tAssert.assertTrue(result);\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccbd426f5a24bb4b48db17928f4300ce\",\n \"score\": \"0.53812957\",\n \"text\": \"@Test\\n public void checkConstruction(){\\n assertTrue(testGame.getTURNS().isEmpty());\\n assertFalse(testGame.getEndGame());\\n assertFalse(testGame.getPlayerWinner());\\n assertEquals(WaitPhase.class,testGame.getPhase().getClass());\\n assertEquals(-1,testGame.getActCharacterIndex());\\n assertFalse(testGame.getActPlayerCharacter());\\n assertEquals(-1,testGame.getActTarget());\\n assertEquals(\\\"\\\",testGame.getInfo());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d88de79b6daa71425e0980c40fefbfb8\",\n \"score\": \"0.5378518\",\n \"text\": \"public void testReproducir(){\\r\\n\\r\\n\\t\\tfor(int i=0; i contestants = new ArrayList();\\n\\t\\t\\t\\t\\n\\t\\tDog dog1 = newrace.addDog(\\\"Max\\\", 128, new EarlySprint());\\n\\t\\tDog dog2 = newrace.addDog(\\\"Charlie\\\", 137, new SteadyRun());\\n\\t\\tDog dog3 = newrace.addDog(\\\"Buddy\\\", 141, new EarlySprint());\\n\\t\\tDog dog4 = newrace.addDog(\\\"Joe\\\", 121, new SlowStart());\\n\\t\\tDog dog5 = newrace.addDog(\\\"Doggo\\\", 140, new SteadyRun());\\n\\t\\tDog dog6 = newrace.addDog(\\\"Doge\\\", 137, new SlowStart());\\n\\t\\tDog dog7 = newrace.addDog(\\\"Lucky\\\", 135, new EarlySprint());\\n\\n\\t\\tcontestants.add(dog1);\\n\\t\\tcontestants.add(dog2);\\n\\t\\tcontestants.add(dog3);\\n\\t\\tcontestants.add(dog4);\\n\\t\\tcontestants.add(dog5);\\n\\t\\tcontestants.add(dog6);\\n\\t\\tcontestants.add(dog7);\\n\\t\\t\\t\\t\\n\\t\\tnewrace.startRace(contestants);\\n\\t\\tnewrace.runRace(contestants);\\n\\t\\tassert(newrace.findWinner(contestants)==\\\"Buddy\\\"); //Highest speed and early sprint wins\\n\\t\\n\\t\\tdog6.setMaxSpeed(138);\\n\\t\\tnewrace.startRace(contestants);\\n\\t\\tnewrace.runRace(contestants);\\n\\t\\tassert(newrace.findWinner(contestants)==\\\"Doge\\\"); //Slow start with lower speed wins (optimal strategy)\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7e17a34ee6e9f8c38c43ffefb998d2\",\n \"score\": \"0.5368455\",\n \"text\": \"@Test\\r\\n public void testGetEstadoAtribuicao() {\\r\\n System.out.println(\\\"getEstadoAtribuicao\\\");\\r\\n \\r\\n FAE fae=new FAE(new Utilizador(\\\"Nome\\\", \\\"email\\\", \\\"Admin\\\", \\\"email\\\"));\\r\\n Candidatura c=new Candidatura(\\\"Empresa\\\", \\\"Morada\\\", 123456789, 89, 5);\\r\\n Atribuicao instance = new Atribuicao(fae,c);\\r\\n \\r\\n boolean expResult =false;\\r\\n boolean result = instance.getEstadoAtribuicao();\\r\\n assertEquals(expResult, result);\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"319ee6bc89936645d13a6c93296c1765\",\n \"score\": \"0.53665817\",\n \"text\": \"@Test\\n\\tpublic void testeandoTomarAgua() {\\n\\t\\tint cant = 0;\\n\\t\\twhile(jose.atacar(ronaldo))\\n\\t\\t\\tcant ++;\\n\\t\\t\\n\\t\\tAssert.assertEquals( 0, jose.getEnergia(), 0);\\n\\t\\tAssert.assertEquals( 10, cant, 0);\\n\\t\\tAssert.assertEquals( false, jose.atacar(ronaldo));\\n\\t\\t\\n\\t\\tjose.tomarAgua();\\n\\t\\t\\n\\t\\tAssert.assertEquals( 100, jose.getEnergia(), 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf879f39c38c82b7cfe947a66d9d2897\",\n \"score\": \"0.5357568\",\n \"text\": \"@Test\\n public void testGetDonorsGenderAnyOrOther() {\\n if (canRunTests) {\\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, \\\"any, other\\\", null, null, null, null, null,null,null);\\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\\n List donors = createDonorsList(responseEntity);\\n Boolean[] foundSnakeFiddleMonstera = findThreeDonors(donors, SNAKE, FIDDLE, MONSTERA);\\n assertTrue(foundSnakeFiddleMonstera[0]);\\n assertTrue(foundSnakeFiddleMonstera[1]);\\n assertTrue(foundSnakeFiddleMonstera[2]);\\n } else {\\n printCannotRunTests();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36a680e59bf34504e4c298cce0395511\",\n \"score\": \"0.5355944\",\n \"text\": \"@Test\\n\\tpublic void testIfBalancedTrue() {\\n\\t\\tboolean check = CheckBalance.isBalanced(balanseratUttryck);\\n\\t\\tassertTrue(check);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd4dd781959277caddb91465c5e4422b\",\n \"score\": \"0.5355403\",\n \"text\": \"@Test\\n public void transModeTest() {\\n // TODO: test transMode\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"832b3cc078ae5382548385395006a7bb\",\n \"score\": \"0.5354936\",\n \"text\": \"int doTerritoryPlacement(int maxTroops);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":863,"cells":{"query_id":{"kind":"string","value":"bdd1a338b1031ffd03ee7373f77f3db8"},"query":{"kind":"string","value":"optional string id = 2;"},"positive_passages":{"kind":"list like","value":[{"docid":"d199baf7db937c061d2badc8a189fc34","score":"0.0","text":"public Builder setId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n id_ = value;\n onChanged();\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"d199baf7db937c061d2badc8a189fc34\",\n \"score\": \"0.0\",\n \"text\": \"public Builder setId(\\n java.lang.String value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n \\n id_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"aab1b478b501e7938af3b823b11eab94","score":"0.75025165","text":"public void setID(String id) {\n\n }","title":""},{"docid":"49b0a3514ae88adc6ce14a7bd6585381","score":"0.74674714","text":"public void setId(String id)\n/* 32: */ {\n/* 33:36 */ this.id = id;\n/* 34: */ }","title":""},{"docid":"b7c13d2cf4ea9eb6d3e06195290e2af6","score":"0.7456804","text":"public void setId(String id)\n/* */ {\n/* 79 */ this.id = id;\n/* */ }","title":""},{"docid":"fe0dcd3e4aa21f062add4e5967e8a9f3","score":"0.74216586","text":"public String getId(){return id;}","title":""},{"docid":"c9ad8de47d46ec1488118a482444eddc","score":"0.74080193","text":"public void setId(int id){ this.id = id;}","title":""},{"docid":"d06630b5bcc5fc2e13e3d2ae58a6542a","score":"0.7399387","text":"void setId (int id){this.id = id;}","title":""},{"docid":"57c157d9d98d88367182b07788ed701c","score":"0.7388133","text":"public void setId(int id){ this.id = id; }","title":""},{"docid":"4c4c49b543011afe2ba16fd47b273c2a","score":"0.73230594","text":"public void setId(String id){\n\n this.id=id;\n }","title":""},{"docid":"519f45d8e6617dfda5352225f70bfa2a","score":"0.72691196","text":"public void setId(String id){\n this.id = id;\n }","title":""},{"docid":"519f45d8e6617dfda5352225f70bfa2a","score":"0.72691196","text":"public void setId(String id){\n this.id = id;\n }","title":""},{"docid":"6ea011fd2b6cbdad4f6bb5021d160f78","score":"0.72340286","text":"String getId ();","title":""},{"docid":"9af76b1575d084b145f651fbdba96b25","score":"0.7209299","text":"public void setID(Integer id) { _id = id; }","title":""},{"docid":"7843bd3d733639054ffbc7134e64776a","score":"0.7208451","text":"public String getId()\n { return id;\n }","title":""},{"docid":"6e04fcf300775ae04dba0b7dd54aea63","score":"0.71931636","text":"int getId(){return id;}","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"2845e0c41163fb67176092d499fb15b4","score":"0.71665424","text":"String getId();","title":""},{"docid":"c49b57fc70b5cd5cebad4fa2903004b8","score":"0.71453506","text":"public void setID(int id) {\nthis._id = id;\n}","title":""},{"docid":"a6b0d9f8418db877953dd22286f3bcf3","score":"0.71294576","text":"public String getId(){\n return id;\n }","title":""},{"docid":"926ab494cba3daab7da5916e42abe903","score":"0.7103927","text":"public void setId(String id) { \n mId = id; \n }","title":""},{"docid":"1d98a553907008db56f205fce1d277a1","score":"0.7086299","text":"@Override \r\n public void setId (String id) {\r\n }","title":""},{"docid":"9c13674306088873589cb0f6a50aa966","score":"0.70822954","text":"public String id() { return this.id; }","title":""},{"docid":"605caa4cb7aea4133af9d212d98594d3","score":"0.70735776","text":"public void setId(java.lang.Integer id) { \n this.id = id; \n }","title":""},{"docid":"4eb36790c2eb78fba9a3902f6345ad99","score":"0.7063313","text":"void setId(String id) ;","title":""},{"docid":"d6ef94b4f679c5a71937eae6c46214c9","score":"0.7062614","text":"@Override\n public void setId(String id) {\n\n }","title":""},{"docid":"011d9904304547cd97405d399bc7d29f","score":"0.7032747","text":"public String getId(){\n return id;\n }","title":""},{"docid":"3d4e18c74f0de5cd88ea7bfc22f16d33","score":"0.7031518","text":"public void setId(String value) { m_id = value; }","title":""},{"docid":"dc5b1fc9000669fe879febd32e419f39","score":"0.70261335","text":"String getId( );","title":""},{"docid":"1e2d4c9aea25b17637b9a5dbc94132c9","score":"0.701915","text":"public void setId(int id)\n/* 25: */ {\n/* 26:22 */ this.id = id;\n/* 27: */ }","title":""},{"docid":"2e8358829d3879467743c3c2d79b4266","score":"0.7005897","text":"@Override\n public void setId(String id) {\n }","title":""},{"docid":"045747e4da07ee824b41cb88099a3250","score":"0.70057464","text":"void setId(String id);","title":""},{"docid":"045747e4da07ee824b41cb88099a3250","score":"0.70057464","text":"void setId(String id);","title":""},{"docid":"045747e4da07ee824b41cb88099a3250","score":"0.70057464","text":"void setId(String id);","title":""},{"docid":"3595e2d1a12d559021012122b7c58f77","score":"0.6995953","text":"public void setId(String id);","title":""},{"docid":"3595e2d1a12d559021012122b7c58f77","score":"0.6995953","text":"public void setId(String id);","title":""},{"docid":"07babd86ceb5c921991d8f9c106a3a7e","score":"0.6994976","text":"public void setId(String id)\r\n {\r\n myId = id;\r\n }","title":""},{"docid":"7bb2d71c1ac3cd01f30bd011dc8e6602","score":"0.69795907","text":"public String getID() { return id; }","title":""},{"docid":"2f8e1370f1920dae6484b40064e298ba","score":"0.696755","text":"public int getId(){...}","title":""},{"docid":"dc669f87006d372f7b76cacf46d8b751","score":"0.6966431","text":"public int getId() \n{\n return id;\n}","title":""},{"docid":"b423e684502e9f0eb2798e6c8c21cfc7","score":"0.6965719","text":"public String getId()\n/* 27: */ {\n/* 28:33 */ return this.id;\n/* 29: */ }","title":""},{"docid":"b5250eab988ba6213be280d030d419ab","score":"0.69657093","text":"void setId(final String id);","title":""},{"docid":"bb237483cc71fbe85911b3903b178563","score":"0.69551545","text":"public void setId(String id) {\n\tthis.id = id;\n }","title":""},{"docid":"d048f526390cef538b93f3434c48f249","score":"0.69503194","text":"public int getId(){\r\n return id;\r\n }","title":""},{"docid":"0ea9479085e3b6f64175eb8e5f50bb03","score":"0.69496137","text":"public String getId(){\n return this.id;\n }","title":""},{"docid":"ed98d8f1b03990961734c3a0a3c0eafc","score":"0.6934903","text":"@Override\n\tpublic void setId(String id) {\n\t\t\n\t}","title":""},{"docid":"d2a85fafd97d000625e9bde84e02a5f2","score":"0.6931523","text":"public String getId() { return id; }","title":""},{"docid":"a2292ed142706f94e8ec7747ef5e54d0","score":"0.6920073","text":"public void setID(String id)\r\n {\r\n this.id = id;\r\n }","title":""},{"docid":"402eb17fb94d38c8fe11424037463edc","score":"0.6917996","text":"public int getId(){ return this.id; }","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6902311","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6902311","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6902311","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6901807","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6901807","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6901807","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6901807","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6901807","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6901807","text":"java.lang.String getId();","title":""}],"string":"[\n {\n \"docid\": \"aab1b478b501e7938af3b823b11eab94\",\n \"score\": \"0.75025165\",\n \"text\": \"public void setID(String id) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49b0a3514ae88adc6ce14a7bd6585381\",\n \"score\": \"0.74674714\",\n \"text\": \"public void setId(String id)\\n/* 32: */ {\\n/* 33:36 */ this.id = id;\\n/* 34: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7c13d2cf4ea9eb6d3e06195290e2af6\",\n \"score\": \"0.7456804\",\n \"text\": \"public void setId(String id)\\n/* */ {\\n/* 79 */ this.id = id;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe0dcd3e4aa21f062add4e5967e8a9f3\",\n \"score\": \"0.74216586\",\n \"text\": \"public String getId(){return id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9ad8de47d46ec1488118a482444eddc\",\n \"score\": \"0.74080193\",\n \"text\": \"public void setId(int id){ this.id = id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d06630b5bcc5fc2e13e3d2ae58a6542a\",\n \"score\": \"0.7399387\",\n \"text\": \"void setId (int id){this.id = id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57c157d9d98d88367182b07788ed701c\",\n \"score\": \"0.7388133\",\n \"text\": \"public void setId(int id){ this.id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c4c49b543011afe2ba16fd47b273c2a\",\n \"score\": \"0.73230594\",\n \"text\": \"public void setId(String id){\\n\\n this.id=id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f45d8e6617dfda5352225f70bfa2a\",\n \"score\": \"0.72691196\",\n \"text\": \"public void setId(String id){\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f45d8e6617dfda5352225f70bfa2a\",\n \"score\": \"0.72691196\",\n \"text\": \"public void setId(String id){\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ea011fd2b6cbdad4f6bb5021d160f78\",\n \"score\": \"0.72340286\",\n \"text\": \"String getId ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9af76b1575d084b145f651fbdba96b25\",\n \"score\": \"0.7209299\",\n \"text\": \"public void setID(Integer id) { _id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7843bd3d733639054ffbc7134e64776a\",\n \"score\": \"0.7208451\",\n \"text\": \"public String getId()\\n { return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e04fcf300775ae04dba0b7dd54aea63\",\n \"score\": \"0.71931636\",\n \"text\": \"int getId(){return id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2845e0c41163fb67176092d499fb15b4\",\n \"score\": \"0.71665424\",\n \"text\": \"String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c49b57fc70b5cd5cebad4fa2903004b8\",\n \"score\": \"0.71453506\",\n \"text\": \"public void setID(int id) {\\nthis._id = id;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6b0d9f8418db877953dd22286f3bcf3\",\n \"score\": \"0.71294576\",\n \"text\": \"public String getId(){\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"926ab494cba3daab7da5916e42abe903\",\n \"score\": \"0.7103927\",\n \"text\": \"public void setId(String id) { \\n mId = id; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d98a553907008db56f205fce1d277a1\",\n \"score\": \"0.7086299\",\n \"text\": \"@Override \\r\\n public void setId (String id) {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c13674306088873589cb0f6a50aa966\",\n \"score\": \"0.70822954\",\n \"text\": \"public String id() { return this.id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"605caa4cb7aea4133af9d212d98594d3\",\n \"score\": \"0.70735776\",\n \"text\": \"public void setId(java.lang.Integer id) { \\n this.id = id; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4eb36790c2eb78fba9a3902f6345ad99\",\n \"score\": \"0.7063313\",\n \"text\": \"void setId(String id) ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6ef94b4f679c5a71937eae6c46214c9\",\n \"score\": \"0.7062614\",\n \"text\": \"@Override\\n public void setId(String id) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"011d9904304547cd97405d399bc7d29f\",\n \"score\": \"0.7032747\",\n \"text\": \"public String getId(){\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d4e18c74f0de5cd88ea7bfc22f16d33\",\n \"score\": \"0.7031518\",\n \"text\": \"public void setId(String value) { m_id = value; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc5b1fc9000669fe879febd32e419f39\",\n \"score\": \"0.70261335\",\n \"text\": \"String getId( );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e2d4c9aea25b17637b9a5dbc94132c9\",\n \"score\": \"0.701915\",\n \"text\": \"public void setId(int id)\\n/* 25: */ {\\n/* 26:22 */ this.id = id;\\n/* 27: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e8358829d3879467743c3c2d79b4266\",\n \"score\": \"0.7005897\",\n \"text\": \"@Override\\n public void setId(String id) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"045747e4da07ee824b41cb88099a3250\",\n \"score\": \"0.70057464\",\n \"text\": \"void setId(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"045747e4da07ee824b41cb88099a3250\",\n \"score\": \"0.70057464\",\n \"text\": \"void setId(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"045747e4da07ee824b41cb88099a3250\",\n \"score\": \"0.70057464\",\n \"text\": \"void setId(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3595e2d1a12d559021012122b7c58f77\",\n \"score\": \"0.6995953\",\n \"text\": \"public void setId(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3595e2d1a12d559021012122b7c58f77\",\n \"score\": \"0.6995953\",\n \"text\": \"public void setId(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07babd86ceb5c921991d8f9c106a3a7e\",\n \"score\": \"0.6994976\",\n \"text\": \"public void setId(String id)\\r\\n {\\r\\n myId = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bb2d71c1ac3cd01f30bd011dc8e6602\",\n \"score\": \"0.69795907\",\n \"text\": \"public String getID() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f8e1370f1920dae6484b40064e298ba\",\n \"score\": \"0.696755\",\n \"text\": \"public int getId(){...}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc669f87006d372f7b76cacf46d8b751\",\n \"score\": \"0.6966431\",\n \"text\": \"public int getId() \\n{\\n return id;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b423e684502e9f0eb2798e6c8c21cfc7\",\n \"score\": \"0.6965719\",\n \"text\": \"public String getId()\\n/* 27: */ {\\n/* 28:33 */ return this.id;\\n/* 29: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5250eab988ba6213be280d030d419ab\",\n \"score\": \"0.69657093\",\n \"text\": \"void setId(final String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb237483cc71fbe85911b3903b178563\",\n \"score\": \"0.69551545\",\n \"text\": \"public void setId(String id) {\\n\\tthis.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d048f526390cef538b93f3434c48f249\",\n \"score\": \"0.69503194\",\n \"text\": \"public int getId(){\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ea9479085e3b6f64175eb8e5f50bb03\",\n \"score\": \"0.69496137\",\n \"text\": \"public String getId(){\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed98d8f1b03990961734c3a0a3c0eafc\",\n \"score\": \"0.6934903\",\n \"text\": \"@Override\\n\\tpublic void setId(String id) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2a85fafd97d000625e9bde84e02a5f2\",\n \"score\": \"0.6931523\",\n \"text\": \"public String getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2292ed142706f94e8ec7747ef5e54d0\",\n \"score\": \"0.6920073\",\n \"text\": \"public void setID(String id)\\r\\n {\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"402eb17fb94d38c8fe11424037463edc\",\n \"score\": \"0.6917996\",\n \"text\": \"public int getId(){ return this.id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6902311\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6902311\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6902311\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6901807\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6901807\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6901807\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6901807\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6901807\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6901807\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":864,"cells":{"query_id":{"kind":"string","value":"c12036d6373de6c4452f0e8c658de92f"},"query":{"kind":"string","value":"Return count, min, max, average and standard deviation stats for the values of the stream. This method only works for numeric streams"},"positive_passages":{"kind":"list like","value":[{"docid":"02a0621f3fe55e90092410b54619f250","score":"0.0","text":"public M2XResponse stats(String query) throws IOException\n\t{\n\t\treturn makeGet(\"/stats\", query);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"02a0621f3fe55e90092410b54619f250\",\n \"score\": \"0.0\",\n \"text\": \"public M2XResponse stats(String query) throws IOException\\n\\t{\\n\\t\\treturn makeGet(\\\"/stats\\\", query);\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"f9f05638d01de24979b5abc645b9f2a4","score":"0.6378376","text":"public JsonObject getStatistics() {\r\n LOGGER.debug(\"get statistics called\");\r\n JsonObject response = new JsonObject();\r\n response.put(\"count\", count);\r\n response.put(\"sum\", sum);\r\n double avg = 0;\r\n if(count!=0){\r\n avg = sum/count;\r\n }\r\n response.put(\"avg\", avg);\r\n\r\n double maxVal = 0;\r\n if(max != Double.MIN_VALUE){\r\n maxVal = max;\r\n }\r\n response.put(\"max\", maxVal);\r\n\r\n double minVal = 0;\r\n if(min != Double.MAX_VALUE){\r\n minVal = min;\r\n }\r\n response.put(\"min\", minVal);\r\n return response;\r\n }","title":""},{"docid":"2037e53a5daea70ce3f7a70c4377ae4e","score":"0.63414276","text":"static double normalizedMean(Stream stream) {\n\n\t\tList dataSource = stream.map(x -> (double)x).collect(Collectors.toList());\n\n\t\tdouble max = dataSource.stream().reduce((x, y) -> Math.max(x, y)).orElse(1.0);\n\t\tdouble min = dataSource.stream().reduce((x, y) -> Math.min(x, y)).orElse(0.0);\n\n\t\tif (dataSource.size() <= 1 || Double.compare(max, min) == 0) {\n\t\t\treturn 0.0;\n\t\t}\n\n\t\treturn dataSource.stream().map(x -> (x - min) / (max - min)).reduce(0.0, (x, y) -> x + y) / dataSource.size();\n\n\t}","title":""},{"docid":"1dec419e635206a184e00ce95351110e","score":"0.6337291","text":"public void measure()\n\t{\n\t\tmean = 0;\n\t\tvarn = 0;\n\t\tdevn = 0;\n\t\tconf = 0;\n\t\tmin = 0;\n\t\tmax = 0;\n\t\t\t\t\n\t\tif (samples.size() == 0)\n\t\t\treturn;\n\t\t\n\t\tmin = Double.POSITIVE_INFINITY;\n\t\tmax = Double.NEGATIVE_INFINITY;\n\t\t\n\t\t//\tCalculate mean\n\t\tfor (Double val : samples)\n\t\t{\n\t\t\tmean += val.doubleValue();\n\t\t\tif (val.doubleValue() < min)\n\t\t\t\tmin = val.doubleValue();\n\t\t\tif (val.doubleValue() > max)\n\t\t\t\tmax = val.doubleValue();\n\t\t}\n\t\tmean /= samples.size();\n\t\t\t\n\t\t//\tVariance \n\t\tfor (Double val : samples)\n\t\t{\n\t\t\tfinal double diff = val.doubleValue() - mean;\n\t\t\tvarn += diff * diff;\n\t\t}\n\t\tvarn /= samples.size();\n\t\t\n\t\t//\tStandard deviation\n\t\tdevn = Math.sqrt(varn);\n\t\n\t\t//\tConfidence interval\n\t\tconf = 2 * ci * devn / Math.sqrt(samples.size());\n\t}","title":""},{"docid":"c86d2b5453ef0220931fce03e892fe08","score":"0.6264562","text":"public static interface SummaryStatistics {\r\n /** Return the number of elements */\r\n public int size();\r\n /** Return the minimum element, or Double.MAX_VALUE if empty */\r\n public double min();\r\n /** Return the maximum element, or -Double.MAX_VALUE if empty */\r\n public double max();\r\n /** Return the index of the minimum element, or -1 if empty */\r\n public int indexOfMin();\r\n /** Return the index of the maximum element, or -1 if empty */\r\n public int indexOfMax();\r\n /** Return the sum of all elements */\r\n public double sum();\r\n /** Return the arithmetic average of all elements */\r\n public double average();\r\n }","title":""},{"docid":"098b17110ea934aa63d76e17580f12e1","score":"0.6206454","text":"int getStdDevCount();","title":""},{"docid":"bc01fc51011b61a13e4a2e98b5e1d3d0","score":"0.61268824","text":"@Override\n\tpublic StatisticsSummary getStatistics() {\n\t\tStatisticsSummary summary = statisticsForLastMin.values().stream()\n\t\t\t\t.filter(s -> (System.currentTimeMillis() - s.getTimestamp()) / 1000 < SECONDS_STAT)\n\t\t\t\t.map(StatisticsSummary::new).reduce(new StatisticsSummary(), (s1, s2) -> {\n\t\t\t\t\ts1.setSum(s1.getSum() + s2.getSum());\n\t\t\t\t\ts1.setCount(s1.getCount() + s2.getCount());\n\t\t\t\t\ts1.setMax(Double.compare(s1.getMax(), s2.getMax()) > 0 ? s1.getMax() : s2.getMax());\n\t\t\t\t\ts1.setMin(Double.compare(s1.getMin(), s2.getMin()) < 0 ? s1.getMin() : s2.getMin());\n\t\t\t\t\treturn s1;\n\t\t\t\t});\n\n\t\tsummary.setMin(Double.compare(summary.getMin(), Double.MAX_VALUE) == 0 ? 0.0 : summary.getMin());\n\t\tsummary.setMax(Double.compare(summary.getMax(), Double.MIN_VALUE) == 0 ? 0.0 : summary.getMax());\n\t\tsummary.setAvg(summary.getCount() > 0l ? summary.getSum() / summary.getCount() : 0.0);\n\n\t\tlogger.info(\"Statistics summary for last minute => {}\", summary.toString());\n\t\treturn summary;\n\t}","title":""},{"docid":"d1de3fc2c40b69ebe445525e429922c6","score":"0.6054283","text":"public String statistics() {\n DecimalFormat formatter = new DecimalFormat(\"#,###\");\n DecimalFormat floatFormatter = new DecimalFormat(\"#,###.00\");\n return String.format(\"min %s | avg %s | max %s | stddev %s msgs\",\n formatter.format(minRate()), formatter.format(avgRate()),\n formatter.format(maxRate()), floatFormatter.format(stdDev()));\n }","title":""},{"docid":"23820198ffb11437dfca40ad0470f3e9","score":"0.5911547","text":"private void calculatePopulationMeanAndStdDev(List movieMetadatas) {\n movieMetadatas.stream()\n .forEach(movieMetadata -> {\n if (movieMetadata.successful)\n numSuccessful++;\n numMovies++;\n });\n\n populationMean = numSuccessful / (float) numMovies;\n\n stdDev = (float) Math.sqrt(2 * populationMean * (1 - populationMean) / numMovies);\n }","title":""},{"docid":"5c7bb5708a5383b8248b41ac23cc1e52","score":"0.5843673","text":"public Stats() {\n\t\tValoreMax = 0;\n\t\tValoreMin = 0;\n\t\tValoreQM = .0;\n\t\tMedia = .0;\n\t\tVarianza = .0;\n\t}","title":""},{"docid":"11e85a043b4bd937cc638c4c298262e8","score":"0.5833373","text":"public int getStdDevCount() {\n return stdDev_.size();\n }","title":""},{"docid":"d303e516ae20c852b5bad7729a8254c4","score":"0.58211523","text":"private static void summaryStatisticsNumber() {\n\n System.out.println(\"Example count: summaryStatisticsNumber\");\n\n IntSummaryStatistics statistics = IntStream\n .rangeClosed(1, 20)\n .boxed()\n .mapToInt( n -> n )\n .summaryStatistics();\n\n System.out.println(statistics);\n\n System.out.println(\"-------------END-------------\");\n }","title":""},{"docid":"4e2ed7042a71b971cdb0950a8397a73b","score":"0.58156157","text":"public int getStdDevCount() {\n return stdDev_.size();\n }","title":""},{"docid":"333eba39da2324b6a63b2a093e317f35","score":"0.58122","text":"float getVariance() {\n\t\t\tif(chaos == null || chaos.size() < 2 * count) {\n//\t\t\t\tLog.e(\"sensor\", \"filter value null\");\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tfloat sum = 0;\n\t\t\tfor(int i=0; i l = new ArrayList();\n for (int i = 1; cols != null && i <= cols.length; i++) {\n l.add(this.getColumn(i).toInfo());\n }\n ret.setColumns(l);\n return ret;\n }","title":""},{"docid":"637400c111ea42f4304cba29e9e5645a","score":"0.5765325","text":"int getMeanCount();","title":""},{"docid":"d7d247f0ebd18b3804ed1e5d952012b9","score":"0.5715893","text":"public MedianStream() {\n\t\tthis.currentMedian = 0.0;\n\t\tthis.maxHeap = new MaxPQ();\n\t\tthis.minHeap = new MinPQ();\n\t}","title":""},{"docid":"e490caf148ed8bfc3c7fe1d82c3bddb6","score":"0.5694812","text":"public double stddev() {\n return StdStats.stddev(pCount);\n }","title":""},{"docid":"be77d3bea0aa856595e4d1e79b6172fe","score":"0.56858945","text":"public interface Summarizable {\n /**\n * Returns the largest recorded value.\n *\n * @return the largest recorded value\n */\n double max();\n\n /**\n * Returns the smallest recorded value.\n *\n * @return the smallest recorded value\n */\n double min();\n\n /**\n * Returns the arithmetic mean of all recorded values.\n *\n * @return the arithmetic mean of all recorded values\n */\n double mean();\n\n /**\n * Returns the standard deviation of all recorded values.\n *\n * @return the standard deviation of all recorded values\n */\n double stdDev();\n\n /**\n * Returns the sum of all recorded values.\n *\n * @return the sum of all recorded values\n */\n double sum();\n\n}","title":""},{"docid":"4ccb1e3313c1644591d15b5727f51c75","score":"0.5559614","text":"double[] calcSpaceStats(double[] rawVals,int varIndex,DataSetControllerImpl.SpatialStatsInfo spatialStatsInfo) {\r\n\t\r\n double min = Double.POSITIVE_INFINITY;\r\n double max = Double.NEGATIVE_INFINITY;\r\n double mean = 0;\r\n double wmean = 0;\r\n double sum = 0;\r\n double wsum = 0;\r\n double val;\r\n for(int j=0;j max){max=val;}\r\n\t sum+= val;\r\n\t if(spatialStatsInfo.bWeightsValid){wsum+= val*spatialStatsInfo.spaceWeight[varIndex][j];}\r\n }\r\n mean = sum/rawVals.length;\r\n if(spatialStatsInfo.bWeightsValid){wmean = wsum/spatialStatsInfo.totalSpace[varIndex];}\r\n\r\n return new double[] {min,max,mean,wmean,sum,wsum};\r\n}","title":""},{"docid":"5a88876e75625f1a2cf2bed1c3579fa1","score":"0.5547712","text":"public double stddev(){return this.stddev;}","title":""},{"docid":"00ccf5d204e70193466cbd3746b1a276","score":"0.554193","text":"public double stddev() {\n return _stddev;\n }","title":""},{"docid":"88679f97e8a348a1e6c0e9b47226557f","score":"0.55404913","text":"public double stddev() {\n double mean = mean();\n double stddevtotal = 0;\n for (double value : values) {\n double dev = value - mean;\n stddevtotal += dev * dev;\n }\n return Math.sqrt(stddevtotal / values.size());\n }","title":""},{"docid":"a1306b03aaa00a4544cf8141f4278196","score":"0.5532651","text":"public static double mean(Supplier> values) {\n return values.get().mapToDouble(Double::doubleValue).sum() / values.get().count();\n }","title":""},{"docid":"d4c858df6c2f5dd504b773f0622645e9","score":"0.550193","text":"public void updateStatistics(int value) {\n resultCurrent = value; // Set current result to passed value.\n resultTotal += value; // Add passed value to total result.\n\n if(runsSoFar == 0) { // Default first values to min/max.\n maxval = value;\n minval = value;\n }\n \n runsSoFar++; // Increment.\n\n if (value > maxval) { // Max check.\n maxval = value;\n }\n if (value < minval) { // Min check.\n minval = value;\n }\n\n average = average(); // Call average.\n standardDeviation = standardDeviation(); // Call standardDeviation.\n\t}","title":""},{"docid":"6b30c867539f7fcc4e0189609c9c036a","score":"0.55018324","text":"public double stddev() {\n return stddev;\n }","title":""},{"docid":"6b30c867539f7fcc4e0189609c9c036a","score":"0.55018324","text":"public double stddev() {\n return stddev;\n }","title":""},{"docid":"6b30c867539f7fcc4e0189609c9c036a","score":"0.55018324","text":"public double stddev() {\n return stddev;\n }","title":""},{"docid":"6b30c867539f7fcc4e0189609c9c036a","score":"0.55018324","text":"public double stddev() {\n return stddev;\n }","title":""},{"docid":"7f832eebdc66ecd31c6a864c00905a6b","score":"0.54996896","text":"public double stddev() {\n\t\treturn StdStats.stddev(counter);\n\t}","title":""},{"docid":"5e6a28360a1ee2ff133eb1a6e92fed20","score":"0.5474566","text":"public double getStandardDeviation() {\n return std;\n }","title":""},{"docid":"d8b2c077dff573c40854333d904cedad","score":"0.5468098","text":"java.util.List getStdDevList();","title":""},{"docid":"b20f144c11571a999384a280edf5e3e1","score":"0.5467081","text":"private void calculateStatistics() {\n\t\t\n\t\t// Need to figure out what is the difference between this and calcAllStatistics\n\t\t\n\t\tdouble min = Double.MAX_VALUE;\n\t\tdouble max = Double.MIN_VALUE;\n\t\tdouble average = 0;\n\n\t\tdouble totValidObs = 0;\n\t\t\n\t\tString stidMax = \"\";\n\t\tString stidMin = \"\"; \n\t\t\n\t\tint counter = 0;\n\t\t\n TreeMap treemin = new TreeMap(); \n TreeMap treemax = new TreeMap(); \n TreeMap treeavg = new TreeMap();\n TreeMap treetot = new TreeMap();\n\n for (Map.Entry> entry : dataCatalog.entrySet()) { \n\n String mapKey = entry.getKey();\n ArrayList mapValue = entry.getValue();\n\n \n\t\t\tfor (int i = 0; i < mapValue.size(); i++) {\n\t\t\t\t\n\t\n\t\t\t\tif (mapValue.get(i).isValid()) {\n\t\t\t\t\t\n\t\t\t\t\tdouble indexVal = mapValue.get(i).getValue();\n\t\t\t\t\tString stidVal = mapValue.get(i).getStid();\n\t\t\t\t\ttotValidObs = totValidObs + mapValue.get(i).getValue();\n\t\t\t\t\t\n\t\t\t\t\tif (max < indexVal) {\n\t\t\t\t\t\tmax = indexVal;\n\t\t\t\t\t\tstidMax = stidVal;\n\t\t\t\t\t}\n\t\t\t\t\telse if (min > indexVal) {\n\t\t\t\t\t\tmin = indexVal;\n\t\t\t\t\t\tstidMin = stidVal;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\taverage = totValidObs / counter;\n\t\t\t\n\t\t\t// Make temp Statistic objects to store Statistics information\n\t\t\tStatistics averageStat = new Statistics(average, MESONET, this.utcDateTime, counter, StatsType.AVERAGE);\n\t\t\tStatistics maxStat = new Statistics(max, stidMax, this.utcDateTime, counter, StatsType.MAXIMUM);\n\t\t\tStatistics minStat = new Statistics(min, stidMin, this.utcDateTime, counter, StatsType.MINIMUM);\n\t\t\tStatistics totStat = new Statistics(totValidObs, MESONET, this.utcDateTime, counter, StatsType.TOTAL);\n\t\t\n\t\t\t\n\t\t\ttreeavg.put(mapKey, averageStat);\n\t\t\ttreemax.put(mapKey, maxStat);\n\t\t\ttreemin.put(mapKey, minStat);\n\t\t\ttreetot.put(mapKey, totStat);\n\t\t\t\n\t\t\tstatistics.put(StatsType.AVERAGE, treeavg);\n\t\t\tstatistics.put(StatsType.MAXIMUM, treemax);\n\t\t\tstatistics.put(StatsType.MINIMUM, treemin);\n\n\t\t}\n\t}","title":""},{"docid":"f0b936a5750a0446e8d672b5f9b23034","score":"0.5443217","text":"float getStdDev(int index);","title":""},{"docid":"f23d30160563c06275736dcb1c06e37e","score":"0.5440475","text":"public static void collectExtracted(Stream stream) throws IOException{\n\t\tFrequencyTable traceCounter=new FrequencyTable<>();\n\t\tStatistic traces=new Statistic(\"Trace\");\n\t\tStatistic points=new Statistic(\"Point\");\n\t\tStatistic width=new Statistic(\"Width\");\n\t\tStatistic height=new Statistic(\"Height\");\n\t\tStatistic traceWidth=new Statistic(\"Trace width\");\n\t\tStatistic traceHeight=new Statistic(\"Trace height\");\n\t\tStatistic length=new Statistic(\"Trace length\");\n\t\tfor(Iterator iterator=stream.iterator();iterator.hasNext();){\n\t\t\tTraceList traceList=iterator.next();\n\t\t\ttraceCounter.advance(traceList.getTraces().size());\n\t\t\ttraces.addSample(traceList.getTraces().size());\n\t\t\ttraceList.getTraces().forEach((t)->{\n\t\t\t\tpoints.addSample(t.getPoints().size());\n\t\t\t\ttraceWidth.addSample(t.getBoundBox().getWidth());\n\t\t\t\ttraceHeight.addSample(t.getBoundBox().getHeight());\n\t\t\t\tlength.addSample((int)SpeedNormalizer.getLength(t));\n\t\t\t});\n\t\t\tBoundBox boundBox=traceList.getBoundBox();\n\t\t\twidth.addSample(boundBox.getWidth());\n\t\t\theight.addSample(boundBox.getHeight());\n\t\t}\n\t\tSystem.out.println(\"Trace:\");\n\t\tSystem.out.println(traceCounter);\n\t\tSystem.out.println(traces);\n\t\tSystem.out.println(points);\n\t\tSystem.out.println(width);\n\t\tSystem.out.println(height);\n\t\tSystem.out.println(traceWidth);\n\t\tSystem.out.println(traceHeight);\n\t\tSystem.out.println(length);\n\t}","title":""},{"docid":"f963a7ea67dacd89650a70148565ca6c","score":"0.5439362","text":"@Test\r\n\tpublic void statsTest() {\r\n\t\tLoopsAndArrays la = new LoopsAndArrays();\r\n\r\n\t\tScanner scanner = new Scanner(\"90.0 80.0 70.0 68.0\");\r\n\t\tdouble[] result = la.stats(scanner);\r\n\t\tassertEquals(3, result.length);\r\n\t\tassertEquals(90.0, result[0], 0.1);\r\n\t\tassertEquals(68.0, result[1], 0.1);\r\n\t\tassertEquals(77.0, result[2], 0.1);\r\n\r\n\t\tscanner = new Scanner(\"100 200 300 400\");\r\n\t\tresult = la.stats(scanner);\r\n\t\tassertEquals(3, result.length);\r\n\t\tassertEquals(400, result[0], 0.1);\r\n\t\tassertEquals(100, result[1], 0.1);\r\n\t\tassertEquals(250, result[2], 0.1);\r\n\t}","title":""},{"docid":"893c8cab4420560d1b01138c58a358b4","score":"0.5436525","text":"public double stddev() {\r\n return StdStats.stddev(thresholdValues);\r\n }","title":""},{"docid":"abd79f6134d936bb9a1728fe2ab5ce72","score":"0.54306036","text":"public static int computeStatistics(Object data, double[] avgstd, Object fillValue)\n {\n \tint retval=1, npoints=0;\n \tdouble sum=0, avg=0.0, var=0.0, diff=0.0, fill=0.0;\n\n \tif ((data == null) || (avgstd == null) || (Array.getLength(data)<=0) || (Array.getLength(avgstd)<2)) {\n return -1;\n }\n \t\n int n = Array.getLength(data);\n boolean hasFillValue = (fillValue!=null && fillValue.getClass().isArray());\n\n String cname = data.getClass().getName();\n char dname = cname.charAt(cname.lastIndexOf(\"[\")+1);\n\n npoints = 0;\n switch (dname)\n {\n case 'B': \n byte[] b = (byte[])data;\n if (hasFillValue) fill = ((byte[])fillValue)[0];\n for (int i=0; i getMetrics() {\n Map results = new HashMap<>();\n\n // Add the initial severity value every time metrics are collected.\n String severityKey = MetricUtility.constructKey(\"thermal\", \"throttling\", \"severity\");\n MetricUtility.addMetric(severityKey, mInitialSeverity, results);\n\n List eventMetricData = getStatsdHelper().getEventMetrics();\n Log.i(LOG_TAG, String.format(\"%d thermal data points found.\", eventMetricData.size()));\n // Collect all thermal throttling severity state change events.\n for (EventMetricData dataItem : eventMetricData) {\n if (dataItem.getAtom().hasThermalThrottlingSeverityStateChanged()) {\n // TODO(b/137878503): Add elapsed_timestamp_nanos for timpestamp data.\n // Get thermal throttling severity state change data point.\n int severity =\n dataItem.getAtom()\n .getThermalThrottlingSeverityStateChanged()\n .getSeverity()\n .getNumber();\n // Store the severity state change ignoring where the measurement came from.\n MetricUtility.addMetric(severityKey, severity, results);\n // Set the initial severity to the last value, in case #getMetrics is called again.\n mInitialSeverity = severity;\n }\n }\n\n return results;\n }","title":""},{"docid":"c0b42083d4c700ca1ee5d6bd0e330bf2","score":"0.54244983","text":"public float getSummaryData()\r\n {\r\n float data;\t\t\r\n data = num;\t\t\r\n return data;\r\n }","title":""},{"docid":"d9d478794eee63518047bae10017ea23","score":"0.53717166","text":"public double stddev() {\n return this.stddev;\n }","title":""},{"docid":"d9d478794eee63518047bae10017ea23","score":"0.53717166","text":"public double stddev() {\n return this.stddev;\n }","title":""},{"docid":"a095d74c6e827cb60ebba0fa08d64136","score":"0.5359697","text":"private float dev_std(float[] data) {\r\n\t\treturn (float) Math.sqrt((double) avg(data));\r\n\t}","title":""},{"docid":"d77d0c88c36555ef6d9f74aed1ecc135","score":"0.5350202","text":"public double stddev()\n\t{\n\t\tdouble sum=0.0;\n\t\tif(mean==0.0)\n\t\t\tmean = mean();\n\t\tfor ( int i = 0; i < times; i++ )\n\t\t{\n\t\t\tsum+=(thresh[i]-mean)*(thresh[i]-mean);\n\t\t}\n\t\tstdev = Math.sqrt(sum/(times-1));\n\t\treturn stdev;\n\t}","title":""},{"docid":"d1a905475b30099c0ac6e4bca3f502d0","score":"0.5347149","text":"public double stddev()\n {\n return StdStats.stddev(thresholds);\n }","title":""},{"docid":"d710b8df9c2669a8e6009ddc097f9d62","score":"0.5345987","text":"double stdDev();","title":""},{"docid":"e3b5bea48d30d15771656be4b4bd531e","score":"0.53392017","text":"public Statistic(double sum, double avg, double max, double min, long count) {\n super();\n this.sum = sum;\n this.avg = avg;\n this.max = max;\n this.min = min;\n this.count = count;\n }","title":""},{"docid":"950d33f96b6d93d8d5096de4c7ae2cb7","score":"0.53366697","text":"public double getStdDev() {\n return stdDev;\n }","title":""},{"docid":"c0cbc06a923ad28f83d5d7d3404762c6","score":"0.531378","text":"public Properties getStatistics() {\n \t\treturn statistics;\n \t}","title":""},{"docid":"b1496f7512d66cddd9236ed940339518","score":"0.53107476","text":"private double[] allStats () { throw new RuntimeException(); }","title":""},{"docid":"c8041f116f97effc26a8169bfeb4a1ce","score":"0.5310425","text":"public double stddev() {\n return StdStats.stddev(results);\n }","title":""},{"docid":"c8041f116f97effc26a8169bfeb4a1ce","score":"0.5310425","text":"public double stddev() {\n return StdStats.stddev(results);\n }","title":""},{"docid":"37b37ef5b5b188a7f89e395029f61d06","score":"0.52950126","text":"public double stddev() {\n return StdStats.stddev(thresholds);\n }","title":""},{"docid":"37b37ef5b5b188a7f89e395029f61d06","score":"0.52950126","text":"public double stddev() {\n return StdStats.stddev(thresholds);\n }","title":""},{"docid":"37b37ef5b5b188a7f89e395029f61d06","score":"0.52950126","text":"public double stddev() {\n return StdStats.stddev(thresholds);\n }","title":""},{"docid":"37b37ef5b5b188a7f89e395029f61d06","score":"0.52950126","text":"public double stddev() {\n return StdStats.stddev(thresholds);\n }","title":""},{"docid":"d743c25ca7558f152ee24f2ba064987e","score":"0.52945197","text":"public void computeStats() {\n float[][] rate = get_params().adaptive_rate ? new float[units.length-1][] : null;\n\n if (get_params().autoencoder && get_params().sparsity_beta > 0) {\n for (int k = 0; k < get_params().hidden.length; k++) {\n mean_a[k] = 0;\n for (int j = 0; j < avg_activations[k].size(); j++)\n mean_a[k] += avg_activations[k].get(j);\n mean_a[k] /= avg_activations[k].size();\n }\n }\n\n for( int y = 1; y < units.length; y++ ) {\n mean_rate[y] = rms_rate[y] = 0;\n mean_bias[y] = rms_bias[y] = 0;\n mean_weight[y] = rms_weight[y] = 0;\n for(int u = 0; u < biases[y-1].size(); u++) {\n mean_bias[y] += biases[y-1].get(u);\n }\n if (rate != null) rate[y-1] = new float[get_weights(y-1).raw().length];\n for(int u = 0; u < get_weights(y-1).raw().length; u++) {\n mean_weight[y] += get_weights(y-1).raw()[u];\n if (rate != null) {\n// final float RMS_dx = (float)Math.sqrt(ada[y-1][2*u]+(float)get_params().epsilon);\n// final float invRMS_g = (float)(1/Math.sqrt(ada[y-1][2*u+1]+(float)get_params().epsilon));\n final float RMS_dx = Utils.approxSqrt(get_ada_dx_g(y-1).raw()[2*u]+(float)get_params().epsilon);\n final float invRMS_g = Utils.approxInvSqrt(get_ada_dx_g(y-1).raw()[2*u+1]+(float)get_params().epsilon);\n rate[y-1][u] = RMS_dx*invRMS_g; //not exactly right, RMS_dx should be from the previous time step -> but close enough for diagnostics.\n mean_rate[y] += rate[y-1][u];\n }\n }\n\n\n mean_bias[y] /= biases[y-1].size();\n\n mean_weight[y] /= get_weights(y-1).size();\n if (rate != null) mean_rate[y] /= rate[y-1].length;\n\n for(int u = 0; u < biases[y-1].size(); u++) {\n final double db = biases[y-1].get(u) - mean_bias[y];\n rms_bias[y] += db * db;\n }\n for(int u = 0; u < get_weights(y-1).size(); u++) {\n final double dw = get_weights(y-1).raw()[u] - mean_weight[y];\n rms_weight[y] += dw * dw;\n if (rate != null) {\n final double drate = rate[y-1][u] - mean_rate[y];\n rms_rate[y] += drate * drate;\n }\n }\n rms_bias[y] = Utils.approxSqrt(rms_bias[y]/biases[y-1].size());\n rms_weight[y] = Utils.approxSqrt(rms_weight[y]/get_weights(y-1).size());\n if (rate != null) rms_rate[y] = Utils.approxSqrt(rms_rate[y]/rate[y-1].length);\n// rms_bias[y] = (float)Math.sqrt(rms_bias[y]/biases[y-1].length);\n// rms_weight[y] = (float)Math.sqrt(rms_weight[y]/weights[y-1].length);\n// if (rate != null) rms_rate[y] = (float)Math.sqrt(rms_rate[y]/rate[y-1].length);\n\n // Abort the run if weights or biases are unreasonably large (Note that all input values are normalized upfront)\n // This can happen with Rectifier units when L1/L2/max_w2 are all set to 0, especially when using more than 1 hidden layer.\n final double thresh = 1e10;\n unstable |= mean_bias[y] > thresh || isNaN(mean_bias[y])\n || rms_bias[y] > thresh || isNaN(rms_bias[y])\n || mean_weight[y] > thresh || isNaN(mean_weight[y])\n || rms_weight[y] > thresh || isNaN(rms_weight[y]);\n }\n }","title":""},{"docid":"016d4a821533d461c3a624a8e3c30e53","score":"0.5269022","text":"public double stddev() {\n\t\treturn StdStats.stddev(array);\n\t}","title":""},{"docid":"3171b97d010cea5d1a3043395f39d28f","score":"0.5266194","text":"public double stdDev() {\n double avg = avgRate();\n double sum = 0.0;\n for (Sample s : samples) {\n sum += Math.pow((double) s.rate() - avg, 2);\n }\n double variance = sum / (double) samples.size();\n return Math.sqrt(variance);\n }","title":""},{"docid":"1172a764acd8002037542f8913f76a2c","score":"0.5260315","text":"public Double getStandardDeviation() {\n return metric.getStdDev();\n }","title":""},{"docid":"92438aed1fc71efacb8fa43d7de41d46","score":"0.5258967","text":"public double stddev(){\n\t\t double mean = mean();\n\t\t double std = 0;\n\t\t for(int i = 0; i < T; i++)\n\t\t\t std = std + (percData[i] - mean)*(percData[i] - mean);\n\t\t return Math.sqrt(std/(T-1));\n\t }","title":""},{"docid":"f956c9587e5d73e41de7b6495f1a3907","score":"0.52566755","text":"public double stddev()\r\n {\r\n if(this.arrValue.length == 1)\r\n {\r\n return Double.NaN;\r\n }\r\n return StdStats.stddev(this.arrValue);\r\n }","title":""},{"docid":"2478b2b16ea4e5dfb806cf865a809c9e","score":"0.5254288","text":"public double stddev() {\n return mStddev;\n }","title":""},{"docid":"a4ae4d00e096dc66eaea3288775dc241","score":"0.52454036","text":"public double stddev() {\n return StdStats.stddev(arrOfThreshold);\n }","title":""},{"docid":"f5d27b0d5a44f5b8f799876f943a55c7","score":"0.5233844","text":"public float getDev_std() {\r\n\t\treturn dev_std;\r\n\t}","title":""},{"docid":"f432821aa20deb1737537642b60ce94f","score":"0.5225906","text":"private static double calculateStdDeviation(List list) {\n\t\tdouble deviation = 0;\n\t\tdouble mean = calculateMean(list);\n\t\tfor (Integer val : list) {\n\t\t\tdeviation += Math.pow(mean - val, 2);\n\t\t}\n\t\treturn Math.sqrt(deviation / list.size());\n\t}","title":""},{"docid":"f8d31e5f0249d27b87c5f71a65693dc0","score":"0.52169555","text":"public double stddev() {\n\t\treturn StdStats.stddev(results);\n\t}","title":""},{"docid":"708d31edd144ef68202b6aba567c1ae0","score":"0.52164346","text":"@java.lang.Override\n public java.util.List\n getStdDevList() {\n return stdDev_;\n }","title":""},{"docid":"65b48d624ab62e62a71da6187f83d731","score":"0.5212847","text":"public double statistics() {\n return testStatistics;\n }","title":""},{"docid":"241a9bd8d3f9c3617580150562135b7b","score":"0.5209212","text":"public double getStd() {\n\t\tif (needUpdate) update();\n\t\treturn Math.sqrt(statsProcedure.variance());\n\t}","title":""},{"docid":"5be9763b1b1c15a2cb5e4054b9b60389","score":"0.5208887","text":"public float getStdDev(int index) {\n return stdDev_.getFloat(index);\n }","title":""},{"docid":"9780cda0abd7325fd11436c6ec5e5f5d","score":"0.5206362","text":"public IntegerSequence calculateCommunityStatistics(){\n int maxmu=3;\n int maxF=3;\n int cm=7;\n if (numberElementsArray==null) analyse();\n communityStatistics= new IntegerSequence(maxmu, maxF, cm);\n communityStatistics.calcStats(numberElementsArray);\n return communityStatistics;\n }","title":""},{"docid":"aeaf2bfe265340adda79a5ddcad81434","score":"0.5201092","text":"public double stddev() {\n return StdStats.stddev(trialStats);\n }","title":""},{"docid":"e6750bcdea4bd8ad30d89b11eb235965","score":"0.51991296","text":"private MetricStreamDefinition streamDef(Query query) {\n TimeInterval dataSettlingTime = null;\n TimeInterval queryChunkSize = null;\n MetricStreamDefinition stream = new MetricStreamDefinition(\"id\", \"metricName\", \"db\", query, dataSettlingTime,\n queryChunkSize);\n return stream;\n }","title":""},{"docid":"17f3c17005e66334db3ff08046cfdb20","score":"0.5198475","text":"public float getStdDev(int index) {\n return stdDev_.getFloat(index);\n }","title":""},{"docid":"d25e00d9d6762152f451683f33d42e5a","score":"0.5196464","text":"@Override\n public Statistics[] getStatistics() {\n return getStatisticsManager().getStatistics();\n }","title":""},{"docid":"e87234cd9ad0a94b37bbe755a1b20cf9","score":"0.5196146","text":"public static void main(String[] args) {\n Stream empty = Stream.empty();\n System.out.println(\"count: \"+empty.count()); // count = 0\n \n // create stream with single element array\n Stream singleElement = Stream.of(1);\n System.out.println(\"count: \"+singleElement.count()); // count = 1\n \n // create stream with array\n Stream fromArray = Stream.of(1,2,3);\n System.out.println(\"count: \" + fromArray.count()); // count = 3\n \n // create stream with source of List\n List list = Arrays.asList(\"a\",\"b\",\"c\");\n Stream fromList = list.stream();\n Stream fromListParallel = list.parallelStream();\n System.out.println(\"count: \" + fromList.count());\n \n /*\n few ways to create infinite Stream\n */\n // create random stream elemen\n Stream randoms = Stream.generate(Math::random).limit(5);\n randoms.forEach(System.out::println); \n \n \n /*\n Common Stream Terminal Operation\n Stream can be performed a terminal operation without any intermediate\n operation but not the other way around. \n */\n // count\n Stream fruits = Stream.of(\"Apple\",\"Banana\",\"Cucumber\");\n System.out.println(\"Fruits: \" + fruits.count());\n \n // min & max\n Stream monkeys = Stream.of(\"monkey\",\"ape\",\"bonobo\",\"orangutan\");\n Optional minMon = monkeys.min((s1,s2) -> s1.length()-s2.length());\n minMon.ifPresent(System.out::println); // ape\n \n // forEach\n Stream numbers = Stream.generate(Math::random)\n .limit(5)\n .map(x -> x*100);\n numbers.forEach(System.out::println);\n \n // collect\n Stream greet = Stream.generate(() -> \"Hello\")\n .limit(10)\n .map(s -> s + \" World!\");\n List cc = greet.collect(Collectors.toList());\n cc.forEach(System.out::println);\n \n \n /*\n Common Intermediate Process \n */\n // filter\n Stream s = Stream.of(\"monkey\",\"gorilla\",\"bonobo\");\n s.filter(x -> x.startsWith(\"m\")).forEach(System.out::println); // monkey\n \n // distinct\n Stream sss = Stream.of(\"duck\",\"duck\",\"duck\",\"goose\");\n sss.distinct().forEach(System.out::println); // goose\n \n // sorted\n Stream names = Stream.of(\"Jack\",\"Andy\",\"Charlie\",\"Bono\");\n names.sorted().forEach(System.out::println); // Andy,Bono,Charlie,Jack\n \n /*\n IntStream\n */\n IntStream.rangeClosed(1, 10).forEach(System.out::print); \n \n \n \n \n }","title":""},{"docid":"aedea3b4f51804d80809d8921dfde19c","score":"0.5195709","text":"@Test\r\n public void testGetStandardDeviation() {\r\n System.out.println(\"getStandardDeviation\");\r\n // 1' single\r\n StandardDeviation instance = new StandardDeviation(Arrays.asList(5d), new Average(Arrays.asList(5d)));\r\n double expResult = 0.0;\r\n double result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.0);\r\n \r\n //2' even\r\n instance = new StandardDeviation(Arrays.asList(5d,2d), new Average(Arrays.asList(3.5d)));\r\n expResult = 1.5;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.0);\r\n \r\n //3' odd\r\n instance = new StandardDeviation(Arrays.asList(5d,2d,2d), new Average(Arrays.asList(3d)));\r\n expResult = 1.4142135623731;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.1);\r\n \r\n //4' double\r\n instance = new StandardDeviation(Arrays.asList(9.32d,35.32d,-32.12d), new Average(Arrays.asList(4.173333333333335)));\r\n expResult = 27.771742633275;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.00001);\r\n \r\n //5' no element\r\n instance = new StandardDeviation(Arrays.asList(), new Average(Arrays.asList()));\r\n expResult = NaN;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.0);\r\n }","title":""},{"docid":"bd2c1365a69a60c8529d46cd5747c61c","score":"0.516582","text":"public double stddev() {\n return StdStats.stddev(this.fractions);\n }","title":""},{"docid":"5914fbcc8e745d66393a4685f974afb3","score":"0.5160191","text":"mrtech.smarthome.rpc.Models.DeviceStatistics getStat();","title":""},{"docid":"1e01294cdacef55df667c6f08ac15fb8","score":"0.515629","text":"public StatisticsBuilder statistics(Statistics statistics) {\n this.sum += statistics.sum;\n this.count += statistics.count;\n this.avg = this.sum / this.count;\n this.max = this.max >= statistics.max ? this.max : statistics.max;\n this.min = this.min <= statistics.min ? this.min : statistics.min;\n return this;\n }","title":""},{"docid":"3f58c7b514d0f810419ecd66e744bc6c","score":"0.5149515","text":"private void calculateMedian()\n {\n int sizeMax = _maxHeap.size() ;\n int sizeMin = _minHeap.size() ;\n \n // mean = average of middle 2 values\n if( sizeMax == sizeMin )\n {\n int valMax = 0 - _maxHeap.peek().intValue() ;\n int valMin = _minHeap.peek().intValue() ;\n \n _median = (valMax + valMin) / 2.0 ;\n }\n \n // median is in max heap\n else if( sizeMax > sizeMin )\n {\n _median = 0 - _maxHeap.peek().intValue() ;\n }\n \n // median is in min heap\n else\n {\n _median = _minHeap.peek().intValue() ;\n }\n }","title":""},{"docid":"5a3d2776070e37641d6ccc45dcb04160","score":"0.5137455","text":"public double getMagStdDev() {\n return Double.NaN;\n }","title":""},{"docid":"58d6a99133bb6888f999956e64a9b2af","score":"0.5135231","text":"public double getStDeviation() {\r\n return stDeviation;\r\n }","title":""},{"docid":"e61c4641887d027f8258844b996ea1e9","score":"0.51342064","text":"public double stddev() {\n return StdStats.stddev(arrThresholds);\n }","title":""},{"docid":"08a8339902e5f057dd08934880f46289","score":"0.512795","text":"public static StatsImpl CalculateStats(Collection collection) {\n\t\tint citiesProcessed= collection.size();\n\t\tif (citiesProcessed==0) {\n\t\t\tthrow new IllegalArgumentException(\"La collection di città da analizzare non può essere vuota\");\n\t\t}\n\t\tdouble max=-1;\n\t\tdouble min=1000000;\n\t\tdouble mean=0;\n\t\tdouble variance=0;\n\t\tint valuesProcessed=0;\n\t\t\n\t\tfor (CityUV cityUV : collection) {\n\t\t\tvaluesProcessed+=cityUV.getRecord().size();\n\t\t\tfor (Double d : cityUV.getRecord().values()) {\n\t\t\t\tif (dmax) {\n\t\t\t\t\tmax=d;\n\t\t\t\t}\n\t\t\t\tmean+=d;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\ttry {\n\t\t\tmean/=valuesProcessed;\n\t\t} catch (ArithmeticException e) {\n\t\t\tthrow new IllegalArgumentException(\"I record delle città da analizzare non possono essere tutti contemporeanamente vuoti\");\n\t\t}\n\t\t\n\t\t\n\t\tfor (CityUV cityUV : collection) {\n\t\t\tfor (Double d : cityUV.getRecord().values()) {\n\t\t\t\tvariance+=Math.pow(d-mean, 2);\n\t\t\t}\n\t\t}\n\t\tvariance/=valuesProcessed;\n\t\treturn new StatsImpl(max, min, mean, variance, valuesProcessed, citiesProcessed);\n\t}","title":""},{"docid":"613613ad38159f043baa19a546b6c9ee","score":"0.5124242","text":"public static void main(String[] args) throws Exception {\n final StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();\r\n env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime);\r\n\r\n SingleOutputStreamOperator> timestamped = env.addSource(new WaveletTestSource(10000, 80))\r\n .assignTimestampsAndWatermarks(new CustomTimeStampExtractor());\r\n\r\n\r\n Window[] windows = {new SlidingWindow(WindowMeasure.Count, 800, 400)};\r\n// Window[] windows = {new SlidingWindow(WindowMeasure.Time, 1000,500)};\r\n\r\n// SingleOutputStreamOperator> finalSketch = BuildSynopsis.scottyWindowsRescale(timestamped,windows,0,CountMinSketch.class,10,10,1L);\r\n SingleOutputStreamOperator finalSketch = BuildSynopsis.countBased(timestamped, 80,40,0,CountMinSketch.class,10, 10, 1L);\r\n\r\n\r\n// finalSketch.flatMap(new FlatMapFunction, String>() {\r\n// @Override\r\n// public void flatMap(AggregateWindow value, Collector out) throws Exception {\r\n// String result = value.getStart()+\" ---> \"+value.getEnd()+\"\\n\";//+value.getAggValues().get(0).toString();\r\n// CountMinSketch manager = value.getAggValues().get(0);\r\n// result += \"Elements Processed: \"+manager.getElementsProcessed()+\"\\n\";\r\n// out.collect(result);\r\n//// for (CountMinSketch w: value.getAggValues()){\r\n//// out.collect(w.toString());\r\n//// }\r\n// }\r\n// }).print();\r\n\r\n finalSketch.flatMap(new FlatMapFunction() {\r\n @Override\r\n public void flatMap(CountMinSketch manager, Collector out) throws Exception {\r\n String result = \"Elements Processed: \"+manager.getElementsProcessed()+\"\\n\";\r\n// for (int i = 0; i < manager.getElementsProcessed(); i++) {\r\n// double pq = manager.pointQuery(i);\r\n//// System.out.println(pq);\r\n// result += pq +\"\\n\";\r\n// }\r\n result += \"--------------------------------------------------\\n\\n\";\r\n out.collect(result);\r\n// for (CountMinSketch w: value.getAggValues()){\r\n// out.collect(w.toString());\r\n// }\r\n }\r\n }).print();\r\n\r\n// .writeAsText(\"EDADS/output/scottyTest.txt\", FileSystem.WriteMode.OVERWRITE).setParallelism(1);\r\n\r\n env.execute(\"Flink Streaming Java API Skeleton\");\r\n }","title":""},{"docid":"c049a659fd43ae52a25e54d1e86f3c1e","score":"0.5123781","text":"public void aggregate(byte[] statsBuf) {\n String[] lines = new String(statsBuf).split(\"\\n\");\n for (int i = 0; i < lines.length; i++) {\n String[] toks = lines[i].split(\" \");\n if (toks.length == 3 && \"ts\".equals(toks[0])) {\n double startTime = Double.parseDouble(toks[1]);\n double endTime = Double.parseDouble(toks[2]);\n startTime_[bufIx_] = startTime;\n endTime_[bufIx_] = endTime;\n bufIx_ = (bufIx_ + 1) % N_STATS;\n double cbTime = endTime - startTime;\n meanCbTime_ += (cbTime - meanCbTime_) * .01;\n }\n }\n }","title":""},{"docid":"06d303feb5866ede1afd90d138b07bbb","score":"0.5119028","text":"public float getAverageNumberOfTypesAtReads() {\n float numberPreciseReads = number_read_property_with_single_type + number_read_variables_with_single_type;\n float totalNumberTypes = numberPreciseReads + polymorphic_reads_context_sensitive.values().stream().reduce(0, Integer::sum);\n float totalNumberReads = numberPreciseReads + polymorphic_reads_context_sensitive.size();\n return totalNumberReads != 0 ? totalNumberTypes / totalNumberReads : -1;\n }","title":""},{"docid":"f3df19852f876b675a3236671b305da6","score":"0.51139957","text":"public TabularDataSupport getStatistics() throws IOException {\n String[] statsNames = {\"function\", \"count\", \"error code\", \"average\"};\n OpenType[] statsTypes = {SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING};\n try {\n CompositeType statType = new CompositeType(\"Statistic\", \n \"A statistic of a function\", statsNames, statsNames, statsTypes);\n TabularType tabType = new TabularType(\"Function statistics\", \n \"Statistics of the functions\", statType, statsNames);\n TabularDataSupport tabularData = new TabularDataSupport(tabType);\n Iterator itFunctions = _api.getFunctionList().iterator();\n while (itFunctions.hasNext()) {\n Function nextFunction = (Function) itFunctions.next();\n Element success = nextFunction.getStatistics().getSuccessfulElement();\n HashMap statMap = new HashMap();\n statMap.put(\"function\", nextFunction.getName());\n statMap.put(\"count\", success.getAttribute(\"count\"));\n statMap.put(\"error code\", \"\");\n statMap.put(\"average\", success.getAttribute(\"average\"));\n CompositeDataSupport statData = new CompositeDataSupport(statType, statMap);\n tabularData.put(statData);\n }\n \n return tabularData;\n } catch (Exception ex) {\n ex.printStackTrace();\n return null;\n }\n }","title":""},{"docid":"de646eb298d17188794a7d871c4d4c66","score":"0.51109695","text":"@Override\n\tpublic Number filteredReading() {\t\t\n\t// Check we have any readings.\n\tif (buffer.size() == 0) return new Double(0.0);\n\t\n\tSensorReading reading = null;\n\tdouble sum = 0.0;\n\tdouble avge = 0.0;\n\tint index = 0;\n\tdouble ww = 0.0;\n\n\t// Loop over buffered samples.\n\tIterator it = buffer.iterator();\n\twhile (it.hasNext()) {\n\t reading = (SensorReading)it.next();\t\n\t if (index < weights.length)\n\t\tww = weights[index];\n\t else\n\t\tww = 0.0;\n\n\t avge = avge + ww * reading.getContinuousReading();\n\t sum = sum + ww;\n\t index++;\n\t}\n\treturn new Double(avge / sum);\n }","title":""},{"docid":"6fa75c133db9db16316d1a41fa7881cd","score":"0.5110722","text":"public double[] getAverageAndStD(double[] values){\n\t\t\n\t\tdouble average = average(values);\n\t\t\n\t\t//System.out.println(\"AVERAGE : \"+average);\n\t\t\n\t\treturn new double[] {average, std(values, average)};\n\t}","title":""},{"docid":"3bcd41ce43a0885a6ec4aa63841efec3","score":"0.51102775","text":"default double stdDev() {\r\n return Math.sqrt(variance());\r\n }","title":""},{"docid":"2290ed437ce2d4f57349c0d787b566b6","score":"0.51066655","text":"public double stddev(){\n\t\treturn stdEstimate;\n\t}","title":""},{"docid":"e79d0846ef2a874b8d2ec7e6ee482d47","score":"0.5100408","text":"int getDataFrequencyValue();","title":""},{"docid":"4c50e89600e6986f52916e54b5bef916","score":"0.5100319","text":"public double stddev() {\n if (numTrials == 1) {\n return Double.NaN;\n }\n return StdStats.stddev(thresholds);\n }","title":""},{"docid":"656038a6a1e8557ff6e2738c885efe5b","score":"0.5097813","text":"private static StdAvg getStdAvg(double[] data){\n double avg = getAverage(data);\n double std = getStandardDeviation(data, avg);\n\n return new StdAvg(std, avg);\n }","title":""},{"docid":"ea447ee6411a0027824b9413f1a1658e","score":"0.50963205","text":"public void calcStdDeviation() {\n\t\t\n\t\tthis.std_dev = 0;\n\t\tdouble average = 0.0;\n\t\tint n = this.regretList.size();\n\t\tint regret;\n\t\tint sigmaSum = 0;\n\t\t\n\t\tif (n == 1) {\n\t\t\tthis.std_dev = 0;\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i <= this.regretList.size() - 1; i++) { // calculating the mean\n\t\t\t\taverage += this.regretList.get(i);\n\t\t\t}\n\t\t\taverage /= n;\n\t\t\t\n\t\t\tfor (int u = 0; u <= n - 1; u++) {\n\t\t\t\tsigmaSum += Math.pow(this.regretList.get(u) - average, 2);\n\t\t\t}\n\t\t\t\n\t\t\tthis.std_dev = Math.sqrt(sigmaSum / n); \n\t\t}\n\t\t\n\t}","title":""},{"docid":"fce631687259d9a89d84f312462bed3d","score":"0.5095566","text":"public MeanStdDevTransformation() { }","title":""},{"docid":"deb8f72ac518ea5ee1209c97f13bf463","score":"0.5089625","text":"public double standardDeviation() {\n return Math.sqrt(value());\n }","title":""},{"docid":"1530d8982a595228cda1f9c2951925e6","score":"0.50882965","text":"public double stddev() {\n if (resStddev == 0) {\n resStddev = StdStats.stddev(fracOpen);\n }\n return resStddev;\n\n }","title":""}],"string":"[\n {\n \"docid\": \"f9f05638d01de24979b5abc645b9f2a4\",\n \"score\": \"0.6378376\",\n \"text\": \"public JsonObject getStatistics() {\\r\\n LOGGER.debug(\\\"get statistics called\\\");\\r\\n JsonObject response = new JsonObject();\\r\\n response.put(\\\"count\\\", count);\\r\\n response.put(\\\"sum\\\", sum);\\r\\n double avg = 0;\\r\\n if(count!=0){\\r\\n avg = sum/count;\\r\\n }\\r\\n response.put(\\\"avg\\\", avg);\\r\\n\\r\\n double maxVal = 0;\\r\\n if(max != Double.MIN_VALUE){\\r\\n maxVal = max;\\r\\n }\\r\\n response.put(\\\"max\\\", maxVal);\\r\\n\\r\\n double minVal = 0;\\r\\n if(min != Double.MAX_VALUE){\\r\\n minVal = min;\\r\\n }\\r\\n response.put(\\\"min\\\", minVal);\\r\\n return response;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2037e53a5daea70ce3f7a70c4377ae4e\",\n \"score\": \"0.63414276\",\n \"text\": \"static double normalizedMean(Stream stream) {\\n\\n\\t\\tList dataSource = stream.map(x -> (double)x).collect(Collectors.toList());\\n\\n\\t\\tdouble max = dataSource.stream().reduce((x, y) -> Math.max(x, y)).orElse(1.0);\\n\\t\\tdouble min = dataSource.stream().reduce((x, y) -> Math.min(x, y)).orElse(0.0);\\n\\n\\t\\tif (dataSource.size() <= 1 || Double.compare(max, min) == 0) {\\n\\t\\t\\treturn 0.0;\\n\\t\\t}\\n\\n\\t\\treturn dataSource.stream().map(x -> (x - min) / (max - min)).reduce(0.0, (x, y) -> x + y) / dataSource.size();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dec419e635206a184e00ce95351110e\",\n \"score\": \"0.6337291\",\n \"text\": \"public void measure()\\n\\t{\\n\\t\\tmean = 0;\\n\\t\\tvarn = 0;\\n\\t\\tdevn = 0;\\n\\t\\tconf = 0;\\n\\t\\tmin = 0;\\n\\t\\tmax = 0;\\n\\t\\t\\t\\t\\n\\t\\tif (samples.size() == 0)\\n\\t\\t\\treturn;\\n\\t\\t\\n\\t\\tmin = Double.POSITIVE_INFINITY;\\n\\t\\tmax = Double.NEGATIVE_INFINITY;\\n\\t\\t\\n\\t\\t//\\tCalculate mean\\n\\t\\tfor (Double val : samples)\\n\\t\\t{\\n\\t\\t\\tmean += val.doubleValue();\\n\\t\\t\\tif (val.doubleValue() < min)\\n\\t\\t\\t\\tmin = val.doubleValue();\\n\\t\\t\\tif (val.doubleValue() > max)\\n\\t\\t\\t\\tmax = val.doubleValue();\\n\\t\\t}\\n\\t\\tmean /= samples.size();\\n\\t\\t\\t\\n\\t\\t//\\tVariance \\n\\t\\tfor (Double val : samples)\\n\\t\\t{\\n\\t\\t\\tfinal double diff = val.doubleValue() - mean;\\n\\t\\t\\tvarn += diff * diff;\\n\\t\\t}\\n\\t\\tvarn /= samples.size();\\n\\t\\t\\n\\t\\t//\\tStandard deviation\\n\\t\\tdevn = Math.sqrt(varn);\\n\\t\\n\\t\\t//\\tConfidence interval\\n\\t\\tconf = 2 * ci * devn / Math.sqrt(samples.size());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c86d2b5453ef0220931fce03e892fe08\",\n \"score\": \"0.6264562\",\n \"text\": \"public static interface SummaryStatistics {\\r\\n /** Return the number of elements */\\r\\n public int size();\\r\\n /** Return the minimum element, or Double.MAX_VALUE if empty */\\r\\n public double min();\\r\\n /** Return the maximum element, or -Double.MAX_VALUE if empty */\\r\\n public double max();\\r\\n /** Return the index of the minimum element, or -1 if empty */\\r\\n public int indexOfMin();\\r\\n /** Return the index of the maximum element, or -1 if empty */\\r\\n public int indexOfMax();\\r\\n /** Return the sum of all elements */\\r\\n public double sum();\\r\\n /** Return the arithmetic average of all elements */\\r\\n public double average();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"098b17110ea934aa63d76e17580f12e1\",\n \"score\": \"0.6206454\",\n \"text\": \"int getStdDevCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc01fc51011b61a13e4a2e98b5e1d3d0\",\n \"score\": \"0.61268824\",\n \"text\": \"@Override\\n\\tpublic StatisticsSummary getStatistics() {\\n\\t\\tStatisticsSummary summary = statisticsForLastMin.values().stream()\\n\\t\\t\\t\\t.filter(s -> (System.currentTimeMillis() - s.getTimestamp()) / 1000 < SECONDS_STAT)\\n\\t\\t\\t\\t.map(StatisticsSummary::new).reduce(new StatisticsSummary(), (s1, s2) -> {\\n\\t\\t\\t\\t\\ts1.setSum(s1.getSum() + s2.getSum());\\n\\t\\t\\t\\t\\ts1.setCount(s1.getCount() + s2.getCount());\\n\\t\\t\\t\\t\\ts1.setMax(Double.compare(s1.getMax(), s2.getMax()) > 0 ? s1.getMax() : s2.getMax());\\n\\t\\t\\t\\t\\ts1.setMin(Double.compare(s1.getMin(), s2.getMin()) < 0 ? s1.getMin() : s2.getMin());\\n\\t\\t\\t\\t\\treturn s1;\\n\\t\\t\\t\\t});\\n\\n\\t\\tsummary.setMin(Double.compare(summary.getMin(), Double.MAX_VALUE) == 0 ? 0.0 : summary.getMin());\\n\\t\\tsummary.setMax(Double.compare(summary.getMax(), Double.MIN_VALUE) == 0 ? 0.0 : summary.getMax());\\n\\t\\tsummary.setAvg(summary.getCount() > 0l ? summary.getSum() / summary.getCount() : 0.0);\\n\\n\\t\\tlogger.info(\\\"Statistics summary for last minute => {}\\\", summary.toString());\\n\\t\\treturn summary;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1de3fc2c40b69ebe445525e429922c6\",\n \"score\": \"0.6054283\",\n \"text\": \"public String statistics() {\\n DecimalFormat formatter = new DecimalFormat(\\\"#,###\\\");\\n DecimalFormat floatFormatter = new DecimalFormat(\\\"#,###.00\\\");\\n return String.format(\\\"min %s | avg %s | max %s | stddev %s msgs\\\",\\n formatter.format(minRate()), formatter.format(avgRate()),\\n formatter.format(maxRate()), floatFormatter.format(stdDev()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23820198ffb11437dfca40ad0470f3e9\",\n \"score\": \"0.5911547\",\n \"text\": \"private void calculatePopulationMeanAndStdDev(List movieMetadatas) {\\n movieMetadatas.stream()\\n .forEach(movieMetadata -> {\\n if (movieMetadata.successful)\\n numSuccessful++;\\n numMovies++;\\n });\\n\\n populationMean = numSuccessful / (float) numMovies;\\n\\n stdDev = (float) Math.sqrt(2 * populationMean * (1 - populationMean) / numMovies);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c7bb5708a5383b8248b41ac23cc1e52\",\n \"score\": \"0.5843673\",\n \"text\": \"public Stats() {\\n\\t\\tValoreMax = 0;\\n\\t\\tValoreMin = 0;\\n\\t\\tValoreQM = .0;\\n\\t\\tMedia = .0;\\n\\t\\tVarianza = .0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11e85a043b4bd937cc638c4c298262e8\",\n \"score\": \"0.5833373\",\n \"text\": \"public int getStdDevCount() {\\n return stdDev_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d303e516ae20c852b5bad7729a8254c4\",\n \"score\": \"0.58211523\",\n \"text\": \"private static void summaryStatisticsNumber() {\\n\\n System.out.println(\\\"Example count: summaryStatisticsNumber\\\");\\n\\n IntSummaryStatistics statistics = IntStream\\n .rangeClosed(1, 20)\\n .boxed()\\n .mapToInt( n -> n )\\n .summaryStatistics();\\n\\n System.out.println(statistics);\\n\\n System.out.println(\\\"-------------END-------------\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e2ed7042a71b971cdb0950a8397a73b\",\n \"score\": \"0.58156157\",\n \"text\": \"public int getStdDevCount() {\\n return stdDev_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"333eba39da2324b6a63b2a093e317f35\",\n \"score\": \"0.58122\",\n \"text\": \"float getVariance() {\\n\\t\\t\\tif(chaos == null || chaos.size() < 2 * count) {\\n//\\t\\t\\t\\tLog.e(\\\"sensor\\\", \\\"filter value null\\\");\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t\\tfloat sum = 0;\\n\\t\\t\\tfor(int i=0; i l = new ArrayList();\\n for (int i = 1; cols != null && i <= cols.length; i++) {\\n l.add(this.getColumn(i).toInfo());\\n }\\n ret.setColumns(l);\\n return ret;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"637400c111ea42f4304cba29e9e5645a\",\n \"score\": \"0.5765325\",\n \"text\": \"int getMeanCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7d247f0ebd18b3804ed1e5d952012b9\",\n \"score\": \"0.5715893\",\n \"text\": \"public MedianStream() {\\n\\t\\tthis.currentMedian = 0.0;\\n\\t\\tthis.maxHeap = new MaxPQ();\\n\\t\\tthis.minHeap = new MinPQ();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e490caf148ed8bfc3c7fe1d82c3bddb6\",\n \"score\": \"0.5694812\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(pCount);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be77d3bea0aa856595e4d1e79b6172fe\",\n \"score\": \"0.56858945\",\n \"text\": \"public interface Summarizable {\\n /**\\n * Returns the largest recorded value.\\n *\\n * @return the largest recorded value\\n */\\n double max();\\n\\n /**\\n * Returns the smallest recorded value.\\n *\\n * @return the smallest recorded value\\n */\\n double min();\\n\\n /**\\n * Returns the arithmetic mean of all recorded values.\\n *\\n * @return the arithmetic mean of all recorded values\\n */\\n double mean();\\n\\n /**\\n * Returns the standard deviation of all recorded values.\\n *\\n * @return the standard deviation of all recorded values\\n */\\n double stdDev();\\n\\n /**\\n * Returns the sum of all recorded values.\\n *\\n * @return the sum of all recorded values\\n */\\n double sum();\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ccb1e3313c1644591d15b5727f51c75\",\n \"score\": \"0.5559614\",\n \"text\": \"double[] calcSpaceStats(double[] rawVals,int varIndex,DataSetControllerImpl.SpatialStatsInfo spatialStatsInfo) {\\r\\n\\t\\r\\n double min = Double.POSITIVE_INFINITY;\\r\\n double max = Double.NEGATIVE_INFINITY;\\r\\n double mean = 0;\\r\\n double wmean = 0;\\r\\n double sum = 0;\\r\\n double wsum = 0;\\r\\n double val;\\r\\n for(int j=0;j max){max=val;}\\r\\n\\t sum+= val;\\r\\n\\t if(spatialStatsInfo.bWeightsValid){wsum+= val*spatialStatsInfo.spaceWeight[varIndex][j];}\\r\\n }\\r\\n mean = sum/rawVals.length;\\r\\n if(spatialStatsInfo.bWeightsValid){wmean = wsum/spatialStatsInfo.totalSpace[varIndex];}\\r\\n\\r\\n return new double[] {min,max,mean,wmean,sum,wsum};\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a88876e75625f1a2cf2bed1c3579fa1\",\n \"score\": \"0.5547712\",\n \"text\": \"public double stddev(){return this.stddev;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00ccf5d204e70193466cbd3746b1a276\",\n \"score\": \"0.554193\",\n \"text\": \"public double stddev() {\\n return _stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88679f97e8a348a1e6c0e9b47226557f\",\n \"score\": \"0.55404913\",\n \"text\": \"public double stddev() {\\n double mean = mean();\\n double stddevtotal = 0;\\n for (double value : values) {\\n double dev = value - mean;\\n stddevtotal += dev * dev;\\n }\\n return Math.sqrt(stddevtotal / values.size());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1306b03aaa00a4544cf8141f4278196\",\n \"score\": \"0.5532651\",\n \"text\": \"public static double mean(Supplier> values) {\\n return values.get().mapToDouble(Double::doubleValue).sum() / values.get().count();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4c858df6c2f5dd504b773f0622645e9\",\n \"score\": \"0.550193\",\n \"text\": \"public void updateStatistics(int value) {\\n resultCurrent = value; // Set current result to passed value.\\n resultTotal += value; // Add passed value to total result.\\n\\n if(runsSoFar == 0) { // Default first values to min/max.\\n maxval = value;\\n minval = value;\\n }\\n \\n runsSoFar++; // Increment.\\n\\n if (value > maxval) { // Max check.\\n maxval = value;\\n }\\n if (value < minval) { // Min check.\\n minval = value;\\n }\\n\\n average = average(); // Call average.\\n standardDeviation = standardDeviation(); // Call standardDeviation.\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b30c867539f7fcc4e0189609c9c036a\",\n \"score\": \"0.55018324\",\n \"text\": \"public double stddev() {\\n return stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b30c867539f7fcc4e0189609c9c036a\",\n \"score\": \"0.55018324\",\n \"text\": \"public double stddev() {\\n return stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b30c867539f7fcc4e0189609c9c036a\",\n \"score\": \"0.55018324\",\n \"text\": \"public double stddev() {\\n return stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b30c867539f7fcc4e0189609c9c036a\",\n \"score\": \"0.55018324\",\n \"text\": \"public double stddev() {\\n return stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f832eebdc66ecd31c6a864c00905a6b\",\n \"score\": \"0.54996896\",\n \"text\": \"public double stddev() {\\n\\t\\treturn StdStats.stddev(counter);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e6a28360a1ee2ff133eb1a6e92fed20\",\n \"score\": \"0.5474566\",\n \"text\": \"public double getStandardDeviation() {\\n return std;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8b2c077dff573c40854333d904cedad\",\n \"score\": \"0.5468098\",\n \"text\": \"java.util.List getStdDevList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b20f144c11571a999384a280edf5e3e1\",\n \"score\": \"0.5467081\",\n \"text\": \"private void calculateStatistics() {\\n\\t\\t\\n\\t\\t// Need to figure out what is the difference between this and calcAllStatistics\\n\\t\\t\\n\\t\\tdouble min = Double.MAX_VALUE;\\n\\t\\tdouble max = Double.MIN_VALUE;\\n\\t\\tdouble average = 0;\\n\\n\\t\\tdouble totValidObs = 0;\\n\\t\\t\\n\\t\\tString stidMax = \\\"\\\";\\n\\t\\tString stidMin = \\\"\\\"; \\n\\t\\t\\n\\t\\tint counter = 0;\\n\\t\\t\\n TreeMap treemin = new TreeMap(); \\n TreeMap treemax = new TreeMap(); \\n TreeMap treeavg = new TreeMap();\\n TreeMap treetot = new TreeMap();\\n\\n for (Map.Entry> entry : dataCatalog.entrySet()) { \\n\\n String mapKey = entry.getKey();\\n ArrayList mapValue = entry.getValue();\\n\\n \\n\\t\\t\\tfor (int i = 0; i < mapValue.size(); i++) {\\n\\t\\t\\t\\t\\n\\t\\n\\t\\t\\t\\tif (mapValue.get(i).isValid()) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tdouble indexVal = mapValue.get(i).getValue();\\n\\t\\t\\t\\t\\tString stidVal = mapValue.get(i).getStid();\\n\\t\\t\\t\\t\\ttotValidObs = totValidObs + mapValue.get(i).getValue();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (max < indexVal) {\\n\\t\\t\\t\\t\\t\\tmax = indexVal;\\n\\t\\t\\t\\t\\t\\tstidMax = stidVal;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse if (min > indexVal) {\\n\\t\\t\\t\\t\\t\\tmin = indexVal;\\n\\t\\t\\t\\t\\t\\tstidMin = stidVal;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tcounter++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\taverage = totValidObs / counter;\\n\\t\\t\\t\\n\\t\\t\\t// Make temp Statistic objects to store Statistics information\\n\\t\\t\\tStatistics averageStat = new Statistics(average, MESONET, this.utcDateTime, counter, StatsType.AVERAGE);\\n\\t\\t\\tStatistics maxStat = new Statistics(max, stidMax, this.utcDateTime, counter, StatsType.MAXIMUM);\\n\\t\\t\\tStatistics minStat = new Statistics(min, stidMin, this.utcDateTime, counter, StatsType.MINIMUM);\\n\\t\\t\\tStatistics totStat = new Statistics(totValidObs, MESONET, this.utcDateTime, counter, StatsType.TOTAL);\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\ttreeavg.put(mapKey, averageStat);\\n\\t\\t\\ttreemax.put(mapKey, maxStat);\\n\\t\\t\\ttreemin.put(mapKey, minStat);\\n\\t\\t\\ttreetot.put(mapKey, totStat);\\n\\t\\t\\t\\n\\t\\t\\tstatistics.put(StatsType.AVERAGE, treeavg);\\n\\t\\t\\tstatistics.put(StatsType.MAXIMUM, treemax);\\n\\t\\t\\tstatistics.put(StatsType.MINIMUM, treemin);\\n\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0b936a5750a0446e8d672b5f9b23034\",\n \"score\": \"0.5443217\",\n \"text\": \"float getStdDev(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f23d30160563c06275736dcb1c06e37e\",\n \"score\": \"0.5440475\",\n \"text\": \"public static void collectExtracted(Stream stream) throws IOException{\\n\\t\\tFrequencyTable traceCounter=new FrequencyTable<>();\\n\\t\\tStatistic traces=new Statistic(\\\"Trace\\\");\\n\\t\\tStatistic points=new Statistic(\\\"Point\\\");\\n\\t\\tStatistic width=new Statistic(\\\"Width\\\");\\n\\t\\tStatistic height=new Statistic(\\\"Height\\\");\\n\\t\\tStatistic traceWidth=new Statistic(\\\"Trace width\\\");\\n\\t\\tStatistic traceHeight=new Statistic(\\\"Trace height\\\");\\n\\t\\tStatistic length=new Statistic(\\\"Trace length\\\");\\n\\t\\tfor(Iterator iterator=stream.iterator();iterator.hasNext();){\\n\\t\\t\\tTraceList traceList=iterator.next();\\n\\t\\t\\ttraceCounter.advance(traceList.getTraces().size());\\n\\t\\t\\ttraces.addSample(traceList.getTraces().size());\\n\\t\\t\\ttraceList.getTraces().forEach((t)->{\\n\\t\\t\\t\\tpoints.addSample(t.getPoints().size());\\n\\t\\t\\t\\ttraceWidth.addSample(t.getBoundBox().getWidth());\\n\\t\\t\\t\\ttraceHeight.addSample(t.getBoundBox().getHeight());\\n\\t\\t\\t\\tlength.addSample((int)SpeedNormalizer.getLength(t));\\n\\t\\t\\t});\\n\\t\\t\\tBoundBox boundBox=traceList.getBoundBox();\\n\\t\\t\\twidth.addSample(boundBox.getWidth());\\n\\t\\t\\theight.addSample(boundBox.getHeight());\\n\\t\\t}\\n\\t\\tSystem.out.println(\\\"Trace:\\\");\\n\\t\\tSystem.out.println(traceCounter);\\n\\t\\tSystem.out.println(traces);\\n\\t\\tSystem.out.println(points);\\n\\t\\tSystem.out.println(width);\\n\\t\\tSystem.out.println(height);\\n\\t\\tSystem.out.println(traceWidth);\\n\\t\\tSystem.out.println(traceHeight);\\n\\t\\tSystem.out.println(length);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f963a7ea67dacd89650a70148565ca6c\",\n \"score\": \"0.5439362\",\n \"text\": \"@Test\\r\\n\\tpublic void statsTest() {\\r\\n\\t\\tLoopsAndArrays la = new LoopsAndArrays();\\r\\n\\r\\n\\t\\tScanner scanner = new Scanner(\\\"90.0 80.0 70.0 68.0\\\");\\r\\n\\t\\tdouble[] result = la.stats(scanner);\\r\\n\\t\\tassertEquals(3, result.length);\\r\\n\\t\\tassertEquals(90.0, result[0], 0.1);\\r\\n\\t\\tassertEquals(68.0, result[1], 0.1);\\r\\n\\t\\tassertEquals(77.0, result[2], 0.1);\\r\\n\\r\\n\\t\\tscanner = new Scanner(\\\"100 200 300 400\\\");\\r\\n\\t\\tresult = la.stats(scanner);\\r\\n\\t\\tassertEquals(3, result.length);\\r\\n\\t\\tassertEquals(400, result[0], 0.1);\\r\\n\\t\\tassertEquals(100, result[1], 0.1);\\r\\n\\t\\tassertEquals(250, result[2], 0.1);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"893c8cab4420560d1b01138c58a358b4\",\n \"score\": \"0.5436525\",\n \"text\": \"public double stddev() {\\r\\n return StdStats.stddev(thresholdValues);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abd79f6134d936bb9a1728fe2ab5ce72\",\n \"score\": \"0.54306036\",\n \"text\": \"public static int computeStatistics(Object data, double[] avgstd, Object fillValue)\\n {\\n \\tint retval=1, npoints=0;\\n \\tdouble sum=0, avg=0.0, var=0.0, diff=0.0, fill=0.0;\\n\\n \\tif ((data == null) || (avgstd == null) || (Array.getLength(data)<=0) || (Array.getLength(avgstd)<2)) {\\n return -1;\\n }\\n \\t\\n int n = Array.getLength(data);\\n boolean hasFillValue = (fillValue!=null && fillValue.getClass().isArray());\\n\\n String cname = data.getClass().getName();\\n char dname = cname.charAt(cname.lastIndexOf(\\\"[\\\")+1);\\n\\n npoints = 0;\\n switch (dname)\\n {\\n case 'B': \\n byte[] b = (byte[])data;\\n if (hasFillValue) fill = ((byte[])fillValue)[0];\\n for (int i=0; i getMetrics() {\\n Map results = new HashMap<>();\\n\\n // Add the initial severity value every time metrics are collected.\\n String severityKey = MetricUtility.constructKey(\\\"thermal\\\", \\\"throttling\\\", \\\"severity\\\");\\n MetricUtility.addMetric(severityKey, mInitialSeverity, results);\\n\\n List eventMetricData = getStatsdHelper().getEventMetrics();\\n Log.i(LOG_TAG, String.format(\\\"%d thermal data points found.\\\", eventMetricData.size()));\\n // Collect all thermal throttling severity state change events.\\n for (EventMetricData dataItem : eventMetricData) {\\n if (dataItem.getAtom().hasThermalThrottlingSeverityStateChanged()) {\\n // TODO(b/137878503): Add elapsed_timestamp_nanos for timpestamp data.\\n // Get thermal throttling severity state change data point.\\n int severity =\\n dataItem.getAtom()\\n .getThermalThrottlingSeverityStateChanged()\\n .getSeverity()\\n .getNumber();\\n // Store the severity state change ignoring where the measurement came from.\\n MetricUtility.addMetric(severityKey, severity, results);\\n // Set the initial severity to the last value, in case #getMetrics is called again.\\n mInitialSeverity = severity;\\n }\\n }\\n\\n return results;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0b42083d4c700ca1ee5d6bd0e330bf2\",\n \"score\": \"0.54244983\",\n \"text\": \"public float getSummaryData()\\r\\n {\\r\\n float data;\\t\\t\\r\\n data = num;\\t\\t\\r\\n return data;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d478794eee63518047bae10017ea23\",\n \"score\": \"0.53717166\",\n \"text\": \"public double stddev() {\\n return this.stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d478794eee63518047bae10017ea23\",\n \"score\": \"0.53717166\",\n \"text\": \"public double stddev() {\\n return this.stddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a095d74c6e827cb60ebba0fa08d64136\",\n \"score\": \"0.5359697\",\n \"text\": \"private float dev_std(float[] data) {\\r\\n\\t\\treturn (float) Math.sqrt((double) avg(data));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d77d0c88c36555ef6d9f74aed1ecc135\",\n \"score\": \"0.5350202\",\n \"text\": \"public double stddev()\\n\\t{\\n\\t\\tdouble sum=0.0;\\n\\t\\tif(mean==0.0)\\n\\t\\t\\tmean = mean();\\n\\t\\tfor ( int i = 0; i < times; i++ )\\n\\t\\t{\\n\\t\\t\\tsum+=(thresh[i]-mean)*(thresh[i]-mean);\\n\\t\\t}\\n\\t\\tstdev = Math.sqrt(sum/(times-1));\\n\\t\\treturn stdev;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1a905475b30099c0ac6e4bca3f502d0\",\n \"score\": \"0.5347149\",\n \"text\": \"public double stddev()\\n {\\n return StdStats.stddev(thresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d710b8df9c2669a8e6009ddc097f9d62\",\n \"score\": \"0.5345987\",\n \"text\": \"double stdDev();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3b5bea48d30d15771656be4b4bd531e\",\n \"score\": \"0.53392017\",\n \"text\": \"public Statistic(double sum, double avg, double max, double min, long count) {\\n super();\\n this.sum = sum;\\n this.avg = avg;\\n this.max = max;\\n this.min = min;\\n this.count = count;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"950d33f96b6d93d8d5096de4c7ae2cb7\",\n \"score\": \"0.53366697\",\n \"text\": \"public double getStdDev() {\\n return stdDev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0cbc06a923ad28f83d5d7d3404762c6\",\n \"score\": \"0.531378\",\n \"text\": \"public Properties getStatistics() {\\n \\t\\treturn statistics;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1496f7512d66cddd9236ed940339518\",\n \"score\": \"0.53107476\",\n \"text\": \"private double[] allStats () { throw new RuntimeException(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8041f116f97effc26a8169bfeb4a1ce\",\n \"score\": \"0.5310425\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(results);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8041f116f97effc26a8169bfeb4a1ce\",\n \"score\": \"0.5310425\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(results);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37b37ef5b5b188a7f89e395029f61d06\",\n \"score\": \"0.52950126\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(thresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37b37ef5b5b188a7f89e395029f61d06\",\n \"score\": \"0.52950126\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(thresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37b37ef5b5b188a7f89e395029f61d06\",\n \"score\": \"0.52950126\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(thresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37b37ef5b5b188a7f89e395029f61d06\",\n \"score\": \"0.52950126\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(thresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d743c25ca7558f152ee24f2ba064987e\",\n \"score\": \"0.52945197\",\n \"text\": \"public void computeStats() {\\n float[][] rate = get_params().adaptive_rate ? new float[units.length-1][] : null;\\n\\n if (get_params().autoencoder && get_params().sparsity_beta > 0) {\\n for (int k = 0; k < get_params().hidden.length; k++) {\\n mean_a[k] = 0;\\n for (int j = 0; j < avg_activations[k].size(); j++)\\n mean_a[k] += avg_activations[k].get(j);\\n mean_a[k] /= avg_activations[k].size();\\n }\\n }\\n\\n for( int y = 1; y < units.length; y++ ) {\\n mean_rate[y] = rms_rate[y] = 0;\\n mean_bias[y] = rms_bias[y] = 0;\\n mean_weight[y] = rms_weight[y] = 0;\\n for(int u = 0; u < biases[y-1].size(); u++) {\\n mean_bias[y] += biases[y-1].get(u);\\n }\\n if (rate != null) rate[y-1] = new float[get_weights(y-1).raw().length];\\n for(int u = 0; u < get_weights(y-1).raw().length; u++) {\\n mean_weight[y] += get_weights(y-1).raw()[u];\\n if (rate != null) {\\n// final float RMS_dx = (float)Math.sqrt(ada[y-1][2*u]+(float)get_params().epsilon);\\n// final float invRMS_g = (float)(1/Math.sqrt(ada[y-1][2*u+1]+(float)get_params().epsilon));\\n final float RMS_dx = Utils.approxSqrt(get_ada_dx_g(y-1).raw()[2*u]+(float)get_params().epsilon);\\n final float invRMS_g = Utils.approxInvSqrt(get_ada_dx_g(y-1).raw()[2*u+1]+(float)get_params().epsilon);\\n rate[y-1][u] = RMS_dx*invRMS_g; //not exactly right, RMS_dx should be from the previous time step -> but close enough for diagnostics.\\n mean_rate[y] += rate[y-1][u];\\n }\\n }\\n\\n\\n mean_bias[y] /= biases[y-1].size();\\n\\n mean_weight[y] /= get_weights(y-1).size();\\n if (rate != null) mean_rate[y] /= rate[y-1].length;\\n\\n for(int u = 0; u < biases[y-1].size(); u++) {\\n final double db = biases[y-1].get(u) - mean_bias[y];\\n rms_bias[y] += db * db;\\n }\\n for(int u = 0; u < get_weights(y-1).size(); u++) {\\n final double dw = get_weights(y-1).raw()[u] - mean_weight[y];\\n rms_weight[y] += dw * dw;\\n if (rate != null) {\\n final double drate = rate[y-1][u] - mean_rate[y];\\n rms_rate[y] += drate * drate;\\n }\\n }\\n rms_bias[y] = Utils.approxSqrt(rms_bias[y]/biases[y-1].size());\\n rms_weight[y] = Utils.approxSqrt(rms_weight[y]/get_weights(y-1).size());\\n if (rate != null) rms_rate[y] = Utils.approxSqrt(rms_rate[y]/rate[y-1].length);\\n// rms_bias[y] = (float)Math.sqrt(rms_bias[y]/biases[y-1].length);\\n// rms_weight[y] = (float)Math.sqrt(rms_weight[y]/weights[y-1].length);\\n// if (rate != null) rms_rate[y] = (float)Math.sqrt(rms_rate[y]/rate[y-1].length);\\n\\n // Abort the run if weights or biases are unreasonably large (Note that all input values are normalized upfront)\\n // This can happen with Rectifier units when L1/L2/max_w2 are all set to 0, especially when using more than 1 hidden layer.\\n final double thresh = 1e10;\\n unstable |= mean_bias[y] > thresh || isNaN(mean_bias[y])\\n || rms_bias[y] > thresh || isNaN(rms_bias[y])\\n || mean_weight[y] > thresh || isNaN(mean_weight[y])\\n || rms_weight[y] > thresh || isNaN(rms_weight[y]);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"016d4a821533d461c3a624a8e3c30e53\",\n \"score\": \"0.5269022\",\n \"text\": \"public double stddev() {\\n\\t\\treturn StdStats.stddev(array);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3171b97d010cea5d1a3043395f39d28f\",\n \"score\": \"0.5266194\",\n \"text\": \"public double stdDev() {\\n double avg = avgRate();\\n double sum = 0.0;\\n for (Sample s : samples) {\\n sum += Math.pow((double) s.rate() - avg, 2);\\n }\\n double variance = sum / (double) samples.size();\\n return Math.sqrt(variance);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1172a764acd8002037542f8913f76a2c\",\n \"score\": \"0.5260315\",\n \"text\": \"public Double getStandardDeviation() {\\n return metric.getStdDev();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92438aed1fc71efacb8fa43d7de41d46\",\n \"score\": \"0.5258967\",\n \"text\": \"public double stddev(){\\n\\t\\t double mean = mean();\\n\\t\\t double std = 0;\\n\\t\\t for(int i = 0; i < T; i++)\\n\\t\\t\\t std = std + (percData[i] - mean)*(percData[i] - mean);\\n\\t\\t return Math.sqrt(std/(T-1));\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f956c9587e5d73e41de7b6495f1a3907\",\n \"score\": \"0.52566755\",\n \"text\": \"public double stddev()\\r\\n {\\r\\n if(this.arrValue.length == 1)\\r\\n {\\r\\n return Double.NaN;\\r\\n }\\r\\n return StdStats.stddev(this.arrValue);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2478b2b16ea4e5dfb806cf865a809c9e\",\n \"score\": \"0.5254288\",\n \"text\": \"public double stddev() {\\n return mStddev;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4ae4d00e096dc66eaea3288775dc241\",\n \"score\": \"0.52454036\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(arrOfThreshold);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5d27b0d5a44f5b8f799876f943a55c7\",\n \"score\": \"0.5233844\",\n \"text\": \"public float getDev_std() {\\r\\n\\t\\treturn dev_std;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f432821aa20deb1737537642b60ce94f\",\n \"score\": \"0.5225906\",\n \"text\": \"private static double calculateStdDeviation(List list) {\\n\\t\\tdouble deviation = 0;\\n\\t\\tdouble mean = calculateMean(list);\\n\\t\\tfor (Integer val : list) {\\n\\t\\t\\tdeviation += Math.pow(mean - val, 2);\\n\\t\\t}\\n\\t\\treturn Math.sqrt(deviation / list.size());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8d31e5f0249d27b87c5f71a65693dc0\",\n \"score\": \"0.52169555\",\n \"text\": \"public double stddev() {\\n\\t\\treturn StdStats.stddev(results);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"708d31edd144ef68202b6aba567c1ae0\",\n \"score\": \"0.52164346\",\n \"text\": \"@java.lang.Override\\n public java.util.List\\n getStdDevList() {\\n return stdDev_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65b48d624ab62e62a71da6187f83d731\",\n \"score\": \"0.5212847\",\n \"text\": \"public double statistics() {\\n return testStatistics;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"241a9bd8d3f9c3617580150562135b7b\",\n \"score\": \"0.5209212\",\n \"text\": \"public double getStd() {\\n\\t\\tif (needUpdate) update();\\n\\t\\treturn Math.sqrt(statsProcedure.variance());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5be9763b1b1c15a2cb5e4054b9b60389\",\n \"score\": \"0.5208887\",\n \"text\": \"public float getStdDev(int index) {\\n return stdDev_.getFloat(index);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9780cda0abd7325fd11436c6ec5e5f5d\",\n \"score\": \"0.5206362\",\n \"text\": \"public IntegerSequence calculateCommunityStatistics(){\\n int maxmu=3;\\n int maxF=3;\\n int cm=7;\\n if (numberElementsArray==null) analyse();\\n communityStatistics= new IntegerSequence(maxmu, maxF, cm);\\n communityStatistics.calcStats(numberElementsArray);\\n return communityStatistics;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeaf2bfe265340adda79a5ddcad81434\",\n \"score\": \"0.5201092\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(trialStats);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6750bcdea4bd8ad30d89b11eb235965\",\n \"score\": \"0.51991296\",\n \"text\": \"private MetricStreamDefinition streamDef(Query query) {\\n TimeInterval dataSettlingTime = null;\\n TimeInterval queryChunkSize = null;\\n MetricStreamDefinition stream = new MetricStreamDefinition(\\\"id\\\", \\\"metricName\\\", \\\"db\\\", query, dataSettlingTime,\\n queryChunkSize);\\n return stream;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17f3c17005e66334db3ff08046cfdb20\",\n \"score\": \"0.5198475\",\n \"text\": \"public float getStdDev(int index) {\\n return stdDev_.getFloat(index);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d25e00d9d6762152f451683f33d42e5a\",\n \"score\": \"0.5196464\",\n \"text\": \"@Override\\n public Statistics[] getStatistics() {\\n return getStatisticsManager().getStatistics();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e87234cd9ad0a94b37bbe755a1b20cf9\",\n \"score\": \"0.5196146\",\n \"text\": \"public static void main(String[] args) {\\n Stream empty = Stream.empty();\\n System.out.println(\\\"count: \\\"+empty.count()); // count = 0\\n \\n // create stream with single element array\\n Stream singleElement = Stream.of(1);\\n System.out.println(\\\"count: \\\"+singleElement.count()); // count = 1\\n \\n // create stream with array\\n Stream fromArray = Stream.of(1,2,3);\\n System.out.println(\\\"count: \\\" + fromArray.count()); // count = 3\\n \\n // create stream with source of List\\n List list = Arrays.asList(\\\"a\\\",\\\"b\\\",\\\"c\\\");\\n Stream fromList = list.stream();\\n Stream fromListParallel = list.parallelStream();\\n System.out.println(\\\"count: \\\" + fromList.count());\\n \\n /*\\n few ways to create infinite Stream\\n */\\n // create random stream elemen\\n Stream randoms = Stream.generate(Math::random).limit(5);\\n randoms.forEach(System.out::println); \\n \\n \\n /*\\n Common Stream Terminal Operation\\n Stream can be performed a terminal operation without any intermediate\\n operation but not the other way around. \\n */\\n // count\\n Stream fruits = Stream.of(\\\"Apple\\\",\\\"Banana\\\",\\\"Cucumber\\\");\\n System.out.println(\\\"Fruits: \\\" + fruits.count());\\n \\n // min & max\\n Stream monkeys = Stream.of(\\\"monkey\\\",\\\"ape\\\",\\\"bonobo\\\",\\\"orangutan\\\");\\n Optional minMon = monkeys.min((s1,s2) -> s1.length()-s2.length());\\n minMon.ifPresent(System.out::println); // ape\\n \\n // forEach\\n Stream numbers = Stream.generate(Math::random)\\n .limit(5)\\n .map(x -> x*100);\\n numbers.forEach(System.out::println);\\n \\n // collect\\n Stream greet = Stream.generate(() -> \\\"Hello\\\")\\n .limit(10)\\n .map(s -> s + \\\" World!\\\");\\n List cc = greet.collect(Collectors.toList());\\n cc.forEach(System.out::println);\\n \\n \\n /*\\n Common Intermediate Process \\n */\\n // filter\\n Stream s = Stream.of(\\\"monkey\\\",\\\"gorilla\\\",\\\"bonobo\\\");\\n s.filter(x -> x.startsWith(\\\"m\\\")).forEach(System.out::println); // monkey\\n \\n // distinct\\n Stream sss = Stream.of(\\\"duck\\\",\\\"duck\\\",\\\"duck\\\",\\\"goose\\\");\\n sss.distinct().forEach(System.out::println); // goose\\n \\n // sorted\\n Stream names = Stream.of(\\\"Jack\\\",\\\"Andy\\\",\\\"Charlie\\\",\\\"Bono\\\");\\n names.sorted().forEach(System.out::println); // Andy,Bono,Charlie,Jack\\n \\n /*\\n IntStream\\n */\\n IntStream.rangeClosed(1, 10).forEach(System.out::print); \\n \\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aedea3b4f51804d80809d8921dfde19c\",\n \"score\": \"0.5195709\",\n \"text\": \"@Test\\r\\n public void testGetStandardDeviation() {\\r\\n System.out.println(\\\"getStandardDeviation\\\");\\r\\n // 1' single\\r\\n StandardDeviation instance = new StandardDeviation(Arrays.asList(5d), new Average(Arrays.asList(5d)));\\r\\n double expResult = 0.0;\\r\\n double result = instance.getStandardDeviation();\\r\\n assertEquals(expResult, result, 0.0);\\r\\n \\r\\n //2' even\\r\\n instance = new StandardDeviation(Arrays.asList(5d,2d), new Average(Arrays.asList(3.5d)));\\r\\n expResult = 1.5;\\r\\n result = instance.getStandardDeviation();\\r\\n assertEquals(expResult, result, 0.0);\\r\\n \\r\\n //3' odd\\r\\n instance = new StandardDeviation(Arrays.asList(5d,2d,2d), new Average(Arrays.asList(3d)));\\r\\n expResult = 1.4142135623731;\\r\\n result = instance.getStandardDeviation();\\r\\n assertEquals(expResult, result, 0.1);\\r\\n \\r\\n //4' double\\r\\n instance = new StandardDeviation(Arrays.asList(9.32d,35.32d,-32.12d), new Average(Arrays.asList(4.173333333333335)));\\r\\n expResult = 27.771742633275;\\r\\n result = instance.getStandardDeviation();\\r\\n assertEquals(expResult, result, 0.00001);\\r\\n \\r\\n //5' no element\\r\\n instance = new StandardDeviation(Arrays.asList(), new Average(Arrays.asList()));\\r\\n expResult = NaN;\\r\\n result = instance.getStandardDeviation();\\r\\n assertEquals(expResult, result, 0.0);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd2c1365a69a60c8529d46cd5747c61c\",\n \"score\": \"0.516582\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(this.fractions);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5914fbcc8e745d66393a4685f974afb3\",\n \"score\": \"0.5160191\",\n \"text\": \"mrtech.smarthome.rpc.Models.DeviceStatistics getStat();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e01294cdacef55df667c6f08ac15fb8\",\n \"score\": \"0.515629\",\n \"text\": \"public StatisticsBuilder statistics(Statistics statistics) {\\n this.sum += statistics.sum;\\n this.count += statistics.count;\\n this.avg = this.sum / this.count;\\n this.max = this.max >= statistics.max ? this.max : statistics.max;\\n this.min = this.min <= statistics.min ? this.min : statistics.min;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f58c7b514d0f810419ecd66e744bc6c\",\n \"score\": \"0.5149515\",\n \"text\": \"private void calculateMedian()\\n {\\n int sizeMax = _maxHeap.size() ;\\n int sizeMin = _minHeap.size() ;\\n \\n // mean = average of middle 2 values\\n if( sizeMax == sizeMin )\\n {\\n int valMax = 0 - _maxHeap.peek().intValue() ;\\n int valMin = _minHeap.peek().intValue() ;\\n \\n _median = (valMax + valMin) / 2.0 ;\\n }\\n \\n // median is in max heap\\n else if( sizeMax > sizeMin )\\n {\\n _median = 0 - _maxHeap.peek().intValue() ;\\n }\\n \\n // median is in min heap\\n else\\n {\\n _median = _minHeap.peek().intValue() ;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a3d2776070e37641d6ccc45dcb04160\",\n \"score\": \"0.5137455\",\n \"text\": \"public double getMagStdDev() {\\n return Double.NaN;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58d6a99133bb6888f999956e64a9b2af\",\n \"score\": \"0.5135231\",\n \"text\": \"public double getStDeviation() {\\r\\n return stDeviation;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e61c4641887d027f8258844b996ea1e9\",\n \"score\": \"0.51342064\",\n \"text\": \"public double stddev() {\\n return StdStats.stddev(arrThresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08a8339902e5f057dd08934880f46289\",\n \"score\": \"0.512795\",\n \"text\": \"public static StatsImpl CalculateStats(Collection collection) {\\n\\t\\tint citiesProcessed= collection.size();\\n\\t\\tif (citiesProcessed==0) {\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"La collection di città da analizzare non può essere vuota\\\");\\n\\t\\t}\\n\\t\\tdouble max=-1;\\n\\t\\tdouble min=1000000;\\n\\t\\tdouble mean=0;\\n\\t\\tdouble variance=0;\\n\\t\\tint valuesProcessed=0;\\n\\t\\t\\n\\t\\tfor (CityUV cityUV : collection) {\\n\\t\\t\\tvaluesProcessed+=cityUV.getRecord().size();\\n\\t\\t\\tfor (Double d : cityUV.getRecord().values()) {\\n\\t\\t\\t\\tif (dmax) {\\n\\t\\t\\t\\t\\tmax=d;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tmean+=d;\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\ttry {\\n\\t\\t\\tmean/=valuesProcessed;\\n\\t\\t} catch (ArithmeticException e) {\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"I record delle città da analizzare non possono essere tutti contemporeanamente vuoti\\\");\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\tfor (CityUV cityUV : collection) {\\n\\t\\t\\tfor (Double d : cityUV.getRecord().values()) {\\n\\t\\t\\t\\tvariance+=Math.pow(d-mean, 2);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvariance/=valuesProcessed;\\n\\t\\treturn new StatsImpl(max, min, mean, variance, valuesProcessed, citiesProcessed);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"613613ad38159f043baa19a546b6c9ee\",\n \"score\": \"0.5124242\",\n \"text\": \"public static void main(String[] args) throws Exception {\\n final StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();\\r\\n env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime);\\r\\n\\r\\n SingleOutputStreamOperator> timestamped = env.addSource(new WaveletTestSource(10000, 80))\\r\\n .assignTimestampsAndWatermarks(new CustomTimeStampExtractor());\\r\\n\\r\\n\\r\\n Window[] windows = {new SlidingWindow(WindowMeasure.Count, 800, 400)};\\r\\n// Window[] windows = {new SlidingWindow(WindowMeasure.Time, 1000,500)};\\r\\n\\r\\n// SingleOutputStreamOperator> finalSketch = BuildSynopsis.scottyWindowsRescale(timestamped,windows,0,CountMinSketch.class,10,10,1L);\\r\\n SingleOutputStreamOperator finalSketch = BuildSynopsis.countBased(timestamped, 80,40,0,CountMinSketch.class,10, 10, 1L);\\r\\n\\r\\n\\r\\n// finalSketch.flatMap(new FlatMapFunction, String>() {\\r\\n// @Override\\r\\n// public void flatMap(AggregateWindow value, Collector out) throws Exception {\\r\\n// String result = value.getStart()+\\\" ---> \\\"+value.getEnd()+\\\"\\\\n\\\";//+value.getAggValues().get(0).toString();\\r\\n// CountMinSketch manager = value.getAggValues().get(0);\\r\\n// result += \\\"Elements Processed: \\\"+manager.getElementsProcessed()+\\\"\\\\n\\\";\\r\\n// out.collect(result);\\r\\n//// for (CountMinSketch w: value.getAggValues()){\\r\\n//// out.collect(w.toString());\\r\\n//// }\\r\\n// }\\r\\n// }).print();\\r\\n\\r\\n finalSketch.flatMap(new FlatMapFunction() {\\r\\n @Override\\r\\n public void flatMap(CountMinSketch manager, Collector out) throws Exception {\\r\\n String result = \\\"Elements Processed: \\\"+manager.getElementsProcessed()+\\\"\\\\n\\\";\\r\\n// for (int i = 0; i < manager.getElementsProcessed(); i++) {\\r\\n// double pq = manager.pointQuery(i);\\r\\n//// System.out.println(pq);\\r\\n// result += pq +\\\"\\\\n\\\";\\r\\n// }\\r\\n result += \\\"--------------------------------------------------\\\\n\\\\n\\\";\\r\\n out.collect(result);\\r\\n// for (CountMinSketch w: value.getAggValues()){\\r\\n// out.collect(w.toString());\\r\\n// }\\r\\n }\\r\\n }).print();\\r\\n\\r\\n// .writeAsText(\\\"EDADS/output/scottyTest.txt\\\", FileSystem.WriteMode.OVERWRITE).setParallelism(1);\\r\\n\\r\\n env.execute(\\\"Flink Streaming Java API Skeleton\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c049a659fd43ae52a25e54d1e86f3c1e\",\n \"score\": \"0.5123781\",\n \"text\": \"public void aggregate(byte[] statsBuf) {\\n String[] lines = new String(statsBuf).split(\\\"\\\\n\\\");\\n for (int i = 0; i < lines.length; i++) {\\n String[] toks = lines[i].split(\\\" \\\");\\n if (toks.length == 3 && \\\"ts\\\".equals(toks[0])) {\\n double startTime = Double.parseDouble(toks[1]);\\n double endTime = Double.parseDouble(toks[2]);\\n startTime_[bufIx_] = startTime;\\n endTime_[bufIx_] = endTime;\\n bufIx_ = (bufIx_ + 1) % N_STATS;\\n double cbTime = endTime - startTime;\\n meanCbTime_ += (cbTime - meanCbTime_) * .01;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06d303feb5866ede1afd90d138b07bbb\",\n \"score\": \"0.5119028\",\n \"text\": \"public float getAverageNumberOfTypesAtReads() {\\n float numberPreciseReads = number_read_property_with_single_type + number_read_variables_with_single_type;\\n float totalNumberTypes = numberPreciseReads + polymorphic_reads_context_sensitive.values().stream().reduce(0, Integer::sum);\\n float totalNumberReads = numberPreciseReads + polymorphic_reads_context_sensitive.size();\\n return totalNumberReads != 0 ? totalNumberTypes / totalNumberReads : -1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3df19852f876b675a3236671b305da6\",\n \"score\": \"0.51139957\",\n \"text\": \"public TabularDataSupport getStatistics() throws IOException {\\n String[] statsNames = {\\\"function\\\", \\\"count\\\", \\\"error code\\\", \\\"average\\\"};\\n OpenType[] statsTypes = {SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING};\\n try {\\n CompositeType statType = new CompositeType(\\\"Statistic\\\", \\n \\\"A statistic of a function\\\", statsNames, statsNames, statsTypes);\\n TabularType tabType = new TabularType(\\\"Function statistics\\\", \\n \\\"Statistics of the functions\\\", statType, statsNames);\\n TabularDataSupport tabularData = new TabularDataSupport(tabType);\\n Iterator itFunctions = _api.getFunctionList().iterator();\\n while (itFunctions.hasNext()) {\\n Function nextFunction = (Function) itFunctions.next();\\n Element success = nextFunction.getStatistics().getSuccessfulElement();\\n HashMap statMap = new HashMap();\\n statMap.put(\\\"function\\\", nextFunction.getName());\\n statMap.put(\\\"count\\\", success.getAttribute(\\\"count\\\"));\\n statMap.put(\\\"error code\\\", \\\"\\\");\\n statMap.put(\\\"average\\\", success.getAttribute(\\\"average\\\"));\\n CompositeDataSupport statData = new CompositeDataSupport(statType, statMap);\\n tabularData.put(statData);\\n }\\n \\n return tabularData;\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n return null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de646eb298d17188794a7d871c4d4c66\",\n \"score\": \"0.51109695\",\n \"text\": \"@Override\\n\\tpublic Number filteredReading() {\\t\\t\\n\\t// Check we have any readings.\\n\\tif (buffer.size() == 0) return new Double(0.0);\\n\\t\\n\\tSensorReading reading = null;\\n\\tdouble sum = 0.0;\\n\\tdouble avge = 0.0;\\n\\tint index = 0;\\n\\tdouble ww = 0.0;\\n\\n\\t// Loop over buffered samples.\\n\\tIterator it = buffer.iterator();\\n\\twhile (it.hasNext()) {\\n\\t reading = (SensorReading)it.next();\\t\\n\\t if (index < weights.length)\\n\\t\\tww = weights[index];\\n\\t else\\n\\t\\tww = 0.0;\\n\\n\\t avge = avge + ww * reading.getContinuousReading();\\n\\t sum = sum + ww;\\n\\t index++;\\n\\t}\\n\\treturn new Double(avge / sum);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fa75c133db9db16316d1a41fa7881cd\",\n \"score\": \"0.5110722\",\n \"text\": \"public double[] getAverageAndStD(double[] values){\\n\\t\\t\\n\\t\\tdouble average = average(values);\\n\\t\\t\\n\\t\\t//System.out.println(\\\"AVERAGE : \\\"+average);\\n\\t\\t\\n\\t\\treturn new double[] {average, std(values, average)};\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bcd41ce43a0885a6ec4aa63841efec3\",\n \"score\": \"0.51102775\",\n \"text\": \"default double stdDev() {\\r\\n return Math.sqrt(variance());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2290ed437ce2d4f57349c0d787b566b6\",\n \"score\": \"0.51066655\",\n \"text\": \"public double stddev(){\\n\\t\\treturn stdEstimate;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e79d0846ef2a874b8d2ec7e6ee482d47\",\n \"score\": \"0.5100408\",\n \"text\": \"int getDataFrequencyValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c50e89600e6986f52916e54b5bef916\",\n \"score\": \"0.5100319\",\n \"text\": \"public double stddev() {\\n if (numTrials == 1) {\\n return Double.NaN;\\n }\\n return StdStats.stddev(thresholds);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"656038a6a1e8557ff6e2738c885efe5b\",\n \"score\": \"0.5097813\",\n \"text\": \"private static StdAvg getStdAvg(double[] data){\\n double avg = getAverage(data);\\n double std = getStandardDeviation(data, avg);\\n\\n return new StdAvg(std, avg);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea447ee6411a0027824b9413f1a1658e\",\n \"score\": \"0.50963205\",\n \"text\": \"public void calcStdDeviation() {\\n\\t\\t\\n\\t\\tthis.std_dev = 0;\\n\\t\\tdouble average = 0.0;\\n\\t\\tint n = this.regretList.size();\\n\\t\\tint regret;\\n\\t\\tint sigmaSum = 0;\\n\\t\\t\\n\\t\\tif (n == 1) {\\n\\t\\t\\tthis.std_dev = 0;\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tfor (int i = 0; i <= this.regretList.size() - 1; i++) { // calculating the mean\\n\\t\\t\\t\\taverage += this.regretList.get(i);\\n\\t\\t\\t}\\n\\t\\t\\taverage /= n;\\n\\t\\t\\t\\n\\t\\t\\tfor (int u = 0; u <= n - 1; u++) {\\n\\t\\t\\t\\tsigmaSum += Math.pow(this.regretList.get(u) - average, 2);\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tthis.std_dev = Math.sqrt(sigmaSum / n); \\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fce631687259d9a89d84f312462bed3d\",\n \"score\": \"0.5095566\",\n \"text\": \"public MeanStdDevTransformation() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"deb8f72ac518ea5ee1209c97f13bf463\",\n \"score\": \"0.5089625\",\n \"text\": \"public double standardDeviation() {\\n return Math.sqrt(value());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1530d8982a595228cda1f9c2951925e6\",\n \"score\": \"0.50882965\",\n \"text\": \"public double stddev() {\\n if (resStddev == 0) {\\n resStddev = StdStats.stddev(fracOpen);\\n }\\n return resStddev;\\n\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":865,"cells":{"query_id":{"kind":"string","value":"a70a998e8ae57245ac8063ff1c2ffdf8"},"query":{"kind":"string","value":"Publicar mensaje en un topic"},"positive_passages":{"kind":"list like","value":[{"docid":"5fa835317d38157d41aa334146e3302d","score":"0.67600155","text":"public void enviarMensajeMQTT(String data, String subTopic) {\n try {\n Log.i(MQTT.TAG, \"Publicando mensaje: \" + data);\n MqttMessage message = new MqttMessage(data.getBytes());\n message.setQos(MQTT.qos);\n message.setRetained(false);\n client.publish(subTopic, message);\n } catch (\n MqttException e) {\n Log.e(MQTT.TAG, \"Error al publicar.\", e);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"5fa835317d38157d41aa334146e3302d\",\n \"score\": \"0.67600155\",\n \"text\": \"public void enviarMensajeMQTT(String data, String subTopic) {\\n try {\\n Log.i(MQTT.TAG, \\\"Publicando mensaje: \\\" + data);\\n MqttMessage message = new MqttMessage(data.getBytes());\\n message.setQos(MQTT.qos);\\n message.setRetained(false);\\n client.publish(subTopic, message);\\n } catch (\\n MqttException e) {\\n Log.e(MQTT.TAG, \\\"Error al publicar.\\\", e);\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"4cf30e563d9827663ba552f8d0c5f3c7","score":"0.72993696","text":"@Override\n\tpublic void publish(String topic, String str) {\n\t\t\n\t}","title":""},{"docid":"6126e7aef523761ca9168acdd1cefe3a","score":"0.6919684","text":"public void publish(String msg) {\n\n try {\n MqttMessage message = new MqttMessage();\n message.setPayload(msg.getBytes());\n mqttAndroidClient.publish(publishTopic, message);\n } catch (MqttException e) {\n System.err.println(\"Error Publishing: \" + e.getMessage());\n e.printStackTrace();\n }\n }","title":""},{"docid":"9e4d96025b988b89a275dc09ddb4c66e","score":"0.6907883","text":"public void publishMessage(String topic, String value) {\n logger.infof(\"Publishing on topic {%s}, message: %s \", topic, value);\n try {\n client.publish(topic, value.getBytes(\"UTF-8\"), 0, false);\n } catch (UnsupportedEncodingException uee) {\n logger.warnf(\"Message %s cannot be encoded as UTF-8 bytes, ignoring it\", uee);\n } catch (MqttPersistenceException mpe) {\n mpe.printStackTrace();\n } catch (MqttException me) {\n me.printStackTrace();\n }\n }","title":""},{"docid":"befde69d36e0781de20ebb4ac07322dd","score":"0.6869111","text":"public void publish(final String msg) {\n\t\tHashtable args = new Hashtable(2);\n\t\targs.put(\"message\", msg);\n\t\targs.put(\"channel\", CHANNEL);\n\t\tpubnub.publish(args, new Callback() {\n\t\t\t@Override\n\t\t\tpublic void successCallback(String channel, Object message) {\n\t\t\t\tnotifyUser(\"PUBLISH : \" + msg);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void errorCallback(String channel, PubnubError error) {\n\t\t\t\tnotifyUser(\"PUBLISH : \" + error);\n\t\t\t\tLog.e(TAG, error.toString());\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"622a8b7797c2154ff1d325c1c68226c6","score":"0.68616784","text":"@Override\n public void notifyPublish(MessageI m, String topic) throws Exception {\n this.getOwner().handleRequestAsync(writeExecutorIndex,\n new AbstractComponent.AbstractService(){\n @Override\n public Void call() throws Exception {\n ((NotificationCI)this.getServiceProviderReference()).notifyPublish(m, topic);\n return null;\n }\n }\n );\n }","title":""},{"docid":"55d988dc40b80691bc29887a487f02d2","score":"0.66189235","text":"@PUT(\"/api/admin/message/topic\")\n\tJsonObject postTopicMessage(@Query(\"topic\") String topic, @Query(\"title\") String title, @Query(\"content\") String content, @Query(\"type\") String type);","title":""},{"docid":"ea74557dcf9f730cbf5375f05d8a9335","score":"0.6605286","text":"void subscribe(MessageTopic topic);","title":""},{"docid":"abafa95193fa81ec6b3b309855ee4a31","score":"0.66033965","text":"@Override\n public void notifyPublish(MessageI[] ms, String topic) throws Exception {\n this.getOwner().handleRequestAsync(writeExecutorIndex,\n new AbstractComponent.AbstractService(){\n @Override\n public Void call() throws Exception {\n ((NotificationCI)this.getServiceProviderReference()).notifyPublish(ms, topic);\n return null;\n }\n }\n );\n }","title":""},{"docid":"9c890e7104cc68be4108b0687c8650e7","score":"0.64734846","text":"@Override\n public boolean addMessage(String topic, String message) throws IOException {\n message = this.name + \": \" + message;\n HttpUriRequest req= new HttpGet(\"http://\" + path + \"?action=postMessage&message='\" + URLEncoder.encode(message, \"UTF-8\")\n + \"'&topic=\" + URLEncoder.encode(topic, \"UTF-8\"));\n try {\n httpClient.execute(req);\n } catch (IOException e) {\n logger.error(e.getMessage());\n }\n return false;\n }","title":""},{"docid":"e15b54b81023f15c209d75a85207d042","score":"0.6468477","text":"@Override\r\n\t\t\t\tpublic void run() {\n\t\t\t\t\tsendMessageByTopic();\r\n\t\t\t\t}","title":""},{"docid":"2ba2f8d286f82e5efd752ce9d94925e6","score":"0.64532334","text":"@Override\n public void run() {\n ConnectionFactory factory = new ConnectionFactory();\n factory.setHost(host);\n\n try {\n \t//criando canal para realizar as tarefas\n \tConnection connection = factory.newConnection();\n Channel channel = connection.createChannel();\n //declara ativamente uma troca não autodelete sem argumentos extras\n channel.exchangeDeclare(\"BROKER\", BuiltinExchangeType.TOPIC);\n //publicar uma mensagem na fila\n channel.basicPublish(\"BROKER\", topic, null, message.getBytes(\"UTF-8\"));\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"61e0291be981e94a32b49d95cef856b3","score":"0.6443367","text":"public void updateTopic() {\n ChatThreadClient chatThreadClient = getChatThreadClient();\n\n // BEGIN: readme-sample-updateTopic\n chatThreadClient.updateTopic(\"New Topic\");\n // END: readme-sample-updateTopic\n }","title":""},{"docid":"a72049e73582608290519ca7516d11af","score":"0.64033055","text":"public void sendMessage() { \n\n\t\tTimer timer = new Timer(); // for running it every 2 seconds\n\t\ttimer.schedule(new TimerTask() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\n\t\t\t\tRandom rand = new Random(); // instance of random class\n\t\t\t\tString int_random = Integer.toString(rand.nextInt(10000));\n\n\t\t\t\tlogger.info(String.format(\"Produced message by Producer = %s\", int_random)); // displaying sent message\n\t\t\t\t\n\t\t\t\tkafkaTemplate.send(TOPIC, int_random); // send message to topic\n\t\t\t}\n\t\t}, 0, 2000); \n\n\t}","title":""},{"docid":"38da2d43a0c881d8e0fa6ee4a8eb3454","score":"0.63869923","text":"public void publish(String message) {\n\t\tSystem.out.println(message); \n\t}","title":""},{"docid":"dcd566e0d33c3e05877746a928d2133c","score":"0.6382097","text":"@Override\n public void notifyTopic(String topic) throws Exception {\n \n this.getOwner().handleRequestAsync(writeExecutorIndex,\n new AbstractComponent.AbstractService(){\n @Override\n public Void call() throws Exception {\n ((NotificationCI)this.getServiceProviderReference()).notifyTopic(topic);\n return null;\n }\n });\n\n }","title":""},{"docid":"bf68da2dff67109b8a70baeb733788c2","score":"0.63669115","text":"public void addMessage(Message message)\n {\n messagesTopic.publish(message);\n }","title":""},{"docid":"9cbc48b67c7baa3cd63f88e4f1d7cf3a","score":"0.636031","text":"public void publish(String topic, byte[] data) {\n client.publishWith().topic(topic).payload(data).qos(MqttQos.AT_MOST_ONCE).send();\n }","title":""},{"docid":"24f8f28dbeeaa84dac4f88f0c5b9bb84","score":"0.633136","text":"private void handleMqttPublish(MqttPublish receivedMsg) {\n\n }","title":""},{"docid":"75c1afaa0e87c3ca06919b46e75bb873","score":"0.6316844","text":"public static void sendToServer(String m) {\r\n try {\r\n p.Publish(m, 1, true);\r\n } catch (MqttException ex) {\r\n //no possibility to contact daemon, need to shut down this programme -> causes message \"offline\" on topic\r\n System.exit(1);\r\n }\r\n }","title":""},{"docid":"dab5741e410808ea7f018143216ffd24","score":"0.629411","text":"public void messageArrived(String topic, MqttMessage message) throws Exception {\n\t\tString msgStr = message.toString();\n\t\tPacket msgPacket = create(msgStr);\n\t\toutPort.send(msgPacket);\n\t\n\t}","title":""},{"docid":"55f621576f80a675e5d2165fc23d4960","score":"0.6271505","text":"private void createTopic(String topic) {\n\t\tproxy.publish(\"Topic \"+topic+\" created\", topic);\r\n\t\tproxy.publish(\"getTopics\", \"all\");\r\n\t\tgetSubscribers(topic);\r\n\t}","title":""},{"docid":"9ba17332436693dd1efefc68ce198b71","score":"0.6267059","text":"@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n }","title":""},{"docid":"a274f596c929819eab7c1c94db1774e8","score":"0.62655956","text":"public void send(String msg) {\n\t\tmsg = subscriberHost+\"/\"+subscriberPort+\": \"+msg;\r\n\t\tproxy.publish(msg, topicName);\r\n\t}","title":""},{"docid":"c4f1748fb075f2c78a945271e55f3994","score":"0.6255988","text":"public Lease sendPublicMessage(PostEntry post)\n {\n Lease success = null;\n if(post == null)\n {\n System.err.println(\"Failed to create post.\");\n }\n else\n {\n try\n {\n if(post.getTopic() == null)\n {\n JOptionPane.showMessageDialog(null,\n \"Topic does not exist!\");\n }\n else if(post.getAuthor() == null)\n {\n JOptionPane.showMessageDialog(null,\n \"Author does not exist.\");\n }\n else\n {\n Transaction transaction =\n TransactionBuilder.getTransaction();\n\n if(topicUtils.topicExists(post.getTopic(), transaction))\n {\n success = space.write(post, transaction, Lease.FOREVER);\n }\n transaction.commit();\n }\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return success;\n }","title":""},{"docid":"2d3437f7b024dbc4615c2416fa6639ab","score":"0.61852515","text":"@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n }","title":""},{"docid":"7dfa2b118fd3b3944cca6521ebe2d8d2","score":"0.61711895","text":"LogTopic()\n {\n\n }","title":""},{"docid":"6bd2ac8ee396ad0da1335b6476c8041b","score":"0.6153965","text":"public void sendMessage(String message) {\n logger.info(String.format(\"$$ -> Producing message --> %s\", message));\n this.kafkaTemplate.send(TOPIC, jsonEnvelope(message));\n }","title":""},{"docid":"7a4708e6a259f0f8530c44b1e3565d62","score":"0.6098963","text":"private void getNotification(){\n\n FirebaseMessaging.getInstance().subscribeToTopic(\"upload\")\n .addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n String msg = \"Success\";\n if (!task.isSuccessful()) {\n msg = \"Success\";\n }\n Log.d(\"TAG\", msg);\n// Toast.makeText(MainActivity.this, msg, Toast.LENGTH_SHORT).show();\n }\n });\n\n\n\n\n }","title":""},{"docid":"dc782de0fe23ad7d9d177c733e64c690","score":"0.60832566","text":"void onPublish(InternalMessage msg);","title":""},{"docid":"5deaa72b76c442819775c74a9a284d63","score":"0.6076752","text":"@Override\n public void publishMessage(String message, String routingKey){\n try {\n channel.basicPublish(this.exchangeName, routingKey, MessageProperties.PERSISTENT_TEXT_PLAIN, message.getBytes());\n } catch (IOException e) {\n System.err.println(\"Error during message publishing\");\n e.printStackTrace();\n }\n }","title":""},{"docid":"7be2aa956965bae7025ccd3f28dcfefd","score":"0.6069925","text":"@PostMapping(\"/send\")\n @ResponseBody // i.e. return directly as HTML, not a view\n public void produce(@RequestParam String message,\n @RequestParam(value = \"to\", required = false) String recipient) throws ExecutionException, InterruptedException {\n DateTime dt = new DateTime(DateTimeZone.UTC);\n\n // add new \"user\" if not exists\n if (recipient != null) {\n NativeAdmin.createTopicIfNotExists(recipient);\n template.send(recipient, dt + \" -- \" + message);\n } else {\n // otherwise send to everyone\n ArrayList topics = NativeAdmin.getAllTopics();\n for (String topic : topics) {\n System.out.println(\"Sending to \" + topic);\n template.send(topic, dt + \" -- \" + message);\n }\n }\n }","title":""},{"docid":"161a2cf8d49a644d8cab98ee61a1bc4f","score":"0.6068615","text":"public void sendMessage(String topic, String partition, T message) throws IOException {\n sendMessage(topic, partition, message, 0);\n }","title":""},{"docid":"0725ec7b8e807bdfbe494b3996a5f80f","score":"0.60544455","text":"private void publishMessage(Channel channel, List messages) {\n messages\n .forEach(message -> {\n try {\n channel.basicPublish(\"\", \"queuq-1\", null, message.getBytes());\n } catch (IOException e) {\n logger.error(\"error occurred {}\", e.getMessage());\n }\n });\n }","title":""},{"docid":"8b666c5298edf143599501fd5813db0e","score":"0.6054199","text":"@MessageMapping(\"/chat.sendMessage.{numdibujo}}\")\n public void sendMessage(@Payload ChatMessage chatMessage, @DestinationVariable String numdibujo) {\n msgt.convertAndSend(\"/topic/public.\"+numdibujo,chatMessage);\n }","title":""},{"docid":"5515224a8abb3ab3d3e05682da5ab823","score":"0.60205424","text":"public void setTopic(String topic) {\r\n\t\tthis.topic = topic;\r\n\t}","title":""},{"docid":"5515224a8abb3ab3d3e05682da5ab823","score":"0.60205424","text":"public void setTopic(String topic) {\r\n\t\tthis.topic = topic;\r\n\t}","title":""},{"docid":"55d923a3710e35820aa05bba7dda705a","score":"0.60155946","text":"private String basicPublish( String message ) throws IOException\n {\n if( !isQueueDeclared )\n {\n mc.getChannel().queueDeclare( queueName, false, false, false, null );\n isQueueDeclared = true;\n }\n\n mc.getChannel().basicPublish( \"\", queueName, null, message.getBytes() );\n\n return \"[Sent] --> '\" + message + \"'\";\n }","title":""},{"docid":"62ad7677f859b9bbbc6c9f25cdd3bbe9","score":"0.6006807","text":"Builder topic(String topic);","title":""},{"docid":"7e8078091c2d965f44430aaf0d01a628","score":"0.60067046","text":"public interface SendMessage {\n\n\tpublic String sendMessage(String content, String sender, String topic);\n\t\n}","title":""},{"docid":"e458331f9cce904ca5b9dc6335c0751a","score":"0.59956855","text":"public MQTTopic(String topicName) {\n this.topic = topicName;\n }","title":""},{"docid":"a0eb9c5cf50c03ef049efba2750f6eb2","score":"0.59928465","text":"public void publishData(String msg) {\n\t\t\t\n\t\t\t//publish(msg);\n\t\t\tpublish(new MsgObj(msg));\n\t\t}","title":""},{"docid":"e29908514869c448f44653772ab65b1a","score":"0.5960963","text":"String getTopic();","title":""},{"docid":"5e19382f6da5a3f1494ead45cde5ce44","score":"0.59551257","text":"public void publish(Message message, PubSubService pubSubService) {\n pubSubService.addMessageToQueue(message);\n }","title":""},{"docid":"b6232b28a66ee57a31ed85926a42d68f","score":"0.5893957","text":"public void publishMessageWithDelay() throws NamingException, JMSException {\n\n try (TopicConnection topicConnection = topicConnFactory.createTopicConnection();\n TopicSession topicSession =\n topicConnection.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);) {\n topicConnection.start();\n Topic createdtopic = topicSession.createTopic(\"JavaEE\");\n\n // create the message to send\n TextMessage textMessage = topicSession.createTextMessage(\"This is a test message\");\n \n javax.jms.TopicPublisher topicPublisher = topicSession.createPublisher(createdtopic);\n topicPublisher.setDeliveryDelay(1000);\n topicPublisher.publish(textMessage);\n setMessage(\"Message Published\");\n\n }\n \n }","title":""},{"docid":"d1414219e472d6149f1dc23e27876d3a","score":"0.5879259","text":"private void subscribeToTopic(){\n consumer.subscribe(Collections.singletonList(this.topic));\n\n }","title":""},{"docid":"6f05dfabbbb2b3b5cafb3134a9062842","score":"0.58782935","text":"public void mostrarMensaje(String mensaje) {\n\t\tventanaServidor.pantallaChat.append(mensaje);\n\t}","title":""},{"docid":"9b595ff3fdb96f62697df54155a650e3","score":"0.5877846","text":"public String getTopic() {\n return _topic;\n }","title":""},{"docid":"ba0d063031d2f6d286ea355bcceb6b1f","score":"0.5875671","text":"public int publishAMessage(String message, String topic, boolean retained) {\n MqttMessage msg = new MqttMessage(message.getBytes());\n msg.setQos(2);\n msg.setRetained(retained);\n if (isConnectedToBroker) {\n try {\n client.publish(topic, msg);\n return 1;\n } catch (MqttException e) {\n e.printStackTrace();\n return 0;\n }\n } else {\n return -1;\n }\n }","title":""},{"docid":"0826c3750d05e5e9c02706466bd7c4a0","score":"0.5857036","text":"@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n Gson g = new Gson();\n Device device = g.fromJson(message.toString(), Device.class);\n Toast.makeText(getApplicationContext(), message.toString(), Toast.LENGTH_SHORT).show();\n\n TextView text = findViewById(R.id.txt);\n text.setText(device.toString());\n }","title":""},{"docid":"4d3e3095d8c8d693ef2d5a4ba809f30a","score":"0.5855696","text":"java.lang.String getCreatedtopic();","title":""},{"docid":"57c5e26b2d60eb9778e66d7b36fe19b4","score":"0.58536005","text":"public String getTopic()\n {\n return topic;\n }","title":""},{"docid":"6b0bd3a58f78219d34b69b82a69c2fc4","score":"0.58530277","text":"public String getTopic(){\r\n\t\treturn this.topic;\r\n\t}","title":""},{"docid":"81da3db56d62a20aade4b264473e9386","score":"0.5849043","text":"public void createTopic(String topic) {\r\n\t\tcreateTopic(topic, 1, 1, new Properties());\r\n\t}","title":""},{"docid":"8c6576dac9395aee389c08eefd15198b","score":"0.5848189","text":"public String getTopic() {\n return topic;\n }","title":""},{"docid":"8c6576dac9395aee389c08eefd15198b","score":"0.5848189","text":"public String getTopic() {\n return topic;\n }","title":""},{"docid":"660e698a7eabc2593f94985a67e4476e","score":"0.58431715","text":"public void notify(String msg){\n\n }","title":""},{"docid":"cdc8f8fcbff7c6a4f3df58e2b933b1e8","score":"0.5826364","text":"public void sendMessage(String topic, String message) {\n ListenableFuture> future = kafkaTemplate.send(topic, message);\n\n // The same with MessageBuilder\n // ListenableFuture> future =\n // kafkaTemplate.send(\n // MessageBuilder.withPayload(message)\n // .setHeader(KafkaHeaders.TOPIC, topic)\n // .build());\n\n // you can register a callback with the listener to receive the result\n // of the send asynchronously\n future.addCallback(new ListenableFutureCallback>() {\n\n @Override\n public void onSuccess(SendResult result) {\n RecordMetadata recordMetadata = result.getRecordMetadata();\n ProducerRecord producerRecord = result.getProducerRecord();\n\n LOGGER.info(\"sent message='{}'\", message);\n LOGGER.info(\"RecordMetadata\");\n LOGGER.info(\"with offset={}\", recordMetadata.offset());\n LOGGER.info(\"with partition={}\", recordMetadata.partition());\n LOGGER.info(\"with checksum={}\", recordMetadata.checksum());\n LOGGER.info(\"with timestamp={}\", recordMetadata.timestamp());\n LOGGER.info(\"with timestamp={}\", recordMetadata.topic());\n\n LOGGER.info(\"ProducerRecord\");\n LOGGER.info(\"with partition={}\", producerRecord.partition());\n LOGGER.info(\"with value={}\", producerRecord.value());\n LOGGER.info(\"with timestamp={}\", producerRecord.timestamp());\n LOGGER.info(\"with topic={}\", producerRecord.topic());\n }\n\n @Override\n public void onFailure(Throwable ex) {\n LOGGER.error(\"unable to send message='{}'\", message, ex);\n }\n });\n\n // alternatively, to block the sending thread, to await the result,\n // invoke the future’s get() method\n }","title":""},{"docid":"4e04a011963ae2a40c91b510208abfa0","score":"0.58152443","text":"public void processMessage () {\n\t\twhile(true) {\n\t\t\tString msg = this.consumer.riceviMessaggi();\n\t\t\tif (msg!=null) {\n\t\t\t\tString tasformedMessage = \"***MESSAGGIO_TRASFORMATO*** \"+msg;\n\t\t\t\tthis.producer.invia(tasformedMessage, topicDestination);\n\t\t\t\tSystem.out.println(producer.toString()+\" inviato --> \"+tasformedMessage);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"eaf421237dec9746482b815576011d40","score":"0.58056104","text":"void registerMessageConsumerToTopic(MessageConsumer consumer, Topic topic);","title":""},{"docid":"e008827dd552455fb7fd93e50d25ad0f","score":"0.57962936","text":"public void sendMessage(String to, String content){\n }","title":""},{"docid":"3c8c01ed2680221e7ea3269bcbdf2cb2","score":"0.57882655","text":"Topic createTopic(String topicName);","title":""},{"docid":"2f0e3a87de556ec22ec80b5a6b9c2576","score":"0.57787436","text":"@Override\n public void messageArrived(String topic, MqttMessage mqttMessage) throws Exception {\n log.debug(\"Message Arrived for topic : \" + topic);\n messageProcessorService.initMessageProcessing(topic, mqttMessage, AppConstants.CLIENT_O1);\n }","title":""},{"docid":"edab961827ba7d52c3425f1d052593e3","score":"0.57770807","text":"private void subscribeTopic () throws IOException, ClassNotFoundException {\n String id = (String) in.readObject();\n\n boolean ok = sqlOperations.subscribeTopicSQL(id_user,Integer.parseInt(id));\n\n if(ok){\n out.writeObject(\"From now, you are subscribed to this topic!\");\n System.out.println(\"Client with \"+ socket.getPort() +\" port has subscribed to a topic\\n\");\n }else{\n out.writeObject(\"You can't subscribe!\");\n }\n out.flush();\n }","title":""},{"docid":"a3f88ca9e5772f7136e13ca7a6e616ec","score":"0.5765941","text":"private void publish() {\n Log.i(TAG, \"Publishing\");\n PublishOptions options = new PublishOptions.Builder()\n .setStrategy(PUB_SUB_STRATEGY)\n .setCallback(new PublishCallback() {\n @Override\n public void onExpired() {\n super.onExpired();\n Log.i(TAG, \"No longer publishing\");\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n //mPublishSwitch.setChecked(false);\n }\n });\n }\n }).build();\n\n Nearby.Messages.publish(googleApiClient, message, options)\n .setResultCallback(new ResultCallback() {\n @Override\n public void onResult(@NonNull Status status) {\n if (status.isSuccess()) {\n Toast.makeText(getBaseContext(),\"Shared the product successfully!\",Toast.LENGTH_LONG).show();\n Log.i(TAG, \"Published successfully.\");\n } else {\n logAndShowSnackbar(\"Could not publish, status = \" + status);\n }\n }\n });\n }","title":""},{"docid":"c23051413297ddf4445e351d8e38bb9a","score":"0.5762438","text":"public void sendMessage1() {\n\t\tfinal FanoutMessage message = new FanoutMessage(\"Hello, MessageNumber 1\", new Random().nextInt(50));\n\t\tlog.info(\"Sending message 1...\");\n\t\trabbitTemplate.convertAndSend(config.getFanoutexchangename(), \"\", message);\n\t}","title":""},{"docid":"1d86fafc77286e2380b77c8b9fd4d02a","score":"0.57572025","text":"public void updateTopic(Topic topic) {\n\t}","title":""},{"docid":"13ce699e32137f0c5eeeb47494bd84f4","score":"0.5753845","text":"@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n String msg_alert = new String(message.getPayload());\n Log.d(\"smart_alert\", msg_alert);\n String[] b = msg_alert.split(\",\");\n Log.d(\"smart_alert_split\", b[0]);\n String _number = pref.getString(\"number\", \"\");\n if (b[0].equals(_number)) {\n vibrate();\n addNotification(msg_alert);\n mPlayer.start();\n\n String info = \"หมายเลข \" + b[0] + \" อีก 5 คิวจะถึงคิวของท่าน กรุณาไปรอที่บริเวณ \" + b[1];\n txt_wait.setText(info);\n }\n\n }","title":""},{"docid":"a95e5cd20165d930ba5a7ec22b62527a","score":"0.5752778","text":"public Lease sendPrivateMessage(PostEntry post)\n {\n Lease success = null;\n if(post.getRecipient() == null)\n {\n JOptionPane.showMessageDialog(null, \"Recipient unavailable!\");\n }\n\n Transaction transaction = TransactionBuilder.getTransaction();\n // Check user in topic\n try\n {\n DummyUserInTopic template = new DummyUserInTopic();\n template.setTopic(post.getTopic());\n template.setUser(post.getRecipient());\n DummyUserInTopic userInTopic = (DummyUserInTopic)\n space.readIfExists(template, transaction, 3000);\n\n if(userInTopic != null)\n {\n success = space.write(post, transaction, Lease.FOREVER);\n transaction.commit();\n }\n else\n {\n JOptionPane.showMessageDialog(null,\n \"User no longer in topic.\");\n }\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return success;\n }","title":""},{"docid":"e9029736c4669106de0cbb7141297d69","score":"0.5750855","text":"@Override\n\tpublic String generateMessage() {\n\t\treturn \"HI, STUB!\";\n\t}","title":""},{"docid":"5e993ef77a0eca32b602a5b62a89d8f2","score":"0.5738549","text":"public void admin() throws Exception {\r\n // conexion \r\n ConnectionFactory cf = TcpConnectionFactory.create(\"localhost\", 2560);\r\n AdminModule.connect(cf, \"root\", \"root\");\r\n \r\n // create a Topic \r\n Topic topic = org.objectweb.joram.client.jms.Topic.create(\"topic\"); \r\n // set permissions\r\n ((org.objectweb.joram.client.jms.Topic) topic).setFreeReading();\r\n ((org.objectweb.joram.client.jms.Topic) topic).setFreeWriting();\r\n \r\n // create a user\r\n User.create(\"anonymous\", \"anonymous\");\r\n\r\n javax.naming.Context jndiCtx = new javax.naming.InitialContext();\r\n jndiCtx.bind(\"cf\", cf);\r\n jndiCtx.bind(\"topic\", topic);\r\n jndiCtx.close();\r\n\r\n org.objectweb.joram.client.jms.admin.AdminModule.disconnect();\r\n }","title":""},{"docid":"c9fa7f15af2106ef0b31b8d72a5088b8","score":"0.5735489","text":"public void messageArrived(String topic, MqttMessage message) throws Exception {\n\n\t\t//Reading message recieved\n\t\tString tempStr = new String(message.getPayload());\n\t\tString value = tempStr.substring(9,13);\n\t\tLOGGER.info(\"MQTT:Message received from ubidots:\" + tempStr );\n\n\t}","title":""},{"docid":"8685c5f67309117f148a865b6cf533e7","score":"0.57288086","text":"public void sendKafka(KeyedMessage message) {\n this.producer.send(message);\n }","title":""},{"docid":"9e346bb7eacbe4f7b76f8ea8f7f00ea5","score":"0.57269067","text":"@SuppressWarnings(\"unchecked\")\n\tprivate void sendfcmmsg(String title,String message) {\n\t\ttry {\n\t\t\tURL url = new URL(FCM_URL);\n\t\t\tHttpURLConnection conn;\n\t\t\tconn = (HttpURLConnection) url.openConnection();\n\t\t\tconn.setUseCaches(false);\n\t\t\tconn.setDoInput(true);\n\t\t\tconn.setDoOutput(true);\n\t\t\tconn.setRequestMethod(\"POST\");\n\t\t\tconn.setRequestProperty(\"Authorization\", \"key=\" + SERVER_KEY);\n\t\t\tconn.setRequestProperty(\"Content-Type\", \"application/json\");\n\n\t\t\tJSONObject infojson = new JSONObject();\n\t\t\t// notification title\n\t\t\tinfojson.put(\"title\", title);\n\t\t\tinfojson.put(\"body\", message);\n\t\t\tJSONObject json = new JSONObject();\n\t\t\tjson.put(\"to\", \"/topics/all\");\n\t\t\tjson.put(\"notification\", infojson);\n\n\t\t\tOutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());\n\t\t\twr.write(json.toString());\n\t\t\twr.flush();\n\n\t\t\tint status = 0;\n\t\t\tif (null != conn) {\n\t\t\t\tstatus = conn.getResponseCode();\n\t\t\t}\n\t\t\tif (status != 0) {\n\t\t\t\tswitch (status) {\n\t\t\t\tcase 200:\n\t\t\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));\n\t\t\t\t\tSystem.out.println(\"Android Notification Response : \" + reader.readLine());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 401:\n\t\t\t\t\tSystem.out.println(\"Notification Response : Error\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 501:\n\t\t\t\t\tSystem.out.println(\"Notification Response : server Error\" );\n\t\t\t\tcase 503:\n\t\t\t\t\tSystem.out\n\t\t\t\t\t\t\t.println(\"Notification Response : server Error Notification Server is unavailable\");\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch (MalformedURLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"0d7980ca9dfce20d4d67e398b439f2de","score":"0.57203627","text":"@Override\n public void run() {\n ConnectionFactory factory = new ConnectionFactory();\n factory.setHost(host);\n\n try {\n \t//criando canal para realizar as tarefas\n Connection connection = factory.newConnection();\n Channel channel = connection.createChannel();\n //declara ativamente uma troca não autodelete sem argumentos extras\n channel.exchangeDeclare(\"BOLSADEVALORES\", BuiltinExchangeType.TOPIC);\n //declarando fila para consumo\n String queueName = channel.queueDeclare().getQueue();\n channel.queueBind(queueName, \"BOLSADEVALORES\", topic);\n\n //utilizando a interface para armazenar em buffer as mensagens enviadas\n DeliverCallback deliveryCallback = (consumerTag, delivery) -> {\n String message = new String(delivery.getBody(), \"UTF-8\");\n String topic = delivery.getEnvelope().getRoutingKey();\n\n String[] splitTopic = topic.split(\"\\\\.\");\n String[] splitMessage = message.split(\">|;|<\");\n\n String messageFormat;\n\n if (splitMessage.length > 5) {\n messageFormat = splitTopic[0] + \" \" + splitTopic[1].toUpperCase() + \" | data: \" + splitMessage[1]\n + \", crr_vd: \" + splitMessage[2] + \", crr_cp: \" + splitMessage[3] + \", qtde: \"\n + splitMessage[4] + \", val: \" + splitMessage[5];\n } else {\n messageFormat = splitTopic[0] + \" \" + splitTopic[1].toUpperCase() + \" | qtde: \" + splitMessage[1]\n + \", val: \" + splitMessage[2] + \", crr: \" + splitMessage[3];\n }\n\n JLabel messageL = new JLabel(messageFormat);\n messageL.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\n\n //mostrar mensagem na interface\n BrokerGUI.actionsP.add(messageL);\n BrokerGUI.actionsP.revalidate();\n BrokerGUI.actionsP.repaint();\n };\n //inicializando um consumidor nao local e nao exclusivo\n channel.basicConsume(queueName, true, deliveryCallback, consumerTag -> { });\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"8f22255d8f644ac37ea1b6d38073cbd3","score":"0.571982","text":"@Override\n public Future publishToSubscribers(PublishMessage msg) throws IOException {\n // TODO Handle messages that should be retained\n checkNotNull(msg);\n try {\n // We will support QOS Type 1.\n // We must implement a retain datastore, so we don't need to set retain flag for these msgs\n MoquetteMqttListener publishFuture = new MoquetteMqttListener();\n client.publish(msg.getMqttTopic(), msg.getMqttPaylaod(), QOSType.LEAST_ONE.ordinal(),\n false, null, publishFuture);\n return publishFuture;\n } catch (MqttPersistenceException e) {\n // persistent storage location in use\n throw new IOException(\"The MQTT Persistent Storage Location is already in use. MQTT Reason\"\n + \" Code: \" + e.getReasonCode() + \"\\n\" + e.getMessage());\n } catch (MqttException e) {\n // inappropriate state for publishing\n throw new IOException(\"The client is in an inappropriate state for connecting.\"\n + e.getMessage());\n }\n }","title":""},{"docid":"a783a331ffb1600ace4013cac46416c0","score":"0.5716433","text":"@Override\n public String getMessageTopic() {\n return String.format(_getPK_DK_FormatTopic(), getProductKey(), getDeviceKey());\n }","title":""},{"docid":"5291d2992d97d31dbd89a8c4c85694b5","score":"0.5716074","text":"public void sendMessage(Message message);","title":""},{"docid":"6ac689ab00dc7ca60df29e0019ad4479","score":"0.57135725","text":"private void showMessages() throws IOException, ClassNotFoundException {\n String id_topic = (String) in.readObject();\n ArrayList messageUsers = sqlOperations.getMessagesAndUsersSQL(Integer.parseInt(id_topic));\n\n out.writeObject(messageUsers);\n System.out.println(\"Client with port \"+ socket.getPort() +\" wants to see the messages in a topic.\");\n out.flush();\n }","title":""},{"docid":"7fb6364ed1429305a3b705c2f42166c6","score":"0.569728","text":"public void showMessage() {\n MessageAction sendMessage = channel.sendMessage(getDefaultMessageEmbed());\n if(hasButtons()) {\n sendMessage = sendMessage.setActionRows(getButtonRow());\n }\n sendMessage.queue(message -> id = message.getIdLong());\n }","title":""},{"docid":"e637b9fb5c9bb9fa977a929f8df60b14","score":"0.5696604","text":"public Future publish(String topic, ByteBuf payload) {\n return publish(topic, payload, MqttQoS.AT_MOST_ONCE, false);\n }","title":""},{"docid":"769d1c487a51cd2941c32b9ad45d0056","score":"0.5689461","text":"protected final void topicChanged (String topic)\n {\n\tif (myDebug)\n\t{\n\t debugPrintln (\"!!! \" + this + \".topicChanged (\" + topic + \")\");\n\t}\n\n\tif (topic == null)\n\t{\n\t topic = \"\";\n\t}\n\n\tif (topic.equals (myTopic))\n\t{\n\t return;\n\t}\n\n\tmyTopic = topic;\n\tbroadcast (ChannelEvent.topicChanged (this, topic));\n\tsetDescription ();\n }","title":""},{"docid":"ace379693c30084e84353c99b5e321f7","score":"0.5688712","text":"@Override\r\n\tpublic void sendMessage(String msg) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}","title":""},{"docid":"da02c47c959de81c739d2e3287e57d7f","score":"0.5688658","text":"public void crearPublicacionTexto(String mensaje, Usuario u) {\r\n texto = new Texto(mensaje, u);\r\n u.comentarMiMuro(texto);\r\n textoDAO.create(texto);\r\n\r\n mostrarPublicacionTexto(texto, u);\r\n }","title":""},{"docid":"759ea1e369b9309c347885582cb50996","score":"0.5674442","text":"@MessageMapping(\"/pushchannel\") \n @SendTo(\"/queue/test1\") //subscribe, enableSimpleBroker, \n public String requestMsg(String str) throws Exception {\n //Thread.sleep(3000); // simulated delay\n //return new Greeting(\"Hello, \" + message.getName() + \"!\");\n return \"testing\";//ResourceResponse.createSuccessfulResponse();\n \n }","title":""},{"docid":"5fcfd54ba252d9dd26716c96dc7ee18b","score":"0.5674417","text":"public interface NotificationService {\n\n void notifyAll(GlobalMessage globalMessage);\n\n void notifyByTopic(GlobalMessage globalMessage, Topic topic);\n}","title":""},{"docid":"470b3e1eb71ccb4bb7caaebaaba02072","score":"0.5649835","text":"@MessageMapping(\"/send/message\")\n public void sendMessage(NewMessage newMessage){\n Message message = roomService.addMessage(newMessage);\n simpMessagingTemplate.convertAndSend(\"/socket-publisher/\" + newMessage.getRoomId(), newMessage);\n }","title":""},{"docid":"852525e41e4ec8316147210f43cccf32","score":"0.5646142","text":"public static void sendStreamNotification(String deviceId, MQTTNotifitions message, String streamId){\n\t\t//the notified client should check this stream id in the exsiting filters and it is not there the request for new file\n\t\ttry {\n\t\t\tMQTTManager mqtt = new MQTTManager(deviceId);\n\t\t\tmqtt.connect();\n\t\t\tmqtt.publishToDevice(message.getMessage() +\":\" + streamId);\n\t\t} catch (MqttException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}","title":""},{"docid":"2e75b0f6ceae783064a1385528e49443","score":"0.5640759","text":"public void sendMessage(String msg){\r\n\t\ttry {\r\n\t\t\toutPutStream.write(msg.getBytes());\r\n\t\t\toutPutStream.flush();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t//notifyAll();\r\n\t}","title":""},{"docid":"fffe58690c7f303c1c62659b031526aa","score":"0.56335527","text":"private void unicastMessage(String message)\n {\n message =message.substring(message.indexOf(\"#\")+1);\n String username=getCommand(message).trim();\n message=message.substring(message.indexOf(\"#\")+1);\n //If the user is active, fetch the output stream writer for the user whom the message is intended to.\n try {\n if (!group.containsKey(username)) {\n sendMessage(\"User is not connected. Try someone else\");\n } else {\n group.get(username).writeObject(\"Private message from \"+clientname+\" \"+message);\n sendMessage(\"Message sent to \"+username);\n }\n }\n //Exception Handling\n catch(IOException ioe)\n {\n ioe.printStackTrace();\n }\n }","title":""},{"docid":"c12452a15f73ca4a2c8c9327cd26a99e","score":"0.56301636","text":"void notify(String msg);","title":""},{"docid":"01cd98995fef7c6676e031b17a972af1","score":"0.56223226","text":"@Test\n public void shareTopicTest() throws ApiException {\n String topic = null;\n Integer destProjectId = null;\n Integer projectId = null;\n api.shareTopic(topic, destProjectId, projectId);\n\n // TODO: test validations\n }","title":""},{"docid":"dc7dbb4faffd10ed7e96689c9194c510","score":"0.56162906","text":"void sendMessage(Message message);","title":""},{"docid":"e450e64db5114ffe0f926ff7e93cb8e2","score":"0.56160784","text":"private void publishMessageAction (Message receivedMessage, DataOutputStream os) throws IOException {\r\n\r\n\t\tMultiLog.println(NetMessageListener.class.toString(), LOG_TAG + \"Handler for PUBLISH MESSAGE\");\r\n\t\t//System.out.println(LOG_TAG + \"Handler for PUBLISH MESSAGE\");\r\n\r\n\t\tPublishResourceMessage publishMessage = new PublishResourceMessage(receivedMessage);\r\n\r\n\t\tMultiLog.println(NetMessageListener.class.toString(), \"Responsible for RESOURCE \" + publishMessage.getKey() + \" owned by \" + publishMessage.getOwnerId());\r\n\t\t//System.out.println(\"Responsible for RESOURCE \" + publishMessage.getKey() + \" owned by \" + publishMessage.getOwnerId());\r\n\t\tNetPeerInfo owner = new NetPeerInfo(publishMessage.getSourceSocketAddr(), publishMessage.getSourcePort(), \"\");\r\n\t\tString ownerId = publishMessage.getOwnerId();\r\n\r\n\t\tNetResourceInfo resource = new NetResourceInfo(publishMessage.getKey(), owner, ownerId);\r\n\r\n\t\tthis.netPeer.addResourceOnCache(resource);\r\n\r\n\t\tMultiLog.println(NetMessageListener.class.toString(), LOG_TAG + \"Send Ack\");\r\n\t\t//System.out.println(LOG_TAG + \"Send Ack\");\r\n\r\n\t\tos.write((new AckMessage(this.listenerId, this.listenerAddr, this.listenerPort, 0, \"\")).generateXmlMessageString().getBytes());\r\n\t}","title":""},{"docid":"fe0232afc19f4370422f58f7447580af","score":"0.56131315","text":"@Override\n\tpublic void onMessage(Message msg){\n\t\tObjectMessage mensagemPost = (ObjectMessage) msg;\n\t\t\ttry {\n//\t\t\t\tString texto = mensagens.getText();\n\t\t\t\tPost post = (Post)mensagemPost.getObject();\n\t\t\t\tSystem.out.println(\"MENSAGEM:\" + post.toString());\n\t\t\t\n//\t\t\t\tSystem.out.println(\"MENSAGEM:\" + texto);\n\t\t\t} catch (JMSException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\t\t\t\n\t}","title":""},{"docid":"3a3c7339f1009b502914096450b6ee66","score":"0.5612775","text":"public String getTopic() {\r\n\t\treturn topic;\r\n\t}","title":""},{"docid":"3a3c7339f1009b502914096450b6ee66","score":"0.5612775","text":"public String getTopic() {\r\n\t\treturn topic;\r\n\t}","title":""},{"docid":"e6637fe528a17fdb48af95af9d7199b2","score":"0.56094635","text":"public void sendMessage(String mensaje) {\n\t\tnew Thread(\n\t\t\t() -> {\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tInetAddress ip = InetAddress.getByName(ipVariable);\n\t\t\t\t\tDatagramPacket packet = new DatagramPacket(mensaje.getBytes(),mensaje.getBytes().length,ip, 6000);\n\t\t\t\t\tsocket.send(packet);\n\t\t\t\t\t\n\t\t\t\t} catch (UnknownHostException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\t\n\t\t\t}\n\t\t).start();\t\n\t}","title":""},{"docid":"244de748f7ef162484c9493798d57ee0","score":"0.5599548","text":"void publish(@Nonnull E message);","title":""},{"docid":"6d76cdcee439ceb15ea7956c87047606","score":"0.5593688","text":"private void showMessageToUser(int messageId) {\n// showMessageToUser(getString(messageId));\n }","title":""},{"docid":"6b6341860308ddc4a49786416f6f5c38","score":"0.55929","text":"public static void setChatTopic(Topic topic) {\n\t\ttry {\n\t\t\tforumClient.forum.setChatTopic(Driver.forumClient.user, topic);\n\t\t} catch (RemoteException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tchat.setTopic(topic);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"4cf30e563d9827663ba552f8d0c5f3c7\",\n \"score\": \"0.72993696\",\n \"text\": \"@Override\\n\\tpublic void publish(String topic, String str) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6126e7aef523761ca9168acdd1cefe3a\",\n \"score\": \"0.6919684\",\n \"text\": \"public void publish(String msg) {\\n\\n try {\\n MqttMessage message = new MqttMessage();\\n message.setPayload(msg.getBytes());\\n mqttAndroidClient.publish(publishTopic, message);\\n } catch (MqttException e) {\\n System.err.println(\\\"Error Publishing: \\\" + e.getMessage());\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e4d96025b988b89a275dc09ddb4c66e\",\n \"score\": \"0.6907883\",\n \"text\": \"public void publishMessage(String topic, String value) {\\n logger.infof(\\\"Publishing on topic {%s}, message: %s \\\", topic, value);\\n try {\\n client.publish(topic, value.getBytes(\\\"UTF-8\\\"), 0, false);\\n } catch (UnsupportedEncodingException uee) {\\n logger.warnf(\\\"Message %s cannot be encoded as UTF-8 bytes, ignoring it\\\", uee);\\n } catch (MqttPersistenceException mpe) {\\n mpe.printStackTrace();\\n } catch (MqttException me) {\\n me.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"befde69d36e0781de20ebb4ac07322dd\",\n \"score\": \"0.6869111\",\n \"text\": \"public void publish(final String msg) {\\n\\t\\tHashtable args = new Hashtable(2);\\n\\t\\targs.put(\\\"message\\\", msg);\\n\\t\\targs.put(\\\"channel\\\", CHANNEL);\\n\\t\\tpubnub.publish(args, new Callback() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void successCallback(String channel, Object message) {\\n\\t\\t\\t\\tnotifyUser(\\\"PUBLISH : \\\" + msg);\\n\\t\\t\\t}\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void errorCallback(String channel, PubnubError error) {\\n\\t\\t\\t\\tnotifyUser(\\\"PUBLISH : \\\" + error);\\n\\t\\t\\t\\tLog.e(TAG, error.toString());\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"622a8b7797c2154ff1d325c1c68226c6\",\n \"score\": \"0.68616784\",\n \"text\": \"@Override\\n public void notifyPublish(MessageI m, String topic) throws Exception {\\n this.getOwner().handleRequestAsync(writeExecutorIndex,\\n new AbstractComponent.AbstractService(){\\n @Override\\n public Void call() throws Exception {\\n ((NotificationCI)this.getServiceProviderReference()).notifyPublish(m, topic);\\n return null;\\n }\\n }\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d988dc40b80691bc29887a487f02d2\",\n \"score\": \"0.66189235\",\n \"text\": \"@PUT(\\\"/api/admin/message/topic\\\")\\n\\tJsonObject postTopicMessage(@Query(\\\"topic\\\") String topic, @Query(\\\"title\\\") String title, @Query(\\\"content\\\") String content, @Query(\\\"type\\\") String type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea74557dcf9f730cbf5375f05d8a9335\",\n \"score\": \"0.6605286\",\n \"text\": \"void subscribe(MessageTopic topic);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abafa95193fa81ec6b3b309855ee4a31\",\n \"score\": \"0.66033965\",\n \"text\": \"@Override\\n public void notifyPublish(MessageI[] ms, String topic) throws Exception {\\n this.getOwner().handleRequestAsync(writeExecutorIndex,\\n new AbstractComponent.AbstractService(){\\n @Override\\n public Void call() throws Exception {\\n ((NotificationCI)this.getServiceProviderReference()).notifyPublish(ms, topic);\\n return null;\\n }\\n }\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c890e7104cc68be4108b0687c8650e7\",\n \"score\": \"0.64734846\",\n \"text\": \"@Override\\n public boolean addMessage(String topic, String message) throws IOException {\\n message = this.name + \\\": \\\" + message;\\n HttpUriRequest req= new HttpGet(\\\"http://\\\" + path + \\\"?action=postMessage&message='\\\" + URLEncoder.encode(message, \\\"UTF-8\\\")\\n + \\\"'&topic=\\\" + URLEncoder.encode(topic, \\\"UTF-8\\\"));\\n try {\\n httpClient.execute(req);\\n } catch (IOException e) {\\n logger.error(e.getMessage());\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e15b54b81023f15c209d75a85207d042\",\n \"score\": \"0.6468477\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\t\\tsendMessageByTopic();\\r\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ba2f8d286f82e5efd752ce9d94925e6\",\n \"score\": \"0.64532334\",\n \"text\": \"@Override\\n public void run() {\\n ConnectionFactory factory = new ConnectionFactory();\\n factory.setHost(host);\\n\\n try {\\n \\t//criando canal para realizar as tarefas\\n \\tConnection connection = factory.newConnection();\\n Channel channel = connection.createChannel();\\n //declara ativamente uma troca não autodelete sem argumentos extras\\n channel.exchangeDeclare(\\\"BROKER\\\", BuiltinExchangeType.TOPIC);\\n //publicar uma mensagem na fila\\n channel.basicPublish(\\\"BROKER\\\", topic, null, message.getBytes(\\\"UTF-8\\\"));\\n\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61e0291be981e94a32b49d95cef856b3\",\n \"score\": \"0.6443367\",\n \"text\": \"public void updateTopic() {\\n ChatThreadClient chatThreadClient = getChatThreadClient();\\n\\n // BEGIN: readme-sample-updateTopic\\n chatThreadClient.updateTopic(\\\"New Topic\\\");\\n // END: readme-sample-updateTopic\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a72049e73582608290519ca7516d11af\",\n \"score\": \"0.64033055\",\n \"text\": \"public void sendMessage() { \\n\\n\\t\\tTimer timer = new Timer(); // for running it every 2 seconds\\n\\t\\ttimer.schedule(new TimerTask() {\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() {\\n\\n\\t\\t\\t\\tRandom rand = new Random(); // instance of random class\\n\\t\\t\\t\\tString int_random = Integer.toString(rand.nextInt(10000));\\n\\n\\t\\t\\t\\tlogger.info(String.format(\\\"Produced message by Producer = %s\\\", int_random)); // displaying sent message\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tkafkaTemplate.send(TOPIC, int_random); // send message to topic\\n\\t\\t\\t}\\n\\t\\t}, 0, 2000); \\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38da2d43a0c881d8e0fa6ee4a8eb3454\",\n \"score\": \"0.63869923\",\n \"text\": \"public void publish(String message) {\\n\\t\\tSystem.out.println(message); \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcd566e0d33c3e05877746a928d2133c\",\n \"score\": \"0.6382097\",\n \"text\": \"@Override\\n public void notifyTopic(String topic) throws Exception {\\n \\n this.getOwner().handleRequestAsync(writeExecutorIndex,\\n new AbstractComponent.AbstractService(){\\n @Override\\n public Void call() throws Exception {\\n ((NotificationCI)this.getServiceProviderReference()).notifyTopic(topic);\\n return null;\\n }\\n });\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf68da2dff67109b8a70baeb733788c2\",\n \"score\": \"0.63669115\",\n \"text\": \"public void addMessage(Message message)\\n {\\n messagesTopic.publish(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9cbc48b67c7baa3cd63f88e4f1d7cf3a\",\n \"score\": \"0.636031\",\n \"text\": \"public void publish(String topic, byte[] data) {\\n client.publishWith().topic(topic).payload(data).qos(MqttQos.AT_MOST_ONCE).send();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24f8f28dbeeaa84dac4f88f0c5b9bb84\",\n \"score\": \"0.633136\",\n \"text\": \"private void handleMqttPublish(MqttPublish receivedMsg) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75c1afaa0e87c3ca06919b46e75bb873\",\n \"score\": \"0.6316844\",\n \"text\": \"public static void sendToServer(String m) {\\r\\n try {\\r\\n p.Publish(m, 1, true);\\r\\n } catch (MqttException ex) {\\r\\n //no possibility to contact daemon, need to shut down this programme -> causes message \\\"offline\\\" on topic\\r\\n System.exit(1);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dab5741e410808ea7f018143216ffd24\",\n \"score\": \"0.629411\",\n \"text\": \"public void messageArrived(String topic, MqttMessage message) throws Exception {\\n\\t\\tString msgStr = message.toString();\\n\\t\\tPacket msgPacket = create(msgStr);\\n\\t\\toutPort.send(msgPacket);\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55f621576f80a675e5d2165fc23d4960\",\n \"score\": \"0.6271505\",\n \"text\": \"private void createTopic(String topic) {\\n\\t\\tproxy.publish(\\\"Topic \\\"+topic+\\\" created\\\", topic);\\r\\n\\t\\tproxy.publish(\\\"getTopics\\\", \\\"all\\\");\\r\\n\\t\\tgetSubscribers(topic);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ba17332436693dd1efefc68ce198b71\",\n \"score\": \"0.6267059\",\n \"text\": \"@Override\\n public void messageArrived(String topic, MqttMessage message) throws Exception {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a274f596c929819eab7c1c94db1774e8\",\n \"score\": \"0.62655956\",\n \"text\": \"public void send(String msg) {\\n\\t\\tmsg = subscriberHost+\\\"/\\\"+subscriberPort+\\\": \\\"+msg;\\r\\n\\t\\tproxy.publish(msg, topicName);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4f1748fb075f2c78a945271e55f3994\",\n \"score\": \"0.6255988\",\n \"text\": \"public Lease sendPublicMessage(PostEntry post)\\n {\\n Lease success = null;\\n if(post == null)\\n {\\n System.err.println(\\\"Failed to create post.\\\");\\n }\\n else\\n {\\n try\\n {\\n if(post.getTopic() == null)\\n {\\n JOptionPane.showMessageDialog(null,\\n \\\"Topic does not exist!\\\");\\n }\\n else if(post.getAuthor() == null)\\n {\\n JOptionPane.showMessageDialog(null,\\n \\\"Author does not exist.\\\");\\n }\\n else\\n {\\n Transaction transaction =\\n TransactionBuilder.getTransaction();\\n\\n if(topicUtils.topicExists(post.getTopic(), transaction))\\n {\\n success = space.write(post, transaction, Lease.FOREVER);\\n }\\n transaction.commit();\\n }\\n }\\n catch(Exception e)\\n {\\n e.printStackTrace();\\n }\\n }\\n return success;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d3437f7b024dbc4615c2416fa6639ab\",\n \"score\": \"0.61852515\",\n \"text\": \"@Override\\n public void messageArrived(String topic, MqttMessage message) throws Exception {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dfa2b118fd3b3944cca6521ebe2d8d2\",\n \"score\": \"0.61711895\",\n \"text\": \"LogTopic()\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bd2ac8ee396ad0da1335b6476c8041b\",\n \"score\": \"0.6153965\",\n \"text\": \"public void sendMessage(String message) {\\n logger.info(String.format(\\\"$$ -> Producing message --> %s\\\", message));\\n this.kafkaTemplate.send(TOPIC, jsonEnvelope(message));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a4708e6a259f0f8530c44b1e3565d62\",\n \"score\": \"0.6098963\",\n \"text\": \"private void getNotification(){\\n\\n FirebaseMessaging.getInstance().subscribeToTopic(\\\"upload\\\")\\n .addOnCompleteListener(new OnCompleteListener() {\\n @Override\\n public void onComplete(@NonNull Task task) {\\n String msg = \\\"Success\\\";\\n if (!task.isSuccessful()) {\\n msg = \\\"Success\\\";\\n }\\n Log.d(\\\"TAG\\\", msg);\\n// Toast.makeText(MainActivity.this, msg, Toast.LENGTH_SHORT).show();\\n }\\n });\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc782de0fe23ad7d9d177c733e64c690\",\n \"score\": \"0.60832566\",\n \"text\": \"void onPublish(InternalMessage msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5deaa72b76c442819775c74a9a284d63\",\n \"score\": \"0.6076752\",\n \"text\": \"@Override\\n public void publishMessage(String message, String routingKey){\\n try {\\n channel.basicPublish(this.exchangeName, routingKey, MessageProperties.PERSISTENT_TEXT_PLAIN, message.getBytes());\\n } catch (IOException e) {\\n System.err.println(\\\"Error during message publishing\\\");\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7be2aa956965bae7025ccd3f28dcfefd\",\n \"score\": \"0.6069925\",\n \"text\": \"@PostMapping(\\\"/send\\\")\\n @ResponseBody // i.e. return directly as HTML, not a view\\n public void produce(@RequestParam String message,\\n @RequestParam(value = \\\"to\\\", required = false) String recipient) throws ExecutionException, InterruptedException {\\n DateTime dt = new DateTime(DateTimeZone.UTC);\\n\\n // add new \\\"user\\\" if not exists\\n if (recipient != null) {\\n NativeAdmin.createTopicIfNotExists(recipient);\\n template.send(recipient, dt + \\\" -- \\\" + message);\\n } else {\\n // otherwise send to everyone\\n ArrayList topics = NativeAdmin.getAllTopics();\\n for (String topic : topics) {\\n System.out.println(\\\"Sending to \\\" + topic);\\n template.send(topic, dt + \\\" -- \\\" + message);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"161a2cf8d49a644d8cab98ee61a1bc4f\",\n \"score\": \"0.6068615\",\n \"text\": \"public void sendMessage(String topic, String partition, T message) throws IOException {\\n sendMessage(topic, partition, message, 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0725ec7b8e807bdfbe494b3996a5f80f\",\n \"score\": \"0.60544455\",\n \"text\": \"private void publishMessage(Channel channel, List messages) {\\n messages\\n .forEach(message -> {\\n try {\\n channel.basicPublish(\\\"\\\", \\\"queuq-1\\\", null, message.getBytes());\\n } catch (IOException e) {\\n logger.error(\\\"error occurred {}\\\", e.getMessage());\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b666c5298edf143599501fd5813db0e\",\n \"score\": \"0.6054199\",\n \"text\": \"@MessageMapping(\\\"/chat.sendMessage.{numdibujo}}\\\")\\n public void sendMessage(@Payload ChatMessage chatMessage, @DestinationVariable String numdibujo) {\\n msgt.convertAndSend(\\\"/topic/public.\\\"+numdibujo,chatMessage);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5515224a8abb3ab3d3e05682da5ab823\",\n \"score\": \"0.60205424\",\n \"text\": \"public void setTopic(String topic) {\\r\\n\\t\\tthis.topic = topic;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5515224a8abb3ab3d3e05682da5ab823\",\n \"score\": \"0.60205424\",\n \"text\": \"public void setTopic(String topic) {\\r\\n\\t\\tthis.topic = topic;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d923a3710e35820aa05bba7dda705a\",\n \"score\": \"0.60155946\",\n \"text\": \"private String basicPublish( String message ) throws IOException\\n {\\n if( !isQueueDeclared )\\n {\\n mc.getChannel().queueDeclare( queueName, false, false, false, null );\\n isQueueDeclared = true;\\n }\\n\\n mc.getChannel().basicPublish( \\\"\\\", queueName, null, message.getBytes() );\\n\\n return \\\"[Sent] --> '\\\" + message + \\\"'\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62ad7677f859b9bbbc6c9f25cdd3bbe9\",\n \"score\": \"0.6006807\",\n \"text\": \"Builder topic(String topic);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e8078091c2d965f44430aaf0d01a628\",\n \"score\": \"0.60067046\",\n \"text\": \"public interface SendMessage {\\n\\n\\tpublic String sendMessage(String content, String sender, String topic);\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e458331f9cce904ca5b9dc6335c0751a\",\n \"score\": \"0.59956855\",\n \"text\": \"public MQTTopic(String topicName) {\\n this.topic = topicName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0eb9c5cf50c03ef049efba2750f6eb2\",\n \"score\": \"0.59928465\",\n \"text\": \"public void publishData(String msg) {\\n\\t\\t\\t\\n\\t\\t\\t//publish(msg);\\n\\t\\t\\tpublish(new MsgObj(msg));\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e29908514869c448f44653772ab65b1a\",\n \"score\": \"0.5960963\",\n \"text\": \"String getTopic();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e19382f6da5a3f1494ead45cde5ce44\",\n \"score\": \"0.59551257\",\n \"text\": \"public void publish(Message message, PubSubService pubSubService) {\\n pubSubService.addMessageToQueue(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6232b28a66ee57a31ed85926a42d68f\",\n \"score\": \"0.5893957\",\n \"text\": \"public void publishMessageWithDelay() throws NamingException, JMSException {\\n\\n try (TopicConnection topicConnection = topicConnFactory.createTopicConnection();\\n TopicSession topicSession =\\n topicConnection.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);) {\\n topicConnection.start();\\n Topic createdtopic = topicSession.createTopic(\\\"JavaEE\\\");\\n\\n // create the message to send\\n TextMessage textMessage = topicSession.createTextMessage(\\\"This is a test message\\\");\\n \\n javax.jms.TopicPublisher topicPublisher = topicSession.createPublisher(createdtopic);\\n topicPublisher.setDeliveryDelay(1000);\\n topicPublisher.publish(textMessage);\\n setMessage(\\\"Message Published\\\");\\n\\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1414219e472d6149f1dc23e27876d3a\",\n \"score\": \"0.5879259\",\n \"text\": \"private void subscribeToTopic(){\\n consumer.subscribe(Collections.singletonList(this.topic));\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f05dfabbbb2b3b5cafb3134a9062842\",\n \"score\": \"0.58782935\",\n \"text\": \"public void mostrarMensaje(String mensaje) {\\n\\t\\tventanaServidor.pantallaChat.append(mensaje);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b595ff3fdb96f62697df54155a650e3\",\n \"score\": \"0.5877846\",\n \"text\": \"public String getTopic() {\\n return _topic;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba0d063031d2f6d286ea355bcceb6b1f\",\n \"score\": \"0.5875671\",\n \"text\": \"public int publishAMessage(String message, String topic, boolean retained) {\\n MqttMessage msg = new MqttMessage(message.getBytes());\\n msg.setQos(2);\\n msg.setRetained(retained);\\n if (isConnectedToBroker) {\\n try {\\n client.publish(topic, msg);\\n return 1;\\n } catch (MqttException e) {\\n e.printStackTrace();\\n return 0;\\n }\\n } else {\\n return -1;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0826c3750d05e5e9c02706466bd7c4a0\",\n \"score\": \"0.5857036\",\n \"text\": \"@Override\\n public void messageArrived(String topic, MqttMessage message) throws Exception {\\n Gson g = new Gson();\\n Device device = g.fromJson(message.toString(), Device.class);\\n Toast.makeText(getApplicationContext(), message.toString(), Toast.LENGTH_SHORT).show();\\n\\n TextView text = findViewById(R.id.txt);\\n text.setText(device.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d3e3095d8c8d693ef2d5a4ba809f30a\",\n \"score\": \"0.5855696\",\n \"text\": \"java.lang.String getCreatedtopic();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57c5e26b2d60eb9778e66d7b36fe19b4\",\n \"score\": \"0.58536005\",\n \"text\": \"public String getTopic()\\n {\\n return topic;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b0bd3a58f78219d34b69b82a69c2fc4\",\n \"score\": \"0.58530277\",\n \"text\": \"public String getTopic(){\\r\\n\\t\\treturn this.topic;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81da3db56d62a20aade4b264473e9386\",\n \"score\": \"0.5849043\",\n \"text\": \"public void createTopic(String topic) {\\r\\n\\t\\tcreateTopic(topic, 1, 1, new Properties());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c6576dac9395aee389c08eefd15198b\",\n \"score\": \"0.5848189\",\n \"text\": \"public String getTopic() {\\n return topic;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c6576dac9395aee389c08eefd15198b\",\n \"score\": \"0.5848189\",\n \"text\": \"public String getTopic() {\\n return topic;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"660e698a7eabc2593f94985a67e4476e\",\n \"score\": \"0.58431715\",\n \"text\": \"public void notify(String msg){\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdc8f8fcbff7c6a4f3df58e2b933b1e8\",\n \"score\": \"0.5826364\",\n \"text\": \"public void sendMessage(String topic, String message) {\\n ListenableFuture> future = kafkaTemplate.send(topic, message);\\n\\n // The same with MessageBuilder\\n // ListenableFuture> future =\\n // kafkaTemplate.send(\\n // MessageBuilder.withPayload(message)\\n // .setHeader(KafkaHeaders.TOPIC, topic)\\n // .build());\\n\\n // you can register a callback with the listener to receive the result\\n // of the send asynchronously\\n future.addCallback(new ListenableFutureCallback>() {\\n\\n @Override\\n public void onSuccess(SendResult result) {\\n RecordMetadata recordMetadata = result.getRecordMetadata();\\n ProducerRecord producerRecord = result.getProducerRecord();\\n\\n LOGGER.info(\\\"sent message='{}'\\\", message);\\n LOGGER.info(\\\"RecordMetadata\\\");\\n LOGGER.info(\\\"with offset={}\\\", recordMetadata.offset());\\n LOGGER.info(\\\"with partition={}\\\", recordMetadata.partition());\\n LOGGER.info(\\\"with checksum={}\\\", recordMetadata.checksum());\\n LOGGER.info(\\\"with timestamp={}\\\", recordMetadata.timestamp());\\n LOGGER.info(\\\"with timestamp={}\\\", recordMetadata.topic());\\n\\n LOGGER.info(\\\"ProducerRecord\\\");\\n LOGGER.info(\\\"with partition={}\\\", producerRecord.partition());\\n LOGGER.info(\\\"with value={}\\\", producerRecord.value());\\n LOGGER.info(\\\"with timestamp={}\\\", producerRecord.timestamp());\\n LOGGER.info(\\\"with topic={}\\\", producerRecord.topic());\\n }\\n\\n @Override\\n public void onFailure(Throwable ex) {\\n LOGGER.error(\\\"unable to send message='{}'\\\", message, ex);\\n }\\n });\\n\\n // alternatively, to block the sending thread, to await the result,\\n // invoke the future’s get() method\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e04a011963ae2a40c91b510208abfa0\",\n \"score\": \"0.58152443\",\n \"text\": \"public void processMessage () {\\n\\t\\twhile(true) {\\n\\t\\t\\tString msg = this.consumer.riceviMessaggi();\\n\\t\\t\\tif (msg!=null) {\\n\\t\\t\\t\\tString tasformedMessage = \\\"***MESSAGGIO_TRASFORMATO*** \\\"+msg;\\n\\t\\t\\t\\tthis.producer.invia(tasformedMessage, topicDestination);\\n\\t\\t\\t\\tSystem.out.println(producer.toString()+\\\" inviato --> \\\"+tasformedMessage);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaf421237dec9746482b815576011d40\",\n \"score\": \"0.58056104\",\n \"text\": \"void registerMessageConsumerToTopic(MessageConsumer consumer, Topic topic);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e008827dd552455fb7fd93e50d25ad0f\",\n \"score\": \"0.57962936\",\n \"text\": \"public void sendMessage(String to, String content){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c8c01ed2680221e7ea3269bcbdf2cb2\",\n \"score\": \"0.57882655\",\n \"text\": \"Topic createTopic(String topicName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f0e3a87de556ec22ec80b5a6b9c2576\",\n \"score\": \"0.57787436\",\n \"text\": \"@Override\\n public void messageArrived(String topic, MqttMessage mqttMessage) throws Exception {\\n log.debug(\\\"Message Arrived for topic : \\\" + topic);\\n messageProcessorService.initMessageProcessing(topic, mqttMessage, AppConstants.CLIENT_O1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edab961827ba7d52c3425f1d052593e3\",\n \"score\": \"0.57770807\",\n \"text\": \"private void subscribeTopic () throws IOException, ClassNotFoundException {\\n String id = (String) in.readObject();\\n\\n boolean ok = sqlOperations.subscribeTopicSQL(id_user,Integer.parseInt(id));\\n\\n if(ok){\\n out.writeObject(\\\"From now, you are subscribed to this topic!\\\");\\n System.out.println(\\\"Client with \\\"+ socket.getPort() +\\\" port has subscribed to a topic\\\\n\\\");\\n }else{\\n out.writeObject(\\\"You can't subscribe!\\\");\\n }\\n out.flush();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3f88ca9e5772f7136e13ca7a6e616ec\",\n \"score\": \"0.5765941\",\n \"text\": \"private void publish() {\\n Log.i(TAG, \\\"Publishing\\\");\\n PublishOptions options = new PublishOptions.Builder()\\n .setStrategy(PUB_SUB_STRATEGY)\\n .setCallback(new PublishCallback() {\\n @Override\\n public void onExpired() {\\n super.onExpired();\\n Log.i(TAG, \\\"No longer publishing\\\");\\n runOnUiThread(new Runnable() {\\n @Override\\n public void run() {\\n //mPublishSwitch.setChecked(false);\\n }\\n });\\n }\\n }).build();\\n\\n Nearby.Messages.publish(googleApiClient, message, options)\\n .setResultCallback(new ResultCallback() {\\n @Override\\n public void onResult(@NonNull Status status) {\\n if (status.isSuccess()) {\\n Toast.makeText(getBaseContext(),\\\"Shared the product successfully!\\\",Toast.LENGTH_LONG).show();\\n Log.i(TAG, \\\"Published successfully.\\\");\\n } else {\\n logAndShowSnackbar(\\\"Could not publish, status = \\\" + status);\\n }\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c23051413297ddf4445e351d8e38bb9a\",\n \"score\": \"0.5762438\",\n \"text\": \"public void sendMessage1() {\\n\\t\\tfinal FanoutMessage message = new FanoutMessage(\\\"Hello, MessageNumber 1\\\", new Random().nextInt(50));\\n\\t\\tlog.info(\\\"Sending message 1...\\\");\\n\\t\\trabbitTemplate.convertAndSend(config.getFanoutexchangename(), \\\"\\\", message);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d86fafc77286e2380b77c8b9fd4d02a\",\n \"score\": \"0.57572025\",\n \"text\": \"public void updateTopic(Topic topic) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13ce699e32137f0c5eeeb47494bd84f4\",\n \"score\": \"0.5753845\",\n \"text\": \"@Override\\n public void messageArrived(String topic, MqttMessage message) throws Exception {\\n String msg_alert = new String(message.getPayload());\\n Log.d(\\\"smart_alert\\\", msg_alert);\\n String[] b = msg_alert.split(\\\",\\\");\\n Log.d(\\\"smart_alert_split\\\", b[0]);\\n String _number = pref.getString(\\\"number\\\", \\\"\\\");\\n if (b[0].equals(_number)) {\\n vibrate();\\n addNotification(msg_alert);\\n mPlayer.start();\\n\\n String info = \\\"หมายเลข \\\" + b[0] + \\\" อีก 5 คิวจะถึงคิวของท่าน กรุณาไปรอที่บริเวณ \\\" + b[1];\\n txt_wait.setText(info);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a95e5cd20165d930ba5a7ec22b62527a\",\n \"score\": \"0.5752778\",\n \"text\": \"public Lease sendPrivateMessage(PostEntry post)\\n {\\n Lease success = null;\\n if(post.getRecipient() == null)\\n {\\n JOptionPane.showMessageDialog(null, \\\"Recipient unavailable!\\\");\\n }\\n\\n Transaction transaction = TransactionBuilder.getTransaction();\\n // Check user in topic\\n try\\n {\\n DummyUserInTopic template = new DummyUserInTopic();\\n template.setTopic(post.getTopic());\\n template.setUser(post.getRecipient());\\n DummyUserInTopic userInTopic = (DummyUserInTopic)\\n space.readIfExists(template, transaction, 3000);\\n\\n if(userInTopic != null)\\n {\\n success = space.write(post, transaction, Lease.FOREVER);\\n transaction.commit();\\n }\\n else\\n {\\n JOptionPane.showMessageDialog(null,\\n \\\"User no longer in topic.\\\");\\n }\\n }\\n catch (Exception e)\\n {\\n e.printStackTrace();\\n }\\n return success;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9029736c4669106de0cbb7141297d69\",\n \"score\": \"0.5750855\",\n \"text\": \"@Override\\n\\tpublic String generateMessage() {\\n\\t\\treturn \\\"HI, STUB!\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e993ef77a0eca32b602a5b62a89d8f2\",\n \"score\": \"0.5738549\",\n \"text\": \"public void admin() throws Exception {\\r\\n // conexion \\r\\n ConnectionFactory cf = TcpConnectionFactory.create(\\\"localhost\\\", 2560);\\r\\n AdminModule.connect(cf, \\\"root\\\", \\\"root\\\");\\r\\n \\r\\n // create a Topic \\r\\n Topic topic = org.objectweb.joram.client.jms.Topic.create(\\\"topic\\\"); \\r\\n // set permissions\\r\\n ((org.objectweb.joram.client.jms.Topic) topic).setFreeReading();\\r\\n ((org.objectweb.joram.client.jms.Topic) topic).setFreeWriting();\\r\\n \\r\\n // create a user\\r\\n User.create(\\\"anonymous\\\", \\\"anonymous\\\");\\r\\n\\r\\n javax.naming.Context jndiCtx = new javax.naming.InitialContext();\\r\\n jndiCtx.bind(\\\"cf\\\", cf);\\r\\n jndiCtx.bind(\\\"topic\\\", topic);\\r\\n jndiCtx.close();\\r\\n\\r\\n org.objectweb.joram.client.jms.admin.AdminModule.disconnect();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9fa7f15af2106ef0b31b8d72a5088b8\",\n \"score\": \"0.5735489\",\n \"text\": \"public void messageArrived(String topic, MqttMessage message) throws Exception {\\n\\n\\t\\t//Reading message recieved\\n\\t\\tString tempStr = new String(message.getPayload());\\n\\t\\tString value = tempStr.substring(9,13);\\n\\t\\tLOGGER.info(\\\"MQTT:Message received from ubidots:\\\" + tempStr );\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8685c5f67309117f148a865b6cf533e7\",\n \"score\": \"0.57288086\",\n \"text\": \"public void sendKafka(KeyedMessage message) {\\n this.producer.send(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e346bb7eacbe4f7b76f8ea8f7f00ea5\",\n \"score\": \"0.57269067\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n\\tprivate void sendfcmmsg(String title,String message) {\\n\\t\\ttry {\\n\\t\\t\\tURL url = new URL(FCM_URL);\\n\\t\\t\\tHttpURLConnection conn;\\n\\t\\t\\tconn = (HttpURLConnection) url.openConnection();\\n\\t\\t\\tconn.setUseCaches(false);\\n\\t\\t\\tconn.setDoInput(true);\\n\\t\\t\\tconn.setDoOutput(true);\\n\\t\\t\\tconn.setRequestMethod(\\\"POST\\\");\\n\\t\\t\\tconn.setRequestProperty(\\\"Authorization\\\", \\\"key=\\\" + SERVER_KEY);\\n\\t\\t\\tconn.setRequestProperty(\\\"Content-Type\\\", \\\"application/json\\\");\\n\\n\\t\\t\\tJSONObject infojson = new JSONObject();\\n\\t\\t\\t// notification title\\n\\t\\t\\tinfojson.put(\\\"title\\\", title);\\n\\t\\t\\tinfojson.put(\\\"body\\\", message);\\n\\t\\t\\tJSONObject json = new JSONObject();\\n\\t\\t\\tjson.put(\\\"to\\\", \\\"/topics/all\\\");\\n\\t\\t\\tjson.put(\\\"notification\\\", infojson);\\n\\n\\t\\t\\tOutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());\\n\\t\\t\\twr.write(json.toString());\\n\\t\\t\\twr.flush();\\n\\n\\t\\t\\tint status = 0;\\n\\t\\t\\tif (null != conn) {\\n\\t\\t\\t\\tstatus = conn.getResponseCode();\\n\\t\\t\\t}\\n\\t\\t\\tif (status != 0) {\\n\\t\\t\\t\\tswitch (status) {\\n\\t\\t\\t\\tcase 200:\\n\\t\\t\\t\\t\\tBufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Android Notification Response : \\\" + reader.readLine());\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 401:\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Notification Response : Error\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase 501:\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Notification Response : server Error\\\" );\\n\\t\\t\\t\\tcase 503:\\n\\t\\t\\t\\t\\tSystem.out\\n\\t\\t\\t\\t\\t\\t\\t.println(\\\"Notification Response : server Error Notification Server is unavailable\\\");\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t}\\n\\n\\t\\t} catch (MalformedURLException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d7980ca9dfce20d4d67e398b439f2de\",\n \"score\": \"0.57203627\",\n \"text\": \"@Override\\n public void run() {\\n ConnectionFactory factory = new ConnectionFactory();\\n factory.setHost(host);\\n\\n try {\\n \\t//criando canal para realizar as tarefas\\n Connection connection = factory.newConnection();\\n Channel channel = connection.createChannel();\\n //declara ativamente uma troca não autodelete sem argumentos extras\\n channel.exchangeDeclare(\\\"BOLSADEVALORES\\\", BuiltinExchangeType.TOPIC);\\n //declarando fila para consumo\\n String queueName = channel.queueDeclare().getQueue();\\n channel.queueBind(queueName, \\\"BOLSADEVALORES\\\", topic);\\n\\n //utilizando a interface para armazenar em buffer as mensagens enviadas\\n DeliverCallback deliveryCallback = (consumerTag, delivery) -> {\\n String message = new String(delivery.getBody(), \\\"UTF-8\\\");\\n String topic = delivery.getEnvelope().getRoutingKey();\\n\\n String[] splitTopic = topic.split(\\\"\\\\\\\\.\\\");\\n String[] splitMessage = message.split(\\\">|;|<\\\");\\n\\n String messageFormat;\\n\\n if (splitMessage.length > 5) {\\n messageFormat = splitTopic[0] + \\\" \\\" + splitTopic[1].toUpperCase() + \\\" | data: \\\" + splitMessage[1]\\n + \\\", crr_vd: \\\" + splitMessage[2] + \\\", crr_cp: \\\" + splitMessage[3] + \\\", qtde: \\\"\\n + splitMessage[4] + \\\", val: \\\" + splitMessage[5];\\n } else {\\n messageFormat = splitTopic[0] + \\\" \\\" + splitTopic[1].toUpperCase() + \\\" | qtde: \\\" + splitMessage[1]\\n + \\\", val: \\\" + splitMessage[2] + \\\", crr: \\\" + splitMessage[3];\\n }\\n\\n JLabel messageL = new JLabel(messageFormat);\\n messageL.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\\n\\n //mostrar mensagem na interface\\n BrokerGUI.actionsP.add(messageL);\\n BrokerGUI.actionsP.revalidate();\\n BrokerGUI.actionsP.repaint();\\n };\\n //inicializando um consumidor nao local e nao exclusivo\\n channel.basicConsume(queueName, true, deliveryCallback, consumerTag -> { });\\n\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f22255d8f644ac37ea1b6d38073cbd3\",\n \"score\": \"0.571982\",\n \"text\": \"@Override\\n public Future publishToSubscribers(PublishMessage msg) throws IOException {\\n // TODO Handle messages that should be retained\\n checkNotNull(msg);\\n try {\\n // We will support QOS Type 1.\\n // We must implement a retain datastore, so we don't need to set retain flag for these msgs\\n MoquetteMqttListener publishFuture = new MoquetteMqttListener();\\n client.publish(msg.getMqttTopic(), msg.getMqttPaylaod(), QOSType.LEAST_ONE.ordinal(),\\n false, null, publishFuture);\\n return publishFuture;\\n } catch (MqttPersistenceException e) {\\n // persistent storage location in use\\n throw new IOException(\\\"The MQTT Persistent Storage Location is already in use. MQTT Reason\\\"\\n + \\\" Code: \\\" + e.getReasonCode() + \\\"\\\\n\\\" + e.getMessage());\\n } catch (MqttException e) {\\n // inappropriate state for publishing\\n throw new IOException(\\\"The client is in an inappropriate state for connecting.\\\"\\n + e.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a783a331ffb1600ace4013cac46416c0\",\n \"score\": \"0.5716433\",\n \"text\": \"@Override\\n public String getMessageTopic() {\\n return String.format(_getPK_DK_FormatTopic(), getProductKey(), getDeviceKey());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5291d2992d97d31dbd89a8c4c85694b5\",\n \"score\": \"0.5716074\",\n \"text\": \"public void sendMessage(Message message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ac689ab00dc7ca60df29e0019ad4479\",\n \"score\": \"0.57135725\",\n \"text\": \"private void showMessages() throws IOException, ClassNotFoundException {\\n String id_topic = (String) in.readObject();\\n ArrayList messageUsers = sqlOperations.getMessagesAndUsersSQL(Integer.parseInt(id_topic));\\n\\n out.writeObject(messageUsers);\\n System.out.println(\\\"Client with port \\\"+ socket.getPort() +\\\" wants to see the messages in a topic.\\\");\\n out.flush();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fb6364ed1429305a3b705c2f42166c6\",\n \"score\": \"0.569728\",\n \"text\": \"public void showMessage() {\\n MessageAction sendMessage = channel.sendMessage(getDefaultMessageEmbed());\\n if(hasButtons()) {\\n sendMessage = sendMessage.setActionRows(getButtonRow());\\n }\\n sendMessage.queue(message -> id = message.getIdLong());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e637b9fb5c9bb9fa977a929f8df60b14\",\n \"score\": \"0.5696604\",\n \"text\": \"public Future publish(String topic, ByteBuf payload) {\\n return publish(topic, payload, MqttQoS.AT_MOST_ONCE, false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"769d1c487a51cd2941c32b9ad45d0056\",\n \"score\": \"0.5689461\",\n \"text\": \"protected final void topicChanged (String topic)\\n {\\n\\tif (myDebug)\\n\\t{\\n\\t debugPrintln (\\\"!!! \\\" + this + \\\".topicChanged (\\\" + topic + \\\")\\\");\\n\\t}\\n\\n\\tif (topic == null)\\n\\t{\\n\\t topic = \\\"\\\";\\n\\t}\\n\\n\\tif (topic.equals (myTopic))\\n\\t{\\n\\t return;\\n\\t}\\n\\n\\tmyTopic = topic;\\n\\tbroadcast (ChannelEvent.topicChanged (this, topic));\\n\\tsetDescription ();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ace379693c30084e84353c99b5e321f7\",\n \"score\": \"0.5688712\",\n \"text\": \"@Override\\r\\n\\tpublic void sendMessage(String msg) {\\r\\n\\t\\t// TODO Auto-generated method stub\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da02c47c959de81c739d2e3287e57d7f\",\n \"score\": \"0.5688658\",\n \"text\": \"public void crearPublicacionTexto(String mensaje, Usuario u) {\\r\\n texto = new Texto(mensaje, u);\\r\\n u.comentarMiMuro(texto);\\r\\n textoDAO.create(texto);\\r\\n\\r\\n mostrarPublicacionTexto(texto, u);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"759ea1e369b9309c347885582cb50996\",\n \"score\": \"0.5674442\",\n \"text\": \"@MessageMapping(\\\"/pushchannel\\\") \\n @SendTo(\\\"/queue/test1\\\") //subscribe, enableSimpleBroker, \\n public String requestMsg(String str) throws Exception {\\n //Thread.sleep(3000); // simulated delay\\n //return new Greeting(\\\"Hello, \\\" + message.getName() + \\\"!\\\");\\n return \\\"testing\\\";//ResourceResponse.createSuccessfulResponse();\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fcfd54ba252d9dd26716c96dc7ee18b\",\n \"score\": \"0.5674417\",\n \"text\": \"public interface NotificationService {\\n\\n void notifyAll(GlobalMessage globalMessage);\\n\\n void notifyByTopic(GlobalMessage globalMessage, Topic topic);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"470b3e1eb71ccb4bb7caaebaaba02072\",\n \"score\": \"0.5649835\",\n \"text\": \"@MessageMapping(\\\"/send/message\\\")\\n public void sendMessage(NewMessage newMessage){\\n Message message = roomService.addMessage(newMessage);\\n simpMessagingTemplate.convertAndSend(\\\"/socket-publisher/\\\" + newMessage.getRoomId(), newMessage);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"852525e41e4ec8316147210f43cccf32\",\n \"score\": \"0.5646142\",\n \"text\": \"public static void sendStreamNotification(String deviceId, MQTTNotifitions message, String streamId){\\n\\t\\t//the notified client should check this stream id in the exsiting filters and it is not there the request for new file\\n\\t\\ttry {\\n\\t\\t\\tMQTTManager mqtt = new MQTTManager(deviceId);\\n\\t\\t\\tmqtt.connect();\\n\\t\\t\\tmqtt.publishToDevice(message.getMessage() +\\\":\\\" + streamId);\\n\\t\\t} catch (MqttException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e75b0f6ceae783064a1385528e49443\",\n \"score\": \"0.5640759\",\n \"text\": \"public void sendMessage(String msg){\\r\\n\\t\\ttry {\\r\\n\\t\\t\\toutPutStream.write(msg.getBytes());\\r\\n\\t\\t\\toutPutStream.flush();\\r\\n\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\t//notifyAll();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fffe58690c7f303c1c62659b031526aa\",\n \"score\": \"0.56335527\",\n \"text\": \"private void unicastMessage(String message)\\n {\\n message =message.substring(message.indexOf(\\\"#\\\")+1);\\n String username=getCommand(message).trim();\\n message=message.substring(message.indexOf(\\\"#\\\")+1);\\n //If the user is active, fetch the output stream writer for the user whom the message is intended to.\\n try {\\n if (!group.containsKey(username)) {\\n sendMessage(\\\"User is not connected. Try someone else\\\");\\n } else {\\n group.get(username).writeObject(\\\"Private message from \\\"+clientname+\\\" \\\"+message);\\n sendMessage(\\\"Message sent to \\\"+username);\\n }\\n }\\n //Exception Handling\\n catch(IOException ioe)\\n {\\n ioe.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c12452a15f73ca4a2c8c9327cd26a99e\",\n \"score\": \"0.56301636\",\n \"text\": \"void notify(String msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01cd98995fef7c6676e031b17a972af1\",\n \"score\": \"0.56223226\",\n \"text\": \"@Test\\n public void shareTopicTest() throws ApiException {\\n String topic = null;\\n Integer destProjectId = null;\\n Integer projectId = null;\\n api.shareTopic(topic, destProjectId, projectId);\\n\\n // TODO: test validations\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7dbb4faffd10ed7e96689c9194c510\",\n \"score\": \"0.56162906\",\n \"text\": \"void sendMessage(Message message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e450e64db5114ffe0f926ff7e93cb8e2\",\n \"score\": \"0.56160784\",\n \"text\": \"private void publishMessageAction (Message receivedMessage, DataOutputStream os) throws IOException {\\r\\n\\r\\n\\t\\tMultiLog.println(NetMessageListener.class.toString(), LOG_TAG + \\\"Handler for PUBLISH MESSAGE\\\");\\r\\n\\t\\t//System.out.println(LOG_TAG + \\\"Handler for PUBLISH MESSAGE\\\");\\r\\n\\r\\n\\t\\tPublishResourceMessage publishMessage = new PublishResourceMessage(receivedMessage);\\r\\n\\r\\n\\t\\tMultiLog.println(NetMessageListener.class.toString(), \\\"Responsible for RESOURCE \\\" + publishMessage.getKey() + \\\" owned by \\\" + publishMessage.getOwnerId());\\r\\n\\t\\t//System.out.println(\\\"Responsible for RESOURCE \\\" + publishMessage.getKey() + \\\" owned by \\\" + publishMessage.getOwnerId());\\r\\n\\t\\tNetPeerInfo owner = new NetPeerInfo(publishMessage.getSourceSocketAddr(), publishMessage.getSourcePort(), \\\"\\\");\\r\\n\\t\\tString ownerId = publishMessage.getOwnerId();\\r\\n\\r\\n\\t\\tNetResourceInfo resource = new NetResourceInfo(publishMessage.getKey(), owner, ownerId);\\r\\n\\r\\n\\t\\tthis.netPeer.addResourceOnCache(resource);\\r\\n\\r\\n\\t\\tMultiLog.println(NetMessageListener.class.toString(), LOG_TAG + \\\"Send Ack\\\");\\r\\n\\t\\t//System.out.println(LOG_TAG + \\\"Send Ack\\\");\\r\\n\\r\\n\\t\\tos.write((new AckMessage(this.listenerId, this.listenerAddr, this.listenerPort, 0, \\\"\\\")).generateXmlMessageString().getBytes());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe0232afc19f4370422f58f7447580af\",\n \"score\": \"0.56131315\",\n \"text\": \"@Override\\n\\tpublic void onMessage(Message msg){\\n\\t\\tObjectMessage mensagemPost = (ObjectMessage) msg;\\n\\t\\t\\ttry {\\n//\\t\\t\\t\\tString texto = mensagens.getText();\\n\\t\\t\\t\\tPost post = (Post)mensagemPost.getObject();\\n\\t\\t\\t\\tSystem.out.println(\\\"MENSAGEM:\\\" + post.toString());\\n\\t\\t\\t\\n//\\t\\t\\t\\tSystem.out.println(\\\"MENSAGEM:\\\" + texto);\\n\\t\\t\\t} catch (JMSException e) {\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a3c7339f1009b502914096450b6ee66\",\n \"score\": \"0.5612775\",\n \"text\": \"public String getTopic() {\\r\\n\\t\\treturn topic;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a3c7339f1009b502914096450b6ee66\",\n \"score\": \"0.5612775\",\n \"text\": \"public String getTopic() {\\r\\n\\t\\treturn topic;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6637fe528a17fdb48af95af9d7199b2\",\n \"score\": \"0.56094635\",\n \"text\": \"public void sendMessage(String mensaje) {\\n\\t\\tnew Thread(\\n\\t\\t\\t() -> {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tInetAddress ip = InetAddress.getByName(ipVariable);\\n\\t\\t\\t\\t\\tDatagramPacket packet = new DatagramPacket(mensaje.getBytes(),mensaje.getBytes().length,ip, 6000);\\n\\t\\t\\t\\t\\tsocket.send(packet);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t} catch (UnknownHostException e) {\\n\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t}\\n\\t\\t).start();\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"244de748f7ef162484c9493798d57ee0\",\n \"score\": \"0.5599548\",\n \"text\": \"void publish(@Nonnull E message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d76cdcee439ceb15ea7956c87047606\",\n \"score\": \"0.5593688\",\n \"text\": \"private void showMessageToUser(int messageId) {\\n// showMessageToUser(getString(messageId));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b6341860308ddc4a49786416f6f5c38\",\n \"score\": \"0.55929\",\n \"text\": \"public static void setChatTopic(Topic topic) {\\n\\t\\ttry {\\n\\t\\t\\tforumClient.forum.setChatTopic(Driver.forumClient.user, topic);\\n\\t\\t} catch (RemoteException e1) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te1.printStackTrace();\\n\\t\\t}\\n\\t\\tchat.setTopic(topic);\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":866,"cells":{"query_id":{"kind":"string","value":"80d7ac5e4a685c268075b62f18c913ef"},"query":{"kind":"string","value":"delete the kth element"},"positive_passages":{"kind":"list like","value":[{"docid":"c2c77aeace82ccf0d2bbbce636732fd4","score":"0.73202884","text":"public void delete (int k) {\n if (k < 0 || k >= N) throw new IllegalArgumentException ();\n // TODO 1.3.20\n checkInvariants ();\n }","title":""}],"string":"[\n {\n \"docid\": \"c2c77aeace82ccf0d2bbbce636732fd4\",\n \"score\": \"0.73202884\",\n \"text\": \"public void delete (int k) {\\n if (k < 0 || k >= N) throw new IllegalArgumentException ();\\n // TODO 1.3.20\\n checkInvariants ();\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"4987d2480bbdaf3a6d67ec9e479a9c90","score":"0.7581269","text":"@Override\n\tpublic void delete(Integer k) {\n\n\t}","title":""},{"docid":"ca7f1e15e6167e751573df23ffe917bf","score":"0.74966353","text":"public void delete_ith_element(int pos);","title":""},{"docid":"52c5da5f4f25047839fd9a5479700385","score":"0.6877932","text":"public static Node delete (int k, Node first) {\n if (first == null) {\n return null;\n }\n Node cur = first;\n Node prev = null;\n int index = 1;\n while (index < k && cur.next != null) {\n prev = cur;\n cur = cur.next;\n index++;\n }\n if (index==k) {\n if (prev==null) {\n first = null;\n }\n else {\n prev.next = cur.next;\n }\n }\n return first;\n }","title":""},{"docid":"bd09014e38b84fd0e5ed3a1c5e9bf4f4","score":"0.6813599","text":"@Override\n\tpublic void delete(int index) {\n\t\t\n\t}","title":""},{"docid":"bba1d0c11903ee667a1cb022ff4d0bb4","score":"0.6727435","text":"public void delete(int index) {\n this.dictionary[index] = null; \r\n np--;\r\n }","title":""},{"docid":"f6d3e827918e8c425db2428df6677c89","score":"0.671824","text":"void delete(int index);","title":""},{"docid":"98d02976de83aab3cb99dd3873422178","score":"0.6684756","text":"E remove(int index);","title":""},{"docid":"bb788cae81e463ce4bb5327768fcedde","score":"0.66043895","text":"public static Node removeKthToLastNode(Node head, int k) {\n if(k == 0)\n return head; // nothing to remove\n \n int size = 0;\n Node kthPrevious = new Node(-1), temp = head;\n kthPrevious.next = head;\n while(temp != null) {\n size++;\n if(size > k) {\n kthPrevious = kthPrevious.next;\n }\n temp = temp.next;\n }\n\n // For k > size, we can't remove anything\n if(k <= size)\n kthPrevious.next = kthPrevious.next.next;\n if (size == k) // remove the current head of the list\n head = head.next;\n return head;\n }","title":""},{"docid":"a6efe1d34c2f4faae7a1f8a432a85c03","score":"0.6601984","text":"public void delete(K k) {\n int i = hash(k);\n if (st[i].contain(k)) --size;\n st[i].delete(k);\n if (capacity > INIT_CAPACITY && size <= capacity << 1) \n resize(capacity >> 1);\n }","title":""},{"docid":"e4969db6a689158791fee080aefb987c","score":"0.65888304","text":"public Object remove(int index);","title":""},{"docid":"e07a46ac7b65d25926dfa94c79e4dfd1","score":"0.6550315","text":"public void remove(int index);","title":""},{"docid":"36492b51bba77d52c795535ac0520fac","score":"0.65096605","text":"T remove(int index);","title":""},{"docid":"006c2f18b92f7cf375e303f6be73abb8","score":"0.6505715","text":"void remove(int index);","title":""},{"docid":"006c2f18b92f7cf375e303f6be73abb8","score":"0.6505715","text":"void remove(int index);","title":""},{"docid":"dcb61bdd2a6844ada462def8aea86e8d","score":"0.6497912","text":"public T remove(int index);","title":""},{"docid":"dcb61bdd2a6844ada462def8aea86e8d","score":"0.6497912","text":"public T remove(int index);","title":""},{"docid":"11c5fa63d610b40711ede7c56186b432","score":"0.64796543","text":"public E remove(int index);","title":""},{"docid":"11c5fa63d610b40711ede7c56186b432","score":"0.64796543","text":"public E remove(int index);","title":""},{"docid":"f49cb4b6554de365c3ca772810806e5c","score":"0.6457337","text":"public void delete(Comparable k) {\n\t\t// Ricerca del nodo u di chiave k da cancellare\n\t\tNodoBinario u = searchNodo(k, radice);\n\t\tif (u != null) {\n\t\t\t// u ha al piu' un figlio (o e' foglia o ha un unico figlio)\n\t\t\tif (u.sinistro == null || u.destro == null) {\n\t\t\t\tcontraiNodo(u); // cancellazione effettiva di un nodo con al pi� un figlio\n\t\t\t} else {// u ha 2 figli\n\t\t\t\t\t// Si individua il predecessore v di u (il max del sottoalbero sinistro di u)\n\t\t\t\tNodoBinario v = max(u.sinistro);\n\t\t\t\tscambiaInfo(u, v);\n\t\t\t\tcontraiNodo(v); // cancellazione effettiva di un nodo con al pi� un figlio\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"ab3bdba2ba44d77dd92b174d537870d5","score":"0.6441261","text":"@Override\n public void delete(Integer element) {\n }","title":""},{"docid":"0df831c12d5f784630e6eab5c1aa3308","score":"0.6417571","text":"E remove(int i) throws IndexOutOfBoundsException;","title":""},{"docid":"0df831c12d5f784630e6eab5c1aa3308","score":"0.6417571","text":"E remove(int i) throws IndexOutOfBoundsException;","title":""},{"docid":"12962959f80df2cf4c3fcf2724d6c038","score":"0.6413121","text":"@Override\n\tpublic T delete(K k){\n\t\tBinaryNode eliminado = retrieveAux(root, k);\n\t\tif(eliminado == null)\t//Ver si está en el árbol\n\t\t\treturn null;\n\t\tBinaryNode padre = eliminado.parent;\n\t\t//Caso 1: si tiene 0 hijos -> Es una hoja\n\t\tif(eliminado.right == null && eliminado.left == null){\n\t\t\t//Verificar si es hijo izquierdo o derecho.\n\t\t\tif(padre.left == eliminado)\n\t\t\t\tpadre.left = null;\n\t\t\telse\n\t\t\t\tpadre.right = null;\n\t\t\treturn eliminado.element;\n\t\t}\n\n\t\t//Caso 2: si tiene 2 hijos\n\t\tT regreso = eliminado.element;\n\t\tif(eliminado.right != null && eliminado.left != null){\n\t\t\tBinaryNode max = findMax(eliminado.left);\n\t\t\tdelete(max.key);\n\t\t\teliminado.key = max.key;\n\t\t\teliminado.element = max.element;\n\t\t\treturn regreso;\n\t\t}\n\n\t\t//Caso 3: si tiene un solo hijo (izquierdo o derecho)\n\t\tboolean izquierdo = padre.left == eliminado;\n\t\tif(eliminado.right != null) //Subir el derecho\n\t\t\teliminado = eliminado.right;\n\t\telse //Subir el izquierdo\n\t\t\teliminado = eliminado.left;\n\t\teliminado.parent = padre;\n\n\t\tif(izquierdo)\n\t\t\tpadre.left = eliminado;\n\t\telse\n\t\t\tpadre.right = eliminado;\n\t\treturn regreso;\n\t}","title":""},{"docid":"e402221664dc89ccd5e912a42a3b2e90","score":"0.64112544","text":"public T removeByIndex(int index);","title":""},{"docid":"80eba575a13e7fbbaa1874c24fcf3c95","score":"0.64086336","text":"void deleteValue(int position);","title":""},{"docid":"ed0718f8d604c096f405a97ccf43967c","score":"0.6387191","text":"int remove (int index);","title":""},{"docid":"05f94f0509d60b0022e43e8c9199811a","score":"0.6378895","text":"public int delete(int index){\n\t\tif(index < 0 || index >= size)\n\t\t\tthrow new IllegalArgumentException(\"delete failed, invalid index, please try again\");\n\n\t\tint removedElement = elementsContainer[index];\n\t\tfor(int i=index+1;i> keySet);","title":""},{"docid":"ed3cf1ebb23c782fecba5b61d0ff2d94","score":"0.62040794","text":"@Override\r\n\tpublic int delete(int key) {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"63d1bc311a0ae9aa9244d3ac043bd71b","score":"0.61974967","text":"public void remove(int i) {}","title":""},{"docid":"9b38aa766a8b75ad9f8aa388c930f111","score":"0.61902714","text":"@Override public void remove(int index) {\n\t\ttuples.remove(index);\t\n\t}","title":""},{"docid":"3075fe5730d91c6b6b758ada9051c41f","score":"0.6189994","text":"@Override\n\tpublic void remove(int index)\n\t{\n\t}","title":""},{"docid":"c64f71036da5b750857f438fc7bd1307","score":"0.6181089","text":"void removeDeviat(int i);","title":""},{"docid":"39e77ef32c2231e57b43ad899f77c989","score":"0.61799014","text":"public E remove(int i) throws IndexOutOfBoundsException;","title":""},{"docid":"1514de549e2a92674d7a702ed6f52017","score":"0.61727995","text":"@NotNull E slowRemove(int index);","title":""},{"docid":"8142e66e74e08fe833abea8c0948dd04","score":"0.6168738","text":"@Override\n\tpublic void delete(int index) {\n\t\tlist.remove(index);\n\t}","title":""},{"docid":"72a9241711935c410185cb57a8ad78c4","score":"0.6166133","text":"public int delete(int k)\n {\n\n if (this.empty()){\n return -1;\n }\n\n IAVLNode currNode = this.root;\n \n\n while (currNode.isRealNode() && currNode.getKey() != k)\n {\n if (currNode.getKey() < k)\n {\n currNode = currNode.getRight();\n \n }\n\n else \n {\n currNode = currNode.getLeft();\n }\n }\n \n \n /// k does not appear in the tree\n if(!currNode.isRealNode())\n {\n return -1;\n }\n \n \n /// currNode points to the node to be deleted\n \n /// currNode is the root\n /// currNode is root and is leaf\n if (currNode == root && currNode.isLeaf()) {\n \t root = null;\n \t this.size = 0;\n \t updateMinMax();\n \t return 0; \n }\n \n \n ///Deleting a node with TWO children\n ///Swap node with it's successor\n if (currNode.hasTwoChildren()) {\n \t IAVLNode successor = currNode.findSuccessor();\n \t swapNodes(currNode, successor);\n \t currNode = successor;\n }\n \n \n ///CurrNode is root\n if (currNode == root) {\n \t root = currNode.getChild();\n \t root.setParent(null);\n \t this.size = 0;\n \t updateMinMax();\n \t return 0;\n }\n \n \n ///CurrNode is a leaf OR has ONE child\n IAVLNode grandParent = currNode.getParent();\n IAVLNode child = currNode.getChild();\n if (isRight(currNode)) { /// currNode is a right child of it's parent\n \t child.setParent(grandParent);\n \t grandParent.setRight(child);\n \t \n }\n /// currNode is a left child of it's parent\n else {\n \t child.setParent(grandParent);\n \t grandParent.setLeft(child);\n }\n \n ///Apply balancing Algorithm;\n ///Return number of rotations and demotions\n \n int x = balanceDel(grandParent, child);\n \n \tif (root == null){\n \t\tthis.size = 0;\n \t}\n \telse {\n \t\tthis.size -= 1;\n \t}\n\n updateMinMax();\n return x;\n \n \n \n }","title":""},{"docid":"795daf081e971f89a51969a91c64702f","score":"0.6163509","text":"public void delete(K key);","title":""},{"docid":"180345c634f7091c5ff9a26b229812e5","score":"0.6163462","text":"void removeDataAppr(int i);","title":""},{"docid":"5c90ce8cc416d449e70e9394d667da55","score":"0.61606514","text":"void removeWeight(int i);","title":""},{"docid":"d926b26cd66b8d0a1fd3323183c994b9","score":"0.61505604","text":"public void delete(int key) {\r\n\tint i;\r\n\tfor (i = 0; i < size; i++) {\r\n\t\tif (records[i].getSKU() == key) {\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\tfor (int j = i; j < size; j++) {\r\n\t\trecords[j] = records[j + 1];\r\n\t}\r\n\tsize--;\r\n}","title":""},{"docid":"2f4b0c5c26c5cd15b2b5122c113baef5","score":"0.61331344","text":"@Override\n public void removeAt(int i){\n\tObject[] neu = new Object[element.length-1];\n\tfor(int c=0;c void shiftDeleteArray(ArrayList arr, int length, int index) {\n for (int i=index; i= count) return;\n \tdelete(findNode(index));\n }","title":""},{"docid":"c3cdb16ea40d6c697d3158474d0de312","score":"0.61051166","text":"private void remove(int index) { \n\t\tcheckRange(index);\n\t\telements[index] = null;\n\t\telements[size - 1] = null;\n\t\tsize--;\n\t}","title":""},{"docid":"627dd1c1180669c6380d8751f4b2f1b1","score":"0.60864484","text":"@Override\n\tpublic V remove(Comparable k) {\n\t\treturn null;\n\t}","title":""},{"docid":"2c449cb7c1a98c7c2983fbff2611b643","score":"0.60850644","text":"public void remove(int key){\n if (!contains(key)) {\n //throw new NoSuchElementException();\n }\n size--;\n }","title":""},{"docid":"c082b7b591b9fbcbdcbeb3c424971a4d","score":"0.60789084","text":"@NotNull E fastRemove(int index);","title":""},{"docid":"6ba940ce62ee7a01e7ab363674372f1e","score":"0.6068106","text":"public abstract void delete(int index) throws IndexOutOfBoundsException;","title":""},{"docid":"df7d8adf39ce8996526b2593b2da9d08","score":"0.6064582","text":"public Object remove(int index) {\n if ( index <0 || index>= size) { //if index is negative or greater than size of size, we throw Exception.\n throw new IndexOutOfBoundsException(\"Index: \" + index + \", Size \" + index);\n }\n \n Object removedElement=elementData[index];\n for(int i=index;i this.size()) throw new IndexOutOfBoundsException();\n Node nthNode = this.getNth(index);\n nthNode.remove();\n this.nelems --;\n return nthNode.getElement();\n }catch (IndexOutOfBoundsException e){\n throw e;\n }\n\n }","title":""},{"docid":"8e2e667227f8d41b96a5557c5dee4da8","score":"0.5921215","text":"public synchronized kelondroRowSet delete(byte[] key) throws IOException {\n kelondroRow.Entry indexrow = index.remove(key, false);\r\n if (indexrow == null) return null;\r\n kelondroRowSet removedCollection = getdelete(indexrow, true);\r\n assert (removedCollection != null);\r\n return removedCollection;\r\n }","title":""},{"docid":"7812fba77c76bd8eda9d0f28bf7c4d23","score":"0.5918835","text":"public void removeItem(int index) {\n\t}","title":""},{"docid":"417f0a083066ad52a2bfdf69db18f6db","score":"0.5912939","text":"public int findKthLargestEle(Heap h, int k){\n for(int i =0; i < k-1; i++)\n h.deleteMax();\n return h.deleteMin();\n }","title":""},{"docid":"6809f9784f920d4cfa92f5379f0d6caa","score":"0.5901348","text":"public void removeAt(int index) {\n\t\tSystem.arraycopy(keys, index + 1, keys, index, size - (index + 1));\n\t\tSystem.arraycopy(values, index + 1, values, index, size - (index + 1));\n\t\tsize--;\n\t}","title":""},{"docid":"fb83b072009a1afe01713071dbcf5d9f","score":"0.58969456","text":"public void DeleteEngimon(int b, int k){\n try{\n PosisiEngimon e = GetEngimonforDelete(b,k);\n SetElementPeta(e.getBarisPosisi(), e.getKolomPosisi(), GetElementPetaTetap(e.getBarisPosisi(), e.getKolomPosisi()));\n this.DaftarEngimon.remove(e);\n } catch(Exception exc){\n //\n System.out.println(exc.getMessage()); \n }\n }","title":""},{"docid":"a99236267b4cf66c9bbb04d705685093","score":"0.5890243","text":"void removeForSpec(int i);","title":""},{"docid":"b0e6f72844b493cc24a3f3bcf4914af8","score":"0.58872783","text":"void removeParameter(int index);","title":""},{"docid":"a901ae5697370e9e62e8bc174a3cbe87","score":"0.5887238","text":"public int deleteFirst(){\n\t\treturn delete(0);\n\t}","title":""},{"docid":"81a51b69ade01d4eb3f56a473f7c2185","score":"0.58837545","text":"public Object delete(int index) {\n\n if (index >= size) {\n throw new IndexOutOfBoundsException();\n }\n\n Object data = values[index];\n values[index] = null;\n size--;\n\n return data;\n }","title":""},{"docid":"132543a3d90a6a92f071c63138e38d77","score":"0.5876789","text":"Uni del(K... keys);","title":""},{"docid":"2ec124413bebfc0acb867c2e6b4f342a","score":"0.58727515","text":"@Override\r\n\tpublic E remove(int index) {\r\n\t\tif (index < 0 || index >= size)\r\n\t\t\treturn null;\r\n\t\tE result = elements[index];\r\n\r\n\t\tfor (int i = index; i < size - 1; i++)\r\n\t\t\telements[i] = elements[i + 1];\r\n\t\telements[--size] = null;\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"c7e9edbbde9ebfc08b2898a5a5134dd5","score":"0.5864626","text":"public void deleteParticle( int index );","title":""},{"docid":"61fdce49735fd74ff8eb1865ba8aec8d","score":"0.58478904","text":"Long lRemove(String key,long count,Object value);","title":""},{"docid":"4fe86a0790a4a223991873b97b10edf0","score":"0.58418185","text":"@Override\n\tpublic Object remove(int index) {\n\t\treturn super.remove(index);\n\t}","title":""},{"docid":"4ffa4fb646e391704968409a79453f06","score":"0.5838879","text":"void remove(int row);","title":""},{"docid":"08291f1b3acd6dc14dce0253e002323d","score":"0.5829594","text":"public void delete(int element){\r\n this.root = this.delete(element, this.root);\r\n }","title":""}],"string":"[\n {\n \"docid\": \"4987d2480bbdaf3a6d67ec9e479a9c90\",\n \"score\": \"0.7581269\",\n \"text\": \"@Override\\n\\tpublic void delete(Integer k) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca7f1e15e6167e751573df23ffe917bf\",\n \"score\": \"0.74966353\",\n \"text\": \"public void delete_ith_element(int pos);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52c5da5f4f25047839fd9a5479700385\",\n \"score\": \"0.6877932\",\n \"text\": \"public static Node delete (int k, Node first) {\\n if (first == null) {\\n return null;\\n }\\n Node cur = first;\\n Node prev = null;\\n int index = 1;\\n while (index < k && cur.next != null) {\\n prev = cur;\\n cur = cur.next;\\n index++;\\n }\\n if (index==k) {\\n if (prev==null) {\\n first = null;\\n }\\n else {\\n prev.next = cur.next;\\n }\\n }\\n return first;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd09014e38b84fd0e5ed3a1c5e9bf4f4\",\n \"score\": \"0.6813599\",\n \"text\": \"@Override\\n\\tpublic void delete(int index) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bba1d0c11903ee667a1cb022ff4d0bb4\",\n \"score\": \"0.6727435\",\n \"text\": \"public void delete(int index) {\\n this.dictionary[index] = null; \\r\\n np--;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6d3e827918e8c425db2428df6677c89\",\n \"score\": \"0.671824\",\n \"text\": \"void delete(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98d02976de83aab3cb99dd3873422178\",\n \"score\": \"0.6684756\",\n \"text\": \"E remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb788cae81e463ce4bb5327768fcedde\",\n \"score\": \"0.66043895\",\n \"text\": \"public static Node removeKthToLastNode(Node head, int k) {\\n if(k == 0)\\n return head; // nothing to remove\\n \\n int size = 0;\\n Node kthPrevious = new Node(-1), temp = head;\\n kthPrevious.next = head;\\n while(temp != null) {\\n size++;\\n if(size > k) {\\n kthPrevious = kthPrevious.next;\\n }\\n temp = temp.next;\\n }\\n\\n // For k > size, we can't remove anything\\n if(k <= size)\\n kthPrevious.next = kthPrevious.next.next;\\n if (size == k) // remove the current head of the list\\n head = head.next;\\n return head;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6efe1d34c2f4faae7a1f8a432a85c03\",\n \"score\": \"0.6601984\",\n \"text\": \"public void delete(K k) {\\n int i = hash(k);\\n if (st[i].contain(k)) --size;\\n st[i].delete(k);\\n if (capacity > INIT_CAPACITY && size <= capacity << 1) \\n resize(capacity >> 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4969db6a689158791fee080aefb987c\",\n \"score\": \"0.65888304\",\n \"text\": \"public Object remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e07a46ac7b65d25926dfa94c79e4dfd1\",\n \"score\": \"0.6550315\",\n \"text\": \"public void remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36492b51bba77d52c795535ac0520fac\",\n \"score\": \"0.65096605\",\n \"text\": \"T remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"006c2f18b92f7cf375e303f6be73abb8\",\n \"score\": \"0.6505715\",\n \"text\": \"void remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"006c2f18b92f7cf375e303f6be73abb8\",\n \"score\": \"0.6505715\",\n \"text\": \"void remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcb61bdd2a6844ada462def8aea86e8d\",\n \"score\": \"0.6497912\",\n \"text\": \"public T remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcb61bdd2a6844ada462def8aea86e8d\",\n \"score\": \"0.6497912\",\n \"text\": \"public T remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11c5fa63d610b40711ede7c56186b432\",\n \"score\": \"0.64796543\",\n \"text\": \"public E remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11c5fa63d610b40711ede7c56186b432\",\n \"score\": \"0.64796543\",\n \"text\": \"public E remove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f49cb4b6554de365c3ca772810806e5c\",\n \"score\": \"0.6457337\",\n \"text\": \"public void delete(Comparable k) {\\n\\t\\t// Ricerca del nodo u di chiave k da cancellare\\n\\t\\tNodoBinario u = searchNodo(k, radice);\\n\\t\\tif (u != null) {\\n\\t\\t\\t// u ha al piu' un figlio (o e' foglia o ha un unico figlio)\\n\\t\\t\\tif (u.sinistro == null || u.destro == null) {\\n\\t\\t\\t\\tcontraiNodo(u); // cancellazione effettiva di un nodo con al pi� un figlio\\n\\t\\t\\t} else {// u ha 2 figli\\n\\t\\t\\t\\t\\t// Si individua il predecessore v di u (il max del sottoalbero sinistro di u)\\n\\t\\t\\t\\tNodoBinario v = max(u.sinistro);\\n\\t\\t\\t\\tscambiaInfo(u, v);\\n\\t\\t\\t\\tcontraiNodo(v); // cancellazione effettiva di un nodo con al pi� un figlio\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab3bdba2ba44d77dd92b174d537870d5\",\n \"score\": \"0.6441261\",\n \"text\": \"@Override\\n public void delete(Integer element) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0df831c12d5f784630e6eab5c1aa3308\",\n \"score\": \"0.6417571\",\n \"text\": \"E remove(int i) throws IndexOutOfBoundsException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0df831c12d5f784630e6eab5c1aa3308\",\n \"score\": \"0.6417571\",\n \"text\": \"E remove(int i) throws IndexOutOfBoundsException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12962959f80df2cf4c3fcf2724d6c038\",\n \"score\": \"0.6413121\",\n \"text\": \"@Override\\n\\tpublic T delete(K k){\\n\\t\\tBinaryNode eliminado = retrieveAux(root, k);\\n\\t\\tif(eliminado == null)\\t//Ver si está en el árbol\\n\\t\\t\\treturn null;\\n\\t\\tBinaryNode padre = eliminado.parent;\\n\\t\\t//Caso 1: si tiene 0 hijos -> Es una hoja\\n\\t\\tif(eliminado.right == null && eliminado.left == null){\\n\\t\\t\\t//Verificar si es hijo izquierdo o derecho.\\n\\t\\t\\tif(padre.left == eliminado)\\n\\t\\t\\t\\tpadre.left = null;\\n\\t\\t\\telse\\n\\t\\t\\t\\tpadre.right = null;\\n\\t\\t\\treturn eliminado.element;\\n\\t\\t}\\n\\n\\t\\t//Caso 2: si tiene 2 hijos\\n\\t\\tT regreso = eliminado.element;\\n\\t\\tif(eliminado.right != null && eliminado.left != null){\\n\\t\\t\\tBinaryNode max = findMax(eliminado.left);\\n\\t\\t\\tdelete(max.key);\\n\\t\\t\\teliminado.key = max.key;\\n\\t\\t\\teliminado.element = max.element;\\n\\t\\t\\treturn regreso;\\n\\t\\t}\\n\\n\\t\\t//Caso 3: si tiene un solo hijo (izquierdo o derecho)\\n\\t\\tboolean izquierdo = padre.left == eliminado;\\n\\t\\tif(eliminado.right != null) //Subir el derecho\\n\\t\\t\\teliminado = eliminado.right;\\n\\t\\telse //Subir el izquierdo\\n\\t\\t\\teliminado = eliminado.left;\\n\\t\\teliminado.parent = padre;\\n\\n\\t\\tif(izquierdo)\\n\\t\\t\\tpadre.left = eliminado;\\n\\t\\telse\\n\\t\\t\\tpadre.right = eliminado;\\n\\t\\treturn regreso;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e402221664dc89ccd5e912a42a3b2e90\",\n \"score\": \"0.64112544\",\n \"text\": \"public T removeByIndex(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80eba575a13e7fbbaa1874c24fcf3c95\",\n \"score\": \"0.64086336\",\n \"text\": \"void deleteValue(int position);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed0718f8d604c096f405a97ccf43967c\",\n \"score\": \"0.6387191\",\n \"text\": \"int remove (int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05f94f0509d60b0022e43e8c9199811a\",\n \"score\": \"0.6378895\",\n \"text\": \"public int delete(int index){\\n\\t\\tif(index < 0 || index >= size)\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"delete failed, invalid index, please try again\\\");\\n\\n\\t\\tint removedElement = elementsContainer[index];\\n\\t\\tfor(int i=index+1;i> keySet);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed3cf1ebb23c782fecba5b61d0ff2d94\",\n \"score\": \"0.62040794\",\n \"text\": \"@Override\\r\\n\\tpublic int delete(int key) {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63d1bc311a0ae9aa9244d3ac043bd71b\",\n \"score\": \"0.61974967\",\n \"text\": \"public void remove(int i) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b38aa766a8b75ad9f8aa388c930f111\",\n \"score\": \"0.61902714\",\n \"text\": \"@Override public void remove(int index) {\\n\\t\\ttuples.remove(index);\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3075fe5730d91c6b6b758ada9051c41f\",\n \"score\": \"0.6189994\",\n \"text\": \"@Override\\n\\tpublic void remove(int index)\\n\\t{\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c64f71036da5b750857f438fc7bd1307\",\n \"score\": \"0.6181089\",\n \"text\": \"void removeDeviat(int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39e77ef32c2231e57b43ad899f77c989\",\n \"score\": \"0.61799014\",\n \"text\": \"public E remove(int i) throws IndexOutOfBoundsException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1514de549e2a92674d7a702ed6f52017\",\n \"score\": \"0.61727995\",\n \"text\": \"@NotNull E slowRemove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8142e66e74e08fe833abea8c0948dd04\",\n \"score\": \"0.6168738\",\n \"text\": \"@Override\\n\\tpublic void delete(int index) {\\n\\t\\tlist.remove(index);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72a9241711935c410185cb57a8ad78c4\",\n \"score\": \"0.6166133\",\n \"text\": \"public int delete(int k)\\n {\\n\\n if (this.empty()){\\n return -1;\\n }\\n\\n IAVLNode currNode = this.root;\\n \\n\\n while (currNode.isRealNode() && currNode.getKey() != k)\\n {\\n if (currNode.getKey() < k)\\n {\\n currNode = currNode.getRight();\\n \\n }\\n\\n else \\n {\\n currNode = currNode.getLeft();\\n }\\n }\\n \\n \\n /// k does not appear in the tree\\n if(!currNode.isRealNode())\\n {\\n return -1;\\n }\\n \\n \\n /// currNode points to the node to be deleted\\n \\n /// currNode is the root\\n /// currNode is root and is leaf\\n if (currNode == root && currNode.isLeaf()) {\\n \\t root = null;\\n \\t this.size = 0;\\n \\t updateMinMax();\\n \\t return 0; \\n }\\n \\n \\n ///Deleting a node with TWO children\\n ///Swap node with it's successor\\n if (currNode.hasTwoChildren()) {\\n \\t IAVLNode successor = currNode.findSuccessor();\\n \\t swapNodes(currNode, successor);\\n \\t currNode = successor;\\n }\\n \\n \\n ///CurrNode is root\\n if (currNode == root) {\\n \\t root = currNode.getChild();\\n \\t root.setParent(null);\\n \\t this.size = 0;\\n \\t updateMinMax();\\n \\t return 0;\\n }\\n \\n \\n ///CurrNode is a leaf OR has ONE child\\n IAVLNode grandParent = currNode.getParent();\\n IAVLNode child = currNode.getChild();\\n if (isRight(currNode)) { /// currNode is a right child of it's parent\\n \\t child.setParent(grandParent);\\n \\t grandParent.setRight(child);\\n \\t \\n }\\n /// currNode is a left child of it's parent\\n else {\\n \\t child.setParent(grandParent);\\n \\t grandParent.setLeft(child);\\n }\\n \\n ///Apply balancing Algorithm;\\n ///Return number of rotations and demotions\\n \\n int x = balanceDel(grandParent, child);\\n \\n \\tif (root == null){\\n \\t\\tthis.size = 0;\\n \\t}\\n \\telse {\\n \\t\\tthis.size -= 1;\\n \\t}\\n\\n updateMinMax();\\n return x;\\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"795daf081e971f89a51969a91c64702f\",\n \"score\": \"0.6163509\",\n \"text\": \"public void delete(K key);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"180345c634f7091c5ff9a26b229812e5\",\n \"score\": \"0.6163462\",\n \"text\": \"void removeDataAppr(int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c90ce8cc416d449e70e9394d667da55\",\n \"score\": \"0.61606514\",\n \"text\": \"void removeWeight(int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d926b26cd66b8d0a1fd3323183c994b9\",\n \"score\": \"0.61505604\",\n \"text\": \"public void delete(int key) {\\r\\n\\tint i;\\r\\n\\tfor (i = 0; i < size; i++) {\\r\\n\\t\\tif (records[i].getSKU() == key) {\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\tfor (int j = i; j < size; j++) {\\r\\n\\t\\trecords[j] = records[j + 1];\\r\\n\\t}\\r\\n\\tsize--;\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f4b0c5c26c5cd15b2b5122c113baef5\",\n \"score\": \"0.61331344\",\n \"text\": \"@Override\\n public void removeAt(int i){\\n\\tObject[] neu = new Object[element.length-1];\\n\\tfor(int c=0;c void shiftDeleteArray(ArrayList arr, int length, int index) {\\n for (int i=index; i= count) return;\\n \\tdelete(findNode(index));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3cdb16ea40d6c697d3158474d0de312\",\n \"score\": \"0.61051166\",\n \"text\": \"private void remove(int index) { \\n\\t\\tcheckRange(index);\\n\\t\\telements[index] = null;\\n\\t\\telements[size - 1] = null;\\n\\t\\tsize--;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"627dd1c1180669c6380d8751f4b2f1b1\",\n \"score\": \"0.60864484\",\n \"text\": \"@Override\\n\\tpublic V remove(Comparable k) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c449cb7c1a98c7c2983fbff2611b643\",\n \"score\": \"0.60850644\",\n \"text\": \"public void remove(int key){\\n if (!contains(key)) {\\n //throw new NoSuchElementException();\\n }\\n size--;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c082b7b591b9fbcbdcbeb3c424971a4d\",\n \"score\": \"0.60789084\",\n \"text\": \"@NotNull E fastRemove(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ba940ce62ee7a01e7ab363674372f1e\",\n \"score\": \"0.6068106\",\n \"text\": \"public abstract void delete(int index) throws IndexOutOfBoundsException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df7d8adf39ce8996526b2593b2da9d08\",\n \"score\": \"0.6064582\",\n \"text\": \"public Object remove(int index) {\\n if ( index <0 || index>= size) { //if index is negative or greater than size of size, we throw Exception.\\n throw new IndexOutOfBoundsException(\\\"Index: \\\" + index + \\\", Size \\\" + index);\\n }\\n \\n Object removedElement=elementData[index];\\n for(int i=index;i this.size()) throw new IndexOutOfBoundsException();\\n Node nthNode = this.getNth(index);\\n nthNode.remove();\\n this.nelems --;\\n return nthNode.getElement();\\n }catch (IndexOutOfBoundsException e){\\n throw e;\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e2e667227f8d41b96a5557c5dee4da8\",\n \"score\": \"0.5921215\",\n \"text\": \"public synchronized kelondroRowSet delete(byte[] key) throws IOException {\\n kelondroRow.Entry indexrow = index.remove(key, false);\\r\\n if (indexrow == null) return null;\\r\\n kelondroRowSet removedCollection = getdelete(indexrow, true);\\r\\n assert (removedCollection != null);\\r\\n return removedCollection;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7812fba77c76bd8eda9d0f28bf7c4d23\",\n \"score\": \"0.5918835\",\n \"text\": \"public void removeItem(int index) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"417f0a083066ad52a2bfdf69db18f6db\",\n \"score\": \"0.5912939\",\n \"text\": \"public int findKthLargestEle(Heap h, int k){\\n for(int i =0; i < k-1; i++)\\n h.deleteMax();\\n return h.deleteMin();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6809f9784f920d4cfa92f5379f0d6caa\",\n \"score\": \"0.5901348\",\n \"text\": \"public void removeAt(int index) {\\n\\t\\tSystem.arraycopy(keys, index + 1, keys, index, size - (index + 1));\\n\\t\\tSystem.arraycopy(values, index + 1, values, index, size - (index + 1));\\n\\t\\tsize--;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb83b072009a1afe01713071dbcf5d9f\",\n \"score\": \"0.58969456\",\n \"text\": \"public void DeleteEngimon(int b, int k){\\n try{\\n PosisiEngimon e = GetEngimonforDelete(b,k);\\n SetElementPeta(e.getBarisPosisi(), e.getKolomPosisi(), GetElementPetaTetap(e.getBarisPosisi(), e.getKolomPosisi()));\\n this.DaftarEngimon.remove(e);\\n } catch(Exception exc){\\n //\\n System.out.println(exc.getMessage()); \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a99236267b4cf66c9bbb04d705685093\",\n \"score\": \"0.5890243\",\n \"text\": \"void removeForSpec(int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0e6f72844b493cc24a3f3bcf4914af8\",\n \"score\": \"0.58872783\",\n \"text\": \"void removeParameter(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a901ae5697370e9e62e8bc174a3cbe87\",\n \"score\": \"0.5887238\",\n \"text\": \"public int deleteFirst(){\\n\\t\\treturn delete(0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81a51b69ade01d4eb3f56a473f7c2185\",\n \"score\": \"0.58837545\",\n \"text\": \"public Object delete(int index) {\\n\\n if (index >= size) {\\n throw new IndexOutOfBoundsException();\\n }\\n\\n Object data = values[index];\\n values[index] = null;\\n size--;\\n\\n return data;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"132543a3d90a6a92f071c63138e38d77\",\n \"score\": \"0.5876789\",\n \"text\": \"Uni del(K... keys);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec124413bebfc0acb867c2e6b4f342a\",\n \"score\": \"0.58727515\",\n \"text\": \"@Override\\r\\n\\tpublic E remove(int index) {\\r\\n\\t\\tif (index < 0 || index >= size)\\r\\n\\t\\t\\treturn null;\\r\\n\\t\\tE result = elements[index];\\r\\n\\r\\n\\t\\tfor (int i = index; i < size - 1; i++)\\r\\n\\t\\t\\telements[i] = elements[i + 1];\\r\\n\\t\\telements[--size] = null;\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7e9edbbde9ebfc08b2898a5a5134dd5\",\n \"score\": \"0.5864626\",\n \"text\": \"public void deleteParticle( int index );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61fdce49735fd74ff8eb1865ba8aec8d\",\n \"score\": \"0.58478904\",\n \"text\": \"Long lRemove(String key,long count,Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fe86a0790a4a223991873b97b10edf0\",\n \"score\": \"0.58418185\",\n \"text\": \"@Override\\n\\tpublic Object remove(int index) {\\n\\t\\treturn super.remove(index);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ffa4fb646e391704968409a79453f06\",\n \"score\": \"0.5838879\",\n \"text\": \"void remove(int row);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08291f1b3acd6dc14dce0253e002323d\",\n \"score\": \"0.5829594\",\n \"text\": \"public void delete(int element){\\r\\n this.root = this.delete(element, this.root);\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":867,"cells":{"query_id":{"kind":"string","value":"0c137c6405b99c834ae4ee146fdfbee9"},"query":{"kind":"string","value":"/ Used the internal storage to implement the structure in which the message will be stored in the provider. The contentValue key is the filename and the value is written into the file. Code reference: onProgressUpdate of ServerTask of SimpleMessenger."},"positive_passages":{"kind":"list like","value":[{"docid":"6af8766b6650309a8231829366a53b34","score":"0.559093","text":"@Override\n public Uri insert(Uri uri, ContentValues values) {\n String filename = (String) values.get(\"key\");\n String contentVal = (String) values.get(\"value\");\n FileOutputStream outputStream;\n\n try {\n outputStream = getContext().openFileOutput(filename, Context.MODE_PRIVATE);\n outputStream.write(contentVal.getBytes());\n outputStream.close();\n } catch (Exception e) {\n Log.e(TAG, \"File write failed\");\n }\n\n Log.v(\"insert\", values.toString());\n return uri;\n }","title":""}],"string":"[\n {\n \"docid\": \"6af8766b6650309a8231829366a53b34\",\n \"score\": \"0.559093\",\n \"text\": \"@Override\\n public Uri insert(Uri uri, ContentValues values) {\\n String filename = (String) values.get(\\\"key\\\");\\n String contentVal = (String) values.get(\\\"value\\\");\\n FileOutputStream outputStream;\\n\\n try {\\n outputStream = getContext().openFileOutput(filename, Context.MODE_PRIVATE);\\n outputStream.write(contentVal.getBytes());\\n outputStream.close();\\n } catch (Exception e) {\\n Log.e(TAG, \\\"File write failed\\\");\\n }\\n\\n Log.v(\\\"insert\\\", values.toString());\\n return uri;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"949a2f70180408da97a3b1b6af0f765e","score":"0.6159841","text":"private void saveMessages() {\n\t\tif (messages.size() == 0) {\n\t\t\t File file = getFileStreamPath(MESSAGE_STORE);\n\t\t if(file.exists()) {\n\t\t \tLog.i(TAG,\"Attempting to delete custom message text file\");\n\t\t \t//Note: file.delete doesn't throw an IOException when it fails\n\t\t \tif(file.delete()) \n\t\t \t\tLog.i(TAG,\"Deleted custom message text file\");\n\t\t \telse\n\t\t \t\tLog.i(TAG,\"Unable to delete custom text file\");\n\t\t }\n\t\t}\n\t\telse {\n\t\t\t//if not extent, creates files/MESSAGE_STORE directory and file\n\t\t\t//under ...package/data/data/, otherwise overwrites it.\n\t\t\tLog.i(TAG, \"Writing messages to internal storage\");\n\t\t\ttry {\n\t\t\t\tFileOutputStream fOut = openFileOutput(MESSAGE_STORE, MODE_WORLD_READABLE);\n\t\t\t\tBufferedWriter buf = new BufferedWriter(new OutputStreamWriter(fOut));\n\t\t\t\tfor (String s : messages) {\n\t\t\t\t\tbuf.write(s+\"\\n\");\n\t\t\t\t}\n\t\t\t\t//closing, so no flush required.\t\n\t\t\t\tbuf.close();\n\t\t\t}\n\t\t\tcatch (IOException e){\n\t\t\t\tLog.i(TAG,\"IO Exception\");\n\t\t\t}\n\t\t}\t\n\t}","title":""},{"docid":"280378778e043d3879c90ae60275279e","score":"0.5966368","text":"@Override\n public boolean store(String key, Serializable value) {\n File f = new File(rootDir + File.separator + key);\n if (!f.isDirectory() || !f.isFile()) {\n try {\n File parent = f.getParentFile();\n parent.mkdirs(); // create parent directories\n f.createNewFile();\n } catch (IOException e) {\n log.error(\"File {} could not be created. \", f.getAbsolutePath(), e);\n return false;\n }\n // update file content\n try (FileOutputStream fo = new FileOutputStream(f);\n ObjectOutputStream oo = new ObjectOutputStream(fo)) {\n oo.writeObject(value);\n } catch (IOException e) {\n log.error(\"Writing value to file failed for key {} .\", key, e);\n return false;\n }\n\n }\n return true;\n }","title":""},{"docid":"e7b685b2c705293ecfc971fbaacef729","score":"0.587849","text":"@Override\n public void writeFile(String name, String content) {\n }","title":""},{"docid":"7bfe93ab2f628182619f3fa26f0ded6d","score":"0.5856164","text":"@Override\n public void onResult(DriveApi.DriveContentsResult result) {\n if (!result.getStatus().isSuccess()) {\n Log.i(\"TAG\", \"Failed to create new contents.\");\n return;\n }\n\n // Otherwise, we can write our data to the new contents.\n Log.i(\"TAG\", \"New contents created.\");\n // Get an output stream for the contents.\n OutputStream outputStream = result.getDriveContents().getOutputStream();\n // Write the bitmap data from it.\n\n File dir = new File(Environment.getExternalStorageDirectory(), \"EQWaybill\");\n if(!dir.exists()) {\n dir.mkdir();\n }\n File file = new File(dir, displayName);\n\n Log.i(\"TAG\", \"\"+file);\n try {\n byte[] buffer = new byte[1024];\n FileInputStream fis = new FileInputStream(file);\n int read = 0;\n while ((read = fis.read(buffer)) != -1) {\n outputStream.write(buffer, 0, read);\n System.out.println(\"read \" + read + \" bytes,\");\n }\n\n CustomPropertyKey approvalPropertyKey = new CustomPropertyKey(\"approved\", CustomPropertyKey.PUBLIC);\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\n .setTitle(displayName).setMimeType(\"application/pdf\")\n .setCustomProperty(approvalPropertyKey, \"yes\").build();\n\n Drive.DriveApi.getRootFolder(mGoogleApiClient)\n .createFile(mGoogleApiClient, metadataChangeSet, result.getDriveContents())\n .setResultCallback(fileCallback);\n\n int val = elementID + 1;\n uploadFile(val);\n } catch (Exception e1) {\n e1.printStackTrace();\n Log.i(\"TAG\", \"Unable to write file contents.\");\n onStop();\n }\n\n }","title":""},{"docid":"0a105aae77fa23e8e92e9bbb2d30f236","score":"0.57418305","text":"@Override\n public void writeFile(String content) {\n }","title":""},{"docid":"c77aabd86fb00daeca27c8bc417bbbe2","score":"0.5694284","text":"private void update(Message tMessage) {\n EventBus eventBus = vertx.eventBus();\n eventBus.send(FILEREADER_PROCESSMANAGER_FILE_NEW, tMessage.body());\n }","title":""},{"docid":"9984947e1aafdb00c0e40bbe69b99fca","score":"0.5663809","text":"private void onUploadResultIntent(Intent intent) {\n mDownloadUrl = intent.getParcelableExtra(MyFirebaseUploadService.EXTRA_DOWNLOAD_URL);\n mFileUri = intent.getParcelableExtra(MyFirebaseUploadService.EXTRA_FILE_URI);\n intent.setPackage(this.getPackageName());\n if (mDownloadUrl != null) {\n SQLiteHandler db = new SQLiteHandler(this);\n NotesFileModel nfm =\n new NotesFileModel(editText.getText().toString(), mDownloadUrl.toString(),\n editTextdesc.getText().toString(), getCurrentTime(), db.getUserDetails().getName(),\n db.getUserDetails().getRegno(), mFiletype, getUnixtime());\n DatabaseReference ref =\n FirebaseDatabase.getInstance().getReference().child(\"notes\").child(mSubjectcode).push();\n ref.setValue(nfm);\n stopService(intent);\n finish();\n }\n }","title":""},{"docid":"1d1f630133d91de4fb92f650ed8510e1","score":"0.5661494","text":"private void writeContentToFile(String content, String fileName)\n\t{\n\t\t// create a file if it does not exist\n\t\tFile exportFile = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + fileName);\n\t\texportFileLocation = exportFile.getAbsolutePath();\n\n\t\t// check if file exists\n\t\tif (!exportFile.exists())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\texportFile.createNewFile();\n\t\t\t\tLog.i(\"Preferences\", \"file created with name - \" + exportFileLocation);\n\t\t\t} catch (IOException e)\n\t\t\t{\n\t\t\t\tLog.e(\"Preferences\", \"***unable to create file \" + e.getMessage(), e);\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tLog.i(\"Preferences\", \"file exists with name - \" + exportFileLocation);\n\t\t// write to the file\n\t\ttry\n\t\t{\n\t\t\t// BufferedWriter for performance, true to set append to file flag\n\t\t\tBufferedWriter buf = new BufferedWriter(new FileWriter(exportFile, false));\n\n\t\t\tbuf.append(content);\n\t\t\t\n\t\t\tbuf.close();\n\n\n\n\t\t} catch (IOException e)\n\t\t{\n\t\t\tLog.e(\"Preferences\", e.getMessage(), e);\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"b1ca3944dec27fba7c8f37d5bb324d48","score":"0.564491","text":"public void addEntry(String key, InboundMsgDefinition value) {\n lastMessage = value;\n if (sessionFiles.containsKey(key)) {\n sessionFiles.get(key).add(value);\n } else {\n sessionFiles.put(key, new ArrayList<>());\n sessionFiles.get(key).add(value);\n }\n\n System.out.println(\"[WEB-mgr] ConverterManager added to sessionFiles\");\n ArrayList p = sessionFiles.get(key);\n for (InboundMsgDefinition t : p) {\n System.out.println(t);\n }\n convertFile(System.getProperty(\"user.home\") +File.separator+\"tiwi\"+File.separator+\"upload\" +File.separator+ value.getFileName(),key,value.getOutputType());\n }","title":""},{"docid":"cbb0d6cf896fd8694935120c67d9336b","score":"0.564022","text":"@Override\n\tpublic Uri insert(Uri uri, ContentValues values) {\n\t\tString keySet = values.getAsString(\"key\");\n\n\t\tFileOutputStream outputStream;\n\n\t\ttry {\n\t\t\t//if( GlobalContainer.successor == null || ( ( genHash(GlobalContainer.nodeName.get(SimpleDhtActivity.myPort)).compareTo(genHash(keySet)) < 0 || genHash(GlobalContainer.nodeName.get(SimpleDhtActivity.myPort)).compareTo(genHash(keySet)) < 0 ) && ( genHash(keySet).compareTo(genHash(GlobalContainer.nodeName.get(GlobalContainer.successor))) < 0 || GlobalContainer.last ) ) ) {\n\t\t\t//if( GlobalContainer.successor == null || ( genHash(keySet).compareTo(genHash(GlobalContainer.nodeName.get(GlobalContainer.successor))) < 0 ) ) {\n\t\t\tif(checkInChord(keySet)) {\n\t\t\t\toutputStream = getContext().openFileOutput(values.getAsString(\"key\"), Context.MODE_PRIVATE);\n\n\t\t\t\toutputStream.write(values.getAsString(\"value\").getBytes());\n\t\t\t\toutputStream.close();\n\t\t\t\tkeyList.add(keySet);\n\n\t\t\t\tLog.e(\"INSERT\", \"Message inserted : \" + keySet);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tLog.e(TAG, \"Sending the msgs to \" + GlobalContainer.predecessor + \"Msg is \" + keySet + \" with hash code : \" + genHash(keySet) + \" compare with \" + genHash(GlobalContainer.nodeName.get(GlobalContainer.predecessor) ) + \" I am first : \" + GlobalContainer.first);\n\t\t\t\t//Log.e(TAG, \"Sending the msgs to \" + GlobalContainer.successor + \"Msg is \" + keySet + \" \" + values.getAsString(\"value\") + \" with hash code : \" + genHash(keySet));\n\t\t\t\tnew ClientTask(null).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR,\"INSERT\", keySet, values.getAsString(\"value\"));\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLog.e(\"GRoupMessengerProvider\", \"File not found .......\" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\tLog.e(\"GRoupMessengerProvider\", \"File write failed \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e){\n\t\t\tLog.e(\"GRoupMessengerProvider\", \"Something went wrong \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//Log.v(\"insert\", values.toString());\n\t\treturn uri;\n\t}","title":""},{"docid":"33c089872f2fd10291033f8031fbc578","score":"0.5631365","text":"@Override\n public void fileSaveComplete(int status) {\n sendMessage(obtainMessage(MSG_FILE_SAVE_COMPLETE, status, 0, null));\n }","title":""},{"docid":"cc47984df933d7c42f6a605da5795ec2","score":"0.55911475","text":"public void saveResultFile(String msg) throws IOException {\n File sdFile = Environment.getExternalStorageDirectory();\n File result = new File(sdFile, \"result.json\");\n int i=0;\n while (result.exists()) {\n i++;\n result=new File(sdFile,\"result\"+i+\".json\");\n }\n try {\n FileOutputStream fout = new FileOutputStream(result);\n fout.write(msg.getBytes());\n fout.flush();\n fout.close();\n Toast.makeText(this, \"Result has been saved in\"+result.getAbsolutePath(), Toast.LENGTH_SHORT).show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"870df89929564de8066d387b1c35ba45","score":"0.55753714","text":"@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Task p_uriTask = taskSnapshot.getStorage().getDownloadUrl();\n while(!p_uriTask.isSuccessful());\n Uri p_downloadUri = p_uriTask.getResult();\n if(p_uriTask.isSuccessful()){\n //image url received, save in db\n // timestamp\n String timestamp = \"\" + System.currentTimeMillis();\n\n // setup message data\n HashMap hashMap = new HashMap<>();\n hashMap.put(\"sender_id\", (long)currentUserID);\n hashMap.put(\"sender_name\", username);\n hashMap.put(\"message\", \"\" + p_downloadUri);\n hashMap.put(\"timestamp\", timestamp);\n hashMap.put(\"type\", \"\" + \"image\"); // text/image/file\n\n DatabaseReference GroupNameRef = FireBaseDatabase.getInstance().getReference().child(\"Groups\");\n GroupNameRef.child(Integer.toString(currentChatroom.getChatroom_id())).child(\"Messages\").child(timestamp)\n .setValue(hashMap)\n .addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(Void aVoid) {\n //message sent\n //clear messageEt\n messageEt.setText(\"\");\n pd.dismiss();\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(GroupChatActivity.this,\"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n }\n });\n dbcheckifentryExistofNot();\n }\n }","title":""},{"docid":"387bca56add8d2c511abcd8aaae747bd","score":"0.55676824","text":"public void writeFileOnInternalStorage(Context mcoContext,String sFileName, String sBody) throws IOException {\n // Get the directory for the user's public pictures directory.\n //File file = new File(getExternalFilesDir(null), sFileName);\n File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + \"/\" + sFileName);\n // Save your stream, don't forget to flush() it before closing it.\n\n try\n {\n file.createNewFile();\n FileOutputStream fOut = new FileOutputStream(file);\n OutputStreamWriter myOutWriter = new OutputStreamWriter(fOut);\n myOutWriter.append(sBody);\n\n myOutWriter.close();\n\n fOut.flush();\n fOut.close();\n }\n catch (IOException e)\n {\n Log.e(\"Exception\", \"File write failed: \" + e.toString());\n }\n }","title":""},{"docid":"0ca18f1cd5d99a31c1391d1b64bc80e1","score":"0.55454","text":"public String updateContent() {\n try {\n if (null != file) {\n // make the parent folder when each month\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyyMM\", Locale.ENGLISH);\n String monthlize = dateFormat.format(new Date());\n String realPath = ServletActionContext.getServletContext().getRealPath(this.getSavePath());\n File storeFolder = new File(realPath + File.separator + GroupConstance.UPLOAD_NEWS + File.separator + monthlize);\n //File storeFolder = new File(\"/upload/content/\" + monthlize);\n if(!storeFolder.exists()) storeFolder.mkdirs();\n for(int i = 0;i it = listIterator();\n while(it.hasNext()){\n KeyStat cur = it.next();\n oos.writeObject(cur);\n }\n\n fos.close();\n oos.close();\n } catch(IOException ex){\n Log.e(TAG, \"Could not save KeyStats: \" + ex.toString());\n }\n }","title":""},{"docid":"f9c102ab10b6df52fab4dccabba40e10","score":"0.5419025","text":"public void saveFile() {\n\t \n store.fileOut(currentFileName);\n }","title":""},{"docid":"91f097d2c9f013244b1213749d22e32c","score":"0.54114485","text":"void shareContent(File file);","title":""},{"docid":"66e333dcab5d2765b0fe94742b7a64ee","score":"0.54026014","text":"@Override\n public void run() {\n if (this.peer.getStorage().hasStoredChunk(this.message.getFileId(), this.message.getChunkNo())) {\n Chunk chunk = this.peer.getStorage().getStoredChunk(this.message.getFileId(), this.message.getChunkNo());\n chunk.addPeerStoring(this.message.getSenderId());\n }\n else if (this.peer.getStorage().hasSentChunk(this.message.getFileId(), this.message.getChunkNo())) {\n Chunk chunk = this.peer.getStorage().getSentChunk(this.message.getFileId(), this.message.getChunkNo());\n chunk.addPeerStoring(this.message.getSenderId());\n }\n }","title":""},{"docid":"d150384c9f14c06517438fb58bfd73f6","score":"0.5396164","text":"public static void storeToFile() {\r\n\t\ttry {\r\n\t\t\tFileOutputStream fos = new FileOutputStream(\"entries\");\r\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\r\n\t\t\toos.writeObject(entries);\r\n\t\t\toos.close();\r\n\t\t\tfos.close();\r\n\t\t} catch (IOException ioe) {\r\n\t\t\tioe.printStackTrace();\r\n\t\t}\r\n\t\tstorereqsToFile();\r\n\t}","title":""},{"docid":"661cbb8daccad22c78f35bbdc130c814","score":"0.53893083","text":"private void writeFile() {\n\n try {\n FileOutputStream fos = openFileOutput(contactFile, this.MODE_PRIVATE);\n\n ObjectOutputStream oos = new ObjectOutputStream(fos);\n oos.writeObject(mContactDataList);\n Log.i(TAG, \"Object Saved Successfully\");\n oos.close();\n\n } catch (Exception e) {\n Log.e(TAG, \"Save Unsuccessful\");\n }\n\n\n }","title":""},{"docid":"c2746a7b40b67060400a2b825a442c43","score":"0.53872836","text":"public void externalStorage() {\n\n Log.d(TAG, \"start\");\n pexstor = true;\n\n File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC), \"mic_recording_ds_md\");\n\n file.mkdir();\n Timestamp time1 = new Timestamp(System.currentTimeMillis());\n\n String timestamp = time1.toString() + \".pcm\";\n Log.d(TAG, timestamp);\n\n\n File f = new File(file, timestamp);\n FileOutputStream fos;\n\n try {\n\n fos = new FileOutputStream(f);\n fos.write(data);\n fos.close();\n Log.d(TAG, \"File written\");\n\n filenames.add(timestamp);\n\n } catch (FileNotFoundException e1) {\n Log.d(TAG, \"File Not Found\");\n } catch (IOException e2) {\n Log.d(TAG, \"Error Writing!\");\n }\n }","title":""},{"docid":"fcf7f4d109362d7ff35b8fad80764c62","score":"0.53848606","text":"public void WriteOnFile(String filename, String value) {\n Log.i(Utils.LogTag, \"wrinting on file \");\r\n try {\r\n FileOutputStream filenam = openFileOutput(filename + \"name.txt\", MODE_PRIVATE);\r\n FileOutputStream filenum = openFileOutput(filename + \"number.txt\", MODE_PRIVATE);\r\n OutputStreamWriter outputWriter1 = new OutputStreamWriter(filenam);\r\n OutputStreamWriter outputWriter2 = new OutputStreamWriter(filenum);\r\n outputWriter1.write(value);\r\n outputWriter2.write(value);\r\n outputWriter1.close();\r\n outputWriter2.close();\r\n\r\n //display file saved message\r\n Toast.makeText(getBaseContext(), \"Contact deleted \" + filename, Toast.LENGTH_SHORT).show();\r\n Log.i(Utils.LogTag, \"Contact deleted \" + outputWriter1.toString());\r\n finish();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }","title":""},{"docid":"8fb2e0539daae736043a56f734237fdb","score":"0.53746367","text":"@Override\n\tpublic void updateFile() {\n\t\tDataIO.Write(fileName, roomServiceList);\n\t}","title":""},{"docid":"a4bc89dad6e5363d7a7a80c2c1c8f36b","score":"0.5374371","text":"@Override\r\n\t\t\t\t\tpublic void onResult(DriveContentsResult result) {\n\t\t\t\t\t\tif (!result.getStatus().isSuccess()) {\r\n\t\t\t\t\t\t\tLog.i(TAG, \"Failed to create new contents.\");\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Otherwise, we can write our data to the new contents.\r\n\t\t\t\t\t\tLog.i(TAG, \"New contents created.\");\r\n\t\t\t\t\t\t// Get an output stream for the contents.\r\n\t\t\t\t\t\tOutputStream outputStream = result.getDriveContents()\r\n\t\t\t\t\t\t\t\t.getOutputStream();\r\n\t\t\t\t\t\t// Write the bitmap data from it.\r\n\t\t\t\t\t\tByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\r\n\t\t\t\t\t\timage.compress(Bitmap.CompressFormat.PNG, 100,\r\n\t\t\t\t\t\t\t\tbitmapStream);\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\toutputStream.write(bitmapStream.toByteArray());\r\n\t\t\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\t\t\tLog.i(TAG, \"Unable to write file contents.\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Create the initial metadata - MIME type and title.\r\n\t\t\t\t\t\t// Note that the user will be able to change the title\r\n\t\t\t\t\t\t// later.\r\n\t\t\t\t\t\tMetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\r\n\t\t\t\t\t\t\t\t.setMimeType(\"image/jpeg\")\r\n\t\t\t\t\t\t\t\t.setTitle(folderName + \".png\").build();\r\n\t\t\t\t\t\t// Create an intent for the file chooser, and start it.\r\n\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t * IntentSender intentSender = Drive.DriveApi\r\n\t\t\t\t\t\t * .newCreateFileActivityBuilder()\r\n\t\t\t\t\t\t * .setInitialMetadata(metadataChangeSet)\r\n\t\t\t\t\t\t * .setInitialDriveContents( result.getDriveContents())\r\n\t\t\t\t\t\t * .build(mGoogleApiClient); try {\r\n\t\t\t\t\t\t * startIntentSenderForResult(intentSender,\r\n\t\t\t\t\t\t * REQUEST_CODE_CREATOR, null, 0, 0, 0);\r\n\t\t\t\t\t\t * Toast.makeText(PhonePhotoActivity.this,\r\n\t\t\t\t\t\t * \"Photo sync successfully!\",\r\n\t\t\t\t\t\t * Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t * \r\n\t\t\t\t\t\t * } catch (SendIntentException e) { Log.i(TAG,\r\n\t\t\t\t\t\t * \"Failed to launch file chooser.\"); }\r\n\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\tfinal DriveContents driveContents = result\r\n\t\t\t\t\t\t\t\t.getDriveContents();\r\n\t\t\t\t\t\tfinal ResultCallback fileCallback = new ResultCallback() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onResult(DriveFileResult result) {\r\n\t\t\t\t\t\t\t\tif (!result.getStatus().isSuccess()) {\r\n\t\t\t\t\t\t\t\t\tshowMessage(\"Error while trying to create the file\");\r\n\t\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tshowMessage(\"Created a file with content: \"\r\n\t\t\t\t\t\t\t\t\t\t+ result.getDriveFile().getDriveId());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t * Drive.DriveApi .getRootFolder(getGoogleApiClient())\r\n\t\t\t\t\t\t * .createFile(getGoogleApiClient(), metadataChangeSet,\r\n\t\t\t\t\t\t * driveContents) .setResultCallback(fileCallback);\r\n\t\t\t\t\t\t */\r\n\t\t\t\t\t\tDrive.DriveApi\r\n\t\t\t\t\t\t\t\t.getFolder(getGoogleApiClient(), parentFolderId)\r\n\t\t\t\t\t\t\t\t.createFile(getGoogleApiClient(),\r\n\t\t\t\t\t\t\t\t\t\tmetadataChangeSet, driveContents)\r\n\t\t\t\t\t\t\t\t.setResultCallback(fileCallback);\r\n\r\n\t\t\t\t\t}","title":""},{"docid":"8b823259d1ad13631a3687155184c66a","score":"0.5371259","text":"private void saveAction(){\n String content;\n content=editContent.getText().toString().trim();\n if (!tempContent.equals(content)) {\n tempContent=content;\n //if hashmap does not exist(user's first save), it creates a new\n if (hashNotes == null) {\n hashNotes = new HashMap<>();\n hashNotes.put(title, content);\n } else {\n hashNotes.put(title, content);\n }\n\n //write to internal file, save hashmap as object\n try {\n FileOutputStream outputStream = openFileOutput(FILENAME, Context.MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream);\n objectOutputStream.writeObject(hashNotes);\n outputStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n }","title":""},{"docid":"4a94e51879774e11b7d5a8b31d9cedff","score":"0.53699654","text":"public void writeFileSdcard(String msg)\n {\n try{\n FileOutputStream os = new FileOutputStream(saveFile,true);\n byte[] bytes = msg.getBytes();\n os.write(bytes);\n os.close();\n //L.i(\"write over!\");\n }\n catch(Exception e)\n {\n e.printStackTrace();\n L.e(\"write error!\");\n }\n }","title":""},{"docid":"bf8ece30d1c33fde358bfc0264b7899b","score":"0.5359741","text":"private void uploadFile(Uri data) {\n final FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"dd-MM-yyyy-hh-mm-ss\");\n final String format = simpleDateFormat.format(new Date());\n\n progressBar.setVisibility(View.VISIBLE);\n final StorageReference sRef = mStorageReference.child(\"med_records/\" + user.getUid()+\"/\"+ System.currentTimeMillis() + \".pdf\");\n sRef.putFile(data).addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n sRef.getDownloadUrl().addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(Uri uri) {\n Uri downloadUrl = uri;\n //Do what you want with the url\n progressBar.setVisibility(View.GONE);\n textViewStatus.setText(\"File Uploaded Successfully\");\n Toast.makeText(getApplicationContext(), \"Successfully uploaded file to storage\", Toast.LENGTH_LONG).show();\n\n Upload upload = new Upload(editTextFilename.getText().toString(), downloadUrl.toString());\n\n\n Map file = new HashMap<>();\n file.put(\"name\", upload.getName());\n file.put(\"url\", upload.getUrl());\n file.put(\"DEVICE_ID\", getDeviceId(ManualEntryActivity.this));\n\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"dd-MM-yyyy-hh-mm-ss\");\n String format = simpleDateFormat.format(new Date());\n String currentDate = new SimpleDateFormat(\"dd/MM/yyyy\").format(new Date());\n String currentTime = new SimpleDateFormat(\"hh:mm:ss\").format(new Date());\n file.put( \"currentDate\",currentDate);\n file.put( \"currentTime\",currentTime);\n file.put(\"username\", user.getEmail());\n file.put(\"UID\", user.getUid());\n Log.d(\"HomeActivity\", \"Current Timestamp: \" + format);\n// file.put(\"TIMESTAMP\", format);\n\n db.collection(\"users\").document(user.getUid()).collection(\"health_records\").document(format)\n .set(file)\n .addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(\"Success\", \"DocumentSnapshot successfully written!\");\n// Toast.makeText(getApplicationContext(), \"Success\", Toast.LENGTH_LONG).show();\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(\"Fail\", \"Error writing document\", e);\n }\n });\n\n db.collection(\"user_health_record\").add(file)\n .addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(DocumentReference documentReference) {\n// Log.d(TAG, \"DocumentSnapshot added with ID: \" + documentReference.getId());\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n// Log.w(TAG, \"Error adding document\", e);\n }\n });\n// Toast.makeText(ManualEntryActivity.this, \"Upload Done\", Toast.LENGTH_LONG).show();\n }\n\n });\n\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }\n })\n .addOnProgressListener(new OnProgressListener() {\n @SuppressWarnings(\"VisibleForTests\")\n @Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n double progress = (100.0 * taskSnapshot.getBytesTransferred()) / taskSnapshot.getTotalByteCount();\n textViewStatus.setText((int) progress + \"% Uploading...\");\n }\n });\n }","title":""},{"docid":"e3066e2502d7809efaeac3e819a028ab","score":"0.5339938","text":"public void write(String filename, byte[] content) throws IOException {\n FSDataOutputStream s = getMfs().create(new Path(filename));\n s.write(content);\n s.close();\n }","title":""},{"docid":"a8bec60294a06e77cc359cf3b0a90fed","score":"0.53082776","text":"public void map(NullWritable key, BytesWritable value, Context context) throws IOException, InterruptedException \n {\n file_contents_value.set(new String(value.getBytes(), StandardCharsets.UTF_8).replace(\"\\n\", \" --- \"));\n context.write(filename_key, file_contents_value);\n }","title":""},{"docid":"16208f2344e347ba63f9f411be6babe0","score":"0.5303216","text":"public static void saveLocal(String content,String filename){\n DataOutputStream out = null;\n File file = new File(filePath);\n if(!file.exists())\n file.mkdirs();\n try {\n out = new DataOutputStream(new FileOutputStream(\n new File(filePath +filename )));\n out.write(content.getBytes());\n out.flush();\n out.close();\n }catch (IOException e){\n e.printStackTrace();\n }\n }","title":""},{"docid":"0481645aaad283f050c85280067da360","score":"0.5291943","text":"private void writeToFile(String data, final String filename, Context context) throws IOException {\n File folder = new File(context.getExternalFilesDir(null).getAbsolutePath());\n //System.out.println(folder);\n boolean success = true;\n if (!folder.exists()) {\n success = folder.mkdirs();\n }\n //System.out.println(success);\n if (success) {\n File file = new File(folder, filename + \".txt\");\n FileOutputStream stream = new FileOutputStream(file);\n try {\n stream.write(data.getBytes());\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(MainActivity.this, \"Data written to file \" + filename + \".txt\", Toast.LENGTH_SHORT).show();\n }\n });\n\n\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n stream.close();\n }\n }\n }","title":""},{"docid":"6a38dc82574886e7a78421dc65179550","score":"0.5278723","text":"public void writeFile(byte[] x, String fileName){\n try {\n System.out.println(\"LOGGING: Received File \" + folder + \"/peer/\" + fileName);\n FileOutputStream out = new FileOutputStream(new File(folder + \"/\" + fileName));\n out.write(x);\n out.close();\n\n } catch (IOException e) {\n System.out.println(\"Exception\" + e);\n }\n }","title":""},{"docid":"a62d988eaeda4e54ebfa9dc85bd27162","score":"0.5276405","text":"private void writeTracksToFile(){\n FileOutputStream fos = null;\n try {\n myExternalFile.createNewFile();\n fos = new FileOutputStream(myExternalFile);\n fos.write(tracksStr.getBytes());\n Log.d(\"SpotifyToText\", \"File written success\");\n SpotifyToText.this.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n String text = messageWindow.getText().toString();\n text += \"\\nTransferred Playlist to: \\\"\" + \"/\" + FILE_PATH + \"/\" + playlistSelected + \".txt\\\"\\n\";\n text += \"Transferred \" + tracksSize + \" Songs from \\\"\" + playlistSelected + \"\\\":\\n\\n\" + tracksStr;\n messageWindow.setText(text);\n }\n });\n isFirstExport = false;\n } catch (IOException e) {\n Log.e(\"SpotifyToText\", e.toString());\n } finally {\n try {\n if(fos != null){\n fos.close();\n }\n } catch (IOException e) {\n Log.e(\"SpotifyToText\", e.toString());\n }\n }\n }","title":""},{"docid":"426b02093cb15899436c9daf1ae96fc2","score":"0.52698815","text":"@Override\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\n super.channelActive(ctx);\n ctx.writeAndFlush(\"GetFile#\"+fileInfo.getFilepath());\n }","title":""},{"docid":"7aa72ac95cd1dba18de3469d35181a16","score":"0.5266636","text":"@Override\n protected String doInBackground(Void... params) {\n try {\n FileWriter.writeFile(file, contents);\n } catch (IOException e) {\n return e.getMessage();\n }\n return \"\";\n }","title":""},{"docid":"3a054cd15e66e7445ac53afbeef4883d","score":"0.5264701","text":"protected void store(DFSFilename key) {\n PersistentStorageWriter tempWriter;\n try {\n tempWriter = owner.getWriter(kTempFileName, false);\n } catch (IOException ioe) {\n System.err.println(\"Unexpected cache exception: cannot write to \" +\n \"temp file!\");\n throw new IllegalStateException(\"Temp file cannot be written!\",\n ioe);\n }\n \n try {\n PersistentStorageReader reader = owner.getReader(key.getPath());\n if (reader.ready()) {\n String oldData = component.readRemainingContentsToString(reader);\n tempWriter.write(key.getPath() + \"\\n\" + oldData);\n tempWriter.close();\n } else {\n tempWriter.delete();\n }\n } catch (FileNotFoundException e) {\n } catch (IOException e) {\n throw new IllegalStateException(\"Cannot copy old file content to temp file!\",\n e);\n }\n \n try {\n PersistentStorageWriter writer;\n try {\n writer = owner.getWriter(key.getPath(), false);\n } catch (IOException ioe) {\n System.err.println(\"Cannot overwrite cached file \" + key.toString() + \"!\");\n throw new IllegalStateException(\"Cannot write to cache!\",\n ioe);\n }\n \n CacheEntry entry = store.get(key);\n writer.write(entry.getVersion() + \",\" + entry.exists() + \"\\n\" + entry.getData().toString());\n } catch (IOException e) {\n throw new IllegalStateException(\"Cannot write cache data to disk!\", e);\n }\n }","title":""},{"docid":"e72a6ffef49eab8c0081f1aa2506a1b1","score":"0.52499217","text":"private void putContent(String f, String content) throws IOException {\n DataOutputStream out = null;\n try {\n out = new DataOutputStream(new FileOutputStream(new File(bundleDir, f)));\n out.writeUTF(content);\n } finally {\n if (out != null) {\n out.close();\n }\n }\n }","title":""},{"docid":"9918eb7e9ca7e03e25c490399ea1b048","score":"0.5247704","text":"@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Log.d(\"database\", \"sucessfull upload\");\n Log.d(\"database\", \"uploading filename: \"+fileName+\" to: \"+\"pruducts.\"+pCode+\".imageFileName\");\n database.getReference(\"products\").child(pCode).child(\"imageFileName\").setValue(fileName);\n }","title":""},{"docid":"258a47648f0b421ce528d256edebe43a","score":"0.52456856","text":"public void store(File outputFile, progress prog) throws IOException, InterruptedException;","title":""},{"docid":"e7c525005de1ada48ca6c69b45a0ac92","score":"0.52433085","text":"@Override\n public void onResult(DriveContentsResult result) {\n if (!result.getStatus().isSuccess()) {\n Log.i(LOG_TAG, \"Failed to create new contents.\");\n return;\n }\n // Otherwise, we can write our data to the new contents.\n Log.i(LOG_TAG, \"New contents created.\");\n // Get an output stream for the contents.\n OutputStream outputStream = result.getDriveContents().getOutputStream();\n // Write the bitmap data from it.\n ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\n image.compress(Bitmap.CompressFormat.JPEG, 100, bitmapStream);\n try {\n outputStream.write(bitmapStream.toByteArray());\n } catch (IOException e1) {\n queryCallbackDao.failRequest(\"Unable to write file contents.\");\n Log.i(LOG_TAG, \"Unable to write file contents.\");\n }\n // Create the initial metadata - MIME type and title.\n // Note that the user will be able to change the title later.\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\n .setMimeType(\"image/jpeg\").setTitle(\"Android Photo.JPEG\").build();\n // Create an intent for the file chooser, and start it.\n IntentSender intentSender = Drive.DriveApi\n .newCreateFileActivityBuilder()\n .setInitialMetadata(metadataChangeSet)\n .setInitialDriveContents(result.getDriveContents())\n .build(mGoogleApiClient);\n\n queryCallbackDao.createResultImageFile(intentSender);\n }","title":""},{"docid":"a4c715e2d4c5f8584cfa66ae52aa09fa","score":"0.5240307","text":"public void saveFileContent(final Exchange exchange) {\n exchange.getIn().setHeader(Messaging.Names.SAVED_FILE_CONTENT.toString(), exchange.getIn().getBody());\n }","title":""},{"docid":"34505612ed6cebf2e12adec50ceeb28b","score":"0.52281284","text":"public String saveContent();","title":""},{"docid":"aa35aac39c9b6c27702e9ada7f1a5acf","score":"0.52227306","text":"public void saveNewFile()\n {\n Map propertiesMap = new HashMap();\n \n propertiesMap.put(FileItemProperty.NAME_FILE_PROPERTY, \n this.getName());\n propertiesMap.put(FileItemProperty.READ_ONLY_FILE_PROPERTY, \n Boolean.toString(isReadOnly()));\n propertiesMap.put(FileItemProperty.HIDDEN_FILE_PROPERTY, \n Boolean.toString(this.isHidden()));\n \n DateFormat dateFormat = FileItemProperty.getLastModifiedFormat();\n Date date = new java.util.Date();\n String datetime = dateFormat.format(date);\n propertiesMap.put(FileItemProperty.LAST_MODIFIED_FILE_PROPERTY, \n datetime);\n \n propertiesMap.put(FileItemProperty.CREATED_FILE_PROPERTY, \n datetime);\n \n propertiesMap.put(FileItemProperty.SIZE_FILE_PROPERTY, \n Integer.toString(getSize()));\n \n propertiesMap.put(FileItemProperty.ICON_FILE_PROPERTY, \n null);\n \n propertiesMap.put(FileItemProperty.SHARED_FILE_PROPERTY, \n Boolean.toString(this.isShared()));\n \n propertiesMap.put(FileItemProperty.TYPE_FILE_PROPERTY, \n this.getType());\n \n propertiesMap.put(FileItemProperty.DESCRIPTION_FILE_PROPERTY, \n this.getDescription());\n propertiesMap.put(FileItemProperty.KEYWORDS_FILE_PROPERTY, \n this.getKeywords());\n \n RequestContext.getCurrentInstance().returnFromDialog(SAVE_NEW_FILE_ITEM, \n propertiesMap);\n }","title":""},{"docid":"6c67b2d7d43389fc01f925a125b96a33","score":"0.5217104","text":"public void write(String filename, String content) throws IOException {\n FSDataOutputStream s = getMfs().create(new Path(filename));\n s.writeBytes(content);\n s.close();\n }","title":""},{"docid":"c2d8db38035a50d445dbfeb238941e91","score":"0.5217032","text":"@Override\r\n\t\t\tpublic void callback(DriveContents contents) {\n\t\t\t\ttry {\r\n\t\t\t\t\tcontents.getOutputStream().write(content);\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t// Upload the changes to the drive client.\r\n\t\t\t\t// null because there are no metadata changes.\r\n\t\t\t\tcontents.commit(driveClient, null);\r\n\t\t\t}","title":""},{"docid":"eac59b59af197b42be5a82b4de2c1a99","score":"0.52153677","text":"@Override\n\tpublic void writeFile(String file, String content) throws RemoteException, IOException {\n\n\t\tCollection replicaList = clientCache.values();\n\t\tBoolean writeStatus = true;\n\t\tlong stamp = lockFile(file, false);\n\t\tlong transID = startNewTransaction();\n\t\tSystem.out.println(\"transid is \"+transID);\n readLock.lock();\n\t\ttry {\n\t\t\t\n synchronized (file) {\n for (IFileReplica replica : replicaList) {\n writeStatus = replica.innerWriteFile(file, content, transID);\n if (!writeStatus) {\n System.out.println(\"writefailed\");\n // issueAbortTransaction(transID);\n throw new IOException(\"error writing file \" + file);\n }\n }\n issueCommitTransaction(transID);\n }\n\t\t}catch (IOException e){\n System.out.println(\"Error writing \" + file );\n\t\t \n issueAbortTransaction(transID);\n \n throw new IOException(\"error writing file \" + file);\n }finally {\n \n\t\t\tunLockFile(file, stamp, false);\n \n \n\t\t\treadLock.unlock();\n\n\t\t}\n \n \n writeLock.lock();\n try{\n \n serverFiles.put(file, content);\n }\n finally{\n writeLock.unlock();\n }\n\t\t\n\t}","title":""},{"docid":"a2739b262fd4f40ce56533182dfd2405","score":"0.52097714","text":"public void setFilecontent(byte[] value) {\n this.filecontent = value;\n }","title":""},{"docid":"0cc9f7b72049e6cada10d4518e784b5d","score":"0.52086186","text":"private void appendData(String filename, String msg) {\n\t\tMinioClient minioClient;\n\t\tString dataString = \"\";\n\t\ttry {\n\t\t\t// Initialize connection\n\t\t\tminioClient = new MinioClient(\"https://s3.amazonaws.com\", \"your_access_key\",\n\t\t\t\t\t\"your_secret_pass\");\n\n\t\t\t// Retrieve string from S3.\n\t\t\tInputStream stream = minioClient.getObject(\"smart-clock-settings\", filename);\n\t\t\tbyte[] buf = new byte[16384];\n\t\t\tint bytesRead;\n\t\t\twhile ((bytesRead = stream.read(buf, 0, buf.length)) >= 0) {\n\t\t\t\tdataString += new String(buf, 0, bytesRead);\n\t\t\t}\n\t\t\tstream.close();\n\t\t\tboolean shouldInsert = true;\n\t\t\tString[] dataLines = dataString.split(\"\\\\r?\\\\n\");\n\t\t\tString latestData = dataLines[dataLines.length - 1];\n\t\t\tString[] oldKeyValue = latestData.split(\",\");\n\t\t\tString[] newKeyValue = msg.split(\",\");\n\t\t\tif (filename.equals(\"weather.csv\")) {\n\t\t\t\tif (oldKeyValue[0].equalsIgnoreCase(newKeyValue[0])) {\n\t\t\t\t\tshouldInsert = false;\n\t\t\t\t}\n\n\t\t\t} else if (filename.equals(\"tempHum.csv\")) {\n\t\t\t\tif (oldKeyValue[0].equalsIgnoreCase(newKeyValue[0])\n\t\t\t\t\t\t&& oldKeyValue[1].equalsIgnoreCase(newKeyValue[1])) {\n\t\t\t\t\tshouldInsert = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Append new data\n\t\t\tif (shouldInsert) {\n\t\t\t\tdataString += \"\\n\" + msg;\n\n\t\t\t\tminioClient.removeObject(\"smart-clock-settings\", filename);\n\t\t\t\tByteArrayInputStream bais = new ByteArrayInputStream(dataString.getBytes(\"UTF-8\"));\n\t\t\t\tminioClient.putObject(\"smart-clock-settings\", filename, bais, bais.available(),\n\t\t\t\t\t\t\"application/octet-stream\");\n\t\t\t\tbais.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"544577a7780ce4aa54cc263f6367e3dd","score":"0.52069813","text":"public void storeFile(File file);","title":""},{"docid":"e89f48ec66ca95913e7bdee29f3b6392","score":"0.5197855","text":"public void store() throws IOException {\n // private key\n try {\n Path p = Paths.get(KEY_FILE + name);\n if (!Files.exists(p)) {\n Files.createFile(p, KEYS_PERMS);\n OutputStream fout = Files.newOutputStream(p);\n fout.write(privateKey.getBytes());\n fout.close();\n } else {\n LOG.info(\"Private KeyPair File already exists. Continuing ...\");\n }\n } catch (IOException e){\n throw new IOException(\"Error writing private key :\"+e.getMessage(),e);\n }\n // public key\n try {\n Path p = Paths.get(KEY_FILE + name + \".pub\");\n if (!Files.exists(p)) {\n OutputStream fout = Files.newOutputStream(p);\n fout.write(publicKey.getBytes());\n fout.close();\n } else {\n LOG.info(\"Public KeyPair File already exists. Continuing ...\");\n }\n } catch (IOException e) {\n throw new IOException(\"Error writing public key :\"+e.getMessage(),e);\n }\n }","title":""},{"docid":"d8b1d6d44896be9236f3b7323550f9e6","score":"0.51959395","text":"com.google.protobuf.ByteString getStorageFile();","title":""},{"docid":"07a2d7cea25ca8499bf04fca77e92871","score":"0.51863575","text":"private void writeKeyToStorage(String fileKeyInBucketNotRecordedPreviously) {\n storageForLocationsPreviouslyLocated.putKey(fileKeyInBucketNotRecordedPreviously);\n }","title":""},{"docid":"03d346b6784bfd25bf725eb66970eea3","score":"0.51846385","text":"protected void onProgressUpdate(String...strings) {\n String strReceived = strings[0].trim();\n TextView myTextView = (TextView) findViewById(R.id.textView1);\n myTextView.append(strReceived + \"\\t\\n\");\n myTextView.append(\"\\n\");\n\n /*\n * The following code store our messages in Content provider using pair\n * is sequence of id increment by 1 and unique for each message\n * is actual message\n */\n\n String msg = strReceived + \"\\n\";\n ContentValues contentValues = new ContentValues();\n contentValues.put(\"key\", Integer.toString(msgID));\n contentValues.put(\"value\", msg);\n mContentResolver.insert(mUri, contentValues);\n msgID++;\n\n return;\n }","title":""},{"docid":"32087198ed99fbd0da3a3846cb521b73","score":"0.51808125","text":"private void export() {\n\t\tif(StatisticalName.isFold == 0){\n\t\t\tStatistics.onEvent(ExportItemSelectActivity.this, Statistics.MAIN_APP_EXPORT);\n\t\t}else{\n\t\t\tStatistics.onEvent(ExportItemSelectActivity.this, Statistics.MAIN_APP_FOLDER_EXPORT);\n\n\t\t}\n\t\t//gn pengwei 20120118 modify for CR00765638 end\n\t\tString file_path = getResources().getString(R.string.file_path);\n\t\tif(typeSelect == 0){\n\t\t\tLog.d(\"export_note_message_sd\");\n\t\t\tmessage=getResources().getString(R.string.export_note_message_sd, file_path , ImportExportUtils.exportFileName);\n\t\t\t//\t\t\tmessage = getResources().getString(R.string.export_note_message_sd) + getResources().getString(R.string.file_path) + ImportExportUtils.exportFileName + getResources().getString(R.string.export_note_message);\n\t\t}else if(typeSelect == 1){\n\t\t\tLog.d(\"export_note_message_internal\");\n\t\t\tmessage=getResources().getString(R.string.export_note_message_internal, file_path ,ImportExportUtils.exportFileName);\n\t\t\t//\t\t\tmessage =getResources().getString(R.string.export_note_message_internal) + getResources().getString(R.string.file_path) + ImportExportUtils.exportFileName + getResources().getString(R.string.export_note_message);\n\t\t}else{\n\n\t\t}\n\n\t\tdialogShow();\n\n\t\tfinal ImportExportUtils backup = ImportExportUtils\n\t\t.getInstance(ExportItemSelectActivity.this);\n\t\tnew AsyncTask() {\n\t\t private int exportCount = 0;\n\t\t\t@Override\n\t\t\tprotected Integer doInBackground(Void... params) {\n\t\t\t\t\n\t\t\t\t// Gionee <2013-03-19> add for set the state of export begin\n\t\t\t\tImportExportUtils.setExporting(true);\n\t\t\t\t// Gionee <2013-03-19> add for set the state of export end\n\n\t\t\t\tint result = ImportExportUtils.STATE_SUCCESS;\n\t\t\t\ttry {\n\t\t\t\t\tFile fileDir = backup.getExportedTextFileDir(typeSelect);\n\t\t\t\t\tif (fileDir == null) {\n\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t}\n\n\t\t\t\t\t// gn lilg 2012-12-26 add for common controls begin\n\t\t\t\t\t/*for (Group group : groupList) {\n\t\t\t\t\t\tGroupInfo groupInfo = group.getGroupInfo();\n\t\t\t\t\t\tif (groupInfo.isFolder()) {\n\t\t\t\t\t\t\t// folder and notes in it\n\t\t\t\t\t\t\tList childList = group.getChild();\n\t\t\t\t\t\t\tfor (ChildInfo child : childList) {\n\t\t\t\t\t\t\t\tif (child.isChecked()) {\n\t\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir,\n\t\t\t\t\t\t\t\t\t\t\tchild.getDbId(),\n\t\t\t\t\t\t\t\t\t\t\tgroupInfo.getDbId());\n\t\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\t\texportCount++;\n\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// root note\n\t\t\t\t\t\t\tif (groupInfo.isChecked()) {\n\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir,\n\t\t\t\t\t\t\t\t\t\tgroupInfo.getDbId(),\n\t\t\t\t\t\t\t\t\t\tConstants.NO_FOLDER);\n\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\texportCount++;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}*/\n\n\t\t\t\t\tfor (ExportItem item : dataList) {\n\t\t\t\t\t\tif(item.isChecked()){\n\t\t\t\t\t\t\tif (item.isFolder()) {\n\t\t\t\t\t\t\t\t// folder and notes in it\n\t\t\t\t\t\t\t\tList noteList = getNoteListFromFolder(item);\n\t\t\t\t\t\t\t\tif(noteList != null){\n\t\t\t\t\t\t\t\t\tfor (Note note : noteList) {\n\t\t\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir, note, item);\n\t\t\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\t\t\texportCount++;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// root note\n\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir, item.getDbId(), Constants.NO_FOLDER);\n\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\texportCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// gn lilg 2012-12-26 add for common controls end\n\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tresult = ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\n\t\t\tprotected void onProgressUpdate(Integer[] values) {\n\n\t\t\t\tif (values[0] > MAX_PROGRESS) {\n\t\t\t\t\tmProgressDialog.dismiss();\n\t\t\t\t} else {\n\t\t\t\t\tmProgressDialog\n\t\t\t\t\t.setMessage(message\n\t\t\t\t\t\t\t+ getResources()\n\t\t\t\t\t\t\t.getString(\n\t\t\t\t\t\t\t\t\tR.string.export_note_progress_message_first,\n\t\t\t\t\t\t\t\t\t(values[0] + 1), checkedNum));\n\t\t\t\t\t// mProgressDialog.setMessage(message + \"\\n\\n正在导出第\" +\n\t\t\t\t\t// (values[0] + 1) + \"个便签(共\"+ checkedNum +\"个)\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tprotected void onPostExecute(Integer result) {\n\t\t\t if(null == result){\n\t\t\t Log.d(\"onPostExecute-result=null\");\n\t\t\t return;\n\t\t\t }\n\t\t\t\t// Gionee <2013-03-19> add for set the state of export begin\n\t\t\t\tImportExportUtils.setExporting(false);\n\t\t\t\t// Gionee <2013-03-19> add for set the state of export end\n\t\t\t\t\n\t\t\t\t// gionee lilg 2013-01-28 modify for CR00768048 begin\n\t\t\t\t//gn pengwei 2013-1-8 modify for CR00761228 begin\n\t\t\t\t// dismiss the progressDialog only when the parent AmigoActivity is still alive.\n\t\t\t\tif(ExportItemSelectActivity.this != null && !ExportItemSelectActivity.this.isFinishing() && mProgressDialog != null){\n\t //Gionee <20130615> modify for CR00819335 begin\n\t\t\t\t\ttry {\n\t if(!isFinishing()){\n\t mProgressDialog.dismiss();\n\t }\n\t } catch (Exception e) {\n\t Log.e(\"ExportItemSelectActivity---onPostExecute---e == \" + e);\n\t }\n\t\t\t\t\t//Gionee <20130615> modify for CR00819335 end\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t//gn pengwei 2013-1-8 modify for CR00761228 end\n\t\t\t\t// gionee lilg 2013-01-28 modify for CR00768048 end\n\t\t\t\texportCount = 0;\n\t\t\t\tif (result == ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t//gionee 20121204 jiating modify for CR00739261 begin\n\n\t\t\t\t\tCommonUtils.showToast(ExportItemSelectActivity.this,getResources().getString(R.string.gn_exportnote_complete));\n\n\t\t\t\t\t//gionee 20121204 jiating modify for CR00739261 end\n\t\t\t\t\t// 保存导出记录时间\n\t\t\t\t\tsaveExportRecord();\n\n\t\t\t\t\t// 返回应用主页面\n\t\t\t\t\tHomeActivity.setInFolder(false);\n\t\t\t\t\tIntent intent = new Intent(ExportItemSelectActivity.this,\n\t\t\t\t\t\t\tHomeActivity.class);\n\t\t\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t// CR00733764\n\t\t\t\t\tsetResult(CommonUtils.RESULT_ExportItemSelectActivity);\n\t\t\t\t\tfinish();\n\t\t\t\t} else {\n\t\t\t\t\tshowExportErrorDialog();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}.executeOnExecutor((ExecutorService)Executors.newCachedThreadPool());\n\n\t}","title":""},{"docid":"c938827d888c82df314b21d04a27009f","score":"0.5160578","text":"@Override\n public void onResult(DriveApi.ContentsResult result) {\n if (!result.getStatus().isSuccess()) {\n Log.i(\"\", \"Failed to create new contents.\");\n return;\n }\n // Otherwise, we can write our data to the new contents.\n Log.i(\"\", \"New contents created.\");\n // Get an output stream for the contents.\n OutputStream outputStream = result.getContents().getOutputStream();\n // Write the bitmap data from it.\n ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\n imageData.compress(Bitmap.CompressFormat.PNG, 100, bitmapStream);\n try {\n outputStream.write(bitmapStream.toByteArray());\n } catch (IOException e1) {\n Log.i(\"\", \"Unable to write file contents.\");\n }\n // Create the initial metadata - MIME type and title.\n // Note that the user will be able to change the title later.\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\n .setMimeType(\"image/png\").setTitle(filePath).build();\n // Create an intent for the file chooser, and start it.\n IntentSender intentSender = Drive.DriveApi\n .newCreateFileActivityBuilder()\n .setInitialMetadata(metadataChangeSet)\n .setInitialContents(result.getContents())\n .build(mGoogleApiClient);\n try {\n startIntentSenderForResult(\n intentSender, REQUEST_CODE_CREATOR, null, 0, 0, 0);\n } catch (IntentSender.SendIntentException e) {\n Log.i(\"\", \"Failed to launch file chooser.\");\n }\n }","title":""},{"docid":"d1c23902e4f95f8b8614cfabae23789d","score":"0.5155269","text":"private void uploadFile() {\n if (filePath != null) {\n //displaying progress dialog while image is uploading\n final ProgressDialog progressDialog = new ProgressDialog(this);\n progressDialog.setTitle(\"Uploading\");\n progressDialog.show();\n\n //getting the storage reference\n receivedObject.get(listPosition).setBucketListUrl(\"gs://thebucketlist-bf5bf.appspot.com/Users/\"+userToken()+\"/\"+receivedObject.get(listPosition).getBucketListItem());\n receivedObject.get(listPosition).getBucketListUrl();\n updateDatabase();\n StorageReference sRef = storageReference.child(\"Users/\"+userToken()+\"/\"+receivedObject.get(listPosition).getBucketListItem());\n Log.d(\"XXX: debugging storage\", \"Reached here\");\n //adding the file to reference\n sRef.putFile(filePath)\n .addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n //dismissing the progress dialog\n progressDialog.dismiss();\n\n //displaying success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n\n //creating the upload object to store uploaded image details\n //Upload upload = new Upload(editTextName.getText().toString().trim(), taskSnapshot.getDownloadUrl().toString());\n\n //adding an upload to firebase database\n //String uploadId = mDatabase.push().getKey();\n //mDatabase.child(uploadId).setValue(upload);\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }\n })\n .addOnProgressListener(new OnProgressListener() {\n @Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n //displaying the upload progress\n double progress = (100.0 * taskSnapshot.getBytesTransferred()) / taskSnapshot.getTotalByteCount();\n progressDialog.setMessage(\"Uploaded \" + ((int) progress) + \"%...\");\n }\n });\n } else {\n //display an error if no file is selected\n }\n }","title":""},{"docid":"a290d3dc5ae87c5333e8e193f99e233a","score":"0.51522076","text":"public void tieUp() {\n\t\tif(!this.isInitialized.getAndSet(false)) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tsm.unregisterListener(this);\n\t\ttry {\n\t\t\tFile fileHandle = fileWriter.close();\n\t\t\tLOG.debug(\"{} ({} bytes) was written to filesystem.\", fileHandle, fileHandle.length());\n\t\t\t\n\t\t\t// store meta information in the database\n\t\t\tfinal int length = 0;\t\t\t// TODO calculate length [in seconds]\n\t\t\tfinal int height = 0;\t\t\t// TODO calculate resolution [height]x[width]\n\t\t\tfinal int width = 0;\n\t\t\tfinal String resolution = height + \"x\" + width; \n\t\t\t\n\t\t\tFilePOJO fileEntity = new FilePOJO(author, fileHandle.getName(), filename, \n\t\t\t\t\tthis.mediaUrlPrefix + String.valueOf(author) + \"/\" + fileHandle.getName(), \n\t\t\t\t\tthis.urlDefaultThumbnail, \n\t\t\t\t\tthis.mediaType, \n\t\t\t\t\tnew Date(), \n\t\t\t\t\tfileHandle.length(), \n\t\t\t\t\t0, 0, \n\t\t\t\t\tfalse, false, \n\t\t\t\t\tlength, \n\t\t\t\t\theight, width, resolution);\n\n\t\t\tif(!dbConnection.insertFile(fileEntity)) {\n\t\t\t\tLOG.error(\"Could not write file metadata of file {} to database!\", fileHandle.getName());\n\t\t\t}\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tLOG.error(\"File was not completely written!\", e);\n\t\t\tSystem.out.println(\"File was not completely written.\");\n\t\t} finally {\n\t\t\tthis.dbConnection.close();\n\t\t}\n\t}","title":""},{"docid":"05ffdfe4d553373cad23ae3483fea1bc","score":"0.51506263","text":"@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //displaying success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n\n //creating the upload object to store uploaded image details\n //Upload upload = new Upload(editTextName.getText().toString().trim(), taskSnapshot.getDownloadUrl().toString());\n\n //adding an upload to firebase database\n //String uploadId = mDatabase.push().getKey();\n //mDatabase.child(uploadId).setValue(upload);\n }","title":""},{"docid":"f977abf32c0bbe326bfb78121f07bd86","score":"0.5142854","text":"public void save() throws FileNotFoundException {\n try {\n outputStream = openFileOutput(filename, Context.MODE_PRIVATE);\n ObjectOutputStream oos = new ObjectOutputStream(outputStream);\n oos.writeObject(Gallery.getInstance().saveGames(context).toString());\n oos.close();\n } catch (IOException ie) {\n ie.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"797d19cc0d56af804ba8e64cb9f81911","score":"0.5141417","text":"public void save() {\n \t\tTimestamp timestamp = new Timestamp(System.currentTimeMillis());\r\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy.MM.dd.HH.mm.ss\");\r\n new File(\"./data/\").mkdirs();\r\n \t\ttry (PrintWriter out = new PrintWriter(\"./data/\" + sdf.format(timestamp)+\".csv\")) {\r\n \t\t out.println(saveContent.toString());\r\n \t \t\tsaveContent.setLength(0);\r\n \t \t\tsaveContent.append(\"TYPE,VALUE,TIMESTAMP\");\r\n \t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n \t\t\r\n \t}","title":""},{"docid":"061ba6e6b8506401e6643183696a2c0e","score":"0.5133554","text":"private void uploadToStorage(Uri uri){\n StorageReference photoRef = storageReference.child(uri.getLastPathSegment());\n\n //upload to storage\n photoRef.putFile(uri).addOnSuccessListener(this, new OnSuccessListener() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadURL = taskSnapshot.getDownloadUrl();\n FriendlyMessage friendlyMessage = new FriendlyMessage(null,mUsername,downloadURL.toString());\n databaseReference.push().setValue(friendlyMessage);\n }\n });\n\n\n }","title":""},{"docid":"9a5839fa887e885119c2207f08cc1d41","score":"0.51282597","text":"public void saveMessage(Message msg) {\n\t\tList fileHeader = new LinkedList();\r\n\t\tint lnNum = 0;\r\n\t\tString ln;\r\n\t\twhile ((ln = readLine(lnNum)).startsWith(\"#\")) {\r\n\t\t\tfileHeader.add(ln);\r\n\t\t\tlnNum++;\r\n\t\t}\r\n\t\t\r\n\t\t// Create a map to hold the information from the message.\r\n\t\tMap msgData = new LinkedHashMap(); // Use a LinkedHashMap in order to preserve the order of entries.\r\n\t\tMap senderData = new LinkedHashMap(); // A map to hold the sender data. Will be added to msgData.\r\n\t\tmsgData.put(\"text\", msg.getText());\r\n\t\t\r\n\t\tsenderData.put(\"name\", msg.getSender().getName());\r\n\t\tsenderData.put(\"displayName\", msg.getSender().getDisplayName());\r\n\t\tsenderData.put(\"id\", msg.getSender().getId());\r\n\t\tsenderData.put(\"role\", msg.getSender().getRole().name());\r\n\t\t\r\n\t\tmsgData.put(\"sender\", senderData);\r\n\t\tmsgData.put(\"timeStamp\", msg.getTimeStamp());\r\n\t\t\r\n\t\tYaml yaml = new Yaml();\r\n//\t\tSystem.out.println(yaml.dump(msgData));\r\n//\t\tString yamlMessage = yaml.dump(msgData);\r\n\t\t\t\t\r\n\t\tFileInputStream ioStream = null;\r\n\t\tFileWriter writer = null;\r\n\t\ttry {\r\n\t\t\tioStream = new FileInputStream(filePath);\r\n\t\t\tMap msgCabinet = (Map) yaml.load(ioStream);\r\n\t\t\tList> messageList = (List>) msgCabinet.get(\"messages\");\r\n\t\t\t\r\n//\t\t\tSystem.out.println(\"msgCabinet:\\n\" + msgCabinet + \"\\n\");\r\n\t\t\tmessageList.add(msgData);\r\n//\t\t\tSystem.out.println(\"msgCabinet:\\n\" + msgCabinet);\r\n\t\t\t\r\n\t\t\twriter = new FileWriter(filePath);\r\n\t\t\tfor (String str : fileHeader) {\r\n\t\t\t\twriter.append(str + \"\\n\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tyaml.dump(msgCabinet, writer);\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tif (ioStream != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tioStream.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (writer != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\twriter.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"4ca7f9bb67ae31e968a5e34b0810eac3","score":"0.51206565","text":"public void SavingData(JSONObject toWrite){\n\n try {\n// openFileOutput contains the file in Output mode\n\n foust = openFileOutput(\"data\", MODE_PRIVATE);\n foust.write(toWrite.toString().getBytes());\n } catch (FileNotFoundException e) {\n Log.e(\"file not found\",e.getMessage());\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"63c78cf5aa0082bd39cff76e4b23c184","score":"0.511076","text":"static void writeFile(String message){\n try {\n bwf.write(message + \"\\n\");\n bwf.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"00ed7ee9578ec746c2f246dc1c077b88","score":"0.5109558","text":"@Override\n public void onIMTransactionFileUploadCallback(BDHiFile bdhiFile, boolean result) {\n if (result) {\n LogUtil.printIm(getThreadName(), \"BDHiFile upload success: \" + bdhiFile);\n if (removeFileContent(bdhiFile) && mFileMap.isEmpty()) {\n // Send All Files Finished\n messageBuilder = OneMsgConverter.convertIMMessage(imMessage);\n LogUtil.printIm(getThreadName(), \"Send All files finished\");\n for (Image image : messageBuilder.getContent().getImagesList()) {\n LogUtil.printIm(getThreadName(), image.getUrl());\n }\n // 017 send one msg\n sendMsg();\n }\n } else {\n LogUtil.printIm(getThreadName(), \"BDHiFile upload failed: \" + imMessage.toString());\n if (removeFileContent(bdhiFile)) {\n clearFileContents();\n imMessage.setStatus(IMMessageStatus.FAILED);\n // 015 convert IMMessage into MessageBuilder\n messageBuilder = OneMsgConverter.convertIMMessage(imMessage);\n if (null != messageBuilder) {\n // Save OneMsg into msgBody\n imMessage.setBody(messageBuilder.toByteArray());\n // Save IMMessage to db\n msgStore.saveIMMessage(imMessage);\n }\n // 016 Notify User\n if (null != callback) {\n Map changes = new HashMap();\n changes.put(IMMessageChange.STATUS, IMMessageStatus.FAILED);\n LogUtil.printIm(getThreadName(), \"Notify user sendMsg result.\");\n callback.onMessageChanged(imMessage, changes);\n }\n }\n }\n }","title":""},{"docid":"65fc19b5849bc9de22e8a933cb87274c","score":"0.51077104","text":"@Override\n\tpublic void writeToFile() {\n\t\t\n\t}","title":""},{"docid":"1cc21f8a9002c1843afc40195d1a2203","score":"0.51063055","text":"@Override\n\tprotected Response doInBackground(FileServiceInfo... params) {\n\t\tResponse response = new Response();\n\t\t\n\t\tFileServiceInfo fsInfo = params[0];\n\t\tArrayList dataList = fsInfo.getFilesToSave();\n\t\t\n\t\tif(dataList != null && dataList.size() > 0) {\n\t\t\t\n\t\t\tFileStatus status = FileStatus.WRITE_FAILED;\n\t\t\t\n\t\t\tfor(FileData fileData : dataList) {\n\t\t\t\t\n\t\t\t\tString dir = fileData.getDir();\n\t\t\t\tString fileName = fileData.getFileName();\n\t\t\t\tbyte[] data = fileData.getData();\n\t\t\t\t\n\t\t\t\tif(fileData.getFileType() == FileType.IMAGE) {\n\t\t\t\t\tstatus = FileHelper.saveImage( dir, fileName, data);\n\t\t\t\t}\n\t\t\t\telse if(fileData.getFileType() == FileType.TEXT){\n\t\t\t\t\tstatus = FileHelper.saveFile( dir , fileName, data );\n\t\t\t\t}\n\t\t\t\telse if(fileData.getFileType() == FileType.TEXT_APPEND ) {\n\t\t\t\t\tstatus = FileHelper.appendToFile( dir , fileName, data );\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(status != FileStatus.WRITE_SUCCESSFUL) {\n\t\t\t\t\tresponse.setStatus(ResponseStatus.FAILED, status.toString());\n\t\t\t\t\treturn response;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tresponse.setStatus(ResponseStatus.SUCCESS, status.toString());\n\t\t\t\n\t\t}\n\t\t\n\t\treturn response;\n\t\t\n\t}","title":""},{"docid":"1f702f800136612fa7ade1866bf79f45","score":"0.5105797","text":"@Override\n protected void onPostExecute(Boolean result) {\n mProgress.dismiss();\n LocalBook lb = new LocalBook();\n lb.setName(saveAs);\n lb.setPath(filepath);\n insertLocalBook(lb);\n super.onPostExecute(result);\n }","title":""},{"docid":"ee9032782610422a3901b20815f988b0","score":"0.5105271","text":"public void SaveToFirebase() {\n StorageReference storageRef = FirebaseStorage.getInstance().getReferenceFromUrl\n (\"gs://muphotospot.appspot.com\");\n String currentDateTimeString = DateFormat.getDateTimeInstance().format(new Date());\n\n StorageReference mountainsRef = storageRef.child(\"/pictures\"\n + currentDateTimeString + \".jpg\");\n\n // Create a reference to 'images/pictures.jpg'\n StorageReference mountainImagesRef = storageRef.child(getLocationText + \"/pictures\"\n + currentDateTimeString + \".jpg\");\n\n Uri file = Uri.fromFile((new File(mCurrentPhotoPath))); //initialize Uri file from local path that keep the saved picture\n UploadTask uploadTask = mountainImagesRef.putFile(file); //put file\n uploadTask.addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n // Handle unsuccessful uploads\n }\n }).addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n // taskSnapshot.getMetadata() contains file metadata such as size, content-type, and download URL.\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n sentData(downloadUrl);\n }\n });\n }","title":""},{"docid":"69b768615c14b5cd65bad1773afe05cb","score":"0.5101358","text":"public void writeToFile(final String title, final byte[] content) {\r\n\t\t// Make a request to get a stream for writing to the file,\r\n\t\tgetDriveContents(title, DriveFile.MODE_WRITE_ONLY, new Callback() {\r\n\t\t\t@Override\r\n\t\t\tpublic void callback(DriveContents contents) {\r\n\t\t\t\t// Write the desired data to the end of the file.\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcontents.getOutputStream().write(content);\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t// Upload the changes to the drive client.\r\n\t\t\t\t// null because there are no metadata changes.\r\n\t\t\t\tcontents.commit(driveClient, null);\r\n\t\t\t}\r\n\t\t});\r\n\t}","title":""},{"docid":"0c2128dbe9ec64cf2a3edbff94263a37","score":"0.51003087","text":"@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n final Uri downloadUrl = taskSnapshot.getDownloadUrl();\n// Toast.makeText(UploadMemoryActivity.this, \"Yes\", Toast.LENGTH_SHORT).show();\n myRef = myRef.child(\"Memories\").push();\n String memoryKey = myRef.getKey();\n //String newKey = uUserDatabaseReference.push().getKey();\n //uUserDatabaseReference.child(newKey).setValue(memoryKey);\n myRef.runTransaction(new Transaction.Handler() {\n @Override\n public Transaction.Result doTransaction(MutableData mutableData) {\n myRef.child(\"userID\").setValue(mAuth.getCurrentUser().getUid());\n myRef.child(\"Picture URL\").setValue(downloadUrl.toString());\n return null;\n }\n\n @Override\n public void onComplete(DatabaseError databaseError, boolean b, DataSnapshot dataSnapshot) {\n// Toast.makeText(UploadMemoryActivity.this, \"Successful\", Toast.LENGTH_SHORT).show();\n AlertDialog dialog = new AlertDialog.Builder(view.getContext())\n .setTitle(\"Pictue uploaded successfully!\")\n .setPositiveButton(\"ok\",dialogClickListener)\n .show();\n }\n });\n }","title":""},{"docid":"f1d55a20ff061356bfefe657bee33c29","score":"0.5093627","text":"@Override\n public synchronized void put(String key, CacheEntry entry) {\n\t\tif (!canCache(entry)) {\n\t\t\treturn;\n\t\t}\n\t\tResponseBody body = entry.getData().getBody();\n\t\tLegolas.getLog().d(\"DiskCache put \" + key);\n\t\t\n\t\tpruneIfNeeded((int) body.length());\n File file = getFileForKey(key);\n File configFile = getConfigFileForKey(key);\n FileOutputStream configFileOut = null;\n try {\n\t\t\t// 写流\n\t\t\t//如果是需要加密,直接在方法writeStream加密就好了\n \tChecksum checksum = writeResponseBodyToFile(body, file, DEFAULT_BUFFER_SIZE);\n \tString sumValue = checksumToString(checksum);\n \t\t\t\n\t\t\t//writeConfigFile\n\t\t\tconfigFileOut = new FileOutputStream(configFile, false);\n\t\t\tCacheHeader e = new CacheHeader(key, entry, sumValue);\n\t\t\te.writeHeader(configFileOut);\n\t\t\tconfigFileOut.flush();\n \n putEntry(key, e);\n return;\n } catch (IOException e) {\n \tLegolas.getLog().w(\"save cache file fail\", e);\n\t\t} finally {\n\t\t\tcloseStream(configFileOut);\n\t\t}\n }","title":""},{"docid":"da3139c02f1bde17299cf8d2cca1114a","score":"0.5084367","text":"@Override\n public void onComplete(@NonNull Task task) {\n url =task.getResult().toString(); // retrieve download url\n // create firebase database reference\n DatabaseReference reference = database.getReference();\n DatabaseReference historydb = reference.child(currentUser).child(\"history\");\n // once file is upload to cloud, store the download url in firebase database\n historydb.child(fileName1).setValue(url).addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n if (task.isSuccessful()){\n Toast.makeText(UserRecords.this,\"File Uploaded\",Toast.LENGTH_SHORT).show();\n }\n else\n Toast.makeText(UserRecords.this,\"Upload failed\",Toast.LENGTH_SHORT).show();\n }\n });\n }","title":""},{"docid":"1f33e355f285912182b55691404d807d","score":"0.5070665","text":"public byte[] serianized(DefaultBytesMessage message,KeyValue properties){\n\n if (atomicIntegerFileName.get() == 0) {\n Set headerKeySet = message.headers().keySet();\n\n int headNum = headerKeySet.size();\n\n\n byte[][] headerKeyByte = new byte[headNum][];\n\n Iterator iterator = headerKeySet.iterator();\n int indexNum = 0;\n while (iterator.hasNext()) {\n\n String headerKey = iterator.next();\n headerKeyByte[indexNum++] = headerKey.getBytes();\n }\n Set propertiesKeySet = message.properties().keySet();\n int propertiesNum = propertiesKeySet.size();\n\n byte[][] propertiesKeyByte = new byte[propertiesNum][];\n\n Iterator i = propertiesKeySet.iterator();\n int index = 0;\n while (i.hasNext()){\n String propertiesKey = i.next();\n propertiesKeyByte[index++] = propertiesKey.getBytes();\n\n\n\n }\n int length = 0;\n for (byte[] b : headerKeyByte) {\n length += b.length;\n\n ++length;\n }\n for (byte[] b : propertiesKeyByte) {\n length += b.length;\n ++length;\n }\n byte[] messageByte = new byte[length + 2];\n int num = 0;\n messageByte[num++] = (byte)headNum;\n messageByte[num++] = (byte)propertiesNum;\n\n\n\n for (int ind = 0;ind < headerKeyByte.length;ind++) {\n byte len = (byte) headerKeyByte[ind].length;\n messageByte[num++] = len;\n for (int check = 0;check < headerKeyByte[ind].length;check++) {\n messageByte[num++] = headerKeyByte[ind][check];\n\n }\n\n\n\n\n\n }\n\n for (int ind = 0;ind < propertiesKeyByte.length;ind++) {\n byte len = (byte) propertiesKeyByte[ind].length;\n messageByte[num++] = len;\n for (int check = 0;check < propertiesKeyByte[ind].length;check++) {\n messageByte[num++] = propertiesKeyByte[ind][check];\n\n }\n\n\n }\n ByteBuffer byteBuffer = ByteBuffer.allocateDirect(messageByte.length);\n byteBuffer.put(messageByte);\n\n\n File file = new File(properties.getString(\"STORE_PATH\") + \"/\" + \"keys\");\n\n\n if (!file.exists()) {\n try {\n file.createNewFile();\n } catch (IOException e) {\n e.printStackTrace();\n\n }\n }\n\n Path path = Paths.get(file.getAbsolutePath());\n\n AsynchronousFileChannel asynchronousFileChannel = null;\n\n try {\n asynchronousFileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.WRITE);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\n\n byteBuffer.flip();\n\n\n asynchronousFileChannel.write(byteBuffer, 0,asynchronousFileChannel, new CompletionHandler() {\n @Override\n public void completed(Integer result, AsynchronousFileChannel attachment) {\n try {\n attachment.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n }\n\n @Override\n public void failed(Throwable exc, AsynchronousFileChannel attachment) {\n\n try {\n attachment.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n });\n\n\n }\n\n\n Set headerKeySet = message.headers().keySet();\n\n int headNum = headerKeySet.size();\n\n\n\n byte[][] headerValueByte = new byte[headNum][];\n Iterator iterator = headerKeySet.iterator();\n int indexNum = 0;\n while (iterator.hasNext()){\n\n String headerKey = iterator.next();\n String headerValue = message.headers().getString(headerKey);\n\n headerValueByte[indexNum++] = headerValue.getBytes();\n\n }\n/*FileChannel fileChannel;\n MappedByteBuffer map = fileChannel.map(new FileChannel.MapMode(), 0, 0);\n map.array();*/\n Set propertiesKeySet = message.properties().keySet();\n int propertiesNum = propertiesKeySet.size();\n\n\n byte[][] propertiesValueByte = new byte[propertiesNum][];\n Iterator i = propertiesKeySet.iterator();\n int index = 0;\n while (i.hasNext()){\n String propertiesKey = i.next();\n String propertiesValue = message.properties().getString(propertiesKey);\n\n propertiesValueByte[index++] = propertiesValue.getBytes();\n\n\n\n }\n\n\n\n byte[] body = message.getBody();\n\n int length = body.length;\n\n for (byte[] b : headerValueByte) {\n length += b.length;\n\n length = length + 3;\n }\n\n for (byte[] b : propertiesValueByte) {\n length += b.length;\n\n length = length + 3;\n }\n\n\n\n byte[] messageByte = new byte[length + 5];\n int num = 0;\n messageByte[num++] = (byte)headNum;\n messageByte[num++] = (byte)propertiesNum;\n\n\n\n for (int ind = 0;ind < headerValueByte.length;ind++) {\n\n\n\n\n\n int len2 = headerValueByte[ind].length;\n int j=0;//j��ʾ�������ٸ��ֽ�\n\n int h=0;\n\n if(len2>16129){\n h = len2/16129;\n len2 = len2%16129;\n }\n if(len2>127){\n j = len2/127;\n len2 = len2%127;\n }\n\n messageByte[num++] = (byte) h;\n messageByte[num++] = (byte) j;\n messageByte[num++] = (byte) len2;\n\n\n\n\n for (int check2 = 0;check2 < headerValueByte[ind].length;check2++) {\n messageByte[num++] = headerValueByte[ind][check2];\n\n }\n\n }\n\n\n for (int ind = 0;ind < propertiesValueByte.length;ind++) {\n\n\n int len2 = propertiesValueByte[ind].length;\n int j=0;//j��ʾ�������ٸ��ֽ�\n int h=0;\n\n if(len2>16129){\n h = len2/16129;\n len2 = len2%16129;\n }\n if(len2>127){\n j = len2/127;\n len2 = len2%127;\n }\n messageByte[num++] = (byte) h;\n messageByte[num++] = (byte) j;\n messageByte[num++] = (byte) len2;\n for (int check2 = 0;check2 < propertiesValueByte[ind].length;check2++) {\n messageByte[num++] = propertiesValueByte[ind][check2];\n\n }\n\n }\n\n\n int len = body.length;\n int j=0;//j��ʾ�������ٸ��ֽ�\n int h=0;\n\n if(len>16129){\n h = len/16129;\n len = len%16129;\n }\n if(len>127){\n j = len/127;\n len = len%127;\n }\n\n messageByte[num++] = (byte) h;\n messageByte[num++] = (byte) j;\n messageByte[num++] = (byte) len;\n\n for (int bodyIndex = 0; bodyIndex < body.length;bodyIndex++) {\n messageByte[num++] = body[bodyIndex];\n }\n\n return messageByte;\n }","title":""},{"docid":"ad6cf3fbe7cb567b0a710336d846ff05","score":"0.5070574","text":"private static void addMessageToCache(Context context, String phone, String msg) {\n try {\n String cachedMsg = phone + \":\" + msg + MESSAGE_DELIMITER;\n Log.i(TAG, \"Caching \" + cachedMsg);\n FileOutputStream fos = context.openFileOutput(CACHE_FILE, Context.MODE_APPEND);\n fos.write(cachedMsg.getBytes());\n fos.close();\n ++messagesCached;\n Log.i(TAG, \"Cached \" + cachedMsg);\n } catch (FileNotFoundException e) {\n Log.e(TAG, \"File not found error writing to cache file\");\n e.printStackTrace();\n } catch (IOException e) {\n Log.e(TAG, \"I/O Error writing to cache file\");\n e.printStackTrace();\n }\n }","title":""},{"docid":"ae2513e2784598d61666d65106a808cf","score":"0.50696135","text":"@Override\r\n protected void onPostExecute(com.goodow.api.services.attachment.model.Attachment execute) {\n super.onPostExecute(execute);\r\n out : do {\r\n if (null == execute || execute.getId() == null) {\r\n break out;\r\n }\r\n\r\n CollaborativeMap newFile = newModel.createMap(null);\r\n\r\n if (null == newFile) {\r\n break;\r\n }\r\n\r\n for (int i = 0; i < newList.length(); i++) {\r\n CollaborativeMap map = newList.get(i);\r\n if (execute.getBlobKey().equals(map.get(\"blobKey\"))) {\r\n newList.remove(i);\r\n }\r\n }\r\n\r\n newFile.set(\"url\", DriveModule.DRIVE_SERVER + \"/serve?id=\" + attachmentId);\r\n newFile.set(\"progress\", \"0\");\r\n newFile.set(\"status\", GlobalConstant.DownloadStatusEnum.WAITING.getStatus());\r\n\r\n newFile.set(\"label\", execute.getFilename());\r\n newFile.set(\"blobKey\", execute.getBlobKey());\r\n newFile.set(\"id\", execute.getId());\r\n newFile.set(\"type\", execute.getContentType());\r\n\r\n String thumbnail = execute.getThumbnail();\r\n if (null != thumbnail) {\r\n // 修正缩略图地址\r\n thumbnail = Tools.modifyThumbnailAddress(thumbnail);\r\n newFile.set(\"thumbnail\", thumbnail);\r\n }\r\n\r\n newList.push(newFile);\r\n\r\n Log.i(TAG, \"new download rescource:\" + newList.toString());\r\n } while (false);\r\n }","title":""},{"docid":"e9417dfc71c3462ef11a11d14c0cdfee","score":"0.50652367","text":"protected abstract void writeMediaFile();","title":""},{"docid":"3f5d340276b8b4f3c70487f6087d2e4b","score":"0.5064881","text":"void storeDataFor(byte[] data, String key, String jobId, Service service) throws IOException;","title":""},{"docid":"c58bf9b4d83b724e081a5742693b9c61","score":"0.50598806","text":"private void saveStringToFile(String content, String directoryName, String fileName) {\n File directory = new File(directoryName);\n if (!directory.exists()) {\n directory.mkdir();\n }\n try {\n BufferedWriter writer = new BufferedWriter(new FileWriter(directoryName + \"/\" + fileName, true));\n writer.write(content);\n writer.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"b87e3662b5ccae8297181ff58a8cd436","score":"0.5051628","text":"public void receiveFile() throws ClassNotFoundException, IOException {\r\n\r\n\t\tString extension = (String) input.readObject();\r\n\t\tbyte[] fileContent = null;\r\n\t\tfileContent = (byte[]) input.readObject();\r\n\r\n\t\tint userSaveFile = receiver.showSaveDialog(new JFrame());\r\n\r\n\t\tif (userSaveFile == JFileChooser.APPROVE_OPTION) {\r\n\t\t\tFile directory = receiver.getCurrentDirectory();\r\n\t\t\tString filename = receiver.getSelectedFile().getName();\r\n\t\t\tFile fileToSave = new File(directory + \"\\\\\" + filename + extension);\r\n\t\t\tSystem.out.println(receiver.getCurrentDirectory());\r\n\t\t\tSystem.out.println(filename);\r\n\t\t\tFiles.write(fileToSave.toPath(), fileContent);\r\n\t\t} // end if\r\n\r\n\t}","title":""},{"docid":"932b6f78ee1c5959dda5a4c10ffe73a0","score":"0.5044804","text":"public synchronized void setContent(Object content) {\n writeFileSerialized(content);\n touch();\n }","title":""},{"docid":"bb1723c91ebeaf7bd8b6073f4be8a0f1","score":"0.503557","text":"protected void storeFile(File file, String body) throws HTTPProtocolException {\n try {\n //If the directory not exist, create it\n file.getParentFile().mkdirs();\n BufferedWriter writer;\n writer=new BufferedWriter (new FileWriter(file));\n if (body != null)\n writer.write(body);\n writer.close();\n } catch (IOException e) {\n throw new HTTPProtocolException(\"Error storing file\");\n }\n }","title":""},{"docid":"0364985c1b873d7c2ee7339d11611aa1","score":"0.50325894","text":"public void uploadFileMembre(FileEntryEvent ev){\n\t\tFileEntry fiE = (FileEntry)ev.getSource();\n\t\t//récupérer ses results\n\t\tFileEntryResults fr = fiE.getResults();\n\t\t\n\t\t// Create an instance of SimpleDateFormat used for formatting \n\t\t\t\t// the string representation of date (month/day/year)\n\t\t\t\tDateFormat df = new SimpleDateFormat(\"dd/MM/yyyyHH:mm:ss\");\n\n\t\t\t\t// Get the date today using Calendar object.\n\t\t\t\tDate today = Calendar.getInstance().getTime(); \n\t\t\t\t// Using DateFormat format method we can create a string \n\t\t\t\t// representation of a date with the defined format.\n\t\t\t\tString reportDate = df.format(today);\n\t\t\n\t\t\n\t\t//boucler sur les FileInfo\n\t\tfor(FileEntryResults.FileInfo fi: fr.getFiles()){\n\t\t\t//s'assurer que le fichier est enregistrer\n\t\t\tif(fi.isSaved()){\n\t\t\t\tSystem.out.println(\"le nom ========= \"+fi.getFileName());\n\t\t\t\t//recu le fichier\n\t\t\t\tFile f = fi.getFile();\n\t\t\t\t\n\t\t\t\t//TODO verifier que c'est le bon type de fichier\n\t\t\t\t//renommer\n\t\t\t\ttry {\n\t\t\t\t\tString cheminApp=FacesContext.getCurrentInstance().getExternalContext().getRealPath(\"/\");\n\t\t\t\t\tString newch=cheminApp;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tboolean ren=f.renameTo(new File(newch+\"/photos/\"+fi.getFileName()));\n\t\t\t\t\t\n\t\t\t\t\tif (ren) {\n\t\t\t\t\t\tthis.chemin=fi.getFileName();\n\t\t\t\t\t\tSystem.out.println(newch);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"pas possible. \"+newch);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t//ajouter un message \n\t\t\t\tFacesContext.getCurrentInstance().addMessage(fiE.getClientId(),new FacesMessage(\"le fichier a été uploadé\"));\n\t\t\t}}\n\t\t\t\n\t\t}","title":""},{"docid":"4a7ebfa03ca34354f5c1a264b5efdc1f","score":"0.502778","text":"@Override\r\n\tpublic void createFile(String path, byte[] content) throws IOException {\n\r\n\t}","title":""},{"docid":"32a7f05c2d17e87bdbcc95bfac675a42","score":"0.5021354","text":"@Override\n public void onComplete(int result, int err)\n {\n if (mProgressDialog != null)\n {\n mProgressDialog.dismiss();\n mProgressDialog = null;\n }\n\n if (result == SODocSave_Succeeded)\n {\n // As an example, add this to the list of files\n // to be deleted on closing document.\n addDeleteOnClose(tempPath);\n\n displayDialogue(\"Information\",\n \"Document saved to '\" + tempPath +\n \"'.\\n\\n\" +\n \"Please implement a custom share \" +\n \"handler\");\n }\n else\n {\n displayDialogue(\"Information\",\n String.format(\"shareHandler failed: %d %d\", result, err));\n }\n\n if (mSecureFs != null)\n {\n // Convert the file path into a real path for sharing\n // purposes.\n String realPath =\n tempPath.replace(mSecurePrefix, mSecurePath);\n }\n\n // Do something with the file then delete it.\n }","title":""},{"docid":"e96cb599b91cb9ae71431078daadf926","score":"0.50192696","text":"protected void aboutToSave(File file)\r\n\t{\r\n\t}","title":""},{"docid":"64bfa335a8b6c58a808787eb0448eecc","score":"0.50152","text":"public void getFile(ByteBuffer buffer, SelectionKey key) {\r\n String fileName = \"\";\r\n try {\r\n\r\n // skip full buffer size\r\n buffer.getInt();\r\n\r\n int fileNameSize = buffer.getInt();\r\n byte[] fileNameInput = new byte[fileNameSize];\r\n buffer.get(fileNameInput);\r\n fileName = new String(fileNameInput, StandardCharsets.UTF_8);\r\n int size = buffer.getInt();\r\n\r\n byte[] input = new byte[buffer.limit() - buffer.position()];\r\n byte[] full_input;\r\n\r\n buffer.get(input);\r\n\r\n if (size > BUFFER_SIZE) {\r\n SocketChannel client = (SocketChannel) key.channel();\r\n byte[] input1 = FileReader.readFile(client, size);\r\n\r\n full_input = FileReader.concatByteArrays(input, input1, size);\r\n\r\n } else {\r\n full_input = new byte[size];\r\n System.arraycopy(input, 0, full_input, 0, size);\r\n }\r\n\r\n try {\r\n System.out.println(\"Writes file \" + fileName);\r\n if (!Files.exists(Paths.get(SERVER_PACKAGE))) {\r\n Files.createDirectory(Paths.get(SERVER_PACKAGE));\r\n }\r\n Files.write(Paths.get(SERVER_PACKAGE + \"/\" + fileName), full_input);\r\n\r\n broadcast(\"Uploaded file \" + fileName);\r\n messages.add(\"Uploaded file \" + fileName);\r\n\r\n key.cancel();\r\n try {\r\n key.channel().close();\r\n } catch (IOException e) {\r\n System.err.println(\"Can not close channel\");\r\n }\r\n } catch (Exception e) {\r\n System.out.println(\"Problems occurred while writing file to server package: \" + e);\r\n }\r\n\r\n\r\n } catch (Exception e) {\r\n System.out.println(\"Some problems while getting file from client: \" + e);\r\n }\r\n\r\n\r\n }","title":""},{"docid":"827dd04babf660a6dc34d419dedd1606","score":"0.5009215","text":"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n //---FOR PICKING IMAGE FROM GALLERY ACTIVITY AND SENDING---\n if(requestCode == GALLERY_PICTURE && resultCode == RESULT_OK){\n\n //---GETTING IMAGE DATA IN FORM OF URI--\n Uri imageUri = data.getData();\n final String current_user_ref = \"messages/\"+currUserId+\"/\"+chatUser;\n final String chat_user_ref = \"messages/\"+ chatUser +\"/\"+currUserId;\n\n DatabaseReference user_message_push = rootReference.child(\"messages\")\n .child(currUserId).child(chatUser).push();\n\n final String push_id = user_message_push.getKey();\n\n //---PUSHING IMAGE INTO STORAGE---\n StorageReference filepath = imageStorage.child(\"message_images\").child(push_id+\".jpg\");\n filepath.putFile(imageUri).addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n\n if(task.isSuccessful()){\n\n @SuppressWarnings(\"VisibleForTests\")\n String download_url = task.getResult().getMetadata().getReference().getDownloadUrl().toString();\n\n Map messageMap = new HashMap();\n messageMap.put(\"message\",download_url);\n messageMap.put(\"seen\",false);\n messageMap.put(\"type\",\"image\");\n messageMap.put(\"time\",ServerValue.TIMESTAMP);\n messageMap.put(\"from\",currUserId);\n\n Map messageUserMap = new HashMap();\n messageUserMap.put(current_user_ref+\"/\"+push_id,messageMap);\n messageUserMap.put(chat_user_ref+\"/\"+push_id,messageMap);\n\n rootReference.updateChildren(messageUserMap, new DatabaseReference.CompletionListener(){\n\n @Override\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\n if(databaseError != null){\n Log.e(\"CHAT_ACTIVITY\",\"Cannot add message to database\");\n }\n else{\n Toast.makeText(ChatActivity.this, \"Message sent\", Toast.LENGTH_SHORT).show();\n messageView.setText(\"\");\n }\n\n }\n });\n }\n\n }\n });\n\n\n }\n\n }","title":""},{"docid":"88685e909e0dceefd664a53fe1d42af8","score":"0.5000182","text":"@Override\n\t\t\tpublic void onProgress(int currentLength, int contentLength){\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"6b0b657889c90d5ffa736fe98d9c1e02","score":"0.4994397","text":"private void saveFileToDrive() throws IOException {\n // Start by creating a new contents, and setting a callback.\n Log.i(TAG, \"Creating new contents.\");\n\n mDriveResourceClient\n .createContents()\n .continueWithTask(\n new Continuation>() {\n @Override\n public Task then(@NonNull Task task) throws Exception {\n return createFileIntentSender(task.getResult());\n }\n })\n .addOnFailureListener(\n new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(TAG, \"Failed to create new contents.\", e);\n }\n });\n }","title":""},{"docid":"45583c9f1eb2fc20befa5c3b747905e2","score":"0.49823892","text":"private void handleRequestMessage(byte[] messageIndex){\n //Send file to the peer with requested message index\n\n try {\n // byte[] temp = Arrays.copyOfRange(messageIndex, 0, 4);\n int pieceIndex = (int)utilities.fromByteArrayToLong(messageIndex);\n\n if(peer.isUnchoked && Constants.selfBitfield.get(pieceIndex)){\n // System.out.println(\"***************************** \" + pieceIndex);\n ByteArrayOutputStream oStream = new ByteArrayOutputStream();\n \n oStream.write(messageIndex);\n oStream.write(Constants.fileChunks[pieceIndex].getPieceContent());\n byte[] payloadContent = oStream.toByteArray();\n Message msg = new Message(payloadContent.length + 1, 7, payloadContent);\n byte[] msgByteArray = msg.createMessage();\n \n utilities.writeToOutputStream(this.outputStream,msgByteArray);\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n }","title":""},{"docid":"652aaf531e27978ea02fe47b0894ac42","score":"0.4982221","text":"@Override\n public void onFinished(String result) {\n\n SavedCrumbId = result;\n saveVideo();\n }","title":""},{"docid":"7ac15b79c32618dd2660cf7c401e5c19","score":"0.49817154","text":"public void save()\n {\n Gdx.files.external(Settings.get(\"LevelDataExternalPath\")).writeString(Pseudo.crypt(new Json().toJson(data)), false, \"UTF-8\");\n Gdx.files.external(Settings.get(\"CustomLevelDataExternalPath\")).writeString(Pseudo.crypt(new Json().toJson(custom)), false, \"UTF-8\");\n }","title":""},{"docid":"8277a8cf6a5d92845d3b71a6b509af7e","score":"0.49784213","text":"private void saveToStorageListener(Observable observable) {\n logger.info(\"Address book modified, saving to file.\");\n try {\n storage.saveAddressBook(versionedEntryBook);\n } catch (IOException ioe) {\n setException(new CommandException(FILE_OPS_ERROR_MESSAGE + ioe, ioe));\n }\n }","title":""},{"docid":"d4c058fb433026ff0b46797b1f52d28d","score":"0.49717537","text":"@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n historyUserRef.getDownloadUrl().addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) { // wait for on complete\n url =task.getResult().toString(); // retrieve download url\n // create firebase database reference\n DatabaseReference reference = database.getReference();\n DatabaseReference historydb = reference.child(currentUser).child(\"history\");\n // once file is upload to cloud, store the download url in firebase database\n historydb.child(fileName1).setValue(url).addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n if (task.isSuccessful()){\n Toast.makeText(UserRecords.this,\"File Uploaded\",Toast.LENGTH_SHORT).show();\n }\n else\n Toast.makeText(UserRecords.this,\"Upload failed\",Toast.LENGTH_SHORT).show();\n }\n });\n }\n });\n }","title":""},{"docid":"d59b7873812c07008b28c3cfd5d7329d","score":"0.49704495","text":"public void sendFileLog() {\n\n if (checkNetwork()) {\n File root = new File(Environment.getExternalStorageDirectory(), \"returncandidate_log\");\n files = root.listFiles();\n for (File file : files) {\n String[] params =\n new String[]{Config.API_POST_FILE, file.toString()};\n new HttpPostFile(this).execute(params);\n }\n } else {\n // Stop process loading screen\n progress.dismiss();\n showDialog(false);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"949a2f70180408da97a3b1b6af0f765e\",\n \"score\": \"0.6159841\",\n \"text\": \"private void saveMessages() {\\n\\t\\tif (messages.size() == 0) {\\n\\t\\t\\t File file = getFileStreamPath(MESSAGE_STORE);\\n\\t\\t if(file.exists()) {\\n\\t\\t \\tLog.i(TAG,\\\"Attempting to delete custom message text file\\\");\\n\\t\\t \\t//Note: file.delete doesn't throw an IOException when it fails\\n\\t\\t \\tif(file.delete()) \\n\\t\\t \\t\\tLog.i(TAG,\\\"Deleted custom message text file\\\");\\n\\t\\t \\telse\\n\\t\\t \\t\\tLog.i(TAG,\\\"Unable to delete custom text file\\\");\\n\\t\\t }\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\t//if not extent, creates files/MESSAGE_STORE directory and file\\n\\t\\t\\t//under ...package/data/data/, otherwise overwrites it.\\n\\t\\t\\tLog.i(TAG, \\\"Writing messages to internal storage\\\");\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tFileOutputStream fOut = openFileOutput(MESSAGE_STORE, MODE_WORLD_READABLE);\\n\\t\\t\\t\\tBufferedWriter buf = new BufferedWriter(new OutputStreamWriter(fOut));\\n\\t\\t\\t\\tfor (String s : messages) {\\n\\t\\t\\t\\t\\tbuf.write(s+\\\"\\\\n\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t//closing, so no flush required.\\t\\n\\t\\t\\t\\tbuf.close();\\n\\t\\t\\t}\\n\\t\\t\\tcatch (IOException e){\\n\\t\\t\\t\\tLog.i(TAG,\\\"IO Exception\\\");\\n\\t\\t\\t}\\n\\t\\t}\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"280378778e043d3879c90ae60275279e\",\n \"score\": \"0.5966368\",\n \"text\": \"@Override\\n public boolean store(String key, Serializable value) {\\n File f = new File(rootDir + File.separator + key);\\n if (!f.isDirectory() || !f.isFile()) {\\n try {\\n File parent = f.getParentFile();\\n parent.mkdirs(); // create parent directories\\n f.createNewFile();\\n } catch (IOException e) {\\n log.error(\\\"File {} could not be created. \\\", f.getAbsolutePath(), e);\\n return false;\\n }\\n // update file content\\n try (FileOutputStream fo = new FileOutputStream(f);\\n ObjectOutputStream oo = new ObjectOutputStream(fo)) {\\n oo.writeObject(value);\\n } catch (IOException e) {\\n log.error(\\\"Writing value to file failed for key {} .\\\", key, e);\\n return false;\\n }\\n\\n }\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7b685b2c705293ecfc971fbaacef729\",\n \"score\": \"0.587849\",\n \"text\": \"@Override\\n public void writeFile(String name, String content) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bfe93ab2f628182619f3fa26f0ded6d\",\n \"score\": \"0.5856164\",\n \"text\": \"@Override\\n public void onResult(DriveApi.DriveContentsResult result) {\\n if (!result.getStatus().isSuccess()) {\\n Log.i(\\\"TAG\\\", \\\"Failed to create new contents.\\\");\\n return;\\n }\\n\\n // Otherwise, we can write our data to the new contents.\\n Log.i(\\\"TAG\\\", \\\"New contents created.\\\");\\n // Get an output stream for the contents.\\n OutputStream outputStream = result.getDriveContents().getOutputStream();\\n // Write the bitmap data from it.\\n\\n File dir = new File(Environment.getExternalStorageDirectory(), \\\"EQWaybill\\\");\\n if(!dir.exists()) {\\n dir.mkdir();\\n }\\n File file = new File(dir, displayName);\\n\\n Log.i(\\\"TAG\\\", \\\"\\\"+file);\\n try {\\n byte[] buffer = new byte[1024];\\n FileInputStream fis = new FileInputStream(file);\\n int read = 0;\\n while ((read = fis.read(buffer)) != -1) {\\n outputStream.write(buffer, 0, read);\\n System.out.println(\\\"read \\\" + read + \\\" bytes,\\\");\\n }\\n\\n CustomPropertyKey approvalPropertyKey = new CustomPropertyKey(\\\"approved\\\", CustomPropertyKey.PUBLIC);\\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\\n .setTitle(displayName).setMimeType(\\\"application/pdf\\\")\\n .setCustomProperty(approvalPropertyKey, \\\"yes\\\").build();\\n\\n Drive.DriveApi.getRootFolder(mGoogleApiClient)\\n .createFile(mGoogleApiClient, metadataChangeSet, result.getDriveContents())\\n .setResultCallback(fileCallback);\\n\\n int val = elementID + 1;\\n uploadFile(val);\\n } catch (Exception e1) {\\n e1.printStackTrace();\\n Log.i(\\\"TAG\\\", \\\"Unable to write file contents.\\\");\\n onStop();\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a105aae77fa23e8e92e9bbb2d30f236\",\n \"score\": \"0.57418305\",\n \"text\": \"@Override\\n public void writeFile(String content) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c77aabd86fb00daeca27c8bc417bbbe2\",\n \"score\": \"0.5694284\",\n \"text\": \"private void update(Message tMessage) {\\n EventBus eventBus = vertx.eventBus();\\n eventBus.send(FILEREADER_PROCESSMANAGER_FILE_NEW, tMessage.body());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9984947e1aafdb00c0e40bbe69b99fca\",\n \"score\": \"0.5663809\",\n \"text\": \"private void onUploadResultIntent(Intent intent) {\\n mDownloadUrl = intent.getParcelableExtra(MyFirebaseUploadService.EXTRA_DOWNLOAD_URL);\\n mFileUri = intent.getParcelableExtra(MyFirebaseUploadService.EXTRA_FILE_URI);\\n intent.setPackage(this.getPackageName());\\n if (mDownloadUrl != null) {\\n SQLiteHandler db = new SQLiteHandler(this);\\n NotesFileModel nfm =\\n new NotesFileModel(editText.getText().toString(), mDownloadUrl.toString(),\\n editTextdesc.getText().toString(), getCurrentTime(), db.getUserDetails().getName(),\\n db.getUserDetails().getRegno(), mFiletype, getUnixtime());\\n DatabaseReference ref =\\n FirebaseDatabase.getInstance().getReference().child(\\\"notes\\\").child(mSubjectcode).push();\\n ref.setValue(nfm);\\n stopService(intent);\\n finish();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d1f630133d91de4fb92f650ed8510e1\",\n \"score\": \"0.5661494\",\n \"text\": \"private void writeContentToFile(String content, String fileName)\\n\\t{\\n\\t\\t// create a file if it does not exist\\n\\t\\tFile exportFile = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + fileName);\\n\\t\\texportFileLocation = exportFile.getAbsolutePath();\\n\\n\\t\\t// check if file exists\\n\\t\\tif (!exportFile.exists())\\n\\t\\t{\\n\\t\\t\\ttry\\n\\t\\t\\t{\\n\\t\\t\\t\\texportFile.createNewFile();\\n\\t\\t\\t\\tLog.i(\\\"Preferences\\\", \\\"file created with name - \\\" + exportFileLocation);\\n\\t\\t\\t} catch (IOException e)\\n\\t\\t\\t{\\n\\t\\t\\t\\tLog.e(\\\"Preferences\\\", \\\"***unable to create file \\\" + e.getMessage(), e);\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tLog.i(\\\"Preferences\\\", \\\"file exists with name - \\\" + exportFileLocation);\\n\\t\\t// write to the file\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\t// BufferedWriter for performance, true to set append to file flag\\n\\t\\t\\tBufferedWriter buf = new BufferedWriter(new FileWriter(exportFile, false));\\n\\n\\t\\t\\tbuf.append(content);\\n\\t\\t\\t\\n\\t\\t\\tbuf.close();\\n\\n\\n\\n\\t\\t} catch (IOException e)\\n\\t\\t{\\n\\t\\t\\tLog.e(\\\"Preferences\\\", e.getMessage(), e);\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ca3944dec27fba7c8f37d5bb324d48\",\n \"score\": \"0.564491\",\n \"text\": \"public void addEntry(String key, InboundMsgDefinition value) {\\n lastMessage = value;\\n if (sessionFiles.containsKey(key)) {\\n sessionFiles.get(key).add(value);\\n } else {\\n sessionFiles.put(key, new ArrayList<>());\\n sessionFiles.get(key).add(value);\\n }\\n\\n System.out.println(\\\"[WEB-mgr] ConverterManager added to sessionFiles\\\");\\n ArrayList p = sessionFiles.get(key);\\n for (InboundMsgDefinition t : p) {\\n System.out.println(t);\\n }\\n convertFile(System.getProperty(\\\"user.home\\\") +File.separator+\\\"tiwi\\\"+File.separator+\\\"upload\\\" +File.separator+ value.getFileName(),key,value.getOutputType());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbb0d6cf896fd8694935120c67d9336b\",\n \"score\": \"0.564022\",\n \"text\": \"@Override\\n\\tpublic Uri insert(Uri uri, ContentValues values) {\\n\\t\\tString keySet = values.getAsString(\\\"key\\\");\\n\\n\\t\\tFileOutputStream outputStream;\\n\\n\\t\\ttry {\\n\\t\\t\\t//if( GlobalContainer.successor == null || ( ( genHash(GlobalContainer.nodeName.get(SimpleDhtActivity.myPort)).compareTo(genHash(keySet)) < 0 || genHash(GlobalContainer.nodeName.get(SimpleDhtActivity.myPort)).compareTo(genHash(keySet)) < 0 ) && ( genHash(keySet).compareTo(genHash(GlobalContainer.nodeName.get(GlobalContainer.successor))) < 0 || GlobalContainer.last ) ) ) {\\n\\t\\t\\t//if( GlobalContainer.successor == null || ( genHash(keySet).compareTo(genHash(GlobalContainer.nodeName.get(GlobalContainer.successor))) < 0 ) ) {\\n\\t\\t\\tif(checkInChord(keySet)) {\\n\\t\\t\\t\\toutputStream = getContext().openFileOutput(values.getAsString(\\\"key\\\"), Context.MODE_PRIVATE);\\n\\n\\t\\t\\t\\toutputStream.write(values.getAsString(\\\"value\\\").getBytes());\\n\\t\\t\\t\\toutputStream.close();\\n\\t\\t\\t\\tkeyList.add(keySet);\\n\\n\\t\\t\\t\\tLog.e(\\\"INSERT\\\", \\\"Message inserted : \\\" + keySet);\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\tLog.e(TAG, \\\"Sending the msgs to \\\" + GlobalContainer.predecessor + \\\"Msg is \\\" + keySet + \\\" with hash code : \\\" + genHash(keySet) + \\\" compare with \\\" + genHash(GlobalContainer.nodeName.get(GlobalContainer.predecessor) ) + \\\" I am first : \\\" + GlobalContainer.first);\\n\\t\\t\\t\\t//Log.e(TAG, \\\"Sending the msgs to \\\" + GlobalContainer.successor + \\\"Msg is \\\" + keySet + \\\" \\\" + values.getAsString(\\\"value\\\") + \\\" with hash code : \\\" + genHash(keySet));\\n\\t\\t\\t\\tnew ClientTask(null).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR,\\\"INSERT\\\", keySet, values.getAsString(\\\"value\\\"));\\n\\t\\t\\t}\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\tLog.e(\\\"GRoupMessengerProvider\\\", \\\"File not found .......\\\" + e.getMessage());\\n\\t\\t\\te.printStackTrace();\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\tLog.e(\\\"GRoupMessengerProvider\\\", \\\"File write failed \\\" + e.getMessage());\\n\\t\\t\\te.printStackTrace();\\n\\t\\t} catch (Exception e){\\n\\t\\t\\tLog.e(\\\"GRoupMessengerProvider\\\", \\\"Something went wrong \\\" + e.getMessage());\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\t//Log.v(\\\"insert\\\", values.toString());\\n\\t\\treturn uri;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33c089872f2fd10291033f8031fbc578\",\n \"score\": \"0.5631365\",\n \"text\": \"@Override\\n public void fileSaveComplete(int status) {\\n sendMessage(obtainMessage(MSG_FILE_SAVE_COMPLETE, status, 0, null));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc47984df933d7c42f6a605da5795ec2\",\n \"score\": \"0.55911475\",\n \"text\": \"public void saveResultFile(String msg) throws IOException {\\n File sdFile = Environment.getExternalStorageDirectory();\\n File result = new File(sdFile, \\\"result.json\\\");\\n int i=0;\\n while (result.exists()) {\\n i++;\\n result=new File(sdFile,\\\"result\\\"+i+\\\".json\\\");\\n }\\n try {\\n FileOutputStream fout = new FileOutputStream(result);\\n fout.write(msg.getBytes());\\n fout.flush();\\n fout.close();\\n Toast.makeText(this, \\\"Result has been saved in\\\"+result.getAbsolutePath(), Toast.LENGTH_SHORT).show();\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"870df89929564de8066d387b1c35ba45\",\n \"score\": \"0.55753714\",\n \"text\": \"@Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n Task p_uriTask = taskSnapshot.getStorage().getDownloadUrl();\\n while(!p_uriTask.isSuccessful());\\n Uri p_downloadUri = p_uriTask.getResult();\\n if(p_uriTask.isSuccessful()){\\n //image url received, save in db\\n // timestamp\\n String timestamp = \\\"\\\" + System.currentTimeMillis();\\n\\n // setup message data\\n HashMap hashMap = new HashMap<>();\\n hashMap.put(\\\"sender_id\\\", (long)currentUserID);\\n hashMap.put(\\\"sender_name\\\", username);\\n hashMap.put(\\\"message\\\", \\\"\\\" + p_downloadUri);\\n hashMap.put(\\\"timestamp\\\", timestamp);\\n hashMap.put(\\\"type\\\", \\\"\\\" + \\\"image\\\"); // text/image/file\\n\\n DatabaseReference GroupNameRef = FireBaseDatabase.getInstance().getReference().child(\\\"Groups\\\");\\n GroupNameRef.child(Integer.toString(currentChatroom.getChatroom_id())).child(\\\"Messages\\\").child(timestamp)\\n .setValue(hashMap)\\n .addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(Void aVoid) {\\n //message sent\\n //clear messageEt\\n messageEt.setText(\\\"\\\");\\n pd.dismiss();\\n }\\n })\\n .addOnFailureListener(new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception e) {\\n pd.dismiss();\\n Toast.makeText(GroupChatActivity.this,\\\"\\\" + e.getMessage(), Toast.LENGTH_SHORT).show();\\n }\\n });\\n dbcheckifentryExistofNot();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"387bca56add8d2c511abcd8aaae747bd\",\n \"score\": \"0.55676824\",\n \"text\": \"public void writeFileOnInternalStorage(Context mcoContext,String sFileName, String sBody) throws IOException {\\n // Get the directory for the user's public pictures directory.\\n //File file = new File(getExternalFilesDir(null), sFileName);\\n File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + \\\"/\\\" + sFileName);\\n // Save your stream, don't forget to flush() it before closing it.\\n\\n try\\n {\\n file.createNewFile();\\n FileOutputStream fOut = new FileOutputStream(file);\\n OutputStreamWriter myOutWriter = new OutputStreamWriter(fOut);\\n myOutWriter.append(sBody);\\n\\n myOutWriter.close();\\n\\n fOut.flush();\\n fOut.close();\\n }\\n catch (IOException e)\\n {\\n Log.e(\\\"Exception\\\", \\\"File write failed: \\\" + e.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ca18f1cd5d99a31c1391d1b64bc80e1\",\n \"score\": \"0.55454\",\n \"text\": \"public String updateContent() {\\n try {\\n if (null != file) {\\n // make the parent folder when each month\\n SimpleDateFormat dateFormat = new SimpleDateFormat(\\\"yyyyMM\\\", Locale.ENGLISH);\\n String monthlize = dateFormat.format(new Date());\\n String realPath = ServletActionContext.getServletContext().getRealPath(this.getSavePath());\\n File storeFolder = new File(realPath + File.separator + GroupConstance.UPLOAD_NEWS + File.separator + monthlize);\\n //File storeFolder = new File(\\\"/upload/content/\\\" + monthlize);\\n if(!storeFolder.exists()) storeFolder.mkdirs();\\n for(int i = 0;i it = listIterator();\\n while(it.hasNext()){\\n KeyStat cur = it.next();\\n oos.writeObject(cur);\\n }\\n\\n fos.close();\\n oos.close();\\n } catch(IOException ex){\\n Log.e(TAG, \\\"Could not save KeyStats: \\\" + ex.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9c102ab10b6df52fab4dccabba40e10\",\n \"score\": \"0.5419025\",\n \"text\": \"public void saveFile() {\\n\\t \\n store.fileOut(currentFileName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91f097d2c9f013244b1213749d22e32c\",\n \"score\": \"0.54114485\",\n \"text\": \"void shareContent(File file);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66e333dcab5d2765b0fe94742b7a64ee\",\n \"score\": \"0.54026014\",\n \"text\": \"@Override\\n public void run() {\\n if (this.peer.getStorage().hasStoredChunk(this.message.getFileId(), this.message.getChunkNo())) {\\n Chunk chunk = this.peer.getStorage().getStoredChunk(this.message.getFileId(), this.message.getChunkNo());\\n chunk.addPeerStoring(this.message.getSenderId());\\n }\\n else if (this.peer.getStorage().hasSentChunk(this.message.getFileId(), this.message.getChunkNo())) {\\n Chunk chunk = this.peer.getStorage().getSentChunk(this.message.getFileId(), this.message.getChunkNo());\\n chunk.addPeerStoring(this.message.getSenderId());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d150384c9f14c06517438fb58bfd73f6\",\n \"score\": \"0.5396164\",\n \"text\": \"public static void storeToFile() {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tFileOutputStream fos = new FileOutputStream(\\\"entries\\\");\\r\\n\\t\\t\\tObjectOutputStream oos = new ObjectOutputStream(fos);\\r\\n\\t\\t\\toos.writeObject(entries);\\r\\n\\t\\t\\toos.close();\\r\\n\\t\\t\\tfos.close();\\r\\n\\t\\t} catch (IOException ioe) {\\r\\n\\t\\t\\tioe.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\tstorereqsToFile();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"661cbb8daccad22c78f35bbdc130c814\",\n \"score\": \"0.53893083\",\n \"text\": \"private void writeFile() {\\n\\n try {\\n FileOutputStream fos = openFileOutput(contactFile, this.MODE_PRIVATE);\\n\\n ObjectOutputStream oos = new ObjectOutputStream(fos);\\n oos.writeObject(mContactDataList);\\n Log.i(TAG, \\\"Object Saved Successfully\\\");\\n oos.close();\\n\\n } catch (Exception e) {\\n Log.e(TAG, \\\"Save Unsuccessful\\\");\\n }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2746a7b40b67060400a2b825a442c43\",\n \"score\": \"0.53872836\",\n \"text\": \"public void externalStorage() {\\n\\n Log.d(TAG, \\\"start\\\");\\n pexstor = true;\\n\\n File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC), \\\"mic_recording_ds_md\\\");\\n\\n file.mkdir();\\n Timestamp time1 = new Timestamp(System.currentTimeMillis());\\n\\n String timestamp = time1.toString() + \\\".pcm\\\";\\n Log.d(TAG, timestamp);\\n\\n\\n File f = new File(file, timestamp);\\n FileOutputStream fos;\\n\\n try {\\n\\n fos = new FileOutputStream(f);\\n fos.write(data);\\n fos.close();\\n Log.d(TAG, \\\"File written\\\");\\n\\n filenames.add(timestamp);\\n\\n } catch (FileNotFoundException e1) {\\n Log.d(TAG, \\\"File Not Found\\\");\\n } catch (IOException e2) {\\n Log.d(TAG, \\\"Error Writing!\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcf7f4d109362d7ff35b8fad80764c62\",\n \"score\": \"0.53848606\",\n \"text\": \"public void WriteOnFile(String filename, String value) {\\n Log.i(Utils.LogTag, \\\"wrinting on file \\\");\\r\\n try {\\r\\n FileOutputStream filenam = openFileOutput(filename + \\\"name.txt\\\", MODE_PRIVATE);\\r\\n FileOutputStream filenum = openFileOutput(filename + \\\"number.txt\\\", MODE_PRIVATE);\\r\\n OutputStreamWriter outputWriter1 = new OutputStreamWriter(filenam);\\r\\n OutputStreamWriter outputWriter2 = new OutputStreamWriter(filenum);\\r\\n outputWriter1.write(value);\\r\\n outputWriter2.write(value);\\r\\n outputWriter1.close();\\r\\n outputWriter2.close();\\r\\n\\r\\n //display file saved message\\r\\n Toast.makeText(getBaseContext(), \\\"Contact deleted \\\" + filename, Toast.LENGTH_SHORT).show();\\r\\n Log.i(Utils.LogTag, \\\"Contact deleted \\\" + outputWriter1.toString());\\r\\n finish();\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fb2e0539daae736043a56f734237fdb\",\n \"score\": \"0.53746367\",\n \"text\": \"@Override\\n\\tpublic void updateFile() {\\n\\t\\tDataIO.Write(fileName, roomServiceList);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4bc89dad6e5363d7a7a80c2c1c8f36b\",\n \"score\": \"0.5374371\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\tpublic void onResult(DriveContentsResult result) {\\n\\t\\t\\t\\t\\t\\tif (!result.getStatus().isSuccess()) {\\r\\n\\t\\t\\t\\t\\t\\t\\tLog.i(TAG, \\\"Failed to create new contents.\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\treturn;\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t// Otherwise, we can write our data to the new contents.\\r\\n\\t\\t\\t\\t\\t\\tLog.i(TAG, \\\"New contents created.\\\");\\r\\n\\t\\t\\t\\t\\t\\t// Get an output stream for the contents.\\r\\n\\t\\t\\t\\t\\t\\tOutputStream outputStream = result.getDriveContents()\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.getOutputStream();\\r\\n\\t\\t\\t\\t\\t\\t// Write the bitmap data from it.\\r\\n\\t\\t\\t\\t\\t\\tByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\\r\\n\\t\\t\\t\\t\\t\\timage.compress(Bitmap.CompressFormat.PNG, 100,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tbitmapStream);\\r\\n\\t\\t\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\t\\t\\toutputStream.write(bitmapStream.toByteArray());\\r\\n\\t\\t\\t\\t\\t\\t} catch (IOException e1) {\\r\\n\\t\\t\\t\\t\\t\\t\\tLog.i(TAG, \\\"Unable to write file contents.\\\");\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t// Create the initial metadata - MIME type and title.\\r\\n\\t\\t\\t\\t\\t\\t// Note that the user will be able to change the title\\r\\n\\t\\t\\t\\t\\t\\t// later.\\r\\n\\t\\t\\t\\t\\t\\tMetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.setMimeType(\\\"image/jpeg\\\")\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.setTitle(folderName + \\\".png\\\").build();\\r\\n\\t\\t\\t\\t\\t\\t// Create an intent for the file chooser, and start it.\\r\\n\\t\\t\\t\\t\\t\\t/*\\r\\n\\t\\t\\t\\t\\t\\t * IntentSender intentSender = Drive.DriveApi\\r\\n\\t\\t\\t\\t\\t\\t * .newCreateFileActivityBuilder()\\r\\n\\t\\t\\t\\t\\t\\t * .setInitialMetadata(metadataChangeSet)\\r\\n\\t\\t\\t\\t\\t\\t * .setInitialDriveContents( result.getDriveContents())\\r\\n\\t\\t\\t\\t\\t\\t * .build(mGoogleApiClient); try {\\r\\n\\t\\t\\t\\t\\t\\t * startIntentSenderForResult(intentSender,\\r\\n\\t\\t\\t\\t\\t\\t * REQUEST_CODE_CREATOR, null, 0, 0, 0);\\r\\n\\t\\t\\t\\t\\t\\t * Toast.makeText(PhonePhotoActivity.this,\\r\\n\\t\\t\\t\\t\\t\\t * \\\"Photo sync successfully!\\\",\\r\\n\\t\\t\\t\\t\\t\\t * Toast.LENGTH_SHORT).show();\\r\\n\\t\\t\\t\\t\\t\\t * \\r\\n\\t\\t\\t\\t\\t\\t * } catch (SendIntentException e) { Log.i(TAG,\\r\\n\\t\\t\\t\\t\\t\\t * \\\"Failed to launch file chooser.\\\"); }\\r\\n\\t\\t\\t\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t\\t\\t\\tfinal DriveContents driveContents = result\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.getDriveContents();\\r\\n\\t\\t\\t\\t\\t\\tfinal ResultCallback fileCallback = new ResultCallback() {\\r\\n\\t\\t\\t\\t\\t\\t\\t@Override\\r\\n\\t\\t\\t\\t\\t\\t\\tpublic void onResult(DriveFileResult result) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif (!result.getStatus().isSuccess()) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tshowMessage(\\\"Error while trying to create the file\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\treturn;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tshowMessage(\\\"Created a file with content: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t+ result.getDriveFile().getDriveId());\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t};\\r\\n\\t\\t\\t\\t\\t\\t/*\\r\\n\\t\\t\\t\\t\\t\\t * Drive.DriveApi .getRootFolder(getGoogleApiClient())\\r\\n\\t\\t\\t\\t\\t\\t * .createFile(getGoogleApiClient(), metadataChangeSet,\\r\\n\\t\\t\\t\\t\\t\\t * driveContents) .setResultCallback(fileCallback);\\r\\n\\t\\t\\t\\t\\t\\t */\\r\\n\\t\\t\\t\\t\\t\\tDrive.DriveApi\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.getFolder(getGoogleApiClient(), parentFolderId)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.createFile(getGoogleApiClient(),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tmetadataChangeSet, driveContents)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.setResultCallback(fileCallback);\\r\\n\\r\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b823259d1ad13631a3687155184c66a\",\n \"score\": \"0.5371259\",\n \"text\": \"private void saveAction(){\\n String content;\\n content=editContent.getText().toString().trim();\\n if (!tempContent.equals(content)) {\\n tempContent=content;\\n //if hashmap does not exist(user's first save), it creates a new\\n if (hashNotes == null) {\\n hashNotes = new HashMap<>();\\n hashNotes.put(title, content);\\n } else {\\n hashNotes.put(title, content);\\n }\\n\\n //write to internal file, save hashmap as object\\n try {\\n FileOutputStream outputStream = openFileOutput(FILENAME, Context.MODE_PRIVATE);\\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream);\\n objectOutputStream.writeObject(hashNotes);\\n outputStream.close();\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a94e51879774e11b7d5a8b31d9cedff\",\n \"score\": \"0.53699654\",\n \"text\": \"public void writeFileSdcard(String msg)\\n {\\n try{\\n FileOutputStream os = new FileOutputStream(saveFile,true);\\n byte[] bytes = msg.getBytes();\\n os.write(bytes);\\n os.close();\\n //L.i(\\\"write over!\\\");\\n }\\n catch(Exception e)\\n {\\n e.printStackTrace();\\n L.e(\\\"write error!\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf8ece30d1c33fde358bfc0264b7899b\",\n \"score\": \"0.5359741\",\n \"text\": \"private void uploadFile(Uri data) {\\n final FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\\\"dd-MM-yyyy-hh-mm-ss\\\");\\n final String format = simpleDateFormat.format(new Date());\\n\\n progressBar.setVisibility(View.VISIBLE);\\n final StorageReference sRef = mStorageReference.child(\\\"med_records/\\\" + user.getUid()+\\\"/\\\"+ System.currentTimeMillis() + \\\".pdf\\\");\\n sRef.putFile(data).addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n sRef.getDownloadUrl().addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(Uri uri) {\\n Uri downloadUrl = uri;\\n //Do what you want with the url\\n progressBar.setVisibility(View.GONE);\\n textViewStatus.setText(\\\"File Uploaded Successfully\\\");\\n Toast.makeText(getApplicationContext(), \\\"Successfully uploaded file to storage\\\", Toast.LENGTH_LONG).show();\\n\\n Upload upload = new Upload(editTextFilename.getText().toString(), downloadUrl.toString());\\n\\n\\n Map file = new HashMap<>();\\n file.put(\\\"name\\\", upload.getName());\\n file.put(\\\"url\\\", upload.getUrl());\\n file.put(\\\"DEVICE_ID\\\", getDeviceId(ManualEntryActivity.this));\\n\\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\\\"dd-MM-yyyy-hh-mm-ss\\\");\\n String format = simpleDateFormat.format(new Date());\\n String currentDate = new SimpleDateFormat(\\\"dd/MM/yyyy\\\").format(new Date());\\n String currentTime = new SimpleDateFormat(\\\"hh:mm:ss\\\").format(new Date());\\n file.put( \\\"currentDate\\\",currentDate);\\n file.put( \\\"currentTime\\\",currentTime);\\n file.put(\\\"username\\\", user.getEmail());\\n file.put(\\\"UID\\\", user.getUid());\\n Log.d(\\\"HomeActivity\\\", \\\"Current Timestamp: \\\" + format);\\n// file.put(\\\"TIMESTAMP\\\", format);\\n\\n db.collection(\\\"users\\\").document(user.getUid()).collection(\\\"health_records\\\").document(format)\\n .set(file)\\n .addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(Void aVoid) {\\n Log.d(\\\"Success\\\", \\\"DocumentSnapshot successfully written!\\\");\\n// Toast.makeText(getApplicationContext(), \\\"Success\\\", Toast.LENGTH_LONG).show();\\n }\\n })\\n .addOnFailureListener(new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception e) {\\n Log.w(\\\"Fail\\\", \\\"Error writing document\\\", e);\\n }\\n });\\n\\n db.collection(\\\"user_health_record\\\").add(file)\\n .addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(DocumentReference documentReference) {\\n// Log.d(TAG, \\\"DocumentSnapshot added with ID: \\\" + documentReference.getId());\\n }\\n })\\n .addOnFailureListener(new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception e) {\\n// Log.w(TAG, \\\"Error adding document\\\", e);\\n }\\n });\\n// Toast.makeText(ManualEntryActivity.this, \\\"Upload Done\\\", Toast.LENGTH_LONG).show();\\n }\\n\\n });\\n\\n }\\n })\\n .addOnFailureListener(new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception exception) {\\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\\n }\\n })\\n .addOnProgressListener(new OnProgressListener() {\\n @SuppressWarnings(\\\"VisibleForTests\\\")\\n @Override\\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\\n double progress = (100.0 * taskSnapshot.getBytesTransferred()) / taskSnapshot.getTotalByteCount();\\n textViewStatus.setText((int) progress + \\\"% Uploading...\\\");\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3066e2502d7809efaeac3e819a028ab\",\n \"score\": \"0.5339938\",\n \"text\": \"public void write(String filename, byte[] content) throws IOException {\\n FSDataOutputStream s = getMfs().create(new Path(filename));\\n s.write(content);\\n s.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8bec60294a06e77cc359cf3b0a90fed\",\n \"score\": \"0.53082776\",\n \"text\": \"public void map(NullWritable key, BytesWritable value, Context context) throws IOException, InterruptedException \\n {\\n file_contents_value.set(new String(value.getBytes(), StandardCharsets.UTF_8).replace(\\\"\\\\n\\\", \\\" --- \\\"));\\n context.write(filename_key, file_contents_value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16208f2344e347ba63f9f411be6babe0\",\n \"score\": \"0.5303216\",\n \"text\": \"public static void saveLocal(String content,String filename){\\n DataOutputStream out = null;\\n File file = new File(filePath);\\n if(!file.exists())\\n file.mkdirs();\\n try {\\n out = new DataOutputStream(new FileOutputStream(\\n new File(filePath +filename )));\\n out.write(content.getBytes());\\n out.flush();\\n out.close();\\n }catch (IOException e){\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0481645aaad283f050c85280067da360\",\n \"score\": \"0.5291943\",\n \"text\": \"private void writeToFile(String data, final String filename, Context context) throws IOException {\\n File folder = new File(context.getExternalFilesDir(null).getAbsolutePath());\\n //System.out.println(folder);\\n boolean success = true;\\n if (!folder.exists()) {\\n success = folder.mkdirs();\\n }\\n //System.out.println(success);\\n if (success) {\\n File file = new File(folder, filename + \\\".txt\\\");\\n FileOutputStream stream = new FileOutputStream(file);\\n try {\\n stream.write(data.getBytes());\\n\\n runOnUiThread(new Runnable() {\\n @Override\\n public void run() {\\n Toast.makeText(MainActivity.this, \\\"Data written to file \\\" + filename + \\\".txt\\\", Toast.LENGTH_SHORT).show();\\n }\\n });\\n\\n\\n } catch (IOException e) {\\n e.printStackTrace();\\n } finally {\\n stream.close();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a38dc82574886e7a78421dc65179550\",\n \"score\": \"0.5278723\",\n \"text\": \"public void writeFile(byte[] x, String fileName){\\n try {\\n System.out.println(\\\"LOGGING: Received File \\\" + folder + \\\"/peer/\\\" + fileName);\\n FileOutputStream out = new FileOutputStream(new File(folder + \\\"/\\\" + fileName));\\n out.write(x);\\n out.close();\\n\\n } catch (IOException e) {\\n System.out.println(\\\"Exception\\\" + e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a62d988eaeda4e54ebfa9dc85bd27162\",\n \"score\": \"0.5276405\",\n \"text\": \"private void writeTracksToFile(){\\n FileOutputStream fos = null;\\n try {\\n myExternalFile.createNewFile();\\n fos = new FileOutputStream(myExternalFile);\\n fos.write(tracksStr.getBytes());\\n Log.d(\\\"SpotifyToText\\\", \\\"File written success\\\");\\n SpotifyToText.this.runOnUiThread(new Runnable() {\\n @Override\\n public void run() {\\n String text = messageWindow.getText().toString();\\n text += \\\"\\\\nTransferred Playlist to: \\\\\\\"\\\" + \\\"/\\\" + FILE_PATH + \\\"/\\\" + playlistSelected + \\\".txt\\\\\\\"\\\\n\\\";\\n text += \\\"Transferred \\\" + tracksSize + \\\" Songs from \\\\\\\"\\\" + playlistSelected + \\\"\\\\\\\":\\\\n\\\\n\\\" + tracksStr;\\n messageWindow.setText(text);\\n }\\n });\\n isFirstExport = false;\\n } catch (IOException e) {\\n Log.e(\\\"SpotifyToText\\\", e.toString());\\n } finally {\\n try {\\n if(fos != null){\\n fos.close();\\n }\\n } catch (IOException e) {\\n Log.e(\\\"SpotifyToText\\\", e.toString());\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"426b02093cb15899436c9daf1ae96fc2\",\n \"score\": \"0.52698815\",\n \"text\": \"@Override\\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\\n super.channelActive(ctx);\\n ctx.writeAndFlush(\\\"GetFile#\\\"+fileInfo.getFilepath());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aa72ac95cd1dba18de3469d35181a16\",\n \"score\": \"0.5266636\",\n \"text\": \"@Override\\n protected String doInBackground(Void... params) {\\n try {\\n FileWriter.writeFile(file, contents);\\n } catch (IOException e) {\\n return e.getMessage();\\n }\\n return \\\"\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a054cd15e66e7445ac53afbeef4883d\",\n \"score\": \"0.5264701\",\n \"text\": \"protected void store(DFSFilename key) {\\n PersistentStorageWriter tempWriter;\\n try {\\n tempWriter = owner.getWriter(kTempFileName, false);\\n } catch (IOException ioe) {\\n System.err.println(\\\"Unexpected cache exception: cannot write to \\\" +\\n \\\"temp file!\\\");\\n throw new IllegalStateException(\\\"Temp file cannot be written!\\\",\\n ioe);\\n }\\n \\n try {\\n PersistentStorageReader reader = owner.getReader(key.getPath());\\n if (reader.ready()) {\\n String oldData = component.readRemainingContentsToString(reader);\\n tempWriter.write(key.getPath() + \\\"\\\\n\\\" + oldData);\\n tempWriter.close();\\n } else {\\n tempWriter.delete();\\n }\\n } catch (FileNotFoundException e) {\\n } catch (IOException e) {\\n throw new IllegalStateException(\\\"Cannot copy old file content to temp file!\\\",\\n e);\\n }\\n \\n try {\\n PersistentStorageWriter writer;\\n try {\\n writer = owner.getWriter(key.getPath(), false);\\n } catch (IOException ioe) {\\n System.err.println(\\\"Cannot overwrite cached file \\\" + key.toString() + \\\"!\\\");\\n throw new IllegalStateException(\\\"Cannot write to cache!\\\",\\n ioe);\\n }\\n \\n CacheEntry entry = store.get(key);\\n writer.write(entry.getVersion() + \\\",\\\" + entry.exists() + \\\"\\\\n\\\" + entry.getData().toString());\\n } catch (IOException e) {\\n throw new IllegalStateException(\\\"Cannot write cache data to disk!\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72a6ffef49eab8c0081f1aa2506a1b1\",\n \"score\": \"0.52499217\",\n \"text\": \"private void putContent(String f, String content) throws IOException {\\n DataOutputStream out = null;\\n try {\\n out = new DataOutputStream(new FileOutputStream(new File(bundleDir, f)));\\n out.writeUTF(content);\\n } finally {\\n if (out != null) {\\n out.close();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9918eb7e9ca7e03e25c490399ea1b048\",\n \"score\": \"0.5247704\",\n \"text\": \"@Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n Log.d(\\\"database\\\", \\\"sucessfull upload\\\");\\n Log.d(\\\"database\\\", \\\"uploading filename: \\\"+fileName+\\\" to: \\\"+\\\"pruducts.\\\"+pCode+\\\".imageFileName\\\");\\n database.getReference(\\\"products\\\").child(pCode).child(\\\"imageFileName\\\").setValue(fileName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"258a47648f0b421ce528d256edebe43a\",\n \"score\": \"0.52456856\",\n \"text\": \"public void store(File outputFile, progress prog) throws IOException, InterruptedException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7c525005de1ada48ca6c69b45a0ac92\",\n \"score\": \"0.52433085\",\n \"text\": \"@Override\\n public void onResult(DriveContentsResult result) {\\n if (!result.getStatus().isSuccess()) {\\n Log.i(LOG_TAG, \\\"Failed to create new contents.\\\");\\n return;\\n }\\n // Otherwise, we can write our data to the new contents.\\n Log.i(LOG_TAG, \\\"New contents created.\\\");\\n // Get an output stream for the contents.\\n OutputStream outputStream = result.getDriveContents().getOutputStream();\\n // Write the bitmap data from it.\\n ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\\n image.compress(Bitmap.CompressFormat.JPEG, 100, bitmapStream);\\n try {\\n outputStream.write(bitmapStream.toByteArray());\\n } catch (IOException e1) {\\n queryCallbackDao.failRequest(\\\"Unable to write file contents.\\\");\\n Log.i(LOG_TAG, \\\"Unable to write file contents.\\\");\\n }\\n // Create the initial metadata - MIME type and title.\\n // Note that the user will be able to change the title later.\\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\\n .setMimeType(\\\"image/jpeg\\\").setTitle(\\\"Android Photo.JPEG\\\").build();\\n // Create an intent for the file chooser, and start it.\\n IntentSender intentSender = Drive.DriveApi\\n .newCreateFileActivityBuilder()\\n .setInitialMetadata(metadataChangeSet)\\n .setInitialDriveContents(result.getDriveContents())\\n .build(mGoogleApiClient);\\n\\n queryCallbackDao.createResultImageFile(intentSender);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4c715e2d4c5f8584cfa66ae52aa09fa\",\n \"score\": \"0.5240307\",\n \"text\": \"public void saveFileContent(final Exchange exchange) {\\n exchange.getIn().setHeader(Messaging.Names.SAVED_FILE_CONTENT.toString(), exchange.getIn().getBody());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34505612ed6cebf2e12adec50ceeb28b\",\n \"score\": \"0.52281284\",\n \"text\": \"public String saveContent();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa35aac39c9b6c27702e9ada7f1a5acf\",\n \"score\": \"0.52227306\",\n \"text\": \"public void saveNewFile()\\n {\\n Map propertiesMap = new HashMap();\\n \\n propertiesMap.put(FileItemProperty.NAME_FILE_PROPERTY, \\n this.getName());\\n propertiesMap.put(FileItemProperty.READ_ONLY_FILE_PROPERTY, \\n Boolean.toString(isReadOnly()));\\n propertiesMap.put(FileItemProperty.HIDDEN_FILE_PROPERTY, \\n Boolean.toString(this.isHidden()));\\n \\n DateFormat dateFormat = FileItemProperty.getLastModifiedFormat();\\n Date date = new java.util.Date();\\n String datetime = dateFormat.format(date);\\n propertiesMap.put(FileItemProperty.LAST_MODIFIED_FILE_PROPERTY, \\n datetime);\\n \\n propertiesMap.put(FileItemProperty.CREATED_FILE_PROPERTY, \\n datetime);\\n \\n propertiesMap.put(FileItemProperty.SIZE_FILE_PROPERTY, \\n Integer.toString(getSize()));\\n \\n propertiesMap.put(FileItemProperty.ICON_FILE_PROPERTY, \\n null);\\n \\n propertiesMap.put(FileItemProperty.SHARED_FILE_PROPERTY, \\n Boolean.toString(this.isShared()));\\n \\n propertiesMap.put(FileItemProperty.TYPE_FILE_PROPERTY, \\n this.getType());\\n \\n propertiesMap.put(FileItemProperty.DESCRIPTION_FILE_PROPERTY, \\n this.getDescription());\\n propertiesMap.put(FileItemProperty.KEYWORDS_FILE_PROPERTY, \\n this.getKeywords());\\n \\n RequestContext.getCurrentInstance().returnFromDialog(SAVE_NEW_FILE_ITEM, \\n propertiesMap);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c67b2d7d43389fc01f925a125b96a33\",\n \"score\": \"0.5217104\",\n \"text\": \"public void write(String filename, String content) throws IOException {\\n FSDataOutputStream s = getMfs().create(new Path(filename));\\n s.writeBytes(content);\\n s.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2d8db38035a50d445dbfeb238941e91\",\n \"score\": \"0.5217032\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void callback(DriveContents contents) {\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tcontents.getOutputStream().write(content);\\r\\n\\t\\t\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t// Upload the changes to the drive client.\\r\\n\\t\\t\\t\\t// null because there are no metadata changes.\\r\\n\\t\\t\\t\\tcontents.commit(driveClient, null);\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eac59b59af197b42be5a82b4de2c1a99\",\n \"score\": \"0.52153677\",\n \"text\": \"@Override\\n\\tpublic void writeFile(String file, String content) throws RemoteException, IOException {\\n\\n\\t\\tCollection replicaList = clientCache.values();\\n\\t\\tBoolean writeStatus = true;\\n\\t\\tlong stamp = lockFile(file, false);\\n\\t\\tlong transID = startNewTransaction();\\n\\t\\tSystem.out.println(\\\"transid is \\\"+transID);\\n readLock.lock();\\n\\t\\ttry {\\n\\t\\t\\t\\n synchronized (file) {\\n for (IFileReplica replica : replicaList) {\\n writeStatus = replica.innerWriteFile(file, content, transID);\\n if (!writeStatus) {\\n System.out.println(\\\"writefailed\\\");\\n // issueAbortTransaction(transID);\\n throw new IOException(\\\"error writing file \\\" + file);\\n }\\n }\\n issueCommitTransaction(transID);\\n }\\n\\t\\t}catch (IOException e){\\n System.out.println(\\\"Error writing \\\" + file );\\n\\t\\t \\n issueAbortTransaction(transID);\\n \\n throw new IOException(\\\"error writing file \\\" + file);\\n }finally {\\n \\n\\t\\t\\tunLockFile(file, stamp, false);\\n \\n \\n\\t\\t\\treadLock.unlock();\\n\\n\\t\\t}\\n \\n \\n writeLock.lock();\\n try{\\n \\n serverFiles.put(file, content);\\n }\\n finally{\\n writeLock.unlock();\\n }\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2739b262fd4f40ce56533182dfd2405\",\n \"score\": \"0.52097714\",\n \"text\": \"public void setFilecontent(byte[] value) {\\n this.filecontent = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cc9f7b72049e6cada10d4518e784b5d\",\n \"score\": \"0.52086186\",\n \"text\": \"private void appendData(String filename, String msg) {\\n\\t\\tMinioClient minioClient;\\n\\t\\tString dataString = \\\"\\\";\\n\\t\\ttry {\\n\\t\\t\\t// Initialize connection\\n\\t\\t\\tminioClient = new MinioClient(\\\"https://s3.amazonaws.com\\\", \\\"your_access_key\\\",\\n\\t\\t\\t\\t\\t\\\"your_secret_pass\\\");\\n\\n\\t\\t\\t// Retrieve string from S3.\\n\\t\\t\\tInputStream stream = minioClient.getObject(\\\"smart-clock-settings\\\", filename);\\n\\t\\t\\tbyte[] buf = new byte[16384];\\n\\t\\t\\tint bytesRead;\\n\\t\\t\\twhile ((bytesRead = stream.read(buf, 0, buf.length)) >= 0) {\\n\\t\\t\\t\\tdataString += new String(buf, 0, bytesRead);\\n\\t\\t\\t}\\n\\t\\t\\tstream.close();\\n\\t\\t\\tboolean shouldInsert = true;\\n\\t\\t\\tString[] dataLines = dataString.split(\\\"\\\\\\\\r?\\\\\\\\n\\\");\\n\\t\\t\\tString latestData = dataLines[dataLines.length - 1];\\n\\t\\t\\tString[] oldKeyValue = latestData.split(\\\",\\\");\\n\\t\\t\\tString[] newKeyValue = msg.split(\\\",\\\");\\n\\t\\t\\tif (filename.equals(\\\"weather.csv\\\")) {\\n\\t\\t\\t\\tif (oldKeyValue[0].equalsIgnoreCase(newKeyValue[0])) {\\n\\t\\t\\t\\t\\tshouldInsert = false;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t} else if (filename.equals(\\\"tempHum.csv\\\")) {\\n\\t\\t\\t\\tif (oldKeyValue[0].equalsIgnoreCase(newKeyValue[0])\\n\\t\\t\\t\\t\\t\\t&& oldKeyValue[1].equalsIgnoreCase(newKeyValue[1])) {\\n\\t\\t\\t\\t\\tshouldInsert = false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Append new data\\n\\t\\t\\tif (shouldInsert) {\\n\\t\\t\\t\\tdataString += \\\"\\\\n\\\" + msg;\\n\\n\\t\\t\\t\\tminioClient.removeObject(\\\"smart-clock-settings\\\", filename);\\n\\t\\t\\t\\tByteArrayInputStream bais = new ByteArrayInputStream(dataString.getBytes(\\\"UTF-8\\\"));\\n\\t\\t\\t\\tminioClient.putObject(\\\"smart-clock-settings\\\", filename, bais, bais.available(),\\n\\t\\t\\t\\t\\t\\t\\\"application/octet-stream\\\");\\n\\t\\t\\t\\tbais.close();\\n\\t\\t\\t}\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"544577a7780ce4aa54cc263f6367e3dd\",\n \"score\": \"0.52069813\",\n \"text\": \"public void storeFile(File file);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e89f48ec66ca95913e7bdee29f3b6392\",\n \"score\": \"0.5197855\",\n \"text\": \"public void store() throws IOException {\\n // private key\\n try {\\n Path p = Paths.get(KEY_FILE + name);\\n if (!Files.exists(p)) {\\n Files.createFile(p, KEYS_PERMS);\\n OutputStream fout = Files.newOutputStream(p);\\n fout.write(privateKey.getBytes());\\n fout.close();\\n } else {\\n LOG.info(\\\"Private KeyPair File already exists. Continuing ...\\\");\\n }\\n } catch (IOException e){\\n throw new IOException(\\\"Error writing private key :\\\"+e.getMessage(),e);\\n }\\n // public key\\n try {\\n Path p = Paths.get(KEY_FILE + name + \\\".pub\\\");\\n if (!Files.exists(p)) {\\n OutputStream fout = Files.newOutputStream(p);\\n fout.write(publicKey.getBytes());\\n fout.close();\\n } else {\\n LOG.info(\\\"Public KeyPair File already exists. Continuing ...\\\");\\n }\\n } catch (IOException e) {\\n throw new IOException(\\\"Error writing public key :\\\"+e.getMessage(),e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8b1d6d44896be9236f3b7323550f9e6\",\n \"score\": \"0.51959395\",\n \"text\": \"com.google.protobuf.ByteString getStorageFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07a2d7cea25ca8499bf04fca77e92871\",\n \"score\": \"0.51863575\",\n \"text\": \"private void writeKeyToStorage(String fileKeyInBucketNotRecordedPreviously) {\\n storageForLocationsPreviouslyLocated.putKey(fileKeyInBucketNotRecordedPreviously);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03d346b6784bfd25bf725eb66970eea3\",\n \"score\": \"0.51846385\",\n \"text\": \"protected void onProgressUpdate(String...strings) {\\n String strReceived = strings[0].trim();\\n TextView myTextView = (TextView) findViewById(R.id.textView1);\\n myTextView.append(strReceived + \\\"\\\\t\\\\n\\\");\\n myTextView.append(\\\"\\\\n\\\");\\n\\n /*\\n * The following code store our messages in Content provider using pair\\n * is sequence of id increment by 1 and unique for each message\\n * is actual message\\n */\\n\\n String msg = strReceived + \\\"\\\\n\\\";\\n ContentValues contentValues = new ContentValues();\\n contentValues.put(\\\"key\\\", Integer.toString(msgID));\\n contentValues.put(\\\"value\\\", msg);\\n mContentResolver.insert(mUri, contentValues);\\n msgID++;\\n\\n return;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32087198ed99fbd0da3a3846cb521b73\",\n \"score\": \"0.51808125\",\n \"text\": \"private void export() {\\n\\t\\tif(StatisticalName.isFold == 0){\\n\\t\\t\\tStatistics.onEvent(ExportItemSelectActivity.this, Statistics.MAIN_APP_EXPORT);\\n\\t\\t}else{\\n\\t\\t\\tStatistics.onEvent(ExportItemSelectActivity.this, Statistics.MAIN_APP_FOLDER_EXPORT);\\n\\n\\t\\t}\\n\\t\\t//gn pengwei 20120118 modify for CR00765638 end\\n\\t\\tString file_path = getResources().getString(R.string.file_path);\\n\\t\\tif(typeSelect == 0){\\n\\t\\t\\tLog.d(\\\"export_note_message_sd\\\");\\n\\t\\t\\tmessage=getResources().getString(R.string.export_note_message_sd, file_path , ImportExportUtils.exportFileName);\\n\\t\\t\\t//\\t\\t\\tmessage = getResources().getString(R.string.export_note_message_sd) + getResources().getString(R.string.file_path) + ImportExportUtils.exportFileName + getResources().getString(R.string.export_note_message);\\n\\t\\t}else if(typeSelect == 1){\\n\\t\\t\\tLog.d(\\\"export_note_message_internal\\\");\\n\\t\\t\\tmessage=getResources().getString(R.string.export_note_message_internal, file_path ,ImportExportUtils.exportFileName);\\n\\t\\t\\t//\\t\\t\\tmessage =getResources().getString(R.string.export_note_message_internal) + getResources().getString(R.string.file_path) + ImportExportUtils.exportFileName + getResources().getString(R.string.export_note_message);\\n\\t\\t}else{\\n\\n\\t\\t}\\n\\n\\t\\tdialogShow();\\n\\n\\t\\tfinal ImportExportUtils backup = ImportExportUtils\\n\\t\\t.getInstance(ExportItemSelectActivity.this);\\n\\t\\tnew AsyncTask() {\\n\\t\\t private int exportCount = 0;\\n\\t\\t\\t@Override\\n\\t\\t\\tprotected Integer doInBackground(Void... params) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// Gionee <2013-03-19> add for set the state of export begin\\n\\t\\t\\t\\tImportExportUtils.setExporting(true);\\n\\t\\t\\t\\t// Gionee <2013-03-19> add for set the state of export end\\n\\n\\t\\t\\t\\tint result = ImportExportUtils.STATE_SUCCESS;\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tFile fileDir = backup.getExportedTextFileDir(typeSelect);\\n\\t\\t\\t\\t\\tif (fileDir == null) {\\n\\t\\t\\t\\t\\t\\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t// gn lilg 2012-12-26 add for common controls begin\\n\\t\\t\\t\\t\\t/*for (Group group : groupList) {\\n\\t\\t\\t\\t\\t\\tGroupInfo groupInfo = group.getGroupInfo();\\n\\t\\t\\t\\t\\t\\tif (groupInfo.isFolder()) {\\n\\t\\t\\t\\t\\t\\t\\t// folder and notes in it\\n\\t\\t\\t\\t\\t\\t\\tList childList = group.getChild();\\n\\t\\t\\t\\t\\t\\t\\tfor (ChildInfo child : childList) {\\n\\t\\t\\t\\t\\t\\t\\t\\tif (child.isChecked()) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tresult = backup.exportToText(fileDir,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tchild.getDbId(),\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tgroupInfo.getDbId());\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (result != ImportExportUtils.STATE_SUCCESS) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tpublishProgress(exportCount);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\texportCount++;\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t// root note\\n\\t\\t\\t\\t\\t\\t\\tif (groupInfo.isChecked()) {\\n\\t\\t\\t\\t\\t\\t\\t\\tresult = backup.exportToText(fileDir,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tgroupInfo.getDbId(),\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tConstants.NO_FOLDER);\\n\\t\\t\\t\\t\\t\\t\\t\\tif (result != ImportExportUtils.STATE_SUCCESS) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\tpublishProgress(exportCount);\\n\\t\\t\\t\\t\\t\\t\\t\\texportCount++;\\n\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}*/\\n\\n\\t\\t\\t\\t\\tfor (ExportItem item : dataList) {\\n\\t\\t\\t\\t\\t\\tif(item.isChecked()){\\n\\t\\t\\t\\t\\t\\t\\tif (item.isFolder()) {\\n\\t\\t\\t\\t\\t\\t\\t\\t// folder and notes in it\\n\\t\\t\\t\\t\\t\\t\\t\\tList noteList = getNoteListFromFolder(item);\\n\\t\\t\\t\\t\\t\\t\\t\\tif(noteList != null){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfor (Note note : noteList) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tresult = backup.exportToText(fileDir, note, item);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tif (result != ImportExportUtils.STATE_SUCCESS) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tpublishProgress(exportCount);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\texportCount++;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\t// root note\\n\\t\\t\\t\\t\\t\\t\\t\\tresult = backup.exportToText(fileDir, item.getDbId(), Constants.NO_FOLDER);\\n\\t\\t\\t\\t\\t\\t\\t\\tif (result != ImportExportUtils.STATE_SUCCESS) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\tpublishProgress(exportCount);\\n\\t\\t\\t\\t\\t\\t\\t\\texportCount++;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// gn lilg 2012-12-26 add for common controls end\\n\\n\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\tresult = ImportExportUtils.STATE_SYSTEM_ERROR;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn result;\\n\\t\\t\\t}\\n\\n\\t\\t\\tprotected void onProgressUpdate(Integer[] values) {\\n\\n\\t\\t\\t\\tif (values[0] > MAX_PROGRESS) {\\n\\t\\t\\t\\t\\tmProgressDialog.dismiss();\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tmProgressDialog\\n\\t\\t\\t\\t\\t.setMessage(message\\n\\t\\t\\t\\t\\t\\t\\t+ getResources()\\n\\t\\t\\t\\t\\t\\t\\t.getString(\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tR.string.export_note_progress_message_first,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t(values[0] + 1), checkedNum));\\n\\t\\t\\t\\t\\t// mProgressDialog.setMessage(message + \\\"\\\\n\\\\n正在导出第\\\" +\\n\\t\\t\\t\\t\\t// (values[0] + 1) + \\\"个便签(共\\\"+ checkedNum +\\\"个)\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\tprotected void onPostExecute(Integer result) {\\n\\t\\t\\t if(null == result){\\n\\t\\t\\t Log.d(\\\"onPostExecute-result=null\\\");\\n\\t\\t\\t return;\\n\\t\\t\\t }\\n\\t\\t\\t\\t// Gionee <2013-03-19> add for set the state of export begin\\n\\t\\t\\t\\tImportExportUtils.setExporting(false);\\n\\t\\t\\t\\t// Gionee <2013-03-19> add for set the state of export end\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// gionee lilg 2013-01-28 modify for CR00768048 begin\\n\\t\\t\\t\\t//gn pengwei 2013-1-8 modify for CR00761228 begin\\n\\t\\t\\t\\t// dismiss the progressDialog only when the parent AmigoActivity is still alive.\\n\\t\\t\\t\\tif(ExportItemSelectActivity.this != null && !ExportItemSelectActivity.this.isFinishing() && mProgressDialog != null){\\n\\t //Gionee <20130615> modify for CR00819335 begin\\n\\t\\t\\t\\t\\ttry {\\n\\t if(!isFinishing()){\\n\\t mProgressDialog.dismiss();\\n\\t }\\n\\t } catch (Exception e) {\\n\\t Log.e(\\\"ExportItemSelectActivity---onPostExecute---e == \\\" + e);\\n\\t }\\n\\t\\t\\t\\t\\t//Gionee <20130615> modify for CR00819335 end\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t//gn pengwei 2013-1-8 modify for CR00761228 end\\n\\t\\t\\t\\t// gionee lilg 2013-01-28 modify for CR00768048 end\\n\\t\\t\\t\\texportCount = 0;\\n\\t\\t\\t\\tif (result == ImportExportUtils.STATE_SUCCESS) {\\n\\t\\t\\t\\t\\t//gionee 20121204 jiating modify for CR00739261 begin\\n\\n\\t\\t\\t\\t\\tCommonUtils.showToast(ExportItemSelectActivity.this,getResources().getString(R.string.gn_exportnote_complete));\\n\\n\\t\\t\\t\\t\\t//gionee 20121204 jiating modify for CR00739261 end\\n\\t\\t\\t\\t\\t// 保存导出记录时间\\n\\t\\t\\t\\t\\tsaveExportRecord();\\n\\n\\t\\t\\t\\t\\t// 返回应用主页面\\n\\t\\t\\t\\t\\tHomeActivity.setInFolder(false);\\n\\t\\t\\t\\t\\tIntent intent = new Intent(ExportItemSelectActivity.this,\\n\\t\\t\\t\\t\\t\\t\\tHomeActivity.class);\\n\\t\\t\\t\\t\\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\\n\\t\\t\\t\\t\\tstartActivity(intent);\\n\\t\\t\\t\\t\\t// CR00733764\\n\\t\\t\\t\\t\\tsetResult(CommonUtils.RESULT_ExportItemSelectActivity);\\n\\t\\t\\t\\t\\tfinish();\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tshowExportErrorDialog();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t}.executeOnExecutor((ExecutorService)Executors.newCachedThreadPool());\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c938827d888c82df314b21d04a27009f\",\n \"score\": \"0.5160578\",\n \"text\": \"@Override\\n public void onResult(DriveApi.ContentsResult result) {\\n if (!result.getStatus().isSuccess()) {\\n Log.i(\\\"\\\", \\\"Failed to create new contents.\\\");\\n return;\\n }\\n // Otherwise, we can write our data to the new contents.\\n Log.i(\\\"\\\", \\\"New contents created.\\\");\\n // Get an output stream for the contents.\\n OutputStream outputStream = result.getContents().getOutputStream();\\n // Write the bitmap data from it.\\n ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\\n imageData.compress(Bitmap.CompressFormat.PNG, 100, bitmapStream);\\n try {\\n outputStream.write(bitmapStream.toByteArray());\\n } catch (IOException e1) {\\n Log.i(\\\"\\\", \\\"Unable to write file contents.\\\");\\n }\\n // Create the initial metadata - MIME type and title.\\n // Note that the user will be able to change the title later.\\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\\n .setMimeType(\\\"image/png\\\").setTitle(filePath).build();\\n // Create an intent for the file chooser, and start it.\\n IntentSender intentSender = Drive.DriveApi\\n .newCreateFileActivityBuilder()\\n .setInitialMetadata(metadataChangeSet)\\n .setInitialContents(result.getContents())\\n .build(mGoogleApiClient);\\n try {\\n startIntentSenderForResult(\\n intentSender, REQUEST_CODE_CREATOR, null, 0, 0, 0);\\n } catch (IntentSender.SendIntentException e) {\\n Log.i(\\\"\\\", \\\"Failed to launch file chooser.\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1c23902e4f95f8b8614cfabae23789d\",\n \"score\": \"0.5155269\",\n \"text\": \"private void uploadFile() {\\n if (filePath != null) {\\n //displaying progress dialog while image is uploading\\n final ProgressDialog progressDialog = new ProgressDialog(this);\\n progressDialog.setTitle(\\\"Uploading\\\");\\n progressDialog.show();\\n\\n //getting the storage reference\\n receivedObject.get(listPosition).setBucketListUrl(\\\"gs://thebucketlist-bf5bf.appspot.com/Users/\\\"+userToken()+\\\"/\\\"+receivedObject.get(listPosition).getBucketListItem());\\n receivedObject.get(listPosition).getBucketListUrl();\\n updateDatabase();\\n StorageReference sRef = storageReference.child(\\\"Users/\\\"+userToken()+\\\"/\\\"+receivedObject.get(listPosition).getBucketListItem());\\n Log.d(\\\"XXX: debugging storage\\\", \\\"Reached here\\\");\\n //adding the file to reference\\n sRef.putFile(filePath)\\n .addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n //dismissing the progress dialog\\n progressDialog.dismiss();\\n\\n //displaying success toast\\n Toast.makeText(getApplicationContext(), \\\"File Uploaded \\\", Toast.LENGTH_LONG).show();\\n\\n //creating the upload object to store uploaded image details\\n //Upload upload = new Upload(editTextName.getText().toString().trim(), taskSnapshot.getDownloadUrl().toString());\\n\\n //adding an upload to firebase database\\n //String uploadId = mDatabase.push().getKey();\\n //mDatabase.child(uploadId).setValue(upload);\\n }\\n })\\n .addOnFailureListener(new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception exception) {\\n progressDialog.dismiss();\\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\\n }\\n })\\n .addOnProgressListener(new OnProgressListener() {\\n @Override\\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\\n //displaying the upload progress\\n double progress = (100.0 * taskSnapshot.getBytesTransferred()) / taskSnapshot.getTotalByteCount();\\n progressDialog.setMessage(\\\"Uploaded \\\" + ((int) progress) + \\\"%...\\\");\\n }\\n });\\n } else {\\n //display an error if no file is selected\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a290d3dc5ae87c5333e8e193f99e233a\",\n \"score\": \"0.51522076\",\n \"text\": \"public void tieUp() {\\n\\t\\tif(!this.isInitialized.getAndSet(false)) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t\\n\\t\\tsm.unregisterListener(this);\\n\\t\\ttry {\\n\\t\\t\\tFile fileHandle = fileWriter.close();\\n\\t\\t\\tLOG.debug(\\\"{} ({} bytes) was written to filesystem.\\\", fileHandle, fileHandle.length());\\n\\t\\t\\t\\n\\t\\t\\t// store meta information in the database\\n\\t\\t\\tfinal int length = 0;\\t\\t\\t// TODO calculate length [in seconds]\\n\\t\\t\\tfinal int height = 0;\\t\\t\\t// TODO calculate resolution [height]x[width]\\n\\t\\t\\tfinal int width = 0;\\n\\t\\t\\tfinal String resolution = height + \\\"x\\\" + width; \\n\\t\\t\\t\\n\\t\\t\\tFilePOJO fileEntity = new FilePOJO(author, fileHandle.getName(), filename, \\n\\t\\t\\t\\t\\tthis.mediaUrlPrefix + String.valueOf(author) + \\\"/\\\" + fileHandle.getName(), \\n\\t\\t\\t\\t\\tthis.urlDefaultThumbnail, \\n\\t\\t\\t\\t\\tthis.mediaType, \\n\\t\\t\\t\\t\\tnew Date(), \\n\\t\\t\\t\\t\\tfileHandle.length(), \\n\\t\\t\\t\\t\\t0, 0, \\n\\t\\t\\t\\t\\tfalse, false, \\n\\t\\t\\t\\t\\tlength, \\n\\t\\t\\t\\t\\theight, width, resolution);\\n\\n\\t\\t\\tif(!dbConnection.insertFile(fileEntity)) {\\n\\t\\t\\t\\tLOG.error(\\\"Could not write file metadata of file {} to database!\\\", fileHandle.getName());\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\tLOG.error(\\\"File was not completely written!\\\", e);\\n\\t\\t\\tSystem.out.println(\\\"File was not completely written.\\\");\\n\\t\\t} finally {\\n\\t\\t\\tthis.dbConnection.close();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05ffdfe4d553373cad23ae3483fea1bc\",\n \"score\": \"0.51506263\",\n \"text\": \"@Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n progressDialog.dismiss();\\n\\n //displaying success toast\\n Toast.makeText(getApplicationContext(), \\\"File Uploaded \\\", Toast.LENGTH_LONG).show();\\n\\n //creating the upload object to store uploaded image details\\n //Upload upload = new Upload(editTextName.getText().toString().trim(), taskSnapshot.getDownloadUrl().toString());\\n\\n //adding an upload to firebase database\\n //String uploadId = mDatabase.push().getKey();\\n //mDatabase.child(uploadId).setValue(upload);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f977abf32c0bbe326bfb78121f07bd86\",\n \"score\": \"0.5142854\",\n \"text\": \"public void save() throws FileNotFoundException {\\n try {\\n outputStream = openFileOutput(filename, Context.MODE_PRIVATE);\\n ObjectOutputStream oos = new ObjectOutputStream(outputStream);\\n oos.writeObject(Gallery.getInstance().saveGames(context).toString());\\n oos.close();\\n } catch (IOException ie) {\\n ie.printStackTrace();\\n } catch (JSONException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"797d19cc0d56af804ba8e64cb9f81911\",\n \"score\": \"0.5141417\",\n \"text\": \"public void save() {\\n \\t\\tTimestamp timestamp = new Timestamp(System.currentTimeMillis());\\r\\n SimpleDateFormat sdf = new SimpleDateFormat(\\\"yyyy.MM.dd.HH.mm.ss\\\");\\r\\n new File(\\\"./data/\\\").mkdirs();\\r\\n \\t\\ttry (PrintWriter out = new PrintWriter(\\\"./data/\\\" + sdf.format(timestamp)+\\\".csv\\\")) {\\r\\n \\t\\t out.println(saveContent.toString());\\r\\n \\t \\t\\tsaveContent.setLength(0);\\r\\n \\t \\t\\tsaveContent.append(\\\"TYPE,VALUE,TIMESTAMP\\\");\\r\\n \\t\\t} catch (FileNotFoundException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\r\\n \\t\\t\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"061ba6e6b8506401e6643183696a2c0e\",\n \"score\": \"0.5133554\",\n \"text\": \"private void uploadToStorage(Uri uri){\\n StorageReference photoRef = storageReference.child(uri.getLastPathSegment());\\n\\n //upload to storage\\n photoRef.putFile(uri).addOnSuccessListener(this, new OnSuccessListener() {\\n @Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n Uri downloadURL = taskSnapshot.getDownloadUrl();\\n FriendlyMessage friendlyMessage = new FriendlyMessage(null,mUsername,downloadURL.toString());\\n databaseReference.push().setValue(friendlyMessage);\\n }\\n });\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a5839fa887e885119c2207f08cc1d41\",\n \"score\": \"0.51282597\",\n \"text\": \"public void saveMessage(Message msg) {\\n\\t\\tList fileHeader = new LinkedList();\\r\\n\\t\\tint lnNum = 0;\\r\\n\\t\\tString ln;\\r\\n\\t\\twhile ((ln = readLine(lnNum)).startsWith(\\\"#\\\")) {\\r\\n\\t\\t\\tfileHeader.add(ln);\\r\\n\\t\\t\\tlnNum++;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t// Create a map to hold the information from the message.\\r\\n\\t\\tMap msgData = new LinkedHashMap(); // Use a LinkedHashMap in order to preserve the order of entries.\\r\\n\\t\\tMap senderData = new LinkedHashMap(); // A map to hold the sender data. Will be added to msgData.\\r\\n\\t\\tmsgData.put(\\\"text\\\", msg.getText());\\r\\n\\t\\t\\r\\n\\t\\tsenderData.put(\\\"name\\\", msg.getSender().getName());\\r\\n\\t\\tsenderData.put(\\\"displayName\\\", msg.getSender().getDisplayName());\\r\\n\\t\\tsenderData.put(\\\"id\\\", msg.getSender().getId());\\r\\n\\t\\tsenderData.put(\\\"role\\\", msg.getSender().getRole().name());\\r\\n\\t\\t\\r\\n\\t\\tmsgData.put(\\\"sender\\\", senderData);\\r\\n\\t\\tmsgData.put(\\\"timeStamp\\\", msg.getTimeStamp());\\r\\n\\t\\t\\r\\n\\t\\tYaml yaml = new Yaml();\\r\\n//\\t\\tSystem.out.println(yaml.dump(msgData));\\r\\n//\\t\\tString yamlMessage = yaml.dump(msgData);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\tFileInputStream ioStream = null;\\r\\n\\t\\tFileWriter writer = null;\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tioStream = new FileInputStream(filePath);\\r\\n\\t\\t\\tMap msgCabinet = (Map) yaml.load(ioStream);\\r\\n\\t\\t\\tList> messageList = (List>) msgCabinet.get(\\\"messages\\\");\\r\\n\\t\\t\\t\\r\\n//\\t\\t\\tSystem.out.println(\\\"msgCabinet:\\\\n\\\" + msgCabinet + \\\"\\\\n\\\");\\r\\n\\t\\t\\tmessageList.add(msgData);\\r\\n//\\t\\t\\tSystem.out.println(\\\"msgCabinet:\\\\n\\\" + msgCabinet);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\twriter = new FileWriter(filePath);\\r\\n\\t\\t\\tfor (String str : fileHeader) {\\r\\n\\t\\t\\t\\twriter.append(str + \\\"\\\\n\\\");\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tyaml.dump(msgCabinet, writer);\\r\\n\\t\\t} catch (FileNotFoundException e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t} finally {\\r\\n\\t\\t\\tif (ioStream != null) {\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tioStream.close();\\r\\n\\t\\t\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif (writer != null) {\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\twriter.close();\\r\\n\\t\\t\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ca7f9bb67ae31e968a5e34b0810eac3\",\n \"score\": \"0.51206565\",\n \"text\": \"public void SavingData(JSONObject toWrite){\\n\\n try {\\n// openFileOutput contains the file in Output mode\\n\\n foust = openFileOutput(\\\"data\\\", MODE_PRIVATE);\\n foust.write(toWrite.toString().getBytes());\\n } catch (FileNotFoundException e) {\\n Log.e(\\\"file not found\\\",e.getMessage());\\n e.printStackTrace();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63c78cf5aa0082bd39cff76e4b23c184\",\n \"score\": \"0.511076\",\n \"text\": \"static void writeFile(String message){\\n try {\\n bwf.write(message + \\\"\\\\n\\\");\\n bwf.flush();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00ed7ee9578ec746c2f246dc1c077b88\",\n \"score\": \"0.5109558\",\n \"text\": \"@Override\\n public void onIMTransactionFileUploadCallback(BDHiFile bdhiFile, boolean result) {\\n if (result) {\\n LogUtil.printIm(getThreadName(), \\\"BDHiFile upload success: \\\" + bdhiFile);\\n if (removeFileContent(bdhiFile) && mFileMap.isEmpty()) {\\n // Send All Files Finished\\n messageBuilder = OneMsgConverter.convertIMMessage(imMessage);\\n LogUtil.printIm(getThreadName(), \\\"Send All files finished\\\");\\n for (Image image : messageBuilder.getContent().getImagesList()) {\\n LogUtil.printIm(getThreadName(), image.getUrl());\\n }\\n // 017 send one msg\\n sendMsg();\\n }\\n } else {\\n LogUtil.printIm(getThreadName(), \\\"BDHiFile upload failed: \\\" + imMessage.toString());\\n if (removeFileContent(bdhiFile)) {\\n clearFileContents();\\n imMessage.setStatus(IMMessageStatus.FAILED);\\n // 015 convert IMMessage into MessageBuilder\\n messageBuilder = OneMsgConverter.convertIMMessage(imMessage);\\n if (null != messageBuilder) {\\n // Save OneMsg into msgBody\\n imMessage.setBody(messageBuilder.toByteArray());\\n // Save IMMessage to db\\n msgStore.saveIMMessage(imMessage);\\n }\\n // 016 Notify User\\n if (null != callback) {\\n Map changes = new HashMap();\\n changes.put(IMMessageChange.STATUS, IMMessageStatus.FAILED);\\n LogUtil.printIm(getThreadName(), \\\"Notify user sendMsg result.\\\");\\n callback.onMessageChanged(imMessage, changes);\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65fc19b5849bc9de22e8a933cb87274c\",\n \"score\": \"0.51077104\",\n \"text\": \"@Override\\n\\tpublic void writeToFile() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cc21f8a9002c1843afc40195d1a2203\",\n \"score\": \"0.51063055\",\n \"text\": \"@Override\\n\\tprotected Response doInBackground(FileServiceInfo... params) {\\n\\t\\tResponse response = new Response();\\n\\t\\t\\n\\t\\tFileServiceInfo fsInfo = params[0];\\n\\t\\tArrayList dataList = fsInfo.getFilesToSave();\\n\\t\\t\\n\\t\\tif(dataList != null && dataList.size() > 0) {\\n\\t\\t\\t\\n\\t\\t\\tFileStatus status = FileStatus.WRITE_FAILED;\\n\\t\\t\\t\\n\\t\\t\\tfor(FileData fileData : dataList) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString dir = fileData.getDir();\\n\\t\\t\\t\\tString fileName = fileData.getFileName();\\n\\t\\t\\t\\tbyte[] data = fileData.getData();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(fileData.getFileType() == FileType.IMAGE) {\\n\\t\\t\\t\\t\\tstatus = FileHelper.saveImage( dir, fileName, data);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(fileData.getFileType() == FileType.TEXT){\\n\\t\\t\\t\\t\\tstatus = FileHelper.saveFile( dir , fileName, data );\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(fileData.getFileType() == FileType.TEXT_APPEND ) {\\n\\t\\t\\t\\t\\tstatus = FileHelper.appendToFile( dir , fileName, data );\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(status != FileStatus.WRITE_SUCCESSFUL) {\\n\\t\\t\\t\\t\\tresponse.setStatus(ResponseStatus.FAILED, status.toString());\\n\\t\\t\\t\\t\\treturn response;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tresponse.setStatus(ResponseStatus.SUCCESS, status.toString());\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn response;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f702f800136612fa7ade1866bf79f45\",\n \"score\": \"0.5105797\",\n \"text\": \"@Override\\n protected void onPostExecute(Boolean result) {\\n mProgress.dismiss();\\n LocalBook lb = new LocalBook();\\n lb.setName(saveAs);\\n lb.setPath(filepath);\\n insertLocalBook(lb);\\n super.onPostExecute(result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee9032782610422a3901b20815f988b0\",\n \"score\": \"0.5105271\",\n \"text\": \"public void SaveToFirebase() {\\n StorageReference storageRef = FirebaseStorage.getInstance().getReferenceFromUrl\\n (\\\"gs://muphotospot.appspot.com\\\");\\n String currentDateTimeString = DateFormat.getDateTimeInstance().format(new Date());\\n\\n StorageReference mountainsRef = storageRef.child(\\\"/pictures\\\"\\n + currentDateTimeString + \\\".jpg\\\");\\n\\n // Create a reference to 'images/pictures.jpg'\\n StorageReference mountainImagesRef = storageRef.child(getLocationText + \\\"/pictures\\\"\\n + currentDateTimeString + \\\".jpg\\\");\\n\\n Uri file = Uri.fromFile((new File(mCurrentPhotoPath))); //initialize Uri file from local path that keep the saved picture\\n UploadTask uploadTask = mountainImagesRef.putFile(file); //put file\\n uploadTask.addOnFailureListener(new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception exception) {\\n // Handle unsuccessful uploads\\n }\\n }).addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n // taskSnapshot.getMetadata() contains file metadata such as size, content-type, and download URL.\\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\\n sentData(downloadUrl);\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69b768615c14b5cd65bad1773afe05cb\",\n \"score\": \"0.5101358\",\n \"text\": \"public void writeToFile(final String title, final byte[] content) {\\r\\n\\t\\t// Make a request to get a stream for writing to the file,\\r\\n\\t\\tgetDriveContents(title, DriveFile.MODE_WRITE_ONLY, new Callback() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void callback(DriveContents contents) {\\r\\n\\t\\t\\t\\t// Write the desired data to the end of the file.\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tcontents.getOutputStream().write(content);\\r\\n\\t\\t\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t// Upload the changes to the drive client.\\r\\n\\t\\t\\t\\t// null because there are no metadata changes.\\r\\n\\t\\t\\t\\tcontents.commit(driveClient, null);\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c2128dbe9ec64cf2a3edbff94263a37\",\n \"score\": \"0.51003087\",\n \"text\": \"@Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n final Uri downloadUrl = taskSnapshot.getDownloadUrl();\\n// Toast.makeText(UploadMemoryActivity.this, \\\"Yes\\\", Toast.LENGTH_SHORT).show();\\n myRef = myRef.child(\\\"Memories\\\").push();\\n String memoryKey = myRef.getKey();\\n //String newKey = uUserDatabaseReference.push().getKey();\\n //uUserDatabaseReference.child(newKey).setValue(memoryKey);\\n myRef.runTransaction(new Transaction.Handler() {\\n @Override\\n public Transaction.Result doTransaction(MutableData mutableData) {\\n myRef.child(\\\"userID\\\").setValue(mAuth.getCurrentUser().getUid());\\n myRef.child(\\\"Picture URL\\\").setValue(downloadUrl.toString());\\n return null;\\n }\\n\\n @Override\\n public void onComplete(DatabaseError databaseError, boolean b, DataSnapshot dataSnapshot) {\\n// Toast.makeText(UploadMemoryActivity.this, \\\"Successful\\\", Toast.LENGTH_SHORT).show();\\n AlertDialog dialog = new AlertDialog.Builder(view.getContext())\\n .setTitle(\\\"Pictue uploaded successfully!\\\")\\n .setPositiveButton(\\\"ok\\\",dialogClickListener)\\n .show();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1d55a20ff061356bfefe657bee33c29\",\n \"score\": \"0.5093627\",\n \"text\": \"@Override\\n public synchronized void put(String key, CacheEntry entry) {\\n\\t\\tif (!canCache(entry)) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tResponseBody body = entry.getData().getBody();\\n\\t\\tLegolas.getLog().d(\\\"DiskCache put \\\" + key);\\n\\t\\t\\n\\t\\tpruneIfNeeded((int) body.length());\\n File file = getFileForKey(key);\\n File configFile = getConfigFileForKey(key);\\n FileOutputStream configFileOut = null;\\n try {\\n\\t\\t\\t// 写流\\n\\t\\t\\t//如果是需要加密,直接在方法writeStream加密就好了\\n \\tChecksum checksum = writeResponseBodyToFile(body, file, DEFAULT_BUFFER_SIZE);\\n \\tString sumValue = checksumToString(checksum);\\n \\t\\t\\t\\n\\t\\t\\t//writeConfigFile\\n\\t\\t\\tconfigFileOut = new FileOutputStream(configFile, false);\\n\\t\\t\\tCacheHeader e = new CacheHeader(key, entry, sumValue);\\n\\t\\t\\te.writeHeader(configFileOut);\\n\\t\\t\\tconfigFileOut.flush();\\n \\n putEntry(key, e);\\n return;\\n } catch (IOException e) {\\n \\tLegolas.getLog().w(\\\"save cache file fail\\\", e);\\n\\t\\t} finally {\\n\\t\\t\\tcloseStream(configFileOut);\\n\\t\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da3139c02f1bde17299cf8d2cca1114a\",\n \"score\": \"0.5084367\",\n \"text\": \"@Override\\n public void onComplete(@NonNull Task task) {\\n url =task.getResult().toString(); // retrieve download url\\n // create firebase database reference\\n DatabaseReference reference = database.getReference();\\n DatabaseReference historydb = reference.child(currentUser).child(\\\"history\\\");\\n // once file is upload to cloud, store the download url in firebase database\\n historydb.child(fileName1).setValue(url).addOnCompleteListener(new OnCompleteListener() {\\n @Override\\n public void onComplete(@NonNull Task task) {\\n if (task.isSuccessful()){\\n Toast.makeText(UserRecords.this,\\\"File Uploaded\\\",Toast.LENGTH_SHORT).show();\\n }\\n else\\n Toast.makeText(UserRecords.this,\\\"Upload failed\\\",Toast.LENGTH_SHORT).show();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f33e355f285912182b55691404d807d\",\n \"score\": \"0.5070665\",\n \"text\": \"public byte[] serianized(DefaultBytesMessage message,KeyValue properties){\\n\\n if (atomicIntegerFileName.get() == 0) {\\n Set headerKeySet = message.headers().keySet();\\n\\n int headNum = headerKeySet.size();\\n\\n\\n byte[][] headerKeyByte = new byte[headNum][];\\n\\n Iterator iterator = headerKeySet.iterator();\\n int indexNum = 0;\\n while (iterator.hasNext()) {\\n\\n String headerKey = iterator.next();\\n headerKeyByte[indexNum++] = headerKey.getBytes();\\n }\\n Set propertiesKeySet = message.properties().keySet();\\n int propertiesNum = propertiesKeySet.size();\\n\\n byte[][] propertiesKeyByte = new byte[propertiesNum][];\\n\\n Iterator i = propertiesKeySet.iterator();\\n int index = 0;\\n while (i.hasNext()){\\n String propertiesKey = i.next();\\n propertiesKeyByte[index++] = propertiesKey.getBytes();\\n\\n\\n\\n }\\n int length = 0;\\n for (byte[] b : headerKeyByte) {\\n length += b.length;\\n\\n ++length;\\n }\\n for (byte[] b : propertiesKeyByte) {\\n length += b.length;\\n ++length;\\n }\\n byte[] messageByte = new byte[length + 2];\\n int num = 0;\\n messageByte[num++] = (byte)headNum;\\n messageByte[num++] = (byte)propertiesNum;\\n\\n\\n\\n for (int ind = 0;ind < headerKeyByte.length;ind++) {\\n byte len = (byte) headerKeyByte[ind].length;\\n messageByte[num++] = len;\\n for (int check = 0;check < headerKeyByte[ind].length;check++) {\\n messageByte[num++] = headerKeyByte[ind][check];\\n\\n }\\n\\n\\n\\n\\n\\n }\\n\\n for (int ind = 0;ind < propertiesKeyByte.length;ind++) {\\n byte len = (byte) propertiesKeyByte[ind].length;\\n messageByte[num++] = len;\\n for (int check = 0;check < propertiesKeyByte[ind].length;check++) {\\n messageByte[num++] = propertiesKeyByte[ind][check];\\n\\n }\\n\\n\\n }\\n ByteBuffer byteBuffer = ByteBuffer.allocateDirect(messageByte.length);\\n byteBuffer.put(messageByte);\\n\\n\\n File file = new File(properties.getString(\\\"STORE_PATH\\\") + \\\"/\\\" + \\\"keys\\\");\\n\\n\\n if (!file.exists()) {\\n try {\\n file.createNewFile();\\n } catch (IOException e) {\\n e.printStackTrace();\\n\\n }\\n }\\n\\n Path path = Paths.get(file.getAbsolutePath());\\n\\n AsynchronousFileChannel asynchronousFileChannel = null;\\n\\n try {\\n asynchronousFileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.WRITE);\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n\\n\\n\\n\\n\\n byteBuffer.flip();\\n\\n\\n asynchronousFileChannel.write(byteBuffer, 0,asynchronousFileChannel, new CompletionHandler() {\\n @Override\\n public void completed(Integer result, AsynchronousFileChannel attachment) {\\n try {\\n attachment.close();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n\\n\\n\\n }\\n\\n @Override\\n public void failed(Throwable exc, AsynchronousFileChannel attachment) {\\n\\n try {\\n attachment.close();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n\\n }\\n });\\n\\n\\n }\\n\\n\\n Set headerKeySet = message.headers().keySet();\\n\\n int headNum = headerKeySet.size();\\n\\n\\n\\n byte[][] headerValueByte = new byte[headNum][];\\n Iterator iterator = headerKeySet.iterator();\\n int indexNum = 0;\\n while (iterator.hasNext()){\\n\\n String headerKey = iterator.next();\\n String headerValue = message.headers().getString(headerKey);\\n\\n headerValueByte[indexNum++] = headerValue.getBytes();\\n\\n }\\n/*FileChannel fileChannel;\\n MappedByteBuffer map = fileChannel.map(new FileChannel.MapMode(), 0, 0);\\n map.array();*/\\n Set propertiesKeySet = message.properties().keySet();\\n int propertiesNum = propertiesKeySet.size();\\n\\n\\n byte[][] propertiesValueByte = new byte[propertiesNum][];\\n Iterator i = propertiesKeySet.iterator();\\n int index = 0;\\n while (i.hasNext()){\\n String propertiesKey = i.next();\\n String propertiesValue = message.properties().getString(propertiesKey);\\n\\n propertiesValueByte[index++] = propertiesValue.getBytes();\\n\\n\\n\\n }\\n\\n\\n\\n byte[] body = message.getBody();\\n\\n int length = body.length;\\n\\n for (byte[] b : headerValueByte) {\\n length += b.length;\\n\\n length = length + 3;\\n }\\n\\n for (byte[] b : propertiesValueByte) {\\n length += b.length;\\n\\n length = length + 3;\\n }\\n\\n\\n\\n byte[] messageByte = new byte[length + 5];\\n int num = 0;\\n messageByte[num++] = (byte)headNum;\\n messageByte[num++] = (byte)propertiesNum;\\n\\n\\n\\n for (int ind = 0;ind < headerValueByte.length;ind++) {\\n\\n\\n\\n\\n\\n int len2 = headerValueByte[ind].length;\\n int j=0;//j��ʾ�������ٸ��ֽ�\\n\\n int h=0;\\n\\n if(len2>16129){\\n h = len2/16129;\\n len2 = len2%16129;\\n }\\n if(len2>127){\\n j = len2/127;\\n len2 = len2%127;\\n }\\n\\n messageByte[num++] = (byte) h;\\n messageByte[num++] = (byte) j;\\n messageByte[num++] = (byte) len2;\\n\\n\\n\\n\\n for (int check2 = 0;check2 < headerValueByte[ind].length;check2++) {\\n messageByte[num++] = headerValueByte[ind][check2];\\n\\n }\\n\\n }\\n\\n\\n for (int ind = 0;ind < propertiesValueByte.length;ind++) {\\n\\n\\n int len2 = propertiesValueByte[ind].length;\\n int j=0;//j��ʾ�������ٸ��ֽ�\\n int h=0;\\n\\n if(len2>16129){\\n h = len2/16129;\\n len2 = len2%16129;\\n }\\n if(len2>127){\\n j = len2/127;\\n len2 = len2%127;\\n }\\n messageByte[num++] = (byte) h;\\n messageByte[num++] = (byte) j;\\n messageByte[num++] = (byte) len2;\\n for (int check2 = 0;check2 < propertiesValueByte[ind].length;check2++) {\\n messageByte[num++] = propertiesValueByte[ind][check2];\\n\\n }\\n\\n }\\n\\n\\n int len = body.length;\\n int j=0;//j��ʾ�������ٸ��ֽ�\\n int h=0;\\n\\n if(len>16129){\\n h = len/16129;\\n len = len%16129;\\n }\\n if(len>127){\\n j = len/127;\\n len = len%127;\\n }\\n\\n messageByte[num++] = (byte) h;\\n messageByte[num++] = (byte) j;\\n messageByte[num++] = (byte) len;\\n\\n for (int bodyIndex = 0; bodyIndex < body.length;bodyIndex++) {\\n messageByte[num++] = body[bodyIndex];\\n }\\n\\n return messageByte;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad6cf3fbe7cb567b0a710336d846ff05\",\n \"score\": \"0.5070574\",\n \"text\": \"private static void addMessageToCache(Context context, String phone, String msg) {\\n try {\\n String cachedMsg = phone + \\\":\\\" + msg + MESSAGE_DELIMITER;\\n Log.i(TAG, \\\"Caching \\\" + cachedMsg);\\n FileOutputStream fos = context.openFileOutput(CACHE_FILE, Context.MODE_APPEND);\\n fos.write(cachedMsg.getBytes());\\n fos.close();\\n ++messagesCached;\\n Log.i(TAG, \\\"Cached \\\" + cachedMsg);\\n } catch (FileNotFoundException e) {\\n Log.e(TAG, \\\"File not found error writing to cache file\\\");\\n e.printStackTrace();\\n } catch (IOException e) {\\n Log.e(TAG, \\\"I/O Error writing to cache file\\\");\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae2513e2784598d61666d65106a808cf\",\n \"score\": \"0.50696135\",\n \"text\": \"@Override\\r\\n protected void onPostExecute(com.goodow.api.services.attachment.model.Attachment execute) {\\n super.onPostExecute(execute);\\r\\n out : do {\\r\\n if (null == execute || execute.getId() == null) {\\r\\n break out;\\r\\n }\\r\\n\\r\\n CollaborativeMap newFile = newModel.createMap(null);\\r\\n\\r\\n if (null == newFile) {\\r\\n break;\\r\\n }\\r\\n\\r\\n for (int i = 0; i < newList.length(); i++) {\\r\\n CollaborativeMap map = newList.get(i);\\r\\n if (execute.getBlobKey().equals(map.get(\\\"blobKey\\\"))) {\\r\\n newList.remove(i);\\r\\n }\\r\\n }\\r\\n\\r\\n newFile.set(\\\"url\\\", DriveModule.DRIVE_SERVER + \\\"/serve?id=\\\" + attachmentId);\\r\\n newFile.set(\\\"progress\\\", \\\"0\\\");\\r\\n newFile.set(\\\"status\\\", GlobalConstant.DownloadStatusEnum.WAITING.getStatus());\\r\\n\\r\\n newFile.set(\\\"label\\\", execute.getFilename());\\r\\n newFile.set(\\\"blobKey\\\", execute.getBlobKey());\\r\\n newFile.set(\\\"id\\\", execute.getId());\\r\\n newFile.set(\\\"type\\\", execute.getContentType());\\r\\n\\r\\n String thumbnail = execute.getThumbnail();\\r\\n if (null != thumbnail) {\\r\\n // 修正缩略图地址\\r\\n thumbnail = Tools.modifyThumbnailAddress(thumbnail);\\r\\n newFile.set(\\\"thumbnail\\\", thumbnail);\\r\\n }\\r\\n\\r\\n newList.push(newFile);\\r\\n\\r\\n Log.i(TAG, \\\"new download rescource:\\\" + newList.toString());\\r\\n } while (false);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9417dfc71c3462ef11a11d14c0cdfee\",\n \"score\": \"0.50652367\",\n \"text\": \"protected abstract void writeMediaFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f5d340276b8b4f3c70487f6087d2e4b\",\n \"score\": \"0.5064881\",\n \"text\": \"void storeDataFor(byte[] data, String key, String jobId, Service service) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c58bf9b4d83b724e081a5742693b9c61\",\n \"score\": \"0.50598806\",\n \"text\": \"private void saveStringToFile(String content, String directoryName, String fileName) {\\n File directory = new File(directoryName);\\n if (!directory.exists()) {\\n directory.mkdir();\\n }\\n try {\\n BufferedWriter writer = new BufferedWriter(new FileWriter(directoryName + \\\"/\\\" + fileName, true));\\n writer.write(content);\\n writer.close();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b87e3662b5ccae8297181ff58a8cd436\",\n \"score\": \"0.5051628\",\n \"text\": \"public void receiveFile() throws ClassNotFoundException, IOException {\\r\\n\\r\\n\\t\\tString extension = (String) input.readObject();\\r\\n\\t\\tbyte[] fileContent = null;\\r\\n\\t\\tfileContent = (byte[]) input.readObject();\\r\\n\\r\\n\\t\\tint userSaveFile = receiver.showSaveDialog(new JFrame());\\r\\n\\r\\n\\t\\tif (userSaveFile == JFileChooser.APPROVE_OPTION) {\\r\\n\\t\\t\\tFile directory = receiver.getCurrentDirectory();\\r\\n\\t\\t\\tString filename = receiver.getSelectedFile().getName();\\r\\n\\t\\t\\tFile fileToSave = new File(directory + \\\"\\\\\\\\\\\" + filename + extension);\\r\\n\\t\\t\\tSystem.out.println(receiver.getCurrentDirectory());\\r\\n\\t\\t\\tSystem.out.println(filename);\\r\\n\\t\\t\\tFiles.write(fileToSave.toPath(), fileContent);\\r\\n\\t\\t} // end if\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"932b6f78ee1c5959dda5a4c10ffe73a0\",\n \"score\": \"0.5044804\",\n \"text\": \"public synchronized void setContent(Object content) {\\n writeFileSerialized(content);\\n touch();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb1723c91ebeaf7bd8b6073f4be8a0f1\",\n \"score\": \"0.503557\",\n \"text\": \"protected void storeFile(File file, String body) throws HTTPProtocolException {\\n try {\\n //If the directory not exist, create it\\n file.getParentFile().mkdirs();\\n BufferedWriter writer;\\n writer=new BufferedWriter (new FileWriter(file));\\n if (body != null)\\n writer.write(body);\\n writer.close();\\n } catch (IOException e) {\\n throw new HTTPProtocolException(\\\"Error storing file\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0364985c1b873d7c2ee7339d11611aa1\",\n \"score\": \"0.50325894\",\n \"text\": \"public void uploadFileMembre(FileEntryEvent ev){\\n\\t\\tFileEntry fiE = (FileEntry)ev.getSource();\\n\\t\\t//récupérer ses results\\n\\t\\tFileEntryResults fr = fiE.getResults();\\n\\t\\t\\n\\t\\t// Create an instance of SimpleDateFormat used for formatting \\n\\t\\t\\t\\t// the string representation of date (month/day/year)\\n\\t\\t\\t\\tDateFormat df = new SimpleDateFormat(\\\"dd/MM/yyyyHH:mm:ss\\\");\\n\\n\\t\\t\\t\\t// Get the date today using Calendar object.\\n\\t\\t\\t\\tDate today = Calendar.getInstance().getTime(); \\n\\t\\t\\t\\t// Using DateFormat format method we can create a string \\n\\t\\t\\t\\t// representation of a date with the defined format.\\n\\t\\t\\t\\tString reportDate = df.format(today);\\n\\t\\t\\n\\t\\t\\n\\t\\t//boucler sur les FileInfo\\n\\t\\tfor(FileEntryResults.FileInfo fi: fr.getFiles()){\\n\\t\\t\\t//s'assurer que le fichier est enregistrer\\n\\t\\t\\tif(fi.isSaved()){\\n\\t\\t\\t\\tSystem.out.println(\\\"le nom ========= \\\"+fi.getFileName());\\n\\t\\t\\t\\t//recu le fichier\\n\\t\\t\\t\\tFile f = fi.getFile();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//TODO verifier que c'est le bon type de fichier\\n\\t\\t\\t\\t//renommer\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tString cheminApp=FacesContext.getCurrentInstance().getExternalContext().getRealPath(\\\"/\\\");\\n\\t\\t\\t\\t\\tString newch=cheminApp;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tboolean ren=f.renameTo(new File(newch+\\\"/photos/\\\"+fi.getFileName()));\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (ren) {\\n\\t\\t\\t\\t\\t\\tthis.chemin=fi.getFileName();\\n\\t\\t\\t\\t\\t\\tSystem.out.println(newch);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse{\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"pas possible. \\\"+newch);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\t// TODO: handle exception\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//ajouter un message \\n\\t\\t\\t\\tFacesContext.getCurrentInstance().addMessage(fiE.getClientId(),new FacesMessage(\\\"le fichier a été uploadé\\\"));\\n\\t\\t\\t}}\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a7ebfa03ca34354f5c1a264b5efdc1f\",\n \"score\": \"0.502778\",\n \"text\": \"@Override\\r\\n\\tpublic void createFile(String path, byte[] content) throws IOException {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32a7f05c2d17e87bdbcc95bfac675a42\",\n \"score\": \"0.5021354\",\n \"text\": \"@Override\\n public void onComplete(int result, int err)\\n {\\n if (mProgressDialog != null)\\n {\\n mProgressDialog.dismiss();\\n mProgressDialog = null;\\n }\\n\\n if (result == SODocSave_Succeeded)\\n {\\n // As an example, add this to the list of files\\n // to be deleted on closing document.\\n addDeleteOnClose(tempPath);\\n\\n displayDialogue(\\\"Information\\\",\\n \\\"Document saved to '\\\" + tempPath +\\n \\\"'.\\\\n\\\\n\\\" +\\n \\\"Please implement a custom share \\\" +\\n \\\"handler\\\");\\n }\\n else\\n {\\n displayDialogue(\\\"Information\\\",\\n String.format(\\\"shareHandler failed: %d %d\\\", result, err));\\n }\\n\\n if (mSecureFs != null)\\n {\\n // Convert the file path into a real path for sharing\\n // purposes.\\n String realPath =\\n tempPath.replace(mSecurePrefix, mSecurePath);\\n }\\n\\n // Do something with the file then delete it.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e96cb599b91cb9ae71431078daadf926\",\n \"score\": \"0.50192696\",\n \"text\": \"protected void aboutToSave(File file)\\r\\n\\t{\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64bfa335a8b6c58a808787eb0448eecc\",\n \"score\": \"0.50152\",\n \"text\": \"public void getFile(ByteBuffer buffer, SelectionKey key) {\\r\\n String fileName = \\\"\\\";\\r\\n try {\\r\\n\\r\\n // skip full buffer size\\r\\n buffer.getInt();\\r\\n\\r\\n int fileNameSize = buffer.getInt();\\r\\n byte[] fileNameInput = new byte[fileNameSize];\\r\\n buffer.get(fileNameInput);\\r\\n fileName = new String(fileNameInput, StandardCharsets.UTF_8);\\r\\n int size = buffer.getInt();\\r\\n\\r\\n byte[] input = new byte[buffer.limit() - buffer.position()];\\r\\n byte[] full_input;\\r\\n\\r\\n buffer.get(input);\\r\\n\\r\\n if (size > BUFFER_SIZE) {\\r\\n SocketChannel client = (SocketChannel) key.channel();\\r\\n byte[] input1 = FileReader.readFile(client, size);\\r\\n\\r\\n full_input = FileReader.concatByteArrays(input, input1, size);\\r\\n\\r\\n } else {\\r\\n full_input = new byte[size];\\r\\n System.arraycopy(input, 0, full_input, 0, size);\\r\\n }\\r\\n\\r\\n try {\\r\\n System.out.println(\\\"Writes file \\\" + fileName);\\r\\n if (!Files.exists(Paths.get(SERVER_PACKAGE))) {\\r\\n Files.createDirectory(Paths.get(SERVER_PACKAGE));\\r\\n }\\r\\n Files.write(Paths.get(SERVER_PACKAGE + \\\"/\\\" + fileName), full_input);\\r\\n\\r\\n broadcast(\\\"Uploaded file \\\" + fileName);\\r\\n messages.add(\\\"Uploaded file \\\" + fileName);\\r\\n\\r\\n key.cancel();\\r\\n try {\\r\\n key.channel().close();\\r\\n } catch (IOException e) {\\r\\n System.err.println(\\\"Can not close channel\\\");\\r\\n }\\r\\n } catch (Exception e) {\\r\\n System.out.println(\\\"Problems occurred while writing file to server package: \\\" + e);\\r\\n }\\r\\n\\r\\n\\r\\n } catch (Exception e) {\\r\\n System.out.println(\\\"Some problems while getting file from client: \\\" + e);\\r\\n }\\r\\n\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"827dd04babf660a6dc34d419dedd1606\",\n \"score\": \"0.5009215\",\n \"text\": \"@Override\\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n\\n //---FOR PICKING IMAGE FROM GALLERY ACTIVITY AND SENDING---\\n if(requestCode == GALLERY_PICTURE && resultCode == RESULT_OK){\\n\\n //---GETTING IMAGE DATA IN FORM OF URI--\\n Uri imageUri = data.getData();\\n final String current_user_ref = \\\"messages/\\\"+currUserId+\\\"/\\\"+chatUser;\\n final String chat_user_ref = \\\"messages/\\\"+ chatUser +\\\"/\\\"+currUserId;\\n\\n DatabaseReference user_message_push = rootReference.child(\\\"messages\\\")\\n .child(currUserId).child(chatUser).push();\\n\\n final String push_id = user_message_push.getKey();\\n\\n //---PUSHING IMAGE INTO STORAGE---\\n StorageReference filepath = imageStorage.child(\\\"message_images\\\").child(push_id+\\\".jpg\\\");\\n filepath.putFile(imageUri).addOnCompleteListener(new OnCompleteListener() {\\n @Override\\n public void onComplete(@NonNull Task task) {\\n\\n if(task.isSuccessful()){\\n\\n @SuppressWarnings(\\\"VisibleForTests\\\")\\n String download_url = task.getResult().getMetadata().getReference().getDownloadUrl().toString();\\n\\n Map messageMap = new HashMap();\\n messageMap.put(\\\"message\\\",download_url);\\n messageMap.put(\\\"seen\\\",false);\\n messageMap.put(\\\"type\\\",\\\"image\\\");\\n messageMap.put(\\\"time\\\",ServerValue.TIMESTAMP);\\n messageMap.put(\\\"from\\\",currUserId);\\n\\n Map messageUserMap = new HashMap();\\n messageUserMap.put(current_user_ref+\\\"/\\\"+push_id,messageMap);\\n messageUserMap.put(chat_user_ref+\\\"/\\\"+push_id,messageMap);\\n\\n rootReference.updateChildren(messageUserMap, new DatabaseReference.CompletionListener(){\\n\\n @Override\\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\\n if(databaseError != null){\\n Log.e(\\\"CHAT_ACTIVITY\\\",\\\"Cannot add message to database\\\");\\n }\\n else{\\n Toast.makeText(ChatActivity.this, \\\"Message sent\\\", Toast.LENGTH_SHORT).show();\\n messageView.setText(\\\"\\\");\\n }\\n\\n }\\n });\\n }\\n\\n }\\n });\\n\\n\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88685e909e0dceefd664a53fe1d42af8\",\n \"score\": \"0.5000182\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onProgress(int currentLength, int contentLength){\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b0b657889c90d5ffa736fe98d9c1e02\",\n \"score\": \"0.4994397\",\n \"text\": \"private void saveFileToDrive() throws IOException {\\n // Start by creating a new contents, and setting a callback.\\n Log.i(TAG, \\\"Creating new contents.\\\");\\n\\n mDriveResourceClient\\n .createContents()\\n .continueWithTask(\\n new Continuation>() {\\n @Override\\n public Task then(@NonNull Task task) throws Exception {\\n return createFileIntentSender(task.getResult());\\n }\\n })\\n .addOnFailureListener(\\n new OnFailureListener() {\\n @Override\\n public void onFailure(@NonNull Exception e) {\\n Log.w(TAG, \\\"Failed to create new contents.\\\", e);\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45583c9f1eb2fc20befa5c3b747905e2\",\n \"score\": \"0.49823892\",\n \"text\": \"private void handleRequestMessage(byte[] messageIndex){\\n //Send file to the peer with requested message index\\n\\n try {\\n // byte[] temp = Arrays.copyOfRange(messageIndex, 0, 4);\\n int pieceIndex = (int)utilities.fromByteArrayToLong(messageIndex);\\n\\n if(peer.isUnchoked && Constants.selfBitfield.get(pieceIndex)){\\n // System.out.println(\\\"***************************** \\\" + pieceIndex);\\n ByteArrayOutputStream oStream = new ByteArrayOutputStream();\\n \\n oStream.write(messageIndex);\\n oStream.write(Constants.fileChunks[pieceIndex].getPieceContent());\\n byte[] payloadContent = oStream.toByteArray();\\n Message msg = new Message(payloadContent.length + 1, 7, payloadContent);\\n byte[] msgByteArray = msg.createMessage();\\n \\n utilities.writeToOutputStream(this.outputStream,msgByteArray);\\n }\\n }\\n catch(Exception e){\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"652aaf531e27978ea02fe47b0894ac42\",\n \"score\": \"0.4982221\",\n \"text\": \"@Override\\n public void onFinished(String result) {\\n\\n SavedCrumbId = result;\\n saveVideo();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ac15b79c32618dd2660cf7c401e5c19\",\n \"score\": \"0.49817154\",\n \"text\": \"public void save()\\n {\\n Gdx.files.external(Settings.get(\\\"LevelDataExternalPath\\\")).writeString(Pseudo.crypt(new Json().toJson(data)), false, \\\"UTF-8\\\");\\n Gdx.files.external(Settings.get(\\\"CustomLevelDataExternalPath\\\")).writeString(Pseudo.crypt(new Json().toJson(custom)), false, \\\"UTF-8\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8277a8cf6a5d92845d3b71a6b509af7e\",\n \"score\": \"0.49784213\",\n \"text\": \"private void saveToStorageListener(Observable observable) {\\n logger.info(\\\"Address book modified, saving to file.\\\");\\n try {\\n storage.saveAddressBook(versionedEntryBook);\\n } catch (IOException ioe) {\\n setException(new CommandException(FILE_OPS_ERROR_MESSAGE + ioe, ioe));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4c058fb433026ff0b46797b1f52d28d\",\n \"score\": \"0.49717537\",\n \"text\": \"@Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n historyUserRef.getDownloadUrl().addOnCompleteListener(new OnCompleteListener() {\\n @Override\\n public void onComplete(@NonNull Task task) { // wait for on complete\\n url =task.getResult().toString(); // retrieve download url\\n // create firebase database reference\\n DatabaseReference reference = database.getReference();\\n DatabaseReference historydb = reference.child(currentUser).child(\\\"history\\\");\\n // once file is upload to cloud, store the download url in firebase database\\n historydb.child(fileName1).setValue(url).addOnCompleteListener(new OnCompleteListener() {\\n @Override\\n public void onComplete(@NonNull Task task) {\\n if (task.isSuccessful()){\\n Toast.makeText(UserRecords.this,\\\"File Uploaded\\\",Toast.LENGTH_SHORT).show();\\n }\\n else\\n Toast.makeText(UserRecords.this,\\\"Upload failed\\\",Toast.LENGTH_SHORT).show();\\n }\\n });\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d59b7873812c07008b28c3cfd5d7329d\",\n \"score\": \"0.49704495\",\n \"text\": \"public void sendFileLog() {\\n\\n if (checkNetwork()) {\\n File root = new File(Environment.getExternalStorageDirectory(), \\\"returncandidate_log\\\");\\n files = root.listFiles();\\n for (File file : files) {\\n String[] params =\\n new String[]{Config.API_POST_FILE, file.toString()};\\n new HttpPostFile(this).execute(params);\\n }\\n } else {\\n // Stop process loading screen\\n progress.dismiss();\\n showDialog(false);\\n }\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":868,"cells":{"query_id":{"kind":"string","value":"a73266d03883142912ae684344a64e5c"},"query":{"kind":"string","value":"CM695884 Execute the process for deleting the Picking plan data (Inventory package Not Available)"},"positive_passages":{"kind":"list like","value":[{"docid":"999f3c4987509b5c6aa6478f768506c3","score":"0.6072089","text":"protected void deleteRetrievalPlan(Connection conn, boolean unWorkDelete, String workDate\n\t\t\t\t\t\t\t\t\t\t\t\t\t , String deleteDate, boolean stockPack)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695885\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695886\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695887\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695888\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695889\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695890\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { RetrievalPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695891\n\t\t// Delete the inventory information.\n\t\t//#CM695892\n\t\t// Find the Stock ID of the inventory information linked to the delete target data in the picking plan info .\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695893\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.RetrievalPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\t\tif( count > 0 )\n\t\t\t{\n\t\t\t\t//#CM695894\n\t\t\t\t// Delete the inventory information linked to the delete target in the picking plan info .\n\t\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695895\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.RetrievalPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\t\tif( count > 0 )\n\t\t\t{\n\t\t\t\t//#CM695896\n\t\t\t\t// Delete the inventory information linked to the delete target in the picking plan info .\n\t\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t\t}\n\t\t}\n\n\t\t//#CM695897\n\t\t// Delete the work status.\n\t\t//#CM695898\n\t\t// Find the work status linked to the delete target data in the picking plan info .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695899\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695900\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> WorkInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695901\n\t\t\t// Delete the work status linked to the delete target in the picking plan info. .\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695902\n\t\t// Delete the picking plan info.\n\t\tRetrievalPlanHandler retrievalHandler = new RetrievalPlanHandler(conn);\n\t\tRetrievalPlanSearchKey retrievalSearchKey = new RetrievalPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695903\n\t\t\t// Delete the picking plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695904\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695905\n\t\t\t// Delete the picking plan info that passed its retention period (days).\n\t\t\t//#CM695906\n\t\t\t//\t ( Status flag = Partially Completed and Planned Picking Date <= Expiry date of retention )\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695907\n\t\t\t// Delete the picking plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695908\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695909\n\t\t\t// Delete the picking plan info that passed its retention period (days).\n\t\t\t//#CM695910\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Picking Date <= Expiry date of retention )\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = retrievalHandler.count(retrievalSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> RetrievalPlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695911\n\t\t\t\t// Delete the picking plan info.\n\t\t\t\tretrievalHandler.drop(retrievalSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""}],"string":"[\n {\n \"docid\": \"999f3c4987509b5c6aa6478f768506c3\",\n \"score\": \"0.6072089\",\n \"text\": \"protected void deleteRetrievalPlan(Connection conn, boolean unWorkDelete, String workDate\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t , String deleteDate, boolean stockPack)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\t//#CM695885\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\\n\\t\\t//#CM695886\\n\\t\\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\\n\\t\\tString[] workStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695887\\n\\t\\t// Data that passed the retention period (days) (Partially Completed)\\n\\t\\tString[] saveStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\t//#CM695888\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\\n\\t\\t//#CM695889\\n\\t\\t// Planned Work Date <= Work Date (Completed or Deleted)\\n\\t\\tString[] workStatus2 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695890\\n\\t\\t// Data that passed the retention period (days) (Standby, Partially Completed)\\n\\t\\tString[] saveStatus2 = { RetrievalPlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\tint count = 0;\\n\\n\\t\\t//#CM695891\\n\\t\\t// Delete the inventory information.\\n\\t\\t//#CM695892\\n\\t\\t// Find the Stock ID of the inventory information linked to the delete target data in the picking plan info .\\n\\t\\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695893\\n\\t\\t\\t// Search for the data through the inventory information including data with status Not Worked in conditions.\\n\\t\\t\\tcount = systemStockFinder.RetrievalPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (RetrievalPlan Delete) --> Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif( count > 0 )\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695894\\n\\t\\t\\t\\t// Delete the inventory information linked to the delete target in the picking plan info .\\n\\t\\t\\t\\tdeleteStock_StockId(conn, systemStockFinder);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695895\\n\\t\\t\\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = systemStockFinder.RetrievalPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (RetrievalPlan Delete) --> Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif( count > 0 )\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695896\\n\\t\\t\\t\\t// Delete the inventory information linked to the delete target in the picking plan info .\\n\\t\\t\\t\\tdeleteStock_StockId(conn, systemStockFinder);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t//#CM695897\\n\\t\\t// Delete the work status.\\n\\t\\t//#CM695898\\n\\t\\t// Find the work status linked to the delete target data in the picking plan info .\\n\\t\\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695899\\n\\t\\t\\t// Search for the data through the Work status including data with status Not Worked in conditions.\\n\\t\\t\\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695900\\n\\t\\t\\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (RetrievalPlan Delete) --> WorkInformation Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695901\\n\\t\\t\\t// Delete the work status linked to the delete target in the picking plan info. .\\n\\t\\t\\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695902\\n\\t\\t// Delete the picking plan info.\\n\\t\\tRetrievalPlanHandler retrievalHandler = new RetrievalPlanHandler(conn);\\n\\t\\tRetrievalPlanSearchKey retrievalSearchKey = new RetrievalPlanSearchKey();\\n\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695903\\n\\t\\t\\t// Delete the picking plan info including data with status Not Worked in conditions.\\n\\t\\t\\t//#CM695904\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus1[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus1[1], \\\"=\\\", \\\"\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus1[2], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695905\\n\\t\\t\\t// Delete the picking plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695906\\n\\t\\t\\t//\\t ( Status flag = Partially Completed and Planned Picking Date <= Expiry date of retention )\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(saveStatus1[0], \\\"=\\\", \\\"(\\\", \\\"\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695907\\n\\t\\t\\t// Delete the picking plan info using a condition to hold over the data with status Not Worked.\\n\\t\\t\\t//#CM695908\\n\\t\\t\\t//\\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695909\\n\\t\\t\\t// Delete the picking plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695910\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Partially Completed ) and Planned Picking Date <= Expiry date of retention )\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(saveStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(saveStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tcount = retrievalHandler.count(retrievalSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (RetrievalPlan Delete) --> RetrievalPlan Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif (count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695911\\n\\t\\t\\t\\t// Delete the picking plan info.\\n\\t\\t\\t\\tretrievalHandler.drop(retrievalSearchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"e284cecd8c6e41c22dfa0c140d10e7bf","score":"0.63313544","text":"protected void deleteWorkingData(Connection conn, SystemParameter[] param)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException, ScheduleException\n\t{\n\t\tString workday = wWareNaviSystem.getWorkDate();\n\n\t\t//#CM695776\n\t\t// Obtain the result of wheter Inventory package exists or not.\n\t\t//#CM695777\n\t\t// stockPack:true --> Inventory package Available\n\t\tboolean stockPack = isStockPack(conn);\n\n\t\t//#CM695778\n\t\t/*************************************\n\t\t * Delete the xxxPlan data.\n\t\t *************************************/\n\n\t\t//#CM695779\n\t\t// Refer the flag to determine whether to remain or delete the work status Not Processed.\n\t\tboolean unWorkDelete = false;\n\t\tunWorkDelete = param[0].getSelectUnworkingInformation().equals(SystemParameter.SELECTUNWORKINGINFORMATION_DELETE);\n\n\t\t//#CM695780\n\t\t// Delete the Plan data (Planned xxx info/ Work Status/ Inventory information).\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start planDelete ****\");\n\t\tplanDelete(conn, unWorkDelete, workday, wDelPlanDate, stockPack);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End planDelete ****\");\n\n\t\t//#CM695781\n\t\t/*************************************\n\t\t * Delete the Inventory Check data.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteInventoryCheck ****\");\n\t\tdeleteInventoryCheck(conn);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteInventoryCheck ****\");\n\n\t\t//#CM695782\n\t\t/*************************************\n\t\t * Delete the Relocation work data.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteMovement ****\");\n\t\tdeleteMovement(conn, wDelPlanDate, stockPack);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteMovement ****\");\n\n\t\t//#CM695783\n\t\t/*************************************\n\t\t * Delete the Center inventory data.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteCenterStock ****\");\n\t\tdeleteCenterStock(conn);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteCenterStock ****\");\n\n\t\t//#CM695784\n\t\t/*************************************\n\t\t * Move the result data and delete it.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start moveResult ****\");\n\t\tmoveResult(conn);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End moveResult ****\");\n\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteResult ****\");\n\t\tdeleteResult(conn, wDelResultDate);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteResult ****\");\n\n\t\t//#CM695785\n\t\t/*************************************\n\t\t * Delete the Worker result info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteWokerResult ****\");\n\t\tdeleteWokerResult(conn, wDelResultDate);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteWokerResult ****\");\n\n\t\t//#CM695786\n\t\t/*************************************\n\t\t * Delete the next work status.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteNextProcessInfo ****\");\n\t\tdeleteNextProcessInfo(conn, unWorkDelete, workday, wDelPlanDate);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteNextProcessInfo ****\");\n\t}","title":""},{"docid":"cb5062a6d1a489e782754a462591922a","score":"0.61458313","text":"public void deleteSupply(){\n Supply sup = this.tableController.getSupplyFromTableSupplies(this.table);\n if(sup == null)\n JOptionPane.showMessageDialog(this, \"No Se Seleccionó Ningún Proveedor\");\n else\n { \n int opc = JOptionPane.showConfirmDialog(null, \"Realmente Desea Eliminar El Insumo\"+sup.getName().toUpperCase(),\n \"Eliminar Insumo\"+sup.getName().toUpperCase(), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);\n //0 para si || 1 para no\n if (opc == 0)\n {\n boolean ban = this.restaurant.getBd().getCrudSupply().deleteSupply(Integer.parseInt(sup.getId()));\n //Si se elimino el proveedor de la base de datos.\n if(ban)\n {\n JOptionPane.showMessageDialog(this, \"Insumo \" + \" Eliminado Correctamente\");\n this.restaurant.updateDataBase();\n this.createTable(this.restaurant.getSupplies());\n// this.pintor.paintTableProviders(this.tequilazo.getProveedores(), this.modeloListaProveedores);\n }\n else\n {\n JOptionPane.showMessageDialog(this, \"No Se Pudo Eliminar El Proveedor De La Base De Datos\");\n }\n } \n } \n// System.out.println(\"deleteProvide\");\n }","title":""},{"docid":"c2f6332b240783ebe16ccdb7035b5356","score":"0.600301","text":"public String executeCommandDelete(ActionContext context) {\n if (!(hasPermission(context, \"myhomepage-action-plans-delete\"))) {\n return (\"PermissionError\");\n }\n Connection db = null;\n try {\n db = this.getConnection(context);\n String planWorkId = context.getRequest().getParameter(\"actionPlanId\");\n ActionPlanWork planWork = new ActionPlanWork(db, Integer.parseInt(planWorkId));\n planWork.buildPhaseWork(db);\n planWork.buildLinkedObject(db);\n planWork.delete(db);\n } catch (Exception e) {\n context.getRequest().setAttribute(\"Error\", e);\n return (\"SystemError\");\n } finally {\n this.freeConnection(context, db);\n }\n return (executeCommandView(context));\n }","title":""},{"docid":"fee1fb353cfcc17db85fef1859d1fde1","score":"0.59884423","text":"public int deletePbItem(int curr_tab, long rowID) throws Exception\n { \n int outcome=0; \n long associateID = 0;\n \n try {\n conn = initializeConn(); \n \n switch(curr_tab)\n { \n case 1: \n //check for associated BENEFITS records, and delete those first\n ps = conn.prepareStatement(\"select id from employee_benefits where pers_id=?\");\n ps.setLong(1, rowID);\n rs = ps.executeQuery();\n while(rs.next())\n associateID = rs.getLong(\"id\");\n \n if(associateID !=0)\n {\n ps.clearParameters();\n ps = conn.prepareStatement(\"delete from EMPLOYEE_BENEFITS where ID = ?\"); \n ps.setLong(1, associateID);\n outcome = ps.executeUpdate();\n }\n ps.clearParameters();\n ps = conn.prepareStatement(\"delete from PERSONAL_SERVICES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 2:\n ps = conn.prepareStatement(\"delete from EMPLOYEE_BENEFITS where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 3:\n ps = conn.prepareStatement(\"delete from CONTRACTED_SERVICES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 4:\n ps = conn.prepareStatement(\"delete from SUPP_MAT_EQUIPS where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 5:\n ps = conn.prepareStatement(\"delete from OTHER_EXPENSES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 6:\n ps = conn.prepareStatement(\"delete from TRAVEL_EXPENSES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n }\n \n } catch (Exception ex){\n System.err.println(\"error deletePbItem() \" + ex.toString());\n throw new Exception(ex.toString(), ex);\n } \n finally{\n Close(conn);\n Close(ps);\n Close(rs);\n }\n \n return outcome; \n }","title":""},{"docid":"df621e10825b32de5e71d59a08fdd9df","score":"0.5977768","text":"public final void do_delete () throws Exception {\n\t\t\tif (evseqProducts != null) {\n\t\t\t\tdeleteEventSequenceProducts (evseqProducts, keep, eventNetwork, eventCode, isReviewed);\n\n\t\t\t\tif (cap_time != CAP_TIME_NOP && keep >= 0 && keep < evseqProducts.size()) {\n\t\t\t\t\tcapEventSequenceProduct (evseqProducts.get(keep), cap_time, eventNetwork, eventCode, isReviewed);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}","title":""},{"docid":"1ac16e477047dab216094000fc6ac7a4","score":"0.59733933","text":"protected void deleteInStockPlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695831\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695832\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { InstockPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695833\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { InstockPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695834\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695835\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { InstockPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695836\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { InstockPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695837\n\t\t// Delete the inventory information.\n\t\t//#CM695838\n\t\t// Find the Stock ID of the inventory information linked to the delete target data in the receiving plan info. .\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695839\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.InstockPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695840\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.InstockPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (InStockPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695841\n\t\t\t// Delete the inventory information linked to the delete target in the receiving plan info .\n\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t}\n\n\t\t//#CM695842\n\t\t// Delete the work status.\n\t\t//#CM695843\n\t\t// Find the work status linked to the delete target data in the receiving plan info .\n\t\tSystemWorkingInformationFinder workfinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695844\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = workfinder.InstockPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695845\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = workfinder.InstockPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (InStockPlan Delete) --> WorkingInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695846\n\t\t\t// Delete the work status linked to the delete target in the receiving plan info .\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, workfinder);\n\t\t}\n\n\t\t//#CM695847\n\t\t// Delete the receiving plan info.\n\t\tInstockPlanHandler instockHandler = new InstockPlanHandler(conn);\n\t\tInstockPlanSearchKey instockSearchKey = new InstockPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695848\n\t\t\t// Delete the receiving plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695849\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \n\t\t\tinstockSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695850\n\t\t\t// Delete the receiving plan info that passed its retention period (days).\n\t\t\t//#CM695851\n\t\t\t//\t ( Status flag = Partially Completed and Planned Receiving Date <= Expiry date of retention )\n\t\t\tinstockSearchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695852\n\t\t\t// Delete the receiving plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695853\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tinstockSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695854\n\t\t\t// Delete the receiving plan info that passed its retention period (days).\n\t\t\t//#CM695855\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Receiving Date <= Expiry date of retention )\n\t\t\tinstockSearchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = instockHandler.count(instockSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (InStockPlan Delete) --> InStockPlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695856\n\t\t\t\t// Delete the receiving plan info.\n\t\t\t\tinstockHandler.drop(instockSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""},{"docid":"52dbef08469540b5842db3b0f5116e00","score":"0.5949656","text":"@Override \n\t\t\t\t public void onClick(DialogInterface dialog,int which) {\n\t\t\t\t \tString sSql=\"\";\n\t\t\t\t \tfor(int i=lsCompTableCopy.size()-1;i>=0;i--)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif (lsCompTableCopy.get(i).get(\"CHECKFLAG\").toString().equals(\"Y\")) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tif(lsCompTableCopy.get(i).get(\"IS_P\").toString().equals(\"Y\"))\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t sSql=sSql+\" DELETE FROM PROCESS_STEP_P WHERE PRODUCTCOMPID='\"+msProductCompId+\"' AND PRODUCTORDERID='\"+msProductOrderId+\"' AND PRODUCTSERIALNUMBER='\"+lsCompTableCopy.get(i).get(\"SEQ\").toString()+\"' ;\";\n\t\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t sSql=sSql+\" DELETE FROM PROCESS_STEP_PF WHERE PRODUCTCOMPID='\"+msProductCompId+\"' AND PRODUCTORDERID='\"+msProductOrderId+\"' AND SERIALNUMBER_P='\"+lsCompTableCopy.get(i).get(\"SEQ\").toString()+\"' ;\";\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tlsCompTable.remove(i);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t String sError= db.ExecuteSQL(sSql);\n\t\t\t\t \t\t\t\n\t\t\t\t\t\t\t\tadapter.notifyDataSetChanged();\n\t\t\t\t\t\t\t\t\n\t\t\t\t }","title":""},{"docid":"2e3c834d6fe49b4824637233efad5b8a","score":"0.59003234","text":"protected void deleteMovement(Connection conn, String delPlanDate, boolean stockPack) throws ReadWriteException\n\t{\n\t\t//#CM696007\n\t\t// Delete the relocation work status.\n\t\tMovementHandler moveHandler = new MovementHandler(conn);\n\t\tMovementSearchKey moveSearchKey = new MovementSearchKey();\n\n\t\t//#CM696008\n\t\t// Delete the data with Status flag = Completed or Deleted.\n\t\tString status[] = { Movement.STATUSFLAG_COMPLETION, Movement.STATUSFLAG_DELETE };\n\t\tmoveSearchKey.setStatusFlag(status);\n\t\ttry\n\t\t{\n\t\t\tint count = moveHandler.count(moveSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteMovement) --> Movement Delete Data Count(\" + count + \")\");\n\t\t\tif(count > 0)\n\t\t\t{\n\t\t\t\tmoveHandler.drop(moveSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\t//#CM696009\n\t\t\t// Refer to the Presence of Inventory package.\n\t\t\tif( stockPack )\n\t\t\t{\n\t\t\t\t//#CM696010\n\t\t\t\t// Presence of Inventory package\n\t\t\t\t//#CM696011\n\t\t\t\t// Clear the allocation of data, which passed the Plan data retention period (days), with Status flag = Standby Storage.\n\t\t\t\tmoveSearchKey.KeyClear();\n\t\t\t\tmoveSearchKey.setStatusFlag(Movement.STATUSFLAG_UNSTART);\n\t\t\t\tmoveSearchKey.setWorkDate(delPlanDate, \"<=\");\n\n\t\t\t\t//#CM696012\n\t\t\t\t// Check whether there is allocation of relocation work data to be cleared.\n\t\t\t\tint count = moveHandler.count(moveSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteMovement) --> Stock Allocate Clear Data Count(\" + count + \")\");\n\t\t\t\tif(count > 0)\n\t\t\t\t{\n\t\t\t\t\tStockHandler stockHandler = new StockHandler(conn);\n\t\t\t\t\tStockSearchKey stockSKey = new StockSearchKey();\n\t\t\t\t\tStockAlterKey stockAltKey = new StockAlterKey();\n\n\t\t\t\t\t//#CM696013\n\t\t\t\t\t// Here, clear the allocated inventory only. Allow the following process to delete the work status of the allocated inventory that is cleared here.\n\t\t\t\t\t//#CM696014\n\t\t\t\t\t// \n\t\t\t\t\tMovement[] mov = (Movement[]) moveHandler.find(moveSearchKey);\n\t\t\t\t\tfor( int i = 0; i < mov.length; i++ )\n\t\t\t\t\t{\n\t\t\t\t\t\tallocateCancelStock(stockHandler, stockSKey, stockAltKey, mov[i].getStockId(), mov[i].getPlanQty());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//#CM696015\n\t\t\t// Delete the data with Status flag = Standby Storage and that passes the retention period (days) of Plan data.\n\t\t\tmoveSearchKey.KeyClear();\n\t\t\tmoveSearchKey.setStatusFlag(Movement.STATUSFLAG_UNSTART);\n\t\t\tmoveSearchKey.setWorkDate(delPlanDate, \"<=\");\n\t\t\tint count = moveHandler.count(moveSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteMovement) --> Hold Date Over Movement Delete Data Count(\" + count + \")\");\n\t\t\tif(count > 0)\n\t\t\t{\n\t\t\t\tmoveHandler.drop(moveSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""},{"docid":"c293ebefbbbb66d2e05358a7e2a82b8c","score":"0.58244705","text":"protected void deleteRetrievalPlanAddStock(Connection conn, boolean unWorkDelete, String workDate\n\t\t\t\t\t\t\t\t\t\t\t\t\t , String deleteDate, boolean stockPack)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695913\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695914\n\t\t// Planned Work Date <= Work Date (Completed, Deleted, or Standby)\n\t\tString[] workStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE,\n\t\t\t\t RetrievalPlan.STATUS_FLAG_UNSTART\n\t\t};\n\t\t\n\t\t//#CM695915\n\t\t// Conditions to delete the work status when selected to Delete Plan (Completed or Deleted)\n\t\tString[] workStatusAdd = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\n\t\t//#CM695916\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695917\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\n\t\t//#CM695918\n\t\t// Data that passed the retention period (days) (Standby)\n\t\tString[][] saveStatus2 = { { RetrievalPlan.STATUS_FLAG_UNSTART, RetrievalPlan.SCH_FLAG_UNSTART }\n\t\t};\n\t\tint count = 0;\n\n\t\t//#CM695919\n\t\t// Delete the work status.\n\t\t//#CM695920\n\t\t// Find the work status linked to the delete target data in the picking plan info .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695921\n\t\t\t// Search for data with status Not Worked even after processing the schedule through the work status using a hold-over condition.\n\t\t\t//#CM695922\n\t\t\t// Do not include any data with work status \"Standby\" in the conditions for delete.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatusAdd);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695923\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Add Stock Delete) --> WorkInformation Add Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695924\n\t\t\t// Delete the work status linked to the delete target in the picking plan info. .\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695925\n\t\t// Delete the picking plan info.\n\t\tRetrievalPlanHandler retrievalHandler = new RetrievalPlanHandler(conn);\n\t\tRetrievalPlanSearchKey retrievalSearchKey = new RetrievalPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695926\n\t\t\t// Delete the picking plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695927\n\t\t\t//\t ( ( Status flag = Completed or Deleted or (Standby and with Schedule Processing flag \"Standby\")) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[2], \"=\", \"(\", \"\", \"and\");\n\t\t\tretrievalSearchKey.setSchFlag(RetrievalPlan.SCH_FLAG_UNSTART, \"=\", \"\", \"))\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695928\n\t\t\t// Delete the picking plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695929\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695930\n\t\t\t// Delete the picking plan info that passed its retention period (days).\n\t\t\t//#CM695931\n\t\t\t//\t ( Status flag = Standby and Schedule Processing flag = Standby) and Planned Picking Date <= Expiry date of retention )\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus2[0][0], \"=\", \"((\", \"\", \"and\");\n\t\t\tretrievalSearchKey.setSchFlag(RetrievalPlan.SCH_FLAG_UNSTART, \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = retrievalHandler.count(retrievalSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Add Stock Delete) --> RetrievalPlan Add Stock Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695932\n\t\t\t\t// Delete the picking plan info.\n\t\t\t\tretrievalHandler.drop(retrievalSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""},{"docid":"5401308b263367cde46463756edff7e9","score":"0.5749868","text":"@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"客户要求减少一个功能...\");\n\t}","title":""},{"docid":"a7fc2b76b01bb80223c4684e35a085d5","score":"0.5712223","text":"protected void planDelete(Connection conn, boolean unWorkDelete, String workDate, String deleteDate, boolean stockPack)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695822\n\t\t// Delete the receiving plan info.\n\t\tdeleteInStockPlan(conn, unWorkDelete, workDate, deleteDate);\n\n\t\t//#CM695823\n\t\t// Delete the Storage Plan info.\n\t\tdeleteStoragePlan(conn, unWorkDelete, workDate, deleteDate);\n\n\t\t//#CM695824\n\t\t// If Inventory package is \"Available\":\n\t\tif (stockPack)\n\t\t{\n\t\t\t//#CM695825\n\t\t\t// Delete the picking plan info.\n\t\t\tdeleteRetrievalPlanAddStock(conn, unWorkDelete, workDate, deleteDate, stockPack);\n\t\t}\n\t\t//#CM695826\n\t\t// If Inventory package is \"Not Available\":\n\t\telse\n\t\t{\n\t\t\t//#CM695827\n\t\t\t// Delete the picking plan info.\n\t\t\tdeleteRetrievalPlan(conn, unWorkDelete, workDate, deleteDate, stockPack);\n\t\t}\n\n\t\t//#CM695828\n\t\t// Delete the sorting plan info.\n\t\tdeleteSortingPlan(conn, unWorkDelete, workDate, deleteDate);\n\n\t\t//#CM695829\n\t\t// Delete the shipping plan info.\n\t\tdeleteShippingPlan(conn, unWorkDelete, workDate, deleteDate);\n\t}","title":""},{"docid":"cee351007c50568f6f457989e444c4a1","score":"0.5707608","text":"public void deleteBudgetPeriod(){\r\n String mesg = null;\r\n int rowCount = budgetSummaryForm.tblBudgetSummary.getRowCount();\r\n CoeusVector cvfilteredLIDetails;\r\n int selectedRow = budgetSummaryForm.tblBudgetSummary.getSelectedRow();\r\n if(selectedRow < 0 ){\r\n mesg = coeusMessageResources.parseMessageKey(SELECT_BUDGET_PERIOD);\r\n CoeusOptionPane.showInfoDialog(mesg);\r\n return;\r\n }\r\n //Check if this period has Line item Details.If it has then Can't Delete.\r\n BudgetPeriodBean budgetPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(selectedRow);\r\n int budgetPeriod = budgetPeriodBean.getBudgetPeriod();\r\n try{\r\n if(rowCount==1){\r\n mesg = coeusMessageResources.parseMessageKey(CAN_NOT_DELETE_ALL_PERIODS);\r\n CoeusOptionPane.showInfoDialog(mesg);\r\n return;\r\n }\r\n //check whether the current period has any line items\r\n Equals periodEquals = new Equals(BUDGET_PERIOD, new Integer(budgetPeriod));\r\n cvfilteredLIDetails = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), BudgetDetailBean.class, periodEquals);\r\n if (cvfilteredLIDetails.size() > 0) {\r\n return ;\r\n }\r\n //check whether any of the later periods has line items\r\n GreaterThan periodGreaterThan = new GreaterThan(BUDGET_PERIOD, new Integer(budgetPeriod));\r\n cvfilteredLIDetails = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), BudgetDetailBean.class, periodGreaterThan);\r\n \r\n if (cvfilteredLIDetails.size() > 0) {\r\n CoeusOptionPane.showInfoDialog(\"Period \" +budgetPeriodBean.getBudgetPeriod()+ \" or one of the later periods have detail budget items. This period can not be deleted. \");\r\n return;\r\n }\r\n //Case #1626 Start 1\r\n deleteBudgetModularPeriod(periodEquals);\r\n //Case #1626 End 1\r\n budgetSummaryEditor.stopCellEditing();\r\n BudgetPeriodBean deletedPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(selectedRow);\r\n if(vecBudgetPeriodBean!=null && vecBudgetPeriodBean.size() > 0){\r\n deletedPeriodBean.setAcType(TypeConstants.DELETE_RECORD);\r\n queryEngine.delete(proposalId+versionNumber, deletedPeriodBean);\r\n vecBudgetPeriodBean.remove(selectedRow);\r\n budgetPeriodModel.fireTableRowsDeleted(selectedRow, selectedRow);\r\n modified = true;\r\n \r\n BeanEvent beanEvent = new BeanEvent();\r\n beanEvent.setBean(budgetPeriodBean);\r\n beanEvent.setSource(eventSource);\r\n fireBeanDeleted(beanEvent);\r\n \r\n //Case 1625 Start\r\n \r\n CoeusVector cvProjectIncome = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), ProjectIncomeBean.class, periodEquals);\r\n if(cvProjectIncome != null && cvProjectIncome.size()>0){\r\n for(int index = 0 ; index < cvProjectIncome.size(); index ++){\r\n ProjectIncomeBean deleteIncomeBean =\r\n (ProjectIncomeBean)cvProjectIncome.get(index);\r\n deleteIncomeBean.setAcType(TypeConstants.DELETE_RECORD);\r\n queryEngine.delete(proposalId+versionNumber, deleteIncomeBean);\r\n }\r\n }\r\n //Case 1625 End\r\n }\r\n // This logic is used to take n-1 period numbers in the budget period\r\n for(int index = selectedRow; index < vecBudgetPeriodBean.size(); index++) {\r\n budgetPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(index);\r\n budgetPeriodBean.setBudgetPeriod(budgetPeriodBean.getBudgetPeriod() - 1);\r\n modified=true;\r\n if (budgetPeriodBean.getAcType() == null) {\r\n budgetPeriodBean.setAcType(TypeConstants.UPDATE_RECORD);\r\n queryEngine.update(proposalId+versionNumber,budgetPeriodBean);\r\n } else {\r\n queryEngine.insert(proposalId+versionNumber,budgetPeriodBean);\r\n }\r\n \r\n }\r\n budgetPeriodModel.fireTableRowsUpdated(selectedRow, vecBudgetPeriodBean.size());\r\n BeanEvent beanEvent = new BeanEvent();\r\n beanEvent.setBean(budgetPeriodBean);\r\n beanEvent.setSource(eventSource);\r\n fireBeanUpdated(beanEvent);\r\n \r\n modified = true;\r\n if(selectedRow >0){\r\n budgetSummaryForm.tblBudgetSummary.setRowSelectionInterval(\r\n selectedRow-1,selectedRow-1);\r\n budgetSummaryForm.tblBudgetSummary.setColumnSelectionInterval(1,1);\r\n if(budgetSummaryForm.tblBudgetSummary.isCellEditable(selectedRow-1, START_DATE_COLUNM)){\r\n budgetSummaryForm.tblBudgetSummary.editCellAt(selectedRow-1, START_DATE_COLUNM);\r\n budgetSummaryForm.tblBudgetSummary.getEditorComponent().requestFocusInWindow();\r\n }else{\r\n budgetSummaryForm.chkFinal.requestFocusInWindow();\r\n }\r\n budgetSummaryForm.tblBudgetSummary.scrollRectToVisible(\r\n budgetSummaryForm.tblBudgetSummary.getCellRect(selectedRow-1 ,START_DATE_COLUNM, true));\r\n \r\n \r\n }else{\r\n if(budgetSummaryForm.tblBudgetSummary.getRowCount()>0){\r\n budgetSummaryForm.tblBudgetSummary.setRowSelectionInterval(0,0);\r\n }\r\n }\r\n calculateChangedCost();\r\n }catch (CoeusException coeusException) {\r\n coeusException.getMessage();\r\n }\r\n \r\n }","title":""},{"docid":"6ae0b909fe024cafbc5b6272c763ccc4","score":"0.56982243","text":"@Override\r\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tString sql = \"Delete from tblmstimmunizationANS where ImmunizationGUID='\"\r\n\t\t\t\t\t\t\t+ global.getImmunizationGUID() + \"'\";\r\n\t\t\t\t\tdataProvider.executeSql(sql);\r\n\t\t\t\t\tIntent i = new Intent(ImmunizationQuestionActivity.this,\r\n\t\t\t\t\t\t\tImmunizationCounselling.class);\r\n\t\t\t\t\tfinish();\r\n\t\t\t\t\tstartActivity(i);\r\n\t\t\t\t\tdialog.dismiss();\r\n\t\t\t\t}","title":""},{"docid":"419ceeba79abfa201d3ed41517d7a8c1","score":"0.5689813","text":"@Test\n public void testNoActvPartRequirementOnInventoryOrSubInventory() throws Exception {\n DataSet lDataSet;\n\n // Passed in TRK inventory\n lDataSet = execute( new InventoryKey( \"4650:5\" ) );\n\n Assert.assertFalse( lDataSet.next() );\n }","title":""},{"docid":"e35c4267c51bf8b677e9f8ab3bba4005","score":"0.5661202","text":"protected void deleteShippingPlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695961\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695962\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { ShippingPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695963\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { ShippingPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695964\n\t\t//Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695965\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { ShippingPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695966\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { ShippingPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695967\n\t\t// Delete the inventory information.\n\t\t//#CM695968\n\t\t// Find the Stock ID of the inventory information linked to the delete target data in the shipping plan info.\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695969\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.ShippingPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695970\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.ShippingPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (ShippingPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695971\n\t\t\t// Delete the inventory information linked to the delete target in the shipping plan info.\n\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t}\n\n\t\t//#CM695972\n\t\t//Delete the work status.\n\t\t//#CM695973\n\t\t// Find the work status linked to the delete target data in the shipping plan info. .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695974\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = sysWorkInfoFinder.ShippingPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695975\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.ShippingPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (ShippingPlan Delete) --> WorkInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695976\n\t\t\t// Delete the work status linked to the delete target in the shipping plan info.\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695977\n\t\t//Delete the shipping plan info.\n\t\tShippingPlanHandler shippingHandler = new ShippingPlanHandler(conn);\n\t\tShippingPlanSearchKey shippingSearchKey = new ShippingPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695978\n\t\t\t// Delete the shipping plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695979\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \n\t\t\tshippingSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695980\n\t\t\t// Delete the shipping plan info that passed its retention period (days).\n\t\t\t//#CM695981\n\t\t\t//\t ( Status flag = Partially Completed and Planned Shipping Date <= Expiry date of retention )\n\t\t\tshippingSearchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695982\n\t\t\t// Delete the shipping plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695983\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tshippingSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695984\n\t\t\t// Delete the shipping plan info that passed its retention period (days).\n\t\t\t//#CM695985\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Shipping Date <= Expiry date of retention )\n\t\t\tshippingSearchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = shippingHandler.count(shippingSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (ShippingPlan Delete) --> ShippingPlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695986\n\t\t\t\t// Delete the shipping plan info.\n\t\t\t\tshippingHandler.drop(shippingSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""},{"docid":"479fb7079b00310664225e1a22a3d814","score":"0.5635677","text":"@Override\n\tprotected void updateRepairPlan() {\n\n\t}","title":""},{"docid":"67c583879d7861f1a83672810b1519b8","score":"0.5625741","text":"int deleteByPrimaryKey(Integer pnPlanId);","title":""},{"docid":"c5f555841413de69942833aec94519bc","score":"0.5622557","text":"void unsetDataQuantity();","title":""},{"docid":"4c9d5492df94ad1f0d9d72e36f96eb50","score":"0.5599789","text":"@Override\n\tpublic void execute()\n\t{\n\t\tItemData removingItemData = DataUpdater.createItemData(this.item);\n\t\tIProduct removingProduct = this.item.getProduct();\n\t\tfor(ProductData dp: displayProducts)\n\t\t\tif(dp.getTag().equals(removingProduct))\n\t\t\t\tthis.removingProductData = dp;\n\t\tif(this.removingProductData == null)\n\t\t{\n\t\t\tthis.productDataDidNotExist = true;\n\t\t\tthis.removingProductData =\n\t\t\t\t\tDataUpdater.createProductData(removingProduct);\n\t\t\tremovingProductData.setCount(\"1\");\n\t\t\tdisplayProducts.add(removingProductData);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = Integer.parseInt(this.removingProductData.getCount());\n\t\t\tcount++;\n\t\t\tthis.removingProductData.setCount(\"\" + count);\n\t\t}\n\t\taddItems(removingProductData, removingItemData);\n\n\t\tif(this.target.ableToRemoveItem(this.item))\n\t\t\tthis.target.removeItem(this.item);\n\t}","title":""},{"docid":"56d71525b3714359c988d822f7dc272c","score":"0.55937034","text":"public void deProvision() {\n log.info(\"Resource DeProvisioning started at: \" + new Date());\n dbOperations = new DBOperations();\n // 1. query from table to see resource map. (resource_type,List(resource_name) , ec2->List(i-123) )\n Map> resourceMap = dbOperations.getResourcesFromDb();\n\n resourceMap.entrySet().forEach(entry -> {\n //String resourcName = entry.getKey();\n List resourcesName = entry.getValue();\n // 2. Deprovision sequentially.\n Resource resource = new ResourceFactory().createResource(entry.getKey());\n resource.deProvisionResource(entry.getValue());\n log.info(\"DeProvisioning \"+entry.getKey() + \" \" + entry.getValue());\n\n // 3. update state of resource in DB, with resource deporvisioned\n try {\n dbOperations.updateStateInDB(resourcesName,\"deprovisioned\");\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n });\n dbOperations.closeDbConnection();\n\n log.info(\"Resource DeProvisioning finished at: \" + new Date());\n }","title":""},{"docid":"708ca2a5798d3deba569853ca38a2d96","score":"0.5569595","text":"@Test\n public void testNoPartRequirementOnInventoryOrSubInventory() throws Exception {\n DataSet lDataSet;\n\n // Passed in TRK inventory\n lDataSet = execute( new InventoryKey( \"4650:1\" ) );\n Assert.assertFalse( lDataSet.next() );\n }","title":""},{"docid":"21c719afca3b9f732fb805fcd94167b0","score":"0.55612355","text":"protected void deleteStoragePlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695858\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695859\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { StoragePlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695860\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { StoragePlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695861\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695862\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { StoragePlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695863\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { StoragePlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695864\n\t\t// Delete the inventory information.\n\t\t//#CM695865\n\t\t// Find the Stock ID of the inventory information linked to the delete target in the Storage Plan info. .\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695866\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.StoragePlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695867\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.StoragePlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (StoragePlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695868\n\t\t\t// Delete the inventory information linked to the delete target in the Storage Plan info. .\n\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t}\n\n\t\t//#CM695869\n\t\t// Delete the work status.\n\t\t//#CM695870\n\t\t// Find the work status linked to the delete target in the Storage Plan info .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695871\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = sysWorkInfoFinder.StoragePlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695872\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.StoragePlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (StoragePlan Delete) --> WorkInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695873\n\t\t\t// Delete the Work status linked to the Storage plan info subject to delete.\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695874\n\t\t// Delete the Storage Plan info.\n\t\tStoragePlanHandler storageHandler = new StoragePlanHandler(conn);\n\t\tStoragePlanSearchKey storageSerchKey = new StoragePlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695875\n\t\t\t// Delete the Storage Plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695876\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \n\t\t\tstorageSerchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695877\n\t\t\t// Delete the Storage Plan info that exceeds retention period (days).\n\t\t\t//#CM695878\n\t\t\t//\t ( Status flag = Partially Completed and Planned Storage Date <= Expiry date of retention )\n\t\t\tstorageSerchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695879\n\t\t\t// Delete the Storage Plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695880\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tstorageSerchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695881\n\t\t\t// Delete the Storage Plan info that exceeds retention period (days).\n\t\t\t//#CM695882\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Storage Date <= Expiry date of retention )\n\t\t\tstorageSerchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = storageHandler.count(storageSerchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (StoragePlan Delete) --> StoragePlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695883\n\t\t\t\t// Delete the Storage Plan info.\n\t\t\t\tstorageHandler.drop(storageSerchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""},{"docid":"7c515ea215af526f7efe3312f7a58875","score":"0.555924","text":"public static String _del_quest() throws Exception{\nmostCurrent._imageview1.setVisible(anywheresoftware.b4a.keywords.Common.True);\n //BA.debugLineNum = 486;BA.debugLine=\"dpm1.Visible=False\";\nmostCurrent._dpm1.setVisible(anywheresoftware.b4a.keywords.Common.False);\n //BA.debugLineNum = 488;BA.debugLine=\"ImageView1.Bitmap=LoadBitmap(File.DirAssets,\\\"Acce\";\nmostCurrent._imageview1.setBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),\"Accept128.png\").getObject()));\n //BA.debugLineNum = 489;BA.debugLine=\"Label1.Text= \\\"clear RAM and close..\\\"\";\nmostCurrent._label1.setText(BA.ObjectToCharSequence(\"clear RAM and close..\"));\n //BA.debugLineNum = 491;BA.debugLine=\"real_delete\";\n_real_delete();\n //BA.debugLineNum = 492;BA.debugLine=\"End Sub\";\nreturn \"\";\n}","title":""},{"docid":"a6ba9282fcd4f9e6bbfdb385ff95a9e3","score":"0.5557871","text":"public void deletePR( EAIMMCtxtIfc theCtxt) throws EAIException {\r\n\r\n super.deletePR( theCtxt);\r\n\r\n \r\n\r\n \r\n // When deleting unlink related SuperModule\r\n setSuperModule( theCtxt, null);\r\n\r\n\r\n // When deleting : delete related SubModules\r\n com.dosmil_e.m3.core.ifc.M3ModuleIfc[] someSubModules = getSubModules( theCtxt);\r\n if( someSubModules != null) {\r\n int aSubModulesLength = someSubModules.length;\r\n for( int anIndex = 0 ; anIndex < aSubModulesLength ; anIndex++) {\r\n com.dosmil_e.m3.core.ifc.M3ModuleIfc aSubModules = someSubModules[ anIndex];\r\n if( aSubModules != null) {\r\n com.dosmil_e.m3.core.impl.M3ModuleImpl aSubModulesImpl = null;\r\n try { aSubModulesImpl = (com.dosmil_e.m3.core.impl.M3ModuleImpl) aSubModules;} catch( ClassCastException anEx) {}\r\n if( aSubModulesImpl != null) {\r\n aSubModulesImpl.delete( theCtxt);\r\n }\r\n }\r\n }\r\n }\r\n \r\n\r\n // When deleting : delete related Types\r\n com.dosmil_e.m3.core.ifc.M3TypeIfc[] someTypes = getTypes( theCtxt);\r\n if( someTypes != null) {\r\n int aTypesLength = someTypes.length;\r\n for( int anIndex = 0 ; anIndex < aTypesLength ; anIndex++) {\r\n com.dosmil_e.m3.core.ifc.M3TypeIfc aTypes = someTypes[ anIndex];\r\n if( aTypes != null) {\r\n com.dosmil_e.m3.core.impl.M3TypeImpl aTypesImpl = null;\r\n try { aTypesImpl = (com.dosmil_e.m3.core.impl.M3TypeImpl) aTypes;} catch( ClassCastException anEx) {}\r\n if( aTypesImpl != null) {\r\n aTypesImpl.delete( theCtxt);\r\n }\r\n }\r\n }\r\n }\r\n \r\n\r\n\r\n }","title":""},{"docid":"2006dbca6686313e9833134be286c1d8","score":"0.55556613","text":"String deleteProcessesCasesDialogbox();","title":""},{"docid":"32c940fc7e6afe71b7a4c31383d787f6","score":"0.55526125","text":"@Override\n public void delete() {\n String sqlStmnt = String.format(\n \"DELETE FROM `labour_costs` \" +\n \"WHERE 'company_id' = '%s';\",\n companyID\n );\n DB.delete(TABLE, sqlStmnt);\n }","title":""},{"docid":"9a3872bbd8b8bbde5a72f8085a60e2b9","score":"0.5543518","text":"private static void deleteCancelledOrders() {\n\t try{\n\t String validateOrder = \"\";\n\t System.out.println(\"[INPUT] Are you sure you want to delete all cancelled orders? [Ex: yes/no]\");\n\t validateOrder = keyboard.readLine();\n\t \n\t if(validateOrder.equals(\"yes\")){\n\t Statement DelStmt= conn.createStatement();\n\t String DeleteRecord = \" DELETE FROM Orders WHERE ordStatus = 'cancelled' \";\n\t DelStmt.executeUpdate(DeleteRecord);\n\t System.out.println(\"[RESULT] Record(s) deleted\");\n\t System.out.println();\n\t }\n\t else{\n\t System.out.println(\"[RESULT] Going to main menu..\");\n\t System.out.println();\n\t }\n\t \n\t }\n\t catch (Exception e){\n\t System.out.println();\n\t printException(\"Exception\",e.toString());\n\t }\n\t }","title":""},{"docid":"8a1d164699f2945da514b56588ff2d0d","score":"0.5532145","text":"public void deletePghs194a300() {\n sqlSttmt = \"DELETE FROM VWSDGHPS20001_MOVEXGDEP \" +\n \" WHERE \" +\n \"C_PAIS_ISOA_CONT = :cPaisIsoaCont AND C_BANC_CONT = :cBancCont AND \" +\n \"C_OE_EGC_CONT = :cOeEgcCont AND \" +\n \"NS_RDCL_CONT = :nsRdclCont AND \" +\n \"V_CHKD_CONT = :vChkdCont AND \" +\n \"C_TIPO_CONT = :cTipoCont AND \" +\n \"C_MOED_ISO_SCTA = :cMoedIsoScta AND \" +\n \"NS_DEPOSITO = :nsDeposito AND \" +\n \"NS_MOVIMENTO = :nsMovimento AND \" +\n \"C_EST_EXTS_GAR_DEP = :cEstExtsGarDep\" ;\n setQueryStatement(sqlSttmt) ;\n setQueryArgument( \"cPaisIsoaCont\", movexgdep().cPaisIsoaCont() ) ;\n setQueryArgument( \"cBancCont\", movexgdep().cBancCont() ) ;\n setQueryArgument( \"cOeEgcCont\", movexgdep().cOeEgcCont() ) ;\n setQueryArgument( \"nsRdclCont\", movexgdep().nsRdclCont() ) ;\n setQueryArgument( \"vChkdCont\", movexgdep().vChkdCont() ) ;\n setQueryArgument( \"cTipoCont\", movexgdep().cTipoCont() ) ;\n setQueryArgument( \"cMoedIsoScta\", movexgdep().cMoedIsoScta() ) ;\n setQueryArgument( \"nsDeposito\", movexgdep().nsDeposito() ) ;\n setQueryArgument( \"nsMovimento\", movexgdep().nsMovimento() ) ;\n setQueryArgument( \"cEstExtsGarDep\", movexgdep().cEstExtsGarDep() ) ;\n executeUpdate() ;\n }","title":""},{"docid":"d0261119f80aa9851e1a54b789e145aa","score":"0.5528809","text":"@Override\r\npublic void delete(int pid) {\r\n\t\r\n\ttry {\r\n\t\tConnectionManager cm = new ConnectionManager();\r\n\t\tConnection con = cm.getConnection();\r\n\t\tString sql = \"DELETE FROM productsinStore WHERE pid=?\";\r\n\t\tPreparedStatement ps = con.prepareStatement(sql);\r\n\t\tps.setInt(1, pid);\r\n\t\tint status = ps.executeUpdate();\r\n//\t\t\r\n\tif(status > 0) {\r\n\t\t\tSystem.out.println(\"**********************PRODUCT DELETED SUCCESSFULLY****************************\");\r\n\t\t\tcon.close();\r\n\t\t}else {\r\n\t\t\tSystem.out.println(\"**********************PRODUCT DOES NOT EXSIST**********************************\");\r\n\t\t\tcon.close();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}catch (Exception e) \r\n\t{\r\n\t\te.printStackTrace();\r\n\t}\r\n\t\r\n}","title":""},{"docid":"4e9f24a24e70b8aaae63f572a0c45f86","score":"0.5527977","text":"public void deleteOrderQuantity() {\r\n/* 121 */ this._has_orderQuantity = false;\r\n/* */ }","title":""},{"docid":"f47b29183459232c5e032045db2c80ae","score":"0.55261844","text":"private static void deleteIncompleteOrders() {\n\t try{\n\t String validateOrder = \"\";\n\t System.out.println(\"[INPUT] Are you sure you want to delete all incomplete orders? [Ex: yes/no]\");\n\t validateOrder = keyboard.readLine();\n\t \n\t if(validateOrder.equals(\"yes\")){\n\t Statement DelStmt= conn.createStatement();\n\t String DeleteRecord = \" DELETE FROM Orders WHERE ordStatus = 'incomplete' \";\n\t DelStmt.executeUpdate(DeleteRecord);\n\t System.out.println(\"[RESULT] Record(s) deleted\");\n\t System.out.println();\n\t }\n\t else{\n\t System.out.println(\"[RESULT] Going to main menu..\");\n\t System.out.println();\n\t }\n\t \n\t }\n\t catch (Exception e){\n\t System.out.println();\n\t printException(\"Exception\",e.toString());\n\t }\n\t }","title":""},{"docid":"820cd82bcb4ab08b018deebca2f05962","score":"0.54908943","text":"public void deleteOrder() throws Exception{\n int order_id = newView.askId();\n try{\n Ordercl toDelete = newConn.readOrder(order_id);\n newConn.deleteOrder(toDelete);\n System.out.println(\"Delete ok\");}\n catch(Exception e){\n System.out.println(e.getMessage());\n deleteOrder();\n }\n }","title":""},{"docid":"9887c8e8f66cc6309f535f536296825a","score":"0.54763585","text":"public abstract void cleanPackage(long packid) throws DboxException;","title":""},{"docid":"1e118daf885dcdd1c5ce6264cb0edcc5","score":"0.54663223","text":"public synchronized void delete(){\n \tsvsCommands.append(SVSCommands.delete(getIdString()));\n }","title":""},{"docid":"4586467881c3739f9383ba5949b1b7a5","score":"0.54618204","text":"public void DeleteHodAuditplan_schedule_memo()throws InterruptedException, IOException\n\t{\n\t\ttry{\n\t\t\tmCreateArtefactsFolder(\"ADT_\");\n\t\t\tmOpenBrowser(mGetPropertyFromFile(\"browserName\"));\n\t\t\tmGetURL(mGetPropertyFromFile(\"url\"));\n\t\t\tselectUlb();\n\t\t\tdepartmentLogin(mGetPropertyFromFile(\"adt_AsgnHODName\"),mGetPropertyFromFile(\"adt_AsgnHodPassword\"));\n\t\t\tdelHodAuditplan_schedule_memo();\n\t\t\tlogOut();\n\t\t\tfinalLogOut();\n\t\t\tmCloseBrowser();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\t\t\t\n\t\t\tthrow new MainetCustomExceptions(\"Error in DeleteHodAuditplan_schedule_memo method\");\n\t\t}\n\t}","title":""},{"docid":"87f16c899f6d6000deac588dffaf94bf","score":"0.5461699","text":"public static void Query18( Travel4u esql ) {\n\n\t\ttry {\n\t\t\tString query = \"DELETE FROM trip_package WHERE packageid = \";\n\t\t\tSystem.out.print(\"Enter Package ID: \");\n\t\t\tString input = in.readLine();\n\t\t\tquery += input;\n\t\t\t\n\t\t\tesql.executeUpdate( query );\n\t\t}\n\t\tcatch( Exception e ) {\n\t\t\tSystem.err.println( e.getMessage() );\n\t\t}\n\t}","title":""},{"docid":"ce6326d3dad391cf67e26319c80494f3","score":"0.5456103","text":"public void execute()\n \t{\n \t\tfinal Object[] args = {_sqlDriver.getName()};\n \t\tfinal DataCache cache = _app.getDataCache();\n \t\tIterator it = cache.getAliasesForDriver(_sqlDriver);\n \t\tif (it.hasNext())\n \t\t{\n\t\t\tDialogs.showOk(_frame, s_stringMgr.getString(\"DeleteDriverCommand.used\", args));\n \t\t}\n \t\telse\n \t\t{\n \t\t\tif (Dialogs.showYesNo(_frame, s_stringMgr.getString(\"DeleteDriverCommand.comfirm\", args)))\n \t\t\t{\n \t\t\t\tcache.removeDriver(_sqlDriver);\n \t\t\t}\n \t\t}\n \t}","title":""},{"docid":"4a9beaf8497f20d14155158b44bf50dc","score":"0.54522675","text":"public void unplan(){\n isPlanned = false;\n }","title":""},{"docid":"af56e706b9ea18e0be026746a1b64b9a","score":"0.5450617","text":"private void doDelete(VOPackage vo) {\n\n\t}","title":""},{"docid":"c92d5c1476d5aabd1cc2c238e39b4fd8","score":"0.54491115","text":"protected void deleteWorkingInformation_PlanUkey(Connection conn, SystemWorkingInformationFinder vfinder)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\ttry\n\t\t{\n\t\t\tSystemWorkingInformationHandler sysWorkInfoHandler = new SystemWorkingInformationHandler(conn);\n\n\t\t\twhile (vfinder.isNext())\n\t\t\t{\n\t\t\t\t//#CM695991\n\t\t\t\t// Obtain every 100 the search results.\n\t\t\t\tString[] planUkey = vfinder.getPlanUkeyArray(100);\n\t\t\t\tif( planUkey.length > 0 )\n\t\t\t\t{\n\t\t\t\t\t//#CM695992\n\t\t\t\t\t// Delete the work status using the obtained plan unique key.\n\t\t\t\t\tsysWorkInfoHandler.dropWorkInfo_MultiPlanUkey(planUkey);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t\tthrow new ReadWriteException(e.getMessage());\n\t\t}\n\t}","title":""},{"docid":"be3dd2cdceedbb9656480c1f6b015bb0","score":"0.54416853","text":"public static void RemoveAbusePa() throws Exception {\n\t\tAPP_LOGGER.startFunction(\"RemovePAAbuse\");\n\t\tString retval = Globals.KEYWORD_FAIL;\n\t\tString tempRetval=Globals.KEYWORD_FAIL;\n\t\tint timeOutinSeconds=20;\n\t\ttry {\n\t\t\t\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressState\", \"Florida\");\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressZipCode\", \"32007\");\n\t sc.clickWhenElementIsClickable(\"invitationStep4_back_btn\",timeOutinSeconds);\n\t \tretval= ClientFacingApp.invitationOrderStep1();\n\t \tGlobals.testSuiteXLS.setCellData_inTestData(\"PositionProducts\", \"L1\");\n\t\t\tretval= ClientFacingApp.invitationOrderStep2();\n\t\t\tretval= ClientFacingApp.invitationOrderStep3();\n\t\t\ttempRetval=sc.waitforElementToDisplay(\"invitationStep4_infoCorrect_chk\", 60);\n\t\t\tsc.clickWhenElementIsClickable(\"invitationStep4_infoCorrect_chk\",timeOutinSeconds);\n\t\t\tsc.clickWhenElementIsClickable(\"invitationStep4_fastPassNo_chk\", timeOutinSeconds);\n\t\t\tverifyPricingStep4();\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressState\", \"Pennsylvania\");\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressZipCode\", \"15001\");\n\t \tGlobals.testSuiteXLS.setCellData_inTestData(\"PositionProducts\", \"L1-ABUSE\");\n\t \t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"Method-CreateInvitationOrder | Unable to create Invitation Order | Exception - \"+ e.toString());\n\t\t\tretval = Globals.KEYWORD_FAIL;\n\t\t\tthrow e;\n\t\t}\n\t}","title":""},{"docid":"9ba746f5513e658c5cb997b6b9ec1e71","score":"0.5439075","text":"public void drop_stockTemp(){\n \n try {\n Statement con = dbConnection.db().createStatement();\n con.executeUpdate(\"DROP TABLE stock_temp\" );\n } catch (Exception ex) {\n Logger.getLogger(mainWindow.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n \n }","title":""},{"docid":"6f5536d53ec5d72c71a8fd323ada0d6d","score":"0.54266983","text":"public void delHodAuditplan_schedule_memo() {\n\n\t\ttry{\n\t\t\t/*\t\t\t\t\n\t\t\t\t// to delete audit memo\t\t\t\t\n\t\t\t\t//navigate audit memo Link \n\n\t\t\t\tif(mGetPropertyFromFile(\"adt_deleteAuditMemo\").equalsIgnoreCase(\"yes\"))\n\t\t\t{\t\n\t\t\t\tmNavigation((\"adt_AmAuditLinkid\"),(\"adt_AmTransactionsLinkid\"),(\"adt_AmAuditMemoLinkid\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//Searching Audit Application\n\t\t\t\tmWaitForVisible(\"css\",mGetPropertyFromFile(\"adt_AmSearchAuditNoIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_AmSearchAuditNoIconid\"));\n\n\t\t\t\t//Sending application Number\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_AmSearchAuditByTextid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//\t\t\tmSendKeys(\"id\",mGetPropertyFromFile(\"adt_AmSearchAuditByTextid\"), auditNumber);\n\t\t\t\tIndOrDep(\"id\", \"adt_AmSearchAuditByTextid\", \"applicationNo\");\n\n\t\t\t\tmTab(\"id\",mGetPropertyFromFile(\"adt_AmSearchAuditByTextid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//fancy search button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_AmSearchAuditAtFancyBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_AmSearchAuditAtFancyBtnid\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//View Details Img Link\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_AmViewDetailsImgid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_AmViewDetailsImgid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t// to delete Audit Memo list \n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_AmDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_AmDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_AmDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_AmDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_AmDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString FancyMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_AmAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(FancyMsg);\n\t\t\t\tmAssert(FancyMsg, mGetPropertyFromFile(\"adt_AmAfterDelAssertMsgdata\"),\"Actual :\"+FancyMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_AmAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_AmDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t// final submit button\n\t\t\t\tmWaitForVisible(\"xpath\",mGetPropertyFromFile(\"adt_AmAuditMemoAppSubBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_AmAuditMemoAppSubBtnid\"));\n\n\t\t\t\t// Proceed Button\n\t\t\t\tmWaitForVisible(\"id\",mGetPropertyFromFile(\"adt_AmAuditMemoAppProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString msgAtAuditMemoFinlSub = mGetText(\"css\",mGetPropertyFromFile(\"adt_AmAuditMemoProcdAssertMsgid\"));\n\t\t\t\tmAssert(msgAtAuditMemoFinlSub,mGetPropertyFromFile(\"adt_AmAuditMemoProcdAssertMsgdata\"),\" Actual :\"+ msgAtAuditMemoFinlSub+ \" Expected :\"+ mGetPropertyFromFile(\"adt_AmAuditMemoProcdAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(msgAtAuditMemoFinlSub);\n\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_AmAuditMemoAppProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmWaitForVisible(\"linkText\", mGetPropertyFromFile(\"logoutid\"));\n\t\t\t}\t\n\n\n\t\t\t\t// to delete Schedule audit \n\t\t\t\t// navigate Schedule Audit Link\n\n\n\t\t\t\tif(mGetPropertyFromFile(\"adt_DeleteAuditSchedule\").equalsIgnoreCase(\"yes\"))\n\t\t\t{\t\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_SaAuditScheduleLinkid\"));\n\n\t\t\t\t//Search Audit Number\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_SaAutoTxtSearchAppid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\t//\t\t\tmSelectDropDown(\"id\", mGetPropertyFromFile(\"adt_SaAutoTxtSearchAppid\"), auditNumber);\n\t\t\t\tIndOrDep(\"id\", \"adt_SaAutoTxtSearchAppid\", \"applicationNo\");\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Search Button\n\t\t\t\tmWaitForVisible(\"linkText\", mGetPropertyFromFile(\"adt_SaSearchAppBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_SaSearchAppBtnid\"));\n\n\t\t\t\t//View Details\n\t\t\t\t//\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\t//\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\n\t\t\t\t//getting text\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_SaNoAtScheduleAuditid\"));\n\t\t\t\tmCustomWait(1000);\n\n\n\n\t\t\t\t// to delete Audit Schedule Details \n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_SaDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_SaDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_SaDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString FanMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_SaAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(FanMsg);\n\t\t\t\tmAssert(FanMsg, mGetPropertyFromFile(\"adt_SaAfterDelAssertMsgdata\"),\"Actual :\"+FanMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_SaAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_SaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Final submit button\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaAuditorSchedleAftrSubInputBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_SaAuditorSchedleAftrSubInputBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Proceed button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_SaAuditorSchdleProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString msgAtFinlSubBtn = mGetText(\"css\", mGetPropertyFromFile(\"adt_SaSchdlePlnFinalSubAssertid\"));\n\t\t\t\tmAssert(msgAtFinlSubBtn, mGetPropertyFromFile(\"adt_SaSchdlePlnFinalSubAssertdata\"), \" Actual :\"+msgAtFinlSubBtn+\" Expected :\"+ mGetPropertyFromFile(\"adt_SaSchdlePlnFinalSubAssertdata\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_SaAuditorSchdleProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(msgAtFinlSubBtn);\n\t\t\t\tmTakeScreenShot();\n mWaitForVisible(\"linkText\", mGetPropertyFromFile(\"logoutid\"));\n\t\t\t}\t\n\t\t\t */ \n\n\n\n\n\t\t\t// to delete audit plan\n\t\t\t// navigate Audit plan Link\n\n\t\t\tif(mGetPropertyFromFile(\"adt_DeleteAuditPlan\").equalsIgnoreCase(\"yes\"))\n\t\t\t{ \n\t\t\t\tmNavigation((\"adt_PaAuditLinkid\"),(\"adt_PaTransactionLinkid\"),(\"adt_PaAuditPlanLinkid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//to delete Audit Plan Details \n\n\t\t\t\tIndOrDep(\"id\", \"adt_PaAuditNoSearchid\", \"applicationNo\");\n\t\t\t\t//\t\t\t\tmSelectDropDown(\"id\", mGetPropertyFromFile(\"adt_PaAuditNoSearchid\"), mGetPropertyFromFile(\"adt_PaAuditNoSearchdata\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_PaSearchBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString FaMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(FaMsg);\n\t\t\t\tmAssert(FaMsg, mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"),\"Actual :\"+FaMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Final submit button\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Proceed button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(2000);\n\t\t\t\tmTakeScreenShot();\t\t\n\t\t\t\tmWaitForVisible(\"linkText\", mGetPropertyFromFile(\"logoutid\"));\n\t\t\t}\t\n\n\n\t\t\t/* \t\t\t\t\n\t\t\t\t// to delete assign HOD \n\t\t\t\t// navigate assign HOD Link\n\n\t\t\t\tif(mGetPropertyFromFile(\"adt_deleteAssignHod\").equalsIgnoreCase(\"yes\"))\n\t\t\t{\n mNavigation((\"ADT_MasterLinkid\"),(\"ADT_AssignHODLinkid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//to delete Assign Hod \n\n\t\t\t\tmSelectDropDown(\"id\", mGetPropertyFromFile(\"adt_PaAuditNoSearchid\"), mGetPropertyFromFile(\"adt_PaAuditNoSearchdata\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_PaSearchBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString delMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tSystem.out.println(delMsg);\n\t\t\t\tmAssert(delMsg, mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"),\"Actual :\"+delMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1500);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Final submit button\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Proceed button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(2000);\n\t\t\t\tmTakeScreenShot();\t\t\n\t\t\t}\n\t\t\t */\t\t\t\n\t\t}\n\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tthrow new MainetCustomExceptions(\"Error in DelHodAuditplan_schedule_memo script\");\n\t\t}\n\n\t}","title":""},{"docid":"ff5a174f2e0077feab45bf36af26f139","score":"0.5423145","text":"void deleteBuildPlan(String buildPlanId);","title":""},{"docid":"ee37f910f9c3d3dacee325de3a45739b","score":"0.54191756","text":"public void performDeleteUnit(boolean nomsg){\r\n int selectedRow = keyPersonForm.tblInvestigator.getSelectedRow();\r\n /* delete the selected unit information from table as well as from\r\n the vector which consists of all unit details for a particular\r\n investigator */\r\n CoeusVector deletedUnits = null;\r\n if(selectedRow != -1){\r\n KeyPersonBean keyPrsnBean = keyPersonTableModel.getKeyPersonBean(selectedRow);\r\n String personId=\"\";\r\n if( keyPrsnBean != null ){\r\n personId = keyPrsnBean.getPersonId();\r\n }\r\n int selectedUnitRow = keyPersonForm.tblUnits.getSelectedRow();\r\n if( selectedUnitRow != -1 ){\r\n String unitNo = \"\";\r\n KeyPersonUnitBean unitBean = unitTableModel.getUnitBean(selectedUnitRow);\r\n if( unitBean != null ) {\r\n unitNo = unitBean.getUnitNumber();\r\n }\r\n if(unitNo != null && unitNo.trim().length()>0){\r\n int selectedOption;\r\n if(nomsg){\r\n selectedOption = showDeleteConfirmMessage(\"Are you sure you want\"\r\n +\" to remove \"+unitNo+\" ?\");}\r\n else{selectedOption=JOptionPane.YES_OPTION;}\r\n \r\n if( selectedOption == JOptionPane.YES_OPTION ){\r\n //Added for COEUSQA-2037 : Software allows you to delete an investigator who is assigned credit in the credit split window\r\n //When there is only one unit for the investigator exists,\r\n //removes the unit without check the credit split\r\n //When multiple unit exists, Checks for the unit credit split information,\r\n //until split set to '0' won't allow to delete the unit\r\n int unitAvailCount=keyPersonForm.tblUnits.getRowCount();\r\n if(unitAvailCount >= 1){\r\n// int selectedOpt = CoeusOptionPane.showQuestionDialog(\r\n// coeusMessageResources.parseMessageKey(CREDIT_SPLIT_EXISTS_FOR_INV_UNIT) ,\r\n// CoeusOptionPane.OPTION_YES_NO,\r\n// CoeusOptionPane.DEFAULT_YES);\r\n// if(selectedOpt == JOptionPane.YES_OPTION){\r\n// if(isDataChanged()){\r\n// MessageFormat formatter = new MessageFormat(\"\");\r\n// String message = formatter.format(\r\n// coeusMessageResources.parseMessageKey(SAVE_BEFORE_OPEN_CREDIT_SPILT),\r\n// this.moduleText);\r\n// CoeusOptionPane.showInfoDialog(message);\r\n// }else{\r\n// performCreditSplitAction();\r\n// }\r\n \r\n \r\n KeyPersonUnitBean personUnitBean = null;\r\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\r\n CoeusVector delUnits = invUnits.filter( new Equals(\"unitNumber\",unitNo));\r\n invUnits.remove(selectedUnitRow);\r\n unitTableModel.setData(invUnits);\r\n keyPrsnBean.setKeyPersonsUnits(invUnits);\r\n String invAcType = keyPrsnBean.getAcType();\r\n if( null == invAcType ) {\r\n keyPrsnBean.setAcType(UPDATE_RECORD);\r\n }\r\n\r\n cvKeypersons.set(selectedRow,keyPrsnBean);\r\n unitTableModel.fireTableDataChanged();\r\n keyPersonTableModel.setData(cvKeypersons);\r\n keyPersonTableModel.fireTableDataChanged();\r\n keyPersonForm.tblInvestigator.setRowSelectionInterval(\r\n selectedRow, selectedRow);\r\n if( delUnits != null && delUnits.size() > 0) {\r\n int delSize = delUnits.size();\r\n deletedUnits = (CoeusVector)hmDeletedUnits.get(personId);\r\n if( null == deletedUnits ){\r\n deletedUnits = new CoeusVector();\r\n }\r\n for( int indx = 0; indx < delSize; indx++ ) {\r\n personUnitBean = (KeyPersonUnitBean)delUnits.get(indx);\r\n// String acType = personUnitBean.getAcType();\r\n// if( null == acType || UPDATE_RECORD.equals(acType)){\r\n personUnitBean.setAcType(DELETE_RECORD);\r\n deletedUnits.add(personUnitBean);\r\n// }\r\n }\r\n hmDeletedUnits.put(personId, deletedUnits);\r\n }\r\n dataChanged = true;\r\n }\r\n else{\r\n// int selectedOption = showDeleteConfirmMessage(\r\n// coeusMessageResources.parseMessageKey(\r\n// \"unitDetFrm_exceptionCode.1331\"));\r\n// if( selectedOption == JOptionPane.YES_OPTION ){\r\n dataChanged = true;\r\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\r\n \r\n KeyPersonUnitBean personUnitBean = (KeyPersonUnitBean)invUnits.get(selectedUnitRow);\r\n invUnits.remove(selectedUnitRow);\r\n// String acType = personUnitBean.getAcType();\r\n// if( null == acType || UPDATE_RECORD.equals(acType)){\r\n personUnitBean.setAcType(DELETE_RECORD);\r\n // CoeusVector deletedUnits=new CoeusVector();\r\n deletedUnits.add(personUnitBean);\r\n hmDeletedUnits.put(personId, deletedUnits);\r\n unitTableModel.setData(invUnits);\r\n keyPrsnBean.setKeyPersonsUnits(invUnits);\r\n cvKeypersons.set(selectedRow,keyPrsnBean);\r\n unitTableModel.fireTableDataChanged();\r\n }\r\n }\r\n\r\n// }\r\n }else if(unitNo == null)\r\n {\r\n //for deleting the empty created unit details.\r\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\r\n\r\n \r\n invUnits.remove(selectedUnitRow);\r\n unitTableModel.setData(invUnits);\r\n keyPrsnBean.setKeyPersonsUnits(invUnits);\r\n cvKeypersons.set(selectedRow,keyPrsnBean);\r\n unitTableModel.fireTableDataChanged();\r\n }\r\n\r\n int newRowCount = keyPersonForm.tblUnits.getRowCount();\r\n if(newRowCount >0){\r\n if(newRowCount > selectedUnitRow){\r\n keyPersonForm.tblUnits.setRowSelectionInterval(selectedUnitRow,\r\n selectedUnitRow);\r\n }else{\r\n keyPersonForm.tblUnits.setRowSelectionInterval(\r\n newRowCount - 1,\r\n newRowCount - 1);\r\n }\r\n }else{\r\n keyPersonForm.btnDeleteUnit.setEnabled( false );\r\n keyPersonForm.btnAddUnit.requestFocusInWindow();\r\n }\r\n }else{\r\n showWarningMessage(coeusMessageResources.parseMessageKey(\r\n \"protoInvFrm_exceptionCode.1133\") );\r\n }\r\n }\r\n }","title":""},{"docid":"26b547d8d95f34c2f5d30a3ebd2e8b15","score":"0.54166716","text":"public String delRelat(String UserId,ArrayList> progList) throws SQLException, Exception {\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tStringBuffer strQuery = new StringBuffer();\n\t\tString strErMsg = \"\";\n\n\t\tConnectionContext connectionContext = new ConnectionResource();\n\n\t\ttry {\n\t\t\tconn = connectionContext.getConnection();\n\t\t\tconn.setAutoCommit(false);\n for (int i=0;i InventoryCheck Delete Data Count(\" + count + \")\");\n\t\t\tif(count > 0)\n\t\t\t{\n\t\t\t\tinventoryHandler.drop(inventorySearckKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}","title":""},{"docid":"c0745d12ca5765f0fdb77e423b4e0a54","score":"0.5408516","text":"public void updateProductQuantityOnDeleteInventory(String inventoryIdString,String companyid) throws ServiceException{\n try {\n String [] inventoryIds=inventoryIdString.split(\",\");\n for(int i=0;i list = executeSQLQuery( myquery, params.toArray());\n \n if (list.size() > 0 && !list.contains(null)) {\n Object[] obj = list.get(0);\n String productid=(String) obj[0];\n double baseuomqty = (Double) obj[1];\n boolean carryin=(Boolean) obj[2];;\n String updatequery=\"\";\n ArrayList params1 = new ArrayList();\n params1.add(baseuomqty);\n params1.add(companyid);\n params1.add(productid);\n if(carryin){\n updatequery= \"update product set availablequantity=( availablequantity- ? ) where company =? and id = ? \";// minus Purchase and Plus Sales (for Reverse effect for quantity)\n }else{\n updatequery= \"update product set availablequantity=( availablequantity + ? ) where company =? and id = ? \";\n }\n int numRows = executeUpdate( updatequery, params1.toArray());\n }\n \n }\n \n } catch (Exception ex) {\n throw ServiceException.FAILURE(\"Cannot delete Credit Note as its referance child field is not deleted.\", ex);//+ex.getMessage(), ex);\n }\n }","title":""},{"docid":"befd6334fabd0a4fdd2ee0347c03d601","score":"0.54057705","text":"private void RemoveProduct(){\r\n logger.log(Level.FINEST, \"Attempt to remove existing product.\");\r\n \r\n if(whoperationview.getAddProductListTable().getSelectedRow() == -1){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed.\");\r\n whoperationview.ScreenMessage(\"None of the rows was selected.\");\r\n return;\r\n\r\n }\r\n \r\n if(whoperationview.getAddProductRemoveTextField().getText().isEmpty() || whoperationview.getAddProductRemoveTextField().getText()==null){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : The amount field can not be empty.\");\r\n whoperationview.ScreenMessage(\"The amount field can not be empty.\");\r\n return;\r\n \r\n }\r\n \r\n if(!FieldChecker.AmountCheck(whoperationview.getAddProductRemoveTextField().getText())){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : Wrong amount format, only positive integers are allowed.\");\r\n whoperationview.ScreenMessage(\"Wrong amount format, only positive integers are allowed.\");\r\n return;\r\n \r\n }\r\n \r\n if(whoperationview.getAddProductRemoveTextField().getText().length() > String.valueOf(Integer.MAX_VALUE).length() || Long.valueOf(whoperationview.getAddProductRemoveTextField().getText())> Integer.MAX_VALUE){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : \"+\"Amount can not be bigger than: \" + String.valueOf(Integer.MAX_VALUE) + \".\");\r\n whoperationview.ScreenMessage(\"Amount can not be bigger than: \" + String.valueOf(Integer.MAX_VALUE) + \".\");\r\n return;\r\n \r\n }\r\n \r\n try {\r\n \r\n int productid = Integer.valueOf(whoperationview.getAddProductListTable().getValueAt(whoperationview.getAddProductListTable().getSelectedRow(),0).toString());\r\n int amount = Integer.valueOf(whoperationview.getAddProductRemoveTextField().getText());\r\n \r\n if(!whoperationmodel.RemoveProduct(amount, productid)){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : Failure! Take out amount can not be bigger than the product amount.\");\r\n whoperationview.ScreenMessage(\"Failure! Take out amount can not be bigger than the product amount.\");\r\n return;\r\n \r\n }\r\n \r\n RefreshTable();\r\n logger.log(Level.FINEST, \"Removing existing product was successful.\");\r\n\r\n } catch (SQLException ex) {\r\n logger.log(Level.SEVERE, ex.getMessage(), ex);\r\n whoperationview.ScreenMessageError(ex.getMessage());\r\n }\r\n \r\n \r\n }","title":""},{"docid":"1ace4db78b1f1c59338728bd9da31cc3","score":"0.5405746","text":"public void deleteReleaseplan(Releaseplan releaseplan);","title":""},{"docid":"d1ab4eaaf2497e5ee05864c660459edd","score":"0.53955156","text":"public void purge(){\n\t\tStatement stat;\n\t\ttry {\n\t\t\tstat = conn.createStatement();\n\t\t\tstat.executeUpdate(\"delete from Item\");\n\t\t\tstat.close();\n\t\t} catch (SQLException e) {\n\t\t\tLog.getLoginstance(null).error(\"Ocorreu um erro: \"+e.getMessage());\n\t\t}\n\t}","title":""},{"docid":"fbe6a8b40e2d8ac741018fd4f1577785","score":"0.53915596","text":"public void testDeletePackage12() throws Exception {\n IPackageFragment[] frags = createPackagePath(3);\n executeDeletePackage(new Object[] { frags[0], frags[1] }, new IPackageFragment[] { frags[0], frags[1] }, new Object[] {});\n Object[] deleted = null;\n Object[] exist = new Object[] { frags[2], frags[1], frags[0] };\n doTestUndoRedo(deleted, exist);\n }","title":""},{"docid":"b00d5defd0137cf9b53b62bf33f0e9d9","score":"0.53880906","text":"protected void deleteData(Connection conn, SystemParameter[] param)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException, ScheduleException\n\t{\n\t\t//#CM695772\n\t\t// Delete unnecessary Planned work data.\n\t\tdeleteWorkingData(conn, param);\n\n\t\t//#CM695773\n\t\t// Delete the Master.\n\t\tdeleteDataMaster(conn);\n\n\t\t//#CM695774\n\t\t// Delete the log file.\n\t\tdeleteLog();\n\t}","title":""},{"docid":"47c3cc2c40ffd8709a1f7a49c7722d30","score":"0.53543913","text":"@Override\n @Transactional\n public void deletePlan(String uid) {\n planRepository.deleteByPlanId(uid);\n }","title":""},{"docid":"800e1e5179d0617cc4a238016548c7f0","score":"0.53532064","text":"@Override\r\n\tpublic void deleteProduct(int p_no) {\n\t\t\r\n\t}","title":""},{"docid":"d1a705f6b7592ff2f2873c6ea091dc28","score":"0.53507143","text":"public boolean eliminarPlan(Plan p) {\n \n String cod = Integer.toString(p.getCodigo());\n \n gestionarBaseDatos gestorBD = new gestionarBaseDatos();\n \n Connection conexion = gestorBD.establecerConexion();\n \n String borrarAfilia = \"DELETE FROM AFILIA WHERE CODIGO_P = \"+cod+\";\";\n String borrarContiene = \"DELETE FROM CONTIENE WHERE CODIGO_P = \"+cod+\";\";\n String borrarPostpago = \"DELETE FROM POSTPAGO WHERE CODIGO_P = \"+cod+\";\";\n String borrarPrepago = \"DELETE FROM PREPAGO WHERE CODIGO_P = \"+cod+\";\";\n String borrarProducto = \"DELETE FROM PRODUCTO WHERE CODIGO_P = \"+cod+\";\";\n String borrarPlan = \"DELETE FROM PLAN WHERE CODIGO = \"+cod+\";\";\n \n try {\n \n Statement stmt = conexion.createStatement();\n stmt.executeUpdate(borrarAfilia);\n stmt.executeUpdate(borrarContiene);\n stmt.executeUpdate(borrarPostpago);\n stmt.executeUpdate(borrarPrepago);\n stmt.executeUpdate(borrarProducto);\n int resultado = stmt.executeUpdate(borrarPlan);\n stmt.close();\n gestorBD.cerrarConexion(conexion);\n return resultado > 0;\n \n\n \n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n \n gestorBD.cerrarConexion(conexion);\n return false; \n }","title":""},{"docid":"6e3846f896c5eafb53785ffa6ddc966d","score":"0.53399056","text":"public void testDeleteWithinCu7() throws Exception {\n ParticipantTesting.reset();\n loadFileSetup();\n IJavaElement elem0 = fCuA.getPackageDeclaration(\"p\");\n IJavaElement[] elems = new IJavaElement[] { elem0 };\n String[] handles = ParticipantTesting.createHandles(elem0);\n checkDelete(elems, false);\n ParticipantTesting.testDelete(handles);\n }","title":""},{"docid":"dc938162dffb68444e9bf164d6053dcd","score":"0.5320575","text":"@Test(enabled=false)\n\tpublic void adt_DeleteAuditplan_schedule_memo() throws InterruptedException,IOException{\n\n\t\ttry{\n\t\t\tcurrentmethodname = Thread.currentThread().getStackTrace()[1].getMethodName();\n\t\t\tER.datareader();\n\t\t\tthisMethodName=Thread.currentThread().getStackTrace()[1].getMethodName();\n\t\t\tAUDITCustomErrorMessages.audit_m_errors.entrySet().clear();\n\t\t\tDeleteHodAuditplan_schedule_memo();\n\t\t\tCommonUtilsAPI.adtErrorMsg.assertAll();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tinAtTest = true;\n\t\t\tthrow new MainetCustomExceptions(\"Error in adt_DeleteAuditplan_schedule_memo method\");\n\t\t}\n\t}","title":""},{"docid":"2d64495bccc2ff078f96454db5a46e5d","score":"0.5318613","text":"private static void delete() throws SQLException {\n\t\tPreparedStatement ps=con.prepareStatement(\"delete from cart where Cart=?\");\r\n\t\tSystem.out.println(\"Enter Item id\"); \t\r\n\t\tps.setInt(1, scan.nextInt());\r\n\t\t int r=ps.executeUpdate();\r\n\t\t System.out.println(r+\" row deleted\");\t\t\r\n\t}","title":""},{"docid":"d76b1aec1d0ce234de06b2dd5a9e2d2d","score":"0.5298495","text":"@Test\n public void delete() {\n TestTask[] currentList = td.getTypicalDatedTasks();\n int targetIndex = 1;\n assertDeleteSuccess(\"B\"+targetIndex, currentList);\n\n //delete the last in the list\n currentList = TestUtil.removePersonFromList(currentList, targetIndex);\n targetIndex = currentList.length;\n assertDeleteSuccess(\"B\"+targetIndex, currentList);\n\n //invalid index\n commandBox.runCommand(\"delete B\" + currentList.length + 1);\n assertResultMessage(\"The task index provided is invalid\");\n\n }","title":""},{"docid":"8e87aa185f036db33c40d19d47b8be74","score":"0.52984214","text":"private void USLCleanUpTenantData()\n {\n String testCaseName = \"USLCleanUpTenantData\";\n System.out.println(\"*** Running testcase - \" + testCaseName);\n try\n {\n OrclTenantManager tenantManager = new OrclTenantManager();\n Map inParams = new HashMap();\n inParams.putAll(inputParams);\n inParams.put(MultiTenancyConstants.IDSTORE_TENANT_NAME,\n \"creationoftenant\" + random);\n tenantManager.deleteTenant(inParams);\n C9UnitTestUtil.generateTestcaseSucc(testHome, testCaseName);\n } catch (Exception e)\n {\n C9UnitTestUtil.generateTestcaseDiff(testHome, testCaseName, e);\n }\n }","title":""},{"docid":"81563ddbd7fcaceea9f2fa5997486dab","score":"0.5288777","text":"public static void deleteAll() throws Exception {\n if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)\n {\n Meth.GetVoid(MethodBase.GetCurrentMethod());\n return ;\n }\n \n String command = \"DELETE FROM loinc\";\n Db.nonQ(command);\n if (OpenDentBusiness.DataConnection.DBtype == OpenDentBusiness.DatabaseType.MySql)\n {\n command = \"ALTER TABLE loinc AUTO_INCREMENT = 1\";\n //resets the primary key to start counting from 1 again.\n Db.nonQ(command);\n }\n \n return ;\n }","title":""},{"docid":"c7b879c44680071219857e7e6808925f","score":"0.5278615","text":"public static void clearDemandTable(){\n\n\t\ttry{\n\t\t\tStatement stmt2 = conn.createStatement();\n\t\t\tstmt2.executeUpdate(\"delete from Demand\");\n\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}","title":""},{"docid":"e290ea8232323497d942301d480e97df","score":"0.52768034","text":"public void removeStock(String item) throws SQLException, ClassNotFoundException {\n try {\n String currentStock = checkItemStock(item);\n int curStock = Integer.parseInt(currentStock);\n \n if(curStock > 0){ \n curStock -= 1;\n if(curStock <= 3 && curStock != 0){\n JOptionPane.showMessageDialog(null,\"There are only \"+ curStock +\" \"+ item + \" left in stock!.\\nPlease restock!.\",\"Low Stock!\", JOptionPane.WARNING_MESSAGE);\n }\n }else{\n JOptionPane.showMessageDialog(null,item + \" is out of stock!!.\\nPlease restock!.\",\"Out of Stock\", JOptionPane.WARNING_MESSAGE);\n }\n \n // load database driver class\n Class.forName(\"sun.jdbc.odbc.JdbcOdbcDriver\");\n\n // connect to database\n Connection con = DriverManager.getConnection(\"jdbc:odbc:PSUCreamery\");\n\n Statement stmt = con.createStatement(); \n\n PreparedStatement removeItem = null;\n String updateStockTable = \"UPDATE Stock\" + \" SET Amount = ? \" + \" WHERE ItemName = ?\";\n removeItem = con.prepareStatement(updateStockTable);\n removeItem.setString(2, item);\n removeItem.setInt(1, curStock);\n removeItem.executeUpdate();\n \n stmt.close();\n con.close();\n \n }catch(ClassNotFoundException | SQLException e){}\n }","title":""},{"docid":"0c2e05e556d2835e190582e867615018","score":"0.52756566","text":"protected BProductDetailProperty objRemovePackage(\r\n\t\t\tBProductDetailProperty bProductDetailProperty,\r\n\t\t\tBProductDetail bProductDetailTargetLower, Long lProductID,\r\n\t\t\tLong CustomerID) throws SQLException, Exception { // Starting Braces of the Function\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\r\n\t\tLong ProductID; // Local Varaible Declaration\r\n\t\tint iSizeOfVector = 0; // Local Varaible Declaration\r\n\t\tint iCount = 0; // Local Varaible Declaration\r\n\t\tVector vctTempBProductDetail = new Vector(); // Local Varaible Declaration\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\r\n\t\ttry {\r\n\r\n\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\tGLogger.chkpt(\"Inside if statement \");\t\r\n\t\t\t\t// System.out.println(\"Inside iterative function\");\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.iLevel : \" + bProductDetailTargetLower.iLevel);\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.lProductID : \" + bProductDetailTargetLower.lProductID);\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.OptionGroupID : \" + bProductDetailTargetLower.lOptionGroupID);\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.iInstance : \" + bProductDetailTargetLower.iInstance);\r\n\t\t\t\t// System.out.println(\"The Upper Grid Size is : \" + bProductDetailProperty.vctProductNonSelected.size());\r\n\t\t\t\t// System.out.println(\"The Lower Grid Size is : \" + bProductDetailProperty.vctProductSelected.size());\r\n\t\t\t}\r\n\r\n\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\r\n\t\t\t// Brgin DEL v9.01d\r\n\t\t\t// StringBuffer strSql = new StringBuffer(\"\"); //Defining a String Buffer to make the Sql querry\r\n\t\t\t// End DEL v9.01d\r\n\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t\t// Begin DEL v9.01d\r\n\t\t\t// OptionGroupRow optionGroupRow = null; // Initializing the Object Class for the OptionGroup table\r\n\t\t\t// End DEL v9.01d\r\n\t\t\tif (null == optionGroupTable) {\r\n\t\t\t\toptionGroupTable = (OptionGroup) teleSessionMgr\r\n\t\t\t\t\t\t.getMasterTable(string_OPTIONGROUP); // Getting the OptionGroup table from the session\r\n\t\t\t}\r\n\r\n\t\t\t// BEGIN MODIFY : V3.10\r\n\t\t\t// Updated Code for fixing DEFECT id 70, Obsolete Masters\r\n\t\t\t// Modified for Taking Validity of Option Group\r\n\t\t\t// Vector vctObjPIDInternal = new Vector();\r\n\t\t\t// Begin DEL v9.01d\r\n\t\t\t// Vector vctObjPIDInternal = null;\r\n\t\t\t// End DEL v9.01d\r\n\t\t\tList lstObjPIDInternal = null;\r\n\t\t\tCustomerProduct custProductTable = null;\r\n\t\t\tCustomerProductRow custProdRow = null;\r\n\r\n\t\t\tcustProductTable = (CustomerProduct) teleSessionMgr\r\n\t\t\t\t\t.getTable(string_CUSTOMERPRODUCT);\r\n\t\t\tcustProdRow = (CustomerProductRow) custProductTable\r\n\t\t\t\t\t.cprSearchByCustProductIDandObsolete(\r\n\t\t\t\t\t\t\tbProductDetailTargetLower.lCustomerProductID\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO);\r\n\r\n\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDandObsolete(lProductID.longValue(), FINAL_ZERO);\r\n\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date());\r\n\t\t\t// END DELETE V5.80a\r\n\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date(), bProductDetailProperty.iRateClassIDNew);\r\n\t\t\tlstObjPIDInternal = (ArrayList) optionGroupTable\r\n\t\t\t\t\t.searchByProductIDValidandObsolete(lProductID.longValue(),\r\n\t\t\t\t\t\t\tFINAL_ZERO, new java.util.Date(),\r\n\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t// END ADD V5.80a\r\n\r\n\t\t\tif (lstObjPIDInternal.isEmpty()) {\r\n\t\t\t\tif (null != custProdRow) {\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, custProdRow.dtCreationDate);\r\n\t\t\t\t\t// END DELETE V5.80a\r\n\t\t\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, custProdRow.dtCreationDate, bProductDetailProperty.iRateClassIDNew);\r\n\t\t\t\t\tlstObjPIDInternal = optionGroupTable\r\n\t\t\t\t\t\t\t.searchByProductIDValidandObsolete(lProductID\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\t\tnew java.util.Date(),\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t\t// END ADD V5.80a\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date());\r\n\t\t\t\t\t// END DELETE V5.80a\r\n\t\t\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date(), bProductDetailProperty.iRateClassIDNew);\r\n\t\t\t\t\tlstObjPIDInternal = optionGroupTable\r\n\t\t\t\t\t\t\t.searchByProductIDValidandObsolete(lProductID\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\t\tnew java.util.Date(),\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t\t// END ADD V5.80a\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// END MODIFY : V3.10\r\n\t\t\t// Modified Code for fixing DEFECT id 70, Obsolete Masters\r\n\r\n\t\t\t/**\r\n\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t * {\r\n\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t * strSql.append(\"SELECT OPTIONGROUPID FROM OPTIONGROUP WHERE PRODUCTID = \").append(lProductID);\r\n\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t * }\r\n\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t */\r\n\t\t\tif (!lstObjPIDInternal.isEmpty()) {\r\n\r\n\t\t\t\t// for each record in the vector of OptionGroup Records\r\n\t\t\t\tfor (int iASCounter = FINAL_ZERO; iASCounter < lstObjPIDInternal\r\n\t\t\t\t\t\t.size(); iASCounter++) {\r\n\r\n\t\t\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\r\n\t\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t\t// OptionProductRow optionProductRow = null; // Initializing the Object Class for the OptionGroup table\r\n\t\t\t\t\t// End DEL v9.01d\r\n\t\t\t\t\tif (null == optionProductTable) {\r\n\t\t\t\t\t\toptionProductTable = (OptionProduct) teleSessionMgr\r\n\t\t\t\t\t\t\t\t.getMasterTable(string_OPTIONPRODUCT); // Getting the OptionGroup table from the session\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/**\r\n\t\t\t\t\t * **************STARTING*****************TO PRINT THE DATA\r\n\t\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t * {\r\n\t\t\t\t\t * System.out.println(\"lOptionGroupID ----> \" +Long.valueOf(((OptionGroupRow)(vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID).longValue());\r\n\t\t\t\t\t * }\r\n\t\t\t\t\t * /****************ENDING*******************TO PRINT THE DATA******************************************\r\n\t\t\t\t\t */\r\n\t\t\t\t\tVector vctObjOGIDInternal = new Vector();\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t\t\t// vctObjOGIDInternal = optionProductTable.vctSearchByOptionGroupIDandObsolete(Long.valueOf(((OptionGroupRow) (vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID).longValue(), FINAL_ZERO);\r\n\t\t\t\t\t// END DELETE V5.80a\r\n\t\t\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t\t\tvctObjOGIDInternal = optionProductTable\r\n\t\t\t\t\t\t\t.vctSearchByOptionGroupIDandObsolete(Long.valueOf(\r\n\t\t\t\t\t\t\t\t\t((OptionGroupRow) (lstObjPIDInternal\r\n\t\t\t\t\t\t\t\t\t\t\t.get(iASCounter))).lOptionGroupID)\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t\t// END ADD V5.80a\r\n\r\n\t\t\t\t\t/**\r\n\t\t\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t * {\r\n\t\t\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t\t\t * strSql.append(\"SELECT OPTIONPRODUCTID, PRODUCTID FROM OPTIONPRODUCT WHERE OPTIONGROUPID = \").append(Long.valueOf(((OptionGroupRow)(vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID));\r\n\t\t\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t\t\t * }\r\n\t\t\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t\t\t */\r\n\t\t\t\t\tif (null != vctObjOGIDInternal) {\r\n\r\n\t\t\t\t\t\t// for each record in the vector of OptionProduct Records\r\n\t\t\t\t\t\tfor (int iOPIDPIDCounter = FINAL_ZERO; iOPIDPIDCounter < vctObjOGIDInternal\r\n\t\t\t\t\t\t\t\t.size(); iOPIDPIDCounter++) {\r\n\t\t\t\t\t\t\tProductID = Long.valueOf(\r\n\t\t\t\t\t\t\t\t\t((OptionProductRow) (vctObjOGIDInternal\r\n\t\t\t\t\t\t\t\t\t\t\t.elementAt(iOPIDPIDCounter))).lProductID);\r\n\r\n\t\t\t\t\t\t\t/**\r\n\t\t\t\t\t\t\t * **************STARTING*****************TO PRINT THE DATA\r\n\t\t\t\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t\t\t * {\r\n\t\t\t\t\t\t\t * System.out.println(\"ProductID ----------123---------------> \" +ProductID);\r\n\t\t\t\t\t\t\t * }\r\n\t\t\t\t\t\t\t * /****************ENDING*******************TO PRINT THE DATA******************************************\r\n\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t\t\t\t// int iCounttemp = 0;\r\n\t\t\t\t\t\t\t// iCounttemp = iFindProductInVectorLevelProductIDandOptionGroupID(bProductDetailTargetLower, bProductDetailProperty.vctProductSelected);\r\n\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\t\t\t\t// if (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\t\t\t// System.out.println(\"iCount in vctProductSelected \" + iCounttemp);\r\n\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\t\t\t// End DEL v9.01d\r\n\t\t\t\t\t\t\t// if(iCounttemp == FINAL_ONE)\r\n\t\t\t\t\t\t\t{\r\n\r\n\t\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\t\t\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement \");\r\n\t\t\t\t\t\t\t\t\t// System.out.println(\"iCount in vctProductSelected \" + iCount);\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\t\t\t\tiSizeOfVector = bProductDetailProperty.vctProductNonSelected\r\n\t\t\t\t\t\t\t\t\t\t.size();\r\n\r\n\t\t\t\t\t\t\t\tfor (iCount = FINAL_ZERO; iCount < iSizeOfVector; iCount++) {\r\n\t\t\t\t\t\t\t\t\tif (((String.valueOf(ProductID))\r\n\t\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(String\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.valueOf(((BProductDetail) bProductDetailProperty.vctProductNonSelected\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.elementAt(iCount)).lProductID)))) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t// BProductDetail bProductDetail = new BProductDetail();\r\n\t\t\t\t\t\t\t\t\t\t// bProductDetail = (BProductDetail)bProductDetailProperty.vctProductNonSelected.elementAt(iCount);\r\n\t\t\t\t\t\t\t\t\t\t// Begin Modify 3.32\r\n\t\t\t\t\t\t\t\t\t\t// Change made to fix incident id 63,101 (MailAlias shown in Top Grid after deleting MailBox)\r\n\t\t\t\t\t\t\t\t\t\t// bProductDetailProperty.vctProductNonSelected.removeElementAt(iCount);\r\n\t\t\t\t\t\t\t\t\t\t// Check for max no occurences.\r\n\t\t\t\t\t\t\t\t\t\tint iNoOfOccurences = 0;\r\n\r\n\t\t\t\t\t\t\t\t\t\tiNoOfOccurences = iNoOfOccurencesOfProduct(\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailProperty.vctProductSelected,\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailTargetLower.iLevel,\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailTargetLower.iParentInstance,\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailTargetLower.lProductID\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.longValue());\r\n\r\n\t\t\t\t\t\t\t\t\t\tif ((iNoOfOccurences - 2) <= 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tbProductDetailProperty.vctProductNonSelected\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.removeElementAt(iCount);\r\n\t\t\t\t\t\t\t\t\t\t\tiSizeOfVector--;\r\n\t\t\t\t\t\t\t\t\t\t\tiCount--;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t// Change made to fix incident id 63,101 (MailAlias shown in Top Grid after deleting MailBox)\r\n\t\t\t\t\t\t\t\t\t\t// End Modify : V3.32\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t// Giving error in cases\r\n\t\t\t\t\t\t\tint iSizeVector = 0;\r\n\r\n\t\t\t\t\t\t\tiSizeVector = bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t.size();\r\n\r\n\t\t\t\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t\t\t\t// boolean blnFlagToInit = true;\r\n\t\t\t\t\t\t\t// End DEL v9.01d\r\n\r\n\t\t\t\t\t\t\tfor (int iSCount = FINAL_ZERO; iSCount < iSizeVector; iSCount++) {\r\n\t\t\t\t\t\t\t\tBProductDetail bProductTemp = null;\r\n\r\n\t\t\t\t\t\t\t\t//bProductTemp = new BProductDetail();\r\n\t\t\t\t\t\t\t\tbProductTemp = ((BProductDetail) bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t\t.elementAt(iSCount));\r\n\r\n\t\t\t\t\t\t\t\tif ((((String.valueOf(ProductID))\r\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(String\r\n\t\t\t\t\t\t\t\t\t\t\t\t.valueOf(bProductTemp.lProductID))))\r\n\t\t\t\t\t\t\t\t\t\t&& (bProductDetailTargetLower.iInstance == bProductTemp.iParentInstance)\r\n\t\t\t\t\t\t\t\t\t\t&& ((bProductDetailTargetLower.iLevel + FINAL_ONE) == bProductTemp.iLevel)) {\r\n\r\n\t\t\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\t\t\t\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement \");\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"REMOVING IT FROM THE VCTPRODUCTSELECTED\");\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"bProductTemp.lProductID\" + bProductTemp.lProductID);\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"bProductTemp.iParentInstance\" + bProductTemp.iParentInstance);\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"bProductTemp.iLevel\" + bProductTemp.iLevel);\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\t\t\t\t\tBProductDetail bProductDetail =null;\r\n\r\n\t\t\t\t\t\t\t\t\tbProductDetail = (BProductDetail) bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t\t\t.elementAt(iSCount);\r\n\t\t\t\t\t\t\t\t\tvctTempBProductDetail\r\n\t\t\t\t\t\t\t\t\t\t\t.addElement(bProductDetail);\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t\t\t.remove(iSCount);\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty = objNewPopulatevctProductDeleted(\r\n\t\t\t\t\t\t\t\t\t\t\tbProductDetailProperty,\r\n\t\t\t\t\t\t\t\t\t\t\tbProductDetail);\r\n\t\t\t\t\t\t\t\t\tiSizeVector--;\r\n\t\t\t\t\t\t\t\t\tiSCount--;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} // end of the for loop\r\n\t\t\t\t\t} // end of the if loop for handling the null pointer exception\r\n\t\t\t\t} // end of the for loop\r\n\t\t\t} // end of the if loop for handling the null pointer exception\r\n\r\n\t\t\tif ((null != vctTempBProductDetail)\r\n\t\t\t\t\t&& (FINAL_ZERO != vctTempBProductDetail.size())) {\r\n\r\n\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\tGLogger.chkpt(\"Inside if statement \");\r\n\t\t\t\t\t// System.out.println(\"The Size of the Vector is : - \" + vctTempBProductDetail.size());\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\tfor (int iFCounter = 0; iFCounter < vctTempBProductDetail\r\n\t\t\t\t\t\t.size(); iFCounter++) {\r\n\t\t\t\t\tBProductDetail bProductDetailTmp = null;\r\n\r\n\t\t\t\t\tbProductDetailTmp = new BProductDetail();\r\n\t\t\t\t\tbProductDetailTmp = (BProductDetail) vctTempBProductDetail\r\n\t\t\t\t\t\t\t.elementAt(iFCounter);\r\n\r\n\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\r\n\t\t\t\t\t/* BEGIN DELETE VER: 5.59tan */\r\n\r\n\t\t\t\t\t// if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t// {\r\n\t\t\t\t\t// System.out.println(\"CAlling iterative function \" );\r\n\t\t\t\t\t// System.out.println(\"bProductDetailTmp.lProductID\" + bProductDetailTmp.lProductID);\r\n\t\t\t\t\t// System.out.println(\"bProductDetailTmp.iParentInstance\" + bProductDetailTmp.iParentInstance);\r\n\t\t\t\t\t// System.out.println(\"bProductDetailTmp.iLevel\" + bProductDetailTmp.iLevel);\r\n\t\t\t\t\t// }\r\n\t\t\t\t\t/* END DELETE VER: 5.59tan */\r\n\r\n\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\tbProductDetailProperty = objRemovePackage(\r\n\t\t\t\t\t\t\tbProductDetailProperty, bProductDetailTmp,\r\n\t\t\t\t\t\t\tbProductDetailTmp.lProductID, CustomerID);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} // end of the if loop\r\n\t\tcatch (SQLException sqle) {\r\n\t\t\tthrow sqle;\r\n\t\t}\r\n\r\n\t\t// BEGIN ADD : V3.27\r\n\t\tcatch (Exception ex) {\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\tGGeneric.printStackTrace(ex, GGeneric.iDebugLevelThree, this);\r\n\t\t\t}\r\n\r\n\t\t\tthrow new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\r\n\t\t}\r\n\r\n\t\t// END ADD : v3.27\r\n\t\t// Returning of the String\r\n\t\treturn bProductDetailProperty;\r\n\t}","title":""},{"docid":"86d8bb8a015b550fe6ce7f04028a4a3c","score":"0.5270122","text":"public void deleteData(){\n //TODO\n }","title":""},{"docid":"c4e5b5cc45373c54b997c05d7ab13ba7","score":"0.52580225","text":"private void performDelete(){\r\n // delete investigator row after confirmation\r\n int selectedRow = keyPersonForm.tblInvestigator.getSelectedRow();\r\n if( selectedRow != -1 ){\r\n KeyPersonBean keypersonBean = keyPersonTableModel.getKeyPersonBean(selectedRow);\r\n String name = \"\";\r\n String personId=\"\";\r\n if( keypersonBean != null ) {\r\n name = keypersonBean.getPersonName();\r\n personId = keypersonBean.getPersonId();\r\n }\r\n \r\n if(name != null && name.trim().length()>0){\r\n int selectedOption\r\n = showDeleteConfirmMessage(\r\n \"Do you want to remove \"+name+\"?\");\r\n if( selectedOption == JOptionPane.YES_OPTION ){\r\n //deleting all the unit under the keyperson\r\n//CoeusVector delunits;\r\n// KeyPersonUnitBean kpunit;\r\n// delunits=keypersonBean.getKeyPersonsUnits();\r\n// for(int i=0;i0)\r\n// {kpunit=(KeyPersonUnitBean)keypersonBean.getKeyPersonsUnits().get(0);\r\n// if(kpunit!=null){performDeleteUnit(true);}\r\n// }\r\n\r\n if(personId != null && personId.trim().length()>0){\r\n cvKeypersons.remove(selectedRow);\r\n String acType = keypersonBean.getAcType();\r\n if( null == acType || UPDATE_RECORD.equals(acType)){\r\n keypersonBean.setAcType(DELETE_RECORD);\r\n deletedKeyPersons.add(keypersonBean);\r\n }\r\n keyPersonTableModel.fireTableRowsDeleted(selectedRow, selectedRow);\r\n }\r\n dataChanged = true;\r\n }\r\n }else{\r\n int selectedOption = showDeleteConfirmMessage(coeusMessageResources.parseMessageKey(\r\n \"keyPerson_exceptionCode.1603\"));\r\n if( selectedOption == JOptionPane.YES_OPTION ){\r\n cvKeypersons.remove(selectedRow);\r\n keyPersonTableModel.fireTableDataChanged();\r\n dataChanged = true;\r\n }\r\n }\r\n if( keyPersonForm.tblInvestigator.getRowCount() <= 0 ){\r\n keyPersonForm.btnDelete.setEnabled( false );\r\n keyPersonForm.tblUnits.setRowSelectionInterval(0,0);\r\n // keyPersonForm.repaint();tblUnits\r\n // updateUnits();\r\n unitTableModel.setData(null);\r\n unitTableModel.fireTableDataChanged();\r\n keyPersonForm.tblInvestigator.requestFocusInWindow();\r\n keyPersonForm.btnAdd.requestFocusInWindow();\r\n }\r\n \r\n int newRowCount = keyPersonForm.tblInvestigator.getRowCount();\r\n if(newRowCount >0){\r\n if(newRowCount > selectedRow){\r\n keyPersonForm.tblInvestigator.setRowSelectionInterval(selectedRow,\r\n selectedRow);\r\n }else{\r\n keyPersonForm.tblInvestigator.setRowSelectionInterval(\r\n newRowCount - 1,newRowCount - 1);\r\n }\r\n \r\n }\r\n }else{\r\n showWarningMessage(coeusMessageResources.parseMessageKey(\r\n \"keyPerson_exceptionCode.1604\"));\r\n }\r\n }","title":""},{"docid":"9f315315779559d12ba921be3e0f76ff","score":"0.52488893","text":"@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tdh.open();\n\t\t\t\treturnvalue= dh.deleteBikeDetails(bikename);\n\t\t\t\tSystem.out.println(\"bike details deleted\"+returnvalue);\n\t\t\t ArrayList bikepurchasedetails=dh.getBikPurchaseeDetails(bikename);\n\t\t\t ArrayList bikedeparturedetails=dh.getBikdepartureDetails(bikename);\n\t\t\t ArrayList bikeexpencesdetails=dh.getBikExpencesDetails(bikename);\n\t\t\t\t;\n\t\t\t\t if(!bikepurchasedetails.isEmpty()){\n\t\t\t\t\t\t\n\t\t\t\t\t\t returnvalue1= dh.deleteBikepurchaseDetails(bikename);\n\t\t\t\t\t\t System.out.println(\"BikepurchaseDetails deleted\");\n\t\t\t\t\t\t \n\t\t\t\t\t}if(!bikedeparturedetails.isEmpty()) {\n\t\t\t\t\t\t//delete departure detiails\n\t\t\t\t\t\t Boolean returnvalue2= dh.deleteBikeDepartureDetails(bikename);\n\t\t\t\t\t\t System.out.println(\"bike departure details deleted\");\n\t\t\t\t\t\t\n\t\t\t\t\t}if(!bikeexpencesdetails.isEmpty()){\n\t\t\t\t\t\t//delete expences details\n\t\t\t\t\t\treturnvalue3= dh.deleteBikeExpencesDetails(bikename);\n\t\t\t\t\t\tSystem.out.println(\"bike expences details deleted\");\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t dh.close();\n\t\t\t\t finish();\n\t\t\t\t /*\n\t\t\t \n\t\t\t \n\t\t\t // dh.open();\n\t\t\t\t\t\n\t\t\t\t\t//dh.close();\n\t\t\t\t\tif(!bikedetails1.isEmpty()){\n\t\t\t\t\t\tpurchase_date_set.setText(\":\"+\" \"+bikedetails1.get(0).toString());\n\t\t\t\t\t\tpurchase_price_set.setText(\":\"+\" \"+bikedetails1.get(1).toString());\n\t\t\t\t\t\tpurchase_notes_set.setText(\":\"+\" \"+bikedetails1.get(2).toString());\n\t\t\t\t\t\t returnvalue1= db.deleteBikepurchaseDetails(bikename);\n\t\t\t\t\t\t returnvalue= db.deleteBikeDetails(bikename);\n\t\t\t\t\t}\n\t\t\t\t\treturnvalue= db.deleteBikeDetails(bikename);\n\t\t\t\t if (((returnvalue)&&(returnvalue1))) {\n\t\t\t\t\t\n\t\t\t\t\t returnvalue2= db.deleteBikeDepartureDetails(bikename);\t\n\t\t\t\t}\n\t\t\t\t \n\t\t\t\t if (returnvalue2) {\n\t\t\t\t\t check1=true;\n\t\t\t\t\t returnvalue3= db.deleteBikeExpencesDetails(bikename);\n\t\t\t\t\t \n\t\t\t\t}\n\t\t\t\t db.close();\n\t\t\t\t if (returnvalue3) {\n\t\t\t\t\t check2=true;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t if (returnvalue&&returnvalue1&&check1&&check2) {\n\t\t\t\t\t Toast.makeText(DeleteBikeDetails.this, \"Your \"+bikename +\"Details Are Deleted\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t startActivity(new Intent(DeleteBikeDetails.this, Bike.class));\n\t\t\t\t\t finish();\n\t\t\t\t}\n\t\t\t\t else{\n\t\t\t\t\tSystem.out.println(\"deleted>>>>>>>>>>>>>>>>>>>>>>\"+returnvalue+returnvalue1);\n\t\t\t\t}*/\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"8e9a0cf92fbd26ae5090d7237bed63ef","score":"0.5246747","text":"public void deleteItem() throws SQLException {\r\n publisherUnitsAdapter.deletePublisherUnit(oldName.getValue().trim());\r\n Stage stage = (Stage) deleteButton.getScene().getWindow();\r\n stage.close();\r\n }","title":""},{"docid":"fd4e549167835c6646285ea22430852a","score":"0.5239203","text":"void unsetGetProductPackageProductMatchingFileDataResult();","title":""},{"docid":"756713229618721bd6406812bcca079a","score":"0.52382123","text":"private void deleteReport(Operators os, String code) {\r\n\t\tString sql = \" from Trpreport as a where a.code='\" + code + \"'\";\r\n\t\tList list = dao.iterate(sql);\r\n\t\tfor (Object o : list) {\r\n\t\t\tTrpreport po = (Trpreport) o;\r\n\t\t\tos.addDeleteObject(po);\r\n\t\t\t\r\n\t\t\tStringBuffer hql = new StringBuffer();\r\n\t\t\thql.append(\" delete from Trpreportdatasource where trpreportid=\");\r\n\t\t\thql.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql.toString());\r\n\r\n\t\t\tStringBuffer hql1 = new StringBuffer();\r\n\t\t\thql1.append(\" delete from Trpreportcondition where trpreportid=\");\r\n\t\t\thql1.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql1.toString());\r\n\r\n\t\t\tStringBuffer hql2 = new StringBuffer();\r\n\t\t\thql2.append(\" delete from Trpreportplugin where trpreportid=\");\r\n\t\t\thql2.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql2.toString());\r\n\r\n\t\t\tStringBuffer hql3 = new StringBuffer();\r\n\t\t\thql3.append(\" delete from Trpreportdtl where trpreportid=\");\r\n\t\t\thql3.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql3.toString());\r\n\t\t}\r\n\t}","title":""},{"docid":"47e392a28c6d81fb546395981e9c464f","score":"0.52365315","text":"protected void vdMakeProcessIDObsoleteInAllProcessTables(long lProcessID)\r\n\t\t\tthrows Exception { // Starting Braces of the Function\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\r\n\t\ttry {\r\n\r\n\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t\tProcessRow processRow = null; // Initializing the Object Class for the PROCESS table\r\n\r\n\t\t\tprocessTable = (Process) teleSessionMgr.getTable(string_PROCESS); // Getting the PROCESS table from the session\r\n\t\t\t//processRow = new ProcessRow();\r\n\t\t\tprocessRow = (ProcessRow) processTable\r\n\t\t\t\t\t.prSearchByProcessIDandObsolete(lProcessID, FINAL_ZERO);\r\n\r\n\t\t\tif (null != processRow) {\r\n\t\t\t\tif (null != processTable) {\r\n\t\t\t\t\tif (null != processRow) {\r\n\r\n\t\t\t\t\t\t// ****************STARTING*****************TO PRINT QUERRY**********************************************\r\n\t\t\t\t\t\tif ((GAfePropertyLoader.DEBUG)) {\r\n\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t\t// System.out.println(\"Deleted Process : \" + processRow.lProcessID + \" from the Process Table\");\r\n\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// ****************ENDING*******************TO PRINT QUERRY**********************************************\r\n\r\n\t\t\t\t\t\t// Updating All the Values Over here\r\n\t\t\t\t\t\tprocessRow.iObsolete = NOTEXISTS;\r\n\t\t\t\t\t\tprocessRow.strModificationUser = bSession.strUserName;\r\n\r\n\t\t\t\t\t\tif ((processRow.iStatusInDB == Record.VIEW)\r\n\t\t\t\t\t\t\t\t|| (processRow.iStatusInDB == Record.UPDATE)) {\r\n\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t\t// BEGIN DELETE V5.21a\r\n\t\t\t\t\t\t\t// comment: As per Change NSA flow the below code nothing needs to be done\r\n\r\n\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t * processRow.iStatusInDB = Record.UPDATE;\r\n\t\t\t\t\t\t\t * processTable.updateRecord(processRow);\r\n\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t// END DELETE V5.21a\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// when iStatusInDB is equal to Record.INSERT\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tprocessRow.iStatusInDB = Record.DELETE;\r\n\t\t\t\t\t\t\tprocessTable.deleteRecord(processRow.lProcessID);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} // end of the if loop\r\n\t\t\t\t} // end of the if loop\r\n\r\n\t\t\t\t// Put the container back into the session\r\n\t\t\t\tteleSessionMgr.putTable(string_PROCESS, processTable);\r\n\t\t\t} // end of the if loop\r\n\r\n\t\t\tProcessLinkRow processLinkRow = null; // Initializing the Object Class for the Vat table\r\n\r\n\t\t\tprocessLinkTable = (ProcessLink) teleSessionMgr\r\n\t\t\t\t\t.getTable(string_PROCESSLINK); // Getting the Vat table from the session\r\n\r\n\t\t\tVector vctProcessLinkRow = null;\r\n\r\n\t\t\tvctProcessLinkRow = processLinkTable\r\n\t\t\t\t\t.vctSearchByProcessIDandObsolete(lProcessID, FINAL_ZERO);\r\n\r\n\t\t\tif ((null != vctProcessLinkRow)\r\n\t\t\t\t\t&& (FINAL_ZERO != vctProcessLinkRow.size())) {\r\n\t\t\t\tfor (int iCounter = FINAL_ZERO; iCounter < vctProcessLinkRow\r\n\t\t\t\t\t\t.size(); iCounter++) {\r\n\t\t\t\t\tprocessLinkRow = new ProcessLinkRow();\r\n\t\t\t\t\tprocessLinkRow = (ProcessLinkRow) vctProcessLinkRow\r\n\t\t\t\t\t\t\t.elementAt(iCounter);\r\n\r\n\t\t\t\t\tif (null != processLinkTable) {\r\n\r\n\t\t\t\t\t\t// If the ProcessLink Row is not null and is not obsolete then to mark them for deletion\r\n\t\t\t\t\t\tif ((null != processLinkRow)\r\n\t\t\t\t\t\t\t\t&& (FINAL_ONE != processLinkRow.iObsolete)) {\r\n\r\n\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT QUERRY******************************************** */\r\n\t\t\t\t\t\t\tif ((GAfePropertyLoader.DEBUG)) {\r\n\t\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t\t\t// System.out.println(\"Deleted ProcessLink : \" + processLinkRow.lProcessLinkID + \" from the ProcessLink Table\");\r\n\t\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT QUERRY******************************************** */\r\n\r\n\t\t\t\t\t\t\t// Updating All the Values Over here\r\n\t\t\t\t\t\t\tprocessLinkRow.iObsolete = NOTEXISTS;\r\n\t\t\t\t\t\t\tprocessLinkRow.strModificationUser = bSession.strUserName;\r\n\r\n\t\t\t\t\t\t\tif ((processLinkRow.iStatusInDB == Record.VIEW)\r\n\t\t\t\t\t\t\t\t\t|| (processLinkRow.iStatusInDB == Record.UPDATE)) {\r\n\t\t\t\t\t\t\t\tprocessLinkRow.iStatusInDB = Record.UPDATE;\r\n\t\t\t\t\t\t\t\tprocessLinkTable.updateRecord(processLinkRow);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t// when iStatusInDB is equal to Record.INSERT\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tprocessLinkRow.iStatusInDB = Record.DELETE;\r\n\t\t\t\t\t\t\t\tprocessLinkTable\r\n\t\t\t\t\t\t\t\t\t\t.deleteRecord(processLinkRow.lProcessLinkID);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} // end of the if loop\r\n\r\n\t\t\t\t\t\t// Put the container back into the session\r\n\t\t\t\t\t\tteleSessionMgr\r\n\t\t\t\t\t\t\t\t.putTable(string_PROCESSLINK, processLinkTable);\r\n\t\t\t\t\t} // end of the if loop\r\n\t\t\t\t} // end of the for loop\r\n\t\t\t} // end of the if loop\r\n\r\n\t\t\tProcessStatusRow processStatusRow = null; // Initializing the Object Class for the Vat table\r\n\r\n\t\t\tprocessStatusTable = (ProcessStatus) teleSessionMgr\r\n\t\t\t\t\t.getTable(string_PROCESSSTATUS); // Getting the Vat table from the session\r\n\t\t\tprocessStatusRow = processStatusTable\r\n\t\t\t\t\t.psrSearchByProcessID(lProcessID);\r\n\r\n\t\t\tif (null != processStatusTable) {\r\n\r\n\t\t\t\t// If the ProcessStatus Row is not null and is not obsolete then to mark them for deletion\r\n\t\t\t\tif ((null != processStatusRow)\r\n\t\t\t\t\t\t&& (FINAL_ONE != processStatusRow.iObsolete)) {\r\n\r\n\t\t\t\t\t/** **************STARTING*****************TO PRINT QUERRY******************************************** */\r\n\t\t\t\t\tif ((GAfePropertyLoader.DEBUG)) {\r\n\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t// System.out.println(\"Deleted ProcessStatus : \" + processStatusRow.lProcessStatusID + \" from the ProcessStatus Table\");\r\n\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/** **************ENDING*******************TO PRINT QUERRY******************************************** */\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.21a\r\n\t\t\t\t\t// comment: only insertion in processstatus as per Change NSA Flow doc\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t *\r\n\t\t\t\t\t * //Updating All the Values Over here\r\n\t\t\t\t\t * processStatusRow.iObsolete = NOTEXISTS;\r\n\t\t\t\t\t * processStatusRow.strModificationUser = bSession.strUserName;\r\n\t\t\t\t\t *\r\n\t\t\t\t\t * //Begin : Add ver 2.43 by Abhishek\r\n\t\t\t\t\t * processStatusRow.lProcessStatusTypeID = GAfeDescription.lGetTypeId(\"PROCESSSTATUSTYPE_NP_CANCELLED\");\r\n\t\t\t\t\t * //End : Add ver 2.43 by Abhishek\r\n\t\t\t\t\t */\r\n\r\n\t\t\t\t\t// END DELETE V5.21a\r\n\t\t\t\t\tif ((processStatusRow.iStatusInDB == Record.VIEW)\r\n\t\t\t\t\t\t\t|| (processStatusRow.iStatusInDB == Record.UPDATE)) {\r\n\r\n\t\t\t\t\t\t// BEGIN DELETE V5.21a\r\n\t\t\t\t\t\t// comment: only insertion in process table\r\n\r\n\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t * processStatusRow.iStatusInDB = Record.UPDATE;\r\n\t\t\t\t\t\t * processStatusTable.updateRecord(processStatusRow);\r\n\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t// END DELETE V5.21a\r\n\t\t\t\t\t\t// BEGIN ADD V5.21a\r\n\t\t\t\t\t\t// comment: code to add a process status row with status cancel\r\n\t\t\t\t\t\t// Inserting a Record in Process Status table\r\n\t\t\t\t\t\tprocessStatusRow = null;\r\n\t\t\t\t\t\tprocessStatusRow = new ProcessStatusRow();\r\n\t\t\t\t\t\tprocessStatusRow.iStatusInDB = Record.INSERT;\r\n\t\t\t\t\t\tprocessStatusRow.lProcessStatusID = processStatusRow\r\n\t\t\t\t\t\t\t\t.lNewNr();\r\n\t\t\t\t\t\tprocessStatusRow.lProcessID = lProcessID;\r\n\t\t\t\t\t\tprocessStatusRow.lProcessStatusTypeID = GAfeDescription\r\n\t\t\t\t\t\t\t\t.lGetTypeId(\"PROCESSSTATUSTYPE_NP_CANCELLED\");\r\n\t\t\t\t\t\tprocessStatusRow.strCreationUser = bSession.strUserName;\r\n\t\t\t\t\t\tprocessStatusRow.strModificationUser = bSession.strUserName;\r\n\t\t\t\t\t\tprocessStatusTable.addUniqueRecord(processStatusRow);\r\n\r\n\t\t\t\t\t\t// END ADD V5.21a\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// when iStatusInDB is equal to Record.INSERT\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tprocessStatusRow.iStatusInDB = Record.DELETE;\r\n\t\t\t\t\t\tprocessStatusTable\r\n\t\t\t\t\t\t\t\t.deleteRecord(processStatusRow.lProcessStatusID);\r\n\t\t\t\t\t}\r\n\t\t\t\t} // end of the if loop\r\n\r\n\t\t\t\t// Put the container back into the session\r\n\t\t\t\tteleSessionMgr.putTable(string_PROCESSSTATUS, processStatusTable);\r\n\t\t\t} // end of the if loop\r\n\r\n\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t} // end of the if loop\r\n\t\tcatch (Exception ex) {\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t//ex.printStackTrace(System.out);\r\n\t\t\t\tGLogger.logException(ex);\r\n\t\t\t}\r\n\r\n\t\t\tAfeException afe = new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\r\n\r\n\t\t\tthrow afe;\r\n\t\t}\r\n\t}","title":""},{"docid":"318dcf9699aa99ed6deb0dad10abd1c1","score":"0.52311885","text":"public void deleteAccount(){\r\n\t\tString number = askNumber();\r\n\t\tString name = askName();\r\n\t\tthis.AccountList.remove(number);\r\n\t\tthis.dailySummary.add(\"DEL \" + number + \" 000 \" + \"0000000 \" + name);\r\n\t\tSystem.out.println(\"Delete Transaction Complete\");\r\n\t\t\t\r\n\r\n\t\t}","title":""},{"docid":"2c6ac5f7db0af3fe00f85a520843129c","score":"0.52265394","text":"void deleteRequirement(Integer requirementId, Integer projectId) throws SquareException;","title":""},{"docid":"1bda14dd215f7f3d6d006557516bc4e3","score":"0.52177536","text":"public\n\tvoid exec()\n\t{\t\n\t\tms.removeLocalMem();\t\t\n\t}","title":""},{"docid":"caf00fd56e87f2f6fe414af6ee329b62","score":"0.5216007","text":"void delete(Workflowdefine workflowdefine);","title":""},{"docid":"ab42521b79bb2f4bfd4d18c4f957cfb2","score":"0.5215948","text":"public int deleteInventory(int id);","title":""},{"docid":"50409223877bd1f5b3c11b431c47ae13","score":"0.5209514","text":"@Override\n\tprotected void executeInternal(JobExecutionContext context) throws JobExecutionException {\n\t\tlogger.info(\"(投资计划结清)处理开始 实例ID:\"+context.getFireInstanceId());\n\t\tList userPlans = zqzrManage.getUserPlansInQuit(null);\n\t\tif(userPlans!=null && userPlans.size()>0){\n\t\t\tfor(UserPlan userPlan : userPlans){\n\t\t\t\ttry {\n\t\t\t\t\tzqzrManage.doSettlementPlan(userPlan);\n\t\t\t\t}catch(Throwable e){\n\t\t\t\t\tlogger.error(\"(投资计划结清)处理异常:userPlan:({}),异常信息:({})\", JSON.toJSONString(userPlan),e.toString());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"(投资计划结清)结清处理结束({})\",userPlans.size());\n\t}","title":""},{"docid":"0a3ee594cf790bc65a2caceb0c48792f","score":"0.5206427","text":"public static void void_receipt_items(String num, String prod_num,String prod_name,String qty,String price) {\r\n\r\n \r\n\r\n try {\r\n Connection conn = MyConnection1.connect();\r\n\r\n String s1 = \"delete from \"+MyDB.getNames()+\".receipt_items where id='\" + num + \"'\";\r\n PreparedStatement stmt1 = conn.prepareStatement(s1);\r\n stmt1.execute();\r\n\r\n\r\n \r\n SimpleDateFormat sf=new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\r\n String date=sf.format(new Date());\r\n \r\n \r\n double qty1=S9_add_product.get_product_qty(prod_name);\r\n double total=Double.parseDouble(qty)+qty1;\r\n String s2 = \"update \"+MyDB.getNames()+\".inventory2_stocks_left set product_qty='\"+total+\"'where prod_num='\" + prod_num + \"'\";\r\n PreparedStatement stmt2 = conn.prepareStatement(s2);\r\n stmt2.execute();\r\n \r\n String s3=\"insert into \"+MyDB.getNames()+\".cancelled_order(or_num,or_date,prod_name,qty,price)values(?,?,?,?,?)\";\r\n PreparedStatement stmt3 = conn.prepareStatement(s3);\r\n stmt3.setString(1,num);\r\n stmt3.setString(2,date);\r\n stmt3.setString(3,prod_name);\r\n stmt3.setString(4,qty);\r\n stmt3.setString(5,price); \r\n stmt3.execute();\r\n \r\n Prompt.call(\"Transaction Cancelled\");\r\n// JOptionPane.showMessageDialog(null, \"Transaction Cancelled\");\r\n\r\n } catch (Exception e) {\r\n throw new RuntimeException(e);\r\n } finally {\r\n MyConnection1.close();\r\n }\r\n }","title":""},{"docid":"fd255873b907fb1c611602536ea4b6a4","score":"0.5205085","text":"private static void cleanTablesPDV() {\n Connection conn = null;\n Statement st;\n String sql = \"DELETE FROM produtos;\"\n + \"DELETE FROM vendpdv;\"\n + \"DELETE FROM vpropdv;\";\n try {\n conn = openConnection();\n st = conn.createStatement();\n st.executeUpdate(sql);\n System.out.println(\"LIMPOU TABELAS DBPDV\");\n } catch (SQLException e) {\n System.out.println(\"ERRO AO ABRIR CONEXAO COM DBJPDV: \" + e);\n } catch (ClassNotFoundException e) {\n System.out.println(\"ERRO COM ARQUIVO DBJPDV: \" + e);\n } finally {\n closeSQLite(conn);\n }\n }","title":""},{"docid":"2201bdc4021cd22b7b6c868114a491ec","score":"0.52034664","text":"public int iValidateUnSelect(BProductDetailProperty bProductDetailProperty,\r\n\t\t\tBProductDetail bProductDetail, Long lProductID) throws Exception { // Starting Braces of the Function\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\r\n\t\tint iFirstCheck = 0; // Local Varaible Declaration\r\n\t\tint iSecondCheck = 0; // Local Varaible Declaration\r\n\t\tint iMin; // Local Varaible Declaration\r\n\t\tint iMax; // Local Varaible Declaration\r\n\t\tint iCount = 0; // Local Varaible Declaration\r\n\t\tLong lOptionGroupID; // Local Varaible Declaration\r\n\r\n\t\t// BEGIN ADD V5.20a\r\n\t\t// Comment: Changes made for Security Service\r\n\t\t// Begin DEL v9.01d\r\n\t\t// Vector vctProduct = null;\r\n\t\t// int iSizeOfVector = 0;\r\n\t\t// long lTempProdId = 0;\r\n\t\t// boolean bCheck = false;\r\n\t\t// boolean bNotProvisioned = false;\r\n\t\t// End DEL v9.01d\r\n\t\t// END ADD V5.20a\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\r\n\t\ttry {\r\n\r\n\t\t\t// Begin DEL v9.01d\r\n\t\t\t// StringBuffer strSql = new StringBuffer(\"\"); //Defining a String Buffer to make the Sql querry\r\n\t\t\t// End DEL v9.01d\r\n\r\n\t\t\t/**\r\n\t\t\t * **************STARTING*****************TO PRINT THE DATA\r\n\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t * {\r\n\t\t\t * System.out.println(\"iHidden --> \" +bProductDetail.iHidden);\r\n\t\t\t * }\r\n\t\t\t * /****************ENDING*******************TO PRINT THE DATA******************************************\r\n\t\t\t */\r\n\t\t\t// BEGIN DELETE V5.20a\r\n\t\t\t// Comment: Changes made for Security Service\r\n\t\t\t/*\r\n\t\t\t * if(FINAL_ONE == bProductDetail.iHidden)\r\n\t\t\t */\r\n\r\n\t\t\t// END DELETE V5.20a\r\n\t\t\t// BEGIN ADD V5.20a\r\n\t\t\t// Comment: Changes made for Security Service\r\n\t\t\t//BEGIN DELETE V5.60b\r\n\t\t\t//Comment: deleting this as Security product can be available in both the grid and can be moved.\r\n\t\t\t/*\r\n\t\t\t vctProduct = GAfeDescription.vctGetAllTypeIds(GAfeConstants.PRODUCT_SPECIALTYPE);\r\n\t\t\t if (null != vctProduct && 0 != vctProduct.size())\r\n\t\t\t {\r\n\t\t\t iSizeOfVector = vctProduct.size();\r\n\t\t\t for (int iCnt = 0;iCnt < iSizeOfVector;iCnt++ )\r\n\t\t\t {\r\n\t\t\t lTempProdId = Long.parseLong((String)vctProduct.elementAt(iCnt));\r\n\t\t\t if (lTempProdId == bProductDetail.lProductID.longValue())\r\n\t\t\t {\r\n\t\t\t bCheck = true;\r\n\t\t\t if (null == bProductDetail.dtActivationDate)\r\n\t\t\t {\r\n\t\t\t bNotProvisioned = true;\r\n\t\t\t }\r\n\t\t\t else\r\n\t\t\t {\r\n\t\t\t if (null != bProductDetailProperty && null != bProductDetailProperty.lCustomerProductLineID)\r\n\t\t\t {\r\n\t\t\t bNotProvisioned = bCheckProvisionStatus(bProductDetailProperty.lCustomerProductLineID.longValue());\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t break;\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t if (true == bCheck && true == bNotProvisioned)\r\n\t\t\t {\r\n\t\t\t //BEGIN DELETE V 5.25a\r\n\t\t\t //Need to modify error lables mismatch\r\n\t\t\t //throw new AfeException(GErrorCodes.ERRAFE_00812); // This product can not be deactivated as they are not provisioned.\r\n\t\t\t //END DELETE V 5.25a\r\n\t\t\t //BEGIN ADD V 5.25a\r\n\t\t\t //Need to modify error lables mismatch\r\n\t\t\t throw new AfeException(GErrorCodes.ERRAFE_00830); // This product can not be deactivated as they are not provisioned.\r\n\t\t\t //END ADD V 5.25a\r\n\t\t\t }\r\n\r\n\r\n\r\n\t\t\t else if (FINAL_ONE == bProductDetail.iHidden && !bCheck)\r\n\t\t\t //END ADD V5.20a\r\n\t\t\t {\r\n\t\t\t throw new AfeException(\"ERRAFE_00508\"); //This is a Special Product Based On Your Selection So Cannot be Removed\r\n\t\t\t }\r\n\t\t\t else\r\n\t\t\t {\r\n\t\t\t */\r\n\r\n\t\t\t// END DELETE 5.60b\r\n\t\t\tiFirstCheck = 1;\r\n\r\n\t\t\t// BEGIN DELETE 5.60b\r\n\r\n\t\t\t// }\r\n\t\t\t//END DELETE5.60b\r\n\t\t\tif (iFirstCheck == 1) {\r\n\t\t\t\tlOptionGroupID = bProductDetail.lOptionGroupID;\r\n\r\n\t\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t\t\tOptionGroupRow optionGroupRow = null; // Initializing the Object Class for the OptionGroup table\r\n\r\n\t\t\t\tif (null == optionGroupTable) {\r\n\t\t\t\t\toptionGroupTable = (OptionGroup) teleSessionMgr\r\n\t\t\t\t\t\t\t.getMasterTable(string_OPTIONGROUP); // Getting the OptionGroup table from the session\r\n\t\t\t\t}\r\n\r\n\t\t\t\toptionGroupRow = optionGroupTable\r\n\t\t\t\t\t\t.prSearchByOptionGroupIDandObsolete(lOptionGroupID\r\n\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO);\r\n\r\n\t\t\t\t/**\r\n\t\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t * {\r\n\t\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t\t * strSql.append(\"SELECT MINMANDPRODUCTS, MAXMANDPRODUCTS FROM OPTIONGROUP WHERE OPTIONGROUPID = \").append(lOptionGroupID);\r\n\t\t\t\t * strSql.append(\" AND OBSOLETE = \").append(FINAL_ZERO);\r\n\t\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t\t * }\r\n\t\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t\t */\r\n\t\t\t\tiMin = optionGroupRow.iMinMandProducts;\r\n\t\t\t\tiMax = optionGroupRow.iMaxMandProducts;\r\n\r\n\t\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\r\n\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t// OptionProductRow optionProductRow = null; // Initializing the Object Class for the OptionGroup table\r\n\t\t\t\t// End DEL v9.01d\r\n\t\t\t\tif (null == optionProductTable) {\r\n\t\t\t\t\toptionProductTable = (OptionProduct) teleSessionMgr\r\n\t\t\t\t\t\t\t.getMasterTable(string_OPTIONPRODUCT); // Getting the OptionGroup table from the session\r\n\t\t\t\t}\r\n\r\n\t\t\t\tVector vctObjOPIDOInternal = null;\r\n\r\n\t\t\t\t// BEGIN DELETE v5.80a\r\n\t\t\t\t// vctObjOPIDOInternal = optionProductTable.vctSearchByOptionGroupIDandObsolete(lOptionGroupID.longValue(), FINAL_ZERO);\r\n\t\t\t\t// END DELETE v5.80a\r\n\t\t\t\t// BEGIN ADD v5.80a\r\n\t\t\t\tvctObjOPIDOInternal = optionProductTable\r\n\t\t\t\t\t\t.vctSearchByOptionGroupIDandObsolete(lOptionGroupID\r\n\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t// END ADD v5.80a\r\n\r\n\t\t\t\t/**\r\n\t\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t * {\r\n\t\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t\t * strSql.append(\"SELECT COUNT(*) LCOUNT FROM OPTIONPRODUCT WHERE OPTIONGROUPID = \").append(lOptionGroupID);\r\n\t\t\t\t * strSql.append(\" AND OBSOLETE = \").append(FINAL_ZERO);\r\n\t\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t\t * }\r\n\t\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t\t */\r\n\t\t\t\tif (null != vctObjOPIDOInternal) {\r\n\t\t\t\t\tiCount = vctObjOPIDOInternal.size();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// BEGIN ADD : V5.34\r\n\t\t\t\tint iSizeOfSelVec = bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t.size();\r\n\t\t\t\tint iNoOfOccurences = 0;\r\n\r\n\t\t\t\tbProductDetail = null;\r\n\r\n\t\t\t\tfor (int iCountProds = 0; iCountProds < iSizeOfSelVec; iCountProds++) {\r\n\t\t\t\t\tbProductDetail = (BProductDetail) bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t.elementAt(iCountProds);\r\n\r\n\t\t\t\t\tif (lProductID.longValue() == bProductDetail.lProductID\r\n\t\t\t\t\t\t\t.longValue()) {\r\n\t\t\t\t\t\tiNoOfOccurences++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// END ADD : V5.34\r\n\r\n\t\t\t\tif ((iMin == iCount) && (iCount == iMax)) {\r\n\r\n\t\t\t\t\t// BEGIN MODIFY : V5.34\r\n\t\t\t\t\t// Added Condition to check for No Of Occurences of the Product Greated than Max Count.\r\n\t\t\t\t\t// BEGIN DELETE V5.69a\r\n\t\t\t\t\t// if (iNoOfOccurences > iMax)\r\n\t\t\t\t\t// END DELETE V5.69a\r\n\t\t\t\t\t// BEGIN ADD V5.69a\r\n\t\t\t\t\tif (iNoOfOccurences <= iMax)\r\n\r\n\t\t\t\t\t// END ADD V5.69a\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tthrow new AfeException(\"ERRAFE_00509\"); /* This Product is a Mandatory Product and Cannot be Unselected */\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tiSecondCheck = 1;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// END MODIFY : V5.34\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.35b\r\n\t\t\t\t\t// comment: not required\r\n\t\t\t\t\t// BEGIN ADD V5.34a\r\n\t\t\t\t\t// comment: incorporating changes done by Amit Sharma for LN323\r\n\t\t\t\t\t// throw new AfeException(\"ERRAFE_00509\"); /*This Product is a Mandatory Product and Cannot be Unselected*/\r\n\t\t\t\t\t// END ADD V5.34a\r\n\t\t\t\t\t// END DELETE V5.35b\r\n\t\t\t\t} // end of the if loop\r\n\t\t\t\telse {\r\n\t\t\t\t\tiSecondCheck = 1;\r\n\t\t\t\t} // end of the else part of the if loop\r\n\t\t\t} // end of the if loop\r\n\t\t} catch (AfeException afee) // catch block starts to catch exceptions\r\n\t\t{\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\r\n\t\t\t\t/* BEGIN DELETE VER: 5.59tan */\r\n\r\n\t\t\t\t// System.out.println(afee.strGetErrCode() + \" ---------- \" +afee.strGetErrMsg());\r\n\t\t\t\t/* END DELETE VER: 5.59tan */\r\n\t\t\t\t//afee.printStackTrace(System.out);\r\n\t\t\t\tGLogger.logException(afee);\r\n\t\t\t}\r\n\r\n\t\t\tthrow afee;\r\n\t\t} catch (Exception ex) {\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t//ex.printStackTrace(System.out);\r\n\t\t\t\tGLogger.logException(ex);\r\n\t\t\t}\r\n\r\n\t\t\tAfeException afe = new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\r\n\r\n\t\t\tthrow afe;\r\n\t\t}\r\n\r\n\t\t// Returning of the String\r\n\t\treturn iSecondCheck;\r\n\t}","title":""},{"docid":"36accad12f5bf2df6075022f55d28084","score":"0.5196971","text":"public void delete() {\n System.out.println(\"Remove a Promotion\");\n System.out.println(\"---------------------\");\n // find if the Promotion is in the database or not //\n System.out.println(\"Enter the name of the Promotion:\");\n String name = sc.nextLine();\n if (Database_Controller.getPromotionByName(name) == null) {\n System.out.println(\"Promotion \" + name+ \" does not exist!\");\n\n } else {\n Database_Controller.deletePromotion(name);// =---- from the database\n System.out.println(\"Promotion removed!\");\n\n }\n }","title":""},{"docid":"99b3d9499f993fd3b6fe59a620e781cd","score":"0.5194154","text":"@Override\n public void execute() {\n m_climber.retractArms();\n }","title":""},{"docid":"35e251f018b06062d43ffe0056c95efc","score":"0.51931095","text":"public void deletePricingModelData() {\n\n\t\tSet keys = mPricePointTiers.keySet() ;\n\t\tIterator iter = keys.iterator();\n\t\tObject key;\n\t\tPricePointTier tier;\n\t\twhile (iter.hasNext()) {\n\t\t\tkey = iter.next();\n\t\t\ttier =mPricePointTiers.get(key);\n\t\t\tif ( tier.isDefaultPPT() == false ) mPricePointTiers.remove(key);\n\t\t}\n\n\n\t}","title":""},{"docid":"5d8a758452394974d740f21bf25c72c1","score":"0.5189827","text":"@Test\n public void whenDeleteExistingItemThenItMustBeDeleted() {\n final ArrayList answers = new ArrayList<>(Arrays.asList(\n \"4\", \"1\", \"n\",\n \"2\", \"y\"\n ));\n String[] expectedOutput = new String[]{\n \"Successful deleting.\",\n \"No items to show\"\n };\n Input input = new ValidateStubInput(answers);\n StubOutput output = new StubOutput();\n Tracker tracker = new Tracker();\n tracker.add(new Task(\"1 task\", \"1 desc\"));\n new StartUI(tracker, input, output).init();\n assertThat(output.getAnswers(), is(Arrays.asList(expectedOutput)));\n }","title":""},{"docid":"31e83e4b87a1af3e7db48375f99d6810","score":"0.51857847","text":"protected void deleteDataMaster(Connection conn) throws ReadWriteException\n\t{\n\t\t//#CM695788\n\t\t/*************************************\n\t\t * Delete the Consignor master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start consignorAutoRemover.suppress(holdDays) ****\");\n\t\tConsignorAutoRemover consignorAutoRemover = new ConsignorAutoRemover(conn);\n\t\tconsignorAutoRemover.setClassName(wProcessName);\n\t\tconsignorAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End consignorAutoRemover.suppress(holdDays) ****\");\n\n\t\t//#CM695789\n\t\t/*************************************\n\t\t * Delete the Supplier master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start supplierAutoRemover.suppress(holdDays) ****\");\n\t\tSupplierAutoRemover supplierAutoRemover = new SupplierAutoRemover(conn);\n\t\tsupplierAutoRemover.setClassName(wProcessName);\n\t\tsupplierAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End supplierAutoRemover.suppress(holdDays) ****\");\n\n\t\t//#CM695790\n\t\t/*************************************\n\t\t * Delete the Customer master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start customerAutoRemover.suppress(holdDays) ****\");\n\t\tCustomerAutoRemover customerAutoRemover = new CustomerAutoRemover(conn);\n\t\tcustomerAutoRemover.setClassName(wProcessName);\n\t\tcustomerAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End customerAutoRemover.suppress(holdDays) ****\");\n\n\t\t//#CM695791\n\t\t/*************************************\n\t\t * Delete the Item master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start itemAutoRemover.suppress(holdDays) ****\");\n\t\tItemAutoRemover itemAutoRemover = new ItemAutoRemover(conn);\n\t\titemAutoRemover.setClassName(wProcessName);\n\t\titemAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End itemAutoRemover.suppress(holdDays) ****\");\n\t}","title":""},{"docid":"c750eebe353be0f16dd71b8da1f25be1","score":"0.5183707","text":"@Override\r\n\tpublic int delete(BigDecimal pk) throws SQLException {\n\t\tinventoryConn = this.getConnection();\r\n\t\tList params = new ArrayList();\r\n\t\tparams.add(pk);\r\n\t\tint rows = this.executeUpdate(inventoryConn, SQL_DELETE, params.toArray());\r\n\t\tthis.closeConnection(inventoryConn);\r\n\t\treturn rows;\r\n\t}","title":""},{"docid":"10083283094c7a428f25fc3032dd1bbb","score":"0.5180766","text":"@Test\n public void testDelProduct() {\n System.out.println(\"delProduct - delete test\");\n try {\n productStorage instance = new productStorage();\n instance.addProduct(startname, startcost, startnum);\n if (!instance.delProduct(0)){\n fail(\"Error!\");\n }\n } catch (Exception a) {\n fail(a.getMessage());\n }\n }","title":""},{"docid":"0305e39cb3fffbbf4b222a93bcd69db1","score":"0.51787263","text":"@Test\r\n public void testDelete() throws Exception {\r\n System.out.println(\"delete\");\r\n String sql = \"delete FROM APP.\\\"program-slot\\\" WHERE (\\\"id\\\" = ? ) \";\r\n when(ds.getConnection()).thenReturn(conn);\r\n when(conn.prepareStatement(sql)).thenReturn(stmt);\r\n when(stmt.executeUpdate()).thenReturn(1); \r\n Calendar cal = Calendar.getInstance();\r\n cal.set(Calendar.YEAR, 2012);\r\n cal.set(Calendar.MONTH, Calendar.JANUARY);\r\n cal.set(Calendar.DAY_OF_MONTH,1);\r\n Date dateOfProgram = cal.getTime();\r\n Calendar time = Calendar.getInstance();\r\n time.set(Calendar.HOUR, 1);\r\n time.set(Calendar.MINUTE, 0);\r\n time.set(Calendar.SECOND,0);\r\n Date startTime = time.getTime();\r\n Date duration = time.getTime();\r\n ProgramSlot p = new ProgramSlot();\r\n p.setId(1);\r\n p.setDateOfProgram(dateOfProgram);\r\n p.setDuration(duration);\r\n p.setStartTime(startTime);\r\n p.setPresenter(new Presenter(\"pre1\"));\r\n p.setProducer(new Producer(\"prod1\"));\r\n p.setRadioProgram(new RadioProgram(\"testProgram\"));\r\n sDao.delete(p);\r\n \r\n \r\n }","title":""},{"docid":"ba48340ecd280fd20e1b10d4b1ec6af4","score":"0.51749736","text":"private void deleteInstrument() {\n if(currentInstUri != null){\n int rows = getContentResolver().delete(currentInstUri, null, null);\n if(rows != 0){\n Toast.makeText(this, \"Instrument deleted\", Toast.LENGTH_SHORT).show();\n }else{\n Toast.makeText(this, \"Error with deleting Instrument\", Toast.LENGTH_SHORT).show();\n }\n //Close Activity\n finish();\n\n }\n\n }","title":""},{"docid":"907cb1cfa7bb4953196dd666006a7c92","score":"0.51731765","text":"public void deleteEntrySpending(int LRow1) throws SQLException{\n ourDatabase.delete(DATABASE_TABLE_SPENDING, KEY_ROWID_SPEND + \" = \" + LRow1, null); //SQL DELETE statement\n }","title":""},{"docid":"f472b7a8ebb1f534d56f587f47614fbe","score":"0.51731133","text":"public void deleteAutoShip() throws Exception{ \n \t logInfo(\"inside deleteAutoShip() method\"); \n \t nav2AutoshipCustomer();\t\n \t waitOnElement(\"cssSelector\", delAutoship);\n \t clickOnElement (\"cssSelector\", delAutoship); \t \n \t confirmOK();\n \t confirmationMessage(\"Autoship is deleted\");\n \t\t \t\t \n \t \n \t \n }","title":""},{"docid":"6746a216f65b2c8390ca4bb26445277f","score":"0.5172666","text":"public void onActionRemoveAssociatedPartButton(ActionEvent actionEvent) throws NullPointerException {\n\n // generate part to be removed from associated parts\n Part partToBeRemoved = productAssociatedPartsTableView.getSelectionModel().getSelectedItem();\n\n // execute if parts list is not null\n if (modifiedProduct.getAssociatedParts().size() > 0){\n\n // alert user to confirm delete\n Alert confirmDeleteProduct = new Alert(Alert.AlertType.CONFIRMATION);\n confirmDeleteProduct.setTitle(\"Please Confirm Delete\");\n Optional input = confirmDeleteProduct.showAndWait();\n\n // execute part removal from associated parts list if user selects OK\n if ((input.isPresent()) && (input.get() == ButtonType.OK)) {\n try {\n modifiedProduct.getAssociatedParts().remove(partToBeRemoved);\n }\n catch (NullPointerException e) {\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"Product not removed\");\n alert.setContentText(\"No product selected for removal\");\n alert.show();\n }\n }\n }\n }","title":""},{"docid":"f2bb96bb2a453b1d6afaab0e6d29bdf3","score":"0.51691246","text":"public void managerOption3(ManagerClientInterface managerClient) throws RemoteException {\n\n if (parts.size() == 0) {\n managerClient.printOnClient(\"____ No part registered yet! ____\");\n return;\n }\n managerClient.printOnClient(\"Available products to remove: \");\n int i = 1;\n for (Part part : parts) {\n managerClient.printOnClient(i + \". \" + part.getType());\n i++;\n }\n managerClient.printOnClient(\"Choose a number (1 to \" + parts.size() + \"): \");\n int itemToDelete = managerClient.readIntClient();\n\n\n if (itemToDelete < 1 || itemToDelete > parts.size()) {\n managerClient.printOnClient(\"____ Invalid Input ____\");\n return;\n }\n\n managerClient.printOnClient(\"Are you sure you want to delete the part: \" + parts.get(itemToDelete - 1).getType() + \"? (y/n)\");\n String confirmation = managerClient.readStringClient();\n\n switch (confirmation) {\n case \"y\":\n Part aux = parts.get(itemToDelete - 1);\n mService.deletePart(parts, itemToDelete - 1);\n managerClient.printOnClient(\"---- Item removed with success ----\");\n System.out.println(\"*** Manager \" + managerClient.getClientId() + \" Removed (\" + aux.getType() + \") from the inventory ***\");\n break;\n case \"n\":\n managerClient.printOnClient(\"____ Action canceled ____\");\n break;\n default:\n managerClient.printOnClient(\"____ Invalid input ____\");\n break;\n }\n FileUtils.saveParts(parts);\n }","title":""},{"docid":"8bd5ef807df7867d442a9d75ae0e0a2f","score":"0.5166313","text":"@Test\n\tpublic void testDeleteUsedIDs() {\n\t\tDatabase test = new Database(\"jdbc:mysql://localhost/inventory\", \"Mohtashim\", \"assignment9\", \"test\", \"chair\");\n\t\ttest.initConnection();\n\n\t\t// Insert two test entries into database\n\t\ttry {\n\n\t\t\tString query1 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test','test','Y','N','Y','Y','100','005')\";\n\t\t\tString query2 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test1','test','N','Y','N','N','100','005')\";\n\t\t\tPreparedStatement myStmt = test.sendQuery(query1);\n\t\t\tPreparedStatement myStmt1 = test.sendQuery(query2);\n\t\t\tmyStmt.executeUpdate();\n\t\t\tmyStmt1.executeUpdate();\n\t\t\tmyStmt.close();\n\t\t\tmyStmt1.close();\n\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\n\t\t// Insert another two test entries into database\n\t\ttry {\n\n\t\t\tString query1 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test2','test','Y','N','Y','Y','100','005')\";\n\t\t\tString query2 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test3','test','N','Y','N','N','100','005')\";\n\t\t\tPreparedStatement myStmt = test.sendQuery(query1);\n\t\t\tPreparedStatement myStmt1 = test.sendQuery(query2);\n\t\t\tmyStmt.executeUpdate();\n\t\t\tmyStmt1.executeUpdate();\n\t\t\tmyStmt.close();\n\t\t\tmyStmt1.close();\n\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\n\t\t// instantiate test UI\n\t\tUI testObj = new UI(\"test\", \"chair\", \"1\", \"jdbc:mysql://localhost/inventory\", \"Mohtashim\", \"assignment9\");\n\t\ttry {\n\t\t\ttestObj.processOrder();\n\t\t} catch (DatabaseProcessException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// calculate order\n\t\ttestObj.calculateOrder();\n\n\t\t// get the initial IDs that were used before deletion\n\t\tString[] beforeDeletion = testObj.getUsedIDs();\n\n\t\t// delete the Used IDs\n\t\ttry {\n\t\t\t// deletes test,and test1 IDs\n\t\t\ttestObj.deleteUsedIDs();\n\t\t} catch (DatabaseDeleteException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// calculate the order again\n\t\ttestObj.calculateOrder();\n\t\tString[] afterDeletion = testObj.getUsedIDs();\n\n\t\tassertNotEquals(\"The string arrays are identical, IDs were not deleted!\", beforeDeletion, afterDeletion);\n\n\t\t// delete the two test entries\n\t\ttest.deleteDBEntry(\"test2\");\n\t\ttest.deleteDBEntry(\"test3\");\n\n\t\t// close database\n\t\ttest.closeDelete();\n\n\t}","title":""},{"docid":"3f2cb0de4841798fadc11369877f29ba","score":"0.5166094","text":"@Test\n\tpublic void testarRemoverPlaneta() {\n\t\tplanets.forEach(item -> planetaResource.insert(item));\n\t\tplanets.forEach(item -> assertNotNull(planetaResource.delete(item.getId())));\n\t}","title":""},{"docid":"473bc9dbfdbf534c718b944d9c3c0243","score":"0.5165654","text":"@Override\n public Event execute() {\n try {\n AuthenticationToken token = this.authenticationService.findValidAuthenticationTokenForAUser(userId);\n Robot robot = this.storeModelService.getAllRobotsWithinAnAisle(storeId, aisleNumber,\n token.getTokenId()).get(0);\n logger.info(\"Robot \" + robot.getApplianceId() + \" is assigned to clean the mess\");\n Command robotCommand = new Command(\"Robot cleaning up \" + mess + \" in \" + aisleNumber);\n logger.info(robot.listenToCommand(robotCommand));\n\n if(mess.contains(\"dropped\")){\n String [] splitMess = mess.split(\"_\");\n Inventory inventory = this.storeModelService\n .getInventoryByProductId(splitMess[1], token.getTokenId());\n int initialCount = inventory.getCount();\n int updatedCount = this.storeModelService.updateInventoryCount(inventory.getInventoryId(),\n -1, token.getTokenId());\n logger.info(\"Inventory count for \" + inventory.getInventoryId() +\n \" updated from \" + initialCount + \" to \" + updatedCount + \" because the dropped item \"+\n \" will no longer be for sale \");\n }\n } catch (StoreException e) {\n logger.warning(\"Robot unable to clean the store \");\n } catch (AccessDeniedException e) {\n logger.warning(\"Authentication failed \" + e.getReason() + \" : \" + e.getFix());\n }\n return new Event(CleanStoreCommand.class.getName());\n }","title":""},{"docid":"9c400b921c2e8cb6b7e0547229f1e669","score":"0.5160197","text":"private void USLCleanUpServiceData()\n {\n String testCaseName = \"USLCleanUpServiceData\";\n System.out.println(\"*** Running testcase - \" + testCaseName);\n OrclTenantManager tenantManager = new OrclTenantManager();\n Map inParams = new HashMap();\n inParams.putAll(inputParams);\n inParams.put(MultiTenancyConstants.IDSTORE_TENANT_NAME,\n \"creationoftenant\" + random);\n inParams.put(MultiTenancyConstants.IDSTORE_SERVICE_TYPE, \"XYZService\");\n try\n {\n try\n {\n \t//DeleteServiceInstance first\n \tinParams.put(MultiTenancyConstants.IDSTORE_SERVICE_NAME,\n \"creationofservice\" + random + \"XYZ\");\n tenantManager.deleteService(new HashMap(inParams));\n } catch (Exception e)\n {\n e.printStackTrace();\n throw new Exception(\"Deletion of XYZ Service instance failed\");\n }\n try\n {\n \t//DeleteMTService instance\n \tinParams.put(MultiTenancyConstants.IDSTORE_SERVICE_NAME,\n \"creationofMTservice\" + random + \"XYZ\");\n tenantManager.deleteMTService(inParams);\n } catch (Exception e)\n {\n e.printStackTrace();\n throw new Exception(\"Deletion of XYZ MTService instance failed\");\n }\n C9UnitTestUtil.generateTestcaseSucc(testHome, testCaseName);\n } catch (Exception e)\n {\n C9UnitTestUtil.generateTestcaseDiff(testHome, testCaseName, e);\n }\n \n }","title":""},{"docid":"adf08b9f84e7b3cdd2d8455aca05d81a","score":"0.5149308","text":"int deleteByPrimaryKey(Integer levyfall_imposing_unit_id);","title":""}],"string":"[\n {\n \"docid\": \"e284cecd8c6e41c22dfa0c140d10e7bf\",\n \"score\": \"0.63313544\",\n \"text\": \"protected void deleteWorkingData(Connection conn, SystemParameter[] param)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException, ScheduleException\\n\\t{\\n\\t\\tString workday = wWareNaviSystem.getWorkDate();\\n\\n\\t\\t//#CM695776\\n\\t\\t// Obtain the result of wheter Inventory package exists or not.\\n\\t\\t//#CM695777\\n\\t\\t// stockPack:true --> Inventory package Available\\n\\t\\tboolean stockPack = isStockPack(conn);\\n\\n\\t\\t//#CM695778\\n\\t\\t/*************************************\\n\\t\\t * Delete the xxxPlan data.\\n\\t\\t *************************************/\\n\\n\\t\\t//#CM695779\\n\\t\\t// Refer the flag to determine whether to remain or delete the work status Not Processed.\\n\\t\\tboolean unWorkDelete = false;\\n\\t\\tunWorkDelete = param[0].getSelectUnworkingInformation().equals(SystemParameter.SELECTUNWORKINGINFORMATION_DELETE);\\n\\n\\t\\t//#CM695780\\n\\t\\t// Delete the Plan data (Planned xxx info/ Work Status/ Inventory information).\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start planDelete ****\\\");\\n\\t\\tplanDelete(conn, unWorkDelete, workday, wDelPlanDate, stockPack);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End planDelete ****\\\");\\n\\n\\t\\t//#CM695781\\n\\t\\t/*************************************\\n\\t\\t * Delete the Inventory Check data.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start deleteInventoryCheck ****\\\");\\n\\t\\tdeleteInventoryCheck(conn);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End deleteInventoryCheck ****\\\");\\n\\n\\t\\t//#CM695782\\n\\t\\t/*************************************\\n\\t\\t * Delete the Relocation work data.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start deleteMovement ****\\\");\\n\\t\\tdeleteMovement(conn, wDelPlanDate, stockPack);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End deleteMovement ****\\\");\\n\\n\\t\\t//#CM695783\\n\\t\\t/*************************************\\n\\t\\t * Delete the Center inventory data.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start deleteCenterStock ****\\\");\\n\\t\\tdeleteCenterStock(conn);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End deleteCenterStock ****\\\");\\n\\n\\t\\t//#CM695784\\n\\t\\t/*************************************\\n\\t\\t * Move the result data and delete it.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start moveResult ****\\\");\\n\\t\\tmoveResult(conn);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End moveResult ****\\\");\\n\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start deleteResult ****\\\");\\n\\t\\tdeleteResult(conn, wDelResultDate);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End deleteResult ****\\\");\\n\\n\\t\\t//#CM695785\\n\\t\\t/*************************************\\n\\t\\t * Delete the Worker result info.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start deleteWokerResult ****\\\");\\n\\t\\tdeleteWokerResult(conn, wDelResultDate);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End deleteWokerResult ****\\\");\\n\\n\\t\\t//#CM695786\\n\\t\\t/*************************************\\n\\t\\t * Delete the next work status.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start deleteNextProcessInfo ****\\\");\\n\\t\\tdeleteNextProcessInfo(conn, unWorkDelete, workday, wDelPlanDate);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End deleteNextProcessInfo ****\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb5062a6d1a489e782754a462591922a\",\n \"score\": \"0.61458313\",\n \"text\": \"public void deleteSupply(){\\n Supply sup = this.tableController.getSupplyFromTableSupplies(this.table);\\n if(sup == null)\\n JOptionPane.showMessageDialog(this, \\\"No Se Seleccionó Ningún Proveedor\\\");\\n else\\n { \\n int opc = JOptionPane.showConfirmDialog(null, \\\"Realmente Desea Eliminar El Insumo\\\"+sup.getName().toUpperCase(),\\n \\\"Eliminar Insumo\\\"+sup.getName().toUpperCase(), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);\\n //0 para si || 1 para no\\n if (opc == 0)\\n {\\n boolean ban = this.restaurant.getBd().getCrudSupply().deleteSupply(Integer.parseInt(sup.getId()));\\n //Si se elimino el proveedor de la base de datos.\\n if(ban)\\n {\\n JOptionPane.showMessageDialog(this, \\\"Insumo \\\" + \\\" Eliminado Correctamente\\\");\\n this.restaurant.updateDataBase();\\n this.createTable(this.restaurant.getSupplies());\\n// this.pintor.paintTableProviders(this.tequilazo.getProveedores(), this.modeloListaProveedores);\\n }\\n else\\n {\\n JOptionPane.showMessageDialog(this, \\\"No Se Pudo Eliminar El Proveedor De La Base De Datos\\\");\\n }\\n } \\n } \\n// System.out.println(\\\"deleteProvide\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f6332b240783ebe16ccdb7035b5356\",\n \"score\": \"0.600301\",\n \"text\": \"public String executeCommandDelete(ActionContext context) {\\n if (!(hasPermission(context, \\\"myhomepage-action-plans-delete\\\"))) {\\n return (\\\"PermissionError\\\");\\n }\\n Connection db = null;\\n try {\\n db = this.getConnection(context);\\n String planWorkId = context.getRequest().getParameter(\\\"actionPlanId\\\");\\n ActionPlanWork planWork = new ActionPlanWork(db, Integer.parseInt(planWorkId));\\n planWork.buildPhaseWork(db);\\n planWork.buildLinkedObject(db);\\n planWork.delete(db);\\n } catch (Exception e) {\\n context.getRequest().setAttribute(\\\"Error\\\", e);\\n return (\\\"SystemError\\\");\\n } finally {\\n this.freeConnection(context, db);\\n }\\n return (executeCommandView(context));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fee1fb353cfcc17db85fef1859d1fde1\",\n \"score\": \"0.59884423\",\n \"text\": \"public int deletePbItem(int curr_tab, long rowID) throws Exception\\n { \\n int outcome=0; \\n long associateID = 0;\\n \\n try {\\n conn = initializeConn(); \\n \\n switch(curr_tab)\\n { \\n case 1: \\n //check for associated BENEFITS records, and delete those first\\n ps = conn.prepareStatement(\\\"select id from employee_benefits where pers_id=?\\\");\\n ps.setLong(1, rowID);\\n rs = ps.executeQuery();\\n while(rs.next())\\n associateID = rs.getLong(\\\"id\\\");\\n \\n if(associateID !=0)\\n {\\n ps.clearParameters();\\n ps = conn.prepareStatement(\\\"delete from EMPLOYEE_BENEFITS where ID = ?\\\"); \\n ps.setLong(1, associateID);\\n outcome = ps.executeUpdate();\\n }\\n ps.clearParameters();\\n ps = conn.prepareStatement(\\\"delete from PERSONAL_SERVICES where ID = ?\\\"); \\n ps.setLong(1, rowID);\\n outcome = ps.executeUpdate();\\n break;\\n \\n case 2:\\n ps = conn.prepareStatement(\\\"delete from EMPLOYEE_BENEFITS where ID = ?\\\"); \\n ps.setLong(1, rowID);\\n outcome = ps.executeUpdate();\\n break;\\n \\n case 3:\\n ps = conn.prepareStatement(\\\"delete from CONTRACTED_SERVICES where ID = ?\\\"); \\n ps.setLong(1, rowID);\\n outcome = ps.executeUpdate();\\n break;\\n \\n case 4:\\n ps = conn.prepareStatement(\\\"delete from SUPP_MAT_EQUIPS where ID = ?\\\"); \\n ps.setLong(1, rowID);\\n outcome = ps.executeUpdate();\\n break;\\n \\n case 5:\\n ps = conn.prepareStatement(\\\"delete from OTHER_EXPENSES where ID = ?\\\"); \\n ps.setLong(1, rowID);\\n outcome = ps.executeUpdate();\\n break;\\n \\n case 6:\\n ps = conn.prepareStatement(\\\"delete from TRAVEL_EXPENSES where ID = ?\\\"); \\n ps.setLong(1, rowID);\\n outcome = ps.executeUpdate();\\n break;\\n }\\n \\n } catch (Exception ex){\\n System.err.println(\\\"error deletePbItem() \\\" + ex.toString());\\n throw new Exception(ex.toString(), ex);\\n } \\n finally{\\n Close(conn);\\n Close(ps);\\n Close(rs);\\n }\\n \\n return outcome; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df621e10825b32de5e71d59a08fdd9df\",\n \"score\": \"0.5977768\",\n \"text\": \"public final void do_delete () throws Exception {\\n\\t\\t\\tif (evseqProducts != null) {\\n\\t\\t\\t\\tdeleteEventSequenceProducts (evseqProducts, keep, eventNetwork, eventCode, isReviewed);\\n\\n\\t\\t\\t\\tif (cap_time != CAP_TIME_NOP && keep >= 0 && keep < evseqProducts.size()) {\\n\\t\\t\\t\\t\\tcapEventSequenceProduct (evseqProducts.get(keep), cap_time, eventNetwork, eventCode, isReviewed);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ac16e477047dab216094000fc6ac7a4\",\n \"score\": \"0.59733933\",\n \"text\": \"protected void deleteInStockPlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\t//#CM695831\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\\n\\t\\t//#CM695832\\n\\t\\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\\n\\t\\tString[] workStatus1 = { InstockPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t InstockPlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t InstockPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695833\\n\\t\\t// Data that passed the retention period (days) (Partially Completed)\\n\\t\\tString[] saveStatus1 = { InstockPlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\t//#CM695834\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\\n\\t\\t//#CM695835\\n\\t\\t// Planned Work Date <= Work Date (Completed or Deleted)\\n\\t\\tString[] workStatus2 = { InstockPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t InstockPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695836\\n\\t\\t// Data that passed the retention period (days) (Standby, Partially Completed)\\n\\t\\tString[] saveStatus2 = { InstockPlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t InstockPlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\tint count = 0;\\n\\n\\t\\t//#CM695837\\n\\t\\t// Delete the inventory information.\\n\\t\\t//#CM695838\\n\\t\\t// Find the Stock ID of the inventory information linked to the delete target data in the receiving plan info. .\\n\\t\\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695839\\n\\t\\t\\t// Search for the data through the inventory information including data with status Not Worked in conditions.\\n\\t\\t\\tcount = systemStockFinder.InstockPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695840\\n\\t\\t\\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = systemStockFinder.InstockPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (InStockPlan Delete) --> Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695841\\n\\t\\t\\t// Delete the inventory information linked to the delete target in the receiving plan info .\\n\\t\\t\\tdeleteStock_StockId(conn, systemStockFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695842\\n\\t\\t// Delete the work status.\\n\\t\\t//#CM695843\\n\\t\\t// Find the work status linked to the delete target data in the receiving plan info .\\n\\t\\tSystemWorkingInformationFinder workfinder = new SystemWorkingInformationFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695844\\n\\t\\t\\t// Search for the data through the Work status including data with status Not Worked in conditions.\\n\\t\\t\\tcount = workfinder.InstockPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695845\\n\\t\\t\\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = workfinder.InstockPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (InStockPlan Delete) --> WorkingInformation Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695846\\n\\t\\t\\t// Delete the work status linked to the delete target in the receiving plan info .\\n\\t\\t\\tdeleteWorkingInformation_PlanUkey(conn, workfinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695847\\n\\t\\t// Delete the receiving plan info.\\n\\t\\tInstockPlanHandler instockHandler = new InstockPlanHandler(conn);\\n\\t\\tInstockPlanSearchKey instockSearchKey = new InstockPlanSearchKey();\\n\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695848\\n\\t\\t\\t// Delete the receiving plan info including data with status Not Worked in conditions.\\n\\t\\t\\t//#CM695849\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \\n\\t\\t\\tinstockSearchKey.setStatusFlag(workStatus1[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tinstockSearchKey.setStatusFlag(workStatus1[1], \\\"=\\\", \\\"\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tinstockSearchKey.setStatusFlag(workStatus1[2], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tinstockSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695850\\n\\t\\t\\t// Delete the receiving plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695851\\n\\t\\t\\t//\\t ( Status flag = Partially Completed and Planned Receiving Date <= Expiry date of retention )\\n\\t\\t\\tinstockSearchKey.setStatusFlag(saveStatus1[0], \\\"=\\\", \\\"(\\\", \\\"\\\", \\\"and\\\");\\n\\t\\t\\tinstockSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695852\\n\\t\\t\\t// Delete the receiving plan info using a condition to hold over the data with status Not Worked.\\n\\t\\t\\t//#CM695853\\n\\t\\t\\t//\\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tinstockSearchKey.setStatusFlag(workStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tinstockSearchKey.setStatusFlag(workStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tinstockSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695854\\n\\t\\t\\t// Delete the receiving plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695855\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Partially Completed ) and Planned Receiving Date <= Expiry date of retention )\\n\\t\\t\\tinstockSearchKey.setStatusFlag(saveStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tinstockSearchKey.setStatusFlag(saveStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tinstockSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tcount = instockHandler.count(instockSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (InStockPlan Delete) --> InStockPlan Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif (count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695856\\n\\t\\t\\t\\t// Delete the receiving plan info.\\n\\t\\t\\t\\tinstockHandler.drop(instockSearchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52dbef08469540b5842db3b0f5116e00\",\n \"score\": \"0.5949656\",\n \"text\": \"@Override \\n\\t\\t\\t\\t public void onClick(DialogInterface dialog,int which) {\\n\\t\\t\\t\\t \\tString sSql=\\\"\\\";\\n\\t\\t\\t\\t \\tfor(int i=lsCompTableCopy.size()-1;i>=0;i--)\\n\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (lsCompTableCopy.get(i).get(\\\"CHECKFLAG\\\").toString().equals(\\\"Y\\\")) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tif(lsCompTableCopy.get(i).get(\\\"IS_P\\\").toString().equals(\\\"Y\\\"))\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t sSql=sSql+\\\" DELETE FROM PROCESS_STEP_P WHERE PRODUCTCOMPID='\\\"+msProductCompId+\\\"' AND PRODUCTORDERID='\\\"+msProductOrderId+\\\"' AND PRODUCTSERIALNUMBER='\\\"+lsCompTableCopy.get(i).get(\\\"SEQ\\\").toString()+\\\"' ;\\\";\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t}else\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t sSql=sSql+\\\" DELETE FROM PROCESS_STEP_PF WHERE PRODUCTCOMPID='\\\"+msProductCompId+\\\"' AND PRODUCTORDERID='\\\"+msProductOrderId+\\\"' AND SERIALNUMBER_P='\\\"+lsCompTableCopy.get(i).get(\\\"SEQ\\\").toString()+\\\"' ;\\\";\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tlsCompTable.remove(i);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t String sError= db.ExecuteSQL(sSql);\\n\\t\\t\\t\\t \\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\tadapter.notifyDataSetChanged();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e3c834d6fe49b4824637233efad5b8a\",\n \"score\": \"0.59003234\",\n \"text\": \"protected void deleteMovement(Connection conn, String delPlanDate, boolean stockPack) throws ReadWriteException\\n\\t{\\n\\t\\t//#CM696007\\n\\t\\t// Delete the relocation work status.\\n\\t\\tMovementHandler moveHandler = new MovementHandler(conn);\\n\\t\\tMovementSearchKey moveSearchKey = new MovementSearchKey();\\n\\n\\t\\t//#CM696008\\n\\t\\t// Delete the data with Status flag = Completed or Deleted.\\n\\t\\tString status[] = { Movement.STATUSFLAG_COMPLETION, Movement.STATUSFLAG_DELETE };\\n\\t\\tmoveSearchKey.setStatusFlag(status);\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tint count = moveHandler.count(moveSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (deleteMovement) --> Movement Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif(count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tmoveHandler.drop(moveSearchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\t//#CM696009\\n\\t\\t\\t// Refer to the Presence of Inventory package.\\n\\t\\t\\tif( stockPack )\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM696010\\n\\t\\t\\t\\t// Presence of Inventory package\\n\\t\\t\\t\\t//#CM696011\\n\\t\\t\\t\\t// Clear the allocation of data, which passed the Plan data retention period (days), with Status flag = Standby Storage.\\n\\t\\t\\t\\tmoveSearchKey.KeyClear();\\n\\t\\t\\t\\tmoveSearchKey.setStatusFlag(Movement.STATUSFLAG_UNSTART);\\n\\t\\t\\t\\tmoveSearchKey.setWorkDate(delPlanDate, \\\"<=\\\");\\n\\n\\t\\t\\t\\t//#CM696012\\n\\t\\t\\t\\t// Check whether there is allocation of relocation work data to be cleared.\\n\\t\\t\\t\\tint count = moveHandler.count(moveSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (deleteMovement) --> Stock Allocate Clear Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\t\\tif(count > 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tStockHandler stockHandler = new StockHandler(conn);\\n\\t\\t\\t\\t\\tStockSearchKey stockSKey = new StockSearchKey();\\n\\t\\t\\t\\t\\tStockAlterKey stockAltKey = new StockAlterKey();\\n\\n\\t\\t\\t\\t\\t//#CM696013\\n\\t\\t\\t\\t\\t// Here, clear the allocated inventory only. Allow the following process to delete the work status of the allocated inventory that is cleared here.\\n\\t\\t\\t\\t\\t//#CM696014\\n\\t\\t\\t\\t\\t// \\n\\t\\t\\t\\t\\tMovement[] mov = (Movement[]) moveHandler.find(moveSearchKey);\\n\\t\\t\\t\\t\\tfor( int i = 0; i < mov.length; i++ )\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tallocateCancelStock(stockHandler, stockSKey, stockAltKey, mov[i].getStockId(), mov[i].getPlanQty());\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t//#CM696015\\n\\t\\t\\t// Delete the data with Status flag = Standby Storage and that passes the retention period (days) of Plan data.\\n\\t\\t\\tmoveSearchKey.KeyClear();\\n\\t\\t\\tmoveSearchKey.setStatusFlag(Movement.STATUSFLAG_UNSTART);\\n\\t\\t\\tmoveSearchKey.setWorkDate(delPlanDate, \\\"<=\\\");\\n\\t\\t\\tint count = moveHandler.count(moveSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (deleteMovement) --> Hold Date Over Movement Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif(count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tmoveHandler.drop(moveSearchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c293ebefbbbb66d2e05358a7e2a82b8c\",\n \"score\": \"0.58244705\",\n \"text\": \"protected void deleteRetrievalPlanAddStock(Connection conn, boolean unWorkDelete, String workDate\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t , String deleteDate, boolean stockPack)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\t//#CM695913\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\\n\\t\\t//#CM695914\\n\\t\\t// Planned Work Date <= Work Date (Completed, Deleted, or Standby)\\n\\t\\tString[] workStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_DELETE,\\n\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_UNSTART\\n\\t\\t};\\n\\t\\t\\n\\t\\t//#CM695915\\n\\t\\t// Conditions to delete the work status when selected to Delete Plan (Completed or Deleted)\\n\\t\\tString[] workStatusAdd = { RetrievalPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\n\\t\\t//#CM695916\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\\n\\t\\t//#CM695917\\n\\t\\t// Planned Work Date <= Work Date (Completed or Deleted)\\n\\t\\tString[] workStatus2 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t RetrievalPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\n\\t\\t//#CM695918\\n\\t\\t// Data that passed the retention period (days) (Standby)\\n\\t\\tString[][] saveStatus2 = { { RetrievalPlan.STATUS_FLAG_UNSTART, RetrievalPlan.SCH_FLAG_UNSTART }\\n\\t\\t};\\n\\t\\tint count = 0;\\n\\n\\t\\t//#CM695919\\n\\t\\t// Delete the work status.\\n\\t\\t//#CM695920\\n\\t\\t// Find the work status linked to the delete target data in the picking plan info .\\n\\t\\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695921\\n\\t\\t\\t// Search for data with status Not Worked even after processing the schedule through the work status using a hold-over condition.\\n\\t\\t\\t//#CM695922\\n\\t\\t\\t// Do not include any data with work status \\\"Standby\\\" in the conditions for delete.\\n\\t\\t\\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatusAdd);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695923\\n\\t\\t\\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (RetrievalPlan Add Stock Delete) --> WorkInformation Add Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695924\\n\\t\\t\\t// Delete the work status linked to the delete target in the picking plan info. .\\n\\t\\t\\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695925\\n\\t\\t// Delete the picking plan info.\\n\\t\\tRetrievalPlanHandler retrievalHandler = new RetrievalPlanHandler(conn);\\n\\t\\tRetrievalPlanSearchKey retrievalSearchKey = new RetrievalPlanSearchKey();\\n\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695926\\n\\t\\t\\t// Delete the picking plan info including data with status Not Worked in conditions.\\n\\t\\t\\t//#CM695927\\n\\t\\t\\t//\\t ( ( Status flag = Completed or Deleted or (Standby and with Schedule Processing flag \\\"Standby\\\")) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus1[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus1[1], \\\"=\\\", \\\"\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus1[2], \\\"=\\\", \\\"(\\\", \\\"\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setSchFlag(RetrievalPlan.SCH_FLAG_UNSTART, \\\"=\\\", \\\"\\\", \\\"))\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695928\\n\\t\\t\\t// Delete the picking plan info using a condition to hold over the data with status Not Worked.\\n\\t\\t\\t//#CM695929\\n\\t\\t\\t//\\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(workStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695930\\n\\t\\t\\t// Delete the picking plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695931\\n\\t\\t\\t//\\t ( Status flag = Standby and Schedule Processing flag = Standby) and Planned Picking Date <= Expiry date of retention )\\n\\t\\t\\tretrievalSearchKey.setStatusFlag(saveStatus2[0][0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setSchFlag(RetrievalPlan.SCH_FLAG_UNSTART, \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tretrievalSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tcount = retrievalHandler.count(retrievalSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (RetrievalPlan Add Stock Delete) --> RetrievalPlan Add Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif (count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695932\\n\\t\\t\\t\\t// Delete the picking plan info.\\n\\t\\t\\t\\tretrievalHandler.drop(retrievalSearchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5401308b263367cde46463756edff7e9\",\n \"score\": \"0.5749868\",\n \"text\": \"@Override\\n\\tpublic void delete() {\\n\\t\\tSystem.out.println(\\\"客户要求减少一个功能...\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7fc2b76b01bb80223c4684e35a085d5\",\n \"score\": \"0.5712223\",\n \"text\": \"protected void planDelete(Connection conn, boolean unWorkDelete, String workDate, String deleteDate, boolean stockPack)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\t//#CM695822\\n\\t\\t// Delete the receiving plan info.\\n\\t\\tdeleteInStockPlan(conn, unWorkDelete, workDate, deleteDate);\\n\\n\\t\\t//#CM695823\\n\\t\\t// Delete the Storage Plan info.\\n\\t\\tdeleteStoragePlan(conn, unWorkDelete, workDate, deleteDate);\\n\\n\\t\\t//#CM695824\\n\\t\\t// If Inventory package is \\\"Available\\\":\\n\\t\\tif (stockPack)\\n\\t\\t{\\n\\t\\t\\t//#CM695825\\n\\t\\t\\t// Delete the picking plan info.\\n\\t\\t\\tdeleteRetrievalPlanAddStock(conn, unWorkDelete, workDate, deleteDate, stockPack);\\n\\t\\t}\\n\\t\\t//#CM695826\\n\\t\\t// If Inventory package is \\\"Not Available\\\":\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695827\\n\\t\\t\\t// Delete the picking plan info.\\n\\t\\t\\tdeleteRetrievalPlan(conn, unWorkDelete, workDate, deleteDate, stockPack);\\n\\t\\t}\\n\\n\\t\\t//#CM695828\\n\\t\\t// Delete the sorting plan info.\\n\\t\\tdeleteSortingPlan(conn, unWorkDelete, workDate, deleteDate);\\n\\n\\t\\t//#CM695829\\n\\t\\t// Delete the shipping plan info.\\n\\t\\tdeleteShippingPlan(conn, unWorkDelete, workDate, deleteDate);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cee351007c50568f6f457989e444c4a1\",\n \"score\": \"0.5707608\",\n \"text\": \"public void deleteBudgetPeriod(){\\r\\n String mesg = null;\\r\\n int rowCount = budgetSummaryForm.tblBudgetSummary.getRowCount();\\r\\n CoeusVector cvfilteredLIDetails;\\r\\n int selectedRow = budgetSummaryForm.tblBudgetSummary.getSelectedRow();\\r\\n if(selectedRow < 0 ){\\r\\n mesg = coeusMessageResources.parseMessageKey(SELECT_BUDGET_PERIOD);\\r\\n CoeusOptionPane.showInfoDialog(mesg);\\r\\n return;\\r\\n }\\r\\n //Check if this period has Line item Details.If it has then Can't Delete.\\r\\n BudgetPeriodBean budgetPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(selectedRow);\\r\\n int budgetPeriod = budgetPeriodBean.getBudgetPeriod();\\r\\n try{\\r\\n if(rowCount==1){\\r\\n mesg = coeusMessageResources.parseMessageKey(CAN_NOT_DELETE_ALL_PERIODS);\\r\\n CoeusOptionPane.showInfoDialog(mesg);\\r\\n return;\\r\\n }\\r\\n //check whether the current period has any line items\\r\\n Equals periodEquals = new Equals(BUDGET_PERIOD, new Integer(budgetPeriod));\\r\\n cvfilteredLIDetails = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), BudgetDetailBean.class, periodEquals);\\r\\n if (cvfilteredLIDetails.size() > 0) {\\r\\n return ;\\r\\n }\\r\\n //check whether any of the later periods has line items\\r\\n GreaterThan periodGreaterThan = new GreaterThan(BUDGET_PERIOD, new Integer(budgetPeriod));\\r\\n cvfilteredLIDetails = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), BudgetDetailBean.class, periodGreaterThan);\\r\\n \\r\\n if (cvfilteredLIDetails.size() > 0) {\\r\\n CoeusOptionPane.showInfoDialog(\\\"Period \\\" +budgetPeriodBean.getBudgetPeriod()+ \\\" or one of the later periods have detail budget items. This period can not be deleted. \\\");\\r\\n return;\\r\\n }\\r\\n //Case #1626 Start 1\\r\\n deleteBudgetModularPeriod(periodEquals);\\r\\n //Case #1626 End 1\\r\\n budgetSummaryEditor.stopCellEditing();\\r\\n BudgetPeriodBean deletedPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(selectedRow);\\r\\n if(vecBudgetPeriodBean!=null && vecBudgetPeriodBean.size() > 0){\\r\\n deletedPeriodBean.setAcType(TypeConstants.DELETE_RECORD);\\r\\n queryEngine.delete(proposalId+versionNumber, deletedPeriodBean);\\r\\n vecBudgetPeriodBean.remove(selectedRow);\\r\\n budgetPeriodModel.fireTableRowsDeleted(selectedRow, selectedRow);\\r\\n modified = true;\\r\\n \\r\\n BeanEvent beanEvent = new BeanEvent();\\r\\n beanEvent.setBean(budgetPeriodBean);\\r\\n beanEvent.setSource(eventSource);\\r\\n fireBeanDeleted(beanEvent);\\r\\n \\r\\n //Case 1625 Start\\r\\n \\r\\n CoeusVector cvProjectIncome = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), ProjectIncomeBean.class, periodEquals);\\r\\n if(cvProjectIncome != null && cvProjectIncome.size()>0){\\r\\n for(int index = 0 ; index < cvProjectIncome.size(); index ++){\\r\\n ProjectIncomeBean deleteIncomeBean =\\r\\n (ProjectIncomeBean)cvProjectIncome.get(index);\\r\\n deleteIncomeBean.setAcType(TypeConstants.DELETE_RECORD);\\r\\n queryEngine.delete(proposalId+versionNumber, deleteIncomeBean);\\r\\n }\\r\\n }\\r\\n //Case 1625 End\\r\\n }\\r\\n // This logic is used to take n-1 period numbers in the budget period\\r\\n for(int index = selectedRow; index < vecBudgetPeriodBean.size(); index++) {\\r\\n budgetPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(index);\\r\\n budgetPeriodBean.setBudgetPeriod(budgetPeriodBean.getBudgetPeriod() - 1);\\r\\n modified=true;\\r\\n if (budgetPeriodBean.getAcType() == null) {\\r\\n budgetPeriodBean.setAcType(TypeConstants.UPDATE_RECORD);\\r\\n queryEngine.update(proposalId+versionNumber,budgetPeriodBean);\\r\\n } else {\\r\\n queryEngine.insert(proposalId+versionNumber,budgetPeriodBean);\\r\\n }\\r\\n \\r\\n }\\r\\n budgetPeriodModel.fireTableRowsUpdated(selectedRow, vecBudgetPeriodBean.size());\\r\\n BeanEvent beanEvent = new BeanEvent();\\r\\n beanEvent.setBean(budgetPeriodBean);\\r\\n beanEvent.setSource(eventSource);\\r\\n fireBeanUpdated(beanEvent);\\r\\n \\r\\n modified = true;\\r\\n if(selectedRow >0){\\r\\n budgetSummaryForm.tblBudgetSummary.setRowSelectionInterval(\\r\\n selectedRow-1,selectedRow-1);\\r\\n budgetSummaryForm.tblBudgetSummary.setColumnSelectionInterval(1,1);\\r\\n if(budgetSummaryForm.tblBudgetSummary.isCellEditable(selectedRow-1, START_DATE_COLUNM)){\\r\\n budgetSummaryForm.tblBudgetSummary.editCellAt(selectedRow-1, START_DATE_COLUNM);\\r\\n budgetSummaryForm.tblBudgetSummary.getEditorComponent().requestFocusInWindow();\\r\\n }else{\\r\\n budgetSummaryForm.chkFinal.requestFocusInWindow();\\r\\n }\\r\\n budgetSummaryForm.tblBudgetSummary.scrollRectToVisible(\\r\\n budgetSummaryForm.tblBudgetSummary.getCellRect(selectedRow-1 ,START_DATE_COLUNM, true));\\r\\n \\r\\n \\r\\n }else{\\r\\n if(budgetSummaryForm.tblBudgetSummary.getRowCount()>0){\\r\\n budgetSummaryForm.tblBudgetSummary.setRowSelectionInterval(0,0);\\r\\n }\\r\\n }\\r\\n calculateChangedCost();\\r\\n }catch (CoeusException coeusException) {\\r\\n coeusException.getMessage();\\r\\n }\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ae0b909fe024cafbc5b6272c763ccc4\",\n \"score\": \"0.56982243\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\t\\tString sql = \\\"Delete from tblmstimmunizationANS where ImmunizationGUID='\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ global.getImmunizationGUID() + \\\"'\\\";\\r\\n\\t\\t\\t\\t\\tdataProvider.executeSql(sql);\\r\\n\\t\\t\\t\\t\\tIntent i = new Intent(ImmunizationQuestionActivity.this,\\r\\n\\t\\t\\t\\t\\t\\t\\tImmunizationCounselling.class);\\r\\n\\t\\t\\t\\t\\tfinish();\\r\\n\\t\\t\\t\\t\\tstartActivity(i);\\r\\n\\t\\t\\t\\t\\tdialog.dismiss();\\r\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"419ceeba79abfa201d3ed41517d7a8c1\",\n \"score\": \"0.5689813\",\n \"text\": \"@Test\\n public void testNoActvPartRequirementOnInventoryOrSubInventory() throws Exception {\\n DataSet lDataSet;\\n\\n // Passed in TRK inventory\\n lDataSet = execute( new InventoryKey( \\\"4650:5\\\" ) );\\n\\n Assert.assertFalse( lDataSet.next() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e35c4267c51bf8b677e9f8ab3bba4005\",\n \"score\": \"0.5661202\",\n \"text\": \"protected void deleteShippingPlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\t//#CM695961\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\\n\\t\\t//#CM695962\\n\\t\\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\\n\\t\\tString[] workStatus1 = { ShippingPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t ShippingPlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t ShippingPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695963\\n\\t\\t// Data that passed the retention period (days) (Partially Completed)\\n\\t\\tString[] saveStatus1 = { ShippingPlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\t//#CM695964\\n\\t\\t//Requirements for status flags to be deleted if the data with status Not Worked are held over.\\n\\t\\t//#CM695965\\n\\t\\t// Planned Work Date <= Work Date (Completed or Deleted)\\n\\t\\tString[] workStatus2 = { ShippingPlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t ShippingPlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695966\\n\\t\\t// Data that passed the retention period (days) (Standby, Partially Completed)\\n\\t\\tString[] saveStatus2 = { ShippingPlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t ShippingPlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\tint count = 0;\\n\\n\\t\\t//#CM695967\\n\\t\\t// Delete the inventory information.\\n\\t\\t//#CM695968\\n\\t\\t// Find the Stock ID of the inventory information linked to the delete target data in the shipping plan info.\\n\\t\\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695969\\n\\t\\t\\t// Search for the data through the inventory information including data with status Not Worked in conditions.\\n\\t\\t\\tcount = systemStockFinder.ShippingPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695970\\n\\t\\t\\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = systemStockFinder.ShippingPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (ShippingPlan Delete) --> Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695971\\n\\t\\t\\t// Delete the inventory information linked to the delete target in the shipping plan info.\\n\\t\\t\\tdeleteStock_StockId(conn, systemStockFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695972\\n\\t\\t//Delete the work status.\\n\\t\\t//#CM695973\\n\\t\\t// Find the work status linked to the delete target data in the shipping plan info. .\\n\\t\\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695974\\n\\t\\t\\t// Search for the data through the Work status including data with status Not Worked in conditions.\\n\\t\\t\\tcount = sysWorkInfoFinder.ShippingPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695975\\n\\t\\t\\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = sysWorkInfoFinder.ShippingPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (ShippingPlan Delete) --> WorkInformation Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695976\\n\\t\\t\\t// Delete the work status linked to the delete target in the shipping plan info.\\n\\t\\t\\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695977\\n\\t\\t//Delete the shipping plan info.\\n\\t\\tShippingPlanHandler shippingHandler = new ShippingPlanHandler(conn);\\n\\t\\tShippingPlanSearchKey shippingSearchKey = new ShippingPlanSearchKey();\\n\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695978\\n\\t\\t\\t// Delete the shipping plan info including data with status Not Worked in conditions.\\n\\t\\t\\t//#CM695979\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \\n\\t\\t\\tshippingSearchKey.setStatusFlag(workStatus1[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tshippingSearchKey.setStatusFlag(workStatus1[1], \\\"=\\\", \\\"\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tshippingSearchKey.setStatusFlag(workStatus1[2], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tshippingSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695980\\n\\t\\t\\t// Delete the shipping plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695981\\n\\t\\t\\t//\\t ( Status flag = Partially Completed and Planned Shipping Date <= Expiry date of retention )\\n\\t\\t\\tshippingSearchKey.setStatusFlag(saveStatus1[0], \\\"=\\\", \\\"(\\\", \\\"\\\", \\\"and\\\");\\n\\t\\t\\tshippingSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695982\\n\\t\\t\\t// Delete the shipping plan info using a condition to hold over the data with status Not Worked.\\n\\t\\t\\t//#CM695983\\n\\t\\t\\t//\\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tshippingSearchKey.setStatusFlag(workStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tshippingSearchKey.setStatusFlag(workStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tshippingSearchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695984\\n\\t\\t\\t// Delete the shipping plan info that passed its retention period (days).\\n\\t\\t\\t//#CM695985\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Partially Completed ) and Planned Shipping Date <= Expiry date of retention )\\n\\t\\t\\tshippingSearchKey.setStatusFlag(saveStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tshippingSearchKey.setStatusFlag(saveStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tshippingSearchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tcount = shippingHandler.count(shippingSearchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (ShippingPlan Delete) --> ShippingPlan Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif (count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695986\\n\\t\\t\\t\\t// Delete the shipping plan info.\\n\\t\\t\\t\\tshippingHandler.drop(shippingSearchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"479fb7079b00310664225e1a22a3d814\",\n \"score\": \"0.5635677\",\n \"text\": \"@Override\\n\\tprotected void updateRepairPlan() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67c583879d7861f1a83672810b1519b8\",\n \"score\": \"0.5625741\",\n \"text\": \"int deleteByPrimaryKey(Integer pnPlanId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5f555841413de69942833aec94519bc\",\n \"score\": \"0.5622557\",\n \"text\": \"void unsetDataQuantity();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c9d5492df94ad1f0d9d72e36f96eb50\",\n \"score\": \"0.5599789\",\n \"text\": \"@Override\\n\\tpublic void execute()\\n\\t{\\n\\t\\tItemData removingItemData = DataUpdater.createItemData(this.item);\\n\\t\\tIProduct removingProduct = this.item.getProduct();\\n\\t\\tfor(ProductData dp: displayProducts)\\n\\t\\t\\tif(dp.getTag().equals(removingProduct))\\n\\t\\t\\t\\tthis.removingProductData = dp;\\n\\t\\tif(this.removingProductData == null)\\n\\t\\t{\\n\\t\\t\\tthis.productDataDidNotExist = true;\\n\\t\\t\\tthis.removingProductData =\\n\\t\\t\\t\\t\\tDataUpdater.createProductData(removingProduct);\\n\\t\\t\\tremovingProductData.setCount(\\\"1\\\");\\n\\t\\t\\tdisplayProducts.add(removingProductData);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\tint count = Integer.parseInt(this.removingProductData.getCount());\\n\\t\\t\\tcount++;\\n\\t\\t\\tthis.removingProductData.setCount(\\\"\\\" + count);\\n\\t\\t}\\n\\t\\taddItems(removingProductData, removingItemData);\\n\\n\\t\\tif(this.target.ableToRemoveItem(this.item))\\n\\t\\t\\tthis.target.removeItem(this.item);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56d71525b3714359c988d822f7dc272c\",\n \"score\": \"0.55937034\",\n \"text\": \"public void deProvision() {\\n log.info(\\\"Resource DeProvisioning started at: \\\" + new Date());\\n dbOperations = new DBOperations();\\n // 1. query from table to see resource map. (resource_type,List(resource_name) , ec2->List(i-123) )\\n Map> resourceMap = dbOperations.getResourcesFromDb();\\n\\n resourceMap.entrySet().forEach(entry -> {\\n //String resourcName = entry.getKey();\\n List resourcesName = entry.getValue();\\n // 2. Deprovision sequentially.\\n Resource resource = new ResourceFactory().createResource(entry.getKey());\\n resource.deProvisionResource(entry.getValue());\\n log.info(\\\"DeProvisioning \\\"+entry.getKey() + \\\" \\\" + entry.getValue());\\n\\n // 3. update state of resource in DB, with resource deporvisioned\\n try {\\n dbOperations.updateStateInDB(resourcesName,\\\"deprovisioned\\\");\\n } catch (SQLException throwables) {\\n throwables.printStackTrace();\\n }\\n });\\n dbOperations.closeDbConnection();\\n\\n log.info(\\\"Resource DeProvisioning finished at: \\\" + new Date());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"708ca2a5798d3deba569853ca38a2d96\",\n \"score\": \"0.5569595\",\n \"text\": \"@Test\\n public void testNoPartRequirementOnInventoryOrSubInventory() throws Exception {\\n DataSet lDataSet;\\n\\n // Passed in TRK inventory\\n lDataSet = execute( new InventoryKey( \\\"4650:1\\\" ) );\\n Assert.assertFalse( lDataSet.next() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21c719afca3b9f732fb805fcd94167b0\",\n \"score\": \"0.55612355\",\n \"text\": \"protected void deleteStoragePlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\t//#CM695858\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\\n\\t\\t//#CM695859\\n\\t\\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\\n\\t\\tString[] workStatus1 = { StoragePlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t StoragePlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t StoragePlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695860\\n\\t\\t// Data that passed the retention period (days) (Partially Completed)\\n\\t\\tString[] saveStatus1 = { StoragePlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\t//#CM695861\\n\\t\\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\\n\\t\\t//#CM695862\\n\\t\\t// Planned Work Date <= Work Date (Completed or Deleted)\\n\\t\\tString[] workStatus2 = { StoragePlan.STATUS_FLAG_COMPLETION,\\n\\t\\t\\t\\t\\t\\t\\t\\t StoragePlan.STATUS_FLAG_DELETE\\n\\t\\t};\\n\\t\\t//#CM695863\\n\\t\\t// Data that passed the retention period (days) (Standby, Partially Completed)\\n\\t\\tString[] saveStatus2 = { StoragePlan.STATUS_FLAG_UNSTART,\\n\\t\\t\\t\\t\\t\\t\\t\\t StoragePlan.STATUS_FLAG_COMPLETE_IN_PART\\n\\t\\t};\\n\\n\\t\\tint count = 0;\\n\\n\\t\\t//#CM695864\\n\\t\\t// Delete the inventory information.\\n\\t\\t//#CM695865\\n\\t\\t// Find the Stock ID of the inventory information linked to the delete target in the Storage Plan info. .\\n\\t\\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695866\\n\\t\\t\\t// Search for the data through the inventory information including data with status Not Worked in conditions.\\n\\t\\t\\tcount = systemStockFinder.StoragePlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695867\\n\\t\\t\\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = systemStockFinder.StoragePlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (StoragePlan Delete) --> Stock Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695868\\n\\t\\t\\t// Delete the inventory information linked to the delete target in the Storage Plan info. .\\n\\t\\t\\tdeleteStock_StockId(conn, systemStockFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695869\\n\\t\\t// Delete the work status.\\n\\t\\t//#CM695870\\n\\t\\t// Find the work status linked to the delete target in the Storage Plan info .\\n\\t\\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695871\\n\\t\\t\\t// Search for the data through the Work status including data with status Not Worked in conditions.\\n\\t\\t\\tcount = sysWorkInfoFinder.StoragePlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695872\\n\\t\\t\\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\\n\\t\\t\\tcount = sysWorkInfoFinder.StoragePlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\\n\\t\\t}\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (StoragePlan Delete) --> WorkInformation Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\tif( count > 0 )\\n\\t\\t{\\n\\t\\t\\t//#CM695873\\n\\t\\t\\t// Delete the Work status linked to the Storage plan info subject to delete.\\n\\t\\t\\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\\n\\t\\t}\\n\\n\\t\\t//#CM695874\\n\\t\\t// Delete the Storage Plan info.\\n\\t\\tStoragePlanHandler storageHandler = new StoragePlanHandler(conn);\\n\\t\\tStoragePlanSearchKey storageSerchKey = new StoragePlanSearchKey();\\n\\n\\t\\tif( unWorkDelete )\\n\\t\\t{\\n\\t\\t\\t//#CM695875\\n\\t\\t\\t// Delete the Storage Plan info including data with status Not Worked in conditions.\\n\\t\\t\\t//#CM695876\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \\n\\t\\t\\tstorageSerchKey.setStatusFlag(workStatus1[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tstorageSerchKey.setStatusFlag(workStatus1[1], \\\"=\\\", \\\"\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tstorageSerchKey.setStatusFlag(workStatus1[2], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tstorageSerchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695877\\n\\t\\t\\t// Delete the Storage Plan info that exceeds retention period (days).\\n\\t\\t\\t//#CM695878\\n\\t\\t\\t//\\t ( Status flag = Partially Completed and Planned Storage Date <= Expiry date of retention )\\n\\t\\t\\tstorageSerchKey.setStatusFlag(saveStatus1[0], \\\"=\\\", \\\"(\\\", \\\"\\\", \\\"and\\\");\\n\\t\\t\\tstorageSerchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\t//#CM695879\\n\\t\\t\\t// Delete the Storage Plan info using a condition to hold over the data with status Not Worked.\\n\\t\\t\\t//#CM695880\\n\\t\\t\\t//\\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\\n\\t\\t\\tstorageSerchKey.setStatusFlag(workStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tstorageSerchKey.setStatusFlag(workStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tstorageSerchKey.setPlanDate(workDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\n\\t\\t\\t//#CM695881\\n\\t\\t\\t// Delete the Storage Plan info that exceeds retention period (days).\\n\\t\\t\\t//#CM695882\\n\\t\\t\\t//\\t ( ( Status flag = Standby or Partially Completed ) and Planned Storage Date <= Expiry date of retention )\\n\\t\\t\\tstorageSerchKey.setStatusFlag(saveStatus2[0], \\\"=\\\", \\\"((\\\", \\\"\\\", \\\"or\\\");\\n\\t\\t\\tstorageSerchKey.setStatusFlag(saveStatus2[1], \\\"=\\\", \\\"\\\", \\\")\\\", \\\"and\\\");\\n\\t\\t\\tstorageSerchKey.setPlanDate(deleteDate, \\\"<=\\\", \\\"\\\", \\\")\\\", \\\"or\\\");\\n\\t\\t}\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tcount = storageHandler.count(storageSerchKey);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" (StoragePlan Delete) --> StoragePlan Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif (count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695883\\n\\t\\t\\t\\t// Delete the Storage Plan info.\\n\\t\\t\\t\\tstorageHandler.drop(storageSerchKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c515ea215af526f7efe3312f7a58875\",\n \"score\": \"0.555924\",\n \"text\": \"public static String _del_quest() throws Exception{\\nmostCurrent._imageview1.setVisible(anywheresoftware.b4a.keywords.Common.True);\\n //BA.debugLineNum = 486;BA.debugLine=\\\"dpm1.Visible=False\\\";\\nmostCurrent._dpm1.setVisible(anywheresoftware.b4a.keywords.Common.False);\\n //BA.debugLineNum = 488;BA.debugLine=\\\"ImageView1.Bitmap=LoadBitmap(File.DirAssets,\\\\\\\"Acce\\\";\\nmostCurrent._imageview1.setBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),\\\"Accept128.png\\\").getObject()));\\n //BA.debugLineNum = 489;BA.debugLine=\\\"Label1.Text= \\\\\\\"clear RAM and close..\\\\\\\"\\\";\\nmostCurrent._label1.setText(BA.ObjectToCharSequence(\\\"clear RAM and close..\\\"));\\n //BA.debugLineNum = 491;BA.debugLine=\\\"real_delete\\\";\\n_real_delete();\\n //BA.debugLineNum = 492;BA.debugLine=\\\"End Sub\\\";\\nreturn \\\"\\\";\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6ba9282fcd4f9e6bbfdb385ff95a9e3\",\n \"score\": \"0.5557871\",\n \"text\": \"public void deletePR( EAIMMCtxtIfc theCtxt) throws EAIException {\\r\\n\\r\\n super.deletePR( theCtxt);\\r\\n\\r\\n \\r\\n\\r\\n \\r\\n // When deleting unlink related SuperModule\\r\\n setSuperModule( theCtxt, null);\\r\\n\\r\\n\\r\\n // When deleting : delete related SubModules\\r\\n com.dosmil_e.m3.core.ifc.M3ModuleIfc[] someSubModules = getSubModules( theCtxt);\\r\\n if( someSubModules != null) {\\r\\n int aSubModulesLength = someSubModules.length;\\r\\n for( int anIndex = 0 ; anIndex < aSubModulesLength ; anIndex++) {\\r\\n com.dosmil_e.m3.core.ifc.M3ModuleIfc aSubModules = someSubModules[ anIndex];\\r\\n if( aSubModules != null) {\\r\\n com.dosmil_e.m3.core.impl.M3ModuleImpl aSubModulesImpl = null;\\r\\n try { aSubModulesImpl = (com.dosmil_e.m3.core.impl.M3ModuleImpl) aSubModules;} catch( ClassCastException anEx) {}\\r\\n if( aSubModulesImpl != null) {\\r\\n aSubModulesImpl.delete( theCtxt);\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n \\r\\n\\r\\n // When deleting : delete related Types\\r\\n com.dosmil_e.m3.core.ifc.M3TypeIfc[] someTypes = getTypes( theCtxt);\\r\\n if( someTypes != null) {\\r\\n int aTypesLength = someTypes.length;\\r\\n for( int anIndex = 0 ; anIndex < aTypesLength ; anIndex++) {\\r\\n com.dosmil_e.m3.core.ifc.M3TypeIfc aTypes = someTypes[ anIndex];\\r\\n if( aTypes != null) {\\r\\n com.dosmil_e.m3.core.impl.M3TypeImpl aTypesImpl = null;\\r\\n try { aTypesImpl = (com.dosmil_e.m3.core.impl.M3TypeImpl) aTypes;} catch( ClassCastException anEx) {}\\r\\n if( aTypesImpl != null) {\\r\\n aTypesImpl.delete( theCtxt);\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n \\r\\n\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2006dbca6686313e9833134be286c1d8\",\n \"score\": \"0.55556613\",\n \"text\": \"String deleteProcessesCasesDialogbox();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32c940fc7e6afe71b7a4c31383d787f6\",\n \"score\": \"0.55526125\",\n \"text\": \"@Override\\n public void delete() {\\n String sqlStmnt = String.format(\\n \\\"DELETE FROM `labour_costs` \\\" +\\n \\\"WHERE 'company_id' = '%s';\\\",\\n companyID\\n );\\n DB.delete(TABLE, sqlStmnt);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a3872bbd8b8bbde5a72f8085a60e2b9\",\n \"score\": \"0.5543518\",\n \"text\": \"private static void deleteCancelledOrders() {\\n\\t try{\\n\\t String validateOrder = \\\"\\\";\\n\\t System.out.println(\\\"[INPUT] Are you sure you want to delete all cancelled orders? [Ex: yes/no]\\\");\\n\\t validateOrder = keyboard.readLine();\\n\\t \\n\\t if(validateOrder.equals(\\\"yes\\\")){\\n\\t Statement DelStmt= conn.createStatement();\\n\\t String DeleteRecord = \\\" DELETE FROM Orders WHERE ordStatus = 'cancelled' \\\";\\n\\t DelStmt.executeUpdate(DeleteRecord);\\n\\t System.out.println(\\\"[RESULT] Record(s) deleted\\\");\\n\\t System.out.println();\\n\\t }\\n\\t else{\\n\\t System.out.println(\\\"[RESULT] Going to main menu..\\\");\\n\\t System.out.println();\\n\\t }\\n\\t \\n\\t }\\n\\t catch (Exception e){\\n\\t System.out.println();\\n\\t printException(\\\"Exception\\\",e.toString());\\n\\t }\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a1d164699f2945da514b56588ff2d0d\",\n \"score\": \"0.5532145\",\n \"text\": \"public void deletePghs194a300() {\\n sqlSttmt = \\\"DELETE FROM VWSDGHPS20001_MOVEXGDEP \\\" +\\n \\\" WHERE \\\" +\\n \\\"C_PAIS_ISOA_CONT = :cPaisIsoaCont AND C_BANC_CONT = :cBancCont AND \\\" +\\n \\\"C_OE_EGC_CONT = :cOeEgcCont AND \\\" +\\n \\\"NS_RDCL_CONT = :nsRdclCont AND \\\" +\\n \\\"V_CHKD_CONT = :vChkdCont AND \\\" +\\n \\\"C_TIPO_CONT = :cTipoCont AND \\\" +\\n \\\"C_MOED_ISO_SCTA = :cMoedIsoScta AND \\\" +\\n \\\"NS_DEPOSITO = :nsDeposito AND \\\" +\\n \\\"NS_MOVIMENTO = :nsMovimento AND \\\" +\\n \\\"C_EST_EXTS_GAR_DEP = :cEstExtsGarDep\\\" ;\\n setQueryStatement(sqlSttmt) ;\\n setQueryArgument( \\\"cPaisIsoaCont\\\", movexgdep().cPaisIsoaCont() ) ;\\n setQueryArgument( \\\"cBancCont\\\", movexgdep().cBancCont() ) ;\\n setQueryArgument( \\\"cOeEgcCont\\\", movexgdep().cOeEgcCont() ) ;\\n setQueryArgument( \\\"nsRdclCont\\\", movexgdep().nsRdclCont() ) ;\\n setQueryArgument( \\\"vChkdCont\\\", movexgdep().vChkdCont() ) ;\\n setQueryArgument( \\\"cTipoCont\\\", movexgdep().cTipoCont() ) ;\\n setQueryArgument( \\\"cMoedIsoScta\\\", movexgdep().cMoedIsoScta() ) ;\\n setQueryArgument( \\\"nsDeposito\\\", movexgdep().nsDeposito() ) ;\\n setQueryArgument( \\\"nsMovimento\\\", movexgdep().nsMovimento() ) ;\\n setQueryArgument( \\\"cEstExtsGarDep\\\", movexgdep().cEstExtsGarDep() ) ;\\n executeUpdate() ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0261119f80aa9851e1a54b789e145aa\",\n \"score\": \"0.5528809\",\n \"text\": \"@Override\\r\\npublic void delete(int pid) {\\r\\n\\t\\r\\n\\ttry {\\r\\n\\t\\tConnectionManager cm = new ConnectionManager();\\r\\n\\t\\tConnection con = cm.getConnection();\\r\\n\\t\\tString sql = \\\"DELETE FROM productsinStore WHERE pid=?\\\";\\r\\n\\t\\tPreparedStatement ps = con.prepareStatement(sql);\\r\\n\\t\\tps.setInt(1, pid);\\r\\n\\t\\tint status = ps.executeUpdate();\\r\\n//\\t\\t\\r\\n\\tif(status > 0) {\\r\\n\\t\\t\\tSystem.out.println(\\\"**********************PRODUCT DELETED SUCCESSFULLY****************************\\\");\\r\\n\\t\\t\\tcon.close();\\r\\n\\t\\t}else {\\r\\n\\t\\t\\tSystem.out.println(\\\"**********************PRODUCT DOES NOT EXSIST**********************************\\\");\\r\\n\\t\\t\\tcon.close();\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}catch (Exception e) \\r\\n\\t{\\r\\n\\t\\te.printStackTrace();\\r\\n\\t}\\r\\n\\t\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e9f24a24e70b8aaae63f572a0c45f86\",\n \"score\": \"0.5527977\",\n \"text\": \"public void deleteOrderQuantity() {\\r\\n/* 121 */ this._has_orderQuantity = false;\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f47b29183459232c5e032045db2c80ae\",\n \"score\": \"0.55261844\",\n \"text\": \"private static void deleteIncompleteOrders() {\\n\\t try{\\n\\t String validateOrder = \\\"\\\";\\n\\t System.out.println(\\\"[INPUT] Are you sure you want to delete all incomplete orders? [Ex: yes/no]\\\");\\n\\t validateOrder = keyboard.readLine();\\n\\t \\n\\t if(validateOrder.equals(\\\"yes\\\")){\\n\\t Statement DelStmt= conn.createStatement();\\n\\t String DeleteRecord = \\\" DELETE FROM Orders WHERE ordStatus = 'incomplete' \\\";\\n\\t DelStmt.executeUpdate(DeleteRecord);\\n\\t System.out.println(\\\"[RESULT] Record(s) deleted\\\");\\n\\t System.out.println();\\n\\t }\\n\\t else{\\n\\t System.out.println(\\\"[RESULT] Going to main menu..\\\");\\n\\t System.out.println();\\n\\t }\\n\\t \\n\\t }\\n\\t catch (Exception e){\\n\\t System.out.println();\\n\\t printException(\\\"Exception\\\",e.toString());\\n\\t }\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"820cd82bcb4ab08b018deebca2f05962\",\n \"score\": \"0.54908943\",\n \"text\": \"public void deleteOrder() throws Exception{\\n int order_id = newView.askId();\\n try{\\n Ordercl toDelete = newConn.readOrder(order_id);\\n newConn.deleteOrder(toDelete);\\n System.out.println(\\\"Delete ok\\\");}\\n catch(Exception e){\\n System.out.println(e.getMessage());\\n deleteOrder();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9887c8e8f66cc6309f535f536296825a\",\n \"score\": \"0.54763585\",\n \"text\": \"public abstract void cleanPackage(long packid) throws DboxException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e118daf885dcdd1c5ce6264cb0edcc5\",\n \"score\": \"0.54663223\",\n \"text\": \"public synchronized void delete(){\\n \\tsvsCommands.append(SVSCommands.delete(getIdString()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4586467881c3739f9383ba5949b1b7a5\",\n \"score\": \"0.54618204\",\n \"text\": \"public void DeleteHodAuditplan_schedule_memo()throws InterruptedException, IOException\\n\\t{\\n\\t\\ttry{\\n\\t\\t\\tmCreateArtefactsFolder(\\\"ADT_\\\");\\n\\t\\t\\tmOpenBrowser(mGetPropertyFromFile(\\\"browserName\\\"));\\n\\t\\t\\tmGetURL(mGetPropertyFromFile(\\\"url\\\"));\\n\\t\\t\\tselectUlb();\\n\\t\\t\\tdepartmentLogin(mGetPropertyFromFile(\\\"adt_AsgnHODName\\\"),mGetPropertyFromFile(\\\"adt_AsgnHodPassword\\\"));\\n\\t\\t\\tdelHodAuditplan_schedule_memo();\\n\\t\\t\\tlogOut();\\n\\t\\t\\tfinalLogOut();\\n\\t\\t\\tmCloseBrowser();\\n\\t\\t}\\n\\t\\tcatch(Exception e)\\n\\t\\t{\\n\\t\\t\\te.printStackTrace();\\t\\t\\t\\n\\t\\t\\tthrow new MainetCustomExceptions(\\\"Error in DeleteHodAuditplan_schedule_memo method\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87f16c899f6d6000deac588dffaf94bf\",\n \"score\": \"0.5461699\",\n \"text\": \"public static void Query18( Travel4u esql ) {\\n\\n\\t\\ttry {\\n\\t\\t\\tString query = \\\"DELETE FROM trip_package WHERE packageid = \\\";\\n\\t\\t\\tSystem.out.print(\\\"Enter Package ID: \\\");\\n\\t\\t\\tString input = in.readLine();\\n\\t\\t\\tquery += input;\\n\\t\\t\\t\\n\\t\\t\\tesql.executeUpdate( query );\\n\\t\\t}\\n\\t\\tcatch( Exception e ) {\\n\\t\\t\\tSystem.err.println( e.getMessage() );\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce6326d3dad391cf67e26319c80494f3\",\n \"score\": \"0.5456103\",\n \"text\": \"public void execute()\\n \\t{\\n \\t\\tfinal Object[] args = {_sqlDriver.getName()};\\n \\t\\tfinal DataCache cache = _app.getDataCache();\\n \\t\\tIterator it = cache.getAliasesForDriver(_sqlDriver);\\n \\t\\tif (it.hasNext())\\n \\t\\t{\\n\\t\\t\\tDialogs.showOk(_frame, s_stringMgr.getString(\\\"DeleteDriverCommand.used\\\", args));\\n \\t\\t}\\n \\t\\telse\\n \\t\\t{\\n \\t\\t\\tif (Dialogs.showYesNo(_frame, s_stringMgr.getString(\\\"DeleteDriverCommand.comfirm\\\", args)))\\n \\t\\t\\t{\\n \\t\\t\\t\\tcache.removeDriver(_sqlDriver);\\n \\t\\t\\t}\\n \\t\\t}\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a9beaf8497f20d14155158b44bf50dc\",\n \"score\": \"0.54522675\",\n \"text\": \"public void unplan(){\\n isPlanned = false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af56e706b9ea18e0be026746a1b64b9a\",\n \"score\": \"0.5450617\",\n \"text\": \"private void doDelete(VOPackage vo) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c92d5c1476d5aabd1cc2c238e39b4fd8\",\n \"score\": \"0.54491115\",\n \"text\": \"protected void deleteWorkingInformation_PlanUkey(Connection conn, SystemWorkingInformationFinder vfinder)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException\\n\\t{\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tSystemWorkingInformationHandler sysWorkInfoHandler = new SystemWorkingInformationHandler(conn);\\n\\n\\t\\t\\twhile (vfinder.isNext())\\n\\t\\t\\t{\\n\\t\\t\\t\\t//#CM695991\\n\\t\\t\\t\\t// Obtain every 100 the search results.\\n\\t\\t\\t\\tString[] planUkey = vfinder.getPlanUkeyArray(100);\\n\\t\\t\\t\\tif( planUkey.length > 0 )\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t//#CM695992\\n\\t\\t\\t\\t\\t// Delete the work status using the obtained plan unique key.\\n\\t\\t\\t\\t\\tsysWorkInfoHandler.dropWorkInfo_MultiPlanUkey(planUkey);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t\\tthrow new ReadWriteException(e.getMessage());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be3dd2cdceedbb9656480c1f6b015bb0\",\n \"score\": \"0.54416853\",\n \"text\": \"public static void RemoveAbusePa() throws Exception {\\n\\t\\tAPP_LOGGER.startFunction(\\\"RemovePAAbuse\\\");\\n\\t\\tString retval = Globals.KEYWORD_FAIL;\\n\\t\\tString tempRetval=Globals.KEYWORD_FAIL;\\n\\t\\tint timeOutinSeconds=20;\\n\\t\\ttry {\\n\\t\\t\\t\\n\\t\\t\\tGlobals.testSuiteXLS.setCellData_inTestData(\\\"AddressState\\\", \\\"Florida\\\");\\n\\t\\t\\tGlobals.testSuiteXLS.setCellData_inTestData(\\\"AddressZipCode\\\", \\\"32007\\\");\\n\\t sc.clickWhenElementIsClickable(\\\"invitationStep4_back_btn\\\",timeOutinSeconds);\\n\\t \\tretval= ClientFacingApp.invitationOrderStep1();\\n\\t \\tGlobals.testSuiteXLS.setCellData_inTestData(\\\"PositionProducts\\\", \\\"L1\\\");\\n\\t\\t\\tretval= ClientFacingApp.invitationOrderStep2();\\n\\t\\t\\tretval= ClientFacingApp.invitationOrderStep3();\\n\\t\\t\\ttempRetval=sc.waitforElementToDisplay(\\\"invitationStep4_infoCorrect_chk\\\", 60);\\n\\t\\t\\tsc.clickWhenElementIsClickable(\\\"invitationStep4_infoCorrect_chk\\\",timeOutinSeconds);\\n\\t\\t\\tsc.clickWhenElementIsClickable(\\\"invitationStep4_fastPassNo_chk\\\", timeOutinSeconds);\\n\\t\\t\\tverifyPricingStep4();\\n\\t\\t\\tGlobals.testSuiteXLS.setCellData_inTestData(\\\"AddressState\\\", \\\"Pennsylvania\\\");\\n\\t\\t\\tGlobals.testSuiteXLS.setCellData_inTestData(\\\"AddressZipCode\\\", \\\"15001\\\");\\n\\t \\tGlobals.testSuiteXLS.setCellData_inTestData(\\\"PositionProducts\\\", \\\"L1-ABUSE\\\");\\n\\t \\t\\n\\t\\t\\t\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tlog.error(\\\"Method-CreateInvitationOrder | Unable to create Invitation Order | Exception - \\\"+ e.toString());\\n\\t\\t\\tretval = Globals.KEYWORD_FAIL;\\n\\t\\t\\tthrow e;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ba746f5513e658c5cb997b6b9ec1e71\",\n \"score\": \"0.5439075\",\n \"text\": \"public void drop_stockTemp(){\\n \\n try {\\n Statement con = dbConnection.db().createStatement();\\n con.executeUpdate(\\\"DROP TABLE stock_temp\\\" );\\n } catch (Exception ex) {\\n Logger.getLogger(mainWindow.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f5536d53ec5d72c71a8fd323ada0d6d\",\n \"score\": \"0.54266983\",\n \"text\": \"public void delHodAuditplan_schedule_memo() {\\n\\n\\t\\ttry{\\n\\t\\t\\t/*\\t\\t\\t\\t\\n\\t\\t\\t\\t// to delete audit memo\\t\\t\\t\\t\\n\\t\\t\\t\\t//navigate audit memo Link \\n\\n\\t\\t\\t\\tif(mGetPropertyFromFile(\\\"adt_deleteAuditMemo\\\").equalsIgnoreCase(\\\"yes\\\"))\\n\\t\\t\\t{\\t\\n\\t\\t\\t\\tmNavigation((\\\"adt_AmAuditLinkid\\\"),(\\\"adt_AmTransactionsLinkid\\\"),(\\\"adt_AmAuditMemoLinkid\\\"));\\n\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t//Searching Audit Application\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\",mGetPropertyFromFile(\\\"adt_AmSearchAuditNoIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_AmSearchAuditNoIconid\\\"));\\n\\n\\t\\t\\t\\t//Sending application Number\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\", mGetPropertyFromFile(\\\"adt_AmSearchAuditByTextid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t//\\t\\t\\tmSendKeys(\\\"id\\\",mGetPropertyFromFile(\\\"adt_AmSearchAuditByTextid\\\"), auditNumber);\\n\\t\\t\\t\\tIndOrDep(\\\"id\\\", \\\"adt_AmSearchAuditByTextid\\\", \\\"applicationNo\\\");\\n\\n\\t\\t\\t\\tmTab(\\\"id\\\",mGetPropertyFromFile(\\\"adt_AmSearchAuditByTextid\\\"));\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t//fancy search button\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\", mGetPropertyFromFile(\\\"adt_AmSearchAuditAtFancyBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"id\\\", mGetPropertyFromFile(\\\"adt_AmSearchAuditAtFancyBtnid\\\"));\\n\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t//View Details Img Link\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_AmViewDetailsImgid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_AmViewDetailsImgid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t// to delete Audit Memo list \\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_AmDeleteIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_AmDeleteIconid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_AmDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_AmDeleteBtnid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_AmDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tString FancyMsg = mGetText(\\\"css\\\", mGetPropertyFromFile(\\\"adt_AmAfterDelAssertMsgid\\\"));\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tSystem.out.println(FancyMsg);\\n\\t\\t\\t\\tmAssert(FancyMsg, mGetPropertyFromFile(\\\"adt_AmAfterDelAssertMsgdata\\\"),\\\"Actual :\\\"+FancyMsg+\\\" Expected :\\\"+mGetPropertyFromFile(\\\"adt_AmAfterDelAssertMsgdata\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\t\\n\\t\\t\\t\\tmClick(\\\"css\\\",mGetPropertyFromFile(\\\"adt_AmDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t// final submit button\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\",mGetPropertyFromFile(\\\"adt_AmAuditMemoAppSubBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_AmAuditMemoAppSubBtnid\\\"));\\n\\n\\t\\t\\t\\t// Proceed Button\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\",mGetPropertyFromFile(\\\"adt_AmAuditMemoAppProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tString msgAtAuditMemoFinlSub = mGetText(\\\"css\\\",mGetPropertyFromFile(\\\"adt_AmAuditMemoProcdAssertMsgid\\\"));\\n\\t\\t\\t\\tmAssert(msgAtAuditMemoFinlSub,mGetPropertyFromFile(\\\"adt_AmAuditMemoProcdAssertMsgdata\\\"),\\\" Actual :\\\"+ msgAtAuditMemoFinlSub+ \\\" Expected :\\\"+ mGetPropertyFromFile(\\\"adt_AmAuditMemoProcdAssertMsgdata\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tSystem.out.println(msgAtAuditMemoFinlSub);\\n\\n\\t\\t\\t\\tmClick(\\\"id\\\", mGetPropertyFromFile(\\\"adt_AmAuditMemoAppProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmWaitForVisible(\\\"linkText\\\", mGetPropertyFromFile(\\\"logoutid\\\"));\\n\\t\\t\\t}\\t\\n\\n\\n\\t\\t\\t\\t// to delete Schedule audit \\n\\t\\t\\t\\t// navigate Schedule Audit Link\\n\\n\\n\\t\\t\\t\\tif(mGetPropertyFromFile(\\\"adt_DeleteAuditSchedule\\\").equalsIgnoreCase(\\\"yes\\\"))\\n\\t\\t\\t{\\t\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"linkText\\\", mGetPropertyFromFile(\\\"adt_SaAuditScheduleLinkid\\\"));\\n\\n\\t\\t\\t\\t//Search Audit Number\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\", mGetPropertyFromFile(\\\"adt_SaAutoTxtSearchAppid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\t//\\t\\t\\tmSelectDropDown(\\\"id\\\", mGetPropertyFromFile(\\\"adt_SaAutoTxtSearchAppid\\\"), auditNumber);\\n\\t\\t\\t\\tIndOrDep(\\\"id\\\", \\\"adt_SaAutoTxtSearchAppid\\\", \\\"applicationNo\\\");\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Search Button\\n\\t\\t\\t\\tmWaitForVisible(\\\"linkText\\\", mGetPropertyFromFile(\\\"adt_SaSearchAppBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"linkText\\\", mGetPropertyFromFile(\\\"adt_SaSearchAppBtnid\\\"));\\n\\n\\t\\t\\t\\t//View Details\\n\\t\\t\\t\\t//\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaViewAppImgid\\\"));\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_SaViewAppImgid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\t//\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaViewAppImgid\\\"));\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_SaViewAppImgid\\\"));\\n\\n\\t\\t\\t\\t//getting text\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_SaNoAtScheduleAuditid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\n\\n\\t\\t\\t\\t// to delete Audit Schedule Details \\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_SaDeleteIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_SaDeleteIconid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaDeleteBtnid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tString FanMsg = mGetText(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaAfterDelAssertMsgid\\\"));\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tSystem.out.println(FanMsg);\\n\\t\\t\\t\\tmAssert(FanMsg, mGetPropertyFromFile(\\\"adt_SaAfterDelAssertMsgdata\\\"),\\\"Actual :\\\"+FanMsg+\\\" Expected :\\\"+mGetPropertyFromFile(\\\"adt_SaAfterDelAssertMsgdata\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\t\\n\\t\\t\\t\\tmClick(\\\"css\\\",mGetPropertyFromFile(\\\"adt_SaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Final submit button\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaAuditorSchedleAftrSubInputBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaAuditorSchedleAftrSubInputBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Proceed button\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\", mGetPropertyFromFile(\\\"adt_SaAuditorSchdleProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tString msgAtFinlSubBtn = mGetText(\\\"css\\\", mGetPropertyFromFile(\\\"adt_SaSchdlePlnFinalSubAssertid\\\"));\\n\\t\\t\\t\\tmAssert(msgAtFinlSubBtn, mGetPropertyFromFile(\\\"adt_SaSchdlePlnFinalSubAssertdata\\\"), \\\" Actual :\\\"+msgAtFinlSubBtn+\\\" Expected :\\\"+ mGetPropertyFromFile(\\\"adt_SaSchdlePlnFinalSubAssertdata\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"id\\\", mGetPropertyFromFile(\\\"adt_SaAuditorSchdleProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tSystem.out.println(msgAtFinlSubBtn);\\n\\t\\t\\t\\tmTakeScreenShot();\\n mWaitForVisible(\\\"linkText\\\", mGetPropertyFromFile(\\\"logoutid\\\"));\\n\\t\\t\\t}\\t\\n\\t\\t\\t */ \\n\\n\\n\\n\\n\\t\\t\\t// to delete audit plan\\n\\t\\t\\t// navigate Audit plan Link\\n\\n\\t\\t\\tif(mGetPropertyFromFile(\\\"adt_DeleteAuditPlan\\\").equalsIgnoreCase(\\\"yes\\\"))\\n\\t\\t\\t{ \\n\\t\\t\\t\\tmNavigation((\\\"adt_PaAuditLinkid\\\"),(\\\"adt_PaTransactionLinkid\\\"),(\\\"adt_PaAuditPlanLinkid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t//to delete Audit Plan Details \\n\\n\\t\\t\\t\\tIndOrDep(\\\"id\\\", \\\"adt_PaAuditNoSearchid\\\", \\\"applicationNo\\\");\\n\\t\\t\\t\\t//\\t\\t\\t\\tmSelectDropDown(\\\"id\\\", mGetPropertyFromFile(\\\"adt_PaAuditNoSearchid\\\"), mGetPropertyFromFile(\\\"adt_PaAuditNoSearchdata\\\"));\\n\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"linkText\\\", mGetPropertyFromFile(\\\"adt_PaSearchBtnid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaViewDetailsIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaViewDetailsIconid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaDeleteIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaDeleteIconid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaDeleteBtnid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tString FaMsg = mGetText(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaAfterDelAssertMsgid\\\"));\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tSystem.out.println(FaMsg);\\n\\t\\t\\t\\tmAssert(FaMsg, mGetPropertyFromFile(\\\"adt_PaAfterDelAssertMsgdata\\\"),\\\"Actual :\\\"+FaMsg+\\\" Expected :\\\"+mGetPropertyFromFile(\\\"adt_PaAfterDelAssertMsgdata\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\t\\n\\t\\t\\t\\tmClick(\\\"css\\\",mGetPropertyFromFile(\\\"adt_PaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Final submit button\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaFinalSubBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaFinalSubBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Proceed button\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\", mGetPropertyFromFile(\\\"adt_PaPlanAuditProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"id\\\", mGetPropertyFromFile(\\\"adt_PaPlanAuditProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(2000);\\n\\t\\t\\t\\tmTakeScreenShot();\\t\\t\\n\\t\\t\\t\\tmWaitForVisible(\\\"linkText\\\", mGetPropertyFromFile(\\\"logoutid\\\"));\\n\\t\\t\\t}\\t\\n\\n\\n\\t\\t\\t/* \\t\\t\\t\\t\\n\\t\\t\\t\\t// to delete assign HOD \\n\\t\\t\\t\\t// navigate assign HOD Link\\n\\n\\t\\t\\t\\tif(mGetPropertyFromFile(\\\"adt_deleteAssignHod\\\").equalsIgnoreCase(\\\"yes\\\"))\\n\\t\\t\\t{\\n mNavigation((\\\"ADT_MasterLinkid\\\"),(\\\"ADT_AssignHODLinkid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\t//to delete Assign Hod \\n\\n\\t\\t\\t\\tmSelectDropDown(\\\"id\\\", mGetPropertyFromFile(\\\"adt_PaAuditNoSearchid\\\"), mGetPropertyFromFile(\\\"adt_PaAuditNoSearchdata\\\"));\\n\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"linkText\\\", mGetPropertyFromFile(\\\"adt_PaSearchBtnid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaViewDetailsIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaViewDetailsIconid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaDeleteIconid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"xpath\\\", mGetPropertyFromFile(\\\"adt_PaDeleteIconid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaDeleteBtnid\\\"));\\n\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1000);\\n\\n\\t\\t\\t\\tString delMsg = mGetText(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaAfterDelAssertMsgid\\\"));\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\t\\t\\t\\tmCustomWait(1500);\\n\\t\\t\\t\\tSystem.out.println(delMsg);\\n\\t\\t\\t\\tmAssert(delMsg, mGetPropertyFromFile(\\\"adt_PaAfterDelAssertMsgdata\\\"),\\\"Actual :\\\"+delMsg+\\\" Expected :\\\"+mGetPropertyFromFile(\\\"adt_PaAfterDelAssertMsgdata\\\"));\\n\\t\\t\\t\\tmCustomWait(1500);\\t\\n\\t\\t\\t\\tmClick(\\\"css\\\",mGetPropertyFromFile(\\\"adt_PaDeletePopUpBoxid\\\"));\\n\\t\\t\\t\\tmCustomWait(1500);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Final submit button\\n\\t\\t\\t\\tmWaitForVisible(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaFinalSubBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1500);\\n\\t\\t\\t\\tmClick(\\\"css\\\", mGetPropertyFromFile(\\\"adt_PaFinalSubBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1500);\\n\\t\\t\\t\\tmTakeScreenShot();\\n\\n\\t\\t\\t\\t//Proceed button\\n\\t\\t\\t\\tmWaitForVisible(\\\"id\\\", mGetPropertyFromFile(\\\"adt_PaPlanAuditProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(1500);\\n\\t\\t\\t\\tmClick(\\\"id\\\", mGetPropertyFromFile(\\\"adt_PaPlanAuditProcdBtnid\\\"));\\n\\t\\t\\t\\tmCustomWait(2000);\\n\\t\\t\\t\\tmTakeScreenShot();\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\t */\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\tcatch(Exception e)\\n\\t\\t{\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\tthrow new MainetCustomExceptions(\\\"Error in DelHodAuditplan_schedule_memo script\\\");\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff5a174f2e0077feab45bf36af26f139\",\n \"score\": \"0.5423145\",\n \"text\": \"void deleteBuildPlan(String buildPlanId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee37f910f9c3d3dacee325de3a45739b\",\n \"score\": \"0.54191756\",\n \"text\": \"public void performDeleteUnit(boolean nomsg){\\r\\n int selectedRow = keyPersonForm.tblInvestigator.getSelectedRow();\\r\\n /* delete the selected unit information from table as well as from\\r\\n the vector which consists of all unit details for a particular\\r\\n investigator */\\r\\n CoeusVector deletedUnits = null;\\r\\n if(selectedRow != -1){\\r\\n KeyPersonBean keyPrsnBean = keyPersonTableModel.getKeyPersonBean(selectedRow);\\r\\n String personId=\\\"\\\";\\r\\n if( keyPrsnBean != null ){\\r\\n personId = keyPrsnBean.getPersonId();\\r\\n }\\r\\n int selectedUnitRow = keyPersonForm.tblUnits.getSelectedRow();\\r\\n if( selectedUnitRow != -1 ){\\r\\n String unitNo = \\\"\\\";\\r\\n KeyPersonUnitBean unitBean = unitTableModel.getUnitBean(selectedUnitRow);\\r\\n if( unitBean != null ) {\\r\\n unitNo = unitBean.getUnitNumber();\\r\\n }\\r\\n if(unitNo != null && unitNo.trim().length()>0){\\r\\n int selectedOption;\\r\\n if(nomsg){\\r\\n selectedOption = showDeleteConfirmMessage(\\\"Are you sure you want\\\"\\r\\n +\\\" to remove \\\"+unitNo+\\\" ?\\\");}\\r\\n else{selectedOption=JOptionPane.YES_OPTION;}\\r\\n \\r\\n if( selectedOption == JOptionPane.YES_OPTION ){\\r\\n //Added for COEUSQA-2037 : Software allows you to delete an investigator who is assigned credit in the credit split window\\r\\n //When there is only one unit for the investigator exists,\\r\\n //removes the unit without check the credit split\\r\\n //When multiple unit exists, Checks for the unit credit split information,\\r\\n //until split set to '0' won't allow to delete the unit\\r\\n int unitAvailCount=keyPersonForm.tblUnits.getRowCount();\\r\\n if(unitAvailCount >= 1){\\r\\n// int selectedOpt = CoeusOptionPane.showQuestionDialog(\\r\\n// coeusMessageResources.parseMessageKey(CREDIT_SPLIT_EXISTS_FOR_INV_UNIT) ,\\r\\n// CoeusOptionPane.OPTION_YES_NO,\\r\\n// CoeusOptionPane.DEFAULT_YES);\\r\\n// if(selectedOpt == JOptionPane.YES_OPTION){\\r\\n// if(isDataChanged()){\\r\\n// MessageFormat formatter = new MessageFormat(\\\"\\\");\\r\\n// String message = formatter.format(\\r\\n// coeusMessageResources.parseMessageKey(SAVE_BEFORE_OPEN_CREDIT_SPILT),\\r\\n// this.moduleText);\\r\\n// CoeusOptionPane.showInfoDialog(message);\\r\\n// }else{\\r\\n// performCreditSplitAction();\\r\\n// }\\r\\n \\r\\n \\r\\n KeyPersonUnitBean personUnitBean = null;\\r\\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\\r\\n CoeusVector delUnits = invUnits.filter( new Equals(\\\"unitNumber\\\",unitNo));\\r\\n invUnits.remove(selectedUnitRow);\\r\\n unitTableModel.setData(invUnits);\\r\\n keyPrsnBean.setKeyPersonsUnits(invUnits);\\r\\n String invAcType = keyPrsnBean.getAcType();\\r\\n if( null == invAcType ) {\\r\\n keyPrsnBean.setAcType(UPDATE_RECORD);\\r\\n }\\r\\n\\r\\n cvKeypersons.set(selectedRow,keyPrsnBean);\\r\\n unitTableModel.fireTableDataChanged();\\r\\n keyPersonTableModel.setData(cvKeypersons);\\r\\n keyPersonTableModel.fireTableDataChanged();\\r\\n keyPersonForm.tblInvestigator.setRowSelectionInterval(\\r\\n selectedRow, selectedRow);\\r\\n if( delUnits != null && delUnits.size() > 0) {\\r\\n int delSize = delUnits.size();\\r\\n deletedUnits = (CoeusVector)hmDeletedUnits.get(personId);\\r\\n if( null == deletedUnits ){\\r\\n deletedUnits = new CoeusVector();\\r\\n }\\r\\n for( int indx = 0; indx < delSize; indx++ ) {\\r\\n personUnitBean = (KeyPersonUnitBean)delUnits.get(indx);\\r\\n// String acType = personUnitBean.getAcType();\\r\\n// if( null == acType || UPDATE_RECORD.equals(acType)){\\r\\n personUnitBean.setAcType(DELETE_RECORD);\\r\\n deletedUnits.add(personUnitBean);\\r\\n// }\\r\\n }\\r\\n hmDeletedUnits.put(personId, deletedUnits);\\r\\n }\\r\\n dataChanged = true;\\r\\n }\\r\\n else{\\r\\n// int selectedOption = showDeleteConfirmMessage(\\r\\n// coeusMessageResources.parseMessageKey(\\r\\n// \\\"unitDetFrm_exceptionCode.1331\\\"));\\r\\n// if( selectedOption == JOptionPane.YES_OPTION ){\\r\\n dataChanged = true;\\r\\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\\r\\n \\r\\n KeyPersonUnitBean personUnitBean = (KeyPersonUnitBean)invUnits.get(selectedUnitRow);\\r\\n invUnits.remove(selectedUnitRow);\\r\\n// String acType = personUnitBean.getAcType();\\r\\n// if( null == acType || UPDATE_RECORD.equals(acType)){\\r\\n personUnitBean.setAcType(DELETE_RECORD);\\r\\n // CoeusVector deletedUnits=new CoeusVector();\\r\\n deletedUnits.add(personUnitBean);\\r\\n hmDeletedUnits.put(personId, deletedUnits);\\r\\n unitTableModel.setData(invUnits);\\r\\n keyPrsnBean.setKeyPersonsUnits(invUnits);\\r\\n cvKeypersons.set(selectedRow,keyPrsnBean);\\r\\n unitTableModel.fireTableDataChanged();\\r\\n }\\r\\n }\\r\\n\\r\\n// }\\r\\n }else if(unitNo == null)\\r\\n {\\r\\n //for deleting the empty created unit details.\\r\\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\\r\\n\\r\\n \\r\\n invUnits.remove(selectedUnitRow);\\r\\n unitTableModel.setData(invUnits);\\r\\n keyPrsnBean.setKeyPersonsUnits(invUnits);\\r\\n cvKeypersons.set(selectedRow,keyPrsnBean);\\r\\n unitTableModel.fireTableDataChanged();\\r\\n }\\r\\n\\r\\n int newRowCount = keyPersonForm.tblUnits.getRowCount();\\r\\n if(newRowCount >0){\\r\\n if(newRowCount > selectedUnitRow){\\r\\n keyPersonForm.tblUnits.setRowSelectionInterval(selectedUnitRow,\\r\\n selectedUnitRow);\\r\\n }else{\\r\\n keyPersonForm.tblUnits.setRowSelectionInterval(\\r\\n newRowCount - 1,\\r\\n newRowCount - 1);\\r\\n }\\r\\n }else{\\r\\n keyPersonForm.btnDeleteUnit.setEnabled( false );\\r\\n keyPersonForm.btnAddUnit.requestFocusInWindow();\\r\\n }\\r\\n }else{\\r\\n showWarningMessage(coeusMessageResources.parseMessageKey(\\r\\n \\\"protoInvFrm_exceptionCode.1133\\\") );\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26b547d8d95f34c2f5d30a3ebd2e8b15\",\n \"score\": \"0.54166716\",\n \"text\": \"public String delRelat(String UserId,ArrayList> progList) throws SQLException, Exception {\\n\\t\\tConnection conn = null;\\n\\t\\tPreparedStatement pstmt = null;\\n\\t\\tStringBuffer strQuery = new StringBuffer();\\n\\t\\tString strErMsg = \\\"\\\";\\n\\n\\t\\tConnectionContext connectionContext = new ConnectionResource();\\n\\n\\t\\ttry {\\n\\t\\t\\tconn = connectionContext.getConnection();\\n\\t\\t\\tconn.setAutoCommit(false);\\n for (int i=0;i InventoryCheck Delete Data Count(\\\" + count + \\\")\\\");\\n\\t\\t\\tif(count > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tinventoryHandler.drop(inventorySearckKey);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch (NotFoundException e)\\n\\t\\t{\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0745d12ca5765f0fdb77e423b4e0a54\",\n \"score\": \"0.5408516\",\n \"text\": \"public void updateProductQuantityOnDeleteInventory(String inventoryIdString,String companyid) throws ServiceException{\\n try {\\n String [] inventoryIds=inventoryIdString.split(\\\",\\\");\\n for(int i=0;i list = executeSQLQuery( myquery, params.toArray());\\n \\n if (list.size() > 0 && !list.contains(null)) {\\n Object[] obj = list.get(0);\\n String productid=(String) obj[0];\\n double baseuomqty = (Double) obj[1];\\n boolean carryin=(Boolean) obj[2];;\\n String updatequery=\\\"\\\";\\n ArrayList params1 = new ArrayList();\\n params1.add(baseuomqty);\\n params1.add(companyid);\\n params1.add(productid);\\n if(carryin){\\n updatequery= \\\"update product set availablequantity=( availablequantity- ? ) where company =? and id = ? \\\";// minus Purchase and Plus Sales (for Reverse effect for quantity)\\n }else{\\n updatequery= \\\"update product set availablequantity=( availablequantity + ? ) where company =? and id = ? \\\";\\n }\\n int numRows = executeUpdate( updatequery, params1.toArray());\\n }\\n \\n }\\n \\n } catch (Exception ex) {\\n throw ServiceException.FAILURE(\\\"Cannot delete Credit Note as its referance child field is not deleted.\\\", ex);//+ex.getMessage(), ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"befd6334fabd0a4fdd2ee0347c03d601\",\n \"score\": \"0.54057705\",\n \"text\": \"private void RemoveProduct(){\\r\\n logger.log(Level.FINEST, \\\"Attempt to remove existing product.\\\");\\r\\n \\r\\n if(whoperationview.getAddProductListTable().getSelectedRow() == -1){\\r\\n \\r\\n logger.log(Level.FINEST, \\\"Removing existing product failed.\\\");\\r\\n whoperationview.ScreenMessage(\\\"None of the rows was selected.\\\");\\r\\n return;\\r\\n\\r\\n }\\r\\n \\r\\n if(whoperationview.getAddProductRemoveTextField().getText().isEmpty() || whoperationview.getAddProductRemoveTextField().getText()==null){\\r\\n \\r\\n logger.log(Level.FINEST, \\\"Removing existing product failed : The amount field can not be empty.\\\");\\r\\n whoperationview.ScreenMessage(\\\"The amount field can not be empty.\\\");\\r\\n return;\\r\\n \\r\\n }\\r\\n \\r\\n if(!FieldChecker.AmountCheck(whoperationview.getAddProductRemoveTextField().getText())){\\r\\n \\r\\n logger.log(Level.FINEST, \\\"Removing existing product failed : Wrong amount format, only positive integers are allowed.\\\");\\r\\n whoperationview.ScreenMessage(\\\"Wrong amount format, only positive integers are allowed.\\\");\\r\\n return;\\r\\n \\r\\n }\\r\\n \\r\\n if(whoperationview.getAddProductRemoveTextField().getText().length() > String.valueOf(Integer.MAX_VALUE).length() || Long.valueOf(whoperationview.getAddProductRemoveTextField().getText())> Integer.MAX_VALUE){\\r\\n \\r\\n logger.log(Level.FINEST, \\\"Removing existing product failed : \\\"+\\\"Amount can not be bigger than: \\\" + String.valueOf(Integer.MAX_VALUE) + \\\".\\\");\\r\\n whoperationview.ScreenMessage(\\\"Amount can not be bigger than: \\\" + String.valueOf(Integer.MAX_VALUE) + \\\".\\\");\\r\\n return;\\r\\n \\r\\n }\\r\\n \\r\\n try {\\r\\n \\r\\n int productid = Integer.valueOf(whoperationview.getAddProductListTable().getValueAt(whoperationview.getAddProductListTable().getSelectedRow(),0).toString());\\r\\n int amount = Integer.valueOf(whoperationview.getAddProductRemoveTextField().getText());\\r\\n \\r\\n if(!whoperationmodel.RemoveProduct(amount, productid)){\\r\\n \\r\\n logger.log(Level.FINEST, \\\"Removing existing product failed : Failure! Take out amount can not be bigger than the product amount.\\\");\\r\\n whoperationview.ScreenMessage(\\\"Failure! Take out amount can not be bigger than the product amount.\\\");\\r\\n return;\\r\\n \\r\\n }\\r\\n \\r\\n RefreshTable();\\r\\n logger.log(Level.FINEST, \\\"Removing existing product was successful.\\\");\\r\\n\\r\\n } catch (SQLException ex) {\\r\\n logger.log(Level.SEVERE, ex.getMessage(), ex);\\r\\n whoperationview.ScreenMessageError(ex.getMessage());\\r\\n }\\r\\n \\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ace4db78b1f1c59338728bd9da31cc3\",\n \"score\": \"0.5405746\",\n \"text\": \"public void deleteReleaseplan(Releaseplan releaseplan);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1ab4eaaf2497e5ee05864c660459edd\",\n \"score\": \"0.53955156\",\n \"text\": \"public void purge(){\\n\\t\\tStatement stat;\\n\\t\\ttry {\\n\\t\\t\\tstat = conn.createStatement();\\n\\t\\t\\tstat.executeUpdate(\\\"delete from Item\\\");\\n\\t\\t\\tstat.close();\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\tLog.getLoginstance(null).error(\\\"Ocorreu um erro: \\\"+e.getMessage());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbe6a8b40e2d8ac741018fd4f1577785\",\n \"score\": \"0.53915596\",\n \"text\": \"public void testDeletePackage12() throws Exception {\\n IPackageFragment[] frags = createPackagePath(3);\\n executeDeletePackage(new Object[] { frags[0], frags[1] }, new IPackageFragment[] { frags[0], frags[1] }, new Object[] {});\\n Object[] deleted = null;\\n Object[] exist = new Object[] { frags[2], frags[1], frags[0] };\\n doTestUndoRedo(deleted, exist);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b00d5defd0137cf9b53b62bf33f0e9d9\",\n \"score\": \"0.53880906\",\n \"text\": \"protected void deleteData(Connection conn, SystemParameter[] param)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ReadWriteException, ScheduleException\\n\\t{\\n\\t\\t//#CM695772\\n\\t\\t// Delete unnecessary Planned work data.\\n\\t\\tdeleteWorkingData(conn, param);\\n\\n\\t\\t//#CM695773\\n\\t\\t// Delete the Master.\\n\\t\\tdeleteDataMaster(conn);\\n\\n\\t\\t//#CM695774\\n\\t\\t// Delete the log file.\\n\\t\\tdeleteLog();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47c3cc2c40ffd8709a1f7a49c7722d30\",\n \"score\": \"0.53543913\",\n \"text\": \"@Override\\n @Transactional\\n public void deletePlan(String uid) {\\n planRepository.deleteByPlanId(uid);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"800e1e5179d0617cc4a238016548c7f0\",\n \"score\": \"0.53532064\",\n \"text\": \"@Override\\r\\n\\tpublic void deleteProduct(int p_no) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1a705f6b7592ff2f2873c6ea091dc28\",\n \"score\": \"0.53507143\",\n \"text\": \"public boolean eliminarPlan(Plan p) {\\n \\n String cod = Integer.toString(p.getCodigo());\\n \\n gestionarBaseDatos gestorBD = new gestionarBaseDatos();\\n \\n Connection conexion = gestorBD.establecerConexion();\\n \\n String borrarAfilia = \\\"DELETE FROM AFILIA WHERE CODIGO_P = \\\"+cod+\\\";\\\";\\n String borrarContiene = \\\"DELETE FROM CONTIENE WHERE CODIGO_P = \\\"+cod+\\\";\\\";\\n String borrarPostpago = \\\"DELETE FROM POSTPAGO WHERE CODIGO_P = \\\"+cod+\\\";\\\";\\n String borrarPrepago = \\\"DELETE FROM PREPAGO WHERE CODIGO_P = \\\"+cod+\\\";\\\";\\n String borrarProducto = \\\"DELETE FROM PRODUCTO WHERE CODIGO_P = \\\"+cod+\\\";\\\";\\n String borrarPlan = \\\"DELETE FROM PLAN WHERE CODIGO = \\\"+cod+\\\";\\\";\\n \\n try {\\n \\n Statement stmt = conexion.createStatement();\\n stmt.executeUpdate(borrarAfilia);\\n stmt.executeUpdate(borrarContiene);\\n stmt.executeUpdate(borrarPostpago);\\n stmt.executeUpdate(borrarPrepago);\\n stmt.executeUpdate(borrarProducto);\\n int resultado = stmt.executeUpdate(borrarPlan);\\n stmt.close();\\n gestorBD.cerrarConexion(conexion);\\n return resultado > 0;\\n \\n\\n \\n } catch (Exception e) {\\n System.out.println(e.getMessage());\\n }\\n \\n gestorBD.cerrarConexion(conexion);\\n return false; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e3846f896c5eafb53785ffa6ddc966d\",\n \"score\": \"0.53399056\",\n \"text\": \"public void testDeleteWithinCu7() throws Exception {\\n ParticipantTesting.reset();\\n loadFileSetup();\\n IJavaElement elem0 = fCuA.getPackageDeclaration(\\\"p\\\");\\n IJavaElement[] elems = new IJavaElement[] { elem0 };\\n String[] handles = ParticipantTesting.createHandles(elem0);\\n checkDelete(elems, false);\\n ParticipantTesting.testDelete(handles);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc938162dffb68444e9bf164d6053dcd\",\n \"score\": \"0.5320575\",\n \"text\": \"@Test(enabled=false)\\n\\tpublic void adt_DeleteAuditplan_schedule_memo() throws InterruptedException,IOException{\\n\\n\\t\\ttry{\\n\\t\\t\\tcurrentmethodname = Thread.currentThread().getStackTrace()[1].getMethodName();\\n\\t\\t\\tER.datareader();\\n\\t\\t\\tthisMethodName=Thread.currentThread().getStackTrace()[1].getMethodName();\\n\\t\\t\\tAUDITCustomErrorMessages.audit_m_errors.entrySet().clear();\\n\\t\\t\\tDeleteHodAuditplan_schedule_memo();\\n\\t\\t\\tCommonUtilsAPI.adtErrorMsg.assertAll();\\n\\t\\t}\\n\\t\\tcatch(Exception e)\\n\\t\\t{\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\tinAtTest = true;\\n\\t\\t\\tthrow new MainetCustomExceptions(\\\"Error in adt_DeleteAuditplan_schedule_memo method\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d64495bccc2ff078f96454db5a46e5d\",\n \"score\": \"0.5318613\",\n \"text\": \"private static void delete() throws SQLException {\\n\\t\\tPreparedStatement ps=con.prepareStatement(\\\"delete from cart where Cart=?\\\");\\r\\n\\t\\tSystem.out.println(\\\"Enter Item id\\\"); \\t\\r\\n\\t\\tps.setInt(1, scan.nextInt());\\r\\n\\t\\t int r=ps.executeUpdate();\\r\\n\\t\\t System.out.println(r+\\\" row deleted\\\");\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d76b1aec1d0ce234de06b2dd5a9e2d2d\",\n \"score\": \"0.5298495\",\n \"text\": \"@Test\\n public void delete() {\\n TestTask[] currentList = td.getTypicalDatedTasks();\\n int targetIndex = 1;\\n assertDeleteSuccess(\\\"B\\\"+targetIndex, currentList);\\n\\n //delete the last in the list\\n currentList = TestUtil.removePersonFromList(currentList, targetIndex);\\n targetIndex = currentList.length;\\n assertDeleteSuccess(\\\"B\\\"+targetIndex, currentList);\\n\\n //invalid index\\n commandBox.runCommand(\\\"delete B\\\" + currentList.length + 1);\\n assertResultMessage(\\\"The task index provided is invalid\\\");\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e87aa185f036db33c40d19d47b8be74\",\n \"score\": \"0.52984214\",\n \"text\": \"private void USLCleanUpTenantData()\\n {\\n String testCaseName = \\\"USLCleanUpTenantData\\\";\\n System.out.println(\\\"*** Running testcase - \\\" + testCaseName);\\n try\\n {\\n OrclTenantManager tenantManager = new OrclTenantManager();\\n Map inParams = new HashMap();\\n inParams.putAll(inputParams);\\n inParams.put(MultiTenancyConstants.IDSTORE_TENANT_NAME,\\n \\\"creationoftenant\\\" + random);\\n tenantManager.deleteTenant(inParams);\\n C9UnitTestUtil.generateTestcaseSucc(testHome, testCaseName);\\n } catch (Exception e)\\n {\\n C9UnitTestUtil.generateTestcaseDiff(testHome, testCaseName, e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81563ddbd7fcaceea9f2fa5997486dab\",\n \"score\": \"0.5288777\",\n \"text\": \"public static void deleteAll() throws Exception {\\n if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)\\n {\\n Meth.GetVoid(MethodBase.GetCurrentMethod());\\n return ;\\n }\\n \\n String command = \\\"DELETE FROM loinc\\\";\\n Db.nonQ(command);\\n if (OpenDentBusiness.DataConnection.DBtype == OpenDentBusiness.DatabaseType.MySql)\\n {\\n command = \\\"ALTER TABLE loinc AUTO_INCREMENT = 1\\\";\\n //resets the primary key to start counting from 1 again.\\n Db.nonQ(command);\\n }\\n \\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7b879c44680071219857e7e6808925f\",\n \"score\": \"0.5278615\",\n \"text\": \"public static void clearDemandTable(){\\n\\n\\t\\ttry{\\n\\t\\t\\tStatement stmt2 = conn.createStatement();\\n\\t\\t\\tstmt2.executeUpdate(\\\"delete from Demand\\\");\\n\\n\\t\\t}\\n\\t\\tcatch(Exception e){\\n\\t\\t\\tSystem.out.println(e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e290ea8232323497d942301d480e97df\",\n \"score\": \"0.52768034\",\n \"text\": \"public void removeStock(String item) throws SQLException, ClassNotFoundException {\\n try {\\n String currentStock = checkItemStock(item);\\n int curStock = Integer.parseInt(currentStock);\\n \\n if(curStock > 0){ \\n curStock -= 1;\\n if(curStock <= 3 && curStock != 0){\\n JOptionPane.showMessageDialog(null,\\\"There are only \\\"+ curStock +\\\" \\\"+ item + \\\" left in stock!.\\\\nPlease restock!.\\\",\\\"Low Stock!\\\", JOptionPane.WARNING_MESSAGE);\\n }\\n }else{\\n JOptionPane.showMessageDialog(null,item + \\\" is out of stock!!.\\\\nPlease restock!.\\\",\\\"Out of Stock\\\", JOptionPane.WARNING_MESSAGE);\\n }\\n \\n // load database driver class\\n Class.forName(\\\"sun.jdbc.odbc.JdbcOdbcDriver\\\");\\n\\n // connect to database\\n Connection con = DriverManager.getConnection(\\\"jdbc:odbc:PSUCreamery\\\");\\n\\n Statement stmt = con.createStatement(); \\n\\n PreparedStatement removeItem = null;\\n String updateStockTable = \\\"UPDATE Stock\\\" + \\\" SET Amount = ? \\\" + \\\" WHERE ItemName = ?\\\";\\n removeItem = con.prepareStatement(updateStockTable);\\n removeItem.setString(2, item);\\n removeItem.setInt(1, curStock);\\n removeItem.executeUpdate();\\n \\n stmt.close();\\n con.close();\\n \\n }catch(ClassNotFoundException | SQLException e){}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c2e05e556d2835e190582e867615018\",\n \"score\": \"0.52756566\",\n \"text\": \"protected BProductDetailProperty objRemovePackage(\\r\\n\\t\\t\\tBProductDetailProperty bProductDetailProperty,\\r\\n\\t\\t\\tBProductDetail bProductDetailTargetLower, Long lProductID,\\r\\n\\t\\t\\tLong CustomerID) throws SQLException, Exception { // Starting Braces of the Function\\r\\n\\r\\n\\t\\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\\r\\n\\t\\tLong ProductID; // Local Varaible Declaration\\r\\n\\t\\tint iSizeOfVector = 0; // Local Varaible Declaration\\r\\n\\t\\tint iCount = 0; // Local Varaible Declaration\\r\\n\\t\\tVector vctTempBProductDetail = new Vector(); // Local Varaible Declaration\\r\\n\\r\\n\\t\\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\\r\\n\\t\\ttry {\\r\\n\\r\\n\\t\\t\\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\\r\\n\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement \\\");\\t\\r\\n\\t\\t\\t\\t// System.out.println(\\\"Inside iterative function\\\");\\r\\n\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTargetLower.iLevel : \\\" + bProductDetailTargetLower.iLevel);\\r\\n\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTargetLower.lProductID : \\\" + bProductDetailTargetLower.lProductID);\\r\\n\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTargetLower.OptionGroupID : \\\" + bProductDetailTargetLower.lOptionGroupID);\\r\\n\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTargetLower.iInstance : \\\" + bProductDetailTargetLower.iInstance);\\r\\n\\t\\t\\t\\t// System.out.println(\\\"The Upper Grid Size is : \\\" + bProductDetailProperty.vctProductNonSelected.size());\\r\\n\\t\\t\\t\\t// System.out.println(\\\"The Lower Grid Size is : \\\" + bProductDetailProperty.vctProductSelected.size());\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\\r\\n\\r\\n\\t\\t\\t// Brgin DEL v9.01d\\r\\n\\t\\t\\t// StringBuffer strSql = new StringBuffer(\\\"\\\"); //Defining a String Buffer to make the Sql querry\\r\\n\\t\\t\\t// End DEL v9.01d\\r\\n\\t\\t\\t/** **************************************MAKING OF NEXT QUERRY************************************** */\\r\\n\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t// OptionGroupRow optionGroupRow = null; // Initializing the Object Class for the OptionGroup table\\r\\n\\t\\t\\t// End DEL v9.01d\\r\\n\\t\\t\\tif (null == optionGroupTable) {\\r\\n\\t\\t\\t\\toptionGroupTable = (OptionGroup) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t\\t.getMasterTable(string_OPTIONGROUP); // Getting the OptionGroup table from the session\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t// BEGIN MODIFY : V3.10\\r\\n\\t\\t\\t// Updated Code for fixing DEFECT id 70, Obsolete Masters\\r\\n\\t\\t\\t// Modified for Taking Validity of Option Group\\r\\n\\t\\t\\t// Vector vctObjPIDInternal = new Vector();\\r\\n\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t// Vector vctObjPIDInternal = null;\\r\\n\\t\\t\\t// End DEL v9.01d\\r\\n\\t\\t\\tList lstObjPIDInternal = null;\\r\\n\\t\\t\\tCustomerProduct custProductTable = null;\\r\\n\\t\\t\\tCustomerProductRow custProdRow = null;\\r\\n\\r\\n\\t\\t\\tcustProductTable = (CustomerProduct) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t.getTable(string_CUSTOMERPRODUCT);\\r\\n\\t\\t\\tcustProdRow = (CustomerProductRow) custProductTable\\r\\n\\t\\t\\t\\t\\t.cprSearchByCustProductIDandObsolete(\\r\\n\\t\\t\\t\\t\\t\\t\\tbProductDetailTargetLower.lCustomerProductID\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.longValue(), FINAL_ZERO);\\r\\n\\r\\n\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDandObsolete(lProductID.longValue(), FINAL_ZERO);\\r\\n\\t\\t\\t// BEGIN DELETE V5.80a\\r\\n\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date());\\r\\n\\t\\t\\t// END DELETE V5.80a\\r\\n\\t\\t\\t// BEGIN ADD V5.80a\\r\\n\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date(), bProductDetailProperty.iRateClassIDNew);\\r\\n\\t\\t\\tlstObjPIDInternal = (ArrayList) optionGroupTable\\r\\n\\t\\t\\t\\t\\t.searchByProductIDValidandObsolete(lProductID.longValue(),\\r\\n\\t\\t\\t\\t\\t\\t\\tFINAL_ZERO, new java.util.Date(),\\r\\n\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.iRateClassIDNew);\\r\\n\\r\\n\\t\\t\\t// END ADD V5.80a\\r\\n\\r\\n\\t\\t\\tif (lstObjPIDInternal.isEmpty()) {\\r\\n\\t\\t\\t\\tif (null != custProdRow) {\\r\\n\\r\\n\\t\\t\\t\\t\\t// BEGIN DELETE V5.80a\\r\\n\\t\\t\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, custProdRow.dtCreationDate);\\r\\n\\t\\t\\t\\t\\t// END DELETE V5.80a\\r\\n\\t\\t\\t\\t\\t// BEGIN ADD V5.80a\\r\\n\\t\\t\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, custProdRow.dtCreationDate, bProductDetailProperty.iRateClassIDNew);\\r\\n\\t\\t\\t\\t\\tlstObjPIDInternal = optionGroupTable\\r\\n\\t\\t\\t\\t\\t\\t\\t.searchByProductIDValidandObsolete(lProductID\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.longValue(), FINAL_ZERO,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tnew java.util.Date(),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.iRateClassIDNew);\\r\\n\\r\\n\\t\\t\\t\\t\\t// END ADD V5.80a\\r\\n\\t\\t\\t\\t} else {\\r\\n\\r\\n\\t\\t\\t\\t\\t// BEGIN DELETE V5.80a\\r\\n\\t\\t\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date());\\r\\n\\t\\t\\t\\t\\t// END DELETE V5.80a\\r\\n\\t\\t\\t\\t\\t// BEGIN ADD V5.80a\\r\\n\\t\\t\\t\\t\\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date(), bProductDetailProperty.iRateClassIDNew);\\r\\n\\t\\t\\t\\t\\tlstObjPIDInternal = optionGroupTable\\r\\n\\t\\t\\t\\t\\t\\t\\t.searchByProductIDValidandObsolete(lProductID\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.longValue(), FINAL_ZERO,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tnew java.util.Date(),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.iRateClassIDNew);\\r\\n\\r\\n\\t\\t\\t\\t\\t// END ADD V5.80a\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t// END MODIFY : V3.10\\r\\n\\t\\t\\t// Modified Code for fixing DEFECT id 70, Obsolete Masters\\r\\n\\r\\n\\t\\t\\t/**\\r\\n\\t\\t\\t * **************STARTING*****************TO PRINT QUERRY\\r\\n\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t * {\\r\\n\\t\\t\\t * strSql.setLength(0); //Initialising\\r\\n\\t\\t\\t * strSql.append(\\\"SELECT OPTIONGROUPID FROM OPTIONGROUP WHERE PRODUCTID = \\\").append(lProductID);\\r\\n\\t\\t\\t * System.out.println(\\\"The Querry is : \\\" + strSql.toString());\\r\\n\\t\\t\\t * }\\r\\n\\t\\t\\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\\r\\n\\t\\t\\t */\\r\\n\\t\\t\\tif (!lstObjPIDInternal.isEmpty()) {\\r\\n\\r\\n\\t\\t\\t\\t// for each record in the vector of OptionGroup Records\\r\\n\\t\\t\\t\\tfor (int iASCounter = FINAL_ZERO; iASCounter < lstObjPIDInternal\\r\\n\\t\\t\\t\\t\\t\\t.size(); iASCounter++) {\\r\\n\\r\\n\\t\\t\\t\\t\\t/** **************************************MAKING OF NEXT QUERRY************************************** */\\r\\n\\r\\n\\t\\t\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t\\t\\t// OptionProductRow optionProductRow = null; // Initializing the Object Class for the OptionGroup table\\r\\n\\t\\t\\t\\t\\t// End DEL v9.01d\\r\\n\\t\\t\\t\\t\\tif (null == optionProductTable) {\\r\\n\\t\\t\\t\\t\\t\\toptionProductTable = (OptionProduct) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.getMasterTable(string_OPTIONPRODUCT); // Getting the OptionGroup table from the session\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t/**\\r\\n\\t\\t\\t\\t\\t * **************STARTING*****************TO PRINT THE DATA\\r\\n\\t\\t\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t\\t\\t * {\\r\\n\\t\\t\\t\\t\\t * System.out.println(\\\"lOptionGroupID ----> \\\" +Long.valueOf(((OptionGroupRow)(vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID).longValue());\\r\\n\\t\\t\\t\\t\\t * }\\r\\n\\t\\t\\t\\t\\t * /****************ENDING*******************TO PRINT THE DATA******************************************\\r\\n\\t\\t\\t\\t\\t */\\r\\n\\t\\t\\t\\t\\tVector vctObjOGIDInternal = new Vector();\\r\\n\\r\\n\\t\\t\\t\\t\\t// BEGIN DELETE V5.80a\\r\\n\\t\\t\\t\\t\\t// vctObjOGIDInternal = optionProductTable.vctSearchByOptionGroupIDandObsolete(Long.valueOf(((OptionGroupRow) (vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID).longValue(), FINAL_ZERO);\\r\\n\\t\\t\\t\\t\\t// END DELETE V5.80a\\r\\n\\t\\t\\t\\t\\t// BEGIN ADD V5.80a\\r\\n\\t\\t\\t\\t\\tvctObjOGIDInternal = optionProductTable\\r\\n\\t\\t\\t\\t\\t\\t\\t.vctSearchByOptionGroupIDandObsolete(Long.valueOf(\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t((OptionGroupRow) (lstObjPIDInternal\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.get(iASCounter))).lOptionGroupID)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.longValue(), FINAL_ZERO,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.iRateClassIDNew);\\r\\n\\r\\n\\t\\t\\t\\t\\t// END ADD V5.80a\\r\\n\\r\\n\\t\\t\\t\\t\\t/**\\r\\n\\t\\t\\t\\t\\t * **************STARTING*****************TO PRINT QUERRY\\r\\n\\t\\t\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t\\t\\t * {\\r\\n\\t\\t\\t\\t\\t * strSql.setLength(0); //Initialising\\r\\n\\t\\t\\t\\t\\t * strSql.append(\\\"SELECT OPTIONPRODUCTID, PRODUCTID FROM OPTIONPRODUCT WHERE OPTIONGROUPID = \\\").append(Long.valueOf(((OptionGroupRow)(vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID));\\r\\n\\t\\t\\t\\t\\t * System.out.println(\\\"The Querry is : \\\" + strSql.toString());\\r\\n\\t\\t\\t\\t\\t * }\\r\\n\\t\\t\\t\\t\\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\\r\\n\\t\\t\\t\\t\\t */\\r\\n\\t\\t\\t\\t\\tif (null != vctObjOGIDInternal) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// for each record in the vector of OptionProduct Records\\r\\n\\t\\t\\t\\t\\t\\tfor (int iOPIDPIDCounter = FINAL_ZERO; iOPIDPIDCounter < vctObjOGIDInternal\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.size(); iOPIDPIDCounter++) {\\r\\n\\t\\t\\t\\t\\t\\t\\tProductID = Long.valueOf(\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t((OptionProductRow) (vctObjOGIDInternal\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.elementAt(iOPIDPIDCounter))).lProductID);\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t/**\\r\\n\\t\\t\\t\\t\\t\\t\\t * **************STARTING*****************TO PRINT THE DATA\\r\\n\\t\\t\\t\\t\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t\\t\\t\\t\\t * {\\r\\n\\t\\t\\t\\t\\t\\t\\t * System.out.println(\\\"ProductID ----------123---------------> \\\" +ProductID);\\r\\n\\t\\t\\t\\t\\t\\t\\t * }\\r\\n\\t\\t\\t\\t\\t\\t\\t * /****************ENDING*******************TO PRINT THE DATA******************************************\\r\\n\\t\\t\\t\\t\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t\\t\\t\\t\\t// int iCounttemp = 0;\\r\\n\\t\\t\\t\\t\\t\\t\\t// iCounttemp = iFindProductInVectorLevelProductIDandOptionGroupID(bProductDetailTargetLower, bProductDetailProperty.vctProductSelected);\\r\\n\\t\\t\\t\\t\\t\\t\\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\t// if (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"iCount in vctProductSelected \\\" + iCounttemp);\\r\\n\\t\\t\\t\\t\\t\\t\\t// }\\r\\n\\t\\t\\t\\t\\t\\t\\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\t// End DEL v9.01d\\r\\n\\t\\t\\t\\t\\t\\t\\t// if(iCounttemp == FINAL_ONE)\\r\\n\\t\\t\\t\\t\\t\\t\\t{\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement \\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"iCount in vctProductSelected \\\" + iCount);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tiSizeOfVector = bProductDetailProperty.vctProductNonSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.size();\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tfor (iCount = FINAL_ZERO; iCount < iSizeOfVector; iCount++) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (((String.valueOf(ProductID))\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(String\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.valueOf(((BProductDetail) bProductDetailProperty.vctProductNonSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.elementAt(iCount)).lProductID)))) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// BProductDetail bProductDetail = new BProductDetail();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// bProductDetail = (BProductDetail)bProductDetailProperty.vctProductNonSelected.elementAt(iCount);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// Begin Modify 3.32\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// Change made to fix incident id 63,101 (MailAlias shown in Top Grid after deleting MailBox)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// bProductDetailProperty.vctProductNonSelected.removeElementAt(iCount);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// Check for max no occurences.\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tint iNoOfOccurences = 0;\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tiNoOfOccurences = iNoOfOccurencesOfProduct(\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.vctProductSelected,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailTargetLower.iLevel,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailTargetLower.iParentInstance,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailTargetLower.lProductID\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.longValue());\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tif ((iNoOfOccurences - 2) <= 0) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.vctProductNonSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.removeElementAt(iCount);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tiSizeOfVector--;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tiCount--;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// Change made to fix incident id 63,101 (MailAlias shown in Top Grid after deleting MailBox)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// End Modify : V3.32\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t// Giving error in cases\\r\\n\\t\\t\\t\\t\\t\\t\\tint iSizeVector = 0;\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\tiSizeVector = bProductDetailProperty.vctProductSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.size();\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t\\t\\t\\t\\t// boolean blnFlagToInit = true;\\r\\n\\t\\t\\t\\t\\t\\t\\t// End DEL v9.01d\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\tfor (int iSCount = FINAL_ZERO; iSCount < iSizeVector; iSCount++) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tBProductDetail bProductTemp = null;\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t//bProductTemp = new BProductDetail();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tbProductTemp = ((BProductDetail) bProductDetailProperty.vctProductSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.elementAt(iSCount));\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif ((((String.valueOf(ProductID))\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(String\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.valueOf(bProductTemp.lProductID))))\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t&& (bProductDetailTargetLower.iInstance == bProductTemp.iParentInstance)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t&& ((bProductDetailTargetLower.iLevel + FINAL_ONE) == bProductTemp.iLevel)) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement \\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"REMOVING IT FROM THE VCTPRODUCTSELECTED\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"bProductTemp.lProductID\\\" + bProductTemp.lProductID);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"bProductTemp.iParentInstance\\\" + bProductTemp.iParentInstance);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"bProductTemp.iLevel\\\" + bProductTemp.iLevel);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tBProductDetail bProductDetail =null;\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetail = (BProductDetail) bProductDetailProperty.vctProductSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.elementAt(iSCount);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tvctTempBProductDetail\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.addElement(bProductDetail);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.vctProductSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.remove(iSCount);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty = objNewPopulatevctProductDeleted(\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tbProductDetail);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tiSizeVector--;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tiSCount--;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t} // end of the for loop\\r\\n\\t\\t\\t\\t\\t} // end of the if loop for handling the null pointer exception\\r\\n\\t\\t\\t\\t} // end of the for loop\\r\\n\\t\\t\\t} // end of the if loop for handling the null pointer exception\\r\\n\\r\\n\\t\\t\\tif ((null != vctTempBProductDetail)\\r\\n\\t\\t\\t\\t\\t&& (FINAL_ZERO != vctTempBProductDetail.size())) {\\r\\n\\r\\n\\t\\t\\t\\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\\r\\n\\t\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement \\\");\\r\\n\\t\\t\\t\\t\\t// System.out.println(\\\"The Size of the Vector is : - \\\" + vctTempBProductDetail.size());\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\\r\\n\\t\\t\\t\\tfor (int iFCounter = 0; iFCounter < vctTempBProductDetail\\r\\n\\t\\t\\t\\t\\t\\t.size(); iFCounter++) {\\r\\n\\t\\t\\t\\t\\tBProductDetail bProductDetailTmp = null;\\r\\n\\r\\n\\t\\t\\t\\t\\tbProductDetailTmp = new BProductDetail();\\r\\n\\t\\t\\t\\t\\tbProductDetailTmp = (BProductDetail) vctTempBProductDetail\\r\\n\\t\\t\\t\\t\\t\\t\\t.elementAt(iFCounter);\\r\\n\\r\\n\\t\\t\\t\\t\\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\\r\\n\\r\\n\\t\\t\\t\\t\\t/* BEGIN DELETE VER: 5.59tan */\\r\\n\\r\\n\\t\\t\\t\\t\\t// if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t\\t\\t// {\\r\\n\\t\\t\\t\\t\\t// System.out.println(\\\"CAlling iterative function \\\" );\\r\\n\\t\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTmp.lProductID\\\" + bProductDetailTmp.lProductID);\\r\\n\\t\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTmp.iParentInstance\\\" + bProductDetailTmp.iParentInstance);\\r\\n\\t\\t\\t\\t\\t// System.out.println(\\\"bProductDetailTmp.iLevel\\\" + bProductDetailTmp.iLevel);\\r\\n\\t\\t\\t\\t\\t// }\\r\\n\\t\\t\\t\\t\\t/* END DELETE VER: 5.59tan */\\r\\n\\r\\n\\t\\t\\t\\t\\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\\r\\n\\t\\t\\t\\t\\tbProductDetailProperty = objRemovePackage(\\r\\n\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty, bProductDetailTmp,\\r\\n\\t\\t\\t\\t\\t\\t\\tbProductDetailTmp.lProductID, CustomerID);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t} // end of the if loop\\r\\n\\t\\tcatch (SQLException sqle) {\\r\\n\\t\\t\\tthrow sqle;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// BEGIN ADD : V3.27\\r\\n\\t\\tcatch (Exception ex) {\\r\\n\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\tGGeneric.printStackTrace(ex, GGeneric.iDebugLevelThree, this);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tthrow new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// END ADD : v3.27\\r\\n\\t\\t// Returning of the String\\r\\n\\t\\treturn bProductDetailProperty;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86d8bb8a015b550fe6ce7f04028a4a3c\",\n \"score\": \"0.5270122\",\n \"text\": \"public void deleteData(){\\n //TODO\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4e5b5cc45373c54b997c05d7ab13ba7\",\n \"score\": \"0.52580225\",\n \"text\": \"private void performDelete(){\\r\\n // delete investigator row after confirmation\\r\\n int selectedRow = keyPersonForm.tblInvestigator.getSelectedRow();\\r\\n if( selectedRow != -1 ){\\r\\n KeyPersonBean keypersonBean = keyPersonTableModel.getKeyPersonBean(selectedRow);\\r\\n String name = \\\"\\\";\\r\\n String personId=\\\"\\\";\\r\\n if( keypersonBean != null ) {\\r\\n name = keypersonBean.getPersonName();\\r\\n personId = keypersonBean.getPersonId();\\r\\n }\\r\\n \\r\\n if(name != null && name.trim().length()>0){\\r\\n int selectedOption\\r\\n = showDeleteConfirmMessage(\\r\\n \\\"Do you want to remove \\\"+name+\\\"?\\\");\\r\\n if( selectedOption == JOptionPane.YES_OPTION ){\\r\\n //deleting all the unit under the keyperson\\r\\n//CoeusVector delunits;\\r\\n// KeyPersonUnitBean kpunit;\\r\\n// delunits=keypersonBean.getKeyPersonsUnits();\\r\\n// for(int i=0;i0)\\r\\n// {kpunit=(KeyPersonUnitBean)keypersonBean.getKeyPersonsUnits().get(0);\\r\\n// if(kpunit!=null){performDeleteUnit(true);}\\r\\n// }\\r\\n\\r\\n if(personId != null && personId.trim().length()>0){\\r\\n cvKeypersons.remove(selectedRow);\\r\\n String acType = keypersonBean.getAcType();\\r\\n if( null == acType || UPDATE_RECORD.equals(acType)){\\r\\n keypersonBean.setAcType(DELETE_RECORD);\\r\\n deletedKeyPersons.add(keypersonBean);\\r\\n }\\r\\n keyPersonTableModel.fireTableRowsDeleted(selectedRow, selectedRow);\\r\\n }\\r\\n dataChanged = true;\\r\\n }\\r\\n }else{\\r\\n int selectedOption = showDeleteConfirmMessage(coeusMessageResources.parseMessageKey(\\r\\n \\\"keyPerson_exceptionCode.1603\\\"));\\r\\n if( selectedOption == JOptionPane.YES_OPTION ){\\r\\n cvKeypersons.remove(selectedRow);\\r\\n keyPersonTableModel.fireTableDataChanged();\\r\\n dataChanged = true;\\r\\n }\\r\\n }\\r\\n if( keyPersonForm.tblInvestigator.getRowCount() <= 0 ){\\r\\n keyPersonForm.btnDelete.setEnabled( false );\\r\\n keyPersonForm.tblUnits.setRowSelectionInterval(0,0);\\r\\n // keyPersonForm.repaint();tblUnits\\r\\n // updateUnits();\\r\\n unitTableModel.setData(null);\\r\\n unitTableModel.fireTableDataChanged();\\r\\n keyPersonForm.tblInvestigator.requestFocusInWindow();\\r\\n keyPersonForm.btnAdd.requestFocusInWindow();\\r\\n }\\r\\n \\r\\n int newRowCount = keyPersonForm.tblInvestigator.getRowCount();\\r\\n if(newRowCount >0){\\r\\n if(newRowCount > selectedRow){\\r\\n keyPersonForm.tblInvestigator.setRowSelectionInterval(selectedRow,\\r\\n selectedRow);\\r\\n }else{\\r\\n keyPersonForm.tblInvestigator.setRowSelectionInterval(\\r\\n newRowCount - 1,newRowCount - 1);\\r\\n }\\r\\n \\r\\n }\\r\\n }else{\\r\\n showWarningMessage(coeusMessageResources.parseMessageKey(\\r\\n \\\"keyPerson_exceptionCode.1604\\\"));\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f315315779559d12ba921be3e0f76ff\",\n \"score\": \"0.52488893\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(DialogInterface dialog, int which) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdh.open();\\n\\t\\t\\t\\treturnvalue= dh.deleteBikeDetails(bikename);\\n\\t\\t\\t\\tSystem.out.println(\\\"bike details deleted\\\"+returnvalue);\\n\\t\\t\\t ArrayList bikepurchasedetails=dh.getBikPurchaseeDetails(bikename);\\n\\t\\t\\t ArrayList bikedeparturedetails=dh.getBikdepartureDetails(bikename);\\n\\t\\t\\t ArrayList bikeexpencesdetails=dh.getBikExpencesDetails(bikename);\\n\\t\\t\\t\\t;\\n\\t\\t\\t\\t if(!bikepurchasedetails.isEmpty()){\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t returnvalue1= dh.deleteBikepurchaseDetails(bikename);\\n\\t\\t\\t\\t\\t\\t System.out.println(\\\"BikepurchaseDetails deleted\\\");\\n\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t}if(!bikedeparturedetails.isEmpty()) {\\n\\t\\t\\t\\t\\t\\t//delete departure detiails\\n\\t\\t\\t\\t\\t\\t Boolean returnvalue2= dh.deleteBikeDepartureDetails(bikename);\\n\\t\\t\\t\\t\\t\\t System.out.println(\\\"bike departure details deleted\\\");\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t}if(!bikeexpencesdetails.isEmpty()){\\n\\t\\t\\t\\t\\t\\t//delete expences details\\n\\t\\t\\t\\t\\t\\treturnvalue3= dh.deleteBikeExpencesDetails(bikename);\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"bike expences details deleted\\\");\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t dh.close();\\n\\t\\t\\t\\t finish();\\n\\t\\t\\t\\t /*\\n\\t\\t\\t \\n\\t\\t\\t \\n\\t\\t\\t // dh.open();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//dh.close();\\n\\t\\t\\t\\t\\tif(!bikedetails1.isEmpty()){\\n\\t\\t\\t\\t\\t\\tpurchase_date_set.setText(\\\":\\\"+\\\" \\\"+bikedetails1.get(0).toString());\\n\\t\\t\\t\\t\\t\\tpurchase_price_set.setText(\\\":\\\"+\\\" \\\"+bikedetails1.get(1).toString());\\n\\t\\t\\t\\t\\t\\tpurchase_notes_set.setText(\\\":\\\"+\\\" \\\"+bikedetails1.get(2).toString());\\n\\t\\t\\t\\t\\t\\t returnvalue1= db.deleteBikepurchaseDetails(bikename);\\n\\t\\t\\t\\t\\t\\t returnvalue= db.deleteBikeDetails(bikename);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\treturnvalue= db.deleteBikeDetails(bikename);\\n\\t\\t\\t\\t if (((returnvalue)&&(returnvalue1))) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t returnvalue2= db.deleteBikeDepartureDetails(bikename);\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t \\n\\t\\t\\t\\t if (returnvalue2) {\\n\\t\\t\\t\\t\\t check1=true;\\n\\t\\t\\t\\t\\t returnvalue3= db.deleteBikeExpencesDetails(bikename);\\n\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t db.close();\\n\\t\\t\\t\\t if (returnvalue3) {\\n\\t\\t\\t\\t\\t check2=true;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t if (returnvalue&&returnvalue1&&check1&&check2) {\\n\\t\\t\\t\\t\\t Toast.makeText(DeleteBikeDetails.this, \\\"Your \\\"+bikename +\\\"Details Are Deleted\\\", Toast.LENGTH_SHORT).show();\\n\\t\\t\\t\\t\\t startActivity(new Intent(DeleteBikeDetails.this, Bike.class));\\n\\t\\t\\t\\t\\t finish();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t else{\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"deleted>>>>>>>>>>>>>>>>>>>>>>\\\"+returnvalue+returnvalue1);\\n\\t\\t\\t\\t}*/\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e9a0cf92fbd26ae5090d7237bed63ef\",\n \"score\": \"0.5246747\",\n \"text\": \"public void deleteItem() throws SQLException {\\r\\n publisherUnitsAdapter.deletePublisherUnit(oldName.getValue().trim());\\r\\n Stage stage = (Stage) deleteButton.getScene().getWindow();\\r\\n stage.close();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd4e549167835c6646285ea22430852a\",\n \"score\": \"0.5239203\",\n \"text\": \"void unsetGetProductPackageProductMatchingFileDataResult();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"756713229618721bd6406812bcca079a\",\n \"score\": \"0.52382123\",\n \"text\": \"private void deleteReport(Operators os, String code) {\\r\\n\\t\\tString sql = \\\" from Trpreport as a where a.code='\\\" + code + \\\"'\\\";\\r\\n\\t\\tList list = dao.iterate(sql);\\r\\n\\t\\tfor (Object o : list) {\\r\\n\\t\\t\\tTrpreport po = (Trpreport) o;\\r\\n\\t\\t\\tos.addDeleteObject(po);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tStringBuffer hql = new StringBuffer();\\r\\n\\t\\t\\thql.append(\\\" delete from Trpreportdatasource where trpreportid=\\\");\\r\\n\\t\\t\\thql.append(po.getTrpreportid());\\r\\n\\t\\t\\tos.addScriptObject(hql.toString());\\r\\n\\r\\n\\t\\t\\tStringBuffer hql1 = new StringBuffer();\\r\\n\\t\\t\\thql1.append(\\\" delete from Trpreportcondition where trpreportid=\\\");\\r\\n\\t\\t\\thql1.append(po.getTrpreportid());\\r\\n\\t\\t\\tos.addScriptObject(hql1.toString());\\r\\n\\r\\n\\t\\t\\tStringBuffer hql2 = new StringBuffer();\\r\\n\\t\\t\\thql2.append(\\\" delete from Trpreportplugin where trpreportid=\\\");\\r\\n\\t\\t\\thql2.append(po.getTrpreportid());\\r\\n\\t\\t\\tos.addScriptObject(hql2.toString());\\r\\n\\r\\n\\t\\t\\tStringBuffer hql3 = new StringBuffer();\\r\\n\\t\\t\\thql3.append(\\\" delete from Trpreportdtl where trpreportid=\\\");\\r\\n\\t\\t\\thql3.append(po.getTrpreportid());\\r\\n\\t\\t\\tos.addScriptObject(hql3.toString());\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47e392a28c6d81fb546395981e9c464f\",\n \"score\": \"0.52365315\",\n \"text\": \"protected void vdMakeProcessIDObsoleteInAllProcessTables(long lProcessID)\\r\\n\\t\\t\\tthrows Exception { // Starting Braces of the Function\\r\\n\\r\\n\\t\\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\\r\\n\\r\\n\\t\\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\\r\\n\\t\\ttry {\\r\\n\\r\\n\\t\\t\\t/** **************************************MAKING OF NEXT QUERRY************************************** */\\r\\n\\t\\t\\tProcessRow processRow = null; // Initializing the Object Class for the PROCESS table\\r\\n\\r\\n\\t\\t\\tprocessTable = (Process) teleSessionMgr.getTable(string_PROCESS); // Getting the PROCESS table from the session\\r\\n\\t\\t\\t//processRow = new ProcessRow();\\r\\n\\t\\t\\tprocessRow = (ProcessRow) processTable\\r\\n\\t\\t\\t\\t\\t.prSearchByProcessIDandObsolete(lProcessID, FINAL_ZERO);\\r\\n\\r\\n\\t\\t\\tif (null != processRow) {\\r\\n\\t\\t\\t\\tif (null != processTable) {\\r\\n\\t\\t\\t\\t\\tif (null != processRow) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// ****************STARTING*****************TO PRINT QUERRY**********************************************\\r\\n\\t\\t\\t\\t\\t\\tif ((GAfePropertyLoader.DEBUG)) {\\r\\n\\t\\t\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"********************************************************************\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"Deleted Process : \\\" + processRow.lProcessID + \\\" from the Process Table\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"********************************************************************\\\");\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// ****************ENDING*******************TO PRINT QUERRY**********************************************\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// Updating All the Values Over here\\r\\n\\t\\t\\t\\t\\t\\tprocessRow.iObsolete = NOTEXISTS;\\r\\n\\t\\t\\t\\t\\t\\tprocessRow.strModificationUser = bSession.strUserName;\\r\\n\\r\\n\\t\\t\\t\\t\\t\\tif ((processRow.iStatusInDB == Record.VIEW)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t|| (processRow.iStatusInDB == Record.UPDATE)) {\\r\\n\\t\\t\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t// BEGIN DELETE V5.21a\\r\\n\\t\\t\\t\\t\\t\\t\\t// comment: As per Change NSA flow the below code nothing needs to be done\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t/*\\r\\n\\t\\t\\t\\t\\t\\t\\t * processRow.iStatusInDB = Record.UPDATE;\\r\\n\\t\\t\\t\\t\\t\\t\\t * processTable.updateRecord(processRow);\\r\\n\\t\\t\\t\\t\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t// END DELETE V5.21a\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// when iStatusInDB is equal to Record.INSERT\\r\\n\\t\\t\\t\\t\\t\\telse {\\r\\n\\t\\t\\t\\t\\t\\t\\tprocessRow.iStatusInDB = Record.DELETE;\\r\\n\\t\\t\\t\\t\\t\\t\\tprocessTable.deleteRecord(processRow.lProcessID);\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t} // end of the if loop\\r\\n\\t\\t\\t\\t} // end of the if loop\\r\\n\\r\\n\\t\\t\\t\\t// Put the container back into the session\\r\\n\\t\\t\\t\\tteleSessionMgr.putTable(string_PROCESS, processTable);\\r\\n\\t\\t\\t} // end of the if loop\\r\\n\\r\\n\\t\\t\\tProcessLinkRow processLinkRow = null; // Initializing the Object Class for the Vat table\\r\\n\\r\\n\\t\\t\\tprocessLinkTable = (ProcessLink) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t.getTable(string_PROCESSLINK); // Getting the Vat table from the session\\r\\n\\r\\n\\t\\t\\tVector vctProcessLinkRow = null;\\r\\n\\r\\n\\t\\t\\tvctProcessLinkRow = processLinkTable\\r\\n\\t\\t\\t\\t\\t.vctSearchByProcessIDandObsolete(lProcessID, FINAL_ZERO);\\r\\n\\r\\n\\t\\t\\tif ((null != vctProcessLinkRow)\\r\\n\\t\\t\\t\\t\\t&& (FINAL_ZERO != vctProcessLinkRow.size())) {\\r\\n\\t\\t\\t\\tfor (int iCounter = FINAL_ZERO; iCounter < vctProcessLinkRow\\r\\n\\t\\t\\t\\t\\t\\t.size(); iCounter++) {\\r\\n\\t\\t\\t\\t\\tprocessLinkRow = new ProcessLinkRow();\\r\\n\\t\\t\\t\\t\\tprocessLinkRow = (ProcessLinkRow) vctProcessLinkRow\\r\\n\\t\\t\\t\\t\\t\\t\\t.elementAt(iCounter);\\r\\n\\r\\n\\t\\t\\t\\t\\tif (null != processLinkTable) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// If the ProcessLink Row is not null and is not obsolete then to mark them for deletion\\r\\n\\t\\t\\t\\t\\t\\tif ((null != processLinkRow)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t&& (FINAL_ONE != processLinkRow.iObsolete)) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t/** **************STARTING*****************TO PRINT QUERRY******************************************** */\\r\\n\\t\\t\\t\\t\\t\\t\\tif ((GAfePropertyLoader.DEBUG)) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"********************************************************************\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"Deleted ProcessLink : \\\" + processLinkRow.lProcessLinkID + \\\" from the ProcessLink Table\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t// System.out.println(\\\"********************************************************************\\\");\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t/** **************ENDING*******************TO PRINT QUERRY******************************************** */\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t// Updating All the Values Over here\\r\\n\\t\\t\\t\\t\\t\\t\\tprocessLinkRow.iObsolete = NOTEXISTS;\\r\\n\\t\\t\\t\\t\\t\\t\\tprocessLinkRow.strModificationUser = bSession.strUserName;\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\tif ((processLinkRow.iStatusInDB == Record.VIEW)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t|| (processLinkRow.iStatusInDB == Record.UPDATE)) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tprocessLinkRow.iStatusInDB = Record.UPDATE;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tprocessLinkTable.updateRecord(processLinkRow);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t// when iStatusInDB is equal to Record.INSERT\\r\\n\\t\\t\\t\\t\\t\\t\\telse {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tprocessLinkRow.iStatusInDB = Record.DELETE;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tprocessLinkTable\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.deleteRecord(processLinkRow.lProcessLinkID);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t} // end of the if loop\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// Put the container back into the session\\r\\n\\t\\t\\t\\t\\t\\tteleSessionMgr\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.putTable(string_PROCESSLINK, processLinkTable);\\r\\n\\t\\t\\t\\t\\t} // end of the if loop\\r\\n\\t\\t\\t\\t} // end of the for loop\\r\\n\\t\\t\\t} // end of the if loop\\r\\n\\r\\n\\t\\t\\tProcessStatusRow processStatusRow = null; // Initializing the Object Class for the Vat table\\r\\n\\r\\n\\t\\t\\tprocessStatusTable = (ProcessStatus) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t.getTable(string_PROCESSSTATUS); // Getting the Vat table from the session\\r\\n\\t\\t\\tprocessStatusRow = processStatusTable\\r\\n\\t\\t\\t\\t\\t.psrSearchByProcessID(lProcessID);\\r\\n\\r\\n\\t\\t\\tif (null != processStatusTable) {\\r\\n\\r\\n\\t\\t\\t\\t// If the ProcessStatus Row is not null and is not obsolete then to mark them for deletion\\r\\n\\t\\t\\t\\tif ((null != processStatusRow)\\r\\n\\t\\t\\t\\t\\t\\t&& (FINAL_ONE != processStatusRow.iObsolete)) {\\r\\n\\r\\n\\t\\t\\t\\t\\t/** **************STARTING*****************TO PRINT QUERRY******************************************** */\\r\\n\\t\\t\\t\\t\\tif ((GAfePropertyLoader.DEBUG)) {\\r\\n\\t\\t\\t\\t\\t\\tGLogger.chkpt(\\\"Inside if statement\\\");\\r\\n\\t\\t\\t\\t\\t\\t// System.out.println(\\\"********************************************************************\\\");\\r\\n\\t\\t\\t\\t\\t\\t// System.out.println(\\\"Deleted ProcessStatus : \\\" + processStatusRow.lProcessStatusID + \\\" from the ProcessStatus Table\\\");\\r\\n\\t\\t\\t\\t\\t\\t// System.out.println(\\\"********************************************************************\\\");\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t/** **************ENDING*******************TO PRINT QUERRY******************************************** */\\r\\n\\r\\n\\t\\t\\t\\t\\t// BEGIN DELETE V5.21a\\r\\n\\t\\t\\t\\t\\t// comment: only insertion in processstatus as per Change NSA Flow doc\\r\\n\\t\\t\\t\\t\\t/*\\r\\n\\t\\t\\t\\t\\t *\\r\\n\\t\\t\\t\\t\\t * //Updating All the Values Over here\\r\\n\\t\\t\\t\\t\\t * processStatusRow.iObsolete = NOTEXISTS;\\r\\n\\t\\t\\t\\t\\t * processStatusRow.strModificationUser = bSession.strUserName;\\r\\n\\t\\t\\t\\t\\t *\\r\\n\\t\\t\\t\\t\\t * //Begin : Add ver 2.43 by Abhishek\\r\\n\\t\\t\\t\\t\\t * processStatusRow.lProcessStatusTypeID = GAfeDescription.lGetTypeId(\\\"PROCESSSTATUSTYPE_NP_CANCELLED\\\");\\r\\n\\t\\t\\t\\t\\t * //End : Add ver 2.43 by Abhishek\\r\\n\\t\\t\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t\\t\\t// END DELETE V5.21a\\r\\n\\t\\t\\t\\t\\tif ((processStatusRow.iStatusInDB == Record.VIEW)\\r\\n\\t\\t\\t\\t\\t\\t\\t|| (processStatusRow.iStatusInDB == Record.UPDATE)) {\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// BEGIN DELETE V5.21a\\r\\n\\t\\t\\t\\t\\t\\t// comment: only insertion in process table\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t/*\\r\\n\\t\\t\\t\\t\\t\\t * processStatusRow.iStatusInDB = Record.UPDATE;\\r\\n\\t\\t\\t\\t\\t\\t * processStatusTable.updateRecord(processStatusRow);\\r\\n\\t\\t\\t\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// END DELETE V5.21a\\r\\n\\t\\t\\t\\t\\t\\t// BEGIN ADD V5.21a\\r\\n\\t\\t\\t\\t\\t\\t// comment: code to add a process status row with status cancel\\r\\n\\t\\t\\t\\t\\t\\t// Inserting a Record in Process Status table\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow = null;\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow = new ProcessStatusRow();\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.iStatusInDB = Record.INSERT;\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.lProcessStatusID = processStatusRow\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.lNewNr();\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.lProcessID = lProcessID;\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.lProcessStatusTypeID = GAfeDescription\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.lGetTypeId(\\\"PROCESSSTATUSTYPE_NP_CANCELLED\\\");\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.strCreationUser = bSession.strUserName;\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.strModificationUser = bSession.strUserName;\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusTable.addUniqueRecord(processStatusRow);\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// END ADD V5.21a\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t// when iStatusInDB is equal to Record.INSERT\\r\\n\\t\\t\\t\\t\\telse {\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusRow.iStatusInDB = Record.DELETE;\\r\\n\\t\\t\\t\\t\\t\\tprocessStatusTable\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.deleteRecord(processStatusRow.lProcessStatusID);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} // end of the if loop\\r\\n\\r\\n\\t\\t\\t\\t// Put the container back into the session\\r\\n\\t\\t\\t\\tteleSessionMgr.putTable(string_PROCESSSTATUS, processStatusTable);\\r\\n\\t\\t\\t} // end of the if loop\\r\\n\\r\\n\\t\\t\\t/** **************************************MAKING OF NEXT QUERRY************************************** */\\r\\n\\t\\t} // end of the if loop\\r\\n\\t\\tcatch (Exception ex) {\\r\\n\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\t//ex.printStackTrace(System.out);\\r\\n\\t\\t\\t\\tGLogger.logException(ex);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tAfeException afe = new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\\r\\n\\r\\n\\t\\t\\tthrow afe;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"318dcf9699aa99ed6deb0dad10abd1c1\",\n \"score\": \"0.52311885\",\n \"text\": \"public void deleteAccount(){\\r\\n\\t\\tString number = askNumber();\\r\\n\\t\\tString name = askName();\\r\\n\\t\\tthis.AccountList.remove(number);\\r\\n\\t\\tthis.dailySummary.add(\\\"DEL \\\" + number + \\\" 000 \\\" + \\\"0000000 \\\" + name);\\r\\n\\t\\tSystem.out.println(\\\"Delete Transaction Complete\\\");\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c6ac5f7db0af3fe00f85a520843129c\",\n \"score\": \"0.52265394\",\n \"text\": \"void deleteRequirement(Integer requirementId, Integer projectId) throws SquareException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bda14dd215f7f3d6d006557516bc4e3\",\n \"score\": \"0.52177536\",\n \"text\": \"public\\n\\tvoid exec()\\n\\t{\\t\\n\\t\\tms.removeLocalMem();\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"caf00fd56e87f2f6fe414af6ee329b62\",\n \"score\": \"0.5216007\",\n \"text\": \"void delete(Workflowdefine workflowdefine);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab42521b79bb2f4bfd4d18c4f957cfb2\",\n \"score\": \"0.5215948\",\n \"text\": \"public int deleteInventory(int id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50409223877bd1f5b3c11b431c47ae13\",\n \"score\": \"0.5209514\",\n \"text\": \"@Override\\n\\tprotected void executeInternal(JobExecutionContext context) throws JobExecutionException {\\n\\t\\tlogger.info(\\\"(投资计划结清)处理开始 实例ID:\\\"+context.getFireInstanceId());\\n\\t\\tList userPlans = zqzrManage.getUserPlansInQuit(null);\\n\\t\\tif(userPlans!=null && userPlans.size()>0){\\n\\t\\t\\tfor(UserPlan userPlan : userPlans){\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tzqzrManage.doSettlementPlan(userPlan);\\n\\t\\t\\t\\t}catch(Throwable e){\\n\\t\\t\\t\\t\\tlogger.error(\\\"(投资计划结清)处理异常:userPlan:({}),异常信息:({})\\\", JSON.toJSONString(userPlan),e.toString());\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tlogger.info(\\\"(投资计划结清)结清处理结束({})\\\",userPlans.size());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a3ee594cf790bc65a2caceb0c48792f\",\n \"score\": \"0.5206427\",\n \"text\": \"public static void void_receipt_items(String num, String prod_num,String prod_name,String qty,String price) {\\r\\n\\r\\n \\r\\n\\r\\n try {\\r\\n Connection conn = MyConnection1.connect();\\r\\n\\r\\n String s1 = \\\"delete from \\\"+MyDB.getNames()+\\\".receipt_items where id='\\\" + num + \\\"'\\\";\\r\\n PreparedStatement stmt1 = conn.prepareStatement(s1);\\r\\n stmt1.execute();\\r\\n\\r\\n\\r\\n \\r\\n SimpleDateFormat sf=new SimpleDateFormat(\\\"yyyy-MM-dd hh:mm:ss\\\");\\r\\n String date=sf.format(new Date());\\r\\n \\r\\n \\r\\n double qty1=S9_add_product.get_product_qty(prod_name);\\r\\n double total=Double.parseDouble(qty)+qty1;\\r\\n String s2 = \\\"update \\\"+MyDB.getNames()+\\\".inventory2_stocks_left set product_qty='\\\"+total+\\\"'where prod_num='\\\" + prod_num + \\\"'\\\";\\r\\n PreparedStatement stmt2 = conn.prepareStatement(s2);\\r\\n stmt2.execute();\\r\\n \\r\\n String s3=\\\"insert into \\\"+MyDB.getNames()+\\\".cancelled_order(or_num,or_date,prod_name,qty,price)values(?,?,?,?,?)\\\";\\r\\n PreparedStatement stmt3 = conn.prepareStatement(s3);\\r\\n stmt3.setString(1,num);\\r\\n stmt3.setString(2,date);\\r\\n stmt3.setString(3,prod_name);\\r\\n stmt3.setString(4,qty);\\r\\n stmt3.setString(5,price); \\r\\n stmt3.execute();\\r\\n \\r\\n Prompt.call(\\\"Transaction Cancelled\\\");\\r\\n// JOptionPane.showMessageDialog(null, \\\"Transaction Cancelled\\\");\\r\\n\\r\\n } catch (Exception e) {\\r\\n throw new RuntimeException(e);\\r\\n } finally {\\r\\n MyConnection1.close();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd255873b907fb1c611602536ea4b6a4\",\n \"score\": \"0.5205085\",\n \"text\": \"private static void cleanTablesPDV() {\\n Connection conn = null;\\n Statement st;\\n String sql = \\\"DELETE FROM produtos;\\\"\\n + \\\"DELETE FROM vendpdv;\\\"\\n + \\\"DELETE FROM vpropdv;\\\";\\n try {\\n conn = openConnection();\\n st = conn.createStatement();\\n st.executeUpdate(sql);\\n System.out.println(\\\"LIMPOU TABELAS DBPDV\\\");\\n } catch (SQLException e) {\\n System.out.println(\\\"ERRO AO ABRIR CONEXAO COM DBJPDV: \\\" + e);\\n } catch (ClassNotFoundException e) {\\n System.out.println(\\\"ERRO COM ARQUIVO DBJPDV: \\\" + e);\\n } finally {\\n closeSQLite(conn);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2201bdc4021cd22b7b6c868114a491ec\",\n \"score\": \"0.52034664\",\n \"text\": \"public int iValidateUnSelect(BProductDetailProperty bProductDetailProperty,\\r\\n\\t\\t\\tBProductDetail bProductDetail, Long lProductID) throws Exception { // Starting Braces of the Function\\r\\n\\r\\n\\t\\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\\r\\n\\t\\tint iFirstCheck = 0; // Local Varaible Declaration\\r\\n\\t\\tint iSecondCheck = 0; // Local Varaible Declaration\\r\\n\\t\\tint iMin; // Local Varaible Declaration\\r\\n\\t\\tint iMax; // Local Varaible Declaration\\r\\n\\t\\tint iCount = 0; // Local Varaible Declaration\\r\\n\\t\\tLong lOptionGroupID; // Local Varaible Declaration\\r\\n\\r\\n\\t\\t// BEGIN ADD V5.20a\\r\\n\\t\\t// Comment: Changes made for Security Service\\r\\n\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t// Vector vctProduct = null;\\r\\n\\t\\t// int iSizeOfVector = 0;\\r\\n\\t\\t// long lTempProdId = 0;\\r\\n\\t\\t// boolean bCheck = false;\\r\\n\\t\\t// boolean bNotProvisioned = false;\\r\\n\\t\\t// End DEL v9.01d\\r\\n\\t\\t// END ADD V5.20a\\r\\n\\r\\n\\t\\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\\r\\n\\t\\ttry {\\r\\n\\r\\n\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t// StringBuffer strSql = new StringBuffer(\\\"\\\"); //Defining a String Buffer to make the Sql querry\\r\\n\\t\\t\\t// End DEL v9.01d\\r\\n\\r\\n\\t\\t\\t/**\\r\\n\\t\\t\\t * **************STARTING*****************TO PRINT THE DATA\\r\\n\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t * {\\r\\n\\t\\t\\t * System.out.println(\\\"iHidden --> \\\" +bProductDetail.iHidden);\\r\\n\\t\\t\\t * }\\r\\n\\t\\t\\t * /****************ENDING*******************TO PRINT THE DATA******************************************\\r\\n\\t\\t\\t */\\r\\n\\t\\t\\t// BEGIN DELETE V5.20a\\r\\n\\t\\t\\t// Comment: Changes made for Security Service\\r\\n\\t\\t\\t/*\\r\\n\\t\\t\\t * if(FINAL_ONE == bProductDetail.iHidden)\\r\\n\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t// END DELETE V5.20a\\r\\n\\t\\t\\t// BEGIN ADD V5.20a\\r\\n\\t\\t\\t// Comment: Changes made for Security Service\\r\\n\\t\\t\\t//BEGIN DELETE V5.60b\\r\\n\\t\\t\\t//Comment: deleting this as Security product can be available in both the grid and can be moved.\\r\\n\\t\\t\\t/*\\r\\n\\t\\t\\t vctProduct = GAfeDescription.vctGetAllTypeIds(GAfeConstants.PRODUCT_SPECIALTYPE);\\r\\n\\t\\t\\t if (null != vctProduct && 0 != vctProduct.size())\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t iSizeOfVector = vctProduct.size();\\r\\n\\t\\t\\t for (int iCnt = 0;iCnt < iSizeOfVector;iCnt++ )\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t lTempProdId = Long.parseLong((String)vctProduct.elementAt(iCnt));\\r\\n\\t\\t\\t if (lTempProdId == bProductDetail.lProductID.longValue())\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t bCheck = true;\\r\\n\\t\\t\\t if (null == bProductDetail.dtActivationDate)\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t bNotProvisioned = true;\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t else\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t if (null != bProductDetailProperty && null != bProductDetailProperty.lCustomerProductLineID)\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t bNotProvisioned = bCheckProvisionStatus(bProductDetailProperty.lCustomerProductLineID.longValue());\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t break;\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t if (true == bCheck && true == bNotProvisioned)\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t //BEGIN DELETE V 5.25a\\r\\n\\t\\t\\t //Need to modify error lables mismatch\\r\\n\\t\\t\\t //throw new AfeException(GErrorCodes.ERRAFE_00812); // This product can not be deactivated as they are not provisioned.\\r\\n\\t\\t\\t //END DELETE V 5.25a\\r\\n\\t\\t\\t //BEGIN ADD V 5.25a\\r\\n\\t\\t\\t //Need to modify error lables mismatch\\r\\n\\t\\t\\t throw new AfeException(GErrorCodes.ERRAFE_00830); // This product can not be deactivated as they are not provisioned.\\r\\n\\t\\t\\t //END ADD V 5.25a\\r\\n\\t\\t\\t }\\r\\n\\r\\n\\r\\n\\r\\n\\t\\t\\t else if (FINAL_ONE == bProductDetail.iHidden && !bCheck)\\r\\n\\t\\t\\t //END ADD V5.20a\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t throw new AfeException(\\\"ERRAFE_00508\\\"); //This is a Special Product Based On Your Selection So Cannot be Removed\\r\\n\\t\\t\\t }\\r\\n\\t\\t\\t else\\r\\n\\t\\t\\t {\\r\\n\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\t// END DELETE 5.60b\\r\\n\\t\\t\\tiFirstCheck = 1;\\r\\n\\r\\n\\t\\t\\t// BEGIN DELETE 5.60b\\r\\n\\r\\n\\t\\t\\t// }\\r\\n\\t\\t\\t//END DELETE5.60b\\r\\n\\t\\t\\tif (iFirstCheck == 1) {\\r\\n\\t\\t\\t\\tlOptionGroupID = bProductDetail.lOptionGroupID;\\r\\n\\r\\n\\t\\t\\t\\t/** **************************************MAKING OF NEXT QUERRY************************************** */\\r\\n\\t\\t\\t\\tOptionGroupRow optionGroupRow = null; // Initializing the Object Class for the OptionGroup table\\r\\n\\r\\n\\t\\t\\t\\tif (null == optionGroupTable) {\\r\\n\\t\\t\\t\\t\\toptionGroupTable = (OptionGroup) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t\\t\\t.getMasterTable(string_OPTIONGROUP); // Getting the OptionGroup table from the session\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\toptionGroupRow = optionGroupTable\\r\\n\\t\\t\\t\\t\\t\\t.prSearchByOptionGroupIDandObsolete(lOptionGroupID\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.longValue(), FINAL_ZERO);\\r\\n\\r\\n\\t\\t\\t\\t/**\\r\\n\\t\\t\\t\\t * **************STARTING*****************TO PRINT QUERRY\\r\\n\\t\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t\\t * {\\r\\n\\t\\t\\t\\t * strSql.setLength(0); //Initialising\\r\\n\\t\\t\\t\\t * strSql.append(\\\"SELECT MINMANDPRODUCTS, MAXMANDPRODUCTS FROM OPTIONGROUP WHERE OPTIONGROUPID = \\\").append(lOptionGroupID);\\r\\n\\t\\t\\t\\t * strSql.append(\\\" AND OBSOLETE = \\\").append(FINAL_ZERO);\\r\\n\\t\\t\\t\\t * System.out.println(\\\"The Querry is : \\\" + strSql.toString());\\r\\n\\t\\t\\t\\t * }\\r\\n\\t\\t\\t\\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\\r\\n\\t\\t\\t\\t */\\r\\n\\t\\t\\t\\tiMin = optionGroupRow.iMinMandProducts;\\r\\n\\t\\t\\t\\tiMax = optionGroupRow.iMaxMandProducts;\\r\\n\\r\\n\\t\\t\\t\\t/** **************************************MAKING OF NEXT QUERRY************************************** */\\r\\n\\r\\n\\t\\t\\t\\t// Begin DEL v9.01d\\r\\n\\t\\t\\t\\t// OptionProductRow optionProductRow = null; // Initializing the Object Class for the OptionGroup table\\r\\n\\t\\t\\t\\t// End DEL v9.01d\\r\\n\\t\\t\\t\\tif (null == optionProductTable) {\\r\\n\\t\\t\\t\\t\\toptionProductTable = (OptionProduct) teleSessionMgr\\r\\n\\t\\t\\t\\t\\t\\t\\t.getMasterTable(string_OPTIONPRODUCT); // Getting the OptionGroup table from the session\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\tVector vctObjOPIDOInternal = null;\\r\\n\\r\\n\\t\\t\\t\\t// BEGIN DELETE v5.80a\\r\\n\\t\\t\\t\\t// vctObjOPIDOInternal = optionProductTable.vctSearchByOptionGroupIDandObsolete(lOptionGroupID.longValue(), FINAL_ZERO);\\r\\n\\t\\t\\t\\t// END DELETE v5.80a\\r\\n\\t\\t\\t\\t// BEGIN ADD v5.80a\\r\\n\\t\\t\\t\\tvctObjOPIDOInternal = optionProductTable\\r\\n\\t\\t\\t\\t\\t\\t.vctSearchByOptionGroupIDandObsolete(lOptionGroupID\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.longValue(), FINAL_ZERO,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tbProductDetailProperty.iRateClassIDNew);\\r\\n\\r\\n\\t\\t\\t\\t// END ADD v5.80a\\r\\n\\r\\n\\t\\t\\t\\t/**\\r\\n\\t\\t\\t\\t * **************STARTING*****************TO PRINT QUERRY\\r\\n\\t\\t\\t\\t * if(GAfePropertyLoader.DEBUG)\\r\\n\\t\\t\\t\\t * {\\r\\n\\t\\t\\t\\t * strSql.setLength(0); //Initialising\\r\\n\\t\\t\\t\\t * strSql.append(\\\"SELECT COUNT(*) LCOUNT FROM OPTIONPRODUCT WHERE OPTIONGROUPID = \\\").append(lOptionGroupID);\\r\\n\\t\\t\\t\\t * strSql.append(\\\" AND OBSOLETE = \\\").append(FINAL_ZERO);\\r\\n\\t\\t\\t\\t * System.out.println(\\\"The Querry is : \\\" + strSql.toString());\\r\\n\\t\\t\\t\\t * }\\r\\n\\t\\t\\t\\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\\r\\n\\t\\t\\t\\t */\\r\\n\\t\\t\\t\\tif (null != vctObjOPIDOInternal) {\\r\\n\\t\\t\\t\\t\\tiCount = vctObjOPIDOInternal.size();\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t// BEGIN ADD : V5.34\\r\\n\\t\\t\\t\\tint iSizeOfSelVec = bProductDetailProperty.vctProductSelected\\r\\n\\t\\t\\t\\t\\t\\t.size();\\r\\n\\t\\t\\t\\tint iNoOfOccurences = 0;\\r\\n\\r\\n\\t\\t\\t\\tbProductDetail = null;\\r\\n\\r\\n\\t\\t\\t\\tfor (int iCountProds = 0; iCountProds < iSizeOfSelVec; iCountProds++) {\\r\\n\\t\\t\\t\\t\\tbProductDetail = (BProductDetail) bProductDetailProperty.vctProductSelected\\r\\n\\t\\t\\t\\t\\t\\t\\t.elementAt(iCountProds);\\r\\n\\r\\n\\t\\t\\t\\t\\tif (lProductID.longValue() == bProductDetail.lProductID\\r\\n\\t\\t\\t\\t\\t\\t\\t.longValue()) {\\r\\n\\t\\t\\t\\t\\t\\tiNoOfOccurences++;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t// END ADD : V5.34\\r\\n\\r\\n\\t\\t\\t\\tif ((iMin == iCount) && (iCount == iMax)) {\\r\\n\\r\\n\\t\\t\\t\\t\\t// BEGIN MODIFY : V5.34\\r\\n\\t\\t\\t\\t\\t// Added Condition to check for No Of Occurences of the Product Greated than Max Count.\\r\\n\\t\\t\\t\\t\\t// BEGIN DELETE V5.69a\\r\\n\\t\\t\\t\\t\\t// if (iNoOfOccurences > iMax)\\r\\n\\t\\t\\t\\t\\t// END DELETE V5.69a\\r\\n\\t\\t\\t\\t\\t// BEGIN ADD V5.69a\\r\\n\\t\\t\\t\\t\\tif (iNoOfOccurences <= iMax)\\r\\n\\r\\n\\t\\t\\t\\t\\t// END ADD V5.69a\\r\\n\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\tthrow new AfeException(\\\"ERRAFE_00509\\\"); /* This Product is a Mandatory Product and Cannot be Unselected */\\r\\n\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\tiSecondCheck = 1;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t// END MODIFY : V5.34\\r\\n\\r\\n\\t\\t\\t\\t\\t// BEGIN DELETE V5.35b\\r\\n\\t\\t\\t\\t\\t// comment: not required\\r\\n\\t\\t\\t\\t\\t// BEGIN ADD V5.34a\\r\\n\\t\\t\\t\\t\\t// comment: incorporating changes done by Amit Sharma for LN323\\r\\n\\t\\t\\t\\t\\t// throw new AfeException(\\\"ERRAFE_00509\\\"); /*This Product is a Mandatory Product and Cannot be Unselected*/\\r\\n\\t\\t\\t\\t\\t// END ADD V5.34a\\r\\n\\t\\t\\t\\t\\t// END DELETE V5.35b\\r\\n\\t\\t\\t\\t} // end of the if loop\\r\\n\\t\\t\\t\\telse {\\r\\n\\t\\t\\t\\t\\tiSecondCheck = 1;\\r\\n\\t\\t\\t\\t} // end of the else part of the if loop\\r\\n\\t\\t\\t} // end of the if loop\\r\\n\\t\\t} catch (AfeException afee) // catch block starts to catch exceptions\\r\\n\\t\\t{\\r\\n\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\r\\n\\t\\t\\t\\t/* BEGIN DELETE VER: 5.59tan */\\r\\n\\r\\n\\t\\t\\t\\t// System.out.println(afee.strGetErrCode() + \\\" ---------- \\\" +afee.strGetErrMsg());\\r\\n\\t\\t\\t\\t/* END DELETE VER: 5.59tan */\\r\\n\\t\\t\\t\\t//afee.printStackTrace(System.out);\\r\\n\\t\\t\\t\\tGLogger.logException(afee);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tthrow afee;\\r\\n\\t\\t} catch (Exception ex) {\\r\\n\\t\\t\\tif (GAfePropertyLoader.DEBUG) {\\r\\n\\t\\t\\t\\t//ex.printStackTrace(System.out);\\r\\n\\t\\t\\t\\tGLogger.logException(ex);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tAfeException afe = new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\\r\\n\\r\\n\\t\\t\\tthrow afe;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// Returning of the String\\r\\n\\t\\treturn iSecondCheck;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36accad12f5bf2df6075022f55d28084\",\n \"score\": \"0.5196971\",\n \"text\": \"public void delete() {\\n System.out.println(\\\"Remove a Promotion\\\");\\n System.out.println(\\\"---------------------\\\");\\n // find if the Promotion is in the database or not //\\n System.out.println(\\\"Enter the name of the Promotion:\\\");\\n String name = sc.nextLine();\\n if (Database_Controller.getPromotionByName(name) == null) {\\n System.out.println(\\\"Promotion \\\" + name+ \\\" does not exist!\\\");\\n\\n } else {\\n Database_Controller.deletePromotion(name);// =---- from the database\\n System.out.println(\\\"Promotion removed!\\\");\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99b3d9499f993fd3b6fe59a620e781cd\",\n \"score\": \"0.5194154\",\n \"text\": \"@Override\\n public void execute() {\\n m_climber.retractArms();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35e251f018b06062d43ffe0056c95efc\",\n \"score\": \"0.51931095\",\n \"text\": \"public void deletePricingModelData() {\\n\\n\\t\\tSet keys = mPricePointTiers.keySet() ;\\n\\t\\tIterator iter = keys.iterator();\\n\\t\\tObject key;\\n\\t\\tPricePointTier tier;\\n\\t\\twhile (iter.hasNext()) {\\n\\t\\t\\tkey = iter.next();\\n\\t\\t\\ttier =mPricePointTiers.get(key);\\n\\t\\t\\tif ( tier.isDefaultPPT() == false ) mPricePointTiers.remove(key);\\n\\t\\t}\\n\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d8a758452394974d740f21bf25c72c1\",\n \"score\": \"0.5189827\",\n \"text\": \"@Test\\n public void whenDeleteExistingItemThenItMustBeDeleted() {\\n final ArrayList answers = new ArrayList<>(Arrays.asList(\\n \\\"4\\\", \\\"1\\\", \\\"n\\\",\\n \\\"2\\\", \\\"y\\\"\\n ));\\n String[] expectedOutput = new String[]{\\n \\\"Successful deleting.\\\",\\n \\\"No items to show\\\"\\n };\\n Input input = new ValidateStubInput(answers);\\n StubOutput output = new StubOutput();\\n Tracker tracker = new Tracker();\\n tracker.add(new Task(\\\"1 task\\\", \\\"1 desc\\\"));\\n new StartUI(tracker, input, output).init();\\n assertThat(output.getAnswers(), is(Arrays.asList(expectedOutput)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31e83e4b87a1af3e7db48375f99d6810\",\n \"score\": \"0.51857847\",\n \"text\": \"protected void deleteDataMaster(Connection conn) throws ReadWriteException\\n\\t{\\n\\t\\t//#CM695788\\n\\t\\t/*************************************\\n\\t\\t * Delete the Consignor master info.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start consignorAutoRemover.suppress(holdDays) ****\\\");\\n\\t\\tConsignorAutoRemover consignorAutoRemover = new ConsignorAutoRemover(conn);\\n\\t\\tconsignorAutoRemover.setClassName(wProcessName);\\n\\t\\tconsignorAutoRemover.suppress(wHoldDays);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End consignorAutoRemover.suppress(holdDays) ****\\\");\\n\\n\\t\\t//#CM695789\\n\\t\\t/*************************************\\n\\t\\t * Delete the Supplier master info.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start supplierAutoRemover.suppress(holdDays) ****\\\");\\n\\t\\tSupplierAutoRemover supplierAutoRemover = new SupplierAutoRemover(conn);\\n\\t\\tsupplierAutoRemover.setClassName(wProcessName);\\n\\t\\tsupplierAutoRemover.suppress(wHoldDays);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End supplierAutoRemover.suppress(holdDays) ****\\\");\\n\\n\\t\\t//#CM695790\\n\\t\\t/*************************************\\n\\t\\t * Delete the Customer master info.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start customerAutoRemover.suppress(holdDays) ****\\\");\\n\\t\\tCustomerAutoRemover customerAutoRemover = new CustomerAutoRemover(conn);\\n\\t\\tcustomerAutoRemover.setClassName(wProcessName);\\n\\t\\tcustomerAutoRemover.suppress(wHoldDays);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End customerAutoRemover.suppress(holdDays) ****\\\");\\n\\n\\t\\t//#CM695791\\n\\t\\t/*************************************\\n\\t\\t * Delete the Item master info.\\n\\t\\t *************************************/\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** Start itemAutoRemover.suppress(holdDays) ****\\\");\\n\\t\\tItemAutoRemover itemAutoRemover = new ItemAutoRemover(conn);\\n\\t\\titemAutoRemover.setClassName(wProcessName);\\n\\t\\titemAutoRemover.suppress(wHoldDays);\\nDEBUG.MSG(\\\"SCHEDULE\\\", wProcessName + \\\" **** End itemAutoRemover.suppress(holdDays) ****\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c750eebe353be0f16dd71b8da1f25be1\",\n \"score\": \"0.5183707\",\n \"text\": \"@Override\\r\\n\\tpublic int delete(BigDecimal pk) throws SQLException {\\n\\t\\tinventoryConn = this.getConnection();\\r\\n\\t\\tList params = new ArrayList();\\r\\n\\t\\tparams.add(pk);\\r\\n\\t\\tint rows = this.executeUpdate(inventoryConn, SQL_DELETE, params.toArray());\\r\\n\\t\\tthis.closeConnection(inventoryConn);\\r\\n\\t\\treturn rows;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10083283094c7a428f25fc3032dd1bbb\",\n \"score\": \"0.5180766\",\n \"text\": \"@Test\\n public void testDelProduct() {\\n System.out.println(\\\"delProduct - delete test\\\");\\n try {\\n productStorage instance = new productStorage();\\n instance.addProduct(startname, startcost, startnum);\\n if (!instance.delProduct(0)){\\n fail(\\\"Error!\\\");\\n }\\n } catch (Exception a) {\\n fail(a.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0305e39cb3fffbbf4b222a93bcd69db1\",\n \"score\": \"0.51787263\",\n \"text\": \"@Test\\r\\n public void testDelete() throws Exception {\\r\\n System.out.println(\\\"delete\\\");\\r\\n String sql = \\\"delete FROM APP.\\\\\\\"program-slot\\\\\\\" WHERE (\\\\\\\"id\\\\\\\" = ? ) \\\";\\r\\n when(ds.getConnection()).thenReturn(conn);\\r\\n when(conn.prepareStatement(sql)).thenReturn(stmt);\\r\\n when(stmt.executeUpdate()).thenReturn(1); \\r\\n Calendar cal = Calendar.getInstance();\\r\\n cal.set(Calendar.YEAR, 2012);\\r\\n cal.set(Calendar.MONTH, Calendar.JANUARY);\\r\\n cal.set(Calendar.DAY_OF_MONTH,1);\\r\\n Date dateOfProgram = cal.getTime();\\r\\n Calendar time = Calendar.getInstance();\\r\\n time.set(Calendar.HOUR, 1);\\r\\n time.set(Calendar.MINUTE, 0);\\r\\n time.set(Calendar.SECOND,0);\\r\\n Date startTime = time.getTime();\\r\\n Date duration = time.getTime();\\r\\n ProgramSlot p = new ProgramSlot();\\r\\n p.setId(1);\\r\\n p.setDateOfProgram(dateOfProgram);\\r\\n p.setDuration(duration);\\r\\n p.setStartTime(startTime);\\r\\n p.setPresenter(new Presenter(\\\"pre1\\\"));\\r\\n p.setProducer(new Producer(\\\"prod1\\\"));\\r\\n p.setRadioProgram(new RadioProgram(\\\"testProgram\\\"));\\r\\n sDao.delete(p);\\r\\n \\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba48340ecd280fd20e1b10d4b1ec6af4\",\n \"score\": \"0.51749736\",\n \"text\": \"private void deleteInstrument() {\\n if(currentInstUri != null){\\n int rows = getContentResolver().delete(currentInstUri, null, null);\\n if(rows != 0){\\n Toast.makeText(this, \\\"Instrument deleted\\\", Toast.LENGTH_SHORT).show();\\n }else{\\n Toast.makeText(this, \\\"Error with deleting Instrument\\\", Toast.LENGTH_SHORT).show();\\n }\\n //Close Activity\\n finish();\\n\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"907cb1cfa7bb4953196dd666006a7c92\",\n \"score\": \"0.51731765\",\n \"text\": \"public void deleteEntrySpending(int LRow1) throws SQLException{\\n ourDatabase.delete(DATABASE_TABLE_SPENDING, KEY_ROWID_SPEND + \\\" = \\\" + LRow1, null); //SQL DELETE statement\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f472b7a8ebb1f534d56f587f47614fbe\",\n \"score\": \"0.51731133\",\n \"text\": \"public void deleteAutoShip() throws Exception{ \\n \\t logInfo(\\\"inside deleteAutoShip() method\\\"); \\n \\t nav2AutoshipCustomer();\\t\\n \\t waitOnElement(\\\"cssSelector\\\", delAutoship);\\n \\t clickOnElement (\\\"cssSelector\\\", delAutoship); \\t \\n \\t confirmOK();\\n \\t confirmationMessage(\\\"Autoship is deleted\\\");\\n \\t\\t \\t\\t \\n \\t \\n \\t \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6746a216f65b2c8390ca4bb26445277f\",\n \"score\": \"0.5172666\",\n \"text\": \"public void onActionRemoveAssociatedPartButton(ActionEvent actionEvent) throws NullPointerException {\\n\\n // generate part to be removed from associated parts\\n Part partToBeRemoved = productAssociatedPartsTableView.getSelectionModel().getSelectedItem();\\n\\n // execute if parts list is not null\\n if (modifiedProduct.getAssociatedParts().size() > 0){\\n\\n // alert user to confirm delete\\n Alert confirmDeleteProduct = new Alert(Alert.AlertType.CONFIRMATION);\\n confirmDeleteProduct.setTitle(\\\"Please Confirm Delete\\\");\\n Optional input = confirmDeleteProduct.showAndWait();\\n\\n // execute part removal from associated parts list if user selects OK\\n if ((input.isPresent()) && (input.get() == ButtonType.OK)) {\\n try {\\n modifiedProduct.getAssociatedParts().remove(partToBeRemoved);\\n }\\n catch (NullPointerException e) {\\n Alert alert = new Alert(Alert.AlertType.ERROR);\\n alert.setTitle(\\\"Error\\\");\\n alert.setHeaderText(\\\"Product not removed\\\");\\n alert.setContentText(\\\"No product selected for removal\\\");\\n alert.show();\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2bb96bb2a453b1d6afaab0e6d29bdf3\",\n \"score\": \"0.51691246\",\n \"text\": \"public void managerOption3(ManagerClientInterface managerClient) throws RemoteException {\\n\\n if (parts.size() == 0) {\\n managerClient.printOnClient(\\\"____ No part registered yet! ____\\\");\\n return;\\n }\\n managerClient.printOnClient(\\\"Available products to remove: \\\");\\n int i = 1;\\n for (Part part : parts) {\\n managerClient.printOnClient(i + \\\". \\\" + part.getType());\\n i++;\\n }\\n managerClient.printOnClient(\\\"Choose a number (1 to \\\" + parts.size() + \\\"): \\\");\\n int itemToDelete = managerClient.readIntClient();\\n\\n\\n if (itemToDelete < 1 || itemToDelete > parts.size()) {\\n managerClient.printOnClient(\\\"____ Invalid Input ____\\\");\\n return;\\n }\\n\\n managerClient.printOnClient(\\\"Are you sure you want to delete the part: \\\" + parts.get(itemToDelete - 1).getType() + \\\"? (y/n)\\\");\\n String confirmation = managerClient.readStringClient();\\n\\n switch (confirmation) {\\n case \\\"y\\\":\\n Part aux = parts.get(itemToDelete - 1);\\n mService.deletePart(parts, itemToDelete - 1);\\n managerClient.printOnClient(\\\"---- Item removed with success ----\\\");\\n System.out.println(\\\"*** Manager \\\" + managerClient.getClientId() + \\\" Removed (\\\" + aux.getType() + \\\") from the inventory ***\\\");\\n break;\\n case \\\"n\\\":\\n managerClient.printOnClient(\\\"____ Action canceled ____\\\");\\n break;\\n default:\\n managerClient.printOnClient(\\\"____ Invalid input ____\\\");\\n break;\\n }\\n FileUtils.saveParts(parts);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bd5ef807df7867d442a9d75ae0e0a2f\",\n \"score\": \"0.5166313\",\n \"text\": \"@Test\\n\\tpublic void testDeleteUsedIDs() {\\n\\t\\tDatabase test = new Database(\\\"jdbc:mysql://localhost/inventory\\\", \\\"Mohtashim\\\", \\\"assignment9\\\", \\\"test\\\", \\\"chair\\\");\\n\\t\\ttest.initConnection();\\n\\n\\t\\t// Insert two test entries into database\\n\\t\\ttry {\\n\\n\\t\\t\\tString query1 = \\\"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test','test','Y','N','Y','Y','100','005')\\\";\\n\\t\\t\\tString query2 = \\\"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test1','test','N','Y','N','N','100','005')\\\";\\n\\t\\t\\tPreparedStatement myStmt = test.sendQuery(query1);\\n\\t\\t\\tPreparedStatement myStmt1 = test.sendQuery(query2);\\n\\t\\t\\tmyStmt.executeUpdate();\\n\\t\\t\\tmyStmt1.executeUpdate();\\n\\t\\t\\tmyStmt.close();\\n\\t\\t\\tmyStmt1.close();\\n\\n\\t\\t} catch (SQLException ex) {\\n\\t\\t\\tex.printStackTrace();\\n\\t\\t}\\n\\n\\t\\t// Insert another two test entries into database\\n\\t\\ttry {\\n\\n\\t\\t\\tString query1 = \\\"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test2','test','Y','N','Y','Y','100','005')\\\";\\n\\t\\t\\tString query2 = \\\"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test3','test','N','Y','N','N','100','005')\\\";\\n\\t\\t\\tPreparedStatement myStmt = test.sendQuery(query1);\\n\\t\\t\\tPreparedStatement myStmt1 = test.sendQuery(query2);\\n\\t\\t\\tmyStmt.executeUpdate();\\n\\t\\t\\tmyStmt1.executeUpdate();\\n\\t\\t\\tmyStmt.close();\\n\\t\\t\\tmyStmt1.close();\\n\\n\\t\\t} catch (SQLException ex) {\\n\\t\\t\\tex.printStackTrace();\\n\\t\\t}\\n\\n\\t\\t// instantiate test UI\\n\\t\\tUI testObj = new UI(\\\"test\\\", \\\"chair\\\", \\\"1\\\", \\\"jdbc:mysql://localhost/inventory\\\", \\\"Mohtashim\\\", \\\"assignment9\\\");\\n\\t\\ttry {\\n\\t\\t\\ttestObj.processOrder();\\n\\t\\t} catch (DatabaseProcessException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t\\t// calculate order\\n\\t\\ttestObj.calculateOrder();\\n\\n\\t\\t// get the initial IDs that were used before deletion\\n\\t\\tString[] beforeDeletion = testObj.getUsedIDs();\\n\\n\\t\\t// delete the Used IDs\\n\\t\\ttry {\\n\\t\\t\\t// deletes test,and test1 IDs\\n\\t\\t\\ttestObj.deleteUsedIDs();\\n\\t\\t} catch (DatabaseDeleteException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t\\t// calculate the order again\\n\\t\\ttestObj.calculateOrder();\\n\\t\\tString[] afterDeletion = testObj.getUsedIDs();\\n\\n\\t\\tassertNotEquals(\\\"The string arrays are identical, IDs were not deleted!\\\", beforeDeletion, afterDeletion);\\n\\n\\t\\t// delete the two test entries\\n\\t\\ttest.deleteDBEntry(\\\"test2\\\");\\n\\t\\ttest.deleteDBEntry(\\\"test3\\\");\\n\\n\\t\\t// close database\\n\\t\\ttest.closeDelete();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f2cb0de4841798fadc11369877f29ba\",\n \"score\": \"0.5166094\",\n \"text\": \"@Test\\n\\tpublic void testarRemoverPlaneta() {\\n\\t\\tplanets.forEach(item -> planetaResource.insert(item));\\n\\t\\tplanets.forEach(item -> assertNotNull(planetaResource.delete(item.getId())));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"473bc9dbfdbf534c718b944d9c3c0243\",\n \"score\": \"0.5165654\",\n \"text\": \"@Override\\n public Event execute() {\\n try {\\n AuthenticationToken token = this.authenticationService.findValidAuthenticationTokenForAUser(userId);\\n Robot robot = this.storeModelService.getAllRobotsWithinAnAisle(storeId, aisleNumber,\\n token.getTokenId()).get(0);\\n logger.info(\\\"Robot \\\" + robot.getApplianceId() + \\\" is assigned to clean the mess\\\");\\n Command robotCommand = new Command(\\\"Robot cleaning up \\\" + mess + \\\" in \\\" + aisleNumber);\\n logger.info(robot.listenToCommand(robotCommand));\\n\\n if(mess.contains(\\\"dropped\\\")){\\n String [] splitMess = mess.split(\\\"_\\\");\\n Inventory inventory = this.storeModelService\\n .getInventoryByProductId(splitMess[1], token.getTokenId());\\n int initialCount = inventory.getCount();\\n int updatedCount = this.storeModelService.updateInventoryCount(inventory.getInventoryId(),\\n -1, token.getTokenId());\\n logger.info(\\\"Inventory count for \\\" + inventory.getInventoryId() +\\n \\\" updated from \\\" + initialCount + \\\" to \\\" + updatedCount + \\\" because the dropped item \\\"+\\n \\\" will no longer be for sale \\\");\\n }\\n } catch (StoreException e) {\\n logger.warning(\\\"Robot unable to clean the store \\\");\\n } catch (AccessDeniedException e) {\\n logger.warning(\\\"Authentication failed \\\" + e.getReason() + \\\" : \\\" + e.getFix());\\n }\\n return new Event(CleanStoreCommand.class.getName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c400b921c2e8cb6b7e0547229f1e669\",\n \"score\": \"0.5160197\",\n \"text\": \"private void USLCleanUpServiceData()\\n {\\n String testCaseName = \\\"USLCleanUpServiceData\\\";\\n System.out.println(\\\"*** Running testcase - \\\" + testCaseName);\\n OrclTenantManager tenantManager = new OrclTenantManager();\\n Map inParams = new HashMap();\\n inParams.putAll(inputParams);\\n inParams.put(MultiTenancyConstants.IDSTORE_TENANT_NAME,\\n \\\"creationoftenant\\\" + random);\\n inParams.put(MultiTenancyConstants.IDSTORE_SERVICE_TYPE, \\\"XYZService\\\");\\n try\\n {\\n try\\n {\\n \\t//DeleteServiceInstance first\\n \\tinParams.put(MultiTenancyConstants.IDSTORE_SERVICE_NAME,\\n \\\"creationofservice\\\" + random + \\\"XYZ\\\");\\n tenantManager.deleteService(new HashMap(inParams));\\n } catch (Exception e)\\n {\\n e.printStackTrace();\\n throw new Exception(\\\"Deletion of XYZ Service instance failed\\\");\\n }\\n try\\n {\\n \\t//DeleteMTService instance\\n \\tinParams.put(MultiTenancyConstants.IDSTORE_SERVICE_NAME,\\n \\\"creationofMTservice\\\" + random + \\\"XYZ\\\");\\n tenantManager.deleteMTService(inParams);\\n } catch (Exception e)\\n {\\n e.printStackTrace();\\n throw new Exception(\\\"Deletion of XYZ MTService instance failed\\\");\\n }\\n C9UnitTestUtil.generateTestcaseSucc(testHome, testCaseName);\\n } catch (Exception e)\\n {\\n C9UnitTestUtil.generateTestcaseDiff(testHome, testCaseName, e);\\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adf08b9f84e7b3cdd2d8455aca05d81a\",\n \"score\": \"0.5149308\",\n \"text\": \"int deleteByPrimaryKey(Integer levyfall_imposing_unit_id);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":869,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"e38bfb45d5e9a2fa6eef172b826ce7a8","score":"0.0","text":"public static void main(String[] args) {\n\t\t\n\t\ttry {\n\t\t\tServerSocket ss=new ServerSocket(1234);\n\t\t\tSystem.out.println(\"waiting for a connexion\\n\");\n\t\t\tSocket s=ss.accept();\n\t\t\tInputStream is=s.getInputStream();//it allows receiving the message from the client\n\t\t\tOutputStream os=s.getOutputStream();// it allows sending message to the client\n\t\t\tint nb=is.read();\n\t\t\tSystem.out.println(\"I received the number \\t\"+nb);\n\t\t\tint res=checkParity(nb);//call the method check parity to check if the number is odd or not\n\t\t\tos.write(res);\n\t\t\ts.close();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"e38bfb45d5e9a2fa6eef172b826ce7a8\",\n \"score\": \"0.0\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tServerSocket ss=new ServerSocket(1234);\\n\\t\\t\\tSystem.out.println(\\\"waiting for a connexion\\\\n\\\");\\n\\t\\t\\tSocket s=ss.accept();\\n\\t\\t\\tInputStream is=s.getInputStream();//it allows receiving the message from the client\\n\\t\\t\\tOutputStream os=s.getOutputStream();// it allows sending message to the client\\n\\t\\t\\tint nb=is.read();\\n\\t\\t\\tSystem.out.println(\\\"I received the number \\\\t\\\"+nb);\\n\\t\\t\\tint res=checkParity(nb);//call the method check parity to check if the number is odd or not\\n\\t\\t\\tos.write(res);\\n\\t\\t\\ts.close();\\n\\t\\t\\t\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1acc57d42c31dee937ac33ea6f2a5b0b","score":"0.68399656","text":"@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}","title":""},{"docid":"118f2b8a20f48999973063ac332d07d3","score":"0.6563993","text":"@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}","title":""},{"docid":"11d67a80d2cd31685776b15ccccc59f0","score":"0.65296996","text":"@Override\n\t\t\tpublic void PridenieNaBielu() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"80d20df1cc75d8fa96c12c49a757fc43","score":"0.65278774","text":"@Override\n\tprotected void getExras() {\n\t\t\n\t}","title":""},{"docid":"f9e89d9677a2c32741b998a15248d5eb","score":"0.6487723","text":"@Override\r\n\tpublic void Lyf() {\n\t\t\r\n\t}","title":""},{"docid":"5f8d37aee09bc1e9959f768d6eb0183c","score":"0.6481321","text":"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}","title":""},{"docid":"603f0a18e57250d8f455d8cee02b8630","score":"0.64378566","text":"@Override\r\n public void Refuel() {\n \r\n }","title":""},{"docid":"b62a7c8e0bb1090171742c543bf4b253","score":"0.6373858","text":"@Override\n\tpublic void entrenar() {\n\t\t\n\t}","title":""},{"docid":"efda110dae3567ecb4380b4b672c3e8d","score":"0.635662","text":"public void anzeigen() {\n\t\t\r\n\t}","title":""},{"docid":"74e8290546e9191e1ae5373cdf611067","score":"0.632985","text":"@Override\r\n\tpublic void Petrol() {\n\t\t\r\n\t}","title":""},{"docid":"777efb33041da4779c6ec15b9d85097c","score":"0.63003165","text":"@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}","title":""},{"docid":"177192b7240b496ba5aefdfed60037c9","score":"0.62754047","text":"@Override\n\tpublic void nadar() {\n\t\t\n\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.6237362","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.6237362","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"95ffa256b098e9b494cb96d4874e063f","score":"0.6219628","text":"@Override\n\tvoid refuel() {\n\n\t}","title":""},{"docid":"27e4479db2c37a2e77fe796119b66d4b","score":"0.61936283","text":"@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}","title":""},{"docid":"556495e35d508ac961dae051dd40b377","score":"0.61844474","text":"@Override\n\tpublic void afficher() {\n\t\t\n\t}","title":""},{"docid":"2a5b1784967271fc8f331ece95bee2d7","score":"0.6173247","text":"@Override\r\n\t\tpublic void Sudentcf() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"88ecb62c7a1a93131fb72fdf892b6e96","score":"0.6163209","text":"public void mo18969b() {\n }","title":""},{"docid":"10ead2e988bf977cb8edb2bacf974891","score":"0.6158877","text":"@Override\n\tprotected void init() {\n\t\t\n\t}","title":""},{"docid":"10ead2e988bf977cb8edb2bacf974891","score":"0.6158877","text":"@Override\n\tprotected void init() {\n\t\t\n\t}","title":""},{"docid":"af1d7a03c29969bf292760b5053e6876","score":"0.61020076","text":"@Override\r\n\tpublic void avanzar() {\n\t\t\r\n\t}","title":""},{"docid":"4c841421384f44238db014cb90fda536","score":"0.609516","text":"@Override\n\tpublic void foocall() {\n\t}","title":""},{"docid":"0535d453c6fc64b6eaca5802d4fcc90b","score":"0.6038407","text":"@Override\r\n public void atacar() {\n }","title":""},{"docid":"60b0611b3c431fd71ef675a97986d8ce","score":"0.60336334","text":"@Override\n\tpublic void bouger() {\n\t\t\n\t}","title":""},{"docid":"93def8741e9801c804ccf94cc0a8c010","score":"0.60311055","text":"@Override\r\n\tpublic void comenzar() {\n\r\n\t}","title":""},{"docid":"1eb850cd140029c3284631b6ea4a3a92","score":"0.6027037","text":"public void mo7036d() {\n }","title":""},{"docid":"5f1811a241e41ead4415ec767e77c63d","score":"0.6025444","text":"@Override\n\tprotected void init() {\n\n\t}","title":""},{"docid":"5f1811a241e41ead4415ec767e77c63d","score":"0.6025444","text":"@Override\n\tprotected void init() {\n\n\t}","title":""},{"docid":"b1cf16017c8057c0255a9ad368ecaee5","score":"0.6017447","text":"@Override\r\n\tprotected void init() {\n\r\n\t}","title":""},{"docid":"a6c2db17f79f35f8fc3b8e99eee9ab48","score":"0.60124886","text":"@Override\r\n\tprotected void init() {\n\t\t\r\n\t}","title":""},{"docid":"a6c2db17f79f35f8fc3b8e99eee9ab48","score":"0.60124886","text":"@Override\r\n\tprotected void init() {\n\t\t\r\n\t}","title":""},{"docid":"068782d4ca6b549d5b38c417ad4e7fbc","score":"0.6000438","text":"@Override\n\tpublic void embauche() {\n\t\t\n\t}","title":""},{"docid":"b044552fe4d8d8225d09361b41fbea3a","score":"0.59513867","text":"public void mo5201a() {\n }","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.59215844","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.59215844","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.59215844","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"59fd0ccdce9a8709416c7bdb0b2740f7","score":"0.59167963","text":"@Override\n public void solidaria() {\n \n \n }","title":""},{"docid":"28237d6ae20e1aa35aaca12e05c950c9","score":"0.5903432","text":"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}","title":""},{"docid":"5bb37ed5e0a08c04cb9e970f3e334584","score":"0.5900665","text":"@Override\n\tpublic void accion() {\n\n\t}","title":""},{"docid":"f5d4f15bcecfb5439000bf8ce3463314","score":"0.58953464","text":"@Override\r\n protected void init() {\n \r\n }","title":""},{"docid":"77f859c241fd5e1d997f67c3b890833e","score":"0.58881694","text":"@Override\n\tpublic void dormir() {\n\t\t\n\t}","title":""},{"docid":"40577cf33330bd70c08bc8e310b4436d","score":"0.58730215","text":"@Override\n\tpublic void falar() {\n\n\t}","title":""},{"docid":"faf38c70a5abc38e6e6819931e05fdbb","score":"0.5862488","text":"@Override\n protected void initialize() { \n }","title":""},{"docid":"4967494f628119c8d3a4740e09278944","score":"0.5858707","text":"@Override\r\n\tprotected void initData() {\n\r\n\t}","title":""},{"docid":"d735c08559b9ccd2b05318e486d52050","score":"0.585777","text":"@Override\n public void generate() {\n\n }","title":""},{"docid":"c27a216ac709a1e3b9e7156e1c8104e5","score":"0.5851762","text":"public void initailize() {\n\t\t\r\n\t}","title":""},{"docid":"7a47ca8b3a55006f92a271bd71da43b7","score":"0.583262","text":"@Override\n\tprotected void Sessioprovide() {\n\t\t\n\t}","title":""},{"docid":"ea53a5ca5e3b174f6cc9c79515550cf9","score":"0.58291394","text":"@Override\n\tpublic void Faild() {\n\t}","title":""},{"docid":"d8211552b23c886f56d98e4efc7a55fa","score":"0.58270997","text":"private void OI() {\n\t\t\n\t}","title":""},{"docid":"9d2f44c3ebe1fb8de1ac4ae677e2d851","score":"0.58069414","text":"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}","title":""},{"docid":"a92ef4f07b07ea7007bb9f92475a6a97","score":"0.580496","text":"private void UDPM() {\n\n\t}","title":""},{"docid":"beee84210d56979d0068a8094fb2a5bd","score":"0.5791594","text":"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}","title":""},{"docid":"d4dcf8d1b9c1a18d89084161416469f7","score":"0.5784581","text":"public final void mo59419g() {\n }","title":""},{"docid":"329dcd36a53fe338909407efceaa048a","score":"0.57815796","text":"@Override\n\tpublic void ovr() {\n\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5773198","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"17cb0676e79dae45623dcbdd6cf2af58","score":"0.5772904","text":"@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}","title":""},{"docid":"1c10afc999966d89d84d1fb549910281","score":"0.5767454","text":"@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57589173","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57589173","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57589173","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"ec8745d1f613de3522e52b19973434de","score":"0.5756245","text":"@Override\n protected void initialize()\n {\n\n }","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.57491463","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.57491463","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.57491463","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"6e516d7c552dcd925edbe971705ed31a","score":"0.5742983","text":"public void mo41019a() {\n }","title":""},{"docid":"b07fa371b39d89d85ee2b46058153640","score":"0.5741075","text":"private void set() {\n\t\t\r\n\t}","title":""},{"docid":"f523d2f53f60a1ff3244e79927814898","score":"0.5737052","text":"public void mo46998a() {\n }","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57341826","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57341826","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57341826","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57341826","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"c5279e0c512854cbd0006208a1abf1e4","score":"0.57304084","text":"public void sprzedaj() {\n\t\t\n\t}","title":""},{"docid":"4791f18ffa1db9cf9896372a4bb400cd","score":"0.5712386","text":"@Override\n\t\t\t\tpublic void update() {\n\t\t\t\t\t\n\t\t\t\t}","title":""},{"docid":"b329688e04bd48d0184ad83234db5580","score":"0.5702716","text":"@Override\r\n public int describeContents() {\n return 0;\r\n }","title":""},{"docid":"7aadbda143e84de0144f7a8dadde423d","score":"0.5701947","text":"@Override\n protected void initData() {\n\n }","title":""},{"docid":"39132efb6b42f8ec625d96ff6226d80b","score":"0.5696396","text":"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}","title":""},{"docid":"94016f621198b25fa3341ef2382c6876","score":"0.5689651","text":"@Override\n\tpublic void grandir() {\n\t\t\n\t}","title":""},{"docid":"7a5ce2d278c2d189c1b8ef8c5af5d416","score":"0.5686818","text":"@Override\n\tprotected void initValue() {\n\n\t}","title":""},{"docid":"9d551589ec00d7b16a77df7a4d54caae","score":"0.5685303","text":"@Override\n public void init()\n {\n\n }","title":""},{"docid":"be566411d6ed8758a024d201a025c102","score":"0.5682171","text":"@Override\r\n\tprotected void update() {\n\t}","title":""},{"docid":"264b73ede67394b8d57db8f3623673db","score":"0.56804705","text":"@Override\r\n\tpublic void afterConstruct() {\n\t\t\r\n\t}","title":""},{"docid":"b1e3eb9a5b9dff21ed219e48a8676b34","score":"0.5677706","text":"@Override\n public void memoria() {\n \n }","title":""},{"docid":"62020c21199fdbaf0b47453874f310f1","score":"0.5677236","text":"@Override\n\tpublic void init()\n\t{\n\t\t\n\t}","title":""},{"docid":"62020c21199fdbaf0b47453874f310f1","score":"0.5677236","text":"@Override\n\tpublic void init()\n\t{\n\t\t\n\t}","title":""},{"docid":"a055db97fb04dc3ace542d55ba4eb731","score":"0.5659786","text":"public void wypozycz() {\n\t\t\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.56563133","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.56563133","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.56563133","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.56563133","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.56563133","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"704e96abbfbd46ebb60411493a1aaa91","score":"0.5653795","text":"@Override\r\n\tpublic void magic() {\n\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"1acc57d42c31dee937ac33ea6f2a5b0b\",\n \"score\": \"0.68399656\",\n \"text\": \"@Override\\r\\n\\tpublic void comer() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"118f2b8a20f48999973063ac332d07d3\",\n \"score\": \"0.6563993\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void atras() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11d67a80d2cd31685776b15ccccc59f0\",\n \"score\": \"0.65296996\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void PridenieNaBielu() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80d20df1cc75d8fa96c12c49a757fc43\",\n \"score\": \"0.65278774\",\n \"text\": \"@Override\\n\\tprotected void getExras() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9e89d9677a2c32741b998a15248d5eb\",\n \"score\": \"0.6487723\",\n \"text\": \"@Override\\r\\n\\tpublic void Lyf() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f8d37aee09bc1e9959f768d6eb0183c\",\n \"score\": \"0.6481321\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void annadir() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"603f0a18e57250d8f455d8cee02b8630\",\n \"score\": \"0.64378566\",\n \"text\": \"@Override\\r\\n public void Refuel() {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b62a7c8e0bb1090171742c543bf4b253\",\n \"score\": \"0.6373858\",\n \"text\": \"@Override\\n\\tpublic void entrenar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efda110dae3567ecb4380b4b672c3e8d\",\n \"score\": \"0.635662\",\n \"text\": \"public void anzeigen() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74e8290546e9191e1ae5373cdf611067\",\n \"score\": \"0.632985\",\n \"text\": \"@Override\\r\\n\\tpublic void Petrol() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"777efb33041da4779c6ec15b9d85097c\",\n \"score\": \"0.63003165\",\n \"text\": \"@Override\\r\\n\\tpublic void attaque() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"177192b7240b496ba5aefdfed60037c9\",\n \"score\": \"0.62754047\",\n \"text\": \"@Override\\n\\tpublic void nadar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.6237362\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.6237362\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95ffa256b098e9b494cb96d4874e063f\",\n \"score\": \"0.6219628\",\n \"text\": \"@Override\\n\\tvoid refuel() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27e4479db2c37a2e77fe796119b66d4b\",\n \"score\": \"0.61936283\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void adelante() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"556495e35d508ac961dae051dd40b377\",\n \"score\": \"0.61844474\",\n \"text\": \"@Override\\n\\tpublic void afficher() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a5b1784967271fc8f331ece95bee2d7\",\n \"score\": \"0.6173247\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void Sudentcf() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88ecb62c7a1a93131fb72fdf892b6e96\",\n \"score\": \"0.6163209\",\n \"text\": \"public void mo18969b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10ead2e988bf977cb8edb2bacf974891\",\n \"score\": \"0.6158877\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10ead2e988bf977cb8edb2bacf974891\",\n \"score\": \"0.6158877\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af1d7a03c29969bf292760b5053e6876\",\n \"score\": \"0.61020076\",\n \"text\": \"@Override\\r\\n\\tpublic void avanzar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c841421384f44238db014cb90fda536\",\n \"score\": \"0.609516\",\n \"text\": \"@Override\\n\\tpublic void foocall() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0535d453c6fc64b6eaca5802d4fcc90b\",\n \"score\": \"0.6038407\",\n \"text\": \"@Override\\r\\n public void atacar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60b0611b3c431fd71ef675a97986d8ce\",\n \"score\": \"0.60336334\",\n \"text\": \"@Override\\n\\tpublic void bouger() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93def8741e9801c804ccf94cc0a8c010\",\n \"score\": \"0.60311055\",\n \"text\": \"@Override\\r\\n\\tpublic void comenzar() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1eb850cd140029c3284631b6ea4a3a92\",\n \"score\": \"0.6027037\",\n \"text\": \"public void mo7036d() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f1811a241e41ead4415ec767e77c63d\",\n \"score\": \"0.6025444\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f1811a241e41ead4415ec767e77c63d\",\n \"score\": \"0.6025444\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1cf16017c8057c0255a9ad368ecaee5\",\n \"score\": \"0.6017447\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c2db17f79f35f8fc3b8e99eee9ab48\",\n \"score\": \"0.60124886\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c2db17f79f35f8fc3b8e99eee9ab48\",\n \"score\": \"0.60124886\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"068782d4ca6b549d5b38c417ad4e7fbc\",\n \"score\": \"0.6000438\",\n \"text\": \"@Override\\n\\tpublic void embauche() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b044552fe4d8d8225d09361b41fbea3a\",\n \"score\": \"0.59513867\",\n \"text\": \"public void mo5201a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.59215844\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.59215844\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.59215844\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59fd0ccdce9a8709416c7bdb0b2740f7\",\n \"score\": \"0.59167963\",\n \"text\": \"@Override\\n public void solidaria() {\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28237d6ae20e1aa35aaca12e05c950c9\",\n \"score\": \"0.5903432\",\n \"text\": \"@Override\\n\\tpublic void sacrifier() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bb37ed5e0a08c04cb9e970f3e334584\",\n \"score\": \"0.5900665\",\n \"text\": \"@Override\\n\\tpublic void accion() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5d4f15bcecfb5439000bf8ce3463314\",\n \"score\": \"0.58953464\",\n \"text\": \"@Override\\r\\n protected void init() {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77f859c241fd5e1d997f67c3b890833e\",\n \"score\": \"0.58881694\",\n \"text\": \"@Override\\n\\tpublic void dormir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40577cf33330bd70c08bc8e310b4436d\",\n \"score\": \"0.58730215\",\n \"text\": \"@Override\\n\\tpublic void falar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faf38c70a5abc38e6e6819931e05fdbb\",\n \"score\": \"0.5862488\",\n \"text\": \"@Override\\n protected void initialize() { \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4967494f628119c8d3a4740e09278944\",\n \"score\": \"0.5858707\",\n \"text\": \"@Override\\r\\n\\tprotected void initData() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d735c08559b9ccd2b05318e486d52050\",\n \"score\": \"0.585777\",\n \"text\": \"@Override\\n public void generate() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c27a216ac709a1e3b9e7156e1c8104e5\",\n \"score\": \"0.5851762\",\n \"text\": \"public void initailize() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a47ca8b3a55006f92a271bd71da43b7\",\n \"score\": \"0.583262\",\n \"text\": \"@Override\\n\\tprotected void Sessioprovide() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea53a5ca5e3b174f6cc9c79515550cf9\",\n \"score\": \"0.58291394\",\n \"text\": \"@Override\\n\\tpublic void Faild() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8211552b23c886f56d98e4efc7a55fa\",\n \"score\": \"0.58270997\",\n \"text\": \"private void OI() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d2f44c3ebe1fb8de1ac4ae677e2d851\",\n \"score\": \"0.58069414\",\n \"text\": \"@Override\\r\\n\\tpublic void dibujar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a92ef4f07b07ea7007bb9f92475a6a97\",\n \"score\": \"0.580496\",\n \"text\": \"private void UDPM() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beee84210d56979d0068a8094fb2a5bd\",\n \"score\": \"0.5791594\",\n \"text\": \"@Override\\r\\n\\tprotected void initData() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4dcf8d1b9c1a18d89084161416469f7\",\n \"score\": \"0.5784581\",\n \"text\": \"public final void mo59419g() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"329dcd36a53fe338909407efceaa048a\",\n \"score\": \"0.57815796\",\n \"text\": \"@Override\\n\\tpublic void ovr() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5773198\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17cb0676e79dae45623dcbdd6cf2af58\",\n \"score\": \"0.5772904\",\n \"text\": \"@Override\\n\\tpublic void update() {\\n\\t\\t// TODO Auto-generated method stub\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c10afc999966d89d84d1fb549910281\",\n \"score\": \"0.5767454\",\n \"text\": \"@Override \\n\\t\\tprotected void parse() {\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"518a761521ca9f5cb8a8055b32b72cda\",\n \"score\": \"0.57589173\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"518a761521ca9f5cb8a8055b32b72cda\",\n \"score\": \"0.57589173\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"518a761521ca9f5cb8a8055b32b72cda\",\n \"score\": \"0.57589173\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec8745d1f613de3522e52b19973434de\",\n \"score\": \"0.5756245\",\n \"text\": \"@Override\\n protected void initialize()\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.57491463\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.57491463\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.57491463\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e516d7c552dcd925edbe971705ed31a\",\n \"score\": \"0.5742983\",\n \"text\": \"public void mo41019a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b07fa371b39d89d85ee2b46058153640\",\n \"score\": \"0.5741075\",\n \"text\": \"private void set() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f523d2f53f60a1ff3244e79927814898\",\n \"score\": \"0.5737052\",\n \"text\": \"public void mo46998a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57341826\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57341826\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57341826\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57341826\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5279e0c512854cbd0006208a1abf1e4\",\n \"score\": \"0.57304084\",\n \"text\": \"public void sprzedaj() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4791f18ffa1db9cf9896372a4bb400cd\",\n \"score\": \"0.5712386\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void update() {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b329688e04bd48d0184ad83234db5580\",\n \"score\": \"0.5702716\",\n \"text\": \"@Override\\r\\n public int describeContents() {\\n return 0;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aadbda143e84de0144f7a8dadde423d\",\n \"score\": \"0.5701947\",\n \"text\": \"@Override\\n protected void initData() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39132efb6b42f8ec625d96ff6226d80b\",\n \"score\": \"0.5696396\",\n \"text\": \"@Override\\n\\tprotected void lazyLoad() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94016f621198b25fa3341ef2382c6876\",\n \"score\": \"0.5689651\",\n \"text\": \"@Override\\n\\tpublic void grandir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a5ce2d278c2d189c1b8ef8c5af5d416\",\n \"score\": \"0.5686818\",\n \"text\": \"@Override\\n\\tprotected void initValue() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d551589ec00d7b16a77df7a4d54caae\",\n \"score\": \"0.5685303\",\n \"text\": \"@Override\\n public void init()\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be566411d6ed8758a024d201a025c102\",\n \"score\": \"0.5682171\",\n \"text\": \"@Override\\r\\n\\tprotected void update() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"264b73ede67394b8d57db8f3623673db\",\n \"score\": \"0.56804705\",\n \"text\": \"@Override\\r\\n\\tpublic void afterConstruct() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1e3eb9a5b9dff21ed219e48a8676b34\",\n \"score\": \"0.5677706\",\n \"text\": \"@Override\\n public void memoria() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62020c21199fdbaf0b47453874f310f1\",\n \"score\": \"0.5677236\",\n \"text\": \"@Override\\n\\tpublic void init()\\n\\t{\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62020c21199fdbaf0b47453874f310f1\",\n \"score\": \"0.5677236\",\n \"text\": \"@Override\\n\\tpublic void init()\\n\\t{\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a055db97fb04dc3ace542d55ba4eb731\",\n \"score\": \"0.5659786\",\n \"text\": \"public void wypozycz() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.56563133\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.56563133\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.56563133\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.56563133\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.56563133\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"704e96abbfbd46ebb60411493a1aaa91\",\n \"score\": \"0.5653795\",\n \"text\": \"@Override\\r\\n\\tpublic void magic() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":870,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"24c0ab8df82d9f154911f034d89e630a","score":"0.0","text":"public void resetToStart(Agent e) {\n\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"24c0ab8df82d9f154911f034d89e630a\",\n \"score\": \"0.0\",\n \"text\": \"public void resetToStart(Agent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1acc57d42c31dee937ac33ea6f2a5b0b","score":"0.6836411","text":"@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}","title":""},{"docid":"33d41636b65afa8267c9085dae3d1a2d","score":"0.6679176","text":"private void apparence() {\r\n\r\n\t}","title":""},{"docid":"b8a45528a3f2e2c5ca531b00160fddfb","score":"0.66538197","text":"@Override\n\tpublic void nacer() {\n\n\t}","title":""},{"docid":"b8a45528a3f2e2c5ca531b00160fddfb","score":"0.66538197","text":"@Override\n\tpublic void nacer() {\n\n\t}","title":""},{"docid":"f777356e2cd2fecd871f35f7e556fda8","score":"0.6646134","text":"public void mo3640e() {\n }","title":""},{"docid":"80d20df1cc75d8fa96c12c49a757fc43","score":"0.65323734","text":"@Override\n\tprotected void getExras() {\n\t\t\n\t}","title":""},{"docid":"5f8d37aee09bc1e9959f768d6eb0183c","score":"0.6481211","text":"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}","title":""},{"docid":"5314003d8592219f71035b81985fabc0","score":"0.64631","text":"@Override\n\tpublic void roule() {\n\t\t\n\t}","title":""},{"docid":"d0a79718ff9c5863618b11860674ac5e","score":"0.6461734","text":"@Override\n\tpublic void comer() {\n\n\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.623686","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.623686","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"10ead2e988bf977cb8edb2bacf974891","score":"0.61546874","text":"@Override\n\tprotected void init() {\n\t\t\n\t}","title":""},{"docid":"f9de8c9acb961a9d05ed00de5fe361e7","score":"0.60638905","text":"@Override\n\tpublic void seRetrage() {\n\t\t\n\t}","title":""},{"docid":"483ae2cb94563f8e11864a532e44b464","score":"0.606149","text":"@Override\r\n public void perturb() {\n \r\n }","title":""},{"docid":"e41230eaa4480036f1db3ae4856b5e2c","score":"0.6048755","text":"@Override\n\tpublic void evoluer() {\n\t\t\n\t}","title":""},{"docid":"1fd4f5b0b471084e004373c89c1cf248","score":"0.6040993","text":"@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}","title":""},{"docid":"5f1811a241e41ead4415ec767e77c63d","score":"0.6023245","text":"@Override\n\tprotected void init() {\n\n\t}","title":""},{"docid":"432a53d7cc7bff50c3cce7662418fe22","score":"0.60228735","text":"private static void daelijeom() {\n\t\t\n\t}","title":""},{"docid":"feb1a9485d06df38283881186fb528a9","score":"0.6014977","text":"@Override\n \tprotected void initialize() {\n \n \t}","title":""},{"docid":"1f6ca7603428a226b143ebf504f69fdb","score":"0.6005143","text":"@Override\n protected void initialize() {\n \n }","title":""},{"docid":"609ec2ff060d9d4cb0276468f482734d","score":"0.59771466","text":"public void mo89673a() {\n }","title":""},{"docid":"f3ea867fdaa4b61546bfc393614a093c","score":"0.59687567","text":"@Override\n\tpublic void setingInicial() {\n\t\t\n\t}","title":""},{"docid":"3211287bc24304a8ca2975647e8a262e","score":"0.59549016","text":"public void mo1702b() {\n }","title":""},{"docid":"e98e1f8ddb7a94a5d95c29c94232f737","score":"0.5943817","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"2d61391fe8770661f25917f3770f2a26","score":"0.5926535","text":"@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}","title":""},{"docid":"a55a150557f80abcbd733ee3162b0661","score":"0.5925673","text":"private void m18301a() {\n }","title":""},{"docid":"6a8c6480f9fa5ab89d0437d00ffffccc","score":"0.591947","text":"@Override\n public void tirer() {\n\n }","title":""},{"docid":"8f8a1c1dfa100614be8cac1247e068d5","score":"0.59192646","text":"@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"619a28ba3c7707bdf8bb1451d5c3d12b","score":"0.5910928","text":"public void mo25069a() {\n }","title":""},{"docid":"28237d6ae20e1aa35aaca12e05c950c9","score":"0.5902906","text":"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}","title":""},{"docid":"3e6e2e657db69bfc88c40c8467801266","score":"0.5899844","text":"@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}","title":""},{"docid":"1134c4caabd33b9bbd414763740fddde","score":"0.5896682","text":"@Override\n\tpublic void respirar() {\n\n\t}","title":""},{"docid":"ab499170bffb402933a50d63a97e69dd","score":"0.5896488","text":"@Override\r\n\tprotected void init() {\n\t}","title":""},{"docid":"1dc1426b3b1c079ac18377166a6b34d3","score":"0.5893354","text":"@Override\n public int getOrder() {\n return 0;\n }","title":""},{"docid":"f737e2251cf43d326f43b44297696e55","score":"0.58891016","text":"@Override\n\tpublic void patrol() {\n\n\t}","title":""},{"docid":"de8c2aa495b8cdade7e8895e58745ea2","score":"0.5887025","text":"public void afficher() {\n\t\t\n\t}","title":""},{"docid":"77f859c241fd5e1d997f67c3b890833e","score":"0.5886342","text":"@Override\n\tpublic void dormir() {\n\t\t\n\t}","title":""},{"docid":"13e4409784fd6f872b474e6effe9726e","score":"0.5879506","text":"@Override\n protected void initialization() {\n\n\n\n }","title":""},{"docid":"bafce2e94d56e61baeadcb37047f6035","score":"0.5858384","text":"@Override\n\tprotected void postprocess() {\n\t}","title":""},{"docid":"5aa237d31e744d1e0729621e464fcfb2","score":"0.585451","text":"@Override\r\n\tprotected void DataInit() {\n\r\n\t}","title":""},{"docid":"5aa237d31e744d1e0729621e464fcfb2","score":"0.585451","text":"@Override\r\n\tprotected void DataInit() {\n\r\n\t}","title":""},{"docid":"5aa237d31e744d1e0729621e464fcfb2","score":"0.585451","text":"@Override\r\n\tprotected void DataInit() {\n\r\n\t}","title":""},{"docid":"9f52ad7c10a190c6268e275fdb4c1581","score":"0.5853263","text":"@Override\n\tpublic void jealous() {\n\t\t\n\t}","title":""},{"docid":"9f52ad7c10a190c6268e275fdb4c1581","score":"0.5853263","text":"@Override\n\tpublic void jealous() {\n\t\t\n\t}","title":""},{"docid":"cdf2a119ee69429ad4420d45c29db1b6","score":"0.5849137","text":"@Override\n\tpublic void netword() {\n\t\t\n\t}","title":""},{"docid":"2bcac1bab4eaa6c9cc4cb7e33c684cef","score":"0.5848443","text":"public void mo1691a() {\n }","title":""},{"docid":"5f122c528716d4e28cd3a6695d27b80f","score":"0.584121","text":"@Override\n\tpublic void morir() {\n\n\t}","title":""},{"docid":"5f122c528716d4e28cd3a6695d27b80f","score":"0.584121","text":"@Override\n\tpublic void morir() {\n\n\t}","title":""},{"docid":"339f0371e7ea38d751e17fe6de3b3608","score":"0.58367133","text":"@Override\n\tpublic void crecer() {\n\n\t}","title":""},{"docid":"339f0371e7ea38d751e17fe6de3b3608","score":"0.58367133","text":"@Override\n\tpublic void crecer() {\n\n\t}","title":""},{"docid":"6ed3e363c02164bd00163fa46e2c48c2","score":"0.58366287","text":"@Override\n public void init_moduule() {\n \n }","title":""},{"docid":"3ea264268cd945e9281ac9d06e9bb7c5","score":"0.5829954","text":"@Override\n\tpublic void euphoria() {\n\t\t\n\t}","title":""},{"docid":"3ea264268cd945e9281ac9d06e9bb7c5","score":"0.5829954","text":"@Override\n\tpublic void euphoria() {\n\t\t\n\t}","title":""},{"docid":"ce91051d32625345f2bf3562abbb93de","score":"0.5794177","text":"@Override\n\tprotected void inicializar() {\n\t}","title":""},{"docid":"beee84210d56979d0068a8094fb2a5bd","score":"0.5792378","text":"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.57844025","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"b04ed49986fb3f4321a90ec19ab7f86d","score":"0.57759553","text":"@Override\n public void alistar() {\n }","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"849edaa5bbcc7511e16697ad05c01712","score":"0.57732296","text":"@Override\n\tpublic void avanzar() {\n\t\t\n\t}","title":""},{"docid":"10e00e5505d97435b723aeadb7afb929","score":"0.57712233","text":"@Override\n\tpublic void pintar2() {\n\t\t\n\t}","title":""},{"docid":"683eea6c39ec4e6df90f6be05200559d","score":"0.5769485","text":"@Override\r\n public void confer(){\n \r\n }","title":""},{"docid":"728d084a23664ecf9b5c04acb6367b9c","score":"0.5769356","text":"@Override\r\n\tpublic void descarnsar() {\n\t\t\r\n\t}","title":""},{"docid":"359987993ad84757f9d7a12eaf38d2d7","score":"0.5769273","text":"public final void mo59419g() {\n }","title":""},{"docid":"0e6111ae009ad752a364e5e9fb168e98","score":"0.5768801","text":"@Override\n\tpublic void volumne() {\n\t\t\n\t}","title":""},{"docid":"3f651ef5a6fad17e313e8da4ea72b6e3","score":"0.57645357","text":"@Override\n\tpublic void CT() {\n\t\t\n\t}","title":""},{"docid":"615018f0186427ab904e872db6726b2d","score":"0.5759138","text":"@Override\n public void init()\n {\n \n }","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"e634836bc1d61a011e04bfb67a971792","score":"0.5745885","text":"@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}","title":""},{"docid":"a7cff18dc205a0d79dbe54bb988e6894","score":"0.57428306","text":"public void emettreSon() {\n\t\t\r\n\t}","title":""},{"docid":"c13e6a1b7c130afa9fb0f34225bea4ef","score":"0.573645","text":"protected void mo1555b() {\n }","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"ac5a7a92eda66d2b7ef40199230fa4af","score":"0.5731894","text":"@Override\n\tpublic void arbeiteInPizzeria() {\n\n\t}","title":""},{"docid":"d1c2c284b75d7d46145b6f407496cd96","score":"0.5725441","text":"@Override\n\t\tprotected void initParameters() {\n\t\t\t\n\t\t}","title":""},{"docid":"a937c607590931387a357d03c3b0eef4","score":"0.5715831","text":"@Override\n\tprotected void initialize() {\n\n\t}","title":""},{"docid":"a937c607590931387a357d03c3b0eef4","score":"0.5715831","text":"@Override\n\tprotected void initialize() {\n\n\t}","title":""},{"docid":"0fc890bce2cd6e7184e33036b92f8217","score":"0.57140535","text":"public void mo55254a() {\n }","title":""},{"docid":"65022f0bb57de78da8518cd156b102e6","score":"0.57112384","text":"private void init(){\n\t\t\t\n\t\t}","title":""},{"docid":"216da885329e8d80cdc3490fda895c11","score":"0.57087225","text":"@Override\n\tpublic void yaz1() {\n\t\t\n\t}","title":""},{"docid":"3c6f91c038ca7ffdab72b5c233b827c5","score":"0.5705329","text":"@Override\n\tprotected void initMethod() {\n\t}","title":""},{"docid":"d3ea98d4cf6d33f166c8de2a1f7ab5a5","score":"0.5697742","text":"@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}","title":""},{"docid":"d3ea98d4cf6d33f166c8de2a1f7ab5a5","score":"0.5697742","text":"@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}","title":""},{"docid":"5f3e16954465fbae384d88f411211419","score":"0.56972444","text":"@Override\r\n public int E_generar() {\r\n return 0;\r\n }","title":""},{"docid":"365a661b2084f764f5e458915ff735ac","score":"0.56864643","text":"@Override\n public int getMunition() {\n return 0;\n }","title":""},{"docid":"40539b782464082aab77fae6b047eade","score":"0.5681723","text":"@Override\n\tprotected int get_count() {\n\t\treturn 1;\n\t}","title":""},{"docid":"b1e3eb9a5b9dff21ed219e48a8676b34","score":"0.56774884","text":"@Override\n public void memoria() {\n \n }","title":""},{"docid":"5f628d368579dd40ef68362831006940","score":"0.56769013","text":"@Override\n\tpublic void fahreFahrzeug() {\n\n\t}","title":""},{"docid":"5ae17f2516c21590c850e6758048effe","score":"0.56625473","text":"@Override\n public int getID()\n {\n return 0;\n }","title":""},{"docid":"b8cd427648ea50c94f93c47d407d10a0","score":"0.5660459","text":"public void mo3639d() {\n }","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""}],"string":"[\n {\n \"docid\": \"1acc57d42c31dee937ac33ea6f2a5b0b\",\n \"score\": \"0.6836411\",\n \"text\": \"@Override\\r\\n\\tpublic void comer() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d41636b65afa8267c9085dae3d1a2d\",\n \"score\": \"0.6679176\",\n \"text\": \"private void apparence() {\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8a45528a3f2e2c5ca531b00160fddfb\",\n \"score\": \"0.66538197\",\n \"text\": \"@Override\\n\\tpublic void nacer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8a45528a3f2e2c5ca531b00160fddfb\",\n \"score\": \"0.66538197\",\n \"text\": \"@Override\\n\\tpublic void nacer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f777356e2cd2fecd871f35f7e556fda8\",\n \"score\": \"0.6646134\",\n \"text\": \"public void mo3640e() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80d20df1cc75d8fa96c12c49a757fc43\",\n \"score\": \"0.65323734\",\n \"text\": \"@Override\\n\\tprotected void getExras() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f8d37aee09bc1e9959f768d6eb0183c\",\n \"score\": \"0.6481211\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void annadir() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5314003d8592219f71035b81985fabc0\",\n \"score\": \"0.64631\",\n \"text\": \"@Override\\n\\tpublic void roule() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0a79718ff9c5863618b11860674ac5e\",\n \"score\": \"0.6461734\",\n \"text\": \"@Override\\n\\tpublic void comer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.623686\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.623686\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10ead2e988bf977cb8edb2bacf974891\",\n \"score\": \"0.61546874\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9de8c9acb961a9d05ed00de5fe361e7\",\n \"score\": \"0.60638905\",\n \"text\": \"@Override\\n\\tpublic void seRetrage() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"483ae2cb94563f8e11864a532e44b464\",\n \"score\": \"0.606149\",\n \"text\": \"@Override\\r\\n public void perturb() {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e41230eaa4480036f1db3ae4856b5e2c\",\n \"score\": \"0.6048755\",\n \"text\": \"@Override\\n\\tpublic void evoluer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd4f5b0b471084e004373c89c1cf248\",\n \"score\": \"0.6040993\",\n \"text\": \"@Override\\r\\n\\tpublic void sen() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f1811a241e41ead4415ec767e77c63d\",\n \"score\": \"0.6023245\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"432a53d7cc7bff50c3cce7662418fe22\",\n \"score\": \"0.60228735\",\n \"text\": \"private static void daelijeom() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"feb1a9485d06df38283881186fb528a9\",\n \"score\": \"0.6014977\",\n \"text\": \"@Override\\n \\tprotected void initialize() {\\n \\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f6ca7603428a226b143ebf504f69fdb\",\n \"score\": \"0.6005143\",\n \"text\": \"@Override\\n protected void initialize() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"609ec2ff060d9d4cb0276468f482734d\",\n \"score\": \"0.59771466\",\n \"text\": \"public void mo89673a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3ea867fdaa4b61546bfc393614a093c\",\n \"score\": \"0.59687567\",\n \"text\": \"@Override\\n\\tpublic void setingInicial() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3211287bc24304a8ca2975647e8a262e\",\n \"score\": \"0.59549016\",\n \"text\": \"public void mo1702b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e98e1f8ddb7a94a5d95c29c94232f737\",\n \"score\": \"0.5943817\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d61391fe8770661f25917f3770f2a26\",\n \"score\": \"0.5926535\",\n \"text\": \"@Override\\n\\t\\tpublic void init(){\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a55a150557f80abcbd733ee3162b0661\",\n \"score\": \"0.5925673\",\n \"text\": \"private void m18301a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a8c6480f9fa5ab89d0437d00ffffccc\",\n \"score\": \"0.591947\",\n \"text\": \"@Override\\n public void tirer() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f8a1c1dfa100614be8cac1247e068d5\",\n \"score\": \"0.59192646\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void work() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"619a28ba3c7707bdf8bb1451d5c3d12b\",\n \"score\": \"0.5910928\",\n \"text\": \"public void mo25069a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28237d6ae20e1aa35aaca12e05c950c9\",\n \"score\": \"0.5902906\",\n \"text\": \"@Override\\n\\tpublic void sacrifier() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e6e2e657db69bfc88c40c8467801266\",\n \"score\": \"0.5899844\",\n \"text\": \"@Override\\r\\n\\tpublic void ben() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1134c4caabd33b9bbd414763740fddde\",\n \"score\": \"0.5896682\",\n \"text\": \"@Override\\n\\tpublic void respirar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab499170bffb402933a50d63a97e69dd\",\n \"score\": \"0.5896488\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dc1426b3b1c079ac18377166a6b34d3\",\n \"score\": \"0.5893354\",\n \"text\": \"@Override\\n public int getOrder() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f737e2251cf43d326f43b44297696e55\",\n \"score\": \"0.58891016\",\n \"text\": \"@Override\\n\\tpublic void patrol() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de8c2aa495b8cdade7e8895e58745ea2\",\n \"score\": \"0.5887025\",\n \"text\": \"public void afficher() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77f859c241fd5e1d997f67c3b890833e\",\n \"score\": \"0.5886342\",\n \"text\": \"@Override\\n\\tpublic void dormir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13e4409784fd6f872b474e6effe9726e\",\n \"score\": \"0.5879506\",\n \"text\": \"@Override\\n protected void initialization() {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bafce2e94d56e61baeadcb37047f6035\",\n \"score\": \"0.5858384\",\n \"text\": \"@Override\\n\\tprotected void postprocess() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5aa237d31e744d1e0729621e464fcfb2\",\n \"score\": \"0.585451\",\n \"text\": \"@Override\\r\\n\\tprotected void DataInit() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5aa237d31e744d1e0729621e464fcfb2\",\n \"score\": \"0.585451\",\n \"text\": \"@Override\\r\\n\\tprotected void DataInit() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5aa237d31e744d1e0729621e464fcfb2\",\n \"score\": \"0.585451\",\n \"text\": \"@Override\\r\\n\\tprotected void DataInit() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f52ad7c10a190c6268e275fdb4c1581\",\n \"score\": \"0.5853263\",\n \"text\": \"@Override\\n\\tpublic void jealous() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f52ad7c10a190c6268e275fdb4c1581\",\n \"score\": \"0.5853263\",\n \"text\": \"@Override\\n\\tpublic void jealous() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdf2a119ee69429ad4420d45c29db1b6\",\n \"score\": \"0.5849137\",\n \"text\": \"@Override\\n\\tpublic void netword() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bcac1bab4eaa6c9cc4cb7e33c684cef\",\n \"score\": \"0.5848443\",\n \"text\": \"public void mo1691a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f122c528716d4e28cd3a6695d27b80f\",\n \"score\": \"0.584121\",\n \"text\": \"@Override\\n\\tpublic void morir() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f122c528716d4e28cd3a6695d27b80f\",\n \"score\": \"0.584121\",\n \"text\": \"@Override\\n\\tpublic void morir() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"339f0371e7ea38d751e17fe6de3b3608\",\n \"score\": \"0.58367133\",\n \"text\": \"@Override\\n\\tpublic void crecer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"339f0371e7ea38d751e17fe6de3b3608\",\n \"score\": \"0.58367133\",\n \"text\": \"@Override\\n\\tpublic void crecer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ed3e363c02164bd00163fa46e2c48c2\",\n \"score\": \"0.58366287\",\n \"text\": \"@Override\\n public void init_moduule() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ea264268cd945e9281ac9d06e9bb7c5\",\n \"score\": \"0.5829954\",\n \"text\": \"@Override\\n\\tpublic void euphoria() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ea264268cd945e9281ac9d06e9bb7c5\",\n \"score\": \"0.5829954\",\n \"text\": \"@Override\\n\\tpublic void euphoria() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce91051d32625345f2bf3562abbb93de\",\n \"score\": \"0.5794177\",\n \"text\": \"@Override\\n\\tprotected void inicializar() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beee84210d56979d0068a8094fb2a5bd\",\n \"score\": \"0.5792378\",\n \"text\": \"@Override\\r\\n\\tprotected void initData() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.57844025\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b04ed49986fb3f4321a90ec19ab7f86d\",\n \"score\": \"0.57759553\",\n \"text\": \"@Override\\n public void alistar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"849edaa5bbcc7511e16697ad05c01712\",\n \"score\": \"0.57732296\",\n \"text\": \"@Override\\n\\tpublic void avanzar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10e00e5505d97435b723aeadb7afb929\",\n \"score\": \"0.57712233\",\n \"text\": \"@Override\\n\\tpublic void pintar2() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"683eea6c39ec4e6df90f6be05200559d\",\n \"score\": \"0.5769485\",\n \"text\": \"@Override\\r\\n public void confer(){\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"728d084a23664ecf9b5c04acb6367b9c\",\n \"score\": \"0.5769356\",\n \"text\": \"@Override\\r\\n\\tpublic void descarnsar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"359987993ad84757f9d7a12eaf38d2d7\",\n \"score\": \"0.5769273\",\n \"text\": \"public final void mo59419g() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e6111ae009ad752a364e5e9fb168e98\",\n \"score\": \"0.5768801\",\n \"text\": \"@Override\\n\\tpublic void volumne() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f651ef5a6fad17e313e8da4ea72b6e3\",\n \"score\": \"0.57645357\",\n \"text\": \"@Override\\n\\tpublic void CT() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"615018f0186427ab904e872db6726b2d\",\n \"score\": \"0.5759138\",\n \"text\": \"@Override\\n public void init()\\n {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e634836bc1d61a011e04bfb67a971792\",\n \"score\": \"0.5745885\",\n \"text\": \"@Override\\r\\n\\tpublic void sair() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7cff18dc205a0d79dbe54bb988e6894\",\n \"score\": \"0.57428306\",\n \"text\": \"public void emettreSon() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c13e6a1b7c130afa9fb0f34225bea4ef\",\n \"score\": \"0.573645\",\n \"text\": \"protected void mo1555b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac5a7a92eda66d2b7ef40199230fa4af\",\n \"score\": \"0.5731894\",\n \"text\": \"@Override\\n\\tpublic void arbeiteInPizzeria() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1c2c284b75d7d46145b6f407496cd96\",\n \"score\": \"0.5725441\",\n \"text\": \"@Override\\n\\t\\tprotected void initParameters() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a937c607590931387a357d03c3b0eef4\",\n \"score\": \"0.5715831\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a937c607590931387a357d03c3b0eef4\",\n \"score\": \"0.5715831\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fc890bce2cd6e7184e33036b92f8217\",\n \"score\": \"0.57140535\",\n \"text\": \"public void mo55254a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65022f0bb57de78da8518cd156b102e6\",\n \"score\": \"0.57112384\",\n \"text\": \"private void init(){\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"216da885329e8d80cdc3490fda895c11\",\n \"score\": \"0.57087225\",\n \"text\": \"@Override\\n\\tpublic void yaz1() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c6f91c038ca7ffdab72b5c233b827c5\",\n \"score\": \"0.5705329\",\n \"text\": \"@Override\\n\\tprotected void initMethod() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3ea98d4cf6d33f166c8de2a1f7ab5a5\",\n \"score\": \"0.5697742\",\n \"text\": \"@Override\\r\\n\\tpublic void Collusion() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3ea98d4cf6d33f166c8de2a1f7ab5a5\",\n \"score\": \"0.5697742\",\n \"text\": \"@Override\\r\\n\\tpublic void Collusion() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f3e16954465fbae384d88f411211419\",\n \"score\": \"0.56972444\",\n \"text\": \"@Override\\r\\n public int E_generar() {\\r\\n return 0;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"365a661b2084f764f5e458915ff735ac\",\n \"score\": \"0.56864643\",\n \"text\": \"@Override\\n public int getMunition() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40539b782464082aab77fae6b047eade\",\n \"score\": \"0.5681723\",\n \"text\": \"@Override\\n\\tprotected int get_count() {\\n\\t\\treturn 1;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1e3eb9a5b9dff21ed219e48a8676b34\",\n \"score\": \"0.56774884\",\n \"text\": \"@Override\\n public void memoria() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f628d368579dd40ef68362831006940\",\n \"score\": \"0.56769013\",\n \"text\": \"@Override\\n\\tpublic void fahreFahrzeug() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ae17f2516c21590c850e6758048effe\",\n \"score\": \"0.56625473\",\n \"text\": \"@Override\\n public int getID()\\n {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8cd427648ea50c94f93c47d407d10a0\",\n \"score\": \"0.5660459\",\n \"text\": \"public void mo3639d() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":871,"cells":{"query_id":{"kind":"string","value":"681160c3d04fa760aac66d62d8833306"},"query":{"kind":"string","value":"Pauses the timer and the animation."},"positive_passages":{"kind":"list like","value":[{"docid":"1f09c7b179f765fa320eebbbab5f46ad","score":"0.7694912","text":"public void pause(){\n\t\tif(timer == null){ return; }\n\t\ttimer.stop();\n\t}","title":""}],"string":"[\n {\n \"docid\": \"1f09c7b179f765fa320eebbbab5f46ad\",\n \"score\": \"0.7694912\",\n \"text\": \"public void pause(){\\n\\t\\tif(timer == null){ return; }\\n\\t\\ttimer.stop();\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ecb02b0edd32fc6cdae4830c795b3a34","score":"0.7910716","text":"public void pause() {\n\n if (timer != null) {\n\n // Arreter le timer\n stop();\n\n // Mise à jour\n update();\n }\n }","title":""},{"docid":"1825c0a260d9666b7a5bf1b1e8820a6b","score":"0.7588812","text":"private void pause() {\n pause(myDelay);\n }","title":""},{"docid":"84c6b5498a450a9bea536c03076e052b","score":"0.7502926","text":"@Override\n public void pause(){\n view.pauseHide();\n if (isRunning){\n timer.stopTimer();\n isRunning = false;\n }else{\n timer.startTimer();\n isRunning = true;\n }\n }","title":""},{"docid":"0a2ba26c5cc51e0ec69dcc0fcb68f958","score":"0.7411321","text":"private void timerPause() {\n timerStop();\n\n // Start the pause timer\n pauseTimer_startTime = System.currentTimeMillis();\n pauseTimerHandler.postDelayed(pauseTimerRunnable, 0);\n }","title":""},{"docid":"7cedd725e562773987341c5db865fada","score":"0.73969865","text":"public void pause() {\n\t\tsleep(2000);\n\t}","title":""},{"docid":"859d14638b3f503db97688c9a6f84f81","score":"0.7342364","text":"public void pause() {\n isPaused = true;\n System.out.println(\"pausing\");\n timeline.stop();\n }","title":""},{"docid":"d3c1d80fecbed511666940d461083bc1","score":"0.73262686","text":"public void pause() {\n if (currentAnimation != null) currentAnimation.pause();\n }","title":""},{"docid":"a6ffbd3e50aa64e7faee5a06efba1028","score":"0.7295401","text":"public void pause() {\r\n\t}","title":""},{"docid":"2366133c07cfeb2e2f8ec3611b58ff35","score":"0.7290496","text":"public void pause()\n\t{\n\t\tplayState = Status.PAUSED;\n\t\tlastUpdate = -1;\n\t\ttmr.stop();\n\t}","title":""},{"docid":"1a5a4e1c7e48549543cd34c74bd94674","score":"0.72620064","text":"public void pause() {}","title":""},{"docid":"94f57335a6e9b78592b34e5b3bf0ce9e","score":"0.7244873","text":"protected void pause() {\n sleep(300);\n }","title":""},{"docid":"135ebdb514b5534fa682cbae2c30864e","score":"0.72036505","text":"protected void pause(){}","title":""},{"docid":"a1303d04672c624a4465f1b18a892111","score":"0.7189745","text":"private void pauseTimer() {\n myTimer.stop();\n disableGamePlayKeys();\n repaint();\n }","title":""},{"docid":"94863edb994f42f1fe8bed107cc1c1a2","score":"0.7189457","text":"public void pause() {\r\n fPause = true;\r\n }","title":""},{"docid":"726e5a14341a02c914efa8ff971675c1","score":"0.7156239","text":"public void pause() {\n }","title":""},{"docid":"a83ba27595321f69f3410861e0b137f4","score":"0.71087","text":"public void pause() {\n cancelCallback();\n mStartTimeMillis *= -1;\n }","title":""},{"docid":"a8e9e2321d18361433ecb1b7ecae5f30","score":"0.7106934","text":"public void pause() {\n pause = true;\n }","title":""},{"docid":"dbaa62869abfbb82bbf2c1edf3143ab6","score":"0.70910317","text":"@Override\n\t\tpublic void pause() {\n\t\t \n\t\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"fbcd3eb749a8f600ecb2df5db7b9ca56","score":"0.70491695","text":"@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}","title":""},{"docid":"15380f7f69c0385960d83b9522619eed","score":"0.70306855","text":"public void pause()\n {\n paused = true;\n }","title":""},{"docid":"bc4113dc79713681db382345c9acfe22","score":"0.7028876","text":"private void pause() {\n\t\t// TODO\n\t}","title":""},{"docid":"86d3ab9a1c7f2712d86fb8d74b21e5e9","score":"0.7014052","text":"public void pause() {\n paused = true;\n }","title":""},{"docid":"86d3ab9a1c7f2712d86fb8d74b21e5e9","score":"0.7014052","text":"public void pause() {\n paused = true;\n }","title":""},{"docid":"7973d1b421972c134ad872fa51862857","score":"0.7002907","text":"public void pause() {\n\t\t// TODO Auto-generated method stub\n\t}","title":""},{"docid":"52a3eba6efdc1c37f9f3a361b8d07b0d","score":"0.6995088","text":"@Override\n public void pause() {\n }","title":""},{"docid":"57fe3a63c635c2b9c0f88f3344ab2532","score":"0.69883966","text":"public void pause();","title":""},{"docid":"57fe3a63c635c2b9c0f88f3344ab2532","score":"0.69883966","text":"public void pause();","title":""},{"docid":"57fe3a63c635c2b9c0f88f3344ab2532","score":"0.69883966","text":"public void pause();","title":""},{"docid":"3381a01168117e88c105ea4d5fcc8caa","score":"0.69650966","text":"@Override\n\tpublic void pause()\n\t{\n\n\t}","title":""},{"docid":"87eef377bed7ad1c89282a37423224cf","score":"0.6963193","text":"public void pause() {\n long currentTime = System.currentTimeMillis();\n ms = originalms - currentTime;\n }","title":""},{"docid":"f6c19d3caa2e4b9d6b65871d40993326","score":"0.6959807","text":"@Override\n\tpublic void pause() \n\t{\n\n\t}","title":""},{"docid":"ee80004fe92ced5da5f8db8e817a26b4","score":"0.69568074","text":"@Override\r\n public void pause() {\n }","title":""},{"docid":"ee80004fe92ced5da5f8db8e817a26b4","score":"0.69568074","text":"@Override\r\n public void pause() {\n }","title":""},{"docid":"ee80004fe92ced5da5f8db8e817a26b4","score":"0.69568074","text":"@Override\r\n public void pause() {\n }","title":""},{"docid":"e6c3999a04dc76acc554d52381d21967","score":"0.6951356","text":"@Override\r\n public void pause() {\r\n\r\n }","title":""},{"docid":"e6c3999a04dc76acc554d52381d21967","score":"0.6951356","text":"@Override\r\n public void pause() {\r\n\r\n }","title":""},{"docid":"cba5b8838df5e1d7c20bc25c6a7f166f","score":"0.6946925","text":"@Override\r\n\tpublic void pause() {\n\t}","title":""},{"docid":"83b3a45d433f78675c37aa2fb3e12c0a","score":"0.6933724","text":"public synchronized void pause() {\r\n\r\n\t\tpaused = true;\r\n\t}","title":""},{"docid":"ac13131f10e9aed7433ca9d77812b1a3","score":"0.6931131","text":"@Override\r\n public void pause() {}","title":""},{"docid":"bfe9455f20e3baa1a10c75a5cfaa77c7","score":"0.69277567","text":"private void pause() throws InterruptedException {\n component.repaint();\n Thread.sleep(delay);\n }","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"e50b100be547f84dd8fe1bc9114f6762","score":"0.69129455","text":"@Override\n\tpublic void pause() {\n\t\t\n\t}","title":""},{"docid":"5e358204482c16993f968333fb25ad6d","score":"0.69020164","text":"@Override\n\tpublic void pause() {\n\t\tsuper.pause();\n\t}","title":""},{"docid":"91b6cbbf1dee0b8c54a92acd5a06ccf4","score":"0.6901035","text":"public void pause() {\n\t\tsynchronized(this) {\n\t\t\tpaused = true;\n\t\t}\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"2ec1ade1893ccb9fb8deb48ae9583a8f","score":"0.68938285","text":"@Override\n\tpublic void pause() {\n\n\t}","title":""},{"docid":"28ae0a5fe7f423cb493ec6770da66cfb","score":"0.68923724","text":"public void pause() {\n\t\tmusic.pause();\n\t}","title":""},{"docid":"a2f8953715584fabb32eb440ef99f29d","score":"0.68845433","text":"@Override\n public void pause() {\n }","title":""},{"docid":"a2f8953715584fabb32eb440ef99f29d","score":"0.68845433","text":"@Override\n public void pause() {\n }","title":""},{"docid":"a2f8953715584fabb32eb440ef99f29d","score":"0.68845433","text":"@Override\n public void pause() {\n }","title":""},{"docid":"a2f8953715584fabb32eb440ef99f29d","score":"0.68845433","text":"@Override\n public void pause() {\n }","title":""},{"docid":"a2f8953715584fabb32eb440ef99f29d","score":"0.68845433","text":"@Override\n public void pause() {\n }","title":""}],"string":"[\n {\n \"docid\": \"ecb02b0edd32fc6cdae4830c795b3a34\",\n \"score\": \"0.7910716\",\n \"text\": \"public void pause() {\\n\\n if (timer != null) {\\n\\n // Arreter le timer\\n stop();\\n\\n // Mise à jour\\n update();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1825c0a260d9666b7a5bf1b1e8820a6b\",\n \"score\": \"0.7588812\",\n \"text\": \"private void pause() {\\n pause(myDelay);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84c6b5498a450a9bea536c03076e052b\",\n \"score\": \"0.7502926\",\n \"text\": \"@Override\\n public void pause(){\\n view.pauseHide();\\n if (isRunning){\\n timer.stopTimer();\\n isRunning = false;\\n }else{\\n timer.startTimer();\\n isRunning = true;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a2ba26c5cc51e0ec69dcc0fcb68f958\",\n \"score\": \"0.7411321\",\n \"text\": \"private void timerPause() {\\n timerStop();\\n\\n // Start the pause timer\\n pauseTimer_startTime = System.currentTimeMillis();\\n pauseTimerHandler.postDelayed(pauseTimerRunnable, 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cedd725e562773987341c5db865fada\",\n \"score\": \"0.73969865\",\n \"text\": \"public void pause() {\\n\\t\\tsleep(2000);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"859d14638b3f503db97688c9a6f84f81\",\n \"score\": \"0.7342364\",\n \"text\": \"public void pause() {\\n isPaused = true;\\n System.out.println(\\\"pausing\\\");\\n timeline.stop();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c1d80fecbed511666940d461083bc1\",\n \"score\": \"0.73262686\",\n \"text\": \"public void pause() {\\n if (currentAnimation != null) currentAnimation.pause();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6ffbd3e50aa64e7faee5a06efba1028\",\n \"score\": \"0.7295401\",\n \"text\": \"public void pause() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2366133c07cfeb2e2f8ec3611b58ff35\",\n \"score\": \"0.7290496\",\n \"text\": \"public void pause()\\n\\t{\\n\\t\\tplayState = Status.PAUSED;\\n\\t\\tlastUpdate = -1;\\n\\t\\ttmr.stop();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a5a4e1c7e48549543cd34c74bd94674\",\n \"score\": \"0.72620064\",\n \"text\": \"public void pause() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94f57335a6e9b78592b34e5b3bf0ce9e\",\n \"score\": \"0.7244873\",\n \"text\": \"protected void pause() {\\n sleep(300);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"135ebdb514b5534fa682cbae2c30864e\",\n \"score\": \"0.72036505\",\n \"text\": \"protected void pause(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1303d04672c624a4465f1b18a892111\",\n \"score\": \"0.7189745\",\n \"text\": \"private void pauseTimer() {\\n myTimer.stop();\\n disableGamePlayKeys();\\n repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94863edb994f42f1fe8bed107cc1c1a2\",\n \"score\": \"0.7189457\",\n \"text\": \"public void pause() {\\r\\n fPause = true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"726e5a14341a02c914efa8ff971675c1\",\n \"score\": \"0.7156239\",\n \"text\": \"public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a83ba27595321f69f3410861e0b137f4\",\n \"score\": \"0.71087\",\n \"text\": \"public void pause() {\\n cancelCallback();\\n mStartTimeMillis *= -1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8e9e2321d18361433ecb1b7ecae5f30\",\n \"score\": \"0.7106934\",\n \"text\": \"public void pause() {\\n pause = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbaa62869abfbb82bbf2c1edf3143ab6\",\n \"score\": \"0.70910317\",\n \"text\": \"@Override\\n\\t\\tpublic void pause() {\\n\\t\\t \\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcd3eb749a8f600ecb2df5db7b9ca56\",\n \"score\": \"0.70491695\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15380f7f69c0385960d83b9522619eed\",\n \"score\": \"0.70306855\",\n \"text\": \"public void pause()\\n {\\n paused = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc4113dc79713681db382345c9acfe22\",\n \"score\": \"0.7028876\",\n \"text\": \"private void pause() {\\n\\t\\t// TODO\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86d3ab9a1c7f2712d86fb8d74b21e5e9\",\n \"score\": \"0.7014052\",\n \"text\": \"public void pause() {\\n paused = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86d3ab9a1c7f2712d86fb8d74b21e5e9\",\n \"score\": \"0.7014052\",\n \"text\": \"public void pause() {\\n paused = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7973d1b421972c134ad872fa51862857\",\n \"score\": \"0.7002907\",\n \"text\": \"public void pause() {\\n\\t\\t// TODO Auto-generated method stub\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52a3eba6efdc1c37f9f3a361b8d07b0d\",\n \"score\": \"0.6995088\",\n \"text\": \"@Override\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57fe3a63c635c2b9c0f88f3344ab2532\",\n \"score\": \"0.69883966\",\n \"text\": \"public void pause();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57fe3a63c635c2b9c0f88f3344ab2532\",\n \"score\": \"0.69883966\",\n \"text\": \"public void pause();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57fe3a63c635c2b9c0f88f3344ab2532\",\n \"score\": \"0.69883966\",\n \"text\": \"public void pause();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3381a01168117e88c105ea4d5fcc8caa\",\n \"score\": \"0.69650966\",\n \"text\": \"@Override\\n\\tpublic void pause()\\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87eef377bed7ad1c89282a37423224cf\",\n \"score\": \"0.6963193\",\n \"text\": \"public void pause() {\\n long currentTime = System.currentTimeMillis();\\n ms = originalms - currentTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6c19d3caa2e4b9d6b65871d40993326\",\n \"score\": \"0.6959807\",\n \"text\": \"@Override\\n\\tpublic void pause() \\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee80004fe92ced5da5f8db8e817a26b4\",\n \"score\": \"0.69568074\",\n \"text\": \"@Override\\r\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee80004fe92ced5da5f8db8e817a26b4\",\n \"score\": \"0.69568074\",\n \"text\": \"@Override\\r\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee80004fe92ced5da5f8db8e817a26b4\",\n \"score\": \"0.69568074\",\n \"text\": \"@Override\\r\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6c3999a04dc76acc554d52381d21967\",\n \"score\": \"0.6951356\",\n \"text\": \"@Override\\r\\n public void pause() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6c3999a04dc76acc554d52381d21967\",\n \"score\": \"0.6951356\",\n \"text\": \"@Override\\r\\n public void pause() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cba5b8838df5e1d7c20bc25c6a7f166f\",\n \"score\": \"0.6946925\",\n \"text\": \"@Override\\r\\n\\tpublic void pause() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83b3a45d433f78675c37aa2fb3e12c0a\",\n \"score\": \"0.6933724\",\n \"text\": \"public synchronized void pause() {\\r\\n\\r\\n\\t\\tpaused = true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac13131f10e9aed7433ca9d77812b1a3\",\n \"score\": \"0.6931131\",\n \"text\": \"@Override\\r\\n public void pause() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfe9455f20e3baa1a10c75a5cfaa77c7\",\n \"score\": \"0.69277567\",\n \"text\": \"private void pause() throws InterruptedException {\\n component.repaint();\\n Thread.sleep(delay);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50b100be547f84dd8fe1bc9114f6762\",\n \"score\": \"0.69129455\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e358204482c16993f968333fb25ad6d\",\n \"score\": \"0.69020164\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\t\\tsuper.pause();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91b6cbbf1dee0b8c54a92acd5a06ccf4\",\n \"score\": \"0.6901035\",\n \"text\": \"public void pause() {\\n\\t\\tsynchronized(this) {\\n\\t\\t\\tpaused = true;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec1ade1893ccb9fb8deb48ae9583a8f\",\n \"score\": \"0.68938285\",\n \"text\": \"@Override\\n\\tpublic void pause() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28ae0a5fe7f423cb493ec6770da66cfb\",\n \"score\": \"0.68923724\",\n \"text\": \"public void pause() {\\n\\t\\tmusic.pause();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f8953715584fabb32eb440ef99f29d\",\n \"score\": \"0.68845433\",\n \"text\": \"@Override\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f8953715584fabb32eb440ef99f29d\",\n \"score\": \"0.68845433\",\n \"text\": \"@Override\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f8953715584fabb32eb440ef99f29d\",\n \"score\": \"0.68845433\",\n \"text\": \"@Override\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f8953715584fabb32eb440ef99f29d\",\n \"score\": \"0.68845433\",\n \"text\": \"@Override\\n public void pause() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f8953715584fabb32eb440ef99f29d\",\n \"score\": \"0.68845433\",\n \"text\": \"@Override\\n public void pause() {\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":872,"cells":{"query_id":{"kind":"string","value":"8e5c9ba292d58c3f38225a427135c40c"},"query":{"kind":"string","value":"Gets the attribute value for EndBit, using the alias name EndBit."},"positive_passages":{"kind":"list like","value":[{"docid":"4edd498df36bc4bdc9fda7b11cb719e8","score":"0.7686555","text":"public Number getEndBit() {\n return (Number)getAttributeInternal(ENDBIT);\n }","title":""}],"string":"[\n {\n \"docid\": \"4edd498df36bc4bdc9fda7b11cb719e8\",\n \"score\": \"0.7686555\",\n \"text\": \"public Number getEndBit() {\\n return (Number)getAttributeInternal(ENDBIT);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"0dc4adbad4f31e45943aa81e76f99fec","score":"0.6815199","text":"public Number getEndBit2() {\n return (Number)getAttributeInternal(ENDBIT2);\n }","title":""},{"docid":"b755dec0bdceab7a5652bf61212c7f88","score":"0.66335356","text":"public String getEndBitUom() {\n return (String)getAttributeInternal(ENDBITUOM);\n }","title":""},{"docid":"bff055efc1cee04691dc1d1b31d08885","score":"0.65488756","text":"public String getEndNum() {\n return (String) getAttributeInternal(ENDNUM);\n }","title":""},{"docid":"2bfbc1d0801d8a0301d8f97a00c4c373","score":"0.6090569","text":"public String getEndBitUom2() {\n return (String)getAttributeInternal(ENDBITUOM2);\n }","title":""},{"docid":"daa72f2172be701281425fd2e71c8a68","score":"0.5836962","text":"java.lang.Long getEndValue();","title":""},{"docid":"9e3d12fa6a39043310c3aa6e826a5aff","score":"0.5778278","text":"public void setEndBit(Number value) {\n setAttributeInternal(ENDBIT, value);\n }","title":""},{"docid":"eab668088d18d8f07aed2771344f9601","score":"0.57485104","text":"public long getEnd() {\n\t\treturn end;\n\t}","title":""},{"docid":"20b6562e9eba5ec951817bb93492cb09","score":"0.5745164","text":"public int getEndNum() {\r\n return this.endNum;\r\n }","title":""},{"docid":"2b413273816ba4eeaf31cbe39e608bd2","score":"0.57450753","text":"public long getEndAddress() {\n\t\treturn endAddress;\n\t}","title":""},{"docid":"3443c678bef672a2f23d08cbef94ed5c","score":"0.5736025","text":"public String getEnd() {\n\t\treturn end;\n\t}","title":""},{"docid":"96d78dea7e3e433b868007834c885dbd","score":"0.5731807","text":"public long getEnd() {\r\n\t\treturn end;\r\n\t}","title":""},{"docid":"34b519ebed7b5cecfafe0f1ea1bc596d","score":"0.5724314","text":"public long getValueEndsAt() throws ASN1Exception {\n if (state == inState.tag || state == inState.value) {\n return tagEndsAt;\n } else {\n throw new ASN1Exception(\"In wrong state\");\n }\n }","title":""},{"docid":"fc133f0f2a8c596f3b33965163af7dea","score":"0.5690865","text":"public long getEnd() {\n return end;\n }","title":""},{"docid":"a010881e20af67bbb07212e44e700926","score":"0.56746304","text":"public Long endNumber() {\n return (Long) storedValueForKey(\"endNumber\");\n }","title":""},{"docid":"e050161c561c4fb5cb6c12c040d04681","score":"0.5645629","text":"public long getEnd() {\n return end;\n }","title":""},{"docid":"60293d9187ed261a5e1b4200a31aa7d1","score":"0.5622428","text":"public long getEnd() {\n return end_;\n }","title":""},{"docid":"4d590665c155b453fdecfe345cf488a7","score":"0.5622294","text":"public long getEndNumber() {\n return endNumber;\n }","title":""},{"docid":"8396c4286b738e7322ab77c329534038","score":"0.56163603","text":"public int getEnd() {\n\n return this.end;\n }","title":""},{"docid":"15c69b82d895ebd7092b1653bac1175a","score":"0.56051534","text":"@jakarta.annotation.Nullable\n @JsonIgnore\n public Long getEnd() {\n return end.orElse(null);\n }","title":""},{"docid":"34139c0f7f1f6b3a54efa1ae8bec6e5e","score":"0.5594939","text":"public int getEnd()\r\n\t{\r\n\t\treturn this.end;\r\n\t}","title":""},{"docid":"979eb4a65d1e78a0834d37c4a165c7d4","score":"0.5590308","text":"public long getEnd() {\n return end_;\n }","title":""},{"docid":"576ed10d1367056d5e7f86750fa3bec9","score":"0.55799973","text":"public Timestamp getEndDate() {\n return (Timestamp) getAttributeInternal(ENDDATE);\n }","title":""},{"docid":"c6d21182323df664101b37472ac6e5cb","score":"0.55674887","text":"public Number getMinEndBit() {\n return (Number)getAttributeInternal(MINENDBIT);\n }","title":""},{"docid":"2c423b9309a056cd236356c531e5e716","score":"0.55579096","text":"public float getEnd() {\n return this.end;\n }","title":""},{"docid":"b3ad6cf3dd1b1e1e2618c5082508f2ac","score":"0.5552399","text":"public double getStaEnd()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STAEND$4);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }","title":""},{"docid":"ddd7c834e827a23caba175a7356d6ecd","score":"0.55203396","text":"public Cell getEnd() {\r\n\t\treturn end;\r\n\t}","title":""},{"docid":"a8abe5bb61175e0292a14a90d3e365af","score":"0.5506655","text":"public int getEndChar() {\r\n\treturn this.endChar;\r\n }","title":""},{"docid":"2d5547bc9497bd6b576e1e7360cffc15","score":"0.5503394","text":"public Object getEndRef() {\n return endRef;\n }","title":""},{"docid":"66f451b464c8d868577d092a2c2bcf57","score":"0.5483443","text":"public int getEnd() {\n\t\t\n\t\treturn end;\n\t}","title":""},{"docid":"5e47b16859e35c83e044c5fbad0a2dbc","score":"0.5468593","text":"public char getEnd() {\n return this.close;\n }","title":""},{"docid":"93ba0c4bab8b05da72c3634b67ba8703","score":"0.545637","text":"public Position getEnd() {\n return this.end;\n }","title":""},{"docid":"4cd11c9f602b841f7209b0d0c7ab9b62","score":"0.54545945","text":"public Point2D.Double getEnd() {\n\t\treturn end;\n\t}","title":""},{"docid":"cc953a2ea05b867d32bf8cdd32243670","score":"0.54442847","text":"public Node getEnd() {\n\t\treturn end;\n\t}","title":""},{"docid":"b5a7bb73ee8d2b820d6abc9565c52e3b","score":"0.54383516","text":"public int getEnd() {\n\t\treturn getStart() + getLength();\n\t}","title":""},{"docid":"11610010e8838b36a17aae777b2b4998","score":"0.543749","text":"public org.landxml.schema.landXML11.ZoneVertType.Enum getEndVertType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENDVERTTYPE$12);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return (org.landxml.schema.landXML11.ZoneVertType.Enum)target.getEnumValue();\r\n }\r\n }","title":""},{"docid":"3b3525c0634b9860bc5191e21565d743","score":"0.5415561","text":"public int getEnd() {\n\t return end;\n\t}","title":""},{"docid":"9ac6c626da57cded357d3279b3191942","score":"0.54096967","text":"public Position getEnd() {\r\n\t\treturn end;\r\n\t}","title":""},{"docid":"6769b7457d0a0d724ba6ac102a6eca90","score":"0.54040605","text":"public void setEndBitUom(String value) {\n setAttributeInternal(ENDBITUOM, value);\n }","title":""},{"docid":"830b5b89075e6c591615a9cc06a6dd0b","score":"0.5404026","text":"public Mass getEnd () {\n return mEnd;\n }","title":""},{"docid":"1bced1323926c56326e0bb07135b2f57","score":"0.53997046","text":"public int getEnd() {\n return end;\n }","title":""},{"docid":"ecf3c2a837d81b6f2927bd424295e573","score":"0.5397957","text":"@Override\n\tprotected long getEnd() {\n\t\treturn super.getEnd();\n\t}","title":""},{"docid":"c0d90bb3a7e06650303a4e15f746edae","score":"0.539272","text":"public double getEndLng() {\n\t\treturn endLng;\n\t}","title":""},{"docid":"b99efaef8d179b497aeca0445ff91e1c","score":"0.53919387","text":"public byte[] getEnd() {\n\t}","title":""},{"docid":"4189750ceb5cd9922642ac370313f493","score":"0.53876054","text":"public Integer getCashboxEndId() {\n return cashboxEndId;\n }","title":""},{"docid":"b7aaa6e860bbfeccb9deca1238b0e274","score":"0.5367239","text":"public int getEnd() {\n return end;\n }","title":""},{"docid":"b7aaa6e860bbfeccb9deca1238b0e274","score":"0.5367239","text":"public int getEnd() {\n return end;\n }","title":""},{"docid":"00eea34098a11617fbd21ff39adc8cd2","score":"0.5348666","text":"@SystemAPI\n\tpublic TimeStamp getEnd() {\n\t\treturn end;\n\t}","title":""},{"docid":"440e3531184a396943f63dd5ee961809","score":"0.5341197","text":"public Integer getEnd(){\n return span != null ? span[1] : null;\n }","title":""},{"docid":"f6caafd7e8cdcf2ec7154265ad7aaa40","score":"0.5325355","text":"public Point getEnd() {\n\t\treturn end;\n\t}","title":""},{"docid":"a885dc02b679ceb55e0950624f747cb9","score":"0.53182495","text":"public int getEndIndex() {\n if (Mention_Type.featOkTst && ((Mention_Type)jcasType).casFeat_endIndex == null)\n jcasType.jcas.throwFeatMissing(\"endIndex\", \"ts.Mention\");\n return jcasType.ll_cas.ll_getIntValue(addr, ((Mention_Type)jcasType).casFeatCode_endIndex);}","title":""},{"docid":"e8a97e6d449584354dab3e577fdc9583","score":"0.52975637","text":"public int getEnd() {return end;}","title":""},{"docid":"6a0457599c111a64ecd3313259a1546b","score":"0.5291829","text":"public void setEndBit2(Number value) {\n setAttributeInternal(ENDBIT2, value);\n }","title":""},{"docid":"2d478a06a1d3082112788ebbf415633c","score":"0.52856565","text":"public Position getEnd() {\n return end;\n }","title":""},{"docid":"bba28706b4f6aa00138a7d1ffaf1dff6","score":"0.52852404","text":"int getEnd(int unitEntry) {\n\t\treturn units[unitEntry].end;\n\t}","title":""},{"docid":"a9de1669df2625eadab3fea82bfb75e8","score":"0.5283544","text":"java.lang.String getEnd();","title":""},{"docid":"1284d58b09bb2cbb7135f51d7e467867","score":"0.5281375","text":"public OffsetDateTime usageEnd() {\n return this.usageEnd;\n }","title":""},{"docid":"d377c2c3da0f6b7da642f8b103969ab7","score":"0.52808756","text":"public Date getEnd() {\n\t\treturn this.end;\n\t}","title":""},{"docid":"fc7ccc2972e81f3866054cb678ec0816","score":"0.5272484","text":"public double getEndValue()\n {\n return endpoint2;\n }","title":""},{"docid":"11b3278782bc483043eb851d7a8b3d6c","score":"0.52693236","text":"private int getEndDay() {\r\n return itemToInteger(endDayBox.getSelectedItem());\r\n }","title":""},{"docid":"c4de635f5c2cd7426928858c727c0dd1","score":"0.52613163","text":"public int getEnd() { return getIndex(len() - 1).intValue(); }","title":""},{"docid":"b15e7132c5d0ea5a290441db3a88681e","score":"0.52592945","text":"@SuppressWarnings(\"deprecation\")\n public String getEndDay() {\n // Obtain day\n Integer numericDay;\n numericDay = eventEnd.getDate();\n return numericDay.toString();\n }","title":""},{"docid":"8c49b821407e360289340663df96f5cf","score":"0.52273035","text":"public int getEndCoord(){\n\t\treturn endCoord;\n\t}","title":""},{"docid":"779ebbded3df73f6b3b9c61341c7dbac","score":"0.52198577","text":"public org.apache.xmlbeans.XmlDouble xgetEndVertValue()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlDouble target = null;\r\n target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(ENDVERTVALUE$10);\r\n return target;\r\n }\r\n }","title":""},{"docid":"1f7bda8e931f2a1de4b187f4bbf30145","score":"0.5212694","text":"public org.landxml.schema.landXML11.Station xgetStaEnd()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.Station target = null;\r\n target = (org.landxml.schema.landXML11.Station)get_store().find_attribute_user(STAEND$4);\r\n return target;\r\n }\r\n }","title":""},{"docid":"89ae2f786624729cd6dcb6d9e33e5fc2","score":"0.5198099","text":"public synchronized final long endAddress()\n\t{\n\t\treturn endAddress;\n\t}","title":""},{"docid":"8a26786ee9969fd2343927da6f3265f6","score":"0.51756126","text":"public double getEndMoney() {\n return endMoney;\n }","title":""},{"docid":"c3047cc72944a8c8313d41fa1b1feb06","score":"0.51673526","text":"public long getEnd() {\n return offset + size;\n }","title":""},{"docid":"ac47a55360d5a8a5266b9752c6659ae0","score":"0.51529723","text":"private Position getEndPosition() {\n\t\treturn this.endPosition;\n\t}","title":""},{"docid":"bf7ca15647bcaba37c63496b39d8b0a6","score":"0.51520437","text":"public long end() {\n return end;\n }","title":""},{"docid":"11daca1ad5f9db24e2708fd5061bed57","score":"0.51506627","text":"@SuppressWarnings(\"deprecation\")\n public String getEndHour() {\n // Obtain hour\n Integer numericHour;\n numericHour = eventEnd.getHours();\n return numericHour.toString();\n }","title":""},{"docid":"9339dbac553314413d9265b0b4823c09","score":"0.5146321","text":"public Node getEndNode(){\r\n\t\treturn endNode;\r\n\t}","title":""},{"docid":"80e51bace9c78c055937ebb8ed78360c","score":"0.5142762","text":"public void setEndBitUom2(String value) {\n setAttributeInternal(ENDBITUOM2, value);\n }","title":""},{"docid":"8815db670798a63f49106c03fc70a7aa","score":"0.5116423","text":"public Function getEndFunction() {\n return endFunction;\n }","title":""},{"docid":"8914e37950adfa4d6d3b9cf36f78a0b6","score":"0.51075643","text":"public double getEndVertValue()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENDVERTVALUE$10);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }","title":""},{"docid":"22fa3bb0b4dd96c9fb5342cd64f127fb","score":"0.51040125","text":"public String getEndingString() {\n\t\treturn this.endingString;\n\t}","title":""},{"docid":"bc157e0547a9b9a82e36ba22d5998197","score":"0.51015085","text":"public int getEndCycleNumber()\r\n {\r\n return alarmSetNumber;\r\n }","title":""},{"docid":"d29f2013dd4bb143fe0228f27b28cc6f","score":"0.50921816","text":"public int get_end_time() {\n return (int)getUIntElement(offsetBits_end_time(), 16);\n }","title":""},{"docid":"27a1f3352c0f9924661fdbbcbd78ae31","score":"0.50835335","text":"public byte getEndWeek() {\n return endWeek;\n }","title":""},{"docid":"5264156b74aec226e87a0a908869ad3d","score":"0.5059181","text":"@JsonIgnore\n public long getIntervalEnd()\n {\n return this.intervalEnd;\n }","title":""},{"docid":"b82329c589ebed7e1d145d123fd3d3ad","score":"0.50479424","text":"public AssociationEnd getAssociationEnd();","title":""},{"docid":"829329de30b97ce54e9be459e72ab9f6","score":"0.50469303","text":"public double getEndX() {\n \n return myEndX;\n }","title":""},{"docid":"07fb6c9020d481af13f27191be798065","score":"0.5043943","text":"int getEndpointerTypeValue();","title":""},{"docid":"946ce177b2050f27ef7599f9a79f859f","score":"0.50313187","text":"public boolean getEnd() {\n\t\t\treturn this.end;\n\t\t}","title":""},{"docid":"494e5b1af678c5fcf466a46c0c27e6b5","score":"0.5025551","text":"public Stop getSegmentEndLoc(){\n return this.segmentEndLoc;\n }","title":""},{"docid":"c29899e6f94810d680124ce055295edf","score":"0.5023084","text":"public Time getEndRange() {\r\n\t\treturn rangeEnd;\r\n\t}","title":""},{"docid":"0aa1893c1d8d61d68a1176113567d171","score":"0.5022882","text":"public long getStructureEnd() {\n\t\treturn structureStart + getStructureLength();\n\t}","title":""},{"docid":"4bd0890b97bb740f28114ce5b24b4228","score":"0.50216544","text":"public double getEndY () {\n return mEnd.y;\n }","title":""},{"docid":"6880ca701f857e550d73891f4a5b254e","score":"0.5014647","text":"public byte last()\n\t{\n\t\treturn aData[nSize - 1];\n\t}","title":""},{"docid":"682432829e70f830edbb117490c51248","score":"0.5010652","text":"public int getEndLine() {\r\n\treturn this.endLine;\r\n }","title":""},{"docid":"fc15a46f9fd6f79c06a3ea89c7f4a8e5","score":"0.50078183","text":"public SimFlightDef setEndLng(double endLng) {\n\t\tthis.endLng = endLng;\n\t\treturn this;\n\t}","title":""},{"docid":"fc4b1042ecbf164b95bcb98f9784fce0","score":"0.50062084","text":"public BasicBlock getEndBlock() {\n return endBlock;\n }","title":""},{"docid":"294315c1b8a7e60700cc1841964129e1","score":"0.5005746","text":"public String getEndText() {\n\n return this.endText;\n }","title":""},{"docid":"09cc6d249d82bad59b97bfea7a4ce5d7","score":"0.49985266","text":"public double getEndX () {\n return mEnd.x;\n }","title":""},{"docid":"b7c2ffd65f9491cad2f73802d378af4b","score":"0.49907947","text":"public String getEndStockOrgCode() {\n\t\treturn endStockOrgCode;\n\t}","title":""},{"docid":"8dc6b2292d20664c522b86d0b7568aa8","score":"0.4990593","text":"@Nullable\n public DynamicInstant getEndExclusive() {\n if (mImpl.hasEndExclusive()) {\n return DynamicBuilders.dynamicInstantFromProto(mImpl.getEndExclusive());\n } else {\n return null;\n }\n }","title":""},{"docid":"a440b63cad4b35eefecfc8cedd7bd7e1","score":"0.49902648","text":"public double getEndY() {\n \n return myEndY;\n \n }","title":""},{"docid":"275fc435d8958a1491d0cab24c1ef347","score":"0.49811792","text":"public int getEndY() {\n\t\treturn this.EndY;\n\t}","title":""},{"docid":"0249ada60da752660ef83b2d4a466a5c","score":"0.4979347","text":"public float getEndAltFt() {\n\t\treturn endAltFt;\n\t}","title":""},{"docid":"77259482326ce547df7ed5b86e59d9c0","score":"0.49782044","text":"public int getEnd() {\n return 0;\n }","title":""},{"docid":"f4b801dcf75307a4d65c5918260538a9","score":"0.49743718","text":"public int[][] getEndCell() {\n return endCell;\n }","title":""}],"string":"[\n {\n \"docid\": \"0dc4adbad4f31e45943aa81e76f99fec\",\n \"score\": \"0.6815199\",\n \"text\": \"public Number getEndBit2() {\\n return (Number)getAttributeInternal(ENDBIT2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b755dec0bdceab7a5652bf61212c7f88\",\n \"score\": \"0.66335356\",\n \"text\": \"public String getEndBitUom() {\\n return (String)getAttributeInternal(ENDBITUOM);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bff055efc1cee04691dc1d1b31d08885\",\n \"score\": \"0.65488756\",\n \"text\": \"public String getEndNum() {\\n return (String) getAttributeInternal(ENDNUM);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bfbc1d0801d8a0301d8f97a00c4c373\",\n \"score\": \"0.6090569\",\n \"text\": \"public String getEndBitUom2() {\\n return (String)getAttributeInternal(ENDBITUOM2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daa72f2172be701281425fd2e71c8a68\",\n \"score\": \"0.5836962\",\n \"text\": \"java.lang.Long getEndValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e3d12fa6a39043310c3aa6e826a5aff\",\n \"score\": \"0.5778278\",\n \"text\": \"public void setEndBit(Number value) {\\n setAttributeInternal(ENDBIT, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eab668088d18d8f07aed2771344f9601\",\n \"score\": \"0.57485104\",\n \"text\": \"public long getEnd() {\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20b6562e9eba5ec951817bb93492cb09\",\n \"score\": \"0.5745164\",\n \"text\": \"public int getEndNum() {\\r\\n return this.endNum;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b413273816ba4eeaf31cbe39e608bd2\",\n \"score\": \"0.57450753\",\n \"text\": \"public long getEndAddress() {\\n\\t\\treturn endAddress;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3443c678bef672a2f23d08cbef94ed5c\",\n \"score\": \"0.5736025\",\n \"text\": \"public String getEnd() {\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96d78dea7e3e433b868007834c885dbd\",\n \"score\": \"0.5731807\",\n \"text\": \"public long getEnd() {\\r\\n\\t\\treturn end;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34b519ebed7b5cecfafe0f1ea1bc596d\",\n \"score\": \"0.5724314\",\n \"text\": \"public long getValueEndsAt() throws ASN1Exception {\\n if (state == inState.tag || state == inState.value) {\\n return tagEndsAt;\\n } else {\\n throw new ASN1Exception(\\\"In wrong state\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc133f0f2a8c596f3b33965163af7dea\",\n \"score\": \"0.5690865\",\n \"text\": \"public long getEnd() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a010881e20af67bbb07212e44e700926\",\n \"score\": \"0.56746304\",\n \"text\": \"public Long endNumber() {\\n return (Long) storedValueForKey(\\\"endNumber\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e050161c561c4fb5cb6c12c040d04681\",\n \"score\": \"0.5645629\",\n \"text\": \"public long getEnd() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60293d9187ed261a5e1b4200a31aa7d1\",\n \"score\": \"0.5622428\",\n \"text\": \"public long getEnd() {\\n return end_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d590665c155b453fdecfe345cf488a7\",\n \"score\": \"0.5622294\",\n \"text\": \"public long getEndNumber() {\\n return endNumber;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8396c4286b738e7322ab77c329534038\",\n \"score\": \"0.56163603\",\n \"text\": \"public int getEnd() {\\n\\n return this.end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15c69b82d895ebd7092b1653bac1175a\",\n \"score\": \"0.56051534\",\n \"text\": \"@jakarta.annotation.Nullable\\n @JsonIgnore\\n public Long getEnd() {\\n return end.orElse(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34139c0f7f1f6b3a54efa1ae8bec6e5e\",\n \"score\": \"0.5594939\",\n \"text\": \"public int getEnd()\\r\\n\\t{\\r\\n\\t\\treturn this.end;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"979eb4a65d1e78a0834d37c4a165c7d4\",\n \"score\": \"0.5590308\",\n \"text\": \"public long getEnd() {\\n return end_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"576ed10d1367056d5e7f86750fa3bec9\",\n \"score\": \"0.55799973\",\n \"text\": \"public Timestamp getEndDate() {\\n return (Timestamp) getAttributeInternal(ENDDATE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6d21182323df664101b37472ac6e5cb\",\n \"score\": \"0.55674887\",\n \"text\": \"public Number getMinEndBit() {\\n return (Number)getAttributeInternal(MINENDBIT);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c423b9309a056cd236356c531e5e716\",\n \"score\": \"0.55579096\",\n \"text\": \"public float getEnd() {\\n return this.end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3ad6cf3dd1b1e1e2618c5082508f2ac\",\n \"score\": \"0.5552399\",\n \"text\": \"public double getStaEnd()\\r\\n {\\r\\n synchronized (monitor())\\r\\n {\\r\\n check_orphaned();\\r\\n org.apache.xmlbeans.SimpleValue target = null;\\r\\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STAEND$4);\\r\\n if (target == null)\\r\\n {\\r\\n return 0.0;\\r\\n }\\r\\n return target.getDoubleValue();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddd7c834e827a23caba175a7356d6ecd\",\n \"score\": \"0.55203396\",\n \"text\": \"public Cell getEnd() {\\r\\n\\t\\treturn end;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8abe5bb61175e0292a14a90d3e365af\",\n \"score\": \"0.5506655\",\n \"text\": \"public int getEndChar() {\\r\\n\\treturn this.endChar;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d5547bc9497bd6b576e1e7360cffc15\",\n \"score\": \"0.5503394\",\n \"text\": \"public Object getEndRef() {\\n return endRef;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66f451b464c8d868577d092a2c2bcf57\",\n \"score\": \"0.5483443\",\n \"text\": \"public int getEnd() {\\n\\t\\t\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e47b16859e35c83e044c5fbad0a2dbc\",\n \"score\": \"0.5468593\",\n \"text\": \"public char getEnd() {\\n return this.close;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93ba0c4bab8b05da72c3634b67ba8703\",\n \"score\": \"0.545637\",\n \"text\": \"public Position getEnd() {\\n return this.end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cd11c9f602b841f7209b0d0c7ab9b62\",\n \"score\": \"0.54545945\",\n \"text\": \"public Point2D.Double getEnd() {\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc953a2ea05b867d32bf8cdd32243670\",\n \"score\": \"0.54442847\",\n \"text\": \"public Node getEnd() {\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5a7bb73ee8d2b820d6abc9565c52e3b\",\n \"score\": \"0.54383516\",\n \"text\": \"public int getEnd() {\\n\\t\\treturn getStart() + getLength();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11610010e8838b36a17aae777b2b4998\",\n \"score\": \"0.543749\",\n \"text\": \"public org.landxml.schema.landXML11.ZoneVertType.Enum getEndVertType()\\r\\n {\\r\\n synchronized (monitor())\\r\\n {\\r\\n check_orphaned();\\r\\n org.apache.xmlbeans.SimpleValue target = null;\\r\\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENDVERTTYPE$12);\\r\\n if (target == null)\\r\\n {\\r\\n return null;\\r\\n }\\r\\n return (org.landxml.schema.landXML11.ZoneVertType.Enum)target.getEnumValue();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b3525c0634b9860bc5191e21565d743\",\n \"score\": \"0.5415561\",\n \"text\": \"public int getEnd() {\\n\\t return end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ac6c626da57cded357d3279b3191942\",\n \"score\": \"0.54096967\",\n \"text\": \"public Position getEnd() {\\r\\n\\t\\treturn end;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6769b7457d0a0d724ba6ac102a6eca90\",\n \"score\": \"0.54040605\",\n \"text\": \"public void setEndBitUom(String value) {\\n setAttributeInternal(ENDBITUOM, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"830b5b89075e6c591615a9cc06a6dd0b\",\n \"score\": \"0.5404026\",\n \"text\": \"public Mass getEnd () {\\n return mEnd;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bced1323926c56326e0bb07135b2f57\",\n \"score\": \"0.53997046\",\n \"text\": \"public int getEnd() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecf3c2a837d81b6f2927bd424295e573\",\n \"score\": \"0.5397957\",\n \"text\": \"@Override\\n\\tprotected long getEnd() {\\n\\t\\treturn super.getEnd();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0d90bb3a7e06650303a4e15f746edae\",\n \"score\": \"0.539272\",\n \"text\": \"public double getEndLng() {\\n\\t\\treturn endLng;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b99efaef8d179b497aeca0445ff91e1c\",\n \"score\": \"0.53919387\",\n \"text\": \"public byte[] getEnd() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4189750ceb5cd9922642ac370313f493\",\n \"score\": \"0.53876054\",\n \"text\": \"public Integer getCashboxEndId() {\\n return cashboxEndId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7aaa6e860bbfeccb9deca1238b0e274\",\n \"score\": \"0.5367239\",\n \"text\": \"public int getEnd() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7aaa6e860bbfeccb9deca1238b0e274\",\n \"score\": \"0.5367239\",\n \"text\": \"public int getEnd() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00eea34098a11617fbd21ff39adc8cd2\",\n \"score\": \"0.5348666\",\n \"text\": \"@SystemAPI\\n\\tpublic TimeStamp getEnd() {\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"440e3531184a396943f63dd5ee961809\",\n \"score\": \"0.5341197\",\n \"text\": \"public Integer getEnd(){\\n return span != null ? span[1] : null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6caafd7e8cdcf2ec7154265ad7aaa40\",\n \"score\": \"0.5325355\",\n \"text\": \"public Point getEnd() {\\n\\t\\treturn end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a885dc02b679ceb55e0950624f747cb9\",\n \"score\": \"0.53182495\",\n \"text\": \"public int getEndIndex() {\\n if (Mention_Type.featOkTst && ((Mention_Type)jcasType).casFeat_endIndex == null)\\n jcasType.jcas.throwFeatMissing(\\\"endIndex\\\", \\\"ts.Mention\\\");\\n return jcasType.ll_cas.ll_getIntValue(addr, ((Mention_Type)jcasType).casFeatCode_endIndex);}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8a97e6d449584354dab3e577fdc9583\",\n \"score\": \"0.52975637\",\n \"text\": \"public int getEnd() {return end;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a0457599c111a64ecd3313259a1546b\",\n \"score\": \"0.5291829\",\n \"text\": \"public void setEndBit2(Number value) {\\n setAttributeInternal(ENDBIT2, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d478a06a1d3082112788ebbf415633c\",\n \"score\": \"0.52856565\",\n \"text\": \"public Position getEnd() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bba28706b4f6aa00138a7d1ffaf1dff6\",\n \"score\": \"0.52852404\",\n \"text\": \"int getEnd(int unitEntry) {\\n\\t\\treturn units[unitEntry].end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9de1669df2625eadab3fea82bfb75e8\",\n \"score\": \"0.5283544\",\n \"text\": \"java.lang.String getEnd();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1284d58b09bb2cbb7135f51d7e467867\",\n \"score\": \"0.5281375\",\n \"text\": \"public OffsetDateTime usageEnd() {\\n return this.usageEnd;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d377c2c3da0f6b7da642f8b103969ab7\",\n \"score\": \"0.52808756\",\n \"text\": \"public Date getEnd() {\\n\\t\\treturn this.end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc7ccc2972e81f3866054cb678ec0816\",\n \"score\": \"0.5272484\",\n \"text\": \"public double getEndValue()\\n {\\n return endpoint2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11b3278782bc483043eb851d7a8b3d6c\",\n \"score\": \"0.52693236\",\n \"text\": \"private int getEndDay() {\\r\\n return itemToInteger(endDayBox.getSelectedItem());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4de635f5c2cd7426928858c727c0dd1\",\n \"score\": \"0.52613163\",\n \"text\": \"public int getEnd() { return getIndex(len() - 1).intValue(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b15e7132c5d0ea5a290441db3a88681e\",\n \"score\": \"0.52592945\",\n \"text\": \"@SuppressWarnings(\\\"deprecation\\\")\\n public String getEndDay() {\\n // Obtain day\\n Integer numericDay;\\n numericDay = eventEnd.getDate();\\n return numericDay.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c49b821407e360289340663df96f5cf\",\n \"score\": \"0.52273035\",\n \"text\": \"public int getEndCoord(){\\n\\t\\treturn endCoord;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"779ebbded3df73f6b3b9c61341c7dbac\",\n \"score\": \"0.52198577\",\n \"text\": \"public org.apache.xmlbeans.XmlDouble xgetEndVertValue()\\r\\n {\\r\\n synchronized (monitor())\\r\\n {\\r\\n check_orphaned();\\r\\n org.apache.xmlbeans.XmlDouble target = null;\\r\\n target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(ENDVERTVALUE$10);\\r\\n return target;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7bda8e931f2a1de4b187f4bbf30145\",\n \"score\": \"0.5212694\",\n \"text\": \"public org.landxml.schema.landXML11.Station xgetStaEnd()\\r\\n {\\r\\n synchronized (monitor())\\r\\n {\\r\\n check_orphaned();\\r\\n org.landxml.schema.landXML11.Station target = null;\\r\\n target = (org.landxml.schema.landXML11.Station)get_store().find_attribute_user(STAEND$4);\\r\\n return target;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89ae2f786624729cd6dcb6d9e33e5fc2\",\n \"score\": \"0.5198099\",\n \"text\": \"public synchronized final long endAddress()\\n\\t{\\n\\t\\treturn endAddress;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a26786ee9969fd2343927da6f3265f6\",\n \"score\": \"0.51756126\",\n \"text\": \"public double getEndMoney() {\\n return endMoney;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3047cc72944a8c8313d41fa1b1feb06\",\n \"score\": \"0.51673526\",\n \"text\": \"public long getEnd() {\\n return offset + size;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac47a55360d5a8a5266b9752c6659ae0\",\n \"score\": \"0.51529723\",\n \"text\": \"private Position getEndPosition() {\\n\\t\\treturn this.endPosition;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf7ca15647bcaba37c63496b39d8b0a6\",\n \"score\": \"0.51520437\",\n \"text\": \"public long end() {\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11daca1ad5f9db24e2708fd5061bed57\",\n \"score\": \"0.51506627\",\n \"text\": \"@SuppressWarnings(\\\"deprecation\\\")\\n public String getEndHour() {\\n // Obtain hour\\n Integer numericHour;\\n numericHour = eventEnd.getHours();\\n return numericHour.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9339dbac553314413d9265b0b4823c09\",\n \"score\": \"0.5146321\",\n \"text\": \"public Node getEndNode(){\\r\\n\\t\\treturn endNode;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80e51bace9c78c055937ebb8ed78360c\",\n \"score\": \"0.5142762\",\n \"text\": \"public void setEndBitUom2(String value) {\\n setAttributeInternal(ENDBITUOM2, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8815db670798a63f49106c03fc70a7aa\",\n \"score\": \"0.5116423\",\n \"text\": \"public Function getEndFunction() {\\n return endFunction;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8914e37950adfa4d6d3b9cf36f78a0b6\",\n \"score\": \"0.51075643\",\n \"text\": \"public double getEndVertValue()\\r\\n {\\r\\n synchronized (monitor())\\r\\n {\\r\\n check_orphaned();\\r\\n org.apache.xmlbeans.SimpleValue target = null;\\r\\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENDVERTVALUE$10);\\r\\n if (target == null)\\r\\n {\\r\\n return 0.0;\\r\\n }\\r\\n return target.getDoubleValue();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22fa3bb0b4dd96c9fb5342cd64f127fb\",\n \"score\": \"0.51040125\",\n \"text\": \"public String getEndingString() {\\n\\t\\treturn this.endingString;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc157e0547a9b9a82e36ba22d5998197\",\n \"score\": \"0.51015085\",\n \"text\": \"public int getEndCycleNumber()\\r\\n {\\r\\n return alarmSetNumber;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d29f2013dd4bb143fe0228f27b28cc6f\",\n \"score\": \"0.50921816\",\n \"text\": \"public int get_end_time() {\\n return (int)getUIntElement(offsetBits_end_time(), 16);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27a1f3352c0f9924661fdbbcbd78ae31\",\n \"score\": \"0.50835335\",\n \"text\": \"public byte getEndWeek() {\\n return endWeek;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5264156b74aec226e87a0a908869ad3d\",\n \"score\": \"0.5059181\",\n \"text\": \"@JsonIgnore\\n public long getIntervalEnd()\\n {\\n return this.intervalEnd;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b82329c589ebed7e1d145d123fd3d3ad\",\n \"score\": \"0.50479424\",\n \"text\": \"public AssociationEnd getAssociationEnd();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"829329de30b97ce54e9be459e72ab9f6\",\n \"score\": \"0.50469303\",\n \"text\": \"public double getEndX() {\\n \\n return myEndX;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07fb6c9020d481af13f27191be798065\",\n \"score\": \"0.5043943\",\n \"text\": \"int getEndpointerTypeValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"946ce177b2050f27ef7599f9a79f859f\",\n \"score\": \"0.50313187\",\n \"text\": \"public boolean getEnd() {\\n\\t\\t\\treturn this.end;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"494e5b1af678c5fcf466a46c0c27e6b5\",\n \"score\": \"0.5025551\",\n \"text\": \"public Stop getSegmentEndLoc(){\\n return this.segmentEndLoc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c29899e6f94810d680124ce055295edf\",\n \"score\": \"0.5023084\",\n \"text\": \"public Time getEndRange() {\\r\\n\\t\\treturn rangeEnd;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aa1893c1d8d61d68a1176113567d171\",\n \"score\": \"0.5022882\",\n \"text\": \"public long getStructureEnd() {\\n\\t\\treturn structureStart + getStructureLength();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bd0890b97bb740f28114ce5b24b4228\",\n \"score\": \"0.50216544\",\n \"text\": \"public double getEndY () {\\n return mEnd.y;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6880ca701f857e550d73891f4a5b254e\",\n \"score\": \"0.5014647\",\n \"text\": \"public byte last()\\n\\t{\\n\\t\\treturn aData[nSize - 1];\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"682432829e70f830edbb117490c51248\",\n \"score\": \"0.5010652\",\n \"text\": \"public int getEndLine() {\\r\\n\\treturn this.endLine;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc15a46f9fd6f79c06a3ea89c7f4a8e5\",\n \"score\": \"0.50078183\",\n \"text\": \"public SimFlightDef setEndLng(double endLng) {\\n\\t\\tthis.endLng = endLng;\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc4b1042ecbf164b95bcb98f9784fce0\",\n \"score\": \"0.50062084\",\n \"text\": \"public BasicBlock getEndBlock() {\\n return endBlock;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"294315c1b8a7e60700cc1841964129e1\",\n \"score\": \"0.5005746\",\n \"text\": \"public String getEndText() {\\n\\n return this.endText;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09cc6d249d82bad59b97bfea7a4ce5d7\",\n \"score\": \"0.49985266\",\n \"text\": \"public double getEndX () {\\n return mEnd.x;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7c2ffd65f9491cad2f73802d378af4b\",\n \"score\": \"0.49907947\",\n \"text\": \"public String getEndStockOrgCode() {\\n\\t\\treturn endStockOrgCode;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dc6b2292d20664c522b86d0b7568aa8\",\n \"score\": \"0.4990593\",\n \"text\": \"@Nullable\\n public DynamicInstant getEndExclusive() {\\n if (mImpl.hasEndExclusive()) {\\n return DynamicBuilders.dynamicInstantFromProto(mImpl.getEndExclusive());\\n } else {\\n return null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a440b63cad4b35eefecfc8cedd7bd7e1\",\n \"score\": \"0.49902648\",\n \"text\": \"public double getEndY() {\\n \\n return myEndY;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"275fc435d8958a1491d0cab24c1ef347\",\n \"score\": \"0.49811792\",\n \"text\": \"public int getEndY() {\\n\\t\\treturn this.EndY;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0249ada60da752660ef83b2d4a466a5c\",\n \"score\": \"0.4979347\",\n \"text\": \"public float getEndAltFt() {\\n\\t\\treturn endAltFt;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77259482326ce547df7ed5b86e59d9c0\",\n \"score\": \"0.49782044\",\n \"text\": \"public int getEnd() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4b801dcf75307a4d65c5918260538a9\",\n \"score\": \"0.49743718\",\n \"text\": \"public int[][] getEndCell() {\\n return endCell;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":873,"cells":{"query_id":{"kind":"string","value":"a373671156d5f08bf5c0915fe6ffd62d"},"query":{"kind":"string","value":"Test of Pay method, of class RentalList."},"positive_passages":{"kind":"list like","value":[{"docid":"f1fd5773bb5934ac7b567e755fab6cc3","score":"0.797397","text":"@Test\n public static void testPay() {\n System.out.println(\"pay\");\n Rental currentRental = new Rental(0, 0, 30, 40, true);\n currentRental.setDateIn(new Date(2017, 4, 22));\n currentRental.setDateOut(new Date(2017, 4, 23));\n RentalList instance = new RentalList();\n int expResult = 30 * 24;\n long result = instance.pay(currentRental);\n\n if (expResult == result) {\n System.out.println(\"PASSED\");\n } else {\n System.out.println(\"FAILED\");\n System.out.println(instance.pay(currentRental));\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"f1fd5773bb5934ac7b567e755fab6cc3\",\n \"score\": \"0.797397\",\n \"text\": \"@Test\\n public static void testPay() {\\n System.out.println(\\\"pay\\\");\\n Rental currentRental = new Rental(0, 0, 30, 40, true);\\n currentRental.setDateIn(new Date(2017, 4, 22));\\n currentRental.setDateOut(new Date(2017, 4, 23));\\n RentalList instance = new RentalList();\\n int expResult = 30 * 24;\\n long result = instance.pay(currentRental);\\n\\n if (expResult == result) {\\n System.out.println(\\\"PASSED\\\");\\n } else {\\n System.out.println(\\\"FAILED\\\");\\n System.out.println(instance.pay(currentRental));\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1277ac385bc4d2b7392c12410c20a7f2","score":"0.681426","text":"public void pay() {\r\n\t\t\r\n\t}","title":""},{"docid":"ab5d21e51cce5b10ecfa85ff461e8a6b","score":"0.6757007","text":"@Test\r\n\tpublic final void testGetPayments() {\n\t}","title":""},{"docid":"44af87eef1c20fcab7e58cbaf4b4f1d1","score":"0.66996187","text":"public void testGetPay() {\n\t\tProgrammer local1 = new Programmer(\"Local Value\", \"L12345\", 1000.00);\r\n\t\tlocal1.setOvertimePay(500.00);\r\n\r\n\t\t//expect-1500\r\n\t\tassertEquals(500.00,local1.getOvertimePay());\r\n\t\tassertEquals(1500.00,local1.getPay());\r\n\t}","title":""},{"docid":"520864a9cb26cb2b4d4898127b39f776","score":"0.65094095","text":"public abstract void pay();","title":""},{"docid":"e102b886b9209f1bc9d9c66f6be781f5","score":"0.64722407","text":"public void payday ()\r\n {\r\n double amount;\r\n\r\n for (int count=0; count < staffList.length; count++)\r\n {\r\n System.out.println (staffList[count]);\r\n\r\n amount = staffList[count].pay(); // polymorphic\r\n\r\n if (amount == 0.0)\r\n System.out.println (\"Thanks!\");\r\n else\r\n System.out.println (\"Paid: \" + amount);\r\n\r\n System.out.println (\"-----------------------------------\");\r\n }\r\n }","title":""},{"docid":"d024aba74f656ec3dd8269d5e28f6610","score":"0.6389636","text":"@Test\r\n\tpublic final void testSetPayments() {\n\t}","title":""},{"docid":"65481bff6a6de901d7e222ca54a533d0","score":"0.6259155","text":"@org.junit.jupiter.api.Test\n public void testPaymentProcess() {\n System.out.println(\"paymentProcess\");\n int amountPaid = 0;\n Sale instance = new Sale();\n instance.paymentProcess(amountPaid);\n float change = amountPaid - instance.receipt.getTotalPrice();\n assertTrue(instance.receipt.getChange() == change, \"works\");\n }","title":""},{"docid":"17db34f2cc530d3496591d18a7705c1f","score":"0.62338066","text":"public void pay() {\n getDistributeMoney(DistributeMoneyOption.PAY).distributeMoney();\n setInstallmentPaid();\n UpdateLoan.update(loan);\n }","title":""},{"docid":"2c1a6303e62f00e15179f64062e6e8c0","score":"0.62255794","text":"void payBill(Bill bill);","title":""},{"docid":"00599d0fa0a426232b102e8278a1c93d","score":"0.6214251","text":"@Test \n public void shouldReturnCorrectReceiptWhenBuy() \n throws IllegalCoinException {\n ps.addPayment(5);\n ps.addPayment(10);\n ps.addPayment(25);\n Receipt receipt;\n receipt = ps.buy();\n assertNotNull( \"Receipt reference cannot be null\",\n receipt );\n assertEquals( \"Receipt value must be correct.\",\n 5+10+25, receipt.value() );\n }","title":""},{"docid":"0366078a2665d0877cba99f8100e497a","score":"0.6191889","text":"@Test \n public void shouldReturnReceiptWhenBuy100c() \n throws IllegalCoinException {\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(25);\n ps.addPayment(25);\n\n Receipt receipt;\n receipt = ps.buy();\n assertEquals((5*10+2*25) , receipt.value() );\n }","title":""},{"docid":"1a98224d07482f995abbe07e65de17c6","score":"0.6179177","text":"@Test\n public void payerTest() {\n // TODO: test payer\n }","title":""},{"docid":"b2b093cfa8e99baadc2b55b28aea8857","score":"0.61116403","text":"public abstract double calculatePay();","title":""},{"docid":"75c89d19e5d0d5ae33a9b658d29a4a25","score":"0.60552585","text":"@Override\n\tpublic void computePay() {\n\t\t\n\t}","title":""},{"docid":"93d377bfe67b2a5675a3c18fa675051a","score":"0.60455155","text":"public void payPrice() {\n if (!hasBorrowed) {\n if (this.getBudget() >= currentContract.getPrice()) {\n // Proceed with the payment\n this.setBudget(this.getBudget() - currentContract.getPrice());\n currentDistributor.setBudget(currentDistributor.getBudget()\n + currentContract.getPrice());\n } else {\n // The consumer has insufficient funds\n hasBorrowed = true;\n oldPayment = currentContract.getPrice();\n oldDistributor = currentDistributor;\n }\n } else {\n // The consumer has unpaid payments from last month\n long totalPayment = Math.round(Math.floor(Constants.RATE * oldPayment))\n + currentContract.getPrice();\n\n // Proceed with the payment\n if (currentDistributor.equals(oldDistributor)) {\n if (this.getBudget() >= totalPayment) {\n this.setBudget(this.getBudget() - totalPayment);\n currentDistributor.setBudget(currentDistributor.getBudget()\n + currentContract.getPrice());\n oldDistributor.setBudget(oldDistributor.getBudget()\n + Math.round(Math.floor(Constants.RATE * oldPayment)));\n\n // The consumer has paid all his debts\n oldDistributor = null;\n oldPayment = 0;\n hasBorrowed = false;\n } else {\n // The consumer has insufficient funds and as a result,\n // he will go bankrupt\n setIsBankrupt(true);\n }\n } else {\n if (this.getBudget() >= totalPayment - currentContract.getPrice()) {\n // The distributor can only pay\n this.setBudget(this.getBudget() - (totalPayment - currentContract.getPrice()));\n if (this.getBudget() >= currentContract.getPrice()) {\n this.setBudget(this.getBudget() - currentContract.getPrice());\n\n // The consumer has paid all his debts\n oldDistributor = null;\n oldPayment = 0;\n hasBorrowed = false;\n } else {\n\n // The distributor has insufficient funds\n // to proceed his current contract price\n oldDistributor = currentDistributor;\n oldPayment = currentContract.getPrice();\n }\n } else {\n // The consumer has insufficient funds and as a result,\n // he will go bankrupt\n setIsBankrupt(true);\n }\n }\n }\n\n // Update the current contract (the remaining contract months)\n currentContract.contractUpdate();\n }","title":""},{"docid":"da2e19ac812b1fb7fd8d7e355b4e3aa2","score":"0.60163546","text":"public void payTaxes() {\n\r\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"9787b65765e4d17eaa5cee0139fbacc9","score":"0.600664","text":"@Test\n public void testBuy(){\n b0.getInv().addItem(g0);\n\n assertNull(s0.getInv().getObj(\"COD\")); //check buyer's inventory before buying\n assertEquals(g0, b0.getInv().getObj(\"COD\")); //check seller's inventory before selling\n\n s0.buy(g0);\n assertNull(s0.getInv().getObj(\"COD\")); //check seller's inventory after selling\n\n assertEquals(1000.0, b0.getCredit()); //check buyer's credit after calling sell\n assertEquals(2000.0, s0.getCredit()); //check seller's credit after calling sell\n }","title":""},{"docid":"91a31680ca52f96745447ffe562a1d2a","score":"0.59977967","text":"public void pay() {\r\n System.out.println(this.getName() + \" is paid \" + (this.getRate() * this.getHours()));\r\n }","title":""},{"docid":"840183d7514123f97d4c51758339a761","score":"0.5993545","text":"@Override\n\tpublic double pay() {\n\t\treturn commission*(0.01*totalSales);\n\t}","title":""},{"docid":"ec84654d3c3815cab8e944a27a95c428","score":"0.59897","text":"@Test public void add_addsItemToReceipt() throws IllegalAccessException {\n itemList = new CsLinkedList();\n receipt = new Receipt(\"Target\" ,\"123\");\n itemToScan = new Item(5.50, \"pens\");\n customerCheckout = new CustomerCheckout(\"storeName\" ,\"storeNum\");\n customerCheckout.scanAnItem(itemToScan);\n //itemList.add(itemToScan);\n totalPrice += itemToScan.getPrice();\n totalItems++;\n\n assertEquals(\"pens\", customerCheckout.endTransaction());\n }","title":""},{"docid":"f0d6987b1d1bb48c8664d543302c75bb","score":"0.5985267","text":"@Test\n\tpublic void calculateTestCase12(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(6,11);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Management > 3 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\n\t\tSystem.out.println(\"The Actual Payment for Management > 3 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(18);\n\t\tSystem.out.println(\"The Expected Payment for Management > 3 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"7abaad0c37e2737a6a021fb87901892a","score":"0.5981217","text":"@Test\n public static void testFindRental() {\n System.out.println(\"findRental\");\n int rentalID = 3;\n RentalList instance = new RentalList();\n Rental result = instance.findRental(rentalID);\n System.out.println(result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }","title":""},{"docid":"e95df5618588c9c569ddd8283fab0e7b","score":"0.5975304","text":"@Test\n public void testCreatePaymentValid() {\n Product laptop = seedProduct(\"Dell Latitude 7390 2-in-1\", 6500, 17);\n Product handphone = seedProduct(\"iPhone XS\", 6000, 6);\n\n Order order = seedOrder();\n orderRepo.save(order);\n\n LineItem lineItem1 = seedLineItem(order, handphone, 2, 12000);\n lineItemRepo.save(lineItem1);\n\n LineItem lineItem2 = seedLineItem(order, laptop, 3, 19500); \n lineItemRepo.save(lineItem2);\n\n Long orderId = order.getId();\n \n // WHEN:\n // Payment is created for the order.\n Payment result = shoppingService.checkCreatePayment(orderId);\n\n // THEN:\n // Check if this is a valid payment.\n // Check if the payment is created with correct details - order_id/paid=true/refunded=false/amount=.\n assertNotEquals(null, result);\n assertNotEquals(null, result.getId());\n assertEquals(orderId, result.getOrder().getId());\n assertEquals(true, result.getPaid());\n assertEquals(false, result.getRefunded());\n assertEquals(31500, result.getAmount());\n }","title":""},{"docid":"0ebebb4cf5665082ac5c16f36f6c5a9f","score":"0.5975146","text":"@Test\n\tpublic void calculateTestCase14(){\n\t\tPeriod reducedPeriod1 = new Period(21,22);\n\t\tPeriod reducedPeriod2 = new Period(9,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Management < 3 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Management < 3 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(3);\n\t\tSystem.out.println(\"The Expected Payment for Management < 3 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"b907c3737f27d217478765a4f3f6b739","score":"0.5974541","text":"@Test\n public static int testCreateRental() {\n System.out.println(\"createRental\");\n int custID = 12;\n int carID = 10;\n int payment = 720;\n RentalList instance = new RentalList();\n instance.createRental(custID, carID, payment);\n instance.createRental(1, 1, 1);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n System.out.println(instance.findRental(1210).getRentalID());\n return instance.findRental(11).getRentalID();\n }","title":""},{"docid":"b4f0b5c878c9d8b675e7b8d922851ebc","score":"0.594758","text":"@Test\n\tpublic void calculateTestCase3(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(6,11);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Staff > 16 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\n\t\tSystem.out.println(\"The Actual Payment for Staff > 16 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(16);\n\t\tSystem.out.println(\"The Expected Payment for Staff > 16 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"f248c387e27e72d95daf26493df0dd19","score":"0.59242904","text":"@Test\n\tpublic void calculateTestCase4(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(7,11);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Staff == 16 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(7, 20));\n\t\tSystem.out.println(\"The Actual Payment for Staff == 16 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(16);\n\t\tSystem.out.println(\"The Expected Payment for Staff == 16 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"e6d7a953f69ad62e4558dadfb1a25112","score":"0.59135455","text":"public void calcPay()\r\n\t{\r\n\t\tsetPay(salary + bonus); // for a salary employee, pay is salary plus bonus. pay is private in Employee.\r\n\t\t\t\t\t\t// payRate has private access in Employee.\r\n\t}","title":""},{"docid":"37f29c44e3f08f01bad4bb8a14ada974","score":"0.5888933","text":"public void payBill() {\n /* keep the status payment of old contract */\n hasOverduePayment = !oldDistributionContract.wasPaid();\n\n /* compare budget with monthly payment to check the situation */\n if (budget >= computePayment()) {\n budget -= computePayment();\n distributionContract.setPaymentStatus(true);\n } else if (!hasOverduePayment) {\n distributionContract.setPaymentStatus(false);\n } else {\n if (budget >= computePayment()) {\n budget -= computePayment();\n distributionContract.setPaymentStatus(true);\n } else {\n isBankrupt = true;\n distributionContract = null;\n oldDistributionContract = null;\n }\n }\n }","title":""},{"docid":"981152cf17f9bc6b4d61eab264c05669","score":"0.58746576","text":"int createPayment(Payment payment, double balance) throws BusinessException;","title":""},{"docid":"9a79d6948bdec2f4cb04894a1e90931a","score":"0.587361","text":"@Test\n\tpublic void calculateTestCase13(){\n\t\tPeriod reducedPeriod1 = new Period(10,11);\n\t\tPeriod reducedPeriod2 = new Period(8,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(1.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Management == 3 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Management == 3 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(3);\n\t\tSystem.out.println(\"The Expected Payment for Management == 3 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"abc51ed0f030cf407b141d69206ab1e8","score":"0.58735794","text":"public void makePayment() {\n\t\tSystem.out.println(\"Amount Debited....\");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.println(\"Amount Credited....\");\n\t}","title":""},{"docid":"287f80be5386d844f83c94a47726c0be","score":"0.5862604","text":"@Override\n\tpublic void PayCash() {\n\t\t\n\t}","title":""},{"docid":"f9efed5fae3e831244b604bb86a216f6","score":"0.58571374","text":"public void pay(int recievedAmt) {\n sale.addPaymentObservers(observers);\n Receipt receipt = sale.doPay(recievedAmt, sale);\n printer.printReceipt(receipt);\n sale.updateExternalSystems(sale);\n \n }","title":""},{"docid":"a7aa769c977773e063baefe4e643800a","score":"0.5852423","text":"@Test\n\tpublic void calculateTestCase10(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(8,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Visitor == 8 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Visitor == 8 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(0);\n\t\tSystem.out.println(\"The Expected Payment for Visitor == 8 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"4e656b165202b444046ca52b717e43be","score":"0.58067006","text":"@Test\n public void testAddPaidTransactionDoesAffectBalance() {\n\n // add a paid credit (does count towards balance)\n int transactionId = accountBook.generateNewId();\n int value = 23;\n accountBook.addTransaction(new Credit(transactionId, LocalDate.now(), value, OperationStatus.PAID));\n\n // transaction was added\n assertEquals(transactionId, accountBook.getTransaction(transactionId).getBalanceId());\n\n // balance did change\n assertEquals(initialBalance + value, accountBook.getBalance(), 0.01);\n }","title":""},{"docid":"5f113b4ff6cd629c24be5b523dbc4e1c","score":"0.58048636","text":"@Test\n\tpublic void testMakePurchase() {\n\t\tvm.balance = 2.00;\n\t\tvm.addItem(vmi, \"A\");\n\t\tassertTrue(vm.makePurchase(\"A\"));\n\t\tvm.balance = 0.0;\n\t\tassertEquals(0.00,vm.balance,0.001);\n\t}","title":""},{"docid":"9c8514bcfe3a73cf960f65811722f2c9","score":"0.5800498","text":"@Test\n\tpublic void calculateTestCase5(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(7,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\n\t\tSystem.out.println(\"The Rate for Staff < 16 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Staff < 16 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(8);\n\t\tSystem.out.println(\"The Expected Payment for Staff < 16 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"11fc65386b0d38405a01f872b63bdeed","score":"0.57834226","text":"@Override\n\tpublic void autoPay() {\n\n\t}","title":""},{"docid":"ec5e13ec39588e226935107038209d72","score":"0.5780664","text":"@Test\n\tpublic void stateDCoverageOne(){\n\t\tassertTrue(accountServer.getAccount(\"SavingsTest2\").deposit(100));\n\t}","title":""},{"docid":"a5c8f03fdfbfef868c9ca573e783f48e","score":"0.57757527","text":"@Test\n public void testInsufficientBillAmounts() {\n for (int i=0; i < this.purchasePricesInsufficient.length; i++) {\n ArrayList expectedResult = this.expectedResultsInsufficient.get(i);\n\n // initialize purchase and payment\n double purchaseAmount = purchasePricesInsufficient[i];\n double paymentAmount = this.paymentAmountsInsufficient[i];\n\n // get bills and counts\n ArrayList bills = new ArrayList<>(Arrays.asList(0.01, 0.05, 0.1, 0.25, 0.5, 1.00, 5.00, 10.00, 20.00));\n ArrayList billCounts = billCountsInsufficient.get(i);\n int totalBills = totalBillsInsufficient[i];\n\n // set bills, counts, and total\n cashRegister.setBills(bills);\n cashRegister.setBillCounts(billCounts);\n cashRegister.setTotalBills(totalBills);\n\n // get change from transaction\n ArrayList returnedChange = cashRegister.calculateChange(purchaseAmount, paymentAmount);\n\n if (!returnedChange.equals(expectedResult)) {\n System.out.println(\"Results: \" + returnedChange);\n System.out.println(\"Expected: \" + expectedResult);\n }\n assert(returnedChange.equals(expectedResult));\n }\n }","title":""},{"docid":"e76455338388c061d336ad390c6af843","score":"0.57359135","text":"@Test\n public void testChangeStateToPaidDoesAffectBalance() {\n\n // add a closed credit transaction (does not count towards balance)\n int transactionId = accountBook.generateNewId();\n int value = 10;\n accountBook.addTransaction(new Credit(transactionId, LocalDate.now(), value, OperationStatus.CLOSED));\n\n // set status to paid\n accountBook.setTransactionStatus(transactionId, OperationStatus.PAID);\n\n // balance did change\n assertEquals(initialBalance + value, accountBook.getBalance(), 0.01);\n }","title":""},{"docid":"145c17dc48513cf2a5d181170e959008","score":"0.57328427","text":"public boolean billPay(String ToWhom,double Amount );","title":""},{"docid":"85a980a7f7336d36444f302098c060eb","score":"0.5726893","text":"@Test\n\t public void testGetRentPrice() {\n\t lease = new Lease();\n\t lease.setRentPrice(2400);\n\t Double expResult = 2400.00;\n\t Double result = lease.getRentPrice();\n\t assertEquals(expResult, result);\n\t }","title":""},{"docid":"bc17042122660fe0e8f6e3b155e7d2a9","score":"0.57213855","text":"@Test\r\n public void testDeposit()\r\n {\r\n System.out.println(\"deposit\");\r\n double amount = this.amount;\r\n Konto instance = new Konto();\r\n instance.deposit(amount);\r\n // TODO review the generated test code and remove the default call to fail.\r\n assertEquals(instance.getAmount(), 50+amount, 0.1);\r\n }","title":""},{"docid":"fcbcbec92153c971907e4f9cd9c7dbf0","score":"0.571751","text":"@Test\n\tpublic void calculateTestCase11(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(7,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Visitor < 8 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Visitor < 8 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(0);\n\t\tSystem.out.println(\"The Expected Payment for Visitor < 8 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"e213227f2cf452d9a0fe6795b905a484","score":"0.57133335","text":"public void payments(){\r\n\t\tdouble totalAmount = 0.0;\r\n\t\tfor(int i = 0; i reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Student < 5.5 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(7, 20));\n\t\tSystem.out.println(\"The Actual Payment for Student < 5.5 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(4);\n\t\tSystem.out.println(\"The Expected Payment for Student < 5.5 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"c8ae3162e1207de6c18e4bccd3284ee3","score":"0.5682207","text":"@Override\n\tpublic void PayCredit() {\n\t\t\n\t}","title":""},{"docid":"79fe9fc29c049f6bac8d4b0def044c22","score":"0.5678155","text":"@Test\r\n public void testGetBalances() {\r\n Bank bank = getBank();\r\n long ssnum1 = 123456789;\r\n long ssnum2 = 123456789 + 20;\r\n long ssnum3 = 123456789 + 10;\r\n String userName = \"diament\";\r\n String password = \"1234\";\r\n double amount = 1000d;\r\n //create 3 accounts\r\n try {\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum2, userName, password);\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum1, userName, password);\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum3, userName, password);\r\n bank.openSavingsAccount(ssnum1, userName, password);\r\n bank.openSavingsAccount(ssnum2, userName, password);\r\n bank.openSavingsAccount(ssnum3, userName, password);\r\n bank.depositCashIntoSavings(ssnum1, userName, password, amount);\r\n bank.depositCashIntoSavings(ssnum2, userName, password, amount * 2d);\r\n bank.depositCashIntoSavings(ssnum3, userName, password, amount * 3d);\r\n //withdraw some cash\r\n bank.withdrawCashFromSavings(ssnum3, userName, password, amount * 2d);\r\n //check total remaining in ssnum3\r\n Assert.assertEquals(\"Incorrect total savings cash in SS# \" + ssnum3, amount, bank.checkBalanceSavings(ssnum3, userName, password), 10);\r\n //check that the correct total remains in the bank\r\n Assert.assertEquals(\"Incorrect total savings cash in bank\", amount * 4d, bank.getTotalSavingsInBank(), 10);\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace();\r\n Assert.fail(\"getTotalSavingsInBank incorrectly failed\");\r\n }\r\n }","title":""},{"docid":"07c0a39a971736177b8c3f6c59cfb0d4","score":"0.56775314","text":"@Test\n\tpublic void calculateTestCase9(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(6,11);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Visitor > 8 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\n\t\tSystem.out.println(\"The Actual Payment for Visitor > 8 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(5);\n\t\tSystem.out.println(\"The Expected Payment for Visitor > 8 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"0727fe65376987d6474490936dc079ed","score":"0.566931","text":"@Test\n public void testGetTransaction() {\n assertEquals(order1, accountBook.getTransaction(order1.getBalanceId()));\n assertEquals(credit, accountBook.getTransaction(credit.getBalanceId()));\n }","title":""},{"docid":"d396e66fd901dbb0804860387ef1bf76","score":"0.5659339","text":"public double pay(){\r\n\t\tdouble payment = super.pay() + bonus;\r\n\t\t\r\n\t\tbonus = 0;\r\n\t\t\r\n\t\treturn payment;\r\n\t}","title":""},{"docid":"ffc4ab3da9c12d67151f148fdf9d83d9","score":"0.56592935","text":"Individual_Test(int ques, float cost, float paid) {\n bought_item = ques;\n amount_paid = paid;\n cost_item = cost;\n\n if (is_purchase) {\n correct_amount = cost_item;\n if (correct_amount <= 0) {\n throw new AssertionError(\"Correct amount must be >0\");\n }\n } else {\n correct_amount = paid - cost_item;\n if (paid <= 0)\n throw new AssertionError(\"paid should be > 0\");\n if (correct_amount < 0)\n throw new AssertionError(\"Change should be >=\");\n }\n\n\n }","title":""},{"docid":"3eba31667ab45c2070e766c81f81b68a","score":"0.5654632","text":"@Test\n\tpublic void calculateTestCase6(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(7,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Student > 5.5 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\t//Period reducedPeriod1 = new Period(10,12);\n\t\t//Period givenPeriod = new Period(8,20);\n\t\t//BigDecimal workingPayment = rate.calculate(new Period(8, 20));\n\t\t//BigDecimal actualPayment = rate;\n\t\tSystem.out.println(\"The Actual Payment for Student > 5.5 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(6);\n\t\tSystem.out.println(\"The Expected Payment for Student > 5.5 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"df49bb45668f2c1145fc88747d6595ad","score":"0.56465364","text":"public void payCharge()\r\n\t{\r\n\t\t\r\n\t}","title":""},{"docid":"3221852d0b608e84ff5d28696d1cbc3e","score":"0.56463337","text":"@Test\n\tpublic void Test_depositSomeMoney_ShouldSendtooMuchMoneyOnYouAccount() {\n\n\t\tBankAccountWithdrawalDepositInformation testItem = new BankAccountWithdrawalDepositInformation();\n\t\ttestItem.setAmount(150.00);\n\t\t\n\t\twhen(operationOnAccountServices.checkIfCurrentUserCanStillDepositToItsAccount(currentUser,testItem.getAmount())).thenReturn(false);\n\n\n\t\tModelAndView theView = operationController.depositSomeMoney(testItem, model, session);\n\n\t\tassertTrue(theView.getViewName().toString().equals(\"redirect:/userHome\") && theView.getModel().containsKey(\"tooMuchMoneyOnYouAccount\"));\n\n\t}","title":""},{"docid":"9f3ad1dfe20c766fec696f7d94d47ee3","score":"0.5639919","text":"@org.junit.Test\n public void testPayWithCreditAccount_checkTrue() {\n assertTrue(transactionManagerTest1.pay());\n }","title":""},{"docid":"02a7d6aed81fb45777f68a694a652d99","score":"0.56380767","text":"private void calculatePayments() {\n newCompany.processPayments();\n System.out.println(\"Calculation of employee payments is done.\");\n }","title":""},{"docid":"16b54985be726f5b1cb911a937bded4b","score":"0.5619023","text":"int addPayment(PaymentModel payment);","title":""},{"docid":"a9549dc7936e7357e9923f51af14d3f4","score":"0.5616786","text":"@Override\n public double calculatePay ()\n {\n double salaryPay = this.salary / 52;\n return salaryPay;\n }","title":""},{"docid":"8d705745365e7921bd500a67f69cf0ca","score":"0.56073195","text":"@Test\n public void amountOrderTest() {\n // TODO: test amountOrder\n }","title":""},{"docid":"89b50e3777d0aa214e48a23070ccd1e9","score":"0.560026","text":"public void makePayment(Money cashTendered) {\n payment = new Payment(cashTendered); \n }","title":""},{"docid":"12cb1d5dc68e1ce62790a91bdddab53b","score":"0.5591862","text":"public double makePayment(double payment);","title":""},{"docid":"77c482035f8ff06af4772ef27e959501","score":"0.55856264","text":"public void makePayment (double returnMoney)\n\t{\n\t\t\trunningBalance -= returnMoney;\t\n\t}","title":""},{"docid":"f6499cfc715251c3079f6b8cd4b2821b","score":"0.5570548","text":"@Test\n public final void testGetPayLevel() {\n PayLevel testPayLevel = new PayLevel();\n testWorkPackageBudget.setPayLevel(testPayLevel);\n assertEquals(testPayLevel, testWorkPackageBudget.getPayLevel());\n }","title":""},{"docid":"729cdb45f570e1a8fecf7b3accfc95ea","score":"0.5569039","text":"@Test\n public void shouldNotTakePaymentForAPreviouslyPaidOrder() throws Exception {\n Payment payment = payment().build();\n PaymentRepository.current().store(storedOrderIdentifier, payment);\n\n PaymentResource paymentResource = new PaymentResource(mockUriInfo);\n Response response = paymentResource.pay(new PaymentRepresentation(payment));\n assertEquals(403, response.getStatus());\n\n }","title":""},{"docid":"6d29ccaa9fc79489ff648bbf1af47242","score":"0.556822","text":"@Test\r\n\tpublic void creditTest()\r\n\t{\r\n\t\ttry {\r\n\t\t\tSystem.out.println(RateBLL.getRate(760));\r\n\t\t\tassertEquals(RateBLL.getRate(760), 5.75);\r\n\t\t} catch (RateException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"5931e8e67fc48207d3e6db2ccc216745","score":"0.55627257","text":"public String sell(ArrayList list, String symbol, int quantity, double price) {\n int x = isInList(symbol, list);\n DecimalFormat df = new DecimalFormat(\"####0.00\");\n if (x != -1) {\n if (quantity >= list.get(x).quantity) {\n double paymentRec1 = list.get(x).paymentRecieved();\n list.remove(list.get(x));\n return \"All your stocks were sold. Payment Recieved: $\" + df.format(paymentRec1) + \"\\n\";\n } else {\n double paymentRec = 0;\n paymentRec = list.get(x).computePayment(quantity, price);\n double updatedQuantity = (double) list.get(x).quantity - quantity;\n double denominator = updatedQuantity / list.get(x).quantity;\n double updatedBookVal = 0;\n updatedBookVal = list.get(x).getBookVal(denominator);\n String stockSymbol = list.get(x).symbol;\n String stockName = list.get(x).name;\n if (updatedQuantity != 0) {\n list.get(x).change(list, stockSymbol, stockName, (int) updatedQuantity, price, updatedBookVal);\n }\n list.remove(list.get(x));\n return \"Payment Recieved: $\" + df.format(paymentRec) + \"\\n\";\n }\n } else {\n return \"Sorry, that investment does not exist\\n\";\n }\n }","title":""},{"docid":"03238700abccec24607f22b15d7c045e","score":"0.5561909","text":"void updatePayments() {\n for (Staff staff : staffs)\n staff.pay();\n for (Instructor instructor : instructors)\n instructor.pay();\n for (TeachingAssistant ta : teachingAssistants)\n ta.pay();\n\n int total = staffs.size() + instructors.size() + teachingAssistants.size();\n System.out.println(total + \" payments have been processed.\");\n }","title":""},{"docid":"fe64f2598e72caec56db2cf141d749d2","score":"0.55548954","text":"public void payAll() {\n getDistributeMoney(DistributeMoneyOption.PAY_ALL).distributeMoney();\n setAllInstallmentsPaid();\n UpdateLoan.update(loan);\n }","title":""},{"docid":"1b18b25c899758ed3e8d532b20755bc6","score":"0.5554209","text":"public double calculatePay() {//start calculatePay\n\t\treturn annualSalary/12;\n\t}","title":""},{"docid":"3882fe3653df939899321fcca50e6b84","score":"0.5541274","text":"@Test\n @MediumTest\n @Feature({\"Payments\"})\n public void testPaymentAppCanPayWithModifiers()\n throws InterruptedException, ExecutionException, TimeoutException {\n mPaymentRequestTestRule.installPaymentApp(HAVE_INSTRUMENTS, DELAYED_RESPONSE);\n mPaymentRequestTestRule.triggerUIAndWait(mPaymentRequestTestRule.getReadyToPay());\n\n assertTrue(mPaymentRequestTestRule.getSelectedPaymentInstrumentLabel().startsWith(\n \"https://bobpay.com\"));\n assertEquals(\"USD $4.00\", mPaymentRequestTestRule.getOrderSummaryTotal());\n\n mPaymentRequestTestRule.clickAndWait(\n R.id.button_primary, mPaymentRequestTestRule.getDismissed());\n\n mPaymentRequestTestRule.expectResultContains(\n new String[] {\"https://bobpay.com\", \"\\\"transaction\\\"\", \"1337\"});\n }","title":""},{"docid":"4f023b9c8cb4c02423d369d348d0a319","score":"0.55315804","text":"@Test\n public void testToAllocate() {\n System.out.println(\"toAllocate\");\n String clientType = \"\";\n Integer qtd = null;\n List dayTypes = null;\n CarRental instance = new CarRental();\n String expResult = \"\";\n String result = instance.toAllocate(clientType, qtd, dayTypes);\n assertEquals(expResult, result);\n }","title":""},{"docid":"9ef143e7a34871c0286e15b009743171","score":"0.5529692","text":"@Test\r\n public void testGetNetWorth() {\r\n Bank bank = getBank();\r\n long ssnum1 = 123456789;\r\n long ssnum2 = 123456789 + 20;\r\n long ssnum3 = 123456789 + 10;\r\n String userName = \"diament\";\r\n String password = \"1234\";\r\n double amount = 1000d;\r\n //create 3 accounts\r\n try {\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum1, userName, password);\r\n bank.openSavingsAccount(ssnum1, userName, password);\r\n bank.depositCashIntoSavings(ssnum1, userName, password, amount);\r\n //do other things with other patrons\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum2, userName, password);\r\n bank.openSavingsAccount(ssnum2, userName, password);\r\n bank.depositCashIntoSavings(ssnum2, userName, password, amount * 2d);\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum3, userName, password);\r\n bank.openSavingsAccount(ssnum3, userName, password);\r\n //deposit more cash\r\n bank.depositCashIntoSavings(ssnum1, userName, password, amount * 3d);\r\n //withdraw some cash from a different patron\r\n bank.withdrawCashFromSavings(ssnum2, userName, password, amount * 2d);\r\n //check that the correct total remains\r\n Assert.assertEquals(\"Incorrect Net Worth for SS# \" + ssnum1, amount * 4d, bank.getNetWorth(ssnum1, userName, password), 10);\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace();\r\n Assert.fail(\"getTotalSavingsInBank incorrectly failed\");\r\n }\r\n }","title":""},{"docid":"d78ed0c46d3c209bca843e3d119d0721","score":"0.5527274","text":"@Test \n public void shouldClearAfterBuy() \n throws IllegalCoinException {\n ps.addPayment(25);\n ps.buy(); // I do not care about the result\n // verify that the display reads 0\n assertEquals( \"Display should have been cleared\",\n 0 , ps.readDisplay() );\n // verify that a following buy scenario behaves properly\n ps.addPayment(10); ps.addPayment(25);\n assertEquals( \"Next add payment should display correct time\",\n 10+25, ps.readDisplay() );\n Receipt r = ps.buy();\n assertEquals( \"Next buy should return valid receipt\",\n (10+25), r.value() );\n assertEquals( \"Again, display should be cleared\",\n 0 , ps.readDisplay() );\n }","title":""},{"docid":"79630bcc82877f35a4dbff21dfcc8792","score":"0.55108386","text":"@Test\r\n public void getTempRepayPlanListone() {\r\n\r\n }","title":""},{"docid":"efd0ba98c0265112c297a11deac224bb","score":"0.5510575","text":"Payroll createPayroll(Payroll payroll) throws Exception;","title":""},{"docid":"f7d44ed38c6d46716da56a088715d324","score":"0.5502061","text":"@org.junit.Test\n\tpublic void deposit() throws Exception{\n\t\t\n\t\tdouble balance = this.account.deposit(200, true);\n\t\tassertEquals(1200, balance,0);\n\t\tSystem.out.println(\"Execution Count \" + showWhenExecuted++);\n\t}","title":""},{"docid":"bae4e65f846f2749fe95cc6e0e2da0bf","score":"0.5496621","text":"@Test\n\tpublic void calculateTestCase8(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(8,10);\n\t\tArrayList reducedPeriods = new ArrayList();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList normalPeriods = new ArrayList();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(1.37), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Student == 5.5 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal payment = rate.calculate(new Period(8, 20));\n\t\tBigDecimal actualPayment;\n\t\tactualPayment = payment.setScale(1, RoundingMode.CEILING);\n\t\tSystem.out.println(\"The Actual Payment for Student == 5.5 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(5.5);\n\t\tSystem.out.println(\"The Expected Payment for Student == 5.5 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}","title":""},{"docid":"adf3b2d63710c06b621e1d37b5ecae11","score":"0.54949313","text":"public int getPayout(HandCards hand,int bet);","title":""},{"docid":"3660e39d3d12144b098149926c05ac02","score":"0.5493591","text":"public static void main(String[] args) {\n int amount = 1291;\n //int[] d = {1,7,10};\n int[] d = {1,2,5,8,10,14};\n pay(d,amount);\n }","title":""},{"docid":"1d75812acbc629ab030e8d7b50d0b900","score":"0.5492772","text":"private void payBill(int tableNum) {\n Bill bill = billList.get(tableNum); // Retrieve the bill object\n\n for (Integer key : bill.getDishList().keySet()) {\n dishList.remove(key); // Remove all dishes that were on this bill from this waiter's dishList.\n }\n\n Restaurant.addToPaidBills(bill);\n billList.remove(tableNum); // Remove the bill from the active bills list\n\n printToScreen(\"Table \" + tableNum + \" has paid!\");\n }","title":""},{"docid":"8632f371057761a27671ca02da7f3e1b","score":"0.5492768","text":"@Test\n public void testPurchaseGreaterThanPayment() {\n ArrayList expectedResult = new ArrayList<>();\n\n for (int i=0; i < this.purchasePricesGreater.length; i++) {\n double purchaseAmount = purchasePricesGreater[i];\n double paymentAmount = paymentAmountsGreater[i];\n\n ArrayList returnedChange = cashRegister.calculateChange(purchaseAmount, paymentAmount);\n\n if (!returnedChange.equals(expectedResult)) {\n System.out.println(\"Returned: \" + returnedChange);\n System.out.println(\"Expected: \" + expectedResult);\n }\n \n assert(returnedChange.equals(expectedResult));\n }\n }","title":""},{"docid":"a684bbc47615442e38ee9f5c764add16","score":"0.5492479","text":"public void setPayment(int payment) {\n this.payment = payment;\n }","title":""},{"docid":"b7dc989c47d9951b53bdf4dd8a6b690d","score":"0.5492285","text":"@Test\n public void calculatePrice(){\n setUpDiscountAdded();\n Subscribe sub = daoHolder.getSubscribeDao().find(\"Yuval\");\n Product p = daoHolder.getProductDao().find(data.getRealProduct(Data.VALID));\n assertEquals(store.getProducts().get(p.getName()).getName(), p.getName());\n sub.addProductToCart(store, p, 1);\n Cart cart = daoHolder.getCartDao().find(sub.getName());\n Map productAmount = cart.getBasket(store.getName()).getProducts();\n double expected = 0;\n double discount = 1;\n for(ProductInCart productInCart: productAmount.values()) {\n expected += productInCart.getAmount() * productInCart.getPrice() - discount;\n }\n double price = store.calculatePrice(productAmount);\n assertEquals(price, expected,0.001);\n }","title":""},{"docid":"abe44d9641b9372fee0882af424f2eea","score":"0.5491905","text":"@Test\n public void adapterPurchaseTest() throws Exception\n {\n DDRPrice ddrPrice = getTestDDRPrice( DDRTypeCategory.ADAPTER_PURCHASE, 10.0, \"Test\", UnitType.PART,\n AdapterType.EMAIL, null );\n assertThat( ddrPrice.getDdrTypeId(), Matchers.notNullValue() );\n String createAdapter = adapterAgent.createEmailAdapter( \"test@test.com\", \"test\", null, null, null, null, null,\n null, null, TEST_ACCOUNTID, null, null );\n //check if a ddr record is created\n Object ddrRecords = ddrRecordAgent.getDDRRecords(null, TEST_ACCOUNTID, null, null, null, null, null, null,\n null, null, null, null);\n TypeUtil> typesInjector = new TypeUtil>()\n {\n };\n Collection allDdrRecords = typesInjector.inject( ddrRecords );\n assertThat( allDdrRecords.size(), Matchers.is( 1 ) );\n DDRRecord ddrRecord = allDdrRecords.iterator().next();\n assertThat( ddrRecord.getAccountId(), Matchers.is( TEST_ACCOUNTID ) );\n assertThat( ddrRecord.getAdapterId(), Matchers.is( createAdapter ) );\n assertThat( DDRUtils.calculateDDRCost( ddrRecord ), Matchers.is( 10.0 ) );\n }","title":""},{"docid":"d7b90654eaf54bf9b1232b5696fd1a11","score":"0.54893833","text":"@Test\n public void testGetPayPeriods() {\n\tSystem.out.println(\"getPayPeriods\");\n\tlong expResult = 24L;\n\tSalariedEmployee instance = new SalariedEmployee(\"Joe C Doe\", \"123 45th Street\", \"Normal\", \"IL\", \"01/01/1969\", \"IT\", \"Peon\", \"Hi There\", 10000.00, expResult, 14);\n\tlong result = instance.getPayPeriods();\n\tassertEquals(expResult, result);\n }","title":""},{"docid":"1634a65dc8d3211c37d9b18183971c09","score":"0.5481489","text":"public void testC_FindPendingTrade(){\n User friend = new User(\"Enter Desired Username\", \"Enter Email\", \"Enter City\", \"Enter Phone Number\");\n friend.setUserCity(\"Hawii\");\n UserManager UM = new UserManager();\n TradeManager TM = new TradeManager();\n TM.getCurrent().clearTradelist();\n UM.setPendinglist(TM.getCurrent());\n assertTrue(UM.getTrader().getPendingTrades().isEmpty());\n assertNotNull(UM.getTrader().getPendingTrades());\n TradeList tradeList = new TradeList();\n ArrayList o_tradeitem = new ArrayList();\n ArrayList b_tradeitem = new ArrayList();\n Item item_1 = new Item(\"Call of Duty\", \"01-01-2000\", false, 5, 5, \"It's Okay\");\n Item item_2 = new Item(\"Call of Doom\", \"02-02-1000\", true, 2, 5, \"It's better than Okay\");\n o_tradeitem.add(item_1);\n b_tradeitem.add(item_2);\n // TM.createTrade(\"Owner\", \"Borrower\", o_tradeitem, b_tradeitem);\n // Trade trade = new Trade(\"Owner\", \"Borrower\", o_tradeitem, b_tradeitem);\n //assertTrue(TM.getTrade(0,1).equals(trade));\n }","title":""},{"docid":"c32d0325a5931f9146fdac8b486cc923","score":"0.54783577","text":"public interface PayPlanManager {\r\n static final String BEAN_NAME = \"payPlanManager\";\r\n static final int INITIAL_INSTALLMENT_PERIOD = 4;\r\n static final int MAX_INSTALLMENTS = 1500;\r\n\r\n public List getAllPaymentInvoices();\r\n\r\n // Plan Template\r\n List getPayPlanTemplates();\r\n\r\n List getPayPlanTemplates(String templateType);\r\n\r\n // Interest Rate\r\n List getInterestRates();\r\n\r\n void saveInterestRate(PayPlanInterestRate interestRate);\r\n\r\n void deleteInterestRate(PayPlanInterestRate interestRate);\r\n\r\n\r\n // Pay Plan\r\n PayPlan getPayPlan(String payPlanNumber);\r\n\r\n List getPayPlans(String payPlanNumber);\r\n\r\n List getActivePayPlans(String payPlanNumber, int maxResults);\r\n\r\n List getPayPlans();\r\n\r\n List getPayPlans(Long caseId);\r\n\r\n void savePayPlan(PayPlan payPlan);\r\n\r\n void assignPayPlanNumber(PayPlan payPlan);\r\n\r\n String getPayPlanNumberNextVersion(PayPlan payPlan);\r\n\r\n // Pay Plan Item\r\n List getPayPlanItems(Long responsiblePartyId);\r\n\r\n void deletePayPlanItem(PayPlanItem payPlanItem);\r\n\r\n // Fund transfer instrument\r\n void deleteFundTransferInstrument(FundTransferInstrument fundTransferInstrument);\r\n\r\n\r\n // Installment\r\n List getInstallments(Long payPlanId, InstallmentType installmentType);\r\n\r\n Installment getInstallment(String payPlanNumber);\r\n\r\n Installment getNextUnpaidInstallment(PayPlan payPlan);\r\n\r\n\r\n // Installment item\r\n List getOpenInstallmentItems();\r\n\r\n // Installment payment\r\n void updateInstallmentPayment(InstallmentPayment installmentPayment, PaymentInvoice paymentInvoice);\r\n\r\n InstallmentPayment createInstallmentPayment(Installment installment, PaymentInvoice paymentInvoice);\r\n\r\n PaymentInvoice getLastPaymentInvoice(Installment installment);\r\n\r\n double getBalance(Installment installment);\r\n\r\n boolean fullyPaid(Installment installment);\r\n\r\n List searchPayPlans(PayPlanSearchCriteria payPlanSearchCriteria);\r\n\r\n void delete(DomainObject domainObject);\r\n}","title":""},{"docid":"de490a0f08d625208740c398d5ac8c57","score":"0.54775155","text":"@Test\n public void testDeal() {\n DealInfo dealInfo = null;\n int allianceNodeID = -1;\n service.deal(dealInfo, allianceNodeID);\n\n allianceNodeID = 123;\n service.deal(dealInfo, allianceNodeID);\n\n // case2: dealInfo != null 无返回结果直接运行,由于本方法简单且会调用processDeal方法,因此本测试方法主要测试processDeal\n dealInfo = new DealInfo();\n\n List fromCoinList = new ArrayList<>();\n CoinInfo ci1 = new CoinInfo();\n ci1.setBalance(1);\n fromCoinList.add(ci1);\n CoinInfo ci2 = new CoinInfo();\n ci2.setBalance(2);\n fromCoinList.add(ci2);\n dealInfo.setFromCoinList(fromCoinList);\n\n dealInfo.setDealCost(1.2);\n\n\n service.deal(dealInfo, allianceNodeID);\n }","title":""},{"docid":"553308e622812b9a9a091e61bb7a437b","score":"0.54772365","text":"@Test\r\n\tpublic void testCalculateSalary() \r\n\t{\r\n\t\tassertEquals(510.6, sales1.calculateSalary(37), 0.01);\r\n\t\tassertEquals(517.5, sales1.calculateSalary(37.5), 0.01);\r\n\t\tassertEquals(531.3, sales1.calculateSalary(38), 0.01);\r\n\t\tassertEquals(546.96, sales1.calculateSalary(38.5674), 0.01);\r\n\t}","title":""},{"docid":"c673ba68623a175e09e66130d3ed187c","score":"0.547473","text":"public void setPayments(java.util.List payments) {\n this.payments = payments;\n }","title":""},{"docid":"41b665e7527c979ff104c9b4533a8a60","score":"0.5472561","text":"public Pay() {\n super();\n }","title":""},{"docid":"fc30187953521ccff24aae35eff03303","score":"0.54675364","text":"public void payTicket(int p){\n profit+=p;\n }","title":""},{"docid":"c435243cc8cc4071169662b35b376ff0","score":"0.5463504","text":"public void Payment(PaymentForTxn payment){\r\n\t\tdouble costPaid = 0.0;\r\n\t\tString query = \"insert into `payment_info` (`Payment_amount`,`Payment_txn_id`, `Payment_Client_Id`)\"\r\n\t\t\t\t+ \" values (\"+payment.getPaymentAmount()+\",\"+payment.getTxnId()+\",'\" +payment.getClientId()+ \"');\";\r\n\t\t\r\n\t\ttry{\r\n\t\t\tMySqlExecute.executeUpdateMySqlQuery(query);\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlog.error(\"Error in payment \"+e);\r\n\t\t}\r\n\t\t\r\n\t\tquery = \"select txn_cost_paid from transaction where txn_Id = \" + payment.getTxnId();\r\n\t\t\r\n\t\ttry{\r\n\t\t\tResultSet rs = MySqlExecute.executeMySqlQuery(query);\r\n\t\t\twhile(rs.next()){\r\n\t\t\t\tcostPaid = rs.getDouble(1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlog.error(\"Error while fetching cost paid for transaction\" + e);\r\n\t\t}\r\n\t\t\r\n\t\tcostPaid += payment.getPaymentAmount();\r\n\t\tquery = \"update `Transaction` set `Txn_Cost_Paid` = \" + costPaid + \"where `txn_id` = \"+payment.getTxnId() + \";\";\r\n\t\t\r\n\t\ttry{\r\n\t\t\tMySqlExecute.executeUpdateMySqlQuery(query);\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlog.error(\"Error in deducting cost paid in transaction after payment \"+e);\r\n\t\t}\r\n\t}","title":""},{"docid":"554dfa2b5d2ddf98a897742dd305249a","score":"0.5461387","text":"public void getPayStatus();","title":""}],"string":"[\n {\n \"docid\": \"1277ac385bc4d2b7392c12410c20a7f2\",\n \"score\": \"0.681426\",\n \"text\": \"public void pay() {\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab5d21e51cce5b10ecfa85ff461e8a6b\",\n \"score\": \"0.6757007\",\n \"text\": \"@Test\\r\\n\\tpublic final void testGetPayments() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44af87eef1c20fcab7e58cbaf4b4f1d1\",\n \"score\": \"0.66996187\",\n \"text\": \"public void testGetPay() {\\n\\t\\tProgrammer local1 = new Programmer(\\\"Local Value\\\", \\\"L12345\\\", 1000.00);\\r\\n\\t\\tlocal1.setOvertimePay(500.00);\\r\\n\\r\\n\\t\\t//expect-1500\\r\\n\\t\\tassertEquals(500.00,local1.getOvertimePay());\\r\\n\\t\\tassertEquals(1500.00,local1.getPay());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"520864a9cb26cb2b4d4898127b39f776\",\n \"score\": \"0.65094095\",\n \"text\": \"public abstract void pay();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e102b886b9209f1bc9d9c66f6be781f5\",\n \"score\": \"0.64722407\",\n \"text\": \"public void payday ()\\r\\n {\\r\\n double amount;\\r\\n\\r\\n for (int count=0; count < staffList.length; count++)\\r\\n {\\r\\n System.out.println (staffList[count]);\\r\\n\\r\\n amount = staffList[count].pay(); // polymorphic\\r\\n\\r\\n if (amount == 0.0)\\r\\n System.out.println (\\\"Thanks!\\\");\\r\\n else\\r\\n System.out.println (\\\"Paid: \\\" + amount);\\r\\n\\r\\n System.out.println (\\\"-----------------------------------\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d024aba74f656ec3dd8269d5e28f6610\",\n \"score\": \"0.6389636\",\n \"text\": \"@Test\\r\\n\\tpublic final void testSetPayments() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65481bff6a6de901d7e222ca54a533d0\",\n \"score\": \"0.6259155\",\n \"text\": \"@org.junit.jupiter.api.Test\\n public void testPaymentProcess() {\\n System.out.println(\\\"paymentProcess\\\");\\n int amountPaid = 0;\\n Sale instance = new Sale();\\n instance.paymentProcess(amountPaid);\\n float change = amountPaid - instance.receipt.getTotalPrice();\\n assertTrue(instance.receipt.getChange() == change, \\\"works\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17db34f2cc530d3496591d18a7705c1f\",\n \"score\": \"0.62338066\",\n \"text\": \"public void pay() {\\n getDistributeMoney(DistributeMoneyOption.PAY).distributeMoney();\\n setInstallmentPaid();\\n UpdateLoan.update(loan);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c1a6303e62f00e15179f64062e6e8c0\",\n \"score\": \"0.62255794\",\n \"text\": \"void payBill(Bill bill);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00599d0fa0a426232b102e8278a1c93d\",\n \"score\": \"0.6214251\",\n \"text\": \"@Test \\n public void shouldReturnCorrectReceiptWhenBuy() \\n throws IllegalCoinException {\\n ps.addPayment(5);\\n ps.addPayment(10);\\n ps.addPayment(25);\\n Receipt receipt;\\n receipt = ps.buy();\\n assertNotNull( \\\"Receipt reference cannot be null\\\",\\n receipt );\\n assertEquals( \\\"Receipt value must be correct.\\\",\\n 5+10+25, receipt.value() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0366078a2665d0877cba99f8100e497a\",\n \"score\": \"0.6191889\",\n \"text\": \"@Test \\n public void shouldReturnReceiptWhenBuy100c() \\n throws IllegalCoinException {\\n ps.addPayment(10);\\n ps.addPayment(10);\\n ps.addPayment(10);\\n ps.addPayment(10);\\n ps.addPayment(10);\\n ps.addPayment(25);\\n ps.addPayment(25);\\n\\n Receipt receipt;\\n receipt = ps.buy();\\n assertEquals((5*10+2*25) , receipt.value() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a98224d07482f995abbe07e65de17c6\",\n \"score\": \"0.6179177\",\n \"text\": \"@Test\\n public void payerTest() {\\n // TODO: test payer\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2b093cfa8e99baadc2b55b28aea8857\",\n \"score\": \"0.61116403\",\n \"text\": \"public abstract double calculatePay();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75c89d19e5d0d5ae33a9b658d29a4a25\",\n \"score\": \"0.60552585\",\n \"text\": \"@Override\\n\\tpublic void computePay() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93d377bfe67b2a5675a3c18fa675051a\",\n \"score\": \"0.60455155\",\n \"text\": \"public void payPrice() {\\n if (!hasBorrowed) {\\n if (this.getBudget() >= currentContract.getPrice()) {\\n // Proceed with the payment\\n this.setBudget(this.getBudget() - currentContract.getPrice());\\n currentDistributor.setBudget(currentDistributor.getBudget()\\n + currentContract.getPrice());\\n } else {\\n // The consumer has insufficient funds\\n hasBorrowed = true;\\n oldPayment = currentContract.getPrice();\\n oldDistributor = currentDistributor;\\n }\\n } else {\\n // The consumer has unpaid payments from last month\\n long totalPayment = Math.round(Math.floor(Constants.RATE * oldPayment))\\n + currentContract.getPrice();\\n\\n // Proceed with the payment\\n if (currentDistributor.equals(oldDistributor)) {\\n if (this.getBudget() >= totalPayment) {\\n this.setBudget(this.getBudget() - totalPayment);\\n currentDistributor.setBudget(currentDistributor.getBudget()\\n + currentContract.getPrice());\\n oldDistributor.setBudget(oldDistributor.getBudget()\\n + Math.round(Math.floor(Constants.RATE * oldPayment)));\\n\\n // The consumer has paid all his debts\\n oldDistributor = null;\\n oldPayment = 0;\\n hasBorrowed = false;\\n } else {\\n // The consumer has insufficient funds and as a result,\\n // he will go bankrupt\\n setIsBankrupt(true);\\n }\\n } else {\\n if (this.getBudget() >= totalPayment - currentContract.getPrice()) {\\n // The distributor can only pay\\n this.setBudget(this.getBudget() - (totalPayment - currentContract.getPrice()));\\n if (this.getBudget() >= currentContract.getPrice()) {\\n this.setBudget(this.getBudget() - currentContract.getPrice());\\n\\n // The consumer has paid all his debts\\n oldDistributor = null;\\n oldPayment = 0;\\n hasBorrowed = false;\\n } else {\\n\\n // The distributor has insufficient funds\\n // to proceed his current contract price\\n oldDistributor = currentDistributor;\\n oldPayment = currentContract.getPrice();\\n }\\n } else {\\n // The consumer has insufficient funds and as a result,\\n // he will go bankrupt\\n setIsBankrupt(true);\\n }\\n }\\n }\\n\\n // Update the current contract (the remaining contract months)\\n currentContract.contractUpdate();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da2e19ac812b1fb7fd8d7e355b4e3aa2\",\n \"score\": \"0.60163546\",\n \"text\": \"public void payTaxes() {\\n\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9787b65765e4d17eaa5cee0139fbacc9\",\n \"score\": \"0.600664\",\n \"text\": \"@Test\\n public void testBuy(){\\n b0.getInv().addItem(g0);\\n\\n assertNull(s0.getInv().getObj(\\\"COD\\\")); //check buyer's inventory before buying\\n assertEquals(g0, b0.getInv().getObj(\\\"COD\\\")); //check seller's inventory before selling\\n\\n s0.buy(g0);\\n assertNull(s0.getInv().getObj(\\\"COD\\\")); //check seller's inventory after selling\\n\\n assertEquals(1000.0, b0.getCredit()); //check buyer's credit after calling sell\\n assertEquals(2000.0, s0.getCredit()); //check seller's credit after calling sell\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91a31680ca52f96745447ffe562a1d2a\",\n \"score\": \"0.59977967\",\n \"text\": \"public void pay() {\\r\\n System.out.println(this.getName() + \\\" is paid \\\" + (this.getRate() * this.getHours()));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"840183d7514123f97d4c51758339a761\",\n \"score\": \"0.5993545\",\n \"text\": \"@Override\\n\\tpublic double pay() {\\n\\t\\treturn commission*(0.01*totalSales);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec84654d3c3815cab8e944a27a95c428\",\n \"score\": \"0.59897\",\n \"text\": \"@Test public void add_addsItemToReceipt() throws IllegalAccessException {\\n itemList = new CsLinkedList();\\n receipt = new Receipt(\\\"Target\\\" ,\\\"123\\\");\\n itemToScan = new Item(5.50, \\\"pens\\\");\\n customerCheckout = new CustomerCheckout(\\\"storeName\\\" ,\\\"storeNum\\\");\\n customerCheckout.scanAnItem(itemToScan);\\n //itemList.add(itemToScan);\\n totalPrice += itemToScan.getPrice();\\n totalItems++;\\n\\n assertEquals(\\\"pens\\\", customerCheckout.endTransaction());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0d6987b1d1bb48c8664d543302c75bb\",\n \"score\": \"0.5985267\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase12(){\\n\\t\\tPeriod reducedPeriod1 = new Period(11,15);\\n\\t\\tPeriod reducedPeriod2 = new Period(6,11);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Management > 3 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Management > 3 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(18);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Management > 3 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7abaad0c37e2737a6a021fb87901892a\",\n \"score\": \"0.5981217\",\n \"text\": \"@Test\\n public static void testFindRental() {\\n System.out.println(\\\"findRental\\\");\\n int rentalID = 3;\\n RentalList instance = new RentalList();\\n Rental result = instance.findRental(rentalID);\\n System.out.println(result);\\n // TODO review the generated test code and remove the default call to fail.\\n //fail(\\\"The test case is a prototype.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e95df5618588c9c569ddd8283fab0e7b\",\n \"score\": \"0.5975304\",\n \"text\": \"@Test\\n public void testCreatePaymentValid() {\\n Product laptop = seedProduct(\\\"Dell Latitude 7390 2-in-1\\\", 6500, 17);\\n Product handphone = seedProduct(\\\"iPhone XS\\\", 6000, 6);\\n\\n Order order = seedOrder();\\n orderRepo.save(order);\\n\\n LineItem lineItem1 = seedLineItem(order, handphone, 2, 12000);\\n lineItemRepo.save(lineItem1);\\n\\n LineItem lineItem2 = seedLineItem(order, laptop, 3, 19500); \\n lineItemRepo.save(lineItem2);\\n\\n Long orderId = order.getId();\\n \\n // WHEN:\\n // Payment is created for the order.\\n Payment result = shoppingService.checkCreatePayment(orderId);\\n\\n // THEN:\\n // Check if this is a valid payment.\\n // Check if the payment is created with correct details - order_id/paid=true/refunded=false/amount=.\\n assertNotEquals(null, result);\\n assertNotEquals(null, result.getId());\\n assertEquals(orderId, result.getOrder().getId());\\n assertEquals(true, result.getPaid());\\n assertEquals(false, result.getRefunded());\\n assertEquals(31500, result.getAmount());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ebebb4cf5665082ac5c16f36f6c5a9f\",\n \"score\": \"0.5975146\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase14(){\\n\\t\\tPeriod reducedPeriod1 = new Period(21,22);\\n\\t\\tPeriod reducedPeriod2 = new Period(9,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Management < 3 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Management < 3 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(3);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Management < 3 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b907c3737f27d217478765a4f3f6b739\",\n \"score\": \"0.5974541\",\n \"text\": \"@Test\\n public static int testCreateRental() {\\n System.out.println(\\\"createRental\\\");\\n int custID = 12;\\n int carID = 10;\\n int payment = 720;\\n RentalList instance = new RentalList();\\n instance.createRental(custID, carID, payment);\\n instance.createRental(1, 1, 1);\\n // TODO review the generated test code and remove the default call to fail.\\n //fail(\\\"The test case is a prototype.\\\");\\n System.out.println(instance.findRental(1210).getRentalID());\\n return instance.findRental(11).getRentalID();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4f0b5c878c9d8b675e7b8d922851ebc\",\n \"score\": \"0.594758\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase3(){\\n\\t\\tPeriod reducedPeriod1 = new Period(11,15);\\n\\t\\tPeriod reducedPeriod2 = new Period(6,11);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Staff > 16 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Staff > 16 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(16);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Staff > 16 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f248c387e27e72d95daf26493df0dd19\",\n \"score\": \"0.59242904\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase4(){\\n\\t\\tPeriod reducedPeriod1 = new Period(11,15);\\n\\t\\tPeriod reducedPeriod2 = new Period(7,11);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Staff == 16 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(7, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Staff == 16 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(16);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Staff == 16 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6d7a953f69ad62e4558dadfb1a25112\",\n \"score\": \"0.59135455\",\n \"text\": \"public void calcPay()\\r\\n\\t{\\r\\n\\t\\tsetPay(salary + bonus); // for a salary employee, pay is salary plus bonus. pay is private in Employee.\\r\\n\\t\\t\\t\\t\\t\\t// payRate has private access in Employee.\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37f29c44e3f08f01bad4bb8a14ada974\",\n \"score\": \"0.5888933\",\n \"text\": \"public void payBill() {\\n /* keep the status payment of old contract */\\n hasOverduePayment = !oldDistributionContract.wasPaid();\\n\\n /* compare budget with monthly payment to check the situation */\\n if (budget >= computePayment()) {\\n budget -= computePayment();\\n distributionContract.setPaymentStatus(true);\\n } else if (!hasOverduePayment) {\\n distributionContract.setPaymentStatus(false);\\n } else {\\n if (budget >= computePayment()) {\\n budget -= computePayment();\\n distributionContract.setPaymentStatus(true);\\n } else {\\n isBankrupt = true;\\n distributionContract = null;\\n oldDistributionContract = null;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"981152cf17f9bc6b4d61eab264c05669\",\n \"score\": \"0.58746576\",\n \"text\": \"int createPayment(Payment payment, double balance) throws BusinessException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a79d6948bdec2f4cb04894a1e90931a\",\n \"score\": \"0.587361\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase13(){\\n\\t\\tPeriod reducedPeriod1 = new Period(10,11);\\n\\t\\tPeriod reducedPeriod2 = new Period(8,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(1.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Management == 3 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Management == 3 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(3);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Management == 3 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abc51ed0f030cf407b141d69206ab1e8\",\n \"score\": \"0.58735794\",\n \"text\": \"public void makePayment() {\\n\\t\\tSystem.out.println(\\\"Amount Debited....\\\");\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Amount Credited....\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"287f80be5386d844f83c94a47726c0be\",\n \"score\": \"0.5862604\",\n \"text\": \"@Override\\n\\tpublic void PayCash() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9efed5fae3e831244b604bb86a216f6\",\n \"score\": \"0.58571374\",\n \"text\": \"public void pay(int recievedAmt) {\\n sale.addPaymentObservers(observers);\\n Receipt receipt = sale.doPay(recievedAmt, sale);\\n printer.printReceipt(receipt);\\n sale.updateExternalSystems(sale);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7aa769c977773e063baefe4e643800a\",\n \"score\": \"0.5852423\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase10(){\\n\\t\\tPeriod reducedPeriod1 = new Period(10,12);\\n\\t\\tPeriod reducedPeriod2 = new Period(8,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Visitor == 8 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Visitor == 8 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(0);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Visitor == 8 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e656b165202b444046ca52b717e43be\",\n \"score\": \"0.58067006\",\n \"text\": \"@Test\\n public void testAddPaidTransactionDoesAffectBalance() {\\n\\n // add a paid credit (does count towards balance)\\n int transactionId = accountBook.generateNewId();\\n int value = 23;\\n accountBook.addTransaction(new Credit(transactionId, LocalDate.now(), value, OperationStatus.PAID));\\n\\n // transaction was added\\n assertEquals(transactionId, accountBook.getTransaction(transactionId).getBalanceId());\\n\\n // balance did change\\n assertEquals(initialBalance + value, accountBook.getBalance(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f113b4ff6cd629c24be5b523dbc4e1c\",\n \"score\": \"0.58048636\",\n \"text\": \"@Test\\n\\tpublic void testMakePurchase() {\\n\\t\\tvm.balance = 2.00;\\n\\t\\tvm.addItem(vmi, \\\"A\\\");\\n\\t\\tassertTrue(vm.makePurchase(\\\"A\\\"));\\n\\t\\tvm.balance = 0.0;\\n\\t\\tassertEquals(0.00,vm.balance,0.001);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c8514bcfe3a73cf960f65811722f2c9\",\n \"score\": \"0.5800498\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase5(){\\n\\t\\tPeriod reducedPeriod1 = new Period(10,12);\\n\\t\\tPeriod reducedPeriod2 = new Period(7,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\n\\t\\tSystem.out.println(\\\"The Rate for Staff < 16 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Staff < 16 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(8);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Staff < 16 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11fc65386b0d38405a01f872b63bdeed\",\n \"score\": \"0.57834226\",\n \"text\": \"@Override\\n\\tpublic void autoPay() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec5e13ec39588e226935107038209d72\",\n \"score\": \"0.5780664\",\n \"text\": \"@Test\\n\\tpublic void stateDCoverageOne(){\\n\\t\\tassertTrue(accountServer.getAccount(\\\"SavingsTest2\\\").deposit(100));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5c8f03fdfbfef868c9ca573e783f48e\",\n \"score\": \"0.57757527\",\n \"text\": \"@Test\\n public void testInsufficientBillAmounts() {\\n for (int i=0; i < this.purchasePricesInsufficient.length; i++) {\\n ArrayList expectedResult = this.expectedResultsInsufficient.get(i);\\n\\n // initialize purchase and payment\\n double purchaseAmount = purchasePricesInsufficient[i];\\n double paymentAmount = this.paymentAmountsInsufficient[i];\\n\\n // get bills and counts\\n ArrayList bills = new ArrayList<>(Arrays.asList(0.01, 0.05, 0.1, 0.25, 0.5, 1.00, 5.00, 10.00, 20.00));\\n ArrayList billCounts = billCountsInsufficient.get(i);\\n int totalBills = totalBillsInsufficient[i];\\n\\n // set bills, counts, and total\\n cashRegister.setBills(bills);\\n cashRegister.setBillCounts(billCounts);\\n cashRegister.setTotalBills(totalBills);\\n\\n // get change from transaction\\n ArrayList returnedChange = cashRegister.calculateChange(purchaseAmount, paymentAmount);\\n\\n if (!returnedChange.equals(expectedResult)) {\\n System.out.println(\\\"Results: \\\" + returnedChange);\\n System.out.println(\\\"Expected: \\\" + expectedResult);\\n }\\n assert(returnedChange.equals(expectedResult));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e76455338388c061d336ad390c6af843\",\n \"score\": \"0.57359135\",\n \"text\": \"@Test\\n public void testChangeStateToPaidDoesAffectBalance() {\\n\\n // add a closed credit transaction (does not count towards balance)\\n int transactionId = accountBook.generateNewId();\\n int value = 10;\\n accountBook.addTransaction(new Credit(transactionId, LocalDate.now(), value, OperationStatus.CLOSED));\\n\\n // set status to paid\\n accountBook.setTransactionStatus(transactionId, OperationStatus.PAID);\\n\\n // balance did change\\n assertEquals(initialBalance + value, accountBook.getBalance(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"145c17dc48513cf2a5d181170e959008\",\n \"score\": \"0.57328427\",\n \"text\": \"public boolean billPay(String ToWhom,double Amount );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85a980a7f7336d36444f302098c060eb\",\n \"score\": \"0.5726893\",\n \"text\": \"@Test\\n\\t public void testGetRentPrice() {\\n\\t lease = new Lease();\\n\\t lease.setRentPrice(2400);\\n\\t Double expResult = 2400.00;\\n\\t Double result = lease.getRentPrice();\\n\\t assertEquals(expResult, result);\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc17042122660fe0e8f6e3b155e7d2a9\",\n \"score\": \"0.57213855\",\n \"text\": \"@Test\\r\\n public void testDeposit()\\r\\n {\\r\\n System.out.println(\\\"deposit\\\");\\r\\n double amount = this.amount;\\r\\n Konto instance = new Konto();\\r\\n instance.deposit(amount);\\r\\n // TODO review the generated test code and remove the default call to fail.\\r\\n assertEquals(instance.getAmount(), 50+amount, 0.1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcbcbec92153c971907e4f9cd9c7dbf0\",\n \"score\": \"0.571751\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase11(){\\n\\t\\tPeriod reducedPeriod1 = new Period(10,12);\\n\\t\\tPeriod reducedPeriod2 = new Period(7,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Visitor < 8 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Visitor < 8 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(0);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Visitor < 8 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e213227f2cf452d9a0fe6795b905a484\",\n \"score\": \"0.57133335\",\n \"text\": \"public void payments(){\\r\\n\\t\\tdouble totalAmount = 0.0;\\r\\n\\t\\tfor(int i = 0; i reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Student < 5.5 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(7, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Student < 5.5 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(4);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Student < 5.5 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8ae3162e1207de6c18e4bccd3284ee3\",\n \"score\": \"0.5682207\",\n \"text\": \"@Override\\n\\tpublic void PayCredit() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79fe9fc29c049f6bac8d4b0def044c22\",\n \"score\": \"0.5678155\",\n \"text\": \"@Test\\r\\n public void testGetBalances() {\\r\\n Bank bank = getBank();\\r\\n long ssnum1 = 123456789;\\r\\n long ssnum2 = 123456789 + 20;\\r\\n long ssnum3 = 123456789 + 10;\\r\\n String userName = \\\"diament\\\";\\r\\n String password = \\\"1234\\\";\\r\\n double amount = 1000d;\\r\\n //create 3 accounts\\r\\n try {\\r\\n bank.createNewPatron(\\\"Judah\\\", \\\"Diament\\\", ssnum2, userName, password);\\r\\n bank.createNewPatron(\\\"Judah\\\", \\\"Diament\\\", ssnum1, userName, password);\\r\\n bank.createNewPatron(\\\"Judah\\\", \\\"Diament\\\", ssnum3, userName, password);\\r\\n bank.openSavingsAccount(ssnum1, userName, password);\\r\\n bank.openSavingsAccount(ssnum2, userName, password);\\r\\n bank.openSavingsAccount(ssnum3, userName, password);\\r\\n bank.depositCashIntoSavings(ssnum1, userName, password, amount);\\r\\n bank.depositCashIntoSavings(ssnum2, userName, password, amount * 2d);\\r\\n bank.depositCashIntoSavings(ssnum3, userName, password, amount * 3d);\\r\\n //withdraw some cash\\r\\n bank.withdrawCashFromSavings(ssnum3, userName, password, amount * 2d);\\r\\n //check total remaining in ssnum3\\r\\n Assert.assertEquals(\\\"Incorrect total savings cash in SS# \\\" + ssnum3, amount, bank.checkBalanceSavings(ssnum3, userName, password), 10);\\r\\n //check that the correct total remains in the bank\\r\\n Assert.assertEquals(\\\"Incorrect total savings cash in bank\\\", amount * 4d, bank.getTotalSavingsInBank(), 10);\\r\\n }\\r\\n catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n Assert.fail(\\\"getTotalSavingsInBank incorrectly failed\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07c0a39a971736177b8c3f6c59cfb0d4\",\n \"score\": \"0.56775314\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase9(){\\n\\t\\tPeriod reducedPeriod1 = new Period(11,15);\\n\\t\\tPeriod reducedPeriod2 = new Period(6,11);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Visitor > 8 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Visitor > 8 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(5);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Visitor > 8 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0727fe65376987d6474490936dc079ed\",\n \"score\": \"0.566931\",\n \"text\": \"@Test\\n public void testGetTransaction() {\\n assertEquals(order1, accountBook.getTransaction(order1.getBalanceId()));\\n assertEquals(credit, accountBook.getTransaction(credit.getBalanceId()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d396e66fd901dbb0804860387ef1bf76\",\n \"score\": \"0.5659339\",\n \"text\": \"public double pay(){\\r\\n\\t\\tdouble payment = super.pay() + bonus;\\r\\n\\t\\t\\r\\n\\t\\tbonus = 0;\\r\\n\\t\\t\\r\\n\\t\\treturn payment;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffc4ab3da9c12d67151f148fdf9d83d9\",\n \"score\": \"0.56592935\",\n \"text\": \"Individual_Test(int ques, float cost, float paid) {\\n bought_item = ques;\\n amount_paid = paid;\\n cost_item = cost;\\n\\n if (is_purchase) {\\n correct_amount = cost_item;\\n if (correct_amount <= 0) {\\n throw new AssertionError(\\\"Correct amount must be >0\\\");\\n }\\n } else {\\n correct_amount = paid - cost_item;\\n if (paid <= 0)\\n throw new AssertionError(\\\"paid should be > 0\\\");\\n if (correct_amount < 0)\\n throw new AssertionError(\\\"Change should be >=\\\");\\n }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eba31667ab45c2070e766c81f81b68a\",\n \"score\": \"0.5654632\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase6(){\\n\\t\\tPeriod reducedPeriod1 = new Period(10,12);\\n\\t\\tPeriod reducedPeriod2 = new Period(7,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Student > 5.5 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\\n\\t\\t//Period reducedPeriod1 = new Period(10,12);\\n\\t\\t//Period givenPeriod = new Period(8,20);\\n\\t\\t//BigDecimal workingPayment = rate.calculate(new Period(8, 20));\\n\\t\\t//BigDecimal actualPayment = rate;\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Student > 5.5 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(6);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Student > 5.5 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df49bb45668f2c1145fc88747d6595ad\",\n \"score\": \"0.56465364\",\n \"text\": \"public void payCharge()\\r\\n\\t{\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3221852d0b608e84ff5d28696d1cbc3e\",\n \"score\": \"0.56463337\",\n \"text\": \"@Test\\n\\tpublic void Test_depositSomeMoney_ShouldSendtooMuchMoneyOnYouAccount() {\\n\\n\\t\\tBankAccountWithdrawalDepositInformation testItem = new BankAccountWithdrawalDepositInformation();\\n\\t\\ttestItem.setAmount(150.00);\\n\\t\\t\\n\\t\\twhen(operationOnAccountServices.checkIfCurrentUserCanStillDepositToItsAccount(currentUser,testItem.getAmount())).thenReturn(false);\\n\\n\\n\\t\\tModelAndView theView = operationController.depositSomeMoney(testItem, model, session);\\n\\n\\t\\tassertTrue(theView.getViewName().toString().equals(\\\"redirect:/userHome\\\") && theView.getModel().containsKey(\\\"tooMuchMoneyOnYouAccount\\\"));\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f3ad1dfe20c766fec696f7d94d47ee3\",\n \"score\": \"0.5639919\",\n \"text\": \"@org.junit.Test\\n public void testPayWithCreditAccount_checkTrue() {\\n assertTrue(transactionManagerTest1.pay());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02a7d6aed81fb45777f68a694a652d99\",\n \"score\": \"0.56380767\",\n \"text\": \"private void calculatePayments() {\\n newCompany.processPayments();\\n System.out.println(\\\"Calculation of employee payments is done.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16b54985be726f5b1cb911a937bded4b\",\n \"score\": \"0.5619023\",\n \"text\": \"int addPayment(PaymentModel payment);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9549dc7936e7357e9923f51af14d3f4\",\n \"score\": \"0.5616786\",\n \"text\": \"@Override\\n public double calculatePay ()\\n {\\n double salaryPay = this.salary / 52;\\n return salaryPay;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d705745365e7921bd500a67f69cf0ca\",\n \"score\": \"0.56073195\",\n \"text\": \"@Test\\n public void amountOrderTest() {\\n // TODO: test amountOrder\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89b50e3777d0aa214e48a23070ccd1e9\",\n \"score\": \"0.560026\",\n \"text\": \"public void makePayment(Money cashTendered) {\\n payment = new Payment(cashTendered); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12cb1d5dc68e1ce62790a91bdddab53b\",\n \"score\": \"0.5591862\",\n \"text\": \"public double makePayment(double payment);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77c482035f8ff06af4772ef27e959501\",\n \"score\": \"0.55856264\",\n \"text\": \"public void makePayment (double returnMoney)\\n\\t{\\n\\t\\t\\trunningBalance -= returnMoney;\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6499cfc715251c3079f6b8cd4b2821b\",\n \"score\": \"0.5570548\",\n \"text\": \"@Test\\n public final void testGetPayLevel() {\\n PayLevel testPayLevel = new PayLevel();\\n testWorkPackageBudget.setPayLevel(testPayLevel);\\n assertEquals(testPayLevel, testWorkPackageBudget.getPayLevel());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"729cdb45f570e1a8fecf7b3accfc95ea\",\n \"score\": \"0.5569039\",\n \"text\": \"@Test\\n public void shouldNotTakePaymentForAPreviouslyPaidOrder() throws Exception {\\n Payment payment = payment().build();\\n PaymentRepository.current().store(storedOrderIdentifier, payment);\\n\\n PaymentResource paymentResource = new PaymentResource(mockUriInfo);\\n Response response = paymentResource.pay(new PaymentRepresentation(payment));\\n assertEquals(403, response.getStatus());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d29ccaa9fc79489ff648bbf1af47242\",\n \"score\": \"0.556822\",\n \"text\": \"@Test\\r\\n\\tpublic void creditTest()\\r\\n\\t{\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tSystem.out.println(RateBLL.getRate(760));\\r\\n\\t\\t\\tassertEquals(RateBLL.getRate(760), 5.75);\\r\\n\\t\\t} catch (RateException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5931e8e67fc48207d3e6db2ccc216745\",\n \"score\": \"0.55627257\",\n \"text\": \"public String sell(ArrayList list, String symbol, int quantity, double price) {\\n int x = isInList(symbol, list);\\n DecimalFormat df = new DecimalFormat(\\\"####0.00\\\");\\n if (x != -1) {\\n if (quantity >= list.get(x).quantity) {\\n double paymentRec1 = list.get(x).paymentRecieved();\\n list.remove(list.get(x));\\n return \\\"All your stocks were sold. Payment Recieved: $\\\" + df.format(paymentRec1) + \\\"\\\\n\\\";\\n } else {\\n double paymentRec = 0;\\n paymentRec = list.get(x).computePayment(quantity, price);\\n double updatedQuantity = (double) list.get(x).quantity - quantity;\\n double denominator = updatedQuantity / list.get(x).quantity;\\n double updatedBookVal = 0;\\n updatedBookVal = list.get(x).getBookVal(denominator);\\n String stockSymbol = list.get(x).symbol;\\n String stockName = list.get(x).name;\\n if (updatedQuantity != 0) {\\n list.get(x).change(list, stockSymbol, stockName, (int) updatedQuantity, price, updatedBookVal);\\n }\\n list.remove(list.get(x));\\n return \\\"Payment Recieved: $\\\" + df.format(paymentRec) + \\\"\\\\n\\\";\\n }\\n } else {\\n return \\\"Sorry, that investment does not exist\\\\n\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03238700abccec24607f22b15d7c045e\",\n \"score\": \"0.5561909\",\n \"text\": \"void updatePayments() {\\n for (Staff staff : staffs)\\n staff.pay();\\n for (Instructor instructor : instructors)\\n instructor.pay();\\n for (TeachingAssistant ta : teachingAssistants)\\n ta.pay();\\n\\n int total = staffs.size() + instructors.size() + teachingAssistants.size();\\n System.out.println(total + \\\" payments have been processed.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe64f2598e72caec56db2cf141d749d2\",\n \"score\": \"0.55548954\",\n \"text\": \"public void payAll() {\\n getDistributeMoney(DistributeMoneyOption.PAY_ALL).distributeMoney();\\n setAllInstallmentsPaid();\\n UpdateLoan.update(loan);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b18b25c899758ed3e8d532b20755bc6\",\n \"score\": \"0.5554209\",\n \"text\": \"public double calculatePay() {//start calculatePay\\n\\t\\treturn annualSalary/12;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3882fe3653df939899321fcca50e6b84\",\n \"score\": \"0.5541274\",\n \"text\": \"@Test\\n @MediumTest\\n @Feature({\\\"Payments\\\"})\\n public void testPaymentAppCanPayWithModifiers()\\n throws InterruptedException, ExecutionException, TimeoutException {\\n mPaymentRequestTestRule.installPaymentApp(HAVE_INSTRUMENTS, DELAYED_RESPONSE);\\n mPaymentRequestTestRule.triggerUIAndWait(mPaymentRequestTestRule.getReadyToPay());\\n\\n assertTrue(mPaymentRequestTestRule.getSelectedPaymentInstrumentLabel().startsWith(\\n \\\"https://bobpay.com\\\"));\\n assertEquals(\\\"USD $4.00\\\", mPaymentRequestTestRule.getOrderSummaryTotal());\\n\\n mPaymentRequestTestRule.clickAndWait(\\n R.id.button_primary, mPaymentRequestTestRule.getDismissed());\\n\\n mPaymentRequestTestRule.expectResultContains(\\n new String[] {\\\"https://bobpay.com\\\", \\\"\\\\\\\"transaction\\\\\\\"\\\", \\\"1337\\\"});\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f023b9c8cb4c02423d369d348d0a319\",\n \"score\": \"0.55315804\",\n \"text\": \"@Test\\n public void testToAllocate() {\\n System.out.println(\\\"toAllocate\\\");\\n String clientType = \\\"\\\";\\n Integer qtd = null;\\n List dayTypes = null;\\n CarRental instance = new CarRental();\\n String expResult = \\\"\\\";\\n String result = instance.toAllocate(clientType, qtd, dayTypes);\\n assertEquals(expResult, result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ef143e7a34871c0286e15b009743171\",\n \"score\": \"0.5529692\",\n \"text\": \"@Test\\r\\n public void testGetNetWorth() {\\r\\n Bank bank = getBank();\\r\\n long ssnum1 = 123456789;\\r\\n long ssnum2 = 123456789 + 20;\\r\\n long ssnum3 = 123456789 + 10;\\r\\n String userName = \\\"diament\\\";\\r\\n String password = \\\"1234\\\";\\r\\n double amount = 1000d;\\r\\n //create 3 accounts\\r\\n try {\\r\\n bank.createNewPatron(\\\"Judah\\\", \\\"Diament\\\", ssnum1, userName, password);\\r\\n bank.openSavingsAccount(ssnum1, userName, password);\\r\\n bank.depositCashIntoSavings(ssnum1, userName, password, amount);\\r\\n //do other things with other patrons\\r\\n bank.createNewPatron(\\\"Judah\\\", \\\"Diament\\\", ssnum2, userName, password);\\r\\n bank.openSavingsAccount(ssnum2, userName, password);\\r\\n bank.depositCashIntoSavings(ssnum2, userName, password, amount * 2d);\\r\\n bank.createNewPatron(\\\"Judah\\\", \\\"Diament\\\", ssnum3, userName, password);\\r\\n bank.openSavingsAccount(ssnum3, userName, password);\\r\\n //deposit more cash\\r\\n bank.depositCashIntoSavings(ssnum1, userName, password, amount * 3d);\\r\\n //withdraw some cash from a different patron\\r\\n bank.withdrawCashFromSavings(ssnum2, userName, password, amount * 2d);\\r\\n //check that the correct total remains\\r\\n Assert.assertEquals(\\\"Incorrect Net Worth for SS# \\\" + ssnum1, amount * 4d, bank.getNetWorth(ssnum1, userName, password), 10);\\r\\n }\\r\\n catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n Assert.fail(\\\"getTotalSavingsInBank incorrectly failed\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d78ed0c46d3c209bca843e3d119d0721\",\n \"score\": \"0.5527274\",\n \"text\": \"@Test \\n public void shouldClearAfterBuy() \\n throws IllegalCoinException {\\n ps.addPayment(25);\\n ps.buy(); // I do not care about the result\\n // verify that the display reads 0\\n assertEquals( \\\"Display should have been cleared\\\",\\n 0 , ps.readDisplay() );\\n // verify that a following buy scenario behaves properly\\n ps.addPayment(10); ps.addPayment(25);\\n assertEquals( \\\"Next add payment should display correct time\\\",\\n 10+25, ps.readDisplay() );\\n Receipt r = ps.buy();\\n assertEquals( \\\"Next buy should return valid receipt\\\",\\n (10+25), r.value() );\\n assertEquals( \\\"Again, display should be cleared\\\",\\n 0 , ps.readDisplay() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79630bcc82877f35a4dbff21dfcc8792\",\n \"score\": \"0.55108386\",\n \"text\": \"@Test\\r\\n public void getTempRepayPlanListone() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efd0ba98c0265112c297a11deac224bb\",\n \"score\": \"0.5510575\",\n \"text\": \"Payroll createPayroll(Payroll payroll) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7d44ed38c6d46716da56a088715d324\",\n \"score\": \"0.5502061\",\n \"text\": \"@org.junit.Test\\n\\tpublic void deposit() throws Exception{\\n\\t\\t\\n\\t\\tdouble balance = this.account.deposit(200, true);\\n\\t\\tassertEquals(1200, balance,0);\\n\\t\\tSystem.out.println(\\\"Execution Count \\\" + showWhenExecuted++);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bae4e65f846f2749fe95cc6e0e2da0bf\",\n \"score\": \"0.5496621\",\n \"text\": \"@Test\\n\\tpublic void calculateTestCase8(){\\n\\t\\tPeriod reducedPeriod1 = new Period(10,12);\\n\\t\\tPeriod reducedPeriod2 = new Period(8,10);\\n\\t\\tArrayList reducedPeriods = new ArrayList();\\n\\n\\t\\treducedPeriods.add(reducedPeriod1);\\n\\t\\treducedPeriods.add(reducedPeriod2);\\n\\n\\t\\tPeriod normalPeriod1 = new Period(4,6);\\n\\t\\tPeriod normalPeriod2 = new Period(1,4);\\n\\t\\tArrayList normalPeriods = new ArrayList();\\n\\n\\t\\tnormalPeriods.add(normalPeriod1);\\n\\t\\tnormalPeriods.add(normalPeriod2);\\n\\n\\t\\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(1.37), reducedPeriods, normalPeriods);\\n\\t\\tSystem.out.println(\\\"The Rate for Student == 5.5 is \\\" + rate);\\n\\t\\tAssert.assertNotNull(rate);\\n\\n\\t\\tBigDecimal payment = rate.calculate(new Period(8, 20));\\n\\t\\tBigDecimal actualPayment;\\n\\t\\tactualPayment = payment.setScale(1, RoundingMode.CEILING);\\n\\t\\tSystem.out.println(\\\"The Actual Payment for Student == 5.5 is \\\" + actualPayment);\\n\\t\\tBigDecimal expectedPayment = new BigDecimal(5.5);\\n\\t\\tSystem.out.println(\\\"The Expected Payment for Student == 5.5 is \\\" + expectedPayment);\\n\\t\\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adf3b2d63710c06b621e1d37b5ecae11\",\n \"score\": \"0.54949313\",\n \"text\": \"public int getPayout(HandCards hand,int bet);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3660e39d3d12144b098149926c05ac02\",\n \"score\": \"0.5493591\",\n \"text\": \"public static void main(String[] args) {\\n int amount = 1291;\\n //int[] d = {1,7,10};\\n int[] d = {1,2,5,8,10,14};\\n pay(d,amount);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d75812acbc629ab030e8d7b50d0b900\",\n \"score\": \"0.5492772\",\n \"text\": \"private void payBill(int tableNum) {\\n Bill bill = billList.get(tableNum); // Retrieve the bill object\\n\\n for (Integer key : bill.getDishList().keySet()) {\\n dishList.remove(key); // Remove all dishes that were on this bill from this waiter's dishList.\\n }\\n\\n Restaurant.addToPaidBills(bill);\\n billList.remove(tableNum); // Remove the bill from the active bills list\\n\\n printToScreen(\\\"Table \\\" + tableNum + \\\" has paid!\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8632f371057761a27671ca02da7f3e1b\",\n \"score\": \"0.5492768\",\n \"text\": \"@Test\\n public void testPurchaseGreaterThanPayment() {\\n ArrayList expectedResult = new ArrayList<>();\\n\\n for (int i=0; i < this.purchasePricesGreater.length; i++) {\\n double purchaseAmount = purchasePricesGreater[i];\\n double paymentAmount = paymentAmountsGreater[i];\\n\\n ArrayList returnedChange = cashRegister.calculateChange(purchaseAmount, paymentAmount);\\n\\n if (!returnedChange.equals(expectedResult)) {\\n System.out.println(\\\"Returned: \\\" + returnedChange);\\n System.out.println(\\\"Expected: \\\" + expectedResult);\\n }\\n \\n assert(returnedChange.equals(expectedResult));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a684bbc47615442e38ee9f5c764add16\",\n \"score\": \"0.5492479\",\n \"text\": \"public void setPayment(int payment) {\\n this.payment = payment;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7dc989c47d9951b53bdf4dd8a6b690d\",\n \"score\": \"0.5492285\",\n \"text\": \"@Test\\n public void calculatePrice(){\\n setUpDiscountAdded();\\n Subscribe sub = daoHolder.getSubscribeDao().find(\\\"Yuval\\\");\\n Product p = daoHolder.getProductDao().find(data.getRealProduct(Data.VALID));\\n assertEquals(store.getProducts().get(p.getName()).getName(), p.getName());\\n sub.addProductToCart(store, p, 1);\\n Cart cart = daoHolder.getCartDao().find(sub.getName());\\n Map productAmount = cart.getBasket(store.getName()).getProducts();\\n double expected = 0;\\n double discount = 1;\\n for(ProductInCart productInCart: productAmount.values()) {\\n expected += productInCart.getAmount() * productInCart.getPrice() - discount;\\n }\\n double price = store.calculatePrice(productAmount);\\n assertEquals(price, expected,0.001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abe44d9641b9372fee0882af424f2eea\",\n \"score\": \"0.5491905\",\n \"text\": \"@Test\\n public void adapterPurchaseTest() throws Exception\\n {\\n DDRPrice ddrPrice = getTestDDRPrice( DDRTypeCategory.ADAPTER_PURCHASE, 10.0, \\\"Test\\\", UnitType.PART,\\n AdapterType.EMAIL, null );\\n assertThat( ddrPrice.getDdrTypeId(), Matchers.notNullValue() );\\n String createAdapter = adapterAgent.createEmailAdapter( \\\"test@test.com\\\", \\\"test\\\", null, null, null, null, null,\\n null, null, TEST_ACCOUNTID, null, null );\\n //check if a ddr record is created\\n Object ddrRecords = ddrRecordAgent.getDDRRecords(null, TEST_ACCOUNTID, null, null, null, null, null, null,\\n null, null, null, null);\\n TypeUtil> typesInjector = new TypeUtil>()\\n {\\n };\\n Collection allDdrRecords = typesInjector.inject( ddrRecords );\\n assertThat( allDdrRecords.size(), Matchers.is( 1 ) );\\n DDRRecord ddrRecord = allDdrRecords.iterator().next();\\n assertThat( ddrRecord.getAccountId(), Matchers.is( TEST_ACCOUNTID ) );\\n assertThat( ddrRecord.getAdapterId(), Matchers.is( createAdapter ) );\\n assertThat( DDRUtils.calculateDDRCost( ddrRecord ), Matchers.is( 10.0 ) );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7b90654eaf54bf9b1232b5696fd1a11\",\n \"score\": \"0.54893833\",\n \"text\": \"@Test\\n public void testGetPayPeriods() {\\n\\tSystem.out.println(\\\"getPayPeriods\\\");\\n\\tlong expResult = 24L;\\n\\tSalariedEmployee instance = new SalariedEmployee(\\\"Joe C Doe\\\", \\\"123 45th Street\\\", \\\"Normal\\\", \\\"IL\\\", \\\"01/01/1969\\\", \\\"IT\\\", \\\"Peon\\\", \\\"Hi There\\\", 10000.00, expResult, 14);\\n\\tlong result = instance.getPayPeriods();\\n\\tassertEquals(expResult, result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1634a65dc8d3211c37d9b18183971c09\",\n \"score\": \"0.5481489\",\n \"text\": \"public void testC_FindPendingTrade(){\\n User friend = new User(\\\"Enter Desired Username\\\", \\\"Enter Email\\\", \\\"Enter City\\\", \\\"Enter Phone Number\\\");\\n friend.setUserCity(\\\"Hawii\\\");\\n UserManager UM = new UserManager();\\n TradeManager TM = new TradeManager();\\n TM.getCurrent().clearTradelist();\\n UM.setPendinglist(TM.getCurrent());\\n assertTrue(UM.getTrader().getPendingTrades().isEmpty());\\n assertNotNull(UM.getTrader().getPendingTrades());\\n TradeList tradeList = new TradeList();\\n ArrayList o_tradeitem = new ArrayList();\\n ArrayList b_tradeitem = new ArrayList();\\n Item item_1 = new Item(\\\"Call of Duty\\\", \\\"01-01-2000\\\", false, 5, 5, \\\"It's Okay\\\");\\n Item item_2 = new Item(\\\"Call of Doom\\\", \\\"02-02-1000\\\", true, 2, 5, \\\"It's better than Okay\\\");\\n o_tradeitem.add(item_1);\\n b_tradeitem.add(item_2);\\n // TM.createTrade(\\\"Owner\\\", \\\"Borrower\\\", o_tradeitem, b_tradeitem);\\n // Trade trade = new Trade(\\\"Owner\\\", \\\"Borrower\\\", o_tradeitem, b_tradeitem);\\n //assertTrue(TM.getTrade(0,1).equals(trade));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c32d0325a5931f9146fdac8b486cc923\",\n \"score\": \"0.54783577\",\n \"text\": \"public interface PayPlanManager {\\r\\n static final String BEAN_NAME = \\\"payPlanManager\\\";\\r\\n static final int INITIAL_INSTALLMENT_PERIOD = 4;\\r\\n static final int MAX_INSTALLMENTS = 1500;\\r\\n\\r\\n public List getAllPaymentInvoices();\\r\\n\\r\\n // Plan Template\\r\\n List getPayPlanTemplates();\\r\\n\\r\\n List getPayPlanTemplates(String templateType);\\r\\n\\r\\n // Interest Rate\\r\\n List getInterestRates();\\r\\n\\r\\n void saveInterestRate(PayPlanInterestRate interestRate);\\r\\n\\r\\n void deleteInterestRate(PayPlanInterestRate interestRate);\\r\\n\\r\\n\\r\\n // Pay Plan\\r\\n PayPlan getPayPlan(String payPlanNumber);\\r\\n\\r\\n List getPayPlans(String payPlanNumber);\\r\\n\\r\\n List getActivePayPlans(String payPlanNumber, int maxResults);\\r\\n\\r\\n List getPayPlans();\\r\\n\\r\\n List getPayPlans(Long caseId);\\r\\n\\r\\n void savePayPlan(PayPlan payPlan);\\r\\n\\r\\n void assignPayPlanNumber(PayPlan payPlan);\\r\\n\\r\\n String getPayPlanNumberNextVersion(PayPlan payPlan);\\r\\n\\r\\n // Pay Plan Item\\r\\n List getPayPlanItems(Long responsiblePartyId);\\r\\n\\r\\n void deletePayPlanItem(PayPlanItem payPlanItem);\\r\\n\\r\\n // Fund transfer instrument\\r\\n void deleteFundTransferInstrument(FundTransferInstrument fundTransferInstrument);\\r\\n\\r\\n\\r\\n // Installment\\r\\n List getInstallments(Long payPlanId, InstallmentType installmentType);\\r\\n\\r\\n Installment getInstallment(String payPlanNumber);\\r\\n\\r\\n Installment getNextUnpaidInstallment(PayPlan payPlan);\\r\\n\\r\\n\\r\\n // Installment item\\r\\n List getOpenInstallmentItems();\\r\\n\\r\\n // Installment payment\\r\\n void updateInstallmentPayment(InstallmentPayment installmentPayment, PaymentInvoice paymentInvoice);\\r\\n\\r\\n InstallmentPayment createInstallmentPayment(Installment installment, PaymentInvoice paymentInvoice);\\r\\n\\r\\n PaymentInvoice getLastPaymentInvoice(Installment installment);\\r\\n\\r\\n double getBalance(Installment installment);\\r\\n\\r\\n boolean fullyPaid(Installment installment);\\r\\n\\r\\n List searchPayPlans(PayPlanSearchCriteria payPlanSearchCriteria);\\r\\n\\r\\n void delete(DomainObject domainObject);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de490a0f08d625208740c398d5ac8c57\",\n \"score\": \"0.54775155\",\n \"text\": \"@Test\\n public void testDeal() {\\n DealInfo dealInfo = null;\\n int allianceNodeID = -1;\\n service.deal(dealInfo, allianceNodeID);\\n\\n allianceNodeID = 123;\\n service.deal(dealInfo, allianceNodeID);\\n\\n // case2: dealInfo != null 无返回结果直接运行,由于本方法简单且会调用processDeal方法,因此本测试方法主要测试processDeal\\n dealInfo = new DealInfo();\\n\\n List fromCoinList = new ArrayList<>();\\n CoinInfo ci1 = new CoinInfo();\\n ci1.setBalance(1);\\n fromCoinList.add(ci1);\\n CoinInfo ci2 = new CoinInfo();\\n ci2.setBalance(2);\\n fromCoinList.add(ci2);\\n dealInfo.setFromCoinList(fromCoinList);\\n\\n dealInfo.setDealCost(1.2);\\n\\n\\n service.deal(dealInfo, allianceNodeID);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"553308e622812b9a9a091e61bb7a437b\",\n \"score\": \"0.54772365\",\n \"text\": \"@Test\\r\\n\\tpublic void testCalculateSalary() \\r\\n\\t{\\r\\n\\t\\tassertEquals(510.6, sales1.calculateSalary(37), 0.01);\\r\\n\\t\\tassertEquals(517.5, sales1.calculateSalary(37.5), 0.01);\\r\\n\\t\\tassertEquals(531.3, sales1.calculateSalary(38), 0.01);\\r\\n\\t\\tassertEquals(546.96, sales1.calculateSalary(38.5674), 0.01);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c673ba68623a175e09e66130d3ed187c\",\n \"score\": \"0.547473\",\n \"text\": \"public void setPayments(java.util.List payments) {\\n this.payments = payments;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41b665e7527c979ff104c9b4533a8a60\",\n \"score\": \"0.5472561\",\n \"text\": \"public Pay() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc30187953521ccff24aae35eff03303\",\n \"score\": \"0.54675364\",\n \"text\": \"public void payTicket(int p){\\n profit+=p;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c435243cc8cc4071169662b35b376ff0\",\n \"score\": \"0.5463504\",\n \"text\": \"public void Payment(PaymentForTxn payment){\\r\\n\\t\\tdouble costPaid = 0.0;\\r\\n\\t\\tString query = \\\"insert into `payment_info` (`Payment_amount`,`Payment_txn_id`, `Payment_Client_Id`)\\\"\\r\\n\\t\\t\\t\\t+ \\\" values (\\\"+payment.getPaymentAmount()+\\\",\\\"+payment.getTxnId()+\\\",'\\\" +payment.getClientId()+ \\\"');\\\";\\r\\n\\t\\t\\r\\n\\t\\ttry{\\r\\n\\t\\t\\tMySqlExecute.executeUpdateMySqlQuery(query);\\r\\n\\t\\t}\\r\\n\\t\\tcatch(Exception e){\\r\\n\\t\\t\\tlog.error(\\\"Error in payment \\\"+e);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tquery = \\\"select txn_cost_paid from transaction where txn_Id = \\\" + payment.getTxnId();\\r\\n\\t\\t\\r\\n\\t\\ttry{\\r\\n\\t\\t\\tResultSet rs = MySqlExecute.executeMySqlQuery(query);\\r\\n\\t\\t\\twhile(rs.next()){\\r\\n\\t\\t\\t\\tcostPaid = rs.getDouble(1);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tcatch(Exception e){\\r\\n\\t\\t\\tlog.error(\\\"Error while fetching cost paid for transaction\\\" + e);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tcostPaid += payment.getPaymentAmount();\\r\\n\\t\\tquery = \\\"update `Transaction` set `Txn_Cost_Paid` = \\\" + costPaid + \\\"where `txn_id` = \\\"+payment.getTxnId() + \\\";\\\";\\r\\n\\t\\t\\r\\n\\t\\ttry{\\r\\n\\t\\t\\tMySqlExecute.executeUpdateMySqlQuery(query);\\r\\n\\t\\t}\\r\\n\\t\\tcatch(Exception e){\\r\\n\\t\\t\\tlog.error(\\\"Error in deducting cost paid in transaction after payment \\\"+e);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"554dfa2b5d2ddf98a897742dd305249a\",\n \"score\": \"0.5461387\",\n \"text\": \"public void getPayStatus();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":874,"cells":{"query_id":{"kind":"string","value":"5f6aadbf28f0e5feafbadb9230f5a865"},"query":{"kind":"string","value":"Metodo para obtener una cadena con los datos de la obra"},"positive_passages":{"kind":"list like","value":[{"docid":"d6c999ff43565d2bea45563f3488114b","score":"0.0","text":"public String toString() {\n return autor + \"\\t\"+ titulo + \"\\t\"+ tema + \"\\t\" + anio;\n }","title":""}],"string":"[\n {\n \"docid\": \"d6c999ff43565d2bea45563f3488114b\",\n \"score\": \"0.0\",\n \"text\": \"public String toString() {\\n return autor + \\\"\\\\t\\\"+ titulo + \\\"\\\\t\\\"+ tema + \\\"\\\\t\\\" + anio;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"2f4a234051cee0136f5c7341a15dcd49","score":"0.6354505","text":"private String getCampo4() {\r\n String campo = \tgetNumero() + String.valueOf(boleto.getMoeda()) +\r\n boleto.getFatorVencimento() + boleto.getValorTitulo() + \"9\" + boleto.getCodCliente() +\r\n String.valueOf(boleto.getNossoNumero()) + boleto.getIOS() + boleto.getCarteira();\r\n \r\n return boleto.getDigitoCodigoBarras(campo);\r\n }","title":""},{"docid":"a2a7edb5e0e642f4310137eb51ccfcda","score":"0.63172144","text":"Object obtenerObjeto() \n\t { \n\t return dato; \n\t }","title":""},{"docid":"8e9011c7e9d5df92bc37da314cd71601","score":"0.6277951","text":"private String getCampo1() {\r\n String campo = getNumero() + String.valueOf(boleto.getMoeda()) + boleto.getCodCliente().substring(0,4);\r\n \r\n return boleto.getDigitoCampo(campo,2);\r\n }","title":""},{"docid":"ebd25349d16a250457345a1905bbfde1","score":"0.6202321","text":"public final ClasseAutovetturaTO getData() {\r\n return new ClasseAutovetturaTO(this);\r\n }","title":""},{"docid":"6465bbb6d282fd980c2c1d3ff536b615","score":"0.62009454","text":"Emprestimo getDiasDeAtraso();","title":""},{"docid":"faf733a1cb170b0f3d0de57b66190fa9","score":"0.61618614","text":"private String ObtenerCabecera(){\n int columns = jTable1.getColumnCount();\n String [] headers = new String[columns];\n for (int i = 0; i < columns; i++)\n {\n headers[i] = jTable1.getColumnName(i);\n }\n String header = Arrays.toString(headers);\n String head = header.substring(1,header.indexOf(\"]\"));\n return head;\n \n }","title":""},{"docid":"c6922120536900e3fbf649969209c078","score":"0.61600274","text":"public static String getDatosVehiculo (String placa, String motor, String NombreAutomovilista){\n System.out.println(\"Metodo getDatosVehiculo\");\r\n return null;\r\n }","title":""},{"docid":"e2894bf5f47db8539a4b687014e4b394","score":"0.615782","text":"public long getDataCompra() {\r\n return dataCompra;\r\n }","title":""},{"docid":"0bfe732c3f2dc7806ce9c530d10e98b6","score":"0.6137211","text":"@Override\n\tpublic Date getDataCadastro() {\n\t\treturn this.dataCadastro;\n\t}","title":""},{"docid":"8e693e4296e70f6108ade0fd1f67910e","score":"0.61297965","text":"public ArrayList obtenerDatos(){\n SQLiteDatabase sqlb = getReadableDatabase();\r\n\r\n //creo un cursor para que me haga la consulta\r\n Cursor cursor = sqlb.query(Constantes.TABLA_FORMULARIO,new String[] {Constantes._ID,Constantes.NOMBRE,Constantes.DNI,Constantes.CORREO,Constantes.NACIONALIDAD,Constantes.BOLETIN_NOTICIAS},null,null,null,null,Constantes._ID);\r\n\r\n //creo la array para meter los registros\r\n ArrayList registro = new ArrayList();\r\n\r\n //recorro la tabla\r\n while(cursor.moveToNext()){\r\n\r\n //añado los registros\r\n registro.add(new DatosRegistro(cursor.getInt(0),cursor.getString(1),cursor.getString(2),cursor.getString(3),cursor.getString(4),cursor.getString(5)));\r\n\r\n }\r\n\r\n cursor.close();\r\n sqlb.close();\r\n return registro;\r\n }","title":""},{"docid":"509d62bd6624d8ffeaa3b08a18115215","score":"0.6105526","text":"private ResultSet getComprobantes()\t\tthrows Exception{\n //CONSULTA PARA OBTENER LOS DATOS\n\t\tString sql =\n\t\t\"SELECT * \" +\n\t\t\"FROM \" +\n\t\t\"(\tSELECT i.AD_CLient_ID as CLIENTE,\" +\n\t\t\"\t \t\ti.AD_ORG_ID AS ORG,\" +\n\t\t\"\t\t\ti.DATEACCT as FECHA,\" +\n\t\t\"\t d.NAME as TIPO,\" +\n\t\t\"\t\t\ti.DocumentNo as NUMERO,\" +\n\t\t\"\t\t\tt.name as CONDICION,\" +\n\t\t\"\t i.C_CURRENCY_ID as MONEDA,\" +\n\t\t\"\t b.C_BPartner_ID as BP_ID,\" +\n\t\t\"\t b.VALUE as CLAVE,\" +\n\t\t\"\t b.name as NOMBRE,\" +\n\t\t\"\t\t\tCASE d.docbasetype\" +\n\t\t\"\t\t\t\tWHEN 'ARI' THEN i.grandtotal\" +\n\t\t\" WHEN 'API' THEN null\" +\n\t\t\" \t\t\t\tWHEN 'ARF' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tWHEN 'ARC' THEN null\" +\n\t\t\"\t\t\t\tWHEN 'APC' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tELSE 0\" +\n\t\t\" END as DEBE,\" +\n\t\t\"\t\t\tCASE d.docbasetype\" +\n\t\t\"\t\t\t\tWHEN 'ARI' THEN null\" +\n\t\t\"\t\t\t\tWHEN 'API' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tWHEN 'ARF' THEN null\" +\n\t\t\"\t\t\t\tWHEN 'ARC' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tWHEN 'APC' THEN null\" +\n\t\t\"\t\t\t\tELSE 0\" +\n\t\t\" END as HABER,\" +\n\t\t\" CASE\" +\n\t\t\"\t\t\t\tWHEN i.COTIZACION is null THEN 1\" +\n\t\t\"\t\t\t\tELSE i.COTIZACION\" +\n\t\t\" END as COTIZACION,\" +\n\t\t\" y.ISO_CODE as CODMONEDA,\" +\n\t\t\" CASE\" +\n\t\t\"\t\t\t\tWHEN bpl.C_BPartner_Location_ID is null THEN 0\" +\n\t\t\"\t\t\t\tELSE bpl.C_BPartner_Location_ID\" +\n\t\t\"\t\t\tEND as C_BPartner_Location_ID,\" +\n\t\t\"\t\t\tCASE\" +\n\t\t\"\t\t\t\tWHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\" +\n\t\t\"\t\t\t\tELSE TO_CHAR(bpl.name)\" +\n\t\t\"\t\t\tEND as C_BPartner_Location_Name, \" + \n \" i.DATEINVOICED as fecha_cbte\" +\n\n\t\t\"\tFROM C_Invoice i\" +\n\t\t\"\t\tINNER JOIN C_BPARTNER b ON(i.C_BPARTNER_ID = b.C_BPARTNER_ID)\" +\n\t\t\"\t\tINNER JOIN C_DocType d ON(i.C_DocType_ID = d.C_DocType_ID)\" +\n\t\t\"\t\tINNER JOIN C_PaymentTerm t ON(i.C_PaymentTerm_ID = t.C_PaymentTerm_ID)\" +\n\t\t\" \tINNER JOIN C_Currency y ON(y.C_Currency_ID = i.C_Currency_ID)\" +\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n * Sacamos el Join con Location ya que C_Invoice tiene el C_BPartner_Location_ID\n * y podemos hacer directamente el Join con C_BPartner_Location\n *\n * Modificacion : LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\n *\n */\n\t//\t\"\t\tLEFT JOIN C_Location l ON (i.BILL_LOCATION_ID = l.C_Location_ID)\" +\n\n\t\t/* 05-05-2011 Camarzana Mariano\n\t\t * Se agrego a la sentencia\n\t\t * LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID\n\t\t * la restriccion bpl.c_bpartner_id = b.c_bpartner_id, debido a que en el caso\n\t\t * en que una misma direccion este asignada a dos socios\n\t\t *\n\t\t */\n\n\t\t\"\t\tLEFT JOIN C_BPartner_Location bpl ON (bpl.C_Location_ID = i.Bill_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\" +\n\n\t\t\tgetSqlWhere(\"i.ISSOTRX\",\"i.DATEACCT\",\"i.C_CURRENCY_ID\",\"i.DocStatus\",\"i.DateAcct\",\"t.netDays\") +\n\n\t\t\"\tUNION ALL \" +\n\t\t\"\t(\tSELECT p.AD_CLient_ID as CLIENTE,\" +\n\t\t\" p.AD_ORG_ID AS ORG,\" +\n\t\t\" p.DATEACCT as FECHA,\" +\n\t\t\" d.NAME as TIPO,\" +\n\t\t\" p.DOCUMENTNO as NUMERO,\" +\n\t\t\" null as CONDICION,\" +\n\t\t\" p.C_CURRENCY_ID as MONEDA,\" +\n\t\t\" b.C_BPartner_ID as BP_ID,\" +\n\t\t\" b.VALUE as CLAVE,\" +\n\t\t\" b.name as NOMBRE,\" +\n\t\t\" CASE d.docbasetype\" +\n\t\t\"\t WHEN 'ARR' THEN null\" +\n\t\t\" WHEN 'APP' THEN -al.AMOUNT\" +\n\t\t\" ELSE 0\" +\n\t\t\" END as DEBE,\" +\n\t\t\" CASE d.docbasetype\" +\n\t\t\"\t WHEN 'ARR' THEN al.AMOUNT\" +\n\t\t\" \t WHEN 'APP' THEN null\" +\n\t\t\" ELSE 0\" +\n\t\t\" END as HABER,\" +\n\t\t\" CASE\" +\n\t\t\" WHEN p.COTIZACION is null THEN 1\" +\n\t\t\" ELSE p.COTIZACION\" +\n\t\t\" END as COTIZACION,\" +\n\t\t\"\t y.ISO_CODE as CODMONEDA,\" +\n\t\t\" CASE\" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 0\" +\n\t\t\" ELSE bpl.C_BPartner_Location_ID\" +\n\t\t\" END as C_BPartner_Location_ID,\" +\n\t\t\" CASE\" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\" +\n\t\t\" ELSE TO_CHAR(bpl.name)\" +\n\t\t\" END as C_BPartner_Location_Name,\" +\n \" p.DATETRX as fecha_cbte \" +\n\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n *\n * Como la localizacion que se toma es la del pago, no debemos hacer el Join por localizacion con\n * la factura, ya que pueden tener localizaciones diferentes. Solo tomamos la localizacion del pago.\n * Es por esto que hacemos el Join con C_BPartner_Location a partir del C_Payment, que antes lo tenia\n * con el C_Location.\n *\n *\n */\n\n\t\t\"\t\tFROM C_Payment p\" +\n\n\t\t\"\t INNER JOIN C_DocType d ON(p.C_DocType_ID = d.C_DocType_ID)\" +\n\t\t\" \t\t INNER JOIN C_BPARTNER b ON(p.C_BPARTNER_ID = b.C_BPARTNER_ID)\" +\n\t\t\" INNER JOIN C_Currency y ON(y.C_Currency_ID = p.C_Currency_ID)\" +\n\t\t\" INNER JOIN C_AllocationLine al ON (al.C_Payment_ID = p.C_Payment_ID)\" +\n\t\t\" INNER JOIN C_Allocationhdr ah ON (ah.C_AllocationHdr_ID = al.C_AllocationHdr_ID)\" +\n\t//\t\" LEFT JOIN C_Invoice i ON (al.C_Invoice_ID = i.C_Invoice_ID)\" +\n\t//\t\" LEFT JOIN C_Location l ON (i.BILL_LOCATION_ID = l.C_Location_ID)\" +\n\n\t\t/* 05-05-2011 Camarzana Mariano\n\t\t * Se agrego a la sentencia\n\t\t * LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID\n\t\t * la restriccion bpl.c_bpartner_id = b.c_bpartner_id, debido a que en el caso\n\t\t * en que una misma direccion este asignada a dos socios\n\t\t *\n\t\t */\n\n\t\t\"\t\t LEFT JOIN C_BPartner_Location bpl ON (bpl.C_BPartner_Location_ID = p.C_BPartner_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\" +\n\n\t getSqlWhere(\"p.ISRECEIPT\",\"p.DATEACCT\",\"p.C_CURRENCY_ID\",\"p.DocStatus\",\"p.dateAcct\",\"0\") +\n\n /*\n * Zynnia 09/03/2012\n * Modificado de UNION a UNION ALL para que tome los registros duplicados en la\n * consulta ya que por las características de la misma puede darse que dos\n * facturas tengan mismo importe en un mismo pago y se duplica exactamente el\n * registro.\n *\n */\n\n\n\n\t \"\t\tUNION ALL \" +\n\t \"\t\t(\tSELECT t.AD_CLient_ID as CLIENTE,\" +\n\t \" t.AD_ORG_ID AS ORG,\" +\n\t \" t.DATEACCT as FECHA,\" +\n\t \" d.NAME as TIPO,\" +\n\t \" t.DOCUMENTNO as NUMERO,\" +\n\t \" null as CONDICION,\" +\n\t \" t.C_CURRENCY_ID as MONEDA,\" +\n\t \" b.C_BPartner_ID as BP_ID,\" +\n\t \" b.VALUE as CLAVE,\" +\n\t \" b.name as NOMBRE,\" +\n\t \" CASE d.docbasetype\" +\n\t \"\t WHEN 'ARR' THEN null\" +\n\t \" WHEN 'APP' THEN PAYMENTAVAILABLE(t.C_Payment_ID) * -1\" +\n\t \" ELSE 0\" +\n\t \" END as DEBE,\" +\n\t \" CASE d.docbasetype\" +\n\t \" WHEN 'ARR' THEN PAYMENTAVAILABLE(t.C_Payment_ID)\" +\n\t \" WHEN 'APP' THEN null\" +\n\t \"\t ELSE 0\" +\n\t \" END as HABER,\" +\n\t \" CASE\" +\n\t \" WHEN t.COTIZACION is null THEN 1\" +\n\t \" ELSE t.COTIZACION\" +\n\t \" END as COTIZACION,\" +\n\t \" y.ISO_CODE as CODMONEDA,\" +\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n *\n * Cambiamos lo que retorna en C_BPartner, ya que siempre va a tener una localizacion\n * el pago.\n *\n *\n */\n \" CASE \" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 0\" +\n\t\t\" ELSE bpl.C_BPartner_Location_ID\" +\n\t\t\" END as C_BPartner_Location_ID,\" +\n\t\t\" CASE\" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\" +\n\t\t\" ELSE TO_CHAR(bpl.name)\" +\n\t\t\" END as C_BPartner_Location_Name, \" +\n//\t \" 0 as C_BPartner_Location_ID,\" +\n//\t \" 'SIN ASIGNAR' as C_BPartner_Location_Name\" +\n \" t.DATETRX as fecha_cbte\" +\n\n\t \" FROM C_Payment t\" +\n\t \"\t INNER JOIN C_DocType d ON(t.C_DocType_ID = d.C_DocType_ID)\" +\n\t \"\t\t\t INNER JOIN C_BPARTNER b ON(t.C_BPARTNER_ID = b.C_BPARTNER_ID)\" +\n\t \" INNER JOIN C_Currency y ON(y.C_Currency_ID = t.C_Currency_ID)\" +\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n *\n * Agregamos el C_BPartner_Location, ya que no importa si no tiene una factura asignadada.\n * Un pago siempre tiene una direccion.\n *\n *\n */\n\n \" LEFT JOIN C_BPartner_Location bpl ON (bpl.C_BPartner_Location_ID = t.C_BPartner_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\" +\n\n\t getSqlWhere(\"t.ISRECEIPT\",\"t.DATEACCT\",\"t.C_CURRENCY_ID\",\"t.DocStatus\",\"t.dateAcct\",\"0\") +\n\t \" \tAND t.isAllocated = 'N' AND PAYMENTAVAILABLE(t.C_Payment_ID) <> 0\" +\n\n\t \" )\" +\n\t \" )\" +\n\t \") ORDER BY CLAVE,C_BPartner_Location_ID,FECHA\";\n\n System.out.println(sql);\n PreparedStatement pstmt = DB.prepareStatement(sql, get_TrxName());\n int paramIndex = 1;\n\n if (isSOTrx.booleanValue() == true)\n \tpstmt.setString(paramIndex, \"Y\");\n else\n \tpstmt.setString(paramIndex, \"N\");\n paramIndex++;\n\n if (fromDate!=null){\n pstmt.setTimestamp(paramIndex, fromDate);\n paramIndex++;\n }\n if (toDate!=null){\n pstmt.setTimestamp(paramIndex, toDate);\n paramIndex++;\n }\n if (fromBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\n \t\tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n if (toBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\n \tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n if (fromVenc!=null){\n pstmt.setTimestamp(paramIndex, fromVenc);\n paramIndex++;\n }\n \n if (toVenc!=null){\n pstmt.setTimestamp(paramIndex, toVenc);\n paramIndex++;\n }\n\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\n paramIndex++;\n\n if (isSOTrx.booleanValue() == true)\n \tpstmt.setString(paramIndex, \"Y\");\n else\n \tpstmt.setString(paramIndex, \"N\");\n paramIndex++;\n\n if (fromDate!=null){\n pstmt.setTimestamp(paramIndex, fromDate);\n paramIndex++;\n }\n if (toDate!=null){\n pstmt.setTimestamp(paramIndex, toDate);\n paramIndex++;\n }\n if (fromBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\n \t\tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n \n if (toBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\n \tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n \n if (fromVenc!=null){\n pstmt.setTimestamp(paramIndex, fromVenc);\n paramIndex++;\n }\n \n if (toVenc!=null){\n pstmt.setTimestamp(paramIndex, toVenc);\n paramIndex++;\n }\n\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\n paramIndex++;\n\n if (isSOTrx.booleanValue() == true)\n \tpstmt.setString(paramIndex, \"Y\");\n else\n \tpstmt.setString(paramIndex, \"N\");\n paramIndex++;\n\n if (fromDate!=null){\n pstmt.setTimestamp(paramIndex, fromDate);\n paramIndex++;\n }\n if (toDate!=null){\n pstmt.setTimestamp(paramIndex, toDate);\n paramIndex++;\n }\n if (fromBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\n \t\tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n if (toBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\n \tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n \n if (fromVenc!=null){\n pstmt.setTimestamp(paramIndex, fromVenc);\n paramIndex++;\n }\n \n if (toVenc!=null){\n pstmt.setTimestamp(paramIndex, toVenc);\n paramIndex++;\n }\n\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\n\n return pstmt.executeQuery();\n }","title":""},{"docid":"5e9204906c5d1ff8dfb2e7870522d086","score":"0.60914564","text":"private void buscarCompra() {\n Conexion cn = new Conexion();\n try {\n cn.conectar();\n ResultSet pedi = cn.consultar(\"SELECT * from compra\\n\"\n + \"where compra_id::varchar(255) LIKE '%\" + txtBuscar.getText() + \"%' and estado != 'ANULADO'\\n\"\n + \"ORDER BY compra_id desc\"); //order by ordena de menor a mayor, si se quiere de mayor a menor se le agrega desc al final\n Metodos.limpiarTabla(grillaBuscador);\n//\n// System.out.println(grillaBuscador.getColumnCount());\n// if (grillaBuscador.getColumnCount() > 8) {\n// grillaBuscador.getColumnModel().removeColumn(grillaBuscador.getColumnModel().getColumn(grillaBuscador.getColumnCount() - 1));\n// }\n if (pedi.isBeforeFirst()) {\n while (pedi.next()) {\n Metodos.cargarTabla(grillaBuscador, new Object[]{\n pedi.getString(\"compra_id\"),\n pedi.getString(\"nro_factura\"),\n pedi.getString(\"tipo\"),\n pedi.getString(\"comp_fecha\"),\n pedi.getString(\"cuotas\"),\n pedi.getString(\"sucur_id\"),\n pedi.getString(\"ord_id\"),\n pedi.getString(\"pro_id\"),\n pedi.getString(\"pro_id\"),\n pedi.getString(\"usu_id\"),\n pedi.getString(\"emp_id\")\n });\n }\n } else {\n\n JOptionPane.showMessageDialog(null, \"No hay registros en la base de datos\");\n }\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(clientes.class.getName()).log(Level.SEVERE, null, ex);\n JOptionPane.showMessageDialog(null, \"No se encuentra \" + ex.getMessage());\n } catch (SQLException ex) {\n Logger.getLogger(clientes.class.getName()).log(Level.SEVERE, null, ex);\n JOptionPane.showMessageDialog(null, ex.getMessage());\n }\n }","title":""},{"docid":"27523ec82ee3126b3ed0872036a5094c","score":"0.60787016","text":"public String getDatos() {\n\t\treturn \"El titulo es: \" + titulo + \" El autor es: \" + autor + \" El ISBN ES: \" + ISBN;\n\n\t}","title":""},{"docid":"d24d57a28ef8aeef6e1e90ccb76b80d0","score":"0.6069707","text":"public Tarifa recuperarTarifas(){\n try {\n this.conectarDB(); \n declaracionSegura = conexion.prepareStatement(\"SELECT* FROM Tarifa;\");\n resultado = declaracionSegura.executeQuery();\n while(resultado.next()){\n tarifa = new Tarifa(resultado.getDouble(\"TarifaOperacionGlobal\"), resultado.getDouble(\"PrecioLibraGlobal\"), resultado.getDouble(\"CuotaPriorizacionGlobal\"), resultado.getDouble(\"CuotaDestinoGlobal\"));\n }\n } \n catch (SQLException ex) {\n System.out.println(ex);\n }\n return tarifa;\n }","title":""},{"docid":"6ac412574c1e9af72cca04386f886df1","score":"0.60521144","text":"public Object [][] getDatos(){\n int registros = 0;\n //obtenemos la cantidad de registros existentes en la tabla\n try{ \n PreparedStatement pstm = con.getConnection().prepareStatement(\"SELECT count(1) as total FROM CONSULTA_MEDICA\"); \n try (ResultSet res = pstm.executeQuery()) {\n res.next();\n registros = res.getInt(\"total\");\n }\n }catch(SQLException e){\n System.out.println(e);\n }\n \n Object[][] data = new String[registros][3]; \n //realizamos la consulta sql y llenamos los datos en \"Object\"\n try{ \n PreparedStatement pstm = con.getConnection().prepareStatement(\"SELECT \" +\n \" FECHA_CONSULTA, DIAGNOSTICO, TRATAMIENTO \" +\n \" FROM CONSULTA_MEDICA \" ); // \" ORDER BY FECHA_CONSULTA \"\n try (ResultSet res = pstm.executeQuery()) {\n int i = 0;\n while(res.next()){\n String estFecha = res.getString(\"FECHA_CONSULTA\");\n String estDiagnostico = res.getString(\"DIAGNOSTICO\");\n String estTratamiento = res.getString(\"TRATAMIENTO\");\n data[i][0] = estFecha;\n data[i][1] = estDiagnostico; \n data[i][2] = estTratamiento;\n i++;\n \n }}\n }catch(SQLException e){\n System.out.println(e);\n }\n return data;\n \n }","title":""},{"docid":"39ec9a8668d702456f2365ab5e456a66","score":"0.60351515","text":"public final AgenziaTO getData() {\r\n return new AgenziaTO(this);\r\n }","title":""},{"docid":"3a35ae1b301297f010f92cf74e8faf5b","score":"0.6029856","text":"public void getObra() {\r\n System.out.println(\"PUBLICAÇÕES DO AUTOR\");\r\n for (int i = 0; i < Obra.size(); i++){\r\n System.out.println(\"\\t: \" + this.Obra.get(i).getTitulo());\r\n }\r\n }","title":""},{"docid":"31eacaab9e990bfb8c40eec517ae96bf","score":"0.6002146","text":"@Path(\"Orden\")\n\t@GET\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Platillo getOrdenes(){\n\t\tCliente aux=cheffS.getCola().getClientes().get(0);\n\t\tcheffS.getCola().getClientes().remove(0);\n\t\t\n\t\treturn cheffS.busquedaBinaria(cheffS.getPlat(),aux.getNombrePlatillo());\n\t}","title":""},{"docid":"f8de778a74eb2eac2029689e1ddc3bc3","score":"0.5998911","text":"private ArrayList getReciboLineaxTrans(Connection con, Recibo cab) throws ObteniendoReciboException, ConexionException {\r\n\t\t\r\n\t\tArrayList lst = new ArrayList();\r\n\t\r\n\t\ttry {\r\n\t\t\t\r\n\t \tConsultas clts = new Consultas();\r\n\t \tString query = clts.getReciboDetxTrans();\r\n\t \tPreparedStatement pstmt1 = con.prepareStatement(query);\r\n\t \t\r\n\t \tResultSet rs;\r\n\t \t\r\n\t \tpstmt1.setLong(1, cab.getNroTrans());\r\n\t\t\trs = pstmt1.executeQuery();\r\n\t\t\t\r\n\t\t\tReciboDetalle aux;\r\n\t\t\t\r\n\t\t\twhile(rs.next ()) {\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\taux = new ReciboDetalle();\r\n\t\t\t\t\r\n\t\t\t\t/*Cuenta ind es el del cabezal (en la linea solo tenemos la cuenta)*/\r\n\t\t\t\taux.setCodCuentaInd(cab.getCuenta().getCodCuenta());\r\n\t\t\t\t\r\n\t\t\t\t/*El titular es el del Cabezal*/\r\n\t\t\t\t\r\n\t\t\t\taux.setTitInfo(new TitularInfo(cab.getTitInfo().getCodigo(), cab.getTitInfo().getNombre()) );\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\taux.setCuenta(new CuentaInfo(rs.getString(\"cod_cuenta\"), rs.getString(\"nom_cuenta\")));\r\n\t\t\t\t\r\n\t\t\t\taux.setCodEmp(cab.getCodEmp());\r\n\t\t\t\taux.setCodDocum(rs.getString(\"cod_docum\"));\r\n\t\t\t\taux.setSerieDocum(rs.getString(\"serie_docum\"));\r\n\t\t\t\taux.setNroDocum(rs.getInt(\"nro_docum\"));\r\n\t\t\t\taux.setCodProceso(rs.getString(\"cod_proceso\"));\r\n\t\t\t\taux.setDescProceso(rs.getString(\"nom_proceso\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setRubroInfo(new RubroInfo(rs.getString(\"cod_rubro\"), rs.getString(\"nom_rubro\")));\r\n\t\t\t\t\r\n\t\t\t\taux.setFecDoc(rs.getTimestamp(\"fec_doc\"));\r\n\t\t\t\taux.setFecValor(rs.getTimestamp(\"fec_valor\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setMoneda(new MonedaInfo(rs.getString(\"cod_moneda\"), rs.getString(\"nom_moneda\"), rs.getString(\"simbolo\")));\r\n\t\t\t\taux.getMoneda().setNacional(rs.getBoolean(\"nacional\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpuestoInfo(new ImpuestoInfo(rs.getString(\"cod_impuesto\"), rs.getString(\"nom_impuesto\"), rs.getDouble(\"porcentaje\")));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpImpuMn(rs.getDouble(\"imp_impu_mn\"));\r\n\t\t\t\taux.setImpImpuMo(rs.getDouble(\"imp_impu_mo\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpSubMn(rs.getDouble(\"imp_sub_mn\"));\r\n\t\t\t\taux.setImpSubMo(rs.getDouble(\"imp_sub_mo\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpTotMn(rs.getDouble(\"imp_tot_mn\"));\r\n\t\t\t\taux.setImpTotMo(rs.getDouble(\"imp_tot_mo\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setTcMov(rs.getDouble(\"tc_mov\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setReferencia(rs.getString(\"referencia\"));\r\n\t\t\t\taux.setNroTrans(rs.getInt(\"nro_trans\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setUsuarioMod(rs.getString(\"usuario_mod\"));\r\n\t\t\t\taux.setFechaMod(rs.getTimestamp(\"fecha_mod\"));\r\n\t\t\t\taux.setOperacion(rs.getString(\"operacion\"));\r\n\t\t\t\taux.setLinea(rs.getInt(\"linea\"));\r\n\t\t\t\taux.setEstadoGasto(\"0\");\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tlst.add(aux);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\trs.close ();\r\n\t\t\tpstmt1.close ();\r\n \t}\t\r\n \t\r\n\t\tcatch (SQLException e) {\r\n\t\t\tthrow new ObteniendoReciboException();\r\n\t\t\t\r\n\t\t}\r\n \t\r\n \treturn lst;\r\n\t}","title":""},{"docid":"a3a573ec707bdf9817b894b9578044b3","score":"0.59750324","text":"public String getConsumCotaIndivizia(String ap, String luna, String an){\n String consum=\"0.0\";\n String sql=\" SELECT cotaIndivizia FROM \"+TABLE_NAME_Intretinere+\" where Nr_ap=\"+\"'\"+ap+\"'\"+\" and dataLuna=\"+\"'\"+luna+\"'\" +\" and dataAn=\"+\"'\"+an+\"'\";\n Cursor cursor=getReadableDatabase().rawQuery(sql,null);\n if(cursor.getCount()>0){\n cursor.moveToNext();\n consum=cursor.getString(0);\n }\n return consum;\n }","title":""},{"docid":"b3d94211b74b2e63b476dd819d868c64","score":"0.59685445","text":"private void llenar_celdas() {\n String data[] = new String[12];\n for (int i = 0; i < listac.size(); i++) {\n data[0] = listac.get(i).getId();\n data[1] = listac.get(i).getDni();\n data[2] = listac.get(i).getApellidos();\n data[3] = listac.get(i).getNombres();\n data[4] = listac.get(i).getEstado();\n data[5] = listac.get(i).getPeriodo();\n data[6] = listac.get(i).getFecha();\n data[7] = listac.get(i).getDescripcion();\n data[8] = listac.get(i).getPlan();\n data[9] = listac.get(i).getDeuda();\n data[11] = listac.get(i).getMonto();\n modelo.addRow(data);\n }\n }","title":""},{"docid":"5b2a25f40fa8c81e654c770b06957323","score":"0.5932301","text":"public ArrayList Datos_Cadete(String nombre){\r\n\t\t\tdatos_Cadetes=new ArrayList();\r\n\t\t\ttry{\r\n\t\t\t\tinstruccion = this.conexion.createStatement();\r\n\t\t\t\tconjuntoResultados = instruccion.executeQuery(\"SELECT * FROM cadetes WHERE nombre='\"+nombre+\"'\");\r\n\t\t\t\t\r\n\t\t\t\twhile(conjuntoResultados.next()){\r\n\t\t\t\t\tString[] datos_cadete = new String[6];\r\n\t\t\t\t\tdatos_cadete[0]=conjuntoResultados.getString(COD_ID);\r\n\t\t\t\t\tdatos_cadete[1]=conjuntoResultados.getString(COD_NOMBRE);\r\n\t\t\t\t\tdatos_cadete[2]=conjuntoResultados.getString(COD_APELLIDOS);\r\n\t\t\t\t\tdatos_cadete[3]=conjuntoResultados.getString(COD_EDAD);\r\n\t\t\t\t\tdatos_cadete[4]=conjuntoResultados.getString(COD_NACIONALIDAD);\r\n\t\t\t\t\tdatos_cadete[5]=conjuntoResultados.getString(COD_EQUIPO);\r\n\t\t\t\t\tdatos_Cadetes.add(datos_cadete);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcatch( SQLException excepcionSql ) \r\n\t\t\t{\r\n\t\t\t\texcepcionSql.printStackTrace();\r\n\t\t\t}\r\n\t\t\tfinally{\r\n\t\t\t\ttry{\r\n\t\t\t\t\tconjuntoResultados.close();\r\n\t\t\t\t\tinstruccion.close();\r\n\t\t\t\t}\r\n\t\t\t\tcatch( SQLException excepcionSql ) \r\n\t\t\t\t{\r\n\t\t\t\t\texcepcionSql.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn datos_Cadetes;\r\n\t\t}","title":""},{"docid":"8a96655ad9d5e68f2195205b0e084e79","score":"0.5931334","text":"private List getRitmoCardiacoBD() throws SQLException {\n\t\tList listaReturn = new ArrayList<>();\n\t\t\n\t\tfinal String query = \"select * from sensor_ritmo_cardiaco order by FECHA\";\n\t\tStatement statement;\n\t\tResultSet rs;\n\t\tconn = DriverManager.getConnection(myUrl, userBD, passBD);\n\t\tstatement = conn.createStatement();\n\t\trs = statement.executeQuery(query);\n\t\twhile (rs.next()) {\n\t\t\tRitmoCardiaco temporal = new RitmoCardiaco(rs.getString(\"DNI_PACIENTE\"), rs.getTimestamp(\"FECHA\"), rs.getInt(\"VALOR\"));\n\t\t\tlistaReturn.add(temporal);\n\t\t}\n\t\tconn.close();\n\t\tstatement.close();\n rs.close();\n \n\t\treturn listaReturn;\n\t}","title":""},{"docid":"5ff7d532fa197e981baaf6da799d1335","score":"0.59169775","text":"private String getData() {\n\t\tDateFormat formater = new SimpleDateFormat(\"dd/MM/yyyy\");\n\t\treturn formater.format(this.dataDePublicacao);\n\t}","title":""},{"docid":"23e901973c7781a870b748e9141fa7ec","score":"0.5904527","text":"@Override\n\tpublic Cuota mostrar() {\n\t\tLOG.info(\"Mostrar los datos de la cuota\");\n\t\treturn cuota;\n\t}","title":""},{"docid":"51d919038ae6c82fcfab4ad7fd1680cd","score":"0.58969975","text":"public String getAplicaConvenio()\r\n/* 188: */ {\r\n/* 189:346 */ return this.aplicaConvenio;\r\n/* 190: */ }","title":""},{"docid":"e646c79d25c5daf4e3188d0aa2f2ee9d","score":"0.58843553","text":"public void obtenerDias() {\r\n\t\tlong dias = FechasUtil.getInstancia().restarFechas(polizaBean.getVigenciaDesde(), polizaBean.getVigenciaHasta());\r\n\r\n\t\tpolizaBean.setDiasCobertura(Integer.parseInt(Long.toString(dias)));\r\n\r\n\t}","title":""},{"docid":"9527b97ce7fa2d4413f634b0737dfb99","score":"0.58818823","text":"public double getCreditosEscolhidos() {\n pessoa = docente;\n //List quad = disponibilidadeFacade.findByDocenteQuad(pessoa, quadrimestre);\n List quad = dispFacade.findByDocenteQuad(pessoa, quadrimestre);\n //Busca de oferta de disciplinas no quadrimestre\n List oferta = turmasFacade.findAllQuad(quadrimestre);\n //For para listar apenas as disciplinas planejadas pelo docente\n List planejados = new ArrayList<>();\n long id_o = 0;\n long id_d = 0;\n for(OfertaDisciplina o : oferta){\n /*for(Disponibilidade d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n planejados.add(o);\n }\n }*/\n for(Disp d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n planejados.add(o);\n }\n }\n }\n //Contagem de créditos\n int creditos=0;\n for(OfertaDisciplina o : planejados){\n /*for(Disponibilidade d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n if(d.getTp().equals(\"Teoria\")){\n creditos += o.getT();\n }\n else if(d.getTp().equals(\"Pratica\")){\n creditos += o.getP();\n }\n else{\n creditos += o.getP() + o.getT();\n }\n }\n }*/\n for(Disp d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n if(d.getTp().equals(\"Teoria\")){\n creditos += o.getT();\n }\n else if(d.getTp().equals(\"Pratica\")){\n creditos += o.getP();\n }\n else{\n creditos += o.getP() + o.getT();\n }\n }\n }\n }\n int total = creditos;\n \n return creditosEscolhidos = total;\n }","title":""},{"docid":"b6630647c9e83f9f4596377afab70171","score":"0.5878648","text":"private void llenarCabezales() {\n\t\tfor (int i = 1; i < datos.length; i++)\n\t\t\tdatos[i][0] = this.agencias[i - 1];\n\n\t\tfor (int i = 1; i < datos[0].length; i++)\n\t\t\tdatos[0][i] = this.actividades[i - 1];\n\n\t\tdatos[0][0] = \"Agencia\";\n\t}","title":""},{"docid":"563c9052ee546c844430ebab320aa4a6","score":"0.5877319","text":"String getContrasenia();","title":""},{"docid":"e44f97cf79e958fc96a0f69b304e59b3","score":"0.58757293","text":"public Nodo datos() {\n Nodo nodoraiz = new Nodo(\"A\");\n this.nodoraiz = nodoraiz;\n Nodo nodo = new Nodo(\"D\");\n Nodo nodo1 = new Nodo(\"F\");\n Nodo nodo2 = new Nodo(\"G\");\n Nodo nodo3 = new Nodo(\"J\");\n Nodo nodo4 = new Nodo(\"H\");\n Nodo nodo5 = new Nodo(\"C\");\n Nodo nodo6 = new Nodo(\"E\");\n Nodo nodo7 = new Nodo(\"K\");\n Nodo nodo8 = new Nodo(\"B\");\n Nodo nodo9 = new Nodo(\"Z\");\n Nodo nodo10 = new Nodo(\"W\");\n Nodo nodo11 = new Nodo(\"L\");\n nodoraiz.getNodos().add(nodo);\n nodoraiz.getNodos().add(nodo1);\n nodoraiz.getNodos().add(nodo2);\n nodoraiz.getAristas().add(new Arista(\"D\", 4));\n nodoraiz.getAristas().add(new Arista(\"F\", 5));\n nodoraiz.getAristas().add(new Arista(\"G\", 6));\n nodo.getPadre().add(nodoraiz);\n nodo1.getPadre().add(nodoraiz);\n nodo2.getPadre().add(nodoraiz);\n nodoraiz.setHeuristica(10);\n\n nodo.getNodos().add(nodo3);\n nodo.getNodos().add(nodo4);\n nodo.getAristas().add(new Arista(\"J\", 4));\n nodo.getAristas().add(new Arista(\"H\", 3));\n nodo4.getPadre().add(nodo);\n nodo3.getPadre().add(nodo);\n nodo.setHeuristica(10);\n\n nodo1.getNodos().add(nodo5);\n nodo1.getNodos().add(nodo6);\n nodo1.getAristas().add(new Arista(\"C\", 2));\n nodo1.getAristas().add(new Arista(\"E\", 3));\n nodo5.getPadre().add(nodo1);\n nodo6.getPadre().add(nodo1);\n nodo1.setHeuristica(20);\n\n nodo2.setHeuristica(30);\n\n nodo3.getNodos().add(nodo7);\n nodo3.getAristas().add(new Arista(\"K\", 6));\n nodo7.getPadre().add(nodo3);\n nodo3.setHeuristica(15);\n\n nodo7.getNodos().add(nodo11);\n nodo7.getAristas().add(new Arista(\"L\", 4));\n nodo11.getPadre().add(nodo7);\n nodo7.setHeuristica(6);\n\n nodo4.getNodos().add(nodo8);\n nodo4.getAristas().add(new Arista(\"B\", 2));\n nodo8.getPadre().add(nodo4);\n nodo4.setHeuristica(4);\n\n nodo6.getNodos().add(nodo9);\n nodo6.getNodos().add(nodo10);\n nodo6.getAristas().add(new Arista(\"Z\", 2));\n nodo6.getAristas().add(new Arista(\"W\", 3));\n nodo9.getPadre().add(nodo6);\n nodo10.getPadre().add(nodo6);\n nodo6.setHeuristica(5);\n\n nodo5.setHeuristica(10);\n nodo8.setHeuristica(4);\n nodo9.setHeuristica(6);\n nodo10.setHeuristica(0);\n nodo11.setHeuristica(3);\n return nodoraiz;\n }","title":""},{"docid":"c86bc079336be520e68c27ea87e1c159","score":"0.5870166","text":"@Override\r\n\tpublic void llenar_datos() {\n\t\t\r\n\t}","title":""},{"docid":"d2d4b8866737df870f0c1d4719da1a38","score":"0.58666986","text":"@Data(size=4, value=\"0061\")\n IString conhecimDepObrig() ;","title":""},{"docid":"9a3f38525779764d1135735906b3f923","score":"0.5866402","text":"public void cargartxtCarro() {\n\t\tString carros=\"\";\n\t\tfor (int i = 0; i < listaCarros.size(); i++) {\n\t\t\tcarros+=listaCarros.get(i).toString()+\"\\n\";\n\t\t}\n\t\ta.SobreescribirInformacion(RUTACARRO, carros);\n\t}","title":""},{"docid":"9a30bbce74fffb9469ac9f62281a1b81","score":"0.5864441","text":"public NodoDoble nodoCabeza(){\r\n return mat.getLd();\r\n }","title":""},{"docid":"6568c2693fa6e52c70b26f4dd992ef6b","score":"0.5837161","text":"public Aeronave getDados() {\n\t\tAeronave aero= new Aeronave();\n\t\tProprietarioDAO proprietarioDAO= new ProprietarioDAO();\n\t\tint idProp=proprietarioDAO.selecionarIdProprietarioByName((String)txtProprietario.getSelectedItem());\n\t\taero.setIdProprietario(idProp);\n\t\tTipoAeronaveDAO tipoAeronaveDAO= new TipoAeronaveDAO();\n\t\tint idTipoAeronave= tipoAeronaveDAO.selecionarId((String)txtEquipamento.getSelectedItem());\n\t\taero.setIdTipoAeronave(idTipoAeronave);\n\t\taero.setMatricula(txtMatricula.getText().toUpperCase());\n\t\taero.setTipoAsa((String)txtTipoDeAsa.getSelectedItem());\n\t\t\n\t\treturn aero;\n\t}","title":""},{"docid":"4eac9edf12cc1bf4b248800ce35246bd","score":"0.58084923","text":"public void obtenerOficinas() {\n try {\n setOficinas((List) genericDAOBean.findAllByColumn(MarOficinasRegistros.class, \"morEstado\", \"A\", true, \"morNombre asc\"));\n getOficinas().add(0, null);\n } catch (Exception e) {\n logger.error(\"Error cargando listas desplegables, causado por :\" + e, e);\n }\n }","title":""},{"docid":"f7921c43d02617d11db6c55aae1b5241","score":"0.58013076","text":"private FacturasDTO llenaCamposDto(){\n\t\tfactura = new FacturasDTO();\r\n\t\t//en las facturas emitidas no hay proveedor\r\n\t\tfactura.setProveedor(0);\r\n\t\tfactura.setBaseImpo(Double.valueOf(textBaseImponible.getText()));\r\n\t\tfactura.setDescuento(Double.valueOf(textDescuento.getText()));\r\n\t\tString dia = Integer.toString(textFecha.getCalendar().get(Calendar.DAY_OF_MONTH));\r\n\t\tif (textFecha.getCalendar().get(Calendar.DAY_OF_MONTH)<10) {\r\n\t\t\tdia = (\"0\"+dia);\r\n\t\t}\r\n\t\tString mes = Integer.toString(textFecha.getCalendar().get(Calendar.MONTH)+1);\r\n\t\tif (textFecha.getCalendar().get(Calendar.MONTH)+1<10) {\r\n\t\t\tmes = (\"0\"+mes);\r\n\t\t}\r\n\t\tString ano = Integer.toString(textFecha.getCalendar().get(Calendar.YEAR));\r\n\t\tString varFecha = (ano+mes+dia);\r\n\t\tfactura.setFecha(Integer.valueOf(varFecha));\r\n\t\t\r\n\t\tfactura.setIban(textIban.getText());\r\n\t\tfactura.setIdFactura(idFactura);\r\n\t\tfactura.setIrpf(Double.valueOf(textIrpf.getText()));\r\n\t\tfactura.setIva(Double.valueOf(textIva.getText()));\r\n\t\tfactura.setTasa(Double.valueOf(textTasa.getText()));\r\n\t\t\r\n\t\tdia = Integer.toString(textVencimiento.getCalendar().get(Calendar.DAY_OF_MONTH));\r\n\t\tif (textVencimiento.getCalendar().get(Calendar.DAY_OF_MONTH)<10) {\r\n\t\t\tdia = (\"0\"+dia);\r\n\t\t}\r\n\t\tmes = Integer.toString(textVencimiento.getCalendar().get(Calendar.MONTH)+1);\r\n\t\tif (textVencimiento.getCalendar().get(Calendar.MONTH)+1<10) {\r\n\t\t\tmes = (\"0\"+mes);\r\n\t\t}\r\n\t\tano = Integer.toString(textVencimiento.getCalendar().get(Calendar.YEAR));\r\n\t\tvarFecha = (ano+mes+dia);\r\n\t\tfactura.setVencimiento(Integer.valueOf(varFecha));\t\t\t\t\r\n\t\t\r\n\t\tString variable = (String) comboCliente.getSelectedItem().toString();\r\n\t\tfactura.setCliente(accClientes.buscaCliente(variable,sesionGlobal.getIdEmpresa()));\r\n\t\t\r\n\t\tvariable = (String) comboConcepto.getSelectedItem().toString();\r\n\t\tfactura.setConcepto(accConceptos.buscaConcepto(variable));\r\n\t\t\r\n\t\tvariable = (String) comboCoste.getSelectedItem().toString();\r\n\t\tfactura.setCoste(accCostes.buscaCoste(variable));\r\n\t\t\r\n\t\tfactura.setEmpresa(sesionGlobal.getIdEmpresa());\r\n\r\n\t\tvariable = (String) comboProyecto.getSelectedItem().toString();\r\n\t\tfactura.setProyecto(accProyecto.buscaProyecto(variable,sesionGlobal.getIdEmpresa()));\r\n\t\t\r\n\t\tfactura.setPagado(comboPagado.getSelectedItem().toString());\r\n\t\t\t\t\r\n\t\treturn factura;\r\n\t}","title":""},{"docid":"723a0d252736c15d9b46a92f8308bbc0","score":"0.57988316","text":"public Vector BuscarTodo() {\n Vector Lista = new Vector();\n try {\n DBManager dbm = new DBManager();\n Connection con = dbm.getConnection();\n if (con == null) {\n throw new NullPointerException(dbm.getError());\n }\n CallableStatement stm=con.prepareCall(\"{call sp_periodo_tt}\");\n ResultSet rs=stm.executeQuery();\n while (rs.next()) {\n Lista.addElement(\n\n new cPeriodo (\n rs.getInt(\"idPeriodo\"),\n rs.getInt(\"año\"), \n rs.getInt(\"mes\"),\n rs.getInt(\"semana\"),\n rs.getDate(\"fechaini\") ,\n rs.getDate(\"fechafin\") ,\n rs.getString(\"tema1\"),\n rs.getString(\"tema2\"),\n rs.getString(\"estado\")\n \n \n ));\n }\n rs.close();\n stm.close();\n dbm = null;\n } catch (Exception e) {\n System.out.println(\"Error:\" + e.getMessage());\n }\n return Lista;\n }","title":""},{"docid":"3ab8b38398ccbc24afd7751579a0c6a0","score":"0.5795989","text":"public Vector BuscarTodo3() {\n Vector Lista = new Vector();\n try {\n DBManager dbm = new DBManager();\n Connection con = dbm.getConnection();\n if (con == null) {\n throw new NullPointerException(dbm.getError());\n }\n CallableStatement stm=con.prepareCall(\"{call sp_periodo_ttf}\");\n ResultSet rs=stm.executeQuery();\n while (rs.next()) {\n Lista.addElement(\n\n new cPeriodo (\n rs.getInt(\"idPeriodo\"),\n rs.getInt(\"año\"), \n rs.getInt(\"mes\"),\n rs.getInt(\"semana\"),\n rs.getDate(\"fechaini\") ,\n rs.getDate(\"fechafin\") ,\n rs.getString(\"tema1\"),\n rs.getString(\"tema2\"),\n rs.getString(\"estado\")\n )\n );\n }\n rs.close();\n stm.close();\n dbm = null;\n } catch (Exception e) {\n System.out.println(\"Error:\" + e.getMessage());\n }\n return Lista;\n }","title":""},{"docid":"27a2fd7577ab42615775e19f02843b7a","score":"0.5792726","text":"public Object getDatosAsociados() {\n\t\treturn datosAsociados;\n\t}","title":""},{"docid":"9be57e19280f21e6a0d042a69fa9a968","score":"0.57863903","text":"@Override\n public List descuentosaAplicar(){\n List lista=null;\n //System.out.println(\"VALOR INICIAL \"+ordentrabajo.getCodigo());\n String consulta;\n try{\n consulta=\"SELECT d FROM Descuentos d WHERE d.montopend>'0.0' or d.deley=true\";\n Query query=em.createQuery(consulta);\n \n lista= query.getResultList();\n \n }catch (Exception e){\n System.out.println(e.getMessage());\n }\n return lista;\n }","title":""},{"docid":"ed2c96bd6043c0d5438ba9f5e04aa2a1","score":"0.5784799","text":"public final java.lang.String getCentroCusto() {\r\n return centroCusto;\r\n}","title":""},{"docid":"7268a01837fc2aea2088d4cc3c541dfc","score":"0.57847893","text":"public void conversion_dato() //FUNCION\n {\n presion_yacimiento = Double.parseDouble(TXT_presion_yacimiento);\n presion_burbuja = Double.parseDouble(TXT_presion_burbuja);\n densidad_petroleo = Double.parseDouble(TXT_densidad_petroleo);\n gravedad_especifica_petroleo = Double.parseDouble(TXT_gravedad_especifica_petroleo);\n gravedad_especifica_gas = Double.parseDouble(TXT_gravedad_especifica_gas);\n relacion_gas_petroleo = Double.parseDouble(TXT_relacion_gas_petroleo);\n temperatura= Double.parseDouble(TXT_temperatura);\n gravedad_API = Double.parseDouble(TXT_gravedad_API);\n viscosidad_cp = Double.parseDouble(TXT_viscosidad_cp);\n }","title":""},{"docid":"26ac17b92711822eaf4a1e98981533cc","score":"0.5778241","text":"public String procesarDatos(Empleado e) {\n\t\t// calcular total\n\t\tdouble tot = e.getDias() * e.getHoras() * e.getPago();\n\t\t// encapsular tot\n\t\te.setTotal(tot);\n\t\t// calcular renta\n\t\tdouble renta = 0;\n\t\tif (tot > 1500) {\n\t\t\trenta = tot * 0.08;\n\t\t}\n\t\t// encapsular renta\n\t\te.setRenta(renta);\n\t\t// calcular neto\n\t\te.setNeto(tot - renta);\n\t\tString boleta = generaBoleta(e);\n\t\treturn boleta;\n\t}","title":""},{"docid":"40263366bab9297150d6e717d8f97b5d","score":"0.5777445","text":"public String getDataDiaBr() {\n DateFormat df = new SimpleDateFormat(\"dd/MM/yyyy\");\n String diaIguana = df.format(new Date());\n return diaIguana;\n }","title":""},{"docid":"30c099c9f404a6c815c2c70dbf38ef26","score":"0.57680553","text":"public java.lang.String getDatiFascicolo(){\n return localDatiFascicolo;\n }","title":""},{"docid":"1a73746df62fe7896bf3ee23a0ccd327","score":"0.5760321","text":"public OceData getOceData(OceData databean) {\n List list = new ArrayList();\n StringBuffer mySQL = new StringBuffer(128);\n String listOrder = null;\n String whereClause;\n ResultSet resultSet = null;\n PreparedStatement pStmt = null;\n Connection con = ApiFunctions.getDbConnection();\n try {\n if (ApiFunctions.safeEquals(\"Asc\", databean.getListOrder())) {\n listOrder = \"ABSTRACT_DATE ASC\";\n }\n else if (ApiFunctions.safeEquals(\"Dsc\", databean.getListOrder())) {\n listOrder = \"ABSTRACT_DATE DESC\";\n }\n else if (ApiFunctions.safeEquals(\"Alpha\", databean.getListOrder())) {\n listOrder = \"UPPER(TRIM(OTHER_TEXT))\";\n }\n if (ApiFunctions.safeEquals(\"A\", databean.getStatus())) {\n whereClause =\n \"WHERE TABLE_NAME='\"\n + databean.getTableName()\n + \"' AND TYPE_CODE='\"\n + databean.getAttribute()\n + \"'\";\n }\n else if (ApiFunctions.safeEquals(\"NHC\", databean.getStatus())){\n whereClause =\n \"WHERE TABLE_NAME='\"\n + databean.getTableName()\n + \"' AND TYPE_CODE='\"\n + databean.getAttribute()\n + \"' AND (status_FLAG='N' OR STATUS_FLAG='H' OR STATUS_FLAG='C')\";\n }\n else {\n whereClause =\n \"WHERE TABLE_NAME='\"\n + databean.getTableName()\n + \"' AND TYPE_CODE='\"\n + databean.getAttribute()\n + \"' AND status_FLAG='\"\n + databean.getStatus()\n + \"'\";\n }\n \n //MR7413\n //if a start date has been specified, put it into the query\n if (!ApiFunctions.isEmpty(databean.getStartDate())) {\n whereClause = whereClause + \" AND ABSTRACT_DATE >= to_date('\" + databean.getStartDate() + \" 00:00:00', 'MM/DD/YYYY HH24:MI:SS')\";\n }\n //if an end date has been specified, put it into the query\n if (!ApiFunctions.isEmpty(databean.getEndDate())) {\n whereClause = whereClause + \" AND ABSTRACT_DATE <= to_date('\" + databean.getEndDate() + \" 23:59:59', 'MM/DD/YYYY HH24:MI:SS')\";\n }\n \n //tack on the order by clause\n whereClause = whereClause + \" ORDER BY \" + listOrder; \n\n mySQL.append(\"SELECT OTHER_LINE_ID, OTHER_TEXT, STATUS_FLAG, \");\n mySQL.append(\"EDIT_TEXT, WHERE_CLAUSE FROM ARD_OTHER_CODE_EDITS \");\n mySQL.append(whereClause);\n pStmt = con.prepareStatement(mySQL.toString());\n resultSet = pStmt.executeQuery();\n while (resultSet.next()) {\n OceRowData rowData =\n new OceRowData(\n resultSet.getString(\"OTHER_LINE_ID\"),\n resultSet.getString(\"OTHER_TEXT\"),\n OceUtil.lookupOceConstant(resultSet.getString(\"STATUS_FLAG\")));\n rowData.setFullySpecifiedName(resultSet.getString(\"EDIT_TEXT\"));\n rowData.setWhereClause(resultSet.getString(\"WHERE_CLAUSE\"));\n list.add(rowData);\n }\n databean.setList(list);\n }\n catch (SQLException SQLex) {\n ApiLogger.log(SQLex);\n throw new ApiException(SQLex.getMessage());\n }\n finally {\n ApiFunctions.close(resultSet);\n ApiFunctions.close(pStmt);\n ApiFunctions.close(con);\n }\n return databean;\n }","title":""},{"docid":"a8ba3fd956cd07543a69be1cb5cfbc4f","score":"0.5759398","text":"public static void getVCTDatas(){\n con = getInstance();\n \n if(con != null){\n // Abfrage-Statement erzeugen.\n Statement query;\n try {\n query = con.createStatement();\n \n // Tabelle anzeigen\n String sql = \"SELECT * FROM Account WHERE kundenart !='Firma'\";\n ResultSet result = query.executeQuery(sql);\n \n // Ergebnisstabelle durchforsten\n while (result.next()) {\n String kundenname = result.getString(\"kundenname\");\n String strassenname = result.getString(\"strassenname\");\n String plz = result.getString(\"plz\");\n String stadt = result.getString(\"stadt\");\n String land = result.getString(\"land\");\n String kontonummer = result.getString(\"kontonummer\");\n String saldo = result.getString(\"saldo\");\n\n \n //Kundenname aufteilen\n String[] part = kundenname.split(\"\\\\s\");\n if(part.length == 2) {\n \t vorname = part[0];\n \t nachname = part[1];\n } else if(kundenname.contains(\"Dr\")){\n \t vorname = part[1];\n \t nachname = part[2];\n } else if(kundenname.contains(\"van\") || kundenname.contains(\"von\")) {\n \t vorname = part[0];\n \t nachname = part[1] + \" \" + part[2];\n }\n else if(part.length == 3 & part[0].length() <= 2 & part[1].length() <= 2) {\n \t vorname = part[0] + \" \" + part[1];\n \t nachname = part[2];\n }else if(part.length == 3 & part[0].length() > 2 & part[1].length() > 2){\n \t vorname = part[0];\n \t nachname = part[1] + \" \" + part[2];\n }\n vorname = vorname.replace(\"\\u00FC\", \"ue\");\n vorname = vorname.replace(\"\\u00E4\", \"ae\");\n vorname = vorname.replace(\"\\u00F6\", \"oe\");\n vorname = WordUtils.capitalizeFully(vorname);\n nachname = nachname.replace(\"\\u00FC\", \"ue\");\n nachname = nachname.replace(\"\\u00E4\", \"ae\");\n nachname = nachname.replace(\"\\u00F6\", \"oe\");\n nachname = WordUtils.capitalizeFully(nachname);\n nachname = nachname.replace(\"Van\", \"van\");\n nachname = nachname.replace(\"Von\", \"von\");\n \n \n //Adresse zusammenfŸhren\n addresse = strassenname + \", \" + plz + \" \" + stadt;\n \n \n //LŠndercode erstellen\n if(land.equals(\"Schweiz\") || land.equals(\"Switzerland\")) {\n \t laendercode = \"CH\";\n } else if(land.equals(\"Germany\")) {\n \t laendercode = \"DE\";\n } else if(land.equals(\"The Netherlands\")) {\n \t laendercode = \"NL\";\n }\n\n \n //Kontostand\n kontostand = Float.parseFloat(saldo); \n \n \n // IBAN fŸr Kontokorrent generieren\n String nullen = new String();\n // EinfŸgen von Nullen damit IBAN LŠnge von 21 erreicht wird\n for(int y = kontonummer.length(); y < 12; y++){\n nullen += \"0\";\n }\n iban = \"CH\" + \"27\" + \"00261\" + nullen + kontonummer;\n \n \n MergeBanks.KundenArray.add(new Kunde(MergeBanks.kundenidcnt, vorname, nachname, addresse, laendercode, status));\n MergeBanks.KontenArray.add(new Konto(MergeBanks.kundenidcnt, iban, kontostand, kontoart));\n MergeBanks.kundenidcnt++;\n \n \n \n \n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"95c288cedb3a27b130e078d1a7c01257","score":"0.57500464","text":"@Data(size=4, value=\"0093\")\n IString debitoCcorrentes() ;","title":""},{"docid":"0c4e83c44b0c806ea3d6d70fc9621bfc","score":"0.5747175","text":"public String cargarDatos()\r\n/* 224: */ {\r\n/* 225:251 */ return null;\r\n/* 226: */ }","title":""},{"docid":"f24b98cfff90ebf90a1da07c24bdac35","score":"0.5746191","text":"public List getVendaRef(String ref_pesquisar, String tipo_pedido, String data_entrega) {\n ArrayList cortes = new ArrayList();\n\t\ttry {\n \n \n Conexao.ConectDB();\n Statement stmt = Conexao.con.createStatement();\n ResultSet rs;\n String sql;\n if (tipo_pedido.equals(\"TODOS\")){\n sql = \"select ip.codigo, ip.cor, sum(ip.t1) as T1, sum(ip.t2) as T2, sum(ip.t3) as T3, sum(ip.t4) as T4, sum(ip.total) as total\\n\" +\n \"from item_pedido ip\\n\" +\n \"INNER JOIN pedidos pe\\n\" +\n \"\ton ip.n_pedido = pe.n_pedido\\n\" +\n \"\twhere codigo = '\"+ref_pesquisar+\"' and data_entrega <= '\"+data_entrega+\"'\\n\" +\n \"\tgroup by ip.codigo, ip.cor\";\n rs = stmt.executeQuery(sql);\n \n System.out.println(sql);\n\t\t\n }\n else{//se for ESPECIAL / DIV\n sql = \"select ip.codigo, ip.cor, sum(ip.t1) as T1, sum(ip.t2) as T2, sum(ip.t3) as T3, sum(ip.t4) as T4, sum(ip.total) as total\\n\" +\n \"from item_pedido ip\\n\" +\n \"INNER JOIN pedidos pe\\n\" +\n \"\ton ip.n_pedido = pe.n_pedido\\n\" +\n \"\twhere codigo = '\"+ref_pesquisar+\"' and tipo_pedido = '\"+tipo_pedido+\"' and data_entrega <= '\"+data_entrega+\"'\\n\" +\n \"\tgroup by ip.codigo, ip.cor\";\n rs = stmt.executeQuery(sql);\n \n System.out.println(sql);\n }\n \n \n while (rs.next()) {\n\t\t\t\tCorteDTO corte = new CorteDTO();\n \n\t\t\t\t\n corte.setCodigo(rs.getString(\"codigo\"));\n corte.setCor(rs.getString(\"cor\"));\n\t\t\t\tcorte.setT1(rs.getInt(\"t1\"));\n corte.setT2(rs.getInt(\"t2\"));\n corte.setT3(rs.getInt(\"t3\"));\n corte.setT4(rs.getInt(\"t4\"));\n corte.setTotal(rs.getInt(\"total\"));\n cortes.add(corte);\n \n\t\t\t}\n\t\t\tConexao.CloseDB();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Erro ao Listar vendas por referencia com data_entrega\");\n System.err.println(e.getMessage());\n\t\t}\n\t\treturn cortes;\n\t}","title":""},{"docid":"eef8e3ad3e944674a1bd1ab5ef5c64f7","score":"0.5728621","text":"public DateTime getDataCriacao() {\r\n\t\treturn dataCriacao;\r\n\t}","title":""},{"docid":"3c283c7bfb4204f2d740f6dbe95d5542","score":"0.5727416","text":"public String getCodigoBarras() {\r\n return getNumero() + String.valueOf(boleto.getMoeda()) + String.valueOf(getCampo4()) + String.valueOf(getCampo5()) + \"9\" + boleto.getCodCliente() + \"00000\" + boleto.getNossoNumero() + boleto.getIOS() + boleto.getCarteira();\r\n }","title":""},{"docid":"bd8209126dd20f30d48acaee3769e976","score":"0.57260257","text":"private Collection getFincaCatastroRusticasBuscadasPorPoligonoDB(String idMunicipio,String patronPoligono,\r\n\t\t\tString patronParcela) throws Exception\r\n\t\t\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.id_via, parcelas.primer_numero, parcelas.referencia_catastral,\" +\r\n\t\t\" parcelas.codigopoligono, parcelas.codigoparcela\" +\r\n\t\t\" from parcelas where parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"'\"+\r\n\t\t\" and (parcelas.codigopoligono is not null and (parcelas.codigopoligono like upper('%\"+patronPoligono+\"%')))\"+\r\n\t\t\" and (parcelas.codigoparcela is not null and (parcelas.codigoparcela like upper('%\"+patronParcela+\"%')))\" +\r\n\t\t\" order by parcelas.codigopoligono asc\";\r\n\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"referencia_catastral\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}//fin if\r\n\t\t\t\t\t}//fin if\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t\t\t}","title":""},{"docid":"9ba3132e5e50543801c00d316041720a","score":"0.5722195","text":"public SolicitudCompra getSolicitudCompra()\r\n/* 100: */ {\r\n/* 101:111 */ return this.solicitudCompra;\r\n/* 102: */ }","title":""},{"docid":"c29152af736f76ce55010c8ead831b60","score":"0.57220894","text":"private Collection getFincaCatastroBuscadasDB(String idMunicipio,String patron) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.referencia_catastral, parcelas.primer_numero, parcelas.codigopoligono,\" +\r\n\t\t\" parcelas.codigoparcela, parcelas.id_via from parcelas where\" +\r\n\t\t\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"' \"\r\n\t\t+\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \"\r\n\t\t+ \" order by parcelas.referencia_catastral asc\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"referencia_catastral\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null; \r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}","title":""},{"docid":"77c6fd799f85ddc5a67c9ef4bb215dd6","score":"0.57044566","text":"private String getCampo5() {\r\n String campo = boleto.getFatorVencimento() + boleto.getValorTitulo();\r\n return campo;\r\n }","title":""},{"docid":"ee09180f07686cd412f7e449b3024697","score":"0.56987643","text":"public ArbolBinario[] obtener() throws ClassNotFoundException {\n try {\n ObjectInputStream recuperar = new ObjectInputStream(new FileInputStream(\"./Data/arbol.dat\"));\n ArbolBinario[] aux;\n aux = (ArbolBinario[]) recuperar.readObject();\n recuperar.close();\n return aux;\n } catch (EOFException e) {\n //e.printStackTrace();\n return null;\n }catch(IOException e) {\n //e.printStackTrace();\n return null;\n }\n }","title":""},{"docid":"43103b1041101b6d5a54de5f6360d016","score":"0.56924087","text":"public String getDevedores(){\r\n\t\tArrayList result = banco.select();\r\n\t\tString result_print = null;\r\n\t\tfor (int i = 0; i < result.size(); i = i+1){\r\n\t\t\tif(i == 0){\r\n\t\t\t\tresult_print = (i+1)+\") \"+result.get(i)[0] + \" - R$\" + result.get(i)[1];\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tresult_print = result_print +\"\\n\"+ (i+1)+\") \"+ result.get(i)[0] + \" - R$\" + result.get(i)[1];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result_print;\r\n\t}","title":""},{"docid":"574937080b56c415023bf35a3602c099","score":"0.56893855","text":"public void visualizaDatosBocateria(){\n System.out.println(\"\\n *******************Estado actual de la Bocateria.**********\");\n\n System.out.println(\"\\n====== Facturación actual; \"+facturacionActual+ \" €.\\n\");\n visualizaDatosClienteEnLaCola();\n System.out.println(\"\\n====== Clientes despachados. ========\");\n Iterator it = clientesDepachados.keySet().iterator();\n while(it.hasNext()){\n Integer clave = (Integer) it.next();\n int numBocadillos = clientesDepachados.get(clave).getNumeroDeBocadillos();\n System.out.println(\"Cliente: \" +clientesDepachados.get(clave).getNumeroCliente()\n + \": \" +numBocadillos + \" bocadillo/s ( \" +numBocadillos * PRECIO_BOCADILLO+ \" euros ) \");\n }\n\n }","title":""},{"docid":"fe7c150ec8ca724fc14b026d05644cb9","score":"0.5686923","text":"public String cargarDatos()\r\n/* 163: */ {\r\n/* 164:188 */ return \"\";\r\n/* 165: */ }","title":""},{"docid":"2dee8ced5800725903bd8859643d8b8b","score":"0.5685723","text":"private String getCampo2() {\r\n String campo = boleto.getCodCliente().substring(4) + boleto.getNossoNumero().substring(0,7);\r\n \r\n return boleto.getDigitoCampo(campo,1);\r\n }","title":""},{"docid":"c425de5271252db758d9452a8ae2d1a1","score":"0.5683249","text":"public String getCDENC_OBSERVACION(){\n\t\treturn this.myCdenc_observacion;\n\t}","title":""},{"docid":"562736d8249348617fbd9b643b4729fe","score":"0.56827205","text":"@Override\r\n /**\r\n * @return numero,metros,precio,alquilado\r\n */\r\n public String toString() {\r\n return \"a{\" + \"numero=\" + numero + \", metros=\" + metros + \", precio=\" + precio + \", alquilado=\" + alquilado + '}';\r\n }","title":""},{"docid":"163e486841f4bf9e67558f74ba4d3538","score":"0.5678267","text":"@Override\n public ArrayList buscarCardapio() {\n return gerAlimento.buscarCardapio();\n }","title":""},{"docid":"295de6d56bf16642a5356fe7e01f4f0c","score":"0.56773865","text":"public abstract String getInfoAjuda(String atributo);","title":""},{"docid":"8ca9c9c8bc68f24eaa03426792509149","score":"0.5676919","text":"public ArrayList obtenerDatos(){\n BaseDatos db = new BaseDatos(context);\n insertarTresContactos(db);\n return db.obtenerTodosLosContactos();\n }","title":""},{"docid":"c97e42c672cad6975d6b9e3690689aae","score":"0.56706446","text":"public List letrasVencidasTramos_cobrador_ordenDireccion_SC(int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.codCobrador = :par1\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"par1\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }","title":""},{"docid":"93d1fb738a02d8f6c172fd3e9db7ed1b","score":"0.56685215","text":"public List consultarMembroOrdData(String entrada) {\n\t\t// TODO Auto-generated method stub\n\t\tString[] partesData = new String[2];\n\t\tpartesData = entrada.split(\"/\");\n\t\tlistaDeMembros = new ArrayList<>();\n\t\tString sql = \"SELECT * FROM membro where mes = ? AND dia = ?\"\n\t\t\t\t+ \" ORDER BY ano, mes, dia ASC\";\n\t\t\n\t\ttry {\n\t\t\tPreparedStatement preparado = conex.prepareStatement(sql);\n\t\t\tpreparado.setInt(1, Integer.parseInt(partesData[1]));\n\t\t\tpreparado.setInt(2, Integer.parseInt(partesData[0]));\n\t\t\tResultSet todos = preparado.executeQuery();\n\t\t\t\n\t\t\twhile(todos.next()) {\n\t\t\t\t\n\t\t\t\tmembro = new Membro();\n\t\t\t\t\n\t\t\t\tmembro.setIdMembro(todos.getInt(\"id\"));\n\t\t\t\tmembro.setNome(todos.getString(\"nome\"));\n\t\t\t\tmembro.setApelido(todos.getString(\"apelido\"));\n\t\t\t\tmembro.setSobrenomes(todos.getString(\"sobrenomes\"));\n\t\t\t\tmembro.setCargo(todos.getString(\"cargo\"));\n\t\t\t\tmembro.setDia(todos.getInt(\"dia\"));\n\t\t\t\tmembro.setMes(todos.getInt(\"mes\"));\n\t\t\t\tmembro.setAno(todos.getInt(\"ano\"));\n\t\t\t\tlistaDeMembros.add(membro);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tJOptionPane.showMessageDialog(null, \"Erro de Banco de Dados:\\n\" + e.getMessage());\n\t\t}\n\t\t\n\t\t\n\t\treturn listaDeMembros;\n\t\t\n\t}","title":""},{"docid":"5dc8d8740699c0ad0d37dabeb5f201ba","score":"0.5666644","text":"public List letrasVencidasTramos_cobrador_ordenNombresC_SC(int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.codCobrador = :par1\"\r\n + \" order by vcl.ventas.persona.nombresC,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"par1\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }","title":""},{"docid":"0a7964e789aae2b45868f5103f0ba856","score":"0.566618","text":"private void consultarCodig() throws Exception {\n traza(\"el oid es \" + oid);\n\n DTOOID dtoOid = new DTOOID();\n dtoOid.setOidPais(pais);\n dtoOid.setOidIdioma(idioma);\n dtoOid.setOid(new Long(oid)); \n\n traza(\"dtoOid \" + dtoOid);\n\n MareBusinessID id = new MareBusinessID(\"CARCodConfConsulta\");\n Vector paramEntrada = new Vector();\n paramEntrada.add(dtoOid);\n paramEntrada.add(id);\n traza(\"los parametros de entrada son \" + paramEntrada);\n\n traza(\"****************************** antes de conectar con 'CARConsultaCodigoConf' \");\n DruidaConector con = conectar(\"CARConsultaCodigoConf\", paramEntrada);\n traza(\"****************************** después de conectar con 'CARConsultaCodigoConf' \");\n \n dtoCodConf = (DTOCodigoConfiguracion) con.objeto(\n \"DTOCodigoConfiguracion\"); \n traza(\"dtoCodConf \" + dtoCodConf.toString());\n }","title":""},{"docid":"c9204833681bd12f2c4740e618f9dbf2","score":"0.5663404","text":"public String getDatC() {\r\n return datC;\r\n }","title":""},{"docid":"ac59dbcfc7b804a139f7dc6b2e188e85","score":"0.5662028","text":"private Collection buscarAsignacionTipoDescuentoCol(Integer codigoCompania)throws SICException{\n\t\tCollection asiTipoDes = null;\n\t\ttry{\t\t\t\n\t\t\tAsignacionTipoDescuentoDTO asignacionTipoDescuentoDTO = new AsignacionTipoDescuentoDTO();\n\t\t\tasignacionTipoDescuentoDTO.getId().setCodigoCompania(codigoCompania);\n\t\t\tasignacionTipoDescuentoDTO.setEstado(SICConstantes.ESTADO_ACTIVO_NUMERICO);\n\t\t\tasignacionTipoDescuentoDTO.setCodigoAsignacionTipoDescuento(EnumTipoAsignacionDescuento.CODIGO_TIPO_ASIGNACION_DESCUENTO);\n\t\t\tasignacionTipoDescuentoDTO.setValorAsignacionTipoDescuento(EnumTipoAsignacionDescuento.ARTICULO.getValorTipoAsignacionDescuento());\n\t\t\tasignacionTipoDescuentoDTO.setCodigoAplicacionTipoDescuento(EnumTipoAplicacionDescuento.CODIGO_TIPO_APLICACION_DESCUENTO);\n\t\t\tasignacionTipoDescuentoDTO.addCriteriaSearchParameter(new CriteriaSearchParameter(\"valorAplicacionTipoDescuento\", ComparatorTypeEnum.IN_COMPARATOR, new String[] { EnumTipoAplicacionDescuento.COSTO_COMPRA.getValorTipoAplicacionDescuento(), EnumTipoAplicacionDescuento.COSTO_CONVENIO.getValorTipoAplicacionDescuento() }));\n\t\t\tasiTipoDes = SICFactory.getInstancia().administracion.getDataService().findObjects(asignacionTipoDescuentoDTO);\n\t\t}catch (SICException e) {\n\t\t\tLogeable.LOG_SICV2.error(\"Error al consultar los tipos de descuentos del art\\u00EDculo.\", e.getMessage());\n\t\t\tthrow new SICException(\"Error al consultar los tipos de descuentos del art\\u00EDculo.. {}\",e.getMessage());\n\t\t}\n\t\treturn asiTipoDes;\n\t}","title":""},{"docid":"ee94203f65dca610661fb155d80cc447","score":"0.5655638","text":"public String getCSOBJ_DESCRIPCION(){\n\t\treturn this.myCsobj_descripcion;\n\t}","title":""},{"docid":"13815b3eeb4a16ed704afc4c58ec3c8a","score":"0.56507754","text":"public static String[] getDatosAlturaMayor() {\n\t\tSession session = null;\n\t\tTransaction tx = null;\n\t\t\t\t\n\t\t// Iniciar la sesion con Hibernate\n SessionFactory sess = HibernateUtil.getSessionFactory();\n session = sess.getCurrentSession();\n \n // Comenzar la transaccion\n tx = session.beginTransaction();\n \n Logger log = Logger.getLogger(\"Obtener los datos de la mayor altura\");\n\t\tlog.info(\"Obtener los datos de la mayor altura\");\n\t\t\n\t\tString[] strDevolucion = new String[3];\n\t try {\t\t\n\t \t\t//hago un query con todos los datos \n\t\t StringBuilder queryObjeto= new StringBuilder();\n\t\t queryObjeto.append(\"select dp.altura, dp.promedioVelocidadRenglon, dp.promedioTempRenglon from DatosPerfilVertical as dp where dp.altura = \");\n\t\t queryObjeto.append(\"(select MAX(dp2.altura) from DatosPerfilVertical as dp2)\");\n\t\t \n\t\t //lo ejecuto y lo guardo en un iterador.\n\t\t Iterator listaDatosArchivo = session.createQuery(queryObjeto.toString()).list().iterator();\n\n\t\t Object[] tupla = (Object[]) listaDatosArchivo.next();\n\t\t\n\t\t strDevolucion[0] = tupla[0].toString();\n\t\t\t strDevolucion[1] = tupla[1].toString();\n\t\t\t strDevolucion[2] = tupla[2].toString();\n\t\t //cometer la transaccion o sino no se escribe nada en la BD\n\t\t\t\ttx.commit();\n\n\t\t\t\t// cerrar la sesion\n\t\t\t\t//session.close();\n\t\t\t\t\n\t } catch (HibernateException e) {\n\n\t\t \tSystem.out.println(e.getMessage());\n\t\t \tlog.warn(\"Ocurrio un error al buscar los datos de la mayor Altura\");\n\n\t\t // cuando ocurre un error hace rollback\n\t\t \tif (tx != null)\n\t\t \t\ttry {\n\t\t \t\t\ttx.rollback();\n\t\t \t\t} catch (HibernateException e1) {\n\t\t \t\t\tSystem.out.println(\"El rollback no fue exitoso\");\n\t\t \t\t\tlog.warn(\"El rollback no fue exitoso\");\n\t\t \t\t}\n\n if (session != null)\n \ttry {\n \t\tsession.close();\n \t} catch (HibernateException e2) {\n \t\tSystem.out.println(\"El cierre de sesion no fue exitoso\");\n\t\t\t\t\tlog.warn(\"El cierre de sesion no fue exitoso\");\n \t}\n\t }\t\n\t\n\t\treturn strDevolucion;\n\t}","title":""},{"docid":"4d33752c076fe9635cec6bb0789f500e","score":"0.5636927","text":"public DataTable getDtOrdenFabricacion()\r\n/* 287: */ {\r\n/* 288:327 */ return this.dtOrdenFabricacion;\r\n/* 289: */ }","title":""},{"docid":"3e7784437908f68e313f1119b7f1c704","score":"0.56337035","text":"public BigDecimal getCostoManoObraCalculo()\r\n/* 435: */ {\r\n/* 436:458 */ return this.costoManoObraCalculo;\r\n/* 437: */ }","title":""},{"docid":"24aba4f6fc4eea6a7840062ffe333adf","score":"0.56298655","text":"public java.sql.ResultSet BusActFp(String codigo){\n\r\n java.sql.ResultSet rs=null;\r\n Statement st = null;\r\n try{\r\n \tConexion con=new Conexion();\r\n \tst = con.conn.createStatement();\r\n \trs=st.executeQuery(\"SELECT oa.codigo, oa.actividad_economica, oa.codigo_ciiu, oa.cod_crefk, oc.valor AS val_cre, of.descripcion, p.cta, orfte.codigo AS cod_rfte, orfte.valor AS val_rfte, oic.codigo AS cod_ica , oic.valor AS val_ica, p.cod_formapagofk \"+\r\n \t\t\t \"FROM ord_prove_actecono p, ord_formadepago of, ord_actividadeconomica oa, ord_retefuente orfte, ord_ica oic, ord_cre oc \"+\r\n \"WHERE p.cod_aecofk=oa.codigo AND of.codigo=p.cod_formapagofk AND oa.cod_crefk=oc.codigo AND orfte.codigo=p.cod_reftefk AND p.cod_icafk=oic.codigo AND p.cod_provefk='\"+codigo+\"' \");\r\n \r\n }\r\n catch(Exception ex){\r\n \tSystem.out.println(\"Error en MetodoProve>>BusActFp \"+ex);\r\n }\t\r\n return rs;\r\n}","title":""},{"docid":"e148734f3665b2d351589f6f60d715da","score":"0.5627523","text":"DATA getData();","title":""},{"docid":"190f864d590ff2367b2e8d86255c0528","score":"0.5627309","text":"public DTOSalida obtenerTiposOperacion(Long oidOperacion ) throws Exception{\n traza(\"*** LPOperacion.obtenerTiposOperacion: Entrada ***\");\n \n Vector paramConector = new Vector();\n DTOOID dtoOid=new DTOOID();\n dtoOid.setOidIdioma(idioma);\n dtoOid.setOidPais(pais);\n dtoOid.setOid(oidOperacion);\n paramConector.add(dtoOid);\n paramConector.add(new MareBusinessID(\"RECObtenerTiposOperacion\")); \n traza(\"Antes de Conectar ConectorObtenerTiposOperacion\");\n DruidaConector conector = conectar(\"ConectorObtenerTiposOperacion\", paramConector);\t\t\t\t\t\t\t\n traza(\"Despues de Conectar ConectorObtenerTiposOperacion\");\n Object objeto=conector.objeto(\"DTOSalida\");\n traza(\"Objeto recogido\"+objeto);\n DTOSalida salida = (DTOSalida)conector.objeto(\"DTOSalida\");\n traza(\"DTOSalida obtenido\");\n \n // Modificamos los valores boolean por un si o un no que es lo que aparece en la lista\n RecordSet rs = salida.getResultado();\n if(!rs.esVacio()){\n for(int i=0;i> getDatosCasosxOU(Long desde, Long hasta) {\n\t\t\n\t\tList> resultadosTotales = new ArrayList>();\n\t\tString sqlQueryRegionVista = \"\";\n\t\tString sqlQueryTiempoWhere = \"\";\n\t\tString sqlQueryGroupBY = \"\";\n\t\t\n\t\t/**\n\t\t * Regresa datos de positivos de SISVIG\n\t\t * \n\t\t */\n\t\t\n\t\t\n\t\t// Retrieve session from Hibernate\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tQuery query;\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.corregimiento.distrito.region.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.corregimiento.distrito.region.ident\";\n\t\tTimestamp timeStampInicio = new Timestamp(desde);\n\t\tTimestamp timeStampFinal = new Timestamp(hasta);\n\t\t\n\t\t//Datos por region\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.corregimiento.distrito.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.corregimiento.distrito.ident\";\n\t\t\n\t\t\n\t\t//Datos por distrito\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.corregimiento.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.corregimiento.ident\";\n\t\t\n\t\t\n\t\t//Datos por corregimiento\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.ident\";\n\t\t\n\t\t\n\t\t//Datos por localidad\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\n\n\n\t\treturn resultadosTotales;\n\t}","title":""},{"docid":"1edd58dfe5cfcae2cde4bfc903db4239","score":"0.5599408","text":"public ArrayList obtenerDatos(){\n BaseDatos db = new BaseDatos(context);\n insertarTresContactos(db);\n return db.obtenerAllContacts();\n }","title":""},{"docid":"abd71531ce6160dc526c9a805c379057","score":"0.5591975","text":"public List letrasVencidasTramos_todos_ordenNombresC_SC() {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" order by vcl.ventas.persona.nombresC,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\");\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }","title":""},{"docid":"a373ac5e025f89adcba4638a35f7c941","score":"0.5586839","text":"private Collection getFincaCatastroBuscadasPorDirDB(String idMunicipio,String patronNombreVia, String patronTipoVia) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.referencia_catastral as ID, vias.tipovianormalizadocatastro, vias.nombrecatastro, \" +\r\n\t\t\" parcelas.primer_numero, parcelas.codigopoligono, parcelas.codigoparcela from parcelas LEFT JOIN \" +\r\n\t\t\" vias ON parcelas.id_via=vias.codigocatastro where\" +\r\n\t\t\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"' \"\r\n\t\t+ \" and ((vias.nombrecatastro like upper('%\" + patronNombreVia + \"%')) \"\r\n\t\t+ \" and (vias.tipovianormalizadocatastro like upper('%\" + patronTipoVia + \"%'))) \"\r\n\t\t+ \" and vias.id_municipio='\"+idMunicipio+\"'\" \r\n\t\t+ \" order by vias.nombrecatastro asc\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"id\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setNombreVia(rs.getString(\"nombrecatastro\"));\r\n\t\t\t\tdir.setTipoVia(rs.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}","title":""},{"docid":"7afa2b2c42b4dc9e9cf97ec8e77f4b3e","score":"0.55750453","text":"public List letrasVencidasTramos_empresaConvenio_cobrador_ordenDireccion_SC(int codEmpresaConvenio,\r\n int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.empresaConvenio.codEmpresaConvenio = :ter1\"\r\n + \" and dc.codCobrador = :par2\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"ter1\", codEmpresaConvenio)\r\n .setInteger(\"par2\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }","title":""},{"docid":"1b47546a8c6c74a6d3d25524373d691f","score":"0.55706203","text":"private BigDecimal corregirDato(String Dato){\r\n String datoAcorregir = Dato.replace(\"C\", \"\");\r\n DecimalFormat decimalformat = (DecimalFormat) NumberFormat.getInstance();\r\n decimalformat.setParseBigDecimal(true);\r\n BigDecimal DatoCorregido = null;\r\n try {\r\n DatoCorregido = (BigDecimal) decimalformat.parseObject(datoAcorregir);\r\n } catch (ParseException ex) {\r\n Logger.getLogger(MyTableModelListener_FACT.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return DatoCorregido;\r\n \r\n }","title":""},{"docid":"5a5c68f4561ba0e003d652c32a939ad7","score":"0.5567695","text":"public Docente obtenerPorCedula(String cedula) throws ObjectNotFoundException, NoResponseBDException;","title":""},{"docid":"b81b8fa34098a7b17372fe2bb4bbd559","score":"0.5563295","text":"private Hashtable getCodigoNombreProvinciaBD() throws Exception\r\n\t{\r\n\t\tHashtable aux= new Hashtable();\r\n\t\tArrayList codigos = new ArrayList();\r\n\t\tArrayList nombres = new ArrayList();\r\n\t\tString sSQL= \"select id, nombreoficial from provincias order by translate(nombreoficial, 'ÁÉÍÓÚáéíóú','AEIOUaeiou')\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tcodigos.add(rs.getString(\"id\"));\r\n\t\t\t\tnombres.add(rs.getString(\"nombreoficial\"));\r\n\t\t\t}\r\n\t\t\t//TODO esto mirar y mejorar\r\n\t\t\taux.put(\"codigos\",codigos);\r\n\t\t\taux.put(\"nombres\",nombres);\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}","title":""},{"docid":"1380cc9edf7fce2323538d24c1434fc3","score":"0.555952","text":"public String getCSOBJ_CODIGO(){\n\t\treturn this.myCsobj_codigo;\n\t}","title":""},{"docid":"abba40203ec31bd192985ca1bd40d069","score":"0.5559459","text":"private void buscaDato()\n {\n String consulta=\"SELECT DISTINCT obj from Almacen obj \";\n String aux=\"\";\n if(c_filtro.getSelectedItem().toString().compareTo(\"N° Entrada\")==0)\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\" where obj.idAlmacen =\" + t_busca.getText();\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"Pedido\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"where ped.idPedido like'%\"+t_busca.getText()+\"%'\";\n }\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"O. Taller\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n {\n aux=\"SELECT DISTINCT obj from Almacen obj \"\n + \"WHERE obj.pedido.partida.ordenByIdOrden.idOrden like '%\"+t_busca.getText()+\"%'\";\n consulta+=\"LEFT JOIN FETCH obj.movimientos objM \"\n + \"LEFT JOIN objM.partida part \"\n + \"LEFT JOIN part.ordenByIdOrden ord \"\n + \"where ord.idOrden like'%\"+t_busca.getText()+\"%' OR obj.orden.idOrden like'%\"+t_busca.getText()+\"%'\";\n }\n }\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"No Proveedor (pedido)\")==0)\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"LEFT JOIN ped.proveedorByIdProveedor prov \"\n + \"where prov.idProveedor like'%\"+t_busca.getText()+\"%'\";\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"Nombre de Proveedor (pedido)\")==0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"LEFT JOIN ped.proveedorByIdProveedor prov \"\n + \"where prov.nombre like'%\"+t_busca.getText()+\"%'\";\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"Entrego/recibió\")==0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"where obj.entrego like'%\"+t_busca.getText()+\"%'\";\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"No Proveedor (s. compañía)\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN FETCH obj.movimientos objM \"\n + \"LEFT JOIN objM.partida part \"\n + \"LEFT JOIN part.proveedor prov \"\n + \"where prov.idProveedor like'%\"+t_busca.getText()+\"%'\";\n }\n if(c_filtro.getSelectedItem().toString().compareTo(\"Nombre de Proveedor (s. compañía)\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN FETCH obj.movimientos objM \"\n + \"LEFT JOIN objM.partida part \"\n + \"LEFT JOIN part.proveedor prov \"\n + \"where prov.nombre like'%\"+t_busca.getText()+\"%'\";\n }\n\n\n Session session = HibernateUtil.getSessionFactory().openSession();\n try\n {\n session.beginTransaction();\n Query q = session.createQuery(consulta);\n List resultList = q.list();\n\n if(aux.compareTo(\"\")!=0)\n {\n Query q1 = session.createQuery(aux);\n resultList.addAll(q1.list());\n }\n\n if(resultList.size()>0)\n {\n t_datos.setModel(ModeloTablaReporte(resultList.size(), columnas));\n int i=0;\n for (Object o : resultList) \n {\n Almacen actor = (Almacen) o;\n model.setValueAt(actor.getIdAlmacen(), i, 0);\n model.setValueAt(actor.getUsuario().getEmpleado().getNombre(), i, 1);\n model.setValueAt(actor.getFecha(), i, 2);\n if(actor.getPedido()!=null)\n model.setValueAt(actor.getPedido().getIdPedido(), i, 3);\n else\n model.setValueAt(\"\", i, 3);\n model.setValueAt(actor.getNotas(), i, 4);\n if(actor.getTipoMovimiento()==1)\n {\n if(actor.getOperacion()==1)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P. Valuacion\", i, 6);\n }\n if(actor.getOperacion()==2)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P. Externo\", i, 6);\n }\n if(actor.getOperacion()==3)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P. Directo\", i, 6);\n }\n if(actor.getOperacion()==4)\n {\n model.setValueAt(\"Entregada\", i, 5);\n model.setValueAt(\"Compañía\", i, 6);\n }\n\n if(actor.getOperacion()==5)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"Operarios\", i, 6);\n }\n if(actor.getOperacion()==6)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"Venta\", i, 6);\n }\n if(actor.getOperacion()==7)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P.Consumibles\", i, 6);\n }\n if(actor.getOperacion()==8)\n {\n model.setValueAt(\"Devolucion\", i, 5);\n model.setValueAt(\"Consumibles\", i, 6);\n }\n if(actor.getOperacion()==9)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"Ajuste\", i, 6);\n }\n }\n else\n {\n\n if(actor.getOperacion()==1)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P. Valuacion\", i, 6);\n }\n if(actor.getOperacion()==2)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P. Externo\", i, 6);\n }\n if(actor.getOperacion()==3)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P. Directo\", i, 6);\n }\n if(actor.getOperacion()==4)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"Compañía\", i, 6);\n }\n if(actor.getOperacion()==5)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Operarios\", i, 6);\n }\n if(actor.getOperacion()==6)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Venta\", i, 6);\n }\n if(actor.getOperacion()==7)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P.Consumibles\", i, 6);\n }\n if(actor.getOperacion()==8)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Consumibles\", i, 6);\n }\n if(actor.getOperacion()==9)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Ajuste\", i, 6);\n }\n }\n i++;\n }\n }\n else\n t_datos.setModel(ModeloTablaReporte(0, columnas));\n t_busca.requestFocus();\n }catch(Exception e)\n {\n System.out.println(e);\n }\n if(session!=null)\n if(session.isOpen())\n session.close();\n titulos();\n }","title":""},{"docid":"b24738efe79be78f76a0e4ac4244fddc","score":"0.5558655","text":"@Override\r\n public String datosEmpleado(){\r\n String datosPersonales=super.datosEmpleado();\r\n datosPersonales+= \"Horas trabajadas: \" + this.horas + \"( a\" + this.precioHora+\"€ \\n\";\r\n return datosPersonales;\r\n }","title":""},{"docid":"8d46d5bdb52445cf75f084c249b95fb7","score":"0.55584204","text":"public String getDataLancamentoFormatoBr() {\n String dataFormatoBr;\n dataFormatoBr = dataLancamento.substring(8) + '/' +\n dataLancamento.substring(5,7) + '/' + dataLancamento.substring(0,4);\n return dataFormatoBr;\n }","title":""},{"docid":"1e3c517db0039b00405aa597a76cc35f","score":"0.5551515","text":"private void getBienInmuebleCatastroExpedienteDB(Expediente exp, String idMunicipio)throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select e.id_bieninmueble, e.id_dialogo,e.actualizado, b.poligono_rustico, b.parcela, b.id_via,b.primer_numero, \" +\r\n\t\t\" b.codigo_municipiodgc, b.clase_bieninmueble, p.codigodelegacionmeh from \" +\r\n\t\t\" Expediente_BienInmueble e,Bien_Inmueble b, parcelas p where e.id_expediente=\" +exp.getIdExpediente()+\r\n\t\t\" and e.id_BienInmueble=b.IDentificador and p.referencia_catastral=b.parcela_catastral and\" +\r\n\t\t\" p.id_municipio=\" +\r\n\t\tidMunicipio;\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\r\n\t\t\t\tIdBienInmueble idBI = new IdBienInmueble();\r\n\t\t\t\tidBI.setIdBienInmueble(rs.getString(\"id_bieninmueble\"));\r\n\t\t\t\tbien.setIdBienInmueble(idBI);\r\n\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\t\r\n\t\t\t\tString codDelegacionMEH = rs.getString(\"codigodelegacionmeh\");\r\n\t\t\t\tif(codDelegacionMEH == null || codDelegacionMEH.equalsIgnoreCase(\"\"))\r\n\t\t\t\t\tcodDelegacionMEH = String.valueOf(exp.getEntidadGeneradora().getCodigo());\r\n\r\n\t\t\t\tdir.setProvinciaINE(codDelegacionMEH);\r\n\t\t\t\t\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"poligono_rustico\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"parcela\"));\r\n\t\t\t\tbien.setCodMunicipioDGC(rs.getString(\"codigo_municipiodgc\"));\r\n\t\t\t\tbien.setClaseBienInmueble(rs.getString(\"clase_bieninmueble\"));\r\n\t\t\t\tif(rs.getString(\"id_dialogo\") == null ){\r\n\t\t\t\t\tbien.setIdentificadorDialogo(\"\");\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tbien.setIdentificadorDialogo(rs.getString(\"id_dialogo\"));\r\n\t\t\t\t}\r\n\t\t\t\tbien.setActualizadoOVC(rs.getBoolean(\"actualizado\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}catch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tbien.setDomicilioTributario(dir);\r\n\t\t\t\taux.add(bien);\r\n\t\t\t}\r\n\t\t\texp.setListaReferencias(aux);\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"2f4a234051cee0136f5c7341a15dcd49\",\n \"score\": \"0.6354505\",\n \"text\": \"private String getCampo4() {\\r\\n String campo = \\tgetNumero() + String.valueOf(boleto.getMoeda()) +\\r\\n boleto.getFatorVencimento() + boleto.getValorTitulo() + \\\"9\\\" + boleto.getCodCliente() +\\r\\n String.valueOf(boleto.getNossoNumero()) + boleto.getIOS() + boleto.getCarteira();\\r\\n \\r\\n return boleto.getDigitoCodigoBarras(campo);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2a7edb5e0e642f4310137eb51ccfcda\",\n \"score\": \"0.63172144\",\n \"text\": \"Object obtenerObjeto() \\n\\t { \\n\\t return dato; \\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e9011c7e9d5df92bc37da314cd71601\",\n \"score\": \"0.6277951\",\n \"text\": \"private String getCampo1() {\\r\\n String campo = getNumero() + String.valueOf(boleto.getMoeda()) + boleto.getCodCliente().substring(0,4);\\r\\n \\r\\n return boleto.getDigitoCampo(campo,2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebd25349d16a250457345a1905bbfde1\",\n \"score\": \"0.6202321\",\n \"text\": \"public final ClasseAutovetturaTO getData() {\\r\\n return new ClasseAutovetturaTO(this);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6465bbb6d282fd980c2c1d3ff536b615\",\n \"score\": \"0.62009454\",\n \"text\": \"Emprestimo getDiasDeAtraso();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faf733a1cb170b0f3d0de57b66190fa9\",\n \"score\": \"0.61618614\",\n \"text\": \"private String ObtenerCabecera(){\\n int columns = jTable1.getColumnCount();\\n String [] headers = new String[columns];\\n for (int i = 0; i < columns; i++)\\n {\\n headers[i] = jTable1.getColumnName(i);\\n }\\n String header = Arrays.toString(headers);\\n String head = header.substring(1,header.indexOf(\\\"]\\\"));\\n return head;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6922120536900e3fbf649969209c078\",\n \"score\": \"0.61600274\",\n \"text\": \"public static String getDatosVehiculo (String placa, String motor, String NombreAutomovilista){\\n System.out.println(\\\"Metodo getDatosVehiculo\\\");\\r\\n return null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2894bf5f47db8539a4b687014e4b394\",\n \"score\": \"0.615782\",\n \"text\": \"public long getDataCompra() {\\r\\n return dataCompra;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bfe732c3f2dc7806ce9c530d10e98b6\",\n \"score\": \"0.6137211\",\n \"text\": \"@Override\\n\\tpublic Date getDataCadastro() {\\n\\t\\treturn this.dataCadastro;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e693e4296e70f6108ade0fd1f67910e\",\n \"score\": \"0.61297965\",\n \"text\": \"public ArrayList obtenerDatos(){\\n SQLiteDatabase sqlb = getReadableDatabase();\\r\\n\\r\\n //creo un cursor para que me haga la consulta\\r\\n Cursor cursor = sqlb.query(Constantes.TABLA_FORMULARIO,new String[] {Constantes._ID,Constantes.NOMBRE,Constantes.DNI,Constantes.CORREO,Constantes.NACIONALIDAD,Constantes.BOLETIN_NOTICIAS},null,null,null,null,Constantes._ID);\\r\\n\\r\\n //creo la array para meter los registros\\r\\n ArrayList registro = new ArrayList();\\r\\n\\r\\n //recorro la tabla\\r\\n while(cursor.moveToNext()){\\r\\n\\r\\n //añado los registros\\r\\n registro.add(new DatosRegistro(cursor.getInt(0),cursor.getString(1),cursor.getString(2),cursor.getString(3),cursor.getString(4),cursor.getString(5)));\\r\\n\\r\\n }\\r\\n\\r\\n cursor.close();\\r\\n sqlb.close();\\r\\n return registro;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"509d62bd6624d8ffeaa3b08a18115215\",\n \"score\": \"0.6105526\",\n \"text\": \"private ResultSet getComprobantes()\\t\\tthrows Exception{\\n //CONSULTA PARA OBTENER LOS DATOS\\n\\t\\tString sql =\\n\\t\\t\\\"SELECT * \\\" +\\n\\t\\t\\\"FROM \\\" +\\n\\t\\t\\\"(\\tSELECT i.AD_CLient_ID as CLIENTE,\\\" +\\n\\t\\t\\\"\\t \\t\\ti.AD_ORG_ID AS ORG,\\\" +\\n\\t\\t\\\"\\t\\t\\ti.DATEACCT as FECHA,\\\" +\\n\\t\\t\\\"\\t d.NAME as TIPO,\\\" +\\n\\t\\t\\\"\\t\\t\\ti.DocumentNo as NUMERO,\\\" +\\n\\t\\t\\\"\\t\\t\\tt.name as CONDICION,\\\" +\\n\\t\\t\\\"\\t i.C_CURRENCY_ID as MONEDA,\\\" +\\n\\t\\t\\\"\\t b.C_BPartner_ID as BP_ID,\\\" +\\n\\t\\t\\\"\\t b.VALUE as CLAVE,\\\" +\\n\\t\\t\\\"\\t b.name as NOMBRE,\\\" +\\n\\t\\t\\\"\\t\\t\\tCASE d.docbasetype\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'ARI' THEN i.grandtotal\\\" +\\n\\t\\t\\\" WHEN 'API' THEN null\\\" +\\n\\t\\t\\\" \\t\\t\\t\\tWHEN 'ARF' THEN i.grandtotal\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'ARC' THEN null\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'APC' THEN i.grandtotal\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tELSE 0\\\" +\\n\\t\\t\\\" END as DEBE,\\\" +\\n\\t\\t\\\"\\t\\t\\tCASE d.docbasetype\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'ARI' THEN null\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'API' THEN i.grandtotal\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'ARF' THEN null\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'ARC' THEN i.grandtotal\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN 'APC' THEN null\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tELSE 0\\\" +\\n\\t\\t\\\" END as HABER,\\\" +\\n\\t\\t\\\" CASE\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN i.COTIZACION is null THEN 1\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tELSE i.COTIZACION\\\" +\\n\\t\\t\\\" END as COTIZACION,\\\" +\\n\\t\\t\\\" y.ISO_CODE as CODMONEDA,\\\" +\\n\\t\\t\\\" CASE\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN bpl.C_BPartner_Location_ID is null THEN 0\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tELSE bpl.C_BPartner_Location_ID\\\" +\\n\\t\\t\\\"\\t\\t\\tEND as C_BPartner_Location_ID,\\\" +\\n\\t\\t\\\"\\t\\t\\tCASE\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tWHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\\\" +\\n\\t\\t\\\"\\t\\t\\t\\tELSE TO_CHAR(bpl.name)\\\" +\\n\\t\\t\\\"\\t\\t\\tEND as C_BPartner_Location_Name, \\\" + \\n \\\" i.DATEINVOICED as fecha_cbte\\\" +\\n\\n\\t\\t\\\"\\tFROM C_Invoice i\\\" +\\n\\t\\t\\\"\\t\\tINNER JOIN C_BPARTNER b ON(i.C_BPARTNER_ID = b.C_BPARTNER_ID)\\\" +\\n\\t\\t\\\"\\t\\tINNER JOIN C_DocType d ON(i.C_DocType_ID = d.C_DocType_ID)\\\" +\\n\\t\\t\\\"\\t\\tINNER JOIN C_PaymentTerm t ON(i.C_PaymentTerm_ID = t.C_PaymentTerm_ID)\\\" +\\n\\t\\t\\\" \\tINNER JOIN C_Currency y ON(y.C_Currency_ID = i.C_Currency_ID)\\\" +\\n /*\\n * Modificacion 28/06/2012 Maria Jesus Martin\\n * Sacamos el Join con Location ya que C_Invoice tiene el C_BPartner_Location_ID\\n * y podemos hacer directamente el Join con C_BPartner_Location\\n *\\n * Modificacion : LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\\n *\\n */\\n\\t//\\t\\\"\\t\\tLEFT JOIN C_Location l ON (i.BILL_LOCATION_ID = l.C_Location_ID)\\\" +\\n\\n\\t\\t/* 05-05-2011 Camarzana Mariano\\n\\t\\t * Se agrego a la sentencia\\n\\t\\t * LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID\\n\\t\\t * la restriccion bpl.c_bpartner_id = b.c_bpartner_id, debido a que en el caso\\n\\t\\t * en que una misma direccion este asignada a dos socios\\n\\t\\t *\\n\\t\\t */\\n\\n\\t\\t\\\"\\t\\tLEFT JOIN C_BPartner_Location bpl ON (bpl.C_Location_ID = i.Bill_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\\\" +\\n\\n\\t\\t\\tgetSqlWhere(\\\"i.ISSOTRX\\\",\\\"i.DATEACCT\\\",\\\"i.C_CURRENCY_ID\\\",\\\"i.DocStatus\\\",\\\"i.DateAcct\\\",\\\"t.netDays\\\") +\\n\\n\\t\\t\\\"\\tUNION ALL \\\" +\\n\\t\\t\\\"\\t(\\tSELECT p.AD_CLient_ID as CLIENTE,\\\" +\\n\\t\\t\\\" p.AD_ORG_ID AS ORG,\\\" +\\n\\t\\t\\\" p.DATEACCT as FECHA,\\\" +\\n\\t\\t\\\" d.NAME as TIPO,\\\" +\\n\\t\\t\\\" p.DOCUMENTNO as NUMERO,\\\" +\\n\\t\\t\\\" null as CONDICION,\\\" +\\n\\t\\t\\\" p.C_CURRENCY_ID as MONEDA,\\\" +\\n\\t\\t\\\" b.C_BPartner_ID as BP_ID,\\\" +\\n\\t\\t\\\" b.VALUE as CLAVE,\\\" +\\n\\t\\t\\\" b.name as NOMBRE,\\\" +\\n\\t\\t\\\" CASE d.docbasetype\\\" +\\n\\t\\t\\\"\\t WHEN 'ARR' THEN null\\\" +\\n\\t\\t\\\" WHEN 'APP' THEN -al.AMOUNT\\\" +\\n\\t\\t\\\" ELSE 0\\\" +\\n\\t\\t\\\" END as DEBE,\\\" +\\n\\t\\t\\\" CASE d.docbasetype\\\" +\\n\\t\\t\\\"\\t WHEN 'ARR' THEN al.AMOUNT\\\" +\\n\\t\\t\\\" \\t WHEN 'APP' THEN null\\\" +\\n\\t\\t\\\" ELSE 0\\\" +\\n\\t\\t\\\" END as HABER,\\\" +\\n\\t\\t\\\" CASE\\\" +\\n\\t\\t\\\" WHEN p.COTIZACION is null THEN 1\\\" +\\n\\t\\t\\\" ELSE p.COTIZACION\\\" +\\n\\t\\t\\\" END as COTIZACION,\\\" +\\n\\t\\t\\\"\\t y.ISO_CODE as CODMONEDA,\\\" +\\n\\t\\t\\\" CASE\\\" +\\n\\t\\t\\\"\\t WHEN bpl.C_BPartner_Location_ID is null THEN 0\\\" +\\n\\t\\t\\\" ELSE bpl.C_BPartner_Location_ID\\\" +\\n\\t\\t\\\" END as C_BPartner_Location_ID,\\\" +\\n\\t\\t\\\" CASE\\\" +\\n\\t\\t\\\"\\t WHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\\\" +\\n\\t\\t\\\" ELSE TO_CHAR(bpl.name)\\\" +\\n\\t\\t\\\" END as C_BPartner_Location_Name,\\\" +\\n \\\" p.DATETRX as fecha_cbte \\\" +\\n\\n /*\\n * Modificacion 28/06/2012 Maria Jesus Martin\\n *\\n * Como la localizacion que se toma es la del pago, no debemos hacer el Join por localizacion con\\n * la factura, ya que pueden tener localizaciones diferentes. Solo tomamos la localizacion del pago.\\n * Es por esto que hacemos el Join con C_BPartner_Location a partir del C_Payment, que antes lo tenia\\n * con el C_Location.\\n *\\n *\\n */\\n\\n\\t\\t\\\"\\t\\tFROM C_Payment p\\\" +\\n\\n\\t\\t\\\"\\t INNER JOIN C_DocType d ON(p.C_DocType_ID = d.C_DocType_ID)\\\" +\\n\\t\\t\\\" \\t\\t INNER JOIN C_BPARTNER b ON(p.C_BPARTNER_ID = b.C_BPARTNER_ID)\\\" +\\n\\t\\t\\\" INNER JOIN C_Currency y ON(y.C_Currency_ID = p.C_Currency_ID)\\\" +\\n\\t\\t\\\" INNER JOIN C_AllocationLine al ON (al.C_Payment_ID = p.C_Payment_ID)\\\" +\\n\\t\\t\\\" INNER JOIN C_Allocationhdr ah ON (ah.C_AllocationHdr_ID = al.C_AllocationHdr_ID)\\\" +\\n\\t//\\t\\\" LEFT JOIN C_Invoice i ON (al.C_Invoice_ID = i.C_Invoice_ID)\\\" +\\n\\t//\\t\\\" LEFT JOIN C_Location l ON (i.BILL_LOCATION_ID = l.C_Location_ID)\\\" +\\n\\n\\t\\t/* 05-05-2011 Camarzana Mariano\\n\\t\\t * Se agrego a la sentencia\\n\\t\\t * LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID\\n\\t\\t * la restriccion bpl.c_bpartner_id = b.c_bpartner_id, debido a que en el caso\\n\\t\\t * en que una misma direccion este asignada a dos socios\\n\\t\\t *\\n\\t\\t */\\n\\n\\t\\t\\\"\\t\\t LEFT JOIN C_BPartner_Location bpl ON (bpl.C_BPartner_Location_ID = p.C_BPartner_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\\\" +\\n\\n\\t getSqlWhere(\\\"p.ISRECEIPT\\\",\\\"p.DATEACCT\\\",\\\"p.C_CURRENCY_ID\\\",\\\"p.DocStatus\\\",\\\"p.dateAcct\\\",\\\"0\\\") +\\n\\n /*\\n * Zynnia 09/03/2012\\n * Modificado de UNION a UNION ALL para que tome los registros duplicados en la\\n * consulta ya que por las características de la misma puede darse que dos\\n * facturas tengan mismo importe en un mismo pago y se duplica exactamente el\\n * registro.\\n *\\n */\\n\\n\\n\\n\\t \\\"\\t\\tUNION ALL \\\" +\\n\\t \\\"\\t\\t(\\tSELECT t.AD_CLient_ID as CLIENTE,\\\" +\\n\\t \\\" t.AD_ORG_ID AS ORG,\\\" +\\n\\t \\\" t.DATEACCT as FECHA,\\\" +\\n\\t \\\" d.NAME as TIPO,\\\" +\\n\\t \\\" t.DOCUMENTNO as NUMERO,\\\" +\\n\\t \\\" null as CONDICION,\\\" +\\n\\t \\\" t.C_CURRENCY_ID as MONEDA,\\\" +\\n\\t \\\" b.C_BPartner_ID as BP_ID,\\\" +\\n\\t \\\" b.VALUE as CLAVE,\\\" +\\n\\t \\\" b.name as NOMBRE,\\\" +\\n\\t \\\" CASE d.docbasetype\\\" +\\n\\t \\\"\\t WHEN 'ARR' THEN null\\\" +\\n\\t \\\" WHEN 'APP' THEN PAYMENTAVAILABLE(t.C_Payment_ID) * -1\\\" +\\n\\t \\\" ELSE 0\\\" +\\n\\t \\\" END as DEBE,\\\" +\\n\\t \\\" CASE d.docbasetype\\\" +\\n\\t \\\" WHEN 'ARR' THEN PAYMENTAVAILABLE(t.C_Payment_ID)\\\" +\\n\\t \\\" WHEN 'APP' THEN null\\\" +\\n\\t \\\"\\t ELSE 0\\\" +\\n\\t \\\" END as HABER,\\\" +\\n\\t \\\" CASE\\\" +\\n\\t \\\" WHEN t.COTIZACION is null THEN 1\\\" +\\n\\t \\\" ELSE t.COTIZACION\\\" +\\n\\t \\\" END as COTIZACION,\\\" +\\n\\t \\\" y.ISO_CODE as CODMONEDA,\\\" +\\n /*\\n * Modificacion 28/06/2012 Maria Jesus Martin\\n *\\n * Cambiamos lo que retorna en C_BPartner, ya que siempre va a tener una localizacion\\n * el pago.\\n *\\n *\\n */\\n \\\" CASE \\\" +\\n\\t\\t\\\"\\t WHEN bpl.C_BPartner_Location_ID is null THEN 0\\\" +\\n\\t\\t\\\" ELSE bpl.C_BPartner_Location_ID\\\" +\\n\\t\\t\\\" END as C_BPartner_Location_ID,\\\" +\\n\\t\\t\\\" CASE\\\" +\\n\\t\\t\\\"\\t WHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\\\" +\\n\\t\\t\\\" ELSE TO_CHAR(bpl.name)\\\" +\\n\\t\\t\\\" END as C_BPartner_Location_Name, \\\" +\\n//\\t \\\" 0 as C_BPartner_Location_ID,\\\" +\\n//\\t \\\" 'SIN ASIGNAR' as C_BPartner_Location_Name\\\" +\\n \\\" t.DATETRX as fecha_cbte\\\" +\\n\\n\\t \\\" FROM C_Payment t\\\" +\\n\\t \\\"\\t INNER JOIN C_DocType d ON(t.C_DocType_ID = d.C_DocType_ID)\\\" +\\n\\t \\\"\\t\\t\\t INNER JOIN C_BPARTNER b ON(t.C_BPARTNER_ID = b.C_BPARTNER_ID)\\\" +\\n\\t \\\" INNER JOIN C_Currency y ON(y.C_Currency_ID = t.C_Currency_ID)\\\" +\\n /*\\n * Modificacion 28/06/2012 Maria Jesus Martin\\n *\\n * Agregamos el C_BPartner_Location, ya que no importa si no tiene una factura asignadada.\\n * Un pago siempre tiene una direccion.\\n *\\n *\\n */\\n\\n \\\" LEFT JOIN C_BPartner_Location bpl ON (bpl.C_BPartner_Location_ID = t.C_BPartner_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\\\" +\\n\\n\\t getSqlWhere(\\\"t.ISRECEIPT\\\",\\\"t.DATEACCT\\\",\\\"t.C_CURRENCY_ID\\\",\\\"t.DocStatus\\\",\\\"t.dateAcct\\\",\\\"0\\\") +\\n\\t \\\" \\tAND t.isAllocated = 'N' AND PAYMENTAVAILABLE(t.C_Payment_ID) <> 0\\\" +\\n\\n\\t \\\" )\\\" +\\n\\t \\\" )\\\" +\\n\\t \\\") ORDER BY CLAVE,C_BPartner_Location_ID,FECHA\\\";\\n\\n System.out.println(sql);\\n PreparedStatement pstmt = DB.prepareStatement(sql, get_TrxName());\\n int paramIndex = 1;\\n\\n if (isSOTrx.booleanValue() == true)\\n \\tpstmt.setString(paramIndex, \\\"Y\\\");\\n else\\n \\tpstmt.setString(paramIndex, \\\"N\\\");\\n paramIndex++;\\n\\n if (fromDate!=null){\\n pstmt.setTimestamp(paramIndex, fromDate);\\n paramIndex++;\\n }\\n if (toDate!=null){\\n pstmt.setTimestamp(paramIndex, toDate);\\n paramIndex++;\\n }\\n if (fromBPartner!=null){\\n \\tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\\n \\t\\tpstmt.setString(paramIndex, partner.getValue());\\n paramIndex++;\\n }\\n if (toBPartner!=null){\\n \\tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\\n \\tpstmt.setString(paramIndex, partner.getValue());\\n paramIndex++;\\n }\\n if (fromVenc!=null){\\n pstmt.setTimestamp(paramIndex, fromVenc);\\n paramIndex++;\\n }\\n \\n if (toVenc!=null){\\n pstmt.setTimestamp(paramIndex, toVenc);\\n paramIndex++;\\n }\\n\\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\\n paramIndex++;\\n\\n if (isSOTrx.booleanValue() == true)\\n \\tpstmt.setString(paramIndex, \\\"Y\\\");\\n else\\n \\tpstmt.setString(paramIndex, \\\"N\\\");\\n paramIndex++;\\n\\n if (fromDate!=null){\\n pstmt.setTimestamp(paramIndex, fromDate);\\n paramIndex++;\\n }\\n if (toDate!=null){\\n pstmt.setTimestamp(paramIndex, toDate);\\n paramIndex++;\\n }\\n if (fromBPartner!=null){\\n \\tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\\n \\t\\tpstmt.setString(paramIndex, partner.getValue());\\n paramIndex++;\\n }\\n \\n if (toBPartner!=null){\\n \\tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\\n \\tpstmt.setString(paramIndex, partner.getValue());\\n paramIndex++;\\n }\\n \\n if (fromVenc!=null){\\n pstmt.setTimestamp(paramIndex, fromVenc);\\n paramIndex++;\\n }\\n \\n if (toVenc!=null){\\n pstmt.setTimestamp(paramIndex, toVenc);\\n paramIndex++;\\n }\\n\\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\\n paramIndex++;\\n\\n if (isSOTrx.booleanValue() == true)\\n \\tpstmt.setString(paramIndex, \\\"Y\\\");\\n else\\n \\tpstmt.setString(paramIndex, \\\"N\\\");\\n paramIndex++;\\n\\n if (fromDate!=null){\\n pstmt.setTimestamp(paramIndex, fromDate);\\n paramIndex++;\\n }\\n if (toDate!=null){\\n pstmt.setTimestamp(paramIndex, toDate);\\n paramIndex++;\\n }\\n if (fromBPartner!=null){\\n \\tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\\n \\t\\tpstmt.setString(paramIndex, partner.getValue());\\n paramIndex++;\\n }\\n if (toBPartner!=null){\\n \\tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\\n \\tpstmt.setString(paramIndex, partner.getValue());\\n paramIndex++;\\n }\\n \\n if (fromVenc!=null){\\n pstmt.setTimestamp(paramIndex, fromVenc);\\n paramIndex++;\\n }\\n \\n if (toVenc!=null){\\n pstmt.setTimestamp(paramIndex, toVenc);\\n paramIndex++;\\n }\\n\\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\\n\\n return pstmt.executeQuery();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e9204906c5d1ff8dfb2e7870522d086\",\n \"score\": \"0.60914564\",\n \"text\": \"private void buscarCompra() {\\n Conexion cn = new Conexion();\\n try {\\n cn.conectar();\\n ResultSet pedi = cn.consultar(\\\"SELECT * from compra\\\\n\\\"\\n + \\\"where compra_id::varchar(255) LIKE '%\\\" + txtBuscar.getText() + \\\"%' and estado != 'ANULADO'\\\\n\\\"\\n + \\\"ORDER BY compra_id desc\\\"); //order by ordena de menor a mayor, si se quiere de mayor a menor se le agrega desc al final\\n Metodos.limpiarTabla(grillaBuscador);\\n//\\n// System.out.println(grillaBuscador.getColumnCount());\\n// if (grillaBuscador.getColumnCount() > 8) {\\n// grillaBuscador.getColumnModel().removeColumn(grillaBuscador.getColumnModel().getColumn(grillaBuscador.getColumnCount() - 1));\\n// }\\n if (pedi.isBeforeFirst()) {\\n while (pedi.next()) {\\n Metodos.cargarTabla(grillaBuscador, new Object[]{\\n pedi.getString(\\\"compra_id\\\"),\\n pedi.getString(\\\"nro_factura\\\"),\\n pedi.getString(\\\"tipo\\\"),\\n pedi.getString(\\\"comp_fecha\\\"),\\n pedi.getString(\\\"cuotas\\\"),\\n pedi.getString(\\\"sucur_id\\\"),\\n pedi.getString(\\\"ord_id\\\"),\\n pedi.getString(\\\"pro_id\\\"),\\n pedi.getString(\\\"pro_id\\\"),\\n pedi.getString(\\\"usu_id\\\"),\\n pedi.getString(\\\"emp_id\\\")\\n });\\n }\\n } else {\\n\\n JOptionPane.showMessageDialog(null, \\\"No hay registros en la base de datos\\\");\\n }\\n } catch (ClassNotFoundException ex) {\\n Logger.getLogger(clientes.class.getName()).log(Level.SEVERE, null, ex);\\n JOptionPane.showMessageDialog(null, \\\"No se encuentra \\\" + ex.getMessage());\\n } catch (SQLException ex) {\\n Logger.getLogger(clientes.class.getName()).log(Level.SEVERE, null, ex);\\n JOptionPane.showMessageDialog(null, ex.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27523ec82ee3126b3ed0872036a5094c\",\n \"score\": \"0.60787016\",\n \"text\": \"public String getDatos() {\\n\\t\\treturn \\\"El titulo es: \\\" + titulo + \\\" El autor es: \\\" + autor + \\\" El ISBN ES: \\\" + ISBN;\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d24d57a28ef8aeef6e1e90ccb76b80d0\",\n \"score\": \"0.6069707\",\n \"text\": \"public Tarifa recuperarTarifas(){\\n try {\\n this.conectarDB(); \\n declaracionSegura = conexion.prepareStatement(\\\"SELECT* FROM Tarifa;\\\");\\n resultado = declaracionSegura.executeQuery();\\n while(resultado.next()){\\n tarifa = new Tarifa(resultado.getDouble(\\\"TarifaOperacionGlobal\\\"), resultado.getDouble(\\\"PrecioLibraGlobal\\\"), resultado.getDouble(\\\"CuotaPriorizacionGlobal\\\"), resultado.getDouble(\\\"CuotaDestinoGlobal\\\"));\\n }\\n } \\n catch (SQLException ex) {\\n System.out.println(ex);\\n }\\n return tarifa;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ac412574c1e9af72cca04386f886df1\",\n \"score\": \"0.60521144\",\n \"text\": \"public Object [][] getDatos(){\\n int registros = 0;\\n //obtenemos la cantidad de registros existentes en la tabla\\n try{ \\n PreparedStatement pstm = con.getConnection().prepareStatement(\\\"SELECT count(1) as total FROM CONSULTA_MEDICA\\\"); \\n try (ResultSet res = pstm.executeQuery()) {\\n res.next();\\n registros = res.getInt(\\\"total\\\");\\n }\\n }catch(SQLException e){\\n System.out.println(e);\\n }\\n \\n Object[][] data = new String[registros][3]; \\n //realizamos la consulta sql y llenamos los datos en \\\"Object\\\"\\n try{ \\n PreparedStatement pstm = con.getConnection().prepareStatement(\\\"SELECT \\\" +\\n \\\" FECHA_CONSULTA, DIAGNOSTICO, TRATAMIENTO \\\" +\\n \\\" FROM CONSULTA_MEDICA \\\" ); // \\\" ORDER BY FECHA_CONSULTA \\\"\\n try (ResultSet res = pstm.executeQuery()) {\\n int i = 0;\\n while(res.next()){\\n String estFecha = res.getString(\\\"FECHA_CONSULTA\\\");\\n String estDiagnostico = res.getString(\\\"DIAGNOSTICO\\\");\\n String estTratamiento = res.getString(\\\"TRATAMIENTO\\\");\\n data[i][0] = estFecha;\\n data[i][1] = estDiagnostico; \\n data[i][2] = estTratamiento;\\n i++;\\n \\n }}\\n }catch(SQLException e){\\n System.out.println(e);\\n }\\n return data;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39ec9a8668d702456f2365ab5e456a66\",\n \"score\": \"0.60351515\",\n \"text\": \"public final AgenziaTO getData() {\\r\\n return new AgenziaTO(this);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a35ae1b301297f010f92cf74e8faf5b\",\n \"score\": \"0.6029856\",\n \"text\": \"public void getObra() {\\r\\n System.out.println(\\\"PUBLICAÇÕES DO AUTOR\\\");\\r\\n for (int i = 0; i < Obra.size(); i++){\\r\\n System.out.println(\\\"\\\\t: \\\" + this.Obra.get(i).getTitulo());\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31eacaab9e990bfb8c40eec517ae96bf\",\n \"score\": \"0.6002146\",\n \"text\": \"@Path(\\\"Orden\\\")\\n\\t@GET\\n\\t@Produces(MediaType.APPLICATION_JSON)\\n\\tpublic Platillo getOrdenes(){\\n\\t\\tCliente aux=cheffS.getCola().getClientes().get(0);\\n\\t\\tcheffS.getCola().getClientes().remove(0);\\n\\t\\t\\n\\t\\treturn cheffS.busquedaBinaria(cheffS.getPlat(),aux.getNombrePlatillo());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8de778a74eb2eac2029689e1ddc3bc3\",\n \"score\": \"0.5998911\",\n \"text\": \"private ArrayList getReciboLineaxTrans(Connection con, Recibo cab) throws ObteniendoReciboException, ConexionException {\\r\\n\\t\\t\\r\\n\\t\\tArrayList lst = new ArrayList();\\r\\n\\t\\r\\n\\t\\ttry {\\r\\n\\t\\t\\t\\r\\n\\t \\tConsultas clts = new Consultas();\\r\\n\\t \\tString query = clts.getReciboDetxTrans();\\r\\n\\t \\tPreparedStatement pstmt1 = con.prepareStatement(query);\\r\\n\\t \\t\\r\\n\\t \\tResultSet rs;\\r\\n\\t \\t\\r\\n\\t \\tpstmt1.setLong(1, cab.getNroTrans());\\r\\n\\t\\t\\trs = pstmt1.executeQuery();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tReciboDetalle aux;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\twhile(rs.next ()) {\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux = new ReciboDetalle();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t/*Cuenta ind es el del cabezal (en la linea solo tenemos la cuenta)*/\\r\\n\\t\\t\\t\\taux.setCodCuentaInd(cab.getCuenta().getCodCuenta());\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t/*El titular es el del Cabezal*/\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setTitInfo(new TitularInfo(cab.getTitInfo().getCodigo(), cab.getTitInfo().getNombre()) );\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setCuenta(new CuentaInfo(rs.getString(\\\"cod_cuenta\\\"), rs.getString(\\\"nom_cuenta\\\")));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setCodEmp(cab.getCodEmp());\\r\\n\\t\\t\\t\\taux.setCodDocum(rs.getString(\\\"cod_docum\\\"));\\r\\n\\t\\t\\t\\taux.setSerieDocum(rs.getString(\\\"serie_docum\\\"));\\r\\n\\t\\t\\t\\taux.setNroDocum(rs.getInt(\\\"nro_docum\\\"));\\r\\n\\t\\t\\t\\taux.setCodProceso(rs.getString(\\\"cod_proceso\\\"));\\r\\n\\t\\t\\t\\taux.setDescProceso(rs.getString(\\\"nom_proceso\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setRubroInfo(new RubroInfo(rs.getString(\\\"cod_rubro\\\"), rs.getString(\\\"nom_rubro\\\")));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setFecDoc(rs.getTimestamp(\\\"fec_doc\\\"));\\r\\n\\t\\t\\t\\taux.setFecValor(rs.getTimestamp(\\\"fec_valor\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setMoneda(new MonedaInfo(rs.getString(\\\"cod_moneda\\\"), rs.getString(\\\"nom_moneda\\\"), rs.getString(\\\"simbolo\\\")));\\r\\n\\t\\t\\t\\taux.getMoneda().setNacional(rs.getBoolean(\\\"nacional\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setImpuestoInfo(new ImpuestoInfo(rs.getString(\\\"cod_impuesto\\\"), rs.getString(\\\"nom_impuesto\\\"), rs.getDouble(\\\"porcentaje\\\")));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setImpImpuMn(rs.getDouble(\\\"imp_impu_mn\\\"));\\r\\n\\t\\t\\t\\taux.setImpImpuMo(rs.getDouble(\\\"imp_impu_mo\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setImpSubMn(rs.getDouble(\\\"imp_sub_mn\\\"));\\r\\n\\t\\t\\t\\taux.setImpSubMo(rs.getDouble(\\\"imp_sub_mo\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setImpTotMn(rs.getDouble(\\\"imp_tot_mn\\\"));\\r\\n\\t\\t\\t\\taux.setImpTotMo(rs.getDouble(\\\"imp_tot_mo\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setTcMov(rs.getDouble(\\\"tc_mov\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setReferencia(rs.getString(\\\"referencia\\\"));\\r\\n\\t\\t\\t\\taux.setNroTrans(rs.getInt(\\\"nro_trans\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\taux.setUsuarioMod(rs.getString(\\\"usuario_mod\\\"));\\r\\n\\t\\t\\t\\taux.setFechaMod(rs.getTimestamp(\\\"fecha_mod\\\"));\\r\\n\\t\\t\\t\\taux.setOperacion(rs.getString(\\\"operacion\\\"));\\r\\n\\t\\t\\t\\taux.setLinea(rs.getInt(\\\"linea\\\"));\\r\\n\\t\\t\\t\\taux.setEstadoGasto(\\\"0\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tlst.add(aux);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\trs.close ();\\r\\n\\t\\t\\tpstmt1.close ();\\r\\n \\t}\\t\\r\\n \\t\\r\\n\\t\\tcatch (SQLException e) {\\r\\n\\t\\t\\tthrow new ObteniendoReciboException();\\r\\n\\t\\t\\t\\r\\n\\t\\t}\\r\\n \\t\\r\\n \\treturn lst;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3a573ec707bdf9817b894b9578044b3\",\n \"score\": \"0.59750324\",\n \"text\": \"public String getConsumCotaIndivizia(String ap, String luna, String an){\\n String consum=\\\"0.0\\\";\\n String sql=\\\" SELECT cotaIndivizia FROM \\\"+TABLE_NAME_Intretinere+\\\" where Nr_ap=\\\"+\\\"'\\\"+ap+\\\"'\\\"+\\\" and dataLuna=\\\"+\\\"'\\\"+luna+\\\"'\\\" +\\\" and dataAn=\\\"+\\\"'\\\"+an+\\\"'\\\";\\n Cursor cursor=getReadableDatabase().rawQuery(sql,null);\\n if(cursor.getCount()>0){\\n cursor.moveToNext();\\n consum=cursor.getString(0);\\n }\\n return consum;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3d94211b74b2e63b476dd819d868c64\",\n \"score\": \"0.59685445\",\n \"text\": \"private void llenar_celdas() {\\n String data[] = new String[12];\\n for (int i = 0; i < listac.size(); i++) {\\n data[0] = listac.get(i).getId();\\n data[1] = listac.get(i).getDni();\\n data[2] = listac.get(i).getApellidos();\\n data[3] = listac.get(i).getNombres();\\n data[4] = listac.get(i).getEstado();\\n data[5] = listac.get(i).getPeriodo();\\n data[6] = listac.get(i).getFecha();\\n data[7] = listac.get(i).getDescripcion();\\n data[8] = listac.get(i).getPlan();\\n data[9] = listac.get(i).getDeuda();\\n data[11] = listac.get(i).getMonto();\\n modelo.addRow(data);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b2a25f40fa8c81e654c770b06957323\",\n \"score\": \"0.5932301\",\n \"text\": \"public ArrayList Datos_Cadete(String nombre){\\r\\n\\t\\t\\tdatos_Cadetes=new ArrayList();\\r\\n\\t\\t\\ttry{\\r\\n\\t\\t\\t\\tinstruccion = this.conexion.createStatement();\\r\\n\\t\\t\\t\\tconjuntoResultados = instruccion.executeQuery(\\\"SELECT * FROM cadetes WHERE nombre='\\\"+nombre+\\\"'\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\twhile(conjuntoResultados.next()){\\r\\n\\t\\t\\t\\t\\tString[] datos_cadete = new String[6];\\r\\n\\t\\t\\t\\t\\tdatos_cadete[0]=conjuntoResultados.getString(COD_ID);\\r\\n\\t\\t\\t\\t\\tdatos_cadete[1]=conjuntoResultados.getString(COD_NOMBRE);\\r\\n\\t\\t\\t\\t\\tdatos_cadete[2]=conjuntoResultados.getString(COD_APELLIDOS);\\r\\n\\t\\t\\t\\t\\tdatos_cadete[3]=conjuntoResultados.getString(COD_EDAD);\\r\\n\\t\\t\\t\\t\\tdatos_cadete[4]=conjuntoResultados.getString(COD_NACIONALIDAD);\\r\\n\\t\\t\\t\\t\\tdatos_cadete[5]=conjuntoResultados.getString(COD_EQUIPO);\\r\\n\\t\\t\\t\\t\\tdatos_Cadetes.add(datos_cadete);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcatch( SQLException excepcionSql ) \\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\texcepcionSql.printStackTrace();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tfinally{\\r\\n\\t\\t\\t\\ttry{\\r\\n\\t\\t\\t\\t\\tconjuntoResultados.close();\\r\\n\\t\\t\\t\\t\\tinstruccion.close();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tcatch( SQLException excepcionSql ) \\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\texcepcionSql.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\treturn datos_Cadetes;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a96655ad9d5e68f2195205b0e084e79\",\n \"score\": \"0.5931334\",\n \"text\": \"private List getRitmoCardiacoBD() throws SQLException {\\n\\t\\tList listaReturn = new ArrayList<>();\\n\\t\\t\\n\\t\\tfinal String query = \\\"select * from sensor_ritmo_cardiaco order by FECHA\\\";\\n\\t\\tStatement statement;\\n\\t\\tResultSet rs;\\n\\t\\tconn = DriverManager.getConnection(myUrl, userBD, passBD);\\n\\t\\tstatement = conn.createStatement();\\n\\t\\trs = statement.executeQuery(query);\\n\\t\\twhile (rs.next()) {\\n\\t\\t\\tRitmoCardiaco temporal = new RitmoCardiaco(rs.getString(\\\"DNI_PACIENTE\\\"), rs.getTimestamp(\\\"FECHA\\\"), rs.getInt(\\\"VALOR\\\"));\\n\\t\\t\\tlistaReturn.add(temporal);\\n\\t\\t}\\n\\t\\tconn.close();\\n\\t\\tstatement.close();\\n rs.close();\\n \\n\\t\\treturn listaReturn;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ff7d532fa197e981baaf6da799d1335\",\n \"score\": \"0.59169775\",\n \"text\": \"private String getData() {\\n\\t\\tDateFormat formater = new SimpleDateFormat(\\\"dd/MM/yyyy\\\");\\n\\t\\treturn formater.format(this.dataDePublicacao);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23e901973c7781a870b748e9141fa7ec\",\n \"score\": \"0.5904527\",\n \"text\": \"@Override\\n\\tpublic Cuota mostrar() {\\n\\t\\tLOG.info(\\\"Mostrar los datos de la cuota\\\");\\n\\t\\treturn cuota;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51d919038ae6c82fcfab4ad7fd1680cd\",\n \"score\": \"0.58969975\",\n \"text\": \"public String getAplicaConvenio()\\r\\n/* 188: */ {\\r\\n/* 189:346 */ return this.aplicaConvenio;\\r\\n/* 190: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e646c79d25c5daf4e3188d0aa2f2ee9d\",\n \"score\": \"0.58843553\",\n \"text\": \"public void obtenerDias() {\\r\\n\\t\\tlong dias = FechasUtil.getInstancia().restarFechas(polizaBean.getVigenciaDesde(), polizaBean.getVigenciaHasta());\\r\\n\\r\\n\\t\\tpolizaBean.setDiasCobertura(Integer.parseInt(Long.toString(dias)));\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9527b97ce7fa2d4413f634b0737dfb99\",\n \"score\": \"0.58818823\",\n \"text\": \"public double getCreditosEscolhidos() {\\n pessoa = docente;\\n //List quad = disponibilidadeFacade.findByDocenteQuad(pessoa, quadrimestre);\\n List quad = dispFacade.findByDocenteQuad(pessoa, quadrimestre);\\n //Busca de oferta de disciplinas no quadrimestre\\n List oferta = turmasFacade.findAllQuad(quadrimestre);\\n //For para listar apenas as disciplinas planejadas pelo docente\\n List planejados = new ArrayList<>();\\n long id_o = 0;\\n long id_d = 0;\\n for(OfertaDisciplina o : oferta){\\n /*for(Disponibilidade d : quad){\\n id_o = o.getID();\\n id_d = d.getOfertaDisciplina().getID();\\n if(id_o == id_d){\\n planejados.add(o);\\n }\\n }*/\\n for(Disp d : quad){\\n id_o = o.getID();\\n id_d = d.getOfertaDisciplina().getID();\\n if(id_o == id_d){\\n planejados.add(o);\\n }\\n }\\n }\\n //Contagem de créditos\\n int creditos=0;\\n for(OfertaDisciplina o : planejados){\\n /*for(Disponibilidade d : quad){\\n id_o = o.getID();\\n id_d = d.getOfertaDisciplina().getID();\\n if(id_o == id_d){\\n if(d.getTp().equals(\\\"Teoria\\\")){\\n creditos += o.getT();\\n }\\n else if(d.getTp().equals(\\\"Pratica\\\")){\\n creditos += o.getP();\\n }\\n else{\\n creditos += o.getP() + o.getT();\\n }\\n }\\n }*/\\n for(Disp d : quad){\\n id_o = o.getID();\\n id_d = d.getOfertaDisciplina().getID();\\n if(id_o == id_d){\\n if(d.getTp().equals(\\\"Teoria\\\")){\\n creditos += o.getT();\\n }\\n else if(d.getTp().equals(\\\"Pratica\\\")){\\n creditos += o.getP();\\n }\\n else{\\n creditos += o.getP() + o.getT();\\n }\\n }\\n }\\n }\\n int total = creditos;\\n \\n return creditosEscolhidos = total;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6630647c9e83f9f4596377afab70171\",\n \"score\": \"0.5878648\",\n \"text\": \"private void llenarCabezales() {\\n\\t\\tfor (int i = 1; i < datos.length; i++)\\n\\t\\t\\tdatos[i][0] = this.agencias[i - 1];\\n\\n\\t\\tfor (int i = 1; i < datos[0].length; i++)\\n\\t\\t\\tdatos[0][i] = this.actividades[i - 1];\\n\\n\\t\\tdatos[0][0] = \\\"Agencia\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"563c9052ee546c844430ebab320aa4a6\",\n \"score\": \"0.5877319\",\n \"text\": \"String getContrasenia();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e44f97cf79e958fc96a0f69b304e59b3\",\n \"score\": \"0.58757293\",\n \"text\": \"public Nodo datos() {\\n Nodo nodoraiz = new Nodo(\\\"A\\\");\\n this.nodoraiz = nodoraiz;\\n Nodo nodo = new Nodo(\\\"D\\\");\\n Nodo nodo1 = new Nodo(\\\"F\\\");\\n Nodo nodo2 = new Nodo(\\\"G\\\");\\n Nodo nodo3 = new Nodo(\\\"J\\\");\\n Nodo nodo4 = new Nodo(\\\"H\\\");\\n Nodo nodo5 = new Nodo(\\\"C\\\");\\n Nodo nodo6 = new Nodo(\\\"E\\\");\\n Nodo nodo7 = new Nodo(\\\"K\\\");\\n Nodo nodo8 = new Nodo(\\\"B\\\");\\n Nodo nodo9 = new Nodo(\\\"Z\\\");\\n Nodo nodo10 = new Nodo(\\\"W\\\");\\n Nodo nodo11 = new Nodo(\\\"L\\\");\\n nodoraiz.getNodos().add(nodo);\\n nodoraiz.getNodos().add(nodo1);\\n nodoraiz.getNodos().add(nodo2);\\n nodoraiz.getAristas().add(new Arista(\\\"D\\\", 4));\\n nodoraiz.getAristas().add(new Arista(\\\"F\\\", 5));\\n nodoraiz.getAristas().add(new Arista(\\\"G\\\", 6));\\n nodo.getPadre().add(nodoraiz);\\n nodo1.getPadre().add(nodoraiz);\\n nodo2.getPadre().add(nodoraiz);\\n nodoraiz.setHeuristica(10);\\n\\n nodo.getNodos().add(nodo3);\\n nodo.getNodos().add(nodo4);\\n nodo.getAristas().add(new Arista(\\\"J\\\", 4));\\n nodo.getAristas().add(new Arista(\\\"H\\\", 3));\\n nodo4.getPadre().add(nodo);\\n nodo3.getPadre().add(nodo);\\n nodo.setHeuristica(10);\\n\\n nodo1.getNodos().add(nodo5);\\n nodo1.getNodos().add(nodo6);\\n nodo1.getAristas().add(new Arista(\\\"C\\\", 2));\\n nodo1.getAristas().add(new Arista(\\\"E\\\", 3));\\n nodo5.getPadre().add(nodo1);\\n nodo6.getPadre().add(nodo1);\\n nodo1.setHeuristica(20);\\n\\n nodo2.setHeuristica(30);\\n\\n nodo3.getNodos().add(nodo7);\\n nodo3.getAristas().add(new Arista(\\\"K\\\", 6));\\n nodo7.getPadre().add(nodo3);\\n nodo3.setHeuristica(15);\\n\\n nodo7.getNodos().add(nodo11);\\n nodo7.getAristas().add(new Arista(\\\"L\\\", 4));\\n nodo11.getPadre().add(nodo7);\\n nodo7.setHeuristica(6);\\n\\n nodo4.getNodos().add(nodo8);\\n nodo4.getAristas().add(new Arista(\\\"B\\\", 2));\\n nodo8.getPadre().add(nodo4);\\n nodo4.setHeuristica(4);\\n\\n nodo6.getNodos().add(nodo9);\\n nodo6.getNodos().add(nodo10);\\n nodo6.getAristas().add(new Arista(\\\"Z\\\", 2));\\n nodo6.getAristas().add(new Arista(\\\"W\\\", 3));\\n nodo9.getPadre().add(nodo6);\\n nodo10.getPadre().add(nodo6);\\n nodo6.setHeuristica(5);\\n\\n nodo5.setHeuristica(10);\\n nodo8.setHeuristica(4);\\n nodo9.setHeuristica(6);\\n nodo10.setHeuristica(0);\\n nodo11.setHeuristica(3);\\n return nodoraiz;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c86bc079336be520e68c27ea87e1c159\",\n \"score\": \"0.5870166\",\n \"text\": \"@Override\\r\\n\\tpublic void llenar_datos() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2d4b8866737df870f0c1d4719da1a38\",\n \"score\": \"0.58666986\",\n \"text\": \"@Data(size=4, value=\\\"0061\\\")\\n IString conhecimDepObrig() ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a3f38525779764d1135735906b3f923\",\n \"score\": \"0.5866402\",\n \"text\": \"public void cargartxtCarro() {\\n\\t\\tString carros=\\\"\\\";\\n\\t\\tfor (int i = 0; i < listaCarros.size(); i++) {\\n\\t\\t\\tcarros+=listaCarros.get(i).toString()+\\\"\\\\n\\\";\\n\\t\\t}\\n\\t\\ta.SobreescribirInformacion(RUTACARRO, carros);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a30bbce74fffb9469ac9f62281a1b81\",\n \"score\": \"0.5864441\",\n \"text\": \"public NodoDoble nodoCabeza(){\\r\\n return mat.getLd();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6568c2693fa6e52c70b26f4dd992ef6b\",\n \"score\": \"0.5837161\",\n \"text\": \"public Aeronave getDados() {\\n\\t\\tAeronave aero= new Aeronave();\\n\\t\\tProprietarioDAO proprietarioDAO= new ProprietarioDAO();\\n\\t\\tint idProp=proprietarioDAO.selecionarIdProprietarioByName((String)txtProprietario.getSelectedItem());\\n\\t\\taero.setIdProprietario(idProp);\\n\\t\\tTipoAeronaveDAO tipoAeronaveDAO= new TipoAeronaveDAO();\\n\\t\\tint idTipoAeronave= tipoAeronaveDAO.selecionarId((String)txtEquipamento.getSelectedItem());\\n\\t\\taero.setIdTipoAeronave(idTipoAeronave);\\n\\t\\taero.setMatricula(txtMatricula.getText().toUpperCase());\\n\\t\\taero.setTipoAsa((String)txtTipoDeAsa.getSelectedItem());\\n\\t\\t\\n\\t\\treturn aero;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4eac9edf12cc1bf4b248800ce35246bd\",\n \"score\": \"0.58084923\",\n \"text\": \"public void obtenerOficinas() {\\n try {\\n setOficinas((List) genericDAOBean.findAllByColumn(MarOficinasRegistros.class, \\\"morEstado\\\", \\\"A\\\", true, \\\"morNombre asc\\\"));\\n getOficinas().add(0, null);\\n } catch (Exception e) {\\n logger.error(\\\"Error cargando listas desplegables, causado por :\\\" + e, e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7921c43d02617d11db6c55aae1b5241\",\n \"score\": \"0.58013076\",\n \"text\": \"private FacturasDTO llenaCamposDto(){\\n\\t\\tfactura = new FacturasDTO();\\r\\n\\t\\t//en las facturas emitidas no hay proveedor\\r\\n\\t\\tfactura.setProveedor(0);\\r\\n\\t\\tfactura.setBaseImpo(Double.valueOf(textBaseImponible.getText()));\\r\\n\\t\\tfactura.setDescuento(Double.valueOf(textDescuento.getText()));\\r\\n\\t\\tString dia = Integer.toString(textFecha.getCalendar().get(Calendar.DAY_OF_MONTH));\\r\\n\\t\\tif (textFecha.getCalendar().get(Calendar.DAY_OF_MONTH)<10) {\\r\\n\\t\\t\\tdia = (\\\"0\\\"+dia);\\r\\n\\t\\t}\\r\\n\\t\\tString mes = Integer.toString(textFecha.getCalendar().get(Calendar.MONTH)+1);\\r\\n\\t\\tif (textFecha.getCalendar().get(Calendar.MONTH)+1<10) {\\r\\n\\t\\t\\tmes = (\\\"0\\\"+mes);\\r\\n\\t\\t}\\r\\n\\t\\tString ano = Integer.toString(textFecha.getCalendar().get(Calendar.YEAR));\\r\\n\\t\\tString varFecha = (ano+mes+dia);\\r\\n\\t\\tfactura.setFecha(Integer.valueOf(varFecha));\\r\\n\\t\\t\\r\\n\\t\\tfactura.setIban(textIban.getText());\\r\\n\\t\\tfactura.setIdFactura(idFactura);\\r\\n\\t\\tfactura.setIrpf(Double.valueOf(textIrpf.getText()));\\r\\n\\t\\tfactura.setIva(Double.valueOf(textIva.getText()));\\r\\n\\t\\tfactura.setTasa(Double.valueOf(textTasa.getText()));\\r\\n\\t\\t\\r\\n\\t\\tdia = Integer.toString(textVencimiento.getCalendar().get(Calendar.DAY_OF_MONTH));\\r\\n\\t\\tif (textVencimiento.getCalendar().get(Calendar.DAY_OF_MONTH)<10) {\\r\\n\\t\\t\\tdia = (\\\"0\\\"+dia);\\r\\n\\t\\t}\\r\\n\\t\\tmes = Integer.toString(textVencimiento.getCalendar().get(Calendar.MONTH)+1);\\r\\n\\t\\tif (textVencimiento.getCalendar().get(Calendar.MONTH)+1<10) {\\r\\n\\t\\t\\tmes = (\\\"0\\\"+mes);\\r\\n\\t\\t}\\r\\n\\t\\tano = Integer.toString(textVencimiento.getCalendar().get(Calendar.YEAR));\\r\\n\\t\\tvarFecha = (ano+mes+dia);\\r\\n\\t\\tfactura.setVencimiento(Integer.valueOf(varFecha));\\t\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\tString variable = (String) comboCliente.getSelectedItem().toString();\\r\\n\\t\\tfactura.setCliente(accClientes.buscaCliente(variable,sesionGlobal.getIdEmpresa()));\\r\\n\\t\\t\\r\\n\\t\\tvariable = (String) comboConcepto.getSelectedItem().toString();\\r\\n\\t\\tfactura.setConcepto(accConceptos.buscaConcepto(variable));\\r\\n\\t\\t\\r\\n\\t\\tvariable = (String) comboCoste.getSelectedItem().toString();\\r\\n\\t\\tfactura.setCoste(accCostes.buscaCoste(variable));\\r\\n\\t\\t\\r\\n\\t\\tfactura.setEmpresa(sesionGlobal.getIdEmpresa());\\r\\n\\r\\n\\t\\tvariable = (String) comboProyecto.getSelectedItem().toString();\\r\\n\\t\\tfactura.setProyecto(accProyecto.buscaProyecto(variable,sesionGlobal.getIdEmpresa()));\\r\\n\\t\\t\\r\\n\\t\\tfactura.setPagado(comboPagado.getSelectedItem().toString());\\r\\n\\t\\t\\t\\t\\r\\n\\t\\treturn factura;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"723a0d252736c15d9b46a92f8308bbc0\",\n \"score\": \"0.57988316\",\n \"text\": \"public Vector BuscarTodo() {\\n Vector Lista = new Vector();\\n try {\\n DBManager dbm = new DBManager();\\n Connection con = dbm.getConnection();\\n if (con == null) {\\n throw new NullPointerException(dbm.getError());\\n }\\n CallableStatement stm=con.prepareCall(\\\"{call sp_periodo_tt}\\\");\\n ResultSet rs=stm.executeQuery();\\n while (rs.next()) {\\n Lista.addElement(\\n\\n new cPeriodo (\\n rs.getInt(\\\"idPeriodo\\\"),\\n rs.getInt(\\\"año\\\"), \\n rs.getInt(\\\"mes\\\"),\\n rs.getInt(\\\"semana\\\"),\\n rs.getDate(\\\"fechaini\\\") ,\\n rs.getDate(\\\"fechafin\\\") ,\\n rs.getString(\\\"tema1\\\"),\\n rs.getString(\\\"tema2\\\"),\\n rs.getString(\\\"estado\\\")\\n \\n \\n ));\\n }\\n rs.close();\\n stm.close();\\n dbm = null;\\n } catch (Exception e) {\\n System.out.println(\\\"Error:\\\" + e.getMessage());\\n }\\n return Lista;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ab8b38398ccbc24afd7751579a0c6a0\",\n \"score\": \"0.5795989\",\n \"text\": \"public Vector BuscarTodo3() {\\n Vector Lista = new Vector();\\n try {\\n DBManager dbm = new DBManager();\\n Connection con = dbm.getConnection();\\n if (con == null) {\\n throw new NullPointerException(dbm.getError());\\n }\\n CallableStatement stm=con.prepareCall(\\\"{call sp_periodo_ttf}\\\");\\n ResultSet rs=stm.executeQuery();\\n while (rs.next()) {\\n Lista.addElement(\\n\\n new cPeriodo (\\n rs.getInt(\\\"idPeriodo\\\"),\\n rs.getInt(\\\"año\\\"), \\n rs.getInt(\\\"mes\\\"),\\n rs.getInt(\\\"semana\\\"),\\n rs.getDate(\\\"fechaini\\\") ,\\n rs.getDate(\\\"fechafin\\\") ,\\n rs.getString(\\\"tema1\\\"),\\n rs.getString(\\\"tema2\\\"),\\n rs.getString(\\\"estado\\\")\\n )\\n );\\n }\\n rs.close();\\n stm.close();\\n dbm = null;\\n } catch (Exception e) {\\n System.out.println(\\\"Error:\\\" + e.getMessage());\\n }\\n return Lista;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27a2fd7577ab42615775e19f02843b7a\",\n \"score\": \"0.5792726\",\n \"text\": \"public Object getDatosAsociados() {\\n\\t\\treturn datosAsociados;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9be57e19280f21e6a0d042a69fa9a968\",\n \"score\": \"0.57863903\",\n \"text\": \"@Override\\n public List descuentosaAplicar(){\\n List lista=null;\\n //System.out.println(\\\"VALOR INICIAL \\\"+ordentrabajo.getCodigo());\\n String consulta;\\n try{\\n consulta=\\\"SELECT d FROM Descuentos d WHERE d.montopend>'0.0' or d.deley=true\\\";\\n Query query=em.createQuery(consulta);\\n \\n lista= query.getResultList();\\n \\n }catch (Exception e){\\n System.out.println(e.getMessage());\\n }\\n return lista;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed2c96bd6043c0d5438ba9f5e04aa2a1\",\n \"score\": \"0.5784799\",\n \"text\": \"public final java.lang.String getCentroCusto() {\\r\\n return centroCusto;\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7268a01837fc2aea2088d4cc3c541dfc\",\n \"score\": \"0.57847893\",\n \"text\": \"public void conversion_dato() //FUNCION\\n {\\n presion_yacimiento = Double.parseDouble(TXT_presion_yacimiento);\\n presion_burbuja = Double.parseDouble(TXT_presion_burbuja);\\n densidad_petroleo = Double.parseDouble(TXT_densidad_petroleo);\\n gravedad_especifica_petroleo = Double.parseDouble(TXT_gravedad_especifica_petroleo);\\n gravedad_especifica_gas = Double.parseDouble(TXT_gravedad_especifica_gas);\\n relacion_gas_petroleo = Double.parseDouble(TXT_relacion_gas_petroleo);\\n temperatura= Double.parseDouble(TXT_temperatura);\\n gravedad_API = Double.parseDouble(TXT_gravedad_API);\\n viscosidad_cp = Double.parseDouble(TXT_viscosidad_cp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26ac17b92711822eaf4a1e98981533cc\",\n \"score\": \"0.5778241\",\n \"text\": \"public String procesarDatos(Empleado e) {\\n\\t\\t// calcular total\\n\\t\\tdouble tot = e.getDias() * e.getHoras() * e.getPago();\\n\\t\\t// encapsular tot\\n\\t\\te.setTotal(tot);\\n\\t\\t// calcular renta\\n\\t\\tdouble renta = 0;\\n\\t\\tif (tot > 1500) {\\n\\t\\t\\trenta = tot * 0.08;\\n\\t\\t}\\n\\t\\t// encapsular renta\\n\\t\\te.setRenta(renta);\\n\\t\\t// calcular neto\\n\\t\\te.setNeto(tot - renta);\\n\\t\\tString boleta = generaBoleta(e);\\n\\t\\treturn boleta;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40263366bab9297150d6e717d8f97b5d\",\n \"score\": \"0.5777445\",\n \"text\": \"public String getDataDiaBr() {\\n DateFormat df = new SimpleDateFormat(\\\"dd/MM/yyyy\\\");\\n String diaIguana = df.format(new Date());\\n return diaIguana;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30c099c9f404a6c815c2c70dbf38ef26\",\n \"score\": \"0.57680553\",\n \"text\": \"public java.lang.String getDatiFascicolo(){\\n return localDatiFascicolo;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a73746df62fe7896bf3ee23a0ccd327\",\n \"score\": \"0.5760321\",\n \"text\": \"public OceData getOceData(OceData databean) {\\n List list = new ArrayList();\\n StringBuffer mySQL = new StringBuffer(128);\\n String listOrder = null;\\n String whereClause;\\n ResultSet resultSet = null;\\n PreparedStatement pStmt = null;\\n Connection con = ApiFunctions.getDbConnection();\\n try {\\n if (ApiFunctions.safeEquals(\\\"Asc\\\", databean.getListOrder())) {\\n listOrder = \\\"ABSTRACT_DATE ASC\\\";\\n }\\n else if (ApiFunctions.safeEquals(\\\"Dsc\\\", databean.getListOrder())) {\\n listOrder = \\\"ABSTRACT_DATE DESC\\\";\\n }\\n else if (ApiFunctions.safeEquals(\\\"Alpha\\\", databean.getListOrder())) {\\n listOrder = \\\"UPPER(TRIM(OTHER_TEXT))\\\";\\n }\\n if (ApiFunctions.safeEquals(\\\"A\\\", databean.getStatus())) {\\n whereClause =\\n \\\"WHERE TABLE_NAME='\\\"\\n + databean.getTableName()\\n + \\\"' AND TYPE_CODE='\\\"\\n + databean.getAttribute()\\n + \\\"'\\\";\\n }\\n else if (ApiFunctions.safeEquals(\\\"NHC\\\", databean.getStatus())){\\n whereClause =\\n \\\"WHERE TABLE_NAME='\\\"\\n + databean.getTableName()\\n + \\\"' AND TYPE_CODE='\\\"\\n + databean.getAttribute()\\n + \\\"' AND (status_FLAG='N' OR STATUS_FLAG='H' OR STATUS_FLAG='C')\\\";\\n }\\n else {\\n whereClause =\\n \\\"WHERE TABLE_NAME='\\\"\\n + databean.getTableName()\\n + \\\"' AND TYPE_CODE='\\\"\\n + databean.getAttribute()\\n + \\\"' AND status_FLAG='\\\"\\n + databean.getStatus()\\n + \\\"'\\\";\\n }\\n \\n //MR7413\\n //if a start date has been specified, put it into the query\\n if (!ApiFunctions.isEmpty(databean.getStartDate())) {\\n whereClause = whereClause + \\\" AND ABSTRACT_DATE >= to_date('\\\" + databean.getStartDate() + \\\" 00:00:00', 'MM/DD/YYYY HH24:MI:SS')\\\";\\n }\\n //if an end date has been specified, put it into the query\\n if (!ApiFunctions.isEmpty(databean.getEndDate())) {\\n whereClause = whereClause + \\\" AND ABSTRACT_DATE <= to_date('\\\" + databean.getEndDate() + \\\" 23:59:59', 'MM/DD/YYYY HH24:MI:SS')\\\";\\n }\\n \\n //tack on the order by clause\\n whereClause = whereClause + \\\" ORDER BY \\\" + listOrder; \\n\\n mySQL.append(\\\"SELECT OTHER_LINE_ID, OTHER_TEXT, STATUS_FLAG, \\\");\\n mySQL.append(\\\"EDIT_TEXT, WHERE_CLAUSE FROM ARD_OTHER_CODE_EDITS \\\");\\n mySQL.append(whereClause);\\n pStmt = con.prepareStatement(mySQL.toString());\\n resultSet = pStmt.executeQuery();\\n while (resultSet.next()) {\\n OceRowData rowData =\\n new OceRowData(\\n resultSet.getString(\\\"OTHER_LINE_ID\\\"),\\n resultSet.getString(\\\"OTHER_TEXT\\\"),\\n OceUtil.lookupOceConstant(resultSet.getString(\\\"STATUS_FLAG\\\")));\\n rowData.setFullySpecifiedName(resultSet.getString(\\\"EDIT_TEXT\\\"));\\n rowData.setWhereClause(resultSet.getString(\\\"WHERE_CLAUSE\\\"));\\n list.add(rowData);\\n }\\n databean.setList(list);\\n }\\n catch (SQLException SQLex) {\\n ApiLogger.log(SQLex);\\n throw new ApiException(SQLex.getMessage());\\n }\\n finally {\\n ApiFunctions.close(resultSet);\\n ApiFunctions.close(pStmt);\\n ApiFunctions.close(con);\\n }\\n return databean;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8ba3fd956cd07543a69be1cb5cfbc4f\",\n \"score\": \"0.5759398\",\n \"text\": \"public static void getVCTDatas(){\\n con = getInstance();\\n \\n if(con != null){\\n // Abfrage-Statement erzeugen.\\n Statement query;\\n try {\\n query = con.createStatement();\\n \\n // Tabelle anzeigen\\n String sql = \\\"SELECT * FROM Account WHERE kundenart !='Firma'\\\";\\n ResultSet result = query.executeQuery(sql);\\n \\n // Ergebnisstabelle durchforsten\\n while (result.next()) {\\n String kundenname = result.getString(\\\"kundenname\\\");\\n String strassenname = result.getString(\\\"strassenname\\\");\\n String plz = result.getString(\\\"plz\\\");\\n String stadt = result.getString(\\\"stadt\\\");\\n String land = result.getString(\\\"land\\\");\\n String kontonummer = result.getString(\\\"kontonummer\\\");\\n String saldo = result.getString(\\\"saldo\\\");\\n\\n \\n //Kundenname aufteilen\\n String[] part = kundenname.split(\\\"\\\\\\\\s\\\");\\n if(part.length == 2) {\\n \\t vorname = part[0];\\n \\t nachname = part[1];\\n } else if(kundenname.contains(\\\"Dr\\\")){\\n \\t vorname = part[1];\\n \\t nachname = part[2];\\n } else if(kundenname.contains(\\\"van\\\") || kundenname.contains(\\\"von\\\")) {\\n \\t vorname = part[0];\\n \\t nachname = part[1] + \\\" \\\" + part[2];\\n }\\n else if(part.length == 3 & part[0].length() <= 2 & part[1].length() <= 2) {\\n \\t vorname = part[0] + \\\" \\\" + part[1];\\n \\t nachname = part[2];\\n }else if(part.length == 3 & part[0].length() > 2 & part[1].length() > 2){\\n \\t vorname = part[0];\\n \\t nachname = part[1] + \\\" \\\" + part[2];\\n }\\n vorname = vorname.replace(\\\"\\\\u00FC\\\", \\\"ue\\\");\\n vorname = vorname.replace(\\\"\\\\u00E4\\\", \\\"ae\\\");\\n vorname = vorname.replace(\\\"\\\\u00F6\\\", \\\"oe\\\");\\n vorname = WordUtils.capitalizeFully(vorname);\\n nachname = nachname.replace(\\\"\\\\u00FC\\\", \\\"ue\\\");\\n nachname = nachname.replace(\\\"\\\\u00E4\\\", \\\"ae\\\");\\n nachname = nachname.replace(\\\"\\\\u00F6\\\", \\\"oe\\\");\\n nachname = WordUtils.capitalizeFully(nachname);\\n nachname = nachname.replace(\\\"Van\\\", \\\"van\\\");\\n nachname = nachname.replace(\\\"Von\\\", \\\"von\\\");\\n \\n \\n //Adresse zusammenfŸhren\\n addresse = strassenname + \\\", \\\" + plz + \\\" \\\" + stadt;\\n \\n \\n //LŠndercode erstellen\\n if(land.equals(\\\"Schweiz\\\") || land.equals(\\\"Switzerland\\\")) {\\n \\t laendercode = \\\"CH\\\";\\n } else if(land.equals(\\\"Germany\\\")) {\\n \\t laendercode = \\\"DE\\\";\\n } else if(land.equals(\\\"The Netherlands\\\")) {\\n \\t laendercode = \\\"NL\\\";\\n }\\n\\n \\n //Kontostand\\n kontostand = Float.parseFloat(saldo); \\n \\n \\n // IBAN fŸr Kontokorrent generieren\\n String nullen = new String();\\n // EinfŸgen von Nullen damit IBAN LŠnge von 21 erreicht wird\\n for(int y = kontonummer.length(); y < 12; y++){\\n nullen += \\\"0\\\";\\n }\\n iban = \\\"CH\\\" + \\\"27\\\" + \\\"00261\\\" + nullen + kontonummer;\\n \\n \\n MergeBanks.KundenArray.add(new Kunde(MergeBanks.kundenidcnt, vorname, nachname, addresse, laendercode, status));\\n MergeBanks.KontenArray.add(new Konto(MergeBanks.kundenidcnt, iban, kontostand, kontoart));\\n MergeBanks.kundenidcnt++;\\n \\n \\n \\n \\n }\\n } catch (SQLException e) {\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95c288cedb3a27b130e078d1a7c01257\",\n \"score\": \"0.57500464\",\n \"text\": \"@Data(size=4, value=\\\"0093\\\")\\n IString debitoCcorrentes() ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c4e83c44b0c806ea3d6d70fc9621bfc\",\n \"score\": \"0.5747175\",\n \"text\": \"public String cargarDatos()\\r\\n/* 224: */ {\\r\\n/* 225:251 */ return null;\\r\\n/* 226: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f24b98cfff90ebf90a1da07c24bdac35\",\n \"score\": \"0.5746191\",\n \"text\": \"public List getVendaRef(String ref_pesquisar, String tipo_pedido, String data_entrega) {\\n ArrayList cortes = new ArrayList();\\n\\t\\ttry {\\n \\n \\n Conexao.ConectDB();\\n Statement stmt = Conexao.con.createStatement();\\n ResultSet rs;\\n String sql;\\n if (tipo_pedido.equals(\\\"TODOS\\\")){\\n sql = \\\"select ip.codigo, ip.cor, sum(ip.t1) as T1, sum(ip.t2) as T2, sum(ip.t3) as T3, sum(ip.t4) as T4, sum(ip.total) as total\\\\n\\\" +\\n \\\"from item_pedido ip\\\\n\\\" +\\n \\\"INNER JOIN pedidos pe\\\\n\\\" +\\n \\\"\\ton ip.n_pedido = pe.n_pedido\\\\n\\\" +\\n \\\"\\twhere codigo = '\\\"+ref_pesquisar+\\\"' and data_entrega <= '\\\"+data_entrega+\\\"'\\\\n\\\" +\\n \\\"\\tgroup by ip.codigo, ip.cor\\\";\\n rs = stmt.executeQuery(sql);\\n \\n System.out.println(sql);\\n\\t\\t\\n }\\n else{//se for ESPECIAL / DIV\\n sql = \\\"select ip.codigo, ip.cor, sum(ip.t1) as T1, sum(ip.t2) as T2, sum(ip.t3) as T3, sum(ip.t4) as T4, sum(ip.total) as total\\\\n\\\" +\\n \\\"from item_pedido ip\\\\n\\\" +\\n \\\"INNER JOIN pedidos pe\\\\n\\\" +\\n \\\"\\ton ip.n_pedido = pe.n_pedido\\\\n\\\" +\\n \\\"\\twhere codigo = '\\\"+ref_pesquisar+\\\"' and tipo_pedido = '\\\"+tipo_pedido+\\\"' and data_entrega <= '\\\"+data_entrega+\\\"'\\\\n\\\" +\\n \\\"\\tgroup by ip.codigo, ip.cor\\\";\\n rs = stmt.executeQuery(sql);\\n \\n System.out.println(sql);\\n }\\n \\n \\n while (rs.next()) {\\n\\t\\t\\t\\tCorteDTO corte = new CorteDTO();\\n \\n\\t\\t\\t\\t\\n corte.setCodigo(rs.getString(\\\"codigo\\\"));\\n corte.setCor(rs.getString(\\\"cor\\\"));\\n\\t\\t\\t\\tcorte.setT1(rs.getInt(\\\"t1\\\"));\\n corte.setT2(rs.getInt(\\\"t2\\\"));\\n corte.setT3(rs.getInt(\\\"t3\\\"));\\n corte.setT4(rs.getInt(\\\"t4\\\"));\\n corte.setTotal(rs.getInt(\\\"total\\\"));\\n cortes.add(corte);\\n \\n\\t\\t\\t}\\n\\t\\t\\tConexao.CloseDB();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tSystem.out.println(\\\"Erro ao Listar vendas por referencia com data_entrega\\\");\\n System.err.println(e.getMessage());\\n\\t\\t}\\n\\t\\treturn cortes;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eef8e3ad3e944674a1bd1ab5ef5c64f7\",\n \"score\": \"0.5728621\",\n \"text\": \"public DateTime getDataCriacao() {\\r\\n\\t\\treturn dataCriacao;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c283c7bfb4204f2d740f6dbe95d5542\",\n \"score\": \"0.5727416\",\n \"text\": \"public String getCodigoBarras() {\\r\\n return getNumero() + String.valueOf(boleto.getMoeda()) + String.valueOf(getCampo4()) + String.valueOf(getCampo5()) + \\\"9\\\" + boleto.getCodCliente() + \\\"00000\\\" + boleto.getNossoNumero() + boleto.getIOS() + boleto.getCarteira();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd8209126dd20f30d48acaee3769e976\",\n \"score\": \"0.57260257\",\n \"text\": \"private Collection getFincaCatastroRusticasBuscadasPorPoligonoDB(String idMunicipio,String patronPoligono,\\r\\n\\t\\t\\tString patronParcela) throws Exception\\r\\n\\t\\t\\t{\\r\\n\\t\\tArrayList aux= new ArrayList();\\r\\n\\t\\tString sSQL= \\\"select distinct parcelas.id_via, parcelas.primer_numero, parcelas.referencia_catastral,\\\" +\\r\\n\\t\\t\\\" parcelas.codigopoligono, parcelas.codigoparcela\\\" +\\r\\n\\t\\t\\\" from parcelas where parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\\\"+ idMunicipio+\\\"'\\\"+\\r\\n\\t\\t\\\" and (parcelas.codigopoligono is not null and (parcelas.codigopoligono like upper('%\\\"+patronPoligono+\\\"%')))\\\"+\\r\\n\\t\\t\\\" and (parcelas.codigoparcela is not null and (parcelas.codigoparcela like upper('%\\\"+patronParcela+\\\"%')))\\\" +\\r\\n\\t\\t\\\" order by parcelas.codigopoligono asc\\\";\\r\\n\\r\\n\\t\\tPreparedStatement ps= null;\\r\\n\\t\\tConnection conn= null;\\r\\n\\t\\tResultSet rs= null;\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tconn= CPoolDatabase.getConnection();\\r\\n\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\trs= ps.executeQuery();\\r\\n\\t\\t\\twhile(rs.next())\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tFincaCatastro finca = new FincaCatastro();\\r\\n\\t\\t\\t\\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\\\"referencia_catastral\\\"));\\r\\n\\t\\t\\t\\tfinca.setRefFinca(refCatas);\\r\\n\\t\\t\\t\\tDireccionLocalizacion dir = new DireccionLocalizacion();\\r\\n\\t\\t\\t\\tdir.setCodPoligono(rs.getString(\\\"codigopoligono\\\"));\\r\\n\\t\\t\\t\\tdir.setCodParcela(rs.getString(\\\"codigoparcela\\\"));\\r\\n\\t\\t\\t\\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\\\"primer_numero\\\"));\\r\\n\\t\\t\\t\\tint idVia = -1;\\r\\n\\t\\t\\t\\tidVia = TypeUtil.getSimpleInteger(rs,\\\"id_via\\\");\\r\\n\\t\\t\\t\\tResultSet rsVia= null;\\r\\n\\t\\t\\t\\ttry\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tif(idVia!=-1){\\r\\n\\t\\t\\t\\t\\t\\tsSQL = \\\"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\\\" + idVia\\r\\n\\t\\t\\t\\t\\t\\t+ \\\" and id_municipio=\\\"+Integer.parseInt(idMunicipio);;\\r\\n\\t\\t\\t\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\t\\t\\t\\trsVia= ps.executeQuery();\\r\\n\\t\\t\\t\\t\\t\\tif(rsVia.next())\\r\\n\\t\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\t\\tdir.setNombreVia(rsVia.getString(\\\"nombrecatastro\\\"));\\r\\n\\t\\t\\t\\t\\t\\t\\tdir.setTipoVia(rsVia.getString(\\\"tipovianormalizadocatastro\\\"));\\r\\n\\t\\t\\t\\t\\t\\t}//fin if\\r\\n\\t\\t\\t\\t\\t}//fin if\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tcatch (Exception e)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tthrow e;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tfinally\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\ttry{rsVia.close();}catch(Exception e){};\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tfinca.setDirParcela(dir);\\r\\n\\t\\t\\t\\taux.add(finca);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\r\\n\\t\\tfinally\\r\\n\\t\\t{\\r\\n\\t\\t\\ttry{ps.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{rs.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{conn.close();}catch(Exception e){};\\r\\n\\t\\t}\\r\\n\\t\\treturn aux;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ba3132e5e50543801c00d316041720a\",\n \"score\": \"0.5722195\",\n \"text\": \"public SolicitudCompra getSolicitudCompra()\\r\\n/* 100: */ {\\r\\n/* 101:111 */ return this.solicitudCompra;\\r\\n/* 102: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c29152af736f76ce55010c8ead831b60\",\n \"score\": \"0.57220894\",\n \"text\": \"private Collection getFincaCatastroBuscadasDB(String idMunicipio,String patron) throws Exception\\r\\n\\t{\\r\\n\\t\\tArrayList aux= new ArrayList();\\r\\n\\t\\tString sSQL= \\\"select distinct parcelas.referencia_catastral, parcelas.primer_numero, parcelas.codigopoligono,\\\" +\\r\\n\\t\\t\\\" parcelas.codigoparcela, parcelas.id_via from parcelas where\\\" +\\r\\n\\t\\t\\\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\\\"+ idMunicipio+\\\"' \\\"\\r\\n\\t\\t+\\\" and ((parcelas.referencia_catastral like upper('%\\\" + patron + \\\"%')) or ( parcelas.referencia_catastral is null)) \\\"\\r\\n\\t\\t+ \\\" order by parcelas.referencia_catastral asc\\\";\\r\\n\\t\\tPreparedStatement ps= null;\\r\\n\\t\\tConnection conn= null;\\r\\n\\t\\tResultSet rs= null;\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tconn= CPoolDatabase.getConnection();\\r\\n\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\trs= ps.executeQuery();\\r\\n\\t\\t\\twhile(rs.next())\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tFincaCatastro finca = new FincaCatastro();\\r\\n\\t\\t\\t\\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\\\"referencia_catastral\\\"));\\r\\n\\t\\t\\t\\tfinca.setRefFinca(refCatas);\\r\\n\\t\\t\\t\\tDireccionLocalizacion dir = new DireccionLocalizacion();\\r\\n\\t\\t\\t\\tdir.setCodParcela(rs.getString(\\\"codigoparcela\\\"));\\r\\n\\t\\t\\t\\tdir.setCodPoligono(rs.getString(\\\"codigopoligono\\\"));\\r\\n\\t\\t\\t\\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\\\"primer_numero\\\"));\\r\\n\\t\\t\\t\\tint idVia = -1;\\r\\n\\t\\t\\t\\tidVia = TypeUtil.getSimpleInteger(rs,\\\"id_via\\\");\\r\\n\\t\\t\\t\\tResultSet rsVia= null; \\r\\n\\t\\t\\t\\ttry\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tif(idVia!=-1){\\r\\n\\t\\t\\t\\t\\t\\tsSQL = \\\"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\\\" + idVia\\r\\n\\t\\t\\t\\t\\t\\t+ \\\" and id_municipio=\\\"+Integer.parseInt(idMunicipio);\\r\\n\\t\\t\\t\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\t\\t\\t\\trsVia= ps.executeQuery();\\r\\n\\t\\t\\t\\t\\t\\tif(rsVia.next())\\r\\n\\t\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\t\\tdir.setNombreVia(rsVia.getString(\\\"nombrecatastro\\\"));\\r\\n\\t\\t\\t\\t\\t\\t\\tdir.setTipoVia(rsVia.getString(\\\"tipovianormalizadocatastro\\\"));\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tcatch (Exception e)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tthrow e;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tfinally\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\ttry{rsVia.close();}catch(Exception e){};\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tfinca.setDirParcela(dir);\\r\\n\\t\\t\\t\\taux.add(finca);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\r\\n\\t\\tfinally\\r\\n\\t\\t{\\r\\n\\t\\t\\ttry{ps.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{rs.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{conn.close();}catch(Exception e){};\\r\\n\\t\\t}\\r\\n\\t\\treturn aux;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77c6fd799f85ddc5a67c9ef4bb215dd6\",\n \"score\": \"0.57044566\",\n \"text\": \"private String getCampo5() {\\r\\n String campo = boleto.getFatorVencimento() + boleto.getValorTitulo();\\r\\n return campo;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee09180f07686cd412f7e449b3024697\",\n \"score\": \"0.56987643\",\n \"text\": \"public ArbolBinario[] obtener() throws ClassNotFoundException {\\n try {\\n ObjectInputStream recuperar = new ObjectInputStream(new FileInputStream(\\\"./Data/arbol.dat\\\"));\\n ArbolBinario[] aux;\\n aux = (ArbolBinario[]) recuperar.readObject();\\n recuperar.close();\\n return aux;\\n } catch (EOFException e) {\\n //e.printStackTrace();\\n return null;\\n }catch(IOException e) {\\n //e.printStackTrace();\\n return null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43103b1041101b6d5a54de5f6360d016\",\n \"score\": \"0.56924087\",\n \"text\": \"public String getDevedores(){\\r\\n\\t\\tArrayList result = banco.select();\\r\\n\\t\\tString result_print = null;\\r\\n\\t\\tfor (int i = 0; i < result.size(); i = i+1){\\r\\n\\t\\t\\tif(i == 0){\\r\\n\\t\\t\\t\\tresult_print = (i+1)+\\\") \\\"+result.get(i)[0] + \\\" - R$\\\" + result.get(i)[1];\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse{\\r\\n\\t\\t\\t\\tresult_print = result_print +\\\"\\\\n\\\"+ (i+1)+\\\") \\\"+ result.get(i)[0] + \\\" - R$\\\" + result.get(i)[1];\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn result_print;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"574937080b56c415023bf35a3602c099\",\n \"score\": \"0.56893855\",\n \"text\": \"public void visualizaDatosBocateria(){\\n System.out.println(\\\"\\\\n *******************Estado actual de la Bocateria.**********\\\");\\n\\n System.out.println(\\\"\\\\n====== Facturación actual; \\\"+facturacionActual+ \\\" €.\\\\n\\\");\\n visualizaDatosClienteEnLaCola();\\n System.out.println(\\\"\\\\n====== Clientes despachados. ========\\\");\\n Iterator it = clientesDepachados.keySet().iterator();\\n while(it.hasNext()){\\n Integer clave = (Integer) it.next();\\n int numBocadillos = clientesDepachados.get(clave).getNumeroDeBocadillos();\\n System.out.println(\\\"Cliente: \\\" +clientesDepachados.get(clave).getNumeroCliente()\\n + \\\": \\\" +numBocadillos + \\\" bocadillo/s ( \\\" +numBocadillos * PRECIO_BOCADILLO+ \\\" euros ) \\\");\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe7c150ec8ca724fc14b026d05644cb9\",\n \"score\": \"0.5686923\",\n \"text\": \"public String cargarDatos()\\r\\n/* 163: */ {\\r\\n/* 164:188 */ return \\\"\\\";\\r\\n/* 165: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dee8ced5800725903bd8859643d8b8b\",\n \"score\": \"0.5685723\",\n \"text\": \"private String getCampo2() {\\r\\n String campo = boleto.getCodCliente().substring(4) + boleto.getNossoNumero().substring(0,7);\\r\\n \\r\\n return boleto.getDigitoCampo(campo,1);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c425de5271252db758d9452a8ae2d1a1\",\n \"score\": \"0.5683249\",\n \"text\": \"public String getCDENC_OBSERVACION(){\\n\\t\\treturn this.myCdenc_observacion;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"562736d8249348617fbd9b643b4729fe\",\n \"score\": \"0.56827205\",\n \"text\": \"@Override\\r\\n /**\\r\\n * @return numero,metros,precio,alquilado\\r\\n */\\r\\n public String toString() {\\r\\n return \\\"a{\\\" + \\\"numero=\\\" + numero + \\\", metros=\\\" + metros + \\\", precio=\\\" + precio + \\\", alquilado=\\\" + alquilado + '}';\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"163e486841f4bf9e67558f74ba4d3538\",\n \"score\": \"0.5678267\",\n \"text\": \"@Override\\n public ArrayList buscarCardapio() {\\n return gerAlimento.buscarCardapio();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"295de6d56bf16642a5356fe7e01f4f0c\",\n \"score\": \"0.56773865\",\n \"text\": \"public abstract String getInfoAjuda(String atributo);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ca9c9c8bc68f24eaa03426792509149\",\n \"score\": \"0.5676919\",\n \"text\": \"public ArrayList obtenerDatos(){\\n BaseDatos db = new BaseDatos(context);\\n insertarTresContactos(db);\\n return db.obtenerTodosLosContactos();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c97e42c672cad6975d6b9e3690689aae\",\n \"score\": \"0.56706446\",\n \"text\": \"public List letrasVencidasTramos_cobrador_ordenDireccion_SC(int codCobrador) {\\r\\n //*corregir* el uso de datosCleinte esta por demas\\r\\n List l = null;\\r\\n Transaction trns = null;\\r\\n sesion = HibernateUtil.getSessionFactory().openSession();\\r\\n try {\\r\\n trns = sesion.beginTransaction();\\r\\n Query q = sesion.createQuery(\\\"select vcl.ventas.codVentas,\\\"\\r\\n + \\\"\\tvcl.ventas.docSerieNumero,\\\"\\r\\n + \\\"\\tvcl.ventas.fecha,\\\"\\r\\n + \\\"\\tvcl.ventas.identificacion,\\\"\\r\\n + \\\"\\tvcl.ventas.cliente,\\\"\\r\\n + \\\"\\tvcl.ventas.direccion,\\\"\\r\\n + \\\"\\tvcl.ventas.neto,\\\"\\r\\n + \\\"\\tvcl.codVentaCreditoLetra,\\\"\\r\\n + \\\"\\tvcl.fechaVencimiento,\\\"\\r\\n + \\\"\\tvcl.monto,\\\"\\r\\n + \\\"\\tvcl.totalPago,\\\"\\r\\n + \\\" dc.empresaConvenio.codCobranza\\\"\\r\\n + \\\" from VentaCreditoLetra vcl, DatosCliente dc\\\"\\r\\n + \\\" where vcl.ventas.persona = dc.persona\\\"\\r\\n + \\\" and (vcl.monto-vcl.totalPago)>0\\\"\\r\\n + \\\"\\tand substring(vcl.registro,1,1)=1\\\"\\r\\n + \\\" and dc.codCobrador = :par1\\\"\\r\\n + \\\" order by vcl.ventas.persona.direccion,\\\"\\r\\n + \\\" dc.codDatosCliente, vcl.ventas.codVentas\\\")\\r\\n .setInteger(\\\"par1\\\", codCobrador);\\r\\n l = q.list();\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n setError(e.getMessage());\\r\\n } finally {\\r\\n sesion.flush();\\r\\n sesion.close();\\r\\n }\\r\\n return l;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93d1fb738a02d8f6c172fd3e9db7ed1b\",\n \"score\": \"0.56685215\",\n \"text\": \"public List consultarMembroOrdData(String entrada) {\\n\\t\\t// TODO Auto-generated method stub\\n\\t\\tString[] partesData = new String[2];\\n\\t\\tpartesData = entrada.split(\\\"/\\\");\\n\\t\\tlistaDeMembros = new ArrayList<>();\\n\\t\\tString sql = \\\"SELECT * FROM membro where mes = ? AND dia = ?\\\"\\n\\t\\t\\t\\t+ \\\" ORDER BY ano, mes, dia ASC\\\";\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tPreparedStatement preparado = conex.prepareStatement(sql);\\n\\t\\t\\tpreparado.setInt(1, Integer.parseInt(partesData[1]));\\n\\t\\t\\tpreparado.setInt(2, Integer.parseInt(partesData[0]));\\n\\t\\t\\tResultSet todos = preparado.executeQuery();\\n\\t\\t\\t\\n\\t\\t\\twhile(todos.next()) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tmembro = new Membro();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tmembro.setIdMembro(todos.getInt(\\\"id\\\"));\\n\\t\\t\\t\\tmembro.setNome(todos.getString(\\\"nome\\\"));\\n\\t\\t\\t\\tmembro.setApelido(todos.getString(\\\"apelido\\\"));\\n\\t\\t\\t\\tmembro.setSobrenomes(todos.getString(\\\"sobrenomes\\\"));\\n\\t\\t\\t\\tmembro.setCargo(todos.getString(\\\"cargo\\\"));\\n\\t\\t\\t\\tmembro.setDia(todos.getInt(\\\"dia\\\"));\\n\\t\\t\\t\\tmembro.setMes(todos.getInt(\\\"mes\\\"));\\n\\t\\t\\t\\tmembro.setAno(todos.getInt(\\\"ano\\\"));\\n\\t\\t\\t\\tlistaDeMembros.add(membro);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Erro de Banco de Dados:\\\\n\\\" + e.getMessage());\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\treturn listaDeMembros;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dc8d8740699c0ad0d37dabeb5f201ba\",\n \"score\": \"0.5666644\",\n \"text\": \"public List letrasVencidasTramos_cobrador_ordenNombresC_SC(int codCobrador) {\\r\\n //*corregir* el uso de datosCleinte esta por demas\\r\\n List l = null;\\r\\n Transaction trns = null;\\r\\n sesion = HibernateUtil.getSessionFactory().openSession();\\r\\n try {\\r\\n trns = sesion.beginTransaction();\\r\\n Query q = sesion.createQuery(\\\"select vcl.ventas.codVentas,\\\"\\r\\n + \\\"\\tvcl.ventas.docSerieNumero,\\\"\\r\\n + \\\"\\tvcl.ventas.fecha,\\\"\\r\\n + \\\"\\tvcl.ventas.identificacion,\\\"\\r\\n + \\\"\\tvcl.ventas.cliente,\\\"\\r\\n + \\\"\\tvcl.ventas.direccion,\\\"\\r\\n + \\\"\\tvcl.ventas.neto,\\\"\\r\\n + \\\"\\tvcl.codVentaCreditoLetra,\\\"\\r\\n + \\\"\\tvcl.fechaVencimiento,\\\"\\r\\n + \\\"\\tvcl.monto,\\\"\\r\\n + \\\"\\tvcl.totalPago,\\\"\\r\\n + \\\" dc.empresaConvenio.codCobranza\\\"\\r\\n + \\\" from VentaCreditoLetra vcl, DatosCliente dc\\\"\\r\\n + \\\" where vcl.ventas.persona = dc.persona\\\"\\r\\n + \\\" and (vcl.monto-vcl.totalPago)>0\\\"\\r\\n + \\\"\\tand substring(vcl.registro,1,1)=1\\\"\\r\\n + \\\" and dc.codCobrador = :par1\\\"\\r\\n + \\\" order by vcl.ventas.persona.nombresC,\\\"\\r\\n + \\\" dc.codDatosCliente, vcl.ventas.codVentas\\\")\\r\\n .setInteger(\\\"par1\\\", codCobrador);\\r\\n l = q.list();\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n setError(e.getMessage());\\r\\n } finally {\\r\\n sesion.flush();\\r\\n sesion.close();\\r\\n }\\r\\n return l;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a7964e789aae2b45868f5103f0ba856\",\n \"score\": \"0.566618\",\n \"text\": \"private void consultarCodig() throws Exception {\\n traza(\\\"el oid es \\\" + oid);\\n\\n DTOOID dtoOid = new DTOOID();\\n dtoOid.setOidPais(pais);\\n dtoOid.setOidIdioma(idioma);\\n dtoOid.setOid(new Long(oid)); \\n\\n traza(\\\"dtoOid \\\" + dtoOid);\\n\\n MareBusinessID id = new MareBusinessID(\\\"CARCodConfConsulta\\\");\\n Vector paramEntrada = new Vector();\\n paramEntrada.add(dtoOid);\\n paramEntrada.add(id);\\n traza(\\\"los parametros de entrada son \\\" + paramEntrada);\\n\\n traza(\\\"****************************** antes de conectar con 'CARConsultaCodigoConf' \\\");\\n DruidaConector con = conectar(\\\"CARConsultaCodigoConf\\\", paramEntrada);\\n traza(\\\"****************************** después de conectar con 'CARConsultaCodigoConf' \\\");\\n \\n dtoCodConf = (DTOCodigoConfiguracion) con.objeto(\\n \\\"DTOCodigoConfiguracion\\\"); \\n traza(\\\"dtoCodConf \\\" + dtoCodConf.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9204833681bd12f2c4740e618f9dbf2\",\n \"score\": \"0.5663404\",\n \"text\": \"public String getDatC() {\\r\\n return datC;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac59dbcfc7b804a139f7dc6b2e188e85\",\n \"score\": \"0.5662028\",\n \"text\": \"private Collection buscarAsignacionTipoDescuentoCol(Integer codigoCompania)throws SICException{\\n\\t\\tCollection asiTipoDes = null;\\n\\t\\ttry{\\t\\t\\t\\n\\t\\t\\tAsignacionTipoDescuentoDTO asignacionTipoDescuentoDTO = new AsignacionTipoDescuentoDTO();\\n\\t\\t\\tasignacionTipoDescuentoDTO.getId().setCodigoCompania(codigoCompania);\\n\\t\\t\\tasignacionTipoDescuentoDTO.setEstado(SICConstantes.ESTADO_ACTIVO_NUMERICO);\\n\\t\\t\\tasignacionTipoDescuentoDTO.setCodigoAsignacionTipoDescuento(EnumTipoAsignacionDescuento.CODIGO_TIPO_ASIGNACION_DESCUENTO);\\n\\t\\t\\tasignacionTipoDescuentoDTO.setValorAsignacionTipoDescuento(EnumTipoAsignacionDescuento.ARTICULO.getValorTipoAsignacionDescuento());\\n\\t\\t\\tasignacionTipoDescuentoDTO.setCodigoAplicacionTipoDescuento(EnumTipoAplicacionDescuento.CODIGO_TIPO_APLICACION_DESCUENTO);\\n\\t\\t\\tasignacionTipoDescuentoDTO.addCriteriaSearchParameter(new CriteriaSearchParameter(\\\"valorAplicacionTipoDescuento\\\", ComparatorTypeEnum.IN_COMPARATOR, new String[] { EnumTipoAplicacionDescuento.COSTO_COMPRA.getValorTipoAplicacionDescuento(), EnumTipoAplicacionDescuento.COSTO_CONVENIO.getValorTipoAplicacionDescuento() }));\\n\\t\\t\\tasiTipoDes = SICFactory.getInstancia().administracion.getDataService().findObjects(asignacionTipoDescuentoDTO);\\n\\t\\t}catch (SICException e) {\\n\\t\\t\\tLogeable.LOG_SICV2.error(\\\"Error al consultar los tipos de descuentos del art\\\\u00EDculo.\\\", e.getMessage());\\n\\t\\t\\tthrow new SICException(\\\"Error al consultar los tipos de descuentos del art\\\\u00EDculo.. {}\\\",e.getMessage());\\n\\t\\t}\\n\\t\\treturn asiTipoDes;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee94203f65dca610661fb155d80cc447\",\n \"score\": \"0.5655638\",\n \"text\": \"public String getCSOBJ_DESCRIPCION(){\\n\\t\\treturn this.myCsobj_descripcion;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13815b3eeb4a16ed704afc4c58ec3c8a\",\n \"score\": \"0.56507754\",\n \"text\": \"public static String[] getDatosAlturaMayor() {\\n\\t\\tSession session = null;\\n\\t\\tTransaction tx = null;\\n\\t\\t\\t\\t\\n\\t\\t// Iniciar la sesion con Hibernate\\n SessionFactory sess = HibernateUtil.getSessionFactory();\\n session = sess.getCurrentSession();\\n \\n // Comenzar la transaccion\\n tx = session.beginTransaction();\\n \\n Logger log = Logger.getLogger(\\\"Obtener los datos de la mayor altura\\\");\\n\\t\\tlog.info(\\\"Obtener los datos de la mayor altura\\\");\\n\\t\\t\\n\\t\\tString[] strDevolucion = new String[3];\\n\\t try {\\t\\t\\n\\t \\t\\t//hago un query con todos los datos \\n\\t\\t StringBuilder queryObjeto= new StringBuilder();\\n\\t\\t queryObjeto.append(\\\"select dp.altura, dp.promedioVelocidadRenglon, dp.promedioTempRenglon from DatosPerfilVertical as dp where dp.altura = \\\");\\n\\t\\t queryObjeto.append(\\\"(select MAX(dp2.altura) from DatosPerfilVertical as dp2)\\\");\\n\\t\\t \\n\\t\\t //lo ejecuto y lo guardo en un iterador.\\n\\t\\t Iterator listaDatosArchivo = session.createQuery(queryObjeto.toString()).list().iterator();\\n\\n\\t\\t Object[] tupla = (Object[]) listaDatosArchivo.next();\\n\\t\\t\\n\\t\\t strDevolucion[0] = tupla[0].toString();\\n\\t\\t\\t strDevolucion[1] = tupla[1].toString();\\n\\t\\t\\t strDevolucion[2] = tupla[2].toString();\\n\\t\\t //cometer la transaccion o sino no se escribe nada en la BD\\n\\t\\t\\t\\ttx.commit();\\n\\n\\t\\t\\t\\t// cerrar la sesion\\n\\t\\t\\t\\t//session.close();\\n\\t\\t\\t\\t\\n\\t } catch (HibernateException e) {\\n\\n\\t\\t \\tSystem.out.println(e.getMessage());\\n\\t\\t \\tlog.warn(\\\"Ocurrio un error al buscar los datos de la mayor Altura\\\");\\n\\n\\t\\t // cuando ocurre un error hace rollback\\n\\t\\t \\tif (tx != null)\\n\\t\\t \\t\\ttry {\\n\\t\\t \\t\\t\\ttx.rollback();\\n\\t\\t \\t\\t} catch (HibernateException e1) {\\n\\t\\t \\t\\t\\tSystem.out.println(\\\"El rollback no fue exitoso\\\");\\n\\t\\t \\t\\t\\tlog.warn(\\\"El rollback no fue exitoso\\\");\\n\\t\\t \\t\\t}\\n\\n if (session != null)\\n \\ttry {\\n \\t\\tsession.close();\\n \\t} catch (HibernateException e2) {\\n \\t\\tSystem.out.println(\\\"El cierre de sesion no fue exitoso\\\");\\n\\t\\t\\t\\t\\tlog.warn(\\\"El cierre de sesion no fue exitoso\\\");\\n \\t}\\n\\t }\\t\\n\\t\\n\\t\\treturn strDevolucion;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d33752c076fe9635cec6bb0789f500e\",\n \"score\": \"0.5636927\",\n \"text\": \"public DataTable getDtOrdenFabricacion()\\r\\n/* 287: */ {\\r\\n/* 288:327 */ return this.dtOrdenFabricacion;\\r\\n/* 289: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e7784437908f68e313f1119b7f1c704\",\n \"score\": \"0.56337035\",\n \"text\": \"public BigDecimal getCostoManoObraCalculo()\\r\\n/* 435: */ {\\r\\n/* 436:458 */ return this.costoManoObraCalculo;\\r\\n/* 437: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24aba4f6fc4eea6a7840062ffe333adf\",\n \"score\": \"0.56298655\",\n \"text\": \"public java.sql.ResultSet BusActFp(String codigo){\\n\\r\\n java.sql.ResultSet rs=null;\\r\\n Statement st = null;\\r\\n try{\\r\\n \\tConexion con=new Conexion();\\r\\n \\tst = con.conn.createStatement();\\r\\n \\trs=st.executeQuery(\\\"SELECT oa.codigo, oa.actividad_economica, oa.codigo_ciiu, oa.cod_crefk, oc.valor AS val_cre, of.descripcion, p.cta, orfte.codigo AS cod_rfte, orfte.valor AS val_rfte, oic.codigo AS cod_ica , oic.valor AS val_ica, p.cod_formapagofk \\\"+\\r\\n \\t\\t\\t \\\"FROM ord_prove_actecono p, ord_formadepago of, ord_actividadeconomica oa, ord_retefuente orfte, ord_ica oic, ord_cre oc \\\"+\\r\\n \\\"WHERE p.cod_aecofk=oa.codigo AND of.codigo=p.cod_formapagofk AND oa.cod_crefk=oc.codigo AND orfte.codigo=p.cod_reftefk AND p.cod_icafk=oic.codigo AND p.cod_provefk='\\\"+codigo+\\\"' \\\");\\r\\n \\r\\n }\\r\\n catch(Exception ex){\\r\\n \\tSystem.out.println(\\\"Error en MetodoProve>>BusActFp \\\"+ex);\\r\\n }\\t\\r\\n return rs;\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e148734f3665b2d351589f6f60d715da\",\n \"score\": \"0.5627523\",\n \"text\": \"DATA getData();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"190f864d590ff2367b2e8d86255c0528\",\n \"score\": \"0.5627309\",\n \"text\": \"public DTOSalida obtenerTiposOperacion(Long oidOperacion ) throws Exception{\\n traza(\\\"*** LPOperacion.obtenerTiposOperacion: Entrada ***\\\");\\n \\n Vector paramConector = new Vector();\\n DTOOID dtoOid=new DTOOID();\\n dtoOid.setOidIdioma(idioma);\\n dtoOid.setOidPais(pais);\\n dtoOid.setOid(oidOperacion);\\n paramConector.add(dtoOid);\\n paramConector.add(new MareBusinessID(\\\"RECObtenerTiposOperacion\\\")); \\n traza(\\\"Antes de Conectar ConectorObtenerTiposOperacion\\\");\\n DruidaConector conector = conectar(\\\"ConectorObtenerTiposOperacion\\\", paramConector);\\t\\t\\t\\t\\t\\t\\t\\n traza(\\\"Despues de Conectar ConectorObtenerTiposOperacion\\\");\\n Object objeto=conector.objeto(\\\"DTOSalida\\\");\\n traza(\\\"Objeto recogido\\\"+objeto);\\n DTOSalida salida = (DTOSalida)conector.objeto(\\\"DTOSalida\\\");\\n traza(\\\"DTOSalida obtenido\\\");\\n \\n // Modificamos los valores boolean por un si o un no que es lo que aparece en la lista\\n RecordSet rs = salida.getResultado();\\n if(!rs.esVacio()){\\n for(int i=0;i> getDatosCasosxOU(Long desde, Long hasta) {\\n\\t\\t\\n\\t\\tList> resultadosTotales = new ArrayList>();\\n\\t\\tString sqlQueryRegionVista = \\\"\\\";\\n\\t\\tString sqlQueryTiempoWhere = \\\"\\\";\\n\\t\\tString sqlQueryGroupBY = \\\"\\\";\\n\\t\\t\\n\\t\\t/**\\n\\t\\t * Regresa datos de positivos de SISVIG\\n\\t\\t * \\n\\t\\t */\\n\\t\\t\\n\\t\\t\\n\\t\\t// Retrieve session from Hibernate\\n\\t\\tSession session = sessionFactory.getCurrentSession();\\n\\t\\tQuery query;\\n\\t\\t\\n\\t\\tsqlQueryRegionVista = \\\"SELECT mc.pdrMuestraLocalidad.corregimiento.distrito.region.ident, count(mc.id)\\\";\\n\\t\\tsqlQueryTiempoWhere = \\\"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\\\";\\n\\t\\tsqlQueryGroupBY = \\\"group by mc.pdrMuestraLocalidad.corregimiento.distrito.region.ident\\\";\\n\\t\\tTimestamp timeStampInicio = new Timestamp(desde);\\n\\t\\tTimestamp timeStampFinal = new Timestamp(hasta);\\n\\t\\t\\n\\t\\t//Datos por region\\n\\t\\tquery = session.createQuery(sqlQueryRegionVista \\n\\t\\t\\t\\t+ \\\" FROM MalariaCaso mc, SemanaEpidemiologica se where \\\" + sqlQueryTiempoWhere \\n\\t\\t\\t\\t+ \\\" and mc.eliminado=:eliminado and mc.estado=:estado \\\" + sqlQueryGroupBY);\\n\\t\\tquery.setTimestamp(\\\"fechaInicio\\\", timeStampInicio);\\n\\t\\tquery.setTimestamp(\\\"fechaFinal\\\", timeStampFinal);\\n\\t\\tquery.setParameter(\\\"eliminado\\\", false);\\n\\t\\tquery.setParameter(\\\"estado\\\", \\\"confirmado\\\");\\n\\t\\t\\n\\t\\t// Retrieve all\\n\\t\\tresultadosTotales.add(query.list());\\n\\t\\t\\n\\t\\tsqlQueryRegionVista = \\\"SELECT mc.pdrMuestraLocalidad.corregimiento.distrito.ident, count(mc.id)\\\";\\n\\t\\tsqlQueryTiempoWhere = \\\"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\\\";\\n\\t\\tsqlQueryGroupBY = \\\"group by mc.pdrMuestraLocalidad.corregimiento.distrito.ident\\\";\\n\\t\\t\\n\\t\\t\\n\\t\\t//Datos por distrito\\n\\t\\tquery = session.createQuery(sqlQueryRegionVista \\n\\t\\t\\t\\t+ \\\" FROM MalariaCaso mc, SemanaEpidemiologica se where \\\" + sqlQueryTiempoWhere \\n\\t\\t\\t\\t+ \\\" and mc.eliminado=:eliminado and mc.estado=:estado \\\" + sqlQueryGroupBY);\\n\\t\\tquery.setTimestamp(\\\"fechaInicio\\\", timeStampInicio);\\n\\t\\tquery.setTimestamp(\\\"fechaFinal\\\", timeStampFinal);\\n\\t\\tquery.setParameter(\\\"eliminado\\\", false);\\n\\t\\tquery.setParameter(\\\"estado\\\", \\\"confirmado\\\");\\n\\t\\t\\n\\t\\t// Retrieve all\\n\\t\\tresultadosTotales.add(query.list());\\n\\t\\t\\n\\t\\tsqlQueryRegionVista = \\\"SELECT mc.pdrMuestraLocalidad.corregimiento.ident, count(mc.id)\\\";\\n\\t\\tsqlQueryTiempoWhere = \\\"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\\\";\\n\\t\\tsqlQueryGroupBY = \\\"group by mc.pdrMuestraLocalidad.corregimiento.ident\\\";\\n\\t\\t\\n\\t\\t\\n\\t\\t//Datos por corregimiento\\n\\t\\tquery = session.createQuery(sqlQueryRegionVista \\n\\t\\t\\t\\t+ \\\" FROM MalariaCaso mc, SemanaEpidemiologica se where \\\" + sqlQueryTiempoWhere \\n\\t\\t\\t\\t+ \\\" and mc.eliminado=:eliminado and mc.estado=:estado \\\" + sqlQueryGroupBY);\\n\\t\\tquery.setTimestamp(\\\"fechaInicio\\\", timeStampInicio);\\n\\t\\tquery.setTimestamp(\\\"fechaFinal\\\", timeStampFinal);\\n\\t\\tquery.setParameter(\\\"eliminado\\\", false);\\n\\t\\tquery.setParameter(\\\"estado\\\", \\\"confirmado\\\");\\n\\t\\t\\n\\t\\t// Retrieve all\\n\\t\\tresultadosTotales.add(query.list());\\n\\t\\t\\n\\t\\tsqlQueryRegionVista = \\\"SELECT mc.pdrMuestraLocalidad.ident, count(mc.id)\\\";\\n\\t\\tsqlQueryTiempoWhere = \\\"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\\\";\\n\\t\\tsqlQueryGroupBY = \\\"group by mc.pdrMuestraLocalidad.ident\\\";\\n\\t\\t\\n\\t\\t\\n\\t\\t//Datos por localidad\\n\\t\\tquery = session.createQuery(sqlQueryRegionVista \\n\\t\\t\\t\\t+ \\\" FROM MalariaCaso mc, SemanaEpidemiologica se where \\\" + sqlQueryTiempoWhere \\n\\t\\t\\t\\t+ \\\" and mc.eliminado=:eliminado and mc.estado=:estado \\\" + sqlQueryGroupBY);\\n\\t\\tquery.setTimestamp(\\\"fechaInicio\\\", timeStampInicio);\\n\\t\\tquery.setTimestamp(\\\"fechaFinal\\\", timeStampFinal);\\n\\t\\tquery.setParameter(\\\"eliminado\\\", false);\\n\\t\\tquery.setParameter(\\\"estado\\\", \\\"confirmado\\\");\\n\\t\\t\\n\\t\\t// Retrieve all\\n\\t\\tresultadosTotales.add(query.list());\\n\\n\\n\\n\\t\\treturn resultadosTotales;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1edd58dfe5cfcae2cde4bfc903db4239\",\n \"score\": \"0.5599408\",\n \"text\": \"public ArrayList obtenerDatos(){\\n BaseDatos db = new BaseDatos(context);\\n insertarTresContactos(db);\\n return db.obtenerAllContacts();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abd71531ce6160dc526c9a805c379057\",\n \"score\": \"0.5591975\",\n \"text\": \"public List letrasVencidasTramos_todos_ordenNombresC_SC() {\\r\\n //*corregir* el uso de datosCleinte esta por demas\\r\\n List l = null;\\r\\n Transaction trns = null;\\r\\n sesion = HibernateUtil.getSessionFactory().openSession();\\r\\n try {\\r\\n trns = sesion.beginTransaction();\\r\\n Query q = sesion.createQuery(\\\"select vcl.ventas.codVentas,\\\"\\r\\n + \\\"\\tvcl.ventas.docSerieNumero,\\\"\\r\\n + \\\"\\tvcl.ventas.fecha,\\\"\\r\\n + \\\"\\tvcl.ventas.identificacion,\\\"\\r\\n + \\\"\\tvcl.ventas.cliente,\\\"\\r\\n + \\\"\\tvcl.ventas.direccion,\\\"\\r\\n + \\\"\\tvcl.ventas.neto,\\\"\\r\\n + \\\"\\tvcl.codVentaCreditoLetra,\\\"\\r\\n + \\\"\\tvcl.fechaVencimiento,\\\"\\r\\n + \\\"\\tvcl.monto,\\\"\\r\\n + \\\"\\tvcl.totalPago,\\\"\\r\\n + \\\" dc.empresaConvenio.codCobranza\\\"\\r\\n + \\\" from VentaCreditoLetra vcl, DatosCliente dc\\\"\\r\\n + \\\" where vcl.ventas.persona = dc.persona\\\"\\r\\n + \\\" and (vcl.monto-vcl.totalPago)>0\\\"\\r\\n + \\\"\\tand substring(vcl.registro,1,1)=1\\\"\\r\\n + \\\" order by vcl.ventas.persona.nombresC,\\\"\\r\\n + \\\" dc.codDatosCliente, vcl.ventas.codVentas\\\");\\r\\n l = q.list();\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n setError(e.getMessage());\\r\\n } finally {\\r\\n sesion.flush();\\r\\n sesion.close();\\r\\n }\\r\\n return l;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a373ac5e025f89adcba4638a35f7c941\",\n \"score\": \"0.5586839\",\n \"text\": \"private Collection getFincaCatastroBuscadasPorDirDB(String idMunicipio,String patronNombreVia, String patronTipoVia) throws Exception\\r\\n\\t{\\r\\n\\t\\tArrayList aux= new ArrayList();\\r\\n\\t\\tString sSQL= \\\"select distinct parcelas.referencia_catastral as ID, vias.tipovianormalizadocatastro, vias.nombrecatastro, \\\" +\\r\\n\\t\\t\\\" parcelas.primer_numero, parcelas.codigopoligono, parcelas.codigoparcela from parcelas LEFT JOIN \\\" +\\r\\n\\t\\t\\\" vias ON parcelas.id_via=vias.codigocatastro where\\\" +\\r\\n\\t\\t\\\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\\\"+ idMunicipio+\\\"' \\\"\\r\\n\\t\\t+ \\\" and ((vias.nombrecatastro like upper('%\\\" + patronNombreVia + \\\"%')) \\\"\\r\\n\\t\\t+ \\\" and (vias.tipovianormalizadocatastro like upper('%\\\" + patronTipoVia + \\\"%'))) \\\"\\r\\n\\t\\t+ \\\" and vias.id_municipio='\\\"+idMunicipio+\\\"'\\\" \\r\\n\\t\\t+ \\\" order by vias.nombrecatastro asc\\\";\\r\\n\\t\\tPreparedStatement ps= null;\\r\\n\\t\\tConnection conn= null;\\r\\n\\t\\tResultSet rs= null;\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tconn= CPoolDatabase.getConnection();\\r\\n\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\trs= ps.executeQuery();\\r\\n\\t\\t\\twhile(rs.next())\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tFincaCatastro finca = new FincaCatastro();\\r\\n\\t\\t\\t\\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\\\"id\\\"));\\r\\n\\t\\t\\t\\tfinca.setRefFinca(refCatas);\\r\\n\\t\\t\\t\\tDireccionLocalizacion dir = new DireccionLocalizacion();\\r\\n\\t\\t\\t\\tdir.setNombreVia(rs.getString(\\\"nombrecatastro\\\"));\\r\\n\\t\\t\\t\\tdir.setTipoVia(rs.getString(\\\"tipovianormalizadocatastro\\\"));\\r\\n\\t\\t\\t\\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \\\"primer_numero\\\"));\\r\\n\\t\\t\\t\\tdir.setCodParcela(rs.getString(\\\"codigoparcela\\\"));\\r\\n\\t\\t\\t\\tdir.setCodPoligono(rs.getString(\\\"codigopoligono\\\"));\\r\\n\\t\\t\\t\\tfinca.setDirParcela(dir);\\r\\n\\t\\t\\t\\taux.add(finca);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\r\\n\\t\\tfinally\\r\\n\\t\\t{\\r\\n\\t\\t\\ttry{ps.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{rs.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{conn.close();}catch(Exception e){};\\r\\n\\t\\t}\\r\\n\\t\\treturn aux;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7afa2b2c42b4dc9e9cf97ec8e77f4b3e\",\n \"score\": \"0.55750453\",\n \"text\": \"public List letrasVencidasTramos_empresaConvenio_cobrador_ordenDireccion_SC(int codEmpresaConvenio,\\r\\n int codCobrador) {\\r\\n //*corregir* el uso de datosCleinte esta por demas\\r\\n List l = null;\\r\\n Transaction trns = null;\\r\\n sesion = HibernateUtil.getSessionFactory().openSession();\\r\\n try {\\r\\n trns = sesion.beginTransaction();\\r\\n Query q = sesion.createQuery(\\\"select vcl.ventas.codVentas,\\\"\\r\\n + \\\"\\tvcl.ventas.docSerieNumero,\\\"\\r\\n + \\\"\\tvcl.ventas.fecha,\\\"\\r\\n + \\\"\\tvcl.ventas.identificacion,\\\"\\r\\n + \\\"\\tvcl.ventas.cliente,\\\"\\r\\n + \\\"\\tvcl.ventas.direccion,\\\"\\r\\n + \\\"\\tvcl.ventas.neto,\\\"\\r\\n + \\\"\\tvcl.codVentaCreditoLetra,\\\"\\r\\n + \\\"\\tvcl.fechaVencimiento,\\\"\\r\\n + \\\"\\tvcl.monto,\\\"\\r\\n + \\\"\\tvcl.totalPago,\\\"\\r\\n + \\\" dc.empresaConvenio.codCobranza\\\"\\r\\n + \\\" from VentaCreditoLetra vcl, DatosCliente dc\\\"\\r\\n + \\\" where vcl.ventas.persona = dc.persona\\\"\\r\\n + \\\" and (vcl.monto-vcl.totalPago)>0\\\"\\r\\n + \\\"\\tand substring(vcl.registro,1,1)=1\\\"\\r\\n + \\\" and dc.empresaConvenio.codEmpresaConvenio = :ter1\\\"\\r\\n + \\\" and dc.codCobrador = :par2\\\"\\r\\n + \\\" order by vcl.ventas.persona.direccion,\\\"\\r\\n + \\\" dc.codDatosCliente, vcl.ventas.codVentas\\\")\\r\\n .setInteger(\\\"ter1\\\", codEmpresaConvenio)\\r\\n .setInteger(\\\"par2\\\", codCobrador);\\r\\n l = q.list();\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n setError(e.getMessage());\\r\\n } finally {\\r\\n sesion.flush();\\r\\n sesion.close();\\r\\n }\\r\\n return l;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b47546a8c6c74a6d3d25524373d691f\",\n \"score\": \"0.55706203\",\n \"text\": \"private BigDecimal corregirDato(String Dato){\\r\\n String datoAcorregir = Dato.replace(\\\"C\\\", \\\"\\\");\\r\\n DecimalFormat decimalformat = (DecimalFormat) NumberFormat.getInstance();\\r\\n decimalformat.setParseBigDecimal(true);\\r\\n BigDecimal DatoCorregido = null;\\r\\n try {\\r\\n DatoCorregido = (BigDecimal) decimalformat.parseObject(datoAcorregir);\\r\\n } catch (ParseException ex) {\\r\\n Logger.getLogger(MyTableModelListener_FACT.class.getName()).log(Level.SEVERE, null, ex);\\r\\n }\\r\\n return DatoCorregido;\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a5c68f4561ba0e003d652c32a939ad7\",\n \"score\": \"0.5567695\",\n \"text\": \"public Docente obtenerPorCedula(String cedula) throws ObjectNotFoundException, NoResponseBDException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b81b8fa34098a7b17372fe2bb4bbd559\",\n \"score\": \"0.5563295\",\n \"text\": \"private Hashtable getCodigoNombreProvinciaBD() throws Exception\\r\\n\\t{\\r\\n\\t\\tHashtable aux= new Hashtable();\\r\\n\\t\\tArrayList codigos = new ArrayList();\\r\\n\\t\\tArrayList nombres = new ArrayList();\\r\\n\\t\\tString sSQL= \\\"select id, nombreoficial from provincias order by translate(nombreoficial, 'ÁÉÍÓÚáéíóú','AEIOUaeiou')\\\";\\r\\n\\t\\tPreparedStatement ps= null;\\r\\n\\t\\tConnection conn= null;\\r\\n\\t\\tResultSet rs= null;\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tconn= CPoolDatabase.getConnection();\\r\\n\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\trs= ps.executeQuery();\\r\\n\\t\\t\\twhile(rs.next())\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tcodigos.add(rs.getString(\\\"id\\\"));\\r\\n\\t\\t\\t\\tnombres.add(rs.getString(\\\"nombreoficial\\\"));\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t//TODO esto mirar y mejorar\\r\\n\\t\\t\\taux.put(\\\"codigos\\\",codigos);\\r\\n\\t\\t\\taux.put(\\\"nombres\\\",nombres);\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\r\\n\\t\\tfinally\\r\\n\\t\\t{\\r\\n\\t\\t\\ttry{ps.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{rs.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{conn.close();}catch(Exception e){};\\r\\n\\t\\t}\\r\\n\\t\\treturn aux;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1380cc9edf7fce2323538d24c1434fc3\",\n \"score\": \"0.555952\",\n \"text\": \"public String getCSOBJ_CODIGO(){\\n\\t\\treturn this.myCsobj_codigo;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abba40203ec31bd192985ca1bd40d069\",\n \"score\": \"0.5559459\",\n \"text\": \"private void buscaDato()\\n {\\n String consulta=\\\"SELECT DISTINCT obj from Almacen obj \\\";\\n String aux=\\\"\\\";\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"N° Entrada\\\")==0)\\n if(t_busca.getText().compareTo(\\\"\\\")!=0)\\n consulta+=\\\" where obj.idAlmacen =\\\" + t_busca.getText();\\n\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"Pedido\\\")==0)\\n {\\n if(t_busca.getText().compareTo(\\\"\\\")!=0)\\n consulta+=\\\"LEFT JOIN obj.pedido ped \\\"\\n + \\\"where ped.idPedido like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n }\\n\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"O. Taller\\\")==0)\\n {\\n if(t_busca.getText().compareTo(\\\"\\\")!=0)\\n {\\n aux=\\\"SELECT DISTINCT obj from Almacen obj \\\"\\n + \\\"WHERE obj.pedido.partida.ordenByIdOrden.idOrden like '%\\\"+t_busca.getText()+\\\"%'\\\";\\n consulta+=\\\"LEFT JOIN FETCH obj.movimientos objM \\\"\\n + \\\"LEFT JOIN objM.partida part \\\"\\n + \\\"LEFT JOIN part.ordenByIdOrden ord \\\"\\n + \\\"where ord.idOrden like'%\\\"+t_busca.getText()+\\\"%' OR obj.orden.idOrden like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n }\\n }\\n\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"No Proveedor (pedido)\\\")==0)\\n if(t_busca.getText().compareTo(\\\"\\\")!=0)\\n consulta+=\\\"LEFT JOIN obj.pedido ped \\\"\\n + \\\"LEFT JOIN ped.proveedorByIdProveedor prov \\\"\\n + \\\"where prov.idProveedor like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"Nombre de Proveedor (pedido)\\\")==0)\\n consulta+=\\\"LEFT JOIN obj.pedido ped \\\"\\n + \\\"LEFT JOIN ped.proveedorByIdProveedor prov \\\"\\n + \\\"where prov.nombre like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"Entrego/recibió\\\")==0)\\n consulta+=\\\"LEFT JOIN obj.pedido ped \\\"\\n + \\\"where obj.entrego like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"No Proveedor (s. compañía)\\\")==0)\\n {\\n if(t_busca.getText().compareTo(\\\"\\\")!=0)\\n consulta+=\\\"LEFT JOIN FETCH obj.movimientos objM \\\"\\n + \\\"LEFT JOIN objM.partida part \\\"\\n + \\\"LEFT JOIN part.proveedor prov \\\"\\n + \\\"where prov.idProveedor like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n }\\n if(c_filtro.getSelectedItem().toString().compareTo(\\\"Nombre de Proveedor (s. compañía)\\\")==0)\\n {\\n if(t_busca.getText().compareTo(\\\"\\\")!=0)\\n consulta+=\\\"LEFT JOIN FETCH obj.movimientos objM \\\"\\n + \\\"LEFT JOIN objM.partida part \\\"\\n + \\\"LEFT JOIN part.proveedor prov \\\"\\n + \\\"where prov.nombre like'%\\\"+t_busca.getText()+\\\"%'\\\";\\n }\\n\\n\\n Session session = HibernateUtil.getSessionFactory().openSession();\\n try\\n {\\n session.beginTransaction();\\n Query q = session.createQuery(consulta);\\n List resultList = q.list();\\n\\n if(aux.compareTo(\\\"\\\")!=0)\\n {\\n Query q1 = session.createQuery(aux);\\n resultList.addAll(q1.list());\\n }\\n\\n if(resultList.size()>0)\\n {\\n t_datos.setModel(ModeloTablaReporte(resultList.size(), columnas));\\n int i=0;\\n for (Object o : resultList) \\n {\\n Almacen actor = (Almacen) o;\\n model.setValueAt(actor.getIdAlmacen(), i, 0);\\n model.setValueAt(actor.getUsuario().getEmpleado().getNombre(), i, 1);\\n model.setValueAt(actor.getFecha(), i, 2);\\n if(actor.getPedido()!=null)\\n model.setValueAt(actor.getPedido().getIdPedido(), i, 3);\\n else\\n model.setValueAt(\\\"\\\", i, 3);\\n model.setValueAt(actor.getNotas(), i, 4);\\n if(actor.getTipoMovimiento()==1)\\n {\\n if(actor.getOperacion()==1)\\n {\\n model.setValueAt(\\\"Entrada\\\", i, 5);\\n model.setValueAt(\\\"P. Valuacion\\\", i, 6);\\n }\\n if(actor.getOperacion()==2)\\n {\\n model.setValueAt(\\\"Entrada\\\", i, 5);\\n model.setValueAt(\\\"P. Externo\\\", i, 6);\\n }\\n if(actor.getOperacion()==3)\\n {\\n model.setValueAt(\\\"Entrada\\\", i, 5);\\n model.setValueAt(\\\"P. Directo\\\", i, 6);\\n }\\n if(actor.getOperacion()==4)\\n {\\n model.setValueAt(\\\"Entregada\\\", i, 5);\\n model.setValueAt(\\\"Compañía\\\", i, 6);\\n }\\n\\n if(actor.getOperacion()==5)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"Operarios\\\", i, 6);\\n }\\n if(actor.getOperacion()==6)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"Venta\\\", i, 6);\\n }\\n if(actor.getOperacion()==7)\\n {\\n model.setValueAt(\\\"Entrada\\\", i, 5);\\n model.setValueAt(\\\"P.Consumibles\\\", i, 6);\\n }\\n if(actor.getOperacion()==8)\\n {\\n model.setValueAt(\\\"Devolucion\\\", i, 5);\\n model.setValueAt(\\\"Consumibles\\\", i, 6);\\n }\\n if(actor.getOperacion()==9)\\n {\\n model.setValueAt(\\\"Entrada\\\", i, 5);\\n model.setValueAt(\\\"Ajuste\\\", i, 6);\\n }\\n }\\n else\\n {\\n\\n if(actor.getOperacion()==1)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"P. Valuacion\\\", i, 6);\\n }\\n if(actor.getOperacion()==2)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"P. Externo\\\", i, 6);\\n }\\n if(actor.getOperacion()==3)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"P. Directo\\\", i, 6);\\n }\\n if(actor.getOperacion()==4)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"Compañía\\\", i, 6);\\n }\\n if(actor.getOperacion()==5)\\n {\\n model.setValueAt(\\\"Salida\\\", i, 5);\\n model.setValueAt(\\\"Operarios\\\", i, 6);\\n }\\n if(actor.getOperacion()==6)\\n {\\n model.setValueAt(\\\"Salida\\\", i, 5);\\n model.setValueAt(\\\"Venta\\\", i, 6);\\n }\\n if(actor.getOperacion()==7)\\n {\\n model.setValueAt(\\\"Devolución\\\", i, 5);\\n model.setValueAt(\\\"P.Consumibles\\\", i, 6);\\n }\\n if(actor.getOperacion()==8)\\n {\\n model.setValueAt(\\\"Salida\\\", i, 5);\\n model.setValueAt(\\\"Consumibles\\\", i, 6);\\n }\\n if(actor.getOperacion()==9)\\n {\\n model.setValueAt(\\\"Salida\\\", i, 5);\\n model.setValueAt(\\\"Ajuste\\\", i, 6);\\n }\\n }\\n i++;\\n }\\n }\\n else\\n t_datos.setModel(ModeloTablaReporte(0, columnas));\\n t_busca.requestFocus();\\n }catch(Exception e)\\n {\\n System.out.println(e);\\n }\\n if(session!=null)\\n if(session.isOpen())\\n session.close();\\n titulos();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b24738efe79be78f76a0e4ac4244fddc\",\n \"score\": \"0.5558655\",\n \"text\": \"@Override\\r\\n public String datosEmpleado(){\\r\\n String datosPersonales=super.datosEmpleado();\\r\\n datosPersonales+= \\\"Horas trabajadas: \\\" + this.horas + \\\"( a\\\" + this.precioHora+\\\"€ \\\\n\\\";\\r\\n return datosPersonales;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d46d5bdb52445cf75f084c249b95fb7\",\n \"score\": \"0.55584204\",\n \"text\": \"public String getDataLancamentoFormatoBr() {\\n String dataFormatoBr;\\n dataFormatoBr = dataLancamento.substring(8) + '/' +\\n dataLancamento.substring(5,7) + '/' + dataLancamento.substring(0,4);\\n return dataFormatoBr;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e3c517db0039b00405aa597a76cc35f\",\n \"score\": \"0.5551515\",\n \"text\": \"private void getBienInmuebleCatastroExpedienteDB(Expediente exp, String idMunicipio)throws Exception\\r\\n\\t{\\r\\n\\t\\tArrayList aux= new ArrayList();\\r\\n\\t\\tString sSQL= \\\"select e.id_bieninmueble, e.id_dialogo,e.actualizado, b.poligono_rustico, b.parcela, b.id_via,b.primer_numero, \\\" +\\r\\n\\t\\t\\\" b.codigo_municipiodgc, b.clase_bieninmueble, p.codigodelegacionmeh from \\\" +\\r\\n\\t\\t\\\" Expediente_BienInmueble e,Bien_Inmueble b, parcelas p where e.id_expediente=\\\" +exp.getIdExpediente()+\\r\\n\\t\\t\\\" and e.id_BienInmueble=b.IDentificador and p.referencia_catastral=b.parcela_catastral and\\\" +\\r\\n\\t\\t\\\" p.id_municipio=\\\" +\\r\\n\\t\\tidMunicipio;\\r\\n\\t\\tPreparedStatement ps= null;\\r\\n\\t\\tConnection conn= null;\\r\\n\\t\\tResultSet rs= null;\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tconn= CPoolDatabase.getConnection();\\r\\n\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\trs= ps.executeQuery();\\r\\n\\t\\t\\twhile(rs.next())\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\\r\\n\\t\\t\\t\\tIdBienInmueble idBI = new IdBienInmueble();\\r\\n\\t\\t\\t\\tidBI.setIdBienInmueble(rs.getString(\\\"id_bieninmueble\\\"));\\r\\n\\t\\t\\t\\tbien.setIdBienInmueble(idBI);\\r\\n\\r\\n\\t\\t\\t\\tDireccionLocalizacion dir = new DireccionLocalizacion();\\r\\n\\t\\t\\t\\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \\\"primer_numero\\\"));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tString codDelegacionMEH = rs.getString(\\\"codigodelegacionmeh\\\");\\r\\n\\t\\t\\t\\tif(codDelegacionMEH == null || codDelegacionMEH.equalsIgnoreCase(\\\"\\\"))\\r\\n\\t\\t\\t\\t\\tcodDelegacionMEH = String.valueOf(exp.getEntidadGeneradora().getCodigo());\\r\\n\\r\\n\\t\\t\\t\\tdir.setProvinciaINE(codDelegacionMEH);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tdir.setCodPoligono(rs.getString(\\\"poligono_rustico\\\"));\\r\\n\\t\\t\\t\\tdir.setCodParcela(rs.getString(\\\"parcela\\\"));\\r\\n\\t\\t\\t\\tbien.setCodMunicipioDGC(rs.getString(\\\"codigo_municipiodgc\\\"));\\r\\n\\t\\t\\t\\tbien.setClaseBienInmueble(rs.getString(\\\"clase_bieninmueble\\\"));\\r\\n\\t\\t\\t\\tif(rs.getString(\\\"id_dialogo\\\") == null ){\\r\\n\\t\\t\\t\\t\\tbien.setIdentificadorDialogo(\\\"\\\");\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse{\\r\\n\\t\\t\\t\\t\\tbien.setIdentificadorDialogo(rs.getString(\\\"id_dialogo\\\"));\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tbien.setActualizadoOVC(rs.getBoolean(\\\"actualizado\\\"));\\r\\n\\t\\t\\t\\tint idVia = -1;\\r\\n\\t\\t\\t\\tidVia = TypeUtil.getSimpleInteger(rs,\\\"id_via\\\");\\r\\n\\t\\t\\t\\tResultSet rsVia= null;\\r\\n\\t\\t\\t\\ttry\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tif(idVia!=-1){\\r\\n\\t\\t\\t\\t\\t\\tsSQL = \\\"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\\\" + idVia\\r\\n\\t\\t\\t\\t\\t\\t+ \\\" and id_municipio=\\\"+Integer.parseInt(idMunicipio);;\\r\\n\\t\\t\\t\\t\\t\\tps= conn.prepareStatement(sSQL);\\r\\n\\t\\t\\t\\t\\t\\trsVia= ps.executeQuery();\\r\\n\\t\\t\\t\\t\\t\\tif(rsVia.next())\\r\\n\\t\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\t\\tdir.setNombreVia(rsVia.getString(\\\"nombrecatastro\\\"));\\r\\n\\t\\t\\t\\t\\t\\t\\tdir.setTipoVia(rsVia.getString(\\\"tipovianormalizadocatastro\\\"));\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}catch (Exception e)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tthrow e;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tfinally\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\ttry{rsVia.close();}catch(Exception e){};\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tbien.setDomicilioTributario(dir);\\r\\n\\t\\t\\t\\taux.add(bien);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\texp.setListaReferencias(aux);\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\r\\n\\t\\tfinally\\r\\n\\t\\t{\\r\\n\\t\\t\\ttry{ps.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{rs.close();}catch(Exception e){};\\r\\n\\t\\t\\ttry{conn.close();}catch(Exception e){};\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":875,"cells":{"query_id":{"kind":"string","value":"59182070c9fe1695c8215b9d5d99c302"},"query":{"kind":"string","value":"Update fields in view"},"positive_passages":{"kind":"list like","value":[{"docid":"3a2ee56d3cb9a9e4f9c8403c13571c63","score":"0.0","text":"private void bind(Person person) {\n this.person = person;\n\n // Set name\n String nameString = person.getFirstName() + \" \" + person.getLastName();\n primaryText.setText(nameString);\n\n // Set gender icon\n if (\"m\".equals(person.getGender())) {\n imageView.setBackgroundResource(R.drawable.male_icon);\n }\n else {\n imageView.setBackgroundResource(R.drawable.female_icon);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"3a2ee56d3cb9a9e4f9c8403c13571c63\",\n \"score\": \"0.0\",\n \"text\": \"private void bind(Person person) {\\n this.person = person;\\n\\n // Set name\\n String nameString = person.getFirstName() + \\\" \\\" + person.getLastName();\\n primaryText.setText(nameString);\\n\\n // Set gender icon\\n if (\\\"m\\\".equals(person.getGender())) {\\n imageView.setBackgroundResource(R.drawable.male_icon);\\n }\\n else {\\n imageView.setBackgroundResource(R.drawable.female_icon);\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"2b076d0521581115f1c4b89031fdd6c9","score":"0.69226193","text":"@Override\n public void updateModelFromView() {\n }","title":""},{"docid":"4e720aa95ec395bba387230608e647a0","score":"0.64221156","text":"public void updateViews();","title":""},{"docid":"bd0d008144821c4588fd1a5f2a0f49a8","score":"0.6257973","text":"public void updateView()\r\n {}","title":""},{"docid":"7d9db6162bd53ef59ca505116d0d680a","score":"0.6198622","text":"public void updateViewWithData() {\n model.loadFriends();\n List friends = model.getFriends();\n view.updateFriendsList(friends);\n }","title":""},{"docid":"90f112539883c3e1b681fa8ed306c3b2","score":"0.6185455","text":"private void updateTextFields() {\n this.myEditCid.setText(\"\" + this.myCellID);\n this.myEditLac.setText(\"\" + this.myLAC);\n }","title":""},{"docid":"8ea91ed1fc0f9914554ba7f8247a13bc","score":"0.6184482","text":"private void modifiedModel() {\n this.i.update();\n v.update();\n }","title":""},{"docid":"49e78471ad4cd6854ee0c4fc6f62b5c3","score":"0.61596745","text":"public void updateView();","title":""},{"docid":"49e78471ad4cd6854ee0c4fc6f62b5c3","score":"0.61596745","text":"public void updateView();","title":""},{"docid":"7ed8bf41d9b67b733af7f41167b5016f","score":"0.61257344","text":"public void refreshViewAttributes();","title":""},{"docid":"af9a3c1b09da7b47b95a7b929dc5b830","score":"0.6110327","text":"@Override\n\tpublic void updateViews(Object obj) {\n\t\t\n\t}","title":""},{"docid":"6c2b4609a26dd4926fe148b3a43b28ff","score":"0.6100213","text":"abstract void updateView();","title":""},{"docid":"6690ece2289a220a844a68b8010c8961","score":"0.60985625","text":"@Override\n\tpublic void updateModel() {\n\t\t\n\t}","title":""},{"docid":"3e691d8ac7b7b6c3eeca07907e7c87aa","score":"0.6094163","text":"public void updateView() {\n \tsuper.updateView();\n }","title":""},{"docid":"2ce5c58f83ffd062330079c27718277e","score":"0.6086783","text":"public void fieldsUpdated(Collection> fields);","title":""},{"docid":"9e486aebf4c22920a44845b50be08e08","score":"0.60757756","text":"public void fieldUpdated(DataModelField field);","title":""},{"docid":"d12074f34aab2df69b3107a8e0cae4f7","score":"0.59854233","text":"public abstract void updateFromView(View view);","title":""},{"docid":"05e0d8a92a701838e873faad760840e0","score":"0.59695697","text":"public void testUpdate() {\n Runnable extraSetup = new Runnable() {\n @Override\n public void run() {\n setText(R.id.update_object_type_text, \"objTypeUpdate\");\n setText(R.id.update_object_id_text, \"objIdUpdate\");\n setText(R.id.update_fields_text, \"{\\\"field1\\\":\\\"update1\\\",\\\"field2\\\":\\\"update2\\\"}\");\n }\n };\n gotoTabAndRunAction(UPDATE_TAB, R.id.update_button, \"Go\", extraSetup, \"[PATCH \" + TEST_INSTANCE_URL + \"/services/data/\" + ApiVersionStrings.getVersionNumber(targetContext) + \"/sobjects/objTypeUpdate/objIdUpdate {\\\"field1\\\":\\\"update1\\\",\\\"field2\\\":\\\"update2\\\"}]\");\n }","title":""},{"docid":"c4e6eca02482e349b5a605ed8ce28552","score":"0.59528273","text":"private void fillFields() {\n if (this.selectedEntry != null) {\n this.titleTextField.setText(this.selectedEntry.getTitle());\n this.usernameTextField.setText(this.selectedEntry.getUsername());\n this.passwordVisibleTextField\n .setText(this.selectedEntry.getPassword());\n this.repeatPasswordField.setText(this.selectedEntry.getPassword());\n this.urlTextField.setText(this.selectedEntry.getUrl());\n this.emailTextField.setText(this.selectedEntry.getEmail());\n this.notesTextArea.setText(this.selectedEntry.getNotes());\n }\n }","title":""},{"docid":"3dc0596084cf88bcdceed47be6dd5b40","score":"0.59508693","text":"public void editInformation(){\n \t//This method is a blank method created in version 1.0 \n \t//and will be implemented in future application versions.\n }","title":""},{"docid":"a9144a04422706dc9ef66e62bc8490d3","score":"0.5899251","text":"@Override\n public void viewUpdate() {\n\n }","title":""},{"docid":"e1179eae0146d48b2951b65b72982408","score":"0.58895886","text":"public ViewAdminUpdate() {\n initComponents();\n db = new Database();\n Con = db.getConnection();\n \n //showPreOrder();\n }","title":""},{"docid":"63489cb681b0e579c0569793ea6167df","score":"0.58647543","text":"public void viewToModel() {\n for ( int i=0; i < days.size(); i++ ) {\n days.get(i).setWorkingHours( Double.parseDouble( fields.get(i).getText() ) );\n days.get(i).setWorkingDay( checks.get(i).isSelected() );\n }\n }","title":""},{"docid":"56b4c3afcf14f875119b7b3d81f841e8","score":"0.5863506","text":"private void updateView()\n {\n locName = (TextView)findViewById(R.id.nameText);\n locName.setText(location.getLocationName());\n locDescript = (TextView)findViewById(R.id.descriptText);\n locDescript.setText(location.getLocationDescription());\n response = (TextView)findViewById(R.id.responseText);\n }","title":""},{"docid":"a099fd43f7aa87a352f59ebf4096fd71","score":"0.5857589","text":"void updateView(List> update);","title":""},{"docid":"8388cc6ded710f2b504f197514e5171b","score":"0.5838064","text":"public String callUpdate() {\r\n\t\tString opt = request.getParameter(\"opt\");\r\n\t\tString id = request.getParameter(\"para\");\r\n\t\tsurveyQuestionnaire.setOptionTextarea(opt);\r\n\t\tsurveyQuestionnaire.setParaId(id);\r\n\t\treturn \"viewOptions\";\r\n\t}","title":""},{"docid":"b6593e2dd5ebf82877d33a98e4d3618a","score":"0.58276016","text":"public void updateViews()\r\n\t{\r\n\t\tview.updateView();\r\n\t}","title":""},{"docid":"62c4f89653d19fd711c1a60b926017c5","score":"0.58215415","text":"public void update(){\n\t\tthis.binder_Actualizacion.clear();\n\t\tthis.cb_Dependencia.setValue((String)(\"\"));\n\t}","title":""},{"docid":"fc0aec0885b18e833210f3766846432a","score":"0.57891256","text":"public void updateView(){\n\n // Actualizo el texto de valor del subtotal y total en billetera\n initializeSubtotalAndLoadTotal();\n\n // Actualizo todas las imágenes dentro del Slide\n updateImages();\n\n // Inhabilito el botón de carga\n Button saveButton = (Button) rootView.findViewById(R.id.button13);\n saveButton.setEnabled(false);\n\n }","title":""},{"docid":"a719a8fb994dcecdbef9e705a67d4896","score":"0.57873887","text":"private void populateFields(){\n\n patientIdJTextField.setText(String.valueOf(patient.getId()));\n patientNameJTextField.setText(patient.getName());\n priDoctorJTextField.setText(patient.getPrimaryDoctorName());\n doctorContactJTextField.setText(patient.getPrimaryDoctorContact());\n \n}","title":""},{"docid":"a30e07f7465b8ce37b98345f241d6bb4","score":"0.5775898","text":"void update(Model model);","title":""},{"docid":"872f228b1b43f5ed3641e629c77f2497","score":"0.576204","text":"public void edit()\n\t\t{\n\t\t}","title":""},{"docid":"872f228b1b43f5ed3641e629c77f2497","score":"0.576204","text":"public void edit()\n\t\t{\n\t\t}","title":""},{"docid":"74bd67572af28adee551963d0455e835","score":"0.5758252","text":"@Override\r\n\tpublic void update(RecVO recVO) {\n\t\t\r\n\t}","title":""},{"docid":"7720a667ba550de39ea14385f9b19bc8","score":"0.57542455","text":"@Override\n public void updateView() {\n \n }","title":""},{"docid":"0945772f390c6f3bf4212aca0239509b","score":"0.5739237","text":"@RequestMapping(\"/updatedailyupdates/{id}\")\n \t\tpublic String updateForm(@PathVariable(\"id\") Long id, Model model) {\n \t\t\tDailyUpdates dailyUpdates = this.dailyUpdatesService.getDailyUpdates(id);\n \t\t\tmodel.addAttribute(\"dailyUpdates\", dailyUpdates);\n \t\t\treturn \"updatedailyupdates\";\n \t\t}","title":""},{"docid":"2816ab47bccc9727042261a91d287af7","score":"0.5730947","text":"protected void setFieldValues()\n\t{\n\t\tif (this.player.getPlayerID() > 0)\n\t\t{\n\t\t\tthis.heading.setText(\"Edit Player\");\n\t\t\tthis.firstName.setText(this.player.getFirstName());\n\t\t\tthis.lastName.setText(this.player.getLastName());\n\t\t\tthis.numSeasonsPlayed.setText(Integer.toString(this.player.getNumSeasonsPlayed()));\n\t\t\tthis.position.setValue(this.player.getPosition());\n\t\t\tthis.team.setValue(this.player.getTeam());\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.heading.setText(\"New Player\");\n\t\t}\n\t}","title":""},{"docid":"2d3a096cc32d6cca58fefed966e207d0","score":"0.57167876","text":"@Override\n public void updateView() {\n }","title":""},{"docid":"865db4da6b7bee7c93a0f2ccce2937e0","score":"0.5714381","text":"@Bindable\n public void refreshFields() throws ModelerException {\n workspace.refresh();\n }","title":""},{"docid":"d73a64d851889e1fd414998905be9266","score":"0.5707816","text":"public void setTextFields() { \r\n productIdField.setText(Integer.toString(selectedProduct.productIdProperty().get()));\r\n productNameField.setText(selectedProduct.productNameProperty().getValueSafe());\r\n productInvField.setText(Integer.toString(selectedProduct.productInvProperty().get()));\r\n productCostField.setText(Double.toString(selectedProduct.productCostProperty().get()));\r\n maxField.setText(Integer.toString(selectedProduct.maxProperty().get()));\r\n minField.setText(Integer.toString(selectedProduct.minProperty().get()));\r\n \r\n }","title":""},{"docid":"d4abce1ce5362df5cd560f5e25e7e51e","score":"0.5698604","text":"public void updateView(){\n\t\tapc.setView(new GameSelect(apc,cn,sn,t));\n\t}","title":""},{"docid":"4f9a27ecbcfba8b9008382d8269d5c2f","score":"0.56915945","text":"public void updateFields(Set newFields);","title":""},{"docid":"ab27a4bf2cde369e3cf5c21c45306c95","score":"0.5691362","text":"public void update(){}","title":""},{"docid":"136d5d68e54f6f644f2c84d3ee13ab32","score":"0.56800437","text":"protected abstract boolean update(String field, TableRow row);","title":""},{"docid":"3087b835576bca7559a601c023169edb","score":"0.5679155","text":"public void updateView() {\n\t\tif(myView != null) {\n\t\t\tmyView.updateView();\n\t\t}\n\t}","title":""},{"docid":"9be19949ca8b4bc80ef5f0325f48913d","score":"0.566193","text":"public void update(MainModel model);","title":""},{"docid":"e69b7d5963d9af452ab7a5bade698213","score":"0.56559366","text":"@Update\n void edita(Aluno aluno);","title":""},{"docid":"254006cbdb7ffa7b8eb79c7db4bdca05","score":"0.5633941","text":"protected abstract void setSpecificFields();","title":""},{"docid":"e50af8df5872d0eabe0641325e62cf56","score":"0.5626147","text":"public void EditarLivro() {\r\n LivroDao dao = new LivroDao();\r\n dao.atualizar(livro);\r\n }","title":""},{"docid":"0dcf3a765e6c0e091eeabca60e0652bc","score":"0.5621627","text":"public abstract void updateView();","title":""},{"docid":"841369ab9140710df3a396d35bcf3197","score":"0.56192535","text":"@Override\n\tpublic void doUpdateDynaBean() {\n\t\tString tableCode = \"\";\n\t\tDynaBean dynaBean = serviceTemplate.selectOne(tableCode, \" AND 1=1\");\n\t\tdynaBean.set(\"字段1\", \"字段值\");\n\t\tdynaBean.set(\"字段2\", \"字段值\");\n\t\t// 删除字段key,实现局部更新\n\t\tdynaBean.remove(\"字段名\");\n\t\tserviceTemplate.buildModelModifyInfo(dynaBean);\n\t\tserviceTemplate.update(dynaBean);\n\t}","title":""},{"docid":"086a62008c14bdce90069444deb752d7","score":"0.56187177","text":"@Override\n public void onUpdateObject(IViewContract.UpdateViewEvent e, Object o) {\n\n }","title":""},{"docid":"afd942617a0dad3eeab5d7907cfa1e75","score":"0.5613868","text":"@Test\n public void testUpdateView() {\n model.setBusinessId(1);\n o.updateView();\n \n String result = \"Offers: \\nID: 1\\nName: testName\\nLatitude: 1.0\\nLongitude: 1.0\\nOffer: testOffer\\n\";\n assertEquals(result, outContent.toString());\n \n }","title":""},{"docid":"535c815968bf9cda3b5398e1db44a878","score":"0.56105345","text":"@Override\n\tpublic void update(T pojo) {\n\t\t\n\t}","title":""},{"docid":"b6341971b807764f62659bd5370640ba","score":"0.56042844","text":"public void modelToView() {\n for ( int i=0; i < days.size(); i++ ) {\n fields.get(i).setText( String.valueOf( days.get(i).getWorkingHours() ) );\n\n if ( days.get(i).isWorkingDay() ) {\n checks.get(i).setSelected(true);\n } else {\n checks.get(i).setSelected(false);\n }\n }\n }","title":""},{"docid":"dca77279049087ddf41353e3556056bd","score":"0.5593691","text":"private void updateFieldsFromMap(JSONObject newModel) {\n // Get the field map for new model and old fields list\n String [][] oldFields = mEditorNote.items();\n Map> fMapNew = getCol().getModels().fieldMap(newModel);\n // Build array of label/values to provide to field EditText views\n String[][] fields = new String[fMapNew.size()][2];\n for (String fname : fMapNew.keySet()) {\n // Field index of new note type\n Integer i = fMapNew.get(fname).first;\n // Add values from old note type if they exist in map, otherwise make the new field empty\n if (mModelChangeFieldMap.containsValue(i)) {\n // Get index of field from old note type given the field index of new note type\n Integer j = getKeyByValue(mModelChangeFieldMap, i);\n // Set the new field label text\n if (allowFieldRemapping()) {\n // Show the content of old field if remapping is enabled\n fields[i][0] = String.format(getResources().getString(R.string.field_remapping), fname, oldFields[j][0]);\n } else {\n fields[i][0] = fname;\n }\n\n // Set the new field label value\n fields[i][1] = oldFields[j][1];\n } else {\n // No values from old note type exist in the mapping\n fields[i][0] = fname;\n fields[i][1] = \"\";\n }\n }\n populateEditFields(fields, true);\n updateCards(newModel);\n }","title":""},{"docid":"25ea81fe10a498eccf6326abaf879e19","score":"0.55914223","text":"private void editContact(IView source) {\n try {\r\n\t\tmodel.editContact();\r\n\t\tsetUpdatEnabled(true);\r\n\t} catch (IllegalAccessException e) {\r\n\t\t System.out.println(\"There are no contacts!\");\r\n\t}\r\n\r\n\t\t\r\n\r\n\r\n\t}","title":""},{"docid":"d4501177eaa33d496532da7951e3276e","score":"0.5588326","text":"public void refresh() {\n\t\tif (model != null) {\n\t\t\ttextField.setText(\"\" + model.getValue());\n\t\t}\n\t}","title":""},{"docid":"b7e2c8026fb6f5622269296f82e4703b","score":"0.5569788","text":"@OnClick(R.id.tvSave)\n void updateProfile() {\n if (validateField()) {\n callEditProfileService();\n }\n }","title":""},{"docid":"96aea71ccdb50db9a01ee35bb92f52e4","score":"0.55676234","text":"public String update() {\n\t\tif (getElement().getIdTipo() == null) {\n\t\t\tFacesContext.getCurrentInstance()\n\t\t\t\t\t.addMessage(\n\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\tnew FacesMessage(\"Tipo non valido\",\n\t\t\t\t\t\t\t\t\t\"Selezionare il tipo.\"));\n\t\t\treturn null;\n\t\t}\n\t\t@SuppressWarnings(\"unused\")\n\t\tPubblicazione t = getSession().update(element);\n\t\t// refresh locale\n\t\tthis.element = getSession().find(this.element.getId());\n\t\trefreshModel();\n\t\t// vista di destinzione\n\t\toperazioniLogHandler.save(OperazioniLog.MODIFY, JSFUtils.getUserName(),\n\t\t\t\t\"modifica publicazione: \" + this.element.getTitolo());\n\t\treturn viewPage();\n\t}","title":""},{"docid":"573fc55a80de94ef1de5315fa8df5300","score":"0.5563989","text":"@Override\n\tprotected void pageComplete() {\n\t\tupdateModel();\n\t}","title":""},{"docid":"9105d195277b6bd9859cbc4811567fc4","score":"0.5562356","text":"public void update() {\n /**\n * GET THE NEW TEXT\n */\n newName = name.getText().toString();\n\n /**\n * UPDATE THE DEVELOPER\n */\n if(newName.trim().equals(\"\"))\n Toast.makeText(EditDeveloper.this, R.string.error_empty_fields, Toast.LENGTH_SHORT).show();\n else {\n developerViewModel.update(dev.getId(), newName);\n\n /**\n * SHOW INFORMATIONS AND CLOSE\n */\n Toast.makeText(EditDeveloper.this, R.string.developer_edited, Toast.LENGTH_SHORT).show();\n finish();\n }\n }","title":""},{"docid":"0610ed6534f4e45c8dad89ceb22beedf","score":"0.5561287","text":"private void update() {\n String getTitle=titleField.getText().toString();\n String getAuthor=authorField.getText().toString();\n float getRating=ratingField.getRating();\n boolean isTitleEmpty=titleField.getText().toString().isEmpty();\n boolean isAuthorEmpty=authorField.getText().toString().isEmpty();\n boolean isNoRating=ratingField.getRating()==0;\n boolean isNullPhotoURL=coverPhotoURL==null;\n String book_id=getIntent().getExtras().getString(Config.BOOK_ID);\n\n if(isTitleEmpty){\n titleField.setError(Config.TITLE_EMPTY_MESSAGE);\n }\n\n if(isAuthorEmpty){\n authorField.setError(Config.AUTHOR_EMPTY_MESSAGE);\n }\n\n if(isNoRating){\n Toast.makeText(this, Config.RATING_ZERO_MESSAGE, Toast.LENGTH_SHORT).show();\n }\n\n if(isNullPhotoURL){\n Toast.makeText(this, Config.IMAGE_URL_NULL_MESSAGE, Toast.LENGTH_SHORT).show();\n }\n\n if(!isTitleEmpty && !isAuthorEmpty && !isNoRating && !isNullPhotoURL){\n bookDatabaseHelper.edit(getApplicationContext(),book_id,getTitle,getAuthor,getRating,coverPhotoURL);\n }\n }","title":""},{"docid":"1ea9df4cd46b1b2bd9a4843c0901ec20","score":"0.5559954","text":"@Override\r\n\tpublic void update(Object obj) {\n\t\ttbPersonaDao.update(obj);\r\n\t}","title":""},{"docid":"707f75955252ffcec961027ef901be69","score":"0.55468273","text":"private void editCustomerDetails() {\n nameField.setEditable(true);\n addressField.setEditable(true);\n address2Field.setEditable(true);\n cityComboBox.setEditable(true);\n postalCodeField.setEditable(true);\n phoneField.setEditable(true);\n }","title":""},{"docid":"2be196db8b09517544b3d9cfb8ae93d3","score":"0.55454916","text":"public void getUpdate(DepartmentModel department);","title":""},{"docid":"af5f0688430e1d5189a86f28fa0dbe9b","score":"0.5540499","text":"protected void updatePropertyFields()\n {\n for (int i = 0; i < labelText.length; i++)\n {\n labels[i].setText(retrieveText(labelTags[i], labels[i]));\n }\n }","title":""},{"docid":"cc1b2edddc963e13ad0f018826fbc003","score":"0.5539071","text":"@Override\n public void update(Client editElement, Integer code) {\n \n }","title":""},{"docid":"540f381cc18a56ab733f39c3cc2bcc96","score":"0.5530625","text":"public void updateData();","title":""},{"docid":"5536378ce2f0af57d6f8bc62bdf97cae","score":"0.5528906","text":"private void editable() {\n idTextField.setEditable(true);\n textFname.setEditable(true);\n textLname.setEditable(true);\n textEmail.setEditable(true);\n textDiploma.setEditable(true);\n textWorker.setEditable(true);\n textCourseID.setEditable(true);\n textCourseName.setEditable(true);\n textLocation.setEditable(true);\n textIndustry.setEditable(true);\n }","title":""},{"docid":"a7f777ba23724af7b97fc1c519b20d2c","score":"0.5517741","text":"public void editInfo(View view) {\r\n Intent intent = new Intent(this, EditInfoActivity.class);\r\n intent.putExtra(\"userInfo\", users);\r\n intent.putExtra(\"clientKey\", client);\r\n intent.putExtra(\"passwords\", authentication);\r\n intent.putExtra(\"flights\", flights);\r\n startActivity(intent);\r\n }","title":""},{"docid":"982739cb15716d568ce2f76485201908","score":"0.5512053","text":"@Test\n public void testUpdateViewWithValidInput() throws Exception {\n mController.updateView(new DocumentInfo());\n mHeaderTestDouble.assertCalled();\n mDetailsTestDouble.assertCalled();\n }","title":""},{"docid":"1e03133c143b468aa6071b73ebb344e2","score":"0.54998344","text":"private void edit(HttpServletRequest request, HttpServletResponse response) {\n\t\ttry {\n\t\t\tString id = request.getParameter(\"id\");\n\t\t\tProductService ps = new ProductService();\n\t\t\tProduct pro=ps.getProById(id);\n\t\t\trequest.setAttribute(\"pro\", pro);\n\t\t\trequest.getRequestDispatcher(\"/update.jsp\").forward(request, response);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\n\t\t}\n\t\t\n\t}","title":""},{"docid":"0bcea6e7733806970385d37c8c05a1eb","score":"0.54979455","text":"public void update(FieldData fieldData) {\n if (fieldData.getPlanted().plantedNotEmpty()) {\r\n if (fieldData.isCompleted()) {\r\n setPageFieldDetailHarvest();\r\n } else {\r\n setPageFieldDetail();\r\n }\r\n } else {\r\n setPageFieldDetailPlant();\r\n }\r\n\r\n fieldNameGuiText.setText(fieldData.getNameID());\r\n\r\n if (page == PAGE_FIELD_DETAIL) {\r\n progressBar.update(fieldData.getPercentageCompleted());\r\n timeGuiText.setText(fieldData.getTimeLeft());\r\n cropGuiText.setText(\"Planted: \" + fieldData.getPlanted().getPlantName());\r\n\r\n } else if (page == PAGE_FIELD_DETAIL_PLANT) {\r\n plantListButtonPanel.update(); // todo pass playerLevel\r\n\r\n if(plantListButtonPanel.getSelectedButton() == PlantListButtonPanel.NO_BUTTON_SELECTED) {\r\n plantButton.setDisabled(true);\r\n plantSomethingGuiText.setText(\"Plant Something !\");\r\n } else {\r\n plantButton.setDisabled(false);\r\n int selectedButton = plantListButtonPanel.getSelectedButton();\r\n plantSomethingGuiText.setText(\r\n \"Plant \" + plantListButtonPanel.plantListItems[selectedButton].getPlantNameGuiText());\r\n }\r\n\r\n } else if (page == PAGE_FIELD_DETAIL_HARVEST) {\r\n cropGuiText.setText(\"Planted: \" + fieldData.getPlanted().getPlantName());\r\n }\r\n\r\n }","title":""},{"docid":"95786633560773f6b9903b3cdf6834ed","score":"0.5495319","text":"@RequestMapping(\"/{id}\")\n public String showUpdateTodo(@PathVariable(name = \"id\")Long id, Model model){\n model.addAttribute(\"todoForm\",todoService.getTodo(id));\n return \"edit_todo\";\n }","title":""},{"docid":"8c741b1bd6395acd3eb43c68e993d148","score":"0.548248","text":"public void editSelectedValue() {\n }","title":""},{"docid":"29746bb15941504c6e8e9e871ba50d36","score":"0.5479225","text":"@FXML\n void OnClick_Edit(ActionEvent event) {\n resetErrorDisplay();\n TextField_Username.setVisible(true);\n TextField_Email.setVisible(true);\n PasswordField_Password.setVisible(true);\n\n TextField_Username.setText(App.currentUser.getUsername());\n TextField_Email.setText(App.currentUser.getEmail());\n }","title":""},{"docid":"aef5fb7d76ab65fcaf2b726832485c6c","score":"0.54700893","text":"public void editReview(Review review);","title":""},{"docid":"a6bc276697cc33b8e956b6f0f21c3b05","score":"0.5465024","text":"private void updateFields() {\n\t\t\t// Does math and does rounding to get a mostly-correct number.\n\t\t\tamount.setText(Double.toString(Math.round(1000 * amountPerGram\n\t\t\t\t\t* gramsOfFood) / 1000.0));\n\t\t\t// Refreshes to make sure the graphics are being displayed correctly\n\t\t\tamount.revalidate();\n\t\t\tamount.repaint();\n\t\t}","title":""},{"docid":"7b6d2834bd579727f27319722b606748","score":"0.54623306","text":"public void updateValues(){\n CityEntry.setText(w.getCity());\n DescriptionEntry.setText(w.getDescription());\n WindSpeed.setText(w.getWindSpeed() + \" mph\");\n Humidity.setText(w.getHumidity() + \"%\");\n MaxTemp.setText(w.getTempMax() + \" °F\");\n CurrentTemp.setText(w.getTemp() + \" °F\");\n MinTemp.setText(w.getTempMin() + \" °F\");\n }","title":""},{"docid":"550066bac6fb333f9b0364586eb50342","score":"0.54541594","text":"protected void doEdit() {\n this.pageStatus = ZcSettingConstants.PAGE_STATUS_EDIT;\r\n updateFieldEditorsEditable();\r\n setButtonStatus();\r\n\r\n }","title":""},{"docid":"82703da49eb848cecbcad39756ac11a2","score":"0.5445452","text":"public UpdateView() {\n\t\tbuildMainLayout();\n\t\tsetCompositionRoot(mainLayout);\n\n\t\tstartDateField.setValue(new Date(System.currentTimeMillis()));\n\t\tendDateField.setValue(new Date(System.currentTimeMillis()));\n\t\t\n\t\tstartDateField.setImmediate(true);\n\t\tstartDateField.setResolution(DateField.RESOLUTION_DAY);\n\t\tstartDateField.setLocale(new Locale(\"fi\", \"FI\"));\n\t\t\n\t\tendDateField.setImmediate(true);\n\t\tendDateField.setResolution(DateField.RESOLUTION_DAY);\n\t\tendDateField.setLocale(new Locale(\"fi\", \"FI\"));\n\t\t\n\t\t\n\t\tupdatePlayerStatsButton.addListener(new ClickListener() {\n\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\n\t\t\t\tif(startDateField.getValue() instanceof Date && endDateField.getValue() instanceof Date){\n\t\t\t\t\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\n\t\t\t\t\tDataScraper scraper = new DataScraper();\n\t\t\t\t\tLocalDate startDate = new LocalDate(((Date)startDateField.getValue()).getTime());\n\t\t\t\t\tLocalDate endDate = new LocalDate(((Date)endDateField.getValue()).getTime());\n\t\t\t\t\t\n\t\t\t\t\ttry{\n\t\t\t\t\t\tscraper.updateStats(startDate, endDate);\n\t\t\t\t\t\tmain.showNotification(\"Update succesful!\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException e){\n\t\t\t\t\t\tmain.showNotification(e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\troundTotalUpdateButton.addListener(new ClickListener() {\n\t\t\t\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\n\t\t\t\tif(roundSelect.getValue() != null){\n\t\t\t\t\t//ugly boy strikes\n\t\t\t\t\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\n\t\t\t\t\tDataUpdater dataUpdater = new DataUpdater();\n\t\t\t\t\t\n\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\tRound selectedRound = ((BeanItem) (roundSelect.getContainerDataSource().getItem(roundSelect.getValue()))).getBean();\n\t\t\t\t\ttry{\n\t\t\t\t\t\tdataUpdater.updateAllRoundTotals(selectedRound);\n\t\t\t\t\t\tdataUpdater.updateRoundLeaguePoints(selectedRound);\n\t\t\t\t\t\t\n\t\t\t\t\t\tmain.showNotification(\"Update succesful!\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(JpaOptimisticLockingFailureException e){\n\t\t\t\t\t\tmain.showNotification(\"Something went wrong. Please try again. \" + e.getCause().getMessage());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\tupdateWinsButton.addListener(new ClickListener() {\n\t\t\t\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\tif(roundSelectWins.getValue() != null){\n\t\t\t\t\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\n\t\t\t\t\tDataUpdater dataUpdater = new DataUpdater();\n\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\tRound selectedRound = ((BeanItem) (roundSelectWins.getContainerDataSource().getItem(roundSelectWins.getValue()))).getBean();\n\t\t\t\t\ttry{\n\t\t\t\t\t\tdataUpdater.updateWins(selectedRound);\n\t\t\t\t\t\tmain.showNotification(\"Update succesful!\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(JpaOptimisticLockingFailureException e){\n\t\t\t\t\t\tmain.showNotification(\"Something went wrong. Please try again. \" + e.getCause().getMessage());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t}","title":""},{"docid":"17641c171fbc1daaef059fcc5aebb3f0","score":"0.5442857","text":"@Override\n protected void Edit() {\n\n }","title":""},{"docid":"17641c171fbc1daaef059fcc5aebb3f0","score":"0.5442857","text":"@Override\n protected void Edit() {\n\n }","title":""},{"docid":"fea534924edcaf3e15587eabe2e39e02","score":"0.54363596","text":"private void populateFields() {\n MonthlyUtilityBill bill = singleton.getMonthlyBill(position);\n EditText editName = (EditText) findViewById(R.id.editTextBillName);\n EditText editElec = (EditText) findViewById(R.id.editTextElectrcity);\n EditText editGas = (EditText) findViewById(R.id.editTextGas);\n EditText editUsers = (EditText) findViewById(R.id.editTextUsers);\n TextView textDateFrom = (TextView) findViewById(R.id.textViewDateFrom);\n TextView textDateTo = (TextView) findViewById(R.id.textViewDateTo);\n textDateFrom.setText(bill.getDateFrom().toString());\n textDateTo.setText(bill.getDateTo().toString());\n editName.setText(bill.getName());\n editElec.setText(Double.toString(bill.getNumElectricity()));\n editGas.setText(Double.toString(bill.getNumGas()));\n editUsers.setText(Integer.toString(bill.getNumUsers()));\n }","title":""},{"docid":"f62d74ede92a508c52885b4b235bded9","score":"0.5423608","text":"public void updateFields() {\n String check = \"\" + clockHours;\n \n if (check.length() > 1) {\n Hours.setText(\"\" + clockHours);\n }\n else {\n Hours.setText(\"0\" + clockHours);\n }\n \n check = \"\" + clockMinutes;\n \n if (check.length() > 1) {\n Minutes.setText(\"\" + clockMinutes);\n }\n else {\n Minutes.setText(\"0\" + clockMinutes);\n }\n \n check = \"\" + clockSeconds;\n \n if (check.length() > 1) {\n Seconds.setText(\"\" + clockSeconds);\n }\n else {\n Seconds.setText(\"0\" + clockSeconds);\n }\n }","title":""},{"docid":"83053e6578986bba735dec531406b9a3","score":"0.5413203","text":"@Override\n\tpublic void edit() {\n\n\t}","title":""},{"docid":"448197c246153954c91ae251cdb9d0bd","score":"0.53981686","text":"private void update(HttpServletRequest request, HttpServletResponse response) {\n\t\ttry {\n\t\t\tInteger id = Integer.parseInt(request.getParameter(\"id\"));\n\t\t\tString name = request.getParameter(\"name\");\n\n\t\t\tProject pro = new Project();\n\t\t\tpro.setName(name);\n\t\t\tboolean flag = proDao.update(pro);\n\t\t\tif (flag) {\n\t\t\t\tresponse.sendRedirect(\"project?page=1\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"a7e951b263a4650f2dee6e3029923cc1","score":"0.53962976","text":"@GetMapping(value=\"/{id}\")\n\tpublic String editForm(@PathVariable(\"id\") int id, Model model){\n\t\tSystem.out.println(\"update form\");\n\t\tmodel.addAttribute(\"beer\", database.load(id));\n\t\treturn \"createOrUpdate\";\n\t}","title":""},{"docid":"d54d0028cf3d2e1a9a3dae2c431308cc","score":"0.5395583","text":"public updation() {\n initComponents();\n }","title":""},{"docid":"a538905faeaf3ccdb0a77d4b56843b3f","score":"0.53831536","text":"private void setField(int i, int j) {\n\t\ttry {\n\t\t\tmodel.setField(i, j);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tview.update();\n\t\tif (model.isMatchover()) {\n\t\t\tint newgame = JOptionPane.showConfirmDialog(null, \"New Game?\",\n\t\t\t\t\t\"That's that\", JOptionPane.YES_NO_OPTION);\n\t\t\tif (newgame == 0) {\n\t\t\t\tthis.startNewMatch();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"df78599c2c05e49b740febe90b4cb18e","score":"0.5377257","text":"void edit(Item item);","title":""},{"docid":"11c98c4ee66a8259eca3f5d68012f789","score":"0.53693604","text":"public void editAction() {\n\t\t\n\t}","title":""},{"docid":"d54eb9f6e19d7a1f97f94960f96f684d","score":"0.5367149","text":"@Override\n\tpublic void handleMsgUpdateToView() {\n\t\t\n\t}","title":""},{"docid":"c37664473b7c60e688d83fd174ad2d7e","score":"0.53511393","text":"int updateByPrimaryKey(TsForm record);","title":""},{"docid":"201abbb3cc11023a2c359195cfc88f83","score":"0.535022","text":"private void updateOpcionais() {\n modelOpc.setDataVector(facade.getComponentesOpcConfig(), ConfiguraFacil.colunasComponentesId);\n }","title":""},{"docid":"5bbb55a399a9d1246500d62280098e2f","score":"0.5345183","text":"public void updateFields() {\n\t\tgameArea.setText(game.toString());\n\t}","title":""},{"docid":"94435d58d1a8a87e3f02d9fbfa6fcbec","score":"0.53445125","text":"@Override\n\tpublic void update(TableServeur o) {\n\n\t}","title":""},{"docid":"3f839263d1a9abcda4de5a05f0c82024","score":"0.53436524","text":"public void updatePropertyView() {\n propertyView.updateTree();\n }","title":""},{"docid":"08ef0859dfd2efa86a3067da7020e8ce","score":"0.5340996","text":"@FXML\n\t\tpublic void editableallfields() {\n\t\t\ttxteventtitle.setEditable(false);\n\t\t\ttxteventdesc.setEditable(false);\n\t\t\ttxtadd.setEditable(false);\n\t\t\tstartdate.setEditable(false);\n\t\t\tenddate.setEditable(false);\n\t\t\tstarttime.setEditable(false);\n\t\t\tendtime.setEditable(false);\n\t\t\tchrRadio.setDisable(true);\n\t\t\tentRadio.setDisable(true);\n\t\t\tnetRadio.setDisable(true);\n\t\t\ttraRadio.setDisable(true);\n\t\t\tchildquty.setEditable(false);\n\t\t\tchildprice.setEditable(false);\n\t\t\tadultquty.setEditable(false);\n\t\t\tadultprice.setEditable(false);\n\t\t\n\t\t\t\n\t\t\t\n\t\t}","title":""},{"docid":"49979f1995b0c1d7dd1b09cb2b7a372b","score":"0.53349453","text":"public boolean update(Formacion f) {\n\t\treturn false;\n\t}","title":""},{"docid":"620b4235c348f431c885e1f44fa2545c","score":"0.53326374","text":"private void updateTaskView(){\n\n int selectedToDoListIndex = todoListView.getSelectionModel().getSelectedIndex();\n int selectedTaskIndex = incompleteTaskListView.getSelectionModel().getSelectedIndex();\n\n EventHandler toggleAction = observable -> {\n\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\n };\n\n lowPriorityToggle.setOnAction(toggleAction);\n mediumPriorityToggle.setOnAction(toggleAction);\n highPriorityToggle.setOnAction(toggleAction);\n\n taskNameTextField.setOnKeyPressed(event -> {\n\n saveNewTaskNameButton.disableProperty().setValue(false);\n });\n\n saveNewTaskNameButton.setOnAction(event -> {\n\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\n });\n\n clearDueDate.setOnAction(event -> {\n\n taskDueDatePicker.setValue(null);\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\n });\n }","title":""}],"string":"[\n {\n \"docid\": \"2b076d0521581115f1c4b89031fdd6c9\",\n \"score\": \"0.69226193\",\n \"text\": \"@Override\\n public void updateModelFromView() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e720aa95ec395bba387230608e647a0\",\n \"score\": \"0.64221156\",\n \"text\": \"public void updateViews();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd0d008144821c4588fd1a5f2a0f49a8\",\n \"score\": \"0.6257973\",\n \"text\": \"public void updateView()\\r\\n {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d9db6162bd53ef59ca505116d0d680a\",\n \"score\": \"0.6198622\",\n \"text\": \"public void updateViewWithData() {\\n model.loadFriends();\\n List friends = model.getFriends();\\n view.updateFriendsList(friends);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90f112539883c3e1b681fa8ed306c3b2\",\n \"score\": \"0.6185455\",\n \"text\": \"private void updateTextFields() {\\n this.myEditCid.setText(\\\"\\\" + this.myCellID);\\n this.myEditLac.setText(\\\"\\\" + this.myLAC);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ea91ed1fc0f9914554ba7f8247a13bc\",\n \"score\": \"0.6184482\",\n \"text\": \"private void modifiedModel() {\\n this.i.update();\\n v.update();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49e78471ad4cd6854ee0c4fc6f62b5c3\",\n \"score\": \"0.61596745\",\n \"text\": \"public void updateView();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49e78471ad4cd6854ee0c4fc6f62b5c3\",\n \"score\": \"0.61596745\",\n \"text\": \"public void updateView();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ed8bf41d9b67b733af7f41167b5016f\",\n \"score\": \"0.61257344\",\n \"text\": \"public void refreshViewAttributes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af9a3c1b09da7b47b95a7b929dc5b830\",\n \"score\": \"0.6110327\",\n \"text\": \"@Override\\n\\tpublic void updateViews(Object obj) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c2b4609a26dd4926fe148b3a43b28ff\",\n \"score\": \"0.6100213\",\n \"text\": \"abstract void updateView();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6690ece2289a220a844a68b8010c8961\",\n \"score\": \"0.60985625\",\n \"text\": \"@Override\\n\\tpublic void updateModel() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e691d8ac7b7b6c3eeca07907e7c87aa\",\n \"score\": \"0.6094163\",\n \"text\": \"public void updateView() {\\n \\tsuper.updateView();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ce5c58f83ffd062330079c27718277e\",\n \"score\": \"0.6086783\",\n \"text\": \"public void fieldsUpdated(Collection> fields);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e486aebf4c22920a44845b50be08e08\",\n \"score\": \"0.60757756\",\n \"text\": \"public void fieldUpdated(DataModelField field);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d12074f34aab2df69b3107a8e0cae4f7\",\n \"score\": \"0.59854233\",\n \"text\": \"public abstract void updateFromView(View view);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05e0d8a92a701838e873faad760840e0\",\n \"score\": \"0.59695697\",\n \"text\": \"public void testUpdate() {\\n Runnable extraSetup = new Runnable() {\\n @Override\\n public void run() {\\n setText(R.id.update_object_type_text, \\\"objTypeUpdate\\\");\\n setText(R.id.update_object_id_text, \\\"objIdUpdate\\\");\\n setText(R.id.update_fields_text, \\\"{\\\\\\\"field1\\\\\\\":\\\\\\\"update1\\\\\\\",\\\\\\\"field2\\\\\\\":\\\\\\\"update2\\\\\\\"}\\\");\\n }\\n };\\n gotoTabAndRunAction(UPDATE_TAB, R.id.update_button, \\\"Go\\\", extraSetup, \\\"[PATCH \\\" + TEST_INSTANCE_URL + \\\"/services/data/\\\" + ApiVersionStrings.getVersionNumber(targetContext) + \\\"/sobjects/objTypeUpdate/objIdUpdate {\\\\\\\"field1\\\\\\\":\\\\\\\"update1\\\\\\\",\\\\\\\"field2\\\\\\\":\\\\\\\"update2\\\\\\\"}]\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4e6eca02482e349b5a605ed8ce28552\",\n \"score\": \"0.59528273\",\n \"text\": \"private void fillFields() {\\n if (this.selectedEntry != null) {\\n this.titleTextField.setText(this.selectedEntry.getTitle());\\n this.usernameTextField.setText(this.selectedEntry.getUsername());\\n this.passwordVisibleTextField\\n .setText(this.selectedEntry.getPassword());\\n this.repeatPasswordField.setText(this.selectedEntry.getPassword());\\n this.urlTextField.setText(this.selectedEntry.getUrl());\\n this.emailTextField.setText(this.selectedEntry.getEmail());\\n this.notesTextArea.setText(this.selectedEntry.getNotes());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dc0596084cf88bcdceed47be6dd5b40\",\n \"score\": \"0.59508693\",\n \"text\": \"public void editInformation(){\\n \\t//This method is a blank method created in version 1.0 \\n \\t//and will be implemented in future application versions.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9144a04422706dc9ef66e62bc8490d3\",\n \"score\": \"0.5899251\",\n \"text\": \"@Override\\n public void viewUpdate() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1179eae0146d48b2951b65b72982408\",\n \"score\": \"0.58895886\",\n \"text\": \"public ViewAdminUpdate() {\\n initComponents();\\n db = new Database();\\n Con = db.getConnection();\\n \\n //showPreOrder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63489cb681b0e579c0569793ea6167df\",\n \"score\": \"0.58647543\",\n \"text\": \"public void viewToModel() {\\n for ( int i=0; i < days.size(); i++ ) {\\n days.get(i).setWorkingHours( Double.parseDouble( fields.get(i).getText() ) );\\n days.get(i).setWorkingDay( checks.get(i).isSelected() );\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56b4c3afcf14f875119b7b3d81f841e8\",\n \"score\": \"0.5863506\",\n \"text\": \"private void updateView()\\n {\\n locName = (TextView)findViewById(R.id.nameText);\\n locName.setText(location.getLocationName());\\n locDescript = (TextView)findViewById(R.id.descriptText);\\n locDescript.setText(location.getLocationDescription());\\n response = (TextView)findViewById(R.id.responseText);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a099fd43f7aa87a352f59ebf4096fd71\",\n \"score\": \"0.5857589\",\n \"text\": \"void updateView(List> update);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8388cc6ded710f2b504f197514e5171b\",\n \"score\": \"0.5838064\",\n \"text\": \"public String callUpdate() {\\r\\n\\t\\tString opt = request.getParameter(\\\"opt\\\");\\r\\n\\t\\tString id = request.getParameter(\\\"para\\\");\\r\\n\\t\\tsurveyQuestionnaire.setOptionTextarea(opt);\\r\\n\\t\\tsurveyQuestionnaire.setParaId(id);\\r\\n\\t\\treturn \\\"viewOptions\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6593e2dd5ebf82877d33a98e4d3618a\",\n \"score\": \"0.58276016\",\n \"text\": \"public void updateViews()\\r\\n\\t{\\r\\n\\t\\tview.updateView();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62c4f89653d19fd711c1a60b926017c5\",\n \"score\": \"0.58215415\",\n \"text\": \"public void update(){\\n\\t\\tthis.binder_Actualizacion.clear();\\n\\t\\tthis.cb_Dependencia.setValue((String)(\\\"\\\"));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc0aec0885b18e833210f3766846432a\",\n \"score\": \"0.57891256\",\n \"text\": \"public void updateView(){\\n\\n // Actualizo el texto de valor del subtotal y total en billetera\\n initializeSubtotalAndLoadTotal();\\n\\n // Actualizo todas las imágenes dentro del Slide\\n updateImages();\\n\\n // Inhabilito el botón de carga\\n Button saveButton = (Button) rootView.findViewById(R.id.button13);\\n saveButton.setEnabled(false);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a719a8fb994dcecdbef9e705a67d4896\",\n \"score\": \"0.57873887\",\n \"text\": \"private void populateFields(){\\n\\n patientIdJTextField.setText(String.valueOf(patient.getId()));\\n patientNameJTextField.setText(patient.getName());\\n priDoctorJTextField.setText(patient.getPrimaryDoctorName());\\n doctorContactJTextField.setText(patient.getPrimaryDoctorContact());\\n \\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a30e07f7465b8ce37b98345f241d6bb4\",\n \"score\": \"0.5775898\",\n \"text\": \"void update(Model model);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"872f228b1b43f5ed3641e629c77f2497\",\n \"score\": \"0.576204\",\n \"text\": \"public void edit()\\n\\t\\t{\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"872f228b1b43f5ed3641e629c77f2497\",\n \"score\": \"0.576204\",\n \"text\": \"public void edit()\\n\\t\\t{\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74bd67572af28adee551963d0455e835\",\n \"score\": \"0.5758252\",\n \"text\": \"@Override\\r\\n\\tpublic void update(RecVO recVO) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7720a667ba550de39ea14385f9b19bc8\",\n \"score\": \"0.57542455\",\n \"text\": \"@Override\\n public void updateView() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0945772f390c6f3bf4212aca0239509b\",\n \"score\": \"0.5739237\",\n \"text\": \"@RequestMapping(\\\"/updatedailyupdates/{id}\\\")\\n \\t\\tpublic String updateForm(@PathVariable(\\\"id\\\") Long id, Model model) {\\n \\t\\t\\tDailyUpdates dailyUpdates = this.dailyUpdatesService.getDailyUpdates(id);\\n \\t\\t\\tmodel.addAttribute(\\\"dailyUpdates\\\", dailyUpdates);\\n \\t\\t\\treturn \\\"updatedailyupdates\\\";\\n \\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2816ab47bccc9727042261a91d287af7\",\n \"score\": \"0.5730947\",\n \"text\": \"protected void setFieldValues()\\n\\t{\\n\\t\\tif (this.player.getPlayerID() > 0)\\n\\t\\t{\\n\\t\\t\\tthis.heading.setText(\\\"Edit Player\\\");\\n\\t\\t\\tthis.firstName.setText(this.player.getFirstName());\\n\\t\\t\\tthis.lastName.setText(this.player.getLastName());\\n\\t\\t\\tthis.numSeasonsPlayed.setText(Integer.toString(this.player.getNumSeasonsPlayed()));\\n\\t\\t\\tthis.position.setValue(this.player.getPosition());\\n\\t\\t\\tthis.team.setValue(this.player.getTeam());\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\tthis.heading.setText(\\\"New Player\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d3a096cc32d6cca58fefed966e207d0\",\n \"score\": \"0.57167876\",\n \"text\": \"@Override\\n public void updateView() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"865db4da6b7bee7c93a0f2ccce2937e0\",\n \"score\": \"0.5714381\",\n \"text\": \"@Bindable\\n public void refreshFields() throws ModelerException {\\n workspace.refresh();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d73a64d851889e1fd414998905be9266\",\n \"score\": \"0.5707816\",\n \"text\": \"public void setTextFields() { \\r\\n productIdField.setText(Integer.toString(selectedProduct.productIdProperty().get()));\\r\\n productNameField.setText(selectedProduct.productNameProperty().getValueSafe());\\r\\n productInvField.setText(Integer.toString(selectedProduct.productInvProperty().get()));\\r\\n productCostField.setText(Double.toString(selectedProduct.productCostProperty().get()));\\r\\n maxField.setText(Integer.toString(selectedProduct.maxProperty().get()));\\r\\n minField.setText(Integer.toString(selectedProduct.minProperty().get()));\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4abce1ce5362df5cd560f5e25e7e51e\",\n \"score\": \"0.5698604\",\n \"text\": \"public void updateView(){\\n\\t\\tapc.setView(new GameSelect(apc,cn,sn,t));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f9a27ecbcfba8b9008382d8269d5c2f\",\n \"score\": \"0.56915945\",\n \"text\": \"public void updateFields(Set newFields);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab27a4bf2cde369e3cf5c21c45306c95\",\n \"score\": \"0.5691362\",\n \"text\": \"public void update(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"136d5d68e54f6f644f2c84d3ee13ab32\",\n \"score\": \"0.56800437\",\n \"text\": \"protected abstract boolean update(String field, TableRow row);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3087b835576bca7559a601c023169edb\",\n \"score\": \"0.5679155\",\n \"text\": \"public void updateView() {\\n\\t\\tif(myView != null) {\\n\\t\\t\\tmyView.updateView();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9be19949ca8b4bc80ef5f0325f48913d\",\n \"score\": \"0.566193\",\n \"text\": \"public void update(MainModel model);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e69b7d5963d9af452ab7a5bade698213\",\n \"score\": \"0.56559366\",\n \"text\": \"@Update\\n void edita(Aluno aluno);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"254006cbdb7ffa7b8eb79c7db4bdca05\",\n \"score\": \"0.5633941\",\n \"text\": \"protected abstract void setSpecificFields();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e50af8df5872d0eabe0641325e62cf56\",\n \"score\": \"0.5626147\",\n \"text\": \"public void EditarLivro() {\\r\\n LivroDao dao = new LivroDao();\\r\\n dao.atualizar(livro);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dcf3a765e6c0e091eeabca60e0652bc\",\n \"score\": \"0.5621627\",\n \"text\": \"public abstract void updateView();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"841369ab9140710df3a396d35bcf3197\",\n \"score\": \"0.56192535\",\n \"text\": \"@Override\\n\\tpublic void doUpdateDynaBean() {\\n\\t\\tString tableCode = \\\"\\\";\\n\\t\\tDynaBean dynaBean = serviceTemplate.selectOne(tableCode, \\\" AND 1=1\\\");\\n\\t\\tdynaBean.set(\\\"字段1\\\", \\\"字段值\\\");\\n\\t\\tdynaBean.set(\\\"字段2\\\", \\\"字段值\\\");\\n\\t\\t// 删除字段key,实现局部更新\\n\\t\\tdynaBean.remove(\\\"字段名\\\");\\n\\t\\tserviceTemplate.buildModelModifyInfo(dynaBean);\\n\\t\\tserviceTemplate.update(dynaBean);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"086a62008c14bdce90069444deb752d7\",\n \"score\": \"0.56187177\",\n \"text\": \"@Override\\n public void onUpdateObject(IViewContract.UpdateViewEvent e, Object o) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afd942617a0dad3eeab5d7907cfa1e75\",\n \"score\": \"0.5613868\",\n \"text\": \"@Test\\n public void testUpdateView() {\\n model.setBusinessId(1);\\n o.updateView();\\n \\n String result = \\\"Offers: \\\\nID: 1\\\\nName: testName\\\\nLatitude: 1.0\\\\nLongitude: 1.0\\\\nOffer: testOffer\\\\n\\\";\\n assertEquals(result, outContent.toString());\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"535c815968bf9cda3b5398e1db44a878\",\n \"score\": \"0.56105345\",\n \"text\": \"@Override\\n\\tpublic void update(T pojo) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6341971b807764f62659bd5370640ba\",\n \"score\": \"0.56042844\",\n \"text\": \"public void modelToView() {\\n for ( int i=0; i < days.size(); i++ ) {\\n fields.get(i).setText( String.valueOf( days.get(i).getWorkingHours() ) );\\n\\n if ( days.get(i).isWorkingDay() ) {\\n checks.get(i).setSelected(true);\\n } else {\\n checks.get(i).setSelected(false);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dca77279049087ddf41353e3556056bd\",\n \"score\": \"0.5593691\",\n \"text\": \"private void updateFieldsFromMap(JSONObject newModel) {\\n // Get the field map for new model and old fields list\\n String [][] oldFields = mEditorNote.items();\\n Map> fMapNew = getCol().getModels().fieldMap(newModel);\\n // Build array of label/values to provide to field EditText views\\n String[][] fields = new String[fMapNew.size()][2];\\n for (String fname : fMapNew.keySet()) {\\n // Field index of new note type\\n Integer i = fMapNew.get(fname).first;\\n // Add values from old note type if they exist in map, otherwise make the new field empty\\n if (mModelChangeFieldMap.containsValue(i)) {\\n // Get index of field from old note type given the field index of new note type\\n Integer j = getKeyByValue(mModelChangeFieldMap, i);\\n // Set the new field label text\\n if (allowFieldRemapping()) {\\n // Show the content of old field if remapping is enabled\\n fields[i][0] = String.format(getResources().getString(R.string.field_remapping), fname, oldFields[j][0]);\\n } else {\\n fields[i][0] = fname;\\n }\\n\\n // Set the new field label value\\n fields[i][1] = oldFields[j][1];\\n } else {\\n // No values from old note type exist in the mapping\\n fields[i][0] = fname;\\n fields[i][1] = \\\"\\\";\\n }\\n }\\n populateEditFields(fields, true);\\n updateCards(newModel);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25ea81fe10a498eccf6326abaf879e19\",\n \"score\": \"0.55914223\",\n \"text\": \"private void editContact(IView source) {\\n try {\\r\\n\\t\\tmodel.editContact();\\r\\n\\t\\tsetUpdatEnabled(true);\\r\\n\\t} catch (IllegalAccessException e) {\\r\\n\\t\\t System.out.println(\\\"There are no contacts!\\\");\\r\\n\\t}\\r\\n\\r\\n\\t\\t\\r\\n\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4501177eaa33d496532da7951e3276e\",\n \"score\": \"0.5588326\",\n \"text\": \"public void refresh() {\\n\\t\\tif (model != null) {\\n\\t\\t\\ttextField.setText(\\\"\\\" + model.getValue());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7e2c8026fb6f5622269296f82e4703b\",\n \"score\": \"0.5569788\",\n \"text\": \"@OnClick(R.id.tvSave)\\n void updateProfile() {\\n if (validateField()) {\\n callEditProfileService();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96aea71ccdb50db9a01ee35bb92f52e4\",\n \"score\": \"0.55676234\",\n \"text\": \"public String update() {\\n\\t\\tif (getElement().getIdTipo() == null) {\\n\\t\\t\\tFacesContext.getCurrentInstance()\\n\\t\\t\\t\\t\\t.addMessage(\\n\\t\\t\\t\\t\\t\\t\\t\\\"\\\",\\n\\t\\t\\t\\t\\t\\t\\tnew FacesMessage(\\\"Tipo non valido\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"Selezionare il tipo.\\\"));\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t\\t@SuppressWarnings(\\\"unused\\\")\\n\\t\\tPubblicazione t = getSession().update(element);\\n\\t\\t// refresh locale\\n\\t\\tthis.element = getSession().find(this.element.getId());\\n\\t\\trefreshModel();\\n\\t\\t// vista di destinzione\\n\\t\\toperazioniLogHandler.save(OperazioniLog.MODIFY, JSFUtils.getUserName(),\\n\\t\\t\\t\\t\\\"modifica publicazione: \\\" + this.element.getTitolo());\\n\\t\\treturn viewPage();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"573fc55a80de94ef1de5315fa8df5300\",\n \"score\": \"0.5563989\",\n \"text\": \"@Override\\n\\tprotected void pageComplete() {\\n\\t\\tupdateModel();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9105d195277b6bd9859cbc4811567fc4\",\n \"score\": \"0.5562356\",\n \"text\": \"public void update() {\\n /**\\n * GET THE NEW TEXT\\n */\\n newName = name.getText().toString();\\n\\n /**\\n * UPDATE THE DEVELOPER\\n */\\n if(newName.trim().equals(\\\"\\\"))\\n Toast.makeText(EditDeveloper.this, R.string.error_empty_fields, Toast.LENGTH_SHORT).show();\\n else {\\n developerViewModel.update(dev.getId(), newName);\\n\\n /**\\n * SHOW INFORMATIONS AND CLOSE\\n */\\n Toast.makeText(EditDeveloper.this, R.string.developer_edited, Toast.LENGTH_SHORT).show();\\n finish();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0610ed6534f4e45c8dad89ceb22beedf\",\n \"score\": \"0.5561287\",\n \"text\": \"private void update() {\\n String getTitle=titleField.getText().toString();\\n String getAuthor=authorField.getText().toString();\\n float getRating=ratingField.getRating();\\n boolean isTitleEmpty=titleField.getText().toString().isEmpty();\\n boolean isAuthorEmpty=authorField.getText().toString().isEmpty();\\n boolean isNoRating=ratingField.getRating()==0;\\n boolean isNullPhotoURL=coverPhotoURL==null;\\n String book_id=getIntent().getExtras().getString(Config.BOOK_ID);\\n\\n if(isTitleEmpty){\\n titleField.setError(Config.TITLE_EMPTY_MESSAGE);\\n }\\n\\n if(isAuthorEmpty){\\n authorField.setError(Config.AUTHOR_EMPTY_MESSAGE);\\n }\\n\\n if(isNoRating){\\n Toast.makeText(this, Config.RATING_ZERO_MESSAGE, Toast.LENGTH_SHORT).show();\\n }\\n\\n if(isNullPhotoURL){\\n Toast.makeText(this, Config.IMAGE_URL_NULL_MESSAGE, Toast.LENGTH_SHORT).show();\\n }\\n\\n if(!isTitleEmpty && !isAuthorEmpty && !isNoRating && !isNullPhotoURL){\\n bookDatabaseHelper.edit(getApplicationContext(),book_id,getTitle,getAuthor,getRating,coverPhotoURL);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ea9df4cd46b1b2bd9a4843c0901ec20\",\n \"score\": \"0.5559954\",\n \"text\": \"@Override\\r\\n\\tpublic void update(Object obj) {\\n\\t\\ttbPersonaDao.update(obj);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"707f75955252ffcec961027ef901be69\",\n \"score\": \"0.55468273\",\n \"text\": \"private void editCustomerDetails() {\\n nameField.setEditable(true);\\n addressField.setEditable(true);\\n address2Field.setEditable(true);\\n cityComboBox.setEditable(true);\\n postalCodeField.setEditable(true);\\n phoneField.setEditable(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2be196db8b09517544b3d9cfb8ae93d3\",\n \"score\": \"0.55454916\",\n \"text\": \"public void getUpdate(DepartmentModel department);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af5f0688430e1d5189a86f28fa0dbe9b\",\n \"score\": \"0.5540499\",\n \"text\": \"protected void updatePropertyFields()\\n {\\n for (int i = 0; i < labelText.length; i++)\\n {\\n labels[i].setText(retrieveText(labelTags[i], labels[i]));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc1b2edddc963e13ad0f018826fbc003\",\n \"score\": \"0.5539071\",\n \"text\": \"@Override\\n public void update(Client editElement, Integer code) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"540f381cc18a56ab733f39c3cc2bcc96\",\n \"score\": \"0.5530625\",\n \"text\": \"public void updateData();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5536378ce2f0af57d6f8bc62bdf97cae\",\n \"score\": \"0.5528906\",\n \"text\": \"private void editable() {\\n idTextField.setEditable(true);\\n textFname.setEditable(true);\\n textLname.setEditable(true);\\n textEmail.setEditable(true);\\n textDiploma.setEditable(true);\\n textWorker.setEditable(true);\\n textCourseID.setEditable(true);\\n textCourseName.setEditable(true);\\n textLocation.setEditable(true);\\n textIndustry.setEditable(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7f777ba23724af7b97fc1c519b20d2c\",\n \"score\": \"0.5517741\",\n \"text\": \"public void editInfo(View view) {\\r\\n Intent intent = new Intent(this, EditInfoActivity.class);\\r\\n intent.putExtra(\\\"userInfo\\\", users);\\r\\n intent.putExtra(\\\"clientKey\\\", client);\\r\\n intent.putExtra(\\\"passwords\\\", authentication);\\r\\n intent.putExtra(\\\"flights\\\", flights);\\r\\n startActivity(intent);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"982739cb15716d568ce2f76485201908\",\n \"score\": \"0.5512053\",\n \"text\": \"@Test\\n public void testUpdateViewWithValidInput() throws Exception {\\n mController.updateView(new DocumentInfo());\\n mHeaderTestDouble.assertCalled();\\n mDetailsTestDouble.assertCalled();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e03133c143b468aa6071b73ebb344e2\",\n \"score\": \"0.54998344\",\n \"text\": \"private void edit(HttpServletRequest request, HttpServletResponse response) {\\n\\t\\ttry {\\n\\t\\t\\tString id = request.getParameter(\\\"id\\\");\\n\\t\\t\\tProductService ps = new ProductService();\\n\\t\\t\\tProduct pro=ps.getProById(id);\\n\\t\\t\\trequest.setAttribute(\\\"pro\\\", pro);\\n\\t\\t\\trequest.getRequestDispatcher(\\\"/update.jsp\\\").forward(request, response);\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bcea6e7733806970385d37c8c05a1eb\",\n \"score\": \"0.54979455\",\n \"text\": \"public void update(FieldData fieldData) {\\n if (fieldData.getPlanted().plantedNotEmpty()) {\\r\\n if (fieldData.isCompleted()) {\\r\\n setPageFieldDetailHarvest();\\r\\n } else {\\r\\n setPageFieldDetail();\\r\\n }\\r\\n } else {\\r\\n setPageFieldDetailPlant();\\r\\n }\\r\\n\\r\\n fieldNameGuiText.setText(fieldData.getNameID());\\r\\n\\r\\n if (page == PAGE_FIELD_DETAIL) {\\r\\n progressBar.update(fieldData.getPercentageCompleted());\\r\\n timeGuiText.setText(fieldData.getTimeLeft());\\r\\n cropGuiText.setText(\\\"Planted: \\\" + fieldData.getPlanted().getPlantName());\\r\\n\\r\\n } else if (page == PAGE_FIELD_DETAIL_PLANT) {\\r\\n plantListButtonPanel.update(); // todo pass playerLevel\\r\\n\\r\\n if(plantListButtonPanel.getSelectedButton() == PlantListButtonPanel.NO_BUTTON_SELECTED) {\\r\\n plantButton.setDisabled(true);\\r\\n plantSomethingGuiText.setText(\\\"Plant Something !\\\");\\r\\n } else {\\r\\n plantButton.setDisabled(false);\\r\\n int selectedButton = plantListButtonPanel.getSelectedButton();\\r\\n plantSomethingGuiText.setText(\\r\\n \\\"Plant \\\" + plantListButtonPanel.plantListItems[selectedButton].getPlantNameGuiText());\\r\\n }\\r\\n\\r\\n } else if (page == PAGE_FIELD_DETAIL_HARVEST) {\\r\\n cropGuiText.setText(\\\"Planted: \\\" + fieldData.getPlanted().getPlantName());\\r\\n }\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95786633560773f6b9903b3cdf6834ed\",\n \"score\": \"0.5495319\",\n \"text\": \"@RequestMapping(\\\"/{id}\\\")\\n public String showUpdateTodo(@PathVariable(name = \\\"id\\\")Long id, Model model){\\n model.addAttribute(\\\"todoForm\\\",todoService.getTodo(id));\\n return \\\"edit_todo\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c741b1bd6395acd3eb43c68e993d148\",\n \"score\": \"0.548248\",\n \"text\": \"public void editSelectedValue() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29746bb15941504c6e8e9e871ba50d36\",\n \"score\": \"0.5479225\",\n \"text\": \"@FXML\\n void OnClick_Edit(ActionEvent event) {\\n resetErrorDisplay();\\n TextField_Username.setVisible(true);\\n TextField_Email.setVisible(true);\\n PasswordField_Password.setVisible(true);\\n\\n TextField_Username.setText(App.currentUser.getUsername());\\n TextField_Email.setText(App.currentUser.getEmail());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aef5fb7d76ab65fcaf2b726832485c6c\",\n \"score\": \"0.54700893\",\n \"text\": \"public void editReview(Review review);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6bc276697cc33b8e956b6f0f21c3b05\",\n \"score\": \"0.5465024\",\n \"text\": \"private void updateFields() {\\n\\t\\t\\t// Does math and does rounding to get a mostly-correct number.\\n\\t\\t\\tamount.setText(Double.toString(Math.round(1000 * amountPerGram\\n\\t\\t\\t\\t\\t* gramsOfFood) / 1000.0));\\n\\t\\t\\t// Refreshes to make sure the graphics are being displayed correctly\\n\\t\\t\\tamount.revalidate();\\n\\t\\t\\tamount.repaint();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b6d2834bd579727f27319722b606748\",\n \"score\": \"0.54623306\",\n \"text\": \"public void updateValues(){\\n CityEntry.setText(w.getCity());\\n DescriptionEntry.setText(w.getDescription());\\n WindSpeed.setText(w.getWindSpeed() + \\\" mph\\\");\\n Humidity.setText(w.getHumidity() + \\\"%\\\");\\n MaxTemp.setText(w.getTempMax() + \\\" °F\\\");\\n CurrentTemp.setText(w.getTemp() + \\\" °F\\\");\\n MinTemp.setText(w.getTempMin() + \\\" °F\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"550066bac6fb333f9b0364586eb50342\",\n \"score\": \"0.54541594\",\n \"text\": \"protected void doEdit() {\\n this.pageStatus = ZcSettingConstants.PAGE_STATUS_EDIT;\\r\\n updateFieldEditorsEditable();\\r\\n setButtonStatus();\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82703da49eb848cecbcad39756ac11a2\",\n \"score\": \"0.5445452\",\n \"text\": \"public UpdateView() {\\n\\t\\tbuildMainLayout();\\n\\t\\tsetCompositionRoot(mainLayout);\\n\\n\\t\\tstartDateField.setValue(new Date(System.currentTimeMillis()));\\n\\t\\tendDateField.setValue(new Date(System.currentTimeMillis()));\\n\\t\\t\\n\\t\\tstartDateField.setImmediate(true);\\n\\t\\tstartDateField.setResolution(DateField.RESOLUTION_DAY);\\n\\t\\tstartDateField.setLocale(new Locale(\\\"fi\\\", \\\"FI\\\"));\\n\\t\\t\\n\\t\\tendDateField.setImmediate(true);\\n\\t\\tendDateField.setResolution(DateField.RESOLUTION_DAY);\\n\\t\\tendDateField.setLocale(new Locale(\\\"fi\\\", \\\"FI\\\"));\\n\\t\\t\\n\\t\\t\\n\\t\\tupdatePlayerStatsButton.addListener(new ClickListener() {\\n\\n\\t\\t\\tprivate static final long serialVersionUID = 1L;\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void buttonClick(ClickEvent event) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(startDateField.getValue() instanceof Date && endDateField.getValue() instanceof Date){\\n\\t\\t\\t\\t\\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\\n\\t\\t\\t\\t\\tDataScraper scraper = new DataScraper();\\n\\t\\t\\t\\t\\tLocalDate startDate = new LocalDate(((Date)startDateField.getValue()).getTime());\\n\\t\\t\\t\\t\\tLocalDate endDate = new LocalDate(((Date)endDateField.getValue()).getTime());\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\t\\tscraper.updateStats(startDate, endDate);\\n\\t\\t\\t\\t\\t\\tmain.showNotification(\\\"Update succesful!\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch(IOException e){\\n\\t\\t\\t\\t\\t\\tmain.showNotification(e.getMessage());\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t\\n\\t\\t\\n\\t\\troundTotalUpdateButton.addListener(new ClickListener() {\\n\\t\\t\\t\\n\\t\\t\\tprivate static final long serialVersionUID = 1L;\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void buttonClick(ClickEvent event) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(roundSelect.getValue() != null){\\n\\t\\t\\t\\t\\t//ugly boy strikes\\n\\t\\t\\t\\t\\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\\n\\t\\t\\t\\t\\tDataUpdater dataUpdater = new DataUpdater();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t@SuppressWarnings(\\\"unchecked\\\")\\n\\t\\t\\t\\t\\tRound selectedRound = ((BeanItem) (roundSelect.getContainerDataSource().getItem(roundSelect.getValue()))).getBean();\\n\\t\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\t\\tdataUpdater.updateAllRoundTotals(selectedRound);\\n\\t\\t\\t\\t\\t\\tdataUpdater.updateRoundLeaguePoints(selectedRound);\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tmain.showNotification(\\\"Update succesful!\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch(JpaOptimisticLockingFailureException e){\\n\\t\\t\\t\\t\\t\\tmain.showNotification(\\\"Something went wrong. Please try again. \\\" + e.getCause().getMessage());\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t\\n\\t\\tupdateWinsButton.addListener(new ClickListener() {\\n\\t\\t\\t\\n\\t\\t\\tprivate static final long serialVersionUID = 1L;\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void buttonClick(ClickEvent event) {\\n\\t\\t\\t\\tif(roundSelectWins.getValue() != null){\\n\\t\\t\\t\\t\\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\\n\\t\\t\\t\\t\\tDataUpdater dataUpdater = new DataUpdater();\\n\\t\\t\\t\\t\\t@SuppressWarnings(\\\"unchecked\\\")\\n\\t\\t\\t\\t\\tRound selectedRound = ((BeanItem) (roundSelectWins.getContainerDataSource().getItem(roundSelectWins.getValue()))).getBean();\\n\\t\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\t\\tdataUpdater.updateWins(selectedRound);\\n\\t\\t\\t\\t\\t\\tmain.showNotification(\\\"Update succesful!\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch(JpaOptimisticLockingFailureException e){\\n\\t\\t\\t\\t\\t\\tmain.showNotification(\\\"Something went wrong. Please try again. \\\" + e.getCause().getMessage());\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17641c171fbc1daaef059fcc5aebb3f0\",\n \"score\": \"0.5442857\",\n \"text\": \"@Override\\n protected void Edit() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17641c171fbc1daaef059fcc5aebb3f0\",\n \"score\": \"0.5442857\",\n \"text\": \"@Override\\n protected void Edit() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fea534924edcaf3e15587eabe2e39e02\",\n \"score\": \"0.54363596\",\n \"text\": \"private void populateFields() {\\n MonthlyUtilityBill bill = singleton.getMonthlyBill(position);\\n EditText editName = (EditText) findViewById(R.id.editTextBillName);\\n EditText editElec = (EditText) findViewById(R.id.editTextElectrcity);\\n EditText editGas = (EditText) findViewById(R.id.editTextGas);\\n EditText editUsers = (EditText) findViewById(R.id.editTextUsers);\\n TextView textDateFrom = (TextView) findViewById(R.id.textViewDateFrom);\\n TextView textDateTo = (TextView) findViewById(R.id.textViewDateTo);\\n textDateFrom.setText(bill.getDateFrom().toString());\\n textDateTo.setText(bill.getDateTo().toString());\\n editName.setText(bill.getName());\\n editElec.setText(Double.toString(bill.getNumElectricity()));\\n editGas.setText(Double.toString(bill.getNumGas()));\\n editUsers.setText(Integer.toString(bill.getNumUsers()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f62d74ede92a508c52885b4b235bded9\",\n \"score\": \"0.5423608\",\n \"text\": \"public void updateFields() {\\n String check = \\\"\\\" + clockHours;\\n \\n if (check.length() > 1) {\\n Hours.setText(\\\"\\\" + clockHours);\\n }\\n else {\\n Hours.setText(\\\"0\\\" + clockHours);\\n }\\n \\n check = \\\"\\\" + clockMinutes;\\n \\n if (check.length() > 1) {\\n Minutes.setText(\\\"\\\" + clockMinutes);\\n }\\n else {\\n Minutes.setText(\\\"0\\\" + clockMinutes);\\n }\\n \\n check = \\\"\\\" + clockSeconds;\\n \\n if (check.length() > 1) {\\n Seconds.setText(\\\"\\\" + clockSeconds);\\n }\\n else {\\n Seconds.setText(\\\"0\\\" + clockSeconds);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83053e6578986bba735dec531406b9a3\",\n \"score\": \"0.5413203\",\n \"text\": \"@Override\\n\\tpublic void edit() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"448197c246153954c91ae251cdb9d0bd\",\n \"score\": \"0.53981686\",\n \"text\": \"private void update(HttpServletRequest request, HttpServletResponse response) {\\n\\t\\ttry {\\n\\t\\t\\tInteger id = Integer.parseInt(request.getParameter(\\\"id\\\"));\\n\\t\\t\\tString name = request.getParameter(\\\"name\\\");\\n\\n\\t\\t\\tProject pro = new Project();\\n\\t\\t\\tpro.setName(name);\\n\\t\\t\\tboolean flag = proDao.update(pro);\\n\\t\\t\\tif (flag) {\\n\\t\\t\\t\\tresponse.sendRedirect(\\\"project?page=1\\\");\\n\\t\\t\\t}\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7e951b263a4650f2dee6e3029923cc1\",\n \"score\": \"0.53962976\",\n \"text\": \"@GetMapping(value=\\\"/{id}\\\")\\n\\tpublic String editForm(@PathVariable(\\\"id\\\") int id, Model model){\\n\\t\\tSystem.out.println(\\\"update form\\\");\\n\\t\\tmodel.addAttribute(\\\"beer\\\", database.load(id));\\n\\t\\treturn \\\"createOrUpdate\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d54d0028cf3d2e1a9a3dae2c431308cc\",\n \"score\": \"0.5395583\",\n \"text\": \"public updation() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a538905faeaf3ccdb0a77d4b56843b3f\",\n \"score\": \"0.53831536\",\n \"text\": \"private void setField(int i, int j) {\\n\\t\\ttry {\\n\\t\\t\\tmodel.setField(i, j);\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\tview.update();\\n\\t\\tif (model.isMatchover()) {\\n\\t\\t\\tint newgame = JOptionPane.showConfirmDialog(null, \\\"New Game?\\\",\\n\\t\\t\\t\\t\\t\\\"That's that\\\", JOptionPane.YES_NO_OPTION);\\n\\t\\t\\tif (newgame == 0) {\\n\\t\\t\\t\\tthis.startNewMatch();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df78599c2c05e49b740febe90b4cb18e\",\n \"score\": \"0.5377257\",\n \"text\": \"void edit(Item item);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11c98c4ee66a8259eca3f5d68012f789\",\n \"score\": \"0.53693604\",\n \"text\": \"public void editAction() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d54eb9f6e19d7a1f97f94960f96f684d\",\n \"score\": \"0.5367149\",\n \"text\": \"@Override\\n\\tpublic void handleMsgUpdateToView() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c37664473b7c60e688d83fd174ad2d7e\",\n \"score\": \"0.53511393\",\n \"text\": \"int updateByPrimaryKey(TsForm record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"201abbb3cc11023a2c359195cfc88f83\",\n \"score\": \"0.535022\",\n \"text\": \"private void updateOpcionais() {\\n modelOpc.setDataVector(facade.getComponentesOpcConfig(), ConfiguraFacil.colunasComponentesId);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bbb55a399a9d1246500d62280098e2f\",\n \"score\": \"0.5345183\",\n \"text\": \"public void updateFields() {\\n\\t\\tgameArea.setText(game.toString());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94435d58d1a8a87e3f02d9fbfa6fcbec\",\n \"score\": \"0.53445125\",\n \"text\": \"@Override\\n\\tpublic void update(TableServeur o) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f839263d1a9abcda4de5a05f0c82024\",\n \"score\": \"0.53436524\",\n \"text\": \"public void updatePropertyView() {\\n propertyView.updateTree();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08ef0859dfd2efa86a3067da7020e8ce\",\n \"score\": \"0.5340996\",\n \"text\": \"@FXML\\n\\t\\tpublic void editableallfields() {\\n\\t\\t\\ttxteventtitle.setEditable(false);\\n\\t\\t\\ttxteventdesc.setEditable(false);\\n\\t\\t\\ttxtadd.setEditable(false);\\n\\t\\t\\tstartdate.setEditable(false);\\n\\t\\t\\tenddate.setEditable(false);\\n\\t\\t\\tstarttime.setEditable(false);\\n\\t\\t\\tendtime.setEditable(false);\\n\\t\\t\\tchrRadio.setDisable(true);\\n\\t\\t\\tentRadio.setDisable(true);\\n\\t\\t\\tnetRadio.setDisable(true);\\n\\t\\t\\ttraRadio.setDisable(true);\\n\\t\\t\\tchildquty.setEditable(false);\\n\\t\\t\\tchildprice.setEditable(false);\\n\\t\\t\\tadultquty.setEditable(false);\\n\\t\\t\\tadultprice.setEditable(false);\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49979f1995b0c1d7dd1b09cb2b7a372b\",\n \"score\": \"0.53349453\",\n \"text\": \"public boolean update(Formacion f) {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"620b4235c348f431c885e1f44fa2545c\",\n \"score\": \"0.53326374\",\n \"text\": \"private void updateTaskView(){\\n\\n int selectedToDoListIndex = todoListView.getSelectionModel().getSelectedIndex();\\n int selectedTaskIndex = incompleteTaskListView.getSelectionModel().getSelectedIndex();\\n\\n EventHandler toggleAction = observable -> {\\n\\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\\n };\\n\\n lowPriorityToggle.setOnAction(toggleAction);\\n mediumPriorityToggle.setOnAction(toggleAction);\\n highPriorityToggle.setOnAction(toggleAction);\\n\\n taskNameTextField.setOnKeyPressed(event -> {\\n\\n saveNewTaskNameButton.disableProperty().setValue(false);\\n });\\n\\n saveNewTaskNameButton.setOnAction(event -> {\\n\\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\\n });\\n\\n clearDueDate.setOnAction(event -> {\\n\\n taskDueDatePicker.setValue(null);\\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\\n });\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":876,"cells":{"query_id":{"kind":"string","value":"46270bcb964ca53171c0d960800e2e10"},"query":{"kind":"string","value":"Returns true if type is instantiation of type."},"positive_passages":{"kind":"list like","value":[{"docid":"d3342c86493c0cdde6ff1003dad92cc6","score":"0.8099991","text":"public abstract boolean isInstantiatedType(CsmType type);","title":""}],"string":"[\n {\n \"docid\": \"d3342c86493c0cdde6ff1003dad92cc6\",\n \"score\": \"0.8099991\",\n \"text\": \"public abstract boolean isInstantiatedType(CsmType type);\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"130db510b4aa92fdc52d416597da169e","score":"0.7367337","text":"boolean hasType();","title":""},{"docid":"d9d1ddede06a3582a2b0eff947a6a687","score":"0.70128226","text":"public boolean hasType() {\n\t\t\n\t\treturn getType() != null;\n\t\t\n\t}","title":""},{"docid":"f95d9683fc8f08ec47da2804243ab8d6","score":"0.6987295","text":"public boolean hasType() {\n\t\treturn this.type != null;\n\t}","title":""},{"docid":"6f4dc573fa54cf6a82f0d7733c940fb2","score":"0.6954183","text":"public static boolean is(Class type) {\n return types.containsKey(type);\n }","title":""},{"docid":"fa2bc6569ed3aeca200dbae7f815feb9","score":"0.69102496","text":"private boolean hasType() {\n return this.type != null;\n }","title":""},{"docid":"5d47de3fb9b821419349f35a51bd37a7","score":"0.68732446","text":"public boolean hasType() {\n\t\treturn (this.type != null ? true : false);\n\t}","title":""},{"docid":"f667c018b72c59b220ab85036c31fd95","score":"0.6762875","text":"public boolean isInstanceOf(final Type t) {\n\t\treturn t == type;\n\t}","title":""},{"docid":"2ea0ef792b12ef5589fc2029ae2120b4","score":"0.65605825","text":"boolean hasTypes();","title":""},{"docid":"9a657d4796a1bb87a7ef9929749dfbb0","score":"0.6545781","text":"public boolean isClass();","title":""},{"docid":"f299bf1a6a816160aca1916ca06b3a94","score":"0.6496182","text":"public static synchronized boolean isInstanciated()\n {\n return (instance != null);\n }","title":""},{"docid":"a4d7881e6baa1ab84f1e4ef9e129c633","score":"0.64826345","text":"public abstract boolean isViableInstantiation(CsmInstantiation instantiation, boolean acceptTemplateParams);","title":""},{"docid":"33d40458f467a6192c5f8367c8935f54","score":"0.6448792","text":"public boolean isInstanceCreationStatementOfSubType(Unit aUnit,\n\t\t\tSootClass aType) {\n\t\tboolean result = false;\n\t\tif (aUnit instanceof JAssignStmt) {\n\t\t\tString rightSide = aUnit.getUseBoxes().get(0).getValue().toString();\n\t\t\tif (rightSide.matches(\"new .*\")) {\n\t\t\t\tString className = rightSide.substring(4);\n\t\t\t\tSootClass createdClass = classMap.get(className);\n\t\t\t\tif (createdClass != null) {\n\t\t\t\t\tresult = isClassOfSubType(createdClass, aType);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}","title":""},{"docid":"9d9d9d5a25b3db7fd8bd6f3b32e92391","score":"0.64432096","text":"public boolean hasType(Class type);","title":""},{"docid":"c4564b5676732092c36c0b25032396d8","score":"0.64418864","text":"boolean hasInstanceWithType(String className) {\n if (eventObject == null)\n return false;\n String varType = eventObject.getClass().getName();\n if (varType.equals(className))\n return true;\n else\n return false;\n }","title":""},{"docid":"ce6d88ecfb4cae59955558420c0ad413","score":"0.6330791","text":"boolean isClass();","title":""},{"docid":"63822a58d950c9068e3038a4f3009d60","score":"0.62952286","text":"public boolean canConvert(Class type) {\n return (this.type == null || this.type == type) && beanProvider.canInstantiate(type);\n }","title":""},{"docid":"229c302f61471575c9c1128a93d19547","score":"0.6254548","text":"boolean isMemberType();","title":""},{"docid":"110429b798401164676810eb201958b4","score":"0.62404615","text":"public boolean hasType() {\n return fieldSetFlags()[2];\n }","title":""},{"docid":"e7c8c5ba70944cf587892b4ada37fd23","score":"0.6214","text":"boolean isDefaultInstantiable();","title":""},{"docid":"44004f6c0f377143f93e5e2953d9469b","score":"0.6213466","text":"boolean isConstructor();","title":""},{"docid":"afef3c729a868599b025d2947806fbaa","score":"0.62131196","text":"public boolean hasType(String name) {\n return null != findType(name);\n }","title":""},{"docid":"056abc8649eea906f4f5b5412e5f5485","score":"0.61980194","text":"public boolean checkType()\n\t{\n\t\treturn true;\n\t}","title":""},{"docid":"5e9075ccc90bbbfa1e9c3d4e2c2759c5","score":"0.6186073","text":"public boolean hasFactory(String type)\n {\n \tboolean retValue = m_registry.containsKey(type);\n \t return retValue;\n }","title":""},{"docid":"5b343559ab43e4ebc08fdc20a76b1c69","score":"0.6111649","text":"private boolean isConsistentTypeByOccurence(TypeElement type, Occurrence oc)\n {\n if(type != null && oc != null && this.evalVisitor != null)\n return this.evalVisitor.visitTripletOccurence(oc.type, type, classInfo);\n else\n return false;\n }","title":""},{"docid":"c14539066478e6f65225564a4bc28c77","score":"0.61005425","text":"boolean isReferenceType();","title":""},{"docid":"0e2467c44464cb84aa878c69f74a4499","score":"0.59983987","text":"public boolean getType(){\r\n return type;\r\n }","title":""},{"docid":"597ea25224292a702ceb4e8cd7a8cccc","score":"0.5983973","text":"boolean hasCodeTypeName();","title":""},{"docid":"597ea25224292a702ceb4e8cd7a8cccc","score":"0.5983973","text":"boolean hasCodeTypeName();","title":""},{"docid":"597ea25224292a702ceb4e8cd7a8cccc","score":"0.5983973","text":"boolean hasCodeTypeName();","title":""},{"docid":"40f008adbe61b175a51e9aab53b4efa6","score":"0.59495175","text":"public boolean isIsTypeOnly() {\n return isTypeOnly;\n }","title":""},{"docid":"23d283b51471975e07bde86b6dd64fd7","score":"0.59491843","text":"public static boolean isConfigurationObject()\n\t{\n\t\tif ( \"Instantiation\".equals(\"Configuration\") )\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}","title":""},{"docid":"230b8b9bc02b4501dc2495a0afdc1c00","score":"0.59279424","text":"@Override\n\tpublic boolean instantiated() {\n\t\treturn f.instantiated();\n\t}","title":""},{"docid":"5b1ca26e5eb68a467f661abe70992e58","score":"0.5924241","text":"public boolean isTarifftypeidInitialized() {\n return tarifftypeid_is_initialized; \n }","title":""},{"docid":"cbff4f02e586d92fe2eb2a0c12c954f6","score":"0.59231365","text":"public static boolean isInstantiated() {\n return !(oaclient == null);\n }","title":""},{"docid":"796ea30d7c78598ed40447331ab3b83b","score":"0.59086466","text":"public boolean isTypeAccessible(Type type) {\r\n \r\n try {\r\n Class loadedType = Thread.currentThread().getContextClassLoader().loadClass(type.getName());\r\n if (!type.getRawType().equals(loadedType)) {\r\n return false;\r\n }\r\n compilerStrategy.assureTypeIsAccessible(type.getRawType());\r\n return true;\r\n } catch (ClassNotFoundException e) {\r\n return false;\r\n } catch (SourceCodeGenerationException e) {\r\n return false;\r\n }\r\n }","title":""},{"docid":"b57d617d53d8c6c19cf5fead4e18150a","score":"0.59076077","text":"static boolean isTypeAClassOfPackage(String typeName) {\r\n String type = returnClassName(typeName);\r\n boolean result = bcClass.stream().anyMatch((c) -> (c.is(\"name\", type)));\r\n return result;\r\n }","title":""},{"docid":"7281337f3a1bdb374ef937c99ed206e9","score":"0.5904404","text":"private static boolean checkClass(Class clazz) {\n\t\ttry {\n\t\t\tcreateInstance(clazz);\n\t\t\treturn true;\n\t\t} catch (InstantiationException e) {\n\t\t\treturn false;\n\t\t}\n\t}","title":""},{"docid":"2bcebfdb589bb8089fdfd212680b1cac","score":"0.58979535","text":"public boolean e(Type type) {\n return type instanceof TypeVariable ? c((TypeVariable) type) : false;\n }","title":""},{"docid":"84492f4806af5a9c91a34b65fc6b2b39","score":"0.5889293","text":"public boolean atomicType() {\n\n\t\treturn typeDisjuncts.size() == 1;\n\t}","title":""},{"docid":"29c16ad2c501c41ccdb2bbdd96066c00","score":"0.5884205","text":"boolean isAnnotationType();","title":""},{"docid":"21c951231a85723f4f8a61dcc6663d90","score":"0.5871827","text":"boolean isInstance(Object value);","title":""},{"docid":"21c951231a85723f4f8a61dcc6663d90","score":"0.5871827","text":"boolean isInstance(Object value);","title":""},{"docid":"7ef403853484c6bf932ae85de01157cf","score":"0.58628577","text":"private boolean determineClass(Class classObject, PasteType type) {\n return type.getClass().equals(classObject);\n }","title":""},{"docid":"7c95aba8c21d357091bbea71887c205d","score":"0.58581954","text":"@Signature\n public boolean canInstantiate() {\n return getWrappedObject().canInstantiate();\n }","title":""},{"docid":"02ce92c23dba9561b880ccc0b72e02f9","score":"0.5856351","text":"public boolean hasTypes() {\n return fieldSetFlags()[1];\n }","title":""},{"docid":"e69baa63bf106fb855046a90acf064a3","score":"0.58140874","text":"public static boolean isSystem(Type type) {\n Class c = null;\n try {\n c = Class.forName(type.className().replace('/', '.'));\n\n } catch(ClassNotFoundException ex) {\n System.err.println(\"** Could not find class \" +\n\t\t\t type.className());\n ex.printStackTrace(System.err);\n System.exit(1);\n }\n\n // Have to use == because class loader might be null\n return(c.getClassLoader() == systemCL);\n }","title":""},{"docid":"df0ae2b4929e3a15815201e7c5b02276","score":"0.5808663","text":"public boolean isSetObjectType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(OBJECTTYPE$4) != 0;\n }\n }","title":""},{"docid":"c0a139c98b6e73caf07b3594d1b9b7ab","score":"0.5794565","text":"public abstract CsmInstantiation getInstantiatedTypeInstantiation(CsmType type);","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"cd9ad85a058a050dcd09075661472208","score":"0.5792914","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"a4da91dc13e152123aa6a9934cd7785a","score":"0.5776348","text":"public abstract boolean isInstant();","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"11bc60b02d715f6f9d8d437d21ae45d8","score":"0.5761645","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"a85835dad338df309967f6859d2cd72e","score":"0.57604766","text":"private boolean matchClass(G2Type type, Cons pattern)\n {\n return type instanceof ClassType;\n }","title":""},{"docid":"3b54cbd62244b9157d66e79cc8c702e7","score":"0.5754819","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }","title":""},{"docid":"1c24e7366ce3e87350811c69591926f6","score":"0.5752677","text":"boolean hasSuperClass();","title":""},{"docid":"e4cc753b4b3c677dc2224805fe7ddb3c","score":"0.5752196","text":"public abstract boolean isCreatable(Class> clazz);","title":""},{"docid":"0bd86e2b08af7f9745856c6b0f828366","score":"0.5751776","text":"public boolean hasService(Class type);","title":""},{"docid":"e23fe7510ff9bc49570f8e0fbf6081a8","score":"0.575031","text":"boolean isAnnotationTypeElement();","title":""},{"docid":"5294eb49a0de39f6007831a6cd971f88","score":"0.5738479","text":"private boolean isEligible(Class type) {\n\t\treturn !(type.isAnonymousClass() || isGroovyClosure(type) || hasNoConstructors(type));\n\t}","title":""},{"docid":"c725f13444f6ffda0e8fa29ec1b63571","score":"0.5721717","text":"boolean isSetObjectType();","title":""},{"docid":"950706e0f3f23848a21141be436780d2","score":"0.57093096","text":"public boolean hasType() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }","title":""},{"docid":"c6586fd95a454452fefa979272feb76f","score":"0.57014364","text":"boolean hasNodeType();","title":""},{"docid":"f38a18d95e86978a30baacd50c01843a","score":"0.570125","text":"@Override\n\tpublic Boolean existbytype(String type) {\n\t\tList AB = AbonnementRepository.findByType(type);\n\n\t\tif (AB.size() == 0)\n\t\t\treturn false;\n\n\t\treturn true;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130db510b4aa92fdc52d416597da169e\",\n \"score\": \"0.7367337\",\n \"text\": \"boolean hasType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d1ddede06a3582a2b0eff947a6a687\",\n \"score\": \"0.70128226\",\n \"text\": \"public boolean hasType() {\\n\\t\\t\\n\\t\\treturn getType() != null;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f95d9683fc8f08ec47da2804243ab8d6\",\n \"score\": \"0.6987295\",\n \"text\": \"public boolean hasType() {\\n\\t\\treturn this.type != null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f4dc573fa54cf6a82f0d7733c940fb2\",\n \"score\": \"0.6954183\",\n \"text\": \"public static boolean is(Class type) {\\n return types.containsKey(type);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa2bc6569ed3aeca200dbae7f815feb9\",\n \"score\": \"0.69102496\",\n \"text\": \"private boolean hasType() {\\n return this.type != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d47de3fb9b821419349f35a51bd37a7\",\n \"score\": \"0.68732446\",\n \"text\": \"public boolean hasType() {\\n\\t\\treturn (this.type != null ? true : false);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f667c018b72c59b220ab85036c31fd95\",\n \"score\": \"0.6762875\",\n \"text\": \"public boolean isInstanceOf(final Type t) {\\n\\t\\treturn t == type;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ea0ef792b12ef5589fc2029ae2120b4\",\n \"score\": \"0.65605825\",\n \"text\": \"boolean hasTypes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a657d4796a1bb87a7ef9929749dfbb0\",\n \"score\": \"0.6545781\",\n \"text\": \"public boolean isClass();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f299bf1a6a816160aca1916ca06b3a94\",\n \"score\": \"0.6496182\",\n \"text\": \"public static synchronized boolean isInstanciated()\\n {\\n return (instance != null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4d7881e6baa1ab84f1e4ef9e129c633\",\n \"score\": \"0.64826345\",\n \"text\": \"public abstract boolean isViableInstantiation(CsmInstantiation instantiation, boolean acceptTemplateParams);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d40458f467a6192c5f8367c8935f54\",\n \"score\": \"0.6448792\",\n \"text\": \"public boolean isInstanceCreationStatementOfSubType(Unit aUnit,\\n\\t\\t\\tSootClass aType) {\\n\\t\\tboolean result = false;\\n\\t\\tif (aUnit instanceof JAssignStmt) {\\n\\t\\t\\tString rightSide = aUnit.getUseBoxes().get(0).getValue().toString();\\n\\t\\t\\tif (rightSide.matches(\\\"new .*\\\")) {\\n\\t\\t\\t\\tString className = rightSide.substring(4);\\n\\t\\t\\t\\tSootClass createdClass = classMap.get(className);\\n\\t\\t\\t\\tif (createdClass != null) {\\n\\t\\t\\t\\t\\tresult = isClassOfSubType(createdClass, aType);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn result;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d9d9d5a25b3db7fd8bd6f3b32e92391\",\n \"score\": \"0.64432096\",\n \"text\": \"public boolean hasType(Class type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4564b5676732092c36c0b25032396d8\",\n \"score\": \"0.64418864\",\n \"text\": \"boolean hasInstanceWithType(String className) {\\n if (eventObject == null)\\n return false;\\n String varType = eventObject.getClass().getName();\\n if (varType.equals(className))\\n return true;\\n else\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce6d88ecfb4cae59955558420c0ad413\",\n \"score\": \"0.6330791\",\n \"text\": \"boolean isClass();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63822a58d950c9068e3038a4f3009d60\",\n \"score\": \"0.62952286\",\n \"text\": \"public boolean canConvert(Class type) {\\n return (this.type == null || this.type == type) && beanProvider.canInstantiate(type);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"229c302f61471575c9c1128a93d19547\",\n \"score\": \"0.6254548\",\n \"text\": \"boolean isMemberType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"110429b798401164676810eb201958b4\",\n \"score\": \"0.62404615\",\n \"text\": \"public boolean hasType() {\\n return fieldSetFlags()[2];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7c8c5ba70944cf587892b4ada37fd23\",\n \"score\": \"0.6214\",\n \"text\": \"boolean isDefaultInstantiable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44004f6c0f377143f93e5e2953d9469b\",\n \"score\": \"0.6213466\",\n \"text\": \"boolean isConstructor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afef3c729a868599b025d2947806fbaa\",\n \"score\": \"0.62131196\",\n \"text\": \"public boolean hasType(String name) {\\n return null != findType(name);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"056abc8649eea906f4f5b5412e5f5485\",\n \"score\": \"0.61980194\",\n \"text\": \"public boolean checkType()\\n\\t{\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e9075ccc90bbbfa1e9c3d4e2c2759c5\",\n \"score\": \"0.6186073\",\n \"text\": \"public boolean hasFactory(String type)\\n {\\n \\tboolean retValue = m_registry.containsKey(type);\\n \\t return retValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b343559ab43e4ebc08fdc20a76b1c69\",\n \"score\": \"0.6111649\",\n \"text\": \"private boolean isConsistentTypeByOccurence(TypeElement type, Occurrence oc)\\n {\\n if(type != null && oc != null && this.evalVisitor != null)\\n return this.evalVisitor.visitTripletOccurence(oc.type, type, classInfo);\\n else\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c14539066478e6f65225564a4bc28c77\",\n \"score\": \"0.61005425\",\n \"text\": \"boolean isReferenceType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e2467c44464cb84aa878c69f74a4499\",\n \"score\": \"0.59983987\",\n \"text\": \"public boolean getType(){\\r\\n return type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"597ea25224292a702ceb4e8cd7a8cccc\",\n \"score\": \"0.5983973\",\n \"text\": \"boolean hasCodeTypeName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"597ea25224292a702ceb4e8cd7a8cccc\",\n \"score\": \"0.5983973\",\n \"text\": \"boolean hasCodeTypeName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"597ea25224292a702ceb4e8cd7a8cccc\",\n \"score\": \"0.5983973\",\n \"text\": \"boolean hasCodeTypeName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40f008adbe61b175a51e9aab53b4efa6\",\n \"score\": \"0.59495175\",\n \"text\": \"public boolean isIsTypeOnly() {\\n return isTypeOnly;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23d283b51471975e07bde86b6dd64fd7\",\n \"score\": \"0.59491843\",\n \"text\": \"public static boolean isConfigurationObject()\\n\\t{\\n\\t\\tif ( \\\"Instantiation\\\".equals(\\\"Configuration\\\") )\\n\\t\\t\\treturn true;\\n\\t\\telse\\n\\t\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"230b8b9bc02b4501dc2495a0afdc1c00\",\n \"score\": \"0.59279424\",\n \"text\": \"@Override\\n\\tpublic boolean instantiated() {\\n\\t\\treturn f.instantiated();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b1ca26e5eb68a467f661abe70992e58\",\n \"score\": \"0.5924241\",\n \"text\": \"public boolean isTarifftypeidInitialized() {\\n return tarifftypeid_is_initialized; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbff4f02e586d92fe2eb2a0c12c954f6\",\n \"score\": \"0.59231365\",\n \"text\": \"public static boolean isInstantiated() {\\n return !(oaclient == null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"796ea30d7c78598ed40447331ab3b83b\",\n \"score\": \"0.59086466\",\n \"text\": \"public boolean isTypeAccessible(Type type) {\\r\\n \\r\\n try {\\r\\n Class loadedType = Thread.currentThread().getContextClassLoader().loadClass(type.getName());\\r\\n if (!type.getRawType().equals(loadedType)) {\\r\\n return false;\\r\\n }\\r\\n compilerStrategy.assureTypeIsAccessible(type.getRawType());\\r\\n return true;\\r\\n } catch (ClassNotFoundException e) {\\r\\n return false;\\r\\n } catch (SourceCodeGenerationException e) {\\r\\n return false;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b57d617d53d8c6c19cf5fead4e18150a\",\n \"score\": \"0.59076077\",\n \"text\": \"static boolean isTypeAClassOfPackage(String typeName) {\\r\\n String type = returnClassName(typeName);\\r\\n boolean result = bcClass.stream().anyMatch((c) -> (c.is(\\\"name\\\", type)));\\r\\n return result;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7281337f3a1bdb374ef937c99ed206e9\",\n \"score\": \"0.5904404\",\n \"text\": \"private static boolean checkClass(Class clazz) {\\n\\t\\ttry {\\n\\t\\t\\tcreateInstance(clazz);\\n\\t\\t\\treturn true;\\n\\t\\t} catch (InstantiationException e) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bcebfdb589bb8089fdfd212680b1cac\",\n \"score\": \"0.58979535\",\n \"text\": \"public boolean e(Type type) {\\n return type instanceof TypeVariable ? c((TypeVariable) type) : false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84492f4806af5a9c91a34b65fc6b2b39\",\n \"score\": \"0.5889293\",\n \"text\": \"public boolean atomicType() {\\n\\n\\t\\treturn typeDisjuncts.size() == 1;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29c16ad2c501c41ccdb2bbdd96066c00\",\n \"score\": \"0.5884205\",\n \"text\": \"boolean isAnnotationType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21c951231a85723f4f8a61dcc6663d90\",\n \"score\": \"0.5871827\",\n \"text\": \"boolean isInstance(Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21c951231a85723f4f8a61dcc6663d90\",\n \"score\": \"0.5871827\",\n \"text\": \"boolean isInstance(Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ef403853484c6bf932ae85de01157cf\",\n \"score\": \"0.58628577\",\n \"text\": \"private boolean determineClass(Class classObject, PasteType type) {\\n return type.getClass().equals(classObject);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c95aba8c21d357091bbea71887c205d\",\n \"score\": \"0.58581954\",\n \"text\": \"@Signature\\n public boolean canInstantiate() {\\n return getWrappedObject().canInstantiate();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02ce92c23dba9561b880ccc0b72e02f9\",\n \"score\": \"0.5856351\",\n \"text\": \"public boolean hasTypes() {\\n return fieldSetFlags()[1];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e69baa63bf106fb855046a90acf064a3\",\n \"score\": \"0.58140874\",\n \"text\": \"public static boolean isSystem(Type type) {\\n Class c = null;\\n try {\\n c = Class.forName(type.className().replace('/', '.'));\\n\\n } catch(ClassNotFoundException ex) {\\n System.err.println(\\\"** Could not find class \\\" +\\n\\t\\t\\t type.className());\\n ex.printStackTrace(System.err);\\n System.exit(1);\\n }\\n\\n // Have to use == because class loader might be null\\n return(c.getClassLoader() == systemCL);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df0ae2b4929e3a15815201e7c5b02276\",\n \"score\": \"0.5808663\",\n \"text\": \"public boolean isSetObjectType()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n return get_store().count_elements(OBJECTTYPE$4) != 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0a139c98b6e73caf07b3594d1b9b7ab\",\n \"score\": \"0.5794565\",\n \"text\": \"public abstract CsmInstantiation getInstantiatedTypeInstantiation(CsmType type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd9ad85a058a050dcd09075661472208\",\n \"score\": \"0.5792914\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4da91dc13e152123aa6a9934cd7785a\",\n \"score\": \"0.5776348\",\n \"text\": \"public abstract boolean isInstant();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11bc60b02d715f6f9d8d437d21ae45d8\",\n \"score\": \"0.5761645\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a85835dad338df309967f6859d2cd72e\",\n \"score\": \"0.57604766\",\n \"text\": \"private boolean matchClass(G2Type type, Cons pattern)\\n {\\n return type instanceof ClassType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b54cbd62244b9157d66e79cc8c702e7\",\n \"score\": \"0.5754819\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000004) == 0x00000004);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c24e7366ce3e87350811c69591926f6\",\n \"score\": \"0.5752677\",\n \"text\": \"boolean hasSuperClass();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4cc753b4b3c677dc2224805fe7ddb3c\",\n \"score\": \"0.5752196\",\n \"text\": \"public abstract boolean isCreatable(Class> clazz);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bd86e2b08af7f9745856c6b0f828366\",\n \"score\": \"0.5751776\",\n \"text\": \"public boolean hasService(Class type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e23fe7510ff9bc49570f8e0fbf6081a8\",\n \"score\": \"0.575031\",\n \"text\": \"boolean isAnnotationTypeElement();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5294eb49a0de39f6007831a6cd971f88\",\n \"score\": \"0.5738479\",\n \"text\": \"private boolean isEligible(Class type) {\\n\\t\\treturn !(type.isAnonymousClass() || isGroovyClosure(type) || hasNoConstructors(type));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c725f13444f6ffda0e8fa29ec1b63571\",\n \"score\": \"0.5721717\",\n \"text\": \"boolean isSetObjectType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"950706e0f3f23848a21141be436780d2\",\n \"score\": \"0.57093096\",\n \"text\": \"public boolean hasType() {\\n return ((bitField0_ & 0x00000004) == 0x00000004);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6586fd95a454452fefa979272feb76f\",\n \"score\": \"0.57014364\",\n \"text\": \"boolean hasNodeType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f38a18d95e86978a30baacd50c01843a\",\n \"score\": \"0.570125\",\n \"text\": \"@Override\\n\\tpublic Boolean existbytype(String type) {\\n\\t\\tList AB = AbonnementRepository.findByType(type);\\n\\n\\t\\tif (AB.size() == 0)\\n\\t\\t\\treturn false;\\n\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":877,"cells":{"query_id":{"kind":"string","value":"936d5da695c10637c7a6589ce14788c2"},"query":{"kind":"string","value":"Adds or sets userdefined properties of this Message."},"positive_passages":{"kind":"list like","value":[{"docid":"83d691089d9460b4aa35c552bfc92dba","score":"0.53163755","text":"public void setProperty(String name, String value) {\n // Codes_SRS_MESSAGE_11_028: [If name is null, the function shall throw an IllegalArgumentException.]\n if (name == null) {\n throw new IllegalArgumentException(\"Property name cannot be 'null'.\");\n }\n\n // Codes_SRS_MESSAGE_11_029: [If value is null, the function shall throw an IllegalArgumentException.]\n if (value == null) {\n throw new IllegalArgumentException(\"Property value cannot be 'null'.\");\n }\n\n // Codes_SRS_MESSAGE_11_026: [The function shall set the message property to the given value.]\n MessageProperty messageProperty = null;\n\n for (MessageProperty currentMessageProperty: this.properties) {\n if (currentMessageProperty.hasSameName(name)) {\n messageProperty = currentMessageProperty;\n break;\n }\n }\n\n if (messageProperty != null) {\n this.properties.remove(messageProperty);\n }\n\n this.properties.add(new MessageProperty(name, value));\n }","title":""}],"string":"[\n {\n \"docid\": \"83d691089d9460b4aa35c552bfc92dba\",\n \"score\": \"0.53163755\",\n \"text\": \"public void setProperty(String name, String value) {\\n // Codes_SRS_MESSAGE_11_028: [If name is null, the function shall throw an IllegalArgumentException.]\\n if (name == null) {\\n throw new IllegalArgumentException(\\\"Property name cannot be 'null'.\\\");\\n }\\n\\n // Codes_SRS_MESSAGE_11_029: [If value is null, the function shall throw an IllegalArgumentException.]\\n if (value == null) {\\n throw new IllegalArgumentException(\\\"Property value cannot be 'null'.\\\");\\n }\\n\\n // Codes_SRS_MESSAGE_11_026: [The function shall set the message property to the given value.]\\n MessageProperty messageProperty = null;\\n\\n for (MessageProperty currentMessageProperty: this.properties) {\\n if (currentMessageProperty.hasSameName(name)) {\\n messageProperty = currentMessageProperty;\\n break;\\n }\\n }\\n\\n if (messageProperty != null) {\\n this.properties.remove(messageProperty);\\n }\\n\\n this.properties.add(new MessageProperty(name, value));\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"280f0ea98d19cee6f6f6fa390b10fbcd","score":"0.6383134","text":"public void setUserProperties( boolean userProps )\n {\n dictionary.setBoolean( \"UserProperties\", userProps );\n }","title":""},{"docid":"2d575adb25deb8b88c2474eef223683c","score":"0.5876209","text":"public com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties addNewProperties() {\r\n synchronized (monitor()) {\r\n check_orphaned();\r\n com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties target = null;\r\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().add_element_user(\r\n PROPERTIES$0);\r\n return target;\r\n }\r\n }","title":""},{"docid":"7227d7e2d0fd861fb7f757c6fd37f708","score":"0.58667153","text":"@Override\n public void addProperty(String arg0, String arg1) {\n }","title":""},{"docid":"e9b24d738395c1451fab0a5ed8b47cc8","score":"0.582414","text":"protected void addToSystemProperties() {\r\n if (systemProperties == null) {\r\n systemProperties = new Properties();\r\n }\r\n // Add any properties configured by the user as system properties\r\n Iterator iter = systemProperties.stringPropertyNames().iterator();\r\n while (iter.hasNext()) {\r\n String key = iter.next();\r\n String value = systemProperties.getProperty(key);\r\n System.setProperty(key, value);\r\n }\r\n }","title":""},{"docid":"5709a919d96c9e0135a1dde8a0d2029b","score":"0.57534623","text":"@Override\n protected void registerProperties() {\n super.registerProperties();\n\n this.registerProperty(ItemSchema.Subject);\n this.registerProperty(ItemSchema.Body);\n this.registerProperty(EmailMessageSchema.ToRecipients);\n this.registerProperty(EmailMessageSchema.CcRecipients);\n this.registerProperty(EmailMessageSchema.BccRecipients);\n this.registerProperty(EmailMessageSchema.IsReadReceiptRequested);\n this.registerProperty(EmailMessageSchema.IsDeliveryReceiptRequested);\n this.registerProperty(ResponseObjectSchema.ReferenceItemId);\n this.registerProperty(ResponseObjectSchema.BodyPrefix);\n }","title":""},{"docid":"46891032bd2ceb1939988397bc51a105","score":"0.5621031","text":"public void addProperties(Properties p){\n\t\tproperties.putAll(p);\n\t}","title":""},{"docid":"74f535ea352ff8da640484205ff0d62a","score":"0.5519946","text":"void addProperty(Property property);","title":""},{"docid":"6e96c40971efa9bcbcfb942094815aaf","score":"0.5493487","text":"public void addProperty(String name, String value) \n {\n if(properties == null)\n properties = new Hashtable();\n properties.put(name, value);\n }","title":""},{"docid":"517c6758110e1f8cacae80607f5f66ac","score":"0.5458826","text":"protected void addProperties(Map props) {\n properties.putAll(props);\n }","title":""},{"docid":"56a6626f46f096a13207c61e191719b8","score":"0.54329","text":"void setUserProperties(DtoProperties properties);","title":""},{"docid":"c543841b6c518c3c570662a7fa9e7708","score":"0.5432419","text":"public void setProperties(Properties in);","title":""},{"docid":"3b1e61d53c899f2fe36544e25851cbae","score":"0.54234385","text":"protected void addUserDefinedPropertyElements(int indentLvl, FieldProperties instProperties, String instName) {\n\t\tif (!instProperties.hasUserDefinedProperties()) return; // done if no external properties\n\t\tPropertyList pList = instProperties.getUserDefinedProperties();\n\t\tfor (String name : pList.getProperties().keySet()) {\n\t\t\tString value = (pList.getProperty(name) == null)? \"\" : pList.getProperty(name);\n\t\t\toutputList.add(new OutputLine(indentLvl, \"this.\" + instName + \".add_def_property(\\\"\" + name + \"\\\", \\\"\" + cleanSysVerString(value) + \"\\\");\")); \n\t\t}\n\t}","title":""},{"docid":"7d530e9d9e3b5ad103a21c644bccb4d9","score":"0.54040277","text":"protected void addUserDefinedPropertyElements(String parentID, InstanceProperties instProperties, String instName) {\n\t\tif (!instProperties.hasUserDefinedProperties()) return; // done if no external properties\n\t\tPropertyList pList = instProperties.getUserDefinedProperties();\n\t\tfor (String name : pList.getProperties().keySet()) {\n\t\t\tString value = (pList.getProperty(name) == null)? \"\" : pList.getProperty(name);\n\t\t\tsubcompBuildList.addStatement(parentID, \" this.\" + instName + \".add_def_property(\\\"\" + name + \"\\\", \\\"\" + cleanSysVerString(value) + \"\\\");\"); \n\t\t}\n\t}","title":""},{"docid":"797427b7466ebb976a8415c3c3e3e86c","score":"0.54007185","text":"public net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props addNewProps()\n {\n synchronized (monitor())\n {\n check_orphaned();\n net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props target = null;\n target = (net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props)get_store().add_element_user(PROPS$6);\n return target;\n }\n }","title":""},{"docid":"1aca7137feb7dfdfa46da36ee38d4481","score":"0.53750294","text":"private void addImportantProperties() {\n FxBean beanInfo = getBeanInfo();\n if (beanInfo == null) {\n return;\n }\n HashSet names = new HashSet();\n boolean next = false;\n do {\n addPropertiesFrom(beanInfo.getDeclareadInfo(), names, next);\n if (beanInfo.getBuilder() != null) {\n addPropertiesFrom(beanInfo.getBuilder().getDeclareadInfo(), names, next);\n }\n beanInfo = beanInfo.getSuperclassInfo();\n next = true;\n } while (beanInfo != null && resultItems.size() < IMPORTANT_PROPERTIES_TRESHOLD);\n }","title":""},{"docid":"bee22f5a0175c11f51cac88afe568d97","score":"0.5352235","text":"public SimpleMessageProperty(){\n\t\tsuper();\n\t}","title":""},{"docid":"66980fd1db8f5dcb8099c24f58465321","score":"0.53494865","text":"protected void addPropNames() { addPropNames(\"Source\"); super.addPropNames(); }","title":""},{"docid":"cc7aa9e34907f33f2c9839b63de9caa9","score":"0.5349306","text":"@Override\r\n\tpublic void setProperties(Properties properties) {\n\t\tthis.props=properties;\r\n\t}","title":""},{"docid":"1f1a4e2aad28941796bad56a78b2c3d7","score":"0.53407663","text":"public void addProperty(String key, String value);","title":""},{"docid":"9240cb693f4fb56da98bd21c2e40cdf1","score":"0.52946496","text":"@Override\r\n\tpublic void setProperties(Properties properties)\r\n\t{\n\r\n\t}","title":""},{"docid":"d3544019e0f3b766d5bdcc7dd9142d7c","score":"0.5291199","text":"@Override\n public void setProperties(Properties properties) {\n\n }","title":""},{"docid":"614768a12fc36e99d70234ac823cc8c7","score":"0.5286681","text":"@Override\r\n\tpublic void setProperties(Properties properties) {\n\r\n\t}","title":""},{"docid":"56ee52a53c14fa62273a8eeb1c66aa9e","score":"0.52575237","text":"public void setProperties(PropertiesEx properties);","title":""},{"docid":"5678e047827af48977882ec4788250cd","score":"0.5254953","text":"public void setProperties(String props) {\n this.properties = props;\n }","title":""},{"docid":"3bfdaf34a5c49819fae7d70e5ed7d1a6","score":"0.52237797","text":"public void setProperties(Properties properties);","title":""},{"docid":"2358716fc88f7c84da28d8ea23e11cbb","score":"0.5209448","text":"@Override\r\n\tpublic void setProperties(Properties p) {\n\t\tproperties = p;\r\n\t}","title":""},{"docid":"eb126ca19b976730ef3a26fa769176d3","score":"0.52039886","text":"void addProperty(String aName, String aValue)\n {\n mProperties.put(aName, aValue);\n }","title":""},{"docid":"06b4630b87856f86647ac928398aa7e0","score":"0.5200979","text":"private void addPropertiesWithID(Connection dbConnection, String userID, Map properties,\n String profileName) throws UserStoreException {\n\n String type;\n try {\n type = DatabaseCreator.getDatabaseType(dbConnection);\n } catch (Exception e) {\n String msg = \"Error occurred while adding user properties for user : \" + userID;\n if (log.isDebugEnabled()) {\n log.debug(msg, e);\n }\n throw new UserStoreException(msg, e);\n }\n\n String sqlStmt = realmConfig.getUserStoreProperty(JDBCRealmConstants.ADD_USER_PROPERTY_WITH_ID + \"-\" + type);\n if (sqlStmt == null) {\n sqlStmt = realmConfig.getUserStoreProperty(JDBCRealmConstants.ADD_USER_PROPERTY_WITH_ID);\n }\n if (sqlStmt == null) {\n throw new UserStoreException(\"The sql statement for add user property sql is null\");\n }\n\n PreparedStatement prepStmt = null;\n boolean localConnection = false;\n\n try {\n if (dbConnection == null) {\n localConnection = true;\n dbConnection = getDBConnection();\n }\n prepStmt = dbConnection.prepareStatement(sqlStmt);\n\n Map userAttributes = new HashMap<>();\n for (Map.Entry entry : properties.entrySet()) {\n String attributeName = entry.getKey();\n String attributeValue = entry.getValue();\n userAttributes.put(attributeName, attributeValue);\n }\n\n for (Map.Entry entry : userAttributes.entrySet()) {\n String propertyName = entry.getKey();\n String propertyValue = entry.getValue();\n if (sqlStmt.contains(UserCoreConstants.UM_TENANT_COLUMN)) {\n if (UserCoreConstants.OPENEDGE_TYPE.equals(type)) {\n batchUpdateStringValuesToDatabase(prepStmt, propertyName, propertyValue, profileName, tenantId,\n userID, tenantId);\n } else {\n batchUpdateStringValuesToDatabase(prepStmt, userID, tenantId, propertyName, propertyValue,\n profileName, tenantId);\n }\n } else {\n batchUpdateStringValuesToDatabase(prepStmt, userID, propertyName, propertyValue, profileName);\n }\n }\n\n int[] counts = prepStmt.executeBatch();\n if (log.isDebugEnabled()) {\n int totalUpdated = 0;\n if (counts != null) {\n for (int i : counts) {\n totalUpdated += i;\n }\n }\n\n if (totalUpdated == 0) {\n log.debug(\"No rows were updated\");\n }\n log.debug(\"Executed query is \" + sqlStmt + \" and number of updated rows :: \" + totalUpdated);\n }\n\n if (localConnection) {\n dbConnection.commit();\n }\n } catch (SQLException e) {\n String msg = \"Error occurred while updating string values to database.\";\n if (log.isDebugEnabled()) {\n log.debug(msg, e);\n }\n throw new UserStoreException(msg, e);\n } finally {\n if (localConnection) {\n DatabaseUtil.closeAllConnections(dbConnection);\n }\n DatabaseUtil.closeAllConnections(null, prepStmt);\n }\n }","title":""},{"docid":"a3afb282b85f5805aced51f34b5590b3","score":"0.5170954","text":"public Htmlmessages.CMsgJSValue.JSObjectProperty.Builder addObjectPropertiesBuilder() {\n return getObjectPropertiesFieldBuilder().addBuilder(\n Htmlmessages.CMsgJSValue.JSObjectProperty.getDefaultInstance());\n }","title":""},{"docid":"d3b8db615e33671ee47d2bacff068427","score":"0.51637405","text":"@Override\n\tpublic void receiveProperties(Properties prop) {\n\t\t\n\t}","title":""},{"docid":"0a6aeb4c5611fdc75d45ee9ce1652ca6","score":"0.5156642","text":"public void setProperties(String properties) {\n if (properties != null)\n this.properties = properties + \" \";\n else\n this.properties = \"\";\n }","title":""},{"docid":"11f0fcae87b2aeaa278371de4b8115f8","score":"0.5149849","text":"@JsonAnySetter\n public void setAdditionalProperty(String name, Object value) {\n this.additionalProperties.put(name, value);\n }","title":""},{"docid":"11f0fcae87b2aeaa278371de4b8115f8","score":"0.5149849","text":"@JsonAnySetter\n public void setAdditionalProperty(String name, Object value) {\n this.additionalProperties.put(name, value);\n }","title":""},{"docid":"fda559763546fe1a714af85cd174f9fe","score":"0.51327366","text":"public void customizeProperties(Properties properties)\n{\n\t// by default, no customization takes place\n}","title":""},{"docid":"be5dc1ce05468edb1ee64d3fe1a9731c","score":"0.5131437","text":"private void addPropertyDefinitions(Enumeration properties, TypeTopic typeTopic, Vector hiddenProperties,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSession session, CorporateDirectives directives) {\n\t\t// ### Note: if no property layout is set, PROPERTY_LAYOUT_SUPER_FIRST is used as default\n\t\t// ### int index = propertyLayout.equals(PROPERTY_LAYOUT_SUB_FIRST) ? propDefinition.size() : 0;\n\t\t// add property definition for every enumerated property\n\t\twhile (properties.hasMoreElements()) {\n\t\t\tBaseTopic bt = (BaseTopic) properties.nextElement();\n\t\t\tLiveTopic lt = as.getLiveTopic(bt, session, directives);\n\t\t\t// ### error check\n\t\t\tif (!checkProperty(lt, typeTopic)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t//\n\t\t\tPropertyTopic property = (PropertyTopic) lt;\n\t\t\t//\n\t\t\tproperty.initPropertyDefinition(session, directives);\n\t\t\t//\n\t\t\tString fieldName = property.getName();\n\t\t\tString visualization = hiddenProperties != null && hiddenProperties.contains(fieldName) ?\n\t\t\t\tVISUAL_HIDDEN : property.getVisualization();\n\t\t\t// create property definition\n\t\t\tPropertyDefinition propDef = new PropertyDefinition(fieldName, property.getDataType(),\n\t\t\t\tvisualization, property.getDefaultValue(), property.getEditIconfile(), property.getOptions());\n\t\t\tpropDef.setOrdinalNr(bt.ordNr);\n\t\t\t// --- trigger buttonCommand() hook ---\n\t\t\taddButton(propDef, typeTopic, session);\n\t\t\t// --- trigger propertyLabel() hook ---\n\t\t\tsetPropertyLabel(propDef, typeTopic, session);\n\t\t\t// --- add property definition ---\n\t\t\taddToTypeDefinition(propDef, typeDefinition);\n\t\t\taddToTypeDefinition(propDef, propDefinition, propDefinitionTable, propDef.getPropertyName());\n\t\t\t//\n\t\t\t// build \"ownPropNames\"\n\t\t\tif (typeTopic == this) {\n\t\t\t\t// ### System.out.println(\">>> TypeTopic.makeTypeDefinition: individual prop for \" + getName() + \": \" + propDef.getPropertyName());\n\t\t\t\townPropNames.addElement(propDef.getPropertyName());\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"b8b2b8c1dc02137a4ec338efa519bf70","score":"0.5107778","text":"public void putClientProperty( String property, String value );","title":""},{"docid":"4b4d7af9ae8ca83f3449ab787851f492","score":"0.5105494","text":"@Override\r\n\t\tpublic void propertyAdded(PropertyManager pm, Property p) {\n\t\t\t\r\n\t\t}","title":""},{"docid":"68f539174620ccc2dc0ca964d9c662ce","score":"0.50949174","text":"@Override\n public GeneralException setPropertyMessageList(Collection messageList) {\n this.messages = PropertyMessageExUtil.makePropertyMessageList(messageList); // SCIPIO: make property messages\n return this;\n }","title":""},{"docid":"c39f5bbc92931f1f5a1c6d5ba26207aa","score":"0.50821054","text":"T setCustomProperties(Map properties);","title":""},{"docid":"6432452b5e70e2105a29997d5e74d608","score":"0.50675505","text":"@JsonAnySetter\n public SyntheticsBasicAuthWeb putAdditionalProperty(String key, Object value) {\n if (this.additionalProperties == null) {\n this.additionalProperties = new HashMap();\n }\n this.additionalProperties.put(key, value);\n return this;\n }","title":""},{"docid":"9221ff88b3cefa9fd7db13d6c251830f","score":"0.5066879","text":"public com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType addNewProperty()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType target = null;\n target = (com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType)get_store().add_element_user(PROPERTY$0);\n return target;\n }\n }","title":""},{"docid":"361abe054dd31569004404f7859973f8","score":"0.5061107","text":"public synchronized void addProps(String key, InputStream in)\n throws IOException {\n Properties newProps = new SystemProperties();\n newProps.load(in);\n in.close();\n\n if (this.additionalProps == null) {\n this.additionalProps = new HashMap();\n }\n this.additionalProps.put(key, newProps);\n\n // fully reload properties and mark as updated\n reload();\n this.lastadd = System.currentTimeMillis();\n }","title":""},{"docid":"8f6649654d8b0aac596d29333a98807f","score":"0.5057465","text":"@Override\n\tpublic void setProperties(Properties properties) \n\t{\n\t\tthis.properties = properties;\n\t}","title":""},{"docid":"af476ab626eedda1a0e3ea4f437c2a5d","score":"0.504391","text":"@Override\n\tpublic void setProperty(String key, String value) {\n\n\t}","title":""},{"docid":"5dfaaa05a7e41dc9cdbfe97a15f918c0","score":"0.50438815","text":"private void setProperties() {\r\n setEnabled(graph.getUndoManager().canUndo());\r\n }","title":""},{"docid":"9de65179a032721824ceee38f4d7a3cd","score":"0.50394106","text":"public void setProperties(com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties properties) {\r\n synchronized (monitor()) {\r\n check_orphaned();\r\n com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties target = null;\r\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().find_element_user(\r\n PROPERTIES$0,\r\n 0);\r\n if (target == null) {\r\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().add_element_user(\r\n PROPERTIES$0);\r\n }\r\n target.set(properties);\r\n }\r\n }","title":""},{"docid":"85da03ca654d95d1293b8288428f6ae3","score":"0.50184655","text":"void setProperties(Properties properties)\n\t{\n\t\tthis.properties = properties;\n\t}","title":""},{"docid":"d313f57ed53d6146e597132582b28778","score":"0.50163716","text":"void addMetaBeanProperty(MetaBeanProperty metaBeanProperty);","title":""},{"docid":"f657f5afdee7f63955d6c9e212aa3336","score":"0.5012229","text":"public Configuration addProperties(Properties extraProperties) {\n \t\tthis.properties.putAll( extraProperties );\n \t\treturn this;\n \t}","title":""},{"docid":"f657f5afdee7f63955d6c9e212aa3336","score":"0.5012229","text":"public Configuration addProperties(Properties extraProperties) {\n \t\tthis.properties.putAll( extraProperties );\n \t\treturn this;\n \t}","title":""},{"docid":"2bdf4c7badf921abf4ebba28bf45629e","score":"0.4996949","text":"public BuildInfoMavenBuilder addProperty(Object key, Object value) {\n super.addProperty(key, value);\n return this;\n }","title":""},{"docid":"9fe3f6ccb967a8bcee9106fbbd56b684","score":"0.4989913","text":"@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}","title":""},{"docid":"f66132f7edef6d2284bfe04b78193433","score":"0.49816406","text":"protected void setAbstractCrosswordProperties(final Map properties) {\r\n\t}","title":""},{"docid":"97a7477a2a4e301e46cc030e0dcff3e4","score":"0.49765176","text":"@Override\n public void setProperty(String arg0, String arg1) {\n }","title":""},{"docid":"bc6f316e284b0a3e786f038f1f08bb11","score":"0.49754363","text":"public void initProperties() {\n\t\tsuper.initProperties();\n\t}","title":""},{"docid":"76de856a87bc3e49e0a4d3a19919ca50","score":"0.4972848","text":"public void registerSuperProperties(Map properties) {\n if (Config.IS_LOG_ENABLE) {\n log.info(\"RegisterSuperProperties(countly-sdk-java): \\n properties=\" + properties);\n }\n for (Map.Entry item : properties.entrySet()) {\n superProperties.put(item.getKey(), item.getValue());\n }\n }","title":""},{"docid":"32cad0fe53a6415c3ef94dff9eb16393","score":"0.49710962","text":"public boolean setProperties(Properties props) {\n String str;\n\n str=props.getProperty(\"print_msg\");\n if(str != null) {\n print_msg=new Boolean(str).booleanValue();\n props.remove(\"print_msg\");\n }\n\n str=props.getProperty(\"min_size\");\n if(str != null) {\n min_size=Integer.parseInt(str);\n props.remove(\"min_size\");\n }\n\n if(props.size() > 0) {\n System.err.println(\"SIZE.setProperties(): the following properties are not recognized:\");\n props.list(System.out);\n return false;\n }\n return true;\n }","title":""},{"docid":"b68b29a6736f3a6b0bc6a36b7b6a897b","score":"0.496809","text":"public void addProp(int playerID,int propID){\n // gives a property to a player\n\n \n\n int prevOwner = findOwner(propID);\n if(prevOwner == playerID){\n // do nothing, person already owns it\n return;\n } else if (prevOwner != -1){\n // take this property away from whoever used to own it\n this.removeProp(propID);\n }\n // pass on the request to the player with the corresponding jsonData\n _players[playerID].addProp(propID,_data[propID]);\n }","title":""},{"docid":"b55e0bf9dcc5b0a966f55dd8c8c1fec9","score":"0.4965737","text":"public void addProperty(PropertyMeta property)\n {\n _properties.put(property.getName(), property);\n }","title":""},{"docid":"0b275d42839d31e6d41cfed54c1fdd92","score":"0.4964668","text":"public void setProperties(Properties properties) {\n this.properties = properties;\n }","title":""},{"docid":"86c039d08e257c23e02174958e5a96d6","score":"0.49627957","text":"@Override\n public void newProperties(PropertySheet ps) throws PropertyException {\n }","title":""},{"docid":"eeeed81f56eeee5c79633af5b0cdcb24","score":"0.49592778","text":"Property setProperty(String name, Object val);","title":""},{"docid":"c15a5a40547ae4de3cedbb215bbb9701","score":"0.49533325","text":"Schema getAdditonalProperties();","title":""},{"docid":"52d0c368934ac4b0e2e0fde32fcc7ae7","score":"0.49518472","text":"public void setProps (Prop props)\n {\n this.props = props;\n\n }","title":""},{"docid":"e366f59bf0dca66d88c11a4710b9316f","score":"0.4946719","text":"void addPropertySet(PropertySet propertySet);","title":""},{"docid":"786c1bc261e62d0ebb3199447e141c06","score":"0.49463165","text":"public NotificationDispatcherMetadata setProperty(String key, String value) {\n properties.put(key, value);\n return this;\n }","title":""},{"docid":"4fb8ee589b339e33b204955e7a4b221b","score":"0.49413255","text":"public void addProp()\n {\n propTimer = new Timeline(new KeyFrame(Duration.millis(5), e->\n {\n updateProp();\n updatePellet();\n }\n ));\n propTimer.setCycleCount(Animation.INDEFINITE);\n propTimer.setRate(propSpeed);\n }","title":""},{"docid":"d761e5d027e153097fe2113173ddb783","score":"0.49380055","text":"public void setProperty(String newProperty) {\n\t}","title":""},{"docid":"b1bae5159a9591c6eda0843e428bb444","score":"0.4929312","text":"public boolean usesUserProperties()\n {\n return dictionary.getBoolean( \"UserProperties\", false );\n }","title":""},{"docid":"92fdee6662394cd30b306dbebc826221","score":"0.48920512","text":"void setProperty(String name, String value);","title":""},{"docid":"0f519d8b54fddecb071b8f3c36be9ef4","score":"0.48707423","text":"public Builder addObjectProperties(Htmlmessages.CMsgJSValue.JSObjectProperty value) {\n if (objectPropertiesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureObjectPropertiesIsMutable();\n objectProperties_.add(value);\n onChanged();\n } else {\n objectPropertiesBuilder_.addMessage(value);\n }\n return this;\n }","title":""},{"docid":"7040ab4af34dc688c7a9b421e6129d23","score":"0.48699006","text":"T addCustomProperty(@Nonnull String key, @Nonnull String value);","title":""},{"docid":"5c1f6807f5d448652623720324ae6923","score":"0.48674044","text":"public void addProperties(Map parentProps)\n {\n // only add those new properties for which we\n // do not already have a value. first prop set wins.\n Map properties = getProps();\n for (Map.Entry prop : parentProps.entrySet())\n {\n if (!properties.containsKey(prop.getKey()))\n {\n properties.put(prop.getKey(), prop.getValue());\n }\n }\n }","title":""},{"docid":"3a1831821942802cbbe8aa7b04b20093","score":"0.48637572","text":"@PUT\n \t@Path(\"/job/{jobname}/property/\")\n \t@RolesAllowed(\"User\")\n \tvoid addJobProperties(@PathParam(\"jobname\") String jobname,\n \t\t\t@QueryParam(\"properties\") DtoJob properties)\n \t\t\t\t\tthrows NoSuchJobException;","title":""},{"docid":"aa8fd31e3f97c1857f2e92838be12822","score":"0.4863315","text":"@Override\n public final void afterPropertiesSet() throws Exception {\n Assert.notNull(this.userCache, \"A user cache must be set\");\n Assert.notNull(this.messages, \"A message source must be set\");\n doAfterPropertiesSet();\n }","title":""},{"docid":"ebf6669251b6f106939fcfa28428e13e","score":"0.48596653","text":"public void setPeerProperties(Hashtable properties){ //this method is called from FedMeteorDrtsPeer\r\n peerProperties=properties;\r\n }","title":""},{"docid":"c05e0f1d1d279c0e57321de9a1512d0e","score":"0.48514226","text":"private void addProperties(String pluginName)\n throws IOException\n {\n // see if the velocity properties exist for the current plugin\n URL propertiesUri =\n ResourceUtils.getResource(PROPERTIES_DIR + StringUtils.trimToEmpty(pluginName) + PROPERTIES_SUFFIX);\n\n if (propertiesUri != null)\n {\n if (logger.isDebugEnabled())\n {\n logger.debug(\"loading properties from --> '\" + propertiesUri + '\\'');\n }\n\n Properties properties = new Properties();\n properties.load(propertiesUri.openStream());\n\n for (Map.Entry entry : properties.entrySet())\n {\n final String property = (String) entry.getKey();\n final String value = (String)entry.getValue();\n if (logger.isDebugEnabled())\n {\n logger.debug(\"setting property '\" + property + \"' with --> '\" + value + '\\'');\n }\n this.velocityEngine.setProperty(property, value);\n }\n }\n }","title":""},{"docid":"769cefe4441eee0bc70982bd03567109","score":"0.48483962","text":"Properties createProperties();","title":""},{"docid":"a75742b98c20ae34d38412d8f8ccd23f","score":"0.48436436","text":"public void setProperties(long value1)\n // -end- 394746C20200 set_head3940EE310270 \"properties\"\n {\n // -beg- preserve=no 394746C20200 set_body3940EE310270 \"properties\"\n if(properties != value1){\n properties = value1;\n ch.ehi.uml1_4.changepropagation.MetaModel.getInstance().notifyChange(new ch.ehi.uml1_4.changepropagation.MetaModelChange(this,\"setProperties\"));\n }\n // -end- 394746C20200 set_body3940EE310270 \"properties\"\n }","title":""},{"docid":"571ad0fc401924b717afff5329ff33e1","score":"0.48424426","text":"public void addProperty(String key, String value) {\n if (properties == null) {\n properties = new HashMap<>();\n }\n properties.put(key, value);\n }","title":""},{"docid":"3bda9ffaf9c7f4d9d90f0fcf594c6980","score":"0.48362723","text":"public PropertyRequest addProperty(ElementDescriptor property)\n {\n if (mProp == null)\n {\n mProp = new HashMap, Object>(16);\n }\n mProp.put(property, null);\n return this;\n }","title":""},{"docid":"cd79cb08b226fcce067c71b1c91ab1ef","score":"0.4834019","text":"@Override\n public GeneralException setPropertyMessage(PropertyMessage propertyMessage) {\n this.propertyMessage = propertyMessage;\n return this;\n }","title":""},{"docid":"b0ce5c7ddf51e76cbbfe7da10a945796","score":"0.48319334","text":"protected void addPropertiesTo(DataAdaptor container) {}","title":""},{"docid":"396a4a962eb6c57e5121cd3dc029cb6c","score":"0.4831444","text":"protected final void addSettings(Property... props) {\n for(final Property prop : props) {\n properties.add(new ModProperty(prop));\n addCommand(CommandBuilder.create()\n .setProperty(prop)\n .setProcessor(options -> {\n List args = options.nonOptionArguments();\n if(args.size() > 0) {\n // easier to deal with if its always a string\n String arg = PropertyTypeConverter.getConvertedString(prop, String.valueOf(args.get(0)));\n // save old value\n String old = prop.getString();\n if(!Objects.equal(arg, old)) {\n // set\n prop.set(arg);\n // inform client there has been changes\n printMessage(String.format(\"Set '%s' from '%s' to '%s'\",\n CommandLine.toUniqueId(getModName(), prop.getName()),\n Objects.firstNonNull(old, \"\"),\n Objects.firstNonNull(prop.getString(), \"\")\n ));\n return true; // success, call callbacks\n }\n } else {\n printMessage(String.format(\"%s = %s\",\n CommandLine.toUniqueId(getModName(), prop.getName()),\n Objects.firstNonNull(prop.getString(), \"\")\n ));\n }\n return false; // nothing changed, dont call callbacks\n })\n .addCallback(command -> {\n update();\n MOD.getConfig().save();\n })\n .build()\n );\n }\n }","title":""},{"docid":"244872ca6f3758c4e25f6940619b0bbe","score":"0.48298886","text":"public interface UserProperties {\n\n\t/**\n\t * Get user property.\n\t * \n\t * @param key\n\t * property name\n\t * @return property or null if property isn't set.\n\t */\n\t T getUserProperty(String key);\n\n\t/**\n\t * Set user property.\n\t * \n\t * @param key\n\t * property name\n\t * @param value\n\t * property value. null to unset property\n\t * \n\t * @return instance of this {@linkplain UserProperties}\n\t */\n\tUserProperties setUserProperty(String key, Object value);\n\n}","title":""},{"docid":"99fab9a242b6b4814fc3a4180ad2563b","score":"0.48281103","text":"void setProperty(String propertyName, Object value);","title":""},{"docid":"89450fdd95f47c4a57560d9485a49010","score":"0.48216316","text":"public void setProperties(ArrayList properties) {\n this.properties = properties;\n }","title":""},{"docid":"47612e8a3f526004780dd526708a95c6","score":"0.48201758","text":"public void setProperties(Properties p)\n\t{\n\t\t_p=p;\n\t}","title":""},{"docid":"63a11adc4b79d99a7d26773fad8cc0c6","score":"0.48149326","text":"public void setProperties(List theProps)\n {\n while (getPropertyCount() > 0) removeProperty(0);\n for (Property prop : theProps) addProperty(prop);\n }","title":""},{"docid":"d6fddcc58d48f312c86c8d3dc9cf7445","score":"0.481453","text":"private void addProperty(String attributeName, Map> properties, Attribute att) {\n if (!properties.containsKey(attributeName)) {\n List a = new ArrayList<>();\n a.add(att);\n properties.put(attributeName, a);\n } else {\n properties.get(attributeName).add(att);\n }\n }","title":""},{"docid":"0a59d5d282d123d476380cb322e49eeb","score":"0.48132095","text":"private void setProp() {\n\t\tthis.setCardOwnerName(this.xpay.getCustomerName());\n\t\tthis.setCustCardNo(this.xpay.getCreditCardNo());\n\t\tthis.setCardExpMonthDate(this.xpay.getCardExpMonth() +\"/\"+ this.xpay.getCardExpYear());\n\t\tthis.setCVVNo(this.xpay.getCardCVVNo().intValue());\n\t\tthis.setTotalAmount(this.xpay.getAmount());\n\t}","title":""},{"docid":"fc0a9c0e07b53a6cd6cd07388f365339","score":"0.48045826","text":"public void loadAdditionallProperties(Properties testProp) {\n\t\t// TODO Auto-generated method stub\n\t}","title":""},{"docid":"f66d782e7f752365a2a2103bb1d38e0a","score":"0.48023057","text":"public void setProperty(Property property);","title":""},{"docid":"b89b2360ba7ad33a18c3dad24e2310f6","score":"0.48011878","text":"public void setProperties(Dictionary properties);","title":""},{"docid":"8847b0095cb985e45bbf66a08d3287d6","score":"0.47985524","text":"public void addDirectProperty(String key, String value);","title":""},{"docid":"665dec019c5f99b660b1d44aa591491e","score":"0.47878528","text":"public void setProperty(String key, Object value) {\n\t\t\t\n\t\t}","title":""},{"docid":"6d5092baea794904ba77e0f503ddadb3","score":"0.47849524","text":"@JsonAnySetter\n public SLOCorrectionResponseAttributes putAdditionalProperty(String key, Object value) {\n if (this.additionalProperties == null) {\n this.additionalProperties = new HashMap();\n }\n this.additionalProperties.put(key, value);\n return this;\n }","title":""},{"docid":"278098899ec17ee6e10eaafbb3ea7d7b","score":"0.47815886","text":"@Override\n\tpublic void onUserChangeRoomProperty (\n RoomData roomData,\n String userName,\n HashMap properties,\n HashMap lockProperties) {\n\t}","title":""},{"docid":"c7eb48542c48fc1b26b10ed8dd7d8b17","score":"0.4779107","text":"public synchronized void addProperties(\n final String name,\n final Properties properties\n ) throws RootPropertiesDoesNotContainsKeyException\n {\n check(properties);\n this.childProperties.put( name, properties );\n }","title":""},{"docid":"c10b1e8c4ba7bf63560e2bda3de42aa8","score":"0.47783065","text":"private void addToProperties(Properties tbl, String fieldNames, String fieldTypes) {\n tbl.setProperty(serdeConstants.SERIALIZATION_FORMAT, \"9\");\n\n tbl.setProperty(\"columns\", fieldNames);\n tbl.setProperty(\"columns.types\", fieldTypes);\n\n tbl.setProperty(serdeConstants.SERIALIZATION_NULL_FORMAT, \"NULL\");\n }","title":""}],"string":"[\n {\n \"docid\": \"280f0ea98d19cee6f6f6fa390b10fbcd\",\n \"score\": \"0.6383134\",\n \"text\": \"public void setUserProperties( boolean userProps )\\n {\\n dictionary.setBoolean( \\\"UserProperties\\\", userProps );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d575adb25deb8b88c2474eef223683c\",\n \"score\": \"0.5876209\",\n \"text\": \"public com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties addNewProperties() {\\r\\n synchronized (monitor()) {\\r\\n check_orphaned();\\r\\n com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties target = null;\\r\\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().add_element_user(\\r\\n PROPERTIES$0);\\r\\n return target;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7227d7e2d0fd861fb7f757c6fd37f708\",\n \"score\": \"0.58667153\",\n \"text\": \"@Override\\n public void addProperty(String arg0, String arg1) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9b24d738395c1451fab0a5ed8b47cc8\",\n \"score\": \"0.582414\",\n \"text\": \"protected void addToSystemProperties() {\\r\\n if (systemProperties == null) {\\r\\n systemProperties = new Properties();\\r\\n }\\r\\n // Add any properties configured by the user as system properties\\r\\n Iterator iter = systemProperties.stringPropertyNames().iterator();\\r\\n while (iter.hasNext()) {\\r\\n String key = iter.next();\\r\\n String value = systemProperties.getProperty(key);\\r\\n System.setProperty(key, value);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5709a919d96c9e0135a1dde8a0d2029b\",\n \"score\": \"0.57534623\",\n \"text\": \"@Override\\n protected void registerProperties() {\\n super.registerProperties();\\n\\n this.registerProperty(ItemSchema.Subject);\\n this.registerProperty(ItemSchema.Body);\\n this.registerProperty(EmailMessageSchema.ToRecipients);\\n this.registerProperty(EmailMessageSchema.CcRecipients);\\n this.registerProperty(EmailMessageSchema.BccRecipients);\\n this.registerProperty(EmailMessageSchema.IsReadReceiptRequested);\\n this.registerProperty(EmailMessageSchema.IsDeliveryReceiptRequested);\\n this.registerProperty(ResponseObjectSchema.ReferenceItemId);\\n this.registerProperty(ResponseObjectSchema.BodyPrefix);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46891032bd2ceb1939988397bc51a105\",\n \"score\": \"0.5621031\",\n \"text\": \"public void addProperties(Properties p){\\n\\t\\tproperties.putAll(p);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74f535ea352ff8da640484205ff0d62a\",\n \"score\": \"0.5519946\",\n \"text\": \"void addProperty(Property property);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e96c40971efa9bcbcfb942094815aaf\",\n \"score\": \"0.5493487\",\n \"text\": \"public void addProperty(String name, String value) \\n {\\n if(properties == null)\\n properties = new Hashtable();\\n properties.put(name, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"517c6758110e1f8cacae80607f5f66ac\",\n \"score\": \"0.5458826\",\n \"text\": \"protected void addProperties(Map props) {\\n properties.putAll(props);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56a6626f46f096a13207c61e191719b8\",\n \"score\": \"0.54329\",\n \"text\": \"void setUserProperties(DtoProperties properties);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c543841b6c518c3c570662a7fa9e7708\",\n \"score\": \"0.5432419\",\n \"text\": \"public void setProperties(Properties in);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b1e61d53c899f2fe36544e25851cbae\",\n \"score\": \"0.54234385\",\n \"text\": \"protected void addUserDefinedPropertyElements(int indentLvl, FieldProperties instProperties, String instName) {\\n\\t\\tif (!instProperties.hasUserDefinedProperties()) return; // done if no external properties\\n\\t\\tPropertyList pList = instProperties.getUserDefinedProperties();\\n\\t\\tfor (String name : pList.getProperties().keySet()) {\\n\\t\\t\\tString value = (pList.getProperty(name) == null)? \\\"\\\" : pList.getProperty(name);\\n\\t\\t\\toutputList.add(new OutputLine(indentLvl, \\\"this.\\\" + instName + \\\".add_def_property(\\\\\\\"\\\" + name + \\\"\\\\\\\", \\\\\\\"\\\" + cleanSysVerString(value) + \\\"\\\\\\\");\\\")); \\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d530e9d9e3b5ad103a21c644bccb4d9\",\n \"score\": \"0.54040277\",\n \"text\": \"protected void addUserDefinedPropertyElements(String parentID, InstanceProperties instProperties, String instName) {\\n\\t\\tif (!instProperties.hasUserDefinedProperties()) return; // done if no external properties\\n\\t\\tPropertyList pList = instProperties.getUserDefinedProperties();\\n\\t\\tfor (String name : pList.getProperties().keySet()) {\\n\\t\\t\\tString value = (pList.getProperty(name) == null)? \\\"\\\" : pList.getProperty(name);\\n\\t\\t\\tsubcompBuildList.addStatement(parentID, \\\" this.\\\" + instName + \\\".add_def_property(\\\\\\\"\\\" + name + \\\"\\\\\\\", \\\\\\\"\\\" + cleanSysVerString(value) + \\\"\\\\\\\");\\\"); \\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"797427b7466ebb976a8415c3c3e3e86c\",\n \"score\": \"0.54007185\",\n \"text\": \"public net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props addNewProps()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props target = null;\\n target = (net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props)get_store().add_element_user(PROPS$6);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aca7137feb7dfdfa46da36ee38d4481\",\n \"score\": \"0.53750294\",\n \"text\": \"private void addImportantProperties() {\\n FxBean beanInfo = getBeanInfo();\\n if (beanInfo == null) {\\n return;\\n }\\n HashSet names = new HashSet();\\n boolean next = false;\\n do {\\n addPropertiesFrom(beanInfo.getDeclareadInfo(), names, next);\\n if (beanInfo.getBuilder() != null) {\\n addPropertiesFrom(beanInfo.getBuilder().getDeclareadInfo(), names, next);\\n }\\n beanInfo = beanInfo.getSuperclassInfo();\\n next = true;\\n } while (beanInfo != null && resultItems.size() < IMPORTANT_PROPERTIES_TRESHOLD);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bee22f5a0175c11f51cac88afe568d97\",\n \"score\": \"0.5352235\",\n \"text\": \"public SimpleMessageProperty(){\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66980fd1db8f5dcb8099c24f58465321\",\n \"score\": \"0.53494865\",\n \"text\": \"protected void addPropNames() { addPropNames(\\\"Source\\\"); super.addPropNames(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc7aa9e34907f33f2c9839b63de9caa9\",\n \"score\": \"0.5349306\",\n \"text\": \"@Override\\r\\n\\tpublic void setProperties(Properties properties) {\\n\\t\\tthis.props=properties;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f1a4e2aad28941796bad56a78b2c3d7\",\n \"score\": \"0.53407663\",\n \"text\": \"public void addProperty(String key, String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9240cb693f4fb56da98bd21c2e40cdf1\",\n \"score\": \"0.52946496\",\n \"text\": \"@Override\\r\\n\\tpublic void setProperties(Properties properties)\\r\\n\\t{\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3544019e0f3b766d5bdcc7dd9142d7c\",\n \"score\": \"0.5291199\",\n \"text\": \"@Override\\n public void setProperties(Properties properties) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"614768a12fc36e99d70234ac823cc8c7\",\n \"score\": \"0.5286681\",\n \"text\": \"@Override\\r\\n\\tpublic void setProperties(Properties properties) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56ee52a53c14fa62273a8eeb1c66aa9e\",\n \"score\": \"0.52575237\",\n \"text\": \"public void setProperties(PropertiesEx properties);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5678e047827af48977882ec4788250cd\",\n \"score\": \"0.5254953\",\n \"text\": \"public void setProperties(String props) {\\n this.properties = props;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bfdaf34a5c49819fae7d70e5ed7d1a6\",\n \"score\": \"0.52237797\",\n \"text\": \"public void setProperties(Properties properties);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2358716fc88f7c84da28d8ea23e11cbb\",\n \"score\": \"0.5209448\",\n \"text\": \"@Override\\r\\n\\tpublic void setProperties(Properties p) {\\n\\t\\tproperties = p;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb126ca19b976730ef3a26fa769176d3\",\n \"score\": \"0.52039886\",\n \"text\": \"void addProperty(String aName, String aValue)\\n {\\n mProperties.put(aName, aValue);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06b4630b87856f86647ac928398aa7e0\",\n \"score\": \"0.5200979\",\n \"text\": \"private void addPropertiesWithID(Connection dbConnection, String userID, Map properties,\\n String profileName) throws UserStoreException {\\n\\n String type;\\n try {\\n type = DatabaseCreator.getDatabaseType(dbConnection);\\n } catch (Exception e) {\\n String msg = \\\"Error occurred while adding user properties for user : \\\" + userID;\\n if (log.isDebugEnabled()) {\\n log.debug(msg, e);\\n }\\n throw new UserStoreException(msg, e);\\n }\\n\\n String sqlStmt = realmConfig.getUserStoreProperty(JDBCRealmConstants.ADD_USER_PROPERTY_WITH_ID + \\\"-\\\" + type);\\n if (sqlStmt == null) {\\n sqlStmt = realmConfig.getUserStoreProperty(JDBCRealmConstants.ADD_USER_PROPERTY_WITH_ID);\\n }\\n if (sqlStmt == null) {\\n throw new UserStoreException(\\\"The sql statement for add user property sql is null\\\");\\n }\\n\\n PreparedStatement prepStmt = null;\\n boolean localConnection = false;\\n\\n try {\\n if (dbConnection == null) {\\n localConnection = true;\\n dbConnection = getDBConnection();\\n }\\n prepStmt = dbConnection.prepareStatement(sqlStmt);\\n\\n Map userAttributes = new HashMap<>();\\n for (Map.Entry entry : properties.entrySet()) {\\n String attributeName = entry.getKey();\\n String attributeValue = entry.getValue();\\n userAttributes.put(attributeName, attributeValue);\\n }\\n\\n for (Map.Entry entry : userAttributes.entrySet()) {\\n String propertyName = entry.getKey();\\n String propertyValue = entry.getValue();\\n if (sqlStmt.contains(UserCoreConstants.UM_TENANT_COLUMN)) {\\n if (UserCoreConstants.OPENEDGE_TYPE.equals(type)) {\\n batchUpdateStringValuesToDatabase(prepStmt, propertyName, propertyValue, profileName, tenantId,\\n userID, tenantId);\\n } else {\\n batchUpdateStringValuesToDatabase(prepStmt, userID, tenantId, propertyName, propertyValue,\\n profileName, tenantId);\\n }\\n } else {\\n batchUpdateStringValuesToDatabase(prepStmt, userID, propertyName, propertyValue, profileName);\\n }\\n }\\n\\n int[] counts = prepStmt.executeBatch();\\n if (log.isDebugEnabled()) {\\n int totalUpdated = 0;\\n if (counts != null) {\\n for (int i : counts) {\\n totalUpdated += i;\\n }\\n }\\n\\n if (totalUpdated == 0) {\\n log.debug(\\\"No rows were updated\\\");\\n }\\n log.debug(\\\"Executed query is \\\" + sqlStmt + \\\" and number of updated rows :: \\\" + totalUpdated);\\n }\\n\\n if (localConnection) {\\n dbConnection.commit();\\n }\\n } catch (SQLException e) {\\n String msg = \\\"Error occurred while updating string values to database.\\\";\\n if (log.isDebugEnabled()) {\\n log.debug(msg, e);\\n }\\n throw new UserStoreException(msg, e);\\n } finally {\\n if (localConnection) {\\n DatabaseUtil.closeAllConnections(dbConnection);\\n }\\n DatabaseUtil.closeAllConnections(null, prepStmt);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3afb282b85f5805aced51f34b5590b3\",\n \"score\": \"0.5170954\",\n \"text\": \"public Htmlmessages.CMsgJSValue.JSObjectProperty.Builder addObjectPropertiesBuilder() {\\n return getObjectPropertiesFieldBuilder().addBuilder(\\n Htmlmessages.CMsgJSValue.JSObjectProperty.getDefaultInstance());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3b8db615e33671ee47d2bacff068427\",\n \"score\": \"0.51637405\",\n \"text\": \"@Override\\n\\tpublic void receiveProperties(Properties prop) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a6aeb4c5611fdc75d45ee9ce1652ca6\",\n \"score\": \"0.5156642\",\n \"text\": \"public void setProperties(String properties) {\\n if (properties != null)\\n this.properties = properties + \\\" \\\";\\n else\\n this.properties = \\\"\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11f0fcae87b2aeaa278371de4b8115f8\",\n \"score\": \"0.5149849\",\n \"text\": \"@JsonAnySetter\\n public void setAdditionalProperty(String name, Object value) {\\n this.additionalProperties.put(name, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11f0fcae87b2aeaa278371de4b8115f8\",\n \"score\": \"0.5149849\",\n \"text\": \"@JsonAnySetter\\n public void setAdditionalProperty(String name, Object value) {\\n this.additionalProperties.put(name, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fda559763546fe1a714af85cd174f9fe\",\n \"score\": \"0.51327366\",\n \"text\": \"public void customizeProperties(Properties properties)\\n{\\n\\t// by default, no customization takes place\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be5dc1ce05468edb1ee64d3fe1a9731c\",\n \"score\": \"0.5131437\",\n \"text\": \"private void addPropertyDefinitions(Enumeration properties, TypeTopic typeTopic, Vector hiddenProperties,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSession session, CorporateDirectives directives) {\\n\\t\\t// ### Note: if no property layout is set, PROPERTY_LAYOUT_SUPER_FIRST is used as default\\n\\t\\t// ### int index = propertyLayout.equals(PROPERTY_LAYOUT_SUB_FIRST) ? propDefinition.size() : 0;\\n\\t\\t// add property definition for every enumerated property\\n\\t\\twhile (properties.hasMoreElements()) {\\n\\t\\t\\tBaseTopic bt = (BaseTopic) properties.nextElement();\\n\\t\\t\\tLiveTopic lt = as.getLiveTopic(bt, session, directives);\\n\\t\\t\\t// ### error check\\n\\t\\t\\tif (!checkProperty(lt, typeTopic)) {\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\t\\t\\t//\\n\\t\\t\\tPropertyTopic property = (PropertyTopic) lt;\\n\\t\\t\\t//\\n\\t\\t\\tproperty.initPropertyDefinition(session, directives);\\n\\t\\t\\t//\\n\\t\\t\\tString fieldName = property.getName();\\n\\t\\t\\tString visualization = hiddenProperties != null && hiddenProperties.contains(fieldName) ?\\n\\t\\t\\t\\tVISUAL_HIDDEN : property.getVisualization();\\n\\t\\t\\t// create property definition\\n\\t\\t\\tPropertyDefinition propDef = new PropertyDefinition(fieldName, property.getDataType(),\\n\\t\\t\\t\\tvisualization, property.getDefaultValue(), property.getEditIconfile(), property.getOptions());\\n\\t\\t\\tpropDef.setOrdinalNr(bt.ordNr);\\n\\t\\t\\t// --- trigger buttonCommand() hook ---\\n\\t\\t\\taddButton(propDef, typeTopic, session);\\n\\t\\t\\t// --- trigger propertyLabel() hook ---\\n\\t\\t\\tsetPropertyLabel(propDef, typeTopic, session);\\n\\t\\t\\t// --- add property definition ---\\n\\t\\t\\taddToTypeDefinition(propDef, typeDefinition);\\n\\t\\t\\taddToTypeDefinition(propDef, propDefinition, propDefinitionTable, propDef.getPropertyName());\\n\\t\\t\\t//\\n\\t\\t\\t// build \\\"ownPropNames\\\"\\n\\t\\t\\tif (typeTopic == this) {\\n\\t\\t\\t\\t// ### System.out.println(\\\">>> TypeTopic.makeTypeDefinition: individual prop for \\\" + getName() + \\\": \\\" + propDef.getPropertyName());\\n\\t\\t\\t\\townPropNames.addElement(propDef.getPropertyName());\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8b2b8c1dc02137a4ec338efa519bf70\",\n \"score\": \"0.5107778\",\n \"text\": \"public void putClientProperty( String property, String value );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b4d7af9ae8ca83f3449ab787851f492\",\n \"score\": \"0.5105494\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void propertyAdded(PropertyManager pm, Property p) {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68f539174620ccc2dc0ca964d9c662ce\",\n \"score\": \"0.50949174\",\n \"text\": \"@Override\\n public GeneralException setPropertyMessageList(Collection messageList) {\\n this.messages = PropertyMessageExUtil.makePropertyMessageList(messageList); // SCIPIO: make property messages\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c39f5bbc92931f1f5a1c6d5ba26207aa\",\n \"score\": \"0.50821054\",\n \"text\": \"T setCustomProperties(Map properties);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6432452b5e70e2105a29997d5e74d608\",\n \"score\": \"0.50675505\",\n \"text\": \"@JsonAnySetter\\n public SyntheticsBasicAuthWeb putAdditionalProperty(String key, Object value) {\\n if (this.additionalProperties == null) {\\n this.additionalProperties = new HashMap();\\n }\\n this.additionalProperties.put(key, value);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9221ff88b3cefa9fd7db13d6c251830f\",\n \"score\": \"0.5066879\",\n \"text\": \"public com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType addNewProperty()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType target = null;\\n target = (com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType)get_store().add_element_user(PROPERTY$0);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"361abe054dd31569004404f7859973f8\",\n \"score\": \"0.5061107\",\n \"text\": \"public synchronized void addProps(String key, InputStream in)\\n throws IOException {\\n Properties newProps = new SystemProperties();\\n newProps.load(in);\\n in.close();\\n\\n if (this.additionalProps == null) {\\n this.additionalProps = new HashMap();\\n }\\n this.additionalProps.put(key, newProps);\\n\\n // fully reload properties and mark as updated\\n reload();\\n this.lastadd = System.currentTimeMillis();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f6649654d8b0aac596d29333a98807f\",\n \"score\": \"0.5057465\",\n \"text\": \"@Override\\n\\tpublic void setProperties(Properties properties) \\n\\t{\\n\\t\\tthis.properties = properties;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af476ab626eedda1a0e3ea4f437c2a5d\",\n \"score\": \"0.504391\",\n \"text\": \"@Override\\n\\tpublic void setProperty(String key, String value) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dfaaa05a7e41dc9cdbfe97a15f918c0\",\n \"score\": \"0.50438815\",\n \"text\": \"private void setProperties() {\\r\\n setEnabled(graph.getUndoManager().canUndo());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9de65179a032721824ceee38f4d7a3cd\",\n \"score\": \"0.50394106\",\n \"text\": \"public void setProperties(com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties properties) {\\r\\n synchronized (monitor()) {\\r\\n check_orphaned();\\r\\n com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties target = null;\\r\\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().find_element_user(\\r\\n PROPERTIES$0,\\r\\n 0);\\r\\n if (target == null) {\\r\\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().add_element_user(\\r\\n PROPERTIES$0);\\r\\n }\\r\\n target.set(properties);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85da03ca654d95d1293b8288428f6ae3\",\n \"score\": \"0.50184655\",\n \"text\": \"void setProperties(Properties properties)\\n\\t{\\n\\t\\tthis.properties = properties;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d313f57ed53d6146e597132582b28778\",\n \"score\": \"0.50163716\",\n \"text\": \"void addMetaBeanProperty(MetaBeanProperty metaBeanProperty);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f657f5afdee7f63955d6c9e212aa3336\",\n \"score\": \"0.5012229\",\n \"text\": \"public Configuration addProperties(Properties extraProperties) {\\n \\t\\tthis.properties.putAll( extraProperties );\\n \\t\\treturn this;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f657f5afdee7f63955d6c9e212aa3336\",\n \"score\": \"0.5012229\",\n \"text\": \"public Configuration addProperties(Properties extraProperties) {\\n \\t\\tthis.properties.putAll( extraProperties );\\n \\t\\treturn this;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bdf4c7badf921abf4ebba28bf45629e\",\n \"score\": \"0.4996949\",\n \"text\": \"public BuildInfoMavenBuilder addProperty(Object key, Object value) {\\n super.addProperty(key, value);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fe3f6ccb967a8bcee9106fbbd56b684\",\n \"score\": \"0.4989913\",\n \"text\": \"@Override\\r\\n\\tpublic void properties() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f66132f7edef6d2284bfe04b78193433\",\n \"score\": \"0.49816406\",\n \"text\": \"protected void setAbstractCrosswordProperties(final Map properties) {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97a7477a2a4e301e46cc030e0dcff3e4\",\n \"score\": \"0.49765176\",\n \"text\": \"@Override\\n public void setProperty(String arg0, String arg1) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc6f316e284b0a3e786f038f1f08bb11\",\n \"score\": \"0.49754363\",\n \"text\": \"public void initProperties() {\\n\\t\\tsuper.initProperties();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76de856a87bc3e49e0a4d3a19919ca50\",\n \"score\": \"0.4972848\",\n \"text\": \"public void registerSuperProperties(Map properties) {\\n if (Config.IS_LOG_ENABLE) {\\n log.info(\\\"RegisterSuperProperties(countly-sdk-java): \\\\n properties=\\\" + properties);\\n }\\n for (Map.Entry item : properties.entrySet()) {\\n superProperties.put(item.getKey(), item.getValue());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32cad0fe53a6415c3ef94dff9eb16393\",\n \"score\": \"0.49710962\",\n \"text\": \"public boolean setProperties(Properties props) {\\n String str;\\n\\n str=props.getProperty(\\\"print_msg\\\");\\n if(str != null) {\\n print_msg=new Boolean(str).booleanValue();\\n props.remove(\\\"print_msg\\\");\\n }\\n\\n str=props.getProperty(\\\"min_size\\\");\\n if(str != null) {\\n min_size=Integer.parseInt(str);\\n props.remove(\\\"min_size\\\");\\n }\\n\\n if(props.size() > 0) {\\n System.err.println(\\\"SIZE.setProperties(): the following properties are not recognized:\\\");\\n props.list(System.out);\\n return false;\\n }\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b68b29a6736f3a6b0bc6a36b7b6a897b\",\n \"score\": \"0.496809\",\n \"text\": \"public void addProp(int playerID,int propID){\\n // gives a property to a player\\n\\n \\n\\n int prevOwner = findOwner(propID);\\n if(prevOwner == playerID){\\n // do nothing, person already owns it\\n return;\\n } else if (prevOwner != -1){\\n // take this property away from whoever used to own it\\n this.removeProp(propID);\\n }\\n // pass on the request to the player with the corresponding jsonData\\n _players[playerID].addProp(propID,_data[propID]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b55e0bf9dcc5b0a966f55dd8c8c1fec9\",\n \"score\": \"0.4965737\",\n \"text\": \"public void addProperty(PropertyMeta property)\\n {\\n _properties.put(property.getName(), property);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b275d42839d31e6d41cfed54c1fdd92\",\n \"score\": \"0.4964668\",\n \"text\": \"public void setProperties(Properties properties) {\\n this.properties = properties;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86c039d08e257c23e02174958e5a96d6\",\n \"score\": \"0.49627957\",\n \"text\": \"@Override\\n public void newProperties(PropertySheet ps) throws PropertyException {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eeeed81f56eeee5c79633af5b0cdcb24\",\n \"score\": \"0.49592778\",\n \"text\": \"Property setProperty(String name, Object val);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c15a5a40547ae4de3cedbb215bbb9701\",\n \"score\": \"0.49533325\",\n \"text\": \"Schema getAdditonalProperties();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52d0c368934ac4b0e2e0fde32fcc7ae7\",\n \"score\": \"0.49518472\",\n \"text\": \"public void setProps (Prop props)\\n {\\n this.props = props;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e366f59bf0dca66d88c11a4710b9316f\",\n \"score\": \"0.4946719\",\n \"text\": \"void addPropertySet(PropertySet propertySet);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"786c1bc261e62d0ebb3199447e141c06\",\n \"score\": \"0.49463165\",\n \"text\": \"public NotificationDispatcherMetadata setProperty(String key, String value) {\\n properties.put(key, value);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fb8ee589b339e33b204955e7a4b221b\",\n \"score\": \"0.49413255\",\n \"text\": \"public void addProp()\\n {\\n propTimer = new Timeline(new KeyFrame(Duration.millis(5), e->\\n {\\n updateProp();\\n updatePellet();\\n }\\n ));\\n propTimer.setCycleCount(Animation.INDEFINITE);\\n propTimer.setRate(propSpeed);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d761e5d027e153097fe2113173ddb783\",\n \"score\": \"0.49380055\",\n \"text\": \"public void setProperty(String newProperty) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1bae5159a9591c6eda0843e428bb444\",\n \"score\": \"0.4929312\",\n \"text\": \"public boolean usesUserProperties()\\n {\\n return dictionary.getBoolean( \\\"UserProperties\\\", false );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92fdee6662394cd30b306dbebc826221\",\n \"score\": \"0.48920512\",\n \"text\": \"void setProperty(String name, String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f519d8b54fddecb071b8f3c36be9ef4\",\n \"score\": \"0.48707423\",\n \"text\": \"public Builder addObjectProperties(Htmlmessages.CMsgJSValue.JSObjectProperty value) {\\n if (objectPropertiesBuilder_ == null) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n ensureObjectPropertiesIsMutable();\\n objectProperties_.add(value);\\n onChanged();\\n } else {\\n objectPropertiesBuilder_.addMessage(value);\\n }\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7040ab4af34dc688c7a9b421e6129d23\",\n \"score\": \"0.48699006\",\n \"text\": \"T addCustomProperty(@Nonnull String key, @Nonnull String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c1f6807f5d448652623720324ae6923\",\n \"score\": \"0.48674044\",\n \"text\": \"public void addProperties(Map parentProps)\\n {\\n // only add those new properties for which we\\n // do not already have a value. first prop set wins.\\n Map properties = getProps();\\n for (Map.Entry prop : parentProps.entrySet())\\n {\\n if (!properties.containsKey(prop.getKey()))\\n {\\n properties.put(prop.getKey(), prop.getValue());\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a1831821942802cbbe8aa7b04b20093\",\n \"score\": \"0.48637572\",\n \"text\": \"@PUT\\n \\t@Path(\\\"/job/{jobname}/property/\\\")\\n \\t@RolesAllowed(\\\"User\\\")\\n \\tvoid addJobProperties(@PathParam(\\\"jobname\\\") String jobname,\\n \\t\\t\\t@QueryParam(\\\"properties\\\") DtoJob properties)\\n \\t\\t\\t\\t\\tthrows NoSuchJobException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa8fd31e3f97c1857f2e92838be12822\",\n \"score\": \"0.4863315\",\n \"text\": \"@Override\\n public final void afterPropertiesSet() throws Exception {\\n Assert.notNull(this.userCache, \\\"A user cache must be set\\\");\\n Assert.notNull(this.messages, \\\"A message source must be set\\\");\\n doAfterPropertiesSet();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebf6669251b6f106939fcfa28428e13e\",\n \"score\": \"0.48596653\",\n \"text\": \"public void setPeerProperties(Hashtable properties){ //this method is called from FedMeteorDrtsPeer\\r\\n peerProperties=properties;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c05e0f1d1d279c0e57321de9a1512d0e\",\n \"score\": \"0.48514226\",\n \"text\": \"private void addProperties(String pluginName)\\n throws IOException\\n {\\n // see if the velocity properties exist for the current plugin\\n URL propertiesUri =\\n ResourceUtils.getResource(PROPERTIES_DIR + StringUtils.trimToEmpty(pluginName) + PROPERTIES_SUFFIX);\\n\\n if (propertiesUri != null)\\n {\\n if (logger.isDebugEnabled())\\n {\\n logger.debug(\\\"loading properties from --> '\\\" + propertiesUri + '\\\\'');\\n }\\n\\n Properties properties = new Properties();\\n properties.load(propertiesUri.openStream());\\n\\n for (Map.Entry entry : properties.entrySet())\\n {\\n final String property = (String) entry.getKey();\\n final String value = (String)entry.getValue();\\n if (logger.isDebugEnabled())\\n {\\n logger.debug(\\\"setting property '\\\" + property + \\\"' with --> '\\\" + value + '\\\\'');\\n }\\n this.velocityEngine.setProperty(property, value);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"769cefe4441eee0bc70982bd03567109\",\n \"score\": \"0.48483962\",\n \"text\": \"Properties createProperties();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a75742b98c20ae34d38412d8f8ccd23f\",\n \"score\": \"0.48436436\",\n \"text\": \"public void setProperties(long value1)\\n // -end- 394746C20200 set_head3940EE310270 \\\"properties\\\"\\n {\\n // -beg- preserve=no 394746C20200 set_body3940EE310270 \\\"properties\\\"\\n if(properties != value1){\\n properties = value1;\\n ch.ehi.uml1_4.changepropagation.MetaModel.getInstance().notifyChange(new ch.ehi.uml1_4.changepropagation.MetaModelChange(this,\\\"setProperties\\\"));\\n }\\n // -end- 394746C20200 set_body3940EE310270 \\\"properties\\\"\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"571ad0fc401924b717afff5329ff33e1\",\n \"score\": \"0.48424426\",\n \"text\": \"public void addProperty(String key, String value) {\\n if (properties == null) {\\n properties = new HashMap<>();\\n }\\n properties.put(key, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bda9ffaf9c7f4d9d90f0fcf594c6980\",\n \"score\": \"0.48362723\",\n \"text\": \"public PropertyRequest addProperty(ElementDescriptor property)\\n {\\n if (mProp == null)\\n {\\n mProp = new HashMap, Object>(16);\\n }\\n mProp.put(property, null);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd79cb08b226fcce067c71b1c91ab1ef\",\n \"score\": \"0.4834019\",\n \"text\": \"@Override\\n public GeneralException setPropertyMessage(PropertyMessage propertyMessage) {\\n this.propertyMessage = propertyMessage;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0ce5c7ddf51e76cbbfe7da10a945796\",\n \"score\": \"0.48319334\",\n \"text\": \"protected void addPropertiesTo(DataAdaptor container) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"396a4a962eb6c57e5121cd3dc029cb6c\",\n \"score\": \"0.4831444\",\n \"text\": \"protected final void addSettings(Property... props) {\\n for(final Property prop : props) {\\n properties.add(new ModProperty(prop));\\n addCommand(CommandBuilder.create()\\n .setProperty(prop)\\n .setProcessor(options -> {\\n List args = options.nonOptionArguments();\\n if(args.size() > 0) {\\n // easier to deal with if its always a string\\n String arg = PropertyTypeConverter.getConvertedString(prop, String.valueOf(args.get(0)));\\n // save old value\\n String old = prop.getString();\\n if(!Objects.equal(arg, old)) {\\n // set\\n prop.set(arg);\\n // inform client there has been changes\\n printMessage(String.format(\\\"Set '%s' from '%s' to '%s'\\\",\\n CommandLine.toUniqueId(getModName(), prop.getName()),\\n Objects.firstNonNull(old, \\\"\\\"),\\n Objects.firstNonNull(prop.getString(), \\\"\\\")\\n ));\\n return true; // success, call callbacks\\n }\\n } else {\\n printMessage(String.format(\\\"%s = %s\\\",\\n CommandLine.toUniqueId(getModName(), prop.getName()),\\n Objects.firstNonNull(prop.getString(), \\\"\\\")\\n ));\\n }\\n return false; // nothing changed, dont call callbacks\\n })\\n .addCallback(command -> {\\n update();\\n MOD.getConfig().save();\\n })\\n .build()\\n );\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"244872ca6f3758c4e25f6940619b0bbe\",\n \"score\": \"0.48298886\",\n \"text\": \"public interface UserProperties {\\n\\n\\t/**\\n\\t * Get user property.\\n\\t * \\n\\t * @param key\\n\\t * property name\\n\\t * @return property or null if property isn't set.\\n\\t */\\n\\t T getUserProperty(String key);\\n\\n\\t/**\\n\\t * Set user property.\\n\\t * \\n\\t * @param key\\n\\t * property name\\n\\t * @param value\\n\\t * property value. null to unset property\\n\\t * \\n\\t * @return instance of this {@linkplain UserProperties}\\n\\t */\\n\\tUserProperties setUserProperty(String key, Object value);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99fab9a242b6b4814fc3a4180ad2563b\",\n \"score\": \"0.48281103\",\n \"text\": \"void setProperty(String propertyName, Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89450fdd95f47c4a57560d9485a49010\",\n \"score\": \"0.48216316\",\n \"text\": \"public void setProperties(ArrayList properties) {\\n this.properties = properties;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47612e8a3f526004780dd526708a95c6\",\n \"score\": \"0.48201758\",\n \"text\": \"public void setProperties(Properties p)\\n\\t{\\n\\t\\t_p=p;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63a11adc4b79d99a7d26773fad8cc0c6\",\n \"score\": \"0.48149326\",\n \"text\": \"public void setProperties(List theProps)\\n {\\n while (getPropertyCount() > 0) removeProperty(0);\\n for (Property prop : theProps) addProperty(prop);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6fddcc58d48f312c86c8d3dc9cf7445\",\n \"score\": \"0.481453\",\n \"text\": \"private void addProperty(String attributeName, Map> properties, Attribute att) {\\n if (!properties.containsKey(attributeName)) {\\n List a = new ArrayList<>();\\n a.add(att);\\n properties.put(attributeName, a);\\n } else {\\n properties.get(attributeName).add(att);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a59d5d282d123d476380cb322e49eeb\",\n \"score\": \"0.48132095\",\n \"text\": \"private void setProp() {\\n\\t\\tthis.setCardOwnerName(this.xpay.getCustomerName());\\n\\t\\tthis.setCustCardNo(this.xpay.getCreditCardNo());\\n\\t\\tthis.setCardExpMonthDate(this.xpay.getCardExpMonth() +\\\"/\\\"+ this.xpay.getCardExpYear());\\n\\t\\tthis.setCVVNo(this.xpay.getCardCVVNo().intValue());\\n\\t\\tthis.setTotalAmount(this.xpay.getAmount());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc0a9c0e07b53a6cd6cd07388f365339\",\n \"score\": \"0.48045826\",\n \"text\": \"public void loadAdditionallProperties(Properties testProp) {\\n\\t\\t// TODO Auto-generated method stub\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f66d782e7f752365a2a2103bb1d38e0a\",\n \"score\": \"0.48023057\",\n \"text\": \"public void setProperty(Property property);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b89b2360ba7ad33a18c3dad24e2310f6\",\n \"score\": \"0.48011878\",\n \"text\": \"public void setProperties(Dictionary properties);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8847b0095cb985e45bbf66a08d3287d6\",\n \"score\": \"0.47985524\",\n \"text\": \"public void addDirectProperty(String key, String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"665dec019c5f99b660b1d44aa591491e\",\n \"score\": \"0.47878528\",\n \"text\": \"public void setProperty(String key, Object value) {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d5092baea794904ba77e0f503ddadb3\",\n \"score\": \"0.47849524\",\n \"text\": \"@JsonAnySetter\\n public SLOCorrectionResponseAttributes putAdditionalProperty(String key, Object value) {\\n if (this.additionalProperties == null) {\\n this.additionalProperties = new HashMap();\\n }\\n this.additionalProperties.put(key, value);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"278098899ec17ee6e10eaafbb3ea7d7b\",\n \"score\": \"0.47815886\",\n \"text\": \"@Override\\n\\tpublic void onUserChangeRoomProperty (\\n RoomData roomData,\\n String userName,\\n HashMap properties,\\n HashMap lockProperties) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7eb48542c48fc1b26b10ed8dd7d8b17\",\n \"score\": \"0.4779107\",\n \"text\": \"public synchronized void addProperties(\\n final String name,\\n final Properties properties\\n ) throws RootPropertiesDoesNotContainsKeyException\\n {\\n check(properties);\\n this.childProperties.put( name, properties );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c10b1e8c4ba7bf63560e2bda3de42aa8\",\n \"score\": \"0.47783065\",\n \"text\": \"private void addToProperties(Properties tbl, String fieldNames, String fieldTypes) {\\n tbl.setProperty(serdeConstants.SERIALIZATION_FORMAT, \\\"9\\\");\\n\\n tbl.setProperty(\\\"columns\\\", fieldNames);\\n tbl.setProperty(\\\"columns.types\\\", fieldTypes);\\n\\n tbl.setProperty(serdeConstants.SERIALIZATION_NULL_FORMAT, \\\"NULL\\\");\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":878,"cells":{"query_id":{"kind":"string","value":"910aaa701312929e1f7dec7179309bce"},"query":{"kind":"string","value":"Removes the association, if any, between a client and a view process. This may allow the view process to be terminated and removed."},"positive_passages":{"kind":"list like","value":[{"docid":"63a2813b0b0076dd000c5d2852906d07","score":"0.64560664","text":"public void detachClientFromViewProcess(final UniqueId clientId) {\n ArgumentChecker.notNull(clientId, \"clientId\");\n _processLock.lock();\n try {\n final Pair processAttachment = _clientToProcess.remove(clientId);\n if (processAttachment == null) {\n return;\n }\n final ViewProcessImpl process = processAttachment.getFirst();\n final ViewResultListener listener = processAttachment.getSecond();\n process.detachListener(listener);\n\n removeViewProcessIfUnused(process);\n } finally {\n _processLock.unlock();\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"63a2813b0b0076dd000c5d2852906d07\",\n \"score\": \"0.64560664\",\n \"text\": \"public void detachClientFromViewProcess(final UniqueId clientId) {\\n ArgumentChecker.notNull(clientId, \\\"clientId\\\");\\n _processLock.lock();\\n try {\\n final Pair processAttachment = _clientToProcess.remove(clientId);\\n if (processAttachment == null) {\\n return;\\n }\\n final ViewProcessImpl process = processAttachment.getFirst();\\n final ViewResultListener listener = processAttachment.getSecond();\\n process.detachListener(listener);\\n\\n removeViewProcessIfUnused(process);\\n } finally {\\n _processLock.unlock();\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ef25561586a2ca8fc1cb8aaac10794cd","score":"0.6095138","text":"public void removeView(GraphItemView view) {\n\t\trecoverableItems.add(view);\n\t\tview.delete();\n\n\t\tif (view instanceof VertexView){\n\t\t\tEnumeration edges = ((VertexView)view).getEdges();\n\t\t\tVector edgesToBeRemoved = new Vector(10, 10);\n\t\t\twhile (edges.hasMoreElements()) {\n\t\t\t\tedgesToBeRemoved.add(edges.nextElement());\t\t\t\n\t\t\t}\n\t\t\tfor (EdgeView e:edgesToBeRemoved)\n\t\t\t\tremoveEdgeAndView(e);\n\t\t\tvertexItems.remove(view);\n\t\t}\n\t\t\t\n\t\telse if (view instanceof EdgeView){\n\t\t\t((EdgeView)view).getOrigin().removeEdge(((EdgeView)view));\n\t\t\t((EdgeView)view).getDestination().removeEdge(((EdgeView)view));\n\t\t\t((EdgeView)view).getOrigin().getVertex().unlink(((EdgeView)view).getDestination().getVertex());\n\t\t\tedgeItems.remove(view);\n\t\t}\n\t}","title":""},{"docid":"8abf8cced3a42eb0d6533d7699483ffe","score":"0.5424354","text":"public void deleteRoute(View view) {\r\n\t\tprogress.show();\r\n\t\tDatabaseInteractor.endRoute(this, PreferenceData.getUserId(this), displayedRoute.getId());\r\n\t}","title":""},{"docid":"e2bdc81bace9aed17efbd03ef63ad759","score":"0.5390436","text":"public void removeViewClient(final UniqueId clientId) {\n ArgumentChecker.notNull(clientId, \"clientId\");\n checkIdScheme(clientId, CLIENT_SCHEME);\n LOGGER.info(\"Removing view client {}\", clientId);\n final ViewClient client = _allClientsById.remove(clientId);\n if (client == null) {\n throw new DataNotFoundException(\"View client not found: \" + clientId);\n }\n detachClientFromViewProcess(clientId);\n _viewProcessorEventListenerRegistry.notifyViewClientRemoved(clientId);\n }","title":""},{"docid":"235d2ca702ab796397b195068c375433","score":"0.53679216","text":"void removeProcess(SimulatedProcess p) {\n processControlBlock.remove(p.processNumber());\n }","title":""},{"docid":"e1e3b26d2d2416125095335e9f409f13","score":"0.53434265","text":"public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgManipulatorListenerRefPtr(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }","title":""},{"docid":"fbad4e43a95d833f8fff18680079ca9d","score":"0.53144145","text":"public void remove(IntraClient aClient) {\n/* 372 */ this.done = true;\n/* */ }","title":""},{"docid":"2a45e0a65d46276c26567a83491cd4b8","score":"0.5234619","text":"public void dropAssociation()\r\n {\r\n io.outputString(\"Dropping a new Doctor-Patient Association...\");\r\n io.outputString(\"Getting Patient information...\");\r\n String healthNumber = io.readString(\"Enter the health number of the patient: \");\r\n\r\n Patient p = patients.get(healthNumber);\r\n if (p == null)\r\n throw new NoSuchElementException(\"There is no patient with health number \"\r\n + healthNumber);\r\n\r\n io.outputString(\"Getting Doctor information...\");\r\n String name = io.readString(\"Enter the name of the doctor: \");\r\n\r\n Doctor d = doctors.get(name);\r\n if (d == null)\r\n throw new NoSuchElementException(\"There is no doctor with name \" + name);\r\n\r\n String pHealthNumber = p.getHealthNumber();\r\n if (!d.hasPatient(pHealthNumber))\r\n throw new IllegalStateException(\"This doctor is not associated with this patient.\");\r\n if (!p.hasDoctor(name))\r\n throw new IllegalStateException(\"This doctor and this patient are incorrectly \"\r\n + \"associated. The doctor has the patient, \"\r\n + \"but the patient does not have the doctor\");\r\n\r\n p.removeDoctor(name);\r\n d.removePatient(healthNumber);\r\n }","title":""},{"docid":"b8b0d5738bcfafa2f264b2084fdc1d0f","score":"0.52200806","text":"public void sendRemove(PID pid);","title":""},{"docid":"bde3cf58767eaab9f05ffa4aeaf73512","score":"0.52160066","text":"@Override\n\tpublic void removeView(IView view) {\n\t\t\n\t}","title":""},{"docid":"ffd1a7fcd95b01d245f9207986954517","score":"0.51868844","text":"public void doRemove() {\n super.doRemove();\n if (sequenceManager != null) {\n sequenceManager.clearSequence();\n }\n sequenceManager = null;\n }","title":""},{"docid":"cd55c00b5cfc5e40246fb995bd15e83a","score":"0.5159932","text":"public void shutdownViewProcess(final UniqueId viewProcessId) {\n final ViewProcessImpl viewProcess = getViewProcess(viewProcessId);\n shutdownViewProcess(viewProcess);\n }","title":""},{"docid":"983bb34e014df5205ab6590319683a5f","score":"0.51560396","text":"public void remove() {\n this.polyline.remove();\n }","title":""},{"docid":"03b80f8d7650ca6051fefea37fceb024","score":"0.5130186","text":"public abstract void onRemoveAssociation(String association, GenericArtifact source,\n GenericArtifact target) throws GovernanceException;","title":""},{"docid":"892f0a8b94df3403608effe2f253f064","score":"0.5099924","text":"public void unregisterProcess(Process process) {\n \n processes.remove(process);\n }","title":""},{"docid":"461d4e5059427ca90e09b8ba13340d55","score":"0.509554","text":"public void removeGraphItemAndView(GraphItemView itemView) {\n\t\tif (itemView == null) return;\n\t\tif (itemView instanceof VertexView) removeVertexAndView((VertexView) itemView);\n\t\telse if (itemView instanceof EdgeView) removeEdgeAndView((EdgeView) itemView);\n\t}","title":""},{"docid":"b89a1ebd2b9ab50b3ccbc60b10b0f547","score":"0.50889665","text":"void removeProcessFromMemory(Integer ID);","title":""},{"docid":"e8198b0c20dc51d877f0204cb6398a38","score":"0.50756425","text":"public void remove() {\n\t\ttry {\n\t\t\t// first remove all local properties\n\t\t\tPropertyFacade.removeLocalProperties(dto.getUserId(), dto.getRunId());\n\n\t\t\t// next remove role particiations\n\t\t\tCollection rps = RoleParticipation.findByUser(User.findByPrimaryKey(dto.getUserId()), Run\n\t\t\t\t\t.findByPrimaryKey(dto.getRunId()));\n\t\t\tIterator iter = rps.iterator();\n\t\t\twhile (iter.hasNext()) {\n\t\t\t\tRoleParticipation rp = (RoleParticipation) iter.next();\n\t\t\t\trp.remove();\n\t\t\t}\n\n\t\t\t// Now remove this run participation\n\t\t\tRunParticipationEntityPK pk = new RunParticipationEntityPK(dto.getRunId(), dto.getUserId());\n\t\t\tRunParticipationEntityHome rpHome = getRunParticipationHome();\n\t\t\tRunParticipationEntity rp = rpHome.findByPrimaryKey(pk);\n\t\t\trp.remove();\n\n\t\t\tComponentFactory.getPropertyFactory().clearCache();\n\n\t\t} catch (Exception ex) {\n\t\t\tthrow new EJBException(ex);\n\t\t}\n\t}","title":""},{"docid":"df71ba931f626678690204ee13611e63","score":"0.5049702","text":"void removePersonUD()\n {\n //One-way link from Group to Person.\n this.person = null;\n }","title":""},{"docid":"e05c18cb3de12fb3e4fdf364693bfe6e","score":"0.50465304","text":"public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgIResourceRequestRefPtr(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }","title":""},{"docid":"32f9d0b336118cdb5c6962011d5408e5","score":"0.50307304","text":"public void detachView() {\n\t}","title":""},{"docid":"715784ec7f6f03b3e483ee3eed4c1ef5","score":"0.5030236","text":"AMFICOMClient remove(AccessIdentity_Transferable key)\n\t\t\tthrows AMFICOMRemoteException;","title":""},{"docid":"ea86f0cc98dacd1a37bb0d13d8ec8d8f","score":"0.5015248","text":"public void delete() {\n try {\n Task task = vm.destroy_Task();\n task.waitForTask();\n } catch (ManagedObjectNotFound e) {\n // the vm has been deleted manually.\n // skip this error to let wp remove\n // the VM record.\n if (vm.getMOR().equals(e.getObj())) {\n log.info(\"VM not found, skip destroyVM().\");\n return;\n }\n throw new WorkpoolException(e);\n } catch (RemoteException e) {\n throw new WorkpoolException(e);\n } catch (InterruptedException e) {\n throw new WorkpoolException(e);\n }\n }","title":""},{"docid":"ed0d3a7ad8026b98dc6017f272ff0b59","score":"0.50095505","text":"@SuppressWarnings(\"unused\")\n\t@PreDestroy\n\tprivate void destroyViews() {\n\t\tthreadFelixRepositoryAdminService.set(null);\n\t\tthreadObrRepositoryAdminService.set(null);\n\t\tthreadBundleContextService.set(null);\n\t\t\n\t}","title":""},{"docid":"4ee75157a0d29b2df14decca1c910179","score":"0.4997955","text":"public void removeConversationId() {\n jenaModel.removeAll(metadataInstance, jenaModel.createProperty(MESSAGEMETADATA.ConversationId), null);\n }","title":""},{"docid":"a7b9e0910a12debb82c6f697fa8220be","score":"0.49945962","text":"public void del(View view) {\n AccountManager am = AccountManager.get(this);\n Account[] accounts = am.getAccounts();\n if (accounts.length > 0) {\n Account accountToRemove = accounts[0];\n am.removeAccount(accountToRemove, null, null);\n }\n }","title":""},{"docid":"1509ee9283c27f62ba0745a94501d712","score":"0.49889243","text":"public void removeAppointment() {\n\t}","title":""},{"docid":"87af2cc6f5924155f341e81a43195e44","score":"0.498225","text":"void secondaryRemoveRepiters(com.hps.july.persistence.Repiter aRepiters) throws java.rmi.RemoteException;","title":""},{"docid":"8f6990578653b0c13146f8c10f5db5fa","score":"0.4976601","text":"@Override\n public void onDelete(int pid, String key) {\n final MirrorCacheParcelable p = mirrorCache.remove(key);\n if (p != null) {\n\n if (pid != SHUNT_PID) {\n p.onDelete(); //notify individual instance listeners\n MirrorCache.this.onDelete(p.payloadObject);\n }\n\n p.payloadObject = null;\n }\n }","title":""},{"docid":"0a17c374fe10579800716905cfd8fb6a","score":"0.4968248","text":"public void removeClientId() {\n jenaModel.removeAll(metadataInstance, jenaModel.createProperty(MESSAGEMETADATA.ClientId), null);\n }","title":""},{"docid":"eb6359e3875f1568daa0fb1170fd32b9","score":"0.496557","text":"public void removeRelationship(MainActivity callingActivity){\n Toast.makeText(callingActivity, \"You are no longer paired with \"+\n callingActivity.relationship.partnerTwoName, Toast.LENGTH_LONG).show();\n\n ended = true;\n\n if (listenerForBreakup!=null)\n ref.removeEventListener(listenerForBreakup);\n\n Firebase root = new Firebase(\"https://dazzling-inferno-7112.firebaseio.com/relationships\");\n root.child(callingActivity.relationship.rel_id).setValue(null);\n //callingActivity.myCustomAdapter.removeRelationship();\n callingActivity.relationship.partnerTwoName = null;\n callingActivity.relationship.partnerTwoEmail = null;\n Intent intent = new Intent(callingActivity, SignInActivity.class);\n callingActivity.stopService(callingActivity.backgroundIntent);\n callingActivity.startActivity(intent);\n callingActivity.finish();\n }","title":""},{"docid":"f8089aa8c46866779aa628f50f5176e2","score":"0.49617642","text":"private void removeUndeployedViews() {\n for (ViewEntity viewEntity : viewDAO.findAll()) {\n String name = viewEntity.getName();\n if (!ViewRegistry.getInstance().viewDefinitions.containsKey(name)) {\n try {\n viewDAO.remove(viewEntity);\n } catch (Exception e) {\n LOG.error(\"Caught exception undeploying view \" + viewEntity.getName(), e);\n }\n }\n }\n }","title":""},{"docid":"d1bb715323ea9b298841187c6a902f16","score":"0.4956852","text":"public void updateMyViewRemove(Peer p) {\n\n\t\tknowledge.get(0).updateViewRemove(p);\n\t\tknowledge.get(0).setClock(knowledge.get(0).getClock() + 1);\n\n\t}","title":""},{"docid":"5bdeab70e1a721ed30fa40118182d6e7","score":"0.49559155","text":"public void remove(ViewI view) {\n boolean found = false;\n if (views.contains(view)) {\n views.removeElement(view);\n found = true;\n }\n if (linearViews.contains(view)) {\n linearViews.removeElement(view);\n }\n if (pickViews.contains(view)) {\n pickViews.removeElement(view);\n }\n if (layout_manager != null) {\n layout_manager.removeLayoutView(view);\n }\n if (found) {\n invalidate();\n validate();\n }\n }","title":""},{"docid":"95d88006c374254d964ede72f18c0c93","score":"0.49465063","text":"public void removeEdgeAndView(EdgeView edgeView) {\n\t\tundoStack.addUndoInfo(new RemoveGraphItemEdit(edgeView, this));\n\t\tremoveView(edgeView);\n\t}","title":""},{"docid":"ae3d3d78e3c96be713be04156240f830","score":"0.4945796","text":"public void unlink(){\r\n\t\tuser._getCommentVoters().remove( this );\r\n\t\t((Comment)comment)._getCommentVoters().remove( this );\r\n\t\t\r\n\t\tuser = null;\r\n\t\tcomment = null;\r\n\t}","title":""},{"docid":"9d19c787de0824a990a343b789221adb","score":"0.4943239","text":"void cleanUp() {\n ProcessReference reference;\n while ((reference = referenceQueue.poll()) != null) {\n synchronized (processReferences) {\n processReferences.remove(reference.processId);\n }\n }\n }","title":""},{"docid":"efe420bb60484c51e7299e2646ebe837","score":"0.49431255","text":"@Override\r\n\tpublic void deleteProcessInstances(final Set processIds) {\r\n\r\n\t}","title":""},{"docid":"83d596ebbab62c9c7ad3c5df56ab6e16","score":"0.49349162","text":"public void removeAppointment(String cId){\n Appointment appointment = getAppointment(cId);\n appointments.remove(appointment);\n}","title":""},{"docid":"f2352dd5ef47eec59f1b12256f60d373","score":"0.49281737","text":"@Override\n\tpublic void delete(AsesoriaPorMesP app) {\n\t\taspmpr.delete(app);\n\t}","title":""},{"docid":"b6ce1d2f1c703d37f1d603b76f3d94d4","score":"0.49242085","text":"public void handleRemoveAssocPart() {\n Part currentPart = assocPartsTable.getSelectionModel().getSelectedItem();\n newProduct.deleteAssociatedPart(currentPart);\n Alert confirm = new Alert(Alert.AlertType.INFORMATION);\n confirm.setHeaderText(\"Removed\");\n confirm.setContentText(currentPart.getName() + \" has been removed.\");\n confirm.show();\n }","title":""},{"docid":"521610979c7f1b3741266b06ad5d6855","score":"0.49149388","text":"public void removeGStrucutureRelation(String serviceProviderCode, StructureModel structureROC1,\r\n\t\t\tStructureModel structureROC2, String callerID) throws RemoteException, AAException;","title":""},{"docid":"2dc54092ccf44f1599ac98285f7ec0f4","score":"0.49116254","text":"synchronized public void remove(ServerSideClientIO serverSideClientToRemove) {\n serverSideClientIOList.remove(serverSideClientToRemove);\n }","title":""},{"docid":"8b313050d9a0a281766ad4bb4893e2cf","score":"0.49048412","text":"void destroyLink() {\n CAMQPControlDetach data = new CAMQPControlDetach();\n data.setClosed(true);\n data.setHandle(linkHandle);\n linkStateActor.sendDetach(data);\n linkStateActor.waitForDetached(targetAddress);\n }","title":""},{"docid":"f1065bff4c4696fae8d0131bdbd16a0a","score":"0.49014905","text":"public void removeCollidable(Collidable c) {\r\n this.environment.removeCollidable(c);\r\n }","title":""},{"docid":"a02d833da4106d9a19b5a75471684fac","score":"0.49012932","text":"void processCollectionDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex);","title":""},{"docid":"848eb0298a9303c30ed143ad090023f0","score":"0.4888951","text":"@Override\n\tpublic void deleteModuleView() {\n\t\tthis.controller.removeModuleView(this);\n\t}","title":""},{"docid":"09a664e44c2a4e268e1285e46651da66","score":"0.48828006","text":"public void destroy()\r\n {\r\n this.vector=null;\r\n \r\n try\r\n {\r\n _poa().deactivate_object( _object_id() );\r\n }\r\n catch ( Exception ex )\r\n { \r\n ex.printStackTrace(); \r\n }\r\n }","title":""},{"docid":"db972828a5619ce60bca3a8d0c50b8f9","score":"0.48815173","text":"public void deallocateApplication(Application a)\n {\n\t A_n.remove(a);\n\t a.decrementValidator();\n }","title":""},{"docid":"7b90021d9f4afba7a97379e12cc0a0bd","score":"0.48775807","text":"public void remove(V v) {\n Collection outs = myGraph.getOuts(v);\n Collection backOuts = myConjugateGraph.getOuts(v);\n myGraph.removeVertex(v);\n myConjugateGraph.removeVertex(v);\n for (V v1 : outs) myConjugateGraph.removeEdge(v1, v);\n for (V v1 : backOuts) myGraph.removeEdge(v1, v);\n }","title":""},{"docid":"3718f8d9e6b9d86b7b4314c2683e038c","score":"0.4876286","text":"void detachRoute(String routeId);","title":""},{"docid":"7353c2b5e9310f8c6929424662a4371c","score":"0.48732224","text":"protected abstract void removeDialogView(PropertyModel model);","title":""},{"docid":"525756361ce3f1a31cff814dcd1203d7","score":"0.48711357","text":"public void removeProcessListener(final JFXProcessListener listener) {\n\t\tlisteners.remove(listener);\n\t}","title":""},{"docid":"ac8aa4fb298faf3e3536da52b67806f6","score":"0.48615143","text":"void detachView(boolean retainInstance);","title":""},{"docid":"f6d85a8cbebebb73e6c3d8c1cd5ff469","score":"0.48608232","text":"public synchronized void remove(ClientThread client) {\n\t\tclientList.remove(client);\n\t\tthis.sendremoveMessage(client.getClientName());\n\t}","title":""},{"docid":"49f78072554049b9779420c8443f3e44","score":"0.48517895","text":"public void eraseContact(View v)\n {\n appState.firebaseReference.child(receivedbusinessInfo.key).removeValue();\n finish();\n }","title":""},{"docid":"bce5124f8f28f090af594136acce824c","score":"0.4849557","text":"void removeView(View view);","title":""},{"docid":"c671eee739935e57d7a9ed659f21791c","score":"0.48391312","text":"@Override\r\n\tpublic void deleteProcessInstances(List processes) {\r\n\r\n\t}","title":""},{"docid":"b04330fd2a2097d4f6355352cebf95c9","score":"0.4837101","text":"@Override\n\tpublic void removeMessageNotificationClient(MessageNotificationClient messageNotificationClient){\n\t\tLOG.debug(\"client instanceId:\"+m_instanceId+\": removing messageNotificationClient:\"+messageNotificationClient.toString());\n\t\tmessageNotificationClientList.remove(messageNotificationClient);\n\t}","title":""},{"docid":"72fb26c8de855242830c2f75e1e35d3d","score":"0.48302156","text":"public void removeVaccineConfirmed(){\n\t\t//deleted the vaccine\n\t\tvaccineDao.deleteVaccine(getCurrentlySelectedVaccine());\n\t\t//refresh the list\n\t\trefreshVaccines(null);\n\t\t//remove the confirmation dialog\n\t\tui.remove(ui.find(CONFIRMATION_DIALOG));\n\t}","title":""},{"docid":"28a27e3b23ae584cf37afd72b7dccbee","score":"0.48255005","text":"@Override\r\n\tpublic void supprimerFactureClient(FactureClient t) {\n\t\t\r\n\t}","title":""},{"docid":"868e7119d2d63b7eceb95bc76b3e5d67","score":"0.48174682","text":"public void removeVertexAndView(VertexView vtxView) {\n\t\tundoStack.addUndoInfo(new RemoveGraphItemEdit(vtxView, this));\n\t\t\t\tremoveView(vtxView);\n\t}","title":""},{"docid":"4835c51c9db31c107571f00347f5dd60","score":"0.48165047","text":"public void removeForeignKeyRelationship(Relationship table)\r\n\t{\r\n\t\tforeignKeyRelationships.remove(table);\r\n\t\tfirePropertyChange(OUTPUT, table, null);\r\n\t}","title":""},{"docid":"1373f01c41d15daf4de1435c441c6bdf","score":"0.481177","text":"protected abstract void removeFromManager();","title":""},{"docid":"b6169671c6da49d9c62f31a5fb0c4456","score":"0.48101175","text":"@DeleteMapping(\"/application-processes/{id}\")\n @Timed\n public ResponseEntity deleteApplicationProcess(@PathVariable Long id) {\n log.debug(\"REST request to delete ApplicationProcess : {}\", id);\n applicationProcessService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }","title":""},{"docid":"cf96fe1686b2cbc5ae3ddac07d76709f","score":"0.48018804","text":"public void removePerson()\n {\n //Two-way link between Group and Person.\n this.getPerson().setGroupUD(null);\n this.removePersonUD();\n }","title":""},{"docid":"b0c075a31c165c4de1379e63b610bd96","score":"0.47999114","text":"public void delete() {\n setObjectiveEvaluation(null);\n setSiadapRootModule(null);\n deleteDomainObject();\n }","title":""},{"docid":"a8ca577d8469f9217163d4f68a456a11","score":"0.47907186","text":"public abstract void removeWorkflow(String processID, String operation, String status, String correlationKey, String correlationValue) throws SQLException;","title":""},{"docid":"70b6c8e733e6a56b3676ed3a1ce4ac05","score":"0.4774375","text":"private void removeApprovals(ClientDetails clientDetails) {\n\t\tuserRepository.findAll().forEach(user -> {\n\t\t\tCollection approvals = approvalStore.getApprovals(user.getUsername(), clientDetails.getClientId());\n\t\t\tapprovalStore.revokeApprovals(approvals);\n\t\t});\n\t}","title":""},{"docid":"4487b6bc11838ac7e0ff23f6440f21ee","score":"0.47662655","text":"private void removeView(EditView editView)\n\t{\n\t\tboolean found = false;\n\t\t\n\t\tfor(int iterator = 0; iterator < this.editView.size() && !found; iterator++)\n\t\t{\n\t\t\tif (editView == this.editView.elementAt(iterator))\n\t\t\t{\n\t\t\t\tfound = true;\n\t\t\t\tthis.editView.remove(iterator);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"a3edb646902d04f2d3d89c9d117eef80","score":"0.47591105","text":"public void despawnTownManagerVillager() {\r\n\tvillager.remove();\r\n }","title":""},{"docid":"34dfc2adc42e66b02bb1ab89e4a762ba","score":"0.47576454","text":"void removeClient(ClientIdentifier clientId);","title":""},{"docid":"c4f4ffd4d035781d7e891ad3691fa856","score":"0.4754261","text":"public void DeleteParticipation(int idProg, int idClient) {\n try {\n String jdbcDriver, dbUrl, username, password;\n DatabaseAccessProperties dap = new DatabaseAccessProperties(configurationFile);\n jdbcDriver = dap.getJdbcDriver();\n dbUrl = dap.getDatabaseUrl();\n username = dap.getUsername();\n password = dap.getPassword();\n // Load the database driver\n Class.forName(jdbcDriver);\n // Get a connection to the database\n Connection conn = DriverManager.getConnection(dbUrl, username, password);\n // Print information about connection warnings\n Statement stmt = conn.createStatement();\n // Execute the query\n ResultSet rs = stmt.executeQuery(\"DELETE FROM PARTICIPATION WHERE idProg = \" + idProg + \" and idClient = \" + idClient + \"\");\n rs.close();\n stmt.close();\n conn.close();\n } catch (SQLException se) {\n // Print information about SQL exceptions\n SQLWarningsExceptions.printExceptions(se);\n return;\n } catch (Exception e) {\n System.err.println(\"Exception: \" + e.getMessage());\n e.printStackTrace();\n return;\n }\n }","title":""},{"docid":"2d9ab53f3b002cd681b6dceeb9d847b5","score":"0.47332555","text":"private void m18121a(Context context, Map map, View view) {\n if (map.remove(view) != null) {\n if (IAlog.f16291a <= 2) {\n IAlog.m18019a(\"removeViewFromContext found view for removal!\");\n }\n if (map.isEmpty()) {\n this.f16378c.remove(context);\n Pair pair = (Pair) this.f16377b.get(context);\n if (pair != null) {\n if (((ViewTreeObserver) pair.first).isAlive()) {\n ((ViewTreeObserver) pair.first).removeOnPreDrawListener((OnPreDrawListener) pair.second);\n }\n this.f16377b.remove(context);\n }\n }\n }\n }","title":""},{"docid":"eeb1b2b548eb2a891c91be3965696c6f","score":"0.47321522","text":"public void removeDoseConfirmed(){\n\t\tgetCurrentlySelectedVaccine().removeDose((VaccineDose) doseTableController.getCurrentlySelectedObject());\n\t\tvaccineDao.saveOrUpdateVaccine(getCurrentlySelectedVaccine());\n\t\tvaccineDoseDao.deleteVaccineDose((VaccineDose) doseTableController.getCurrentlySelectedObject());\n\t\tint vaccineIndex = ui.getSelectedIndex(find(VACCINE_LIST));\n\t\trefreshVaccines(null);\n\t\tsetVaccineListSelectedIndex(vaccineIndex);\n\t\tui.remove(ui.find(CONFIRMATION_DIALOG));\n\t}","title":""},{"docid":"ce537a887c123e1a1b0e6e22a1ea100f","score":"0.47300172","text":"void removeConnectedClient();","title":""},{"docid":"6faef333f80f60ca3253a3db59a98d2c","score":"0.47206286","text":"@Override\n public void delete() {\n setUser(null);\n setDropboxAPI(null);\n deleteDomainObject();\n }","title":""},{"docid":"ac780aa9f955c270a60545210423eb00","score":"0.47162196","text":"public void removeGStrucutureRelation(String serviceProviderCode, long parentStructureNumber,\r\n\t\t\tlong childStructureNumber, String relationship, String auditID, String callerID) throws RemoteException,\r\n\t\t\tAAException;","title":""},{"docid":"1e7263561c5a098324533ea995c26797","score":"0.47156316","text":"private void clearOwnership(List removedPath) {\n Iterator> it = m_pathOwnership.keySet().iterator();\n while (it.hasNext()) {\n List keyPath = it.next();\n if (keyPath.size() >= removedPath.size() && keyPath.subList(0, removedPath.size()).equals(removedPath)) {\n // removedPath is a more general version of keyPath.\n // For example, keyPath might be @graph,1,hasTitle,subTitle\n // and the removed path @graph,1,hasTitle\n // Therefore, keyPath must be cleared.\n it.remove();\n }\n }\n }","title":""},{"docid":"851a5a83f5e53a1a30746762d2b5a57f","score":"0.47128022","text":"void removeClient(ClientNetInterface client);","title":""},{"docid":"2b4e7c2ca9030d6c5d54324c4a93aa39","score":"0.47121018","text":"private void _removeActivity(long actId) {\n\t\tString[] resp = null;\n\n\t\t// Removing all relations with super activities\n\t\tresp = query( \"abc.relation.[].to.==.\" + actId );\n\t\tfor( String wip : resp )\n\t\t\tquery( \"abc.relation.-.\" + wip );\n\t\t\n\t\t// Removing all state instances activity:user\n\t\tresp = query( \"abc.state.[].name.~=.{{\" + actId + \":[0-9]*}}\" );\n\t\tfor( String wip : resp )\n\t\t\tquery( \"abc.state.-.\" + wip );\n\n\t\t// Removing ecologies by incrementally removing all attached assets.\n\t\tString[] ecologies = query( \"abc.ecology.[].name.~=.{{\" + actId + \":[0-9]*}}\" );\n\t\tfor( String wip : ecologies ) {\n\t\t\tresp = query( \"abc.ecology.\"+wip+\".asset\" );\n\t\t\tfor( String tmp : resp ) \n\t\t\t\tquery( \"abc.asset.-.\"+ tmp );\n\t\t\tquery( \"abc.ecology.-.\"+ wip );\n\t\t}\n\t\t\n\t\t// Removing the activity\n\t\tquery( \"abc.activity.-.\"+ actId );\n\n\t\t// TODO > As in creation, Properties are still there\n\t}","title":""},{"docid":"dbfaace18f953b98a2ffbedb91ac703f","score":"0.47113734","text":"void removeRepiters(com.hps.july.persistence.Repiter aRepiters) throws java.rmi.RemoteException;","title":""},{"docid":"8f130d5fce722dbc0b854d2874963721","score":"0.47099718","text":"@Override\r\n\tpublic void removeNotify()\r\n\t{\r\n\t\tsuper.removeNotify();\r\n\t\tEditBus.removeFromBus(this);\r\n\t}","title":""},{"docid":"e4ec3581bde61070fcfbf758609dc915","score":"0.47092652","text":"@Override\r\n\tpublic void removeRefObjectMap(RefObjectMap rom) {\r\n\t\tif (refObjList.size() + objList.size() == 1) {\r\n\t\t\tthrow new IllegalStateException(\r\n\t\t\t\t\t\"Can't remove the last ObjectMap or RefObjectMap.\");\r\n\t\t}\r\n\r\n\t\trefObjList.remove(rom);\r\n\t}","title":""},{"docid":"57b8efa7203297445e7559904f20844a","score":"0.47022384","text":"public void removeVaccine(){\n\t\tif(scheduledDoseDao.getScheduledDoses(getCurrentlySelectedVaccine(),null).size() != 0){\n\t\t\tui.alert(\"You cannot delete a vaccine with scheduled doses.\");\n\t\t}else{\n\t\t\tui.showConfirmationDialog(\"removeVaccineConfirmed()\", this,\"medic.vaccine.confirm.delete\");\n\t\t}\n\t}","title":""},{"docid":"23de4406e159349301c29c00e8e3cece","score":"0.4700131","text":"public void removePrimaryKeyRelationship(Relationship table)\r\n\t{\r\n\t\tprimaryKeyRelationships.remove(table);\r\n\t\tfirePropertyChange(INPUT, table, null);\r\n\t}","title":""},{"docid":"f57dd2b20082d45fb9ee288e04f9974d","score":"0.46962643","text":"public void removeClass(View view) {\n //Don't forget to add RemoveClass algorithm\n //no intent needed\n }","title":""},{"docid":"ea8a79d37e5dd8b3262c959dc12b18e0","score":"0.46936452","text":"public void delete(AutoProcIntegration3VO vo) {\r\n\t\tentityManager.remove(vo);\r\n\t}","title":""},{"docid":"3bd06edd3bb02a63ea1e9dc65e9deac0","score":"0.4690454","text":"protected void removeAssociation(AssociationIF association) {\n // Check to see if association is not a member of this topic map\n if (association.getTopicMap() != this) {\n return;\n }\n // Notify listeners\n fireEvent(TopicMapIF.EVENT_REMOVE_ASSOCIATION, null, association);\n // Unset topic map property\n ((Association)association).setTopicMap(null);\n }","title":""},{"docid":"f16de0d5750922edccbf8542e87a603a","score":"0.4688878","text":"public void deleteItem(View view) {\n\t\tint id = Integer.parseInt(hiddenTv.getText().toString());\n\t\tdeleteItem(id);\t\t\n\t}","title":""},{"docid":"0499fe107a5f43a911f2ad8d65804a9b","score":"0.46786004","text":"@Override\n public void close() {\n if (participant != null) {\n participant.delete_contained_entities();\n\n DomainParticipantFactory.get_instance()\n .delete_participant(participant);\n }\n }","title":""},{"docid":"e922c6978ba180987dbc2b9c5e16e11d","score":"0.46772048","text":"public void deleteProposalPersonBiography(ProposalDevelopmentDocument proposaldevelopmentDocument, int lineToDelete);","title":""},{"docid":"5e357fede862b905de022e6a20607842","score":"0.46756765","text":"public void eraseContact(View v){\n appState.firebaseReference.child(receivedPersonInfo.uid).removeValue();\n finish();\n Intent intent = new Intent(this, MainActivity.class);\n startActivity(intent);\n }","title":""},{"docid":"f5c34363e8e8f6583068d1ec19bdf1bd","score":"0.46724173","text":"public void removeAgent() {\n\t\tif (currentAgentsTable.getSelectionModel().getSelectedItem() != null) {\n\t\t\tSession session = factory.getCurrentSession();\n\t\t\tsession.beginTransaction();\n\t\t\tAgent agent = currentAgentsTable.getSelectionModel().getSelectedItem();\n\t\t\tSingleton.getInstance().getStorage().removeAgent(agent);\n\t\t\tStorage tempStorage = Singleton.getInstance().getStorage();\n\t\t\tsession.update(tempStorage);\n\n\t\t\tcurrentAgentList.remove(agent);\n\t\t\tallAgentList.add(agent);\n\n\t\t\tsession.getTransaction().commit();\n\t\t} else\n\t\t\tSystem.out.println(\"No selection!\");\n\t}","title":""},{"docid":"c0f5a4de41b173a101b37454d45580ac","score":"0.46707422","text":"private void removeNodeView(CyNode node)\n\t{\n\t\tsynchronized (m_sync)\n\t\t{\n\t\t\tZZNodeView nodeView = nodeViews.get(node);\n\t\t\tif (nodeView == null)\n\t\t\t\treturn;\n\t\t\t\n\t\t\tnodeView.dispose(gl);\n\t\t\tnodeViews.remove(node);\n\t\n\t\t\teventHelper.addEventPayload((CyNetworkView)this, (View)nodeView, AboutToRemoveNodeViewsEvent.class);\n\t\t}\n\t}","title":""},{"docid":"81eddf435348fdffec4f22472c93e383","score":"0.46698913","text":"@Override\n\tpublic void removeAds() {\n\t\tIabHelper.OnIabPurchaseFinishedListener mPurchaseFinishedListener = new IabHelper.OnIabPurchaseFinishedListener() {\n\t\t\tpublic void onIabPurchaseFinished(IabResult result, Purchase purchase) {\n\t\t\t\tif (purchase == null)\n\t\t\t\t\treturn;\n\t\t\t\tLog.d(\"IAB\", \"Purchase finished: \" + result + \", purchase: \" + purchase);\n\n\t\t\t\t// if we were disposed of in the meantime, quit.\n\t\t\t\tif (mHelper == null)\n\t\t\t\t\treturn;\n\n\t\t\t\tif (result.isFailure()) {\n\t\t\t\t\t// complain(\"Error purchasing: \" + result);\n\t\t\t\t\t// setWaitScreen(false);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\trunOnUiThread(new Runnable() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tlayout.removeView(adView);\n\t\t\t\t\t}\n\t\t\t\t});\n// if (!verifyDeveloperPayload(purchase)) {\n// //complain(\"Error purchasing. Authenticity verification failed.\");\n// //setWaitScreen(false);\n// return;\n// }\n\n\t\t\t\tLog.d(\"IAB\", \"Purchase successful.\");\n\n\t\t\t}\n\t\t};\n\t\tmHelper.flagEndAsync();\n\t\tmHelper.launchPurchaseFlow(this, SKU_REMOVE_ADS, RC_REQUEST, mPurchaseFinishedListener,\n\t\t\t\t\"HANDLE_PAYLOADS\");\n\n\t}","title":""},{"docid":"c8098843c7023cdf71e6f8aca0e2b196","score":"0.46659604","text":"public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgGeoReferencedSRSConstRefPtr(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }","title":""},{"docid":"5c436a6b4fa74b7b8fdf451e1af15bba","score":"0.46646035","text":"public void destroy() {\n\t\tapp.client.close();\n\t}","title":""},{"docid":"eb6ffe22f0485376e5880770fa5ad8d5","score":"0.46605325","text":"private void onRemoveGraph()\n {\n Window parent = SwingUtilities.windowForComponent(_desktopPane);\n int res = JOptionPane.showConfirmDialog(parent, s_stringMgr.getString(\"graph.delGraph\"));\n if(res == JOptionPane.YES_OPTION)\n {\n _listener.removeRequest();\n }\n }","title":""},{"docid":"a1f4815736ab58de4fd7196c8d3aa38b","score":"0.46522313","text":"void removeClientSession(ClientSession session);","title":""},{"docid":"039d3fecd5efdc91b0d0dd4ca4729954","score":"0.4650827","text":"public void delete() {\r\n synchronized (this.delLock) {\r\n if (this.agpCptrMeshPrimitiveDescArrView != 0) {\r\n if (this.isAgpCmemOwn) {\r\n this.isAgpCmemOwn = false;\r\n CoreJni.deleteCoreMeshPrimitiveDescArrayView(this.agpCptrMeshPrimitiveDescArrView);\r\n }\r\n this.agpCptrMeshPrimitiveDescArrView = 0;\r\n }\r\n }\r\n }","title":""}],"string":"[\n {\n \"docid\": \"ef25561586a2ca8fc1cb8aaac10794cd\",\n \"score\": \"0.6095138\",\n \"text\": \"public void removeView(GraphItemView view) {\\n\\t\\trecoverableItems.add(view);\\n\\t\\tview.delete();\\n\\n\\t\\tif (view instanceof VertexView){\\n\\t\\t\\tEnumeration edges = ((VertexView)view).getEdges();\\n\\t\\t\\tVector edgesToBeRemoved = new Vector(10, 10);\\n\\t\\t\\twhile (edges.hasMoreElements()) {\\n\\t\\t\\t\\tedgesToBeRemoved.add(edges.nextElement());\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\tfor (EdgeView e:edgesToBeRemoved)\\n\\t\\t\\t\\tremoveEdgeAndView(e);\\n\\t\\t\\tvertexItems.remove(view);\\n\\t\\t}\\n\\t\\t\\t\\n\\t\\telse if (view instanceof EdgeView){\\n\\t\\t\\t((EdgeView)view).getOrigin().removeEdge(((EdgeView)view));\\n\\t\\t\\t((EdgeView)view).getDestination().removeEdge(((EdgeView)view));\\n\\t\\t\\t((EdgeView)view).getOrigin().getVertex().unlink(((EdgeView)view).getDestination().getVertex());\\n\\t\\t\\tedgeItems.remove(view);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8abf8cced3a42eb0d6533d7699483ffe\",\n \"score\": \"0.5424354\",\n \"text\": \"public void deleteRoute(View view) {\\r\\n\\t\\tprogress.show();\\r\\n\\t\\tDatabaseInteractor.endRoute(this, PreferenceData.getUserId(this), displayedRoute.getId());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2bdc81bace9aed17efbd03ef63ad759\",\n \"score\": \"0.5390436\",\n \"text\": \"public void removeViewClient(final UniqueId clientId) {\\n ArgumentChecker.notNull(clientId, \\\"clientId\\\");\\n checkIdScheme(clientId, CLIENT_SCHEME);\\n LOGGER.info(\\\"Removing view client {}\\\", clientId);\\n final ViewClient client = _allClientsById.remove(clientId);\\n if (client == null) {\\n throw new DataNotFoundException(\\\"View client not found: \\\" + clientId);\\n }\\n detachClientFromViewProcess(clientId);\\n _viewProcessorEventListenerRegistry.notifyViewClientRemoved(clientId);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"235d2ca702ab796397b195068c375433\",\n \"score\": \"0.53679216\",\n \"text\": \"void removeProcess(SimulatedProcess p) {\\n processControlBlock.remove(p.processNumber());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1e3b26d2d2416125095335e9f409f13\",\n \"score\": \"0.53434265\",\n \"text\": \"public synchronized void delete() {\\n if (this.swigCPtr != 0) {\\n if (this.swigCMemOwn) {\\n this.swigCMemOwn = false;\\n libVisioMoveJNI.delete_VgManipulatorListenerRefPtr(this.swigCPtr);\\n }\\n this.swigCPtr = 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbad4e43a95d833f8fff18680079ca9d\",\n \"score\": \"0.53144145\",\n \"text\": \"public void remove(IntraClient aClient) {\\n/* 372 */ this.done = true;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a45e0a65d46276c26567a83491cd4b8\",\n \"score\": \"0.5234619\",\n \"text\": \"public void dropAssociation()\\r\\n {\\r\\n io.outputString(\\\"Dropping a new Doctor-Patient Association...\\\");\\r\\n io.outputString(\\\"Getting Patient information...\\\");\\r\\n String healthNumber = io.readString(\\\"Enter the health number of the patient: \\\");\\r\\n\\r\\n Patient p = patients.get(healthNumber);\\r\\n if (p == null)\\r\\n throw new NoSuchElementException(\\\"There is no patient with health number \\\"\\r\\n + healthNumber);\\r\\n\\r\\n io.outputString(\\\"Getting Doctor information...\\\");\\r\\n String name = io.readString(\\\"Enter the name of the doctor: \\\");\\r\\n\\r\\n Doctor d = doctors.get(name);\\r\\n if (d == null)\\r\\n throw new NoSuchElementException(\\\"There is no doctor with name \\\" + name);\\r\\n\\r\\n String pHealthNumber = p.getHealthNumber();\\r\\n if (!d.hasPatient(pHealthNumber))\\r\\n throw new IllegalStateException(\\\"This doctor is not associated with this patient.\\\");\\r\\n if (!p.hasDoctor(name))\\r\\n throw new IllegalStateException(\\\"This doctor and this patient are incorrectly \\\"\\r\\n + \\\"associated. The doctor has the patient, \\\"\\r\\n + \\\"but the patient does not have the doctor\\\");\\r\\n\\r\\n p.removeDoctor(name);\\r\\n d.removePatient(healthNumber);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8b0d5738bcfafa2f264b2084fdc1d0f\",\n \"score\": \"0.52200806\",\n \"text\": \"public void sendRemove(PID pid);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bde3cf58767eaab9f05ffa4aeaf73512\",\n \"score\": \"0.52160066\",\n \"text\": \"@Override\\n\\tpublic void removeView(IView view) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffd1a7fcd95b01d245f9207986954517\",\n \"score\": \"0.51868844\",\n \"text\": \"public void doRemove() {\\n super.doRemove();\\n if (sequenceManager != null) {\\n sequenceManager.clearSequence();\\n }\\n sequenceManager = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd55c00b5cfc5e40246fb995bd15e83a\",\n \"score\": \"0.5159932\",\n \"text\": \"public void shutdownViewProcess(final UniqueId viewProcessId) {\\n final ViewProcessImpl viewProcess = getViewProcess(viewProcessId);\\n shutdownViewProcess(viewProcess);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"983bb34e014df5205ab6590319683a5f\",\n \"score\": \"0.51560396\",\n \"text\": \"public void remove() {\\n this.polyline.remove();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03b80f8d7650ca6051fefea37fceb024\",\n \"score\": \"0.5130186\",\n \"text\": \"public abstract void onRemoveAssociation(String association, GenericArtifact source,\\n GenericArtifact target) throws GovernanceException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"892f0a8b94df3403608effe2f253f064\",\n \"score\": \"0.5099924\",\n \"text\": \"public void unregisterProcess(Process process) {\\n \\n processes.remove(process);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"461d4e5059427ca90e09b8ba13340d55\",\n \"score\": \"0.509554\",\n \"text\": \"public void removeGraphItemAndView(GraphItemView itemView) {\\n\\t\\tif (itemView == null) return;\\n\\t\\tif (itemView instanceof VertexView) removeVertexAndView((VertexView) itemView);\\n\\t\\telse if (itemView instanceof EdgeView) removeEdgeAndView((EdgeView) itemView);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b89a1ebd2b9ab50b3ccbc60b10b0f547\",\n \"score\": \"0.50889665\",\n \"text\": \"void removeProcessFromMemory(Integer ID);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8198b0c20dc51d877f0204cb6398a38\",\n \"score\": \"0.50756425\",\n \"text\": \"public void remove() {\\n\\t\\ttry {\\n\\t\\t\\t// first remove all local properties\\n\\t\\t\\tPropertyFacade.removeLocalProperties(dto.getUserId(), dto.getRunId());\\n\\n\\t\\t\\t// next remove role particiations\\n\\t\\t\\tCollection rps = RoleParticipation.findByUser(User.findByPrimaryKey(dto.getUserId()), Run\\n\\t\\t\\t\\t\\t.findByPrimaryKey(dto.getRunId()));\\n\\t\\t\\tIterator iter = rps.iterator();\\n\\t\\t\\twhile (iter.hasNext()) {\\n\\t\\t\\t\\tRoleParticipation rp = (RoleParticipation) iter.next();\\n\\t\\t\\t\\trp.remove();\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Now remove this run participation\\n\\t\\t\\tRunParticipationEntityPK pk = new RunParticipationEntityPK(dto.getRunId(), dto.getUserId());\\n\\t\\t\\tRunParticipationEntityHome rpHome = getRunParticipationHome();\\n\\t\\t\\tRunParticipationEntity rp = rpHome.findByPrimaryKey(pk);\\n\\t\\t\\trp.remove();\\n\\n\\t\\t\\tComponentFactory.getPropertyFactory().clearCache();\\n\\n\\t\\t} catch (Exception ex) {\\n\\t\\t\\tthrow new EJBException(ex);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df71ba931f626678690204ee13611e63\",\n \"score\": \"0.5049702\",\n \"text\": \"void removePersonUD()\\n {\\n //One-way link from Group to Person.\\n this.person = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e05c18cb3de12fb3e4fdf364693bfe6e\",\n \"score\": \"0.50465304\",\n \"text\": \"public synchronized void delete() {\\n if (this.swigCPtr != 0) {\\n if (this.swigCMemOwn) {\\n this.swigCMemOwn = false;\\n libVisioMoveJNI.delete_VgIResourceRequestRefPtr(this.swigCPtr);\\n }\\n this.swigCPtr = 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32f9d0b336118cdb5c6962011d5408e5\",\n \"score\": \"0.50307304\",\n \"text\": \"public void detachView() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"715784ec7f6f03b3e483ee3eed4c1ef5\",\n \"score\": \"0.5030236\",\n \"text\": \"AMFICOMClient remove(AccessIdentity_Transferable key)\\n\\t\\t\\tthrows AMFICOMRemoteException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea86f0cc98dacd1a37bb0d13d8ec8d8f\",\n \"score\": \"0.5015248\",\n \"text\": \"public void delete() {\\n try {\\n Task task = vm.destroy_Task();\\n task.waitForTask();\\n } catch (ManagedObjectNotFound e) {\\n // the vm has been deleted manually.\\n // skip this error to let wp remove\\n // the VM record.\\n if (vm.getMOR().equals(e.getObj())) {\\n log.info(\\\"VM not found, skip destroyVM().\\\");\\n return;\\n }\\n throw new WorkpoolException(e);\\n } catch (RemoteException e) {\\n throw new WorkpoolException(e);\\n } catch (InterruptedException e) {\\n throw new WorkpoolException(e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed0d3a7ad8026b98dc6017f272ff0b59\",\n \"score\": \"0.50095505\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n\\t@PreDestroy\\n\\tprivate void destroyViews() {\\n\\t\\tthreadFelixRepositoryAdminService.set(null);\\n\\t\\tthreadObrRepositoryAdminService.set(null);\\n\\t\\tthreadBundleContextService.set(null);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ee75157a0d29b2df14decca1c910179\",\n \"score\": \"0.4997955\",\n \"text\": \"public void removeConversationId() {\\n jenaModel.removeAll(metadataInstance, jenaModel.createProperty(MESSAGEMETADATA.ConversationId), null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7b9e0910a12debb82c6f697fa8220be\",\n \"score\": \"0.49945962\",\n \"text\": \"public void del(View view) {\\n AccountManager am = AccountManager.get(this);\\n Account[] accounts = am.getAccounts();\\n if (accounts.length > 0) {\\n Account accountToRemove = accounts[0];\\n am.removeAccount(accountToRemove, null, null);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1509ee9283c27f62ba0745a94501d712\",\n \"score\": \"0.49889243\",\n \"text\": \"public void removeAppointment() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87af2cc6f5924155f341e81a43195e44\",\n \"score\": \"0.498225\",\n \"text\": \"void secondaryRemoveRepiters(com.hps.july.persistence.Repiter aRepiters) throws java.rmi.RemoteException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f6990578653b0c13146f8c10f5db5fa\",\n \"score\": \"0.4976601\",\n \"text\": \"@Override\\n public void onDelete(int pid, String key) {\\n final MirrorCacheParcelable p = mirrorCache.remove(key);\\n if (p != null) {\\n\\n if (pid != SHUNT_PID) {\\n p.onDelete(); //notify individual instance listeners\\n MirrorCache.this.onDelete(p.payloadObject);\\n }\\n\\n p.payloadObject = null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a17c374fe10579800716905cfd8fb6a\",\n \"score\": \"0.4968248\",\n \"text\": \"public void removeClientId() {\\n jenaModel.removeAll(metadataInstance, jenaModel.createProperty(MESSAGEMETADATA.ClientId), null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb6359e3875f1568daa0fb1170fd32b9\",\n \"score\": \"0.496557\",\n \"text\": \"public void removeRelationship(MainActivity callingActivity){\\n Toast.makeText(callingActivity, \\\"You are no longer paired with \\\"+\\n callingActivity.relationship.partnerTwoName, Toast.LENGTH_LONG).show();\\n\\n ended = true;\\n\\n if (listenerForBreakup!=null)\\n ref.removeEventListener(listenerForBreakup);\\n\\n Firebase root = new Firebase(\\\"https://dazzling-inferno-7112.firebaseio.com/relationships\\\");\\n root.child(callingActivity.relationship.rel_id).setValue(null);\\n //callingActivity.myCustomAdapter.removeRelationship();\\n callingActivity.relationship.partnerTwoName = null;\\n callingActivity.relationship.partnerTwoEmail = null;\\n Intent intent = new Intent(callingActivity, SignInActivity.class);\\n callingActivity.stopService(callingActivity.backgroundIntent);\\n callingActivity.startActivity(intent);\\n callingActivity.finish();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8089aa8c46866779aa628f50f5176e2\",\n \"score\": \"0.49617642\",\n \"text\": \"private void removeUndeployedViews() {\\n for (ViewEntity viewEntity : viewDAO.findAll()) {\\n String name = viewEntity.getName();\\n if (!ViewRegistry.getInstance().viewDefinitions.containsKey(name)) {\\n try {\\n viewDAO.remove(viewEntity);\\n } catch (Exception e) {\\n LOG.error(\\\"Caught exception undeploying view \\\" + viewEntity.getName(), e);\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1bb715323ea9b298841187c6a902f16\",\n \"score\": \"0.4956852\",\n \"text\": \"public void updateMyViewRemove(Peer p) {\\n\\n\\t\\tknowledge.get(0).updateViewRemove(p);\\n\\t\\tknowledge.get(0).setClock(knowledge.get(0).getClock() + 1);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bdeab70e1a721ed30fa40118182d6e7\",\n \"score\": \"0.49559155\",\n \"text\": \"public void remove(ViewI view) {\\n boolean found = false;\\n if (views.contains(view)) {\\n views.removeElement(view);\\n found = true;\\n }\\n if (linearViews.contains(view)) {\\n linearViews.removeElement(view);\\n }\\n if (pickViews.contains(view)) {\\n pickViews.removeElement(view);\\n }\\n if (layout_manager != null) {\\n layout_manager.removeLayoutView(view);\\n }\\n if (found) {\\n invalidate();\\n validate();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95d88006c374254d964ede72f18c0c93\",\n \"score\": \"0.49465063\",\n \"text\": \"public void removeEdgeAndView(EdgeView edgeView) {\\n\\t\\tundoStack.addUndoInfo(new RemoveGraphItemEdit(edgeView, this));\\n\\t\\tremoveView(edgeView);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae3d3d78e3c96be713be04156240f830\",\n \"score\": \"0.4945796\",\n \"text\": \"public void unlink(){\\r\\n\\t\\tuser._getCommentVoters().remove( this );\\r\\n\\t\\t((Comment)comment)._getCommentVoters().remove( this );\\r\\n\\t\\t\\r\\n\\t\\tuser = null;\\r\\n\\t\\tcomment = null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d19c787de0824a990a343b789221adb\",\n \"score\": \"0.4943239\",\n \"text\": \"void cleanUp() {\\n ProcessReference reference;\\n while ((reference = referenceQueue.poll()) != null) {\\n synchronized (processReferences) {\\n processReferences.remove(reference.processId);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efe420bb60484c51e7299e2646ebe837\",\n \"score\": \"0.49431255\",\n \"text\": \"@Override\\r\\n\\tpublic void deleteProcessInstances(final Set processIds) {\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83d596ebbab62c9c7ad3c5df56ab6e16\",\n \"score\": \"0.49349162\",\n \"text\": \"public void removeAppointment(String cId){\\n Appointment appointment = getAppointment(cId);\\n appointments.remove(appointment);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2352dd5ef47eec59f1b12256f60d373\",\n \"score\": \"0.49281737\",\n \"text\": \"@Override\\n\\tpublic void delete(AsesoriaPorMesP app) {\\n\\t\\taspmpr.delete(app);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6ce1d2f1c703d37f1d603b76f3d94d4\",\n \"score\": \"0.49242085\",\n \"text\": \"public void handleRemoveAssocPart() {\\n Part currentPart = assocPartsTable.getSelectionModel().getSelectedItem();\\n newProduct.deleteAssociatedPart(currentPart);\\n Alert confirm = new Alert(Alert.AlertType.INFORMATION);\\n confirm.setHeaderText(\\\"Removed\\\");\\n confirm.setContentText(currentPart.getName() + \\\" has been removed.\\\");\\n confirm.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"521610979c7f1b3741266b06ad5d6855\",\n \"score\": \"0.49149388\",\n \"text\": \"public void removeGStrucutureRelation(String serviceProviderCode, StructureModel structureROC1,\\r\\n\\t\\t\\tStructureModel structureROC2, String callerID) throws RemoteException, AAException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dc54092ccf44f1599ac98285f7ec0f4\",\n \"score\": \"0.49116254\",\n \"text\": \"synchronized public void remove(ServerSideClientIO serverSideClientToRemove) {\\n serverSideClientIOList.remove(serverSideClientToRemove);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b313050d9a0a281766ad4bb4893e2cf\",\n \"score\": \"0.49048412\",\n \"text\": \"void destroyLink() {\\n CAMQPControlDetach data = new CAMQPControlDetach();\\n data.setClosed(true);\\n data.setHandle(linkHandle);\\n linkStateActor.sendDetach(data);\\n linkStateActor.waitForDetached(targetAddress);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1065bff4c4696fae8d0131bdbd16a0a\",\n \"score\": \"0.49014905\",\n \"text\": \"public void removeCollidable(Collidable c) {\\r\\n this.environment.removeCollidable(c);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a02d833da4106d9a19b5a75471684fac\",\n \"score\": \"0.49012932\",\n \"text\": \"void processCollectionDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"848eb0298a9303c30ed143ad090023f0\",\n \"score\": \"0.4888951\",\n \"text\": \"@Override\\n\\tpublic void deleteModuleView() {\\n\\t\\tthis.controller.removeModuleView(this);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09a664e44c2a4e268e1285e46651da66\",\n \"score\": \"0.48828006\",\n \"text\": \"public void destroy()\\r\\n {\\r\\n this.vector=null;\\r\\n \\r\\n try\\r\\n {\\r\\n _poa().deactivate_object( _object_id() );\\r\\n }\\r\\n catch ( Exception ex )\\r\\n { \\r\\n ex.printStackTrace(); \\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db972828a5619ce60bca3a8d0c50b8f9\",\n \"score\": \"0.48815173\",\n \"text\": \"public void deallocateApplication(Application a)\\n {\\n\\t A_n.remove(a);\\n\\t a.decrementValidator();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b90021d9f4afba7a97379e12cc0a0bd\",\n \"score\": \"0.48775807\",\n \"text\": \"public void remove(V v) {\\n Collection outs = myGraph.getOuts(v);\\n Collection backOuts = myConjugateGraph.getOuts(v);\\n myGraph.removeVertex(v);\\n myConjugateGraph.removeVertex(v);\\n for (V v1 : outs) myConjugateGraph.removeEdge(v1, v);\\n for (V v1 : backOuts) myGraph.removeEdge(v1, v);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3718f8d9e6b9d86b7b4314c2683e038c\",\n \"score\": \"0.4876286\",\n \"text\": \"void detachRoute(String routeId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7353c2b5e9310f8c6929424662a4371c\",\n \"score\": \"0.48732224\",\n \"text\": \"protected abstract void removeDialogView(PropertyModel model);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"525756361ce3f1a31cff814dcd1203d7\",\n \"score\": \"0.48711357\",\n \"text\": \"public void removeProcessListener(final JFXProcessListener listener) {\\n\\t\\tlisteners.remove(listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac8aa4fb298faf3e3536da52b67806f6\",\n \"score\": \"0.48615143\",\n \"text\": \"void detachView(boolean retainInstance);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6d85a8cbebebb73e6c3d8c1cd5ff469\",\n \"score\": \"0.48608232\",\n \"text\": \"public synchronized void remove(ClientThread client) {\\n\\t\\tclientList.remove(client);\\n\\t\\tthis.sendremoveMessage(client.getClientName());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49f78072554049b9779420c8443f3e44\",\n \"score\": \"0.48517895\",\n \"text\": \"public void eraseContact(View v)\\n {\\n appState.firebaseReference.child(receivedbusinessInfo.key).removeValue();\\n finish();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bce5124f8f28f090af594136acce824c\",\n \"score\": \"0.4849557\",\n \"text\": \"void removeView(View view);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c671eee739935e57d7a9ed659f21791c\",\n \"score\": \"0.48391312\",\n \"text\": \"@Override\\r\\n\\tpublic void deleteProcessInstances(List processes) {\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b04330fd2a2097d4f6355352cebf95c9\",\n \"score\": \"0.4837101\",\n \"text\": \"@Override\\n\\tpublic void removeMessageNotificationClient(MessageNotificationClient messageNotificationClient){\\n\\t\\tLOG.debug(\\\"client instanceId:\\\"+m_instanceId+\\\": removing messageNotificationClient:\\\"+messageNotificationClient.toString());\\n\\t\\tmessageNotificationClientList.remove(messageNotificationClient);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72fb26c8de855242830c2f75e1e35d3d\",\n \"score\": \"0.48302156\",\n \"text\": \"public void removeVaccineConfirmed(){\\n\\t\\t//deleted the vaccine\\n\\t\\tvaccineDao.deleteVaccine(getCurrentlySelectedVaccine());\\n\\t\\t//refresh the list\\n\\t\\trefreshVaccines(null);\\n\\t\\t//remove the confirmation dialog\\n\\t\\tui.remove(ui.find(CONFIRMATION_DIALOG));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28a27e3b23ae584cf37afd72b7dccbee\",\n \"score\": \"0.48255005\",\n \"text\": \"@Override\\r\\n\\tpublic void supprimerFactureClient(FactureClient t) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"868e7119d2d63b7eceb95bc76b3e5d67\",\n \"score\": \"0.48174682\",\n \"text\": \"public void removeVertexAndView(VertexView vtxView) {\\n\\t\\tundoStack.addUndoInfo(new RemoveGraphItemEdit(vtxView, this));\\n\\t\\t\\t\\tremoveView(vtxView);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4835c51c9db31c107571f00347f5dd60\",\n \"score\": \"0.48165047\",\n \"text\": \"public void removeForeignKeyRelationship(Relationship table)\\r\\n\\t{\\r\\n\\t\\tforeignKeyRelationships.remove(table);\\r\\n\\t\\tfirePropertyChange(OUTPUT, table, null);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1373f01c41d15daf4de1435c441c6bdf\",\n \"score\": \"0.481177\",\n \"text\": \"protected abstract void removeFromManager();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6169671c6da49d9c62f31a5fb0c4456\",\n \"score\": \"0.48101175\",\n \"text\": \"@DeleteMapping(\\\"/application-processes/{id}\\\")\\n @Timed\\n public ResponseEntity deleteApplicationProcess(@PathVariable Long id) {\\n log.debug(\\\"REST request to delete ApplicationProcess : {}\\\", id);\\n applicationProcessService.delete(id);\\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf96fe1686b2cbc5ae3ddac07d76709f\",\n \"score\": \"0.48018804\",\n \"text\": \"public void removePerson()\\n {\\n //Two-way link between Group and Person.\\n this.getPerson().setGroupUD(null);\\n this.removePersonUD();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0c075a31c165c4de1379e63b610bd96\",\n \"score\": \"0.47999114\",\n \"text\": \"public void delete() {\\n setObjectiveEvaluation(null);\\n setSiadapRootModule(null);\\n deleteDomainObject();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8ca577d8469f9217163d4f68a456a11\",\n \"score\": \"0.47907186\",\n \"text\": \"public abstract void removeWorkflow(String processID, String operation, String status, String correlationKey, String correlationValue) throws SQLException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70b6c8e733e6a56b3676ed3a1ce4ac05\",\n \"score\": \"0.4774375\",\n \"text\": \"private void removeApprovals(ClientDetails clientDetails) {\\n\\t\\tuserRepository.findAll().forEach(user -> {\\n\\t\\t\\tCollection approvals = approvalStore.getApprovals(user.getUsername(), clientDetails.getClientId());\\n\\t\\t\\tapprovalStore.revokeApprovals(approvals);\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4487b6bc11838ac7e0ff23f6440f21ee\",\n \"score\": \"0.47662655\",\n \"text\": \"private void removeView(EditView editView)\\n\\t{\\n\\t\\tboolean found = false;\\n\\t\\t\\n\\t\\tfor(int iterator = 0; iterator < this.editView.size() && !found; iterator++)\\n\\t\\t{\\n\\t\\t\\tif (editView == this.editView.elementAt(iterator))\\n\\t\\t\\t{\\n\\t\\t\\t\\tfound = true;\\n\\t\\t\\t\\tthis.editView.remove(iterator);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3edb646902d04f2d3d89c9d117eef80\",\n \"score\": \"0.47591105\",\n \"text\": \"public void despawnTownManagerVillager() {\\r\\n\\tvillager.remove();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34dfc2adc42e66b02bb1ab89e4a762ba\",\n \"score\": \"0.47576454\",\n \"text\": \"void removeClient(ClientIdentifier clientId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4f4ffd4d035781d7e891ad3691fa856\",\n \"score\": \"0.4754261\",\n \"text\": \"public void DeleteParticipation(int idProg, int idClient) {\\n try {\\n String jdbcDriver, dbUrl, username, password;\\n DatabaseAccessProperties dap = new DatabaseAccessProperties(configurationFile);\\n jdbcDriver = dap.getJdbcDriver();\\n dbUrl = dap.getDatabaseUrl();\\n username = dap.getUsername();\\n password = dap.getPassword();\\n // Load the database driver\\n Class.forName(jdbcDriver);\\n // Get a connection to the database\\n Connection conn = DriverManager.getConnection(dbUrl, username, password);\\n // Print information about connection warnings\\n Statement stmt = conn.createStatement();\\n // Execute the query\\n ResultSet rs = stmt.executeQuery(\\\"DELETE FROM PARTICIPATION WHERE idProg = \\\" + idProg + \\\" and idClient = \\\" + idClient + \\\"\\\");\\n rs.close();\\n stmt.close();\\n conn.close();\\n } catch (SQLException se) {\\n // Print information about SQL exceptions\\n SQLWarningsExceptions.printExceptions(se);\\n return;\\n } catch (Exception e) {\\n System.err.println(\\\"Exception: \\\" + e.getMessage());\\n e.printStackTrace();\\n return;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d9ab53f3b002cd681b6dceeb9d847b5\",\n \"score\": \"0.47332555\",\n \"text\": \"private void m18121a(Context context, Map map, View view) {\\n if (map.remove(view) != null) {\\n if (IAlog.f16291a <= 2) {\\n IAlog.m18019a(\\\"removeViewFromContext found view for removal!\\\");\\n }\\n if (map.isEmpty()) {\\n this.f16378c.remove(context);\\n Pair pair = (Pair) this.f16377b.get(context);\\n if (pair != null) {\\n if (((ViewTreeObserver) pair.first).isAlive()) {\\n ((ViewTreeObserver) pair.first).removeOnPreDrawListener((OnPreDrawListener) pair.second);\\n }\\n this.f16377b.remove(context);\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eeb1b2b548eb2a891c91be3965696c6f\",\n \"score\": \"0.47321522\",\n \"text\": \"public void removeDoseConfirmed(){\\n\\t\\tgetCurrentlySelectedVaccine().removeDose((VaccineDose) doseTableController.getCurrentlySelectedObject());\\n\\t\\tvaccineDao.saveOrUpdateVaccine(getCurrentlySelectedVaccine());\\n\\t\\tvaccineDoseDao.deleteVaccineDose((VaccineDose) doseTableController.getCurrentlySelectedObject());\\n\\t\\tint vaccineIndex = ui.getSelectedIndex(find(VACCINE_LIST));\\n\\t\\trefreshVaccines(null);\\n\\t\\tsetVaccineListSelectedIndex(vaccineIndex);\\n\\t\\tui.remove(ui.find(CONFIRMATION_DIALOG));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce537a887c123e1a1b0e6e22a1ea100f\",\n \"score\": \"0.47300172\",\n \"text\": \"void removeConnectedClient();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6faef333f80f60ca3253a3db59a98d2c\",\n \"score\": \"0.47206286\",\n \"text\": \"@Override\\n public void delete() {\\n setUser(null);\\n setDropboxAPI(null);\\n deleteDomainObject();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac780aa9f955c270a60545210423eb00\",\n \"score\": \"0.47162196\",\n \"text\": \"public void removeGStrucutureRelation(String serviceProviderCode, long parentStructureNumber,\\r\\n\\t\\t\\tlong childStructureNumber, String relationship, String auditID, String callerID) throws RemoteException,\\r\\n\\t\\t\\tAAException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e7263561c5a098324533ea995c26797\",\n \"score\": \"0.47156316\",\n \"text\": \"private void clearOwnership(List removedPath) {\\n Iterator> it = m_pathOwnership.keySet().iterator();\\n while (it.hasNext()) {\\n List keyPath = it.next();\\n if (keyPath.size() >= removedPath.size() && keyPath.subList(0, removedPath.size()).equals(removedPath)) {\\n // removedPath is a more general version of keyPath.\\n // For example, keyPath might be @graph,1,hasTitle,subTitle\\n // and the removed path @graph,1,hasTitle\\n // Therefore, keyPath must be cleared.\\n it.remove();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"851a5a83f5e53a1a30746762d2b5a57f\",\n \"score\": \"0.47128022\",\n \"text\": \"void removeClient(ClientNetInterface client);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b4e7c2ca9030d6c5d54324c4a93aa39\",\n \"score\": \"0.47121018\",\n \"text\": \"private void _removeActivity(long actId) {\\n\\t\\tString[] resp = null;\\n\\n\\t\\t// Removing all relations with super activities\\n\\t\\tresp = query( \\\"abc.relation.[].to.==.\\\" + actId );\\n\\t\\tfor( String wip : resp )\\n\\t\\t\\tquery( \\\"abc.relation.-.\\\" + wip );\\n\\t\\t\\n\\t\\t// Removing all state instances activity:user\\n\\t\\tresp = query( \\\"abc.state.[].name.~=.{{\\\" + actId + \\\":[0-9]*}}\\\" );\\n\\t\\tfor( String wip : resp )\\n\\t\\t\\tquery( \\\"abc.state.-.\\\" + wip );\\n\\n\\t\\t// Removing ecologies by incrementally removing all attached assets.\\n\\t\\tString[] ecologies = query( \\\"abc.ecology.[].name.~=.{{\\\" + actId + \\\":[0-9]*}}\\\" );\\n\\t\\tfor( String wip : ecologies ) {\\n\\t\\t\\tresp = query( \\\"abc.ecology.\\\"+wip+\\\".asset\\\" );\\n\\t\\t\\tfor( String tmp : resp ) \\n\\t\\t\\t\\tquery( \\\"abc.asset.-.\\\"+ tmp );\\n\\t\\t\\tquery( \\\"abc.ecology.-.\\\"+ wip );\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Removing the activity\\n\\t\\tquery( \\\"abc.activity.-.\\\"+ actId );\\n\\n\\t\\t// TODO > As in creation, Properties are still there\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbfaace18f953b98a2ffbedb91ac703f\",\n \"score\": \"0.47113734\",\n \"text\": \"void removeRepiters(com.hps.july.persistence.Repiter aRepiters) throws java.rmi.RemoteException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f130d5fce722dbc0b854d2874963721\",\n \"score\": \"0.47099718\",\n \"text\": \"@Override\\r\\n\\tpublic void removeNotify()\\r\\n\\t{\\r\\n\\t\\tsuper.removeNotify();\\r\\n\\t\\tEditBus.removeFromBus(this);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4ec3581bde61070fcfbf758609dc915\",\n \"score\": \"0.47092652\",\n \"text\": \"@Override\\r\\n\\tpublic void removeRefObjectMap(RefObjectMap rom) {\\r\\n\\t\\tif (refObjList.size() + objList.size() == 1) {\\r\\n\\t\\t\\tthrow new IllegalStateException(\\r\\n\\t\\t\\t\\t\\t\\\"Can't remove the last ObjectMap or RefObjectMap.\\\");\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\trefObjList.remove(rom);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57b8efa7203297445e7559904f20844a\",\n \"score\": \"0.47022384\",\n \"text\": \"public void removeVaccine(){\\n\\t\\tif(scheduledDoseDao.getScheduledDoses(getCurrentlySelectedVaccine(),null).size() != 0){\\n\\t\\t\\tui.alert(\\\"You cannot delete a vaccine with scheduled doses.\\\");\\n\\t\\t}else{\\n\\t\\t\\tui.showConfirmationDialog(\\\"removeVaccineConfirmed()\\\", this,\\\"medic.vaccine.confirm.delete\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23de4406e159349301c29c00e8e3cece\",\n \"score\": \"0.4700131\",\n \"text\": \"public void removePrimaryKeyRelationship(Relationship table)\\r\\n\\t{\\r\\n\\t\\tprimaryKeyRelationships.remove(table);\\r\\n\\t\\tfirePropertyChange(INPUT, table, null);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f57dd2b20082d45fb9ee288e04f9974d\",\n \"score\": \"0.46962643\",\n \"text\": \"public void removeClass(View view) {\\n //Don't forget to add RemoveClass algorithm\\n //no intent needed\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea8a79d37e5dd8b3262c959dc12b18e0\",\n \"score\": \"0.46936452\",\n \"text\": \"public void delete(AutoProcIntegration3VO vo) {\\r\\n\\t\\tentityManager.remove(vo);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bd06edd3bb02a63ea1e9dc65e9deac0\",\n \"score\": \"0.4690454\",\n \"text\": \"protected void removeAssociation(AssociationIF association) {\\n // Check to see if association is not a member of this topic map\\n if (association.getTopicMap() != this) {\\n return;\\n }\\n // Notify listeners\\n fireEvent(TopicMapIF.EVENT_REMOVE_ASSOCIATION, null, association);\\n // Unset topic map property\\n ((Association)association).setTopicMap(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f16de0d5750922edccbf8542e87a603a\",\n \"score\": \"0.4688878\",\n \"text\": \"public void deleteItem(View view) {\\n\\t\\tint id = Integer.parseInt(hiddenTv.getText().toString());\\n\\t\\tdeleteItem(id);\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0499fe107a5f43a911f2ad8d65804a9b\",\n \"score\": \"0.46786004\",\n \"text\": \"@Override\\n public void close() {\\n if (participant != null) {\\n participant.delete_contained_entities();\\n\\n DomainParticipantFactory.get_instance()\\n .delete_participant(participant);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e922c6978ba180987dbc2b9c5e16e11d\",\n \"score\": \"0.46772048\",\n \"text\": \"public void deleteProposalPersonBiography(ProposalDevelopmentDocument proposaldevelopmentDocument, int lineToDelete);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e357fede862b905de022e6a20607842\",\n \"score\": \"0.46756765\",\n \"text\": \"public void eraseContact(View v){\\n appState.firebaseReference.child(receivedPersonInfo.uid).removeValue();\\n finish();\\n Intent intent = new Intent(this, MainActivity.class);\\n startActivity(intent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5c34363e8e8f6583068d1ec19bdf1bd\",\n \"score\": \"0.46724173\",\n \"text\": \"public void removeAgent() {\\n\\t\\tif (currentAgentsTable.getSelectionModel().getSelectedItem() != null) {\\n\\t\\t\\tSession session = factory.getCurrentSession();\\n\\t\\t\\tsession.beginTransaction();\\n\\t\\t\\tAgent agent = currentAgentsTable.getSelectionModel().getSelectedItem();\\n\\t\\t\\tSingleton.getInstance().getStorage().removeAgent(agent);\\n\\t\\t\\tStorage tempStorage = Singleton.getInstance().getStorage();\\n\\t\\t\\tsession.update(tempStorage);\\n\\n\\t\\t\\tcurrentAgentList.remove(agent);\\n\\t\\t\\tallAgentList.add(agent);\\n\\n\\t\\t\\tsession.getTransaction().commit();\\n\\t\\t} else\\n\\t\\t\\tSystem.out.println(\\\"No selection!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0f5a4de41b173a101b37454d45580ac\",\n \"score\": \"0.46707422\",\n \"text\": \"private void removeNodeView(CyNode node)\\n\\t{\\n\\t\\tsynchronized (m_sync)\\n\\t\\t{\\n\\t\\t\\tZZNodeView nodeView = nodeViews.get(node);\\n\\t\\t\\tif (nodeView == null)\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t\\n\\t\\t\\tnodeView.dispose(gl);\\n\\t\\t\\tnodeViews.remove(node);\\n\\t\\n\\t\\t\\teventHelper.addEventPayload((CyNetworkView)this, (View)nodeView, AboutToRemoveNodeViewsEvent.class);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81eddf435348fdffec4f22472c93e383\",\n \"score\": \"0.46698913\",\n \"text\": \"@Override\\n\\tpublic void removeAds() {\\n\\t\\tIabHelper.OnIabPurchaseFinishedListener mPurchaseFinishedListener = new IabHelper.OnIabPurchaseFinishedListener() {\\n\\t\\t\\tpublic void onIabPurchaseFinished(IabResult result, Purchase purchase) {\\n\\t\\t\\t\\tif (purchase == null)\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\tLog.d(\\\"IAB\\\", \\\"Purchase finished: \\\" + result + \\\", purchase: \\\" + purchase);\\n\\n\\t\\t\\t\\t// if we were disposed of in the meantime, quit.\\n\\t\\t\\t\\tif (mHelper == null)\\n\\t\\t\\t\\t\\treturn;\\n\\n\\t\\t\\t\\tif (result.isFailure()) {\\n\\t\\t\\t\\t\\t// complain(\\\"Error purchasing: \\\" + result);\\n\\t\\t\\t\\t\\t// setWaitScreen(false);\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\trunOnUiThread(new Runnable() {\\n\\t\\t\\t\\t\\t@Override\\n\\t\\t\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\t\\t\\tlayout.removeView(adView);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n// if (!verifyDeveloperPayload(purchase)) {\\n// //complain(\\\"Error purchasing. Authenticity verification failed.\\\");\\n// //setWaitScreen(false);\\n// return;\\n// }\\n\\n\\t\\t\\t\\tLog.d(\\\"IAB\\\", \\\"Purchase successful.\\\");\\n\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tmHelper.flagEndAsync();\\n\\t\\tmHelper.launchPurchaseFlow(this, SKU_REMOVE_ADS, RC_REQUEST, mPurchaseFinishedListener,\\n\\t\\t\\t\\t\\\"HANDLE_PAYLOADS\\\");\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8098843c7023cdf71e6f8aca0e2b196\",\n \"score\": \"0.46659604\",\n \"text\": \"public synchronized void delete() {\\n if (this.swigCPtr != 0) {\\n if (this.swigCMemOwn) {\\n this.swigCMemOwn = false;\\n libVisioMoveJNI.delete_VgGeoReferencedSRSConstRefPtr(this.swigCPtr);\\n }\\n this.swigCPtr = 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c436a6b4fa74b7b8fdf451e1af15bba\",\n \"score\": \"0.46646035\",\n \"text\": \"public void destroy() {\\n\\t\\tapp.client.close();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb6ffe22f0485376e5880770fa5ad8d5\",\n \"score\": \"0.46605325\",\n \"text\": \"private void onRemoveGraph()\\n {\\n Window parent = SwingUtilities.windowForComponent(_desktopPane);\\n int res = JOptionPane.showConfirmDialog(parent, s_stringMgr.getString(\\\"graph.delGraph\\\"));\\n if(res == JOptionPane.YES_OPTION)\\n {\\n _listener.removeRequest();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1f4815736ab58de4fd7196c8d3aa38b\",\n \"score\": \"0.46522313\",\n \"text\": \"void removeClientSession(ClientSession session);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"039d3fecd5efdc91b0d0dd4ca4729954\",\n \"score\": \"0.4650827\",\n \"text\": \"public void delete() {\\r\\n synchronized (this.delLock) {\\r\\n if (this.agpCptrMeshPrimitiveDescArrView != 0) {\\r\\n if (this.isAgpCmemOwn) {\\r\\n this.isAgpCmemOwn = false;\\r\\n CoreJni.deleteCoreMeshPrimitiveDescArrayView(this.agpCptrMeshPrimitiveDescArrView);\\r\\n }\\r\\n this.agpCptrMeshPrimitiveDescArrView = 0;\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":879,"cells":{"query_id":{"kind":"string","value":"93a760fe55d6e6220624d34733971a0f"},"query":{"kind":"string","value":"If user has answered last question then display the Report window."},"positive_passages":{"kind":"list like","value":[{"docid":"c317d0f36c04e16eece1828e7f4ed0aa","score":"0.55685264","text":"public void finished() {\n if (reportWindow == null) {\n reportWindow = new JQReportSummaryWindow(new SummaryGet());\n }\n reportWindow.updateDisplay();\n reportWindow.setVisible(true);\n }","title":""}],"string":"[\n {\n \"docid\": \"c317d0f36c04e16eece1828e7f4ed0aa\",\n \"score\": \"0.55685264\",\n \"text\": \"public void finished() {\\n if (reportWindow == null) {\\n reportWindow = new JQReportSummaryWindow(new SummaryGet());\\n }\\n reportWindow.updateDisplay();\\n reportWindow.setVisible(true);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"7a86772eba19b4751d9e1bc9ddddf442","score":"0.63809365","text":"private void displayQuestion() {\n if (currentQuestion.correct()) {\n displayCorrectQuestion(currentQuestion.clone());\n } else {\n displayIncorrectQuestion(currentQuestion.clone());\n }\n }","title":""},{"docid":"f855a25b473466b5d2a012a0dfe73cf8","score":"0.61274636","text":"private void finishSurvey() {\n questionLabel.setText(\"Survey complete\");\n answer1Button.setText(\"Finish and claim points\");\n answer2Button.setVisible(false);\n answer3Button.setVisible(false);\n }","title":""},{"docid":"39731c3feb31bf64775782f36d0d5844","score":"0.6016284","text":"public boolean displayQuestion() {\n\t\treturn super.displayQuestion(); // call super displayQuestion\n\t}","title":""},{"docid":"5995df002b1f2e89ce738cd0f0ce20d3","score":"0.59306186","text":"static void displayQuestion(String ans1, String ans2, String ans3){\r\n\t\tisQuestion = true;\r\n\t\tif(isDone == true){\r\n\t\t\tquestionAreaFilter.a = 1f;\r\n\r\n\t\t\tanswer1=ans1;\r\n\t\t\tanswer2=ans2;\r\n\t\t\tanswer3=ans3;\r\n\t\t\t\r\n\t\t\tans1X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans1Y = ( ( questionArea.getHeight()/4 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\tans2X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans2Y = ( ( questionArea.getHeight()/2 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\tans3X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\r\n\t\t\tans3Y = ( ( questionArea.getHeight()/4 ) + ( questionArea.getHeight()/2 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\t\r\n\t\t\tquestionChoiceFilter.a = 1f;\r\n\t\t}\r\n\t}","title":""},{"docid":"3592fd58764a8346511bd8e8a93700f6","score":"0.5913954","text":"public void displayQuestion()\r\n\t{\r\n\t\tSystem.out.println(text);\r\n\t\tfor(String curr : answerChoices)\r\n\t\t\tSystem.out.println(\" \" + curr);\r\n\t}","title":""},{"docid":"2b3f0c7632c8ccd72566b968e79d8dc0","score":"0.5805156","text":"private void displayQuestionRecord(Question question) {\n currentlyDisplayedQuestion = question;\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\n\n if (question.getQuestionType() == QuestionType.MULTI_CHOICE) {\n hintText = question.getHintText();\n explainText = question.getExplainText();\n multiChoicePanel.displayQuestionRecord(question, currentAnswer);\n\n innerCardLayout.show(innerCardPanel, \"multiChoicePanel\");\n } else if (question.getQuestionType() == QuestionType.DRAG_N_DROP) {\n hintText = question.getHintText();\n explainText = question.getExplainText();\n\n dndPanel.displayQuestionRecord(question, null);\n innerCardLayout.show(innerCardPanel, \"dndPanel\");\n }\n\n updateCountLabel();\n }","title":""},{"docid":"3cb2cb5c731581596eff90bb1d3a2209","score":"0.57997996","text":"static void displayQuestion(String ans1, String ans2){\r\n\t\tisQuestion = true;\r\n\t\tif(isDone == true){\r\n\t\t\tquestionAreaFilter.a = 1f;\r\n\t\t\t\r\n\t\t\tanswer1=ans1;\r\n\t\t\tanswer2=ans2;\r\n\t\t\t\r\n\t\t\tans1X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans1Y = ( ( questionArea.getHeight()/4 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\tans2X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans2Y = ( ( questionArea.getHeight()/4 ) + ( questionArea.getHeight()/2 ) - ( questionChoice.getHeight()/2 ) );;\r\n\t\t\tans3X = 0;\r\n\t\t\tans3Y = -52;\r\n\t\t\t\r\n\t\t\tquestionChoiceFilter.a = 1f;\r\n\t\t}\r\n\t}","title":""},{"docid":"61861eaf4d7d7d721439eca51c0eb1d9","score":"0.57840025","text":"private void askQuestion() {\n //Disable the submit & next button\n //as this is a new question and the user\n //is yet to select an answer\n next.setEnabled(false);\n //Get the next question on the list\n quest = questions.get(index);\n\n //Set the question, category and difficulty texts\n question.setText(++index + \".\" + quest.getQuestion());\n category.setText(\"Category: \" + quest.getCategory());\n difficulty.setText(\"Difficulty: \" + quest.getDifficulty().toUpperCase() + \" - \" + quest.getScore() + \"pts\");\n\n //Increase the total score and display the score to the user\n totalScore += quest.getScore();\n score.setText(\"Score: \" + userScore + \"/\" + totalScore);\n\n //Get the list of options and set the first two radio buttons\n List optionValues = quest.getOptions();\n option1.setText(optionValues.get(0));\n option2.setText(optionValues.get(1));\n //If the question type is multiple, then set the last two options\n // and make it visible\n if (quest.getType().equalsIgnoreCase(\"multiple\")) {\n option3.setText(optionValues.get(2));\n option4.setText(optionValues.get(3));\n option3.setVisibility(View.VISIBLE);\n option4.setVisibility(View.VISIBLE);\n } else {\n //else make the last two options invisible\n option3.setVisibility(View.INVISIBLE);\n option4.setVisibility(View.INVISIBLE);\n }\n }","title":""},{"docid":"c450601ae4eae9d3924613c562977030","score":"0.5727993","text":"public String printReport() {\n\t\treturnValue = \"\";\n\t\tfor (int qid : this.questionNumberMap.keySet()) {\n\n\t\t\tif (qid>1) {\n\t\t\t\treturnValue += \"\\n\\n\";\n\t\t\t}\n\t\t\treturnValue += \"Question \" + qid + \": \";\n\n\t\t\treturnValue += questionNumberMap.get(qid).toString();\n\t\t\t\n\t\t\tQuestionStrategy currentQuestion = questionNumberMap.get(qid);\n\n\t\t\tArrayList options = currentQuestion.getOptions();\n\n\n\t\t\ttry {\n\t\t\t\tanswerData = database.printSeparatedReport(qid);\n\t\t\t} catch (SQLException e) { \n\t\t\t\te.printStackTrace();\n\t\t\t\tSystem.out.println(\"Error in printReport\");\n\t\t\t}\n\t\t\t\n\t\t\tif (options != null) { //question is of type multiple choice\n\t\t\t\tint i = 0;\n\t\t\t\tfor (String answer : answerData.keySet()) {\n\t\t\t\t\tint count = answerData.get(answer)-1;\t\t\n\t\t\t\t\treturnValue += \"\\nAnswer: \" + options.get(i) + \" ➪ Tally: \" + count;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tfor (String answer : answerData.keySet()) {\n\t\t\t\t\tint count = answerData.get(answer);\t\t\n\t\t\t\t\treturnValue += \"\\nAnswer: \" + answer + \" ➪ Tally: \" + count;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t//System.out.println(returnValue);\n\t\treturn returnValue;\n\t}","title":""},{"docid":"e01878fc427092e04b4bfeeda3f152d4","score":"0.56861746","text":"public void AskForCorrectAnswer() {\n\t\tfor (int i = 0; i < GetQuestions().size(); i++ ) {\n\t\t\tQuestion currentQuestion = GetQuestions().get(i);\n\t\t\tSystem.out.println(currentQuestion.GetQuestion());\n\t\t\t\n\t\t\tString answer;\n\t\t\tResponseCorrectAnswer rca = null;\n\t\t\t\n\t\t\t// Call super.AddResponse(), check if the response lives in Survey or Test\n\t\t\tswitch ( currentQuestion.GetQuestionType() ) {\n\t\t\tcase \"TrueFalse\":\n\t\t\t\tSystem.out.println(\"What is the correct answer? (T/F\");\n\t\t\t\tanswer = MainDriver.scanner.next();\n\t\t\t\tString trueFalse = null;\n\t\t\t\t\n\t\t\t\tif (answer.equals(\"T\") ) {\n\t\t\t\t\ttrueFalse = ((TrueFalse) currentQuestion).GetOptions(0);\n\t\t\t\t}\n\t\t\t\telse if (answer.equals(\"F\")) {\n\t\t\t\t\ttrueFalse = ((TrueFalse) currentQuestion).GetOptions(1);\n\t\t\t\t}\n\t\t\t\trca = new ResponseCorrectAnswer(trueFalse);\n\t\t\t\tcurrentQuestion.AddCorrectAnswer(rca);\n\t\t\t\tSystem.out.println(currentQuestion.GetCorrectAnswer().GetResponse());\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\tcase \"MultipleChoice\":\n\t\t\t\tSystem.out.println(\"Which of these options? (1 - 4)\");\n\t\t\t\tcurrentQuestion.Display();\n//\t\t\t\tint choice = MainDriver.scanner.nextInt();\n//\t\t\t\tcurrentQuestion.choices[choice]\n\t\t\t\tbreak;\n\t\t\tcase \"Essay\":\n\t\t\t\tSystem.out.println(\"What is the correct answer?\");\n\t\t\t\tanswer = MainDriver.scanner.next();\n\t\t\t\trca = new ResponseCorrectAnswer(answer);\n\t\t\t\tbreak;\n\t\t\tcase \"ShortAnswer\":\n\t\t\t\tSystem.out.println(\"What is the correct answer?\");\n\t\t\t\tanswer = MainDriver.scanner.next();\n\t\t\t\trca = new ResponseCorrectAnswer(answer);\n\t\t\t\tbreak;\n\t\t\tcase \"Ranking\":\n\t\t\t\tbreak;\n\t\t\tcase \"Matching\":\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"a2d827b0b6464aaafb25354d97f66ea8","score":"0.5679266","text":"private void nextButtonActionPerformed() {\n QuestionPool qPool;\n\n try {\n qPool = JQuestions.getQuestionPool();\n } catch (NullPointerException npe) {\n return;\n } catch (Exception ex) {\n ex.printStackTrace();\n return;\n }\n\n // 1. save current UserAnswer state.\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\n\n if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.MULTI_CHOICE) {\n\n int options = currentlyDisplayedQuestion.getNumberOfPossibleAnswers();\n for (int i = 0; i < options; i++) {\n currentAnswer.setAnswerBox(i, multiChoicePanel.getAnswerBox(i).isSelected());\n }\n } else if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.DRAG_N_DROP) {\n // The contents of the JTextFields in a DnD question are conveniently\n // stored 'automatically' in the JTextField object itself, so we don't\n // need to update them every time they are displayed.\n //currentAnswer.setAnswerField(x, answerField1.isSelected());....\t\t\t\t\t\t\n }\n\n // 2. isCorrect()\n boolean correct = isCorrect(currentlyDisplayedQuestion, currentAnswer);\n\n // 3. Store the correctness.\n currentAnswer.setCorrectness(correct);\n\n if (!isExam) { // Give instant feedback\n displayCorrectness(correct);\n }\n\n\n if ((nQuestions == 0) && (qIdsIndex >= qPool.getSize() - 1)\n || ((nQuestions > 0) && (qIdsIndex < nQuestions))) {\n\n finished();\n\n return;\n }\n\n\n // 4. If not end, display next record.\n qIdsIndex += 1;\n\n\n int index = questionIds.get(qIdsIndex);\n currentlyDisplayedQuestion = qPool.getQuestion(index);\n if (currentlyDisplayedQuestion != null) {\n currentRecordIndex = index;\n displayQuestionRecord(currentlyDisplayedQuestion);\n setFieldsEditable(false);\n } else { // No records.\n currentRecordIndex = -1;\n }\n }","title":""},{"docid":"a35afb65f13cc4283432c96eb9260807","score":"0.5655741","text":"public void sendMessageLessonQuizNext(View view) {\n if (quiz.size() > count) {\n //---- display next quiz\n displayQuiz();\n enableRadioButtons();\n tvFeedback.setVisibility(View.INVISIBLE);\n buttonNext.setVisibility(View.INVISIBLE);\n buttonSubmit.setVisibility(View.VISIBLE);\n } else {\n //---- close Activity and go back to previous activity\n Intent returnIntent = new Intent();\n returnIntent.putExtra(\"result\",1);\n setResult(Activity.RESULT_OK,returnIntent);\n finish();\n }\n }","title":""},{"docid":"c9ffbc951051e0e64181cabd594fdb51","score":"0.56053364","text":"public void startRecordDifficulty(boolean isFirstQuestions) {\n finished = false;\n startTime = System.nanoTime(); // Beginning of the recording\n\n // Create new frame on top of the main window\n JFrame tempFrame = new JFrame(\"Measuring Perceived Difficulty\");\n tempFrame.setUndecorated(true);\n DisplayerComponent dc = new DisplayerComponent(this.frame.getWidth()+10, this.frame.getHeight()+10);\n\n //this.mariocomponent.pause();\n setFrame(tempFrame);\n tempFrame.setContentPane(dc);\n tempFrame.setResizable(false);\n //tempFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n tempFrame.addWindowListener(new WindowAdapter() {\n @Override\n public void windowClosing(WindowEvent e) {\n // Do nothing. User has to submit his answers.\n }\n });\n tempFrame.pack();\n\n if (isFirstQuestions) {\n //loadFirstQuestions(dc);\n loadSwapLevelQuestions(dc, true);\n } else {\n loadSwapLevelQuestions(dc, false);\n }\n\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n tempFrame.setLocation((screenSize.width - frame.getWidth()) / 2, (screenSize.height - frame.getHeight()) / 2);\n tempFrame.setVisible(true);\n }","title":""},{"docid":"887d58b61a1c180fd100b8a43162196a","score":"0.5603807","text":"public void displayAnswers() {\n int answerNumber = 1;\n for(Map.Entry answer : answers.entrySet()) {\n System.out.println(answerNumber + \". \" + answer.getKey());\n answerNumber++;\n }\n }","title":""},{"docid":"55d52cec493f13cf4265b75a2e2a4517","score":"0.56008804","text":"public void displayQuestion(Question question, String nickname);","title":""},{"docid":"bfa84d49e7f15edd492654549b95992d","score":"0.5600683","text":"public void displayNextTaskPromptSpeaker(){\n System.out.print(\"Please enter next task (reminder, you can type '5' to see what you can do): \");\n }","title":""},{"docid":"968e4f2a1237b1d7fe3f0cc07c9aebcd","score":"0.5544336","text":"private void checkAnswerAndDisplayNext() {\n\t\tboolean correct = false;\n\t\t\n\t\tString attempt = _attemptInput.getText();\n\t\t\n\t\t// Make it case-insensitive and trim all leading and trailing spaces.\n\t\tattempt = attempt.toLowerCase();\n\t\tattempt = attempt.trim();\n\t\t\n\t\tPracticeSolutionScreen solScrn = new PracticeSolutionScreen(_pane, _clue, _answers[0]);\n\t\t\n\t\t// A for loop is used because there can be multiple solutions and we want to \n\t\t// check if the attempt matches with at least one solution.\n\t\tfor (String solution : _answers) {\n\t\t\tsolution = solution.toLowerCase();\n\t\t\tsolution = solution.trim();\n\t\t\t\n\t\t\t//For clues that have multiple answers separated by \",\"\n\t\t\tif (solution.contains(\",\")) {\n\t\t\t\tString[] solutions = solution.split(\",\");\n\t\t\t\tString[] attemptAns = attempt.split(\",\");\n\t\t\t\tif (solutions.length == attemptAns.length) {\n\t\t\t\t\tint count = 0;\n\t\t\t\t\tfor (int i = 0; i < solutions.length; i++) {\n\t\t\t\t\t\tif (solutions[i].trim().equals(attemptAns[i].trim())) {\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t\tSystem.out.println(count);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(count);\n\t\t\t\t\tif (count == solutions.length) {\n\t\t\t\t\t\tcorrect = true;\n\t\t\t\t\t\tsolScrn.displayCorrect();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (attempt.equals(solution)) {\n\t\t\t\tsolScrn.displayCorrect();\n\t\t\t\tcorrect = true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (!correct) {\n\t\t\t_remainingAttempts--;\n\t\t\t\n\t\t\t// Only add wrongText when two attempts remain to prevent from duplicate \n\t\t\t// children from being added.\n\t\t\t\n\t\t\tSoundAdjuster adjuster = new SoundAdjuster(\"Incorrect\", false);\n\n\t\t\tif (_remainingAttempts == 2) {\n\t\t\t\t_wrongText.getStyleClass().remove(\"invisible-component\");\n\t\t\t\tadjuster.speak(adjuster.getText());\n\t\t\t}\n\n\t\t\t\n\t\t\tif (_remainingAttempts == 1) {\n\t\t\t\t_hint.getStyleClass().remove(\"invisible-component\");\n\t\t\t\tadjuster.speak(\"The first letter of the answer is \" + _answers[0].charAt(0));\n\t\t\t} else if (_remainingAttempts < 1) {\n\t\t\t\tsolScrn.displayIncorrect();\n\t\t\t}\n\n\t\t\t_attemptsCountText.setText(\"Number of attempts remaining: \" + (_remainingAttempts));\n\t\t}\n\t}","title":""},{"docid":"b5714d9b28a054f0469188fc2291f479","score":"0.5541291","text":"public void endQuiz()\r\n\t\t\t{\r\n\t\t\t\tgame_interface_manager.showResults();\r\n\r\n\t\t\t\trecord_manager.checkOnRecord(gamer_name, Math.round(100*right_answers / question_amount));\r\n\t\t\t}","title":""},{"docid":"f6f7be75d746fbf5ca553d445f6304f9","score":"0.55318964","text":"private static void printReport(Connection c, Scanner k, String ssn, String answer) throws SQLException {\r\n\t // if yes (has dependents) print info, works_on, dependents\r\n \tif(answer.equals(\"yes\")) {\r\n\t\t printEmployeeInfo(c, ssn);\r\n\t\t printEmployeeWorks_on(c, ssn);\r\n\t\t PrintEmployeeDependent(c, ssn);\r\n\t }\r\n \t// if no (no dependents) just print info and works_on\r\n\t else {\r\n\t\t printEmployeeInfo(c, ssn);\r\n\t\t printEmployeeWorks_on(c, ssn);\r\n\t }\r\n\r\n }","title":""},{"docid":"799930244e6b76770c80e508d4b3ef4b","score":"0.5529342","text":"private void updateQuestion() {\n if (mQuestionNumber < mQuestionLibrary.getLength()) {\n // set the text for new question, and new 4 alternative to answer on four buttons\n mQuestionView.setText(mQuestionLibrary.getQuestion(mQuestionNumber));\n mButtonChoice1.setText(mQuestionLibrary.getChoice(mQuestionNumber, 1));\n mButtonChoice2.setText(mQuestionLibrary.getChoice(mQuestionNumber, 2));\n mButtonChoice3.setText(mQuestionLibrary.getChoice(mQuestionNumber, 3));\n mButtonChoice4.setText(mQuestionLibrary.getChoice(mQuestionNumber, 4));\n mButtonChoice5.setText(mQuestionLibrary.getChoice(mQuestionNumber, 5));\n\n\n\n mAnswer = mQuestionLibrary.getCorrectAnswer(mQuestionNumber);\n\n\n mQuestionNumber++;\n } else {\n Toast.makeText(QuizActivity.this, \"Venha ser o nosso aluno ! Você terá acesso a novas questões diárias e ainda terá 'recompensas'\", Toast.LENGTH_LONG).show();\n Intent intent = new Intent(QuizActivity.this, HighestScoreActivity.class);\n intent.putExtra(\"score\", mScore); // pass the current score to the second screen\n startActivity(intent);\n finish();\n }\n }","title":""},{"docid":"bef3011b1179bedd4c740a4477e0d7c4","score":"0.5525498","text":"private void displayNextFightDialogue(){\n this.state=FIGHT_STATE.SELECT_ACTION;\n dialogueBox.setVisible(true);\n dialogueBox.animateText(\"What do you wnat to do next ?\");\n }","title":""},{"docid":"2418fcf5008d98a5d26d0f0a930a01e7","score":"0.55159104","text":"void showCorrectAnswer();","title":""},{"docid":"c3d1c2d9fca002c1a48732801c9a9ec7","score":"0.550629","text":"public void askQuestion() {\n System.out.println(this.prompt);\n }","title":""},{"docid":"d63212c9056e1f842f74f1a9a60ec40c","score":"0.55060005","text":"private void setViewAfterQuestionAttempt(boolean isCorrectResponse) {\n\n if (isCorrectResponse) {\n mTopViewBinding.chronometerQuestionTimer.stop();\n if (mQuestionList.size() == mQuestionCounter) {\n mBinding.buttonDone.setText(getString(R.string.finish));\n } else {\n mBinding.buttonDone.setText(getString(R.string.next));\n }\n hideHintLayouts();\n } else {\n if (mUserAttemptPerQuestion < mMaxAttemptLimitPerQuestion) {\n mBinding.buttonDone.setText(getString(R.string.submit));\n Question question = mQuestionList.get(mQuestionCounter - 1);\n mBinding.layoutChoices.removeAllViews();\n setChoicesView(question);\n } else if (mQuestionList.size() == mQuestionCounter) {\n mTopViewBinding.chronometerQuestionTimer.stop();\n mBinding.buttonDone.setText(getString(R.string.finish));\n hideHintLayouts();\n } else {\n mTopViewBinding.chronometerQuestionTimer.stop();\n mBinding.buttonDone.setText(getString(R.string.next));\n hideHintLayouts();\n }\n }\n\n }","title":""},{"docid":"52cb6da16affa3111da1f67129e53eac","score":"0.55037755","text":"private void showPracticeEndDialog(QuizResponse quizResponse, ArrayList quizAnalyticsConfigData) {\n\n LayoutQuizEndBinding view = DataBindingUtil.inflate(LayoutInflater.from(getBaseContext()), R.layout.layout_quiz_end, null, false);\n final Dialog dialog = new Dialog(QuizPlayerActivity.this);\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\n dialog.setCancelable(false);\n dialog.setContentView(view.getRoot());\n setQuizDataOnEndDialog(view, quizResponse, quizAnalyticsConfigData);\n view.textViewGreetingMessage.setText(getString(R.string.quiz_end_response_submitted));\n view.lottie.setVisibility(View.GONE);\n\n view.buttonClose.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //sendPointsToServer();\n dialog.dismiss();\n mRxBus.send(new RefreshLRPAAccordingToType(ConstantUtil.TYPE_LEARN));\n finish();\n }\n });\n\n\n WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);\n Display display = wm.getDefaultDisplay();\n DisplayMetrics metrics = new DisplayMetrics();\n display.getMetrics(metrics);\n Double dialogWidth = metrics.widthPixels * 0.95;\n Double dialogHeight = metrics.heightPixels * 0.85;\n Window win = dialog.getWindow();\n win.setLayout(dialogWidth.intValue(), ViewGroup.LayoutParams.WRAP_CONTENT);\n\n\n dialog.show();\n }","title":""},{"docid":"65b2dfde7900c931e980879771e2066f","score":"0.5495376","text":"public void printAnswerIsIncorrect (Question question);","title":""},{"docid":"09bd339fb127bd628cb5c7f664cfe2e3","score":"0.5489168","text":"public void viewAnswer () {\n\t\tif (tfQ.getAnswer()) {\n\t\t\tbtnTrue.setBackground(green);\n\t\t\tbtnTrue.setEnabled(false);\n\t\t}\n\t\telse {\n\t\t\tbtnFalse.setBackground(green);\n\t\t\tbtnFalse.setEnabled(false);\n\t\t}\n\t}","title":""},{"docid":"bc221efd71af713d7a86f4fd96083cbd","score":"0.54887587","text":"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tJButton source = (JButton)e.getSource();\n\t\tString btnClicked = e.getActionCommand();\n\t\tif(btnClicked.equalsIgnoreCase(\"Start Session\")){\n\t\t\tsource.setText(\"Next\");\n\t\t\twelcome.setVisible(false);\n\t\t\tquestionInfo.setText(question[counter]);\n\t\t\tquestionInfo.setFont(questionI);\n\t\t\tmainPanel.add(questionInfo, BorderLayout.PAGE_START);\n\t\t\tmainPanel.add(answer, BorderLayout.CENTER);\n\t\t\tSystem.out.println(counter);\n\t\t\tcounter++;\n\t\t\t\n\t\t}\n\t\telse if(btnClicked.equalsIgnoreCase(\"Next\")){\n\t\t\tfile.writeToFile(\"Patient.txt\", questionInfo.getText());\n\t\t\tfile.writeToFile(\"Patient.txt\", answer.getText());\n\t\t\tfile.writeToFile(\"PatientAnswer.txt\", answer.getText());\n\t\t\tif(counter < question.length){\n\t\t\tSystem.out.println(counter);\n\t\t\tquestionInfo.setText(question[counter]);\n\n\n\t\t\tanswer.setText(\"\");\n\t\t\tcounter++;\n\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\n\t\t\t\tanswer.setText(\"\");\n\t\t\t\tsource.setText(\"Finish\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tint rep = JOptionPane.showConfirmDialog(null, \"Questions are over, are you ready for the result?\", \"Result\", JOptionPane.YES_NO_OPTION);\n\t\t\t\tif (rep == JOptionPane.YES_OPTION) {\n\t\t\t\t\tanswer.setVisible(false);\n\t\t\t\t\tquestionInfo.setVisible(false);\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tint repFinal = JOptionPane.showConfirmDialog(null, \"Do you want to quit?\", \"WHAT?!!\", JOptionPane.YES_NO_OPTION);\n\t\t\t\t\tif (repFinal == JOptionPane.YES_OPTION){\n\t\t\t\t\t\tcounter = 0;\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"GOODBYE\");\n\t\t\t\t\t\tSystem.exit(0);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please Press Finish Button!\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}//end Start Session\n\t\tif(btnClicked.equalsIgnoreCase(\"Finish\")){\n\t\t\tSTARTSESSION.setVisible(false); //hide next/finish button\n\t\t\tmainPanel.add(textarea, BorderLayout.CENTER);\n\t\t\tStartPanel.add(VIEWALLQUESTION);\n\t\t\tStartPanel.add(VIEWLONGESTWORD);\n\t\t\tStartPanel.add(VIEWSHORTESTWORD);\n\t\t\tStartPanel.add(SORTWORDALPHABETICALLY);\n\t\t\tStartPanel.add(VIEWANALYSIS);\n\t\t\t\n\t\t\tscroll = new JScrollPane(textarea);\n\t\t\tscroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n\t\t\tmainPanel.add(scroll);\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View all Q & A\")){\n\t\t\ttextarea.setText(ReadFile(\"Patient.txt\"));\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View longest word\")){\n\t\t\ttry {\n\t\t\t\ttextarea.setText(getLongestWords(\"PatientAnswer.txt\"));\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View shortest word\")){\n\t\t\ttry {\n\t\t\t\ttextarea.setText(getShortestWords(\"PatientAnswer.txt\"));\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"Sort answer alphabetically\")){\n\t\t\tSortingAlphabetically(\"PatientAnswer.txt\");\n\t\t\ttextarea.setText(ReadFile(\"PatientAnswer.txt\"));\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View analysis\")){\n\t\t\tString l = null;\n\t\t\ttry {\n\t\t\t\tl = getLongestWords(\"PatientAnswer.txt\");\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tString s = null;\n\t\t\ttry {\n\t\t\t\ts = getShortestWords(\"PatientAnswer.txt\");\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tString analysis = \"Wow \"+ \"[\" + l + \"]\" + \" and \" + \"[\" + s + \"]\" + \" seemed to be very important to you!\" ;\n\t\t\tJOptionPane.showMessageDialog(null, analysis);\n\t\t}\n\t\t\n\t\t//Start Sesson Button\n//\t\tif(btnClicked.equals(\"STARTSESSON\")){\n////\t\t\twelcome.setVisible(false);\n////\t\t\twelcome.setEnabled(false);\n//\t\t\tStartPanel.setVisible(false);\n//\t\t\tStartPanel.setEnabled(false);\n//\t\t\t\n//\t\t\tquestionPanel.add(welcome, BorderLayout.PAGE_START);\n//\t\t\tquestionPanel.setVisible(true);\n//\t\t\tquestionPanel.setEnabled(true);\n//\t\t\tquestionButton.setVisible(true);\n//\t\t\tquestionButton.setEnabled(true);\n//\t\t\t\n//\t\t\t\n//\t\t\t\t\n//\t\t}\n//\t\tif(btnClicked.equals(\"NEXTQUESTION\")){\n//\t\t\tSystem.out.println(counter);\n//\t\t\t\n//\t\t\tif(counter <10 ){\n//\t\t\t\twelcome.setText(question[counter]);\n//\t\t\t\tfile.writeToFile(\"Patient.txt\", welcome.getText());\n//\t\t\t\tfile.writeToFile(\"Patient.txt\", answer.getText());\n////\t\t\t\tquestionInfo.setText(question[counter]);\n//\t\t\t\t\n//\t\t\t\tcounter++;\n//\t\t\t\tanswer.setText(\"\");\n//\t\t\t\t\n//\t\t\t\t\n//\t\t\t}\n//\t\t\t if(counter == 10){\n//\t\t\t\t NEXTQUESTION.setText(\"Finish Session\");\n//\t\t\t\t System.out.println(\"Stop\");\n//\t\t\t\t \n//\t\t\t \n//\t\t\t if(btnClicked.equalsIgnoreCase(\"NEXTQUESTION\")){\n//\t\t\t\t \tquestionPanel.setVisible(false);\n//\t\t\t\t\tquestionPanel.setEnabled(false);\n//\t\t\t\t\tquestionButton.setVisible(false);\n//\t\t\t\t\tquestionButton.setEnabled(false);\n//\t\t\t\t\t\n//\t\t\t\t\tfinishPanel.setVisible(true);\n//\t\t\t\t\tfinishPanel.setEnabled(true);\n//\t\t\t }\n//\t\t\t }\n//\t\t}\n//\t\t\t\tint rep = JOptionPane.showConfirmDialog(null, \"Questions are over, are you ready?\", \"Result\", JOptionPane.YES_NO_OPTION);\n//\t\t\t\tif (rep == JOptionPane.YES_OPTION) {\n//\t\t\t\t\tcounter = 0;\n//\t\t\t\t\tquestionPanel.setVisible(false);\n//\t\t\t\t\tquestionPanel.setEnabled(false);\n//\t\t\t\t\tquestionButton.setVisible(false);\n//\t\t\t\t\tquestionButton.setEnabled(false);\n//\t\t\t\t\t\n//\t\t\t\t\tfinishPanel.setVisible(true);\n//\t\t\t\t\tfinishPanel.setEnabled(true);\n//\t\t\t\t} else {\n//\t\t\t\t\tint repFinal = JOptionPane.showConfirmDialog(null, \"Do you want to quit?\", \"WHAT?!!\", JOptionPane.YES_NO_OPTION);\n//\t\t\t\t\tif (repFinal == JOptionPane.YES_OPTION){\n//\t\t\t\t\t\tcounter = 0;\n//\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"GOODBYE\");\n//\t\t\t\t\t\tSystem.exit(0);\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tcounter = 0;\n//\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"VERY GOOD!\");\n//\t\t\t\t\t\tquestionPanel.setVisible(false);\n//\t\t\t\t\t\tquestionPanel.setEnabled(false);\n//\t\t\t\t\t\tquestionButton.setVisible(false);\n//\t\t\t\t\t\tquestionButton.setEnabled(false);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t\t\n \n\t}","title":""},{"docid":"c60871b20bb8819dedd53768c8b0f07f","score":"0.5481989","text":"private void showNextQuestion() {\n /* Hide all quiz types */\n multipleChoice_view.setVisibility(View.GONE);\n singleChoice_view.setVisibility(View.GONE);\n freeText_view.setVisibility(View.GONE);\n\n /* Pick a state number to question about (zero based) */\n stateNumber = getRandom(stateNames.length);\n\n /* Create the question */\n\n /* find least used type of question and select that type */\n int smallestValueIdx = 0;\n for (int i = 0; i < totalQuestionsAskedByType.length; i++) {\n if (totalQuestionsAskedByType[i] < totalQuestionsAskedByType[smallestValueIdx]) {\n smallestValueIdx = i;\n }\n }\n switch (smallestValueIdx) {\n case 0:\n questionType = questionTypeENUM.SINGLE_CHOICE;\n break;\n case 1:\n questionType = questionTypeENUM.MULTIPLE_CHOICE;\n break;\n case 2:\n questionType = questionTypeENUM.FREE_TEXT;\n break;\n }\n\n /* Toggle proper visibilities and question/answer values */\n switch (questionType) {\n case SINGLE_CHOICE:\n questionAnswerIdx = getPossibleAnswers(stateNumber);\n questionText = \"Which city is the capital of \" + stateNames[stateNumber] + \"?\";\n for (int idx = 0; idx < 4; idx++) {\n questionAnswerText[idx] = capitalNames[questionAnswerIdx[idx]];\n }\n\n /* Clear Radio Buttons */\n singleChoice_view.clearCheck();\n\n question_text_view.setText(questionText);\n if (questionAnswerIdx[0] != -1) {\n radioButton1_view.setText(questionAnswerText[0]);\n radioButton1_view.setVisibility(View.VISIBLE);\n } else {\n radioButton1_view.setVisibility(View.GONE);\n }\n\n if (questionAnswerIdx[1] != -1) {\n radioButton2_view.setText(questionAnswerText[1]);\n radioButton2_view.setVisibility(View.VISIBLE);\n } else {\n radioButton2_view.setVisibility(View.GONE);\n }\n\n if (questionAnswerIdx[2] != -1) {\n radioButton3_view.setText(questionAnswerText[2]);\n radioButton3_view.setVisibility(View.VISIBLE);\n } else {\n radioButton3_view.setVisibility(View.GONE);\n }\n\n if (questionAnswerIdx[3] != -1) {\n radioButton4_view.setText(questionAnswerText[3]);\n radioButton4_view.setVisibility(View.VISIBLE);\n } else {\n radioButton4_view.setVisibility(View.GONE);\n }\n\n totalQuestionsAskedByType[0]++;\n singleChoice_view.setVisibility(View.VISIBLE);\n break;\n case MULTIPLE_CHOICE:\n questionAnswerIdx = getPossibleAnswers(stateNumber);\n questionText = getString(R.string.cities_are_not) + stateNames[stateNumber] + \"?\";\n for (int idx = 0; idx < 4; idx++) {\n questionAnswerText[idx] = capitalNames[questionAnswerIdx[idx]];\n }\n question_text_view.setText(questionText);\n\n\n checkbox1_view.setChecked(false);\n if (questionAnswerIdx[0] != -1) {\n checkbox1_view.setText(questionAnswerText[0]);\n checkbox1_view.setVisibility(View.VISIBLE);\n } else {\n checkbox1_view.setVisibility(View.GONE);\n }\n\n checkbox2_view.setChecked(false);\n if (questionAnswerIdx[1] != -1) {\n checkbox2_view.setText(questionAnswerText[1]);\n checkbox2_view.setVisibility(View.VISIBLE);\n } else {\n checkbox2_view.setVisibility(View.GONE);\n }\n\n checkbox3_view.setChecked(false);\n if (questionAnswerIdx[2] != -1) {\n checkbox3_view.setText(questionAnswerText[2]);\n checkbox3_view.setVisibility(View.VISIBLE);\n } else {\n checkbox3_view.setVisibility(View.GONE);\n }\n\n checkbox4_view.setChecked(false);\n if (questionAnswerIdx[3] != -1) {\n checkbox4_view.setText(questionAnswerText[3]);\n checkbox4_view.setVisibility(View.VISIBLE);\n } else {\n checkbox4_view.setVisibility(View.GONE);\n }\n\n totalQuestionsAskedByType[1]++;\n multipleChoice_view.setVisibility(View.VISIBLE);\n break;\n case FREE_TEXT:\n questionText = getString(R.string.capital_of_which) + capitalNames[stateNumber] + \"?\";\n question_text_view.setText(questionText);\n editText_view.setText(\"\");\n freeText_view.setVisibility(View.VISIBLE);\n editText_view.requestFocus();\n totalQuestionsAskedByType[2]++;\n break;\n }\n\n /* Show quiz panel */\n quiz_view.setVisibility(View.VISIBLE);\n }","title":""},{"docid":"ea29af33d8943375d965b1e6dcaf4651","score":"0.5472903","text":"private void onFinish() {\n MainActivity.mDatabaseHelper.updateScore(topic.getId(), score);\n\n //provide dynamic \"finished\" text\n if (score == 5) {\n question.setText(\"WOOHOO!!! PERFECT SCORE: \" + score + \"/5 for \" + topic.getName());\n } else if (score >= 3) {\n question.setText(\"Nice work! You scored: \" + score + \"/5 for \" + topic.getName());\n } else if (score == 0) {\n question.setText(\"Wow you scored \" + score + \"/5 for \" + topic.getName() + \"...better get back to revising\");\n } else {\n question.setText(\"Uh oh... you only scored \" + score + \"/5 for \" + topic.getName());\n }\n //remove the true/false buttons and replace with a back button\n falseButton.setVisibility(View.INVISIBLE);\n trueButton.setVisibility(View.INVISIBLE);\n backButton.setVisibility(View.VISIBLE);\n }","title":""},{"docid":"ab2d18b809cc16379c1be6144aba0470","score":"0.545651","text":"@Override\n\t\t\t\t\tpublic void handle(ActionEvent e)\n\t\t\t\t\t{\n\t\t\t\t\t\t//Increment the number solved\n\t\t\t\t\t\tnumSolved++;\n\t\t\t\t\t\t//When the user solve all questions \n\t\t\t\t\t\tif(quizList.size()==numSolved)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//Set the numsolved field 0 for the future work\n\t\t\t\t\t\t\tnumSolved=0;\n\t\t\t\t\t\t\t//Draw result page\n\t\t\t\t\t\t\tdrawResultPage();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//Otherwise\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//Show the next question\n\t\t\t\t\t\t\tdrawStartWindow();\n\t\t\t\t\t\t}\n\t\t\t\t\t}","title":""},{"docid":"29f4c9bd78be3b9ff1075e4653794bfe","score":"0.5455421","text":"public void displayNextTaskPromptOrganizer(){\n System.out.print(\"Please enter next task (reminder, you can type '14' to see what you can do): \");\n }","title":""},{"docid":"08ff483b95e50f176d14cc14b104e86a","score":"0.54509634","text":"public void displayReportMenu() {\n\t\tSystem.out.println(\"\\nReport Menu\\n\" + \"***************************\\n\" + \"1. Modules taught by\\n\"\n\t\t\t\t+ \"2. Students registered on\\n\" + \"3. Staff who teach student\\n\" + \"4. Staff who teach more than\\n\"\n\t\t\t\t+ \"0. Back\\n\");\n\t}","title":""},{"docid":"35270779bc455c1802e18a09f7c85f86","score":"0.54468036","text":"public void displayNextTaskPromptAttendee(){\n System.out.print(\"Please enter next task (reminder, you can type '7' to see what you can do): \");\n }","title":""},{"docid":"0fa01cd174993d51b78d6ba71fe91f7f","score":"0.5435575","text":"public boolean saveAnswersForCurrentScreen(boolean evaluateConstraints) {\n /**\n * only try to save if the current event is a question or a field-list group\n */\n\n\t\t/*\n * //CHIUDO LA TASTIERA InputMethodManager imm =\n\t\t * (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);\n\t\t * if(imm.isActive()) { try {\n\t\t * //imm.hideSoftInputFromWindow(getWindow().getDecorView\n\t\t * ().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);\n\t\t * imm.hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(),\n\t\t * 0); } catch(Exception e) { Log.e(\"CHIUSURA DELLA TASTIERA\",\n\t\t * \"LA TASTIERA NON AVEVA IL FOCUS\"); e.printStackTrace(); } }\n\t\t */\n\n // CLEAR DI TUTTI I FOCUS DELLE EDIT TEXT\n // mCurrentView.clearFocus(); //<--------------------------12/11/2013 SE\n // DECOMMENTO VA IN ERRORE NEI ROSTER PER I MULTILINE E SINGLELINE\n // MULTIPLI\n\n try {\n if (mFormController.getEvent() == FormEntryController.EVENT_QUESTION\n || (mFormController.getEvent() == FormEntryController.EVENT_GROUP && mFormController\n .indexIsInFieldList())) {\n\n if (mCurrentView != null) {\n\n HashMap answers = ((ODKView) mCurrentView).getAnswers();\n\n ArrayList list = ODKView.getWidget();\n\n for (int i = 0; i < list.size(); i++) {\n //if (list.get(i) instanceof SelectOneWidget|| list.get(i) instanceof SpinnerWidget) {//LL eliminato crea delle anomalie nella inizializzazione degli spinner quando ancora non hanno una risposta\n if (list.get(i) instanceof SelectOneWidget) {\n answers.put(\n list.get(i).getPrompt().getIndex(),\n FormEntryActivity.mFormController\n .getQuestionPrompt(\n list.get(i).getPrompt()\n .getIndex()\n )\n .getAnswerValue()\n );\n }\n }\n\n Set indexKeys = answers.keySet();\n /**\n * check the contraints before to do swipe\n */\n int lestIndex=0;\n for (FormIndex index : indexKeys) {\n if (mFormController.getEvent(index) == FormEntryController.EVENT_QUESTION) {\n int saveStatus = saveAnswer(answers.get(index), index,\n evaluateConstraints);\n\n// if(saveStatus==2)\n// {\n//\n// list.get(lestIndex).mQuestionText.setBackgroundColor(colorHelper.getMandatoryBackgroundColor());\n// list.get(lestIndex).mQuestionText.setTextColor(colorHelper.getMandatoryForeColor());\n//\n// }\n if (arrValidForm.size() == 0) {\n if (evaluateConstraints\n && saveStatus != FormEntryController.ANSWER_OK) {\n createConstraintToast(mFormController\n .getQuestionPrompt(index)\n .getConstraintText(), saveStatus);\n return false;\n }\n } else {\n Log.w(t,\n \"Attempted to save an index referencing something other than a question: \"\n + index.getReference()\n );\n }\n for (int i = 0; i <= arrValidForm.size() - 1; i++) {\n String rep = index.toString().trim()\n .substring(0, 4);\n String splitrep[] = rep.split(\",\");\n String splitrep2[] = arrValidForm.get(i).toString()\n .substring(0, 4).split(\", ,\");\n if (splitrep2[0].toString().equals(rep)) {\n if (evaluateConstraints\n && saveStatus != FormEntryController.ANSWER_OK) {\n createConstraintToast(mFormController\n .getQuestionPrompt(index)\n .getConstraintText(), saveStatus);\n arrValidForm.set(i + 1, \"false\");\n return false;\n } else {\n arrValidForm.set(i + 1, \"true\");\n Log.w(t,\n \"Attempted to save an index referencing something other than a question: \"\n + index.getReference()\n );\n }\n }\n if (i < arrValidForm.size() - 1) {\n i = i + 1;\n }\n }\n }\n lestIndex++;\n }\n } else {\n System.out.println(\"View is null ................ \");\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return true;\n }","title":""},{"docid":"bf1e9dbc697d661dd1bb77a9298f3657","score":"0.5406019","text":"public void displayResults() {\n\t\t\r\n\t\tSystem.out.printf(\"You took %d tries to guess the answer!\\n\", ref);\r\n\t\t\r\n\t\tfor(int x=0; x 0) {\n submitQuizResponse();\n } else {\n finish();\n }\n\n }\n }).setNegativeButton(R.string.label_continue, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n }).show();\n }","title":""},{"docid":"34e202d019e132eb2b76b327d44921a9","score":"0.5396236","text":"private void showAnswer(boolean truth) {\n correct = truth;\n TextView correctionView = findViewById(R.id.correction);\n if (truth) {\n correctionView.setText(\"Correct\\nthe answer was: \" + question.getAnswer());\n correctionView.setTextColor(Color.parseColor(\"#96DC96\"));\n int pointsQuestion = question.getDifficulty();\n if (pointsQuestion == 0) {\n score += 200;\n } else{\n score += question.getDifficulty();\n }\n } else {\n correctionView.setText(\"Wrong\\nthe answer was: \" + question.getAnswer());\n correctionView.setTextColor(Color.parseColor(\"#DC9696\"));\n TextView livesView = findViewById(R.id.lives);\n String livesText = \"Lives: \" + lives;\n if (lives < 1) {\n livesView.setTextColor(Color.parseColor(\"#DC9696\"));\n }\n livesView.setText(livesText);\n }\n correctionView.setVisibility(View.VISIBLE);\n }","title":""},{"docid":"46f24951dcaaa7d791315c8e4eb9aaa6","score":"0.5396159","text":"public void printAnswerIsCorrect(Question question);","title":""},{"docid":"642944334e71df9672e110bb9fc1d80d","score":"0.5393923","text":"private void previousButtonActionPerformed() {\n QuestionPool qPool;\n try {\n qPool = JQuestions.getQuestionPool();\n } catch (NullPointerException npe) {\n // logic.Question Pool doesn't exist !\n return;\n } catch (Exception ex) {\n ex.printStackTrace();\n return;\n }\n\n // 1. save current UserAnswer state.\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\n\n if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.MULTI_CHOICE) {\n\n int options = currentlyDisplayedQuestion.getNumberOfPossibleAnswers();\n for (int i = 0; i < options; i++) {\n currentAnswer.setAnswerBox(i, multiChoicePanel.getAnswerBox(i).isSelected());\n }\n } else if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.DRAG_N_DROP) {\n // The contents of the JTextFields in a DnD question are conveniently\n // stored 'automatically' in the JTextField object itself, so we don't\n // need to update them every time they are displayed.\n //currentAnswer.setAnswerField(x, answerField1.isSelected());....\t\t\t\t\t\t\n }\n\n\n // 2. Display previous record.\n if (qIdsIndex > 0) {\n qIdsIndex -= 1;\n }\n int index = questionIds.get(qIdsIndex);\n currentlyDisplayedQuestion = qPool.getQuestion(index);\n if (currentlyDisplayedQuestion != null) {\n currentRecordIndex = index;\n displayQuestionRecord(currentlyDisplayedQuestion);\n setFieldsEditable(false);\n } else { // No records.\n currentRecordIndex = -1;\n }\n }","title":""},{"docid":"be4656598017179bb137e6b601b54726","score":"0.53875947","text":"private void checkAnswer (char answer)\n {\n if (gamePanel.getStage())\n {\n if (gamePanel.getQuestion().getAnswer()==answer)\n {\n if (currentQuestion==0)\n {\n System.out.println (\"More\");\n gamePanel.getAButton().setEnabled(true);\n gamePanel.getBButton().setEnabled(true);\n gamePanel.getCButton().setEnabled(true);\n gamePanel.getDButton().setEnabled(true);\n Question temp=currentCountry.getRandQuestion(difficulty);\n while (temp==gamePanel.getQuestion())\n {\n temp=currentCountry.getRandQuestion(difficulty);\n }\n gamePanel.setQuestion(temp);\n currentQuestion++;\n }\n else\n {\n System.out.println (\"Exec\");\n levelsRemaining--;\n System.out.println (levelsRemaining);\n alreadyBeen.add(currentCountry);\n showMapPanel();\n }\n }\n else\n {\n System.out.println (\"remove\");\n gamePanel.removeWrongAnswer(answer);\n }\n }\n else\n {\n if (answer-65==gamePanel.getAnswer())\n {\n showCountryPanel();\n System.out.println (\"show country\");\n }\n else\n {\n gamePanel.removeWrongDestination(answer-65);\n System.out.println (\"remove country \" + (answer-65));\n }\n }\n }","title":""},{"docid":"085eed0b37cc806094529dcc37a2e564","score":"0.53823256","text":"public boolean askQuestion() {\n // generate random question and answer choices\n String currentQ = qa.generateRandomQ();\n String [] answers = qa.generateAnswers(currentQ);\n \n // dialogue box\n String s = (String) JOptionPane.showInputDialog (null, currentQ, \n \"Answer carefully, or a life will be deducted!\", \n JOptionPane.PLAIN_MESSAGE, null, \n answers, answers[0]);\n boolean correct = qa.isCorrect(currentQ,s);\n \n // case where user answers incorrectly\n if (!correct) {\n // decrement life, give opponent turn\n if (b.getCurrentTurn()==1){\n playerOneLives--;\n b.currentTurn=2; \n } else {\n playerTwoLives--;\n b.currentTurn = 1;\n } \n } \n return correct; \n }","title":""},{"docid":"2a8443388510e65b3dc526f8b0a343d6","score":"0.5371491","text":"public void printAnswer() {\n\t\tSystem.out.println(\"TODO... FORMAT THIS: \" + this.answer);\n\n\n\t}","title":""},{"docid":"f3da860f831d7c1e51755cce47538ae2","score":"0.5346851","text":"private void checkProgress() {\n\n // Triggered if user is on the final question and this is the user's first time through the questions.\n if (isFirstPass == true && questionIndex == questionArray.length - 1) {\n isFirstPass = false; // Change global variable to show user has finished their first pass through the questions.\n // Cycle through the questions, checking to see if any were skipped\n for (int i = 0; i < questionArray.length; i++) {\n if (questionArray[i].wasAnswered == false) {\n lastChance(); // Since all questions have been viewed and some have been skipped, send user to the Last Chance screen\n break;\n } else if (i == questionArray.length - 1 && questionArray[i].wasAnswered == true) {\n // If execution reaches this line, there are no skipped questions and the Grade Quiz screen will be shown.\n gradeQuiz();\n }\n\n }\n\n } else if (isFirstPass == false && questionIndex == questionArray.length - 1) { // Triggered if user is on the final question and it is user's second time through (skipped questions).\n gradeQuiz(); // Grade Quiz screen will be shown\n } else { // If current question is not the final question (whether first pass or revisitig skipped questions), move on to checking/loading the next question.\n questionIndex++; // Increment questionIndex\n nextQuestion(); // Call the this method again to load the next question\n }\n }","title":""},{"docid":"ee5603b30cdec9b004fb100b7ed5da53","score":"0.5346069","text":"public void results(){\r\n\t\tif (this.hasBegun()){\r\n\t\t\tif (this.getWindow().askForResults()){\r\n\t\t\t\tthis.window.openView(Game.RESULTS);\r\n\t\t\t} else {\r\n\t\t\t\tthis.getWindow().openView(Game.END);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.window.openView(Game.RESULTS);\r\n\t\t}\r\n\t}","title":""},{"docid":"15f49fbcaac7e900599ccde7cd26477c","score":"0.5341297","text":"private void showResult(int level) {\n if (enteredNumber == showNumber){\n gFourNextBtn.setVisible(true);\n }else{\n gFourLabelStart.setText(\"You Lose\");\n gFourLabelStart.setVisible(true);\n save_score_btn.setDisable(false);\n }\n gFourTextField.clear();\n gFourTextField.setVisible(false);\n gFourLabelHeading.setText(\"Level: \"+ level);\n gFourLabelInfo.setText(\"Shown Number: \" + showNumber + \" You Entered: \"+ enteredNumber);\n }","title":""},{"docid":"f2030c9a74983a57b1ec19b0eaa6aa84","score":"0.53400433","text":"public void updateView() {\n nextButton.setEnabled(false);\n\n Question questions = dataBaseManager.selectByID(1);\n questionTx2.setText(\"???\");\n answer = questions.getCorrectAns();\n\n\n questionTx.setText(questions.getQuestion());\n\n\n\n }","title":""},{"docid":"6fb7cd9536b37d02826d32fe170ea657","score":"0.5333004","text":"public BeansReportOralExaminationQuestion() {\n\t\tsuper();\n\t}","title":""},{"docid":"1ed716df8a6b70f8ce7e2be592e9068d","score":"0.5325603","text":"private void show_question() {\n String q = all_questions[current_question]; //Sacamos la info de la pregunta 0 del array all_questions\n String[] parts = q.split(\";\"); //Partimos el string en trozos con ;\n\n group.clearCheck(); //Quitamos la seleccion de la pregunta anterior\n\n text_questions.setText(parts[0]);\n // String[] answers = getResources().getStringArray(R.array.answers); ya no va asi\n\n for(int i=0; i < ids_answers.length;i++)\n {\n RadioButton rb= (RadioButton) findViewById(ids_answers[i]);\n String ans = parts[i+1];\n if(ans.charAt(0)=='*'){ //Ojo que si pones \"\" es para strings y '' es para caracteres\n correct_answer = i; //Estamos creando la variable correct_answer nos sale en rojo, le damos Alt+Enter y le damos a crear campo\n ans = ans.substring(1); // enseña el string a partir del caracter 1\n }\n rb.setText(ans);\n if(answer[current_question]==i)\n {\n rb.setChecked(true);\n }\n }\n if(current_question==0)\n {\n btn_prev.setVisibility(View.INVISIBLE);\n }\n else\n {\n btn_prev.setVisibility(View.VISIBLE);\n }\n if(current_question == all_questions.length-1)\n {\n btn_next.setText(R.string.finish);\n }\n else\n {\n btn_next.setText(R.string.next);\n }\n }","title":""},{"docid":"b190e9a54a238b6171ee90f68591f5fc","score":"0.53173006","text":"public void reportBtnShow() {\r\n\t\treportButton.setVisible(true);\r\n\t}","title":""},{"docid":"551ff234e3b654eff15295610748af11","score":"0.5309476","text":"private void showIncorrect() {\n\t\t// Get all incorrect questions\n\t\tList incorrect = getIncorrect();\n\t\t\n\t\t// Select a random question\n\t\tQuestion randomQ = (Question) randomElement(incorrect);\n\t\t\n\t\t// Display\n\t\tgame.practiceQuestionPage().show(randomQ, \"Incorrect\");\n\t}","title":""},{"docid":"e6ba1d85a619e7390e30f134dc5708e2","score":"0.5286992","text":"private StringBuilder displayWhatStatisticDialog() {\n ConsoleIOUtility.print(\"\");\n return ConsoleIOUtility.read(\n \"- Choose \\\"0\\\" for back to main menu\\n\" + //\n \"- Choose \\\"1\\\" for calculate last page statistics, display statistics of the last page\\n\");\n }","title":""},{"docid":"d783116c8597d5c425a25fa7b9039750","score":"0.5282574","text":"private String askQuestion(String question, List answers) {\n String response = \"\";\n Scanner keyboard = new Scanner(System.in);\n boolean choices = ((answers == null) || answers.size() == 0) ? false : true;\n boolean firstRun = true;\n do {\n if (!firstRun) {\n System.out.println(\"Invalid selection. Please try again.\");\n }\n System.out.print(question);\n if (choices) {\n System.out.print(\"(\");\n for (int i = 0; i < answers.size() - 1; ++i) {\n System.out.print(answers.get(i) + \"/\");\n }\n System.out.print(answers.get(answers.size() - 1));\n System.out.print(\"): \");\n }\n response = keyboard.nextLine();\n firstRun = false;\n if (!choices) {\n break;\n }\n } while (!answers.contains(response));\n return response;\n }","title":""},{"docid":"97b83b75a50062b756b208f0fad550e2","score":"0.5282487","text":"@Override\n\tpublic void receiveReport(QualifiedObservableReport incomingReport)\n\t{\n\t\tif (incomingReport instanceof SendChatMessageReport)\n\t\t{\n\t\t\tString answer = question.getAnswer().toLowerCase().replaceAll(\" \", \"\");\n\t\t\tSendChatMessageReport report = (SendChatMessageReport) incomingReport;\n\t\t\tString userAnswer = report.getMessage().toLowerCase().replaceAll(\" \", \"\");\n\t\t\tif (answer.equals(userAnswer))\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tint playerID = PlayerManager.getSingleton().getPlayerIDFromPlayerName(report.getSenderName());\n\t\t\t\t\tPlayer player = PlayerManager.getSingleton().getPlayerFromID(playerID);\n\n\t\t\t\t\tChatManager.getSingleton().sendChatToClients(\n\t\t\t\t\t\t\tplayer.getPlayerName() + \" answered correctly. The answer was \" + question.getAnswer(),\n\t\t\t\t\t\t\t\"Quiz Bot\", new Position(0, 0), ChatType.Zone);\n\t\t\t\t\tplayer.incrementQuizScore();\n\t\t\t\t\tChatManager.getSingleton().sendChatToClients(\n\t\t\t\t\t\t\tplayer.getPlayerName() + \" score is now \" + player.getQuizScore(), \"Quiz Bot\",\n\t\t\t\t\t\t\tnew Position(0, 0), ChatType.Zone);\n\t\t\t\t} catch (PlayerNotFoundException e)\n\t\t\t\t{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tpullNewQuestion();\n\t\t\t\taskQuestion();\n\t\t\t}\n\t\t}\n\n\t}","title":""},{"docid":"69374de9c32f370b2272ba39e15554f2","score":"0.52721214","text":"@Override\n public void onClick(View v) {\n count++;\n\n if(count 0 || currentGroup > 0);\r\n btnNext.setEnabled(currentEx+1 < getCurrentGroup().size() || currentGroup+1 < getCurrentExFile().size() );\r\n \r\n //TitledBorder tb = (TitledBorder)jPanelQuestion.getBorder();\r\n //tb.setTitle(\"Current Problem: \" + ex.getShortDirective());\r\n \r\n jLabelAboveQuestion.setText((ex.getIndex()+1) + \". \" + ex.getShortDirective());\r\n \r\n jLabelAboveDirections.setText(getCurrentGroup().getNumberedTitle());\r\n \r\n setAnswerEnabledState();\r\n setQuestionText();\r\n\r\n if (txtUserAnswer.isEnabled()) {\r\n txtUserAnswer.requestFocusInWindow();\r\n }\r\n\r\n try {\r\n updatingTree = true; // this prevents recursion when the event is\r\n // fired as if the user is clicking on this node\r\n jTreeExerciseFile.setSelectionPath\r\n (new TreePath\r\n (new Object[] { getCurrentExFile(), \r\n new ExerciseTreeModel.ExerciseGroupWrapper(getCurrentGroup()), \r\n new ExerciseTreeModel.ExerciseWrapper(ex) } ));\r\n jTreeExerciseFile.scrollPathToVisible(jTreeExerciseFile.getSelectionPath());\r\n } finally {\r\n updatingTree = false;\r\n }\r\n\r\n if (ex instanceof HasIdentifierTyper) {\r\n //lblIdentifierTypes.setVisible(true);\r\n IdentifierTyper typer = ((HasIdentifierTyper)ex).getIdentifierTyper();\r\n setCurrentTypingConventions(typer);\r\n lblIdentifierTypes.setText(\"Use the following typing conventions:\\n\" + typer.toString());\r\n ScratchPadWindow.setTypingConventions(typer);\r\n } else {\r\n //lblIdentifierTypes.setVisible(false);\r\n }\r\n\r\n wrongInARowCount = 0;\r\n \r\n previousGroup = getCurrentGroup();\r\n \r\n txtUserAnswer.requestFocusInWindow();\r\n }","title":""},{"docid":"34e9c8d59fd031311941488e4dd2b8f2","score":"0.5185089","text":"private void showPreviousView() {\n /**\n * The answer is saved on a back swipe, but question constraints are\n * ignored.\n */\n\n verifica = true;\n radioFirstCheck = true; // controllo sui radioButton\n ImageWidget.prevView=true;\n// if (done){\n ImageWidget.cropsPicturesIndex-=4;\n ImageWidget.picturesIndex-=2;\n// done = false;\n// }\n // else {\n// ImageWidget.picturesIndex = ImageWidget.picturesIndex - 2;\n// ImageWidget.cropsPicturesIndex -= 4;\n// }\n // TODO: tolto per provare\n // verifica = false;\n//****disabled to allow the user to go back to the previous page even if the current fields are required*******************//\n// if (!saveAnswersForCurrentScreen(EVALUATE_CONSTRAINTS)) {\n// /**\n// * A constraint was violated so a dialog should be showing.\n// */\n// return;\n// }\n if (mFormController.getEvent() != FormEntryController.EVENT_BEGINNING_OF_FORM) {\n int event = mFormController.stepToPreviousEvent();\n\n while (event != FormEntryController.EVENT_BEGINNING_OF_FORM\n && event != FormEntryController.EVENT_QUESTION\n && !(event == FormEntryController.EVENT_GROUP\n && mFormController.indexIsInFieldList() && mFormController\n .getQuestionPrompts().length != 0)) {\n event = mFormController.stepToPreviousEvent();\n }\n View next = createView(event, null, true);\n showView(next, AnimationType.LEFT, null);\n } else {\n mBeenSwiped = false;\n }\n }","title":""},{"docid":"ef20de3a6f60dd36c9bf709330fd2aee","score":"0.5182466","text":"public void waitForFirstSubmission() throws Exception {\n\t\tJFrame frmOpt = new JFrame(); // We are declaring the frame\n\t\tfrmOpt.setAlwaysOnTop(true);// This is the line for displaying it above all windows\n\n\t\tThread.sleep(1000);\n\t\tString s = \"Press 1 For Calculations
Press 2 For Results
\";\n\n\t\tJLabel label = new JLabel(s);\n\t\tJTextPane jtp = new JTextPane();\n\t\tjtp.setSize(new Dimension(480, 10));\n\t\tjtp.setPreferredSize(new Dimension(480, jtp.getPreferredSize().height));\n\t\tlabel.setFont(new Font(\"Arial\", Font.BOLD, 26));\n\t\tUIManager.put(\"OptionPane.minimumSize\", new Dimension(700, 300));\n\t\tUIManager.put(\"TextField.font\", new FontUIResource(new Font(\"Verdana\", Font.BOLD, 20)));\n\t\t// Getting Input from user\n\n\t\tString option = JOptionPane.showInputDialog(frmOpt, label);\n\n\t\tint useroption = Integer.parseInt(option);\n\n\t\tswitch (useroption) {\n\n\t\tcase 1:\n\n\t\t\t// Function for Re-Submission\n\n\t\t\tbreak;\n\n\t\tcase 2:\n\n\t\t\tSystem.out.println(\"Results\");\n\t\t\tif (attemptNo == 0) {\n\t\t\t\ttest = Extent.createTest(\"Resubmission - Confirmation \");\n\t\t\t\ttest.info(\" The test run complete. Please review test result(s)\");\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\ttest = Extent.createTest(\"Resubmission - Confirmation \");\n\t\t\t\ttest.info(\" The test run complete. Please review test result(s)\");\n\t\t\t}\n\n\t\t\tThread.sleep(3000);\n\n\t\t\tdriver.close();\n\t\t\tdriver.quit();\n\t\t\tbreak;\n\n\t\t}\n\n\t}","title":""},{"docid":"a8ad2050c89f785cdf0f0a66c92602e2","score":"0.51785797","text":"private static void presentResults(int[] questionsMissed, boolean passFail, int countWrong, int countCorrect)\r\n {\r\n System.out.println(\"Your results are as follows:\");\r\n System.out.println(\"Question\\tResult\");\r\n System.out.println(\"____________________\");\r\n\r\n for (int question =0;question<10;question++)\r\n {\r\n if (questionsMissed[question] == 99)\r\n {\r\n System.out.println((question+1) + \"\\t\\t\\tCORRECT\");\r\n }\r\n else\r\n {\r\n System.out.println((question+1) + \"\\t\\t\\tWRONG\");\r\n }\r\n }\r\n System.out.println(\"You answered \"+ countCorrect +\" questions correctly.\");\r\n System.out.println(\"You answered \"+ countWrong +\" questions incorrectly.\");\r\n if (passFail)\r\n {\r\n System.out.println(\"Congratulations - You Passed!\");\r\n }\r\n else\r\n {\r\n System.out.println(\"Sorry - You Failed.\");\r\n }\r\n\r\n }","title":""},{"docid":"3c70e5ddb6004ef3e030913a2b5bf34c","score":"0.5171291","text":"public void displayQuiz() {\n a1 = new JLabel(questions.getQuestion(0));\n c1 = new JLabel(questions.getQuestion(1));\n s1 = new JLabel(questions.getQuestion(2));\n e1 = new JLabel(questions.getQuestion(3));\n i1 = new JLabel(questions.getQuestion(4));\n\n a2 = new JLabel(questions.getQuestion(5));\n c2 = new JLabel(questions.getQuestion(6));\n s2 = new JLabel(questions.getQuestion(7));\n e2 = new JLabel(questions.getQuestion(8));\n i2 = new JLabel(questions.getQuestion(9));\n\n a3 = new JLabel(questions.getQuestion(10));\n c3 = new JLabel(questions.getQuestion(11));\n s3 = new JLabel(questions.getQuestion(12));\n e3 = new JLabel(questions.getQuestion(13));\n i3 = new JLabel(questions.getQuestion(14));\n\n a4 = new JLabel(questions.getQuestion(15));\n c4 = new JLabel(questions.getQuestion(16));\n s4 = new JLabel(questions.getQuestion(17));\n e4 = new JLabel(questions.getQuestion(18));\n i4 = new JLabel(questions.getQuestion(19));\n\n displayLastSection();\n }","title":""},{"docid":"afd327bf9581e60e1f520a1f4f4cda4f","score":"0.5170364","text":"public static void ShowResult(PersonGUI[] defaultOrder, PersonGUI[] AccendingOrder, PersonGUI[] descendingOrder) {\n \tJFrame frame = new JFrame(\"Result Window\");\r\n \t\r\n \t//Add content to the window.\r\n \tframe.add(new ResultWindow(defaultOrder,AccendingOrder,descendingOrder), BorderLayout.CENTER);\r\n \tframe.setLocation(100, 50);\r\n \t//Display the window.\r\n \tframe.pack();\r\n \tframe.setVisible(true);\r\n }","title":""},{"docid":"197b1f99a2c06061d4ab772ee0c9d622","score":"0.5166553","text":"private void displayeTest() {\n\n\t\tState[] opt = questions[questionNumber].getOptions();\n\t\to1.setText(opt[0].getName());\n\t\to2.setText(opt[1].getName());\n\t\to3.setText(opt[2].getName());\n\t\to4.setText(opt[3].getName());\n\t\tmTextView.setText((1 + questionNumber) + \"/\" + questionLimit);\n\t\tResources r = new Resources(getAssets(), new DisplayMetrics(), new Configuration());\n\t\tmImgSw.setForeground(r.getDrawable(myImages[questions[questionNumber].getAnswerID()]));\n\t\tmProgressBar.setProgress((questionNumber));\n\t\tquestionNumber++;\n\n\t}","title":""},{"docid":"d8363b524030e7011f064c5f65a4d098","score":"0.51488215","text":"public void displayUserReplyError(){\n System.out.print(\"That user is not one you can reply to, please re-enter the username \" +\n \"of someone who has messaged you or enter \\\"q\\\" to go back to your options: \");\n }","title":""},{"docid":"393a77020c19e71808290d510ec3fcca","score":"0.51432675","text":"private void report(String message) {\n reportBox.setVisible(true);\n reportBox.setText(message);\n }","title":""},{"docid":"221a2b315ef45a56a3f987f6fd80080d","score":"0.5142747","text":"public void EQGenerateNewReport() {\r\n\t\t\tfrmEquipmentInventory.setVisible(true);\t\t\t\t\t\r\n\t\t\t\r\n\t\t\ttabbedPane.setEnabledAt(4, true);\t\t\t//Make sure the generate new report tab is enabled\r\n\t\t\ttabbedPane.setSelectedIndex(4);\t\t\t\t//Make sure the generate new report tab is the one being displayed\r\n//\t\t\ttabbedPane.setEnabledAt(0, false);\t\t\t//Make sure the report equipment problem tab is not enabled\r\n//\t\t\ttabbedPane.setEnabledAt(1, false);\t\t\t//Make sure the update an equipment problem tab is not enabled\r\n//\t\t\ttabbedPane.setEnabledAt(2, false);\t\t\t//Make sure the query equipment tab is not enabled\r\n//\t\t\ttabbedPane.setEnabledAt(3, false);\t\t\t//Make sure the vendor list maintenance tab is not enabled\r\n//\t\t\r\n\t\t}","title":""},{"docid":"0487fbfec36f7098d66f545069084e73","score":"0.5141044","text":"public void nextQuestion() {\n\t\tif (questionNo < noOfQuestions)\n\t\t{\n\t\t\tquestionNo++;\n\t\t\tupdateFields();\n\t\t}\n\t}","title":""},{"docid":"7f166718df19ca1fd4abe288c58bd27f","score":"0.5138324","text":"@Override\n public void onQuestionReturned(Question question) {\n if (currentPoint.getId() == initialPointId) {\n progressDialog.dismiss();\n }\n showQuestionDialog(question);\n }","title":""},{"docid":"8079396624914ff0e0fd1218fa03a9f0","score":"0.51304764","text":"public void displayAllSpeakerMessagePrompt(){\n System.out.println(\"Enter what you want to say to all the speakers (1 line) or type 'q' to exit.\");\n }","title":""},{"docid":"bb9bc257264c670e0a2e46b328bd748d","score":"0.5125862","text":"private void showFeedbackAnswer(boolean isCorrect) {\n if (isCorrect) {\n quizScore += 1;\n feedbackTextView.setText(R.string.feedback_correct);\n feedbackTextView.setTextColor(Color.parseColor(\"#4CAF50\"));\n } else {\n feedbackTextView.setText(R.string.feedback_incorrect);\n feedbackTextView.setTextColor(Color.RED);\n }\n }","title":""},{"docid":"63c9282a3c8837a069ef22dd6ff53c6e","score":"0.5124536","text":"public void checkfullreport(Boolean flag) {\n\t\tif (flag == false)\n\t\t\tMessageBox.DisplayMessage(\"The report is empty\", \"\", \"Park maneger\", AlertType.WARNING);\n\n\t\telse\n\t\t\tMessageBox.DisplayMessage(\"The report was submeted.\", \"\", \"Park maneger\", AlertType.WARNING);\n\t}","title":""},{"docid":"37c2e8911f6a2c4535cd108af9ff8081","score":"0.5118523","text":"private void updateQuestion(){\n mAnsweredQuestions++;\n if (mAnsweredQuestions < mQuestionBank.length) {\n String question = mQuestionBank[mCurrentIndex].getmQuestionText();\n mQuestionTextView.setText(question);\n mButtonA.setText(mQuestionBank[mCurrentIndex].getmAnswerA());\n mButtonB.setText(mQuestionBank[mCurrentIndex].getmAnswerB());\n mButtonC.setText(mQuestionBank[mCurrentIndex].getmAnswerC());\n mButtonD.setText(mQuestionBank[mCurrentIndex].getmAnswerD());\n mCorrectAnswer = mQuestionBank[mCurrentIndex].getmCorrectAnswer();\n } else if (mAnsweredQuestions >= mQuestionBank.length) {\n for (Result r : mResultsBank) {\n uploadResults(r);\n }\n Intent intent = new Intent(QuizActivity.this, QuizResultActivity.class);\n intent.putExtra(\"Result\", mCorrectAnswers);\n intent.putExtra(\"Questions\", mQuestionBank.length);\n startActivity(intent);\n }\n }","title":""},{"docid":"84bdddeb659c86eb318a82aa6a9b70d8","score":"0.51168644","text":"public void showDraw() {\n\t\tString winner = \"The game is a draw.\";\n\t\t// sets size of the JOptionPage\n\t\tUIManager.put(\"\", new Dimension(500, 500));\n\t\t// shows draw and offers to play again or quit\n\t\tJLabel label = new JLabel(\" You guys are the real deal, nice draw! Would you like to play again?\");\n\t\tlabel.setFont(new Font(\"Arial\", Font.BOLD, 24));\n\t\tint n = JOptionPane.showConfirmDialog(null, label, winner, JOptionPane.YES_NO_OPTION);\n\t\t// if Yes is picked JApplet board will reset\n\t\tif (n < 1) {\n\t\t\tclearBoard();\n\t\t} else // the board will close\n\t\t\tSystem.exit(0);\n\t}","title":""},{"docid":"2e771c835654119efc2aa7315a868567","score":"0.5114625","text":"public void askQuestion() {\n\n NotificationCompat.Builder mBuilder =\n new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.miniicon)\n .setContentTitle(\"Habitualizer\")\n .setContentText(\"It's time to post an update.\")\n .setVibrate(new long[] { 0, 1000 } )\n .setLights(Color.MAGENTA, 3000, 3000);\n\n Intent resultIntent = new Intent(this, AskQuestion.class);\n PendingIntent resultPendingIntent =\n PendingIntent.getActivity(\n this,\n 0,\n resultIntent,\n PendingIntent.FLAG_UPDATE_CURRENT\n );\n\n mBuilder.setContentIntent(resultPendingIntent);\n int mNotificationId = 001;\n NotificationManager mNotifyMgr =\n (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n mNotifyMgr.notify(mNotificationId, mBuilder.build());\n\n /* COPY/PASTE OVER */\n }","title":""},{"docid":"e0792cd1d241a612276bb90ad667dbb7","score":"0.5105439","text":"public void actionPerformed(ActionEvent event)\n\t\t\t{\n\t\t\t\tinTimer = true;\n\n\t\t\t\t//if counter is less than 0, check if the answer is incorrect and display the correct answer\n\t\t\t\tif(counter < 0)\n\t\t\t\t{\n\t\t\t\t\tif (incorrect) {\n\t\t\t\t\t\tviewAnswer();\n\t\t\t\t\t\ttimer.start();\n\t\t\t\t\t\tincorrect = false;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\ttimer.stop();\n\t\t\t\t\t\tcloseState = true; //window should not be closed\n\t\t\t\t\t\t//System.out.println(\"Done\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tcounter--; //count down\n\t\t\t\t\tcloseState = false; //window should not be closed\n\t\t\t\t\t//System.out.println(\"Hello\");\n\t\t\t\t}\n\t\t\t}","title":""},{"docid":"94c67bf0d5215ba46c5a6adbcc12f8f7","score":"0.5089781","text":"public void showNextView() {\n// if (formName.equalsIgnoreCase(\"LivestockWalking\") && ImageWidget.cropsPicturesIndex +1 == 10 )\n// done =true;\n// if(formName.equalsIgnoreCase(\"CropsWalking\") && ImageWidget.cropsPicturesIndex +1 == 18 ) //from 18 to 6\n// done =true;\n // verifica = true;\n // TODO: tolto per provare\n verifica = true;\n radioFirstCheck = true;\n if(!roasterRepeatCount) {\n refreshCurrentView(null);\n }\n if (currentPromptIsQuestion()) {\n if (!saveAnswersForCurrentScreen(EVALUATE_CONSTRAINTS)) {\n // A constraint was violated so a dialog should be showing.\n return;\n }\n }\n if (mFormController.getEvent() != FormEntryController.EVENT_END_OF_FORM) {\n int event;\n\n group_skip:\n do {\n event = mFormController\n .stepToNextEvent(FormController.STEP_INTO_GROUP); // repetition event there is a roster\n\n switch (event) {\n case FormEntryController.EVENT_QUESTION:\n case FormEntryController.EVENT_END_OF_FORM:\n View next = null;\n next = createView(event, null, true);\n // next.requestFocus(View.FOCUS_UP);\n\n showView(next, AnimationType.RIGHT, null);\n\n break group_skip;\n case FormEntryController.EVENT_PROMPT_NEW_REPEAT:\n\n createRepeatDialog();\n break group_skip;\n\n case FormEntryController.EVENT_GROUP:\n /**\n * CREATE THE VIEW\n */\n if (mFormController.indexIsInFieldList()\n && mFormController.getQuestionPrompts().length != 0) {\n View nextGroupView = createView(event, null, true);\n nextGroupView.requestFocus(View.FOCUS_UP);\n showView(nextGroupView, AnimationType.RIGHT, null);\n\n if (PreferencesActivity.TO_SAVE_FORM) {\n saveDataToDisk(DO_NOT_EXIT, isInstanceComplete(false), null);\n\n break group_skip;\n } else\n break group_skip;\n }\n /**\n * otherwise it's not a field-list group, so just skip it\n */\n break;\n case FormEntryController.EVENT_REPEAT:\n Log.i(t, \"repeat: \"\n + mFormController.getFormIndex().getReference());\n FormEntryActivity.ROSTER = true;\n /**\n * skip repeats\n */\n break;\n case FormEntryController.EVENT_REPEAT_JUNCTURE:\n Log.i(t, \"repeat juncture: \"\n + mFormController.getFormIndex().getReference());\n /**\n * skip repeat junctures until we implement them\n */\n break;\n default:\n Log.w(t,\n \"JavaRosa added a new EVENT type and didn't tell us... shame on them.\");\n break;\n }\n } while (event != FormEntryController.EVENT_END_OF_FORM);\n\n } else {\n mBeenSwiped = false;\n }\n }","title":""},{"docid":"da14ef65ddbfb8f675b0f811022400ec","score":"0.5087611","text":"private static void displayReportSessionMode() {\n mode = \"displayReportSession\";\n reportSessionScrollPane.setVisible(true);\n selectReportSessionButton.setVisible(true);\n// deleteReportSessionButton.setVisible(true);\n backToReportSessionListButton.setVisible(false);\n reportDetailsScrollPane.setVisible(false);\n reportSessionScrollPane.setVisible(true);\n reportTextArea.setText(\"\");\n displayHtmlButton.setVisible(false);\n }","title":""},{"docid":"09cb558eeda1eda49c6006cefe0360d6","score":"0.50865537","text":"@FXML\n private void doneEditing(Event event) {\n \n boolean finishedEditing = ApplicationManager.getAnswerFromPopUp(\"Are you sure you are finished editing these records?\\nFurther editing can be done in Raw Data Viewer if desired.\");\n\n if (finishedEditing) {\n\n // Checks if the user has achieved their step goal, if so displays a congratulatory message.\n if (stepsAchieved(user)) {\n int stepGoal = user.getStepGoal();\n String stepGoalString = Integer.toString(stepGoal) + \" steps\";\n ApplicationManager.displayPopUp(\"Congratulations\", \"You have achieved your weekly step goal of \" + stepGoalString + \".\" , \"confirmation\");\n }\n\n // Checks if the user has achieved their distance goal and if so displays a congratulatory message. Otherwise there is a chance to display a random progress report.\n if (distanceAchieved(user)) {\n int distanceGoal = user.getDistanceGoal();\n String distanceGoalString = Integer.toString(distanceGoal) + \" kilometers\";\n ApplicationManager.displayPopUp(\"Congratulations\", \"You have achieved your weekly distance goal of \" + distanceGoalString + \".\" , \"confirmation\");\n }\n\n // If no weekly goal has been achieved, display a random progress pop up\n if (!stepsAchieved(user) & !distanceAchieved(user)) {\n displayRandomProgressReport();\n }\n\n toAddWorkout(event);\n }\n }","title":""},{"docid":"6bfb4de64251b4716e0bd677d94c97a3","score":"0.50865054","text":"private void reportSuccessDialog() {\n Log.d(LOG_TAG, \"Report Clicked!\");\n\n // Create popup window\n LayoutInflater inflater = getLayoutInflater();\n View reportSuccessView = inflater.inflate(R.layout.activity_popup_success, null);\n popup = new PopupWindow(reportSuccessView,\n ActionBar.LayoutParams.WRAP_CONTENT, ActionBar.LayoutParams.WRAP_CONTENT);\n popup.showAtLocation(calendarView, Gravity.CENTER,0,0);\n\n // Update the text by the current month\n String m = getCurMonthName();\n String txt = getResources().getString(R.string.month_x_reported_successfully, m);\n TextView reportBox = reportSuccessView.findViewById(R.id.popUpWindow);\n reportBox.setText(txt);\n\n // Sign this month as reported\n reportedMonths.add(calendarView.getCurrentPageDate().getTime());\n totalReported += monthHours;\n\n Button btn = reportSuccessView.findViewById(R.id.buttonclose);\n btn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n popup.dismiss();\n updateReportedMonth();\n updateTextViews();\n }\n });\n }","title":""},{"docid":"e5f881c852e8706ed2dc40205137d718","score":"0.5085143","text":"public void displayAndChooseAnswerChoices(){\n\t\tanswer = null; //Sets the correct answer to null. \n\t\t//Creates 3 JRadioButtons - one for each answer choice. \n\t\tJRadioButton answer1 = new JRadioButton(\"\" + questions[arrayIndex].answerChoices[0] + \"\");\n\t\tanswer1.setFont(new Font((\"SansSerif\"), Font.PLAIN,16));\n\t\tJRadioButton answer2 = new JRadioButton(\"\" + questions[arrayIndex].answerChoices[1] + \"\");\n\t\tanswer2.setFont(new Font((\"SansSerif\"), Font.PLAIN,16));\n\t\tJRadioButton answer3 = new JRadioButton(\"\" + questions[arrayIndex].answerChoices[2] + \"\");\n\t\tanswer3.setFont(new Font((\"SansSerif\"), Font.PLAIN,16));\n\t\t//System.out.println(\"\"+questions[arrayIndex].answerChoices[0]+\"\");\n\t\t//System.out.println(\"\"+questions[arrayIndex].answerChoices[1]+\"\");\n\t\t//System.out.println(\"\"+questions[arrayIndex].answerChoices[2]+\"\");\n\n\t\t//ButtonGroup that controls the answer choices. \n\t\tButtonGroup answerGroup = new ButtonGroup();\n\t\tanswerGroup.add(answer1);\n\t\tanswerGroup.add(answer2);\n\t\tanswerGroup.add(answer3);\n\t\t\t\t\t\t\n\t\tCheckForCorrectAnswer cfca = new CheckForCorrectAnswer();\n\t\tanswer1.addActionListener(cfca);\n\t\tanswer2.addActionListener(cfca);\n\t\tanswer3.addActionListener(cfca);\n\t\t\t\t\n\t\t//Sets answer to the correct answer. \n\t\tif(questions[arrayIndex].correctAnswer==0){\n\t\t answer = answer1;\n\t\t}\t\t\t\t\n\t\telse if(questions[arrayIndex].correctAnswer ==1){\n\t\t answer = answer2;\n\t\t}\t\t\t\t\n\t\telse if(questions[arrayIndex].correctAnswer ==2){\n\t\t answer = answer3;\n\t\t}\n\t\t\t\t\n\t\t//Creates a JPanel to put the answer choices on. \n\t\tJPanel radioPanel = new JPanel(new GridLayout(3,1));\n\t\tradioPanel.setPreferredSize(new Dimension(400,400));\n\t\t//radioPanel.setBounds(100,100,150,150);\n\t\tradioPanel.add(answer1);\n\t\tradioPanel.add(answer2);\n\t\tradioPanel.add(answer3);\n\n\t\tquestionPanel.add(radioPanel);\n\t\trepaint();\n\t\t\t\t\t\n\t }","title":""},{"docid":"a8c2fa633628c64c8fbcc0bd5b3f51bc","score":"0.5074458","text":"public void checkAnswers(){\n\n getAnswers();\n\n //set initial values for wright(true) or wrong false) results\n String result1 = \"Wrong\";\n String result2 = \"Wrong\";\n String result3 = \"Wrong\";\n String result4 = \"Wrong\";\n String allResults = \"\";\n int numOfRightAnswers=0;\n\n //for addition\n if (answer1 == number1 + number2){\n result1 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n //for subtraction\n if (answer2 == number1 - number2) {\n result2 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n //for multiplication\n if (answer3 == number1 * number2) {\n result3 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n //for inequality\n if (answer4 == R.id.trueRadioButton && number1>number2){\n result4 = \"Right\";\n numOfRightAnswers+=1;\n }\n else if (answer4 == R.id.falseRadioButton && number1 optionValues = quest.getOptions();\\n option1.setText(optionValues.get(0));\\n option2.setText(optionValues.get(1));\\n //If the question type is multiple, then set the last two options\\n // and make it visible\\n if (quest.getType().equalsIgnoreCase(\\\"multiple\\\")) {\\n option3.setText(optionValues.get(2));\\n option4.setText(optionValues.get(3));\\n option3.setVisibility(View.VISIBLE);\\n option4.setVisibility(View.VISIBLE);\\n } else {\\n //else make the last two options invisible\\n option3.setVisibility(View.INVISIBLE);\\n option4.setVisibility(View.INVISIBLE);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c450601ae4eae9d3924613c562977030\",\n \"score\": \"0.5727993\",\n \"text\": \"public String printReport() {\\n\\t\\treturnValue = \\\"\\\";\\n\\t\\tfor (int qid : this.questionNumberMap.keySet()) {\\n\\n\\t\\t\\tif (qid>1) {\\n\\t\\t\\t\\treturnValue += \\\"\\\\n\\\\n\\\";\\n\\t\\t\\t}\\n\\t\\t\\treturnValue += \\\"Question \\\" + qid + \\\": \\\";\\n\\n\\t\\t\\treturnValue += questionNumberMap.get(qid).toString();\\n\\t\\t\\t\\n\\t\\t\\tQuestionStrategy currentQuestion = questionNumberMap.get(qid);\\n\\n\\t\\t\\tArrayList options = currentQuestion.getOptions();\\n\\n\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tanswerData = database.printSeparatedReport(qid);\\n\\t\\t\\t} catch (SQLException e) { \\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\tSystem.out.println(\\\"Error in printReport\\\");\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tif (options != null) { //question is of type multiple choice\\n\\t\\t\\t\\tint i = 0;\\n\\t\\t\\t\\tfor (String answer : answerData.keySet()) {\\n\\t\\t\\t\\t\\tint count = answerData.get(answer)-1;\\t\\t\\n\\t\\t\\t\\t\\treturnValue += \\\"\\\\nAnswer: \\\" + options.get(i) + \\\" ➪ Tally: \\\" + count;\\n\\t\\t\\t\\t\\ti++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\tfor (String answer : answerData.keySet()) {\\n\\t\\t\\t\\t\\tint count = answerData.get(answer);\\t\\t\\n\\t\\t\\t\\t\\treturnValue += \\\"\\\\nAnswer: \\\" + answer + \\\" ➪ Tally: \\\" + count;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t//System.out.println(returnValue);\\n\\t\\treturn returnValue;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e01878fc427092e04b4bfeeda3f152d4\",\n \"score\": \"0.56861746\",\n \"text\": \"public void AskForCorrectAnswer() {\\n\\t\\tfor (int i = 0; i < GetQuestions().size(); i++ ) {\\n\\t\\t\\tQuestion currentQuestion = GetQuestions().get(i);\\n\\t\\t\\tSystem.out.println(currentQuestion.GetQuestion());\\n\\t\\t\\t\\n\\t\\t\\tString answer;\\n\\t\\t\\tResponseCorrectAnswer rca = null;\\n\\t\\t\\t\\n\\t\\t\\t// Call super.AddResponse(), check if the response lives in Survey or Test\\n\\t\\t\\tswitch ( currentQuestion.GetQuestionType() ) {\\n\\t\\t\\tcase \\\"TrueFalse\\\":\\n\\t\\t\\t\\tSystem.out.println(\\\"What is the correct answer? (T/F\\\");\\n\\t\\t\\t\\tanswer = MainDriver.scanner.next();\\n\\t\\t\\t\\tString trueFalse = null;\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (answer.equals(\\\"T\\\") ) {\\n\\t\\t\\t\\t\\ttrueFalse = ((TrueFalse) currentQuestion).GetOptions(0);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if (answer.equals(\\\"F\\\")) {\\n\\t\\t\\t\\t\\ttrueFalse = ((TrueFalse) currentQuestion).GetOptions(1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\trca = new ResponseCorrectAnswer(trueFalse);\\n\\t\\t\\t\\tcurrentQuestion.AddCorrectAnswer(rca);\\n\\t\\t\\t\\tSystem.out.println(currentQuestion.GetCorrectAnswer().GetResponse());\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"MultipleChoice\\\":\\n\\t\\t\\t\\tSystem.out.println(\\\"Which of these options? (1 - 4)\\\");\\n\\t\\t\\t\\tcurrentQuestion.Display();\\n//\\t\\t\\t\\tint choice = MainDriver.scanner.nextInt();\\n//\\t\\t\\t\\tcurrentQuestion.choices[choice]\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"Essay\\\":\\n\\t\\t\\t\\tSystem.out.println(\\\"What is the correct answer?\\\");\\n\\t\\t\\t\\tanswer = MainDriver.scanner.next();\\n\\t\\t\\t\\trca = new ResponseCorrectAnswer(answer);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"ShortAnswer\\\":\\n\\t\\t\\t\\tSystem.out.println(\\\"What is the correct answer?\\\");\\n\\t\\t\\t\\tanswer = MainDriver.scanner.next();\\n\\t\\t\\t\\trca = new ResponseCorrectAnswer(answer);\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"Ranking\\\":\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"Matching\\\":\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2d827b0b6464aaafb25354d97f66ea8\",\n \"score\": \"0.5679266\",\n \"text\": \"private void nextButtonActionPerformed() {\\n QuestionPool qPool;\\n\\n try {\\n qPool = JQuestions.getQuestionPool();\\n } catch (NullPointerException npe) {\\n return;\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n return;\\n }\\n\\n // 1. save current UserAnswer state.\\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\\n\\n if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.MULTI_CHOICE) {\\n\\n int options = currentlyDisplayedQuestion.getNumberOfPossibleAnswers();\\n for (int i = 0; i < options; i++) {\\n currentAnswer.setAnswerBox(i, multiChoicePanel.getAnswerBox(i).isSelected());\\n }\\n } else if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.DRAG_N_DROP) {\\n // The contents of the JTextFields in a DnD question are conveniently\\n // stored 'automatically' in the JTextField object itself, so we don't\\n // need to update them every time they are displayed.\\n //currentAnswer.setAnswerField(x, answerField1.isSelected());....\\t\\t\\t\\t\\t\\t\\n }\\n\\n // 2. isCorrect()\\n boolean correct = isCorrect(currentlyDisplayedQuestion, currentAnswer);\\n\\n // 3. Store the correctness.\\n currentAnswer.setCorrectness(correct);\\n\\n if (!isExam) { // Give instant feedback\\n displayCorrectness(correct);\\n }\\n\\n\\n if ((nQuestions == 0) && (qIdsIndex >= qPool.getSize() - 1)\\n || ((nQuestions > 0) && (qIdsIndex < nQuestions))) {\\n\\n finished();\\n\\n return;\\n }\\n\\n\\n // 4. If not end, display next record.\\n qIdsIndex += 1;\\n\\n\\n int index = questionIds.get(qIdsIndex);\\n currentlyDisplayedQuestion = qPool.getQuestion(index);\\n if (currentlyDisplayedQuestion != null) {\\n currentRecordIndex = index;\\n displayQuestionRecord(currentlyDisplayedQuestion);\\n setFieldsEditable(false);\\n } else { // No records.\\n currentRecordIndex = -1;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a35afb65f13cc4283432c96eb9260807\",\n \"score\": \"0.5655741\",\n \"text\": \"public void sendMessageLessonQuizNext(View view) {\\n if (quiz.size() > count) {\\n //---- display next quiz\\n displayQuiz();\\n enableRadioButtons();\\n tvFeedback.setVisibility(View.INVISIBLE);\\n buttonNext.setVisibility(View.INVISIBLE);\\n buttonSubmit.setVisibility(View.VISIBLE);\\n } else {\\n //---- close Activity and go back to previous activity\\n Intent returnIntent = new Intent();\\n returnIntent.putExtra(\\\"result\\\",1);\\n setResult(Activity.RESULT_OK,returnIntent);\\n finish();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9ffbc951051e0e64181cabd594fdb51\",\n \"score\": \"0.56053364\",\n \"text\": \"public void startRecordDifficulty(boolean isFirstQuestions) {\\n finished = false;\\n startTime = System.nanoTime(); // Beginning of the recording\\n\\n // Create new frame on top of the main window\\n JFrame tempFrame = new JFrame(\\\"Measuring Perceived Difficulty\\\");\\n tempFrame.setUndecorated(true);\\n DisplayerComponent dc = new DisplayerComponent(this.frame.getWidth()+10, this.frame.getHeight()+10);\\n\\n //this.mariocomponent.pause();\\n setFrame(tempFrame);\\n tempFrame.setContentPane(dc);\\n tempFrame.setResizable(false);\\n //tempFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\\n tempFrame.addWindowListener(new WindowAdapter() {\\n @Override\\n public void windowClosing(WindowEvent e) {\\n // Do nothing. User has to submit his answers.\\n }\\n });\\n tempFrame.pack();\\n\\n if (isFirstQuestions) {\\n //loadFirstQuestions(dc);\\n loadSwapLevelQuestions(dc, true);\\n } else {\\n loadSwapLevelQuestions(dc, false);\\n }\\n\\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\\n tempFrame.setLocation((screenSize.width - frame.getWidth()) / 2, (screenSize.height - frame.getHeight()) / 2);\\n tempFrame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"887d58b61a1c180fd100b8a43162196a\",\n \"score\": \"0.5603807\",\n \"text\": \"public void displayAnswers() {\\n int answerNumber = 1;\\n for(Map.Entry answer : answers.entrySet()) {\\n System.out.println(answerNumber + \\\". \\\" + answer.getKey());\\n answerNumber++;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d52cec493f13cf4265b75a2e2a4517\",\n \"score\": \"0.56008804\",\n \"text\": \"public void displayQuestion(Question question, String nickname);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfa84d49e7f15edd492654549b95992d\",\n \"score\": \"0.5600683\",\n \"text\": \"public void displayNextTaskPromptSpeaker(){\\n System.out.print(\\\"Please enter next task (reminder, you can type '5' to see what you can do): \\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"968e4f2a1237b1d7fe3f0cc07c9aebcd\",\n \"score\": \"0.5544336\",\n \"text\": \"private void checkAnswerAndDisplayNext() {\\n\\t\\tboolean correct = false;\\n\\t\\t\\n\\t\\tString attempt = _attemptInput.getText();\\n\\t\\t\\n\\t\\t// Make it case-insensitive and trim all leading and trailing spaces.\\n\\t\\tattempt = attempt.toLowerCase();\\n\\t\\tattempt = attempt.trim();\\n\\t\\t\\n\\t\\tPracticeSolutionScreen solScrn = new PracticeSolutionScreen(_pane, _clue, _answers[0]);\\n\\t\\t\\n\\t\\t// A for loop is used because there can be multiple solutions and we want to \\n\\t\\t// check if the attempt matches with at least one solution.\\n\\t\\tfor (String solution : _answers) {\\n\\t\\t\\tsolution = solution.toLowerCase();\\n\\t\\t\\tsolution = solution.trim();\\n\\t\\t\\t\\n\\t\\t\\t//For clues that have multiple answers separated by \\\",\\\"\\n\\t\\t\\tif (solution.contains(\\\",\\\")) {\\n\\t\\t\\t\\tString[] solutions = solution.split(\\\",\\\");\\n\\t\\t\\t\\tString[] attemptAns = attempt.split(\\\",\\\");\\n\\t\\t\\t\\tif (solutions.length == attemptAns.length) {\\n\\t\\t\\t\\t\\tint count = 0;\\n\\t\\t\\t\\t\\tfor (int i = 0; i < solutions.length; i++) {\\n\\t\\t\\t\\t\\t\\tif (solutions[i].trim().equals(attemptAns[i].trim())) {\\n\\t\\t\\t\\t\\t\\t\\tcount++;\\n\\t\\t\\t\\t\\t\\t\\tSystem.out.println(count);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tSystem.out.println(count);\\n\\t\\t\\t\\t\\tif (count == solutions.length) {\\n\\t\\t\\t\\t\\t\\tcorrect = true;\\n\\t\\t\\t\\t\\t\\tsolScrn.displayCorrect();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if (attempt.equals(solution)) {\\n\\t\\t\\t\\tsolScrn.displayCorrect();\\n\\t\\t\\t\\tcorrect = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\tif (!correct) {\\n\\t\\t\\t_remainingAttempts--;\\n\\t\\t\\t\\n\\t\\t\\t// Only add wrongText when two attempts remain to prevent from duplicate \\n\\t\\t\\t// children from being added.\\n\\t\\t\\t\\n\\t\\t\\tSoundAdjuster adjuster = new SoundAdjuster(\\\"Incorrect\\\", false);\\n\\n\\t\\t\\tif (_remainingAttempts == 2) {\\n\\t\\t\\t\\t_wrongText.getStyleClass().remove(\\\"invisible-component\\\");\\n\\t\\t\\t\\tadjuster.speak(adjuster.getText());\\n\\t\\t\\t}\\n\\n\\t\\t\\t\\n\\t\\t\\tif (_remainingAttempts == 1) {\\n\\t\\t\\t\\t_hint.getStyleClass().remove(\\\"invisible-component\\\");\\n\\t\\t\\t\\tadjuster.speak(\\\"The first letter of the answer is \\\" + _answers[0].charAt(0));\\n\\t\\t\\t} else if (_remainingAttempts < 1) {\\n\\t\\t\\t\\tsolScrn.displayIncorrect();\\n\\t\\t\\t}\\n\\n\\t\\t\\t_attemptsCountText.setText(\\\"Number of attempts remaining: \\\" + (_remainingAttempts));\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5714d9b28a054f0469188fc2291f479\",\n \"score\": \"0.5541291\",\n \"text\": \"public void endQuiz()\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tgame_interface_manager.showResults();\\r\\n\\r\\n\\t\\t\\t\\trecord_manager.checkOnRecord(gamer_name, Math.round(100*right_answers / question_amount));\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6f7be75d746fbf5ca553d445f6304f9\",\n \"score\": \"0.55318964\",\n \"text\": \"private static void printReport(Connection c, Scanner k, String ssn, String answer) throws SQLException {\\r\\n\\t // if yes (has dependents) print info, works_on, dependents\\r\\n \\tif(answer.equals(\\\"yes\\\")) {\\r\\n\\t\\t printEmployeeInfo(c, ssn);\\r\\n\\t\\t printEmployeeWorks_on(c, ssn);\\r\\n\\t\\t PrintEmployeeDependent(c, ssn);\\r\\n\\t }\\r\\n \\t// if no (no dependents) just print info and works_on\\r\\n\\t else {\\r\\n\\t\\t printEmployeeInfo(c, ssn);\\r\\n\\t\\t printEmployeeWorks_on(c, ssn);\\r\\n\\t }\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"799930244e6b76770c80e508d4b3ef4b\",\n \"score\": \"0.5529342\",\n \"text\": \"private void updateQuestion() {\\n if (mQuestionNumber < mQuestionLibrary.getLength()) {\\n // set the text for new question, and new 4 alternative to answer on four buttons\\n mQuestionView.setText(mQuestionLibrary.getQuestion(mQuestionNumber));\\n mButtonChoice1.setText(mQuestionLibrary.getChoice(mQuestionNumber, 1));\\n mButtonChoice2.setText(mQuestionLibrary.getChoice(mQuestionNumber, 2));\\n mButtonChoice3.setText(mQuestionLibrary.getChoice(mQuestionNumber, 3));\\n mButtonChoice4.setText(mQuestionLibrary.getChoice(mQuestionNumber, 4));\\n mButtonChoice5.setText(mQuestionLibrary.getChoice(mQuestionNumber, 5));\\n\\n\\n\\n mAnswer = mQuestionLibrary.getCorrectAnswer(mQuestionNumber);\\n\\n\\n mQuestionNumber++;\\n } else {\\n Toast.makeText(QuizActivity.this, \\\"Venha ser o nosso aluno ! Você terá acesso a novas questões diárias e ainda terá 'recompensas'\\\", Toast.LENGTH_LONG).show();\\n Intent intent = new Intent(QuizActivity.this, HighestScoreActivity.class);\\n intent.putExtra(\\\"score\\\", mScore); // pass the current score to the second screen\\n startActivity(intent);\\n finish();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bef3011b1179bedd4c740a4477e0d7c4\",\n \"score\": \"0.5525498\",\n \"text\": \"private void displayNextFightDialogue(){\\n this.state=FIGHT_STATE.SELECT_ACTION;\\n dialogueBox.setVisible(true);\\n dialogueBox.animateText(\\\"What do you wnat to do next ?\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2418fcf5008d98a5d26d0f0a930a01e7\",\n \"score\": \"0.55159104\",\n \"text\": \"void showCorrectAnswer();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3d1c2d9fca002c1a48732801c9a9ec7\",\n \"score\": \"0.550629\",\n \"text\": \"public void askQuestion() {\\n System.out.println(this.prompt);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d63212c9056e1f842f74f1a9a60ec40c\",\n \"score\": \"0.55060005\",\n \"text\": \"private void setViewAfterQuestionAttempt(boolean isCorrectResponse) {\\n\\n if (isCorrectResponse) {\\n mTopViewBinding.chronometerQuestionTimer.stop();\\n if (mQuestionList.size() == mQuestionCounter) {\\n mBinding.buttonDone.setText(getString(R.string.finish));\\n } else {\\n mBinding.buttonDone.setText(getString(R.string.next));\\n }\\n hideHintLayouts();\\n } else {\\n if (mUserAttemptPerQuestion < mMaxAttemptLimitPerQuestion) {\\n mBinding.buttonDone.setText(getString(R.string.submit));\\n Question question = mQuestionList.get(mQuestionCounter - 1);\\n mBinding.layoutChoices.removeAllViews();\\n setChoicesView(question);\\n } else if (mQuestionList.size() == mQuestionCounter) {\\n mTopViewBinding.chronometerQuestionTimer.stop();\\n mBinding.buttonDone.setText(getString(R.string.finish));\\n hideHintLayouts();\\n } else {\\n mTopViewBinding.chronometerQuestionTimer.stop();\\n mBinding.buttonDone.setText(getString(R.string.next));\\n hideHintLayouts();\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52cb6da16affa3111da1f67129e53eac\",\n \"score\": \"0.55037755\",\n \"text\": \"private void showPracticeEndDialog(QuizResponse quizResponse, ArrayList quizAnalyticsConfigData) {\\n\\n LayoutQuizEndBinding view = DataBindingUtil.inflate(LayoutInflater.from(getBaseContext()), R.layout.layout_quiz_end, null, false);\\n final Dialog dialog = new Dialog(QuizPlayerActivity.this);\\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\\n dialog.setCancelable(false);\\n dialog.setContentView(view.getRoot());\\n setQuizDataOnEndDialog(view, quizResponse, quizAnalyticsConfigData);\\n view.textViewGreetingMessage.setText(getString(R.string.quiz_end_response_submitted));\\n view.lottie.setVisibility(View.GONE);\\n\\n view.buttonClose.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n //sendPointsToServer();\\n dialog.dismiss();\\n mRxBus.send(new RefreshLRPAAccordingToType(ConstantUtil.TYPE_LEARN));\\n finish();\\n }\\n });\\n\\n\\n WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);\\n Display display = wm.getDefaultDisplay();\\n DisplayMetrics metrics = new DisplayMetrics();\\n display.getMetrics(metrics);\\n Double dialogWidth = metrics.widthPixels * 0.95;\\n Double dialogHeight = metrics.heightPixels * 0.85;\\n Window win = dialog.getWindow();\\n win.setLayout(dialogWidth.intValue(), ViewGroup.LayoutParams.WRAP_CONTENT);\\n\\n\\n dialog.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65b2dfde7900c931e980879771e2066f\",\n \"score\": \"0.5495376\",\n \"text\": \"public void printAnswerIsIncorrect (Question question);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09bd339fb127bd628cb5c7f664cfe2e3\",\n \"score\": \"0.5489168\",\n \"text\": \"public void viewAnswer () {\\n\\t\\tif (tfQ.getAnswer()) {\\n\\t\\t\\tbtnTrue.setBackground(green);\\n\\t\\t\\tbtnTrue.setEnabled(false);\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tbtnFalse.setBackground(green);\\n\\t\\t\\tbtnFalse.setEnabled(false);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc221efd71af713d7a86f4fd96083cbd\",\n \"score\": \"0.54887587\",\n \"text\": \"@Override\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\tJButton source = (JButton)e.getSource();\\n\\t\\tString btnClicked = e.getActionCommand();\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"Start Session\\\")){\\n\\t\\t\\tsource.setText(\\\"Next\\\");\\n\\t\\t\\twelcome.setVisible(false);\\n\\t\\t\\tquestionInfo.setText(question[counter]);\\n\\t\\t\\tquestionInfo.setFont(questionI);\\n\\t\\t\\tmainPanel.add(questionInfo, BorderLayout.PAGE_START);\\n\\t\\t\\tmainPanel.add(answer, BorderLayout.CENTER);\\n\\t\\t\\tSystem.out.println(counter);\\n\\t\\t\\tcounter++;\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\telse if(btnClicked.equalsIgnoreCase(\\\"Next\\\")){\\n\\t\\t\\tfile.writeToFile(\\\"Patient.txt\\\", questionInfo.getText());\\n\\t\\t\\tfile.writeToFile(\\\"Patient.txt\\\", answer.getText());\\n\\t\\t\\tfile.writeToFile(\\\"PatientAnswer.txt\\\", answer.getText());\\n\\t\\t\\tif(counter < question.length){\\n\\t\\t\\tSystem.out.println(counter);\\n\\t\\t\\tquestionInfo.setText(question[counter]);\\n\\n\\n\\t\\t\\tanswer.setText(\\\"\\\");\\n\\t\\t\\tcounter++;\\n\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\telse{\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tanswer.setText(\\\"\\\");\\n\\t\\t\\t\\tsource.setText(\\\"Finish\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tint rep = JOptionPane.showConfirmDialog(null, \\\"Questions are over, are you ready for the result?\\\", \\\"Result\\\", JOptionPane.YES_NO_OPTION);\\n\\t\\t\\t\\tif (rep == JOptionPane.YES_OPTION) {\\n\\t\\t\\t\\t\\tanswer.setVisible(false);\\n\\t\\t\\t\\t\\tquestionInfo.setVisible(false);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tint repFinal = JOptionPane.showConfirmDialog(null, \\\"Do you want to quit?\\\", \\\"WHAT?!!\\\", JOptionPane.YES_NO_OPTION);\\n\\t\\t\\t\\t\\tif (repFinal == JOptionPane.YES_OPTION){\\n\\t\\t\\t\\t\\t\\tcounter = 0;\\n\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"GOODBYE\\\");\\n\\t\\t\\t\\t\\t\\tSystem.exit(0);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Please Press Finish Button!\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}//end Start Session\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"Finish\\\")){\\n\\t\\t\\tSTARTSESSION.setVisible(false); //hide next/finish button\\n\\t\\t\\tmainPanel.add(textarea, BorderLayout.CENTER);\\n\\t\\t\\tStartPanel.add(VIEWALLQUESTION);\\n\\t\\t\\tStartPanel.add(VIEWLONGESTWORD);\\n\\t\\t\\tStartPanel.add(VIEWSHORTESTWORD);\\n\\t\\t\\tStartPanel.add(SORTWORDALPHABETICALLY);\\n\\t\\t\\tStartPanel.add(VIEWANALYSIS);\\n\\t\\t\\t\\n\\t\\t\\tscroll = new JScrollPane(textarea);\\n\\t\\t\\tscroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\\n\\t\\t\\tmainPanel.add(scroll);\\n\\t\\t}\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"View all Q & A\\\")){\\n\\t\\t\\ttextarea.setText(ReadFile(\\\"Patient.txt\\\"));\\n\\t\\t}\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"View longest word\\\")){\\n\\t\\t\\ttry {\\n\\t\\t\\t\\ttextarea.setText(getLongestWords(\\\"PatientAnswer.txt\\\"));\\n\\t\\t\\t} catch (FileNotFoundException e1) {\\n\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"View shortest word\\\")){\\n\\t\\t\\ttry {\\n\\t\\t\\t\\ttextarea.setText(getShortestWords(\\\"PatientAnswer.txt\\\"));\\n\\t\\t\\t} catch (FileNotFoundException e1) {\\n\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"Sort answer alphabetically\\\")){\\n\\t\\t\\tSortingAlphabetically(\\\"PatientAnswer.txt\\\");\\n\\t\\t\\ttextarea.setText(ReadFile(\\\"PatientAnswer.txt\\\"));\\n\\t\\t}\\n\\t\\tif(btnClicked.equalsIgnoreCase(\\\"View analysis\\\")){\\n\\t\\t\\tString l = null;\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tl = getLongestWords(\\\"PatientAnswer.txt\\\");\\n\\t\\t\\t} catch (FileNotFoundException e1) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t\\tString s = null;\\n\\t\\t\\ttry {\\n\\t\\t\\t\\ts = getShortestWords(\\\"PatientAnswer.txt\\\");\\n\\t\\t\\t} catch (FileNotFoundException e1) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t\\tString analysis = \\\"Wow \\\"+ \\\"[\\\" + l + \\\"]\\\" + \\\" and \\\" + \\\"[\\\" + s + \\\"]\\\" + \\\" seemed to be very important to you!\\\" ;\\n\\t\\t\\tJOptionPane.showMessageDialog(null, analysis);\\n\\t\\t}\\n\\t\\t\\n\\t\\t//Start Sesson Button\\n//\\t\\tif(btnClicked.equals(\\\"STARTSESSON\\\")){\\n////\\t\\t\\twelcome.setVisible(false);\\n////\\t\\t\\twelcome.setEnabled(false);\\n//\\t\\t\\tStartPanel.setVisible(false);\\n//\\t\\t\\tStartPanel.setEnabled(false);\\n//\\t\\t\\t\\n//\\t\\t\\tquestionPanel.add(welcome, BorderLayout.PAGE_START);\\n//\\t\\t\\tquestionPanel.setVisible(true);\\n//\\t\\t\\tquestionPanel.setEnabled(true);\\n//\\t\\t\\tquestionButton.setVisible(true);\\n//\\t\\t\\tquestionButton.setEnabled(true);\\n//\\t\\t\\t\\n//\\t\\t\\t\\n//\\t\\t\\t\\t\\n//\\t\\t}\\n//\\t\\tif(btnClicked.equals(\\\"NEXTQUESTION\\\")){\\n//\\t\\t\\tSystem.out.println(counter);\\n//\\t\\t\\t\\n//\\t\\t\\tif(counter <10 ){\\n//\\t\\t\\t\\twelcome.setText(question[counter]);\\n//\\t\\t\\t\\tfile.writeToFile(\\\"Patient.txt\\\", welcome.getText());\\n//\\t\\t\\t\\tfile.writeToFile(\\\"Patient.txt\\\", answer.getText());\\n////\\t\\t\\t\\tquestionInfo.setText(question[counter]);\\n//\\t\\t\\t\\t\\n//\\t\\t\\t\\tcounter++;\\n//\\t\\t\\t\\tanswer.setText(\\\"\\\");\\n//\\t\\t\\t\\t\\n//\\t\\t\\t\\t\\n//\\t\\t\\t}\\n//\\t\\t\\t if(counter == 10){\\n//\\t\\t\\t\\t NEXTQUESTION.setText(\\\"Finish Session\\\");\\n//\\t\\t\\t\\t System.out.println(\\\"Stop\\\");\\n//\\t\\t\\t\\t \\n//\\t\\t\\t \\n//\\t\\t\\t if(btnClicked.equalsIgnoreCase(\\\"NEXTQUESTION\\\")){\\n//\\t\\t\\t\\t \\tquestionPanel.setVisible(false);\\n//\\t\\t\\t\\t\\tquestionPanel.setEnabled(false);\\n//\\t\\t\\t\\t\\tquestionButton.setVisible(false);\\n//\\t\\t\\t\\t\\tquestionButton.setEnabled(false);\\n//\\t\\t\\t\\t\\t\\n//\\t\\t\\t\\t\\tfinishPanel.setVisible(true);\\n//\\t\\t\\t\\t\\tfinishPanel.setEnabled(true);\\n//\\t\\t\\t }\\n//\\t\\t\\t }\\n//\\t\\t}\\n//\\t\\t\\t\\tint rep = JOptionPane.showConfirmDialog(null, \\\"Questions are over, are you ready?\\\", \\\"Result\\\", JOptionPane.YES_NO_OPTION);\\n//\\t\\t\\t\\tif (rep == JOptionPane.YES_OPTION) {\\n//\\t\\t\\t\\t\\tcounter = 0;\\n//\\t\\t\\t\\t\\tquestionPanel.setVisible(false);\\n//\\t\\t\\t\\t\\tquestionPanel.setEnabled(false);\\n//\\t\\t\\t\\t\\tquestionButton.setVisible(false);\\n//\\t\\t\\t\\t\\tquestionButton.setEnabled(false);\\n//\\t\\t\\t\\t\\t\\n//\\t\\t\\t\\t\\tfinishPanel.setVisible(true);\\n//\\t\\t\\t\\t\\tfinishPanel.setEnabled(true);\\n//\\t\\t\\t\\t} else {\\n//\\t\\t\\t\\t\\tint repFinal = JOptionPane.showConfirmDialog(null, \\\"Do you want to quit?\\\", \\\"WHAT?!!\\\", JOptionPane.YES_NO_OPTION);\\n//\\t\\t\\t\\t\\tif (repFinal == JOptionPane.YES_OPTION){\\n//\\t\\t\\t\\t\\t\\tcounter = 0;\\n//\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"GOODBYE\\\");\\n//\\t\\t\\t\\t\\t\\tSystem.exit(0);\\n//\\t\\t\\t\\t\\t}\\n//\\t\\t\\t\\t\\telse{\\n//\\t\\t\\t\\t\\t\\tcounter = 0;\\n//\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"VERY GOOD!\\\");\\n//\\t\\t\\t\\t\\t\\tquestionPanel.setVisible(false);\\n//\\t\\t\\t\\t\\t\\tquestionPanel.setEnabled(false);\\n//\\t\\t\\t\\t\\t\\tquestionButton.setVisible(false);\\n//\\t\\t\\t\\t\\t\\tquestionButton.setEnabled(false);\\n//\\t\\t\\t\\t\\t}\\n//\\t\\t\\t\\t}\\n//\\t\\t\\t}\\n//\\t\\t}\\n\\t\\t\\n \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c60871b20bb8819dedd53768c8b0f07f\",\n \"score\": \"0.5481989\",\n \"text\": \"private void showNextQuestion() {\\n /* Hide all quiz types */\\n multipleChoice_view.setVisibility(View.GONE);\\n singleChoice_view.setVisibility(View.GONE);\\n freeText_view.setVisibility(View.GONE);\\n\\n /* Pick a state number to question about (zero based) */\\n stateNumber = getRandom(stateNames.length);\\n\\n /* Create the question */\\n\\n /* find least used type of question and select that type */\\n int smallestValueIdx = 0;\\n for (int i = 0; i < totalQuestionsAskedByType.length; i++) {\\n if (totalQuestionsAskedByType[i] < totalQuestionsAskedByType[smallestValueIdx]) {\\n smallestValueIdx = i;\\n }\\n }\\n switch (smallestValueIdx) {\\n case 0:\\n questionType = questionTypeENUM.SINGLE_CHOICE;\\n break;\\n case 1:\\n questionType = questionTypeENUM.MULTIPLE_CHOICE;\\n break;\\n case 2:\\n questionType = questionTypeENUM.FREE_TEXT;\\n break;\\n }\\n\\n /* Toggle proper visibilities and question/answer values */\\n switch (questionType) {\\n case SINGLE_CHOICE:\\n questionAnswerIdx = getPossibleAnswers(stateNumber);\\n questionText = \\\"Which city is the capital of \\\" + stateNames[stateNumber] + \\\"?\\\";\\n for (int idx = 0; idx < 4; idx++) {\\n questionAnswerText[idx] = capitalNames[questionAnswerIdx[idx]];\\n }\\n\\n /* Clear Radio Buttons */\\n singleChoice_view.clearCheck();\\n\\n question_text_view.setText(questionText);\\n if (questionAnswerIdx[0] != -1) {\\n radioButton1_view.setText(questionAnswerText[0]);\\n radioButton1_view.setVisibility(View.VISIBLE);\\n } else {\\n radioButton1_view.setVisibility(View.GONE);\\n }\\n\\n if (questionAnswerIdx[1] != -1) {\\n radioButton2_view.setText(questionAnswerText[1]);\\n radioButton2_view.setVisibility(View.VISIBLE);\\n } else {\\n radioButton2_view.setVisibility(View.GONE);\\n }\\n\\n if (questionAnswerIdx[2] != -1) {\\n radioButton3_view.setText(questionAnswerText[2]);\\n radioButton3_view.setVisibility(View.VISIBLE);\\n } else {\\n radioButton3_view.setVisibility(View.GONE);\\n }\\n\\n if (questionAnswerIdx[3] != -1) {\\n radioButton4_view.setText(questionAnswerText[3]);\\n radioButton4_view.setVisibility(View.VISIBLE);\\n } else {\\n radioButton4_view.setVisibility(View.GONE);\\n }\\n\\n totalQuestionsAskedByType[0]++;\\n singleChoice_view.setVisibility(View.VISIBLE);\\n break;\\n case MULTIPLE_CHOICE:\\n questionAnswerIdx = getPossibleAnswers(stateNumber);\\n questionText = getString(R.string.cities_are_not) + stateNames[stateNumber] + \\\"?\\\";\\n for (int idx = 0; idx < 4; idx++) {\\n questionAnswerText[idx] = capitalNames[questionAnswerIdx[idx]];\\n }\\n question_text_view.setText(questionText);\\n\\n\\n checkbox1_view.setChecked(false);\\n if (questionAnswerIdx[0] != -1) {\\n checkbox1_view.setText(questionAnswerText[0]);\\n checkbox1_view.setVisibility(View.VISIBLE);\\n } else {\\n checkbox1_view.setVisibility(View.GONE);\\n }\\n\\n checkbox2_view.setChecked(false);\\n if (questionAnswerIdx[1] != -1) {\\n checkbox2_view.setText(questionAnswerText[1]);\\n checkbox2_view.setVisibility(View.VISIBLE);\\n } else {\\n checkbox2_view.setVisibility(View.GONE);\\n }\\n\\n checkbox3_view.setChecked(false);\\n if (questionAnswerIdx[2] != -1) {\\n checkbox3_view.setText(questionAnswerText[2]);\\n checkbox3_view.setVisibility(View.VISIBLE);\\n } else {\\n checkbox3_view.setVisibility(View.GONE);\\n }\\n\\n checkbox4_view.setChecked(false);\\n if (questionAnswerIdx[3] != -1) {\\n checkbox4_view.setText(questionAnswerText[3]);\\n checkbox4_view.setVisibility(View.VISIBLE);\\n } else {\\n checkbox4_view.setVisibility(View.GONE);\\n }\\n\\n totalQuestionsAskedByType[1]++;\\n multipleChoice_view.setVisibility(View.VISIBLE);\\n break;\\n case FREE_TEXT:\\n questionText = getString(R.string.capital_of_which) + capitalNames[stateNumber] + \\\"?\\\";\\n question_text_view.setText(questionText);\\n editText_view.setText(\\\"\\\");\\n freeText_view.setVisibility(View.VISIBLE);\\n editText_view.requestFocus();\\n totalQuestionsAskedByType[2]++;\\n break;\\n }\\n\\n /* Show quiz panel */\\n quiz_view.setVisibility(View.VISIBLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea29af33d8943375d965b1e6dcaf4651\",\n \"score\": \"0.5472903\",\n \"text\": \"private void onFinish() {\\n MainActivity.mDatabaseHelper.updateScore(topic.getId(), score);\\n\\n //provide dynamic \\\"finished\\\" text\\n if (score == 5) {\\n question.setText(\\\"WOOHOO!!! PERFECT SCORE: \\\" + score + \\\"/5 for \\\" + topic.getName());\\n } else if (score >= 3) {\\n question.setText(\\\"Nice work! You scored: \\\" + score + \\\"/5 for \\\" + topic.getName());\\n } else if (score == 0) {\\n question.setText(\\\"Wow you scored \\\" + score + \\\"/5 for \\\" + topic.getName() + \\\"...better get back to revising\\\");\\n } else {\\n question.setText(\\\"Uh oh... you only scored \\\" + score + \\\"/5 for \\\" + topic.getName());\\n }\\n //remove the true/false buttons and replace with a back button\\n falseButton.setVisibility(View.INVISIBLE);\\n trueButton.setVisibility(View.INVISIBLE);\\n backButton.setVisibility(View.VISIBLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab2d18b809cc16379c1be6144aba0470\",\n \"score\": \"0.545651\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\tpublic void handle(ActionEvent e)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t//Increment the number solved\\n\\t\\t\\t\\t\\t\\tnumSolved++;\\n\\t\\t\\t\\t\\t\\t//When the user solve all questions \\n\\t\\t\\t\\t\\t\\tif(quizList.size()==numSolved)\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t//Set the numsolved field 0 for the future work\\n\\t\\t\\t\\t\\t\\t\\tnumSolved=0;\\n\\t\\t\\t\\t\\t\\t\\t//Draw result page\\n\\t\\t\\t\\t\\t\\t\\tdrawResultPage();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t//Otherwise\\n\\t\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t//Show the next question\\n\\t\\t\\t\\t\\t\\t\\tdrawStartWindow();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29f4c9bd78be3b9ff1075e4653794bfe\",\n \"score\": \"0.5455421\",\n \"text\": \"public void displayNextTaskPromptOrganizer(){\\n System.out.print(\\\"Please enter next task (reminder, you can type '14' to see what you can do): \\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08ff483b95e50f176d14cc14b104e86a\",\n \"score\": \"0.54509634\",\n \"text\": \"public void displayReportMenu() {\\n\\t\\tSystem.out.println(\\\"\\\\nReport Menu\\\\n\\\" + \\\"***************************\\\\n\\\" + \\\"1. Modules taught by\\\\n\\\"\\n\\t\\t\\t\\t+ \\\"2. Students registered on\\\\n\\\" + \\\"3. Staff who teach student\\\\n\\\" + \\\"4. Staff who teach more than\\\\n\\\"\\n\\t\\t\\t\\t+ \\\"0. Back\\\\n\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35270779bc455c1802e18a09f7c85f86\",\n \"score\": \"0.54468036\",\n \"text\": \"public void displayNextTaskPromptAttendee(){\\n System.out.print(\\\"Please enter next task (reminder, you can type '7' to see what you can do): \\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fa01cd174993d51b78d6ba71fe91f7f\",\n \"score\": \"0.5435575\",\n \"text\": \"public boolean saveAnswersForCurrentScreen(boolean evaluateConstraints) {\\n /**\\n * only try to save if the current event is a question or a field-list group\\n */\\n\\n\\t\\t/*\\n * //CHIUDO LA TASTIERA InputMethodManager imm =\\n\\t\\t * (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);\\n\\t\\t * if(imm.isActive()) { try {\\n\\t\\t * //imm.hideSoftInputFromWindow(getWindow().getDecorView\\n\\t\\t * ().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);\\n\\t\\t * imm.hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(),\\n\\t\\t * 0); } catch(Exception e) { Log.e(\\\"CHIUSURA DELLA TASTIERA\\\",\\n\\t\\t * \\\"LA TASTIERA NON AVEVA IL FOCUS\\\"); e.printStackTrace(); } }\\n\\t\\t */\\n\\n // CLEAR DI TUTTI I FOCUS DELLE EDIT TEXT\\n // mCurrentView.clearFocus(); //<--------------------------12/11/2013 SE\\n // DECOMMENTO VA IN ERRORE NEI ROSTER PER I MULTILINE E SINGLELINE\\n // MULTIPLI\\n\\n try {\\n if (mFormController.getEvent() == FormEntryController.EVENT_QUESTION\\n || (mFormController.getEvent() == FormEntryController.EVENT_GROUP && mFormController\\n .indexIsInFieldList())) {\\n\\n if (mCurrentView != null) {\\n\\n HashMap answers = ((ODKView) mCurrentView).getAnswers();\\n\\n ArrayList list = ODKView.getWidget();\\n\\n for (int i = 0; i < list.size(); i++) {\\n //if (list.get(i) instanceof SelectOneWidget|| list.get(i) instanceof SpinnerWidget) {//LL eliminato crea delle anomalie nella inizializzazione degli spinner quando ancora non hanno una risposta\\n if (list.get(i) instanceof SelectOneWidget) {\\n answers.put(\\n list.get(i).getPrompt().getIndex(),\\n FormEntryActivity.mFormController\\n .getQuestionPrompt(\\n list.get(i).getPrompt()\\n .getIndex()\\n )\\n .getAnswerValue()\\n );\\n }\\n }\\n\\n Set indexKeys = answers.keySet();\\n /**\\n * check the contraints before to do swipe\\n */\\n int lestIndex=0;\\n for (FormIndex index : indexKeys) {\\n if (mFormController.getEvent(index) == FormEntryController.EVENT_QUESTION) {\\n int saveStatus = saveAnswer(answers.get(index), index,\\n evaluateConstraints);\\n\\n// if(saveStatus==2)\\n// {\\n//\\n// list.get(lestIndex).mQuestionText.setBackgroundColor(colorHelper.getMandatoryBackgroundColor());\\n// list.get(lestIndex).mQuestionText.setTextColor(colorHelper.getMandatoryForeColor());\\n//\\n// }\\n if (arrValidForm.size() == 0) {\\n if (evaluateConstraints\\n && saveStatus != FormEntryController.ANSWER_OK) {\\n createConstraintToast(mFormController\\n .getQuestionPrompt(index)\\n .getConstraintText(), saveStatus);\\n return false;\\n }\\n } else {\\n Log.w(t,\\n \\\"Attempted to save an index referencing something other than a question: \\\"\\n + index.getReference()\\n );\\n }\\n for (int i = 0; i <= arrValidForm.size() - 1; i++) {\\n String rep = index.toString().trim()\\n .substring(0, 4);\\n String splitrep[] = rep.split(\\\",\\\");\\n String splitrep2[] = arrValidForm.get(i).toString()\\n .substring(0, 4).split(\\\", ,\\\");\\n if (splitrep2[0].toString().equals(rep)) {\\n if (evaluateConstraints\\n && saveStatus != FormEntryController.ANSWER_OK) {\\n createConstraintToast(mFormController\\n .getQuestionPrompt(index)\\n .getConstraintText(), saveStatus);\\n arrValidForm.set(i + 1, \\\"false\\\");\\n return false;\\n } else {\\n arrValidForm.set(i + 1, \\\"true\\\");\\n Log.w(t,\\n \\\"Attempted to save an index referencing something other than a question: \\\"\\n + index.getReference()\\n );\\n }\\n }\\n if (i < arrValidForm.size() - 1) {\\n i = i + 1;\\n }\\n }\\n }\\n lestIndex++;\\n }\\n } else {\\n System.out.println(\\\"View is null ................ \\\");\\n }\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf1e9dbc697d661dd1bb77a9298f3657\",\n \"score\": \"0.5406019\",\n \"text\": \"public void displayResults() {\\n\\t\\t\\r\\n\\t\\tSystem.out.printf(\\\"You took %d tries to guess the answer!\\\\n\\\", ref);\\r\\n\\t\\t\\r\\n\\t\\tfor(int x=0; x 0) {\\n submitQuizResponse();\\n } else {\\n finish();\\n }\\n\\n }\\n }).setNegativeButton(R.string.label_continue, new DialogInterface.OnClickListener() {\\n public void onClick(DialogInterface dialog, int which) {\\n dialog.dismiss();\\n }\\n }).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34e202d019e132eb2b76b327d44921a9\",\n \"score\": \"0.5396236\",\n \"text\": \"private void showAnswer(boolean truth) {\\n correct = truth;\\n TextView correctionView = findViewById(R.id.correction);\\n if (truth) {\\n correctionView.setText(\\\"Correct\\\\nthe answer was: \\\" + question.getAnswer());\\n correctionView.setTextColor(Color.parseColor(\\\"#96DC96\\\"));\\n int pointsQuestion = question.getDifficulty();\\n if (pointsQuestion == 0) {\\n score += 200;\\n } else{\\n score += question.getDifficulty();\\n }\\n } else {\\n correctionView.setText(\\\"Wrong\\\\nthe answer was: \\\" + question.getAnswer());\\n correctionView.setTextColor(Color.parseColor(\\\"#DC9696\\\"));\\n TextView livesView = findViewById(R.id.lives);\\n String livesText = \\\"Lives: \\\" + lives;\\n if (lives < 1) {\\n livesView.setTextColor(Color.parseColor(\\\"#DC9696\\\"));\\n }\\n livesView.setText(livesText);\\n }\\n correctionView.setVisibility(View.VISIBLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46f24951dcaaa7d791315c8e4eb9aaa6\",\n \"score\": \"0.5396159\",\n \"text\": \"public void printAnswerIsCorrect(Question question);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"642944334e71df9672e110bb9fc1d80d\",\n \"score\": \"0.5393923\",\n \"text\": \"private void previousButtonActionPerformed() {\\n QuestionPool qPool;\\n try {\\n qPool = JQuestions.getQuestionPool();\\n } catch (NullPointerException npe) {\\n // logic.Question Pool doesn't exist !\\n return;\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n return;\\n }\\n\\n // 1. save current UserAnswer state.\\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\\n\\n if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.MULTI_CHOICE) {\\n\\n int options = currentlyDisplayedQuestion.getNumberOfPossibleAnswers();\\n for (int i = 0; i < options; i++) {\\n currentAnswer.setAnswerBox(i, multiChoicePanel.getAnswerBox(i).isSelected());\\n }\\n } else if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.DRAG_N_DROP) {\\n // The contents of the JTextFields in a DnD question are conveniently\\n // stored 'automatically' in the JTextField object itself, so we don't\\n // need to update them every time they are displayed.\\n //currentAnswer.setAnswerField(x, answerField1.isSelected());....\\t\\t\\t\\t\\t\\t\\n }\\n\\n\\n // 2. Display previous record.\\n if (qIdsIndex > 0) {\\n qIdsIndex -= 1;\\n }\\n int index = questionIds.get(qIdsIndex);\\n currentlyDisplayedQuestion = qPool.getQuestion(index);\\n if (currentlyDisplayedQuestion != null) {\\n currentRecordIndex = index;\\n displayQuestionRecord(currentlyDisplayedQuestion);\\n setFieldsEditable(false);\\n } else { // No records.\\n currentRecordIndex = -1;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be4656598017179bb137e6b601b54726\",\n \"score\": \"0.53875947\",\n \"text\": \"private void checkAnswer (char answer)\\n {\\n if (gamePanel.getStage())\\n {\\n if (gamePanel.getQuestion().getAnswer()==answer)\\n {\\n if (currentQuestion==0)\\n {\\n System.out.println (\\\"More\\\");\\n gamePanel.getAButton().setEnabled(true);\\n gamePanel.getBButton().setEnabled(true);\\n gamePanel.getCButton().setEnabled(true);\\n gamePanel.getDButton().setEnabled(true);\\n Question temp=currentCountry.getRandQuestion(difficulty);\\n while (temp==gamePanel.getQuestion())\\n {\\n temp=currentCountry.getRandQuestion(difficulty);\\n }\\n gamePanel.setQuestion(temp);\\n currentQuestion++;\\n }\\n else\\n {\\n System.out.println (\\\"Exec\\\");\\n levelsRemaining--;\\n System.out.println (levelsRemaining);\\n alreadyBeen.add(currentCountry);\\n showMapPanel();\\n }\\n }\\n else\\n {\\n System.out.println (\\\"remove\\\");\\n gamePanel.removeWrongAnswer(answer);\\n }\\n }\\n else\\n {\\n if (answer-65==gamePanel.getAnswer())\\n {\\n showCountryPanel();\\n System.out.println (\\\"show country\\\");\\n }\\n else\\n {\\n gamePanel.removeWrongDestination(answer-65);\\n System.out.println (\\\"remove country \\\" + (answer-65));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"085eed0b37cc806094529dcc37a2e564\",\n \"score\": \"0.53823256\",\n \"text\": \"public boolean askQuestion() {\\n // generate random question and answer choices\\n String currentQ = qa.generateRandomQ();\\n String [] answers = qa.generateAnswers(currentQ);\\n \\n // dialogue box\\n String s = (String) JOptionPane.showInputDialog (null, currentQ, \\n \\\"Answer carefully, or a life will be deducted!\\\", \\n JOptionPane.PLAIN_MESSAGE, null, \\n answers, answers[0]);\\n boolean correct = qa.isCorrect(currentQ,s);\\n \\n // case where user answers incorrectly\\n if (!correct) {\\n // decrement life, give opponent turn\\n if (b.getCurrentTurn()==1){\\n playerOneLives--;\\n b.currentTurn=2; \\n } else {\\n playerTwoLives--;\\n b.currentTurn = 1;\\n } \\n } \\n return correct; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a8443388510e65b3dc526f8b0a343d6\",\n \"score\": \"0.5371491\",\n \"text\": \"public void printAnswer() {\\n\\t\\tSystem.out.println(\\\"TODO... FORMAT THIS: \\\" + this.answer);\\n\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3da860f831d7c1e51755cce47538ae2\",\n \"score\": \"0.5346851\",\n \"text\": \"private void checkProgress() {\\n\\n // Triggered if user is on the final question and this is the user's first time through the questions.\\n if (isFirstPass == true && questionIndex == questionArray.length - 1) {\\n isFirstPass = false; // Change global variable to show user has finished their first pass through the questions.\\n // Cycle through the questions, checking to see if any were skipped\\n for (int i = 0; i < questionArray.length; i++) {\\n if (questionArray[i].wasAnswered == false) {\\n lastChance(); // Since all questions have been viewed and some have been skipped, send user to the Last Chance screen\\n break;\\n } else if (i == questionArray.length - 1 && questionArray[i].wasAnswered == true) {\\n // If execution reaches this line, there are no skipped questions and the Grade Quiz screen will be shown.\\n gradeQuiz();\\n }\\n\\n }\\n\\n } else if (isFirstPass == false && questionIndex == questionArray.length - 1) { // Triggered if user is on the final question and it is user's second time through (skipped questions).\\n gradeQuiz(); // Grade Quiz screen will be shown\\n } else { // If current question is not the final question (whether first pass or revisitig skipped questions), move on to checking/loading the next question.\\n questionIndex++; // Increment questionIndex\\n nextQuestion(); // Call the this method again to load the next question\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee5603b30cdec9b004fb100b7ed5da53\",\n \"score\": \"0.5346069\",\n \"text\": \"public void results(){\\r\\n\\t\\tif (this.hasBegun()){\\r\\n\\t\\t\\tif (this.getWindow().askForResults()){\\r\\n\\t\\t\\t\\tthis.window.openView(Game.RESULTS);\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\tthis.getWindow().openView(Game.END);\\r\\n\\t\\t\\t}\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tthis.window.openView(Game.RESULTS);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15f49fbcaac7e900599ccde7cd26477c\",\n \"score\": \"0.5341297\",\n \"text\": \"private void showResult(int level) {\\n if (enteredNumber == showNumber){\\n gFourNextBtn.setVisible(true);\\n }else{\\n gFourLabelStart.setText(\\\"You Lose\\\");\\n gFourLabelStart.setVisible(true);\\n save_score_btn.setDisable(false);\\n }\\n gFourTextField.clear();\\n gFourTextField.setVisible(false);\\n gFourLabelHeading.setText(\\\"Level: \\\"+ level);\\n gFourLabelInfo.setText(\\\"Shown Number: \\\" + showNumber + \\\" You Entered: \\\"+ enteredNumber);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2030c9a74983a57b1ec19b0eaa6aa84\",\n \"score\": \"0.53400433\",\n \"text\": \"public void updateView() {\\n nextButton.setEnabled(false);\\n\\n Question questions = dataBaseManager.selectByID(1);\\n questionTx2.setText(\\\"???\\\");\\n answer = questions.getCorrectAns();\\n\\n\\n questionTx.setText(questions.getQuestion());\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fb7cd9536b37d02826d32fe170ea657\",\n \"score\": \"0.5333004\",\n \"text\": \"public BeansReportOralExaminationQuestion() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ed716df8a6b70f8ce7e2be592e9068d\",\n \"score\": \"0.5325603\",\n \"text\": \"private void show_question() {\\n String q = all_questions[current_question]; //Sacamos la info de la pregunta 0 del array all_questions\\n String[] parts = q.split(\\\";\\\"); //Partimos el string en trozos con ;\\n\\n group.clearCheck(); //Quitamos la seleccion de la pregunta anterior\\n\\n text_questions.setText(parts[0]);\\n // String[] answers = getResources().getStringArray(R.array.answers); ya no va asi\\n\\n for(int i=0; i < ids_answers.length;i++)\\n {\\n RadioButton rb= (RadioButton) findViewById(ids_answers[i]);\\n String ans = parts[i+1];\\n if(ans.charAt(0)=='*'){ //Ojo que si pones \\\"\\\" es para strings y '' es para caracteres\\n correct_answer = i; //Estamos creando la variable correct_answer nos sale en rojo, le damos Alt+Enter y le damos a crear campo\\n ans = ans.substring(1); // enseña el string a partir del caracter 1\\n }\\n rb.setText(ans);\\n if(answer[current_question]==i)\\n {\\n rb.setChecked(true);\\n }\\n }\\n if(current_question==0)\\n {\\n btn_prev.setVisibility(View.INVISIBLE);\\n }\\n else\\n {\\n btn_prev.setVisibility(View.VISIBLE);\\n }\\n if(current_question == all_questions.length-1)\\n {\\n btn_next.setText(R.string.finish);\\n }\\n else\\n {\\n btn_next.setText(R.string.next);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b190e9a54a238b6171ee90f68591f5fc\",\n \"score\": \"0.53173006\",\n \"text\": \"public void reportBtnShow() {\\r\\n\\t\\treportButton.setVisible(true);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"551ff234e3b654eff15295610748af11\",\n \"score\": \"0.5309476\",\n \"text\": \"private void showIncorrect() {\\n\\t\\t// Get all incorrect questions\\n\\t\\tList incorrect = getIncorrect();\\n\\t\\t\\n\\t\\t// Select a random question\\n\\t\\tQuestion randomQ = (Question) randomElement(incorrect);\\n\\t\\t\\n\\t\\t// Display\\n\\t\\tgame.practiceQuestionPage().show(randomQ, \\\"Incorrect\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6ba1d85a619e7390e30f134dc5708e2\",\n \"score\": \"0.5286992\",\n \"text\": \"private StringBuilder displayWhatStatisticDialog() {\\n ConsoleIOUtility.print(\\\"\\\");\\n return ConsoleIOUtility.read(\\n \\\"- Choose \\\\\\\"0\\\\\\\" for back to main menu\\\\n\\\" + //\\n \\\"- Choose \\\\\\\"1\\\\\\\" for calculate last page statistics, display statistics of the last page\\\\n\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d783116c8597d5c425a25fa7b9039750\",\n \"score\": \"0.5282574\",\n \"text\": \"private String askQuestion(String question, List answers) {\\n String response = \\\"\\\";\\n Scanner keyboard = new Scanner(System.in);\\n boolean choices = ((answers == null) || answers.size() == 0) ? false : true;\\n boolean firstRun = true;\\n do {\\n if (!firstRun) {\\n System.out.println(\\\"Invalid selection. Please try again.\\\");\\n }\\n System.out.print(question);\\n if (choices) {\\n System.out.print(\\\"(\\\");\\n for (int i = 0; i < answers.size() - 1; ++i) {\\n System.out.print(answers.get(i) + \\\"/\\\");\\n }\\n System.out.print(answers.get(answers.size() - 1));\\n System.out.print(\\\"): \\\");\\n }\\n response = keyboard.nextLine();\\n firstRun = false;\\n if (!choices) {\\n break;\\n }\\n } while (!answers.contains(response));\\n return response;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97b83b75a50062b756b208f0fad550e2\",\n \"score\": \"0.5282487\",\n \"text\": \"@Override\\n\\tpublic void receiveReport(QualifiedObservableReport incomingReport)\\n\\t{\\n\\t\\tif (incomingReport instanceof SendChatMessageReport)\\n\\t\\t{\\n\\t\\t\\tString answer = question.getAnswer().toLowerCase().replaceAll(\\\" \\\", \\\"\\\");\\n\\t\\t\\tSendChatMessageReport report = (SendChatMessageReport) incomingReport;\\n\\t\\t\\tString userAnswer = report.getMessage().toLowerCase().replaceAll(\\\" \\\", \\\"\\\");\\n\\t\\t\\tif (answer.equals(userAnswer))\\n\\t\\t\\t{\\n\\t\\t\\t\\ttry\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tint playerID = PlayerManager.getSingleton().getPlayerIDFromPlayerName(report.getSenderName());\\n\\t\\t\\t\\t\\tPlayer player = PlayerManager.getSingleton().getPlayerFromID(playerID);\\n\\n\\t\\t\\t\\t\\tChatManager.getSingleton().sendChatToClients(\\n\\t\\t\\t\\t\\t\\t\\tplayer.getPlayerName() + \\\" answered correctly. The answer was \\\" + question.getAnswer(),\\n\\t\\t\\t\\t\\t\\t\\t\\\"Quiz Bot\\\", new Position(0, 0), ChatType.Zone);\\n\\t\\t\\t\\t\\tplayer.incrementQuizScore();\\n\\t\\t\\t\\t\\tChatManager.getSingleton().sendChatToClients(\\n\\t\\t\\t\\t\\t\\t\\tplayer.getPlayerName() + \\\" score is now \\\" + player.getQuizScore(), \\\"Quiz Bot\\\",\\n\\t\\t\\t\\t\\t\\t\\tnew Position(0, 0), ChatType.Zone);\\n\\t\\t\\t\\t} catch (PlayerNotFoundException e)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tpullNewQuestion();\\n\\t\\t\\t\\taskQuestion();\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69374de9c32f370b2272ba39e15554f2\",\n \"score\": \"0.52721214\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n count++;\\n\\n if(count 0 || currentGroup > 0);\\r\\n btnNext.setEnabled(currentEx+1 < getCurrentGroup().size() || currentGroup+1 < getCurrentExFile().size() );\\r\\n \\r\\n //TitledBorder tb = (TitledBorder)jPanelQuestion.getBorder();\\r\\n //tb.setTitle(\\\"Current Problem: \\\" + ex.getShortDirective());\\r\\n \\r\\n jLabelAboveQuestion.setText((ex.getIndex()+1) + \\\". \\\" + ex.getShortDirective());\\r\\n \\r\\n jLabelAboveDirections.setText(getCurrentGroup().getNumberedTitle());\\r\\n \\r\\n setAnswerEnabledState();\\r\\n setQuestionText();\\r\\n\\r\\n if (txtUserAnswer.isEnabled()) {\\r\\n txtUserAnswer.requestFocusInWindow();\\r\\n }\\r\\n\\r\\n try {\\r\\n updatingTree = true; // this prevents recursion when the event is\\r\\n // fired as if the user is clicking on this node\\r\\n jTreeExerciseFile.setSelectionPath\\r\\n (new TreePath\\r\\n (new Object[] { getCurrentExFile(), \\r\\n new ExerciseTreeModel.ExerciseGroupWrapper(getCurrentGroup()), \\r\\n new ExerciseTreeModel.ExerciseWrapper(ex) } ));\\r\\n jTreeExerciseFile.scrollPathToVisible(jTreeExerciseFile.getSelectionPath());\\r\\n } finally {\\r\\n updatingTree = false;\\r\\n }\\r\\n\\r\\n if (ex instanceof HasIdentifierTyper) {\\r\\n //lblIdentifierTypes.setVisible(true);\\r\\n IdentifierTyper typer = ((HasIdentifierTyper)ex).getIdentifierTyper();\\r\\n setCurrentTypingConventions(typer);\\r\\n lblIdentifierTypes.setText(\\\"Use the following typing conventions:\\\\n\\\" + typer.toString());\\r\\n ScratchPadWindow.setTypingConventions(typer);\\r\\n } else {\\r\\n //lblIdentifierTypes.setVisible(false);\\r\\n }\\r\\n\\r\\n wrongInARowCount = 0;\\r\\n \\r\\n previousGroup = getCurrentGroup();\\r\\n \\r\\n txtUserAnswer.requestFocusInWindow();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34e9c8d59fd031311941488e4dd2b8f2\",\n \"score\": \"0.5185089\",\n \"text\": \"private void showPreviousView() {\\n /**\\n * The answer is saved on a back swipe, but question constraints are\\n * ignored.\\n */\\n\\n verifica = true;\\n radioFirstCheck = true; // controllo sui radioButton\\n ImageWidget.prevView=true;\\n// if (done){\\n ImageWidget.cropsPicturesIndex-=4;\\n ImageWidget.picturesIndex-=2;\\n// done = false;\\n// }\\n // else {\\n// ImageWidget.picturesIndex = ImageWidget.picturesIndex - 2;\\n// ImageWidget.cropsPicturesIndex -= 4;\\n// }\\n // TODO: tolto per provare\\n // verifica = false;\\n//****disabled to allow the user to go back to the previous page even if the current fields are required*******************//\\n// if (!saveAnswersForCurrentScreen(EVALUATE_CONSTRAINTS)) {\\n// /**\\n// * A constraint was violated so a dialog should be showing.\\n// */\\n// return;\\n// }\\n if (mFormController.getEvent() != FormEntryController.EVENT_BEGINNING_OF_FORM) {\\n int event = mFormController.stepToPreviousEvent();\\n\\n while (event != FormEntryController.EVENT_BEGINNING_OF_FORM\\n && event != FormEntryController.EVENT_QUESTION\\n && !(event == FormEntryController.EVENT_GROUP\\n && mFormController.indexIsInFieldList() && mFormController\\n .getQuestionPrompts().length != 0)) {\\n event = mFormController.stepToPreviousEvent();\\n }\\n View next = createView(event, null, true);\\n showView(next, AnimationType.LEFT, null);\\n } else {\\n mBeenSwiped = false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef20de3a6f60dd36c9bf709330fd2aee\",\n \"score\": \"0.5182466\",\n \"text\": \"public void waitForFirstSubmission() throws Exception {\\n\\t\\tJFrame frmOpt = new JFrame(); // We are declaring the frame\\n\\t\\tfrmOpt.setAlwaysOnTop(true);// This is the line for displaying it above all windows\\n\\n\\t\\tThread.sleep(1000);\\n\\t\\tString s = \\\"Press 1 For Calculations
Press 2 For Results
\\\";\\n\\n\\t\\tJLabel label = new JLabel(s);\\n\\t\\tJTextPane jtp = new JTextPane();\\n\\t\\tjtp.setSize(new Dimension(480, 10));\\n\\t\\tjtp.setPreferredSize(new Dimension(480, jtp.getPreferredSize().height));\\n\\t\\tlabel.setFont(new Font(\\\"Arial\\\", Font.BOLD, 26));\\n\\t\\tUIManager.put(\\\"OptionPane.minimumSize\\\", new Dimension(700, 300));\\n\\t\\tUIManager.put(\\\"TextField.font\\\", new FontUIResource(new Font(\\\"Verdana\\\", Font.BOLD, 20)));\\n\\t\\t// Getting Input from user\\n\\n\\t\\tString option = JOptionPane.showInputDialog(frmOpt, label);\\n\\n\\t\\tint useroption = Integer.parseInt(option);\\n\\n\\t\\tswitch (useroption) {\\n\\n\\t\\tcase 1:\\n\\n\\t\\t\\t// Function for Re-Submission\\n\\n\\t\\t\\tbreak;\\n\\n\\t\\tcase 2:\\n\\n\\t\\t\\tSystem.out.println(\\\"Results\\\");\\n\\t\\t\\tif (attemptNo == 0) {\\n\\t\\t\\t\\ttest = Extent.createTest(\\\"Resubmission - Confirmation \\\");\\n\\t\\t\\t\\ttest.info(\\\" The test run complete. Please review test result(s)\\\");\\n\\t\\t\\t}\\n\\n\\t\\t\\telse {\\n\\n\\t\\t\\t\\ttest = Extent.createTest(\\\"Resubmission - Confirmation \\\");\\n\\t\\t\\t\\ttest.info(\\\" The test run complete. Please review test result(s)\\\");\\n\\t\\t\\t}\\n\\n\\t\\t\\tThread.sleep(3000);\\n\\n\\t\\t\\tdriver.close();\\n\\t\\t\\tdriver.quit();\\n\\t\\t\\tbreak;\\n\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8ad2050c89f785cdf0f0a66c92602e2\",\n \"score\": \"0.51785797\",\n \"text\": \"private static void presentResults(int[] questionsMissed, boolean passFail, int countWrong, int countCorrect)\\r\\n {\\r\\n System.out.println(\\\"Your results are as follows:\\\");\\r\\n System.out.println(\\\"Question\\\\tResult\\\");\\r\\n System.out.println(\\\"____________________\\\");\\r\\n\\r\\n for (int question =0;question<10;question++)\\r\\n {\\r\\n if (questionsMissed[question] == 99)\\r\\n {\\r\\n System.out.println((question+1) + \\\"\\\\t\\\\t\\\\tCORRECT\\\");\\r\\n }\\r\\n else\\r\\n {\\r\\n System.out.println((question+1) + \\\"\\\\t\\\\t\\\\tWRONG\\\");\\r\\n }\\r\\n }\\r\\n System.out.println(\\\"You answered \\\"+ countCorrect +\\\" questions correctly.\\\");\\r\\n System.out.println(\\\"You answered \\\"+ countWrong +\\\" questions incorrectly.\\\");\\r\\n if (passFail)\\r\\n {\\r\\n System.out.println(\\\"Congratulations - You Passed!\\\");\\r\\n }\\r\\n else\\r\\n {\\r\\n System.out.println(\\\"Sorry - You Failed.\\\");\\r\\n }\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c70e5ddb6004ef3e030913a2b5bf34c\",\n \"score\": \"0.5171291\",\n \"text\": \"public void displayQuiz() {\\n a1 = new JLabel(questions.getQuestion(0));\\n c1 = new JLabel(questions.getQuestion(1));\\n s1 = new JLabel(questions.getQuestion(2));\\n e1 = new JLabel(questions.getQuestion(3));\\n i1 = new JLabel(questions.getQuestion(4));\\n\\n a2 = new JLabel(questions.getQuestion(5));\\n c2 = new JLabel(questions.getQuestion(6));\\n s2 = new JLabel(questions.getQuestion(7));\\n e2 = new JLabel(questions.getQuestion(8));\\n i2 = new JLabel(questions.getQuestion(9));\\n\\n a3 = new JLabel(questions.getQuestion(10));\\n c3 = new JLabel(questions.getQuestion(11));\\n s3 = new JLabel(questions.getQuestion(12));\\n e3 = new JLabel(questions.getQuestion(13));\\n i3 = new JLabel(questions.getQuestion(14));\\n\\n a4 = new JLabel(questions.getQuestion(15));\\n c4 = new JLabel(questions.getQuestion(16));\\n s4 = new JLabel(questions.getQuestion(17));\\n e4 = new JLabel(questions.getQuestion(18));\\n i4 = new JLabel(questions.getQuestion(19));\\n\\n displayLastSection();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afd327bf9581e60e1f520a1f4f4cda4f\",\n \"score\": \"0.5170364\",\n \"text\": \"public static void ShowResult(PersonGUI[] defaultOrder, PersonGUI[] AccendingOrder, PersonGUI[] descendingOrder) {\\n \\tJFrame frame = new JFrame(\\\"Result Window\\\");\\r\\n \\t\\r\\n \\t//Add content to the window.\\r\\n \\tframe.add(new ResultWindow(defaultOrder,AccendingOrder,descendingOrder), BorderLayout.CENTER);\\r\\n \\tframe.setLocation(100, 50);\\r\\n \\t//Display the window.\\r\\n \\tframe.pack();\\r\\n \\tframe.setVisible(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"197b1f99a2c06061d4ab772ee0c9d622\",\n \"score\": \"0.5166553\",\n \"text\": \"private void displayeTest() {\\n\\n\\t\\tState[] opt = questions[questionNumber].getOptions();\\n\\t\\to1.setText(opt[0].getName());\\n\\t\\to2.setText(opt[1].getName());\\n\\t\\to3.setText(opt[2].getName());\\n\\t\\to4.setText(opt[3].getName());\\n\\t\\tmTextView.setText((1 + questionNumber) + \\\"/\\\" + questionLimit);\\n\\t\\tResources r = new Resources(getAssets(), new DisplayMetrics(), new Configuration());\\n\\t\\tmImgSw.setForeground(r.getDrawable(myImages[questions[questionNumber].getAnswerID()]));\\n\\t\\tmProgressBar.setProgress((questionNumber));\\n\\t\\tquestionNumber++;\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8363b524030e7011f064c5f65a4d098\",\n \"score\": \"0.51488215\",\n \"text\": \"public void displayUserReplyError(){\\n System.out.print(\\\"That user is not one you can reply to, please re-enter the username \\\" +\\n \\\"of someone who has messaged you or enter \\\\\\\"q\\\\\\\" to go back to your options: \\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"393a77020c19e71808290d510ec3fcca\",\n \"score\": \"0.51432675\",\n \"text\": \"private void report(String message) {\\n reportBox.setVisible(true);\\n reportBox.setText(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"221a2b315ef45a56a3f987f6fd80080d\",\n \"score\": \"0.5142747\",\n \"text\": \"public void EQGenerateNewReport() {\\r\\n\\t\\t\\tfrmEquipmentInventory.setVisible(true);\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\ttabbedPane.setEnabledAt(4, true);\\t\\t\\t//Make sure the generate new report tab is enabled\\r\\n\\t\\t\\ttabbedPane.setSelectedIndex(4);\\t\\t\\t\\t//Make sure the generate new report tab is the one being displayed\\r\\n//\\t\\t\\ttabbedPane.setEnabledAt(0, false);\\t\\t\\t//Make sure the report equipment problem tab is not enabled\\r\\n//\\t\\t\\ttabbedPane.setEnabledAt(1, false);\\t\\t\\t//Make sure the update an equipment problem tab is not enabled\\r\\n//\\t\\t\\ttabbedPane.setEnabledAt(2, false);\\t\\t\\t//Make sure the query equipment tab is not enabled\\r\\n//\\t\\t\\ttabbedPane.setEnabledAt(3, false);\\t\\t\\t//Make sure the vendor list maintenance tab is not enabled\\r\\n//\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0487fbfec36f7098d66f545069084e73\",\n \"score\": \"0.5141044\",\n \"text\": \"public void nextQuestion() {\\n\\t\\tif (questionNo < noOfQuestions)\\n\\t\\t{\\n\\t\\t\\tquestionNo++;\\n\\t\\t\\tupdateFields();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f166718df19ca1fd4abe288c58bd27f\",\n \"score\": \"0.5138324\",\n \"text\": \"@Override\\n public void onQuestionReturned(Question question) {\\n if (currentPoint.getId() == initialPointId) {\\n progressDialog.dismiss();\\n }\\n showQuestionDialog(question);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8079396624914ff0e0fd1218fa03a9f0\",\n \"score\": \"0.51304764\",\n \"text\": \"public void displayAllSpeakerMessagePrompt(){\\n System.out.println(\\\"Enter what you want to say to all the speakers (1 line) or type 'q' to exit.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb9bc257264c670e0a2e46b328bd748d\",\n \"score\": \"0.5125862\",\n \"text\": \"private void showFeedbackAnswer(boolean isCorrect) {\\n if (isCorrect) {\\n quizScore += 1;\\n feedbackTextView.setText(R.string.feedback_correct);\\n feedbackTextView.setTextColor(Color.parseColor(\\\"#4CAF50\\\"));\\n } else {\\n feedbackTextView.setText(R.string.feedback_incorrect);\\n feedbackTextView.setTextColor(Color.RED);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63c9282a3c8837a069ef22dd6ff53c6e\",\n \"score\": \"0.5124536\",\n \"text\": \"public void checkfullreport(Boolean flag) {\\n\\t\\tif (flag == false)\\n\\t\\t\\tMessageBox.DisplayMessage(\\\"The report is empty\\\", \\\"\\\", \\\"Park maneger\\\", AlertType.WARNING);\\n\\n\\t\\telse\\n\\t\\t\\tMessageBox.DisplayMessage(\\\"The report was submeted.\\\", \\\"\\\", \\\"Park maneger\\\", AlertType.WARNING);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37c2e8911f6a2c4535cd108af9ff8081\",\n \"score\": \"0.5118523\",\n \"text\": \"private void updateQuestion(){\\n mAnsweredQuestions++;\\n if (mAnsweredQuestions < mQuestionBank.length) {\\n String question = mQuestionBank[mCurrentIndex].getmQuestionText();\\n mQuestionTextView.setText(question);\\n mButtonA.setText(mQuestionBank[mCurrentIndex].getmAnswerA());\\n mButtonB.setText(mQuestionBank[mCurrentIndex].getmAnswerB());\\n mButtonC.setText(mQuestionBank[mCurrentIndex].getmAnswerC());\\n mButtonD.setText(mQuestionBank[mCurrentIndex].getmAnswerD());\\n mCorrectAnswer = mQuestionBank[mCurrentIndex].getmCorrectAnswer();\\n } else if (mAnsweredQuestions >= mQuestionBank.length) {\\n for (Result r : mResultsBank) {\\n uploadResults(r);\\n }\\n Intent intent = new Intent(QuizActivity.this, QuizResultActivity.class);\\n intent.putExtra(\\\"Result\\\", mCorrectAnswers);\\n intent.putExtra(\\\"Questions\\\", mQuestionBank.length);\\n startActivity(intent);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84bdddeb659c86eb318a82aa6a9b70d8\",\n \"score\": \"0.51168644\",\n \"text\": \"public void showDraw() {\\n\\t\\tString winner = \\\"The game is a draw.\\\";\\n\\t\\t// sets size of the JOptionPage\\n\\t\\tUIManager.put(\\\"\\\", new Dimension(500, 500));\\n\\t\\t// shows draw and offers to play again or quit\\n\\t\\tJLabel label = new JLabel(\\\" You guys are the real deal, nice draw! Would you like to play again?\\\");\\n\\t\\tlabel.setFont(new Font(\\\"Arial\\\", Font.BOLD, 24));\\n\\t\\tint n = JOptionPane.showConfirmDialog(null, label, winner, JOptionPane.YES_NO_OPTION);\\n\\t\\t// if Yes is picked JApplet board will reset\\n\\t\\tif (n < 1) {\\n\\t\\t\\tclearBoard();\\n\\t\\t} else // the board will close\\n\\t\\t\\tSystem.exit(0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e771c835654119efc2aa7315a868567\",\n \"score\": \"0.5114625\",\n \"text\": \"public void askQuestion() {\\n\\n NotificationCompat.Builder mBuilder =\\n new NotificationCompat.Builder(this)\\n .setSmallIcon(R.drawable.miniicon)\\n .setContentTitle(\\\"Habitualizer\\\")\\n .setContentText(\\\"It's time to post an update.\\\")\\n .setVibrate(new long[] { 0, 1000 } )\\n .setLights(Color.MAGENTA, 3000, 3000);\\n\\n Intent resultIntent = new Intent(this, AskQuestion.class);\\n PendingIntent resultPendingIntent =\\n PendingIntent.getActivity(\\n this,\\n 0,\\n resultIntent,\\n PendingIntent.FLAG_UPDATE_CURRENT\\n );\\n\\n mBuilder.setContentIntent(resultPendingIntent);\\n int mNotificationId = 001;\\n NotificationManager mNotifyMgr =\\n (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\\n mNotifyMgr.notify(mNotificationId, mBuilder.build());\\n\\n /* COPY/PASTE OVER */\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0792cd1d241a612276bb90ad667dbb7\",\n \"score\": \"0.5105439\",\n \"text\": \"public void actionPerformed(ActionEvent event)\\n\\t\\t\\t{\\n\\t\\t\\t\\tinTimer = true;\\n\\n\\t\\t\\t\\t//if counter is less than 0, check if the answer is incorrect and display the correct answer\\n\\t\\t\\t\\tif(counter < 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tif (incorrect) {\\n\\t\\t\\t\\t\\t\\tviewAnswer();\\n\\t\\t\\t\\t\\t\\ttimer.start();\\n\\t\\t\\t\\t\\t\\tincorrect = false;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t\\ttimer.stop();\\n\\t\\t\\t\\t\\t\\tcloseState = true; //window should not be closed\\n\\t\\t\\t\\t\\t\\t//System.out.println(\\\"Done\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tcounter--; //count down\\n\\t\\t\\t\\t\\tcloseState = false; //window should not be closed\\n\\t\\t\\t\\t\\t//System.out.println(\\\"Hello\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94c67bf0d5215ba46c5a6adbcc12f8f7\",\n \"score\": \"0.5089781\",\n \"text\": \"public void showNextView() {\\n// if (formName.equalsIgnoreCase(\\\"LivestockWalking\\\") && ImageWidget.cropsPicturesIndex +1 == 10 )\\n// done =true;\\n// if(formName.equalsIgnoreCase(\\\"CropsWalking\\\") && ImageWidget.cropsPicturesIndex +1 == 18 ) //from 18 to 6\\n// done =true;\\n // verifica = true;\\n // TODO: tolto per provare\\n verifica = true;\\n radioFirstCheck = true;\\n if(!roasterRepeatCount) {\\n refreshCurrentView(null);\\n }\\n if (currentPromptIsQuestion()) {\\n if (!saveAnswersForCurrentScreen(EVALUATE_CONSTRAINTS)) {\\n // A constraint was violated so a dialog should be showing.\\n return;\\n }\\n }\\n if (mFormController.getEvent() != FormEntryController.EVENT_END_OF_FORM) {\\n int event;\\n\\n group_skip:\\n do {\\n event = mFormController\\n .stepToNextEvent(FormController.STEP_INTO_GROUP); // repetition event there is a roster\\n\\n switch (event) {\\n case FormEntryController.EVENT_QUESTION:\\n case FormEntryController.EVENT_END_OF_FORM:\\n View next = null;\\n next = createView(event, null, true);\\n // next.requestFocus(View.FOCUS_UP);\\n\\n showView(next, AnimationType.RIGHT, null);\\n\\n break group_skip;\\n case FormEntryController.EVENT_PROMPT_NEW_REPEAT:\\n\\n createRepeatDialog();\\n break group_skip;\\n\\n case FormEntryController.EVENT_GROUP:\\n /**\\n * CREATE THE VIEW\\n */\\n if (mFormController.indexIsInFieldList()\\n && mFormController.getQuestionPrompts().length != 0) {\\n View nextGroupView = createView(event, null, true);\\n nextGroupView.requestFocus(View.FOCUS_UP);\\n showView(nextGroupView, AnimationType.RIGHT, null);\\n\\n if (PreferencesActivity.TO_SAVE_FORM) {\\n saveDataToDisk(DO_NOT_EXIT, isInstanceComplete(false), null);\\n\\n break group_skip;\\n } else\\n break group_skip;\\n }\\n /**\\n * otherwise it's not a field-list group, so just skip it\\n */\\n break;\\n case FormEntryController.EVENT_REPEAT:\\n Log.i(t, \\\"repeat: \\\"\\n + mFormController.getFormIndex().getReference());\\n FormEntryActivity.ROSTER = true;\\n /**\\n * skip repeats\\n */\\n break;\\n case FormEntryController.EVENT_REPEAT_JUNCTURE:\\n Log.i(t, \\\"repeat juncture: \\\"\\n + mFormController.getFormIndex().getReference());\\n /**\\n * skip repeat junctures until we implement them\\n */\\n break;\\n default:\\n Log.w(t,\\n \\\"JavaRosa added a new EVENT type and didn't tell us... shame on them.\\\");\\n break;\\n }\\n } while (event != FormEntryController.EVENT_END_OF_FORM);\\n\\n } else {\\n mBeenSwiped = false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da14ef65ddbfb8f675b0f811022400ec\",\n \"score\": \"0.5087611\",\n \"text\": \"private static void displayReportSessionMode() {\\n mode = \\\"displayReportSession\\\";\\n reportSessionScrollPane.setVisible(true);\\n selectReportSessionButton.setVisible(true);\\n// deleteReportSessionButton.setVisible(true);\\n backToReportSessionListButton.setVisible(false);\\n reportDetailsScrollPane.setVisible(false);\\n reportSessionScrollPane.setVisible(true);\\n reportTextArea.setText(\\\"\\\");\\n displayHtmlButton.setVisible(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09cb558eeda1eda49c6006cefe0360d6\",\n \"score\": \"0.50865537\",\n \"text\": \"@FXML\\n private void doneEditing(Event event) {\\n \\n boolean finishedEditing = ApplicationManager.getAnswerFromPopUp(\\\"Are you sure you are finished editing these records?\\\\nFurther editing can be done in Raw Data Viewer if desired.\\\");\\n\\n if (finishedEditing) {\\n\\n // Checks if the user has achieved their step goal, if so displays a congratulatory message.\\n if (stepsAchieved(user)) {\\n int stepGoal = user.getStepGoal();\\n String stepGoalString = Integer.toString(stepGoal) + \\\" steps\\\";\\n ApplicationManager.displayPopUp(\\\"Congratulations\\\", \\\"You have achieved your weekly step goal of \\\" + stepGoalString + \\\".\\\" , \\\"confirmation\\\");\\n }\\n\\n // Checks if the user has achieved their distance goal and if so displays a congratulatory message. Otherwise there is a chance to display a random progress report.\\n if (distanceAchieved(user)) {\\n int distanceGoal = user.getDistanceGoal();\\n String distanceGoalString = Integer.toString(distanceGoal) + \\\" kilometers\\\";\\n ApplicationManager.displayPopUp(\\\"Congratulations\\\", \\\"You have achieved your weekly distance goal of \\\" + distanceGoalString + \\\".\\\" , \\\"confirmation\\\");\\n }\\n\\n // If no weekly goal has been achieved, display a random progress pop up\\n if (!stepsAchieved(user) & !distanceAchieved(user)) {\\n displayRandomProgressReport();\\n }\\n\\n toAddWorkout(event);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bfb4de64251b4716e0bd677d94c97a3\",\n \"score\": \"0.50865054\",\n \"text\": \"private void reportSuccessDialog() {\\n Log.d(LOG_TAG, \\\"Report Clicked!\\\");\\n\\n // Create popup window\\n LayoutInflater inflater = getLayoutInflater();\\n View reportSuccessView = inflater.inflate(R.layout.activity_popup_success, null);\\n popup = new PopupWindow(reportSuccessView,\\n ActionBar.LayoutParams.WRAP_CONTENT, ActionBar.LayoutParams.WRAP_CONTENT);\\n popup.showAtLocation(calendarView, Gravity.CENTER,0,0);\\n\\n // Update the text by the current month\\n String m = getCurMonthName();\\n String txt = getResources().getString(R.string.month_x_reported_successfully, m);\\n TextView reportBox = reportSuccessView.findViewById(R.id.popUpWindow);\\n reportBox.setText(txt);\\n\\n // Sign this month as reported\\n reportedMonths.add(calendarView.getCurrentPageDate().getTime());\\n totalReported += monthHours;\\n\\n Button btn = reportSuccessView.findViewById(R.id.buttonclose);\\n btn.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n popup.dismiss();\\n updateReportedMonth();\\n updateTextViews();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5f881c852e8706ed2dc40205137d718\",\n \"score\": \"0.5085143\",\n \"text\": \"public void displayAndChooseAnswerChoices(){\\n\\t\\tanswer = null; //Sets the correct answer to null. \\n\\t\\t//Creates 3 JRadioButtons - one for each answer choice. \\n\\t\\tJRadioButton answer1 = new JRadioButton(\\\"\\\" + questions[arrayIndex].answerChoices[0] + \\\"\\\");\\n\\t\\tanswer1.setFont(new Font((\\\"SansSerif\\\"), Font.PLAIN,16));\\n\\t\\tJRadioButton answer2 = new JRadioButton(\\\"\\\" + questions[arrayIndex].answerChoices[1] + \\\"\\\");\\n\\t\\tanswer2.setFont(new Font((\\\"SansSerif\\\"), Font.PLAIN,16));\\n\\t\\tJRadioButton answer3 = new JRadioButton(\\\"\\\" + questions[arrayIndex].answerChoices[2] + \\\"\\\");\\n\\t\\tanswer3.setFont(new Font((\\\"SansSerif\\\"), Font.PLAIN,16));\\n\\t\\t//System.out.println(\\\"\\\"+questions[arrayIndex].answerChoices[0]+\\\"\\\");\\n\\t\\t//System.out.println(\\\"\\\"+questions[arrayIndex].answerChoices[1]+\\\"\\\");\\n\\t\\t//System.out.println(\\\"\\\"+questions[arrayIndex].answerChoices[2]+\\\"\\\");\\n\\n\\t\\t//ButtonGroup that controls the answer choices. \\n\\t\\tButtonGroup answerGroup = new ButtonGroup();\\n\\t\\tanswerGroup.add(answer1);\\n\\t\\tanswerGroup.add(answer2);\\n\\t\\tanswerGroup.add(answer3);\\n\\t\\t\\t\\t\\t\\t\\n\\t\\tCheckForCorrectAnswer cfca = new CheckForCorrectAnswer();\\n\\t\\tanswer1.addActionListener(cfca);\\n\\t\\tanswer2.addActionListener(cfca);\\n\\t\\tanswer3.addActionListener(cfca);\\n\\t\\t\\t\\t\\n\\t\\t//Sets answer to the correct answer. \\n\\t\\tif(questions[arrayIndex].correctAnswer==0){\\n\\t\\t answer = answer1;\\n\\t\\t}\\t\\t\\t\\t\\n\\t\\telse if(questions[arrayIndex].correctAnswer ==1){\\n\\t\\t answer = answer2;\\n\\t\\t}\\t\\t\\t\\t\\n\\t\\telse if(questions[arrayIndex].correctAnswer ==2){\\n\\t\\t answer = answer3;\\n\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t//Creates a JPanel to put the answer choices on. \\n\\t\\tJPanel radioPanel = new JPanel(new GridLayout(3,1));\\n\\t\\tradioPanel.setPreferredSize(new Dimension(400,400));\\n\\t\\t//radioPanel.setBounds(100,100,150,150);\\n\\t\\tradioPanel.add(answer1);\\n\\t\\tradioPanel.add(answer2);\\n\\t\\tradioPanel.add(answer3);\\n\\n\\t\\tquestionPanel.add(radioPanel);\\n\\t\\trepaint();\\n\\t\\t\\t\\t\\t\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8c2fa633628c64c8fbcc0bd5b3f51bc\",\n \"score\": \"0.5074458\",\n \"text\": \"public void checkAnswers(){\\n\\n getAnswers();\\n\\n //set initial values for wright(true) or wrong false) results\\n String result1 = \\\"Wrong\\\";\\n String result2 = \\\"Wrong\\\";\\n String result3 = \\\"Wrong\\\";\\n String result4 = \\\"Wrong\\\";\\n String allResults = \\\"\\\";\\n int numOfRightAnswers=0;\\n\\n //for addition\\n if (answer1 == number1 + number2){\\n result1 = \\\"Right\\\";\\n numOfRightAnswers+=1;\\n }\\n\\n //for subtraction\\n if (answer2 == number1 - number2) {\\n result2 = \\\"Right\\\";\\n numOfRightAnswers+=1;\\n }\\n\\n //for multiplication\\n if (answer3 == number1 * number2) {\\n result3 = \\\"Right\\\";\\n numOfRightAnswers+=1;\\n }\\n\\n //for inequality\\n if (answer4 == R.id.trueRadioButton && number1>number2){\\n result4 = \\\"Right\\\";\\n numOfRightAnswers+=1;\\n }\\n else if (answer4 == R.id.falseRadioButton && number1 0) {\r\n\t\t\tScenario scenario = (Scenario) scenarioXML.getContents().get(0);\r\n\t\t\ttry {\r\n\t\t\t\tcontroller.playScenario(scenario);\r\n\t\t\t} catch (EIFSimException e) {\r\n\t\t\t\tMessageDialog.openError(window.getShell(), \"Simulator error:\"\r\n\t\t\t\t\t\t+ e.getMessage(), \"Simulator error\");\r\n\t\t\t}\r\n\t\t\tcontroller.updateScenarioRes(scenario);\r\n\r\n\t\t\ttry {\r\n\t\t\t\tIFClipseView view = controller.getView(ScenarioView.ID);\r\n\t\t\t\tview.setOCLContext(controller.getScenarioRes());\r\n\t\t\t} catch (PartInitException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}","title":""},{"docid":"f1f2f64cbd4b98678cfac83010762fed","score":"0.521209","text":"public void play(String movie) {\n\t\t\n\t}","title":""},{"docid":"7541d723ee7de11f3488555edbf6cc8e","score":"0.51987135","text":"@Override\n public void play(String mediaType, String fileName) {\n\n if (mediaType.equals(\"mp3\")) {\n super.play(mediaType, fileName);\n } else if (mediaType.equals(\"mp4\")) {\n advancedMediaPlayer.MP4Play(fileName);\n } else if (mediaType.equals(\"avi\")) {\n advancedMediaPlayer.AVIPlay(fileName);\n }\n\n }","title":""},{"docid":"333a34eab6e61c6d64d2ee3403f3b42a","score":"0.51746184","text":"private void replayScenario() {\n final String rawFile = Utils.getProperty(PerfCakeConst.REPLAY_PROPERTY);\n\n log.info(\"Replaying raw results recorded in {}.\", rawFile);\n\n try (final ReplayResults replay = new ReplayResults(scenario, rawFile)) {\n replay.replay();\n } catch (IOException ioe) {\n log.fatal(\"Unable to replay scenario: \", ioe);\n System.exit(PerfCakeConst.ERR_SCENARIO_REPLAY);\n }\n }","title":""},{"docid":"24d01f633b1bf91d5ca53e51c33ee85f","score":"0.5163672","text":"public void soundPlayb(){\n AudioClip sound = new AudioClip(getClass().getResource(\"MediaSweng/Spinosaurus.wav\").toString());\n sound.play();\n }","title":""},{"docid":"19525f4fc5cd61e1a02fe6b25150f8a6","score":"0.5151604","text":"public void play(){\n\t}","title":""},{"docid":"6c648c7f5b84b7bb955396e62c771f9a","score":"0.514705","text":"public static void playGameMusic(String filePath)\n {\n try\n {\n java.io.File soundFile = new java.io.File(filePath);\n javax.sound.sampled.AudioInputStream audioIn\n = javax.sound.sampled.AudioSystem.getAudioInputStream(soundFile);\n gameMusic = javax.sound.sampled.AudioSystem.getClip();\n gameMusic.open(audioIn);\n gameMusic.start();\n gameMusic.loop(Clip.LOOP_CONTINUOUSLY);\n }\n catch (IOException e)\n {\n System.err.println(\"Minor problem: File could not be played:\");\n System.err.println(e.toString() + \"\\n\");\n }\n catch (Exception e)\n {\n System.err.println(\"Other problem:\\n\" + e.toString());\n }\n }","title":""},{"docid":"e3989f3472473e8aee01a53686258257","score":"0.51419735","text":"public void play();","title":""},{"docid":"e3989f3472473e8aee01a53686258257","score":"0.51419735","text":"public void play();","title":""},{"docid":"e3989f3472473e8aee01a53686258257","score":"0.51419735","text":"public void play();","title":""},{"docid":"e3989f3472473e8aee01a53686258257","score":"0.51419735","text":"public void play();","title":""},{"docid":"20b04eb6f98e9398538499be54d28d3e","score":"0.51197976","text":"public static void main(String[] args) {\n Game game = new Game();\n game.play(); \n \n }","title":""},{"docid":"c2f1010df973253eefc0d8eb985d423e","score":"0.5114838","text":"public void play(String filename) throws Exception {\n\t\tsynchronized (AudioPlayer.lock) {\n\t\t\tlogger.info(String.format(\"Audio Play using Filename --> %s\", filename));\n\t\t\t\tplay(new File(filename));\n\t\t}\n\t}","title":""},{"docid":"476a683db756f7989289df9ebc605e62","score":"0.51147026","text":"@Override\r\n\tpublic void play() {\n\t\t\r\n\t}","title":""},{"docid":"e1a5a4ce214a8187694d321a8aaff8d0","score":"0.5103711","text":"public void run(){\n ourMediaPlayer.getMediaPlayer().playMedia(mediaPath);\n }","title":""},{"docid":"2a8c43c742d0b403561d1b4c7dca43e3","score":"0.50949377","text":"@Override\n\tpublic void play() {\n\t\t\n\t}","title":""},{"docid":"2a8c43c742d0b403561d1b4c7dca43e3","score":"0.50949377","text":"@Override\n\tpublic void play() {\n\t\t\n\t}","title":""},{"docid":"cc574d0b2226cfa15a69bae78b950e0d","score":"0.5082546","text":"public void playCorrect() {\n this.correct.start();\n }","title":""},{"docid":"ff6f1756309a1d5f1a0b51864f1c76b5","score":"0.50632226","text":"public abstract void play();","title":""},{"docid":"ff6f1756309a1d5f1a0b51864f1c76b5","score":"0.50632226","text":"public abstract void play();","title":""},{"docid":"ff6f1756309a1d5f1a0b51864f1c76b5","score":"0.50632226","text":"public abstract void play();","title":""},{"docid":"ff6f1756309a1d5f1a0b51864f1c76b5","score":"0.50632226","text":"public abstract void play();","title":""},{"docid":"a8133d700e5c987d417b32c73ea0bdc3","score":"0.506208","text":"public static void main(String[] args) {\n\t\t\n\t\tfileName = \"Gomoku.txt\";//args[0];\n\t\tSystem.out.println(\"File Name = \"+fileName);\n\t\tGame game = new Game();\n\t\tgame.start();\n\t}","title":""},{"docid":"4a8064be15684f5d13d2c8049a077c6c","score":"0.50562","text":"public static void main(String[] args) \n\t{\n//\t\tFile file = new File(\"start.ini\");\n//\t\tBufferedReader init_file;\n//\t\ttry {\n//\t\tinit_file = new BufferedReader(new FileReader(file));\n//\t\tString line = init_file.readLine().split(\" //\")[0];\n//\t\twhile(line != null) {\n//\t\t\tSystem.out.println(line);\n//\t\t\tline = init_file.readLine().split(\" //\")[0];\n//\t\t}\n//\t\t}\n//\t\tcatch(Exception e) {\n//\t\t\tSystem.out.println(e.toString());\n//\t\t}\n\t\tSystem.out.println(\"start\");\n\t\tBattleController battleController = new BattleController();\n\t\tString load_file = \"\";\n\t\tbattleController.play(true);\n\t\t\n\t}","title":""},{"docid":"983b782ca3768f467393549aff49af1d","score":"0.5052548","text":"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String example = input.nextLine();\n FileName(example);\n }","title":""},{"docid":"615a0c1619426e9634bf7d968a6d0123","score":"0.50411737","text":"public void playGame()\n {\n // TODO: You write this!\n // I strongly recommend that you break this up into smaller methods.\n\n // ---------------------------------\n }","title":""},{"docid":"021d1e84ca07bf7d7d803b738975d941","score":"0.5030646","text":"public static void main(String[] args) {\n\t\ttry {\n\t\t\tsoundFile = new File(\"Start Song.wav\");\n\t\t\tin = AudioSystem.getAudioInputStream(soundFile);\n\t\t\tclip = AudioSystem.getClip();\n\t\t\tclip.open(in);\n\t\t\tclip.start();\n\t\t\tclip.loop(Clip.LOOP_CONTINUOUSLY);\n\t\t\t// in = new FileInputStream(\"Start Song.wav\");\n\t\t\t// as = new AudioStream(in);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// AudioPlayer.player.start(as);\n\t\tstartMenu();\n\t}","title":""},{"docid":"38cd437d434c509c7bbba3a17761a13d","score":"0.5024412","text":"@Test\n public void testPlay(){\n\n player.play();\n\n }","title":""},{"docid":"74d7e9eef08fcab8926f46a786ab7397","score":"0.5013056","text":"private void playSound(String fileName) {\n\t\tAudioClip sound = JApplet.newAudioClip(getClass().getResource(fileName));\n\t\tsound.play();\n\t}","title":""},{"docid":"4d0fa4dac47198aced8c6675b07a2a5f","score":"0.49934602","text":"void play();","title":""},{"docid":"4d0fa4dac47198aced8c6675b07a2a5f","score":"0.49934602","text":"void play();","title":""},{"docid":"4e40069ed2873af74a6f630857685ae4","score":"0.49884686","text":"public static void main(String[] args) throws Exception {\n\t\tplay(); \n\t\tSystem.out.println(\"Done\");\n\t}","title":""},{"docid":"700ee5a4d99d21f6e48060072da4159a","score":"0.49879482","text":"private void loadScenario() {\n final String scenarioFile = Utils.getProperty(PerfCakeConst.SCENARIO_PROPERTY);\n\n try {\n scenario = ScenarioLoader.load(scenarioFile);\n } catch (final Exception e) {\n log.fatal(String.format(\"Cannot load scenario '%s': \", scenarioFile), e);\n System.exit(PerfCakeConst.ERR_SCENARIO_LOADING);\n }\n }","title":""},{"docid":"863e151140aaafa64591389e4a5f4da6","score":"0.4982033","text":"public static String getScenarioSrcFile(String scenarioName) {\n\t\treturn JSystemProperties.getInstance().getPreference(\n\t\t\t\tFrameworkOptions.RESOURCES_SOURCE_FOLDER)\n\t\t\t\t+ \"/\" + scenarioName + \".xml\";\n\t}","title":""},{"docid":"d02d6c94c4ab3099d4842ce3d3407bc4","score":"0.4973675","text":"public static void main(String[] args) {\n Game mygame = new Game();\n mygame.play();\n }","title":""},{"docid":"f8563c181c007c412c43c01ad8ece8f4","score":"0.49695075","text":"private void playSoundRecorded()\n\t\t{\n\t\t\tmy_player.PlayCuaq(this.getFilename());\n\t\t}","title":""},{"docid":"e3ee2116ab1e9bfb9385cbf2cc148940","score":"0.49650815","text":"public void test(String screen) {\n\t\tif (screen.equals(\"scenario\"))\n\t\t\tnifty.gotoScreen(screen);\n\t\telse if (screen.equals(\"settings\"))\n\t\t\tnifty.gotoScreen(screen);\n\t\tpageTurnSound.play();\n\t}","title":""},{"docid":"ba0406b651f431a8c35dc400f472de32","score":"0.4960837","text":"public static void playClip(String musicLocation, String songName){\n\n try{\n File clipPath = new File(musicLocation);\n\n if (clipPath.exists()){\n\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(clipPath);\n clip = AudioSystem.getClip();\n clip.open(audioInput);\n clip.start();\n\n System.out.println(songName);\n\n\n }\n\n else{ System.out.println(\"File does not exist\"); }\n\n }\n\n catch(Exception ex){ ex.printStackTrace();}\n\n }","title":""},{"docid":"dd6462ec6c20626643d77367d5b37014","score":"0.49456617","text":"@Override\n\tpublic void playSound(Location arg0, String arg1, float arg2, float arg3)\n\t{\n\n\t}","title":""},{"docid":"6753f81f9240556840229a2d647a451b","score":"0.4945225","text":"void playMusic(String music){\r\n try {\r\n File musicPath = new File(\"music\\\\\" + music);\r\n // if the file exist, it starts the music\r\n if (musicPath.exists()) {\r\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);\r\n Clip clip = AudioSystem.getClip();\r\n clip.open(audioInput);\r\n clip.start();\r\n\r\n }\r\n }\r\n catch(Exception ex){\r\n ex.printStackTrace();\r\n }\r\n }","title":""},{"docid":"d986aaf6e21c9acb407d176491bdc8ab","score":"0.4944084","text":"public void PlaySound(File Sound){\n try{\n Clip clip = AudioSystem.getClip();\n clip.open(AudioSystem.getAudioInputStream(Sound));\n clip.start();\n\n\n }catch(Exception e)\n {\n\n }\n }","title":""},{"docid":"aba158589a14a25ee6c4bc74c91b4a46","score":"0.4942006","text":"private void onRunEvent(Event event) {\n String filepath = (String) event.getArgs().get(0);\n mEventMgr.publish(new Event(EventType.LOAD, filepath));\n mEventMgr.publish(new Event(EventType.START));\n }","title":""},{"docid":"a768fd3cf42bd6c21d26fd6ef038a3e3","score":"0.49395543","text":"@NonNull\n public abstract List play();","title":""},{"docid":"0d3c9fc033639cdad6a85e744fbdbdd6","score":"0.49288395","text":"public void playWrong() {\n this.wrong.start();\n }","title":""},{"docid":"f7815f03fd9f694bebc745844dc2f4a8","score":"0.4926566","text":"private void handleActionPlay(String param1, String param2) {\n // TODO: Handle action Foo\n //throw new UnsupportedOperationException(\"Not yet implemented\");\n\n String url_play = param1;\n Intent intent = new Intent( \"com.ucweb.intent.action.OPEN_URL\", Uri.parse( url_play ) );\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n\n }","title":""},{"docid":"9f022313d072fa9c4bcd07dff2e0735b","score":"0.49201107","text":"private void switchToGame(String loadGameName) {\n Intent tmp = null;\n if(loadType.equals(\"sliding_file\")) {\n tmp = new Intent(this, SlidingMainActivity.class);\n }else if(loadType.equals(\"snake_file\")) {\n tmp = new Intent(this, SnakeMainActivity.class);\n }else if(loadType.equals(\"mole_file\")){\n tmp = new Intent(this, MoleMainActivity.class);\n }\n\n assert tmp != null;\n tmp.putExtra(\"currentUser\",userManager.getCurrentUser().getUserName());\n tmp.putExtra(\"ifLoad\", \"load\");\n tmp.putExtra(\"loadGameName\", loadGameName);\n startActivity(tmp);\n }","title":""},{"docid":"24f5e99d972005b5fd3567cbd0778e65","score":"0.49153048","text":"public static void main(String[] args) {\n try {\n playSound(\"beats.wav\");\n } catch (LineUnavailableException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (UnsupportedAudioFileException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n methodFromSergii();\n }","title":""},{"docid":"b6a0e442f8c961b2128ca3acdd498620","score":"0.4910352","text":"public void run() {\n\t\t try {\n\t\t Clip clip = AudioSystem.getClip();\n\t\t //AudioInputStream inputStream = AudioSystem.getAudioInputStream(Main.class.getResourceAsStream(url));\n\t\t AudioInputStream inputStream = AudioSystem.getAudioInputStream(f.toURI().toURL());\n\t\t clip.open(inputStream);\n\t\t clip.start(); \n\t\t } catch (Exception e) {\n\t\t System.err.println(e.getMessage());\n\t\t }\n\t\t }","title":""},{"docid":"a84374ec77a213f7d224243c10081293","score":"0.490711","text":"public static void main(String[] args) {\n\t\tUtility.gamePlay();\n\t}","title":""},{"docid":"47d9aa37db5d50e79219076fee3318bd","score":"0.49041098","text":"@Override\n\tpublic String play() {\n\t\tint statement = rand.nextInt(4);\n\t\treturn behaviorOptions[statement];\n\t}","title":""},{"docid":"f8a2b92f4484db98b4dd6e67bc0f3f19","score":"0.48982766","text":"public void play() {\n\t\tThread t = new Thread(new AudioEngine(filename));\n\t\tt.start();\n\t}","title":""},{"docid":"541952b62d1abf672a0e51a5bc5d9533","score":"0.48954734","text":"public static void startActionPlay(Context context, String param1, String param2) {\n Intent intent = new Intent(context, MediaService.class);\n intent.setAction(ACTION_PLAY);\n intent.putExtra(EXTRA_DESCRIPTION, param1);\n intent.putExtra(EXTRA_FILENAME, param2);\n context.startService(intent);\n }","title":""},{"docid":"f33f4975e34b25510e6ac322eec749ae","score":"0.4888048","text":"public static void main(final String[] argv) {\n play();\n }","title":""},{"docid":"7a2893ac97a436116a76265de00d5a91","score":"0.48843315","text":"@Override\n\tpublic void playEffect(Location arg0, Effect arg1, int arg2)\n\t{\n\n\t}","title":""},{"docid":"4f199e2a26f3eb8a75c15aad4d412ec3","score":"0.48805812","text":"@Test\r\n public void play()\r\n {\r\n Random rnd = new Random(0); // fixed seed\r\n String[] verbs = INVOCATIONS.keySet().toArray(new String[0]);\r\n \r\n SWOperationBean op = getOperation(SWOperationBean.TEST);\r\n op.setInt1(SWOperationBean.TEST_RESET_SEED);\r\n op.setInt2(1);\r\n SWContextBean context = SubWarGameAPI.invoke(op);\r\n assertNull(context.getLastOperationError());\r\n\r\n SWInvocationBean resp;\r\n resp = dialog(SubWarAudioAPI.CMD_LAUNCH_APP);\r\n assertNull(resp.getGame());\r\n assertFalse(resp.isEndSession());\r\n for (int i = 0; i < 512; i++)\r\n {\r\n if (resp.isEndSession())\r\n {\r\n resp = dialog(SubWarAudioAPI.CMD_LAUNCH_APP);\r\n assertNull(resp.getGame());\r\n assertFalse(resp.isEndSession());\r\n }\r\n else\r\n {\r\n String verb = verbs[rnd.nextInt(verbs.length)];\r\n String[] args = INVOCATIONS.get(verb);\r\n if (args.length == 0)\r\n resp = dialog(verb);\r\n else\r\n {\r\n String arg = args[rnd.nextInt(args.length)];\r\n resp = dialog(verb, arg);\r\n }\r\n }\r\n aiMove();\r\n }\r\n }","title":""},{"docid":"3fe46ebe2d3389c13d437bf98da4669b","score":"0.48774916","text":"public static void main(String[] args) throws UnsupportedAudioFileException, IOException {\n JavaSoundRecorder recorder = new JavaSoundRecorder();\n recorder.Test();\n // start recording\n //recorder.start();\n }","title":""},{"docid":"1d496b074ed20ab41e0277f3a10c8f02","score":"0.4875481","text":"public static void main(String[] args) {\n\t\tSystem.out.println(play(21, 22));\r\n\t}","title":""},{"docid":"30244467175c2223f2e8295484a5395a","score":"0.48724452","text":"public void run() {\n\t\t try {\n\t\t Clip clip = AudioSystem.getClip();\n\t\t AudioInputStream inputStream = AudioSystem.getAudioInputStream(Main.class.getResourceAsStream(\"/dev/angora/sounds/\" + url));\n\t\t clip.open(inputStream);\n\t\t clip.start(); \n\t\t } catch (Exception e) {\n\t\t System.err.println(e.getMessage());\n\t\t }\n\t\t }","title":""},{"docid":"7928ada798e6d6daa5870e0c0aa4fcbd","score":"0.4862948","text":"void play(String audioFilePath) {\n File audioFile = new File(audioFilePath);\n\n try {\n AudioInputStream audioStream = AudioSystem.getAudioInputStream(audioFile);\n\n AudioFormat format = audioStream.getFormat();\n\n DataLine.Info info = new DataLine.Info(Clip.class, format);\n\n Clip audioClip = (Clip) AudioSystem.getLine(info);\n\n audioClip.addLineListener(this);\n\n audioClip.open(audioStream);\n\n int frameLength = audioClip.getFrameLength();\n LOGGER.info(\"Frame length = \" + frameLength);\n\n long duration = audioClip.getMicrosecondLength();\n LOGGER.info(\"Duration = \" + (duration / 1000000) + \" sec\");\n\n /**To specify the position to start playing back:*/\n audioClip.setMicrosecondPosition(1000000); // start playing from the 1st second\n audioClip.setFramePosition(80000); // start playing from the 80,000th frame\n /**To loop playing all the sound for 2 times:*/\n audioClip.loop(2);/**loop 2 times (total play 3 times)*/\n\n /**To stop playing back at the current position:\n audioClip.stop();\n */\n\n audioClip.start();\n\n LOGGER.info(\"Wait for playback completes\");\n while (!playCompleted) {\n try {\n Thread.sleep(100);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n }\n\n /**\n To stop playing back at the current position:\n audioClip.stop();\n To resume playing, call start() method again.\n */\n\n audioClip.close();\n\n } catch (UnsupportedAudioFileException ex) {\n LOGGER.error(\"The specified audio file is not supported.\", ex.getMessage(), ex);\n } catch (LineUnavailableException ex) {\n LOGGER.error(\"Audio line for playing back is unavailable.\", ex.getMessage(), ex);\n } catch (IOException ex) {\n LOGGER.error(\"Error playing the audio file.\", ex.getMessage(), ex);\n }\n\n }","title":""},{"docid":"8dea7e147fa09b7a27a69962aa7cc458","score":"0.48626095","text":"@Override\n public void play(){ }","title":""},{"docid":"0e628cc52d4ddcd11edb5d23ab938cb0","score":"0.48541495","text":"@Override\n\tpublic void play() {\n\t\tSystem.out.println(\"Veena is being played\");\n\t}","title":""},{"docid":"166f0fae0d2b89b143763749085d7e50","score":"0.48432764","text":"public static void main(String[] args) {\n\t\tnew Frame2().assignValue(\"20181024151214.txt\");\n\t//\tnew Frame2().speak(\"vishal sharma\");\n\t//\tnew Frame2().test();\n\n\t}","title":""},{"docid":"8b8de90b9d544966c9e54349f4bfb584","score":"0.48424056","text":"public void playSound() throws UnsupportedAudioFileException, LineUnavailableException, IOException {\n\t\tclip = AudioSystem.getClip();\n\t\tAudioInputStream ais = AudioSystem.getAudioInputStream(getClass().getResource(\"/Wii_Music.wav\"));\n\t\tclip.open(ais);\n\t\tclip.loop(Clip.LOOP_CONTINUOUSLY);\n\t}","title":""},{"docid":"8b12ab7b56f52bf3839f723a78dd62e8","score":"0.48405534","text":"@Test\n\tpublic void testPlaySound() {\n\t\t\n\t\tcustomViews.GameScene.playSound(Sounds.BrickBlow);\n\t\tassertEquals(\"Result\",Sounds.BrickBlow,customViews.GameScene.getCurrentSound());\n\t\tcustomViews.GameScene.playSound(Sounds.PaddleHit);\n\t\tassertEquals(\"Result\",Sounds.PaddleHit,customViews.GameScene.getCurrentSound());\n\t\tcustomViews.GameScene.playSound(Sounds.Win);\n\t\tassertEquals(\"Result\",Sounds.Win,customViews.GameScene.getCurrentSound());\n\t}","title":""},{"docid":"89ac891fb27c1048c1907d7f48f01d35","score":"0.4832829","text":"public void run (String arg) {\n OpenDialog od = new OpenDialog(\"Select AVI File\", arg); //file dialog\n String fileName = od.getFileName();\n if (fileName == null) return;\n String fileDir = od.getDirectory();\n String path = fileDir + fileName;\n try {\n openAndReadHeader(path); //open and read header\n } catch (Exception e) {\n error(exceptionMessage(e));\n return;\n }\n if (!showDialog(fileName)) return; //ask for parameters\n try {\n ImageStack stack = makeStack(path, firstFrame, lastFrame, isVirtual, convertToGray, flipVertical); //read data\n } catch (Exception e) {\n error(exceptionMessage(e));\n return;\n }\n if (stack==null || aborting || (stack.isVirtual()&&stack.getProcessor(1)==null))\n return;\n if (stack.getSize() == 0) {\n String rangeText = \"\";\n if (firstFrame>1 || lastFrame!=0)\n rangeText = \"\\nin Range \"+firstFrame+\n (lastFrame>0 ? \" - \"+lastFrame : \" - end\");\n error(\"Error: No Frames Found\"+rangeText);\n return;\n }\n imp = new ImagePlus(WindowManager.getUniqueName(fileName), stack);\n if (imp.getBitDepth()==16)\n imp.getProcessor().resetMinAndMax();\n setFramesPerSecond(imp);\n FileInfo fi = new FileInfo();\n fi.fileName = fileName;\n fi.directory = fileDir;\n imp.setFileInfo(fi);\n if (arg.equals(\"\"))\n imp.show();\n IJ.showTime(imp, startTime, \"Read AVI in \", stack.getSize());\n }","title":""},{"docid":"afc11032e42cf7736308457dc9a370f7","score":"0.4829812","text":"public void play(){\n Intent intent = new Intent(this, ResultsActivity.class);\n startActivity(intent);\n }","title":""},{"docid":"0b65273666d1e4f3baa826710a574588","score":"0.48282167","text":"public AudioClip(String fileName, BattleshipGui gui) {\n try {\n InputStream is = this.getClass().getResourceAsStream(fileName);\n InputStream bufferedIs = new BufferedInputStream(is);\n AudioInputStream track = AudioSystem.getAudioInputStream(bufferedIs);\n this.audio = AudioSystem.getClip();\n this.audio.open(track);\n } catch (NullPointerException|IOException|UnsupportedAudioFileException\n |LineUnavailableException ex) {\n gui.alertException(\"Error loading audio\", ex);\n }\n }","title":""},{"docid":"5988b3e23e5427212efdcd857427088d","score":"0.48230237","text":"@Test\n public void load_should_load_save_file() throws IOException {\n String path = \"____\";\n\n when(fsa.loadFile(path)).thenReturn(Map.of(\"location\", \"The Amazon\")); //interacts with a external file\n\n //Act\n target.load(path, g); //loads the save game factory\n\n //Assert\n //the location will be the same as the location in the save file\n assertEquals(\"The Amazon\", g.getPlayer().getLocation().getName());\n\n }","title":""},{"docid":"7cdc5bc117cbee208dae4cd8c5df67df","score":"0.48102647","text":"private ScenarioExecution(final String[] args) {\n Utils.initTimeStamps();\n parseCommandLine(args);\n\n // now it is safe to greet the user\n log.info(String.format(PerfCakeConst.WELCOME, PerfCakeConst.VERSION));\n\n Utils.initDebugAgent();\n loadScenario();\n }","title":""}],"string":"[\n {\n \"docid\": \"999fafe20cd6411f0a5c8ead1b7b4865\",\n \"score\": \"0.6621364\",\n \"text\": \"public static void play(String file) {\\n\\t\\t// YOUR CODE HERE\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d51da4c5af0b202305f8a7941e45c9b\",\n \"score\": \"0.6417568\",\n \"text\": \"public abstract void Play(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38bbefc42a9dc3ae376737f8dbbc71d8\",\n \"score\": \"0.57887334\",\n \"text\": \"public static void main(String[] args) {\\n String audioFilePath = \\\"D:/nature.wav\\\";\\n AudioPlayerUsedClip player = new AudioPlayerUsedClip();\\n player.play(audioFilePath);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d913c009438c7156723b33ca50d323b0\",\n \"score\": \"0.5785891\",\n \"text\": \"@Override\\n\\tpublic void play(String AudioFile) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d2e766ed16315c301397e972d498473\",\n \"score\": \"0.56702\",\n \"text\": \"@Test\\n public void testPlayingFile() {\\n System.out.println(\\\"PlayingFile\\\");\\n PlayPressed instance = new PlayPressed();\\n instance.PlayingFile();\\n // TODO review the generated test code and remove the default call to fail.\\n //fail(\\\"The test case is a prototype.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c0c544f36a95b687612daee1382f711\",\n \"score\": \"0.56571347\",\n \"text\": \"private static void playAudio(String musicFile) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0d4e7d681e0d1edd0b6e12742c2f371\",\n \"score\": \"0.5543684\",\n \"text\": \"private void play()\\r\\n {\\r\\n String fileLine;\\r\\n try\\r\\n {\\r\\n while (fileScanner.hasNextLine())\\r\\n {\\r\\n //This while loop is created to wait for a user to press a button.\\r\\n while (userInput)\\r\\n {\\r\\n Thread.sleep(400);\\r\\n }\\r\\n fileLine = fileScanner.nextLine();\\r\\n logger.log(Level.INFO, \\\"Current line in file: {0}\\\", fileLine.toString());\\r\\n performAction (fileLine);\\r\\n }\\r\\n if (!fileScanner.hasNextLine())\\r\\n {\\r\\n fileScanner.close ();\\r\\n //The if statement is created to check if there is an /~endrepeat for a previously \\r\\n //declared /~repeat in the scenario file.\\r\\n if (repeat)\\r\\n {\\r\\n errorLog (\\\"Exception error: IllegalArgumentException\\\", \\\"Expected the keyphrase: \\\\n\\\"\\r\\n + \\\"/~endrepeat \\\" + \\\"\\\\n ,somewhere in the scenario file, to indicate when \\\"\\r\\n + \\\" to stop storing the text to be repeated, but the keyphrase was \\\"\\r\\n + \\\"nowhere to be found.\\\" + \\\"\\\\n The program ended due to an \\\"\\r\\n + \\\"incorrect formatted scenario file.\\\"); \\r\\n }\\r\\n exit ();\\r\\n }\\r\\n }\\r\\n catch (Exception e)\\r\\n {\\r\\n errorLog (\\\"Exception error : \\\" + e.toString (), \\\"Strange error occurred if you are able to read this message. Possibilities \\\"\\r\\n + \\\"could include possible file corruption, or that you have enter characters that \\\"\\r\\n + \\\"could not be read/interpreted.\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"182ed05f3b98ebe354e5cb91bc8287d0\",\n \"score\": \"0.5479235\",\n \"text\": \"public void playFile(String filePath) {\\n\\t\\t\\n\\t\\tinit(filePath);\\n\\t\\t\\n\\t\\tgetNextDecodedFrame();\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"795762f4d3bc0bb6fcd9171c5493182d\",\n \"score\": \"0.54694504\",\n \"text\": \"public void play(String fileName) {\\n\\t\\tplay(fileName, true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b1fe4cfe72e7a48a68b95689aba57e4\",\n \"score\": \"0.545936\",\n \"text\": \"private void howToPlay() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f80632c4b7ec287731fc4ab521882e0\",\n \"score\": \"0.54577863\",\n \"text\": \"private void playAudioClip(String filePath) {\\n\\t\\tAudioClip audioClip = new AudioClip(getClass().getResource(filePath).toString());\\n\\t\\taudioClip.play();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0807d28d5b6011c1c332fd918a1a5c26\",\n \"score\": \"0.5455431\",\n \"text\": \"public static void play(String path) {\\r\\n\\t\\tplay(path, 1);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13cfa8ee4b0a40ff02ef5fa7d951e613\",\n \"score\": \"0.54391897\",\n \"text\": \"public static void main(String[] args) throws IOException {\\n File file = new ClassPathResource(\\\"sampleGame.xml\\\").getFile();\\n PladiQuest zork = new PladiQuest(file.getAbsolutePath());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62fd465ad61927e9bd36ac9877606192\",\n \"score\": \"0.5425967\",\n \"text\": \"public void playFile(File input) {\\n if (input != null && checkFileValidity(input)) {\\n Synthesizer synthesizer = null;\\n javax.sound.midi.Sequencer sequencer = null;\\n InputStream inputStream = null;\\n try {\\n synthesizer = MidiSystem.getSynthesizer();\\n synthesizer.open();\\n synthesizer.loadAllInstruments(synthesizer.getDefaultSoundbank());\\n\\n sequencer = MidiSystem.getSequencer(false);\\n sequencer.open();\\n sequencer.getTransmitter().setReceiver(synthesizer.getReceiver());\\n inputStream = new BufferedInputStream(new FileInputStream(input));\\n sequencer.setSequence(inputStream);\\n\\n org.jfugue.player.SequencerManager.getInstance().setSequencer(sequencer);\\n player.play(sequencer.getSequence());\\n } catch (Exception e) {\\n e.printStackTrace();\\n } finally {\\n synthesizer.close();\\n sequencer.close();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07d22fea6fcfeef3803bc304074dcb07\",\n \"score\": \"0.5425576\",\n \"text\": \"public void PlayHitSound() {\\n\\t\\n\\t\\t//demonstrating how paths.get can be used with an inline string instead of a pre existing variable.\\n\\t\\tfinal AudioClip sound = new AudioClip(Paths.get(\\\"res/ballhit.wav\\\").toUri().toString()); \\n\\t\\tsound.play();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb541fe8599e874813ab2e3755e754f9\",\n \"score\": \"0.5390551\",\n \"text\": \"public static void main(String[] args) {\\n play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"159c821749b7fac1fe0c4a7601b2f8ee\",\n \"score\": \"0.5376035\",\n \"text\": \"public static void playSong(String musicLocation){\\n\\n try{\\n\\n File musicPath = new File(musicLocation);\\n\\n if (musicPath.exists()){\\n\\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);\\n track = AudioSystem.getClip();\\n track.open(audioInput);\\n track.start();\\n\\n\\n }\\n\\n else{ System.out.println(\\\"File does not exist\\\"); }\\n\\n }\\n\\n catch(Exception ex){ ex.printStackTrace();}\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb5a336ee8641cb30a41ee96ed1bfee6\",\n \"score\": \"0.5347018\",\n \"text\": \"private void playSound (String sound)\\r\\n {\\r\\n String soundFileName = scenarioFilePath + File.separator + \\\"AudioFiles\\\" + File.separator + sound;\\r\\n File file = new File(soundFileName);\\r\\n if (!file.exists())\\r\\n {\\r\\n \\tsoundFileName = sound;\\r\\n }\\r\\n try\\r\\n {\\r\\n Clip clip = AudioSystem.getClip();\\r\\n clip.open(AudioSystem.getAudioInputStream(new File(soundFileName)));\\r\\n clip.start();\\r\\n //This while loop is to check if the audio file has played or not, and if it has not then it will\\r\\n //continue to wait until it does.\\r\\n while (!clip.isRunning())\\r\\n Thread.sleep(10);\\r\\n while (clip.isRunning())\\r\\n Thread.sleep(10); \\r\\n clip.close(); \\r\\n\\r\\n }\\r\\n catch (IOException e)\\r\\n {\\r\\n errorLog(\\\"Exception error: \\\" + e.toString(), \\\"File \\\" + soundFileName + \\\" not found!\\\", \\\"Sound file not found!\\\");\\r\\n }\\r\\n catch (Exception e)\\r\\n {\\r\\n errorLog (\\\"Exception error: \\\" + e.toString(), \\\"Sound file \\\" + soundFileName + \\\" could not be played!\\\" +\\r\\n \\\"Most likely due to unsupported format. Try again using the .wav format, with a sample rate of 44.1kHz and a bit depth of 16.\\\",\\r\\n \\\"Unsupported sound file format\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"734a645f661f22a1aaafc6750e7ee287\",\n \"score\": \"0.53090644\",\n \"text\": \"@Override\\n\\tpublic void actionPerformed(ActionEvent arg0) {\\n\\t\\tif (arg0.getSource() == b1) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tplayFromAFile(\\\"/Users/ethanhyde/Documents/workspace/TestTHingy/src/Happy Plane.mp3\\\");\\n\\t\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t} catch (JavaLayerException e) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\telse {\\n\\n\\t\\ttry {\\n\\t\\t\\tplayFromAFile(\\\"/Users/ethanhyde/Documents/workspace/TestTHingy/src/Excision - Bass Cannon.mp3\\\");\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t} catch (JavaLayerException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\tif (arg0.getSource() == b2) {\\n\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20a4e2915f4a31b291f39cf14e06741c\",\n \"score\": \"0.5302024\",\n \"text\": \"public void play() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9487499162718fb69ff4f4861ea8494e\",\n \"score\": \"0.5298307\",\n \"text\": \"public static void main(String[] args) {\\n playGame();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e25eae668b10a5438e82e9a6404a22e\",\n \"score\": \"0.52978134\",\n \"text\": \"public void loadGame(String file) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"804374020edff69454c3a4be978c262e\",\n \"score\": \"0.5288691\",\n \"text\": \"public void playMusicFromFile() throws FileNotFoundException {\\r\\n Scanner sc = new Scanner(rd);\\r\\n try {\\r\\n ap.append(\\\"File path:\\\\n\\\");\\r\\n } catch (IOException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n String path = sc.next();\\r\\n\\r\\n FileReader file = new FileReader(new File(path));\\r\\n\\r\\n MusicModel fromFile = MusicReader.parseFile(file, new MusicModelImp1.Builder());\\r\\n try {\\r\\n ap.append(\\\"View type:\\\\n\\\");\\r\\n } catch (IOException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n String type = sc.next();\\r\\n\\r\\n ViewFactory.createView(type, fromFile, ap);\\r\\n if (type.equals(\\\"midi\\\")) {\\r\\n try {\\r\\n Thread.sleep((fromFile.totalBeats() + 1) * fromFile.getTempo() / 1000);\\r\\n } catch (InterruptedException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e47620a9b34cab7ef3d0537b1e9a8bc7\",\n \"score\": \"0.52718246\",\n \"text\": \"public void soundPlayc(){\\n AudioClip sound = new AudioClip(getClass().getResource(\\\"MediaSweng/T-Rex.wav\\\").toString());\\n sound.play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13cd39e43f0eba9b677f8668354ec173\",\n \"score\": \"0.52570534\",\n \"text\": \"public static void play() {\\n intro();\\n name();\\n explanation();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"612e64db0569569895cc391b4521af3d\",\n \"score\": \"0.52489287\",\n \"text\": \"public void scenarioStarted(String name) {\\n\\t\\t\\t/*\\n\\t\\t\\t * the current scene should be set in sam via the RElistener\\\" BUT\\n\\t\\t\\t * this isn't going to work for the garden scenes, because in the re\\n\\t\\t\\t * it's the same scenario with different backgrounds, so need to set\\n\\t\\t\\t * the current scene from sod, where the re is called need to\\n\\t\\t\\t * convert from Rendering Engine name to DM and PC name unless can\\n\\t\\t\\t * check the background as well\\n\\t\\t\\t */\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77264a0413bbc3f6e6419190cdb01cf6\",\n \"score\": \"0.5230593\",\n \"text\": \"protected void playStepSound(int par1, int par2, int par3, int par4)\\n {\\n this.playSound(Blocks.ice.stepSound.soundName, 1.0F, 1.0F);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5fe92bc2b176ee15b1cbfae70386e62\",\n \"score\": \"0.5224185\",\n \"text\": \"public void soundPlay(){\\n AudioClip sound = new AudioClip(getClass().getResource(\\\"MediaSweng/Triceratops.wav\\\").toString());\\n sound.play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"196a36de69832ccc4100864e2a1adeee\",\n \"score\": \"0.5223051\",\n \"text\": \"public static void playSound(String filePath)\\n {\\n try\\n {\\n java.io.File soundFile = new java.io.File(filePath);\\n javax.sound.sampled.AudioInputStream audioIn\\n = javax.sound.sampled.AudioSystem.getAudioInputStream(soundFile);\\n javax.sound.sampled.Clip sound\\n = javax.sound.sampled.AudioSystem.getClip();\\n sound.open(audioIn);\\n sound.start();\\n }\\n catch (IOException e)\\n {\\n System.err.println(\\\"Minor problem: File could not be played:\\\");\\n System.err.println(e.toString() + \\\"\\\\n\\\");\\n }\\n catch (Exception e)\\n {\\n System.err.println(\\\"Other problem:\\\\n\\\" + e.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ff1feb7614e95705e0f18aeed48aa88\",\n \"score\": \"0.5222031\",\n \"text\": \"public void soundPlayd(){\\n AudioClip sound = new AudioClip(getClass().getResource(\\\"MediaSweng/Suchomimus.wav\\\").toString());\\n sound.play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4acabfbdca564b78c354dc5899bcddea\",\n \"score\": \"0.52173424\",\n \"text\": \"@Override\\n\\tpublic void play(String content) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0259fb5091d2f35023c840df70b563c\",\n \"score\": \"0.52165574\",\n \"text\": \"@Override\\r\\n\\tpublic void run(IAction action) {\\n\\t\\tIPath path = browse(getSourceLocation(), false);\\r\\n\\t\\tif (path == null)\\r\\n\\t\\t\\tMessageDialog.openError(window.getShell(), \\\"Path\\\", \\\"Invalid path\\\");\\r\\n\\r\\n\\t\\t// IPath rootLoc =\\r\\n\\t\\t// ResourcesPlugin.getWorkspace().getRoot().getLocation();\\r\\n\\t\\t// if (rootLoc.isPrefixOf(path))\\r\\n\\t\\t// path = path.setDevice(null).removeFirstSegments(\\r\\n\\t\\t// rootLoc.segmentCount());\\r\\n\\t\\tsourceFilePath = path.toString();\\r\\n\\t\\t// inject the XML to Scenario.ecore model\\r\\n\\t\\tScenarioXMLInjector injector = new ScenarioXMLInjectorImpl();\\r\\n\\t\\tInputStream inStream = null;\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tinStream = new FileInputStream(sourceFilePath);\\r\\n\\t\\t} catch (FileNotFoundException e1) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te1.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\tif (inStream == null)\\r\\n\\t\\t\\tMessageDialog.openError(window.getShell(), \\\"File error\\\",\\r\\n\\t\\t\\t\\t\\t\\\"Could not open path: \\\" + sourceFilePath);\\r\\n\\r\\n\\t\\tResource scenarioXML = injector.inject(inStream);\\r\\n\\t\\tSystem.err.println(\\\"XML Scenario file injected !\\\");\\r\\n\\r\\n\\t\\tif (scenarioXML.getContents().size() > 0) {\\r\\n\\t\\t\\tScenario scenario = (Scenario) scenarioXML.getContents().get(0);\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tcontroller.playScenario(scenario);\\r\\n\\t\\t\\t} catch (EIFSimException e) {\\r\\n\\t\\t\\t\\tMessageDialog.openError(window.getShell(), \\\"Simulator error:\\\"\\r\\n\\t\\t\\t\\t\\t\\t+ e.getMessage(), \\\"Simulator error\\\");\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcontroller.updateScenarioRes(scenario);\\r\\n\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tIFClipseView view = controller.getView(ScenarioView.ID);\\r\\n\\t\\t\\t\\tview.setOCLContext(controller.getScenarioRes());\\r\\n\\t\\t\\t} catch (PartInitException e) {\\r\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1f2f64cbd4b98678cfac83010762fed\",\n \"score\": \"0.521209\",\n \"text\": \"public void play(String movie) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7541d723ee7de11f3488555edbf6cc8e\",\n \"score\": \"0.51987135\",\n \"text\": \"@Override\\n public void play(String mediaType, String fileName) {\\n\\n if (mediaType.equals(\\\"mp3\\\")) {\\n super.play(mediaType, fileName);\\n } else if (mediaType.equals(\\\"mp4\\\")) {\\n advancedMediaPlayer.MP4Play(fileName);\\n } else if (mediaType.equals(\\\"avi\\\")) {\\n advancedMediaPlayer.AVIPlay(fileName);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"333a34eab6e61c6d64d2ee3403f3b42a\",\n \"score\": \"0.51746184\",\n \"text\": \"private void replayScenario() {\\n final String rawFile = Utils.getProperty(PerfCakeConst.REPLAY_PROPERTY);\\n\\n log.info(\\\"Replaying raw results recorded in {}.\\\", rawFile);\\n\\n try (final ReplayResults replay = new ReplayResults(scenario, rawFile)) {\\n replay.replay();\\n } catch (IOException ioe) {\\n log.fatal(\\\"Unable to replay scenario: \\\", ioe);\\n System.exit(PerfCakeConst.ERR_SCENARIO_REPLAY);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24d01f633b1bf91d5ca53e51c33ee85f\",\n \"score\": \"0.5163672\",\n \"text\": \"public void soundPlayb(){\\n AudioClip sound = new AudioClip(getClass().getResource(\\\"MediaSweng/Spinosaurus.wav\\\").toString());\\n sound.play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19525f4fc5cd61e1a02fe6b25150f8a6\",\n \"score\": \"0.5151604\",\n \"text\": \"public void play(){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c648c7f5b84b7bb955396e62c771f9a\",\n \"score\": \"0.514705\",\n \"text\": \"public static void playGameMusic(String filePath)\\n {\\n try\\n {\\n java.io.File soundFile = new java.io.File(filePath);\\n javax.sound.sampled.AudioInputStream audioIn\\n = javax.sound.sampled.AudioSystem.getAudioInputStream(soundFile);\\n gameMusic = javax.sound.sampled.AudioSystem.getClip();\\n gameMusic.open(audioIn);\\n gameMusic.start();\\n gameMusic.loop(Clip.LOOP_CONTINUOUSLY);\\n }\\n catch (IOException e)\\n {\\n System.err.println(\\\"Minor problem: File could not be played:\\\");\\n System.err.println(e.toString() + \\\"\\\\n\\\");\\n }\\n catch (Exception e)\\n {\\n System.err.println(\\\"Other problem:\\\\n\\\" + e.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3989f3472473e8aee01a53686258257\",\n \"score\": \"0.51419735\",\n \"text\": \"public void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3989f3472473e8aee01a53686258257\",\n \"score\": \"0.51419735\",\n \"text\": \"public void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3989f3472473e8aee01a53686258257\",\n \"score\": \"0.51419735\",\n \"text\": \"public void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3989f3472473e8aee01a53686258257\",\n \"score\": \"0.51419735\",\n \"text\": \"public void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20b04eb6f98e9398538499be54d28d3e\",\n \"score\": \"0.51197976\",\n \"text\": \"public static void main(String[] args) {\\n Game game = new Game();\\n game.play(); \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f1010df973253eefc0d8eb985d423e\",\n \"score\": \"0.5114838\",\n \"text\": \"public void play(String filename) throws Exception {\\n\\t\\tsynchronized (AudioPlayer.lock) {\\n\\t\\t\\tlogger.info(String.format(\\\"Audio Play using Filename --> %s\\\", filename));\\n\\t\\t\\t\\tplay(new File(filename));\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"476a683db756f7989289df9ebc605e62\",\n \"score\": \"0.51147026\",\n \"text\": \"@Override\\r\\n\\tpublic void play() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1a5a4ce214a8187694d321a8aaff8d0\",\n \"score\": \"0.5103711\",\n \"text\": \"public void run(){\\n ourMediaPlayer.getMediaPlayer().playMedia(mediaPath);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a8c43c742d0b403561d1b4c7dca43e3\",\n \"score\": \"0.50949377\",\n \"text\": \"@Override\\n\\tpublic void play() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a8c43c742d0b403561d1b4c7dca43e3\",\n \"score\": \"0.50949377\",\n \"text\": \"@Override\\n\\tpublic void play() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc574d0b2226cfa15a69bae78b950e0d\",\n \"score\": \"0.5082546\",\n \"text\": \"public void playCorrect() {\\n this.correct.start();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6f1756309a1d5f1a0b51864f1c76b5\",\n \"score\": \"0.50632226\",\n \"text\": \"public abstract void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6f1756309a1d5f1a0b51864f1c76b5\",\n \"score\": \"0.50632226\",\n \"text\": \"public abstract void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6f1756309a1d5f1a0b51864f1c76b5\",\n \"score\": \"0.50632226\",\n \"text\": \"public abstract void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6f1756309a1d5f1a0b51864f1c76b5\",\n \"score\": \"0.50632226\",\n \"text\": \"public abstract void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8133d700e5c987d417b32c73ea0bdc3\",\n \"score\": \"0.506208\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\tfileName = \\\"Gomoku.txt\\\";//args[0];\\n\\t\\tSystem.out.println(\\\"File Name = \\\"+fileName);\\n\\t\\tGame game = new Game();\\n\\t\\tgame.start();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a8064be15684f5d13d2c8049a077c6c\",\n \"score\": \"0.50562\",\n \"text\": \"public static void main(String[] args) \\n\\t{\\n//\\t\\tFile file = new File(\\\"start.ini\\\");\\n//\\t\\tBufferedReader init_file;\\n//\\t\\ttry {\\n//\\t\\tinit_file = new BufferedReader(new FileReader(file));\\n//\\t\\tString line = init_file.readLine().split(\\\" //\\\")[0];\\n//\\t\\twhile(line != null) {\\n//\\t\\t\\tSystem.out.println(line);\\n//\\t\\t\\tline = init_file.readLine().split(\\\" //\\\")[0];\\n//\\t\\t}\\n//\\t\\t}\\n//\\t\\tcatch(Exception e) {\\n//\\t\\t\\tSystem.out.println(e.toString());\\n//\\t\\t}\\n\\t\\tSystem.out.println(\\\"start\\\");\\n\\t\\tBattleController battleController = new BattleController();\\n\\t\\tString load_file = \\\"\\\";\\n\\t\\tbattleController.play(true);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"983b782ca3768f467393549aff49af1d\",\n \"score\": \"0.5052548\",\n \"text\": \"public static void main(String[] args) {\\n Scanner input = new Scanner(System.in);\\n String example = input.nextLine();\\n FileName(example);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"615a0c1619426e9634bf7d968a6d0123\",\n \"score\": \"0.50411737\",\n \"text\": \"public void playGame()\\n {\\n // TODO: You write this!\\n // I strongly recommend that you break this up into smaller methods.\\n\\n // ---------------------------------\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"021d1e84ca07bf7d7d803b738975d941\",\n \"score\": \"0.5030646\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\ttry {\\n\\t\\t\\tsoundFile = new File(\\\"Start Song.wav\\\");\\n\\t\\t\\tin = AudioSystem.getAudioInputStream(soundFile);\\n\\t\\t\\tclip = AudioSystem.getClip();\\n\\t\\t\\tclip.open(in);\\n\\t\\t\\tclip.start();\\n\\t\\t\\tclip.loop(Clip.LOOP_CONTINUOUSLY);\\n\\t\\t\\t// in = new FileInputStream(\\\"Start Song.wav\\\");\\n\\t\\t\\t// as = new AudioStream(in);\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\t// AudioPlayer.player.start(as);\\n\\t\\tstartMenu();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38cd437d434c509c7bbba3a17761a13d\",\n \"score\": \"0.5024412\",\n \"text\": \"@Test\\n public void testPlay(){\\n\\n player.play();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74d7e9eef08fcab8926f46a786ab7397\",\n \"score\": \"0.5013056\",\n \"text\": \"private void playSound(String fileName) {\\n\\t\\tAudioClip sound = JApplet.newAudioClip(getClass().getResource(fileName));\\n\\t\\tsound.play();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d0fa4dac47198aced8c6675b07a2a5f\",\n \"score\": \"0.49934602\",\n \"text\": \"void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d0fa4dac47198aced8c6675b07a2a5f\",\n \"score\": \"0.49934602\",\n \"text\": \"void play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e40069ed2873af74a6f630857685ae4\",\n \"score\": \"0.49884686\",\n \"text\": \"public static void main(String[] args) throws Exception {\\n\\t\\tplay(); \\n\\t\\tSystem.out.println(\\\"Done\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"700ee5a4d99d21f6e48060072da4159a\",\n \"score\": \"0.49879482\",\n \"text\": \"private void loadScenario() {\\n final String scenarioFile = Utils.getProperty(PerfCakeConst.SCENARIO_PROPERTY);\\n\\n try {\\n scenario = ScenarioLoader.load(scenarioFile);\\n } catch (final Exception e) {\\n log.fatal(String.format(\\\"Cannot load scenario '%s': \\\", scenarioFile), e);\\n System.exit(PerfCakeConst.ERR_SCENARIO_LOADING);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"863e151140aaafa64591389e4a5f4da6\",\n \"score\": \"0.4982033\",\n \"text\": \"public static String getScenarioSrcFile(String scenarioName) {\\n\\t\\treturn JSystemProperties.getInstance().getPreference(\\n\\t\\t\\t\\tFrameworkOptions.RESOURCES_SOURCE_FOLDER)\\n\\t\\t\\t\\t+ \\\"/\\\" + scenarioName + \\\".xml\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d02d6c94c4ab3099d4842ce3d3407bc4\",\n \"score\": \"0.4973675\",\n \"text\": \"public static void main(String[] args) {\\n Game mygame = new Game();\\n mygame.play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8563c181c007c412c43c01ad8ece8f4\",\n \"score\": \"0.49695075\",\n \"text\": \"private void playSoundRecorded()\\n\\t\\t{\\n\\t\\t\\tmy_player.PlayCuaq(this.getFilename());\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3ee2116ab1e9bfb9385cbf2cc148940\",\n \"score\": \"0.49650815\",\n \"text\": \"public void test(String screen) {\\n\\t\\tif (screen.equals(\\\"scenario\\\"))\\n\\t\\t\\tnifty.gotoScreen(screen);\\n\\t\\telse if (screen.equals(\\\"settings\\\"))\\n\\t\\t\\tnifty.gotoScreen(screen);\\n\\t\\tpageTurnSound.play();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba0406b651f431a8c35dc400f472de32\",\n \"score\": \"0.4960837\",\n \"text\": \"public static void playClip(String musicLocation, String songName){\\n\\n try{\\n File clipPath = new File(musicLocation);\\n\\n if (clipPath.exists()){\\n\\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(clipPath);\\n clip = AudioSystem.getClip();\\n clip.open(audioInput);\\n clip.start();\\n\\n System.out.println(songName);\\n\\n\\n }\\n\\n else{ System.out.println(\\\"File does not exist\\\"); }\\n\\n }\\n\\n catch(Exception ex){ ex.printStackTrace();}\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd6462ec6c20626643d77367d5b37014\",\n \"score\": \"0.49456617\",\n \"text\": \"@Override\\n\\tpublic void playSound(Location arg0, String arg1, float arg2, float arg3)\\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6753f81f9240556840229a2d647a451b\",\n \"score\": \"0.4945225\",\n \"text\": \"void playMusic(String music){\\r\\n try {\\r\\n File musicPath = new File(\\\"music\\\\\\\\\\\" + music);\\r\\n // if the file exist, it starts the music\\r\\n if (musicPath.exists()) {\\r\\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);\\r\\n Clip clip = AudioSystem.getClip();\\r\\n clip.open(audioInput);\\r\\n clip.start();\\r\\n\\r\\n }\\r\\n }\\r\\n catch(Exception ex){\\r\\n ex.printStackTrace();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d986aaf6e21c9acb407d176491bdc8ab\",\n \"score\": \"0.4944084\",\n \"text\": \"public void PlaySound(File Sound){\\n try{\\n Clip clip = AudioSystem.getClip();\\n clip.open(AudioSystem.getAudioInputStream(Sound));\\n clip.start();\\n\\n\\n }catch(Exception e)\\n {\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aba158589a14a25ee6c4bc74c91b4a46\",\n \"score\": \"0.4942006\",\n \"text\": \"private void onRunEvent(Event event) {\\n String filepath = (String) event.getArgs().get(0);\\n mEventMgr.publish(new Event(EventType.LOAD, filepath));\\n mEventMgr.publish(new Event(EventType.START));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a768fd3cf42bd6c21d26fd6ef038a3e3\",\n \"score\": \"0.49395543\",\n \"text\": \"@NonNull\\n public abstract List play();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d3c9fc033639cdad6a85e744fbdbdd6\",\n \"score\": \"0.49288395\",\n \"text\": \"public void playWrong() {\\n this.wrong.start();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7815f03fd9f694bebc745844dc2f4a8\",\n \"score\": \"0.4926566\",\n \"text\": \"private void handleActionPlay(String param1, String param2) {\\n // TODO: Handle action Foo\\n //throw new UnsupportedOperationException(\\\"Not yet implemented\\\");\\n\\n String url_play = param1;\\n Intent intent = new Intent( \\\"com.ucweb.intent.action.OPEN_URL\\\", Uri.parse( url_play ) );\\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\\n startActivity(intent);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f022313d072fa9c4bcd07dff2e0735b\",\n \"score\": \"0.49201107\",\n \"text\": \"private void switchToGame(String loadGameName) {\\n Intent tmp = null;\\n if(loadType.equals(\\\"sliding_file\\\")) {\\n tmp = new Intent(this, SlidingMainActivity.class);\\n }else if(loadType.equals(\\\"snake_file\\\")) {\\n tmp = new Intent(this, SnakeMainActivity.class);\\n }else if(loadType.equals(\\\"mole_file\\\")){\\n tmp = new Intent(this, MoleMainActivity.class);\\n }\\n\\n assert tmp != null;\\n tmp.putExtra(\\\"currentUser\\\",userManager.getCurrentUser().getUserName());\\n tmp.putExtra(\\\"ifLoad\\\", \\\"load\\\");\\n tmp.putExtra(\\\"loadGameName\\\", loadGameName);\\n startActivity(tmp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24f5e99d972005b5fd3567cbd0778e65\",\n \"score\": \"0.49153048\",\n \"text\": \"public static void main(String[] args) {\\n try {\\n playSound(\\\"beats.wav\\\");\\n } catch (LineUnavailableException e) {\\n e.printStackTrace();\\n } catch (IOException e) {\\n e.printStackTrace();\\n } catch (UnsupportedAudioFileException e) {\\n e.printStackTrace();\\n } catch (InterruptedException e) {\\n e.printStackTrace();\\n }\\n methodFromSergii();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6a0e442f8c961b2128ca3acdd498620\",\n \"score\": \"0.4910352\",\n \"text\": \"public void run() {\\n\\t\\t try {\\n\\t\\t Clip clip = AudioSystem.getClip();\\n\\t\\t //AudioInputStream inputStream = AudioSystem.getAudioInputStream(Main.class.getResourceAsStream(url));\\n\\t\\t AudioInputStream inputStream = AudioSystem.getAudioInputStream(f.toURI().toURL());\\n\\t\\t clip.open(inputStream);\\n\\t\\t clip.start(); \\n\\t\\t } catch (Exception e) {\\n\\t\\t System.err.println(e.getMessage());\\n\\t\\t }\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a84374ec77a213f7d224243c10081293\",\n \"score\": \"0.490711\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tUtility.gamePlay();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d9aa37db5d50e79219076fee3318bd\",\n \"score\": \"0.49041098\",\n \"text\": \"@Override\\n\\tpublic String play() {\\n\\t\\tint statement = rand.nextInt(4);\\n\\t\\treturn behaviorOptions[statement];\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8a2b92f4484db98b4dd6e67bc0f3f19\",\n \"score\": \"0.48982766\",\n \"text\": \"public void play() {\\n\\t\\tThread t = new Thread(new AudioEngine(filename));\\n\\t\\tt.start();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"541952b62d1abf672a0e51a5bc5d9533\",\n \"score\": \"0.48954734\",\n \"text\": \"public static void startActionPlay(Context context, String param1, String param2) {\\n Intent intent = new Intent(context, MediaService.class);\\n intent.setAction(ACTION_PLAY);\\n intent.putExtra(EXTRA_DESCRIPTION, param1);\\n intent.putExtra(EXTRA_FILENAME, param2);\\n context.startService(intent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33f4975e34b25510e6ac322eec749ae\",\n \"score\": \"0.4888048\",\n \"text\": \"public static void main(final String[] argv) {\\n play();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a2893ac97a436116a76265de00d5a91\",\n \"score\": \"0.48843315\",\n \"text\": \"@Override\\n\\tpublic void playEffect(Location arg0, Effect arg1, int arg2)\\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f199e2a26f3eb8a75c15aad4d412ec3\",\n \"score\": \"0.48805812\",\n \"text\": \"@Test\\r\\n public void play()\\r\\n {\\r\\n Random rnd = new Random(0); // fixed seed\\r\\n String[] verbs = INVOCATIONS.keySet().toArray(new String[0]);\\r\\n \\r\\n SWOperationBean op = getOperation(SWOperationBean.TEST);\\r\\n op.setInt1(SWOperationBean.TEST_RESET_SEED);\\r\\n op.setInt2(1);\\r\\n SWContextBean context = SubWarGameAPI.invoke(op);\\r\\n assertNull(context.getLastOperationError());\\r\\n\\r\\n SWInvocationBean resp;\\r\\n resp = dialog(SubWarAudioAPI.CMD_LAUNCH_APP);\\r\\n assertNull(resp.getGame());\\r\\n assertFalse(resp.isEndSession());\\r\\n for (int i = 0; i < 512; i++)\\r\\n {\\r\\n if (resp.isEndSession())\\r\\n {\\r\\n resp = dialog(SubWarAudioAPI.CMD_LAUNCH_APP);\\r\\n assertNull(resp.getGame());\\r\\n assertFalse(resp.isEndSession());\\r\\n }\\r\\n else\\r\\n {\\r\\n String verb = verbs[rnd.nextInt(verbs.length)];\\r\\n String[] args = INVOCATIONS.get(verb);\\r\\n if (args.length == 0)\\r\\n resp = dialog(verb);\\r\\n else\\r\\n {\\r\\n String arg = args[rnd.nextInt(args.length)];\\r\\n resp = dialog(verb, arg);\\r\\n }\\r\\n }\\r\\n aiMove();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fe46ebe2d3389c13d437bf98da4669b\",\n \"score\": \"0.48774916\",\n \"text\": \"public static void main(String[] args) throws UnsupportedAudioFileException, IOException {\\n JavaSoundRecorder recorder = new JavaSoundRecorder();\\n recorder.Test();\\n // start recording\\n //recorder.start();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d496b074ed20ab41e0277f3a10c8f02\",\n \"score\": \"0.4875481\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tSystem.out.println(play(21, 22));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30244467175c2223f2e8295484a5395a\",\n \"score\": \"0.48724452\",\n \"text\": \"public void run() {\\n\\t\\t try {\\n\\t\\t Clip clip = AudioSystem.getClip();\\n\\t\\t AudioInputStream inputStream = AudioSystem.getAudioInputStream(Main.class.getResourceAsStream(\\\"/dev/angora/sounds/\\\" + url));\\n\\t\\t clip.open(inputStream);\\n\\t\\t clip.start(); \\n\\t\\t } catch (Exception e) {\\n\\t\\t System.err.println(e.getMessage());\\n\\t\\t }\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7928ada798e6d6daa5870e0c0aa4fcbd\",\n \"score\": \"0.4862948\",\n \"text\": \"void play(String audioFilePath) {\\n File audioFile = new File(audioFilePath);\\n\\n try {\\n AudioInputStream audioStream = AudioSystem.getAudioInputStream(audioFile);\\n\\n AudioFormat format = audioStream.getFormat();\\n\\n DataLine.Info info = new DataLine.Info(Clip.class, format);\\n\\n Clip audioClip = (Clip) AudioSystem.getLine(info);\\n\\n audioClip.addLineListener(this);\\n\\n audioClip.open(audioStream);\\n\\n int frameLength = audioClip.getFrameLength();\\n LOGGER.info(\\\"Frame length = \\\" + frameLength);\\n\\n long duration = audioClip.getMicrosecondLength();\\n LOGGER.info(\\\"Duration = \\\" + (duration / 1000000) + \\\" sec\\\");\\n\\n /**To specify the position to start playing back:*/\\n audioClip.setMicrosecondPosition(1000000); // start playing from the 1st second\\n audioClip.setFramePosition(80000); // start playing from the 80,000th frame\\n /**To loop playing all the sound for 2 times:*/\\n audioClip.loop(2);/**loop 2 times (total play 3 times)*/\\n\\n /**To stop playing back at the current position:\\n audioClip.stop();\\n */\\n\\n audioClip.start();\\n\\n LOGGER.info(\\\"Wait for playback completes\\\");\\n while (!playCompleted) {\\n try {\\n Thread.sleep(100);\\n } catch (InterruptedException ex) {\\n ex.printStackTrace();\\n }\\n }\\n\\n /**\\n To stop playing back at the current position:\\n audioClip.stop();\\n To resume playing, call start() method again.\\n */\\n\\n audioClip.close();\\n\\n } catch (UnsupportedAudioFileException ex) {\\n LOGGER.error(\\\"The specified audio file is not supported.\\\", ex.getMessage(), ex);\\n } catch (LineUnavailableException ex) {\\n LOGGER.error(\\\"Audio line for playing back is unavailable.\\\", ex.getMessage(), ex);\\n } catch (IOException ex) {\\n LOGGER.error(\\\"Error playing the audio file.\\\", ex.getMessage(), ex);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dea7e147fa09b7a27a69962aa7cc458\",\n \"score\": \"0.48626095\",\n \"text\": \"@Override\\n public void play(){ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e628cc52d4ddcd11edb5d23ab938cb0\",\n \"score\": \"0.48541495\",\n \"text\": \"@Override\\n\\tpublic void play() {\\n\\t\\tSystem.out.println(\\\"Veena is being played\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"166f0fae0d2b89b143763749085d7e50\",\n \"score\": \"0.48432764\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tnew Frame2().assignValue(\\\"20181024151214.txt\\\");\\n\\t//\\tnew Frame2().speak(\\\"vishal sharma\\\");\\n\\t//\\tnew Frame2().test();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b8de90b9d544966c9e54349f4bfb584\",\n \"score\": \"0.48424056\",\n \"text\": \"public void playSound() throws UnsupportedAudioFileException, LineUnavailableException, IOException {\\n\\t\\tclip = AudioSystem.getClip();\\n\\t\\tAudioInputStream ais = AudioSystem.getAudioInputStream(getClass().getResource(\\\"/Wii_Music.wav\\\"));\\n\\t\\tclip.open(ais);\\n\\t\\tclip.loop(Clip.LOOP_CONTINUOUSLY);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b12ab7b56f52bf3839f723a78dd62e8\",\n \"score\": \"0.48405534\",\n \"text\": \"@Test\\n\\tpublic void testPlaySound() {\\n\\t\\t\\n\\t\\tcustomViews.GameScene.playSound(Sounds.BrickBlow);\\n\\t\\tassertEquals(\\\"Result\\\",Sounds.BrickBlow,customViews.GameScene.getCurrentSound());\\n\\t\\tcustomViews.GameScene.playSound(Sounds.PaddleHit);\\n\\t\\tassertEquals(\\\"Result\\\",Sounds.PaddleHit,customViews.GameScene.getCurrentSound());\\n\\t\\tcustomViews.GameScene.playSound(Sounds.Win);\\n\\t\\tassertEquals(\\\"Result\\\",Sounds.Win,customViews.GameScene.getCurrentSound());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89ac891fb27c1048c1907d7f48f01d35\",\n \"score\": \"0.4832829\",\n \"text\": \"public void run (String arg) {\\n OpenDialog od = new OpenDialog(\\\"Select AVI File\\\", arg); //file dialog\\n String fileName = od.getFileName();\\n if (fileName == null) return;\\n String fileDir = od.getDirectory();\\n String path = fileDir + fileName;\\n try {\\n openAndReadHeader(path); //open and read header\\n } catch (Exception e) {\\n error(exceptionMessage(e));\\n return;\\n }\\n if (!showDialog(fileName)) return; //ask for parameters\\n try {\\n ImageStack stack = makeStack(path, firstFrame, lastFrame, isVirtual, convertToGray, flipVertical); //read data\\n } catch (Exception e) {\\n error(exceptionMessage(e));\\n return;\\n }\\n if (stack==null || aborting || (stack.isVirtual()&&stack.getProcessor(1)==null))\\n return;\\n if (stack.getSize() == 0) {\\n String rangeText = \\\"\\\";\\n if (firstFrame>1 || lastFrame!=0)\\n rangeText = \\\"\\\\nin Range \\\"+firstFrame+\\n (lastFrame>0 ? \\\" - \\\"+lastFrame : \\\" - end\\\");\\n error(\\\"Error: No Frames Found\\\"+rangeText);\\n return;\\n }\\n imp = new ImagePlus(WindowManager.getUniqueName(fileName), stack);\\n if (imp.getBitDepth()==16)\\n imp.getProcessor().resetMinAndMax();\\n setFramesPerSecond(imp);\\n FileInfo fi = new FileInfo();\\n fi.fileName = fileName;\\n fi.directory = fileDir;\\n imp.setFileInfo(fi);\\n if (arg.equals(\\\"\\\"))\\n imp.show();\\n IJ.showTime(imp, startTime, \\\"Read AVI in \\\", stack.getSize());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afc11032e42cf7736308457dc9a370f7\",\n \"score\": \"0.4829812\",\n \"text\": \"public void play(){\\n Intent intent = new Intent(this, ResultsActivity.class);\\n startActivity(intent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b65273666d1e4f3baa826710a574588\",\n \"score\": \"0.48282167\",\n \"text\": \"public AudioClip(String fileName, BattleshipGui gui) {\\n try {\\n InputStream is = this.getClass().getResourceAsStream(fileName);\\n InputStream bufferedIs = new BufferedInputStream(is);\\n AudioInputStream track = AudioSystem.getAudioInputStream(bufferedIs);\\n this.audio = AudioSystem.getClip();\\n this.audio.open(track);\\n } catch (NullPointerException|IOException|UnsupportedAudioFileException\\n |LineUnavailableException ex) {\\n gui.alertException(\\\"Error loading audio\\\", ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5988b3e23e5427212efdcd857427088d\",\n \"score\": \"0.48230237\",\n \"text\": \"@Test\\n public void load_should_load_save_file() throws IOException {\\n String path = \\\"____\\\";\\n\\n when(fsa.loadFile(path)).thenReturn(Map.of(\\\"location\\\", \\\"The Amazon\\\")); //interacts with a external file\\n\\n //Act\\n target.load(path, g); //loads the save game factory\\n\\n //Assert\\n //the location will be the same as the location in the save file\\n assertEquals(\\\"The Amazon\\\", g.getPlayer().getLocation().getName());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cdc5bc117cbee208dae4cd8c5df67df\",\n \"score\": \"0.48102647\",\n \"text\": \"private ScenarioExecution(final String[] args) {\\n Utils.initTimeStamps();\\n parseCommandLine(args);\\n\\n // now it is safe to greet the user\\n log.info(String.format(PerfCakeConst.WELCOME, PerfCakeConst.VERSION));\\n\\n Utils.initDebugAgent();\\n loadScenario();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":881,"cells":{"query_id":{"kind":"string","value":"4c7cf9d5411ba56292312f929a1672df"},"query":{"kind":"string","value":"Draws a String into the display area for the plot."},"positive_passages":{"kind":"list like","value":[{"docid":"3a39c51ca9903d86f7a32c236fc1af5a","score":"0.6950685","text":"protected void drawAreaString( Graphics g, int nLen, String szText, double x, double y )\n\t{\n\t\tif( nLen > 0 && szText.length( ) > nLen )\n\t\t\tszText = szText.substring( 0, nLen );\n\n\t\tg.drawString( szText, (int) (m_nInsetX + x), (int) (m_nMaxHeight + m_nInsetY - y) );\n\t}","title":""}],"string":"[\n {\n \"docid\": \"3a39c51ca9903d86f7a32c236fc1af5a\",\n \"score\": \"0.6950685\",\n \"text\": \"protected void drawAreaString( Graphics g, int nLen, String szText, double x, double y )\\n\\t{\\n\\t\\tif( nLen > 0 && szText.length( ) > nLen )\\n\\t\\t\\tszText = szText.substring( 0, nLen );\\n\\n\\t\\tg.drawString( szText, (int) (m_nInsetX + x), (int) (m_nMaxHeight + m_nInsetY - y) );\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"21a14426cb986d658ccfd14174feefdd","score":"0.7651152","text":"public void drawText(String text, double x, double y, int size);","title":""},{"docid":"00f41b9312143fd31073995c957d5c9a","score":"0.764941","text":"public void drawString(String text, int x, int y)\n {\n System.out.println(text);\n }","title":""},{"docid":"6617a1709d14d45bccd987c9a91a6955","score":"0.7487221","text":"public void draw(){\n\t\ttext1.setString(text);\n\t\tWindow.getWindow().draw(shape);\n\t\tWindow.getWindow().draw(text1);\n\t}","title":""},{"docid":"efeaf8eee48eae7136b3b073a3d1983d","score":"0.7423494","text":"protected void display() {\n super.display();\n String finalString = str;\n sketch.textLeading(LINE_SPACING);\n sketch.textAlign(PConstants.LEFT); //overrides the current default of CENTER, CENTER\n sketch.rectMode(PConstants.CORNER); //overrides the current default of CENTER\n char[] characters = str.toCharArray();\n if (displayCursor) {\n displayCursor = false;\n finalString = \"\";\n char[] charactersWithCursor;\n int offset = 0;\n long nowTime = System.currentTimeMillis();\n if (nowTime - cursorStartTime >= CURSOR_BLINK_RATE) {\n if (cursor == '|') cursor = '\\u2009';\n else cursor = '|';\n cursorStartTime = nowTime;\n }\n charactersWithCursor = new char[characters.length + 1];\n if (cursorIndex == characters.length) finalString = str + cursor;\n else {\n for (int i = 0; i < characters.length; i++) {\n if (i == cursorIndex) {\n charactersWithCursor[i + 1] = cursor;\n offset = 1;\n }\n charactersWithCursor[i + offset] = characters[i];\n }\n finalString = new String(charactersWithCursor);\n }\n }\n sketch.text(finalString, 0f - pixelWidth / 2, 0f - pixelHeight / 2, pixelWidth, pixelHeight + textSize + 1000);\n //sketch.text(str, 0, 0);\n }","title":""},{"docid":"30644f4025ddb9d05defef0f4e849534","score":"0.73376054","text":"public void drawString(String text, int x, int y) {\n graphic.drawString(text, x, y);\n if (autoRepaint) canvas.repaint();\n }","title":""},{"docid":"e0c125bcd45727e78ff47b5093d8f72c","score":"0.71891224","text":"void drawString(ISurface surface, IPoint point, Color color, String string) {\n byte[] chars = toASCII(string);\n Rectangle cell = new Rectangle(Point.ORIGIN, Dimension.EMPTY);\n cell.setHeight(m_height);\n // Now draw all the characters\n Point where = new Point(point);\n for(byte ch: chars) {\n int index = ch & 0xFF;\n cell.setX(m_xpos[index]);\n cell.setY(m_ypos[index]);\n cell.setWidth(m_widths[index]);\n surface.drawIcon(where, m_icon, color, cell);\n where.setX(where.getX() + m_widths[index]);\n }\n }","title":""},{"docid":"1a3afcd2087828535e953fa7e2e05d4e","score":"0.7164616","text":"protected void drawGraphString( Graphics g, int nLen, String szText, double x, double y )\n\t{\n\t\tif( nLen > 0 && szText.length( ) > nLen )\n\t\t\tszText = szText.substring( 0, nLen );\n\n\t\tg.drawString( szText, (int) (m_nGraphInsetX + x), (int) (m_nGraphInsetY + m_nGraphMaxHeight - y) );\n\t}","title":""},{"docid":"724a77e5da3d1efb7bc60034ee66fbb6","score":"0.711803","text":"@Override\n\tpublic void render(Graphics g) {\n\t\tg.setColor(Color.BLACK);\n\t\tg.drawString(s, x, y);\n\t\t\n\t}","title":""},{"docid":"a51f1e555a4a56f371dfc78603c2ca3d","score":"0.7098644","text":"public void drawTxt() {\n figure = \"\";\n for (int i = 0; i < getHeight(); i++) {\n for (int j = 0; j < getBase(); j++) {\n figure = figure + \"*\";\n }\n figure = figure + \"\\n\";\n }\n System.out.println(figure);\n }","title":""},{"docid":"aefe7ddc128f3e908bb593d1e591fd52","score":"0.70765173","text":"protected void paintComponent(Graphics g){\n\t\tsuper.paintComponents(g);\n\t\tg.drawRect(0, 0, 70, 50);\n\t\tg.drawLine(0,20, 70, 20);\n\t\tg.drawString(str,15,15);\n\t}","title":""},{"docid":"f8ca945774c61dc9c1c9316c2f1ec3c4","score":"0.7072604","text":"void drawString(Graphics g, String s, int x, int y) {\n g.setColor(colour);\n g.setFont(FONT);\n FontMetrics fm = g.getFontMetrics(FONT);\n g.drawString(s, x*fm.charWidth('W'), y*fm.getAscent());\n }","title":""},{"docid":"5a52b74a349a1960058d4020c4af2620","score":"0.7059682","text":"public void drawString(String text, float px, float py, int offx, int offy, char alignment, int cr, int cg, int cb, int ca, boolean hasShadow);","title":""},{"docid":"567687b8e6cd81cfb0c70b151f5f312e","score":"0.7041191","text":"public void drawString(String text, int x, int y) {\n\t\tgraphic.drawString(text, x, y);\n\t\tcanvas.repaint();\n\t}","title":""},{"docid":"ffe5a7deb1e1a953e7d8c6c6ebadc007","score":"0.703406","text":"@Override\n void draw(Canvas canvas) {\n drawString(canvas, appearance, getX(), getY());\n }","title":""},{"docid":"58708520398113b70b516d229b22ef2e","score":"0.7005837","text":"@Override\n protected void paintComponent(Graphics g)\n {\n super.paintComponent(g);\n /*\n * This line is used to draw the dynamic\n * String at the given location.\n */\n //g.drawString(message, x, y);\n valuePesoCapturado.setText(message);\n }","title":""},{"docid":"20272d4ec1c66c072e0ed539c86ec0cd","score":"0.7005254","text":"public static void drawString(String _str, float _x, float _y)\r\n {\r\n drawString(_str, _x, _y, Color.white);\r\n }","title":""},{"docid":"055aa4e1149715eb02cec1291b7d9a8e","score":"0.697122","text":"public void drawString(String string, int x, int y) {\n if (string == null)\n return;\n pDrawString(psd, fontMetrics.nativeFont, string, x + originX, y + originY);\n }","title":""},{"docid":"0aa6589f816f0f089eabc7cd6c2c73ab","score":"0.6955","text":"private void drawString(Graphics g, String text, int x, int y) \r\n\t{\r\n\t\tfor (String line : text.split(\"\\n\"))\r\n\t\t{\r\n\t\t\tg.drawString(line, x, y+=20);\r\n\t\t}\t\r\n\t}","title":""},{"docid":"e7ec97ff8152157f4e4b15dd6fccdbe9","score":"0.69137806","text":"public String textdrawed() {\n drawTxt();\n return figure;\n }","title":""},{"docid":"3c1bcd61f35f1d216a5214de3154693c","score":"0.68926096","text":"public static void drawString( Graphics2D g, String string, int x, int y ) {\r\n\r\n // Get the current text font metrics (width and hegiht)\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n double width = fontMetrics.stringWidth( string );\r\n double height = fontMetrics.getAscent( );\r\n\r\n int realX = x;\r\n int realY = y;\r\n\r\n //Check if the text don't go out of the window horizontally\r\n //and if it do correct it so it's in the window\r\n if( realX + width / 2 > WINDOW_WIDTH ) {\r\n realX = (int) ( WINDOW_WIDTH - width / 2 );\r\n }\r\n else if( realX - width / 2 < 0 ) {\r\n realX = (int) ( width / 2 );\r\n }\r\n realX -= width / 2;\r\n\r\n //Check if the text don't go out of the window vertically\r\n //and if it do correct it so it's in the window\r\n if( realY + height / 2 > WINDOW_HEIGHT ) {\r\n realY = (int) ( WINDOW_HEIGHT - height / 2 );\r\n }\r\n else if( realY < 0 ) {\r\n realY = 0;\r\n }\r\n realY += height / 2;\r\n\r\n //Draw the string\r\n g.drawString( string, realX, realY );\r\n }","title":""},{"docid":"e8f204feef9709704cc7215925d5fa15","score":"0.6881977","text":"public void display() {\n p.fill(255);\n p.rect(this.xPos, this.yPos, this.w, this.h);\n p.fill(255);\n p.text(this.tekst, xPos + 50, yPos + 75);\n }","title":""},{"docid":"7cbe61acb1dba715cdc291c6ebd80ad1","score":"0.6878866","text":"public static void drawStringOnto( Graphics2D g, String string, int x, int y, boolean centeredX, Color textColor, Color borderColor, boolean border, boolean showBuble ) {\r\n\r\n //Get the current text font metrics (width and hegiht)\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n double width = fontMetrics.stringWidth( string );\r\n double height = fontMetrics.getAscent( );\r\n int realX = x;\r\n int realY = y;\r\n\r\n //If the text is centered in its X coordinate\r\n if( centeredX ) {\r\n //Check if the text don't go out of the window horizontally\r\n //and if it do correct it so it's in the window\r\n if( realX + width / 2 > WINDOW_WIDTH ) {\r\n realX = (int) ( WINDOW_WIDTH - width / 2 );\r\n }\r\n else if( realX - width / 2 < 0 ) {\r\n realX = (int) ( width / 2 );\r\n }\r\n realX -= width / 2;\r\n //Check if the text don't go out of the window vertically\r\n //and if it do correct it so it's in the window\r\n if( realY > WINDOW_HEIGHT ) {\r\n realY = WINDOW_HEIGHT;\r\n }\r\n else if( realY - height < 0 ) {\r\n realY = (int) height;\r\n }\r\n //if it's not centered\r\n }\r\n else {\r\n //Check if the text don't go out of the window horizontally\r\n //and if it do correct it so it's in the window\r\n //FIXME nuevo, a ver si funciona\r\n /*if( realX + width > WINDOW_WIDTH ) {\r\n realX = (int) ( WINDOW_WIDTH - width );\r\n } else if( realX < 0 ) {\r\n realX = 0;\r\n }*/\r\n if( realX + width > WINDOW_WIDTH ) {\r\n realX = 0;\r\n //To know the width of one character\r\n double w = fontMetrics.stringWidth( new String( \"A\" ) );\r\n int position = (int) ( WINDOW_WIDTH / w ) + 18;\r\n if (position > string.length( ))\r\n position = string.length( );\r\n string = string.substring( 0, position );\r\n string = string + \"...\";\r\n }\r\n //Check if the text don't go out of the window vertically\r\n //and if it do correct it so it's in the window\r\n if( realY > WINDOW_HEIGHT ) {\r\n realY = WINDOW_HEIGHT;\r\n }\r\n else if( realY - height < 0 ) {\r\n realY = (int) height;\r\n }\r\n }\r\n //If the text has border, draw it\r\n if (showBuble) {\r\n AlphaComposite alphaComposite = AlphaComposite.getInstance( AlphaComposite.SRC_OVER, 0.8f );\r\n Composite temp = g.getComposite( );\r\n g.setComposite( alphaComposite );\r\n\r\n int descent = fontMetrics.getDescent( );\r\n g.setColor( Game.getInstance( ).getFunctionalPlayer( ).getBubbleBkgColor( ) );\r\n g.fillRoundRect( realX - 4, realY - (int) (height) + 2, (int) width + 8, (int) height + descent - 2, 4, 4 );\r\n g.setColor( Game.getInstance( ).getFunctionalPlayer( ).getBubbleBorderColor( ) );\r\n g.drawRoundRect( realX - 4, realY - (int) (height) + 2, (int) width + 8, (int) height + descent -2 , 4, 4 );\r\n\r\n g.setComposite( temp );\r\n\r\n }\r\n if( border ) {\r\n g.setColor( borderColor );\r\n g.drawString( string, realX - 1, realY - 1 );\r\n g.drawString( string, realX - 1, realY + 1 );\r\n g.drawString( string, realX + 1, realY - 1 );\r\n g.drawString( string, realX + 1, realY + 1 );\r\n g.setColor( textColor );\r\n }\r\n //Draw the text\r\n g.drawString( string, realX, realY );\r\n }","title":""},{"docid":"e0cec0eb4610b277810df0e782f4e160","score":"0.6866086","text":"public void prepareDrawString();","title":""},{"docid":"8dadae4e680c05b0972f57c0d142e689","score":"0.68271285","text":"private void drawString(Canvas canvas, String s, int x, int y) {\n canvas.drawText(s, x * FishTankView.charWidth, y * FishTankView.charHeight, paintText);\n }","title":""},{"docid":"145e8b0a6aff99008cb91626a71719f8","score":"0.68240684","text":"@Override\n public void drawText(String text)\n {\n \n }","title":""},{"docid":"b80a9733e7ebdab21ecd11c322b67629","score":"0.6822093","text":"public void paintComponent(Graphics g) {\n \t\r\n \tg.setColor(Color.magenta);\r\n \tg.drawString(display, this.xLoc, this.yLoc);\r\n \t\r\n }","title":""},{"docid":"23e5ce25ab672e0db0d538c1e71690d9","score":"0.68132204","text":"public void drawText(String toDraw, float f, float textBaseY, Paint mPaint);","title":""},{"docid":"d953886f45d7cba722c557bc332e002c","score":"0.6784583","text":"public void drawComponent()\n\t{\n\t\tRenderManager.drawString(this.label, x + (this.width / 2) - (RenderManager.getTextWidth(this.label) / 2), this.y + (this.height / 2) - 4, Theme.WHITE);\n\t}","title":""},{"docid":"3160941fc7f6ccb8ec1bed06352e3025","score":"0.6751573","text":"@Override\n void drawString(Canvas canvas, String s, int x, int y) {\n canvas.drawText(s, x * FishTankView.charWidth,\n y * FishTankView.charHeight, paintText);\n }","title":""},{"docid":"b07e14be4677a7ae37b38c191512eab8","score":"0.6750923","text":"public void draw (Canvas canvas){\n drawString(canvas, appearance, this.getWidth(), this.getHeight());\n }","title":""},{"docid":"5a35eacc1bf5e4ac328767dcec55f0bf","score":"0.67444396","text":"public void show (StringBuffer text, int x, int y)\r\n {\r\n show(text.toString(), x, y);\r\n }","title":""},{"docid":"ab2dc8765b9be515506df6f1d7c4067d","score":"0.674266","text":"private static void showText(String str, int x, int y, int color) { minecraft.fontRenderer.drawStringWithShadow(str,x,y,color); }","title":""},{"docid":"022acd8a08fb9ac941ed2421cc7431e4","score":"0.669415","text":"public void draw(float x , float y , float FontSize, String text){\n\t\tdraw(x, y, FontSize, text, Color.white);\n\t}","title":""},{"docid":"5ccc80c7f12b78bf8c42bbd6eb1fe08f","score":"0.6663153","text":"static public void drawText(PGraphics g, float height, String text, float x, float y) {\n\t\tg.pushMatrix();\n\t\tg.translate(x, y);\n\t\tg.scale(-0.01f,0.01f);\n\t\tg.textSize(height*100);\n\t\tg.text(text, 0, 0);\n\t\tg.popMatrix();\n\t}","title":""},{"docid":"55a1471ccd90d12ecb3f780946d4e4d1","score":"0.6630895","text":"void draw(Graphics g) {\n drawString(g, appearance, r, c);\n }","title":""},{"docid":"8b51a38775d2aaf0fdcc1f96e60a5199","score":"0.6617985","text":"private void renderString(GL2 gl, int font, String string) {\n if (bFontTypeBitmap) {\n gl.glRasterPos2f(0f, 0f);\n ipglut.glutBitmapString(gl, font, string);\n } else {\n ipglut.glutStrokeString(gl, font, string);\n }\n }","title":""},{"docid":"37d9810ac457ebe941dddf0ed7e13cb8","score":"0.6607676","text":"private void drawText(String indexString,int x,int y){\n }","title":""},{"docid":"664fcdcd3be1c46e55112249c204a275","score":"0.6512837","text":"private void drawText(Graphics g,Color c,int fontSize,String text,int x,int y){\n\t\tg.setFont(new Font(\"Segoe Print\",Font.BOLD,fontSize));\n\t\t//drop shadow effect\n\t\tg.setColor(new Color(0,0,0,122));\n\t\tg.drawString(text,x,y);\n\t\t//draw with colour\n\t\tg.setColor(c);\n\t\tg.drawString(text,x-2,y-1);\n\t}","title":""},{"docid":"76514d68cf43bbebda68c82ee43cbe94","score":"0.64737767","text":"public void drawText(Graphics g, String s, int x, int y) {\n int len = s.length();\n int srcX = 0;\n int srcY = 0;\n int srcWidth = 23;\n int srcHeight = 54;\n String c;\n for (int i =0; i maxWidth ? (int) fontMetrics.stringWidth( line ) : maxWidth );\r\n\r\n int tempX = x;\r\n int tempY = y;\r\n if( tempX - maxWidth / 2 < 0 )\r\n tempX = maxWidth / 2;\r\n if( tempY - textBlockHeight < 0 )\r\n tempY = textBlockHeight;\r\n if( tempX + maxWidth / 2 > GUI.WINDOW_WIDTH )\r\n tempX = GUI.WINDOW_WIDTH - maxWidth / 2;\r\n\r\n AlphaComposite alphaComposite = AlphaComposite.getInstance( AlphaComposite.SRC_OVER, 0.8f );\r\n Composite temp = g.getComposite( );\r\n g.setComposite( alphaComposite );\r\n g.setColor( bkgColor );\r\n g.fillRoundRect( tempX - maxWidth / 2 - 5, tempY - textBlockHeight - 5, maxWidth + 10, textBlockHeight + 10, 20, 20 );\r\n\r\n g.setComposite( temp );\r\n g.setColor( bubbleBorder );\r\n g.drawRoundRect( tempX - maxWidth / 2 - 5, tempY - textBlockHeight - 5, maxWidth + 10, textBlockHeight + 10, 20, 20 );\r\n\r\n if( showArrow ) {\r\n g.setComposite( alphaComposite );\r\n g.setColor( bkgColor );\r\n int x_p[] = new int[] { tempX - 10, tempX + 10, tempX };\r\n int y_p[] = new int[] { tempY + 5, tempY + 5, tempY + 15 };\r\n g.fillPolygon( x_p, y_p, 3 );\r\n\r\n g.setComposite( temp );\r\n g.setColor( bubbleBorder );\r\n g.drawLine( x_p[0], y_p[0], x_p[2], y_p[2] );\r\n g.drawLine( x_p[1], y_p[1], x_p[2], y_p[2] );\r\n }\r\n\r\n drawStringOnto( g, strings, x, y, textColor, borderColor );\r\n }","title":""},{"docid":"659a9799bc3f9d25a11f875fbb9d6b62","score":"0.6147225","text":"public void addTextToDraw( String string, int x, int y, Color textColor, Color borderColor ) {\r\n\r\n boolean added = false;\r\n int i = 0;\r\n if( !string.equals( \"\" ) ) {\r\n Text text = new Text( string, x, y, textColor, borderColor );\r\n while( !added && i < textToDraw.size( ) ) {\r\n if( y <= textToDraw.get( i ).getY( ) ) {\r\n textToDraw.add( i, text );\r\n added = true;\r\n }\r\n i++;\r\n }\r\n if( !added )\r\n textToDraw.add( text );\r\n }\r\n }","title":""},{"docid":"765633e37cbe4d0ef12ef93bc56f0eb7","score":"0.61459666","text":"public static void drawStringOnto( Graphics2D g, String[] strings, int x, int y, Color textColor, Color borderColor ) {\r\n\r\n //Calculate the total height of the block text\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( );\r\n\r\n // This is the y lower position of the first line\r\n int realY = y - textBlockHeight + fontMetrics.getAscent( );\r\n if( realY < fontMetrics.getAscent( ) )\r\n realY = fontMetrics.getAscent( );\r\n\r\n //Draw each line of the string array\r\n for( String line : strings ) {\r\n drawStringOnto( g, line, x, realY, true, textColor, borderColor, true, false);\r\n realY += fontMetrics.getHeight( );\r\n }\r\n }","title":""},{"docid":"ccdba7f1fa2b170e2114ac6e15245f8a","score":"0.61341256","text":"public void drawString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)\n {\n par1FontRenderer.drawStringWithShadow(par2Str, par3, par4, par5);\n }","title":""},{"docid":"42efce3ff6004936ffbae9ebaf362e43","score":"0.6127323","text":"public void print2(Graphics g, String head, int z, int x, int y){\n\n g.drawString(head,x,y);\n y+=15;\n g.drawString(String.valueOf(z),x,y);\n x+=20;\n\n }","title":""},{"docid":"a2cb6dde58d1fa901bfaf5a12aecce23","score":"0.6126847","text":"public void paint ( Graphics g )\n {\n super.paint(g);\n g.drawString(\"Welcome to java Applet\",20,30);\n\n }","title":""},{"docid":"0d7d8bf3319d5fbf54780a97595a28dc","score":"0.61242867","text":"public void text(String data, int x, int y, int width, int height) {\n String[] lines = textWrap(data, width, height);\n //// draw lines\n text(lines, x, y, width, height);\n }","title":""},{"docid":"964c0d2c55aaf70ed024e7feb6f0b7a8","score":"0.61233187","text":"public void show (char character, int x, int y)\r\n {\r\n show(\" \" + character + \" \", x, y);\r\n }","title":""},{"docid":"208dd77e1620e8f43c13cbeafc889ab0","score":"0.61229867","text":"public void draw(Graphics g){\n g.setColor(color);\n g.setFont(buttonFont);\n // Drawing the text in the center of the rectangle\n int width = g.getFontMetrics().stringWidth(text);\n int height = g.getFontMetrics().getHeight();\n g.drawString(text, buttonRect.x + (buttonRect.width - width)/2, buttonRect.y + (buttonRect.height - height)/2 + 25);\n }","title":""},{"docid":"e968d1a9fa0b6f85d6ee46aae0025823","score":"0.6122189","text":"public static void TextDraw(String string, int time) {\n\t\tfor (int i = 0; i < string.length(); i++) \n\t\t{ \t\t\t\t\t \n\t\t\tSystem.out.print(string.charAt(i));\t\t\t\t//Outputs the contents of any string one character\n\t\t\tpause(time); \t\t\t\t\t\t\t\t\t//at a time with a pause() in between\n\t\t}\n\t}","title":""},{"docid":"4d2c1069a896a8e201c33ffa5dce5fe2","score":"0.61193883","text":"public void render(){\n batch.begin();\n if(mouseOn(dimensions.x, dimensions.y)) {\n font.setColor(Color.RED);\n hovered = true;\n }\n else {\n font.setColor(Color.WHITE);\n hovered = false;\n }\n layout.setText(font, display);\n textHeight = layout.height;\n font.draw(batch, display, position.x-dimensions.x/2, position.y+dimensions.y/2-textHeight/2);\n batch.end();\n }","title":""},{"docid":"20ff555451df62eda71f3b0937b9740e","score":"0.6116141","text":"public static void displayMessage(String message) {\n processing.fill(0);\n processing.textSize(20);\n processing.text(message, processing.width / 2, 50);\n processing.textSize(12);\n }","title":""},{"docid":"0ef8133197299c64335bd96119dfd6bb","score":"0.6114876","text":"static void drawInput(String s) {\n StdDraw.clear(Color.BLACK);\n StdDraw.text(Game.WIDTH / 2, (Game.HEIGHT / 2) - 5, s);\n drawNewGameScreen();\n }","title":""},{"docid":"244718763d3d2948496d17d62fcb8aec","score":"0.6112552","text":"public void println() {\r\n\t\tprint(\"\\n\");\r\n\t\ttext.repaint();\r\n\t}","title":""},{"docid":"0d154424ae7bebda01e9165ad5491b9e","score":"0.6104385","text":"private void printText() {\r\n GLabel text = new GLabel(\"Flag of Germany\");\r\n text.setFont(\"SERIF-25\");\r\n double x = (getWidth() - text.getWidth());\r\n double y = (getHeight() - ((text.getHeight()) - (text.getAscent())));\r\n\r\n //Print text\r\n add(text, x, y);\r\n }","title":""},{"docid":"3bda4f079ce63a7c9d3da1fcbb50cf61","score":"0.60920095","text":"public void displayString(String string) {\n\t\tinfoPanel.addText(string);\n\t}","title":""},{"docid":"50ef1998b2eeeb41892587ff4820080a","score":"0.60872406","text":"public static void render(){\n\n String print = \"
\";\n\n        int drawn = 0;\n        int current = 0;\n        // Draw out grid loop\n        while (drawn < (height * width)) {\n            while (current < width) {\n                // Draw color if requested\n                if(renderArray[drawn].color != 0){\n                    print += \"\";\n                }\n                // Add next pixel to print string.\n                print = print + renderArray[drawn].value;\n                // Close color tag\n                if(renderArray[drawn].color != 0){\n                    print += \"\";\n                }\n\n                current++;\n                drawn++;\n            }\n            current = 0;\n            print = print + \"
\";\n }\n\n // End of print string\n print = print + \"
\";\n // Print out the rendered text.\n pixelFrame.setText(print);\n\n // Old render system - System.out.print(print);\n }","title":""},{"docid":"fcfc630b7fc30172dfe0bdb376272395","score":"0.60857105","text":"public void addTextToDraw( String string, int x, int y, Color textColor, Color borderColor, Color bubbleBkgColor, Color bubbleBorderColor, boolean showArrow ) {\r\n\r\n boolean added = false;\r\n int i = 0;\r\n if( !string.equals( \"\" ) ) {\r\n Text text = new Text( string, x, y, textColor, borderColor, bubbleBkgColor, bubbleBorderColor, showArrow );\r\n while( !added && i < textToDraw.size( ) ) {\r\n if( y <= textToDraw.get( i ).getY( ) ) {\r\n textToDraw.add( i, text );\r\n added = true;\r\n }\r\n i++;\r\n }\r\n if( !added )\r\n textToDraw.add( text );\r\n }\r\n }","title":""},{"docid":"e603b11421062db38eb126d078383ee1","score":"0.606493","text":"public void draw(Graphics g) {\r\n\t\tg.setColor(Color.white);\r\n\t\tg.setFont(new Font(\"Serif\", Font.BOLD, 36));\r\n\t\tg.drawString(\"\" + score, location.x, location.y);\r\n\r\n\t}","title":""},{"docid":"3b6fcf6802253c06ef7792984b6977a5","score":"0.60506403","text":"private void drawString(Graphics2D g, String s, double tx, double ty, double theta) { //double rotx, double roty) {\n AffineTransform aff = AffineTransform.getRotateInstance(theta, tx, ty);\n aff.translate(tx, ty);\n\n Graphics2D g2D = ((Graphics2D) g);\n g2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);\n BufferedImage stringImage = createStringImage(g, s);\n aff.translate(-stringImage.getWidth()/2, 0); // Move image so it is centered around tx, ty\n g2D.drawImage(stringImage, aff, this);\n }","title":""},{"docid":"b85d25cd65178785b1a98c0ec45b9907","score":"0.6030328","text":"public static void drawString( Graphics2D g, String[] strings, int x, int y ) {\r\n\r\n //Calculate the total height of the block text\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( ) - fontMetrics.getDescent( );\r\n\r\n // This is the y center position of the first line\r\n int realY = y - textBlockHeight / 2 + fontMetrics.getAscent( ) / 2;\r\n\r\n //Draw each line of the string array\r\n for( String line : strings ) {\r\n drawString( g, line, x, realY );\r\n realY += fontMetrics.getHeight( );\r\n }\r\n }","title":""},{"docid":"a4e233b008c27e51b4a79400d6dc09fb","score":"0.6011739","text":"public void draw_smaller_text(java.lang.CharSequence str, float x, float y,\n\t\t\tGameColor color) {\n\t\tsmaller_text.setColor(color);\n\t\tsmaller_text.draw(this, str, x, y);\n\t\t// smaller_text.setColor(previousColor);\n\t}","title":""},{"docid":"808a6963568cec9a64d792f6da94c618","score":"0.60077935","text":"private void display(final String s) {\r\n EventQueue.invokeLater(new Runnable() {\r\n //@Override\r\n public void run() {\r\n textArea.append(s + \"\\n\");\r\n }\r\n });\r\n }","title":""},{"docid":"98f778e4b61a5e8fe1f3edbea761cb50","score":"0.5990955","text":"public void paintComponent(Graphics g) {\n\t\tString symbol = stockName+\" \"+Double.toString(stockPrice);\n\t\t\n\t\t// clear drawing surface.\n\t\tsuper.paintComponent(g);\n\t\t\n\t\t// determine the width of the string\n\t\tFontMetrics fm = g.getFontMetrics();\n\t\tsymbolWidth = fm.stringWidth(symbol);\n\t\t\n\t\t// draw the string\n\t\tg.setColor(Color.black);\n\t\tg.drawString(symbol, x, y);\n\t}","title":""},{"docid":"0c716084f1321ee7c3e29ddd5439d434","score":"0.59685194","text":"public void drawString(Graphics g, String s, int x, int y, int width) {\n FontMetrics fm = g.getFontMetrics();\n\n int lineHeight = fm.getHeight();\n\n int curX = x;\n int curY = y;\n\n String[] words = s.split(\" \");\n\n for (String word : words) {\n // Find out thw width of the word.\n int wordWidth = fm.stringWidth(word + \" \");\n\n // If text exceeds the width, then move to next line.\n if (curX + wordWidth >= x + width) {\n curY += lineHeight;\n curX = x;\n }\n\n g.drawString(word, curX, curY);\n\n // Move over to the right for next word.\n curX += wordWidth;\n }\n }","title":""},{"docid":"3befaedd7736939bf043edde0914eb4b","score":"0.5965806","text":"public void drawString(FontRenderer par1FontRenderer, String par2Str,\r\n int par3, int par4, int par5) {\r\n par1FontRenderer.drawStringWithShadow(par2Str, par3, par4, par5);\r\n }","title":""},{"docid":"8aed258eb25af34440dde023eb14878f","score":"0.5956504","text":"public static void draw(int x, int y, String value){\n int pos = getPos(x,y);\n try{\n renderArray[pos] = new Pixel(value, 0);\n } catch(ArrayIndexOutOfBoundsException e){\n return;\n }\n render();\n return;\n }","title":""},{"docid":"e9412e5bee1ce6fb66b2f156e2c6cd1d","score":"0.59487355","text":"public static void vdrawString(FontRenderer fontRendererIn, String text, int x, int y, int color) {\r\n\t\tfontRendererIn.drawStringWithShadow(text, x, y, color);\r\n\t}","title":""},{"docid":"42b6d29f29365edecfea4ee2bfcc4086","score":"0.5937003","text":"public void draw(float x , float y , float FontSize, String text, Color color){\n\t\tfloat derivedFont = FontSize/baseFontSize;\n\t\tglPushAttrib(GL_ENABLE_BIT);\n\t\tglEnable(GL_BLEND);\n\t\tglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\n\t\tglPushMatrix();\n\t\tglTranslatef(x, y, 0);\n\t\tglScalef(derivedFont, derivedFont, derivedFont);\n\t\tTextureImpl.unbind();\n\t\tmyfont.drawString(0, 0, text,color);\n\t\tglPopMatrix();\n\t\tglPopAttrib();\n\t}","title":""},{"docid":"a2a459ea9401df40474aba63b930182f","score":"0.59339297","text":"public void Draw() {\r\n\t\tSystem.out.println(\"║ Willkommen bei Javagotchi ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Bitte wähle eines der verfügbaren Javagotchie! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ 1) Hund ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ 2) Katze ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ 3) Bunny ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Bitte drücke die Nummer des Javagotchie, das du haben willst! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Dein Javagotchie hat Hunger, will schlafen und spielen. Wenn eines seiner ║\");\r\n\t\tSystem.out.println(\"║ Bedürfnisse über 500 steigt, wird es sterben! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Viel Spaß! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"╚══════════════════════════════════════════════════════════════════════════════╝\");\r\n\t}","title":""},{"docid":"4bd2ec47f770c1426937976ffa4ea777","score":"0.59291023","text":"public void drawText(int x, int z, final String text, final byte startColor, final int size) {\n final MapFont font = MinecraftFont.Font;\n\n final int xStart = x;\n byte color = startColor;\n if (!font.isValid(text)) {\n throw new IllegalArgumentException(\"text contains invalid characters\");\n } else {\n int currentIndex = 0;\n\n while (true) {\n if (currentIndex >= text.length()) {\n return;\n }\n\n final char ch = text.charAt(currentIndex);\n if (ch == '\\n') {\n // Increment z if the char is a line separator\n x = xStart;\n z += font.getHeight() + 1;\n } else if (ch == '\\u00A7' /*-> §*/) {\n // Get distance from current char to end char (';')\n final int end = text.indexOf(';', currentIndex);\n if (end < 0) {\n break;\n }\n\n // Parse color\n try {\n color = Byte.parseByte(text.substring(currentIndex + 1, end));\n currentIndex = end;\n } catch (final NumberFormatException var12) {\n break;\n }\n } else {\n // Draw text if the character is not a special character\n final MapFont.CharacterSprite sprite = font.getChar(text.charAt(currentIndex));\n\n for (int row = 0; row < font.getHeight(); ++row) {\n for (int col = 0; col < sprite.getWidth(); ++col) {\n if (sprite.get(row, col)) {\n for (int eX = 0; eX < size; eX++) {\n for (int eZ = 0; eZ < size; eZ++) {\n this.setPixel(x + (size * col) + (eX), z + (size * row) + (eZ), color);\n }\n }\n }\n }\n }\n\n // Increment x\n x += (sprite.getWidth() + 1) * size;\n }\n\n ++currentIndex;\n }\n\n throw new IllegalArgumentException(\"Text contains unterminated color string\");\n }\n }","title":""},{"docid":"d8655a1be58501e2858bd989ee4500ec","score":"0.5923362","text":"public void draw() {\n /* DO NOT MODIFY */\n //StdDraw.point(x, y);\n }","title":""},{"docid":"11584e30a820606fe39bebcfea88d76b","score":"0.5914237","text":"public void renderText(String text)\n\t{\n\t\t\n\t\t\n\t}","title":""},{"docid":"ecc7005ca08a263663122facf8fe6bd3","score":"0.5911857","text":"protected void drawText(int w, int h, float scale, String text, Graphics2D g2)\n\t{\n\t\tint fw = g2.getFontMetrics().stringWidth(text);\n\t\tint fh = g2.getFontMetrics().getAscent() - g2.getFontMetrics().getDescent();\n\t\tint textx = (w - fw) / 2;\n\t\tint texty = h / 2 + fh / 2;\n\t\t\n\t\t// draw the text\n\t\tg2.setColor(new Color(0, 0, 0, 70));\n\t\tg2.drawString(text, (int) ((float) textx + scale * (0.04f)), (int) ((float) texty + scale * (0.04f)));\n\t\tg2.setColor(Color.black);\n\t\tg2.drawString(text, textx, texty);\n\t}","title":""},{"docid":"1046808e671bb9862c01ddeb02255e76","score":"0.58885336","text":"public void paint(Graphics graphics)\n {\n int width = this.displayInfoSingleton.getLast()[this.displayInfoSingleton.WIDTH];\n \n int topScoresWidth = (graphics.getFont().stringWidth(this.text) >> 1);\n\n graphics.setColor(this.getBasicColor().intValue());\n \n graphics.drawString(this.text, (width >> 1) - topScoresWidth, HEIGHT * 3, anchor); \n }","title":""},{"docid":"0b80fc49c1e59ca3c75613e1f0ec64fe","score":"0.5886136","text":"public void draw(){\n colorMode(HSB, 100);\n // Fill the rectangle\n fill(colorNumber%100,mySaturation,myBrightness,myAlpha);\n // Draw the rectangle\n rect(x,y,squareWidth,squareHeight);\n // Draw the number if its there\n if(displayNumber != null){\n fill((50+colorNumber)%100,100,100);\n textAlign(CENTER,CENTER);\n textFont(font);\n text(displayNumber,x+squareWidth/2,y+squareHeight/2);\n displayNumber = null;\n }\n }","title":""},{"docid":"bc0c6d026761a67fbb664e5d80459a2b","score":"0.5883907","text":"public void render() {\n ArrayList coords = w.nonEmptyCoords();\n\n for (int i = 0; i < coords.size(); i++) {\n Coord c = coords.get(i);\n\n // this part appends the coordinate in string form with its contents\n String s = c.toString() + \" \" + w.getContents(c).toString();\n\n try {\n pw.append(s + \"\\n\");\n } catch (Exception e) {\n throw new IllegalStateException(\"Cannot append to output file.\");\n }\n }\n\n pw.close();\n }","title":""},{"docid":"070f0b79d0d92572a55a3dc2c569d2af","score":"0.58636934","text":"private void drawTitle(Graphics g, String text) {\r\n\t\t\tRectangle rect = this.getBounds();\r\n\r\n\t\t\tg.setFont(bigFont);\r\n\t\t\tg.drawString(text, (int) ((rect.width / 2) - (bigFont.getSize()\r\n\t\t\t\t\t* text.length() * CENTERFACTOR)), rect.height / 4);\r\n\r\n\t\t}","title":""},{"docid":"cf59bdec9dd4056de80541409eeacbb1","score":"0.586148","text":"@Override\n\tpublic void draw(Canvas window)\n\t{\n\t\tsuper.draw(window);\n\t\ttext.draw(window);\n\t}","title":""},{"docid":"6a34eb8d049b1e9bbc28501d4a88ff5e","score":"0.58554226","text":"public void paint(Graphics g){\n\t\tg.drawString(\"Hello World!\",25,25);\n\t}","title":""},{"docid":"9841e232c5f6e6207d5490ff50d1ed0e","score":"0.58539075","text":"private void title (String text, int x, int y)\n\t{\n\t\tc.clear ();\n\t\tc.setFont (new Font (\"Comic Sans MS\", 0, 40));\n\t\tc.setColor (Color.black);\n\t\tc.drawString (text, x, y);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"21a14426cb986d658ccfd14174feefdd\",\n \"score\": \"0.7651152\",\n \"text\": \"public void drawText(String text, double x, double y, int size);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00f41b9312143fd31073995c957d5c9a\",\n \"score\": \"0.764941\",\n \"text\": \"public void drawString(String text, int x, int y)\\n {\\n System.out.println(text);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6617a1709d14d45bccd987c9a91a6955\",\n \"score\": \"0.7487221\",\n \"text\": \"public void draw(){\\n\\t\\ttext1.setString(text);\\n\\t\\tWindow.getWindow().draw(shape);\\n\\t\\tWindow.getWindow().draw(text1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efeaf8eee48eae7136b3b073a3d1983d\",\n \"score\": \"0.7423494\",\n \"text\": \"protected void display() {\\n super.display();\\n String finalString = str;\\n sketch.textLeading(LINE_SPACING);\\n sketch.textAlign(PConstants.LEFT); //overrides the current default of CENTER, CENTER\\n sketch.rectMode(PConstants.CORNER); //overrides the current default of CENTER\\n char[] characters = str.toCharArray();\\n if (displayCursor) {\\n displayCursor = false;\\n finalString = \\\"\\\";\\n char[] charactersWithCursor;\\n int offset = 0;\\n long nowTime = System.currentTimeMillis();\\n if (nowTime - cursorStartTime >= CURSOR_BLINK_RATE) {\\n if (cursor == '|') cursor = '\\\\u2009';\\n else cursor = '|';\\n cursorStartTime = nowTime;\\n }\\n charactersWithCursor = new char[characters.length + 1];\\n if (cursorIndex == characters.length) finalString = str + cursor;\\n else {\\n for (int i = 0; i < characters.length; i++) {\\n if (i == cursorIndex) {\\n charactersWithCursor[i + 1] = cursor;\\n offset = 1;\\n }\\n charactersWithCursor[i + offset] = characters[i];\\n }\\n finalString = new String(charactersWithCursor);\\n }\\n }\\n sketch.text(finalString, 0f - pixelWidth / 2, 0f - pixelHeight / 2, pixelWidth, pixelHeight + textSize + 1000);\\n //sketch.text(str, 0, 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30644f4025ddb9d05defef0f4e849534\",\n \"score\": \"0.73376054\",\n \"text\": \"public void drawString(String text, int x, int y) {\\n graphic.drawString(text, x, y);\\n if (autoRepaint) canvas.repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0c125bcd45727e78ff47b5093d8f72c\",\n \"score\": \"0.71891224\",\n \"text\": \"void drawString(ISurface surface, IPoint point, Color color, String string) {\\n byte[] chars = toASCII(string);\\n Rectangle cell = new Rectangle(Point.ORIGIN, Dimension.EMPTY);\\n cell.setHeight(m_height);\\n // Now draw all the characters\\n Point where = new Point(point);\\n for(byte ch: chars) {\\n int index = ch & 0xFF;\\n cell.setX(m_xpos[index]);\\n cell.setY(m_ypos[index]);\\n cell.setWidth(m_widths[index]);\\n surface.drawIcon(where, m_icon, color, cell);\\n where.setX(where.getX() + m_widths[index]);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a3afcd2087828535e953fa7e2e05d4e\",\n \"score\": \"0.7164616\",\n \"text\": \"protected void drawGraphString( Graphics g, int nLen, String szText, double x, double y )\\n\\t{\\n\\t\\tif( nLen > 0 && szText.length( ) > nLen )\\n\\t\\t\\tszText = szText.substring( 0, nLen );\\n\\n\\t\\tg.drawString( szText, (int) (m_nGraphInsetX + x), (int) (m_nGraphInsetY + m_nGraphMaxHeight - y) );\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"724a77e5da3d1efb7bc60034ee66fbb6\",\n \"score\": \"0.711803\",\n \"text\": \"@Override\\n\\tpublic void render(Graphics g) {\\n\\t\\tg.setColor(Color.BLACK);\\n\\t\\tg.drawString(s, x, y);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a51f1e555a4a56f371dfc78603c2ca3d\",\n \"score\": \"0.7098644\",\n \"text\": \"public void drawTxt() {\\n figure = \\\"\\\";\\n for (int i = 0; i < getHeight(); i++) {\\n for (int j = 0; j < getBase(); j++) {\\n figure = figure + \\\"*\\\";\\n }\\n figure = figure + \\\"\\\\n\\\";\\n }\\n System.out.println(figure);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aefe7ddc128f3e908bb593d1e591fd52\",\n \"score\": \"0.70765173\",\n \"text\": \"protected void paintComponent(Graphics g){\\n\\t\\tsuper.paintComponents(g);\\n\\t\\tg.drawRect(0, 0, 70, 50);\\n\\t\\tg.drawLine(0,20, 70, 20);\\n\\t\\tg.drawString(str,15,15);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8ca945774c61dc9c1c9316c2f1ec3c4\",\n \"score\": \"0.7072604\",\n \"text\": \"void drawString(Graphics g, String s, int x, int y) {\\n g.setColor(colour);\\n g.setFont(FONT);\\n FontMetrics fm = g.getFontMetrics(FONT);\\n g.drawString(s, x*fm.charWidth('W'), y*fm.getAscent());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a52b74a349a1960058d4020c4af2620\",\n \"score\": \"0.7059682\",\n \"text\": \"public void drawString(String text, float px, float py, int offx, int offy, char alignment, int cr, int cg, int cb, int ca, boolean hasShadow);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"567687b8e6cd81cfb0c70b151f5f312e\",\n \"score\": \"0.7041191\",\n \"text\": \"public void drawString(String text, int x, int y) {\\n\\t\\tgraphic.drawString(text, x, y);\\n\\t\\tcanvas.repaint();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffe5a7deb1e1a953e7d8c6c6ebadc007\",\n \"score\": \"0.703406\",\n \"text\": \"@Override\\n void draw(Canvas canvas) {\\n drawString(canvas, appearance, getX(), getY());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58708520398113b70b516d229b22ef2e\",\n \"score\": \"0.7005837\",\n \"text\": \"@Override\\n protected void paintComponent(Graphics g)\\n {\\n super.paintComponent(g);\\n /*\\n * This line is used to draw the dynamic\\n * String at the given location.\\n */\\n //g.drawString(message, x, y);\\n valuePesoCapturado.setText(message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20272d4ec1c66c072e0ed539c86ec0cd\",\n \"score\": \"0.7005254\",\n \"text\": \"public static void drawString(String _str, float _x, float _y)\\r\\n {\\r\\n drawString(_str, _x, _y, Color.white);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"055aa4e1149715eb02cec1291b7d9a8e\",\n \"score\": \"0.697122\",\n \"text\": \"public void drawString(String string, int x, int y) {\\n if (string == null)\\n return;\\n pDrawString(psd, fontMetrics.nativeFont, string, x + originX, y + originY);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aa6589f816f0f089eabc7cd6c2c73ab\",\n \"score\": \"0.6955\",\n \"text\": \"private void drawString(Graphics g, String text, int x, int y) \\r\\n\\t{\\r\\n\\t\\tfor (String line : text.split(\\\"\\\\n\\\"))\\r\\n\\t\\t{\\r\\n\\t\\t\\tg.drawString(line, x, y+=20);\\r\\n\\t\\t}\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7ec97ff8152157f4e4b15dd6fccdbe9\",\n \"score\": \"0.69137806\",\n \"text\": \"public String textdrawed() {\\n drawTxt();\\n return figure;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c1bcd61f35f1d216a5214de3154693c\",\n \"score\": \"0.68926096\",\n \"text\": \"public static void drawString( Graphics2D g, String string, int x, int y ) {\\r\\n\\r\\n // Get the current text font metrics (width and hegiht)\\r\\n FontMetrics fontMetrics = g.getFontMetrics( );\\r\\n double width = fontMetrics.stringWidth( string );\\r\\n double height = fontMetrics.getAscent( );\\r\\n\\r\\n int realX = x;\\r\\n int realY = y;\\r\\n\\r\\n //Check if the text don't go out of the window horizontally\\r\\n //and if it do correct it so it's in the window\\r\\n if( realX + width / 2 > WINDOW_WIDTH ) {\\r\\n realX = (int) ( WINDOW_WIDTH - width / 2 );\\r\\n }\\r\\n else if( realX - width / 2 < 0 ) {\\r\\n realX = (int) ( width / 2 );\\r\\n }\\r\\n realX -= width / 2;\\r\\n\\r\\n //Check if the text don't go out of the window vertically\\r\\n //and if it do correct it so it's in the window\\r\\n if( realY + height / 2 > WINDOW_HEIGHT ) {\\r\\n realY = (int) ( WINDOW_HEIGHT - height / 2 );\\r\\n }\\r\\n else if( realY < 0 ) {\\r\\n realY = 0;\\r\\n }\\r\\n realY += height / 2;\\r\\n\\r\\n //Draw the string\\r\\n g.drawString( string, realX, realY );\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8f204feef9709704cc7215925d5fa15\",\n \"score\": \"0.6881977\",\n \"text\": \"public void display() {\\n p.fill(255);\\n p.rect(this.xPos, this.yPos, this.w, this.h);\\n p.fill(255);\\n p.text(this.tekst, xPos + 50, yPos + 75);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cbe61acb1dba715cdc291c6ebd80ad1\",\n \"score\": \"0.6878866\",\n \"text\": \"public static void drawStringOnto( Graphics2D g, String string, int x, int y, boolean centeredX, Color textColor, Color borderColor, boolean border, boolean showBuble ) {\\r\\n\\r\\n //Get the current text font metrics (width and hegiht)\\r\\n FontMetrics fontMetrics = g.getFontMetrics( );\\r\\n double width = fontMetrics.stringWidth( string );\\r\\n double height = fontMetrics.getAscent( );\\r\\n int realX = x;\\r\\n int realY = y;\\r\\n\\r\\n //If the text is centered in its X coordinate\\r\\n if( centeredX ) {\\r\\n //Check if the text don't go out of the window horizontally\\r\\n //and if it do correct it so it's in the window\\r\\n if( realX + width / 2 > WINDOW_WIDTH ) {\\r\\n realX = (int) ( WINDOW_WIDTH - width / 2 );\\r\\n }\\r\\n else if( realX - width / 2 < 0 ) {\\r\\n realX = (int) ( width / 2 );\\r\\n }\\r\\n realX -= width / 2;\\r\\n //Check if the text don't go out of the window vertically\\r\\n //and if it do correct it so it's in the window\\r\\n if( realY > WINDOW_HEIGHT ) {\\r\\n realY = WINDOW_HEIGHT;\\r\\n }\\r\\n else if( realY - height < 0 ) {\\r\\n realY = (int) height;\\r\\n }\\r\\n //if it's not centered\\r\\n }\\r\\n else {\\r\\n //Check if the text don't go out of the window horizontally\\r\\n //and if it do correct it so it's in the window\\r\\n //FIXME nuevo, a ver si funciona\\r\\n /*if( realX + width > WINDOW_WIDTH ) {\\r\\n realX = (int) ( WINDOW_WIDTH - width );\\r\\n } else if( realX < 0 ) {\\r\\n realX = 0;\\r\\n }*/\\r\\n if( realX + width > WINDOW_WIDTH ) {\\r\\n realX = 0;\\r\\n //To know the width of one character\\r\\n double w = fontMetrics.stringWidth( new String( \\\"A\\\" ) );\\r\\n int position = (int) ( WINDOW_WIDTH / w ) + 18;\\r\\n if (position > string.length( ))\\r\\n position = string.length( );\\r\\n string = string.substring( 0, position );\\r\\n string = string + \\\"...\\\";\\r\\n }\\r\\n //Check if the text don't go out of the window vertically\\r\\n //and if it do correct it so it's in the window\\r\\n if( realY > WINDOW_HEIGHT ) {\\r\\n realY = WINDOW_HEIGHT;\\r\\n }\\r\\n else if( realY - height < 0 ) {\\r\\n realY = (int) height;\\r\\n }\\r\\n }\\r\\n //If the text has border, draw it\\r\\n if (showBuble) {\\r\\n AlphaComposite alphaComposite = AlphaComposite.getInstance( AlphaComposite.SRC_OVER, 0.8f );\\r\\n Composite temp = g.getComposite( );\\r\\n g.setComposite( alphaComposite );\\r\\n\\r\\n int descent = fontMetrics.getDescent( );\\r\\n g.setColor( Game.getInstance( ).getFunctionalPlayer( ).getBubbleBkgColor( ) );\\r\\n g.fillRoundRect( realX - 4, realY - (int) (height) + 2, (int) width + 8, (int) height + descent - 2, 4, 4 );\\r\\n g.setColor( Game.getInstance( ).getFunctionalPlayer( ).getBubbleBorderColor( ) );\\r\\n g.drawRoundRect( realX - 4, realY - (int) (height) + 2, (int) width + 8, (int) height + descent -2 , 4, 4 );\\r\\n\\r\\n g.setComposite( temp );\\r\\n\\r\\n }\\r\\n if( border ) {\\r\\n g.setColor( borderColor );\\r\\n g.drawString( string, realX - 1, realY - 1 );\\r\\n g.drawString( string, realX - 1, realY + 1 );\\r\\n g.drawString( string, realX + 1, realY - 1 );\\r\\n g.drawString( string, realX + 1, realY + 1 );\\r\\n g.setColor( textColor );\\r\\n }\\r\\n //Draw the text\\r\\n g.drawString( string, realX, realY );\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0cec0eb4610b277810df0e782f4e160\",\n \"score\": \"0.6866086\",\n \"text\": \"public void prepareDrawString();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dadae4e680c05b0972f57c0d142e689\",\n \"score\": \"0.68271285\",\n \"text\": \"private void drawString(Canvas canvas, String s, int x, int y) {\\n canvas.drawText(s, x * FishTankView.charWidth, y * FishTankView.charHeight, paintText);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"145e8b0a6aff99008cb91626a71719f8\",\n \"score\": \"0.68240684\",\n \"text\": \"@Override\\n public void drawText(String text)\\n {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b80a9733e7ebdab21ecd11c322b67629\",\n \"score\": \"0.6822093\",\n \"text\": \"public void paintComponent(Graphics g) {\\n \\t\\r\\n \\tg.setColor(Color.magenta);\\r\\n \\tg.drawString(display, this.xLoc, this.yLoc);\\r\\n \\t\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23e5ce25ab672e0db0d538c1e71690d9\",\n \"score\": \"0.68132204\",\n \"text\": \"public void drawText(String toDraw, float f, float textBaseY, Paint mPaint);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d953886f45d7cba722c557bc332e002c\",\n \"score\": \"0.6784583\",\n \"text\": \"public void drawComponent()\\n\\t{\\n\\t\\tRenderManager.drawString(this.label, x + (this.width / 2) - (RenderManager.getTextWidth(this.label) / 2), this.y + (this.height / 2) - 4, Theme.WHITE);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3160941fc7f6ccb8ec1bed06352e3025\",\n \"score\": \"0.6751573\",\n \"text\": \"@Override\\n void drawString(Canvas canvas, String s, int x, int y) {\\n canvas.drawText(s, x * FishTankView.charWidth,\\n y * FishTankView.charHeight, paintText);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b07e14be4677a7ae37b38c191512eab8\",\n \"score\": \"0.6750923\",\n \"text\": \"public void draw (Canvas canvas){\\n drawString(canvas, appearance, this.getWidth(), this.getHeight());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a35eacc1bf5e4ac328767dcec55f0bf\",\n \"score\": \"0.67444396\",\n \"text\": \"public void show (StringBuffer text, int x, int y)\\r\\n {\\r\\n show(text.toString(), x, y);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab2dc8765b9be515506df6f1d7c4067d\",\n \"score\": \"0.674266\",\n \"text\": \"private static void showText(String str, int x, int y, int color) { minecraft.fontRenderer.drawStringWithShadow(str,x,y,color); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"022acd8a08fb9ac941ed2421cc7431e4\",\n \"score\": \"0.669415\",\n \"text\": \"public void draw(float x , float y , float FontSize, String text){\\n\\t\\tdraw(x, y, FontSize, text, Color.white);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ccc80c7f12b78bf8c42bbd6eb1fe08f\",\n \"score\": \"0.6663153\",\n \"text\": \"static public void drawText(PGraphics g, float height, String text, float x, float y) {\\n\\t\\tg.pushMatrix();\\n\\t\\tg.translate(x, y);\\n\\t\\tg.scale(-0.01f,0.01f);\\n\\t\\tg.textSize(height*100);\\n\\t\\tg.text(text, 0, 0);\\n\\t\\tg.popMatrix();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55a1471ccd90d12ecb3f780946d4e4d1\",\n \"score\": \"0.6630895\",\n \"text\": \"void draw(Graphics g) {\\n drawString(g, appearance, r, c);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b51a38775d2aaf0fdcc1f96e60a5199\",\n \"score\": \"0.6617985\",\n \"text\": \"private void renderString(GL2 gl, int font, String string) {\\n if (bFontTypeBitmap) {\\n gl.glRasterPos2f(0f, 0f);\\n ipglut.glutBitmapString(gl, font, string);\\n } else {\\n ipglut.glutStrokeString(gl, font, string);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37d9810ac457ebe941dddf0ed7e13cb8\",\n \"score\": \"0.6607676\",\n \"text\": \"private void drawText(String indexString,int x,int y){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"664fcdcd3be1c46e55112249c204a275\",\n \"score\": \"0.6512837\",\n \"text\": \"private void drawText(Graphics g,Color c,int fontSize,String text,int x,int y){\\n\\t\\tg.setFont(new Font(\\\"Segoe Print\\\",Font.BOLD,fontSize));\\n\\t\\t//drop shadow effect\\n\\t\\tg.setColor(new Color(0,0,0,122));\\n\\t\\tg.drawString(text,x,y);\\n\\t\\t//draw with colour\\n\\t\\tg.setColor(c);\\n\\t\\tg.drawString(text,x-2,y-1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76514d68cf43bbebda68c82ee43cbe94\",\n \"score\": \"0.64737767\",\n \"text\": \"public void drawText(Graphics g, String s, int x, int y) {\\n int len = s.length();\\n int srcX = 0;\\n int srcY = 0;\\n int srcWidth = 23;\\n int srcHeight = 54;\\n String c;\\n for (int i =0; i maxWidth ? (int) fontMetrics.stringWidth( line ) : maxWidth );\\r\\n\\r\\n int tempX = x;\\r\\n int tempY = y;\\r\\n if( tempX - maxWidth / 2 < 0 )\\r\\n tempX = maxWidth / 2;\\r\\n if( tempY - textBlockHeight < 0 )\\r\\n tempY = textBlockHeight;\\r\\n if( tempX + maxWidth / 2 > GUI.WINDOW_WIDTH )\\r\\n tempX = GUI.WINDOW_WIDTH - maxWidth / 2;\\r\\n\\r\\n AlphaComposite alphaComposite = AlphaComposite.getInstance( AlphaComposite.SRC_OVER, 0.8f );\\r\\n Composite temp = g.getComposite( );\\r\\n g.setComposite( alphaComposite );\\r\\n g.setColor( bkgColor );\\r\\n g.fillRoundRect( tempX - maxWidth / 2 - 5, tempY - textBlockHeight - 5, maxWidth + 10, textBlockHeight + 10, 20, 20 );\\r\\n\\r\\n g.setComposite( temp );\\r\\n g.setColor( bubbleBorder );\\r\\n g.drawRoundRect( tempX - maxWidth / 2 - 5, tempY - textBlockHeight - 5, maxWidth + 10, textBlockHeight + 10, 20, 20 );\\r\\n\\r\\n if( showArrow ) {\\r\\n g.setComposite( alphaComposite );\\r\\n g.setColor( bkgColor );\\r\\n int x_p[] = new int[] { tempX - 10, tempX + 10, tempX };\\r\\n int y_p[] = new int[] { tempY + 5, tempY + 5, tempY + 15 };\\r\\n g.fillPolygon( x_p, y_p, 3 );\\r\\n\\r\\n g.setComposite( temp );\\r\\n g.setColor( bubbleBorder );\\r\\n g.drawLine( x_p[0], y_p[0], x_p[2], y_p[2] );\\r\\n g.drawLine( x_p[1], y_p[1], x_p[2], y_p[2] );\\r\\n }\\r\\n\\r\\n drawStringOnto( g, strings, x, y, textColor, borderColor );\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"659a9799bc3f9d25a11f875fbb9d6b62\",\n \"score\": \"0.6147225\",\n \"text\": \"public void addTextToDraw( String string, int x, int y, Color textColor, Color borderColor ) {\\r\\n\\r\\n boolean added = false;\\r\\n int i = 0;\\r\\n if( !string.equals( \\\"\\\" ) ) {\\r\\n Text text = new Text( string, x, y, textColor, borderColor );\\r\\n while( !added && i < textToDraw.size( ) ) {\\r\\n if( y <= textToDraw.get( i ).getY( ) ) {\\r\\n textToDraw.add( i, text );\\r\\n added = true;\\r\\n }\\r\\n i++;\\r\\n }\\r\\n if( !added )\\r\\n textToDraw.add( text );\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"765633e37cbe4d0ef12ef93bc56f0eb7\",\n \"score\": \"0.61459666\",\n \"text\": \"public static void drawStringOnto( Graphics2D g, String[] strings, int x, int y, Color textColor, Color borderColor ) {\\r\\n\\r\\n //Calculate the total height of the block text\\r\\n FontMetrics fontMetrics = g.getFontMetrics( );\\r\\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( );\\r\\n\\r\\n // This is the y lower position of the first line\\r\\n int realY = y - textBlockHeight + fontMetrics.getAscent( );\\r\\n if( realY < fontMetrics.getAscent( ) )\\r\\n realY = fontMetrics.getAscent( );\\r\\n\\r\\n //Draw each line of the string array\\r\\n for( String line : strings ) {\\r\\n drawStringOnto( g, line, x, realY, true, textColor, borderColor, true, false);\\r\\n realY += fontMetrics.getHeight( );\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccdba7f1fa2b170e2114ac6e15245f8a\",\n \"score\": \"0.61341256\",\n \"text\": \"public void drawString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)\\n {\\n par1FontRenderer.drawStringWithShadow(par2Str, par3, par4, par5);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42efce3ff6004936ffbae9ebaf362e43\",\n \"score\": \"0.6127323\",\n \"text\": \"public void print2(Graphics g, String head, int z, int x, int y){\\n\\n g.drawString(head,x,y);\\n y+=15;\\n g.drawString(String.valueOf(z),x,y);\\n x+=20;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2cb6dde58d1fa901bfaf5a12aecce23\",\n \"score\": \"0.6126847\",\n \"text\": \"public void paint ( Graphics g )\\n {\\n super.paint(g);\\n g.drawString(\\\"Welcome to java Applet\\\",20,30);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d7d8bf3319d5fbf54780a97595a28dc\",\n \"score\": \"0.61242867\",\n \"text\": \"public void text(String data, int x, int y, int width, int height) {\\n String[] lines = textWrap(data, width, height);\\n //// draw lines\\n text(lines, x, y, width, height);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"964c0d2c55aaf70ed024e7feb6f0b7a8\",\n \"score\": \"0.61233187\",\n \"text\": \"public void show (char character, int x, int y)\\r\\n {\\r\\n show(\\\" \\\" + character + \\\" \\\", x, y);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"208dd77e1620e8f43c13cbeafc889ab0\",\n \"score\": \"0.61229867\",\n \"text\": \"public void draw(Graphics g){\\n g.setColor(color);\\n g.setFont(buttonFont);\\n // Drawing the text in the center of the rectangle\\n int width = g.getFontMetrics().stringWidth(text);\\n int height = g.getFontMetrics().getHeight();\\n g.drawString(text, buttonRect.x + (buttonRect.width - width)/2, buttonRect.y + (buttonRect.height - height)/2 + 25);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e968d1a9fa0b6f85d6ee46aae0025823\",\n \"score\": \"0.6122189\",\n \"text\": \"public static void TextDraw(String string, int time) {\\n\\t\\tfor (int i = 0; i < string.length(); i++) \\n\\t\\t{ \\t\\t\\t\\t\\t \\n\\t\\t\\tSystem.out.print(string.charAt(i));\\t\\t\\t\\t//Outputs the contents of any string one character\\n\\t\\t\\tpause(time); \\t\\t\\t\\t\\t\\t\\t\\t\\t//at a time with a pause() in between\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d2c1069a896a8e201c33ffa5dce5fe2\",\n \"score\": \"0.61193883\",\n \"text\": \"public void render(){\\n batch.begin();\\n if(mouseOn(dimensions.x, dimensions.y)) {\\n font.setColor(Color.RED);\\n hovered = true;\\n }\\n else {\\n font.setColor(Color.WHITE);\\n hovered = false;\\n }\\n layout.setText(font, display);\\n textHeight = layout.height;\\n font.draw(batch, display, position.x-dimensions.x/2, position.y+dimensions.y/2-textHeight/2);\\n batch.end();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20ff555451df62eda71f3b0937b9740e\",\n \"score\": \"0.6116141\",\n \"text\": \"public static void displayMessage(String message) {\\n processing.fill(0);\\n processing.textSize(20);\\n processing.text(message, processing.width / 2, 50);\\n processing.textSize(12);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ef8133197299c64335bd96119dfd6bb\",\n \"score\": \"0.6114876\",\n \"text\": \"static void drawInput(String s) {\\n StdDraw.clear(Color.BLACK);\\n StdDraw.text(Game.WIDTH / 2, (Game.HEIGHT / 2) - 5, s);\\n drawNewGameScreen();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"244718763d3d2948496d17d62fcb8aec\",\n \"score\": \"0.6112552\",\n \"text\": \"public void println() {\\r\\n\\t\\tprint(\\\"\\\\n\\\");\\r\\n\\t\\ttext.repaint();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d154424ae7bebda01e9165ad5491b9e\",\n \"score\": \"0.6104385\",\n \"text\": \"private void printText() {\\r\\n GLabel text = new GLabel(\\\"Flag of Germany\\\");\\r\\n text.setFont(\\\"SERIF-25\\\");\\r\\n double x = (getWidth() - text.getWidth());\\r\\n double y = (getHeight() - ((text.getHeight()) - (text.getAscent())));\\r\\n\\r\\n //Print text\\r\\n add(text, x, y);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bda4f079ce63a7c9d3da1fcbb50cf61\",\n \"score\": \"0.60920095\",\n \"text\": \"public void displayString(String string) {\\n\\t\\tinfoPanel.addText(string);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50ef1998b2eeeb41892587ff4820080a\",\n \"score\": \"0.60872406\",\n \"text\": \"public static void render(){\\n\\n String print = \\\"
\\\";\\n\\n        int drawn = 0;\\n        int current = 0;\\n        // Draw out grid loop\\n        while (drawn < (height * width)) {\\n            while (current < width) {\\n                // Draw color if requested\\n                if(renderArray[drawn].color != 0){\\n                    print += \\\"\\\";\\n                }\\n                // Add next pixel to print string.\\n                print = print + renderArray[drawn].value;\\n                // Close color tag\\n                if(renderArray[drawn].color != 0){\\n                    print += \\\"\\\";\\n                }\\n\\n                current++;\\n                drawn++;\\n            }\\n            current = 0;\\n            print = print + \\\"
\\\";\\n }\\n\\n // End of print string\\n print = print + \\\"
\\\";\\n // Print out the rendered text.\\n pixelFrame.setText(print);\\n\\n // Old render system - System.out.print(print);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcfc630b7fc30172dfe0bdb376272395\",\n \"score\": \"0.60857105\",\n \"text\": \"public void addTextToDraw( String string, int x, int y, Color textColor, Color borderColor, Color bubbleBkgColor, Color bubbleBorderColor, boolean showArrow ) {\\r\\n\\r\\n boolean added = false;\\r\\n int i = 0;\\r\\n if( !string.equals( \\\"\\\" ) ) {\\r\\n Text text = new Text( string, x, y, textColor, borderColor, bubbleBkgColor, bubbleBorderColor, showArrow );\\r\\n while( !added && i < textToDraw.size( ) ) {\\r\\n if( y <= textToDraw.get( i ).getY( ) ) {\\r\\n textToDraw.add( i, text );\\r\\n added = true;\\r\\n }\\r\\n i++;\\r\\n }\\r\\n if( !added )\\r\\n textToDraw.add( text );\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e603b11421062db38eb126d078383ee1\",\n \"score\": \"0.606493\",\n \"text\": \"public void draw(Graphics g) {\\r\\n\\t\\tg.setColor(Color.white);\\r\\n\\t\\tg.setFont(new Font(\\\"Serif\\\", Font.BOLD, 36));\\r\\n\\t\\tg.drawString(\\\"\\\" + score, location.x, location.y);\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b6fcf6802253c06ef7792984b6977a5\",\n \"score\": \"0.60506403\",\n \"text\": \"private void drawString(Graphics2D g, String s, double tx, double ty, double theta) { //double rotx, double roty) {\\n AffineTransform aff = AffineTransform.getRotateInstance(theta, tx, ty);\\n aff.translate(tx, ty);\\n\\n Graphics2D g2D = ((Graphics2D) g);\\n g2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);\\n BufferedImage stringImage = createStringImage(g, s);\\n aff.translate(-stringImage.getWidth()/2, 0); // Move image so it is centered around tx, ty\\n g2D.drawImage(stringImage, aff, this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b85d25cd65178785b1a98c0ec45b9907\",\n \"score\": \"0.6030328\",\n \"text\": \"public static void drawString( Graphics2D g, String[] strings, int x, int y ) {\\r\\n\\r\\n //Calculate the total height of the block text\\r\\n FontMetrics fontMetrics = g.getFontMetrics( );\\r\\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( ) - fontMetrics.getDescent( );\\r\\n\\r\\n // This is the y center position of the first line\\r\\n int realY = y - textBlockHeight / 2 + fontMetrics.getAscent( ) / 2;\\r\\n\\r\\n //Draw each line of the string array\\r\\n for( String line : strings ) {\\r\\n drawString( g, line, x, realY );\\r\\n realY += fontMetrics.getHeight( );\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4e233b008c27e51b4a79400d6dc09fb\",\n \"score\": \"0.6011739\",\n \"text\": \"public void draw_smaller_text(java.lang.CharSequence str, float x, float y,\\n\\t\\t\\tGameColor color) {\\n\\t\\tsmaller_text.setColor(color);\\n\\t\\tsmaller_text.draw(this, str, x, y);\\n\\t\\t// smaller_text.setColor(previousColor);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"808a6963568cec9a64d792f6da94c618\",\n \"score\": \"0.60077935\",\n \"text\": \"private void display(final String s) {\\r\\n EventQueue.invokeLater(new Runnable() {\\r\\n //@Override\\r\\n public void run() {\\r\\n textArea.append(s + \\\"\\\\n\\\");\\r\\n }\\r\\n });\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98f778e4b61a5e8fe1f3edbea761cb50\",\n \"score\": \"0.5990955\",\n \"text\": \"public void paintComponent(Graphics g) {\\n\\t\\tString symbol = stockName+\\\" \\\"+Double.toString(stockPrice);\\n\\t\\t\\n\\t\\t// clear drawing surface.\\n\\t\\tsuper.paintComponent(g);\\n\\t\\t\\n\\t\\t// determine the width of the string\\n\\t\\tFontMetrics fm = g.getFontMetrics();\\n\\t\\tsymbolWidth = fm.stringWidth(symbol);\\n\\t\\t\\n\\t\\t// draw the string\\n\\t\\tg.setColor(Color.black);\\n\\t\\tg.drawString(symbol, x, y);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c716084f1321ee7c3e29ddd5439d434\",\n \"score\": \"0.59685194\",\n \"text\": \"public void drawString(Graphics g, String s, int x, int y, int width) {\\n FontMetrics fm = g.getFontMetrics();\\n\\n int lineHeight = fm.getHeight();\\n\\n int curX = x;\\n int curY = y;\\n\\n String[] words = s.split(\\\" \\\");\\n\\n for (String word : words) {\\n // Find out thw width of the word.\\n int wordWidth = fm.stringWidth(word + \\\" \\\");\\n\\n // If text exceeds the width, then move to next line.\\n if (curX + wordWidth >= x + width) {\\n curY += lineHeight;\\n curX = x;\\n }\\n\\n g.drawString(word, curX, curY);\\n\\n // Move over to the right for next word.\\n curX += wordWidth;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3befaedd7736939bf043edde0914eb4b\",\n \"score\": \"0.5965806\",\n \"text\": \"public void drawString(FontRenderer par1FontRenderer, String par2Str,\\r\\n int par3, int par4, int par5) {\\r\\n par1FontRenderer.drawStringWithShadow(par2Str, par3, par4, par5);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8aed258eb25af34440dde023eb14878f\",\n \"score\": \"0.5956504\",\n \"text\": \"public static void draw(int x, int y, String value){\\n int pos = getPos(x,y);\\n try{\\n renderArray[pos] = new Pixel(value, 0);\\n } catch(ArrayIndexOutOfBoundsException e){\\n return;\\n }\\n render();\\n return;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9412e5bee1ce6fb66b2f156e2c6cd1d\",\n \"score\": \"0.59487355\",\n \"text\": \"public static void vdrawString(FontRenderer fontRendererIn, String text, int x, int y, int color) {\\r\\n\\t\\tfontRendererIn.drawStringWithShadow(text, x, y, color);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42b6d29f29365edecfea4ee2bfcc4086\",\n \"score\": \"0.5937003\",\n \"text\": \"public void draw(float x , float y , float FontSize, String text, Color color){\\n\\t\\tfloat derivedFont = FontSize/baseFontSize;\\n\\t\\tglPushAttrib(GL_ENABLE_BIT);\\n\\t\\tglEnable(GL_BLEND);\\n\\t\\tglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\\n\\t\\tglPushMatrix();\\n\\t\\tglTranslatef(x, y, 0);\\n\\t\\tglScalef(derivedFont, derivedFont, derivedFont);\\n\\t\\tTextureImpl.unbind();\\n\\t\\tmyfont.drawString(0, 0, text,color);\\n\\t\\tglPopMatrix();\\n\\t\\tglPopAttrib();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2a459ea9401df40474aba63b930182f\",\n \"score\": \"0.59339297\",\n \"text\": \"public void Draw() {\\r\\n\\t\\tSystem.out.println(\\\"║ Willkommen bei Javagotchi ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ Bitte wähle eines der verfügbaren Javagotchie! ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ 1) Hund ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ 2) Katze ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ 3) Bunny ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ Bitte drücke die Nummer des Javagotchie, das du haben willst! ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ Dein Javagotchie hat Hunger, will schlafen und spielen. Wenn eines seiner ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ Bedürfnisse über 500 steigt, wird es sterben! ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ Viel Spaß! ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"║ ║\\\");\\r\\n\\t\\tSystem.out.println(\\\"╚══════════════════════════════════════════════════════════════════════════════╝\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bd2ec47f770c1426937976ffa4ea777\",\n \"score\": \"0.59291023\",\n \"text\": \"public void drawText(int x, int z, final String text, final byte startColor, final int size) {\\n final MapFont font = MinecraftFont.Font;\\n\\n final int xStart = x;\\n byte color = startColor;\\n if (!font.isValid(text)) {\\n throw new IllegalArgumentException(\\\"text contains invalid characters\\\");\\n } else {\\n int currentIndex = 0;\\n\\n while (true) {\\n if (currentIndex >= text.length()) {\\n return;\\n }\\n\\n final char ch = text.charAt(currentIndex);\\n if (ch == '\\\\n') {\\n // Increment z if the char is a line separator\\n x = xStart;\\n z += font.getHeight() + 1;\\n } else if (ch == '\\\\u00A7' /*-> §*/) {\\n // Get distance from current char to end char (';')\\n final int end = text.indexOf(';', currentIndex);\\n if (end < 0) {\\n break;\\n }\\n\\n // Parse color\\n try {\\n color = Byte.parseByte(text.substring(currentIndex + 1, end));\\n currentIndex = end;\\n } catch (final NumberFormatException var12) {\\n break;\\n }\\n } else {\\n // Draw text if the character is not a special character\\n final MapFont.CharacterSprite sprite = font.getChar(text.charAt(currentIndex));\\n\\n for (int row = 0; row < font.getHeight(); ++row) {\\n for (int col = 0; col < sprite.getWidth(); ++col) {\\n if (sprite.get(row, col)) {\\n for (int eX = 0; eX < size; eX++) {\\n for (int eZ = 0; eZ < size; eZ++) {\\n this.setPixel(x + (size * col) + (eX), z + (size * row) + (eZ), color);\\n }\\n }\\n }\\n }\\n }\\n\\n // Increment x\\n x += (sprite.getWidth() + 1) * size;\\n }\\n\\n ++currentIndex;\\n }\\n\\n throw new IllegalArgumentException(\\\"Text contains unterminated color string\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8655a1be58501e2858bd989ee4500ec\",\n \"score\": \"0.5923362\",\n \"text\": \"public void draw() {\\n /* DO NOT MODIFY */\\n //StdDraw.point(x, y);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11584e30a820606fe39bebcfea88d76b\",\n \"score\": \"0.5914237\",\n \"text\": \"public void renderText(String text)\\n\\t{\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecc7005ca08a263663122facf8fe6bd3\",\n \"score\": \"0.5911857\",\n \"text\": \"protected void drawText(int w, int h, float scale, String text, Graphics2D g2)\\n\\t{\\n\\t\\tint fw = g2.getFontMetrics().stringWidth(text);\\n\\t\\tint fh = g2.getFontMetrics().getAscent() - g2.getFontMetrics().getDescent();\\n\\t\\tint textx = (w - fw) / 2;\\n\\t\\tint texty = h / 2 + fh / 2;\\n\\t\\t\\n\\t\\t// draw the text\\n\\t\\tg2.setColor(new Color(0, 0, 0, 70));\\n\\t\\tg2.drawString(text, (int) ((float) textx + scale * (0.04f)), (int) ((float) texty + scale * (0.04f)));\\n\\t\\tg2.setColor(Color.black);\\n\\t\\tg2.drawString(text, textx, texty);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1046808e671bb9862c01ddeb02255e76\",\n \"score\": \"0.58885336\",\n \"text\": \"public void paint(Graphics graphics)\\n {\\n int width = this.displayInfoSingleton.getLast()[this.displayInfoSingleton.WIDTH];\\n \\n int topScoresWidth = (graphics.getFont().stringWidth(this.text) >> 1);\\n\\n graphics.setColor(this.getBasicColor().intValue());\\n \\n graphics.drawString(this.text, (width >> 1) - topScoresWidth, HEIGHT * 3, anchor); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b80fc49c1e59ca3c75613e1f0ec64fe\",\n \"score\": \"0.5886136\",\n \"text\": \"public void draw(){\\n colorMode(HSB, 100);\\n // Fill the rectangle\\n fill(colorNumber%100,mySaturation,myBrightness,myAlpha);\\n // Draw the rectangle\\n rect(x,y,squareWidth,squareHeight);\\n // Draw the number if its there\\n if(displayNumber != null){\\n fill((50+colorNumber)%100,100,100);\\n textAlign(CENTER,CENTER);\\n textFont(font);\\n text(displayNumber,x+squareWidth/2,y+squareHeight/2);\\n displayNumber = null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc0c6d026761a67fbb664e5d80459a2b\",\n \"score\": \"0.5883907\",\n \"text\": \"public void render() {\\n ArrayList coords = w.nonEmptyCoords();\\n\\n for (int i = 0; i < coords.size(); i++) {\\n Coord c = coords.get(i);\\n\\n // this part appends the coordinate in string form with its contents\\n String s = c.toString() + \\\" \\\" + w.getContents(c).toString();\\n\\n try {\\n pw.append(s + \\\"\\\\n\\\");\\n } catch (Exception e) {\\n throw new IllegalStateException(\\\"Cannot append to output file.\\\");\\n }\\n }\\n\\n pw.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"070f0b79d0d92572a55a3dc2c569d2af\",\n \"score\": \"0.58636934\",\n \"text\": \"private void drawTitle(Graphics g, String text) {\\r\\n\\t\\t\\tRectangle rect = this.getBounds();\\r\\n\\r\\n\\t\\t\\tg.setFont(bigFont);\\r\\n\\t\\t\\tg.drawString(text, (int) ((rect.width / 2) - (bigFont.getSize()\\r\\n\\t\\t\\t\\t\\t* text.length() * CENTERFACTOR)), rect.height / 4);\\r\\n\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf59bdec9dd4056de80541409eeacbb1\",\n \"score\": \"0.586148\",\n \"text\": \"@Override\\n\\tpublic void draw(Canvas window)\\n\\t{\\n\\t\\tsuper.draw(window);\\n\\t\\ttext.draw(window);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a34eb8d049b1e9bbc28501d4a88ff5e\",\n \"score\": \"0.58554226\",\n \"text\": \"public void paint(Graphics g){\\n\\t\\tg.drawString(\\\"Hello World!\\\",25,25);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9841e232c5f6e6207d5490ff50d1ed0e\",\n \"score\": \"0.58539075\",\n \"text\": \"private void title (String text, int x, int y)\\n\\t{\\n\\t\\tc.clear ();\\n\\t\\tc.setFont (new Font (\\\"Comic Sans MS\\\", 0, 40));\\n\\t\\tc.setColor (Color.black);\\n\\t\\tc.drawString (text, x, y);\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":882,"cells":{"query_id":{"kind":"string","value":"a99726ec0c577fa2b6d4760fe9ae56e1"},"query":{"kind":"string","value":"$ANTLR end \"rule__MouseTrigger__Alternatives\" $ANTLR start \"rule__ColorChoice__Alternatives\" InternalChessGame.g:437:1: rule__ColorChoice__Alternatives : ( ( ( 'black' ) ) | ( ( 'white' ) ) );"},"positive_passages":{"kind":"list like","value":[{"docid":"7b44e9bb903e49ad13ecd13828051ff3","score":"0.7936126","text":"public final void rule__ColorChoice__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:441:1: ( ( ( 'black' ) ) | ( ( 'white' ) ) )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0==11) ) {\n alt5=1;\n }\n else if ( (LA5_0==12) ) {\n alt5=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // InternalChessGame.g:442:2: ( ( 'black' ) )\n {\n // InternalChessGame.g:442:2: ( ( 'black' ) )\n // InternalChessGame.g:443:3: ( 'black' )\n {\n before(grammarAccess.getColorChoiceAccess().getBlackEnumLiteralDeclaration_0()); \n // InternalChessGame.g:444:3: ( 'black' )\n // InternalChessGame.g:444:4: 'black'\n {\n match(input,11,FOLLOW_2); \n\n }\n\n after(grammarAccess.getColorChoiceAccess().getBlackEnumLiteralDeclaration_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalChessGame.g:448:2: ( ( 'white' ) )\n {\n // InternalChessGame.g:448:2: ( ( 'white' ) )\n // InternalChessGame.g:449:3: ( 'white' )\n {\n before(grammarAccess.getColorChoiceAccess().getWhiteEnumLiteralDeclaration_1()); \n // InternalChessGame.g:450:3: ( 'white' )\n // InternalChessGame.g:450:4: 'white'\n {\n match(input,12,FOLLOW_2); \n\n }\n\n after(grammarAccess.getColorChoiceAccess().getWhiteEnumLiteralDeclaration_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""}],"string":"[\n {\n \"docid\": \"7b44e9bb903e49ad13ecd13828051ff3\",\n \"score\": \"0.7936126\",\n \"text\": \"public final void rule__ColorChoice__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:441:1: ( ( ( 'black' ) ) | ( ( 'white' ) ) )\\n int alt5=2;\\n int LA5_0 = input.LA(1);\\n\\n if ( (LA5_0==11) ) {\\n alt5=1;\\n }\\n else if ( (LA5_0==12) ) {\\n alt5=2;\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 5, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt5) {\\n case 1 :\\n // InternalChessGame.g:442:2: ( ( 'black' ) )\\n {\\n // InternalChessGame.g:442:2: ( ( 'black' ) )\\n // InternalChessGame.g:443:3: ( 'black' )\\n {\\n before(grammarAccess.getColorChoiceAccess().getBlackEnumLiteralDeclaration_0()); \\n // InternalChessGame.g:444:3: ( 'black' )\\n // InternalChessGame.g:444:4: 'black'\\n {\\n match(input,11,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getColorChoiceAccess().getBlackEnumLiteralDeclaration_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalChessGame.g:448:2: ( ( 'white' ) )\\n {\\n // InternalChessGame.g:448:2: ( ( 'white' ) )\\n // InternalChessGame.g:449:3: ( 'white' )\\n {\\n before(grammarAccess.getColorChoiceAccess().getWhiteEnumLiteralDeclaration_1()); \\n // InternalChessGame.g:450:3: ( 'white' )\\n // InternalChessGame.g:450:4: 'white'\\n {\\n match(input,12,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getColorChoiceAccess().getWhiteEnumLiteralDeclaration_1()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d56b387ee5404fa458bc5b8429c80864","score":"0.7302018","text":"public final void rulecolorChoice() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:357:1: ( ( ( rule__ColorChoice__Alternatives ) ) )\n // InternalChessGame.g:358:2: ( ( rule__ColorChoice__Alternatives ) )\n {\n // InternalChessGame.g:358:2: ( ( rule__ColorChoice__Alternatives ) )\n // InternalChessGame.g:359:3: ( rule__ColorChoice__Alternatives )\n {\n before(grammarAccess.getColorChoiceAccess().getAlternatives()); \n // InternalChessGame.g:360:3: ( rule__ColorChoice__Alternatives )\n // InternalChessGame.g:360:4: rule__ColorChoice__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__ColorChoice__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getColorChoiceAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"b9d2945f35c267e7c535e9a47e0bb467","score":"0.605415","text":"public final void rule__AlertLevel__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11705:1: ( ( ( 'red' ) ) | ( ( 'yellow' ) ) | ( ( 'green' ) ) )\n int alt89=3;\n switch ( input.LA(1) ) {\n case 212:\n {\n alt89=1;\n }\n break;\n case 213:\n {\n alt89=2;\n }\n break;\n case 214:\n {\n alt89=3;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 89, 0, input);\n\n throw nvae;\n }\n\n switch (alt89) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11706:1: ( ( 'red' ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11706:1: ( ( 'red' ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11707:1: ( 'red' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getREDEnumLiteralDeclaration_0()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11708:1: ( 'red' )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11708:3: 'red'\n {\n match(input,212,FollowSets001.FOLLOW_212_in_rule__AlertLevel__Alternatives26849); if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getREDEnumLiteralDeclaration_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11713:6: ( ( 'yellow' ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11713:6: ( ( 'yellow' ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11714:1: ( 'yellow' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getYELLOWEnumLiteralDeclaration_1()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11715:1: ( 'yellow' )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11715:3: 'yellow'\n {\n match(input,213,FollowSets001.FOLLOW_213_in_rule__AlertLevel__Alternatives26870); if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getYELLOWEnumLiteralDeclaration_1()); \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11720:6: ( ( 'green' ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11720:6: ( ( 'green' ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11721:1: ( 'green' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getGREENEnumLiteralDeclaration_2()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11722:1: ( 'green' )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11722:3: 'green'\n {\n match(input,214,FollowSets001.FOLLOW_214_in_rule__AlertLevel__Alternatives26891); if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getGREENEnumLiteralDeclaration_2()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"26f110f92feba500768d4eb028a62e5d","score":"0.56778216","text":"@Override\r\n\tpublic String visit(Match m) {\n\t\treturn \"Match colored words using their color or the color they spell \";\r\n\t}","title":""},{"docid":"b6a946419b96dd39000eb4c6e1e2fed9","score":"0.55189806","text":"String promptColorSelection(Player p, ArrayList colors);","title":""},{"docid":"5a680a343c7b49a8b24602af8eb093cf","score":"0.51682585","text":"public final void rule__CellDisplay__ColorAssignment_2_1_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:2140:1: ( ( rulecolorChoice ) )\n // InternalChessGame.g:2141:2: ( rulecolorChoice )\n {\n // InternalChessGame.g:2141:2: ( rulecolorChoice )\n // InternalChessGame.g:2142:3: rulecolorChoice\n {\n before(grammarAccess.getCellDisplayAccess().getColorColorChoiceEnumRuleCall_2_1_2_0()); \n pushFollow(FOLLOW_2);\n rulecolorChoice();\n\n state._fsp--;\n\n after(grammarAccess.getCellDisplayAccess().getColorColorChoiceEnumRuleCall_2_1_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"0c8f65319d0cca387348b89b9fd2094f","score":"0.50109047","text":"public final void rule__Statements__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:372:1: ( ( ruleFieldSpecification ) | ( ruleCellState ) | ( ruleGameEnd ) )\n int alt2=3;\n switch ( input.LA(1) ) {\n case 13:\n {\n alt2=1;\n }\n break;\n case RULE_ID:\n {\n alt2=2;\n }\n break;\n case 27:\n {\n alt2=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n\n switch (alt2) {\n case 1 :\n // InternalChessGame.g:373:2: ( ruleFieldSpecification )\n {\n // InternalChessGame.g:373:2: ( ruleFieldSpecification )\n // InternalChessGame.g:374:3: ruleFieldSpecification\n {\n before(grammarAccess.getStatementsAccess().getFieldSpecificationParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleFieldSpecification();\n\n state._fsp--;\n\n after(grammarAccess.getStatementsAccess().getFieldSpecificationParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalChessGame.g:379:2: ( ruleCellState )\n {\n // InternalChessGame.g:379:2: ( ruleCellState )\n // InternalChessGame.g:380:3: ruleCellState\n {\n before(grammarAccess.getStatementsAccess().getCellStateParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleCellState();\n\n state._fsp--;\n\n after(grammarAccess.getStatementsAccess().getCellStateParserRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalChessGame.g:385:2: ( ruleGameEnd )\n {\n // InternalChessGame.g:385:2: ( ruleGameEnd )\n // InternalChessGame.g:386:3: ruleGameEnd\n {\n before(grammarAccess.getStatementsAccess().getGameEndParserRuleCall_2()); \n pushFollow(FOLLOW_2);\n ruleGameEnd();\n\n state._fsp--;\n\n after(grammarAccess.getStatementsAccess().getGameEndParserRuleCall_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"e435afe9a5bc643c20e418311f9391a4","score":"0.5003938","text":"void chooseColour(Player player);","title":""},{"docid":"cc6ac2837ae6c47eed3224a3eba58ef3","score":"0.49970675","text":"void onColorChosen(@ColorInt int color, String hex, String hexNoAlpha);","title":""},{"docid":"048f410fb28424ec992b0daf636d0918","score":"0.49908715","text":"void chosenColour(Colour colour);","title":""},{"docid":"130beb0cb650ac9cdaa7f5db216f714e","score":"0.49755186","text":"public final void rule__Property__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:472:1: ( ( RULE_WORD ) | ( RULE_HEX_DIGIT ) | ( RULE_HEX_COLOR ) | ( RULE_VARIABLE ) | ( ruleFunction ) )\n int alt5=5;\n switch ( input.LA(1) ) {\n case RULE_WORD:\n {\n int LA5_1 = input.LA(2);\n\n if ( (LA5_1==EOF||(LA5_1>=RULE_WORD && LA5_1<=RULE_MULTIPLY)||LA5_1==RULE_SEMI_COLON||LA5_1==RULE_COMMA||LA5_1==RULE_PAREN_RIGHT) ) {\n alt5=1;\n }\n else if ( (LA5_1==RULE_PAREN_LEFT) ) {\n alt5=5;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 1, input);\n\n throw nvae;\n }\n }\n break;\n case RULE_HEX_DIGIT:\n {\n alt5=2;\n }\n break;\n case RULE_HEX_COLOR:\n {\n alt5=3;\n }\n break;\n case RULE_VARIABLE:\n {\n alt5=4;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n\n switch (alt5) {\n case 1 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:473:1: ( RULE_WORD )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:473:1: ( RULE_WORD )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:474:1: RULE_WORD\n {\n before(grammarAccess.getPropertyAccess().getWORDTerminalRuleCall_0()); \n match(input,RULE_WORD,FOLLOW_RULE_WORD_in_rule__Property__Alternatives957); \n after(grammarAccess.getPropertyAccess().getWORDTerminalRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:479:6: ( RULE_HEX_DIGIT )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:479:6: ( RULE_HEX_DIGIT )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:480:1: RULE_HEX_DIGIT\n {\n before(grammarAccess.getPropertyAccess().getHEX_DIGITTerminalRuleCall_1()); \n match(input,RULE_HEX_DIGIT,FOLLOW_RULE_HEX_DIGIT_in_rule__Property__Alternatives974); \n after(grammarAccess.getPropertyAccess().getHEX_DIGITTerminalRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:485:6: ( RULE_HEX_COLOR )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:485:6: ( RULE_HEX_COLOR )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:486:1: RULE_HEX_COLOR\n {\n before(grammarAccess.getPropertyAccess().getHEX_COLORTerminalRuleCall_2()); \n match(input,RULE_HEX_COLOR,FOLLOW_RULE_HEX_COLOR_in_rule__Property__Alternatives991); \n after(grammarAccess.getPropertyAccess().getHEX_COLORTerminalRuleCall_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:491:6: ( RULE_VARIABLE )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:491:6: ( RULE_VARIABLE )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:492:1: RULE_VARIABLE\n {\n before(grammarAccess.getPropertyAccess().getVARIABLETerminalRuleCall_3()); \n match(input,RULE_VARIABLE,FOLLOW_RULE_VARIABLE_in_rule__Property__Alternatives1008); \n after(grammarAccess.getPropertyAccess().getVARIABLETerminalRuleCall_3()); \n\n }\n\n\n }\n break;\n case 5 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:497:6: ( ruleFunction )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:497:6: ( ruleFunction )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:498:1: ruleFunction\n {\n before(grammarAccess.getPropertyAccess().getFunctionParserRuleCall_4()); \n pushFollow(FOLLOW_ruleFunction_in_rule__Property__Alternatives1025);\n ruleFunction();\n\n state._fsp--;\n\n after(grammarAccess.getPropertyAccess().getFunctionParserRuleCall_4()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"c42b1d1acb4b43a63ad5fb7b6a2a5715","score":"0.4948021","text":"public final void rule__ColumnAttribute__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10181:1: ( ( ruleCellColor ) | ( ruleCellText ) | ( ruleEnd ) | ( ruleFontColor ) | ( ruleHAlign ) | ( ruleListItem ) | ( ruleListType ) | ( rulePeriod ) | ( ruleScale ) | ( ruleStart ) | ( ruleTitle ) | ( ruleToolTip ) | ( ruleWidth ) | ( ruleMacroCall ) | ( ruleExtendedResourceAttributeColumn ) )\n int alt66=15;\n alt66 = dfa66.predict(input);\n switch (alt66) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10182:1: ( ruleCellColor )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10182:1: ( ruleCellColor )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10183:1: ruleCellColor\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getCellColorParserRuleCall_0()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleCellColor_in_rule__ColumnAttribute__Alternatives22654);\n ruleCellColor();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getCellColorParserRuleCall_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10188:6: ( ruleCellText )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10188:6: ( ruleCellText )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10189:1: ruleCellText\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getCellTextParserRuleCall_1()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleCellText_in_rule__ColumnAttribute__Alternatives22671);\n ruleCellText();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getCellTextParserRuleCall_1()); \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10194:6: ( ruleEnd )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10194:6: ( ruleEnd )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10195:1: ruleEnd\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getEndParserRuleCall_2()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleEnd_in_rule__ColumnAttribute__Alternatives22688);\n ruleEnd();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getEndParserRuleCall_2()); \n }\n\n }\n\n\n }\n break;\n case 4 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10200:6: ( ruleFontColor )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10200:6: ( ruleFontColor )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10201:1: ruleFontColor\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getFontColorParserRuleCall_3()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleFontColor_in_rule__ColumnAttribute__Alternatives22705);\n ruleFontColor();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getFontColorParserRuleCall_3()); \n }\n\n }\n\n\n }\n break;\n case 5 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10206:6: ( ruleHAlign )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10206:6: ( ruleHAlign )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10207:1: ruleHAlign\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getHAlignParserRuleCall_4()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleHAlign_in_rule__ColumnAttribute__Alternatives22722);\n ruleHAlign();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getHAlignParserRuleCall_4()); \n }\n\n }\n\n\n }\n break;\n case 6 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10212:6: ( ruleListItem )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10212:6: ( ruleListItem )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10213:1: ruleListItem\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getListItemParserRuleCall_5()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleListItem_in_rule__ColumnAttribute__Alternatives22739);\n ruleListItem();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getListItemParserRuleCall_5()); \n }\n\n }\n\n\n }\n break;\n case 7 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10218:6: ( ruleListType )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10218:6: ( ruleListType )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10219:1: ruleListType\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getListTypeParserRuleCall_6()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleListType_in_rule__ColumnAttribute__Alternatives22756);\n ruleListType();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getListTypeParserRuleCall_6()); \n }\n\n }\n\n\n }\n break;\n case 8 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10224:6: ( rulePeriod )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10224:6: ( rulePeriod )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10225:1: rulePeriod\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getPeriodParserRuleCall_7()); \n }\n pushFollow(FollowSets001.FOLLOW_rulePeriod_in_rule__ColumnAttribute__Alternatives22773);\n rulePeriod();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getPeriodParserRuleCall_7()); \n }\n\n }\n\n\n }\n break;\n case 9 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10230:6: ( ruleScale )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10230:6: ( ruleScale )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10231:1: ruleScale\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getScaleParserRuleCall_8()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleScale_in_rule__ColumnAttribute__Alternatives22790);\n ruleScale();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getScaleParserRuleCall_8()); \n }\n\n }\n\n\n }\n break;\n case 10 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10236:6: ( ruleStart )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10236:6: ( ruleStart )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10237:1: ruleStart\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getStartParserRuleCall_9()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleStart_in_rule__ColumnAttribute__Alternatives22807);\n ruleStart();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getStartParserRuleCall_9()); \n }\n\n }\n\n\n }\n break;\n case 11 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10242:6: ( ruleTitle )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10242:6: ( ruleTitle )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10243:1: ruleTitle\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getTitleParserRuleCall_10()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleTitle_in_rule__ColumnAttribute__Alternatives22824);\n ruleTitle();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getTitleParserRuleCall_10()); \n }\n\n }\n\n\n }\n break;\n case 12 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10248:6: ( ruleToolTip )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10248:6: ( ruleToolTip )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10249:1: ruleToolTip\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getToolTipParserRuleCall_11()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleToolTip_in_rule__ColumnAttribute__Alternatives22841);\n ruleToolTip();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getToolTipParserRuleCall_11()); \n }\n\n }\n\n\n }\n break;\n case 13 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10254:6: ( ruleWidth )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10254:6: ( ruleWidth )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10255:1: ruleWidth\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getWidthParserRuleCall_12()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleWidth_in_rule__ColumnAttribute__Alternatives22858);\n ruleWidth();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getWidthParserRuleCall_12()); \n }\n\n }\n\n\n }\n break;\n case 14 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10260:6: ( ruleMacroCall )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10260:6: ( ruleMacroCall )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10261:1: ruleMacroCall\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getMacroCallParserRuleCall_13()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleMacroCall_in_rule__ColumnAttribute__Alternatives22875);\n ruleMacroCall();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getMacroCallParserRuleCall_13()); \n }\n\n }\n\n\n }\n break;\n case 15 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10266:6: ( ruleExtendedResourceAttributeColumn )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10266:6: ( ruleExtendedResourceAttributeColumn )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10267:1: ruleExtendedResourceAttributeColumn\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getExtendedResourceAttributeColumnParserRuleCall_14()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleExtendedResourceAttributeColumn_in_rule__ColumnAttribute__Alternatives22892);\n ruleExtendedResourceAttributeColumn();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getExtendedResourceAttributeColumnParserRuleCall_14()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"4ff34a0274552ba208d6c0fa1b9503db","score":"0.48575884","text":"@Test\n public void defaultMatchesSuggested2() throws Exception {\n // available default suggestion\n baseTest( MIN_MARGINS[2],\n MEDIA_SIZES, MEDIA_SIZES[2], MEDIA_SIZES[2],\n // There are only two color modes, hence pick [1]\n COLOR_MODES, COLOR_MODES[1], COLOR_MODES[1],\n DUPLEX_MODES, DUPLEX_MODES[2], DUPLEX_MODES[2],\n RESOLUTIONS, RESOLUTIONS[2], RESOLUTIONS[2]);\n }","title":""},{"docid":"1bccef15ab0b96c6c80a046708229b8d","score":"0.4778348","text":"private void purpleButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_purpleButtonActionPerformed\n round++;\n if( \"MAGENTA\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }","title":""},{"docid":"9c6b5dd01b6039633fbce9c471a023e0","score":"0.4736079","text":"public static void main(String[] args) {\n\t\tint choice=4;\r\n\t\t switch(choice){\r\n\t\t case 1: System.out.println(\"I Like Black Colour\");\r\n\t\t\t\tbreak;\r\n\t\t case 2: System.out.println(\"I Like Merun Colour\");\r\n\t\t\t\tbreak;\r\n\t\t case 3: System.out.println(\"I Like Blue Colour\");\r\n\t\t\t\tbreak;\r\n\t\t case 4: System.out.println(\"I LikeYellow Colour\");\r\n\t\t\t\tbreak;\r\n\t\t default: System.out.println(\"I Dont Like Any Colour\");\r\n\r\n\t}\r\n\r\n}","title":""},{"docid":"9b73f46c6514d270bed537e3001b9405","score":"0.46805826","text":"public final void ruleMouseTrigger() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:216:2: ( ( ( rule__MouseTrigger__Alternatives ) ) )\n // InternalChessGame.g:217:2: ( ( rule__MouseTrigger__Alternatives ) )\n {\n // InternalChessGame.g:217:2: ( ( rule__MouseTrigger__Alternatives ) )\n // InternalChessGame.g:218:3: ( rule__MouseTrigger__Alternatives )\n {\n before(grammarAccess.getMouseTriggerAccess().getAlternatives()); \n // InternalChessGame.g:219:3: ( rule__MouseTrigger__Alternatives )\n // InternalChessGame.g:219:4: rule__MouseTrigger__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__MouseTrigger__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMouseTriggerAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"cd3f4c16bfe4f989c7ba04b651e5016c","score":"0.4666331","text":"public final void ruleStatements() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:91:2: ( ( ( rule__Statements__Alternatives ) ) )\n // InternalChessGame.g:92:2: ( ( rule__Statements__Alternatives ) )\n {\n // InternalChessGame.g:92:2: ( ( rule__Statements__Alternatives ) )\n // InternalChessGame.g:93:3: ( rule__Statements__Alternatives )\n {\n before(grammarAccess.getStatementsAccess().getAlternatives()); \n // InternalChessGame.g:94:3: ( rule__Statements__Alternatives )\n // InternalChessGame.g:94:4: rule__Statements__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__Statements__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getStatementsAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"366b728064cecd98bb03a1213450eec4","score":"0.4654819","text":"public final void rule__WebDriverActionCondition__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:481:1: ( ( ruleElementByCssToBePresent ) | ( ruleTextOfElementWithCssSelectorToBe ) )\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0==27) ) {\n int LA1_1 = input.LA(2);\n\n if ( (LA1_1==28) ) {\n int LA1_2 = input.LA(3);\n\n if ( (LA1_2==29) ) {\n int LA1_3 = input.LA(4);\n\n if ( (LA1_3==40) ) {\n int LA1_4 = input.LA(5);\n\n if ( (LA1_4==RULE_STRING) ) {\n int LA1_5 = input.LA(6);\n\n if ( (LA1_5==30) ) {\n alt1=1;\n }\n else if ( (LA1_5==37) ) {\n alt1=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 5, input);\n\n throw nvae;\n }\n }\n else if ( (LA1_4==RULE_ID) ) {\n int LA1_6 = input.LA(6);\n\n if ( (LA1_6==30) ) {\n alt1=1;\n }\n else if ( (LA1_6==37) ) {\n alt1=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 6, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 4, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 3, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 0, input);\n\n throw nvae;\n }\n switch (alt1) {\n case 1 :\n // InternalBromium.g:482:2: ( ruleElementByCssToBePresent )\n {\n // InternalBromium.g:482:2: ( ruleElementByCssToBePresent )\n // InternalBromium.g:483:3: ruleElementByCssToBePresent\n {\n before(grammarAccess.getWebDriverActionConditionAccess().getElementByCssToBePresentParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleElementByCssToBePresent();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionConditionAccess().getElementByCssToBePresentParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalBromium.g:488:2: ( ruleTextOfElementWithCssSelectorToBe )\n {\n // InternalBromium.g:488:2: ( ruleTextOfElementWithCssSelectorToBe )\n // InternalBromium.g:489:3: ruleTextOfElementWithCssSelectorToBe\n {\n before(grammarAccess.getWebDriverActionConditionAccess().getTextOfElementWithCssSelectorToBeParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleTextOfElementWithCssSelectorToBe();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionConditionAccess().getTextOfElementWithCssSelectorToBeParserRuleCall_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"b7d2a5d01d5c6ed2e5e3019d9d4a8372","score":"0.46503973","text":"private Color or(Color a, Color b) {\n return new Color(\n a.getRed() | b.getRed(), a.getGreen() | b.getGreen(), a.getBlue() | b.getBlue());\n }","title":""},{"docid":"4feac31bd972ec0c0058d93df0182e6e","score":"0.4641594","text":"public int toolCardLetPlayerChoose(String color){\n return 6;\n }","title":""},{"docid":"27f34a2223a4356c15a6578215e2bc53","score":"0.46378046","text":"public final void mT__174() throws RecognitionException {\n try {\n int _type = T__174;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalPub.g:168:8: ( 'red' )\n // InternalPub.g:168:10: 'red'\n {\n match(\"red\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"5e4560e6cc9b76d7adcfece093ccbf84","score":"0.46355382","text":"void BanColor(String color);","title":""},{"docid":"0d040011d03c7381b112d95de72f7cc5","score":"0.4622158","text":"public final void rule__Type__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2618:1: ( ( ( 'void' ) ) | ( ( 'integer' ) ) | ( ( 'real' ) ) | ( ( 'boolean' ) ) | ( ( 'string' ) ) )\r\n int alt24=5;\r\n switch ( input.LA(1) ) {\r\n case 46:\r\n {\r\n alt24=1;\r\n }\r\n break;\r\n case 47:\r\n {\r\n alt24=2;\r\n }\r\n break;\r\n case 48:\r\n {\r\n alt24=3;\r\n }\r\n break;\r\n case 49:\r\n {\r\n alt24=4;\r\n }\r\n break;\r\n case 50:\r\n {\r\n alt24=5;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 24, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt24) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2619:1: ( ( 'void' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2619:1: ( ( 'void' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2620:1: ( 'void' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getVoidEnumLiteralDeclaration_0()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2621:1: ( 'void' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2621:3: 'void'\r\n {\r\n match(input,46,FOLLOW_46_in_rule__Type__Alternatives5728); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getVoidEnumLiteralDeclaration_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2626:6: ( ( 'integer' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2626:6: ( ( 'integer' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2627:1: ( 'integer' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getIntegerEnumLiteralDeclaration_1()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2628:1: ( 'integer' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2628:3: 'integer'\r\n {\r\n match(input,47,FOLLOW_47_in_rule__Type__Alternatives5749); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getIntegerEnumLiteralDeclaration_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2633:6: ( ( 'real' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2633:6: ( ( 'real' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2634:1: ( 'real' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getRealEnumLiteralDeclaration_2()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2635:1: ( 'real' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2635:3: 'real'\r\n {\r\n match(input,48,FOLLOW_48_in_rule__Type__Alternatives5770); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getRealEnumLiteralDeclaration_2()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2640:6: ( ( 'boolean' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2640:6: ( ( 'boolean' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2641:1: ( 'boolean' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getBooleanEnumLiteralDeclaration_3()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2642:1: ( 'boolean' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2642:3: 'boolean'\r\n {\r\n match(input,49,FOLLOW_49_in_rule__Type__Alternatives5791); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getBooleanEnumLiteralDeclaration_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 5 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2647:6: ( ( 'string' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2647:6: ( ( 'string' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2648:1: ( 'string' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getStringEnumLiteralDeclaration_4()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2649:1: ( 'string' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2649:3: 'string'\r\n {\r\n match(input,50,FOLLOW_50_in_rule__Type__Alternatives5812); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getStringEnumLiteralDeclaration_4()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"e76a0060809a36f0c16d2fd913065011","score":"0.46205547","text":"public void parseColorChange() throws IOException {\r\n\t\t// parse exact command\r\n\t\tString colorType = ParseSupport.parseWord(stok, \"color change operation\");\r\n\t\t// boolean contextMode = false;\r\n\t\tboolean elemMode = colorType.toLowerCase().endsWith(\"elem\");\r\n\t\tboolean highlightMode = colorType.startsWith(\"high\");\r\n\t\t// String targetProperty = null;\r\n\r\n\t\tParseSupport.parseMandatoryWord(stok, colorType + \" keyword 'on'\", \"on\");\r\n\r\n\t\tString targetArray = AnimalParseSupport.parseText(stok, colorType\r\n\t\t\t\t+ \" array name\");\r\n\t\tint arrayID = getObjectIDs().getIntProperty(targetArray, -1);\r\n\t\tPTGraphicObject ptgo = animState.getCloneByNum(arrayID);\r\n\t\tif ((arrayID <= 0) || !(ptgo instanceof PTArray)) {\r\n\t\t\tParseSupport.formatException(\"Target object '\" + targetArray\r\n\t\t\t\t\t+ \"' unknown or not an array.\", stok);\r\n\t\t}\r\n\t\t//PTArray theArray = (PTArray) ptgo;\r\n\t\tPTArray theArray = (PTArray) objectMap.get(arrayID);\r\n\t\t\r\n\t\tint fromRange = 0;\r\n\t\tint toRange = getObjectProperties().getIntProperty(targetArray + \".length\") - 1;\r\n\t\tif (ParseSupport.parseOptionalWord(stok, colorType + \" keyword 'position'\",\r\n\t\t\t\t\"position\")) {\r\n\t\t\tfromRange = ParseSupport.parseInt(stok, colorType + \" array index\",\r\n\t\t\t\t\t0, getObjectProperties().getIntProperty(targetArray + \".length\", 0));\r\n\t\t\ttoRange = fromRange;\r\n\t\t} else {\r\n\t\t\tif (ParseSupport.parseOptionalWord(stok, colorType\r\n\t\t\t\t\t+ \" cell/element range keyword 'from'\", \"from\")) {\r\n\t\t\t\tfromRange = ParseSupport.parseInt(stok, colorType + \" array index\", 0,\r\n\t\t\t\t\t\tgetObjectProperties().getIntProperty(targetArray + \".length\"));\r\n\t\t\t}\r\n\r\n\t\t\tif (ParseSupport.parseOptionalWord(stok, colorType\r\n\t\t\t\t\t+ \" cell/element range keyword 'to'\", \"to\")) {\r\n\t\t\t\ttoRange = ParseSupport.parseInt(stok, colorType + \" array index\",\r\n\t\t\t\t\t\tfromRange, getObjectProperties().getIntProperty(\r\n\t\t\t\t\t\t\t\ttargetArray + \".length\"));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// System.err.println(\"Range: \");\r\n\t\t// for (int ii=0;ii=0){\r\n\t\t\tColor c = null;\r\n\t\t\tfor(int i=fromRange ; i<=toRange ; i++){\r\n\t\t\t\tif (elemMode) {\r\n\t\t\t\t\ttheArray.setElemHighlighted(i, highlightMode);\r\n\t\t\t\t\tc = theArray.getElemColor(i);\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttheArray.setHighlighted(i, highlightMode);\r\n\t\t\t\t\tc = theArray.getCellFillColor(i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tString method = highlightMode ? \"highlight \" : \"unhighlight \";\r\n\t\t\tmethod += elemMode ? \"elements\" : \"cells\";\r\n//\t\t\tmethod = \"cellFillColor\";\r\n\t\t\tmethod += \" \"+fromRange+\" \"+toRange;\r\n\t\t\tColorChanger colChanger = new ColorChanger(currentStep, theArray.getNum(true), 0,\r\n\t\t\t\t\tmethod, c);\r\n\t\t\t// parse optional timing - is set within the method!\r\n\t\t\tAnimalParseSupport.parseTiming(stok, colChanger, \"Color\");\r\n\t\t\t// insert into list of animators\r\n\t\t\tBasicParser.addAnimatorToAnimation(colChanger, anim);\r\n\t\t}\r\n\r\n\t\tobjectMap.put(theArray.getNum(true), theArray);\r\n\t}","title":""},{"docid":"7089acfa2314e72301dafc2d2e9d9b3d","score":"0.46173772","text":"public final void ruleType() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1894:1: ( ( ( rule__Type__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1895:1: ( ( rule__Type__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1895:1: ( ( rule__Type__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1896:1: ( rule__Type__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1897:1: ( rule__Type__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1897:2: rule__Type__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__Type__Alternatives_in_ruleType3944);\r\n rule__Type__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"8d7a92c789990433abc6c4f9f486fcdd","score":"0.45957538","text":"public final void rule__MouseTrigger__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:420:1: ( ( ( rule__MouseTrigger__MouseAssignment_0 ) ) | ( ( rule__MouseTrigger__Group_1__0 ) ) )\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0==36) ) {\n alt4=1;\n }\n else if ( (LA4_0==26) ) {\n alt4=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 4, 0, input);\n\n throw nvae;\n }\n switch (alt4) {\n case 1 :\n // InternalChessGame.g:421:2: ( ( rule__MouseTrigger__MouseAssignment_0 ) )\n {\n // InternalChessGame.g:421:2: ( ( rule__MouseTrigger__MouseAssignment_0 ) )\n // InternalChessGame.g:422:3: ( rule__MouseTrigger__MouseAssignment_0 )\n {\n before(grammarAccess.getMouseTriggerAccess().getMouseAssignment_0()); \n // InternalChessGame.g:423:3: ( rule__MouseTrigger__MouseAssignment_0 )\n // InternalChessGame.g:423:4: rule__MouseTrigger__MouseAssignment_0\n {\n pushFollow(FOLLOW_2);\n rule__MouseTrigger__MouseAssignment_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMouseTriggerAccess().getMouseAssignment_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalChessGame.g:427:2: ( ( rule__MouseTrigger__Group_1__0 ) )\n {\n // InternalChessGame.g:427:2: ( ( rule__MouseTrigger__Group_1__0 ) )\n // InternalChessGame.g:428:3: ( rule__MouseTrigger__Group_1__0 )\n {\n before(grammarAccess.getMouseTriggerAccess().getGroup_1()); \n // InternalChessGame.g:429:3: ( rule__MouseTrigger__Group_1__0 )\n // InternalChessGame.g:429:4: rule__MouseTrigger__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__MouseTrigger__Group_1__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMouseTriggerAccess().getGroup_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"a237158d37745b51a749fb1315da6aa9","score":"0.45938593","text":"public final void ruleAlertLevel() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7216:1: ( ( ( rule__AlertLevel__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7217:1: ( ( rule__AlertLevel__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7217:1: ( ( rule__AlertLevel__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7218:1: ( rule__AlertLevel__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7219:1: ( rule__AlertLevel__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7219:2: rule__AlertLevel__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__AlertLevel__Alternatives_in_ruleAlertLevel15301);\n rule__AlertLevel__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"baa0653a8cacb4cfea2b834d1f99a3b6","score":"0.45852727","text":"public final void rule__PhaseType__ColorTypeAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPhases.g:726:1: ( ( ruleCOLORS_TYPE ) )\n // InternalPhases.g:727:2: ( ruleCOLORS_TYPE )\n {\n // InternalPhases.g:727:2: ( ruleCOLORS_TYPE )\n // InternalPhases.g:728:3: ruleCOLORS_TYPE\n {\n before(grammarAccess.getPhaseTypeAccess().getColorTypeCOLORS_TYPEParserRuleCall_2_0()); \n pushFollow(FOLLOW_2);\n ruleCOLORS_TYPE();\n\n state._fsp--;\n\n after(grammarAccess.getPhaseTypeAccess().getColorTypeCOLORS_TYPEParserRuleCall_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"ffa628adcdde1f77f7e8c170c88f6e3c","score":"0.45837432","text":"public void nextColor();","title":""},{"docid":"4c12c8cd34f4441232cbc67e5c15db8b","score":"0.4580642","text":"Color randomColor(ArrayList possColors) {\r\n return possColors.get(this.rand.nextInt(this.numColors));\r\n }","title":""},{"docid":"6bbac90c95b7a41cf75dbda5923191fe","score":"0.45791247","text":"public final void ruleRelationalOp() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalACLParser.g:521:5: ( ( ( rule__RelationalOp__Alternatives ) ) )\n // InternalACLParser.g:522:1: ( ( rule__RelationalOp__Alternatives ) )\n {\n // InternalACLParser.g:522:1: ( ( rule__RelationalOp__Alternatives ) )\n // InternalACLParser.g:523:1: ( rule__RelationalOp__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRelationalOpAccess().getAlternatives()); \n }\n // InternalACLParser.g:524:1: ( rule__RelationalOp__Alternatives )\n // InternalACLParser.g:524:2: rule__RelationalOp__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RelationalOp__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRelationalOpAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"ef6620ee45211f68ff6fbd8b698d2e1a","score":"0.456916","text":"public final void rule__TermExpression__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3954:1: ( ( ruleTuple ) | ( ruleListOrComprehension ) | ( ruleBinaryOrComprehension ) | ( ( rule__TermExpression__Group_3__0 ) ) | ( ruleLiteralExpression ) )\n int alt21=5;\n switch ( input.LA(1) ) {\n case 74:\n {\n alt21=1;\n }\n break;\n case 78:\n {\n alt21=2;\n }\n break;\n case 100:\n {\n alt21=3;\n }\n break;\n case 84:\n {\n alt21=4;\n }\n break;\n case RULE_ATOM:\n case RULE_VARIABLE:\n case RULE_INT:\n case RULE_BASED_INT:\n case RULE_STRING:\n case RULE_CHAR:\n case 19:\n case 20:\n case 21:\n case 22:\n case 23:\n case 24:\n case 53:\n case 54:\n case 55:\n case 56:\n case 57:\n case 58:\n case 59:\n case 60:\n case 61:\n case 62:\n case 63:\n case 64:\n case 65:\n case 66:\n case 67:\n case 68:\n {\n alt21=5;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 21, 0, input);\n\n throw nvae;\n }\n\n switch (alt21) {\n case 1 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3955:1: ( ruleTuple )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3955:1: ( ruleTuple )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3956:1: ruleTuple\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getTupleParserRuleCall_0()); \n }\n pushFollow(FOLLOW_ruleTuple_in_rule__TermExpression__Alternatives8541);\n ruleTuple();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getTupleParserRuleCall_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3961:6: ( ruleListOrComprehension )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3961:6: ( ruleListOrComprehension )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3962:1: ruleListOrComprehension\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getListOrComprehensionParserRuleCall_1()); \n }\n pushFollow(FOLLOW_ruleListOrComprehension_in_rule__TermExpression__Alternatives8558);\n ruleListOrComprehension();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getListOrComprehensionParserRuleCall_1()); \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3967:6: ( ruleBinaryOrComprehension )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3967:6: ( ruleBinaryOrComprehension )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3968:1: ruleBinaryOrComprehension\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getBinaryOrComprehensionParserRuleCall_2()); \n }\n pushFollow(FOLLOW_ruleBinaryOrComprehension_in_rule__TermExpression__Alternatives8575);\n ruleBinaryOrComprehension();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getBinaryOrComprehensionParserRuleCall_2()); \n }\n\n }\n\n\n }\n break;\n case 4 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3973:6: ( ( rule__TermExpression__Group_3__0 ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3973:6: ( ( rule__TermExpression__Group_3__0 ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3974:1: ( rule__TermExpression__Group_3__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getGroup_3()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3975:1: ( rule__TermExpression__Group_3__0 )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3975:2: rule__TermExpression__Group_3__0\n {\n pushFollow(FOLLOW_rule__TermExpression__Group_3__0_in_rule__TermExpression__Alternatives8592);\n rule__TermExpression__Group_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getGroup_3()); \n }\n\n }\n\n\n }\n break;\n case 5 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3979:6: ( ruleLiteralExpression )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3979:6: ( ruleLiteralExpression )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3980:1: ruleLiteralExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getLiteralExpressionParserRuleCall_4()); \n }\n pushFollow(FOLLOW_ruleLiteralExpression_in_rule__TermExpression__Alternatives8610);\n ruleLiteralExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getLiteralExpressionParserRuleCall_4()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"576aa31ab19923449c0141edb15904e0","score":"0.45465514","text":"public final void rule__CellColor__ColorAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39900:1: ( ( ruleRGB ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39901:1: ( ruleRGB )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39901:1: ( ruleRGB )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39902:1: ruleRGB\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getCellColorAccess().getColorRGBParserRuleCall_2_0()); \n }\n pushFollow(FollowSets003.FOLLOW_ruleRGB_in_rule__CellColor__ColorAssignment_284708);\n ruleRGB();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getCellColorAccess().getColorRGBParserRuleCall_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"c90e0e7359e501234fccd87d1fc93251","score":"0.45422927","text":"public final void rule__XSwitchExpression__Alternatives_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2740:1: ( ( ( rule__XSwitchExpression__Group_2_0__0 ) ) | ( ( rule__XSwitchExpression__Group_2_1__0 ) ) )\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( ((LA22_0>=RULE_ID && LA22_0<=RULE_STRING)||LA22_0==22||(LA22_0>=29 && LA22_0<=30)||LA22_0==35||(LA22_0>=38 && LA22_0<=39)||LA22_0==42||LA22_0==51||LA22_0==53||LA22_0==55||(LA22_0>=59 && LA22_0<=61)||(LA22_0>=63 && LA22_0<=68)||LA22_0==78) ) {\n alt22=1;\n }\n else if ( (LA22_0==45) ) {\n int LA22_2 = input.LA(2);\n\n if ( (LA22_2==RULE_ID) ) {\n int LA22_3 = input.LA(3);\n\n if ( (LA22_3==56) ) {\n alt22=2;\n }\n else if ( ((LA22_3>=13 && LA22_3<=34)||LA22_3==36||(LA22_3>=44 && LA22_3<=45)||(LA22_3>=48 && LA22_3<=49)||LA22_3==51||LA22_3==62||(LA22_3>=74 && LA22_3<=75)) ) {\n alt22=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 3, input);\n\n throw nvae;\n }\n }\n else if ( ((LA22_2>=RULE_HEX && LA22_2<=RULE_STRING)||LA22_2==22||(LA22_2>=29 && LA22_2<=30)||LA22_2==35||(LA22_2>=38 && LA22_2<=39)||LA22_2==42||LA22_2==45||LA22_2==51||LA22_2==53||LA22_2==55||(LA22_2>=59 && LA22_2<=61)||(LA22_2>=63 && LA22_2<=68)||LA22_2==78) ) {\n alt22=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 2, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 0, input);\n\n throw nvae;\n }\n switch (alt22) {\n case 1 :\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2741:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2741:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2742:1: ( rule__XSwitchExpression__Group_2_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \n }\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2743:1: ( rule__XSwitchExpression__Group_2_0__0 )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2743:2: rule__XSwitchExpression__Group_2_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0_in_rule__XSwitchExpression__Alternatives_25931);\n rule__XSwitchExpression__Group_2_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2747:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2747:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2748:1: ( rule__XSwitchExpression__Group_2_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \n }\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2749:1: ( rule__XSwitchExpression__Group_2_1__0 )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2749:2: rule__XSwitchExpression__Group_2_1__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0_in_rule__XSwitchExpression__Alternatives_25949);\n rule__XSwitchExpression__Group_2_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"36c932fcc0ff92029cdf1e3a2ee5d344","score":"0.45186722","text":"private void blueButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_blueButtonActionPerformed\n round++;\n if( \"BLUE\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }","title":""},{"docid":"144f9d04a148db834494a4e49227d3ec","score":"0.45175162","text":"public final void ruleType() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3258:2: ( ( ( rule__Type__Alternatives ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3259:1: ( ( rule__Type__Alternatives ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3259:1: ( ( rule__Type__Alternatives ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3260:1: ( rule__Type__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeAccess().getAlternatives()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3261:1: ( rule__Type__Alternatives )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3261:2: rule__Type__Alternatives\n {\n pushFollow(FOLLOW_rule__Type__Alternatives_in_ruleType6902);\n rule__Type__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"e875d809877368a6d7368cac277574a7","score":"0.45140576","text":"public final void ruleOperator() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:297:2: ( ( ( rule__Operator__Alternatives ) ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:298:1: ( ( rule__Operator__Alternatives ) )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:298:1: ( ( rule__Operator__Alternatives ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:299:1: ( rule__Operator__Alternatives )\n {\n before(grammarAccess.getOperatorAccess().getAlternatives()); \n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:300:1: ( rule__Operator__Alternatives )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:300:2: rule__Operator__Alternatives\n {\n pushFollow(FOLLOW_rule__Operator__Alternatives_in_ruleOperator575);\n rule__Operator__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOperatorAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"9b35faddcd5b2f6e6cdd4e52839a1e62","score":"0.45076346","text":"public final void rule__COLORS_TYPE__NameAssignment_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPhases.g:775:1: ( ( ( 'COLORS' ) ) )\n // InternalPhases.g:776:2: ( ( 'COLORS' ) )\n {\n // InternalPhases.g:776:2: ( ( 'COLORS' ) )\n // InternalPhases.g:777:3: ( 'COLORS' )\n {\n before(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n // InternalPhases.g:778:3: ( 'COLORS' )\n // InternalPhases.g:779:4: 'COLORS'\n {\n before(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n match(input,17,FOLLOW_2); \n after(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n\n }\n\n after(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"ae0011d41954b7082ac9b74a68f7e500","score":"0.45074177","text":"public final void rule__MobaRegexpConstraint__Alternatives_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMoba.g:3110:1: ( ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) ) | ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) ) )\n int alt40=2;\n int LA40_0 = input.LA(1);\n\n if ( (LA40_0==RULE_STRING) ) {\n alt40=1;\n }\n else if ( (LA40_0==RULE_CONSTANT) ) {\n alt40=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 40, 0, input);\n\n throw nvae;\n }\n switch (alt40) {\n case 1 :\n // InternalMoba.g:3111:2: ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) )\n {\n // InternalMoba.g:3111:2: ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) )\n // InternalMoba.g:3112:3: ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMobaRegexpConstraintAccess().getFilterStringAssignment_2_0()); \n }\n // InternalMoba.g:3113:3: ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 )\n // InternalMoba.g:3113:4: rule__MobaRegexpConstraint__FilterStringAssignment_2_0\n {\n pushFollow(FOLLOW_2);\n rule__MobaRegexpConstraint__FilterStringAssignment_2_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMobaRegexpConstraintAccess().getFilterStringAssignment_2_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // InternalMoba.g:3117:2: ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) )\n {\n // InternalMoba.g:3117:2: ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) )\n // InternalMoba.g:3118:3: ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMobaRegexpConstraintAccess().getFilterConstAssignment_2_1()); \n }\n // InternalMoba.g:3119:3: ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 )\n // InternalMoba.g:3119:4: rule__MobaRegexpConstraint__FilterConstAssignment_2_1\n {\n pushFollow(FOLLOW_2);\n rule__MobaRegexpConstraint__FilterConstAssignment_2_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMobaRegexpConstraintAccess().getFilterConstAssignment_2_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"fc4c9bd11cb71575fb29984031b68872","score":"0.45000005","text":"public final void ruleDecl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:91:2: ( ( ( rule__Decl__Alternatives ) ) )\n // InternalGame.g:92:2: ( ( rule__Decl__Alternatives ) )\n {\n // InternalGame.g:92:2: ( ( rule__Decl__Alternatives ) )\n // InternalGame.g:93:3: ( rule__Decl__Alternatives )\n {\n before(grammarAccess.getDeclAccess().getAlternatives()); \n // InternalGame.g:94:3: ( rule__Decl__Alternatives )\n // InternalGame.g:94:4: rule__Decl__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__Decl__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getDeclAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"57acdcb6885f9a6b588cd134023b17e4","score":"0.44906697","text":"public void makeGuessEyeColor(String guess) {\n ArrayList temp = new ArrayList<>();\r\n switch (guess) {\r\n case \"black\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has black eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have black eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"green\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has green eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"green\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have green eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"green\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"blue\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has blue eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"blue\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have blue eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"blue\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"brown\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has brown eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have brown eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n default:\r\n break; \r\n }\r\n }","title":""},{"docid":"fe0f12e89f9733bf57f43027447c4611","score":"0.448452","text":"public static void main(String[] args) {\n\t\tString a = JOptionPane.showInputDialog(\"Do you know what my least favorite color is?\");\n\t\t// 2. If they say \"yes\", tell them they will rule the world.\n\t\nif(a.equalsIgnoreCase(\"Orange\")) {\n\t\n\tJOptionPane.showMessageDialog(null, \"ORANGE IS THE WORST COLOR OF ALL TIME (in my opinion)\");\n}\n\t\t// 3. Otherwise, wish them good luck washing dishes.\nelse { \n\tJOptionPane.showMessageDialog(null,\"ay I like dat color\");\n\n\n\n}\n}","title":""},{"docid":"dc609b22e27588dfb42b925203957d15","score":"0.44776347","text":"public ASSColor(String color){\r\n\t\tPattern pattern = Pattern.compile(\"^&h[0-9a-f]{8}$\",Pattern.CASE_INSENSITIVE);\r\n\t\tMatcher matcher = pattern.matcher(color);\r\n\t\tboolean match = matcher.matches();\r\n\t\tif (match) {\r\n\t\t\ta = Integer.parseInt(color.substring(2, 3),16);\r\n\t\t\tb = Integer.parseInt(color.substring(4, 5),16);\r\n\t\t\tg = Integer.parseInt(color.substring(6, 7),16);\r\n\t\t\tr = Integer.parseInt(color.substring(8, 9),16);\r\n\t\t\t// swap red and blue component\r\n\t\t\tint nb = r;\r\n\t\t\tint nr = b;\r\n\t\t\tb = nb;\r\n\t\t\tr = nr;\r\n\t\t\t// invert alpha value\r\n\t\t\ta = 255 - a;\r\n\t\t\tif(a!=255) {\r\n\t\t\t\thasAlpha = true; \r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\t// excepiton\r\n\t\t\tthrow new IllegalArgumentException(\"the format of color notation is wrong!\");\r\n\t\t}\r\n\t\t\r\n\t}","title":""},{"docid":"accb5903d29215f2806be0755f320335","score":"0.447592","text":"private void redButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_redButtonActionPerformed\n round++;\n if( \"RED\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }","title":""},{"docid":"5b447f9afebe76a5b6b9c3cfc245a1f9","score":"0.4461677","text":"@Test\n\tpublic void testMoveColorRecognition() {\n\t\tgame2.setCurrentColor(Arrays.asList(\"move S all 14\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"all\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move B green 21\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"green\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move 4 purple 12\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"purple\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move 2 yellow 6\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"yellow\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move 4 grey 3\".split(\"[\\\\s']\")));\n\t\t//Should not be set, as grey is invalid. Thus, old setting should remain.\n\t\tassertTrue(game2.currentColor.equals(\"yellow\"));\n\t}","title":""},{"docid":"435281ef9e35a19f0cbbee345a0ef0d1","score":"0.44471064","text":"public final void rule__AddExpr__OpAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:5231:1: ( ( ( rule__AddExpr__OpAlternatives_1_1_0 ) ) )\n // InternalGame.g:5232:2: ( ( rule__AddExpr__OpAlternatives_1_1_0 ) )\n {\n // InternalGame.g:5232:2: ( ( rule__AddExpr__OpAlternatives_1_1_0 ) )\n // InternalGame.g:5233:3: ( rule__AddExpr__OpAlternatives_1_1_0 )\n {\n before(grammarAccess.getAddExprAccess().getOpAlternatives_1_1_0()); \n // InternalGame.g:5234:3: ( rule__AddExpr__OpAlternatives_1_1_0 )\n // InternalGame.g:5234:4: rule__AddExpr__OpAlternatives_1_1_0\n {\n pushFollow(FOLLOW_2);\n rule__AddExpr__OpAlternatives_1_1_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAddExprAccess().getOpAlternatives_1_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"d96f732084fdc92af34c5cd03150aebe","score":"0.44458318","text":"private void greenButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_greenButtonActionPerformed\n round++;\n if( \"GREEN\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }","title":""},{"docid":"e4571150b9b60a70abc5bbf6d4e1b7cd","score":"0.44456154","text":"public final void entryRuleRGB() throws RecognitionException {\n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4380:1: ( ruleRGB EOF )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4381:1: ruleRGB EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRGBRule()); \n }\n pushFollow(FollowSets000.FOLLOW_ruleRGB_in_entryRuleRGB9310);\n ruleRGB();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRGBRule()); \n }\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRGB9317); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"39a0ad320ceb28df5e58bc99c380e946","score":"0.443857","text":"public final void ruleRGB() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4392:2: ( ( ( rule__RGB__ValueAssignment ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4393:1: ( ( rule__RGB__ValueAssignment ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4393:1: ( ( rule__RGB__ValueAssignment ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4394:1: ( rule__RGB__ValueAssignment )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRGBAccess().getValueAssignment()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4395:1: ( rule__RGB__ValueAssignment )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4395:2: rule__RGB__ValueAssignment\n {\n pushFollow(FollowSets000.FOLLOW_rule__RGB__ValueAssignment_in_ruleRGB9343);\n rule__RGB__ValueAssignment();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRGBAccess().getValueAssignment()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"b276c44f17ae1ee23a0d189d0d71de65","score":"0.44230494","text":"SELF choose(Function, ChooseSyntax.End> choose);","title":""},{"docid":"0dc0678198714df9f2a2c29ee1b19d3c","score":"0.44191784","text":"private void yellowButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_yellowButtonActionPerformed\n round++;\n if( \"YELLOW\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }","title":""},{"docid":"f5598672e763c998bce1f4d15531d0b0","score":"0.44188204","text":"public String checkColor(String inputColor){\r\n\t\tfor(int c = 0; c < Constant.COLOR.length; c++){\r\n\t\t\tif(inputColor.compareToIgnoreCase(Constant.COLOR[c]) == 0){\r\n\t\t\t\treturn Constant.COLOR[c];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn \"colorless\";\r\n\t}","title":""},{"docid":"1b82fbde9050e6337b05ab546a3f8a0f","score":"0.4412141","text":"public int randomColor(){\n return color(random(50,255),random(50,255),random(50,255));\n}","title":""},{"docid":"78d95b8dd6072ac9130cd9e9250d50eb","score":"0.4403602","text":"public ASSColor(int r,int g,int b,int a){\r\n\t\tthis.r = r;\r\n\t\tthis.g = g;\r\n\t\tthis.b = b;\r\n\t\tthis.a = a;\r\n\t\thasAlpha = true;\r\n\t}","title":""},{"docid":"86a17773bf18d2fe727dae381fe7213f","score":"0.44004455","text":"void editColors(int deltaRed, int deltaGreen, int deltaBlue);","title":""},{"docid":"371a163304f27d30d4996454f47bc1a0","score":"0.43910936","text":"public final void ruleBlock() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:466:2: ( ( ( rule__Block__Alternatives ) ) )\n // InternalGame.g:467:2: ( ( rule__Block__Alternatives ) )\n {\n // InternalGame.g:467:2: ( ( rule__Block__Alternatives ) )\n // InternalGame.g:468:3: ( rule__Block__Alternatives )\n {\n before(grammarAccess.getBlockAccess().getAlternatives()); \n // InternalGame.g:469:3: ( rule__Block__Alternatives )\n // InternalGame.g:469:4: rule__Block__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__Block__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getBlockAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"0e2b4e6264d9386dee9b5c65e1653324","score":"0.43898293","text":"boolean getGamerule(String rule);","title":""},{"docid":"7bf6daf34cfd3c55c5427b124307e8fe","score":"0.43817246","text":"public final void ruleDirection() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1792:1: ( ( ( rule__Direction__Alternatives ) ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1793:1: ( ( rule__Direction__Alternatives ) )\n {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1793:1: ( ( rule__Direction__Alternatives ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1794:1: ( rule__Direction__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getDirectionAccess().getAlternatives()); \n }\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1795:1: ( rule__Direction__Alternatives )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1795:2: rule__Direction__Alternatives\n {\n pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection3752);\n rule__Direction__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getDirectionAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"b0e4d72daaab0cf0e29c571c624e0cf8","score":"0.4381311","text":"public final void ruleStatement() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1115:2: ( ( ( rule__Statement__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1116:1: ( ( rule__Statement__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1116:1: ( ( rule__Statement__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1117:1: ( rule__Statement__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getStatementAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1118:1: ( rule__Statement__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1118:2: rule__Statement__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__Statement__Alternatives_in_ruleStatement2324);\r\n rule__Statement__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getStatementAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"2c1e27366867d54e0db7356ca7cfd476","score":"0.437298","text":"private int[] findThreePairPattern(Player player, Game game, int[] colors,Color[] c, int[] exchnageOptions) {\n\t\t if(colors[0] == 2 && colors[1] == 2 && colors[2] == 1 && colors[3] == 1 && player.getNumberOfFavorTokens() >= 2){\n\t\t\t if(checkSupply(c[2],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[3],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[3],c[2],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else if(colors[0] == 3 && colors[1] == 1 && colors[2] == 1 && player.getNumberOfFavorTokens() >= 2){\n\t\t\t if(checkSupply(c[0],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[1],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[1],c[0],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else if(colors[0] == 3 && colors[1] == 2 && player.getNumberOfFavorTokens() >= 2){\n\t\t\t if(checkSupply(c[0],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[1],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[1],c[0],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else if(colors[0] == 2 && colors[1] == 1 && colors[2] == 1 && colors[3] == 1 && colors[4] == 1 && player.getNumberOfFavorTokens() >= 4){\n\t\t\t if(checkSupply(c[1],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[4],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[4],c[1],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else{\n\t\t\t exchnageOptions[0] = 9;\n\t\t\t exchnageOptions[1] = 9;\n\t\t }\n\t\t return exchnageOptions;\n\t}","title":""},{"docid":"4a143410d107b79f56f67f05d0b1f8d7","score":"0.43728152","text":"public final void rule__Rule__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:808:1: ( ( ( rule__Rule__Alternatives_0 ) ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:809:1: ( ( rule__Rule__Alternatives_0 ) )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:809:1: ( ( rule__Rule__Alternatives_0 ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:810:1: ( rule__Rule__Alternatives_0 )\n {\n before(grammarAccess.getRuleAccess().getAlternatives_0()); \n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:811:1: ( rule__Rule__Alternatives_0 )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:811:2: rule__Rule__Alternatives_0\n {\n pushFollow(FOLLOW_rule__Rule__Alternatives_0_in_rule__Rule__Group__0__Impl1660);\n rule__Rule__Alternatives_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRuleAccess().getAlternatives_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"d824f00ab6daaf8a101c0aba34d85c20","score":"0.4371026","text":"public final void rule__Tuple__Alternatives_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4247:1: ( ( () ) | ( ( rule__Tuple__Group_1_1__0 ) ) )\n int alt33=2;\n int LA33_0 = input.LA(1);\n\n if ( (LA33_0==75) ) {\n alt33=1;\n }\n else if ( ((LA33_0>=RULE_ATOM && LA33_0<=RULE_BASED_INT)||(LA33_0>=RULE_STRING && LA33_0<=RULE_CHAR)||(LA33_0>=19 && LA33_0<=24)||(LA33_0>=27 && LA33_0<=28)||(LA33_0>=41 && LA33_0<=42)||(LA33_0>=53 && LA33_0<=68)||LA33_0==71||LA33_0==74||LA33_0==78||(LA33_0>=83 && LA33_0<=84)||LA33_0==86||(LA33_0>=88 && LA33_0<=92)||LA33_0==94||(LA33_0>=96 && LA33_0<=97)||LA33_0==100) ) {\n alt33=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 33, 0, input);\n\n throw nvae;\n }\n switch (alt33) {\n case 1 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4248:1: ( () )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4248:1: ( () )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4249:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTupleAccess().getErlTupleAction_1_0()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4250:1: ()\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4252:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTupleAccess().getErlTupleAction_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4256:6: ( ( rule__Tuple__Group_1_1__0 ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4256:6: ( ( rule__Tuple__Group_1_1__0 ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4257:1: ( rule__Tuple__Group_1_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTupleAccess().getGroup_1_1()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4258:1: ( rule__Tuple__Group_1_1__0 )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4258:2: rule__Tuple__Group_1_1__0\n {\n pushFollow(FOLLOW_rule__Tuple__Group_1_1__0_in_rule__Tuple__Alternatives_19253);\n rule__Tuple__Group_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTupleAccess().getGroup_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"101c0641469048a3e0640ab7f0130fb2","score":"0.43688762","text":"public final void ruleWebDriverActionCondition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:141:2: ( ( ( rule__WebDriverActionCondition__Alternatives ) ) )\n // InternalBromium.g:142:2: ( ( rule__WebDriverActionCondition__Alternatives ) )\n {\n // InternalBromium.g:142:2: ( ( rule__WebDriverActionCondition__Alternatives ) )\n // InternalBromium.g:143:3: ( rule__WebDriverActionCondition__Alternatives )\n {\n before(grammarAccess.getWebDriverActionConditionAccess().getAlternatives()); \n // InternalBromium.g:144:3: ( rule__WebDriverActionCondition__Alternatives )\n // InternalBromium.g:144:4: rule__WebDriverActionCondition__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__WebDriverActionCondition__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getWebDriverActionConditionAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"2acd5ea885c706b385a4a709a7fb4e85","score":"0.43435156","text":"public final void ruleExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:946:2: ( ( ( rule__Expression__Alternatives ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:947:1: ( ( rule__Expression__Alternatives ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:947:1: ( ( rule__Expression__Alternatives ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:948:1: ( rule__Expression__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExpressionAccess().getAlternatives()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:949:1: ( rule__Expression__Alternatives )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:949:2: rule__Expression__Alternatives\n {\n pushFollow(FOLLOW_rule__Expression__Alternatives_in_ruleExpression1965);\n rule__Expression__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExpressionAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"bacf2a614522cb4ddb0fd9662cc05795","score":"0.43421268","text":"public final void ruleSelectArgument() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7178:1: ( ( ( rule__SelectArgument__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7179:1: ( ( rule__SelectArgument__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7179:1: ( ( rule__SelectArgument__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7180:1: ( rule__SelectArgument__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSelectArgumentAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7181:1: ( rule__SelectArgument__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7181:2: rule__SelectArgument__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__SelectArgument__Alternatives_in_ruleSelectArgument15229);\n rule__SelectArgument__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSelectArgumentAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"14fd7b9605173379554373c8ef550186","score":"0.43307382","text":"void announceGameWinner(Color color);","title":""},{"docid":"92f914e4beb96069c4a9eb8d1661659c","score":"0.4325934","text":"public final void ruleWebDriverAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:166:2: ( ( ( rule__WebDriverAction__Alternatives ) ) )\n // InternalBromium.g:167:2: ( ( rule__WebDriverAction__Alternatives ) )\n {\n // InternalBromium.g:167:2: ( ( rule__WebDriverAction__Alternatives ) )\n // InternalBromium.g:168:3: ( rule__WebDriverAction__Alternatives )\n {\n before(grammarAccess.getWebDriverActionAccess().getAlternatives()); \n // InternalBromium.g:169:3: ( rule__WebDriverAction__Alternatives )\n // InternalBromium.g:169:4: rule__WebDriverAction__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__WebDriverAction__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getWebDriverActionAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"67d8d01ba2b6115bf075030a0c5ed301","score":"0.432564","text":"public final void ruleOpCompare() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3160:2: ( ( ( rule__OpCompare__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3161:1: ( ( rule__OpCompare__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3161:1: ( ( rule__OpCompare__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3162:1: ( rule__OpCompare__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOpCompareAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3163:1: ( rule__OpCompare__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3163:2: rule__OpCompare__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__OpCompare__Alternatives_in_ruleOpCompare6704);\n rule__OpCompare__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOpCompareAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"b671dce75c109ebff649ccd2f1ecc45f","score":"0.43222225","text":"public void gameChoices () {\r\n \tsetFont(new Font(\"Times New Roman\", Font.BOLD, 24));\r\n \tsetForegroundColor(Color.red);\r\n \tdrawString(\" Choices Menu \", width/2 - 40, height/2 - 40);\r\n \t\r\n \tsetForegroundColor(Color.white);\r\n \tsetFont(new Font(\"Times New Roman\", Font.PLAIN, 20));\r\n \tdrawString(\" ( 1 ) - Artificial Intelligence \", width/2 - 100, height/2);\r\n \tdrawString(\" ( 2 ) - Human Player \", width/2 - 100, height/2 + 20);\r\n \tdrawString(\" ( 3 ) - Human Player vs. AI\", width/2 - 100, height/2 + 40);\r\n \tdrawString(\" ( 0 ) - QUIT \", width/2 - 100, height/2 + 60);\r\n \t\r\n \tsetForegroundColor(Color.red);\r\n }","title":""},{"docid":"684732dd104bf20fa557fa1ecffa5a96","score":"0.4318425","text":"String getplayercolor();","title":""},{"docid":"72abe2a4bd62baa5451e41544beb05f3","score":"0.43106127","text":"@Test\n public void noSuggestion2() throws Exception {\n // available default suggestion\n baseTest( MIN_MARGINS[2],\n MEDIA_SIZES, MEDIA_SIZES[2], null,\n // There are only two color modes, hence pick [1]\n COLOR_MODES, COLOR_MODES[1], 0,\n DUPLEX_MODES, DUPLEX_MODES[2], 0,\n RESOLUTIONS, RESOLUTIONS[2], null);\n }","title":""},{"docid":"dfc6289c5215e7235ba1dc537ef2c3d1","score":"0.43076968","text":"public final void rule__FontColor__ColorAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40640:1: ( ( RULE_STRING ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40641:1: ( RULE_STRING )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40641:1: ( RULE_STRING )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40642:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getFontColorAccess().getColorSTRINGTerminalRuleCall_1_0()); \n }\n match(input,RULE_STRING,FollowSets003.FOLLOW_RULE_STRING_in_rule__FontColor__ColorAssignment_186205); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getFontColorAccess().getColorSTRINGTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"aaccc56d33c8cf00a77bb153b04657f9","score":"0.43044564","text":"@Test\n public void aLiteralDescriptionOfAColorCanBeParsedCorrectly() throws SVGException {\n\n cut.setText(\"RED\");\n\n final Paint paint = cut.getValue();\n\n assertThat(paint, instanceOf(Color.class));\n assertEquals(Color.RED, paint);\n }","title":""},{"docid":"1b10433db9059490e704aa9c17ca886f","score":"0.4303856","text":"public final void ruleDirection() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1723:1: ( ( ( rule__Direction__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1724:1: ( ( rule__Direction__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1724:1: ( ( rule__Direction__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1725:1: ( rule__Direction__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getDirectionAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1726:1: ( rule__Direction__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1726:2: rule__Direction__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection3620);\r\n rule__Direction__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getDirectionAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"01284e1ed3ba089f389c537a44e55391","score":"0.42998114","text":"public final void rule__PhaseType__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPhases.g:231:1: ( ( ( rule__PhaseType__StreetTypeAssignment_0 ) ) | ( ( rule__PhaseType__NumbersTypeAssignment_1 ) ) | ( ( rule__PhaseType__ColorTypeAssignment_2 ) ) )\n int alt2=3;\n switch ( input.LA(1) ) {\n case 18:\n {\n alt2=1;\n }\n break;\n case 16:\n {\n alt2=2;\n }\n break;\n case 17:\n {\n alt2=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n\n switch (alt2) {\n case 1 :\n // InternalPhases.g:232:2: ( ( rule__PhaseType__StreetTypeAssignment_0 ) )\n {\n // InternalPhases.g:232:2: ( ( rule__PhaseType__StreetTypeAssignment_0 ) )\n // InternalPhases.g:233:3: ( rule__PhaseType__StreetTypeAssignment_0 )\n {\n before(grammarAccess.getPhaseTypeAccess().getStreetTypeAssignment_0()); \n // InternalPhases.g:234:3: ( rule__PhaseType__StreetTypeAssignment_0 )\n // InternalPhases.g:234:4: rule__PhaseType__StreetTypeAssignment_0\n {\n pushFollow(FOLLOW_2);\n rule__PhaseType__StreetTypeAssignment_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPhaseTypeAccess().getStreetTypeAssignment_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalPhases.g:238:2: ( ( rule__PhaseType__NumbersTypeAssignment_1 ) )\n {\n // InternalPhases.g:238:2: ( ( rule__PhaseType__NumbersTypeAssignment_1 ) )\n // InternalPhases.g:239:3: ( rule__PhaseType__NumbersTypeAssignment_1 )\n {\n before(grammarAccess.getPhaseTypeAccess().getNumbersTypeAssignment_1()); \n // InternalPhases.g:240:3: ( rule__PhaseType__NumbersTypeAssignment_1 )\n // InternalPhases.g:240:4: rule__PhaseType__NumbersTypeAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__PhaseType__NumbersTypeAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPhaseTypeAccess().getNumbersTypeAssignment_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalPhases.g:244:2: ( ( rule__PhaseType__ColorTypeAssignment_2 ) )\n {\n // InternalPhases.g:244:2: ( ( rule__PhaseType__ColorTypeAssignment_2 ) )\n // InternalPhases.g:245:3: ( rule__PhaseType__ColorTypeAssignment_2 )\n {\n before(grammarAccess.getPhaseTypeAccess().getColorTypeAssignment_2()); \n // InternalPhases.g:246:3: ( rule__PhaseType__ColorTypeAssignment_2 )\n // InternalPhases.g:246:4: rule__PhaseType__ColorTypeAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__PhaseType__ColorTypeAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPhaseTypeAccess().getColorTypeAssignment_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"bedae08ff3fb80629ccd6f562bff3bc2","score":"0.42974672","text":"public void wishColor(Card.colors colorWish) {\n lastCardColor = colorWish;\n lastCardValue = Card.values.CHOOSE_COLOR;\n }","title":""},{"docid":"50763cba13eaea704cb8a2c28db0c914","score":"0.42930248","text":"private String ChooseColor (String[] userData ,double rssi)\r\n\t{\r\n\t\tif(rssi < -90)\r\n\t\t{\r\n\t\t\treturn \"#green\";\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn \"#red\";\r\n\t\t}\r\n\t}","title":""},{"docid":"2e215bd0583d9873c7f75f4adb9bffe7","score":"0.42914292","text":"public final void ruleElement() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:101:2: ( ( ( rule__Element__Alternatives ) ) )\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:102:1: ( ( rule__Element__Alternatives ) )\n {\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:102:1: ( ( rule__Element__Alternatives ) )\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:103:1: ( rule__Element__Alternatives )\n {\n before(grammarAccess.getElementAccess().getAlternatives()); \n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:104:1: ( rule__Element__Alternatives )\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:104:2: rule__Element__Alternatives\n {\n pushFollow(FOLLOW_rule__Element__Alternatives_in_ruleElement154);\n rule__Element__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getElementAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"aa656caf04e4250bd981b403db476e34","score":"0.4291403","text":"public final void rule__RelExpr__OpAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:5201:1: ( ( ( rule__RelExpr__OpAlternatives_1_1_0 ) ) )\n // InternalGame.g:5202:2: ( ( rule__RelExpr__OpAlternatives_1_1_0 ) )\n {\n // InternalGame.g:5202:2: ( ( rule__RelExpr__OpAlternatives_1_1_0 ) )\n // InternalGame.g:5203:3: ( rule__RelExpr__OpAlternatives_1_1_0 )\n {\n before(grammarAccess.getRelExprAccess().getOpAlternatives_1_1_0()); \n // InternalGame.g:5204:3: ( rule__RelExpr__OpAlternatives_1_1_0 )\n // InternalGame.g:5204:4: rule__RelExpr__OpAlternatives_1_1_0\n {\n pushFollow(FOLLOW_2);\n rule__RelExpr__OpAlternatives_1_1_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRelExprAccess().getOpAlternatives_1_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"e07023d8d5e8c14e7c6e8a8dfd6b4c28","score":"0.42898706","text":"public final void rule__ReactionEffect__ActionsAssignment_2_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10165:1: ( ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10166:1: ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) )\n {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10166:1: ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10167:1: ( rule__ReactionEffect__ActionsAlternatives_2_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getReactionEffectAccess().getActionsAlternatives_2_1_0()); \n }\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10168:1: ( rule__ReactionEffect__ActionsAlternatives_2_1_0 )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10168:2: rule__ReactionEffect__ActionsAlternatives_2_1_0\n {\n pushFollow(FOLLOW_rule__ReactionEffect__ActionsAlternatives_2_1_0_in_rule__ReactionEffect__ActionsAssignment_2_120673);\n rule__ReactionEffect__ActionsAlternatives_2_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getReactionEffectAccess().getActionsAlternatives_2_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"05eb7b0028e7a309a222363d3083c6bd","score":"0.4285557","text":"public final void rule__WebDriverAction__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:502:1: ( ( ruleClickCssSelector ) | ( ruleClickClassByText ) | ( rulePageLoad ) | ( ruleTypeTextInElementFoundByCssSelector ) )\n int alt2=4;\n switch ( input.LA(1) ) {\n case 32:\n {\n int LA2_1 = input.LA(2);\n\n if ( (LA2_1==33) ) {\n int LA2_4 = input.LA(3);\n\n if ( (LA2_4==27) ) {\n int LA2_5 = input.LA(4);\n\n if ( (LA2_5==28) ) {\n int LA2_6 = input.LA(5);\n\n if ( (LA2_6==43) ) {\n alt2=2;\n }\n else if ( (LA2_6==29) ) {\n alt2=1;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 6, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 5, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 4, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 1, input);\n\n throw nvae;\n }\n }\n break;\n case 34:\n {\n alt2=3;\n }\n break;\n case 35:\n {\n alt2=4;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n\n switch (alt2) {\n case 1 :\n // InternalBromium.g:503:2: ( ruleClickCssSelector )\n {\n // InternalBromium.g:503:2: ( ruleClickCssSelector )\n // InternalBromium.g:504:3: ruleClickCssSelector\n {\n before(grammarAccess.getWebDriverActionAccess().getClickCssSelectorParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleClickCssSelector();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getClickCssSelectorParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalBromium.g:509:2: ( ruleClickClassByText )\n {\n // InternalBromium.g:509:2: ( ruleClickClassByText )\n // InternalBromium.g:510:3: ruleClickClassByText\n {\n before(grammarAccess.getWebDriverActionAccess().getClickClassByTextParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleClickClassByText();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getClickClassByTextParserRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalBromium.g:515:2: ( rulePageLoad )\n {\n // InternalBromium.g:515:2: ( rulePageLoad )\n // InternalBromium.g:516:3: rulePageLoad\n {\n before(grammarAccess.getWebDriverActionAccess().getPageLoadParserRuleCall_2()); \n pushFollow(FOLLOW_2);\n rulePageLoad();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getPageLoadParserRuleCall_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // InternalBromium.g:521:2: ( ruleTypeTextInElementFoundByCssSelector )\n {\n // InternalBromium.g:521:2: ( ruleTypeTextInElementFoundByCssSelector )\n // InternalBromium.g:522:3: ruleTypeTextInElementFoundByCssSelector\n {\n before(grammarAccess.getWebDriverActionAccess().getTypeTextInElementFoundByCssSelectorParserRuleCall_3()); \n pushFollow(FOLLOW_2);\n ruleTypeTextInElementFoundByCssSelector();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getTypeTextInElementFoundByCssSelectorParserRuleCall_3()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"74b2eff3cef2d527d923ac1ac276fdc2","score":"0.42823324","text":"java.lang.String getColor();","title":""},{"docid":"74b2eff3cef2d527d923ac1ac276fdc2","score":"0.42823324","text":"java.lang.String getColor();","title":""},{"docid":"312e19e91522f882d7cff541edb67d87","score":"0.42815986","text":"@Override\n\tpublic void visit(ChoicePEG n) {\n\t\t\n\t}","title":""},{"docid":"7f091bf9942633ef204072cfdce9c43a","score":"0.42762157","text":"private Color chooseColor() {\n if (listMessageReceive.size() > 10) {\n return Color.red;\n }\n if (listMessageReceive.size() > 2) {\n return Color.orange;\n }\n if (listMessageReceive.size() > 0) {\n return Color.green;\n }\n\n return null;\n }","title":""},{"docid":"606c03cbb7a15db2a8bb03ef78cec81c","score":"0.4273987","text":"public final void ruleTimeEventType() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1811:1: ( ( ( rule__TimeEventType__Alternatives ) ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1812:1: ( ( rule__TimeEventType__Alternatives ) )\n {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1812:1: ( ( rule__TimeEventType__Alternatives ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1813:1: ( rule__TimeEventType__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \n }\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1814:1: ( rule__TimeEventType__Alternatives )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1814:2: rule__TimeEventType__Alternatives\n {\n pushFollow(FOLLOW_rule__TimeEventType__Alternatives_in_ruleTimeEventType3788);\n rule__TimeEventType__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"6c7af751b0c170ad004ae2c19a688a41","score":"0.426763","text":"public final void mT__178() throws RecognitionException {\n try {\n int _type = T__178;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalPub.g:172:8: ( 'blue' )\n // InternalPub.g:172:10: 'blue'\n {\n match(\"blue\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"a7e62c5011bb01aed37d20cf66d5739e","score":"0.42673346","text":"public final void ruleNAME() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2714:2: ( ( ( rule__NAME__Alternatives ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2715:1: ( ( rule__NAME__Alternatives ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2715:1: ( ( rule__NAME__Alternatives ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2716:1: ( rule__NAME__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNAMEAccess().getAlternatives()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2717:1: ( rule__NAME__Alternatives )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2717:2: rule__NAME__Alternatives\n {\n pushFollow(FOLLOW_rule__NAME__Alternatives_in_ruleNAME5749);\n rule__NAME__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNAMEAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"adf0b3c8b4a3c24d81d81815c10c4ce0","score":"0.4259497","text":"private void acceptColors(EntityState state){\n // implement\n }","title":""},{"docid":"02958a2fd9aa2ff91a30e5dda4b877c2","score":"0.42572328","text":"public final void rule__FeatureEdgeKind__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalFml.g:5965:1: ( ( ( 'mand' ) ) | ( ( 'opt' ) ) | ( ( 'Xor' ) ) | ( ( 'Or' ) ) | ( ( 'Mutex' ) ) )\n int alt62=5;\n switch ( input.LA(1) ) {\n case 74:\n {\n alt62=1;\n }\n break;\n case 75:\n {\n alt62=2;\n }\n break;\n case 76:\n {\n alt62=3;\n }\n break;\n case 77:\n {\n alt62=4;\n }\n break;\n case 78:\n {\n alt62=5;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 62, 0, input);\n\n throw nvae;\n }\n\n switch (alt62) {\n case 1 :\n // InternalFml.g:5966:2: ( ( 'mand' ) )\n {\n // InternalFml.g:5966:2: ( ( 'mand' ) )\n // InternalFml.g:5967:3: ( 'mand' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getMANDATORYEnumLiteralDeclaration_0()); \n // InternalFml.g:5968:3: ( 'mand' )\n // InternalFml.g:5968:4: 'mand'\n {\n match(input,74,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getMANDATORYEnumLiteralDeclaration_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalFml.g:5972:2: ( ( 'opt' ) )\n {\n // InternalFml.g:5972:2: ( ( 'opt' ) )\n // InternalFml.g:5973:3: ( 'opt' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getOPTIONALEnumLiteralDeclaration_1()); \n // InternalFml.g:5974:3: ( 'opt' )\n // InternalFml.g:5974:4: 'opt'\n {\n match(input,75,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getOPTIONALEnumLiteralDeclaration_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalFml.g:5978:2: ( ( 'Xor' ) )\n {\n // InternalFml.g:5978:2: ( ( 'Xor' ) )\n // InternalFml.g:5979:3: ( 'Xor' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getALTERNATIVEEnumLiteralDeclaration_2()); \n // InternalFml.g:5980:3: ( 'Xor' )\n // InternalFml.g:5980:4: 'Xor'\n {\n match(input,76,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getALTERNATIVEEnumLiteralDeclaration_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // InternalFml.g:5984:2: ( ( 'Or' ) )\n {\n // InternalFml.g:5984:2: ( ( 'Or' ) )\n // InternalFml.g:5985:3: ( 'Or' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getOREnumLiteralDeclaration_3()); \n // InternalFml.g:5986:3: ( 'Or' )\n // InternalFml.g:5986:4: 'Or'\n {\n match(input,77,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getOREnumLiteralDeclaration_3()); \n\n }\n\n\n }\n break;\n case 5 :\n // InternalFml.g:5990:2: ( ( 'Mutex' ) )\n {\n // InternalFml.g:5990:2: ( ( 'Mutex' ) )\n // InternalFml.g:5991:3: ( 'Mutex' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getMUTEXEnumLiteralDeclaration_4()); \n // InternalFml.g:5992:3: ( 'Mutex' )\n // InternalFml.g:5992:4: 'Mutex'\n {\n match(input,78,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getMUTEXEnumLiteralDeclaration_4()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"48cfbdf072c3f0b9629d67572075241c","score":"0.4253592","text":"void onColorChange(String color);","title":""},{"docid":"31c5870265f2b682c2f72a81baa923b2","score":"0.42516857","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isChoiceTerm2Avl();","title":""},{"docid":"ec1a4d8ecfcc23e9b8dc8c7f3f518256","score":"0.42481196","text":"public final void ruleCriterionDirection() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7100:1: ( ( ( rule__CriterionDirection__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7101:1: ( ( rule__CriterionDirection__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7101:1: ( ( rule__CriterionDirection__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7102:1: ( rule__CriterionDirection__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getCriterionDirectionAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7103:1: ( rule__CriterionDirection__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7103:2: rule__CriterionDirection__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__CriterionDirection__Alternatives_in_ruleCriterionDirection15083);\n rule__CriterionDirection__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getCriterionDirectionAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"c6200e4b6518f6407dc75744f2bee6dd","score":"0.4247557","text":"public final void ruleComparisonOperator() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalFml.g:3751:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) )\n // InternalFml.g:3752:2: ( ( rule__ComparisonOperator__Alternatives ) )\n {\n // InternalFml.g:3752:2: ( ( rule__ComparisonOperator__Alternatives ) )\n // InternalFml.g:3753:3: ( rule__ComparisonOperator__Alternatives )\n {\n before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); \n // InternalFml.g:3754:3: ( rule__ComparisonOperator__Alternatives )\n // InternalFml.g:3754:4: rule__ComparisonOperator__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__ComparisonOperator__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"37a98ee0e18605563b517f503acdbfb0","score":"0.4245953","text":"public Color callColor(List hand) {\r\n\r\n double bestColor = 0;\r\n double currentColor;\r\n UnoPlayer.Color which = UnoPlayer.Color.NONE;\r\n\r\n int totalRed = 0;\r\n int totalBlue = 0;\r\n int totalYellow = 0;\r\n int totalGreen = 0;\r\n int totalPain = 0;\r\n for (int i = 0; i < hand.size(); i++){\r\n switch (hand.get(i).getColor()){\r\n case RED:\r\n totalRed++;\r\n break;\r\n case BLUE:\r\n totalBlue++;\r\n break;\r\n case YELLOW:\r\n totalYellow++;\r\n break;\r\n case GREEN:\r\n totalGreen++;\r\n break;\r\n case NONE:\r\n totalPain++;\r\n break;\r\n }\r\n }\r\n int compareColor[] = {totalRed, totalBlue, totalYellow, totalGreen};\r\n for (int i = 0; i < compareColor.length; i++){\r\n if (compareColor[i] > bestColor){\r\n bestColor = compareColor[i];\r\n }\r\n }\r\n if (bestColor == totalRed){\r\n return UnoPlayer.Color.RED;\r\n }\r\n if (bestColor == totalGreen){\r\n return UnoPlayer.Color.GREEN;\r\n }\r\n if (bestColor == totalBlue){\r\n return UnoPlayer.Color.BLUE;\r\n }\r\n if (bestColor == totalYellow){\r\n return UnoPlayer.Color.YELLOW;\r\n }\r\n return null;\r\n }","title":""},{"docid":"f558dadb7e99de7c37323be65402c0eb","score":"0.42450154","text":"public final void rule__AutoConfMode__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalFml.g:6310:1: ( ( ( 'RANDOM' ) ) | ( ( 'MAX' ) ) | ( ( 'MIN' ) ) )\n int alt73=3;\n switch ( input.LA(1) ) {\n case 115:\n {\n alt73=1;\n }\n break;\n case 116:\n {\n alt73=2;\n }\n break;\n case 117:\n {\n alt73=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 73, 0, input);\n\n throw nvae;\n }\n\n switch (alt73) {\n case 1 :\n // InternalFml.g:6311:2: ( ( 'RANDOM' ) )\n {\n // InternalFml.g:6311:2: ( ( 'RANDOM' ) )\n // InternalFml.g:6312:3: ( 'RANDOM' )\n {\n before(grammarAccess.getAutoConfModeAccess().getRANDOMEnumLiteralDeclaration_0()); \n // InternalFml.g:6313:3: ( 'RANDOM' )\n // InternalFml.g:6313:4: 'RANDOM'\n {\n match(input,115,FOLLOW_2); \n\n }\n\n after(grammarAccess.getAutoConfModeAccess().getRANDOMEnumLiteralDeclaration_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalFml.g:6317:2: ( ( 'MAX' ) )\n {\n // InternalFml.g:6317:2: ( ( 'MAX' ) )\n // InternalFml.g:6318:3: ( 'MAX' )\n {\n before(grammarAccess.getAutoConfModeAccess().getMAXEnumLiteralDeclaration_1()); \n // InternalFml.g:6319:3: ( 'MAX' )\n // InternalFml.g:6319:4: 'MAX'\n {\n match(input,116,FOLLOW_2); \n\n }\n\n after(grammarAccess.getAutoConfModeAccess().getMAXEnumLiteralDeclaration_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalFml.g:6323:2: ( ( 'MIN' ) )\n {\n // InternalFml.g:6323:2: ( ( 'MIN' ) )\n // InternalFml.g:6324:3: ( 'MIN' )\n {\n before(grammarAccess.getAutoConfModeAccess().getMINEnumLiteralDeclaration_2()); \n // InternalFml.g:6325:3: ( 'MIN' )\n // InternalFml.g:6325:4: 'MIN'\n {\n match(input,117,FOLLOW_2); \n\n }\n\n after(grammarAccess.getAutoConfModeAccess().getMINEnumLiteralDeclaration_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"a8c96f2ee45e7c03dd23644b6d2d0b52","score":"0.42413834","text":"public final void rule__LCExpr__OpAssignment_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27892:1: ( ( ( rule__LCExpr__OpAlternatives_1_0_0 ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27893:1: ( ( rule__LCExpr__OpAlternatives_1_0_0 ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27893:1: ( ( rule__LCExpr__OpAlternatives_1_0_0 ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27894:1: ( rule__LCExpr__OpAlternatives_1_0_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLCExprAccess().getOpAlternatives_1_0_0()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27895:1: ( rule__LCExpr__OpAlternatives_1_0_0 )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27895:2: rule__LCExpr__OpAlternatives_1_0_0\n {\n pushFollow(FOLLOW_rule__LCExpr__OpAlternatives_1_0_0_in_rule__LCExpr__OpAssignment_1_056302);\n rule__LCExpr__OpAlternatives_1_0_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLCExprAccess().getOpAlternatives_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"e0c7655772d5df6a1cfb97bbc2dff8b6","score":"0.42397416","text":"public final void rule__Sort__Alternatives_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9821:1: ( ( ( rule__Sort__TreeAssignment_1_0 )? ) | ( ( rule__Sort__CriteriaAssignment_1_1 ) ) )\n int alt54=2;\n switch ( input.LA(1) ) {\n case EOF:\n case 58:\n case 82:\n case 87:\n case 89:\n case 91:\n case 92:\n case 93:\n case 94:\n case 95:\n case 111:\n case 112:\n case 113:\n case 232:\n case 236:\n case 237:\n case 250:\n case 256:\n case 261:\n case 264:\n case 269:\n case 270:\n case 271:\n case 275:\n case 276:\n case 278:\n case 280:\n case 285:\n case 291:\n case 292:\n case 295:\n case 296:\n case 301:\n case 302:\n case 303:\n case 304:\n case 305:\n case 309:\n case 311:\n case 323:\n case 324:\n case 325:\n case 326:\n case 330:\n case 348:\n {\n alt54=1;\n }\n break;\n case 148:\n {\n int LA54_2 = input.LA(2);\n\n if ( (LA54_2==233) ) {\n alt54=2;\n }\n else if ( (LA54_2==RULE_ID) ) {\n alt54=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 2, input);\n\n throw nvae;\n }\n }\n break;\n case 168:\n {\n int LA54_3 = input.LA(2);\n\n if ( (LA54_3==RULE_DATE||LA54_3==230||LA54_3==240) ) {\n alt54=1;\n }\n else if ( (LA54_3==233) ) {\n alt54=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 3, input);\n\n throw nvae;\n }\n }\n break;\n case 81:\n {\n int LA54_4 = input.LA(2);\n\n if ( (LA54_4==233) ) {\n alt54=2;\n }\n else if ( (LA54_4==RULE_ID) ) {\n alt54=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 4, input);\n\n throw nvae;\n }\n }\n break;\n case 204:\n {\n int LA54_5 = input.LA(2);\n\n if ( (LA54_5==RULE_DATE||LA54_5==230||LA54_5==240) ) {\n alt54=1;\n }\n else if ( (LA54_5==233) ) {\n alt54=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 5, input);\n\n throw nvae;\n }\n }\n break;\n case RULE_ID:\n case 78:\n case 97:\n case 98:\n case 114:\n case 115:\n case 125:\n case 142:\n case 143:\n case 144:\n case 145:\n case 146:\n case 147:\n case 149:\n case 150:\n case 151:\n case 152:\n case 153:\n case 154:\n case 155:\n case 156:\n case 157:\n case 158:\n case 159:\n case 160:\n case 161:\n case 162:\n case 163:\n case 164:\n case 165:\n case 166:\n case 167:\n case 169:\n case 170:\n case 171:\n case 172:\n case 173:\n case 174:\n case 175:\n case 176:\n case 177:\n case 178:\n case 179:\n case 180:\n case 181:\n case 182:\n case 183:\n case 184:\n case 185:\n case 186:\n case 187:\n case 188:\n case 189:\n case 190:\n case 191:\n case 192:\n case 193:\n case 194:\n case 195:\n case 196:\n case 197:\n case 198:\n case 199:\n case 200:\n case 201:\n case 202:\n case 203:\n case 205:\n case 206:\n case 207:\n case 208:\n case 209:\n case 210:\n case 211:\n {\n alt54=2;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 0, input);\n\n throw nvae;\n }\n\n switch (alt54) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9822:1: ( ( rule__Sort__TreeAssignment_1_0 )? )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9822:1: ( ( rule__Sort__TreeAssignment_1_0 )? )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9823:1: ( rule__Sort__TreeAssignment_1_0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSortAccess().getTreeAssignment_1_0()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9824:1: ( rule__Sort__TreeAssignment_1_0 )?\n int alt53=2;\n int LA53_0 = input.LA(1);\n\n if ( (LA53_0==348) ) {\n alt53=1;\n }\n switch (alt53) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9824:2: rule__Sort__TreeAssignment_1_0\n {\n pushFollow(FollowSets001.FOLLOW_rule__Sort__TreeAssignment_1_0_in_rule__Sort__Alternatives_121783);\n rule__Sort__TreeAssignment_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSortAccess().getTreeAssignment_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9828:6: ( ( rule__Sort__CriteriaAssignment_1_1 ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9828:6: ( ( rule__Sort__CriteriaAssignment_1_1 ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9829:1: ( rule__Sort__CriteriaAssignment_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSortAccess().getCriteriaAssignment_1_1()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9830:1: ( rule__Sort__CriteriaAssignment_1_1 )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9830:2: rule__Sort__CriteriaAssignment_1_1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Sort__CriteriaAssignment_1_1_in_rule__Sort__Alternatives_121802);\n rule__Sort__CriteriaAssignment_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSortAccess().getCriteriaAssignment_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"bbedb25b3a574b7d248b8af32c96d2a0","score":"0.42367178","text":"public void matchSeekBarToColor()\n\t{\n\t\tSeekBar sb;\n\t\tColorHistory ch = GameActivity.pr.getColorHistory();\n\t\tint t, r, g, b;\n\n\t\tswitch(elementId)\n\t\t{\n\t\t\tcase GroundView.ELEMENT_FIELD:\t\tt = Color.alpha(ch.field);\tr = Color.red(ch.field);\tg = Color.green(ch.field);\tb = Color.blue(ch.field);\tbreak;\n\t\t\tcase GroundView.ELEMENT_OUTLINE:\tt = Color.alpha(ch.outline);r = Color.red(ch.outline);\tg = Color.green(ch.outline);b = Color.blue(ch.outline);\tbreak;\n\t\t\tcase GroundView.ELEMENT_BLACK_PAWN:\tt = Color.alpha(ch.black);\tr = Color.red(ch.black);\tg = Color.green(ch.black);\tb = Color.blue(ch.black);\tbreak;\n\t\t\tcase GroundView.ELEMENT_WHITE_PAWN:\tt = Color.alpha(ch.white);\tr = Color.red(ch.white);\tg = Color.green(ch.white);\tb = Color.blue(ch.white);\tbreak;\n\t\t\tdefault:\tthrow new RuntimeException(\"Unhandeled elementId\");\n\t\t}\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerTransparency);\n\t\tsb\t.setProgress(t);\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerRed);\n\t\tsb\t.setProgress(r);\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerGreen);\n\t\tsb\t.setProgress(g);\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerBlue);\n\t\tsb\t.setProgress(b);\n\t}","title":""},{"docid":"d99b73dd07046ef99a378a66daf48db3","score":"0.42283422","text":"public void makeGuessSkinColor(String guess) {\n ArrayList temp = new ArrayList<>();\r\n switch (guess) {\r\n case \"black\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has black skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have black skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"brown\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has brown skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have brown skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"white\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has white skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"white\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have white skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"white\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"yellow\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has yellow skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"yellow\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have yellow skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"yellow\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n default:\r\n break; \r\n }\r\n }","title":""},{"docid":"515a5a4e3b1c210c5afa38d972d757b9","score":"0.42239183","text":"public final void ruleTimeEventType() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1742:1: ( ( ( rule__TimeEventType__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1743:1: ( ( rule__TimeEventType__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1743:1: ( ( rule__TimeEventType__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1744:1: ( rule__TimeEventType__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1745:1: ( rule__TimeEventType__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1745:2: rule__TimeEventType__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__TimeEventType__Alternatives_in_ruleTimeEventType3656);\r\n rule__TimeEventType__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"d56b387ee5404fa458bc5b8429c80864\",\n \"score\": \"0.7302018\",\n \"text\": \"public final void rulecolorChoice() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:357:1: ( ( ( rule__ColorChoice__Alternatives ) ) )\\n // InternalChessGame.g:358:2: ( ( rule__ColorChoice__Alternatives ) )\\n {\\n // InternalChessGame.g:358:2: ( ( rule__ColorChoice__Alternatives ) )\\n // InternalChessGame.g:359:3: ( rule__ColorChoice__Alternatives )\\n {\\n before(grammarAccess.getColorChoiceAccess().getAlternatives()); \\n // InternalChessGame.g:360:3: ( rule__ColorChoice__Alternatives )\\n // InternalChessGame.g:360:4: rule__ColorChoice__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__ColorChoice__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getColorChoiceAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9d2945f35c267e7c535e9a47e0bb467\",\n \"score\": \"0.605415\",\n \"text\": \"public final void rule__AlertLevel__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11705:1: ( ( ( 'red' ) ) | ( ( 'yellow' ) ) | ( ( 'green' ) ) )\\n int alt89=3;\\n switch ( input.LA(1) ) {\\n case 212:\\n {\\n alt89=1;\\n }\\n break;\\n case 213:\\n {\\n alt89=2;\\n }\\n break;\\n case 214:\\n {\\n alt89=3;\\n }\\n break;\\n default:\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 89, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt89) {\\n case 1 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11706:1: ( ( 'red' ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11706:1: ( ( 'red' ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11707:1: ( 'red' )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getAlertLevelAccess().getREDEnumLiteralDeclaration_0()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11708:1: ( 'red' )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11708:3: 'red'\\n {\\n match(input,212,FollowSets001.FOLLOW_212_in_rule__AlertLevel__Alternatives26849); if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getAlertLevelAccess().getREDEnumLiteralDeclaration_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11713:6: ( ( 'yellow' ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11713:6: ( ( 'yellow' ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11714:1: ( 'yellow' )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getAlertLevelAccess().getYELLOWEnumLiteralDeclaration_1()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11715:1: ( 'yellow' )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11715:3: 'yellow'\\n {\\n match(input,213,FollowSets001.FOLLOW_213_in_rule__AlertLevel__Alternatives26870); if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getAlertLevelAccess().getYELLOWEnumLiteralDeclaration_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11720:6: ( ( 'green' ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11720:6: ( ( 'green' ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11721:1: ( 'green' )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getAlertLevelAccess().getGREENEnumLiteralDeclaration_2()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11722:1: ( 'green' )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11722:3: 'green'\\n {\\n match(input,214,FollowSets001.FOLLOW_214_in_rule__AlertLevel__Alternatives26891); if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getAlertLevelAccess().getGREENEnumLiteralDeclaration_2()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26f110f92feba500768d4eb028a62e5d\",\n \"score\": \"0.56778216\",\n \"text\": \"@Override\\r\\n\\tpublic String visit(Match m) {\\n\\t\\treturn \\\"Match colored words using their color or the color they spell \\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6a946419b96dd39000eb4c6e1e2fed9\",\n \"score\": \"0.55189806\",\n \"text\": \"String promptColorSelection(Player p, ArrayList colors);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a680a343c7b49a8b24602af8eb093cf\",\n \"score\": \"0.51682585\",\n \"text\": \"public final void rule__CellDisplay__ColorAssignment_2_1_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:2140:1: ( ( rulecolorChoice ) )\\n // InternalChessGame.g:2141:2: ( rulecolorChoice )\\n {\\n // InternalChessGame.g:2141:2: ( rulecolorChoice )\\n // InternalChessGame.g:2142:3: rulecolorChoice\\n {\\n before(grammarAccess.getCellDisplayAccess().getColorColorChoiceEnumRuleCall_2_1_2_0()); \\n pushFollow(FOLLOW_2);\\n rulecolorChoice();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getCellDisplayAccess().getColorColorChoiceEnumRuleCall_2_1_2_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c8f65319d0cca387348b89b9fd2094f\",\n \"score\": \"0.50109047\",\n \"text\": \"public final void rule__Statements__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:372:1: ( ( ruleFieldSpecification ) | ( ruleCellState ) | ( ruleGameEnd ) )\\n int alt2=3;\\n switch ( input.LA(1) ) {\\n case 13:\\n {\\n alt2=1;\\n }\\n break;\\n case RULE_ID:\\n {\\n alt2=2;\\n }\\n break;\\n case 27:\\n {\\n alt2=3;\\n }\\n break;\\n default:\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt2) {\\n case 1 :\\n // InternalChessGame.g:373:2: ( ruleFieldSpecification )\\n {\\n // InternalChessGame.g:373:2: ( ruleFieldSpecification )\\n // InternalChessGame.g:374:3: ruleFieldSpecification\\n {\\n before(grammarAccess.getStatementsAccess().getFieldSpecificationParserRuleCall_0()); \\n pushFollow(FOLLOW_2);\\n ruleFieldSpecification();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getStatementsAccess().getFieldSpecificationParserRuleCall_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalChessGame.g:379:2: ( ruleCellState )\\n {\\n // InternalChessGame.g:379:2: ( ruleCellState )\\n // InternalChessGame.g:380:3: ruleCellState\\n {\\n before(grammarAccess.getStatementsAccess().getCellStateParserRuleCall_1()); \\n pushFollow(FOLLOW_2);\\n ruleCellState();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getStatementsAccess().getCellStateParserRuleCall_1()); \\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // InternalChessGame.g:385:2: ( ruleGameEnd )\\n {\\n // InternalChessGame.g:385:2: ( ruleGameEnd )\\n // InternalChessGame.g:386:3: ruleGameEnd\\n {\\n before(grammarAccess.getStatementsAccess().getGameEndParserRuleCall_2()); \\n pushFollow(FOLLOW_2);\\n ruleGameEnd();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getStatementsAccess().getGameEndParserRuleCall_2()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e435afe9a5bc643c20e418311f9391a4\",\n \"score\": \"0.5003938\",\n \"text\": \"void chooseColour(Player player);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc6ac2837ae6c47eed3224a3eba58ef3\",\n \"score\": \"0.49970675\",\n \"text\": \"void onColorChosen(@ColorInt int color, String hex, String hexNoAlpha);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"048f410fb28424ec992b0daf636d0918\",\n \"score\": \"0.49908715\",\n \"text\": \"void chosenColour(Colour colour);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130beb0cb650ac9cdaa7f5db216f714e\",\n \"score\": \"0.49755186\",\n \"text\": \"public final void rule__Property__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:472:1: ( ( RULE_WORD ) | ( RULE_HEX_DIGIT ) | ( RULE_HEX_COLOR ) | ( RULE_VARIABLE ) | ( ruleFunction ) )\\n int alt5=5;\\n switch ( input.LA(1) ) {\\n case RULE_WORD:\\n {\\n int LA5_1 = input.LA(2);\\n\\n if ( (LA5_1==EOF||(LA5_1>=RULE_WORD && LA5_1<=RULE_MULTIPLY)||LA5_1==RULE_SEMI_COLON||LA5_1==RULE_COMMA||LA5_1==RULE_PAREN_RIGHT) ) {\\n alt5=1;\\n }\\n else if ( (LA5_1==RULE_PAREN_LEFT) ) {\\n alt5=5;\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 5, 1, input);\\n\\n throw nvae;\\n }\\n }\\n break;\\n case RULE_HEX_DIGIT:\\n {\\n alt5=2;\\n }\\n break;\\n case RULE_HEX_COLOR:\\n {\\n alt5=3;\\n }\\n break;\\n case RULE_VARIABLE:\\n {\\n alt5=4;\\n }\\n break;\\n default:\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 5, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt5) {\\n case 1 :\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:473:1: ( RULE_WORD )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:473:1: ( RULE_WORD )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:474:1: RULE_WORD\\n {\\n before(grammarAccess.getPropertyAccess().getWORDTerminalRuleCall_0()); \\n match(input,RULE_WORD,FOLLOW_RULE_WORD_in_rule__Property__Alternatives957); \\n after(grammarAccess.getPropertyAccess().getWORDTerminalRuleCall_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:479:6: ( RULE_HEX_DIGIT )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:479:6: ( RULE_HEX_DIGIT )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:480:1: RULE_HEX_DIGIT\\n {\\n before(grammarAccess.getPropertyAccess().getHEX_DIGITTerminalRuleCall_1()); \\n match(input,RULE_HEX_DIGIT,FOLLOW_RULE_HEX_DIGIT_in_rule__Property__Alternatives974); \\n after(grammarAccess.getPropertyAccess().getHEX_DIGITTerminalRuleCall_1()); \\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:485:6: ( RULE_HEX_COLOR )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:485:6: ( RULE_HEX_COLOR )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:486:1: RULE_HEX_COLOR\\n {\\n before(grammarAccess.getPropertyAccess().getHEX_COLORTerminalRuleCall_2()); \\n match(input,RULE_HEX_COLOR,FOLLOW_RULE_HEX_COLOR_in_rule__Property__Alternatives991); \\n after(grammarAccess.getPropertyAccess().getHEX_COLORTerminalRuleCall_2()); \\n\\n }\\n\\n\\n }\\n break;\\n case 4 :\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:491:6: ( RULE_VARIABLE )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:491:6: ( RULE_VARIABLE )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:492:1: RULE_VARIABLE\\n {\\n before(grammarAccess.getPropertyAccess().getVARIABLETerminalRuleCall_3()); \\n match(input,RULE_VARIABLE,FOLLOW_RULE_VARIABLE_in_rule__Property__Alternatives1008); \\n after(grammarAccess.getPropertyAccess().getVARIABLETerminalRuleCall_3()); \\n\\n }\\n\\n\\n }\\n break;\\n case 5 :\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:497:6: ( ruleFunction )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:497:6: ( ruleFunction )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:498:1: ruleFunction\\n {\\n before(grammarAccess.getPropertyAccess().getFunctionParserRuleCall_4()); \\n pushFollow(FOLLOW_ruleFunction_in_rule__Property__Alternatives1025);\\n ruleFunction();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getPropertyAccess().getFunctionParserRuleCall_4()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c42b1d1acb4b43a63ad5fb7b6a2a5715\",\n \"score\": \"0.4948021\",\n \"text\": \"public final void rule__ColumnAttribute__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10181:1: ( ( ruleCellColor ) | ( ruleCellText ) | ( ruleEnd ) | ( ruleFontColor ) | ( ruleHAlign ) | ( ruleListItem ) | ( ruleListType ) | ( rulePeriod ) | ( ruleScale ) | ( ruleStart ) | ( ruleTitle ) | ( ruleToolTip ) | ( ruleWidth ) | ( ruleMacroCall ) | ( ruleExtendedResourceAttributeColumn ) )\\n int alt66=15;\\n alt66 = dfa66.predict(input);\\n switch (alt66) {\\n case 1 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10182:1: ( ruleCellColor )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10182:1: ( ruleCellColor )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10183:1: ruleCellColor\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getCellColorParserRuleCall_0()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleCellColor_in_rule__ColumnAttribute__Alternatives22654);\\n ruleCellColor();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getCellColorParserRuleCall_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10188:6: ( ruleCellText )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10188:6: ( ruleCellText )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10189:1: ruleCellText\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getCellTextParserRuleCall_1()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleCellText_in_rule__ColumnAttribute__Alternatives22671);\\n ruleCellText();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getCellTextParserRuleCall_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10194:6: ( ruleEnd )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10194:6: ( ruleEnd )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10195:1: ruleEnd\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getEndParserRuleCall_2()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleEnd_in_rule__ColumnAttribute__Alternatives22688);\\n ruleEnd();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getEndParserRuleCall_2()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 4 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10200:6: ( ruleFontColor )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10200:6: ( ruleFontColor )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10201:1: ruleFontColor\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getFontColorParserRuleCall_3()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleFontColor_in_rule__ColumnAttribute__Alternatives22705);\\n ruleFontColor();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getFontColorParserRuleCall_3()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 5 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10206:6: ( ruleHAlign )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10206:6: ( ruleHAlign )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10207:1: ruleHAlign\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getHAlignParserRuleCall_4()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleHAlign_in_rule__ColumnAttribute__Alternatives22722);\\n ruleHAlign();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getHAlignParserRuleCall_4()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 6 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10212:6: ( ruleListItem )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10212:6: ( ruleListItem )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10213:1: ruleListItem\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getListItemParserRuleCall_5()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleListItem_in_rule__ColumnAttribute__Alternatives22739);\\n ruleListItem();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getListItemParserRuleCall_5()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 7 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10218:6: ( ruleListType )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10218:6: ( ruleListType )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10219:1: ruleListType\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getListTypeParserRuleCall_6()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleListType_in_rule__ColumnAttribute__Alternatives22756);\\n ruleListType();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getListTypeParserRuleCall_6()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 8 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10224:6: ( rulePeriod )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10224:6: ( rulePeriod )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10225:1: rulePeriod\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getPeriodParserRuleCall_7()); \\n }\\n pushFollow(FollowSets001.FOLLOW_rulePeriod_in_rule__ColumnAttribute__Alternatives22773);\\n rulePeriod();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getPeriodParserRuleCall_7()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 9 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10230:6: ( ruleScale )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10230:6: ( ruleScale )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10231:1: ruleScale\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getScaleParserRuleCall_8()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleScale_in_rule__ColumnAttribute__Alternatives22790);\\n ruleScale();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getScaleParserRuleCall_8()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 10 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10236:6: ( ruleStart )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10236:6: ( ruleStart )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10237:1: ruleStart\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getStartParserRuleCall_9()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleStart_in_rule__ColumnAttribute__Alternatives22807);\\n ruleStart();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getStartParserRuleCall_9()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 11 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10242:6: ( ruleTitle )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10242:6: ( ruleTitle )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10243:1: ruleTitle\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getTitleParserRuleCall_10()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleTitle_in_rule__ColumnAttribute__Alternatives22824);\\n ruleTitle();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getTitleParserRuleCall_10()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 12 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10248:6: ( ruleToolTip )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10248:6: ( ruleToolTip )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10249:1: ruleToolTip\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getToolTipParserRuleCall_11()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleToolTip_in_rule__ColumnAttribute__Alternatives22841);\\n ruleToolTip();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getToolTipParserRuleCall_11()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 13 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10254:6: ( ruleWidth )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10254:6: ( ruleWidth )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10255:1: ruleWidth\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getWidthParserRuleCall_12()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleWidth_in_rule__ColumnAttribute__Alternatives22858);\\n ruleWidth();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getWidthParserRuleCall_12()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 14 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10260:6: ( ruleMacroCall )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10260:6: ( ruleMacroCall )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10261:1: ruleMacroCall\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getMacroCallParserRuleCall_13()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleMacroCall_in_rule__ColumnAttribute__Alternatives22875);\\n ruleMacroCall();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getMacroCallParserRuleCall_13()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 15 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10266:6: ( ruleExtendedResourceAttributeColumn )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10266:6: ( ruleExtendedResourceAttributeColumn )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10267:1: ruleExtendedResourceAttributeColumn\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getColumnAttributeAccess().getExtendedResourceAttributeColumnParserRuleCall_14()); \\n }\\n pushFollow(FollowSets001.FOLLOW_ruleExtendedResourceAttributeColumn_in_rule__ColumnAttribute__Alternatives22892);\\n ruleExtendedResourceAttributeColumn();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getColumnAttributeAccess().getExtendedResourceAttributeColumnParserRuleCall_14()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff34a0274552ba208d6c0fa1b9503db\",\n \"score\": \"0.48575884\",\n \"text\": \"@Test\\n public void defaultMatchesSuggested2() throws Exception {\\n // available default suggestion\\n baseTest( MIN_MARGINS[2],\\n MEDIA_SIZES, MEDIA_SIZES[2], MEDIA_SIZES[2],\\n // There are only two color modes, hence pick [1]\\n COLOR_MODES, COLOR_MODES[1], COLOR_MODES[1],\\n DUPLEX_MODES, DUPLEX_MODES[2], DUPLEX_MODES[2],\\n RESOLUTIONS, RESOLUTIONS[2], RESOLUTIONS[2]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bccef15ab0b96c6c80a046708229b8d\",\n \"score\": \"0.4778348\",\n \"text\": \"private void purpleButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_purpleButtonActionPerformed\\n round++;\\n if( \\\"MAGENTA\\\".equals(wordColor)){\\n score += 100;\\n }\\n randomize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6b5dd01b6039633fbce9c471a023e0\",\n \"score\": \"0.4736079\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tint choice=4;\\r\\n\\t\\t switch(choice){\\r\\n\\t\\t case 1: System.out.println(\\\"I Like Black Colour\\\");\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t case 2: System.out.println(\\\"I Like Merun Colour\\\");\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t case 3: System.out.println(\\\"I Like Blue Colour\\\");\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t case 4: System.out.println(\\\"I LikeYellow Colour\\\");\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t default: System.out.println(\\\"I Dont Like Any Colour\\\");\\r\\n\\r\\n\\t}\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b73f46c6514d270bed537e3001b9405\",\n \"score\": \"0.46805826\",\n \"text\": \"public final void ruleMouseTrigger() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:216:2: ( ( ( rule__MouseTrigger__Alternatives ) ) )\\n // InternalChessGame.g:217:2: ( ( rule__MouseTrigger__Alternatives ) )\\n {\\n // InternalChessGame.g:217:2: ( ( rule__MouseTrigger__Alternatives ) )\\n // InternalChessGame.g:218:3: ( rule__MouseTrigger__Alternatives )\\n {\\n before(grammarAccess.getMouseTriggerAccess().getAlternatives()); \\n // InternalChessGame.g:219:3: ( rule__MouseTrigger__Alternatives )\\n // InternalChessGame.g:219:4: rule__MouseTrigger__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__MouseTrigger__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getMouseTriggerAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd3f4c16bfe4f989c7ba04b651e5016c\",\n \"score\": \"0.4666331\",\n \"text\": \"public final void ruleStatements() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:91:2: ( ( ( rule__Statements__Alternatives ) ) )\\n // InternalChessGame.g:92:2: ( ( rule__Statements__Alternatives ) )\\n {\\n // InternalChessGame.g:92:2: ( ( rule__Statements__Alternatives ) )\\n // InternalChessGame.g:93:3: ( rule__Statements__Alternatives )\\n {\\n before(grammarAccess.getStatementsAccess().getAlternatives()); \\n // InternalChessGame.g:94:3: ( rule__Statements__Alternatives )\\n // InternalChessGame.g:94:4: rule__Statements__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__Statements__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getStatementsAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"366b728064cecd98bb03a1213450eec4\",\n \"score\": \"0.4654819\",\n \"text\": \"public final void rule__WebDriverActionCondition__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalBromium.g:481:1: ( ( ruleElementByCssToBePresent ) | ( ruleTextOfElementWithCssSelectorToBe ) )\\n int alt1=2;\\n int LA1_0 = input.LA(1);\\n\\n if ( (LA1_0==27) ) {\\n int LA1_1 = input.LA(2);\\n\\n if ( (LA1_1==28) ) {\\n int LA1_2 = input.LA(3);\\n\\n if ( (LA1_2==29) ) {\\n int LA1_3 = input.LA(4);\\n\\n if ( (LA1_3==40) ) {\\n int LA1_4 = input.LA(5);\\n\\n if ( (LA1_4==RULE_STRING) ) {\\n int LA1_5 = input.LA(6);\\n\\n if ( (LA1_5==30) ) {\\n alt1=1;\\n }\\n else if ( (LA1_5==37) ) {\\n alt1=2;\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 5, input);\\n\\n throw nvae;\\n }\\n }\\n else if ( (LA1_4==RULE_ID) ) {\\n int LA1_6 = input.LA(6);\\n\\n if ( (LA1_6==30) ) {\\n alt1=1;\\n }\\n else if ( (LA1_6==37) ) {\\n alt1=2;\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 6, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 4, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 3, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 2, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 1, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 1, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt1) {\\n case 1 :\\n // InternalBromium.g:482:2: ( ruleElementByCssToBePresent )\\n {\\n // InternalBromium.g:482:2: ( ruleElementByCssToBePresent )\\n // InternalBromium.g:483:3: ruleElementByCssToBePresent\\n {\\n before(grammarAccess.getWebDriverActionConditionAccess().getElementByCssToBePresentParserRuleCall_0()); \\n pushFollow(FOLLOW_2);\\n ruleElementByCssToBePresent();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getWebDriverActionConditionAccess().getElementByCssToBePresentParserRuleCall_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalBromium.g:488:2: ( ruleTextOfElementWithCssSelectorToBe )\\n {\\n // InternalBromium.g:488:2: ( ruleTextOfElementWithCssSelectorToBe )\\n // InternalBromium.g:489:3: ruleTextOfElementWithCssSelectorToBe\\n {\\n before(grammarAccess.getWebDriverActionConditionAccess().getTextOfElementWithCssSelectorToBeParserRuleCall_1()); \\n pushFollow(FOLLOW_2);\\n ruleTextOfElementWithCssSelectorToBe();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getWebDriverActionConditionAccess().getTextOfElementWithCssSelectorToBeParserRuleCall_1()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7d2a5d01d5c6ed2e5e3019d9d4a8372\",\n \"score\": \"0.46503973\",\n \"text\": \"private Color or(Color a, Color b) {\\n return new Color(\\n a.getRed() | b.getRed(), a.getGreen() | b.getGreen(), a.getBlue() | b.getBlue());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4feac31bd972ec0c0058d93df0182e6e\",\n \"score\": \"0.4641594\",\n \"text\": \"public int toolCardLetPlayerChoose(String color){\\n return 6;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27f34a2223a4356c15a6578215e2bc53\",\n \"score\": \"0.46378046\",\n \"text\": \"public final void mT__174() throws RecognitionException {\\n try {\\n int _type = T__174;\\n int _channel = DEFAULT_TOKEN_CHANNEL;\\n // InternalPub.g:168:8: ( 'red' )\\n // InternalPub.g:168:10: 'red'\\n {\\n match(\\\"red\\\"); \\n\\n\\n }\\n\\n state.type = _type;\\n state.channel = _channel;\\n }\\n finally {\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e4560e6cc9b76d7adcfece093ccbf84\",\n \"score\": \"0.46355382\",\n \"text\": \"void BanColor(String color);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d040011d03c7381b112d95de72f7cc5\",\n \"score\": \"0.4622158\",\n \"text\": \"public final void rule__Type__Alternatives() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2618:1: ( ( ( 'void' ) ) | ( ( 'integer' ) ) | ( ( 'real' ) ) | ( ( 'boolean' ) ) | ( ( 'string' ) ) )\\r\\n int alt24=5;\\r\\n switch ( input.LA(1) ) {\\r\\n case 46:\\r\\n {\\r\\n alt24=1;\\r\\n }\\r\\n break;\\r\\n case 47:\\r\\n {\\r\\n alt24=2;\\r\\n }\\r\\n break;\\r\\n case 48:\\r\\n {\\r\\n alt24=3;\\r\\n }\\r\\n break;\\r\\n case 49:\\r\\n {\\r\\n alt24=4;\\r\\n }\\r\\n break;\\r\\n case 50:\\r\\n {\\r\\n alt24=5;\\r\\n }\\r\\n break;\\r\\n default:\\r\\n if (state.backtracking>0) {state.failed=true; return ;}\\r\\n NoViableAltException nvae =\\r\\n new NoViableAltException(\\\"\\\", 24, 0, input);\\r\\n\\r\\n throw nvae;\\r\\n }\\r\\n\\r\\n switch (alt24) {\\r\\n case 1 :\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2619:1: ( ( 'void' ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2619:1: ( ( 'void' ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2620:1: ( 'void' )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTypeAccess().getVoidEnumLiteralDeclaration_0()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2621:1: ( 'void' )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2621:3: 'void'\\r\\n {\\r\\n match(input,46,FOLLOW_46_in_rule__Type__Alternatives5728); if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTypeAccess().getVoidEnumLiteralDeclaration_0()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n break;\\r\\n case 2 :\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2626:6: ( ( 'integer' ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2626:6: ( ( 'integer' ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2627:1: ( 'integer' )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTypeAccess().getIntegerEnumLiteralDeclaration_1()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2628:1: ( 'integer' )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2628:3: 'integer'\\r\\n {\\r\\n match(input,47,FOLLOW_47_in_rule__Type__Alternatives5749); if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTypeAccess().getIntegerEnumLiteralDeclaration_1()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n break;\\r\\n case 3 :\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2633:6: ( ( 'real' ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2633:6: ( ( 'real' ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2634:1: ( 'real' )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTypeAccess().getRealEnumLiteralDeclaration_2()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2635:1: ( 'real' )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2635:3: 'real'\\r\\n {\\r\\n match(input,48,FOLLOW_48_in_rule__Type__Alternatives5770); if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTypeAccess().getRealEnumLiteralDeclaration_2()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n break;\\r\\n case 4 :\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2640:6: ( ( 'boolean' ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2640:6: ( ( 'boolean' ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2641:1: ( 'boolean' )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTypeAccess().getBooleanEnumLiteralDeclaration_3()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2642:1: ( 'boolean' )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2642:3: 'boolean'\\r\\n {\\r\\n match(input,49,FOLLOW_49_in_rule__Type__Alternatives5791); if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTypeAccess().getBooleanEnumLiteralDeclaration_3()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n break;\\r\\n case 5 :\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2647:6: ( ( 'string' ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2647:6: ( ( 'string' ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2648:1: ( 'string' )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTypeAccess().getStringEnumLiteralDeclaration_4()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2649:1: ( 'string' )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2649:3: 'string'\\r\\n {\\r\\n match(input,50,FOLLOW_50_in_rule__Type__Alternatives5812); if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTypeAccess().getStringEnumLiteralDeclaration_4()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n break;\\r\\n\\r\\n }\\r\\n }\\r\\n catch (RecognitionException re) {\\r\\n reportError(re);\\r\\n recover(input,re);\\r\\n }\\r\\n finally {\\r\\n\\r\\n \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e76a0060809a36f0c16d2fd913065011\",\n \"score\": \"0.46205547\",\n \"text\": \"public void parseColorChange() throws IOException {\\r\\n\\t\\t// parse exact command\\r\\n\\t\\tString colorType = ParseSupport.parseWord(stok, \\\"color change operation\\\");\\r\\n\\t\\t// boolean contextMode = false;\\r\\n\\t\\tboolean elemMode = colorType.toLowerCase().endsWith(\\\"elem\\\");\\r\\n\\t\\tboolean highlightMode = colorType.startsWith(\\\"high\\\");\\r\\n\\t\\t// String targetProperty = null;\\r\\n\\r\\n\\t\\tParseSupport.parseMandatoryWord(stok, colorType + \\\" keyword 'on'\\\", \\\"on\\\");\\r\\n\\r\\n\\t\\tString targetArray = AnimalParseSupport.parseText(stok, colorType\\r\\n\\t\\t\\t\\t+ \\\" array name\\\");\\r\\n\\t\\tint arrayID = getObjectIDs().getIntProperty(targetArray, -1);\\r\\n\\t\\tPTGraphicObject ptgo = animState.getCloneByNum(arrayID);\\r\\n\\t\\tif ((arrayID <= 0) || !(ptgo instanceof PTArray)) {\\r\\n\\t\\t\\tParseSupport.formatException(\\\"Target object '\\\" + targetArray\\r\\n\\t\\t\\t\\t\\t+ \\\"' unknown or not an array.\\\", stok);\\r\\n\\t\\t}\\r\\n\\t\\t//PTArray theArray = (PTArray) ptgo;\\r\\n\\t\\tPTArray theArray = (PTArray) objectMap.get(arrayID);\\r\\n\\t\\t\\r\\n\\t\\tint fromRange = 0;\\r\\n\\t\\tint toRange = getObjectProperties().getIntProperty(targetArray + \\\".length\\\") - 1;\\r\\n\\t\\tif (ParseSupport.parseOptionalWord(stok, colorType + \\\" keyword 'position'\\\",\\r\\n\\t\\t\\t\\t\\\"position\\\")) {\\r\\n\\t\\t\\tfromRange = ParseSupport.parseInt(stok, colorType + \\\" array index\\\",\\r\\n\\t\\t\\t\\t\\t0, getObjectProperties().getIntProperty(targetArray + \\\".length\\\", 0));\\r\\n\\t\\t\\ttoRange = fromRange;\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tif (ParseSupport.parseOptionalWord(stok, colorType\\r\\n\\t\\t\\t\\t\\t+ \\\" cell/element range keyword 'from'\\\", \\\"from\\\")) {\\r\\n\\t\\t\\t\\tfromRange = ParseSupport.parseInt(stok, colorType + \\\" array index\\\", 0,\\r\\n\\t\\t\\t\\t\\t\\tgetObjectProperties().getIntProperty(targetArray + \\\".length\\\"));\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tif (ParseSupport.parseOptionalWord(stok, colorType\\r\\n\\t\\t\\t\\t\\t+ \\\" cell/element range keyword 'to'\\\", \\\"to\\\")) {\\r\\n\\t\\t\\t\\ttoRange = ParseSupport.parseInt(stok, colorType + \\\" array index\\\",\\r\\n\\t\\t\\t\\t\\t\\tfromRange, getObjectProperties().getIntProperty(\\r\\n\\t\\t\\t\\t\\t\\t\\t\\ttargetArray + \\\".length\\\"));\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// System.err.println(\\\"Range: \\\");\\r\\n\\t\\t// for (int ii=0;ii=0){\\r\\n\\t\\t\\tColor c = null;\\r\\n\\t\\t\\tfor(int i=fromRange ; i<=toRange ; i++){\\r\\n\\t\\t\\t\\tif (elemMode) {\\r\\n\\t\\t\\t\\t\\ttheArray.setElemHighlighted(i, highlightMode);\\r\\n\\t\\t\\t\\t\\tc = theArray.getElemColor(i);\\r\\n\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\ttheArray.setHighlighted(i, highlightMode);\\r\\n\\t\\t\\t\\t\\tc = theArray.getCellFillColor(i);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tString method = highlightMode ? \\\"highlight \\\" : \\\"unhighlight \\\";\\r\\n\\t\\t\\tmethod += elemMode ? \\\"elements\\\" : \\\"cells\\\";\\r\\n//\\t\\t\\tmethod = \\\"cellFillColor\\\";\\r\\n\\t\\t\\tmethod += \\\" \\\"+fromRange+\\\" \\\"+toRange;\\r\\n\\t\\t\\tColorChanger colChanger = new ColorChanger(currentStep, theArray.getNum(true), 0,\\r\\n\\t\\t\\t\\t\\tmethod, c);\\r\\n\\t\\t\\t// parse optional timing - is set within the method!\\r\\n\\t\\t\\tAnimalParseSupport.parseTiming(stok, colChanger, \\\"Color\\\");\\r\\n\\t\\t\\t// insert into list of animators\\r\\n\\t\\t\\tBasicParser.addAnimatorToAnimation(colChanger, anim);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tobjectMap.put(theArray.getNum(true), theArray);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7089acfa2314e72301dafc2d2e9d9b3d\",\n \"score\": \"0.46173772\",\n \"text\": \"public final void ruleType() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1894:1: ( ( ( rule__Type__Alternatives ) ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1895:1: ( ( rule__Type__Alternatives ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1895:1: ( ( rule__Type__Alternatives ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1896:1: ( rule__Type__Alternatives )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTypeAccess().getAlternatives()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1897:1: ( rule__Type__Alternatives )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1897:2: rule__Type__Alternatives\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Type__Alternatives_in_ruleType3944);\\r\\n rule__Type__Alternatives();\\r\\n\\r\\n state._fsp--;\\r\\n if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTypeAccess().getAlternatives()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n\\r\\n }\\r\\n catch (RecognitionException re) {\\r\\n reportError(re);\\r\\n recover(input,re);\\r\\n }\\r\\n finally {\\r\\n\\r\\n \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d7a92c789990433abc6c4f9f486fcdd\",\n \"score\": \"0.45957538\",\n \"text\": \"public final void rule__MouseTrigger__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalChessGame.g:420:1: ( ( ( rule__MouseTrigger__MouseAssignment_0 ) ) | ( ( rule__MouseTrigger__Group_1__0 ) ) )\\n int alt4=2;\\n int LA4_0 = input.LA(1);\\n\\n if ( (LA4_0==36) ) {\\n alt4=1;\\n }\\n else if ( (LA4_0==26) ) {\\n alt4=2;\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 4, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt4) {\\n case 1 :\\n // InternalChessGame.g:421:2: ( ( rule__MouseTrigger__MouseAssignment_0 ) )\\n {\\n // InternalChessGame.g:421:2: ( ( rule__MouseTrigger__MouseAssignment_0 ) )\\n // InternalChessGame.g:422:3: ( rule__MouseTrigger__MouseAssignment_0 )\\n {\\n before(grammarAccess.getMouseTriggerAccess().getMouseAssignment_0()); \\n // InternalChessGame.g:423:3: ( rule__MouseTrigger__MouseAssignment_0 )\\n // InternalChessGame.g:423:4: rule__MouseTrigger__MouseAssignment_0\\n {\\n pushFollow(FOLLOW_2);\\n rule__MouseTrigger__MouseAssignment_0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getMouseTriggerAccess().getMouseAssignment_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalChessGame.g:427:2: ( ( rule__MouseTrigger__Group_1__0 ) )\\n {\\n // InternalChessGame.g:427:2: ( ( rule__MouseTrigger__Group_1__0 ) )\\n // InternalChessGame.g:428:3: ( rule__MouseTrigger__Group_1__0 )\\n {\\n before(grammarAccess.getMouseTriggerAccess().getGroup_1()); \\n // InternalChessGame.g:429:3: ( rule__MouseTrigger__Group_1__0 )\\n // InternalChessGame.g:429:4: rule__MouseTrigger__Group_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__MouseTrigger__Group_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getMouseTriggerAccess().getGroup_1()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a237158d37745b51a749fb1315da6aa9\",\n \"score\": \"0.45938593\",\n \"text\": \"public final void ruleAlertLevel() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7216:1: ( ( ( rule__AlertLevel__Alternatives ) ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7217:1: ( ( rule__AlertLevel__Alternatives ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7217:1: ( ( rule__AlertLevel__Alternatives ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7218:1: ( rule__AlertLevel__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getAlertLevelAccess().getAlternatives()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7219:1: ( rule__AlertLevel__Alternatives )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7219:2: rule__AlertLevel__Alternatives\\n {\\n pushFollow(FollowSets000.FOLLOW_rule__AlertLevel__Alternatives_in_ruleAlertLevel15301);\\n rule__AlertLevel__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getAlertLevelAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"baa0653a8cacb4cfea2b834d1f99a3b6\",\n \"score\": \"0.45852727\",\n \"text\": \"public final void rule__PhaseType__ColorTypeAssignment_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalPhases.g:726:1: ( ( ruleCOLORS_TYPE ) )\\n // InternalPhases.g:727:2: ( ruleCOLORS_TYPE )\\n {\\n // InternalPhases.g:727:2: ( ruleCOLORS_TYPE )\\n // InternalPhases.g:728:3: ruleCOLORS_TYPE\\n {\\n before(grammarAccess.getPhaseTypeAccess().getColorTypeCOLORS_TYPEParserRuleCall_2_0()); \\n pushFollow(FOLLOW_2);\\n ruleCOLORS_TYPE();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getPhaseTypeAccess().getColorTypeCOLORS_TYPEParserRuleCall_2_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffa628adcdde1f77f7e8c170c88f6e3c\",\n \"score\": \"0.45837432\",\n \"text\": \"public void nextColor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c12c8cd34f4441232cbc67e5c15db8b\",\n \"score\": \"0.4580642\",\n \"text\": \"Color randomColor(ArrayList possColors) {\\r\\n return possColors.get(this.rand.nextInt(this.numColors));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bbac90c95b7a41cf75dbda5923191fe\",\n \"score\": \"0.45791247\",\n \"text\": \"public final void ruleRelationalOp() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalACLParser.g:521:5: ( ( ( rule__RelationalOp__Alternatives ) ) )\\n // InternalACLParser.g:522:1: ( ( rule__RelationalOp__Alternatives ) )\\n {\\n // InternalACLParser.g:522:1: ( ( rule__RelationalOp__Alternatives ) )\\n // InternalACLParser.g:523:1: ( rule__RelationalOp__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRelationalOpAccess().getAlternatives()); \\n }\\n // InternalACLParser.g:524:1: ( rule__RelationalOp__Alternatives )\\n // InternalACLParser.g:524:2: rule__RelationalOp__Alternatives\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RelationalOp__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRelationalOpAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef6620ee45211f68ff6fbd8b698d2e1a\",\n \"score\": \"0.456916\",\n \"text\": \"public final void rule__TermExpression__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3954:1: ( ( ruleTuple ) | ( ruleListOrComprehension ) | ( ruleBinaryOrComprehension ) | ( ( rule__TermExpression__Group_3__0 ) ) | ( ruleLiteralExpression ) )\\n int alt21=5;\\n switch ( input.LA(1) ) {\\n case 74:\\n {\\n alt21=1;\\n }\\n break;\\n case 78:\\n {\\n alt21=2;\\n }\\n break;\\n case 100:\\n {\\n alt21=3;\\n }\\n break;\\n case 84:\\n {\\n alt21=4;\\n }\\n break;\\n case RULE_ATOM:\\n case RULE_VARIABLE:\\n case RULE_INT:\\n case RULE_BASED_INT:\\n case RULE_STRING:\\n case RULE_CHAR:\\n case 19:\\n case 20:\\n case 21:\\n case 22:\\n case 23:\\n case 24:\\n case 53:\\n case 54:\\n case 55:\\n case 56:\\n case 57:\\n case 58:\\n case 59:\\n case 60:\\n case 61:\\n case 62:\\n case 63:\\n case 64:\\n case 65:\\n case 66:\\n case 67:\\n case 68:\\n {\\n alt21=5;\\n }\\n break;\\n default:\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 21, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt21) {\\n case 1 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3955:1: ( ruleTuple )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3955:1: ( ruleTuple )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3956:1: ruleTuple\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTermExpressionAccess().getTupleParserRuleCall_0()); \\n }\\n pushFollow(FOLLOW_ruleTuple_in_rule__TermExpression__Alternatives8541);\\n ruleTuple();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTermExpressionAccess().getTupleParserRuleCall_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3961:6: ( ruleListOrComprehension )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3961:6: ( ruleListOrComprehension )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3962:1: ruleListOrComprehension\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTermExpressionAccess().getListOrComprehensionParserRuleCall_1()); \\n }\\n pushFollow(FOLLOW_ruleListOrComprehension_in_rule__TermExpression__Alternatives8558);\\n ruleListOrComprehension();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTermExpressionAccess().getListOrComprehensionParserRuleCall_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3967:6: ( ruleBinaryOrComprehension )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3967:6: ( ruleBinaryOrComprehension )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3968:1: ruleBinaryOrComprehension\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTermExpressionAccess().getBinaryOrComprehensionParserRuleCall_2()); \\n }\\n pushFollow(FOLLOW_ruleBinaryOrComprehension_in_rule__TermExpression__Alternatives8575);\\n ruleBinaryOrComprehension();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTermExpressionAccess().getBinaryOrComprehensionParserRuleCall_2()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 4 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3973:6: ( ( rule__TermExpression__Group_3__0 ) )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3973:6: ( ( rule__TermExpression__Group_3__0 ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3974:1: ( rule__TermExpression__Group_3__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTermExpressionAccess().getGroup_3()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3975:1: ( rule__TermExpression__Group_3__0 )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3975:2: rule__TermExpression__Group_3__0\\n {\\n pushFollow(FOLLOW_rule__TermExpression__Group_3__0_in_rule__TermExpression__Alternatives8592);\\n rule__TermExpression__Group_3__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTermExpressionAccess().getGroup_3()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 5 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3979:6: ( ruleLiteralExpression )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3979:6: ( ruleLiteralExpression )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3980:1: ruleLiteralExpression\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTermExpressionAccess().getLiteralExpressionParserRuleCall_4()); \\n }\\n pushFollow(FOLLOW_ruleLiteralExpression_in_rule__TermExpression__Alternatives8610);\\n ruleLiteralExpression();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTermExpressionAccess().getLiteralExpressionParserRuleCall_4()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"576aa31ab19923449c0141edb15904e0\",\n \"score\": \"0.45465514\",\n \"text\": \"public final void rule__CellColor__ColorAssignment_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39900:1: ( ( ruleRGB ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39901:1: ( ruleRGB )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39901:1: ( ruleRGB )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39902:1: ruleRGB\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getCellColorAccess().getColorRGBParserRuleCall_2_0()); \\n }\\n pushFollow(FollowSets003.FOLLOW_ruleRGB_in_rule__CellColor__ColorAssignment_284708);\\n ruleRGB();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getCellColorAccess().getColorRGBParserRuleCall_2_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c90e0e7359e501234fccd87d1fc93251\",\n \"score\": \"0.45422927\",\n \"text\": \"public final void rule__XSwitchExpression__Alternatives_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2740:1: ( ( ( rule__XSwitchExpression__Group_2_0__0 ) ) | ( ( rule__XSwitchExpression__Group_2_1__0 ) ) )\\n int alt22=2;\\n int LA22_0 = input.LA(1);\\n\\n if ( ((LA22_0>=RULE_ID && LA22_0<=RULE_STRING)||LA22_0==22||(LA22_0>=29 && LA22_0<=30)||LA22_0==35||(LA22_0>=38 && LA22_0<=39)||LA22_0==42||LA22_0==51||LA22_0==53||LA22_0==55||(LA22_0>=59 && LA22_0<=61)||(LA22_0>=63 && LA22_0<=68)||LA22_0==78) ) {\\n alt22=1;\\n }\\n else if ( (LA22_0==45) ) {\\n int LA22_2 = input.LA(2);\\n\\n if ( (LA22_2==RULE_ID) ) {\\n int LA22_3 = input.LA(3);\\n\\n if ( (LA22_3==56) ) {\\n alt22=2;\\n }\\n else if ( ((LA22_3>=13 && LA22_3<=34)||LA22_3==36||(LA22_3>=44 && LA22_3<=45)||(LA22_3>=48 && LA22_3<=49)||LA22_3==51||LA22_3==62||(LA22_3>=74 && LA22_3<=75)) ) {\\n alt22=1;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 22, 3, input);\\n\\n throw nvae;\\n }\\n }\\n else if ( ((LA22_2>=RULE_HEX && LA22_2<=RULE_STRING)||LA22_2==22||(LA22_2>=29 && LA22_2<=30)||LA22_2==35||(LA22_2>=38 && LA22_2<=39)||LA22_2==42||LA22_2==45||LA22_2==51||LA22_2==53||LA22_2==55||(LA22_2>=59 && LA22_2<=61)||(LA22_2>=63 && LA22_2<=68)||LA22_2==78) ) {\\n alt22=1;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 22, 2, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 22, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt22) {\\n case 1 :\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2741:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\\n {\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2741:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2742:1: ( rule__XSwitchExpression__Group_2_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \\n }\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2743:1: ( rule__XSwitchExpression__Group_2_0__0 )\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2743:2: rule__XSwitchExpression__Group_2_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0_in_rule__XSwitchExpression__Alternatives_25931);\\n rule__XSwitchExpression__Group_2_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2747:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\\n {\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2747:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2748:1: ( rule__XSwitchExpression__Group_2_1__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \\n }\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2749:1: ( rule__XSwitchExpression__Group_2_1__0 )\\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2749:2: rule__XSwitchExpression__Group_2_1__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0_in_rule__XSwitchExpression__Alternatives_25949);\\n rule__XSwitchExpression__Group_2_1__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36c932fcc0ff92029cdf1e3a2ee5d344\",\n \"score\": \"0.45186722\",\n \"text\": \"private void blueButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_blueButtonActionPerformed\\n round++;\\n if( \\\"BLUE\\\".equals(wordColor)){\\n score += 100;\\n }\\n randomize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"144f9d04a148db834494a4e49227d3ec\",\n \"score\": \"0.45175162\",\n \"text\": \"public final void ruleType() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3258:2: ( ( ( rule__Type__Alternatives ) ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3259:1: ( ( rule__Type__Alternatives ) )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3259:1: ( ( rule__Type__Alternatives ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3260:1: ( rule__Type__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTypeAccess().getAlternatives()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3261:1: ( rule__Type__Alternatives )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3261:2: rule__Type__Alternatives\\n {\\n pushFollow(FOLLOW_rule__Type__Alternatives_in_ruleType6902);\\n rule__Type__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTypeAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e875d809877368a6d7368cac277574a7\",\n \"score\": \"0.45140576\",\n \"text\": \"public final void ruleOperator() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:297:2: ( ( ( rule__Operator__Alternatives ) ) )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:298:1: ( ( rule__Operator__Alternatives ) )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:298:1: ( ( rule__Operator__Alternatives ) )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:299:1: ( rule__Operator__Alternatives )\\n {\\n before(grammarAccess.getOperatorAccess().getAlternatives()); \\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:300:1: ( rule__Operator__Alternatives )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:300:2: rule__Operator__Alternatives\\n {\\n pushFollow(FOLLOW_rule__Operator__Alternatives_in_ruleOperator575);\\n rule__Operator__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getOperatorAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b35faddcd5b2f6e6cdd4e52839a1e62\",\n \"score\": \"0.45076346\",\n \"text\": \"public final void rule__COLORS_TYPE__NameAssignment_0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalPhases.g:775:1: ( ( ( 'COLORS' ) ) )\\n // InternalPhases.g:776:2: ( ( 'COLORS' ) )\\n {\\n // InternalPhases.g:776:2: ( ( 'COLORS' ) )\\n // InternalPhases.g:777:3: ( 'COLORS' )\\n {\\n before(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \\n // InternalPhases.g:778:3: ( 'COLORS' )\\n // InternalPhases.g:779:4: 'COLORS'\\n {\\n before(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \\n match(input,17,FOLLOW_2); \\n after(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \\n\\n }\\n\\n after(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae0011d41954b7082ac9b74a68f7e500\",\n \"score\": \"0.45074177\",\n \"text\": \"public final void rule__MobaRegexpConstraint__Alternatives_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMoba.g:3110:1: ( ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) ) | ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) ) )\\n int alt40=2;\\n int LA40_0 = input.LA(1);\\n\\n if ( (LA40_0==RULE_STRING) ) {\\n alt40=1;\\n }\\n else if ( (LA40_0==RULE_CONSTANT) ) {\\n alt40=2;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 40, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt40) {\\n case 1 :\\n // InternalMoba.g:3111:2: ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) )\\n {\\n // InternalMoba.g:3111:2: ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) )\\n // InternalMoba.g:3112:3: ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getMobaRegexpConstraintAccess().getFilterStringAssignment_2_0()); \\n }\\n // InternalMoba.g:3113:3: ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 )\\n // InternalMoba.g:3113:4: rule__MobaRegexpConstraint__FilterStringAssignment_2_0\\n {\\n pushFollow(FOLLOW_2);\\n rule__MobaRegexpConstraint__FilterStringAssignment_2_0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getMobaRegexpConstraintAccess().getFilterStringAssignment_2_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalMoba.g:3117:2: ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) )\\n {\\n // InternalMoba.g:3117:2: ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) )\\n // InternalMoba.g:3118:3: ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getMobaRegexpConstraintAccess().getFilterConstAssignment_2_1()); \\n }\\n // InternalMoba.g:3119:3: ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 )\\n // InternalMoba.g:3119:4: rule__MobaRegexpConstraint__FilterConstAssignment_2_1\\n {\\n pushFollow(FOLLOW_2);\\n rule__MobaRegexpConstraint__FilterConstAssignment_2_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getMobaRegexpConstraintAccess().getFilterConstAssignment_2_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc4c9bd11cb71575fb29984031b68872\",\n \"score\": \"0.45000005\",\n \"text\": \"public final void ruleDecl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:91:2: ( ( ( rule__Decl__Alternatives ) ) )\\n // InternalGame.g:92:2: ( ( rule__Decl__Alternatives ) )\\n {\\n // InternalGame.g:92:2: ( ( rule__Decl__Alternatives ) )\\n // InternalGame.g:93:3: ( rule__Decl__Alternatives )\\n {\\n before(grammarAccess.getDeclAccess().getAlternatives()); \\n // InternalGame.g:94:3: ( rule__Decl__Alternatives )\\n // InternalGame.g:94:4: rule__Decl__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__Decl__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getDeclAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57acdcb6885f9a6b588cd134023b17e4\",\n \"score\": \"0.44906697\",\n \"text\": \"public void makeGuessEyeColor(String guess) {\\n ArrayList temp = new ArrayList<>();\\r\\n switch (guess) {\\r\\n case \\\"black\\\":\\r\\n if(guess.equals(game.getChosenPerson().getEyeColor())){\\r\\n System.out.println(\\\"The person has black eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getEyeColor().equals(\\\"black\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have black eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getEyeColor().equals(\\\"black\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n case \\\"green\\\":\\r\\n if(guess.equals(game.getChosenPerson().getEyeColor())){\\r\\n System.out.println(\\\"The person has green eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getEyeColor().equals(\\\"green\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have green eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getEyeColor().equals(\\\"green\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n case \\\"blue\\\":\\r\\n if(guess.equals(game.getChosenPerson().getEyeColor())){\\r\\n System.out.println(\\\"The person has blue eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getEyeColor().equals(\\\"blue\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have blue eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getEyeColor().equals(\\\"blue\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n case \\\"brown\\\":\\r\\n if(guess.equals(game.getChosenPerson().getEyeColor())){\\r\\n System.out.println(\\\"The person has brown eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getEyeColor().equals(\\\"brown\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have brown eyes.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getEyeColor().equals(\\\"brown\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n default:\\r\\n break; \\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe0f12e89f9733bf57f43027447c4611\",\n \"score\": \"0.448452\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tString a = JOptionPane.showInputDialog(\\\"Do you know what my least favorite color is?\\\");\\n\\t\\t// 2. If they say \\\"yes\\\", tell them they will rule the world.\\n\\t\\nif(a.equalsIgnoreCase(\\\"Orange\\\")) {\\n\\t\\n\\tJOptionPane.showMessageDialog(null, \\\"ORANGE IS THE WORST COLOR OF ALL TIME (in my opinion)\\\");\\n}\\n\\t\\t// 3. Otherwise, wish them good luck washing dishes.\\nelse { \\n\\tJOptionPane.showMessageDialog(null,\\\"ay I like dat color\\\");\\n\\n\\n\\n}\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc609b22e27588dfb42b925203957d15\",\n \"score\": \"0.44776347\",\n \"text\": \"public ASSColor(String color){\\r\\n\\t\\tPattern pattern = Pattern.compile(\\\"^&h[0-9a-f]{8}$\\\",Pattern.CASE_INSENSITIVE);\\r\\n\\t\\tMatcher matcher = pattern.matcher(color);\\r\\n\\t\\tboolean match = matcher.matches();\\r\\n\\t\\tif (match) {\\r\\n\\t\\t\\ta = Integer.parseInt(color.substring(2, 3),16);\\r\\n\\t\\t\\tb = Integer.parseInt(color.substring(4, 5),16);\\r\\n\\t\\t\\tg = Integer.parseInt(color.substring(6, 7),16);\\r\\n\\t\\t\\tr = Integer.parseInt(color.substring(8, 9),16);\\r\\n\\t\\t\\t// swap red and blue component\\r\\n\\t\\t\\tint nb = r;\\r\\n\\t\\t\\tint nr = b;\\r\\n\\t\\t\\tb = nb;\\r\\n\\t\\t\\tr = nr;\\r\\n\\t\\t\\t// invert alpha value\\r\\n\\t\\t\\ta = 255 - a;\\r\\n\\t\\t\\tif(a!=255) {\\r\\n\\t\\t\\t\\thasAlpha = true; \\r\\n\\t\\t\\t}\\r\\n\\t\\t}else{\\r\\n\\t\\t\\t// excepiton\\r\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"the format of color notation is wrong!\\\");\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"accb5903d29215f2806be0755f320335\",\n \"score\": \"0.447592\",\n \"text\": \"private void redButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_redButtonActionPerformed\\n round++;\\n if( \\\"RED\\\".equals(wordColor)){\\n score += 100;\\n }\\n randomize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b447f9afebe76a5b6b9c3cfc245a1f9\",\n \"score\": \"0.4461677\",\n \"text\": \"@Test\\n\\tpublic void testMoveColorRecognition() {\\n\\t\\tgame2.setCurrentColor(Arrays.asList(\\\"move S all 14\\\".split(\\\"[\\\\\\\\s']\\\")));\\n\\t\\tassertTrue(game2.currentColor.equals(\\\"all\\\"));\\n\\t\\tgame2.setCurrentColor(Arrays.asList(\\\"move B green 21\\\".split(\\\"[\\\\\\\\s']\\\")));\\n\\t\\tassertTrue(game2.currentColor.equals(\\\"green\\\"));\\n\\t\\tgame2.setCurrentColor(Arrays.asList(\\\"move 4 purple 12\\\".split(\\\"[\\\\\\\\s']\\\")));\\n\\t\\tassertTrue(game2.currentColor.equals(\\\"purple\\\"));\\n\\t\\tgame2.setCurrentColor(Arrays.asList(\\\"move 2 yellow 6\\\".split(\\\"[\\\\\\\\s']\\\")));\\n\\t\\tassertTrue(game2.currentColor.equals(\\\"yellow\\\"));\\n\\t\\tgame2.setCurrentColor(Arrays.asList(\\\"move 4 grey 3\\\".split(\\\"[\\\\\\\\s']\\\")));\\n\\t\\t//Should not be set, as grey is invalid. Thus, old setting should remain.\\n\\t\\tassertTrue(game2.currentColor.equals(\\\"yellow\\\"));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"435281ef9e35a19f0cbbee345a0ef0d1\",\n \"score\": \"0.44471064\",\n \"text\": \"public final void rule__AddExpr__OpAssignment_1_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:5231:1: ( ( ( rule__AddExpr__OpAlternatives_1_1_0 ) ) )\\n // InternalGame.g:5232:2: ( ( rule__AddExpr__OpAlternatives_1_1_0 ) )\\n {\\n // InternalGame.g:5232:2: ( ( rule__AddExpr__OpAlternatives_1_1_0 ) )\\n // InternalGame.g:5233:3: ( rule__AddExpr__OpAlternatives_1_1_0 )\\n {\\n before(grammarAccess.getAddExprAccess().getOpAlternatives_1_1_0()); \\n // InternalGame.g:5234:3: ( rule__AddExpr__OpAlternatives_1_1_0 )\\n // InternalGame.g:5234:4: rule__AddExpr__OpAlternatives_1_1_0\\n {\\n pushFollow(FOLLOW_2);\\n rule__AddExpr__OpAlternatives_1_1_0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getAddExprAccess().getOpAlternatives_1_1_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d96f732084fdc92af34c5cd03150aebe\",\n \"score\": \"0.44458318\",\n \"text\": \"private void greenButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_greenButtonActionPerformed\\n round++;\\n if( \\\"GREEN\\\".equals(wordColor)){\\n score += 100;\\n }\\n randomize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4571150b9b60a70abc5bbf6d4e1b7cd\",\n \"score\": \"0.44456154\",\n \"text\": \"public final void entryRuleRGB() throws RecognitionException {\\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4380:1: ( ruleRGB EOF )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4381:1: ruleRGB EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRGBRule()); \\n }\\n pushFollow(FollowSets000.FOLLOW_ruleRGB_in_entryRuleRGB9310);\\n ruleRGB();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRGBRule()); \\n }\\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRGB9317); if (state.failed) return ;\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39a0ad320ceb28df5e58bc99c380e946\",\n \"score\": \"0.443857\",\n \"text\": \"public final void ruleRGB() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4392:2: ( ( ( rule__RGB__ValueAssignment ) ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4393:1: ( ( rule__RGB__ValueAssignment ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4393:1: ( ( rule__RGB__ValueAssignment ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4394:1: ( rule__RGB__ValueAssignment )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRGBAccess().getValueAssignment()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4395:1: ( rule__RGB__ValueAssignment )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4395:2: rule__RGB__ValueAssignment\\n {\\n pushFollow(FollowSets000.FOLLOW_rule__RGB__ValueAssignment_in_ruleRGB9343);\\n rule__RGB__ValueAssignment();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRGBAccess().getValueAssignment()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b276c44f17ae1ee23a0d189d0d71de65\",\n \"score\": \"0.44230494\",\n \"text\": \"SELF choose(Function, ChooseSyntax.End> choose);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dc0678198714df9f2a2c29ee1b19d3c\",\n \"score\": \"0.44191784\",\n \"text\": \"private void yellowButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_yellowButtonActionPerformed\\n round++;\\n if( \\\"YELLOW\\\".equals(wordColor)){\\n score += 100;\\n }\\n randomize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5598672e763c998bce1f4d15531d0b0\",\n \"score\": \"0.44188204\",\n \"text\": \"public String checkColor(String inputColor){\\r\\n\\t\\tfor(int c = 0; c < Constant.COLOR.length; c++){\\r\\n\\t\\t\\tif(inputColor.compareToIgnoreCase(Constant.COLOR[c]) == 0){\\r\\n\\t\\t\\t\\treturn Constant.COLOR[c];\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn \\\"colorless\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b82fbde9050e6337b05ab546a3f8a0f\",\n \"score\": \"0.4412141\",\n \"text\": \"public int randomColor(){\\n return color(random(50,255),random(50,255),random(50,255));\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78d95b8dd6072ac9130cd9e9250d50eb\",\n \"score\": \"0.4403602\",\n \"text\": \"public ASSColor(int r,int g,int b,int a){\\r\\n\\t\\tthis.r = r;\\r\\n\\t\\tthis.g = g;\\r\\n\\t\\tthis.b = b;\\r\\n\\t\\tthis.a = a;\\r\\n\\t\\thasAlpha = true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86a17773bf18d2fe727dae381fe7213f\",\n \"score\": \"0.44004455\",\n \"text\": \"void editColors(int deltaRed, int deltaGreen, int deltaBlue);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"371a163304f27d30d4996454f47bc1a0\",\n \"score\": \"0.43910936\",\n \"text\": \"public final void ruleBlock() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:466:2: ( ( ( rule__Block__Alternatives ) ) )\\n // InternalGame.g:467:2: ( ( rule__Block__Alternatives ) )\\n {\\n // InternalGame.g:467:2: ( ( rule__Block__Alternatives ) )\\n // InternalGame.g:468:3: ( rule__Block__Alternatives )\\n {\\n before(grammarAccess.getBlockAccess().getAlternatives()); \\n // InternalGame.g:469:3: ( rule__Block__Alternatives )\\n // InternalGame.g:469:4: rule__Block__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__Block__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getBlockAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e2b4e6264d9386dee9b5c65e1653324\",\n \"score\": \"0.43898293\",\n \"text\": \"boolean getGamerule(String rule);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bf6daf34cfd3c55c5427b124307e8fe\",\n \"score\": \"0.43817246\",\n \"text\": \"public final void ruleDirection() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1792:1: ( ( ( rule__Direction__Alternatives ) ) )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1793:1: ( ( rule__Direction__Alternatives ) )\\n {\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1793:1: ( ( rule__Direction__Alternatives ) )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1794:1: ( rule__Direction__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getDirectionAccess().getAlternatives()); \\n }\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1795:1: ( rule__Direction__Alternatives )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1795:2: rule__Direction__Alternatives\\n {\\n pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection3752);\\n rule__Direction__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getDirectionAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0e4d72daaab0cf0e29c571c624e0cf8\",\n \"score\": \"0.4381311\",\n \"text\": \"public final void ruleStatement() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1115:2: ( ( ( rule__Statement__Alternatives ) ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1116:1: ( ( rule__Statement__Alternatives ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1116:1: ( ( rule__Statement__Alternatives ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1117:1: ( rule__Statement__Alternatives )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getStatementAccess().getAlternatives()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1118:1: ( rule__Statement__Alternatives )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1118:2: rule__Statement__Alternatives\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Statement__Alternatives_in_ruleStatement2324);\\r\\n rule__Statement__Alternatives();\\r\\n\\r\\n state._fsp--;\\r\\n if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getStatementAccess().getAlternatives()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n\\r\\n }\\r\\n catch (RecognitionException re) {\\r\\n reportError(re);\\r\\n recover(input,re);\\r\\n }\\r\\n finally {\\r\\n\\r\\n \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c1e27366867d54e0db7356ca7cfd476\",\n \"score\": \"0.437298\",\n \"text\": \"private int[] findThreePairPattern(Player player, Game game, int[] colors,Color[] c, int[] exchnageOptions) {\\n\\t\\t if(colors[0] == 2 && colors[1] == 2 && colors[2] == 1 && colors[3] == 1 && player.getNumberOfFavorTokens() >= 2){\\n\\t\\t\\t if(checkSupply(c[2],game)){\\n\\t\\t\\t\\t exchnageOptions[0] = choosePlayerLanternCard(c[3],game,player);\\n\\t\\t\\t\\t exchnageOptions[1] = chooseSupplyLanternCard(c[3],c[2],game,player);\\n\\t\\t\\t }\\n\\t\\t \\t else{\\n\\t\\t \\t\\t exchnageOptions[0] = 9;\\n\\t\\t \\t exchnageOptions[1] = 9;\\n\\t\\t \\t }\\n\\t\\t }\\n\\t\\t else if(colors[0] == 3 && colors[1] == 1 && colors[2] == 1 && player.getNumberOfFavorTokens() >= 2){\\n\\t\\t\\t if(checkSupply(c[0],game)){\\n\\t\\t\\t\\t exchnageOptions[0] = choosePlayerLanternCard(c[1],game,player);\\n\\t\\t\\t\\t exchnageOptions[1] = chooseSupplyLanternCard(c[1],c[0],game,player);\\n\\t\\t\\t }\\n\\t\\t \\t else{\\n\\t\\t \\t\\t exchnageOptions[0] = 9;\\n\\t\\t \\t exchnageOptions[1] = 9;\\n\\t\\t \\t }\\n\\t\\t }\\n\\t\\t else if(colors[0] == 3 && colors[1] == 2 && player.getNumberOfFavorTokens() >= 2){\\n\\t\\t\\t if(checkSupply(c[0],game)){\\n\\t\\t\\t\\t exchnageOptions[0] = choosePlayerLanternCard(c[1],game,player);\\n\\t\\t\\t\\t exchnageOptions[1] = chooseSupplyLanternCard(c[1],c[0],game,player);\\n\\t\\t\\t }\\n\\t\\t \\t else{\\n\\t\\t \\t\\t exchnageOptions[0] = 9;\\n\\t\\t \\t exchnageOptions[1] = 9;\\n\\t\\t \\t }\\n\\t\\t }\\n\\t\\t else if(colors[0] == 2 && colors[1] == 1 && colors[2] == 1 && colors[3] == 1 && colors[4] == 1 && player.getNumberOfFavorTokens() >= 4){\\n\\t\\t\\t if(checkSupply(c[1],game)){\\n\\t\\t\\t\\t exchnageOptions[0] = choosePlayerLanternCard(c[4],game,player);\\n\\t\\t\\t\\t exchnageOptions[1] = chooseSupplyLanternCard(c[4],c[1],game,player);\\n\\t\\t\\t }\\n\\t\\t \\t else{\\n\\t\\t \\t\\t exchnageOptions[0] = 9;\\n\\t\\t \\t exchnageOptions[1] = 9;\\n\\t\\t \\t }\\n\\t\\t }\\n\\t\\t else{\\n\\t\\t\\t exchnageOptions[0] = 9;\\n\\t\\t\\t exchnageOptions[1] = 9;\\n\\t\\t }\\n\\t\\t return exchnageOptions;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a143410d107b79f56f67f05d0b1f8d7\",\n \"score\": \"0.43728152\",\n \"text\": \"public final void rule__Rule__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:808:1: ( ( ( rule__Rule__Alternatives_0 ) ) )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:809:1: ( ( rule__Rule__Alternatives_0 ) )\\n {\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:809:1: ( ( rule__Rule__Alternatives_0 ) )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:810:1: ( rule__Rule__Alternatives_0 )\\n {\\n before(grammarAccess.getRuleAccess().getAlternatives_0()); \\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:811:1: ( rule__Rule__Alternatives_0 )\\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:811:2: rule__Rule__Alternatives_0\\n {\\n pushFollow(FOLLOW_rule__Rule__Alternatives_0_in_rule__Rule__Group__0__Impl1660);\\n rule__Rule__Alternatives_0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getRuleAccess().getAlternatives_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d824f00ab6daaf8a101c0aba34d85c20\",\n \"score\": \"0.4371026\",\n \"text\": \"public final void rule__Tuple__Alternatives_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4247:1: ( ( () ) | ( ( rule__Tuple__Group_1_1__0 ) ) )\\n int alt33=2;\\n int LA33_0 = input.LA(1);\\n\\n if ( (LA33_0==75) ) {\\n alt33=1;\\n }\\n else if ( ((LA33_0>=RULE_ATOM && LA33_0<=RULE_BASED_INT)||(LA33_0>=RULE_STRING && LA33_0<=RULE_CHAR)||(LA33_0>=19 && LA33_0<=24)||(LA33_0>=27 && LA33_0<=28)||(LA33_0>=41 && LA33_0<=42)||(LA33_0>=53 && LA33_0<=68)||LA33_0==71||LA33_0==74||LA33_0==78||(LA33_0>=83 && LA33_0<=84)||LA33_0==86||(LA33_0>=88 && LA33_0<=92)||LA33_0==94||(LA33_0>=96 && LA33_0<=97)||LA33_0==100) ) {\\n alt33=2;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 33, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt33) {\\n case 1 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4248:1: ( () )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4248:1: ( () )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4249:1: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTupleAccess().getErlTupleAction_1_0()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4250:1: ()\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4252:1: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTupleAccess().getErlTupleAction_1_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4256:6: ( ( rule__Tuple__Group_1_1__0 ) )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4256:6: ( ( rule__Tuple__Group_1_1__0 ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4257:1: ( rule__Tuple__Group_1_1__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTupleAccess().getGroup_1_1()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4258:1: ( rule__Tuple__Group_1_1__0 )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4258:2: rule__Tuple__Group_1_1__0\\n {\\n pushFollow(FOLLOW_rule__Tuple__Group_1_1__0_in_rule__Tuple__Alternatives_19253);\\n rule__Tuple__Group_1_1__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTupleAccess().getGroup_1_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"101c0641469048a3e0640ab7f0130fb2\",\n \"score\": \"0.43688762\",\n \"text\": \"public final void ruleWebDriverActionCondition() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalBromium.g:141:2: ( ( ( rule__WebDriverActionCondition__Alternatives ) ) )\\n // InternalBromium.g:142:2: ( ( rule__WebDriverActionCondition__Alternatives ) )\\n {\\n // InternalBromium.g:142:2: ( ( rule__WebDriverActionCondition__Alternatives ) )\\n // InternalBromium.g:143:3: ( rule__WebDriverActionCondition__Alternatives )\\n {\\n before(grammarAccess.getWebDriverActionConditionAccess().getAlternatives()); \\n // InternalBromium.g:144:3: ( rule__WebDriverActionCondition__Alternatives )\\n // InternalBromium.g:144:4: rule__WebDriverActionCondition__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__WebDriverActionCondition__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getWebDriverActionConditionAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2acd5ea885c706b385a4a709a7fb4e85\",\n \"score\": \"0.43435156\",\n \"text\": \"public final void ruleExpression() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:946:2: ( ( ( rule__Expression__Alternatives ) ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:947:1: ( ( rule__Expression__Alternatives ) )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:947:1: ( ( rule__Expression__Alternatives ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:948:1: ( rule__Expression__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getExpressionAccess().getAlternatives()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:949:1: ( rule__Expression__Alternatives )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:949:2: rule__Expression__Alternatives\\n {\\n pushFollow(FOLLOW_rule__Expression__Alternatives_in_ruleExpression1965);\\n rule__Expression__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getExpressionAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bacf2a614522cb4ddb0fd9662cc05795\",\n \"score\": \"0.43421268\",\n \"text\": \"public final void ruleSelectArgument() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7178:1: ( ( ( rule__SelectArgument__Alternatives ) ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7179:1: ( ( rule__SelectArgument__Alternatives ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7179:1: ( ( rule__SelectArgument__Alternatives ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7180:1: ( rule__SelectArgument__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSelectArgumentAccess().getAlternatives()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7181:1: ( rule__SelectArgument__Alternatives )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7181:2: rule__SelectArgument__Alternatives\\n {\\n pushFollow(FollowSets000.FOLLOW_rule__SelectArgument__Alternatives_in_ruleSelectArgument15229);\\n rule__SelectArgument__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSelectArgumentAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14fd7b9605173379554373c8ef550186\",\n \"score\": \"0.43307382\",\n \"text\": \"void announceGameWinner(Color color);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92f914e4beb96069c4a9eb8d1661659c\",\n \"score\": \"0.4325934\",\n \"text\": \"public final void ruleWebDriverAction() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalBromium.g:166:2: ( ( ( rule__WebDriverAction__Alternatives ) ) )\\n // InternalBromium.g:167:2: ( ( rule__WebDriverAction__Alternatives ) )\\n {\\n // InternalBromium.g:167:2: ( ( rule__WebDriverAction__Alternatives ) )\\n // InternalBromium.g:168:3: ( rule__WebDriverAction__Alternatives )\\n {\\n before(grammarAccess.getWebDriverActionAccess().getAlternatives()); \\n // InternalBromium.g:169:3: ( rule__WebDriverAction__Alternatives )\\n // InternalBromium.g:169:4: rule__WebDriverAction__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__WebDriverAction__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getWebDriverActionAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67d8d01ba2b6115bf075030a0c5ed301\",\n \"score\": \"0.432564\",\n \"text\": \"public final void ruleOpCompare() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3160:2: ( ( ( rule__OpCompare__Alternatives ) ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3161:1: ( ( rule__OpCompare__Alternatives ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3161:1: ( ( rule__OpCompare__Alternatives ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3162:1: ( rule__OpCompare__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getOpCompareAccess().getAlternatives()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3163:1: ( rule__OpCompare__Alternatives )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3163:2: rule__OpCompare__Alternatives\\n {\\n pushFollow(FollowSets000.FOLLOW_rule__OpCompare__Alternatives_in_ruleOpCompare6704);\\n rule__OpCompare__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getOpCompareAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b671dce75c109ebff649ccd2f1ecc45f\",\n \"score\": \"0.43222225\",\n \"text\": \"public void gameChoices () {\\r\\n \\tsetFont(new Font(\\\"Times New Roman\\\", Font.BOLD, 24));\\r\\n \\tsetForegroundColor(Color.red);\\r\\n \\tdrawString(\\\" Choices Menu \\\", width/2 - 40, height/2 - 40);\\r\\n \\t\\r\\n \\tsetForegroundColor(Color.white);\\r\\n \\tsetFont(new Font(\\\"Times New Roman\\\", Font.PLAIN, 20));\\r\\n \\tdrawString(\\\" ( 1 ) - Artificial Intelligence \\\", width/2 - 100, height/2);\\r\\n \\tdrawString(\\\" ( 2 ) - Human Player \\\", width/2 - 100, height/2 + 20);\\r\\n \\tdrawString(\\\" ( 3 ) - Human Player vs. AI\\\", width/2 - 100, height/2 + 40);\\r\\n \\tdrawString(\\\" ( 0 ) - QUIT \\\", width/2 - 100, height/2 + 60);\\r\\n \\t\\r\\n \\tsetForegroundColor(Color.red);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"684732dd104bf20fa557fa1ecffa5a96\",\n \"score\": \"0.4318425\",\n \"text\": \"String getplayercolor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72abe2a4bd62baa5451e41544beb05f3\",\n \"score\": \"0.43106127\",\n \"text\": \"@Test\\n public void noSuggestion2() throws Exception {\\n // available default suggestion\\n baseTest( MIN_MARGINS[2],\\n MEDIA_SIZES, MEDIA_SIZES[2], null,\\n // There are only two color modes, hence pick [1]\\n COLOR_MODES, COLOR_MODES[1], 0,\\n DUPLEX_MODES, DUPLEX_MODES[2], 0,\\n RESOLUTIONS, RESOLUTIONS[2], null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfc6289c5215e7235ba1dc537ef2c3d1\",\n \"score\": \"0.43076968\",\n \"text\": \"public final void rule__FontColor__ColorAssignment_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40640:1: ( ( RULE_STRING ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40641:1: ( RULE_STRING )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40641:1: ( RULE_STRING )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40642:1: RULE_STRING\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getFontColorAccess().getColorSTRINGTerminalRuleCall_1_0()); \\n }\\n match(input,RULE_STRING,FollowSets003.FOLLOW_RULE_STRING_in_rule__FontColor__ColorAssignment_186205); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getFontColorAccess().getColorSTRINGTerminalRuleCall_1_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aaccc56d33c8cf00a77bb153b04657f9\",\n \"score\": \"0.43044564\",\n \"text\": \"@Test\\n public void aLiteralDescriptionOfAColorCanBeParsedCorrectly() throws SVGException {\\n\\n cut.setText(\\\"RED\\\");\\n\\n final Paint paint = cut.getValue();\\n\\n assertThat(paint, instanceOf(Color.class));\\n assertEquals(Color.RED, paint);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b10433db9059490e704aa9c17ca886f\",\n \"score\": \"0.4303856\",\n \"text\": \"public final void ruleDirection() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1723:1: ( ( ( rule__Direction__Alternatives ) ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1724:1: ( ( rule__Direction__Alternatives ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1724:1: ( ( rule__Direction__Alternatives ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1725:1: ( rule__Direction__Alternatives )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getDirectionAccess().getAlternatives()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1726:1: ( rule__Direction__Alternatives )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1726:2: rule__Direction__Alternatives\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection3620);\\r\\n rule__Direction__Alternatives();\\r\\n\\r\\n state._fsp--;\\r\\n if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getDirectionAccess().getAlternatives()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n\\r\\n }\\r\\n catch (RecognitionException re) {\\r\\n reportError(re);\\r\\n recover(input,re);\\r\\n }\\r\\n finally {\\r\\n\\r\\n \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01284e1ed3ba089f389c537a44e55391\",\n \"score\": \"0.42998114\",\n \"text\": \"public final void rule__PhaseType__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalPhases.g:231:1: ( ( ( rule__PhaseType__StreetTypeAssignment_0 ) ) | ( ( rule__PhaseType__NumbersTypeAssignment_1 ) ) | ( ( rule__PhaseType__ColorTypeAssignment_2 ) ) )\\n int alt2=3;\\n switch ( input.LA(1) ) {\\n case 18:\\n {\\n alt2=1;\\n }\\n break;\\n case 16:\\n {\\n alt2=2;\\n }\\n break;\\n case 17:\\n {\\n alt2=3;\\n }\\n break;\\n default:\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt2) {\\n case 1 :\\n // InternalPhases.g:232:2: ( ( rule__PhaseType__StreetTypeAssignment_0 ) )\\n {\\n // InternalPhases.g:232:2: ( ( rule__PhaseType__StreetTypeAssignment_0 ) )\\n // InternalPhases.g:233:3: ( rule__PhaseType__StreetTypeAssignment_0 )\\n {\\n before(grammarAccess.getPhaseTypeAccess().getStreetTypeAssignment_0()); \\n // InternalPhases.g:234:3: ( rule__PhaseType__StreetTypeAssignment_0 )\\n // InternalPhases.g:234:4: rule__PhaseType__StreetTypeAssignment_0\\n {\\n pushFollow(FOLLOW_2);\\n rule__PhaseType__StreetTypeAssignment_0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getPhaseTypeAccess().getStreetTypeAssignment_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalPhases.g:238:2: ( ( rule__PhaseType__NumbersTypeAssignment_1 ) )\\n {\\n // InternalPhases.g:238:2: ( ( rule__PhaseType__NumbersTypeAssignment_1 ) )\\n // InternalPhases.g:239:3: ( rule__PhaseType__NumbersTypeAssignment_1 )\\n {\\n before(grammarAccess.getPhaseTypeAccess().getNumbersTypeAssignment_1()); \\n // InternalPhases.g:240:3: ( rule__PhaseType__NumbersTypeAssignment_1 )\\n // InternalPhases.g:240:4: rule__PhaseType__NumbersTypeAssignment_1\\n {\\n pushFollow(FOLLOW_2);\\n rule__PhaseType__NumbersTypeAssignment_1();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getPhaseTypeAccess().getNumbersTypeAssignment_1()); \\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // InternalPhases.g:244:2: ( ( rule__PhaseType__ColorTypeAssignment_2 ) )\\n {\\n // InternalPhases.g:244:2: ( ( rule__PhaseType__ColorTypeAssignment_2 ) )\\n // InternalPhases.g:245:3: ( rule__PhaseType__ColorTypeAssignment_2 )\\n {\\n before(grammarAccess.getPhaseTypeAccess().getColorTypeAssignment_2()); \\n // InternalPhases.g:246:3: ( rule__PhaseType__ColorTypeAssignment_2 )\\n // InternalPhases.g:246:4: rule__PhaseType__ColorTypeAssignment_2\\n {\\n pushFollow(FOLLOW_2);\\n rule__PhaseType__ColorTypeAssignment_2();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getPhaseTypeAccess().getColorTypeAssignment_2()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bedae08ff3fb80629ccd6f562bff3bc2\",\n \"score\": \"0.42974672\",\n \"text\": \"public void wishColor(Card.colors colorWish) {\\n lastCardColor = colorWish;\\n lastCardValue = Card.values.CHOOSE_COLOR;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50763cba13eaea704cb8a2c28db0c914\",\n \"score\": \"0.42930248\",\n \"text\": \"private String ChooseColor (String[] userData ,double rssi)\\r\\n\\t{\\r\\n\\t\\tif(rssi < -90)\\r\\n\\t\\t{\\r\\n\\t\\t\\treturn \\\"#green\\\";\\r\\n\\t\\t}\\r\\n\\t\\telse\\r\\n\\t\\t{\\r\\n\\t\\t\\treturn \\\"#red\\\";\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e215bd0583d9873c7f75f4adb9bffe7\",\n \"score\": \"0.42914292\",\n \"text\": \"public final void ruleElement() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:101:2: ( ( ( rule__Element__Alternatives ) ) )\\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:102:1: ( ( rule__Element__Alternatives ) )\\n {\\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:102:1: ( ( rule__Element__Alternatives ) )\\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:103:1: ( rule__Element__Alternatives )\\n {\\n before(grammarAccess.getElementAccess().getAlternatives()); \\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:104:1: ( rule__Element__Alternatives )\\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:104:2: rule__Element__Alternatives\\n {\\n pushFollow(FOLLOW_rule__Element__Alternatives_in_ruleElement154);\\n rule__Element__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getElementAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa656caf04e4250bd981b403db476e34\",\n \"score\": \"0.4291403\",\n \"text\": \"public final void rule__RelExpr__OpAssignment_1_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:5201:1: ( ( ( rule__RelExpr__OpAlternatives_1_1_0 ) ) )\\n // InternalGame.g:5202:2: ( ( rule__RelExpr__OpAlternatives_1_1_0 ) )\\n {\\n // InternalGame.g:5202:2: ( ( rule__RelExpr__OpAlternatives_1_1_0 ) )\\n // InternalGame.g:5203:3: ( rule__RelExpr__OpAlternatives_1_1_0 )\\n {\\n before(grammarAccess.getRelExprAccess().getOpAlternatives_1_1_0()); \\n // InternalGame.g:5204:3: ( rule__RelExpr__OpAlternatives_1_1_0 )\\n // InternalGame.g:5204:4: rule__RelExpr__OpAlternatives_1_1_0\\n {\\n pushFollow(FOLLOW_2);\\n rule__RelExpr__OpAlternatives_1_1_0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getRelExprAccess().getOpAlternatives_1_1_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e07023d8d5e8c14e7c6e8a8dfd6b4c28\",\n \"score\": \"0.42898706\",\n \"text\": \"public final void rule__ReactionEffect__ActionsAssignment_2_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10165:1: ( ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) ) )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10166:1: ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) )\\n {\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10166:1: ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10167:1: ( rule__ReactionEffect__ActionsAlternatives_2_1_0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getReactionEffectAccess().getActionsAlternatives_2_1_0()); \\n }\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10168:1: ( rule__ReactionEffect__ActionsAlternatives_2_1_0 )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10168:2: rule__ReactionEffect__ActionsAlternatives_2_1_0\\n {\\n pushFollow(FOLLOW_rule__ReactionEffect__ActionsAlternatives_2_1_0_in_rule__ReactionEffect__ActionsAssignment_2_120673);\\n rule__ReactionEffect__ActionsAlternatives_2_1_0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getReactionEffectAccess().getActionsAlternatives_2_1_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05eb7b0028e7a309a222363d3083c6bd\",\n \"score\": \"0.4285557\",\n \"text\": \"public final void rule__WebDriverAction__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalBromium.g:502:1: ( ( ruleClickCssSelector ) | ( ruleClickClassByText ) | ( rulePageLoad ) | ( ruleTypeTextInElementFoundByCssSelector ) )\\n int alt2=4;\\n switch ( input.LA(1) ) {\\n case 32:\\n {\\n int LA2_1 = input.LA(2);\\n\\n if ( (LA2_1==33) ) {\\n int LA2_4 = input.LA(3);\\n\\n if ( (LA2_4==27) ) {\\n int LA2_5 = input.LA(4);\\n\\n if ( (LA2_5==28) ) {\\n int LA2_6 = input.LA(5);\\n\\n if ( (LA2_6==43) ) {\\n alt2=2;\\n }\\n else if ( (LA2_6==29) ) {\\n alt2=1;\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 6, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 5, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 4, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 1, input);\\n\\n throw nvae;\\n }\\n }\\n break;\\n case 34:\\n {\\n alt2=3;\\n }\\n break;\\n case 35:\\n {\\n alt2=4;\\n }\\n break;\\n default:\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 2, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt2) {\\n case 1 :\\n // InternalBromium.g:503:2: ( ruleClickCssSelector )\\n {\\n // InternalBromium.g:503:2: ( ruleClickCssSelector )\\n // InternalBromium.g:504:3: ruleClickCssSelector\\n {\\n before(grammarAccess.getWebDriverActionAccess().getClickCssSelectorParserRuleCall_0()); \\n pushFollow(FOLLOW_2);\\n ruleClickCssSelector();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getWebDriverActionAccess().getClickCssSelectorParserRuleCall_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalBromium.g:509:2: ( ruleClickClassByText )\\n {\\n // InternalBromium.g:509:2: ( ruleClickClassByText )\\n // InternalBromium.g:510:3: ruleClickClassByText\\n {\\n before(grammarAccess.getWebDriverActionAccess().getClickClassByTextParserRuleCall_1()); \\n pushFollow(FOLLOW_2);\\n ruleClickClassByText();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getWebDriverActionAccess().getClickClassByTextParserRuleCall_1()); \\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // InternalBromium.g:515:2: ( rulePageLoad )\\n {\\n // InternalBromium.g:515:2: ( rulePageLoad )\\n // InternalBromium.g:516:3: rulePageLoad\\n {\\n before(grammarAccess.getWebDriverActionAccess().getPageLoadParserRuleCall_2()); \\n pushFollow(FOLLOW_2);\\n rulePageLoad();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getWebDriverActionAccess().getPageLoadParserRuleCall_2()); \\n\\n }\\n\\n\\n }\\n break;\\n case 4 :\\n // InternalBromium.g:521:2: ( ruleTypeTextInElementFoundByCssSelector )\\n {\\n // InternalBromium.g:521:2: ( ruleTypeTextInElementFoundByCssSelector )\\n // InternalBromium.g:522:3: ruleTypeTextInElementFoundByCssSelector\\n {\\n before(grammarAccess.getWebDriverActionAccess().getTypeTextInElementFoundByCssSelectorParserRuleCall_3()); \\n pushFollow(FOLLOW_2);\\n ruleTypeTextInElementFoundByCssSelector();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getWebDriverActionAccess().getTypeTextInElementFoundByCssSelectorParserRuleCall_3()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74b2eff3cef2d527d923ac1ac276fdc2\",\n \"score\": \"0.42823324\",\n \"text\": \"java.lang.String getColor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74b2eff3cef2d527d923ac1ac276fdc2\",\n \"score\": \"0.42823324\",\n \"text\": \"java.lang.String getColor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"312e19e91522f882d7cff541edb67d87\",\n \"score\": \"0.42815986\",\n \"text\": \"@Override\\n\\tpublic void visit(ChoicePEG n) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f091bf9942633ef204072cfdce9c43a\",\n \"score\": \"0.42762157\",\n \"text\": \"private Color chooseColor() {\\n if (listMessageReceive.size() > 10) {\\n return Color.red;\\n }\\n if (listMessageReceive.size() > 2) {\\n return Color.orange;\\n }\\n if (listMessageReceive.size() > 0) {\\n return Color.green;\\n }\\n\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"606c03cbb7a15db2a8bb03ef78cec81c\",\n \"score\": \"0.4273987\",\n \"text\": \"public final void ruleTimeEventType() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1811:1: ( ( ( rule__TimeEventType__Alternatives ) ) )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1812:1: ( ( rule__TimeEventType__Alternatives ) )\\n {\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1812:1: ( ( rule__TimeEventType__Alternatives ) )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1813:1: ( rule__TimeEventType__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \\n }\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1814:1: ( rule__TimeEventType__Alternatives )\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1814:2: rule__TimeEventType__Alternatives\\n {\\n pushFollow(FOLLOW_rule__TimeEventType__Alternatives_in_ruleTimeEventType3788);\\n rule__TimeEventType__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c7af751b0c170ad004ae2c19a688a41\",\n \"score\": \"0.426763\",\n \"text\": \"public final void mT__178() throws RecognitionException {\\n try {\\n int _type = T__178;\\n int _channel = DEFAULT_TOKEN_CHANNEL;\\n // InternalPub.g:172:8: ( 'blue' )\\n // InternalPub.g:172:10: 'blue'\\n {\\n match(\\\"blue\\\"); \\n\\n\\n }\\n\\n state.type = _type;\\n state.channel = _channel;\\n }\\n finally {\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7e62c5011bb01aed37d20cf66d5739e\",\n \"score\": \"0.42673346\",\n \"text\": \"public final void ruleNAME() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2714:2: ( ( ( rule__NAME__Alternatives ) ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2715:1: ( ( rule__NAME__Alternatives ) )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2715:1: ( ( rule__NAME__Alternatives ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2716:1: ( rule__NAME__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getNAMEAccess().getAlternatives()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2717:1: ( rule__NAME__Alternatives )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2717:2: rule__NAME__Alternatives\\n {\\n pushFollow(FOLLOW_rule__NAME__Alternatives_in_ruleNAME5749);\\n rule__NAME__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getNAMEAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adf0b3c8b4a3c24d81d81815c10c4ce0\",\n \"score\": \"0.4259497\",\n \"text\": \"private void acceptColors(EntityState state){\\n // implement\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02958a2fd9aa2ff91a30e5dda4b877c2\",\n \"score\": \"0.42572328\",\n \"text\": \"public final void rule__FeatureEdgeKind__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalFml.g:5965:1: ( ( ( 'mand' ) ) | ( ( 'opt' ) ) | ( ( 'Xor' ) ) | ( ( 'Or' ) ) | ( ( 'Mutex' ) ) )\\n int alt62=5;\\n switch ( input.LA(1) ) {\\n case 74:\\n {\\n alt62=1;\\n }\\n break;\\n case 75:\\n {\\n alt62=2;\\n }\\n break;\\n case 76:\\n {\\n alt62=3;\\n }\\n break;\\n case 77:\\n {\\n alt62=4;\\n }\\n break;\\n case 78:\\n {\\n alt62=5;\\n }\\n break;\\n default:\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 62, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt62) {\\n case 1 :\\n // InternalFml.g:5966:2: ( ( 'mand' ) )\\n {\\n // InternalFml.g:5966:2: ( ( 'mand' ) )\\n // InternalFml.g:5967:3: ( 'mand' )\\n {\\n before(grammarAccess.getFeatureEdgeKindAccess().getMANDATORYEnumLiteralDeclaration_0()); \\n // InternalFml.g:5968:3: ( 'mand' )\\n // InternalFml.g:5968:4: 'mand'\\n {\\n match(input,74,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getFeatureEdgeKindAccess().getMANDATORYEnumLiteralDeclaration_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalFml.g:5972:2: ( ( 'opt' ) )\\n {\\n // InternalFml.g:5972:2: ( ( 'opt' ) )\\n // InternalFml.g:5973:3: ( 'opt' )\\n {\\n before(grammarAccess.getFeatureEdgeKindAccess().getOPTIONALEnumLiteralDeclaration_1()); \\n // InternalFml.g:5974:3: ( 'opt' )\\n // InternalFml.g:5974:4: 'opt'\\n {\\n match(input,75,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getFeatureEdgeKindAccess().getOPTIONALEnumLiteralDeclaration_1()); \\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // InternalFml.g:5978:2: ( ( 'Xor' ) )\\n {\\n // InternalFml.g:5978:2: ( ( 'Xor' ) )\\n // InternalFml.g:5979:3: ( 'Xor' )\\n {\\n before(grammarAccess.getFeatureEdgeKindAccess().getALTERNATIVEEnumLiteralDeclaration_2()); \\n // InternalFml.g:5980:3: ( 'Xor' )\\n // InternalFml.g:5980:4: 'Xor'\\n {\\n match(input,76,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getFeatureEdgeKindAccess().getALTERNATIVEEnumLiteralDeclaration_2()); \\n\\n }\\n\\n\\n }\\n break;\\n case 4 :\\n // InternalFml.g:5984:2: ( ( 'Or' ) )\\n {\\n // InternalFml.g:5984:2: ( ( 'Or' ) )\\n // InternalFml.g:5985:3: ( 'Or' )\\n {\\n before(grammarAccess.getFeatureEdgeKindAccess().getOREnumLiteralDeclaration_3()); \\n // InternalFml.g:5986:3: ( 'Or' )\\n // InternalFml.g:5986:4: 'Or'\\n {\\n match(input,77,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getFeatureEdgeKindAccess().getOREnumLiteralDeclaration_3()); \\n\\n }\\n\\n\\n }\\n break;\\n case 5 :\\n // InternalFml.g:5990:2: ( ( 'Mutex' ) )\\n {\\n // InternalFml.g:5990:2: ( ( 'Mutex' ) )\\n // InternalFml.g:5991:3: ( 'Mutex' )\\n {\\n before(grammarAccess.getFeatureEdgeKindAccess().getMUTEXEnumLiteralDeclaration_4()); \\n // InternalFml.g:5992:3: ( 'Mutex' )\\n // InternalFml.g:5992:4: 'Mutex'\\n {\\n match(input,78,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getFeatureEdgeKindAccess().getMUTEXEnumLiteralDeclaration_4()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48cfbdf072c3f0b9629d67572075241c\",\n \"score\": \"0.4253592\",\n \"text\": \"void onColorChange(String color);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31c5870265f2b682c2f72a81baa923b2\",\n \"score\": \"0.42516857\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.Boolean isChoiceTerm2Avl();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec1a4d8ecfcc23e9b8dc8c7f3f518256\",\n \"score\": \"0.42481196\",\n \"text\": \"public final void ruleCriterionDirection() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7100:1: ( ( ( rule__CriterionDirection__Alternatives ) ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7101:1: ( ( rule__CriterionDirection__Alternatives ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7101:1: ( ( rule__CriterionDirection__Alternatives ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7102:1: ( rule__CriterionDirection__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getCriterionDirectionAccess().getAlternatives()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7103:1: ( rule__CriterionDirection__Alternatives )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7103:2: rule__CriterionDirection__Alternatives\\n {\\n pushFollow(FollowSets000.FOLLOW_rule__CriterionDirection__Alternatives_in_ruleCriterionDirection15083);\\n rule__CriterionDirection__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getCriterionDirectionAccess().getAlternatives()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6200e4b6518f6407dc75744f2bee6dd\",\n \"score\": \"0.4247557\",\n \"text\": \"public final void ruleComparisonOperator() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalFml.g:3751:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) )\\n // InternalFml.g:3752:2: ( ( rule__ComparisonOperator__Alternatives ) )\\n {\\n // InternalFml.g:3752:2: ( ( rule__ComparisonOperator__Alternatives ) )\\n // InternalFml.g:3753:3: ( rule__ComparisonOperator__Alternatives )\\n {\\n before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); \\n // InternalFml.g:3754:3: ( rule__ComparisonOperator__Alternatives )\\n // InternalFml.g:3754:4: rule__ComparisonOperator__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__ComparisonOperator__Alternatives();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); \\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37a98ee0e18605563b517f503acdbfb0\",\n \"score\": \"0.4245953\",\n \"text\": \"public Color callColor(List hand) {\\r\\n\\r\\n double bestColor = 0;\\r\\n double currentColor;\\r\\n UnoPlayer.Color which = UnoPlayer.Color.NONE;\\r\\n\\r\\n int totalRed = 0;\\r\\n int totalBlue = 0;\\r\\n int totalYellow = 0;\\r\\n int totalGreen = 0;\\r\\n int totalPain = 0;\\r\\n for (int i = 0; i < hand.size(); i++){\\r\\n switch (hand.get(i).getColor()){\\r\\n case RED:\\r\\n totalRed++;\\r\\n break;\\r\\n case BLUE:\\r\\n totalBlue++;\\r\\n break;\\r\\n case YELLOW:\\r\\n totalYellow++;\\r\\n break;\\r\\n case GREEN:\\r\\n totalGreen++;\\r\\n break;\\r\\n case NONE:\\r\\n totalPain++;\\r\\n break;\\r\\n }\\r\\n }\\r\\n int compareColor[] = {totalRed, totalBlue, totalYellow, totalGreen};\\r\\n for (int i = 0; i < compareColor.length; i++){\\r\\n if (compareColor[i] > bestColor){\\r\\n bestColor = compareColor[i];\\r\\n }\\r\\n }\\r\\n if (bestColor == totalRed){\\r\\n return UnoPlayer.Color.RED;\\r\\n }\\r\\n if (bestColor == totalGreen){\\r\\n return UnoPlayer.Color.GREEN;\\r\\n }\\r\\n if (bestColor == totalBlue){\\r\\n return UnoPlayer.Color.BLUE;\\r\\n }\\r\\n if (bestColor == totalYellow){\\r\\n return UnoPlayer.Color.YELLOW;\\r\\n }\\r\\n return null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f558dadb7e99de7c37323be65402c0eb\",\n \"score\": \"0.42450154\",\n \"text\": \"public final void rule__AutoConfMode__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalFml.g:6310:1: ( ( ( 'RANDOM' ) ) | ( ( 'MAX' ) ) | ( ( 'MIN' ) ) )\\n int alt73=3;\\n switch ( input.LA(1) ) {\\n case 115:\\n {\\n alt73=1;\\n }\\n break;\\n case 116:\\n {\\n alt73=2;\\n }\\n break;\\n case 117:\\n {\\n alt73=3;\\n }\\n break;\\n default:\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 73, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt73) {\\n case 1 :\\n // InternalFml.g:6311:2: ( ( 'RANDOM' ) )\\n {\\n // InternalFml.g:6311:2: ( ( 'RANDOM' ) )\\n // InternalFml.g:6312:3: ( 'RANDOM' )\\n {\\n before(grammarAccess.getAutoConfModeAccess().getRANDOMEnumLiteralDeclaration_0()); \\n // InternalFml.g:6313:3: ( 'RANDOM' )\\n // InternalFml.g:6313:4: 'RANDOM'\\n {\\n match(input,115,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getAutoConfModeAccess().getRANDOMEnumLiteralDeclaration_0()); \\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalFml.g:6317:2: ( ( 'MAX' ) )\\n {\\n // InternalFml.g:6317:2: ( ( 'MAX' ) )\\n // InternalFml.g:6318:3: ( 'MAX' )\\n {\\n before(grammarAccess.getAutoConfModeAccess().getMAXEnumLiteralDeclaration_1()); \\n // InternalFml.g:6319:3: ( 'MAX' )\\n // InternalFml.g:6319:4: 'MAX'\\n {\\n match(input,116,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getAutoConfModeAccess().getMAXEnumLiteralDeclaration_1()); \\n\\n }\\n\\n\\n }\\n break;\\n case 3 :\\n // InternalFml.g:6323:2: ( ( 'MIN' ) )\\n {\\n // InternalFml.g:6323:2: ( ( 'MIN' ) )\\n // InternalFml.g:6324:3: ( 'MIN' )\\n {\\n before(grammarAccess.getAutoConfModeAccess().getMINEnumLiteralDeclaration_2()); \\n // InternalFml.g:6325:3: ( 'MIN' )\\n // InternalFml.g:6325:4: 'MIN'\\n {\\n match(input,117,FOLLOW_2); \\n\\n }\\n\\n after(grammarAccess.getAutoConfModeAccess().getMINEnumLiteralDeclaration_2()); \\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8c96f2ee45e7c03dd23644b6d2d0b52\",\n \"score\": \"0.42413834\",\n \"text\": \"public final void rule__LCExpr__OpAssignment_1_0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27892:1: ( ( ( rule__LCExpr__OpAlternatives_1_0_0 ) ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27893:1: ( ( rule__LCExpr__OpAlternatives_1_0_0 ) )\\n {\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27893:1: ( ( rule__LCExpr__OpAlternatives_1_0_0 ) )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27894:1: ( rule__LCExpr__OpAlternatives_1_0_0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getLCExprAccess().getOpAlternatives_1_0_0()); \\n }\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27895:1: ( rule__LCExpr__OpAlternatives_1_0_0 )\\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27895:2: rule__LCExpr__OpAlternatives_1_0_0\\n {\\n pushFollow(FOLLOW_rule__LCExpr__OpAlternatives_1_0_0_in_rule__LCExpr__OpAssignment_1_056302);\\n rule__LCExpr__OpAlternatives_1_0_0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getLCExprAccess().getOpAlternatives_1_0_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0c7655772d5df6a1cfb97bbc2dff8b6\",\n \"score\": \"0.42397416\",\n \"text\": \"public final void rule__Sort__Alternatives_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9821:1: ( ( ( rule__Sort__TreeAssignment_1_0 )? ) | ( ( rule__Sort__CriteriaAssignment_1_1 ) ) )\\n int alt54=2;\\n switch ( input.LA(1) ) {\\n case EOF:\\n case 58:\\n case 82:\\n case 87:\\n case 89:\\n case 91:\\n case 92:\\n case 93:\\n case 94:\\n case 95:\\n case 111:\\n case 112:\\n case 113:\\n case 232:\\n case 236:\\n case 237:\\n case 250:\\n case 256:\\n case 261:\\n case 264:\\n case 269:\\n case 270:\\n case 271:\\n case 275:\\n case 276:\\n case 278:\\n case 280:\\n case 285:\\n case 291:\\n case 292:\\n case 295:\\n case 296:\\n case 301:\\n case 302:\\n case 303:\\n case 304:\\n case 305:\\n case 309:\\n case 311:\\n case 323:\\n case 324:\\n case 325:\\n case 326:\\n case 330:\\n case 348:\\n {\\n alt54=1;\\n }\\n break;\\n case 148:\\n {\\n int LA54_2 = input.LA(2);\\n\\n if ( (LA54_2==233) ) {\\n alt54=2;\\n }\\n else if ( (LA54_2==RULE_ID) ) {\\n alt54=1;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 54, 2, input);\\n\\n throw nvae;\\n }\\n }\\n break;\\n case 168:\\n {\\n int LA54_3 = input.LA(2);\\n\\n if ( (LA54_3==RULE_DATE||LA54_3==230||LA54_3==240) ) {\\n alt54=1;\\n }\\n else if ( (LA54_3==233) ) {\\n alt54=2;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 54, 3, input);\\n\\n throw nvae;\\n }\\n }\\n break;\\n case 81:\\n {\\n int LA54_4 = input.LA(2);\\n\\n if ( (LA54_4==233) ) {\\n alt54=2;\\n }\\n else if ( (LA54_4==RULE_ID) ) {\\n alt54=1;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 54, 4, input);\\n\\n throw nvae;\\n }\\n }\\n break;\\n case 204:\\n {\\n int LA54_5 = input.LA(2);\\n\\n if ( (LA54_5==RULE_DATE||LA54_5==230||LA54_5==240) ) {\\n alt54=1;\\n }\\n else if ( (LA54_5==233) ) {\\n alt54=2;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 54, 5, input);\\n\\n throw nvae;\\n }\\n }\\n break;\\n case RULE_ID:\\n case 78:\\n case 97:\\n case 98:\\n case 114:\\n case 115:\\n case 125:\\n case 142:\\n case 143:\\n case 144:\\n case 145:\\n case 146:\\n case 147:\\n case 149:\\n case 150:\\n case 151:\\n case 152:\\n case 153:\\n case 154:\\n case 155:\\n case 156:\\n case 157:\\n case 158:\\n case 159:\\n case 160:\\n case 161:\\n case 162:\\n case 163:\\n case 164:\\n case 165:\\n case 166:\\n case 167:\\n case 169:\\n case 170:\\n case 171:\\n case 172:\\n case 173:\\n case 174:\\n case 175:\\n case 176:\\n case 177:\\n case 178:\\n case 179:\\n case 180:\\n case 181:\\n case 182:\\n case 183:\\n case 184:\\n case 185:\\n case 186:\\n case 187:\\n case 188:\\n case 189:\\n case 190:\\n case 191:\\n case 192:\\n case 193:\\n case 194:\\n case 195:\\n case 196:\\n case 197:\\n case 198:\\n case 199:\\n case 200:\\n case 201:\\n case 202:\\n case 203:\\n case 205:\\n case 206:\\n case 207:\\n case 208:\\n case 209:\\n case 210:\\n case 211:\\n {\\n alt54=2;\\n }\\n break;\\n default:\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 54, 0, input);\\n\\n throw nvae;\\n }\\n\\n switch (alt54) {\\n case 1 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9822:1: ( ( rule__Sort__TreeAssignment_1_0 )? )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9822:1: ( ( rule__Sort__TreeAssignment_1_0 )? )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9823:1: ( rule__Sort__TreeAssignment_1_0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSortAccess().getTreeAssignment_1_0()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9824:1: ( rule__Sort__TreeAssignment_1_0 )?\\n int alt53=2;\\n int LA53_0 = input.LA(1);\\n\\n if ( (LA53_0==348) ) {\\n alt53=1;\\n }\\n switch (alt53) {\\n case 1 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9824:2: rule__Sort__TreeAssignment_1_0\\n {\\n pushFollow(FollowSets001.FOLLOW_rule__Sort__TreeAssignment_1_0_in_rule__Sort__Alternatives_121783);\\n rule__Sort__TreeAssignment_1_0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n break;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSortAccess().getTreeAssignment_1_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9828:6: ( ( rule__Sort__CriteriaAssignment_1_1 ) )\\n {\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9828:6: ( ( rule__Sort__CriteriaAssignment_1_1 ) )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9829:1: ( rule__Sort__CriteriaAssignment_1_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSortAccess().getCriteriaAssignment_1_1()); \\n }\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9830:1: ( rule__Sort__CriteriaAssignment_1_1 )\\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9830:2: rule__Sort__CriteriaAssignment_1_1\\n {\\n pushFollow(FollowSets001.FOLLOW_rule__Sort__CriteriaAssignment_1_1_in_rule__Sort__Alternatives_121802);\\n rule__Sort__CriteriaAssignment_1_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSortAccess().getCriteriaAssignment_1_1()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n\\n }\\n }\\n catch (RecognitionException re) {\\n reportError(re);\\n recover(input,re);\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbedb25b3a574b7d248b8af32c96d2a0\",\n \"score\": \"0.42367178\",\n \"text\": \"public void matchSeekBarToColor()\\n\\t{\\n\\t\\tSeekBar sb;\\n\\t\\tColorHistory ch = GameActivity.pr.getColorHistory();\\n\\t\\tint t, r, g, b;\\n\\n\\t\\tswitch(elementId)\\n\\t\\t{\\n\\t\\t\\tcase GroundView.ELEMENT_FIELD:\\t\\tt = Color.alpha(ch.field);\\tr = Color.red(ch.field);\\tg = Color.green(ch.field);\\tb = Color.blue(ch.field);\\tbreak;\\n\\t\\t\\tcase GroundView.ELEMENT_OUTLINE:\\tt = Color.alpha(ch.outline);r = Color.red(ch.outline);\\tg = Color.green(ch.outline);b = Color.blue(ch.outline);\\tbreak;\\n\\t\\t\\tcase GroundView.ELEMENT_BLACK_PAWN:\\tt = Color.alpha(ch.black);\\tr = Color.red(ch.black);\\tg = Color.green(ch.black);\\tb = Color.blue(ch.black);\\tbreak;\\n\\t\\t\\tcase GroundView.ELEMENT_WHITE_PAWN:\\tt = Color.alpha(ch.white);\\tr = Color.red(ch.white);\\tg = Color.green(ch.white);\\tb = Color.blue(ch.white);\\tbreak;\\n\\t\\t\\tdefault:\\tthrow new RuntimeException(\\\"Unhandeled elementId\\\");\\n\\t\\t}\\n\\n\\t\\tsb\\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerTransparency);\\n\\t\\tsb\\t.setProgress(t);\\n\\n\\t\\tsb\\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerRed);\\n\\t\\tsb\\t.setProgress(r);\\n\\n\\t\\tsb\\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerGreen);\\n\\t\\tsb\\t.setProgress(g);\\n\\n\\t\\tsb\\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerBlue);\\n\\t\\tsb\\t.setProgress(b);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d99b73dd07046ef99a378a66daf48db3\",\n \"score\": \"0.42283422\",\n \"text\": \"public void makeGuessSkinColor(String guess) {\\n ArrayList temp = new ArrayList<>();\\r\\n switch (guess) {\\r\\n case \\\"black\\\":\\r\\n if(guess.equals(game.getChosenPerson().getSkinColor())){\\r\\n System.out.println(\\\"The person has black skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getSkinColor().equals(\\\"black\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have black skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getSkinColor().equals(\\\"black\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n case \\\"brown\\\":\\r\\n if(guess.equals(game.getChosenPerson().getSkinColor())){\\r\\n System.out.println(\\\"The person has brown skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getSkinColor().equals(\\\"brown\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have brown skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getSkinColor().equals(\\\"brown\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n case \\\"white\\\":\\r\\n if(guess.equals(game.getChosenPerson().getSkinColor())){\\r\\n System.out.println(\\\"The person has white skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getSkinColor().equals(\\\"white\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have white skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getSkinColor().equals(\\\"white\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n case \\\"yellow\\\":\\r\\n if(guess.equals(game.getChosenPerson().getSkinColor())){\\r\\n System.out.println(\\\"The person has yellow skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (p.getSkinColor().equals(\\\"yellow\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } else{\\r\\n System.out.println(\\\"The person does not have yellow skin.\\\");\\r\\n for (Person p : game.getGameBoard()) {\\r\\n if (!p.getSkinColor().equals(\\\"yellow\\\")) {\\r\\n temp.add(p);\\r\\n }\\r\\n }\\r\\n game.setGameBoard(temp);\\r\\n game.outputBoard();\\r\\n game.incrementTurn();\\r\\n } break;\\r\\n default:\\r\\n break; \\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"515a5a4e3b1c210c5afa38d972d757b9\",\n \"score\": \"0.42239183\",\n \"text\": \"public final void ruleTimeEventType() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1742:1: ( ( ( rule__TimeEventType__Alternatives ) ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1743:1: ( ( rule__TimeEventType__Alternatives ) )\\r\\n {\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1743:1: ( ( rule__TimeEventType__Alternatives ) )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1744:1: ( rule__TimeEventType__Alternatives )\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \\r\\n }\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1745:1: ( rule__TimeEventType__Alternatives )\\r\\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1745:2: rule__TimeEventType__Alternatives\\r\\n {\\r\\n pushFollow(FOLLOW_rule__TimeEventType__Alternatives_in_ruleTimeEventType3656);\\r\\n rule__TimeEventType__Alternatives();\\r\\n\\r\\n state._fsp--;\\r\\n if (state.failed) return ;\\r\\n\\r\\n }\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n\\r\\n }\\r\\n\\r\\n }\\r\\n catch (RecognitionException re) {\\r\\n reportError(re);\\r\\n recover(input,re);\\r\\n }\\r\\n finally {\\r\\n\\r\\n \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":883,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"2d2ed890157ed52f8322863b5ef79ce9","score":"0.0","text":"public void mouseExited(MouseEvent event) {\n\n\t}","title":""}],"string":"[\n {\n \"docid\": \"2d2ed890157ed52f8322863b5ef79ce9\",\n \"score\": \"0.0\",\n \"text\": \"public void mouseExited(MouseEvent event) {\\n\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d7194e467f51e022c107531d8614b6a3","score":"0.6905833","text":"@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}","title":""},{"docid":"941cb2826e3c700358fcaba402e6bb01","score":"0.66775143","text":"@Override\r\n\tpublic void hissetmek() {\n\r\n\t}","title":""},{"docid":"63918b2e510c9040bbddcac00095b41a","score":"0.6605982","text":"private void recuperation() {\n\t\t\n\t}","title":""},{"docid":"0b5b11f4251ace8b3d0f5ead186f7beb","score":"0.65677965","text":"@Override\n\tpublic void comer() {\n\t\t\n\t}","title":""},{"docid":"6a98c5d2724fce37914819c5694da3c3","score":"0.6509783","text":"@Override\r\n\tpublic void anular() {\n\r\n\t}","title":""},{"docid":"dae8b602ea36995333bfb23acf8fc88d","score":"0.6496443","text":"@Override\n\tpublic void respire() {\n\n\t}","title":""},{"docid":"5f8d37aee09bc1e9959f768d6eb0183c","score":"0.6481211","text":"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}","title":""},{"docid":"f099266a753a2faacd6b8dfa57904378","score":"0.64321727","text":"@Override\r\n\tpublic void courrir() {\n\t}","title":""},{"docid":"69ade76a69c0f6c07e66b5d0e5136eb3","score":"0.6425563","text":"@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}","title":""},{"docid":"c2f383f280f298416bf45e72c374ecfa","score":"0.64127725","text":"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}","title":""},{"docid":"1068dc3e7725abba37b41c9a52dee06b","score":"0.6386121","text":"@Override\r\n\tpublic void tatmak() {\n\r\n\t}","title":""},{"docid":"6141981a3ecff744fc5ac85a76ccce98","score":"0.63590497","text":"@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}","title":""},{"docid":"98fb55d46118273a6e8a6d23841c620d","score":"0.6327681","text":"@Override\n\tpublic void eati() {\n\t\t\n\t}","title":""},{"docid":"0792d032a803e20f3b87637fd91001d5","score":"0.62811846","text":"@Override\n\tpublic void getSugary() {\n\n\t}","title":""},{"docid":"177192b7240b496ba5aefdfed60037c9","score":"0.6276059","text":"@Override\n\tpublic void nadar() {\n\t\t\n\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.623686","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.623686","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.623686","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"b7cead8eab6faf887c06d3b10c67267c","score":"0.620242","text":"@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"b7cead8eab6faf887c06d3b10c67267c","score":"0.620242","text":"@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"a8ee8a5581ce765ec4ab398c0459e014","score":"0.61750215","text":"@Override\r\n\tpublic void koklama() {\n\r\n\t}","title":""},{"docid":"0e69410f7365f8e3379273ee4419fb49","score":"0.6149904","text":"@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}","title":""},{"docid":"d65d6c17fb978c0d576ada2c03cd49fe","score":"0.61387193","text":"@Override\n\tpublic void apagar() {\n\t\t\n\t}","title":""},{"docid":"8bae22ac805011d799a49bd7b5316540","score":"0.612467","text":"@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }","title":""},{"docid":"8c5b7f2508d01c106c784ecca7153f46","score":"0.6119395","text":"@Override\n\tvoid comer() {\n\t\t\n\t}","title":""},{"docid":"7bc643d9ac7542f10430da7f200395d4","score":"0.610188","text":"@Override\n\tpublic void fiyat() {\n\t\t\n\t}","title":""},{"docid":"7dadb1a7e45c020b2193294044375a9d","score":"0.60646844","text":"@Override\r\n \tpublic void init() {\n \t\t\r\n \t}","title":""},{"docid":"04771723ee2c07e5fa5fe8c322190beb","score":"0.60607964","text":"@Override\n\tpublic void affichage() {\n\t\t\n\t}","title":""},{"docid":"b7f027eb6ff62218a28c15c608504db7","score":"0.6055265","text":"@Override\n\tpublic void cafeteria() {\n\t\t\n\t}","title":""},{"docid":"ae645a2585d37e320a8854cbd4c60db8","score":"0.60353535","text":"@Override\n\tpublic void afficher() {\n\n\t}","title":""},{"docid":"9dd1bbd8c949b94d0e93b83bfc68c88a","score":"0.6021345","text":"@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}","title":""},{"docid":"2762ca3c2d0df2e43c2974f74b6f5794","score":"0.6013198","text":"public void mo23507LF() {\n }","title":""},{"docid":"a6c2db17f79f35f8fc3b8e99eee9ab48","score":"0.60124713","text":"@Override\r\n\tprotected void init() {\n\t\t\r\n\t}","title":""},{"docid":"e8c159f9ce46ed87e18031b3ec3ef04c","score":"0.5983872","text":"@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"e8c159f9ce46ed87e18031b3ec3ef04c","score":"0.5983872","text":"@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"119b459aa82980ed18ed9f73e4c0c1f6","score":"0.5970375","text":"public void mo8248e() {\n }","title":""},{"docid":"c7fe9cc2a6c42140d48d92c4796a998c","score":"0.5924626","text":"@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.59239364","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.59239364","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"092f51e9c99cd4188e1aae23e1830dfd","score":"0.58991617","text":"protected void func_70626_be() {}","title":""},{"docid":"ab499170bffb402933a50d63a97e69dd","score":"0.5896488","text":"@Override\r\n\tprotected void init() {\n\t}","title":""},{"docid":"77d32d2a2070d9c3117ff146ac04f114","score":"0.5891585","text":"@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}","title":""},{"docid":"4790ff4cb67532ccdfaae8968e73fbc3","score":"0.58832747","text":"@Override\n protected void initData() {\n\n\n }","title":""},{"docid":"023182f0f855d46c66b41a6d83583efa","score":"0.5871911","text":"@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}","title":""},{"docid":"8d96d27dfdf5b1a8cc8b8a7627c83bc1","score":"0.5869012","text":"@Override\n public void afficher() {\n\n }","title":""},{"docid":"298aa14afe5846b172f76bcf90564013","score":"0.58663046","text":"@Override\n\tprotected void initAfterData() {\n\t\t\n\t}","title":""},{"docid":"e065a728f99482f0172c0250b07109a9","score":"0.58587575","text":"public void MIENTRAS() {\r\n\t}","title":""},{"docid":"4967494f628119c8d3a4740e09278944","score":"0.5857751","text":"@Override\r\n\tprotected void initData() {\n\r\n\t}","title":""},{"docid":"6c15d2233a095a738527f0099df0e328","score":"0.58534765","text":"@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}","title":""},{"docid":"7da3b15ef60da758589933b21890a100","score":"0.5835782","text":"@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}","title":""},{"docid":"d56c498b25d1ea77dc09f49efcf80f6c","score":"0.58347356","text":"@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}","title":""},{"docid":"e57f005733f2eb8590150b3f4542b844","score":"0.5810564","text":"@Override\n\tprotected void getData() {\n\t\t\n\t}","title":""},{"docid":"da813fa08844d9ea0dcf6109d766cb06","score":"0.5810359","text":"@Override\n public void geefOpleidingNiveau() {\n }","title":""},{"docid":"d1236089c8974701d0acd37b2cad6d5b","score":"0.5809914","text":"@Override\n\tpublic void init(){\n\t\t\n\t}","title":""},{"docid":"ac3fa8f374744c1d8419fb42b093eb87","score":"0.58098364","text":"@Override\n public void ATOM() {\n\n }","title":""},{"docid":"9d2f44c3ebe1fb8de1ac4ae677e2d851","score":"0.5806823","text":"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}","title":""},{"docid":"17bf5dfb3822657f7beb964bbcaf351d","score":"0.58010787","text":"private void getdata() {\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"c1cba83b623b4186565c3383ace251b9","score":"0.5798524","text":"@Override\n public void RES() {\n\n }","title":""},{"docid":"5783648f118108797828ca2085091ef9","score":"0.5793788","text":"@Override\n protected void initialize() {\n \n }","title":""},{"docid":"beee84210d56979d0068a8094fb2a5bd","score":"0.5792378","text":"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}","title":""},{"docid":"04320a5131c4ec5a83b61f5170f3303b","score":"0.578828","text":"private void refreash() {\n\t\t\t\n\t\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.57844025","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.57844025","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"96aa62cb7c02dc761fce03adeea3bae6","score":"0.5768868","text":"public void consumidor() {\n\t\t\n\t\t\n\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57596046","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"f76cff0faf8f5cac2bb5c9fa073b3900","score":"0.5732497","text":"private static void ispisiRemi() {\n\t\t\n\t}","title":""},{"docid":"0da844a8d21284fc890b9866b17625b3","score":"0.5729389","text":"public void auton() {\r\n\r\n\t\t}","title":""},{"docid":"3b42107e523d1f2c0adecfee5c69fe91","score":"0.5726736","text":"@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}","title":""},{"docid":"3b42107e523d1f2c0adecfee5c69fe91","score":"0.5726736","text":"@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}","title":""},{"docid":"3b42107e523d1f2c0adecfee5c69fe91","score":"0.5726736","text":"@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}","title":""},{"docid":"e0989255fd1af22841693489e1afa33b","score":"0.57214063","text":"public void mo24349a() {\n }","title":""},{"docid":"b860b78be8e10589ee5bd58e2ab7be8e","score":"0.57196456","text":"@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}","title":""},{"docid":"a937c607590931387a357d03c3b0eef4","score":"0.5715831","text":"@Override\n\tprotected void initialize() {\n\n\t}","title":""},{"docid":"08ff281f85800b58e0eb77195be25bfc","score":"0.5708199","text":"public void finito() {\n\t\t\r\n\t}","title":""},{"docid":"7aadbda143e84de0144f7a8dadde423d","score":"0.5701067","text":"@Override\n protected void initData() {\n\n }","title":""},{"docid":"24b649f4fd4e2e8f4e195b19c09f4c8b","score":"0.56936413","text":"@Override\n public void FUNMAYORQ() {\n\n }","title":""},{"docid":"b3c7aad07c4af0cfec14c4b0f0f289ef","score":"0.5692504","text":"@Override\n\tpublic void arb() {\n\n\t}","title":""},{"docid":"8657ef720f12b2480d4363be4e46781e","score":"0.5691313","text":"protected boolean method_4310() {\r\n return true;\r\n }","title":""},{"docid":"9f7ae565c79188ee275e5778abe03250","score":"0.56881124","text":"@Override\r\n\tprotected void initialize() {\n\r\n\t}","title":""},{"docid":"45fd99bd8793c6d67c4f276a27b4fdca","score":"0.5685153","text":"@Override public int getDefensa(){\n\n return 0;\n\n }","title":""}],"string":"[\n {\n \"docid\": \"d7194e467f51e022c107531d8614b6a3\",\n \"score\": \"0.6905833\",\n \"text\": \"@Override\\r\\n\\tpublic void anular() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"941cb2826e3c700358fcaba402e6bb01\",\n \"score\": \"0.66775143\",\n \"text\": \"@Override\\r\\n\\tpublic void hissetmek() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63918b2e510c9040bbddcac00095b41a\",\n \"score\": \"0.6605982\",\n \"text\": \"private void recuperation() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5b11f4251ace8b3d0f5ead186f7beb\",\n \"score\": \"0.65677965\",\n \"text\": \"@Override\\n\\tpublic void comer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a98c5d2724fce37914819c5694da3c3\",\n \"score\": \"0.6509783\",\n \"text\": \"@Override\\r\\n\\tpublic void anular() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dae8b602ea36995333bfb23acf8fc88d\",\n \"score\": \"0.6496443\",\n \"text\": \"@Override\\n\\tpublic void respire() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f8d37aee09bc1e9959f768d6eb0183c\",\n \"score\": \"0.6481211\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void annadir() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f099266a753a2faacd6b8dfa57904378\",\n \"score\": \"0.64321727\",\n \"text\": \"@Override\\r\\n\\tpublic void courrir() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69ade76a69c0f6c07e66b5d0e5136eb3\",\n \"score\": \"0.6425563\",\n \"text\": \"@Override\\r\\n\\tpublic void grabar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f383f280f298416bf45e72c374ecfa\",\n \"score\": \"0.64127725\",\n \"text\": \"@Override\\r\\n\\tpublic void anularFact() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1068dc3e7725abba37b41c9a52dee06b\",\n \"score\": \"0.6386121\",\n \"text\": \"@Override\\r\\n\\tpublic void tatmak() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6141981a3ecff744fc5ac85a76ccce98\",\n \"score\": \"0.63590497\",\n \"text\": \"@Override\\r\\n\\tpublic void avlan() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98fb55d46118273a6e8a6d23841c620d\",\n \"score\": \"0.6327681\",\n \"text\": \"@Override\\n\\tpublic void eati() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0792d032a803e20f3b87637fd91001d5\",\n \"score\": \"0.62811846\",\n \"text\": \"@Override\\n\\tpublic void getSugary() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"177192b7240b496ba5aefdfed60037c9\",\n \"score\": \"0.6276059\",\n \"text\": \"@Override\\n\\tpublic void nadar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.623686\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.623686\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.623686\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7cead8eab6faf887c06d3b10c67267c\",\n \"score\": \"0.620242\",\n \"text\": \"@Override\\n\\t\\t\\tprotected void readyRun() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7cead8eab6faf887c06d3b10c67267c\",\n \"score\": \"0.620242\",\n \"text\": \"@Override\\n\\t\\t\\tprotected void readyRun() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8ee8a5581ce765ec4ab398c0459e014\",\n \"score\": \"0.61750215\",\n \"text\": \"@Override\\r\\n\\tpublic void koklama() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e69410f7365f8e3379273ee4419fb49\",\n \"score\": \"0.6149904\",\n \"text\": \"@Override\\r\\n\\tprotected void init() \\r\\n\\t{\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d65d6c17fb978c0d576ada2c03cd49fe\",\n \"score\": \"0.61387193\",\n \"text\": \"@Override\\n\\tpublic void apagar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bae22ac805011d799a49bd7b5316540\",\n \"score\": \"0.612467\",\n \"text\": \"@Override\\n public int describeContents() {\\n // Auto-generated method stub\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c5b7f2508d01c106c784ecca7153f46\",\n \"score\": \"0.6119395\",\n \"text\": \"@Override\\n\\tvoid comer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bc643d9ac7542f10430da7f200395d4\",\n \"score\": \"0.610188\",\n \"text\": \"@Override\\n\\tpublic void fiyat() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dadb1a7e45c020b2193294044375a9d\",\n \"score\": \"0.60646844\",\n \"text\": \"@Override\\r\\n \\tpublic void init() {\\n \\t\\t\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04771723ee2c07e5fa5fe8c322190beb\",\n \"score\": \"0.60607964\",\n \"text\": \"@Override\\n\\tpublic void affichage() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7f027eb6ff62218a28c15c608504db7\",\n \"score\": \"0.6055265\",\n \"text\": \"@Override\\n\\tpublic void cafeteria() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae645a2585d37e320a8854cbd4c60db8\",\n \"score\": \"0.60353535\",\n \"text\": \"@Override\\n\\tpublic void afficher() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9dd1bbd8c949b94d0e93b83bfc68c88a\",\n \"score\": \"0.6021345\",\n \"text\": \"@Override\\n\\tpublic void aeronoticalinfo() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2762ca3c2d0df2e43c2974f74b6f5794\",\n \"score\": \"0.6013198\",\n \"text\": \"public void mo23507LF() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c2db17f79f35f8fc3b8e99eee9ab48\",\n \"score\": \"0.60124713\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8c159f9ce46ed87e18031b3ec3ef04c\",\n \"score\": \"0.5983872\",\n \"text\": \"@Override\\n\\t\\t\\tprotected void realiceElCaso() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8c159f9ce46ed87e18031b3ec3ef04c\",\n \"score\": \"0.5983872\",\n \"text\": \"@Override\\n\\t\\t\\tprotected void realiceElCaso() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"119b459aa82980ed18ed9f73e4c0c1f6\",\n \"score\": \"0.5970375\",\n \"text\": \"public void mo8248e() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7fe9cc2a6c42140d48d92c4796a998c\",\n \"score\": \"0.5924626\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\t\\tpublic void visitEnd() {\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.59239364\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.59239364\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"092f51e9c99cd4188e1aae23e1830dfd\",\n \"score\": \"0.58991617\",\n \"text\": \"protected void func_70626_be() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab499170bffb402933a50d63a97e69dd\",\n \"score\": \"0.5896488\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77d32d2a2070d9c3117ff146ac04f114\",\n \"score\": \"0.5891585\",\n \"text\": \"@Override\\r\\n\\tpublic void climaChuvoso() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4790ff4cb67532ccdfaae8968e73fbc3\",\n \"score\": \"0.58832747\",\n \"text\": \"@Override\\n protected void initData() {\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"023182f0f855d46c66b41a6d83583efa\",\n \"score\": \"0.5871911\",\n \"text\": \"@Override\\r\\n\\tpublic void singen() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d96d27dfdf5b1a8cc8b8a7627c83bc1\",\n \"score\": \"0.5869012\",\n \"text\": \"@Override\\n public void afficher() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"298aa14afe5846b172f76bcf90564013\",\n \"score\": \"0.58663046\",\n \"text\": \"@Override\\n\\tprotected void initAfterData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e065a728f99482f0172c0250b07109a9\",\n \"score\": \"0.58587575\",\n \"text\": \"public void MIENTRAS() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4967494f628119c8d3a4740e09278944\",\n \"score\": \"0.5857751\",\n \"text\": \"@Override\\r\\n\\tprotected void initData() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c15d2233a095a738527f0099df0e328\",\n \"score\": \"0.58534765\",\n \"text\": \"@Override\\n\\tprotected void onLoadComplete() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7da3b15ef60da758589933b21890a100\",\n \"score\": \"0.5835782\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void buscar() {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d56c498b25d1ea77dc09f49efcf80f6c\",\n \"score\": \"0.58347356\",\n \"text\": \"@Override\\r\\n\\tpublic void aumentaFatorAcidade() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e57f005733f2eb8590150b3f4542b844\",\n \"score\": \"0.5810564\",\n \"text\": \"@Override\\n\\tprotected void getData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da813fa08844d9ea0dcf6109d766cb06\",\n \"score\": \"0.5810359\",\n \"text\": \"@Override\\n public void geefOpleidingNiveau() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1236089c8974701d0acd37b2cad6d5b\",\n \"score\": \"0.5809914\",\n \"text\": \"@Override\\n\\tpublic void init(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac3fa8f374744c1d8419fb42b093eb87\",\n \"score\": \"0.58098364\",\n \"text\": \"@Override\\n public void ATOM() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d2f44c3ebe1fb8de1ac4ae677e2d851\",\n \"score\": \"0.5806823\",\n \"text\": \"@Override\\r\\n\\tpublic void dibujar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17bf5dfb3822657f7beb964bbcaf351d\",\n \"score\": \"0.58010787\",\n \"text\": \"private void getdata() {\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1cba83b623b4186565c3383ace251b9\",\n \"score\": \"0.5798524\",\n \"text\": \"@Override\\n public void RES() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5783648f118108797828ca2085091ef9\",\n \"score\": \"0.5793788\",\n \"text\": \"@Override\\n protected void initialize() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beee84210d56979d0068a8094fb2a5bd\",\n \"score\": \"0.5792378\",\n \"text\": \"@Override\\r\\n\\tprotected void initData() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04320a5131c4ec5a83b61f5170f3303b\",\n \"score\": \"0.578828\",\n \"text\": \"private void refreash() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.57844025\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.57844025\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96aa62cb7c02dc761fce03adeea3bae6\",\n \"score\": \"0.5768868\",\n \"text\": \"public void consumidor() {\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"518a761521ca9f5cb8a8055b32b72cda\",\n \"score\": \"0.57596046\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f76cff0faf8f5cac2bb5c9fa073b3900\",\n \"score\": \"0.5732497\",\n \"text\": \"private static void ispisiRemi() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0da844a8d21284fc890b9866b17625b3\",\n \"score\": \"0.5729389\",\n \"text\": \"public void auton() {\\r\\n\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b42107e523d1f2c0adecfee5c69fe91\",\n \"score\": \"0.5726736\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic String toString() {\\n\\t\\t\\t\\treturn null;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b42107e523d1f2c0adecfee5c69fe91\",\n \"score\": \"0.5726736\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic String toString() {\\n\\t\\t\\t\\treturn null;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b42107e523d1f2c0adecfee5c69fe91\",\n \"score\": \"0.5726736\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic String toString() {\\n\\t\\t\\t\\treturn null;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0989255fd1af22841693489e1afa33b\",\n \"score\": \"0.57214063\",\n \"text\": \"public void mo24349a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b860b78be8e10589ee5bd58e2ab7be8e\",\n \"score\": \"0.57196456\",\n \"text\": \"@Override\\r\\n\\tpublic void autonomous() {\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a937c607590931387a357d03c3b0eef4\",\n \"score\": \"0.5715831\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08ff281f85800b58e0eb77195be25bfc\",\n \"score\": \"0.5708199\",\n \"text\": \"public void finito() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aadbda143e84de0144f7a8dadde423d\",\n \"score\": \"0.5701067\",\n \"text\": \"@Override\\n protected void initData() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24b649f4fd4e2e8f4e195b19c09f4c8b\",\n \"score\": \"0.56936413\",\n \"text\": \"@Override\\n public void FUNMAYORQ() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3c7aad07c4af0cfec14c4b0f0f289ef\",\n \"score\": \"0.5692504\",\n \"text\": \"@Override\\n\\tpublic void arb() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8657ef720f12b2480d4363be4e46781e\",\n \"score\": \"0.5691313\",\n \"text\": \"protected boolean method_4310() {\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f7ae565c79188ee275e5778abe03250\",\n \"score\": \"0.56881124\",\n \"text\": \"@Override\\r\\n\\tprotected void initialize() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45fd99bd8793c6d67c4f276a27b4fdca\",\n \"score\": \"0.5685153\",\n \"text\": \"@Override public int getDefensa(){\\n\\n return 0;\\n\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":884,"cells":{"query_id":{"kind":"string","value":"c07f4b0a2ea09576de2985837d5d111e"},"query":{"kind":"string","value":"Generated method Getter of the AbstractAsConfigurableSearchConfiguration.excludedFacets attribute defined at extension adaptivesearch. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets."},"positive_passages":{"kind":"list like","value":[{"docid":"e2aa5f135eb2e222aa9f5d1059f09e00","score":"0.6802305","text":"@Accessor(qualifier = \"excludedFacets\", type = Accessor.Type.GETTER)\n\tpublic List getExcludedFacets()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(EXCLUDEDFACETS);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"e2aa5f135eb2e222aa9f5d1059f09e00\",\n \"score\": \"0.6802305\",\n \"text\": \"@Accessor(qualifier = \\\"excludedFacets\\\", type = Accessor.Type.GETTER)\\n\\tpublic List getExcludedFacets()\\n\\t{\\n\\t\\treturn getPersistenceContext().getPropertyValue(EXCLUDEDFACETS);\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"bbf21ff3d9662f6416591c80adff9cfc","score":"0.5418006","text":"@Override\r\n\t@Transient\r\n\tpublic List getExcludePropertiesWhenSearch() {\n\t\treturn null;\r\n\t}","title":""},{"docid":"f38c01f90fda5b67d70aa12a29356147","score":"0.5236197","text":"@Accessor(qualifier = \"excludedFacets\", type = Accessor.Type.SETTER)\n\tpublic void setExcludedFacets(final List value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(EXCLUDEDFACETS, value);\n\t}","title":""},{"docid":"8fcb905ff5f0ef9d027614c0ad29c03a","score":"0.52116644","text":"ExcludesType getExcludes();","title":""},{"docid":"8148fd363bf6d8dd392910471728a124","score":"0.51142377","text":"@Accessor(qualifier = \"excludedItems\", type = Accessor.Type.GETTER)\n\tpublic List getExcludedItems()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(EXCLUDEDITEMS);\n\t}","title":""},{"docid":"d154ddf0f9915892115059f284208259","score":"0.51114464","text":"@Override\r\n\tList getExcludeList() {\n\t\tfinal List existingList = super.getExcludeList();\r\n\t\tfinal List additionalList = asList(\"components\", \"versions\");\r\n\t\treturn Stream.of(existingList, additionalList).flatMap(Collection::stream).collect(toList());\r\n\t}","title":""},{"docid":"c3d06a4af09f534c6f1d91f815738321","score":"0.49954313","text":"public String getExcludes() {\n return excludes;\n }","title":""},{"docid":"29dd61398d60715b4900b61b1c8e28f2","score":"0.49184066","text":"public Collection getExcludes() {\n return excludes;\n }","title":""},{"docid":"a3285e1a5ba0c46287ca41ee93ba03bc","score":"0.4916117","text":"public AnalyzedSummaryBeanBuilder setBa_excluded(boolean ba_excluded) {\n\t\t\tthis.ba_excluded = ba_excluded;\n\t\t\treturn this;\n\t\t}","title":""},{"docid":"2388bfe99f1c6f3744e94b3796e5f4f0","score":"0.48522216","text":"@Accessor(qualifier = \"excludedSorts\", type = Accessor.Type.GETTER)\n\tpublic List getExcludedSorts()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(EXCLUDEDSORTS);\n\t}","title":""},{"docid":"ce485ec9738dd8ef3bde12b220564ddb","score":"0.4845013","text":"void setExcluded(boolean excluded);","title":""},{"docid":"0f4b54ece1b72e0a3d89ad8f662eaf28","score":"0.47616214","text":"public String[] getExcludedDirectories() {\n slowScan();\n String[] directories = new String[dirsExcluded.size()];\n dirsExcluded.copyInto(directories);\n return directories;\n }","title":""},{"docid":"d4609d677df4857edefbc42d886ee8b5","score":"0.4752751","text":"default Set getExcludedServices() {\n return null;\n }","title":""},{"docid":"7062ec60d22bbb0b00b0f966be09085c","score":"0.46950632","text":"public int getExcludeFlags() {\n return RecastJNI.dtQueryFilter_getExcludeFlags(swigCPtr, this);\n }","title":""},{"docid":"cfca28843995b924d82b5f30e8cb3ed0","score":"0.4662109","text":"public List getFilterExcludeProperties() {\n\n return filterExcludeProperties;\n }","title":""},{"docid":"9d9036c8f1d8f9543af473e978da3c57","score":"0.46596047","text":"public AnalyzedSummaryBeanBuilder setQa_excluded(boolean qa_excluded) {\n\t\t\tthis.qa_excluded = qa_excluded;\n\t\t\treturn this;\n\t\t}","title":""},{"docid":"77f1a8f12bde015af4abcc90f17af5de","score":"0.45151684","text":"public boolean isSearchNoConditional() {\n\t\treturn conditional.equals(\"searchNOconditional\");\n\t}","title":""},{"docid":"3c76751ea9aaf9d0da303fc485bc54db","score":"0.44741333","text":"@Override\n\tpublic String[] OnExclusions() {\n\t\treturn new String[] {\"deal\", \"item\"};\n\t}","title":""},{"docid":"98972f22b39cb14b15873d583f59e170","score":"0.44672862","text":"public void setExclude(List exclude) {\n\t\tthis.exclude = exclude;\n\t}","title":""},{"docid":"35bead05ddc976637093f91385aa2b1b","score":"0.44664437","text":"public static ExclusionStrategy getExclusionStrategy() {\n return new ExclusionStrategy() {\n @Override\n public boolean shouldSkipField(FieldAttributes f) {\n return f.getName().equals(\"parent\") || f.getName().equals(\"children\");\n }\n\n @Override\n public boolean shouldSkipClass(Class clazz) {\n return false;\n }\n };\n }","title":""},{"docid":"e9802cd05f221718bf9aa182fa385682","score":"0.44629475","text":"String getPollFromGroupExcludeIdsQuery();","title":""},{"docid":"bd76c8e57c4327ebe26c65d8cba01b48","score":"0.44348767","text":"@Override\n\tpublic JsonSerializer getExcludeJsonSerializer() {\n\t\treturn null;\n\t}","title":""},{"docid":"f16651a087f3469434d7f31d6c98d55a","score":"0.44089335","text":"@ZapApiIgnore\n public List getProxyExcludedDomainsEnabled() {\n return proxyExcludedDomainsEnabled;\n }","title":""},{"docid":"31c38256b88eae74d787a8210efabb17","score":"0.44046378","text":"public List getNotIncluded() {\n return notIncluded;\n }","title":""},{"docid":"50ef74bc4b29c31b5e403e0ebaaa3229","score":"0.44030446","text":"protected String[] getExcludes() {\n List excludeList = new ArrayList<>();\n if (StringUtils.isNotEmpty(warSourceExcludes)) {\n excludeList.addAll(List.of(StringUtils.split(warSourceExcludes, \",\")));\n }\n\n // if contextXML is specified, omit the one in the source directory\n if (containerConfigXML != null && StringUtils.isNotEmpty(containerConfigXML.getName())) {\n excludeList.add(\"**/\" + META_INF + \"/\" + containerConfigXML.getName());\n }\n\n return excludeList.toArray(EMPTY_STRING_ARRAY);\n }","title":""},{"docid":"1f8ceb19cb3618cb73ae198d07d7bd4f","score":"0.43843105","text":"public NavigatableEspFastCommandConfig getSearchConfiguration() {\n return (NavigatableEspFastCommandConfig) super.getSearchConfiguration();\n }","title":""},{"docid":"3ca0b708a81a993f264ff55ab93b88bb","score":"0.43402556","text":"@Nullable\n public com.commercetools.api.models.product_selection.ProductVariantExclusion getVariantExclusion() {\n return this.variantExclusion;\n }","title":""},{"docid":"3c63273de26b476e2c1ec4ddfdca4776","score":"0.43319145","text":"public String[] getExcludedFiles() {\n slowScan();\n String[] files = new String[filesExcluded.size()];\n filesExcluded.copyInto(files);\n return files;\n }","title":""},{"docid":"1716670462c73da90bb60ebb60894709","score":"0.4324862","text":"public boolean disableIndexes();","title":""},{"docid":"757c2b4751a1d9b7b11fb9417e4785ed","score":"0.4312506","text":"ExcludeFilter createExcludeFilter();","title":""},{"docid":"632a7b2471b2e09bda2369b11041868a","score":"0.43043232","text":"@ZapApiIgnore\n public List getProxyExcludedDomains() {\n return proxyExcludedDomains;\n }","title":""},{"docid":"90264e9e3983f1887e53653ee12f2d84","score":"0.43015394","text":"@Override\n\tprotected Set getExcludeFields(int index) {\n\t\treturn null;\n\t}","title":""},{"docid":"e321ce02a85ff9ec9ca06dc5bf952fd7","score":"0.429704","text":"@Override\n public List searchAdvertisements(AdSearchCriteria criteria) {\n AdSpecification spec = new AdSpecification();\n if (criteria.getAdId() > 0) {\n spec.add(new SearchCriteria(\"adId\", criteria.getAdId(), SearchOperation.EQUAL));\n }\n if (criteria.getId() != null && !criteria.getId().isEmpty()) {\n spec.add(new SearchCriteria(\"id\", criteria.getId(), SearchOperation.EQUAL));\n }\n if (criteria.getAdCode() != null && !criteria.getAdCode().isEmpty()) {\n spec.add(new SearchCriteria(\"adCode\", criteria.getAdCode(), SearchOperation.EQUAL));\n }\n if (criteria.getAdType() > 0) {\n spec.add(new SearchCriteria(\"advertisementType~id\", criteria.getAdType(), SearchOperation.EQUAL));\n }\n if (criteria.getUserId() != null && !criteria.getUserId().isEmpty()) {\n spec.add(new SearchCriteria(\"userAdvertisement~id\", criteria.getUserId(), SearchOperation.MATCH));\n }\n if (criteria.getTeamId() != null && !criteria.getTeamId().isEmpty()) {\n spec.add(new SearchCriteria(\"userAdvertisement:userTeam:id\", criteria.getTeamId(), SearchOperation.MATCH));\n }\n if (criteria.getOrgId() > 0) {\n spec.add(new SearchCriteria(\"orgId\", criteria.getOrgId(), SearchOperation.EQUAL));\n }\n if (criteria.getCompanyName() != null && !criteria.getCompanyName().isEmpty()) {\n spec.add(new SearchCriteria(\"orgName\", criteria.getCompanyName(), SearchOperation.EQUAL));\n }\n if (criteria.getStatus() > 0) {\n spec.add(new SearchCriteria(\"status\", criteria.getStatus(), SearchOperation.EQUAL));\n }\n\n\n List result = advertisementRepository.findAll(spec);\n return result;\n }","title":""},{"docid":"ac0878199847e9a4e06b83dc34b4f3fa","score":"0.42889175","text":"public Collection getExcludesBelief(){\n\t\tIterator genCollIt = GenericProvider.getIndividualColl(indi, GenericProvider.excludesBelProp, onto, factory,manager).iterator(); \n\t\tCollection coll = new LinkedList();\n\t\twhile(genCollIt.hasNext()){\n\t\t\tcoll.add(genCollIt.next().asBelief());\n\t\t}\n\t\treturn coll;\n\t}","title":""},{"docid":"a39e78259279b44b1a025bd69725ed04","score":"0.42809448","text":"public AnalyzedSummaryBeanBuilder setDev_excluded(boolean dev_excluded) {\n\t\t\tthis.dev_excluded = dev_excluded;\n\t\t\treturn this;\n\t\t}","title":""},{"docid":"15923eef2fba32182cba600cfee4e707","score":"0.42718515","text":"default Set getExcludedAttributes() {\n return new LinkedHashSet<>(0);\n }","title":""},{"docid":"d77908c46eca1d86545f81f5042ac66e","score":"0.42597863","text":"protected String[] getDependentWarExcludes() {\n String[] excludes;\n if (StringUtils.isNotEmpty(dependentWarExcludes)) {\n excludes = StringUtils.split(dependentWarExcludes, \",\");\n } else {\n excludes = EMPTY_STRING_ARRAY;\n }\n return excludes;\n }","title":""},{"docid":"ac2d97d019663d2c3391968080dbe38a","score":"0.42520896","text":"protected int suggestConstraintToExclude() {\n\n int retVal = -1;\n\n int[] included = this.getIncluded();\n int lastIncluded = this.getLastIncluded();\n int indexOfLastIncluded = -1;\n\n double tmpMin = ZERO;\n double tmpVal;\n\n int nbEqus = this.countEqualityConstraints();\n Primitive64Store soluL = this.getSolutionL();\n\n if (this.isLogDebug() && included.length > 0) {\n double[] multipliers = soluL.offsets(nbEqus, 0).rows(included).toRawCopy1D();\n this.log(\"Looking for the largest negative lagrange multiplier among these: {}.\", multipliers);\n }\n\n for (int i = 0, limit = included.length; i < limit; i++) {\n\n if (included[i] != lastIncluded) {\n\n tmpVal = soluL.doubleValue(nbEqus + included[i], 0);\n\n if (tmpVal < tmpMin && !LAGRANGE.isZero(tmpVal)) {\n tmpMin = tmpVal;\n retVal = i;\n if (this.isLogDebug()) {\n this.log(1, \"Best so far: {} @ {} ({}).\", tmpMin, retVal, included[retVal]);\n }\n }\n\n } else {\n\n indexOfLastIncluded = i;\n }\n }\n\n if (retVal < 0 && indexOfLastIncluded >= 0) {\n\n tmpVal = soluL.doubleValue(nbEqus + included[indexOfLastIncluded], 0);\n\n if (tmpVal < tmpMin && !LAGRANGE.isZero(tmpVal)) {\n tmpMin = tmpVal;\n retVal = indexOfLastIncluded;\n if (this.isLogProgress()) {\n this.log(\"Only the last included needs to be excluded: {} @ {} ({}).\", tmpMin, retVal, included[retVal]);\n }\n }\n }\n\n if (this.isLogProgress()) {\n if (retVal < 0) {\n this.log(\"Nothing to exclude\");\n } else {\n this.log(\"Suggest to exclude: {} @ {} ({}).\", tmpMin, retVal, included[retVal]);\n }\n }\n\n return retVal >= 0 ? included[retVal] : retVal;\n }","title":""},{"docid":"37674bd973dad9bf275ec62cfb6d9a6e","score":"0.42512828","text":"public ConvertConfig getSearchConfig() {\n final ConvertConfig searchConfig = this.copy();\n searchConfig.setBooleanAttribute(ConvertConfig.SYNONYMS, false);\n searchConfig.query = true;\n return searchConfig;\n }","title":""},{"docid":"1aedf5d72a484950ee88fd3ecadf51cd","score":"0.4243662","text":"protected String[] getExcludes()\n {\n List excludeList = new ArrayList();\n if ( StringUtils.isNotEmpty( warSourceExcludes ) )\n {\n excludeList.addAll( Arrays.asList( StringUtils.split( warSourceExcludes, \",\" ) ) );\n }\n\n // if webXML is specified, omit the one in the source directory\n if ( webXml != null && StringUtils.isNotEmpty( webXml.getName() ) )\n {\n excludeList.add( \"**/\" + WEB_INF + \"/web.xml\" );\n }\n\n // if contextXML is specified, omit the one in the source directory\n if ( containerConfigXML != null && StringUtils.isNotEmpty( containerConfigXML.getName() ) )\n {\n excludeList.add( \"**/\" + META_INF + \"/\" + containerConfigXML.getName() );\n }\n\n return (String[]) excludeList.toArray( EMPTY_STRING_ARRAY );\n }","title":""},{"docid":"5458223e254c9416f7d4d8d2a0b9e291","score":"0.42400885","text":"B excludedClassificationIdIn(List excludedClassificationIds);","title":""},{"docid":"da49db1b33947ee7c9fe895394e506e4","score":"0.42326","text":"@Override\n\tpublic String[] OnExclusions() {\n\t\treturn new String[] {\"item\"};\n\t}","title":""},{"docid":"cca8e57dd0f360e82f909d93a7d7211e","score":"0.42273483","text":"public List getExcludedAlerts() {\n return excludedAlerts;\n }","title":""},{"docid":"a2a7f80b265060491ce003db39334021","score":"0.421521","text":"public ExcludeBean(String excludes)\r\n {\r\n this();\r\n setExcludes(excludes);\r\n }","title":""},{"docid":"d5d867fa0d1e7c94f8a3247aecdb30fe","score":"0.4211532","text":"protected String[] getDependentWarExcludes()\n {\n String[] excludes;\n if ( StringUtils.isNotEmpty( dependentWarExcludes ) )\n {\n excludes = StringUtils.split( dependentWarExcludes, \",\" );\n }\n else\n {\n excludes = EMPTY_STRING_ARRAY;\n }\n return excludes;\n }","title":""},{"docid":"a53cb673713be9f457235fc203bfbf71","score":"0.42055675","text":"public void setExcludes(String excludes) {\n this.excludes = excludes;\n }","title":""},{"docid":"d0d486fb47b5246a48ed602c33de82b3","score":"0.41558677","text":"public String[] getNotIncludedDirectories() {\n slowScan();\n String[] directories = new String[dirsNotIncluded.size()];\n dirsNotIncluded.copyInto(directories);\n return directories;\n }","title":""},{"docid":"50533a63ed2db551e929bb28c5ef2c26","score":"0.41492105","text":"boolean getHasNonFKFactFilters();","title":""},{"docid":"c057cd7e8ea4f36b645ed332af48a53f","score":"0.41217244","text":"public Boolean getAdditionalFeesExcludedIndicator() {\n return additionalFeesExcludedIndicator;\n }","title":""},{"docid":"bf150433b85bf76a787cd234d54b8dd4","score":"0.41194034","text":"public static String[] getDefaultExcludes() {\n return (String[]) defaultExcludes.toArray(new String[defaultExcludes\n .size()]);\n }","title":""},{"docid":"9c3778382b0b89f0d02460c1d5514f28","score":"0.41071728","text":"String getPriorityPollFromGroupExcludeIdsQuery();","title":""},{"docid":"ddf2b61e6a994225592392c45dea1326","score":"0.40950355","text":"@NonNull\r\n public abstract Set> getExcludedModuleClasses();","title":""},{"docid":"248767bbbc1178eedc8aedb27487d279","score":"0.4092864","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getExcludeReason();","title":""},{"docid":"3e3dcf7ecbdef4dac0a7b7ef7012e049","score":"0.40855008","text":"SearchCondition getSearchCondition();","title":""},{"docid":"6d1264cd17edeffedf0cfd7e71858639","score":"0.40663987","text":"public void setExclude(String excludes)\n {\n if (inclusions != null)\n {\n throw new IllegalArgumentException(Messages.getString(\"BeanConverter.OnlyIncludeOrExclude\"));\n }\n\n exclusions = new ArrayList();\n\n String toSplit = LocalUtil.replace(excludes, \",\", \" \");\n StringTokenizer st = new StringTokenizer(toSplit);\n while (st.hasMoreTokens())\n {\n String rule = st.nextToken();\n if (rule.startsWith(\"get\"))\n {\n log.warn(\"Exclusions are based on property names and not method names. '\" + rule + \"' starts with 'get' so it looks like a method name and not a property name.\");\n }\n\n exclusions.add(rule);\n }\n }","title":""},{"docid":"43ca35377d71bbebc4b7feb83cc2a81e","score":"0.40631458","text":"protected EnumSet getDisabledDialogOptions() {\n if (!mCanDeleteBrowsingHistory) {\n return EnumSet.of(DialogOption.CLEAR_HISTORY);\n }\n return EnumSet.noneOf(DialogOption.class);\n }","title":""},{"docid":"e76cbe092e9bf52f63da4ceef30158d2","score":"0.40619963","text":"public boolean isExcludeUnapprovedProducts() {\n return excludeUnapprovedProducts;\n }","title":""},{"docid":"203df6325bbe976182aa06b323cd7cab","score":"0.40526113","text":"private List getOppositeDirectionContainmentCriteria() {\n List crits = new ArrayList<>();\n\n crits.add(where(EdgeField.CONTAINS.toString()).is(DirectionNotation.OPPOSITE.toString()));\n\n crits.add(where(EdgeField.DIRECTION.toString()).is(Direction.OUT.toString()).and(EdgeField.CONTAINS.toString())\n .is(Direction.IN.toString()));\n\n crits.add(where(EdgeField.DIRECTION.toString()).is(Direction.IN.toString()).and(EdgeField.CONTAINS.toString())\n .is(Direction.OUT.toString()));\n\n return crits;\n }","title":""},{"docid":"97809213fe28c830a584d55e7531e7ff","score":"0.40110195","text":"SearchSpec getSearch();","title":""},{"docid":"f92915a5637151ad3228136f6bdb66da","score":"0.40020382","text":"Requirement excludingPassingTermsFor(T givens);","title":""},{"docid":"0d59c1ba456e6f8a5efb7ca1699f7099","score":"0.40017414","text":"public void disallowQuerying(final String name) {\n disallowQuerying(name, disallowQueryingSearchIndexOptions());\n }","title":""},{"docid":"bba3873cd43ed3764070952526b29751","score":"0.40000728","text":"boolean getHasNonFKDimFilters();","title":""},{"docid":"9bd8974e305287280d14fcd8922e14f6","score":"0.40000203","text":"public RobotsExclusionPolicy getRobots() {\n return robots;\n }","title":""},{"docid":"25779c05f0f597c0c2ec377e9b246b40","score":"0.39958465","text":"public boolean isDisabledIncluded() {\n\t\treturn includeDisabled;\n\t}","title":""},{"docid":"31403dca4b65d310bf6c12e587a0bbed","score":"0.39929116","text":"public List excludedRPList() {\n return this.excludedRPList;\n }","title":""},{"docid":"52fdc3d143e6f898a024fc07e816ad68","score":"0.39914492","text":"private boolean excludeField(FieldDoc field, String translatedName) {\n\t\tif (field.isStatic() || field.isTransient() || field.name().charAt(0) == '_') {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore fields that have no name which will be the case for fields annotated with one of the\n\t\t// ignore annotations like JsonIgnore or XmlTransient\n\t\tif (translatedName == null) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore deprecated fields\n\t\tif (this.options.isExcludeDeprecatedFields() && ParserHelper.isDeprecated(field, this.options)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore fields we are to explicitly exclude\n\t\tif (ParserHelper.hasTag(field, this.options.getExcludeFieldTags())) {\n\t\t\treturn true;\n\t\t}\n\t\tif (ParserHelper.hasAnnotation(field, this.options.getExcludeFieldAnnotations(), this.options)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore fields that are for a different json view\n\t\tClassDoc[] jsonViews = ParserHelper.getJsonViews(field, this.options);\n\t\tif (!ParserHelper.isItemPartOfView(this.viewClasses, jsonViews)) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}","title":""},{"docid":"c76403581b1499a66b8600b5b8200393","score":"0.39693618","text":"public void removeExcludesBelief(Belief oldExcludesBelief){\n\t\tGenericProvider.removeIndividual(indi, oldExcludesBelief.indi, GenericProvider.excludesBelProp, onto, factory, manager);\n\t}","title":""},{"docid":"cf9034fe5d6e5d691f5b2d1bea6f595c","score":"0.39690083","text":"protected boolean excluded(PyObject key) {\n\n\t\tPyObject lowered = Py.newString(((PyString)key).lower());\n\n\t\treturn this.exclude.contains(lowered);\n\t}","title":""},{"docid":"94e52c6a6c19388867f5bc0e2059dcdf","score":"0.39637718","text":"public java.lang.String get__exclude_columns(){\n return local__exclude_columns;\n }","title":""},{"docid":"8ca23ff0759155ac2598bc7b581fc6b7","score":"0.3959821","text":"@ApiModelProperty(value = \"If true, then vouchers won't be applied for this item\")\n public Boolean isDisableVouchers() {\n return disableVouchers;\n }","title":""},{"docid":"b7f1e1f5955593765571c92625ef6513","score":"0.3951624","text":"ICPT eliminateExcept(List queryVars);","title":""},{"docid":"97af32cc7f33e27172b23cd73cf05376","score":"0.3950335","text":"public ExcludeBean()\r\n {\r\n super();\r\n }","title":""},{"docid":"daeb27df719d59add2bb23f44e28ef62","score":"0.39460713","text":"public void setFilterExcludeProperties(List filterExcludeProperties) {\n\n this.filterExcludeProperties = filterExcludeProperties;\n }","title":""},{"docid":"4e9f479cb6837385964286ddc1cb265a","score":"0.39356267","text":"public Boolean isExcludesOperation() {\r\n\t\treturn false;\r\n\t}","title":""},{"docid":"75fd5b4f340c4c5016768a9cb19abfbb","score":"0.39345694","text":"protected Set getExcludedNativeElements(@NonNull ElementQuery.Result result) {\n return Collections.emptySet();\n }","title":""},{"docid":"855f1b02a93bf2753715bc9e97ca3877","score":"0.3917004","text":"public static boolean isExclusion(final G_PropertyMatchDescriptor descriptor) {\n\t\treturn G_Constraint.NOT.equals(descriptor.getConstraint()) || !descriptor.getInclude();\n\t}","title":""},{"docid":"6cb549fcc063ebd7931c3d5635b0b0d4","score":"0.39164758","text":"public int getBadgeTypesToExcludeCount() {\n return badgeTypesToExclude_.size();\n }","title":""},{"docid":"66d2c06e610545254b38a5e960d7611f","score":"0.39083162","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isExcludedFromArchive() {\n return (java.lang.Boolean)__getInternalInterface().getFieldValue(EXCLUDEDFROMARCHIVE_PROP.get());\n }","title":""},{"docid":"3e9e41287982ee71694d14bf24af72af","score":"0.3905532","text":"protected LuceneQueryAdapter getQueryAdapter() {\n return this.queryAdapter;\n }","title":""},{"docid":"aacd6f40483033766ec72a142ddf9041","score":"0.39018765","text":"@Override\n\tpublic String[] getDefaultSearchFields() {\n\t\treturn null;\n\t}","title":""},{"docid":"e51da9f06b8db48924b9e9c4de094c87","score":"0.38978955","text":"void getAllPrisonersExcept(long excludedPrisoner);","title":""},{"docid":"b9e344ee3cdc6c11c45d003c62a4e7ab","score":"0.38828304","text":"protected Collection getExcludeItemDescriptions(final JSONObject advancedConfig, final String formName,\n final String itemName) {\n final Collection descriptions = new HashSet();\n\n final JSONArray excludes = JSONArray.fromObject(advancedConfig.get(formName));\n\n for (int i = 0; i < excludes.size(); i++) {\n final JSONObject param = excludes.getJSONObject(i);\n\n if (!param.isNullObject()) {\n final String exclude = param.getString(itemName);\n\n if (exclude.length() > 0) {\n descriptions.add(exclude);\n }\n }\n }\n\n return descriptions;\n\n }","title":""},{"docid":"f0a7de3e9bbda1514f4bb2348bb4bade","score":"0.3877979","text":"public void disallowQuerying(final String name, final DisallowQueryingSearchIndexOptions options) {\n block(asyncIndexManager.disallowQuerying(name, options));\n }","title":""},{"docid":"dac6f471ac8ff5babaa2f79e784ddbfa","score":"0.38732502","text":"public static void resetDefaultExcludes() {\n defaultExcludes = new Vector();\n \n for (int i = 0; i < DEFAULTEXCLUDES.length; i++) {\n defaultExcludes.add(DEFAULTEXCLUDES[i]);\n }\n }","title":""},{"docid":"acc79ac59f683421d077a014f8d3c6d5","score":"0.38664588","text":"private void relayoutAllViewsExcept(View excluded) {\n final int count = mVisibleTailSuggestions.size();\n for (int index = 0; index < count; ++index) {\n final View view = mVisibleTailSuggestions.valueAt(index);\n if (view == excluded) continue;\n ViewUtils.requestLayout(view, \"AlignmentManger.relayoutAllViewsExcept\");\n }\n }","title":""},{"docid":"9cb1dbcf5def2362c35ddeb26ed9e89a","score":"0.3860085","text":"List getSearchableFields();","title":""},{"docid":"1cf73028b92d8a8a154b9ae6003aaa53","score":"0.3858965","text":"com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder();","title":""},{"docid":"1cf73028b92d8a8a154b9ae6003aaa53","score":"0.3858965","text":"com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder();","title":""},{"docid":"6fb06fd639e6a61cbedb25f33b77d733","score":"0.38511413","text":"public com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder() {\n return doNotDisturb_;\n }","title":""},{"docid":"6fb06fd639e6a61cbedb25f33b77d733","score":"0.38511413","text":"public com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder() {\n return doNotDisturb_;\n }","title":""},{"docid":"f7c38637aa7c8b9523cbc55b9640b634","score":"0.38500732","text":"@Accessor(qualifier = \"facets\", type = Accessor.Type.GETTER)\n\tpublic List getFacets()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(FACETS);\n\t}","title":""},{"docid":"155d5802aa9e0066917cd2ff7724f02a","score":"0.3840236","text":"public void addExcludesBelief(Belief newExcludesBelief){\n\t\tGenericProvider.addIndividual(indi, newExcludesBelief.indi, GenericProvider.excludesBelProp, onto, factory, manager);\n\t}","title":""},{"docid":"2ab118bfe85d3a9f86e1ffcd1466313b","score":"0.38378048","text":"@Accessor(qualifier = \"excludedItems\", type = Accessor.Type.SETTER)\n\tpublic void setExcludedItems(final List value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(EXCLUDEDITEMS, value);\n\t}","title":""},{"docid":"04a81bbf38539b535918dd31bc6d8cce","score":"0.38376376","text":"public void setExcludeUnapprovedProducts(boolean excludeUnapprovedProducts) {\n this.excludeUnapprovedProducts = excludeUnapprovedProducts;\n }","title":""},{"docid":"c472fba104c563de5e3d4332368f6423","score":"0.3837395","text":"public void setExcludeArchived(boolean excludeArchived){\n put(SlackParamsConstants.EXCLUDE_ARCHIVED, excludeArchived);\n }","title":""},{"docid":"b09c34e913000ad103cb620cb2ed4524","score":"0.3834303","text":"public void setExcludeParameterPatterns(String[] excludeParameterPatterns) {\n this.excludeParameterPatterns = excludeParameterPatterns;\n }","title":""},{"docid":"f84a1ba5f02d0c6258d1917c4763b3df","score":"0.38291916","text":"public Boolean getDisabled() {\n return disabled;\n }","title":""},{"docid":"12d14cf0790ea3a08f899a80a1b677e7","score":"0.38281485","text":"public boolean isScopeProvidedExcluded() throws CoreException\r\n {\r\n return getAttribute(false, ATTR_EXCLUDE_SCOPE_PROVIDED, true);\r\n }","title":""},{"docid":"cfa535a9ac99524a61120bfdda9aa5f6","score":"0.38238963","text":"@SuppressWarnings(\"rawtypes\")\n\t@Override\n\tprotected ArrayList getFieldsToIgnoreInEqualsMethod() {\n\t\treturn new ArrayList(Arrays.asList(new Enum[] { Fields.EMAIL, Fields.REMINDER_ID }));\n\t}","title":""},{"docid":"1da17755e6e4f2fd9e319063313f85c2","score":"0.38198596","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isExcludedFromArchive();","title":""},{"docid":"f4157fafbdb3cb866c897bab610fbd67","score":"0.38177362","text":"public SearchAditionalPropertiesPanel getAditionalSearchPanel() {\n\t\treturn driver.getAditionalSearchPanel();\n\t}","title":""}],"string":"[\n {\n \"docid\": \"bbf21ff3d9662f6416591c80adff9cfc\",\n \"score\": \"0.5418006\",\n \"text\": \"@Override\\r\\n\\t@Transient\\r\\n\\tpublic List getExcludePropertiesWhenSearch() {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f38c01f90fda5b67d70aa12a29356147\",\n \"score\": \"0.5236197\",\n \"text\": \"@Accessor(qualifier = \\\"excludedFacets\\\", type = Accessor.Type.SETTER)\\n\\tpublic void setExcludedFacets(final List value)\\n\\t{\\n\\t\\tgetPersistenceContext().setPropertyValue(EXCLUDEDFACETS, value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fcb905ff5f0ef9d027614c0ad29c03a\",\n \"score\": \"0.52116644\",\n \"text\": \"ExcludesType getExcludes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8148fd363bf6d8dd392910471728a124\",\n \"score\": \"0.51142377\",\n \"text\": \"@Accessor(qualifier = \\\"excludedItems\\\", type = Accessor.Type.GETTER)\\n\\tpublic List getExcludedItems()\\n\\t{\\n\\t\\treturn getPersistenceContext().getPropertyValue(EXCLUDEDITEMS);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d154ddf0f9915892115059f284208259\",\n \"score\": \"0.51114464\",\n \"text\": \"@Override\\r\\n\\tList getExcludeList() {\\n\\t\\tfinal List existingList = super.getExcludeList();\\r\\n\\t\\tfinal List additionalList = asList(\\\"components\\\", \\\"versions\\\");\\r\\n\\t\\treturn Stream.of(existingList, additionalList).flatMap(Collection::stream).collect(toList());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3d06a4af09f534c6f1d91f815738321\",\n \"score\": \"0.49954313\",\n \"text\": \"public String getExcludes() {\\n return excludes;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29dd61398d60715b4900b61b1c8e28f2\",\n \"score\": \"0.49184066\",\n \"text\": \"public Collection getExcludes() {\\n return excludes;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3285e1a5ba0c46287ca41ee93ba03bc\",\n \"score\": \"0.4916117\",\n \"text\": \"public AnalyzedSummaryBeanBuilder setBa_excluded(boolean ba_excluded) {\\n\\t\\t\\tthis.ba_excluded = ba_excluded;\\n\\t\\t\\treturn this;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2388bfe99f1c6f3744e94b3796e5f4f0\",\n \"score\": \"0.48522216\",\n \"text\": \"@Accessor(qualifier = \\\"excludedSorts\\\", type = Accessor.Type.GETTER)\\n\\tpublic List getExcludedSorts()\\n\\t{\\n\\t\\treturn getPersistenceContext().getPropertyValue(EXCLUDEDSORTS);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce485ec9738dd8ef3bde12b220564ddb\",\n \"score\": \"0.4845013\",\n \"text\": \"void setExcluded(boolean excluded);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f4b54ece1b72e0a3d89ad8f662eaf28\",\n \"score\": \"0.47616214\",\n \"text\": \"public String[] getExcludedDirectories() {\\n slowScan();\\n String[] directories = new String[dirsExcluded.size()];\\n dirsExcluded.copyInto(directories);\\n return directories;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4609d677df4857edefbc42d886ee8b5\",\n \"score\": \"0.4752751\",\n \"text\": \"default Set getExcludedServices() {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7062ec60d22bbb0b00b0f966be09085c\",\n \"score\": \"0.46950632\",\n \"text\": \"public int getExcludeFlags() {\\n return RecastJNI.dtQueryFilter_getExcludeFlags(swigCPtr, this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfca28843995b924d82b5f30e8cb3ed0\",\n \"score\": \"0.4662109\",\n \"text\": \"public List getFilterExcludeProperties() {\\n\\n return filterExcludeProperties;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d9036c8f1d8f9543af473e978da3c57\",\n \"score\": \"0.46596047\",\n \"text\": \"public AnalyzedSummaryBeanBuilder setQa_excluded(boolean qa_excluded) {\\n\\t\\t\\tthis.qa_excluded = qa_excluded;\\n\\t\\t\\treturn this;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77f1a8f12bde015af4abcc90f17af5de\",\n \"score\": \"0.45151684\",\n \"text\": \"public boolean isSearchNoConditional() {\\n\\t\\treturn conditional.equals(\\\"searchNOconditional\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c76751ea9aaf9d0da303fc485bc54db\",\n \"score\": \"0.44741333\",\n \"text\": \"@Override\\n\\tpublic String[] OnExclusions() {\\n\\t\\treturn new String[] {\\\"deal\\\", \\\"item\\\"};\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98972f22b39cb14b15873d583f59e170\",\n \"score\": \"0.44672862\",\n \"text\": \"public void setExclude(List exclude) {\\n\\t\\tthis.exclude = exclude;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35bead05ddc976637093f91385aa2b1b\",\n \"score\": \"0.44664437\",\n \"text\": \"public static ExclusionStrategy getExclusionStrategy() {\\n return new ExclusionStrategy() {\\n @Override\\n public boolean shouldSkipField(FieldAttributes f) {\\n return f.getName().equals(\\\"parent\\\") || f.getName().equals(\\\"children\\\");\\n }\\n\\n @Override\\n public boolean shouldSkipClass(Class clazz) {\\n return false;\\n }\\n };\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9802cd05f221718bf9aa182fa385682\",\n \"score\": \"0.44629475\",\n \"text\": \"String getPollFromGroupExcludeIdsQuery();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd76c8e57c4327ebe26c65d8cba01b48\",\n \"score\": \"0.44348767\",\n \"text\": \"@Override\\n\\tpublic JsonSerializer getExcludeJsonSerializer() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f16651a087f3469434d7f31d6c98d55a\",\n \"score\": \"0.44089335\",\n \"text\": \"@ZapApiIgnore\\n public List getProxyExcludedDomainsEnabled() {\\n return proxyExcludedDomainsEnabled;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31c38256b88eae74d787a8210efabb17\",\n \"score\": \"0.44046378\",\n \"text\": \"public List getNotIncluded() {\\n return notIncluded;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50ef74bc4b29c31b5e403e0ebaaa3229\",\n \"score\": \"0.44030446\",\n \"text\": \"protected String[] getExcludes() {\\n List excludeList = new ArrayList<>();\\n if (StringUtils.isNotEmpty(warSourceExcludes)) {\\n excludeList.addAll(List.of(StringUtils.split(warSourceExcludes, \\\",\\\")));\\n }\\n\\n // if contextXML is specified, omit the one in the source directory\\n if (containerConfigXML != null && StringUtils.isNotEmpty(containerConfigXML.getName())) {\\n excludeList.add(\\\"**/\\\" + META_INF + \\\"/\\\" + containerConfigXML.getName());\\n }\\n\\n return excludeList.toArray(EMPTY_STRING_ARRAY);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f8ceb19cb3618cb73ae198d07d7bd4f\",\n \"score\": \"0.43843105\",\n \"text\": \"public NavigatableEspFastCommandConfig getSearchConfiguration() {\\n return (NavigatableEspFastCommandConfig) super.getSearchConfiguration();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ca0b708a81a993f264ff55ab93b88bb\",\n \"score\": \"0.43402556\",\n \"text\": \"@Nullable\\n public com.commercetools.api.models.product_selection.ProductVariantExclusion getVariantExclusion() {\\n return this.variantExclusion;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c63273de26b476e2c1ec4ddfdca4776\",\n \"score\": \"0.43319145\",\n \"text\": \"public String[] getExcludedFiles() {\\n slowScan();\\n String[] files = new String[filesExcluded.size()];\\n filesExcluded.copyInto(files);\\n return files;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1716670462c73da90bb60ebb60894709\",\n \"score\": \"0.4324862\",\n \"text\": \"public boolean disableIndexes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"757c2b4751a1d9b7b11fb9417e4785ed\",\n \"score\": \"0.4312506\",\n \"text\": \"ExcludeFilter createExcludeFilter();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"632a7b2471b2e09bda2369b11041868a\",\n \"score\": \"0.43043232\",\n \"text\": \"@ZapApiIgnore\\n public List getProxyExcludedDomains() {\\n return proxyExcludedDomains;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90264e9e3983f1887e53653ee12f2d84\",\n \"score\": \"0.43015394\",\n \"text\": \"@Override\\n\\tprotected Set getExcludeFields(int index) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e321ce02a85ff9ec9ca06dc5bf952fd7\",\n \"score\": \"0.429704\",\n \"text\": \"@Override\\n public List searchAdvertisements(AdSearchCriteria criteria) {\\n AdSpecification spec = new AdSpecification();\\n if (criteria.getAdId() > 0) {\\n spec.add(new SearchCriteria(\\\"adId\\\", criteria.getAdId(), SearchOperation.EQUAL));\\n }\\n if (criteria.getId() != null && !criteria.getId().isEmpty()) {\\n spec.add(new SearchCriteria(\\\"id\\\", criteria.getId(), SearchOperation.EQUAL));\\n }\\n if (criteria.getAdCode() != null && !criteria.getAdCode().isEmpty()) {\\n spec.add(new SearchCriteria(\\\"adCode\\\", criteria.getAdCode(), SearchOperation.EQUAL));\\n }\\n if (criteria.getAdType() > 0) {\\n spec.add(new SearchCriteria(\\\"advertisementType~id\\\", criteria.getAdType(), SearchOperation.EQUAL));\\n }\\n if (criteria.getUserId() != null && !criteria.getUserId().isEmpty()) {\\n spec.add(new SearchCriteria(\\\"userAdvertisement~id\\\", criteria.getUserId(), SearchOperation.MATCH));\\n }\\n if (criteria.getTeamId() != null && !criteria.getTeamId().isEmpty()) {\\n spec.add(new SearchCriteria(\\\"userAdvertisement:userTeam:id\\\", criteria.getTeamId(), SearchOperation.MATCH));\\n }\\n if (criteria.getOrgId() > 0) {\\n spec.add(new SearchCriteria(\\\"orgId\\\", criteria.getOrgId(), SearchOperation.EQUAL));\\n }\\n if (criteria.getCompanyName() != null && !criteria.getCompanyName().isEmpty()) {\\n spec.add(new SearchCriteria(\\\"orgName\\\", criteria.getCompanyName(), SearchOperation.EQUAL));\\n }\\n if (criteria.getStatus() > 0) {\\n spec.add(new SearchCriteria(\\\"status\\\", criteria.getStatus(), SearchOperation.EQUAL));\\n }\\n\\n\\n List result = advertisementRepository.findAll(spec);\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac0878199847e9a4e06b83dc34b4f3fa\",\n \"score\": \"0.42889175\",\n \"text\": \"public Collection getExcludesBelief(){\\n\\t\\tIterator genCollIt = GenericProvider.getIndividualColl(indi, GenericProvider.excludesBelProp, onto, factory,manager).iterator(); \\n\\t\\tCollection coll = new LinkedList();\\n\\t\\twhile(genCollIt.hasNext()){\\n\\t\\t\\tcoll.add(genCollIt.next().asBelief());\\n\\t\\t}\\n\\t\\treturn coll;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a39e78259279b44b1a025bd69725ed04\",\n \"score\": \"0.42809448\",\n \"text\": \"public AnalyzedSummaryBeanBuilder setDev_excluded(boolean dev_excluded) {\\n\\t\\t\\tthis.dev_excluded = dev_excluded;\\n\\t\\t\\treturn this;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15923eef2fba32182cba600cfee4e707\",\n \"score\": \"0.42718515\",\n \"text\": \"default Set getExcludedAttributes() {\\n return new LinkedHashSet<>(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d77908c46eca1d86545f81f5042ac66e\",\n \"score\": \"0.42597863\",\n \"text\": \"protected String[] getDependentWarExcludes() {\\n String[] excludes;\\n if (StringUtils.isNotEmpty(dependentWarExcludes)) {\\n excludes = StringUtils.split(dependentWarExcludes, \\\",\\\");\\n } else {\\n excludes = EMPTY_STRING_ARRAY;\\n }\\n return excludes;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac2d97d019663d2c3391968080dbe38a\",\n \"score\": \"0.42520896\",\n \"text\": \"protected int suggestConstraintToExclude() {\\n\\n int retVal = -1;\\n\\n int[] included = this.getIncluded();\\n int lastIncluded = this.getLastIncluded();\\n int indexOfLastIncluded = -1;\\n\\n double tmpMin = ZERO;\\n double tmpVal;\\n\\n int nbEqus = this.countEqualityConstraints();\\n Primitive64Store soluL = this.getSolutionL();\\n\\n if (this.isLogDebug() && included.length > 0) {\\n double[] multipliers = soluL.offsets(nbEqus, 0).rows(included).toRawCopy1D();\\n this.log(\\\"Looking for the largest negative lagrange multiplier among these: {}.\\\", multipliers);\\n }\\n\\n for (int i = 0, limit = included.length; i < limit; i++) {\\n\\n if (included[i] != lastIncluded) {\\n\\n tmpVal = soluL.doubleValue(nbEqus + included[i], 0);\\n\\n if (tmpVal < tmpMin && !LAGRANGE.isZero(tmpVal)) {\\n tmpMin = tmpVal;\\n retVal = i;\\n if (this.isLogDebug()) {\\n this.log(1, \\\"Best so far: {} @ {} ({}).\\\", tmpMin, retVal, included[retVal]);\\n }\\n }\\n\\n } else {\\n\\n indexOfLastIncluded = i;\\n }\\n }\\n\\n if (retVal < 0 && indexOfLastIncluded >= 0) {\\n\\n tmpVal = soluL.doubleValue(nbEqus + included[indexOfLastIncluded], 0);\\n\\n if (tmpVal < tmpMin && !LAGRANGE.isZero(tmpVal)) {\\n tmpMin = tmpVal;\\n retVal = indexOfLastIncluded;\\n if (this.isLogProgress()) {\\n this.log(\\\"Only the last included needs to be excluded: {} @ {} ({}).\\\", tmpMin, retVal, included[retVal]);\\n }\\n }\\n }\\n\\n if (this.isLogProgress()) {\\n if (retVal < 0) {\\n this.log(\\\"Nothing to exclude\\\");\\n } else {\\n this.log(\\\"Suggest to exclude: {} @ {} ({}).\\\", tmpMin, retVal, included[retVal]);\\n }\\n }\\n\\n return retVal >= 0 ? included[retVal] : retVal;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37674bd973dad9bf275ec62cfb6d9a6e\",\n \"score\": \"0.42512828\",\n \"text\": \"public ConvertConfig getSearchConfig() {\\n final ConvertConfig searchConfig = this.copy();\\n searchConfig.setBooleanAttribute(ConvertConfig.SYNONYMS, false);\\n searchConfig.query = true;\\n return searchConfig;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aedf5d72a484950ee88fd3ecadf51cd\",\n \"score\": \"0.4243662\",\n \"text\": \"protected String[] getExcludes()\\n {\\n List excludeList = new ArrayList();\\n if ( StringUtils.isNotEmpty( warSourceExcludes ) )\\n {\\n excludeList.addAll( Arrays.asList( StringUtils.split( warSourceExcludes, \\\",\\\" ) ) );\\n }\\n\\n // if webXML is specified, omit the one in the source directory\\n if ( webXml != null && StringUtils.isNotEmpty( webXml.getName() ) )\\n {\\n excludeList.add( \\\"**/\\\" + WEB_INF + \\\"/web.xml\\\" );\\n }\\n\\n // if contextXML is specified, omit the one in the source directory\\n if ( containerConfigXML != null && StringUtils.isNotEmpty( containerConfigXML.getName() ) )\\n {\\n excludeList.add( \\\"**/\\\" + META_INF + \\\"/\\\" + containerConfigXML.getName() );\\n }\\n\\n return (String[]) excludeList.toArray( EMPTY_STRING_ARRAY );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5458223e254c9416f7d4d8d2a0b9e291\",\n \"score\": \"0.42400885\",\n \"text\": \"B excludedClassificationIdIn(List excludedClassificationIds);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da49db1b33947ee7c9fe895394e506e4\",\n \"score\": \"0.42326\",\n \"text\": \"@Override\\n\\tpublic String[] OnExclusions() {\\n\\t\\treturn new String[] {\\\"item\\\"};\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cca8e57dd0f360e82f909d93a7d7211e\",\n \"score\": \"0.42273483\",\n \"text\": \"public List getExcludedAlerts() {\\n return excludedAlerts;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2a7f80b265060491ce003db39334021\",\n \"score\": \"0.421521\",\n \"text\": \"public ExcludeBean(String excludes)\\r\\n {\\r\\n this();\\r\\n setExcludes(excludes);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5d867fa0d1e7c94f8a3247aecdb30fe\",\n \"score\": \"0.4211532\",\n \"text\": \"protected String[] getDependentWarExcludes()\\n {\\n String[] excludes;\\n if ( StringUtils.isNotEmpty( dependentWarExcludes ) )\\n {\\n excludes = StringUtils.split( dependentWarExcludes, \\\",\\\" );\\n }\\n else\\n {\\n excludes = EMPTY_STRING_ARRAY;\\n }\\n return excludes;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a53cb673713be9f457235fc203bfbf71\",\n \"score\": \"0.42055675\",\n \"text\": \"public void setExcludes(String excludes) {\\n this.excludes = excludes;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0d486fb47b5246a48ed602c33de82b3\",\n \"score\": \"0.41558677\",\n \"text\": \"public String[] getNotIncludedDirectories() {\\n slowScan();\\n String[] directories = new String[dirsNotIncluded.size()];\\n dirsNotIncluded.copyInto(directories);\\n return directories;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50533a63ed2db551e929bb28c5ef2c26\",\n \"score\": \"0.41492105\",\n \"text\": \"boolean getHasNonFKFactFilters();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c057cd7e8ea4f36b645ed332af48a53f\",\n \"score\": \"0.41217244\",\n \"text\": \"public Boolean getAdditionalFeesExcludedIndicator() {\\n return additionalFeesExcludedIndicator;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf150433b85bf76a787cd234d54b8dd4\",\n \"score\": \"0.41194034\",\n \"text\": \"public static String[] getDefaultExcludes() {\\n return (String[]) defaultExcludes.toArray(new String[defaultExcludes\\n .size()]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c3778382b0b89f0d02460c1d5514f28\",\n \"score\": \"0.41071728\",\n \"text\": \"String getPriorityPollFromGroupExcludeIdsQuery();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddf2b61e6a994225592392c45dea1326\",\n \"score\": \"0.40950355\",\n \"text\": \"@NonNull\\r\\n public abstract Set> getExcludedModuleClasses();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"248767bbbc1178eedc8aedb27487d279\",\n \"score\": \"0.4092864\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.String getExcludeReason();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e3dcf7ecbdef4dac0a7b7ef7012e049\",\n \"score\": \"0.40855008\",\n \"text\": \"SearchCondition getSearchCondition();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d1264cd17edeffedf0cfd7e71858639\",\n \"score\": \"0.40663987\",\n \"text\": \"public void setExclude(String excludes)\\n {\\n if (inclusions != null)\\n {\\n throw new IllegalArgumentException(Messages.getString(\\\"BeanConverter.OnlyIncludeOrExclude\\\"));\\n }\\n\\n exclusions = new ArrayList();\\n\\n String toSplit = LocalUtil.replace(excludes, \\\",\\\", \\\" \\\");\\n StringTokenizer st = new StringTokenizer(toSplit);\\n while (st.hasMoreTokens())\\n {\\n String rule = st.nextToken();\\n if (rule.startsWith(\\\"get\\\"))\\n {\\n log.warn(\\\"Exclusions are based on property names and not method names. '\\\" + rule + \\\"' starts with 'get' so it looks like a method name and not a property name.\\\");\\n }\\n\\n exclusions.add(rule);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43ca35377d71bbebc4b7feb83cc2a81e\",\n \"score\": \"0.40631458\",\n \"text\": \"protected EnumSet getDisabledDialogOptions() {\\n if (!mCanDeleteBrowsingHistory) {\\n return EnumSet.of(DialogOption.CLEAR_HISTORY);\\n }\\n return EnumSet.noneOf(DialogOption.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e76cbe092e9bf52f63da4ceef30158d2\",\n \"score\": \"0.40619963\",\n \"text\": \"public boolean isExcludeUnapprovedProducts() {\\n return excludeUnapprovedProducts;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"203df6325bbe976182aa06b323cd7cab\",\n \"score\": \"0.40526113\",\n \"text\": \"private List getOppositeDirectionContainmentCriteria() {\\n List crits = new ArrayList<>();\\n\\n crits.add(where(EdgeField.CONTAINS.toString()).is(DirectionNotation.OPPOSITE.toString()));\\n\\n crits.add(where(EdgeField.DIRECTION.toString()).is(Direction.OUT.toString()).and(EdgeField.CONTAINS.toString())\\n .is(Direction.IN.toString()));\\n\\n crits.add(where(EdgeField.DIRECTION.toString()).is(Direction.IN.toString()).and(EdgeField.CONTAINS.toString())\\n .is(Direction.OUT.toString()));\\n\\n return crits;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97809213fe28c830a584d55e7531e7ff\",\n \"score\": \"0.40110195\",\n \"text\": \"SearchSpec getSearch();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f92915a5637151ad3228136f6bdb66da\",\n \"score\": \"0.40020382\",\n \"text\": \"Requirement excludingPassingTermsFor(T givens);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d59c1ba456e6f8a5efb7ca1699f7099\",\n \"score\": \"0.40017414\",\n \"text\": \"public void disallowQuerying(final String name) {\\n disallowQuerying(name, disallowQueryingSearchIndexOptions());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bba3873cd43ed3764070952526b29751\",\n \"score\": \"0.40000728\",\n \"text\": \"boolean getHasNonFKDimFilters();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bd8974e305287280d14fcd8922e14f6\",\n \"score\": \"0.40000203\",\n \"text\": \"public RobotsExclusionPolicy getRobots() {\\n return robots;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25779c05f0f597c0c2ec377e9b246b40\",\n \"score\": \"0.39958465\",\n \"text\": \"public boolean isDisabledIncluded() {\\n\\t\\treturn includeDisabled;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31403dca4b65d310bf6c12e587a0bbed\",\n \"score\": \"0.39929116\",\n \"text\": \"public List excludedRPList() {\\n return this.excludedRPList;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52fdc3d143e6f898a024fc07e816ad68\",\n \"score\": \"0.39914492\",\n \"text\": \"private boolean excludeField(FieldDoc field, String translatedName) {\\n\\t\\tif (field.isStatic() || field.isTransient() || field.name().charAt(0) == '_') {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\n\\t\\t// ignore fields that have no name which will be the case for fields annotated with one of the\\n\\t\\t// ignore annotations like JsonIgnore or XmlTransient\\n\\t\\tif (translatedName == null) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\n\\t\\t// ignore deprecated fields\\n\\t\\tif (this.options.isExcludeDeprecatedFields() && ParserHelper.isDeprecated(field, this.options)) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\n\\t\\t// ignore fields we are to explicitly exclude\\n\\t\\tif (ParserHelper.hasTag(field, this.options.getExcludeFieldTags())) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tif (ParserHelper.hasAnnotation(field, this.options.getExcludeFieldAnnotations(), this.options)) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\n\\t\\t// ignore fields that are for a different json view\\n\\t\\tClassDoc[] jsonViews = ParserHelper.getJsonViews(field, this.options);\\n\\t\\tif (!ParserHelper.isItemPartOfView(this.viewClasses, jsonViews)) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c76403581b1499a66b8600b5b8200393\",\n \"score\": \"0.39693618\",\n \"text\": \"public void removeExcludesBelief(Belief oldExcludesBelief){\\n\\t\\tGenericProvider.removeIndividual(indi, oldExcludesBelief.indi, GenericProvider.excludesBelProp, onto, factory, manager);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf9034fe5d6e5d691f5b2d1bea6f595c\",\n \"score\": \"0.39690083\",\n \"text\": \"protected boolean excluded(PyObject key) {\\n\\n\\t\\tPyObject lowered = Py.newString(((PyString)key).lower());\\n\\n\\t\\treturn this.exclude.contains(lowered);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e52c6a6c19388867f5bc0e2059dcdf\",\n \"score\": \"0.39637718\",\n \"text\": \"public java.lang.String get__exclude_columns(){\\n return local__exclude_columns;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ca23ff0759155ac2598bc7b581fc6b7\",\n \"score\": \"0.3959821\",\n \"text\": \"@ApiModelProperty(value = \\\"If true, then vouchers won't be applied for this item\\\")\\n public Boolean isDisableVouchers() {\\n return disableVouchers;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7f1e1f5955593765571c92625ef6513\",\n \"score\": \"0.3951624\",\n \"text\": \"ICPT eliminateExcept(List queryVars);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97af32cc7f33e27172b23cd73cf05376\",\n \"score\": \"0.3950335\",\n \"text\": \"public ExcludeBean()\\r\\n {\\r\\n super();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daeb27df719d59add2bb23f44e28ef62\",\n \"score\": \"0.39460713\",\n \"text\": \"public void setFilterExcludeProperties(List filterExcludeProperties) {\\n\\n this.filterExcludeProperties = filterExcludeProperties;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e9f479cb6837385964286ddc1cb265a\",\n \"score\": \"0.39356267\",\n \"text\": \"public Boolean isExcludesOperation() {\\r\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75fd5b4f340c4c5016768a9cb19abfbb\",\n \"score\": \"0.39345694\",\n \"text\": \"protected Set getExcludedNativeElements(@NonNull ElementQuery.Result result) {\\n return Collections.emptySet();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"855f1b02a93bf2753715bc9e97ca3877\",\n \"score\": \"0.3917004\",\n \"text\": \"public static boolean isExclusion(final G_PropertyMatchDescriptor descriptor) {\\n\\t\\treturn G_Constraint.NOT.equals(descriptor.getConstraint()) || !descriptor.getInclude();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cb549fcc063ebd7931c3d5635b0b0d4\",\n \"score\": \"0.39164758\",\n \"text\": \"public int getBadgeTypesToExcludeCount() {\\n return badgeTypesToExclude_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66d2c06e610545254b38a5e960d7611f\",\n \"score\": \"0.39083162\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.Boolean isExcludedFromArchive() {\\n return (java.lang.Boolean)__getInternalInterface().getFieldValue(EXCLUDEDFROMARCHIVE_PROP.get());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e9e41287982ee71694d14bf24af72af\",\n \"score\": \"0.3905532\",\n \"text\": \"protected LuceneQueryAdapter getQueryAdapter() {\\n return this.queryAdapter;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aacd6f40483033766ec72a142ddf9041\",\n \"score\": \"0.39018765\",\n \"text\": \"@Override\\n\\tpublic String[] getDefaultSearchFields() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e51da9f06b8db48924b9e9c4de094c87\",\n \"score\": \"0.38978955\",\n \"text\": \"void getAllPrisonersExcept(long excludedPrisoner);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9e344ee3cdc6c11c45d003c62a4e7ab\",\n \"score\": \"0.38828304\",\n \"text\": \"protected Collection getExcludeItemDescriptions(final JSONObject advancedConfig, final String formName,\\n final String itemName) {\\n final Collection descriptions = new HashSet();\\n\\n final JSONArray excludes = JSONArray.fromObject(advancedConfig.get(formName));\\n\\n for (int i = 0; i < excludes.size(); i++) {\\n final JSONObject param = excludes.getJSONObject(i);\\n\\n if (!param.isNullObject()) {\\n final String exclude = param.getString(itemName);\\n\\n if (exclude.length() > 0) {\\n descriptions.add(exclude);\\n }\\n }\\n }\\n\\n return descriptions;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0a7de3e9bbda1514f4bb2348bb4bade\",\n \"score\": \"0.3877979\",\n \"text\": \"public void disallowQuerying(final String name, final DisallowQueryingSearchIndexOptions options) {\\n block(asyncIndexManager.disallowQuerying(name, options));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dac6f471ac8ff5babaa2f79e784ddbfa\",\n \"score\": \"0.38732502\",\n \"text\": \"public static void resetDefaultExcludes() {\\n defaultExcludes = new Vector();\\n \\n for (int i = 0; i < DEFAULTEXCLUDES.length; i++) {\\n defaultExcludes.add(DEFAULTEXCLUDES[i]);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acc79ac59f683421d077a014f8d3c6d5\",\n \"score\": \"0.38664588\",\n \"text\": \"private void relayoutAllViewsExcept(View excluded) {\\n final int count = mVisibleTailSuggestions.size();\\n for (int index = 0; index < count; ++index) {\\n final View view = mVisibleTailSuggestions.valueAt(index);\\n if (view == excluded) continue;\\n ViewUtils.requestLayout(view, \\\"AlignmentManger.relayoutAllViewsExcept\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9cb1dbcf5def2362c35ddeb26ed9e89a\",\n \"score\": \"0.3860085\",\n \"text\": \"List getSearchableFields();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cf73028b92d8a8a154b9ae6003aaa53\",\n \"score\": \"0.3858965\",\n \"text\": \"com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cf73028b92d8a8a154b9ae6003aaa53\",\n \"score\": \"0.3858965\",\n \"text\": \"com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fb06fd639e6a61cbedb25f33b77d733\",\n \"score\": \"0.38511413\",\n \"text\": \"public com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder() {\\n return doNotDisturb_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fb06fd639e6a61cbedb25f33b77d733\",\n \"score\": \"0.38511413\",\n \"text\": \"public com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder() {\\n return doNotDisturb_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7c38637aa7c8b9523cbc55b9640b634\",\n \"score\": \"0.38500732\",\n \"text\": \"@Accessor(qualifier = \\\"facets\\\", type = Accessor.Type.GETTER)\\n\\tpublic List getFacets()\\n\\t{\\n\\t\\treturn getPersistenceContext().getPropertyValue(FACETS);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"155d5802aa9e0066917cd2ff7724f02a\",\n \"score\": \"0.3840236\",\n \"text\": \"public void addExcludesBelief(Belief newExcludesBelief){\\n\\t\\tGenericProvider.addIndividual(indi, newExcludesBelief.indi, GenericProvider.excludesBelProp, onto, factory, manager);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ab118bfe85d3a9f86e1ffcd1466313b\",\n \"score\": \"0.38378048\",\n \"text\": \"@Accessor(qualifier = \\\"excludedItems\\\", type = Accessor.Type.SETTER)\\n\\tpublic void setExcludedItems(final List value)\\n\\t{\\n\\t\\tgetPersistenceContext().setPropertyValue(EXCLUDEDITEMS, value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04a81bbf38539b535918dd31bc6d8cce\",\n \"score\": \"0.38376376\",\n \"text\": \"public void setExcludeUnapprovedProducts(boolean excludeUnapprovedProducts) {\\n this.excludeUnapprovedProducts = excludeUnapprovedProducts;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c472fba104c563de5e3d4332368f6423\",\n \"score\": \"0.3837395\",\n \"text\": \"public void setExcludeArchived(boolean excludeArchived){\\n put(SlackParamsConstants.EXCLUDE_ARCHIVED, excludeArchived);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b09c34e913000ad103cb620cb2ed4524\",\n \"score\": \"0.3834303\",\n \"text\": \"public void setExcludeParameterPatterns(String[] excludeParameterPatterns) {\\n this.excludeParameterPatterns = excludeParameterPatterns;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f84a1ba5f02d0c6258d1917c4763b3df\",\n \"score\": \"0.38291916\",\n \"text\": \"public Boolean getDisabled() {\\n return disabled;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12d14cf0790ea3a08f899a80a1b677e7\",\n \"score\": \"0.38281485\",\n \"text\": \"public boolean isScopeProvidedExcluded() throws CoreException\\r\\n {\\r\\n return getAttribute(false, ATTR_EXCLUDE_SCOPE_PROVIDED, true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfa535a9ac99524a61120bfdda9aa5f6\",\n \"score\": \"0.38238963\",\n \"text\": \"@SuppressWarnings(\\\"rawtypes\\\")\\n\\t@Override\\n\\tprotected ArrayList getFieldsToIgnoreInEqualsMethod() {\\n\\t\\treturn new ArrayList(Arrays.asList(new Enum[] { Fields.EMAIL, Fields.REMINDER_ID }));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1da17755e6e4f2fd9e319063313f85c2\",\n \"score\": \"0.38198596\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.Boolean isExcludedFromArchive();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4157fafbdb3cb866c897bab610fbd67\",\n \"score\": \"0.38177362\",\n \"text\": \"public SearchAditionalPropertiesPanel getAditionalSearchPanel() {\\n\\t\\treturn driver.getAditionalSearchPanel();\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":885,"cells":{"query_id":{"kind":"string","value":"c40b4362a073c80dd06f42be4009ad0a"},"query":{"kind":"string","value":"/ Este enpoint asocia un registro de Reina con un registro de Reuna"},"positive_passages":{"kind":"list like","value":[{"docid":"981360e791295b4422837319d7f3aa10","score":"0.0","text":"@CrossOrigin\n\t@RequestMapping(value = \"/expediente/{idJoven}\", method = RequestMethod.PUT, consumes = {MediaType.APPLICATION_JSON_UTF8_VALUE}, produces = {MediaType.APPLICATION_JSON_UTF8_VALUE})\n\tpublic @ResponseBody ResponseEntity actualizarJoven(@PathVariable Integer idJoven, @RequestBody AsociadorDTO asociador, HttpServletRequest request) throws ReinaException {\n\t\tExpediente exp = expedienteServicioImpl.traerExpediente(idJoven);\n\t\t\n\t\tif( exp.getLegajo() == null ) {\n\t\t\tif(idJoven != null && asociador.getIdCaratulador() != null && asociador.getLegajo() != null) {\n\t\t\t\texpedienteServicioImpl.agergarExpedienteExterno(idJoven, asociador.getIdCaratulador(), asociador.getLegajo());\n\t\t\t\treturn new ResponseEntity(\"El objeto fue modificado correctamente\", HttpStatus.CREATED);\n\t\t\t}else {\n\t\t\t\treturn new ResponseEntity(\"Revise los parámetros que está enviando al servidor.\", HttpStatus.BAD_REQUEST);\n\t\t\t}\n\t\t}else {\n\t\t\treturn new ResponseEntity(\"El joven ya tiene asignado otro legajo.\", HttpStatus.BAD_REQUEST);\n\t\t}\n\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"981360e791295b4422837319d7f3aa10\",\n \"score\": \"0.0\",\n \"text\": \"@CrossOrigin\\n\\t@RequestMapping(value = \\\"/expediente/{idJoven}\\\", method = RequestMethod.PUT, consumes = {MediaType.APPLICATION_JSON_UTF8_VALUE}, produces = {MediaType.APPLICATION_JSON_UTF8_VALUE})\\n\\tpublic @ResponseBody ResponseEntity actualizarJoven(@PathVariable Integer idJoven, @RequestBody AsociadorDTO asociador, HttpServletRequest request) throws ReinaException {\\n\\t\\tExpediente exp = expedienteServicioImpl.traerExpediente(idJoven);\\n\\t\\t\\n\\t\\tif( exp.getLegajo() == null ) {\\n\\t\\t\\tif(idJoven != null && asociador.getIdCaratulador() != null && asociador.getLegajo() != null) {\\n\\t\\t\\t\\texpedienteServicioImpl.agergarExpedienteExterno(idJoven, asociador.getIdCaratulador(), asociador.getLegajo());\\n\\t\\t\\t\\treturn new ResponseEntity(\\\"El objeto fue modificado correctamente\\\", HttpStatus.CREATED);\\n\\t\\t\\t}else {\\n\\t\\t\\t\\treturn new ResponseEntity(\\\"Revise los parámetros que está enviando al servidor.\\\", HttpStatus.BAD_REQUEST);\\n\\t\\t\\t}\\n\\t\\t}else {\\n\\t\\t\\treturn new ResponseEntity(\\\"El joven ya tiene asignado otro legajo.\\\", HttpStatus.BAD_REQUEST);\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"be6f9359960ab9f4e45ac6e84bc107bd","score":"0.63655543","text":"public void registroEmpresa(Empresa miempresa);","title":""},{"docid":"075599073a37a5bf2c047dfc76aa63d2","score":"0.6121079","text":"public void ingresar(Object dato){\n raiz = agregarRecursivo(raiz, dato);\n }","title":""},{"docid":"293b86752f3e1421fff34fbca4d41555","score":"0.60954314","text":"@Override\r\n\tpublic Resultado grabarOrden(TransactionRequest> request) throws Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tList ordenes = request.getEntityTransaction();\r\n\t\tOrdenDto ordenDto = null;\r\n\t\tInteger idOrden;\r\n\t\tInteger idgrupodocumento;\r\n\t\tfor (int i = 0; i < ordenes.size(); i++) {\r\n\t\t\tordenDto = ordenes.get(i);\r\n\t\t\tif (ordenDto.getIdOrden() != null) {\r\n\t\t\t\t// Update\r\n\t\t\t\tOrden ordenEdit = ordenMapper.selectByPrimaryKeyBasic(ordenDto.getIdOrden());\r\n\t\t\t\tidgrupodocumento = ordenEdit.getIdgrupodocumento();\r\n\t\t\t\tordenEdit.setFechainicioprestacion(ordenDto.getFechaInicioPrestacion());\r\n\t\t\t\tordenEdit.setFechafinprestacion(ordenDto.getFechaFinPrestacion());\r\n\t\t\t\tordenEdit.setAnio(ordenDto.getAnio());\r\n\t\t\t\tordenEdit.setEstadoexpedientesiaf(ordenDto.getNroExpedienteSiaf());\r\n\t\t\t\tordenEdit.setEstadoorden(ordenDto.getEstadoOrden());\r\n\t\t\t\tordenEdit.setMoneda(ordenDto.getMoneda());\r\n\t\t\t\tordenEdit.setPlazoejecucion(ordenDto.getPlazo());\r\n\t\t\t\t// ordenEdit.setEstadoorden(estadoorden); TODO: CHECK\r\n\r\n\t\t\t\t// Audit\r\n\t\t\t\tordenEdit.setFechamodificacionauditoria(new Date());\r\n\t\t\t\tordenEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tordenEdit.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\tordenEdit.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tordenMapper.updateByPrimaryKey(ordenEdit);\r\n\t\t\t\tidOrden = ordenEdit.getIdorden();\r\n\t\t\t} else {\r\n\t\t\t\t// Insert grupo\r\n\t\t\t\t// Inserta grupo documento\r\n\t\t\t\tGrupodocumento grupodocumento = new Grupodocumento();\r\n\t\t\t\tidgrupodocumento = (int) utilsBusiness.getNextSeq(Sequence.SEQ_GRUPODOCUMENTO).longValue();\r\n\t\t\t\tgrupodocumento.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\t\tgrupodocumento.setAnio(ordenDto.getAnio());\r\n\t\t\t\tgrupodocumento.setCodigocentrocosto(ordenDto.getCodigoCentroCosto());\r\n\t\t\t\tgrupodocumento.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tgrupodocumento.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\tgrupodocumento.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tgrupodocumento.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\tgrupodocumentoMapper.insert(grupodocumento);\r\n\r\n\t\t\t\t// Insert\r\n\t\t\t\tOrden ordenNew = new Orden();\r\n\t\t\t\tordenNew.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\t\tordenNew.setFechainicioprestacion(ordenDto.getFechaFinPrestacion());\r\n\t\t\t\tordenNew.setFechafinprestacion(ordenDto.getFechaFinPrestacion());\r\n\t\t\t\tordenNew.setAnio(ordenDto.getAnio());\r\n\t\t\t\tordenNew.setEstadoexpedientesiaf(ordenDto.getNroExpedienteSiaf());\r\n\t\t\t\tordenNew.setEstadoorden(ordenDto.getEstadoOrden());\r\n\t\t\t\tordenNew.setMoneda(ordenDto.getMoneda());\r\n\t\t\t\tordenNew.setPlazoejecucion(ordenDto.getPlazo());\r\n\t\t\t\tordenNew.setIdpacconsolidado(ordenDto.getIdPacConsolidado());\r\n\r\n\t\t\t\t// Orden data\r\n\t\t\t\tordenNew.setNroorden(ordenDto.getNroOrden().toString()); // verificar\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// nro\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// type\r\n\t\t\t\tordenNew.setFechaorden(ordenDto.getFechaOrden());\r\n\t\t\t\tordenNew.setAnio(ordenDto.getAnio());\r\n\t\t\t\tordenNew.setAnioorden(ordenDto.getAnio());\r\n\t\t\t\tordenNew.setNroexpedientesiaf(ordenDto.getNroExpedienteSiaf().toString());\r\n\t\t\t\tordenNew.setMoneda(ordenDto.getMoneda());\r\n\t\t\t\t\r\n\t\t\t\tdouble monto = ordenDto.getTotalFactSoles();\r\n\t\t\t\tBigDecimal bigmontonew = new BigDecimal(monto);\r\n\t\t\t\tordenNew.setMontoorden(Utils.round(bigmontonew));\r\n\t\t\t\t\r\n\t\t\t\tordenNew.setEstadoexpedientesiaf(ordenDto.getEstadoOrden());\r\n\t\t\t\tordenNew.setIdcatalogotipobien(ordenDto.getIdTipoBien());\r\n\t\t\t\tordenNew.setIdunidadejecutora(ordenDto.getIdUnidadEjecutora());\r\n\r\n\t\t\t\t// Audit\r\n\t\t\t\tordenNew.setFechacreacionauditoria(new Date());\r\n\t\t\t\tordenNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tordenNew.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\tordenNew.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tordenNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\tidOrden = (int) utilsBusiness.getNextSeq(pe.com.sisabas.resources.Sequence.SEQ_CUADROCOMPARATIVOVR)\r\n\t\t\t\t\t\t.longValue();\r\n\t\t\t\tordenNew.setIdorden(idOrden);\r\n\t\t\t\tordenMapper.insert(ordenNew);\r\n\t\t\t}\r\n\r\n\t\t\t// delete details\r\n\t\t\tList entregablesDelete = entregableMapper.getEntegablesByOrden(ordenDto.getIdOrden());\r\n\t\t\tfor (Entregable item : ordenDto.getEntegables()) {\r\n\t\t\t\tfor (Entregable delete : entregablesDelete) {\r\n\t\t\t\t\tif (item.getIdentregable() == delete.getIdentregable()) {\r\n\t\t\t\t\t\tdelete.setEstadoauditoria(\"Keep\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// Elimino aquelos no estas\r\n\t\t\tfor (Entregable entregable : entregablesDelete) {\r\n\t\t\t\tif (!entregable.getEstadoauditoria().equals(\"Keep\")) {\r\n\t\t\t\t\tentregableMapper.deleteByPrimaryKey(entregable.getIdentregable());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// save details\r\n\t\t\tfor (int j = 0; j < ordenDto.getEntegables().size(); j++) {\r\n\t\t\t\tEntregable entregable = ordenDto.getEntegables().get(j);\r\n\t\t\t\tif (entregable.getIdentregable() != null) {\r\n\t\t\t\t\t// Update\r\n\t\t\t\t\tEntregable entregableEdit = entregableMapper.selectByPrimaryKeyBasic(entregable.getIdentregable());\r\n\t\t\t\t\tif (entregableEdit != null) {\r\n\t\t\t\t\t\tentregableEdit.setNroentregable(entregable.getNroentregable());\r\n\t\t\t\t\t\tentregableEdit.setPlazoentregable(entregable.getPlazoentregable());\r\n\t\t\t\t\t\tentregableEdit.setMontoentregable(entregable.getMontoentregable());\r\n\t\t\t\t\t\tentregableEdit.setMontopenalidadentregable(entregable.getMontopenalidadentregable());\r\n\t\t\t\t\t\tentregableEdit.setFechapresentacionentregable(entregable.getFechapresentacionentregable());\r\n\t\t\t\t\t\tentregableEdit.setObservacionesentregable(entregable.getObservacionesentregable());\r\n\t\t\t\t\t\tentregableEdit.setIdcatalogoestadoentregable(entregable.getIdcatalogoestadoentregable());\r\n\r\n\t\t\t\t\t\t// Audit\r\n\t\t\t\t\t\tentregableEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\t\tentregableEdit.setFechamodificacionauditoria(new Date());\r\n\t\t\t\t\t\tentregableMapper.updateByPrimaryKey(entregableEdit);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Insert\r\n\t\t\t\t\tentregable.setIdorden(idOrden);\r\n\t\t\t\t\tentregable.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\t\t\tentregable.setAnio(ordenDto.getAnio());\r\n\r\n\t\t\t\t\t// Audit\r\n\t\t\t\t\tentregable.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\tentregable.setFechacreacionauditoria(new Date());\r\n\t\t\t\t\tentregable.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\t\tentregable.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t\tentregable.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\t\tentregable.setIdentregable((int) utilsBusiness\r\n\t\t\t\t\t\t\t.getNextSeq(pe.com.sisabas.resources.Sequence.SEQ_ENTREGABLE).longValue());\r\n\t\t\t\t\tentregableMapper.insert(entregable);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"45e161b3eca8647c735570f33288132c","score":"0.60393643","text":"private static void registrarAuditoriaDetallesRetencionVenta(Connexion connexion,RetencionVenta retencionventa)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getid_empresa().equals(retencionventa.getRetencionVentaOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getid_periodo_declara().equals(retencionventa.getRetencionVentaOriginal().getid_periodo_declara()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getid_periodo_declara()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_periodo_declara().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getid_periodo_declara()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getid_periodo_declara().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDPERIODODECLARA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getid_tipo_retencion().equals(retencionventa.getRetencionVentaOriginal().getid_tipo_retencion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getid_tipo_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_tipo_retencion().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getid_tipo_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getid_tipo_retencion().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDTIPORETENCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getruc().equals(retencionventa.getRetencionVentaOriginal().getruc()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getruc()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getruc();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getruc()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getruc() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.RUC,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getnumero_retencion().equals(retencionventa.getRetencionVentaOriginal().getnumero_retencion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getnumero_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getnumero_retencion();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getnumero_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getnumero_retencion() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.NUMERORETENCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getbase_imponible().equals(retencionventa.getRetencionVentaOriginal().getbase_imponible()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getbase_imponible()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getbase_imponible().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getbase_imponible()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getbase_imponible().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.BASEIMPONIBLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getporcentaje().equals(retencionventa.getRetencionVentaOriginal().getporcentaje()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getporcentaje()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getporcentaje().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getporcentaje()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getporcentaje().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.PORCENTAJE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getvalor().equals(retencionventa.getRetencionVentaOriginal().getvalor()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getvalor()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getvalor().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getvalor()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getvalor().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.VALOR,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getes_debito().equals(retencionventa.getRetencionVentaOriginal().getes_debito()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getes_debito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getes_debito().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getes_debito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getes_debito().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.ESDEBITO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}","title":""},{"docid":"f07791c373cd5d23b0e29f4b1da40134","score":"0.60030895","text":"public DTOReemplazoArticuloLote verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso) throws MareException {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Entrada\"); \n UtilidadesLog.debug(\"articuloLote: \" + articuloLote);\n \n RecordSet rs = new RecordSet();\n StringBuffer query = new StringBuffer();\n BelcorpService bs;\n DTOReemplazoArticuloLote dtoReemplazoArticuloLote = null;\n\n try {\n bs = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n query.append(\" (SELECT reemL.OID_REEM_ARTI_LOTE, reemL.CTRE_OID_CRIT_REEM, reemL.VAL_CRIT_REEM, \"); \n query.append(\" reemL.PROD_OID_PROD, reemL.COD_VENT_FICT, reemL.NUM_UNID, reemL.IMP_PREC_PUBL, reemL.IND_COMU, \"); \n query.append(\" prod.COD_SAP COD_SAP_REEM, i18n.VAL_I18N DESC_PROD_REEM, prod2.COD_SAP COD_SAP_ORIG, \"); \n query.append(\" con.NUM_CONC, desp.MENS_OID_MENS_AUTO, reeml.num_orde \"); \n query.append(\" ,nvl(reemL.COD_TIPO_AGRU,'I') COD_TIPO_AGRU \"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" FROM INC_REEMP_ARTIC_LOTE reemL, INC_REEMP_REGIO_ZONA reemRZ, \"); \n query.append(\" MAE_PRODU prod, v_gen_i18n_sicc i18n, MAE_PRODU prod2, INC_ARTIC_LOTE artLote, \"); \n query.append(\" INC_CONCU_PARAM_GENER con, INC_DESPA_PREMI desp \"); \n query.append(\" WHERE reemL.ARLO_OID_ARTI_LOTE = \" + articuloLote.getOidArticuloLote()); \n query.append(\" AND reemL.IND_ACTI = 1 \"); \n query.append(\" AND reemL.OID_REEM_ARTI_LOTE = reemRZ.RARL_OID_REEM_ARTI_LOTE \");\n query.append(\" AND (SELECT COUNT(1) \"); \n query.append(\" FROM MAE_CLIEN_UNIDA_ADMIN unidAdm, ZON_TERRI_ADMIN terrAdm, ZON_SECCI secc, \"); \n query.append(\" ZON_ZONA zon, ZON_REGIO reg \"); \n query.append(\" WHERE unidAdm.CLIE_OID_CLIE= \" + clientePremiacion.getOidCliente()); \n query.append(\" AND unidAdm.IND_ACTI = 1 \"); \n query.append(\" AND unidAdm.ZTAD_OID_TERR_ADMI = terrAdm.OID_TERR_ADMI \"); \n query.append(\" AND terrAdm.ZSCC_OID_SECC = secc.OID_SECC \"); \n query.append(\" AND secc.ZZON_OID_ZONA = zon.OID_ZONA \"); \n query.append(\" AND zon.ZORG_OID_REGI = reg.OID_REGI \"); \n query.append(\" AND zon.zorg_oid_regi = NVL (reemrz.zorg_oid_regi, zon.zorg_oid_regi) \"); \n query.append(\" AND zon.oid_zona = NVL (reemrz.zzon_oid_zona, zon.oid_zona)) >= 1 \"); \n query.append(\" AND reemL.PROD_OID_PROD = prod.OID_PROD \"); \n query.append(\" AND i18n.ATTR_ENTI = 'MAE_PRODU' \"); \n query.append(\" AND i18n.ATTR_NUM_ATRI = 1 \"); \n query.append(\" AND i18n.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query.append(\" AND i18n.VAL_OID = prod.OID_PROD \"); \n query.append(\" AND reemL.ARLO_OID_ARTI_LOTE = artLote.OID_ARTI_LOTE \"); \n query.append(\" AND artLote.PROD_OID_PROD = prod2.OID_PROD \"); \n query.append(\" AND con.OID_PARA_GRAL = \" + clienteConcurso.getOidConcurso()); \n query.append(\" AND desp.COPA_OID_PARA_GRAL = con.OID_PARA_GRAL \"); \n query.append(\" AND reemL.COMP_OID_REEM_ARTI_LOTE IS NULL \"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" UNION \"); \n \n query.append(\" SELECT reemL.OID_REEM_ARTI_LOTE, reemL.CTRE_OID_CRIT_REEM, reemL.VAL_CRIT_REEM, \"); \n query.append(\" reemL.PROD_OID_PROD, reemL.COD_VENT_FICT, reemL.NUM_UNID, reemL.IMP_PREC_PUBL, reemL.IND_COMU, \"); \n query.append(\" prod.COD_SAP COD_SAP_REEM, i18n.VAL_I18N DESC_PROD_REEM, prod2.COD_SAP COD_SAP_ORIG, \"); \n query.append(\" con.NUM_CONC, desp.MENS_OID_MENS_AUTO, reeml.num_orde \"); \n query.append(\" ,nvl(reemL.COD_TIPO_AGRU,'I') COD_TIPO_AGRU \"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" FROM INC_REEMP_ARTIC_LOTE reemL, \"); \n query.append(\" MAE_PRODU prod, v_gen_i18n_sicc i18n, MAE_PRODU prod2, INC_ARTIC_LOTE artLote, \"); \n query.append(\" INC_CONCU_PARAM_GENER con, INC_DESPA_PREMI desp \"); \n query.append(\" WHERE reemL.ARLO_OID_ARTI_LOTE = \" + articuloLote.getOidArticuloLote()); \n query.append(\" AND reemL.IND_ACTI = 1 \"); \n query.append(\" AND NOT EXISTS (SELECT 1 \"); \n query.append(\" FROM inc_reemp_regio_zona reemrz \"); \n query.append(\" where reemrz.RARL_OID_REEM_ARTI_LOTE = reeml.OID_REEM_ARTI_LOTE) \"); \n query.append(\" AND reemL.PROD_OID_PROD = prod.OID_PROD \"); \n query.append(\" AND i18n.ATTR_ENTI = 'MAE_PRODU' \"); \n query.append(\" AND i18n.ATTR_NUM_ATRI = 1 \"); \n query.append(\" AND i18n.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query.append(\" AND i18n.VAL_OID = prod.OID_PROD \"); \n query.append(\" AND reemL.ARLO_OID_ARTI_LOTE = artLote.OID_ARTI_LOTE \"); \n query.append(\" AND artLote.PROD_OID_PROD = prod2.OID_PROD \"); \n query.append(\" AND con.OID_PARA_GRAL = \" + clienteConcurso.getOidConcurso()); \n \n // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" AND reemL.COMP_OID_REEM_ARTI_LOTE IS NULL \"); \n \n query.append(\" AND desp.COPA_OID_PARA_GRAL = con.OID_PARA_GRAL) \"); \n query.append(\" ORDER BY NUM_ORDE \"); \n \n try {\n rs = bs.dbService.executeStaticQuery(query.toString());\n } catch (Exception ex) {\n UtilidadesLog.error(\"ERROR \", ex);\n throw new MareException(ex, UtilidadesError.armarCodigoError(CodigosError.ERROR_DE_ACCESO_A_BASE_DE_DATOS));\n }\n \n UtilidadesLog.debug(\"rs: \" + rs);\n \n if(rs.esVacio()){\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\"); \n return dtoReemplazoArticuloLote;\n \n } else {\n \n int cant = rs.getRowCount();\n Boolean reemplazoValido = Boolean.FALSE;\n \n for(int i=0; i< cant; i++){\n \n \n reemplazoValido = this.reemplazoValido(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"CTRE_OID_CRIT_REEM\")).toString()),\n articuloLote.getOidCodigoProducto(),\n Long.valueOf(((BigDecimal)rs.getValueAt(i, \"PROD_OID_PROD\")).toString()),\n ((rs.getValueAt(i, \"VAL_CRIT_REEM\")!=null)?(Integer.valueOf(((BigDecimal)rs.getValueAt(i, \"VAL_CRIT_REEM\")).toString())):null),\n clientePremiacion.getOidPais());\n \n \n if(reemplazoValido.booleanValue()){ \n \n if(((BigDecimal)rs.getValueAt(i, \"IND_COMU\")).intValue()== 1 && ((BigDecimal)rs.getValueAt(i, \"MENS_OID_MENS_AUTO\")!= null)){\n this.actualizarBuzonMensajeDespacho(clientePremiacion.getOidCliente(),\n Long.valueOf(((BigDecimal)rs.getValueAt(i, \"MENS_OID_MENS_AUTO\")).toString()),\n (String)rs.getValueAt(i, \"NUM_CONC\"),\n (String)rs.getValueAt(i, \"COD_SAP_ORIG\"),\n (String)rs.getValueAt(i, \"COD_SAP_REEM\"),\n (String)rs.getValueAt(i, \"DESC_PROD_REEM\"),\n (String)rs.getValueAt(i, \"COD_VENT_FICT\"));\n }\n \n dtoReemplazoArticuloLote = new DTOReemplazoArticuloLote();\n dtoReemplazoArticuloLote.setProdOidProd(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"PROD_OID_PROD\")).toString()));\n dtoReemplazoArticuloLote.setCodVentFict((String)rs.getValueAt(i, \"COD_VENT_FICT\"));\n dtoReemplazoArticuloLote.setNumUnid(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"NUM_UNID\")).toString()));\n dtoReemplazoArticuloLote.setImpPrecPubi((BigDecimal)rs.getValueAt(i, \"IMP_PREC_PUBL\"));\n \n // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n dtoReemplazoArticuloLote.setOidReemArtiLote(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"OID_REEM_ARTI_LOTE\")).toString()));\n dtoReemplazoArticuloLote.setTipoAgrupacion((String)rs.getValueAt(i, \"COD_TIPO_AGRU\"));\n \n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\"); \n return dtoReemplazoArticuloLote;\n \n }\n } \n }\n \n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\"); \n return null;\n \n }","title":""},{"docid":"bf7d283643841b82942ff1275a4f4c57","score":"0.6002746","text":"public void gravarRemocaoCliente(String registro){\n\t}","title":""},{"docid":"ae6a0c9a095723964c70e1b44a2998fc","score":"0.60013294","text":"@Override\n @Transactional\n public Reservation getResaById(Integer resaId) throws FunctionalException, NotFoundException{\n if (resaId<=0) throw new FunctionalException(\"les données sont incorrectes\");\n else{\n resaReturn = resaDao.findById(resaId);\n if (resaReturn==null) throw new NotFoundException(\"réservation non trouvée\");\n else{\n return resaReturn;\n }\n }\n }","title":""},{"docid":"d303be5e5544b45417dce06869cdd480","score":"0.5989093","text":"private void proceseazaRezultate() {\n }","title":""},{"docid":"8541900e415ff6137d9ef72e69d157b8","score":"0.5969671","text":"public default Ropa create(Ropa ropa) throws Exception{\n\t\t\n\t\tif( ropa.getId()<0){\n\t\t\t\n\t\t\tSystem.out.println(\"falta id\");\n\t\t\treturn ropa;\n\t\t}\n\t\telse{\n\t\t\tlistados.add(ropa);\n\t\t\treturn ropa;\n}\n}","title":""},{"docid":"e1b13e118b3265abfae570d703b5f328","score":"0.5964795","text":"private void registrarVenta(Usuario usuario, ArrayList inventario) {\n Mueble mueble;\n for (int i = 0; i < inventario.size(); i++)\n {\n mueble = inventario.get(i);\n Mueble editar=(Mueble) persistencia.findById(Mueble.class, mueble.getReferencia());\n editar.setCantidad(editar.getCantidad() - mueble.getCantidad());\n RegistroVenta compra = new RegistroVenta(new Date(System.currentTimeMillis()), \n mueble, mueble.getCantidad(), null, usuario);\n usuario.agregarRegistro(compra);\n\n persistencia.update(usuario);\n persistencia.update(editar);\n }\n }","title":""},{"docid":"5c5fdee118bb7eb77443ba0a4c9f4580","score":"0.5862272","text":"public RestauranteEntity addRestaurante (String nombre, String nit) {\n LOGGER.log(Level.INFO, \"Inicia proceso de asociar un autor al evento con nombre = {0}\", nombre);\n EventoEntity eventoEntity = getEvento(nombre);\n RestauranteEntity restauranteEntity = new RestauranteEntity();\n restauranteEntity.setNit(nit);\n eventoEntity.getRestaurantes().add(restauranteEntity);\n return getRestaurante(nombre, nit);\n }","title":""},{"docid":"d8fee32c78fca07838b2602a3ce6d8f1","score":"0.58505505","text":"private void insertarRerAdjunto(Long idDocumento){\r\n\t\t\tReferenciaAdjuntos referenciaAdjuntos= new ReferenciaAdjuntos();\r\n\t\t\treferenciaAdjuntos.setPersona(persona);\r\n\t\t\treferenciaAdjuntos.setDocumentos(em.find(Documentos.class, idDocumento));\r\n\t\t\t//referenciaAdjuntos.setIdRegistroTabla(empleadoPuesto.getIdEmpleadoPuesto());\r\n\t\t\treferenciaAdjuntos.setIdRegistroTabla(solicitudTrasladoCab.getIdSolicitudTrasladoCab());\r\n\t\t\treferenciaAdjuntos.setUsuAlta(usuarioLogueado.getCodigoUsuario());\r\n\t\t\treferenciaAdjuntos.setFechaAlta(new Date());\r\n\t\t\tif(actividadProcesoRespuesta() != null){\r\n\t\t\t\treferenciaAdjuntos.setActividadProceso(actividadProcesoRespuesta());\r\n\t\t\t}\r\n\t\t\tem.persist(referenciaAdjuntos);\r\n\t\t}","title":""},{"docid":"c4932b8b470bd3b5a0c18bc7709145ec","score":"0.5842644","text":"public void registroCentro(Centro micentro, Empresa miempresa);","title":""},{"docid":"a72e2c1e01285bcac6c9dab5a8bcf093","score":"0.57924086","text":"public Cliente RellenarAnamnesis (Cliente cli)\n\t\t{\n\t\t\tCliente auxcli=new Cliente();\n\t\t\tc=new Conexion();\n\t\t\tString query=\"select * from tcliente where oid_cliente = '\"+cli.getOid()+\"'\";\n\t\t\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\tResultSet rs=c.getstm().executeQuery(query);\n\t\t\t\twhile (rs.next())\n\t\t\t\t{\n\t\t\t\t\tauxcli.setOid(rs.getInt(1));\n\t\t\t\t\tauxcli.setNombre(rs.getString(2));\n\t\t\t\t\tauxcli.setApellido1(rs.getString(3));\n\t\t\t\t\tauxcli.setApellido2(rs.getString(4));\n\t\t\t\t\tauxcli.setEdad(rs.getString(5));\n\t\t\t\t\tauxcli.setTelefono(rs.getString(6));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\t\n\t\t\t\tSystem.err.println(\"error en buscar Consultadal.RellenarConsulta \"+ e.getLocalizedMessage() );\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tc.cerrarConexion();\n\t\t\t}\n\t\t\t\n\t\t\treturn auxcli;\n\t\t}","title":""},{"docid":"bf347b52cc58ccc1ace866d88011c604","score":"0.5785463","text":"public RegistroCliente(){\n setSubOrden(\"Cliente (nombre_cliente, nit, telefono_cliente, credito)\");\n }","title":""},{"docid":"27116730c8eb07b9c181128cfbf4637c","score":"0.57753515","text":"@Override\n\tpublic int Registrar_Detalle_Venta(Detalle_VentaDTO obj) {\n\t\tint rs=-1;\n\t\tConnection con=null;\n\t\tPreparedStatement pst=null;\n\t\ttry {\n\t\t\tcon=new MySqlDbConexion().getConexion();\n\t\t\tString sql=\"insert into DETALLE_VENTA values (null,?,?,?,?,?)\";\n\t\t\tpst=con.prepareStatement(sql);\n\t\t\t\n\t\t\tpst.setInt(1,obj.getCodigo_venta());\n\t\t\tpst.setInt(2,obj.getCodigo_producto());\n\t\t\tpst.setDouble(3,obj.getPrecio_venta());\n\t\t\tpst.setInt(4,obj.getCantidad());\n\t\t\tpst.setInt(5,obj.getDescuento());\n\t\t\t\n\t\t\t\n\t\t \n\t\t rs=pst.executeUpdate();\n\t\t \t\t\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tSystem.out.println(\"Error en la Sentencia\"+e.getMessage());\n\t\t\t\n\t\t}\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif(pst!=null) pst.close();\n\t\t\t\tif(con!=null) con.close();\n\t\t\t}\n\t\t\tcatch (SQLException e) {\n\t\t\t\tSystem.out.println(\"Error al cerrar\");\n\t\t\t}\n\t\t}\n\t\treturn rs;\n\t}","title":""},{"docid":"a94b5d220523b7fe6e60af1d25e7e6e9","score":"0.5738567","text":"public void associarArbitro(int idEncontro, int numFederativo) throws ApplicationException {\n\t\tEntityManager em = emf.createEntityManager();\n\t\tCatalogoArbitros catalogoArbitros = new CatalogoArbitros(em);\n\t\tCatalogoEncontros catalogoEncontros = new CatalogoEncontros(em);\n\t\tboolean check = true;\n\t\ttry {\n\t\t\tem.getTransaction().begin();\n\t\t\tEncontro e = catalogoEncontros.getEncontro(idEncontro); //Encontro com o id\n\t\t\tArbitro a = catalogoArbitros.getArbitro(numFederativo); //Arbitro com o numFederativo\n\t\t\tDate dataEncontro = e.getData();\n\t\t\tList listaEncontrosArbitro = a.getCalendarioEncontros(); //Encontros do arbitro\n\t\t\tString tipo = e.getTipo(); //Tipo da prova\n\t\t\twhile (check == true) {\n\t\t\t\tfor (Encontro encontro : listaEncontrosArbitro) {\n\t\t\t\t\t//Se a prova for do tipo campeonato\n\t\t\t\t\tif (tipo.equals(\"campeonato\")) {\n\t\t\t\t\t\tList listaParticipantes = e.getParticipantes();\n\t\t\t\t\t\tParticipante p1 = listaParticipantes.get(0);\n\t\t\t\t\t\tParticipante p2 = listaParticipantes.get(listaParticipantes.size() - 1);\n\t\t\t\t\t\tList listaAux = encontro.getParticipantes();\n\t\t\t\t\t\t//Se o arbitro ja arbitrar outro jogo com os mesmos participantes\n\t\t\t\t\t\tif (listaAux.contains(p1) && listaAux.contains(p2)) {\n\t\t\t\t\t\t\tcheck = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//Se o arbitro ja tiver outro encontro na mesma data ou arbitrar outro jogo na mesma fase\n\t\t\t\t\tif (encontro.getData().equals(dataEncontro) || encontro.getFase().equals(e.getFase())) {\n\t\t\t\t\t\tcheck = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcheck = false;\n\t\t\t}\n\t\t\tif (!check) {\n\t\t\t\tthrow new Exception(\" \");\n\t\t\t}\n\t\t\te.addArbitro(a);\n\t\t\ta.addEncontro(e);\n\t\t\tem.getTransaction().commit();\n\t\t} catch (Exception e) {\n\t\t\tif (em.getTransaction().isActive())\n\t\t\t\tem.getTransaction().rollback();\n\t\t\tthrow new ApplicationException(\"Erro a associar o arbitro\", e);\n\t\t} finally {\n\t\t\tem.close();\n\t\t}\n\t}","title":""},{"docid":"48b4fe516a2e03cee4e6c904e3e3bc2a","score":"0.57249063","text":"@Override\r\n\tpublic Resultado observarDocumentoTecnico(TransactionRequest request)\r\n\t\t\tthrows Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tDate dateUpdate = new Date();\r\n\t\tEvaluacionDocumentoResponse item = request.getEntityTransaction();\r\n\r\n\t\t// PAO - PROGRAMADO\r\n\t\t/*\r\n\t\t * if (item.getIdpedido() == null && item.getIdPacProgramado() != null)\r\n\t\t * { Pacprogramado programado =\r\n\t\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.\r\n\t\t * getIddocumentotecnico()); // programado.setGentablaIdcatalogoestado(\r\n\t\t * OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\t * programado.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * programado.setUsuariomodificacionauditoria(request.\r\n\t\t * getUsuarioAuditoria());\r\n\t\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * \r\n\t\t * pacprogramadoMapper.updateByPrimaryKey(programado);\r\n\t\t * \r\n\t\t * } else if (item.getIdpedido() != null && item.getIdPacProgramado() ==\r\n\t\t * null) { // PEDIDO - NO PROGRAMADO Pedido pedido =\r\n\t\t * pedidoMapper.selectByPrimaryKeyBasic(item.getIddocumentotecnico());\r\n\t\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\r\n\t\t * OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\t * pedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\r\n\t\t * ; pedidoMapper.updateByPrimaryKey(pedido); }\r\n\t\t */\r\n\t\t// SE UTILIZA LA MISMA TABLA PARA PROGRAMADOS Y NO PROGRAMDOS, tabla de\r\n\t\t// pedido\r\n\t\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\tpedido.setEstadopedido(Constantes.estadosPorEtapa.OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\tpedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\tpedidoMapper.updateByPrimaryKey(pedido);\r\n\r\n\t\t// Insertamos históricos de estados\r\n\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\t// Estadosportipodocumento estados =\r\n\t\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\tif (estado != null) {\r\n\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\trecord.setNrodocumento(item.getIdpedido());\r\n\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\t\trecord.setFechaingreso(date);\r\n\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\r\n\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t}\r\n\r\n\t\tfor (ObservacionDocumentoTecnicoDto obs : item.getObservaciones()) {\r\n\t\t\tObservacionesdocumentotecnico obsNew = new Observacionesdocumentotecnico();\r\n\t\t\tobsNew.setIdobservacionesdocumentotecnico(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_OBSERVACIONESDOCUMENTOTECNICO).longValue());\r\n\t\t\tobsNew.setIddocumentotecnico(item.getIddocumentotecnico());\r\n\t\t\tobsNew.setIdseccionesdocumentotecnico(obs.getIdseccionesdocumentotecnico());\r\n\t\t\tobsNew.setObservacion(obs.getObservacion());\r\n\t\t\t\r\n\t\t\t//AUDIT\r\n\t\t\tobsNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\tobsNew.setFechamodificacionauditoria(new Date());\r\n\t\t\tobsNew.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\tobsNew.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\tobsNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\tobservacionesdocumentotecnicoMapper.insert(obsNew);\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"1c818565a9a7a37b78fd6244e9c8f9ed","score":"0.56989086","text":"public PoaActividadResponsableDTO leerRegistro() {\n/* */ try {\n/* 79 */ PoaActividadResponsableDTO reg = new PoaActividadResponsableDTO();\n/* */ \n/* 81 */ reg.setIdActividad(this.rs.getInt(\"id_actividad\"));\n/* 82 */ reg.setIdUsuario(this.rs.getInt(\"id_usuario\"));\n/* 83 */ reg.setCodigoPoa(this.rs.getInt(\"codigo_poa\"));\n/* 84 */ reg.setEstado(this.rs.getString(\"estado\"));\n/* 85 */ reg.setFechaInsercion(this.rs.getString(\"fecha_insercion\"));\n/* 86 */ reg.setUsuarioInsercion(this.rs.getString(\"usuario_insercion\"));\n/* 87 */ reg.setFechaModificacion(this.rs.getString(\"fecha_modificacion\"));\n/* 88 */ reg.setUsuarioModificacion(this.rs.getString(\"usuario_modificacion\"));\n/* 89 */ return reg;\n/* */ }\n/* 91 */ catch (Exception e) {\n/* 92 */ e.printStackTrace();\n/* 93 */ Utilidades.writeError(\"PoaActividadResponsableDAO:leerRegistro \", e);\n/* */ \n/* 95 */ return null;\n/* */ } \n/* */ }","title":""},{"docid":"cca8d9285d3d46f0a7d49549b46267d9","score":"0.5676352","text":"@Override\n public void run(String... args) throws Exception {\n Noeud noeud = noeudRepository.findByIdNoeud(\"a7d09761-030f-418d-a657-a9af67eecd49\");\n\n arbreService.nextArbre(noeud);\n arbreService.positionInTree(2);\n /*Adherent adherent = new Adherent();\n adherent.setCompte(\"aa3d3ac9-f153-47fb-ade7-34d66ded0058\");\n adherent.setPrenom(\"Sandrine\");\n adherent.setNom(\"HAGBE\");\n\n\n Noeud noeud = new Noeud();\n noeud.setActif(true);\n noeud.setFull(false);\n noeud.setAdherent(adherentRepository.save(adherent));\n noeud.setPere(null);\n noeud.setArbre(arbreRepository.findByNiveau(1));\n noeudRepository.save(noeud);*/\n\n // System.out.println(noeudRepository.findByAdherentAndActifIsTrue(adherentRepository.findByCompte(\"bf6c8b5a-954c-4942-829b-bb830ceeaefa\")));\n\n\n //System.out.println(noeudRepository.findByAdherent_CompteAndActifIsTrue(a.getCompte()));\n\n\n /* Noeud noeud = new Noeud();\n noeud.setPere(null);\n noeud.setAdherent(adherentRepository.findAll().get(0));\n noeud.setArbre(arbreRepository.findByNiveau(1));\n noeudRepository.save(noeud);\n*/\n\n\n\n\n\n\n\n\n\n }","title":""},{"docid":"0b5f480206f6ee63e89aabd024c2f351","score":"0.5656017","text":"@Override\r\n\tpublic Resultado recibirDocumentoTecnico(EvaluacionDocumentoResponse item, TransactionRequest request)\r\n\t\t\tthrows Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tDate dateUpdate = new Date();\r\n\r\n\t\tInteger idDocumento;\r\n\t\t/*\r\n\t\t * if\r\n\t\t * (item.getIdcatalogotiponecesidad().equals(Constantes.tipoNecesidad.\r\n\t\t * TIPO_NECESIDAD_PROGRAMADO)) { Pacprogramado programado =\r\n\t\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.getIdPacProgramado()\r\n\t\t * ); programado.setEstado(Constantes.estadosPorEtapa.\r\n\t\t * EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t * programado.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * programado.setUsuariomodificacionauditoria(request.\r\n\t\t * getUsuarioAuditoria());\r\n\t\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * \r\n\t\t * idDocumento = item.getIdPacProgramado();\r\n\t\t * pacprogramadoMapper.updateByPrimaryKey(programado); } else { Pedido\r\n\t\t * pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\r\n\t\t * EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t * pedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\r\n\t\t * ;\r\n\t\t * \r\n\t\t * idDocumento = pedido.getIdpedido();\r\n\t\t * pedidoMapper.updateByPrimaryKey(pedido); }\r\n\t\t */\r\n\r\n\t\t// PARA PROGRAMADOS Y NO PROGRAMADOS, se utiliza la misma tabla de\r\n\t\t// pedidos\r\n\t\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\tpedido.setEstadopedido(Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tpedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\r\n\t\tidDocumento = pedido.getIdpedido();\r\n\t\tpedidoMapper.updateByPrimaryKey(pedido);\r\n\r\n\t\t// Insertamos históricos de estados\r\n\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t// Estadosportipodocumento estados =\r\n\t\t// @.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\tif (estado != null) {\r\n\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\trecord.setNrodocumento(idDocumento); // item.getIdpedido()\r\n\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\t\trecord.setFechaingreso(date);\r\n\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\r\n\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"c810acfc7841c3e872f38313718bd34d","score":"0.5639594","text":"@Transactional()\r\n @Override\r\n public void modificarReto(Retos r){\n em.persist(r);\r\n\r\n }","title":""},{"docid":"b6f8af2e955b01c49e69311b53fdbba4","score":"0.56347466","text":"public int AltaConsulta()\n\t\t{\n\t\t\t// 1º oid_consulta , 2º oid_cliente , 3º oid_anamnesis , 4º oid_exploracion , 5º oid_tratamiento \n\t\t\t// 6º fecha , 7º motivo\n\t\t\t \n\t\t\tint insercion = 0;\n\t\t\tc=new Conexion();\n\t\t\tString query=\"insert into vipr_tconsulta values (?,?,?,?,?,?,?)\";\n\t\t\tGregorianCalendar g=new GregorianCalendar();\n\t\t\tDate d1=new Date();\n\t\t\tSystem.out.print(\"Alta de consulta : en la fecha \");\n\t\t\tSystem.out.println(d1);\n\t\t\tString newdate=new SimpleDateFormat(\"yyyy-MM-dd\").format(d1);\n\t\t\tSystem.out.println(\"Fecha con formato \"+newdate);\n\t\t\ttry {\n\t\t\t\tPreparedStatement psResulset = c.getConexion().prepareStatement(query);\n\t\t\t\tpsResulset.setInt(1,0); // Este campo es autoincremental en la bd\n\t\t\t\tpsResulset.setInt(2, consul.getOid_cliente());\n\t\t\t\tpsResulset.setInt(3,consul.getOid_anamnesis());\n\t\t\t\tpsResulset.setInt(4,consul.getOid_exploración());\n\t\t\t\tpsResulset.setInt(5,consul.getOid_tratamiento());\t\t\t\t\n\t\t\t\tpsResulset.setString(6,newdate); // fecha\n\t\t\t\tpsResulset.setString(7,consul.getMotivo());\n\t\t\t\tinsercion=psResulset.executeUpdate();\n\t\t\t\t\t\t\t \n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\t\n\t\t\t\tSystem.err.println(\"error en buscar ExploracionDAL.AltaExploracion al realizar el insert\" + e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tc.cerrarConexion();\n\t\t\t}\n\t\t\treturn insercion;\n\t\t}","title":""},{"docid":"82012a16b20bd1be27bb2a71951c2bb2","score":"0.56147647","text":"@SuppressWarnings(\"unchecked\")\n\tpublic short registro (String idioma, String idUsuario, String correo, String clave) throws PersistenciaException {\n\t\tUtilValidacionParametros.validarIdIdioma(idioma);\n\t\tUtilValidacionParametros.validarIdUsuario(idUsuario);\n\t\tUtilValidacionParametros.validarCorreo(correo);\n\t\tUtilValidacionParametros.validarClave(clave);\t\t\n\t\tSession session = sessions.openSession();\n\t\tTransaction tx = null;\t\t\n\t\t\n\t\ttry {\n\t\t\tString alias = idUsuario;\n\t\t\tidUsuario = idUsuario.toLowerCase(LOCALE);\n\t\t\tcorreo = correo.toLowerCase(LOCALE);\n\t\t\ttx = session.beginTransaction();\t\t\t\n\t\t\tUsuario u = (Usuario) session.get(Usuario.class, idUsuario);\n\t\t\t\n\t\t\tif (u != null)\n\t\t\t\treturn REGISTRO_USUARIO_EXISTENTE;\n\t\t\telse {\t\t\t\n\t\t\t\tQuery selUsuario = session.createQuery(\"FROM Usuario WHERE correo = :mail\");\n\t\t\t\tselUsuario.setString(\"mail\", correo);\t\t\t\t\n\t\t\t\tList l = selUsuario.list();\n\t\t\t\t\n\t\t\t\tif (!l.isEmpty())\n\t\t\t\t\treturn REGISTRO_CORREO_EXISTENTE;\n\t\t\t\telse {\n\t\t\t\t\t/** Idioma */\n\t\t\t\t\tIdioma lang = (Idioma) session.get(Idioma.class, idioma);\n\t\t\t\t\t\n\t\t\t\t\tif (lang == null) {\n\t\t\t\t\t\tQuery selIdioma = session.createQuery(\"FROM \" + Idioma.class.getName());\n\t\t\t\t\t\tList li = selIdioma.list();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (li.isEmpty())\n\t\t\t\t\t\t\tthrow new PersistenciaException(\"No se han definido idiomas\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tlang = li.get(0);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t/** Primer nivel de la ruta por defecto */\n\t\t\t\t\tQuery selRuta = session.createQuery(\"FROM \" + Ruta.class.getName() + \" WHERE id.id = :idRuta ORDER BY nivel\");\n\t\t\t\t\tselRuta.setShort(\"idRuta\", ConfiguracionLoadHelper.getInstancia().getIdRutaXDefecto());\n\t\t\t\t\tList niveles = selRuta.list();\n\t\t\t\t\tRuta ruta = null;\n\t\t\t\t\t\n\t\t\t\t\tif (niveles.isEmpty()) {\n\t\t\t\t\t\tQuery selRutas = session.createQuery(\"FROM \" + Ruta.class.getName() + \" ORDER BY nivel\");\n\t\t\t\t\t\tniveles = selRutas.list();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (niveles.isEmpty())\n\t\t\t\t\t\t\tthrow new PersistenciaException(\"No se ha definido ni una sola ruta\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\truta = niveles.get(0); \n\t\t\t\t\t} else\n\t\t\t\t\t\truta = niveles.get(0);\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t\tu = new Usuario();\n\t\t\t\t\tu.setAlias(alias);\n\t\t\t\t\tu.setClave(UtilSeguridad.getClaveEncriptada(idUsuario, clave));\n\t\t\t\t\tu.setCorreo(correo);\n\t\t\t\t\tu.setEstado(\"\");\n\t\t\t\t\tu.setId(idUsuario);\t\t\t\t\t\n\t\t\t\t\tu.setIdioma(lang);\n\t\t\t\t\tu.setLogeado(false);\n\t\t\t\t\tu.setRutaNivel(ruta);\n\t\t\t\t\tsession.save(u);\n\t\t\t\t\ttx.commit();\n\t\t\t\t\t\n\t\t\t\t\treturn REGISTRO_OK;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (ConfiguracionException e) {\n\t\t\tUtilHibernate.rollback(tx);\n\t\t\tthrow new PersistenciaException(\"Error en el logout del usuario\", e);\n\t\t} finally {\n\t\t\tUtilHibernate.closeSession(session);\n\t\t}\n\t}","title":""},{"docid":"6dade683e2ea6f5e0475fa1d19489fcd","score":"0.56146723","text":"private void addRechnung(Auftrag au)\r\n {\r\n Rechnung re = new Rechnung();\r\n if (au == null)\r\n {\r\n Kunde kd = selectKunde();\r\n if (kd != null)\r\n {\r\n au = selectAuftrag(kd);\r\n }\r\n }\r\n\r\n if (au.getAbgerechnetBis() == au.getEnd())\r\n {\r\n Message(\"Der Auftrag ist bereits vollständig abgerechnet !\");\r\n return;\r\n }\r\n if (au != null)\r\n {\r\n try\r\n {\r\n // set rechnung base data\r\n re.setRechnungNr(rechnungen.getIndex() + 1);\r\n re.setAuftragNr(au.getAuftragNr());\r\n re.setDozentId(dozenten.get(currDozent).getId());\r\n\r\n // set rechnung start date\r\n if (au.getAbgerechnetBis().isEqual(au.getStart()))\r\n {\r\n re.setVon_Datum(Date.valueOf(au.getStart()));\r\n }\r\n else\r\n {\r\n re.setVon_Datum(Date.valueOf(au.getAbgerechnetBis().plusDays(1)));\r\n }\r\n\r\n // set rechnung end date\r\n if (au.getEnd().isAfter(LocalDate.now()))\r\n {\r\n re.setBis_Datum(Date.valueOf(LocalDate.now())); // it is not allowed to create invoice the future\r\n }\r\n else\r\n {\r\n re.setBis_Datum(Date.valueOf(au.getEnd()));\r\n }\r\n\r\n // set teilrechnung flag\r\n if (re.getVon_Datum().isEqual(au.getStart()) || re.getBis_Datum().isEqual(au.getEnd()))\r\n {\r\n re.setTeilRechnung(false);\r\n }\r\n else\r\n {\r\n re.setTeilRechnung(true);\r\n }\r\n\r\n // set einheiten\r\n if (!re.getKorrigiert() || re.getEinheiten() == 0)\r\n {\r\n re.setEinheiten(countWorkDays(re.getVon_Datum(), re.getBis_Datum()) * 9);\r\n }\r\n\r\n // calculate rechnung summe\r\n re.setSumme(String.valueOf(Double.parseDouble(au.getHonorar().replace(\",\", \".\")) * re.getEinheiten()));\r\n\r\n // create dialog\r\n Dialog dlg = new Dialog<>();\r\n FXMLLoader dlgLoader = new FXMLLoader(DozentenFaktura.class\r\n .getResource(\"gui/DialogRechnung.fxml\"));\r\n DialogPane pane = (DialogPane) dlgLoader.load();\r\n dlg.setDialogPane(pane);\r\n DialogRechnungController dlgHandle = (DialogRechnungController) dlgLoader.getController();\r\n dlgHandle.setData(re);\r\n dlgHandle.setHeaderText(\"Neue Rechnung anlegen\");\r\n dlg.initOwner(DozentenFaktura.getStage());\r\n\r\n Optional result = dlg.showAndWait();\r\n\r\n if (result.isPresent())\r\n {\r\n if (result.get().getButtonData() == ButtonBar.ButtonData.OK_DONE)\r\n {\r\n re = dlgHandle.getData();\r\n String file = \"Rechnungen/Rechnung_\" + String.format(\"%02d\", re.getDatum().getMonthValue()) + \"-\" + String.valueOf(re.getDatum().getYear()) + \".pdf\";\r\n Invoice document = new Invoice(re);\r\n if (document.createDocument(file))\r\n {\r\n re.setPath(file);\r\n }\r\n if (rechnungen.add(re))\r\n {\r\n // update table view rechnung\r\n tblRechnung.setItems(FXCollections.observableArrayList(rechnungen));\r\n // update auftrag data\r\n au.setAbgerechnetBis(Date.valueOf(re.getBis_Datum()));\r\n auftraege.set(auftraege.indexOf(au), au);\r\n tblAuftrag.setItems(FXCollections.observableArrayList(auftraege));\r\n }\r\n }\r\n }\r\n\r\n } catch (IOException e)\r\n {\r\n e.printStackTrace();\r\n }\r\n }\r\n UpdateUi();\r\n }","title":""},{"docid":"9e67fcc7b95bfc9ce956f07407a3c523","score":"0.55941665","text":"@Override\n @Transactional\n public List getResaByUserId(Integer demandeurId) throws FunctionalException {\n if (demandeurId <= 0) throw new FunctionalException(\"Les données sont incorrectes\");\n else {\n\n resaListReturn=resaDao.getResaByUserId(demandeurId);\n return resaListReturn;\n }\n\n }","title":""},{"docid":"e1994a1ace7263be4666a57ec4eec7e9","score":"0.5560262","text":"@WebMethod(operationName = \"ingresarIniciativaborrador\")\r\n public void ingresarIniciativaborrador(@WebParam(name = \"nombre\") String nombre, @WebParam(name = \"descripcion\") String descripcion, @WebParam(name = \"tiempo\") String tiempo, @WebParam(name = \"cod_subcategoria\") String cod_subcategoria, @WebParam(name = \"cod_usuario\") String cod_usuario, @WebParam(name = \"meta\") String meta, @WebParam(name = \"estado\") String estado) {\r\n String instruccion = String.format(\"insert into Iniciativa(nombre,descripcion,tiempo,cod_subcategoria,cod_usuario,meta,estado) values('%s','%s','%s',%s,%s,%s,'%s');\",nombre,descripcion,tiempo,cod_subcategoria,cod_usuario,meta,estado);\r\n try{\r\n conexiones con= new conexiones();\r\n con.agregar(instruccion);\r\n \r\n }catch(Exception e){\r\n \r\n }\r\n }","title":""},{"docid":"b87d20eed14b8b87eeb0f25ce8aa49c4","score":"0.55556315","text":"public void acceptRequest(utente relative) throws SQLException, NotAllowedException {\n \n ResultSet request = Database.selectRecord(\"richieste\", \"idsender = '\" + relative.getId() + \"' AND idreciver = '\" + this.id + \"'\");\n String relationship = \"\";\n\n while(request.next()){\n relationship = request.getString(\"relazione\");\n }\n \n try {\n // Effettua il collegamento tra i due parenti\n relative.setRelative(this, relationship);\n //this.setRelative(relative, relationship);\n \n } finally {\n // Rimuovi la richiesta dal database\n Database.deleteRecord(\"richieste\", \"idsender = '\" + relative.getId() + \"' AND idreciver = '\" + this.id + \"'\");\n }\n \n \n \n }","title":""},{"docid":"8f4fed2f769b2b94323d4574d1fd8c89","score":"0.554701","text":"private int registrarEgresoDetalle(Egreso oEgreso) {\n oEgresoDetalleBl = new EgresoDetalleBl();\n for (EgresoDetalle obj : listEgresoDetalle) {\n oEgresoDetalle = obj;\n oEgresoDetalle.setEgreso(oEgreso);\n oEgresoDetalleBl.registrar(oEgresoDetalle);\n }\n return SUCESS;\n }","title":""},{"docid":"69207ac39ab49e9478d108df993d8e85","score":"0.5533602","text":"public static void registrarAuditoria(Connexion connexion,Long idUsuario,RetencionVenta retencionventa,String sUsuarioPC,String sNamePC,String sIPPC)throws Exception {\n\t\t\r\n\t\ttry {\r\n\t\t\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIA) {\r\n\t\t\t\tif(retencionventa.getIsNew()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAINSERTAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if(retencionventa.getIsDeleted()) {\r\n\t\t\t\t\t/*if(!retencionventa.getIsExpired()) {\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.RegistrarNuevaAuditoria(Constantes.getLOidSistemaActual(),idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.getSAuditoriaEliminarLogicamente(),\"\",sUsuarioPC,sNamePC,sIPPC,Timestamp.valueOf(Funciones.getStringMySqlCurrentDateTime()),\"\");\r\n\t\t\t\t\t\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t} else {*/\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAELIMINARFISICAMENTE,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t//}\r\n\t\t\t\t} else if(retencionventa.getIsChanged()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAACTUALIZAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t\t\r\n\t}","title":""},{"docid":"23037feee0808dd396e4496140a336a9","score":"0.55309683","text":"public Clientes BuscarClienteId(Clientes ClienteObj);","title":""},{"docid":"43dd6d49f5c12d8954439ef9fa6b6f4b","score":"0.5530268","text":"@Override\n\tpublic Cliente cadastrar(Cliente cliente) {\n\t\treturn clientRepository.save(cliente);\n\t}","title":""},{"docid":"29707f69e5d0e78a250ddf89a285b596","score":"0.5530048","text":"@Override\r\n\tpublic Resultado grabarCompraDirecta(TransactionRequest request) throws Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tCompraDirectaDatosGeneralesDto compraDirecta = request.getEntityTransaction();\r\n\t\tPacconsolidado pc;\r\n\t\tInteger idPacConsolidado = 0;\r\n\t\tboolean saveEstado = false;\r\n\t\tif (compraDirecta.getIdPacConsolid() != null) {\r\n\t\t\tpc = pacconsolidadoMapper.selectByPrimaryKeyBasic(compraDirecta.getIdPacConsolid());\r\n\t\t\tif (pc != null) {\r\n\t\t\t\t// UPDATE PAC CONSOLIDADO\r\n\r\n\t\t\t\t// pc.setNroproceso(compraDirecta.getNroProceso());\r\n\t\t\t\tpc.setCodigotipoproceso(\"14\");\r\n\t\t\t\tpc.setNroproceso(compraDirecta.getNroProceso());\r\n\t\t\t\tdouble valorMoneda = compraDirecta.getValorMoneda();\r\n\t\t\t\tBigDecimal valorEstimado = new BigDecimal(valorMoneda);\r\n\t\t\t\t//pc.setValorestimadocontracion(valorEstimado);\r\n\t\t\t\tpc.setValorestimadocontracion(Utils.round(valorEstimado));\r\n\t\t\t\t\r\n\t\t\t\t// pc.setEstadoauditoria(); // ITEM UNICO\r\n\t\t\t\t// pc.setNroitems(0); // NUMERO DE ITEMS\r\n\t\t\t\t// pc.setCantidad(); // CANTIDAD DE ITEMS\r\n\t\t\t\tpc.setFlagcd(compraDirecta.getFlagCD());\r\n\t\t\t\t// pc.setUnidadmedida(); //UNIDAD DE MEDIDA\r\n\t\t\t\t// pc.setNombreespecialistavr(); //NOMBRE ESPECIALISTA VR\r\n\t\t\t\tpc.setFechaasignacionespecialista(compraDirecta.getFechaDocumentoTecnico());\r\n\r\n\t\t\t\t// AUDITORIA\r\n\t\t\t\tpc.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tpc.setFechamodificacionauditoria(new Date());\r\n\t\t\t\tpc.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tpc.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t// END AUDITORIA\r\n\r\n\t\t\t\tpacconsolidadoMapper.updateByPrimaryKey(pc);\r\n\t\t\t\tidPacConsolidado = pc.getIdpacconsolidado();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tsaveEstado = true;\r\n\t\t\t// Inserta grupo documento\r\n\t\t\tGrupodocumento grupodocumento = new Grupodocumento();\r\n\t\t\tInteger idgrupodocumento = (int) utilsBusiness.getNextSeq(Sequence.SEQ_GRUPODOCUMENTO).longValue();\r\n\t\t\tgrupodocumento.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\tgrupodocumento.setAnio(compraDirecta.getAnio());\r\n\t\t\tgrupodocumento.setCodigocentrocosto(compraDirecta.getCodigoCentroCosto());\r\n\t\t\tgrupodocumento.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\tgrupodocumento.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\tgrupodocumento.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\tgrupodocumento.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\tgrupodocumentoMapper.insert(grupodocumento);\r\n\r\n\t\t\t// NEW PAC CONSOLIDADO\r\n\t\t\tpc = new Pacconsolidado();\r\n\t\t\tpc.setNroconsolid(compraDirecta.getNroConsolid());\r\n\t\t\tpc.setAnio(compraDirecta.getAnio());\r\n\t\t\tpc.setIdunidadejecutora(compraDirecta.getIdUnidadEjecutora());\r\n\t\t\tpc.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\tpc.setCodigotipoproceso(compraDirecta.getTipoProceso());\r\n\t\t\tpc.setFlagcd(compraDirecta.getFlagCD());\r\n\t\t\tpc.setNroproceso(compraDirecta.getNroProceso());\r\n\t\t\tpc.setUnidadmedida(compraDirecta.getUnidadMedida());\r\n\t\t\tpc.setCantidad(compraDirecta.getCantidad());\r\n\t\t\t\r\n\t\t\tdouble valorMoneda = compraDirecta.getValorMoneda();\r\n\t\t\tBigDecimal valorEstimado = new BigDecimal(valorMoneda);\r\n\t\t\tpc.setValorestimadocontracion(Utils.round(valorEstimado));\t\r\n\t\t\t\r\n\t\t\tpc.setIdcatalogotipocontratacion(compraDirecta.getIdTipoContratacion());\r\n\t\t\tpc.setIdcatalogoestadopac(null);\r\n\t\t\tpc.setIdcatalogotipobien(compraDirecta.getIdTipoBien());\r\n\t\t\tpc.setIdcatalogotiponecesidad(compraDirecta.getIdTipoNecesidad());\r\n\t\t\tpc.setEstadorequerimiento(compraDirecta.getEstadoRequerimiento());\r\n\r\n\t\t\t// pc.setEstadoauditoria(); // ITEM UNICO\r\n\t\t\t// pc.setNroitems(0); // NUMERO DE ITEMS\r\n\t\t\t// pc.setCantidad(); // CANTIDAD DE ITEMS\r\n\t\t\t// pc.setUnidadmedida(); //UNIDAD DE MEDIDA\r\n\t\t\t// pc.setNombreespecialistavr(); //NOMBRE ESPECIALISTA VR\r\n\t\t\tpc.setFechaasignacionespecialista(compraDirecta.getFechaDocumentoTecnico());\r\n\t\t\tidPacConsolidado = (int) utilsBusiness.getNextSeq(Sequence.SEQ_PACCONSOLIDADO).longValue();\r\n\t\t\tpc.setIdpacconsolidado(idPacConsolidado);\r\n\r\n\t\t\t// AUDITORIA\r\n\t\t\tpc.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\tpc.setFechacreacionauditoria(new Date());\r\n\t\t\tpc.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\tpc.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\tpc.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t// END AUDITORIA\r\n\r\n\t\t\tpacconsolidadoMapper.insert(pc);\r\n\r\n\t\t\tif (compraDirecta.getIdTipoNecesidad().equals(Constantes.tipoNecesidad.TIPO_NECESIDAD_NO_PROGRAMADO)) {\r\n\t\t\t\t// PEDIDOS POR PAC CONSOLIDADO\r\n\t\t\t\tList pedidos = compraDirecta.getPedidos();\r\n\t\t\t\tfor (int i = 0; i < pedidos.size(); i++) {\r\n\t\t\t\t\tPedidosporpacconsolidado pedidoItem = new Pedidosporpacconsolidado();\r\n\t\t\t\t\tpedidoItem.setIdpedidoporpacconsolidado(\r\n\t\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_PEDIDOSPORPACCONSOLIDADO).longValue());\r\n\t\t\t\t\tpedidoItem.setIdpacconsolidado(idPacConsolidado);\r\n\t\t\t\t\tpedidoItem.setIdpedido(pedidos.get(i).getIdPedido());\r\n\t\t\t\t\tpedidoItem.setFechacreacionauditoria(new Date());\r\n\t\t\t\t\tpedidoItem.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\t\tpedidoItem.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\tpedidoItem.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t\tpedidoItem.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\t\tpedidosporpacconsolidadoMapper.insert(pedidoItem);\r\n\t\t\t\t}\r\n\t\t\t\t// SINAD POR PAC CONSOLIDADO\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tresult.setResultInt(idPacConsolidado);\r\n\r\n\t\t// REQUISITOS CONFORMIDAD\r\n\t\tList listaRequisitos = compraDirecta.getListaRequisitosConformidad();\r\n\t\tfor (RequisitoConformidadDto requisitoConformidadDto : listaRequisitos) {\r\n\t\t\tif (requisitoConformidadDto.getIdrequisitoconformidad() != null\r\n\t\t\t\t\t&& requisitoConformidadDto.getIdrequisitoconformidad() != 0) {\r\n\t\t\t\tRequisitosconformidad requisitoEdit = requisitosconformidadMapper\r\n\t\t\t\t\t\t.selectByPrimaryKeyBasic(requisitoConformidadDto.getIdrequisitoconformidad());\r\n\t\t\t\tif (requisitoEdit != null) {\r\n\t\t\t\t\trequisitoEdit.setIdcatalogotipodocumento(requisitoConformidadDto.getIdcatalogotipodocumento());\r\n\r\n\t\t\t\t\t// AUDIT\r\n\t\t\t\t\trequisitoEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\trequisitoEdit.setFechamodificacionauditoria(new Date());\r\n\t\t\t\t\trequisitoEdit.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\t\trequisitoEdit.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t\trequisitosconformidadMapper.updateByPrimaryKey(requisitoEdit);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tRequisitosconformidad requisitoNew = new Requisitosconformidad();\r\n\t\t\t\trequisitoNew.setIdcatalogotipodocumento(requisitoConformidadDto.getIdcatalogotipodocumento());\r\n\t\t\t\trequisitoNew.setIdpacconsolidado(compraDirecta.getIdPacConsolid());\r\n\r\n\t\t\t\t// AUDIT\r\n\t\t\t\trequisitoNew.setFechacreacionauditoria(new Date());\r\n\t\t\t\trequisitoNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\trequisitoNew.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\trequisitoNew.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\trequisitoNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\trequisitoNew.setIdrequisitoconformidad(\r\n\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_REQUISITOSCONFORMIDAD).longValue());\r\n\t\t\t\trequisitosconformidadMapper.insert(requisitoNew);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// ESTADOS\r\n\t\tint idTipoDocumento = Constantes.tipoDocumento.PAO;\r\n\t\tif (pc.getEstadorequerimiento().equals(Constantes.estadosPorEtapa.EN_GIRO_DE_ORDEN)) {\r\n\t\t\tsaveEstado = true;\r\n\t\t\tidTipoDocumento = Constantes.tipoDocumento.ORDEN;\r\n\t\t}\r\n\r\n\t\tif (saveEstado) {\r\n\t\t\t// Insertamos históricos de estados\r\n\t\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\t\tparam.setIdtipodocumento(idTipoDocumento);\r\n\t\t\tparam.setIdestadosporetapa(pc.getEstadorequerimiento());\r\n\t\t\t// Estadosportipodocumento estados =\r\n\t\t\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\t\tif (estado != null) {\r\n\t\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\t\tEstadosporetapapordocumento estadoDoc = new Estadosporetapapordocumento();\r\n\t\t\t\testadoDoc.setNrodocumento(pc.getIdpacconsolidado());\r\n\t\t\t\testadoDoc.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\t\testadoDoc.setFechaingreso(date);\r\n\r\n\t\t\t\testadoDoc.setFechacreacionauditoria(date);\r\n\t\t\t\testadoDoc.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\testadoDoc.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\testadoDoc.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\testadoDoc.setIdtipodocumento(Constantes.tipoDocumento.PAO);\r\n\r\n\t\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\t\t\t\testadoDoc.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\t\testadoDoc.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\testadosporetapapordocumentoMapper.insert(estadoDoc);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"d94549cbe7c2f922a6b50c030ed21f02","score":"0.5529202","text":"@Test\n\t@UsingDataSet({ \"persona.json\" })\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\tpublic void agregarRecolectorTest() {\n\n\t\tRecolector recolector = new Recolector();\n\n\t\trecolector.setNombre(\"tomas\");\n\t\trecolector.setApellido(\"la\");\n\t\trecolector.setCedula(\"111\");\n\t\trecolector.setContrasenia(\"12345\");\n\t\trecolector.setCorreo(\"mmart@mail.com\");\n\t\trecolector.setTelefono(\"12\");\n\n\t\tentityManager.persist(recolector);\n\n\t\tRecolector rec2 = entityManager.find(Recolector.class, recolector.getCedula());\n\t\tAssert.assertNotNull(rec2);\n\n\t}","title":""},{"docid":"49f5acad58ac1c36d9dc6316116f7352","score":"0.5526024","text":"Restaurante createRestaurante();","title":""},{"docid":"faf57ab25c4feaa82d8b3fa0b13e1ff0","score":"0.5524878","text":"public List findRelatorio(int idTipoDespesa, int idTag, int idStatus, int mes, int ano) throws SQLException {\n List despesas = new ArrayList<>();\r\n Despesa despesa = null;\r\n Calendar dataInicio = new GregorianCalendar(ano, mes-1, 01);\r\n Calendar dataFim = null;\r\n try(PreparedStatement stm = conexao.prepareStatement(SQLRelatorio)){\r\n stm.setInt(1, idStatus);\r\n stm.setInt(2, idTipoDespesa);\r\n stm.setInt(3, idTag);\r\n stm.setDate(4, new java.sql.Date (dataInicio.getTime().getTime()));\r\n if(mes == 1 || mes == 3 || mes == 5 || mes == 7 || mes == 8 || mes == 10 || mes == 12){\r\n dataFim = new GregorianCalendar(ano, mes-1, 31);\r\n } else if(mes == 2){\r\n \r\n } else{\r\n dataFim = new GregorianCalendar(ano, mes-1, 30);\r\n }\r\n stm.setDate(5, new java.sql.Date (dataFim.getTime().getTime()));\r\n stm.execute();\r\n try(ResultSet resultSet = stm.getResultSet()) {\r\n while(resultSet.next()) {\r\n int id = (resultSet.getInt(\"id\"));\r\n String descricaoD = (resultSet.getString(\"descricao\"));\r\n String local = (resultSet.getString(\"local\"));\r\n TipoDespesa idTipo = TipoDespesaDAO.findByIdTipoDespesa(resultSet.getInt(\"tipo_despesa\"));\r\n Cartao cartao = CartaoDAO.findByIdCartao(resultSet.getInt(\"cartao_usado\"));\r\n Tag tag = TagDAO.findByIdTag(resultSet.getInt(\"tag\"));\r\n BigDecimal parcelas = (resultSet.getBigDecimal(\"numero_parcelas\"));\r\n BigDecimal total = (resultSet.getBigDecimal(\"valor_total\"));\r\n Date data = (resultSet.getDate(\"data_despesa\"));\r\n int status = resultSet.getInt(\"status_parcela\");\r\n despesa = new Despesa(descricaoD, local, idTipo, cartao, tag, parcelas, total, data);\r\n despesa.setIdDespesa(id);\r\n despesas.add(despesa);\r\n }\r\n resultSet.close();\r\n }\r\n stm.close();\r\n }catch(Exception ex){\r\n JOptionPane.showMessageDialog(null,ex.getMessage(),\"Erro ao tentar gerar o Relatório\",JOptionPane.ERROR_MESSAGE);\r\n// System.out.println(\"Erro ao tentar executar busca por fatura: \" + ex.getMessage());\r\n } \r\n return despesas;\r\n }","title":""},{"docid":"452bb2f915082127f0bc84a7b5cf458b","score":"0.55177116","text":"public void gravarTreino(String registro){\n\t}","title":""},{"docid":"fb6dd7afe41a591b684fa7ace08504e0","score":"0.5512081","text":"public void ValoresRealesInvitado(){\n dao.actualizar(usuario);\n }","title":""},{"docid":"f248b8adc109238278e94219cdefba20","score":"0.55097467","text":"public void registrar() {\n marcaView = marcaController.consultarMarca(marcaView).get(0);\n referenciaView.setSmsMarca(marcaView);//relacionamos la referencia con la marca\n\n referenciaDao.registrarReferencia(referenciaView);//Registramos la referencia\n\n referenciaView = new SmsReferencia();//Limpiamos objetos\n marcaView = new SmsMarca();\n referenciasListView = referenciaDao.mostrarReferencias();//recargamos la lista de referencias\n }","title":""},{"docid":"3b42596e91d1093942b23156547f2e96","score":"0.5509083","text":"public void salvarReditar() {\n\n\t\tVistoriaRN vistoriaRN = new VistoriaRN();\n\t\tvistoriaRN.salvar(this.vistoria);\n\n\t\tif (vistoria.getVisPendente() == 'N') {\n\t\t\tif (vistoria.getImovel().getImoEfetivo()== false) {\n\t\t\t\tvistoria.getImovel().setImoDataRejeicao(new Date());\n\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t}\n\t\t\tImovelRN imovelRN = new ImovelRN();\n\t\t\timovelRN.salvar(vistoria.getImovel());\n\t\t}\n\n\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\tcontext.addMessage(null, new FacesMessage(\"Alterado com sucesso\"));\n\n\t\tthis.imovel = new Imovel();\n\t\tthis.funcionario = new Funcionario();\n\t\tthis.listaVistorias = null;\n\t\tthis.vistoria = new Vistoria();\n\t}","title":""},{"docid":"ecb7a31c85559a7dd28c337adc30e16a","score":"0.5508867","text":"public void retiraOrgao(String nome, String tipoSanguineo) throws Exception {\r\n\t\ttry {\r\n\t\t\tcontrol.retiraOrgao(nome, tipoSanguineo);\r\n\t\t} catch (ControllerException e) {\r\n\t\t\tthrow new Exception(\"Erro na retirada de orgaos. \" + e.getMessage());\r\n\t\t}\r\n\t}","title":""},{"docid":"2af0ead1d0d95b6faf9d95ac482ea487","score":"0.55080396","text":"void agregar(Cliente cliente);","title":""},{"docid":"7406a1e2308dc5f665de2fd355fea13e","score":"0.55066574","text":"public ArrayList recuperarPremiosNivelesPremiacion(\n ClientePremiacionConcurso clientePremiacionConcurso,\n ClientePremiacion clientePremiacion) throws MareException {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.recuperarPremiosNivel\"\n +\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso\"\n +\", ClientePremiacion clientePremiacion):Entrada\");\n\n BelcorpService bs1;\n RecordSet respuesta1;\n StringBuffer query1 = new StringBuffer();\n\n try {\n bs1 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n //Recuperar todos los registros de la entidad parNivel\n //ordenados por numeroNivel de mayor a menor coste en puntos\n //(para ello nos fijamos en el campo cantidadFijaPuntos,\n //si este no esta informado usaremos cantidadInicialPuntos).\n try {\n query1.append(\" SELECT \");\n query1.append(\" NVL(NUM_CANT_FIJA_PUNT, NUM_CANT_INIC_PUNT) AS PUNTOS, \");\n query1.append(\" TPRE_OID_TIPO_PREM, \");\n query1.append(\" OID_PARA_NIVE_PREM, \");\n query1.append(\" INC_PARAM_NIVEL_PREMI.NUM_NIVE, \");\n query1.append(\" NUM_CANT_FIJA_PUNT, \");\n query1.append(\" NUM_CANT_INIC_PUNT, \");\n query1.append(\" NUM_CANT_FINA_PUNT, \");\n query1.append(\" NUM_PUNT_PROD_EXIG, \");\n query1.append(\" PERD_OID_PERI, \");\n query1.append(\" conc.MARC_OID_MARC, \");\n query1.append(\" conc.CANA_OID_CANA, \");\n query1.append(\" conc.PAIS_OID_PAIS, \");\n // vbongiov -- 5/07/2006 -- inc 723\n query1.append(\" V.VAL_I18N descTipoPremio \");\n query1.append(\" FROM INC_PARAM_GENER_PREMI, \");\n query1.append(\" INC_PARAM_NIVEL_PREMI, \");\n query1.append(\" INC_CONCU_PARAM_GENER conc, CRA_PERIO, \");\n query1.append(\" V_GEN_I18N_SICC V \");\n query1.append(\" WHERE PAGP_OID_PARA_GENE_PREM = OID_PARA_GENE_PREM \");\n query1.append(\" AND COPA_OID_PARA_GRAL = \" +\n clientePremiacionConcurso.getOidConcurso());\n query1.append(\" AND conc.OID_PARA_GRAL = COPA_OID_PARA_GRAL \");\n query1.append(\" AND conc.PERD_OID_PERI_DESD = OID_PERI \");\n query1.append(\" AND V.VAL_OID = TPRE_OID_TIPO_PREM \");\n query1.append(\" AND V.ATTR_NUM_ATRI = 1 \");\n query1.append(\" AND V.ATTR_ENTI = 'INC_TIPO_PREMI' \");\n query1.append(\" AND V.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query1.append(\" ORDER BY PUNTOS DESC \");\n \n respuesta1 = bs1.dbService.executeStaticQuery(query1.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta1: \" + respuesta1);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n Periodo periodoDespacho = new Periodo();\n String descTipoPremio = null;\n\n ArrayList salida = new ArrayList();\n int saldoPuntosAux = clientePremiacionConcurso.getSaldoPuntos().intValue();\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"recuperarPremiosNivelesPremiacion --- saldoPuntosAux \" +\n saldoPuntosAux);\n\n for (int i1 = 0; i1 < respuesta1.getRowCount(); i1++) {\n // vbongiov -- 5/07/2006 -- inc 723\n descTipoPremio = (String) respuesta1.getValueAt(0, \"DESCTIPOPREMIO\");\n \n NivelPremiacion nivelPre = new NivelPremiacion();\n nivelPre.setNivel((respuesta1.getValueAt(i1, \"NUM_NIVE\") != null)\n ? new Integer(\n ((BigDecimal) respuesta1.getValueAt(i1, \"NUM_NIVE\")).intValue())\n : null);\n nivelPre.setOidNivel((\n respuesta1.getValueAt(i1, \"OID_PARA_NIVE_PREM\") != null)\n ? new Long(((BigDecimal) \n respuesta1.getValueAt(i1, \"OID_PARA_NIVE_PREM\")).longValue())\n : null);\n nivelPre.setCantidadFijaPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_FIJA_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_FIJA_PUNT\")).doubleValue())\n : new Double(0));\n nivelPre.setCantidadInicialPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_INIC_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_INIC_PUNT\")).doubleValue())\n : new Double(0));\n nivelPre.setCantidadFinalPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_FINA_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_FINA_PUNT\")).doubleValue())\n : new Double(0));\n\n if (respuesta1.getValueAt(i1, \"PERD_OID_PERI\") != null) {\n periodoDespacho.setOidPeriodo(new Long(((BigDecimal) \n respuesta1.getValueAt(i1, \"PERD_OID_PERI\")).longValue()));\n }\n\n int puntosLeidos = ((respuesta1.getValueAt(i1, \"PUNTOS\") != null)\n ? ((BigDecimal) respuesta1.getValueAt(i1, \"PUNTOS\")).intValue()\n : 0);\n \n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\n \"recuperarPremiosNivelesPremiacion --- puntosLeidos \" +\n puntosLeidos);\n UtilidadesLog.debug(\"recuperarPremiosNivelesPremiacion \"\n + \"saldoPuntosAux >= puntosLeidos \" \n +(saldoPuntosAux >= puntosLeidos));\n } \n\n if (saldoPuntosAux >= puntosLeidos) {\n UtilidadesLog.debug(\"saldoPuntosAux >= puntosLeidos \");\n\n long tipoPremioLeido = ((BigDecimal) respuesta1.getValueAt(i1,\n \"TPRE_OID_TIPO_PREM\")).longValue();\n long oidNivelPremiacion = ((BigDecimal) \n respuesta1.getValueAt(i1,\"OID_PARA_NIVE_PREM\"))\n .longValue();\n BigDecimal puntosObtenerProdExigidos = (BigDecimal) \n respuesta1.getValueAt(i1,\"NUM_PUNT_PROD_EXIG\");\n \n Long numPremio = null;\n\n // procesar premio monetario\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_MONETARIO\n .longValue()) {\n UtilidadesLog.debug(\"Premio Monetario\");\n\n PremioMonetario premioMonetario = new PremioMonetario();\n premioMonetario.setNivel(nivelPre);\n premioMonetario.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioMonetario.setDescripcionTipoPremio(descTipoPremio);\n premioMonetario.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs2;\n RecordSet respuesta2;\n StringBuffer query2 = new StringBuffer();\n\n try {\n bs2 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query2.append(\" SELECT \");\n query2.append(\" OID_PREM_MONE, \");\n query2.append(\" NUM_PREM, \");\n query2.append(\" VAL_CANT, \");\n query2.append(\" VAL_PORC, \");\n query2.append(\" IND_PAGO_PART, \");\n query2.append(\" IND_DESC_PAGO_ANTI, \");\n query2.append(\" TPMO_OID_TIPO_PREM_MONE, \");\n query2.append(\" FPAG_OID_FORM_PAGO \");\n query2.append(\" FROM INC_PREMI_MONET \");\n query2.append(\" WHERE PANP_OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta2 = bs2.dbService.executeStaticQuery(\n query2.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta2: \" + respuesta2);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta2.esVacio()) {\n UtilidadesLog.debug(\"Encontre premio monetario\");\n\n long oidPremioMonetario = ((BigDecimal)\n respuesta2.getValueAt(0,\"OID_PREM_MONE\"))\n .longValue();\n\n {\n BigDecimal cantidad = (BigDecimal) \n respuesta2.getValueAt(0,\"VAL_CANT\");\n premioMonetario.setCantidad((cantidad != null)\n ? cantidad : new BigDecimal(0));\n }\n\n {\n BigDecimal descontar = (BigDecimal) \n respuesta2.getValueAt(0,\"IND_DESC_PAGO_ANTI\");\n\n if (descontar == null) {\n premioMonetario\n .setDescontarPagosAnticipados(false);\n } else {\n if (descontar.compareTo(new BigDecimal(1)) == 0) {\n premioMonetario\n .setDescontarPagosAnticipados(true);\n } else {\n premioMonetario\n .setDescontarPagosAnticipados(false);\n }\n }\n }\n\n premioMonetario.setNumeroPremio(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioMonetario.getNumeroPremio();\n\n premioMonetario.setOidFormaPago(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"FPAG_OID_FORM_PAGO\")).longValue()));\n\n {\n BigDecimal pagoPartes = (BigDecimal) \n respuesta2.getValueAt(0,\"IND_PAGO_PART\");\n\n if (pagoPartes == null) {\n premioMonetario.setPagoEnPartes(false);\n } else {\n if (pagoPartes.compareTo(new BigDecimal(1)) \n == 0) {\n premioMonetario.setPagoEnPartes(true);\n } else {\n premioMonetario.setPagoEnPartes(false);\n }\n }\n }\n\n premioMonetario.setPorcentaje((BigDecimal) \n respuesta2.getValueAt(0, \"VAL_PORC\"));\n premioMonetario.setTipoPremioMonetario(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"TPMO_OID_TIPO_PREM_MONE\")).longValue()));\n\n //Si tipoPremio es premioMonetario, y el campo \n //pagoPartes==True,\n //entonces tendremos que ir a la entidad PagoPartes\n //y crear objetos PagoPartes rellenando sus atributos.\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"premioMonetario.getPagoEnPartes() \" +\n premioMonetario.getPagoEnPartes());\n\n if (premioMonetario.getPagoEnPartes()) {\n BelcorpService bs3;\n RecordSet respuesta3;\n StringBuffer query3 = new StringBuffer();\n\n try {\n bs3 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query3.append(\" SELECT \");\n query3.append(\" NUM_PAGO, \");\n query3.append(\" VAL_PORC_PREM, \");\n query3.append(\" PERD_OID_PERI, \");\n query3.append(\" COD_PERI, \");\n query3.append(\" FEC_INIC, \");\n query3.append(\" FEC_FINA, \");\n query3.append(\" CANA_OID_CANA, \");\n query3.append(\" MARC_OID_MARC, \");\n query3.append(\" PAIS_OID_PAIS \");\n query3.append(\" FROM INC_PAGO_MONET PAGO, \");\n query3.append(\" CRA_PERIO CRA, \");\n query3.append(\" SEG_PERIO_CORPO SEG \");\n query3.append(\" WHERE PRMO_OID_PREM_MONE = \" +\n oidPremioMonetario);\n query3.append(\n \" AND PAGO.PERD_OID_PERI = CRA.OID_PERI \");\n query3.append(\n \" AND CRA.PERI_OID_PERI = SEG.OID_PERI \");\n respuesta3 = bs3.dbService.executeStaticQuery(\n query3.toString());\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta3: \" + respuesta3);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n premioMonetario.setPagosEnPartes(new ArrayList());\n\n for (int i3 = 0; i3 < respuesta3.getRowCount();\n i3++) {\n PagoPartes pagoPartes = new PagoPartes();\n pagoPartes.setNumeroPago(new Integer(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"NUM_PAGO\")).intValue()));\n pagoPartes.setPorcentajePremio((BigDecimal)\n respuesta3.getValueAt(i3, \"VAL_PORC_PREM\"));\n\n Periodo periodoControl = new Periodo();\n periodoControl.setCodperiodo((String)\n respuesta3.getValueAt(i3, \"COD_PERI\"));\n periodoControl.setFechaDesde((Date) \n respuesta3.getValueAt(i3, \"FEC_INIC\"));\n periodoControl.setFechaHasta((Date) \n respuesta3.getValueAt(i3, \"FEC_FINA\"));\n periodoControl.setOidCanal(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"CANA_OID_CANA\")).longValue()));\n periodoControl.setOidMarca(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"MARC_OID_MARC\")).longValue()));\n periodoControl.setOidPais(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"PAIS_OID_PAIS\")).longValue()));\n periodoControl.setOidPeriodo(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"PERD_OID_PERI\")).longValue()));\n \n // Periodo \n pagoPartes.setPeriodoControl(periodoControl); \n premioMonetario.getPagosEnPartes()\n .add(pagoPartes);\n }\n }\n }\n\n UtilidadesLog.debug(\"guarde.... premio monet\");\n salida.add(premioMonetario);\n }\n\n // procesar premio articulo lote\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_ARTICULO\n .longValue()) {\n UtilidadesLog.debug(\"Premio Articulo\");\n\n PremioArticuloLote premioArticuloLote = \n new PremioArticuloLote();\n PremioArticulo premioArticulo = new PremioArticulo();\n premioArticuloLote.setNivel(nivelPre);\n premioArticuloLote.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioArticuloLote.setDescripcionTipoPremio(descTipoPremio);\n premioArticuloLote.setPeriodoDeDespacho(periodoDespacho);\n premioArticuloLote.setPuntosObtenerProdExigidos((\n puntosObtenerProdExigidos != null)\n ? new Double(puntosObtenerProdExigidos.doubleValue())\n : new Double(0));\n\n BelcorpService bs4;\n RecordSet respuesta4;\n StringBuffer query4 = new StringBuffer();\n\n try {\n bs4 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n /* INC 001 - gPineda - 13/01/2007\n * Se agrega la recuperacion del atributo VAL_DESC_LOTE_PREM_ARTI. (2)\n */\n query4.append(\" SELECT \");\n query4.append(\" NUM_UNID, NUM_LOTE, \");\n query4.append(\" NUM_PREM, \");\n query4.append(\" OID_LOTE_PREM_ARTI \");\n query4.append(\" ,INC_LOTE_PREMI_ARTIC.VAL_DESC_LOTE_PREM_ARTI\"); //(2)\n query4.append(\" FROM INC_PREMI_ARTIC, \");\n query4.append(\" INC_LOTE_PREMI_ARTIC \");\n query4.append(\n \" WHERE PRAR_OID_PREM_ARTI = OID_PREM_ARTI \");\n query4.append(\" AND PANP_OID_PARA_NIVE_PREM = \" + oidNivelPremiacion);\n query4.append(\" ORDER BY NUM_LOTE \"); \n \n respuesta4 = bs4.dbService.executeStaticQuery(\n query4.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta4: \" + respuesta4);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta4.esVacio()) {\n premioArticuloLote.setDescripcionLote( (String) respuesta4.getValueAt(0, \"VAL_DESC_LOTE_PREM_ARTI\") );//(2)\n \n premioArticuloLote.setNumeroLote(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_LOTE\")).longValue()));\n premioArticuloLote.setNumeroPremio(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioArticuloLote.getNumeroPremio();\n\n premioArticulo.setNumeroUnidades(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_UNID\")).longValue()));\n premioArticuloLote.setPremio(premioArticulo);\n\n Long oidLotePremioArticulo = new Long(((BigDecimal) \n respuesta4.getValueAt(0, \"OID_LOTE_PREM_ARTI\"))\n .longValue());\n ArrayList articulos = new ArrayList();\n\n BelcorpService bs7;\n RecordSet respuesta7;\n\n try {\n bs7 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n //Brecha INC-003 6-9-07 jrivas\n respuesta7 = bs7.dbService.executeStaticQuery(queryArticuloLote(oidLotePremioArticulo).toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta7: \" + respuesta7);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n \n ArticuloLote articuloLote = null;\n \n if (!respuesta7.esVacio()) {\n \n int cant7 = respuesta7.getRowCount();\n for(int i7=0; i7 < cant7; i7++) {\n articuloLote = new ArticuloLote();\n \n articuloLote.setNombre((String)respuesta7.getValueAt(i7, \"DESCPRODU\"));\n \n articuloLote.setNumeroUnidades(new Long(\n ((BigDecimal) respuesta7.getValueAt(i7, \"NUM_UNID\"))\n .longValue()));\n articuloLote.setCodigoVentaFicticio(respuesta7.getValueAt(\n i7, \"COD_VENT_FICT\").toString());\n articuloLote.setOidCodigoProducto(new Long(\n ((BigDecimal) respuesta7.getValueAt(i7,\n \"PROD_OID_PROD\")).longValue()));\n articuloLote.setPrecioPublico((BigDecimal) \n respuesta7.getValueAt(i7, \"IMP_PREC_PUBL\"));\n \n articuloLote.setCodSapProducto((String)\trespuesta7.getValueAt(i7, \"COD_SAP\")); \n \n articuloLote.setTipoEntregaPremio(respuesta7.getValueAt(i7, \"IND_TIPO_ENTR_PREM\").toString()); \n if (respuesta7.getValueAt(i7, \"COD_CENT_SERV\") != null) {\n articuloLote.setCodigoCentroServicio((String) respuesta7.getValueAt(i7, \"COD_CENT_SERV\")); \n } else {\n articuloLote.setCodigoCentroServicio(\"\"); \n }\n \n if (respuesta7.getValueAt(i7, \"DES_CENT_SERV\") != null) {\n articuloLote.setDescripcionCentroServicio((String) respuesta7.getValueAt(i7, \"DES_CENT_SERV\")); \n } else {\n articuloLote.setDescripcionCentroServicio(\"\"); \n } \n \n // vbongiov -- Cambio 20090828 -- 8/06/2009\n articuloLote.setOidArticuloLote(new Long(((BigDecimal) respuesta7.getValueAt(i7, \"OID_ARTI_LOTE\")).longValue())); \n \n articulos.add(articuloLote);\n }\n }\n premioArticuloLote.setArticulos(articulos);\n }\n salida.add(premioArticuloLote);\n }\n\n // procesar premio descuento\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_DESCUENTOS\n .longValue()) {\n UtilidadesLog.debug(\"tipoPremioLeido = ConstantesINC.TIPO_PREMIO_DESCUENTOS.longValue() ***\");\n\n PremioDescuento premioDescuento = new PremioDescuento();\n premioDescuento.setNivel(nivelPre);\n premioDescuento.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioDescuento.setDescripcionTipoPremio(descTipoPremio);\n premioDescuento.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs5;\n RecordSet respuesta5;\n RecordSet respuesta6;\n StringBuffer query5 = new StringBuffer();\n StringBuffer query6 = new StringBuffer();\n\n try {\n bs5 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query5.append(\" SELECT OID_PREM_DESC,\");\n query5.append(\" NUM_PREM, \");\n query5.append(\" VAL_CANT_DESC, \");\n query5.append(\" VAL_PORC_DESC, \");\n query5.append(\" PERD_OID_PERI_DESD, \");\n query5.append(\" PERD_OID_PERI \");\n query5.append(\" FROM INC_PREMI_DESCU \");\n query5.append(\" WHERE OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta5 = bs5.dbService.executeStaticQuery(\n query5.toString());\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta5.esVacio()) {\n \n BigDecimal oidPremDesc = (BigDecimal) respuesta5.getValueAt(0,\n \"OID_PREM_DESC\");\n \n BigDecimal cantidad = (BigDecimal) respuesta5.getValueAt(0,\n \"VAL_CANT_DESC\");\n premioDescuento.setCantidad((cantidad != null) ? cantidad\n : new BigDecimal(0));\n \n\n premioDescuento.setNumeroPremio(new Long(\n ((BigDecimal) respuesta5.getValueAt(0, \"NUM_PREM\"))\n .longValue()));\n premioDescuento.setOidPeriodoDesde(new Long(\n ((BigDecimal) respuesta5.getValueAt(0,\n \"PERD_OID_PERI_DESD\")).longValue()));\n\n \n BigDecimal periodoHasta = (BigDecimal) \n respuesta5.getValueAt(0,\"PERD_OID_PERI\");\n premioDescuento.setOidPeriodoHasta((periodoHasta != null)\n ? new Long(periodoHasta.longValue()) : null);\n \n\n premioDescuento.setPorcentaje((BigDecimal) \n respuesta5.getValueAt(0, \"VAL_PORC_DESC\"));\n \n ArrayList prodDesc = new ArrayList();\n \n // Productos del premio descuento \n try {\n query6.append(\" SELECT prodD.MAPR_OID_MARC_PROD,\");\n query6.append(\" prodD.SGEN_OID_SUPE_GENE, prodD.GENE_OID_GENE, \");\n query6.append(\" prodD.UNEG_OID_UNID_NEGO, prodD.NEGO_OID_NEGO, \");\n query6.append(\" prodD.PROD_OID_PROD \");\n query6.append(\" FROM INC_PRODU_DESCU prodD \");\n query6.append(\" WHERE prodD.PRDE_OID_PREM_DESC = \" + oidPremDesc);\n \n respuesta6 = bs5.dbService.executeStaticQuery(query6.toString());\n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n ProductoDescuento prodDescuento = null;\n \n if (!respuesta6.esVacio()) {\n int cant6 = respuesta6.getRowCount();\n \n for(int i6=0; i6 < cant6; i6++) {\n prodDescuento = new ProductoDescuento();\n \n prodDescuento.setOidMarcaProducto(new Long(((BigDecimal)respuesta6.getValueAt(i6,\"MAPR_OID_MARC_PROD\")).intValue()));\n \n BigDecimal oidSupeGen = (BigDecimal) \n respuesta6.getValueAt(i6,\"SGEN_OID_SUPE_GENE\");\n prodDescuento.setOidSuperGenerico((oidSupeGen != null)\n ? new Long(oidSupeGen.longValue()) : null);\n \n BigDecimal oidGene = (BigDecimal) \n respuesta6.getValueAt(i6,\"GENE_OID_GENE\");\n prodDescuento.setOidGenerico((oidGene != null)\n ? new Long(oidGene.longValue()) : null);\n \n BigDecimal oidUniNeg = (BigDecimal) \n respuesta6.getValueAt(i6,\"UNEG_OID_UNID_NEGO\");\n prodDescuento.setOidUnidadNegocio((oidUniNeg != null)\n ? new Long(oidUniNeg.longValue()) : null);\n \n BigDecimal oidNeg = (BigDecimal) \n respuesta6.getValueAt(i6,\"NEGO_OID_NEGO\");\n prodDescuento.setOidNegocio((oidNeg != null)\n ? new Long(oidNeg.longValue()) : null);\n \n BigDecimal oidProd = (BigDecimal) \n respuesta6.getValueAt(i6,\"PROD_OID_PROD\");\n prodDescuento.setOidProducto((oidProd != null)\n ? new Long(oidProd.longValue()) : null);\n \n prodDesc.add(prodDescuento);\n }\n }\n \n premioDescuento.setListaProductos(prodDesc);\n \n }\n\n salida.add(premioDescuento);\n }\n\n // procesar premio puntaje\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_PUNTUACION\n .longValue()) {\n UtilidadesLog.debug(\"Premio premioPuntos\");\n\n PremioPuntos premioPuntos = new PremioPuntos();\n premioPuntos.setNivel(nivelPre);\n premioPuntos.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioPuntos.setDescripcionTipoPremio(descTipoPremio);\n premioPuntos.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs6;\n RecordSet respuesta6;\n StringBuffer query6 = new StringBuffer();\n\n try {\n bs6 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query6.append(\" SELECT \");\n query6.append(\" VAL_CANT, \");\n query6.append(\" NUM_PREM, \");\n query6.append(\" COPA_OID_PARA_GRAL, \");\n query6.append(\" VAL_PORC, \");\n query6.append(\" TPPU_OID_TIPO_PREM_PUNT \");\n query6.append(\" FROM INC_PREMI_PUNTO \");\n query6.append(\" WHERE PANP_OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta6 = bs6.dbService.executeStaticQuery(\n query6.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta6: \" + respuesta6);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta6.esVacio()) {\n {\n BigDecimal cantidad = (BigDecimal)\n respuesta6.getValueAt(0,\"VAL_CANT\");\n premioPuntos.setCantidad((cantidad != null)\n ? cantidad : new BigDecimal(0));\n }\n\n premioPuntos.setNumeroPremio(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioPuntos.getNumeroPremio();\n\n premioPuntos.setOidConcursoDestino(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"COPA_OID_PARA_GRAL\")).longValue()));\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"premioPuntos.setOidConcursoDestino \" +\n premioPuntos.getOidConcursoDestino());\n premioPuntos.setPorcentaje((BigDecimal) \n respuesta6.getValueAt(0, \"VAL_PORC\"));\n premioPuntos.setOidTipoPremioPuntos(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"TPPU_OID_TIPO_PREM_PUNT\")).longValue()));\n }\n\n salida.add(premioPuntos);\n }\n\n PremiosElegidosLocalHome premiosElegidosHome = this.getPremiosElegidosLocalHome();\n\n try {\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"insertando PremiosElegidosLocal\");\n UtilidadesLog.debug(\"numPremio : \" + numPremio);\n UtilidadesLog.debug(\"clientePremiacion.getOidCliente(): \"+clientePremiacion.getOidCliente());\n UtilidadesLog.debug(\"clientePremiacionConcurso.getOidConcurso() : \" +clientePremiacionConcurso.getOidConcurso());\n UtilidadesLog.debug(\"oidNivelPremiacion : \" +oidNivelPremiacion);\n } \n\n premiosElegidosHome.create(new Integer(numPremio\n .intValue()), clientePremiacion.getOidCliente(),\n clientePremiacionConcurso.getOidConcurso(),\n new Long(oidNivelPremiacion),\n new Date(System.currentTimeMillis()));\n\n } catch (PersistenceException ce) {\n UtilidadesLog.error(\"ERROR \", ce);\n throw new MareException(ce,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_ESCRITURA_EN_BASE_DE_DATOS));\n }\n\n saldoPuntosAux = saldoPuntosAux - puntosLeidos;\n }\n }\n\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.recuperarPremiosNivel\"\n +\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso,\"\n +\"ClientePremiacion clientePremiacion):Salida\");\n\n return salida;\n }","title":""},{"docid":"fa95ded365017b838e015c34e5a63250","score":"0.5501381","text":"@Override\n public boolean addPartecipants(String idAttivita, String idPartecipante) {\n FirebaseFirestore.getInstance().collection(DataFetch.EVENTI).document(idAttivita).get().addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(DocumentSnapshot documentSnapshot) {\n Event event = documentSnapshot.toObject(Event.class);\n if(event.getPartecipanti() != null){\n partecipanti = event.getPartecipanti();\n partecipanti.add(idPartecipante);\n event.setPartecipanti(partecipanti);}\n else{\n partecipanti.add(idPartecipante);\n event.setPartecipanti(partecipanti);}\n event.setnMaxPartecipanti(event.getnMaxPartecipanti()-1);\n event.updateEventToDatabase(idAttivita);\n }\n\n });\n\n return true;\n\n}","title":""},{"docid":"48a65e8e7c0cd303748248d92c914280","score":"0.5494958","text":"public void substituir(EnderecoAvulso enderecoAvulso)\n\t{\n\t\ttry\n\t\t{\n\t\t\tenderecoAvulso.setUltimaAtualizacao(dataHoraCorrente());\n\t\t\tDocument documento = converter.paraDocumento(enderecoAvulso);\n\t\t\tcolecao.replaceOne(eq(\"_id\", documento.get(\"_id\")), documento);\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tString msg = \"Erro na alteracao. log[\" + enderecoAvulso.getLogradouro() + \"].\";\n\t\t\tSystem.err.println(msg);\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(msg);\n\t\t}\n\t}","title":""},{"docid":"88d0e8987e4c5188a024c2ddfa6c314e","score":"0.5491571","text":"CuentaCliente findById(Integer numPoliza, Integer numConsignatario);","title":""},{"docid":"602479579be9ac727a181128497c4048","score":"0.5488811","text":"public Boolean recibirRemitoEntrada(RemitoEntradaTO remitoEntrada, String usuarioSistema) {\n\t\tlogger.info(\"Se recibio remito \" + remitoEntrada.getNroRemito() + \".\");\n\t\t//Construyo entity RemitoEntrada\n\t\tRemitoEntrada re = new RemitoEntrada();\n\t\tre.setAnchoCrudo(remitoEntrada.getAnchoCrudo());\n\t\tre.setAnchoFinal(remitoEntrada.getAnchoFinal());\n\t\tre.setArticuloStock(remitoEntrada.getIdArticuloStock() == null ? null : artDAO.getReferenceById(remitoEntrada.getIdArticuloStock()));\n\t\tre.setCliente(clienteDAO.getReferenceById(remitoEntrada.getIdCliente()));\n\t\tre.setCondicionDeVenta(condVentaDAO.getReferenceById(remitoEntrada.getIdCondicionDeVenta()));\n\t\tre.setEnPalet(remitoEntrada.getEnPalet());\n\t\tre.setFechaEmision(new Date(remitoEntrada.getDateFechaEmision()));\n\t\tre.setNroRemito(remitoEntrada.getNroRemito());\n\t\tre.setPesoTotal(remitoEntrada.getPesoTotal());\n\t\tre.setControl(remitoEntrada.getControl());\n\t\tMap piezasRemitoMap = getPiezasRemitoMap(remitoEntrada.getPiezas());\n\t\tre.getPiezas().addAll(piezasRemitoMap.values());\n\t\tfor(Integer paId : remitoEntrada.getProductoArticuloIdsList()) {\n\t\t\tre.getProductoArticuloList().add(paDAO.getReferenceById(paId));\n\t\t}\n\t\t//Construyo entitys ODT\n\t\tList transiciones = new ArrayList();\n\t\tList odtList = new ArrayList();\n\t\tfor(ODTEagerTO odtTO : remitoEntrada.getOdts()) {\n\t\t\tOrdenDeTrabajo odt = new OrdenDeTrabajo();\n\t\t\todt.setAvance(EAvanceODT.getById(odtTO.getIdAvance()));\n\t\t\todt.setCodigo(odtTO.getCodigo());\n\t\t\t//el estado más problable es EN_OFICINA que significa que del otro lado tenía RemitoDeSalida (ver llamada OrdenDeTrabajoFacade.cambiarODTAOficina) si es así => se cambia a EN_PROCESO (estado anterior)\n\t\t\t//caso contrario se deja el estado que tenía\n\t\t\todt.setEstadoODT(odtTO.getIdEstadoODT() == EEstadoODT.EN_OFICINA.getId() ? EEstadoODT.EN_PROCESO : EEstadoODT.getById(odtTO.getIdEstadoODT()));\n\t\t\todt.setFechaODT(new Timestamp(odtTO.getTimestampFechaODT()));\n\t\t\todt.setMaquinaActual(odtTO.getIdMaquinaActual() == null ? null : maqDAO.getReferenceById(odtTO.getIdMaquinaActual()));\n\t\t\todt.setMaquinaPrincipal(odtTO.getIdMaquinaPrincipal() == null ? null : maqDAO.getReferenceById(odtTO.getIdMaquinaPrincipal()));\n\t\t\todt.setOrdenEnMaquina(odtTO.getOrdenEnMaquina());\n\t\t\todt.setProductoArticulo(paDAO.getReferenceById(odtTO.getIdProductoArticulo()));\n\t\t\todt.setRemito(re);\n\t\t\todt.getPiezas().addAll(getPiezasODT(odt, odtTO.getPiezas(), piezasRemitoMap));\n\t\t\todt.setSecuenciaDeTrabajo(secuenciaODTFromTO(odt, odtTO.getSecuenciaDeTrabajo()));\n\t\t\todtList.add(odt);\n\t\t\ttransiciones.addAll(transicionesEntityFromTOWSList(odt, odtTO.getTransiciones()));\n\t\t\t\n\t\t\t//de nuevo, si estado anterior es EN_OFICINA => estoy trayendo una transición de más, que es el pasaje a EN_OFICINA\n\t\t\t//rastreo esa transición (es la última) y no la incluyo en la lista de transiciones a grabar\n\t\t\tif(odtTO.getIdEstadoODT() == EEstadoODT.EN_OFICINA.getId() && !transiciones.isEmpty()) {\n\t\t\t\tList transicionesTmp = new ArrayList();\n\t\t\t\tfor(int i=0; i < transiciones.size()-1; i++) {//recorro todas menos la última\n\t\t\t\t\ttransicionesTmp.add(transiciones.get(i));\n\t\t\t\t}\n\t\t\t\ttransiciones.clear();\n\t\t\t\ttransiciones.addAll(transicionesTmp);\n\t\t\t\t\n\t\t\t\t//y ahora para dejar todo consistente debo setear la máq. de la última transición ya que eso determina el estado de la ODT dentro de visión general\n\t\t\t\tif(!transiciones.isEmpty()) {\n\t\t\t\t\tTransicionODT ultTransicion = transiciones.get(transiciones.size() - 1);\n\t\t\t\t\tif(ultTransicion.getMaquina() != null) {\n\t\t\t\t\t\todt.setMaquinaActual(ultTransicion.getMaquina());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t//Construyo las Transiciones\n\t\tremitoEntradaFacade.saveWithTransiciones(re, odtList, transiciones, usuarioSistema);\n\t\treturn true;\n\t}","title":""},{"docid":"47d62cdc1ff595a2c0358c82747967bf","score":"0.5488741","text":"Ingrediente createIngrediente();","title":""},{"docid":"1e6e4f3290c6cd6f21f89385eab245c3","score":"0.54867995","text":"@PostMapping(\"/enderecos\")\n @ApiOperation(value=\"Cria um objeto do tipo Endereço\")\n public ResponseEntity createEndereco(@RequestBody Endereco endereco) throws URISyntaxException {\n log.debug(\"REST request to save Endereco : {}\", endereco);\n if (endereco.getId() != null) {\n \t return ResponseEntity.notFound().build();\n }\n Endereco result = enderecoRepository.save(endereco);\n return ResponseEntity.created(new URI(\"/api/enderecos/\" + result.getId()))\n .body(result);\n }","title":""},{"docid":"3ff1d25b432060b4bd5e683a646a04e0","score":"0.54838914","text":"public void registrar(){\n\t\tSystem.out.println(\"Proveedor !!!\");\n\t\t//invocar el servicio\n\t\tProveedor proveedor=getProveedor();\n\t\tproveedorService.insertProveedor(proveedor);\n\t\t//limpia los valores del objeto\n\t\tsetProveedor(new Proveedor());\n\t\t//se actualiza los valores de la tabla\n\t\tsetlistaProveedor(proveedorService.findAllProveedor());\n\t\tgetlistaProveedor();\n\t}","title":""},{"docid":"7005344cfd17cb204847103f40cf1c1f","score":"0.54829764","text":"@Transactional\r\npublic interface ClienteRepository extends JpaRepository {\r\n\r\n Cliente findByUsuarioActivacionAndEstatus(Usuario usuario_activacion, String estatus);\r\n Cliente findOneByIdclienteAndEstatus(Long id, String estatus);\r\n Cliente findOneByIdcliente(Long id);\r\n\r\n}","title":""},{"docid":"3400c53a7290db9090815daa8336a5a4","score":"0.5480115","text":"public RetencionVentaLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.retencionventaDataAccess = new RetencionVentaDataAccess();\r\n\t\t\t\r\n\t\t\tthis.retencionventas= new ArrayList();\r\n\t\t\tthis.retencionventa= new RetencionVenta();\r\n\t\t\t\r\n\t\t\tthis.retencionventaObject=new Object();\r\n\t\t\tthis.retencionventasObject=new ArrayList();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.retencionventaDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.retencionventaDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }","title":""},{"docid":"6eb00c40ad2e2f629e074b17b6740411","score":"0.5478858","text":"private PorraRellenada convertirPorraAPorraRellenada(Porra porra) {\r\n\t\tPorraRellenada result = new PorraRellenada();\r\n\t\tresult.setPorra(porra);\r\n\t\tPartidoRellenado partidoRellenado;\r\n\t\tList partidosRellenados = new ArrayList();\r\n\t\tfor (Partido partido : porra.getPartidos()) {\r\n\t\t\tpartidoRellenado = new PartidoRellenado();\r\n\t\t\tpartidoRellenado.setLocal(partido.getLocal());\r\n\t\t\tpartidoRellenado.setOrdinal(partido.getOrdinal());\r\n\t\t\tpartidoRellenado.setVisitante(partido.getVisitante());\r\n\t\t\tpartidosRellenados.add(partidoRellenado);\r\n\t\t}\r\n\t\tresult.setPartidosRellenados(partidosRellenados);\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"874f408b254814c704f4dec3a90c34d9","score":"0.54741615","text":"@Override\n\tpublic Residuo registrarResiduo(Residuo residuo) {\n\t\treturn residuoDao.save(residuo);\n\t}","title":""},{"docid":"67651345f1dae61bd533539f004dd690","score":"0.54733044","text":"@Override\r\n\tpublic Resultado aprobarDocumentoTecnico(EvaluacionDocumentoResponse item, TransactionRequest request)\r\n\t\t\tthrows Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tDate dateUpdate = new Date();\r\n\t\tInteger idDocumento;\r\n\t\t/*\r\n\t\t * if\r\n\t\t * (item.getIdcatalogotiponecesidad().equals(Constantes.tipoNecesidad.\r\n\t\t * TIPO_NECESIDAD_PROGRAMADO)) { Pacprogramado programado =\r\n\t\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.getIdPacProgramado()\r\n\t\t * ); programado.setEstado(Constantes.estadosPorEtapa.\r\n\t\t * DOCUMENTO_TECNICO_APROBADO);\r\n\t\t * programado.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * programado.setUsuariomodificacionauditoria(request.\r\n\t\t * getUsuarioAuditoria());\r\n\t\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * \r\n\t\t * idDocumento = programado.getIdpacprogramado();\r\n\t\t * pacprogramadoMapper.updateByPrimaryKey(programado); } else { Pedido\r\n\t\t * pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\r\n\t\t * DOCUMENTO_TECNICO_APROBADO);\r\n\t\t * pedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\r\n\t\t * ;\r\n\t\t * \r\n\t\t * idDocumento = pedido.getIdpedido();\r\n\t\t * pedidoMapper.updateByPrimaryKey(pedido); }\r\n\t\t */\r\n\t\t// SE UTILIZA LA MISMA TABLA PARA PROGRAMADOS Y NO PROGRAMDOS, tabla de\r\n\t\t// pedido\r\n\t\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\tpedido.setEstadopedido(Constantes.estadosPorEtapa.DOCUMENTO_TECNICO_APROBADO);\r\n\t\tpedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\r\n\t\tidDocumento = pedido.getIdpedido();\r\n\t\tpedidoMapper.updateByPrimaryKey(pedido);\r\n\r\n\t\t// Insertamos históricos de estados\r\n\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.DOCUMENTO_TECNICO_APROBADO);\r\n\t\t// Estadosportipodocumento estados =\r\n\t\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\tif (estado != null) {\r\n\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\trecord.setNrodocumento(idDocumento); // item.getIdpedido()\r\n\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\t\trecord.setFechaingreso(date);\r\n\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\r\n\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"8dc315100b50fe43673547242d034c37","score":"0.5472137","text":"@Override\t\n\tpublic List retornar() {\n\t\treturn docenteDao.retornar();\n\t}","title":""},{"docid":"85323ebc836211daa6451fef2adc3bb3","score":"0.5471021","text":"public void apresentarResumo();","title":""},{"docid":"d4a4f2b33ac38315cfa1e2ec5d59ea91","score":"0.546761","text":"@Test\n public void findTest()\n {\n ResenaEntity entity = data.get(0);\n ResenaEntity newEntity = resenaPersistence.find(entity.getId());\n Assert.assertNotNull(newEntity);\n Assert.assertEquals(entity.getId(), newEntity.getId());\n Assert.assertEquals(entity.getCalificacion(), newEntity.getCalificacion());\n \n }","title":""},{"docid":"64e0dfe11a020961e428d0b8abfa6118","score":"0.54642266","text":"boolean insertarTransaccionContable(\n contabilidad.entity.ConContable conContable,\n java.util.List listaConDetalle,\n sistemaWeb.entity.SisSuceso sisSuceso,\n contabilidad.entity.ConNumeracion conNumeracion,\n java.util.List rhAnticipos,\n rrhh.entity.RhPrestamo rhPrestamo,\n rrhh.entity.RhVacaciones rhVacaciones,\n rrhh.entity.RhViatico rhViatico,\n java.util.List rhBonos,\n java.util.List rhRoles,\n java.util.List rhXiiiSueldos,\n java.util.List rhXivSueldos,\n java.util.List rhUtilidades,\n rrhh.entity.RhSalarioDigno rhSalarioDigno,\n boolean provisiones,\n rrhh.entity.RhEmpleado rhEmpleado,\n cartera.entity.CarPagos carPagos,\n java.util.List carPagosDetalleAnticiposes,\n java.util.List carPagosDetalleCompras,\n java.util.List carPagosDetalleFormas,\n inventario.entity.InvCompras invCompras,\n cartera.entity.CarCobros carCobros, \n java.util.List carCobrosDetalleAnticiposes, \n java.util.List carCobrosDetalleVentas, \n java.util.List carCobrosDetalleFormas,\n java.util.List invVentas,\n cartera.entity.CarPagosAnticipos carPagosAnticipos,\n cartera.entity.CarCobrosAnticipos carCobrosAnticipos,\n banco.entity.BanCheque banCheque, \n sistema.TO.SisInfoTO sisInfoTO) throws java.lang.Exception;","title":""},{"docid":"ebe15a487735ed30c5ffbc1f6d49d5a3","score":"0.5457984","text":"public Vendedor obtenerVendedorPorCodigo(long codigoVendedor) {\n Vendedor vendedor = new Vendedor();\n\n // Consulta para realizar en base de datos\n MapSqlParameterSource map = new MapSqlParameterSource();\n map.addValue(\"codigo\", codigoVendedor);\n SqlRowSet sqlRowSet = springDbMgr.executeQuery(\"select vendedor.codigo codigo, \"\n + \" vendedor.nombre nombre, \"\n + \" vendedor.apellido apellido, \"\n + \" vendedor.direccion direccion, \"\n + \" vendedor.telefono telefono, \"\n + \" vendedor.fechaNacimiento fechaNacimiento, \"\n + \" vendedor.fechaIngreso fechaI, \"\n + \" vendedor.idTienda idTienda \"\n \n + \"from vendedor \"\n + \"ORDER BY vendedor.codigo desc\");\n\n // Consulto si el vendedor existe\n if (sqlRowSet.next()) {\n // Almaceno los datos de la tienda\n vendedor.setCodigo(sqlRowSet.getInt(\"codigo\"));\n vendedor.setNombre(sqlRowSet.getString(\"nombre\"));\n vendedor.setApellido(sqlRowSet.getString(\"apellido\"));\n vendedor.setDireccion(sqlRowSet.getString(\"direccion\"));\n vendedor.setTelefono(sqlRowSet.getString(\"telefono\"));\n vendedor.setFechaNacimiento(sqlRowSet.getDate(\"fechaNacimiento\"));\n vendedor.setFechaIngreso(sqlRowSet.getDate(\"fechaI\"));\n vendedor.setNombreTienda(sqlRowSet.getInt(\"idTienda\"));\n \n }\n\n // Retorna el vendedor desde base de datos\n return vendedor;\n }","title":""},{"docid":"763a7e1f575999915f851fba98613cbd","score":"0.5455378","text":"public void consultarRadicarExcepcion() {\n LOGGER.debug(\"RadicarExcepcionMB::consultarRadicarExcepcion()\");\n ConsultaSeguimientoHolderFL consultaSegHolderFL = findFlowObject(ConsultaSeguimientoHolderFL.class,\n ConsultaSeguimientoHolderFL.NOMBRE_BEAN);\n RadicarExcepcionFL radicarExcepcionFL = findFlowObject(RadicarExcepcionFL.class,\n RadicarExcepcionFL.NOMBRE_BEAN);\n radicarExcepcionFL.getRegistroRadicarExcepcionDTO().setRadicarExcepcionDTO(\n iRCoactivo.consultarRadicarExcepcion(consultaSegHolderFL.getSegSeleccionado().getIdCoactivo()));\n }","title":""},{"docid":"8da315f3bd9dc0998ced4bd2b2698a50","score":"0.5455221","text":"private static void registrarAuditoriaDetallesDetalleAsientoContable(Connexion connexion,DetalleAsientoContable detalleasientocontable)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_empresa().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_sucursal().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_sucursal()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_sucursal().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDSUCURSAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_asiento_contable().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_asiento_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_asiento_contable().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDASIENTOCONTABLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getnumero_documento().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getnumero_documento()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getnumero_documento() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.NUMERODOCUMENTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_ejercicio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_ejercicio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_ejercicio().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDEJERCICIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_periodo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_periodo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_periodo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDPERIODO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_anio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_anio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_anio().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDANIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_mes().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_mes()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_mes().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDMES,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_cuenta_contable().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_cuenta_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_cuenta_contable().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCUENTACONTABLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdebito_local().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getdebito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getdebito_local().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DEBITOLOCAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcredito_local().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcredito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcredito_local().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CREDITOLOCAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdebito_extran().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getdebito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getdebito_extran().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DEBITOEXTRAN,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcredito_extran().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcredito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcredito_extran().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CREDITOEXTRAN,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_centro_actividad().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_centro_actividad()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_centro_actividad().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCENTROACTIVIDAD,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_centro_costo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_centro_costo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCENTROCOSTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcotizacion().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcotizacion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcotizacion().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.COTIZACION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdetalle().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getdetalle()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getdetalle() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DETALLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_tipo_cambio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_tipo_cambio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_tipo_cambio().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDTIPOCAMBIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcon_centro_costo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcon_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcon_centro_costo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CONCENTROCOSTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getfecha().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getfecha()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getfecha()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getfecha().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getfecha()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getfecha().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.FECHA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getnumero_deposito().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getnumero_deposito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getnumero_deposito() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.NUMERODEPOSITO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}","title":""},{"docid":"ddab0bf49a64efddd7bd845f9afa0f50","score":"0.5455173","text":"public void gravarPersistencia(String registro){\n\t}","title":""},{"docid":"8d799f01e7873178ffe39b3a56c2f957","score":"0.5453954","text":"public RespuestaBD crearRegistro(int idActividad, int idUsuario, int codigoPoa, String estado, String usuarioInsercion) {\n/* 270 */ RespuestaBD rta = new RespuestaBD();\n/* */ \n/* */ try {\n/* 273 */ String s = \"insert into POA_ACTIVIDAD_RESPONSABLE(id_actividad,id_usuario,codigo_poa,estado,fecha_insercion,usuario_insercion) values (\" + idActividad + \",\" + \"\" + idUsuario + \",\" + \"\" + codigoPoa + \",\" + \"'\" + estado + \"',\" + \"\" + Utilidades.getFechaBD() + \",\" + \"'\" + usuarioInsercion + \"'\" + \")\";\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 288 */ rta = this.dat.executeUpdate2(s);\n/* */ }\n/* 290 */ catch (Exception e) {\n/* 291 */ e.printStackTrace();\n/* 292 */ Utilidades.writeError(\"%PoaActividadResponsableDAO:crearRegistro \", e);\n/* 293 */ rta.setMensaje(e.getMessage());\n/* */ } \n/* 295 */ return rta;\n/* */ }","title":""},{"docid":"d7e02194e7584444c65c7b7bc58c8f12","score":"0.544553","text":"@Override\r\n\tpublic Resultado derivarExpediente(TransactionRequest request) throws Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tPacConsolidadoDto pac = request.getEntityTransaction();\r\n\t\tPacconsolidado pacEdit = pacconsolidadoMapper.selectByPrimaryKeyBasic(pac.getIdPacConsolidado());\r\n\t\tif (pacEdit != null) {\r\n\t\t\tpacEdit.setFechaaprobacionexpediente(new Date());\r\n\t\t\tpacEdit.setEstadorequerimiento(Constantes.estadosPorEtapa.REMITIDO_A_PROCESOS);\r\n\t\t\tpacconsolidadoMapper.updateByPrimaryKey(pacEdit);\r\n\r\n\t\t\t// STATUS: REMITIDO_A_PROCESOS\r\n\t\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.PROCESO);\r\n\t\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.REMITIDO_A_PROCESOS);\r\n\r\n\t\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\t\tif (estado != null) {\r\n\t\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\t\trecord.setNrodocumento(pac.getIdPacConsolidado());\r\n\t\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\t\trecord.setFechaingreso(date);\r\n\t\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"9807db146c0bc42d10fc8dec3c76e7c8","score":"0.5434085","text":"int insert(SupervisorEntidad record);","title":""},{"docid":"4b8fa854df0ecb145a952e0521c3f42c","score":"0.543375","text":"public IngresoEgreso(){\n\t}","title":""},{"docid":"e8ce7907ebe641119d59c955a32955bc","score":"0.5430562","text":"private void readWriteData() throws Exception {\n\t\t// create an instance of Resolucao\n\t\tResolucao resolucao = new Resolucao();\n\t\tresolucao.setPassos(\"\");\n\n\t\t// persist the account object to the database\n\t\t\t\t\n\t\tList resolucoes = resolucaoDao.queryForAll();\n\t\t\t\t\t\t\n\t\tfor(Resolucao res: resolucoes){\n\t\t\tSystem.out.println(\"Resolucao \"+res.getId()+\": \"+res.getPassos());\t\n\t\t}\n\t\t\n\t}","title":""},{"docid":"d185d876775def0767cf7c2162ebc532","score":"0.54262453","text":"@RooService(entity = Budynek.class)\npublic interface BudynekService extends EntityResolver, ValidatorService {\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param id\n * @return Budynek\n */\n public abstract Budynek findOne(Long id);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n */\n public abstract void delete(Budynek budynek);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param entities\n * @return List\n */\n public abstract List save(Iterable entities) throws PSQLException;\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param ids\n */\n public abstract void delete(Iterable ids);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param entity\n * @return Budynek\n */\n public abstract Budynek save(Budynek entity) throws PSQLException;\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param id\n * @return Budynek\n */\n public abstract Budynek findOneForUpdate(Long id);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param ids\n * @return List\n */\n public abstract List findAll(Iterable ids);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @return List\n */\n public abstract List findAll();\n\n /**\n * TODO Auto-generated method documentation\n *\n * @return Long\n */\n public abstract long count();\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param globalSearch\n * @param pageable\n * @return Page\n */\n public abstract Page findAll(GlobalSearch globalSearch, Pageable pageable);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param ids\n * @param globalSearch\n * @param pageable\n * @return Page\n */\n public abstract Page findAllByIdsIn(List ids, GlobalSearch globalSearch, Pageable pageable);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n * @param saleToAdd\n * @return Budynek\n */\n public abstract Budynek addToSale(Budynek budynek, Iterable saleToAdd);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n * @param saleToRemove\n * @return Budynek\n */\n public abstract Budynek removeFromSale(Budynek budynek, Iterable saleToRemove);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n * @param sale\n * @return Budynek\n */\n public abstract Budynek setSale(Budynek budynek, Iterable sale);\n}","title":""},{"docid":"7f0464cd1bb3a4e687dd08752abf37e7","score":"0.5420553","text":"int insert(Pincidencia record);","title":""},{"docid":"e6bcf6cee4d08f55df08d08a77b902e9","score":"0.54176694","text":"@Override\n public Entity getEspecificList(Entity e) throws SQLException {\n\n ListaDeReproduccion lista = (ListaDeReproduccion) e;\n Integer idListaBuscada = lista.getIdLista();\n CallableStatement preStatement = null;\n ResultSet resultSet = null;\n Connection conn;\n\n try {\n //Creando la instancia de Conexion a la BD\n conn = getBdConnect();\n //Invocando el SP\n preStatement = conn.prepareCall(\"{call m05_obtenerlistaespecifica(?)}\"); //HAY QUE AGREGAR ESTE METODO A POSTGRE\n //Seteo lo que le estoy mandando al procedimiento con ese \"?\"\n preStatement.setInt(1,idListaBuscada);\n //Ejecucion del query\n resultSet = preStatement.executeQuery();\n while (resultSet.next()) {\n\n int idLista = resultSet.getInt(\"LIS_REP_ID\");\n String nombre = resultSet.getString(\"LIS_REP_NOMBRE\");\n String descripcion = resultSet.getString(\"LIS_REP_DESCRIPCION\");\n String imagen = resultSet.getString(\"LIS_REP_IMG\");\n String fechaCreacion = resultSet.getString(\"LIS_REP_FECHA\");\n int numReproducciones = resultSet.getInt(\"LIS_REP_NUMREP\");\n int idUsuario = resultSet.getInt(\"id_usu\");\n\n lista = (ListaDeReproduccion) EntityFactory.listaDeReproduccion(idLista, nombre, descripcion, imagen, numReproducciones, fechaCreacion, idUsuario);\n\n }\n resultSet.close();\n\n } catch (SQLException e1) {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n\n System. out. println(e1.getMessage());\n }\n catch(Exception ex)\n {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n }\n finally {\n closeConnection();\n }\n return lista;\n }","title":""},{"docid":"3bc411aa3d54f26225c1aa6a6cf2d768","score":"0.5414311","text":"public boolean agregaVenta(Venta venta) {\n\n\t\tint llave;\n\n\t\ttry {\n\t\t\t// Crea el statement\n\t\t\t//Statement statement = ManejadorBD.dameConnection().createStatement();\n\t\t\tquery=\"insert into Ventas values (DEFAULT,'\"+venta.dameNombreCliente()+\"','\"+venta.dameApellidoCliente()+\"','\"+venta.dameFechaInicio()+\"',\"+venta.dameTipoPago()+\",\"+venta.damePagoTotal()+\")\";\n\t\t\t// Envia instruccion SQL, nota el DEFAULT es para insertar la llave \n\t\t\t//statement.execute(\"insert into Ventas values (DEFAULT,'\"+venta.dameNombreCliente()+\"','\"+venta.dameApellidoCliente()+\"','\"+venta.dameFechaInicio()+\"',\"+venta.dameTipoPago()+\",\"+venta.damePagoTotal()+\")\",Statement.RETURN_GENERATED_KEYS);\n\t\t\t//ResultSet rs = statement.getGeneratedKeys(); // Recupera la llave\n\t\t\tconexion.ejecutarSQL(query);\n\t\t\tquery=\"select * from Apartados\";\n\t\t\trs=conexion.ejecutarSQLSelect(query);\n\t\t\tif (rs != null && rs.next()) {\n\t\t\t llave = rs.getInt(1);\n\t\t\t venta.cambiaId(llave); // Asigna la llave al producto\n\t\t\t System.out.println(\"venta agregada\");\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\n\t\t\t// Cacha excepcion\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}","title":""},{"docid":"2b1718eff6bfd38a61c75402b70093fe","score":"0.5406229","text":"public Empresa save(Empresa empresa);","title":""},{"docid":"7857a7aecf0c3e8b757096a653c060e3","score":"0.54061776","text":"public Result save(String cep, String solicitacaoBairro, String solicitacaoEndereco, String solicitacaoDescricao, String enderecoReferencia)\r\n\t{\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t/*\r\n\t\t\tString cep = resultado.get(\"cep\").asText();\r\n\t\t\tString solicitacaoBairro = resultado.get(\"solicitacaoBairro\").asText();\r\n\t\t\tString solicitacaoEndereco = resultado.get(\"solicitacaoEndereco\").asText();\r\n\t\t\tString solicitacaoDescricao = resultado.get(\"solicitacaoDescricao\").asText();\r\n\t\t\tString enderecoReferencia = resultado.get(\"enderecoReferencia\").asText(); \r\n\t\t\tint statusAux = resultado.get(\"status\").intValue();\r\n\t\t\tSTATUS status = STATUS.values()[statusAux];\r\n\t\t\tFloat latitude = resultado.get(\"latitude\").floatValue();\r\n\t\t\tFloat longitude = resultado.get(\"longitude\").floatValue();\r\n\t\t\tLong processoNumero = resultado.get(\"processoNumero\").longValue();\r\n\t\t\tDate dataSolicitacao = Date.valueOf(resultado.get(\"dataSolicitacao\").asText());\r\n\t\t\tDate dataAceitacao = Date.valueOf(resultado.get(\"dataAceitacao\").asText());\r\n\t\t\tint riscoAux = resultado.get(\"risco\").intValue();\r\n\t\t\tRISCO risco = RISCO.values()[riscoAux];\r\n\t\t\tLong avaliadorID = resultado.get(\"avaliadorID\").asLong();\r\n\t\t\t*/\r\n\t\t\r\n\t\t\t\r\n\t\t\tPontoRisco ponto = new PontoRisco(cep, solicitacaoBairro, solicitacaoEndereco, solicitacaoDescricao, enderecoReferencia);\r\n\t\t\tponto.save();\r\n\t\t\treturn ok(Json.toJson(ponto));\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}","title":""},{"docid":"b46f416b503f908efdc8f31840d488d6","score":"0.5405346","text":"public RestauranteEntity getRestaurante(String nombre, String nit) {\n LOGGER.log(Level.INFO, \"Inicia proceso de consultar un restaurante del evento con nombre = {0}\", nombre);\n List list = getEvento(nombre).getRestaurantes();\n RestauranteEntity entity = new RestauranteEntity();\n entity.setNit(nit);\n int index = list.indexOf(entity);\n if (index >= 0) {\n return list.get(index);\n }\n return null;\n }","title":""},{"docid":"0cddc28a83eff98097dace797957e708","score":"0.5405269","text":"private void calificar() throws Exception{\n pagina(\"salidaGenerica\");\n \n DTOComunicarParticipantes dto = new DTOComunicarParticipantes();\n \n String clientes = conectorParametroLimpia(\"oidClientes\", \"\", true);\n String posiciones = conectorParametroLimpia(\"posiciones\", \"\", true);\n traza(\"las posiciones \" + posiciones);\n ArrayList oidsClientes = new ArrayList();\n ArrayList numPosiciones = new ArrayList();\n \n StringTokenizer tokTemp = new StringTokenizer(clientes, \",\");\n StringTokenizer tokTempPos = new StringTokenizer(posiciones, \",\");\n \n while (tokTemp.hasMoreTokens()) {\n oidsClientes.add( new Long(tokTemp.nextToken()));\n }\n \n while (tokTempPos.hasMoreTokens()) {\n numPosiciones.add( new Long(tokTempPos.nextToken()));\n }\n \n \n dto.setClientes((Long[])oidsClientes.toArray(new Long[oidsClientes.size()]));\n dto.setPosicion((Long[])numPosiciones.toArray(new Long[numPosiciones.size()]));\n dto.setOidPais(UtilidadesSession.getPais(this));\n\t dto.setOidIdioma(UtilidadesSession.getIdioma(this));\n dto.setOidConcurso(new Long(conectorParametroLimpia(\"oidConcurso\", \"\", true)));\n dto.setOidTipoPremio(new Long(conectorParametroLimpia(\"oidTipoPremio\", \"\", true)));\n dto.setOidNivelPremiacion(new Long(conectorParametroLimpia(\"oidNivelPremiacion\", \"\", true)));\n \n traza(\"el dto: \" + dto);\n MareBusinessID id = new MareBusinessID(\"INCCalificar\");\n Vector vec = new Vector();\n \n vec.add(dto);\n vec.add(id);\n \n DruidaConector con;\n \n con = conectar(\"ConectorCalificar\", vec);\n \n \n }","title":""},{"docid":"2d4f88c0900c7237a296cfc3c2d50b88","score":"0.5395917","text":"@Transactional\n\tpublic Reserva_servicio create(Reserva_servicio rs) {\n\t\treturn this.rsRepository.save(rs);\n\t}","title":""},{"docid":"92c42ae95a7c531f11e274e2a799bd9c","score":"0.53895074","text":"private void citireInregistrari() {\n \n try {\n //Step 2: Inregistrarea driverului JDBC\n Class.forName(\"org.mariadb.jdbc.Driver\");\n //Step 3: Deschiderea unei conexiuni\n System.out.println(\"Conexiune la baza de date.....\");\n conn = DriverManager.getConnection(DB_URL);\n System.out.println(\"Crearea Statement .............\");\n //Step 4: Executarea unei interogari\n stm = conn.createStatement();\n String sql = \"SELECT id, nume, prenume, varsta FROM REGISTRATION\";\n ResultSet rs = stm.executeQuery(sql);\n //Step 5: Extragerea datelor din ResultSet rs\n printColoane();\n while (rs.next()){\n int id = rs.getInt(\"id\");\n int varsta = rs.getInt(\"varsta\");\n String nume = rs.getString(\"nume\");\n String prenume = rs.getString(\"prenume\");\n printSiruri(id, varsta, nume, prenume);\n \n// System.out.print(\"ID: \"+id);\n// System.out.print(\" VARSTA: \"+varsta);\n// System.out.print(\" NUME: \"+nume);\n// System.out.print(\" PRENUME: \"+prenume);\n }\n rs.close();\n \n } catch (SQLException ex) {\n ex.printStackTrace();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n try {\n if(stm != null) conn.close();\n } catch (SQLException e) {\n //nu adaugam nimic\n }\n try {\n if(conn != null) conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"\\nLA REVEDERE!\");\n }","title":""},{"docid":"a9a94a258d52bb4d1d5faff48beadf25","score":"0.538573","text":"@Override\n @Transactional\n public List getResaByLivreId(Integer livreId) throws FunctionalException {\n if (livreId <= 0) throw new FunctionalException(\"Les données sont incorrectes\");\n else {\n resaListReturn=resaDao.getResaByLivreId(livreId);\n return resaListReturn;\n }\n }","title":""},{"docid":"59f52d083e4e40e0bb573571e7b0add7","score":"0.53717786","text":"public void recuperarSuper(){\n \r\n produtoDAO = new ProdutosDao();\r\n this.produtosLDM = new ListDataModel(produtoDAO.recuperarTodosProdutosSuper(idSupermercado));\r\n }","title":""},{"docid":"f3ca3cb65e305c4f64690a82a67e6596","score":"0.53699833","text":"private static void registrarAuditoriaDetallesTipoDiscapacidad(Connexion connexion,TipoDiscapacidad tipodiscapacidad)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getid_empresa().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getnombre().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getnombre() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.NOMBRE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getporcentaje_inicial().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getporcentaje_inicial()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getporcentaje_inicial().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.PORCENTAJEINICIAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getporcentaje_final().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getporcentaje_final()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getporcentaje_final().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.PORCENTAJEFINAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}","title":""},{"docid":"b6e2313c37014ccd80a4225bd61cd4ea","score":"0.5369646","text":"@Test\n\t@UsingDataSet({ \"persona.json\" })\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\tpublic void buscarRecolectorTest() {\n\n\t\tRecolector recolector = entityManager.find(Recolector.class, \"323456789\");\n\t\tAssert.assertNotNull(recolector);\n\n\t}","title":""},{"docid":"fad19aa0e946f1328262be6bba72708a","score":"0.5368466","text":"public Cesta recuperarPedidos() throws ClassNotFoundException, SQLException {\n conectar();\n int precioFinal = 0;\n sql = \"Select nombrePro , precio , nombre_cat , id_pedido\\n\"//Select que recoge los productos con su id de pedido correspondiente\n + \"from pedido_producto , producto\\n\"\n + \"where nombrePro = producto_pedidos order by nombre_cat;\";\n rs = stmt.executeQuery(sql);\n while (rs.next()) {//Recorre los resultados obtenidos por el select \n pro = new Producto(rs.getString(\"nombrePro\"), rs.getInt(\"precio\"), rs.getString(\"nombre_cat\"));//Instancia de un objeto de la clase producto al que se le pasan los datos recogidos de la BBDD\n cest.getProductosRecogidos().add(pro);//Agrega el producto instanciado a un array de productos recogidos \n cest.getIdPedido().add(rs.getInt(\"id_pedido\"));//Agrega el id del pedido de cada producto a un array de id's\n precioFinal = precioFinal + rs.getInt(\"precio\");//Incrementa el precio final con el precio de cada producto recogido\n }\n cest.setPrecioFinal(precioFinal);\n return cest;\n }","title":""},{"docid":"84b23da99531cb8b00754fe7ac535bc4","score":"0.53589606","text":"public List getReferenciasComerciante(String tipoIdentificacion, String identificacion, ClienteDTO cliente) {\n List response = new ArrayList();\r\n try {\r\n \t// INDIVIDUAL\r\n \tif (TipoPersona.N.equals(cliente.getTipoPersona())) {\r\n\t List rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\r\n\t List rcs = this.catalogoService.findReferenciaComercianteByCliente(tipoIdentificacion, identificacion);\r\n\t if (rcs != null && !rcs.isEmpty()) {\r\n\t \tfor (ReferenciaComerciante rf : rcs) {\r\n\t \t\tReferenciaComercianteDTO referencia = new ReferenciaComercianteDTO(rf);\r\n\t// try {\r\n\t// DireccionCliente direccion = this.catalogoService.findDireccionClienteById(tipoIdentificacion, identificacion, referencia.getCodigoDireccion());\r\n\t// if (direccion != null) {\r\n\t// DireccionDTO direDTO = new DireccionDTO(direccion);\r\n\t// String idDireccion = getIdDireccionParaCamposAdicionales(idCliente, direccion.getId().getCodigo());\r\n\t// String email = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EMAIL, idDireccion);\r\n\t// String extension = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EXTENSION, idDireccion);\r\n\t// if (email != null && !email.trim().isEmpty()) {\r\n\t// direDTO.setEmail(email);\r\n\t// }\r\n\t// if (extension != null && !extension.trim().isEmpty()) {\r\n\t// direDTO.setExtension(extension);\r\n\t// }\r\n\t// ref.setDireccion(direDTO);\r\n\t// }\r\n\t//\r\n\t// } catch (RuntimeException e) {\r\n\t// e.printStackTrace();\r\n\t// }\r\n\t \t\tif (null != rds && !rds.isEmpty()) {\r\n\t \t\t\tContadorDTO c = null;\r\n\t \t\t\tcontadores : for (ReferenciaComercianteDatoContador contador : rds) {\r\n\t \t\t\t\tif (referencia.getCorrelativoReferencia().compareTo(contador.getId().getCorrelativo()) == 0) {\r\n\t \t\t\t\t\tc = new ContadorDTO(contador);\r\n\t \t\t\t\t\treferencia.setContador(c);\r\n\t \t\t\t\t\tbreak contadores;\r\n\t \t\t\t\t}\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t response.add(referencia);\r\n\t }\r\n\t }\r\n \t}\r\n \t// JURIDICA\r\n \tif (TipoPersona.J.equals(cliente.getTipoPersona())) {\r\n ReferenciaComercianteDTO referencia = null;\r\n List rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\r\n if (null != rds && !rds.isEmpty()) {\r\n \tContadorDTO c = null;\r\n for (ReferenciaComercianteDatoContador contador : rds) {\r\n \treferencia = new ReferenciaComercianteDTO();\r\n \tc = new ContadorDTO(contador);\r\n referencia.setContador(c);\r\n response.add(referencia);\r\n }\r\n }\r\n }\r\n } catch (RuntimeException e) {\r\n e.printStackTrace();\r\n }\r\n \r\n return response;\r\n }","title":""},{"docid":"16784f583d74511cecb4cbeed4e8b293","score":"0.53557754","text":"public void getSetVersionRowRetencionVentaWithConnection()throws Exception {\n\t\tif(retencionventa.getIsChangedAuxiliar() && Constantes.ISSETVERSIONROWUPDATE) {\r\n\t\t \t//TEMPORAL\r\n\t\t\t//if((retencionventa.getIsDeleted() || (retencionventa.getIsChanged()&&!retencionventa.getIsNew()))&& Constantes.ISSETVERSIONROWUPDATE) {\r\n\t\t\tTimestamp timestamp=null;\r\n\t\t\t\r\n\t\t\ttry {\t\r\n\t\t\t\tconnexion=connexion.getNewConnexion(this.connexionType,this.parameterDbType,this.entityManagerFactory);connexion.begin();\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\ttimestamp=retencionventaDataAccess.getSetVersionRowRetencionVenta(connexion,retencionventa.getId());\r\n\t\t\t\t\r\n\t\t\t\tif(!retencionventa.getVersionRow().equals(timestamp)) {\t\r\n\t\t\t\t\tretencionventa.setVersionRow(timestamp);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tconnexion.commit();\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tretencionventa.setIsChangedAuxiliar(false);\r\n\t\t\t\t\r\n\t\t\t} catch(Exception e) {\r\n\t\t\t\tconnexion.rollback();\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tthrow e;\r\n\t\t\t\t\r\n\t \t} finally {\r\n\t\t\t\tconnexion.close();\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"dd24aa1178c2f5b1aaa460f8c746d702","score":"0.5352297","text":"@Override\n public ArrayList getLista(Entity e) throws SQLException {\n\n ArrayList listaContenedora= new ArrayList<>();\n ListaDeReproduccion lista = (ListaDeReproduccion) e;\n Integer idUsuario = lista.getIdUsuario();\n CallableStatement preStatement = null;\n ResultSet resultSet = null;\n Connection conn;\n\n try {\n //Creando la instancia de Conexion a la BD\n conn = getBdConnect();\n //Invocando el SP\n preStatement = conn.prepareCall(\"{call M05_OBTENERLISTA(?)}\"); //HAY QUE AGREGAR ESTE METODO A POSTGRE\n //Seteo lo que le estoy mandando al procedimiento con ese \"?\"\n preStatement.setInt(1,idUsuario);\n //Ejecucion del query\n resultSet = preStatement.executeQuery();\n while (resultSet.next()) {\n\n int idLista = resultSet.getInt(\"LIS_REP_ID\");\n String nombre = resultSet.getString(\"LIS_REP_NOMBRE\");\n String descripcion = resultSet.getString(\"LIS_REP_DESCRIPCION\");\n String imagen = resultSet.getString(\"LIS_REP_IMG\");\n String fechaCreacion = resultSet.getString(\"LIS_REP_FECHA\");\n int numReproducciones = resultSet.getInt(\"LIS_REP_NUMREP\");\n int idUsuarioF = resultSet.getInt(\"id_usu\");\n\n lista = (ListaDeReproduccion) EntityFactory.listaDeReproduccion(idLista, nombre, descripcion, imagen, numReproducciones, fechaCreacion, idUsuarioF);\n listaContenedora.add(lista);\n\n }\n resultSet.close();\n\n } catch (SQLException e1) {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n\n System. out. println(e1.getMessage());\n }\n catch(Exception ex)\n {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n }\n finally {\n closeConnection();\n }\n return listaContenedora;\n }","title":""},{"docid":"a2fc9162123b96e78d974da88a0bd8e5","score":"0.53501165","text":"public static void restituisciIdTipoTorneo(Aquisizioni dati, ConnDB db){\n \n qry = \"select tipo_torneo.ID from torneo, tipo_torneo where torneo.Nome = '\"+dati.getGlobalID()+\"' and torneo.Tipo = tipo_torneo.ID\";\n risultato = db.interrogazione(qry);\n try {\n if(risultato.next()) dati.setGlobalId(risultato.getString(\"ID\"));\n \n } catch (SQLException ex) {\n Logger.getLogger(Operazioni.class.getName()).log(Level.SEVERE, null, ex);\n }\n }","title":""},{"docid":"c4537f610b24388a96be973af5b8a766","score":"0.5347386","text":"public Single save(RequestNewClien cliente);","title":""},{"docid":"2f9c8fc2d56a84459ab0cf670c46c39d","score":"0.5342597","text":"public String resgistrarConvenio(int idConvenio, String nombre, String fecha_inicio, String fecha_fin, String objetivo, String estado, String fundacion, String des) {\n \n \n \n \n Fundacion f = consulta.obtenerFundacion(fundacion);\n String msg= \"Registro no Exitoso\";\n if(!f.equals(null)){\n if(!consulta.BuscarConvenio(idConvenio)){\n \n \n try{\n \n \n \n Convenio c =new Convenio( idConvenio, nombre,fecha_inicio, fecha_fin, objetivo, f, des);\n ConvenioDao co = new ConvenioDao();\n co.insertarConvenio(idConvenio, nombre, fecha_inicio, fecha_fin, objetivo, estado, fundacion, des);\n msg=\"registro exitoso\";\n return msg;\n }catch (SQLException e){\n e.printStackTrace();\n }\n \n \n }\n return \"Convenio ya existe\";\n }\n \n return \"Fundacion ya existe\";\n }","title":""},{"docid":"d393598a33b2eb1db76bb370579d44b6","score":"0.5333548","text":"private void crearEntidad()\r\n/* 63: */ {\r\n/* 64:109 */ this.tipoSubsidio = new TipoSubsidio();\r\n/* 65:110 */ this.tipoSubsidio.setIdOrganizacion(AppUtil.getOrganizacion().getId());\r\n/* 66:111 */ this.tipoSubsidio.setIdSucursal(AppUtil.getSucursal().getId());\r\n/* 67: */ }","title":""},{"docid":"2cd594ee196b4afa9cd05a1f729887c6","score":"0.5325903","text":"public void adicionaTransportadoraACorrespondenciaDaEncomendaEscolhida (String codUser , String codEncomenda){\n Transportadoras t = (Transportadoras) this.contas.get(codUser);\n\n List correspondenciaAntiga = correspondencia.get(codEncomenda); // lista das possiveis transportadoras a entregar esta encomenda antes de adicionar a transportadora\n correspondenciaAntiga.add(t.clone()); // adicionamos a nova transportadora a lista\n correspondencia.put(codEncomenda, correspondenciaAntiga); // e damos replace no map com a nova lista\n }","title":""},{"docid":"787b4b4e40bfd33753c5f21e967e5e0c","score":"0.53247416","text":"@Test\n @Transactional\n void createEtniaIndigenaWithExistingId() throws Exception {\n etniaIndigena.setId(1L);\n\n int databaseSizeBeforeCreate = etniaIndigenaRepository.findAll().size();\n\n // An entity with an existing ID cannot be created, so this API call must fail\n restEtniaIndigenaMockMvc\n .perform(post(ENTITY_API_URL).contentType(MediaType.APPLICATION_JSON).content(TestUtil.convertObjectToJsonBytes(etniaIndigena)))\n .andExpect(status().isBadRequest());\n\n // Validate the EtniaIndigena in the database\n List etniaIndigenaList = etniaIndigenaRepository.findAll();\n assertThat(etniaIndigenaList).hasSize(databaseSizeBeforeCreate);\n }","title":""},{"docid":"50d45cd447784d44d3c4aeb302ba6716","score":"0.5324031","text":"public Receitas getUnaReceita(String indrec) {\n try {\n ResultSet sent = EjecutarSentencia(\"SELECT * FROM receita WHERE Id = \" + indrec);\n sent.first();\n\n Receitas re = new Receitas();\n\n re.setId(sent.getInt(\"Id\"));\n re.setNumero((sent.getString(\"numero\")));\n re.setCoordenada((sent.getString(\"coordenada\")));\n re.setCategoria(sent.getString(\"categoria\"));\n re.setCantidad(sent.getInt(\"cantidad\"));\n re.setValor(sent.getFloat(\"valor\"));\n re.setTotal(sent.getFloat(\"total\"));\n re.setIdresumen(sent.getInt(\"idresumen\"));\n\n return re;\n } catch (SQLException ex) {\n Logger.getLogger(connectBD.class.getName()).log(Level.SEVERE, null, ex);\n }\n return new Receitas();\n }","title":""},{"docid":"37699bfa2373162dd869199305f789a8","score":"0.5322517","text":"public org.apache.ws.axis2.ViaxeAMonequilandResponse viaxeAMonequiland(\n org.apache.ws.axis2.ViaxeAMonequiland viaxeAMonequiland) throws ConfigurationException, TransportException, RemoteException {\n \n buscar = new Buscar();\n \n /**********ARGUMENTOS QUE NOS PASA O USUARIO***********/\n String corpoCeleste = viaxeAMonequiland.getArgs0();\n String vehiculo = viaxeAMonequiland.getArgs1();\n /*****************************************************/\n\n /*************************OBXECTO RESPOSTA DO NOSO SERVIZO*************************/\n ViaxeAMonequilandResponse BoaViaxe = new ViaxeAMonequilandResponse();\n /**********************************************************************************/\n\n System.out.println(\"Espera un momentiño...\\n\");\n \n String respostaCache = TesAmiñaConsulta(corpoCeleste, vehiculo);//Creamos unha conexion coa cache e preguntamoslle se ten gardada esta consulta\n \n if(respostaCache != null)//Se a ten gardada, finalizamos e pasamoslle a resposta ao cliente\n {\n BoaViaxe.set_return(respostaCache);\n return BoaViaxe;\n }\n \n String distanciaAtaOcorpoCeleste = IstoOndeQueda(corpoCeleste); //Creamos unha conexion co noso servizo propio DistanciaPlaneta e obtemos a distancia\n \n String tempoAtaOcorpoCeleste = PeroCantoTardoOh(distanciaAtaOcorpoCeleste, vehiculo); //Creamos unha conexion co noso servizo propio TempoViaxe e obtemos o tempo que se tarda en chegar no vehiculo seleccionado\n \n GardameIsto(corpoCeleste, vehiculo, tempoAtaOcorpoCeleste); //Gardamos a consulta e a resposta na cache para futuras consultas\n\n BoaViaxe.set_return(tempoAtaOcorpoCeleste); //Enviamos a resposta ao usuario\n \n return BoaViaxe;\n \n }","title":""},{"docid":"63122e9c56a0fd67fd91818199039929","score":"0.53220916","text":"public static void generarOtrosIngresos(Poliza poliza,Abono abono,String ref1,String asiento){\r\n\t\tString ref2=abono.getSucursal().getNombre();\r\n\t\tBigDecimal diferencia=abono.getDiferencia();\r\n System.out.println(\"aaaaaaaaa\"+abono.getId());\r\n\t\tif(diferencia.doubleValue()>0 && DateUtils.isSameDay(abono.getDirefenciaFecha(), poliza.getFecha())){\r\n\t\t\tif(abono.getDiferencia().doubleValue()>0){\r\n\t\t\t\tBigDecimal importeDiferencia=PolizaUtils.calcularImporteDelTotal(diferencia);\r\n\t\t\t\tBigDecimal ivaDiferencia=PolizaUtils.calcularImpuesto(importeDiferencia);\r\n\t\t\t\timporteDiferencia=PolizaUtils.redondear(importeDiferencia);\r\n\t\t\t\tivaDiferencia=PolizaUtils.redondear(ivaDiferencia);\r\n\t\t\t\tString sufix=\"01\";\r\n\t\t\t\tif(ref1.equals(\"MOS\"))\r\n\t\t\t\t\tsufix=\"01\";\r\n\t\t\t\tif(ref1.equals(\"CAM\"))\r\n\t\t\t\t\tsufix=\"03\";\r\n\t\t\t\tif(ref1.equals(\"CRE\"))\r\n\t\t\t\t\tsufix=\"02\";\r\n\t\t\t\tif(ref1.equals(\"CHE\"))\r\n\t\t\t\t\tsufix=\"04\";\r\n\t\t\t\tif(DateUtils.isSameDay(abono.getDirefenciaFecha(), abono.getPrimeraAplicacion())){\r\n\t\t\t\t\t//Abono Otros ingresos\r\n\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"702\", \"OING\"+sufix, false, diferencia,\"OI AJUSTE Menor a $10: \"+abono.getInfo(), ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tif(abono instanceof PagoConDeposito){\r\n\t\t\t\t\t\tPagoConDeposito dep= (PagoConDeposito) abono;\r\n\t\t\t\t\t\tBigDecimal importeDif=MonedasUtils.calcularImporteDelTotal(diferencia, 2);\t\t\t\t\t\t\r\n\t\t\t\t\t\tBigDecimal ivaDif=MonedasUtils.calcularImpuestoDelTotal(diferencia);\r\n\t\t\t\t\t\tString desc2=MessageFormat.format(\" {0} Ref:{1} F.D:\"\r\n\t\t\t\t\t\t\t\t, dep.getBanco(),dep.getReferenciaBancaria())\r\n\t\t\t\t\t\t\t\t+new SimpleDateFormat(\"dd/MM/yyyy\").format(dep.getFechaDeposito());\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(!DateUtil.isSameMonth(abono.getPrimeraAplicacion(), dep.getFechaDeposito())){\r\n\t\t\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"203\", \"DEPI01\", true, diferencia,\"OI AJUSTE Menor a $10: \"+abono.getInfo(), ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t//\t\tPolizaDetFactory.generarPolizaDet(poliza, \"206\", \"IVAD01\", true, ivaDif, desc2, ref1, ref2, asiento);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(diferencia.doubleValue()>10){\r\n\t\t\t\t\t\t\tif(!DateUtil.isSameMonth(dep.getPrimeraAplicacion(), dep.getFechaDeposito())){\r\n\t\t\t\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"203\", \"DEPI01\", true, importeDif,desc2, ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t\t//\t\tPolizaDetFactory.generarPolizaDet(poliza, \"206\", \"IVAD01\", true, ivaDif, desc2, ref1, ref2, asiento);\r\n\t\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\t//Abono a Otros ingresos\r\n\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"702\", \"OING\"+sufix, false, diferencia,\"OI AJUSTE < $10 \"+abono.getInfo(), ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// Cargo a Acredores diversos\r\n\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"203\", \"DIVR\"+sufix, true, diferencia,\"OI AJUSTE < $10 \"+abono.getInfo(), ref1, ref2, asiento);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//PolizaDetFactory.generarPolizaDet(poliza, \"902\", \"IETUA07\", false, importeAcumulado, cuentaAIETUDesc +\"ACUMULABLE IETU OI\", ref1, ref2, asiento);\r\n\t\t\t\t\t//PolizaDetFactory.generarPolizaDet(poliza, \"903\", \"AIETU07\", true, importeAcumulado,cuentaIETUADesc +\"IETU ACUMULABLE OI\", ref1, ref2, asiento);\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"5e8438d1f5b45993ad5f6e5389e014e0","score":"0.5320424","text":"@Override\n\tpublic void repararEscudo(ITanque tanque) {\n\t\ttanque.restaurarEscudo(AUMENTO);\n\t}","title":""},{"docid":"f8c0814509e09d4627cd375a5327a76d","score":"0.53199077","text":"@Override\n\tpublic long addEnderecoPorEmpresa(AgenteEndereco agenteEndereco) {\n\t\treturn (Integer)hibernateTemplate.save(agenteEndereco);\n\t}","title":""},{"docid":"8713b1e5a0c1b88848ac536e8c15fff5","score":"0.53184724","text":"public List recuperarAgendamentos() {\n try {\n conectar();\n \n String sql = \"SELECT * FROM AGENDAMENTO\";\n ResultSet rs = comando.executeQuery(sql);\n \n List agendamentos = new ArrayList();\n while (rs.next()) { \n Agendamento agendamento = new Agendamento();\n agendamento.setIdAgendamento(rs.getInt(\"id_agendamento\"));\n agendamento.setCpfPaciente(rs.getString(\"cpfPacienteAgenda\"));\n agendamento.setCpfMedico(rs.getString(\"cpfMedico\"));\n agendamento.setData(rs.getDate(\"data\"));\n agendamento.setHora(rs.getTime(\"hora\"));\n agendamento.setStatus(rs.getString(\"status\"));\n agendamento.setComentario(rs.getString(\"comentario\"));\n \n agendamentos.add(agendamento);\n }\n \n for (Iterator iterator = agendamentos.iterator(); iterator.hasNext();) {\n Agendamento agendamento = (Agendamento) iterator.next();\n \n StringBuffer buffer = new StringBuffer();\n buffer.append(\"SELECT id_servico, horaServico, dataServico, preco, descricao, estaPago\");\n buffer.append(\" FROM AGENDAMENTO_SERVICO WHERE id_age_servico=\");\n buffer.append(formatarParaStringSql(Integer.toString(agendamento.getIdAgendamento())));\n sql = buffer.toString();\n rs = comando.executeQuery(sql);\n while (rs.next()) {\n Servico servico = new Servico();\n servico.setIdServico(rs.getInt(\"id_servico\"));\n servico.setHoraServico(rs.getTime(\"horaServico\"));\n servico.setDataServico(rs.getDate(\"dataServico\"));\n servico.setPreco(rs.getDouble(\"preco\"));\n servico.setDescricao(rs.getString(\"descricao\"));\n servico.setEstaPago(rs.getInt(\"estaPago\"));\n \n agendamento.getServicos().add(servico);\n } \n \n }\n \n fechar();\n \n return agendamentos;\n \n } catch (SQLException e) {\n e.printStackTrace();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n }\n return null;\n }","title":""},{"docid":"5f81c341d03938a7d2456c62eaa46ebd","score":"0.53087074","text":"@Test\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\t@UsingDataSet({ \"persona.json\", \"registro.json\", \"administrador.json\", \"cuenta.json\", \"empleado.json\",\n\t\t\t\"familia.json\", \"genero.json\", \"recolector.json\", \"planta.json\" })\n\tpublic void buscarRecolectorPorId() {\n\t\tRecolector recolector = entityManager.find(Recolector.class, \"127\");\n\t\tAssert.assertNotNull(recolector);\n\t}","title":""},{"docid":"1f386f2d1cf40a704b61498f8bc695a7","score":"0.53068703","text":"private T convertAnObject(ResultSet r)\r\n {\r\n // this.contListaObjRef++;\r\n try {\r\n if(r.isBeforeFirst())\r\n r.next();\r\n // while(r.next())\r\n // {\r\n \r\n T objBlanco=getObjectBlank();\r\n ArrayList columnas=objBlanco.getMapeo().getColumnas();\r\n for (Columna columna : columnas) {\r\n \r\n Field field=columna.getRefAtributo();\r\n //System.out.println(columna.getName());\r\n \r\n //field.set(objBlanco,valor);\r\n String nameAtributo=field.getName();\r\n char primero=nameAtributo.charAt(0);\r\n String texto=nameAtributo;\r\n texto = \"set\"+Character.toUpperCase(primero) + texto.substring(1,texto.length());\r\n Method[] metodos=getClassEntity().getMethods();\r\n //buscar el metodo que coincida con el nombre del atributo con el metodo set\r\n Method metodoEncontrado=findMethod(getClassEntity().getMethods(),texto);\r\n \r\n \r\n //verificar si el valor es directo o es una referencia fk\r\n String tipoClave=columna.getTypekey();\r\n if(tipoClave.equals(\"fk\"))\r\n {\r\n String tipo=field.getType().getName();\r\n Object value=r.getString(columna.getName());\r\n \r\n String nombreClaseReferencia=tipo;\r\n Class claseReferencia=Class.forName(nombreClaseReferencia);\r\n \r\n ///verificar que el objeto exista no exista en la lista\r\n Object objReferencia;\r\n Object tempReferencia=findLista(newObjectPrimaryKey(claseReferencia,value));\r\n if(tempReferencia!=null)\r\n {\r\n objReferencia=tempReferencia; \r\n }\r\n else\r\n {\r\n //cuando no existe el objeto\r\n Method metodoGetFacade=findMethod(claseReferencia.getMethods(),\"getDao\");\r\n Class claseFacade=(Class) metodoGetFacade.invoke(claseReferencia.newInstance());\r\n\r\n Method metodoFindPrimaryKey=findMethod(claseFacade.getMethods(),\"findByPrimaryKeyRecursive\");\r\n AbstractFacade facadeReferencia=(AbstractFacade) claseFacade.newInstance();\r\n objReferencia=metodoFindPrimaryKey.invoke(facadeReferencia,value);\r\n AbstractFacade.addLista((AbstractMapeo) objReferencia);\r\n }\r\n \r\n //agrega el objeto de referencia al objeto principal\r\n metodoEncontrado.invoke(objBlanco,objReferencia);\r\n\r\n }\r\n else\r\n {\r\n //obtner el valor segun el tipo de dato del atributo\r\n \r\n String tipo=field.getType().getSimpleName();\r\n String nombreColumna=columna.getName();\r\n Object value=r.getObject(nombreColumna);\r\n //System.out.println(value.getClass().getTypeName());\r\n metodoEncontrado.invoke(objBlanco,value);\r\n\r\n }\r\n\r\n }\r\n //agregar el objto a la lista si no se encuentra \r\n if(!AbstractFacade.isFindLista(objBlanco))\r\n {\r\n AbstractFacade.addLista(objBlanco);\r\n }\r\n \r\n ////consultar los arrays enlazados dentro de cada objeto\r\n List areglos = objBlanco.getMapeo().getArrays();\r\n for (Lista areglo : areglos) \r\n {\r\n Class claseResultado=areglo.getClase();\r\n String tabla=areglo.getTablaBusqueda();\r\n String condicion=areglo.getKeyNameFilter();\r\n //obtener el valor de la clave principal\r\n Columna columaPk=objBlanco.getMapeo().getColumaPk();\r\n String texto=columaPk.getName();\r\n String nombreMetodo=\"get\"+Character.toUpperCase(texto.charAt(0)) + texto.substring(1,texto.length());;\r\n Method metodoGetValor=findMethod(objBlanco.getClass().getMethods(),nombreMetodo);\r\n Object valor=metodoGetValor.invoke(objBlanco);\r\n String consulta=\"SELECT * FROM \"+tabla+\" WHERE \"+condicion+\"='\"+valor.toString()+\"'\";\r\n //System.out.println(consulta);\r\n ResultSet rs=this.conexion.ejecutarConsulta(consulta);\r\n //recorrer uno por uno para obtner la variable de la columna que necesito\r\n\r\n int tamnioArray=sizeResulSet(r);\r\n Object arrayResultado=Array.newInstance(claseResultado,tamnioArray);\r\n r.beforeFirst();\r\n \r\n int indice=0;\r\n while(rs.next())\r\n {\r\n //obtengo el valor de la columna de que corresponde al objeto de la solucion\r\n Object valorRespuesta=rs.getObject(areglo.getKeyNameResult());\r\n Object objResultado;\r\n Object tempReferencia=findLista(newObjectPrimaryKey(claseResultado,valorRespuesta));\r\n if (tempReferencia != null) \r\n {\r\n objResultado = tempReferencia;\r\n } \r\n else \r\n {\r\n Object objRes = claseResultado.newInstance();\r\n Method metodoGetDao = findMethod(objRes.getClass().getMethods(), \"getDao\");\r\n Class classDao = (Class) metodoGetDao.invoke(objRes);\r\n Object objDao = classDao.newInstance();\r\n Method metodoFindPrimaryKey = findMethod(classDao.getMethods(), \"findByPrimaryKeyRecursive\");\r\n \r\n //ObjectnewObjectPrimaryKey(classDao,valorRespuesta);\r\n //encuentro un objeto del tipo respuesta para agregar a la lista de referencias\r\n Method metodoGetObjectBlanck=findMethod(classDao.getMethods(),\"getObjectBlank\");\r\n objResultado=metodoGetObjectBlanck.invoke(objDao);\r\n objResultado=newObjectPrimaryKey(objResultado.getClass(),valorRespuesta);\r\n AbstractFacade.addLista((AbstractMapeo) objResultado);\r\n objResultado = metodoFindPrimaryKey.invoke(objDao, valorRespuesta);\r\n \r\n }\r\n \r\n //Array.set(arrayResultado,indice++,claseResultado.cast(objResultado)); \r\n areglo.copyObj(objResultado);\r\n }\r\n \r\n //////////convertir de array en una lista para asignar\r\n //List listaResultado=Arrays.asList(arrayResultado);\r\n //areglo.copyList((Object[]) arrayResultado);\r\n //areglo.getKeyNameFilter();\r\n \r\n }\r\n \r\n \r\n return objBlanco;\r\n //}\r\n } catch (SQLException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (IllegalArgumentException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (SecurityException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (IllegalAccessException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (InvocationTargetException ex) {\r\n System.out.println(ex.getCause());\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (ClassNotFoundException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (InstantiationException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return null;\r\n }","title":""},{"docid":"c2f0ce6e6574fa551b22288ae89d8a05","score":"0.5304634","text":"@GetMapping(\"/obtener\")\n\tpublic List obtenerRegistros(){\n\t\n\t\treturn vigilanteService.obtenerTodosLosRegistrosDeVehiculosParqueados();\n\t}","title":""}],"string":"[\n {\n \"docid\": \"be6f9359960ab9f4e45ac6e84bc107bd\",\n \"score\": \"0.63655543\",\n \"text\": \"public void registroEmpresa(Empresa miempresa);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"075599073a37a5bf2c047dfc76aa63d2\",\n \"score\": \"0.6121079\",\n \"text\": \"public void ingresar(Object dato){\\n raiz = agregarRecursivo(raiz, dato);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"293b86752f3e1421fff34fbca4d41555\",\n \"score\": \"0.60954314\",\n \"text\": \"@Override\\r\\n\\tpublic Resultado grabarOrden(TransactionRequest> request) throws Exception {\\n\\t\\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\\r\\n\\t\\tList ordenes = request.getEntityTransaction();\\r\\n\\t\\tOrdenDto ordenDto = null;\\r\\n\\t\\tInteger idOrden;\\r\\n\\t\\tInteger idgrupodocumento;\\r\\n\\t\\tfor (int i = 0; i < ordenes.size(); i++) {\\r\\n\\t\\t\\tordenDto = ordenes.get(i);\\r\\n\\t\\t\\tif (ordenDto.getIdOrden() != null) {\\r\\n\\t\\t\\t\\t// Update\\r\\n\\t\\t\\t\\tOrden ordenEdit = ordenMapper.selectByPrimaryKeyBasic(ordenDto.getIdOrden());\\r\\n\\t\\t\\t\\tidgrupodocumento = ordenEdit.getIdgrupodocumento();\\r\\n\\t\\t\\t\\tordenEdit.setFechainicioprestacion(ordenDto.getFechaInicioPrestacion());\\r\\n\\t\\t\\t\\tordenEdit.setFechafinprestacion(ordenDto.getFechaFinPrestacion());\\r\\n\\t\\t\\t\\tordenEdit.setAnio(ordenDto.getAnio());\\r\\n\\t\\t\\t\\tordenEdit.setEstadoexpedientesiaf(ordenDto.getNroExpedienteSiaf());\\r\\n\\t\\t\\t\\tordenEdit.setEstadoorden(ordenDto.getEstadoOrden());\\r\\n\\t\\t\\t\\tordenEdit.setMoneda(ordenDto.getMoneda());\\r\\n\\t\\t\\t\\tordenEdit.setPlazoejecucion(ordenDto.getPlazo());\\r\\n\\t\\t\\t\\t// ordenEdit.setEstadoorden(estadoorden); TODO: CHECK\\r\\n\\r\\n\\t\\t\\t\\t// Audit\\r\\n\\t\\t\\t\\tordenEdit.setFechamodificacionauditoria(new Date());\\r\\n\\t\\t\\t\\tordenEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\tordenEdit.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\tordenEdit.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\tordenMapper.updateByPrimaryKey(ordenEdit);\\r\\n\\t\\t\\t\\tidOrden = ordenEdit.getIdorden();\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t// Insert grupo\\r\\n\\t\\t\\t\\t// Inserta grupo documento\\r\\n\\t\\t\\t\\tGrupodocumento grupodocumento = new Grupodocumento();\\r\\n\\t\\t\\t\\tidgrupodocumento = (int) utilsBusiness.getNextSeq(Sequence.SEQ_GRUPODOCUMENTO).longValue();\\r\\n\\t\\t\\t\\tgrupodocumento.setIdgrupodocumento(idgrupodocumento);\\r\\n\\t\\t\\t\\tgrupodocumento.setAnio(ordenDto.getAnio());\\r\\n\\t\\t\\t\\tgrupodocumento.setCodigocentrocosto(ordenDto.getCodigoCentroCosto());\\r\\n\\t\\t\\t\\tgrupodocumento.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\tgrupodocumento.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\tgrupodocumento.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\tgrupodocumento.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\tgrupodocumentoMapper.insert(grupodocumento);\\r\\n\\r\\n\\t\\t\\t\\t// Insert\\r\\n\\t\\t\\t\\tOrden ordenNew = new Orden();\\r\\n\\t\\t\\t\\tordenNew.setIdgrupodocumento(idgrupodocumento);\\r\\n\\t\\t\\t\\tordenNew.setFechainicioprestacion(ordenDto.getFechaFinPrestacion());\\r\\n\\t\\t\\t\\tordenNew.setFechafinprestacion(ordenDto.getFechaFinPrestacion());\\r\\n\\t\\t\\t\\tordenNew.setAnio(ordenDto.getAnio());\\r\\n\\t\\t\\t\\tordenNew.setEstadoexpedientesiaf(ordenDto.getNroExpedienteSiaf());\\r\\n\\t\\t\\t\\tordenNew.setEstadoorden(ordenDto.getEstadoOrden());\\r\\n\\t\\t\\t\\tordenNew.setMoneda(ordenDto.getMoneda());\\r\\n\\t\\t\\t\\tordenNew.setPlazoejecucion(ordenDto.getPlazo());\\r\\n\\t\\t\\t\\tordenNew.setIdpacconsolidado(ordenDto.getIdPacConsolidado());\\r\\n\\r\\n\\t\\t\\t\\t// Orden data\\r\\n\\t\\t\\t\\tordenNew.setNroorden(ordenDto.getNroOrden().toString()); // verificar\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// nro\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// type\\r\\n\\t\\t\\t\\tordenNew.setFechaorden(ordenDto.getFechaOrden());\\r\\n\\t\\t\\t\\tordenNew.setAnio(ordenDto.getAnio());\\r\\n\\t\\t\\t\\tordenNew.setAnioorden(ordenDto.getAnio());\\r\\n\\t\\t\\t\\tordenNew.setNroexpedientesiaf(ordenDto.getNroExpedienteSiaf().toString());\\r\\n\\t\\t\\t\\tordenNew.setMoneda(ordenDto.getMoneda());\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tdouble monto = ordenDto.getTotalFactSoles();\\r\\n\\t\\t\\t\\tBigDecimal bigmontonew = new BigDecimal(monto);\\r\\n\\t\\t\\t\\tordenNew.setMontoorden(Utils.round(bigmontonew));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tordenNew.setEstadoexpedientesiaf(ordenDto.getEstadoOrden());\\r\\n\\t\\t\\t\\tordenNew.setIdcatalogotipobien(ordenDto.getIdTipoBien());\\r\\n\\t\\t\\t\\tordenNew.setIdunidadejecutora(ordenDto.getIdUnidadEjecutora());\\r\\n\\r\\n\\t\\t\\t\\t// Audit\\r\\n\\t\\t\\t\\tordenNew.setFechacreacionauditoria(new Date());\\r\\n\\t\\t\\t\\tordenNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\tordenNew.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\tordenNew.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\tordenNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\tidOrden = (int) utilsBusiness.getNextSeq(pe.com.sisabas.resources.Sequence.SEQ_CUADROCOMPARATIVOVR)\\r\\n\\t\\t\\t\\t\\t\\t.longValue();\\r\\n\\t\\t\\t\\tordenNew.setIdorden(idOrden);\\r\\n\\t\\t\\t\\tordenMapper.insert(ordenNew);\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t// delete details\\r\\n\\t\\t\\tList entregablesDelete = entregableMapper.getEntegablesByOrden(ordenDto.getIdOrden());\\r\\n\\t\\t\\tfor (Entregable item : ordenDto.getEntegables()) {\\r\\n\\t\\t\\t\\tfor (Entregable delete : entregablesDelete) {\\r\\n\\t\\t\\t\\t\\tif (item.getIdentregable() == delete.getIdentregable()) {\\r\\n\\t\\t\\t\\t\\t\\tdelete.setEstadoauditoria(\\\"Keep\\\");\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t// Elimino aquelos no estas\\r\\n\\t\\t\\tfor (Entregable entregable : entregablesDelete) {\\r\\n\\t\\t\\t\\tif (!entregable.getEstadoauditoria().equals(\\\"Keep\\\")) {\\r\\n\\t\\t\\t\\t\\tentregableMapper.deleteByPrimaryKey(entregable.getIdentregable());\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t// save details\\r\\n\\t\\t\\tfor (int j = 0; j < ordenDto.getEntegables().size(); j++) {\\r\\n\\t\\t\\t\\tEntregable entregable = ordenDto.getEntegables().get(j);\\r\\n\\t\\t\\t\\tif (entregable.getIdentregable() != null) {\\r\\n\\t\\t\\t\\t\\t// Update\\r\\n\\t\\t\\t\\t\\tEntregable entregableEdit = entregableMapper.selectByPrimaryKeyBasic(entregable.getIdentregable());\\r\\n\\t\\t\\t\\t\\tif (entregableEdit != null) {\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setNroentregable(entregable.getNroentregable());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setPlazoentregable(entregable.getPlazoentregable());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setMontoentregable(entregable.getMontoentregable());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setMontopenalidadentregable(entregable.getMontopenalidadentregable());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setFechapresentacionentregable(entregable.getFechapresentacionentregable());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setObservacionesentregable(entregable.getObservacionesentregable());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setIdcatalogoestadoentregable(entregable.getIdcatalogoestadoentregable());\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t// Audit\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\t\\t\\tentregableEdit.setFechamodificacionauditoria(new Date());\\r\\n\\t\\t\\t\\t\\t\\tentregableMapper.updateByPrimaryKey(entregableEdit);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t// Insert\\r\\n\\t\\t\\t\\t\\tentregable.setIdorden(idOrden);\\r\\n\\t\\t\\t\\t\\tentregable.setIdgrupodocumento(idgrupodocumento);\\r\\n\\t\\t\\t\\t\\tentregable.setAnio(ordenDto.getAnio());\\r\\n\\r\\n\\t\\t\\t\\t\\t// Audit\\r\\n\\t\\t\\t\\t\\tentregable.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\t\\tentregable.setFechacreacionauditoria(new Date());\\r\\n\\t\\t\\t\\t\\tentregable.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\t\\tentregable.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\t\\tentregable.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\t\\tentregable.setIdentregable((int) utilsBusiness\\r\\n\\t\\t\\t\\t\\t\\t\\t.getNextSeq(pe.com.sisabas.resources.Sequence.SEQ_ENTREGABLE).longValue());\\r\\n\\t\\t\\t\\t\\tentregableMapper.insert(entregable);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45e161b3eca8647c735570f33288132c\",\n \"score\": \"0.60393643\",\n \"text\": \"private static void registrarAuditoriaDetallesRetencionVenta(Connexion connexion,RetencionVenta retencionventa)throws Exception {\\n\\t\\t\\r\\n\\t\\tString strValorActual=null;\\r\\n\\t\\tString strValorNuevo=null;\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getid_empresa().equals(retencionventa.getRetencionVentaOriginal().getid_empresa()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getid_empresa()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_empresa().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getid_empresa()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getid_empresa().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getid_periodo_declara().equals(retencionventa.getRetencionVentaOriginal().getid_periodo_declara()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getid_periodo_declara()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_periodo_declara().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getid_periodo_declara()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getid_periodo_declara().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDPERIODODECLARA,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getid_tipo_retencion().equals(retencionventa.getRetencionVentaOriginal().getid_tipo_retencion()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getid_tipo_retencion()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_tipo_retencion().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getid_tipo_retencion()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getid_tipo_retencion().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDTIPORETENCION,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getruc().equals(retencionventa.getRetencionVentaOriginal().getruc()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getruc()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getruc();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getruc()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getruc() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.RUC,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getnumero_retencion().equals(retencionventa.getRetencionVentaOriginal().getnumero_retencion()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getnumero_retencion()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getnumero_retencion();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getnumero_retencion()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getnumero_retencion() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.NUMERORETENCION,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getbase_imponible().equals(retencionventa.getRetencionVentaOriginal().getbase_imponible()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getbase_imponible()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getbase_imponible().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getbase_imponible()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getbase_imponible().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.BASEIMPONIBLE,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getporcentaje().equals(retencionventa.getRetencionVentaOriginal().getporcentaje()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getporcentaje()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getporcentaje().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getporcentaje()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getporcentaje().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.PORCENTAJE,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getvalor().equals(retencionventa.getRetencionVentaOriginal().getvalor()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getvalor()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getvalor().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getvalor()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getvalor().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.VALOR,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(retencionventa.getIsNew()||!retencionventa.getes_debito().equals(retencionventa.getRetencionVentaOriginal().getes_debito()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(retencionventa.getRetencionVentaOriginal().getes_debito()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=retencionventa.getRetencionVentaOriginal().getes_debito().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(retencionventa.getes_debito()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=retencionventa.getes_debito().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.ESDEBITO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f07791c373cd5d23b0e29f4b1da40134\",\n \"score\": \"0.60030895\",\n \"text\": \"public DTOReemplazoArticuloLote verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso) throws MareException {\\n UtilidadesLog.info(\\\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Entrada\\\"); \\n UtilidadesLog.debug(\\\"articuloLote: \\\" + articuloLote);\\n \\n RecordSet rs = new RecordSet();\\n StringBuffer query = new StringBuffer();\\n BelcorpService bs;\\n DTOReemplazoArticuloLote dtoReemplazoArticuloLote = null;\\n\\n try {\\n bs = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n query.append(\\\" (SELECT reemL.OID_REEM_ARTI_LOTE, reemL.CTRE_OID_CRIT_REEM, reemL.VAL_CRIT_REEM, \\\"); \\n query.append(\\\" reemL.PROD_OID_PROD, reemL.COD_VENT_FICT, reemL.NUM_UNID, reemL.IMP_PREC_PUBL, reemL.IND_COMU, \\\"); \\n query.append(\\\" prod.COD_SAP COD_SAP_REEM, i18n.VAL_I18N DESC_PROD_REEM, prod2.COD_SAP COD_SAP_ORIG, \\\"); \\n query.append(\\\" con.NUM_CONC, desp.MENS_OID_MENS_AUTO, reeml.num_orde \\\"); \\n query.append(\\\" ,nvl(reemL.COD_TIPO_AGRU,'I') COD_TIPO_AGRU \\\"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\\n query.append(\\\" FROM INC_REEMP_ARTIC_LOTE reemL, INC_REEMP_REGIO_ZONA reemRZ, \\\"); \\n query.append(\\\" MAE_PRODU prod, v_gen_i18n_sicc i18n, MAE_PRODU prod2, INC_ARTIC_LOTE artLote, \\\"); \\n query.append(\\\" INC_CONCU_PARAM_GENER con, INC_DESPA_PREMI desp \\\"); \\n query.append(\\\" WHERE reemL.ARLO_OID_ARTI_LOTE = \\\" + articuloLote.getOidArticuloLote()); \\n query.append(\\\" AND reemL.IND_ACTI = 1 \\\"); \\n query.append(\\\" AND reemL.OID_REEM_ARTI_LOTE = reemRZ.RARL_OID_REEM_ARTI_LOTE \\\");\\n query.append(\\\" AND (SELECT COUNT(1) \\\"); \\n query.append(\\\" FROM MAE_CLIEN_UNIDA_ADMIN unidAdm, ZON_TERRI_ADMIN terrAdm, ZON_SECCI secc, \\\"); \\n query.append(\\\" ZON_ZONA zon, ZON_REGIO reg \\\"); \\n query.append(\\\" WHERE unidAdm.CLIE_OID_CLIE= \\\" + clientePremiacion.getOidCliente()); \\n query.append(\\\" AND unidAdm.IND_ACTI = 1 \\\"); \\n query.append(\\\" AND unidAdm.ZTAD_OID_TERR_ADMI = terrAdm.OID_TERR_ADMI \\\"); \\n query.append(\\\" AND terrAdm.ZSCC_OID_SECC = secc.OID_SECC \\\"); \\n query.append(\\\" AND secc.ZZON_OID_ZONA = zon.OID_ZONA \\\"); \\n query.append(\\\" AND zon.ZORG_OID_REGI = reg.OID_REGI \\\"); \\n query.append(\\\" AND zon.zorg_oid_regi = NVL (reemrz.zorg_oid_regi, zon.zorg_oid_regi) \\\"); \\n query.append(\\\" AND zon.oid_zona = NVL (reemrz.zzon_oid_zona, zon.oid_zona)) >= 1 \\\"); \\n query.append(\\\" AND reemL.PROD_OID_PROD = prod.OID_PROD \\\"); \\n query.append(\\\" AND i18n.ATTR_ENTI = 'MAE_PRODU' \\\"); \\n query.append(\\\" AND i18n.ATTR_NUM_ATRI = 1 \\\"); \\n query.append(\\\" AND i18n.IDIO_OID_IDIO = \\\" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\\n query.append(\\\" AND i18n.VAL_OID = prod.OID_PROD \\\"); \\n query.append(\\\" AND reemL.ARLO_OID_ARTI_LOTE = artLote.OID_ARTI_LOTE \\\"); \\n query.append(\\\" AND artLote.PROD_OID_PROD = prod2.OID_PROD \\\"); \\n query.append(\\\" AND con.OID_PARA_GRAL = \\\" + clienteConcurso.getOidConcurso()); \\n query.append(\\\" AND desp.COPA_OID_PARA_GRAL = con.OID_PARA_GRAL \\\"); \\n query.append(\\\" AND reemL.COMP_OID_REEM_ARTI_LOTE IS NULL \\\"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\\n query.append(\\\" UNION \\\"); \\n \\n query.append(\\\" SELECT reemL.OID_REEM_ARTI_LOTE, reemL.CTRE_OID_CRIT_REEM, reemL.VAL_CRIT_REEM, \\\"); \\n query.append(\\\" reemL.PROD_OID_PROD, reemL.COD_VENT_FICT, reemL.NUM_UNID, reemL.IMP_PREC_PUBL, reemL.IND_COMU, \\\"); \\n query.append(\\\" prod.COD_SAP COD_SAP_REEM, i18n.VAL_I18N DESC_PROD_REEM, prod2.COD_SAP COD_SAP_ORIG, \\\"); \\n query.append(\\\" con.NUM_CONC, desp.MENS_OID_MENS_AUTO, reeml.num_orde \\\"); \\n query.append(\\\" ,nvl(reemL.COD_TIPO_AGRU,'I') COD_TIPO_AGRU \\\"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\\n query.append(\\\" FROM INC_REEMP_ARTIC_LOTE reemL, \\\"); \\n query.append(\\\" MAE_PRODU prod, v_gen_i18n_sicc i18n, MAE_PRODU prod2, INC_ARTIC_LOTE artLote, \\\"); \\n query.append(\\\" INC_CONCU_PARAM_GENER con, INC_DESPA_PREMI desp \\\"); \\n query.append(\\\" WHERE reemL.ARLO_OID_ARTI_LOTE = \\\" + articuloLote.getOidArticuloLote()); \\n query.append(\\\" AND reemL.IND_ACTI = 1 \\\"); \\n query.append(\\\" AND NOT EXISTS (SELECT 1 \\\"); \\n query.append(\\\" FROM inc_reemp_regio_zona reemrz \\\"); \\n query.append(\\\" where reemrz.RARL_OID_REEM_ARTI_LOTE = reeml.OID_REEM_ARTI_LOTE) \\\"); \\n query.append(\\\" AND reemL.PROD_OID_PROD = prod.OID_PROD \\\"); \\n query.append(\\\" AND i18n.ATTR_ENTI = 'MAE_PRODU' \\\"); \\n query.append(\\\" AND i18n.ATTR_NUM_ATRI = 1 \\\"); \\n query.append(\\\" AND i18n.IDIO_OID_IDIO = \\\" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\\n query.append(\\\" AND i18n.VAL_OID = prod.OID_PROD \\\"); \\n query.append(\\\" AND reemL.ARLO_OID_ARTI_LOTE = artLote.OID_ARTI_LOTE \\\"); \\n query.append(\\\" AND artLote.PROD_OID_PROD = prod2.OID_PROD \\\"); \\n query.append(\\\" AND con.OID_PARA_GRAL = \\\" + clienteConcurso.getOidConcurso()); \\n \\n // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\\n query.append(\\\" AND reemL.COMP_OID_REEM_ARTI_LOTE IS NULL \\\"); \\n \\n query.append(\\\" AND desp.COPA_OID_PARA_GRAL = con.OID_PARA_GRAL) \\\"); \\n query.append(\\\" ORDER BY NUM_ORDE \\\"); \\n \\n try {\\n rs = bs.dbService.executeStaticQuery(query.toString());\\n } catch (Exception ex) {\\n UtilidadesLog.error(\\\"ERROR \\\", ex);\\n throw new MareException(ex, UtilidadesError.armarCodigoError(CodigosError.ERROR_DE_ACCESO_A_BASE_DE_DATOS));\\n }\\n \\n UtilidadesLog.debug(\\\"rs: \\\" + rs);\\n \\n if(rs.esVacio()){\\n UtilidadesLog.info(\\\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\\\"); \\n return dtoReemplazoArticuloLote;\\n \\n } else {\\n \\n int cant = rs.getRowCount();\\n Boolean reemplazoValido = Boolean.FALSE;\\n \\n for(int i=0; i< cant; i++){\\n \\n \\n reemplazoValido = this.reemplazoValido(Long.valueOf(((BigDecimal)rs.getValueAt(i, \\\"CTRE_OID_CRIT_REEM\\\")).toString()),\\n articuloLote.getOidCodigoProducto(),\\n Long.valueOf(((BigDecimal)rs.getValueAt(i, \\\"PROD_OID_PROD\\\")).toString()),\\n ((rs.getValueAt(i, \\\"VAL_CRIT_REEM\\\")!=null)?(Integer.valueOf(((BigDecimal)rs.getValueAt(i, \\\"VAL_CRIT_REEM\\\")).toString())):null),\\n clientePremiacion.getOidPais());\\n \\n \\n if(reemplazoValido.booleanValue()){ \\n \\n if(((BigDecimal)rs.getValueAt(i, \\\"IND_COMU\\\")).intValue()== 1 && ((BigDecimal)rs.getValueAt(i, \\\"MENS_OID_MENS_AUTO\\\")!= null)){\\n this.actualizarBuzonMensajeDespacho(clientePremiacion.getOidCliente(),\\n Long.valueOf(((BigDecimal)rs.getValueAt(i, \\\"MENS_OID_MENS_AUTO\\\")).toString()),\\n (String)rs.getValueAt(i, \\\"NUM_CONC\\\"),\\n (String)rs.getValueAt(i, \\\"COD_SAP_ORIG\\\"),\\n (String)rs.getValueAt(i, \\\"COD_SAP_REEM\\\"),\\n (String)rs.getValueAt(i, \\\"DESC_PROD_REEM\\\"),\\n (String)rs.getValueAt(i, \\\"COD_VENT_FICT\\\"));\\n }\\n \\n dtoReemplazoArticuloLote = new DTOReemplazoArticuloLote();\\n dtoReemplazoArticuloLote.setProdOidProd(Long.valueOf(((BigDecimal)rs.getValueAt(i, \\\"PROD_OID_PROD\\\")).toString()));\\n dtoReemplazoArticuloLote.setCodVentFict((String)rs.getValueAt(i, \\\"COD_VENT_FICT\\\"));\\n dtoReemplazoArticuloLote.setNumUnid(Long.valueOf(((BigDecimal)rs.getValueAt(i, \\\"NUM_UNID\\\")).toString()));\\n dtoReemplazoArticuloLote.setImpPrecPubi((BigDecimal)rs.getValueAt(i, \\\"IMP_PREC_PUBL\\\"));\\n \\n // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\\n dtoReemplazoArticuloLote.setOidReemArtiLote(Long.valueOf(((BigDecimal)rs.getValueAt(i, \\\"OID_REEM_ARTI_LOTE\\\")).toString()));\\n dtoReemplazoArticuloLote.setTipoAgrupacion((String)rs.getValueAt(i, \\\"COD_TIPO_AGRU\\\"));\\n \\n UtilidadesLog.info(\\\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\\\"); \\n return dtoReemplazoArticuloLote;\\n \\n }\\n } \\n }\\n \\n UtilidadesLog.info(\\\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\\\"); \\n return null;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf7d283643841b82942ff1275a4f4c57\",\n \"score\": \"0.6002746\",\n \"text\": \"public void gravarRemocaoCliente(String registro){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae6a0c9a095723964c70e1b44a2998fc\",\n \"score\": \"0.60013294\",\n \"text\": \"@Override\\n @Transactional\\n public Reservation getResaById(Integer resaId) throws FunctionalException, NotFoundException{\\n if (resaId<=0) throw new FunctionalException(\\\"les données sont incorrectes\\\");\\n else{\\n resaReturn = resaDao.findById(resaId);\\n if (resaReturn==null) throw new NotFoundException(\\\"réservation non trouvée\\\");\\n else{\\n return resaReturn;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d303be5e5544b45417dce06869cdd480\",\n \"score\": \"0.5989093\",\n \"text\": \"private void proceseazaRezultate() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8541900e415ff6137d9ef72e69d157b8\",\n \"score\": \"0.5969671\",\n \"text\": \"public default Ropa create(Ropa ropa) throws Exception{\\n\\t\\t\\n\\t\\tif( ropa.getId()<0){\\n\\t\\t\\t\\n\\t\\t\\tSystem.out.println(\\\"falta id\\\");\\n\\t\\t\\treturn ropa;\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t\\tlistados.add(ropa);\\n\\t\\t\\treturn ropa;\\n}\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1b13e118b3265abfae570d703b5f328\",\n \"score\": \"0.5964795\",\n \"text\": \"private void registrarVenta(Usuario usuario, ArrayList inventario) {\\n Mueble mueble;\\n for (int i = 0; i < inventario.size(); i++)\\n {\\n mueble = inventario.get(i);\\n Mueble editar=(Mueble) persistencia.findById(Mueble.class, mueble.getReferencia());\\n editar.setCantidad(editar.getCantidad() - mueble.getCantidad());\\n RegistroVenta compra = new RegistroVenta(new Date(System.currentTimeMillis()), \\n mueble, mueble.getCantidad(), null, usuario);\\n usuario.agregarRegistro(compra);\\n\\n persistencia.update(usuario);\\n persistencia.update(editar);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c5fdee118bb7eb77443ba0a4c9f4580\",\n \"score\": \"0.5862272\",\n \"text\": \"public RestauranteEntity addRestaurante (String nombre, String nit) {\\n LOGGER.log(Level.INFO, \\\"Inicia proceso de asociar un autor al evento con nombre = {0}\\\", nombre);\\n EventoEntity eventoEntity = getEvento(nombre);\\n RestauranteEntity restauranteEntity = new RestauranteEntity();\\n restauranteEntity.setNit(nit);\\n eventoEntity.getRestaurantes().add(restauranteEntity);\\n return getRestaurante(nombre, nit);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8fee32c78fca07838b2602a3ce6d8f1\",\n \"score\": \"0.58505505\",\n \"text\": \"private void insertarRerAdjunto(Long idDocumento){\\r\\n\\t\\t\\tReferenciaAdjuntos referenciaAdjuntos= new ReferenciaAdjuntos();\\r\\n\\t\\t\\treferenciaAdjuntos.setPersona(persona);\\r\\n\\t\\t\\treferenciaAdjuntos.setDocumentos(em.find(Documentos.class, idDocumento));\\r\\n\\t\\t\\t//referenciaAdjuntos.setIdRegistroTabla(empleadoPuesto.getIdEmpleadoPuesto());\\r\\n\\t\\t\\treferenciaAdjuntos.setIdRegistroTabla(solicitudTrasladoCab.getIdSolicitudTrasladoCab());\\r\\n\\t\\t\\treferenciaAdjuntos.setUsuAlta(usuarioLogueado.getCodigoUsuario());\\r\\n\\t\\t\\treferenciaAdjuntos.setFechaAlta(new Date());\\r\\n\\t\\t\\tif(actividadProcesoRespuesta() != null){\\r\\n\\t\\t\\t\\treferenciaAdjuntos.setActividadProceso(actividadProcesoRespuesta());\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tem.persist(referenciaAdjuntos);\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4932b8b470bd3b5a0c18bc7709145ec\",\n \"score\": \"0.5842644\",\n \"text\": \"public void registroCentro(Centro micentro, Empresa miempresa);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a72e2c1e01285bcac6c9dab5a8bcf093\",\n \"score\": \"0.57924086\",\n \"text\": \"public Cliente RellenarAnamnesis (Cliente cli)\\n\\t\\t{\\n\\t\\t\\tCliente auxcli=new Cliente();\\n\\t\\t\\tc=new Conexion();\\n\\t\\t\\tString query=\\\"select * from tcliente where oid_cliente = '\\\"+cli.getOid()+\\\"'\\\";\\n\\t\\t\\t\\t\\t\\n\\t\\t\\ttry {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tResultSet rs=c.getstm().executeQuery(query);\\n\\t\\t\\t\\twhile (rs.next())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tauxcli.setOid(rs.getInt(1));\\n\\t\\t\\t\\t\\tauxcli.setNombre(rs.getString(2));\\n\\t\\t\\t\\t\\tauxcli.setApellido1(rs.getString(3));\\n\\t\\t\\t\\t\\tauxcli.setApellido2(rs.getString(4));\\n\\t\\t\\t\\t\\tauxcli.setEdad(rs.getString(5));\\n\\t\\t\\t\\t\\tauxcli.setTelefono(rs.getString(6));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t// TODO: handle exception\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tSystem.err.println(\\\"error en buscar Consultadal.RellenarConsulta \\\"+ e.getLocalizedMessage() );\\n\\t\\t\\t}\\n\\t\\t\\tfinally {\\n\\t\\t\\t\\tc.cerrarConexion();\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\treturn auxcli;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf347b52cc58ccc1ace866d88011c604\",\n \"score\": \"0.5785463\",\n \"text\": \"public RegistroCliente(){\\n setSubOrden(\\\"Cliente (nombre_cliente, nit, telefono_cliente, credito)\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27116730c8eb07b9c181128cfbf4637c\",\n \"score\": \"0.57753515\",\n \"text\": \"@Override\\n\\tpublic int Registrar_Detalle_Venta(Detalle_VentaDTO obj) {\\n\\t\\tint rs=-1;\\n\\t\\tConnection con=null;\\n\\t\\tPreparedStatement pst=null;\\n\\t\\ttry {\\n\\t\\t\\tcon=new MySqlDbConexion().getConexion();\\n\\t\\t\\tString sql=\\\"insert into DETALLE_VENTA values (null,?,?,?,?,?)\\\";\\n\\t\\t\\tpst=con.prepareStatement(sql);\\n\\t\\t\\t\\n\\t\\t\\tpst.setInt(1,obj.getCodigo_venta());\\n\\t\\t\\tpst.setInt(2,obj.getCodigo_producto());\\n\\t\\t\\tpst.setDouble(3,obj.getPrecio_venta());\\n\\t\\t\\tpst.setInt(4,obj.getCantidad());\\n\\t\\t\\tpst.setInt(5,obj.getDescuento());\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t \\n\\t\\t rs=pst.executeUpdate();\\n\\t\\t \\t\\t\\n\\t\\t}\\n\\t\\tcatch(Exception e) {\\n\\t\\t\\tSystem.out.println(\\\"Error en la Sentencia\\\"+e.getMessage());\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\tfinally {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tif(pst!=null) pst.close();\\n\\t\\t\\t\\tif(con!=null) con.close();\\n\\t\\t\\t}\\n\\t\\t\\tcatch (SQLException e) {\\n\\t\\t\\t\\tSystem.out.println(\\\"Error al cerrar\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn rs;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a94b5d220523b7fe6e60af1d25e7e6e9\",\n \"score\": \"0.5738567\",\n \"text\": \"public void associarArbitro(int idEncontro, int numFederativo) throws ApplicationException {\\n\\t\\tEntityManager em = emf.createEntityManager();\\n\\t\\tCatalogoArbitros catalogoArbitros = new CatalogoArbitros(em);\\n\\t\\tCatalogoEncontros catalogoEncontros = new CatalogoEncontros(em);\\n\\t\\tboolean check = true;\\n\\t\\ttry {\\n\\t\\t\\tem.getTransaction().begin();\\n\\t\\t\\tEncontro e = catalogoEncontros.getEncontro(idEncontro); //Encontro com o id\\n\\t\\t\\tArbitro a = catalogoArbitros.getArbitro(numFederativo); //Arbitro com o numFederativo\\n\\t\\t\\tDate dataEncontro = e.getData();\\n\\t\\t\\tList listaEncontrosArbitro = a.getCalendarioEncontros(); //Encontros do arbitro\\n\\t\\t\\tString tipo = e.getTipo(); //Tipo da prova\\n\\t\\t\\twhile (check == true) {\\n\\t\\t\\t\\tfor (Encontro encontro : listaEncontrosArbitro) {\\n\\t\\t\\t\\t\\t//Se a prova for do tipo campeonato\\n\\t\\t\\t\\t\\tif (tipo.equals(\\\"campeonato\\\")) {\\n\\t\\t\\t\\t\\t\\tList listaParticipantes = e.getParticipantes();\\n\\t\\t\\t\\t\\t\\tParticipante p1 = listaParticipantes.get(0);\\n\\t\\t\\t\\t\\t\\tParticipante p2 = listaParticipantes.get(listaParticipantes.size() - 1);\\n\\t\\t\\t\\t\\t\\tList listaAux = encontro.getParticipantes();\\n\\t\\t\\t\\t\\t\\t//Se o arbitro ja arbitrar outro jogo com os mesmos participantes\\n\\t\\t\\t\\t\\t\\tif (listaAux.contains(p1) && listaAux.contains(p2)) {\\n\\t\\t\\t\\t\\t\\t\\tcheck = false;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t//Se o arbitro ja tiver outro encontro na mesma data ou arbitrar outro jogo na mesma fase\\n\\t\\t\\t\\t\\tif (encontro.getData().equals(dataEncontro) || encontro.getFase().equals(e.getFase())) {\\n\\t\\t\\t\\t\\t\\tcheck = false;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcheck = false;\\n\\t\\t\\t}\\n\\t\\t\\tif (!check) {\\n\\t\\t\\t\\tthrow new Exception(\\\" \\\");\\n\\t\\t\\t}\\n\\t\\t\\te.addArbitro(a);\\n\\t\\t\\ta.addEncontro(e);\\n\\t\\t\\tem.getTransaction().commit();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tif (em.getTransaction().isActive())\\n\\t\\t\\t\\tem.getTransaction().rollback();\\n\\t\\t\\tthrow new ApplicationException(\\\"Erro a associar o arbitro\\\", e);\\n\\t\\t} finally {\\n\\t\\t\\tem.close();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48b4fe516a2e03cee4e6c904e3e3bc2a\",\n \"score\": \"0.57249063\",\n \"text\": \"@Override\\r\\n\\tpublic Resultado observarDocumentoTecnico(TransactionRequest request)\\r\\n\\t\\t\\tthrows Exception {\\n\\t\\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\\r\\n\\t\\tDate dateUpdate = new Date();\\r\\n\\t\\tEvaluacionDocumentoResponse item = request.getEntityTransaction();\\r\\n\\r\\n\\t\\t// PAO - PROGRAMADO\\r\\n\\t\\t/*\\r\\n\\t\\t * if (item.getIdpedido() == null && item.getIdPacProgramado() != null)\\r\\n\\t\\t * { Pacprogramado programado =\\r\\n\\t\\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.\\r\\n\\t\\t * getIddocumentotecnico()); // programado.setGentablaIdcatalogoestado(\\r\\n\\t\\t * OBSERVADO_POR_DOCUMENTO_TECNICO);\\r\\n\\t\\t * programado.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\t * programado.setUsuariomodificacionauditoria(request.\\r\\n\\t\\t * getUsuarioAuditoria());\\r\\n\\t\\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t * \\r\\n\\t\\t * pacprogramadoMapper.updateByPrimaryKey(programado);\\r\\n\\t\\t * \\r\\n\\t\\t * } else if (item.getIdpedido() != null && item.getIdPacProgramado() ==\\r\\n\\t\\t * null) { // PEDIDO - NO PROGRAMADO Pedido pedido =\\r\\n\\t\\t * pedidoMapper.selectByPrimaryKeyBasic(item.getIddocumentotecnico());\\r\\n\\t\\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\\r\\n\\t\\t * OBSERVADO_POR_DOCUMENTO_TECNICO);\\r\\n\\t\\t * pedido.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\\r\\n\\t\\t * ; pedidoMapper.updateByPrimaryKey(pedido); }\\r\\n\\t\\t */\\r\\n\\t\\t// SE UTILIZA LA MISMA TABLA PARA PROGRAMADOS Y NO PROGRAMDOS, tabla de\\r\\n\\t\\t// pedido\\r\\n\\t\\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\\r\\n\\t\\tpedido.setEstadopedido(Constantes.estadosPorEtapa.OBSERVADO_POR_DOCUMENTO_TECNICO);\\r\\n\\t\\tpedido.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\tpedidoMapper.updateByPrimaryKey(pedido);\\r\\n\\r\\n\\t\\t// Insertamos históricos de estados\\r\\n\\t\\tEstadosportipodocumento param = new Estadosportipodocumento();\\r\\n\\t\\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\\r\\n\\t\\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.OBSERVADO_POR_DOCUMENTO_TECNICO);\\r\\n\\t\\t// Estadosportipodocumento estados =\\r\\n\\t\\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\\r\\n\\t\\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\\r\\n\\t\\tif (estado != null) {\\r\\n\\t\\t\\tjava.util.Date date = new java.util.Date();\\r\\n\\t\\t\\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\\r\\n\\t\\t\\trecord.setNrodocumento(item.getIdpedido());\\r\\n\\t\\t\\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\\r\\n\\t\\t\\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\\r\\n\\t\\t\\trecord.setFechaingreso(date);\\r\\n\\t\\t\\trecord.setFechacreacionauditoria(date);\\r\\n\\t\\t\\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\trecord.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\r\\n\\t\\t\\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\trecord.setIdestadosporetapapordocumento(\\r\\n\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\testadosporetapapordocumentoMapper.insert(record);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tfor (ObservacionDocumentoTecnicoDto obs : item.getObservaciones()) {\\r\\n\\t\\t\\tObservacionesdocumentotecnico obsNew = new Observacionesdocumentotecnico();\\r\\n\\t\\t\\tobsNew.setIdobservacionesdocumentotecnico(\\r\\n\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_OBSERVACIONESDOCUMENTOTECNICO).longValue());\\r\\n\\t\\t\\tobsNew.setIddocumentotecnico(item.getIddocumentotecnico());\\r\\n\\t\\t\\tobsNew.setIdseccionesdocumentotecnico(obs.getIdseccionesdocumentotecnico());\\r\\n\\t\\t\\tobsNew.setObservacion(obs.getObservacion());\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//AUDIT\\r\\n\\t\\t\\tobsNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\tobsNew.setFechamodificacionauditoria(new Date());\\r\\n\\t\\t\\tobsNew.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\tobsNew.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\tobsNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\tobservacionesdocumentotecnicoMapper.insert(obsNew);\\r\\n\\t\\t\\t\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c818565a9a7a37b78fd6244e9c8f9ed\",\n \"score\": \"0.56989086\",\n \"text\": \"public PoaActividadResponsableDTO leerRegistro() {\\n/* */ try {\\n/* 79 */ PoaActividadResponsableDTO reg = new PoaActividadResponsableDTO();\\n/* */ \\n/* 81 */ reg.setIdActividad(this.rs.getInt(\\\"id_actividad\\\"));\\n/* 82 */ reg.setIdUsuario(this.rs.getInt(\\\"id_usuario\\\"));\\n/* 83 */ reg.setCodigoPoa(this.rs.getInt(\\\"codigo_poa\\\"));\\n/* 84 */ reg.setEstado(this.rs.getString(\\\"estado\\\"));\\n/* 85 */ reg.setFechaInsercion(this.rs.getString(\\\"fecha_insercion\\\"));\\n/* 86 */ reg.setUsuarioInsercion(this.rs.getString(\\\"usuario_insercion\\\"));\\n/* 87 */ reg.setFechaModificacion(this.rs.getString(\\\"fecha_modificacion\\\"));\\n/* 88 */ reg.setUsuarioModificacion(this.rs.getString(\\\"usuario_modificacion\\\"));\\n/* 89 */ return reg;\\n/* */ }\\n/* 91 */ catch (Exception e) {\\n/* 92 */ e.printStackTrace();\\n/* 93 */ Utilidades.writeError(\\\"PoaActividadResponsableDAO:leerRegistro \\\", e);\\n/* */ \\n/* 95 */ return null;\\n/* */ } \\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cca8d9285d3d46f0a7d49549b46267d9\",\n \"score\": \"0.5676352\",\n \"text\": \"@Override\\n public void run(String... args) throws Exception {\\n Noeud noeud = noeudRepository.findByIdNoeud(\\\"a7d09761-030f-418d-a657-a9af67eecd49\\\");\\n\\n arbreService.nextArbre(noeud);\\n arbreService.positionInTree(2);\\n /*Adherent adherent = new Adherent();\\n adherent.setCompte(\\\"aa3d3ac9-f153-47fb-ade7-34d66ded0058\\\");\\n adherent.setPrenom(\\\"Sandrine\\\");\\n adherent.setNom(\\\"HAGBE\\\");\\n\\n\\n Noeud noeud = new Noeud();\\n noeud.setActif(true);\\n noeud.setFull(false);\\n noeud.setAdherent(adherentRepository.save(adherent));\\n noeud.setPere(null);\\n noeud.setArbre(arbreRepository.findByNiveau(1));\\n noeudRepository.save(noeud);*/\\n\\n // System.out.println(noeudRepository.findByAdherentAndActifIsTrue(adherentRepository.findByCompte(\\\"bf6c8b5a-954c-4942-829b-bb830ceeaefa\\\")));\\n\\n\\n //System.out.println(noeudRepository.findByAdherent_CompteAndActifIsTrue(a.getCompte()));\\n\\n\\n /* Noeud noeud = new Noeud();\\n noeud.setPere(null);\\n noeud.setAdherent(adherentRepository.findAll().get(0));\\n noeud.setArbre(arbreRepository.findByNiveau(1));\\n noeudRepository.save(noeud);\\n*/\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5f480206f6ee63e89aabd024c2f351\",\n \"score\": \"0.5656017\",\n \"text\": \"@Override\\r\\n\\tpublic Resultado recibirDocumentoTecnico(EvaluacionDocumentoResponse item, TransactionRequest request)\\r\\n\\t\\t\\tthrows Exception {\\n\\t\\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\\r\\n\\t\\tDate dateUpdate = new Date();\\r\\n\\r\\n\\t\\tInteger idDocumento;\\r\\n\\t\\t/*\\r\\n\\t\\t * if\\r\\n\\t\\t * (item.getIdcatalogotiponecesidad().equals(Constantes.tipoNecesidad.\\r\\n\\t\\t * TIPO_NECESIDAD_PROGRAMADO)) { Pacprogramado programado =\\r\\n\\t\\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.getIdPacProgramado()\\r\\n\\t\\t * ); programado.setEstado(Constantes.estadosPorEtapa.\\r\\n\\t\\t * EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\t * programado.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\t * programado.setUsuariomodificacionauditoria(request.\\r\\n\\t\\t * getUsuarioAuditoria());\\r\\n\\t\\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t * \\r\\n\\t\\t * idDocumento = item.getIdPacProgramado();\\r\\n\\t\\t * pacprogramadoMapper.updateByPrimaryKey(programado); } else { Pedido\\r\\n\\t\\t * pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\\r\\n\\t\\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\\r\\n\\t\\t * EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\t * pedido.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\\r\\n\\t\\t * ;\\r\\n\\t\\t * \\r\\n\\t\\t * idDocumento = pedido.getIdpedido();\\r\\n\\t\\t * pedidoMapper.updateByPrimaryKey(pedido); }\\r\\n\\t\\t */\\r\\n\\r\\n\\t\\t// PARA PROGRAMADOS Y NO PROGRAMADOS, se utiliza la misma tabla de\\r\\n\\t\\t// pedidos\\r\\n\\t\\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\\r\\n\\t\\tpedido.setEstadopedido(Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\tpedido.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\r\\n\\t\\tidDocumento = pedido.getIdpedido();\\r\\n\\t\\tpedidoMapper.updateByPrimaryKey(pedido);\\r\\n\\r\\n\\t\\t// Insertamos históricos de estados\\r\\n\\t\\tEstadosportipodocumento param = new Estadosportipodocumento();\\r\\n\\t\\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\\r\\n\\t\\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\t// Estadosportipodocumento estados =\\r\\n\\t\\t// @.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\\r\\n\\t\\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\\r\\n\\t\\tif (estado != null) {\\r\\n\\t\\t\\tjava.util.Date date = new java.util.Date();\\r\\n\\t\\t\\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\\r\\n\\t\\t\\trecord.setNrodocumento(idDocumento); // item.getIdpedido()\\r\\n\\t\\t\\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\\r\\n\\t\\t\\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\\r\\n\\t\\t\\trecord.setFechaingreso(date);\\r\\n\\t\\t\\trecord.setFechacreacionauditoria(date);\\r\\n\\t\\t\\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\trecord.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\r\\n\\t\\t\\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\trecord.setIdestadosporetapapordocumento(\\r\\n\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\testadosporetapapordocumentoMapper.insert(record);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c810acfc7841c3e872f38313718bd34d\",\n \"score\": \"0.5639594\",\n \"text\": \"@Transactional()\\r\\n @Override\\r\\n public void modificarReto(Retos r){\\n em.persist(r);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6f8af2e955b01c49e69311b53fdbba4\",\n \"score\": \"0.56347466\",\n \"text\": \"public int AltaConsulta()\\n\\t\\t{\\n\\t\\t\\t// 1º oid_consulta , 2º oid_cliente , 3º oid_anamnesis , 4º oid_exploracion , 5º oid_tratamiento \\n\\t\\t\\t// 6º fecha , 7º motivo\\n\\t\\t\\t \\n\\t\\t\\tint insercion = 0;\\n\\t\\t\\tc=new Conexion();\\n\\t\\t\\tString query=\\\"insert into vipr_tconsulta values (?,?,?,?,?,?,?)\\\";\\n\\t\\t\\tGregorianCalendar g=new GregorianCalendar();\\n\\t\\t\\tDate d1=new Date();\\n\\t\\t\\tSystem.out.print(\\\"Alta de consulta : en la fecha \\\");\\n\\t\\t\\tSystem.out.println(d1);\\n\\t\\t\\tString newdate=new SimpleDateFormat(\\\"yyyy-MM-dd\\\").format(d1);\\n\\t\\t\\tSystem.out.println(\\\"Fecha con formato \\\"+newdate);\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tPreparedStatement psResulset = c.getConexion().prepareStatement(query);\\n\\t\\t\\t\\tpsResulset.setInt(1,0); // Este campo es autoincremental en la bd\\n\\t\\t\\t\\tpsResulset.setInt(2, consul.getOid_cliente());\\n\\t\\t\\t\\tpsResulset.setInt(3,consul.getOid_anamnesis());\\n\\t\\t\\t\\tpsResulset.setInt(4,consul.getOid_exploración());\\n\\t\\t\\t\\tpsResulset.setInt(5,consul.getOid_tratamiento());\\t\\t\\t\\t\\n\\t\\t\\t\\tpsResulset.setString(6,newdate); // fecha\\n\\t\\t\\t\\tpsResulset.setString(7,consul.getMotivo());\\n\\t\\t\\t\\tinsercion=psResulset.executeUpdate();\\n\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t} catch (SQLException e) {\\n\\t\\t\\t\\t// TODO: handle exception\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tSystem.err.println(\\\"error en buscar ExploracionDAL.AltaExploracion al realizar el insert\\\" + e);\\n\\t\\t\\t}\\n\\t\\t\\tfinally {\\n\\t\\t\\t\\tc.cerrarConexion();\\n\\t\\t\\t}\\n\\t\\t\\treturn insercion;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82012a16b20bd1be27bb2a71951c2bb2\",\n \"score\": \"0.56147647\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n\\tpublic short registro (String idioma, String idUsuario, String correo, String clave) throws PersistenciaException {\\n\\t\\tUtilValidacionParametros.validarIdIdioma(idioma);\\n\\t\\tUtilValidacionParametros.validarIdUsuario(idUsuario);\\n\\t\\tUtilValidacionParametros.validarCorreo(correo);\\n\\t\\tUtilValidacionParametros.validarClave(clave);\\t\\t\\n\\t\\tSession session = sessions.openSession();\\n\\t\\tTransaction tx = null;\\t\\t\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tString alias = idUsuario;\\n\\t\\t\\tidUsuario = idUsuario.toLowerCase(LOCALE);\\n\\t\\t\\tcorreo = correo.toLowerCase(LOCALE);\\n\\t\\t\\ttx = session.beginTransaction();\\t\\t\\t\\n\\t\\t\\tUsuario u = (Usuario) session.get(Usuario.class, idUsuario);\\n\\t\\t\\t\\n\\t\\t\\tif (u != null)\\n\\t\\t\\t\\treturn REGISTRO_USUARIO_EXISTENTE;\\n\\t\\t\\telse {\\t\\t\\t\\n\\t\\t\\t\\tQuery selUsuario = session.createQuery(\\\"FROM Usuario WHERE correo = :mail\\\");\\n\\t\\t\\t\\tselUsuario.setString(\\\"mail\\\", correo);\\t\\t\\t\\t\\n\\t\\t\\t\\tList l = selUsuario.list();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (!l.isEmpty())\\n\\t\\t\\t\\t\\treturn REGISTRO_CORREO_EXISTENTE;\\n\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t/** Idioma */\\n\\t\\t\\t\\t\\tIdioma lang = (Idioma) session.get(Idioma.class, idioma);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (lang == null) {\\n\\t\\t\\t\\t\\t\\tQuery selIdioma = session.createQuery(\\\"FROM \\\" + Idioma.class.getName());\\n\\t\\t\\t\\t\\t\\tList li = selIdioma.list();\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tif (li.isEmpty())\\n\\t\\t\\t\\t\\t\\t\\tthrow new PersistenciaException(\\\"No se han definido idiomas\\\");\\n\\t\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\t\\tlang = li.get(0);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t/** Primer nivel de la ruta por defecto */\\n\\t\\t\\t\\t\\tQuery selRuta = session.createQuery(\\\"FROM \\\" + Ruta.class.getName() + \\\" WHERE id.id = :idRuta ORDER BY nivel\\\");\\n\\t\\t\\t\\t\\tselRuta.setShort(\\\"idRuta\\\", ConfiguracionLoadHelper.getInstancia().getIdRutaXDefecto());\\n\\t\\t\\t\\t\\tList niveles = selRuta.list();\\n\\t\\t\\t\\t\\tRuta ruta = null;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (niveles.isEmpty()) {\\n\\t\\t\\t\\t\\t\\tQuery selRutas = session.createQuery(\\\"FROM \\\" + Ruta.class.getName() + \\\" ORDER BY nivel\\\");\\n\\t\\t\\t\\t\\t\\tniveles = selRutas.list();\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tif (niveles.isEmpty())\\n\\t\\t\\t\\t\\t\\t\\tthrow new PersistenciaException(\\\"No se ha definido ni una sola ruta\\\");\\n\\t\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\t\\truta = niveles.get(0); \\n\\t\\t\\t\\t\\t} else\\n\\t\\t\\t\\t\\t\\truta = niveles.get(0);\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tu = new Usuario();\\n\\t\\t\\t\\t\\tu.setAlias(alias);\\n\\t\\t\\t\\t\\tu.setClave(UtilSeguridad.getClaveEncriptada(idUsuario, clave));\\n\\t\\t\\t\\t\\tu.setCorreo(correo);\\n\\t\\t\\t\\t\\tu.setEstado(\\\"\\\");\\n\\t\\t\\t\\t\\tu.setId(idUsuario);\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tu.setIdioma(lang);\\n\\t\\t\\t\\t\\tu.setLogeado(false);\\n\\t\\t\\t\\t\\tu.setRutaNivel(ruta);\\n\\t\\t\\t\\t\\tsession.save(u);\\n\\t\\t\\t\\t\\ttx.commit();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\treturn REGISTRO_OK;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} catch (ConfiguracionException e) {\\n\\t\\t\\tUtilHibernate.rollback(tx);\\n\\t\\t\\tthrow new PersistenciaException(\\\"Error en el logout del usuario\\\", e);\\n\\t\\t} finally {\\n\\t\\t\\tUtilHibernate.closeSession(session);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6dade683e2ea6f5e0475fa1d19489fcd\",\n \"score\": \"0.56146723\",\n \"text\": \"private void addRechnung(Auftrag au)\\r\\n {\\r\\n Rechnung re = new Rechnung();\\r\\n if (au == null)\\r\\n {\\r\\n Kunde kd = selectKunde();\\r\\n if (kd != null)\\r\\n {\\r\\n au = selectAuftrag(kd);\\r\\n }\\r\\n }\\r\\n\\r\\n if (au.getAbgerechnetBis() == au.getEnd())\\r\\n {\\r\\n Message(\\\"Der Auftrag ist bereits vollständig abgerechnet !\\\");\\r\\n return;\\r\\n }\\r\\n if (au != null)\\r\\n {\\r\\n try\\r\\n {\\r\\n // set rechnung base data\\r\\n re.setRechnungNr(rechnungen.getIndex() + 1);\\r\\n re.setAuftragNr(au.getAuftragNr());\\r\\n re.setDozentId(dozenten.get(currDozent).getId());\\r\\n\\r\\n // set rechnung start date\\r\\n if (au.getAbgerechnetBis().isEqual(au.getStart()))\\r\\n {\\r\\n re.setVon_Datum(Date.valueOf(au.getStart()));\\r\\n }\\r\\n else\\r\\n {\\r\\n re.setVon_Datum(Date.valueOf(au.getAbgerechnetBis().plusDays(1)));\\r\\n }\\r\\n\\r\\n // set rechnung end date\\r\\n if (au.getEnd().isAfter(LocalDate.now()))\\r\\n {\\r\\n re.setBis_Datum(Date.valueOf(LocalDate.now())); // it is not allowed to create invoice the future\\r\\n }\\r\\n else\\r\\n {\\r\\n re.setBis_Datum(Date.valueOf(au.getEnd()));\\r\\n }\\r\\n\\r\\n // set teilrechnung flag\\r\\n if (re.getVon_Datum().isEqual(au.getStart()) || re.getBis_Datum().isEqual(au.getEnd()))\\r\\n {\\r\\n re.setTeilRechnung(false);\\r\\n }\\r\\n else\\r\\n {\\r\\n re.setTeilRechnung(true);\\r\\n }\\r\\n\\r\\n // set einheiten\\r\\n if (!re.getKorrigiert() || re.getEinheiten() == 0)\\r\\n {\\r\\n re.setEinheiten(countWorkDays(re.getVon_Datum(), re.getBis_Datum()) * 9);\\r\\n }\\r\\n\\r\\n // calculate rechnung summe\\r\\n re.setSumme(String.valueOf(Double.parseDouble(au.getHonorar().replace(\\\",\\\", \\\".\\\")) * re.getEinheiten()));\\r\\n\\r\\n // create dialog\\r\\n Dialog dlg = new Dialog<>();\\r\\n FXMLLoader dlgLoader = new FXMLLoader(DozentenFaktura.class\\r\\n .getResource(\\\"gui/DialogRechnung.fxml\\\"));\\r\\n DialogPane pane = (DialogPane) dlgLoader.load();\\r\\n dlg.setDialogPane(pane);\\r\\n DialogRechnungController dlgHandle = (DialogRechnungController) dlgLoader.getController();\\r\\n dlgHandle.setData(re);\\r\\n dlgHandle.setHeaderText(\\\"Neue Rechnung anlegen\\\");\\r\\n dlg.initOwner(DozentenFaktura.getStage());\\r\\n\\r\\n Optional result = dlg.showAndWait();\\r\\n\\r\\n if (result.isPresent())\\r\\n {\\r\\n if (result.get().getButtonData() == ButtonBar.ButtonData.OK_DONE)\\r\\n {\\r\\n re = dlgHandle.getData();\\r\\n String file = \\\"Rechnungen/Rechnung_\\\" + String.format(\\\"%02d\\\", re.getDatum().getMonthValue()) + \\\"-\\\" + String.valueOf(re.getDatum().getYear()) + \\\".pdf\\\";\\r\\n Invoice document = new Invoice(re);\\r\\n if (document.createDocument(file))\\r\\n {\\r\\n re.setPath(file);\\r\\n }\\r\\n if (rechnungen.add(re))\\r\\n {\\r\\n // update table view rechnung\\r\\n tblRechnung.setItems(FXCollections.observableArrayList(rechnungen));\\r\\n // update auftrag data\\r\\n au.setAbgerechnetBis(Date.valueOf(re.getBis_Datum()));\\r\\n auftraege.set(auftraege.indexOf(au), au);\\r\\n tblAuftrag.setItems(FXCollections.observableArrayList(auftraege));\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n } catch (IOException e)\\r\\n {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\\r\\n UpdateUi();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e67fcc7b95bfc9ce956f07407a3c523\",\n \"score\": \"0.55941665\",\n \"text\": \"@Override\\n @Transactional\\n public List getResaByUserId(Integer demandeurId) throws FunctionalException {\\n if (demandeurId <= 0) throw new FunctionalException(\\\"Les données sont incorrectes\\\");\\n else {\\n\\n resaListReturn=resaDao.getResaByUserId(demandeurId);\\n return resaListReturn;\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1994a1ace7263be4666a57ec4eec7e9\",\n \"score\": \"0.5560262\",\n \"text\": \"@WebMethod(operationName = \\\"ingresarIniciativaborrador\\\")\\r\\n public void ingresarIniciativaborrador(@WebParam(name = \\\"nombre\\\") String nombre, @WebParam(name = \\\"descripcion\\\") String descripcion, @WebParam(name = \\\"tiempo\\\") String tiempo, @WebParam(name = \\\"cod_subcategoria\\\") String cod_subcategoria, @WebParam(name = \\\"cod_usuario\\\") String cod_usuario, @WebParam(name = \\\"meta\\\") String meta, @WebParam(name = \\\"estado\\\") String estado) {\\r\\n String instruccion = String.format(\\\"insert into Iniciativa(nombre,descripcion,tiempo,cod_subcategoria,cod_usuario,meta,estado) values('%s','%s','%s',%s,%s,%s,'%s');\\\",nombre,descripcion,tiempo,cod_subcategoria,cod_usuario,meta,estado);\\r\\n try{\\r\\n conexiones con= new conexiones();\\r\\n con.agregar(instruccion);\\r\\n \\r\\n }catch(Exception e){\\r\\n \\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b87d20eed14b8b87eeb0f25ce8aa49c4\",\n \"score\": \"0.55556315\",\n \"text\": \"public void acceptRequest(utente relative) throws SQLException, NotAllowedException {\\n \\n ResultSet request = Database.selectRecord(\\\"richieste\\\", \\\"idsender = '\\\" + relative.getId() + \\\"' AND idreciver = '\\\" + this.id + \\\"'\\\");\\n String relationship = \\\"\\\";\\n\\n while(request.next()){\\n relationship = request.getString(\\\"relazione\\\");\\n }\\n \\n try {\\n // Effettua il collegamento tra i due parenti\\n relative.setRelative(this, relationship);\\n //this.setRelative(relative, relationship);\\n \\n } finally {\\n // Rimuovi la richiesta dal database\\n Database.deleteRecord(\\\"richieste\\\", \\\"idsender = '\\\" + relative.getId() + \\\"' AND idreciver = '\\\" + this.id + \\\"'\\\");\\n }\\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f4fed2f769b2b94323d4574d1fd8c89\",\n \"score\": \"0.554701\",\n \"text\": \"private int registrarEgresoDetalle(Egreso oEgreso) {\\n oEgresoDetalleBl = new EgresoDetalleBl();\\n for (EgresoDetalle obj : listEgresoDetalle) {\\n oEgresoDetalle = obj;\\n oEgresoDetalle.setEgreso(oEgreso);\\n oEgresoDetalleBl.registrar(oEgresoDetalle);\\n }\\n return SUCESS;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69207ac39ab49e9478d108df993d8e85\",\n \"score\": \"0.5533602\",\n \"text\": \"public static void registrarAuditoria(Connexion connexion,Long idUsuario,RetencionVenta retencionventa,String sUsuarioPC,String sNamePC,String sIPPC)throws Exception {\\n\\t\\t\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIA) {\\r\\n\\t\\t\\t\\tif(retencionventa.getIsNew()) {\\r\\n\\t\\t\\t\\t\\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAINSERTAR,\\\"\\\",sUsuarioPC,sNamePC,sIPPC,new Date(),\\\"\\\");\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIADETALLE) {\\r\\n\\t\\t\\t\\t\\t\\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} else if(retencionventa.getIsDeleted()) {\\r\\n\\t\\t\\t\\t\\t/*if(!retencionventa.getIsExpired()) {\\r\\n\\t\\t\\t\\t\\t\\t////auditoriaLogicAdditional.RegistrarNuevaAuditoria(Constantes.getLOidSistemaActual(),idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.getSAuditoriaEliminarLogicamente(),\\\"\\\",sUsuarioPC,sNamePC,sIPPC,Timestamp.valueOf(Funciones.getStringMySqlCurrentDateTime()),\\\"\\\");\\r\\n\\t\\t\\t\\t\\t\\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\\r\\n\\t\\t\\t\\t\\t} else {*/\\r\\n\\t\\t\\t\\t\\t\\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAELIMINARFISICAMENTE,\\\"\\\",sUsuarioPC,sNamePC,sIPPC,new Date(),\\\"\\\");\\r\\n\\t\\t\\t\\t\\t//}\\r\\n\\t\\t\\t\\t} else if(retencionventa.getIsChanged()) {\\r\\n\\t\\t\\t\\t\\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAACTUALIZAR,\\\"\\\",sUsuarioPC,sNamePC,sIPPC,new Date(),\\\"\\\");\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIADETALLE) {\\r\\n\\t\\t\\t\\t\\t\\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t} catch(Exception e) {\\r\\n\\t\\t\\tFunciones.manageException(logger,e);\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23037feee0808dd396e4496140a336a9\",\n \"score\": \"0.55309683\",\n \"text\": \"public Clientes BuscarClienteId(Clientes ClienteObj);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43dd6d49f5c12d8954439ef9fa6b6f4b\",\n \"score\": \"0.5530268\",\n \"text\": \"@Override\\n\\tpublic Cliente cadastrar(Cliente cliente) {\\n\\t\\treturn clientRepository.save(cliente);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29707f69e5d0e78a250ddf89a285b596\",\n \"score\": \"0.5530048\",\n \"text\": \"@Override\\r\\n\\tpublic Resultado grabarCompraDirecta(TransactionRequest request) throws Exception {\\n\\t\\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\\r\\n\\t\\tCompraDirectaDatosGeneralesDto compraDirecta = request.getEntityTransaction();\\r\\n\\t\\tPacconsolidado pc;\\r\\n\\t\\tInteger idPacConsolidado = 0;\\r\\n\\t\\tboolean saveEstado = false;\\r\\n\\t\\tif (compraDirecta.getIdPacConsolid() != null) {\\r\\n\\t\\t\\tpc = pacconsolidadoMapper.selectByPrimaryKeyBasic(compraDirecta.getIdPacConsolid());\\r\\n\\t\\t\\tif (pc != null) {\\r\\n\\t\\t\\t\\t// UPDATE PAC CONSOLIDADO\\r\\n\\r\\n\\t\\t\\t\\t// pc.setNroproceso(compraDirecta.getNroProceso());\\r\\n\\t\\t\\t\\tpc.setCodigotipoproceso(\\\"14\\\");\\r\\n\\t\\t\\t\\tpc.setNroproceso(compraDirecta.getNroProceso());\\r\\n\\t\\t\\t\\tdouble valorMoneda = compraDirecta.getValorMoneda();\\r\\n\\t\\t\\t\\tBigDecimal valorEstimado = new BigDecimal(valorMoneda);\\r\\n\\t\\t\\t\\t//pc.setValorestimadocontracion(valorEstimado);\\r\\n\\t\\t\\t\\tpc.setValorestimadocontracion(Utils.round(valorEstimado));\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t// pc.setEstadoauditoria(); // ITEM UNICO\\r\\n\\t\\t\\t\\t// pc.setNroitems(0); // NUMERO DE ITEMS\\r\\n\\t\\t\\t\\t// pc.setCantidad(); // CANTIDAD DE ITEMS\\r\\n\\t\\t\\t\\tpc.setFlagcd(compraDirecta.getFlagCD());\\r\\n\\t\\t\\t\\t// pc.setUnidadmedida(); //UNIDAD DE MEDIDA\\r\\n\\t\\t\\t\\t// pc.setNombreespecialistavr(); //NOMBRE ESPECIALISTA VR\\r\\n\\t\\t\\t\\tpc.setFechaasignacionespecialista(compraDirecta.getFechaDocumentoTecnico());\\r\\n\\r\\n\\t\\t\\t\\t// AUDITORIA\\r\\n\\t\\t\\t\\tpc.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\tpc.setFechamodificacionauditoria(new Date());\\r\\n\\t\\t\\t\\tpc.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\tpc.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\t// END AUDITORIA\\r\\n\\r\\n\\t\\t\\t\\tpacconsolidadoMapper.updateByPrimaryKey(pc);\\r\\n\\t\\t\\t\\tidPacConsolidado = pc.getIdpacconsolidado();\\r\\n\\t\\t\\t}\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tsaveEstado = true;\\r\\n\\t\\t\\t// Inserta grupo documento\\r\\n\\t\\t\\tGrupodocumento grupodocumento = new Grupodocumento();\\r\\n\\t\\t\\tInteger idgrupodocumento = (int) utilsBusiness.getNextSeq(Sequence.SEQ_GRUPODOCUMENTO).longValue();\\r\\n\\t\\t\\tgrupodocumento.setIdgrupodocumento(idgrupodocumento);\\r\\n\\t\\t\\tgrupodocumento.setAnio(compraDirecta.getAnio());\\r\\n\\t\\t\\tgrupodocumento.setCodigocentrocosto(compraDirecta.getCodigoCentroCosto());\\r\\n\\t\\t\\tgrupodocumento.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\tgrupodocumento.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\tgrupodocumento.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\tgrupodocumento.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\tgrupodocumentoMapper.insert(grupodocumento);\\r\\n\\r\\n\\t\\t\\t// NEW PAC CONSOLIDADO\\r\\n\\t\\t\\tpc = new Pacconsolidado();\\r\\n\\t\\t\\tpc.setNroconsolid(compraDirecta.getNroConsolid());\\r\\n\\t\\t\\tpc.setAnio(compraDirecta.getAnio());\\r\\n\\t\\t\\tpc.setIdunidadejecutora(compraDirecta.getIdUnidadEjecutora());\\r\\n\\t\\t\\tpc.setIdgrupodocumento(idgrupodocumento);\\r\\n\\t\\t\\tpc.setCodigotipoproceso(compraDirecta.getTipoProceso());\\r\\n\\t\\t\\tpc.setFlagcd(compraDirecta.getFlagCD());\\r\\n\\t\\t\\tpc.setNroproceso(compraDirecta.getNroProceso());\\r\\n\\t\\t\\tpc.setUnidadmedida(compraDirecta.getUnidadMedida());\\r\\n\\t\\t\\tpc.setCantidad(compraDirecta.getCantidad());\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble valorMoneda = compraDirecta.getValorMoneda();\\r\\n\\t\\t\\tBigDecimal valorEstimado = new BigDecimal(valorMoneda);\\r\\n\\t\\t\\tpc.setValorestimadocontracion(Utils.round(valorEstimado));\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tpc.setIdcatalogotipocontratacion(compraDirecta.getIdTipoContratacion());\\r\\n\\t\\t\\tpc.setIdcatalogoestadopac(null);\\r\\n\\t\\t\\tpc.setIdcatalogotipobien(compraDirecta.getIdTipoBien());\\r\\n\\t\\t\\tpc.setIdcatalogotiponecesidad(compraDirecta.getIdTipoNecesidad());\\r\\n\\t\\t\\tpc.setEstadorequerimiento(compraDirecta.getEstadoRequerimiento());\\r\\n\\r\\n\\t\\t\\t// pc.setEstadoauditoria(); // ITEM UNICO\\r\\n\\t\\t\\t// pc.setNroitems(0); // NUMERO DE ITEMS\\r\\n\\t\\t\\t// pc.setCantidad(); // CANTIDAD DE ITEMS\\r\\n\\t\\t\\t// pc.setUnidadmedida(); //UNIDAD DE MEDIDA\\r\\n\\t\\t\\t// pc.setNombreespecialistavr(); //NOMBRE ESPECIALISTA VR\\r\\n\\t\\t\\tpc.setFechaasignacionespecialista(compraDirecta.getFechaDocumentoTecnico());\\r\\n\\t\\t\\tidPacConsolidado = (int) utilsBusiness.getNextSeq(Sequence.SEQ_PACCONSOLIDADO).longValue();\\r\\n\\t\\t\\tpc.setIdpacconsolidado(idPacConsolidado);\\r\\n\\r\\n\\t\\t\\t// AUDITORIA\\r\\n\\t\\t\\tpc.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\tpc.setFechacreacionauditoria(new Date());\\r\\n\\t\\t\\tpc.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\tpc.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\tpc.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t// END AUDITORIA\\r\\n\\r\\n\\t\\t\\tpacconsolidadoMapper.insert(pc);\\r\\n\\r\\n\\t\\t\\tif (compraDirecta.getIdTipoNecesidad().equals(Constantes.tipoNecesidad.TIPO_NECESIDAD_NO_PROGRAMADO)) {\\r\\n\\t\\t\\t\\t// PEDIDOS POR PAC CONSOLIDADO\\r\\n\\t\\t\\t\\tList pedidos = compraDirecta.getPedidos();\\r\\n\\t\\t\\t\\tfor (int i = 0; i < pedidos.size(); i++) {\\r\\n\\t\\t\\t\\t\\tPedidosporpacconsolidado pedidoItem = new Pedidosporpacconsolidado();\\r\\n\\t\\t\\t\\t\\tpedidoItem.setIdpedidoporpacconsolidado(\\r\\n\\t\\t\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_PEDIDOSPORPACCONSOLIDADO).longValue());\\r\\n\\t\\t\\t\\t\\tpedidoItem.setIdpacconsolidado(idPacConsolidado);\\r\\n\\t\\t\\t\\t\\tpedidoItem.setIdpedido(pedidos.get(i).getIdPedido());\\r\\n\\t\\t\\t\\t\\tpedidoItem.setFechacreacionauditoria(new Date());\\r\\n\\t\\t\\t\\t\\tpedidoItem.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\t\\tpedidoItem.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\t\\tpedidoItem.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\t\\tpedidoItem.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\t\\tpedidosporpacconsolidadoMapper.insert(pedidoItem);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t// SINAD POR PAC CONSOLIDADO\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\tresult.setResultInt(idPacConsolidado);\\r\\n\\r\\n\\t\\t// REQUISITOS CONFORMIDAD\\r\\n\\t\\tList listaRequisitos = compraDirecta.getListaRequisitosConformidad();\\r\\n\\t\\tfor (RequisitoConformidadDto requisitoConformidadDto : listaRequisitos) {\\r\\n\\t\\t\\tif (requisitoConformidadDto.getIdrequisitoconformidad() != null\\r\\n\\t\\t\\t\\t\\t&& requisitoConformidadDto.getIdrequisitoconformidad() != 0) {\\r\\n\\t\\t\\t\\tRequisitosconformidad requisitoEdit = requisitosconformidadMapper\\r\\n\\t\\t\\t\\t\\t\\t.selectByPrimaryKeyBasic(requisitoConformidadDto.getIdrequisitoconformidad());\\r\\n\\t\\t\\t\\tif (requisitoEdit != null) {\\r\\n\\t\\t\\t\\t\\trequisitoEdit.setIdcatalogotipodocumento(requisitoConformidadDto.getIdcatalogotipodocumento());\\r\\n\\r\\n\\t\\t\\t\\t\\t// AUDIT\\r\\n\\t\\t\\t\\t\\trequisitoEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\t\\trequisitoEdit.setFechamodificacionauditoria(new Date());\\r\\n\\t\\t\\t\\t\\trequisitoEdit.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\t\\trequisitoEdit.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\t\\trequisitosconformidadMapper.updateByPrimaryKey(requisitoEdit);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\tRequisitosconformidad requisitoNew = new Requisitosconformidad();\\r\\n\\t\\t\\t\\trequisitoNew.setIdcatalogotipodocumento(requisitoConformidadDto.getIdcatalogotipodocumento());\\r\\n\\t\\t\\t\\trequisitoNew.setIdpacconsolidado(compraDirecta.getIdPacConsolid());\\r\\n\\r\\n\\t\\t\\t\\t// AUDIT\\r\\n\\t\\t\\t\\trequisitoNew.setFechacreacionauditoria(new Date());\\r\\n\\t\\t\\t\\trequisitoNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\trequisitoNew.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\trequisitoNew.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\trequisitoNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\trequisitoNew.setIdrequisitoconformidad(\\r\\n\\t\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_REQUISITOSCONFORMIDAD).longValue());\\r\\n\\t\\t\\t\\trequisitosconformidadMapper.insert(requisitoNew);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// ESTADOS\\r\\n\\t\\tint idTipoDocumento = Constantes.tipoDocumento.PAO;\\r\\n\\t\\tif (pc.getEstadorequerimiento().equals(Constantes.estadosPorEtapa.EN_GIRO_DE_ORDEN)) {\\r\\n\\t\\t\\tsaveEstado = true;\\r\\n\\t\\t\\tidTipoDocumento = Constantes.tipoDocumento.ORDEN;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tif (saveEstado) {\\r\\n\\t\\t\\t// Insertamos históricos de estados\\r\\n\\t\\t\\tEstadosportipodocumento param = new Estadosportipodocumento();\\r\\n\\t\\t\\tparam.setIdtipodocumento(idTipoDocumento);\\r\\n\\t\\t\\tparam.setIdestadosporetapa(pc.getEstadorequerimiento());\\r\\n\\t\\t\\t// Estadosportipodocumento estados =\\r\\n\\t\\t\\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\\r\\n\\t\\t\\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\t\\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\\r\\n\\t\\t\\tif (estado != null) {\\r\\n\\t\\t\\t\\tjava.util.Date date = new java.util.Date();\\r\\n\\t\\t\\t\\tEstadosporetapapordocumento estadoDoc = new Estadosporetapapordocumento();\\r\\n\\t\\t\\t\\testadoDoc.setNrodocumento(pc.getIdpacconsolidado());\\r\\n\\t\\t\\t\\testadoDoc.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\\r\\n\\t\\t\\t\\testadoDoc.setFechaingreso(date);\\r\\n\\r\\n\\t\\t\\t\\testadoDoc.setFechacreacionauditoria(date);\\r\\n\\t\\t\\t\\testadoDoc.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\testadoDoc.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\testadoDoc.setProgramaauditoria(request.getProgramaAuditoria());\\r\\n\\t\\t\\t\\testadoDoc.setIdtipodocumento(Constantes.tipoDocumento.PAO);\\r\\n\\r\\n\\t\\t\\t\\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\t\\t\\t\\testadoDoc.setIdestadosporetapapordocumento(\\r\\n\\t\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\t\\testadoDoc.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\testadosporetapapordocumentoMapper.insert(estadoDoc);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d94549cbe7c2f922a6b50c030ed21f02\",\n \"score\": \"0.5529202\",\n \"text\": \"@Test\\n\\t@UsingDataSet({ \\\"persona.json\\\" })\\n\\t@Transactional(value = TransactionMode.ROLLBACK)\\n\\tpublic void agregarRecolectorTest() {\\n\\n\\t\\tRecolector recolector = new Recolector();\\n\\n\\t\\trecolector.setNombre(\\\"tomas\\\");\\n\\t\\trecolector.setApellido(\\\"la\\\");\\n\\t\\trecolector.setCedula(\\\"111\\\");\\n\\t\\trecolector.setContrasenia(\\\"12345\\\");\\n\\t\\trecolector.setCorreo(\\\"mmart@mail.com\\\");\\n\\t\\trecolector.setTelefono(\\\"12\\\");\\n\\n\\t\\tentityManager.persist(recolector);\\n\\n\\t\\tRecolector rec2 = entityManager.find(Recolector.class, recolector.getCedula());\\n\\t\\tAssert.assertNotNull(rec2);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49f5acad58ac1c36d9dc6316116f7352\",\n \"score\": \"0.5526024\",\n \"text\": \"Restaurante createRestaurante();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faf57ab25c4feaa82d8b3fa0b13e1ff0\",\n \"score\": \"0.5524878\",\n \"text\": \"public List findRelatorio(int idTipoDespesa, int idTag, int idStatus, int mes, int ano) throws SQLException {\\n List despesas = new ArrayList<>();\\r\\n Despesa despesa = null;\\r\\n Calendar dataInicio = new GregorianCalendar(ano, mes-1, 01);\\r\\n Calendar dataFim = null;\\r\\n try(PreparedStatement stm = conexao.prepareStatement(SQLRelatorio)){\\r\\n stm.setInt(1, idStatus);\\r\\n stm.setInt(2, idTipoDespesa);\\r\\n stm.setInt(3, idTag);\\r\\n stm.setDate(4, new java.sql.Date (dataInicio.getTime().getTime()));\\r\\n if(mes == 1 || mes == 3 || mes == 5 || mes == 7 || mes == 8 || mes == 10 || mes == 12){\\r\\n dataFim = new GregorianCalendar(ano, mes-1, 31);\\r\\n } else if(mes == 2){\\r\\n \\r\\n } else{\\r\\n dataFim = new GregorianCalendar(ano, mes-1, 30);\\r\\n }\\r\\n stm.setDate(5, new java.sql.Date (dataFim.getTime().getTime()));\\r\\n stm.execute();\\r\\n try(ResultSet resultSet = stm.getResultSet()) {\\r\\n while(resultSet.next()) {\\r\\n int id = (resultSet.getInt(\\\"id\\\"));\\r\\n String descricaoD = (resultSet.getString(\\\"descricao\\\"));\\r\\n String local = (resultSet.getString(\\\"local\\\"));\\r\\n TipoDespesa idTipo = TipoDespesaDAO.findByIdTipoDespesa(resultSet.getInt(\\\"tipo_despesa\\\"));\\r\\n Cartao cartao = CartaoDAO.findByIdCartao(resultSet.getInt(\\\"cartao_usado\\\"));\\r\\n Tag tag = TagDAO.findByIdTag(resultSet.getInt(\\\"tag\\\"));\\r\\n BigDecimal parcelas = (resultSet.getBigDecimal(\\\"numero_parcelas\\\"));\\r\\n BigDecimal total = (resultSet.getBigDecimal(\\\"valor_total\\\"));\\r\\n Date data = (resultSet.getDate(\\\"data_despesa\\\"));\\r\\n int status = resultSet.getInt(\\\"status_parcela\\\");\\r\\n despesa = new Despesa(descricaoD, local, idTipo, cartao, tag, parcelas, total, data);\\r\\n despesa.setIdDespesa(id);\\r\\n despesas.add(despesa);\\r\\n }\\r\\n resultSet.close();\\r\\n }\\r\\n stm.close();\\r\\n }catch(Exception ex){\\r\\n JOptionPane.showMessageDialog(null,ex.getMessage(),\\\"Erro ao tentar gerar o Relatório\\\",JOptionPane.ERROR_MESSAGE);\\r\\n// System.out.println(\\\"Erro ao tentar executar busca por fatura: \\\" + ex.getMessage());\\r\\n } \\r\\n return despesas;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"452bb2f915082127f0bc84a7b5cf458b\",\n \"score\": \"0.55177116\",\n \"text\": \"public void gravarTreino(String registro){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb6dd7afe41a591b684fa7ace08504e0\",\n \"score\": \"0.5512081\",\n \"text\": \"public void ValoresRealesInvitado(){\\n dao.actualizar(usuario);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f248b8adc109238278e94219cdefba20\",\n \"score\": \"0.55097467\",\n \"text\": \"public void registrar() {\\n marcaView = marcaController.consultarMarca(marcaView).get(0);\\n referenciaView.setSmsMarca(marcaView);//relacionamos la referencia con la marca\\n\\n referenciaDao.registrarReferencia(referenciaView);//Registramos la referencia\\n\\n referenciaView = new SmsReferencia();//Limpiamos objetos\\n marcaView = new SmsMarca();\\n referenciasListView = referenciaDao.mostrarReferencias();//recargamos la lista de referencias\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b42596e91d1093942b23156547f2e96\",\n \"score\": \"0.5509083\",\n \"text\": \"public void salvarReditar() {\\n\\n\\t\\tVistoriaRN vistoriaRN = new VistoriaRN();\\n\\t\\tvistoriaRN.salvar(this.vistoria);\\n\\n\\t\\tif (vistoria.getVisPendente() == 'N') {\\n\\t\\t\\tif (vistoria.getImovel().getImoEfetivo()== false) {\\n\\t\\t\\t\\tvistoria.getImovel().setImoDataRejeicao(new Date());\\n\\n\\t\\t\\t\\tSystem.out.println(\\\"OK\\\");\\n\\t\\t\\t}\\n\\t\\t\\tImovelRN imovelRN = new ImovelRN();\\n\\t\\t\\timovelRN.salvar(vistoria.getImovel());\\n\\t\\t}\\n\\n\\t\\tFacesContext context = FacesContext.getCurrentInstance();\\n\\t\\tcontext.addMessage(null, new FacesMessage(\\\"Alterado com sucesso\\\"));\\n\\n\\t\\tthis.imovel = new Imovel();\\n\\t\\tthis.funcionario = new Funcionario();\\n\\t\\tthis.listaVistorias = null;\\n\\t\\tthis.vistoria = new Vistoria();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecb7a31c85559a7dd28c337adc30e16a\",\n \"score\": \"0.5508867\",\n \"text\": \"public void retiraOrgao(String nome, String tipoSanguineo) throws Exception {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tcontrol.retiraOrgao(nome, tipoSanguineo);\\r\\n\\t\\t} catch (ControllerException e) {\\r\\n\\t\\t\\tthrow new Exception(\\\"Erro na retirada de orgaos. \\\" + e.getMessage());\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2af0ead1d0d95b6faf9d95ac482ea487\",\n \"score\": \"0.55080396\",\n \"text\": \"void agregar(Cliente cliente);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7406a1e2308dc5f665de2fd355fea13e\",\n \"score\": \"0.55066574\",\n \"text\": \"public ArrayList recuperarPremiosNivelesPremiacion(\\n ClientePremiacionConcurso clientePremiacionConcurso,\\n ClientePremiacion clientePremiacion) throws MareException {\\n UtilidadesLog.info(\\\"DAOClientePremiacionConcurso.recuperarPremiosNivel\\\"\\n +\\\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso\\\"\\n +\\\", ClientePremiacion clientePremiacion):Entrada\\\");\\n\\n BelcorpService bs1;\\n RecordSet respuesta1;\\n StringBuffer query1 = new StringBuffer();\\n\\n try {\\n bs1 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n //Recuperar todos los registros de la entidad parNivel\\n //ordenados por numeroNivel de mayor a menor coste en puntos\\n //(para ello nos fijamos en el campo cantidadFijaPuntos,\\n //si este no esta informado usaremos cantidadInicialPuntos).\\n try {\\n query1.append(\\\" SELECT \\\");\\n query1.append(\\\" NVL(NUM_CANT_FIJA_PUNT, NUM_CANT_INIC_PUNT) AS PUNTOS, \\\");\\n query1.append(\\\" TPRE_OID_TIPO_PREM, \\\");\\n query1.append(\\\" OID_PARA_NIVE_PREM, \\\");\\n query1.append(\\\" INC_PARAM_NIVEL_PREMI.NUM_NIVE, \\\");\\n query1.append(\\\" NUM_CANT_FIJA_PUNT, \\\");\\n query1.append(\\\" NUM_CANT_INIC_PUNT, \\\");\\n query1.append(\\\" NUM_CANT_FINA_PUNT, \\\");\\n query1.append(\\\" NUM_PUNT_PROD_EXIG, \\\");\\n query1.append(\\\" PERD_OID_PERI, \\\");\\n query1.append(\\\" conc.MARC_OID_MARC, \\\");\\n query1.append(\\\" conc.CANA_OID_CANA, \\\");\\n query1.append(\\\" conc.PAIS_OID_PAIS, \\\");\\n // vbongiov -- 5/07/2006 -- inc 723\\n query1.append(\\\" V.VAL_I18N descTipoPremio \\\");\\n query1.append(\\\" FROM INC_PARAM_GENER_PREMI, \\\");\\n query1.append(\\\" INC_PARAM_NIVEL_PREMI, \\\");\\n query1.append(\\\" INC_CONCU_PARAM_GENER conc, CRA_PERIO, \\\");\\n query1.append(\\\" V_GEN_I18N_SICC V \\\");\\n query1.append(\\\" WHERE PAGP_OID_PARA_GENE_PREM = OID_PARA_GENE_PREM \\\");\\n query1.append(\\\" AND COPA_OID_PARA_GRAL = \\\" +\\n clientePremiacionConcurso.getOidConcurso());\\n query1.append(\\\" AND conc.OID_PARA_GRAL = COPA_OID_PARA_GRAL \\\");\\n query1.append(\\\" AND conc.PERD_OID_PERI_DESD = OID_PERI \\\");\\n query1.append(\\\" AND V.VAL_OID = TPRE_OID_TIPO_PREM \\\");\\n query1.append(\\\" AND V.ATTR_NUM_ATRI = 1 \\\");\\n query1.append(\\\" AND V.ATTR_ENTI = 'INC_TIPO_PREMI' \\\");\\n query1.append(\\\" AND V.IDIO_OID_IDIO = \\\" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\\n query1.append(\\\" ORDER BY PUNTOS DESC \\\");\\n \\n respuesta1 = bs1.dbService.executeStaticQuery(query1.toString());\\n \\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"*** respuesta1: \\\" + respuesta1);\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n Periodo periodoDespacho = new Periodo();\\n String descTipoPremio = null;\\n\\n ArrayList salida = new ArrayList();\\n int saldoPuntosAux = clientePremiacionConcurso.getSaldoPuntos().intValue();\\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"recuperarPremiosNivelesPremiacion --- saldoPuntosAux \\\" +\\n saldoPuntosAux);\\n\\n for (int i1 = 0; i1 < respuesta1.getRowCount(); i1++) {\\n // vbongiov -- 5/07/2006 -- inc 723\\n descTipoPremio = (String) respuesta1.getValueAt(0, \\\"DESCTIPOPREMIO\\\");\\n \\n NivelPremiacion nivelPre = new NivelPremiacion();\\n nivelPre.setNivel((respuesta1.getValueAt(i1, \\\"NUM_NIVE\\\") != null)\\n ? new Integer(\\n ((BigDecimal) respuesta1.getValueAt(i1, \\\"NUM_NIVE\\\")).intValue())\\n : null);\\n nivelPre.setOidNivel((\\n respuesta1.getValueAt(i1, \\\"OID_PARA_NIVE_PREM\\\") != null)\\n ? new Long(((BigDecimal) \\n respuesta1.getValueAt(i1, \\\"OID_PARA_NIVE_PREM\\\")).longValue())\\n : null);\\n nivelPre.setCantidadFijaPuntos((respuesta1.getValueAt(i1,\\n \\\"NUM_CANT_FIJA_PUNT\\\") != null)\\n ? new Double(((BigDecimal) \\n respuesta1.getValueAt(i1, \\\"NUM_CANT_FIJA_PUNT\\\")).doubleValue())\\n : new Double(0));\\n nivelPre.setCantidadInicialPuntos((respuesta1.getValueAt(i1,\\n \\\"NUM_CANT_INIC_PUNT\\\") != null)\\n ? new Double(((BigDecimal) \\n respuesta1.getValueAt(i1, \\\"NUM_CANT_INIC_PUNT\\\")).doubleValue())\\n : new Double(0));\\n nivelPre.setCantidadFinalPuntos((respuesta1.getValueAt(i1,\\n \\\"NUM_CANT_FINA_PUNT\\\") != null)\\n ? new Double(((BigDecimal) \\n respuesta1.getValueAt(i1, \\\"NUM_CANT_FINA_PUNT\\\")).doubleValue())\\n : new Double(0));\\n\\n if (respuesta1.getValueAt(i1, \\\"PERD_OID_PERI\\\") != null) {\\n periodoDespacho.setOidPeriodo(new Long(((BigDecimal) \\n respuesta1.getValueAt(i1, \\\"PERD_OID_PERI\\\")).longValue()));\\n }\\n\\n int puntosLeidos = ((respuesta1.getValueAt(i1, \\\"PUNTOS\\\") != null)\\n ? ((BigDecimal) respuesta1.getValueAt(i1, \\\"PUNTOS\\\")).intValue()\\n : 0);\\n \\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\n \\\"recuperarPremiosNivelesPremiacion --- puntosLeidos \\\" +\\n puntosLeidos);\\n UtilidadesLog.debug(\\\"recuperarPremiosNivelesPremiacion \\\"\\n + \\\"saldoPuntosAux >= puntosLeidos \\\" \\n +(saldoPuntosAux >= puntosLeidos));\\n } \\n\\n if (saldoPuntosAux >= puntosLeidos) {\\n UtilidadesLog.debug(\\\"saldoPuntosAux >= puntosLeidos \\\");\\n\\n long tipoPremioLeido = ((BigDecimal) respuesta1.getValueAt(i1,\\n \\\"TPRE_OID_TIPO_PREM\\\")).longValue();\\n long oidNivelPremiacion = ((BigDecimal) \\n respuesta1.getValueAt(i1,\\\"OID_PARA_NIVE_PREM\\\"))\\n .longValue();\\n BigDecimal puntosObtenerProdExigidos = (BigDecimal) \\n respuesta1.getValueAt(i1,\\\"NUM_PUNT_PROD_EXIG\\\");\\n \\n Long numPremio = null;\\n\\n // procesar premio monetario\\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_MONETARIO\\n .longValue()) {\\n UtilidadesLog.debug(\\\"Premio Monetario\\\");\\n\\n PremioMonetario premioMonetario = new PremioMonetario();\\n premioMonetario.setNivel(nivelPre);\\n premioMonetario.setTipoPremio(new Long(tipoPremioLeido));\\n // vbongiov -- 5/07/2006 -- inc 723\\n premioMonetario.setDescripcionTipoPremio(descTipoPremio);\\n premioMonetario.setPeriodoDeDespacho(periodoDespacho);\\n\\n BelcorpService bs2;\\n RecordSet respuesta2;\\n StringBuffer query2 = new StringBuffer();\\n\\n try {\\n bs2 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n try {\\n query2.append(\\\" SELECT \\\");\\n query2.append(\\\" OID_PREM_MONE, \\\");\\n query2.append(\\\" NUM_PREM, \\\");\\n query2.append(\\\" VAL_CANT, \\\");\\n query2.append(\\\" VAL_PORC, \\\");\\n query2.append(\\\" IND_PAGO_PART, \\\");\\n query2.append(\\\" IND_DESC_PAGO_ANTI, \\\");\\n query2.append(\\\" TPMO_OID_TIPO_PREM_MONE, \\\");\\n query2.append(\\\" FPAG_OID_FORM_PAGO \\\");\\n query2.append(\\\" FROM INC_PREMI_MONET \\\");\\n query2.append(\\\" WHERE PANP_OID_PARA_NIVE_PREM = \\\" +\\n oidNivelPremiacion);\\n respuesta2 = bs2.dbService.executeStaticQuery(\\n query2.toString());\\n \\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"*** respuesta2: \\\" + respuesta2);\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError\\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n if (!respuesta2.esVacio()) {\\n UtilidadesLog.debug(\\\"Encontre premio monetario\\\");\\n\\n long oidPremioMonetario = ((BigDecimal)\\n respuesta2.getValueAt(0,\\\"OID_PREM_MONE\\\"))\\n .longValue();\\n\\n {\\n BigDecimal cantidad = (BigDecimal) \\n respuesta2.getValueAt(0,\\\"VAL_CANT\\\");\\n premioMonetario.setCantidad((cantidad != null)\\n ? cantidad : new BigDecimal(0));\\n }\\n\\n {\\n BigDecimal descontar = (BigDecimal) \\n respuesta2.getValueAt(0,\\\"IND_DESC_PAGO_ANTI\\\");\\n\\n if (descontar == null) {\\n premioMonetario\\n .setDescontarPagosAnticipados(false);\\n } else {\\n if (descontar.compareTo(new BigDecimal(1)) == 0) {\\n premioMonetario\\n .setDescontarPagosAnticipados(true);\\n } else {\\n premioMonetario\\n .setDescontarPagosAnticipados(false);\\n }\\n }\\n }\\n\\n premioMonetario.setNumeroPremio(new Long(\\n ((BigDecimal) respuesta2.getValueAt(0,\\n \\\"NUM_PREM\\\")).longValue()));\\n\\n //jrivas 26/7/2005\\n numPremio = premioMonetario.getNumeroPremio();\\n\\n premioMonetario.setOidFormaPago(new Long(\\n ((BigDecimal) respuesta2.getValueAt(0,\\n \\\"FPAG_OID_FORM_PAGO\\\")).longValue()));\\n\\n {\\n BigDecimal pagoPartes = (BigDecimal) \\n respuesta2.getValueAt(0,\\\"IND_PAGO_PART\\\");\\n\\n if (pagoPartes == null) {\\n premioMonetario.setPagoEnPartes(false);\\n } else {\\n if (pagoPartes.compareTo(new BigDecimal(1)) \\n == 0) {\\n premioMonetario.setPagoEnPartes(true);\\n } else {\\n premioMonetario.setPagoEnPartes(false);\\n }\\n }\\n }\\n\\n premioMonetario.setPorcentaje((BigDecimal) \\n respuesta2.getValueAt(0, \\\"VAL_PORC\\\"));\\n premioMonetario.setTipoPremioMonetario(new Long(\\n ((BigDecimal) respuesta2.getValueAt(0,\\n \\\"TPMO_OID_TIPO_PREM_MONE\\\")).longValue()));\\n\\n //Si tipoPremio es premioMonetario, y el campo \\n //pagoPartes==True,\\n //entonces tendremos que ir a la entidad PagoPartes\\n //y crear objetos PagoPartes rellenando sus atributos.\\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"premioMonetario.getPagoEnPartes() \\\" +\\n premioMonetario.getPagoEnPartes());\\n\\n if (premioMonetario.getPagoEnPartes()) {\\n BelcorpService bs3;\\n RecordSet respuesta3;\\n StringBuffer query3 = new StringBuffer();\\n\\n try {\\n bs3 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError\\n .ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n try {\\n query3.append(\\\" SELECT \\\");\\n query3.append(\\\" NUM_PAGO, \\\");\\n query3.append(\\\" VAL_PORC_PREM, \\\");\\n query3.append(\\\" PERD_OID_PERI, \\\");\\n query3.append(\\\" COD_PERI, \\\");\\n query3.append(\\\" FEC_INIC, \\\");\\n query3.append(\\\" FEC_FINA, \\\");\\n query3.append(\\\" CANA_OID_CANA, \\\");\\n query3.append(\\\" MARC_OID_MARC, \\\");\\n query3.append(\\\" PAIS_OID_PAIS \\\");\\n query3.append(\\\" FROM INC_PAGO_MONET PAGO, \\\");\\n query3.append(\\\" CRA_PERIO CRA, \\\");\\n query3.append(\\\" SEG_PERIO_CORPO SEG \\\");\\n query3.append(\\\" WHERE PRMO_OID_PREM_MONE = \\\" +\\n oidPremioMonetario);\\n query3.append(\\n \\\" AND PAGO.PERD_OID_PERI = CRA.OID_PERI \\\");\\n query3.append(\\n \\\" AND CRA.PERI_OID_PERI = SEG.OID_PERI \\\");\\n respuesta3 = bs3.dbService.executeStaticQuery(\\n query3.toString());\\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"*** respuesta3: \\\" + respuesta3);\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError\\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n premioMonetario.setPagosEnPartes(new ArrayList());\\n\\n for (int i3 = 0; i3 < respuesta3.getRowCount();\\n i3++) {\\n PagoPartes pagoPartes = new PagoPartes();\\n pagoPartes.setNumeroPago(new Integer(\\n ((BigDecimal) respuesta3.getValueAt(\\n i3, \\\"NUM_PAGO\\\")).intValue()));\\n pagoPartes.setPorcentajePremio((BigDecimal)\\n respuesta3.getValueAt(i3, \\\"VAL_PORC_PREM\\\"));\\n\\n Periodo periodoControl = new Periodo();\\n periodoControl.setCodperiodo((String)\\n respuesta3.getValueAt(i3, \\\"COD_PERI\\\"));\\n periodoControl.setFechaDesde((Date) \\n respuesta3.getValueAt(i3, \\\"FEC_INIC\\\"));\\n periodoControl.setFechaHasta((Date) \\n respuesta3.getValueAt(i3, \\\"FEC_FINA\\\"));\\n periodoControl.setOidCanal(new Long(\\n ((BigDecimal) respuesta3.getValueAt(\\n i3, \\\"CANA_OID_CANA\\\")).longValue()));\\n periodoControl.setOidMarca(new Long(\\n ((BigDecimal) respuesta3.getValueAt(\\n i3, \\\"MARC_OID_MARC\\\")).longValue()));\\n periodoControl.setOidPais(new Long(\\n ((BigDecimal) respuesta3.getValueAt(\\n i3, \\\"PAIS_OID_PAIS\\\")).longValue()));\\n periodoControl.setOidPeriodo(new Long(\\n ((BigDecimal) respuesta3.getValueAt(\\n i3, \\\"PERD_OID_PERI\\\")).longValue()));\\n \\n // Periodo \\n pagoPartes.setPeriodoControl(periodoControl); \\n premioMonetario.getPagosEnPartes()\\n .add(pagoPartes);\\n }\\n }\\n }\\n\\n UtilidadesLog.debug(\\\"guarde.... premio monet\\\");\\n salida.add(premioMonetario);\\n }\\n\\n // procesar premio articulo lote\\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_ARTICULO\\n .longValue()) {\\n UtilidadesLog.debug(\\\"Premio Articulo\\\");\\n\\n PremioArticuloLote premioArticuloLote = \\n new PremioArticuloLote();\\n PremioArticulo premioArticulo = new PremioArticulo();\\n premioArticuloLote.setNivel(nivelPre);\\n premioArticuloLote.setTipoPremio(new Long(tipoPremioLeido));\\n // vbongiov -- 5/07/2006 -- inc 723\\n premioArticuloLote.setDescripcionTipoPremio(descTipoPremio);\\n premioArticuloLote.setPeriodoDeDespacho(periodoDespacho);\\n premioArticuloLote.setPuntosObtenerProdExigidos((\\n puntosObtenerProdExigidos != null)\\n ? new Double(puntosObtenerProdExigidos.doubleValue())\\n : new Double(0));\\n\\n BelcorpService bs4;\\n RecordSet respuesta4;\\n StringBuffer query4 = new StringBuffer();\\n\\n try {\\n bs4 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n try {\\n /* INC 001 - gPineda - 13/01/2007\\n * Se agrega la recuperacion del atributo VAL_DESC_LOTE_PREM_ARTI. (2)\\n */\\n query4.append(\\\" SELECT \\\");\\n query4.append(\\\" NUM_UNID, NUM_LOTE, \\\");\\n query4.append(\\\" NUM_PREM, \\\");\\n query4.append(\\\" OID_LOTE_PREM_ARTI \\\");\\n query4.append(\\\" ,INC_LOTE_PREMI_ARTIC.VAL_DESC_LOTE_PREM_ARTI\\\"); //(2)\\n query4.append(\\\" FROM INC_PREMI_ARTIC, \\\");\\n query4.append(\\\" INC_LOTE_PREMI_ARTIC \\\");\\n query4.append(\\n \\\" WHERE PRAR_OID_PREM_ARTI = OID_PREM_ARTI \\\");\\n query4.append(\\\" AND PANP_OID_PARA_NIVE_PREM = \\\" + oidNivelPremiacion);\\n query4.append(\\\" ORDER BY NUM_LOTE \\\"); \\n \\n respuesta4 = bs4.dbService.executeStaticQuery(\\n query4.toString());\\n \\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"*** respuesta4: \\\" + respuesta4);\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError\\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n if (!respuesta4.esVacio()) {\\n premioArticuloLote.setDescripcionLote( (String) respuesta4.getValueAt(0, \\\"VAL_DESC_LOTE_PREM_ARTI\\\") );//(2)\\n \\n premioArticuloLote.setNumeroLote(new Long(\\n ((BigDecimal) respuesta4.getValueAt(0,\\n \\\"NUM_LOTE\\\")).longValue()));\\n premioArticuloLote.setNumeroPremio(new Long(\\n ((BigDecimal) respuesta4.getValueAt(0,\\n \\\"NUM_PREM\\\")).longValue()));\\n\\n //jrivas 26/7/2005\\n numPremio = premioArticuloLote.getNumeroPremio();\\n\\n premioArticulo.setNumeroUnidades(new Long(\\n ((BigDecimal) respuesta4.getValueAt(0,\\n \\\"NUM_UNID\\\")).longValue()));\\n premioArticuloLote.setPremio(premioArticulo);\\n\\n Long oidLotePremioArticulo = new Long(((BigDecimal) \\n respuesta4.getValueAt(0, \\\"OID_LOTE_PREM_ARTI\\\"))\\n .longValue());\\n ArrayList articulos = new ArrayList();\\n\\n BelcorpService bs7;\\n RecordSet respuesta7;\\n\\n try {\\n bs7 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n try {\\n //Brecha INC-003 6-9-07 jrivas\\n respuesta7 = bs7.dbService.executeStaticQuery(queryArticuloLote(oidLotePremioArticulo).toString());\\n \\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"*** respuesta7: \\\" + respuesta7);\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n \\n ArticuloLote articuloLote = null;\\n \\n if (!respuesta7.esVacio()) {\\n \\n int cant7 = respuesta7.getRowCount();\\n for(int i7=0; i7 < cant7; i7++) {\\n articuloLote = new ArticuloLote();\\n \\n articuloLote.setNombre((String)respuesta7.getValueAt(i7, \\\"DESCPRODU\\\"));\\n \\n articuloLote.setNumeroUnidades(new Long(\\n ((BigDecimal) respuesta7.getValueAt(i7, \\\"NUM_UNID\\\"))\\n .longValue()));\\n articuloLote.setCodigoVentaFicticio(respuesta7.getValueAt(\\n i7, \\\"COD_VENT_FICT\\\").toString());\\n articuloLote.setOidCodigoProducto(new Long(\\n ((BigDecimal) respuesta7.getValueAt(i7,\\n \\\"PROD_OID_PROD\\\")).longValue()));\\n articuloLote.setPrecioPublico((BigDecimal) \\n respuesta7.getValueAt(i7, \\\"IMP_PREC_PUBL\\\"));\\n \\n articuloLote.setCodSapProducto((String)\\trespuesta7.getValueAt(i7, \\\"COD_SAP\\\")); \\n \\n articuloLote.setTipoEntregaPremio(respuesta7.getValueAt(i7, \\\"IND_TIPO_ENTR_PREM\\\").toString()); \\n if (respuesta7.getValueAt(i7, \\\"COD_CENT_SERV\\\") != null) {\\n articuloLote.setCodigoCentroServicio((String) respuesta7.getValueAt(i7, \\\"COD_CENT_SERV\\\")); \\n } else {\\n articuloLote.setCodigoCentroServicio(\\\"\\\"); \\n }\\n \\n if (respuesta7.getValueAt(i7, \\\"DES_CENT_SERV\\\") != null) {\\n articuloLote.setDescripcionCentroServicio((String) respuesta7.getValueAt(i7, \\\"DES_CENT_SERV\\\")); \\n } else {\\n articuloLote.setDescripcionCentroServicio(\\\"\\\"); \\n } \\n \\n // vbongiov -- Cambio 20090828 -- 8/06/2009\\n articuloLote.setOidArticuloLote(new Long(((BigDecimal) respuesta7.getValueAt(i7, \\\"OID_ARTI_LOTE\\\")).longValue())); \\n \\n articulos.add(articuloLote);\\n }\\n }\\n premioArticuloLote.setArticulos(articulos);\\n }\\n salida.add(premioArticuloLote);\\n }\\n\\n // procesar premio descuento\\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_DESCUENTOS\\n .longValue()) {\\n UtilidadesLog.debug(\\\"tipoPremioLeido = ConstantesINC.TIPO_PREMIO_DESCUENTOS.longValue() ***\\\");\\n\\n PremioDescuento premioDescuento = new PremioDescuento();\\n premioDescuento.setNivel(nivelPre);\\n premioDescuento.setTipoPremio(new Long(tipoPremioLeido));\\n // vbongiov -- 5/07/2006 -- inc 723\\n premioDescuento.setDescripcionTipoPremio(descTipoPremio);\\n premioDescuento.setPeriodoDeDespacho(periodoDespacho);\\n\\n BelcorpService bs5;\\n RecordSet respuesta5;\\n RecordSet respuesta6;\\n StringBuffer query5 = new StringBuffer();\\n StringBuffer query6 = new StringBuffer();\\n\\n try {\\n bs5 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n try {\\n query5.append(\\\" SELECT OID_PREM_DESC,\\\");\\n query5.append(\\\" NUM_PREM, \\\");\\n query5.append(\\\" VAL_CANT_DESC, \\\");\\n query5.append(\\\" VAL_PORC_DESC, \\\");\\n query5.append(\\\" PERD_OID_PERI_DESD, \\\");\\n query5.append(\\\" PERD_OID_PERI \\\");\\n query5.append(\\\" FROM INC_PREMI_DESCU \\\");\\n query5.append(\\\" WHERE OID_PARA_NIVE_PREM = \\\" +\\n oidNivelPremiacion);\\n respuesta5 = bs5.dbService.executeStaticQuery(\\n query5.toString());\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n if (!respuesta5.esVacio()) {\\n \\n BigDecimal oidPremDesc = (BigDecimal) respuesta5.getValueAt(0,\\n \\\"OID_PREM_DESC\\\");\\n \\n BigDecimal cantidad = (BigDecimal) respuesta5.getValueAt(0,\\n \\\"VAL_CANT_DESC\\\");\\n premioDescuento.setCantidad((cantidad != null) ? cantidad\\n : new BigDecimal(0));\\n \\n\\n premioDescuento.setNumeroPremio(new Long(\\n ((BigDecimal) respuesta5.getValueAt(0, \\\"NUM_PREM\\\"))\\n .longValue()));\\n premioDescuento.setOidPeriodoDesde(new Long(\\n ((BigDecimal) respuesta5.getValueAt(0,\\n \\\"PERD_OID_PERI_DESD\\\")).longValue()));\\n\\n \\n BigDecimal periodoHasta = (BigDecimal) \\n respuesta5.getValueAt(0,\\\"PERD_OID_PERI\\\");\\n premioDescuento.setOidPeriodoHasta((periodoHasta != null)\\n ? new Long(periodoHasta.longValue()) : null);\\n \\n\\n premioDescuento.setPorcentaje((BigDecimal) \\n respuesta5.getValueAt(0, \\\"VAL_PORC_DESC\\\"));\\n \\n ArrayList prodDesc = new ArrayList();\\n \\n // Productos del premio descuento \\n try {\\n query6.append(\\\" SELECT prodD.MAPR_OID_MARC_PROD,\\\");\\n query6.append(\\\" prodD.SGEN_OID_SUPE_GENE, prodD.GENE_OID_GENE, \\\");\\n query6.append(\\\" prodD.UNEG_OID_UNID_NEGO, prodD.NEGO_OID_NEGO, \\\");\\n query6.append(\\\" prodD.PROD_OID_PROD \\\");\\n query6.append(\\\" FROM INC_PRODU_DESCU prodD \\\");\\n query6.append(\\\" WHERE prodD.PRDE_OID_PREM_DESC = \\\" + oidPremDesc);\\n \\n respuesta6 = bs5.dbService.executeStaticQuery(query6.toString());\\n \\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n ProductoDescuento prodDescuento = null;\\n \\n if (!respuesta6.esVacio()) {\\n int cant6 = respuesta6.getRowCount();\\n \\n for(int i6=0; i6 < cant6; i6++) {\\n prodDescuento = new ProductoDescuento();\\n \\n prodDescuento.setOidMarcaProducto(new Long(((BigDecimal)respuesta6.getValueAt(i6,\\\"MAPR_OID_MARC_PROD\\\")).intValue()));\\n \\n BigDecimal oidSupeGen = (BigDecimal) \\n respuesta6.getValueAt(i6,\\\"SGEN_OID_SUPE_GENE\\\");\\n prodDescuento.setOidSuperGenerico((oidSupeGen != null)\\n ? new Long(oidSupeGen.longValue()) : null);\\n \\n BigDecimal oidGene = (BigDecimal) \\n respuesta6.getValueAt(i6,\\\"GENE_OID_GENE\\\");\\n prodDescuento.setOidGenerico((oidGene != null)\\n ? new Long(oidGene.longValue()) : null);\\n \\n BigDecimal oidUniNeg = (BigDecimal) \\n respuesta6.getValueAt(i6,\\\"UNEG_OID_UNID_NEGO\\\");\\n prodDescuento.setOidUnidadNegocio((oidUniNeg != null)\\n ? new Long(oidUniNeg.longValue()) : null);\\n \\n BigDecimal oidNeg = (BigDecimal) \\n respuesta6.getValueAt(i6,\\\"NEGO_OID_NEGO\\\");\\n prodDescuento.setOidNegocio((oidNeg != null)\\n ? new Long(oidNeg.longValue()) : null);\\n \\n BigDecimal oidProd = (BigDecimal) \\n respuesta6.getValueAt(i6,\\\"PROD_OID_PROD\\\");\\n prodDescuento.setOidProducto((oidProd != null)\\n ? new Long(oidProd.longValue()) : null);\\n \\n prodDesc.add(prodDescuento);\\n }\\n }\\n \\n premioDescuento.setListaProductos(prodDesc);\\n \\n }\\n\\n salida.add(premioDescuento);\\n }\\n\\n // procesar premio puntaje\\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_PUNTUACION\\n .longValue()) {\\n UtilidadesLog.debug(\\\"Premio premioPuntos\\\");\\n\\n PremioPuntos premioPuntos = new PremioPuntos();\\n premioPuntos.setNivel(nivelPre);\\n premioPuntos.setTipoPremio(new Long(tipoPremioLeido));\\n // vbongiov -- 5/07/2006 -- inc 723\\n premioPuntos.setDescripcionTipoPremio(descTipoPremio);\\n premioPuntos.setPeriodoDeDespacho(periodoDespacho);\\n\\n BelcorpService bs6;\\n RecordSet respuesta6;\\n StringBuffer query6 = new StringBuffer();\\n\\n try {\\n bs6 = BelcorpService.getInstance();\\n } catch (MareMiiServiceNotFoundException e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\\n }\\n\\n try {\\n query6.append(\\\" SELECT \\\");\\n query6.append(\\\" VAL_CANT, \\\");\\n query6.append(\\\" NUM_PREM, \\\");\\n query6.append(\\\" COPA_OID_PARA_GRAL, \\\");\\n query6.append(\\\" VAL_PORC, \\\");\\n query6.append(\\\" TPPU_OID_TIPO_PREM_PUNT \\\");\\n query6.append(\\\" FROM INC_PREMI_PUNTO \\\");\\n query6.append(\\\" WHERE PANP_OID_PARA_NIVE_PREM = \\\" +\\n oidNivelPremiacion);\\n respuesta6 = bs6.dbService.executeStaticQuery(\\n query6.toString());\\n \\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"*** respuesta6: \\\" + respuesta6);\\n } catch (Exception e) {\\n UtilidadesLog.error(\\\"ERROR \\\", e);\\n throw new MareException(e,\\n UtilidadesError.armarCodigoError(\\n CodigosError\\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\\n }\\n\\n if (!respuesta6.esVacio()) {\\n {\\n BigDecimal cantidad = (BigDecimal)\\n respuesta6.getValueAt(0,\\\"VAL_CANT\\\");\\n premioPuntos.setCantidad((cantidad != null)\\n ? cantidad : new BigDecimal(0));\\n }\\n\\n premioPuntos.setNumeroPremio(new Long(\\n ((BigDecimal) respuesta6.getValueAt(0,\\n \\\"NUM_PREM\\\")).longValue()));\\n\\n //jrivas 26/7/2005\\n numPremio = premioPuntos.getNumeroPremio();\\n\\n premioPuntos.setOidConcursoDestino(new Long(\\n ((BigDecimal) respuesta6.getValueAt(0,\\n \\\"COPA_OID_PARA_GRAL\\\")).longValue()));\\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"premioPuntos.setOidConcursoDestino \\\" +\\n premioPuntos.getOidConcursoDestino());\\n premioPuntos.setPorcentaje((BigDecimal) \\n respuesta6.getValueAt(0, \\\"VAL_PORC\\\"));\\n premioPuntos.setOidTipoPremioPuntos(new Long(\\n ((BigDecimal) respuesta6.getValueAt(0,\\n \\\"TPPU_OID_TIPO_PREM_PUNT\\\")).longValue()));\\n }\\n\\n salida.add(premioPuntos);\\n }\\n\\n PremiosElegidosLocalHome premiosElegidosHome = this.getPremiosElegidosLocalHome();\\n\\n try {\\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \\n UtilidadesLog.debug(\\\"insertando PremiosElegidosLocal\\\");\\n UtilidadesLog.debug(\\\"numPremio : \\\" + numPremio);\\n UtilidadesLog.debug(\\\"clientePremiacion.getOidCliente(): \\\"+clientePremiacion.getOidCliente());\\n UtilidadesLog.debug(\\\"clientePremiacionConcurso.getOidConcurso() : \\\" +clientePremiacionConcurso.getOidConcurso());\\n UtilidadesLog.debug(\\\"oidNivelPremiacion : \\\" +oidNivelPremiacion);\\n } \\n\\n premiosElegidosHome.create(new Integer(numPremio\\n .intValue()), clientePremiacion.getOidCliente(),\\n clientePremiacionConcurso.getOidConcurso(),\\n new Long(oidNivelPremiacion),\\n new Date(System.currentTimeMillis()));\\n\\n } catch (PersistenceException ce) {\\n UtilidadesLog.error(\\\"ERROR \\\", ce);\\n throw new MareException(ce,\\n UtilidadesError.armarCodigoError(\\n CodigosError.ERROR_DE_ESCRITURA_EN_BASE_DE_DATOS));\\n }\\n\\n saldoPuntosAux = saldoPuntosAux - puntosLeidos;\\n }\\n }\\n\\n UtilidadesLog.info(\\\"DAOClientePremiacionConcurso.recuperarPremiosNivel\\\"\\n +\\\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso,\\\"\\n +\\\"ClientePremiacion clientePremiacion):Salida\\\");\\n\\n return salida;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa95ded365017b838e015c34e5a63250\",\n \"score\": \"0.5501381\",\n \"text\": \"@Override\\n public boolean addPartecipants(String idAttivita, String idPartecipante) {\\n FirebaseFirestore.getInstance().collection(DataFetch.EVENTI).document(idAttivita).get().addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(DocumentSnapshot documentSnapshot) {\\n Event event = documentSnapshot.toObject(Event.class);\\n if(event.getPartecipanti() != null){\\n partecipanti = event.getPartecipanti();\\n partecipanti.add(idPartecipante);\\n event.setPartecipanti(partecipanti);}\\n else{\\n partecipanti.add(idPartecipante);\\n event.setPartecipanti(partecipanti);}\\n event.setnMaxPartecipanti(event.getnMaxPartecipanti()-1);\\n event.updateEventToDatabase(idAttivita);\\n }\\n\\n });\\n\\n return true;\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48a65e8e7c0cd303748248d92c914280\",\n \"score\": \"0.5494958\",\n \"text\": \"public void substituir(EnderecoAvulso enderecoAvulso)\\n\\t{\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tenderecoAvulso.setUltimaAtualizacao(dataHoraCorrente());\\n\\t\\t\\tDocument documento = converter.paraDocumento(enderecoAvulso);\\n\\t\\t\\tcolecao.replaceOne(eq(\\\"_id\\\", documento.get(\\\"_id\\\")), documento);\\n\\t\\t}\\n\\t\\tcatch (Exception e)\\n\\t\\t{\\n\\t\\t\\tString msg = \\\"Erro na alteracao. log[\\\" + enderecoAvulso.getLogradouro() + \\\"].\\\";\\n\\t\\t\\tSystem.err.println(msg);\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\tthrow new RuntimeException(msg);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88d0e8987e4c5188a024c2ddfa6c314e\",\n \"score\": \"0.5491571\",\n \"text\": \"CuentaCliente findById(Integer numPoliza, Integer numConsignatario);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"602479579be9ac727a181128497c4048\",\n \"score\": \"0.5488811\",\n \"text\": \"public Boolean recibirRemitoEntrada(RemitoEntradaTO remitoEntrada, String usuarioSistema) {\\n\\t\\tlogger.info(\\\"Se recibio remito \\\" + remitoEntrada.getNroRemito() + \\\".\\\");\\n\\t\\t//Construyo entity RemitoEntrada\\n\\t\\tRemitoEntrada re = new RemitoEntrada();\\n\\t\\tre.setAnchoCrudo(remitoEntrada.getAnchoCrudo());\\n\\t\\tre.setAnchoFinal(remitoEntrada.getAnchoFinal());\\n\\t\\tre.setArticuloStock(remitoEntrada.getIdArticuloStock() == null ? null : artDAO.getReferenceById(remitoEntrada.getIdArticuloStock()));\\n\\t\\tre.setCliente(clienteDAO.getReferenceById(remitoEntrada.getIdCliente()));\\n\\t\\tre.setCondicionDeVenta(condVentaDAO.getReferenceById(remitoEntrada.getIdCondicionDeVenta()));\\n\\t\\tre.setEnPalet(remitoEntrada.getEnPalet());\\n\\t\\tre.setFechaEmision(new Date(remitoEntrada.getDateFechaEmision()));\\n\\t\\tre.setNroRemito(remitoEntrada.getNroRemito());\\n\\t\\tre.setPesoTotal(remitoEntrada.getPesoTotal());\\n\\t\\tre.setControl(remitoEntrada.getControl());\\n\\t\\tMap piezasRemitoMap = getPiezasRemitoMap(remitoEntrada.getPiezas());\\n\\t\\tre.getPiezas().addAll(piezasRemitoMap.values());\\n\\t\\tfor(Integer paId : remitoEntrada.getProductoArticuloIdsList()) {\\n\\t\\t\\tre.getProductoArticuloList().add(paDAO.getReferenceById(paId));\\n\\t\\t}\\n\\t\\t//Construyo entitys ODT\\n\\t\\tList transiciones = new ArrayList();\\n\\t\\tList odtList = new ArrayList();\\n\\t\\tfor(ODTEagerTO odtTO : remitoEntrada.getOdts()) {\\n\\t\\t\\tOrdenDeTrabajo odt = new OrdenDeTrabajo();\\n\\t\\t\\todt.setAvance(EAvanceODT.getById(odtTO.getIdAvance()));\\n\\t\\t\\todt.setCodigo(odtTO.getCodigo());\\n\\t\\t\\t//el estado más problable es EN_OFICINA que significa que del otro lado tenía RemitoDeSalida (ver llamada OrdenDeTrabajoFacade.cambiarODTAOficina) si es así => se cambia a EN_PROCESO (estado anterior)\\n\\t\\t\\t//caso contrario se deja el estado que tenía\\n\\t\\t\\todt.setEstadoODT(odtTO.getIdEstadoODT() == EEstadoODT.EN_OFICINA.getId() ? EEstadoODT.EN_PROCESO : EEstadoODT.getById(odtTO.getIdEstadoODT()));\\n\\t\\t\\todt.setFechaODT(new Timestamp(odtTO.getTimestampFechaODT()));\\n\\t\\t\\todt.setMaquinaActual(odtTO.getIdMaquinaActual() == null ? null : maqDAO.getReferenceById(odtTO.getIdMaquinaActual()));\\n\\t\\t\\todt.setMaquinaPrincipal(odtTO.getIdMaquinaPrincipal() == null ? null : maqDAO.getReferenceById(odtTO.getIdMaquinaPrincipal()));\\n\\t\\t\\todt.setOrdenEnMaquina(odtTO.getOrdenEnMaquina());\\n\\t\\t\\todt.setProductoArticulo(paDAO.getReferenceById(odtTO.getIdProductoArticulo()));\\n\\t\\t\\todt.setRemito(re);\\n\\t\\t\\todt.getPiezas().addAll(getPiezasODT(odt, odtTO.getPiezas(), piezasRemitoMap));\\n\\t\\t\\todt.setSecuenciaDeTrabajo(secuenciaODTFromTO(odt, odtTO.getSecuenciaDeTrabajo()));\\n\\t\\t\\todtList.add(odt);\\n\\t\\t\\ttransiciones.addAll(transicionesEntityFromTOWSList(odt, odtTO.getTransiciones()));\\n\\t\\t\\t\\n\\t\\t\\t//de nuevo, si estado anterior es EN_OFICINA => estoy trayendo una transición de más, que es el pasaje a EN_OFICINA\\n\\t\\t\\t//rastreo esa transición (es la última) y no la incluyo en la lista de transiciones a grabar\\n\\t\\t\\tif(odtTO.getIdEstadoODT() == EEstadoODT.EN_OFICINA.getId() && !transiciones.isEmpty()) {\\n\\t\\t\\t\\tList transicionesTmp = new ArrayList();\\n\\t\\t\\t\\tfor(int i=0; i < transiciones.size()-1; i++) {//recorro todas menos la última\\n\\t\\t\\t\\t\\ttransicionesTmp.add(transiciones.get(i));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttransiciones.clear();\\n\\t\\t\\t\\ttransiciones.addAll(transicionesTmp);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//y ahora para dejar todo consistente debo setear la máq. de la última transición ya que eso determina el estado de la ODT dentro de visión general\\n\\t\\t\\t\\tif(!transiciones.isEmpty()) {\\n\\t\\t\\t\\t\\tTransicionODT ultTransicion = transiciones.get(transiciones.size() - 1);\\n\\t\\t\\t\\t\\tif(ultTransicion.getMaquina() != null) {\\n\\t\\t\\t\\t\\t\\todt.setMaquinaActual(ultTransicion.getMaquina());\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t//Construyo las Transiciones\\n\\t\\tremitoEntradaFacade.saveWithTransiciones(re, odtList, transiciones, usuarioSistema);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d62cdc1ff595a2c0358c82747967bf\",\n \"score\": \"0.5488741\",\n \"text\": \"Ingrediente createIngrediente();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e6e4f3290c6cd6f21f89385eab245c3\",\n \"score\": \"0.54867995\",\n \"text\": \"@PostMapping(\\\"/enderecos\\\")\\n @ApiOperation(value=\\\"Cria um objeto do tipo Endereço\\\")\\n public ResponseEntity createEndereco(@RequestBody Endereco endereco) throws URISyntaxException {\\n log.debug(\\\"REST request to save Endereco : {}\\\", endereco);\\n if (endereco.getId() != null) {\\n \\t return ResponseEntity.notFound().build();\\n }\\n Endereco result = enderecoRepository.save(endereco);\\n return ResponseEntity.created(new URI(\\\"/api/enderecos/\\\" + result.getId()))\\n .body(result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ff1d25b432060b4bd5e683a646a04e0\",\n \"score\": \"0.54838914\",\n \"text\": \"public void registrar(){\\n\\t\\tSystem.out.println(\\\"Proveedor !!!\\\");\\n\\t\\t//invocar el servicio\\n\\t\\tProveedor proveedor=getProveedor();\\n\\t\\tproveedorService.insertProveedor(proveedor);\\n\\t\\t//limpia los valores del objeto\\n\\t\\tsetProveedor(new Proveedor());\\n\\t\\t//se actualiza los valores de la tabla\\n\\t\\tsetlistaProveedor(proveedorService.findAllProveedor());\\n\\t\\tgetlistaProveedor();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7005344cfd17cb204847103f40cf1c1f\",\n \"score\": \"0.54829764\",\n \"text\": \"@Transactional\\r\\npublic interface ClienteRepository extends JpaRepository {\\r\\n\\r\\n Cliente findByUsuarioActivacionAndEstatus(Usuario usuario_activacion, String estatus);\\r\\n Cliente findOneByIdclienteAndEstatus(Long id, String estatus);\\r\\n Cliente findOneByIdcliente(Long id);\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3400c53a7290db9090815daa8336a5a4\",\n \"score\": \"0.5480115\",\n \"text\": \"public RetencionVentaLogic()throws SQLException,Exception {\\r\\n\\t\\tsuper();\\r\\n\\t\\t\\r\\n\\t\\ttry\\t{\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\tthis.retencionventaDataAccess = new RetencionVentaDataAccess();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tthis.retencionventas= new ArrayList();\\r\\n\\t\\t\\tthis.retencionventa= new RetencionVenta();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tthis.retencionventaObject=new Object();\\r\\n\\t\\t\\tthis.retencionventasObject=new ArrayList();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t/*\\r\\n\\t\\t\\tthis.connexion=new Connexion();\\r\\n\\t\\t\\tthis.datosCliente=new DatosCliente();\\r\\n\\t\\t\\tthis.arrDatoGeneral= new ArrayList();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//INICIALIZA PARAMETROS CONEXION\\r\\n\\t\\t\\tthis.connexionType=Constantes.CONNEXIONTYPE;\\r\\n\\t\\t\\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\\r\\n\\t\\t\\t\\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tthis.datosDeep=new DatosDeep();\\r\\n\\t\\t\\tthis.isConDeep=false;\\r\\n\\t\\t\\t*/\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tthis.retencionventaDataAccess.setConnexionType(this.connexionType);\\r\\n\\t\\t\\tthis.retencionventaDataAccess.setParameterDbType(this.parameterDbType);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tthis.invalidValues=new InvalidValue[0];\\r\\n\\t\\t\\tthis.stringBuilder=new StringBuilder();\\r\\n\\t\\t\\tthis.conMostrarMensajesStringBuilder=true;\\r\\n\\t\\t\\t\\r\\n\\t\\t} catch(Exception e) {\\r\\n\\t\\t\\tFunciones.manageException(logger,e);\\r\\n\\t\\t\\tthrow e;\\r\\n\\t\\t}\\t \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6eb00c40ad2e2f629e074b17b6740411\",\n \"score\": \"0.5478858\",\n \"text\": \"private PorraRellenada convertirPorraAPorraRellenada(Porra porra) {\\r\\n\\t\\tPorraRellenada result = new PorraRellenada();\\r\\n\\t\\tresult.setPorra(porra);\\r\\n\\t\\tPartidoRellenado partidoRellenado;\\r\\n\\t\\tList partidosRellenados = new ArrayList();\\r\\n\\t\\tfor (Partido partido : porra.getPartidos()) {\\r\\n\\t\\t\\tpartidoRellenado = new PartidoRellenado();\\r\\n\\t\\t\\tpartidoRellenado.setLocal(partido.getLocal());\\r\\n\\t\\t\\tpartidoRellenado.setOrdinal(partido.getOrdinal());\\r\\n\\t\\t\\tpartidoRellenado.setVisitante(partido.getVisitante());\\r\\n\\t\\t\\tpartidosRellenados.add(partidoRellenado);\\r\\n\\t\\t}\\r\\n\\t\\tresult.setPartidosRellenados(partidosRellenados);\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"874f408b254814c704f4dec3a90c34d9\",\n \"score\": \"0.54741615\",\n \"text\": \"@Override\\n\\tpublic Residuo registrarResiduo(Residuo residuo) {\\n\\t\\treturn residuoDao.save(residuo);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67651345f1dae61bd533539f004dd690\",\n \"score\": \"0.54733044\",\n \"text\": \"@Override\\r\\n\\tpublic Resultado aprobarDocumentoTecnico(EvaluacionDocumentoResponse item, TransactionRequest request)\\r\\n\\t\\t\\tthrows Exception {\\n\\t\\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\\r\\n\\t\\tDate dateUpdate = new Date();\\r\\n\\t\\tInteger idDocumento;\\r\\n\\t\\t/*\\r\\n\\t\\t * if\\r\\n\\t\\t * (item.getIdcatalogotiponecesidad().equals(Constantes.tipoNecesidad.\\r\\n\\t\\t * TIPO_NECESIDAD_PROGRAMADO)) { Pacprogramado programado =\\r\\n\\t\\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.getIdPacProgramado()\\r\\n\\t\\t * ); programado.setEstado(Constantes.estadosPorEtapa.\\r\\n\\t\\t * DOCUMENTO_TECNICO_APROBADO);\\r\\n\\t\\t * programado.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\t * programado.setUsuariomodificacionauditoria(request.\\r\\n\\t\\t * getUsuarioAuditoria());\\r\\n\\t\\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t * \\r\\n\\t\\t * idDocumento = programado.getIdpacprogramado();\\r\\n\\t\\t * pacprogramadoMapper.updateByPrimaryKey(programado); } else { Pedido\\r\\n\\t\\t * pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\\r\\n\\t\\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\\r\\n\\t\\t * DOCUMENTO_TECNICO_APROBADO);\\r\\n\\t\\t * pedido.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\\r\\n\\t\\t * ;\\r\\n\\t\\t * \\r\\n\\t\\t * idDocumento = pedido.getIdpedido();\\r\\n\\t\\t * pedidoMapper.updateByPrimaryKey(pedido); }\\r\\n\\t\\t */\\r\\n\\t\\t// SE UTILIZA LA MISMA TABLA PARA PROGRAMADOS Y NO PROGRAMDOS, tabla de\\r\\n\\t\\t// pedido\\r\\n\\t\\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\\r\\n\\t\\tpedido.setEstadopedido(Constantes.estadosPorEtapa.DOCUMENTO_TECNICO_APROBADO);\\r\\n\\t\\tpedido.setFechamodificacionauditoria(dateUpdate);\\r\\n\\t\\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\\r\\n\\r\\n\\t\\tidDocumento = pedido.getIdpedido();\\r\\n\\t\\tpedidoMapper.updateByPrimaryKey(pedido);\\r\\n\\r\\n\\t\\t// Insertamos históricos de estados\\r\\n\\t\\tEstadosportipodocumento param = new Estadosportipodocumento();\\r\\n\\t\\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\\r\\n\\t\\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.DOCUMENTO_TECNICO_APROBADO);\\r\\n\\t\\t// Estadosportipodocumento estados =\\r\\n\\t\\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\\r\\n\\t\\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\\r\\n\\t\\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\\r\\n\\t\\tif (estado != null) {\\r\\n\\t\\t\\tjava.util.Date date = new java.util.Date();\\r\\n\\t\\t\\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\\r\\n\\t\\t\\trecord.setNrodocumento(idDocumento); // item.getIdpedido()\\r\\n\\t\\t\\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\\r\\n\\t\\t\\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\\r\\n\\t\\t\\trecord.setFechaingreso(date);\\r\\n\\t\\t\\trecord.setFechacreacionauditoria(date);\\r\\n\\t\\t\\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\trecord.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\r\\n\\t\\t\\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\trecord.setIdestadosporetapapordocumento(\\r\\n\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\testadosporetapapordocumentoMapper.insert(record);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dc315100b50fe43673547242d034c37\",\n \"score\": \"0.5472137\",\n \"text\": \"@Override\\t\\n\\tpublic List retornar() {\\n\\t\\treturn docenteDao.retornar();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85323ebc836211daa6451fef2adc3bb3\",\n \"score\": \"0.5471021\",\n \"text\": \"public void apresentarResumo();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4a4f2b33ac38315cfa1e2ec5d59ea91\",\n \"score\": \"0.546761\",\n \"text\": \"@Test\\n public void findTest()\\n {\\n ResenaEntity entity = data.get(0);\\n ResenaEntity newEntity = resenaPersistence.find(entity.getId());\\n Assert.assertNotNull(newEntity);\\n Assert.assertEquals(entity.getId(), newEntity.getId());\\n Assert.assertEquals(entity.getCalificacion(), newEntity.getCalificacion());\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64e0dfe11a020961e428d0b8abfa6118\",\n \"score\": \"0.54642266\",\n \"text\": \"boolean insertarTransaccionContable(\\n contabilidad.entity.ConContable conContable,\\n java.util.List listaConDetalle,\\n sistemaWeb.entity.SisSuceso sisSuceso,\\n contabilidad.entity.ConNumeracion conNumeracion,\\n java.util.List rhAnticipos,\\n rrhh.entity.RhPrestamo rhPrestamo,\\n rrhh.entity.RhVacaciones rhVacaciones,\\n rrhh.entity.RhViatico rhViatico,\\n java.util.List rhBonos,\\n java.util.List rhRoles,\\n java.util.List rhXiiiSueldos,\\n java.util.List rhXivSueldos,\\n java.util.List rhUtilidades,\\n rrhh.entity.RhSalarioDigno rhSalarioDigno,\\n boolean provisiones,\\n rrhh.entity.RhEmpleado rhEmpleado,\\n cartera.entity.CarPagos carPagos,\\n java.util.List carPagosDetalleAnticiposes,\\n java.util.List carPagosDetalleCompras,\\n java.util.List carPagosDetalleFormas,\\n inventario.entity.InvCompras invCompras,\\n cartera.entity.CarCobros carCobros, \\n java.util.List carCobrosDetalleAnticiposes, \\n java.util.List carCobrosDetalleVentas, \\n java.util.List carCobrosDetalleFormas,\\n java.util.List invVentas,\\n cartera.entity.CarPagosAnticipos carPagosAnticipos,\\n cartera.entity.CarCobrosAnticipos carCobrosAnticipos,\\n banco.entity.BanCheque banCheque, \\n sistema.TO.SisInfoTO sisInfoTO) throws java.lang.Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebe15a487735ed30c5ffbc1f6d49d5a3\",\n \"score\": \"0.5457984\",\n \"text\": \"public Vendedor obtenerVendedorPorCodigo(long codigoVendedor) {\\n Vendedor vendedor = new Vendedor();\\n\\n // Consulta para realizar en base de datos\\n MapSqlParameterSource map = new MapSqlParameterSource();\\n map.addValue(\\\"codigo\\\", codigoVendedor);\\n SqlRowSet sqlRowSet = springDbMgr.executeQuery(\\\"select vendedor.codigo codigo, \\\"\\n + \\\" vendedor.nombre nombre, \\\"\\n + \\\" vendedor.apellido apellido, \\\"\\n + \\\" vendedor.direccion direccion, \\\"\\n + \\\" vendedor.telefono telefono, \\\"\\n + \\\" vendedor.fechaNacimiento fechaNacimiento, \\\"\\n + \\\" vendedor.fechaIngreso fechaI, \\\"\\n + \\\" vendedor.idTienda idTienda \\\"\\n \\n + \\\"from vendedor \\\"\\n + \\\"ORDER BY vendedor.codigo desc\\\");\\n\\n // Consulto si el vendedor existe\\n if (sqlRowSet.next()) {\\n // Almaceno los datos de la tienda\\n vendedor.setCodigo(sqlRowSet.getInt(\\\"codigo\\\"));\\n vendedor.setNombre(sqlRowSet.getString(\\\"nombre\\\"));\\n vendedor.setApellido(sqlRowSet.getString(\\\"apellido\\\"));\\n vendedor.setDireccion(sqlRowSet.getString(\\\"direccion\\\"));\\n vendedor.setTelefono(sqlRowSet.getString(\\\"telefono\\\"));\\n vendedor.setFechaNacimiento(sqlRowSet.getDate(\\\"fechaNacimiento\\\"));\\n vendedor.setFechaIngreso(sqlRowSet.getDate(\\\"fechaI\\\"));\\n vendedor.setNombreTienda(sqlRowSet.getInt(\\\"idTienda\\\"));\\n \\n }\\n\\n // Retorna el vendedor desde base de datos\\n return vendedor;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"763a7e1f575999915f851fba98613cbd\",\n \"score\": \"0.5455378\",\n \"text\": \"public void consultarRadicarExcepcion() {\\n LOGGER.debug(\\\"RadicarExcepcionMB::consultarRadicarExcepcion()\\\");\\n ConsultaSeguimientoHolderFL consultaSegHolderFL = findFlowObject(ConsultaSeguimientoHolderFL.class,\\n ConsultaSeguimientoHolderFL.NOMBRE_BEAN);\\n RadicarExcepcionFL radicarExcepcionFL = findFlowObject(RadicarExcepcionFL.class,\\n RadicarExcepcionFL.NOMBRE_BEAN);\\n radicarExcepcionFL.getRegistroRadicarExcepcionDTO().setRadicarExcepcionDTO(\\n iRCoactivo.consultarRadicarExcepcion(consultaSegHolderFL.getSegSeleccionado().getIdCoactivo()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8da315f3bd9dc0998ced4bd2b2698a50\",\n \"score\": \"0.5455221\",\n \"text\": \"private static void registrarAuditoriaDetallesDetalleAsientoContable(Connexion connexion,DetalleAsientoContable detalleasientocontable)throws Exception {\\n\\t\\t\\r\\n\\t\\tString strValorActual=null;\\r\\n\\t\\tString strValorNuevo=null;\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_empresa().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_empresa()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_empresa().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_sucursal().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_sucursal()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_sucursal().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDSUCURSAL,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_asiento_contable().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_asiento_contable()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_asiento_contable().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDASIENTOCONTABLE,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getnumero_documento().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getnumero_documento()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getnumero_documento() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.NUMERODOCUMENTO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_ejercicio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_ejercicio()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_ejercicio().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDEJERCICIO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_periodo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_periodo()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_periodo().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDPERIODO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_anio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_anio()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_anio().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDANIO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_mes().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_mes()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_mes().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDMES,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_cuenta_contable().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_cuenta_contable()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_cuenta_contable().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCUENTACONTABLE,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdebito_local().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getdebito_local()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getdebito_local().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DEBITOLOCAL,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcredito_local().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getcredito_local()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getcredito_local().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CREDITOLOCAL,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdebito_extran().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getdebito_extran()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getdebito_extran().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DEBITOEXTRAN,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcredito_extran().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getcredito_extran()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getcredito_extran().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CREDITOEXTRAN,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_centro_actividad().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_centro_actividad()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_centro_actividad().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCENTROACTIVIDAD,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_centro_costo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_centro_costo()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_centro_costo().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCENTROCOSTO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcotizacion().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getcotizacion()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getcotizacion().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.COTIZACION,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdetalle().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getdetalle()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getdetalle() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DETALLE,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_tipo_cambio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getid_tipo_cambio()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getid_tipo_cambio().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDTIPOCAMBIO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcon_centro_costo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getcon_centro_costo()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getcon_centro_costo().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CONCENTROCOSTO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getfecha().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getfecha()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getfecha()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getfecha().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getfecha()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getfecha().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.FECHA,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getnumero_deposito().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(detalleasientocontable.getnumero_deposito()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=detalleasientocontable.getnumero_deposito() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.NUMERODEPOSITO,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddab0bf49a64efddd7bd845f9afa0f50\",\n \"score\": \"0.5455173\",\n \"text\": \"public void gravarPersistencia(String registro){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d799f01e7873178ffe39b3a56c2f957\",\n \"score\": \"0.5453954\",\n \"text\": \"public RespuestaBD crearRegistro(int idActividad, int idUsuario, int codigoPoa, String estado, String usuarioInsercion) {\\n/* 270 */ RespuestaBD rta = new RespuestaBD();\\n/* */ \\n/* */ try {\\n/* 273 */ String s = \\\"insert into POA_ACTIVIDAD_RESPONSABLE(id_actividad,id_usuario,codigo_poa,estado,fecha_insercion,usuario_insercion) values (\\\" + idActividad + \\\",\\\" + \\\"\\\" + idUsuario + \\\",\\\" + \\\"\\\" + codigoPoa + \\\",\\\" + \\\"'\\\" + estado + \\\"',\\\" + \\\"\\\" + Utilidades.getFechaBD() + \\\",\\\" + \\\"'\\\" + usuarioInsercion + \\\"'\\\" + \\\")\\\";\\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* 288 */ rta = this.dat.executeUpdate2(s);\\n/* */ }\\n/* 290 */ catch (Exception e) {\\n/* 291 */ e.printStackTrace();\\n/* 292 */ Utilidades.writeError(\\\"%PoaActividadResponsableDAO:crearRegistro \\\", e);\\n/* 293 */ rta.setMensaje(e.getMessage());\\n/* */ } \\n/* 295 */ return rta;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e02194e7584444c65c7b7bc58c8f12\",\n \"score\": \"0.544553\",\n \"text\": \"@Override\\r\\n\\tpublic Resultado derivarExpediente(TransactionRequest request) throws Exception {\\n\\t\\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\\r\\n\\t\\tPacConsolidadoDto pac = request.getEntityTransaction();\\r\\n\\t\\tPacconsolidado pacEdit = pacconsolidadoMapper.selectByPrimaryKeyBasic(pac.getIdPacConsolidado());\\r\\n\\t\\tif (pacEdit != null) {\\r\\n\\t\\t\\tpacEdit.setFechaaprobacionexpediente(new Date());\\r\\n\\t\\t\\tpacEdit.setEstadorequerimiento(Constantes.estadosPorEtapa.REMITIDO_A_PROCESOS);\\r\\n\\t\\t\\tpacconsolidadoMapper.updateByPrimaryKey(pacEdit);\\r\\n\\r\\n\\t\\t\\t// STATUS: REMITIDO_A_PROCESOS\\r\\n\\t\\t\\tEstadosportipodocumento param = new Estadosportipodocumento();\\r\\n\\t\\t\\tparam.setIdtipodocumento(Constantes.tipoDocumento.PROCESO);\\r\\n\\t\\t\\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.REMITIDO_A_PROCESOS);\\r\\n\\r\\n\\t\\t\\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\\r\\n\\t\\t\\tif (estado != null) {\\r\\n\\t\\t\\t\\tjava.util.Date date = new java.util.Date();\\r\\n\\t\\t\\t\\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\\r\\n\\t\\t\\t\\trecord.setNrodocumento(pac.getIdPacConsolidado());\\r\\n\\t\\t\\t\\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\\r\\n\\t\\t\\t\\trecord.setFechaingreso(date);\\r\\n\\t\\t\\t\\trecord.setFechacreacionauditoria(date);\\r\\n\\t\\t\\t\\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\\r\\n\\t\\t\\t\\trecord.setEquipoauditoria(request.getEquipoAuditoria());\\r\\n\\t\\t\\t\\trecord.setIdestadosporetapapordocumento(\\r\\n\\t\\t\\t\\t\\t\\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\\r\\n\\r\\n\\t\\t\\t\\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\\r\\n\\t\\t\\t\\testadosporetapapordocumentoMapper.insert(record);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9807db146c0bc42d10fc8dec3c76e7c8\",\n \"score\": \"0.5434085\",\n \"text\": \"int insert(SupervisorEntidad record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b8fa854df0ecb145a952e0521c3f42c\",\n \"score\": \"0.543375\",\n \"text\": \"public IngresoEgreso(){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8ce7907ebe641119d59c955a32955bc\",\n \"score\": \"0.5430562\",\n \"text\": \"private void readWriteData() throws Exception {\\n\\t\\t// create an instance of Resolucao\\n\\t\\tResolucao resolucao = new Resolucao();\\n\\t\\tresolucao.setPassos(\\\"\\\");\\n\\n\\t\\t// persist the account object to the database\\n\\t\\t\\t\\t\\n\\t\\tList resolucoes = resolucaoDao.queryForAll();\\n\\t\\t\\t\\t\\t\\t\\n\\t\\tfor(Resolucao res: resolucoes){\\n\\t\\t\\tSystem.out.println(\\\"Resolucao \\\"+res.getId()+\\\": \\\"+res.getPassos());\\t\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d185d876775def0767cf7c2162ebc532\",\n \"score\": \"0.54262453\",\n \"text\": \"@RooService(entity = Budynek.class)\\npublic interface BudynekService extends EntityResolver, ValidatorService {\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param id\\n * @return Budynek\\n */\\n public abstract Budynek findOne(Long id);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param budynek\\n */\\n public abstract void delete(Budynek budynek);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param entities\\n * @return List\\n */\\n public abstract List save(Iterable entities) throws PSQLException;\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param ids\\n */\\n public abstract void delete(Iterable ids);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param entity\\n * @return Budynek\\n */\\n public abstract Budynek save(Budynek entity) throws PSQLException;\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param id\\n * @return Budynek\\n */\\n public abstract Budynek findOneForUpdate(Long id);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param ids\\n * @return List\\n */\\n public abstract List findAll(Iterable ids);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @return List\\n */\\n public abstract List findAll();\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @return Long\\n */\\n public abstract long count();\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param globalSearch\\n * @param pageable\\n * @return Page\\n */\\n public abstract Page findAll(GlobalSearch globalSearch, Pageable pageable);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param ids\\n * @param globalSearch\\n * @param pageable\\n * @return Page\\n */\\n public abstract Page findAllByIdsIn(List ids, GlobalSearch globalSearch, Pageable pageable);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param budynek\\n * @param saleToAdd\\n * @return Budynek\\n */\\n public abstract Budynek addToSale(Budynek budynek, Iterable saleToAdd);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param budynek\\n * @param saleToRemove\\n * @return Budynek\\n */\\n public abstract Budynek removeFromSale(Budynek budynek, Iterable saleToRemove);\\n\\n /**\\n * TODO Auto-generated method documentation\\n *\\n * @param budynek\\n * @param sale\\n * @return Budynek\\n */\\n public abstract Budynek setSale(Budynek budynek, Iterable sale);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f0464cd1bb3a4e687dd08752abf37e7\",\n \"score\": \"0.5420553\",\n \"text\": \"int insert(Pincidencia record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6bcf6cee4d08f55df08d08a77b902e9\",\n \"score\": \"0.54176694\",\n \"text\": \"@Override\\n public Entity getEspecificList(Entity e) throws SQLException {\\n\\n ListaDeReproduccion lista = (ListaDeReproduccion) e;\\n Integer idListaBuscada = lista.getIdLista();\\n CallableStatement preStatement = null;\\n ResultSet resultSet = null;\\n Connection conn;\\n\\n try {\\n //Creando la instancia de Conexion a la BD\\n conn = getBdConnect();\\n //Invocando el SP\\n preStatement = conn.prepareCall(\\\"{call m05_obtenerlistaespecifica(?)}\\\"); //HAY QUE AGREGAR ESTE METODO A POSTGRE\\n //Seteo lo que le estoy mandando al procedimiento con ese \\\"?\\\"\\n preStatement.setInt(1,idListaBuscada);\\n //Ejecucion del query\\n resultSet = preStatement.executeQuery();\\n while (resultSet.next()) {\\n\\n int idLista = resultSet.getInt(\\\"LIS_REP_ID\\\");\\n String nombre = resultSet.getString(\\\"LIS_REP_NOMBRE\\\");\\n String descripcion = resultSet.getString(\\\"LIS_REP_DESCRIPCION\\\");\\n String imagen = resultSet.getString(\\\"LIS_REP_IMG\\\");\\n String fechaCreacion = resultSet.getString(\\\"LIS_REP_FECHA\\\");\\n int numReproducciones = resultSet.getInt(\\\"LIS_REP_NUMREP\\\");\\n int idUsuario = resultSet.getInt(\\\"id_usu\\\");\\n\\n lista = (ListaDeReproduccion) EntityFactory.listaDeReproduccion(idLista, nombre, descripcion, imagen, numReproducciones, fechaCreacion, idUsuario);\\n\\n }\\n resultSet.close();\\n\\n } catch (SQLException e1) {\\n //throw new ViUcabException(e1.mensaje, e1.codigo);\\n\\n System. out. println(e1.getMessage());\\n }\\n catch(Exception ex)\\n {\\n //throw new ViUcabException(e1.mensaje, e1.codigo);\\n }\\n finally {\\n closeConnection();\\n }\\n return lista;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bc411aa3d54f26225c1aa6a6cf2d768\",\n \"score\": \"0.5414311\",\n \"text\": \"public boolean agregaVenta(Venta venta) {\\n\\n\\t\\tint llave;\\n\\n\\t\\ttry {\\n\\t\\t\\t// Crea el statement\\n\\t\\t\\t//Statement statement = ManejadorBD.dameConnection().createStatement();\\n\\t\\t\\tquery=\\\"insert into Ventas values (DEFAULT,'\\\"+venta.dameNombreCliente()+\\\"','\\\"+venta.dameApellidoCliente()+\\\"','\\\"+venta.dameFechaInicio()+\\\"',\\\"+venta.dameTipoPago()+\\\",\\\"+venta.damePagoTotal()+\\\")\\\";\\n\\t\\t\\t// Envia instruccion SQL, nota el DEFAULT es para insertar la llave \\n\\t\\t\\t//statement.execute(\\\"insert into Ventas values (DEFAULT,'\\\"+venta.dameNombreCliente()+\\\"','\\\"+venta.dameApellidoCliente()+\\\"','\\\"+venta.dameFechaInicio()+\\\"',\\\"+venta.dameTipoPago()+\\\",\\\"+venta.damePagoTotal()+\\\")\\\",Statement.RETURN_GENERATED_KEYS);\\n\\t\\t\\t//ResultSet rs = statement.getGeneratedKeys(); // Recupera la llave\\n\\t\\t\\tconexion.ejecutarSQL(query);\\n\\t\\t\\tquery=\\\"select * from Apartados\\\";\\n\\t\\t\\trs=conexion.ejecutarSQLSelect(query);\\n\\t\\t\\tif (rs != null && rs.next()) {\\n\\t\\t\\t llave = rs.getInt(1);\\n\\t\\t\\t venta.cambiaId(llave); // Asigna la llave al producto\\n\\t\\t\\t System.out.println(\\\"venta agregada\\\");\\n\\t\\t\\t}\\n\\t\\t\\treturn true;\\n\\t\\t} catch (SQLException e) {\\n\\n\\t\\t\\t// Cacha excepcion\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b1718eff6bfd38a61c75402b70093fe\",\n \"score\": \"0.5406229\",\n \"text\": \"public Empresa save(Empresa empresa);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7857a7aecf0c3e8b757096a653c060e3\",\n \"score\": \"0.54061776\",\n \"text\": \"public Result save(String cep, String solicitacaoBairro, String solicitacaoEndereco, String solicitacaoDescricao, String enderecoReferencia)\\r\\n\\t{\\n\\t\\t\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\t/*\\r\\n\\t\\t\\tString cep = resultado.get(\\\"cep\\\").asText();\\r\\n\\t\\t\\tString solicitacaoBairro = resultado.get(\\\"solicitacaoBairro\\\").asText();\\r\\n\\t\\t\\tString solicitacaoEndereco = resultado.get(\\\"solicitacaoEndereco\\\").asText();\\r\\n\\t\\t\\tString solicitacaoDescricao = resultado.get(\\\"solicitacaoDescricao\\\").asText();\\r\\n\\t\\t\\tString enderecoReferencia = resultado.get(\\\"enderecoReferencia\\\").asText(); \\r\\n\\t\\t\\tint statusAux = resultado.get(\\\"status\\\").intValue();\\r\\n\\t\\t\\tSTATUS status = STATUS.values()[statusAux];\\r\\n\\t\\t\\tFloat latitude = resultado.get(\\\"latitude\\\").floatValue();\\r\\n\\t\\t\\tFloat longitude = resultado.get(\\\"longitude\\\").floatValue();\\r\\n\\t\\t\\tLong processoNumero = resultado.get(\\\"processoNumero\\\").longValue();\\r\\n\\t\\t\\tDate dataSolicitacao = Date.valueOf(resultado.get(\\\"dataSolicitacao\\\").asText());\\r\\n\\t\\t\\tDate dataAceitacao = Date.valueOf(resultado.get(\\\"dataAceitacao\\\").asText());\\r\\n\\t\\t\\tint riscoAux = resultado.get(\\\"risco\\\").intValue();\\r\\n\\t\\t\\tRISCO risco = RISCO.values()[riscoAux];\\r\\n\\t\\t\\tLong avaliadorID = resultado.get(\\\"avaliadorID\\\").asLong();\\r\\n\\t\\t\\t*/\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tPontoRisco ponto = new PontoRisco(cep, solicitacaoBairro, solicitacaoEndereco, solicitacaoDescricao, enderecoReferencia);\\r\\n\\t\\t\\tponto.save();\\r\\n\\t\\t\\treturn ok(Json.toJson(ponto));\\r\\n\\t\\t}\\r\\n\\t\\tcatch(Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\treturn null;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b46f416b503f908efdc8f31840d488d6\",\n \"score\": \"0.5405346\",\n \"text\": \"public RestauranteEntity getRestaurante(String nombre, String nit) {\\n LOGGER.log(Level.INFO, \\\"Inicia proceso de consultar un restaurante del evento con nombre = {0}\\\", nombre);\\n List list = getEvento(nombre).getRestaurantes();\\n RestauranteEntity entity = new RestauranteEntity();\\n entity.setNit(nit);\\n int index = list.indexOf(entity);\\n if (index >= 0) {\\n return list.get(index);\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cddc28a83eff98097dace797957e708\",\n \"score\": \"0.5405269\",\n \"text\": \"private void calificar() throws Exception{\\n pagina(\\\"salidaGenerica\\\");\\n \\n DTOComunicarParticipantes dto = new DTOComunicarParticipantes();\\n \\n String clientes = conectorParametroLimpia(\\\"oidClientes\\\", \\\"\\\", true);\\n String posiciones = conectorParametroLimpia(\\\"posiciones\\\", \\\"\\\", true);\\n traza(\\\"las posiciones \\\" + posiciones);\\n ArrayList oidsClientes = new ArrayList();\\n ArrayList numPosiciones = new ArrayList();\\n \\n StringTokenizer tokTemp = new StringTokenizer(clientes, \\\",\\\");\\n StringTokenizer tokTempPos = new StringTokenizer(posiciones, \\\",\\\");\\n \\n while (tokTemp.hasMoreTokens()) {\\n oidsClientes.add( new Long(tokTemp.nextToken()));\\n }\\n \\n while (tokTempPos.hasMoreTokens()) {\\n numPosiciones.add( new Long(tokTempPos.nextToken()));\\n }\\n \\n \\n dto.setClientes((Long[])oidsClientes.toArray(new Long[oidsClientes.size()]));\\n dto.setPosicion((Long[])numPosiciones.toArray(new Long[numPosiciones.size()]));\\n dto.setOidPais(UtilidadesSession.getPais(this));\\n\\t dto.setOidIdioma(UtilidadesSession.getIdioma(this));\\n dto.setOidConcurso(new Long(conectorParametroLimpia(\\\"oidConcurso\\\", \\\"\\\", true)));\\n dto.setOidTipoPremio(new Long(conectorParametroLimpia(\\\"oidTipoPremio\\\", \\\"\\\", true)));\\n dto.setOidNivelPremiacion(new Long(conectorParametroLimpia(\\\"oidNivelPremiacion\\\", \\\"\\\", true)));\\n \\n traza(\\\"el dto: \\\" + dto);\\n MareBusinessID id = new MareBusinessID(\\\"INCCalificar\\\");\\n Vector vec = new Vector();\\n \\n vec.add(dto);\\n vec.add(id);\\n \\n DruidaConector con;\\n \\n con = conectar(\\\"ConectorCalificar\\\", vec);\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d4f88c0900c7237a296cfc3c2d50b88\",\n \"score\": \"0.5395917\",\n \"text\": \"@Transactional\\n\\tpublic Reserva_servicio create(Reserva_servicio rs) {\\n\\t\\treturn this.rsRepository.save(rs);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92c42ae95a7c531f11e274e2a799bd9c\",\n \"score\": \"0.53895074\",\n \"text\": \"private void citireInregistrari() {\\n \\n try {\\n //Step 2: Inregistrarea driverului JDBC\\n Class.forName(\\\"org.mariadb.jdbc.Driver\\\");\\n //Step 3: Deschiderea unei conexiuni\\n System.out.println(\\\"Conexiune la baza de date.....\\\");\\n conn = DriverManager.getConnection(DB_URL);\\n System.out.println(\\\"Crearea Statement .............\\\");\\n //Step 4: Executarea unei interogari\\n stm = conn.createStatement();\\n String sql = \\\"SELECT id, nume, prenume, varsta FROM REGISTRATION\\\";\\n ResultSet rs = stm.executeQuery(sql);\\n //Step 5: Extragerea datelor din ResultSet rs\\n printColoane();\\n while (rs.next()){\\n int id = rs.getInt(\\\"id\\\");\\n int varsta = rs.getInt(\\\"varsta\\\");\\n String nume = rs.getString(\\\"nume\\\");\\n String prenume = rs.getString(\\\"prenume\\\");\\n printSiruri(id, varsta, nume, prenume);\\n \\n// System.out.print(\\\"ID: \\\"+id);\\n// System.out.print(\\\" VARSTA: \\\"+varsta);\\n// System.out.print(\\\" NUME: \\\"+nume);\\n// System.out.print(\\\" PRENUME: \\\"+prenume);\\n }\\n rs.close();\\n \\n } catch (SQLException ex) {\\n ex.printStackTrace();\\n } catch (Exception e) {\\n e.printStackTrace();\\n } finally {\\n try {\\n if(stm != null) conn.close();\\n } catch (SQLException e) {\\n //nu adaugam nimic\\n }\\n try {\\n if(conn != null) conn.close();\\n } catch (SQLException e) {\\n e.printStackTrace();\\n }\\n }\\n System.out.println(\\\"\\\\nLA REVEDERE!\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9a94a258d52bb4d1d5faff48beadf25\",\n \"score\": \"0.538573\",\n \"text\": \"@Override\\n @Transactional\\n public List getResaByLivreId(Integer livreId) throws FunctionalException {\\n if (livreId <= 0) throw new FunctionalException(\\\"Les données sont incorrectes\\\");\\n else {\\n resaListReturn=resaDao.getResaByLivreId(livreId);\\n return resaListReturn;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59f52d083e4e40e0bb573571e7b0add7\",\n \"score\": \"0.53717786\",\n \"text\": \"public void recuperarSuper(){\\n \\r\\n produtoDAO = new ProdutosDao();\\r\\n this.produtosLDM = new ListDataModel(produtoDAO.recuperarTodosProdutosSuper(idSupermercado));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3ca3cb65e305c4f64690a82a67e6596\",\n \"score\": \"0.53699833\",\n \"text\": \"private static void registrarAuditoriaDetallesTipoDiscapacidad(Connexion connexion,TipoDiscapacidad tipodiscapacidad)throws Exception {\\n\\t\\t\\r\\n\\t\\tString strValorActual=null;\\r\\n\\t\\tString strValorNuevo=null;\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getid_empresa().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getid_empresa()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=tipodiscapacidad.getid_empresa().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getnombre().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getnombre()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=tipodiscapacidad.getnombre() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.NOMBRE,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getporcentaje_inicial().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getporcentaje_inicial()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=tipodiscapacidad.getporcentaje_inicial().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.PORCENTAJEINICIAL,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getporcentaje_final().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final()))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tstrValorActual=null;\\r\\n\\t\\t\\t\\tstrValorNuevo=null;\\r\\n\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final().toString();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif(tipodiscapacidad.getporcentaje_final()!=null)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tstrValorNuevo=tipodiscapacidad.getporcentaje_final().toString() ;\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.PORCENTAJEFINAL,strValorActual,strValorNuevo);\\r\\n\\t\\t\\t}\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6e2313c37014ccd80a4225bd61cd4ea\",\n \"score\": \"0.5369646\",\n \"text\": \"@Test\\n\\t@UsingDataSet({ \\\"persona.json\\\" })\\n\\t@Transactional(value = TransactionMode.ROLLBACK)\\n\\tpublic void buscarRecolectorTest() {\\n\\n\\t\\tRecolector recolector = entityManager.find(Recolector.class, \\\"323456789\\\");\\n\\t\\tAssert.assertNotNull(recolector);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fad19aa0e946f1328262be6bba72708a\",\n \"score\": \"0.5368466\",\n \"text\": \"public Cesta recuperarPedidos() throws ClassNotFoundException, SQLException {\\n conectar();\\n int precioFinal = 0;\\n sql = \\\"Select nombrePro , precio , nombre_cat , id_pedido\\\\n\\\"//Select que recoge los productos con su id de pedido correspondiente\\n + \\\"from pedido_producto , producto\\\\n\\\"\\n + \\\"where nombrePro = producto_pedidos order by nombre_cat;\\\";\\n rs = stmt.executeQuery(sql);\\n while (rs.next()) {//Recorre los resultados obtenidos por el select \\n pro = new Producto(rs.getString(\\\"nombrePro\\\"), rs.getInt(\\\"precio\\\"), rs.getString(\\\"nombre_cat\\\"));//Instancia de un objeto de la clase producto al que se le pasan los datos recogidos de la BBDD\\n cest.getProductosRecogidos().add(pro);//Agrega el producto instanciado a un array de productos recogidos \\n cest.getIdPedido().add(rs.getInt(\\\"id_pedido\\\"));//Agrega el id del pedido de cada producto a un array de id's\\n precioFinal = precioFinal + rs.getInt(\\\"precio\\\");//Incrementa el precio final con el precio de cada producto recogido\\n }\\n cest.setPrecioFinal(precioFinal);\\n return cest;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84b23da99531cb8b00754fe7ac535bc4\",\n \"score\": \"0.53589606\",\n \"text\": \"public List getReferenciasComerciante(String tipoIdentificacion, String identificacion, ClienteDTO cliente) {\\n List response = new ArrayList();\\r\\n try {\\r\\n \\t// INDIVIDUAL\\r\\n \\tif (TipoPersona.N.equals(cliente.getTipoPersona())) {\\r\\n\\t List rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\\r\\n\\t List rcs = this.catalogoService.findReferenciaComercianteByCliente(tipoIdentificacion, identificacion);\\r\\n\\t if (rcs != null && !rcs.isEmpty()) {\\r\\n\\t \\tfor (ReferenciaComerciante rf : rcs) {\\r\\n\\t \\t\\tReferenciaComercianteDTO referencia = new ReferenciaComercianteDTO(rf);\\r\\n\\t// try {\\r\\n\\t// DireccionCliente direccion = this.catalogoService.findDireccionClienteById(tipoIdentificacion, identificacion, referencia.getCodigoDireccion());\\r\\n\\t// if (direccion != null) {\\r\\n\\t// DireccionDTO direDTO = new DireccionDTO(direccion);\\r\\n\\t// String idDireccion = getIdDireccionParaCamposAdicionales(idCliente, direccion.getId().getCodigo());\\r\\n\\t// String email = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EMAIL, idDireccion);\\r\\n\\t// String extension = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EXTENSION, idDireccion);\\r\\n\\t// if (email != null && !email.trim().isEmpty()) {\\r\\n\\t// direDTO.setEmail(email);\\r\\n\\t// }\\r\\n\\t// if (extension != null && !extension.trim().isEmpty()) {\\r\\n\\t// direDTO.setExtension(extension);\\r\\n\\t// }\\r\\n\\t// ref.setDireccion(direDTO);\\r\\n\\t// }\\r\\n\\t//\\r\\n\\t// } catch (RuntimeException e) {\\r\\n\\t// e.printStackTrace();\\r\\n\\t// }\\r\\n\\t \\t\\tif (null != rds && !rds.isEmpty()) {\\r\\n\\t \\t\\t\\tContadorDTO c = null;\\r\\n\\t \\t\\t\\tcontadores : for (ReferenciaComercianteDatoContador contador : rds) {\\r\\n\\t \\t\\t\\t\\tif (referencia.getCorrelativoReferencia().compareTo(contador.getId().getCorrelativo()) == 0) {\\r\\n\\t \\t\\t\\t\\t\\tc = new ContadorDTO(contador);\\r\\n\\t \\t\\t\\t\\t\\treferencia.setContador(c);\\r\\n\\t \\t\\t\\t\\t\\tbreak contadores;\\r\\n\\t \\t\\t\\t\\t}\\r\\n\\t \\t\\t\\t}\\r\\n\\t \\t\\t}\\r\\n\\t response.add(referencia);\\r\\n\\t }\\r\\n\\t }\\r\\n \\t}\\r\\n \\t// JURIDICA\\r\\n \\tif (TipoPersona.J.equals(cliente.getTipoPersona())) {\\r\\n ReferenciaComercianteDTO referencia = null;\\r\\n List rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\\r\\n if (null != rds && !rds.isEmpty()) {\\r\\n \\tContadorDTO c = null;\\r\\n for (ReferenciaComercianteDatoContador contador : rds) {\\r\\n \\treferencia = new ReferenciaComercianteDTO();\\r\\n \\tc = new ContadorDTO(contador);\\r\\n referencia.setContador(c);\\r\\n response.add(referencia);\\r\\n }\\r\\n }\\r\\n }\\r\\n } catch (RuntimeException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n \\r\\n return response;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16784f583d74511cecb4cbeed4e8b293\",\n \"score\": \"0.53557754\",\n \"text\": \"public void getSetVersionRowRetencionVentaWithConnection()throws Exception {\\n\\t\\tif(retencionventa.getIsChangedAuxiliar() && Constantes.ISSETVERSIONROWUPDATE) {\\r\\n\\t\\t \\t//TEMPORAL\\r\\n\\t\\t\\t//if((retencionventa.getIsDeleted() || (retencionventa.getIsChanged()&&!retencionventa.getIsNew()))&& Constantes.ISSETVERSIONROWUPDATE) {\\r\\n\\t\\t\\tTimestamp timestamp=null;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\ttry {\\t\\r\\n\\t\\t\\t\\tconnexion=connexion.getNewConnexion(this.connexionType,this.parameterDbType,this.entityManagerFactory);connexion.begin();\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\ttimestamp=retencionventaDataAccess.getSetVersionRowRetencionVenta(connexion,retencionventa.getId());\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tif(!retencionventa.getVersionRow().equals(timestamp)) {\\t\\r\\n\\t\\t\\t\\t\\tretencionventa.setVersionRow(timestamp);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tconnexion.commit();\\t\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tretencionventa.setIsChangedAuxiliar(false);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t} catch(Exception e) {\\r\\n\\t\\t\\t\\tconnexion.rollback();\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tthrow e;\\r\\n\\t\\t\\t\\t\\r\\n\\t \\t} finally {\\r\\n\\t\\t\\t\\tconnexion.close();\\t\\t\\t\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd24aa1178c2f5b1aaa460f8c746d702\",\n \"score\": \"0.5352297\",\n \"text\": \"@Override\\n public ArrayList getLista(Entity e) throws SQLException {\\n\\n ArrayList listaContenedora= new ArrayList<>();\\n ListaDeReproduccion lista = (ListaDeReproduccion) e;\\n Integer idUsuario = lista.getIdUsuario();\\n CallableStatement preStatement = null;\\n ResultSet resultSet = null;\\n Connection conn;\\n\\n try {\\n //Creando la instancia de Conexion a la BD\\n conn = getBdConnect();\\n //Invocando el SP\\n preStatement = conn.prepareCall(\\\"{call M05_OBTENERLISTA(?)}\\\"); //HAY QUE AGREGAR ESTE METODO A POSTGRE\\n //Seteo lo que le estoy mandando al procedimiento con ese \\\"?\\\"\\n preStatement.setInt(1,idUsuario);\\n //Ejecucion del query\\n resultSet = preStatement.executeQuery();\\n while (resultSet.next()) {\\n\\n int idLista = resultSet.getInt(\\\"LIS_REP_ID\\\");\\n String nombre = resultSet.getString(\\\"LIS_REP_NOMBRE\\\");\\n String descripcion = resultSet.getString(\\\"LIS_REP_DESCRIPCION\\\");\\n String imagen = resultSet.getString(\\\"LIS_REP_IMG\\\");\\n String fechaCreacion = resultSet.getString(\\\"LIS_REP_FECHA\\\");\\n int numReproducciones = resultSet.getInt(\\\"LIS_REP_NUMREP\\\");\\n int idUsuarioF = resultSet.getInt(\\\"id_usu\\\");\\n\\n lista = (ListaDeReproduccion) EntityFactory.listaDeReproduccion(idLista, nombre, descripcion, imagen, numReproducciones, fechaCreacion, idUsuarioF);\\n listaContenedora.add(lista);\\n\\n }\\n resultSet.close();\\n\\n } catch (SQLException e1) {\\n //throw new ViUcabException(e1.mensaje, e1.codigo);\\n\\n System. out. println(e1.getMessage());\\n }\\n catch(Exception ex)\\n {\\n //throw new ViUcabException(e1.mensaje, e1.codigo);\\n }\\n finally {\\n closeConnection();\\n }\\n return listaContenedora;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2fc9162123b96e78d974da88a0bd8e5\",\n \"score\": \"0.53501165\",\n \"text\": \"public static void restituisciIdTipoTorneo(Aquisizioni dati, ConnDB db){\\n \\n qry = \\\"select tipo_torneo.ID from torneo, tipo_torneo where torneo.Nome = '\\\"+dati.getGlobalID()+\\\"' and torneo.Tipo = tipo_torneo.ID\\\";\\n risultato = db.interrogazione(qry);\\n try {\\n if(risultato.next()) dati.setGlobalId(risultato.getString(\\\"ID\\\"));\\n \\n } catch (SQLException ex) {\\n Logger.getLogger(Operazioni.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4537f610b24388a96be973af5b8a766\",\n \"score\": \"0.5347386\",\n \"text\": \"public Single save(RequestNewClien cliente);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f9c8fc2d56a84459ab0cf670c46c39d\",\n \"score\": \"0.5342597\",\n \"text\": \"public String resgistrarConvenio(int idConvenio, String nombre, String fecha_inicio, String fecha_fin, String objetivo, String estado, String fundacion, String des) {\\n \\n \\n \\n \\n Fundacion f = consulta.obtenerFundacion(fundacion);\\n String msg= \\\"Registro no Exitoso\\\";\\n if(!f.equals(null)){\\n if(!consulta.BuscarConvenio(idConvenio)){\\n \\n \\n try{\\n \\n \\n \\n Convenio c =new Convenio( idConvenio, nombre,fecha_inicio, fecha_fin, objetivo, f, des);\\n ConvenioDao co = new ConvenioDao();\\n co.insertarConvenio(idConvenio, nombre, fecha_inicio, fecha_fin, objetivo, estado, fundacion, des);\\n msg=\\\"registro exitoso\\\";\\n return msg;\\n }catch (SQLException e){\\n e.printStackTrace();\\n }\\n \\n \\n }\\n return \\\"Convenio ya existe\\\";\\n }\\n \\n return \\\"Fundacion ya existe\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d393598a33b2eb1db76bb370579d44b6\",\n \"score\": \"0.5333548\",\n \"text\": \"private void crearEntidad()\\r\\n/* 63: */ {\\r\\n/* 64:109 */ this.tipoSubsidio = new TipoSubsidio();\\r\\n/* 65:110 */ this.tipoSubsidio.setIdOrganizacion(AppUtil.getOrganizacion().getId());\\r\\n/* 66:111 */ this.tipoSubsidio.setIdSucursal(AppUtil.getSucursal().getId());\\r\\n/* 67: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cd594ee196b4afa9cd05a1f729887c6\",\n \"score\": \"0.5325903\",\n \"text\": \"public void adicionaTransportadoraACorrespondenciaDaEncomendaEscolhida (String codUser , String codEncomenda){\\n Transportadoras t = (Transportadoras) this.contas.get(codUser);\\n\\n List correspondenciaAntiga = correspondencia.get(codEncomenda); // lista das possiveis transportadoras a entregar esta encomenda antes de adicionar a transportadora\\n correspondenciaAntiga.add(t.clone()); // adicionamos a nova transportadora a lista\\n correspondencia.put(codEncomenda, correspondenciaAntiga); // e damos replace no map com a nova lista\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"787b4b4e40bfd33753c5f21e967e5e0c\",\n \"score\": \"0.53247416\",\n \"text\": \"@Test\\n @Transactional\\n void createEtniaIndigenaWithExistingId() throws Exception {\\n etniaIndigena.setId(1L);\\n\\n int databaseSizeBeforeCreate = etniaIndigenaRepository.findAll().size();\\n\\n // An entity with an existing ID cannot be created, so this API call must fail\\n restEtniaIndigenaMockMvc\\n .perform(post(ENTITY_API_URL).contentType(MediaType.APPLICATION_JSON).content(TestUtil.convertObjectToJsonBytes(etniaIndigena)))\\n .andExpect(status().isBadRequest());\\n\\n // Validate the EtniaIndigena in the database\\n List etniaIndigenaList = etniaIndigenaRepository.findAll();\\n assertThat(etniaIndigenaList).hasSize(databaseSizeBeforeCreate);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50d45cd447784d44d3c4aeb302ba6716\",\n \"score\": \"0.5324031\",\n \"text\": \"public Receitas getUnaReceita(String indrec) {\\n try {\\n ResultSet sent = EjecutarSentencia(\\\"SELECT * FROM receita WHERE Id = \\\" + indrec);\\n sent.first();\\n\\n Receitas re = new Receitas();\\n\\n re.setId(sent.getInt(\\\"Id\\\"));\\n re.setNumero((sent.getString(\\\"numero\\\")));\\n re.setCoordenada((sent.getString(\\\"coordenada\\\")));\\n re.setCategoria(sent.getString(\\\"categoria\\\"));\\n re.setCantidad(sent.getInt(\\\"cantidad\\\"));\\n re.setValor(sent.getFloat(\\\"valor\\\"));\\n re.setTotal(sent.getFloat(\\\"total\\\"));\\n re.setIdresumen(sent.getInt(\\\"idresumen\\\"));\\n\\n return re;\\n } catch (SQLException ex) {\\n Logger.getLogger(connectBD.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n return new Receitas();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37699bfa2373162dd869199305f789a8\",\n \"score\": \"0.5322517\",\n \"text\": \"public org.apache.ws.axis2.ViaxeAMonequilandResponse viaxeAMonequiland(\\n org.apache.ws.axis2.ViaxeAMonequiland viaxeAMonequiland) throws ConfigurationException, TransportException, RemoteException {\\n \\n buscar = new Buscar();\\n \\n /**********ARGUMENTOS QUE NOS PASA O USUARIO***********/\\n String corpoCeleste = viaxeAMonequiland.getArgs0();\\n String vehiculo = viaxeAMonequiland.getArgs1();\\n /*****************************************************/\\n\\n /*************************OBXECTO RESPOSTA DO NOSO SERVIZO*************************/\\n ViaxeAMonequilandResponse BoaViaxe = new ViaxeAMonequilandResponse();\\n /**********************************************************************************/\\n\\n System.out.println(\\\"Espera un momentiño...\\\\n\\\");\\n \\n String respostaCache = TesAmiñaConsulta(corpoCeleste, vehiculo);//Creamos unha conexion coa cache e preguntamoslle se ten gardada esta consulta\\n \\n if(respostaCache != null)//Se a ten gardada, finalizamos e pasamoslle a resposta ao cliente\\n {\\n BoaViaxe.set_return(respostaCache);\\n return BoaViaxe;\\n }\\n \\n String distanciaAtaOcorpoCeleste = IstoOndeQueda(corpoCeleste); //Creamos unha conexion co noso servizo propio DistanciaPlaneta e obtemos a distancia\\n \\n String tempoAtaOcorpoCeleste = PeroCantoTardoOh(distanciaAtaOcorpoCeleste, vehiculo); //Creamos unha conexion co noso servizo propio TempoViaxe e obtemos o tempo que se tarda en chegar no vehiculo seleccionado\\n \\n GardameIsto(corpoCeleste, vehiculo, tempoAtaOcorpoCeleste); //Gardamos a consulta e a resposta na cache para futuras consultas\\n\\n BoaViaxe.set_return(tempoAtaOcorpoCeleste); //Enviamos a resposta ao usuario\\n \\n return BoaViaxe;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63122e9c56a0fd67fd91818199039929\",\n \"score\": \"0.53220916\",\n \"text\": \"public static void generarOtrosIngresos(Poliza poliza,Abono abono,String ref1,String asiento){\\r\\n\\t\\tString ref2=abono.getSucursal().getNombre();\\r\\n\\t\\tBigDecimal diferencia=abono.getDiferencia();\\r\\n System.out.println(\\\"aaaaaaaaa\\\"+abono.getId());\\r\\n\\t\\tif(diferencia.doubleValue()>0 && DateUtils.isSameDay(abono.getDirefenciaFecha(), poliza.getFecha())){\\r\\n\\t\\t\\tif(abono.getDiferencia().doubleValue()>0){\\r\\n\\t\\t\\t\\tBigDecimal importeDiferencia=PolizaUtils.calcularImporteDelTotal(diferencia);\\r\\n\\t\\t\\t\\tBigDecimal ivaDiferencia=PolizaUtils.calcularImpuesto(importeDiferencia);\\r\\n\\t\\t\\t\\timporteDiferencia=PolizaUtils.redondear(importeDiferencia);\\r\\n\\t\\t\\t\\tivaDiferencia=PolizaUtils.redondear(ivaDiferencia);\\r\\n\\t\\t\\t\\tString sufix=\\\"01\\\";\\r\\n\\t\\t\\t\\tif(ref1.equals(\\\"MOS\\\"))\\r\\n\\t\\t\\t\\t\\tsufix=\\\"01\\\";\\r\\n\\t\\t\\t\\tif(ref1.equals(\\\"CAM\\\"))\\r\\n\\t\\t\\t\\t\\tsufix=\\\"03\\\";\\r\\n\\t\\t\\t\\tif(ref1.equals(\\\"CRE\\\"))\\r\\n\\t\\t\\t\\t\\tsufix=\\\"02\\\";\\r\\n\\t\\t\\t\\tif(ref1.equals(\\\"CHE\\\"))\\r\\n\\t\\t\\t\\t\\tsufix=\\\"04\\\";\\r\\n\\t\\t\\t\\tif(DateUtils.isSameDay(abono.getDirefenciaFecha(), abono.getPrimeraAplicacion())){\\r\\n\\t\\t\\t\\t\\t//Abono Otros ingresos\\r\\n\\t\\t\\t\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"702\\\", \\\"OING\\\"+sufix, false, diferencia,\\\"OI AJUSTE Menor a $10: \\\"+abono.getInfo(), ref1, ref2, asiento+\\\" \\\"+ref1);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\t\\tif(abono instanceof PagoConDeposito){\\r\\n\\t\\t\\t\\t\\t\\tPagoConDeposito dep= (PagoConDeposito) abono;\\r\\n\\t\\t\\t\\t\\t\\tBigDecimal importeDif=MonedasUtils.calcularImporteDelTotal(diferencia, 2);\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\tBigDecimal ivaDif=MonedasUtils.calcularImpuestoDelTotal(diferencia);\\r\\n\\t\\t\\t\\t\\t\\tString desc2=MessageFormat.format(\\\" {0} Ref:{1} F.D:\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t, dep.getBanco(),dep.getReferenciaBancaria())\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t+new SimpleDateFormat(\\\"dd/MM/yyyy\\\").format(dep.getFechaDeposito());\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\tif(!DateUtil.isSameMonth(abono.getPrimeraAplicacion(), dep.getFechaDeposito())){\\r\\n\\t\\t\\t\\t\\t\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"203\\\", \\\"DEPI01\\\", true, diferencia,\\\"OI AJUSTE Menor a $10: \\\"+abono.getInfo(), ref1, ref2, asiento+\\\" \\\"+ref1);\\r\\n\\t\\t\\t\\t\\t//\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"206\\\", \\\"IVAD01\\\", true, ivaDif, desc2, ref1, ref2, asiento);\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\tif(diferencia.doubleValue()>10){\\r\\n\\t\\t\\t\\t\\t\\t\\tif(!DateUtil.isSameMonth(dep.getPrimeraAplicacion(), dep.getFechaDeposito())){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"203\\\", \\\"DEPI01\\\", true, importeDif,desc2, ref1, ref2, asiento+\\\" \\\"+ref1);\\r\\n\\t\\t\\t\\t\\t\\t//\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"206\\\", \\\"IVAD01\\\", true, ivaDif, desc2, ref1, ref2, asiento);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\t\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}else{\\r\\n\\t\\t\\t\\t\\t//Abono a Otros ingresos\\r\\n\\t\\t\\t\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"702\\\", \\\"OING\\\"+sufix, false, diferencia,\\\"OI AJUSTE < $10 \\\"+abono.getInfo(), ref1, ref2, asiento+\\\" \\\"+ref1);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t// Cargo a Acredores diversos\\r\\n\\t\\t\\t\\t\\tPolizaDetFactory.generarPolizaDet(poliza, \\\"203\\\", \\\"DIVR\\\"+sufix, true, diferencia,\\\"OI AJUSTE < $10 \\\"+abono.getInfo(), ref1, ref2, asiento);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//PolizaDetFactory.generarPolizaDet(poliza, \\\"902\\\", \\\"IETUA07\\\", false, importeAcumulado, cuentaAIETUDesc +\\\"ACUMULABLE IETU OI\\\", ref1, ref2, asiento);\\r\\n\\t\\t\\t\\t\\t//PolizaDetFactory.generarPolizaDet(poliza, \\\"903\\\", \\\"AIETU07\\\", true, importeAcumulado,cuentaIETUADesc +\\\"IETU ACUMULABLE OI\\\", ref1, ref2, asiento);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e8438d1f5b45993ad5f6e5389e014e0\",\n \"score\": \"0.5320424\",\n \"text\": \"@Override\\n\\tpublic void repararEscudo(ITanque tanque) {\\n\\t\\ttanque.restaurarEscudo(AUMENTO);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8c0814509e09d4627cd375a5327a76d\",\n \"score\": \"0.53199077\",\n \"text\": \"@Override\\n\\tpublic long addEnderecoPorEmpresa(AgenteEndereco agenteEndereco) {\\n\\t\\treturn (Integer)hibernateTemplate.save(agenteEndereco);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8713b1e5a0c1b88848ac536e8c15fff5\",\n \"score\": \"0.53184724\",\n \"text\": \"public List recuperarAgendamentos() {\\n try {\\n conectar();\\n \\n String sql = \\\"SELECT * FROM AGENDAMENTO\\\";\\n ResultSet rs = comando.executeQuery(sql);\\n \\n List agendamentos = new ArrayList();\\n while (rs.next()) { \\n Agendamento agendamento = new Agendamento();\\n agendamento.setIdAgendamento(rs.getInt(\\\"id_agendamento\\\"));\\n agendamento.setCpfPaciente(rs.getString(\\\"cpfPacienteAgenda\\\"));\\n agendamento.setCpfMedico(rs.getString(\\\"cpfMedico\\\"));\\n agendamento.setData(rs.getDate(\\\"data\\\"));\\n agendamento.setHora(rs.getTime(\\\"hora\\\"));\\n agendamento.setStatus(rs.getString(\\\"status\\\"));\\n agendamento.setComentario(rs.getString(\\\"comentario\\\"));\\n \\n agendamentos.add(agendamento);\\n }\\n \\n for (Iterator iterator = agendamentos.iterator(); iterator.hasNext();) {\\n Agendamento agendamento = (Agendamento) iterator.next();\\n \\n StringBuffer buffer = new StringBuffer();\\n buffer.append(\\\"SELECT id_servico, horaServico, dataServico, preco, descricao, estaPago\\\");\\n buffer.append(\\\" FROM AGENDAMENTO_SERVICO WHERE id_age_servico=\\\");\\n buffer.append(formatarParaStringSql(Integer.toString(agendamento.getIdAgendamento())));\\n sql = buffer.toString();\\n rs = comando.executeQuery(sql);\\n while (rs.next()) {\\n Servico servico = new Servico();\\n servico.setIdServico(rs.getInt(\\\"id_servico\\\"));\\n servico.setHoraServico(rs.getTime(\\\"horaServico\\\"));\\n servico.setDataServico(rs.getDate(\\\"dataServico\\\"));\\n servico.setPreco(rs.getDouble(\\\"preco\\\"));\\n servico.setDescricao(rs.getString(\\\"descricao\\\"));\\n servico.setEstaPago(rs.getInt(\\\"estaPago\\\"));\\n \\n agendamento.getServicos().add(servico);\\n } \\n \\n }\\n \\n fechar();\\n \\n return agendamentos;\\n \\n } catch (SQLException e) {\\n e.printStackTrace();\\n } catch (ClassNotFoundException e) {\\n e.printStackTrace();\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f81c341d03938a7d2456c62eaa46ebd\",\n \"score\": \"0.53087074\",\n \"text\": \"@Test\\n\\t@Transactional(value = TransactionMode.ROLLBACK)\\n\\t@UsingDataSet({ \\\"persona.json\\\", \\\"registro.json\\\", \\\"administrador.json\\\", \\\"cuenta.json\\\", \\\"empleado.json\\\",\\n\\t\\t\\t\\\"familia.json\\\", \\\"genero.json\\\", \\\"recolector.json\\\", \\\"planta.json\\\" })\\n\\tpublic void buscarRecolectorPorId() {\\n\\t\\tRecolector recolector = entityManager.find(Recolector.class, \\\"127\\\");\\n\\t\\tAssert.assertNotNull(recolector);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f386f2d1cf40a704b61498f8bc695a7\",\n \"score\": \"0.53068703\",\n \"text\": \"private T convertAnObject(ResultSet r)\\r\\n {\\r\\n // this.contListaObjRef++;\\r\\n try {\\r\\n if(r.isBeforeFirst())\\r\\n r.next();\\r\\n // while(r.next())\\r\\n // {\\r\\n \\r\\n T objBlanco=getObjectBlank();\\r\\n ArrayList columnas=objBlanco.getMapeo().getColumnas();\\r\\n for (Columna columna : columnas) {\\r\\n \\r\\n Field field=columna.getRefAtributo();\\r\\n //System.out.println(columna.getName());\\r\\n \\r\\n //field.set(objBlanco,valor);\\r\\n String nameAtributo=field.getName();\\r\\n char primero=nameAtributo.charAt(0);\\r\\n String texto=nameAtributo;\\r\\n texto = \\\"set\\\"+Character.toUpperCase(primero) + texto.substring(1,texto.length());\\r\\n Method[] metodos=getClassEntity().getMethods();\\r\\n //buscar el metodo que coincida con el nombre del atributo con el metodo set\\r\\n Method metodoEncontrado=findMethod(getClassEntity().getMethods(),texto);\\r\\n \\r\\n \\r\\n //verificar si el valor es directo o es una referencia fk\\r\\n String tipoClave=columna.getTypekey();\\r\\n if(tipoClave.equals(\\\"fk\\\"))\\r\\n {\\r\\n String tipo=field.getType().getName();\\r\\n Object value=r.getString(columna.getName());\\r\\n \\r\\n String nombreClaseReferencia=tipo;\\r\\n Class claseReferencia=Class.forName(nombreClaseReferencia);\\r\\n \\r\\n ///verificar que el objeto exista no exista en la lista\\r\\n Object objReferencia;\\r\\n Object tempReferencia=findLista(newObjectPrimaryKey(claseReferencia,value));\\r\\n if(tempReferencia!=null)\\r\\n {\\r\\n objReferencia=tempReferencia; \\r\\n }\\r\\n else\\r\\n {\\r\\n //cuando no existe el objeto\\r\\n Method metodoGetFacade=findMethod(claseReferencia.getMethods(),\\\"getDao\\\");\\r\\n Class claseFacade=(Class) metodoGetFacade.invoke(claseReferencia.newInstance());\\r\\n\\r\\n Method metodoFindPrimaryKey=findMethod(claseFacade.getMethods(),\\\"findByPrimaryKeyRecursive\\\");\\r\\n AbstractFacade facadeReferencia=(AbstractFacade) claseFacade.newInstance();\\r\\n objReferencia=metodoFindPrimaryKey.invoke(facadeReferencia,value);\\r\\n AbstractFacade.addLista((AbstractMapeo) objReferencia);\\r\\n }\\r\\n \\r\\n //agrega el objeto de referencia al objeto principal\\r\\n metodoEncontrado.invoke(objBlanco,objReferencia);\\r\\n\\r\\n }\\r\\n else\\r\\n {\\r\\n //obtner el valor segun el tipo de dato del atributo\\r\\n \\r\\n String tipo=field.getType().getSimpleName();\\r\\n String nombreColumna=columna.getName();\\r\\n Object value=r.getObject(nombreColumna);\\r\\n //System.out.println(value.getClass().getTypeName());\\r\\n metodoEncontrado.invoke(objBlanco,value);\\r\\n\\r\\n }\\r\\n\\r\\n }\\r\\n //agregar el objto a la lista si no se encuentra \\r\\n if(!AbstractFacade.isFindLista(objBlanco))\\r\\n {\\r\\n AbstractFacade.addLista(objBlanco);\\r\\n }\\r\\n \\r\\n ////consultar los arrays enlazados dentro de cada objeto\\r\\n List areglos = objBlanco.getMapeo().getArrays();\\r\\n for (Lista areglo : areglos) \\r\\n {\\r\\n Class claseResultado=areglo.getClase();\\r\\n String tabla=areglo.getTablaBusqueda();\\r\\n String condicion=areglo.getKeyNameFilter();\\r\\n //obtener el valor de la clave principal\\r\\n Columna columaPk=objBlanco.getMapeo().getColumaPk();\\r\\n String texto=columaPk.getName();\\r\\n String nombreMetodo=\\\"get\\\"+Character.toUpperCase(texto.charAt(0)) + texto.substring(1,texto.length());;\\r\\n Method metodoGetValor=findMethod(objBlanco.getClass().getMethods(),nombreMetodo);\\r\\n Object valor=metodoGetValor.invoke(objBlanco);\\r\\n String consulta=\\\"SELECT * FROM \\\"+tabla+\\\" WHERE \\\"+condicion+\\\"='\\\"+valor.toString()+\\\"'\\\";\\r\\n //System.out.println(consulta);\\r\\n ResultSet rs=this.conexion.ejecutarConsulta(consulta);\\r\\n //recorrer uno por uno para obtner la variable de la columna que necesito\\r\\n\\r\\n int tamnioArray=sizeResulSet(r);\\r\\n Object arrayResultado=Array.newInstance(claseResultado,tamnioArray);\\r\\n r.beforeFirst();\\r\\n \\r\\n int indice=0;\\r\\n while(rs.next())\\r\\n {\\r\\n //obtengo el valor de la columna de que corresponde al objeto de la solucion\\r\\n Object valorRespuesta=rs.getObject(areglo.getKeyNameResult());\\r\\n Object objResultado;\\r\\n Object tempReferencia=findLista(newObjectPrimaryKey(claseResultado,valorRespuesta));\\r\\n if (tempReferencia != null) \\r\\n {\\r\\n objResultado = tempReferencia;\\r\\n } \\r\\n else \\r\\n {\\r\\n Object objRes = claseResultado.newInstance();\\r\\n Method metodoGetDao = findMethod(objRes.getClass().getMethods(), \\\"getDao\\\");\\r\\n Class classDao = (Class) metodoGetDao.invoke(objRes);\\r\\n Object objDao = classDao.newInstance();\\r\\n Method metodoFindPrimaryKey = findMethod(classDao.getMethods(), \\\"findByPrimaryKeyRecursive\\\");\\r\\n \\r\\n //ObjectnewObjectPrimaryKey(classDao,valorRespuesta);\\r\\n //encuentro un objeto del tipo respuesta para agregar a la lista de referencias\\r\\n Method metodoGetObjectBlanck=findMethod(classDao.getMethods(),\\\"getObjectBlank\\\");\\r\\n objResultado=metodoGetObjectBlanck.invoke(objDao);\\r\\n objResultado=newObjectPrimaryKey(objResultado.getClass(),valorRespuesta);\\r\\n AbstractFacade.addLista((AbstractMapeo) objResultado);\\r\\n objResultado = metodoFindPrimaryKey.invoke(objDao, valorRespuesta);\\r\\n \\r\\n }\\r\\n \\r\\n //Array.set(arrayResultado,indice++,claseResultado.cast(objResultado)); \\r\\n areglo.copyObj(objResultado);\\r\\n }\\r\\n \\r\\n //////////convertir de array en una lista para asignar\\r\\n //List listaResultado=Arrays.asList(arrayResultado);\\r\\n //areglo.copyList((Object[]) arrayResultado);\\r\\n //areglo.getKeyNameFilter();\\r\\n \\r\\n }\\r\\n \\r\\n \\r\\n return objBlanco;\\r\\n //}\\r\\n } catch (SQLException ex) {\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n } catch (IllegalArgumentException ex) {\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n } catch (SecurityException ex) {\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n } catch (IllegalAccessException ex) {\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n } catch (InvocationTargetException ex) {\\r\\n System.out.println(ex.getCause());\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n } catch (ClassNotFoundException ex) {\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n } catch (InstantiationException ex) {\\r\\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\\r\\n }\\r\\n return null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f0ce6e6574fa551b22288ae89d8a05\",\n \"score\": \"0.5304634\",\n \"text\": \"@GetMapping(\\\"/obtener\\\")\\n\\tpublic List obtenerRegistros(){\\n\\t\\n\\t\\treturn vigilanteService.obtenerTodosLosRegistrosDeVehiculosParqueados();\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":886,"cells":{"query_id":{"kind":"string","value":"403d65de9bb70875ae1bb20606fbadad"},"query":{"kind":"string","value":"Byte length of Input Stream"},"positive_passages":{"kind":"list like","value":[{"docid":"f56342a67e2ac94038b4a0d5f5a75e48","score":"0.0","text":"public static void DownLoadPages(String urlStr, String outPath) {\r\n int chByte = 0;\r\n /** URL Address */\r\n URL url = null;\r\n /** http link */\r\n HttpURLConnection httpConn = null;\r\n /** Input Stream */\r\n InputStream in = null;\r\n /** File Output Stream */\r\n FileOutputStream out = null;\r\n try {\r\n url = new URL(urlStr);\r\n httpConn = (HttpURLConnection) url.openConnection();\r\n HttpURLConnection.setFollowRedirects(true);\r\n httpConn.setRequestMethod(\"GET\");\r\n httpConn.setRequestProperty(\"User-Agent\", \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 2000)\");\r\n\r\n in = httpConn.getInputStream();\r\n out = new FileOutputStream(new File(outPath));\r\n\r\n chByte = in.read();\r\n while (chByte != -1) {\r\n out.write(chByte);\r\n chByte = in.read();\r\n }\r\n } catch (MalformedURLException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n try {\r\n out.close();\r\n in.close();\r\n httpConn.disconnect();\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n }","title":""}],"string":"[\n {\n \"docid\": \"f56342a67e2ac94038b4a0d5f5a75e48\",\n \"score\": \"0.0\",\n \"text\": \"public static void DownLoadPages(String urlStr, String outPath) {\\r\\n int chByte = 0;\\r\\n /** URL Address */\\r\\n URL url = null;\\r\\n /** http link */\\r\\n HttpURLConnection httpConn = null;\\r\\n /** Input Stream */\\r\\n InputStream in = null;\\r\\n /** File Output Stream */\\r\\n FileOutputStream out = null;\\r\\n try {\\r\\n url = new URL(urlStr);\\r\\n httpConn = (HttpURLConnection) url.openConnection();\\r\\n HttpURLConnection.setFollowRedirects(true);\\r\\n httpConn.setRequestMethod(\\\"GET\\\");\\r\\n httpConn.setRequestProperty(\\\"User-Agent\\\", \\\"Mozilla/4.0 (compatible; MSIE 6.0; Windows 2000)\\\");\\r\\n\\r\\n in = httpConn.getInputStream();\\r\\n out = new FileOutputStream(new File(outPath));\\r\\n\\r\\n chByte = in.read();\\r\\n while (chByte != -1) {\\r\\n out.write(chByte);\\r\\n chByte = in.read();\\r\\n }\\r\\n } catch (MalformedURLException e) {\\r\\n e.printStackTrace();\\r\\n } catch (IOException e) {\\r\\n e.printStackTrace();\\r\\n } finally {\\r\\n try {\\r\\n out.close();\\r\\n in.close();\\r\\n httpConn.disconnect();\\r\\n } catch (Exception ex) {\\r\\n ex.printStackTrace();\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"dde6a073a105ed2feca13b6ec87f5a47","score":"0.7995091","text":"@Override public long Size() {return (int)stream.Len();}","title":""},{"docid":"9f85c7bd0a4543b279e9d5859767b21d","score":"0.7876036","text":"private static int streamLength(InputStream in) {\r\n\t\tint length = 0;\r\n\t\ttry {\r\n\t\t\twhile (in.read() >= 0) {\r\n\t\t\t\tlength++;\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\t/*\r\n\t\t\t * Do nothing.\r\n\t\t\t */\r\n\t\t}\r\n\t\treturn length;\r\n\t}","title":""},{"docid":"0bce9ade022ad3165bd93f00948134f9","score":"0.7364798","text":"public int getSize() throws IOException {\n InputStream s = getInputStream();\n byte[] b = new byte[4096];\n \n int size = 0;\n int read = 0;\n while ((read = s.read(b)) != -1) {\n size += read;\n }\n \n return size;\n }","title":""},{"docid":"04d22260ca688ce2d2c77e415caa90cd","score":"0.7351965","text":"int getStreamLen() {\n return length + 12;\n }","title":""},{"docid":"d301703d853d4259fddae9e7c51cdcf4","score":"0.72706217","text":"long length() throws IOException;","title":""},{"docid":"5f70412c4270de88734af948b4273743","score":"0.71914136","text":"@Override\n public long getBinaryLength()\n throws ManifoldCFException\n {\n return outputStream.size();\n }","title":""},{"docid":"60b93c4133186bd48fe62a51dc669160","score":"0.7110461","text":"public int getLengthInBytes() {\n\t\treturn buffer.length;\n\t}","title":""},{"docid":"3888c0350055aa7f2c715f10df4b8b00","score":"0.70430326","text":"int getBytesCount();","title":""},{"docid":"8405fc780f4d616fb31d6d0108f77342","score":"0.6988617","text":"public int getLength() {\r\n\t\treturn bytes.length;\r\n\t}","title":""},{"docid":"c5da8ec0b147a75ac6555670e3038ef5","score":"0.6943382","text":"public abstract int getByteLength();","title":""},{"docid":"a9131678d1d328c21f567424f56b72e4","score":"0.6905211","text":"public int getFileSize() throws MalformedInputException, IOException {\n\t\tURL url = new URL(server_address);\n\t\tURLConnection uCon = url.openConnection();\n\t\tuCon.setConnectTimeout(timeout);\n\t\tuCon.setReadTimeout(timeout);\n\t\treturn uCon.getContentLength();\n\t}","title":""},{"docid":"49e40fd273098dd3cbc00ebe2a7a290e","score":"0.68598175","text":"abstract public int length() throws IOException;","title":""},{"docid":"382cf08450169fcc77c34497d5405dfb","score":"0.68359184","text":"@ProtocolState(1)\n\tpublic int readBinaryLength(Buffer buf) throws Exception {\n\t\tbyte b;\n\t\tint t,len;\n\t\tlen = 0;\n\t\t\n\t\tdo {\n\t\t\tb = buf.read();\n\t\t\tif( (b&0x80) == 0x80 ) {\n\t\t\t\t//end of length, store the len info and go to 2\n\t\t\t\tbuf.put(BINARY_LEN, len);\n\t\t\t\treturn 2;\n\t\t\t} else {\n\t\t\t\t//update the len\n\t\t\t\tt = b & 0x7f;\n\t\t\t\tlen = t + (len*128);\n\t\t\t}\n\t\t}while(true);\n\t}","title":""},{"docid":"12a62834e7eb814f686115575a967e92","score":"0.68316853","text":"public long length() {\n/* 444 */ long length = -1L;\n/* */ \n/* */ \n/* */ try {\n/* 448 */ length = this.channel.size();\n/* 449 */ } catch (IOException iOException) {}\n/* */ \n/* */ \n/* */ \n/* 453 */ return length;\n/* */ }","title":""},{"docid":"f05c3d49e979f4ffb2f085f5a37a19bf","score":"0.6805523","text":"int byteSize();","title":""},{"docid":"f05c3d49e979f4ffb2f085f5a37a19bf","score":"0.6805523","text":"int byteSize();","title":""},{"docid":"ebb49e969f0230bcc166a6649057a7d4","score":"0.6801402","text":"@Override\n public long getLength() throws IOException, InterruptedException {\n FileSystemHandler fsHandler = new FileSystemHandler(fs);\n return fsHandler.getFileSizeInBytes( inputPath );\n }","title":""},{"docid":"55f7cb2e52d5fc82be8de118e4dd6189","score":"0.67717904","text":"int getByteCount();","title":""},{"docid":"b5b802dba1d079db62a99b0e8fde3402","score":"0.6709495","text":"public int getlength() {\n return(payload_size + HEADER_SIZE);\n }","title":""},{"docid":"b3b451f3bcff875ec1606fa7c41871a2","score":"0.6674157","text":"long getFileLength();","title":""},{"docid":"b3b451f3bcff875ec1606fa7c41871a2","score":"0.6674157","text":"long getFileLength();","title":""},{"docid":"e8a948b44449b4f6c184adc661f81f51","score":"0.66459405","text":"@Override\n public long getBinaryLength()\n throws ManifoldCFException\n {\n return outputFile.length();\n }","title":""},{"docid":"969cf2852c65adf607605295318bc899","score":"0.66323465","text":"abstract public int data_length();","title":""},{"docid":"b024be608b980d833b99e56e1307a273","score":"0.6622743","text":"public int getDataLength(){\n return ((ET.bytesToIntTool(4, 2, header)& 0xff) -8);\n }","title":""},{"docid":"a0782cef7f0b4b42a362847ea69ca777","score":"0.6602327","text":"public final int getLength() {\r\n return getDataLength();\r\n }","title":""},{"docid":"48ba328977b6991f7e9ec42bfbf15e66","score":"0.6593945","text":"public long getLength() throws IOException, InterruptedException {\n\t\t\treturn 0;\n\t\t}","title":""},{"docid":"b24983bb458d41c263716b9f96357a8b","score":"0.65885985","text":"public int getSizeInBytes() {\n return header.length / Byte.SIZE;\n }","title":""},{"docid":"9e5bd29cf00427ab34ecd5ce1f8fb756","score":"0.65761477","text":"int getPayloadLength();","title":""},{"docid":"abda01a816d38333ac3eeb281abe6e2f","score":"0.6572969","text":"int getSizeInBytes();","title":""},{"docid":"a36b9696145e6f6dd1aee3fc67f89652","score":"0.65632474","text":"public long getLength();","title":""},{"docid":"862e95da372d5316f9e177866b752928","score":"0.65437835","text":"public int getSizeInBytes();","title":""},{"docid":"868d03bd0758e34d074b979d998ad56c","score":"0.6539066","text":"public int size() throws IOException {\r\n return (int) (file.length() / RECORD_SIZE);\r\n }","title":""},{"docid":"5974a5199dd8f2890cfeab1783e5650c","score":"0.6530585","text":"public int size()\n {\n return this.buffer_size; \n }","title":""},{"docid":"0073d4f76a4243577fba999bf11f4bba","score":"0.65223664","text":"public long getNumBytes();","title":""},{"docid":"08b0f5ab4ba0b97927de1320e024be00","score":"0.65173775","text":"public int byteCount() throws IOException {\n\n\t\tint count = 0;\n\t\tFileInputStream stream = new FileInputStream(this.file);\n\t\twhile (stream.read() != -1) {\n\t\t\tcount++;\n\t\t}\n\t\tstream.close();\n\t\treturn count;\n\t}","title":""},{"docid":"151e74dfc598a40e78a342bde74bee55","score":"0.65090907","text":"public long readCount() throws IOException;","title":""},{"docid":"ff725c206a12a623a302bec2d14367d4","score":"0.6508801","text":"long getLength();","title":""},{"docid":"bd59ae81a4675b46090b1bc70aa9de2f","score":"0.6486666","text":"public long getBitstreamLength(){\n return super.value[0];\n }","title":""},{"docid":"38f8e631d89f519276d36741526fd218","score":"0.64737934","text":"public int length() {\n\t\treturn data.length();\n\t}","title":""},{"docid":"862c1c921bd7d3fffaf7f1c79830c64f","score":"0.6471035","text":"@Override\n\tpublic long getLength() throws IOException, InterruptedException {\n\t\treturn 0;\n\t}","title":""},{"docid":"9a57f52661ef4be98f578226c132df44","score":"0.64588606","text":"int len();","title":""},{"docid":"5812dfea13dd380954a4c037ba187d83","score":"0.6447266","text":"public int byteCount() {\n return count;\n }","title":""},{"docid":"6b303fdbf596713b7937a2c73a88c2a9","score":"0.6443943","text":"public int getLength() {\n\t\treturn fLength; \n\t}","title":""},{"docid":"d56fa55595ddca598fd22467f790b63e","score":"0.64366436","text":"public final int getBytesLen()\n {\n return this.bytes.length;\n }","title":""},{"docid":"45bbdbaf1b5794d6b4bc2b831cb28647","score":"0.6436237","text":"public final int yylength() {\n return input.readLength();\n }","title":""},{"docid":"8cee0eec446150efb48711adeba13bd1","score":"0.64323217","text":"public synchronized int getLen()\t\t{\treturn len ; }","title":""},{"docid":"c6584fa37a238802172e1681893c771b","score":"0.642709","text":"public int getLength()\n {\n return _data.length;\n }","title":""},{"docid":"d994cb2e6526cf743a61b4f0f36836d1","score":"0.6419492","text":"public Long streamSize() {\n return this.streamSize;\n }","title":""},{"docid":"5fcad5895b95941619ce73818f5a9b6b","score":"0.6412951","text":"public int readCount() {\n\t\treturn count;\r\n\t}","title":""},{"docid":"8796fea69e5771589920ce3b5a32d17a","score":"0.64096975","text":"public int getTextLength() {\n/* 446 */ switch (this.state) { case StartTag:\n/* */ case EndTag:\n/* 448 */ return 0; }\n/* */ \n/* */ \n/* 451 */ return this.payloadReader.getTextLength();\n/* */ }","title":""},{"docid":"b84b137959821ef20d80d69fd963f4bd","score":"0.6391299","text":"public int getDataSize();","title":""},{"docid":"5cfae1cbb10950061eb42f17d02365f5","score":"0.63854915","text":"public int getLength() {\n return fLength;\n }","title":""},{"docid":"5f3c67312a37a3ee100b9b546bbe440f","score":"0.6338984","text":"long getSerializedLength();","title":""},{"docid":"0dbdb203f4b910e6be7612398b723f79","score":"0.63189137","text":"public int getSize() {\n synchronized(byteCounter) {\n byteCounter.reset();\n synchronized(dataCounter) {\n try {\n write(dataCounter);\n } catch (IOException ex) {\n throw new RuntimeException(\"ByteCounter should never \" +\n \" throw an IOException\");\n }\n }\n return byteCounter.size();\n }\n }","title":""},{"docid":"6d1f96b06869dbdcfb7164614e42b9b9","score":"0.6308418","text":"public int getPayloadSize() {\r\n return dataLength;\r\n }","title":""},{"docid":"96ede0def0dca7789c01dade3a986039","score":"0.63053185","text":"public int getDataLength() {\n return data.length;\n }","title":""},{"docid":"ba5693249adff5d78b3ef43de63af30e","score":"0.62965274","text":"public int getpayload_length() {\n return(payload_size);\n }","title":""},{"docid":"015d6425a70d40d6d336efb3cb36bd43","score":"0.62935936","text":"@Override\n public int read() throws IOException {\n int read = in.read();\n readCount(read);\n return read;\n }","title":""},{"docid":"7541df001591cd339b22ff06cfaf9892","score":"0.6290651","text":"public long getLength() {\n return getCount() * 12 + (hasNextOffset ? 4 : 0);\n }","title":""},{"docid":"088add37376f64d79f08e0761a446f4f","score":"0.62766707","text":"public final int byteSize() {\n\t\treturn m_Data.length;\n\t}","title":""},{"docid":"7c9b28ff787f92c3e65fa9d3220dc910","score":"0.6262641","text":"public Long getLenByte() {\n return lenByte;\n }","title":""},{"docid":"c946dc3f95cb39a584de0e537235f30d","score":"0.6252454","text":"public static int getLength() {\n return length;\n }","title":""},{"docid":"06351d5b639b209e832178486db3da80","score":"0.6250738","text":"private int length(){\n\t\tint cnt = 0;\n\t\tfor (char c:data){\n\t\t\tif (c==0){\n\t\t\t\treturn cnt;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\treturn cnt;\n\t}","title":""},{"docid":"74db61555c23e22b1622edf1f4d49854","score":"0.6250281","text":"public final int getRawLength() { return this.length; }","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.62405396","text":"int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.62402064","text":"public int getLength();","title":""},{"docid":"b08bd8ff01bd6426bccca469c4514f84","score":"0.6238645","text":"public abstract int readableBytes();","title":""},{"docid":"181859db98d3da09a5de4d714b2d1f35","score":"0.62382925","text":"public int getBytesCount() {\n return bytes_.size();\n }","title":""},{"docid":"37c25b4443581e1d1b6ee1d9a6c4eaac","score":"0.6231774","text":"long getFilesize();","title":""},{"docid":"e623c866bcc06a1becd10a7e6a4f4aa3","score":"0.6231723","text":"public int getSize() {\n // null-terminated unicode + 1 byte\n int size = 2;\n try {\n size += paramName.getBytes(\"UTF-8\").length;\n } catch (UnsupportedEncodingException e) {\n // UTF-8 should always be available\n }\n return size;\n }","title":""},{"docid":"02a19807bc3d549fa43d1a7a8f569a1b","score":"0.62169164","text":"abstract public long length();","title":""},{"docid":"7f30fec30317262a69a995b16625296b","score":"0.6208585","text":"public synchronized int getSize()\n {\n return (int)m_Sb.length();\n }","title":""},{"docid":"6df6070064634e1e2e7dab68f7e2fe16","score":"0.62075925","text":"public int getLength() {\n return length_;\n }","title":""},{"docid":"6df6070064634e1e2e7dab68f7e2fe16","score":"0.62075925","text":"public int getLength() {\n return length_;\n }","title":""},{"docid":"edbf8c0492a77bc36d4b024c6eed99ff","score":"0.6205403","text":"public int getSize()\n {\n return length;\n }","title":""},{"docid":"c1ff96f63974a888134e87e11aceaebd","score":"0.6204964","text":"public int length()\n\t{\n\t\treturn length;\n\t}","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.6194962","text":"public int length();","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.6194962","text":"public int length();","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.6194962","text":"public int length();","title":""},{"docid":"66b972b422d474f00fa6f839eed8b804","score":"0.6194103","text":"Integer read(InputStream in, byte[] b, int offset, int length) throws IOException;","title":""},{"docid":"b34317803089997c783d0811395c4070","score":"0.61930895","text":"public static int copyStream(OutputStream out, InputStream in) throws java.io.IOException {\n int len;\n int totalLength = 0;\n byte[] buf = new byte[BUFFER_SIZE];\n while ((len = in.read(buf, 0, BUFFER_SIZE)) != -1) {\n out.write(buf, 0, len);\n totalLength += len;\n }\n out.flush();\n return totalLength;\n }","title":""},{"docid":"feeb9acb8830d0df0cd1f925c1dc664d","score":"0.6182662","text":"public int length() {\r\n\t\treturn s.length();\r\n\t}","title":""},{"docid":"ca7bd45d3da24ebe46e4599f08affb0c","score":"0.61771166","text":"@Override\n\tpublic long getContentLength() {\n\t\treturn inputEntity.getContentLength();\n\t}","title":""},{"docid":"e4ede8ea42987ff8a7e5136011e2f46b","score":"0.6173188","text":"public long getLength() {\r\n return length;\r\n }","title":""},{"docid":"2f49101913f8b85fee6852634e417152","score":"0.6169498","text":"public long getContentLength(MIMETypedStream stream) {\n long length = 0;\n if (stream.header != null) {\n for (int i = 0; i < stream.header.length; i++) {\n if (stream.header[i].name != null\n && !stream.header[i].name.equalsIgnoreCase(\"\")\n && stream.header[i].name.equalsIgnoreCase(\"content-length\")) {\n length = Long.parseLong(stream.header[i].value);\n break;\n }\n }\n }\n return length;\n }","title":""}],"string":"[\n {\n \"docid\": \"dde6a073a105ed2feca13b6ec87f5a47\",\n \"score\": \"0.7995091\",\n \"text\": \"@Override public long Size() {return (int)stream.Len();}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f85c7bd0a4543b279e9d5859767b21d\",\n \"score\": \"0.7876036\",\n \"text\": \"private static int streamLength(InputStream in) {\\r\\n\\t\\tint length = 0;\\r\\n\\t\\ttry {\\r\\n\\t\\t\\twhile (in.read() >= 0) {\\r\\n\\t\\t\\t\\tlength++;\\r\\n\\t\\t\\t}\\r\\n\\t\\t} catch (IOException e) {\\r\\n\\t\\t\\t/*\\r\\n\\t\\t\\t * Do nothing.\\r\\n\\t\\t\\t */\\r\\n\\t\\t}\\r\\n\\t\\treturn length;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bce9ade022ad3165bd93f00948134f9\",\n \"score\": \"0.7364798\",\n \"text\": \"public int getSize() throws IOException {\\n InputStream s = getInputStream();\\n byte[] b = new byte[4096];\\n \\n int size = 0;\\n int read = 0;\\n while ((read = s.read(b)) != -1) {\\n size += read;\\n }\\n \\n return size;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04d22260ca688ce2d2c77e415caa90cd\",\n \"score\": \"0.7351965\",\n \"text\": \"int getStreamLen() {\\n return length + 12;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d301703d853d4259fddae9e7c51cdcf4\",\n \"score\": \"0.72706217\",\n \"text\": \"long length() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f70412c4270de88734af948b4273743\",\n \"score\": \"0.71914136\",\n \"text\": \"@Override\\n public long getBinaryLength()\\n throws ManifoldCFException\\n {\\n return outputStream.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60b93c4133186bd48fe62a51dc669160\",\n \"score\": \"0.7110461\",\n \"text\": \"public int getLengthInBytes() {\\n\\t\\treturn buffer.length;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3888c0350055aa7f2c715f10df4b8b00\",\n \"score\": \"0.70430326\",\n \"text\": \"int getBytesCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8405fc780f4d616fb31d6d0108f77342\",\n \"score\": \"0.6988617\",\n \"text\": \"public int getLength() {\\r\\n\\t\\treturn bytes.length;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5da8ec0b147a75ac6555670e3038ef5\",\n \"score\": \"0.6943382\",\n \"text\": \"public abstract int getByteLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9131678d1d328c21f567424f56b72e4\",\n \"score\": \"0.6905211\",\n \"text\": \"public int getFileSize() throws MalformedInputException, IOException {\\n\\t\\tURL url = new URL(server_address);\\n\\t\\tURLConnection uCon = url.openConnection();\\n\\t\\tuCon.setConnectTimeout(timeout);\\n\\t\\tuCon.setReadTimeout(timeout);\\n\\t\\treturn uCon.getContentLength();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49e40fd273098dd3cbc00ebe2a7a290e\",\n \"score\": \"0.68598175\",\n \"text\": \"abstract public int length() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"382cf08450169fcc77c34497d5405dfb\",\n \"score\": \"0.68359184\",\n \"text\": \"@ProtocolState(1)\\n\\tpublic int readBinaryLength(Buffer buf) throws Exception {\\n\\t\\tbyte b;\\n\\t\\tint t,len;\\n\\t\\tlen = 0;\\n\\t\\t\\n\\t\\tdo {\\n\\t\\t\\tb = buf.read();\\n\\t\\t\\tif( (b&0x80) == 0x80 ) {\\n\\t\\t\\t\\t//end of length, store the len info and go to 2\\n\\t\\t\\t\\tbuf.put(BINARY_LEN, len);\\n\\t\\t\\t\\treturn 2;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t//update the len\\n\\t\\t\\t\\tt = b & 0x7f;\\n\\t\\t\\t\\tlen = t + (len*128);\\n\\t\\t\\t}\\n\\t\\t}while(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12a62834e7eb814f686115575a967e92\",\n \"score\": \"0.68316853\",\n \"text\": \"public long length() {\\n/* 444 */ long length = -1L;\\n/* */ \\n/* */ \\n/* */ try {\\n/* 448 */ length = this.channel.size();\\n/* 449 */ } catch (IOException iOException) {}\\n/* */ \\n/* */ \\n/* */ \\n/* 453 */ return length;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f05c3d49e979f4ffb2f085f5a37a19bf\",\n \"score\": \"0.6805523\",\n \"text\": \"int byteSize();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f05c3d49e979f4ffb2f085f5a37a19bf\",\n \"score\": \"0.6805523\",\n \"text\": \"int byteSize();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebb49e969f0230bcc166a6649057a7d4\",\n \"score\": \"0.6801402\",\n \"text\": \"@Override\\n public long getLength() throws IOException, InterruptedException {\\n FileSystemHandler fsHandler = new FileSystemHandler(fs);\\n return fsHandler.getFileSizeInBytes( inputPath );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55f7cb2e52d5fc82be8de118e4dd6189\",\n \"score\": \"0.67717904\",\n \"text\": \"int getByteCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5b802dba1d079db62a99b0e8fde3402\",\n \"score\": \"0.6709495\",\n \"text\": \"public int getlength() {\\n return(payload_size + HEADER_SIZE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3b451f3bcff875ec1606fa7c41871a2\",\n \"score\": \"0.6674157\",\n \"text\": \"long getFileLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3b451f3bcff875ec1606fa7c41871a2\",\n \"score\": \"0.6674157\",\n \"text\": \"long getFileLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8a948b44449b4f6c184adc661f81f51\",\n \"score\": \"0.66459405\",\n \"text\": \"@Override\\n public long getBinaryLength()\\n throws ManifoldCFException\\n {\\n return outputFile.length();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"969cf2852c65adf607605295318bc899\",\n \"score\": \"0.66323465\",\n \"text\": \"abstract public int data_length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b024be608b980d833b99e56e1307a273\",\n \"score\": \"0.6622743\",\n \"text\": \"public int getDataLength(){\\n return ((ET.bytesToIntTool(4, 2, header)& 0xff) -8);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0782cef7f0b4b42a362847ea69ca777\",\n \"score\": \"0.6602327\",\n \"text\": \"public final int getLength() {\\r\\n return getDataLength();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48ba328977b6991f7e9ec42bfbf15e66\",\n \"score\": \"0.6593945\",\n \"text\": \"public long getLength() throws IOException, InterruptedException {\\n\\t\\t\\treturn 0;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b24983bb458d41c263716b9f96357a8b\",\n \"score\": \"0.65885985\",\n \"text\": \"public int getSizeInBytes() {\\n return header.length / Byte.SIZE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e5bd29cf00427ab34ecd5ce1f8fb756\",\n \"score\": \"0.65761477\",\n \"text\": \"int getPayloadLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abda01a816d38333ac3eeb281abe6e2f\",\n \"score\": \"0.6572969\",\n \"text\": \"int getSizeInBytes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a36b9696145e6f6dd1aee3fc67f89652\",\n \"score\": \"0.65632474\",\n \"text\": \"public long getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"862e95da372d5316f9e177866b752928\",\n \"score\": \"0.65437835\",\n \"text\": \"public int getSizeInBytes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"868d03bd0758e34d074b979d998ad56c\",\n \"score\": \"0.6539066\",\n \"text\": \"public int size() throws IOException {\\r\\n return (int) (file.length() / RECORD_SIZE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5974a5199dd8f2890cfeab1783e5650c\",\n \"score\": \"0.6530585\",\n \"text\": \"public int size()\\n {\\n return this.buffer_size; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0073d4f76a4243577fba999bf11f4bba\",\n \"score\": \"0.65223664\",\n \"text\": \"public long getNumBytes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08b0f5ab4ba0b97927de1320e024be00\",\n \"score\": \"0.65173775\",\n \"text\": \"public int byteCount() throws IOException {\\n\\n\\t\\tint count = 0;\\n\\t\\tFileInputStream stream = new FileInputStream(this.file);\\n\\t\\twhile (stream.read() != -1) {\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t\\tstream.close();\\n\\t\\treturn count;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"151e74dfc598a40e78a342bde74bee55\",\n \"score\": \"0.65090907\",\n \"text\": \"public long readCount() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff725c206a12a623a302bec2d14367d4\",\n \"score\": \"0.6508801\",\n \"text\": \"long getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd59ae81a4675b46090b1bc70aa9de2f\",\n \"score\": \"0.6486666\",\n \"text\": \"public long getBitstreamLength(){\\n return super.value[0];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38f8e631d89f519276d36741526fd218\",\n \"score\": \"0.64737934\",\n \"text\": \"public int length() {\\n\\t\\treturn data.length();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"862c1c921bd7d3fffaf7f1c79830c64f\",\n \"score\": \"0.6471035\",\n \"text\": \"@Override\\n\\tpublic long getLength() throws IOException, InterruptedException {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a57f52661ef4be98f578226c132df44\",\n \"score\": \"0.64588606\",\n \"text\": \"int len();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5812dfea13dd380954a4c037ba187d83\",\n \"score\": \"0.6447266\",\n \"text\": \"public int byteCount() {\\n return count;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b303fdbf596713b7937a2c73a88c2a9\",\n \"score\": \"0.6443943\",\n \"text\": \"public int getLength() {\\n\\t\\treturn fLength; \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d56fa55595ddca598fd22467f790b63e\",\n \"score\": \"0.64366436\",\n \"text\": \"public final int getBytesLen()\\n {\\n return this.bytes.length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45bbdbaf1b5794d6b4bc2b831cb28647\",\n \"score\": \"0.6436237\",\n \"text\": \"public final int yylength() {\\n return input.readLength();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cee0eec446150efb48711adeba13bd1\",\n \"score\": \"0.64323217\",\n \"text\": \"public synchronized int getLen()\\t\\t{\\treturn len ; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6584fa37a238802172e1681893c771b\",\n \"score\": \"0.642709\",\n \"text\": \"public int getLength()\\n {\\n return _data.length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d994cb2e6526cf743a61b4f0f36836d1\",\n \"score\": \"0.6419492\",\n \"text\": \"public Long streamSize() {\\n return this.streamSize;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fcad5895b95941619ce73818f5a9b6b\",\n \"score\": \"0.6412951\",\n \"text\": \"public int readCount() {\\n\\t\\treturn count;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8796fea69e5771589920ce3b5a32d17a\",\n \"score\": \"0.64096975\",\n \"text\": \"public int getTextLength() {\\n/* 446 */ switch (this.state) { case StartTag:\\n/* */ case EndTag:\\n/* 448 */ return 0; }\\n/* */ \\n/* */ \\n/* 451 */ return this.payloadReader.getTextLength();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b84b137959821ef20d80d69fd963f4bd\",\n \"score\": \"0.6391299\",\n \"text\": \"public int getDataSize();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cfae1cbb10950061eb42f17d02365f5\",\n \"score\": \"0.63854915\",\n \"text\": \"public int getLength() {\\n return fLength;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f3c67312a37a3ee100b9b546bbe440f\",\n \"score\": \"0.6338984\",\n \"text\": \"long getSerializedLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dbdb203f4b910e6be7612398b723f79\",\n \"score\": \"0.63189137\",\n \"text\": \"public int getSize() {\\n synchronized(byteCounter) {\\n byteCounter.reset();\\n synchronized(dataCounter) {\\n try {\\n write(dataCounter);\\n } catch (IOException ex) {\\n throw new RuntimeException(\\\"ByteCounter should never \\\" +\\n \\\" throw an IOException\\\");\\n }\\n }\\n return byteCounter.size();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d1f96b06869dbdcfb7164614e42b9b9\",\n \"score\": \"0.6308418\",\n \"text\": \"public int getPayloadSize() {\\r\\n return dataLength;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ede0def0dca7789c01dade3a986039\",\n \"score\": \"0.63053185\",\n \"text\": \"public int getDataLength() {\\n return data.length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba5693249adff5d78b3ef43de63af30e\",\n \"score\": \"0.62965274\",\n \"text\": \"public int getpayload_length() {\\n return(payload_size);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"015d6425a70d40d6d336efb3cb36bd43\",\n \"score\": \"0.62935936\",\n \"text\": \"@Override\\n public int read() throws IOException {\\n int read = in.read();\\n readCount(read);\\n return read;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7541df001591cd339b22ff06cfaf9892\",\n \"score\": \"0.6290651\",\n \"text\": \"public long getLength() {\\n return getCount() * 12 + (hasNextOffset ? 4 : 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"088add37376f64d79f08e0761a446f4f\",\n \"score\": \"0.62766707\",\n \"text\": \"public final int byteSize() {\\n\\t\\treturn m_Data.length;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c9b28ff787f92c3e65fa9d3220dc910\",\n \"score\": \"0.6262641\",\n \"text\": \"public Long getLenByte() {\\n return lenByte;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c946dc3f95cb39a584de0e537235f30d\",\n \"score\": \"0.6252454\",\n \"text\": \"public static int getLength() {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06351d5b639b209e832178486db3da80\",\n \"score\": \"0.6250738\",\n \"text\": \"private int length(){\\n\\t\\tint cnt = 0;\\n\\t\\tfor (char c:data){\\n\\t\\t\\tif (c==0){\\n\\t\\t\\t\\treturn cnt;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tcnt++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn cnt;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74db61555c23e22b1622edf1f4d49854\",\n \"score\": \"0.6250281\",\n \"text\": \"public final int getRawLength() { return this.length; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.62405396\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.62402064\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b08bd8ff01bd6426bccca469c4514f84\",\n \"score\": \"0.6238645\",\n \"text\": \"public abstract int readableBytes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"181859db98d3da09a5de4d714b2d1f35\",\n \"score\": \"0.62382925\",\n \"text\": \"public int getBytesCount() {\\n return bytes_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37c25b4443581e1d1b6ee1d9a6c4eaac\",\n \"score\": \"0.6231774\",\n \"text\": \"long getFilesize();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e623c866bcc06a1becd10a7e6a4f4aa3\",\n \"score\": \"0.6231723\",\n \"text\": \"public int getSize() {\\n // null-terminated unicode + 1 byte\\n int size = 2;\\n try {\\n size += paramName.getBytes(\\\"UTF-8\\\").length;\\n } catch (UnsupportedEncodingException e) {\\n // UTF-8 should always be available\\n }\\n return size;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02a19807bc3d549fa43d1a7a8f569a1b\",\n \"score\": \"0.62169164\",\n \"text\": \"abstract public long length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f30fec30317262a69a995b16625296b\",\n \"score\": \"0.6208585\",\n \"text\": \"public synchronized int getSize()\\n {\\n return (int)m_Sb.length();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6df6070064634e1e2e7dab68f7e2fe16\",\n \"score\": \"0.62075925\",\n \"text\": \"public int getLength() {\\n return length_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6df6070064634e1e2e7dab68f7e2fe16\",\n \"score\": \"0.62075925\",\n \"text\": \"public int getLength() {\\n return length_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edbf8c0492a77bc36d4b024c6eed99ff\",\n \"score\": \"0.6205403\",\n \"text\": \"public int getSize()\\n {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1ff96f63974a888134e87e11aceaebd\",\n \"score\": \"0.6204964\",\n \"text\": \"public int length()\\n\\t{\\n\\t\\treturn length;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.6194962\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.6194962\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.6194962\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66b972b422d474f00fa6f839eed8b804\",\n \"score\": \"0.6194103\",\n \"text\": \"Integer read(InputStream in, byte[] b, int offset, int length) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b34317803089997c783d0811395c4070\",\n \"score\": \"0.61930895\",\n \"text\": \"public static int copyStream(OutputStream out, InputStream in) throws java.io.IOException {\\n int len;\\n int totalLength = 0;\\n byte[] buf = new byte[BUFFER_SIZE];\\n while ((len = in.read(buf, 0, BUFFER_SIZE)) != -1) {\\n out.write(buf, 0, len);\\n totalLength += len;\\n }\\n out.flush();\\n return totalLength;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"feeb9acb8830d0df0cd1f925c1dc664d\",\n \"score\": \"0.6182662\",\n \"text\": \"public int length() {\\r\\n\\t\\treturn s.length();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca7bd45d3da24ebe46e4599f08affb0c\",\n \"score\": \"0.61771166\",\n \"text\": \"@Override\\n\\tpublic long getContentLength() {\\n\\t\\treturn inputEntity.getContentLength();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4ede8ea42987ff8a7e5136011e2f46b\",\n \"score\": \"0.6173188\",\n \"text\": \"public long getLength() {\\r\\n return length;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f49101913f8b85fee6852634e417152\",\n \"score\": \"0.6169498\",\n \"text\": \"public long getContentLength(MIMETypedStream stream) {\\n long length = 0;\\n if (stream.header != null) {\\n for (int i = 0; i < stream.header.length; i++) {\\n if (stream.header[i].name != null\\n && !stream.header[i].name.equalsIgnoreCase(\\\"\\\")\\n && stream.header[i].name.equalsIgnoreCase(\\\"content-length\\\")) {\\n length = Long.parseLong(stream.header[i].value);\\n break;\\n }\\n }\\n }\\n return length;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":887,"cells":{"query_id":{"kind":"string","value":"aebc7e9163c465be30adf9f3e7baf83e"},"query":{"kind":"string","value":"Configure the workflow view."},"positive_passages":{"kind":"list like","value":[{"docid":"24bb5001405e5a96adb8f23f96870bb5","score":"0.5864272","text":"protected void doInitView() {\n view.setWidget(groupEditor.asWidget())\n .setCancelButtonVisible(true)\n .setSaveButtonVisible(true)\n .setSaveButtonEnabled(isDirty)\n .setSaveButtonText(getSaveButtonText())\n .setCallback(new EntityWorkflowView.Callback() {\n @Override\n public void onSave() {\n GroupEditorWorkflow.this.onSave();\n }\n\n @Override\n public void onCancel() {\n GroupEditorWorkflow.this.onCancel();\n }\n });\n }","title":""}],"string":"[\n {\n \"docid\": \"24bb5001405e5a96adb8f23f96870bb5\",\n \"score\": \"0.5864272\",\n \"text\": \"protected void doInitView() {\\n view.setWidget(groupEditor.asWidget())\\n .setCancelButtonVisible(true)\\n .setSaveButtonVisible(true)\\n .setSaveButtonEnabled(isDirty)\\n .setSaveButtonText(getSaveButtonText())\\n .setCallback(new EntityWorkflowView.Callback() {\\n @Override\\n public void onSave() {\\n GroupEditorWorkflow.this.onSave();\\n }\\n\\n @Override\\n public void onCancel() {\\n GroupEditorWorkflow.this.onCancel();\\n }\\n });\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"6c59e78347977659b3aae9af4200e818","score":"0.6242158","text":"public SlidesConfigView()\n {\n // Initialize the variables to the default values.\n folderPathTextField = \"\";\n soundPathTextField = \"\";\n\n // Initialization of the JFrame\n setContentPane(mainPanel);\n\n configureWidgets();\n setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n setJMenuBar(menuBar);\n setVisible(true);\n pack();\n setLocationRelativeTo(null);\n }","title":""},{"docid":"96ec4259410ca2b578d1ff24e2c7f149","score":"0.58248085","text":"public void setViewConfig(ModelViewConfig viewConfig) {\n this.viewConfig = viewConfig;\n }","title":""},{"docid":"432af502341e84b2716ee1319962f090","score":"0.5804659","text":"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n EditBuiltInWorkflowDetailsViewModel model = new ViewModelProvider(this).get(EditBuiltInWorkflowDetailsViewModel.class);\n options = getActivity().getIntent().getExtras();\n model.workflowId.setValue(options.getString(EditWorkflowActivity.IntentExtras.ID));\n setHasOptionsMenu(true);\n controls = FragmentEditBuiltInWorkflowBinding.inflate(LayoutInflater.from(getContext()), container, false);\n controls.setModel(model);\n controls.detailsRoot.setBackgroundColor(ContextCompat.getColor(getContext(), options.getInt(EditWorkflowActivity.IntentExtras.COLOR)));\n\n model.getWorkflow().observe(getViewLifecycleOwner(), builtInWorkflow -> initializeUI(builtInWorkflow));\n return controls.getRoot();\n }","title":""},{"docid":"bb5afea28520297b8ea06d1c05dffe8d","score":"0.5794648","text":"public void configure() {\n\t\tsetVisible(false);\n\t\tmvp.setVisible(false);\n\t\tcf = new ConfigureFrame(this);\n\t\tsetVisible(false);\n\t\tcf.setVisible(true);\n\t}","title":""},{"docid":"75dfc7ed97eeed05f02187cace16f3ef","score":"0.5793593","text":"private ConfigureView() {\r\n\t\t\r\n\t\tsuper();\r\n\t\t\r\n\t\twidgetsPanel = new JPanel();\r\n\t\twidgetsPanel.setLayout(new MigLayout(\"hidemode 3, wrap 4, insets 0, gap \" + Theme.padding, \"[pref][min!][min!][grow]\"));\r\n\t\twidgetsPanel.setBorder(new EmptyBorder(Theme.padding, Theme.padding, Theme.padding, Theme.padding));\r\n\t\tscrollableRegion = new JScrollPane(widgetsPanel, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r\n\t\tscrollableRegion.setBorder(null);\r\n\t\tbuttonsPanel = new JPanel();\r\n\t\tbuttonsPanel.setLayout(new MigLayout(\"insets 0\", \"[33%!][grow][33%!]\")); // 3 equal columns\r\n\t\tbuttonsPanel.setBorder(new EmptyBorder(Theme.padding * 2, Theme.padding, Theme.padding, Theme.padding)); // extra padding above\r\n\t\t\r\n\t\tsetLayout(new MigLayout(\"wrap 1, insets 0\")); // 1 column, no border\r\n\t\tadd(scrollableRegion, \"growx\");\r\n\t\tadd(buttonsPanel, \"growx\");\r\n\t\t\r\n\t\tsetPreferredSize(new Dimension(0, 0));\r\n\t\t\r\n\t}","title":""},{"docid":"32449ef25f54b3b87c98f2e0ecf4fa19","score":"0.5779331","text":"@Override\n\tpublic void setView(Resultado resultado, ServletConfig config) {\n\t\t\n\t}","title":""},{"docid":"d4af87ce5c44165c506478ff58c1f6fb","score":"0.5597723","text":"public void setWorkflow(Workflow p_workflow);","title":""},{"docid":"273fa12414b26a2c67bbbd84c620edbb","score":"0.55420214","text":"public void configureView(int viewStatus) {\n\n\t\tswitch (viewStatus) {\n\t\tcase VIEW_IDLE: // Regular view\n\t\t\tStopAction.getInstance().setEnabled(false);\n\t\t\ttableController.checkPlayActionMode();\n\t\t\tPauseAction.getInstance().setEnabled(false);\n\t\t\tRefreshAction.getInstance().setEnabled(true);\n\t\t\tprogressController.setRunning(false);\n\t\t\tCheckStatusAction.getInstance().setEnabled(true);\n\t\t\tReportersPanel.setInitReportsEnable(true);\n\t\t\ttableController.setEnableToolBar(true);\n\t\t\tconfigureSutStatus(true);\n\t\t\tmenuBuilder.setView(VIEW_IDLE);\n\t\t\ttableController.updateEnabledAndDisabledActions(null);\n\t\t\tSwitchProjectAction.getInstance().setEnabled(true);\n\t\t\tImportProjectAction.getInstance().setEnabled(true);\n\t\t\tPublishXmlResultAction.getInstance().setEnabled(false);\n\t\t\tViewTestCodeAction.getInstance().setEnabled(true);\n\t\t\trepeatAmount.setEnabled(true);\n\t\t\trepeatCheckBox.setEnabled(true);\n\t\t\tdebugCheckBox.setEnabled(true);\n\t\t\tfreezeCheckBox.setEnabled(true);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(true);\n\t\t\tfixtureView.endFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tcase VIEW_RUNNING: // During execution\n\t\t\tfirsIdle = false;\n\t\t\tStopAction.getInstance().setEnabled(true);\n\t\t\tPlayAction.getInstance().setEnabled(false);\n\t\t\tPauseAction.getInstance().setEnabled(true);\n\t\t\tRefreshAction.getInstance().setEnabled(false);\n\t\t\tCheckStatusAction.getInstance().setEnabled(false);\n\t\t\tReportersPanel.setInitReportsEnable(false);\n\t\t\tconfigureSutStatus(false);\n\t\t\tprogressController.setRunning(true);\n\t\t\tmenuBuilder.setView(VIEW_RUNNING);\n\t\t\ttableController.setEnableToolBar(false);\n\t\t\tSwitchProjectAction.getInstance().setEnabled(false);\n\t\t\tImportProjectAction.getInstance().setEnabled(false);\n\t\t\tViewTestCodeAction.getInstance().setEnabled(false);\n\t\t\tPublishXmlResultAction.getInstance().setEnabled(false);\n\t\t\trepeatAmount.setEnabled(false);\n\t\t\tdebugCheckBox.setEnabled(false);\n\t\t\trepeatCheckBox.setEnabled(repeatAmount.getText().equals(\"0\"));\n\t\t\tfreezeCheckBox.setEnabled(false);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\n\t\t\tfixtureView.startFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tcase VIEW_PAUSED:\n\t\t\tPlayAction.getInstance().setEnabled(true);\n\t\t\tPauseAction.getInstance().setEnabled(false);\n\t\t\tconfigureSutStatus(true);\n\t\t\ttableController.setEnableToolBar(false);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\n\t\t\tfixtureView.startFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tcase VIEW_WAIT_FOR_PAUSE:\n\t\t\tInitReportersAction.getInstance().setEnabled(false);\n\t\t\tPlayAction.getInstance().setEnabled(false);\n\t\t\tPauseAction.getInstance().setEnabled(false);\n\t\t\ttableController.setEnableToolBar(false);\n\t\t\tconfigureSutStatus(false);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\n\t\t\tfixtureView.startFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}","title":""},{"docid":"3f11057297892dc510e40550765c4da6","score":"0.54951304","text":"public WorkflowComponent() {\n VerticalLayout vbox = new VerticalLayout();\n HorizontalLayout hbox = new HorizontalLayout();\n\n //grid holds workflowDto,\n TreeGrid workflowDtoGrid = new TreeGrid<>(WorkflowDto.class);\n List WorkflowDtoList = new ArrayList<>();\n WorkflowDtoList.add(new WorkflowDto(\"workflowDto1\"));\n WorkflowDtoList.add(new WorkflowDto(\"workflowDto2\"));\n workflowDtoGrid.setItems(WorkflowDtoList);\n\n hbox.add(workflowDtoGrid);\n add(workflowDtoGrid);\n workflowDtoGrid.setHeight(\"300px\");\n workflowDtoGrid.setWidth(\"1000px\");\n workflowDtoGrid.setColumns(\"workflowName\");\n\n workflowDtoGrid.setSelectionMode(Grid.SelectionMode.NONE);\n\n// formLayout.add(name, age);\n// formLayout.addFormItem(name, \"Name\");\n// formLayout.addFormItem(age, \"Age\");\n// formLayout.addFormItem(column, \"Column\");\n//\n// workflowDtoGrid.addItemClickListener(\n// event -> {\n// name.setText(event.getItem().getFirstName());\n// age.setText(String.valueOf(event.getItem().getAge()));\n// column.setText(event.getColumn().getKey());\n// });\n }","title":""},{"docid":"72fb16ab18dba187dba51fa8730a4974","score":"0.5452524","text":"@Override\r\n\tprotected void initView() {\n\t}","title":""},{"docid":"44811e389a63b471a37653cf4bc2bd64","score":"0.5432149","text":"@Override\n\tprotected void initView() {\n\t\t\n\t}","title":""},{"docid":"bce19f5ace9093482495d67bc6d20d39","score":"0.54284555","text":"@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}","title":""},{"docid":"6b9d1673e3d3f1b02507da2765dce10c","score":"0.5391447","text":"public PrefSetView() {\n initComponents();\n \n }","title":""},{"docid":"357beb959ed9775b481dedb25de92a9a","score":"0.5364857","text":"private void initView() {\n\t\tJPanel p = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Task ID: \", SwingConstants.LEFT));\n\t\tp.add(getTaskID());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Task Title: \", SwingConstants.LEFT));\n\t\tp.add(getTaskTitle());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Category\", SwingConstants.LEFT));\n\t\tp.add(getCategory());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Start Date & Time: \", SwingConstants.LEFT));\n\t\tp.add(getTaskStartSpinner());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Due Date & Time: \", SwingConstants.LEFT));\n\t\tp.add(getTaskDueSpinner());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Completed Date & Time: \", SwingConstants.LEFT));\n\t\tp.add(getTaskCompletedSpinner());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Completed? \", SwingConstants.LEFT));\n\t\tp.add(getComplete());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Task Details: \", SwingConstants.LEFT));\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(getTaskDetails());\n\t\tthis.add(p);\n\t\t\n\t\t\n\t}","title":""},{"docid":"4753fb000a01c5f307199573780f0f32","score":"0.5336632","text":"@Override\n public void configure(\n WikiPageKey wikiKey,\n Map widgetDescriptor,\n Callback widgetRefreshRequired,\n Long wikiVersionInView\n ) {\n descriptor = widgetDescriptor;\n view.configure();\n }","title":""},{"docid":"9da8cd123e516b3de0ef8e61bbc67866","score":"0.5329102","text":"@Override\n protected void initView() {\n }","title":""},{"docid":"c120523f4173927f4ad9ed409968f987","score":"0.5265961","text":"protected void initWorkflow() {\n Workflow workflow = new Workflow();\n\n Project project = getProject();\n String repositoryDomain = project.getProperty(\"domain.savant.repository\");\n String mappingFile = project.getProperty(\"file.savant.mapping\");\n if (repositoryDomain != null || mappingFile != null) {\n File mapping = new File(mappingFile);\n if (!mapping.exists() || mapping.isDirectory()) {\n mapping = null;\n }\n\n SavantInternetProcess sip = new SavantInternetProcess();\n sip.setDefaultdomain(repositoryDomain);\n sip.setMapping(mapping);\n workflow.addProcess(sip);\n }\n\n mediator.setWorkflow(workflow);\n }","title":""},{"docid":"0e09e3c7fc37df85f2e8bdd9f50b4774","score":"0.5264381","text":"public DefaultViewActionBean(Resolution view) {\n this.view = view;\n }","title":""},{"docid":"430b63b4cea441d85fa41e7430830817","score":"0.52463984","text":"@Override\r\n\tprotected void initViews() {\n\t\t\r\n\t}","title":""},{"docid":"b58bc4eec54db2d726cb5c37ae3201d6","score":"0.52430904","text":"public ConfigurationPane() \n {\n initTraders();\n\t\tinitComponents();\n\t}","title":""},{"docid":"2244779af1613355aec26d32bbdcc2d7","score":"0.52301157","text":"@Override\n\tprotected void initViews() {\n\n\t}","title":""},{"docid":"f5dbcb7f21099952f1dc665106fdb0aa","score":"0.5229736","text":"private void setupUI() {\n LayoutHandler layoutHandler;\n try {\n layoutHandler = BuildConfig.layoutHandler.newInstance();\n } catch (IllegalAccessException | InstantiationException e) {\n // Incorrectly configured build?\n throw new RuntimeException(\"Unable to create tripActionLayout handler\", e);\n }\n layoutHandler.setup(this, binding);\n binding.setClickHandler(this);\n binding.mockDriveLayout.setClickHandler(layoutHandler);\n binding.setState(sdkState);\n titleTextView = binding.titleTextView;\n tripListView = binding.tripListView;\n tripListView.setOnItemClickListener(this);\n }","title":""},{"docid":"45ceafd7109417de7efd3a6296a8289b","score":"0.5223968","text":"@Override\r\n\tpublic void initView() {\n\t\t\r\n\t}","title":""},{"docid":"7314aab73e42a7adcdfd7bb3958e8957","score":"0.52198327","text":"@Override\n\tpublic void initView() {\n\t}","title":""},{"docid":"22fd957b2e8e22988ee7f5a5475430b9","score":"0.5212209","text":"public void initView() {\n\t}","title":""},{"docid":"87b41894fb94f9c702a8db4e756b2d6a","score":"0.5210493","text":"@Override\n protected void setup(View view) {\n final Organization organization = new Organization();\n organization.setName(\"CodePath\");\n\n final User user = new User();\n user.setName(\"John Doe\");\n\n // Get the DAO\n final UserDao userDao = ((RestApplication) getApplicationContext()).getMyDatabase().userDao();\n\n // Define the task\n ((RestApplication) getApplicationContext()).getMyDatabase().runInTransaction(new Runnable() {\n @Override\n public void run() {\n userDao.insertOrganization(organization);\n userDao.insertModel(user);\n }\n });\n }","title":""},{"docid":"89d3afd09ddee96d14ce1edc762daef9","score":"0.5203266","text":"@Override\n\tpublic void initView() {\n\t\t\n\t}","title":""},{"docid":"0461e64251f533646a38efe28454bd99","score":"0.51849324","text":"@Override\n protected void onConfigure() {\n\n final ScalarModel scalarModel = getModel();\n\n final boolean hidden = scalarModel.whetherHidden();\n setVisibilityAllowed(!hidden);\n\n super.onConfigure();\n }","title":""},{"docid":"d6ed7f6451f6f72205f18501f59280a1","score":"0.51665217","text":"@Override\r\n protected void init() {\n \r\n mainComponent.setWidth(FORM_WIDTH);\r\n\r\n chemStructQuestionOptGrpLayout = new ChemStructQuestionOptGrpLayout(this);\r\n tnAttachmentsListLayout = new TnAttachmentsListLayout(this);\r\n publishQuestionOptGrpLayout = new PublishQuestionOptGrpLayout(this);\r\n exportQuestionOptGrpLayout = new ExportQuestionLayout(this);\r\n outstdCommentsCheckBoxLayout = new OutstdCommentsCheckBoxLayout(this);\r\n //inciNameTextAreaLayout = new InciNameTextAreaLayout(this);\r\n monoIdInciNameLayout = new MonoIdInciNameLayout(this);\r\n inciNameDateFieldLayout = new InciNameDateFieldLayout(this); // Assignment Date\r\n //monoIdFieldLayout = new MonoIdFieldLayout(this);\r\n sendAssignmentEmailButton = new SendAssignmentEmailButton(parentView);\r\n \r\n // Contact User Information\r\n userFormLayout = new UserFormLayout();\r\n //userFormLayout.setUser(user);\r\n userFormLayout.setEditable(false); \r\n \r\n // Contact Company Information\r\n userCompanyFormLayout = new CompanyFormLayout();\r\n //userCompanyFormLayout.setUserCompany(user.getUserCompany());\r\n userCompanyFormLayout.setEditable(false); \r\n \r\n userCompanySupplierIdFieldLayout = new UserCompanySupplierIdFieldLayout(this);\r\n \r\n // Publication Company\r\n publicationCompanyFormLayout = new CompanyFormLayout(\"tradeName.detail.pub_company.title\");\r\n //publicationCompanyFormLayout.setUserCompany(new UserCompany(formTn.pubCompany));\r\n //publicationCompanyFormLayout.setEditable(parentView.isEditable());\r\n \r\n publicationCompanySupplierIdFieldLayout = new PublicationCompanySupplierIdFieldLayout(this);\r\n }","title":""},{"docid":"85dbe48d6301aeb62d17b58157512882","score":"0.5160709","text":"public TransViewTemplateConfigurer build() {\n createNashornTransViewResourcePool();\n return this;\n }","title":""},{"docid":"9472a3ad40135fe141d69c44ab1931fe","score":"0.5139055","text":"private void configureView() {\n \t\t// parametrage de la JFrame\n \t\tthis.setExtendedState(JFrame.MAXIMIZED_BOTH);\n \t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \t\tthis.setSize(1400, 880);\n \t\tgetContentPane().setBackground(Color.GRAY);\n \n \t\tWebStatusBar statusBar = new WebStatusBar();\n \t\tWebMemoryBar memoryBar = new WebMemoryBar();\n \t\tmemoryBar.setShowMaximumMemory(false);\n \t\tstatusBar.add(memoryBar);\n \n \t\tgetContentPane().add(BorderLayout.SOUTH, statusBar);\n \n \t\t// TODO remonter les evenements start et stop\n \n \t\tDimension dim = Toolkit.getDefaultToolkit().getScreenSize();\n \t\tthis.setLocation(dim.width / 2 - this.getSize().width / 2, dim.height\n \t\t\t\t/ 2 - this.getSize().height / 2);\n \t\tthis.setResizable(true);\n \n \t\t// ajout des raccourcis clavier aux elements du menu\n \t\tmenuItemNew.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemOpen.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemSave.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemSaveAs.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\n \t\t\t\tActionEvent.SHIFT_MASK + ActionEvent.CTRL_MASK));\n \t\tmenuItemQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemDoc.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_D,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemAbout.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_B,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t}","title":""},{"docid":"33f178414ddd72144168c57af35a06c7","score":"0.513452","text":"@Override\n protected void initView()\n {\n\t\n }","title":""},{"docid":"84290eb34a5b9c016ae95baf4054f9d6","score":"0.51254183","text":"@Override\n\tpublic void createInitialLayout(IPageLayout layout) {\n\t\tlayout.addNewWizardShortcut(\"cn.edu.buaa.sei.rucm.newModelWizard\");\n\n // Add \"show views\".\n// layout.addShowViewShortcut(IPageLayout.ID_RES_NAV);\n// layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS);\n// layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);\n layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);\n// layout.addShowViewShortcut(\"cn.edu.buaa.sei.rucm.modelNavigator\");\n layout.addShowViewShortcut(\"cn.edu.buaa.sei.rucm.commonNavigator\");\n// layout.addShowViewShortcut(\"org.eclipse.jdt.ui.PackageExplorer\");\n// layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);\n \n // Editors are placed for free.\n String editorArea = layout.getEditorArea();\n\n // Place navigator and outline to left of\n // editor area.\n IFolderLayout left = layout.createFolder(\"left\", IPageLayout.LEFT, 0.25f, editorArea);\n left.addView(\"cn.edu.buaa.sei.rucm.commonNavigator\");\n// left.addView(IPageLayout.ID_OUTLINE);\n \n IFolderLayout right = layout.createFolder(\"right\", IPageLayout.RIGHT, 0.70f, editorArea);\n right.addView(IPageLayout.ID_PROP_SHEET);\n\t}","title":""},{"docid":"bdaf0070cc715e106bfaa69de129d467","score":"0.5118993","text":"public abstract void setWorkflow(IWorkflow iw);","title":""},{"docid":"dcc5a5e41d841c215220ac21022a68f8","score":"0.5115025","text":"private void InitializeView() {\n ConfigureWindow();\n\n /* set up screen */\n ConfigureScreen();\n\n /* set up text screen */\n ConfigureTextScreen();\n\n /* set up buttons */\n ConfigureButtons();\n\n frame.pack();\n frame.setVisible(true);\n frame.setResizable(false);\n }","title":""},{"docid":"21301e6e11d8f0816daf81899e72b89a","score":"0.50957006","text":"public EditViewPannel() {\n initComponents();\n }","title":""},{"docid":"8f389fb6aeebf9ca021ee17e4fcb411a","score":"0.5087285","text":"private void initView() {\n }","title":""},{"docid":"d3c190cce6e268b4e7fdc7a8e6a5d2a2","score":"0.50785756","text":"public ScheduleView() {\n initComponents();\n Controller.Instance().addObserver(this);\n renderSchedule();\n }","title":""},{"docid":"122b3eed7d5e4722bbfb13d8c806ce3a","score":"0.5077318","text":"protected abstract void initViews();","title":""},{"docid":"1f0eab775c308446fc74f5c027039d69","score":"0.50662255","text":"public ToolboxView() {\n setUpTable();\n }","title":""},{"docid":"7a10103fb2127566268d5c0557b241b0","score":"0.505577","text":"@Override\n protected void setupViewInterceptors(EJBViewDescription view) {\n super.setupViewInterceptors(view);\n\n // add a Tx configurator\n view.getConfigurators().add(new ViewConfigurator() {\n @Override\n public void configure(DeploymentPhaseContext context, ComponentConfiguration componentConfiguration, ViewDescription description, ViewConfiguration configuration) throws DeploymentUnitProcessingException {\n EJBComponentDescription ejbComponentDescription = (EJBComponentDescription) componentConfiguration.getComponentDescription();\n // Add CMT interceptor factory\n if (TransactionManagementType.CONTAINER.equals(ejbComponentDescription.getTransactionManagementType())) {\n configuration.addViewInterceptor(CMTTxInterceptor.FACTORY, InterceptorOrder.View.CMT_TRANSACTION_INTERCEPTOR);\n }\n }\n });\n\n //now we need to figure out if this is a home or object view\n if (view instanceof EjbHomeViewDescription) {\n view.getConfigurators().add(getHomeViewConfigurator());\n } else {\n view.getConfigurators().add(getObjectViewConfigurator());\n }\n\n if (view.getMethodIntf() == MethodIntf.REMOTE) {\n view.getConfigurators().add(new ViewConfigurator() {\n @Override\n public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException {\n final EEModuleDescription moduleDescription = componentConfiguration.getComponentDescription().getModuleDescription();\n final String appName = moduleDescription.getEarApplicationName() == null ? \"\" : moduleDescription.getEarApplicationName();\n configuration.setViewInstanceFactory(getRemoteViewInstanceFactory(appName, componentConfiguration.getModuleName(), moduleDescription.getDistinctName(), componentConfiguration.getComponentName()));\n }\n });\n }\n\n }","title":""},{"docid":"34e19d51202de41c3d26a37620412991","score":"0.5052135","text":"public WizardView() {\n initComponents();\n }","title":""},{"docid":"88964b17493ee0e0fbcad9826fcded70","score":"0.50483346","text":"private void configViewModeToolBar() {\n StiViewModeToolBar stiViewModeToolBar = getStiViewModeToolBar();\n\n singlePage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(0);\n continuousPage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(1);\n multiplePage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(2);\n }","title":""},{"docid":"2c42276b6e972e9eb50929809c8f1c53","score":"0.50460136","text":"public ApplicationUI() {\n\t\trepository = new InMemoryMapRepository(); //\n\t\ttaskSelected = new SimpleLongProperty(); //\n\t\t\n\t\trepository.create(new TaskData(\"Task1\", \"erster Task fuer test\" , LocalDate.now(), State.Todo));\n\t\trepository.create(new TaskData(\"Task2\", \"zweiter Task fuer test\" , LocalDate.now(), State.Doing));\n\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Doing));\n\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Doing));\n\t\trepository.create(new TaskData(\"Task1\", \"erster Task fuer test\" , LocalDate.now(), State.Todo));\n\t\trepository.create(new TaskData(\"Task2\", \"zweiter Task fuer test\" , LocalDate.now(), State.Done));\n\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Doing));\n//\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Review));\n\t\t\n\t\tinitializeControls();\n\t\tlayoutControls();\n\t}","title":""},{"docid":"5249624c9fe5bb97ecd9b6d12ac086be","score":"0.5045567","text":"private void initView() {\n\n }","title":""},{"docid":"4688a026c09446c2af04523f8f80ad36","score":"0.50402945","text":"public ViewPanel() {\n initComponents();\n }","title":""},{"docid":"7594d31470a915e6520cef61d5433e81","score":"0.50375193","text":"@Override\n\tprotected void configure() {\n\t\tMultibinder menu = Multibinder.newSetBinder(binder(), MenuContribution.class);\n\n\t\tmenu.addBinding().toInstance(\n\t\t\t\tnew DefaultMenuContribution(DataManager.APPLICATION_ID, MenuBuilder.menu(\"File\", \"New\"),\n\t\t\t\t\t\tnew NewProjectAction()));\n\t}","title":""},{"docid":"846f67329736a33deee33a0377ab0426","score":"0.5026718","text":"public ObmenSettingsViewImpl() {\n }","title":""},{"docid":"812e0b3bf1164d482d856abcdbabd900","score":"0.50225914","text":"public AuthenticationAdminView() {\n initComponents();\n }","title":""},{"docid":"44eedfee41b154dc931a0c4f3831cb68","score":"0.501774","text":"void viewTvShow(ConfigurationModel configuration, TvShowModel tvShow);","title":""},{"docid":"106b223e7a1b43084e8c7c94a749fb36","score":"0.5008214","text":"public tugaslayout() {\n initComponents();\n }","title":""},{"docid":"717eac4ee2ffb2e3275a8952de1f75ee","score":"0.49842194","text":"public ProjectSettingsPage()\n {\n initialize();\n }","title":""},{"docid":"65096f0decb1c45c7ac5b6121dbf0bc0","score":"0.49710256","text":"public void setWorkflowType(WorkflowType workflowType) {\n this.workflowType = workflowType;\n }","title":""},{"docid":"dccf34fc90467b74c6026f266f7374cf","score":"0.49631894","text":"private void initView() {\n\t\tsuper.setLayout(new BorderLayout());\n\t\tinitGrammarTable();\n\t\tJPanel rightPanel = initRightPanel();\n\t\tJSplitPane mainSplit = SplitPaneFactory.createSplit(environment, true,\n\t\t\t\t0.4, new JScrollPane(grammarTable), rightPanel);\n\t\tadd(mainSplit, BorderLayout.CENTER);\n\t}","title":""},{"docid":"0554c31961cce1d04b6174a792f2fd45","score":"0.49606472","text":"public void setWorkflowTask(WorkflowTaskInstance p_wfTaskInstance);","title":""},{"docid":"d0622743fa9f7e16840066248d7d1e23","score":"0.49601147","text":"public MastermindView() {\n initialiseNodes();\n layoutNodes();\n }","title":""},{"docid":"01de74455df4296009856f5a82611587","score":"0.49599475","text":"@Override\n\tpublic void viewSetting() {\n\t\tsetBackground(myColor.backgroundCol());\n\t\t\n\t\tbackBtn.setSize(70,40);\n\t\tbackBtn.setLocation(10,10);\n\t\t\n\t\tsettingLabel.setSize(50,50);\n\t\tsettingLabel.setLocation(90,100);\n\t\t\n\t\tchargeLabel.setSize(50,50);\n\t\tchargeLabel.setLocation(90,200);\n\t\t\n\t\tinterestLabel.setSize(50,50);\n\t\tinterestLabel.setLocation(90,250);\n\t\t\n\t\tuserListLabel.setSize(50,50);\n\t\tuserListLabel.setLocation(400,100);\n\t\t\n\t\tsettingBtn.setSize(200,50);\n\t\tsettingBtn.setLocation(80,310);\n\t\t\n\t\tchargeValue.setSize(150,50);\n\t\tchargeValue.setLocation(130,200);\n\t\t\n\t\tinterestValue.setSize(150,50);\n\t\tinterestValue.setLocation(130,250);\n\t\t\n\t\tuserList.setSize(230,600);\n\t\tuserList.setLocation(350,150);\n\t\t\n\t\ttranListLabel.setSize(50,50);\n\t\ttranListLabel.setLocation(610,100);\n\t\t\n\t\ttransactionList.setSize(400,600);\n\t\ttransactionList.setLocation(610,150);\n\t\t\n\t\tusrDeleteBtn.setSize(100,30);\n\t\tusrDeleteBtn.setLocation(470,110);\n\t}","title":""},{"docid":"b5cd1c7ed3dee419bc681d8402a07a17","score":"0.49556866","text":"private void viewInitilization() {\n }","title":""},{"docid":"e0c99e06c99ac93bd6da0883dbc0e924","score":"0.4940475","text":"public AbstractFxmlView() {\n LOGGER.debug(\"AbstractFxmlView construction\");\n // Set the root path to package path\n final String filePathFromPackageName = PropertyReaderHelper.determineFilePathFromPackageName(getClass());\n setFxmlRootPath(filePathFromPackageName);\n annotation = getFXMLAnnotation();\n resource = getURLResource(annotation);\n presenterProperty = new SimpleObjectProperty<>();\n bundle = getResourceBundle(getBundleName());\n }","title":""},{"docid":"83f8b7430019d589c073d575c72f8589","score":"0.49404544","text":"public SchedPrefView() {\n initComponents();\n }","title":""},{"docid":"613fddc14111920c0714b7bb6ff36399","score":"0.49324745","text":"public void goToView(){\r\n\t\tgrammarDevPanel.setMode(ViewSemanticsPanel.MODE_VIEW);\r\n\t}","title":""},{"docid":"57f53d995fc422f52866328e4904d99f","score":"0.49324667","text":"void setCreateView(NeverNoteCreateView createView);","title":""},{"docid":"39a899258c11bb56d26e26e65e876877","score":"0.49322876","text":"public ActionView() {\n initComponents();\n customInit();\n }","title":""},{"docid":"5e48e3662080857dcf15ff14035e0069","score":"0.49312136","text":"public ProdutoView() {\n // método para exibir view no centro da tela\n initComponents();\n }","title":""},{"docid":"efd9d50424aa7cbd3b8dc2438714ac8c","score":"0.49282518","text":"private void initialConfigView(){\n\t\t// video depth\n\t\tthis.videoDepth = ((Button) findViewById(R.id.cp_video_depth));\n\t\tthis.videoDepth.setText(getResources().getString(R.string.video_depth)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)+Locals.VideoDepthBpp+\"bpp\");\n\t\tthis.videoDepth.setOnClickListener(this);\n\t\t// screen ratio\n\t\tthis.screenRatio = ((Button) findViewById(R.id.cp_screen_ratio));\n\t\tthis.screenRatio.setText(getResources().getString(R.string.screen_ratio)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)\n\t\t\t\t+((Locals.VideoXRatio > 0 && Locals.VideoYRatio > 0)?(Locals.VideoXRatio+\":\"+Locals.VideoYRatio):(getResources().getString(R.string.full))));\n\t\tthis.screenRatio.setOnClickListener(this);\n\t\t// smooth video\n\t\tthis.smoothVideo = ((Button) findViewById(R.id.cp_smooth_video));\n\t\tthis.smoothVideo.setText(getResources().getString(R.string.smooth_video)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)\n\t\t\t\t+(Locals.VideoSmooth?\"Yes\":\"No\"));\n\t\tthis.smoothVideo.setOnClickListener(this);\n\t\t// never show\n\t\tthis.nevershow = ((Button) findViewById(R.id.cp_never_show));\n\t\tthis.nevershow.setText(getResources().getString(R.string.never_show)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)\n\t\t\t\t+(Locals.AppLaunchConfigUse?\"No\":\"Yes\"));\n\t\tthis.nevershow.setOnClickListener(this);\n\t\t// gallery\n\t\tthis.gallery = ((Button) findViewById(R.id.cp_gallery));\n\t\tthis.gallery.setOnClickListener(this);\n\t\t// about\n\t\tthis.about = ((Button) findViewById(R.id.cp_about));\n\t\tthis.about.setOnClickListener(this);\n\t\t// run game\n\t\tthis.run = ((Button) findViewById(R.id.cp_run));\n\t\tthis.run.setOnClickListener(this);\n\t}","title":""},{"docid":"4f851293feebd05d81c5643179ca213c","score":"0.49214798","text":"public ViewConfigurationExportTask(InitParams initParams, String name) {\n this.initParams = initParams;\n this.name = name;\n }","title":""},{"docid":"2759a1e32a6cd9ad5e2e82539b7a9233","score":"0.49196488","text":"public void layoutForSimView()\n {\n preferredSize = new Dimension(644, 456);\n ((ViewableComponent)withName(\"proc1\")).setPreferredLocation(new Point(119, 125));\n ((ViewableComponent)withName(\"ef\")).setPreferredLocation(new Point(21, 200));\n ((ViewableComponent)withName(\"switch0\")).setPreferredLocation(new Point(-13, 68));\n ((ViewableComponent)withName(\"proc0\")).setPreferredLocation(new Point(120, 18));\n }","title":""},{"docid":"bf9a73cbeeb04b1f1c080e606efc39c7","score":"0.4896192","text":"public ModelViewConfig getViewConfig() {\n return this.viewConfig;\n }","title":""},{"docid":"02662b0f7b97d8c63a85d1102af53670","score":"0.48903573","text":"private void setupUI() {\n JFrame frame = (JFrame) getUIComponent();\n \n Container content = frame.getContentPane();\n content.add((Component) getSettingsView().getUIComponent(), SOUTH);\n content.add((Component) getListView().getUIComponent(), CENTER);\n \n try {\n String look = renamer.getConfig().getString(LOOK_AND_FEEL);\n \n if (look == null || look.equals(LOOK_N_FEEL_CROSS_PLATFORM))\n UIManager.setLookAndFeel(\n UIManager.getCrossPlatformLookAndFeelClassName());\n \n else if (look.equals(LOOK_N_FEEL_SYSTEM))\n UIManager.setLookAndFeel(\n UIManager.getSystemLookAndFeelClassName());\n \n SwingUtilities.updateComponentTreeUI(frame);\n \n } catch (Exception e) {\n e.printStackTrace();\n assert false;\n }\n \n new DropTarget(frame, getDropTargetListener());\n \n frame.setJMenuBar(menuBar = new MenuBar(this));\n frame.pack();\n frame.setSize(Utils.getDefaultWindowSize(this));\n frame.setLocation(Utils.getDefaultWindowPosition(this));\n frame.addWindowListener(windowListener);\n frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n frame.setVisible(true);\n }","title":""},{"docid":"81b789647b5f84f0c2f6e7194112c479","score":"0.48899308","text":"public EmailView() {\n initComponents();\n relatedInfoEditorPane.setContentType(\"text/html\");\n \n }","title":""},{"docid":"a4a275f5ccf5bb006f843689add7c87f","score":"0.48879322","text":"private void makePredefinedConfigurationsPanel() {\n predefinedConfController = new PredefinedConfController(this, \"config\", \"predefinedConfiguration.apv\");\n configPanel = predefinedConfController.getJPanel();\n ActionListener selectConfListener = new ActionListener() {\n\n public void actionPerformed(ActionEvent e) {\n URL url = (URL) e.getSource();\n if (url == null) {\n Toolkit.getDefaultToolkit().beep();\n messageTextLocal.setText(null);\n messageTextLocal.setText(\"Cannot find an input configuration file!\");\n }\n cleanUp();\n readArrayPVViewerDocument(url);\n setHasChanges(false);\n setFontForAll(globalFont);\n setActivePanel(VIEW_PANEL);\n }\n };\n predefinedConfController.setSelectorListener(selectConfListener);\n }","title":""},{"docid":"d9b66869a8c825bf18432d847ab71271","score":"0.48876828","text":"ProjectSettingsPage(SettingsContainer container)\n {\n super(container);\n initialize();\n }","title":""},{"docid":"8f2bba44fd834fbb869c6a09be3bb015","score":"0.48846596","text":"@Override\n\tpublic void Create() {\n\t\tinitView();\n\t}","title":""},{"docid":"df94e7dff9cb797b1d79aa1c3e08f63f","score":"0.48798758","text":"public SettingsView(Context context) {\n super(context);\n }","title":""},{"docid":"4b879e7fe77ae82c13b3aa335cbfe2f5","score":"0.48781592","text":"void initView();","title":""},{"docid":"7693f8317713e4532393649b09085ee1","score":"0.4876874","text":"@Override\n public void initView() {\n super.initView();\n super.setTitle(\"设置\");\n super.setGone();\n setBack();\n }","title":""},{"docid":"ca9d00e4a26b643f7c76ef886a4a2843","score":"0.48727566","text":"@Override\n protected void initView() {\n ActionBar actionBar = getSupportActionBar();\n if (actionBar != null) {\n actionBar.setDisplayHomeAsUpEnabled(true);\n }\n\n // init functions\n buildBills();\n loadCompacts();\n setCardInfo();\n\n // init mode\n mode = Mode.SUBMIT;\n }","title":""},{"docid":"977177565c8ade59276a7d55328981bf","score":"0.48725238","text":"public void configureWidgets() {\n // Set JMenuChoosers for image directory and sounds.\n setSlidesFolderChooser();\n setSoundFileChooser();\n\n // Initialize spinner\n List spinnerValues = new ArrayList<>();\n for (int i = 1; i<=60; i++)\n spinnerValues.add(i);\n intervalInSecondsSpinner.setModel(new SpinnerListModel(spinnerValues));\n\n // Add Action Listeners to RadioButtons\n manualChangeRadioButton.addActionListener(e -> {\n if (manualChangeRadioButton.isSelected())\n intervalInSecondsSpinner.setEnabled(false);\n });\n\n autoChangeRadioButton.addActionListener(e -> {\n if (autoChangeRadioButton.isSelected())\n intervalInSecondsSpinner.setEnabled(true);\n });\n\n // Initially have manual button chosen\n manualChangeRadioButton.setSelected(true);\n\n // Add action listeners to buttons\n addSlideButton.addActionListener(e -> {\n // Add image to be in the slideshow\n thumbnailComponent.applyToSelected(imageThumbnail -> slideComponent.add(imageThumbnail.getData()));\n });\n\n playButton.addActionListener(e -> {\n if(getSlidesConfig().getSlidesFileList().length > 0){\n // Make the current frame invisible\n setVisible(false);\n // Open up SlidesPlayer (the Run-Time slideshow player)\n new SlidesPlayer(this);\n\n }else{\n JOptionPane.showMessageDialog(null, \"No Images Present\");\n }\n });\n\n // Configure JMenuBar\n menuBar = new JMenuBar();\n JMenu fileMenu = new JMenu(\"File\");\n\n JMenuItem saveMenuItem = new JMenuItem(\"Save ...\");\n saveMenuItem.addActionListener(e -> {\n JFileChooser fileChooser = new JFileChooser();\n fileChooser.addChoosableFileFilter(new FileNameExtensionFilter(\"Text file\", \"txt\"));\n fileChooser.setCurrentDirectory(new File(\".\"));\n fileChooser.setDialogTitle(\"Save slides config file\");\n if (fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {\n File fileToSave = fileChooser.getSelectedFile();\n try {\n FileSave fs = new FileSave();\n fs.addFile(getSlidesConfig());\n fs.printFile(fileToSave.getAbsolutePath());\n } catch (Exception exception) {\n exception.printStackTrace();\n }\n }\n });\n\n JMenuItem loadMenuItem = new JMenuItem(\"Load ...\");\n loadMenuItem.addActionListener(e -> {\n JFileChooser fileChooser = new JFileChooser();\n fileChooser.setCurrentDirectory(new File(\".\"));\n fileChooser.setDialogTitle(\"Open slides config file\");\n fileChooser.setMultiSelectionEnabled(false);\n if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\n try {\n FileLoad fl = new FileLoad(fileChooser.getSelectedFile());\n SlidesConfig slidesConfig = fl.getSlidesConfig();\n if (slidesConfig != null)\n loadSlidesConfig(slidesConfig);\n } catch (Exception exception) {\n exception.printStackTrace();\n }\n }\n });\n\n JMenuItem openFolderItem = new JMenuItem(\"Open image folder...\");\n openFolderItem.addActionListener(e -> {\n slidesFolderChooser.setAcceptAllFileFilterUsed(false);\n if (slidesFolderChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\n File folderPath = slidesFolderChooser.getSelectedFile();\n processSelectedFolder(folderPath);\n folderPathTextField = folderPath.toString();\n }\n });\n\n JMenuItem musicFileItem = new JMenuItem(\"Select audio...\");\n musicFileItem.addActionListener(e -> {\n soundFileChooser.setAcceptAllFileFilterUsed(false);\n if (soundFileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\n File[] selected = soundFileChooser.getSelectedFiles();\n wavComponent.processSelectedPaths(Arrays.stream(selected).map(f -> Paths.get(f.getPath())).collect(Collectors.toList()));\n }\n });\n\n fileMenu.add(saveMenuItem);\n fileMenu.add(loadMenuItem);\n fileMenu.addSeparator();\n fileMenu.add(openFolderItem);\n fileMenu.add(musicFileItem);\n menuBar.add(fileMenu);\n\n thumbnailComponent = new ThumbnailComponent(thumbnailFlowPanel);\n wavFlowPanel.setLayout(new BoxLayout(wavFlowPanel, BoxLayout.Y_AXIS));\n wavComponent = new WavComponent(wavFlowPanel, null, leftWavButton, rightWavButton, null, removeWavButton);\n slideComponent = new SlideComponent(slidesFlowPanel, startSlideButton, leftSlideButton, rightSlideButton, finishSlideButton, removeSlideButton, fxButton);\n musicPanel.setLayout(new BoxLayout(musicPanel, BoxLayout.Y_AXIS));\n\n Runnable musicTracksUpdater = () -> {\n musicPanel.removeAll();\n int counter = 1;\n for (WavThumbnail wavThumbnail : wavComponent.getElements()) {\n int slideLength = 10;\n if (autoChangeRadioButton.isSelected())\n slideLength = Integer.valueOf(intervalInSecondsSpinner.getValue().toString());\n musicPanel.add(new TrackPanel(MessageFormat.format(\"Track {0}\", counter), wavThumbnail, slideLength));\n counter++;\n }\n musicPanel.revalidate();\n musicPanel.repaint();\n };\n\n wavComponent.setApplyOnUpdate(musicTracksUpdater);\n autoChangeRadioButton.addActionListener(e -> musicTracksUpdater.run());\n intervalInSecondsSpinner.addChangeListener(e -> musicTracksUpdater.run());\n }","title":""},{"docid":"b35c631bc72907a340afb990b5870114","score":"0.4866953","text":"public void setWorkflowEnabled(Boolean workflowEnabled){\r\n\t\tthis.workflowEnabled = workflowEnabled;\r\n\t}","title":""},{"docid":"4a524c5d4258a2ae29b80f51e4f04e11","score":"0.4856825","text":"public void setupView(NovaGLView view) {\n\t\tview.setListener(listener);\n\t}","title":""},{"docid":"f9c897f9723bcf3834bcec8461cf792d","score":"0.48508462","text":"public MainView() {\r\n initComponents();\r\n getMiddle();\r\n }","title":""},{"docid":"83beed638f2876cd20db683b5bf1039b","score":"0.48492235","text":"@Override\n protected void startup() {\n\n view = new EVView(this);\n model = new EVModel(this);\n monitor = new EVMonitor(this);\n\n loadProperties();\n\n initBehavior();\n initMenu();\n initWindows();\n\n show(view);\n }","title":""},{"docid":"0d84eba72882667364f6497a315f449f","score":"0.4848254","text":"public void setExperimentView (ExperimentView experView) {\n\t\tview = experView;\n\t\treturn;\n\t}","title":""},{"docid":"72668e1346b67aef84a17fa442f6d5a6","score":"0.48481575","text":"void setScheduleView(String scheduleView);","title":""},{"docid":"717c2ae224c832848d5b99ce0db9d573","score":"0.4847897","text":"public MeetingView() {\n initComponents();\n displayAttendeesNameToList();\n displayCalledByEmployeeToComboBox();\n displayOfficeNameToComboBox();\n displayDataIntoTable();\n setJMenuBar(DashboardMenu.displayMenu(this));\n setExtendedState(JFrame.MAXIMIZED_BOTH);\n }","title":""},{"docid":"95a3e808b289b69a13f9d915c0ab5984","score":"0.4847076","text":"public MainView() {\n initComponents();\n jToolBar1.setVisible(false);\n \n /*tfIP.setText(\"192.168.0.17\");\n tfSrcFolder.setText(\"D:\\\\Desktop\\\\Shared Files\");\n tfDestFolder.setText(\"D:\\\\Desktop\\\\Received Files from Server\");*/\n }","title":""},{"docid":"5b247f1d8b8e2b03393342266f6ec335","score":"0.48434085","text":"@Override\n public void beforeShow(final Callback onReadyCallback) {\n\n super.beforeShow(new Callback() {\n\n @Override\n public void exec(final Boolean result) { //Don't place a breakpoint here: It will stall debugging for some unknown reason!\n\n if (result) {\n // Make sure workflow actions and status updated before showing.\n ((WorkflowEnhancedNavController) controller).getWfUtilities().refresh();\n\n // Show validation errors if they exist\n ((WorkflowEnhancedNavController) controller).getWfUtilities().doValidationCheck(new Callback>() {\n \n @Override\n public void exec(List validationResults) { //Don't place a breakpoint here: It will stall debugging for some unknown reason!\n\n tableSection.enableValidation(showingValidation); // I think passing true here turns on all validation highlighting automatically (i.e: without requiring \"click to show\") \n \n initializeHeaders(validationResults);\n resolveMissingFieldsWarnings();\n // proposal submission warnings resolution moved to overridden processValidationResults below.\n \n onReadyCallback.exec(result); // calls CourseProposalController.showView.finalView \n }\n });\n } else {\n onReadyCallback.exec(result);\n }\n }\n });\n }","title":""},{"docid":"5e48d4b87f4d5f32373bde24fbe58358","score":"0.4842509","text":"@Override\n public void Create() {\n initView();\n }","title":""},{"docid":"23a191eb9760628cb677201371d1f55e","score":"0.4836921","text":"public ChartPreferencesView() {\n initComponents();\n postInit();\n }","title":""},{"docid":"69353ed73b389967b0ce7e0536bcaa4d","score":"0.483523","text":"public PanShorcutView() {\n initComponents();\n }","title":""},{"docid":"bbfdd010e16da1449c6d90029d89f48c","score":"0.48277214","text":"public void handleSettings(View view) {\n\t Intent intent = new Intent();\n\t ComponentName cp = new ComponentName(\"com.onskreen.cornerstone.panel\", \"com.onskreen.cornerstone.panel.CSSettings\");\n\t intent.setComponent(cp);\n\t ActivityLauncher aLauncher = new ActivityLauncher(intent, -2);\n\t aLauncher.launch();\n\t}","title":""},{"docid":"a2ef89509056a9a49dd7895af0b233af","score":"0.48241317","text":"public OperationView() {\n initComponents();\n PopulateCheckOut();\n }","title":""},{"docid":"63d16d9f020bd1b3bf927822cf1b6cb5","score":"0.48208988","text":"@Override\n public void configureUIForFollowUpDataLoadPhase() {\n }","title":""},{"docid":"426228e111b0992acbaa1e5a3ba20f70","score":"0.48175648","text":"public void initializeView() {\n\t\t// Get the number of nodes.\n\t\tParameters p = RunEnvironment.getInstance().getParameters();\n\t\tnNodes = p.getInteger(\"NUMBER_NODES\");\n\n\t\t// Add a maximum of three nodes as the initial view.\n\t\tfor (int i = 0; i < Math.min(3, MAX_SIZE_VIEW); i++) {\n\t\t\tview.add(random.nextInt(nNodes));\n\t\t}\n\t}","title":""},{"docid":"ab5b3e07852a46b6b1d6dcf58361437e","score":"0.48088947","text":"private void initView(){\n }","title":""},{"docid":"1ae0eb0f0a1e70edfa60d8c6a004c2cc","score":"0.4807969","text":"public formView() {\n initComponents();\n \n this.setLocationRelativeTo(null);\n new ConfigDB().tampilTabel(judul, SQLView, JTableView);\n new ConfigDB().aturLebarKolom(JTableView, LebarKolom);\n }","title":""},{"docid":"529d7941741adfb3e9238507303cfa4d","score":"0.48073316","text":"@Override\n protected void config() {\n\n }","title":""},{"docid":"aec3b4183adb8983e6eab85ebd3c27b0","score":"0.47994843","text":"public ViewMain() {\n initComponents();\n this.setVisible(true);\n }","title":""},{"docid":"7174ff265fb216a76992be51cd0dbf66","score":"0.47963303","text":"public ReturnView() {\n \n initComponents();\n }","title":""},{"docid":"e1966e1ba64aa62b5d3b6569ced08926","score":"0.47945827","text":"public HomeView() {\n initComponents();\n \n setUkuranLokasiFrame(0.8, true);\n }","title":""}],"string":"[\n {\n \"docid\": \"6c59e78347977659b3aae9af4200e818\",\n \"score\": \"0.6242158\",\n \"text\": \"public SlidesConfigView()\\n {\\n // Initialize the variables to the default values.\\n folderPathTextField = \\\"\\\";\\n soundPathTextField = \\\"\\\";\\n\\n // Initialization of the JFrame\\n setContentPane(mainPanel);\\n\\n configureWidgets();\\n setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\\n setJMenuBar(menuBar);\\n setVisible(true);\\n pack();\\n setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ec4259410ca2b578d1ff24e2c7f149\",\n \"score\": \"0.58248085\",\n \"text\": \"public void setViewConfig(ModelViewConfig viewConfig) {\\n this.viewConfig = viewConfig;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"432af502341e84b2716ee1319962f090\",\n \"score\": \"0.5804659\",\n \"text\": \"@Override\\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\\n Bundle savedInstanceState) {\\n EditBuiltInWorkflowDetailsViewModel model = new ViewModelProvider(this).get(EditBuiltInWorkflowDetailsViewModel.class);\\n options = getActivity().getIntent().getExtras();\\n model.workflowId.setValue(options.getString(EditWorkflowActivity.IntentExtras.ID));\\n setHasOptionsMenu(true);\\n controls = FragmentEditBuiltInWorkflowBinding.inflate(LayoutInflater.from(getContext()), container, false);\\n controls.setModel(model);\\n controls.detailsRoot.setBackgroundColor(ContextCompat.getColor(getContext(), options.getInt(EditWorkflowActivity.IntentExtras.COLOR)));\\n\\n model.getWorkflow().observe(getViewLifecycleOwner(), builtInWorkflow -> initializeUI(builtInWorkflow));\\n return controls.getRoot();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb5afea28520297b8ea06d1c05dffe8d\",\n \"score\": \"0.5794648\",\n \"text\": \"public void configure() {\\n\\t\\tsetVisible(false);\\n\\t\\tmvp.setVisible(false);\\n\\t\\tcf = new ConfigureFrame(this);\\n\\t\\tsetVisible(false);\\n\\t\\tcf.setVisible(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75dfc7ed97eeed05f02187cace16f3ef\",\n \"score\": \"0.5793593\",\n \"text\": \"private ConfigureView() {\\r\\n\\t\\t\\r\\n\\t\\tsuper();\\r\\n\\t\\t\\r\\n\\t\\twidgetsPanel = new JPanel();\\r\\n\\t\\twidgetsPanel.setLayout(new MigLayout(\\\"hidemode 3, wrap 4, insets 0, gap \\\" + Theme.padding, \\\"[pref][min!][min!][grow]\\\"));\\r\\n\\t\\twidgetsPanel.setBorder(new EmptyBorder(Theme.padding, Theme.padding, Theme.padding, Theme.padding));\\r\\n\\t\\tscrollableRegion = new JScrollPane(widgetsPanel, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\\r\\n\\t\\tscrollableRegion.setBorder(null);\\r\\n\\t\\tbuttonsPanel = new JPanel();\\r\\n\\t\\tbuttonsPanel.setLayout(new MigLayout(\\\"insets 0\\\", \\\"[33%!][grow][33%!]\\\")); // 3 equal columns\\r\\n\\t\\tbuttonsPanel.setBorder(new EmptyBorder(Theme.padding * 2, Theme.padding, Theme.padding, Theme.padding)); // extra padding above\\r\\n\\t\\t\\r\\n\\t\\tsetLayout(new MigLayout(\\\"wrap 1, insets 0\\\")); // 1 column, no border\\r\\n\\t\\tadd(scrollableRegion, \\\"growx\\\");\\r\\n\\t\\tadd(buttonsPanel, \\\"growx\\\");\\r\\n\\t\\t\\r\\n\\t\\tsetPreferredSize(new Dimension(0, 0));\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32449ef25f54b3b87c98f2e0ecf4fa19\",\n \"score\": \"0.5779331\",\n \"text\": \"@Override\\n\\tpublic void setView(Resultado resultado, ServletConfig config) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4af87ce5c44165c506478ff58c1f6fb\",\n \"score\": \"0.5597723\",\n \"text\": \"public void setWorkflow(Workflow p_workflow);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"273fa12414b26a2c67bbbd84c620edbb\",\n \"score\": \"0.55420214\",\n \"text\": \"public void configureView(int viewStatus) {\\n\\n\\t\\tswitch (viewStatus) {\\n\\t\\tcase VIEW_IDLE: // Regular view\\n\\t\\t\\tStopAction.getInstance().setEnabled(false);\\n\\t\\t\\ttableController.checkPlayActionMode();\\n\\t\\t\\tPauseAction.getInstance().setEnabled(false);\\n\\t\\t\\tRefreshAction.getInstance().setEnabled(true);\\n\\t\\t\\tprogressController.setRunning(false);\\n\\t\\t\\tCheckStatusAction.getInstance().setEnabled(true);\\n\\t\\t\\tReportersPanel.setInitReportsEnable(true);\\n\\t\\t\\ttableController.setEnableToolBar(true);\\n\\t\\t\\tconfigureSutStatus(true);\\n\\t\\t\\tmenuBuilder.setView(VIEW_IDLE);\\n\\t\\t\\ttableController.updateEnabledAndDisabledActions(null);\\n\\t\\t\\tSwitchProjectAction.getInstance().setEnabled(true);\\n\\t\\t\\tImportProjectAction.getInstance().setEnabled(true);\\n\\t\\t\\tPublishXmlResultAction.getInstance().setEnabled(false);\\n\\t\\t\\tViewTestCodeAction.getInstance().setEnabled(true);\\n\\t\\t\\trepeatAmount.setEnabled(true);\\n\\t\\t\\trepeatCheckBox.setEnabled(true);\\n\\t\\t\\tdebugCheckBox.setEnabled(true);\\n\\t\\t\\tfreezeCheckBox.setEnabled(true);\\n\\t\\t\\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(true);\\n\\t\\t\\tfixtureView.endFixturring();\\n\\t\\t\\trepaint();\\n\\t\\t\\tbreak;\\n\\t\\tcase VIEW_RUNNING: // During execution\\n\\t\\t\\tfirsIdle = false;\\n\\t\\t\\tStopAction.getInstance().setEnabled(true);\\n\\t\\t\\tPlayAction.getInstance().setEnabled(false);\\n\\t\\t\\tPauseAction.getInstance().setEnabled(true);\\n\\t\\t\\tRefreshAction.getInstance().setEnabled(false);\\n\\t\\t\\tCheckStatusAction.getInstance().setEnabled(false);\\n\\t\\t\\tReportersPanel.setInitReportsEnable(false);\\n\\t\\t\\tconfigureSutStatus(false);\\n\\t\\t\\tprogressController.setRunning(true);\\n\\t\\t\\tmenuBuilder.setView(VIEW_RUNNING);\\n\\t\\t\\ttableController.setEnableToolBar(false);\\n\\t\\t\\tSwitchProjectAction.getInstance().setEnabled(false);\\n\\t\\t\\tImportProjectAction.getInstance().setEnabled(false);\\n\\t\\t\\tViewTestCodeAction.getInstance().setEnabled(false);\\n\\t\\t\\tPublishXmlResultAction.getInstance().setEnabled(false);\\n\\t\\t\\trepeatAmount.setEnabled(false);\\n\\t\\t\\tdebugCheckBox.setEnabled(false);\\n\\t\\t\\trepeatCheckBox.setEnabled(repeatAmount.getText().equals(\\\"0\\\"));\\n\\t\\t\\tfreezeCheckBox.setEnabled(false);\\n\\t\\t\\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\\n\\t\\t\\tfixtureView.startFixturring();\\n\\t\\t\\trepaint();\\n\\t\\t\\tbreak;\\n\\t\\tcase VIEW_PAUSED:\\n\\t\\t\\tPlayAction.getInstance().setEnabled(true);\\n\\t\\t\\tPauseAction.getInstance().setEnabled(false);\\n\\t\\t\\tconfigureSutStatus(true);\\n\\t\\t\\ttableController.setEnableToolBar(false);\\n\\t\\t\\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\\n\\t\\t\\tfixtureView.startFixturring();\\n\\t\\t\\trepaint();\\n\\t\\t\\tbreak;\\n\\t\\tcase VIEW_WAIT_FOR_PAUSE:\\n\\t\\t\\tInitReportersAction.getInstance().setEnabled(false);\\n\\t\\t\\tPlayAction.getInstance().setEnabled(false);\\n\\t\\t\\tPauseAction.getInstance().setEnabled(false);\\n\\t\\t\\ttableController.setEnableToolBar(false);\\n\\t\\t\\tconfigureSutStatus(false);\\n\\t\\t\\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\\n\\t\\t\\tfixtureView.startFixturring();\\n\\t\\t\\trepaint();\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f11057297892dc510e40550765c4da6\",\n \"score\": \"0.54951304\",\n \"text\": \"public WorkflowComponent() {\\n VerticalLayout vbox = new VerticalLayout();\\n HorizontalLayout hbox = new HorizontalLayout();\\n\\n //grid holds workflowDto,\\n TreeGrid workflowDtoGrid = new TreeGrid<>(WorkflowDto.class);\\n List WorkflowDtoList = new ArrayList<>();\\n WorkflowDtoList.add(new WorkflowDto(\\\"workflowDto1\\\"));\\n WorkflowDtoList.add(new WorkflowDto(\\\"workflowDto2\\\"));\\n workflowDtoGrid.setItems(WorkflowDtoList);\\n\\n hbox.add(workflowDtoGrid);\\n add(workflowDtoGrid);\\n workflowDtoGrid.setHeight(\\\"300px\\\");\\n workflowDtoGrid.setWidth(\\\"1000px\\\");\\n workflowDtoGrid.setColumns(\\\"workflowName\\\");\\n\\n workflowDtoGrid.setSelectionMode(Grid.SelectionMode.NONE);\\n\\n// formLayout.add(name, age);\\n// formLayout.addFormItem(name, \\\"Name\\\");\\n// formLayout.addFormItem(age, \\\"Age\\\");\\n// formLayout.addFormItem(column, \\\"Column\\\");\\n//\\n// workflowDtoGrid.addItemClickListener(\\n// event -> {\\n// name.setText(event.getItem().getFirstName());\\n// age.setText(String.valueOf(event.getItem().getAge()));\\n// column.setText(event.getColumn().getKey());\\n// });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72fb16ab18dba187dba51fa8730a4974\",\n \"score\": \"0.5452524\",\n \"text\": \"@Override\\r\\n\\tprotected void initView() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44811e389a63b471a37653cf4bc2bd64\",\n \"score\": \"0.5432149\",\n \"text\": \"@Override\\n\\tprotected void initView() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bce19f5ace9093482495d67bc6d20d39\",\n \"score\": \"0.54284555\",\n \"text\": \"@Override\\r\\n\\tprotected void initView() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b9d1673e3d3f1b02507da2765dce10c\",\n \"score\": \"0.5391447\",\n \"text\": \"public PrefSetView() {\\n initComponents();\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"357beb959ed9775b481dedb25de92a9a\",\n \"score\": \"0.5364857\",\n \"text\": \"private void initView() {\\n\\t\\tJPanel p = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Task ID: \\\", SwingConstants.LEFT));\\n\\t\\tp.add(getTaskID());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Task Title: \\\", SwingConstants.LEFT));\\n\\t\\tp.add(getTaskTitle());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Category\\\", SwingConstants.LEFT));\\n\\t\\tp.add(getCategory());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Start Date & Time: \\\", SwingConstants.LEFT));\\n\\t\\tp.add(getTaskStartSpinner());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Due Date & Time: \\\", SwingConstants.LEFT));\\n\\t\\tp.add(getTaskDueSpinner());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Completed Date & Time: \\\", SwingConstants.LEFT));\\n\\t\\tp.add(getTaskCompletedSpinner());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Completed? \\\", SwingConstants.LEFT));\\n\\t\\tp.add(getComplete());\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(new JLabel(\\\"Task Details: \\\", SwingConstants.LEFT));\\n\\t\\tthis.add(p);\\n\\t\\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\\n\\t\\tp.add(getTaskDetails());\\n\\t\\tthis.add(p);\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4753fb000a01c5f307199573780f0f32\",\n \"score\": \"0.5336632\",\n \"text\": \"@Override\\n public void configure(\\n WikiPageKey wikiKey,\\n Map widgetDescriptor,\\n Callback widgetRefreshRequired,\\n Long wikiVersionInView\\n ) {\\n descriptor = widgetDescriptor;\\n view.configure();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9da8cd123e516b3de0ef8e61bbc67866\",\n \"score\": \"0.5329102\",\n \"text\": \"@Override\\n protected void initView() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c120523f4173927f4ad9ed409968f987\",\n \"score\": \"0.5265961\",\n \"text\": \"protected void initWorkflow() {\\n Workflow workflow = new Workflow();\\n\\n Project project = getProject();\\n String repositoryDomain = project.getProperty(\\\"domain.savant.repository\\\");\\n String mappingFile = project.getProperty(\\\"file.savant.mapping\\\");\\n if (repositoryDomain != null || mappingFile != null) {\\n File mapping = new File(mappingFile);\\n if (!mapping.exists() || mapping.isDirectory()) {\\n mapping = null;\\n }\\n\\n SavantInternetProcess sip = new SavantInternetProcess();\\n sip.setDefaultdomain(repositoryDomain);\\n sip.setMapping(mapping);\\n workflow.addProcess(sip);\\n }\\n\\n mediator.setWorkflow(workflow);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e09e3c7fc37df85f2e8bdd9f50b4774\",\n \"score\": \"0.5264381\",\n \"text\": \"public DefaultViewActionBean(Resolution view) {\\n this.view = view;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"430b63b4cea441d85fa41e7430830817\",\n \"score\": \"0.52463984\",\n \"text\": \"@Override\\r\\n\\tprotected void initViews() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b58bc4eec54db2d726cb5c37ae3201d6\",\n \"score\": \"0.52430904\",\n \"text\": \"public ConfigurationPane() \\n {\\n initTraders();\\n\\t\\tinitComponents();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2244779af1613355aec26d32bbdcc2d7\",\n \"score\": \"0.52301157\",\n \"text\": \"@Override\\n\\tprotected void initViews() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5dbcb7f21099952f1dc665106fdb0aa\",\n \"score\": \"0.5229736\",\n \"text\": \"private void setupUI() {\\n LayoutHandler layoutHandler;\\n try {\\n layoutHandler = BuildConfig.layoutHandler.newInstance();\\n } catch (IllegalAccessException | InstantiationException e) {\\n // Incorrectly configured build?\\n throw new RuntimeException(\\\"Unable to create tripActionLayout handler\\\", e);\\n }\\n layoutHandler.setup(this, binding);\\n binding.setClickHandler(this);\\n binding.mockDriveLayout.setClickHandler(layoutHandler);\\n binding.setState(sdkState);\\n titleTextView = binding.titleTextView;\\n tripListView = binding.tripListView;\\n tripListView.setOnItemClickListener(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45ceafd7109417de7efd3a6296a8289b\",\n \"score\": \"0.5223968\",\n \"text\": \"@Override\\r\\n\\tpublic void initView() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7314aab73e42a7adcdfd7bb3958e8957\",\n \"score\": \"0.52198327\",\n \"text\": \"@Override\\n\\tpublic void initView() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22fd957b2e8e22988ee7f5a5475430b9\",\n \"score\": \"0.5212209\",\n \"text\": \"public void initView() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87b41894fb94f9c702a8db4e756b2d6a\",\n \"score\": \"0.5210493\",\n \"text\": \"@Override\\n protected void setup(View view) {\\n final Organization organization = new Organization();\\n organization.setName(\\\"CodePath\\\");\\n\\n final User user = new User();\\n user.setName(\\\"John Doe\\\");\\n\\n // Get the DAO\\n final UserDao userDao = ((RestApplication) getApplicationContext()).getMyDatabase().userDao();\\n\\n // Define the task\\n ((RestApplication) getApplicationContext()).getMyDatabase().runInTransaction(new Runnable() {\\n @Override\\n public void run() {\\n userDao.insertOrganization(organization);\\n userDao.insertModel(user);\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89d3afd09ddee96d14ce1edc762daef9\",\n \"score\": \"0.5203266\",\n \"text\": \"@Override\\n\\tpublic void initView() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0461e64251f533646a38efe28454bd99\",\n \"score\": \"0.51849324\",\n \"text\": \"@Override\\n protected void onConfigure() {\\n\\n final ScalarModel scalarModel = getModel();\\n\\n final boolean hidden = scalarModel.whetherHidden();\\n setVisibilityAllowed(!hidden);\\n\\n super.onConfigure();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6ed7f6451f6f72205f18501f59280a1\",\n \"score\": \"0.51665217\",\n \"text\": \"@Override\\r\\n protected void init() {\\n \\r\\n mainComponent.setWidth(FORM_WIDTH);\\r\\n\\r\\n chemStructQuestionOptGrpLayout = new ChemStructQuestionOptGrpLayout(this);\\r\\n tnAttachmentsListLayout = new TnAttachmentsListLayout(this);\\r\\n publishQuestionOptGrpLayout = new PublishQuestionOptGrpLayout(this);\\r\\n exportQuestionOptGrpLayout = new ExportQuestionLayout(this);\\r\\n outstdCommentsCheckBoxLayout = new OutstdCommentsCheckBoxLayout(this);\\r\\n //inciNameTextAreaLayout = new InciNameTextAreaLayout(this);\\r\\n monoIdInciNameLayout = new MonoIdInciNameLayout(this);\\r\\n inciNameDateFieldLayout = new InciNameDateFieldLayout(this); // Assignment Date\\r\\n //monoIdFieldLayout = new MonoIdFieldLayout(this);\\r\\n sendAssignmentEmailButton = new SendAssignmentEmailButton(parentView);\\r\\n \\r\\n // Contact User Information\\r\\n userFormLayout = new UserFormLayout();\\r\\n //userFormLayout.setUser(user);\\r\\n userFormLayout.setEditable(false); \\r\\n \\r\\n // Contact Company Information\\r\\n userCompanyFormLayout = new CompanyFormLayout();\\r\\n //userCompanyFormLayout.setUserCompany(user.getUserCompany());\\r\\n userCompanyFormLayout.setEditable(false); \\r\\n \\r\\n userCompanySupplierIdFieldLayout = new UserCompanySupplierIdFieldLayout(this);\\r\\n \\r\\n // Publication Company\\r\\n publicationCompanyFormLayout = new CompanyFormLayout(\\\"tradeName.detail.pub_company.title\\\");\\r\\n //publicationCompanyFormLayout.setUserCompany(new UserCompany(formTn.pubCompany));\\r\\n //publicationCompanyFormLayout.setEditable(parentView.isEditable());\\r\\n \\r\\n publicationCompanySupplierIdFieldLayout = new PublicationCompanySupplierIdFieldLayout(this);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85dbe48d6301aeb62d17b58157512882\",\n \"score\": \"0.5160709\",\n \"text\": \"public TransViewTemplateConfigurer build() {\\n createNashornTransViewResourcePool();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9472a3ad40135fe141d69c44ab1931fe\",\n \"score\": \"0.5139055\",\n \"text\": \"private void configureView() {\\n \\t\\t// parametrage de la JFrame\\n \\t\\tthis.setExtendedState(JFrame.MAXIMIZED_BOTH);\\n \\t\\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n \\t\\tthis.setSize(1400, 880);\\n \\t\\tgetContentPane().setBackground(Color.GRAY);\\n \\n \\t\\tWebStatusBar statusBar = new WebStatusBar();\\n \\t\\tWebMemoryBar memoryBar = new WebMemoryBar();\\n \\t\\tmemoryBar.setShowMaximumMemory(false);\\n \\t\\tstatusBar.add(memoryBar);\\n \\n \\t\\tgetContentPane().add(BorderLayout.SOUTH, statusBar);\\n \\n \\t\\t// TODO remonter les evenements start et stop\\n \\n \\t\\tDimension dim = Toolkit.getDefaultToolkit().getScreenSize();\\n \\t\\tthis.setLocation(dim.width / 2 - this.getSize().width / 2, dim.height\\n \\t\\t\\t\\t/ 2 - this.getSize().height / 2);\\n \\t\\tthis.setResizable(true);\\n \\n \\t\\t// ajout des raccourcis clavier aux elements du menu\\n \\t\\tmenuItemNew.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,\\n \\t\\t\\t\\tActionEvent.CTRL_MASK));\\n \\t\\tmenuItemOpen.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,\\n \\t\\t\\t\\tActionEvent.CTRL_MASK));\\n \\t\\tmenuItemSave.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\\n \\t\\t\\t\\tActionEvent.CTRL_MASK));\\n \\t\\tmenuItemSaveAs.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\\n \\t\\t\\t\\tActionEvent.SHIFT_MASK + ActionEvent.CTRL_MASK));\\n \\t\\tmenuItemQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q,\\n \\t\\t\\t\\tActionEvent.CTRL_MASK));\\n \\t\\tmenuItemDoc.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_D,\\n \\t\\t\\t\\tActionEvent.CTRL_MASK));\\n \\t\\tmenuItemAbout.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_B,\\n \\t\\t\\t\\tActionEvent.CTRL_MASK));\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33f178414ddd72144168c57af35a06c7\",\n \"score\": \"0.513452\",\n \"text\": \"@Override\\n protected void initView()\\n {\\n\\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84290eb34a5b9c016ae95baf4054f9d6\",\n \"score\": \"0.51254183\",\n \"text\": \"@Override\\n\\tpublic void createInitialLayout(IPageLayout layout) {\\n\\t\\tlayout.addNewWizardShortcut(\\\"cn.edu.buaa.sei.rucm.newModelWizard\\\");\\n\\n // Add \\\"show views\\\".\\n// layout.addShowViewShortcut(IPageLayout.ID_RES_NAV);\\n// layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS);\\n// layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);\\n layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);\\n// layout.addShowViewShortcut(\\\"cn.edu.buaa.sei.rucm.modelNavigator\\\");\\n layout.addShowViewShortcut(\\\"cn.edu.buaa.sei.rucm.commonNavigator\\\");\\n// layout.addShowViewShortcut(\\\"org.eclipse.jdt.ui.PackageExplorer\\\");\\n// layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);\\n \\n // Editors are placed for free.\\n String editorArea = layout.getEditorArea();\\n\\n // Place navigator and outline to left of\\n // editor area.\\n IFolderLayout left = layout.createFolder(\\\"left\\\", IPageLayout.LEFT, 0.25f, editorArea);\\n left.addView(\\\"cn.edu.buaa.sei.rucm.commonNavigator\\\");\\n// left.addView(IPageLayout.ID_OUTLINE);\\n \\n IFolderLayout right = layout.createFolder(\\\"right\\\", IPageLayout.RIGHT, 0.70f, editorArea);\\n right.addView(IPageLayout.ID_PROP_SHEET);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdaf0070cc715e106bfaa69de129d467\",\n \"score\": \"0.5118993\",\n \"text\": \"public abstract void setWorkflow(IWorkflow iw);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcc5a5e41d841c215220ac21022a68f8\",\n \"score\": \"0.5115025\",\n \"text\": \"private void InitializeView() {\\n ConfigureWindow();\\n\\n /* set up screen */\\n ConfigureScreen();\\n\\n /* set up text screen */\\n ConfigureTextScreen();\\n\\n /* set up buttons */\\n ConfigureButtons();\\n\\n frame.pack();\\n frame.setVisible(true);\\n frame.setResizable(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21301e6e11d8f0816daf81899e72b89a\",\n \"score\": \"0.50957006\",\n \"text\": \"public EditViewPannel() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f389fb6aeebf9ca021ee17e4fcb411a\",\n \"score\": \"0.5087285\",\n \"text\": \"private void initView() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c190cce6e268b4e7fdc7a8e6a5d2a2\",\n \"score\": \"0.50785756\",\n \"text\": \"public ScheduleView() {\\n initComponents();\\n Controller.Instance().addObserver(this);\\n renderSchedule();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"122b3eed7d5e4722bbfb13d8c806ce3a\",\n \"score\": \"0.5077318\",\n \"text\": \"protected abstract void initViews();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f0eab775c308446fc74f5c027039d69\",\n \"score\": \"0.50662255\",\n \"text\": \"public ToolboxView() {\\n setUpTable();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a10103fb2127566268d5c0557b241b0\",\n \"score\": \"0.505577\",\n \"text\": \"@Override\\n protected void setupViewInterceptors(EJBViewDescription view) {\\n super.setupViewInterceptors(view);\\n\\n // add a Tx configurator\\n view.getConfigurators().add(new ViewConfigurator() {\\n @Override\\n public void configure(DeploymentPhaseContext context, ComponentConfiguration componentConfiguration, ViewDescription description, ViewConfiguration configuration) throws DeploymentUnitProcessingException {\\n EJBComponentDescription ejbComponentDescription = (EJBComponentDescription) componentConfiguration.getComponentDescription();\\n // Add CMT interceptor factory\\n if (TransactionManagementType.CONTAINER.equals(ejbComponentDescription.getTransactionManagementType())) {\\n configuration.addViewInterceptor(CMTTxInterceptor.FACTORY, InterceptorOrder.View.CMT_TRANSACTION_INTERCEPTOR);\\n }\\n }\\n });\\n\\n //now we need to figure out if this is a home or object view\\n if (view instanceof EjbHomeViewDescription) {\\n view.getConfigurators().add(getHomeViewConfigurator());\\n } else {\\n view.getConfigurators().add(getObjectViewConfigurator());\\n }\\n\\n if (view.getMethodIntf() == MethodIntf.REMOTE) {\\n view.getConfigurators().add(new ViewConfigurator() {\\n @Override\\n public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException {\\n final EEModuleDescription moduleDescription = componentConfiguration.getComponentDescription().getModuleDescription();\\n final String appName = moduleDescription.getEarApplicationName() == null ? \\\"\\\" : moduleDescription.getEarApplicationName();\\n configuration.setViewInstanceFactory(getRemoteViewInstanceFactory(appName, componentConfiguration.getModuleName(), moduleDescription.getDistinctName(), componentConfiguration.getComponentName()));\\n }\\n });\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34e19d51202de41c3d26a37620412991\",\n \"score\": \"0.5052135\",\n \"text\": \"public WizardView() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88964b17493ee0e0fbcad9826fcded70\",\n \"score\": \"0.50483346\",\n \"text\": \"private void configViewModeToolBar() {\\n StiViewModeToolBar stiViewModeToolBar = getStiViewModeToolBar();\\n\\n singlePage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(0);\\n continuousPage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(1);\\n multiplePage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c42276b6e972e9eb50929809c8f1c53\",\n \"score\": \"0.50460136\",\n \"text\": \"public ApplicationUI() {\\n\\t\\trepository = new InMemoryMapRepository(); //\\n\\t\\ttaskSelected = new SimpleLongProperty(); //\\n\\t\\t\\n\\t\\trepository.create(new TaskData(\\\"Task1\\\", \\\"erster Task fuer test\\\" , LocalDate.now(), State.Todo));\\n\\t\\trepository.create(new TaskData(\\\"Task2\\\", \\\"zweiter Task fuer test\\\" , LocalDate.now(), State.Doing));\\n\\t\\trepository.create(new TaskData(\\\"Task3\\\", \\\"dritter Task fuer test\\\" , LocalDate.now(), State.Doing));\\n\\t\\trepository.create(new TaskData(\\\"Task3\\\", \\\"dritter Task fuer test\\\" , LocalDate.now(), State.Doing));\\n\\t\\trepository.create(new TaskData(\\\"Task1\\\", \\\"erster Task fuer test\\\" , LocalDate.now(), State.Todo));\\n\\t\\trepository.create(new TaskData(\\\"Task2\\\", \\\"zweiter Task fuer test\\\" , LocalDate.now(), State.Done));\\n\\t\\trepository.create(new TaskData(\\\"Task3\\\", \\\"dritter Task fuer test\\\" , LocalDate.now(), State.Doing));\\n//\\t\\trepository.create(new TaskData(\\\"Task3\\\", \\\"dritter Task fuer test\\\" , LocalDate.now(), State.Review));\\n\\t\\t\\n\\t\\tinitializeControls();\\n\\t\\tlayoutControls();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5249624c9fe5bb97ecd9b6d12ac086be\",\n \"score\": \"0.5045567\",\n \"text\": \"private void initView() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4688a026c09446c2af04523f8f80ad36\",\n \"score\": \"0.50402945\",\n \"text\": \"public ViewPanel() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7594d31470a915e6520cef61d5433e81\",\n \"score\": \"0.50375193\",\n \"text\": \"@Override\\n\\tprotected void configure() {\\n\\t\\tMultibinder menu = Multibinder.newSetBinder(binder(), MenuContribution.class);\\n\\n\\t\\tmenu.addBinding().toInstance(\\n\\t\\t\\t\\tnew DefaultMenuContribution(DataManager.APPLICATION_ID, MenuBuilder.menu(\\\"File\\\", \\\"New\\\"),\\n\\t\\t\\t\\t\\t\\tnew NewProjectAction()));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"846f67329736a33deee33a0377ab0426\",\n \"score\": \"0.5026718\",\n \"text\": \"public ObmenSettingsViewImpl() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"812e0b3bf1164d482d856abcdbabd900\",\n \"score\": \"0.50225914\",\n \"text\": \"public AuthenticationAdminView() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44eedfee41b154dc931a0c4f3831cb68\",\n \"score\": \"0.501774\",\n \"text\": \"void viewTvShow(ConfigurationModel configuration, TvShowModel tvShow);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"106b223e7a1b43084e8c7c94a749fb36\",\n \"score\": \"0.5008214\",\n \"text\": \"public tugaslayout() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"717eac4ee2ffb2e3275a8952de1f75ee\",\n \"score\": \"0.49842194\",\n \"text\": \"public ProjectSettingsPage()\\n {\\n initialize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65096f0decb1c45c7ac5b6121dbf0bc0\",\n \"score\": \"0.49710256\",\n \"text\": \"public void setWorkflowType(WorkflowType workflowType) {\\n this.workflowType = workflowType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dccf34fc90467b74c6026f266f7374cf\",\n \"score\": \"0.49631894\",\n \"text\": \"private void initView() {\\n\\t\\tsuper.setLayout(new BorderLayout());\\n\\t\\tinitGrammarTable();\\n\\t\\tJPanel rightPanel = initRightPanel();\\n\\t\\tJSplitPane mainSplit = SplitPaneFactory.createSplit(environment, true,\\n\\t\\t\\t\\t0.4, new JScrollPane(grammarTable), rightPanel);\\n\\t\\tadd(mainSplit, BorderLayout.CENTER);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0554c31961cce1d04b6174a792f2fd45\",\n \"score\": \"0.49606472\",\n \"text\": \"public void setWorkflowTask(WorkflowTaskInstance p_wfTaskInstance);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0622743fa9f7e16840066248d7d1e23\",\n \"score\": \"0.49601147\",\n \"text\": \"public MastermindView() {\\n initialiseNodes();\\n layoutNodes();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01de74455df4296009856f5a82611587\",\n \"score\": \"0.49599475\",\n \"text\": \"@Override\\n\\tpublic void viewSetting() {\\n\\t\\tsetBackground(myColor.backgroundCol());\\n\\t\\t\\n\\t\\tbackBtn.setSize(70,40);\\n\\t\\tbackBtn.setLocation(10,10);\\n\\t\\t\\n\\t\\tsettingLabel.setSize(50,50);\\n\\t\\tsettingLabel.setLocation(90,100);\\n\\t\\t\\n\\t\\tchargeLabel.setSize(50,50);\\n\\t\\tchargeLabel.setLocation(90,200);\\n\\t\\t\\n\\t\\tinterestLabel.setSize(50,50);\\n\\t\\tinterestLabel.setLocation(90,250);\\n\\t\\t\\n\\t\\tuserListLabel.setSize(50,50);\\n\\t\\tuserListLabel.setLocation(400,100);\\n\\t\\t\\n\\t\\tsettingBtn.setSize(200,50);\\n\\t\\tsettingBtn.setLocation(80,310);\\n\\t\\t\\n\\t\\tchargeValue.setSize(150,50);\\n\\t\\tchargeValue.setLocation(130,200);\\n\\t\\t\\n\\t\\tinterestValue.setSize(150,50);\\n\\t\\tinterestValue.setLocation(130,250);\\n\\t\\t\\n\\t\\tuserList.setSize(230,600);\\n\\t\\tuserList.setLocation(350,150);\\n\\t\\t\\n\\t\\ttranListLabel.setSize(50,50);\\n\\t\\ttranListLabel.setLocation(610,100);\\n\\t\\t\\n\\t\\ttransactionList.setSize(400,600);\\n\\t\\ttransactionList.setLocation(610,150);\\n\\t\\t\\n\\t\\tusrDeleteBtn.setSize(100,30);\\n\\t\\tusrDeleteBtn.setLocation(470,110);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5cd1c7ed3dee419bc681d8402a07a17\",\n \"score\": \"0.49556866\",\n \"text\": \"private void viewInitilization() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0c99e06c99ac93bd6da0883dbc0e924\",\n \"score\": \"0.4940475\",\n \"text\": \"public AbstractFxmlView() {\\n LOGGER.debug(\\\"AbstractFxmlView construction\\\");\\n // Set the root path to package path\\n final String filePathFromPackageName = PropertyReaderHelper.determineFilePathFromPackageName(getClass());\\n setFxmlRootPath(filePathFromPackageName);\\n annotation = getFXMLAnnotation();\\n resource = getURLResource(annotation);\\n presenterProperty = new SimpleObjectProperty<>();\\n bundle = getResourceBundle(getBundleName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83f8b7430019d589c073d575c72f8589\",\n \"score\": \"0.49404544\",\n \"text\": \"public SchedPrefView() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"613fddc14111920c0714b7bb6ff36399\",\n \"score\": \"0.49324745\",\n \"text\": \"public void goToView(){\\r\\n\\t\\tgrammarDevPanel.setMode(ViewSemanticsPanel.MODE_VIEW);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57f53d995fc422f52866328e4904d99f\",\n \"score\": \"0.49324667\",\n \"text\": \"void setCreateView(NeverNoteCreateView createView);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39a899258c11bb56d26e26e65e876877\",\n \"score\": \"0.49322876\",\n \"text\": \"public ActionView() {\\n initComponents();\\n customInit();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e48e3662080857dcf15ff14035e0069\",\n \"score\": \"0.49312136\",\n \"text\": \"public ProdutoView() {\\n // método para exibir view no centro da tela\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efd9d50424aa7cbd3b8dc2438714ac8c\",\n \"score\": \"0.49282518\",\n \"text\": \"private void initialConfigView(){\\n\\t\\t// video depth\\n\\t\\tthis.videoDepth = ((Button) findViewById(R.id.cp_video_depth));\\n\\t\\tthis.videoDepth.setText(getResources().getString(R.string.video_depth)\\n\\t\\t\\t\\t+\\\"\\\\n\\\"+getResources().getString(R.string.current)+Locals.VideoDepthBpp+\\\"bpp\\\");\\n\\t\\tthis.videoDepth.setOnClickListener(this);\\n\\t\\t// screen ratio\\n\\t\\tthis.screenRatio = ((Button) findViewById(R.id.cp_screen_ratio));\\n\\t\\tthis.screenRatio.setText(getResources().getString(R.string.screen_ratio)\\n\\t\\t\\t\\t+\\\"\\\\n\\\"+getResources().getString(R.string.current)\\n\\t\\t\\t\\t+((Locals.VideoXRatio > 0 && Locals.VideoYRatio > 0)?(Locals.VideoXRatio+\\\":\\\"+Locals.VideoYRatio):(getResources().getString(R.string.full))));\\n\\t\\tthis.screenRatio.setOnClickListener(this);\\n\\t\\t// smooth video\\n\\t\\tthis.smoothVideo = ((Button) findViewById(R.id.cp_smooth_video));\\n\\t\\tthis.smoothVideo.setText(getResources().getString(R.string.smooth_video)\\n\\t\\t\\t\\t+\\\"\\\\n\\\"+getResources().getString(R.string.current)\\n\\t\\t\\t\\t+(Locals.VideoSmooth?\\\"Yes\\\":\\\"No\\\"));\\n\\t\\tthis.smoothVideo.setOnClickListener(this);\\n\\t\\t// never show\\n\\t\\tthis.nevershow = ((Button) findViewById(R.id.cp_never_show));\\n\\t\\tthis.nevershow.setText(getResources().getString(R.string.never_show)\\n\\t\\t\\t\\t+\\\"\\\\n\\\"+getResources().getString(R.string.current)\\n\\t\\t\\t\\t+(Locals.AppLaunchConfigUse?\\\"No\\\":\\\"Yes\\\"));\\n\\t\\tthis.nevershow.setOnClickListener(this);\\n\\t\\t// gallery\\n\\t\\tthis.gallery = ((Button) findViewById(R.id.cp_gallery));\\n\\t\\tthis.gallery.setOnClickListener(this);\\n\\t\\t// about\\n\\t\\tthis.about = ((Button) findViewById(R.id.cp_about));\\n\\t\\tthis.about.setOnClickListener(this);\\n\\t\\t// run game\\n\\t\\tthis.run = ((Button) findViewById(R.id.cp_run));\\n\\t\\tthis.run.setOnClickListener(this);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f851293feebd05d81c5643179ca213c\",\n \"score\": \"0.49214798\",\n \"text\": \"public ViewConfigurationExportTask(InitParams initParams, String name) {\\n this.initParams = initParams;\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2759a1e32a6cd9ad5e2e82539b7a9233\",\n \"score\": \"0.49196488\",\n \"text\": \"public void layoutForSimView()\\n {\\n preferredSize = new Dimension(644, 456);\\n ((ViewableComponent)withName(\\\"proc1\\\")).setPreferredLocation(new Point(119, 125));\\n ((ViewableComponent)withName(\\\"ef\\\")).setPreferredLocation(new Point(21, 200));\\n ((ViewableComponent)withName(\\\"switch0\\\")).setPreferredLocation(new Point(-13, 68));\\n ((ViewableComponent)withName(\\\"proc0\\\")).setPreferredLocation(new Point(120, 18));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf9a73cbeeb04b1f1c080e606efc39c7\",\n \"score\": \"0.4896192\",\n \"text\": \"public ModelViewConfig getViewConfig() {\\n return this.viewConfig;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02662b0f7b97d8c63a85d1102af53670\",\n \"score\": \"0.48903573\",\n \"text\": \"private void setupUI() {\\n JFrame frame = (JFrame) getUIComponent();\\n \\n Container content = frame.getContentPane();\\n content.add((Component) getSettingsView().getUIComponent(), SOUTH);\\n content.add((Component) getListView().getUIComponent(), CENTER);\\n \\n try {\\n String look = renamer.getConfig().getString(LOOK_AND_FEEL);\\n \\n if (look == null || look.equals(LOOK_N_FEEL_CROSS_PLATFORM))\\n UIManager.setLookAndFeel(\\n UIManager.getCrossPlatformLookAndFeelClassName());\\n \\n else if (look.equals(LOOK_N_FEEL_SYSTEM))\\n UIManager.setLookAndFeel(\\n UIManager.getSystemLookAndFeelClassName());\\n \\n SwingUtilities.updateComponentTreeUI(frame);\\n \\n } catch (Exception e) {\\n e.printStackTrace();\\n assert false;\\n }\\n \\n new DropTarget(frame, getDropTargetListener());\\n \\n frame.setJMenuBar(menuBar = new MenuBar(this));\\n frame.pack();\\n frame.setSize(Utils.getDefaultWindowSize(this));\\n frame.setLocation(Utils.getDefaultWindowPosition(this));\\n frame.addWindowListener(windowListener);\\n frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81b789647b5f84f0c2f6e7194112c479\",\n \"score\": \"0.48899308\",\n \"text\": \"public EmailView() {\\n initComponents();\\n relatedInfoEditorPane.setContentType(\\\"text/html\\\");\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4a275f5ccf5bb006f843689add7c87f\",\n \"score\": \"0.48879322\",\n \"text\": \"private void makePredefinedConfigurationsPanel() {\\n predefinedConfController = new PredefinedConfController(this, \\\"config\\\", \\\"predefinedConfiguration.apv\\\");\\n configPanel = predefinedConfController.getJPanel();\\n ActionListener selectConfListener = new ActionListener() {\\n\\n public void actionPerformed(ActionEvent e) {\\n URL url = (URL) e.getSource();\\n if (url == null) {\\n Toolkit.getDefaultToolkit().beep();\\n messageTextLocal.setText(null);\\n messageTextLocal.setText(\\\"Cannot find an input configuration file!\\\");\\n }\\n cleanUp();\\n readArrayPVViewerDocument(url);\\n setHasChanges(false);\\n setFontForAll(globalFont);\\n setActivePanel(VIEW_PANEL);\\n }\\n };\\n predefinedConfController.setSelectorListener(selectConfListener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9b66869a8c825bf18432d847ab71271\",\n \"score\": \"0.48876828\",\n \"text\": \"ProjectSettingsPage(SettingsContainer container)\\n {\\n super(container);\\n initialize();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f2bba44fd834fbb869c6a09be3bb015\",\n \"score\": \"0.48846596\",\n \"text\": \"@Override\\n\\tpublic void Create() {\\n\\t\\tinitView();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df94e7dff9cb797b1d79aa1c3e08f63f\",\n \"score\": \"0.48798758\",\n \"text\": \"public SettingsView(Context context) {\\n super(context);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b879e7fe77ae82c13b3aa335cbfe2f5\",\n \"score\": \"0.48781592\",\n \"text\": \"void initView();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7693f8317713e4532393649b09085ee1\",\n \"score\": \"0.4876874\",\n \"text\": \"@Override\\n public void initView() {\\n super.initView();\\n super.setTitle(\\\"设置\\\");\\n super.setGone();\\n setBack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca9d00e4a26b643f7c76ef886a4a2843\",\n \"score\": \"0.48727566\",\n \"text\": \"@Override\\n protected void initView() {\\n ActionBar actionBar = getSupportActionBar();\\n if (actionBar != null) {\\n actionBar.setDisplayHomeAsUpEnabled(true);\\n }\\n\\n // init functions\\n buildBills();\\n loadCompacts();\\n setCardInfo();\\n\\n // init mode\\n mode = Mode.SUBMIT;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"977177565c8ade59276a7d55328981bf\",\n \"score\": \"0.48725238\",\n \"text\": \"public void configureWidgets() {\\n // Set JMenuChoosers for image directory and sounds.\\n setSlidesFolderChooser();\\n setSoundFileChooser();\\n\\n // Initialize spinner\\n List spinnerValues = new ArrayList<>();\\n for (int i = 1; i<=60; i++)\\n spinnerValues.add(i);\\n intervalInSecondsSpinner.setModel(new SpinnerListModel(spinnerValues));\\n\\n // Add Action Listeners to RadioButtons\\n manualChangeRadioButton.addActionListener(e -> {\\n if (manualChangeRadioButton.isSelected())\\n intervalInSecondsSpinner.setEnabled(false);\\n });\\n\\n autoChangeRadioButton.addActionListener(e -> {\\n if (autoChangeRadioButton.isSelected())\\n intervalInSecondsSpinner.setEnabled(true);\\n });\\n\\n // Initially have manual button chosen\\n manualChangeRadioButton.setSelected(true);\\n\\n // Add action listeners to buttons\\n addSlideButton.addActionListener(e -> {\\n // Add image to be in the slideshow\\n thumbnailComponent.applyToSelected(imageThumbnail -> slideComponent.add(imageThumbnail.getData()));\\n });\\n\\n playButton.addActionListener(e -> {\\n if(getSlidesConfig().getSlidesFileList().length > 0){\\n // Make the current frame invisible\\n setVisible(false);\\n // Open up SlidesPlayer (the Run-Time slideshow player)\\n new SlidesPlayer(this);\\n\\n }else{\\n JOptionPane.showMessageDialog(null, \\\"No Images Present\\\");\\n }\\n });\\n\\n // Configure JMenuBar\\n menuBar = new JMenuBar();\\n JMenu fileMenu = new JMenu(\\\"File\\\");\\n\\n JMenuItem saveMenuItem = new JMenuItem(\\\"Save ...\\\");\\n saveMenuItem.addActionListener(e -> {\\n JFileChooser fileChooser = new JFileChooser();\\n fileChooser.addChoosableFileFilter(new FileNameExtensionFilter(\\\"Text file\\\", \\\"txt\\\"));\\n fileChooser.setCurrentDirectory(new File(\\\".\\\"));\\n fileChooser.setDialogTitle(\\\"Save slides config file\\\");\\n if (fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {\\n File fileToSave = fileChooser.getSelectedFile();\\n try {\\n FileSave fs = new FileSave();\\n fs.addFile(getSlidesConfig());\\n fs.printFile(fileToSave.getAbsolutePath());\\n } catch (Exception exception) {\\n exception.printStackTrace();\\n }\\n }\\n });\\n\\n JMenuItem loadMenuItem = new JMenuItem(\\\"Load ...\\\");\\n loadMenuItem.addActionListener(e -> {\\n JFileChooser fileChooser = new JFileChooser();\\n fileChooser.setCurrentDirectory(new File(\\\".\\\"));\\n fileChooser.setDialogTitle(\\\"Open slides config file\\\");\\n fileChooser.setMultiSelectionEnabled(false);\\n if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\\n try {\\n FileLoad fl = new FileLoad(fileChooser.getSelectedFile());\\n SlidesConfig slidesConfig = fl.getSlidesConfig();\\n if (slidesConfig != null)\\n loadSlidesConfig(slidesConfig);\\n } catch (Exception exception) {\\n exception.printStackTrace();\\n }\\n }\\n });\\n\\n JMenuItem openFolderItem = new JMenuItem(\\\"Open image folder...\\\");\\n openFolderItem.addActionListener(e -> {\\n slidesFolderChooser.setAcceptAllFileFilterUsed(false);\\n if (slidesFolderChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\\n File folderPath = slidesFolderChooser.getSelectedFile();\\n processSelectedFolder(folderPath);\\n folderPathTextField = folderPath.toString();\\n }\\n });\\n\\n JMenuItem musicFileItem = new JMenuItem(\\\"Select audio...\\\");\\n musicFileItem.addActionListener(e -> {\\n soundFileChooser.setAcceptAllFileFilterUsed(false);\\n if (soundFileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\\n File[] selected = soundFileChooser.getSelectedFiles();\\n wavComponent.processSelectedPaths(Arrays.stream(selected).map(f -> Paths.get(f.getPath())).collect(Collectors.toList()));\\n }\\n });\\n\\n fileMenu.add(saveMenuItem);\\n fileMenu.add(loadMenuItem);\\n fileMenu.addSeparator();\\n fileMenu.add(openFolderItem);\\n fileMenu.add(musicFileItem);\\n menuBar.add(fileMenu);\\n\\n thumbnailComponent = new ThumbnailComponent(thumbnailFlowPanel);\\n wavFlowPanel.setLayout(new BoxLayout(wavFlowPanel, BoxLayout.Y_AXIS));\\n wavComponent = new WavComponent(wavFlowPanel, null, leftWavButton, rightWavButton, null, removeWavButton);\\n slideComponent = new SlideComponent(slidesFlowPanel, startSlideButton, leftSlideButton, rightSlideButton, finishSlideButton, removeSlideButton, fxButton);\\n musicPanel.setLayout(new BoxLayout(musicPanel, BoxLayout.Y_AXIS));\\n\\n Runnable musicTracksUpdater = () -> {\\n musicPanel.removeAll();\\n int counter = 1;\\n for (WavThumbnail wavThumbnail : wavComponent.getElements()) {\\n int slideLength = 10;\\n if (autoChangeRadioButton.isSelected())\\n slideLength = Integer.valueOf(intervalInSecondsSpinner.getValue().toString());\\n musicPanel.add(new TrackPanel(MessageFormat.format(\\\"Track {0}\\\", counter), wavThumbnail, slideLength));\\n counter++;\\n }\\n musicPanel.revalidate();\\n musicPanel.repaint();\\n };\\n\\n wavComponent.setApplyOnUpdate(musicTracksUpdater);\\n autoChangeRadioButton.addActionListener(e -> musicTracksUpdater.run());\\n intervalInSecondsSpinner.addChangeListener(e -> musicTracksUpdater.run());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b35c631bc72907a340afb990b5870114\",\n \"score\": \"0.4866953\",\n \"text\": \"public void setWorkflowEnabled(Boolean workflowEnabled){\\r\\n\\t\\tthis.workflowEnabled = workflowEnabled;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a524c5d4258a2ae29b80f51e4f04e11\",\n \"score\": \"0.4856825\",\n \"text\": \"public void setupView(NovaGLView view) {\\n\\t\\tview.setListener(listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9c897f9723bcf3834bcec8461cf792d\",\n \"score\": \"0.48508462\",\n \"text\": \"public MainView() {\\r\\n initComponents();\\r\\n getMiddle();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83beed638f2876cd20db683b5bf1039b\",\n \"score\": \"0.48492235\",\n \"text\": \"@Override\\n protected void startup() {\\n\\n view = new EVView(this);\\n model = new EVModel(this);\\n monitor = new EVMonitor(this);\\n\\n loadProperties();\\n\\n initBehavior();\\n initMenu();\\n initWindows();\\n\\n show(view);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d84eba72882667364f6497a315f449f\",\n \"score\": \"0.4848254\",\n \"text\": \"public void setExperimentView (ExperimentView experView) {\\n\\t\\tview = experView;\\n\\t\\treturn;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72668e1346b67aef84a17fa442f6d5a6\",\n \"score\": \"0.48481575\",\n \"text\": \"void setScheduleView(String scheduleView);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"717c2ae224c832848d5b99ce0db9d573\",\n \"score\": \"0.4847897\",\n \"text\": \"public MeetingView() {\\n initComponents();\\n displayAttendeesNameToList();\\n displayCalledByEmployeeToComboBox();\\n displayOfficeNameToComboBox();\\n displayDataIntoTable();\\n setJMenuBar(DashboardMenu.displayMenu(this));\\n setExtendedState(JFrame.MAXIMIZED_BOTH);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95a3e808b289b69a13f9d915c0ab5984\",\n \"score\": \"0.4847076\",\n \"text\": \"public MainView() {\\n initComponents();\\n jToolBar1.setVisible(false);\\n \\n /*tfIP.setText(\\\"192.168.0.17\\\");\\n tfSrcFolder.setText(\\\"D:\\\\\\\\Desktop\\\\\\\\Shared Files\\\");\\n tfDestFolder.setText(\\\"D:\\\\\\\\Desktop\\\\\\\\Received Files from Server\\\");*/\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b247f1d8b8e2b03393342266f6ec335\",\n \"score\": \"0.48434085\",\n \"text\": \"@Override\\n public void beforeShow(final Callback onReadyCallback) {\\n\\n super.beforeShow(new Callback() {\\n\\n @Override\\n public void exec(final Boolean result) { //Don't place a breakpoint here: It will stall debugging for some unknown reason!\\n\\n if (result) {\\n // Make sure workflow actions and status updated before showing.\\n ((WorkflowEnhancedNavController) controller).getWfUtilities().refresh();\\n\\n // Show validation errors if they exist\\n ((WorkflowEnhancedNavController) controller).getWfUtilities().doValidationCheck(new Callback>() {\\n \\n @Override\\n public void exec(List validationResults) { //Don't place a breakpoint here: It will stall debugging for some unknown reason!\\n\\n tableSection.enableValidation(showingValidation); // I think passing true here turns on all validation highlighting automatically (i.e: without requiring \\\"click to show\\\") \\n \\n initializeHeaders(validationResults);\\n resolveMissingFieldsWarnings();\\n // proposal submission warnings resolution moved to overridden processValidationResults below.\\n \\n onReadyCallback.exec(result); // calls CourseProposalController.showView.finalView \\n }\\n });\\n } else {\\n onReadyCallback.exec(result);\\n }\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e48d4b87f4d5f32373bde24fbe58358\",\n \"score\": \"0.4842509\",\n \"text\": \"@Override\\n public void Create() {\\n initView();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23a191eb9760628cb677201371d1f55e\",\n \"score\": \"0.4836921\",\n \"text\": \"public ChartPreferencesView() {\\n initComponents();\\n postInit();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69353ed73b389967b0ce7e0536bcaa4d\",\n \"score\": \"0.483523\",\n \"text\": \"public PanShorcutView() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbfdd010e16da1449c6d90029d89f48c\",\n \"score\": \"0.48277214\",\n \"text\": \"public void handleSettings(View view) {\\n\\t Intent intent = new Intent();\\n\\t ComponentName cp = new ComponentName(\\\"com.onskreen.cornerstone.panel\\\", \\\"com.onskreen.cornerstone.panel.CSSettings\\\");\\n\\t intent.setComponent(cp);\\n\\t ActivityLauncher aLauncher = new ActivityLauncher(intent, -2);\\n\\t aLauncher.launch();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2ef89509056a9a49dd7895af0b233af\",\n \"score\": \"0.48241317\",\n \"text\": \"public OperationView() {\\n initComponents();\\n PopulateCheckOut();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63d16d9f020bd1b3bf927822cf1b6cb5\",\n \"score\": \"0.48208988\",\n \"text\": \"@Override\\n public void configureUIForFollowUpDataLoadPhase() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"426228e111b0992acbaa1e5a3ba20f70\",\n \"score\": \"0.48175648\",\n \"text\": \"public void initializeView() {\\n\\t\\t// Get the number of nodes.\\n\\t\\tParameters p = RunEnvironment.getInstance().getParameters();\\n\\t\\tnNodes = p.getInteger(\\\"NUMBER_NODES\\\");\\n\\n\\t\\t// Add a maximum of three nodes as the initial view.\\n\\t\\tfor (int i = 0; i < Math.min(3, MAX_SIZE_VIEW); i++) {\\n\\t\\t\\tview.add(random.nextInt(nNodes));\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab5b3e07852a46b6b1d6dcf58361437e\",\n \"score\": \"0.48088947\",\n \"text\": \"private void initView(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ae0eb0f0a1e70edfa60d8c6a004c2cc\",\n \"score\": \"0.4807969\",\n \"text\": \"public formView() {\\n initComponents();\\n \\n this.setLocationRelativeTo(null);\\n new ConfigDB().tampilTabel(judul, SQLView, JTableView);\\n new ConfigDB().aturLebarKolom(JTableView, LebarKolom);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"529d7941741adfb3e9238507303cfa4d\",\n \"score\": \"0.48073316\",\n \"text\": \"@Override\\n protected void config() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aec3b4183adb8983e6eab85ebd3c27b0\",\n \"score\": \"0.47994843\",\n \"text\": \"public ViewMain() {\\n initComponents();\\n this.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7174ff265fb216a76992be51cd0dbf66\",\n \"score\": \"0.47963303\",\n \"text\": \"public ReturnView() {\\n \\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1966e1ba64aa62b5d3b6569ced08926\",\n \"score\": \"0.47945827\",\n \"text\": \"public HomeView() {\\n initComponents();\\n \\n setUkuranLokasiFrame(0.8, true);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":888,"cells":{"query_id":{"kind":"string","value":"48dbd4cb7dd3ab1125f22c98db502eeb"},"query":{"kind":"string","value":"Constructs an empty BloomFilter with a given length for the bit vector, guarenteeing a maximum error rate."},"positive_passages":{"kind":"list like","value":[{"docid":"1eda5d7f3bf02d8f0b4589348897ed21","score":"0.62624705","text":"public BloomFilter(int numKeys, double errorRate) {\n\t\tthis();\n\t\tdouble lowest_m = Double.MAX_VALUE;\n\t\tint best_k = 1;\n\t\tfor (int k = 1; k <= 100; k++) {\n\t\t\tdouble m =\n\t\t\t\t(-1 * k * numKeys)\n\t\t\t\t\t/ (Math.log(1 - (Math.pow(errorRate, (1 / k)))));\n\t\t\tif (m < lowest_m) {\n\t\t\t\tlowest_m = m;\n\t\t\t\tbest_k = k;\n\t\t\t}\n\t\t}\n\t\tthis.keys = new boolean[numKeys];\n\t\tthis.numFunctions = best_k;\n\t\tfor (int i = 0; i < numKeys; i++)\n\t\t\tthis.keys[i] = false;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"1eda5d7f3bf02d8f0b4589348897ed21\",\n \"score\": \"0.62624705\",\n \"text\": \"public BloomFilter(int numKeys, double errorRate) {\\n\\t\\tthis();\\n\\t\\tdouble lowest_m = Double.MAX_VALUE;\\n\\t\\tint best_k = 1;\\n\\t\\tfor (int k = 1; k <= 100; k++) {\\n\\t\\t\\tdouble m =\\n\\t\\t\\t\\t(-1 * k * numKeys)\\n\\t\\t\\t\\t\\t/ (Math.log(1 - (Math.pow(errorRate, (1 / k)))));\\n\\t\\t\\tif (m < lowest_m) {\\n\\t\\t\\t\\tlowest_m = m;\\n\\t\\t\\t\\tbest_k = k;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tthis.keys = new boolean[numKeys];\\n\\t\\tthis.numFunctions = best_k;\\n\\t\\tfor (int i = 0; i < numKeys; i++)\\n\\t\\t\\tthis.keys[i] = false;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"2dcaf39cc31c47e9e1ef764e9035f9ca","score":"0.65316856","text":"public BloomFilter(int numKeys) {\n\t\tthis(numKeys, 10);\n\t}","title":""},{"docid":"6086845860b51a75e9225dd55bd5eba9","score":"0.62839484","text":"public SliceBloomFilter(int expectedNumberOfElements, double falsePositiveProbability)\n {\n if (this.bitset == null) {\n SetAttributes(Math.ceil(-(Math.log(falsePositiveProbability) / Math.log(2))) / Math.log(2), // c = k / ln(2)\n expectedNumberOfElements, (int)Math.ceil(-(Math.log(falsePositiveProbability) / Math.log(2))));\n }\n }","title":""},{"docid":"5e6f9a3d2725ee4d256081027a13d5a6","score":"0.6152728","text":"public BloomFilter(long[] bits, int numFuncs) {\n super();\n // input long[] is set as such without copying, so any modification to the source will affect bloom filter\n this.bitSet = new BitSet(bits);\n this.numBits = bits.length * Long.SIZE;\n this.numHashFunctions = numFuncs;\n }","title":""},{"docid":"232fafccb3ecd69feed0619f77fb1908","score":"0.6112504","text":"public SimpleBloomFilter(final ByteBuf channelBuffer) {\n\t\tthis.byteArraySize = channelBuffer.readUnsignedShort() - (SIZE_HEADER_ELEMENTS + SIZE_HEADER_LENGTH);\n\t\tthis.bitArraySize = byteArraySize * Byte.SIZE;\n\t\tint expectedElements = channelBuffer.readInt();\n\t\tthis.expectedElements = expectedElements;\n\t\tdouble hf = (bitArraySize / (double) expectedElements) * Math.log(2.0);\n\t\tthis.k = (int) Math.ceil(hf);\n\t\tif (byteArraySize > 0) {\n\t\t\tbyte[] me = new byte[byteArraySize];\n\t\t\tchannelBuffer.readBytes(me);\n\t\t\tthis.bitSet = RPCUtils.fromByteArray(me);\n\t\t} else {\n\t\t\tthis.bitSet = new BitSet();\n\t\t}\n\t}","title":""},{"docid":"4b4bed6b46f0625d8ac64a0db5a37cb6","score":"0.5995643","text":"public static void regularBF() {\n BloomFilter bf = new FilterBuilder(1000, 0.1).buildBloomFilter();\n\n // Add a few elements\n bf.add(\"Just\");\n bf.add(\"a\");\n bf.add(\"test.\");\n\n // Test if they are contained\n print(bf.contains(\"Just\")); // true\n print(bf.contains(\"a\")); // true\n print(bf.contains(\"test.\")); // true\n\n // Test with a non-existing element\n print(bf.contains(\"WingDangDoodel\")); // false\n\n // Add 300 elements\n for (int i = 0; i < 300; i++) {\n String element = \"Element \" + i;\n bf.add(element);\n }\n\n // test for false positives\n for (int i = 300; i < 1000; i++) {\n String element = \"Element \" + i;\n if (bf.contains(element)) {\n print(element); // two elements: 440, 669\n }\n }\n // Compare with the expected amount\n print(bf.getFalsePositiveProbability(303) * 700); // 1.74\n\n // Estimate cardinality/population\n print(bf.getEstimatedPopulation()); // 303.6759147801151\n\n // Clone the Bloom filter\n bf.clone();\n // Reset it\n bf.clear();\n // add in Bulk\n List bulk = Arrays.asList(\"one\", \"two\", \"three\");\n bf.addAll(bulk);\n print(bf.containsAll(bulk)); // true\n\n // Create a more customized Bloom filter\n BloomFilter bf2 = new FilterBuilder().expectedElements(6666) // elements\n .size(10000) // bits to use\n .hashFunction(HashMethod.Murmur3) // our hash\n .buildBloomFilter();\n\n print(\"#Hashes:\" + bf2.getHashes()); // 2\n print(FilterBuilder.optimalK(6666, 10000)); // you can also do these calculations yourself\n\n // Create two Bloom filters with equal parameters\n BloomFilter one = new FilterBuilder(100, 0.1).buildBloomFilter();\n BloomFilter other = new FilterBuilder(100, 0.1).buildBloomFilter();\n one.add(\"this\");\n other.add(\"that\");\n one.union(other);\n print(one.contains(\"this\")); // true\n print(one.contains(\"that\")); // true\n\n other.add(\"this\");\n other.add(\"boggles\");\n one.intersect(other);\n print(one.contains(\"this\")); // true\n print(one.contains(\"boggles\")); // false\n\n }","title":""},{"docid":"aeae6f7307972f6fecb22087c4bfe2b1","score":"0.5912256","text":"public BitVector(int length) {\n this.length = length;\n int numBuckets = this.length / BUCKET_SIZE;\n if (this.length % BUCKET_SIZE > 0)\n numBuckets++;\n vector = new int[numBuckets];\n }","title":""},{"docid":"97057150a9a19d1381f9f9be763e0f10","score":"0.5812493","text":"public SimpleBloomFilter(final int byteArraySize, final int expectedElements) {\n\t\tthis(byteArraySize, expectedElements, new BitSet(byteArraySize * Byte.SIZE));\n\t}","title":""},{"docid":"d16dfbdac64a7ac901d202463d56e305","score":"0.5768185","text":"BloomFilter(int [] sizes)\n\t{\n\t\tif (sizes != null && sizes.length > 0)\n\t\t{\n\t\t\tbloom = new boolean[sizes.length][];\n\t\t\tfor (int i = 0; i < bloom.length; i++)\n\t\t\t{\n\t\t\t\tbloom[i] = new boolean[sizes[i]];\n\t\t\t}\n\t\t}\n\n\t\telse\n\t\t{\n\t\t\tbloom = null;\n\t\t}\n\t}","title":""},{"docid":"e372a056fc90bc0f809a949695e46a00","score":"0.56797457","text":"public BloomFilter(int numKeys, int numHashFunctions) {\n\t\tthis();\n\t\tthis.keys = new boolean[numKeys];\n\t\tthis.numFunctions = numHashFunctions;\n\t\tfor (int i = 0; i < numKeys; i++)\n\t\t\tthis.keys[i] = false;\n\t}","title":""},{"docid":"5dc3217df2da1b57d4c67e3945236a43","score":"0.56108457","text":"public static BloomFilter create(String file, double fpp) {\n readStrings(file);\n int expectedInsertions = objects.size();\n int length = optimalNumOfBits(expectedInsertions, fpp);\n int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, length);\n try {\n return new BloomFilter(objects, length, numHashFunctions);\n } catch (IllegalArgumentException e) {\n throw new IllegalArgumentException(\"Could not create BloomFilter of \" + length + \" bits\", e);\n }\n }","title":""},{"docid":"a549395675417e55535f2dd095b0bd4a","score":"0.5579385","text":"public DLeftBloomFilter(int maxsize) {\r\n this.capacity = maxsize;\r\n this.bucketCount = ((this.capacity - 1) / fingerBitsSize) + 1;\r\n this.subtables = new byte[HASHCOUNT][];\r\n this.buckets = new short[HASHCOUNT][];\r\n this.bucketCapacity = (3 << 3) + 1;\r\n for (int i = 0; i < HASHCOUNT; i++) {\r\n // 8cell + 1byte(负载)\r\n subtables[i] = new byte[(this.bucketCount * this.bucketCapacity)];\r\n buckets[i] = new short[this.bucketCount];\r\n }\r\n }","title":""},{"docid":"2d2928c7283881ea1b3e4a1627ca10f2","score":"0.5409597","text":"public BloomFilter(String filter) {\n\t\tthis();\n\t\tint index1 = filter.indexOf(\":\");\n\t\tint index2 = filter.lastIndexOf(\":\");\n\t\tnumFunctions = new Integer(filter.substring(0, index1)).intValue();\n\t\tkeys =\n\t\t\tnew boolean[new Integer(filter.substring(index1, index2))\n\t\t\t\t.intValue()];\n\t\tfor (int i = index2 + 1; i < filter.length(); i++) {\n\t\t\tif (filter.charAt(i) == '1')\n\t\t\t\tkeys[i] = true;\n\t\t\telse\n\t\t\t\tkeys[i] = false;\n\t\t}\n\t}","title":""},{"docid":"1fc238d4f52a17699f5568c88ae872dc","score":"0.54035634","text":"public SimpleBloomFilter(final int byteArraySize, final int expectedElements, final BitSet bitSet) {\n\t\tthis.byteArraySize = byteArraySize;\n\t\tthis.bitArraySize = byteArraySize * Byte.SIZE;\n\t\tthis.expectedElements = expectedElements;\n\t\tdouble hf = (bitArraySize / (double) expectedElements) * Math.log(2.0);\n\t\tthis.k = (int) Math.ceil(hf);\n\t\tif (hf < 1.0) {\n\t\t\tLOG.warn(\n\t\t\t \"Bit size too small for storing all expected elements. For optimum result increase byteArraySize to {}\",\n\t\t\t expectedElements / Math.log(2.0));\n\t\t}\n\t\tthis.bitSet = bitSet;\n\t}","title":""},{"docid":"9e1a566471f42951c00e8311452e6565","score":"0.5393167","text":"public BloomFilter() {\n\t\ttable32 = new int[256];\n\t\ttable40 = new int[256];\n\t\ttable48 = new int[256];\n\t\ttable54 = new int[256];\n\t\tbuffer = new byte[READ_BUFFER_SIZE];\n\t\t// We want to have mods[i] == x^(P_DEGREE+i)\n\t\tint[] mods = new int[P_DEGREE];\n\t\tmods[0] = POLYNOMIAL;\n\t\tfor (int i = 1; i < P_DEGREE; i++) {\n\t\t\t// x^i == x(x^(i-1)) (mod P)\n\t\t\tmods[i] = mods[i - 1] << 1;\n\t\t\t// if x^(i-1) had a x_(P_DEGREE-1) term then x^i has a\n\t\t\t// x^P_DEGREE term that 'fell off' the top end.\n\t\t\t// Since x^P_DEGREE == P (mod P), we should add P\n\t\t\t// to account for this:\n\t\t\tif ((mods[i - 1] & X_P_DEGREE) != 0) {\n\t\t\t\tmods[i] ^= POLYNOMIAL;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 256; i++) {\n\t\t\tint c = i;\n\t\t\tfor (int j = 0; j < 8 && c != 0; j++) {\n\t\t\t\tif ((c & 1) != 0) {\n\t\t\t\t\ttable32[i] ^= mods[j];\n\t\t\t\t\ttable40[i] ^= mods[j + 8];\n\t\t\t\t\ttable48[i] ^= mods[j + 16];\n\t\t\t\t\ttable54[i] ^= mods[j + 24];\n\t\t\t\t}\n\t\t\t\tc >>>= 1;\n\t\t\t}\n\t\t}\n\t\tmods = null;\n\t\tthis.keys = new boolean[1000];\n\t\tthis.numFunctions = 10;\n\t\tfor (int i = 0; i < 1000; i++)\tthis.keys[i] = false;\n\t}","title":""},{"docid":"b8860a70075c54f46ccd76a37aa2142b","score":"0.53197354","text":"public DropFilter()\r\n\t{\r\n\t\tthis(true, true); \r\n\t}","title":""},{"docid":"d1eaeb6a116aebb22d5d991e8a96416e","score":"0.52273923","text":"private void addBloom(ViewPort viewPort) {\r\n assert viewPort != null;\r\n\r\n BloomFilter bloom = new BloomFilter(BloomFilter.GlowMode.Objects);\r\n bloom.setBloomIntensity(1.7f);\r\n bloom.setBlurScale(2.5f);\r\n bloom.setExposurePower(1f);\r\n int numSamples = TestSkyControl.numSamples;\r\n Heart.getFpp(viewPort, assetManager, numSamples).addFilter(bloom);\r\n skyControl.getUpdater().addBloomFilter(bloom);\r\n }","title":""},{"docid":"c98207834a0df016bab8387b6156207d","score":"0.50204015","text":"public BFOLS(int unisize, int d){\n MOLS mols_data = new MOLS();\n int s = (int) Math.ceil(Math.pow(unisize, 1.0/(double)2));\n s = initializeMOLSData(s, mols_data);\n if(s != -1){\n this.m = s * (d + 1);\n this.k = d + 1;\n this.bloomFilter = new Vector<>();\n OLS_HF ols_hf = new OLS_HF(s,d);\n\n ols_hf.set(mols_data);\n this.hashFunction = ols_hf;\n\n System.out.println(\"BFOLS values s = \" + s);\n if (d > mols_data.choose_OLS_vec(s).size() + 1){\n this.m = -1;\n System.out.println(\"set is bigger than BF can represent without false positives\");\n }\n }else this.m = -1;\n }","title":""},{"docid":"afa1c49c7f0fdc05ff6ce7b28fb4eb16","score":"0.5003888","text":"public MyBlockingQueue(int noOfRequests) {\r\n\t\tthis.maxLength = noOfRequests;\r\n\t}","title":""},{"docid":"b759dc6b3789f4a82aeb5b2590120999","score":"0.49650222","text":"public static void countingBF() throws MalformedURLException {\n CountingBloomFilter cbf = new FilterBuilder(1000, 0.01).buildCountingBloomFilter();\n cbf.add(\"http://google.com\");\n cbf.add(\"http://twitter.com\");\n print(cbf.contains(\"http://google.com\")); // true\n print(cbf.contains(\"http://twitter.com\")); // true\n\n // What only the Counting Bloom filter can do:\n cbf.remove(\"http://google.com\");\n print(cbf.contains(\"http://google.com\")); // false\n\n // Use the Memory Bloom filter explicitly:\n FilterBuilder fb = new FilterBuilder(1000, 0.01).countingBits(4);\n CountingBloomFilterMemory filter = new CountingBloomFilterMemory<>(fb);\n filter.setOverflowHandler(() -> print(\"ups\"));\n\n for (int i = 1; i < 20; i++) {\n print(\"Round \" + i);\n filter.add(\"http://example.com\"); // Causes onOverflow() in Round >= 16\n }\n\n // See the inner structure\n CountingBloomFilter small = new FilterBuilder(3, 0.2).countingBits(4).buildCountingBloomFilter();\n small.add(\"One\");\n small.add(\"Two\");\n small.add(\"Three\");\n print(small.toString());\n\n }","title":""},{"docid":"4de879ffa7bbec2161e2e1e818b8940e","score":"0.49535918","text":"public static StateSet emptySet(int length) {\n return new StateSet(nbits2size(length));\n }","title":""},{"docid":"e6522eaa5de10ad9b653b4135384086d","score":"0.49515602","text":"@Override\n public float[] initWeight(int length) {\n return new float[length];\n }","title":""},{"docid":"0b9a584df1bd226bcb07b9258c684792","score":"0.49286744","text":"public Block(Filter F){\n this.filter = F;\n }","title":""},{"docid":"cd4cf8c0d03db3504931e2a16f63808a","score":"0.49178672","text":"public FrameBuilderFilter(ArrayBlockingQueue inputBuffer, ArrayBlockingQueue outputBuffer) {\n super(inputBuffer, outputBuffer);\n }","title":""},{"docid":"819fb6b330ead32040176f4e574e7fde","score":"0.49115837","text":"public BlastFilter() {\n\t\trejectedOligos = new ArrayList();\n\t\tcheckValues();\n\t}","title":""},{"docid":"3efb2dbff8c9b93ed76e00402377f373","score":"0.49085635","text":"@RecentlyNonNull\n/* */ public BluetoothDeviceFilter build() {\n/* 89 */ throw new RuntimeException(\"Stub!\");\n/* */ }","title":""},{"docid":"ba2732181ffa9d05255d69a3e0aed8d1","score":"0.4902103","text":"public Builder clearFilteredSize() {\n bitField0_ = (bitField0_ & ~0x00000004);\n filteredSize_ = 0;\n onChanged();\n return this;\n }","title":""},{"docid":"ba2732181ffa9d05255d69a3e0aed8d1","score":"0.4902103","text":"public Builder clearFilteredSize() {\n bitField0_ = (bitField0_ & ~0x00000004);\n filteredSize_ = 0;\n onChanged();\n return this;\n }","title":""},{"docid":"dcb67a06096ac39371b556dbeee93800","score":"0.48798543","text":"public BitBucket(int size){\n\t\tdata = new BitVector(size);\n\t}","title":""},{"docid":"3bf261734a3fc4d4792177ef5fe13896","score":"0.48750606","text":"public BaseFilter() {\r\n \t\t// reset is called in initialize method - no need to call it in the\r\n \t\t// constructor\r\n \t}","title":""},{"docid":"93ea52b2af23729a565ba60377f994f8","score":"0.48239234","text":"public Bulp() {\r\n maxLuminescence = STANDARD_MAX_LUMINESCENCE;\r\n currentLuminescence = 0;\r\n System.out.println(\"A bulb with max luminescence of \" + maxLuminescence + \" created.\");\r\n }","title":""},{"docid":"c3363e7410622872ba623ff7606dc336","score":"0.48230693","text":"@Test\n public void testNewCreatedInstanceIsNotEmpty()\n {\n FilterConfig filterConfig = FilterConfig.builder().build();\n MatcherAssert.assertThat(filterConfig, Matchers.not(Matchers.emptyIterable()));\n Assertions.assertEquals(2, filterConfig.size());\n Assertions.assertFalse(filterConfig.isSupported());\n Assertions.assertEquals(FilterConfig.DEFAULT_MAX_RESULTS, filterConfig.getMaxResults());\n }","title":""},{"docid":"fa6e00d3b6a74bbfaf59bfe7c0897a09","score":"0.4802213","text":"public Object clone() {\n\t\treturn new BloomFilter(this.toString());\n\t}","title":""},{"docid":"e1b4f739ed565f69ee26bd14853feb1b","score":"0.47566694","text":"public List nextBloatBytes(int length) {\n // Generate random bytes according to the maximum length of the given protocol block\n int fuzzDataLength = nextInt((length * 10000) + 1);\n byte[] bytes = new byte[fuzzDataLength];\n nextBytes(bytes);\n List result = new ArrayList<>(bytes.length);\n for (byte each : bytes) {\n result.add(each);\n }\n return result;\n }","title":""},{"docid":"a2d5a43f539f9f09057edc264b8b906d","score":"0.4736649","text":"public Builder setFilterBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n filter_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"6c98eea16aa4f14b26c15197fcb100b5","score":"0.47342813","text":"public BFOLS(int s, int d, HashFunction hashFunction){\n this.m = s * (d + 1);\n this.k = d + 1;\n this.bloomFilter = new Vector<>();\n this.hashFunction = hashFunction;\n }","title":""},{"docid":"5145c0df9aeca132a09a452a67a8763b","score":"0.4733944","text":"public WeibullDistribution()\n {\n this( DEFAULT_SHAPE, DEFAULT_SCALE );\n }","title":""},{"docid":"c13977c236d6c0f5b458927c28965cb5","score":"0.47320625","text":"public MCSFilter() {\n }","title":""},{"docid":"29eb6fb32d0cbc29758eadb922a2e9b2","score":"0.47306606","text":"public FireInsurancePolicyFilterBuilder() {\r\n fireInsurancePolicyFilter = new FireInsurancePolicyFilter();\r\n }","title":""},{"docid":"d4d774848fd2879295766f7f47c90500","score":"0.47289804","text":"public BitVector(int size)\n {\n if (size < 1)\n {\n throw new IllegalArgumentException(\"n must be >= 1\");\n }\n fSize = size;\n fBits = new byte[((size - 1) >> 3) + 1];\n }","title":""},{"docid":"260aa92d5cb50eea0ee180d87b1fa617","score":"0.47161573","text":"public BoundedBuffer(int size) { super(size); }","title":""},{"docid":"1b36492fb9ee764d096a68b28417fc9b","score":"0.47076997","text":"public BinaryBidder() {\n this.p = 0.6f;\n }","title":""},{"docid":"cd4b4484f39155dfb2bb2c926f42ee30","score":"0.4696796","text":"public Bomb(PlayerID ownerID, Cell position, int fuseLength, int range)\r\n {\r\n this(ownerID, position, Sq.iterate(ArgumentChecker.requireNonNegative(fuseLength), s -> s - 1).limit(ArgumentChecker.requireNonNegative(fuseLength)), range);\r\n }","title":""},{"docid":"087a863ea16dde68a3c5ee7ebc8d4e0f","score":"0.4693921","text":"public Builder clearFilterable() {\n bitField0_ = (bitField0_ & ~0x00000004);\n filterable_ = false;\n onChanged();\n return this;\n }","title":""},{"docid":"4a9e72a5a87b7bbf8382bf15ed6d861b","score":"0.46893144","text":"public Balisong() {\n super(2, 2, 5f, 0);\n setQiAccumulationRate(0.35f);\n }","title":""},{"docid":"b641bb9c824e3d50a91524addc157b00","score":"0.46833205","text":"@Override\r\n\t\tpublic FuelFilter create() {\n\t\t\treturn null;\r\n\t\t}","title":""},{"docid":"9c6f5ffae7b0fcadcd86e6860aec7535","score":"0.46796417","text":"private void filterSettingInit() {\n gaussianKernelSize_ = 5;\n gaussianKernelSigma_ = 3;\n hypHighThreshold_ = 80; //80//30\n hypLowThreshold_ = 30; //30//10\n sobelHighThreshold_ = 30; //30//25\n sobelLowThreshold_ = -30; //-30//25\n }","title":""},{"docid":"c80ea5adfd91408b3480a0bcb92ddc6b","score":"0.46766147","text":"public Builder bufferLimit(final int bufferLimit) {\n this.bufferLimit = bufferLimit;\n return this;\n }","title":""},{"docid":"fe71788e99bfdab7a1ffbf9e648fee14","score":"0.46657524","text":"public Builder setFilteredSize(int value) {\n bitField0_ |= 0x00000004;\n filteredSize_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"fe71788e99bfdab7a1ffbf9e648fee14","score":"0.46657524","text":"public Builder setFilteredSize(int value) {\n bitField0_ |= 0x00000004;\n filteredSize_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"799bd6b327ce0e452617f003aef9ed23","score":"0.46646753","text":"public void testIsEmptyWhenConstructed() {\n SemaphoreBoundedBuffer bb = new SemaphoreBoundedBuffer(10); // A freshly created buffer should identify itself as empty, and also as not full.\n assertTrue(bb.isEmpty());\n assertFalse(bb.isFull());\n }","title":""},{"docid":"fdd6ce6d1773d50fc345d2d9466ca0a8","score":"0.4620605","text":"public void init()\n {\n int b = 1;\n while (CommonState.r.nextBoolean())\n b++;\n \n // pick a bucket\n int bucket;\n bucket = CommonState.r.nextInt(I);\n \n // Mark it in my BitSet\n bitsets = new BitSet[I];\n for (int i=0; i> Builder newBuilder(\n int dimensions,\n DistanceFunction distanceFunction,\n int maxItemCount) {\n\n Comparator distanceComparator = Comparator.naturalOrder();\n\n return new Builder<>(dimensions, distanceFunction, distanceComparator, maxItemCount);\n }","title":""},{"docid":"c5f8a5e841e3111015cccc78407cc2dc","score":"0.4601578","text":"public BQueue(int limit) {\n\n this.limit = limit;\n this.queue = new PriorityQueue<>(limit);\n }","title":""},{"docid":"b9db40943859a739efa3f5a050e94ccc","score":"0.459723","text":"public BinaryNumber(int length) {\n\t\tif (length > 0)\n\t\t\tdata = new int[length];\n\t\telse\n\t\t\tthrow new IllegalArgumentException(\"Error: integer input must be greater than 0\");\n\t}","title":""},{"docid":"3ebc86c7b0cc6e466da56c9690235613","score":"0.45823386","text":"public TemporalRangeBloomFilterV2(int bitNum, int hashNum, int level)\n\t{\n\t\tthis.bitNum = bitNum;\n\t\tthis.hashNum = hashNum;\n\t\tthis.level = level;\n\t\tthis.g = 1 << (this.level);\n\t\tthis.queryNum = 0;\n\t\tbs = new BitSet(bitNum);\n\t}","title":""},{"docid":"f043ddefee98ab71a4d7213e732f7ec7","score":"0.4565489","text":"default LazyFutureStream boundedWaitFree(int size){\n\t\treturn this.withQueueFactory(QueueFactories.boundedNonBlockingQueue(size));\n\t}","title":""},{"docid":"5fa6f58baf6d70073306e6b06f2b96d2","score":"0.4560695","text":"Bucket(){\n\t\tif(is_init == false)\n\t\t{\n\t\t\tthrow new RuntimeException(\"Please set bucket size before creating a bucket\");\n\t\t}\n\t\telse {\n\t\t\t//Block newdummy = new Block(-1, -1, new byte[24]);\n\t\t\tfor (int i=0; i merge(final SimpleBloomFilter toMerge) {\n\t\tif (toMerge.bitArraySize != bitArraySize) {\n\t\t\tthrow new RuntimeException(\"The two bloomfilters must have the same size.\");\n\t\t}\n\t\tBitSet mergedBitSet = (BitSet) bitSet.clone();\n\t\tmergedBitSet.or(toMerge.bitSet);\n\t\treturn new SimpleBloomFilter(bitArraySize, expectedElements, mergedBitSet);\n\t}","title":""},{"docid":"db975754557b28d24ff33354000341f5","score":"0.45534968","text":"public void setBinMaxValue(double value) {\r\n this.binMaxValue = value;\r\n }","title":""},{"docid":"87d2d8e90b06ef056edce8ab4c593cba","score":"0.45466498","text":"public Builder clearB() {\n b_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000008);\n onChanged();\n return this;\n }","title":""},{"docid":"33d968936f4da9cc01150a35f9cbc654","score":"0.45408243","text":"public Builder clearLength() {\n bitField0_ = (bitField0_ & ~0x00000002);\n length_ = 0;\n onChanged();\n return this;\n }","title":""},{"docid":"33d968936f4da9cc01150a35f9cbc654","score":"0.45408243","text":"public Builder clearLength() {\n bitField0_ = (bitField0_ & ~0x00000002);\n length_ = 0;\n onChanged();\n return this;\n }","title":""},{"docid":"ddcc9fea3a6617b022fdb7cd97b21d97","score":"0.45377415","text":"public Balloom() {\n\t\tspeed = (float) 1;\n\t\tintelligence = 1;\n\t\tpoints = 100;\n\t\twallPass = false;\n\t\tscoreValue = 100;\n\n\t}","title":""},{"docid":"1b83b6243b11cee955071b4df85ee289","score":"0.45374188","text":"public EvMessyBinaryVectorSpace(\n EvObjectiveFunction objective_function,\n int vector_length) {\n if (vector_length < 1)\n throw new IllegalArgumentException(\n \"Length of vector must be positive number.\");\n\n this.setObjectiveFuntion(objective_function);\n this.vector_length = vector_length;\n }","title":""},{"docid":"fcb7eb539c74b9bf18150b9759fc7eca","score":"0.45365867","text":"public GrayFilter(boolean paramBoolean, int paramInt) {\n/* 64 */ this.brighter = paramBoolean;\n/* 65 */ this.percent = paramInt;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 71 */ this.canFilterIndexColorModel = true;\n/* */ }","title":""},{"docid":"ec471c3cc976f8174c287e743933c40a","score":"0.45302844","text":"public ShorterBucketSolution() {\n time = new int[300];\n occurs = new int[300];\n }","title":""},{"docid":"94e2074ab4c61519973432b1244018c2","score":"0.4525733","text":"public Pool(int initialCapacity) {\n this(initialCapacity, Integer.MAX_VALUE);\n }","title":""},{"docid":"00c6564e113de573d5d16b9f80fb39ee","score":"0.45209348","text":"public ByteBuffer(int initialSize) {\r\n elems = new byte[initialSize];\r\n length = 0;\r\n }","title":""},{"docid":"12901ef1902cd53ed712caa348ba008c","score":"0.4516795","text":"public static Builder newBuilder(\n int dimensions,\n DistanceFunction distanceFunction,\n Comparator distanceComparator,\n int maxItemCount) {\n\n return new Builder<>(dimensions, distanceFunction, distanceComparator, maxItemCount);\n }","title":""},{"docid":"af87591f3c633d4f1c6728257dc3088b","score":"0.45116904","text":"public BitSet()\r\n {\r\n initWords(BITS_PER_WORD);\r\n sizeIsSticky = false;\r\n }","title":""},{"docid":"9af788bc8749520ae90ccbaeeb95485b","score":"0.45108756","text":"public Builder clearMaxBatchTotalSizeBytes() {\n \n maxBatchTotalSizeBytes_ = 0L;\n onChanged();\n return this;\n }","title":""},{"docid":"4f550b66d20264b5e1e56cb8cafed8d2","score":"0.45104277","text":"public UCB1()\n\t{\n\t\tthis(Math.sqrt(2.0));\n\t}","title":""},{"docid":"aa33cc37db9931dd189bbe1b0c4e3c29","score":"0.4494426","text":"public Builder clearFilter() {\n \n filter_ = getDefaultInstance().getFilter();\n onChanged();\n return this;\n }","title":""},{"docid":"f70ace61893dd6a0c577f3627e352445","score":"0.4493699","text":"@Test\n\tpublic void testAddHashValue() {\n\t\tBloomFilter blom = new BloomFilter(1024,24,8);\n\t\t\n\t\tHashValue hash = new TigerHashValue(\"UDRJ6EGCH3CGWIIU2V6CH7VLFN4N2PCZKSPTBQA\"),\n\t\t\t\t\thash2 = new TigerHashValue(\"HSLRLA6TA6LWZICV326JTMKWWAJU4JP4GHWEG3Y\"),\n\t\t\t\t\thash3 = new TigerHashValue(\"QNWNDWLXIHZDZRQA7XEMHX7D5PJCZEQSTM7A45I\");\n\t\t\n\t\tblom.addHashValue(hash);\n\t\tblom.addHashValue(hash2);\n\t\t\n\t\tassertTrue(blom.possiblyContains(hash));\n\t\tassertTrue(blom.possiblyContains(hash2));\n\t\tassertFalse(blom.possiblyContains(hash3));\n\t\t\n\t\tBloomFilter blom2 = new BloomFilter(1024,64,2);\n\t\tblom2.addHashValue(hash);\n\t\tblom2.addHashValue(hash2);\n\t\t\n\t\tassertTrue(blom2.possiblyContains(hash));\n\t\tassertTrue(blom2.possiblyContains(hash2));\n\t\tassertFalse(blom2.possiblyContains(hash3));\n\t\t\n\t\t\n\t\t\n\t\tbyte[] b = blom2.getBytes();\n\t\t\n\t\tassertEquals(1024 / 8, b.length);\n\t\t\n\t\tBloomFilter blom2copy = new BloomFilter(b,64,2);\n\t\t\n\t\tassertTrue(blom2copy.possiblyContains(hash));\n\t\tassertTrue(blom2copy.possiblyContains(hash2));\n\t\tassertFalse(blom2copy.possiblyContains(hash3));\n\t\t\n\t//\tSystem.out.println(\"BLOM 1: \"+BASE32Encoder.encode(blom.getBytes()));\n\t//\tSystem.out.println(\"BLOM 2: \"+BASE32Encoder.encode(blom2.getBytes()));\n\t}","title":""},{"docid":"bee2cdd5306a65deca7b6f976e77491c","score":"0.4479797","text":"public static BloomFilter retrieveBloomFilter(final GenericRecord record,\n final String encodingFieldName,\n int N) {\n GenericData.Fixed fixed = (GenericData.Fixed) record.get(encodingFieldName);\n return new BloomFilter(N,fixed.bytes());\n }","title":""},{"docid":"dc96340640d69bc396e44249be2873d4","score":"0.44770297","text":"public io.envoyproxy.envoy.config.core.v3.RuntimeFractionalPercent.Builder getFilterEnabledBuilder() {\n \n onChanged();\n return getFilterEnabledFieldBuilder().getBuilder();\n }","title":""},{"docid":"c4e24a676e060992d0e50df4b65ea224","score":"0.4474037","text":"public BitSetBackedSelection(int size) {\n this.bitmap = new BitSet(size);\n }","title":""},{"docid":"1a6ee1891f80777b1dd5a0deed82a396","score":"0.44733787","text":"public Pool() {\n this(16, Integer.MAX_VALUE);\n }","title":""},{"docid":"13f8b1e14374242ebac160cdb17c4ec2","score":"0.44674456","text":"public ThresholdFilter(int threshold) {\r\n this(threshold, 255, 0);\r\n }","title":""},{"docid":"e38677f478734c60be55a292f7229c3e","score":"0.446555","text":"public static void redisCBF() {\n CountingBloomFilter cbfr = new FilterBuilder(10000, 0.01).name(\"myfilter\").overwriteIfExists(true) // instead of loading it, overwrite it if it's already there\n .redisBacked(true).buildCountingBloomFilter();\n cbfr.add(\"cow\");\n\n // Open a second Redis-backed Bloom filter with a new connection\n CountingBloomFilter bfr2 = new FilterBuilder(10000, 0.01).name(\"myfilter\") // this time it will be load it\n .redisBacked(true).buildCountingBloomFilter();\n bfr2.add(\"bison\");\n bfr2.remove(\"cow\");\n\n print(cbfr.contains(\"bison\")); // true\n print(cbfr.contains(\"cow\")); // false\n }","title":""},{"docid":"131c6bdf1211b38d6c6db0bc16a4ef78","score":"0.44587415","text":"public ElasticBank(int initialCapacity) {\n this.size = 0;\n this.coins = new Coin[initialCapacity];// the capacity of the array is the initialCapacity\n }","title":""},{"docid":"8a6dc9af65dc0954001d14492d590888","score":"0.44579124","text":"public static influent.idl.FL_BoundedRange.Builder newBuilder() {\n return new influent.idl.FL_BoundedRange.Builder();\n }","title":""},{"docid":"f0ab7fca83faefb6fdb13d11f5616d33","score":"0.44474125","text":"public static void fillBuckets(int numberOfElements) {\r\n\r\n\t\tString input;\r\n\r\n\t\tfor (int i = 0; i < numberOfElements; i++) {\r\n\t\t\tinput = generateRandomHash();\r\n\t\t\tif (buckets[getBucketNr(input)] < getNumberOfZero(input)) {\r\n\t\t\t\tbuckets[getBucketNr(input)] = getNumberOfZero(input);\r\n\t\t\t\tSystem.out.println(\"Bucket \" + getBucketNr(input) + \" : \" + getNumberOfZero(input));\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"7514cd0409d48f91a1ca8f8c8aca9463","score":"0.44443366","text":"private void SetAttributes(double bitsPerElement, int expectedNumberOfFilterElements, int numberOfHashes)\n {\n this.expectedNumberOfFilterElements = expectedNumberOfFilterElements;\n this.numberOfHashes = numberOfHashes;\n this.bitSetSize = (int)Math.ceil(bitsPerElement * expectedNumberOfFilterElements);\n numberOfAddedElements = 0;\n this.bitset = new BitSet(bitSetSize);\n }","title":""},{"docid":"2bc0f3b31a395e1a30d4accad8d3edd7","score":"0.44430348","text":"private double _blackbodyFlux(final double lambda, final double temp) {\n\n return (1 / java.lang.Math.pow(lambda / 1000, 4)) * (1 / (java.lang.Math.exp(14387 / (lambda / 1000 * temp)) - 1));\n\n }","title":""},{"docid":"a7e663298155f130cb67229cf6531a9b","score":"0.4431225","text":"public LargeBufferStream() {\n inCoreLimit = DEFAULT_IN_CORE_LIMIT;\n blocks = new ArrayList(inCoreLimit / Block.SZ);\n blocks.add(new Block());\n }","title":""},{"docid":"d3aea4b636cbfffed606a9c6b4b7bd1c","score":"0.4418513","text":"Filter createFilter();","title":""},{"docid":"d5c45d12ac408434111b6c229ce37daf","score":"0.44166568","text":"protected VariantFilter makeVariantFilter() {\n logger.warn(\"Variants with only one sample genotyped will be skipped\");\n return new NumberOfMissingFilter(header.getNGenotypeSamples() - 1);\n }","title":""},{"docid":"9842bae14298325c93529c2ac2d44fb6","score":"0.44013318","text":"public StateSet() {\n this(256);\n }","title":""},{"docid":"5ee9787cd5ccddea3187b46fda949d71","score":"0.43992165","text":"public BitSet(int nbits)\r\n {\r\n // nbits can't be negative; size 0 is OK\r\n if (nbits < 0)\r\n throw new NegativeArraySizeException(\"nbits < 0: \" + nbits);\r\n \r\n initWords(nbits);\r\n sizeIsSticky = true;\r\n }","title":""},{"docid":"a6254df032e58748512113e23be8d01a","score":"0.43973085","text":"public static Vec zeros(int length) {\n return new DenseVector(length);\n }","title":""},{"docid":"be3cd7238444438e2b0df9b6055db14e","score":"0.43969092","text":"public CircularBuffer(int length) {\n if (length > 0) {\n buffer = new Object[length];\n size = length;\n counter = 0; // Initially an empty buffer.\n start = 0; // To reference the first index in the buffer.\n end = (length - 1); // To reference the last index of the buffer.\n }\n }","title":""},{"docid":"3aee04867bbfad517f005c3ec6b1700f","score":"0.4382746","text":"public Bulp(int maxLuminescenceValue) {\r\n maxLuminescence = maxLuminescenceValue;\r\n currentLuminescence = 0;\r\n name = \"bulb\" + new String((new Integer(maxLuminescence)).toString());\r\n System.out.println(\"A bulb \" + name + \" with max luminescence of \" + maxLuminescence + \" created.\");\r\n }","title":""},{"docid":"e0f47600207f1d155fd74abadeb4ca42","score":"0.43718323","text":"public ArrayBasedBag() {\n // Call the 1-parameter constructor from this class\n this(DEFAULT_CAPACITY);\n }","title":""},{"docid":"2c1d54f481b17eb36212ddffbe399663","score":"0.4369703","text":"public Builder clearIntvFilter() {\n if (intvFilterBuilder_ == null) {\n intvFilter_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000400);\n onChanged();\n } else {\n intvFilterBuilder_.clear();\n }\n return this;\n }","title":""},{"docid":"d63f7567be9946700203955ae2f71a58","score":"0.4362856","text":"public Continuous()\n {\n this(-Double.MAX_VALUE,Double.MAX_VALUE,false,false);\n }","title":""},{"docid":"b17bf8d9d250e30d006862d9e765ec9e","score":"0.43591848","text":"public Discrete()\n {\n this(Integer.MIN_VALUE,Integer.MAX_VALUE,false,false,false,false);\n }","title":""},{"docid":"1cf8c4a63aecf5f54a7abb96e06b87d6","score":"0.43577576","text":"public ArrayBitByBit(int max) // constructor\n {\n theArray = new long[max]; // create the array\n nElems = 0; // no items yet\n }","title":""},{"docid":"a2204f54eac47c644c1461aa35d89c38","score":"0.43571788","text":"@Override\n public RequestLimiter build() {\n RequestLimiterBuilder rpsHardLimiterBuilder = RequestLimiterBuilder.newRpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"rps_hard_limit\"))\n .limit(dynConf.getRpsHardWriteLimit())\n .overlimit(new OverlimitFunction() {\n @Override\n public void apply(StreamOp op) throws OverCapacityException {\n throw new OverCapacityException(\"RPS limit exceeded for stream \" + streamName);\n }\n });\n RequestLimiterBuilder rpsSoftLimiterBuilder = RequestLimiterBuilder.newRpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"rps_soft_limit\"))\n .limit(dynConf.getRpsSoftWriteLimit());\n\n // BPS hard, soft limits\n RequestLimiterBuilder bpsHardLimiterBuilder = RequestLimiterBuilder.newBpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"bps_hard_limit\"))\n .limit(dynConf.getBpsHardWriteLimit())\n .overlimit(new OverlimitFunction() {\n @Override\n public void apply(StreamOp op) throws OverCapacityException {\n throw new OverCapacityException(\"BPS limit exceeded for stream \" + streamName);\n }\n });\n RequestLimiterBuilder bpsSoftLimiterBuilder = RequestLimiterBuilder.newBpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"bps_soft_limit\"))\n .limit(dynConf.getBpsSoftWriteLimit());\n\n ChainedRequestLimiter.Builder builder = new ChainedRequestLimiter.Builder();\n builder.addLimiter(rpsSoftLimiterBuilder.build());\n builder.addLimiter(rpsHardLimiterBuilder.build());\n builder.addLimiter(bpsSoftLimiterBuilder.build());\n builder.addLimiter(bpsHardLimiterBuilder.build());\n builder.statsLogger(limiterStatLogger);\n return builder.build();\n }","title":""}],"string":"[\n {\n \"docid\": \"2dcaf39cc31c47e9e1ef764e9035f9ca\",\n \"score\": \"0.65316856\",\n \"text\": \"public BloomFilter(int numKeys) {\\n\\t\\tthis(numKeys, 10);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6086845860b51a75e9225dd55bd5eba9\",\n \"score\": \"0.62839484\",\n \"text\": \"public SliceBloomFilter(int expectedNumberOfElements, double falsePositiveProbability)\\n {\\n if (this.bitset == null) {\\n SetAttributes(Math.ceil(-(Math.log(falsePositiveProbability) / Math.log(2))) / Math.log(2), // c = k / ln(2)\\n expectedNumberOfElements, (int)Math.ceil(-(Math.log(falsePositiveProbability) / Math.log(2))));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e6f9a3d2725ee4d256081027a13d5a6\",\n \"score\": \"0.6152728\",\n \"text\": \"public BloomFilter(long[] bits, int numFuncs) {\\n super();\\n // input long[] is set as such without copying, so any modification to the source will affect bloom filter\\n this.bitSet = new BitSet(bits);\\n this.numBits = bits.length * Long.SIZE;\\n this.numHashFunctions = numFuncs;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"232fafccb3ecd69feed0619f77fb1908\",\n \"score\": \"0.6112504\",\n \"text\": \"public SimpleBloomFilter(final ByteBuf channelBuffer) {\\n\\t\\tthis.byteArraySize = channelBuffer.readUnsignedShort() - (SIZE_HEADER_ELEMENTS + SIZE_HEADER_LENGTH);\\n\\t\\tthis.bitArraySize = byteArraySize * Byte.SIZE;\\n\\t\\tint expectedElements = channelBuffer.readInt();\\n\\t\\tthis.expectedElements = expectedElements;\\n\\t\\tdouble hf = (bitArraySize / (double) expectedElements) * Math.log(2.0);\\n\\t\\tthis.k = (int) Math.ceil(hf);\\n\\t\\tif (byteArraySize > 0) {\\n\\t\\t\\tbyte[] me = new byte[byteArraySize];\\n\\t\\t\\tchannelBuffer.readBytes(me);\\n\\t\\t\\tthis.bitSet = RPCUtils.fromByteArray(me);\\n\\t\\t} else {\\n\\t\\t\\tthis.bitSet = new BitSet();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b4bed6b46f0625d8ac64a0db5a37cb6\",\n \"score\": \"0.5995643\",\n \"text\": \"public static void regularBF() {\\n BloomFilter bf = new FilterBuilder(1000, 0.1).buildBloomFilter();\\n\\n // Add a few elements\\n bf.add(\\\"Just\\\");\\n bf.add(\\\"a\\\");\\n bf.add(\\\"test.\\\");\\n\\n // Test if they are contained\\n print(bf.contains(\\\"Just\\\")); // true\\n print(bf.contains(\\\"a\\\")); // true\\n print(bf.contains(\\\"test.\\\")); // true\\n\\n // Test with a non-existing element\\n print(bf.contains(\\\"WingDangDoodel\\\")); // false\\n\\n // Add 300 elements\\n for (int i = 0; i < 300; i++) {\\n String element = \\\"Element \\\" + i;\\n bf.add(element);\\n }\\n\\n // test for false positives\\n for (int i = 300; i < 1000; i++) {\\n String element = \\\"Element \\\" + i;\\n if (bf.contains(element)) {\\n print(element); // two elements: 440, 669\\n }\\n }\\n // Compare with the expected amount\\n print(bf.getFalsePositiveProbability(303) * 700); // 1.74\\n\\n // Estimate cardinality/population\\n print(bf.getEstimatedPopulation()); // 303.6759147801151\\n\\n // Clone the Bloom filter\\n bf.clone();\\n // Reset it\\n bf.clear();\\n // add in Bulk\\n List bulk = Arrays.asList(\\\"one\\\", \\\"two\\\", \\\"three\\\");\\n bf.addAll(bulk);\\n print(bf.containsAll(bulk)); // true\\n\\n // Create a more customized Bloom filter\\n BloomFilter bf2 = new FilterBuilder().expectedElements(6666) // elements\\n .size(10000) // bits to use\\n .hashFunction(HashMethod.Murmur3) // our hash\\n .buildBloomFilter();\\n\\n print(\\\"#Hashes:\\\" + bf2.getHashes()); // 2\\n print(FilterBuilder.optimalK(6666, 10000)); // you can also do these calculations yourself\\n\\n // Create two Bloom filters with equal parameters\\n BloomFilter one = new FilterBuilder(100, 0.1).buildBloomFilter();\\n BloomFilter other = new FilterBuilder(100, 0.1).buildBloomFilter();\\n one.add(\\\"this\\\");\\n other.add(\\\"that\\\");\\n one.union(other);\\n print(one.contains(\\\"this\\\")); // true\\n print(one.contains(\\\"that\\\")); // true\\n\\n other.add(\\\"this\\\");\\n other.add(\\\"boggles\\\");\\n one.intersect(other);\\n print(one.contains(\\\"this\\\")); // true\\n print(one.contains(\\\"boggles\\\")); // false\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeae6f7307972f6fecb22087c4bfe2b1\",\n \"score\": \"0.5912256\",\n \"text\": \"public BitVector(int length) {\\n this.length = length;\\n int numBuckets = this.length / BUCKET_SIZE;\\n if (this.length % BUCKET_SIZE > 0)\\n numBuckets++;\\n vector = new int[numBuckets];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97057150a9a19d1381f9f9be763e0f10\",\n \"score\": \"0.5812493\",\n \"text\": \"public SimpleBloomFilter(final int byteArraySize, final int expectedElements) {\\n\\t\\tthis(byteArraySize, expectedElements, new BitSet(byteArraySize * Byte.SIZE));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d16dfbdac64a7ac901d202463d56e305\",\n \"score\": \"0.5768185\",\n \"text\": \"BloomFilter(int [] sizes)\\n\\t{\\n\\t\\tif (sizes != null && sizes.length > 0)\\n\\t\\t{\\n\\t\\t\\tbloom = new boolean[sizes.length][];\\n\\t\\t\\tfor (int i = 0; i < bloom.length; i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tbloom[i] = new boolean[sizes[i]];\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\tbloom = null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e372a056fc90bc0f809a949695e46a00\",\n \"score\": \"0.56797457\",\n \"text\": \"public BloomFilter(int numKeys, int numHashFunctions) {\\n\\t\\tthis();\\n\\t\\tthis.keys = new boolean[numKeys];\\n\\t\\tthis.numFunctions = numHashFunctions;\\n\\t\\tfor (int i = 0; i < numKeys; i++)\\n\\t\\t\\tthis.keys[i] = false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dc3217df2da1b57d4c67e3945236a43\",\n \"score\": \"0.56108457\",\n \"text\": \"public static BloomFilter create(String file, double fpp) {\\n readStrings(file);\\n int expectedInsertions = objects.size();\\n int length = optimalNumOfBits(expectedInsertions, fpp);\\n int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, length);\\n try {\\n return new BloomFilter(objects, length, numHashFunctions);\\n } catch (IllegalArgumentException e) {\\n throw new IllegalArgumentException(\\\"Could not create BloomFilter of \\\" + length + \\\" bits\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a549395675417e55535f2dd095b0bd4a\",\n \"score\": \"0.5579385\",\n \"text\": \"public DLeftBloomFilter(int maxsize) {\\r\\n this.capacity = maxsize;\\r\\n this.bucketCount = ((this.capacity - 1) / fingerBitsSize) + 1;\\r\\n this.subtables = new byte[HASHCOUNT][];\\r\\n this.buckets = new short[HASHCOUNT][];\\r\\n this.bucketCapacity = (3 << 3) + 1;\\r\\n for (int i = 0; i < HASHCOUNT; i++) {\\r\\n // 8cell + 1byte(负载)\\r\\n subtables[i] = new byte[(this.bucketCount * this.bucketCapacity)];\\r\\n buckets[i] = new short[this.bucketCount];\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d2928c7283881ea1b3e4a1627ca10f2\",\n \"score\": \"0.5409597\",\n \"text\": \"public BloomFilter(String filter) {\\n\\t\\tthis();\\n\\t\\tint index1 = filter.indexOf(\\\":\\\");\\n\\t\\tint index2 = filter.lastIndexOf(\\\":\\\");\\n\\t\\tnumFunctions = new Integer(filter.substring(0, index1)).intValue();\\n\\t\\tkeys =\\n\\t\\t\\tnew boolean[new Integer(filter.substring(index1, index2))\\n\\t\\t\\t\\t.intValue()];\\n\\t\\tfor (int i = index2 + 1; i < filter.length(); i++) {\\n\\t\\t\\tif (filter.charAt(i) == '1')\\n\\t\\t\\t\\tkeys[i] = true;\\n\\t\\t\\telse\\n\\t\\t\\t\\tkeys[i] = false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fc238d4f52a17699f5568c88ae872dc\",\n \"score\": \"0.54035634\",\n \"text\": \"public SimpleBloomFilter(final int byteArraySize, final int expectedElements, final BitSet bitSet) {\\n\\t\\tthis.byteArraySize = byteArraySize;\\n\\t\\tthis.bitArraySize = byteArraySize * Byte.SIZE;\\n\\t\\tthis.expectedElements = expectedElements;\\n\\t\\tdouble hf = (bitArraySize / (double) expectedElements) * Math.log(2.0);\\n\\t\\tthis.k = (int) Math.ceil(hf);\\n\\t\\tif (hf < 1.0) {\\n\\t\\t\\tLOG.warn(\\n\\t\\t\\t \\\"Bit size too small for storing all expected elements. For optimum result increase byteArraySize to {}\\\",\\n\\t\\t\\t expectedElements / Math.log(2.0));\\n\\t\\t}\\n\\t\\tthis.bitSet = bitSet;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e1a566471f42951c00e8311452e6565\",\n \"score\": \"0.5393167\",\n \"text\": \"public BloomFilter() {\\n\\t\\ttable32 = new int[256];\\n\\t\\ttable40 = new int[256];\\n\\t\\ttable48 = new int[256];\\n\\t\\ttable54 = new int[256];\\n\\t\\tbuffer = new byte[READ_BUFFER_SIZE];\\n\\t\\t// We want to have mods[i] == x^(P_DEGREE+i)\\n\\t\\tint[] mods = new int[P_DEGREE];\\n\\t\\tmods[0] = POLYNOMIAL;\\n\\t\\tfor (int i = 1; i < P_DEGREE; i++) {\\n\\t\\t\\t// x^i == x(x^(i-1)) (mod P)\\n\\t\\t\\tmods[i] = mods[i - 1] << 1;\\n\\t\\t\\t// if x^(i-1) had a x_(P_DEGREE-1) term then x^i has a\\n\\t\\t\\t// x^P_DEGREE term that 'fell off' the top end.\\n\\t\\t\\t// Since x^P_DEGREE == P (mod P), we should add P\\n\\t\\t\\t// to account for this:\\n\\t\\t\\tif ((mods[i - 1] & X_P_DEGREE) != 0) {\\n\\t\\t\\t\\tmods[i] ^= POLYNOMIAL;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tfor (int i = 0; i < 256; i++) {\\n\\t\\t\\tint c = i;\\n\\t\\t\\tfor (int j = 0; j < 8 && c != 0; j++) {\\n\\t\\t\\t\\tif ((c & 1) != 0) {\\n\\t\\t\\t\\t\\ttable32[i] ^= mods[j];\\n\\t\\t\\t\\t\\ttable40[i] ^= mods[j + 8];\\n\\t\\t\\t\\t\\ttable48[i] ^= mods[j + 16];\\n\\t\\t\\t\\t\\ttable54[i] ^= mods[j + 24];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tc >>>= 1;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tmods = null;\\n\\t\\tthis.keys = new boolean[1000];\\n\\t\\tthis.numFunctions = 10;\\n\\t\\tfor (int i = 0; i < 1000; i++)\\tthis.keys[i] = false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8860a70075c54f46ccd76a37aa2142b\",\n \"score\": \"0.53197354\",\n \"text\": \"public DropFilter()\\r\\n\\t{\\r\\n\\t\\tthis(true, true); \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1eaeb6a116aebb22d5d991e8a96416e\",\n \"score\": \"0.52273923\",\n \"text\": \"private void addBloom(ViewPort viewPort) {\\r\\n assert viewPort != null;\\r\\n\\r\\n BloomFilter bloom = new BloomFilter(BloomFilter.GlowMode.Objects);\\r\\n bloom.setBloomIntensity(1.7f);\\r\\n bloom.setBlurScale(2.5f);\\r\\n bloom.setExposurePower(1f);\\r\\n int numSamples = TestSkyControl.numSamples;\\r\\n Heart.getFpp(viewPort, assetManager, numSamples).addFilter(bloom);\\r\\n skyControl.getUpdater().addBloomFilter(bloom);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c98207834a0df016bab8387b6156207d\",\n \"score\": \"0.50204015\",\n \"text\": \"public BFOLS(int unisize, int d){\\n MOLS mols_data = new MOLS();\\n int s = (int) Math.ceil(Math.pow(unisize, 1.0/(double)2));\\n s = initializeMOLSData(s, mols_data);\\n if(s != -1){\\n this.m = s * (d + 1);\\n this.k = d + 1;\\n this.bloomFilter = new Vector<>();\\n OLS_HF ols_hf = new OLS_HF(s,d);\\n\\n ols_hf.set(mols_data);\\n this.hashFunction = ols_hf;\\n\\n System.out.println(\\\"BFOLS values s = \\\" + s);\\n if (d > mols_data.choose_OLS_vec(s).size() + 1){\\n this.m = -1;\\n System.out.println(\\\"set is bigger than BF can represent without false positives\\\");\\n }\\n }else this.m = -1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afa1c49c7f0fdc05ff6ce7b28fb4eb16\",\n \"score\": \"0.5003888\",\n \"text\": \"public MyBlockingQueue(int noOfRequests) {\\r\\n\\t\\tthis.maxLength = noOfRequests;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b759dc6b3789f4a82aeb5b2590120999\",\n \"score\": \"0.49650222\",\n \"text\": \"public static void countingBF() throws MalformedURLException {\\n CountingBloomFilter cbf = new FilterBuilder(1000, 0.01).buildCountingBloomFilter();\\n cbf.add(\\\"http://google.com\\\");\\n cbf.add(\\\"http://twitter.com\\\");\\n print(cbf.contains(\\\"http://google.com\\\")); // true\\n print(cbf.contains(\\\"http://twitter.com\\\")); // true\\n\\n // What only the Counting Bloom filter can do:\\n cbf.remove(\\\"http://google.com\\\");\\n print(cbf.contains(\\\"http://google.com\\\")); // false\\n\\n // Use the Memory Bloom filter explicitly:\\n FilterBuilder fb = new FilterBuilder(1000, 0.01).countingBits(4);\\n CountingBloomFilterMemory filter = new CountingBloomFilterMemory<>(fb);\\n filter.setOverflowHandler(() -> print(\\\"ups\\\"));\\n\\n for (int i = 1; i < 20; i++) {\\n print(\\\"Round \\\" + i);\\n filter.add(\\\"http://example.com\\\"); // Causes onOverflow() in Round >= 16\\n }\\n\\n // See the inner structure\\n CountingBloomFilter small = new FilterBuilder(3, 0.2).countingBits(4).buildCountingBloomFilter();\\n small.add(\\\"One\\\");\\n small.add(\\\"Two\\\");\\n small.add(\\\"Three\\\");\\n print(small.toString());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4de879ffa7bbec2161e2e1e818b8940e\",\n \"score\": \"0.49535918\",\n \"text\": \"public static StateSet emptySet(int length) {\\n return new StateSet(nbits2size(length));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6522eaa5de10ad9b653b4135384086d\",\n \"score\": \"0.49515602\",\n \"text\": \"@Override\\n public float[] initWeight(int length) {\\n return new float[length];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b9a584df1bd226bcb07b9258c684792\",\n \"score\": \"0.49286744\",\n \"text\": \"public Block(Filter F){\\n this.filter = F;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd4cf8c0d03db3504931e2a16f63808a\",\n \"score\": \"0.49178672\",\n \"text\": \"public FrameBuilderFilter(ArrayBlockingQueue inputBuffer, ArrayBlockingQueue outputBuffer) {\\n super(inputBuffer, outputBuffer);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"819fb6b330ead32040176f4e574e7fde\",\n \"score\": \"0.49115837\",\n \"text\": \"public BlastFilter() {\\n\\t\\trejectedOligos = new ArrayList();\\n\\t\\tcheckValues();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3efb2dbff8c9b93ed76e00402377f373\",\n \"score\": \"0.49085635\",\n \"text\": \"@RecentlyNonNull\\n/* */ public BluetoothDeviceFilter build() {\\n/* 89 */ throw new RuntimeException(\\\"Stub!\\\");\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba2732181ffa9d05255d69a3e0aed8d1\",\n \"score\": \"0.4902103\",\n \"text\": \"public Builder clearFilteredSize() {\\n bitField0_ = (bitField0_ & ~0x00000004);\\n filteredSize_ = 0;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba2732181ffa9d05255d69a3e0aed8d1\",\n \"score\": \"0.4902103\",\n \"text\": \"public Builder clearFilteredSize() {\\n bitField0_ = (bitField0_ & ~0x00000004);\\n filteredSize_ = 0;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcb67a06096ac39371b556dbeee93800\",\n \"score\": \"0.48798543\",\n \"text\": \"public BitBucket(int size){\\n\\t\\tdata = new BitVector(size);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bf261734a3fc4d4792177ef5fe13896\",\n \"score\": \"0.48750606\",\n \"text\": \"public BaseFilter() {\\r\\n \\t\\t// reset is called in initialize method - no need to call it in the\\r\\n \\t\\t// constructor\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93ea52b2af23729a565ba60377f994f8\",\n \"score\": \"0.48239234\",\n \"text\": \"public Bulp() {\\r\\n maxLuminescence = STANDARD_MAX_LUMINESCENCE;\\r\\n currentLuminescence = 0;\\r\\n System.out.println(\\\"A bulb with max luminescence of \\\" + maxLuminescence + \\\" created.\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3363e7410622872ba623ff7606dc336\",\n \"score\": \"0.48230693\",\n \"text\": \"@Test\\n public void testNewCreatedInstanceIsNotEmpty()\\n {\\n FilterConfig filterConfig = FilterConfig.builder().build();\\n MatcherAssert.assertThat(filterConfig, Matchers.not(Matchers.emptyIterable()));\\n Assertions.assertEquals(2, filterConfig.size());\\n Assertions.assertFalse(filterConfig.isSupported());\\n Assertions.assertEquals(FilterConfig.DEFAULT_MAX_RESULTS, filterConfig.getMaxResults());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa6e00d3b6a74bbfaf59bfe7c0897a09\",\n \"score\": \"0.4802213\",\n \"text\": \"public Object clone() {\\n\\t\\treturn new BloomFilter(this.toString());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1b4f739ed565f69ee26bd14853feb1b\",\n \"score\": \"0.47566694\",\n \"text\": \"public List nextBloatBytes(int length) {\\n // Generate random bytes according to the maximum length of the given protocol block\\n int fuzzDataLength = nextInt((length * 10000) + 1);\\n byte[] bytes = new byte[fuzzDataLength];\\n nextBytes(bytes);\\n List result = new ArrayList<>(bytes.length);\\n for (byte each : bytes) {\\n result.add(each);\\n }\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2d5a43f539f9f09057edc264b8b906d\",\n \"score\": \"0.4736649\",\n \"text\": \"public Builder setFilterBytes(\\n com.google.protobuf.ByteString value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n checkByteStringIsUtf8(value);\\n \\n filter_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c98eea16aa4f14b26c15197fcb100b5\",\n \"score\": \"0.47342813\",\n \"text\": \"public BFOLS(int s, int d, HashFunction hashFunction){\\n this.m = s * (d + 1);\\n this.k = d + 1;\\n this.bloomFilter = new Vector<>();\\n this.hashFunction = hashFunction;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5145c0df9aeca132a09a452a67a8763b\",\n \"score\": \"0.4733944\",\n \"text\": \"public WeibullDistribution()\\n {\\n this( DEFAULT_SHAPE, DEFAULT_SCALE );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c13977c236d6c0f5b458927c28965cb5\",\n \"score\": \"0.47320625\",\n \"text\": \"public MCSFilter() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29eb6fb32d0cbc29758eadb922a2e9b2\",\n \"score\": \"0.47306606\",\n \"text\": \"public FireInsurancePolicyFilterBuilder() {\\r\\n fireInsurancePolicyFilter = new FireInsurancePolicyFilter();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4d774848fd2879295766f7f47c90500\",\n \"score\": \"0.47289804\",\n \"text\": \"public BitVector(int size)\\n {\\n if (size < 1)\\n {\\n throw new IllegalArgumentException(\\\"n must be >= 1\\\");\\n }\\n fSize = size;\\n fBits = new byte[((size - 1) >> 3) + 1];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"260aa92d5cb50eea0ee180d87b1fa617\",\n \"score\": \"0.47161573\",\n \"text\": \"public BoundedBuffer(int size) { super(size); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b36492fb9ee764d096a68b28417fc9b\",\n \"score\": \"0.47076997\",\n \"text\": \"public BinaryBidder() {\\n this.p = 0.6f;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd4b4484f39155dfb2bb2c926f42ee30\",\n \"score\": \"0.4696796\",\n \"text\": \"public Bomb(PlayerID ownerID, Cell position, int fuseLength, int range)\\r\\n {\\r\\n this(ownerID, position, Sq.iterate(ArgumentChecker.requireNonNegative(fuseLength), s -> s - 1).limit(ArgumentChecker.requireNonNegative(fuseLength)), range);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"087a863ea16dde68a3c5ee7ebc8d4e0f\",\n \"score\": \"0.4693921\",\n \"text\": \"public Builder clearFilterable() {\\n bitField0_ = (bitField0_ & ~0x00000004);\\n filterable_ = false;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a9e72a5a87b7bbf8382bf15ed6d861b\",\n \"score\": \"0.46893144\",\n \"text\": \"public Balisong() {\\n super(2, 2, 5f, 0);\\n setQiAccumulationRate(0.35f);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b641bb9c824e3d50a91524addc157b00\",\n \"score\": \"0.46833205\",\n \"text\": \"@Override\\r\\n\\t\\tpublic FuelFilter create() {\\n\\t\\t\\treturn null;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6f5ffae7b0fcadcd86e6860aec7535\",\n \"score\": \"0.46796417\",\n \"text\": \"private void filterSettingInit() {\\n gaussianKernelSize_ = 5;\\n gaussianKernelSigma_ = 3;\\n hypHighThreshold_ = 80; //80//30\\n hypLowThreshold_ = 30; //30//10\\n sobelHighThreshold_ = 30; //30//25\\n sobelLowThreshold_ = -30; //-30//25\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c80ea5adfd91408b3480a0bcb92ddc6b\",\n \"score\": \"0.46766147\",\n \"text\": \"public Builder bufferLimit(final int bufferLimit) {\\n this.bufferLimit = bufferLimit;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe71788e99bfdab7a1ffbf9e648fee14\",\n \"score\": \"0.46657524\",\n \"text\": \"public Builder setFilteredSize(int value) {\\n bitField0_ |= 0x00000004;\\n filteredSize_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe71788e99bfdab7a1ffbf9e648fee14\",\n \"score\": \"0.46657524\",\n \"text\": \"public Builder setFilteredSize(int value) {\\n bitField0_ |= 0x00000004;\\n filteredSize_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"799bd6b327ce0e452617f003aef9ed23\",\n \"score\": \"0.46646753\",\n \"text\": \"public void testIsEmptyWhenConstructed() {\\n SemaphoreBoundedBuffer bb = new SemaphoreBoundedBuffer(10); // A freshly created buffer should identify itself as empty, and also as not full.\\n assertTrue(bb.isEmpty());\\n assertFalse(bb.isFull());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdd6ce6d1773d50fc345d2d9466ca0a8\",\n \"score\": \"0.4620605\",\n \"text\": \"public void init()\\n {\\n int b = 1;\\n while (CommonState.r.nextBoolean())\\n b++;\\n \\n // pick a bucket\\n int bucket;\\n bucket = CommonState.r.nextInt(I);\\n \\n // Mark it in my BitSet\\n bitsets = new BitSet[I];\\n for (int i=0; i> Builder newBuilder(\\n int dimensions,\\n DistanceFunction distanceFunction,\\n int maxItemCount) {\\n\\n Comparator distanceComparator = Comparator.naturalOrder();\\n\\n return new Builder<>(dimensions, distanceFunction, distanceComparator, maxItemCount);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5f8a5e841e3111015cccc78407cc2dc\",\n \"score\": \"0.4601578\",\n \"text\": \"public BQueue(int limit) {\\n\\n this.limit = limit;\\n this.queue = new PriorityQueue<>(limit);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9db40943859a739efa3f5a050e94ccc\",\n \"score\": \"0.459723\",\n \"text\": \"public BinaryNumber(int length) {\\n\\t\\tif (length > 0)\\n\\t\\t\\tdata = new int[length];\\n\\t\\telse\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"Error: integer input must be greater than 0\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ebc86c7b0cc6e466da56c9690235613\",\n \"score\": \"0.45823386\",\n \"text\": \"public TemporalRangeBloomFilterV2(int bitNum, int hashNum, int level)\\n\\t{\\n\\t\\tthis.bitNum = bitNum;\\n\\t\\tthis.hashNum = hashNum;\\n\\t\\tthis.level = level;\\n\\t\\tthis.g = 1 << (this.level);\\n\\t\\tthis.queryNum = 0;\\n\\t\\tbs = new BitSet(bitNum);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f043ddefee98ab71a4d7213e732f7ec7\",\n \"score\": \"0.4565489\",\n \"text\": \"default LazyFutureStream boundedWaitFree(int size){\\n\\t\\treturn this.withQueueFactory(QueueFactories.boundedNonBlockingQueue(size));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fa6f58baf6d70073306e6b06f2b96d2\",\n \"score\": \"0.4560695\",\n \"text\": \"Bucket(){\\n\\t\\tif(is_init == false)\\n\\t\\t{\\n\\t\\t\\tthrow new RuntimeException(\\\"Please set bucket size before creating a bucket\\\");\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\t//Block newdummy = new Block(-1, -1, new byte[24]);\\n\\t\\t\\tfor (int i=0; i merge(final SimpleBloomFilter toMerge) {\\n\\t\\tif (toMerge.bitArraySize != bitArraySize) {\\n\\t\\t\\tthrow new RuntimeException(\\\"The two bloomfilters must have the same size.\\\");\\n\\t\\t}\\n\\t\\tBitSet mergedBitSet = (BitSet) bitSet.clone();\\n\\t\\tmergedBitSet.or(toMerge.bitSet);\\n\\t\\treturn new SimpleBloomFilter(bitArraySize, expectedElements, mergedBitSet);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db975754557b28d24ff33354000341f5\",\n \"score\": \"0.45534968\",\n \"text\": \"public void setBinMaxValue(double value) {\\r\\n this.binMaxValue = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87d2d8e90b06ef056edce8ab4c593cba\",\n \"score\": \"0.45466498\",\n \"text\": \"public Builder clearB() {\\n b_ = java.util.Collections.emptyList();\\n bitField0_ = (bitField0_ & ~0x00000008);\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d968936f4da9cc01150a35f9cbc654\",\n \"score\": \"0.45408243\",\n \"text\": \"public Builder clearLength() {\\n bitField0_ = (bitField0_ & ~0x00000002);\\n length_ = 0;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d968936f4da9cc01150a35f9cbc654\",\n \"score\": \"0.45408243\",\n \"text\": \"public Builder clearLength() {\\n bitField0_ = (bitField0_ & ~0x00000002);\\n length_ = 0;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddcc9fea3a6617b022fdb7cd97b21d97\",\n \"score\": \"0.45377415\",\n \"text\": \"public Balloom() {\\n\\t\\tspeed = (float) 1;\\n\\t\\tintelligence = 1;\\n\\t\\tpoints = 100;\\n\\t\\twallPass = false;\\n\\t\\tscoreValue = 100;\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b83b6243b11cee955071b4df85ee289\",\n \"score\": \"0.45374188\",\n \"text\": \"public EvMessyBinaryVectorSpace(\\n EvObjectiveFunction objective_function,\\n int vector_length) {\\n if (vector_length < 1)\\n throw new IllegalArgumentException(\\n \\\"Length of vector must be positive number.\\\");\\n\\n this.setObjectiveFuntion(objective_function);\\n this.vector_length = vector_length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcb7eb539c74b9bf18150b9759fc7eca\",\n \"score\": \"0.45365867\",\n \"text\": \"public GrayFilter(boolean paramBoolean, int paramInt) {\\n/* 64 */ this.brighter = paramBoolean;\\n/* 65 */ this.percent = paramInt;\\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* 71 */ this.canFilterIndexColorModel = true;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec471c3cc976f8174c287e743933c40a\",\n \"score\": \"0.45302844\",\n \"text\": \"public ShorterBucketSolution() {\\n time = new int[300];\\n occurs = new int[300];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e2074ab4c61519973432b1244018c2\",\n \"score\": \"0.4525733\",\n \"text\": \"public Pool(int initialCapacity) {\\n this(initialCapacity, Integer.MAX_VALUE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00c6564e113de573d5d16b9f80fb39ee\",\n \"score\": \"0.45209348\",\n \"text\": \"public ByteBuffer(int initialSize) {\\r\\n elems = new byte[initialSize];\\r\\n length = 0;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12901ef1902cd53ed712caa348ba008c\",\n \"score\": \"0.4516795\",\n \"text\": \"public static Builder newBuilder(\\n int dimensions,\\n DistanceFunction distanceFunction,\\n Comparator distanceComparator,\\n int maxItemCount) {\\n\\n return new Builder<>(dimensions, distanceFunction, distanceComparator, maxItemCount);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af87591f3c633d4f1c6728257dc3088b\",\n \"score\": \"0.45116904\",\n \"text\": \"public BitSet()\\r\\n {\\r\\n initWords(BITS_PER_WORD);\\r\\n sizeIsSticky = false;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9af788bc8749520ae90ccbaeeb95485b\",\n \"score\": \"0.45108756\",\n \"text\": \"public Builder clearMaxBatchTotalSizeBytes() {\\n \\n maxBatchTotalSizeBytes_ = 0L;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f550b66d20264b5e1e56cb8cafed8d2\",\n \"score\": \"0.45104277\",\n \"text\": \"public UCB1()\\n\\t{\\n\\t\\tthis(Math.sqrt(2.0));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa33cc37db9931dd189bbe1b0c4e3c29\",\n \"score\": \"0.4494426\",\n \"text\": \"public Builder clearFilter() {\\n \\n filter_ = getDefaultInstance().getFilter();\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f70ace61893dd6a0c577f3627e352445\",\n \"score\": \"0.4493699\",\n \"text\": \"@Test\\n\\tpublic void testAddHashValue() {\\n\\t\\tBloomFilter blom = new BloomFilter(1024,24,8);\\n\\t\\t\\n\\t\\tHashValue hash = new TigerHashValue(\\\"UDRJ6EGCH3CGWIIU2V6CH7VLFN4N2PCZKSPTBQA\\\"),\\n\\t\\t\\t\\t\\thash2 = new TigerHashValue(\\\"HSLRLA6TA6LWZICV326JTMKWWAJU4JP4GHWEG3Y\\\"),\\n\\t\\t\\t\\t\\thash3 = new TigerHashValue(\\\"QNWNDWLXIHZDZRQA7XEMHX7D5PJCZEQSTM7A45I\\\");\\n\\t\\t\\n\\t\\tblom.addHashValue(hash);\\n\\t\\tblom.addHashValue(hash2);\\n\\t\\t\\n\\t\\tassertTrue(blom.possiblyContains(hash));\\n\\t\\tassertTrue(blom.possiblyContains(hash2));\\n\\t\\tassertFalse(blom.possiblyContains(hash3));\\n\\t\\t\\n\\t\\tBloomFilter blom2 = new BloomFilter(1024,64,2);\\n\\t\\tblom2.addHashValue(hash);\\n\\t\\tblom2.addHashValue(hash2);\\n\\t\\t\\n\\t\\tassertTrue(blom2.possiblyContains(hash));\\n\\t\\tassertTrue(blom2.possiblyContains(hash2));\\n\\t\\tassertFalse(blom2.possiblyContains(hash3));\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\tbyte[] b = blom2.getBytes();\\n\\t\\t\\n\\t\\tassertEquals(1024 / 8, b.length);\\n\\t\\t\\n\\t\\tBloomFilter blom2copy = new BloomFilter(b,64,2);\\n\\t\\t\\n\\t\\tassertTrue(blom2copy.possiblyContains(hash));\\n\\t\\tassertTrue(blom2copy.possiblyContains(hash2));\\n\\t\\tassertFalse(blom2copy.possiblyContains(hash3));\\n\\t\\t\\n\\t//\\tSystem.out.println(\\\"BLOM 1: \\\"+BASE32Encoder.encode(blom.getBytes()));\\n\\t//\\tSystem.out.println(\\\"BLOM 2: \\\"+BASE32Encoder.encode(blom2.getBytes()));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bee2cdd5306a65deca7b6f976e77491c\",\n \"score\": \"0.4479797\",\n \"text\": \"public static BloomFilter retrieveBloomFilter(final GenericRecord record,\\n final String encodingFieldName,\\n int N) {\\n GenericData.Fixed fixed = (GenericData.Fixed) record.get(encodingFieldName);\\n return new BloomFilter(N,fixed.bytes());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc96340640d69bc396e44249be2873d4\",\n \"score\": \"0.44770297\",\n \"text\": \"public io.envoyproxy.envoy.config.core.v3.RuntimeFractionalPercent.Builder getFilterEnabledBuilder() {\\n \\n onChanged();\\n return getFilterEnabledFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4e24a676e060992d0e50df4b65ea224\",\n \"score\": \"0.4474037\",\n \"text\": \"public BitSetBackedSelection(int size) {\\n this.bitmap = new BitSet(size);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a6ee1891f80777b1dd5a0deed82a396\",\n \"score\": \"0.44733787\",\n \"text\": \"public Pool() {\\n this(16, Integer.MAX_VALUE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13f8b1e14374242ebac160cdb17c4ec2\",\n \"score\": \"0.44674456\",\n \"text\": \"public ThresholdFilter(int threshold) {\\r\\n this(threshold, 255, 0);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e38677f478734c60be55a292f7229c3e\",\n \"score\": \"0.446555\",\n \"text\": \"public static void redisCBF() {\\n CountingBloomFilter cbfr = new FilterBuilder(10000, 0.01).name(\\\"myfilter\\\").overwriteIfExists(true) // instead of loading it, overwrite it if it's already there\\n .redisBacked(true).buildCountingBloomFilter();\\n cbfr.add(\\\"cow\\\");\\n\\n // Open a second Redis-backed Bloom filter with a new connection\\n CountingBloomFilter bfr2 = new FilterBuilder(10000, 0.01).name(\\\"myfilter\\\") // this time it will be load it\\n .redisBacked(true).buildCountingBloomFilter();\\n bfr2.add(\\\"bison\\\");\\n bfr2.remove(\\\"cow\\\");\\n\\n print(cbfr.contains(\\\"bison\\\")); // true\\n print(cbfr.contains(\\\"cow\\\")); // false\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"131c6bdf1211b38d6c6db0bc16a4ef78\",\n \"score\": \"0.44587415\",\n \"text\": \"public ElasticBank(int initialCapacity) {\\n this.size = 0;\\n this.coins = new Coin[initialCapacity];// the capacity of the array is the initialCapacity\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a6dc9af65dc0954001d14492d590888\",\n \"score\": \"0.44579124\",\n \"text\": \"public static influent.idl.FL_BoundedRange.Builder newBuilder() {\\n return new influent.idl.FL_BoundedRange.Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0ab7fca83faefb6fdb13d11f5616d33\",\n \"score\": \"0.44474125\",\n \"text\": \"public static void fillBuckets(int numberOfElements) {\\r\\n\\r\\n\\t\\tString input;\\r\\n\\r\\n\\t\\tfor (int i = 0; i < numberOfElements; i++) {\\r\\n\\t\\t\\tinput = generateRandomHash();\\r\\n\\t\\t\\tif (buckets[getBucketNr(input)] < getNumberOfZero(input)) {\\r\\n\\t\\t\\t\\tbuckets[getBucketNr(input)] = getNumberOfZero(input);\\r\\n\\t\\t\\t\\tSystem.out.println(\\\"Bucket \\\" + getBucketNr(input) + \\\" : \\\" + getNumberOfZero(input));\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7514cd0409d48f91a1ca8f8c8aca9463\",\n \"score\": \"0.44443366\",\n \"text\": \"private void SetAttributes(double bitsPerElement, int expectedNumberOfFilterElements, int numberOfHashes)\\n {\\n this.expectedNumberOfFilterElements = expectedNumberOfFilterElements;\\n this.numberOfHashes = numberOfHashes;\\n this.bitSetSize = (int)Math.ceil(bitsPerElement * expectedNumberOfFilterElements);\\n numberOfAddedElements = 0;\\n this.bitset = new BitSet(bitSetSize);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bc0f3b31a395e1a30d4accad8d3edd7\",\n \"score\": \"0.44430348\",\n \"text\": \"private double _blackbodyFlux(final double lambda, final double temp) {\\n\\n return (1 / java.lang.Math.pow(lambda / 1000, 4)) * (1 / (java.lang.Math.exp(14387 / (lambda / 1000 * temp)) - 1));\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7e663298155f130cb67229cf6531a9b\",\n \"score\": \"0.4431225\",\n \"text\": \"public LargeBufferStream() {\\n inCoreLimit = DEFAULT_IN_CORE_LIMIT;\\n blocks = new ArrayList(inCoreLimit / Block.SZ);\\n blocks.add(new Block());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3aea4b636cbfffed606a9c6b4b7bd1c\",\n \"score\": \"0.4418513\",\n \"text\": \"Filter createFilter();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5c45d12ac408434111b6c229ce37daf\",\n \"score\": \"0.44166568\",\n \"text\": \"protected VariantFilter makeVariantFilter() {\\n logger.warn(\\\"Variants with only one sample genotyped will be skipped\\\");\\n return new NumberOfMissingFilter(header.getNGenotypeSamples() - 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9842bae14298325c93529c2ac2d44fb6\",\n \"score\": \"0.44013318\",\n \"text\": \"public StateSet() {\\n this(256);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ee9787cd5ccddea3187b46fda949d71\",\n \"score\": \"0.43992165\",\n \"text\": \"public BitSet(int nbits)\\r\\n {\\r\\n // nbits can't be negative; size 0 is OK\\r\\n if (nbits < 0)\\r\\n throw new NegativeArraySizeException(\\\"nbits < 0: \\\" + nbits);\\r\\n \\r\\n initWords(nbits);\\r\\n sizeIsSticky = true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6254df032e58748512113e23be8d01a\",\n \"score\": \"0.43973085\",\n \"text\": \"public static Vec zeros(int length) {\\n return new DenseVector(length);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be3cd7238444438e2b0df9b6055db14e\",\n \"score\": \"0.43969092\",\n \"text\": \"public CircularBuffer(int length) {\\n if (length > 0) {\\n buffer = new Object[length];\\n size = length;\\n counter = 0; // Initially an empty buffer.\\n start = 0; // To reference the first index in the buffer.\\n end = (length - 1); // To reference the last index of the buffer.\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3aee04867bbfad517f005c3ec6b1700f\",\n \"score\": \"0.4382746\",\n \"text\": \"public Bulp(int maxLuminescenceValue) {\\r\\n maxLuminescence = maxLuminescenceValue;\\r\\n currentLuminescence = 0;\\r\\n name = \\\"bulb\\\" + new String((new Integer(maxLuminescence)).toString());\\r\\n System.out.println(\\\"A bulb \\\" + name + \\\" with max luminescence of \\\" + maxLuminescence + \\\" created.\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0f47600207f1d155fd74abadeb4ca42\",\n \"score\": \"0.43718323\",\n \"text\": \"public ArrayBasedBag() {\\n // Call the 1-parameter constructor from this class\\n this(DEFAULT_CAPACITY);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c1d54f481b17eb36212ddffbe399663\",\n \"score\": \"0.4369703\",\n \"text\": \"public Builder clearIntvFilter() {\\n if (intvFilterBuilder_ == null) {\\n intvFilter_ = java.util.Collections.emptyList();\\n bitField0_ = (bitField0_ & ~0x00000400);\\n onChanged();\\n } else {\\n intvFilterBuilder_.clear();\\n }\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d63f7567be9946700203955ae2f71a58\",\n \"score\": \"0.4362856\",\n \"text\": \"public Continuous()\\n {\\n this(-Double.MAX_VALUE,Double.MAX_VALUE,false,false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b17bf8d9d250e30d006862d9e765ec9e\",\n \"score\": \"0.43591848\",\n \"text\": \"public Discrete()\\n {\\n this(Integer.MIN_VALUE,Integer.MAX_VALUE,false,false,false,false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cf8c4a63aecf5f54a7abb96e06b87d6\",\n \"score\": \"0.43577576\",\n \"text\": \"public ArrayBitByBit(int max) // constructor\\n {\\n theArray = new long[max]; // create the array\\n nElems = 0; // no items yet\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2204f54eac47c644c1461aa35d89c38\",\n \"score\": \"0.43571788\",\n \"text\": \"@Override\\n public RequestLimiter build() {\\n RequestLimiterBuilder rpsHardLimiterBuilder = RequestLimiterBuilder.newRpsLimiterBuilder()\\n .statsLogger(limiterStatLogger.scope(\\\"rps_hard_limit\\\"))\\n .limit(dynConf.getRpsHardWriteLimit())\\n .overlimit(new OverlimitFunction() {\\n @Override\\n public void apply(StreamOp op) throws OverCapacityException {\\n throw new OverCapacityException(\\\"RPS limit exceeded for stream \\\" + streamName);\\n }\\n });\\n RequestLimiterBuilder rpsSoftLimiterBuilder = RequestLimiterBuilder.newRpsLimiterBuilder()\\n .statsLogger(limiterStatLogger.scope(\\\"rps_soft_limit\\\"))\\n .limit(dynConf.getRpsSoftWriteLimit());\\n\\n // BPS hard, soft limits\\n RequestLimiterBuilder bpsHardLimiterBuilder = RequestLimiterBuilder.newBpsLimiterBuilder()\\n .statsLogger(limiterStatLogger.scope(\\\"bps_hard_limit\\\"))\\n .limit(dynConf.getBpsHardWriteLimit())\\n .overlimit(new OverlimitFunction() {\\n @Override\\n public void apply(StreamOp op) throws OverCapacityException {\\n throw new OverCapacityException(\\\"BPS limit exceeded for stream \\\" + streamName);\\n }\\n });\\n RequestLimiterBuilder bpsSoftLimiterBuilder = RequestLimiterBuilder.newBpsLimiterBuilder()\\n .statsLogger(limiterStatLogger.scope(\\\"bps_soft_limit\\\"))\\n .limit(dynConf.getBpsSoftWriteLimit());\\n\\n ChainedRequestLimiter.Builder builder = new ChainedRequestLimiter.Builder();\\n builder.addLimiter(rpsSoftLimiterBuilder.build());\\n builder.addLimiter(rpsHardLimiterBuilder.build());\\n builder.addLimiter(bpsSoftLimiterBuilder.build());\\n builder.addLimiter(bpsHardLimiterBuilder.build());\\n builder.statsLogger(limiterStatLogger);\\n return builder.build();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":889,"cells":{"query_id":{"kind":"string","value":"b113bb425e5642a1f5d2632e94043447"},"query":{"kind":"string","value":"Initializes the object. This is a method declared in javassist.Translator."},"positive_passages":{"kind":"list like","value":[{"docid":"771dc943ca2430bc83c7c45ad4210df3","score":"0.0","text":"public void start(ClassPool pool) throws NotFoundException {\n classPool = pool;\n CtClass c = pool.get(sampleClass);\n forwardMethod = c.getDeclaredMethod(\"forward\");\n forwardStaticMethod = c.getDeclaredMethod(\"forwardStatic\");\n\n proxyConstructorParamTypes\n = pool.get(new String[] { \"javassist.tools.rmi.ObjectImporter\",\n \"int\" });\n interfacesForProxy\n = pool.get(new String[] { \"java.io.Serializable\",\n \"javassist.tools.rmi.Proxy\" });\n exceptionForProxy\n = new CtClass[] { pool.get(\"javassist.tools.rmi.RemoteException\") };\n }","title":""}],"string":"[\n {\n \"docid\": \"771dc943ca2430bc83c7c45ad4210df3\",\n \"score\": \"0.0\",\n \"text\": \"public void start(ClassPool pool) throws NotFoundException {\\n classPool = pool;\\n CtClass c = pool.get(sampleClass);\\n forwardMethod = c.getDeclaredMethod(\\\"forward\\\");\\n forwardStaticMethod = c.getDeclaredMethod(\\\"forwardStatic\\\");\\n\\n proxyConstructorParamTypes\\n = pool.get(new String[] { \\\"javassist.tools.rmi.ObjectImporter\\\",\\n \\\"int\\\" });\\n interfacesForProxy\\n = pool.get(new String[] { \\\"java.io.Serializable\\\",\\n \\\"javassist.tools.rmi.Proxy\\\" });\\n exceptionForProxy\\n = new CtClass[] { pool.get(\\\"javassist.tools.rmi.RemoteException\\\") };\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"882e4134c9d8f60572e2052977cf132e","score":"0.7376834","text":"public void init() {\r\n }","title":""},{"docid":"5961936750e422c4cd8f3e95229a3e2a","score":"0.73474556","text":"public void init() { }","title":""},{"docid":"ec1364f5596c5ceac1be2aca06546db3","score":"0.73380524","text":"public void init() {\n\t\t\t\n\t\t}","title":""},{"docid":"8eba516e4a5c601beee9691aa679ec0e","score":"0.7285585","text":"public void init() {\n }","title":""},{"docid":"85b70c1075ad53dc721f21ffe41ae78c","score":"0.72801375","text":"public void init() { \r\n\t}","title":""},{"docid":"b7e696d3072f95e58c1b860b7b615c70","score":"0.7262597","text":"protected void init() { }","title":""},{"docid":"f1be3defd1b6e608b8995eb6221bb211","score":"0.7256143","text":"public void init() {\n\t\t\n\t}","title":""},{"docid":"f1be3defd1b6e608b8995eb6221bb211","score":"0.7256143","text":"public void init() {\n\t\t\n\t}","title":""},{"docid":"f1be3defd1b6e608b8995eb6221bb211","score":"0.7256143","text":"public void init() {\n\t\t\n\t}","title":""},{"docid":"f1be3defd1b6e608b8995eb6221bb211","score":"0.7256143","text":"public void init() {\n\t\t\n\t}","title":""},{"docid":"229a70d481924829deec962d4aa9542c","score":"0.7247818","text":"public void init() {}","title":""},{"docid":"229a70d481924829deec962d4aa9542c","score":"0.7247818","text":"public void init() {}","title":""},{"docid":"229a70d481924829deec962d4aa9542c","score":"0.7247818","text":"public void init() {}","title":""},{"docid":"5d1cb708b3c10ba3e64caaaf3a68577a","score":"0.72250295","text":"private void init() {\n }","title":""},{"docid":"5d1cb708b3c10ba3e64caaaf3a68577a","score":"0.72250295","text":"private void init() {\n }","title":""},{"docid":"5d1cb708b3c10ba3e64caaaf3a68577a","score":"0.72250295","text":"private void init() {\n }","title":""},{"docid":"5d1cb708b3c10ba3e64caaaf3a68577a","score":"0.72250295","text":"private void init() {\n }","title":""},{"docid":"5d1cb708b3c10ba3e64caaaf3a68577a","score":"0.72250295","text":"private void init() {\n }","title":""},{"docid":"5d1cb708b3c10ba3e64caaaf3a68577a","score":"0.72250295","text":"private void init() {\n }","title":""},{"docid":"cd779aacc91809113f74aef470842acb","score":"0.721167","text":"protected void init() {}","title":""},{"docid":"7b2ed9aa1a6f17d265f092b245f8c4c3","score":"0.720356","text":"public void init() {\n\t}","title":""},{"docid":"7b2ed9aa1a6f17d265f092b245f8c4c3","score":"0.720356","text":"public void init() {\n\t}","title":""},{"docid":"7b2ed9aa1a6f17d265f092b245f8c4c3","score":"0.720356","text":"public void init() {\n\t}","title":""},{"docid":"b5f98df2a78f6e56684a9c86b47f0177","score":"0.71920645","text":"private void init()\n {\n }","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.7190775","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"ee990933b050e8948a61e0ff05746025","score":"0.718952","text":"public void init()\n {\n }","title":""},{"docid":"ee990933b050e8948a61e0ff05746025","score":"0.718952","text":"public void init()\n {\n }","title":""},{"docid":"ee990933b050e8948a61e0ff05746025","score":"0.718952","text":"public void init()\n {\n }","title":""},{"docid":"95be4fdee6d995b424f0a4e840e2c875","score":"0.71732765","text":"@Override\r\n\tpublic void init()\r\n\t{\r\n\t}","title":""},{"docid":"9aace6abe1929ddb11697d6fcd2fa69c","score":"0.7128375","text":"@Override\r\n public void init() {\n }","title":""},{"docid":"8bd324684c93dd6749e133e246743e1d","score":"0.7111825","text":"@Override\r\n\tpublic void init()\r\n\t{\n\r\n\t}","title":""},{"docid":"b8a933b513450a6a7874821e414066eb","score":"0.70990646","text":"private void init() {\n\t}","title":""},{"docid":"08c6d62200e5eee4b99e7fe5a43b2598","score":"0.7094774","text":"@Override\n public void init() {\n }","title":""},{"docid":"e3703eb2c6cc86259185fe8219e31285","score":"0.7091879","text":"public void init() {\n\n }","title":""},{"docid":"af85e0355d9e4b6d2816928d3c4dadb7","score":"0.7082734","text":"private void init() {\n\n }","title":""},{"docid":"ece7b93e929b0e9f097d3e22b45185f3","score":"0.7082551","text":"void init() {\n\t\t\r\n\t}","title":""},{"docid":"aa75d86997e0fff38cfa94690332bad9","score":"0.70824033","text":"public void init(){\n\t\t\n\t}","title":""},{"docid":"aa75d86997e0fff38cfa94690332bad9","score":"0.70824033","text":"public void init(){\n\t\t\n\t}","title":""},{"docid":"f8978d93b84e5118882a4ff5e000e716","score":"0.7079293","text":"private void init() {\n\t\t\n\t}","title":""},{"docid":"454e48aebeafed7eb849e528254ea857","score":"0.7076682","text":"@Override\r\n\tpublic void initObject() {\n\t\t\r\n\t}","title":""},{"docid":"37034bdc752aa207a24759e0bb57cd7d","score":"0.7050096","text":"public void init()\n\t{\n\t\tsuper.init();\n\n\t\tM_log.info(\"init()\");\n\t}","title":""},{"docid":"f00b81d6357998a4dcfacd35be1346f2","score":"0.70439273","text":"public void init(){\n\n }","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.7038008","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.7034747","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.7034747","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.7034747","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.7034747","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.7034747","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"62020c21199fdbaf0b47453874f310f1","score":"0.70186025","text":"@Override\n\tpublic void init()\n\t{\n\t\t\n\t}","title":""},{"docid":"62020c21199fdbaf0b47453874f310f1","score":"0.70186025","text":"@Override\n\tpublic void init()\n\t{\n\t\t\n\t}","title":""},{"docid":"cea0c16d28e76a4d422054cbb9485079","score":"0.70151067","text":"public void init()\n\t{\n\t\tsuper.init();\n\t\tM_log.info(\"init()\");\n\t}","title":""},{"docid":"3c398f4215785505c4019c32b243a599","score":"0.70140105","text":"public static void init() {\n }","title":""},{"docid":"660f591cf6b6ae4eaefa4de8f9abf33f","score":"0.70120287","text":"public void init() {\n\n\n }","title":""},{"docid":"7dadb1a7e45c020b2193294044375a9d","score":"0.7010759","text":"@Override\r\n \tpublic void init() {\n \t\t\r\n \t}","title":""},{"docid":"2cf71c7a156da1dfe31295752aef3fb8","score":"0.70095336","text":"@Override\n\tpublic void init() {\n\t}","title":""},{"docid":"2cf71c7a156da1dfe31295752aef3fb8","score":"0.70095336","text":"@Override\n\tpublic void init() {\n\t}","title":""},{"docid":"5625c1d2d351b5fe26350020f8e57260","score":"0.70025766","text":"void init()\r\n\t{\r\n\t}","title":""},{"docid":"a6c2db17f79f35f8fc3b8e99eee9ab48","score":"0.6994309","text":"@Override\r\n\tprotected void init() {\n\t\t\r\n\t}","title":""},{"docid":"748a0cd346ace97e8650640546927586","score":"0.6991381","text":"protected void init() {\n\t}","title":""},{"docid":"748a0cd346ace97e8650640546927586","score":"0.6991381","text":"protected void init() {\n\t}","title":""},{"docid":"d5df12c7fc56f53e0c3ce4a4c21583e1","score":"0.69829834","text":"private void init() {\n\r\n\t}","title":""},{"docid":"d1236089c8974701d0acd37b2cad6d5b","score":"0.694738","text":"@Override\n\tpublic void init(){\n\t\t\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.6944361","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.6944361","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.6944361","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.6944361","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.6944361","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"c54df76b32c9ed90efddc6fd149a38c7","score":"0.6929253","text":"@Override\n protected void init() {\n }","title":""},{"docid":"3ee2cced5db7360a6674cb2754198711","score":"0.69269013","text":"public static void init() { }","title":""},{"docid":"647b3d3a624de36109e8878d3527c73a","score":"0.69121635","text":"public static void init() {\n\t}","title":""},{"docid":"5039a5e0517d7ccdaa395488a6db65bc","score":"0.6909708","text":"protected void initialize() {\n \t\n }","title":""},{"docid":"5039a5e0517d7ccdaa395488a6db65bc","score":"0.6909708","text":"protected void initialize() {\n \t\n }","title":""},{"docid":"6048b899be4aa5c1e59cd788fe95888b","score":"0.6909135","text":"public static final void init() {\n\t}","title":""},{"docid":"1ff51aa998af283884395769cfe4f5b2","score":"0.6898726","text":"protected void initialize() \n {\n \t\n }","title":""},{"docid":"d6fc8d914a3a50bdc2a54f4114e2fd26","score":"0.6898711","text":"@Override\n\tpublic void init() {\n\t\tsuper.init();\n\t}","title":""},{"docid":"0e69410f7365f8e3379273ee4419fb49","score":"0.68967646","text":"@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}","title":""},{"docid":"4793b3f06be638b7034b8e3eba968ec6","score":"0.6871927","text":"void init() {\n }","title":""},{"docid":"45c86e30ed1b20294fd17b14e9d4975e","score":"0.68711704","text":"@Override\r\n\tprotected void init() {\n\t\tsuper.init();\r\n\t}","title":""},{"docid":"ab499170bffb402933a50d63a97e69dd","score":"0.68695587","text":"@Override\r\n\tprotected void init() {\n\t}","title":""},{"docid":"9d5f2bf1b3e98ad28e915163671e4689","score":"0.68661934","text":"public void init() {... }","title":""},{"docid":"259e9844ca303fe30f38418187fbc868","score":"0.6857203","text":"public void initialize() {\r\n super.initialize();\r\n }","title":""},{"docid":"4720bfdf4a23f15d17f6cb5463f6ae09","score":"0.68349975","text":"public void initialize() { }","title":""},{"docid":"34b879275f807604307186be7ae549a3","score":"0.68253684","text":"public static final void init() {\n }","title":""},{"docid":"9cee6e60fac7ba9a00b37f73cd934aa1","score":"0.681154","text":"public void initialize() {\n\t\t\n\t}","title":""},{"docid":"b143d0f78c645d849408ad7bd54e8e4c","score":"0.6809829","text":"public void initialize() {\n }","title":""},{"docid":"cbef866e9c19db54b39ff5329003cc79","score":"0.67998827","text":"private void initialize() {\n\t\t\n\t\t\n\n\t\t\n\t}","title":""},{"docid":"7a746a1c67298b2e74e373fda044da38","score":"0.67974114","text":"@Override\n public void init() {\n super.init();\n }","title":""}],"string":"[\n {\n \"docid\": \"882e4134c9d8f60572e2052977cf132e\",\n \"score\": \"0.7376834\",\n \"text\": \"public void init() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5961936750e422c4cd8f3e95229a3e2a\",\n \"score\": \"0.73474556\",\n \"text\": \"public void init() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec1364f5596c5ceac1be2aca06546db3\",\n \"score\": \"0.73380524\",\n \"text\": \"public void init() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8eba516e4a5c601beee9691aa679ec0e\",\n \"score\": \"0.7285585\",\n \"text\": \"public void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85b70c1075ad53dc721f21ffe41ae78c\",\n \"score\": \"0.72801375\",\n \"text\": \"public void init() { \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7e696d3072f95e58c1b860b7b615c70\",\n \"score\": \"0.7262597\",\n \"text\": \"protected void init() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1be3defd1b6e608b8995eb6221bb211\",\n \"score\": \"0.7256143\",\n \"text\": \"public void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1be3defd1b6e608b8995eb6221bb211\",\n \"score\": \"0.7256143\",\n \"text\": \"public void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1be3defd1b6e608b8995eb6221bb211\",\n \"score\": \"0.7256143\",\n \"text\": \"public void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1be3defd1b6e608b8995eb6221bb211\",\n \"score\": \"0.7256143\",\n \"text\": \"public void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"229a70d481924829deec962d4aa9542c\",\n \"score\": \"0.7247818\",\n \"text\": \"public void init() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"229a70d481924829deec962d4aa9542c\",\n \"score\": \"0.7247818\",\n \"text\": \"public void init() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"229a70d481924829deec962d4aa9542c\",\n \"score\": \"0.7247818\",\n \"text\": \"public void init() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1cb708b3c10ba3e64caaaf3a68577a\",\n \"score\": \"0.72250295\",\n \"text\": \"private void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1cb708b3c10ba3e64caaaf3a68577a\",\n \"score\": \"0.72250295\",\n \"text\": \"private void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1cb708b3c10ba3e64caaaf3a68577a\",\n \"score\": \"0.72250295\",\n \"text\": \"private void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1cb708b3c10ba3e64caaaf3a68577a\",\n \"score\": \"0.72250295\",\n \"text\": \"private void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1cb708b3c10ba3e64caaaf3a68577a\",\n \"score\": \"0.72250295\",\n \"text\": \"private void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1cb708b3c10ba3e64caaaf3a68577a\",\n \"score\": \"0.72250295\",\n \"text\": \"private void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd779aacc91809113f74aef470842acb\",\n \"score\": \"0.721167\",\n \"text\": \"protected void init() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b2ed9aa1a6f17d265f092b245f8c4c3\",\n \"score\": \"0.720356\",\n \"text\": \"public void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b2ed9aa1a6f17d265f092b245f8c4c3\",\n \"score\": \"0.720356\",\n \"text\": \"public void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b2ed9aa1a6f17d265f092b245f8c4c3\",\n \"score\": \"0.720356\",\n \"text\": \"public void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5f98df2a78f6e56684a9c86b47f0177\",\n \"score\": \"0.71920645\",\n \"text\": \"private void init()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.7190775\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee990933b050e8948a61e0ff05746025\",\n \"score\": \"0.718952\",\n \"text\": \"public void init()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee990933b050e8948a61e0ff05746025\",\n \"score\": \"0.718952\",\n \"text\": \"public void init()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee990933b050e8948a61e0ff05746025\",\n \"score\": \"0.718952\",\n \"text\": \"public void init()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95be4fdee6d995b424f0a4e840e2c875\",\n \"score\": \"0.71732765\",\n \"text\": \"@Override\\r\\n\\tpublic void init()\\r\\n\\t{\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9aace6abe1929ddb11697d6fcd2fa69c\",\n \"score\": \"0.7128375\",\n \"text\": \"@Override\\r\\n public void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bd324684c93dd6749e133e246743e1d\",\n \"score\": \"0.7111825\",\n \"text\": \"@Override\\r\\n\\tpublic void init()\\r\\n\\t{\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8a933b513450a6a7874821e414066eb\",\n \"score\": \"0.70990646\",\n \"text\": \"private void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08c6d62200e5eee4b99e7fe5a43b2598\",\n \"score\": \"0.7094774\",\n \"text\": \"@Override\\n public void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3703eb2c6cc86259185fe8219e31285\",\n \"score\": \"0.7091879\",\n \"text\": \"public void init() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af85e0355d9e4b6d2816928d3c4dadb7\",\n \"score\": \"0.7082734\",\n \"text\": \"private void init() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ece7b93e929b0e9f097d3e22b45185f3\",\n \"score\": \"0.7082551\",\n \"text\": \"void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa75d86997e0fff38cfa94690332bad9\",\n \"score\": \"0.70824033\",\n \"text\": \"public void init(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa75d86997e0fff38cfa94690332bad9\",\n \"score\": \"0.70824033\",\n \"text\": \"public void init(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8978d93b84e5118882a4ff5e000e716\",\n \"score\": \"0.7079293\",\n \"text\": \"private void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"454e48aebeafed7eb849e528254ea857\",\n \"score\": \"0.7076682\",\n \"text\": \"@Override\\r\\n\\tpublic void initObject() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37034bdc752aa207a24759e0bb57cd7d\",\n \"score\": \"0.7050096\",\n \"text\": \"public void init()\\n\\t{\\n\\t\\tsuper.init();\\n\\n\\t\\tM_log.info(\\\"init()\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f00b81d6357998a4dcfacd35be1346f2\",\n \"score\": \"0.70439273\",\n \"text\": \"public void init(){\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.7038008\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.7034747\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.7034747\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.7034747\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.7034747\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.7034747\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62020c21199fdbaf0b47453874f310f1\",\n \"score\": \"0.70186025\",\n \"text\": \"@Override\\n\\tpublic void init()\\n\\t{\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62020c21199fdbaf0b47453874f310f1\",\n \"score\": \"0.70186025\",\n \"text\": \"@Override\\n\\tpublic void init()\\n\\t{\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cea0c16d28e76a4d422054cbb9485079\",\n \"score\": \"0.70151067\",\n \"text\": \"public void init()\\n\\t{\\n\\t\\tsuper.init();\\n\\t\\tM_log.info(\\\"init()\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c398f4215785505c4019c32b243a599\",\n \"score\": \"0.70140105\",\n \"text\": \"public static void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"660f591cf6b6ae4eaefa4de8f9abf33f\",\n \"score\": \"0.70120287\",\n \"text\": \"public void init() {\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dadb1a7e45c020b2193294044375a9d\",\n \"score\": \"0.7010759\",\n \"text\": \"@Override\\r\\n \\tpublic void init() {\\n \\t\\t\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cf71c7a156da1dfe31295752aef3fb8\",\n \"score\": \"0.70095336\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cf71c7a156da1dfe31295752aef3fb8\",\n \"score\": \"0.70095336\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5625c1d2d351b5fe26350020f8e57260\",\n \"score\": \"0.70025766\",\n \"text\": \"void init()\\r\\n\\t{\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c2db17f79f35f8fc3b8e99eee9ab48\",\n \"score\": \"0.6994309\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"748a0cd346ace97e8650640546927586\",\n \"score\": \"0.6991381\",\n \"text\": \"protected void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"748a0cd346ace97e8650640546927586\",\n \"score\": \"0.6991381\",\n \"text\": \"protected void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5df12c7fc56f53e0c3ce4a4c21583e1\",\n \"score\": \"0.69829834\",\n \"text\": \"private void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1236089c8974701d0acd37b2cad6d5b\",\n \"score\": \"0.694738\",\n \"text\": \"@Override\\n\\tpublic void init(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.6944361\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.6944361\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.6944361\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.6944361\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.6944361\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c54df76b32c9ed90efddc6fd149a38c7\",\n \"score\": \"0.6929253\",\n \"text\": \"@Override\\n protected void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ee2cced5db7360a6674cb2754198711\",\n \"score\": \"0.69269013\",\n \"text\": \"public static void init() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"647b3d3a624de36109e8878d3527c73a\",\n \"score\": \"0.69121635\",\n \"text\": \"public static void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5039a5e0517d7ccdaa395488a6db65bc\",\n \"score\": \"0.6909708\",\n \"text\": \"protected void initialize() {\\n \\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5039a5e0517d7ccdaa395488a6db65bc\",\n \"score\": \"0.6909708\",\n \"text\": \"protected void initialize() {\\n \\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6048b899be4aa5c1e59cd788fe95888b\",\n \"score\": \"0.6909135\",\n \"text\": \"public static final void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ff51aa998af283884395769cfe4f5b2\",\n \"score\": \"0.6898726\",\n \"text\": \"protected void initialize() \\n {\\n \\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6fc8d914a3a50bdc2a54f4114e2fd26\",\n \"score\": \"0.6898711\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\tsuper.init();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e69410f7365f8e3379273ee4419fb49\",\n \"score\": \"0.68967646\",\n \"text\": \"@Override\\r\\n\\tprotected void init() \\r\\n\\t{\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4793b3f06be638b7034b8e3eba968ec6\",\n \"score\": \"0.6871927\",\n \"text\": \"void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45c86e30ed1b20294fd17b14e9d4975e\",\n \"score\": \"0.68711704\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t\\tsuper.init();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab499170bffb402933a50d63a97e69dd\",\n \"score\": \"0.68695587\",\n \"text\": \"@Override\\r\\n\\tprotected void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d5f2bf1b3e98ad28e915163671e4689\",\n \"score\": \"0.68661934\",\n \"text\": \"public void init() {... }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"259e9844ca303fe30f38418187fbc868\",\n \"score\": \"0.6857203\",\n \"text\": \"public void initialize() {\\r\\n super.initialize();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4720bfdf4a23f15d17f6cb5463f6ae09\",\n \"score\": \"0.68349975\",\n \"text\": \"public void initialize() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34b879275f807604307186be7ae549a3\",\n \"score\": \"0.68253684\",\n \"text\": \"public static final void init() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9cee6e60fac7ba9a00b37f73cd934aa1\",\n \"score\": \"0.681154\",\n \"text\": \"public void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143d0f78c645d849408ad7bd54e8e4c\",\n \"score\": \"0.6809829\",\n \"text\": \"public void initialize() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbef866e9c19db54b39ff5329003cc79\",\n \"score\": \"0.67998827\",\n \"text\": \"private void initialize() {\\n\\t\\t\\n\\t\\t\\n\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a746a1c67298b2e74e373fda044da38\",\n \"score\": \"0.67974114\",\n \"text\": \"@Override\\n public void init() {\\n super.init();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":890,"cells":{"query_id":{"kind":"string","value":"274e352eed81b81a2cd9d0c409e584d3"},"query":{"kind":"string","value":"Bien dich cau lenh"},"positive_passages":{"kind":"list like","value":[{"docid":"00ab790d755e314862bd12e67d691aac","score":"0.0","text":"public ResultSet get(String sql, String value) {\n\t\ttry {\n\t\t\tPreparedStatement preCet = this.con.prepareStatement(sql);\n\t\t\tif (!value.isEmpty()) {\n\t\t\t\tpreCet.setString(1, value);\n\t\t\t}\n\t\t\treturn preCet.executeQuery();\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t\ttry {\n\t\t\t\tthis.con.rollback();\n\t\t\t} catch (SQLException ex1) {\n\t\t\t\tex1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"00ab790d755e314862bd12e67d691aac\",\n \"score\": \"0.0\",\n \"text\": \"public ResultSet get(String sql, String value) {\\n\\t\\ttry {\\n\\t\\t\\tPreparedStatement preCet = this.con.prepareStatement(sql);\\n\\t\\t\\tif (!value.isEmpty()) {\\n\\t\\t\\t\\tpreCet.setString(1, value);\\n\\t\\t\\t}\\n\\t\\t\\treturn preCet.executeQuery();\\n\\t\\t} catch (SQLException ex) {\\n\\t\\t\\tex.printStackTrace();\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tthis.con.rollback();\\n\\t\\t\\t} catch (SQLException ex1) {\\n\\t\\t\\t\\tex1.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1ab74e9357baf8c11945695ab15c4df3","score":"0.70190245","text":"abstract void je_len_calc();","title":""},{"docid":"b047a2d8dcd04c54bb5062a994c18bc8","score":"0.6856752","text":"int getLen();","title":""},{"docid":"b047a2d8dcd04c54bb5062a994c18bc8","score":"0.6856752","text":"int getLen();","title":""},{"docid":"5d0e5bdf882e972de3538a1cacca96c2","score":"0.6738579","text":"public int length() { return toString().length(); }","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.6696131","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.6696131","text":"int getLength();","title":""},{"docid":"e476071d991289b0d71989dbd9453c16","score":"0.6696131","text":"int getLength();","title":""},{"docid":"5f6a986fa6ce5423ee8b3d99e7dd64a7","score":"0.66775584","text":"public int getLength(){\n return 8+s.length();\n }","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.66383004","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.66383004","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.66383004","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.66383004","text":"public int getLength();","title":""},{"docid":"e191a66674b7cf111bb9ed4a490a2097","score":"0.66383004","text":"public int getLength();","title":""},{"docid":"ff725c206a12a623a302bec2d14367d4","score":"0.66054654","text":"long getLength();","title":""},{"docid":"ff725c206a12a623a302bec2d14367d4","score":"0.66054654","text":"long getLength();","title":""},{"docid":"9b1671b24eadc701f665f7f168f24e49","score":"0.6594239","text":"public int len();","title":""},{"docid":"b25a9b819ac3ca17c3560df0b883fc34","score":"0.6551207","text":"@Override\r\n\tpublic int length() {\n\t\treturn super.length();\r\n\t}","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.65163434","text":"public int length();","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.65163434","text":"public int length();","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.65163434","text":"public int length();","title":""},{"docid":"3dad475358b268ec262a2ba49d03047c","score":"0.65163434","text":"public int length();","title":""},{"docid":"0ed753efc1e69765f143658177d6285e","score":"0.649057","text":"private int getLenghtForCaptionHeader(int chars){\n //return chars * 8 - chars;\n Integer integer = new Integer(chars);\n Double qsrt = new Double(Math.sqrt(integer.doubleValue()));\n return chars * 7 - ((chars / 2) - 3 * qsrt.intValue());\n }","title":""},{"docid":"5aeb02d97ab8a6204760f76fb701e183","score":"0.64768434","text":"long length();","title":""},{"docid":"51b991fddde0dbdfedf782328be78034","score":"0.64517933","text":"abstract public int length();","title":""},{"docid":"4c1388f328c9063a1bb4485b941360aa","score":"0.64460385","text":"public int getLength() {\n return 0;\n }","title":""},{"docid":"34545df969fb4363b027733743ee708f","score":"0.6416469","text":"public int getLength() {\n return 0;\n }","title":""},{"docid":"7b01a7c49943cebba0d18204584af804","score":"0.6415048","text":"short getLength();","title":""},{"docid":"de8c37fa81d5c207da5a0ff2f6f813d1","score":"0.64124966","text":"public int length ();","title":""},{"docid":"9c5da42492bdbb194fa00d53d8811856","score":"0.64073473","text":"private int getLenghtForCaption(int chars) {\n /*if(chars == 2 ) {\n return chars * 7;\n }\n Integer integer = new Integer(chars);\n Double qsrt = new Double(Math.sqrt(integer.doubleValue()));\n return chars * 8 - ((chars / 2) - 3 * qsrt.intValue());*/\n\n return chars * 8;\n }","title":""},{"docid":"a8e0997257d343c162f965f912617d95","score":"0.63928896","text":"public abstract int getLength();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"59759e9c62fa8e38446da54715000f48","score":"0.639133","text":"int length();","title":""},{"docid":"d92e07c22bcaeccb7567f98c3bd92979","score":"0.6353416","text":"public int getLength() { return this.length; }","title":""},{"docid":"cce8d8f2e56b6fdd7eaaa13c106f4615","score":"0.6351815","text":"public final int length() {return length;}","title":""},{"docid":"6691c116c3b8f8d65c83131934e11e01","score":"0.63384295","text":"public int nbOfChars() {\r\n\t return this.value.length();\r\n }","title":""},{"docid":"0094fb02659155ba13beacc3b424f7b9","score":"0.6334986","text":"public short length() {\n return (coh == null) ? 0: coh.length;\n }","title":""},{"docid":"41e8f6049b30934f42b01171d8249d58","score":"0.6324404","text":"@Override\r\n\tpublic int length() {\r\n\t\treturn 1;\r\n\t}","title":""},{"docid":"868ce0b179ea833ba5aef579c86bfa88","score":"0.63221633","text":"public int length() {\r\n\treturn value.length();\r\n }","title":""},{"docid":"6664e278574378ad1b73d5efeb6bd4f2","score":"0.6321763","text":"public long length() {\r\n return 2 + 2;\r\n }","title":""},{"docid":"db40c7a76d75b3362967b553dbe771e3","score":"0.6313741","text":"public Integer getLength();","title":""},{"docid":"7160b503e5da0f55c1b000544885a6ed","score":"0.62897426","text":"int getUtfLength();","title":""},{"docid":"7a6ebd1cd8b25e140ac22803ae2f64e8","score":"0.6282801","text":"int size() {\n return alphabet.length();\n }","title":""},{"docid":"f41f83093f4a527b2a3a659cf67fca0f","score":"0.627844","text":"public int getLength() { return length; }","title":""},{"docid":"f41f83093f4a527b2a3a659cf67fca0f","score":"0.627844","text":"public int getLength() { return length; }","title":""},{"docid":"1f8dd0a5f3a61121081ad8b6d8392b56","score":"0.6274141","text":"@Override\n public int length() {\n return back.length();\n }","title":""},{"docid":"68616217aaa5b3de504bacc64773c43a","score":"0.62730163","text":"@Override\n\t\t\t\t\t\tpublic int getLength() {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}","title":""},{"docid":"e485eca9f120e76ef68f6a6b17b17905","score":"0.6272099","text":"public abstract int getFixedLength();","title":""},{"docid":"02c19318ff9cd06c33f016a41cb089e6","score":"0.62718","text":"public int getLength(){\n return localLength;\n }","title":""},{"docid":"02c19318ff9cd06c33f016a41cb089e6","score":"0.62718","text":"public int getLength(){\n return localLength;\n }","title":""},{"docid":"07798364665d151473ff47884c483815","score":"0.62704605","text":"@Override\n\tpublic int getMaxLenth() {\n\t\treturn 11;\n\t}","title":""},{"docid":"cbf31999609e5f2bdac7ab1a7ddb64af","score":"0.62616056","text":"boolean hasLen();","title":""},{"docid":"b9d7251ee2431d07c28ed09425021e8a","score":"0.62403","text":"long length ();","title":""},{"docid":"b3a1cf48653ce25e3f67ded33dccd081","score":"0.62394154","text":"public void validLength() {\n\t}","title":""},{"docid":"653a7713bbeccef8d04d9dfe3945308f","score":"0.6233536","text":"public int getTotalLength();","title":""},{"docid":"129bfcfb24b20297d5003017a76355c3","score":"0.6213134","text":"public abstract long getLength();","title":""},{"docid":"ba015285fcde465aba9eec6d72a7c508","score":"0.61872214","text":"public abstract int getTextLength();","title":""},{"docid":"2e0f0e664d58f2c7f4aa2b456b5d622f","score":"0.6181469","text":"@Override\n public int length() {\n return length;\n }","title":""},{"docid":"8b30ac186645446e7ce6cd3bbae76665","score":"0.6179235","text":"public int getLength()\r\n {\r\n return length;\r\n }","title":""},{"docid":"2fff1dee4025a403fa71f009eded524d","score":"0.6160308","text":"public int length() { return sb.length(); }","title":""},{"docid":"5fa1179c69e895a465c9acba13dfe82c","score":"0.6151246","text":"int size() {\n return alphabet().size();\n }","title":""},{"docid":"c78dba0bf1cd73b4753614d8b6239a1b","score":"0.6149414","text":"public int getLength(){\n\t\treturn length;\n\t}","title":""},{"docid":"f23616e5eaa654e27384d28ce2272ae6","score":"0.6135971","text":"@Override\n\t\tprotected int toLength(int level) {\n\t\t\treturn 0;\n\t\t}","title":""},{"docid":"edaea9f4c842e19b3cc181fe11eda048","score":"0.6113911","text":"public int length() {\n return -1;\n }","title":""},{"docid":"9918f5cfdeb6275cd66209492e5411c9","score":"0.6108507","text":"public final int getLength() {\n/* 379 */ return this._length;\n/* */ }","title":""},{"docid":"128f456a84087a93ff27314ba9dba799","score":"0.6103029","text":"public int getLength() {\n return length;\n }","title":""},{"docid":"7e8433a3bc4ad7c6b51cbf4b4803cb41","score":"0.6099276","text":"private int length() {\n\t\treturn f.length();\n\t}","title":""},{"docid":"c00a6cbb64883e8481912db36c56c6f9","score":"0.6098305","text":"public String getLength(){\n\t\treturn length;\n\t}","title":""},{"docid":"96ff5a6a75add1b42e411ab584900031","score":"0.6097638","text":"public int getLength() {\n return this.length;\n }","title":""},{"docid":"2d100b138d72059fd9aea9dda7f5fc0f","score":"0.60953677","text":"public int length() {\n return 0;\n }","title":""},{"docid":"b8284d244a8a0c0d0486e30877d5265f","score":"0.609038","text":"@Override\n\tpublic int getLength() {\n\t\treturn 0;\n\t}","title":""},{"docid":"e0961587d8ac8a3b868c8d6987bea352","score":"0.60749567","text":"public int getLength() {\r\n return this.length;\r\n }","title":""},{"docid":"e0961587d8ac8a3b868c8d6987bea352","score":"0.60749567","text":"public int getLength() {\r\n return this.length;\r\n }","title":""},{"docid":"e0961587d8ac8a3b868c8d6987bea352","score":"0.60749567","text":"public int getLength() {\r\n return this.length;\r\n }","title":""},{"docid":"d0ab567704e46dda57fab27105eceeb6","score":"0.6071469","text":"public abstract int length() throws BadKind;","title":""},{"docid":"b73119f94f70d4382ae0235003df4b04","score":"0.6066769","text":"@Override\n public int getLength() {\n return fLength;\n }","title":""},{"docid":"04d4e6da8390148e1f6bc2a2422a83f7","score":"0.60566366","text":"public int GetLength() {\r\n\t\treturn length;\r\n\t}","title":""},{"docid":"ede0dff836440788dc37ba24690ed3e9","score":"0.6054797","text":"@Override\n\tint getLength() {\n\t\treturn 3;\n\t}","title":""},{"docid":"82b28024922d967649f0ed6caced4a18","score":"0.60342467","text":"public int getLength()\n\t{\n\t\treturn this.length;\n\t}","title":""},{"docid":"7b240b0f9208f166038e36da8fbf892e","score":"0.60331225","text":"@Override\n public int length() {\n return 5;\n }","title":""},{"docid":"a31a49754dcc3b4e2ff0ac764456a7c8","score":"0.60293186","text":"public static void getMaxLen() {\n //максимальная длина слова в массиве \n Scanner scanner = new Scanner(System.in);\n //определение размерности массива\n System.out.println(\"Введите размерность массива\");\n int i1 = scanner.nextInt();\n String[] words = new String[i1];\n //заполнение массива\n for (int i = 0; i < words.length; i++) {\n System.out.println(\"Введите \" + (i+1) + \"-ый элемент массива\");\n words[i] = scanner.next();\n }\n //задание переменной 'номер элемента с максимальной длиной'\n int maxLenNum = 0;\n //поиск элемента с максимальной длиной: считаем, что если длины равны - берем элемент с большим номером\n for (int i = 0; i < i1; i++) {\n if ((words[i].length())>=(words[maxLenNum].length())) {\n maxLenNum = i;\n }\n }\n System.out.printf(\"Максимальная длина у %d элемента массива равна %d. Самое длинное слово: %s\", (maxLenNum+1),words[maxLenNum].length(),words[maxLenNum]);\n scanner.close();\n }","title":""},{"docid":"25f419cc2c40159baa7f01c025029a65","score":"0.60273015","text":"@Override\n\tpublic long getSaysLength() {\n\t\treturn 0;\n\t}","title":""},{"docid":"856cf0f020a8c80f6d63577b74f74a29","score":"0.60198","text":"double getLength();","title":""},{"docid":"9b4e1de1c40ed225dc3a2e2ce740cb6e","score":"0.6018184","text":"public int NombreTortue(Byte[] jeu){\r\n\t\tint nb=0;\r\n\t\tfor(int i=0; i<37; i++){\r\n\t\t\tif(jeu[i] != 0){\r\n\t\t\t\tnb++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn nb;\r\n\t}","title":""},{"docid":"014f5b23ab08d98c37dfe4d3d372ac4d","score":"0.6015006","text":"public int getLength() {\n return length;\n }","title":""},{"docid":"014f5b23ab08d98c37dfe4d3d372ac4d","score":"0.6015006","text":"public int getLength() {\n return length;\n }","title":""},{"docid":"014f5b23ab08d98c37dfe4d3d372ac4d","score":"0.6015006","text":"public int getLength() {\n return length;\n }","title":""},{"docid":"8abf15921060b28d2475f80a2abf4a73","score":"0.60128","text":"public int getLength()\n{\n\treturn _length;\n}","title":""},{"docid":"888fd23702ee04f65366c0f580b156b1","score":"0.601095","text":"public int getClen() {\r\n return clen;\r\n }","title":""},{"docid":"97c1f73983f9eff68e1da46beb5994de","score":"0.6009904","text":"boolean getIsVlen();","title":""},{"docid":"97c1f73983f9eff68e1da46beb5994de","score":"0.6009904","text":"boolean getIsVlen();","title":""},{"docid":"97c1f73983f9eff68e1da46beb5994de","score":"0.6009635","text":"boolean getIsVlen();","title":""},{"docid":"97c1f73983f9eff68e1da46beb5994de","score":"0.6009635","text":"boolean getIsVlen();","title":""},{"docid":"5b6ba2e075d70e44d38cdd14e00f7d8a","score":"0.59977555","text":"public int getLength() {\r\n\t\treturn size() ;\r\n\t}","title":""},{"docid":"4b826b36f67afdd74e51cc862b5c49b8","score":"0.59914577","text":"int getUmchpCount();","title":""},{"docid":"871ef024ded34fcfe2d008a7fb6133ac","score":"0.5973942","text":"@Override\n public int getLength() {\n return 0;\n }","title":""}],"string":"[\n {\n \"docid\": \"1ab74e9357baf8c11945695ab15c4df3\",\n \"score\": \"0.70190245\",\n \"text\": \"abstract void je_len_calc();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b047a2d8dcd04c54bb5062a994c18bc8\",\n \"score\": \"0.6856752\",\n \"text\": \"int getLen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b047a2d8dcd04c54bb5062a994c18bc8\",\n \"score\": \"0.6856752\",\n \"text\": \"int getLen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d0e5bdf882e972de3538a1cacca96c2\",\n \"score\": \"0.6738579\",\n \"text\": \"public int length() { return toString().length(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.6696131\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.6696131\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e476071d991289b0d71989dbd9453c16\",\n \"score\": \"0.6696131\",\n \"text\": \"int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f6a986fa6ce5423ee8b3d99e7dd64a7\",\n \"score\": \"0.66775584\",\n \"text\": \"public int getLength(){\\n return 8+s.length();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.66383004\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.66383004\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.66383004\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.66383004\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e191a66674b7cf111bb9ed4a490a2097\",\n \"score\": \"0.66383004\",\n \"text\": \"public int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff725c206a12a623a302bec2d14367d4\",\n \"score\": \"0.66054654\",\n \"text\": \"long getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff725c206a12a623a302bec2d14367d4\",\n \"score\": \"0.66054654\",\n \"text\": \"long getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b1671b24eadc701f665f7f168f24e49\",\n \"score\": \"0.6594239\",\n \"text\": \"public int len();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b25a9b819ac3ca17c3560df0b883fc34\",\n \"score\": \"0.6551207\",\n \"text\": \"@Override\\r\\n\\tpublic int length() {\\n\\t\\treturn super.length();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.65163434\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.65163434\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.65163434\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3dad475358b268ec262a2ba49d03047c\",\n \"score\": \"0.65163434\",\n \"text\": \"public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ed753efc1e69765f143658177d6285e\",\n \"score\": \"0.649057\",\n \"text\": \"private int getLenghtForCaptionHeader(int chars){\\n //return chars * 8 - chars;\\n Integer integer = new Integer(chars);\\n Double qsrt = new Double(Math.sqrt(integer.doubleValue()));\\n return chars * 7 - ((chars / 2) - 3 * qsrt.intValue());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5aeb02d97ab8a6204760f76fb701e183\",\n \"score\": \"0.64768434\",\n \"text\": \"long length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51b991fddde0dbdfedf782328be78034\",\n \"score\": \"0.64517933\",\n \"text\": \"abstract public int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c1388f328c9063a1bb4485b941360aa\",\n \"score\": \"0.64460385\",\n \"text\": \"public int getLength() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34545df969fb4363b027733743ee708f\",\n \"score\": \"0.6416469\",\n \"text\": \"public int getLength() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b01a7c49943cebba0d18204584af804\",\n \"score\": \"0.6415048\",\n \"text\": \"short getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de8c37fa81d5c207da5a0ff2f6f813d1\",\n \"score\": \"0.64124966\",\n \"text\": \"public int length ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c5da42492bdbb194fa00d53d8811856\",\n \"score\": \"0.64073473\",\n \"text\": \"private int getLenghtForCaption(int chars) {\\n /*if(chars == 2 ) {\\n return chars * 7;\\n }\\n Integer integer = new Integer(chars);\\n Double qsrt = new Double(Math.sqrt(integer.doubleValue()));\\n return chars * 8 - ((chars / 2) - 3 * qsrt.intValue());*/\\n\\n return chars * 8;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8e0997257d343c162f965f912617d95\",\n \"score\": \"0.63928896\",\n \"text\": \"public abstract int getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59759e9c62fa8e38446da54715000f48\",\n \"score\": \"0.639133\",\n \"text\": \"int length();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d92e07c22bcaeccb7567f98c3bd92979\",\n \"score\": \"0.6353416\",\n \"text\": \"public int getLength() { return this.length; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cce8d8f2e56b6fdd7eaaa13c106f4615\",\n \"score\": \"0.6351815\",\n \"text\": \"public final int length() {return length;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6691c116c3b8f8d65c83131934e11e01\",\n \"score\": \"0.63384295\",\n \"text\": \"public int nbOfChars() {\\r\\n\\t return this.value.length();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0094fb02659155ba13beacc3b424f7b9\",\n \"score\": \"0.6334986\",\n \"text\": \"public short length() {\\n return (coh == null) ? 0: coh.length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41e8f6049b30934f42b01171d8249d58\",\n \"score\": \"0.6324404\",\n \"text\": \"@Override\\r\\n\\tpublic int length() {\\r\\n\\t\\treturn 1;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"868ce0b179ea833ba5aef579c86bfa88\",\n \"score\": \"0.63221633\",\n \"text\": \"public int length() {\\r\\n\\treturn value.length();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6664e278574378ad1b73d5efeb6bd4f2\",\n \"score\": \"0.6321763\",\n \"text\": \"public long length() {\\r\\n return 2 + 2;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db40c7a76d75b3362967b553dbe771e3\",\n \"score\": \"0.6313741\",\n \"text\": \"public Integer getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7160b503e5da0f55c1b000544885a6ed\",\n \"score\": \"0.62897426\",\n \"text\": \"int getUtfLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a6ebd1cd8b25e140ac22803ae2f64e8\",\n \"score\": \"0.6282801\",\n \"text\": \"int size() {\\n return alphabet.length();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f41f83093f4a527b2a3a659cf67fca0f\",\n \"score\": \"0.627844\",\n \"text\": \"public int getLength() { return length; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f41f83093f4a527b2a3a659cf67fca0f\",\n \"score\": \"0.627844\",\n \"text\": \"public int getLength() { return length; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f8dd0a5f3a61121081ad8b6d8392b56\",\n \"score\": \"0.6274141\",\n \"text\": \"@Override\\n public int length() {\\n return back.length();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68616217aaa5b3de504bacc64773c43a\",\n \"score\": \"0.62730163\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\t\\tpublic int getLength() {\\n\\t\\t\\t\\t\\t\\t\\treturn 0;\\n\\t\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e485eca9f120e76ef68f6a6b17b17905\",\n \"score\": \"0.6272099\",\n \"text\": \"public abstract int getFixedLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02c19318ff9cd06c33f016a41cb089e6\",\n \"score\": \"0.62718\",\n \"text\": \"public int getLength(){\\n return localLength;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02c19318ff9cd06c33f016a41cb089e6\",\n \"score\": \"0.62718\",\n \"text\": \"public int getLength(){\\n return localLength;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07798364665d151473ff47884c483815\",\n \"score\": \"0.62704605\",\n \"text\": \"@Override\\n\\tpublic int getMaxLenth() {\\n\\t\\treturn 11;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbf31999609e5f2bdac7ab1a7ddb64af\",\n \"score\": \"0.62616056\",\n \"text\": \"boolean hasLen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9d7251ee2431d07c28ed09425021e8a\",\n \"score\": \"0.62403\",\n \"text\": \"long length ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3a1cf48653ce25e3f67ded33dccd081\",\n \"score\": \"0.62394154\",\n \"text\": \"public void validLength() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"653a7713bbeccef8d04d9dfe3945308f\",\n \"score\": \"0.6233536\",\n \"text\": \"public int getTotalLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"129bfcfb24b20297d5003017a76355c3\",\n \"score\": \"0.6213134\",\n \"text\": \"public abstract long getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba015285fcde465aba9eec6d72a7c508\",\n \"score\": \"0.61872214\",\n \"text\": \"public abstract int getTextLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e0f0e664d58f2c7f4aa2b456b5d622f\",\n \"score\": \"0.6181469\",\n \"text\": \"@Override\\n public int length() {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b30ac186645446e7ce6cd3bbae76665\",\n \"score\": \"0.6179235\",\n \"text\": \"public int getLength()\\r\\n {\\r\\n return length;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fff1dee4025a403fa71f009eded524d\",\n \"score\": \"0.6160308\",\n \"text\": \"public int length() { return sb.length(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fa1179c69e895a465c9acba13dfe82c\",\n \"score\": \"0.6151246\",\n \"text\": \"int size() {\\n return alphabet().size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c78dba0bf1cd73b4753614d8b6239a1b\",\n \"score\": \"0.6149414\",\n \"text\": \"public int getLength(){\\n\\t\\treturn length;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f23616e5eaa654e27384d28ce2272ae6\",\n \"score\": \"0.6135971\",\n \"text\": \"@Override\\n\\t\\tprotected int toLength(int level) {\\n\\t\\t\\treturn 0;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edaea9f4c842e19b3cc181fe11eda048\",\n \"score\": \"0.6113911\",\n \"text\": \"public int length() {\\n return -1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9918f5cfdeb6275cd66209492e5411c9\",\n \"score\": \"0.6108507\",\n \"text\": \"public final int getLength() {\\n/* 379 */ return this._length;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"128f456a84087a93ff27314ba9dba799\",\n \"score\": \"0.6103029\",\n \"text\": \"public int getLength() {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e8433a3bc4ad7c6b51cbf4b4803cb41\",\n \"score\": \"0.6099276\",\n \"text\": \"private int length() {\\n\\t\\treturn f.length();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c00a6cbb64883e8481912db36c56c6f9\",\n \"score\": \"0.6098305\",\n \"text\": \"public String getLength(){\\n\\t\\treturn length;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ff5a6a75add1b42e411ab584900031\",\n \"score\": \"0.6097638\",\n \"text\": \"public int getLength() {\\n return this.length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d100b138d72059fd9aea9dda7f5fc0f\",\n \"score\": \"0.60953677\",\n \"text\": \"public int length() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8284d244a8a0c0d0486e30877d5265f\",\n \"score\": \"0.609038\",\n \"text\": \"@Override\\n\\tpublic int getLength() {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0961587d8ac8a3b868c8d6987bea352\",\n \"score\": \"0.60749567\",\n \"text\": \"public int getLength() {\\r\\n return this.length;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0961587d8ac8a3b868c8d6987bea352\",\n \"score\": \"0.60749567\",\n \"text\": \"public int getLength() {\\r\\n return this.length;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0961587d8ac8a3b868c8d6987bea352\",\n \"score\": \"0.60749567\",\n \"text\": \"public int getLength() {\\r\\n return this.length;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0ab567704e46dda57fab27105eceeb6\",\n \"score\": \"0.6071469\",\n \"text\": \"public abstract int length() throws BadKind;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b73119f94f70d4382ae0235003df4b04\",\n \"score\": \"0.6066769\",\n \"text\": \"@Override\\n public int getLength() {\\n return fLength;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04d4e6da8390148e1f6bc2a2422a83f7\",\n \"score\": \"0.60566366\",\n \"text\": \"public int GetLength() {\\r\\n\\t\\treturn length;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ede0dff836440788dc37ba24690ed3e9\",\n \"score\": \"0.6054797\",\n \"text\": \"@Override\\n\\tint getLength() {\\n\\t\\treturn 3;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82b28024922d967649f0ed6caced4a18\",\n \"score\": \"0.60342467\",\n \"text\": \"public int getLength()\\n\\t{\\n\\t\\treturn this.length;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b240b0f9208f166038e36da8fbf892e\",\n \"score\": \"0.60331225\",\n \"text\": \"@Override\\n public int length() {\\n return 5;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a31a49754dcc3b4e2ff0ac764456a7c8\",\n \"score\": \"0.60293186\",\n \"text\": \"public static void getMaxLen() {\\n //максимальная длина слова в массиве \\n Scanner scanner = new Scanner(System.in);\\n //определение размерности массива\\n System.out.println(\\\"Введите размерность массива\\\");\\n int i1 = scanner.nextInt();\\n String[] words = new String[i1];\\n //заполнение массива\\n for (int i = 0; i < words.length; i++) {\\n System.out.println(\\\"Введите \\\" + (i+1) + \\\"-ый элемент массива\\\");\\n words[i] = scanner.next();\\n }\\n //задание переменной 'номер элемента с максимальной длиной'\\n int maxLenNum = 0;\\n //поиск элемента с максимальной длиной: считаем, что если длины равны - берем элемент с большим номером\\n for (int i = 0; i < i1; i++) {\\n if ((words[i].length())>=(words[maxLenNum].length())) {\\n maxLenNum = i;\\n }\\n }\\n System.out.printf(\\\"Максимальная длина у %d элемента массива равна %d. Самое длинное слово: %s\\\", (maxLenNum+1),words[maxLenNum].length(),words[maxLenNum]);\\n scanner.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25f419cc2c40159baa7f01c025029a65\",\n \"score\": \"0.60273015\",\n \"text\": \"@Override\\n\\tpublic long getSaysLength() {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"856cf0f020a8c80f6d63577b74f74a29\",\n \"score\": \"0.60198\",\n \"text\": \"double getLength();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b4e1de1c40ed225dc3a2e2ce740cb6e\",\n \"score\": \"0.6018184\",\n \"text\": \"public int NombreTortue(Byte[] jeu){\\r\\n\\t\\tint nb=0;\\r\\n\\t\\tfor(int i=0; i<37; i++){\\r\\n\\t\\t\\tif(jeu[i] != 0){\\r\\n\\t\\t\\t\\tnb++;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\treturn nb;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"014f5b23ab08d98c37dfe4d3d372ac4d\",\n \"score\": \"0.6015006\",\n \"text\": \"public int getLength() {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"014f5b23ab08d98c37dfe4d3d372ac4d\",\n \"score\": \"0.6015006\",\n \"text\": \"public int getLength() {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"014f5b23ab08d98c37dfe4d3d372ac4d\",\n \"score\": \"0.6015006\",\n \"text\": \"public int getLength() {\\n return length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8abf15921060b28d2475f80a2abf4a73\",\n \"score\": \"0.60128\",\n \"text\": \"public int getLength()\\n{\\n\\treturn _length;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"888fd23702ee04f65366c0f580b156b1\",\n \"score\": \"0.601095\",\n \"text\": \"public int getClen() {\\r\\n return clen;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97c1f73983f9eff68e1da46beb5994de\",\n \"score\": \"0.6009904\",\n \"text\": \"boolean getIsVlen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97c1f73983f9eff68e1da46beb5994de\",\n \"score\": \"0.6009904\",\n \"text\": \"boolean getIsVlen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97c1f73983f9eff68e1da46beb5994de\",\n \"score\": \"0.6009635\",\n \"text\": \"boolean getIsVlen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97c1f73983f9eff68e1da46beb5994de\",\n \"score\": \"0.6009635\",\n \"text\": \"boolean getIsVlen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b6ba2e075d70e44d38cdd14e00f7d8a\",\n \"score\": \"0.59977555\",\n \"text\": \"public int getLength() {\\r\\n\\t\\treturn size() ;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b826b36f67afdd74e51cc862b5c49b8\",\n \"score\": \"0.59914577\",\n \"text\": \"int getUmchpCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"871ef024ded34fcfe2d008a7fb6133ac\",\n \"score\": \"0.5973942\",\n \"text\": \"@Override\\n public int getLength() {\\n return 0;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":891,"cells":{"query_id":{"kind":"string","value":"1b0db9a86fbc30535f4932272842fb48"},"query":{"kind":"string","value":"/ renamed from: a"},"positive_passages":{"kind":"list like","value":[{"docid":"83ec530ee403d94cdbd96296c2d59a84","score":"0.0","text":"public static C4242a m11618a(byte[] bArr, int i, int i2) {\n byte[] bArr2 = new byte[i2];\n System.arraycopy(bArr, i, bArr2, 0, i2);\n return new C4242a(bArr2);\n }","title":""}],"string":"[\n {\n \"docid\": \"83ec530ee403d94cdbd96296c2d59a84\",\n \"score\": \"0.0\",\n \"text\": \"public static C4242a m11618a(byte[] bArr, int i, int i2) {\\n byte[] bArr2 = new byte[i2];\\n System.arraycopy(bArr, i, bArr2, 0, i2);\\n return new C4242a(bArr2);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"fc84bfffbb135cb8d4b6f8f6e4fc5d30","score":"0.62497115","text":"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }","title":""},{"docid":"01ed565ecd5da249ab9411db2a325750","score":"0.6242887","text":"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }","title":""},{"docid":"2ec4d662013bbc07c24377a284193414","score":"0.61394435","text":"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}","title":""},{"docid":"098acf3d25743c26951b7c137d6b5241","score":"0.61176854","text":"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }","title":""},{"docid":"43976bf51e52fb1bd1f4238d171e6204","score":"0.6114027","text":"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }","title":""},{"docid":"437bb90fa6e00569dcd1e241c0eb51e7","score":"0.60893","text":"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}","title":""},{"docid":"868d35bc809a72be50ff335e5a6db12e","score":"0.6046901","text":"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }","title":""},{"docid":"29850e186fa126e94b2bbd6fa6c19fc3","score":"0.6024682","text":"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }","title":""},{"docid":"6619c8b04c9f07c442e55e1218970e1e","score":"0.60201293","text":"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}","title":""},{"docid":"3100a48282b7b764700b169c3b098b1b","score":"0.5975212","text":"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }","title":""},{"docid":"c6c234dd83030caeed72c3ce20189880","score":"0.59482527","text":"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}","title":""},{"docid":"bd7f4e1e4e645f4b452b70f4dbb8c6dc","score":"0.59121317","text":"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }","title":""},{"docid":"3f00385c41e9bc67fa06398c1a0de7d9","score":"0.5883635","text":"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }","title":""},{"docid":"71e1636aef9163f0d87af21a319420fa","score":"0.587841","text":"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }","title":""},{"docid":"4691a93584fd0806b37e2b6e8189521b","score":"0.58703005","text":"public interface C32456b {\n /* renamed from: a */\n void mo83696a(T t);\n }","title":""},{"docid":"b123edd15ba08fe12a51841736a84462","score":"0.5868436","text":"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }","title":""},{"docid":"666d9df89e6736838e69c3c82d12b0aa","score":"0.5864884","text":"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }","title":""},{"docid":"449b6491b2fe8f8468a85a35e28c8259","score":"0.5857492","text":"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }","title":""},{"docid":"9b3a5fa71ba9a603811b29470ea4bfb6","score":"0.58306104","text":"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }","title":""},{"docid":"d8dd89277ac7a5c007c8684a9c6cca20","score":"0.5827752","text":"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }","title":""},{"docid":"9da98f366c702538238d77b2b4994183","score":"0.58272064","text":"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}","title":""},{"docid":"e7eae714822cbcbca0c1db80e113402e","score":"0.5794689","text":"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}","title":""},{"docid":"c2479159be12a21c77910c092fceb564","score":"0.57890314","text":"public interface C32459e {\n /* renamed from: a */\n void mo83698a(T t);\n }","title":""},{"docid":"1c0deb99854e0f88c66a266283221013","score":"0.57838726","text":"public interface C32458d {\n /* renamed from: a */\n void mo83695a(T t);\n }","title":""},{"docid":"5975b4003249e3b564fae60d5299cbd2","score":"0.5775679","text":"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }","title":""},{"docid":"7a1052255f1048f551c1776d2f1e8159","score":"0.57694733","text":"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List list, boolean z);\n }","title":""},{"docid":"dfcbab2d69a670d9daeb2a1df7b265d1","score":"0.5769128","text":"public void a() {\n ((a) this.a).a();\n }","title":""},{"docid":"3612fb97c8d2b8f3fec6f2c351cf922f","score":"0.57526815","text":"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }","title":""},{"docid":"299f0c9b74c537eb6fcf3585a35f07e0","score":"0.56907034","text":"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}","title":""},{"docid":"86c447dd732ada573e3fc12f6a7e9493","score":"0.5677874","text":"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List list);\n\n /* renamed from: b */\n void mo100444b(List list);\n}","title":""},{"docid":"9e81f92a0b590f23e83d0bf1a4109b2a","score":"0.5670547","text":"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }","title":""},{"docid":"32ce16d3f6d76b47f657f11f3770e494","score":"0.56666386","text":"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}","title":""},{"docid":"d70b1635e035b918da0d7569839ec014","score":"0.56592244","text":"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}","title":""},{"docid":"daf43e993efc8b98cdf3fe2b0afbb466","score":"0.5658682","text":"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}","title":""},{"docid":"a4e9d056edb171d95dc9a1921a5fe442","score":"0.56574154","text":"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}","title":""},{"docid":"644598039edddcf3faefa364a5ba3193","score":"0.5654324","text":"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}","title":""},{"docid":"006a517dc3baa87b3270848f6e8b4626","score":"0.5644676","text":"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}","title":""},{"docid":"aa2a16ebbeb265f4ac4992adabc88152","score":"0.56399715","text":"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}","title":""},{"docid":"8f3c1e41ba8acc82c1050da792361542","score":"0.5638734","text":"public interface C10965j {\n /* renamed from: a */\n T mo26439a();\n}","title":""},{"docid":"4c84511dde13e0ba18a6422f80a84d8b","score":"0.5630582","text":"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }","title":""},{"docid":"55c46b869b6d786d8df5e3524b6bb6a9","score":"0.56183887","text":"@Override\n\tpublic void a() {\n\t\t\n\t}","title":""},{"docid":"bde0f552b3d5b8c4484911314c573f66","score":"0.5615435","text":"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}","title":""},{"docid":"89e9dc8cf037d7625b831e559ac044f3","score":"0.56069666","text":"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}","title":""},{"docid":"66a26f9ccca930416a6f89aa9bf1b173","score":"0.5605207","text":"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }","title":""},{"docid":"b5b50bf3e7a20f1df72605a90e956a06","score":"0.56005067","text":"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }","title":""},{"docid":"d725a917e4e6030ba9195f790ccfff65","score":"0.559501","text":"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}","title":""},{"docid":"78a3486a59361b759c6be90b827a8425","score":"0.55910283","text":"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }","title":""},{"docid":"22c9838acfcdee08174bf3617ea96f8a","score":"0.5590222","text":"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}","title":""},{"docid":"319d09da803527a6a06bbf7cc2887316","score":"0.55736613","text":"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}","title":""},{"docid":"b3dc8a3c14d2ee83e60c6560e422679c","score":"0.5556682","text":"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }","title":""},{"docid":"9be89af1bb56da53326d2f09ae555d8b","score":"0.5554544","text":"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}","title":""},{"docid":"091b31225464506d6bd1e08727e712d7","score":"0.5550076","text":"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList arrayList);\n}","title":""},{"docid":"1288345207fb16885bf860a102e4eaa8","score":"0.55493855","text":"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}","title":""},{"docid":"7b85dbcc8aa70db8e8a7481c51065d79","score":"0.55446684","text":"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}","title":""},{"docid":"bf0f20a06091c30776990d814c848d2a","score":"0.5538079","text":"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }","title":""},{"docid":"5fe376bb4764d8d4ad2567d147bc1fcc","score":"0.5529058","text":"public interface C6178c {\n /* renamed from: a */\n Map mo14888a();\n}","title":""},{"docid":"b3b2fedc9f525bea8a2349e6dce201fb","score":"0.5528109","text":"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}","title":""},{"docid":"c2a394a2b842d95cc0e883b841d9f283","score":"0.552641","text":"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}","title":""},{"docid":"13217711f83a6833e3fef29d1814cd44","score":"0.5525864","text":"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }","title":""},{"docid":"0d07baf9ce5331f454f1d47a24cee622","score":"0.552186","text":"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}","title":""},{"docid":"0dc9e140b9547032b784f43a942c4e87","score":"0.5519972","text":"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }","title":""},{"docid":"82288d49730f74b92af9749ca1fe8231","score":"0.5509587","text":"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}","title":""},{"docid":"e8fa1b69564f29db70fe4f6fa46349fe","score":"0.5507195","text":"public interface C24221b extends C28343z {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}","title":""},{"docid":"00d622ec17496c72311e952fde13ef3b","score":"0.54881203","text":"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}","title":""},{"docid":"49ff4ba7b256475d4bfc81f6e66948f8","score":"0.5485328","text":"public interface C45112b {\n /* renamed from: a */\n List mo107674a(Integer num);\n\n /* renamed from: a */\n List mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}","title":""},{"docid":"e528b25232e1e107445f9f7f31a381fc","score":"0.54826045","text":"public void acionou(int a){\n\t\t\tb=a;\n\t\t}","title":""},{"docid":"6311a887a4ae923531409d83c7da50b8","score":"0.5482066","text":"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}","title":""},{"docid":"c90cb1d49988bdadad52d6fff6740c8a","score":"0.5481586","text":"public interface C32457c {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }","title":""},{"docid":"32227e5dc9e15ad3763e078cc1fb606f","score":"0.5479751","text":"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}","title":""},{"docid":"18b0c3978bc1361e7463da1c55ec9fe6","score":"0.54776895","text":"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }","title":""},{"docid":"2f7ac463983b04d3f3e56961fdb4ba43","score":"0.54671466","text":"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }","title":""},{"docid":"4134d0fab03b3fa765ceb91b52ec0dbb","score":"0.5463307","text":"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }","title":""},{"docid":"1a94ebbc41776ed2216a34180eb5a7f6","score":"0.54505056","text":"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }","title":""},{"docid":"fc18815bc6e649fec1a5abc3890052ae","score":"0.54436916","text":"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }","title":""},{"docid":"58de1edc0c1420fdff331cc22707123e","score":"0.5440517","text":"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}","title":""},{"docid":"b1c89121f3910f51c93098ba9ec3a21b","score":"0.5439747","text":"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}","title":""},{"docid":"63aa596b4b88e7f89cd3097e4e54cfca","score":"0.5431944","text":"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }","title":""},{"docid":"9c2afd79755607e15de270eb193b236e","score":"0.5422869","text":"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }","title":""},{"docid":"8fa65e13dc0cdff3a90d9f62507cb9a5","score":"0.54217863","text":"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }","title":""},{"docid":"e60d809a85b4c98e16589f1529561044","score":"0.5417556","text":"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}","title":""},{"docid":"d8fd4f06199d8efcef24fc1505addbcd","score":"0.5403905","text":"protected a a(Tag.e var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }","title":""},{"docid":"83bbf46e0144c3dcce2d271f13bee782","score":"0.5400223","text":"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }","title":""},{"docid":"82ffdbe6aa6621b279c74468f80b5912","score":"0.53998446","text":"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }","title":""},{"docid":"aeadc18012a7c861c02f1c65eb820994","score":"0.5394735","text":"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }","title":""},{"docid":"2508060fe41b983c50d6ca46a915395e","score":"0.5388649","text":"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }","title":""},{"docid":"087386378b393a0e96fa18f708ca65ce","score":"0.5388258","text":"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}","title":""},{"docid":"9f1c9cd821755538a8a9bda91b904acc","score":"0.5374842","text":"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }","title":""},{"docid":"6ecc192a1fb1f66ec2d6f47439a4d9f8","score":"0.5368887","text":"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }","title":""},{"docid":"e181411550d85cf1e62f33e2fa38c92f","score":"0.53591394","text":"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}","title":""},{"docid":"d99a3faf82861610af051d036f6e5a50","score":"0.5357029","text":"public interface C0615ja extends b {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a {\n }\n}","title":""},{"docid":"a0e21ee501dec77d3b013c6bba646f86","score":"0.5355688","text":"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}","title":""},{"docid":"47b905976cd909c479269de128f16ffc","score":"0.535506","text":"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }","title":""},{"docid":"d124618b4b65ff1a4c5f0386a0b0a101","score":"0.5355034","text":"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }","title":""},{"docid":"40044121d9a1d21cd1c28865a7d0f30f","score":"0.53494394","text":"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }","title":""},{"docid":"2b75e6696ca89a5bd713b64ef3c8ca12","score":"0.5341044","text":"public interface C10330c {\n /* renamed from: a */\n C7562b mo25041a();\n}","title":""},{"docid":"8ffd671a8e9a13dff8feccdbbbcb8737","score":"0.5326166","text":"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }","title":""},{"docid":"b370df3daf04308a9df898bf450c4c19","score":"0.53236824","text":"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }","title":""},{"docid":"2942e8417b1b46bc317e65c06b2d0abd","score":"0.53199095","text":"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}","title":""},{"docid":"337feecf03fd626594145801b5fc943e","score":"0.53177035","text":"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }","title":""},{"docid":"0cbbba7c7ba683d273d25272a6e29808","score":"0.53112453","text":"public b[] a() {\n/* 95 */ return this.a;\n/* */ }","title":""},{"docid":"ad4fcb3c5e30d79489772b08711b9163","score":"0.5298229","text":"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }","title":""}],"string":"[\n {\n \"docid\": \"fc84bfffbb135cb8d4b6f8f6e4fc5d30\",\n \"score\": \"0.62497115\",\n \"text\": \"public interface C4521a {\\n /* renamed from: a */\\n void mo12348a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01ed565ecd5da249ab9411db2a325750\",\n \"score\": \"0.6242887\",\n \"text\": \"public interface C1423a {\\n /* renamed from: a */\\n void mo6888a(int i);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec4d662013bbc07c24377a284193414\",\n \"score\": \"0.61394435\",\n \"text\": \"interface bxc {\\n /* renamed from: a */\\n void mo2508a(bxb bxb);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"098acf3d25743c26951b7c137d6b5241\",\n \"score\": \"0.61176854\",\n \"text\": \"interface C33292a {\\n /* renamed from: a */\\n void mo85415a(String str);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43976bf51e52fb1bd1f4238d171e6204\",\n \"score\": \"0.6114027\",\n \"text\": \"interface C10331b {\\n /* renamed from: a */\\n void mo26876a(int i);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"437bb90fa6e00569dcd1e241c0eb51e7\",\n \"score\": \"0.60893\",\n \"text\": \"public interface C0779a {\\n /* renamed from: a */\\n void mo2311a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"868d35bc809a72be50ff335e5a6db12e\",\n \"score\": \"0.6046901\",\n \"text\": \"public interface C6788a {\\n /* renamed from: a */\\n void mo20141a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29850e186fa126e94b2bbd6fa6c19fc3\",\n \"score\": \"0.6024682\",\n \"text\": \"public interface C0237a {\\n /* renamed from: a */\\n void mo1791a(String str);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6619c8b04c9f07c442e55e1218970e1e\",\n \"score\": \"0.60201293\",\n \"text\": \"public interface C35013b {\\n /* renamed from: a */\\n void mo88773a(int i);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3100a48282b7b764700b169c3b098b1b\",\n \"score\": \"0.5975212\",\n \"text\": \"public interface C11112n {\\n /* renamed from: a */\\n void mo38026a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6c234dd83030caeed72c3ce20189880\",\n \"score\": \"0.59482527\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void a() {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd7f4e1e4e645f4b452b70f4dbb8c6dc\",\n \"score\": \"0.59121317\",\n \"text\": \"public interface C23407b {\\n /* renamed from: a */\\n void mo60892a();\\n\\n /* renamed from: b */\\n void mo60893b();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f00385c41e9bc67fa06398c1a0de7d9\",\n \"score\": \"0.5883635\",\n \"text\": \"interface C0312e {\\n /* renamed from: a */\\n void mo4671a(View view, int i, int i2, int i3, int i4);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71e1636aef9163f0d87af21a319420fa\",\n \"score\": \"0.587841\",\n \"text\": \"public interface C34379a {\\n /* renamed from: a */\\n void mo46242a(bmc bmc);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4691a93584fd0806b37e2b6e8189521b\",\n \"score\": \"0.58703005\",\n \"text\": \"public interface C32456b {\\n /* renamed from: a */\\n void mo83696a(T t);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b123edd15ba08fe12a51841736a84462\",\n \"score\": \"0.5868436\",\n \"text\": \"private String convertir(String a) {\\n StringBuilder atributo = new StringBuilder(a);\\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\\n return atributo.deleteCharAt(1).toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"666d9df89e6736838e69c3c82d12b0aa\",\n \"score\": \"0.5864884\",\n \"text\": \"protected m a(String name) {\\n/* 42 */ return this.a.get(name);\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"449b6491b2fe8f8468a85a35e28c8259\",\n \"score\": \"0.5857492\",\n \"text\": \"public interface AbstractC23925a {\\n /* renamed from: a */\\n void mo105476a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b3a5fa71ba9a603811b29470ea4bfb6\",\n \"score\": \"0.58306104\",\n \"text\": \"private interface C0257a {\\n /* renamed from: a */\\n float mo196a(ViewGroup viewGroup, View view);\\n\\n /* renamed from: b */\\n float mo195b(ViewGroup viewGroup, View view);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8dd89277ac7a5c007c8684a9c6cca20\",\n \"score\": \"0.5827752\",\n \"text\": \"public interface C3598a {\\n /* renamed from: a */\\n void mo11024a(int i, int i2, String str);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9da98f366c702538238d77b2b4994183\",\n \"score\": \"0.58272064\",\n \"text\": \"public interface C2459d {\\n /* renamed from: a */\\n C2451d mo3408a(C2457e c2457e);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7eae714822cbcbca0c1db80e113402e\",\n \"score\": \"0.5794689\",\n \"text\": \"public interface am extends ak {\\r\\n /* renamed from: a */\\r\\n void mo194a(int i) throws RemoteException;\\r\\n\\r\\n /* renamed from: a */\\r\\n void mo195a(List list) throws RemoteException;\\r\\n\\r\\n /* renamed from: b */\\r\\n void mo196b(float f) throws RemoteException;\\r\\n\\r\\n /* renamed from: b */\\r\\n void mo197b(boolean z);\\r\\n\\r\\n /* renamed from: c */\\r\\n void mo198c(boolean z) throws RemoteException;\\r\\n\\r\\n /* renamed from: g */\\r\\n float mo199g() throws RemoteException;\\r\\n\\r\\n /* renamed from: h */\\r\\n int mo200h() throws RemoteException;\\r\\n\\r\\n /* renamed from: i */\\r\\n List mo201i() throws RemoteException;\\r\\n\\r\\n /* renamed from: j */\\r\\n boolean mo202j();\\r\\n\\r\\n /* renamed from: k */\\r\\n boolean mo203k();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2479159be12a21c77910c092fceb564\",\n \"score\": \"0.57890314\",\n \"text\": \"public interface C32459e {\\n /* renamed from: a */\\n void mo83698a(T t);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c0deb99854e0f88c66a266283221013\",\n \"score\": \"0.57838726\",\n \"text\": \"public interface C32458d {\\n /* renamed from: a */\\n void mo83695a(T t);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5975b4003249e3b564fae60d5299cbd2\",\n \"score\": \"0.5775679\",\n \"text\": \"public interface C5482b {\\n /* renamed from: a */\\n void mo27575a();\\n\\n /* renamed from: a */\\n void mo27576a(int i);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a1052255f1048f551c1776d2f1e8159\",\n \"score\": \"0.57694733\",\n \"text\": \"public interface C27084a {\\n /* renamed from: a */\\n void mo69874a();\\n\\n /* renamed from: a */\\n void mo69875a(List list, boolean z);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfcbab2d69a670d9daeb2a1df7b265d1\",\n \"score\": \"0.5769128\",\n \"text\": \"public void a() {\\n ((a) this.a).a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3612fb97c8d2b8f3fec6f2c351cf922f\",\n \"score\": \"0.57526815\",\n \"text\": \"public interface C1153a {\\n /* renamed from: a */\\n void mo4520a(byte[] bArr);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"299f0c9b74c537eb6fcf3585a35f07e0\",\n \"score\": \"0.56907034\",\n \"text\": \"public interface C13373b {\\n /* renamed from: a */\\n void mo32681a(String str, int i, boolean z);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86c447dd732ada573e3fc12f6a7e9493\",\n \"score\": \"0.5677874\",\n \"text\": \"public interface C40453c {\\n /* renamed from: a */\\n void mo100442a(C40429b bVar);\\n\\n /* renamed from: a */\\n void mo100443a(List list);\\n\\n /* renamed from: b */\\n void mo100444b(List list);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e81f92a0b590f23e83d0bf1a4109b2a\",\n \"score\": \"0.5670547\",\n \"text\": \"public interface AbstractC17367b {\\n /* renamed from: a */\\n void mo84655a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32ce16d3f6d76b47f657f11f3770e494\",\n \"score\": \"0.56666386\",\n \"text\": \"@Override\\r\\n\\tpublic void a() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d70b1635e035b918da0d7569839ec014\",\n \"score\": \"0.56592244\",\n \"text\": \"public interface C43270a {\\n /* renamed from: a */\\n void mo64942a(String str, long j, long j2);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daf43e993efc8b98cdf3fe2b0afbb466\",\n \"score\": \"0.5658682\",\n \"text\": \"public interface C18928d {\\n /* renamed from: a */\\n void mo50320a(C18924b bVar);\\n\\n /* renamed from: b */\\n void mo50321b(C18924b bVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4e9d056edb171d95dc9a1921a5fe442\",\n \"score\": \"0.56574154\",\n \"text\": \"public interface C0087c {\\n /* renamed from: a */\\n String mo150a(String str);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"644598039edddcf3faefa364a5ba3193\",\n \"score\": \"0.5654324\",\n \"text\": \"public interface C1529m {\\n /* renamed from: a */\\n void mo3767a(int i);\\n\\n /* renamed from: a */\\n void mo3768a(String str);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"006a517dc3baa87b3270848f6e8b4626\",\n \"score\": \"0.5644676\",\n \"text\": \"interface C4483e {\\n /* renamed from: a */\\n boolean mo34114a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa2a16ebbeb265f4ac4992adabc88152\",\n \"score\": \"0.56399715\",\n \"text\": \"public interface C1234b {\\r\\n /* renamed from: a */\\r\\n void m8367a();\\r\\n\\r\\n /* renamed from: b */\\r\\n void m8368b();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f3c1e41ba8acc82c1050da792361542\",\n \"score\": \"0.5638734\",\n \"text\": \"public interface C10965j {\\n /* renamed from: a */\\n T mo26439a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c84511dde13e0ba18a6422f80a84d8b\",\n \"score\": \"0.5630582\",\n \"text\": \"public interface C28772a {\\n /* renamed from: a */\\n View mo73990a(View view);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55c46b869b6d786d8df5e3524b6bb6a9\",\n \"score\": \"0.56183887\",\n \"text\": \"@Override\\n\\tpublic void a() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bde0f552b3d5b8c4484911314c573f66\",\n \"score\": \"0.5615435\",\n \"text\": \"public interface C8326b {\\n /* renamed from: a */\\n C8325a mo21498a(String str);\\n\\n /* renamed from: a */\\n void mo21499a(C8325a aVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89e9dc8cf037d7625b831e559ac044f3\",\n \"score\": \"0.56069666\",\n \"text\": \"void metodo1(int a, int[] b) {\\r\\n\\t\\ta += 5;//Par\\\\u00e1metro con el mismo nombre que el campo de la clase.\\r\\n\\t\\tb[0] += 7;//se produce un env\\\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\\\u00ed.\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66a26f9ccca930416a6f89aa9bf1b173\",\n \"score\": \"0.5605207\",\n \"text\": \"public interface C2367a {\\n /* renamed from: a */\\n C2368d mo1698a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5b50bf3e7a20f1df72605a90e956a06\",\n \"score\": \"0.56005067\",\n \"text\": \"interface C30585a {\\n /* renamed from: b */\\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d725a917e4e6030ba9195f790ccfff65\",\n \"score\": \"0.559501\",\n \"text\": \"public interface C4211a {\\n\\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\\n public interface C4212a {\\n /* renamed from: a */\\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\\n }\\n\\n /* renamed from: a */\\n JSONObject mo28758a(View view);\\n\\n /* renamed from: a */\\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a3486a59361b759c6be90b827a8425\",\n \"score\": \"0.55910283\",\n \"text\": \"public interface C4697a extends C5595at {\\n /* renamed from: a */\\n void mo12634a();\\n\\n /* renamed from: a */\\n void mo12635a(String str);\\n\\n /* renamed from: a */\\n void mo12636a(boolean z);\\n\\n /* renamed from: b */\\n void mo12637b();\\n\\n /* renamed from: c */\\n void mo12638c();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22c9838acfcdee08174bf3617ea96f8a\",\n \"score\": \"0.5590222\",\n \"text\": \"public interface C4773c {\\n /* renamed from: a */\\n void m15858a(int i);\\n\\n /* renamed from: a */\\n void m15859a(int i, int i2);\\n\\n /* renamed from: a */\\n void m15860a(int i, int i2, int i3);\\n\\n /* renamed from: b */\\n void m15861b(int i, int i2);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"319d09da803527a6a06bbf7cc2887316\",\n \"score\": \"0.55736613\",\n \"text\": \"public interface C4869f {\\n /* renamed from: a */\\n C4865b mo6249a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3dc8a3c14d2ee83e60c6560e422679c\",\n \"score\": \"0.5556682\",\n \"text\": \"public interface C1799a {\\n /* renamed from: b */\\n void mo3314b(String str);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9be89af1bb56da53326d2f09ae555d8b\",\n \"score\": \"0.5554544\",\n \"text\": \"public interface C43499b {\\n /* renamed from: a */\\n void mo8445a(int i, String str, int i2, byte[] bArr);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"091b31225464506d6bd1e08727e712d7\",\n \"score\": \"0.5550076\",\n \"text\": \"public interface C0601aq {\\n /* renamed from: a */\\n void mo9148a(int i, ArrayList arrayList);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1288345207fb16885bf860a102e4eaa8\",\n \"score\": \"0.55493855\",\n \"text\": \"public interface C45101e {\\n /* renamed from: b */\\n void mo3796b(int i);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b85dbcc8aa70db8e8a7481c51065d79\",\n \"score\": \"0.55446684\",\n \"text\": \"public interface AbstractC6461g {\\n /* renamed from: a */\\n String mo42332a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf0f20a06091c30776990d814c848d2a\",\n \"score\": \"0.5538079\",\n \"text\": \"public interface AbstractC1645a {\\n /* renamed from: a */\\n String mo17375a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fe376bb4764d8d4ad2567d147bc1fcc\",\n \"score\": \"0.5529058\",\n \"text\": \"public interface C6178c {\\n /* renamed from: a */\\n Map mo14888a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3b2fedc9f525bea8a2349e6dce201fb\",\n \"score\": \"0.5528109\",\n \"text\": \"public interface C5101b {\\n /* renamed from: a */\\n void mo5289a(C5102c c5102c);\\n\\n /* renamed from: b */\\n void mo5290b(C5102c c5102c);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2a394a2b842d95cc0e883b841d9f283\",\n \"score\": \"0.552641\",\n \"text\": \"public interface C19045k {\\n /* renamed from: a */\\n void mo50368a(int i, Object obj);\\n\\n /* renamed from: b */\\n void mo50369b(int i, Object obj);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13217711f83a6833e3fef29d1814cd44\",\n \"score\": \"0.5525864\",\n \"text\": \"public b a()\\r\\n/* 12: */ {\\r\\n/* 13:13 */ return this.a;\\r\\n/* 14: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d07baf9ce5331f454f1d47a24cee622\",\n \"score\": \"0.552186\",\n \"text\": \"public interface C7720a {\\n /* renamed from: a */\\n long mo20406a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dc9e140b9547032b784f43a942c4e87\",\n \"score\": \"0.5519972\",\n \"text\": \"public String a()\\r\\n/* 25: */ {\\r\\n/* 26:171 */ return \\\"dig.\\\" + this.a;\\r\\n/* 27: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82288d49730f74b92af9749ca1fe8231\",\n \"score\": \"0.5509587\",\n \"text\": \"public interface ayt {\\n /* renamed from: a */\\n int mo1635a(long j, List list);\\n\\n /* renamed from: a */\\n long mo1636a(long j, alb alb);\\n\\n /* renamed from: a */\\n void mo1637a();\\n\\n /* renamed from: a */\\n void mo1638a(long j, long j2, List list, ayp ayp);\\n\\n /* renamed from: a */\\n void mo1639a(ayl ayl);\\n\\n /* renamed from: a */\\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8fa1b69564f29db70fe4f6fa46349fe\",\n \"score\": \"0.5507195\",\n \"text\": \"public interface C24221b extends C28343z {\\n /* renamed from: a */\\n void mo62991a(int i);\\n\\n String aw_();\\n\\n /* renamed from: e */\\n Aweme mo62993e();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00d622ec17496c72311e952fde13ef3b\",\n \"score\": \"0.54881203\",\n \"text\": \"public interface C4051c {\\n /* renamed from: a */\\n boolean mo23707a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49ff4ba7b256475d4bfc81f6e66948f8\",\n \"score\": \"0.5485328\",\n \"text\": \"public interface C45112b {\\n /* renamed from: a */\\n List mo107674a(Integer num);\\n\\n /* renamed from: a */\\n List mo107675a(Integer num, Integer num2);\\n\\n /* renamed from: a */\\n void mo107676a(C45111a aVar);\\n\\n /* renamed from: b */\\n void mo107677b(Integer num);\\n\\n /* renamed from: c */\\n long mo107678c(Integer num);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e528b25232e1e107445f9f7f31a381fc\",\n \"score\": \"0.54826045\",\n \"text\": \"public void acionou(int a){\\n\\t\\t\\tb=a;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6311a887a4ae923531409d83c7da50b8\",\n \"score\": \"0.5482066\",\n \"text\": \"public interface C44963i {\\n /* renamed from: a */\\n void mo63037a(int i, int i2);\\n\\n void aA_();\\n\\n /* renamed from: b */\\n void mo63039b(int i, int i2);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c90cb1d49988bdadad52d6fff6740c8a\",\n \"score\": \"0.5481586\",\n \"text\": \"public interface C32457c {\\n /* renamed from: a */\\n void mo83699a(T t, int i, int i2, String str);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32227e5dc9e15ad3763e078cc1fb606f\",\n \"score\": \"0.5479751\",\n \"text\": \"public interface C5861g {\\n /* renamed from: a */\\n void mo18320a(C7251a aVar);\\n\\n @Deprecated\\n /* renamed from: a */\\n void mo18321a(C7251a aVar, String str);\\n\\n /* renamed from: a */\\n void mo18322a(C7252b bVar);\\n\\n /* renamed from: a */\\n void mo18323a(C7253c cVar);\\n\\n /* renamed from: a */\\n void mo18324a(C7260j jVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18b0c3978bc1361e7463da1c55ec9fe6\",\n \"score\": \"0.54776895\",\n \"text\": \"public interface C0937a {\\n /* renamed from: a */\\n void mo3807a(C0985po[] poVarArr);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f7ac463983b04d3f3e56961fdb4ba43\",\n \"score\": \"0.54671466\",\n \"text\": \"public interface C8466a {\\n /* renamed from: a */\\n void mo25956a(int i);\\n\\n /* renamed from: a */\\n void mo25957a(long j, long j2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4134d0fab03b3fa765ceb91b52ec0dbb\",\n \"score\": \"0.5463307\",\n \"text\": \"public interface C39684b {\\n /* renamed from: a */\\n void mo98969a();\\n\\n /* renamed from: a */\\n void mo98970a(C29296g gVar);\\n\\n /* renamed from: a */\\n void mo98971a(C29296g gVar, int i);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a94ebbc41776ed2216a34180eb5a7f6\",\n \"score\": \"0.54505056\",\n \"text\": \"public interface C43470b {\\n /* renamed from: a */\\n void mo61496a(C43469a aVar, C43471c cVar);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc18815bc6e649fec1a5abc3890052ae\",\n \"score\": \"0.54436916\",\n \"text\": \"public interface AbstractC18255a {\\n /* renamed from: a */\\n void mo88521a();\\n\\n /* renamed from: a */\\n void mo88522a(String str);\\n\\n /* renamed from: b */\\n void mo88523b();\\n\\n /* renamed from: c */\\n void mo88524c();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58de1edc0c1420fdff331cc22707123e\",\n \"score\": \"0.5440517\",\n \"text\": \"public interface C1436d {\\n /* renamed from: a */\\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1c89121f3910f51c93098ba9ec3a21b\",\n \"score\": \"0.5439747\",\n \"text\": \"public interface C4150sl {\\n /* renamed from: a */\\n void mo15005a(C4143se seVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63aa596b4b88e7f89cd3097e4e54cfca\",\n \"score\": \"0.5431944\",\n \"text\": \"public void a(nm paramnm)\\r\\n/* 28: */ {\\r\\n/* 29:45 */ paramnm.a(this);\\r\\n/* 30: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c2afd79755607e15de270eb193b236e\",\n \"score\": \"0.5422869\",\n \"text\": \"public interface C19351a {\\n /* renamed from: b */\\n void mo30633b(int i, String str, byte[] bArr);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fa65e13dc0cdff3a90d9f62507cb9a5\",\n \"score\": \"0.54217863\",\n \"text\": \"public interface C11113o {\\n /* renamed from: a */\\n void mo37759a(String str);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e60d809a85b4c98e16589f1529561044\",\n \"score\": \"0.5417556\",\n \"text\": \"public interface C39504az {\\n /* renamed from: a */\\n int mo98207a();\\n\\n /* renamed from: a */\\n void mo98208a(boolean z);\\n\\n /* renamed from: b */\\n int mo98209b();\\n\\n /* renamed from: c */\\n int mo98355c();\\n\\n /* renamed from: d */\\n int mo98356d();\\n\\n /* renamed from: e */\\n int mo98357e();\\n\\n /* renamed from: f */\\n int mo98358f();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8fd4f06199d8efcef24fc1505addbcd\",\n \"score\": \"0.5403905\",\n \"text\": \"protected a a(Tag.e var0) {\\n/* 80 */ Tag.a var1 = b(var0);\\n/* 81 */ return new a<>(var1, this.c, \\\"vanilla\\\");\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83bbf46e0144c3dcce2d271f13bee782\",\n \"score\": \"0.5400223\",\n \"text\": \"public interface C35565a {\\n /* renamed from: a */\\n C45321i mo90380a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82ffdbe6aa6621b279c74468f80b5912\",\n \"score\": \"0.53998446\",\n \"text\": \"public interface C21298a {\\n /* renamed from: a */\\n void mo57275a();\\n\\n /* renamed from: a */\\n void mo57276a(Exception exc);\\n\\n /* renamed from: b */\\n void mo57277b();\\n\\n /* renamed from: c */\\n void mo57278c();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeadc18012a7c861c02f1c65eb820994\",\n \"score\": \"0.5394735\",\n \"text\": \"public interface C40108b {\\n /* renamed from: a */\\n void mo99838a(boolean z);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2508060fe41b983c50d6ca46a915395e\",\n \"score\": \"0.5388649\",\n \"text\": \"public interface C0456a {\\n /* renamed from: a */\\n void mo2090a(C0455b bVar);\\n\\n /* renamed from: a */\\n boolean mo2091a(C0455b bVar, Menu menu);\\n\\n /* renamed from: a */\\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\\n\\n /* renamed from: b */\\n boolean mo2093b(C0455b bVar, Menu menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"087386378b393a0e96fa18f708ca65ce\",\n \"score\": \"0.5388258\",\n \"text\": \"public interface C4724o {\\n /* renamed from: a */\\n void mo4872a(int i, String str);\\n\\n /* renamed from: a */\\n void mo4873a(C4718l c4718l);\\n\\n /* renamed from: b */\\n void mo4874b(C4718l c4718l);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f1c9cd821755538a8a9bda91b904acc\",\n \"score\": \"0.5374842\",\n \"text\": \"public interface C7654b {\\n /* renamed from: a */\\n C7904c mo24084a();\\n\\n /* renamed from: b */\\n C7716a mo24085b();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ecc192a1fb1f66ec2d6f47439a4d9f8\",\n \"score\": \"0.5368887\",\n \"text\": \"public interface C2603a {\\n /* renamed from: a */\\n String mo1889a(String str, String str2, String str3, String str4);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e181411550d85cf1e62f33e2fa38c92f\",\n \"score\": \"0.53591394\",\n \"text\": \"public interface afp {\\n /* renamed from: a */\\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d99a3faf82861610af051d036f6e5a50\",\n \"score\": \"0.5357029\",\n \"text\": \"public interface C0615ja extends b {\\n\\n /* renamed from: c.c.a.h.b.ja$a */\\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\\n public static abstract class a extends b.a {\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0e21ee501dec77d3b013c6bba646f86\",\n \"score\": \"0.5355688\",\n \"text\": \"public interface a {\\n\\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\\n /* compiled from: DiskCache */\\n public interface C0054a {\\n a build();\\n }\\n\\n /* compiled from: DiskCache */\\n public interface b {\\n boolean a(File file);\\n }\\n\\n File a(c cVar);\\n\\n void a(c cVar, b bVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47b905976cd909c479269de128f16ffc\",\n \"score\": \"0.535506\",\n \"text\": \"public interface C0940d {\\n /* renamed from: a */\\n void mo3305a(boolean z);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d124618b4b65ff1a4c5f0386a0b0a101\",\n \"score\": \"0.5355034\",\n \"text\": \"public interface AbstractC17368c {\\n /* renamed from: a */\\n void mo84656a(float f);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40044121d9a1d21cd1c28865a7d0f30f\",\n \"score\": \"0.53494394\",\n \"text\": \"interface C0932a {\\n /* renamed from: a */\\n void mo7438a(int i, int i2);\\n\\n /* renamed from: b */\\n void mo7439b(C0933b bVar);\\n\\n /* renamed from: c */\\n void mo7440c(int i, int i2, Object obj);\\n\\n /* renamed from: d */\\n void mo7441d(C0933b bVar);\\n\\n /* renamed from: e */\\n RecyclerView.ViewHolder mo7442e(int i);\\n\\n /* renamed from: f */\\n void mo7443f(int i, int i2);\\n\\n /* renamed from: g */\\n void mo7444g(int i, int i2);\\n\\n /* renamed from: h */\\n void mo7445h(int i, int i2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b75e6696ca89a5bd713b64ef3c8ca12\",\n \"score\": \"0.5341044\",\n \"text\": \"public interface C10330c {\\n /* renamed from: a */\\n C7562b mo25041a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ffd671a8e9a13dff8feccdbbbcb8737\",\n \"score\": \"0.5326166\",\n \"text\": \"public interface C3819a {\\n /* renamed from: a */\\n void mo23214a(Message message);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b370df3daf04308a9df898bf450c4c19\",\n \"score\": \"0.53236824\",\n \"text\": \"private Proof atoAImpl(Expression a) {\\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\\n Proof one = axm1(a, a); //a->a->a\\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\\n return mpTwice(where, one, two);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2942e8417b1b46bc317e65c06b2d0abd\",\n \"score\": \"0.53199095\",\n \"text\": \"interface C1939a {\\n /* renamed from: a */\\n Bitmap mo1406a(Bitmap bitmap, float f);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"337feecf03fd626594145801b5fc943e\",\n \"score\": \"0.53177035\",\n \"text\": \"public interface a extends com.bankeen.d.b.b.a {\\n void a();\\n\\n void b();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cbbba7c7ba683d273d25272a6e29808\",\n \"score\": \"0.53112453\",\n \"text\": \"public b[] a() {\\n/* 95 */ return this.a;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad4fcb3c5e30d79489772b08711b9163\",\n \"score\": \"0.5298229\",\n \"text\": \"interface C8361a {\\n /* renamed from: b */\\n float mo18284b(ViewGroup viewGroup, View view);\\n\\n /* renamed from: c */\\n float mo18281c(ViewGroup viewGroup, View view);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":892,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"5d1ef491d34d8ac17e81018ca01aa4b2","score":"0.0","text":"@Override\n\tpublic String addEstimate(EstimateVO estimateVo) {\n\t\tString addEstimate_check = null;\n\t\tString maxEst_no = null;\n\t\t\n\t\ttry {\n\t\t\tSystem.out.println(estimateVo);\n\t\t\tthis.commonDao.insertData(\"estimate.insertEstimate\", estimateVo);\n\t\t\t\n\t\t\tmaxEst_no = (String) this.commonDao.getReadData(\"estimate.MaxEst_no\");\n\t\t\t\n\t\t\tSystem.out.println(maxEst_no);\n\t\t\tif(maxEst_no != null && maxEst_no != \"\"){\n\t\t\t\testimateVo.setEst_no(maxEst_no);\n\t\t\t\tthis.commonDao.insertData(\"estimate.insertEstimate_field\", estimateVo);\n\t\t\t}else{\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn addEstimate_check;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"5d1ef491d34d8ac17e81018ca01aa4b2\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\n\\tpublic String addEstimate(EstimateVO estimateVo) {\\n\\t\\tString addEstimate_check = null;\\n\\t\\tString maxEst_no = null;\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tSystem.out.println(estimateVo);\\n\\t\\t\\tthis.commonDao.insertData(\\\"estimate.insertEstimate\\\", estimateVo);\\n\\t\\t\\t\\n\\t\\t\\tmaxEst_no = (String) this.commonDao.getReadData(\\\"estimate.MaxEst_no\\\");\\n\\t\\t\\t\\n\\t\\t\\tSystem.out.println(maxEst_no);\\n\\t\\t\\tif(maxEst_no != null && maxEst_no != \\\"\\\"){\\n\\t\\t\\t\\testimateVo.setEst_no(maxEst_no);\\n\\t\\t\\t\\tthis.commonDao.insertData(\\\"estimate.insertEstimate_field\\\", estimateVo);\\n\\t\\t\\t}else{\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn addEstimate_check;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ef1b6c3f597a66c59960d73eadee6f25","score":"0.6904447","text":"private void apparence()\n\t\t{\n\n\t\t}","title":""},{"docid":"4862518dedb9e169c3cc620e5ebe04c5","score":"0.6696056","text":"@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}","title":""},{"docid":"651ef6275f1a33ed6582a1599cab78d2","score":"0.66211534","text":"@Override\n\tpublic void bekle() {\n\t\t\n\t}","title":""},{"docid":"0b5b11f4251ace8b3d0f5ead186f7beb","score":"0.65677965","text":"@Override\n\tpublic void comer() {\n\t\t\n\t}","title":""},{"docid":"0b5b11f4251ace8b3d0f5ead186f7beb","score":"0.65677965","text":"@Override\n\tpublic void comer() {\n\t\t\n\t}","title":""},{"docid":"c56ced5e9768caa7a88a0e86dc1d02eb","score":"0.6557507","text":"@Override\n\tpublic void pintate() {\n\t\t\n\t}","title":""},{"docid":"534c466f09845319b9edaf959a891c09","score":"0.6546559","text":"@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}","title":""},{"docid":"c2f383f280f298416bf45e72c374ecfa","score":"0.64127725","text":"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}","title":""},{"docid":"b62a7c8e0bb1090171742c543bf4b253","score":"0.63762105","text":"@Override\n\tpublic void entrenar() {\n\t\t\n\t}","title":""},{"docid":"b4d7f671f527efc3e048a88ada2fe816","score":"0.6362821","text":"@Override\n\tpublic void 말한다() {\n\t\t\n\t}","title":""},{"docid":"b4d7f671f527efc3e048a88ada2fe816","score":"0.6362821","text":"@Override\n\tpublic void 말한다() {\n\t\t\n\t}","title":""},{"docid":"b4d7f671f527efc3e048a88ada2fe816","score":"0.6362821","text":"@Override\n\tpublic void 말한다() {\n\t\t\n\t}","title":""},{"docid":"b4d7f671f527efc3e048a88ada2fe816","score":"0.6362821","text":"@Override\n\tpublic void 말한다() {\n\t\t\n\t}","title":""},{"docid":"df89b968807fade64158ed6c7401bc7a","score":"0.62550694","text":"@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}","title":""},{"docid":"761f5db0b07474bff2090f23a6693efb","score":"0.6211042","text":"private void Prodto() {\n\n\t}","title":""},{"docid":"74578344538dd194907dffc0406cacac","score":"0.6166714","text":"@Override\n public void suicide() {\n \n }","title":""},{"docid":"10ead2e988bf977cb8edb2bacf974891","score":"0.61546874","text":"@Override\n\tprotected void init() {\n\t\t\n\t}","title":""},{"docid":"a2392cc71aaf87bc730f13f37ecdb439","score":"0.6153736","text":"private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}","title":""},{"docid":"db51ad8e6f15ad35a767d84e1e1eda68","score":"0.61275035","text":"@Override\n\t\t\tpublic void cry() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"23f3a7415a3f7463e8a1124d06cf4cf2","score":"0.609125","text":"@Override\n\tpublic void valide() {\n\t\t\n\t}","title":""},{"docid":"e24a2515146ce17481b567e14f6d3258","score":"0.6075012","text":"public void retrievecart() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"fba36b6a112c0dbc3dd5aa61fe730a40","score":"0.60609394","text":"@Override\n\tpublic void subir() {\n\t\t\n\t}","title":""},{"docid":"5c8e848472fb111129ff96ea7e3eea3d","score":"0.605578","text":"@Override\n public void pintar() {\n \n }","title":""},{"docid":"280c1f1bfe3582788f566eafe40085dd","score":"0.60448366","text":"@Override\n \tpublic void init() {\n \t\t\n \t}","title":""},{"docid":"5f1811a241e41ead4415ec767e77c63d","score":"0.6023245","text":"@Override\n\tprotected void init() {\n\n\t}","title":""},{"docid":"2ba22ff158b6e941041f9460eddd0944","score":"0.5991409","text":"@Override\n public void operation() {\n \n }","title":""},{"docid":"afc2a2ef708681a23da24526386fa543","score":"0.5979341","text":"@Override\r\n\tpublic void demo4() {\n\t\t\r\n\t}","title":""},{"docid":"951638c11e887c3f81bcc83306f4e413","score":"0.5957303","text":"@Override\r\n\tpublic void trunon() {\n\r\n\t}","title":""},{"docid":"03a6fa2a6dc40f30e9f67797ea87ac0e","score":"0.5950196","text":"@Override\n\tvoid generate() {\n\t\t\n\t}","title":""},{"docid":"86b315eabc97abef1ea325b454b16656","score":"0.5934478","text":"@Override\n\tpublic void veneno() {\n\t\t\n\t}","title":""},{"docid":"4f4340003331db95a2feee0084056a02","score":"0.59033096","text":"@Override\n\tprotected void inicializar() {\n\n\t}","title":""},{"docid":"28237d6ae20e1aa35aaca12e05c950c9","score":"0.5902906","text":"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}","title":""},{"docid":"77f859c241fd5e1d997f67c3b890833e","score":"0.5886342","text":"@Override\n\tpublic void dormir() {\n\t\t\n\t}","title":""},{"docid":"c16fc3362f80f1c0559c76bf68be5792","score":"0.58815277","text":"@Override\n\tpublic void affiche() {\n\t\t\n\t}","title":""},{"docid":"a6c80a6456cfc74acaa16a2f9c3063c5","score":"0.5881057","text":"@Override\n\t\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"bf75e876384ccbd3516440064d914edb","score":"0.585407","text":"@Override\r\n\t\t\tpublic void process() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"22f2421f5b9cc11d1699c42857b4dfe9","score":"0.5850562","text":"protected void mo1582st() {\n }","title":""},{"docid":"7d4da85943fb6a6ba61dac3c9ae538b3","score":"0.58336115","text":"@Override\n\tpublic void morir() {\n\t\t\n\t}","title":""},{"docid":"d07c1f5c9d405e36c1ebf9e7e586652e","score":"0.5830177","text":"private Solution() {\n /** Not using this function**/\n }","title":""},{"docid":"fab6f4103beb4667b90da1eb3672a4fa","score":"0.5821835","text":"@Override\n\tprotected void update() {\n\n\t}","title":""},{"docid":"2be71c02c2e214eecbe2c8bd5dfe8cb0","score":"0.58195674","text":"@Override\n\tpublic void fortify() {\n\t\t\n\t}","title":""},{"docid":"4112f041d618773e927eaf69a897467b","score":"0.5817743","text":"@Override\r\n\tpublic void tempup() {\n\t\t\r\n\t}","title":""},{"docid":"d1236089c8974701d0acd37b2cad6d5b","score":"0.5809914","text":"@Override\n\tpublic void init(){\n\t\t\n\t}","title":""},{"docid":"8d9539007d174aa71cae3fdbfe4952c6","score":"0.5801801","text":"@Override \n\tpublic void init() {\n\t}","title":""},{"docid":"5783648f118108797828ca2085091ef9","score":"0.5793788","text":"@Override\n protected void initialize() {\n \n }","title":""},{"docid":"bcd5f0b16beb225527894894dcaf774f","score":"0.5789414","text":"@Override\n\tprotected void update() {\n\t\t\n\t}","title":""},{"docid":"5243b8d363dba36edfd9e64eb96cc9d5","score":"0.57880706","text":"@Override\n public int getStatus() {\n return 0;\n }","title":""},{"docid":"b096eae650ba80789eb6446d859169a3","score":"0.5776792","text":"protected void mo1586sx() {\n }","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"2ded89a6dfb4a5cfce4bf00ee7993921","score":"0.5774479","text":"@Override\n\tpublic void init() {\n\t\t\n\t}","title":""},{"docid":"17cb0676e79dae45623dcbdd6cf2af58","score":"0.5773822","text":"@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}","title":""},{"docid":"849edaa5bbcc7511e16697ad05c01712","score":"0.57732296","text":"@Override\n\tpublic void avanzar() {\n\t\t\n\t}","title":""},{"docid":"6c897821a3b00faa6e582b1c5bd5b3c6","score":"0.57677484","text":"@Override\r\n\tpublic void direksiyon() {\n\t\t\r\n\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57596046","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"81ea0647fff57e17ec5107049b4dbf8b","score":"0.57594514","text":"@Override\n public int size() {\n return 1;\n }","title":""},{"docid":"535ccad74dc29933b6b48fea680ba27c","score":"0.5755988","text":"@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}","title":""},{"docid":"1985dddb6264adc2fb069a687b25f36b","score":"0.57541007","text":"@Override\n\tpublic void groom() {\n\t\t\n\t}","title":""},{"docid":"33572cd017818797318a53dbacbc00b9","score":"0.57530975","text":"@Override\r\n\t\t\tpublic void initialize() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"2d614ed2ee5b3120f5ee8b427542ddc3","score":"0.575025","text":"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}","title":""},{"docid":"a8b768dae1b52549249069e4d6a9253f","score":"0.57492036","text":"@Override\n public int getType() {\n return 0;\n }","title":""},{"docid":"b6c53604ad2f38e9cacf958a442de4cf","score":"0.57409","text":"@Override\n\tprotected void initAfterData() {\n\n\t}","title":""},{"docid":"734b1972ec29b58535c294e3962d017d","score":"0.5736822","text":"@Override\n\tpublic void generar() {\n\t\t\n\t}","title":""},{"docid":"4f5334e4c63e1b16e38cf957e8576a25","score":"0.5735921","text":"@Override\n\tpublic void getHaned() {\n\t\t\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"b143ffd983be4c8f41702b8f934b6f32","score":"0.57337177","text":"@Override\r\n\tpublic void init() {\n\r\n\t}","title":""},{"docid":"a7ae27b45bb1a02a96ba4232264be825","score":"0.57315516","text":"@Override\n\tpublic void embarcar() {\n\t\t\n\t}","title":""},{"docid":"c6e40448cb261fef3ee1fc3a1f5373f0","score":"0.57304126","text":"@Override\n\tpublic void operation() {\n\t\t\n\t}","title":""},{"docid":"a937c607590931387a357d03c3b0eef4","score":"0.5715831","text":"@Override\n\tprotected void initialize() {\n\n\t}","title":""},{"docid":"a937c607590931387a357d03c3b0eef4","score":"0.5715831","text":"@Override\n\tprotected void initialize() {\n\n\t}","title":""},{"docid":"a937c607590931387a357d03c3b0eef4","score":"0.5715831","text":"@Override\n\tprotected void initialize() {\n\n\t}","title":""},{"docid":"ba3ff1d644c6b502f46e78f3112e984c","score":"0.57151","text":"@Override\r\n\tpublic void toss() \r\n\t{\n\t\t\r\n\t}","title":""},{"docid":"a1a79ff63f3eb784a0134fc70f7de913","score":"0.57141805","text":"@Override\n\tpublic void initdata() {\n\n\t}","title":""},{"docid":"20aa3abef3af4ea8bcf5e834227be04c","score":"0.57137775","text":"@Override\n\tpublic void Pessoa() {\n\t\t\n\t}","title":""},{"docid":"6894ea3aa25d3dee3c3dd8331b9a9cdd","score":"0.57120746","text":"@Override\n\t public int correr() {\n\t return 7;\n\t }","title":""},{"docid":"d7405dbb7f385c28de1f97859172342b","score":"0.5705621","text":"@Override\n\tpublic void affiche() {\n\t}","title":""},{"docid":"f9fa4d6203b441d4a00a824c3219ddb2","score":"0.5704342","text":"@Override\n\tprotected void doOperate() {\n\n\t}","title":""},{"docid":"b2858312446172fa25a799c5367d2043","score":"0.56896037","text":"Smelting(){\r\n\r\n\t\t}","title":""},{"docid":"2d9072b54f55f18557f92b99be58ec2f","score":"0.56886935","text":"@Override\r\n public String toString() {\n\treturn null;\r\n }","title":""},{"docid":"9f7ae565c79188ee275e5778abe03250","score":"0.56881124","text":"@Override\r\n\tprotected void initialize() {\n\r\n\t}","title":""},{"docid":"9f7ae565c79188ee275e5778abe03250","score":"0.56881124","text":"@Override\r\n\tprotected void initialize() {\n\r\n\t}","title":""},{"docid":"af5603f291fb4fc9dd83e46e0602225b","score":"0.56868714","text":"@Override\r\n\tpublic void demo3() {\n\t\t\r\n\t}","title":""},{"docid":"c937f9289f415cfdd7aefc5d621d0867","score":"0.56740177","text":"@Override\n protected void inicializar() {\n }","title":""},{"docid":"e8efac2ee01f452014413fb75d28b3a6","score":"0.5659524","text":"@Override\r\n\tpublic void initState() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}","title":""},{"docid":"1857996533d34551ac38dd34ec5213a3","score":"0.56573755","text":"public void koniecReplikacie() {\n\t\t\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""},{"docid":"9d94df716ebd35f7ec07df01763ae94c","score":"0.5655942","text":"@Override\n\tpublic void init() {\n\n\t}","title":""}],"string":"[\n {\n \"docid\": \"ef1b6c3f597a66c59960d73eadee6f25\",\n \"score\": \"0.6904447\",\n \"text\": \"private void apparence()\\n\\t\\t{\\n\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4862518dedb9e169c3cc620e5ebe04c5\",\n \"score\": \"0.6696056\",\n \"text\": \"@Override\\r\\n\\tpublic void atura() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"651ef6275f1a33ed6582a1599cab78d2\",\n \"score\": \"0.66211534\",\n \"text\": \"@Override\\n\\tpublic void bekle() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5b11f4251ace8b3d0f5ead186f7beb\",\n \"score\": \"0.65677965\",\n \"text\": \"@Override\\n\\tpublic void comer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5b11f4251ace8b3d0f5ead186f7beb\",\n \"score\": \"0.65677965\",\n \"text\": \"@Override\\n\\tpublic void comer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c56ced5e9768caa7a88a0e86dc1d02eb\",\n \"score\": \"0.6557507\",\n \"text\": \"@Override\\n\\tpublic void pintate() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"534c466f09845319b9edaf959a891c09\",\n \"score\": \"0.6546559\",\n \"text\": \"@Override\\r\\n\\tpublic void debriyaj() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f383f280f298416bf45e72c374ecfa\",\n \"score\": \"0.64127725\",\n \"text\": \"@Override\\r\\n\\tpublic void anularFact() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b62a7c8e0bb1090171742c543bf4b253\",\n \"score\": \"0.63762105\",\n \"text\": \"@Override\\n\\tpublic void entrenar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4d7f671f527efc3e048a88ada2fe816\",\n \"score\": \"0.6362821\",\n \"text\": \"@Override\\n\\tpublic void 말한다() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4d7f671f527efc3e048a88ada2fe816\",\n \"score\": \"0.6362821\",\n \"text\": \"@Override\\n\\tpublic void 말한다() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4d7f671f527efc3e048a88ada2fe816\",\n \"score\": \"0.6362821\",\n \"text\": \"@Override\\n\\tpublic void 말한다() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4d7f671f527efc3e048a88ada2fe816\",\n \"score\": \"0.6362821\",\n \"text\": \"@Override\\n\\tpublic void 말한다() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df89b968807fade64158ed6c7401bc7a\",\n \"score\": \"0.62550694\",\n \"text\": \"@Override\\r\\n\\tpublic void afficher() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"761f5db0b07474bff2090f23a6693efb\",\n \"score\": \"0.6211042\",\n \"text\": \"private void Prodto() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74578344538dd194907dffc0406cacac\",\n \"score\": \"0.6166714\",\n \"text\": \"@Override\\n public void suicide() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10ead2e988bf977cb8edb2bacf974891\",\n \"score\": \"0.61546874\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2392cc71aaf87bc730f13f37ecdb439\",\n \"score\": \"0.6153736\",\n \"text\": \"private void apparence()\\r\\n\\t\\t{\\r\\n\\t\\t//Rien\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db51ad8e6f15ad35a767d84e1e1eda68\",\n \"score\": \"0.61275035\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void cry() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23f3a7415a3f7463e8a1124d06cf4cf2\",\n \"score\": \"0.609125\",\n \"text\": \"@Override\\n\\tpublic void valide() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e24a2515146ce17481b567e14f6d3258\",\n \"score\": \"0.6075012\",\n \"text\": \"public void retrievecart() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fba36b6a112c0dbc3dd5aa61fe730a40\",\n \"score\": \"0.60609394\",\n \"text\": \"@Override\\n\\tpublic void subir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c8e848472fb111129ff96ea7e3eea3d\",\n \"score\": \"0.605578\",\n \"text\": \"@Override\\n public void pintar() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"280c1f1bfe3582788f566eafe40085dd\",\n \"score\": \"0.60448366\",\n \"text\": \"@Override\\n \\tpublic void init() {\\n \\t\\t\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f1811a241e41ead4415ec767e77c63d\",\n \"score\": \"0.6023245\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ba22ff158b6e941041f9460eddd0944\",\n \"score\": \"0.5991409\",\n \"text\": \"@Override\\n public void operation() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afc2a2ef708681a23da24526386fa543\",\n \"score\": \"0.5979341\",\n \"text\": \"@Override\\r\\n\\tpublic void demo4() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"951638c11e887c3f81bcc83306f4e413\",\n \"score\": \"0.5957303\",\n \"text\": \"@Override\\r\\n\\tpublic void trunon() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03a6fa2a6dc40f30e9f67797ea87ac0e\",\n \"score\": \"0.5950196\",\n \"text\": \"@Override\\n\\tvoid generate() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86b315eabc97abef1ea325b454b16656\",\n \"score\": \"0.5934478\",\n \"text\": \"@Override\\n\\tpublic void veneno() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f4340003331db95a2feee0084056a02\",\n \"score\": \"0.59033096\",\n \"text\": \"@Override\\n\\tprotected void inicializar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28237d6ae20e1aa35aaca12e05c950c9\",\n \"score\": \"0.5902906\",\n \"text\": \"@Override\\n\\tpublic void sacrifier() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77f859c241fd5e1d997f67c3b890833e\",\n \"score\": \"0.5886342\",\n \"text\": \"@Override\\n\\tpublic void dormir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c16fc3362f80f1c0559c76bf68be5792\",\n \"score\": \"0.58815277\",\n \"text\": \"@Override\\n\\tpublic void affiche() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c80a6456cfc74acaa16a2f9c3063c5\",\n \"score\": \"0.5881057\",\n \"text\": \"@Override\\n\\t\\n\\tprotected void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf75e876384ccbd3516440064d914edb\",\n \"score\": \"0.585407\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void process() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22f2421f5b9cc11d1699c42857b4dfe9\",\n \"score\": \"0.5850562\",\n \"text\": \"protected void mo1582st() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d4da85943fb6a6ba61dac3c9ae538b3\",\n \"score\": \"0.58336115\",\n \"text\": \"@Override\\n\\tpublic void morir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d07c1f5c9d405e36c1ebf9e7e586652e\",\n \"score\": \"0.5830177\",\n \"text\": \"private Solution() {\\n /** Not using this function**/\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fab6f4103beb4667b90da1eb3672a4fa\",\n \"score\": \"0.5821835\",\n \"text\": \"@Override\\n\\tprotected void update() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2be71c02c2e214eecbe2c8bd5dfe8cb0\",\n \"score\": \"0.58195674\",\n \"text\": \"@Override\\n\\tpublic void fortify() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4112f041d618773e927eaf69a897467b\",\n \"score\": \"0.5817743\",\n \"text\": \"@Override\\r\\n\\tpublic void tempup() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1236089c8974701d0acd37b2cad6d5b\",\n \"score\": \"0.5809914\",\n \"text\": \"@Override\\n\\tpublic void init(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d9539007d174aa71cae3fdbfe4952c6\",\n \"score\": \"0.5801801\",\n \"text\": \"@Override \\n\\tpublic void init() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5783648f118108797828ca2085091ef9\",\n \"score\": \"0.5793788\",\n \"text\": \"@Override\\n protected void initialize() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcd5f0b16beb225527894894dcaf774f\",\n \"score\": \"0.5789414\",\n \"text\": \"@Override\\n\\tprotected void update() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5243b8d363dba36edfd9e64eb96cc9d5\",\n \"score\": \"0.57880706\",\n \"text\": \"@Override\\n public int getStatus() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b096eae650ba80789eb6446d859169a3\",\n \"score\": \"0.5776792\",\n \"text\": \"protected void mo1586sx() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ded89a6dfb4a5cfce4bf00ee7993921\",\n \"score\": \"0.5774479\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17cb0676e79dae45623dcbdd6cf2af58\",\n \"score\": \"0.5773822\",\n \"text\": \"@Override\\n\\tpublic void update() {\\n\\t\\t// TODO Auto-generated method stub\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"849edaa5bbcc7511e16697ad05c01712\",\n \"score\": \"0.57732296\",\n \"text\": \"@Override\\n\\tpublic void avanzar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c897821a3b00faa6e582b1c5bd5b3c6\",\n \"score\": \"0.57677484\",\n \"text\": \"@Override\\r\\n\\tpublic void direksiyon() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"518a761521ca9f5cb8a8055b32b72cda\",\n \"score\": \"0.57596046\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81ea0647fff57e17ec5107049b4dbf8b\",\n \"score\": \"0.57594514\",\n \"text\": \"@Override\\n public int size() {\\n return 1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"535ccad74dc29933b6b48fea680ba27c\",\n \"score\": \"0.5755988\",\n \"text\": \"@Override\\r\\n\\tpublic void operacion() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1985dddb6264adc2fb069a687b25f36b\",\n \"score\": \"0.57541007\",\n \"text\": \"@Override\\n\\tpublic void groom() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33572cd017818797318a53dbacbc00b9\",\n \"score\": \"0.57530975\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void initialize() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d614ed2ee5b3120f5ee8b427542ddc3\",\n \"score\": \"0.575025\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8b768dae1b52549249069e4d6a9253f\",\n \"score\": \"0.57492036\",\n \"text\": \"@Override\\n public int getType() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6c53604ad2f38e9cacf958a442de4cf\",\n \"score\": \"0.57409\",\n \"text\": \"@Override\\n\\tprotected void initAfterData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"734b1972ec29b58535c294e3962d017d\",\n \"score\": \"0.5736822\",\n \"text\": \"@Override\\n\\tpublic void generar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f5334e4c63e1b16e38cf957e8576a25\",\n \"score\": \"0.5735921\",\n \"text\": \"@Override\\n\\tpublic void getHaned() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57337177\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7ae27b45bb1a02a96ba4232264be825\",\n \"score\": \"0.57315516\",\n \"text\": \"@Override\\n\\tpublic void embarcar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6e40448cb261fef3ee1fc3a1f5373f0\",\n \"score\": \"0.57304126\",\n \"text\": \"@Override\\n\\tpublic void operation() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a937c607590931387a357d03c3b0eef4\",\n \"score\": \"0.5715831\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a937c607590931387a357d03c3b0eef4\",\n \"score\": \"0.5715831\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a937c607590931387a357d03c3b0eef4\",\n \"score\": \"0.5715831\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba3ff1d644c6b502f46e78f3112e984c\",\n \"score\": \"0.57151\",\n \"text\": \"@Override\\r\\n\\tpublic void toss() \\r\\n\\t{\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1a79ff63f3eb784a0134fc70f7de913\",\n \"score\": \"0.57141805\",\n \"text\": \"@Override\\n\\tpublic void initdata() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20aa3abef3af4ea8bcf5e834227be04c\",\n \"score\": \"0.57137775\",\n \"text\": \"@Override\\n\\tpublic void Pessoa() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6894ea3aa25d3dee3c3dd8331b9a9cdd\",\n \"score\": \"0.57120746\",\n \"text\": \"@Override\\n\\t public int correr() {\\n\\t return 7;\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7405dbb7f385c28de1f97859172342b\",\n \"score\": \"0.5705621\",\n \"text\": \"@Override\\n\\tpublic void affiche() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9fa4d6203b441d4a00a824c3219ddb2\",\n \"score\": \"0.5704342\",\n \"text\": \"@Override\\n\\tprotected void doOperate() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2858312446172fa25a799c5367d2043\",\n \"score\": \"0.56896037\",\n \"text\": \"Smelting(){\\r\\n\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d9072b54f55f18557f92b99be58ec2f\",\n \"score\": \"0.56886935\",\n \"text\": \"@Override\\r\\n public String toString() {\\n\\treturn null;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f7ae565c79188ee275e5778abe03250\",\n \"score\": \"0.56881124\",\n \"text\": \"@Override\\r\\n\\tprotected void initialize() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f7ae565c79188ee275e5778abe03250\",\n \"score\": \"0.56881124\",\n \"text\": \"@Override\\r\\n\\tprotected void initialize() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af5603f291fb4fc9dd83e46e0602225b\",\n \"score\": \"0.56868714\",\n \"text\": \"@Override\\r\\n\\tpublic void demo3() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c937f9289f415cfdd7aefc5d621d0867\",\n \"score\": \"0.56740177\",\n \"text\": \"@Override\\n protected void inicializar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8efac2ee01f452014413fb75d28b3a6\",\n \"score\": \"0.5659524\",\n \"text\": \"@Override\\r\\n\\tpublic void initState() {\\r\\n\\t\\t// TODO Auto-generated method stub\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1857996533d34551ac38dd34ec5213a3\",\n \"score\": \"0.56573755\",\n \"text\": \"public void koniecReplikacie() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94df716ebd35f7ec07df01763ae94c\",\n \"score\": \"0.5655942\",\n \"text\": \"@Override\\n\\tpublic void init() {\\n\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":893,"cells":{"query_id":{"kind":"string","value":"2f0e08327892afddea54946bd0f29ebf"},"query":{"kind":"string","value":"Sets the appointmentRequestedPayRate attribute."},"positive_passages":{"kind":"list like","value":[{"docid":"cb981552376b8cf8ab5c8396f0738283","score":"0.81258005","text":"public void setAppointmentRequestedPayRate(BigDecimal appointmentRequestedPayRate) {\n this.appointmentRequestedPayRate = appointmentRequestedPayRate;\n }","title":""}],"string":"[\n {\n \"docid\": \"cb981552376b8cf8ab5c8396f0738283\",\n \"score\": \"0.81258005\",\n \"text\": \"public void setAppointmentRequestedPayRate(BigDecimal appointmentRequestedPayRate) {\\n this.appointmentRequestedPayRate = appointmentRequestedPayRate;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"0b9dff4f92d95510fb24d9fe7c6f0ed5","score":"0.6808781","text":"public BigDecimal getAppointmentRequestedPayRate() {\n return appointmentRequestedPayRate;\n }","title":""},{"docid":"fcacba1c1bddff38b86aaee9d1706a30","score":"0.6565741","text":"public void setAppointmentRequestedAmount(KualiInteger appointmentRequestedAmount) {\n this.appointmentRequestedAmount = appointmentRequestedAmount;\n }","title":""},{"docid":"809aa8df0a0eed09a50919899d26dcef","score":"0.58123845","text":"public void setPayRate(double payRate) { this.payRate = payRate; }","title":""},{"docid":"5daf50885246ea0ddcd3e52eb743f818","score":"0.57122135","text":"public Informer reqInformVentilationAirFlowRateSetting() {\n\t\t\treqInformProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);\n\t\t\treturn this;\n\t\t}","title":""},{"docid":"f8536a80e076eb78cd1ef680a612470f","score":"0.5609811","text":"public void setAppointmentRequestedCsfAmount(KualiInteger appointmentRequestedCsfAmount) {\n this.appointmentRequestedCsfAmount = appointmentRequestedCsfAmount;\n }","title":""},{"docid":"296d1a8f2bfdd3912c7669b7d89feea1","score":"0.55794746","text":"public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) {\n this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity;\n }","title":""},{"docid":"dfde92965a4dbdb61c6571b7c61f6aed","score":"0.55563366","text":"public KualiInteger getAppointmentRequestedAmount() {\n return appointmentRequestedAmount;\n }","title":""},{"docid":"e55fb5e2ff2ee23e3f3ec4c794446eca","score":"0.5551417","text":"public void setAppointmentRequestedTimePercent(BigDecimal appointmentRequestedTimePercent) {\n this.appointmentRequestedTimePercent = appointmentRequestedTimePercent;\n }","title":""},{"docid":"cf8ef91a29653a5f9ec645064c8b317a","score":"0.53752947","text":"public Getter reqGetVentilationAirFlowRateSetting() {\n\t\t\treqGetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);\n\t\t\treturn this;\n\t\t}","title":""},{"docid":"c11d4fdcac8847e22459b4dda08fe236","score":"0.53490305","text":"public Setter reqSetVentilationAirFlowRateSetting(byte[] edt) {\n\t\t\treqSetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING, edt);\n\t\t\treturn this;\n\t\t}","title":""},{"docid":"553f3ed17fd0b18560e078c37b0c4218","score":"0.5277977","text":"public void setMinimumBearerRate(float rate);","title":""},{"docid":"c8409374953ce5fa84314ff63a9b9ef4","score":"0.5247723","text":"public void setRate(int r) {\n\t\trate = r;\r\n\t}","title":""},{"docid":"9c958c34fe14e69bad47a986ecd693d5","score":"0.5179722","text":"public static void setCommissionRate(double rate) {\n commissionRate = rate;\n }","title":""},{"docid":"e7706f966eb0085ec2b81d978d3abc76","score":"0.5111874","text":"public void setAppointmentTotalIntendedAmount(KualiInteger appointmentTotalIntendedAmount) {\n this.appointmentTotalIntendedAmount = appointmentTotalIntendedAmount;\n }","title":""},{"docid":"852eb7d8eb03214df1e433c50c21afc5","score":"0.50971514","text":"@Override\r\n\tpublic void setRate(int rateValue) {\n\t\tthis.rateValue=rateValue;\r\n\t}","title":""},{"docid":"b1ff889d124abbd9072e2d3f97d4213e","score":"0.5084252","text":"@Override\n\tpublic void setRate() {\n\t\tthis.rate=getBaseRate()* 0.15;\n\t}","title":""},{"docid":"1328df1dc8945524ea86d8cbfd71324d","score":"0.50560987","text":"public void setRate(int value) {\r\n this.rate = value;\r\n }","title":""},{"docid":"f317b85d6ad50596a71465be7da77273","score":"0.50286996","text":"@Override\n public void setRate(int newRate) {\n int oldRate = rate.get();\n rate.set(newRate);\n\n Notification n = new AttributeChangeNotification(this,\n sequenceNumber++, System.currentTimeMillis(),\n \"Trx Rate Changed\", \"Rate\", \"int\",\n oldRate, rate.get());\n\n sendNotification(n);\n logger.info(\"TRX Rate changed\");\n }","title":""},{"docid":"d59f97be953cba1b16642a8a74dc082e","score":"0.50203186","text":"public void setRate(java.math.BigDecimal rate) {\r\n this.rate = rate;\r\n }","title":""},{"docid":"c3d42743f5d8aa42d212c4daa3ef71cc","score":"0.50040376","text":"public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) {\n this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity;\n }","title":""},{"docid":"9e21fd375c84610c9141f92e7fa85efa","score":"0.49934885","text":"public void setAnnualRate(String annualRate) {\r\n this.annualRate = annualRate;\r\n }","title":""},{"docid":"21991d1c901e23a2a132dd21907d8356","score":"0.49852997","text":"void setTotalPolicyPremiumPaid(CurrencyAmount value);","title":""},{"docid":"62735403d7143fd2668d2bf48e588a30","score":"0.49707735","text":"public void setRequestedAmount(BigInteger requestedAmount) {\n this.requestedAmount = requestedAmount;\n }","title":""},{"docid":"196215f3e4fc32d26296be824c0c5f1f","score":"0.49462065","text":"public void setInteractionRate(double param){\r\n \r\n this.localInteractionRate=param;\r\n \r\n\r\n }","title":""},{"docid":"5f42b1e0be0f81e7ace29f38d099f90b","score":"0.4943898","text":"public void setMinBrakingRate(int minBrakingRate) {\r\n\t\tminBrakingRate_ = minBrakingRate;\r\n\t}","title":""},{"docid":"f162546eb89b369898ffe07919b12891","score":"0.4941534","text":"public void setIsRateTaxInclusive(boolean value) {\n this.isRateTaxInclusive = value;\n }","title":""},{"docid":"8abfda77ea282257c21a0a8bd6754244","score":"0.4933829","text":"public void setPenaltyAmt(String penaltyAmt) {\r\n this.penaltyAmt = penaltyAmt;\r\n }","title":""},{"docid":"802b1c31d91183a4e0fafcf9e37a36b4","score":"0.49244896","text":"public void setRate(java.math.BigDecimal rate) {\n\t\tthis.rate = rate;\n\t}","title":""},{"docid":"014f5d3ac3d9db1bdd96d1b16e55a83b","score":"0.49004382","text":"void setTotalPolicyPremiumBilled(CurrencyAmount value);","title":""},{"docid":"2625a300b0ef040d478676ac017ad088","score":"0.4883799","text":"public void setAppointmentRequestedCsfTimePercent(BigDecimal appointmentRequestedCsfTimePercent) {\n this.appointmentRequestedCsfTimePercent = appointmentRequestedCsfTimePercent;\n }","title":""},{"docid":"c1c189bf987488c3eb5ba40a4deeeb8a","score":"0.48554447","text":"public BigDecimal getAppointmentRequestedTimePercent() {\n return appointmentRequestedTimePercent;\n }","title":""},{"docid":"b2bbbecaa4d8d1e7fab6c4d31c279558","score":"0.48238212","text":"@Override\n\tpublic void setRate() {\n\t\trate = getBaseRate() - .25;\n\t}","title":""},{"docid":"351c40f100c1e6eec1a682e8320fc8c8","score":"0.47873425","text":"public void setRate(BigDecimal rate) {\n this.rate = rate;\n }","title":""},{"docid":"c3d89ea0c4d92133842a652e6595362a","score":"0.47830698","text":"public KualiInteger getAppointmentRequestedCsfAmount() {\n return appointmentRequestedCsfAmount;\n }","title":""},{"docid":"e11660528cda7699ae36a1d4bd432d99","score":"0.47741377","text":"public void setRequesterPaysEnabled(boolean isRequesterPays) {\r\n this.isRequesterPaysEnabled = isRequesterPays;\r\n }","title":""},{"docid":"5486a8abeb7e8081c10fab983492ec10","score":"0.4767102","text":"public void setIdPersonRequestOlympiadAward(int value) {\n this.idPersonRequestOlympiadAward = value;\n }","title":""},{"docid":"69b75359dc3b13ed42749df5996f523e","score":"0.47639593","text":"protected abstract void setInterestRate();","title":""},{"docid":"04d0ce99847c23cfba6379c7c6b88a85","score":"0.47617665","text":"public void setDeliveryRate(double param){\r\n \r\n this.localDeliveryRate=param;\r\n \r\n\r\n }","title":""},{"docid":"05d721cf6c570cd6519d034aecbdd5d1","score":"0.47464257","text":"public void setMinPayment(int newMinPayment) {\n this.minPayment = newMinPayment;\n }","title":""},{"docid":"06ee2818ecad3d592b0374007cfed6ce","score":"0.47401786","text":"public void setAnnualInterestRate ( double newAnnualInterestRate){\n\t\tannualInterestRate = newAnnualInterestRate;\n\t}","title":""},{"docid":"380dc2ef0b7f7e39c0db985bb4fbe971","score":"0.47291103","text":"public Builder setMinNextBidIncrementRate(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n minNextBidIncrementRate_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"15c1eb988bae5ca5f381d6b1208b2969","score":"0.47162345","text":"@Override\n public void setRateValue(double value) {\n\n }","title":""},{"docid":"88a405f35d55962a1032e5a74c702708","score":"0.46965498","text":"public final void setRateValue(int rateVal) {\n this.rateValue = rateVal;\n }","title":""},{"docid":"9386b94a40b9d2f3e43c59e460cb0b20","score":"0.4671687","text":"public void setRate(String rate) {\r\n this.rate = rate;\r\n }","title":""},{"docid":"a90368f7cb2f08a9137c43fb02522bb8","score":"0.46670413","text":"public void setFRate(int fRate) {\r\n this.fRate = fRate;\r\n }","title":""},{"docid":"f76013aaa4c740b72a2c23ad31c63eff","score":"0.46660376","text":"public void setXrate (String _xrate) {\n\t\tthis._xrate = _xrate;\n\t}","title":""},{"docid":"2cd7c354973bad3364249452209555c0","score":"0.46628758","text":"public void setIntake(double rate) {\n\t\tsetIntakeSeparate(rate, -rate);\n\t}","title":""},{"docid":"6f2414ed3776f5b406830b3be1ec4282","score":"0.466136","text":"public void setPaid(double paid) {\r\n this.paid = paid;\r\n }","title":""},{"docid":"993ef0d1036506dd093ba6d56ee39788","score":"0.46318233","text":"public void setIsRequested(boolean isRequested) {\n this.isRequested = isRequested;\n }","title":""},{"docid":"d04f68acb4a02a8220790e133259e082","score":"0.46108118","text":"public void setAppRequest(String appRequest) {\n this.appRequest = appRequest;\n }","title":""},{"docid":"f3f8299965146ebe06faba628c286a88","score":"0.46077207","text":"public void updateRate() {\n rateData = limitStrategy.updateRate(rateData, requestLimit, durationMs);\n }","title":""},{"docid":"33afe11b60fddeb4411d9004b5ba9598","score":"0.46027157","text":"public void adjustPayRate(StaffConsultant c, int newPayRate ) {\n\t\ttry { \n\t\t\tif ( log.isInfoEnabled() ) {\n\t\t\t\t\tdouble percentChange = Math.abs(newPayRate - c.getPayRate())*10000.0/c.getPayRate()/100;\n\t\t\t\t\tfinal String msg = \"Percent change is =\" + percentChange ;\n\t\t\t\t\tlog.info (msg);\n\t\t\t}\n\t\t\tc.setPayRate(newPayRate);\n\t\t\tlog.info(\"approved raise for \" + c.getName());\n\t\t\t} catch ( final PropertyVetoException pve) {\n\t\t\t\t\t\t\t\t\n\t\t}\n\n\t\t\n\t}","title":""},{"docid":"f4336efe09b25f36b552bb18e1221d61","score":"0.4594388","text":"void setTotalPolicyPremiumRefunded(CurrencyAmount value);","title":""},{"docid":"e08ed68c22a6cd9c74a49bff90542f66","score":"0.4593941","text":"public DankContainer setInputRate (long rate) {\r\n \r\n this.inputRate = rate;\r\n return this;\r\n }","title":""},{"docid":"e712dc7d15a78aa07d73a1efb9372747","score":"0.4589748","text":"public void setClickthroughRate(double param){\r\n \r\n this.localClickthroughRate=param;\r\n \r\n\r\n }","title":""},{"docid":"c4a2c9340961e205c853fa1fba2665a1","score":"0.45840496","text":"public void setAvgRate(String userRate)\r\n\t{\r\n\t\tthis.avgRate=Double.parseDouble(userRate);\r\n\t}","title":""},{"docid":"60ab0388f6d600d2a9d6d04d849a380e","score":"0.4583537","text":"public void setBuyerRate (boolean buyerRate) {\n\t\tthis.buyerRate = buyerRate;\n\t}","title":""},{"docid":"c6506250125a6f80db451f5d3c1f00f4","score":"0.4580055","text":"public synchronized void setAgreed(boolean agreed)\n {\n this.m_agreed = agreed;\n stopTimeout();\n }","title":""},{"docid":"2725fc086d58537ebeffeebebf01b7b8","score":"0.45730433","text":"public boolean hasValidPayRateOrAnnualAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding, MessageMap errorMap);","title":""},{"docid":"12f0db9dc3ee37883e3008adb6642c55","score":"0.45704168","text":"public void setDateRequested(java.util.Calendar dateRequested) {\n this.dateRequested = dateRequested;\n }","title":""},{"docid":"e9973f839f32fcf6cb886fd0e3d72d4b","score":"0.45694172","text":"public void setAgentAppointed(boolean agentAppointed)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENTAPPOINTED$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENTAPPOINTED$4);\n }\n target.setBooleanValue(agentAppointed);\n }\n }","title":""},{"docid":"93024ba64268e4b39f1c9d082c4bc4ed","score":"0.45636156","text":"@Override\n\tpublic void calculatePayment() {\n\t\tsuper.calculatePayment();\n\t\tsuper.setPayPerPeriod(super.getPayPerPeriod() + bonus/(double)PAYPERIODSPERYEAR);\n\t\t\n\t}","title":""},{"docid":"d94be3fec3f9cb2f9d3ef65f53d6b497","score":"0.4563011","text":"public void setAppointmentTotalIntendedFteQuantity(BigDecimal appointmentTotalIntendedFteQuantity) {\n this.appointmentTotalIntendedFteQuantity = appointmentTotalIntendedFteQuantity;\n }","title":""},{"docid":"7f4383a5a9c14b78300e03035918061d","score":"0.45620987","text":"public PreApprovalRequestBuilder withAmountPerPayment(BigDecimal amountPerPayment) {\n this.amountPerPayment = amountPerPayment;\n return this;\n }","title":""},{"docid":"04423683869e876161af3f7d71839573","score":"0.45581755","text":"private void setDefaultRate(SettingProto value) {\n if (value != null) {\n this.defaultRate_ = value;\n this.bitField0_ |= 1;\n return;\n }\n throw new NullPointerException();\n }","title":""},{"docid":"4ff2e760d309dfb9992ee192c0520048","score":"0.45481408","text":"public void setMinAccelerationRate(int minAccelerationRate) {\r\n\t\tminAccelerationRate_ = minAccelerationRate;\r\n\t}","title":""},{"docid":"ab576af85d1466a42d82cf968b8f597f","score":"0.45354682","text":"public void setfRate(int fRate) \r\n\t{\r\n\t\tswitch(fRate)\r\n\t\t{\r\n\t\t\tcase 1: this.fRate = filmRate.G; break;\r\n\t\t\tcase 2: this.fRate = filmRate.PG; break;\r\n\t\t\tcase 3: this.fRate = filmRate.PG13; break;\r\n\t\t\tcase 4: this.fRate = filmRate.NC16; break;\r\n\t\t\tcase 5: this.fRate = filmRate.M18; break;\r\n\t\t\tcase 6: this.fRate = filmRate.R21; break;\r\n\t\t\tdefault: System.out.println(\"Invalid input\");\r\n\t\t}\r\n\t}","title":""},{"docid":"92a857ec5bd8986b3e1f3734c53be0c6","score":"0.4535296","text":"public BigDecimal getAppointmentRequestedFteQuantity() {\n return appointmentRequestedFteQuantity;\n }","title":""},{"docid":"75ab1b40f855ce2a56a7254a1f0ca809","score":"0.45030752","text":"public void setRequestAdvice(com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.RequestAdvice requestAdvice) {\n this.requestAdvice = requestAdvice;\n }","title":""},{"docid":"8e4bdc302be008317c8373999119e492","score":"0.448711","text":"public DialerCampaignConfigChangeCampaign abandonRate(BigDecimal abandonRate) {\n this.abandonRate = abandonRate;\n return this;\n }","title":""},{"docid":"614e207daf762bedadb87a775b56fd12","score":"0.44847122","text":"public void setAnnualPercentageRate(double value) {\n this.annualPercentageRate = value;\n }","title":""},{"docid":"bb173985590feac924f1bd66afdf672c","score":"0.4482417","text":"public void setfRate(String fRate)\r\n\t{\r\n\t\tthis.fRate = filmRate.valueOf(fRate);\r\n\t}","title":""},{"docid":"e8caafcbf323be3e6ff8445681840d0d","score":"0.44708827","text":"public void setExchangeRate(java.math.BigDecimal exchangeRate) {\n this.exchangeRate = exchangeRate;\n }","title":""},{"docid":"cecaa1b49c0cf6e3e55d663a3bc143e8","score":"0.44661477","text":"public void setPayPoints(Integer payPoints) {\n this.payPoints = payPoints;\n }","title":""},{"docid":"7d5eca57bba92d81afad0a7883dc7273","score":"0.44640982","text":"public void setTaxRate(String taxRate) {\n this.taxRate = taxRate;\n }","title":""},{"docid":"f93beb3641b20fb6a0f118bc57e6e92a","score":"0.44608623","text":"public void setLatePayPenalty(int newPenalty) {\n this.latePaymentPenalty = newPenalty;\n }","title":""},{"docid":"8d06bc7e7c948b7912d2feb13bff7a79","score":"0.44583604","text":"public void setRating(int rating) {\n ValidationHelper.checkNumberInBounds(rating, MIN_RATING_VALUE, MAX_RATING_VALUE);\n this.rating = rating;\n }","title":""},{"docid":"7df9d6b31d6477ad8fdfd1ca5f336e35","score":"0.44495547","text":"public void setPayable(double amount) {\r\n this.payable = amount;\r\n }","title":""},{"docid":"442ab1e205c6976e27df5242a8df6fb5","score":"0.4447579","text":"public void setHourlyRate(double newHourlyRate) {\r\n\t\tif(validate(newHourlyRate)) {\r\n\t\t\thourly_rate = newHourlyRate;\r\n\t\t}\t\t\t\r\n\t}","title":""},{"docid":"c514ca21f8486c5b6d7c3ae06d980e52","score":"0.44271344","text":"public void raiseRate(float inc)\n\t{\n\t\tthis.payrate= this.payrate + inc;\t\t\n\t\t\n\t}","title":""},{"docid":"1f7cdad9cc86764ba4ae4a6e9acb5ef2","score":"0.44227222","text":"public void setImpReqCode(String impReqCode);","title":""},{"docid":"fd666d5ffeac2d01699ad28fe22458c2","score":"0.4418867","text":"public void xsetAgentAppointed(au.gov.asic.types.TrueType agentAppointed)\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.TrueType target = null;\n target = (au.gov.asic.types.TrueType)get_store().find_element_user(AGENTAPPOINTED$4, 0);\n if (target == null)\n {\n target = (au.gov.asic.types.TrueType)get_store().add_element_user(AGENTAPPOINTED$4);\n }\n target.set(agentAppointed);\n }\n }","title":""},{"docid":"7fc859e8ac82413b4a6f17029d392362","score":"0.4417283","text":"@Override\n\tpublic void setRating(double rating) {\n\t\tsuper.setRating(rating);\n\t}","title":""},{"docid":"a0a8d9c31ebe7228d052773286c1a997","score":"0.4416679","text":"public void setRateType(typekey.RateType value);","title":""},{"docid":"6884bd50ce13d255316193a7510077e8","score":"0.44118127","text":"public void setRequesterIp(String requesterIP) {\n this.requesterIp = requesterIP;\n }","title":""},{"docid":"50365c2cacca0451ff43ce83a191f67a","score":"0.44115755","text":"public void setApprover(Integer approver) {\n this.approver = approver;\n }","title":""},{"docid":"4b44c651350c43463a0f798ccd2474fa","score":"0.4409016","text":"private AccessRate newSurveyAccessRate(final Survey survey,\n final String ipAddress, final Boolean rate) {\n return this.newAccessRateItem(null, null, survey, ipAddress, rate);\n }","title":""},{"docid":"2c22ab33d7e9c2797b8a7a89304b5531","score":"0.44084913","text":"void setTotalClaimPaymentsMade(CurrencyAmount value);","title":""},{"docid":"e48e71687f87e48b2938da240974ee26","score":"0.44000864","text":"public void setAskingPrice(Double askingPrice) {\n\t\tthis.askingPrice = askingPrice;\n\t}","title":""},{"docid":"bd5f627f844acc824dda561b9532af51","score":"0.43997982","text":"public BigDecimal getAppointmentRequestedCsfTimePercent() {\n return appointmentRequestedCsfTimePercent;\n }","title":""},{"docid":"bf8700a3e171f7435b8d1598dd27226f","score":"0.43939131","text":"public void setAppointmentTimeStart(Date appointmentTimeStart) {\r\n\t\tthis.appointmentTimeStart = appointmentTimeStart;\r\n\t}","title":""},{"docid":"bb3929d9cc9ef11432f98f4e7165be70","score":"0.43911603","text":"public void setRequestACI(com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.RequestACI requestACI) {\n this.requestACI = requestACI;\n }","title":""},{"docid":"d1c38b9b5e7dca04cf7fd7f8cb97116b","score":"0.43907678","text":"public void awardBonus(double execBonus) {\r\n\t\tthis.bonus = execBonus;\r\n\t}","title":""},{"docid":"b8f8531b6f6de4836c4ebe8adcaf75c9","score":"0.43793964","text":"public void setTimeRequested(java.lang.Integer timeRequested) {\n this.timeRequested = timeRequested;\n }","title":""},{"docid":"182d98e5cdd1b6a39dce5d18f3d48782","score":"0.43701136","text":"public int selectAppointment(int appointmentAmount) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn 0;\r\n\t}","title":""},{"docid":"001b33c0ae5d3b7373c590cee8f8905d","score":"0.43695086","text":"public void setBikePrice(double x) {bikeDailyRate = x;}","title":""},{"docid":"1b3141d777e8659b9a5d671b718a628d","score":"0.43565196","text":"public void setEmployeePlusOneClaimCostRate(com.vsp.xl.dto.v003.CurrencyValue employeePlusOneClaimCostRate) {\n this.employeePlusOneClaimCostRate = employeePlusOneClaimCostRate;\n }","title":""},{"docid":"d6b636d1a99e3369d7db453073952fca","score":"0.435322","text":"private void setPayRaise ()\r\n {\r\n Random randomizer = new Random ();\r\n payRaise = (randomizer.nextInt (5) + 1) * 10000;\r\n }","title":""},{"docid":"8b84ae4d784d61e0b0c80d431889aebd","score":"0.4352292","text":"public void testSetCurrentPaymentAccrualAmount() {\r\n instance.setCurrentPaymentAccrualAmount(1);\r\n assertEquals(\"Failed to setCurrentPaymentAccrualAmount correctly.\", 1,\r\n instance.getCurrentPaymentAccrualAmount());\r\n }","title":""},{"docid":"96768a41112783fa44c6107ee157796f","score":"0.43460417","text":"protected void setMessageRate(int messageRate)\n {\n this.messageRate = messageRate;\n }","title":""}],"string":"[\n {\n \"docid\": \"0b9dff4f92d95510fb24d9fe7c6f0ed5\",\n \"score\": \"0.6808781\",\n \"text\": \"public BigDecimal getAppointmentRequestedPayRate() {\\n return appointmentRequestedPayRate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcacba1c1bddff38b86aaee9d1706a30\",\n \"score\": \"0.6565741\",\n \"text\": \"public void setAppointmentRequestedAmount(KualiInteger appointmentRequestedAmount) {\\n this.appointmentRequestedAmount = appointmentRequestedAmount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"809aa8df0a0eed09a50919899d26dcef\",\n \"score\": \"0.58123845\",\n \"text\": \"public void setPayRate(double payRate) { this.payRate = payRate; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5daf50885246ea0ddcd3e52eb743f818\",\n \"score\": \"0.57122135\",\n \"text\": \"public Informer reqInformVentilationAirFlowRateSetting() {\\n\\t\\t\\treqInformProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);\\n\\t\\t\\treturn this;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8536a80e076eb78cd1ef680a612470f\",\n \"score\": \"0.5609811\",\n \"text\": \"public void setAppointmentRequestedCsfAmount(KualiInteger appointmentRequestedCsfAmount) {\\n this.appointmentRequestedCsfAmount = appointmentRequestedCsfAmount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"296d1a8f2bfdd3912c7669b7d89feea1\",\n \"score\": \"0.55794746\",\n \"text\": \"public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) {\\n this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfde92965a4dbdb61c6571b7c61f6aed\",\n \"score\": \"0.55563366\",\n \"text\": \"public KualiInteger getAppointmentRequestedAmount() {\\n return appointmentRequestedAmount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e55fb5e2ff2ee23e3f3ec4c794446eca\",\n \"score\": \"0.5551417\",\n \"text\": \"public void setAppointmentRequestedTimePercent(BigDecimal appointmentRequestedTimePercent) {\\n this.appointmentRequestedTimePercent = appointmentRequestedTimePercent;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf8ef91a29653a5f9ec645064c8b317a\",\n \"score\": \"0.53752947\",\n \"text\": \"public Getter reqGetVentilationAirFlowRateSetting() {\\n\\t\\t\\treqGetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);\\n\\t\\t\\treturn this;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c11d4fdcac8847e22459b4dda08fe236\",\n \"score\": \"0.53490305\",\n \"text\": \"public Setter reqSetVentilationAirFlowRateSetting(byte[] edt) {\\n\\t\\t\\treqSetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING, edt);\\n\\t\\t\\treturn this;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"553f3ed17fd0b18560e078c37b0c4218\",\n \"score\": \"0.5277977\",\n \"text\": \"public void setMinimumBearerRate(float rate);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8409374953ce5fa84314ff63a9b9ef4\",\n \"score\": \"0.5247723\",\n \"text\": \"public void setRate(int r) {\\n\\t\\trate = r;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c958c34fe14e69bad47a986ecd693d5\",\n \"score\": \"0.5179722\",\n \"text\": \"public static void setCommissionRate(double rate) {\\n commissionRate = rate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7706f966eb0085ec2b81d978d3abc76\",\n \"score\": \"0.5111874\",\n \"text\": \"public void setAppointmentTotalIntendedAmount(KualiInteger appointmentTotalIntendedAmount) {\\n this.appointmentTotalIntendedAmount = appointmentTotalIntendedAmount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"852eb7d8eb03214df1e433c50c21afc5\",\n \"score\": \"0.50971514\",\n \"text\": \"@Override\\r\\n\\tpublic void setRate(int rateValue) {\\n\\t\\tthis.rateValue=rateValue;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ff889d124abbd9072e2d3f97d4213e\",\n \"score\": \"0.5084252\",\n \"text\": \"@Override\\n\\tpublic void setRate() {\\n\\t\\tthis.rate=getBaseRate()* 0.15;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1328df1dc8945524ea86d8cbfd71324d\",\n \"score\": \"0.50560987\",\n \"text\": \"public void setRate(int value) {\\r\\n this.rate = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f317b85d6ad50596a71465be7da77273\",\n \"score\": \"0.50286996\",\n \"text\": \"@Override\\n public void setRate(int newRate) {\\n int oldRate = rate.get();\\n rate.set(newRate);\\n\\n Notification n = new AttributeChangeNotification(this,\\n sequenceNumber++, System.currentTimeMillis(),\\n \\\"Trx Rate Changed\\\", \\\"Rate\\\", \\\"int\\\",\\n oldRate, rate.get());\\n\\n sendNotification(n);\\n logger.info(\\\"TRX Rate changed\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d59f97be953cba1b16642a8a74dc082e\",\n \"score\": \"0.50203186\",\n \"text\": \"public void setRate(java.math.BigDecimal rate) {\\r\\n this.rate = rate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3d42743f5d8aa42d212c4daa3ef71cc\",\n \"score\": \"0.50040376\",\n \"text\": \"public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) {\\n this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e21fd375c84610c9141f92e7fa85efa\",\n \"score\": \"0.49934885\",\n \"text\": \"public void setAnnualRate(String annualRate) {\\r\\n this.annualRate = annualRate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21991d1c901e23a2a132dd21907d8356\",\n \"score\": \"0.49852997\",\n \"text\": \"void setTotalPolicyPremiumPaid(CurrencyAmount value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62735403d7143fd2668d2bf48e588a30\",\n \"score\": \"0.49707735\",\n \"text\": \"public void setRequestedAmount(BigInteger requestedAmount) {\\n this.requestedAmount = requestedAmount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"196215f3e4fc32d26296be824c0c5f1f\",\n \"score\": \"0.49462065\",\n \"text\": \"public void setInteractionRate(double param){\\r\\n \\r\\n this.localInteractionRate=param;\\r\\n \\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f42b1e0be0f81e7ace29f38d099f90b\",\n \"score\": \"0.4943898\",\n \"text\": \"public void setMinBrakingRate(int minBrakingRate) {\\r\\n\\t\\tminBrakingRate_ = minBrakingRate;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f162546eb89b369898ffe07919b12891\",\n \"score\": \"0.4941534\",\n \"text\": \"public void setIsRateTaxInclusive(boolean value) {\\n this.isRateTaxInclusive = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8abfda77ea282257c21a0a8bd6754244\",\n \"score\": \"0.4933829\",\n \"text\": \"public void setPenaltyAmt(String penaltyAmt) {\\r\\n this.penaltyAmt = penaltyAmt;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"802b1c31d91183a4e0fafcf9e37a36b4\",\n \"score\": \"0.49244896\",\n \"text\": \"public void setRate(java.math.BigDecimal rate) {\\n\\t\\tthis.rate = rate;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"014f5d3ac3d9db1bdd96d1b16e55a83b\",\n \"score\": \"0.49004382\",\n \"text\": \"void setTotalPolicyPremiumBilled(CurrencyAmount value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2625a300b0ef040d478676ac017ad088\",\n \"score\": \"0.4883799\",\n \"text\": \"public void setAppointmentRequestedCsfTimePercent(BigDecimal appointmentRequestedCsfTimePercent) {\\n this.appointmentRequestedCsfTimePercent = appointmentRequestedCsfTimePercent;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1c189bf987488c3eb5ba40a4deeeb8a\",\n \"score\": \"0.48554447\",\n \"text\": \"public BigDecimal getAppointmentRequestedTimePercent() {\\n return appointmentRequestedTimePercent;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2bbbecaa4d8d1e7fab6c4d31c279558\",\n \"score\": \"0.48238212\",\n \"text\": \"@Override\\n\\tpublic void setRate() {\\n\\t\\trate = getBaseRate() - .25;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"351c40f100c1e6eec1a682e8320fc8c8\",\n \"score\": \"0.47873425\",\n \"text\": \"public void setRate(BigDecimal rate) {\\n this.rate = rate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3d89ea0c4d92133842a652e6595362a\",\n \"score\": \"0.47830698\",\n \"text\": \"public KualiInteger getAppointmentRequestedCsfAmount() {\\n return appointmentRequestedCsfAmount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e11660528cda7699ae36a1d4bd432d99\",\n \"score\": \"0.47741377\",\n \"text\": \"public void setRequesterPaysEnabled(boolean isRequesterPays) {\\r\\n this.isRequesterPaysEnabled = isRequesterPays;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5486a8abeb7e8081c10fab983492ec10\",\n \"score\": \"0.4767102\",\n \"text\": \"public void setIdPersonRequestOlympiadAward(int value) {\\n this.idPersonRequestOlympiadAward = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69b75359dc3b13ed42749df5996f523e\",\n \"score\": \"0.47639593\",\n \"text\": \"protected abstract void setInterestRate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04d0ce99847c23cfba6379c7c6b88a85\",\n \"score\": \"0.47617665\",\n \"text\": \"public void setDeliveryRate(double param){\\r\\n \\r\\n this.localDeliveryRate=param;\\r\\n \\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05d721cf6c570cd6519d034aecbdd5d1\",\n \"score\": \"0.47464257\",\n \"text\": \"public void setMinPayment(int newMinPayment) {\\n this.minPayment = newMinPayment;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06ee2818ecad3d592b0374007cfed6ce\",\n \"score\": \"0.47401786\",\n \"text\": \"public void setAnnualInterestRate ( double newAnnualInterestRate){\\n\\t\\tannualInterestRate = newAnnualInterestRate;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"380dc2ef0b7f7e39c0db985bb4fbe971\",\n \"score\": \"0.47291103\",\n \"text\": \"public Builder setMinNextBidIncrementRate(\\n java.lang.String value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n \\n minNextBidIncrementRate_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15c1eb988bae5ca5f381d6b1208b2969\",\n \"score\": \"0.47162345\",\n \"text\": \"@Override\\n public void setRateValue(double value) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88a405f35d55962a1032e5a74c702708\",\n \"score\": \"0.46965498\",\n \"text\": \"public final void setRateValue(int rateVal) {\\n this.rateValue = rateVal;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9386b94a40b9d2f3e43c59e460cb0b20\",\n \"score\": \"0.4671687\",\n \"text\": \"public void setRate(String rate) {\\r\\n this.rate = rate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a90368f7cb2f08a9137c43fb02522bb8\",\n \"score\": \"0.46670413\",\n \"text\": \"public void setFRate(int fRate) {\\r\\n this.fRate = fRate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f76013aaa4c740b72a2c23ad31c63eff\",\n \"score\": \"0.46660376\",\n \"text\": \"public void setXrate (String _xrate) {\\n\\t\\tthis._xrate = _xrate;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cd7c354973bad3364249452209555c0\",\n \"score\": \"0.46628758\",\n \"text\": \"public void setIntake(double rate) {\\n\\t\\tsetIntakeSeparate(rate, -rate);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f2414ed3776f5b406830b3be1ec4282\",\n \"score\": \"0.466136\",\n \"text\": \"public void setPaid(double paid) {\\r\\n this.paid = paid;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"993ef0d1036506dd093ba6d56ee39788\",\n \"score\": \"0.46318233\",\n \"text\": \"public void setIsRequested(boolean isRequested) {\\n this.isRequested = isRequested;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d04f68acb4a02a8220790e133259e082\",\n \"score\": \"0.46108118\",\n \"text\": \"public void setAppRequest(String appRequest) {\\n this.appRequest = appRequest;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3f8299965146ebe06faba628c286a88\",\n \"score\": \"0.46077207\",\n \"text\": \"public void updateRate() {\\n rateData = limitStrategy.updateRate(rateData, requestLimit, durationMs);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33afe11b60fddeb4411d9004b5ba9598\",\n \"score\": \"0.46027157\",\n \"text\": \"public void adjustPayRate(StaffConsultant c, int newPayRate ) {\\n\\t\\ttry { \\n\\t\\t\\tif ( log.isInfoEnabled() ) {\\n\\t\\t\\t\\t\\tdouble percentChange = Math.abs(newPayRate - c.getPayRate())*10000.0/c.getPayRate()/100;\\n\\t\\t\\t\\t\\tfinal String msg = \\\"Percent change is =\\\" + percentChange ;\\n\\t\\t\\t\\t\\tlog.info (msg);\\n\\t\\t\\t}\\n\\t\\t\\tc.setPayRate(newPayRate);\\n\\t\\t\\tlog.info(\\\"approved raise for \\\" + c.getName());\\n\\t\\t\\t} catch ( final PropertyVetoException pve) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4336efe09b25f36b552bb18e1221d61\",\n \"score\": \"0.4594388\",\n \"text\": \"void setTotalPolicyPremiumRefunded(CurrencyAmount value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e08ed68c22a6cd9c74a49bff90542f66\",\n \"score\": \"0.4593941\",\n \"text\": \"public DankContainer setInputRate (long rate) {\\r\\n \\r\\n this.inputRate = rate;\\r\\n return this;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e712dc7d15a78aa07d73a1efb9372747\",\n \"score\": \"0.4589748\",\n \"text\": \"public void setClickthroughRate(double param){\\r\\n \\r\\n this.localClickthroughRate=param;\\r\\n \\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4a2c9340961e205c853fa1fba2665a1\",\n \"score\": \"0.45840496\",\n \"text\": \"public void setAvgRate(String userRate)\\r\\n\\t{\\r\\n\\t\\tthis.avgRate=Double.parseDouble(userRate);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60ab0388f6d600d2a9d6d04d849a380e\",\n \"score\": \"0.4583537\",\n \"text\": \"public void setBuyerRate (boolean buyerRate) {\\n\\t\\tthis.buyerRate = buyerRate;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6506250125a6f80db451f5d3c1f00f4\",\n \"score\": \"0.4580055\",\n \"text\": \"public synchronized void setAgreed(boolean agreed)\\n {\\n this.m_agreed = agreed;\\n stopTimeout();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2725fc086d58537ebeffeebebf01b7b8\",\n \"score\": \"0.45730433\",\n \"text\": \"public boolean hasValidPayRateOrAnnualAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding, MessageMap errorMap);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12f0db9dc3ee37883e3008adb6642c55\",\n \"score\": \"0.45704168\",\n \"text\": \"public void setDateRequested(java.util.Calendar dateRequested) {\\n this.dateRequested = dateRequested;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9973f839f32fcf6cb886fd0e3d72d4b\",\n \"score\": \"0.45694172\",\n \"text\": \"public void setAgentAppointed(boolean agentAppointed)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.apache.xmlbeans.SimpleValue target = null;\\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENTAPPOINTED$4, 0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENTAPPOINTED$4);\\n }\\n target.setBooleanValue(agentAppointed);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93024ba64268e4b39f1c9d082c4bc4ed\",\n \"score\": \"0.45636156\",\n \"text\": \"@Override\\n\\tpublic void calculatePayment() {\\n\\t\\tsuper.calculatePayment();\\n\\t\\tsuper.setPayPerPeriod(super.getPayPerPeriod() + bonus/(double)PAYPERIODSPERYEAR);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d94be3fec3f9cb2f9d3ef65f53d6b497\",\n \"score\": \"0.4563011\",\n \"text\": \"public void setAppointmentTotalIntendedFteQuantity(BigDecimal appointmentTotalIntendedFteQuantity) {\\n this.appointmentTotalIntendedFteQuantity = appointmentTotalIntendedFteQuantity;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f4383a5a9c14b78300e03035918061d\",\n \"score\": \"0.45620987\",\n \"text\": \"public PreApprovalRequestBuilder withAmountPerPayment(BigDecimal amountPerPayment) {\\n this.amountPerPayment = amountPerPayment;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04423683869e876161af3f7d71839573\",\n \"score\": \"0.45581755\",\n \"text\": \"private void setDefaultRate(SettingProto value) {\\n if (value != null) {\\n this.defaultRate_ = value;\\n this.bitField0_ |= 1;\\n return;\\n }\\n throw new NullPointerException();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff2e760d309dfb9992ee192c0520048\",\n \"score\": \"0.45481408\",\n \"text\": \"public void setMinAccelerationRate(int minAccelerationRate) {\\r\\n\\t\\tminAccelerationRate_ = minAccelerationRate;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab576af85d1466a42d82cf968b8f597f\",\n \"score\": \"0.45354682\",\n \"text\": \"public void setfRate(int fRate) \\r\\n\\t{\\r\\n\\t\\tswitch(fRate)\\r\\n\\t\\t{\\r\\n\\t\\t\\tcase 1: this.fRate = filmRate.G; break;\\r\\n\\t\\t\\tcase 2: this.fRate = filmRate.PG; break;\\r\\n\\t\\t\\tcase 3: this.fRate = filmRate.PG13; break;\\r\\n\\t\\t\\tcase 4: this.fRate = filmRate.NC16; break;\\r\\n\\t\\t\\tcase 5: this.fRate = filmRate.M18; break;\\r\\n\\t\\t\\tcase 6: this.fRate = filmRate.R21; break;\\r\\n\\t\\t\\tdefault: System.out.println(\\\"Invalid input\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92a857ec5bd8986b3e1f3734c53be0c6\",\n \"score\": \"0.4535296\",\n \"text\": \"public BigDecimal getAppointmentRequestedFteQuantity() {\\n return appointmentRequestedFteQuantity;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75ab1b40f855ce2a56a7254a1f0ca809\",\n \"score\": \"0.45030752\",\n \"text\": \"public void setRequestAdvice(com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.RequestAdvice requestAdvice) {\\n this.requestAdvice = requestAdvice;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e4bdc302be008317c8373999119e492\",\n \"score\": \"0.448711\",\n \"text\": \"public DialerCampaignConfigChangeCampaign abandonRate(BigDecimal abandonRate) {\\n this.abandonRate = abandonRate;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"614e207daf762bedadb87a775b56fd12\",\n \"score\": \"0.44847122\",\n \"text\": \"public void setAnnualPercentageRate(double value) {\\n this.annualPercentageRate = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb173985590feac924f1bd66afdf672c\",\n \"score\": \"0.4482417\",\n \"text\": \"public void setfRate(String fRate)\\r\\n\\t{\\r\\n\\t\\tthis.fRate = filmRate.valueOf(fRate);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8caafcbf323be3e6ff8445681840d0d\",\n \"score\": \"0.44708827\",\n \"text\": \"public void setExchangeRate(java.math.BigDecimal exchangeRate) {\\n this.exchangeRate = exchangeRate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cecaa1b49c0cf6e3e55d663a3bc143e8\",\n \"score\": \"0.44661477\",\n \"text\": \"public void setPayPoints(Integer payPoints) {\\n this.payPoints = payPoints;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d5eca57bba92d81afad0a7883dc7273\",\n \"score\": \"0.44640982\",\n \"text\": \"public void setTaxRate(String taxRate) {\\n this.taxRate = taxRate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f93beb3641b20fb6a0f118bc57e6e92a\",\n \"score\": \"0.44608623\",\n \"text\": \"public void setLatePayPenalty(int newPenalty) {\\n this.latePaymentPenalty = newPenalty;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d06bc7e7c948b7912d2feb13bff7a79\",\n \"score\": \"0.44583604\",\n \"text\": \"public void setRating(int rating) {\\n ValidationHelper.checkNumberInBounds(rating, MIN_RATING_VALUE, MAX_RATING_VALUE);\\n this.rating = rating;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7df9d6b31d6477ad8fdfd1ca5f336e35\",\n \"score\": \"0.44495547\",\n \"text\": \"public void setPayable(double amount) {\\r\\n this.payable = amount;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"442ab1e205c6976e27df5242a8df6fb5\",\n \"score\": \"0.4447579\",\n \"text\": \"public void setHourlyRate(double newHourlyRate) {\\r\\n\\t\\tif(validate(newHourlyRate)) {\\r\\n\\t\\t\\thourly_rate = newHourlyRate;\\r\\n\\t\\t}\\t\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c514ca21f8486c5b6d7c3ae06d980e52\",\n \"score\": \"0.44271344\",\n \"text\": \"public void raiseRate(float inc)\\n\\t{\\n\\t\\tthis.payrate= this.payrate + inc;\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7cdad9cc86764ba4ae4a6e9acb5ef2\",\n \"score\": \"0.44227222\",\n \"text\": \"public void setImpReqCode(String impReqCode);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd666d5ffeac2d01699ad28fe22458c2\",\n \"score\": \"0.4418867\",\n \"text\": \"public void xsetAgentAppointed(au.gov.asic.types.TrueType agentAppointed)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n au.gov.asic.types.TrueType target = null;\\n target = (au.gov.asic.types.TrueType)get_store().find_element_user(AGENTAPPOINTED$4, 0);\\n if (target == null)\\n {\\n target = (au.gov.asic.types.TrueType)get_store().add_element_user(AGENTAPPOINTED$4);\\n }\\n target.set(agentAppointed);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fc859e8ac82413b4a6f17029d392362\",\n \"score\": \"0.4417283\",\n \"text\": \"@Override\\n\\tpublic void setRating(double rating) {\\n\\t\\tsuper.setRating(rating);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0a8d9c31ebe7228d052773286c1a997\",\n \"score\": \"0.4416679\",\n \"text\": \"public void setRateType(typekey.RateType value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6884bd50ce13d255316193a7510077e8\",\n \"score\": \"0.44118127\",\n \"text\": \"public void setRequesterIp(String requesterIP) {\\n this.requesterIp = requesterIP;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50365c2cacca0451ff43ce83a191f67a\",\n \"score\": \"0.44115755\",\n \"text\": \"public void setApprover(Integer approver) {\\n this.approver = approver;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b44c651350c43463a0f798ccd2474fa\",\n \"score\": \"0.4409016\",\n \"text\": \"private AccessRate newSurveyAccessRate(final Survey survey,\\n final String ipAddress, final Boolean rate) {\\n return this.newAccessRateItem(null, null, survey, ipAddress, rate);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c22ab33d7e9c2797b8a7a89304b5531\",\n \"score\": \"0.44084913\",\n \"text\": \"void setTotalClaimPaymentsMade(CurrencyAmount value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e48e71687f87e48b2938da240974ee26\",\n \"score\": \"0.44000864\",\n \"text\": \"public void setAskingPrice(Double askingPrice) {\\n\\t\\tthis.askingPrice = askingPrice;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd5f627f844acc824dda561b9532af51\",\n \"score\": \"0.43997982\",\n \"text\": \"public BigDecimal getAppointmentRequestedCsfTimePercent() {\\n return appointmentRequestedCsfTimePercent;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf8700a3e171f7435b8d1598dd27226f\",\n \"score\": \"0.43939131\",\n \"text\": \"public void setAppointmentTimeStart(Date appointmentTimeStart) {\\r\\n\\t\\tthis.appointmentTimeStart = appointmentTimeStart;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb3929d9cc9ef11432f98f4e7165be70\",\n \"score\": \"0.43911603\",\n \"text\": \"public void setRequestACI(com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.RequestACI requestACI) {\\n this.requestACI = requestACI;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1c38b9b5e7dca04cf7fd7f8cb97116b\",\n \"score\": \"0.43907678\",\n \"text\": \"public void awardBonus(double execBonus) {\\r\\n\\t\\tthis.bonus = execBonus;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8f8531b6f6de4836c4ebe8adcaf75c9\",\n \"score\": \"0.43793964\",\n \"text\": \"public void setTimeRequested(java.lang.Integer timeRequested) {\\n this.timeRequested = timeRequested;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"182d98e5cdd1b6a39dce5d18f3d48782\",\n \"score\": \"0.43701136\",\n \"text\": \"public int selectAppointment(int appointmentAmount) {\\r\\n\\t\\t// TODO Auto-generated method stub\\r\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"001b33c0ae5d3b7373c590cee8f8905d\",\n \"score\": \"0.43695086\",\n \"text\": \"public void setBikePrice(double x) {bikeDailyRate = x;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b3141d777e8659b9a5d671b718a628d\",\n \"score\": \"0.43565196\",\n \"text\": \"public void setEmployeePlusOneClaimCostRate(com.vsp.xl.dto.v003.CurrencyValue employeePlusOneClaimCostRate) {\\n this.employeePlusOneClaimCostRate = employeePlusOneClaimCostRate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6b636d1a99e3369d7db453073952fca\",\n \"score\": \"0.435322\",\n \"text\": \"private void setPayRaise ()\\r\\n {\\r\\n Random randomizer = new Random ();\\r\\n payRaise = (randomizer.nextInt (5) + 1) * 10000;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b84ae4d784d61e0b0c80d431889aebd\",\n \"score\": \"0.4352292\",\n \"text\": \"public void testSetCurrentPaymentAccrualAmount() {\\r\\n instance.setCurrentPaymentAccrualAmount(1);\\r\\n assertEquals(\\\"Failed to setCurrentPaymentAccrualAmount correctly.\\\", 1,\\r\\n instance.getCurrentPaymentAccrualAmount());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96768a41112783fa44c6107ee157796f\",\n \"score\": \"0.43460417\",\n \"text\": \"protected void setMessageRate(int messageRate)\\n {\\n this.messageRate = messageRate;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":894,"cells":{"query_id":{"kind":"string","value":"b43dd72d36f9140ff2ec8d1a730b17d4"},"query":{"kind":"string","value":"Absolute put method for writing a double value&nbsp;&nbsp;(optional operation). Writes eight bytes containing the given double value, in the current byte order, into this buffer at the given index."},"positive_passages":{"kind":"list like","value":[{"docid":"6b3e8bf0443eeed0f574bc7464a2bec2","score":"0.77606815","text":"public Buffer putDouble(int index, double value);","title":""}],"string":"[\n {\n \"docid\": \"6b3e8bf0443eeed0f574bc7464a2bec2\",\n \"score\": \"0.77606815\",\n \"text\": \"public Buffer putDouble(int index, double value);\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"da9851078587a8f5123c77a1575af677","score":"0.7412845","text":"BigByteBuffer putDouble(double value);","title":""},{"docid":"596ce327ee1e0a402cfd5b52dada18e2","score":"0.7343551","text":"public void putDouble(long index, double value)\n {\n putDouble(index, value, getByteOrder());\n }","title":""},{"docid":"4904e711fc37a697ad046efe9dc9a468","score":"0.7297702","text":"public Buffer putDouble(double value);","title":""},{"docid":"e172e93abd528a3c398235edfebd5470","score":"0.7226655","text":"public abstract ByteBuf writeDouble(double paramDouble);","title":""},{"docid":"1824c12ed4db5abc0b84a3b0f9e467de","score":"0.7145612","text":"public void putDouble(long index, double value, ByteOrder byteOrder)\n {\n final long bits = Double.doubleToLongBits(value);\n putLong(index, bits, byteOrder);\n }","title":""},{"docid":"7cac4adbe5c13af0be8656c91ee34b0e","score":"0.70763624","text":"public final CheckedMemorySegment putDouble(int index, double value) {\n\t\tputLong(index, Double.doubleToLongBits(value));\n\t\treturn this;\n\t}","title":""},{"docid":"4c9f7b610af5863b275a631b1ced1605","score":"0.70428956","text":"void writeDouble(double value);","title":""},{"docid":"d4993b06fd87c09c0e9aed6eb73f0702","score":"0.6992934","text":"public ByteBuf setDoubleLE(int index, double value)\r\n/* 187: */ {\r\n/* 188:1157 */ return setLongLE(index, Double.doubleToRawLongBits(value));\r\n/* 189: */ }","title":""},{"docid":"ef27c7de9812aca18e1f7ff0f29ad2bd","score":"0.68446916","text":"public void writeDouble(double val) {\n\t\tbyte[] bytes = new byte[8];\n\t\tByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).putDouble(val);\n\t\tfor (byte b : bytes) {\n\t\t\tput(b);\n\t\t}\n\t}","title":""},{"docid":"960d6c1b6b12fac43f04902fe8ceeb3e","score":"0.6784282","text":"public abstract ByteBuf setDouble(int paramInt, double paramDouble);","title":""},{"docid":"3b4d7b042934bcf81174e7c32352e54c","score":"0.6675974","text":"@Override\n public void writeDouble(double value)\n {\n writeLong(Double.doubleToLongBits(value));\n }","title":""},{"docid":"17b137af16e17872ff41416aba533a6d","score":"0.6669873","text":"BigByteBuffer putDouble(double[] src);","title":""},{"docid":"2a3c1e857c3d088dc42d23beaabc6d6b","score":"0.66016334","text":"public static void putDouble(long addr, double val) {\n if (UNALIGNED)\n UNSAFE.putDouble(addr, val);\n else\n putLongByByte(addr, Double.doubleToLongBits(val), BIG_ENDIAN);\n }","title":""},{"docid":"8e2c572736fb37724b3c0d560089ab0e","score":"0.656473","text":"public final void writeDouble(double val) {\n \tthrow new IllegalStateException(\"unimplemented\");\n }","title":""},{"docid":"c871a508d5beacaa8adee81134b388c7","score":"0.65618867","text":"void writeDouble(String name, double value);","title":""},{"docid":"7a098a8d6c8356fd776a0cff619d2a98","score":"0.6532423","text":"void putVDouble(double v);","title":""},{"docid":"785f888018d68300132a20b78e14a411","score":"0.6457739","text":"public ByteBuf writeDoubleLE(double value)\r\n/* 329: */ {\r\n/* 330:1908 */ return writeLongLE(Double.doubleToRawLongBits(value));\r\n/* 331: */ }","title":""},{"docid":"9b5bf6214292f42b91d887dcdf638fa9","score":"0.6447981","text":"public static void putDouble(byte[] arr, long off, double val) {\n if (UNALIGNED)\n UNSAFE.putDouble(arr, off, val);\n else\n putLongByByte(arr, off, Double.doubleToLongBits(val), BIG_ENDIAN);\n }","title":""},{"docid":"198d282a84e773d245a751e207ac6b7c","score":"0.64337444","text":"void write()\n throws IOException {\n if ( keyType == 0 ) {\n byte[] currentKeyBytes = ( (String) data ).getBytes();\n file.write( currentKeyBytes );\n file.write( new byte[keyLength - currentKeyBytes.length] );\n } else {\n file.writeDouble( ( (Double) data ).doubleValue() );\n }\n }","title":""},{"docid":"acb47c9f1edc62f76ae9e21bee499bd2","score":"0.6418108","text":"private static native void setDoubleImpl(JSObject jsObj, int index, double aValue);","title":""},{"docid":"511baafc2e9c55165f2c0c733412710e","score":"0.64046264","text":"@Override\n public final void writeDouble(double d) throws IOException {\n writeLong(Double.doubleToLongBits(d));\n }","title":""},{"docid":"fe21cd3da636e54777f9e6e1ac7d9cfa","score":"0.6388299","text":"public void putDouble(double value)\n {\n putDouble(value, getByteOrder());\n }","title":""},{"docid":"e93f2ea6108c31c0ffe00b7f83c6998d","score":"0.62749755","text":"void appendDouble(double value);","title":""},{"docid":"9aa2d10dcdb2d6266c4e5488b7df850c","score":"0.6205559","text":"private void writeDoubleTagPayload(DoubleTag tag)\n/* */ throws IOException\n/* */ {\n/* 204 */ this.os.writeDouble(tag.getValue().doubleValue());\n/* */ }","title":""},{"docid":"94cd3275cc550415566329ab56de6b9e","score":"0.5993821","text":"public static void writeDouble(OutputStream outputStream, double x) throws IOException {\r\n byte[] bytes = new byte[8];\r\n ByteBuffer.wrap(bytes).putDouble(x);\r\n outputStream.write(bytes);\r\n }","title":""},{"docid":"9a37968c88056b5149a8d3c656b800f0","score":"0.5983713","text":"public void putDouble(double value, ByteOrder byteOrder)\n {\n final long bits = Double.doubleToLongBits(value);\n putLong(bits, byteOrder);\n }","title":""},{"docid":"63b23f5f0c1ba9986758e50ebade9ca9","score":"0.5966917","text":"public static void putDoubleLE(long addr, double val) {\n long longVal = Double.doubleToLongBits(val);\n\n if (UNALIGNED)\n UNSAFE.putLong(addr, Long.reverseBytes(longVal));\n else\n putLongByByte(addr, longVal, false);\n }","title":""},{"docid":"2fdcf569930680e16e7990dacb6e56c5","score":"0.5928891","text":"public static void putDoubleLE(byte[] arr, long off, double val) {\n long longVal = Double.doubleToLongBits(val);\n\n if (UNALIGNED)\n UNSAFE.putLong(arr, off, Long.reverseBytes(longVal));\n else\n putLongByByte(arr, off, longVal, false);\n }","title":""},{"docid":"7a0d2b522dea3863954fa87d08e7bc45","score":"0.5869037","text":"void putSVDouble(double v);","title":""},{"docid":"dd57314e5ee16e07be9a0b1a8d1d5d79","score":"0.5868882","text":"@NativeCallable\n public void putDouble(String key, double value) {\n mMap.put(key, value);\n }","title":""},{"docid":"7fa08806b21f9e29fcf2e301c8cf0e5f","score":"0.5811141","text":"public synchronized void setElement(int index, double value)\r\n/* 273: */ {\r\n/* 274:696 */ if (index < 0) {\r\n/* 275:697 */ throw new ArrayIndexOutOfBoundsException(index);\r\n/* 276: */ }\r\n/* 277:699 */ if (index + 1 > this.numElements) {\r\n/* 278:700 */ this.numElements = (index + 1);\r\n/* 279: */ }\r\n/* 280:702 */ if (this.startIndex + index >= this.internalArray.length) {\r\n/* 281:703 */ expandTo(this.startIndex + (index + 1));\r\n/* 282: */ }\r\n/* 283:705 */ this.internalArray[(this.startIndex + index)] = value;\r\n/* 284: */ }","title":""},{"docid":"c77651970645b06ea0e2d6936c7556fb","score":"0.5781622","text":"public void set(long index, double value) {\n if (nonzero >= indices.length) {\n allocMore();\n }\n indices[nonzero++] = index;\n }","title":""},{"docid":"c6fbd88838f1f6a83d4254be53d0bdb9","score":"0.5748629","text":"public double getDouble(long index)\n {\n return getDouble(index, getByteOrder());\n }","title":""},{"docid":"a1a5140f6cb1bbbdf7ba7d801fc859da","score":"0.5718195","text":"@Override\n\t\tpublic void writeTo(org.xmlpull.v1.XmlSerializer xmlWriter) throws java.io.IOException {\n\t\t\txmlWriter.startTag(\"\", \"double\");\n\t\t\txmlWriter.attribute(\"\", \"value\", java.lang.Double.toString(fValue));\n\t\t\txmlWriter.endTag(\"\", \"double\");\n\t\t}","title":""},{"docid":"1c1cb16fba8eb8383e263d9f58521e44","score":"0.57084554","text":"@Override\r\n\tpublic void setDouble(int row, int column, double value) {\n }","title":""},{"docid":"a465bed82df58b03542ee9f041084e09","score":"0.5694916","text":"public double getDouble(long index, ByteOrder byteOrder)\n {\n final long bits = getLong(index, byteOrder);\n final double value = Double.longBitsToDouble(bits);\n return value;\n }","title":""},{"docid":"80c68f25f78179157e93acd8cf0bb321","score":"0.56474864","text":"public static void putDoubleField(Object obj, long fieldOff, double val) {\n UNSAFE.putDouble(obj, fieldOff, val);\n }","title":""},{"docid":"efdb16bcd8ab9e927341556d78c56a80","score":"0.5634817","text":"public void _write(OutputStream output) {\n output.write_double(value);\n }","title":""},{"docid":"083cd5cfdbdf97941fa34aa03de732df","score":"0.562885","text":"void setDouble(String key, double value);","title":""},{"docid":"cb1f186013bbe05d71db3f05826214d7","score":"0.5627332","text":"public final double getDouble(int index) {\n\t\treturn Double.longBitsToDouble(getLong(index));\n\t}","title":""},{"docid":"d08f683e7f8a3d71c13e84090f831639","score":"0.56163603","text":"public void appendDouble(double d) {\r\n this.sb.append(d);\r\n return;\r\n }","title":""},{"docid":"bdaaa20495ebcf62d9422d8549eabb47","score":"0.5593644","text":"public void setElemDouble(int bank, int i, double val)\n {\n setElem(bank, i, (int) val);\n }","title":""},{"docid":"b646df2db7972156a57c0846fcd119e5","score":"0.5557409","text":"public void put(double d) throws MathLinkException;","title":""},{"docid":"701513f4760aca45ceae04cceddf594b","score":"0.554637","text":"@Override\n public void encodeDouble(Double att) throws IllegalArgumentException, MALException {\n EncodingHelper.checkForNull(att);\n internalEncodeAttributes(Constants.DOUBLE, att.toString());\n }","title":""},{"docid":"7f04c54ff99eebe55e7eacf2271e0bdc","score":"0.5516731","text":"void setDouble(int parameterIndex, double x) throws SQLException;","title":""},{"docid":"f86a56c83f0ff20cb43340a0c4033438","score":"0.54941046","text":"public double getDouble(int index);","title":""},{"docid":"db083a1d383cef78841e4d021091e20c","score":"0.54847884","text":"@Test\n public void testWriteDoubleValue() throws IOException\n {\n {\n when(reader.getDouble(column)).thenReturn(10.0);\n writer.writeDoubleValue(builder, reader, column);\n verify(builder).writeBoolean(true);\n }\n\n // write false if the round to nearest of double value is equal to 0\n {\n when(reader.getDouble(column)).thenReturn(0.5);\n writer.writeDoubleValue(builder, reader, column);\n verify(builder).writeBoolean(false);\n }\n }","title":""},{"docid":"e77a0c08b95a909e73046a846666350a","score":"0.54687166","text":"public double setDouble(long tnIndex, double tnValue)\n {\n return getMarkerWithIndex(tnIndex).set(tnIndex, tnValue);\n }","title":""},{"docid":"a5b41de5d753f08558ac8ccb94aa871b","score":"0.5451722","text":"@Override\n\tpublic void write(DataOutput out) throws IOException\n\t{\n\t\tout.writeShort(tag);\n\t\tout.writeInt(index);\n\t\tout.writeDouble(value);\t\t\n\t}","title":""},{"docid":"310c2b13b6243d5da61c7801bfb27f46","score":"0.54445845","text":"public void writeDouble(double d) {\n\t\tif (!socket.isClosed() && socket.isConnected()) {\n\t\t\ttry {\n\t\t\t\toutput.writeDouble(d);\n\t\t\t\toutput.flush();\n\t\t\t} catch (Exception e) {\n\t\t\t\tAJPFLogger.warning(logname, e.getMessage());\n\t\t\t}\n\t\t} else {\n\t\t\twrite (\"error\");\n\t\t}\n\t}","title":""},{"docid":"599c12ec0ed1e1616f3632c2bda14fca","score":"0.5428441","text":"@Override\n public void encodeNullableDouble(Double att) throws MALException {\n internalEncodeNullableAttribute(att, Constants.DOUBLE, () -> encodeDouble(att));\n }","title":""},{"docid":"cd6943dba0a4ec45818d2e7745243691","score":"0.5408245","text":"public synchronized void addDouble(long tnIndex, double tnValue)\n {\n ArrayMarker loMarker = getMarkerWithIndex(tnIndex);\n\n if ((loMarker.m_nStartIndex + loMarker.getCapacity() >= tnIndex || loMarker.m_nEndIndex+1 >= tnIndex))\n {\n // The value can be added inside, or appended to the marker\n }\n else\n {\n // A new marker needs to be created\n ArrayMarker loNewMarker = new ArrayMarker(0, loMarker.m_nEndIndex, (int)tnIndex);\n m_oMarkers.add(loNewMarker);\n loNewMarker.add(tnValue);\n }\n }","title":""},{"docid":"11a182e99adb1cbd87cefddcefb41c13","score":"0.53662467","text":"public void log(String key, Double value){\n try {\n if(!contains(key)){\n byte[] bytes = new byte[8];\n ByteBuffer.wrap(bytes).putDouble(value);\n\n log.put(key.getBytes(), bytes);\n }\n } catch (RocksDBException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"0687955a63e2827d315053221b33d01d","score":"0.5364582","text":"public String setDouble(String key, double value) {\n\t\t\tif ((key = this.sanitizeKey(key)) == null)\n\t\t\t\treturn null;\n\t\t\treturn this.setValue(key, (\"\" + value));\n\t\t}","title":""},{"docid":"3222fcf173c059f53f28cd45f7d589b0","score":"0.5360756","text":"double getDouble( int index );","title":""},{"docid":"9761e7cb406fe30ef40141ff4d63137a","score":"0.5349589","text":"public Tuple put(String name, double value)\r\n\t{\r\n\t\tthis.insert(name, value);\r\n\t\t\r\n\t\t// add 24 bytes, 24 bytes is derived from \r\n\t\t// java.lang.instrument.Instrumentation to test \r\n\t\t// Double.MAX_VALUE (as the value will be auto-boxed\r\n\t\t// into Double) on a 64bit VM.\r\n\t\tthis.estimate_size_in_bytes += 24;\r\n\t\t\r\n\t\treturn this;\r\n\t}","title":""},{"docid":"26130c200abb374a42d2884d9fc69382","score":"0.5336989","text":"public void write(int y, int x, double value){\r\n\t\twrite(y, x, value, 43);\r\n\t}","title":""},{"docid":"604a921834ecfd038830185712add0ce","score":"0.53136736","text":"@Override\n public void setQuick(int index, double value) {\n elements[offset + offsets[zero + index * stride]] = value;\n }","title":""},{"docid":"46758c4ba6e4bf151569815420e7a930","score":"0.5312232","text":"public void setValue(final int index, final double value)\n {\n this.data[index] = value;\n }","title":""},{"docid":"2e56397e7a10f0ee37c235dfec8c0da4","score":"0.52948767","text":"private void put(long index, byte data) {\r\n \t\tif (!this.open) \r\n \t\t\tUtil.fatalError(\"Attempt to write to closed database.\");\r\n \t\ttry {\t\t\t\r\n \t\t\t/* if (index >= this.capacity) {\r\n \t\t\t\twhile(index >= this.capacity)\r\n \t\t\t\t\tthis.capacity = this.capacity << 1;\r\n \t\t\t\tthis.memoryStorage.ensureCapacity(this.capacity); }\r\n \t\t\tif (this.memoryStorage.size() <= index)\r\n \t\t\t\tthis.memoryStorage.add((int) index, data);\r\n \t\t\telse\r\n \t\t\t\tthis.memoryStorage.set((int) index, data); */\r\n \t\t\t\r\n \t\t\tif (index >= this.capacity) {\r\n \t\t\t\twhile (index >= this.capacity)\r\n \t\t\t\t\tthis.capacity = this.capacity << 2; // Grow by factor of 4\r\n \t\t\t\tbyte[] temp = this.memoryStorage;\r\n \t\t\t\tthis.memoryStorage = new byte[this.capacity];\r\n \t\t\t\tfor (int i = 0; i < temp.length; i ++) {\r\n \t\t\t\t\tthis.memoryStorage[i] = temp[i];\t}\r\n \t\t\t\ttemp = null;\r\n \t\t\t}\r\n \t\t\tthis.memoryStorage[(int) index] = data;\r\n \t\t} catch (Exception e) {\r\n \t\t\tUtil.fatalError(\"Write to DB failed.\", e);\r\n \t\t}\r\n \t}","title":""},{"docid":"ec24bce5b8dab552372e2ab5ecd4229a","score":"0.52477896","text":"public void updateDouble(int columnIndex, double x) throws SQLException {\n notOnARow();\n columnIndexOutOfRange(columnIndex);\n _currentRow.update(columnIndex - 1, new Double(x));\n }","title":""},{"docid":"03e5a7e037eb74f42778e7daf50eb6c8","score":"0.5245004","text":"public static void writeDouble(PrintWriter w, double n) {\r\n if (w == null) return;\r\n\r\n try {\r\n w.println(n);\r\n } catch (Exception e) {\r\n logger.log(Level.SEVERE, \"exception\", e);\r\n }\r\n }","title":""},{"docid":"d9a7a940f519ff34f18d6172f4c7ed7b","score":"0.5220285","text":"public void setElemDouble(int i, double val)\n {\n setElem(i, (int) val);\n }","title":""},{"docid":"a42cef0809657b6b1a0bbe7a4035c81b","score":"0.52180755","text":"public JSONObject put(String key, double value) throws JSONException {\n/* 1730 */ return put(key, Double.valueOf(value));\n/* */ }","title":""},{"docid":"917b4b66ca9967222a8fc9334592324e","score":"0.51993245","text":"@Nullable\n Double double_(@NotNull String key);","title":""},{"docid":"44997dd885a61aa88436f86ffe444a0c","score":"0.5195364","text":"public void addDoubleValue(String key, double val, String comment)\n\tthrows HeaderCardException\n {\n String sval = \"\"+val;\n replaceCard(key, sval, comment);\n }","title":""},{"docid":"5e8673a9ef4ba7883f2ecbdb34c8ea88","score":"0.51855314","text":"@Override\n\tpublic void updateDouble(String arg0, double arg1) throws SQLException {\n\t\t\n\t}","title":""},{"docid":"80c31c6c6bd0e68a97680e67e9f9e274","score":"0.517082","text":"default SmallDoubleBuffer asDoubleBuffer() {\n\t\treturn new SmallDoubleBuffer(duplicate());\n\t}","title":""},{"docid":"9121c9c5cddaa009955bb5050df6bd3d","score":"0.51643467","text":"public void put(String key, double value) {\r\n super.put(key, new Double(value));\r\n }","title":""},{"docid":"9382cf19034b7c4e83838d0669f08c5b","score":"0.5158364","text":"public synchronized void addElement(double value)\r\n/* 83: */ {\r\n/* 84:301 */ this.numElements += 1;\r\n/* 85:302 */ if (this.startIndex + this.numElements > this.internalArray.length) {\r\n/* 86:303 */ expand();\r\n/* 87: */ }\r\n/* 88:305 */ this.internalArray[(this.startIndex + (this.numElements - 1))] = value;\r\n/* 89:306 */ if (shouldContract()) {\r\n/* 90:307 */ contract();\r\n/* 91: */ }\r\n/* 92: */ }","title":""},{"docid":"efae158bc979cd060e0d1453e16c2da6","score":"0.5154179","text":"@Override\n public double readDouble() {\n double d = Bits.getDouble(positionAddr);\n\n addPosition(8);\n return d;\n }","title":""},{"docid":"659d62e590d3dfe0d7ca61f327e636e4","score":"0.5144274","text":"public java.lang.StringBuffer format(double number, java.lang.StringBuffer result, java.text.FieldPosition fieldPosition) { throw new RuntimeException(\"Stub!\"); }","title":""},{"docid":"d904b9c3864a7fd87875ce65ebacd0ea","score":"0.51442546","text":"public StringBufferFast append(double d) {\r\n\treturn append(String.valueOf(d));\r\n }","title":""},{"docid":"298d372789497c9489def5ac1ec7f15c","score":"0.5116365","text":"public void setElement(\n int rowIndex,\n int columnIndex,\n double value );","title":""},{"docid":"95457e89511806ecdc4ea539b6d56304","score":"0.5107393","text":"protected void doRecordDouble(double value) {\n throw new UnsupportedOperationException(\n \"This aggregator does not support recording double values.\");\n }","title":""},{"docid":"7fb6885f7092ace33b3fddb67789a4de","score":"0.5107195","text":"@Override\n\tpublic synchronized void addValue(String metric, double value) throws IOException {\n\t\tfinal long timeInSeconds = System.currentTimeMillis() / 1000;\n\t\tif (lastTime != timeInSeconds) {\n\t\t\tlastTimestamp = String.valueOf(timeInSeconds);\n\t\t\tlastTime = timeInSeconds;\n\t\t}\n\t\tbufferWriter.append(prefix).append(metric).append(tags).append(SEPARATOR);\n\t\tbufferWriter.append(\"value=\").append(decimalFormat.format(value)).append(SEPARATOR);\n\t\tbufferWriter.append(lastTimestamp).append('\\n');\n\t}","title":""},{"docid":"3fe65fb65ff65b68fdb64d9efbc87b2d","score":"0.5107033","text":"double getDouble(String key, double backup);","title":""},{"docid":"3fe65fb65ff65b68fdb64d9efbc87b2d","score":"0.5107033","text":"double getDouble(String key, double backup);","title":""},{"docid":"f7d47ac9ce84bc6a474492d1c0c1812f","score":"0.5100219","text":"@Override\n\tpublic void setDouble(int arg0, double arg1) throws OdaException {\n\t\t\n\t}","title":""},{"docid":"2c84abb91d40c984fe1a1261988509cc","score":"0.5097796","text":"public void setDouble(int parameterIndex, double x)\r\n throws java.sql.SQLException {\r\n wrappedStatement.setDouble(parameterIndex, x);\r\n saveQueryParamValue(parameterIndex, new Double(x));\r\n }","title":""},{"docid":"11846e7f67a9376ecbc1bf2b26f8781c","score":"0.50878495","text":"public native boolean write(final long pAgentId, final long pObjectId,\n final int pVariable, final double pValue, final int pTime)\n throws RollbackException, SSVNotFoundException;","title":""},{"docid":"647f1427b7f834758c59fbdeecd94466","score":"0.5087054","text":"public StringBufferFast insert(int offset, double d) {\r\n\treturn insert(offset, String.valueOf(d));\r\n }","title":""},{"docid":"b4b46623a4711f913f50fcdfe4631df1","score":"0.50801784","text":"public void setXB(java.lang.Double value) {\n this.xB = value;\n }","title":""},{"docid":"29db1c8d5ff84bcb399bea6dd8f314f9","score":"0.5072374","text":"public BsonDouble(final double value) {\n this.value = value;\n }","title":""},{"docid":"08f56b973550f800649c0855b492b0e7","score":"0.5061166","text":"@Override\n public double getDouble(int pos) {\n return (double) values[pos];\n }","title":""},{"docid":"51f9a21efb2f8fbace3f0e4d6a4138b2","score":"0.5045896","text":"@Override\n\t\tpublic void writeToParcel(android.os.Parcel parcel, int flags) {\n\t\t\tparcel.writeDouble(fValue);\n\t\t}","title":""},{"docid":"f6e915aa1b7df00c943a19897e600ca0","score":"0.50440264","text":"@Override\n\tpublic void updateDouble(int arg0, double arg1) throws SQLException {\n\t\t\n\t}","title":""},{"docid":"8d3ac54be0d17d25f3b6dfccb3cb45b0","score":"0.5041382","text":"void setPropertyDouble(\n\t\tString schemaNS,\n\t\tString propName,\n\t\tdouble propValue,\n\t\tPropertyOptions options) throws XMPException;","title":""},{"docid":"ede453ea70b0352371fe8916d090b1df","score":"0.5022135","text":"@Ignore\n\t@Test\n\tpublic void testWriteSpeedDouble() throws Exception\n\t{\n\t\tif (writer == null)\n\t\t\treturn;\n\n\t\tSystem.out.println(\"Write test: Adding samples to \" + name + \" for \" + TEST_DURATION_SECS + \" secs\");\n\t\tfinal WriteChannel channel = writer.getChannel(name);\n\t\tfinal INumericMetaData meta =\n\t\t\tValueFactory.createNumericMetaData(0, 10, 2, 8, 1, 10, 1, \"a.u.\");\n\n\t\tlong count = 0;\n\t\tfinal BenchmarkTimer timer = new BenchmarkTimer();\n\t\tfinal long start = System.currentTimeMillis();\n\t\tfinal long end = start + TEST_DURATION_SECS*1000L;\n\t\tdo\n\t\t{\n\t\t\t++count;\n\t\t\tfinal IValue sample = ValueFactory.createDoubleValue(TimestampFactory.now(),\n\t\t\t\tValueFactory.createOKSeverity(), \"OK\",\n\t\t\t\tmeta,\n\t\t\t\tIValue.Quality.Original,\n\t\t\t\tnew double[] { count });\n\t\t\twriter.addSample(channel, sample);\n\t\t\tif (count % FLUSH_COUNT == 0)\n\t\t\t\twriter.flush();\n\t\t}\n\t\twhile (System.currentTimeMillis() < end);\n\t\twriter.flush();\n\t\ttimer.stop();\n\n\t\tSystem.out.println(\"Wrote \" + count + \" samples in \" + timer);\n\t\tSystem.out.println(count / timer.getSeconds() + \" samples/sec\");\n\t}","title":""},{"docid":"fb958ea7b50eb621f5c1f02125e85a47","score":"0.5017924","text":"@Override\n\tpublic void setDouble(String arg0, double arg1) throws OdaException {\n\t\t\n\t}","title":""},{"docid":"dd8024fbd31a0c205e946dd5d3ae6067","score":"0.5005475","text":"@Override\r\n\tpublic double getDouble(final String key) {\r\n\t\treturn getDouble(key, 0.0D);\r\n\t}","title":""},{"docid":"023036711a5e357881bc3e8fb774b3bd","score":"0.5001733","text":"public double getDouble(int index) {\r\n Json e = get(index);\r\n\r\n if (e != null) {\r\n return e.getDouble();\r\n } else {\r\n return Double.NaN;\r\n }\r\n }","title":""},{"docid":"ae07f3fb4d0d6ec5634502a23800591d","score":"0.4970321","text":"@Override\n\tpublic void foundCellContentAsDouble(int arg0, int arg1, int arg2,\n\t\t\tdouble arg3) {\n\n\t}","title":""},{"docid":"69f5b0413d2cccf861fcc3ea9a2ccf51","score":"0.49627873","text":"public abstract double getDouble(int attributeIndex);","title":""},{"docid":"b9a6b655a1ee8b118b00f8e4f7d963de","score":"0.49485362","text":"public native double getValueDouble();","title":""},{"docid":"4bc143242961fd584c6aaceb8dba8ca9","score":"0.49392313","text":"public void set_double(org.apache.axis2.databinding.types.soapencoding._double param){\n \n this.local_double=param;\n \n\n }","title":""},{"docid":"1a54d4353cb7960040b8640db59a65cd","score":"0.4922259","text":"public double getDoubleLE(int index)\r\n/* 128: */ {\r\n/* 129: 796 */ return Double.longBitsToDouble(getLongLE(index));\r\n/* 130: */ }","title":""},{"docid":"9a367d23748feaea8f5652a8b6225276","score":"0.49193475","text":"public void updateDouble(String columnName, double x) throws SQLException {\n int columnIndex = findColumn(columnName);\n updateDouble(columnIndex, x);\n }","title":""},{"docid":"079ca16ca502c957132f899941f5c820","score":"0.49159938","text":"@Override\n\tpublic void set(double v) \n\t{\n\t}","title":""},{"docid":"a3821930fa83845a66d822aef38040f7","score":"0.4907452","text":"public double getDouble(int index) throws MorseException {\n\t\t\treturn 0;\r\n\t\t}","title":""}],"string":"[\n {\n \"docid\": \"da9851078587a8f5123c77a1575af677\",\n \"score\": \"0.7412845\",\n \"text\": \"BigByteBuffer putDouble(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"596ce327ee1e0a402cfd5b52dada18e2\",\n \"score\": \"0.7343551\",\n \"text\": \"public void putDouble(long index, double value)\\n {\\n putDouble(index, value, getByteOrder());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4904e711fc37a697ad046efe9dc9a468\",\n \"score\": \"0.7297702\",\n \"text\": \"public Buffer putDouble(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e172e93abd528a3c398235edfebd5470\",\n \"score\": \"0.7226655\",\n \"text\": \"public abstract ByteBuf writeDouble(double paramDouble);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1824c12ed4db5abc0b84a3b0f9e467de\",\n \"score\": \"0.7145612\",\n \"text\": \"public void putDouble(long index, double value, ByteOrder byteOrder)\\n {\\n final long bits = Double.doubleToLongBits(value);\\n putLong(index, bits, byteOrder);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cac4adbe5c13af0be8656c91ee34b0e\",\n \"score\": \"0.70763624\",\n \"text\": \"public final CheckedMemorySegment putDouble(int index, double value) {\\n\\t\\tputLong(index, Double.doubleToLongBits(value));\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c9f7b610af5863b275a631b1ced1605\",\n \"score\": \"0.70428956\",\n \"text\": \"void writeDouble(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4993b06fd87c09c0e9aed6eb73f0702\",\n \"score\": \"0.6992934\",\n \"text\": \"public ByteBuf setDoubleLE(int index, double value)\\r\\n/* 187: */ {\\r\\n/* 188:1157 */ return setLongLE(index, Double.doubleToRawLongBits(value));\\r\\n/* 189: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef27c7de9812aca18e1f7ff0f29ad2bd\",\n \"score\": \"0.68446916\",\n \"text\": \"public void writeDouble(double val) {\\n\\t\\tbyte[] bytes = new byte[8];\\n\\t\\tByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).putDouble(val);\\n\\t\\tfor (byte b : bytes) {\\n\\t\\t\\tput(b);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"960d6c1b6b12fac43f04902fe8ceeb3e\",\n \"score\": \"0.6784282\",\n \"text\": \"public abstract ByteBuf setDouble(int paramInt, double paramDouble);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b4d7b042934bcf81174e7c32352e54c\",\n \"score\": \"0.6675974\",\n \"text\": \"@Override\\n public void writeDouble(double value)\\n {\\n writeLong(Double.doubleToLongBits(value));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17b137af16e17872ff41416aba533a6d\",\n \"score\": \"0.6669873\",\n \"text\": \"BigByteBuffer putDouble(double[] src);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a3c1e857c3d088dc42d23beaabc6d6b\",\n \"score\": \"0.66016334\",\n \"text\": \"public static void putDouble(long addr, double val) {\\n if (UNALIGNED)\\n UNSAFE.putDouble(addr, val);\\n else\\n putLongByByte(addr, Double.doubleToLongBits(val), BIG_ENDIAN);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e2c572736fb37724b3c0d560089ab0e\",\n \"score\": \"0.656473\",\n \"text\": \"public final void writeDouble(double val) {\\n \\tthrow new IllegalStateException(\\\"unimplemented\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c871a508d5beacaa8adee81134b388c7\",\n \"score\": \"0.65618867\",\n \"text\": \"void writeDouble(String name, double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a098a8d6c8356fd776a0cff619d2a98\",\n \"score\": \"0.6532423\",\n \"text\": \"void putVDouble(double v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"785f888018d68300132a20b78e14a411\",\n \"score\": \"0.6457739\",\n \"text\": \"public ByteBuf writeDoubleLE(double value)\\r\\n/* 329: */ {\\r\\n/* 330:1908 */ return writeLongLE(Double.doubleToRawLongBits(value));\\r\\n/* 331: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b5bf6214292f42b91d887dcdf638fa9\",\n \"score\": \"0.6447981\",\n \"text\": \"public static void putDouble(byte[] arr, long off, double val) {\\n if (UNALIGNED)\\n UNSAFE.putDouble(arr, off, val);\\n else\\n putLongByByte(arr, off, Double.doubleToLongBits(val), BIG_ENDIAN);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"198d282a84e773d245a751e207ac6b7c\",\n \"score\": \"0.64337444\",\n \"text\": \"void write()\\n throws IOException {\\n if ( keyType == 0 ) {\\n byte[] currentKeyBytes = ( (String) data ).getBytes();\\n file.write( currentKeyBytes );\\n file.write( new byte[keyLength - currentKeyBytes.length] );\\n } else {\\n file.writeDouble( ( (Double) data ).doubleValue() );\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acb47c9f1edc62f76ae9e21bee499bd2\",\n \"score\": \"0.6418108\",\n \"text\": \"private static native void setDoubleImpl(JSObject jsObj, int index, double aValue);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"511baafc2e9c55165f2c0c733412710e\",\n \"score\": \"0.64046264\",\n \"text\": \"@Override\\n public final void writeDouble(double d) throws IOException {\\n writeLong(Double.doubleToLongBits(d));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe21cd3da636e54777f9e6e1ac7d9cfa\",\n \"score\": \"0.6388299\",\n \"text\": \"public void putDouble(double value)\\n {\\n putDouble(value, getByteOrder());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e93f2ea6108c31c0ffe00b7f83c6998d\",\n \"score\": \"0.62749755\",\n \"text\": \"void appendDouble(double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9aa2d10dcdb2d6266c4e5488b7df850c\",\n \"score\": \"0.6205559\",\n \"text\": \"private void writeDoubleTagPayload(DoubleTag tag)\\n/* */ throws IOException\\n/* */ {\\n/* 204 */ this.os.writeDouble(tag.getValue().doubleValue());\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94cd3275cc550415566329ab56de6b9e\",\n \"score\": \"0.5993821\",\n \"text\": \"public static void writeDouble(OutputStream outputStream, double x) throws IOException {\\r\\n byte[] bytes = new byte[8];\\r\\n ByteBuffer.wrap(bytes).putDouble(x);\\r\\n outputStream.write(bytes);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a37968c88056b5149a8d3c656b800f0\",\n \"score\": \"0.5983713\",\n \"text\": \"public void putDouble(double value, ByteOrder byteOrder)\\n {\\n final long bits = Double.doubleToLongBits(value);\\n putLong(bits, byteOrder);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63b23f5f0c1ba9986758e50ebade9ca9\",\n \"score\": \"0.5966917\",\n \"text\": \"public static void putDoubleLE(long addr, double val) {\\n long longVal = Double.doubleToLongBits(val);\\n\\n if (UNALIGNED)\\n UNSAFE.putLong(addr, Long.reverseBytes(longVal));\\n else\\n putLongByByte(addr, longVal, false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fdcf569930680e16e7990dacb6e56c5\",\n \"score\": \"0.5928891\",\n \"text\": \"public static void putDoubleLE(byte[] arr, long off, double val) {\\n long longVal = Double.doubleToLongBits(val);\\n\\n if (UNALIGNED)\\n UNSAFE.putLong(arr, off, Long.reverseBytes(longVal));\\n else\\n putLongByByte(arr, off, longVal, false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a0d2b522dea3863954fa87d08e7bc45\",\n \"score\": \"0.5869037\",\n \"text\": \"void putSVDouble(double v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd57314e5ee16e07be9a0b1a8d1d5d79\",\n \"score\": \"0.5868882\",\n \"text\": \"@NativeCallable\\n public void putDouble(String key, double value) {\\n mMap.put(key, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fa08806b21f9e29fcf2e301c8cf0e5f\",\n \"score\": \"0.5811141\",\n \"text\": \"public synchronized void setElement(int index, double value)\\r\\n/* 273: */ {\\r\\n/* 274:696 */ if (index < 0) {\\r\\n/* 275:697 */ throw new ArrayIndexOutOfBoundsException(index);\\r\\n/* 276: */ }\\r\\n/* 277:699 */ if (index + 1 > this.numElements) {\\r\\n/* 278:700 */ this.numElements = (index + 1);\\r\\n/* 279: */ }\\r\\n/* 280:702 */ if (this.startIndex + index >= this.internalArray.length) {\\r\\n/* 281:703 */ expandTo(this.startIndex + (index + 1));\\r\\n/* 282: */ }\\r\\n/* 283:705 */ this.internalArray[(this.startIndex + index)] = value;\\r\\n/* 284: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c77651970645b06ea0e2d6936c7556fb\",\n \"score\": \"0.5781622\",\n \"text\": \"public void set(long index, double value) {\\n if (nonzero >= indices.length) {\\n allocMore();\\n }\\n indices[nonzero++] = index;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6fbd88838f1f6a83d4254be53d0bdb9\",\n \"score\": \"0.5748629\",\n \"text\": \"public double getDouble(long index)\\n {\\n return getDouble(index, getByteOrder());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1a5140f6cb1bbbdf7ba7d801fc859da\",\n \"score\": \"0.5718195\",\n \"text\": \"@Override\\n\\t\\tpublic void writeTo(org.xmlpull.v1.XmlSerializer xmlWriter) throws java.io.IOException {\\n\\t\\t\\txmlWriter.startTag(\\\"\\\", \\\"double\\\");\\n\\t\\t\\txmlWriter.attribute(\\\"\\\", \\\"value\\\", java.lang.Double.toString(fValue));\\n\\t\\t\\txmlWriter.endTag(\\\"\\\", \\\"double\\\");\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c1cb16fba8eb8383e263d9f58521e44\",\n \"score\": \"0.57084554\",\n \"text\": \"@Override\\r\\n\\tpublic void setDouble(int row, int column, double value) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a465bed82df58b03542ee9f041084e09\",\n \"score\": \"0.5694916\",\n \"text\": \"public double getDouble(long index, ByteOrder byteOrder)\\n {\\n final long bits = getLong(index, byteOrder);\\n final double value = Double.longBitsToDouble(bits);\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80c68f25f78179157e93acd8cf0bb321\",\n \"score\": \"0.56474864\",\n \"text\": \"public static void putDoubleField(Object obj, long fieldOff, double val) {\\n UNSAFE.putDouble(obj, fieldOff, val);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efdb16bcd8ab9e927341556d78c56a80\",\n \"score\": \"0.5634817\",\n \"text\": \"public void _write(OutputStream output) {\\n output.write_double(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"083cd5cfdbdf97941fa34aa03de732df\",\n \"score\": \"0.562885\",\n \"text\": \"void setDouble(String key, double value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb1f186013bbe05d71db3f05826214d7\",\n \"score\": \"0.5627332\",\n \"text\": \"public final double getDouble(int index) {\\n\\t\\treturn Double.longBitsToDouble(getLong(index));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d08f683e7f8a3d71c13e84090f831639\",\n \"score\": \"0.56163603\",\n \"text\": \"public void appendDouble(double d) {\\r\\n this.sb.append(d);\\r\\n return;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdaaa20495ebcf62d9422d8549eabb47\",\n \"score\": \"0.5593644\",\n \"text\": \"public void setElemDouble(int bank, int i, double val)\\n {\\n setElem(bank, i, (int) val);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b646df2db7972156a57c0846fcd119e5\",\n \"score\": \"0.5557409\",\n \"text\": \"public void put(double d) throws MathLinkException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"701513f4760aca45ceae04cceddf594b\",\n \"score\": \"0.554637\",\n \"text\": \"@Override\\n public void encodeDouble(Double att) throws IllegalArgumentException, MALException {\\n EncodingHelper.checkForNull(att);\\n internalEncodeAttributes(Constants.DOUBLE, att.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f04c54ff99eebe55e7eacf2271e0bdc\",\n \"score\": \"0.5516731\",\n \"text\": \"void setDouble(int parameterIndex, double x) throws SQLException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f86a56c83f0ff20cb43340a0c4033438\",\n \"score\": \"0.54941046\",\n \"text\": \"public double getDouble(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db083a1d383cef78841e4d021091e20c\",\n \"score\": \"0.54847884\",\n \"text\": \"@Test\\n public void testWriteDoubleValue() throws IOException\\n {\\n {\\n when(reader.getDouble(column)).thenReturn(10.0);\\n writer.writeDoubleValue(builder, reader, column);\\n verify(builder).writeBoolean(true);\\n }\\n\\n // write false if the round to nearest of double value is equal to 0\\n {\\n when(reader.getDouble(column)).thenReturn(0.5);\\n writer.writeDoubleValue(builder, reader, column);\\n verify(builder).writeBoolean(false);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e77a0c08b95a909e73046a846666350a\",\n \"score\": \"0.54687166\",\n \"text\": \"public double setDouble(long tnIndex, double tnValue)\\n {\\n return getMarkerWithIndex(tnIndex).set(tnIndex, tnValue);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5b41de5d753f08558ac8ccb94aa871b\",\n \"score\": \"0.5451722\",\n \"text\": \"@Override\\n\\tpublic void write(DataOutput out) throws IOException\\n\\t{\\n\\t\\tout.writeShort(tag);\\n\\t\\tout.writeInt(index);\\n\\t\\tout.writeDouble(value);\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"310c2b13b6243d5da61c7801bfb27f46\",\n \"score\": \"0.54445845\",\n \"text\": \"public void writeDouble(double d) {\\n\\t\\tif (!socket.isClosed() && socket.isConnected()) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\toutput.writeDouble(d);\\n\\t\\t\\t\\toutput.flush();\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\tAJPFLogger.warning(logname, e.getMessage());\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\twrite (\\\"error\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"599c12ec0ed1e1616f3632c2bda14fca\",\n \"score\": \"0.5428441\",\n \"text\": \"@Override\\n public void encodeNullableDouble(Double att) throws MALException {\\n internalEncodeNullableAttribute(att, Constants.DOUBLE, () -> encodeDouble(att));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd6943dba0a4ec45818d2e7745243691\",\n \"score\": \"0.5408245\",\n \"text\": \"public synchronized void addDouble(long tnIndex, double tnValue)\\n {\\n ArrayMarker loMarker = getMarkerWithIndex(tnIndex);\\n\\n if ((loMarker.m_nStartIndex + loMarker.getCapacity() >= tnIndex || loMarker.m_nEndIndex+1 >= tnIndex))\\n {\\n // The value can be added inside, or appended to the marker\\n }\\n else\\n {\\n // A new marker needs to be created\\n ArrayMarker loNewMarker = new ArrayMarker(0, loMarker.m_nEndIndex, (int)tnIndex);\\n m_oMarkers.add(loNewMarker);\\n loNewMarker.add(tnValue);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11a182e99adb1cbd87cefddcefb41c13\",\n \"score\": \"0.53662467\",\n \"text\": \"public void log(String key, Double value){\\n try {\\n if(!contains(key)){\\n byte[] bytes = new byte[8];\\n ByteBuffer.wrap(bytes).putDouble(value);\\n\\n log.put(key.getBytes(), bytes);\\n }\\n } catch (RocksDBException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0687955a63e2827d315053221b33d01d\",\n \"score\": \"0.5364582\",\n \"text\": \"public String setDouble(String key, double value) {\\n\\t\\t\\tif ((key = this.sanitizeKey(key)) == null)\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\treturn this.setValue(key, (\\\"\\\" + value));\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3222fcf173c059f53f28cd45f7d589b0\",\n \"score\": \"0.5360756\",\n \"text\": \"double getDouble( int index );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9761e7cb406fe30ef40141ff4d63137a\",\n \"score\": \"0.5349589\",\n \"text\": \"public Tuple put(String name, double value)\\r\\n\\t{\\r\\n\\t\\tthis.insert(name, value);\\r\\n\\t\\t\\r\\n\\t\\t// add 24 bytes, 24 bytes is derived from \\r\\n\\t\\t// java.lang.instrument.Instrumentation to test \\r\\n\\t\\t// Double.MAX_VALUE (as the value will be auto-boxed\\r\\n\\t\\t// into Double) on a 64bit VM.\\r\\n\\t\\tthis.estimate_size_in_bytes += 24;\\r\\n\\t\\t\\r\\n\\t\\treturn this;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26130c200abb374a42d2884d9fc69382\",\n \"score\": \"0.5336989\",\n \"text\": \"public void write(int y, int x, double value){\\r\\n\\t\\twrite(y, x, value, 43);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"604a921834ecfd038830185712add0ce\",\n \"score\": \"0.53136736\",\n \"text\": \"@Override\\n public void setQuick(int index, double value) {\\n elements[offset + offsets[zero + index * stride]] = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46758c4ba6e4bf151569815420e7a930\",\n \"score\": \"0.5312232\",\n \"text\": \"public void setValue(final int index, final double value)\\n {\\n this.data[index] = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e56397e7a10f0ee37c235dfec8c0da4\",\n \"score\": \"0.52948767\",\n \"text\": \"private void put(long index, byte data) {\\r\\n \\t\\tif (!this.open) \\r\\n \\t\\t\\tUtil.fatalError(\\\"Attempt to write to closed database.\\\");\\r\\n \\t\\ttry {\\t\\t\\t\\r\\n \\t\\t\\t/* if (index >= this.capacity) {\\r\\n \\t\\t\\t\\twhile(index >= this.capacity)\\r\\n \\t\\t\\t\\t\\tthis.capacity = this.capacity << 1;\\r\\n \\t\\t\\t\\tthis.memoryStorage.ensureCapacity(this.capacity); }\\r\\n \\t\\t\\tif (this.memoryStorage.size() <= index)\\r\\n \\t\\t\\t\\tthis.memoryStorage.add((int) index, data);\\r\\n \\t\\t\\telse\\r\\n \\t\\t\\t\\tthis.memoryStorage.set((int) index, data); */\\r\\n \\t\\t\\t\\r\\n \\t\\t\\tif (index >= this.capacity) {\\r\\n \\t\\t\\t\\twhile (index >= this.capacity)\\r\\n \\t\\t\\t\\t\\tthis.capacity = this.capacity << 2; // Grow by factor of 4\\r\\n \\t\\t\\t\\tbyte[] temp = this.memoryStorage;\\r\\n \\t\\t\\t\\tthis.memoryStorage = new byte[this.capacity];\\r\\n \\t\\t\\t\\tfor (int i = 0; i < temp.length; i ++) {\\r\\n \\t\\t\\t\\t\\tthis.memoryStorage[i] = temp[i];\\t}\\r\\n \\t\\t\\t\\ttemp = null;\\r\\n \\t\\t\\t}\\r\\n \\t\\t\\tthis.memoryStorage[(int) index] = data;\\r\\n \\t\\t} catch (Exception e) {\\r\\n \\t\\t\\tUtil.fatalError(\\\"Write to DB failed.\\\", e);\\r\\n \\t\\t}\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec24bce5b8dab552372e2ab5ecd4229a\",\n \"score\": \"0.52477896\",\n \"text\": \"public void updateDouble(int columnIndex, double x) throws SQLException {\\n notOnARow();\\n columnIndexOutOfRange(columnIndex);\\n _currentRow.update(columnIndex - 1, new Double(x));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03e5a7e037eb74f42778e7daf50eb6c8\",\n \"score\": \"0.5245004\",\n \"text\": \"public static void writeDouble(PrintWriter w, double n) {\\r\\n if (w == null) return;\\r\\n\\r\\n try {\\r\\n w.println(n);\\r\\n } catch (Exception e) {\\r\\n logger.log(Level.SEVERE, \\\"exception\\\", e);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9a7a940f519ff34f18d6172f4c7ed7b\",\n \"score\": \"0.5220285\",\n \"text\": \"public void setElemDouble(int i, double val)\\n {\\n setElem(i, (int) val);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a42cef0809657b6b1a0bbe7a4035c81b\",\n \"score\": \"0.52180755\",\n \"text\": \"public JSONObject put(String key, double value) throws JSONException {\\n/* 1730 */ return put(key, Double.valueOf(value));\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"917b4b66ca9967222a8fc9334592324e\",\n \"score\": \"0.51993245\",\n \"text\": \"@Nullable\\n Double double_(@NotNull String key);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44997dd885a61aa88436f86ffe444a0c\",\n \"score\": \"0.5195364\",\n \"text\": \"public void addDoubleValue(String key, double val, String comment)\\n\\tthrows HeaderCardException\\n {\\n String sval = \\\"\\\"+val;\\n replaceCard(key, sval, comment);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e8673a9ef4ba7883f2ecbdb34c8ea88\",\n \"score\": \"0.51855314\",\n \"text\": \"@Override\\n\\tpublic void updateDouble(String arg0, double arg1) throws SQLException {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80c31c6c6bd0e68a97680e67e9f9e274\",\n \"score\": \"0.517082\",\n \"text\": \"default SmallDoubleBuffer asDoubleBuffer() {\\n\\t\\treturn new SmallDoubleBuffer(duplicate());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9121c9c5cddaa009955bb5050df6bd3d\",\n \"score\": \"0.51643467\",\n \"text\": \"public void put(String key, double value) {\\r\\n super.put(key, new Double(value));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9382cf19034b7c4e83838d0669f08c5b\",\n \"score\": \"0.5158364\",\n \"text\": \"public synchronized void addElement(double value)\\r\\n/* 83: */ {\\r\\n/* 84:301 */ this.numElements += 1;\\r\\n/* 85:302 */ if (this.startIndex + this.numElements > this.internalArray.length) {\\r\\n/* 86:303 */ expand();\\r\\n/* 87: */ }\\r\\n/* 88:305 */ this.internalArray[(this.startIndex + (this.numElements - 1))] = value;\\r\\n/* 89:306 */ if (shouldContract()) {\\r\\n/* 90:307 */ contract();\\r\\n/* 91: */ }\\r\\n/* 92: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efae158bc979cd060e0d1453e16c2da6\",\n \"score\": \"0.5154179\",\n \"text\": \"@Override\\n public double readDouble() {\\n double d = Bits.getDouble(positionAddr);\\n\\n addPosition(8);\\n return d;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"659d62e590d3dfe0d7ca61f327e636e4\",\n \"score\": \"0.5144274\",\n \"text\": \"public java.lang.StringBuffer format(double number, java.lang.StringBuffer result, java.text.FieldPosition fieldPosition) { throw new RuntimeException(\\\"Stub!\\\"); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d904b9c3864a7fd87875ce65ebacd0ea\",\n \"score\": \"0.51442546\",\n \"text\": \"public StringBufferFast append(double d) {\\r\\n\\treturn append(String.valueOf(d));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"298d372789497c9489def5ac1ec7f15c\",\n \"score\": \"0.5116365\",\n \"text\": \"public void setElement(\\n int rowIndex,\\n int columnIndex,\\n double value );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95457e89511806ecdc4ea539b6d56304\",\n \"score\": \"0.5107393\",\n \"text\": \"protected void doRecordDouble(double value) {\\n throw new UnsupportedOperationException(\\n \\\"This aggregator does not support recording double values.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fb6885f7092ace33b3fddb67789a4de\",\n \"score\": \"0.5107195\",\n \"text\": \"@Override\\n\\tpublic synchronized void addValue(String metric, double value) throws IOException {\\n\\t\\tfinal long timeInSeconds = System.currentTimeMillis() / 1000;\\n\\t\\tif (lastTime != timeInSeconds) {\\n\\t\\t\\tlastTimestamp = String.valueOf(timeInSeconds);\\n\\t\\t\\tlastTime = timeInSeconds;\\n\\t\\t}\\n\\t\\tbufferWriter.append(prefix).append(metric).append(tags).append(SEPARATOR);\\n\\t\\tbufferWriter.append(\\\"value=\\\").append(decimalFormat.format(value)).append(SEPARATOR);\\n\\t\\tbufferWriter.append(lastTimestamp).append('\\\\n');\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fe65fb65ff65b68fdb64d9efbc87b2d\",\n \"score\": \"0.5107033\",\n \"text\": \"double getDouble(String key, double backup);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fe65fb65ff65b68fdb64d9efbc87b2d\",\n \"score\": \"0.5107033\",\n \"text\": \"double getDouble(String key, double backup);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7d47ac9ce84bc6a474492d1c0c1812f\",\n \"score\": \"0.5100219\",\n \"text\": \"@Override\\n\\tpublic void setDouble(int arg0, double arg1) throws OdaException {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c84abb91d40c984fe1a1261988509cc\",\n \"score\": \"0.5097796\",\n \"text\": \"public void setDouble(int parameterIndex, double x)\\r\\n throws java.sql.SQLException {\\r\\n wrappedStatement.setDouble(parameterIndex, x);\\r\\n saveQueryParamValue(parameterIndex, new Double(x));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11846e7f67a9376ecbc1bf2b26f8781c\",\n \"score\": \"0.50878495\",\n \"text\": \"public native boolean write(final long pAgentId, final long pObjectId,\\n final int pVariable, final double pValue, final int pTime)\\n throws RollbackException, SSVNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"647f1427b7f834758c59fbdeecd94466\",\n \"score\": \"0.5087054\",\n \"text\": \"public StringBufferFast insert(int offset, double d) {\\r\\n\\treturn insert(offset, String.valueOf(d));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4b46623a4711f913f50fcdfe4631df1\",\n \"score\": \"0.50801784\",\n \"text\": \"public void setXB(java.lang.Double value) {\\n this.xB = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29db1c8d5ff84bcb399bea6dd8f314f9\",\n \"score\": \"0.5072374\",\n \"text\": \"public BsonDouble(final double value) {\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08f56b973550f800649c0855b492b0e7\",\n \"score\": \"0.5061166\",\n \"text\": \"@Override\\n public double getDouble(int pos) {\\n return (double) values[pos];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51f9a21efb2f8fbace3f0e4d6a4138b2\",\n \"score\": \"0.5045896\",\n \"text\": \"@Override\\n\\t\\tpublic void writeToParcel(android.os.Parcel parcel, int flags) {\\n\\t\\t\\tparcel.writeDouble(fValue);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6e915aa1b7df00c943a19897e600ca0\",\n \"score\": \"0.50440264\",\n \"text\": \"@Override\\n\\tpublic void updateDouble(int arg0, double arg1) throws SQLException {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d3ac54be0d17d25f3b6dfccb3cb45b0\",\n \"score\": \"0.5041382\",\n \"text\": \"void setPropertyDouble(\\n\\t\\tString schemaNS,\\n\\t\\tString propName,\\n\\t\\tdouble propValue,\\n\\t\\tPropertyOptions options) throws XMPException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ede453ea70b0352371fe8916d090b1df\",\n \"score\": \"0.5022135\",\n \"text\": \"@Ignore\\n\\t@Test\\n\\tpublic void testWriteSpeedDouble() throws Exception\\n\\t{\\n\\t\\tif (writer == null)\\n\\t\\t\\treturn;\\n\\n\\t\\tSystem.out.println(\\\"Write test: Adding samples to \\\" + name + \\\" for \\\" + TEST_DURATION_SECS + \\\" secs\\\");\\n\\t\\tfinal WriteChannel channel = writer.getChannel(name);\\n\\t\\tfinal INumericMetaData meta =\\n\\t\\t\\tValueFactory.createNumericMetaData(0, 10, 2, 8, 1, 10, 1, \\\"a.u.\\\");\\n\\n\\t\\tlong count = 0;\\n\\t\\tfinal BenchmarkTimer timer = new BenchmarkTimer();\\n\\t\\tfinal long start = System.currentTimeMillis();\\n\\t\\tfinal long end = start + TEST_DURATION_SECS*1000L;\\n\\t\\tdo\\n\\t\\t{\\n\\t\\t\\t++count;\\n\\t\\t\\tfinal IValue sample = ValueFactory.createDoubleValue(TimestampFactory.now(),\\n\\t\\t\\t\\tValueFactory.createOKSeverity(), \\\"OK\\\",\\n\\t\\t\\t\\tmeta,\\n\\t\\t\\t\\tIValue.Quality.Original,\\n\\t\\t\\t\\tnew double[] { count });\\n\\t\\t\\twriter.addSample(channel, sample);\\n\\t\\t\\tif (count % FLUSH_COUNT == 0)\\n\\t\\t\\t\\twriter.flush();\\n\\t\\t}\\n\\t\\twhile (System.currentTimeMillis() < end);\\n\\t\\twriter.flush();\\n\\t\\ttimer.stop();\\n\\n\\t\\tSystem.out.println(\\\"Wrote \\\" + count + \\\" samples in \\\" + timer);\\n\\t\\tSystem.out.println(count / timer.getSeconds() + \\\" samples/sec\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb958ea7b50eb621f5c1f02125e85a47\",\n \"score\": \"0.5017924\",\n \"text\": \"@Override\\n\\tpublic void setDouble(String arg0, double arg1) throws OdaException {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd8024fbd31a0c205e946dd5d3ae6067\",\n \"score\": \"0.5005475\",\n \"text\": \"@Override\\r\\n\\tpublic double getDouble(final String key) {\\r\\n\\t\\treturn getDouble(key, 0.0D);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"023036711a5e357881bc3e8fb774b3bd\",\n \"score\": \"0.5001733\",\n \"text\": \"public double getDouble(int index) {\\r\\n Json e = get(index);\\r\\n\\r\\n if (e != null) {\\r\\n return e.getDouble();\\r\\n } else {\\r\\n return Double.NaN;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae07f3fb4d0d6ec5634502a23800591d\",\n \"score\": \"0.4970321\",\n \"text\": \"@Override\\n\\tpublic void foundCellContentAsDouble(int arg0, int arg1, int arg2,\\n\\t\\t\\tdouble arg3) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69f5b0413d2cccf861fcc3ea9a2ccf51\",\n \"score\": \"0.49627873\",\n \"text\": \"public abstract double getDouble(int attributeIndex);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a6b655a1ee8b118b00f8e4f7d963de\",\n \"score\": \"0.49485362\",\n \"text\": \"public native double getValueDouble();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bc143242961fd584c6aaceb8dba8ca9\",\n \"score\": \"0.49392313\",\n \"text\": \"public void set_double(org.apache.axis2.databinding.types.soapencoding._double param){\\n \\n this.local_double=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a54d4353cb7960040b8640db59a65cd\",\n \"score\": \"0.4922259\",\n \"text\": \"public double getDoubleLE(int index)\\r\\n/* 128: */ {\\r\\n/* 129: 796 */ return Double.longBitsToDouble(getLongLE(index));\\r\\n/* 130: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a367d23748feaea8f5652a8b6225276\",\n \"score\": \"0.49193475\",\n \"text\": \"public void updateDouble(String columnName, double x) throws SQLException {\\n int columnIndex = findColumn(columnName);\\n updateDouble(columnIndex, x);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"079ca16ca502c957132f899941f5c820\",\n \"score\": \"0.49159938\",\n \"text\": \"@Override\\n\\tpublic void set(double v) \\n\\t{\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3821930fa83845a66d822aef38040f7\",\n \"score\": \"0.4907452\",\n \"text\": \"public double getDouble(int index) throws MorseException {\\n\\t\\t\\treturn 0;\\r\\n\\t\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":895,"cells":{"query_id":{"kind":"string","value":"235f833b54ed9ec3e3d2c77577ac099c"},"query":{"kind":"string","value":"Interface indicates a requestmessage."},"positive_passages":{"kind":"list like","value":[{"docid":"2f54177ea90915fe6acec34668a4aea6","score":"0.60453826","text":"public interface SWTRequest extends SWTMessage {\n\n}","title":""}],"string":"[\n {\n \"docid\": \"2f54177ea90915fe6acec34668a4aea6\",\n \"score\": \"0.60453826\",\n \"text\": \"public interface SWTRequest extends SWTMessage {\\n\\n}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"50dc7d540ec71cb91828ba0e15597c97","score":"0.6917762","text":"public void onRequestMessage (RequestMessage msg);","title":""},{"docid":"d1415a6a1a587681d741453ec8d630f2","score":"0.6385365","text":"int getRequestMessage();","title":""},{"docid":"79404cd817fa351d5e31772599797453","score":"0.61898285","text":"interface Message {\n}","title":""},{"docid":"c3b150464f69c6072359cffd347e7da0","score":"0.596299","text":"public interface IRequest {}","title":""},{"docid":"d6572be2d379b4fc5a7a881a70b6949f","score":"0.59603673","text":"protected void doMessage(javax.servlet.sip.SipServletRequest req) throws javax.servlet.ServletException, java.io.IOException{\n \tif (req.isInitial())\n \t\t\tnotImplemented(req);\n }","title":""},{"docid":"3fc2ff89b145bad801e4419235f1d00d","score":"0.5948047","text":"public IMsg getReq()\n {\n return m_req;\n }","title":""},{"docid":"91d58252ef9cf143d837e812fb2a170f","score":"0.58936614","text":"public java.lang.String getRequestMessageString(){\n return localRequestMessageString;\n }","title":""},{"docid":"f412641e3c662db4c73b8a88853caa84","score":"0.5891968","text":"public void getSpecificRequest() {\r\n\t\tSystem.out.println(\"Adaptee received request\");\r\n\t}","title":""},{"docid":"c6641edb6b751c6f9d7d5afb057290e7","score":"0.5889523","text":"experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder();","title":""},{"docid":"b1b69b08e635caca290e128fcafdb568","score":"0.5882867","text":"protected interface Request\n {\n }","title":""},{"docid":"5f16ede6b84eacc47e1219922d587816","score":"0.5876638","text":"public interface MessageTypeInterface {\n /**\n * Type of the message\n */\n public enum MessageType{\n START,\n TOKEN,\n GET_WORK,\n STOP,\n WORK_TERMINATED,\n IDLE\n }\n}","title":""},{"docid":"abc29665372be74182ca213a6892bd0d","score":"0.58715856","text":"public interface Message {\n}","title":""},{"docid":"27d92cf0f79b70684cd515832ebf1e11","score":"0.5850757","text":"MessageType getMessageIn();","title":""},{"docid":"f6b28a843ca6180e09c28d7af7fa1fc0","score":"0.5842984","text":"experiment.protocolgen.MsgProtocol.Request getRequest();","title":""},{"docid":"8a658dd6c78f827b963e2a16b8419205","score":"0.5829528","text":"public MenuRequestMessage() {\n\t\tsuper(PizzaMessage.MENU_REQUEST);\n\t}","title":""},{"docid":"0e5daccdf005802e792695dd4e6ba030","score":"0.58129096","text":"@Override\n protected void beforeRequest(HttpServletRequest request, String message) {\n }","title":""},{"docid":"873d4100dcfa32bead2c6d2f25798bc6","score":"0.5762814","text":"public synchronized String processMessage(String request) {\n return request;\n }","title":""},{"docid":"01c5bbcf8453a622d50bcff6059c70cf","score":"0.57295364","text":"public interface Request {\n}","title":""},{"docid":"55ccc7a414a1456f0ec48cce1642ee87","score":"0.57117546","text":"@Override\n public Message getMessage() {\n return message;\n }","title":""},{"docid":"e141caae1aa1ec0c1a28f1acf9133cf9","score":"0.57005954","text":"public interface Response extends Message {\n}","title":""},{"docid":"5b8d29118e8ef5a690547f74590a610a","score":"0.56844825","text":"public experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder() {\n return request_;\n }","title":""},{"docid":"4bd1d982ada75ef85aa282e87d1e252d","score":"0.568283","text":"public experiment.protocolgen.MsgProtocol.Request getRequest() {\n return request_;\n }","title":""},{"docid":"14152c0069ac27f6f7ba3fabe3518266","score":"0.56593823","text":"public void setRequestMessageString(java.lang.String param){\n localRequestMessageStringTracker = true;\n \n this.localRequestMessageString=param;\n \n\n }","title":""},{"docid":"a89ace58f2db34085a1a7f9c8b6b24c3","score":"0.5655544","text":"public String targetMessage();","title":""},{"docid":"103f36451b3a390510493fa07aaba397","score":"0.5650616","text":"public experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder() {\n if (requestBuilder_ != null) {\n return requestBuilder_.getMessageOrBuilder();\n } else {\n return request_;\n }\n }","title":""},{"docid":"5a0f2a4319182ade150731c3f4afb264","score":"0.56464785","text":"public void doMessage(SipServletRequest req) throws ServletException,\r\n\t\t\tIOException {\n\t\tCallflowRequest request = new CallflowRequest((Vector)super.getAll(),req,null,SipMethods.MESSAGE);\r\n\t\tThreadManager.instance().execute(request);\r\n\t}","title":""},{"docid":"064e0e5499eb251b21b8c99d644fab91","score":"0.5613861","text":"public interface IsMessage {\n\t/**\n\t * Who is sending this message\n\t * @return\tThe author\n\t **/\n\tpublic String getFrom();\n\t/**\n\t * What is the subject of this message\n\t * @return\tThe subject\n\t **/\n\tpublic String getSubject();\n\t/**\n\t * Get the content of this message\n\t * @return\tThe content message\n\t **/\n\tpublic String getContent();\n}","title":""},{"docid":"e852a9800390ab376b43ce65f24db9cd","score":"0.55971223","text":"public void onInterestedMessage (InterestedMessage msg);","title":""},{"docid":"0e304c56c6d12fd654533e38db098881","score":"0.5594442","text":"protected void addMessageCode(HttpServletRequest request, String code)\n\t{\n\t\tsess(request).addMessageCode(code);\n\t}","title":""},{"docid":"62ca547c9e5f7f56c24862d08a6e8b9a","score":"0.55847627","text":"public experiment.protocolgen.MsgProtocol.Request getRequest() {\n if (requestBuilder_ == null) {\n return request_;\n } else {\n return requestBuilder_.getMessage();\n }\n }","title":""},{"docid":"1df8dbdd80b5057515f76e2cea1b8b9b","score":"0.5576852","text":"public interface INaRequest {\n NaHttpType getType();\n\n void setType(NaHttpType type);\n\n String getUrl();\n\n void setUrl(String url);\n\n INaParams getParams();\n\n void setParams(INaParams params);\n\n INaHeaders getHeaders();\n\n void setHeaders(INaHeaders headers);\n\n INaCallBack getCallBack();\n\n void setCallBack(INaCallBack callBack);\n\n void setId(int id);\n\n}","title":""},{"docid":"668e9ca09b72b5355023037d192650c4","score":"0.55760926","text":"@Override\n public String getMessage(){\n return message;\n }","title":""},{"docid":"246daa835f44835c009571141bbdf6a3","score":"0.557021","text":"public String requestId() {\n return this.requestId;\n }","title":""},{"docid":"dfb84f9f4aa339f40790ed669acec1c4","score":"0.5527992","text":"@Override\n\tpublic String[] getInterestedMessageTypes() {\n\t\treturn new String[] {\"ENTER_DEVILSQUARE_REQ\"};\n\t}","title":""},{"docid":"4b7c7803363bec930c299db592374e72","score":"0.55256635","text":"public void setMessage(String message);","title":""},{"docid":"4b7c7803363bec930c299db592374e72","score":"0.55256635","text":"public void setMessage(String message);","title":""},{"docid":"cfbcb8982e8d2ffb202a46230cdbe7d7","score":"0.5520667","text":"Message getMsg();","title":""},{"docid":"65372ef4e68f702c4e1540b3a3586ec4","score":"0.5518648","text":"public void setReq(IMsg req)\n {\n m_req = req;\n }","title":""},{"docid":"b63a74adaee13d78004e387399e4a3f1","score":"0.55179244","text":"public boolean isRequest() {\n\t\treturn CodeRegistry.isRequest(code);\n\t}","title":""},{"docid":"63872e6b43244b6bc469a8bdd198df8e","score":"0.55159605","text":"protected void addInformazione(HttpServletRequest request, String messaggio){\n\t\taddMessaggio(request,Messaggio.INFORMAZIONE,messaggio);\n\t}","title":""},{"docid":"f92c846cdd34797d06fdfb0a5770c234","score":"0.5510968","text":"public void clientMessage(String message) {\n\t\t\n\t}","title":""},{"docid":"191fafec74859812c87a26e8c1398e56","score":"0.5505632","text":"@Override\n\tpublic void doWhatForRequest(int what, String info) {\n\n\t}","title":""},{"docid":"2ee4146c6af56d7cec1c2d5c730b734c","score":"0.5501674","text":"public interface IInAppMessage\n\textends IPutIntoJson\n{\n\n\tpublic abstract boolean getAnimateIn();\n\n\tpublic abstract boolean getAnimateOut();\n\n\tpublic abstract int getBackgroundColor();\n\n\tpublic abstract Bitmap getBitmap();\n\n\tpublic abstract ClickAction getClickAction();\n\n\tpublic abstract CropType getCropType();\n\n\tpublic abstract DismissType getDismissType();\n\n\tpublic abstract int getDurationInMilliseconds();\n\n\tpublic abstract long getExpirationTimestamp();\n\n\tpublic abstract Map getExtras();\n\n\tpublic abstract String getIcon();\n\n\tpublic abstract int getIconBackgroundColor();\n\n\tpublic abstract int getIconColor();\n\n\tpublic abstract boolean getImageDownloadSuccessful();\n\n\tpublic abstract String getImageUrl();\n\n\tpublic abstract String getLocalImageUrl();\n\n\tpublic abstract String getMessage();\n\n\tpublic abstract TextAlign getMessageTextAlign();\n\n\tpublic abstract int getMessageTextColor();\n\n\tpublic abstract boolean getOpenUriInWebView();\n\n\tpublic abstract Orientation getOrientation();\n\n\tpublic abstract String getRemoteAssetPathForPrefetch();\n\n\tpublic abstract String getRemoteImageUrl();\n\n\tpublic abstract Uri getUri();\n\n\tpublic abstract boolean isControl();\n\n\tpublic abstract boolean logClick();\n\n\tpublic abstract boolean logDisplayFailure(InAppMessageFailureType inappmessagefailuretype);\n\n\tpublic abstract boolean logImpression();\n\n\tpublic abstract void onAfterClosed();\n\n\tpublic abstract void setAnimateIn(boolean flag);\n\n\tpublic abstract void setAnimateOut(boolean flag);\n\n\tpublic abstract void setBackgroundColor(int i);\n\n\tpublic abstract void setBitmap(Bitmap bitmap);\n\n\tpublic abstract boolean setClickAction(ClickAction clickaction);\n\n\tpublic abstract boolean setClickAction(ClickAction clickaction, Uri uri);\n\n\tpublic abstract void setCropType(CropType croptype);\n\n\tpublic abstract void setDismissType(DismissType dismisstype);\n\n\tpublic abstract void setDurationInMilliseconds(int i);\n\n\tpublic abstract void setExpirationTimestamp(long l);\n\n\tpublic abstract void setIcon(String s);\n\n\tpublic abstract void setIconBackgroundColor(int i);\n\n\tpublic abstract void setIconColor(int i);\n\n\tpublic abstract void setImageDownloadSuccessful(boolean flag);\n\n\tpublic abstract void setImageUrl(String s);\n\n\tpublic abstract void setLocalAssetPathForPrefetch(String s);\n\n\tpublic abstract void setLocalImageUrl(String s);\n\n\tpublic abstract void setMessage(String s);\n\n\tpublic abstract void setMessageTextAlign(TextAlign textalign);\n\n\tpublic abstract void setMessageTextColor(int i);\n\n\tpublic abstract void setOpenUriInWebView(boolean flag);\n\n\tpublic abstract void setOrientation(Orientation orientation);\n\n\tpublic abstract void setRemoteImageUrl(String s);\n}","title":""},{"docid":"42e25d6d7547625d4d19a716ea09a714","score":"0.54985464","text":"public interface MessagePrestener {\n\n}","title":""},{"docid":"994015b4bc1a4ea6e54d5bdb1cde5920","score":"0.54911333","text":"private void onMessage(Message message) {\n if (GET_METADATA_REQ.equals(message.qualifier())) {\n onMetadataRequest(message);\n }\n }","title":""},{"docid":"3774789f111f33d262a54a3c3024404e","score":"0.5487653","text":"@Override\r\n\tpublic String getMessage()\r\n\t{\r\n\t\treturn message;\r\n\t}","title":""},{"docid":"f1a554a0329254e84712273a5672939a","score":"0.54780096","text":"public String getResponseMessage();","title":""},{"docid":"f1a554a0329254e84712273a5672939a","score":"0.54780096","text":"public String getResponseMessage();","title":""},{"docid":"a01619ef72b7d420e9c63c14edf9e8cc","score":"0.54773843","text":"public interface IResponse extends IRequest {\n \n /**\n * Creates a Response object\n * @param opType\n * @param parameter \n */\n public void createResponse(EnumOperationType opType, IParameter parameter); \n\t/**\n\t * This method returns Status of the request.\n\t * \n\t * @see IStatus\n\t * @return\n\t */\n\tpublic IStatus getStatus();\n\t\n\t/**\n\t * This method returns response id of the response.\n\t * @return\n\t \n\tpublic long getResponseID();\n\t*/\n \n\t/**\n\t * This method returns Message object for the response. \n\t * @return\n\t * \n\t * @see IMessage\n\t */\n\tpublic String getMessage();\n}","title":""},{"docid":"f9d367b748398c6ef9172f20531f4973","score":"0.5475025","text":"public interface MessageListener extends EventListener{\n\n public void onGroupMessageReceived(RequestMessage message);\n\n public void onSingleMessageReceived(RequestMessage message);\n\n public void onCMDMessage(RequestMessage message);\n}","title":""},{"docid":"e753700e2950f0437a4266612e428c65","score":"0.5474879","text":"@Override\n\tpublic String message() {\n\t\treturn message;\n\t}","title":""},{"docid":"6ff503ea0adc9823bbd83c2c1cf9c0d5","score":"0.5471179","text":"public String actionMessage ();","title":""},{"docid":"d99b65970018ae67fcf1e80d170e570c","score":"0.54689103","text":"public RpcRequestCommand() {\n super(RpcCommandCode.RPC_REQUEST);\n }","title":""},{"docid":"4d4adc874d563edaad23b98413540087","score":"0.5468725","text":"@Override\n public String getMessage() {\n return message;\n }","title":""},{"docid":"5988dc086ee08fa8377b9dbdf95c52f9","score":"0.54659307","text":"public interface ReceivedMessage {\n\n\tpublic Message getOriginalMessage();\n\t\n\tpublic long getTimestamp();\n\t\n\tpublic MessageStatus getStatus();\n\t\n\tpublic AppID getAppId();\n\n\tpublic String getAppName();\n\n}","title":""},{"docid":"bc0d63768c9abf67e606aaad461869ed","score":"0.5448936","text":"public int getRequestType() {\n return requestType;\n }","title":""},{"docid":"543193260ce0f2bcf059ce90cdaa07a3","score":"0.5445334","text":"void statusMessage(String message);","title":""},{"docid":"36fb8eb22a887443213db122c57a7673","score":"0.5438446","text":"public interface INetworkMessage {\n\t/**\n\t * size of the job to be transferred over the network\n\t * if <= 0 the size is treated as unknown (for RECV messages).\n\t * @return\n\t */\n\tpublic long getSize();\n\n\t/**\n\t * The destination of this message (part) inside the network\n\t * @return\n\t */\n\tpublic INetworkExit getMessageTarget();\n\n\t/**\n\t * The source of this message (part)\n\t * @return\n\t */\n\tpublic INetworkEntry getMessageSource();\n}","title":""},{"docid":"2e3ac23325d7876490cebfe34f2ead34","score":"0.54370415","text":"LocateRequestMessage_1_2(ORB paramORB) {\n/* 51 */ this.orb = paramORB;\n/* */ }","title":""},{"docid":"19b46f7b67a5302ca94ac8e5b7d1ff21","score":"0.5436484","text":"public interface RequestStatistics {\n\n /**\n * Gets the total number of messages that have been sent on behalf of this request.\n * @return\n * the number of messages sent (number of retries plus one).\n */\n int getTotalMessagesSent();\n\n /**\n * Sets the total number of messages that have been sent on behalf of this request.\n * @param totalMessagesSent\n * the total message count for this request.\n */\n void setTotalMessagesSent(int totalMessagesSent);\n\n /**\n * Gets the index of the message that has been responded.\n * @return\n * 0 if the initial message has been responded by the command responder.\n * A value greater than zero indicates, that a retry message has been responded.\n */\n int getIndexOfMessageResponded();\n\n /**\n * Sets the index of the message that has been responded.\n * @param indexOfMessageResponded\n * the zero-based index of the message for which the response had been received.\n */\n void setIndexOfMessageResponded(int indexOfMessageResponded);\n\n /**\n * Gets the time elapsed between the sending of the message and receiving its response.\n * @return\n * the runtime of the successful request and response message pair in nanoseconds.\n */\n long getResponseRuntimeNanos();\n\n /**\n * Sets the time elapsed between the sending of the message and receiving its response.\n * @param responseRuntimeNanos\n * the runtime of the successful request and response message pair in nanoseconds.\n */\n void setResponseRuntimeNanos(long responseRuntimeNanos);\n\n}","title":""},{"docid":"a64170dfccca4f67d54e373153de5457","score":"0.54329324","text":"public RequestToJoin getMessage() {\n return message;\n }","title":""},{"docid":"34a12e7f5fe8ec6b457cb355a9f3aac1","score":"0.5432287","text":"@Override\n\tpublic String getMessage() {\n\t\treturn message;\n\t}","title":""},{"docid":"34a12e7f5fe8ec6b457cb355a9f3aac1","score":"0.5432287","text":"@Override\n\tpublic String getMessage() {\n\t\treturn message;\n\t}","title":""},{"docid":"34a12e7f5fe8ec6b457cb355a9f3aac1","score":"0.5432287","text":"@Override\n\tpublic String getMessage() {\n\t\treturn message;\n\t}","title":""},{"docid":"20931e929597ce50218e0160b570a041","score":"0.54285264","text":"public interface RequestResponse {\n}","title":""},{"docid":"d6b7a484059ef7853ec3ce9e01433360","score":"0.54278445","text":"@Override\n public RequestLine getRequestLine()\n {\n return this.requestLine;\n }","title":""},{"docid":"4292a6407ab2bb19310f28874e70cfd3","score":"0.5426076","text":"@Override\n\tpublic void setMessage(String message) {\n\n\t}","title":""},{"docid":"88f7fd290a2a4136ddf0e246e3786527","score":"0.5425126","text":"public void onRequestConfirmation(String text);","title":""},{"docid":"0fec6b0321325b7984c4b11678713f8a","score":"0.541933","text":"public String getMessageFromOperation();","title":""},{"docid":"6063b26fff964de1c7c5fed53d845b56","score":"0.54144746","text":"public interface NetworkReqListener {\r\n /**\r\n * This method use for process new network requests.\r\n * @param request request message\r\n * @return answer immediate answer messsage. Method may return null and an\r\n * Answer will be sent later on\r\n */\r\n Answer processRequest(Request request);\r\n}","title":""},{"docid":"566e3bff16b4dfdf2410a9628dac2343","score":"0.5411273","text":"@Override\n protected String createMessage(HttpServletRequest request, String prefix, String suffix) {\n StringBuilder msg = new StringBuilder();\n msg.append(prefix);\n msg.append(\"uri=\").append(request.getRequestURI());\n String payload;\n\n if (this.isIncludeQueryString()) {\n payload = request.getQueryString();\n if (payload != null) {\n msg.append('?').append(payload);\n }\n }\n\n if (this.isIncludeClientInfo()) {\n payload = request.getRemoteAddr();\n if (StringUtils.hasLength(payload)) {\n msg.append(\";client=\").append(payload);\n }\n\n HttpSession session = request.getSession(false);\n if (session != null) {\n msg.append(\";session=\").append(session.getId());\n }\n\n String user = request.getRemoteUser();\n if (user != null) {\n msg.append(\";user=\").append(user);\n }\n }\n if (this.isIncludeHeaders()) {\n HttpHeaders headers = new ServletServerHttpRequest(request).getHeaders();\n String authorizationHeader = headers.getFirst(HttpHeaders.AUTHORIZATION);\n if (nonNull(authorizationHeader)) {\n int lastPointIndex = authorizationHeader.lastIndexOf(\".\");\n if (lastPointIndex != -1) {\n headers.set(HttpHeaders.AUTHORIZATION, authorizationHeader.substring(0, lastPointIndex));\n }\n }\n msg.append(\";headers=\").append(headers);\n }\n\n if (this.isIncludePayload()) {\n payload = this.getMessagePayload(request);\n if (payload != null) {\n msg.append(\";payload=\").append(payload);\n }\n }\n\n msg.append(suffix);\n return msg.toString();\n }","title":""},{"docid":"a898b8e5d0e66618bee88228e2009919","score":"0.5391003","text":"@Override\r\n\t\tpublic boolean applies(String message) {\n\t\t\treturn message != null && message.length() > 0 && message.startsWith(IProtocolConstants.PROTOCOL);\r\n\t\t}","title":""},{"docid":"f69ea10d074e44d119fbcfe1b61ea6c8","score":"0.5388799","text":"void incomingMessage(String message);","title":""},{"docid":"92db8eff9b7eaa7479c65b21521f4d6f","score":"0.53711337","text":"boolean hasRequestType();","title":""},{"docid":"92db8eff9b7eaa7479c65b21521f4d6f","score":"0.53711337","text":"boolean hasRequestType();","title":""},{"docid":"53ff78f838b986005e7f052a53222dbd","score":"0.5368779","text":"public interface Message extends Serializable {\n\tlong getMessageID();\n\tString getMessageType();\n}","title":""},{"docid":"f99a6bb04b65f0f1cf189eaf5153a7de","score":"0.536786","text":"public interface MessageBundle\n{\n /**\n * Message key.\n *\n * @since 1.0\n */\n @Retention(RetentionPolicy.RUNTIME)\n @Target(ElementType.METHOD)\n @Documented\n public @interface Key\n {\n String value();\n }\n\n /**\n * Default message.\n *\n * @since 1.0\n */\n @Retention(RetentionPolicy.RUNTIME)\n @Target(ElementType.METHOD)\n @Documented\n public @interface DefaultMessage\n {\n String value();\n }\n}","title":""},{"docid":"9daefb980eed722625bf8d8c48ce709b","score":"0.5363448","text":"public String othersMessage();","title":""},{"docid":"a2e567b5700ac734bf33940a6877197d","score":"0.5361134","text":"void info(Object message);","title":""},{"docid":"75a924a920841dafe3fd429eec239668","score":"0.53584725","text":"@Override\npublic String getMessage() {\n\treturn \"Message AAAAA\";\n}","title":""},{"docid":"bc2953181012ddc14c204c3945ec9896","score":"0.5357226","text":"public interface OnSendRequestListener {\n public void onSendRequest(String s);\n }","title":""},{"docid":"bc2953181012ddc14c204c3945ec9896","score":"0.5357226","text":"public interface OnSendRequestListener {\n public void onSendRequest(String s);\n }","title":""},{"docid":"4c999d9cbf6ab09c47faa31545987830","score":"0.5351254","text":"public interface MessageCallback {\n}","title":""},{"docid":"17be02ea289ecc6b56b483c7c30911d5","score":"0.5349251","text":"com.maxsam.pingpong.proto.RequestInfo getStatus();","title":""},{"docid":"800b8acac32ce911ef4fd6158910a7d1","score":"0.53448933","text":"private String sendRequestMessage(MessageType type, Object arg) throws MessageSerializationException, IOException {\n String requestId = createUniqueRequestId();\n sendRequest(new RequestMessage(handlerId, requestId, type, arg));\n return requestId;\n }","title":""},{"docid":"4c84862f94932c8154f993c39ab2dfd6","score":"0.5340373","text":"public void onHaveMessage (HaveMessage msg);","title":""},{"docid":"c9c9a660f2ead77b23f918bf428ad94b","score":"0.53374","text":"@Override\n\tprotected void handleUiMessage(Message msg) {\n\t\tsuper.handleUiMessage(msg);\n\t\t// 收起菊花\n\t\thideProgressDialog();\n\t\tswitch ( RequestFlag.values()[msg.what] ) {\n\t\tcase REQUEST_SUCCESS:{\n\t\t\t// 请求成功\n\t\t\tReloadData();\n\t\t}break;\n\t\tcase REQUEST_FAIL:{\n\t\t\t// 请求失败\n\t\t}break;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}","title":""},{"docid":"02481e4f9b4747c7462438c3d1b7d972","score":"0.5335827","text":"public interface IRequestStat {\n void onRequestEnd();\n\n void onRequestFailed();\n\n void onRequestStart();\n\n void onRequestSucceed(boolean z);\n}","title":""},{"docid":"febc1cc54fc5706143364e8075c441a9","score":"0.5335802","text":"public interface MessageListsRequest {\n\n void onSuccess(List list);\n void onError(List list);\n}","title":""},{"docid":"9252d05d753df25bf12237d747d35648","score":"0.5330649","text":"public void setMessage( String message )\n {\n this.message = message;\n }","title":""},{"docid":"0ada9b1ff9943303dd39f132d7e3098a","score":"0.5327193","text":"public interface Request\r\n extends Actionable\r\n{\r\n\r\n /**\r\n * Returns the endpoint as an URI, or null if the request is invalid.\r\n * \r\n * @return the endpoint as an Uri\r\n */\r\n @Nullable\r\n URI getUri();\r\n\r\n\r\n /**\r\n * Returns the http request uri\r\n * \r\n * @return the endpoint uri\r\n */\r\n String getEndpoint();\r\n\r\n\r\n /**\r\n * Returns the http requst payload\r\n * \r\n * @return the request payload\r\n */\r\n String getPayload();\r\n\r\n\r\n /**\r\n * Returns the request http method\r\n * \r\n * @return The request method\r\n */\r\n String getMethod();\r\n\r\n\r\n /**\r\n * Returns the request security requirement\r\n * \r\n * @return The request security\r\n */\r\n String getSecurity();\r\n\r\n\r\n /**\r\n * Returns the content mime type\r\n * \r\n * @return the type\r\n */\r\n String getContentType();\r\n\r\n\r\n /**\r\n * Encode as Base 64\r\n * \r\n * @return true if base 64 encoded\r\n */\r\n Boolean getBase64();\r\n\r\n\r\n /**\r\n * Test for {@code Request} actionability.\r\n * \r\n * @return True if {@code Request} can sent via HTTP\r\n */\r\n @Override\r\n boolean isActionable();\r\n\r\n}","title":""},{"docid":"39c3c9fa2d3e41e7329a6430c66134e0","score":"0.5319248","text":"public void onNotInterestedMessage (NotInterestedMessage msg);","title":""},{"docid":"aac8c3940276b4a9ef63ec0498f6b367","score":"0.531905","text":"public void setMessage(String message) {\r\n this.message=message;\r\n }","title":""},{"docid":"42e0d424198d0a8cd16651349ec5eb68","score":"0.5313582","text":"public boolean isRequested() {\r\n\t\treturn status.equals(STATUS_REQUESTED);\r\n\t}","title":""},{"docid":"e966905dd0c415e8743f9becb510ffe5","score":"0.53126824","text":"protected void sequence_Request(ISerializationContext context, Request semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, SimpleAgentPackage.Literals.MESSAGE__NAME) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SimpleAgentPackage.Literals.MESSAGE__NAME));\n\t\t\tif (transientValues.isValueTransient(semanticObject, SimpleAgentPackage.Literals.MESSAGE__MSG) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SimpleAgentPackage.Literals.MESSAGE__MSG));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getRequestAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());\n\t\tfeeder.accept(grammarAccess.getRequestAccess().getMsgPHeadParserRuleCall_3_0(), semanticObject.getMsg());\n\t\tfeeder.finish();\n\t}","title":""},{"docid":"592640f44aac1a3491e678a04d23ed49","score":"0.5312211","text":"void setRequiredMessage(Localizable message);","title":""},{"docid":"fe1fa81a2c7bcaec58747e22f100f4ff","score":"0.5310527","text":"public ParticipantRequestMAP(final ParticipantRequestMessage message) {\n this.message = message;\n }","title":""},{"docid":"131d6f3f89ce8a8f2c485eaeab5b895f","score":"0.5310406","text":"public String getRequestType() {\n return requestType;\n }","title":""},{"docid":"ba321fce4f9e6297537368d6533ad375","score":"0.53085315","text":"@Override\n public String getMessage() {\n return this.message.toString();\n }","title":""},{"docid":"630a2f77cc108866e1881baeaa503b9e","score":"0.5308364","text":"public interface IRequest extends IProtocol {\n}","title":""}],"string":"[\n {\n \"docid\": \"50dc7d540ec71cb91828ba0e15597c97\",\n \"score\": \"0.6917762\",\n \"text\": \"public void onRequestMessage (RequestMessage msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1415a6a1a587681d741453ec8d630f2\",\n \"score\": \"0.6385365\",\n \"text\": \"int getRequestMessage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79404cd817fa351d5e31772599797453\",\n \"score\": \"0.61898285\",\n \"text\": \"interface Message {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3b150464f69c6072359cffd347e7da0\",\n \"score\": \"0.596299\",\n \"text\": \"public interface IRequest {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6572be2d379b4fc5a7a881a70b6949f\",\n \"score\": \"0.59603673\",\n \"text\": \"protected void doMessage(javax.servlet.sip.SipServletRequest req) throws javax.servlet.ServletException, java.io.IOException{\\n \\tif (req.isInitial())\\n \\t\\t\\tnotImplemented(req);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fc2ff89b145bad801e4419235f1d00d\",\n \"score\": \"0.5948047\",\n \"text\": \"public IMsg getReq()\\n {\\n return m_req;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91d58252ef9cf143d837e812fb2a170f\",\n \"score\": \"0.58936614\",\n \"text\": \"public java.lang.String getRequestMessageString(){\\n return localRequestMessageString;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f412641e3c662db4c73b8a88853caa84\",\n \"score\": \"0.5891968\",\n \"text\": \"public void getSpecificRequest() {\\r\\n\\t\\tSystem.out.println(\\\"Adaptee received request\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6641edb6b751c6f9d7d5afb057290e7\",\n \"score\": \"0.5889523\",\n \"text\": \"experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1b69b08e635caca290e128fcafdb568\",\n \"score\": \"0.5882867\",\n \"text\": \"protected interface Request\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f16ede6b84eacc47e1219922d587816\",\n \"score\": \"0.5876638\",\n \"text\": \"public interface MessageTypeInterface {\\n /**\\n * Type of the message\\n */\\n public enum MessageType{\\n START,\\n TOKEN,\\n GET_WORK,\\n STOP,\\n WORK_TERMINATED,\\n IDLE\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abc29665372be74182ca213a6892bd0d\",\n \"score\": \"0.58715856\",\n \"text\": \"public interface Message {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27d92cf0f79b70684cd515832ebf1e11\",\n \"score\": \"0.5850757\",\n \"text\": \"MessageType getMessageIn();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6b28a843ca6180e09c28d7af7fa1fc0\",\n \"score\": \"0.5842984\",\n \"text\": \"experiment.protocolgen.MsgProtocol.Request getRequest();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a658dd6c78f827b963e2a16b8419205\",\n \"score\": \"0.5829528\",\n \"text\": \"public MenuRequestMessage() {\\n\\t\\tsuper(PizzaMessage.MENU_REQUEST);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e5daccdf005802e792695dd4e6ba030\",\n \"score\": \"0.58129096\",\n \"text\": \"@Override\\n protected void beforeRequest(HttpServletRequest request, String message) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"873d4100dcfa32bead2c6d2f25798bc6\",\n \"score\": \"0.5762814\",\n \"text\": \"public synchronized String processMessage(String request) {\\n return request;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01c5bbcf8453a622d50bcff6059c70cf\",\n \"score\": \"0.57295364\",\n \"text\": \"public interface Request {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55ccc7a414a1456f0ec48cce1642ee87\",\n \"score\": \"0.57117546\",\n \"text\": \"@Override\\n public Message getMessage() {\\n return message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e141caae1aa1ec0c1a28f1acf9133cf9\",\n \"score\": \"0.57005954\",\n \"text\": \"public interface Response extends Message {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b8d29118e8ef5a690547f74590a610a\",\n \"score\": \"0.56844825\",\n \"text\": \"public experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder() {\\n return request_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bd1d982ada75ef85aa282e87d1e252d\",\n \"score\": \"0.568283\",\n \"text\": \"public experiment.protocolgen.MsgProtocol.Request getRequest() {\\n return request_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14152c0069ac27f6f7ba3fabe3518266\",\n \"score\": \"0.56593823\",\n \"text\": \"public void setRequestMessageString(java.lang.String param){\\n localRequestMessageStringTracker = true;\\n \\n this.localRequestMessageString=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a89ace58f2db34085a1a7f9c8b6b24c3\",\n \"score\": \"0.5655544\",\n \"text\": \"public String targetMessage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"103f36451b3a390510493fa07aaba397\",\n \"score\": \"0.5650616\",\n \"text\": \"public experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder() {\\n if (requestBuilder_ != null) {\\n return requestBuilder_.getMessageOrBuilder();\\n } else {\\n return request_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a0f2a4319182ade150731c3f4afb264\",\n \"score\": \"0.56464785\",\n \"text\": \"public void doMessage(SipServletRequest req) throws ServletException,\\r\\n\\t\\t\\tIOException {\\n\\t\\tCallflowRequest request = new CallflowRequest((Vector)super.getAll(),req,null,SipMethods.MESSAGE);\\r\\n\\t\\tThreadManager.instance().execute(request);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"064e0e5499eb251b21b8c99d644fab91\",\n \"score\": \"0.5613861\",\n \"text\": \"public interface IsMessage {\\n\\t/**\\n\\t * Who is sending this message\\n\\t * @return\\tThe author\\n\\t **/\\n\\tpublic String getFrom();\\n\\t/**\\n\\t * What is the subject of this message\\n\\t * @return\\tThe subject\\n\\t **/\\n\\tpublic String getSubject();\\n\\t/**\\n\\t * Get the content of this message\\n\\t * @return\\tThe content message\\n\\t **/\\n\\tpublic String getContent();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e852a9800390ab376b43ce65f24db9cd\",\n \"score\": \"0.55971223\",\n \"text\": \"public void onInterestedMessage (InterestedMessage msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e304c56c6d12fd654533e38db098881\",\n \"score\": \"0.5594442\",\n \"text\": \"protected void addMessageCode(HttpServletRequest request, String code)\\n\\t{\\n\\t\\tsess(request).addMessageCode(code);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62ca547c9e5f7f56c24862d08a6e8b9a\",\n \"score\": \"0.55847627\",\n \"text\": \"public experiment.protocolgen.MsgProtocol.Request getRequest() {\\n if (requestBuilder_ == null) {\\n return request_;\\n } else {\\n return requestBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1df8dbdd80b5057515f76e2cea1b8b9b\",\n \"score\": \"0.5576852\",\n \"text\": \"public interface INaRequest {\\n NaHttpType getType();\\n\\n void setType(NaHttpType type);\\n\\n String getUrl();\\n\\n void setUrl(String url);\\n\\n INaParams getParams();\\n\\n void setParams(INaParams params);\\n\\n INaHeaders getHeaders();\\n\\n void setHeaders(INaHeaders headers);\\n\\n INaCallBack getCallBack();\\n\\n void setCallBack(INaCallBack callBack);\\n\\n void setId(int id);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"668e9ca09b72b5355023037d192650c4\",\n \"score\": \"0.55760926\",\n \"text\": \"@Override\\n public String getMessage(){\\n return message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"246daa835f44835c009571141bbdf6a3\",\n \"score\": \"0.557021\",\n \"text\": \"public String requestId() {\\n return this.requestId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfb84f9f4aa339f40790ed669acec1c4\",\n \"score\": \"0.5527992\",\n \"text\": \"@Override\\n\\tpublic String[] getInterestedMessageTypes() {\\n\\t\\treturn new String[] {\\\"ENTER_DEVILSQUARE_REQ\\\"};\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b7c7803363bec930c299db592374e72\",\n \"score\": \"0.55256635\",\n \"text\": \"public void setMessage(String message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b7c7803363bec930c299db592374e72\",\n \"score\": \"0.55256635\",\n \"text\": \"public void setMessage(String message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfbcb8982e8d2ffb202a46230cdbe7d7\",\n \"score\": \"0.5520667\",\n \"text\": \"Message getMsg();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65372ef4e68f702c4e1540b3a3586ec4\",\n \"score\": \"0.5518648\",\n \"text\": \"public void setReq(IMsg req)\\n {\\n m_req = req;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b63a74adaee13d78004e387399e4a3f1\",\n \"score\": \"0.55179244\",\n \"text\": \"public boolean isRequest() {\\n\\t\\treturn CodeRegistry.isRequest(code);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63872e6b43244b6bc469a8bdd198df8e\",\n \"score\": \"0.55159605\",\n \"text\": \"protected void addInformazione(HttpServletRequest request, String messaggio){\\n\\t\\taddMessaggio(request,Messaggio.INFORMAZIONE,messaggio);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f92c846cdd34797d06fdfb0a5770c234\",\n \"score\": \"0.5510968\",\n \"text\": \"public void clientMessage(String message) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"191fafec74859812c87a26e8c1398e56\",\n \"score\": \"0.5505632\",\n \"text\": \"@Override\\n\\tpublic void doWhatForRequest(int what, String info) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ee4146c6af56d7cec1c2d5c730b734c\",\n \"score\": \"0.5501674\",\n \"text\": \"public interface IInAppMessage\\n\\textends IPutIntoJson\\n{\\n\\n\\tpublic abstract boolean getAnimateIn();\\n\\n\\tpublic abstract boolean getAnimateOut();\\n\\n\\tpublic abstract int getBackgroundColor();\\n\\n\\tpublic abstract Bitmap getBitmap();\\n\\n\\tpublic abstract ClickAction getClickAction();\\n\\n\\tpublic abstract CropType getCropType();\\n\\n\\tpublic abstract DismissType getDismissType();\\n\\n\\tpublic abstract int getDurationInMilliseconds();\\n\\n\\tpublic abstract long getExpirationTimestamp();\\n\\n\\tpublic abstract Map getExtras();\\n\\n\\tpublic abstract String getIcon();\\n\\n\\tpublic abstract int getIconBackgroundColor();\\n\\n\\tpublic abstract int getIconColor();\\n\\n\\tpublic abstract boolean getImageDownloadSuccessful();\\n\\n\\tpublic abstract String getImageUrl();\\n\\n\\tpublic abstract String getLocalImageUrl();\\n\\n\\tpublic abstract String getMessage();\\n\\n\\tpublic abstract TextAlign getMessageTextAlign();\\n\\n\\tpublic abstract int getMessageTextColor();\\n\\n\\tpublic abstract boolean getOpenUriInWebView();\\n\\n\\tpublic abstract Orientation getOrientation();\\n\\n\\tpublic abstract String getRemoteAssetPathForPrefetch();\\n\\n\\tpublic abstract String getRemoteImageUrl();\\n\\n\\tpublic abstract Uri getUri();\\n\\n\\tpublic abstract boolean isControl();\\n\\n\\tpublic abstract boolean logClick();\\n\\n\\tpublic abstract boolean logDisplayFailure(InAppMessageFailureType inappmessagefailuretype);\\n\\n\\tpublic abstract boolean logImpression();\\n\\n\\tpublic abstract void onAfterClosed();\\n\\n\\tpublic abstract void setAnimateIn(boolean flag);\\n\\n\\tpublic abstract void setAnimateOut(boolean flag);\\n\\n\\tpublic abstract void setBackgroundColor(int i);\\n\\n\\tpublic abstract void setBitmap(Bitmap bitmap);\\n\\n\\tpublic abstract boolean setClickAction(ClickAction clickaction);\\n\\n\\tpublic abstract boolean setClickAction(ClickAction clickaction, Uri uri);\\n\\n\\tpublic abstract void setCropType(CropType croptype);\\n\\n\\tpublic abstract void setDismissType(DismissType dismisstype);\\n\\n\\tpublic abstract void setDurationInMilliseconds(int i);\\n\\n\\tpublic abstract void setExpirationTimestamp(long l);\\n\\n\\tpublic abstract void setIcon(String s);\\n\\n\\tpublic abstract void setIconBackgroundColor(int i);\\n\\n\\tpublic abstract void setIconColor(int i);\\n\\n\\tpublic abstract void setImageDownloadSuccessful(boolean flag);\\n\\n\\tpublic abstract void setImageUrl(String s);\\n\\n\\tpublic abstract void setLocalAssetPathForPrefetch(String s);\\n\\n\\tpublic abstract void setLocalImageUrl(String s);\\n\\n\\tpublic abstract void setMessage(String s);\\n\\n\\tpublic abstract void setMessageTextAlign(TextAlign textalign);\\n\\n\\tpublic abstract void setMessageTextColor(int i);\\n\\n\\tpublic abstract void setOpenUriInWebView(boolean flag);\\n\\n\\tpublic abstract void setOrientation(Orientation orientation);\\n\\n\\tpublic abstract void setRemoteImageUrl(String s);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42e25d6d7547625d4d19a716ea09a714\",\n \"score\": \"0.54985464\",\n \"text\": \"public interface MessagePrestener {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"994015b4bc1a4ea6e54d5bdb1cde5920\",\n \"score\": \"0.54911333\",\n \"text\": \"private void onMessage(Message message) {\\n if (GET_METADATA_REQ.equals(message.qualifier())) {\\n onMetadataRequest(message);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3774789f111f33d262a54a3c3024404e\",\n \"score\": \"0.5487653\",\n \"text\": \"@Override\\r\\n\\tpublic String getMessage()\\r\\n\\t{\\r\\n\\t\\treturn message;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a554a0329254e84712273a5672939a\",\n \"score\": \"0.54780096\",\n \"text\": \"public String getResponseMessage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a554a0329254e84712273a5672939a\",\n \"score\": \"0.54780096\",\n \"text\": \"public String getResponseMessage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a01619ef72b7d420e9c63c14edf9e8cc\",\n \"score\": \"0.54773843\",\n \"text\": \"public interface IResponse extends IRequest {\\n \\n /**\\n * Creates a Response object\\n * @param opType\\n * @param parameter \\n */\\n public void createResponse(EnumOperationType opType, IParameter parameter); \\n\\t/**\\n\\t * This method returns Status of the request.\\n\\t * \\n\\t * @see IStatus\\n\\t * @return\\n\\t */\\n\\tpublic IStatus getStatus();\\n\\t\\n\\t/**\\n\\t * This method returns response id of the response.\\n\\t * @return\\n\\t \\n\\tpublic long getResponseID();\\n\\t*/\\n \\n\\t/**\\n\\t * This method returns Message object for the response. \\n\\t * @return\\n\\t * \\n\\t * @see IMessage\\n\\t */\\n\\tpublic String getMessage();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9d367b748398c6ef9172f20531f4973\",\n \"score\": \"0.5475025\",\n \"text\": \"public interface MessageListener extends EventListener{\\n\\n public void onGroupMessageReceived(RequestMessage message);\\n\\n public void onSingleMessageReceived(RequestMessage message);\\n\\n public void onCMDMessage(RequestMessage message);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e753700e2950f0437a4266612e428c65\",\n \"score\": \"0.5474879\",\n \"text\": \"@Override\\n\\tpublic String message() {\\n\\t\\treturn message;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ff503ea0adc9823bbd83c2c1cf9c0d5\",\n \"score\": \"0.5471179\",\n \"text\": \"public String actionMessage ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d99b65970018ae67fcf1e80d170e570c\",\n \"score\": \"0.54689103\",\n \"text\": \"public RpcRequestCommand() {\\n super(RpcCommandCode.RPC_REQUEST);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d4adc874d563edaad23b98413540087\",\n \"score\": \"0.5468725\",\n \"text\": \"@Override\\n public String getMessage() {\\n return message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5988dc086ee08fa8377b9dbdf95c52f9\",\n \"score\": \"0.54659307\",\n \"text\": \"public interface ReceivedMessage {\\n\\n\\tpublic Message getOriginalMessage();\\n\\t\\n\\tpublic long getTimestamp();\\n\\t\\n\\tpublic MessageStatus getStatus();\\n\\t\\n\\tpublic AppID getAppId();\\n\\n\\tpublic String getAppName();\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc0d63768c9abf67e606aaad461869ed\",\n \"score\": \"0.5448936\",\n \"text\": \"public int getRequestType() {\\n return requestType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"543193260ce0f2bcf059ce90cdaa07a3\",\n \"score\": \"0.5445334\",\n \"text\": \"void statusMessage(String message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36fb8eb22a887443213db122c57a7673\",\n \"score\": \"0.5438446\",\n \"text\": \"public interface INetworkMessage {\\n\\t/**\\n\\t * size of the job to be transferred over the network\\n\\t * if <= 0 the size is treated as unknown (for RECV messages).\\n\\t * @return\\n\\t */\\n\\tpublic long getSize();\\n\\n\\t/**\\n\\t * The destination of this message (part) inside the network\\n\\t * @return\\n\\t */\\n\\tpublic INetworkExit getMessageTarget();\\n\\n\\t/**\\n\\t * The source of this message (part)\\n\\t * @return\\n\\t */\\n\\tpublic INetworkEntry getMessageSource();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e3ac23325d7876490cebfe34f2ead34\",\n \"score\": \"0.54370415\",\n \"text\": \"LocateRequestMessage_1_2(ORB paramORB) {\\n/* 51 */ this.orb = paramORB;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19b46f7b67a5302ca94ac8e5b7d1ff21\",\n \"score\": \"0.5436484\",\n \"text\": \"public interface RequestStatistics {\\n\\n /**\\n * Gets the total number of messages that have been sent on behalf of this request.\\n * @return\\n * the number of messages sent (number of retries plus one).\\n */\\n int getTotalMessagesSent();\\n\\n /**\\n * Sets the total number of messages that have been sent on behalf of this request.\\n * @param totalMessagesSent\\n * the total message count for this request.\\n */\\n void setTotalMessagesSent(int totalMessagesSent);\\n\\n /**\\n * Gets the index of the message that has been responded.\\n * @return\\n * 0 if the initial message has been responded by the command responder.\\n * A value greater than zero indicates, that a retry message has been responded.\\n */\\n int getIndexOfMessageResponded();\\n\\n /**\\n * Sets the index of the message that has been responded.\\n * @param indexOfMessageResponded\\n * the zero-based index of the message for which the response had been received.\\n */\\n void setIndexOfMessageResponded(int indexOfMessageResponded);\\n\\n /**\\n * Gets the time elapsed between the sending of the message and receiving its response.\\n * @return\\n * the runtime of the successful request and response message pair in nanoseconds.\\n */\\n long getResponseRuntimeNanos();\\n\\n /**\\n * Sets the time elapsed between the sending of the message and receiving its response.\\n * @param responseRuntimeNanos\\n * the runtime of the successful request and response message pair in nanoseconds.\\n */\\n void setResponseRuntimeNanos(long responseRuntimeNanos);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a64170dfccca4f67d54e373153de5457\",\n \"score\": \"0.54329324\",\n \"text\": \"public RequestToJoin getMessage() {\\n return message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34a12e7f5fe8ec6b457cb355a9f3aac1\",\n \"score\": \"0.5432287\",\n \"text\": \"@Override\\n\\tpublic String getMessage() {\\n\\t\\treturn message;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34a12e7f5fe8ec6b457cb355a9f3aac1\",\n \"score\": \"0.5432287\",\n \"text\": \"@Override\\n\\tpublic String getMessage() {\\n\\t\\treturn message;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34a12e7f5fe8ec6b457cb355a9f3aac1\",\n \"score\": \"0.5432287\",\n \"text\": \"@Override\\n\\tpublic String getMessage() {\\n\\t\\treturn message;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20931e929597ce50218e0160b570a041\",\n \"score\": \"0.54285264\",\n \"text\": \"public interface RequestResponse {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6b7a484059ef7853ec3ce9e01433360\",\n \"score\": \"0.54278445\",\n \"text\": \"@Override\\n public RequestLine getRequestLine()\\n {\\n return this.requestLine;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4292a6407ab2bb19310f28874e70cfd3\",\n \"score\": \"0.5426076\",\n \"text\": \"@Override\\n\\tpublic void setMessage(String message) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88f7fd290a2a4136ddf0e246e3786527\",\n \"score\": \"0.5425126\",\n \"text\": \"public void onRequestConfirmation(String text);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fec6b0321325b7984c4b11678713f8a\",\n \"score\": \"0.541933\",\n \"text\": \"public String getMessageFromOperation();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6063b26fff964de1c7c5fed53d845b56\",\n \"score\": \"0.54144746\",\n \"text\": \"public interface NetworkReqListener {\\r\\n /**\\r\\n * This method use for process new network requests.\\r\\n * @param request request message\\r\\n * @return answer immediate answer messsage. Method may return null and an\\r\\n * Answer will be sent later on\\r\\n */\\r\\n Answer processRequest(Request request);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"566e3bff16b4dfdf2410a9628dac2343\",\n \"score\": \"0.5411273\",\n \"text\": \"@Override\\n protected String createMessage(HttpServletRequest request, String prefix, String suffix) {\\n StringBuilder msg = new StringBuilder();\\n msg.append(prefix);\\n msg.append(\\\"uri=\\\").append(request.getRequestURI());\\n String payload;\\n\\n if (this.isIncludeQueryString()) {\\n payload = request.getQueryString();\\n if (payload != null) {\\n msg.append('?').append(payload);\\n }\\n }\\n\\n if (this.isIncludeClientInfo()) {\\n payload = request.getRemoteAddr();\\n if (StringUtils.hasLength(payload)) {\\n msg.append(\\\";client=\\\").append(payload);\\n }\\n\\n HttpSession session = request.getSession(false);\\n if (session != null) {\\n msg.append(\\\";session=\\\").append(session.getId());\\n }\\n\\n String user = request.getRemoteUser();\\n if (user != null) {\\n msg.append(\\\";user=\\\").append(user);\\n }\\n }\\n if (this.isIncludeHeaders()) {\\n HttpHeaders headers = new ServletServerHttpRequest(request).getHeaders();\\n String authorizationHeader = headers.getFirst(HttpHeaders.AUTHORIZATION);\\n if (nonNull(authorizationHeader)) {\\n int lastPointIndex = authorizationHeader.lastIndexOf(\\\".\\\");\\n if (lastPointIndex != -1) {\\n headers.set(HttpHeaders.AUTHORIZATION, authorizationHeader.substring(0, lastPointIndex));\\n }\\n }\\n msg.append(\\\";headers=\\\").append(headers);\\n }\\n\\n if (this.isIncludePayload()) {\\n payload = this.getMessagePayload(request);\\n if (payload != null) {\\n msg.append(\\\";payload=\\\").append(payload);\\n }\\n }\\n\\n msg.append(suffix);\\n return msg.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a898b8e5d0e66618bee88228e2009919\",\n \"score\": \"0.5391003\",\n \"text\": \"@Override\\r\\n\\t\\tpublic boolean applies(String message) {\\n\\t\\t\\treturn message != null && message.length() > 0 && message.startsWith(IProtocolConstants.PROTOCOL);\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f69ea10d074e44d119fbcfe1b61ea6c8\",\n \"score\": \"0.5388799\",\n \"text\": \"void incomingMessage(String message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92db8eff9b7eaa7479c65b21521f4d6f\",\n \"score\": \"0.53711337\",\n \"text\": \"boolean hasRequestType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92db8eff9b7eaa7479c65b21521f4d6f\",\n \"score\": \"0.53711337\",\n \"text\": \"boolean hasRequestType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53ff78f838b986005e7f052a53222dbd\",\n \"score\": \"0.5368779\",\n \"text\": \"public interface Message extends Serializable {\\n\\tlong getMessageID();\\n\\tString getMessageType();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f99a6bb04b65f0f1cf189eaf5153a7de\",\n \"score\": \"0.536786\",\n \"text\": \"public interface MessageBundle\\n{\\n /**\\n * Message key.\\n *\\n * @since 1.0\\n */\\n @Retention(RetentionPolicy.RUNTIME)\\n @Target(ElementType.METHOD)\\n @Documented\\n public @interface Key\\n {\\n String value();\\n }\\n\\n /**\\n * Default message.\\n *\\n * @since 1.0\\n */\\n @Retention(RetentionPolicy.RUNTIME)\\n @Target(ElementType.METHOD)\\n @Documented\\n public @interface DefaultMessage\\n {\\n String value();\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9daefb980eed722625bf8d8c48ce709b\",\n \"score\": \"0.5363448\",\n \"text\": \"public String othersMessage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2e567b5700ac734bf33940a6877197d\",\n \"score\": \"0.5361134\",\n \"text\": \"void info(Object message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75a924a920841dafe3fd429eec239668\",\n \"score\": \"0.53584725\",\n \"text\": \"@Override\\npublic String getMessage() {\\n\\treturn \\\"Message AAAAA\\\";\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc2953181012ddc14c204c3945ec9896\",\n \"score\": \"0.5357226\",\n \"text\": \"public interface OnSendRequestListener {\\n public void onSendRequest(String s);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc2953181012ddc14c204c3945ec9896\",\n \"score\": \"0.5357226\",\n \"text\": \"public interface OnSendRequestListener {\\n public void onSendRequest(String s);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c999d9cbf6ab09c47faa31545987830\",\n \"score\": \"0.5351254\",\n \"text\": \"public interface MessageCallback {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17be02ea289ecc6b56b483c7c30911d5\",\n \"score\": \"0.5349251\",\n \"text\": \"com.maxsam.pingpong.proto.RequestInfo getStatus();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"800b8acac32ce911ef4fd6158910a7d1\",\n \"score\": \"0.53448933\",\n \"text\": \"private String sendRequestMessage(MessageType type, Object arg) throws MessageSerializationException, IOException {\\n String requestId = createUniqueRequestId();\\n sendRequest(new RequestMessage(handlerId, requestId, type, arg));\\n return requestId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c84862f94932c8154f993c39ab2dfd6\",\n \"score\": \"0.5340373\",\n \"text\": \"public void onHaveMessage (HaveMessage msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9c9a660f2ead77b23f918bf428ad94b\",\n \"score\": \"0.53374\",\n \"text\": \"@Override\\n\\tprotected void handleUiMessage(Message msg) {\\n\\t\\tsuper.handleUiMessage(msg);\\n\\t\\t// 收起菊花\\n\\t\\thideProgressDialog();\\n\\t\\tswitch ( RequestFlag.values()[msg.what] ) {\\n\\t\\tcase REQUEST_SUCCESS:{\\n\\t\\t\\t// 请求成功\\n\\t\\t\\tReloadData();\\n\\t\\t}break;\\n\\t\\tcase REQUEST_FAIL:{\\n\\t\\t\\t// 请求失败\\n\\t\\t}break;\\n\\t\\tdefault:\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02481e4f9b4747c7462438c3d1b7d972\",\n \"score\": \"0.5335827\",\n \"text\": \"public interface IRequestStat {\\n void onRequestEnd();\\n\\n void onRequestFailed();\\n\\n void onRequestStart();\\n\\n void onRequestSucceed(boolean z);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"febc1cc54fc5706143364e8075c441a9\",\n \"score\": \"0.5335802\",\n \"text\": \"public interface MessageListsRequest {\\n\\n void onSuccess(List list);\\n void onError(List list);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9252d05d753df25bf12237d747d35648\",\n \"score\": \"0.5330649\",\n \"text\": \"public void setMessage( String message )\\n {\\n this.message = message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ada9b1ff9943303dd39f132d7e3098a\",\n \"score\": \"0.5327193\",\n \"text\": \"public interface Request\\r\\n extends Actionable\\r\\n{\\r\\n\\r\\n /**\\r\\n * Returns the endpoint as an URI, or null if the request is invalid.\\r\\n * \\r\\n * @return the endpoint as an Uri\\r\\n */\\r\\n @Nullable\\r\\n URI getUri();\\r\\n\\r\\n\\r\\n /**\\r\\n * Returns the http request uri\\r\\n * \\r\\n * @return the endpoint uri\\r\\n */\\r\\n String getEndpoint();\\r\\n\\r\\n\\r\\n /**\\r\\n * Returns the http requst payload\\r\\n * \\r\\n * @return the request payload\\r\\n */\\r\\n String getPayload();\\r\\n\\r\\n\\r\\n /**\\r\\n * Returns the request http method\\r\\n * \\r\\n * @return The request method\\r\\n */\\r\\n String getMethod();\\r\\n\\r\\n\\r\\n /**\\r\\n * Returns the request security requirement\\r\\n * \\r\\n * @return The request security\\r\\n */\\r\\n String getSecurity();\\r\\n\\r\\n\\r\\n /**\\r\\n * Returns the content mime type\\r\\n * \\r\\n * @return the type\\r\\n */\\r\\n String getContentType();\\r\\n\\r\\n\\r\\n /**\\r\\n * Encode as Base 64\\r\\n * \\r\\n * @return true if base 64 encoded\\r\\n */\\r\\n Boolean getBase64();\\r\\n\\r\\n\\r\\n /**\\r\\n * Test for {@code Request} actionability.\\r\\n * \\r\\n * @return True if {@code Request} can sent via HTTP\\r\\n */\\r\\n @Override\\r\\n boolean isActionable();\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39c3c9fa2d3e41e7329a6430c66134e0\",\n \"score\": \"0.5319248\",\n \"text\": \"public void onNotInterestedMessage (NotInterestedMessage msg);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aac8c3940276b4a9ef63ec0498f6b367\",\n \"score\": \"0.531905\",\n \"text\": \"public void setMessage(String message) {\\r\\n this.message=message;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42e0d424198d0a8cd16651349ec5eb68\",\n \"score\": \"0.5313582\",\n \"text\": \"public boolean isRequested() {\\r\\n\\t\\treturn status.equals(STATUS_REQUESTED);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e966905dd0c415e8743f9becb510ffe5\",\n \"score\": \"0.53126824\",\n \"text\": \"protected void sequence_Request(ISerializationContext context, Request semanticObject) {\\n\\t\\tif (errorAcceptor != null) {\\n\\t\\t\\tif (transientValues.isValueTransient(semanticObject, SimpleAgentPackage.Literals.MESSAGE__NAME) == ValueTransient.YES)\\n\\t\\t\\t\\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SimpleAgentPackage.Literals.MESSAGE__NAME));\\n\\t\\t\\tif (transientValues.isValueTransient(semanticObject, SimpleAgentPackage.Literals.MESSAGE__MSG) == ValueTransient.YES)\\n\\t\\t\\t\\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SimpleAgentPackage.Literals.MESSAGE__MSG));\\n\\t\\t}\\n\\t\\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\\n\\t\\tfeeder.accept(grammarAccess.getRequestAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());\\n\\t\\tfeeder.accept(grammarAccess.getRequestAccess().getMsgPHeadParserRuleCall_3_0(), semanticObject.getMsg());\\n\\t\\tfeeder.finish();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"592640f44aac1a3491e678a04d23ed49\",\n \"score\": \"0.5312211\",\n \"text\": \"void setRequiredMessage(Localizable message);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe1fa81a2c7bcaec58747e22f100f4ff\",\n \"score\": \"0.5310527\",\n \"text\": \"public ParticipantRequestMAP(final ParticipantRequestMessage message) {\\n this.message = message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"131d6f3f89ce8a8f2c485eaeab5b895f\",\n \"score\": \"0.5310406\",\n \"text\": \"public String getRequestType() {\\n return requestType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba321fce4f9e6297537368d6533ad375\",\n \"score\": \"0.53085315\",\n \"text\": \"@Override\\n public String getMessage() {\\n return this.message.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630a2f77cc108866e1881baeaa503b9e\",\n \"score\": \"0.5308364\",\n \"text\": \"public interface IRequest extends IProtocol {\\n}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":896,"cells":{"query_id":{"kind":"string","value":"0b2fe1bcb395483a18e1e61dd8b23777"},"query":{"kind":"string","value":"Test case number: 100 /Coverage entropy=0.0"},"positive_passages":{"kind":"list like","value":[{"docid":"a3f2a86367bbed760b7e7e7f87b13feb","score":"0.0","text":"@Test(timeout = 4000)\n public void test100() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.executeQuery((ISession) null, \"net.sourceforge.squirrel_sql.plugins.dbcopy.dbcopy\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"net.sourceforge.squirrel_sql.plugins.dbcopy.util.DBUtil\", e);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"a3f2a86367bbed760b7e7e7f87b13feb\",\n \"score\": \"0.0\",\n \"text\": \"@Test(timeout = 4000)\\n public void test100() throws Throwable {\\n // Undeclared exception!\\n try { \\n DBUtil.executeQuery((ISession) null, \\\"net.sourceforge.squirrel_sql.plugins.dbcopy.dbcopy\\\");\\n fail(\\\"Expecting exception: NullPointerException\\\");\\n \\n } catch(NullPointerException e) {\\n //\\n // no message in exception (getMessage() returned null)\\n //\\n verifyException(\\\"net.sourceforge.squirrel_sql.plugins.dbcopy.util.DBUtil\\\", e);\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d6df76b4cd9e17e2c3e4b99debdb01f6","score":"0.7087746","text":"@Test\n public void test16() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }","title":""},{"docid":"0587e50e9925562c252a95f819808dbd","score":"0.65072083","text":"@Test(timeout = 4000)\n public void test008() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = Evaluation.MIN_SF_PROB;\n evaluation0.setDiscardPredictions(false);\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendStringToFile(evoSuiteFile0, \"setFolds\");\n CoverTree coverTree0 = new CoverTree();\n assertEquals(1.3, coverTree0.getBase(), 0.01);\n }","title":""},{"docid":"1e076fed62c990d73299d563576ffae4","score":"0.65053326","text":"@Test(timeout = 4000)\n public void test014() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n costMatrix0.initialize();\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n evaluation0.toSummaryString(\".arff\", true);\n String string0 = evaluation0.toSummaryString(\"@data\", false);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(\"@data\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }","title":""},{"docid":"000ff4e5fd4fd6cb2d75fe37a3628a8c","score":"0.64789224","text":"@Test\n public void levelOfEvidenceTest() {\n // TODO: test levelOfEvidence\n }","title":""},{"docid":"a778a1ec3c09a8a4e9807f175bed9ab6","score":"0.64493114","text":"@Test(timeout = 4000)\n public void test013() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.m_SumClass;\n String string0 = evaluation0.toSummaryString();\n assertEquals(\"\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }","title":""},{"docid":"28fc1c03589c689478e686556e2e01ff","score":"0.64108616","text":"@Test\n public void test28() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\"LzUl=-U!>\", true);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n }","title":""},{"docid":"e18a904c7be6dd7dc3afae3e3d935dcb","score":"0.63233227","text":"@Test(timeout = 4000)\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n textDirectoryLoader0.setRetrieval(100000);\n evaluation0.toSummaryString();\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendLineToFile(evoSuiteFile0, \"@relation\");\n CostMatrix costMatrix0 = new CostMatrix(7);\n evaluation0.recall(0);\n evaluation0.weightedMatthewsCorrelation();\n int[] intArray0 = new int[3];\n intArray0[0] = 0;\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n regressionByDiscretization0.setDeleteEmptyBins(false);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(Double.NaN, double0, 0.01);\n \n String string0 = evaluation0.toClassDetailsString();\n assertEquals(\"=== Detailed Accuracy By Class ===\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }","title":""},{"docid":"928ec49755c160eca8f8e6438653dbca","score":"0.6312664","text":"@Test(timeout = 4000)\n public void test012() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n double double0 = evaluation0.incorrect();\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.falseNegativeRate(0);\n assertEquals(0.0, double1, 0.01);\n \n evaluation0.setPriors(instances0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }","title":""},{"docid":"35c1c7eba9604f64cf85b3ae55305a6c","score":"0.62797105","text":"@Test\n public void costTest() {\n // TODO: test cost\n }","title":""},{"docid":"ffdf504bca7096b6b62a4b7b51266eba","score":"0.6251995","text":"@Test(timeout = 4000)\n public void test010() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n evaluation0.setNumericPriorsFromBuffer();\n evaluation0.setNumericPriorsFromBuffer();\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 59;\n doubleArray0[2] = 202.6;\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 2.0);\n double double1 = evaluation0.pctUnclassified();\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(double1, double0, 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, double1, 0.01);\n }","title":""},{"docid":"4be36023b9506f0fe469cbffbfb571e3","score":"0.6249352","text":"@Test\n public void test08() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\"zUl=-U!>\", false);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }","title":""},{"docid":"96ec9f7aa97af13ced46aea15561aa02","score":"0.61791307","text":"@Test(timeout = 4000)\n public void test025() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n MockRandom mockRandom0 = new MockRandom();\n boolean[] booleanArray0 = new boolean[7];\n booleanArray0[0] = true;\n booleanArray0[1] = true;\n booleanArray0[2] = true;\n booleanArray0[3] = true;\n booleanArray0[4] = false;\n booleanArray0[5] = false;\n booleanArray0[6] = true;\n textDirectoryLoader0.getDataSet();\n instances0.resampleWithWeights((Random) mockRandom0, booleanArray0);\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.m_SumPriorEntropy;\n double double1 = evaluation0.SFMeanSchemeEntropy();\n assertEquals(Double.NaN, double1, 0.01);\n \n double double2 = evaluation0.matthewsCorrelationCoefficient(1243);\n assertEquals(0.0, double2, 0.01);\n }","title":""},{"docid":"70ed22b84aebe1102b77c4bf7aacbb48","score":"0.61735356","text":"@Test\n public void test31() throws Throwable {\n AdditiveRegression additiveRegression0 = new AdditiveRegression();\n Capabilities capabilities0 = additiveRegression0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate(\"setOptions\");\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = evaluation0.makeDistribution(1774.70273682);\n assertArrayEquals(new double[] {1774.70273682}, doubleArray0, 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }","title":""},{"docid":"d9ecd407f1fc3f0588c72936212d5549","score":"0.61486095","text":"@Test(timeout = 4000)\n public void test005() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.errorRate();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }","title":""},{"docid":"b1272446634fa95b586bb2c5218e00c9","score":"0.6144983","text":"@Test\n public void testProbabilityViaConstructor() {\n }","title":""},{"docid":"d16371413e002b2d8e04f3fe250eadc7","score":"0.6113199","text":"@Test\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFPriorEntropy();\n assertEquals(0.0, double0, 0.01D);\n }","title":""},{"docid":"6ab0176bbe6b8ad90fb6351ea883fba1","score":"0.61123854","text":"@Test(timeout = 4000)\n public void test26() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.globalInfo();\n assertEquals(3, jRip0.getFolds());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }","title":""},{"docid":"765aabea734e44b10569de16c4f71ed8","score":"0.6112276","text":"@Test(timeout = 4000)\n public void test024() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_CoverageStatisticsAvailable = false;\n double double0 = evaluation0.weightedMatthewsCorrelation();\n double double1 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(double1, double0, 0.01);\n \n double[] doubleArray0 = evaluation0.makeDistribution(Double.NaN);\n assertNotNull(doubleArray0);\n assertEquals(0, doubleArray0.length);\n \n GaussianProcesses gaussianProcesses0 = new GaussianProcesses();\n evaluation0.equals(gaussianProcesses0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }","title":""},{"docid":"932939b848e4cd1297dd7ffe8d5ae4d5","score":"0.6089984","text":"@Test\n public void testEstimateErrorRateForBigCardinalities() {\n double stdError = (1.04 / Math.sqrt(1 << precision())) * 100;\n double maxError = Math.ceil(stdError + 3.0);\n\n IntHashSet actualCount = new IntHashSet(runLength(), -1);\n Random random = new Random();\n Histogram histogram = new Histogram(5);\n ByteBuffer bb = ByteBuffer.allocate(4);\n\n int sampleStep = 100;\n long expected;\n long actual;\n\n for (int i = 1; i <= runLength(); i++) {\n int toCount = random.nextInt();\n actualCount.add(toCount);\n\n bb.clear();\n bb.putInt(toCount);\n encoder.add(HashUtil.MurmurHash3_x64_64(bb.array(), 0, bb.array().length));\n\n if (i % sampleStep == 0) {\n expected = actualCount.size();\n actual = encoder.estimate();\n double errorPct = ((actual * 100.0) / expected) - 100;\n histogram.recordValue(Math.abs((long) (errorPct * 100)));\n }\n }\n\n double errorPerc99 = histogram.getValueAtPercentile(99) / 100.0;\n if (errorPerc99 > maxError) {\n fail(\"For P=\" + precision() + \", max error=\" + maxError + \"% expected.\"\n + \" Error: \" + errorPerc99 + \"%.\");\n }\n }","title":""},{"docid":"4b9ee5074ea12292494f23641e368910","score":"0.60475624","text":"@Test(timeout = 4000)\n public void test43() throws Throwable {\n JRip jRip0 = new JRip();\n double[] doubleArray0 = new double[0];\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(2576.86, doubleArray0);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, (String) null);\n Attribute attribute0 = new Attribute((String) null);\n binarySparseInstance0.setValue(attribute0, (-713.7029286));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n boolean boolean0 = jRip_NominalAntd0.covers(binarySparseInstance0);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertFalse(boolean0);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n }","title":""},{"docid":"7e124d4619cdf828bd97450427ec2633","score":"0.6012665","text":"public int getTests()\n {\n return 1; //JG\n }","title":""},{"docid":"f795a86160c9c0a0d83c4a29e2a71b46","score":"0.5998693","text":"@Test\n public void energyUsedTest() {\n // TODO: test energyUsed\n }","title":""},{"docid":"631ff8df6557cc1a8326fc7169a0fbfe","score":"0.5972166","text":"@Test(timeout = 4000)\n public void test01() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.enumerateMeasures();\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertFalse(jRip0.getDebug());\n }","title":""},{"docid":"45558a2f8e85852a55243c9d83489ac4","score":"0.5963265","text":"@Test\n public void test13() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBMeanInformation();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }","title":""},{"docid":"4f73bccc5332eb269e5021a2a327a97f","score":"0.5931537","text":"@Test(timeout = 4000)\n public void test011() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Evaluation.handleCostOption(\"\", 7);\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n MockRandom mockRandom0 = new MockRandom();\n }","title":""},{"docid":"c72a3e9c79744973bbe1ba4fd2f1627f","score":"0.59212273","text":"@Test public void calculateScore2(){\n p1.hitscount = 13;\n p1.misscount = 0;\n String score= \"250\";\n\n assertEquals(score,test.calcScore(50000,p1, false));\n }","title":""},{"docid":"f5070ec68192f3af3e567cbe8b807618","score":"0.59201723","text":"@RepeatedTest(100)\n public void hpConsistencyWildTest() {\n hitPointsConsistencyTest(chicken);\n hitPointsConsistencyTest(seagull);\n }","title":""},{"docid":"fa2896d45f38d5381aa00d0235ff545c","score":"0.5905349","text":"@Test\n public void test07() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toClassDetailsString(\"The first argument must be the class name of a classifier\");\n assertEquals(\"The first argument must be the class name of a classifier\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }","title":""},{"docid":"c05768ce698fd279088bf55bcde4d165","score":"0.5904223","text":"public void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\n\r\n }","title":""},{"docid":"da65591930d1a5692670c96825f9221e","score":"0.58942395","text":"@Test(timeout = 4000)\n public void test006() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n textDirectoryLoader0.setOutputFilename(true);\n CostMatrix costMatrix0 = new CostMatrix(0);\n textDirectoryLoader0.setCharSet(\"classifiersTipText\");\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0, doubleArray0.length);\n \n double double0 = evaluation0.priorEntropy();\n assertEquals(0.0, double0, 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n }","title":""},{"docid":"5bcd8e581459589e2860de7f0fcebc73","score":"0.5893196","text":"public void onTestFailedButWithinSuccessPercentage(ITestResult result) {\n\t\n}","title":""},{"docid":"0e729087a3f1bfa439624c053448a55b","score":"0.58891314","text":"@Test(timeout = 4000)\n public void test50() throws Throwable {\n JRip jRip0 = new JRip();\n String[] stringArray0 = jRip0.getOptions();\n jRip0.setOptions(stringArray0);\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(11, stringArray0.length);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n }","title":""},{"docid":"b61677c7be7067eeabe363bf9284a481","score":"0.5881872","text":"@Test\n public void victoryPointsThresholdTest() {\n // TODO: test victoryPointsThreshold\n }","title":""},{"docid":"825ea4dbbb73bf07e85bbc96571ca987","score":"0.5880432","text":"@Test\n public void test09() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.SFMeanEntropyGain();\n assertEquals(Double.NaN, double0, 0.01D);\n }","title":""},{"docid":"b885cb3dfbdca1004c4bd26139082e91","score":"0.58785033","text":"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 65000);\n nbTC = readInt(reader);\n for (tc = 1; tc <= nbTC; ++tc) {\n result.append(oneTestCase(reader));\n result.append(\"\\n\");\n }\n System.out.print(result);\n System.out.flush();\n }","title":""},{"docid":"86cb608aeed261199a7a49535035bda5","score":"0.5873928","text":"@Test\n public void test10() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01D);\n }","title":""},{"docid":"bec4928214a9054453d8848402de9a81","score":"0.58668524","text":"@Test\n public void test11() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }","title":""},{"docid":"4766b33af139dbaacedd0b6b72cf9e7a","score":"0.58585715","text":"@Test(timeout = 4000)\n public void test50() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertNotNull(textDirectoryLoader0);\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n \n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"qZ+\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT |* FROM [WHERE ]\", databaseLoader0.queryTipText());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertEquals(\"\", databaseLoader0.getUser());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n \n // Undeclared exception!\n try { \n evaluation0.weightedMatthewsCorrelation();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }","title":""},{"docid":"4bfd3ec0cbd82e5f5e1cc19e11b604ef","score":"0.584892","text":"@Test\n void test4() {\n int r = o.countGoodNumbers(4);\n assertEquals(400, r);\n }","title":""},{"docid":"a9e10bab72bee3aadd85f54d625f4438","score":"0.5846561","text":"@Test\n public void test004() {\n\n //Home work\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The gift options under the first product are: \");\n System.out.println(\"------------------End of Test---------------------------\");\n\n }","title":""},{"docid":"2e9d58e49cbecc5dbe2ee65daea7c0e3","score":"0.58437675","text":"@Test\n\tpublic void getResultsTest() \n\t{\n\t\tint test_Case1 = -20;\n\t\tint test_Case2 = 20;\n\t\t\n\t\tint test_Case3 = -21;\n\t\tint test_Case4 = 21;\n\t\t\n\t\t// if (num < 20)\n\t\tint test_Case5 = -4;\n\t\tint test_Case6 = 4;\n\t\t\n\t\tint test_Case7 = -5;\n\t\tint test_Case8 = 5;\n\t\t\n\t\tassertEquals(20, Utilities.getResults(test_Case1));\n\t\tassertEquals(20, Utilities.getResults(test_Case2));\n\t\tassertEquals(22, Utilities.getResults(test_Case3));\n\t\tassertEquals(22, Utilities.getResults(test_Case4));\n\t\tassertEquals(24, Utilities.getResults(test_Case5));\n\t\tassertEquals(24, Utilities.getResults(test_Case6));\n\t\tassertEquals(26, Utilities.getResults(test_Case7));\n\t\tassertEquals(26, Utilities.getResults(test_Case8));\n\t}","title":""},{"docid":"227ee5f837f1b4cf60ea5ea3df930b5f","score":"0.5841961","text":"@Test(timeout = 4000)\n public void test17() throws Throwable {\n JRip jRip0 = new JRip();\n double double0 = jRip0.getMinNo();\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, double0, 0.01);\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }","title":""},{"docid":"1bfa61ad671abd352f3575b7f4062cb2","score":"0.58377254","text":"@Test(timeout = 4000)\n public void test078() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertFalse(textDirectoryLoader0.getDebug());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertNotNull(textDirectoryLoader0);\n \n CostMatrix costMatrix0 = new CostMatrix(0);\n assertEquals(0, costMatrix0.numRows());\n assertEquals(0, costMatrix0.size());\n assertEquals(0, costMatrix0.numColumns());\n assertNotNull(costMatrix0);\n \n double double0 = Evaluation.MIN_SF_PROB;\n assertEquals(4.9E-324, double0, 0.01);\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"setFolds\");\n assertFalse(boolean0);\n \n CoverTree coverTree0 = new CoverTree();\n assertEquals(\"The distance function to use for finding neighbours (default: weka.core.EuclideanDistance). \", coverTree0.distanceFunctionTipText());\n assertEquals(0.0, coverTree0.measureNumLeaves(), 0.01);\n assertEquals(0.0, coverTree0.measureMaxDepth(), 0.01);\n assertFalse(coverTree0.getMeasurePerformance());\n assertEquals(0.0, coverTree0.measureTreeSize(), 0.01);\n assertEquals(1.3, coverTree0.getBase(), 0.01);\n assertEquals(\"The base for the expansion constant.\", coverTree0.baseTipText());\n assertEquals(\"Whether to calculate performance statistics for the NN search or not\", coverTree0.measurePerformanceTipText());\n assertNotNull(coverTree0);\n \n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertNotNull(evaluation0);\n \n double double1 = evaluation0.kappa();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(1.0, double1, 0.01);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertNotEquals(double1, double0, 0.01);\n }","title":""},{"docid":"d6b19fca8aaaff886d861407acc8a480","score":"0.58352077","text":"public void testGetCases() {\n assertEquals(1000, r1.getCases());\n }","title":""},{"docid":"6eed51adfff8ae1ec9c877be19f9d0c3","score":"0.58295286","text":"@Test(timeout = 4000)\n public void test020() throws Throwable {\n Logistic logistic0 = new Logistic();\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n evaluation0.setDiscardPredictions(true);\n assertTrue(evaluation0.getDiscardPredictions());\n }","title":""},{"docid":"4467bc4bff2dcc7485c3f24a9bdea4bd","score":"0.58225983","text":"@Test(timeout = 4000)\n public void test13() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.getRevision();\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(\"8118\", string0);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n }","title":""},{"docid":"821a4887fdac9ba5c9d502391f65d2ab","score":"0.5819462","text":"@Test public void calculateScore(){\n p1.hitscount = 17;\n p1.misscount = 0;\n String score= \"270\";\n\n assertEquals(score,test.calcScore(60000,p1, false));\n }","title":""},{"docid":"baf4430f4ea27636c58ded0aab3cf5f9","score":"0.58165777","text":"public static void main(String[] args) {\r\n\t\t\r\n\t\tint n = 1000;\r\n\t\tint d = n/1000;\r\n\t\t//test1(n,10,100,n/2,1,n); // 100%\r\n\t\ttest1(n,10,100,n/2,n/2-n/20,n/2+n/20); // 45%-55%\r\n\t\t//test2(n,1,1,n,n,1,n);\r\n\t}","title":""},{"docid":"031b6f88d6e9e1c7e1d35cb2a70343bb","score":"0.57894015","text":"public static void main(String[] args) {\n javaai.ann.output.EquilateralEncoding.load();\n\n Random ran = new Random(0);\n\n int success = 0;\n\n for(int n=0; n < NUM_TESTS; n++) {\n // Pick a species randomly\n int actualIndex = ran.nextInt(ideals.length);\n\n // TODO:\n // 1. Get a random encoding with the actual index.\n // 2. Create a new array of activations perturbed by the tolerance divided by 100.\n // 3. Decode these perturbed activations.\n // 4. If the predicted index equals the actual index, update success count.\n // Get its encoding\n double[] encodings = ideals[actualIndex];\n\n double[] activations = new double[encodings.length];\n\n // Perturb each activation by training error tolerance\n for(int k=0; k < encodings.length; k++) {\n double epsilon = 1 + ran.nextGaussian() * TOLERANCE / 100.;\n\n activations[k] = encodings[k] * epsilon;\n }\n\n int predictedIndex = EquilateralEncoding.eq.decode(activations);\n\n String species1 = species.get(actualIndex);\n String species2 = species.get(predictedIndex);\n String outcome = species1 == species2 ? \"\" : \"MISSED!\";\n\n System.out.println(\n \"actual: \" + species1+asString(encodings) + \" \" +\n \"predicted: \"+species2+asString(activations) + \" \" +\n outcome);\n\n if(species1 == species2)\n success++;\n }\n\n double rate = (double)success / NUM_TESTS;\n\n System.out.printf(\"%d of %d or %4.2f%% tolerance = %5.2f%%\\n\",success, NUM_TESTS, rate, TOLERANCE);\n }","title":""},{"docid":"c2ad9fddd739c602efa2cb6581be6bb7","score":"0.57853466","text":"@Test(timeout = 4000)\n public void test009() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n assertEquals(Double.NaN, double0, 0.01);\n \n evaluation0.setNumericPriorsFromBuffer();\n Evaluation evaluation1 = new Evaluation(instances0);\n double double1 = evaluation1.numInstances();\n assertEquals(0.0, double1, 0.01);\n }","title":""},{"docid":"3ccd9a7d1d37774efa013e9e0eba2469","score":"0.57832503","text":"private double performChiTest(){\r\n\t\tdouble[] expected = getExpected();\r\n\t\tlong[] pov = getPov();\r\n\t\tdouble chiTestResult = new ChiSquareTest().chiSquareTest(expected, pov);\r\n\t\treturn chiTestResult;\r\n\t}","title":""},{"docid":"03fa8eecc763846ad4b52e440f4963fe","score":"0.5781389","text":"@Test(timeout = 4000)\n public void test04() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n SparseInstance sparseInstance0 = new SparseInstance(120);\n instances0.deleteWithMissingClass();\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.correct();\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.SFSchemeEntropy();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, double1, 0.01);\n }","title":""},{"docid":"a50f3866d136e80efcd053a4e17ed74b","score":"0.5779414","text":"@Test(timeout = 4000)\n public void test016() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n String[] stringArray0 = new String[4];\n stringArray0[0] = \".cost\";\n stringArray0[1] = \".bsi\";\n stringArray0[2] = \"numBinsTipText\";\n stringArray0[3] = \".cost\";\n textDirectoryLoader0.setOptions(stringArray0);\n byte[] byteArray0 = new byte[7];\n byteArray0[0] = (byte)97;\n byteArray0[1] = (byte)97;\n byteArray0[2] = (byte)97;\n byteArray0[3] = (byte)12;\n byteArray0[4] = (byte)97;\n byteArray0[5] = (byte)70;\n byteArray0[6] = (byte)97;\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n // Undeclared exception!\n try { \n evaluation0.makeDistribution(423.28734579);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 423\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }","title":""},{"docid":"8e9010ac1a61ef7dfa7b269facd893e6","score":"0.5758979","text":"@Test(timeout = 4000)\n public void test27() throws Throwable {\n JRip jRip0 = new JRip();\n Capabilities capabilities0 = jRip0.getCapabilities();\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, capabilities0.getMinimumNumberInstances());\n assertFalse(jRip0.getDebug());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n }","title":""},{"docid":"fbb082cd6e688fa891b9bd3921c5e047","score":"0.5756892","text":"@Test\n public void trainAndTest() {\n // train\n this.learner.train(irisData);\n // test\n int[] results = learner.test(irisData);\n double proportionCorrect = results[0] / irisData.size();\n System.out.println(proportionCorrect);\n Assert.assertTrue(proportionCorrect > 0.95);\n }","title":""},{"docid":"006dbeb783c5bb77acbf52bd9fba486d","score":"0.5752428","text":"@Test(timeout = 4000)\n public void test35() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n boolean boolean0 = jRip_RipperRule0.covers((Instance) null);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertTrue(boolean0);\n assertEquals(2, jRip0.getOptimizations());\n }","title":""},{"docid":"433bb5852f576c1e834d934f1c8d42be","score":"0.57482404","text":"public long getTestDataCoverage(String outDirectory) {\n\t\t/**\n\t\t * \n\t\t * TODO\n\t\t */\n\t\tFile scenarioDirectory = new File(outDirectory + ConfigApp.SCENARII);\n\t\tif (!scenarioDirectory.exists()) {\n\t\t\treturn 0;\n\t\t}\n\t\t@SuppressWarnings(\"unused\")\n\t\tScenarioData scenario = readLastScenario(scenarioDirectory);\n\t\treturn 0;\n\t}","title":""},{"docid":"1ce84876270f932f5c128633afa04df8","score":"0.5742118","text":"Reference getCoverage();","title":""},{"docid":"03ed04a1d5f861c488badc380ac121b3","score":"0.5740877","text":"@Test public void calculateScore1(){\n p1.hitscount = 17;\n p1.misscount = 30;\n String score= \"340\";\n\n assertEquals(score,test.calcScore(30000,p1, false));\n }","title":""},{"docid":"491895f297e06ffe900f1d76167ed1ac","score":"0.5735229","text":"public void DHTGetPerformanceTest() {\n long total = 0;\n\n int[] tests = { 5, 10, 15, 20, 25, 30 };\n for(int t = 50; t < 100; t++) {\n count = t;\n total = GetProfilesTest();\n long avg = total / profileRequests;\n System.out.println(avg);\n }\n }","title":""},{"docid":"8b4005398128cb8b78e057b21c69e281","score":"0.57281333","text":"@Test\n abstract public void testCompactWithTwentySquareMeter();","title":""},{"docid":"592087f54d598fe4fc54154fcfe508d6","score":"0.572741","text":"public static void main(String[] args) {\n\t\tHitCounter counter = new HitCounter();\n\t\tcounter.hit(1);\n\t\tcounter.hit(2);\n\t\tcounter.hit(3);\n\t\tSystem.out.println(counter.getHits(4));\n\t\tcounter.hit(300);\n\t\tSystem.out.println(counter.getHits(300));\n\t\tSystem.out.println(counter.getHits(301));\n\t\t\n\t}","title":""},{"docid":"69591b5d309759c7ac5b78133a3adcd5","score":"0.5719286","text":"@Test\n\tpublic void test5bestSeq() {\n\t}","title":""},{"docid":"5f58a61367639bc3aa18f5239681f98f","score":"0.57074434","text":"public static void main(String[] args) {\n\t\t\r\n\t\tnew Controller();\r\n\t\t\r\n/*\t\t\r\n\t\tint testInputCount = 900;\r\n\t\t\r\n\t\tdouble testNetSum = 600;\r\n\t\t\r\n\t\tdouble scaleFactor = 1/new Double(testInputCount); \r\n\t\t\r\n\t\tdouble result = Utils.logisticFunction(testNetSum*scaleFactor);\r\n\t\t\r\n\t\tSystem.out.println(result);\r\n*/\r\n\t}","title":""},{"docid":"2a8f65b8bcdff88b4b6df64997076995","score":"0.5705013","text":"@Override\n\tvoid test() {\n\t\tClassificationResult result;\n\t\tList features;\n\t\tint successes = 0;\n\t\tint failures = 0;\n\t\tfor (Entry>> cat : testData.entrySet()) { // loop through test data\n\t\t\tfor (List item : cat.getValue()) {\n\t\t\t\tfeatures = extractor.extractFeatures(item);\n\t\t\t\tresult = getClassifier().classify(features); \n\t\t\t\tif (result.getCategory().equals(cat.getKey())) { // check if classification is correct\t\n\t\t\t\t\tif (GlobalConfig.DEBUG)\n\t\t\t\t\t\tSystem.out.println(\"Succeeded for category \" + cat.getKey());\n\t\t\t\t\tregisterSuccess(cat.getKey());\n\t\t\t\t\tsuccesses++;\n\t\t\t\t} else {\n\t\t\t\t\tif (GlobalConfig.DEBUG) {\n\t\t\t\t\t\tSystem.out.println(\"Failed for category: \" + cat.getKey());\n\t\t\t\t\t\tprintWriter.println(\"Category \" + cat.getKey() + \" \" + Utilities.detokenize(item));\n\t\t\t\t\t}\n\t\t\t\t\tregisterFailure(cat.getKey());\n\t\t\t\t\tfailures++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprintWriter.close();\n\t\treport += (\"Successes: \" + successes + \" Failures: \" + failures);\n\t\tdouble percentage = (double) successes / ((double) successes + failures);\n\t\treport += (\" Percentage: \" + percentage * 100);\t\n\t\tsetSuccessRate(percentage);\n\t\t// Print individual success rates\n\t\tif (categories != null) {\n\t\t\tint failure;\n\t\t\tint success;\n\t\t\tdouble rate;\n\t\t\tfor (String category : getCategories()) {\n\t\t\t\tif (failureForCategory.get(category) != null) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfailure = failureForCategory.get(category);\n\t\t\t\t\t\tsuccess = successesForCategory.get(category);\n\t\t\t\t\t\trate = (double) success / ((double) success + failure);\n\t\t\t\t\t\treport += \"\\n\";\n\t\t\t\t\t\treport += \"Success rate for \" + category + \": \" + rate + \"\\n\";\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\treport += \"\\n Error printing result for category \" + category;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*\n\t\t * Unload data\n\t\t */\n\t\ttestData = trainingData = null;\n\t\textractor = null;\n\t\tdictionary = null;\n\t}","title":""},{"docid":"1162289c1b1d1522ca365b6913602248","score":"0.57048535","text":"@Test\n\tpublic void testGetCoverageZero() {\n\t\t// Setup\n\t\tList lines = new ArrayList();\n\t\tlines.add(new Line(\"3\", \"3\", \"dog.java\"));\n\t\tlines.add(new Line(\"2\", \"55\", \"dog.java\"));\n\t\tChange change = new Change(null, null, null, null, lines);\n\n\t\tList types = new ArrayList();\n\t\ttypes.add(\"java\");\n\t\t\n\t\t// Exercise\n\t\tdouble diff = change.getCoverage(types);\n\t\t\n\t\t// Verify\n\t\tassertEquals(0, diff, 0.1);\n\t}","title":""},{"docid":"449c59c01c664e4fd59bf0ac56e5448b","score":"0.5703529","text":"@Test\n public void codeCoverage() {\n Assert.assertEquals(\"123\", node.toString());\n }","title":""},{"docid":"c2dfc45070722d3e6179b84bfbb28281","score":"0.570271","text":"@Test(timeout = 4000)\n public void test05() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n LinkedList linkedList0 = new LinkedList();\n SGD sGD0 = new SGD();\n FileSystemHandling.shouldAllThrowIOExceptions();\n instances0.removeAll(linkedList0);\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[1];\n textDirectoryLoader0.getDataSet();\n doubleArray0[0] = (double) 0;\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n databaseLoader0.getNextInstance(instances0);\n Evaluation evaluation1 = new Evaluation(instances0);\n String string0 = evaluation0.toClassDetailsString(\":\\n\\n\");\n assertEquals(\":\\n\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n \n double double0 = evaluation1.avgCost();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n }","title":""},{"docid":"31e13c60656034e753cb3db66754f8ea","score":"0.57017815","text":"@Test\n abstract public void testIdealWithFifteenSquareMeter();","title":""},{"docid":"2dc64acab6c4a5c94d5389928a4e65dc","score":"0.5691225","text":"@Test(timeout = 4000)\n public void test45() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"5.\", (-1514));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n SparseInstance sparseInstance0 = new SparseInstance(0);\n boolean boolean0 = jRip_NominalAntd0.covers(sparseInstance0);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertTrue(boolean0);\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n }","title":""},{"docid":"d8635af511911150f5178cf33e161231","score":"0.5687611","text":"@Test\n public void rateMeasuredInTest() {\n // TODO: test rateMeasuredIn\n }","title":""},{"docid":"ea1f91bf59491d0215757d6ab7f238ff","score":"0.5681729","text":"@Test\n void test5() {\n int r = o.countGoodNumbers(50);\n assertEquals(564908303, r);\n }","title":""},{"docid":"2e56ef0b5a3eea1c6c26b6b977f7e60b","score":"0.5679079","text":"@Test\n public void testGetSelfRegulatedLearningHourCount() {\n System.out.println(\"getSelfRegulatedLearningHourCount\");\n float expResult = createdModule.getSelfRegulatedLearningHourCount();\n float result = importedModule.getSelfRegulatedLearningHourCount();\n assertEquals(expResult, result, 0.0);\n }","title":""},{"docid":"17016ee4daeb09fb8c6cd5bdcd26141a","score":"0.5675644","text":"@Test\n public void bandwidthUsedTest() {\n // TODO: test bandwidthUsed\n }","title":""},{"docid":"3e6dcfacd1a9a7eddc0aad1bf9568ecf","score":"0.56692606","text":"@Test(timeout = 4000)\n public void test100() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertNotNull(textDirectoryLoader0);\n \n SMOreg sMOreg0 = new SMOreg();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertNotNull(sMOreg0);\n \n Capabilities capabilities0 = sMOreg0.getCapabilities();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertNotNull(capabilities0);\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(3, instances0.numAttributes());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(3, instances0.numAttributes());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertNotNull(evaluation0);\n \n String string0 = instances0.getRevision();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"9186\", string0);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(3, instances0.numAttributes());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertNotNull(string0);\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\n assertEquals(\"The serialized classifier model to use for predictions.\", serializedClassifier0.modelFileTipText());\n assertEquals(\"A wrapper around a serialized classifier model. This classifier loads a serialized models and uses it to make predictions.\\n\\nWarning: since the serialized model doesn't get changed, cross-validation cannot bet used with this classifier.\", serializedClassifier0.globalInfo());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", serializedClassifier0.debugTipText());\n assertFalse(serializedClassifier0.getDebug());\n assertNotNull(serializedClassifier0);\n \n MockRandom mockRandom0 = new MockRandom();\n assertNotNull(mockRandom0);\n \n try { \n evaluation0.crossValidateModel((Classifier) sMOreg0, instances0, 2, (Random) mockRandom0, (Object[]) testInstances0.DEFAULT_WORDS);\n fail(\"Expecting exception: ClassCastException\");\n \n } catch(ClassCastException e) {\n //\n // java.lang.String cannot be cast to weka.classifiers.evaluation.output.prediction.AbstractOutput\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }","title":""},{"docid":"085e8650cd2e6a5dc0891a9809558102","score":"0.5664636","text":"@Test\r\n\tpublic void test() {\r\n\t\tLesson10_CountFactors l = new Lesson10_CountFactors();\r\n\t\ttry {\r\n\t\t\tassertEquals(l.solution(24),8);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\r\n\t}","title":""},{"docid":"aec16615fb5a7e10d588b02bd85ffef5","score":"0.56583494","text":"int getTestExecutionsCount();","title":""},{"docid":"06024bd3b31c933de8eb76d9487a3cc7","score":"0.5655141","text":"@Test(timeout = 4000)\n public void test61() throws Throwable {\n Attribute attribute0 = new Attribute(\"\", \"\");\n attribute0.copy((String) null);\n byte[] byteArray0 = new byte[9];\n byteArray0[0] = (byte)93;\n byteArray0[1] = (byte)6;\n byteArray0[2] = (byte)59;\n byteArray0[3] = (byte) (-37);\n byteArray0[4] = (byte)16;\n byteArray0[5] = (byte)97;\n byteArray0[6] = (byte) (-54);\n byteArray0[7] = (byte) (-4);\n byteArray0[8] = (byte) (-47);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n attribute0.copy(\"@end\");\n ArrayList arrayList0 = new ArrayList();\n Instances instances0 = new Instances(\"integer\", arrayList0, 2);\n Instances instances1 = new Instances(instances0, 0, 0);\n Instances instances2 = new Instances(instances1);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \".bsi\");\n JRip jRip0 = new JRip();\n jRip0.setUsePruning(false);\n try { \n jRip0.rulesetForOneClass(0, instances0, 2, 1);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Class index is negative (not set)!\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }","title":""},{"docid":"2dc9062cea3836763d442bc08eaa8e83","score":"0.5651052","text":"public int countByTestUnitNumber(long number);","title":""},{"docid":"74a1ec398c11b8c9b8666539e6c0447a","score":"0.56498945","text":"@Test(timeout = 4000)\n public void test18() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n String string0 = jRip_NumericAntd0.getRevision();\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(\"8118\", string0);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n }","title":""},{"docid":"5b5fc87d98c006736c0d89f99a9df6cf","score":"0.5647929","text":"@Test(timeout = 4000)\n public void test069() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\n resultMatrixHTML0.listOptions();\n resultMatrixCSV0.assign(resultMatrixHTML0);\n resultMatrixCSV0.doubleToString(0, 0);\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixCSV0);\n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(46, 12);\n resultMatrixSignificance2.getVisibleColCount();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 0);\n resultMatrixLatex0.toStringKey();\n resultMatrixLatex0.setRowName(2, \"v\");\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(123, 1076);\n }","title":""},{"docid":"badc7c9e9d9e3fa5dca576d6790c043b","score":"0.5647136","text":"@Test(timeout = 4000)\n public void test49() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"+HgP:6|49H\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT |* FROM
[WHERE ]\", databaseLoader0.queryTipText());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"\", databaseLoader0.getUser());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n \n evaluation0.m_NoPriors = true;\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double double0 = evaluation0.weightedMatthewsCorrelation();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double double1 = evaluation0.relativeAbsoluteError();\n assertEquals(double1, double0, 0.01);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double1, 0.01);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n }","title":""},{"docid":"93dbdea5907550894336d0c737aae7da","score":"0.56432337","text":"@Override\r\n\tpublic int getTotalCases() {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"daf2f93fcf30bfc75a829efb7413b259","score":"0.56386167","text":"@Test(timeout = 4000)\n public void test41() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"\");\n JRip jRip1 = new JRip();\n LinkedList linkedList0 = new LinkedList();\n Attribute attribute0 = new Attribute(\"weka.classifiers.rules.JRip$RipperRule\", linkedList0, 71);\n Attribute attribute1 = attribute0.copy(\"weka.classifiers.rules.JRip$RipperRule\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n JRip.NominalAntd jRip_NominalAntd1 = jRip0.new NominalAntd(attribute1);\n jRip_NominalAntd0.getAccuRate();\n double[] doubleArray0 = new double[2];\n doubleArray0[0] = 20.0;\n doubleArray0[1] = 2325.50591;\n }","title":""},{"docid":"c12e63e41a33a7041f575d50b71b6d98","score":"0.5638004","text":"@Test\r\npublic void test1()\r\n{\n\tReporter.log(\"qspiders\");\r\n\tReporter.log(\"jspiders\",true);\r\n\tReporter.log(\"tspiders\",false);\r\n}","title":""},{"docid":"fa00c0d155d7c9a7180f5df713434a4c","score":"0.56342375","text":"@Test(timeout = 4000)\n public void test05() throws Throwable {\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = 1732.955775904258;\n doubleArray0[1] = 1732.955775904258;\n doubleArray0[2] = 1732.955775904258;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1732.955775904258, doubleArray0);\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, (String) null);\n binarySparseInstance0.setMissing(attribute0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.value = 1.0;\n jRip_NumericAntd0.accuRate = (double) 2;\n jRip_NumericAntd0.covers(binarySparseInstance0);\n System.setCurrentTimeMillis(1);\n Random.setNextRandom(2);\n }","title":""},{"docid":"c091f9a154640d44eeea3a78039fb679","score":"0.562649","text":"@Test\n void test3() {\n int r = o.countGoodNumbers(3);\n assertEquals(100, r);\n }","title":""},{"docid":"62c5f19437b138808d3152888d3e8b17","score":"0.5625364","text":"@Test\n public void testCalculCirculationGlobal() {\n \n }","title":""},{"docid":"31673d069ae8db06cb0fa634a22efcc1","score":"0.56237465","text":"@Test\n public void affinityTest() {\n // TODO: test affinity\n }","title":""},{"docid":"5b99e3b6a6d755974dce8cae6e42773d","score":"0.56209886","text":"@Test\n public void testGetFollowersCount() {\n System.out.println(\"getFollowersCount\");\n EncodeChromosome instance = new EncodeChromosome();\n instance.setFollowersCount(150);\n int expResult = 2;\n int result = instance.getFollowersCount();\n assertEquals(expResult, result);\n }","title":""},{"docid":"562ddf750d72ab5170622e5cb85180ba","score":"0.56188715","text":"public void doTest(){\r\n\r\n\t\tint draws;\r\n\t\tint effectiveSamples;\r\n\t\t\r\n\t\tif(!dataReady){\t\t\r\n\t\t\tSystem.out.println(\"Data is not ready\");\r\n\t\t\treturn;\t\r\n\t\t}\r\n\t\t\r\n\t\t//compute K statistics\r\n\t\t\t\t\r\n\t\tK=0;\r\n\t\tK2=0;\r\n\t\tdraws=0;\r\n\t\t\r\n\t\tfor(int i=0;i0){\r\n\t\t\t\tK++;\r\n\t\t\t}\r\n\t\t\tif(sequence.get(i)<0){\r\n\t\t\t\tK2++;\r\n\t\t\t}\r\n\t\t\tif(sequence.get(i)==0){\r\n\t\t\t\tdraws++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\t\t\r\n\t\t//compute p-values\r\n\t\t\r\n\t\teffectiveSamples=sequence.size()-draws;\r\n\t\tbinomial.setN(effectiveSamples);\r\n\t\t\r\n\t\texactLeftTail=binomial.computeCumulativeProbability(effectiveSamples-K2);\r\n\t\texactRightTail=binomial.computeCumulativeProbability(effectiveSamples-K);\r\n\t\texactDoubleTail=Math.min(Math.min(exactLeftTail,exactRightTail)*2.0,1.0);\r\n\t\t\t\t\t\t\t\r\n\t\t//asymptotic p-values\r\n\t\tdouble numerator, denominator;\r\n\t\t\r\n\t\tdenominator=0.5*Math.sqrt(effectiveSamples);\r\n\t\t\r\n\t\tnumerator=((double)K-(0.5*effectiveSamples)+0.5);\r\n\r\n\t\tasymptoticLeftTail=normal.getTipifiedProbability(numerator/denominator, false);\r\n\r\n\t\tnumerator=((double)K-(0.5*effectiveSamples)-0.5);\r\n\t\tasymptoticRightTail=1.0-normal.getTipifiedProbability(numerator/denominator, false);\r\n\t\t\r\n\t\tasymptoticDoubleTail=Math.min(Math.min(asymptoticLeftTail,asymptoticRightTail)*2.0,1.0);\r\n\t\t\r\n\t\tperformed=true;\r\n\r\n\t}","title":""},{"docid":"f96a0aaab37d7488bc445516b8d55c55","score":"0.56162006","text":"@Test\n public void test21() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }","title":""},{"docid":"1980a097b8ee60cb94fb0fb44d6dd41c","score":"0.5613143","text":"@Test\n public void test26() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toMatrixString();\n assertEquals(\"=== Confusion Matrix ===\\n\\n <-- classified as\\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }","title":""},{"docid":"f05d20bbcc0261c170c2ffa44521c16f","score":"0.5611014","text":"@Test\n public void test14() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBRelativeInformation();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }","title":""},{"docid":"c46c59123bc851d8874cac39c9f41b4f","score":"0.56094927","text":"@Test\n public void testGetFinal_weight_res() {\n Assert.assertEquals(18.02, value);\n// Assert.assertEquals(66, value1);\n// Assert.assertEquals(207, value2);\n// Assert.assertEquals(18, value3);\n }","title":""},{"docid":"c02f6b09a9799aa3010856ee1aba676a","score":"0.56008893","text":"@Test(timeout = 4000)\n public void test021() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n SMOreg sMOreg0 = new SMOreg();\n Capabilities capabilities0 = sMOreg0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n Evaluation evaluation0 = new Evaluation(instances0);\n instances0.getRevision();\n Object object0 = new Object();\n try { \n evaluation0.toClassDetailsString();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Evaluation: No per class statistics possible!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }","title":""},{"docid":"9446f64c341ab2cbca25c00f34df7e75","score":"0.5576509","text":"public static void main(String args[]) {\n double death_distribution = 6.00d / 100;\n double life_distribuion = 1d - death_distribution;\n\n DistributedRandomNumberGenerator drng = new DistributedRandomNumberGenerator();\n // 1 is dead\n // 0 is live\n drng.addNumber(1, death_distribution);\n drng.addNumber(0, life_distribuion);\n\n int testCount = 100000;\n\n HashMap test = new HashMap<>();\n\n for (int i = 0; i < testCount; i++) {\n int random = drng.getDistributedRandomNumber();\n test.put(random, (test.get(random) == null) ? (1d / testCount) : test.get(random) + 1d / testCount);\n }\n\n System.out.println(test.toString());\n\n System.out.println(\"Did person die? \" + ((drng.getDistributedRandomNumber() == 0) ? \"No\" : \"Yes\"));\n\n }","title":""},{"docid":"293f8d9a55f52edacf64c35f2477df57","score":"0.5573502","text":"@Test(timeout = 4000)\n public void test43() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"+HgP:6|49H\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT |* FROM
[WHERE ]\", databaseLoader0.queryTipText());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"\", databaseLoader0.getUser());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n double double0 = evaluation0.rootRelativeSquaredError();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n evaluation0.addNumericTrainClass((-3405.506471419351), (-1));\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n try { \n evaluation0.correlationCoefficient();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute correlation coefficient: class is nominal!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }","title":""},{"docid":"f6d1b54cd64031ab613eb9130995cc9d","score":"0.5573474","text":"@Test(timeout = 4000)\n public void test29() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setFolds(3322);\n Random.setNextRandom(1733);\n }","title":""},{"docid":"d523fa0587ed0fe4772747b427902029","score":"0.55699784","text":"@Test\n public void codeCoverage() {\n Node node = Node.of(id, cost);\n assertEquals(\"123\", node.getID());\n assertEquals(Cost.ZERO, node.getNodeCost());\n }","title":""},{"docid":"d490d0235c7b4b9a663378a469ec1ced","score":"0.5567871","text":"@Override\n\tpublic void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\n\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"d6df76b4cd9e17e2c3e4b99debdb01f6\",\n \"score\": \"0.7087746\",\n \"text\": \"@Test\\n public void test16() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\\n assertEquals(Double.NaN, double0, 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0587e50e9925562c252a95f819808dbd\",\n \"score\": \"0.65072083\",\n \"text\": \"@Test(timeout = 4000)\\n public void test008() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n double double0 = Evaluation.MIN_SF_PROB;\\n evaluation0.setDiscardPredictions(false);\\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\\\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\\\");\\n FileSystemHandling.appendStringToFile(evoSuiteFile0, \\\"setFolds\\\");\\n CoverTree coverTree0 = new CoverTree();\\n assertEquals(1.3, coverTree0.getBase(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e076fed62c990d73299d563576ffae4\",\n \"score\": \"0.65053326\",\n \"text\": \"@Test(timeout = 4000)\\n public void test014() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n costMatrix0.initialize();\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n evaluation0.toSummaryString(\\\".arff\\\", true);\\n String string0 = evaluation0.toSummaryString(\\\"@data\\\", false);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(\\\"@data\\\\nTotal Number of Instances 0 \\\\n\\\", string0);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"000ff4e5fd4fd6cb2d75fe37a3628a8c\",\n \"score\": \"0.64789224\",\n \"text\": \"@Test\\n public void levelOfEvidenceTest() {\\n // TODO: test levelOfEvidence\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a778a1ec3c09a8a4e9807f175bed9ab6\",\n \"score\": \"0.64493114\",\n \"text\": \"@Test(timeout = 4000)\\n public void test013() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.m_SumClass;\\n String string0 = evaluation0.toSummaryString();\\n assertEquals(\\\"\\\\nTotal Number of Instances 0 \\\\n\\\", string0);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28fc1c03589c689478e686556e2e01ff\",\n \"score\": \"0.64108616\",\n \"text\": \"@Test\\n public void test28() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n Instances instances0 = testInstances0.generate();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n String string0 = evaluation0.toSummaryString(\\\"LzUl=-U!>\\\", true);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e18a904c7be6dd7dc3afae3e3d935dcb\",\n \"score\": \"0.63233227\",\n \"text\": \"@Test(timeout = 4000)\\n public void test12() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n textDirectoryLoader0.setRetrieval(100000);\\n evaluation0.toSummaryString();\\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\\\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\\\");\\n FileSystemHandling.appendLineToFile(evoSuiteFile0, \\\"@relation\\\");\\n CostMatrix costMatrix0 = new CostMatrix(7);\\n evaluation0.recall(0);\\n evaluation0.weightedMatthewsCorrelation();\\n int[] intArray0 = new int[3];\\n intArray0[0] = 0;\\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\\n regressionByDiscretization0.setDeleteEmptyBins(false);\\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\\n assertEquals(Double.NaN, double0, 0.01);\\n \\n String string0 = evaluation0.toClassDetailsString();\\n assertEquals(\\\"=== Detailed Accuracy By Class ===\\\\n\\\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\\\n\\\", string0);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"928ec49755c160eca8f8e6438653dbca\",\n \"score\": \"0.6312664\",\n \"text\": \"@Test(timeout = 4000)\\n public void test012() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\\n double double0 = evaluation0.incorrect();\\n assertEquals(0.0, double0, 0.01);\\n \\n double double1 = evaluation0.falseNegativeRate(0);\\n assertEquals(0.0, double1, 0.01);\\n \\n evaluation0.setPriors(instances0);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35c1c7eba9604f64cf85b3ae55305a6c\",\n \"score\": \"0.62797105\",\n \"text\": \"@Test\\n public void costTest() {\\n // TODO: test cost\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffdf504bca7096b6b62a4b7b51266eba\",\n \"score\": \"0.6251995\",\n \"text\": \"@Test(timeout = 4000)\\n public void test010() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.weightedTrueNegativeRate();\\n evaluation0.setNumericPriorsFromBuffer();\\n evaluation0.setNumericPriorsFromBuffer();\\n double[] doubleArray0 = new double[4];\\n doubleArray0[0] = (double) 59;\\n doubleArray0[2] = 202.6;\\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 2.0);\\n double double1 = evaluation0.pctUnclassified();\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(double1, double0, 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, double1, 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4be36023b9506f0fe469cbffbfb571e3\",\n \"score\": \"0.6249352\",\n \"text\": \"@Test\\n public void test08() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n Instances instances0 = testInstances0.generate();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n String string0 = evaluation0.toSummaryString(\\\"zUl=-U!>\\\", false);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ec9f7aa97af13ced46aea15561aa02\",\n \"score\": \"0.61791307\",\n \"text\": \"@Test(timeout = 4000)\\n public void test025() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n MockRandom mockRandom0 = new MockRandom();\\n boolean[] booleanArray0 = new boolean[7];\\n booleanArray0[0] = true;\\n booleanArray0[1] = true;\\n booleanArray0[2] = true;\\n booleanArray0[3] = true;\\n booleanArray0[4] = false;\\n booleanArray0[5] = false;\\n booleanArray0[6] = true;\\n textDirectoryLoader0.getDataSet();\\n instances0.resampleWithWeights((Random) mockRandom0, booleanArray0);\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n double double0 = evaluation0.m_SumPriorEntropy;\\n double double1 = evaluation0.SFMeanSchemeEntropy();\\n assertEquals(Double.NaN, double1, 0.01);\\n \\n double double2 = evaluation0.matthewsCorrelationCoefficient(1243);\\n assertEquals(0.0, double2, 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70ed22b84aebe1102b77c4bf7aacbb48\",\n \"score\": \"0.61735356\",\n \"text\": \"@Test\\n public void test31() throws Throwable {\\n AdditiveRegression additiveRegression0 = new AdditiveRegression();\\n Capabilities capabilities0 = additiveRegression0.getCapabilities();\\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\\n Instances instances0 = testInstances0.generate(\\\"setOptions\\\");\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double[] doubleArray0 = evaluation0.makeDistribution(1774.70273682);\\n assertArrayEquals(new double[] {1774.70273682}, doubleArray0, 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9ecd407f1fc3f0588c72936212d5549\",\n \"score\": \"0.61486095\",\n \"text\": \"@Test(timeout = 4000)\\n public void test005() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n double double0 = evaluation0.errorRate();\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, double0, 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1272446634fa95b586bb2c5218e00c9\",\n \"score\": \"0.6144983\",\n \"text\": \"@Test\\n public void testProbabilityViaConstructor() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d16371413e002b2d8e04f3fe250eadc7\",\n \"score\": \"0.6113199\",\n \"text\": \"@Test\\n public void test12() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.SFPriorEntropy();\\n assertEquals(0.0, double0, 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ab0176bbe6b8ad90fb6351ea883fba1\",\n \"score\": \"0.61123854\",\n \"text\": \"@Test(timeout = 4000)\\n public void test26() throws Throwable {\\n JRip jRip0 = new JRip();\\n jRip0.globalInfo();\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertTrue(jRip0.getCheckErrorRate());\\n assertEquals(2, jRip0.getOptimizations());\\n assertTrue(jRip0.getUsePruning());\\n assertEquals(1L, jRip0.getSeed());\\n assertFalse(jRip0.getDebug());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"765aabea734e44b10569de16c4f71ed8\",\n \"score\": \"0.6112276\",\n \"text\": \"@Test(timeout = 4000)\\n public void test024() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n evaluation0.m_CoverageStatisticsAvailable = false;\\n double double0 = evaluation0.weightedMatthewsCorrelation();\\n double double1 = evaluation0.coverageOfTestCasesByPredictedRegions();\\n assertEquals(double1, double0, 0.01);\\n \\n double[] doubleArray0 = evaluation0.makeDistribution(Double.NaN);\\n assertNotNull(doubleArray0);\\n assertEquals(0, doubleArray0.length);\\n \\n GaussianProcesses gaussianProcesses0 = new GaussianProcesses();\\n evaluation0.equals(gaussianProcesses0);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"932939b848e4cd1297dd7ffe8d5ae4d5\",\n \"score\": \"0.6089984\",\n \"text\": \"@Test\\n public void testEstimateErrorRateForBigCardinalities() {\\n double stdError = (1.04 / Math.sqrt(1 << precision())) * 100;\\n double maxError = Math.ceil(stdError + 3.0);\\n\\n IntHashSet actualCount = new IntHashSet(runLength(), -1);\\n Random random = new Random();\\n Histogram histogram = new Histogram(5);\\n ByteBuffer bb = ByteBuffer.allocate(4);\\n\\n int sampleStep = 100;\\n long expected;\\n long actual;\\n\\n for (int i = 1; i <= runLength(); i++) {\\n int toCount = random.nextInt();\\n actualCount.add(toCount);\\n\\n bb.clear();\\n bb.putInt(toCount);\\n encoder.add(HashUtil.MurmurHash3_x64_64(bb.array(), 0, bb.array().length));\\n\\n if (i % sampleStep == 0) {\\n expected = actualCount.size();\\n actual = encoder.estimate();\\n double errorPct = ((actual * 100.0) / expected) - 100;\\n histogram.recordValue(Math.abs((long) (errorPct * 100)));\\n }\\n }\\n\\n double errorPerc99 = histogram.getValueAtPercentile(99) / 100.0;\\n if (errorPerc99 > maxError) {\\n fail(\\\"For P=\\\" + precision() + \\\", max error=\\\" + maxError + \\\"% expected.\\\"\\n + \\\" Error: \\\" + errorPerc99 + \\\"%.\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b9ee5074ea12292494f23641e368910\",\n \"score\": \"0.60475624\",\n \"text\": \"@Test(timeout = 4000)\\n public void test43() throws Throwable {\\n JRip jRip0 = new JRip();\\n double[] doubleArray0 = new double[0];\\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(2576.86, doubleArray0);\\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, (String) null);\\n Attribute attribute0 = new Attribute((String) null);\\n binarySparseInstance0.setValue(attribute0, (-713.7029286));\\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\\n boolean boolean0 = jRip_NominalAntd0.covers(binarySparseInstance0);\\n assertEquals(2, jRip0.getOptimizations());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertTrue(jRip0.getCheckErrorRate());\\n assertFalse(boolean0);\\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\\n assertEquals(1L, jRip0.getSeed());\\n assertTrue(jRip0.getUsePruning());\\n assertFalse(jRip0.getDebug());\\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e124d4619cdf828bd97450427ec2633\",\n \"score\": \"0.6012665\",\n \"text\": \"public int getTests()\\n {\\n return 1; //JG\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f795a86160c9c0a0d83c4a29e2a71b46\",\n \"score\": \"0.5998693\",\n \"text\": \"@Test\\n public void energyUsedTest() {\\n // TODO: test energyUsed\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"631ff8df6557cc1a8326fc7169a0fbfe\",\n \"score\": \"0.5972166\",\n \"text\": \"@Test(timeout = 4000)\\n public void test01() throws Throwable {\\n JRip jRip0 = new JRip();\\n jRip0.enumerateMeasures();\\n assertTrue(jRip0.getUsePruning());\\n assertTrue(jRip0.getCheckErrorRate());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertEquals(1L, jRip0.getSeed());\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(2, jRip0.getOptimizations());\\n assertFalse(jRip0.getDebug());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45558a2f8e85852a55243c9d83489ac4\",\n \"score\": \"0.5963265\",\n \"text\": \"@Test\\n public void test13() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n Instances instances0 = testInstances0.generate();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.KBMeanInformation();\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f73bccc5332eb269e5021a2a327a97f\",\n \"score\": \"0.5931537\",\n \"text\": \"@Test(timeout = 4000)\\n public void test011() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Evaluation.handleCostOption(\\\"\\\", 7);\\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\\n MockRandom mockRandom0 = new MockRandom();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c72a3e9c79744973bbe1ba4fd2f1627f\",\n \"score\": \"0.59212273\",\n \"text\": \"@Test public void calculateScore2(){\\n p1.hitscount = 13;\\n p1.misscount = 0;\\n String score= \\\"250\\\";\\n\\n assertEquals(score,test.calcScore(50000,p1, false));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5070ec68192f3af3e567cbe8b807618\",\n \"score\": \"0.59201723\",\n \"text\": \"@RepeatedTest(100)\\n public void hpConsistencyWildTest() {\\n hitPointsConsistencyTest(chicken);\\n hitPointsConsistencyTest(seagull);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa2896d45f38d5381aa00d0235ff545c\",\n \"score\": \"0.5905349\",\n \"text\": \"@Test\\n public void test07() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n String string0 = evaluation0.toClassDetailsString(\\\"The first argument must be the class name of a classifier\\\");\\n assertEquals(\\\"The first argument must be the class name of a classifier\\\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\\\n\\\", string0);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c05768ce698fd279088bf55bcde4d165\",\n \"score\": \"0.5904223\",\n \"text\": \"public void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da65591930d1a5692670c96825f9221e\",\n \"score\": \"0.58942395\",\n \"text\": \"@Test(timeout = 4000)\\n public void test006() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n textDirectoryLoader0.setOutputFilename(true);\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n textDirectoryLoader0.setCharSet(\\\"classifiersTipText\\\");\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n double[][] doubleArray0 = evaluation0.confusionMatrix();\\n assertEquals(0, doubleArray0.length);\\n \\n double double0 = evaluation0.priorEntropy();\\n assertEquals(0.0, double0, 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bcd8e581459589e2860de7f0fcebc73\",\n \"score\": \"0.5893196\",\n \"text\": \"public void onTestFailedButWithinSuccessPercentage(ITestResult result) {\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e729087a3f1bfa439624c053448a55b\",\n \"score\": \"0.58891314\",\n \"text\": \"@Test(timeout = 4000)\\n public void test50() throws Throwable {\\n JRip jRip0 = new JRip();\\n String[] stringArray0 = jRip0.getOptions();\\n jRip0.setOptions(stringArray0);\\n assertEquals(1L, jRip0.getSeed());\\n assertFalse(jRip0.getDebug());\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(2, jRip0.getOptimizations());\\n assertEquals(11, stringArray0.length);\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertTrue(jRip0.getCheckErrorRate());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b61677c7be7067eeabe363bf9284a481\",\n \"score\": \"0.5881872\",\n \"text\": \"@Test\\n public void victoryPointsThresholdTest() {\\n // TODO: test victoryPointsThreshold\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"825ea4dbbb73bf07e85bbc96571ca987\",\n \"score\": \"0.5880432\",\n \"text\": \"@Test\\n public void test09() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\\n double double0 = evaluation0.SFMeanEntropyGain();\\n assertEquals(Double.NaN, double0, 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b885cb3dfbdca1004c4bd26139082e91\",\n \"score\": \"0.58785033\",\n \"text\": \"public static void main(String[] args) throws IOException {\\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 65000);\\n nbTC = readInt(reader);\\n for (tc = 1; tc <= nbTC; ++tc) {\\n result.append(oneTestCase(reader));\\n result.append(\\\"\\\\n\\\");\\n }\\n System.out.print(result);\\n System.out.flush();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86cb608aeed261199a7a49535035bda5\",\n \"score\": \"0.5873928\",\n \"text\": \"@Test\\n public void test10() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n Instances instances0 = testInstances0.generate();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.SFEntropyGain();\\n assertEquals(0.0, double0, 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bec4928214a9054453d8848402de9a81\",\n \"score\": \"0.58668524\",\n \"text\": \"@Test\\n public void test11() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n Instances instances0 = testInstances0.generate();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.SFMeanPriorEntropy();\\n assertEquals(Double.NaN, double0, 0.01D);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4766b33af139dbaacedd0b6b72cf9e7a\",\n \"score\": \"0.58585715\",\n \"text\": \"@Test(timeout = 4000)\\n public void test50() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n assertNotNull(textDirectoryLoader0);\\n assertEquals(\\\"Whether to store the filename in an additional attribute.\\\", textDirectoryLoader0.outputFilenameTipText());\\n assertFalse(textDirectoryLoader0.getOutputFilename());\\n assertEquals(\\\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\\\", textDirectoryLoader0.globalInfo());\\n assertEquals(\\\"\\\", textDirectoryLoader0.getCharSet());\\n assertEquals(\\\"Directories\\\", textDirectoryLoader0.getFileDescription());\\n assertFalse(textDirectoryLoader0.getDebug());\\n assertEquals(\\\"Whether to print additional debug information to the console.\\\", textDirectoryLoader0.debugTipText());\\n assertEquals(\\\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\\\", textDirectoryLoader0.charSetTipText());\\n \\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\\n assertNotNull(regressionByDiscretization0);\\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\\n assertFalse(regressionByDiscretization0.getDebug());\\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\\n assertEquals(\\\"Whether to delete empty bins after discretization.\\\", regressionByDiscretization0.deleteEmptyBinsTipText());\\n assertEquals(\\\"Number of bins for discretization.\\\", regressionByDiscretization0.numBinsTipText());\\n assertEquals(\\\"The base classifier to be used.\\\", regressionByDiscretization0.classifierTipText());\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", regressionByDiscretization0.debugTipText());\\n assertEquals(\\\"If set to true, equal-frequency binning will be used instead of equal-width binning.\\\", regressionByDiscretization0.useEqualFrequencyTipText());\\n assertEquals(10, regressionByDiscretization0.getNumBins());\\n assertEquals(\\\"The density estimator to use.\\\", regressionByDiscretization0.estimatorTypeTipText());\\n assertEquals(\\\"Whether to minimize absolute error.\\\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\\n \\n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\\n assertNotNull(capabilities0);\\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\\n assertFalse(regressionByDiscretization0.getDebug());\\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\\n assertEquals(\\\"Whether to delete empty bins after discretization.\\\", regressionByDiscretization0.deleteEmptyBinsTipText());\\n assertEquals(\\\"Number of bins for discretization.\\\", regressionByDiscretization0.numBinsTipText());\\n assertEquals(\\\"The base classifier to be used.\\\", regressionByDiscretization0.classifierTipText());\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", regressionByDiscretization0.debugTipText());\\n assertEquals(\\\"If set to true, equal-frequency binning will be used instead of equal-width binning.\\\", regressionByDiscretization0.useEqualFrequencyTipText());\\n assertEquals(10, regressionByDiscretization0.getNumBins());\\n assertEquals(\\\"The density estimator to use.\\\", regressionByDiscretization0.estimatorTypeTipText());\\n assertEquals(\\\"Whether to minimize absolute error.\\\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\\n assertEquals(2, capabilities0.getMinimumNumberInstances());\\n assertTrue(capabilities0.hasDependencies());\\n \\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertNotNull(testInstances0);\\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\\n assertFalse(regressionByDiscretization0.getDebug());\\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\\n assertEquals(\\\"Whether to delete empty bins after discretization.\\\", regressionByDiscretization0.deleteEmptyBinsTipText());\\n assertEquals(\\\"Number of bins for discretization.\\\", regressionByDiscretization0.numBinsTipText());\\n assertEquals(\\\"The base classifier to be used.\\\", regressionByDiscretization0.classifierTipText());\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", regressionByDiscretization0.debugTipText());\\n assertEquals(\\\"If set to true, equal-frequency binning will be used instead of equal-width binning.\\\", regressionByDiscretization0.useEqualFrequencyTipText());\\n assertEquals(10, regressionByDiscretization0.getNumBins());\\n assertEquals(\\\"The density estimator to use.\\\", regressionByDiscretization0.estimatorTypeTipText());\\n assertEquals(\\\"Whether to minimize absolute error.\\\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\\n assertEquals(2, capabilities0.getMinimumNumberInstances());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(4, testInstances0.getNumAttributes());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n \\n Instances instances0 = testInstances0.generate(\\\"Using kernel matrix from file with name: \\\");\\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertNotNull(instances0);\\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\\n assertFalse(regressionByDiscretization0.getDebug());\\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\\n assertEquals(\\\"Whether to delete empty bins after discretization.\\\", regressionByDiscretization0.deleteEmptyBinsTipText());\\n assertEquals(\\\"Number of bins for discretization.\\\", regressionByDiscretization0.numBinsTipText());\\n assertEquals(\\\"The base classifier to be used.\\\", regressionByDiscretization0.classifierTipText());\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", regressionByDiscretization0.debugTipText());\\n assertEquals(\\\"If set to true, equal-frequency binning will be used instead of equal-width binning.\\\", regressionByDiscretization0.useEqualFrequencyTipText());\\n assertEquals(10, regressionByDiscretization0.getNumBins());\\n assertEquals(\\\"The density estimator to use.\\\", regressionByDiscretization0.estimatorTypeTipText());\\n assertEquals(\\\"Whether to minimize absolute error.\\\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\\n assertEquals(2, capabilities0.getMinimumNumberInstances());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(4, testInstances0.getNumAttributes());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.numClasses());\\n assertEquals(3, instances0.classIndex());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(4, instances0.numAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n \\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\\\"/home/ubuntu/wekafiles\\\");\\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \\\"qZ+\\\");\\n assertTrue(boolean0);\\n \\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\\n assertNotNull(databaseLoader0);\\n assertEquals(\\\"Encode data as sparse instances.\\\", databaseLoader0.sparseDataTipText());\\n assertEquals(\\\"The database password\\\", databaseLoader0.passwordTipText());\\n assertEquals(\\\"The user name for the database\\\", databaseLoader0.userTipText());\\n assertEquals(\\\"jdbc:idb=experiments.prp\\\", databaseLoader0.getUrl());\\n assertEquals(\\\"\\\", databaseLoader0.getPassword());\\n assertEquals(\\\"Select * from Results0\\\", databaseLoader0.getQuery());\\n assertFalse(databaseLoader0.getSparseData());\\n assertEquals(\\\"The custom properties that the user can use to override the default ones.\\\", databaseLoader0.customPropsFileTipText());\\n assertEquals(\\\"The query that should load the instances.\\\\n The query has to be of the form SELECT |* FROM
[WHERE ]\\\", databaseLoader0.queryTipText());\\n assertEquals(\\\"For incremental loading a unique identiefer has to be specified.\\\\nIf the query includes all columns of a table (SELECT *...) a primary key\\\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\\\nspecify the key columns here in a comma separated list.\\\", databaseLoader0.keysTipText());\\n assertEquals(\\\"\\\", databaseLoader0.getUser());\\n assertEquals(\\\"The URL of the database\\\", databaseLoader0.urlTipText());\\n \\n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\\\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\\\");\\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\\n assertFalse(boolean1 == boolean0);\\n assertFalse(boolean1);\\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\\n \\n Evaluation evaluation0 = new Evaluation(instances0);\\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertNotNull(evaluation0);\\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\\n assertFalse(regressionByDiscretization0.getDebug());\\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\\n assertEquals(\\\"Whether to delete empty bins after discretization.\\\", regressionByDiscretization0.deleteEmptyBinsTipText());\\n assertEquals(\\\"Number of bins for discretization.\\\", regressionByDiscretization0.numBinsTipText());\\n assertEquals(\\\"The base classifier to be used.\\\", regressionByDiscretization0.classifierTipText());\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", regressionByDiscretization0.debugTipText());\\n assertEquals(\\\"If set to true, equal-frequency binning will be used instead of equal-width binning.\\\", regressionByDiscretization0.useEqualFrequencyTipText());\\n assertEquals(10, regressionByDiscretization0.getNumBins());\\n assertEquals(\\\"The density estimator to use.\\\", regressionByDiscretization0.estimatorTypeTipText());\\n assertEquals(\\\"Whether to minimize absolute error.\\\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\\n assertEquals(2, capabilities0.getMinimumNumberInstances());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(4, testInstances0.getNumAttributes());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.numClasses());\\n assertEquals(3, instances0.classIndex());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(4, instances0.numAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n \\n // Undeclared exception!\\n try { \\n evaluation0.weightedMatthewsCorrelation();\\n fail(\\\"Expecting exception: NullPointerException\\\");\\n \\n } catch(NullPointerException e) {\\n //\\n // no message in exception (getMessage() returned null)\\n //\\n verifyException(\\\"weka.classifiers.Evaluation\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bfd3ec0cbd82e5f5e1cc19e11b604ef\",\n \"score\": \"0.584892\",\n \"text\": \"@Test\\n void test4() {\\n int r = o.countGoodNumbers(4);\\n assertEquals(400, r);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9e10bab72bee3aadd85f54d625f4438\",\n \"score\": \"0.5846561\",\n \"text\": \"@Test\\n public void test004() {\\n\\n //Home work\\n\\n System.out.println(\\\"------------------StartingTest---------------------------\\\");\\n System.out.println(\\\"The gift options under the first product are: \\\");\\n System.out.println(\\\"------------------End of Test---------------------------\\\");\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e9d58e49cbecc5dbe2ee65daea7c0e3\",\n \"score\": \"0.58437675\",\n \"text\": \"@Test\\n\\tpublic void getResultsTest() \\n\\t{\\n\\t\\tint test_Case1 = -20;\\n\\t\\tint test_Case2 = 20;\\n\\t\\t\\n\\t\\tint test_Case3 = -21;\\n\\t\\tint test_Case4 = 21;\\n\\t\\t\\n\\t\\t// if (num < 20)\\n\\t\\tint test_Case5 = -4;\\n\\t\\tint test_Case6 = 4;\\n\\t\\t\\n\\t\\tint test_Case7 = -5;\\n\\t\\tint test_Case8 = 5;\\n\\t\\t\\n\\t\\tassertEquals(20, Utilities.getResults(test_Case1));\\n\\t\\tassertEquals(20, Utilities.getResults(test_Case2));\\n\\t\\tassertEquals(22, Utilities.getResults(test_Case3));\\n\\t\\tassertEquals(22, Utilities.getResults(test_Case4));\\n\\t\\tassertEquals(24, Utilities.getResults(test_Case5));\\n\\t\\tassertEquals(24, Utilities.getResults(test_Case6));\\n\\t\\tassertEquals(26, Utilities.getResults(test_Case7));\\n\\t\\tassertEquals(26, Utilities.getResults(test_Case8));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"227ee5f837f1b4cf60ea5ea3df930b5f\",\n \"score\": \"0.5841961\",\n \"text\": \"@Test(timeout = 4000)\\n public void test17() throws Throwable {\\n JRip jRip0 = new JRip();\\n double double0 = jRip0.getMinNo();\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(2, jRip0.getOptimizations());\\n assertTrue(jRip0.getCheckErrorRate());\\n assertEquals(2.0, double0, 0.01);\\n assertTrue(jRip0.getUsePruning());\\n assertEquals(1L, jRip0.getSeed());\\n assertFalse(jRip0.getDebug());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bfa61ad671abd352f3575b7f4062cb2\",\n \"score\": \"0.58377254\",\n \"text\": \"@Test(timeout = 4000)\\n public void test078() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n assertEquals(\\\"Whether to print additional debug information to the console.\\\", textDirectoryLoader0.debugTipText());\\n assertEquals(\\\"Whether to store the filename in an additional attribute.\\\", textDirectoryLoader0.outputFilenameTipText());\\n assertEquals(\\\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\\\", textDirectoryLoader0.charSetTipText());\\n assertFalse(textDirectoryLoader0.getDebug());\\n assertFalse(textDirectoryLoader0.getOutputFilename());\\n assertEquals(\\\"Directories\\\", textDirectoryLoader0.getFileDescription());\\n assertEquals(\\\"\\\", textDirectoryLoader0.getCharSet());\\n assertEquals(\\\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\\\", textDirectoryLoader0.globalInfo());\\n assertNotNull(textDirectoryLoader0);\\n \\n CostMatrix costMatrix0 = new CostMatrix(0);\\n assertEquals(0, costMatrix0.numRows());\\n assertEquals(0, costMatrix0.size());\\n assertEquals(0, costMatrix0.numColumns());\\n assertNotNull(costMatrix0);\\n \\n double double0 = Evaluation.MIN_SF_PROB;\\n assertEquals(4.9E-324, double0, 0.01);\\n \\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\\\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\\\");\\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \\\"setFolds\\\");\\n assertFalse(boolean0);\\n \\n CoverTree coverTree0 = new CoverTree();\\n assertEquals(\\\"The distance function to use for finding neighbours (default: weka.core.EuclideanDistance). \\\", coverTree0.distanceFunctionTipText());\\n assertEquals(0.0, coverTree0.measureNumLeaves(), 0.01);\\n assertEquals(0.0, coverTree0.measureMaxDepth(), 0.01);\\n assertFalse(coverTree0.getMeasurePerformance());\\n assertEquals(0.0, coverTree0.measureTreeSize(), 0.01);\\n assertEquals(1.3, coverTree0.getBase(), 0.01);\\n assertEquals(\\\"The base for the expansion constant.\\\", coverTree0.baseTipText());\\n assertEquals(\\\"Whether to calculate performance statistics for the NN search or not\\\", coverTree0.measurePerformanceTipText());\\n assertNotNull(coverTree0);\\n \\n TestInstances testInstances0 = new TestInstances();\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertNotNull(testInstances0);\\n \\n Instances instances0 = testInstances0.generate();\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(1, instances0.classIndex());\\n assertNotNull(instances0);\\n \\n Evaluation evaluation0 = new Evaluation(instances0);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertNotNull(evaluation0);\\n \\n double double1 = evaluation0.kappa();\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals(1.0, double1, 0.01);\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertNotEquals(double1, double0, 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6b19fca8aaaff886d861407acc8a480\",\n \"score\": \"0.58352077\",\n \"text\": \"public void testGetCases() {\\n assertEquals(1000, r1.getCases());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6eed51adfff8ae1ec9c877be19f9d0c3\",\n \"score\": \"0.58295286\",\n \"text\": \"@Test(timeout = 4000)\\n public void test020() throws Throwable {\\n Logistic logistic0 = new Logistic();\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n evaluation0.setDiscardPredictions(true);\\n assertTrue(evaluation0.getDiscardPredictions());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4467bc4bff2dcc7485c3f24a9bdea4bd\",\n \"score\": \"0.58225983\",\n \"text\": \"@Test(timeout = 4000)\\n public void test13() throws Throwable {\\n JRip jRip0 = new JRip();\\n String string0 = jRip0.getRevision();\\n assertTrue(jRip0.getUsePruning());\\n assertEquals(1L, jRip0.getSeed());\\n assertFalse(jRip0.getDebug());\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(\\\"8118\\\", string0);\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertEquals(2, jRip0.getOptimizations());\\n assertTrue(jRip0.getCheckErrorRate());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"821a4887fdac9ba5c9d502391f65d2ab\",\n \"score\": \"0.5819462\",\n \"text\": \"@Test public void calculateScore(){\\n p1.hitscount = 17;\\n p1.misscount = 0;\\n String score= \\\"270\\\";\\n\\n assertEquals(score,test.calcScore(60000,p1, false));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"baf4430f4ea27636c58ded0aab3cf5f9\",\n \"score\": \"0.58165777\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\t\\t\\r\\n\\t\\tint n = 1000;\\r\\n\\t\\tint d = n/1000;\\r\\n\\t\\t//test1(n,10,100,n/2,1,n); // 100%\\r\\n\\t\\ttest1(n,10,100,n/2,n/2-n/20,n/2+n/20); // 45%-55%\\r\\n\\t\\t//test2(n,1,1,n,n,1,n);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"031b6f88d6e9e1c7e1d35cb2a70343bb\",\n \"score\": \"0.57894015\",\n \"text\": \"public static void main(String[] args) {\\n javaai.ann.output.EquilateralEncoding.load();\\n\\n Random ran = new Random(0);\\n\\n int success = 0;\\n\\n for(int n=0; n < NUM_TESTS; n++) {\\n // Pick a species randomly\\n int actualIndex = ran.nextInt(ideals.length);\\n\\n // TODO:\\n // 1. Get a random encoding with the actual index.\\n // 2. Create a new array of activations perturbed by the tolerance divided by 100.\\n // 3. Decode these perturbed activations.\\n // 4. If the predicted index equals the actual index, update success count.\\n // Get its encoding\\n double[] encodings = ideals[actualIndex];\\n\\n double[] activations = new double[encodings.length];\\n\\n // Perturb each activation by training error tolerance\\n for(int k=0; k < encodings.length; k++) {\\n double epsilon = 1 + ran.nextGaussian() * TOLERANCE / 100.;\\n\\n activations[k] = encodings[k] * epsilon;\\n }\\n\\n int predictedIndex = EquilateralEncoding.eq.decode(activations);\\n\\n String species1 = species.get(actualIndex);\\n String species2 = species.get(predictedIndex);\\n String outcome = species1 == species2 ? \\\"\\\" : \\\"MISSED!\\\";\\n\\n System.out.println(\\n \\\"actual: \\\" + species1+asString(encodings) + \\\" \\\" +\\n \\\"predicted: \\\"+species2+asString(activations) + \\\" \\\" +\\n outcome);\\n\\n if(species1 == species2)\\n success++;\\n }\\n\\n double rate = (double)success / NUM_TESTS;\\n\\n System.out.printf(\\\"%d of %d or %4.2f%% tolerance = %5.2f%%\\\\n\\\",success, NUM_TESTS, rate, TOLERANCE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2ad9fddd739c602efa2cb6581be6bb7\",\n \"score\": \"0.57853466\",\n \"text\": \"@Test(timeout = 4000)\\n public void test009() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.weightedTrueNegativeRate();\\n assertEquals(Double.NaN, double0, 0.01);\\n \\n evaluation0.setNumericPriorsFromBuffer();\\n Evaluation evaluation1 = new Evaluation(instances0);\\n double double1 = evaluation1.numInstances();\\n assertEquals(0.0, double1, 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ccd9a7d1d37774efa013e9e0eba2469\",\n \"score\": \"0.57832503\",\n \"text\": \"private double performChiTest(){\\r\\n\\t\\tdouble[] expected = getExpected();\\r\\n\\t\\tlong[] pov = getPov();\\r\\n\\t\\tdouble chiTestResult = new ChiSquareTest().chiSquareTest(expected, pov);\\r\\n\\t\\treturn chiTestResult;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03fa8eecc763846ad4b52e440f4963fe\",\n \"score\": \"0.5781389\",\n \"text\": \"@Test(timeout = 4000)\\n public void test04() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n SparseInstance sparseInstance0 = new SparseInstance(120);\\n instances0.deleteWithMissingClass();\\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.correct();\\n assertEquals(0.0, double0, 0.01);\\n \\n double double1 = evaluation0.SFSchemeEntropy();\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(0.0, double1, 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a50f3866d136e80efcd053a4e17ed74b\",\n \"score\": \"0.5779414\",\n \"text\": \"@Test(timeout = 4000)\\n public void test016() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n CostMatrix costMatrix0 = new CostMatrix(0);\\n String[] stringArray0 = new String[4];\\n stringArray0[0] = \\\".cost\\\";\\n stringArray0[1] = \\\".bsi\\\";\\n stringArray0[2] = \\\"numBinsTipText\\\";\\n stringArray0[3] = \\\".cost\\\";\\n textDirectoryLoader0.setOptions(stringArray0);\\n byte[] byteArray0 = new byte[7];\\n byteArray0[0] = (byte)97;\\n byteArray0[1] = (byte)97;\\n byteArray0[2] = (byte)97;\\n byteArray0[3] = (byte)12;\\n byteArray0[4] = (byte)97;\\n byteArray0[5] = (byte)70;\\n byteArray0[6] = (byte)97;\\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\\n // Undeclared exception!\\n try { \\n evaluation0.makeDistribution(423.28734579);\\n fail(\\\"Expecting exception: ArrayIndexOutOfBoundsException\\\");\\n \\n } catch(ArrayIndexOutOfBoundsException e) {\\n //\\n // 423\\n //\\n verifyException(\\\"weka.classifiers.Evaluation\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e9010ac1a61ef7dfa7b269facd893e6\",\n \"score\": \"0.5758979\",\n \"text\": \"@Test(timeout = 4000)\\n public void test27() throws Throwable {\\n JRip jRip0 = new JRip();\\n Capabilities capabilities0 = jRip0.getCapabilities();\\n assertEquals(1L, jRip0.getSeed());\\n assertEquals(3, capabilities0.getMinimumNumberInstances());\\n assertFalse(jRip0.getDebug());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertEquals(2, jRip0.getOptimizations());\\n assertTrue(jRip0.getUsePruning());\\n assertTrue(jRip0.getCheckErrorRate());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbb082cd6e688fa891b9bd3921c5e047\",\n \"score\": \"0.5756892\",\n \"text\": \"@Test\\n public void trainAndTest() {\\n // train\\n this.learner.train(irisData);\\n // test\\n int[] results = learner.test(irisData);\\n double proportionCorrect = results[0] / irisData.size();\\n System.out.println(proportionCorrect);\\n Assert.assertTrue(proportionCorrect > 0.95);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"006dbeb783c5bb77acbf52bd9fba486d\",\n \"score\": \"0.5752428\",\n \"text\": \"@Test(timeout = 4000)\\n public void test35() throws Throwable {\\n JRip jRip0 = new JRip();\\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\\n boolean boolean0 = jRip_RipperRule0.covers((Instance) null);\\n assertTrue(jRip0.getCheckErrorRate());\\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\\n assertEquals(1L, jRip0.getSeed());\\n assertTrue(jRip0.getUsePruning());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertFalse(jRip0.getDebug());\\n assertEquals(3, jRip0.getFolds());\\n assertTrue(boolean0);\\n assertEquals(2, jRip0.getOptimizations());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"433bb5852f576c1e834d934f1c8d42be\",\n \"score\": \"0.57482404\",\n \"text\": \"public long getTestDataCoverage(String outDirectory) {\\n\\t\\t/**\\n\\t\\t * \\n\\t\\t * TODO\\n\\t\\t */\\n\\t\\tFile scenarioDirectory = new File(outDirectory + ConfigApp.SCENARII);\\n\\t\\tif (!scenarioDirectory.exists()) {\\n\\t\\t\\treturn 0;\\n\\t\\t}\\n\\t\\t@SuppressWarnings(\\\"unused\\\")\\n\\t\\tScenarioData scenario = readLastScenario(scenarioDirectory);\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ce84876270f932f5c128633afa04df8\",\n \"score\": \"0.5742118\",\n \"text\": \"Reference getCoverage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03ed04a1d5f861c488badc380ac121b3\",\n \"score\": \"0.5740877\",\n \"text\": \"@Test public void calculateScore1(){\\n p1.hitscount = 17;\\n p1.misscount = 30;\\n String score= \\\"340\\\";\\n\\n assertEquals(score,test.calcScore(30000,p1, false));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"491895f297e06ffe900f1d76167ed1ac\",\n \"score\": \"0.5735229\",\n \"text\": \"public void DHTGetPerformanceTest() {\\n long total = 0;\\n\\n int[] tests = { 5, 10, 15, 20, 25, 30 };\\n for(int t = 50; t < 100; t++) {\\n count = t;\\n total = GetProfilesTest();\\n long avg = total / profileRequests;\\n System.out.println(avg);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b4005398128cb8b78e057b21c69e281\",\n \"score\": \"0.57281333\",\n \"text\": \"@Test\\n abstract public void testCompactWithTwentySquareMeter();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"592087f54d598fe4fc54154fcfe508d6\",\n \"score\": \"0.572741\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tHitCounter counter = new HitCounter();\\n\\t\\tcounter.hit(1);\\n\\t\\tcounter.hit(2);\\n\\t\\tcounter.hit(3);\\n\\t\\tSystem.out.println(counter.getHits(4));\\n\\t\\tcounter.hit(300);\\n\\t\\tSystem.out.println(counter.getHits(300));\\n\\t\\tSystem.out.println(counter.getHits(301));\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69591b5d309759c7ac5b78133a3adcd5\",\n \"score\": \"0.5719286\",\n \"text\": \"@Test\\n\\tpublic void test5bestSeq() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f58a61367639bc3aa18f5239681f98f\",\n \"score\": \"0.57074434\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\r\\n\\t\\tnew Controller();\\r\\n\\t\\t\\r\\n/*\\t\\t\\r\\n\\t\\tint testInputCount = 900;\\r\\n\\t\\t\\r\\n\\t\\tdouble testNetSum = 600;\\r\\n\\t\\t\\r\\n\\t\\tdouble scaleFactor = 1/new Double(testInputCount); \\r\\n\\t\\t\\r\\n\\t\\tdouble result = Utils.logisticFunction(testNetSum*scaleFactor);\\r\\n\\t\\t\\r\\n\\t\\tSystem.out.println(result);\\r\\n*/\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a8f65b8bcdff88b4b6df64997076995\",\n \"score\": \"0.5705013\",\n \"text\": \"@Override\\n\\tvoid test() {\\n\\t\\tClassificationResult result;\\n\\t\\tList features;\\n\\t\\tint successes = 0;\\n\\t\\tint failures = 0;\\n\\t\\tfor (Entry>> cat : testData.entrySet()) { // loop through test data\\n\\t\\t\\tfor (List item : cat.getValue()) {\\n\\t\\t\\t\\tfeatures = extractor.extractFeatures(item);\\n\\t\\t\\t\\tresult = getClassifier().classify(features); \\n\\t\\t\\t\\tif (result.getCategory().equals(cat.getKey())) { // check if classification is correct\\t\\n\\t\\t\\t\\t\\tif (GlobalConfig.DEBUG)\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Succeeded for category \\\" + cat.getKey());\\n\\t\\t\\t\\t\\tregisterSuccess(cat.getKey());\\n\\t\\t\\t\\t\\tsuccesses++;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tif (GlobalConfig.DEBUG) {\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Failed for category: \\\" + cat.getKey());\\n\\t\\t\\t\\t\\t\\tprintWriter.println(\\\"Category \\\" + cat.getKey() + \\\" \\\" + Utilities.detokenize(item));\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tregisterFailure(cat.getKey());\\n\\t\\t\\t\\t\\tfailures++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tprintWriter.close();\\n\\t\\treport += (\\\"Successes: \\\" + successes + \\\" Failures: \\\" + failures);\\n\\t\\tdouble percentage = (double) successes / ((double) successes + failures);\\n\\t\\treport += (\\\" Percentage: \\\" + percentage * 100);\\t\\n\\t\\tsetSuccessRate(percentage);\\n\\t\\t// Print individual success rates\\n\\t\\tif (categories != null) {\\n\\t\\t\\tint failure;\\n\\t\\t\\tint success;\\n\\t\\t\\tdouble rate;\\n\\t\\t\\tfor (String category : getCategories()) {\\n\\t\\t\\t\\tif (failureForCategory.get(category) != null) {\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tfailure = failureForCategory.get(category);\\n\\t\\t\\t\\t\\t\\tsuccess = successesForCategory.get(category);\\n\\t\\t\\t\\t\\t\\trate = (double) success / ((double) success + failure);\\n\\t\\t\\t\\t\\t\\treport += \\\"\\\\n\\\";\\n\\t\\t\\t\\t\\t\\treport += \\\"Success rate for \\\" + category + \\\": \\\" + rate + \\\"\\\\n\\\";\\n\\t\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\t\\treport += \\\"\\\\n Error printing result for category \\\" + category;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\t/*\\n\\t\\t * Unload data\\n\\t\\t */\\n\\t\\ttestData = trainingData = null;\\n\\t\\textractor = null;\\n\\t\\tdictionary = null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1162289c1b1d1522ca365b6913602248\",\n \"score\": \"0.57048535\",\n \"text\": \"@Test\\n\\tpublic void testGetCoverageZero() {\\n\\t\\t// Setup\\n\\t\\tList lines = new ArrayList();\\n\\t\\tlines.add(new Line(\\\"3\\\", \\\"3\\\", \\\"dog.java\\\"));\\n\\t\\tlines.add(new Line(\\\"2\\\", \\\"55\\\", \\\"dog.java\\\"));\\n\\t\\tChange change = new Change(null, null, null, null, lines);\\n\\n\\t\\tList types = new ArrayList();\\n\\t\\ttypes.add(\\\"java\\\");\\n\\t\\t\\n\\t\\t// Exercise\\n\\t\\tdouble diff = change.getCoverage(types);\\n\\t\\t\\n\\t\\t// Verify\\n\\t\\tassertEquals(0, diff, 0.1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"449c59c01c664e4fd59bf0ac56e5448b\",\n \"score\": \"0.5703529\",\n \"text\": \"@Test\\n public void codeCoverage() {\\n Assert.assertEquals(\\\"123\\\", node.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2dfc45070722d3e6179b84bfbb28281\",\n \"score\": \"0.570271\",\n \"text\": \"@Test(timeout = 4000)\\n public void test05() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n LinkedList linkedList0 = new LinkedList();\\n SGD sGD0 = new SGD();\\n FileSystemHandling.shouldAllThrowIOExceptions();\\n instances0.removeAll(linkedList0);\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double[] doubleArray0 = new double[1];\\n textDirectoryLoader0.getDataSet();\\n doubleArray0[0] = (double) 0;\\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\\n databaseLoader0.getNextInstance(instances0);\\n Evaluation evaluation1 = new Evaluation(instances0);\\n String string0 = evaluation0.toClassDetailsString(\\\":\\\\n\\\\n\\\");\\n assertEquals(\\\":\\\\n\\\\n\\\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\\\n\\\", string0);\\n \\n double double0 = evaluation1.avgCost();\\n assertEquals(Double.NaN, double0, 0.01);\\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31e13c60656034e753cb3db66754f8ea\",\n \"score\": \"0.57017815\",\n \"text\": \"@Test\\n abstract public void testIdealWithFifteenSquareMeter();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dc64acab6c4a5c94d5389928a4e65dc\",\n \"score\": \"0.5691225\",\n \"text\": \"@Test(timeout = 4000)\\n public void test45() throws Throwable {\\n JRip jRip0 = new JRip();\\n Attribute attribute0 = new Attribute(\\\"5.\\\", (-1514));\\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\\n SparseInstance sparseInstance0 = new SparseInstance(0);\\n boolean boolean0 = jRip_NominalAntd0.covers(sparseInstance0);\\n assertEquals(1L, jRip0.getSeed());\\n assertTrue(jRip0.getCheckErrorRate());\\n assertTrue(jRip0.getUsePruning());\\n assertEquals(2, jRip0.getOptimizations());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\\n assertEquals(3, jRip0.getFolds());\\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\\n assertTrue(boolean0);\\n assertFalse(jRip0.getDebug());\\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8635af511911150f5178cf33e161231\",\n \"score\": \"0.5687611\",\n \"text\": \"@Test\\n public void rateMeasuredInTest() {\\n // TODO: test rateMeasuredIn\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea1f91bf59491d0215757d6ab7f238ff\",\n \"score\": \"0.5681729\",\n \"text\": \"@Test\\n void test5() {\\n int r = o.countGoodNumbers(50);\\n assertEquals(564908303, r);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e56ef0b5a3eea1c6c26b6b977f7e60b\",\n \"score\": \"0.5679079\",\n \"text\": \"@Test\\n public void testGetSelfRegulatedLearningHourCount() {\\n System.out.println(\\\"getSelfRegulatedLearningHourCount\\\");\\n float expResult = createdModule.getSelfRegulatedLearningHourCount();\\n float result = importedModule.getSelfRegulatedLearningHourCount();\\n assertEquals(expResult, result, 0.0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17016ee4daeb09fb8c6cd5bdcd26141a\",\n \"score\": \"0.5675644\",\n \"text\": \"@Test\\n public void bandwidthUsedTest() {\\n // TODO: test bandwidthUsed\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e6dcfacd1a9a7eddc0aad1bf9568ecf\",\n \"score\": \"0.56692606\",\n \"text\": \"@Test(timeout = 4000)\\n public void test100() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n assertEquals(\\\"Directories\\\", textDirectoryLoader0.getFileDescription());\\n assertEquals(\\\"\\\", textDirectoryLoader0.getCharSet());\\n assertEquals(\\\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\\\", textDirectoryLoader0.charSetTipText());\\n assertEquals(\\\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\\\", textDirectoryLoader0.globalInfo());\\n assertEquals(\\\"Whether to print additional debug information to the console.\\\", textDirectoryLoader0.debugTipText());\\n assertEquals(\\\"Whether to store the filename in an additional attribute.\\\", textDirectoryLoader0.outputFilenameTipText());\\n assertFalse(textDirectoryLoader0.getOutputFilename());\\n assertFalse(textDirectoryLoader0.getDebug());\\n assertNotNull(textDirectoryLoader0);\\n \\n SMOreg sMOreg0 = new SMOreg();\\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\\n assertEquals(2, SMOreg.FILTER_NONE);\\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\\n assertEquals(\\\"Determines how/if the data will be transformed.\\\", sMOreg0.filterTypeTipText());\\n assertFalse(sMOreg0.getDebug());\\n assertEquals(\\\"The kernel to use.\\\", sMOreg0.kernelTipText());\\n assertEquals(\\\"The complexity parameter C.\\\", sMOreg0.cTipText());\\n assertEquals(\\\"The learning algorithm.\\\", sMOreg0.regOptimizerTipText());\\n assertEquals(1.0, sMOreg0.getC(), 0.01);\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", sMOreg0.debugTipText());\\n assertNotNull(sMOreg0);\\n \\n Capabilities capabilities0 = sMOreg0.getCapabilities();\\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\\n assertEquals(2, SMOreg.FILTER_NONE);\\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\\n assertEquals(\\\"Determines how/if the data will be transformed.\\\", sMOreg0.filterTypeTipText());\\n assertFalse(sMOreg0.getDebug());\\n assertEquals(\\\"The kernel to use.\\\", sMOreg0.kernelTipText());\\n assertEquals(\\\"The complexity parameter C.\\\", sMOreg0.cTipText());\\n assertEquals(\\\"The learning algorithm.\\\", sMOreg0.regOptimizerTipText());\\n assertEquals(1.0, sMOreg0.getC(), 0.01);\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", sMOreg0.debugTipText());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, capabilities0.getMinimumNumberInstances());\\n assertNotNull(capabilities0);\\n \\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\\n assertEquals(2, SMOreg.FILTER_NONE);\\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals(\\\"Determines how/if the data will be transformed.\\\", sMOreg0.filterTypeTipText());\\n assertFalse(sMOreg0.getDebug());\\n assertEquals(\\\"The kernel to use.\\\", sMOreg0.kernelTipText());\\n assertEquals(\\\"The complexity parameter C.\\\", sMOreg0.cTipText());\\n assertEquals(\\\"The learning algorithm.\\\", sMOreg0.regOptimizerTipText());\\n assertEquals(1.0, sMOreg0.getC(), 0.01);\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", sMOreg0.debugTipText());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, capabilities0.getMinimumNumberInstances());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(3, testInstances0.getNumAttributes());\\n assertNotNull(testInstances0);\\n \\n Instances instances0 = testInstances0.generate(\\\"weka/core/Capabilities.props\\\");\\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\\n assertEquals(2, SMOreg.FILTER_NONE);\\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals(\\\"Determines how/if the data will be transformed.\\\", sMOreg0.filterTypeTipText());\\n assertFalse(sMOreg0.getDebug());\\n assertEquals(\\\"The kernel to use.\\\", sMOreg0.kernelTipText());\\n assertEquals(\\\"The complexity parameter C.\\\", sMOreg0.cTipText());\\n assertEquals(\\\"The learning algorithm.\\\", sMOreg0.regOptimizerTipText());\\n assertEquals(1.0, sMOreg0.getC(), 0.01);\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", sMOreg0.debugTipText());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, capabilities0.getMinimumNumberInstances());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(3, testInstances0.getNumAttributes());\\n assertEquals(3, instances0.numAttributes());\\n assertEquals(2, instances0.classIndex());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(1, instances0.numClasses());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n assertNotNull(instances0);\\n \\n Evaluation evaluation0 = new Evaluation(instances0);\\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\\n assertEquals(2, SMOreg.FILTER_NONE);\\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals(\\\"Determines how/if the data will be transformed.\\\", sMOreg0.filterTypeTipText());\\n assertFalse(sMOreg0.getDebug());\\n assertEquals(\\\"The kernel to use.\\\", sMOreg0.kernelTipText());\\n assertEquals(\\\"The complexity parameter C.\\\", sMOreg0.cTipText());\\n assertEquals(\\\"The learning algorithm.\\\", sMOreg0.regOptimizerTipText());\\n assertEquals(1.0, sMOreg0.getC(), 0.01);\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", sMOreg0.debugTipText());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, capabilities0.getMinimumNumberInstances());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(3, testInstances0.getNumAttributes());\\n assertEquals(3, instances0.numAttributes());\\n assertEquals(2, instances0.classIndex());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(1, instances0.numClasses());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertNotNull(evaluation0);\\n \\n String string0 = instances0.getRevision();\\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\\n assertEquals(2, SMOreg.FILTER_NONE);\\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals(\\\"9186\\\", string0);\\n assertEquals(\\\"Determines how/if the data will be transformed.\\\", sMOreg0.filterTypeTipText());\\n assertFalse(sMOreg0.getDebug());\\n assertEquals(\\\"The kernel to use.\\\", sMOreg0.kernelTipText());\\n assertEquals(\\\"The complexity parameter C.\\\", sMOreg0.cTipText());\\n assertEquals(\\\"The learning algorithm.\\\", sMOreg0.regOptimizerTipText());\\n assertEquals(1.0, sMOreg0.getC(), 0.01);\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", sMOreg0.debugTipText());\\n assertTrue(capabilities0.hasDependencies());\\n assertEquals(1, capabilities0.getMinimumNumberInstances());\\n assertEquals(0, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(1, testInstances0.getNumNumeric());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(1, testInstances0.getNumRelationalNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(3, testInstances0.getNumAttributes());\\n assertEquals(3, instances0.numAttributes());\\n assertEquals(2, instances0.classIndex());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(1, instances0.numClasses());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n assertNotNull(string0);\\n \\n Object object0 = new Object();\\n assertNotNull(object0);\\n \\n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\\n assertEquals(\\\"The serialized classifier model to use for predictions.\\\", serializedClassifier0.modelFileTipText());\\n assertEquals(\\\"A wrapper around a serialized classifier model. This classifier loads a serialized models and uses it to make predictions.\\\\n\\\\nWarning: since the serialized model doesn't get changed, cross-validation cannot bet used with this classifier.\\\", serializedClassifier0.globalInfo());\\n assertEquals(\\\"If set to true, classifier may output additional info to the console.\\\", serializedClassifier0.debugTipText());\\n assertFalse(serializedClassifier0.getDebug());\\n assertNotNull(serializedClassifier0);\\n \\n MockRandom mockRandom0 = new MockRandom();\\n assertNotNull(mockRandom0);\\n \\n try { \\n evaluation0.crossValidateModel((Classifier) sMOreg0, instances0, 2, (Random) mockRandom0, (Object[]) testInstances0.DEFAULT_WORDS);\\n fail(\\\"Expecting exception: ClassCastException\\\");\\n \\n } catch(ClassCastException e) {\\n //\\n // java.lang.String cannot be cast to weka.classifiers.evaluation.output.prediction.AbstractOutput\\n //\\n verifyException(\\\"weka.classifiers.Evaluation\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"085e8650cd2e6a5dc0891a9809558102\",\n \"score\": \"0.5664636\",\n \"text\": \"@Test\\r\\n\\tpublic void test() {\\r\\n\\t\\tLesson10_CountFactors l = new Lesson10_CountFactors();\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tassertEquals(l.solution(24),8);\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aec16615fb5a7e10d588b02bd85ffef5\",\n \"score\": \"0.56583494\",\n \"text\": \"int getTestExecutionsCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06024bd3b31c933de8eb76d9487a3cc7\",\n \"score\": \"0.5655141\",\n \"text\": \"@Test(timeout = 4000)\\n public void test61() throws Throwable {\\n Attribute attribute0 = new Attribute(\\\"\\\", \\\"\\\");\\n attribute0.copy((String) null);\\n byte[] byteArray0 = new byte[9];\\n byteArray0[0] = (byte)93;\\n byteArray0[1] = (byte)6;\\n byteArray0[2] = (byte)59;\\n byteArray0[3] = (byte) (-37);\\n byteArray0[4] = (byte)16;\\n byteArray0[5] = (byte)97;\\n byteArray0[6] = (byte) (-54);\\n byteArray0[7] = (byte) (-4);\\n byteArray0[8] = (byte) (-47);\\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\\n attribute0.copy(\\\"@end\\\");\\n ArrayList arrayList0 = new ArrayList();\\n Instances instances0 = new Instances(\\\"integer\\\", arrayList0, 2);\\n Instances instances1 = new Instances(instances0, 0, 0);\\n Instances instances2 = new Instances(instances1);\\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \\\".bsi\\\");\\n JRip jRip0 = new JRip();\\n jRip0.setUsePruning(false);\\n try { \\n jRip0.rulesetForOneClass(0, instances0, 2, 1);\\n fail(\\\"Expecting exception: RuntimeException\\\");\\n \\n } catch(RuntimeException e) {\\n //\\n // Class index is negative (not set)!\\n //\\n verifyException(\\\"weka.core.Instances\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dc9062cea3836763d442bc08eaa8e83\",\n \"score\": \"0.5651052\",\n \"text\": \"public int countByTestUnitNumber(long number);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74a1ec398c11b8c9b8666539e6c0447a\",\n \"score\": \"0.56498945\",\n \"text\": \"@Test(timeout = 4000)\\n public void test18() throws Throwable {\\n JRip jRip0 = new JRip();\\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\\n String string0 = jRip_NumericAntd0.getRevision();\\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\\n assertFalse(jRip0.getDebug());\\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\\n assertEquals(2, jRip0.getOptimizations());\\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\\n assertEquals(\\\"8118\\\", string0);\\n assertEquals(1L, jRip0.getSeed());\\n assertTrue(jRip0.getUsePruning());\\n assertTrue(jRip0.getCheckErrorRate());\\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\\n assertEquals(3, jRip0.getFolds());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b5fc87d98c006736c0d89f99a9df6cf\",\n \"score\": \"0.5647929\",\n \"text\": \"@Test(timeout = 4000)\\n public void test069() throws Throwable {\\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\\n resultMatrixHTML0.listOptions();\\n resultMatrixCSV0.assign(resultMatrixHTML0);\\n resultMatrixCSV0.doubleToString(0, 0);\\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixCSV0);\\n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(46, 12);\\n resultMatrixSignificance2.getVisibleColCount();\\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 0);\\n resultMatrixLatex0.toStringKey();\\n resultMatrixLatex0.setRowName(2, \\\"v\\\");\\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(123, 1076);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"badc7c9e9d9e3fa5dca576d6790c043b\",\n \"score\": \"0.5647136\",\n \"text\": \"@Test(timeout = 4000)\\n public void test49() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertNotNull(testInstances0);\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n \\n Instances instances0 = testInstances0.generate(\\\"Using kernel matrix from file with name: \\\");\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertNotNull(instances0);\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.classIndex());\\n \\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\\\"/home/ubuntu/wekafiles\\\");\\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \\\"+HgP:6|49H\\\");\\n assertTrue(boolean0);\\n \\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\\n assertNotNull(databaseLoader0);\\n assertEquals(\\\"Select * from Results0\\\", databaseLoader0.getQuery());\\n assertFalse(databaseLoader0.getSparseData());\\n assertEquals(\\\"The custom properties that the user can use to override the default ones.\\\", databaseLoader0.customPropsFileTipText());\\n assertEquals(\\\"The query that should load the instances.\\\\n The query has to be of the form SELECT |* FROM
[WHERE ]\\\", databaseLoader0.queryTipText());\\n assertEquals(\\\"The URL of the database\\\", databaseLoader0.urlTipText());\\n assertEquals(\\\"\\\", databaseLoader0.getPassword());\\n assertEquals(\\\"For incremental loading a unique identiefer has to be specified.\\\\nIf the query includes all columns of a table (SELECT *...) a primary key\\\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\\\nspecify the key columns here in a comma separated list.\\\", databaseLoader0.keysTipText());\\n assertEquals(\\\"jdbc:idb=experiments.prp\\\", databaseLoader0.getUrl());\\n assertEquals(\\\"Encode data as sparse instances.\\\", databaseLoader0.sparseDataTipText());\\n assertEquals(\\\"The user name for the database\\\", databaseLoader0.userTipText());\\n assertEquals(\\\"The database password\\\", databaseLoader0.passwordTipText());\\n assertEquals(\\\"\\\", databaseLoader0.getUser());\\n \\n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\\\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\\\");\\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\\n assertFalse(boolean1 == boolean0);\\n assertFalse(boolean1);\\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\\n \\n Evaluation evaluation0 = new Evaluation(instances0);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertNotNull(evaluation0);\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n \\n evaluation0.m_NoPriors = true;\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n \\n double double0 = evaluation0.weightedMatthewsCorrelation();\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals(Double.NaN, double0, 0.01);\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n \\n double double1 = evaluation0.relativeAbsoluteError();\\n assertEquals(double1, double0, 0.01);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals(Double.NaN, double1, 0.01);\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(20, testInstances0.getNumInstances());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertFalse(testInstances0.getNoClass());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertEquals(20, instances0.size());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93dbdea5907550894336d0c737aae7da\",\n \"score\": \"0.56432337\",\n \"text\": \"@Override\\r\\n\\tpublic int getTotalCases() {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daf2f93fcf30bfc75a829efb7413b259\",\n \"score\": \"0.56386167\",\n \"text\": \"@Test(timeout = 4000)\\n public void test41() throws Throwable {\\n JRip jRip0 = new JRip();\\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \\\"\\\");\\n JRip jRip1 = new JRip();\\n LinkedList linkedList0 = new LinkedList();\\n Attribute attribute0 = new Attribute(\\\"weka.classifiers.rules.JRip$RipperRule\\\", linkedList0, 71);\\n Attribute attribute1 = attribute0.copy(\\\"weka.classifiers.rules.JRip$RipperRule\\\");\\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\\n JRip.NominalAntd jRip_NominalAntd1 = jRip0.new NominalAntd(attribute1);\\n jRip_NominalAntd0.getAccuRate();\\n double[] doubleArray0 = new double[2];\\n doubleArray0[0] = 20.0;\\n doubleArray0[1] = 2325.50591;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c12e63e41a33a7041f575d50b71b6d98\",\n \"score\": \"0.5638004\",\n \"text\": \"@Test\\r\\npublic void test1()\\r\\n{\\n\\tReporter.log(\\\"qspiders\\\");\\r\\n\\tReporter.log(\\\"jspiders\\\",true);\\r\\n\\tReporter.log(\\\"tspiders\\\",false);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa00c0d155d7c9a7180f5df713434a4c\",\n \"score\": \"0.56342375\",\n \"text\": \"@Test(timeout = 4000)\\n public void test05() throws Throwable {\\n double[] doubleArray0 = new double[3];\\n doubleArray0[0] = 1732.955775904258;\\n doubleArray0[1] = 1732.955775904258;\\n doubleArray0[2] = 1732.955775904258;\\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1732.955775904258, doubleArray0);\\n JRip jRip0 = new JRip();\\n Attribute attribute0 = new Attribute((String) null, (String) null);\\n binarySparseInstance0.setMissing(attribute0);\\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\\n jRip_NumericAntd0.value = 1.0;\\n jRip_NumericAntd0.accuRate = (double) 2;\\n jRip_NumericAntd0.covers(binarySparseInstance0);\\n System.setCurrentTimeMillis(1);\\n Random.setNextRandom(2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c091f9a154640d44eeea3a78039fb679\",\n \"score\": \"0.562649\",\n \"text\": \"@Test\\n void test3() {\\n int r = o.countGoodNumbers(3);\\n assertEquals(100, r);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62c5f19437b138808d3152888d3e8b17\",\n \"score\": \"0.5625364\",\n \"text\": \"@Test\\n public void testCalculCirculationGlobal() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31673d069ae8db06cb0fa634a22efcc1\",\n \"score\": \"0.56237465\",\n \"text\": \"@Test\\n public void affinityTest() {\\n // TODO: test affinity\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b99e3b6a6d755974dce8cae6e42773d\",\n \"score\": \"0.56209886\",\n \"text\": \"@Test\\n public void testGetFollowersCount() {\\n System.out.println(\\\"getFollowersCount\\\");\\n EncodeChromosome instance = new EncodeChromosome();\\n instance.setFollowersCount(150);\\n int expResult = 2;\\n int result = instance.getFollowersCount();\\n assertEquals(expResult, result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"562ddf750d72ab5170622e5cb85180ba\",\n \"score\": \"0.56188715\",\n \"text\": \"public void doTest(){\\r\\n\\r\\n\\t\\tint draws;\\r\\n\\t\\tint effectiveSamples;\\r\\n\\t\\t\\r\\n\\t\\tif(!dataReady){\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\"Data is not ready\\\");\\r\\n\\t\\t\\treturn;\\t\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t//compute K statistics\\r\\n\\t\\t\\t\\t\\r\\n\\t\\tK=0;\\r\\n\\t\\tK2=0;\\r\\n\\t\\tdraws=0;\\r\\n\\t\\t\\r\\n\\t\\tfor(int i=0;i0){\\r\\n\\t\\t\\t\\tK++;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tif(sequence.get(i)<0){\\r\\n\\t\\t\\t\\tK2++;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tif(sequence.get(i)==0){\\r\\n\\t\\t\\t\\tdraws++;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t//compute p-values\\r\\n\\t\\t\\r\\n\\t\\teffectiveSamples=sequence.size()-draws;\\r\\n\\t\\tbinomial.setN(effectiveSamples);\\r\\n\\t\\t\\r\\n\\t\\texactLeftTail=binomial.computeCumulativeProbability(effectiveSamples-K2);\\r\\n\\t\\texactRightTail=binomial.computeCumulativeProbability(effectiveSamples-K);\\r\\n\\t\\texactDoubleTail=Math.min(Math.min(exactLeftTail,exactRightTail)*2.0,1.0);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t//asymptotic p-values\\r\\n\\t\\tdouble numerator, denominator;\\r\\n\\t\\t\\r\\n\\t\\tdenominator=0.5*Math.sqrt(effectiveSamples);\\r\\n\\t\\t\\r\\n\\t\\tnumerator=((double)K-(0.5*effectiveSamples)+0.5);\\r\\n\\r\\n\\t\\tasymptoticLeftTail=normal.getTipifiedProbability(numerator/denominator, false);\\r\\n\\r\\n\\t\\tnumerator=((double)K-(0.5*effectiveSamples)-0.5);\\r\\n\\t\\tasymptoticRightTail=1.0-normal.getTipifiedProbability(numerator/denominator, false);\\r\\n\\t\\t\\r\\n\\t\\tasymptoticDoubleTail=Math.min(Math.min(asymptoticLeftTail,asymptoticRightTail)*2.0,1.0);\\r\\n\\t\\t\\r\\n\\t\\tperformed=true;\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f96a0aaab37d7488bc445516b8d55c55\",\n \"score\": \"0.56162006\",\n \"text\": \"@Test\\n public void test21() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double[][] doubleArray0 = evaluation0.confusionMatrix();\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1980a097b8ee60cb94fb0fb44d6dd41c\",\n \"score\": \"0.5613143\",\n \"text\": \"@Test\\n public void test26() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getDataSet();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n String string0 = evaluation0.toMatrixString();\\n assertEquals(\\\"=== Confusion Matrix ===\\\\n\\\\n <-- classified as\\\\n\\\", string0);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f05d20bbcc0261c170c2ffa44521c16f\",\n \"score\": \"0.5611014\",\n \"text\": \"@Test\\n public void test14() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n Instances instances0 = textDirectoryLoader0.getStructure();\\n Evaluation evaluation0 = new Evaluation(instances0);\\n double double0 = evaluation0.KBRelativeInformation();\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c46c59123bc851d8874cac39c9f41b4f\",\n \"score\": \"0.56094927\",\n \"text\": \"@Test\\n public void testGetFinal_weight_res() {\\n Assert.assertEquals(18.02, value);\\n// Assert.assertEquals(66, value1);\\n// Assert.assertEquals(207, value2);\\n// Assert.assertEquals(18, value3);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c02f6b09a9799aa3010856ee1aba676a\",\n \"score\": \"0.56008893\",\n \"text\": \"@Test(timeout = 4000)\\n public void test021() throws Throwable {\\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\\n SMOreg sMOreg0 = new SMOreg();\\n Capabilities capabilities0 = sMOreg0.getCapabilities();\\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\\n Instances instances0 = testInstances0.generate(\\\"weka/core/Capabilities.props\\\");\\n Evaluation evaluation0 = new Evaluation(instances0);\\n instances0.getRevision();\\n Object object0 = new Object();\\n try { \\n evaluation0.toClassDetailsString();\\n fail(\\\"Expecting exception: Exception\\\");\\n \\n } catch(Exception e) {\\n //\\n // Evaluation: No per class statistics possible!\\n //\\n verifyException(\\\"weka.classifiers.Evaluation\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9446f64c341ab2cbca25c00f34df7e75\",\n \"score\": \"0.5576509\",\n \"text\": \"public static void main(String args[]) {\\n double death_distribution = 6.00d / 100;\\n double life_distribuion = 1d - death_distribution;\\n\\n DistributedRandomNumberGenerator drng = new DistributedRandomNumberGenerator();\\n // 1 is dead\\n // 0 is live\\n drng.addNumber(1, death_distribution);\\n drng.addNumber(0, life_distribuion);\\n\\n int testCount = 100000;\\n\\n HashMap test = new HashMap<>();\\n\\n for (int i = 0; i < testCount; i++) {\\n int random = drng.getDistributedRandomNumber();\\n test.put(random, (test.get(random) == null) ? (1d / testCount) : test.get(random) + 1d / testCount);\\n }\\n\\n System.out.println(test.toString());\\n\\n System.out.println(\\\"Did person die? \\\" + ((drng.getDistributedRandomNumber() == 0) ? \\\"No\\\" : \\\"Yes\\\"));\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"293f8d9a55f52edacf64c35f2477df57\",\n \"score\": \"0.5573502\",\n \"text\": \"@Test(timeout = 4000)\\n public void test43() throws Throwable {\\n TestInstances testInstances0 = new TestInstances();\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertNotNull(testInstances0);\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n \\n Instances instances0 = testInstances0.generate(\\\"Using kernel matrix from file with name: \\\");\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertNotNull(instances0);\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n \\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\\\"/home/ubuntu/wekafiles\\\");\\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \\\"+HgP:6|49H\\\");\\n assertTrue(boolean0);\\n \\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\\n assertNotNull(databaseLoader0);\\n assertEquals(\\\"jdbc:idb=experiments.prp\\\", databaseLoader0.getUrl());\\n assertEquals(\\\"Encode data as sparse instances.\\\", databaseLoader0.sparseDataTipText());\\n assertEquals(\\\"The user name for the database\\\", databaseLoader0.userTipText());\\n assertEquals(\\\"The database password\\\", databaseLoader0.passwordTipText());\\n assertEquals(\\\"The custom properties that the user can use to override the default ones.\\\", databaseLoader0.customPropsFileTipText());\\n assertEquals(\\\"Select * from Results0\\\", databaseLoader0.getQuery());\\n assertEquals(\\\"\\\", databaseLoader0.getPassword());\\n assertEquals(\\\"The query that should load the instances.\\\\n The query has to be of the form SELECT |* FROM
[WHERE ]\\\", databaseLoader0.queryTipText());\\n assertEquals(\\\"For incremental loading a unique identiefer has to be specified.\\\\nIf the query includes all columns of a table (SELECT *...) a primary key\\\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\\\nspecify the key columns here in a comma separated list.\\\", databaseLoader0.keysTipText());\\n assertFalse(databaseLoader0.getSparseData());\\n assertEquals(\\\"\\\", databaseLoader0.getUser());\\n assertEquals(\\\"The URL of the database\\\", databaseLoader0.urlTipText());\\n \\n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\\\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\\\");\\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\\n assertFalse(boolean1 == boolean0);\\n assertFalse(boolean1);\\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\\n \\n Evaluation evaluation0 = new Evaluation(instances0);\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertNotNull(evaluation0);\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n \\n double double0 = evaluation0.rootRelativeSquaredError();\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals(Double.NaN, double0, 0.01);\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n \\n evaluation0.addNumericTrainClass((-3405.506471419351), (-1));\\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\\n assertEquals((-2), TestInstances.NO_CLASS);\\n assertEquals(20, testInstances0.getNumInstances());\\n assertFalse(testInstances0.getNoClass());\\n assertFalse(testInstances0.getMultiInstance());\\n assertEquals(2, testInstances0.getNumClasses());\\n assertEquals(0, testInstances0.getNumRelationalString());\\n assertEquals(0, testInstances0.getNumRelationalNumeric());\\n assertEquals(0, testInstances0.getNumString());\\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\\n assertEquals(0, testInstances0.getNumNumeric());\\n assertEquals(1, testInstances0.getNumRelationalNominal());\\n assertEquals(1, testInstances0.getClassType());\\n assertEquals((-1), testInstances0.getClassIndex());\\n assertEquals(1, testInstances0.getSeed());\\n assertEquals(0, testInstances0.getNumDate());\\n assertEquals(2, testInstances0.getNumAttributes());\\n assertEquals(2, testInstances0.getNumNominalValues());\\n assertEquals(\\\" \\\", testInstances0.getWordSeparators());\\n assertEquals(\\\"Testdata\\\", testInstances0.getRelation());\\n assertEquals(0, testInstances0.getNumRelational());\\n assertEquals(1, testInstances0.getNumNominal());\\n assertEquals(10, testInstances0.getNumInstancesRelational());\\n assertEquals(0, testInstances0.getNumRelationalDate());\\n assertEquals(20, instances0.numInstances());\\n assertEquals(\\\"Testdata\\\", instances0.relationName());\\n assertEquals(2, instances0.numClasses());\\n assertEquals(1, instances0.classIndex());\\n assertEquals(2, instances0.numAttributes());\\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\\n assertFalse(instances0.checkForStringAttributes());\\n assertEquals(20, instances0.size());\\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\\n assertFalse(evaluation0.getDiscardPredictions());\\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\\n assertEquals(0.0, evaluation0.correct(), 0.01);\\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\\n assertEquals(1.0, evaluation0.kappa(), 0.01);\\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\\n \\n try { \\n evaluation0.correlationCoefficient();\\n fail(\\\"Expecting exception: Exception\\\");\\n \\n } catch(Exception e) {\\n //\\n // Can't compute correlation coefficient: class is nominal!\\n //\\n verifyException(\\\"weka.classifiers.Evaluation\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6d1b54cd64031ab613eb9130995cc9d\",\n \"score\": \"0.5573474\",\n \"text\": \"@Test(timeout = 4000)\\n public void test29() throws Throwable {\\n JRip jRip0 = new JRip();\\n jRip0.setFolds(3322);\\n Random.setNextRandom(1733);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d523fa0587ed0fe4772747b427902029\",\n \"score\": \"0.55699784\",\n \"text\": \"@Test\\n public void codeCoverage() {\\n Node node = Node.of(id, cost);\\n assertEquals(\\\"123\\\", node.getID());\\n assertEquals(Cost.ZERO, node.getNodeCost());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d490d0235c7b4b9a663378a469ec1ced\",\n \"score\": \"0.5567871\",\n \"text\": \"@Override\\n\\tpublic void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":897,"cells":{"query_id":{"kind":"string","value":"321fc5dc242af2c8b896a7c4f12d73de"},"query":{"kind":"string","value":"Delete the account identified by accountId"},"positive_passages":{"kind":"list like","value":[{"docid":"5b9376c8a175608ab07837cc8e040575","score":"0.8279193","text":"public void delete(String accountId) {\n Session session = this.currentSession();\n session.delete(get(accountId));\n session.getTransaction().commit();\n }","title":""}],"string":"[\n {\n \"docid\": \"5b9376c8a175608ab07837cc8e040575\",\n \"score\": \"0.8279193\",\n \"text\": \"public void delete(String accountId) {\\n Session session = this.currentSession();\\n session.delete(get(accountId));\\n session.getTransaction().commit();\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"c819b7f7495f08da11d334f6dd8c6a12","score":"0.77448964","text":"public void deleteAccountSync(long accountId, Context context) {\n try {\n mLegacyControllerMap.remove(accountId);\n // Get the account URI.\n final Account account = Account.restoreAccountWithId(context, accountId);\n if (account == null) {\n return; // Already deleted?\n }\n\n // Delete account data, attachments, PIM data, etc.\n deleteSyncedDataSync(accountId);\n\n // Now delete the account itself\n Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);\n context.getContentResolver().delete(uri, null, null);\n\n // For unit tests, don't run backup, security, and ui pieces.\n if (mInUnitTests) {\n return;\n }\n\n // Clean up\n AccountBackupRestore.backup(context);\n SecurityPolicy.getInstance(context).reducePolicies();\n Email.setServicesEnabledSync(context);\n Email.setNotifyUiAccountsChanged(true);\n MailService.actionReschedule(context);\n } catch (Exception e) {\n Log.w(Logging.LOG_TAG, \"Exception while deleting account\", e);\n }\n }","title":""},{"docid":"8ff489c50fa8e23614d55bc2a88b21e6","score":"0.761551","text":"public void removeAccount(String accountId) \r\n throws RemoteException, AccountNotFoundException, \r\n InvalidParameterException;","title":""},{"docid":"1d9cff4bf7e287c34925cf899ae36a77","score":"0.73617643","text":"public void deleteAccount(long acc_id) {\n\t\taccountRepository.deleteById(acc_id);\r\n\t}","title":""},{"docid":"486876a3fe1eede2e09808e86cd4825d","score":"0.73199654","text":"@Override\r\n\tpublic void delete(Account account) {\n\t\taccRep.delete(account);\r\n\t}","title":""},{"docid":"c59d0d5c821791cc072f8449357a8228","score":"0.7062954","text":"protected abstract void deleteAccount(Account ac);","title":""},{"docid":"13289738f53e25c6a523c65183aff019","score":"0.6935854","text":"private void deleteAccount() {\n CategoryNode node =\n (CategoryNode) navigationTree\n .getSelectionPath()\n .getLastPathComponent();\n Account account = (Account) node.getUserObject();\n session.getCategories().removeNodeFromParent(account.getCategoryNode());\n session.getAccounts().removeElement(account);\n navigator.removeNodeFromParent(node);\n session.modified();\n }","title":""},{"docid":"0023d6a5a8d066487eca029dca4ac97c","score":"0.69339424","text":"public boolean deletedAccount(int accountId) {\n\n\t\tboolean deleted = false;\n\n\t\ttry {\n\t\t\tdeleted = accountMapper.deleteAccount(accountId);\n\n\t\t} catch (Exception e) {\n\t\t\t\n\t\t\te.printStackTrace(ExceptionWriter.getStream());\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn deleted;\n\t}","title":""},{"docid":"285a996c82e0675c60a53229a2134439","score":"0.69331694","text":"@Override\n\tpublic void deleteAccountById(Long accountNumber) {\n\t\taccountRepository.deleteById(accountNumber);\t}","title":""},{"docid":"a9301e09e0f5292d83bb421f3b9c0d18","score":"0.6928822","text":"@Transactional\n public void removeAccount(AccountDTO account) {\n this.dao.delete(account);\n }","title":""},{"docid":"b339be0e14bbbc1b9f852db01ddcce3e","score":"0.6900874","text":"public void deleteAccount(\n com.google.analytics.admin.v1beta.DeleteAccountRequest request,\n io.grpc.stub.StreamObserver responseObserver) {\n io.grpc.stub.ClientCalls.asyncUnaryCall(\n getChannel().newCall(getDeleteAccountMethod(), getCallOptions()),\n request,\n responseObserver);\n }","title":""},{"docid":"4c8523fc75d657fa1866209791cbb7ec","score":"0.67758745","text":"public abstract AccountListPage deleteAnAccount();","title":""},{"docid":"9d621791656e66eef79a78217530c592","score":"0.67650455","text":"public com.google.common.util.concurrent.ListenableFuture\n deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request);\n }","title":""},{"docid":"9b3f78170cbb498ca88719b1cb7ff62b","score":"0.6615928","text":"public static int deleteAccount(int id) {\n\t\treturn Dao.deleteLine(\"Account\", id);\n\t}","title":""},{"docid":"6ba0cdabbdd8c04e176b8b4a37f421fa","score":"0.6609844","text":"@Override\n\tpublic void deleteById(long accno) {\n\t\t accountRepository.deleteById(accno);\n\t\t\n\t}","title":""},{"docid":"022005093996e783ceb51102e1ee1466","score":"0.6523349","text":"void deleteAccount(byte[] address);","title":""},{"docid":"7df9250868355a5cc419522896003bf4","score":"0.6517967","text":"public com.google.protobuf.Empty deleteAccount(\n com.google.analytics.admin.v1beta.DeleteAccountRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getDeleteAccountMethod(), getCallOptions(), request);\n }","title":""},{"docid":"0e081070b62f9a1b1fc35868ea059459","score":"0.6470906","text":"@Override\r\n\tpublic boolean deleteAccount(String account_num, Connection conn) throws Exception {\n\t\treturn false;\r\n\t}","title":""},{"docid":"318f21f881921a2c4a37e0b1ed42fd57","score":"0.6469257","text":"@Override\n\tpublic boolean deleteAccount(long accountNumber) {\n\t\treturn accountDAO.deleteAccount(accountNumber);\n\t}","title":""},{"docid":"9afa71d4ae8b2e361e0172d7649db193","score":"0.6468809","text":"public void setAccountId(java.lang.String accountId) {\n this.accountId = accountId;\n }","title":""},{"docid":"228b79ca1182784b3e2426d65cdaf4f6","score":"0.64575785","text":"default void deleteAccount(\n com.google.analytics.admin.v1beta.DeleteAccountRequest request,\n io.grpc.stub.StreamObserver responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(\n getDeleteAccountMethod(), responseObserver);\n }","title":""},{"docid":"97f2698096dc4c79cdcc81962345d7e4","score":"0.6456678","text":"int deleteByPrimaryKey(String accountRoleId);","title":""},{"docid":"29a05fa89e6b02590899285ff960fbc0","score":"0.6376164","text":"public void setAccountId(String accountId) {\n this.accountId = accountId;\n }","title":""},{"docid":"29a05fa89e6b02590899285ff960fbc0","score":"0.6376164","text":"public void setAccountId(String accountId) {\n this.accountId = accountId;\n }","title":""},{"docid":"b4b0be5fdfb92fd27da7efafba508c9f","score":"0.6352149","text":"public void removeParticipant(Account account) {\n participants.remove(account);\n }","title":""},{"docid":"e0e2cec25814c7387dd33bd0b44ff468","score":"0.6350596","text":"public void remove(Account account) {\n \tchildAccounts.remove(account);\n }","title":""},{"docid":"bd059c3f4e1a1d82938ef198ef6fe107","score":"0.63419086","text":"@Override\r\n\tpublic boolean delete(Account account) {\n\t\treturn false;\r\n\t}","title":""},{"docid":"7aba8f63310b5420868965de7f411f45","score":"0.6285141","text":"@DeleteMapping(\"/vendor-accounts/{id}\")\n @Timed\n public ResponseEntity deleteVendorAccount(@PathVariable Long id) {\n log.debug(\"REST request to delete VendorAccount : {}\", id);\n\n vendorAccountRepository.deleteById(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }","title":""},{"docid":"47eea05731d9ff76eec245cfd020858c","score":"0.6280869","text":"@Override\n public void delete(Long id) {\n log.debug(\"Request to delete UserAccount : {}\", id); userAccountRepository.deleteById(id);\n }","title":""},{"docid":"3b9856eff1521189ccdf4240edfc559a","score":"0.6268564","text":"@Override\r\n\tpublic boolean deleteAccount(Account ob) {\n\t\taccmap.remove(ob);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"2f7e35d5f98c79ad24dbd5e78274fa60","score":"0.61649525","text":"@Override\r\n\tpublic void deleteAccount(Users user) {\n\r\n\t}","title":""},{"docid":"1730d53a32a76da7f61bf7de39433d8f","score":"0.610243","text":"public final void removeAccount() throws InterruptedException {\n \n lnkAccountChooser.get(0).click();\n lnkRemoveAccount.click();\n lnkSelectAccount.click();\n lnkRemoveAccount.click();\n }","title":""},{"docid":"f0751bcbdd4a19938452cee1ffcf484f","score":"0.6073851","text":"@Override\n\tpublic int deleteUser(String accountID) {\n\t\treturn userDao.deleteUser(accountID);\n\t}","title":""},{"docid":"36b7d2f9bdaa1f6e51d40b6e64c02f5d","score":"0.6039708","text":"private void deleteAccount() {\r\n UserServiceAsync userServiceAsync = GWT.create(UserService.class);\r\n AsyncCallback asyncCallback = new AsyncCallback() {\r\n \r\n public void onSuccess(String result) {\r\n if (result != null) {\r\n if (result.equals(User.USER_INVALID)) {\r\n System.out.println(\"Unsuccessfully deleted\"); \r\n }\r\n if (result.equals(String.valueOf(User.OK))) {\r\n System.out.println(\"Successfully deleted\");\r\n }\r\n History.newItem(\"welcome\");\r\n History.newItem(\"logout\");\r\n }\r\n }\r\n \r\n public void onFailure(Throwable caught) {\r\n System.out.println(caught);\r\n }\r\n };\r\n \r\n userServiceAsync.delete(user, asyncCallback);\r\n }","title":""},{"docid":"d782a81a8e0a126fd5fd96fb6bbcb4d9","score":"0.6031292","text":"private void doDeleteAccount() {\n String usernameCommand;\n String passwordCommand;\n Registration account;\n\n System.out.println(\"Username and Password are not capital-sensitive\");\n System.out.println(\"\\nEnter the username of the account you wish to delete\");\n System.out.print(\"Username: \");\n usernameCommand = input.nextLine();\n usernameCommand = usernameCommand.toLowerCase();\n\n System.out.println(\"\\nEnter the password of the account you wish to delete\");\n System.out.print(\"Password: \");\n passwordCommand = input.nextLine();\n passwordCommand = passwordCommand.toLowerCase();\n\n account = new Registration(usernameCommand, passwordCommand);\n JsonNode accountNode = Json.toJson(account);\n try {\n Json.removeRegistrationFromFile(accountNode, \"User\");\n } catch (IOException e) {\n System.out.println(\"Could not register user\");\n e.printStackTrace();\n }\n }","title":""},{"docid":"fd2e3afdfceccd665a71ed8ecfc44f68","score":"0.60212785","text":"public void setAccountId(Integer accountId) {\r\n\t\tthis.accountId = accountId;\r\n\t}","title":""},{"docid":"65f25927390849117e839f8683c9579e","score":"0.60082006","text":"@RequestMapping(value = \"/bankAccounts/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public void delete(@PathVariable Long id) {\n log.debug(\"REST request to delete BankAccount : {}\", id);\n bankAccountRepository.delete(id);\n }","title":""},{"docid":"139601f196bdef634b7fcb688024c098","score":"0.5998785","text":"public void setAccountId(String accountId) {\n this.accountId = accountId == null ? null : accountId.trim();\n }","title":""},{"docid":"410d79b51f0c8509d78e7b501cf98c2c","score":"0.5997636","text":"public void removeCustomerFromAccount(String customerId, \r\n String accountId) throws RemoteException, \r\n AccountNotFoundException, CustomerRequiredException, \r\n CustomerNotInAccountException, InvalidParameterException;","title":""},{"docid":"8ebc8ebfa754b8df454314d32dfe8aa5","score":"0.59478223","text":"public void filedelete(AccountDTO acct, String filenum) throws RemoteException, RejectedException,\r\n AccountException;","title":""},{"docid":"3fe30f9b8530e84f874eb18c1c96e012","score":"0.5918913","text":"@Override\n\tpublic void delete(BankAccounts obj) {\n\t\t\n\t}","title":""},{"docid":"42a6fa5d5a9f7216d4053a19fd1f0e62","score":"0.5918213","text":"public void deleteAccount(String username){\n File file = new File(username + Constants.FILE_ACC_EXTENTION.getFull());\n if (file.delete()) {\n System.out.println(\"Account deleted: \" + username);\n } else {\n System.out.println(\"Failed to delete the account: \" + username);\n } \n }","title":""},{"docid":"9a0eb2c4b5f6b072208b9418011056ca","score":"0.58699614","text":"public void deleteAccount(String delAccName, MongoDatabase db) {\n\t\tMongoCollection accounts = db.getCollection(\"users\");\n\t\tMongoCollection courses = db.getCollection(\"courses\");\n\t\n\t\t\n\t\t\n\t\tBasicDBObject fields = new BasicDBObject(\"class_list\", \n\t\t new BasicDBObject( \"student_name\", delAccName));\n\t BasicDBObject update = new BasicDBObject(\"$pull\",fields);\n\t //deregistering user from all courses he registered in\n\t courses.updateMany(fields, update);\n\t \n\t //incrementing capacity by one, since we deregister user from all courses\n\t BasicDBObject newDocument = new BasicDBObject().append(\"$inc\", new BasicDBObject().append(\"capacity\", 1));\n\t\tcourses.updateMany(fields, newDocument);\n\t \n\t \n\t //deleting student's existence in system\n\t\taccounts.deleteOne(Filters.eq(\"name\", delAccName));\n\t\tSystem.out.println(\"Deleting \" + delAccName);\n\t\t\n\t}","title":""},{"docid":"97da6b2a1f331c279f0afadcb6d83394","score":"0.58670086","text":"@CrossOrigin\n\t@RequestMapping(\n\t\t\tvalue=\"/qlik/api/message/{id}\",\n\t\t\tmethod=RequestMethod.DELETE,\n\t\t\tconsumes=MediaType.APPLICATION_JSON_VALUE,\n\t\t\tproduces=MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity deleteAccount(@PathVariable(\"id\") Long id) {\n\t\tboolean b = messageService.deleteMessage(id);\n\t\tif(b){\n\t\t\treturn new ResponseEntity(HttpStatus.OK);\n\t\t}\n\t\telse{\n\t\t\tthrow new IllegalArgumentException(\"invalid data\");\n\t\t}\n\t}","title":""},{"docid":"2b0e3b0a17fc0240e8cc12ff64cea1b1","score":"0.58444124","text":"@DELETE\n @Path(\"{login}\")\n public void deleteAccount(@PathParam(\"login\") String login) {\n try {\n accounts.remove(login);\n\n } catch (AccountStorage.UserNotFoundException e) {\n throw new NotFoundException(\"User \"+login+\" does not exist\");\n } catch (IOException e) {\n throw new WebApplicationException(e.getMessage(), Response.Status.INTERNAL_SERVER_ERROR);\n }\n }","title":""},{"docid":"cfcda50bcb56b8d49d27eac44c4e3311","score":"0.58134466","text":"@Override\n\tpublic Mono deleteaccount(String id) {\n\t\treturn accountrepo.findById(id).switchIfEmpty(Mono.error(new Exception(\"No encontrado\"))).flatMap(accountrepo::delete);\n \t}","title":""},{"docid":"728fa4a946ba849d45d1ed1d9295fc6e","score":"0.57604593","text":"public Response deleteBen(String account, String benId) {\n\t\tResponse response = new Response();\r\n\t\tAccount account1 = accountRepository.findOne(account);\r\n\t\tAccount account2 = accountRepository.findOne(benId);\r\n\r\n\t\tif (account1 != null && account2 != null && account1.getBeneficiaries().contains(account2)) {\r\n\t\t\taccount1.getBeneficiaries().remove(account2);\r\n\t\t\tSystem.out.println(account1.getBeneficiaries());\r\n\t\t\tresponse.setStatus(\"SUCCESS\");\r\n\t\t\tresponse.setError(\"NONE\");\r\n\t\t\taccountRepository.save(account1);\r\n\t\t} else {\r\n\t\t\tresponse.setStatus(\"FAILED\");\r\n\t\t\tresponse.setError(\"INVALID DETAILS\");\r\n\t\t}\r\n\r\n\t\treturn response;\r\n\t}","title":""},{"docid":"1ad215b345312f657d6dfee10303b949","score":"0.57391083","text":"public void deleteAccountData() {\n SharedPreferences.Editor mAppPrefEditor = appPreferences.edit();\n mAppPrefEditor.remove(Account.ACCOUNT_MAIN_KEY);\n mAppPrefEditor.apply();\n }","title":""},{"docid":"bf043c9bfa2d6c0e4abd1f9028cb7d4d","score":"0.5738815","text":"public void setId(String accountId);","title":""},{"docid":"7e21aa1e30f6d32366839de65dba59bb","score":"0.5720753","text":"ILoA remove(int accountNum);","title":""},{"docid":"4a2129a67425f57046d7980930ec9498","score":"0.56511736","text":"int deleteByExample(AccountModelExample example);","title":""},{"docid":"a8446fd1684a85a450798bfe3e241a2f","score":"0.56508696","text":"@Test\n public void deleteAccountTest() throws Exception {\n Account account = jpaAccountDao.findById(1);\n entityManager.getTransaction().begin();\n boolean removed = jpaAccountDao.delete(account.getId());\n entityManager.getTransaction().commit();\n\n Account res = jpaAccountDao.findById(1);\n assertNull(res);\n assertNotEquals(jpaAccountDao.findById(1), \"Account{id=1, customer=Customer{customerId=1, firstName='Kim', lastName='Pedersen', email='kim@yahoo.no', phoneNumber='90045870', birth=1980-11-05 00:00:00.0}, login= 'Login{Id=1, username='kimPedda', password='kimSimDimSum'}}\");\n assertTrue(removed);\n }","title":""},{"docid":"104ccd14735d8f15d3c7190849083d23","score":"0.56370586","text":"@Override\n\tpublic void delete(UserAccount user) {\n\t\tlogger.info(\"aaaaaa===delete====\",user);\n\t\tthis.redisUserAccountDao.delete(user);\n\t}","title":""},{"docid":"bf028dca3dc5931d0ec7c168c5fd75aa","score":"0.56357634","text":"public void setAccountId(int value) {\n this.accountId = value;\n }","title":""},{"docid":"c0f5d3f0bc4ec9b29e4c33fefceee307","score":"0.56338644","text":"@Test\r\n\tpublic void testDeleteAccount() {\r\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\tsession.beginTransaction();\r\n\r\n\t\tAccount account = createAccount();\r\n\t\tSystem.out.println(\"var account = \" + account);\r\n\r\n\t\t// delete the account\r\n\t\t// ------ --- -------\r\n\t\tAccountService accountService = new AccountService();\r\n\t\taccountService.deleteAccount(account);\r\n\r\n\t\tsession.getTransaction().commit();\r\n\t\tHibernateUtil.getSessionFactory().close();\r\n\r\n\t\t// try to get the account again -- should be null\r\n\t\t// --- -- --- --- ------- ----- -- ------ -- ----\r\n\t\tSession session2 = HibernateUtil.getSessionFactory()\r\n\t\t\t\t.getCurrentSession();\r\n\t\tsession2.beginTransaction();\r\n\r\n\t\tAccount anotherCopy = accountService.getAccount(account.getAccountId());\r\n\r\n\t\tSystem.out.println(\"var anotherCopy = \" + anotherCopy);\r\n\r\n\t\tAssert.assertNull(anotherCopy);\r\n\r\n\t\tsession2.getTransaction().commit();\r\n\t\tHibernateUtil.getSessionFactory().close();\r\n\t}","title":""},{"docid":"8fbe790a07b85ea3b65ae85abebe2ea5","score":"0.56251794","text":"public void delete(AccountLevelPk pk) throws DataBaseJdbcException;","title":""},{"docid":"4c6dd381746f51dc4a76324380718f51","score":"0.56249297","text":"public final void deleteAccount(final User user, final Account account)\n throws NotExistStorageException {\n Objects.requireNonNull(user, \"user must not be null\");\n Objects.requireNonNull(user, \"account must not be null\");\n if (this.map.containsKey(user)) {\n this.map.get(user).remove(account);\n } else {\n throw new NotExistStorageException(\"The user is't in storage\");\n }\n }","title":""},{"docid":"0666b6c92bf006cd83c0f2e72b0acbc1","score":"0.56142545","text":"Completable deleteAsync(String resourceGroupName, String accountName);","title":""},{"docid":"e3f40bdc196e8d122da37c6014565eb7","score":"0.55905855","text":"@Override\n public void deletePolicyForAccount(String accountId, String policyId, String serverDomainName, String username, String bearerToken) throws DsmClientException {\n Policy policy = new Policy();\n policy.setVendorPolicyId(policyId);\n policy.setHostName(serverDomainName);\n policy.setUsername(username);\n policyMessageSender.deletePolicyForAccount(new PolicyBean(accountId, policy, bearerToken.substring(7)));\n }","title":""},{"docid":"83d92b617e39e0bd43e55c5875a58988","score":"0.55740297","text":"public void deleteSyncedDataSync(long accountId) {\n try {\n // Delete synced attachments\n AttachmentUtilities.deleteAllAccountAttachmentFiles(mProviderContext,\n accountId);\n\n // Delete synced email, leaving only an empty inbox. We do this in two phases:\n // 1. Delete all non-inbox mailboxes (which will delete all of their messages)\n // 2. Delete all remaining messages (which will be the inbox messages)\n ContentResolver resolver = mProviderContext.getContentResolver();\n String[] accountIdArgs = new String[] { Long.toString(accountId) };\n resolver.delete(Mailbox.CONTENT_URI,\n MAILBOXES_FOR_ACCOUNT_EXCEPT_ACCOUNT_MAILBOX_SELECTION,\n accountIdArgs);\n resolver.delete(Message.CONTENT_URI, MESSAGES_FOR_ACCOUNT_SELECTION, accountIdArgs);\n\n // Delete sync keys on remaining items\n ContentValues cv = new ContentValues();\n cv.putNull(Account.SYNC_KEY);\n resolver.update(Account.CONTENT_URI, cv, Account.ID_SELECTION, accountIdArgs);\n cv.clear();\n cv.putNull(Mailbox.SYNC_KEY);\n resolver.update(Mailbox.CONTENT_URI, cv,\n MAILBOXES_FOR_ACCOUNT_SELECTION, accountIdArgs);\n\n // Delete PIM data (contacts, calendar), stop syncs, etc. if applicable\n IEmailService service = getServiceForAccount(accountId);\n if (service != null) {\n service.deleteAccountPIMData(accountId);\n }\n } catch (Exception e) {\n Log.w(Logging.LOG_TAG, \"Exception while deleting account synced data\", e);\n }\n }","title":""},{"docid":"e09545512d7c91dfb79529beb88f9514","score":"0.55523103","text":"public boolean deleteAccount (String username) \n throws SQLException, NamingException {\n boolean result = false;\n Connection con = null;\n PreparedStatement stmt = null;\n \n try {\n con = DBHelper.makeConnection();\n\n if (con != null) {\n String sqlStr = \"DELETE \"\n + \"FROM accountInfo \"\n + \"WHERE username = ?\";\n stmt = con.prepareStatement(sqlStr);\n stmt.setString(1, username);\n\n int iCount = stmt.executeUpdate();\n\n if (iCount > 0) {\n result = true;\n }\n }\n } finally {\n if (stmt != null) {\n stmt.close();\n }\n if (con != null) {\n con.close();\n }\n }\n \n return result;\n }","title":""},{"docid":"7f8ba8a2e4b0fed9ba93d5e9a943aa40","score":"0.55403155","text":"public void remove(int id){\r\n accountList.remove(id);\r\n }","title":""},{"docid":"458a45c1e3ddf01cc26eb695fb534b0f","score":"0.553507","text":"void unsetAccountUserID();","title":""},{"docid":"bbf9e9f99d7eaf4f5bed0e720f177b13","score":"0.552892","text":"public AccountDelete(User user) {\r\n\t\tthis.user = user;\r\n\t\tinitialize();\r\n\t}","title":""},{"docid":"91c78b9364e122f6750fe7f7d96cc575","score":"0.5526575","text":"public static void deleteUser(User u) {\r\n\t\ttry {\r\n\t\t\tConnection c = Database.getConnection(); //get connection from sqllite database\r\n\t String sql = \"DELETE FROM Accounts WHERE appUser = ? and type = ? and username = ?;\"; //sql query\r\n\t\t\tPreparedStatement ps = c.prepareStatement(sql);\r\n\t\t\tps.setString(1,u.getUsername());\r\n\t\t\tps.setString(2,u.a.getType().toUpperCase());\r\n\t\t\tps.setString(3, u.a.getUsername());\r\n\t\t\t\r\n\t\t\tps.executeUpdate();\r\n\t\t\t\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Account was successfully deleted from the System!\");\r\n\t\t\t\r\n\t\t\t//closing sql variables to prevent resource leak\r\n\t\t\t ps.close();\r\n\t\t\t c.close();\r\n\t\t\t \r\n\t\t\t\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n //if the account could not be deleted for what ever reason\r\n\t\t\tJOptionPane.showMessageDialog(null,\"Account could not be deleted at this moment. Please try again later.\");\r\n\t}\r\n}","title":""},{"docid":"532b24c8dabae96f2f7297d9bb29d819","score":"0.5475527","text":"public Integer deleteParticipant(ParticipantObject participantObject) throws AppException;","title":""},{"docid":"53ad80ec0322867c633af19110e443fc","score":"0.54729384","text":"public void removeAccount()\n {\n check = 5;\n screen.append(\"Enter account name to be removed...\\n\");\n }","title":""},{"docid":"3a2a7dde85fc9b54e9d0f3d02a0c6e40","score":"0.5470848","text":"@Ignore\n @Test\n public void testDeleteAccount() throws Exception {\n System.out.println(\"deleteAccount\");\n String accountId = \"251\";\n ManagerImplementation instance = new ManagerImplementation();\n boolean result = instance.deleteAccount(accountId);\n assertTrue(result);\n }","title":""},{"docid":"3edc864665180c952874b9f9b939ce41","score":"0.54692435","text":"public static int deleteUserAccount(int userID) {\n\t\tcsvDB.addRemovedPatientAppointmentHistory(userID);\n\t\treturn UserAccountDB.deleteUserAccount(userID);\n\t}","title":""},{"docid":"d059f74bcc9e8c8b33dbe250e7e8d3f5","score":"0.5459376","text":"int deleteByExample(KsmAccountExample example);","title":""},{"docid":"785beddbdf57be179d3496455cb9f336","score":"0.5453215","text":"@Test\n @Ignore(\"Tested in other test\")\n public void deleteAccountQueueTest() throws ApiException {\n\n Integer accountId = null;\n Integer queueId = null;\n DeleteQueue response = api.deleteAccountQueue(accountId, queueId);\n assertNotNull(response);\n }","title":""},{"docid":"8449808ca9c7e1166117fe046d4252a1","score":"0.54394966","text":"private com.squareup.okhttp.Call deleetAccountCall(Integer accountNumber, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {\n Object localVarPostBody = null;\n \n // verify the required parameter 'accountNumber' is set\n if (accountNumber == null) {\n throw new ApiException(\"Missing the required parameter 'accountNumber' when calling deleetAccount(Async)\");\n }\n \n\n // create path and map variables\n String localVarPath = \"/account-delete/{accountNumber}\".replaceAll(\"\\\\{format\\\\}\",\"json\")\n .replaceAll(\"\\\\{\" + \"accountNumber\" + \"\\\\}\", apiClient.escapeString(accountNumber.toString()));\n\n List localVarQueryParams = new ArrayList();\n\n Map localVarHeaderParams = new HashMap();\n\n Map localVarFormParams = new HashMap();\n\n final String[] localVarAccepts = {\n \n };\n final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) localVarHeaderParams.put(\"Accept\", localVarAccept);\n\n final String[] localVarContentTypes = {\n \n };\n final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n if(progressListener != null) {\n apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {\n @Override\n public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {\n com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());\n return originalResponse.newBuilder()\n .body(new ProgressResponseBody(originalResponse.body(), progressListener))\n .build();\n }\n });\n }\n\n String[] localVarAuthNames = new String[] { };\n return apiClient.buildCall(localVarPath, \"DELETE\", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);\n }","title":""},{"docid":"1f088ce94d884b1a506957bc8a7485c1","score":"0.5437859","text":"void delete(String projectId);","title":""},{"docid":"fa47d27bd05fa3ee820d474130caf86c","score":"0.54047763","text":"void deleteByProjectIdentifier(String projectIdentifier);","title":""},{"docid":"8bbca1b0fe19526a62d7798af66925e7","score":"0.5398122","text":"@Override\n\tpublic void deleteTenant(int tenantId) throws TenantNotFoundException {\n\t\tlogger.info(\"Called deleteTenant() method of TenantService\");\n\t\tTenant value = tenantRepository.findById(tenantId)\n\t\t\t\t.orElseThrow(() -> new TenantNotFoundException(\"Tenant with id \" + tenantId + \" does not exist.\"));\n\t\ttenantRepository.delete(value);\n\t}","title":""},{"docid":"05db2bd8d66b67e39366a909473c32ce","score":"0.53969765","text":"@RequestMapping({\"/delete-account.html\"})\r\n/* 153: */ @ResponseBody\r\n/* 154: */ @PreAuthorize(\"hasAnyRole('ROLE_USER') \")\r\n/* 155: */ public boolean delete_account(@RequestParam(\"id\") int id)\r\n/* 156: */ throws Exception\r\n/* 157: */ {\r\n/* 158:164 */ logger.log(Level.FINE, \"delete-account called.\");\r\n/* 159:165 */ Accounts account = (Accounts)this.accountsDAO.getRecordByPrimaryKey(Integer.valueOf(id));\r\n/* 160:166 */ if (account != null)\r\n/* 161: */ {\r\n/* 162:167 */ account.setVisible(Boolean.valueOf(false));\r\n/* 163:168 */ int updateResult = this.accountsDAO.update(account);\r\n/* 164:169 */ if (updateResult > 0)\r\n/* 165: */ {\r\n/* 166:170 */ logger.log(Level.INFO, \"Account with id {0} deleted successfully\", account.getId());\r\n/* 167:171 */ return true;\r\n/* 168: */ }\r\n/* 169:174 */ logger.log(Level.WARNING, \"Error occurred while deleting account with id {0}\", account.getId());\r\n/* 170:175 */ return false;\r\n/* 171: */ }\r\n/* 172:178 */ logger.log(Level.INFO, \"Account with id {0} is already deleted\", Integer.valueOf(id));\r\n/* 173:179 */ return true;\r\n/* 174: */ }","title":""},{"docid":"25472d311428d715e445c30a0591d72a","score":"0.5385109","text":"public void removeAccount(Account toBeDeleted) {\r\n\t\t/* PROTECTED REGION ID(java.implementation._16_0_129203bc_1271098548578_11924_332) ENABLED START */\r\n\t\t// TODO: implementation of method 'AccountBean.removeAccount(...)'\r\n\t\tthrow new UnsupportedOperationException(\"The implementation of this generated method stub is missing!\");\r\n\t\t/* PROTECTED REGION END */\r\n\t}","title":""},{"docid":"af1e4abc0c13212a3a4bcba4d8b75287","score":"0.53834605","text":"boolean confirmAccount(Long id);","title":""},{"docid":"03bcdefa3633337a5898eb5b4b040581","score":"0.5368234","text":"Project deleteProjectById(int projectId, Integer userId) throws Exception;","title":""},{"docid":"78a8794c24e86b6d99bd6636f62d24cb","score":"0.5363361","text":"int deleteByExample(SysAccountRoleExample example);","title":""},{"docid":"bfb5786d441be9449c85b6bcefe19526","score":"0.53559667","text":"public void cancelAccount(String id){\n\t\tint i = findMatchingAccount(id);\n\t\tif(i == -1){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tlist.get(i).closeAccount();\n\t\tlist.remove(i);\n\t}","title":""},{"docid":"54b45476a312b3c681397ad57d090240","score":"0.53550744","text":"public AccountModel deleteSpecificAccountByUserId(UUID userid) {\n\n Set set = accountList.entrySet();\n Iterator iterator = set.iterator();\n while(iterator.hasNext()) {\n Map.Entry mentry = (Map.Entry)iterator.next();\n\n if (tools.regexFoundString(FOUND_USER_ID, mentry.getValue().toString())){\n LOG.info(\"found user in account list: \" + mentry.getValue().toString());\n //--- extract uuid account and delete it\n String idAccount = tools.regexFoundAndExtractString(ID_ACCOUNT, mentry.getValue().toString());\n LOG.info(\"found id account: \" + idAccount);\n deleteSpecificAccountById(UUID.fromString(idAccount));\n }\n }\n LOG.debug(\"can't delete account with {} uuid \", userid);\n return null;\n }","title":""},{"docid":"444b363de0ba2517bf191d54271c75e0","score":"0.5336336","text":"public void deleteAccount(int rowNumber) {\n\t\ttry {\t\t\t\n\t\t\tdoConnect(); // Connect to the database\t\n\t\t\t\n\t\t\t// Move to the specified row and delete it from the ResultSet\n\t\t\tresults.absolute(rowNumber);\n\t\t\tresults.deleteRow(); \n\t\t\t\n\t\t\t// Close these objects to make changes to the database\n\t\t\tmyConnection.close();\n\t\t\tmyStatement.close();\n\n\t\t\tdoConnect(); // Re-connect to the database\t\n\t\t\t\n\t\t\t// Move to the last row and store the number of rows\n\t\t\tresults.last();\n\t\t\tint numberOfRows = results.getRow();\n\n\t\t\t// Then move back to the previously specified row\n\t\t\tresults.absolute(rowNumber); \n\n\t\t\t/* Loop through the rows starting from the specified row till the\n\t\t\tlast one and decrement each row's ID by one to get the new order. */\n\t\t\tfor (int i = rowNumber; i <= numberOfRows; i++) {\n\t\t\t\tresults.absolute(i);\n\t\t\t\tresults.updateInt(\"CustomerID\", i);\n\t\t\t\tresults.updateRow();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tlogger.log(Level.SEVERE, \"Exception: \", e);\n\n\t\t} finally {\n\t\t\tif (myConnection != null) {\n\t\t\t\ttry {\n\t\t\t\t\tmyConnection.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tlogger.log(Level.SEVERE, \"Exception: \", e);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (myStatement != null) {\n\t\t\t\ttry {\n\t\t\t\t\tmyStatement.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tlogger.log(Level.SEVERE, \"Exception: \", e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"e60cd1d0e6e4227a99c9f2d666c9d7d6","score":"0.5333243","text":"public static void deleteUser() throws Exception {\r\n\t\tLOG.info(\"Entering delete\");\r\n\t\tOktaMigrator migrator = new OktaMigrator();\r\n\t\tString oktaId = \"/00uocb4vjrESanRHG0h7\";\r\n\t\t\t\t\r\n String results = migrator.deleteUserByOktaId(apiUrl, apiKey, oktaId);\r\n\t LOG.debug(results);\r\n\t LOG.info(\"Exiting delete\");\r\n\t}","title":""},{"docid":"e3a78ac4833e480783484f0fb276e1c5","score":"0.5332404","text":"@Override\n\tpublic void deleteParticipant(int aId, int userId) {\n\t\tSession session = null;\n\t\ttry{\n\t\t\tsession = HiberSessionFactory.getSession(); \n\t\t\tsession.beginTransaction(); \n\t\t\tActivity activity = (Activity) session.get(Activity.class, aId);\n\t\t\tUser user = (User)session.get(User.class, userId);\n\t\t\tactivity.getParticipants().remove(user);\n\t\t\tsession.getTransaction().commit();\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally{\n\t\t HiberSessionFactory.closeSession();\n\t\t}\t\t\n\t}","title":""},{"docid":"df6a3f7d6de255952a06f3b952006051","score":"0.5329495","text":"public Integer deleteCredential(Integer credId){\r\n return credMapper.deleteCredential(credId);\r\n }","title":""},{"docid":"914acc6144db7bfbd47a00b2c3aa719f","score":"0.53285235","text":"public int deleteTrialbalance(Trialbalance p) throws Exception {\n\n\t\tString sql = \"DELETE FROM trialbalance WHERE ID = ?\";\n\n\t\treturn ds.execDML(sql, p.getId());\n\t}","title":""},{"docid":"7f44969a60606f0fa58f8d4897850059","score":"0.5325475","text":"public void setAccountId(long value) {\n this.accountId = value;\n }","title":""},{"docid":"7be094b2d7f2dd78cab74b38883fc04f","score":"0.53253406","text":"public void deleetAccount(Integer accountNumber) throws ApiException {\n deleetAccountWithHttpInfo(accountNumber);\n }","title":""},{"docid":"494f6995c0f41c46db6094d6741e07b6","score":"0.5317449","text":"@ApiMethod(name = \"unregister\")\n public void unregisterDevice(@Named(\"regId\") String regId, @Named(\"accountId\") String accountId) {\n RegistrationRecord record = findRecord(regId, accountId);\n if(record == null) {\n log.info(\"Device \" + regId + \" not registered for account \" + accountId);\n return;\n }\n ofy().delete().entity(record).now();\n }","title":""},{"docid":"b01da6e57ad95c7c6f81280dd775f528","score":"0.5313304","text":"@Override\r\n\tpublic void delete(AccountHistory entity) {\n\r\n\t}","title":""},{"docid":"aca964bb6fa244f291c83ab2a5d2d11e","score":"0.5300732","text":"void deleteUser(final String username);","title":""},{"docid":"21a4ab230ed3d47f51b0a631b9201743","score":"0.52922964","text":"void deleteCustomer(Integer customerId);","title":""},{"docid":"fef46f4520bc701c753e38b8181f5e05","score":"0.5282105","text":"void deleteUserById(Long userId);","title":""},{"docid":"a4d598ab00f84dd89b8225b4975e872e","score":"0.5280516","text":"@Modifying\n @Query(value = \"delete from GroupAccount ga where ga.accountId.accountId in (:accountIds) and ga.groupId.groupId = :groupId\")\n public void removeAccountFromGroup(@Param(\"accountIds\") List accountIds,\n @Param(\"groupId\") int groupId);","title":""},{"docid":"6928b39b3fa042be72bb2691ce9e21b1","score":"0.5278001","text":"void deleteUser(Long userId);","title":""},{"docid":"630f72ce15919328c368c184e522b680","score":"0.52716184","text":"public int deleteTrialbalance(Long id) throws Exception {\n\n\t\tString sql = \"DELETE FROM trialbalance WHERE ID = ?\";\n\n\t\treturn ds.execDML(sql, id);\n\t}","title":""},{"docid":"ab74b2c451ea1811a3d1856e3db7cdb4","score":"0.5260445","text":"public static void deleteTenant(String formData) {\n String id = formData.substring(7);\n Long tenantId = Long.parseLong(id);\n Tenant tenant = Tenant.findById(tenantId);\n\n Logger.info(\"Deleting tenant: \" + tenant.firstName + \" \" + tenant.lastName);\n Residence res = tenant.residence;\n res.tenant = null;\n res.save();\n tenant.delete();\n ajaxDeleteResponse(id);\n }","title":""},{"docid":"36597f13fb2a9caea93bc3daff4538d0","score":"0.52507025","text":"public void deleteUser(int id,User user) throws Exception;","title":""},{"docid":"0629931ac1ef0dd8949d125fef278482","score":"0.5245528","text":"public boolean delete(Credential credential) throws CredentialNotFoundException;","title":""},{"docid":"bab70f5d8f9b6aac3f78fb4ad1c032bb","score":"0.52300256","text":"public boolean deleteProfile(Integer tenantId, String itemId, String itemType);","title":""}],"string":"[\n {\n \"docid\": \"c819b7f7495f08da11d334f6dd8c6a12\",\n \"score\": \"0.77448964\",\n \"text\": \"public void deleteAccountSync(long accountId, Context context) {\\n try {\\n mLegacyControllerMap.remove(accountId);\\n // Get the account URI.\\n final Account account = Account.restoreAccountWithId(context, accountId);\\n if (account == null) {\\n return; // Already deleted?\\n }\\n\\n // Delete account data, attachments, PIM data, etc.\\n deleteSyncedDataSync(accountId);\\n\\n // Now delete the account itself\\n Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);\\n context.getContentResolver().delete(uri, null, null);\\n\\n // For unit tests, don't run backup, security, and ui pieces.\\n if (mInUnitTests) {\\n return;\\n }\\n\\n // Clean up\\n AccountBackupRestore.backup(context);\\n SecurityPolicy.getInstance(context).reducePolicies();\\n Email.setServicesEnabledSync(context);\\n Email.setNotifyUiAccountsChanged(true);\\n MailService.actionReschedule(context);\\n } catch (Exception e) {\\n Log.w(Logging.LOG_TAG, \\\"Exception while deleting account\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ff489c50fa8e23614d55bc2a88b21e6\",\n \"score\": \"0.761551\",\n \"text\": \"public void removeAccount(String accountId) \\r\\n throws RemoteException, AccountNotFoundException, \\r\\n InvalidParameterException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d9cff4bf7e287c34925cf899ae36a77\",\n \"score\": \"0.73617643\",\n \"text\": \"public void deleteAccount(long acc_id) {\\n\\t\\taccountRepository.deleteById(acc_id);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"486876a3fe1eede2e09808e86cd4825d\",\n \"score\": \"0.73199654\",\n \"text\": \"@Override\\r\\n\\tpublic void delete(Account account) {\\n\\t\\taccRep.delete(account);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c59d0d5c821791cc072f8449357a8228\",\n \"score\": \"0.7062954\",\n \"text\": \"protected abstract void deleteAccount(Account ac);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13289738f53e25c6a523c65183aff019\",\n \"score\": \"0.6935854\",\n \"text\": \"private void deleteAccount() {\\n CategoryNode node =\\n (CategoryNode) navigationTree\\n .getSelectionPath()\\n .getLastPathComponent();\\n Account account = (Account) node.getUserObject();\\n session.getCategories().removeNodeFromParent(account.getCategoryNode());\\n session.getAccounts().removeElement(account);\\n navigator.removeNodeFromParent(node);\\n session.modified();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0023d6a5a8d066487eca029dca4ac97c\",\n \"score\": \"0.69339424\",\n \"text\": \"public boolean deletedAccount(int accountId) {\\n\\n\\t\\tboolean deleted = false;\\n\\n\\t\\ttry {\\n\\t\\t\\tdeleted = accountMapper.deleteAccount(accountId);\\n\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\n\\t\\t\\te.printStackTrace(ExceptionWriter.getStream());\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t\\treturn deleted;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"285a996c82e0675c60a53229a2134439\",\n \"score\": \"0.69331694\",\n \"text\": \"@Override\\n\\tpublic void deleteAccountById(Long accountNumber) {\\n\\t\\taccountRepository.deleteById(accountNumber);\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9301e09e0f5292d83bb421f3b9c0d18\",\n \"score\": \"0.6928822\",\n \"text\": \"@Transactional\\n public void removeAccount(AccountDTO account) {\\n this.dao.delete(account);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b339be0e14bbbc1b9f852db01ddcce3e\",\n \"score\": \"0.6900874\",\n \"text\": \"public void deleteAccount(\\n com.google.analytics.admin.v1beta.DeleteAccountRequest request,\\n io.grpc.stub.StreamObserver responseObserver) {\\n io.grpc.stub.ClientCalls.asyncUnaryCall(\\n getChannel().newCall(getDeleteAccountMethod(), getCallOptions()),\\n request,\\n responseObserver);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c8523fc75d657fa1866209791cbb7ec\",\n \"score\": \"0.67758745\",\n \"text\": \"public abstract AccountListPage deleteAnAccount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d621791656e66eef79a78217530c592\",\n \"score\": \"0.67650455\",\n \"text\": \"public com.google.common.util.concurrent.ListenableFuture\\n deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) {\\n return io.grpc.stub.ClientCalls.futureUnaryCall(\\n getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b3f78170cbb498ca88719b1cb7ff62b\",\n \"score\": \"0.6615928\",\n \"text\": \"public static int deleteAccount(int id) {\\n\\t\\treturn Dao.deleteLine(\\\"Account\\\", id);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ba0cdabbdd8c04e176b8b4a37f421fa\",\n \"score\": \"0.6609844\",\n \"text\": \"@Override\\n\\tpublic void deleteById(long accno) {\\n\\t\\t accountRepository.deleteById(accno);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"022005093996e783ceb51102e1ee1466\",\n \"score\": \"0.6523349\",\n \"text\": \"void deleteAccount(byte[] address);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7df9250868355a5cc419522896003bf4\",\n \"score\": \"0.6517967\",\n \"text\": \"public com.google.protobuf.Empty deleteAccount(\\n com.google.analytics.admin.v1beta.DeleteAccountRequest request) {\\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\\n getChannel(), getDeleteAccountMethod(), getCallOptions(), request);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e081070b62f9a1b1fc35868ea059459\",\n \"score\": \"0.6470906\",\n \"text\": \"@Override\\r\\n\\tpublic boolean deleteAccount(String account_num, Connection conn) throws Exception {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"318f21f881921a2c4a37e0b1ed42fd57\",\n \"score\": \"0.6469257\",\n \"text\": \"@Override\\n\\tpublic boolean deleteAccount(long accountNumber) {\\n\\t\\treturn accountDAO.deleteAccount(accountNumber);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9afa71d4ae8b2e361e0172d7649db193\",\n \"score\": \"0.6468809\",\n \"text\": \"public void setAccountId(java.lang.String accountId) {\\n this.accountId = accountId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"228b79ca1182784b3e2426d65cdaf4f6\",\n \"score\": \"0.64575785\",\n \"text\": \"default void deleteAccount(\\n com.google.analytics.admin.v1beta.DeleteAccountRequest request,\\n io.grpc.stub.StreamObserver responseObserver) {\\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(\\n getDeleteAccountMethod(), responseObserver);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97f2698096dc4c79cdcc81962345d7e4\",\n \"score\": \"0.6456678\",\n \"text\": \"int deleteByPrimaryKey(String accountRoleId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29a05fa89e6b02590899285ff960fbc0\",\n \"score\": \"0.6376164\",\n \"text\": \"public void setAccountId(String accountId) {\\n this.accountId = accountId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29a05fa89e6b02590899285ff960fbc0\",\n \"score\": \"0.6376164\",\n \"text\": \"public void setAccountId(String accountId) {\\n this.accountId = accountId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4b0be5fdfb92fd27da7efafba508c9f\",\n \"score\": \"0.6352149\",\n \"text\": \"public void removeParticipant(Account account) {\\n participants.remove(account);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0e2cec25814c7387dd33bd0b44ff468\",\n \"score\": \"0.6350596\",\n \"text\": \"public void remove(Account account) {\\n \\tchildAccounts.remove(account);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd059c3f4e1a1d82938ef198ef6fe107\",\n \"score\": \"0.63419086\",\n \"text\": \"@Override\\r\\n\\tpublic boolean delete(Account account) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aba8f63310b5420868965de7f411f45\",\n \"score\": \"0.6285141\",\n \"text\": \"@DeleteMapping(\\\"/vendor-accounts/{id}\\\")\\n @Timed\\n public ResponseEntity deleteVendorAccount(@PathVariable Long id) {\\n log.debug(\\\"REST request to delete VendorAccount : {}\\\", id);\\n\\n vendorAccountRepository.deleteById(id);\\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47eea05731d9ff76eec245cfd020858c\",\n \"score\": \"0.6280869\",\n \"text\": \"@Override\\n public void delete(Long id) {\\n log.debug(\\\"Request to delete UserAccount : {}\\\", id); userAccountRepository.deleteById(id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b9856eff1521189ccdf4240edfc559a\",\n \"score\": \"0.6268564\",\n \"text\": \"@Override\\r\\n\\tpublic boolean deleteAccount(Account ob) {\\n\\t\\taccmap.remove(ob);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f7e35d5f98c79ad24dbd5e78274fa60\",\n \"score\": \"0.61649525\",\n \"text\": \"@Override\\r\\n\\tpublic void deleteAccount(Users user) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1730d53a32a76da7f61bf7de39433d8f\",\n \"score\": \"0.610243\",\n \"text\": \"public final void removeAccount() throws InterruptedException {\\n \\n lnkAccountChooser.get(0).click();\\n lnkRemoveAccount.click();\\n lnkSelectAccount.click();\\n lnkRemoveAccount.click();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0751bcbdd4a19938452cee1ffcf484f\",\n \"score\": \"0.6073851\",\n \"text\": \"@Override\\n\\tpublic int deleteUser(String accountID) {\\n\\t\\treturn userDao.deleteUser(accountID);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36b7d2f9bdaa1f6e51d40b6e64c02f5d\",\n \"score\": \"0.6039708\",\n \"text\": \"private void deleteAccount() {\\r\\n UserServiceAsync userServiceAsync = GWT.create(UserService.class);\\r\\n AsyncCallback asyncCallback = new AsyncCallback() {\\r\\n \\r\\n public void onSuccess(String result) {\\r\\n if (result != null) {\\r\\n if (result.equals(User.USER_INVALID)) {\\r\\n System.out.println(\\\"Unsuccessfully deleted\\\"); \\r\\n }\\r\\n if (result.equals(String.valueOf(User.OK))) {\\r\\n System.out.println(\\\"Successfully deleted\\\");\\r\\n }\\r\\n History.newItem(\\\"welcome\\\");\\r\\n History.newItem(\\\"logout\\\");\\r\\n }\\r\\n }\\r\\n \\r\\n public void onFailure(Throwable caught) {\\r\\n System.out.println(caught);\\r\\n }\\r\\n };\\r\\n \\r\\n userServiceAsync.delete(user, asyncCallback);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d782a81a8e0a126fd5fd96fb6bbcb4d9\",\n \"score\": \"0.6031292\",\n \"text\": \"private void doDeleteAccount() {\\n String usernameCommand;\\n String passwordCommand;\\n Registration account;\\n\\n System.out.println(\\\"Username and Password are not capital-sensitive\\\");\\n System.out.println(\\\"\\\\nEnter the username of the account you wish to delete\\\");\\n System.out.print(\\\"Username: \\\");\\n usernameCommand = input.nextLine();\\n usernameCommand = usernameCommand.toLowerCase();\\n\\n System.out.println(\\\"\\\\nEnter the password of the account you wish to delete\\\");\\n System.out.print(\\\"Password: \\\");\\n passwordCommand = input.nextLine();\\n passwordCommand = passwordCommand.toLowerCase();\\n\\n account = new Registration(usernameCommand, passwordCommand);\\n JsonNode accountNode = Json.toJson(account);\\n try {\\n Json.removeRegistrationFromFile(accountNode, \\\"User\\\");\\n } catch (IOException e) {\\n System.out.println(\\\"Could not register user\\\");\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd2e3afdfceccd665a71ed8ecfc44f68\",\n \"score\": \"0.60212785\",\n \"text\": \"public void setAccountId(Integer accountId) {\\r\\n\\t\\tthis.accountId = accountId;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65f25927390849117e839f8683c9579e\",\n \"score\": \"0.60082006\",\n \"text\": \"@RequestMapping(value = \\\"/bankAccounts/{id}\\\",\\n method = RequestMethod.DELETE,\\n produces = MediaType.APPLICATION_JSON_VALUE)\\n @Timed\\n public void delete(@PathVariable Long id) {\\n log.debug(\\\"REST request to delete BankAccount : {}\\\", id);\\n bankAccountRepository.delete(id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"139601f196bdef634b7fcb688024c098\",\n \"score\": \"0.5998785\",\n \"text\": \"public void setAccountId(String accountId) {\\n this.accountId = accountId == null ? null : accountId.trim();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"410d79b51f0c8509d78e7b501cf98c2c\",\n \"score\": \"0.5997636\",\n \"text\": \"public void removeCustomerFromAccount(String customerId, \\r\\n String accountId) throws RemoteException, \\r\\n AccountNotFoundException, CustomerRequiredException, \\r\\n CustomerNotInAccountException, InvalidParameterException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ebc8ebfa754b8df454314d32dfe8aa5\",\n \"score\": \"0.59478223\",\n \"text\": \"public void filedelete(AccountDTO acct, String filenum) throws RemoteException, RejectedException,\\r\\n AccountException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fe30f9b8530e84f874eb18c1c96e012\",\n \"score\": \"0.5918913\",\n \"text\": \"@Override\\n\\tpublic void delete(BankAccounts obj) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42a6fa5d5a9f7216d4053a19fd1f0e62\",\n \"score\": \"0.5918213\",\n \"text\": \"public void deleteAccount(String username){\\n File file = new File(username + Constants.FILE_ACC_EXTENTION.getFull());\\n if (file.delete()) {\\n System.out.println(\\\"Account deleted: \\\" + username);\\n } else {\\n System.out.println(\\\"Failed to delete the account: \\\" + username);\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a0eb2c4b5f6b072208b9418011056ca\",\n \"score\": \"0.58699614\",\n \"text\": \"public void deleteAccount(String delAccName, MongoDatabase db) {\\n\\t\\tMongoCollection accounts = db.getCollection(\\\"users\\\");\\n\\t\\tMongoCollection courses = db.getCollection(\\\"courses\\\");\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\tBasicDBObject fields = new BasicDBObject(\\\"class_list\\\", \\n\\t\\t new BasicDBObject( \\\"student_name\\\", delAccName));\\n\\t BasicDBObject update = new BasicDBObject(\\\"$pull\\\",fields);\\n\\t //deregistering user from all courses he registered in\\n\\t courses.updateMany(fields, update);\\n\\t \\n\\t //incrementing capacity by one, since we deregister user from all courses\\n\\t BasicDBObject newDocument = new BasicDBObject().append(\\\"$inc\\\", new BasicDBObject().append(\\\"capacity\\\", 1));\\n\\t\\tcourses.updateMany(fields, newDocument);\\n\\t \\n\\t \\n\\t //deleting student's existence in system\\n\\t\\taccounts.deleteOne(Filters.eq(\\\"name\\\", delAccName));\\n\\t\\tSystem.out.println(\\\"Deleting \\\" + delAccName);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97da6b2a1f331c279f0afadcb6d83394\",\n \"score\": \"0.58670086\",\n \"text\": \"@CrossOrigin\\n\\t@RequestMapping(\\n\\t\\t\\tvalue=\\\"/qlik/api/message/{id}\\\",\\n\\t\\t\\tmethod=RequestMethod.DELETE,\\n\\t\\t\\tconsumes=MediaType.APPLICATION_JSON_VALUE,\\n\\t\\t\\tproduces=MediaType.APPLICATION_JSON_VALUE)\\n\\tpublic ResponseEntity deleteAccount(@PathVariable(\\\"id\\\") Long id) {\\n\\t\\tboolean b = messageService.deleteMessage(id);\\n\\t\\tif(b){\\n\\t\\t\\treturn new ResponseEntity(HttpStatus.OK);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"invalid data\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b0e3b0a17fc0240e8cc12ff64cea1b1\",\n \"score\": \"0.58444124\",\n \"text\": \"@DELETE\\n @Path(\\\"{login}\\\")\\n public void deleteAccount(@PathParam(\\\"login\\\") String login) {\\n try {\\n accounts.remove(login);\\n\\n } catch (AccountStorage.UserNotFoundException e) {\\n throw new NotFoundException(\\\"User \\\"+login+\\\" does not exist\\\");\\n } catch (IOException e) {\\n throw new WebApplicationException(e.getMessage(), Response.Status.INTERNAL_SERVER_ERROR);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfcda50bcb56b8d49d27eac44c4e3311\",\n \"score\": \"0.58134466\",\n \"text\": \"@Override\\n\\tpublic Mono deleteaccount(String id) {\\n\\t\\treturn accountrepo.findById(id).switchIfEmpty(Mono.error(new Exception(\\\"No encontrado\\\"))).flatMap(accountrepo::delete);\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"728fa4a946ba849d45d1ed1d9295fc6e\",\n \"score\": \"0.57604593\",\n \"text\": \"public Response deleteBen(String account, String benId) {\\n\\t\\tResponse response = new Response();\\r\\n\\t\\tAccount account1 = accountRepository.findOne(account);\\r\\n\\t\\tAccount account2 = accountRepository.findOne(benId);\\r\\n\\r\\n\\t\\tif (account1 != null && account2 != null && account1.getBeneficiaries().contains(account2)) {\\r\\n\\t\\t\\taccount1.getBeneficiaries().remove(account2);\\r\\n\\t\\t\\tSystem.out.println(account1.getBeneficiaries());\\r\\n\\t\\t\\tresponse.setStatus(\\\"SUCCESS\\\");\\r\\n\\t\\t\\tresponse.setError(\\\"NONE\\\");\\r\\n\\t\\t\\taccountRepository.save(account1);\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tresponse.setStatus(\\\"FAILED\\\");\\r\\n\\t\\t\\tresponse.setError(\\\"INVALID DETAILS\\\");\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn response;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ad215b345312f657d6dfee10303b949\",\n \"score\": \"0.57391083\",\n \"text\": \"public void deleteAccountData() {\\n SharedPreferences.Editor mAppPrefEditor = appPreferences.edit();\\n mAppPrefEditor.remove(Account.ACCOUNT_MAIN_KEY);\\n mAppPrefEditor.apply();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf043c9bfa2d6c0e4abd1f9028cb7d4d\",\n \"score\": \"0.5738815\",\n \"text\": \"public void setId(String accountId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e21aa1e30f6d32366839de65dba59bb\",\n \"score\": \"0.5720753\",\n \"text\": \"ILoA remove(int accountNum);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a2129a67425f57046d7980930ec9498\",\n \"score\": \"0.56511736\",\n \"text\": \"int deleteByExample(AccountModelExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8446fd1684a85a450798bfe3e241a2f\",\n \"score\": \"0.56508696\",\n \"text\": \"@Test\\n public void deleteAccountTest() throws Exception {\\n Account account = jpaAccountDao.findById(1);\\n entityManager.getTransaction().begin();\\n boolean removed = jpaAccountDao.delete(account.getId());\\n entityManager.getTransaction().commit();\\n\\n Account res = jpaAccountDao.findById(1);\\n assertNull(res);\\n assertNotEquals(jpaAccountDao.findById(1), \\\"Account{id=1, customer=Customer{customerId=1, firstName='Kim', lastName='Pedersen', email='kim@yahoo.no', phoneNumber='90045870', birth=1980-11-05 00:00:00.0}, login= 'Login{Id=1, username='kimPedda', password='kimSimDimSum'}}\\\");\\n assertTrue(removed);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"104ccd14735d8f15d3c7190849083d23\",\n \"score\": \"0.56370586\",\n \"text\": \"@Override\\n\\tpublic void delete(UserAccount user) {\\n\\t\\tlogger.info(\\\"aaaaaa===delete====\\\",user);\\n\\t\\tthis.redisUserAccountDao.delete(user);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf028dca3dc5931d0ec7c168c5fd75aa\",\n \"score\": \"0.56357634\",\n \"text\": \"public void setAccountId(int value) {\\n this.accountId = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0f5d3f0bc4ec9b29e4c33fefceee307\",\n \"score\": \"0.56338644\",\n \"text\": \"@Test\\r\\n\\tpublic void testDeleteAccount() {\\r\\n\\t\\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\\r\\n\\t\\tsession.beginTransaction();\\r\\n\\r\\n\\t\\tAccount account = createAccount();\\r\\n\\t\\tSystem.out.println(\\\"var account = \\\" + account);\\r\\n\\r\\n\\t\\t// delete the account\\r\\n\\t\\t// ------ --- -------\\r\\n\\t\\tAccountService accountService = new AccountService();\\r\\n\\t\\taccountService.deleteAccount(account);\\r\\n\\r\\n\\t\\tsession.getTransaction().commit();\\r\\n\\t\\tHibernateUtil.getSessionFactory().close();\\r\\n\\r\\n\\t\\t// try to get the account again -- should be null\\r\\n\\t\\t// --- -- --- --- ------- ----- -- ------ -- ----\\r\\n\\t\\tSession session2 = HibernateUtil.getSessionFactory()\\r\\n\\t\\t\\t\\t.getCurrentSession();\\r\\n\\t\\tsession2.beginTransaction();\\r\\n\\r\\n\\t\\tAccount anotherCopy = accountService.getAccount(account.getAccountId());\\r\\n\\r\\n\\t\\tSystem.out.println(\\\"var anotherCopy = \\\" + anotherCopy);\\r\\n\\r\\n\\t\\tAssert.assertNull(anotherCopy);\\r\\n\\r\\n\\t\\tsession2.getTransaction().commit();\\r\\n\\t\\tHibernateUtil.getSessionFactory().close();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fbe790a07b85ea3b65ae85abebe2ea5\",\n \"score\": \"0.56251794\",\n \"text\": \"public void delete(AccountLevelPk pk) throws DataBaseJdbcException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c6dd381746f51dc4a76324380718f51\",\n \"score\": \"0.56249297\",\n \"text\": \"public final void deleteAccount(final User user, final Account account)\\n throws NotExistStorageException {\\n Objects.requireNonNull(user, \\\"user must not be null\\\");\\n Objects.requireNonNull(user, \\\"account must not be null\\\");\\n if (this.map.containsKey(user)) {\\n this.map.get(user).remove(account);\\n } else {\\n throw new NotExistStorageException(\\\"The user is't in storage\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0666b6c92bf006cd83c0f2e72b0acbc1\",\n \"score\": \"0.56142545\",\n \"text\": \"Completable deleteAsync(String resourceGroupName, String accountName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3f40bdc196e8d122da37c6014565eb7\",\n \"score\": \"0.55905855\",\n \"text\": \"@Override\\n public void deletePolicyForAccount(String accountId, String policyId, String serverDomainName, String username, String bearerToken) throws DsmClientException {\\n Policy policy = new Policy();\\n policy.setVendorPolicyId(policyId);\\n policy.setHostName(serverDomainName);\\n policy.setUsername(username);\\n policyMessageSender.deletePolicyForAccount(new PolicyBean(accountId, policy, bearerToken.substring(7)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83d92b617e39e0bd43e55c5875a58988\",\n \"score\": \"0.55740297\",\n \"text\": \"public void deleteSyncedDataSync(long accountId) {\\n try {\\n // Delete synced attachments\\n AttachmentUtilities.deleteAllAccountAttachmentFiles(mProviderContext,\\n accountId);\\n\\n // Delete synced email, leaving only an empty inbox. We do this in two phases:\\n // 1. Delete all non-inbox mailboxes (which will delete all of their messages)\\n // 2. Delete all remaining messages (which will be the inbox messages)\\n ContentResolver resolver = mProviderContext.getContentResolver();\\n String[] accountIdArgs = new String[] { Long.toString(accountId) };\\n resolver.delete(Mailbox.CONTENT_URI,\\n MAILBOXES_FOR_ACCOUNT_EXCEPT_ACCOUNT_MAILBOX_SELECTION,\\n accountIdArgs);\\n resolver.delete(Message.CONTENT_URI, MESSAGES_FOR_ACCOUNT_SELECTION, accountIdArgs);\\n\\n // Delete sync keys on remaining items\\n ContentValues cv = new ContentValues();\\n cv.putNull(Account.SYNC_KEY);\\n resolver.update(Account.CONTENT_URI, cv, Account.ID_SELECTION, accountIdArgs);\\n cv.clear();\\n cv.putNull(Mailbox.SYNC_KEY);\\n resolver.update(Mailbox.CONTENT_URI, cv,\\n MAILBOXES_FOR_ACCOUNT_SELECTION, accountIdArgs);\\n\\n // Delete PIM data (contacts, calendar), stop syncs, etc. if applicable\\n IEmailService service = getServiceForAccount(accountId);\\n if (service != null) {\\n service.deleteAccountPIMData(accountId);\\n }\\n } catch (Exception e) {\\n Log.w(Logging.LOG_TAG, \\\"Exception while deleting account synced data\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e09545512d7c91dfb79529beb88f9514\",\n \"score\": \"0.55523103\",\n \"text\": \"public boolean deleteAccount (String username) \\n throws SQLException, NamingException {\\n boolean result = false;\\n Connection con = null;\\n PreparedStatement stmt = null;\\n \\n try {\\n con = DBHelper.makeConnection();\\n\\n if (con != null) {\\n String sqlStr = \\\"DELETE \\\"\\n + \\\"FROM accountInfo \\\"\\n + \\\"WHERE username = ?\\\";\\n stmt = con.prepareStatement(sqlStr);\\n stmt.setString(1, username);\\n\\n int iCount = stmt.executeUpdate();\\n\\n if (iCount > 0) {\\n result = true;\\n }\\n }\\n } finally {\\n if (stmt != null) {\\n stmt.close();\\n }\\n if (con != null) {\\n con.close();\\n }\\n }\\n \\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f8ba8a2e4b0fed9ba93d5e9a943aa40\",\n \"score\": \"0.55403155\",\n \"text\": \"public void remove(int id){\\r\\n accountList.remove(id);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"458a45c1e3ddf01cc26eb695fb534b0f\",\n \"score\": \"0.553507\",\n \"text\": \"void unsetAccountUserID();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbf9e9f99d7eaf4f5bed0e720f177b13\",\n \"score\": \"0.552892\",\n \"text\": \"public AccountDelete(User user) {\\r\\n\\t\\tthis.user = user;\\r\\n\\t\\tinitialize();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91c78b9364e122f6750fe7f7d96cc575\",\n \"score\": \"0.5526575\",\n \"text\": \"public static void deleteUser(User u) {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tConnection c = Database.getConnection(); //get connection from sqllite database\\r\\n\\t String sql = \\\"DELETE FROM Accounts WHERE appUser = ? and type = ? and username = ?;\\\"; //sql query\\r\\n\\t\\t\\tPreparedStatement ps = c.prepareStatement(sql);\\r\\n\\t\\t\\tps.setString(1,u.getUsername());\\r\\n\\t\\t\\tps.setString(2,u.a.getType().toUpperCase());\\r\\n\\t\\t\\tps.setString(3, u.a.getUsername());\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tps.executeUpdate();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Account was successfully deleted from the System!\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//closing sql variables to prevent resource leak\\r\\n\\t\\t\\t ps.close();\\r\\n\\t\\t\\t c.close();\\r\\n\\t\\t\\t \\r\\n\\t\\t\\t\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n //if the account could not be deleted for what ever reason\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(null,\\\"Account could not be deleted at this moment. Please try again later.\\\");\\r\\n\\t}\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"532b24c8dabae96f2f7297d9bb29d819\",\n \"score\": \"0.5475527\",\n \"text\": \"public Integer deleteParticipant(ParticipantObject participantObject) throws AppException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53ad80ec0322867c633af19110e443fc\",\n \"score\": \"0.54729384\",\n \"text\": \"public void removeAccount()\\n {\\n check = 5;\\n screen.append(\\\"Enter account name to be removed...\\\\n\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a2a7dde85fc9b54e9d0f3d02a0c6e40\",\n \"score\": \"0.5470848\",\n \"text\": \"@Ignore\\n @Test\\n public void testDeleteAccount() throws Exception {\\n System.out.println(\\\"deleteAccount\\\");\\n String accountId = \\\"251\\\";\\n ManagerImplementation instance = new ManagerImplementation();\\n boolean result = instance.deleteAccount(accountId);\\n assertTrue(result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3edc864665180c952874b9f9b939ce41\",\n \"score\": \"0.54692435\",\n \"text\": \"public static int deleteUserAccount(int userID) {\\n\\t\\tcsvDB.addRemovedPatientAppointmentHistory(userID);\\n\\t\\treturn UserAccountDB.deleteUserAccount(userID);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d059f74bcc9e8c8b33dbe250e7e8d3f5\",\n \"score\": \"0.5459376\",\n \"text\": \"int deleteByExample(KsmAccountExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"785beddbdf57be179d3496455cb9f336\",\n \"score\": \"0.5453215\",\n \"text\": \"@Test\\n @Ignore(\\\"Tested in other test\\\")\\n public void deleteAccountQueueTest() throws ApiException {\\n\\n Integer accountId = null;\\n Integer queueId = null;\\n DeleteQueue response = api.deleteAccountQueue(accountId, queueId);\\n assertNotNull(response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8449808ca9c7e1166117fe046d4252a1\",\n \"score\": \"0.54394966\",\n \"text\": \"private com.squareup.okhttp.Call deleetAccountCall(Integer accountNumber, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {\\n Object localVarPostBody = null;\\n \\n // verify the required parameter 'accountNumber' is set\\n if (accountNumber == null) {\\n throw new ApiException(\\\"Missing the required parameter 'accountNumber' when calling deleetAccount(Async)\\\");\\n }\\n \\n\\n // create path and map variables\\n String localVarPath = \\\"/account-delete/{accountNumber}\\\".replaceAll(\\\"\\\\\\\\{format\\\\\\\\}\\\",\\\"json\\\")\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"accountNumber\\\" + \\\"\\\\\\\\}\\\", apiClient.escapeString(accountNumber.toString()));\\n\\n List localVarQueryParams = new ArrayList();\\n\\n Map localVarHeaderParams = new HashMap();\\n\\n Map localVarFormParams = new HashMap();\\n\\n final String[] localVarAccepts = {\\n \\n };\\n final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);\\n if (localVarAccept != null) localVarHeaderParams.put(\\\"Accept\\\", localVarAccept);\\n\\n final String[] localVarContentTypes = {\\n \\n };\\n final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);\\n localVarHeaderParams.put(\\\"Content-Type\\\", localVarContentType);\\n\\n if(progressListener != null) {\\n apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {\\n @Override\\n public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {\\n com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());\\n return originalResponse.newBuilder()\\n .body(new ProgressResponseBody(originalResponse.body(), progressListener))\\n .build();\\n }\\n });\\n }\\n\\n String[] localVarAuthNames = new String[] { };\\n return apiClient.buildCall(localVarPath, \\\"DELETE\\\", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f088ce94d884b1a506957bc8a7485c1\",\n \"score\": \"0.5437859\",\n \"text\": \"void delete(String projectId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa47d27bd05fa3ee820d474130caf86c\",\n \"score\": \"0.54047763\",\n \"text\": \"void deleteByProjectIdentifier(String projectIdentifier);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bbca1b0fe19526a62d7798af66925e7\",\n \"score\": \"0.5398122\",\n \"text\": \"@Override\\n\\tpublic void deleteTenant(int tenantId) throws TenantNotFoundException {\\n\\t\\tlogger.info(\\\"Called deleteTenant() method of TenantService\\\");\\n\\t\\tTenant value = tenantRepository.findById(tenantId)\\n\\t\\t\\t\\t.orElseThrow(() -> new TenantNotFoundException(\\\"Tenant with id \\\" + tenantId + \\\" does not exist.\\\"));\\n\\t\\ttenantRepository.delete(value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05db2bd8d66b67e39366a909473c32ce\",\n \"score\": \"0.53969765\",\n \"text\": \"@RequestMapping({\\\"/delete-account.html\\\"})\\r\\n/* 153: */ @ResponseBody\\r\\n/* 154: */ @PreAuthorize(\\\"hasAnyRole('ROLE_USER') \\\")\\r\\n/* 155: */ public boolean delete_account(@RequestParam(\\\"id\\\") int id)\\r\\n/* 156: */ throws Exception\\r\\n/* 157: */ {\\r\\n/* 158:164 */ logger.log(Level.FINE, \\\"delete-account called.\\\");\\r\\n/* 159:165 */ Accounts account = (Accounts)this.accountsDAO.getRecordByPrimaryKey(Integer.valueOf(id));\\r\\n/* 160:166 */ if (account != null)\\r\\n/* 161: */ {\\r\\n/* 162:167 */ account.setVisible(Boolean.valueOf(false));\\r\\n/* 163:168 */ int updateResult = this.accountsDAO.update(account);\\r\\n/* 164:169 */ if (updateResult > 0)\\r\\n/* 165: */ {\\r\\n/* 166:170 */ logger.log(Level.INFO, \\\"Account with id {0} deleted successfully\\\", account.getId());\\r\\n/* 167:171 */ return true;\\r\\n/* 168: */ }\\r\\n/* 169:174 */ logger.log(Level.WARNING, \\\"Error occurred while deleting account with id {0}\\\", account.getId());\\r\\n/* 170:175 */ return false;\\r\\n/* 171: */ }\\r\\n/* 172:178 */ logger.log(Level.INFO, \\\"Account with id {0} is already deleted\\\", Integer.valueOf(id));\\r\\n/* 173:179 */ return true;\\r\\n/* 174: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25472d311428d715e445c30a0591d72a\",\n \"score\": \"0.5385109\",\n \"text\": \"public void removeAccount(Account toBeDeleted) {\\r\\n\\t\\t/* PROTECTED REGION ID(java.implementation._16_0_129203bc_1271098548578_11924_332) ENABLED START */\\r\\n\\t\\t// TODO: implementation of method 'AccountBean.removeAccount(...)'\\r\\n\\t\\tthrow new UnsupportedOperationException(\\\"The implementation of this generated method stub is missing!\\\");\\r\\n\\t\\t/* PROTECTED REGION END */\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af1e4abc0c13212a3a4bcba4d8b75287\",\n \"score\": \"0.53834605\",\n \"text\": \"boolean confirmAccount(Long id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03bcdefa3633337a5898eb5b4b040581\",\n \"score\": \"0.5368234\",\n \"text\": \"Project deleteProjectById(int projectId, Integer userId) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a8794c24e86b6d99bd6636f62d24cb\",\n \"score\": \"0.5363361\",\n \"text\": \"int deleteByExample(SysAccountRoleExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfb5786d441be9449c85b6bcefe19526\",\n \"score\": \"0.53559667\",\n \"text\": \"public void cancelAccount(String id){\\n\\t\\tint i = findMatchingAccount(id);\\n\\t\\tif(i == -1){\\n\\t\\t\\tthrow new IllegalArgumentException();\\n\\t\\t}\\n\\t\\tlist.get(i).closeAccount();\\n\\t\\tlist.remove(i);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b45476a312b3c681397ad57d090240\",\n \"score\": \"0.53550744\",\n \"text\": \"public AccountModel deleteSpecificAccountByUserId(UUID userid) {\\n\\n Set set = accountList.entrySet();\\n Iterator iterator = set.iterator();\\n while(iterator.hasNext()) {\\n Map.Entry mentry = (Map.Entry)iterator.next();\\n\\n if (tools.regexFoundString(FOUND_USER_ID, mentry.getValue().toString())){\\n LOG.info(\\\"found user in account list: \\\" + mentry.getValue().toString());\\n //--- extract uuid account and delete it\\n String idAccount = tools.regexFoundAndExtractString(ID_ACCOUNT, mentry.getValue().toString());\\n LOG.info(\\\"found id account: \\\" + idAccount);\\n deleteSpecificAccountById(UUID.fromString(idAccount));\\n }\\n }\\n LOG.debug(\\\"can't delete account with {} uuid \\\", userid);\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"444b363de0ba2517bf191d54271c75e0\",\n \"score\": \"0.5336336\",\n \"text\": \"public void deleteAccount(int rowNumber) {\\n\\t\\ttry {\\t\\t\\t\\n\\t\\t\\tdoConnect(); // Connect to the database\\t\\n\\t\\t\\t\\n\\t\\t\\t// Move to the specified row and delete it from the ResultSet\\n\\t\\t\\tresults.absolute(rowNumber);\\n\\t\\t\\tresults.deleteRow(); \\n\\t\\t\\t\\n\\t\\t\\t// Close these objects to make changes to the database\\n\\t\\t\\tmyConnection.close();\\n\\t\\t\\tmyStatement.close();\\n\\n\\t\\t\\tdoConnect(); // Re-connect to the database\\t\\n\\t\\t\\t\\n\\t\\t\\t// Move to the last row and store the number of rows\\n\\t\\t\\tresults.last();\\n\\t\\t\\tint numberOfRows = results.getRow();\\n\\n\\t\\t\\t// Then move back to the previously specified row\\n\\t\\t\\tresults.absolute(rowNumber); \\n\\n\\t\\t\\t/* Loop through the rows starting from the specified row till the\\n\\t\\t\\tlast one and decrement each row's ID by one to get the new order. */\\n\\t\\t\\tfor (int i = rowNumber; i <= numberOfRows; i++) {\\n\\t\\t\\t\\tresults.absolute(i);\\n\\t\\t\\t\\tresults.updateInt(\\\"CustomerID\\\", i);\\n\\t\\t\\t\\tresults.updateRow();\\n\\t\\t\\t}\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\tlogger.log(Level.SEVERE, \\\"Exception: \\\", e);\\n\\n\\t\\t} finally {\\n\\t\\t\\tif (myConnection != null) {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tmyConnection.close();\\n\\t\\t\\t\\t} catch (SQLException e) {\\n\\t\\t\\t\\t\\tlogger.log(Level.SEVERE, \\\"Exception: \\\", e);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif (myStatement != null) {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tmyStatement.close();\\n\\t\\t\\t\\t} catch (SQLException e) {\\n\\t\\t\\t\\t\\tlogger.log(Level.SEVERE, \\\"Exception: \\\", e);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e60cd1d0e6e4227a99c9f2d666c9d7d6\",\n \"score\": \"0.5333243\",\n \"text\": \"public static void deleteUser() throws Exception {\\r\\n\\t\\tLOG.info(\\\"Entering delete\\\");\\r\\n\\t\\tOktaMigrator migrator = new OktaMigrator();\\r\\n\\t\\tString oktaId = \\\"/00uocb4vjrESanRHG0h7\\\";\\r\\n\\t\\t\\t\\t\\r\\n String results = migrator.deleteUserByOktaId(apiUrl, apiKey, oktaId);\\r\\n\\t LOG.debug(results);\\r\\n\\t LOG.info(\\\"Exiting delete\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3a78ac4833e480783484f0fb276e1c5\",\n \"score\": \"0.5332404\",\n \"text\": \"@Override\\n\\tpublic void deleteParticipant(int aId, int userId) {\\n\\t\\tSession session = null;\\n\\t\\ttry{\\n\\t\\t\\tsession = HiberSessionFactory.getSession(); \\n\\t\\t\\tsession.beginTransaction(); \\n\\t\\t\\tActivity activity = (Activity) session.get(Activity.class, aId);\\n\\t\\t\\tUser user = (User)session.get(User.class, userId);\\n\\t\\t\\tactivity.getParticipants().remove(user);\\n\\t\\t\\tsession.getTransaction().commit();\\n\\t\\t}\\n\\t\\tcatch(Exception e){\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\tfinally{\\n\\t\\t HiberSessionFactory.closeSession();\\n\\t\\t}\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df6a3f7d6de255952a06f3b952006051\",\n \"score\": \"0.5329495\",\n \"text\": \"public Integer deleteCredential(Integer credId){\\r\\n return credMapper.deleteCredential(credId);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"914acc6144db7bfbd47a00b2c3aa719f\",\n \"score\": \"0.53285235\",\n \"text\": \"public int deleteTrialbalance(Trialbalance p) throws Exception {\\n\\n\\t\\tString sql = \\\"DELETE FROM trialbalance WHERE ID = ?\\\";\\n\\n\\t\\treturn ds.execDML(sql, p.getId());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f44969a60606f0fa58f8d4897850059\",\n \"score\": \"0.5325475\",\n \"text\": \"public void setAccountId(long value) {\\n this.accountId = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7be094b2d7f2dd78cab74b38883fc04f\",\n \"score\": \"0.53253406\",\n \"text\": \"public void deleetAccount(Integer accountNumber) throws ApiException {\\n deleetAccountWithHttpInfo(accountNumber);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"494f6995c0f41c46db6094d6741e07b6\",\n \"score\": \"0.5317449\",\n \"text\": \"@ApiMethod(name = \\\"unregister\\\")\\n public void unregisterDevice(@Named(\\\"regId\\\") String regId, @Named(\\\"accountId\\\") String accountId) {\\n RegistrationRecord record = findRecord(regId, accountId);\\n if(record == null) {\\n log.info(\\\"Device \\\" + regId + \\\" not registered for account \\\" + accountId);\\n return;\\n }\\n ofy().delete().entity(record).now();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b01da6e57ad95c7c6f81280dd775f528\",\n \"score\": \"0.5313304\",\n \"text\": \"@Override\\r\\n\\tpublic void delete(AccountHistory entity) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aca964bb6fa244f291c83ab2a5d2d11e\",\n \"score\": \"0.5300732\",\n \"text\": \"void deleteUser(final String username);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21a4ab230ed3d47f51b0a631b9201743\",\n \"score\": \"0.52922964\",\n \"text\": \"void deleteCustomer(Integer customerId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fef46f4520bc701c753e38b8181f5e05\",\n \"score\": \"0.5282105\",\n \"text\": \"void deleteUserById(Long userId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4d598ab00f84dd89b8225b4975e872e\",\n \"score\": \"0.5280516\",\n \"text\": \"@Modifying\\n @Query(value = \\\"delete from GroupAccount ga where ga.accountId.accountId in (:accountIds) and ga.groupId.groupId = :groupId\\\")\\n public void removeAccountFromGroup(@Param(\\\"accountIds\\\") List accountIds,\\n @Param(\\\"groupId\\\") int groupId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6928b39b3fa042be72bb2691ce9e21b1\",\n \"score\": \"0.5278001\",\n \"text\": \"void deleteUser(Long userId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630f72ce15919328c368c184e522b680\",\n \"score\": \"0.52716184\",\n \"text\": \"public int deleteTrialbalance(Long id) throws Exception {\\n\\n\\t\\tString sql = \\\"DELETE FROM trialbalance WHERE ID = ?\\\";\\n\\n\\t\\treturn ds.execDML(sql, id);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab74b2c451ea1811a3d1856e3db7cdb4\",\n \"score\": \"0.5260445\",\n \"text\": \"public static void deleteTenant(String formData) {\\n String id = formData.substring(7);\\n Long tenantId = Long.parseLong(id);\\n Tenant tenant = Tenant.findById(tenantId);\\n\\n Logger.info(\\\"Deleting tenant: \\\" + tenant.firstName + \\\" \\\" + tenant.lastName);\\n Residence res = tenant.residence;\\n res.tenant = null;\\n res.save();\\n tenant.delete();\\n ajaxDeleteResponse(id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36597f13fb2a9caea93bc3daff4538d0\",\n \"score\": \"0.52507025\",\n \"text\": \"public void deleteUser(int id,User user) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0629931ac1ef0dd8949d125fef278482\",\n \"score\": \"0.5245528\",\n \"text\": \"public boolean delete(Credential credential) throws CredentialNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bab70f5d8f9b6aac3f78fb4ad1c032bb\",\n \"score\": \"0.52300256\",\n \"text\": \"public boolean deleteProfile(Integer tenantId, String itemId, String itemType);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":898,"cells":{"query_id":{"kind":"string","value":"3678301272d577e225b9c736e6cc465a"},"query":{"kind":"string","value":"Constructs a new instance defined by the default element."},"positive_passages":{"kind":"list like","value":[{"docid":"b543a37f991db635979d7e5310b193e7","score":"0.52793324","text":"public BasketItem()\n {\n this(biz.c24.retaildemo.model.java.BasketItemClass.getInstance().getNullDefiningElementDecl());\n }","title":""}],"string":"[\n {\n \"docid\": \"b543a37f991db635979d7e5310b193e7\",\n \"score\": \"0.52793324\",\n \"text\": \"public BasketItem()\\n {\\n this(biz.c24.retaildemo.model.java.BasketItemClass.getInstance().getNullDefiningElementDecl());\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"96dae842601a64420b1f821295da9496","score":"0.65984637","text":"BasicElem createBasicElem();","title":""},{"docid":"5a8869c9cce079817a18e62432ca2050","score":"0.6395638","text":"public abstract Element create();","title":""},{"docid":"e4188f3ffbbb944b5cc4a82cd182ff2d","score":"0.6348992","text":"public Elemento() {\r\n\t}","title":""},{"docid":"85df92017a9c7c08c00ea98d246b8d2e","score":"0.6136131","text":"protected T createDefaultValue() {\r\n return defaultValue;\r\n }","title":""},{"docid":"fdd5637922196a96d802693b461d4e4e","score":"0.6011907","text":"public AssociatedElement() {}","title":""},{"docid":"da22442eb581b9b435b244f2781ad00c","score":"0.5960177","text":"protected ManagedElement() {\n \t}","title":""},{"docid":"8adee79b4cf79a1c9f0a76e245aa0650","score":"0.5955213","text":"public void initializeDefault();","title":""},{"docid":"9eae753c47805844488c392c8440861e","score":"0.59517753","text":"public DefaultStructurePolicyValue() {\n }","title":""},{"docid":"545cd2b341c5293e878263c6cfa3fb4b","score":"0.5948499","text":"public Elemento() {\r\n this.setIdentificador(\"elemento sin nombre\");\r\n this.setNodoA(new Nodo());\r\n this.setNodoB(new Nodo());\r\n this.setSeccion(new Seccion());\r\n this.setMaterial(new Material());\r\n //this.setMarcoPadre(0);\r\n }","title":""},{"docid":"f29b7f0cd5157eed7345ef87f65ed09b","score":"0.5921387","text":"public T getDefault();","title":""},{"docid":"47683955403a9bb7836677d410685640","score":"0.589201","text":"public void setDefault() {\n }","title":""},{"docid":"e2b20533d4ee218dcbfdbd4bd06a103f","score":"0.5823287","text":"public IDElementImpl() {\r\n\t\tsuper();\r\n\t\tthis.id = IDGenerator.generateId();\r\n\t\tcreationTime = System.currentTimeMillis();\r\n\t}","title":""},{"docid":"ecb943f81972e71493c4b95d0fcb34fa","score":"0.58181006","text":"private XMLNode() {}","title":""},{"docid":"ff9f6354cf00cff26898693fdedb5b89","score":"0.579249","text":"public KeyValueElement() {}","title":""},{"docid":"7e3120e5463fc74767ce6e61e8af1e50","score":"0.57596284","text":"protected InputElement() {/* intentionally empty block */}","title":""},{"docid":"51a09b6f9d94c415c3a13f3e9af852b1","score":"0.5736343","text":"@Override\n public AnimaBook createDefault(){\n\n return new AnimaBook(\"Anima\", 40, 1, 3);\n }","title":""},{"docid":"0c41a9f77b3af6bdb32ac7f3bb4d3ee5","score":"0.5732052","text":"protected Document createDefaultConfigProperty() {\n try {\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n factory.setNamespaceAware(true);\n Document document = factory.newDocumentBuilder().newDocument();\n Element root = document.createElement(\"values\");\n document.appendChild(root);\n Element config = document.createElement(\"config\");\n root.appendChild(config);\n return document;\n } catch (ParserConfigurationException e) {\n throw new AssertionError(e);\n }\n }","title":""},{"docid":"b99860b3114896cd1677e70e2f5e454a","score":"0.5703012","text":"public DefaultBodyDescriptor() {\n this(null);\n }","title":""},{"docid":"5b7beac23c5e9fe85828e01ffff57e90","score":"0.5700551","text":"protected Document createDefaultModel() {\n\t\treturn new NumericPlainDocument();\n\t}","title":""},{"docid":"ae44aeb50b73820442264c3d00947665","score":"0.5685122","text":"public Node createConstructorNode(ConstructorElement element) {\n ConstructorElementNode n = new ConstructorElementNode(element, false);\n n.setDefaultAction(SystemAction.get(PropertiesAction.class));\n n.setActions(getDefaultActions());\n return n;\n }","title":""},{"docid":"e0ae40a171707278d939fa092c1680b3","score":"0.56807303","text":"public Object getDefaultValue();","title":""},{"docid":"74c9582e548696c8eb156764bae437fc","score":"0.5657764","text":"@Override\r\n\tpublic Element getDefaultRootElement() {\n\t\treturn null;\r\n\t}","title":""},{"docid":"9037d56bbd34c5c669820a83c2652497","score":"0.56111056","text":"protected Object createComponent( final String role, final Class defaultImpl )\n throws Exception\n {\n return defaultImpl.newInstance();\n }","title":""},{"docid":"278aff62a17e56b4d271a64487dc01ed","score":"0.56100416","text":"public GNElement newElement(String name)\n throws XMLException\n {\n try\n {\n return GNXMLDocumentUtility.newElement(name);\n }\n catch (Exception ex)\n {\n Logger.warn(\"[XMLServiceHandler.newElement]\",\n \"Unable to create GNElement\", ex);\n throw new XMLException(\"[XMLServiceHandler.newElement] Unable to create GNElement\", ex);\n }\n }","title":""},{"docid":"54577239d6480fe05ec7fa995789cee7","score":"0.5607846","text":"protected Document createDefaultModel() {\n\t\treturn new StringDocument();\n\t}","title":""},{"docid":"f29e982d9140b141671e6b6841711f70","score":"0.55937153","text":"public DefaultValueTestGraphImpl() {\n\t\tthis(null);\n\t}","title":""},{"docid":"dc5a25f625f7220c550748415df8e4a8","score":"0.5581912","text":"Element createElement();","title":""},{"docid":"e39be9e0910ca9cbb05c935b3ef59868","score":"0.5577637","text":"public void init(String defaultURI) throws Exception;","title":""},{"docid":"465359df1752999aa46ad8aed0565910","score":"0.5559103","text":"public DefaultGeoDevice(){\n\t\tthis(new GeoLocation(0.0, 0.0, 0.0f), new GeoVelocity(0, 0));\n\t}","title":""},{"docid":"a7813e6397670844efb86a9c2a9ec896","score":"0.55508757","text":"public DefaultXmlCodec() {\n }","title":""},{"docid":"1c57e8b1fa3ccf2116dfbb5d68b79f63","score":"0.55392104","text":"public static Activator getDefault() {\n\t\treturn instance;\n\t}","title":""},{"docid":"e62a7cccc5a1772485f38d0099671642","score":"0.5536368","text":"private Element createParamElement(YVariable param, Namespace defNS) {\n Element element = new Element(\"element\", defNS);\n element.setAttribute(\"name\", param.getName());\n\n // simple types are defined by attribute, user-defined types are defined by\n // sub elements\n String dataType = param.getDataTypeNameUnprefixed();\n if (isXSDType(dataType)) {\n element.setAttribute(\"type\", prefix(dataType, defNS));\n }\n else if (YInternalType.isType(dataType)) {\n element = YInternalType.getSchemaFor(dataType, param.getName());\n }\n else {\n element = createComplexType(param, element, defNS);\n }\n\n // set default min and max occurs for this parameter\n element.setAttribute(\"minOccurs\", param.isOptional() ? \"0\" : \"1\");\n element.setAttribute(\"maxOccurs\", \"1\");\n\n return element;\n }","title":""},{"docid":"d15657e756b7bcc2109c717c919eb67c","score":"0.5528516","text":"public XmlGen(Option defaultNamespace) {\n document = createDocument();\n this.defaultNamespace = defaultNamespace;\n }","title":""},{"docid":"5eb06d2cda6999abf9131e7e4129da22","score":"0.5502567","text":"protected Document createDefaultDocument()\n/* */ {\n/* 75 */ return new DefaultStyledDocument();\n/* */ }","title":""},{"docid":"4947db0166b7400d38721c7909090db6","score":"0.55016994","text":"default public void newInterfaceUsingDefault() {\n System.out.println(\"newInterfaceUsingDefault\");\n }","title":""},{"docid":"92a7462b13dbe5c0754ca76b54a15344","score":"0.54989576","text":" T getDefaultValue();","title":""},{"docid":"f7267f067412882a0e17c7f7a5a21fff","score":"0.5498728","text":"public Model(Element element) {\n super(element);\n }","title":""},{"docid":"b96abfb5577524c4a4e59c98ef40e306","score":"0.54916054","text":"void setDefault();","title":""},{"docid":"b83a64c5ffa301c5fba496dc267b1c26","score":"0.54865474","text":"public static IoTTestSession.Builder createDefault() {\n return create()\n .preDeploy(withDefaultServices());\n }","title":""},{"docid":"ca922f123c5c59347f0ea3473f1aa96a","score":"0.548441","text":"public NativeNode(final String defaultName) {\n this(null, defaultName);\n }","title":""},{"docid":"b21f36199ba5116429cdc1b0b0870d82","score":"0.54772896","text":"public Element(String parNom) throws mesExceptions {\r\n\r\n if (parNom.equals(\"\")) {\r\n throw new mesExceptions(\"Le nom ne doit pas etre vide\");\r\n } else {\r\n nom = parNom;\r\n }\r\n }","title":""},{"docid":"af919b8f58a1a1fa4ebc835a9e6a8132","score":"0.54734766","text":"protected abstract Element createElement();","title":""},{"docid":"29b850020944b78a9a80019213710ba0","score":"0.5470952","text":"public DocumentBuilder() {\n\t\tdoc = new DefaultDocument();\n\t}","title":""},{"docid":"d47b0ba0bd111b9bf164b9a0226576c6","score":"0.546951","text":"private Button initDefaultConfigButton() {\n\t\tButton defaultConfig = new Button(\"DEFAULT CONFIG\");\n\t\tdefaultConfig.setOnMouseClicked((evt) -> {\n\t\t\tstartTemperature.setText(Settings.SA_DEFAULT_START_TEMPERATURE.toString());\n\t\t\tcoolingRate.setText(Settings.SA_DEFAULT_COOLING_RATE.toString());\n\t\t\tminTemperature.setText(Settings.SA_DEFAULT_MIN_TEMPERATURE.toString());\n\t\t\tmaxIteration.setText(Settings.SA_DEFAULT_MAX_ITERATION.toString());\n\n\t\t\tSettings.saStartTemperature = Settings.SA_DEFAULT_START_TEMPERATURE;\n\t\t\tSettings.saCoolingRate = Settings.SA_DEFAULT_COOLING_RATE;\n\t\t\tSettings.saMinTemperature = Settings.SA_DEFAULT_MIN_TEMPERATURE;\n\t\t\tSettings.saMaxIteration = Settings.SA_DEFAULT_MAX_ITERATION;\n\n\t\t\tstartTemperatureWarning.setText(\"\");\n\t\t\tcoolingRateWarning.setText(\"\");\n\t\t\tminTemperatureWarning.setText(\"\");\n\t\t\tmaxIterationWarning.setText(\"\");\n\t\t});\n\t\treturn defaultConfig;\n\t}","title":""},{"docid":"2ec0591c8890ed23b6442a4239f64f6b","score":"0.54646355","text":"public XDElementIdentity() {\n super();\n }","title":""},{"docid":"e39b59afbb147c6a4d2e5ca067a2757f","score":"0.5463682","text":"private static AgentExecutor createDefaultInstance() {\n synchronized (sAgentExecutorMap) {\n AgentExecutor agentExecutor = sAgentExecutorMap.get(DEFAULT_AGENT_EXECUTOR_ID);\n if (agentExecutor == null) {\n agentExecutor = builder(DEFAULT_AGENT_EXECUTOR_ID).build();\n Log.d(TAG, \"Built Default \" + String.valueOf(agentExecutor));\n sAgentExecutorMap.put(DEFAULT_AGENT_EXECUTOR_ID, agentExecutor);\n }\n return agentExecutor;\n }\n }","title":""},{"docid":"88c6b3d61087ed18f6968c65ee2895d0","score":"0.54556024","text":"private Element cloneElement(Element element, Namespace defNS) {\n Element cloned = new Element(element.getName(), defNS);\n cloned.setAttributes(cloneAttributes(element, defNS));\n return cloned;\n }","title":""},{"docid":"f62d44c5f20b98f4dd2959bd05420732","score":"0.5437541","text":"abstract public XalInternalDocument newEmptyDocument();","title":""},{"docid":"9440747613663d2407c77fc203ca5046","score":"0.5435776","text":"public static DomTCController getDefault() {\n return DEFAULT;\n }","title":""},{"docid":"63bbaace02d28752b7cf452c67c81e87","score":"0.54150975","text":"public DefaultPresenter(){}","title":""},{"docid":"7eb59a5a6789aa49b34453cbd79c0680","score":"0.541276","text":"public EventBuilder() {\n name = new Name(DEFAULT_NAME);\n date = new Date(DEFAULT_DATE);\n note = new Note(DEFAULT_NOTE);\n toDate = new Date(DEFAULT_TO_DATE);\n fromDate = new Date(DEFAULT_FROM_DATE);\n }","title":""},{"docid":"0604f6d52440aa12f07298e3f57f1565","score":"0.5406196","text":"PrimitiveElement createPrimitiveElement();","title":""},{"docid":"4ee0105e8bd19584babc68957a140719","score":"0.54048485","text":"protected Document createDefaultModel()\n {\n return new ConstrainedTextDocument(Integer.MAX_VALUE);\n }","title":""},{"docid":"f253d895b4ca78e1b412714c9611a014","score":"0.5386892","text":"public BlueprintDefaultsDefinition(Document doc, ParserContext parserContext) {\r\n\t\tsuper(doc, parserContext);\r\n\t\tElement root = doc.getDocumentElement();\r\n\t\tString timeout = getAttribute(root, BLUEPRINT_NS, DEFAULT_TIMEOUT);\r\n\t\tsetTimeout(StringUtils.hasText(timeout) ? timeout.trim() : TIMEOUT_DEFAULT);\r\n\r\n\t\tString availability = getAttribute(root, BLUEPRINT_NS, DEFAULT_AVAILABILITY);\r\n\t\tif (StringUtils.hasText(availability)) {\r\n\t\t\tAvailability avail = ReferenceParsingUtil.determineAvailability(availability);\r\n\t\t\tsetAvailability(avail);\r\n\t\t}\r\n\r\n\t\t// default initialization\r\n\t\tString initialization = getAttribute(root, BLUEPRINT_NS, DEFAULT_INITIALIZATION);\r\n\t\tdefaultInitialization =\r\n\t\t\t\t(StringUtils.hasText(initialization) ? initialization.trim().equalsIgnoreCase(LAZY_INITIALIZATION)\r\n\t\t\t\t\t\t: INITIALIZATION_DEFAULT);\r\n\t}","title":""},{"docid":"92ce0e1f817cb6009542a43a8b5028e1","score":"0.53789246","text":"@SuppressWarnings(\"unchecked\")\r\n public static T createFactory(IConfigurationElement elem, String factoryAttr, Class defaultFactory)\r\n {\r\n // create and initialize the factory\r\n // (the default value in the extensionpoint doesn't work atm so its null\r\n // in the default case)\r\n T factory = null;\r\n if (elem.getAttribute(factoryAttr) != null)\r\n {\r\n try\r\n {\r\n factory = (T) elem.createExecutableExtension(factoryAttr);\r\n }\r\n catch (CoreException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n }\r\n // in the default or error case use the default factory\r\n if (factory == null)\r\n {\r\n try\r\n {\r\n factory = defaultFactory.newInstance();\r\n }\r\n catch (InstantiationException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n catch (IllegalAccessException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n // set initiaization data (configuration element) if the factory requires it\r\n if (factory != null && factory instanceof IExecutableExtension)\r\n {\r\n try\r\n {\r\n ((IExecutableExtension) factory).setInitializationData(elem, factoryAttr, null);\r\n }\r\n catch (CoreException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n }\r\n }\r\n return factory;\r\n }","title":""},{"docid":"cf59098dbe381f3af7b4039281eb72e0","score":"0.5360123","text":"public Object getDefault() {\r\n return this.def;\r\n }","title":""},{"docid":"5364b1515357bd6957b2bd504795db6c","score":"0.5359534","text":"public XMLDocumentBuilder() {\n\t}","title":""},{"docid":"980a422f139d5ad9aff56139462d2ce7","score":"0.53320473","text":"public void testDefaultElementsSetupCorrectly() {\n\t\tEvent anEvent = new Event();\n\t\t\n\t\tassertNotNull(\"Should have a generated id\", anEvent.getId());\n\t\tassertTrue(\"Should have a reasonable length id\", anEvent.getId().length() > 4);\n\t\tassertNull(\"Should not have a payload\", anEvent.getPayload());\n\t}","title":""},{"docid":"5533bfd3d9c2c5950478370b29c1bbac","score":"0.53306836","text":"protected UXElement()\n {\n parent = SketchMain.getAccess();\n if(parent == null) throw new RuntimeException(\"Unable to access main sketch!\");\n BG = parent.color(0);\n pos = new PVector();\n size = new PVector();\n log = null;\n }","title":""},{"docid":"755640721676aa74ee92b139c6ee7b1e","score":"0.53041214","text":"public void newElement() {\n }","title":""},{"docid":"2c7a2d7b41fa192916cab99deaa8fac8","score":"0.5301817","text":"public Node createFieldNode(FieldElement element) {\n FieldElementNode n = new FieldElementNode(element, false);\n n.setDefaultAction(SystemAction.get(PropertiesAction.class));\n n.setActions(getDefaultActions());\n return n;\n }","title":""},{"docid":"5aa4323cf2890ff37086e0039a4cd933","score":"0.53001267","text":"public AbstractElement(ElementName elementName) {\n setElementName(elementName);\n }","title":""},{"docid":"dcbafb4b885fc44f5c6ae34c76fc9766","score":"0.5299249","text":"Object defaultValue();","title":""},{"docid":"31a482197e509ac1f04ad296f75ce21c","score":"0.52969486","text":"Attribute createAttribute(int id, String name, Object defaultValue);","title":""},{"docid":"f6398dcdf78c55abf044828335096422","score":"0.5295375","text":"public DefaultWebElementsDriver(WebDriver wd) {\n this(wd, DefaultWebElements.class, DebugWebElements.class, TipWebElements.class);\n }","title":""},{"docid":"eb360682d80e7bf6fd18e655a7ec78a9","score":"0.5286611","text":"public static NodeDef constructElement(\n DOMWrapper wrapper, Class enclosure, String prefix)\n throws XOMException\n {\n switch (wrapper.getType()) {\n case DOMWrapper.ELEMENT:\n Class elemClass = getElementClass(wrapper, enclosure, prefix);\n if (elemClass == null) {\n if (true) {\n return new WrapperElementDef(wrapper, enclosure, prefix);\n } else {\n throw new XOMException(\"No class corresponding to element \"\n + wrapper.getTagName()\n + \" could be found in enclosure \"\n + enclosure.getName());\n }\n } else {\n return constructElement(wrapper, elemClass);\n }\n case DOMWrapper.COMMENT:\n return new CommentDef(wrapper.getText());\n case DOMWrapper.CDATA:\n return new CdataDef(wrapper.getText());\n case DOMWrapper.FREETEXT:\n return new TextDef(wrapper.getText());\n default:\n throw new XOMException(\"Unknown type: \" + wrapper.getText());\n }\n }","title":""},{"docid":"1c738efb983c20e62b005f3dde0ed330","score":"0.5282782","text":"protected Document createDefaultModel()\n {\n return new DriversLicenseDocument(Integer.MAX_VALUE);\n }","title":""},{"docid":"37ee01955d40ac2becde8ffdd23dde31","score":"0.52804637","text":"public static MolecularFormulaRange creatingDefaultRange() {\n\t\tString[] stringElements = {\"C\",\"H\",\"N\",\"O\"};\n\t\tint[] elementsMax = {50,100,30,30};\n\t\tint[] elementsMin = {1,1,0,0,0};\n\t\treturn creatingRange(stringElements, elementsMax, elementsMin);\n\t}","title":""},{"docid":"edffab727070e84badfd10f1d56232bc","score":"0.5275378","text":"public DataElement newElement( String name )\r\n {\r\n PDElement e = new PDElement( name );\r\n elements.addElement( e );\r\n return e;\r\n }","title":""},{"docid":"539cbf1e10858809291fcf59d9cc027e","score":"0.52732104","text":"Model() {\n\n init(DEFAULT_SIZE, DEFAULT_SIZE);\n }","title":""},{"docid":"a6711ea1ae6d8a7c96fe1dc83205d714","score":"0.52705485","text":"public PersistenceMemberElement ()\n\t{\n\t\tthis(null, null);\n\t}","title":""},{"docid":"61fc62209b08aa598129e8defaf68865","score":"0.52666456","text":"public void setDefault(String def) {\n }","title":""},{"docid":"f314acfed5a433030b32dd6dc108e798","score":"0.52650726","text":"@Override\n\tprotected void createDefaultAxes() {\n\t\tAxis axisX = new Axis();\n\t\tAxis axisY = new Axis();\n\t\tsetAxis(AXIS_X, axisX);\n\t\tsetAxis(AXIS_Y, axisY);\n\t}","title":""},{"docid":"adca5035ececdc789e054b7881a28dbd","score":"0.5262167","text":"private Element generateElement(String input) {\r\n\t\tif(isInteger(input)) {\r\n\t\t\treturn new ElementConstantInteger(Integer.parseInt(input));\r\n\t\t} else if(isDouble(input)) {\r\n\t\t\treturn new ElementConstantDouble(Integer.parseInt(input));\r\n\t\t} else if(isVariable(input)) {\r\n\t\t\treturn new ElementVariable(input);\r\n\t\t} else if(isFunction(input)) {\r\n\t\t\treturn new ElementFunction(input);\r\n\t\t} else if(isString(input)) {\r\n\t\t\treturn new ElementString(input.replace(\"\\\\r\\\\n\", System.lineSeparator()));\r\n\t\t} else if(isOperator(input)) {\r\n\t\t\treturn new ElementOperator(input);\r\n\t\t} else {\r\n\t\t\tthrow new IllegalArgumentException(\"Element \" + input + \" is not valid!\");\r\n\t\t}\r\n\t}","title":""},{"docid":"94640e5ecb01173149925410cfa58cae","score":"0.5249709","text":"public GNElement newElement(String name, String prefix, String uri)\n throws XMLException\n {\n try\n {\n return GNXMLDocumentUtility.newElement(name, prefix, uri);\n }\n catch (Exception ex)\n {\n Logger.warn(\"[XMLServiceHandler.newElement]\",\n \"Unable to create GNElement\", ex);\n throw new XMLException(\"[XMLServiceHandler.newElement] Unable to create GNElement\", ex);\n }\n }","title":""},{"docid":"42f2f79fefe4c48829f0eadf2401a5f4","score":"0.52450377","text":"protected Document createDefaultModel()\n {\n return new NumberDocument(Double.class);\n }","title":""},{"docid":"a2d31a8db600fbba51727f12753d00b7","score":"0.52377886","text":"public DefaultTeleopCommand() {\r\n\r\n\t\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR\r\n\t\t// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=VARIABLE_SETTING\r\n\r\n\t\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=VARIABLE_SETTING\r\n\t\t// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES\r\n\t\trequires(Robot.driveTrain);\r\n\r\n\t\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES\r\n\t}","title":""},{"docid":"6d80228226f904f82f12b5c7b49cf80d","score":"0.52362806","text":"public static String getTagDefault()\n\t{\n\t\treturn sTagDefault;\n\t}","title":""},{"docid":"60d9b8ad1c6db2710c6458300a8a8ca9","score":"0.5233421","text":"protected Element createElement()\n\t{\n\t\treturn new Element(\"input\").addAttribute(\"type\", \"submit\");\n\t}","title":""},{"docid":"fa96dc63aabf0a2a061373f057930ae1","score":"0.52322066","text":"protected DefaultGraphCell createDefaultGraphCell() {\n\t\tDefaultGraphCell cell = new FastCircleCell(\"Cell \"\n\t\t\t\t+ new Integer(cellCount++));\n\t\t// Restrict to a square shape\n\t\tGraphConstants.setConstrained(cell.getAttributes(), true);\n\t\t// Add one central fixed port\n\t\tPoint2D point = new Point2D.Double(GraphConstants.PERMILLE / 2,\n\t\t\t\tGraphConstants.PERMILLE / 2);\n\t\tcell.addPort(point);\n\t\treturn cell;\n\t}","title":""},{"docid":"b61e7dfbcfdd434fda69e76cf164bae7","score":"0.52262676","text":"@Override\n public Object getDefaultValue() {\n return defaultValue;\n }","title":""},{"docid":"f743c5f5d704d421ec711e889cd2c6ff","score":"0.5225851","text":"public SnippetBaseXml() {\n }","title":""},{"docid":"a627aa2bc754d828e94f2c53ad78be9e","score":"0.5222588","text":"public Simple() {\r\n super();\r\n }","title":""},{"docid":"629550e961ca8787d272631bf591a813","score":"0.52196074","text":"public AbstractSubkey(String... defaultAttr) {\n\t\tif (defaultAttr.length > 0) {\n\t\t\tthis.setDefaultAttribute(defaultAttr);\n\t\t}\n\t}","title":""},{"docid":"65aeb79b7999a19b7d93954480ac56bd","score":"0.5219276","text":"private void generateDefualt()\n\t{\n\t\tSystem.out.println(\"Generating default values...\");\n\t\t\n\t\tElement root = makeRoot();\n\t\t\n\t\t//TODO generate default values to config file\n\t\troot.addContent(new Element(\"connection\")\n\t\t .addContent(new Element(\"port\").setText(\"3306\")));\n\t\troot.addContent(new Element(\"db\")\n\t\t\t.addContent(new Element(\"dbHost\").setText(\"localhost\"))\n\t\t\t.addContent(new Element(\"dbName\").setText(\"itkStock\"))\n\t\t\t.addContent(new Element(\"dbUser\").setText(\"itkStock\"))\n\t\t\t.addContent(new Element(\"dbPass\").setText(\"itkStock\"))\n\t\t);\n\t\t\n\t\tmakeFile(root);\n\t\t\n\t\tSystem.out.println(\"Default configuration generated. Reloading...\");\n\t\t\n\t\ttry {\n\t\t\tparseFile(\"ServerConfig.xml\");\n\t\t} catch (JDOMException | IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"fa0d197bd71cfa442ba8c4487b918d41","score":"0.5217211","text":"public Page createDefaultPage() {\n\t\treturn new EmptyPage();\n\t}","title":""},{"docid":"24ed1ce0a7e8bec5714ec47dd5ddc896","score":"0.5215993","text":"WorkflowElement createWorkflowElement();","title":""},{"docid":"524c094a7c70fca2fc91f15d81a81e6b","score":"0.5215805","text":"protected Element createElementInstance(final String className, final Context context, final Node node, final Element parentElement) throws JMXEvalException {\r\n try {\r\n final Constructor[] constructors = Class.forName(className).getConstructors();\r\n if (constructors.length != 1) {\r\n throw new JMXEvalException(className + \" has more than one constructor, it should only have one constructor which can optionally accept the following types: \"\r\n + Context.class.getName() + \" (execution context), \" + Node.class.getName() + \" (XML Node for the element), \" + Element.class.getName() + \" (parent Element)\");\r\n }\r\n\r\n final List args = new ArrayList<>();\r\n for (final Class argClass : constructors[0].getParameterTypes()) {\r\n if (argClass.equals(Context.class)) {\r\n args.add(context);\r\n } else if (argClass.equals(Node.class)) {\r\n args.add(node);\r\n } else if (Element.class.equals(argClass)) {\r\n args.add(parentElement);\r\n }\r\n }\r\n return (Element) constructors[0].newInstance(args.toArray());\r\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | InvocationTargetException e) {\r\n throw new JMXEvalException(\"Could create instance of \" + className, e);\r\n }\r\n }","title":""},{"docid":"e34cbf9e1da4dc2e637b2f31ba54b0c2","score":"0.5209976","text":"public static NodeDef constructElement(DOMWrapper wrapper,\n Class elemClass)\n throws XOMException\n {\n // Find a constructor of this class which takes an \"Element\" object\n Constructor[] constructors = elemClass.getDeclaredConstructors();\n Constructor elemConstructor = null;\n for (int i = 0; i < constructors.length; i++) {\n Class[] params = constructors[i].getParameterTypes();\n if (params.length == 1 && params[0] == DOMWrapper.class) {\n elemConstructor = constructors[i];\n break;\n }\n }\n if (elemConstructor == null) {\n throw new XOMException(\n \"No constructor taking class DOMWrapper \"\n + \"could be found in class \"\n + elemClass.getName());\n }\n\n // Call the constructor to instantiate the object\n Object[] args = new Object[1];\n args[0] = wrapper;\n try {\n return (ElementDef)(elemConstructor.newInstance(args));\n } catch (InstantiationException ex) {\n throw new XOMException(\"Unable to instantiate object of class \"\n + elemClass.getName() + \": \"\n + ex.getMessage());\n } catch (InvocationTargetException ex) {\n // the Element constructor can only throw XOMException or\n // RuntimeException or Error, so cast to whichever type is appropriate\n // and throw here.\n Throwable target = ex.getTargetException();\n if (target instanceof XOMException) {\n throw (XOMException) target;\n } else if (target instanceof RuntimeException) {\n throw (RuntimeException) target;\n } else if (target instanceof Error) {\n throw (Error) target;\n } else {\n throw new XOMException(\n \"Unexpected exception while \"\n + \"instantiating object: \"\n + target.toString());\n }\n } catch (IllegalAccessException ex) {\n throw new XOMException(\"Unable to instantiate object of class \"\n + elemClass.getName() + \": \"\n + ex.getMessage());\n }\n }","title":""},{"docid":"e6dd3cb8beb2e65c57bcf96d5e7d229b","score":"0.52071697","text":"public Building createDefaultBuilding(final int NO_FLOORS, final int NO_CUSTOMERS) {\r\n\t\t\r\n\t\tBuilding build = new DefaultBuilding(NO_FLOORS, NO_CUSTOMERS);\r\n\t\t\r\n\t\treturn build;\r\n\t\t\r\n\t}","title":""},{"docid":"fec208fe603fb3cb77675e786bee9bc6","score":"0.52025634","text":"String getDefaultValue();","title":""},{"docid":"d5e17e5ba78485412757e2d10b38fee8","score":"0.51934755","text":"public Tag createNewTag() {\n\t\tlong newIdentifier = IdentifierProvider.newIdentifier();\n\t\tTag newTag = new Tag(newIdentifier);\n\t\tnewTag.setName(Messages.get(\"default.tagName\"));\n\t\tthis.allTags.add(newTag);\n\t\tthis.tagsByIdentifier.put(newTag.getIdentifier(), newTag);\n\t\treturn newTag;\n\t}","title":""},{"docid":"8913fef4adc866126e413661f11362e5","score":"0.5184669","text":"@Override\n public T getDefaultValue() {\n return defaultValue;\n }","title":""},{"docid":"8cc40f8cd31c8a44f1ee6d2f43e7f105","score":"0.5180173","text":"public Node() //# create a node with a null element and next reference\n {\n this(null, null);\n }","title":""},{"docid":"cf4ff6c6fdd95d245dd8adb8e687597c","score":"0.51765794","text":"@Override\n public Object getDefaultValue() {\n return null;\n }","title":""},{"docid":"f08bc2b5443e7fb54373c2c90ebd132b","score":"0.51758057","text":"public static RDKitNodePlugin getDefault() {\n\t\treturn g_instance;\n\t}","title":""},{"docid":"3efe249abce80445d7d1329e1499e948","score":"0.5172726","text":"@Override\r\n\tpublic Seleccion newInstance() {\n\t\treturn new SeleccionUniversalEstocastica();\r\n\t}","title":""},{"docid":"83a6e342a2ac1f4954a22cb8424e4c7e","score":"0.51702446","text":"protected AttribEditor createDefaultEditor() {\n\t\treturn new TextBasedEditor();\n\t}","title":""},{"docid":"24d80416fe1e3d59e8b023c512969e56","score":"0.51679015","text":"public ISettings getDefaultSettings() {\r\n\t\treturn new VeniTreeCreatorSettings();\r\n\t}","title":""},{"docid":"6c3459a73385daec52d9807c3a427a7f","score":"0.5164308","text":"public DefaultEntry(final String name) {\r\n\t\tthis.name = name;\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"96dae842601a64420b1f821295da9496\",\n \"score\": \"0.65984637\",\n \"text\": \"BasicElem createBasicElem();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a8869c9cce079817a18e62432ca2050\",\n \"score\": \"0.6395638\",\n \"text\": \"public abstract Element create();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4188f3ffbbb944b5cc4a82cd182ff2d\",\n \"score\": \"0.6348992\",\n \"text\": \"public Elemento() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85df92017a9c7c08c00ea98d246b8d2e\",\n \"score\": \"0.6136131\",\n \"text\": \"protected T createDefaultValue() {\\r\\n return defaultValue;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdd5637922196a96d802693b461d4e4e\",\n \"score\": \"0.6011907\",\n \"text\": \"public AssociatedElement() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da22442eb581b9b435b244f2781ad00c\",\n \"score\": \"0.5960177\",\n \"text\": \"protected ManagedElement() {\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8adee79b4cf79a1c9f0a76e245aa0650\",\n \"score\": \"0.5955213\",\n \"text\": \"public void initializeDefault();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9eae753c47805844488c392c8440861e\",\n \"score\": \"0.59517753\",\n \"text\": \"public DefaultStructurePolicyValue() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"545cd2b341c5293e878263c6cfa3fb4b\",\n \"score\": \"0.5948499\",\n \"text\": \"public Elemento() {\\r\\n this.setIdentificador(\\\"elemento sin nombre\\\");\\r\\n this.setNodoA(new Nodo());\\r\\n this.setNodoB(new Nodo());\\r\\n this.setSeccion(new Seccion());\\r\\n this.setMaterial(new Material());\\r\\n //this.setMarcoPadre(0);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f29b7f0cd5157eed7345ef87f65ed09b\",\n \"score\": \"0.5921387\",\n \"text\": \"public T getDefault();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47683955403a9bb7836677d410685640\",\n \"score\": \"0.589201\",\n \"text\": \"public void setDefault() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2b20533d4ee218dcbfdbd4bd06a103f\",\n \"score\": \"0.5823287\",\n \"text\": \"public IDElementImpl() {\\r\\n\\t\\tsuper();\\r\\n\\t\\tthis.id = IDGenerator.generateId();\\r\\n\\t\\tcreationTime = System.currentTimeMillis();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecb943f81972e71493c4b95d0fcb34fa\",\n \"score\": \"0.58181006\",\n \"text\": \"private XMLNode() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff9f6354cf00cff26898693fdedb5b89\",\n \"score\": \"0.579249\",\n \"text\": \"public KeyValueElement() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e3120e5463fc74767ce6e61e8af1e50\",\n \"score\": \"0.57596284\",\n \"text\": \"protected InputElement() {/* intentionally empty block */}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51a09b6f9d94c415c3a13f3e9af852b1\",\n \"score\": \"0.5736343\",\n \"text\": \"@Override\\n public AnimaBook createDefault(){\\n\\n return new AnimaBook(\\\"Anima\\\", 40, 1, 3);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c41a9f77b3af6bdb32ac7f3bb4d3ee5\",\n \"score\": \"0.5732052\",\n \"text\": \"protected Document createDefaultConfigProperty() {\\n try {\\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\\n factory.setNamespaceAware(true);\\n Document document = factory.newDocumentBuilder().newDocument();\\n Element root = document.createElement(\\\"values\\\");\\n document.appendChild(root);\\n Element config = document.createElement(\\\"config\\\");\\n root.appendChild(config);\\n return document;\\n } catch (ParserConfigurationException e) {\\n throw new AssertionError(e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b99860b3114896cd1677e70e2f5e454a\",\n \"score\": \"0.5703012\",\n \"text\": \"public DefaultBodyDescriptor() {\\n this(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b7beac23c5e9fe85828e01ffff57e90\",\n \"score\": \"0.5700551\",\n \"text\": \"protected Document createDefaultModel() {\\n\\t\\treturn new NumericPlainDocument();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae44aeb50b73820442264c3d00947665\",\n \"score\": \"0.5685122\",\n \"text\": \"public Node createConstructorNode(ConstructorElement element) {\\n ConstructorElementNode n = new ConstructorElementNode(element, false);\\n n.setDefaultAction(SystemAction.get(PropertiesAction.class));\\n n.setActions(getDefaultActions());\\n return n;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0ae40a171707278d939fa092c1680b3\",\n \"score\": \"0.56807303\",\n \"text\": \"public Object getDefaultValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74c9582e548696c8eb156764bae437fc\",\n \"score\": \"0.5657764\",\n \"text\": \"@Override\\r\\n\\tpublic Element getDefaultRootElement() {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9037d56bbd34c5c669820a83c2652497\",\n \"score\": \"0.56111056\",\n \"text\": \"protected Object createComponent( final String role, final Class defaultImpl )\\n throws Exception\\n {\\n return defaultImpl.newInstance();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"278aff62a17e56b4d271a64487dc01ed\",\n \"score\": \"0.56100416\",\n \"text\": \"public GNElement newElement(String name)\\n throws XMLException\\n {\\n try\\n {\\n return GNXMLDocumentUtility.newElement(name);\\n }\\n catch (Exception ex)\\n {\\n Logger.warn(\\\"[XMLServiceHandler.newElement]\\\",\\n \\\"Unable to create GNElement\\\", ex);\\n throw new XMLException(\\\"[XMLServiceHandler.newElement] Unable to create GNElement\\\", ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54577239d6480fe05ec7fa995789cee7\",\n \"score\": \"0.5607846\",\n \"text\": \"protected Document createDefaultModel() {\\n\\t\\treturn new StringDocument();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f29e982d9140b141671e6b6841711f70\",\n \"score\": \"0.55937153\",\n \"text\": \"public DefaultValueTestGraphImpl() {\\n\\t\\tthis(null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc5a25f625f7220c550748415df8e4a8\",\n \"score\": \"0.5581912\",\n \"text\": \"Element createElement();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e39be9e0910ca9cbb05c935b3ef59868\",\n \"score\": \"0.5577637\",\n \"text\": \"public void init(String defaultURI) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"465359df1752999aa46ad8aed0565910\",\n \"score\": \"0.5559103\",\n \"text\": \"public DefaultGeoDevice(){\\n\\t\\tthis(new GeoLocation(0.0, 0.0, 0.0f), new GeoVelocity(0, 0));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7813e6397670844efb86a9c2a9ec896\",\n \"score\": \"0.55508757\",\n \"text\": \"public DefaultXmlCodec() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c57e8b1fa3ccf2116dfbb5d68b79f63\",\n \"score\": \"0.55392104\",\n \"text\": \"public static Activator getDefault() {\\n\\t\\treturn instance;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e62a7cccc5a1772485f38d0099671642\",\n \"score\": \"0.5536368\",\n \"text\": \"private Element createParamElement(YVariable param, Namespace defNS) {\\n Element element = new Element(\\\"element\\\", defNS);\\n element.setAttribute(\\\"name\\\", param.getName());\\n\\n // simple types are defined by attribute, user-defined types are defined by\\n // sub elements\\n String dataType = param.getDataTypeNameUnprefixed();\\n if (isXSDType(dataType)) {\\n element.setAttribute(\\\"type\\\", prefix(dataType, defNS));\\n }\\n else if (YInternalType.isType(dataType)) {\\n element = YInternalType.getSchemaFor(dataType, param.getName());\\n }\\n else {\\n element = createComplexType(param, element, defNS);\\n }\\n\\n // set default min and max occurs for this parameter\\n element.setAttribute(\\\"minOccurs\\\", param.isOptional() ? \\\"0\\\" : \\\"1\\\");\\n element.setAttribute(\\\"maxOccurs\\\", \\\"1\\\");\\n\\n return element;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d15657e756b7bcc2109c717c919eb67c\",\n \"score\": \"0.5528516\",\n \"text\": \"public XmlGen(Option defaultNamespace) {\\n document = createDocument();\\n this.defaultNamespace = defaultNamespace;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eb06d2cda6999abf9131e7e4129da22\",\n \"score\": \"0.5502567\",\n \"text\": \"protected Document createDefaultDocument()\\n/* */ {\\n/* 75 */ return new DefaultStyledDocument();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4947db0166b7400d38721c7909090db6\",\n \"score\": \"0.55016994\",\n \"text\": \"default public void newInterfaceUsingDefault() {\\n System.out.println(\\\"newInterfaceUsingDefault\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92a7462b13dbe5c0754ca76b54a15344\",\n \"score\": \"0.54989576\",\n \"text\": \" T getDefaultValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7267f067412882a0e17c7f7a5a21fff\",\n \"score\": \"0.5498728\",\n \"text\": \"public Model(Element element) {\\n super(element);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b96abfb5577524c4a4e59c98ef40e306\",\n \"score\": \"0.54916054\",\n \"text\": \"void setDefault();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83a64c5ffa301c5fba496dc267b1c26\",\n \"score\": \"0.54865474\",\n \"text\": \"public static IoTTestSession.Builder createDefault() {\\n return create()\\n .preDeploy(withDefaultServices());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca922f123c5c59347f0ea3473f1aa96a\",\n \"score\": \"0.548441\",\n \"text\": \"public NativeNode(final String defaultName) {\\n this(null, defaultName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b21f36199ba5116429cdc1b0b0870d82\",\n \"score\": \"0.54772896\",\n \"text\": \"public Element(String parNom) throws mesExceptions {\\r\\n\\r\\n if (parNom.equals(\\\"\\\")) {\\r\\n throw new mesExceptions(\\\"Le nom ne doit pas etre vide\\\");\\r\\n } else {\\r\\n nom = parNom;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af919b8f58a1a1fa4ebc835a9e6a8132\",\n \"score\": \"0.54734766\",\n \"text\": \"protected abstract Element createElement();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29b850020944b78a9a80019213710ba0\",\n \"score\": \"0.5470952\",\n \"text\": \"public DocumentBuilder() {\\n\\t\\tdoc = new DefaultDocument();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d47b0ba0bd111b9bf164b9a0226576c6\",\n \"score\": \"0.546951\",\n \"text\": \"private Button initDefaultConfigButton() {\\n\\t\\tButton defaultConfig = new Button(\\\"DEFAULT CONFIG\\\");\\n\\t\\tdefaultConfig.setOnMouseClicked((evt) -> {\\n\\t\\t\\tstartTemperature.setText(Settings.SA_DEFAULT_START_TEMPERATURE.toString());\\n\\t\\t\\tcoolingRate.setText(Settings.SA_DEFAULT_COOLING_RATE.toString());\\n\\t\\t\\tminTemperature.setText(Settings.SA_DEFAULT_MIN_TEMPERATURE.toString());\\n\\t\\t\\tmaxIteration.setText(Settings.SA_DEFAULT_MAX_ITERATION.toString());\\n\\n\\t\\t\\tSettings.saStartTemperature = Settings.SA_DEFAULT_START_TEMPERATURE;\\n\\t\\t\\tSettings.saCoolingRate = Settings.SA_DEFAULT_COOLING_RATE;\\n\\t\\t\\tSettings.saMinTemperature = Settings.SA_DEFAULT_MIN_TEMPERATURE;\\n\\t\\t\\tSettings.saMaxIteration = Settings.SA_DEFAULT_MAX_ITERATION;\\n\\n\\t\\t\\tstartTemperatureWarning.setText(\\\"\\\");\\n\\t\\t\\tcoolingRateWarning.setText(\\\"\\\");\\n\\t\\t\\tminTemperatureWarning.setText(\\\"\\\");\\n\\t\\t\\tmaxIterationWarning.setText(\\\"\\\");\\n\\t\\t});\\n\\t\\treturn defaultConfig;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ec0591c8890ed23b6442a4239f64f6b\",\n \"score\": \"0.54646355\",\n \"text\": \"public XDElementIdentity() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e39b59afbb147c6a4d2e5ca067a2757f\",\n \"score\": \"0.5463682\",\n \"text\": \"private static AgentExecutor createDefaultInstance() {\\n synchronized (sAgentExecutorMap) {\\n AgentExecutor agentExecutor = sAgentExecutorMap.get(DEFAULT_AGENT_EXECUTOR_ID);\\n if (agentExecutor == null) {\\n agentExecutor = builder(DEFAULT_AGENT_EXECUTOR_ID).build();\\n Log.d(TAG, \\\"Built Default \\\" + String.valueOf(agentExecutor));\\n sAgentExecutorMap.put(DEFAULT_AGENT_EXECUTOR_ID, agentExecutor);\\n }\\n return agentExecutor;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88c6b3d61087ed18f6968c65ee2895d0\",\n \"score\": \"0.54556024\",\n \"text\": \"private Element cloneElement(Element element, Namespace defNS) {\\n Element cloned = new Element(element.getName(), defNS);\\n cloned.setAttributes(cloneAttributes(element, defNS));\\n return cloned;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f62d44c5f20b98f4dd2959bd05420732\",\n \"score\": \"0.5437541\",\n \"text\": \"abstract public XalInternalDocument newEmptyDocument();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9440747613663d2407c77fc203ca5046\",\n \"score\": \"0.5435776\",\n \"text\": \"public static DomTCController getDefault() {\\n return DEFAULT;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63bbaace02d28752b7cf452c67c81e87\",\n \"score\": \"0.54150975\",\n \"text\": \"public DefaultPresenter(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7eb59a5a6789aa49b34453cbd79c0680\",\n \"score\": \"0.541276\",\n \"text\": \"public EventBuilder() {\\n name = new Name(DEFAULT_NAME);\\n date = new Date(DEFAULT_DATE);\\n note = new Note(DEFAULT_NOTE);\\n toDate = new Date(DEFAULT_TO_DATE);\\n fromDate = new Date(DEFAULT_FROM_DATE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0604f6d52440aa12f07298e3f57f1565\",\n \"score\": \"0.5406196\",\n \"text\": \"PrimitiveElement createPrimitiveElement();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ee0105e8bd19584babc68957a140719\",\n \"score\": \"0.54048485\",\n \"text\": \"protected Document createDefaultModel()\\n {\\n return new ConstrainedTextDocument(Integer.MAX_VALUE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f253d895b4ca78e1b412714c9611a014\",\n \"score\": \"0.5386892\",\n \"text\": \"public BlueprintDefaultsDefinition(Document doc, ParserContext parserContext) {\\r\\n\\t\\tsuper(doc, parserContext);\\r\\n\\t\\tElement root = doc.getDocumentElement();\\r\\n\\t\\tString timeout = getAttribute(root, BLUEPRINT_NS, DEFAULT_TIMEOUT);\\r\\n\\t\\tsetTimeout(StringUtils.hasText(timeout) ? timeout.trim() : TIMEOUT_DEFAULT);\\r\\n\\r\\n\\t\\tString availability = getAttribute(root, BLUEPRINT_NS, DEFAULT_AVAILABILITY);\\r\\n\\t\\tif (StringUtils.hasText(availability)) {\\r\\n\\t\\t\\tAvailability avail = ReferenceParsingUtil.determineAvailability(availability);\\r\\n\\t\\t\\tsetAvailability(avail);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// default initialization\\r\\n\\t\\tString initialization = getAttribute(root, BLUEPRINT_NS, DEFAULT_INITIALIZATION);\\r\\n\\t\\tdefaultInitialization =\\r\\n\\t\\t\\t\\t(StringUtils.hasText(initialization) ? initialization.trim().equalsIgnoreCase(LAZY_INITIALIZATION)\\r\\n\\t\\t\\t\\t\\t\\t: INITIALIZATION_DEFAULT);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92ce0e1f817cb6009542a43a8b5028e1\",\n \"score\": \"0.53789246\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\r\\n public static T createFactory(IConfigurationElement elem, String factoryAttr, Class defaultFactory)\\r\\n {\\r\\n // create and initialize the factory\\r\\n // (the default value in the extensionpoint doesn't work atm so its null\\r\\n // in the default case)\\r\\n T factory = null;\\r\\n if (elem.getAttribute(factoryAttr) != null)\\r\\n {\\r\\n try\\r\\n {\\r\\n factory = (T) elem.createExecutableExtension(factoryAttr);\\r\\n }\\r\\n catch (CoreException exc)\\r\\n {\\r\\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\\r\\n }\\r\\n }\\r\\n // in the default or error case use the default factory\\r\\n if (factory == null)\\r\\n {\\r\\n try\\r\\n {\\r\\n factory = defaultFactory.newInstance();\\r\\n }\\r\\n catch (InstantiationException exc)\\r\\n {\\r\\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\\r\\n }\\r\\n catch (IllegalAccessException exc)\\r\\n {\\r\\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\\r\\n }\\r\\n // set initiaization data (configuration element) if the factory requires it\\r\\n if (factory != null && factory instanceof IExecutableExtension)\\r\\n {\\r\\n try\\r\\n {\\r\\n ((IExecutableExtension) factory).setInitializationData(elem, factoryAttr, null);\\r\\n }\\r\\n catch (CoreException exc)\\r\\n {\\r\\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\\r\\n }\\r\\n }\\r\\n }\\r\\n return factory;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf59098dbe381f3af7b4039281eb72e0\",\n \"score\": \"0.5360123\",\n \"text\": \"public Object getDefault() {\\r\\n return this.def;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5364b1515357bd6957b2bd504795db6c\",\n \"score\": \"0.5359534\",\n \"text\": \"public XMLDocumentBuilder() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"980a422f139d5ad9aff56139462d2ce7\",\n \"score\": \"0.53320473\",\n \"text\": \"public void testDefaultElementsSetupCorrectly() {\\n\\t\\tEvent anEvent = new Event();\\n\\t\\t\\n\\t\\tassertNotNull(\\\"Should have a generated id\\\", anEvent.getId());\\n\\t\\tassertTrue(\\\"Should have a reasonable length id\\\", anEvent.getId().length() > 4);\\n\\t\\tassertNull(\\\"Should not have a payload\\\", anEvent.getPayload());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5533bfd3d9c2c5950478370b29c1bbac\",\n \"score\": \"0.53306836\",\n \"text\": \"protected UXElement()\\n {\\n parent = SketchMain.getAccess();\\n if(parent == null) throw new RuntimeException(\\\"Unable to access main sketch!\\\");\\n BG = parent.color(0);\\n pos = new PVector();\\n size = new PVector();\\n log = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"755640721676aa74ee92b139c6ee7b1e\",\n \"score\": \"0.53041214\",\n \"text\": \"public void newElement() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c7a2d7b41fa192916cab99deaa8fac8\",\n \"score\": \"0.5301817\",\n \"text\": \"public Node createFieldNode(FieldElement element) {\\n FieldElementNode n = new FieldElementNode(element, false);\\n n.setDefaultAction(SystemAction.get(PropertiesAction.class));\\n n.setActions(getDefaultActions());\\n return n;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5aa4323cf2890ff37086e0039a4cd933\",\n \"score\": \"0.53001267\",\n \"text\": \"public AbstractElement(ElementName elementName) {\\n setElementName(elementName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcbafb4b885fc44f5c6ae34c76fc9766\",\n \"score\": \"0.5299249\",\n \"text\": \"Object defaultValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31a482197e509ac1f04ad296f75ce21c\",\n \"score\": \"0.52969486\",\n \"text\": \"Attribute createAttribute(int id, String name, Object defaultValue);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6398dcdf78c55abf044828335096422\",\n \"score\": \"0.5295375\",\n \"text\": \"public DefaultWebElementsDriver(WebDriver wd) {\\n this(wd, DefaultWebElements.class, DebugWebElements.class, TipWebElements.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb360682d80e7bf6fd18e655a7ec78a9\",\n \"score\": \"0.5286611\",\n \"text\": \"public static NodeDef constructElement(\\n DOMWrapper wrapper, Class enclosure, String prefix)\\n throws XOMException\\n {\\n switch (wrapper.getType()) {\\n case DOMWrapper.ELEMENT:\\n Class elemClass = getElementClass(wrapper, enclosure, prefix);\\n if (elemClass == null) {\\n if (true) {\\n return new WrapperElementDef(wrapper, enclosure, prefix);\\n } else {\\n throw new XOMException(\\\"No class corresponding to element \\\"\\n + wrapper.getTagName()\\n + \\\" could be found in enclosure \\\"\\n + enclosure.getName());\\n }\\n } else {\\n return constructElement(wrapper, elemClass);\\n }\\n case DOMWrapper.COMMENT:\\n return new CommentDef(wrapper.getText());\\n case DOMWrapper.CDATA:\\n return new CdataDef(wrapper.getText());\\n case DOMWrapper.FREETEXT:\\n return new TextDef(wrapper.getText());\\n default:\\n throw new XOMException(\\\"Unknown type: \\\" + wrapper.getText());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c738efb983c20e62b005f3dde0ed330\",\n \"score\": \"0.5282782\",\n \"text\": \"protected Document createDefaultModel()\\n {\\n return new DriversLicenseDocument(Integer.MAX_VALUE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37ee01955d40ac2becde8ffdd23dde31\",\n \"score\": \"0.52804637\",\n \"text\": \"public static MolecularFormulaRange creatingDefaultRange() {\\n\\t\\tString[] stringElements = {\\\"C\\\",\\\"H\\\",\\\"N\\\",\\\"O\\\"};\\n\\t\\tint[] elementsMax = {50,100,30,30};\\n\\t\\tint[] elementsMin = {1,1,0,0,0};\\n\\t\\treturn creatingRange(stringElements, elementsMax, elementsMin);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edffab727070e84badfd10f1d56232bc\",\n \"score\": \"0.5275378\",\n \"text\": \"public DataElement newElement( String name )\\r\\n {\\r\\n PDElement e = new PDElement( name );\\r\\n elements.addElement( e );\\r\\n return e;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"539cbf1e10858809291fcf59d9cc027e\",\n \"score\": \"0.52732104\",\n \"text\": \"Model() {\\n\\n init(DEFAULT_SIZE, DEFAULT_SIZE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6711ea1ae6d8a7c96fe1dc83205d714\",\n \"score\": \"0.52705485\",\n \"text\": \"public PersistenceMemberElement ()\\n\\t{\\n\\t\\tthis(null, null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61fc62209b08aa598129e8defaf68865\",\n \"score\": \"0.52666456\",\n \"text\": \"public void setDefault(String def) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f314acfed5a433030b32dd6dc108e798\",\n \"score\": \"0.52650726\",\n \"text\": \"@Override\\n\\tprotected void createDefaultAxes() {\\n\\t\\tAxis axisX = new Axis();\\n\\t\\tAxis axisY = new Axis();\\n\\t\\tsetAxis(AXIS_X, axisX);\\n\\t\\tsetAxis(AXIS_Y, axisY);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adca5035ececdc789e054b7881a28dbd\",\n \"score\": \"0.5262167\",\n \"text\": \"private Element generateElement(String input) {\\r\\n\\t\\tif(isInteger(input)) {\\r\\n\\t\\t\\treturn new ElementConstantInteger(Integer.parseInt(input));\\r\\n\\t\\t} else if(isDouble(input)) {\\r\\n\\t\\t\\treturn new ElementConstantDouble(Integer.parseInt(input));\\r\\n\\t\\t} else if(isVariable(input)) {\\r\\n\\t\\t\\treturn new ElementVariable(input);\\r\\n\\t\\t} else if(isFunction(input)) {\\r\\n\\t\\t\\treturn new ElementFunction(input);\\r\\n\\t\\t} else if(isString(input)) {\\r\\n\\t\\t\\treturn new ElementString(input.replace(\\\"\\\\\\\\r\\\\\\\\n\\\", System.lineSeparator()));\\r\\n\\t\\t} else if(isOperator(input)) {\\r\\n\\t\\t\\treturn new ElementOperator(input);\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tthrow new IllegalArgumentException(\\\"Element \\\" + input + \\\" is not valid!\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94640e5ecb01173149925410cfa58cae\",\n \"score\": \"0.5249709\",\n \"text\": \"public GNElement newElement(String name, String prefix, String uri)\\n throws XMLException\\n {\\n try\\n {\\n return GNXMLDocumentUtility.newElement(name, prefix, uri);\\n }\\n catch (Exception ex)\\n {\\n Logger.warn(\\\"[XMLServiceHandler.newElement]\\\",\\n \\\"Unable to create GNElement\\\", ex);\\n throw new XMLException(\\\"[XMLServiceHandler.newElement] Unable to create GNElement\\\", ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42f2f79fefe4c48829f0eadf2401a5f4\",\n \"score\": \"0.52450377\",\n \"text\": \"protected Document createDefaultModel()\\n {\\n return new NumberDocument(Double.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2d31a8db600fbba51727f12753d00b7\",\n \"score\": \"0.52377886\",\n \"text\": \"public DefaultTeleopCommand() {\\r\\n\\r\\n\\t\\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR\\r\\n\\t\\t// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=VARIABLE_SETTING\\r\\n\\r\\n\\t\\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=VARIABLE_SETTING\\r\\n\\t\\t// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES\\r\\n\\t\\trequires(Robot.driveTrain);\\r\\n\\r\\n\\t\\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d80228226f904f82f12b5c7b49cf80d\",\n \"score\": \"0.52362806\",\n \"text\": \"public static String getTagDefault()\\n\\t{\\n\\t\\treturn sTagDefault;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60d9b8ad1c6db2710c6458300a8a8ca9\",\n \"score\": \"0.5233421\",\n \"text\": \"protected Element createElement()\\n\\t{\\n\\t\\treturn new Element(\\\"input\\\").addAttribute(\\\"type\\\", \\\"submit\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa96dc63aabf0a2a061373f057930ae1\",\n \"score\": \"0.52322066\",\n \"text\": \"protected DefaultGraphCell createDefaultGraphCell() {\\n\\t\\tDefaultGraphCell cell = new FastCircleCell(\\\"Cell \\\"\\n\\t\\t\\t\\t+ new Integer(cellCount++));\\n\\t\\t// Restrict to a square shape\\n\\t\\tGraphConstants.setConstrained(cell.getAttributes(), true);\\n\\t\\t// Add one central fixed port\\n\\t\\tPoint2D point = new Point2D.Double(GraphConstants.PERMILLE / 2,\\n\\t\\t\\t\\tGraphConstants.PERMILLE / 2);\\n\\t\\tcell.addPort(point);\\n\\t\\treturn cell;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b61e7dfbcfdd434fda69e76cf164bae7\",\n \"score\": \"0.52262676\",\n \"text\": \"@Override\\n public Object getDefaultValue() {\\n return defaultValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f743c5f5d704d421ec711e889cd2c6ff\",\n \"score\": \"0.5225851\",\n \"text\": \"public SnippetBaseXml() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a627aa2bc754d828e94f2c53ad78be9e\",\n \"score\": \"0.5222588\",\n \"text\": \"public Simple() {\\r\\n super();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"629550e961ca8787d272631bf591a813\",\n \"score\": \"0.52196074\",\n \"text\": \"public AbstractSubkey(String... defaultAttr) {\\n\\t\\tif (defaultAttr.length > 0) {\\n\\t\\t\\tthis.setDefaultAttribute(defaultAttr);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65aeb79b7999a19b7d93954480ac56bd\",\n \"score\": \"0.5219276\",\n \"text\": \"private void generateDefualt()\\n\\t{\\n\\t\\tSystem.out.println(\\\"Generating default values...\\\");\\n\\t\\t\\n\\t\\tElement root = makeRoot();\\n\\t\\t\\n\\t\\t//TODO generate default values to config file\\n\\t\\troot.addContent(new Element(\\\"connection\\\")\\n\\t\\t .addContent(new Element(\\\"port\\\").setText(\\\"3306\\\")));\\n\\t\\troot.addContent(new Element(\\\"db\\\")\\n\\t\\t\\t.addContent(new Element(\\\"dbHost\\\").setText(\\\"localhost\\\"))\\n\\t\\t\\t.addContent(new Element(\\\"dbName\\\").setText(\\\"itkStock\\\"))\\n\\t\\t\\t.addContent(new Element(\\\"dbUser\\\").setText(\\\"itkStock\\\"))\\n\\t\\t\\t.addContent(new Element(\\\"dbPass\\\").setText(\\\"itkStock\\\"))\\n\\t\\t);\\n\\t\\t\\n\\t\\tmakeFile(root);\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Default configuration generated. Reloading...\\\");\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tparseFile(\\\"ServerConfig.xml\\\");\\n\\t\\t} catch (JDOMException | IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa0d197bd71cfa442ba8c4487b918d41\",\n \"score\": \"0.5217211\",\n \"text\": \"public Page createDefaultPage() {\\n\\t\\treturn new EmptyPage();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24ed1ce0a7e8bec5714ec47dd5ddc896\",\n \"score\": \"0.5215993\",\n \"text\": \"WorkflowElement createWorkflowElement();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"524c094a7c70fca2fc91f15d81a81e6b\",\n \"score\": \"0.5215805\",\n \"text\": \"protected Element createElementInstance(final String className, final Context context, final Node node, final Element parentElement) throws JMXEvalException {\\r\\n try {\\r\\n final Constructor[] constructors = Class.forName(className).getConstructors();\\r\\n if (constructors.length != 1) {\\r\\n throw new JMXEvalException(className + \\\" has more than one constructor, it should only have one constructor which can optionally accept the following types: \\\"\\r\\n + Context.class.getName() + \\\" (execution context), \\\" + Node.class.getName() + \\\" (XML Node for the element), \\\" + Element.class.getName() + \\\" (parent Element)\\\");\\r\\n }\\r\\n\\r\\n final List args = new ArrayList<>();\\r\\n for (final Class argClass : constructors[0].getParameterTypes()) {\\r\\n if (argClass.equals(Context.class)) {\\r\\n args.add(context);\\r\\n } else if (argClass.equals(Node.class)) {\\r\\n args.add(node);\\r\\n } else if (Element.class.equals(argClass)) {\\r\\n args.add(parentElement);\\r\\n }\\r\\n }\\r\\n return (Element) constructors[0].newInstance(args.toArray());\\r\\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | InvocationTargetException e) {\\r\\n throw new JMXEvalException(\\\"Could create instance of \\\" + className, e);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e34cbf9e1da4dc2e637b2f31ba54b0c2\",\n \"score\": \"0.5209976\",\n \"text\": \"public static NodeDef constructElement(DOMWrapper wrapper,\\n Class elemClass)\\n throws XOMException\\n {\\n // Find a constructor of this class which takes an \\\"Element\\\" object\\n Constructor[] constructors = elemClass.getDeclaredConstructors();\\n Constructor elemConstructor = null;\\n for (int i = 0; i < constructors.length; i++) {\\n Class[] params = constructors[i].getParameterTypes();\\n if (params.length == 1 && params[0] == DOMWrapper.class) {\\n elemConstructor = constructors[i];\\n break;\\n }\\n }\\n if (elemConstructor == null) {\\n throw new XOMException(\\n \\\"No constructor taking class DOMWrapper \\\"\\n + \\\"could be found in class \\\"\\n + elemClass.getName());\\n }\\n\\n // Call the constructor to instantiate the object\\n Object[] args = new Object[1];\\n args[0] = wrapper;\\n try {\\n return (ElementDef)(elemConstructor.newInstance(args));\\n } catch (InstantiationException ex) {\\n throw new XOMException(\\\"Unable to instantiate object of class \\\"\\n + elemClass.getName() + \\\": \\\"\\n + ex.getMessage());\\n } catch (InvocationTargetException ex) {\\n // the Element constructor can only throw XOMException or\\n // RuntimeException or Error, so cast to whichever type is appropriate\\n // and throw here.\\n Throwable target = ex.getTargetException();\\n if (target instanceof XOMException) {\\n throw (XOMException) target;\\n } else if (target instanceof RuntimeException) {\\n throw (RuntimeException) target;\\n } else if (target instanceof Error) {\\n throw (Error) target;\\n } else {\\n throw new XOMException(\\n \\\"Unexpected exception while \\\"\\n + \\\"instantiating object: \\\"\\n + target.toString());\\n }\\n } catch (IllegalAccessException ex) {\\n throw new XOMException(\\\"Unable to instantiate object of class \\\"\\n + elemClass.getName() + \\\": \\\"\\n + ex.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6dd3cb8beb2e65c57bcf96d5e7d229b\",\n \"score\": \"0.52071697\",\n \"text\": \"public Building createDefaultBuilding(final int NO_FLOORS, final int NO_CUSTOMERS) {\\r\\n\\t\\t\\r\\n\\t\\tBuilding build = new DefaultBuilding(NO_FLOORS, NO_CUSTOMERS);\\r\\n\\t\\t\\r\\n\\t\\treturn build;\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fec208fe603fb3cb77675e786bee9bc6\",\n \"score\": \"0.52025634\",\n \"text\": \"String getDefaultValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5e17e5ba78485412757e2d10b38fee8\",\n \"score\": \"0.51934755\",\n \"text\": \"public Tag createNewTag() {\\n\\t\\tlong newIdentifier = IdentifierProvider.newIdentifier();\\n\\t\\tTag newTag = new Tag(newIdentifier);\\n\\t\\tnewTag.setName(Messages.get(\\\"default.tagName\\\"));\\n\\t\\tthis.allTags.add(newTag);\\n\\t\\tthis.tagsByIdentifier.put(newTag.getIdentifier(), newTag);\\n\\t\\treturn newTag;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8913fef4adc866126e413661f11362e5\",\n \"score\": \"0.5184669\",\n \"text\": \"@Override\\n public T getDefaultValue() {\\n return defaultValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cc40f8cd31c8a44f1ee6d2f43e7f105\",\n \"score\": \"0.5180173\",\n \"text\": \"public Node() //# create a node with a null element and next reference\\n {\\n this(null, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf4ff6c6fdd95d245dd8adb8e687597c\",\n \"score\": \"0.51765794\",\n \"text\": \"@Override\\n public Object getDefaultValue() {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f08bc2b5443e7fb54373c2c90ebd132b\",\n \"score\": \"0.51758057\",\n \"text\": \"public static RDKitNodePlugin getDefault() {\\n\\t\\treturn g_instance;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3efe249abce80445d7d1329e1499e948\",\n \"score\": \"0.5172726\",\n \"text\": \"@Override\\r\\n\\tpublic Seleccion newInstance() {\\n\\t\\treturn new SeleccionUniversalEstocastica();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83a6e342a2ac1f4954a22cb8424e4c7e\",\n \"score\": \"0.51702446\",\n \"text\": \"protected AttribEditor createDefaultEditor() {\\n\\t\\treturn new TextBasedEditor();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24d80416fe1e3d59e8b023c512969e56\",\n \"score\": \"0.51679015\",\n \"text\": \"public ISettings getDefaultSettings() {\\r\\n\\t\\treturn new VeniTreeCreatorSettings();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c3459a73385daec52d9807c3a427a7f\",\n \"score\": \"0.5164308\",\n \"text\": \"public DefaultEntry(final String name) {\\r\\n\\t\\tthis.name = name;\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":899,"cells":{"query_id":{"kind":"string","value":"d5829363d04faafca19da2c3b866c09c"},"query":{"kind":"string","value":"Turns a value into a string and aims at emulating the currently missing label provider relying on the actual value. This shall later be replaced by relying on GUIvariables! Then this method can be deleted."},"positive_passages":{"kind":"list like","value":[{"docid":"356cd27aa7e7d7cacee102c1302d8ee7","score":"0.643482","text":"protected static String toString(Value value) {\n String result = StringProvider.toIvmlString(value);\n IDatatype type = value.getType();\n if (StringType.TYPE.isAssignableFrom(type)) {\n while (result.startsWith(\"\\\"\")) {\n result = result.substring(1);\n }\n while (result.endsWith(\"\\\"\")) {\n result = result.substring(0, result.length() - 1);\n }\n } else if (Enum.TYPE.isAssignableFrom(type)) {\n int pos = result.lastIndexOf(\".\");\n if (pos > 0 && pos + 1 < result.length()) {\n result = result.substring(pos + 1);\n }\n } else if (Container.TYPE.isAssignableFrom(type)) {\n if (result.startsWith(\"{\\\"\")) {\n result = result.substring(2);\n }\n while (result.endsWith(\"\\\"}\")) {\n result = result.substring(0, result.length() - 2);\n }\n }\n return result;\n }","title":""}],"string":"[\n {\n \"docid\": \"356cd27aa7e7d7cacee102c1302d8ee7\",\n \"score\": \"0.643482\",\n \"text\": \"protected static String toString(Value value) {\\n String result = StringProvider.toIvmlString(value);\\n IDatatype type = value.getType();\\n if (StringType.TYPE.isAssignableFrom(type)) {\\n while (result.startsWith(\\\"\\\\\\\"\\\")) {\\n result = result.substring(1);\\n }\\n while (result.endsWith(\\\"\\\\\\\"\\\")) {\\n result = result.substring(0, result.length() - 1);\\n }\\n } else if (Enum.TYPE.isAssignableFrom(type)) {\\n int pos = result.lastIndexOf(\\\".\\\");\\n if (pos > 0 && pos + 1 < result.length()) {\\n result = result.substring(pos + 1);\\n }\\n } else if (Container.TYPE.isAssignableFrom(type)) {\\n if (result.startsWith(\\\"{\\\\\\\"\\\")) {\\n result = result.substring(2);\\n }\\n while (result.endsWith(\\\"\\\\\\\"}\\\")) {\\n result = result.substring(0, result.length() - 2);\\n }\\n }\\n return result;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"ba213db4b0f6d365047c90ca16bcf8ef","score":"0.70077866","text":"private String getLabel(int aValue) {\n\t\tif (fRadix == radix_Hex) {\n\t\t\treturn Format.toHexString(aValue);\n\t\t} else {\n\t\t\tif (fType == type_Float) {\n\t\t\t\treturn \"\" + (double)aValue;\n\t\t\t} else {\n\t\t\t\treturn \"\" + aValue;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"f877a4e19269a70fb968bc4cdcbaa8b3","score":"0.6814678","text":"private void checkLabelValue()\n\t{\n\t\tif(labelValue != null && !\"\".equals(labelValue))\n\t\t{\n\t\t\tlabelValue += \": \";\n\t\t}\n\t}","title":""},{"docid":"4f34c5c3204d69338584ab1c075f564d","score":"0.67702544","text":"protected String formatValue (Object value)\n {\n return String.valueOf(value);\n }","title":""},{"docid":"cfa85600aad7bb552f8a45207a1fda0d","score":"0.6764993","text":"@Override\r\n\t\t\t\tpublic String textFormatter(String value) {\n\t\t\t\t\tString label = \"(\" + value + \")\";\r\n\t\t\t\t\treturn (label);\r\n\t\t\t\t}","title":""},{"docid":"63628d8d9a0ebef2aac749dc8693e4ea","score":"0.6487066","text":"java.lang.String getLabel();","title":""},{"docid":"79fa072b073cdaf09841329722d2009b","score":"0.6429616","text":"public static String getValueToRender(FacesContext context, UIComponent component, Object value) {\n if (component instanceof ValueHolder) {\n\n if (component instanceof EditableValueHolder) {\n EditableValueHolder input = (EditableValueHolder) component;\n Object submittedValue = input.getSubmittedValue();\n PrimeConfiguration config = PrimeApplicationContext.getCurrentInstance(context).getConfig();\n\n if (config.isInterpretEmptyStringAsNull()\n && submittedValue == null\n && !input.isLocalValueSet()\n && context.isValidationFailed()\n && !input.isValid()) {\n return null;\n }\n else if (submittedValue != null) {\n return submittedValue.toString();\n }\n }\n\n ValueHolder valueHolder = (ValueHolder) component;\n if (value == UNDEFINED_VALUE) {\n if (component instanceof HtmlOutputFormat) {\n value = encodeComponent(component, context);\n }\n else {\n value = valueHolder.getValue();\n }\n }\n\n //format the value as string\n if (value != null) {\n Converter converter = valueHolder.getConverter();\n if (converter == null) {\n Class valueType = value.getClass();\n if (valueType == String.class\n && !PrimeApplicationContext.getCurrentInstance(context).getConfig().isStringConverterAvailable()) {\n return (String) value;\n }\n\n converter = context.getApplication().createConverter(valueType);\n }\n\n if (converter != null) {\n return converter.getAsString(context, component, value);\n }\n else {\n return value.toString(); //Use toString as a fallback if there is no explicit or implicit converter\n }\n }\n else {\n //component is a value holder but has no value\n return null;\n }\n }\n\n //component it not a value holder\n return null;\n }","title":""},{"docid":"a5d298e4d64ad818bef3e75ac6276b46","score":"0.6422027","text":"public String getStrLabelValue() {\r\n\t\treturn strLabelValue;\r\n\t}","title":""},{"docid":"c155757eb4670299fa1e08045ab769b2","score":"0.6403989","text":"@Override\n public String toString(){\n return String.valueOf(value);\n }","title":""},{"docid":"317bc094dfac4048fc79d157911cd18e","score":"0.6402099","text":"@Override\r\n\t\t\t\tpublic String textFormatter(String value) {\n\t\t\t\t\tDouble tmp = Double.parseDouble(value);\r\n\t\t\t\t\tDecimalFormat df = new DecimalFormat(\"0.00\");\r\n\t\t\t\t\tString label = df.format(tmp).toString();\r\n\t\t\t\t\treturn (label);\r\n\t\t\t\t}","title":""},{"docid":"01bcc1f7d0094cd15c9cce7a8373ee43","score":"0.63973016","text":"java.lang.String getValue();","title":""},{"docid":"01bcc1f7d0094cd15c9cce7a8373ee43","score":"0.63973016","text":"java.lang.String getValue();","title":""},{"docid":"01bcc1f7d0094cd15c9cce7a8373ee43","score":"0.63973016","text":"java.lang.String getValue();","title":""},{"docid":"01bcc1f7d0094cd15c9cce7a8373ee43","score":"0.63973016","text":"java.lang.String getValue();","title":""},{"docid":"01bcc1f7d0094cd15c9cce7a8373ee43","score":"0.63973016","text":"java.lang.String getValue();","title":""},{"docid":"01bcc1f7d0094cd15c9cce7a8373ee43","score":"0.63973016","text":"java.lang.String getValue();","title":""},{"docid":"944e1b2a8732f79a98b03c0030174faf","score":"0.6391976","text":"public String getFormattedValue() {\n if (labelFormatter != null) {\n return labelFormatter.getText();\n } else {\n return \"\" + getValue();\n }\n }","title":""},{"docid":"d838b5b35efdb03813373cf2f166dff9","score":"0.63710487","text":"public void setLabel(Object value) {\n this.setValue(LABEL_PROPERTY_KEY, value);\n }","title":""},{"docid":"e442251e79d06da8be1ea829ccfda35b","score":"0.6362012","text":"public Builder setLabel(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n label_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"9ff8e02aa97db641d287e53437fda5ad","score":"0.6337704","text":"public void setLabel(final String labelValue) {\n this.label = labelValue;\n }","title":""},{"docid":"9ff8e02aa97db641d287e53437fda5ad","score":"0.6337704","text":"public void setLabel(final String labelValue) {\n this.label = labelValue;\n }","title":""},{"docid":"d858f8d391240c6be3986c15196a816e","score":"0.63351804","text":"public void setLabel(final String labelValue) {\n this.label = labelValue;\n }","title":""},{"docid":"b3aceb84ceed8a99d72786d8f4f8720d","score":"0.63105506","text":"void setLabelString() {\n int pad = 5; // fudge to make up for variable width fonts\n float maxVal = Math.max(Math.abs(min), Math.abs(max));\n intDigits = Math.round((float) (Math.log(maxVal) / Math.log(10))) + pad;\n if (min < 0) {\n intDigits++; // add one for the '-'\n }\n // fractDigits is num digits of resolution for fraction. Use base 10 log\n // of scale, rounded up, + 2.\n fractDigits = (int) Math.ceil((Math.log(scale) / Math.log(10)));\n nf.setMinimumFractionDigits(fractDigits);\n nf.setMaximumFractionDigits(fractDigits);\n String value = nf.format(current);\n while (value.length() < (intDigits + fractDigits)) {\n value = value + \" \";\n }\n valueLabel.setText(value);\n }","title":""},{"docid":"7c40f52d2e00e4b66fd7add8183bc385","score":"0.62511134","text":"public void setStrLabelValue(String strLabelValue) {\r\n\t\tthis.strLabelValue = strLabelValue;\r\n\t}","title":""},{"docid":"bb710a64c6b0d50ee0ccd265da671e68","score":"0.62470984","text":"String displayValue();","title":""},{"docid":"a11071fbeb916089b45478c48750f0bf","score":"0.61765146","text":"public java.lang.String getLabel();","title":""},{"docid":"48f23f781bfdd4f5fc8a65d9eba43b08","score":"0.6160587","text":"String getLabel();","title":""},{"docid":"48f23f781bfdd4f5fc8a65d9eba43b08","score":"0.6160587","text":"String getLabel();","title":""},{"docid":"c0596d5ddad1b324f7f130f921d41f1a","score":"0.61402863","text":"@NotNull\n protected String format(@NotNull final Object value) {\n return value != null\n ? value.toString()\n : \"\";\n }","title":""},{"docid":"9a0177784ba1fac10f0982385e4fa617","score":"0.6116138","text":"@Override\n public String toString() {\n return String.valueOf(value());\n }","title":""},{"docid":"61d1fe2329bf405f0593c0b7f5ff4235","score":"0.6109493","text":"@Override\r\n public @Nullable String getFormattedText(RenderContext ctx)\r\n {\n String oorPrefix = getOORPrefix(ctx);\r\n String formattedValue = \"\";\r\n Object value = getDisplayValue(ctx);\r\n if (null != value)\r\n {\r\n formattedValue = super.getFormattedText(ctx);\r\n if (null == formattedValue)\r\n formattedValue = ConvertUtils.convert(value);\r\n }\r\n assert null != formattedValue;\r\n return oorPrefix + formattedValue;\r\n }","title":""},{"docid":"98450c607be102c280e0327c20ccef7b","score":"0.6109197","text":"String getValueAsString();","title":""},{"docid":"71e333a6bcb0a1b1c81fcf1afb64d33c","score":"0.6093687","text":"@Override public String toString() {\n return \"\" + \"Value=\" + Value; // NOI18N\n }","title":""},{"docid":"1be546bb66a20fe820bd922798a7efe8","score":"0.60830283","text":"public String getValue() {\n return String.valueOf(value);\n }","title":""},{"docid":"d07504010976af68ffe0cdb2b6757f8c","score":"0.6065273","text":"@Override\r\n public String toString() {\r\n return (value == null) ? \"\" : value;\r\n }","title":""},{"docid":"be11b13be3371c990622b772fd12a964","score":"0.60515034","text":"@Override\n\tpublic String visitValue(ValueContext ctx) {\n\t \n\t\t\n\t return ctx.getChild(0).getText();\n\t\t\n\t\t\n\t}","title":""},{"docid":"ec8330e3135544bbd41665837cba8cc4","score":"0.6041613","text":"@Override\n protected String formatValue(Object value) {\n String formatted = \"float\".equals(format) ? formatWithDigits(value, this.digits) : String.valueOf(value);\n return formatted + \" \" + this.unitText;\n }","title":""},{"docid":"6807061b62226c34ef7341c7a9c7e5c3","score":"0.6026598","text":"public String getValue() { return value; }","title":""},{"docid":"67f3df1ab529c6222e4b450efb129135","score":"0.60262984","text":"private String getLabel(String label, String text) {\n\t\tStringBuffer buffer = new StringBuffer(label);\n\t\tif (text != null && !\"\".equals(text)) {\n\t\t\tif (!\"Choose One\".equals(text)) {\n\t\t\t\tbuffer.append(\": '\" + text + \"'\");\n\t\t\t}\n\t\t}\n\n\t\treturn buffer.toString();\n\t}","title":""},{"docid":"bc49e8c2731a0438a0a137fcc047d477","score":"0.6025528","text":"public String toString() {\n StringBuffer sb = new StringBuffer(\"LabelValueBean[\");\n sb.append(this.label);\n sb.append(\", \");\n sb.append(this.value);\n sb.append(\"]\");\n return (sb.toString());\n }","title":""},{"docid":"4305850716ae9fbe8b4bc6c0cb70de0f","score":"0.6023683","text":"private String toString(Object value) {\n if (value == null) return \"null\";\n // TODO: handle arrays in a nicer way.\n return value.toString();\n }","title":""},{"docid":"efbce411bc362c607052059599464cef","score":"0.6010408","text":"@Override\n public final String toString() {\n return this.value;\n }","title":""},{"docid":"714ecfad160b0baa565101ca3fdc3f76","score":"0.60015774","text":"@Override\n public String toString() {\n return \"\" + this.value;\n }","title":""},{"docid":"38db62c6f6a31e20c37a061683b5ff50","score":"0.59918183","text":"@Override\r\n\tpublic String toString() {\n\t\treturn value + \"\";\r\n\t}","title":""},{"docid":"fe32606a3212f2fa6d8be9db9deac306","score":"0.59815073","text":"@Override\n\tpublic String toString() {\n\t\tString str = labelTemplate.toString();\n\t\tswitch (type) {\n\t\tcase SET: str += \":=\"; break;\n\t\tcase DISCARD: str += \"!=\"; break;\n\t\tcase ADD: str += \"+=\"; break;\n\t\t}\n\t\tstr += valueTemplate.toString();\n\t\treturn str;\n\t}","title":""},{"docid":"a7f963fa05b7ad211426a05841075fb1","score":"0.5960393","text":"@Override\n\tpublic String toString() {\n\t\treturn (\"\"+label);\n\t}","title":""},{"docid":"e0d8ea37755de7a9d7b5f2386016da3d","score":"0.5942975","text":"public LabelValueBean(String label, String value) {\n this.label = label;\n this.value = value;\n }","title":""},{"docid":"7ddf66689f6fc40184b8a452a82ea9bf","score":"0.59310603","text":"String getValueFormatted();","title":""},{"docid":"dc03115a3f517f84c93f949ecf89bbf3","score":"0.59277374","text":"public String toString()\r\n\t{\r\n\t\treturn \" \" + this.value;\r\n\t}","title":""},{"docid":"82ba232c33cd2f865a51f21d33d103dc","score":"0.5927449","text":"public String getValue () { return value; }","title":""},{"docid":"48c406e4ae58ecbccbb3b29e5c02c8fb","score":"0.592297","text":"@Override\n public String asText() {\n return value;\n }","title":""},{"docid":"b75356ae3f566da4ca6c2cdea1ad48d2","score":"0.59217626","text":"org.hl7.fhir.String getValueString();","title":""},{"docid":"4611a56a8434afdf9f15d0001d658a35","score":"0.5918887","text":"public abstract String valueAsText();","title":""},{"docid":"291f8adea3c310797509f70de6961680","score":"0.5899095","text":"@Override\n public String getValue() {\n return value;\n }","title":""},{"docid":"2f0eaa6d1aebfacc5c0f42dbbabcbee2","score":"0.5895604","text":"protected String getFormattedValue(FacesContext context, UIComponent component,\n Object currentValue ) {\n return currentValue.toString();\n }","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"ba1d0ea60c53e8cc239d6662b79afc8c","score":"0.5888772","text":"String getValue();","title":""},{"docid":"6a44962afe3dd2d4b31d4dd2a5a84a1e","score":"0.58796126","text":"public static String toDisplayValue(Value value, boolean encodeLtGt) {\n\t\tif (value instanceof URI)\n \t\treturn EndpointImpl.api().getRequestMapper().getReconvertableUri((URI) value, encodeLtGt);\n \t\treturn value.stringValue();\n\t}","title":""},{"docid":"b9cbf7406a8497b7cf976e930f737937","score":"0.5879003","text":"public String getLabel();","title":""},{"docid":"b9cbf7406a8497b7cf976e930f737937","score":"0.5879003","text":"public String getLabel();","title":""},{"docid":"b9cbf7406a8497b7cf976e930f737937","score":"0.5879003","text":"public String getLabel();","title":""},{"docid":"b9cbf7406a8497b7cf976e930f737937","score":"0.5879003","text":"public String getLabel();","title":""},{"docid":"b128b7af7a18c4590511c9ea6d26e09f","score":"0.587548","text":"@Override\n public String toString() {\n \treturn String.valueOf(val);\n }","title":""},{"docid":"2032bc57e8df4ecf99f2f2c323dc0865","score":"0.5873474","text":"public String toString() {\n/* 67 */ return String.valueOf(this.val);\n/* */ }","title":""},{"docid":"a95a9d3a8d74edbff273c2332a0d87eb","score":"0.5873285","text":"abstract String display(T value);","title":""},{"docid":"b7fa011b28778cd3f7e7829aa1823942","score":"0.5869866","text":"public abstract String getLabel();","title":""},{"docid":"312fd22c08f2e75a8cca0b08b7c6d3d2","score":"0.5862535","text":"public String toString() {\n return value;\r\n }","title":""},{"docid":"4e12f1d583ec8c8a5b56d3e25e156da3","score":"0.58489233","text":"public String getStringValue() {\n return box.getFormat().format(box, box.getValue());\n }","title":""},{"docid":"bd8e2ffab77b26f22b76e8354409c3c8","score":"0.5833674","text":"protected String getStringValueText(String value) {\n // TODO(igorkarp): do not quote expressions once they could be detected.\n return getQuote() + value + getQuote();\n }","title":""},{"docid":"119d06d2a28d241a7547b918602ed929","score":"0.5833426","text":"String getValue()\n {\n return value.toString();\n }","title":""},{"docid":"7eb3e4960e4e813d5e2020cb908d2eea","score":"0.58295983","text":"@Override\n\t\t\tpublic String getValue() {\n\t\t\t\treturn value;\n\t\t\t}","title":""},{"docid":"43d4868e88ee22f9fedbb4f42ff917de","score":"0.58224237","text":"public static String readString(Value value) {\n return SafeEncoder.encode((byte[]) value.get());\n }","title":""},{"docid":"0f6b9e145f7a1a9c94113957bb766516","score":"0.5822345","text":"@Override\n\tpublic String getString() {\n\t\treturn value;\n\t}","title":""},{"docid":"f301c04db2bf8270cf7195f93ea9197e","score":"0.58175576","text":"public String toString() {\n return label;\n }","title":""},{"docid":"b973bff2f0a8749e5bc5f87da98a6fb0","score":"0.580359","text":"@Override\n public String getValue() {\n return this.value.toString();\n }","title":""},{"docid":"9d86a7f76ffba9f966b8a3f8d5c4cb19","score":"0.5796127","text":"private static String formatClassAndValue(Object value, String valueString)\n\t\t{\n\t\tString className = value == null ? \"null\" : value.getClass().getName();\n\t\treturn className + \"<\" + valueString + \">\";\n\t\t}","title":""},{"docid":"a3dac06fe201e0d9d5fd43a0bd9ec144","score":"0.5792584","text":"public Object getLabel(T instance) {\n if (labels.containsKey(instance)) {\n return labels.get(instance);\n } else {\n return \"\";\n }\n }","title":""},{"docid":"f1e44b3a3de974a1451e413427305f68","score":"0.57859224","text":"protected String toString(Object expectedValue) {\n\t\treturn expectedValue == null ? \"\" : expectedValue.toString(); //$NON-NLS-1$\n\t}","title":""},{"docid":"e796132646020e09798c512af843b7d7","score":"0.5784025","text":"@Override\n\tpublic String toString() {\n\t\treturn label;\n\t}","title":""},{"docid":"a669dded3a6e3320fc543098a41e5a25","score":"0.57777065","text":"public String toString() {\n return value;\n }","title":""},{"docid":"f735d58a665218bc0c2b74b0985e2828","score":"0.5776326","text":"public String toString()\n\t{\n\t\treturn \"\" + val;\n\t}","title":""},{"docid":"9c6e09d1b60457ba5916a6383a532e2f","score":"0.57730687","text":"public abstract String getLabelText();","title":""},{"docid":"f6bd4b76e41ad5ff5a31a16d7c17e341","score":"0.5772224","text":"public void setValue (String Value);","title":""},{"docid":"89622e1d189bb478b4d089ab42de27c7","score":"0.5769627","text":"public String\ttoString() { return Integer.toString(value); }","title":""},{"docid":"649e92229398bbeaf04be9e82a2f2e01","score":"0.57572955","text":"public String getLabelText();","title":""},{"docid":"790343b1bc329e6052fdc6bc3b8f2914","score":"0.57564825","text":"public abstract String toText(T value);","title":""},{"docid":"0b007e0d3cf2449323121d5ae4370c62","score":"0.57548106","text":"@Override\n\tpublic String getValue() {\n\t\treturn value;\n\t}","title":""},{"docid":"be2a673515cdc1c01e17a99c3b01146d","score":"0.5735519","text":"private void setText(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n text_ = value;\n }","title":""},{"docid":"0e2ddf297b18bc25dcac00608f8d14a5","score":"0.57348275","text":"public static Label createInputLabel(String lblValue) {\n\t\tLabel lbl = new Label(lblValue);\n\t\tlbl.setFont(Font.font(\"Arial\", FontWeight.SEMI_BOLD, 20));\n\t\treturn lbl;\n\t}","title":""},{"docid":"dd36867cbc83497f8ba74458f94a8491","score":"0.57333726","text":"ReadOnlyStringProperty labelProperty();","title":""},{"docid":"d128cc26b36fa7bca73f0adda9482895","score":"0.57316536","text":"protected void updateDisplay() {\r\n setValue(Integer.toString(value.getValue()));\r\n }","title":""},{"docid":"a41ba4677cb96656e7a142a37af16d69","score":"0.5730447","text":"private String getAllStringForValue(final String value) {\n\t\treturn \"\\\"\" + value + \"\\\"\";\n\t}","title":""},{"docid":"e1f8c5ab0d2c2412d08f96d433e45ba8","score":"0.5720415","text":"StringValue createStringValue();","title":""}],"string":"[\n {\n \"docid\": \"ba213db4b0f6d365047c90ca16bcf8ef\",\n \"score\": \"0.70077866\",\n \"text\": \"private String getLabel(int aValue) {\\n\\t\\tif (fRadix == radix_Hex) {\\n\\t\\t\\treturn Format.toHexString(aValue);\\n\\t\\t} else {\\n\\t\\t\\tif (fType == type_Float) {\\n\\t\\t\\t\\treturn \\\"\\\" + (double)aValue;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn \\\"\\\" + aValue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f877a4e19269a70fb968bc4cdcbaa8b3\",\n \"score\": \"0.6814678\",\n \"text\": \"private void checkLabelValue()\\n\\t{\\n\\t\\tif(labelValue != null && !\\\"\\\".equals(labelValue))\\n\\t\\t{\\n\\t\\t\\tlabelValue += \\\": \\\";\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f34c5c3204d69338584ab1c075f564d\",\n \"score\": \"0.67702544\",\n \"text\": \"protected String formatValue (Object value)\\n {\\n return String.valueOf(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfa85600aad7bb552f8a45207a1fda0d\",\n \"score\": \"0.6764993\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\tpublic String textFormatter(String value) {\\n\\t\\t\\t\\t\\tString label = \\\"(\\\" + value + \\\")\\\";\\r\\n\\t\\t\\t\\t\\treturn (label);\\r\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63628d8d9a0ebef2aac749dc8693e4ea\",\n \"score\": \"0.6487066\",\n \"text\": \"java.lang.String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79fa072b073cdaf09841329722d2009b\",\n \"score\": \"0.6429616\",\n \"text\": \"public static String getValueToRender(FacesContext context, UIComponent component, Object value) {\\n if (component instanceof ValueHolder) {\\n\\n if (component instanceof EditableValueHolder) {\\n EditableValueHolder input = (EditableValueHolder) component;\\n Object submittedValue = input.getSubmittedValue();\\n PrimeConfiguration config = PrimeApplicationContext.getCurrentInstance(context).getConfig();\\n\\n if (config.isInterpretEmptyStringAsNull()\\n && submittedValue == null\\n && !input.isLocalValueSet()\\n && context.isValidationFailed()\\n && !input.isValid()) {\\n return null;\\n }\\n else if (submittedValue != null) {\\n return submittedValue.toString();\\n }\\n }\\n\\n ValueHolder valueHolder = (ValueHolder) component;\\n if (value == UNDEFINED_VALUE) {\\n if (component instanceof HtmlOutputFormat) {\\n value = encodeComponent(component, context);\\n }\\n else {\\n value = valueHolder.getValue();\\n }\\n }\\n\\n //format the value as string\\n if (value != null) {\\n Converter converter = valueHolder.getConverter();\\n if (converter == null) {\\n Class valueType = value.getClass();\\n if (valueType == String.class\\n && !PrimeApplicationContext.getCurrentInstance(context).getConfig().isStringConverterAvailable()) {\\n return (String) value;\\n }\\n\\n converter = context.getApplication().createConverter(valueType);\\n }\\n\\n if (converter != null) {\\n return converter.getAsString(context, component, value);\\n }\\n else {\\n return value.toString(); //Use toString as a fallback if there is no explicit or implicit converter\\n }\\n }\\n else {\\n //component is a value holder but has no value\\n return null;\\n }\\n }\\n\\n //component it not a value holder\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5d298e4d64ad818bef3e75ac6276b46\",\n \"score\": \"0.6422027\",\n \"text\": \"public String getStrLabelValue() {\\r\\n\\t\\treturn strLabelValue;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c155757eb4670299fa1e08045ab769b2\",\n \"score\": \"0.6403989\",\n \"text\": \"@Override\\n public String toString(){\\n return String.valueOf(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"317bc094dfac4048fc79d157911cd18e\",\n \"score\": \"0.6402099\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\tpublic String textFormatter(String value) {\\n\\t\\t\\t\\t\\tDouble tmp = Double.parseDouble(value);\\r\\n\\t\\t\\t\\t\\tDecimalFormat df = new DecimalFormat(\\\"0.00\\\");\\r\\n\\t\\t\\t\\t\\tString label = df.format(tmp).toString();\\r\\n\\t\\t\\t\\t\\treturn (label);\\r\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01bcc1f7d0094cd15c9cce7a8373ee43\",\n \"score\": \"0.63973016\",\n \"text\": \"java.lang.String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01bcc1f7d0094cd15c9cce7a8373ee43\",\n \"score\": \"0.63973016\",\n \"text\": \"java.lang.String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01bcc1f7d0094cd15c9cce7a8373ee43\",\n \"score\": \"0.63973016\",\n \"text\": \"java.lang.String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01bcc1f7d0094cd15c9cce7a8373ee43\",\n \"score\": \"0.63973016\",\n \"text\": \"java.lang.String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01bcc1f7d0094cd15c9cce7a8373ee43\",\n \"score\": \"0.63973016\",\n \"text\": \"java.lang.String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01bcc1f7d0094cd15c9cce7a8373ee43\",\n \"score\": \"0.63973016\",\n \"text\": \"java.lang.String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"944e1b2a8732f79a98b03c0030174faf\",\n \"score\": \"0.6391976\",\n \"text\": \"public String getFormattedValue() {\\n if (labelFormatter != null) {\\n return labelFormatter.getText();\\n } else {\\n return \\\"\\\" + getValue();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d838b5b35efdb03813373cf2f166dff9\",\n \"score\": \"0.63710487\",\n \"text\": \"public void setLabel(Object value) {\\n this.setValue(LABEL_PROPERTY_KEY, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e442251e79d06da8be1ea829ccfda35b\",\n \"score\": \"0.6362012\",\n \"text\": \"public Builder setLabel(\\n java.lang.String value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n \\n label_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ff8e02aa97db641d287e53437fda5ad\",\n \"score\": \"0.6337704\",\n \"text\": \"public void setLabel(final String labelValue) {\\n this.label = labelValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ff8e02aa97db641d287e53437fda5ad\",\n \"score\": \"0.6337704\",\n \"text\": \"public void setLabel(final String labelValue) {\\n this.label = labelValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d858f8d391240c6be3986c15196a816e\",\n \"score\": \"0.63351804\",\n \"text\": \"public void setLabel(final String labelValue) {\\n this.label = labelValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3aceb84ceed8a99d72786d8f4f8720d\",\n \"score\": \"0.63105506\",\n \"text\": \"void setLabelString() {\\n int pad = 5; // fudge to make up for variable width fonts\\n float maxVal = Math.max(Math.abs(min), Math.abs(max));\\n intDigits = Math.round((float) (Math.log(maxVal) / Math.log(10))) + pad;\\n if (min < 0) {\\n intDigits++; // add one for the '-'\\n }\\n // fractDigits is num digits of resolution for fraction. Use base 10 log\\n // of scale, rounded up, + 2.\\n fractDigits = (int) Math.ceil((Math.log(scale) / Math.log(10)));\\n nf.setMinimumFractionDigits(fractDigits);\\n nf.setMaximumFractionDigits(fractDigits);\\n String value = nf.format(current);\\n while (value.length() < (intDigits + fractDigits)) {\\n value = value + \\\" \\\";\\n }\\n valueLabel.setText(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c40f52d2e00e4b66fd7add8183bc385\",\n \"score\": \"0.62511134\",\n \"text\": \"public void setStrLabelValue(String strLabelValue) {\\r\\n\\t\\tthis.strLabelValue = strLabelValue;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb710a64c6b0d50ee0ccd265da671e68\",\n \"score\": \"0.62470984\",\n \"text\": \"String displayValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a11071fbeb916089b45478c48750f0bf\",\n \"score\": \"0.61765146\",\n \"text\": \"public java.lang.String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48f23f781bfdd4f5fc8a65d9eba43b08\",\n \"score\": \"0.6160587\",\n \"text\": \"String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48f23f781bfdd4f5fc8a65d9eba43b08\",\n \"score\": \"0.6160587\",\n \"text\": \"String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0596d5ddad1b324f7f130f921d41f1a\",\n \"score\": \"0.61402863\",\n \"text\": \"@NotNull\\n protected String format(@NotNull final Object value) {\\n return value != null\\n ? value.toString()\\n : \\\"\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a0177784ba1fac10f0982385e4fa617\",\n \"score\": \"0.6116138\",\n \"text\": \"@Override\\n public String toString() {\\n return String.valueOf(value());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61d1fe2329bf405f0593c0b7f5ff4235\",\n \"score\": \"0.6109493\",\n \"text\": \"@Override\\r\\n public @Nullable String getFormattedText(RenderContext ctx)\\r\\n {\\n String oorPrefix = getOORPrefix(ctx);\\r\\n String formattedValue = \\\"\\\";\\r\\n Object value = getDisplayValue(ctx);\\r\\n if (null != value)\\r\\n {\\r\\n formattedValue = super.getFormattedText(ctx);\\r\\n if (null == formattedValue)\\r\\n formattedValue = ConvertUtils.convert(value);\\r\\n }\\r\\n assert null != formattedValue;\\r\\n return oorPrefix + formattedValue;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98450c607be102c280e0327c20ccef7b\",\n \"score\": \"0.6109197\",\n \"text\": \"String getValueAsString();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71e333a6bcb0a1b1c81fcf1afb64d33c\",\n \"score\": \"0.6093687\",\n \"text\": \"@Override public String toString() {\\n return \\\"\\\" + \\\"Value=\\\" + Value; // NOI18N\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1be546bb66a20fe820bd922798a7efe8\",\n \"score\": \"0.60830283\",\n \"text\": \"public String getValue() {\\n return String.valueOf(value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d07504010976af68ffe0cdb2b6757f8c\",\n \"score\": \"0.6065273\",\n \"text\": \"@Override\\r\\n public String toString() {\\r\\n return (value == null) ? \\\"\\\" : value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be11b13be3371c990622b772fd12a964\",\n \"score\": \"0.60515034\",\n \"text\": \"@Override\\n\\tpublic String visitValue(ValueContext ctx) {\\n\\t \\n\\t\\t\\n\\t return ctx.getChild(0).getText();\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec8330e3135544bbd41665837cba8cc4\",\n \"score\": \"0.6041613\",\n \"text\": \"@Override\\n protected String formatValue(Object value) {\\n String formatted = \\\"float\\\".equals(format) ? formatWithDigits(value, this.digits) : String.valueOf(value);\\n return formatted + \\\" \\\" + this.unitText;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6807061b62226c34ef7341c7a9c7e5c3\",\n \"score\": \"0.6026598\",\n \"text\": \"public String getValue() { return value; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67f3df1ab529c6222e4b450efb129135\",\n \"score\": \"0.60262984\",\n \"text\": \"private String getLabel(String label, String text) {\\n\\t\\tStringBuffer buffer = new StringBuffer(label);\\n\\t\\tif (text != null && !\\\"\\\".equals(text)) {\\n\\t\\t\\tif (!\\\"Choose One\\\".equals(text)) {\\n\\t\\t\\t\\tbuffer.append(\\\": '\\\" + text + \\\"'\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\treturn buffer.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc49e8c2731a0438a0a137fcc047d477\",\n \"score\": \"0.6025528\",\n \"text\": \"public String toString() {\\n StringBuffer sb = new StringBuffer(\\\"LabelValueBean[\\\");\\n sb.append(this.label);\\n sb.append(\\\", \\\");\\n sb.append(this.value);\\n sb.append(\\\"]\\\");\\n return (sb.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4305850716ae9fbe8b4bc6c0cb70de0f\",\n \"score\": \"0.6023683\",\n \"text\": \"private String toString(Object value) {\\n if (value == null) return \\\"null\\\";\\n // TODO: handle arrays in a nicer way.\\n return value.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efbce411bc362c607052059599464cef\",\n \"score\": \"0.6010408\",\n \"text\": \"@Override\\n public final String toString() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"714ecfad160b0baa565101ca3fdc3f76\",\n \"score\": \"0.60015774\",\n \"text\": \"@Override\\n public String toString() {\\n return \\\"\\\" + this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38db62c6f6a31e20c37a061683b5ff50\",\n \"score\": \"0.59918183\",\n \"text\": \"@Override\\r\\n\\tpublic String toString() {\\n\\t\\treturn value + \\\"\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe32606a3212f2fa6d8be9db9deac306\",\n \"score\": \"0.59815073\",\n \"text\": \"@Override\\n\\tpublic String toString() {\\n\\t\\tString str = labelTemplate.toString();\\n\\t\\tswitch (type) {\\n\\t\\tcase SET: str += \\\":=\\\"; break;\\n\\t\\tcase DISCARD: str += \\\"!=\\\"; break;\\n\\t\\tcase ADD: str += \\\"+=\\\"; break;\\n\\t\\t}\\n\\t\\tstr += valueTemplate.toString();\\n\\t\\treturn str;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7f963fa05b7ad211426a05841075fb1\",\n \"score\": \"0.5960393\",\n \"text\": \"@Override\\n\\tpublic String toString() {\\n\\t\\treturn (\\\"\\\"+label);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0d8ea37755de7a9d7b5f2386016da3d\",\n \"score\": \"0.5942975\",\n \"text\": \"public LabelValueBean(String label, String value) {\\n this.label = label;\\n this.value = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ddf66689f6fc40184b8a452a82ea9bf\",\n \"score\": \"0.59310603\",\n \"text\": \"String getValueFormatted();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc03115a3f517f84c93f949ecf89bbf3\",\n \"score\": \"0.59277374\",\n \"text\": \"public String toString()\\r\\n\\t{\\r\\n\\t\\treturn \\\" \\\" + this.value;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82ba232c33cd2f865a51f21d33d103dc\",\n \"score\": \"0.5927449\",\n \"text\": \"public String getValue () { return value; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48c406e4ae58ecbccbb3b29e5c02c8fb\",\n \"score\": \"0.592297\",\n \"text\": \"@Override\\n public String asText() {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b75356ae3f566da4ca6c2cdea1ad48d2\",\n \"score\": \"0.59217626\",\n \"text\": \"org.hl7.fhir.String getValueString();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4611a56a8434afdf9f15d0001d658a35\",\n \"score\": \"0.5918887\",\n \"text\": \"public abstract String valueAsText();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"291f8adea3c310797509f70de6961680\",\n \"score\": \"0.5899095\",\n \"text\": \"@Override\\n public String getValue() {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f0eaa6d1aebfacc5c0f42dbbabcbee2\",\n \"score\": \"0.5895604\",\n \"text\": \"protected String getFormattedValue(FacesContext context, UIComponent component,\\n Object currentValue ) {\\n return currentValue.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1d0ea60c53e8cc239d6662b79afc8c\",\n \"score\": \"0.5888772\",\n \"text\": \"String getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a44962afe3dd2d4b31d4dd2a5a84a1e\",\n \"score\": \"0.58796126\",\n \"text\": \"public static String toDisplayValue(Value value, boolean encodeLtGt) {\\n\\t\\tif (value instanceof URI)\\n \\t\\treturn EndpointImpl.api().getRequestMapper().getReconvertableUri((URI) value, encodeLtGt);\\n \\t\\treturn value.stringValue();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9cbf7406a8497b7cf976e930f737937\",\n \"score\": \"0.5879003\",\n \"text\": \"public String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9cbf7406a8497b7cf976e930f737937\",\n \"score\": \"0.5879003\",\n \"text\": \"public String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9cbf7406a8497b7cf976e930f737937\",\n \"score\": \"0.5879003\",\n \"text\": \"public String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9cbf7406a8497b7cf976e930f737937\",\n \"score\": \"0.5879003\",\n \"text\": \"public String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b128b7af7a18c4590511c9ea6d26e09f\",\n \"score\": \"0.587548\",\n \"text\": \"@Override\\n public String toString() {\\n \\treturn String.valueOf(val);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2032bc57e8df4ecf99f2f2c323dc0865\",\n \"score\": \"0.5873474\",\n \"text\": \"public String toString() {\\n/* 67 */ return String.valueOf(this.val);\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a95a9d3a8d74edbff273c2332a0d87eb\",\n \"score\": \"0.5873285\",\n \"text\": \"abstract String display(T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7fa011b28778cd3f7e7829aa1823942\",\n \"score\": \"0.5869866\",\n \"text\": \"public abstract String getLabel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"312fd22c08f2e75a8cca0b08b7c6d3d2\",\n \"score\": \"0.5862535\",\n \"text\": \"public String toString() {\\n return value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e12f1d583ec8c8a5b56d3e25e156da3\",\n \"score\": \"0.58489233\",\n \"text\": \"public String getStringValue() {\\n return box.getFormat().format(box, box.getValue());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd8e2ffab77b26f22b76e8354409c3c8\",\n \"score\": \"0.5833674\",\n \"text\": \"protected String getStringValueText(String value) {\\n // TODO(igorkarp): do not quote expressions once they could be detected.\\n return getQuote() + value + getQuote();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"119d06d2a28d241a7547b918602ed929\",\n \"score\": \"0.5833426\",\n \"text\": \"String getValue()\\n {\\n return value.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7eb3e4960e4e813d5e2020cb908d2eea\",\n \"score\": \"0.58295983\",\n \"text\": \"@Override\\n\\t\\t\\tpublic String getValue() {\\n\\t\\t\\t\\treturn value;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43d4868e88ee22f9fedbb4f42ff917de\",\n \"score\": \"0.58224237\",\n \"text\": \"public static String readString(Value value) {\\n return SafeEncoder.encode((byte[]) value.get());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f6b9e145f7a1a9c94113957bb766516\",\n \"score\": \"0.5822345\",\n \"text\": \"@Override\\n\\tpublic String getString() {\\n\\t\\treturn value;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f301c04db2bf8270cf7195f93ea9197e\",\n \"score\": \"0.58175576\",\n \"text\": \"public String toString() {\\n return label;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b973bff2f0a8749e5bc5f87da98a6fb0\",\n \"score\": \"0.580359\",\n \"text\": \"@Override\\n public String getValue() {\\n return this.value.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d86a7f76ffba9f966b8a3f8d5c4cb19\",\n \"score\": \"0.5796127\",\n \"text\": \"private static String formatClassAndValue(Object value, String valueString)\\n\\t\\t{\\n\\t\\tString className = value == null ? \\\"null\\\" : value.getClass().getName();\\n\\t\\treturn className + \\\"<\\\" + valueString + \\\">\\\";\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3dac06fe201e0d9d5fd43a0bd9ec144\",\n \"score\": \"0.5792584\",\n \"text\": \"public Object getLabel(T instance) {\\n if (labels.containsKey(instance)) {\\n return labels.get(instance);\\n } else {\\n return \\\"\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1e44b3a3de974a1451e413427305f68\",\n \"score\": \"0.57859224\",\n \"text\": \"protected String toString(Object expectedValue) {\\n\\t\\treturn expectedValue == null ? \\\"\\\" : expectedValue.toString(); //$NON-NLS-1$\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e796132646020e09798c512af843b7d7\",\n \"score\": \"0.5784025\",\n \"text\": \"@Override\\n\\tpublic String toString() {\\n\\t\\treturn label;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a669dded3a6e3320fc543098a41e5a25\",\n \"score\": \"0.57777065\",\n \"text\": \"public String toString() {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f735d58a665218bc0c2b74b0985e2828\",\n \"score\": \"0.5776326\",\n \"text\": \"public String toString()\\n\\t{\\n\\t\\treturn \\\"\\\" + val;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6e09d1b60457ba5916a6383a532e2f\",\n \"score\": \"0.57730687\",\n \"text\": \"public abstract String getLabelText();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6bd4b76e41ad5ff5a31a16d7c17e341\",\n \"score\": \"0.5772224\",\n \"text\": \"public void setValue (String Value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89622e1d189bb478b4d089ab42de27c7\",\n \"score\": \"0.5769627\",\n \"text\": \"public String\\ttoString() { return Integer.toString(value); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"649e92229398bbeaf04be9e82a2f2e01\",\n \"score\": \"0.57572955\",\n \"text\": \"public String getLabelText();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"790343b1bc329e6052fdc6bc3b8f2914\",\n \"score\": \"0.57564825\",\n \"text\": \"public abstract String toText(T value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b007e0d3cf2449323121d5ae4370c62\",\n \"score\": \"0.57548106\",\n \"text\": \"@Override\\n\\tpublic String getValue() {\\n\\t\\treturn value;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be2a673515cdc1c01e17a99c3b01146d\",\n \"score\": \"0.5735519\",\n \"text\": \"private void setText(\\n java.lang.String value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n \\n text_ = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e2ddf297b18bc25dcac00608f8d14a5\",\n \"score\": \"0.57348275\",\n \"text\": \"public static Label createInputLabel(String lblValue) {\\n\\t\\tLabel lbl = new Label(lblValue);\\n\\t\\tlbl.setFont(Font.font(\\\"Arial\\\", FontWeight.SEMI_BOLD, 20));\\n\\t\\treturn lbl;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd36867cbc83497f8ba74458f94a8491\",\n \"score\": \"0.57333726\",\n \"text\": \"ReadOnlyStringProperty labelProperty();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d128cc26b36fa7bca73f0adda9482895\",\n \"score\": \"0.57316536\",\n \"text\": \"protected void updateDisplay() {\\r\\n setValue(Integer.toString(value.getValue()));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a41ba4677cb96656e7a142a37af16d69\",\n \"score\": \"0.5730447\",\n \"text\": \"private String getAllStringForValue(final String value) {\\n\\t\\treturn \\\"\\\\\\\"\\\" + value + \\\"\\\\\\\"\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1f8c5ab0d2c2412d08f96d433e45ba8\",\n \"score\": \"0.5720415\",\n \"text\": \"StringValue createStringValue();\",\n \"title\": \"\"\n }\n]"}}}],"truncated":false,"partial":false},"paginationData":{"pageIndex":8,"numItemsPerPage":100,"numTotalItems":995064,"offset":800,"length":100}},"jwt":"eyJhbGciOiJFZERTQSJ9.eyJyZWFkIjp0cnVlLCJwZXJtaXNzaW9ucyI6eyJyZXBvLmNvbnRlbnQucmVhZCI6dHJ1ZX0sImlhdCI6MTc1NjQ4OTIyMCwic3ViIjoiL2RhdGFzZXRzL250aGFrdXIvY29ybnN0YWNrLWphdmEtdjEtdGV2YXRyb24tMU0iLCJleHAiOjE3NTY0OTI4MjAsImlzcyI6Imh0dHBzOi8vaHVnZ2luZ2ZhY2UuY28ifQ.hxLJs9XvJSWh4H4S1opKWSR8P6ch9Cpy9ezGY22LCk6mYoSu5ldE7vJFwH4Hj9Mx_rAcmEXvUAW2HFaahZgLDA","displayUrls":true},"discussionsStats":{"closed":0,"open":0,"total":0},"fullWidth":true,"hasGatedAccess":true,"hasFullAccess":true,"isEmbedded":false,"savedQueries":{"community":[],"user":[]}}">
query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
09d74912278cc2f8bafe59ce9ad77aca
Dal Maso Initialize all the components
[ { "docid": "8f6070cbf28d7d5dd62c8aa06fb95f8d", "score": "0.0", "text": "public void initializeComponents(){\n mCamera = BillActivity.getCameraInstance();\n mCamera.setDisplayOrientation(90);\n\n //Camera parameters\n Camera.Parameters p = mCamera.getParameters();\n p.setFlashMode(Camera.Parameters.FLASH_MODE_OFF);\n p.setJpegQuality(100);\n List<Camera.Size> sizes = p.getSupportedPictureSizes();\n Camera.Size size = sizes.get(0);\n for (int i = 0; i < sizes.size(); i++) {\n if (sizes.get(i).width > size.width)\n size = sizes.get(i);\n }\n p.setPictureSize(size.width, size.height);\n //p.setRotation(90);\n //p.set(\"orientation\", \"portrait\");\n //p.set(\"rotation\",90);\n\n mCamera.setParameters(p);\n\n final ImageButton flashButton = (ImageButton)findViewById(R.id.flashBtn);\n flashButton.setTag(0);\n flashButton.setImageDrawable(getResources().getDrawable(R.drawable.ic_flash_off));\n\n //Flash button managment\n flashButton.setOnClickListener( new View.OnClickListener() {\n @Override\n public void onClick (View v) {\n final int status =(Integer) v.getTag();\n switch (status){\n //Flash on\n case 0:\n v.setTag(1);\n flashButton.setImageDrawable(getResources().getDrawable(R.drawable.ic_flash_on));\n p.setFlashMode(Camera.Parameters.FLASH_MODE_ON);\n mCamera.setParameters(p);\n break;\n //Flash auto\n case 1:\n v.setTag(2);\n flashButton.setImageDrawable(getResources().getDrawable(R.drawable.ic_flash_auto));\n p.setFlashMode(Camera.Parameters.FLASH_MODE_AUTO);\n mCamera.setParameters(p);\n break;\n //Flash off\n case 2:\n v.setTag(0);\n flashButton.setImageDrawable(getResources().getDrawable(R.drawable.ic_flash_off));\n p.setFlashMode(Camera.Parameters.FLASH_MODE_OFF);\n mCamera.setParameters(p);\n break;\n }\n }\n });\n\n\n // Create our Preview view and set it as the content of our activity.\n mPreview = new CameraPreview(this, mCamera);\n FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview);\n\n\n //Camera focus on touch\n mPreview.setOnTouchListener(new View.OnTouchListener() {\n @Override\n public boolean onTouch(View v, MotionEvent event) {\n if (event.getAction() == MotionEvent.ACTION_DOWN) {\n focusOnTouch(event);\n }\n return true;\n }\n });\n\n //Start camera real-time preview\n preview.addView(mPreview);\n\n //Image capture button\n ImageButton captureButton = (ImageButton) findViewById(R.id.takePhoto_button);\n captureButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n // get an image from the camera\n mCamera.takePicture(null, null, mPicture);\n }\n });\n\n //Finish taking photo\n Button finishButton = (Button)findViewById(R.id.btnCheck_goBack);\n finishButton.setOnClickListener( new View.OnClickListener() {\n @Override\n public void onClick (View v) {\n finish();\n }\n });\n\n }", "title": "" } ]
[ { "docid": "0fb1a19184aa41dd21f26f575bc2a982", "score": "0.7617809", "text": "public void _init() {\n installComponents();\n }", "title": "" }, { "docid": "95784b0acfd2034f3b14e21c400ab1c3", "score": "0.7278983", "text": "private AdminMasuk() {\n initComponents();\n \n }", "title": "" }, { "docid": "c441850008cf6bd618aeb7c47e45c874", "score": "0.72200453", "text": "public void init() {\n this.missionManager.init();\n //this._escortManager.init();\n //this._bossManager.init();\n //this._titleManager.init();\n //this.relationshipManager.init();\n //this._chatManager.init();\n //this.crossManager.init();\n //this.auctionManager.init();\n this.sectionManager.init();\n //this._monsterSiegeManager.init();\n getNRelationManager().init();\n getNCopyManager().init();\n }", "title": "" }, { "docid": "3ddac83f588d4ac3f31fa2c1e6256eff", "score": "0.7105775", "text": "public void init() {\r\n\r\n\t\tsuper.init();\r\n\t\tclassificazioneDao = (ClassificazioneDao) getDaoByModel(Classificazione.class);\r\n\t\talberoClassificatorioDao = (AlberoClassificatorioDao) getDaoByModel(AlberoClassificatorio.class);\r\n\r\n\t}", "title": "" }, { "docid": "78f6ffa16ff249e4dee556180740d04d", "score": "0.7083523", "text": "public void autonomousInit() {\n \t\n }", "title": "" }, { "docid": "4fa003d6bc507e1a990453f02dbdaef8", "score": "0.70662606", "text": "void initialize() {\n initializeRecommendations();\n initializeBusinessRules();\n }", "title": "" }, { "docid": "ca4e00fc76ce1bf03323dd6204cb9733", "score": "0.69784003", "text": "private void init() {\n new ManagerObsluhy(Id.managerObsluhy, mySim(), this);\n new ProcesObsluhaZakaznika(Id.procesObsluhaZakaznika, mySim(), this);\n addOwnMessage(Mc.vystupZakaznikaDoObsluhy);\n addOwnMessage(Mc.prichodZakaznikaNaVratenieAuta);\n addOwnMessage(Mc.koniecObsluhy);\n }", "title": "" }, { "docid": "d3ce46c642130aa6e345d4aee5f9d833", "score": "0.69582653", "text": "public void init(){\n setCrudDao(this.systemAdministratorDao);\n }", "title": "" }, { "docid": "1d5a064caa0dfcd08214ad1b08d85916", "score": "0.69567394", "text": "private void initialize() {\n\t\tsetGameObjectAttributes();\n\t\tsetInteractionComponents();\n\t}", "title": "" }, { "docid": "0867af5fb410fa7b727c0ee7afab7a14", "score": "0.69537365", "text": "public Soils() {\n initComponents();\n }", "title": "" }, { "docid": "33f8a006d97ccaba85c0f72986157c74", "score": "0.69369256", "text": "private void initialize() {\n\n\t\tinitializeLabels();\n\t\t\n\t\tinitializeGuardTypeComboBox();\n\n\t\tinitializeBtns();\n\t\t\n\t\tinitializeTextFields();\n\t\t\n\t}", "title": "" }, { "docid": "790e8483bd8a3755a5cbc9bda5e2b58e", "score": "0.6919695", "text": "public void init()\n\t{\n\t\t// if we are auto-creating our schema, check and create\n\t\tif (autoDdl)\n\t\t{\n\t\t\tthis.sqlService.ddl(this.getClass().getClassLoader(), \"mneme_assessment\");\n\t\t}\n\n\t\t// messages\n\t\tif (this.bundle != null) this.messages = new ResourceLoader(this.bundle);\n\n\t\tM_log.info(\"init()\");\n\t}", "title": "" }, { "docid": "545bb66730b89e4dc778e3e3a76b8c27", "score": "0.68812215", "text": "public void init(){\n\n\t\t// Initialize game objects\n\t\tinitGameObjects();\n\t}", "title": "" }, { "docid": "531e6fcc83e780b517d5483c1f717f28", "score": "0.6864218", "text": "private void initialize() {\r\n\t\tinitializeModel();\r\n\t\tinitializeView();\r\n\t\tinitializeController();\r\n\t}", "title": "" }, { "docid": "6813cffc2dfa29b9ec7513b603606c66", "score": "0.6858935", "text": "public AltaMascota() {\n initComponents();\n \n }", "title": "" }, { "docid": "c96f21c8550d65cb834789159b48fd2e", "score": "0.68557256", "text": "protected void initComponents() {\n\t\t\n\t}", "title": "" }, { "docid": "7506b04f60e5f033cbf403ba10aa901d", "score": "0.68399614", "text": "@Override\n public void autonomousInit() {\n }", "title": "" }, { "docid": "7506b04f60e5f033cbf403ba10aa901d", "score": "0.68399614", "text": "@Override\n public void autonomousInit() {\n }", "title": "" }, { "docid": "c92f71716bae71af4f79aa5af2411733", "score": "0.6829001", "text": "private void initialize() {\r\n\r\n createFrame();\r\n\r\n createMainPanel();\r\n\r\n createSearchPanel();\r\n\r\n createTable();\r\n\r\n createControlPanel();\r\n\r\n createButtonPanel();\r\n\r\n createLogPanel();\r\n\r\n createSplitPanel();\r\n }", "title": "" }, { "docid": "1555728c70522acbc8e231c64e01b1ed", "score": "0.6821027", "text": "@Override\n public void autonomousInit() {\n\n }", "title": "" }, { "docid": "87cae0977f3ae43171cbfa6f9b99dec9", "score": "0.68133193", "text": "@Override\n\tpublic void init() {\n\t\tinitViews();\n\t\tinitListeners();\n\t\tinitMembers();\n\t\tinitData();\n\n\t}", "title": "" }, { "docid": "1a58b609e6bb4d7c9d3adf924a8d1074", "score": "0.6811238", "text": "private void init() {\r\n visualMappingPanel = new ConfigurationPanel();\r\n\r\n initGroupingBox();\r\n initSlotControls();\r\n }", "title": "" }, { "docid": "a6ad6ddf33377dde3f9c9a1d319763c7", "score": "0.680292", "text": "private void init() {\n\t\tinitialize();\n\t}", "title": "" }, { "docid": "8f77dd2441c4479b6e9c6ad5fd55bde4", "score": "0.67982405", "text": "private void initialize() {\r\n // basic layout is a Gridlayout\r\n setLayout(new GridLayout());\r\n createHead();\r\n // createActionChoice();\r\n createMainArea();\r\n createOptionsArea();\r\n }", "title": "" }, { "docid": "0698a6a03c2dda9eeb0a571fe54a9aaf", "score": "0.6795301", "text": "public void inicializarComponentes() {\r\n\tModulo m1 = new Modulo(\"MODULO A\");\r\n\tModulo m2 = new Modulo(\"MODULO B\");\r\n\tModulo m3 = new Modulo(\"MODULO C\");\r\n\t\r\n\tCola turnos = new Cola();\r\n\tHiloGestion= new HiloGestion(m1, m2, m3, turnos);\r\n\teventos = new GestionEventos(this);\r\n\tpanel = new Panel(this);\r\n\thilo = new HiloTurno(HiloGestion.getTurnos());\r\n\tadd(panel);\r\n }", "title": "" }, { "docid": "9beb7a776b814ef19f3094ec7139086d", "score": "0.6794351", "text": "public void initialize() {\n // TODO\n }", "title": "" }, { "docid": "ca653f114828cc26e5179911ed269eff", "score": "0.6757634", "text": "public void mainInit(){\n\t\t\n\t\tif(dbHelper==null){\n\t\t\tdbHelper = new DbHelper(this);\n\t\t}\n\t\tif(applicationModel==null){\n\t\t\tapplicationModel = new ApplicationModel(this);\n\t\t}\n\t}", "title": "" }, { "docid": "42ec6bada4b40fe991ab49951a124dfb", "score": "0.67437667", "text": "private void init() {\n\t\tfor (I_Component component : this.components) {\n\t\t\tthis.messageBus.addComponent(component.getSelf());\n\t\t\tcomponent.init(this.messageBus);\n\t\t}\n\t}", "title": "" }, { "docid": "7ac81b8c8df99b48de4b4774caee6fd2", "score": "0.6743195", "text": "protected void initialize() {\n \n\t}", "title": "" }, { "docid": "3fba62d81f6dc23aa25d25a4ea77e72e", "score": "0.67215073", "text": "private void inicializarComponentes(){\n //Creo las vistas\n escenario = new Escenario();\n vistaPrincipal = new VistaPrincipal();\n vistaPelea = new VistaPelea();\n vistaSeleccion = new VistaSeleccion();\n vistaPelea.inicializar();\n escenario.agregarObservador(vistaPelea);\n vistaPelea.setCoordenadasX(escenario.jugadores);\n gestionEventos();\n\n //Configuro el Stage\n window.setResizable(true);\n window.setTitle( \"Mortal-Fighter\" );\n window.setScene(vistaPrincipal.getScene());\n }", "title": "" }, { "docid": "254c3cee5e4034b99443102974ae3a1f", "score": "0.6709875", "text": "private void initializeModels() {\n AssetModel assetModel = new AssetModel();\n ModelManager.getInstance().initialize(assetModel);\n }", "title": "" }, { "docid": "2c83c672ae56378c21cd1a478b811c3e", "score": "0.67094404", "text": "public void mijnInit()\n {\n maakMatrix();\n maakAlgemeenPanel();\n maakSudokuPanel();\n maakMeldingenLabel();\n //maakRegelsPanel();\n maakInvulRegel();\n }", "title": "" }, { "docid": "2830c15122ea2c6c5da535e809673ac7", "score": "0.6703856", "text": "protected void init() {\r\n\r\n }", "title": "" }, { "docid": "5e4626626c766f2aa22ff1a19dd6ea65", "score": "0.6700405", "text": "public void init() {\n\r\n\t}", "title": "" }, { "docid": "c291e435c177a2d5ad081e829896f909", "score": "0.6699533", "text": "private void initComponents() {\n//\t\tinitializeVariables();\n//\t\tcreateStamboomPanel();\n\t}", "title": "" }, { "docid": "5a9474de6c3494be4abc11f3a55feea9", "score": "0.6697736", "text": "public void init() {\r\n\t}", "title": "" }, { "docid": "5a1b6e152111ef9c4b420387a8eedd5d", "score": "0.6690781", "text": "public Engine() {\n initComponents();\n \n }", "title": "" }, { "docid": "0c7c3e7ed26e6687f8778ae121340c0d", "score": "0.6683836", "text": "private void myInit() {\n// Main.MyDB.setNames(\"db_pos_casablanca\");\n init_key();\n init_tbl_tables();\n data_cols();\n init_tbl_guests();\n\n init_tbl_customer_tables_details();\n }", "title": "" }, { "docid": "0299ed73e4e1ebec04db022699ea20da", "score": "0.66836756", "text": "public void init() {\n \n\t}", "title": "" }, { "docid": "f63d9d6776fc1e035bf0bd3f0d7c962a", "score": "0.6680373", "text": "private void initialize() {\n\n\t}", "title": "" }, { "docid": "bfe4c0308eb414c0de3569a28eb23262", "score": "0.6675236", "text": "private void initializeObjectsFunc() {\n mDatabaseHelper = new DatabaseHelper(this);\n mInputValidation = new InputValidation(this);\n\n }", "title": "" }, { "docid": "736e3afca64b86961d8ff87d23e954d1", "score": "0.66647387", "text": "public void init() {\r\n\tlog.info(\"INIT from OsylDirectory service\");\r\n }", "title": "" }, { "docid": "bd219f86684340021fffd7c59156909e", "score": "0.6658736", "text": "public void init() {\n\t\tutil.mask();\n\n\t\tinitComponents();\n\t\tinitController();\n\n\t\ttryGetDomains();\n\t}", "title": "" }, { "docid": "41dbc22652100394ad4d0d7c701d5b62", "score": "0.66537803", "text": "public void init() {\n dbHelper = new DBHelper();\n boolean canConnect = dbHelper.Connect();\n BaseDeltaControl baseDeltaControl = new BaseDeltaControl(dbHelper);\n DeltaControl deltaControl =new DeltaControl(baseDeltaControl);\n timelineControl = new TimelineControl(dbHelper, deltaControl);\n }", "title": "" }, { "docid": "d5e65f726a0599666eb2a1f77c4b74fa", "score": "0.6648882", "text": "private void initialize() {\n //todo: implementation\n }", "title": "" }, { "docid": "88a43bd4b44621b4f31cab9a47c23289", "score": "0.663841", "text": "public void init() {\n MetalMaterial.registerOreDict();\n MetalMaterial.makeRecipes();\n OreBlocks.preInit();\n GameRegistry.registerWorldGenerator(new OreGenerator(), 1000);\n IModule.modules.forEach(IModule::init);\n }", "title": "" }, { "docid": "6fbdd1b85b48ee45c1e7a959e405b057", "score": "0.6636621", "text": "public void init() {\n\t\tdb = new FacePamphletDatabase();\n\t\tcanv = new FacePamphletCanvas();\n\t\tadd(canv);\n\t\taddInteractors();\n\t\taddActionListeners();\n\t}", "title": "" }, { "docid": "5039a5e0517d7ccdaa395488a6db65bc", "score": "0.66360486", "text": "protected void initialize() {\n \t\n }", "title": "" }, { "docid": "ddbb0b7726516570937c8bfe1acb75a8", "score": "0.6634692", "text": "public void initialize()\r\n\t{\r\n\t}", "title": "" }, { "docid": "d5df12c7fc56f53e0c3ce4a4c21583e1", "score": "0.6631197", "text": "private void init() {\n\r\n\t}", "title": "" }, { "docid": "c5c896f3bbefa22b96d4914611539594", "score": "0.6630957", "text": "public void dataBaseInit() {\n\t\thelper = new DaoMaster.DevOpenHelper(this, \"flotta-db\", null);\n\t\tdb = helper.getWritableDatabase();\n\t\tdaoMaster = new DaoMaster(db);\n\t\tdaoSession = daoMaster.newSession();\n\t\tsoforDao = daoSession.getSoforDao();\n\t}", "title": "" }, { "docid": "15d19f87aa673b36c0eb68457349f9bc", "score": "0.6625842", "text": "private void initialize() {\n\n }", "title": "" }, { "docid": "af76e497be376836e13335b0f94229fb", "score": "0.66197777", "text": "public void init()\n {\n initializeDatabases();\n }", "title": "" }, { "docid": "9be9671086d7856bcaaa222d4eecdbb8", "score": "0.6616783", "text": "void initComponent();", "title": "" }, { "docid": "27403fed0e7a443793c73423782313d9", "score": "0.6614475", "text": "public Metodos() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "caab96c1a331dd2ebbb637bd2b8f0c52", "score": "0.6612862", "text": "public void init() {\n\t\t// You fill this in\n\t\taddInteractors();\n\t\tmyData = new FacePamphletDatabase();\n\t\tcanvas = new FacePamphletCanvas();\n\t\tadd(canvas);\n }", "title": "" }, { "docid": "839e80283bfdf8710435a608bfb1931e", "score": "0.6608247", "text": "public void initialize()\n\t{\n\n\t}", "title": "" }, { "docid": "ab32d07a0172ec93445856bec7808c5c", "score": "0.6607029", "text": "@PostConstruct\t\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "5817ea11ebff3f1d97dc35feb6cd3ea1", "score": "0.66070175", "text": "public void initialize() {\n }", "title": "" }, { "docid": "f6f38e7fc6a7cde4e092bb5e453a5f7d", "score": "0.6606771", "text": "protected void init() {\n\n }", "title": "" }, { "docid": "d7e7892b916d241cab9d4141a721f92f", "score": "0.66052896", "text": "public static void initialize() {\r\n\t\tcom.wondersgroup.falcon.model.rc.dao._RootDAO.initialize((String) null);\r\n\t}", "title": "" }, { "docid": "637fd1134cecbbcd88407d02b19ebdd9", "score": "0.6604605", "text": "public void initialize() {\n\t}", "title": "" }, { "docid": "637fd1134cecbbcd88407d02b19ebdd9", "score": "0.6604605", "text": "public void initialize() {\n\t}", "title": "" }, { "docid": "637fd1134cecbbcd88407d02b19ebdd9", "score": "0.6604605", "text": "public void initialize() {\n\t}", "title": "" }, { "docid": "944b582f6ed3a1ef6ce1ab02d37a797b", "score": "0.6602824", "text": "public void init(){\n }", "title": "" }, { "docid": "09579e543452e5e8a32eac4379ef585e", "score": "0.66027004", "text": "public void init()\n\t{\n\t}", "title": "" }, { "docid": "0a250d17861d65e4410964582d455b11", "score": "0.659573", "text": "protected void startArtemis() {\n bindViewObjects();\n\n // Setup listeners for events\n bindViewEvents();\n\n // connect to the database and load some initial data\n initDatabase();\n }", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.6594834", "text": "public void init() {\n }", "title": "" }, { "docid": "bb9787fd737d6f85611773ef1484e96a", "score": "0.6583225", "text": "public Servicios() {\n initComponents();\n \n }", "title": "" }, { "docid": "bffbb7458dfd0f04e1c700d9b24e17a1", "score": "0.6579293", "text": "public void initialize()\r\n\t{\r\n\t\tthis.initialize();\r\n\t}", "title": "" }, { "docid": "57b144c4a63f5d4a060c2fe8411d7c50", "score": "0.6575689", "text": "public hapusdata() {\n initComponents();\n }", "title": "" }, { "docid": "1271d15d978c691b4e05aacd03f902c4", "score": "0.6573997", "text": "public void initialize(){\n\t\t\n\t}", "title": "" }, { "docid": "820ce6d2703d549e2cc82562b75f7d36", "score": "0.6572119", "text": "@PostConstruct\n public void init() {\n\n if (versioningManager == null) {\n versioningManager = VersioningManagerFactory.getInstance().createInterface();\n }\n if (vendorSoftwareProductManager == null) {\n vendorSoftwareProductManager =\n VspManagerFactory.getInstance().createInterface();\n }\n if (candidateManager == null) {\n candidateManager =\n OrchestrationTemplateCandidateManagerFactory.getInstance().createInterface();\n }\n\n loadConfig();\n }", "title": "" }, { "docid": "748a0cd346ace97e8650640546927586", "score": "0.6567318", "text": "protected void init() {\n\t}", "title": "" }, { "docid": "a89ba8a9404462e1b5dbf405a7113aa6", "score": "0.6565304", "text": "private void initialize() {\n }", "title": "" }, { "docid": "ab78095eca9a9f1f776bc64cd979fee5", "score": "0.6563773", "text": "public Home() {\n initComponents();\n connectSQL();\n }", "title": "" }, { "docid": "097adf281f8a55920ae7f238a3b39978", "score": "0.65615976", "text": "protected void initComposites() {\n\n\t}", "title": "" }, { "docid": "cd779aacc91809113f74aef470842acb", "score": "0.6555564", "text": "protected void init() {}", "title": "" }, { "docid": "5ba38e635b29b498cb36100f2eb9c75c", "score": "0.6553731", "text": "@PostConstruct\n public void init() {\n // setup status menu items for selectOneMenu element\n statusMap = new HashMap<String, String>();\n statusMap.put(Constants.CentreManagement.ACTIVE_STATUS_VALUE, Constants.CentreManagement.ACTIVE_STATUS_LABEL);\n statusMap.put(Constants.CentreManagement.INACTIVE_STATUS_VALUE, Constants.CentreManagement.INACTIVE_STATUS_LABEL);\n \n statusList = new ArrayList<SelectItem>();\n Iterator<Entry<String, String>> it = statusMap.entrySet().iterator();\n while(it.hasNext()){\n Map.Entry<String, String> pairs = it.next();\n statusList.add(new SelectItem(pairs.getKey(), pairs.getValue()));\n }\n centreDataForEditing = new Centre();\n centreDataModel = new CentreDataModel(new ArrayList<Centre>());\n \n centreDTO = new CentreDTO(); \n centreDTO.setStatus(Integer.valueOf(Constants.CentreManagement.ACTIVE_STATUS_VALUE));\n centreLazyDataModel = new CentreLazyDataModel(centreService, centreDTO);\n }", "title": "" }, { "docid": "1bf736028e7c6a62aa95ea0eff083291", "score": "0.6552867", "text": "private void initializeComponents() {\n assignListeners();\n }", "title": "" }, { "docid": "7532887a7aa261a8da3f54b2f4c5bb83", "score": "0.6549168", "text": "protected void setup() {\n\t\taddBehaviour(new Saludo());\n\t\t\n\t\t//Se añade el comportamiento para busque agentes\n\t\tBuscarAgentes buscarAgentes = new BuscarAgentes(this,100);\n\t\taddBehaviour(buscarAgentes);\n\t\t\n\t\taddBehaviour(new LeerMensajeTelegram());\n\t\t\t \t\n\t}", "title": "" }, { "docid": "175c1196c2c3b5934fb85360795dc142", "score": "0.6541825", "text": "private void init() {\n // classModel\n classModel = new GeCustomizerSupport.PathModel(properties.getClasses());\n \n // javadocModel\n javadocModel = new GeCustomizerSupport.PathModel(properties.getJavadocs());\n javadocModel.addListDataListener(new ModelChangeAdapter() {\n public void modelChanged() {\n javadocModelFlag = true;\n store(); // This is just temporary until the server manager has OK and Cancel buttons\n }\n });\n \n // geronimoHomeModel\n geHomeModel = createDocument(properties.getGeHomeLocation());\n \n // usernameModel\n usernameModel = createDocument(properties.getUsername());\n usernameModel.addDocumentListener(new ModelChangeAdapter() {\n public void modelChanged() {\n usernameModelFlag = true;\n store(); // This is just temporary until the server manager has OK and Cancel buttons\n }\n });\n \n // passwordModel\n passwordModel = createDocument(properties.getPassword());\n passwordModel.addDocumentListener(new ModelChangeAdapter() {\n public void modelChanged() {\n passwordModelFlag = true;\n store(); // This is just temporary until the server manager has OK and Cancel buttons\n }\n });\n \n // serverPortModel\n serverPortModel = new SpinnerNumberModel(properties.getServerPort(), 0, 65535, 1);\n serverPortModel.addChangeListener(new ModelChangeAdapter() {\n public void modelChanged() {\n serverPortModelFlag = true;\n store(); // This is just temporary until the server manager has OK and Cancel buttons\n }\n });\n \n // shutdownPortModel\n adminPortModel = new SpinnerNumberModel(properties.getAdminPort(), 0, 65535, 1);\n adminPortModel.addChangeListener(new ModelChangeAdapter() {\n public void modelChanged() {\n adminPortModelFlag = true;\n store(); // This is just temporary until the server manager has OK and Cancel buttons\n }\n });\n }", "title": "" }, { "docid": "892215be92643b7e563925e454136d8c", "score": "0.65401864", "text": "protected void init(){}", "title": "" }, { "docid": "892215be92643b7e563925e454136d8c", "score": "0.65401864", "text": "protected void init(){}", "title": "" }, { "docid": "91a63efaf9b36d14bb3c89f41651ef9f", "score": "0.6535256", "text": "private void init(){\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.653446", "text": "private void init() {\n }", "title": "" }, { "docid": "01d30936c6dd95fea7d19580499a076e", "score": "0.65303475", "text": "public void initialize()\n\t{\n\t}", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6528594", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6528594", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6528594", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6528594", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6528594", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.6526817", "text": "private void init() {\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.6526817", "text": "private void init() {\n\t}", "title": "" }, { "docid": "622fe1b8576752e3ee49de174ceabcc6", "score": "0.6526725", "text": "private void init(){\n db = db.getInstance();\n getAccountsFromDatabase();\n\n }", "title": "" }, { "docid": "6de8fbf8ec3a5f6d0058adec8ab30994", "score": "0.6521359", "text": "private void init() {\n new ManagerAPoint(Id.managerAPoint, mySim(), this);\n new ProcessLoaderB(Id.processLoaderB, mySim(), this);\n new ProcessLoaderA(Id.processLoaderA, mySim(), this);\n new TimeSchedulerA(Id.timeSchedulerA, mySim(), this);\n addOwnMessage(Mc.importResource);\n addOwnMessage(Mc.load);\n addOwnMessage(Mc.initialisation);\n addOwnMessage(Mc.done);\n }", "title": "" }, { "docid": "229a70d481924829deec962d4aa9542c", "score": "0.6519263", "text": "public void init() {}", "title": "" }, { "docid": "9cee6e60fac7ba9a00b37f73cd934aa1", "score": "0.6518519", "text": "public void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "9cee6e60fac7ba9a00b37f73cd934aa1", "score": "0.6518519", "text": "public void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "60bd493759c445eaf6be50feb199fdbc", "score": "0.65123224", "text": "public void inicializarComponentes(){\n\n imageEditarPerfil = findViewById(R.id.imgEditarPerfil);\n textAlterarFoto = findViewById(R.id.txtAlterarFotoPerfil);\n\n editNomePerfil = findViewById(R.id.txtAlterarNomePerfil);\n editEmailPerfil = findViewById(R.id.txtAlterarEmailPerfil);\n\n btSalvarAlteracoes = findViewById(R.id.btnSalvarPerfil);\n btExcluirPerfil = findViewById(R.id.btnExcluirPerfil);\n }", "title": "" }, { "docid": "cc9ed28001db5df5cc7839239845e0ee", "score": "0.6510644", "text": "private void init() {\n\t\tsetupEventOption();\n\t\tcreateButton();\n\t\tsetupMainPanel();\n\t\tsetupPanel();\n\t}", "title": "" } ]
d16bc5c19f6b1236e0ff4380579a15bd
Returns an immutable Map of Exceptions that occured when initializing SolrCores (either at startup, or do to runtime requests to create cores) keyed off of the name (String) of the SolrCore that had the Exception during initialization. While the Map returned by this method is immutable and will not change once returned to the client, the source data used to generate this Map can be changed as various SolrCore operations are performed: Failed attempts to create new SolrCores will add new Exceptions. Failed attempts to recreate a SolrCore using a name already contained in this Map will replace the Exception. Failed attempts to reload a SolrCore will cause an Exception to be added to this list even though the existing SolrCore with that name will continue to be available. Successful attempts to recreated a SolrCore using a name already contained in this Map will remove the Exception. Registering an existing SolrCore with a name already contained in this Map (ie: ALIAS or SWAP) will remove the Exception.
[ { "docid": "d97f3bc73ac6faa468339f3baa76938b", "score": "0.76966715", "text": "public Map<String, Exception> getCoreInitFailures() {\n\t\tsynchronized(coreInitFailures) {\n\t\t\treturn Collections.unmodifiableMap(new LinkedHashMap<String, Exception>(coreInitFailures));\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "1044c16b4afdf5a585c04960f9cb8cdc", "score": "0.6364777", "text": "public HashMap<String, String> getClassExceptions(){\r\n\t\t return classExceptions;\r\n\t }", "title": "" }, { "docid": "38cb2a2789e6ee9ab67fc0c2f9b30e21", "score": "0.60499406", "text": "public @NonNull Map<EventSubscriber<?>, Throwable> exceptions() {\n return this.exceptions;\n }", "title": "" }, { "docid": "339c490efeab28a8f128841a4bbb2248", "score": "0.5784676", "text": "public static Map<String, Object> getAllErrorCodes() {\n\t\tMap<String, Object> errorcodes = new HashMap<String, Object>();\n\t\tfor (Field field : ErrorCodes.class.getFields()) {\n\t\t\ttry {\n\t\t\t\terrorcodes.put(field.getName(), field.get(null));\n\t\t\t} catch (IllegalArgumentException | IllegalAccessException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn errorcodes;\n\t}", "title": "" }, { "docid": "0f4f7e8d600d9e50dd7fee07cfd29d13", "score": "0.56541705", "text": "public static Map getExceptionHalfMap() {\n\t\treturn exceptionHalfMap;\n\t}", "title": "" }, { "docid": "fb1a37d63c292440fae75d89bbbbf761", "score": "0.53550524", "text": "public HashMap<String,String>[] getPopupExceptions() {\n return nativeGetPopupExceptions();\n }", "title": "" }, { "docid": "a3b984079f5f0331a88abbf849a7f021", "score": "0.5327425", "text": "ExceptionMapper getExceptionMapper();", "title": "" }, { "docid": "7e4a782113a441b9df774c3dd5e1aed0", "score": "0.53168213", "text": "public final String[] getExceptionNames() {\n/* 160 */ String[] names = new String[this.number_of_exceptions];\n/* 161 */ for (int i = 0; i < this.number_of_exceptions; i++)\n/* 162 */ names[i] = this.constant_pool.getConstantString(this.exception_index_table[i], (byte)7)\n/* */ \n/* 164 */ .replace('/', '.'); \n/* 165 */ return names;\n/* */ }", "title": "" }, { "docid": "368aedce7680babcce85945d51525bc9", "score": "0.5225284", "text": "public Set<AbstractPerfidixMethodException> getExceptions() {\n return exceptions;\n }", "title": "" }, { "docid": "4520f5fe07dd6044bfc82b4ca59ed0bf", "score": "0.5193576", "text": "public static Map<String, CpuSeries> init() {\n Map<String, CpuSeries> map = new ConcurrentHashMap<>();\n for (CpuSeries instance : CpuSeries.values()) {\n map.put(instance.getCpuSeries(), instance);\n }\n return Collections.unmodifiableMap(map);\n }", "title": "" }, { "docid": "5a9c97b82b14b8b10cf0adf0eb8adc6b", "score": "0.5135542", "text": "public List<? extends Throwable> getExceptions() {\n\t\treturn this.exceptions;\n\t}", "title": "" }, { "docid": "a7d2974b921629e9faf4642766fe8388", "score": "0.512896", "text": "public Map<K, V> mapOrThrowIfAllFaulty() {\n if (exceptionCount > 0 && exceptionCount == map.size()) {\n throw getAnyLoaderException();\n }\n return new MapValueConverterProxy<K, V, Object>(map) {\n @Override\n protected V convert(Object v) {\n return HeapCache.returnValue(v);\n }\n };\n }", "title": "" }, { "docid": "42d6b617821d2ecc21258628e5fe0254", "score": "0.49906462", "text": "public CacheLoaderException getAnyLoaderException() {\n if (exceptionCount == 0) {\n return null;\n }\n return createBulkLoaderException(exceptionCount, map.size(), anyException);\n }", "title": "" }, { "docid": "8128939f1b9990efac68dc91f52df51a", "score": "0.49713427", "text": "Map<String, ContentWrapper> getContentWrappersMap() throws EpServiceException;", "title": "" }, { "docid": "36c421f0631824245aafbe45edd13417", "score": "0.49637574", "text": "private HashMap getMap () {\n HashMap m = map;\n if (m == null) {\n m = new HashMap ();\n Enumeration en = allLoaders ();\n while (en.hasMoreElements ()) {\n Object o = en.nextElement ();\n // adds name of class and the loader\n m.put (o.getClass ().getName (), o);\n }\n map = m;\n }\n return m;\n }", "title": "" }, { "docid": "099bb4f6b25b06ab814932f86a377926", "score": "0.49357843", "text": "private SolrException recordAndThrow(String name, String msg, Exception ex) {\n\t\tsynchronized(coreInitFailures) {\n\t\t\tcoreInitFailures.remove(name);\n\t\t\tcoreInitFailures.put(name, ex);\n\t\t}\n\t\tlog.error(msg, ex);\n\t\treturn new SolrException(ErrorCode.SERVER_ERROR, msg, ex);\n\t}", "title": "" }, { "docid": "b90516abcc06929288acaf82c688988a", "score": "0.48891488", "text": "public org.hpccsystems.ws.client.gen.wsesdlconfig.v1_4.ArrayOfEspException getExceptions() {\n return exceptions;\n }", "title": "" }, { "docid": "9ff8adaf9d73af2a65ba9e4d7254aaab", "score": "0.48649332", "text": "public ExceptionInfo getExceptionInfo() {\n\t\treturn exceptionInfo;\n\t}", "title": "" }, { "docid": "aaa94c1e663878c895061529138c7c01", "score": "0.4845479", "text": "private HashMap<String, String> getDupaErrors(List<FieldError> errorList) {\n HashMap<String, String> hashMap = new HashMap<>();\n for (FieldError e : errorList) {\n\n hashMap.put(e.getField(), e.getDefaultMessage());\n }\n return hashMap;\n }", "title": "" }, { "docid": "6d70c4ac01485308b508143bf41f12ba", "score": "0.47929412", "text": "protected abstract HashMap<String, RuntimeException> getAvailableErrors(Languages lang);", "title": "" }, { "docid": "5cddb4753a01304345d6106b7f2cbab3", "score": "0.47863087", "text": "protected CoreException() {\r\n }", "title": "" }, { "docid": "d2b9781810b3595618f1b33878321bca", "score": "0.47820792", "text": "RestExceptionList getException4();", "title": "" }, { "docid": "fe848352013ad2c2d851d00e5faa12ee", "score": "0.4742188", "text": "public it.eqs.lampoadr.ws.client.egon.suite.SEZ_ERR[] getERR_GEO_ELE() {\n return ERR_GEO_ELE;\n }", "title": "" }, { "docid": "06b3627cbd38afcf7bf82ccb12f02494", "score": "0.47351444", "text": "NamedList<Object> getCoreStatus(CoreContainer cores, String cname, boolean isIndexInfoNeeded) throws IOException {\n NamedList<Object> info = new SimpleOrderedMap<>();\n if (!cores.isLoaded(cname)) {\n // Lazily-loaded core, fill in what we can.\n // It would be a real mistake to load the cores just to get the status\n CoreDescriptor desc = cores.getUnloadedCoreDescriptor(cname);\n if (desc != null) {\n info.add(NAME, desc.getName());\n info.add(\"instanceDir\", desc.getInstanceDir());\n // None of the following are guaranteed to be present in a not-yet-loaded core.\n String tmp = desc.getDataDir();\n if (StringUtils.isNotBlank(tmp))\n info.add(\"dataDir\", tmp);\n tmp = desc.getConfigName();\n if (StringUtils.isNotBlank(tmp))\n info.add(\"config\", tmp);\n tmp = desc.getSchemaName();\n if (StringUtils.isNotBlank(tmp))\n info.add(\"schema\", tmp);\n info.add(\"isLoaded\", \"false\");\n }\n } else {\n try (SolrCore core = cores.getCore(cname)) {\n if (core != null) {\n info.add(NAME, core.getName());\n info.add(\"instanceDir\", core.getResourceLoader().getInstancePath().toString());\n info.add(\"dataDir\", normalizePath(core.getDataDir()));\n info.add(\"config\", core.getConfigResource());\n info.add(\"schema\", core.getSchemaResource());\n info.add(\"startTime\", core.getStartTimeStamp());\n info.add(\"uptime\", core.getUptimeMs());\n if (cores.isZooKeeperAware()) {\n info.add(\"lastPublished\", core.getCoreDescriptor().getCloudDescriptor().getLastPublished().toString().toLowerCase(Locale.ROOT));\n }\n if (isIndexInfoNeeded) {\n RefCounted<SolrIndexSearcher> searcher = core.getSearcher();\n try {\n SimpleOrderedMap<Object> indexInfo = LukeRequestHandler.getIndexInfo(searcher.get().getIndexReader());\n long size = getIndexSize(core);\n indexInfo.add(\"sizeInBytes\", size);\n indexInfo.add(\"size\", NumberUtils.readableSize(size));\n info.add(\"index\", indexInfo);\n } finally {\n searcher.decref();\n }\n }\n }\n }\n }\n return info;\n }", "title": "" }, { "docid": "3dac590cad471ca01f303037ebd2fac6", "score": "0.47093466", "text": "ExceptionsAttribute(final int nameIndex,\n\t\t final ConstantPool constantPool, final byte[] bytes, final int start)\n\t throws ClassException \n\t{\n\t\tsuper(nameIndex, constantPool);\n\t\tint startIndex = start;\n\t\tnumber_of_exceptions = Attribute.readU2(bytes,startIndex);\n\t\texception_index_table = new int[number_of_exceptions];\n\t\tstartIndex +=2;\n\t\texception_names = new String[number_of_exceptions];\n\t\tfor (int i = 0; i < number_of_exceptions; i++) {\n\t\t\tint index = Attribute.readU2(bytes, startIndex);\n\t\t\texception_names[i] = \n\t\t\t\tconstantPool.getPool(index).getClassName();\n\t\t\texception_index_table[i] = index;\n\t\t\tstartIndex +=2;\n\t\t}\n\t}", "title": "" }, { "docid": "5387d71923f7549d8cd4ae9f7cead712", "score": "0.46831515", "text": "public Collection<String> getCoreNames(SolrCore core) {\n\t\tList<String> lst = new ArrayList<String>();\n\t\tsynchronized(cores) {\n\t\t\tfor(Map.Entry<String, SolrCore> entry : cores.entrySet()) {\n\t\t\t\tif(core == entry.getValue()) {\n\t\t\t\t\tlst.add(entry.getKey());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsynchronized(transientCores) {\n\t\t\tfor(Map.Entry<String, SolrCore> entry : transientCores.entrySet()) {\n\t\t\t\tif(core == entry.getValue()) {\n\t\t\t\t\tlst.add(entry.getKey());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn lst;\n\t}", "title": "" }, { "docid": "387fa91c4545f4f4bbd41ce6e9c9cec1", "score": "0.46757972", "text": "public String getExceptionTypeId() {\n\t\treturn exceptionTypeId;\n\t}", "title": "" }, { "docid": "5f08a64e9f5f76de05b0b1229d9ac3f6", "score": "0.46413082", "text": "@Override\n public SimpleMap<ShardReplica> cores() {\n throw new UnsupportedOperationException(\"Not yet implemented\");\n }", "title": "" }, { "docid": "1b48e4a69f4edce1b64a43bf88ca931f", "score": "0.4632763", "text": "public Map getParsingErrorMessages();", "title": "" }, { "docid": "da2df5da5ad06ad514ec3f11cd6006e8", "score": "0.46153507", "text": "public RestLiServiceException getException()\n {\n return _exception;\n }", "title": "" }, { "docid": "81744a13984aca7dca46288b9be4b7af", "score": "0.46089047", "text": "public Map<MessageKey, Object[]> getErrorKeys() {\n return errorKeys;\n }", "title": "" }, { "docid": "5bb897771f4b3f959679dd67ee77c472", "score": "0.4587583", "text": "public Map<Class<?>, EnterpriseBean<?>> getNewEnterpriseBeanMap()\n {\n return newEnterpriseBeans;\n }", "title": "" }, { "docid": "c001edc6e510f7b670b93a1aafdd757c", "score": "0.45685533", "text": "public ColorMap getColorMap() throws Exception {\r\n\t\tLogger.debug(\"in PaletteSelectionPanel.getColorMap\");\r\n\t\tColorMap map = palettePanel.getColorMap();\r\n\t\tString type = typeCmb.getSelectedItem().toString();\r\n\t\tif (type.equals(\"Qualitative\"))\r\n\t\t\tmap.setPaletteType(ColorMap.PaletteType.QUALITATIVE);\r\n\t\telse if (type.equals(\"Diverging\"))\r\n\t\t\tmap.setPaletteType(ColorMap.PaletteType.DIVERGING);\r\n\t\telse\r\n\t\t\tmap.setPaletteType(ColorMap.PaletteType.SEQUENTIAL);\r\n\t\treturn map;\r\n\t}", "title": "" }, { "docid": "ecf1e06f879641c68265e6b8711fa7e5", "score": "0.45678568", "text": "public SOAPErrorCodes() {\n\t\terrorMap = new Hashtable<>();\n\t\terrorMap.put(\"401\", new String[] {\"Invalid Action\",\n\t\t\t\t\"No action by that name at this service.\"});\n\t\terrorMap\n\t\t\t\t.put(\n\t\t\t\t\t\t\"402\",\n\t\t\t\t\t\tnew String[] {\n\t\t\t\t\t\t\t\t\"Invalid Args\",\n\t\t\t\t\t\t\t\t\"Could be any of the following: not \"\n\t\t\t\t\t\t\t\t\t\t+ \"enough in args, too many in args, no in args, no in args by that name, \"\n\t\t\t\t\t\t\t\t\t\t+ \"one or more in args are of the wrong data type.\"});\n\t\terrorMap.put(\"403\", new String[] {\"Out of Sync\",\n\t\t\t\t\"Out of synchronization.\"});\n\t\terrorMap.put(\"501\", new String[] {\n\t\t\t\t\"Action Failed\",\n\t\t\t\t\"May be returned in current state of \"\n\t\t\t\t\t\t+ \"service prevents invoking that action.\"});\n\t\terrorMap.put(\"404\", new String[] {\"Invalid Var\",\n\t\t\t\t\"No state variable by that name at this service.\"});\n\t}", "title": "" }, { "docid": "5e5f78572501eee375c29d0ccf1ffb21", "score": "0.45433703", "text": "@java.lang.Override\n\n public java.util.Map<java.lang.Integer, nest.trait.test.Test.ExperimentSettingsTrait.Experiment> getExperimentsMap() {\n return internalGetExperiments().getMap();\n }", "title": "" }, { "docid": "9061d8fd790d8ebdafd11ec00fd3f04d", "score": "0.45416784", "text": "java.util.Map<java.lang.Integer, nest.trait.test.Test.ExperimentSettingsTrait.Experiment>\n getExperimentsMap();", "title": "" }, { "docid": "00a94dc4032ed7a2a5085f4c16a09f39", "score": "0.4539598", "text": "public HashMap<String, String> getExHashmap() {\r\n\t\treturn docExist;\r\n\t}", "title": "" }, { "docid": "58d331887f3262cbfdc1f8fb9825b002", "score": "0.4532641", "text": "@java.lang.Override\n\n public java.util.Map<java.lang.Integer, nest.trait.test.Test.ExperimentSettingsTrait.Experiment> getExperimentsMap() {\n return internalGetExperiments().getMap();\n }", "title": "" }, { "docid": "b62051de512a3342ee878e5d3908e862", "score": "0.45277724", "text": "java.math.BigInteger getExceptions();", "title": "" }, { "docid": "2f256af3837a65a0183c1295fff88d34", "score": "0.45214948", "text": "protected HashMap<String, Integer> cloneExceptionMap(HashMap<String, Integer> exceptions){\r\n\t\tHashMap<String, Integer> clone = new HashMap<String, Integer>();\r\n\t\tSet<String> keySet = exceptions.keySet();\r\n\t\tfor(String key : keySet){\r\n\t\t\tInteger value = exceptions.get(key);\r\n\t\t\tclone.put(key, value);\r\n\t\t}\r\n\t\treturn clone;\r\n\t}", "title": "" }, { "docid": "c61b1e4b34617d9c1c1304cea6213ac1", "score": "0.44941247", "text": "org.apache.xmlbeans.XmlInteger xgetExceptions();", "title": "" }, { "docid": "f7f3e5ec8adf42df62ab13c5fb1e576d", "score": "0.44801757", "text": "public CoreContainer initialize() {\n\t\t\tCoreContainer cores = null;\n\t\t\tString solrHome = SolrResourceLoader.locateSolrHome();\n\t\t\tFile fconf = new File(solrHome, containerConfigFilename == null ? \"solr.xml\" : containerConfigFilename);\n\t\t\tlog.info(\"looking for solr.xml: \" + fconf.getAbsolutePath());\n\t\t\tcores = new CoreContainer(solrHome);\n\n\t\t\tif(fconf.exists()) {\n\t\t\t\tcores.load(solrHome, fconf);\n\t\t\t} else {\n\t\t\t\tlog.info(\"no solr.xml file found - using default\");\n\t\t\t\ttry {\n\t\t\t\t\tcores.load(solrHome, new InputSource(new ByteArrayInputStream(DEF_SOLR_XML.getBytes(\"UTF-8\"))));\n\t\t\t\t} catch(Exception e) {\n\t\t\t\t\tthrow new SolrException(ErrorCode.SERVER_ERROR, \"CoreContainer.Initialize failed when trying to load default solr.xml file\", e);\n\t\t\t\t}\n\t\t\t\tcores.configFile = fconf;\n\t\t\t}\n\n\t\t\tcontainerConfigFilename = cores.getConfigFile().getName();\n\n\t\t\treturn cores;\n\t\t}", "title": "" }, { "docid": "2b231ed20fce54cdcdf7404cf198708e", "score": "0.44761652", "text": "public Exception iteratorException() {\n return iteratorException;\n }", "title": "" }, { "docid": "951e2c1809769958e3b1174fe2711456", "score": "0.44586873", "text": "public Exception getIteratorExceptionThrown() {\n return iteratorExceptionThrown;\n }", "title": "" }, { "docid": "9721745477d3cb6e9cda61ee61dabe32", "score": "0.44449505", "text": "static ImageRegistry getImageRegistry() {\n if (fgImageRegistry == null) {\n final ImageRegistry reg = new ImageRegistry();\n for (final Object element : fgAvoidSWTErrorMap.keySet()) {\n final String key = (String) element;\n reg.put(key, fgAvoidSWTErrorMap.get(key));\n }\n fgAvoidSWTErrorMap = null;\n fgImageRegistry = reg;\n }\n return fgImageRegistry;\n }", "title": "" }, { "docid": "f9795e7276cd59f5527bc43448de4344", "score": "0.44445434", "text": "public Map<Class<?>, EnterpriseBean<?>> getNewEnterpriseBeanMap()\n {\n return newEnterpriseBeanMap;\n }", "title": "" }, { "docid": "96a908a945c787882dd119deeb40f7d5", "score": "0.44311026", "text": "public int getExceptionNumber() {\n\t\treturn this.key.getExceptionNumber();\n\t}", "title": "" }, { "docid": "9f35390c02cadc8eec5d67126073639f", "score": "0.44301394", "text": "public registerClient.FaultType[] getFaultList() {\n return faultList;\n }", "title": "" }, { "docid": "7b57594d4968372ec576e50fb6d6555c", "score": "0.44043806", "text": "public Type getExceptionType() {\n return exceptionType;\n }", "title": "" }, { "docid": "d9a8f7de62dc67e5d27a8f3ee70bd01e", "score": "0.44008413", "text": "protected final List<ResourceScheduler<? extends WorkerResourceDescription>> getCoreElementExecutors(int coreId) {\n return SchedulingInformation.getCoreElementExecutors(coreId);\n }", "title": "" }, { "docid": "9e136a76aa4137c51480b778fbfde39b", "score": "0.4394692", "text": "@SuppressWarnings(\"unused\")\n public static Map<String, Class<? extends ProcessorImporterHandlerA>> getImporters() {\n return IMPORTERS;\n }", "title": "" }, { "docid": "4f25cef28c578f05c3be6016422f79b7", "score": "0.43871757", "text": "private CLExceptionsAttribute exceptionsAttribute(\n ArrayList<String> exceptions) {\n int attributeNameIndex = constantPool.constantUtf8Info(ATT_EXCEPTIONS);\n ArrayList<Integer> exceptionIndexTable = new ArrayList<Integer>();\n for (int i = 0; i < exceptions.size(); i++) {\n String e = exceptions.get(i);\n exceptionIndexTable.add(new Integer(constantPool\n .constantClassInfo(e)));\n }\n return new CLExceptionsAttribute(attributeNameIndex,\n exceptionIndexTable.size() * 2 + 2, exceptionIndexTable.size(),\n exceptionIndexTable);\n }", "title": "" }, { "docid": "da32ef5eed877993efdb9589b7acea43", "score": "0.43769503", "text": "public CrashlyticsUncaughtExceptionHandler i() {\n return this.n;\n }", "title": "" }, { "docid": "ea7ff723dc0b3f7b074eec1b344b8e33", "score": "0.43763915", "text": "public it.eqs.lampoadr.ws.client.egon.suite.SEZ_ERR[] getERR_611_ELE() {\n return ERR_611_ELE;\n }", "title": "" }, { "docid": "6050048695062f438606abf8f9bf479b", "score": "0.43743324", "text": "public ArrayList<String> getAllFaultNames() {\n\t\treturn this.faultModelNames;\n\t}", "title": "" }, { "docid": "e7dfb19668bfabc678c8f513d189f7de", "score": "0.43716225", "text": "public String getExceptionType() {\n\t\treturn exceptionType;\n\t}", "title": "" }, { "docid": "4bc38f160c5858c3b3280d9d39d82ca7", "score": "0.43657833", "text": "public Map<String, Object> factory() throws Exception {\n Map<String, Object> mapModel = new HashMap<>();\n\n for (Class<?> cl : models) {\n Object obj = ObjectHelper.newInstance(cl);\n\n // Add instance of the class to the Map Model\n mapModel.put(obj.getClass().getName(), obj);\n }\n\n return mapModel;\n }", "title": "" }, { "docid": "30cb46f140dfcb73b4b0fc5efd36130a", "score": "0.436428", "text": "public String getExceptionName() {\n return exceptionName;\n }", "title": "" }, { "docid": "455dd76c5a232581a21949d42ce1cf14", "score": "0.4361654", "text": "public EnbIwsMap getEnbIwsMap() throws JNCException {\n String path = \"enb-iws-map\";\n return (EnbIwsMap)searchOne(path);\n }", "title": "" }, { "docid": "106b363138b9e9a1177394b8aa8f3e37", "score": "0.43540266", "text": "default Map<TermId, Collection<GeneIdentifier>> diseaseIdToGeneIds() {\n Map<TermId, Collection<GeneIdentifier>> diseaseIdToGeneIdsBuilder = new HashMap<>();\n\n for (DiseaseToGeneAssociation diseaseToGeneAssociation : this) {\n List<GeneIdentifier> geneIds = diseaseToGeneAssociation.associations().stream()\n .map(GeneToAssociation::geneIdentifier)\n .collect(Collectors.toUnmodifiableList());\n\n diseaseIdToGeneIdsBuilder.put(diseaseToGeneAssociation.diseaseId(), geneIds);\n }\n\n return Map.copyOf(diseaseIdToGeneIdsBuilder);\n }", "title": "" }, { "docid": "5fd304a9fc98d139f37586a9a7659248", "score": "0.43531057", "text": "public ConcurrentHashMap<String, SearcherManager> getSearcherManagerMaps() {\n return searcherManagerMaps;\n }", "title": "" }, { "docid": "1e78dec385f0c2591251c67bcb9548e8", "score": "0.43528068", "text": "public ExceptionErrorMessage[] getErrorMessages() {\n\t\treturn this.errorMessages;\n\t}", "title": "" }, { "docid": "3f158bbf1af653e08067dcf72f481bbe", "score": "0.43425128", "text": "public Map<Uuid, UnknownLeaseException> cancelAll(Uuid[] cookies) {\n Map<Uuid, UnknownLeaseException> exceptionMap = null;\n\n for (int i = 0; i < cookies.length; i++) {\n try {\n cancel(cookies[i]);\n } catch (UnknownLeaseException ex) {\n if (exceptionMap == null) {\n exceptionMap = new HashMap<Uuid, UnknownLeaseException>();\n }\n exceptionMap.put(cookies[i], ex);\n }\n }\n\n return exceptionMap;\n }", "title": "" }, { "docid": "a287ac93ff9f3da4a042531e2d140fef", "score": "0.43386784", "text": "public Map<String, ContentMetaDataHolder> getAllContentMetadata() throws Exception {\n\t\t\n\t\tif (metaDataMap == null){\n\t\t\tloadMetaDataIntoMemory();\n\t\t} \n\t\t\n\t\treturn metaDataMap;\n\t}", "title": "" }, { "docid": "1d3fbc78bd0bc8f0512ef2c1c6da5b09", "score": "0.43238795", "text": "public int getRecoverableExceptionCount() {\n return recoverableExceptionCount;\n }", "title": "" }, { "docid": "dc74f9060a964e61bd9b6df89f44e8fd", "score": "0.43222612", "text": "@Override\n public String getMessage() {\n String message = null;\n if (exceptionNumber >= 0) {\n message = ExceptionCodes.values()[exceptionNumber].getMessage();\n } else {\n message = super.getMessage();\n }\n return message;\n }", "title": "" }, { "docid": "d8c4e9ad48bfd429acd55e7f6f72a2c6", "score": "0.4314628", "text": "public String getExceptionMessage();", "title": "" }, { "docid": "4be52b0d8b473d07d5fabcc84fcf6a5c", "score": "0.43121192", "text": "public Type getException() {\n\t return _exception;\n\t }", "title": "" }, { "docid": "0026289753797a841fc3312dca93c801", "score": "0.4301014", "text": "@Override\n public Map<String, Object> getConstants() {\n final Map<String, Object> constants = new HashMap<>();\n constants.put(\"moduleName\", moduleName);\n\n return constants;\n }", "title": "" }, { "docid": "fd1692ef062c76b81d458e0d4e6c833f", "score": "0.42929813", "text": "protected Map<String,String> getDynamoSolrFieldMapping() {\n\n Map<String, String> nameMap = new HashMap<>(); \n\n for (Map<String, String> map : context.getAllEntityFields()) {\n String dynamoField = map.get(DataImporter.COLUMN);\n String solrField = map.get(DataImporter.NAME);\n nameMap.put(dynamoField, solrField);\n }\n \n return nameMap;\n }", "title": "" }, { "docid": "34aa1bae86e6f5e1ef01350f17e25635", "score": "0.42904112", "text": "CoreMap asCoreMap() {\n Annotation ann = new Annotation(sentence);\n pipeline.get().annotate(ann);\n return ann.get(CoreAnnotations.SentencesAnnotation.class).get(0);\n }", "title": "" }, { "docid": "8846c5ba1612270f6972a49af9cdd4fb", "score": "0.42886385", "text": "public Type getExceptionType() {\n\t\treturn exceptionType;\n\t}", "title": "" }, { "docid": "47c35cca50c9e63218649bd29f7c110f", "score": "0.42863336", "text": "protected String getName()\r\n {\r\n return ConfigurationException.NAME;\r\n }", "title": "" }, { "docid": "cddbd43e507b42d04b9c62d0e061bcd6", "score": "0.42819652", "text": "protected Map<String, List<Long>> getUsedServiceIndexesIds(boolean cleanupDuplicates) {\n Map<String, List<Long>> launchConfigToServiceIndexes = new HashMap<>();\n Iterator<DeploymentUnit> it = healthyUnits.iterator();\n while (it.hasNext()) {\n DeploymentUnit healthyUnit = it.next();\n for (DeploymentUnitInstance instance : healthyUnit.getDeploymentUnitInstances()) {\n if (instance.getServiceIndex() == null) {\n continue;\n }\n Long serviceIndexId = instance.getServiceIndex().getId();\n String launchConfigName = instance.getLaunchConfigName();\n List<Long> usedServiceIndexes = launchConfigToServiceIndexes.get(launchConfigName);\n if (usedServiceIndexes == null) {\n usedServiceIndexes = new ArrayList<>();\n }\n if (cleanupDuplicates) {\n if (usedServiceIndexes.contains(serviceIndexId)) {\n badUnits.add(healthyUnit);\n it.remove();\n break;\n }\n }\n\n usedServiceIndexes.add(serviceIndexId);\n launchConfigToServiceIndexes.put(launchConfigName, usedServiceIndexes);\n }\n }\n return launchConfigToServiceIndexes;\n }", "title": "" }, { "docid": "3e2afe2c594d4a2377621b72eecffd7e", "score": "0.42717957", "text": "public interface ExceptionManager\n{\n\tpublic static final long BASE_ERROR_NUMBER = 90000000;\n\t/**\n\t * Saves the exception to the database\n\t * \n\t * @param exceptionDTO\n\t * to save\n\t */\n\tpublic void saveException(ExceptionDTO exceptionDTO);\n\n\t/**\n\t * Lookup an errorMessage given an errorCode\n\t * \n\t * @param errorCode\n\t * @return\n\t */\n\tpublic String lookupErrorMessage(String errorCode);\n\t/**\n\t * Lookup an error code given a locale\n\t * \n\t * @param locale\n\t * locale\n\t * @param errorCode\n\t * error code to lookup\n\t * @return\n\t */\n\tpublic String lookupErrorMessage(String locale, String errorCode);\n\t/**\n\t * Lookup an error number given an errorCode\n\t * \n\t * @param error number\n\t * @return\n\t */\n\tpublic Long lookupErrorNumber(String errorCode);\n\n\t/**\n\t * Saves an error code with a given error message using default locale\n\t * \n\t * @param errorCode\n\t * full error code\n\t * @param errorMessage\n\t * error message\n\t */\n\tpublic void saveErrorCodeMessage(String errorCode, String errorMessage);\n\t/**\n\t * Saves an error code with a given error message to the database\n\t * \n\t * @param locale\n\t * message local\n\t * @param errorCode\n\t * full error code\n\t * @param errorMessage\n\t * error message\n\t */\n\tpublic void saveErrorCodeMessage(String locale, String errorCode, String errorMessage);\n}", "title": "" }, { "docid": "e29f69e265e08154004751e524500287", "score": "0.427057", "text": "public Map<String, String> classNameTranslations() {\n Map<String, String> map = new HashMap<String, String>();\n map.put(\"java.lang.AutoCloseable\", Object.class.getName());\n map.put(\"java.net.ExtendedResponseCache\", ExtendedResponseCache.class.getName());\n map.put(\"java.net.ResponseSource\", ResponseSource.class.getName());\n map.put(\"java.nio.charset.Charsets\", FakeCharsets.class.getName());\n return map;\n }", "title": "" }, { "docid": "95a77f4981c50c381d689983316fec94", "score": "0.42620316", "text": "EASOutOfBandExceptionEntry()\n {\n this.exception_source_id = -1;\n }", "title": "" }, { "docid": "39887ba885076a1c86ca46417ea25167", "score": "0.42576426", "text": "public static Map<String, String> getServiceMap() {\n if (serviceMap.keySet().isEmpty()) {\n int i = 0;\n for (String serviceDisplay : serviceList) {\n serviceMap.put(serviceDisplay, serviceDB[i]);\n i++;\n }\n }\n\n return serviceMap;\n }", "title": "" }, { "docid": "26d71a6459c9219db631cea6e74f4830", "score": "0.4250696", "text": "public static Map<String, List<FieldDefinition>> getRepositoriesMap() {\r\n if (repositoriesMap == null) {\r\n try {\r\n initRepositoriesMap();\r\n } catch (final Exception e) {\r\n LOGGER.log(Level.ERROR, \"initRepositoriesMap mistake \" + e.getMessage(), e);\r\n }\r\n }\r\n\r\n return repositoriesMap;\r\n }", "title": "" }, { "docid": "74c795d18db4ab6c92cd915afe4f8c4b", "score": "0.42441553", "text": "protected Map<String, T> getImmediateChildrenAsMap(){\n\t\treturn new HashMap <String, T>(this.immediateChildren);\n\t}", "title": "" }, { "docid": "b06677962c90e60618e928eecf3bcec7", "score": "0.42367595", "text": "@java.lang.Override\n\n public java.util.Map<java.lang.String, java.lang.String> getServiceVersionsMap() {\n return internalGetServiceVersions().getMap();\n }", "title": "" }, { "docid": "7c4b01d12ab9fb761dac0edb54bc6ea0", "score": "0.42364246", "text": "public ConcurrentModificationException() {\r\n }", "title": "" }, { "docid": "8e6a3172f58e3352e70c9f50eaa4bb45", "score": "0.42224514", "text": "public List<Integer> getErrorCodes() {\n return errorCodes;\n }", "title": "" }, { "docid": "e7343985de46f4e55869200878ee3973", "score": "0.42192715", "text": "public default String[] getClassNames() {\n\t\tthrow new InstrumentorException(\"Static mapping not implemented\");\n\t}", "title": "" }, { "docid": "63c2c7b9d9b2e7a0990d5c306b9585c6", "score": "0.4216524", "text": "public Exception getException() {\n\t\t\treturn exception;\n\t\t}", "title": "" }, { "docid": "c9627cfdeeddde6182ebfe48ebb1f44c", "score": "0.42145503", "text": "private static OrderedMap<String,Code> _GetStatusNameMap()\n {\n if (!statusMapInit) { // only iff not yet initialized\n _initStatusCodes();\n }\n return statusNameMap;\n }", "title": "" }, { "docid": "1ed03675f7a7cd2ab20f2b58ca4308da", "score": "0.42129347", "text": "public Map<String, Class<?>> getTypeRenames() {\n return new HashMap<String, Class<?>>(typeRenames);\n }", "title": "" }, { "docid": "b1dee1f939201a5e99b55b0b7f763b52", "score": "0.4212852", "text": "public Map<String, Commodity> getCommoditiesMap() {\n return Collections.<String, Commodity>unmodifiableMap(this.commodities);\n }", "title": "" }, { "docid": "9d4bf04dfc93ecff2bf2b15a17cda7d4", "score": "0.4211664", "text": "public it.eqs.lampoadr.ws.client.egon.suite.SEZ_ERR[] getERR_KIO_ELE() {\n return ERR_KIO_ELE;\n }", "title": "" }, { "docid": "a278ba5745ef9b3435a63d6b5198b888", "score": "0.42111203", "text": "Map<String, ContentWrapper> getContentWrappersMap(boolean forceReload) throws EpServiceException;", "title": "" }, { "docid": "789331ceded7b6390975b1bdcd769864", "score": "0.42107868", "text": "public Exception getException() {\n\t\treturn exception;\n\t}", "title": "" }, { "docid": "38c862c5d5d1628d99a661f47b1a7469", "score": "0.4210192", "text": "EASInBandExceptionEntry()\n {\n this.exception_major_channel_number = -1;\n this.exception_minor_channel_number = -1;\n }", "title": "" }, { "docid": "4086adc1488c68aa58c3052551fb2df2", "score": "0.42018932", "text": "@java.lang.Override\n\n public java.util.Map<java.lang.String, java.lang.String> getServiceVersionsMap() {\n return internalGetServiceVersions().getMap();\n }", "title": "" }, { "docid": "9cf792f4c2d67ac07613d965c114e822", "score": "0.4200304", "text": "@Override\n\tpublic Map<String, Object> getCodeSystemMap() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8d65f209eab2fb7b00953c0b0c4bad17", "score": "0.41985545", "text": "public Map toMap() {\n\t\t\n\t\tMap map = new HashMap();\n\t\t\tmap.put(\"f_energysavingTypeId\",StringUtils.toString(f_energysavingTypeId, eiMetadata.getMeta(\"f_energysavingTypeId\")));\t\n\t\t\tmap.put(\"f_emcprojectId\",StringUtils.toString(f_emcprojectId, eiMetadata.getMeta(\"f_emcprojectId\")));\t\n\t\t\tmap.put(\"f_energysavingTypeName\",StringUtils.toString(f_energysavingTypeName, eiMetadata.getMeta(\"f_energysavingTypeName\")));\t\n\t\t\tmap.put(\"f_energysavingTypeDesc\",StringUtils.toString(f_energysavingTypeDesc, eiMetadata.getMeta(\"f_energysavingTypeDesc\")));\t\n\t\t\tmap.put(\"f_energysavingTypeFormula\",StringUtils.toString(f_energysavingTypeFormula, eiMetadata.getMeta(\"f_energysavingTypeFormula\")));\t\n\t\t\tmap.put(\"f_energysavingTypeTargetvalue\",StringUtils.toString(f_energysavingTypeTargetvalue, eiMetadata.getMeta(\"f_energysavingTypeTargetvalue\")));\t\n\t\t\tmap.put(\"f_energysavingTypeCalcstep\",StringUtils.toString(f_energysavingTypeCalcstep, eiMetadata.getMeta(\"f_energysavingTypeCalcstep\")));\t\n\t\t\t\n\t\treturn map;\n\t\n\t}", "title": "" }, { "docid": "86abef1b7862ca1913016ad48fc9da9c", "score": "0.41939712", "text": "Map<String, Object> getExceptionAttributes(Exception exception, \n HttpServletRequest httpRequest, HttpStatus httpStatus);", "title": "" }, { "docid": "dcf56da97cee59006826d344933395fc", "score": "0.41911188", "text": "public Map<String, Class< ? extends IHypervisor>> getHypervisorMap()\n {\n return htHypervisorPlugins;\n }", "title": "" }, { "docid": "55f7b9bb1dabd5c30be973e5e9cb689b", "score": "0.4186552", "text": "private Map<String, Object> getErrorAttributes(final HttpServletRequest request) {\n\t\treturn errorAttributes.getErrorAttributes(new DispatcherServletWebRequest(request), isIncludeStackTrace(request));\n\t}", "title": "" }, { "docid": "87e33788d7c03568b27e53c5b09a35e8", "score": "0.4184271", "text": "public ch.ivyteam.ivy.scripting.objects.List<ch.ivy.ws.addon.WSException> getErrors()\n {\n return errors;\n }", "title": "" }, { "docid": "9884e30e8dd8662d880b65292e817cd7", "score": "0.41778663", "text": "public String getException() {\n return exception;\n }", "title": "" }, { "docid": "adbe2aa9087cf524ebba9e4f1acb4dea", "score": "0.4174243", "text": "@SuppressWarnings(\"rawtypes\")\n public Map getPersistentProperties() throws CoreException {\n return null;\n }", "title": "" } ]
c149286222ad556bce1241f3e73298ba
Step 3: Get binders which communicating with
[ { "docid": "b0fa742271337ceb85a51e448214d01a", "score": "0.5392377", "text": "public void getBinderPids(ArrayList<Integer> anrBinders) {\n ArrayList<Integer> tmpBindersList = new ArrayList<Integer>();\n try {\n\n for (int j = 0; j < anrBinders.size(); j++) {\n for (int i = 0; i < binderAllPids.size(); i++) {\n if (binderAllPids.get(i).get(0).equals(anrBinders.get(j))) {\n for (int k = 0; k < binderAllPids.get(i).size(); k++) {\n Integer tmp = binderAllPids.get(i).get(k);\n if ((tmpBindersList.contains(tmp) || (binderPids.contains(tmp)))) {\n continue;\n }\n Log.i(BINDERTRACKER, anrBinders.get(j) + \" binder communication with: \" + binderAllPids.get(i).get(k));\n tmpBindersList.add(tmp);\n binderPids.add(tmp);\n }\n continue;\n }\n }\n }\n //no others binders communicated with <anr_pid> ,or have found out all binders communicated with <anr_pid>\n if (tmpBindersList.size() == 0) {\n return;\n }\n if (DEBUG) {\n Log.d(BINDERTRACKER, \"binderPids: \" + binderPids.size() + \",\" + binderPids);\n }\n getBinderPids(tmpBindersList);\n\n } catch (Exception e) {\n Log.e(BINDERTRACKER, \"method getAll() happened unknown error!\");\n }\n }", "title": "" } ]
[ { "docid": "1da0784bfb1deeb834cfc081accc7fa4", "score": "0.6298575", "text": "private void registerBindings(){\t\t\n\t}", "title": "" }, { "docid": "1da0784bfb1deeb834cfc081accc7fa4", "score": "0.6298575", "text": "private void registerBindings(){\t\t\n\t}", "title": "" }, { "docid": "81526cabcb26dc5ac39a68f24aa963ce", "score": "0.61711925", "text": "protected List <Binding> getBindings(boolean doCreate)\n{\n List <Binding> bindings = (List)get(\"RibsBindings\");\n if(bindings==null && doCreate)\n put(\"RibsBindings\", bindings = new ArrayList());\n return bindings;\n}", "title": "" }, { "docid": "4d514fa921d2f4cfece815c4749715fd", "score": "0.60019183", "text": "@Override\n public IBinder onBind(Intent intent) {\n return mMessenger.getBinder();\n }", "title": "" }, { "docid": "7279bf354b3380e8e4ea9ec9fea2c495", "score": "0.59826946", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn mMessenger.getBinder();\n\t}", "title": "" }, { "docid": "2643252503c3ffbaf38ea225483a40aa", "score": "0.5975809", "text": "@Override\r\n public IBinder onBind(Intent intent) {\n return binder;\r\n }", "title": "" }, { "docid": "099bb4b701c57c261008f1c92d842dfa", "score": "0.59328365", "text": "@Override\n public IBinder onBind(Intent arg0) {\n return binder;\n }", "title": "" }, { "docid": "2b2851d623826af885887f8165e1dc2b", "score": "0.59168744", "text": "@Override\r\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn binder;\r\n\t}", "title": "" }, { "docid": "7e55db84c2a537dbbd784d55174803b1", "score": "0.59094614", "text": "@Override\r\n\tpublic IBinder onBind(Intent arg0) {\n\t\treturn binder;\r\n\t}", "title": "" }, { "docid": "05459a3763cc84a57b133deff06882b0", "score": "0.5881225", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn binder;\n\t}", "title": "" }, { "docid": "05459a3763cc84a57b133deff06882b0", "score": "0.5881225", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn binder;\n\t}", "title": "" }, { "docid": "8c6309c9e3cc6312a454bc9c12db2167", "score": "0.58580935", "text": "@Override\n public IBinder onBind(Intent intent) {\n return getBinder;\n }", "title": "" }, { "docid": "5290e525d1388e34f3bd38e4ffb3aa85", "score": "0.5813022", "text": "public void onBindMethods() {\n super.onBindMethods();\n addMethodProxy((MethodProxy) new GetAddress());\n }", "title": "" }, { "docid": "50f2c8f19608c80c7b9ad6851e4a3ac1", "score": "0.57469815", "text": "@Override\n\t\tpublic IBinder onBind(Intent intent) {\n\t\t\treturn mBinder;\n\t\t}", "title": "" }, { "docid": "a7790722e4a8fda159eaf1bf29c02de2", "score": "0.5741674", "text": "public IBinder asBinder() {\n return this;\n }", "title": "" }, { "docid": "a7790722e4a8fda159eaf1bf29c02de2", "score": "0.5741674", "text": "public IBinder asBinder() {\n return this;\n }", "title": "" }, { "docid": "a1eddb30740325d24bc7256258053b5f", "score": "0.5738855", "text": "@Nullable\n @Override\n public IBinder onBind(Intent intent) {\n return messenger.getBinder();\n }", "title": "" }, { "docid": "9c348c0d658b3edf88a9f0b9f82edc54", "score": "0.5726645", "text": "public Iterator getBindings() {\r\n\t\treturn bindings == null ? EmptyStructures.EMPTY_ITERATOR : new ReadOnlyIterator(bindings.values());\r\n\t}", "title": "" }, { "docid": "eccc22d90840d7626e9f3e21addd7824", "score": "0.5685987", "text": "@Override\r\n public IBinder onBind(Intent intent) {\r\n return mBinder;\r\n }", "title": "" }, { "docid": "66ba9a1e346f5d44c7f62f6f1dbfeee8", "score": "0.56817377", "text": "private void registerBindings(){\n\t\tdataBinder.registerBinding(\"number\", String.class, this.txtNumber, \"text\");\n\t\tdataBinder.registerBinding(\"changeDate\", java.util.Date.class, this.pkChangeDate, \"value\");\n\t\tdataBinder.registerBinding(\"srcRoom\", com.kingdee.eas.fdc.sellhouse.RoomInfo.class, this.f7Room, \"data\");\n\t\tdataBinder.registerBinding(\"bizType\", com.kingdee.eas.fdc.sellhouse.ChangeBizTypeEnum.class, this.comboBizType, \"selectedItem\");\n\t\tdataBinder.registerBinding(\"changeReason\", com.kingdee.eas.fdc.sellhouse.ChangeReasonInfo.class, this.f7ChangeReson, \"data\");\n\t\tdataBinder.registerBinding(\"handler\", com.kingdee.eas.base.permission.UserInfo.class, this.f7Handler, \"data\");\n\t\tdataBinder.registerBinding(\"attachEntry\", com.kingdee.eas.fdc.sellhouse.ChangeManageAttachEntryInfo.class, this.kdtAttachEntry, \"userObject\");\n\t\tdataBinder.registerBinding(\"attachEntry.property\", com.kingdee.eas.fdc.sellhouse.PropertyEnum.class, this.kdtAttachEntry, \"property.text\");\n\t\tdataBinder.registerBinding(\"attachEntry.context\", String.class, this.kdtAttachEntry, \"context.text\");\n\t\tdataBinder.registerBinding(\"description\", String.class, this.txtRemark, \"text\");\n\t\tdataBinder.registerBinding(\"customerPhone\", String.class, this.txtTel, \"text\");\n\t\tdataBinder.registerBinding(\"isSignChangeName\", boolean.class, this.cbIsSignChangeName, \"selected\");\n\t\tdataBinder.registerBinding(\"quitAmount\", java.math.BigDecimal.class, this.txtQuitAmount, \"value\");\n\t\tdataBinder.registerBinding(\"bizDate\", java.util.Date.class, this.pkBizDate, \"value\");\n\t\tdataBinder.registerBinding(\"payType\", com.kingdee.eas.fdc.sellhouse.SHEPayTypeInfo.class, this.f7PayType, \"data\");\n\t\tdataBinder.registerBinding(\"agioScheme\", com.kingdee.eas.fdc.sellhouse.AgioSchemeInfo.class, this.f7AgioScheme, \"data\");\n\t\tdataBinder.registerBinding(\"agioDesc\", String.class, this.txtAgioDes, \"text\");\n\t\tdataBinder.registerBinding(\"lastAgio\", java.math.BigDecimal.class, this.txtAgio, \"value\");\n\t\tdataBinder.registerBinding(\"dealTotalAmount\", java.math.BigDecimal.class, this.txtDealTotalAmount, \"value\");\n\t\tdataBinder.registerBinding(\"contractTotalAmount\", java.math.BigDecimal.class, this.txtContractTotalAmount, \"value\");\n\t\tdataBinder.registerBinding(\"sellAmount\", java.math.BigDecimal.class, this.txtSellAmount, \"value\");\n\t\tdataBinder.registerBinding(\"planningCompensate\", java.math.BigDecimal.class, this.txtPlanningCompensate, \"value\");\n\t\tdataBinder.registerBinding(\"cashSalesCompensate\", java.math.BigDecimal.class, this.txtCashSalesCompensate, \"value\");\n\t\tdataBinder.registerBinding(\"areaCompensate\", java.math.BigDecimal.class, this.txtAreaCompensate, \"value\");\n\t\tdataBinder.registerBinding(\"dealBuildPrice\", java.math.BigDecimal.class, this.txtDealBuildPrice, \"value\");\n\t\tdataBinder.registerBinding(\"contractBuildPrice\", java.math.BigDecimal.class, this.txtContractBuildPrice, \"value\");\n\t\tdataBinder.registerBinding(\"planningArea\", java.math.BigDecimal.class, this.txtPlanningArea, \"value\");\n\t\tdataBinder.registerBinding(\"preArea\", java.math.BigDecimal.class, this.txtPreArea, \"value\");\n\t\tdataBinder.registerBinding(\"actualArea\", java.math.BigDecimal.class, this.txtActualArea, \"value\");\n\t\tdataBinder.registerBinding(\"contractRoomPrice\", java.math.BigDecimal.class, this.txtContractRoomPrice, \"value\");\n\t\tdataBinder.registerBinding(\"dealRoomPrice\", java.math.BigDecimal.class, this.txtDealRoomPrice, \"value\");\n\t\tdataBinder.registerBinding(\"valuationType\", com.kingdee.eas.fdc.sellhouse.CalcTypeEnum.class, this.comboValuationType, \"selectedItem\");\n\t\tdataBinder.registerBinding(\"accFundAmount\", java.math.BigDecimal.class, this.txtAFundAmount, \"value\");\n\t\tdataBinder.registerBinding(\"loanAmount\", java.math.BigDecimal.class, this.txtLoanAmount, \"value\");\n\t\tdataBinder.registerBinding(\"sellType\", com.kingdee.eas.fdc.sellhouse.SellTypeEnum.class, this.comboSellType, \"selectedItem\");\n\t\tdataBinder.registerBinding(\"strdBuildingPrice\", java.math.BigDecimal.class, this.txtBuildingPrice, \"value\");\n\t\tdataBinder.registerBinding(\"strdRoomPrice\", java.math.BigDecimal.class, this.txtRoomPrice, \"value\");\n\t\tdataBinder.registerBinding(\"srcRoom.roomModel.name\", String.class, this.txtRoomModel, \"text\");\n\t\tdataBinder.registerBinding(\"strdTotalAmount\", java.math.BigDecimal.class, this.txtStandardTotalAmount, \"value\");\n\t\tdataBinder.registerBinding(\"attachmentAmount\", java.math.BigDecimal.class, this.txtAttachPropertyTotalAmount, \"value\");\n\t\tdataBinder.registerBinding(\"fitmentTotalAmount\", java.math.BigDecimal.class, this.txtFitmentAmount1, \"value\");\n\t\tdataBinder.registerBinding(\"isFitmentToContract\", boolean.class, this.chkIsFitmentToContract, \"selected\");\n\t\tdataBinder.registerBinding(\"fitmentStandard\", com.kingdee.eas.fdc.sellhouse.DecorationStandardInfo.class, this.f7FitmentStandard, \"data\");\n\t\tdataBinder.registerBinding(\"fitmentPrice\", java.math.BigDecimal.class, this.txtFitmentPrice, \"value\");\n\t\tdataBinder.registerBinding(\"fitmentTotalAmount\", java.math.BigDecimal.class, this.txtFitmentAmount, \"value\");\n\t\tdataBinder.registerBinding(\"creator\", com.kingdee.eas.base.permission.UserInfo.class, this.prmtCreator, \"data\");\n\t\tdataBinder.registerBinding(\"createTime\", java.sql.Timestamp.class, this.pkCreateTime, \"value\");\n\t\tdataBinder.registerBinding(\"auditTime\", java.util.Date.class, this.pkAuditDate, \"value\");\n\t\tdataBinder.registerBinding(\"auditor\", com.kingdee.eas.base.permission.UserInfo.class, this.prmtAuditor, \"data\");\n\t\tdataBinder.registerBinding(\"lastUpdateUser\", com.kingdee.eas.base.permission.UserInfo.class, this.prmtModifier, \"data\");\n\t\tdataBinder.registerBinding(\"lastUpdateTime\", java.sql.Timestamp.class, this.pkModifyDate, \"value\");\n\t\tdataBinder.registerBinding(\"details\", String.class, this.details, \"text\");\n\t\tdataBinder.registerBinding(\"changeType\", com.kingdee.eas.fdc.sellhouse.ChangeTypeEnum.class, this.cbChangeType, \"selectedItem\");\t\t\n\t}", "title": "" }, { "docid": "958ea5d9c1ea4987dc3deb6f6f5790df", "score": "0.5679686", "text": "protected abstract void bind();", "title": "" }, { "docid": "958ea5d9c1ea4987dc3deb6f6f5790df", "score": "0.5679686", "text": "protected abstract void bind();", "title": "" }, { "docid": "df168bba43d8f35001798bdc81e2ef6f", "score": "0.5675683", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn mBinder;\n\t}", "title": "" }, { "docid": "df168bba43d8f35001798bdc81e2ef6f", "score": "0.5675683", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn mBinder;\n\t}", "title": "" }, { "docid": "df168bba43d8f35001798bdc81e2ef6f", "score": "0.5675683", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\treturn mBinder;\n\t}", "title": "" }, { "docid": "9d8d3d8d6af04c8fd4ca9bbe4ea9c71e", "score": "0.5669254", "text": "@Override\n public IBinder onBind(Intent intent) {\n\n return myBinder;\n }", "title": "" }, { "docid": "34a9d515d0310040a8bdd135efb157ce", "score": "0.5642952", "text": "@Override\n public IBinder onBind(Intent intent) {\n return mBinder;\n }", "title": "" }, { "docid": "34a9d515d0310040a8bdd135efb157ce", "score": "0.5642952", "text": "@Override\n public IBinder onBind(Intent intent) {\n return mBinder;\n }", "title": "" }, { "docid": "34a9d515d0310040a8bdd135efb157ce", "score": "0.5642952", "text": "@Override\n public IBinder onBind(Intent intent) {\n return mBinder;\n }", "title": "" }, { "docid": "c4557c605011b3d2d9c573810f3ed541", "score": "0.5634838", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\tLog.i(TAG, \"onBind\");\n\t\treturn binder;\n\n\t}", "title": "" }, { "docid": "b037669486282a970f5f2bcaa2417145", "score": "0.5618882", "text": "@Override\r\n\tpublic IBinder onBind(Intent intent) {\r\n\t\tLog.d(TAG, \"onBind\");\r\n\t\tToast.makeText(getApplicationContext(), \"binding\", Toast.LENGTH_SHORT)\r\n\t\t\t\t.show();\r\n\t\treturn mMessenger.getBinder();\r\n\t}", "title": "" }, { "docid": "8f555a731bfa68731c8b4ea9366297f5", "score": "0.5618385", "text": "public static void bind(ServiceBinder binder)\r\n {\n \tbinder.bind(Authenticator.class, BasicAuthenticator.class);\r\n \tbinder.bind(UserDAO.class,UserDAOImplements.class);\r\n \tbinder.bind(TrainingDAO.class,TrainingDAOImplements.class);\r\n \tbinder.bind(EvidenceExerciseDAO.class, EvidenceExerciseDAOImplements.class);\r\n \tbinder.bind(ExerciseDAO.class, ExerciseDAOImplements.class);\r\n \tbinder.bind(MyTrainingsDAO.class, MyTrainingsDAOImplements.class);\r\n \tbinder.bind(MembershipDAO.class, MembershipDAOImplements.class);\r\n \tbinder.bind(TimetableDAO.class,TimetableDAOImplements.class);\r\n \tbinder.bind(MoreInformationDao.class,MoreInformationDAOImplements.class);\r\n \tbinder.bind(PresenceDao.class,PresenceDAOImplements.class);\r\n }", "title": "" }, { "docid": "e273fcf5ef6e8287332d79ff0aeb6159", "score": "0.5592328", "text": "@Override\n public IBinder onBind(Intent intent) {\n Log.d(LOG_TAG, \"log tag\" + binder);\n return binder;\n }", "title": "" }, { "docid": "22a67ccf1da11ae595443ca36608a7af", "score": "0.55891234", "text": "@Override\n public void getDependencies(Set<Binding<?>> getBindings, Set<Binding<?>> injectMembersBindings) {\n injectMembersBindings.add(app);\n injectMembersBindings.add(bus);\n injectMembersBindings.add(service);\n injectMembersBindings.add(supertype);\n }", "title": "" }, { "docid": "87eebb1c9fa21767fe9225666147eb62", "score": "0.5584792", "text": "@Override\n public List<MBindingContext> getBindingContexts()\n {\n return null;\n }", "title": "" }, { "docid": "470eebb5dae7c606c959732829400a8f", "score": "0.5574356", "text": "public void bind() {\n }", "title": "" }, { "docid": "f4a24396b871ee5d12a20f9a9deddadd", "score": "0.55708486", "text": "@Override\n public IBinder onBind(Intent intent) {\n Log.e(TAG, \"onbind\");\n return binder;\n }", "title": "" }, { "docid": "9699c85ce7b10ba463099e0e9a86f834", "score": "0.55658036", "text": "@Override\n\tpublic IBinder onBind(Intent arg0) {\n\t\treturn mBinder;\n\t}", "title": "" }, { "docid": "dda50b5b475b6d54d66d394a190aa970", "score": "0.55530643", "text": "Binding getBinding();", "title": "" }, { "docid": "52b612a8fb3261b45fddbc8e6475d646", "score": "0.5548238", "text": "public Collection<Binder> makeBinders(Searcher searcher)\n throws Impossible {\n newNetInstance = net.makeInstance();\n\n\n // Assign it to the variable.\n Unify.unify(variable, newNetInstance, searcher.recorder);\n\n // Nothing more to be done.\n return Collections.emptySet();\n }", "title": "" }, { "docid": "e61033d3994064b404e82b7c03966adc", "score": "0.5543548", "text": "@Override\n public IBinder onBind(Intent intent) {\n Log.v(LOG_TAG, \"in onBind\");\n return mBinder;\n }", "title": "" }, { "docid": "cb84fa3ab5654f5ac8add21692df1a32", "score": "0.5538693", "text": "@Override\n\tpublic void bind() {\n\t\t\n\t}", "title": "" }, { "docid": "495db08ce68ae1aa2c667fc1364a5ded", "score": "0.55369174", "text": "protected void onBind()\n\t{\n\t}", "title": "" }, { "docid": "62ea9ee3e152c68dfc0871d6b70ad249", "score": "0.54813015", "text": "@Override\n protected String getBindingKey() {return _parms.bindingKey;}", "title": "" }, { "docid": "0c0a4f1389425ba275049390fab66ee8", "score": "0.54763126", "text": "@Nonnull\n SystemScriptBindings getBindings();", "title": "" }, { "docid": "2adf2bbc9e5691171cb9a30b899b8994", "score": "0.54686004", "text": "@Override\n public IBinder onBind(Intent intent) {\n IBinder ret = null;\n ret = getSyncAdapter().getSyncAdapterBinder();\n return ret;\n }", "title": "" }, { "docid": "e53b8c29f9c1a81cec43aa686da05a1e", "score": "0.5468111", "text": "@Override\n\tpublic IBinder onBind(Intent arg0)\n\t{\n\t\tLog.i(\"JSChatClientService\", \"JSChatClientService bound.\");\n\t\treturn binder;\n\t}", "title": "" }, { "docid": "422124960dee14d4db47ec0651bd6641", "score": "0.5467856", "text": "@Override\n public IBinder onBind(Intent intent) {\n return myibinder;\n }", "title": "" }, { "docid": "f4fda88ce4775b060060e3367c3c1836", "score": "0.5453538", "text": "public interface IContextHubService\r\n extends IInterface\r\n{\r\n public static abstract class Stub extends Binder\r\n implements IContextHubService\r\n {\r\n\r\n public static IContextHubService asInterface(IBinder ibinder)\r\n {\r\n if(ibinder == null)\r\n return null;\r\n IInterface iinterface = ibinder.queryLocalInterface(\"android.hardware.location.IContextHubService\");\r\n if(iinterface != null && (iinterface instanceof IContextHubService))\r\n return (IContextHubService)iinterface;\r\n else\r\n return new Proxy(ibinder);\r\n }\r\n\r\n public IBinder asBinder()\r\n {\r\n return this;\r\n }\r\n\r\n public boolean onTransact(int i, Parcel parcel, Parcel parcel1, int j)\r\n throws RemoteException\r\n {\r\n switch(i)\r\n {\r\n default:\r\n return super.onTransact(i, parcel, parcel1, j);\r\n\r\n case 1598968902: \r\n parcel1.writeString(\"android.hardware.location.IContextHubService\");\r\n return true;\r\n\r\n case 1: // '\\001'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = registerCallback(IContextHubCallback.Stub.asInterface(parcel.readStrongBinder()));\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n\r\n case 2: // '\\002'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n parcel = getContextHubHandles();\r\n parcel1.writeNoException();\r\n parcel1.writeIntArray(parcel);\r\n return true;\r\n\r\n case 3: // '\\003'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n parcel = getContextHubInfo(parcel.readInt());\r\n parcel1.writeNoException();\r\n if(parcel != null)\r\n {\r\n parcel1.writeInt(1);\r\n parcel.writeToParcel(parcel1, 1);\r\n } else\r\n {\r\n parcel1.writeInt(0);\r\n }\r\n return true;\r\n\r\n case 4: // '\\004'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = parcel.readInt();\r\n if(parcel.readInt() != 0)\r\n parcel = (NanoApp)NanoApp.CREATOR.createFromParcel(parcel);\r\n else\r\n parcel = null;\r\n i = loadNanoApp(i, parcel);\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n\r\n case 5: // '\\005'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = unloadNanoApp(parcel.readInt());\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n\r\n case 6: // '\\006'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n parcel = getNanoAppInstanceInfo(parcel.readInt());\r\n parcel1.writeNoException();\r\n if(parcel != null)\r\n {\r\n parcel1.writeInt(1);\r\n parcel.writeToParcel(parcel1, 1);\r\n } else\r\n {\r\n parcel1.writeInt(0);\r\n }\r\n return true;\r\n\r\n case 7: // '\\007'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = parcel.readInt();\r\n if(parcel.readInt() != 0)\r\n parcel = (NanoAppFilter)NanoAppFilter.CREATOR.createFromParcel(parcel);\r\n else\r\n parcel = null;\r\n parcel = findNanoAppOnHub(i, parcel);\r\n parcel1.writeNoException();\r\n parcel1.writeIntArray(parcel);\r\n return true;\r\n\r\n case 8: // '\\b'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = parcel.readInt();\r\n j = parcel.readInt();\r\n break;\r\n }\r\n if(parcel.readInt() != 0)\r\n parcel = (ContextHubMessage)ContextHubMessage.CREATOR.createFromParcel(parcel);\r\n else\r\n parcel = null;\r\n i = sendMessage(i, j, parcel);\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n }\r\n\r\n private static final String DESCRIPTOR = \"android.hardware.location.IContextHubService\";\r\n static final int TRANSACTION_findNanoAppOnHub = 7;\r\n static final int TRANSACTION_getContextHubHandles = 2;\r\n static final int TRANSACTION_getContextHubInfo = 3;\r\n static final int TRANSACTION_getNanoAppInstanceInfo = 6;\r\n static final int TRANSACTION_loadNanoApp = 4;\r\n static final int TRANSACTION_registerCallback = 1;\r\n static final int TRANSACTION_sendMessage = 8;\r\n static final int TRANSACTION_unloadNanoApp = 5;\r\n\r\n public Stub()\r\n {\r\n attachInterface(this, \"android.hardware.location.IContextHubService\");\r\n }\r\n }\r\n\r\n private static class Stub.Proxy\r\n implements IContextHubService\r\n {\r\n\r\n public IBinder asBinder()\r\n {\r\n return mRemote;\r\n }\r\n\r\n public int[] findNanoAppOnHub(int i, NanoAppFilter nanoappfilter)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n if(nanoappfilter == null)\r\n break MISSING_BLOCK_LABEL_73;\r\n parcel.writeInt(1);\r\n nanoappfilter.writeToParcel(parcel, 0);\r\n_L1:\r\n mRemote.transact(7, parcel, parcel1, 0);\r\n parcel1.readException();\r\n nanoappfilter = parcel1.createIntArray();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return nanoappfilter;\r\n parcel.writeInt(0);\r\n goto _L1\r\n nanoappfilter;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw nanoappfilter;\r\n }\r\n\r\n public int[] getContextHubHandles()\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n int ai[];\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n mRemote.transact(2, parcel, parcel1, 0);\r\n parcel1.readException();\r\n ai = parcel1.createIntArray();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return ai;\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n public ContextHubInfo getContextHubInfo(int i)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n mRemote.transact(3, parcel, parcel1, 0);\r\n parcel1.readException();\r\n if(parcel1.readInt() == 0) goto _L2; else goto _L1\r\n_L1:\r\n ContextHubInfo contexthubinfo = (ContextHubInfo)ContextHubInfo.CREATOR.createFromParcel(parcel1);\r\n_L4:\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return contexthubinfo;\r\n_L2:\r\n contexthubinfo = null;\r\n if(true) goto _L4; else goto _L3\r\n_L3:\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n public String getInterfaceDescriptor()\r\n {\r\n return \"android.hardware.location.IContextHubService\";\r\n }\r\n\r\n public NanoAppInstanceInfo getNanoAppInstanceInfo(int i)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n mRemote.transact(6, parcel, parcel1, 0);\r\n parcel1.readException();\r\n if(parcel1.readInt() == 0) goto _L2; else goto _L1\r\n_L1:\r\n NanoAppInstanceInfo nanoappinstanceinfo = (NanoAppInstanceInfo)NanoAppInstanceInfo.CREATOR.createFromParcel(parcel1);\r\n_L4:\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return nanoappinstanceinfo;\r\n_L2:\r\n nanoappinstanceinfo = null;\r\n if(true) goto _L4; else goto _L3\r\n_L3:\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n public int loadNanoApp(int i, NanoApp nanoapp)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n if(nanoapp == null)\r\n break MISSING_BLOCK_LABEL_72;\r\n parcel.writeInt(1);\r\n nanoapp.writeToParcel(parcel, 0);\r\n_L1:\r\n mRemote.transact(4, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n parcel.writeInt(0);\r\n goto _L1\r\n nanoapp;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw nanoapp;\r\n }\r\n\r\n public int registerCallback(IContextHubCallback icontexthubcallback)\r\n throws RemoteException\r\n {\r\n IBinder ibinder;\r\n Parcel parcel;\r\n Parcel parcel1;\r\n ibinder = null;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n if(icontexthubcallback == null)\r\n break MISSING_BLOCK_LABEL_28;\r\n ibinder = icontexthubcallback.asBinder();\r\n int i;\r\n parcel.writeStrongBinder(ibinder);\r\n mRemote.transact(1, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n icontexthubcallback;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw icontexthubcallback;\r\n }\r\n\r\n public int sendMessage(int i, int j, ContextHubMessage contexthubmessage)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n parcel.writeInt(j);\r\n if(contexthubmessage == null)\r\n break MISSING_BLOCK_LABEL_86;\r\n parcel.writeInt(1);\r\n contexthubmessage.writeToParcel(parcel, 0);\r\n_L1:\r\n mRemote.transact(8, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n parcel.writeInt(0);\r\n goto _L1\r\n contexthubmessage;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw contexthubmessage;\r\n }\r\n\r\n public int unloadNanoApp(int i)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n mRemote.transact(5, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n private IBinder mRemote;\r\n\r\n Stub.Proxy(IBinder ibinder)\r\n {\r\n mRemote = ibinder;\r\n }\r\n }\r\n\r\n\r\n public abstract int[] findNanoAppOnHub(int i, NanoAppFilter nanoappfilter)\r\n throws RemoteException;\r\n\r\n public abstract int[] getContextHubHandles()\r\n throws RemoteException;\r\n\r\n public abstract ContextHubInfo getContextHubInfo(int i)\r\n throws RemoteException;\r\n\r\n public abstract NanoAppInstanceInfo getNanoAppInstanceInfo(int i)\r\n throws RemoteException;\r\n\r\n public abstract int loadNanoApp(int i, NanoApp nanoapp)\r\n throws RemoteException;\r\n\r\n public abstract int registerCallback(IContextHubCallback icontexthubcallback)\r\n throws RemoteException;\r\n\r\n public abstract int sendMessage(int i, int j, ContextHubMessage contexthubmessage)\r\n throws RemoteException;\r\n\r\n public abstract int unloadNanoApp(int i)\r\n throws RemoteException;\r\n}", "title": "" }, { "docid": "5b096a49104b32a9543c1180123085a8", "score": "0.5452903", "text": "public abstract BindPredictor getBindPredictor();", "title": "" }, { "docid": "c80a5d50cd19edbf9e7f3b6f78bdc578", "score": "0.544206", "text": "@Override\n\tpublic String getBindingTypes() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "875122ca1dc792a5566722be2c1d117d", "score": "0.5440196", "text": "private void bindObject() {\n }", "title": "" }, { "docid": "07191fc9d7b1c37eaecb420dcc231a47", "score": "0.5436332", "text": "private void registerBindings(){\n\t\tdataBinder.registerBinding(\"supplier.supplierBusinessMode.name\", String.class, this.txtBusinessMode, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.inviteType.name\", String.class, this.txtInviteType, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.name\", String.class, this.txtSupplierName, \"text\");\n\t\tdataBinder.registerBinding(\"supplier\", com.kingdee.eas.fdc.invite.supplier.SupplierStockInfo.class, this.prmtSupplier, \"data\");\n\t\tdataBinder.registerBinding(\"number\", String.class, this.txtNumber, \"text\");\n\t\tdataBinder.registerBinding(\"evaluationType\", com.kingdee.eas.fdc.invite.supplier.SupplierEvaluationTypeInfo.class, this.prmtEvaluationType, \"data\");\n\t\tdataBinder.registerBinding(\"template\", com.kingdee.eas.fdc.invite.supplier.SupplierAppraiseTemplateInfo.class, this.prmtTemplate, \"data\");\n\t\tdataBinder.registerBinding(\"description\", String.class, this.txtRemark, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.purchaseOrgUnit.name\", String.class, this.txtOrg, \"text\");\n\t\tdataBinder.registerBinding(\"lygcScore\", java.math.BigDecimal.class, this.txtLYGCScore, \"value\");\n\t\tdataBinder.registerBinding(\"lyhRate\", java.math.BigDecimal.class, this.txtLYHScore, \"value\");\n\t\tdataBinder.registerBinding(\"isOver\", boolean.class, this.cbIsOver, \"selected\");\n\t\tdataBinder.registerBinding(\"srcGrade\", com.kingdee.eas.fdc.invite.supplier.GradeSetUpInfo.class, this.prmtSrcGrade, \"data\");\n\t\tdataBinder.registerBinding(\"srcLevel\", com.kingdee.eas.fdc.invite.supplier.LevelSetUpInfo.class, this.prmtSrcLevel, \"data\");\n\t\tdataBinder.registerBinding(\"creator\", com.kingdee.eas.base.permission.UserInfo.class, this.prmtCreator, \"data\");\n\t\tdataBinder.registerBinding(\"createTime\", java.sql.Timestamp.class, this.pkCreateTime, \"value\");\n\t\tdataBinder.registerBinding(\"lygcRate\", java.math.BigDecimal.class, this.txtLYGCRate, \"value\");\n\t\tdataBinder.registerBinding(\"lyhScroe\", java.math.BigDecimal.class, this.txtLYHRate, \"value\");\n\t\tdataBinder.registerBinding(\"amount\", java.math.BigDecimal.class, this.txtAmount, \"value\");\n\t\tdataBinder.registerBinding(\"supplier.storageNumber\", String.class, this.txtStorageNumber, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.storageDate\", java.util.Date.class, this.pkStorageDate, \"value\");\n\t\tdataBinder.registerBinding(\"supplier.manager\", String.class, this.txtManager, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.contractor\", String.class, this.txtContractor, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.authorizePerson\", String.class, this.txtLinkPerson, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.authorizePhone\", String.class, this.txtLinkPhone, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.contractorPhone\", String.class, this.txtContractorPhone, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.managerPhone\", String.class, this.txtManagerPhone, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.partProject\", String.class, this.txtPartProject, \"text\");\n\t\tdataBinder.registerBinding(\"supplier.authorizeJob\", String.class, this.txtLinkJob, \"text\");\n\t\tdataBinder.registerBinding(\"bizDate\", java.util.Date.class, this.pkBizDate, \"value\");\n\t\tdataBinder.registerBinding(\"grade\", com.kingdee.eas.fdc.invite.supplier.GradeSetUpInfo.class, this.prmtGrade, \"data\");\n\t\tdataBinder.registerBinding(\"level\", com.kingdee.eas.fdc.invite.supplier.LevelSetUpInfo.class, this.prmtLevel, \"data\");\n\t\tdataBinder.registerBinding(\"isPass\", boolean.class, this.cbIsPass, \"selectedItem\");\t\t\n\t}", "title": "" }, { "docid": "292c6bbc90a74d8589da3b67b88bc10c", "score": "0.5410243", "text": "private void registerBindings(){\r\n\t\tdataBinder.registerBinding(\"entry.programmingContract.programming.project.name\", String.class, this.kdtEntrys, \"curProject.text\");\r\n\t\tdataBinder.registerBinding(\"entry\", com.kingdee.eas.fdc.contract.contractsplit.ContractPCSplitBillEntryInfo.class, this.kdtEntrys, \"userObject\");\r\n\t\tdataBinder.registerBinding(\"entry.programmingContract.longNumber\", String.class, this.kdtEntrys, \"pcNumber.text\");\r\n\t\tdataBinder.registerBinding(\"entry.programmingContract.name\", String.class, this.kdtEntrys, \"pcName.text\");\r\n\t\tdataBinder.registerBinding(\"entry.scale\", java.math.BigDecimal.class, this.kdtEntrys, \"scale.text\");\r\n\t\tdataBinder.registerBinding(\"entry.amount\", java.math.BigDecimal.class, this.kdtEntrys, \"amount.text\");\r\n\t\tdataBinder.registerBinding(\"entry.programmingContract.amount\", java.math.BigDecimal.class, this.kdtEntrys, \"pcAmount.text\");\r\n\t\tdataBinder.registerBinding(\"amount\", java.math.BigDecimal.class, this.txtAmount, \"value\");\r\n\t\tdataBinder.registerBinding(\"creator\", com.kingdee.eas.base.permission.UserInfo.class, this.prmtCreator, \"data\");\r\n\t\tdataBinder.registerBinding(\"createTime\", java.sql.Timestamp.class, this.pkCreateTime, \"value\");\t\t\r\n\t}", "title": "" }, { "docid": "65a358b038c7b4a364730ed001df0560", "score": "0.53994596", "text": "private void registerBindings(){\n\t\tdataBinder.registerBinding(\"name\", String.class, this.name, \"text\");\n\t\tdataBinder.registerBinding(\"creator\", com.kingdee.eas.base.permission.UserInfo.class, this.creator, \"data\");\n\t\tdataBinder.registerBinding(\"relateTask\", com.kingdee.eas.fdc.schedule.FDCScheduleTaskInfo.class, this.relationTask, \"data\");\n\t\tdataBinder.registerBinding(\"createTime\", java.sql.Timestamp.class, this.creatorTime, \"value\");\n\t\tdataBinder.registerBinding(\"imgDescription\", String.class, this.txtDescription, \"text\");\n\t\tdataBinder.registerBinding(\"entries.size\", String.class, this.kdtEntries, \"size.text\");\n\t\tdataBinder.registerBinding(\"entries.sizeInByte\", int.class, this.kdtEntries, \"sizeInByte.text\");\n\t\tdataBinder.registerBinding(\"entries.fileName\", String.class, this.kdtEntries, \"fileName.text\");\n\t\tdataBinder.registerBinding(\"entries.name\", String.class, this.kdtEntries, \"name.text\");\n\t\tdataBinder.registerBinding(\"entries\", com.kingdee.eas.fdc.schedule.ProjectImageEntryInfo.class, this.kdtEntries, \"userObject\");\t\t\n\t}", "title": "" }, { "docid": "b87f12d101ee50f8739d97a5c4ea90ad", "score": "0.5398833", "text": "public ArrayList<Integer> getBinderTransaction() {\n long startTime = System.currentTimeMillis();\n binderPids.clear();\n if (!binderFileIfExist()) {\n Log.e(BINDERTRACKER, \"file not exist or unknown error!\");\n return null;\n }\n ArrayList<Integer> listBinders = getBinderTransactionFile(checkPid, binderTransactionFile);\n if (listBinders == null || listBinders.size() == 0) {\n Log.e(BINDERTRACKER, \"can't get any effective binder communication information !\");\n return null;\n }\n\n ArrayList<Integer> binders = getAllBinders(listBinders);\n if (binders == null || binders.size() == 0) {\n Log.w(BINDERTRACKER, \"Not found any binders communicated with \" + checkPid + \" or known error happened .\");\n return null;\n }\n Log.i(BINDERTRACKER, \"binderPids: size:\" + binderPids.size() + \",content:\" + binderPids);\n Log.i(\"Time\", \"total time is \" + (System.currentTimeMillis() - startTime) + \"ms\");\n\n return binders;\n\n }", "title": "" }, { "docid": "0a6d6711a946acad0f8b9dbd273b7f40", "score": "0.5391531", "text": "public abstract TypeBindings bindingsForBeanType();", "title": "" }, { "docid": "be1fcc28ddbbd2b63ca6bd6e9c3e8966", "score": "0.5379706", "text": "public static List<VariableDeclaration> getBindingManagementVars()\n {\n return FrameworkDefs.bindingManagementVars; \n }", "title": "" }, { "docid": "a2689bfc59a675ccfb0dd11090457fdf", "score": "0.5375422", "text": "@Override\n public IBinder onBind(Intent intent) {\n return new IBinder() {\n @Nullable\n @Override\n public String getInterfaceDescriptor() throws RemoteException {\n return null;\n }\n\n @Override\n public boolean pingBinder() {\n return false;\n }\n\n @Override\n public boolean isBinderAlive() {\n return false;\n }\n\n @Nullable\n @Override\n public IInterface queryLocalInterface(@NonNull String s) {\n return null;\n }\n\n @Override\n public void dump(@NonNull FileDescriptor fileDescriptor, @Nullable String[] strings) throws RemoteException {\n\n }\n\n @Override\n public void dumpAsync(@NonNull FileDescriptor fileDescriptor, @Nullable String[] strings) throws RemoteException {\n\n }\n\n @Override\n public boolean transact(int i, @NonNull Parcel parcel, @Nullable Parcel parcel1, int i1) throws RemoteException {\n return false;\n }\n\n @Override\n public void linkToDeath(@NonNull DeathRecipient deathRecipient, int i) throws RemoteException {\n\n }\n\n @Override\n public boolean unlinkToDeath(@NonNull DeathRecipient deathRecipient, int i) {\n return false;\n }\n };\n }", "title": "" }, { "docid": "a161b5a64d97934d34fc081e46424e59", "score": "0.535359", "text": "@Override\n //public abstract IBinder onBind (Intent intent)\n public IBinder onBind(Intent intent) {\n return null;\n }", "title": "" }, { "docid": "a7aaaadeb0ce7616fc5c33ff12b26e68", "score": "0.5304724", "text": "public HashMap<IClassDefinition, BindingDatabase> getBindingMap(){\n return bindingMap;\n }", "title": "" }, { "docid": "482c1862026c8db50a88c085a8b4952a", "score": "0.53045", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\tSystem.out.println(\"ONBIND\");\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ff72af5a1b552c3a016ef11c1b5d3257", "score": "0.5300778", "text": "public interface FloatServiceBinder {\n /**\n * 启动并且绑定服务完成\n * @param componentName ServiceConnection的componentName\n * @param iBinder ServiceConnection的iBinder\n */\n void onBindSucceed(ComponentName componentName, IBinder iBinder);\n\n /**\n * 当服务意外死亡时触发\n * @param componentName ServiceConnection的componentName\n */\n void onServiceDisconnected(ComponentName componentName);\n}", "title": "" }, { "docid": "5f1c5fc393b764f19bd3e356f37f64e5", "score": "0.5294254", "text": "public interface IBookManager extends IInterface {\n //DESCRIPTOR是一个标识来的,生成子类对象(IBookManager的实现者 和 Binder的实现者)时要用到\n static final String DESCRIPTOR = \"com.example.benjious.theart_02.manualbinder.IBookManager\";\n\n static final int TRANSACTION_getBookList = (IBinder.FIRST_CALL_TRANSACTION + 0);\n static final int TRANSACTION_addBook = (IBinder.FIRST_CALL_TRANSACTION + 1);\n\n public List<Book> getBookList() throws RemoteException;\n\n public void addBook(Book book) throws RemoteException;\n}", "title": "" }, { "docid": "12c489f02c40ca2f06795ab556e72956", "score": "0.5290546", "text": "public void executeBindings() {\n /*\n r28 = this;\n r1 = r28\n monitor-enter(r28)\n long r2 = r1.mDirtyFlags // Catch:{ all -> 0x0132 }\n r4 = 0\n r1.mDirtyFlags = r4 // Catch:{ all -> 0x0132 }\n monitor-exit(r28) // Catch:{ all -> 0x0132 }\n com.medscape.android.myinvites.specific.Invitation r0 = r1.mInvitation\n r6 = 0\n r7 = 3\n long r9 = r2 & r7\n r12 = 4\n r15 = 0\n r16 = 0\n int r17 = (r9 > r4 ? 1 : (r9 == r4 ? 0 : -1))\n if (r17 == 0) goto L_0x00c3\n if (r0 == 0) goto L_0x0031\n java.lang.String r15 = r0.getDescription()\n boolean r6 = r0.isFeatured()\n java.lang.String r9 = r0.getTitle()\n java.lang.String r10 = r0.getCta()\n java.lang.String r0 = r0.getInfo()\n goto L_0x0035\n L_0x0031:\n r0 = r15\n r9 = r0\n r10 = r9\n r6 = 0\n L_0x0035:\n if (r17 == 0) goto L_0x0048\n if (r6 == 0) goto L_0x0040\n r17 = 2048(0x800, double:1.0118E-320)\n long r2 = r2 | r17\n r17 = 8192(0x2000, double:4.0474E-320)\n goto L_0x0046\n L_0x0040:\n r17 = 1024(0x400, double:5.06E-321)\n long r2 = r2 | r17\n r17 = 4096(0x1000, double:2.0237E-320)\n L_0x0046:\n long r2 = r2 | r17\n L_0x0048:\n if (r15 == 0) goto L_0x004f\n boolean r17 = r15.isEmpty()\n goto L_0x0051\n L_0x004f:\n r17 = 0\n L_0x0051:\n long r18 = r2 & r7\n int r20 = (r18 > r4 ? 1 : (r18 == r4 ? 0 : -1))\n if (r20 == 0) goto L_0x0060\n if (r17 == 0) goto L_0x005c\n r18 = 512(0x200, double:2.53E-321)\n goto L_0x005e\n L_0x005c:\n r18 = 256(0x100, double:1.265E-321)\n L_0x005e:\n long r2 = r2 | r18\n L_0x0060:\n android.widget.TextView r11 = r1.textTitle\n android.content.res.Resources r11 = r11.getResources()\n if (r6 == 0) goto L_0x006c\n r14 = 2131165478(0x7f070126, float:1.7945174E38)\n goto L_0x006f\n L_0x006c:\n r14 = 2131165477(0x7f070125, float:1.7945172E38)\n L_0x006f:\n float r11 = r11.getDimension(r14)\n if (r6 == 0) goto L_0x0077\n r6 = 0\n goto L_0x0079\n L_0x0077:\n r6 = 8\n L_0x0079:\n if (r10 != 0) goto L_0x007d\n r14 = 1\n goto L_0x007e\n L_0x007d:\n r14 = 0\n L_0x007e:\n long r20 = r2 & r7\n int r22 = (r20 > r4 ? 1 : (r20 == r4 ? 0 : -1))\n if (r22 == 0) goto L_0x008c\n if (r14 == 0) goto L_0x008b\n r20 = 8\n long r2 = r2 | r20\n goto L_0x008c\n L_0x008b:\n long r2 = r2 | r12\n L_0x008c:\n if (r9 == 0) goto L_0x0093\n boolean r20 = r9.isEmpty()\n goto L_0x0095\n L_0x0093:\n r20 = 0\n L_0x0095:\n long r21 = r2 & r7\n int r23 = (r21 > r4 ? 1 : (r21 == r4 ? 0 : -1))\n if (r23 == 0) goto L_0x00a4\n if (r20 == 0) goto L_0x00a0\n r21 = 128(0x80, double:6.32E-322)\n goto L_0x00a2\n L_0x00a0:\n r21 = 64\n L_0x00a2:\n long r2 = r2 | r21\n L_0x00a4:\n if (r17 == 0) goto L_0x00a9\n r17 = 8\n goto L_0x00ab\n L_0x00a9:\n r17 = 0\n L_0x00ab:\n if (r20 == 0) goto L_0x00b0\n r20 = 8\n goto L_0x00b2\n L_0x00b0:\n r20 = 0\n L_0x00b2:\n r24 = r17\n r25 = r20\n r26 = r9\n r9 = r0\n r0 = r6\n r6 = r11\n r11 = r26\n r27 = r15\n r15 = r10\n r10 = r27\n goto L_0x00cc\n L_0x00c3:\n r9 = r15\n r10 = r9\n r11 = r10\n r0 = 0\n r14 = 0\n r24 = 0\n r25 = 0\n L_0x00cc:\n long r12 = r12 & r2\n int r17 = (r12 > r4 ? 1 : (r12 == r4 ? 0 : -1))\n if (r17 == 0) goto L_0x00d8\n if (r15 == 0) goto L_0x00d8\n boolean r12 = r15.isEmpty()\n goto L_0x00d9\n L_0x00d8:\n r12 = 0\n L_0x00d9:\n long r20 = r2 & r7\n int r13 = (r20 > r4 ? 1 : (r20 == r4 ? 0 : -1))\n if (r13 == 0) goto L_0x00f5\n if (r14 == 0) goto L_0x00e4\n r18 = 1\n goto L_0x00e6\n L_0x00e4:\n r18 = r12\n L_0x00e6:\n if (r13 == 0) goto L_0x00f0\n if (r18 == 0) goto L_0x00ed\n r12 = 32\n goto L_0x00ef\n L_0x00ed:\n r12 = 16\n L_0x00ef:\n long r2 = r2 | r12\n L_0x00f0:\n if (r18 == 0) goto L_0x00f5\n r14 = 8\n goto L_0x00f6\n L_0x00f5:\n r14 = 0\n L_0x00f6:\n long r2 = r2 & r7\n int r7 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1))\n if (r7 == 0) goto L_0x0131\n android.view.View r2 = r1.lineFeatured\n r2.setVisibility(r0)\n android.widget.TextView r2 = r1.textCta\n androidx.databinding.adapters.TextViewBindingAdapter.setText(r2, r15)\n android.widget.TextView r2 = r1.textCta\n r2.setVisibility(r14)\n android.widget.TextView r2 = r1.textDescription\n com.medscape.android.myinvites.MyInvitationsAdapterKt.setTextToHtml(r2, r10)\n android.widget.TextView r2 = r1.textDescription\n r3 = r24\n r2.setVisibility(r3)\n android.widget.TextView r2 = r1.textFeatured\n r2.setVisibility(r0)\n android.widget.TextView r0 = r1.textInfo\n com.medscape.android.myinvites.MyInvitationsAdapterKt.setTextToHtml(r0, r9)\n android.widget.TextView r0 = r1.textTitle\n androidx.databinding.adapters.ViewBindingAdapter.setPaddingTop(r0, r6)\n android.widget.TextView r0 = r1.textTitle\n com.medscape.android.myinvites.MyInvitationsAdapterKt.setTextToHtml(r0, r11)\n android.widget.TextView r0 = r1.textTitle\n r2 = r25\n r0.setVisibility(r2)\n L_0x0131:\n return\n L_0x0132:\n r0 = move-exception\n monitor-exit(r28) // Catch:{ all -> 0x0132 }\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.medscape.android.databinding.MyInvitationsCardBindingImpl.executeBindings():void\");\n }", "title": "" }, { "docid": "40887148eef2f0801c92444eaa154ea6", "score": "0.5287188", "text": "@Override\n public IBinder onBind(Intent intent) {\n return localBinder;\n }", "title": "" }, { "docid": "1a0d975ca04b7417b7e8111ebbb62670", "score": "0.52823687", "text": "public int getBindingCount() { List bindings = getBindings(false); return bindings!=null? bindings.size() : 0; }", "title": "" }, { "docid": "a1b932483773205eccf3fb5294e6501d", "score": "0.52819806", "text": "private Map<String, String> getParameterMappings(ServletRequestDataBinder binder) {\n Class<?> targetClass = binder.getTarget().getClass();\n Map<String, String> map = definitionsCache.get(targetClass);\n if (map == null) {\n Field[] fields = targetClass.getDeclaredFields();\n map = new HashMap<>();\n for (Field field : fields) {\n BindParameter annotation = field.getAnnotation(BindParameter.class);\n if (annotation != null && !annotation.value().isEmpty()) {\n map.put(annotation.value(), field.getName());\n }\n }\n definitionsCache.putIfAbsent(targetClass, map);\n return map;\n } else {\n return map;\n }\n }", "title": "" }, { "docid": "25aaca430b9063cc6eb2428e38042da8", "score": "0.5261648", "text": "@Override\r\n\tpublic IBinder onBind(Intent arg0) {\r\n\t\treturn new BDBServiceBinder();\r\n\t}", "title": "" }, { "docid": "289b403f0704f0d26e4ae50003342a3e", "score": "0.5254323", "text": "public static void bindTypes(Binder binder) {\n //array converter\n binder.convertToTypes(new ArrayMatcher(String.class), STRING_ARRAY_CONVERTER);\n binder.convertToTypes(new ArrayMatcher(int.class), INT_ARRAY_CONVERTER);\n binder.convertToTypes(new ArrayMatcher(boolean.class), BOOLEAN_ARRAY_CONVERTER);\n binder.convertToTypes(new ArrayMatcher(double.class), DOUBLE_ARRAY_CONVERTER);\n //files\n binder.convertToTypes(new ClazzMatcher(File.class), new FileTypeConverter());\n //URL\n binder.convertToTypes(new ClazzMatcher(URL.class), new URLTypeConverter());\n //URI\n binder.convertToTypes(new ClazzMatcher(URI.class), new URITypeConverter());\n //DateFormat\n binder.convertToTypes(new ClazzMatcher(DateFormat.class), new DateFormatTypeConverter());\n //Date\n binder.convertToTypes(new ClazzMatcher(Date.class), new DateTypeConverter());\n }", "title": "" }, { "docid": "b1f2b65b4b5d0ce86715c2f28c8a17bc", "score": "0.52523226", "text": "private void addGetChildBindings() {\n\t\tthis.pathBindingClass.addImports(Binding.class, List.class);\n\t\tGMethod children = this.pathBindingClass.getMethod(\"getChildBindings\").returnType(\"List<Binding<?>>\")\n\t\t\t\t.addAnnotation(\"@Override\");\n\t\tchildren.body.line(\"List<Binding<?>> bindings = new java.util.ArrayList<Binding<?>>();\");\n\t\tfor (String foundSubBinding : this.foundSubBindings) {\n\t\t\tchildren.body.line(\"bindings.add(this.{}());\", foundSubBinding);\n\t\t}\n\t\tchildren.body.line(\"return bindings;\");\n\t}", "title": "" }, { "docid": "ef8a9680b4d7d6f24f3c76876076c1c1", "score": "0.5244546", "text": "@Override\n public IBinder onBind(Intent intent) {\n return new SimpleBinder(this);\n }", "title": "" }, { "docid": "d3d7589003cb0976467c80168c674852", "score": "0.5230058", "text": "public void bindHandlers() {\n\n _eventBus.addHandler(NewIncidentEvent.TYPE, new NewIncidentEventHandler() {\n\n @Override\n public void onNewIncidentEventHandler(NewIncidentEvent event) {\n\n newIncident(event.getIncident());\n //addTodo(event.getTodoTitle());\n }\n });\n\n _eventBus.addHandler(AddressSearchEvent.TYPE, new AddressSearchEventHandler() {\n\n @Override\n public void onAddressSearchEventHandler(AddressSearchEvent event) {\n requestAddress(event.getTypedAddress());\n //addTodo(event.getTodoTitle());\n }\n });\n\n _eventBus.addHandler(RepairCallEvent.TYPE, new RepairCallEventHandler() {\n\n @Override\n public void onRepairCallEventHandler(RepairCallEvent event) {\n\n updateIncident(event.getIncident());\n //addTodo(event.getTodoTitle());\n }\n });\n }", "title": "" }, { "docid": "a0b92c1ccb6726c2ffb99c47d2a82a5e", "score": "0.5219127", "text": "private void addExtraBindings() {\n }", "title": "" }, { "docid": "fbdda3de9cdc46ecb9862f1e27ade9ed", "score": "0.5214687", "text": "public static void bind(ServiceBinder binder) {\n\t\t\n\t\tbinder.bind(CoreDAO.class,CoreDAOHibernate.class);\n\t\tbinder.bind(AuthorizingRealm.class, UserRealm.class).withId(UserRealm.class.getSimpleName());\n\t//\tbinder.bind(FederatedAccountService.class, DefaultHibernateFederatedAccountServiceImpl.class);\n\t\t\n//\t\tbinder.bind(FederatedAccountService.class, FederatedAccountServiceExample.class);\n//\t\tbinder.bind(AuthorizingRealm.class, FederatedAccountsAuthorizingRealm.class).withId(\n//\t\t\tFederatedAccountsAuthorizingRealm.class.getSimpleName());\n\t}", "title": "" }, { "docid": "ae9a87a3a6d53d3db4d13e4e2eb0d620", "score": "0.52063376", "text": "public IBinder onBind(Intent intent) {\n \t\treturn null;\n \t}", "title": "" }, { "docid": "48a23270252f1ee13abaa355016391f4", "score": "0.5201911", "text": "@Override\n public IBinder onBind(Intent intent) {\n return new MyBinder(this);\n }", "title": "" }, { "docid": "8a9a5843baad29c99854d0e740b04134", "score": "0.5175596", "text": "@Override\n public void onServiceConnected(ComponentName componentName, IBinder iBinder) {\n remoteServiceMethodSolver = IRemoteServiceMethod.Stub.asInterface(iBinder);\n Log.d(\"BindLog\", \"bind远程服务连接已成功,并获取了代理\");\n }", "title": "" }, { "docid": "1fa1c065d11b6fc680b3c584e2100783", "score": "0.5170389", "text": "@Override\n\tpublic IBinder onBind(Intent intent) {\n\t\t// TODO Auto-generated method stub\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8c805f0b70827dd5b79ba791080d4492", "score": "0.5168373", "text": "private MultibinderFactory() { }", "title": "" }, { "docid": "f5516c23d2f927b5aaa614c100a751b7", "score": "0.51674634", "text": "interface Binder extends UiBinder<Widget, SearchBoxUserRecord<?>> {\n }", "title": "" }, { "docid": "2b39c56e7a9cbc0fdebdf5d3a8d66728", "score": "0.51668274", "text": "public void defineBinder() {\n\t\tTC_Tutorial3 tc = new TC_Tutorial3(this, getConnectionManager(0));\n\t\taddServerRule(tc);\n\n\t\t// Define the Document processing path\n\t\tsetDPP(createDPP());\n\t}", "title": "" }, { "docid": "8c047c97a4b3369d06895b1dcbaccbb3", "score": "0.51632535", "text": "private void registerBindings(){\r\n\t\tdataBinder.registerBinding(\"isEnabled\", boolean.class, this.chkIsEnabled, \"selected\");\r\n\t\tdataBinder.registerBinding(\"isDevPrj\", boolean.class, this.chkIsDevPrj, \"selected\");\r\n\t\tdataBinder.registerBinding(\"isWholeAgeStage\", boolean.class, this.chkisWholeAgeStage, \"selected\");\r\n\t\tdataBinder.registerBinding(\"SplitProject.seq\", int.class, this.kdtSplitProject, \"seq.text\");\r\n\t\tdataBinder.registerBinding(\"SplitProject\", com.kingdee.eas.fdc.basedata.CurProjectSplitProjectInfo.class, this.kdtSplitProject, \"userObject\");\r\n\t\tdataBinder.registerBinding(\"SplitProject.splitProject\", java.lang.Object.class, this.kdtSplitProject, \"splitProject.text\");\r\n\t\tdataBinder.registerBinding(\"projectEnd\", boolean.class, this.chkprojectEnd, \"selected\");\r\n\t\tdataBinder.registerBinding(\"qk\", boolean.class, this.chqk, \"selected\");\r\n\t\tdataBinder.registerBinding(\"name\", String.class, this.txtName, \"_multiLangItem\");\r\n\t\tdataBinder.registerBinding(\"number\", String.class, this.txtNumber, \"text\");\r\n\t\tdataBinder.registerBinding(\"landDeveloper\", com.kingdee.eas.fdc.basedata.LandDeveloperInfo.class, this.bizLandDeveloper, \"data\");\r\n\t\tdataBinder.registerBinding(\"sortNo\", int.class, this.txtSortNo, \"value\");\r\n\t\tdataBinder.registerBinding(\"startDate\", java.util.Date.class, this.pkStartDate, \"value\");\r\n\t\tdataBinder.registerBinding(\"description\", String.class, this.txtDescription, \"_multiLangItem\");\r\n\t\tdataBinder.registerBinding(\"projectAddress\", String.class, this.txtProjectAddress, \"text\");\r\n\t\tdataBinder.registerBinding(\"longNumber\", String.class, this.txtLongNumber, \"text\");\r\n\t\tdataBinder.registerBinding(\"projectStatus\", com.kingdee.eas.fdc.basedata.ProjectStatusInfo.class, this.bizProjectStatus, \"data\");\r\n\t\tdataBinder.registerBinding(\"projectType\", com.kingdee.eas.fdc.basedata.ProjectTypeInfo.class, this.bizProjectType, \"data\");\r\n\t\tdataBinder.registerBinding(\"landInfomation\", com.kingdee.eas.fdc.basedata.LandInfomationInfo.class, this.landInfomationF7, \"data\");\t\t\r\n\t}", "title": "" }, { "docid": "5b0a208dd3d66ffbec5fc03ac1699b0f", "score": "0.51627356", "text": "public interface ParcelableNetworkListener extends IInterface {\n byte getListenerState() throws RemoteException;\n\n void onDataReceived(DefaultProgressEvent defaultProgressEvent) throws RemoteException;\n\n void onFinished(DefaultFinishEvent defaultFinishEvent) throws RemoteException;\n\n void onInputStreamGet(ParcelableInputStream parcelableInputStream) throws RemoteException;\n\n boolean onResponseCode(int i, ParcelableHeader parcelableHeader) throws RemoteException;\n\n /* compiled from: Taobao */\n public static abstract class Stub extends Binder implements ParcelableNetworkListener {\n private static final String DESCRIPTOR = \"anetwork.channel.aidl.ParcelableNetworkListener\";\n static final int TRANSACTION_getListenerState = 5;\n static final int TRANSACTION_onDataReceived = 1;\n static final int TRANSACTION_onFinished = 2;\n static final int TRANSACTION_onInputStreamGet = 4;\n static final int TRANSACTION_onResponseCode = 3;\n\n public IBinder asBinder() {\n return this;\n }\n\n public Stub() {\n attachInterface(this, DESCRIPTOR);\n }\n\n public static ParcelableNetworkListener asInterface(IBinder iBinder) {\n if (iBinder == null) {\n return null;\n }\n IInterface queryLocalInterface = iBinder.queryLocalInterface(DESCRIPTOR);\n if (queryLocalInterface == null || !(queryLocalInterface instanceof ParcelableNetworkListener)) {\n return new Proxy(iBinder);\n }\n return (ParcelableNetworkListener) queryLocalInterface;\n }\n\n /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v2, resolved type: anetwork.channel.aidl.DefaultProgressEvent} */\n /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v5, resolved type: anetwork.channel.aidl.DefaultFinishEvent} */\n /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v8, resolved type: anetwork.channel.aidl.ParcelableHeader} */\n /* JADX WARNING: type inference failed for: r0v1 */\n /* JADX WARNING: type inference failed for: r0v11 */\n /* JADX WARNING: type inference failed for: r0v12 */\n /* JADX WARNING: type inference failed for: r0v13 */\n /* JADX WARNING: Multi-variable type inference failed */\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public boolean onTransact(int r3, android.os.Parcel r4, android.os.Parcel r5, int r6) throws android.os.RemoteException {\n /*\n r2 = this;\n r0 = 1598968902(0x5f4e5446, float:1.4867585E19)\n r1 = 1\n if (r3 == r0) goto L_0x008c\n r0 = 0\n switch(r3) {\n case 1: goto L_0x0071;\n case 2: goto L_0x0056;\n case 3: goto L_0x0033;\n case 4: goto L_0x001f;\n case 5: goto L_0x000f;\n default: goto L_0x000a;\n }\n L_0x000a:\n boolean r3 = super.onTransact(r3, r4, r5, r6)\n return r3\n L_0x000f:\n java.lang.String r3 = \"anetwork.channel.aidl.ParcelableNetworkListener\"\n r4.enforceInterface(r3)\n byte r3 = r2.getListenerState()\n r5.writeNoException()\n r5.writeByte(r3)\n return r1\n L_0x001f:\n java.lang.String r3 = \"anetwork.channel.aidl.ParcelableNetworkListener\"\n r4.enforceInterface(r3)\n android.os.IBinder r3 = r4.readStrongBinder()\n anetwork.channel.aidl.ParcelableInputStream r3 = anetwork.channel.aidl.ParcelableInputStream.Stub.asInterface(r3)\n r2.onInputStreamGet(r3)\n r5.writeNoException()\n return r1\n L_0x0033:\n java.lang.String r3 = \"anetwork.channel.aidl.ParcelableNetworkListener\"\n r4.enforceInterface(r3)\n int r3 = r4.readInt()\n int r6 = r4.readInt()\n if (r6 == 0) goto L_0x004b\n android.os.Parcelable$Creator<anetwork.channel.aidl.ParcelableHeader> r6 = anetwork.channel.aidl.ParcelableHeader.CREATOR\n java.lang.Object r4 = r6.createFromParcel(r4)\n r0 = r4\n anetwork.channel.aidl.ParcelableHeader r0 = (anetwork.channel.aidl.ParcelableHeader) r0\n L_0x004b:\n boolean r3 = r2.onResponseCode(r3, r0)\n r5.writeNoException()\n r5.writeInt(r3)\n return r1\n L_0x0056:\n java.lang.String r3 = \"anetwork.channel.aidl.ParcelableNetworkListener\"\n r4.enforceInterface(r3)\n int r3 = r4.readInt()\n if (r3 == 0) goto L_0x006a\n android.os.Parcelable$Creator<anetwork.channel.aidl.DefaultFinishEvent> r3 = anetwork.channel.aidl.DefaultFinishEvent.CREATOR\n java.lang.Object r3 = r3.createFromParcel(r4)\n r0 = r3\n anetwork.channel.aidl.DefaultFinishEvent r0 = (anetwork.channel.aidl.DefaultFinishEvent) r0\n L_0x006a:\n r2.onFinished(r0)\n r5.writeNoException()\n return r1\n L_0x0071:\n java.lang.String r3 = \"anetwork.channel.aidl.ParcelableNetworkListener\"\n r4.enforceInterface(r3)\n int r3 = r4.readInt()\n if (r3 == 0) goto L_0x0085\n android.os.Parcelable$Creator<anetwork.channel.aidl.DefaultProgressEvent> r3 = anetwork.channel.aidl.DefaultProgressEvent.CREATOR\n java.lang.Object r3 = r3.createFromParcel(r4)\n r0 = r3\n anetwork.channel.aidl.DefaultProgressEvent r0 = (anetwork.channel.aidl.DefaultProgressEvent) r0\n L_0x0085:\n r2.onDataReceived(r0)\n r5.writeNoException()\n return r1\n L_0x008c:\n java.lang.String r3 = \"anetwork.channel.aidl.ParcelableNetworkListener\"\n r5.writeString(r3)\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: anetwork.channel.aidl.ParcelableNetworkListener.Stub.onTransact(int, android.os.Parcel, android.os.Parcel, int):boolean\");\n }\n\n /* compiled from: Taobao */\n private static class Proxy implements ParcelableNetworkListener {\n\n /* renamed from: a reason: collision with root package name */\n private IBinder f366a;\n\n Proxy(IBinder iBinder) {\n this.f366a = iBinder;\n }\n\n public IBinder asBinder() {\n return this.f366a;\n }\n\n public void onDataReceived(DefaultProgressEvent defaultProgressEvent) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(Stub.DESCRIPTOR);\n if (defaultProgressEvent != null) {\n obtain.writeInt(1);\n defaultProgressEvent.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f366a.transact(1, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n public void onFinished(DefaultFinishEvent defaultFinishEvent) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(Stub.DESCRIPTOR);\n if (defaultFinishEvent != null) {\n obtain.writeInt(1);\n defaultFinishEvent.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f366a.transact(2, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n public boolean onResponseCode(int i, ParcelableHeader parcelableHeader) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(Stub.DESCRIPTOR);\n obtain.writeInt(i);\n boolean z = true;\n if (parcelableHeader != null) {\n obtain.writeInt(1);\n parcelableHeader.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f366a.transact(3, obtain, obtain2, 0);\n obtain2.readException();\n if (obtain2.readInt() == 0) {\n z = false;\n }\n return z;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n public void onInputStreamGet(ParcelableInputStream parcelableInputStream) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(Stub.DESCRIPTOR);\n obtain.writeStrongBinder(parcelableInputStream != null ? parcelableInputStream.asBinder() : null);\n this.f366a.transact(4, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n public byte getListenerState() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(Stub.DESCRIPTOR);\n this.f366a.transact(5, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readByte();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n }\n }\n}", "title": "" }, { "docid": "c5528e406d620ab9d8e0d4817e8c7406", "score": "0.5161766", "text": "IIndexFragmentBinding[] findBindings(char[][] names, IndexFilter filter, IProgressMonitor monitor) throws CoreException;", "title": "" }, { "docid": "45caa09a6c39f03c4ce23cda145d9a1e", "score": "0.51615167", "text": "public void bindArguments() {\n\n\t\tif (this.arguments != null) {\n\t\t\t// by default arguments in abstract/native methods are considered to be used (no complaint is expected)\n\t\t\tif (this.binding == null) {\n\t\t\t\tfor (int i = 0, length = this.arguments.length; i < length; i++) {\n\t\t\t\t\tthis.arguments[i].bind(this.scope, null, true);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tboolean used = this.binding.isAbstract() || this.binding.isNative();\n\t\t\tfor (int i = 0, length = this.arguments.length; i < length; i++) {\n\t\t\t\tArgument argument = this.arguments[i];\n\t\t\t\targument.bind(this.scope, this.binding.parameters[i], used);\n\t\t\t\tif (argument.annotations != null) {\n\t\t\t\t\tthis.binding.tagBits |= TagBits.HasParameterAnnotations;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a00d93809c0cd0a6ff7325e7faccd28c", "score": "0.5160843", "text": "@Override\n public IBinder onBind(Intent intent) {\n IBinder ret = null;\n if (intent.getAction().equals(android.accounts.AccountManager.ACTION_AUTHENTICATOR_INTENT))\n ret = getAuthenticator().getIBinder();\n return ret;\n }", "title": "" }, { "docid": "3c18dd21d047bc2429317399659a910a", "score": "0.51581496", "text": "@Override\n public IBinder onBind(Intent intent) {\n return stub;\n }", "title": "" }, { "docid": "3c18dd21d047bc2429317399659a910a", "score": "0.51581496", "text": "@Override\n public IBinder onBind(Intent intent) {\n return stub;\n }", "title": "" }, { "docid": "bbfc179a2c00d52d1fa8f3e1ad03f861", "score": "0.5156878", "text": "@Override\n public IBinder onBind(Intent intent) {\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG)Log.d(TAG,\"onBind packet client: \"+getApplicationContext().getPackageName()+\" 6\");\n Signature[] sigs = new Signature[0];\n\n try {\n sigs = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_SIGNATURES).signatures;\n } catch (PackageManager.NameNotFoundException e) {\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG)Log.e(TAG,\"Error in get sign \"+e.getMessage());\n }\n for (Signature sig : sigs)\n {\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG)Log.i(TAG, \"Signature hashcode : \"+ sig.hashCode());\n }\n String[] paramets;\n if((paramets=checkPermission(this))!=null && paramets.length>0){\n PermissionRequestUtils.requestPermissions(this,paramets);\n }else{\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG){\n Log.d(TAG,\"The SDK has all the permissions\"); }\n }\n if(startIntent != null){\n intent=startIntent;\n }\n return engine.newClient(intent,this,false);\n }", "title": "" }, { "docid": "f609a12ca6d1767ba646984cc5def902", "score": "0.5137645", "text": "@Override\n /* Unknown but necessary function */\n public IBinder onBind(Intent intent)\n {\n throw new UnsupportedOperationException(\"Not yet implemented\");\n }", "title": "" }, { "docid": "a737bf9aba3cf265059a0385a1d46a07", "score": "0.5136166", "text": "@Override\n\tpublic IBinder onBind(Intent arg0) {\n\t\treturn new LocalBinder();\n\t}", "title": "" }, { "docid": "96c4821bdf775c3d27df3a19eb3ec0ab", "score": "0.51343155", "text": "public java.lang.String[] getBindingKey() {\r\n return bindingKey;\r\n }", "title": "" }, { "docid": "1dfa8c389ce00d1957313441caa77000", "score": "0.5119995", "text": "@Override public IBinder onBind(Intent p1){\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4e90d13c91d93bec5b80f7ca3e63898f", "score": "0.51153725", "text": "public ArrayList<Integer> getAllBinders(ArrayList<Integer> binders) {\n\n ArrayList<Integer> anrBinders = new ArrayList<Integer>();\n int listSize = binders.size();\n\n //get all binders\n for (int i = 0; i < listSize; i++) {\n Integer tmp = binders.get(i);\n ArrayList<Integer> tmpList = new ArrayList<Integer>();\n for (int j = 0; j < listSize; j++) {\n if (tmp.equals(binders.get(j))) {\n if (!(tmpList.contains(binders.get(j)))) {\n tmpList.add(binders.get(j));\n }\n if (j % 2 == 0 && !(tmpList.contains(binders.get(j + 1)))) {\n tmpList.add(binders.get(j + 1));\n } else {\n if (!(tmpList.contains(binders.get(j - 1)))) {\n tmpList.add(binders.get(j - 1));\n }\n }\n }\n }\n if (!(binderAllPids.contains(tmpList))) {\n binderAllPids.add(tmpList);\n }\n\n }\n\n Log.i(BINDERTRACKER, \"binderAllPids :\" + binderAllPids.size() + \".\" + binderAllPids);\n anrBinders.add(checkPid);\n getBinderPids(anrBinders);\n\n return binderPids;\n }", "title": "" }, { "docid": "a229c79a0c8814ecd9e99b1a2deba68f", "score": "0.5111902", "text": "@Override\r\n public IBinder onBind(Intent intent) {\n return null;\r\n }", "title": "" }, { "docid": "a229c79a0c8814ecd9e99b1a2deba68f", "score": "0.5111902", "text": "@Override\r\n public IBinder onBind(Intent intent) {\n return null;\r\n }", "title": "" }, { "docid": "a229c79a0c8814ecd9e99b1a2deba68f", "score": "0.5111902", "text": "@Override\r\n public IBinder onBind(Intent intent) {\n return null;\r\n }", "title": "" }, { "docid": "bc09adad1db67b419506140cea9ea03b", "score": "0.51087946", "text": "@Override\n public IBinder onBind(Intent intent)\n {\n return null;\n }", "title": "" }, { "docid": "bc09adad1db67b419506140cea9ea03b", "score": "0.51087946", "text": "@Override\n public IBinder onBind(Intent intent)\n {\n return null;\n }", "title": "" } ]
8f501edd080d31ad4a822340cce4f38e
Auto generated getter method
[ { "docid": "2ef829d0a68c36db3bef379132ffd454", "score": "0.0", "text": "public java.lang.String getZOATP(){\n return localZOATP;\n }", "title": "" } ]
[ { "docid": "66dfe07a0eb4db8398eaa70157740eef", "score": "0.75164664", "text": "public String get();", "title": "" }, { "docid": "66dfe07a0eb4db8398eaa70157740eef", "score": "0.75164664", "text": "public String get();", "title": "" }, { "docid": "cae7dd0c3ea172c79f53946f56f87dc3", "score": "0.74159676", "text": "Object get();", "title": "" }, { "docid": "12b08246b8afa882d61fffec13cac698", "score": "0.71664625", "text": "public abstract T get();", "title": "" }, { "docid": "337fded68dd6344bbea3d11c5d365d24", "score": "0.7093425", "text": "public TYPE get();", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.7084533", "text": "String get();", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.7084533", "text": "String get();", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.7084533", "text": "String get();", "title": "" }, { "docid": "81d3daf1c1f6a2b3aabd015e8383e4c3", "score": "0.7076845", "text": "public int get();", "title": "" }, { "docid": "cf1824fae9a5356814b3b9fa0d285e57", "score": "0.70665044", "text": "abstract public void get();", "title": "" }, { "docid": "54da172263fdb3b83c6c5f887b7c22b5", "score": "0.70179415", "text": "public void get();", "title": "" }, { "docid": "3109ad7262d12ec1e728c41906f65034", "score": "0.6985646", "text": "public abstract int get();", "title": "" }, { "docid": "0a13b0e2beb25555342b545a507e43eb", "score": "0.68941605", "text": "public T get() {\n return Value;\n }", "title": "" }, { "docid": "11ae3f676ce42a2333721001c6d26290", "score": "0.6892323", "text": "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e73f7497b216dccb12c2ccd84a619c91", "score": "0.6888165", "text": "@Override\n R get();", "title": "" }, { "docid": "dfba832f112ce9dba2c4e8f2a6e436b4", "score": "0.68829596", "text": "public Object get() {\r\n return getValue();\r\n }", "title": "" }, { "docid": "59049c53fcc404937622093922342a5e", "score": "0.68748695", "text": "@Override\r\n public void get() {\n\r\n }", "title": "" }, { "docid": "e5bb271eadea8189490795aca4e9f5dd", "score": "0.68533564", "text": "public T get(){\n return value;\n }", "title": "" }, { "docid": "5418d7a83a5227dd252e330b652040d7", "score": "0.6852925", "text": "@Override\n\tpublic default Object get() {\n\t\treturn get(new Object[0]);\n\t}", "title": "" }, { "docid": "c26b1975d55b20a66f303a2940b3854a", "score": "0.68512344", "text": "public abstract V get();", "title": "" }, { "docid": "ec437c016f7778a3c712e132700b3a18", "score": "0.6767928", "text": "public T get() {\n return value;\n }", "title": "" }, { "docid": "0be69c4502a4d1a496c54ac12c89c7c2", "score": "0.67446357", "text": "public Object get() {\n return value;\n }", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "d87b88775c224e6a7c95cc7215218d9b", "score": "0.67439413", "text": "T get();", "title": "" }, { "docid": "03573c6ed591d73131845a4da55e6bb8", "score": "0.6702908", "text": "public abstract Object get_value();", "title": "" }, { "docid": "f4391e6cadd3d3fd080d128936667b38", "score": "0.66864234", "text": "public T get() {\n return this.value;\n }", "title": "" }, { "docid": "21069efc794246b00903cef9a31f0252", "score": "0.66787976", "text": "public Object get() {\n return value;\n }", "title": "" }, { "docid": "db66184483c9a9473c73aa1686e049ae", "score": "0.6605695", "text": "public String toPropertyGetter() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "897de46ca029acf9c693fab364a5616d", "score": "0.6585742", "text": "@Override\n\t\tpublic String get() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "d313986e204a04106440355fa8a34e7a", "score": "0.65738463", "text": "public Producto getProductoNuevo()\r\n/* 238: */ {\r\n/* 239:251 */ return this.productoNuevo;\r\n/* 240: */ }", "title": "" }, { "docid": "64124a968ae3f44293c064c17c13059a", "score": "0.6555346", "text": "public E get();", "title": "" }, { "docid": "7816754f7fcec9d602f69fa8b321dda4", "score": "0.6548373", "text": "public Car getCar();", "title": "" }, { "docid": "134eebfb339c954e7a58d3e46ad95c18", "score": "0.65422827", "text": "public abstract String getPropertyValue();", "title": "" }, { "docid": "fe183982b8025cff570accb979d26842", "score": "0.6519237", "text": "@Nullable Object get();", "title": "" }, { "docid": "83d324dbe0e1cbb506c2398d66e089f6", "score": "0.64907944", "text": "public int getAge () { return age; }", "title": "" }, { "docid": "d315857a0fc153009c0708f460252768", "score": "0.6484278", "text": "Object getValue(){\n\t\treturn this.value;\n\t}", "title": "" }, { "docid": "f2854ceef724f008f71ea8a51e203d8a", "score": "0.6477886", "text": "public abstract String getFor();", "title": "" }, { "docid": "bc235d34f9e726be44969d986eb690f2", "score": "0.64753157", "text": "@Override\n public String get() {\n return String.valueOf(this.hashCode());\n }", "title": "" }, { "docid": "fef0ab6085c5ec15f7af37549eaeaf78", "score": "0.6457052", "text": "private static interface VarGetter {\n /**\n * Get the value of the var.\n * @returns the value of the var.\n */\n public String get();\n }", "title": "" }, { "docid": "92bb16940220edac529e107cd35302f9", "score": "0.64359885", "text": "@NonNull\n\tT get();", "title": "" }, { "docid": "a3e6ca0ab660c949be92f436ed09a4b8", "score": "0.64032954", "text": "public Producto getProducto()\r\n/* 214: */ {\r\n/* 215:309 */ return this.producto;\r\n/* 216: */ }", "title": "" }, { "docid": "70885ee635cf0868328e71fee23d1436", "score": "0.6398941", "text": "@Override\n\tpublic void handleGetters() {\n\n\t}", "title": "" }, { "docid": "97f01b5ba5047d4a46758ef01bd05010", "score": "0.6393768", "text": "protected String getterMethod(final GeneratedProperty field) {\n final StringBuilder sb = new StringBuilder();\n final String name = TextTemplateUtil.fieldName(field);\n final String importedName = Preconditions.checkNotNull(importedName(field.getReturnType()));\n sb.append(\"public \")\n .append(importedName)\n .append(' ')\n .append(TextTemplateUtil.getterMethodName(field))\n .append(\"() {\")\n .append(\"return \")\n .append(name);\n if (!(field.getReturnType() instanceof ParameterizedType)\n && importedName.contains(\"[]\")) {\n sb.append(\" == null ? null : \")\n .append(name)\n .append(\".clone()\");\n }\n sb.append(\";}\\n\");\n return sb.toString();\n }", "title": "" }, { "docid": "377902282c05f35f94706cf6acf6a07a", "score": "0.6388744", "text": "public final T get() { return value; }", "title": "" }, { "docid": "0c8aacffdf0c09a12b8914d3bb641186", "score": "0.63656515", "text": "public Object getValue() {\n/* 112 */ return this.value;\n/* */ }", "title": "" }, { "docid": "2a49e5795d277f0e37d91d3bf4cffbe4", "score": "0.6324245", "text": "public String getValue()\n/* 67: */ {\n/* 68:57 */ return this.value;\n/* 69: */ }", "title": "" }, { "docid": "7e6ef1c70d67de27c26a833b6bab8f9c", "score": "0.6320926", "text": "public int getAge() {\r\n return age; }", "title": "" }, { "docid": "55806828b73fc43ab43cda77bc2ad198", "score": "0.6315218", "text": "@DISPID(0)\n @PropGet\n @DefaultMethod\n java.lang.String get_Default();", "title": "" }, { "docid": "3253cb959e2a5974b03ec65e8135e14d", "score": "0.6315126", "text": "String getValue(){\r\n return value;\r\n }", "title": "" }, { "docid": "2e954c827bfc4f26834bc0dedb911f19", "score": "0.6314697", "text": "org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet();", "title": "" }, { "docid": "2e954c827bfc4f26834bc0dedb911f19", "score": "0.6314656", "text": "org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet();", "title": "" }, { "docid": "a106f7e7a7b2df873e41480d1a63d375", "score": "0.63135934", "text": "@Override\n\tpublic B get() {\n\t\tsuper.get(); //iif the return type of get method in\n\t\tSystem.out.println(\"Class B\");//super class is non-primitive and the return type\n\t\t //in the subclass must be of subclass type\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c969672c448462bb9991aba342f2edaf", "score": "0.6307099", "text": "public Object method_3304() {\n return this.field_2214;\n }", "title": "" }, { "docid": "587287ebe90b896d948cb5494186bfb0", "score": "0.6304609", "text": "public String getByWhom() {\n/* 276 */ return this.byWhom;\n/* */ }", "title": "" }, { "docid": "b70705d243b1a82724e7bad9abc3e5ad", "score": "0.62923133", "text": "public interface IGetter {\n\n public Object get(String name);\n\n}", "title": "" }, { "docid": "2d5af030ef94f917eeb2fd555918cacf", "score": "0.62882733", "text": "public String getNomeVE()\n/* 21: */ {\n/* 22:26 */ return this.NomeVE;\n/* 23: */ }", "title": "" }, { "docid": "a9920d1950d241c6a85931b44e7bd4ef", "score": "0.6275675", "text": "public abstract String getProperty();", "title": "" }, { "docid": "ce5f572a4ed094a3bcab10347a8908c2", "score": "0.62737286", "text": "public Customer getCustomer();", "title": "" }, { "docid": "e4ed7caac4d451a43b074b6707e8ef94", "score": "0.6273457", "text": "public /* bridge */ /* synthetic */ java.lang.Object getValue() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: gov.nist.core.NameValue.getValue():java.lang.Object, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: gov.nist.core.NameValue.getValue():java.lang.Object\");\n }", "title": "" }, { "docid": "5dc297588482c0faefd0c11396a30925", "score": "0.6273179", "text": "public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() {\n return get_;\n }", "title": "" }, { "docid": "5dc297588482c0faefd0c11396a30925", "score": "0.62728477", "text": "public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() {\n return get_;\n }", "title": "" }, { "docid": "307043f12f07c641f6328f88c07c22fe", "score": "0.6268237", "text": "protected String getElementValue()\n\tthrows JspException\n\t{\n\t\tif(getFieldGetter() == null)\n\t\t\tthrow new JspException(\"This instance of '\" + this.getClass().getSimpleName() + \n\t\t\t\t\"' must specify either a field name, getter method or override getElementValue() and it does not.\");\n\t\telse\n\t\t{\n\t\t\tObject fieldValue;\n\t\t\ttry\n\t\t\t{\n\t\t\t\tfor(Method fieldGetter : this.getFieldGetters())\n\t\t\t\t{\n\t\t\t\t\tfieldValue = fieldGetter.invoke( getBusinessObject(), new Object[]{} );\n\t\t\t\t\tif(fieldValue != null && fieldValue.toString().length() > 0)\n\t\t\t\t\t\treturn fieldValue.toString();\n\t\t\t\t}\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t\tcatch (Exception x)\n\t\t\t{\n\t\t\t\tthrow new JspException(x);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "4ef8dac1e7f899f6a61db06b4a19ab1c", "score": "0.6262727", "text": "public V get(int param1) {\n }", "title": "" }, { "docid": "f687b7de4744c888b825f64e3959d6dd", "score": "0.62457174", "text": "protected abstract Getter buildPropertyGetter(AttributeBinding mappedProperty);", "title": "" }, { "docid": "d612aee697ba7d3d15a470255385eabb", "score": "0.62432057", "text": "public double getAge()\n{\n\treturn age;\n}", "title": "" }, { "docid": "a511c11914dcdcd48828fb4c75ef6d30", "score": "0.6235276", "text": "public void GetValue()\n\t{\n\t}", "title": "" }, { "docid": "c81ad771daff4f55cab0053fe4ffcc06", "score": "0.6233085", "text": "public String getDocumento()\r\n/* 123: */ {\r\n/* 124:234 */ return this.documento;\r\n/* 125: */ }", "title": "" }, { "docid": "65fca89319090e8992f9228ed848343b", "score": "0.62226856", "text": "public Method getAccessorMethod() {\n\t\treturn accessorMethod;\n\t}", "title": "" }, { "docid": "cc5c2a35b7b2a6d9c870c57b405eb8a4", "score": "0.6214543", "text": "public d get() {\n return (d) c.a(this.f15898a.b(this.f15899b.get(), this.f15900c.get(), this.f15901d.get()), \"Cannot return null from a non-@Nullable @Provides method\");\n }", "title": "" }, { "docid": "0840c83807045d333f19eebbc9ce9ba0", "score": "0.621224", "text": "public String getValue ();", "title": "" }, { "docid": "eee444670bd96cc8c989da47ad890767", "score": "0.620643", "text": "@mdl.propgetter\n private String getNom() {\n return this.nom;\n }", "title": "" }, { "docid": "1fc48e6d35b66bdf349a360238fc6cd5", "score": "0.6175188", "text": "@GenerationPoint(generationPoint = ICppDefinitions.GETTER_BY_INDEX_INVOCATION, priority= IGenerationPointPriorityConstants.HIGHEST, \r\n\t\t\tunique= true)\r\n\tpublic static String setGetterByIndex(@GenerationRegistry GenerationPolicyRegistry generationValueGetter,\r\n\t\t\t@GenerationElementParameter(id = IModelingElementDefinitions.TYPE_NAME) String typeName,\r\n\t\t\t@GenerationElementParameter(id = IModelingElementDefinitions.PRIORITY) String key,\r\n\t\t\t@GenerationLoopElement Object modelPackage,\r\n\t\t\t@GenerationBaseElement Object element,\r\n\t\t\t@GenerationArguments Object... arguments){\n\t\tString setTemplateGetByIndex = generationValueGetter.use(ISTLConstants.GET_SET_ELEMENT_TEMPLATE_IMPLEMENTATION);\r\n\t\tgenerationValueGetter.addUniqueValue(ISTLConstants.GET_SET_ELEMENT_TEMPLATE_IMPLEMENTATION, setTemplateGetByIndex);\r\n\r\n\t\tgenerationValueGetter.generationPointString(modelPackage, ICppModelingDecisions.CPP_LIBRARY_DEPENDS_GENERATION_POINT,\r\n\t\t\t\tGenerationArgumentDescriptor.arg(ICppModelingDecisions.CPP_LIBRARY_DEPENDS_INCLUDE_ARGUMENT, ISTLConstants.SET), \r\n\t\t\t\tGenerationArgumentDescriptor.arg(ICppModelingDecisions.CPP_LIBRARY_DEPENDS_LIBRARY_ARGUMENT, ISTLConstants.STD_LIBRARY), \r\n\t\t\t\tGenerationArgumentDescriptor.arg(IModelingDecisions.DEPENDS_INCLUDE_ID_ARGUMENT, ICppDefinitions.BODY_INCLUDES_TRACKER));\r\n\t\t\r\n\t\t\r\n\t\tif(key!= null&& !key.isEmpty()){\r\n\t\t\tList<Object> types = generationValueGetter.getValues(IModelingConstants.TYPES_TRACKER, modelPackage, typeName);\r\n\t\t\tif(!types.isEmpty()){\r\n\t\t\t\tObject typeObject = types.get(0);\r\n\t\t\t\tList<Object> values = generationValueGetter.getValues(ICppAssociationsDefinitionsConstants.GETTER_IMPLEMENTATION, key, typeObject, \r\n\t\t\t\t\t\tVisibilityConstants.PUBLIC);\r\n\t\t\t\tif(!values.isEmpty()){\r\n\t\t\t\t\tString typeObjectName= generationValueGetter.getString(typeObject, IModelingElementDefinitions.NAME);\r\n\t\t\t\t\tString defaultName = generationValueGetter.use(ICppDefinitions.BASE_COMPARATOR_DEFAULT_NAME, typeObjectName, key);\r\n\t\t\t\t\t\r\n\t\t\t\t\tObject object = values.get(0);\r\n\t\t\t\t\tString fieldGetter= null;\r\n\t\t\t\t\tfieldGetter: {\r\n\t\t\t\t\t\tif(object instanceof HashMap){\r\n\t\t\t\t\t\t\tHashMap<?, ?> map= (HashMap<?, ?>) object;\r\n\t\t\t\t\t\t\tObject methodName = map.get(IModelingConstants.METHOD_NAME);\r\n\t\t\t\t\t\t\tif(methodName instanceof String){\r\n\t\t\t\t\t\t\t\tfieldGetter= (String) methodName;\r\n\t\t\t\t\t\t\t\tfieldGetter= generationValueGetter.use(ICppDefinitions.METHOD_INVOCATION, fieldGetter);\r\n\t\t\t\t\t\t\t\tbreak fieldGetter;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\tString baseComparator = generationValueGetter.generate(ICppDefinitions.BASE_COMPARATOR, element, defaultName, typeName, fieldGetter);\r\n\t\t\t\t\tgenerationValueGetter.addUniqueValue(ICppDefinitions.BASE_COMPARATOR, baseComparator, typeObject);\r\n\t\t\t\t}\r\n\t\t\t\treturn generationValueGetter.generate(ISTLConstants.GET_SET_ELEMENT, element, arguments);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "5947d61636fde0e0a25e4fc77c8bfeaa", "score": "0.6166932", "text": "T getValor() {\r\n return this.valor;\r\n }", "title": "" }, { "docid": "2f8e1370f1920dae6484b40064e298ba", "score": "0.61593235", "text": "public int getId(){...}", "title": "" }, { "docid": "cb2b0a02c1dfb1da6812c0270b1f3a93", "score": "0.6157818", "text": "public long getA() {\r\n\treturn a;\r\n}", "title": "" }, { "docid": "ef1f2423e4fe8787dca428ba320eaaa4", "score": "0.6147253", "text": "public Vehicle getVehicle();", "title": "" }, { "docid": "6af39b08eaf00001d49f29eef89badc4", "score": "0.6140665", "text": "public int getAge(){\n return age; \n }", "title": "" }, { "docid": "5fcded61677ed98d1975d7f0734b5924", "score": "0.6138583", "text": "public class_913 method_1588() {\r\n return this.field_1466;\r\n }", "title": "" }, { "docid": "8edb301a8e38c4a2aeb5dba06971e106", "score": "0.6138537", "text": "public Module method_1424() {\n return this.field_977;\n }", "title": "" }, { "docid": "2afb07a905e4b7bdce3a191ff3402b07", "score": "0.6134571", "text": "public String getRegiaoVE()\n/* 31: */ {\n/* 32:34 */ return this.RegiaoVE;\n/* 33: */ }", "title": "" }, { "docid": "59130c350fe9a886687ebca130abc03b", "score": "0.6133954", "text": "@Override\n public List<FieldValueGetter> generateGetters(Class pojoClass) {\n ImmutableList.Builder<FieldValueGetter> getters = ImmutableList.builder();\n\n List<Method> getterMethods = getPublicGetters(pojoClass);\n\n for (Method getterMethod : getterMethods) {\n getters.add(createFieldGetterInstance(pojoClass, getterMethod));\n }\n\n return getters.build();\n }", "title": "" }, { "docid": "ffa695144a8da26480db5ada8ff5e40e", "score": "0.6126418", "text": "public T getValue()\n {\n return _value;\n }", "title": "" }, { "docid": "fdf6025be6eb5e7f143c2e30a4d09bf7", "score": "0.61249024", "text": "private void retrieve() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "a91870f8a3630962190994f34a21d84d", "score": "0.612268", "text": "public R get() {\n\t\treturn this.object;\n\t}", "title": "" }, { "docid": "85b1d4855bb1f48cc9c15c777c42a6ac", "score": "0.6116002", "text": "public int getJoueurGagnant(){return joueurGagnant;}", "title": "" }, { "docid": "d475bb13b85a8db3850fdef614b81506", "score": "0.61158705", "text": "public Price getPrice();", "title": "" }, { "docid": "bacc2bd137c115362bab6728b8c721fc", "score": "0.61090195", "text": "public int getAge()\r\n {\r\n return myAge;\r\n }", "title": "" }, { "docid": "b5acd8fe510214a3f865e4ec6b46b323", "score": "0.6103942", "text": "public T getValue() {\n return getFieldValue();\n }", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" }, { "docid": "1ab1288c7ef7e817ff2cf7e6989720e1", "score": "0.60921437", "text": "public String getName() \n{\nreturn (String)get_Value(\"Name\");\n}", "title": "" } ]
0693e1c1908f9a4fa8161fc348dd6f40
Don't change the code below
[ { "docid": "bb9887f11d0d13e45a2b5d11fd19d00f", "score": "0.0", "text": "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n\n String[] strings = scanner.nextLine().split(\" \");\n\n List<Boolean> values = Arrays.stream(strings)\n .map(Boolean::parseBoolean)\n .collect(Collectors.toList());\n\n List<IntPredicate> predicates = new ArrayList<>();\n values.forEach(v -> predicates.add(x -> v));\n\n System.out.println(disjunctAll(predicates).test(0));\n }", "title": "" } ]
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.72935885", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.7208091", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.6791682", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.6791682", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6701514", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.66546625", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.66526216", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "0b06f1c2066a7ed1df417a1383204e17", "score": "0.6640442", "text": "Internal internal();", "title": "" }, { "docid": "432a53d7cc7bff50c3cce7662418fe22", "score": "0.65480626", "text": "private static void daelijeom() {\n\t\t\n\t}", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.64930433", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.64177847", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6389638", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.6304057", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.6275771", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.6274945", "text": "public void mo3639d() {\n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.6269648", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.62592214", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.6241499", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.62237614", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.62023455", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.61803997", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.61803997", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "d885268f3758445bfb42a96de5584d1c", "score": "0.61736655", "text": "public void superPerotti() {\n\t}", "title": "" }, { "docid": "117880abb5124676c2fe5925b9c9291e", "score": "0.61468506", "text": "private void partenza() {\n }", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.6144449", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.61101544", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "a7cff18dc205a0d79dbe54bb988e6894", "score": "0.6095773", "text": "public void emettreSon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.6092298", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.6092298", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "e17baf80705f2d0422e955d3fc4fec50", "score": "0.60897917", "text": "public void chasser() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9c0be8b41abbc5a688c29d02287c4158", "score": "0.6085925", "text": "public void wyjscie(){}", "title": "" }, { "docid": "a733459ca30710540ddc8cde58823a56", "score": "0.6070391", "text": "private LoopData() {\n\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.6068989", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "2d09c2667d02737311a032c800665cb0", "score": "0.604189", "text": "void mo21758Dp();", "title": "" }, { "docid": "10e00e5505d97435b723aeadb7afb929", "score": "0.60413986", "text": "@Override\n\tpublic void pintar2() {\n\t\t\n\t}", "title": "" }, { "docid": "4bcc8fa2b3c6534d7305a87ee6c35447", "score": "0.60379905", "text": "private void func() {\n \n }", "title": "" }, { "docid": "4f0fa07bd329e0ae9c84a0871a8ccbe1", "score": "0.6022879", "text": "public static void Sulfates(){\n \n \n \n }", "title": "" }, { "docid": "de8c2aa495b8cdade7e8895e58745ea2", "score": "0.6009545", "text": "public void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "3e6e2e657db69bfc88c40c8467801266", "score": "0.60083425", "text": "@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}", "title": "" }, { "docid": "18619fb436efbffc5fe3d164db596301", "score": "0.60019183", "text": "private void method_3485() {\r\n super();\r\n }", "title": "" }, { "docid": "216da885329e8d80cdc3490fda895c11", "score": "0.5998536", "text": "@Override\n\tpublic void yaz1() {\n\t\t\n\t}", "title": "" }, { "docid": "06c407b3cacc3e964dfd7296780a7d20", "score": "0.59943354", "text": "public abstract void mo79858d();", "title": "" }, { "docid": "1ca3cf676648e386cfe9fc75e50e6f67", "score": "0.5985757", "text": "private void Stage3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cf1fe3fbd7326948a60560edefd4f5ec", "score": "0.59461206", "text": "private void m18303b() {\n }", "title": "" }, { "docid": "dd7a00150b5c2e71163d8c684316f9ed", "score": "0.59414625", "text": "public void mo3638c() {\n }", "title": "" }, { "docid": "16207965afbc1737287ba36ed40721fe", "score": "0.5941217", "text": "@Override\n\tprotected void input() {\n\n\t}", "title": "" }, { "docid": "6cf22fdfffee744c6dce1a099a0bdd2a", "score": "0.5940333", "text": "private void d() {\n\t\t\r\n\t}", "title": "" }, { "docid": "759317bfc152c5bd6f4202d6fb20267c", "score": "0.5940092", "text": "public void leggi(){\n \n }", "title": "" }, { "docid": "8f8a1c1dfa100614be8cac1247e068d5", "score": "0.5939901", "text": "@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "7721677c9c247497df61f02707d2c6d5", "score": "0.59356165", "text": "void mo15172af();", "title": "" }, { "docid": "b6991105a4e7cbd1e588ff8cdb14842f", "score": "0.5923312", "text": "public final void mo42476a() {\n }", "title": "" }, { "docid": "e634836bc1d61a011e04bfb67a971792", "score": "0.59229916", "text": "@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b08f4638320db7d0a618ea28376deec3", "score": "0.59206516", "text": "private static void atrim() {\n }", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.5910477", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.5910477", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "8565c40e7fd64f317574f9a4b0750e9b", "score": "0.5910028", "text": "public void obirisLekciju(){\n\t}", "title": "" }, { "docid": "483ae2cb94563f8e11864a532e44b464", "score": "0.5904411", "text": "@Override\r\n public void perturb() {\n \r\n }", "title": "" }, { "docid": "2ad52390d92954e1d6f2925b4b14bfd4", "score": "0.59014904", "text": "private Helpers() {}", "title": "" }, { "docid": "62a4371af93a6c18065b8c4b4c395f7b", "score": "0.58990973", "text": "@Override\n\tprotected void stand() {\n\t\t\n\t}", "title": "" }, { "docid": "f4f48197b3fa17ad117947be0d5a5650", "score": "0.58975035", "text": "public void mo2849x() {\n }", "title": "" }, { "docid": "44a652ada64e51beaeff83cdf7e056f9", "score": "0.5897216", "text": "public void comer(){\n \n }", "title": "" }, { "docid": "1b6e09a6782d50972c182ef576e82c8d", "score": "0.589076", "text": "public void mo5729d() {\n }", "title": "" }, { "docid": "4b2ff4c83d5b85fa0a4be4e6d81c2d4f", "score": "0.58905876", "text": "@Override\n public void one()\n {\n\n }", "title": "" }, { "docid": "656716153b22493864f462d3892b023d", "score": "0.5887774", "text": "public abstract void mo79857c();", "title": "" }, { "docid": "139ea0f3d70d919cb70c2f69d570b88f", "score": "0.5882878", "text": "protected abstract void mo928a();", "title": "" }, { "docid": "faf3903d6841ede8c1a5c77b70aed058", "score": "0.5878822", "text": "public void steer() {\n\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.58786565", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5a5d05729434cd9bf29337671f0a4bc0", "score": "0.58756703", "text": "public void boleto(){\n\t}", "title": "" }, { "docid": "d216fb08c48f8c40cb78c3361f33ee4e", "score": "0.5869535", "text": "@Override\n\tpublic void yaz2() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.5868533", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.5868405", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "f6e54f539b2473888011e02a6c6fe34a", "score": "0.5867318", "text": "private void test0() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "673a49ca299f4504a7a66fb69e6c009b", "score": "0.5862535", "text": "public final void mo23803a() {\n }", "title": "" }, { "docid": "3fb636b9ce0d711892980996a1771579", "score": "0.5861472", "text": "public final void mo53187a() {\n }", "title": "" }, { "docid": "8abd71401843bdc0499ea12a3a300664", "score": "0.58601546", "text": "private void exibirInfo() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5857192", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5857192", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "f737e2251cf43d326f43b44297696e55", "score": "0.58486766", "text": "@Override\n\tpublic void patrol() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.5848617", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "cdf2a119ee69429ad4420d45c29db1b6", "score": "0.58388036", "text": "@Override\n\tpublic void netword() {\n\t\t\n\t}", "title": "" }, { "docid": "0ca780e837b01f042aaf5b412927e440", "score": "0.5836196", "text": "@Override\n public void six()\n {\n\n }", "title": "" }, { "docid": "0e6111ae009ad752a364e5e9fb168e98", "score": "0.58216095", "text": "@Override\n\tpublic void volumne() {\n\t\t\n\t}", "title": "" }, { "docid": "f7f116289482c665b1ff96f89e43ca4d", "score": "0.58149993", "text": "public abstract void mo12294d();", "title": "" }, { "docid": "55f58e65818b216751e945e1a5686229", "score": "0.5805856", "text": "public void mo2848w() {\n }", "title": "" }, { "docid": "236b4164d84148791d7537e3905c76b3", "score": "0.5804827", "text": "public final void mo80186e() {\n }", "title": "" }, { "docid": "e731a2e8b583717ab3e3e61312d517de", "score": "0.58031875", "text": "@Override\n\tpublic void m8() {\n\t\t\n\t}", "title": "" }, { "docid": "feb1a9485d06df38283881186fb528a9", "score": "0.58030576", "text": "@Override\n \tprotected void initialize() {\n \n \t}", "title": "" }, { "docid": "4a408a4da750ffd618d32500ac32ac57", "score": "0.5801239", "text": "private void think() {\n\t\t}", "title": "" }, { "docid": "5aa411e5d69c31dfee719f50e04eb982", "score": "0.5796624", "text": "public abstract void mo108297j();", "title": "" }, { "docid": "e41230eaa4480036f1db3ae4856b5e2c", "score": "0.57965016", "text": "@Override\n\tpublic void evoluer() {\n\t\t\n\t}", "title": "" }, { "docid": "2352e12b187130dd295f51f0fa4857d1", "score": "0.5792936", "text": "public void courir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8bf8511f65e0c2b04c8bd3242cfd3d0d", "score": "0.57866424", "text": "public void mo25201a() {\n }", "title": "" }, { "docid": "1bce2a310aa52b19f3be7b0aac6a1a9e", "score": "0.5782783", "text": "public abstract void mo12293c();", "title": "" }, { "docid": "3f651ef5a6fad17e313e8da4ea72b6e3", "score": "0.57747823", "text": "@Override\n\tpublic void CT() {\n\t\t\n\t}", "title": "" }, { "docid": "315e4fb7d8f599767439cdb96aa2c293", "score": "0.5774006", "text": "@Override\n\tpublic void Algoritmo() {\n\n\t}", "title": "" }, { "docid": "7ffbcc7c5a5fd2efca7e77b940aba5fd", "score": "0.5762613", "text": "public void bugWorkaround() {\n }", "title": "" }, { "docid": "5dd08a57018e8f493b45822fd1770d50", "score": "0.5762576", "text": "public final void mo59418f() {\n }", "title": "" }, { "docid": "65761b81b9e7c262ab2053f890407576", "score": "0.5760418", "text": "public final void mo8975a() {\n }", "title": "" }, { "docid": "ee34b65ca528d3c4001b7840ceae42b2", "score": "0.5756816", "text": "public void mo1957a() {\n }", "title": "" }, { "docid": "90e9be10c2c69543036119c8db74189e", "score": "0.5750516", "text": "public void mo6944a() {\n }", "title": "" }, { "docid": "bafce2e94d56e61baeadcb37047f6035", "score": "0.5746941", "text": "@Override\n\tprotected void postprocess() {\n\t}", "title": "" } ]
a972e3434fadb22d453647541cffa315
$ANTLR end "rule__Mock__ServiceAssignment_1" $ANTLR start "rule__Mock__MemberAssignment_3" InternalMappingAssistance.g:4511:1: rule__Mock__MemberAssignment_3 : ( ( RULE_ID ) ) ;
[ { "docid": "95c94c870cf4a286376feb67315d0131", "score": "0.7929481", "text": "public final void rule__Mock__MemberAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4515:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4516:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4516:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4517:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getMemberOperationCrossReference_3_0()); \n }\n // InternalMappingAssistance.g:4518:3: ( RULE_ID )\n // InternalMappingAssistance.g:4519:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getMemberOperationIDTerminalRuleCall_3_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getMemberOperationIDTerminalRuleCall_3_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getMemberOperationCrossReference_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "66f985654bca638e4b57e3a451fd28f2", "score": "0.68976593", "text": "public final void rule__Mock__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:1831:1: ( ( ( rule__Mock__MemberAssignment_3 ) ) )\n // InternalMappingAssistance.g:1832:1: ( ( rule__Mock__MemberAssignment_3 ) )\n {\n // InternalMappingAssistance.g:1832:1: ( ( rule__Mock__MemberAssignment_3 ) )\n // InternalMappingAssistance.g:1833:2: ( rule__Mock__MemberAssignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getMemberAssignment_3()); \n }\n // InternalMappingAssistance.g:1834:2: ( rule__Mock__MemberAssignment_3 )\n // InternalMappingAssistance.g:1834:3: rule__Mock__MemberAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Mock__MemberAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getMemberAssignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "88160fa9af749db2f79600c81875c2a0", "score": "0.67636573", "text": "public final void rule__Observer__Member1Assignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4363:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4364:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4364:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4365:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getMember1OperationCrossReference_3_0()); \n }\n // InternalMappingAssistance.g:4366:3: ( RULE_ID )\n // InternalMappingAssistance.g:4367:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getMember1OperationIDTerminalRuleCall_3_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getMember1OperationIDTerminalRuleCall_3_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getMember1OperationCrossReference_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e04e4034621eb16a946bd5a46b7e71e3", "score": "0.64942706", "text": "public final void rule__ReplaceConf__MemberAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4572:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4573:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4573:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4574:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getReplaceConfAccess().getMemberOperationCrossReference_3_0()); \n }\n // InternalMappingAssistance.g:4575:3: ( RULE_ID )\n // InternalMappingAssistance.g:4576:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getReplaceConfAccess().getMemberOperationIDTerminalRuleCall_3_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getReplaceConfAccess().getMemberOperationIDTerminalRuleCall_3_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getReplaceConfAccess().getMemberOperationCrossReference_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "eb2db01732c107eeeae0a1eda636a6ff", "score": "0.6180935", "text": "public final void rule__Mock__ServiceAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4496:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4497:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4497:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4498:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getServiceVariableCrossReference_1_0()); \n }\n // InternalMappingAssistance.g:4499:3: ( RULE_ID )\n // InternalMappingAssistance.g:4500:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getServiceVariableIDTerminalRuleCall_1_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getServiceVariableIDTerminalRuleCall_1_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getServiceVariableCrossReference_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dcd6860f55dd5c691ff987ae3763f80a", "score": "0.60739046", "text": "public final void rule__Unit__NameAssignment_3() throws RecognitionException {\n int rule__Unit__NameAssignment_3_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 872) ) { return ; }\n // InternalExBeeLangTestLanguageParser.g:12496:1: ( ( RULE_ID ) )\n // InternalExBeeLangTestLanguageParser.g:12497:2: ( RULE_ID )\n {\n // InternalExBeeLangTestLanguageParser.g:12497:2: ( RULE_ID )\n // InternalExBeeLangTestLanguageParser.g:12498:3: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnitAccess().getNameIDTerminalRuleCall_3_0()); \n }\n match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnitAccess().getNameIDTerminalRuleCall_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 872, rule__Unit__NameAssignment_3_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "81088e55768574eff22ab10a6dc24016", "score": "0.5884063", "text": "public final void rule__Observer__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:1291:1: ( ( ( rule__Observer__Member1Assignment_3 ) ) )\n // InternalMappingAssistance.g:1292:1: ( ( rule__Observer__Member1Assignment_3 ) )\n {\n // InternalMappingAssistance.g:1292:1: ( ( rule__Observer__Member1Assignment_3 ) )\n // InternalMappingAssistance.g:1293:2: ( rule__Observer__Member1Assignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getMember1Assignment_3()); \n }\n // InternalMappingAssistance.g:1294:2: ( rule__Observer__Member1Assignment_3 )\n // InternalMappingAssistance.g:1294:3: rule__Observer__Member1Assignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Observer__Member1Assignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getMember1Assignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "88ba791c5fb7b85f64a93bcab488837b", "score": "0.58044714", "text": "public final void rule__Rule__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3307:1: ( ( ( rule__Rule__ToAssignment_3 ) ) )\n // InternalMyDsl.g:3308:1: ( ( rule__Rule__ToAssignment_3 ) )\n {\n // InternalMyDsl.g:3308:1: ( ( rule__Rule__ToAssignment_3 ) )\n // InternalMyDsl.g:3309:2: ( rule__Rule__ToAssignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRuleAccess().getToAssignment_3()); \n }\n // InternalMyDsl.g:3310:2: ( rule__Rule__ToAssignment_3 )\n // InternalMyDsl.g:3310:3: rule__Rule__ToAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Rule__ToAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRuleAccess().getToAssignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "27b520f5d36dc86c63e09e108c1a6cf0", "score": "0.57514894", "text": "public final void rule__Mock__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:1777:1: ( ( ( rule__Mock__ServiceAssignment_1 ) ) )\n // InternalMappingAssistance.g:1778:1: ( ( rule__Mock__ServiceAssignment_1 ) )\n {\n // InternalMappingAssistance.g:1778:1: ( ( rule__Mock__ServiceAssignment_1 ) )\n // InternalMappingAssistance.g:1779:2: ( rule__Mock__ServiceAssignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getServiceAssignment_1()); \n }\n // InternalMappingAssistance.g:1780:2: ( rule__Mock__ServiceAssignment_1 )\n // InternalMappingAssistance.g:1780:3: rule__Mock__ServiceAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__Mock__ServiceAssignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getServiceAssignment_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "27cc5ea0d31b2b7bd21b51aefa6a17f0", "score": "0.5590171", "text": "public final void rule__Observer__Member2Assignment_10() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4477:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4478:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4478:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4479:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getMember2OperationCrossReference_10_0()); \n }\n // InternalMappingAssistance.g:4480:3: ( RULE_ID )\n // InternalMappingAssistance.g:4481:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getMember2OperationIDTerminalRuleCall_10_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getMember2OperationIDTerminalRuleCall_10_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getMember2OperationCrossReference_10_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0f5ed47a23b0106f3cddbfea81d5c883", "score": "0.55617976", "text": "public final void rule__EnumMember__NameAssignment_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:8749:1: ( ( RULE_ID ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:8750:1: ( RULE_ID )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:8750:1: ( RULE_ID )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:8751:1: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getEnumMemberAccess().getNameIDTerminalRuleCall_0_0()); \r\n }\r\n match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__EnumMember__NameAssignment_017853); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getEnumMemberAccess().getNameIDTerminalRuleCall_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "75868708ad68271410ed3a3161c5f5b4", "score": "0.54632884", "text": "public final void rule__Bindings__NameServ1Assignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4996:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4997:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4997:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4998:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getBindingsAccess().getNameServ1OperationCrossReference_3_0()); \n }\n // InternalMappingAssistance.g:4999:3: ( RULE_ID )\n // InternalMappingAssistance.g:5000:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getBindingsAccess().getNameServ1OperationIDTerminalRuleCall_3_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getBindingsAccess().getNameServ1OperationIDTerminalRuleCall_3_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getBindingsAccess().getNameServ1OperationCrossReference_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b8f0d03163190ddb4bfc63fc8c832fde", "score": "0.54467916", "text": "public final void rule__MethodDefinition__NameAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9102:1: ( ( RULE_ID ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9103:1: ( RULE_ID )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9103:1: ( RULE_ID )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9104:1: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMethodDefinitionAccess().getNameIDTerminalRuleCall_3_0()); \r\n }\r\n match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__MethodDefinition__NameAssignment_318579); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getMethodDefinitionAccess().getNameIDTerminalRuleCall_3_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4bd985bfa4c9d2a7e876cc471556d614", "score": "0.5442711", "text": "public final void rule__Group__RolesAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRules.g:2477:1: ( ( ( RULE_ID ) ) )\n // InternalRules.g:2478:2: ( ( RULE_ID ) )\n {\n // InternalRules.g:2478:2: ( ( RULE_ID ) )\n // InternalRules.g:2479:3: ( RULE_ID )\n {\n before(grammarAccess.getGroupAccess().getRolesRoleCrossReference_3_0()); \n // InternalRules.g:2480:3: ( RULE_ID )\n // InternalRules.g:2481:4: RULE_ID\n {\n before(grammarAccess.getGroupAccess().getRolesRoleIDTerminalRuleCall_3_0_1()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getGroupAccess().getRolesRoleIDTerminalRuleCall_3_0_1()); \n\n }\n\n after(grammarAccess.getGroupAccess().getRolesRoleCrossReference_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5ec21317b4dcd564af75db009528ab06", "score": "0.5421891", "text": "public final void rule__Interface__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:13023:1: ( ( ( rule__Interface__AspectsAssignment_3 )* ) )\n // InternalMappingDsl.g:13024:1: ( ( rule__Interface__AspectsAssignment_3 )* )\n {\n // InternalMappingDsl.g:13024:1: ( ( rule__Interface__AspectsAssignment_3 )* )\n // InternalMappingDsl.g:13025:2: ( rule__Interface__AspectsAssignment_3 )*\n {\n before(grammarAccess.getInterfaceAccess().getAspectsAssignment_3()); \n // InternalMappingDsl.g:13026:2: ( rule__Interface__AspectsAssignment_3 )*\n loop134:\n do {\n int alt134=2;\n int LA134_0 = input.LA(1);\n\n if ( (LA134_0==31) ) {\n alt134=1;\n }\n\n\n switch (alt134) {\n \tcase 1 :\n \t // InternalMappingDsl.g:13026:3: rule__Interface__AspectsAssignment_3\n \t {\n \t pushFollow(FOLLOW_11);\n \t rule__Interface__AspectsAssignment_3();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop134;\n }\n } while (true);\n\n after(grammarAccess.getInterfaceAccess().getAspectsAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cd241125462aa5fa15c76602823ef8d9", "score": "0.5405272", "text": "public final void rule__Observer__Service1Assignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4344:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4345:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4345:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4346:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getService1VariableCrossReference_1_0()); \n }\n // InternalMappingAssistance.g:4347:3: ( RULE_ID )\n // InternalMappingAssistance.g:4348:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getService1VariableIDTerminalRuleCall_1_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getService1VariableIDTerminalRuleCall_1_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getService1VariableCrossReference_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bd87f214ebb96620599dc20c800c9675", "score": "0.5372726", "text": "public final void ruleAssignment() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2371:2: ( ( ( rule__Assignment__Group__0 ) ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2372:1: ( ( rule__Assignment__Group__0 ) )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2372:1: ( ( rule__Assignment__Group__0 ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2373:1: ( rule__Assignment__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAssignmentAccess().getGroup()); \n }\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2374:1: ( rule__Assignment__Group__0 )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2374:2: rule__Assignment__Group__0\n {\n pushFollow(FOLLOW_rule__Assignment__Group__0_in_ruleAssignment5020);\n rule__Assignment__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAssignmentAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2caae39df1c4bdb077efa31932188e59", "score": "0.5358203", "text": "public final void rule__Rule__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRules.g:1295:1: ( ( ( rule__Rule__OperationAssignment_3 )? ) )\n // InternalRules.g:1296:1: ( ( rule__Rule__OperationAssignment_3 )? )\n {\n // InternalRules.g:1296:1: ( ( rule__Rule__OperationAssignment_3 )? )\n // InternalRules.g:1297:2: ( rule__Rule__OperationAssignment_3 )?\n {\n before(grammarAccess.getRuleAccess().getOperationAssignment_3()); \n // InternalRules.g:1298:2: ( rule__Rule__OperationAssignment_3 )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>=14 && LA10_0<=17)) ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalRules.g:1298:3: rule__Rule__OperationAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Rule__OperationAssignment_3();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getRuleAccess().getOperationAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "24597279506f61e9d6b89b84f5f5d069", "score": "0.53372633", "text": "public final void rule__MethodDefinition__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4898:1: ( ( ( rule__MethodDefinition__NameAssignment_3 ) ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4899:1: ( ( rule__MethodDefinition__NameAssignment_3 ) )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4899:1: ( ( rule__MethodDefinition__NameAssignment_3 ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4900:1: ( rule__MethodDefinition__NameAssignment_3 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMethodDefinitionAccess().getNameAssignment_3()); \r\n }\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4901:1: ( rule__MethodDefinition__NameAssignment_3 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4901:2: rule__MethodDefinition__NameAssignment_3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__MethodDefinition__NameAssignment_3_in_rule__MethodDefinition__Group__3__Impl10181);\r\n rule__MethodDefinition__NameAssignment_3();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getMethodDefinitionAccess().getNameAssignment_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9b573501d20f6cf15517e3660e2d246b", "score": "0.5306229", "text": "public final void rule__Unit__Group__3__Impl() throws RecognitionException {\n int rule__Unit__Group__3__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 153) ) { return ; }\n // InternalExBeeLangTestLanguageParser.g:2484:1: ( ( ( rule__Unit__NameAssignment_3 )? ) )\n // InternalExBeeLangTestLanguageParser.g:2485:1: ( ( rule__Unit__NameAssignment_3 )? )\n {\n // InternalExBeeLangTestLanguageParser.g:2485:1: ( ( rule__Unit__NameAssignment_3 )? )\n // InternalExBeeLangTestLanguageParser.g:2486:2: ( rule__Unit__NameAssignment_3 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnitAccess().getNameAssignment_3()); \n }\n // InternalExBeeLangTestLanguageParser.g:2487:2: ( rule__Unit__NameAssignment_3 )?\n int alt35=2;\n int LA35_0 = input.LA(1);\n\n if ( (LA35_0==RULE_ID) ) {\n alt35=1;\n }\n switch (alt35) {\n case 1 :\n // InternalExBeeLangTestLanguageParser.g:2487:3: rule__Unit__NameAssignment_3\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__Unit__NameAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnitAccess().getNameAssignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 153, rule__Unit__Group__3__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1cd7edd42c8aeca18214bb039eb120ca", "score": "0.53037786", "text": "public final void rule__ReferredOperation__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:14698:1: ( ( ( rule__ReferredOperation__AspectsAssignment_3 )* ) )\n // InternalMappingDsl.g:14699:1: ( ( rule__ReferredOperation__AspectsAssignment_3 )* )\n {\n // InternalMappingDsl.g:14699:1: ( ( rule__ReferredOperation__AspectsAssignment_3 )* )\n // InternalMappingDsl.g:14700:2: ( rule__ReferredOperation__AspectsAssignment_3 )*\n {\n before(grammarAccess.getReferredOperationAccess().getAspectsAssignment_3()); \n // InternalMappingDsl.g:14701:2: ( rule__ReferredOperation__AspectsAssignment_3 )*\n loop159:\n do {\n int alt159=2;\n int LA159_0 = input.LA(1);\n\n if ( (LA159_0==31) ) {\n alt159=1;\n }\n\n\n switch (alt159) {\n \tcase 1 :\n \t // InternalMappingDsl.g:14701:3: rule__ReferredOperation__AspectsAssignment_3\n \t {\n \t pushFollow(FOLLOW_11);\n \t rule__ReferredOperation__AspectsAssignment_3();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop159;\n }\n } while (true);\n\n after(grammarAccess.getReferredOperationAccess().getAspectsAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d546b6fd32b08bc42e3796d28e2a481a", "score": "0.530019", "text": "public final void rule__Method__ParametersAssignment_3_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:3760:1: ( ( RULE_ID ) )\r\n // InternalIoT.g:3761:2: ( RULE_ID )\r\n {\r\n // InternalIoT.g:3761:2: ( RULE_ID )\r\n // InternalIoT.g:3762:3: RULE_ID\r\n {\r\n before(grammarAccess.getMethodAccess().getParametersIDTerminalRuleCall_3_1_0()); \r\n match(input,RULE_ID,FOLLOW_2); \r\n after(grammarAccess.getMethodAccess().getParametersIDTerminalRuleCall_3_1_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ecf32c7f98bff5849bd73499341a22b5", "score": "0.52896446", "text": "public final void rule__TestOP__ServiceAssignment_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4773:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4774:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4774:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4775:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTestOPAccess().getServiceVariableCrossReference_0_0()); \n }\n // InternalMappingAssistance.g:4776:3: ( RULE_ID )\n // InternalMappingAssistance.g:4777:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTestOPAccess().getServiceVariableIDTerminalRuleCall_0_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTestOPAccess().getServiceVariableIDTerminalRuleCall_0_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTestOPAccess().getServiceVariableCrossReference_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "32ef53131211dedd0e28bd611b84c849", "score": "0.5252124", "text": "public void setRule(String rule)\n/* */ {\n/* 310 */ this.rule = rule;\n/* */ }", "title": "" }, { "docid": "e0e7d9bcd117f0b75d4193f1eca9254b", "score": "0.52504236", "text": "public final void rule__TestOP__NameAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4792:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4793:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4793:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4794:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTestOPAccess().getNameOperationCrossReference_2_0()); \n }\n // InternalMappingAssistance.g:4795:3: ( RULE_ID )\n // InternalMappingAssistance.g:4796:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTestOPAccess().getNameOperationIDTerminalRuleCall_2_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTestOPAccess().getNameOperationIDTerminalRuleCall_2_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTestOPAccess().getNameOperationCrossReference_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c35fc850e400e87a676448e5bd4a9ade", "score": "0.5250198", "text": "public final void rule__Assignment__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15446:1: ( ( ';' ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15447:1: ( ';' )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15447:1: ( ';' )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15448:1: ';'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAssignmentAccess().getSemicolonKeyword_3()); \n }\n match(input,43,FOLLOW_43_in_rule__Assignment__Group__3__Impl31259); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAssignmentAccess().getSemicolonKeyword_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ae762e1f03ee2cd70dbafa863e34894c", "score": "0.5249318", "text": "public final void rule__Destination__TypeAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:4061:1: ( ( ( RULE_ID ) ) )\r\n // InternalIoT.g:4062:2: ( ( RULE_ID ) )\r\n {\r\n // InternalIoT.g:4062:2: ( ( RULE_ID ) )\r\n // InternalIoT.g:4063:3: ( RULE_ID )\r\n {\r\n before(grammarAccess.getDestinationAccess().getTypeDestinationTypeCrossReference_3_0()); \r\n // InternalIoT.g:4064:3: ( RULE_ID )\r\n // InternalIoT.g:4065:4: RULE_ID\r\n {\r\n before(grammarAccess.getDestinationAccess().getTypeDestinationTypeIDTerminalRuleCall_3_0_1()); \r\n match(input,RULE_ID,FOLLOW_2); \r\n after(grammarAccess.getDestinationAccess().getTypeDestinationTypeIDTerminalRuleCall_3_0_1()); \r\n\r\n }\r\n\r\n after(grammarAccess.getDestinationAccess().getTypeDestinationTypeCrossReference_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "f8b889f7c9271f8e5609ced33966b277", "score": "0.52367216", "text": "public final void rule__DataField__NameAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:28990:1: ( ( RULE_ID ) )\n // InternalMappingDsl.g:28991:2: ( RULE_ID )\n {\n // InternalMappingDsl.g:28991:2: ( RULE_ID )\n // InternalMappingDsl.g:28992:3: RULE_ID\n {\n before(grammarAccess.getDataFieldAccess().getNameIDTerminalRuleCall_3_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getDataFieldAccess().getNameIDTerminalRuleCall_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "09df9ac33652926bc1a121e7cbf7b0f9", "score": "0.5204827", "text": "public final void rule__RecordDefinition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4775:1: ( ( ( rule__RecordDefinition__FieldDeclarationsAssignment_3 )* ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4776:1: ( ( rule__RecordDefinition__FieldDeclarationsAssignment_3 )* )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4776:1: ( ( rule__RecordDefinition__FieldDeclarationsAssignment_3 )* )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4777:1: ( rule__RecordDefinition__FieldDeclarationsAssignment_3 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRecordDefinitionAccess().getFieldDeclarationsAssignment_3()); \n }\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4778:1: ( rule__RecordDefinition__FieldDeclarationsAssignment_3 )*\n loop45:\n do {\n int alt45=2;\n int LA45_0 = input.LA(1);\n\n if ( ((LA45_0>=RULE_N && LA45_0<=RULE_ID)) ) {\n alt45=1;\n }\n\n\n switch (alt45) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4778:2: rule__RecordDefinition__FieldDeclarationsAssignment_3\n \t {\n \t pushFollow(FOLLOW_rule__RecordDefinition__FieldDeclarationsAssignment_3_in_rule__RecordDefinition__Group__3__Impl10313);\n \t rule__RecordDefinition__FieldDeclarationsAssignment_3();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop45;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRecordDefinitionAccess().getFieldDeclarationsAssignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dd4faedd3300547f79c0ca81a7e0d09a", "score": "0.51994395", "text": "public final void rule__Rule__ToAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:15135:1: ( ( ruleTo ) )\n // InternalMyDsl.g:15136:2: ( ruleTo )\n {\n // InternalMyDsl.g:15136:2: ( ruleTo )\n // InternalMyDsl.g:15137:3: ruleTo\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRuleAccess().getToToParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleTo();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRuleAccess().getToToParserRuleCall_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f8875e8860b9f8d15b16de2b66b933e2", "score": "0.51993936", "text": "public final void rule__Operation__NameAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:17929:1: ( ( ruleValidID ) )\r\n // InternalModel.g:17930:2: ( ruleValidID )\r\n {\r\n // InternalModel.g:17930:2: ( ruleValidID )\r\n // InternalModel.g:17931:3: ruleValidID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOperationAccess().getNameValidIDParserRuleCall_3_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOperationAccess().getNameValidIDParserRuleCall_3_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c7d83b9ee2de5c844fe843c89ac4a828", "score": "0.5198386", "text": "public final void rule__Clazz__NameAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalClazzDsl.g:723:1: ( ( RULE_ID ) )\n // InternalClazzDsl.g:724:2: ( RULE_ID )\n {\n // InternalClazzDsl.g:724:2: ( RULE_ID )\n // InternalClazzDsl.g:725:3: RULE_ID\n {\n before(grammarAccess.getClazzAccess().getNameIDTerminalRuleCall_2_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getClazzAccess().getNameIDTerminalRuleCall_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "be303e2ce49303d57ee983d6bab7d571", "score": "0.51916516", "text": "public final void rule__Assignment__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15358:1: ( ( ( rule__Assignment__TargetAssignment_0 ) ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15359:1: ( ( rule__Assignment__TargetAssignment_0 ) )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15359:1: ( ( rule__Assignment__TargetAssignment_0 ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15360:1: ( rule__Assignment__TargetAssignment_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAssignmentAccess().getTargetAssignment_0()); \n }\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15361:1: ( rule__Assignment__TargetAssignment_0 )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15361:2: rule__Assignment__TargetAssignment_0\n {\n pushFollow(FOLLOW_rule__Assignment__TargetAssignment_0_in_rule__Assignment__Group__0__Impl31079);\n rule__Assignment__TargetAssignment_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAssignmentAccess().getTargetAssignment_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f916a7ebc2c8799e255c1b66c2481a66", "score": "0.5188351", "text": "public final void rule__Assignment__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15435:1: ( rule__Assignment__Group__3__Impl )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15436:2: rule__Assignment__Group__3__Impl\n {\n pushFollow(FOLLOW_rule__Assignment__Group__3__Impl_in_rule__Assignment__Group__331231);\n rule__Assignment__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d0fa39bdd1171b91dc4e205fd1164826", "score": "0.51780456", "text": "public final void rule__ReplaceConf__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:1993:1: ( ( ( rule__ReplaceConf__MemberAssignment_3 ) ) )\n // InternalMappingAssistance.g:1994:1: ( ( rule__ReplaceConf__MemberAssignment_3 ) )\n {\n // InternalMappingAssistance.g:1994:1: ( ( rule__ReplaceConf__MemberAssignment_3 ) )\n // InternalMappingAssistance.g:1995:2: ( rule__ReplaceConf__MemberAssignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getReplaceConfAccess().getMemberAssignment_3()); \n }\n // InternalMappingAssistance.g:1996:2: ( rule__ReplaceConf__MemberAssignment_3 )\n // InternalMappingAssistance.g:1996:3: rule__ReplaceConf__MemberAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__ReplaceConf__MemberAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getReplaceConfAccess().getMemberAssignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "90f4dee880796df61c68ca5bd54e1e26", "score": "0.51514953", "text": "public final void rule__DatagramAction__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.x.xocl.ui/src-gen/com/x/xocl/ui/contentassist/antlr/internal/InternalXOCL.g:8227:1: ( ( ( rule__DatagramAction__RequiresAssignment_3 )? ) )\n // ../com.x.xocl.ui/src-gen/com/x/xocl/ui/contentassist/antlr/internal/InternalXOCL.g:8228:1: ( ( rule__DatagramAction__RequiresAssignment_3 )? )\n {\n // ../com.x.xocl.ui/src-gen/com/x/xocl/ui/contentassist/antlr/internal/InternalXOCL.g:8228:1: ( ( rule__DatagramAction__RequiresAssignment_3 )? )\n // ../com.x.xocl.ui/src-gen/com/x/xocl/ui/contentassist/antlr/internal/InternalXOCL.g:8229:1: ( rule__DatagramAction__RequiresAssignment_3 )?\n {\n before(grammarAccess.getDatagramActionAccess().getRequiresAssignment_3()); \n // ../com.x.xocl.ui/src-gen/com/x/xocl/ui/contentassist/antlr/internal/InternalXOCL.g:8230:1: ( rule__DatagramAction__RequiresAssignment_3 )?\n int alt46=2;\n int LA46_0 = input.LA(1);\n\n if ( (LA46_0==50) ) {\n alt46=1;\n }\n switch (alt46) {\n case 1 :\n // ../com.x.xocl.ui/src-gen/com/x/xocl/ui/contentassist/antlr/internal/InternalXOCL.g:8230:2: rule__DatagramAction__RequiresAssignment_3\n {\n pushFollow(FOLLOW_rule__DatagramAction__RequiresAssignment_3_in_rule__DatagramAction__Group__3__Impl16615);\n rule__DatagramAction__RequiresAssignment_3();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getDatagramActionAccess().getRequiresAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7e064c9a7e3de2d2be10822cd217e5ba", "score": "0.5150412", "text": "public final void rule__Field__NameAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:17854:1: ( ( ruleValidID ) )\r\n // InternalModel.g:17855:2: ( ruleValidID )\r\n {\r\n // InternalModel.g:17855:2: ( ruleValidID )\r\n // InternalModel.g:17856:3: ruleValidID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFieldAccess().getNameValidIDParserRuleCall_3_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFieldAccess().getNameValidIDParserRuleCall_3_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c2e5439a5ffe090496d47e87e18270a7", "score": "0.5147981", "text": "public final void rule__ServiceAspect__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:28321:1: ( ( RULE_ID ) )\n // InternalMappingDsl.g:28322:2: ( RULE_ID )\n {\n // InternalMappingDsl.g:28322:2: ( RULE_ID )\n // InternalMappingDsl.g:28323:3: RULE_ID\n {\n before(grammarAccess.getServiceAspectAccess().getNameIDTerminalRuleCall_1_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getServiceAspectAccess().getNameIDTerminalRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "73eb41842a9488838964fc8a16a4f73b", "score": "0.5141357", "text": "public final void rule__Reference__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4160:1: ( ( ( rule__Reference__NameAssignment_3 ) ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4161:1: ( ( rule__Reference__NameAssignment_3 ) )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4161:1: ( ( rule__Reference__NameAssignment_3 ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4162:1: ( rule__Reference__NameAssignment_3 )\n {\n before(grammarAccess.getReferenceAccess().getNameAssignment_3()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4163:1: ( rule__Reference__NameAssignment_3 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4163:2: rule__Reference__NameAssignment_3\n {\n pushFollow(FollowSets000.FOLLOW_rule__Reference__NameAssignment_3_in_rule__Reference__Group__3__Impl8760);\n rule__Reference__NameAssignment_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getReferenceAccess().getNameAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bb4beec6097e150630524f011efe8dc9", "score": "0.5137141", "text": "public final void rule__PropertyValueAssignment__Group_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:16590:1: ( rule__PropertyValueAssignment__Group_1__3__Impl )\n // InternalMappingDsl.g:16591:2: rule__PropertyValueAssignment__Group_1__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__PropertyValueAssignment__Group_1__3__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fb7eebc1b48b5bd177c4bb2aba06c2e6", "score": "0.51276463", "text": "public final void rule__InterfaceDefinition__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4584:1: ( ( ( rule__InterfaceDefinition__NameAssignment_3 ) ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4585:1: ( ( rule__InterfaceDefinition__NameAssignment_3 ) )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4585:1: ( ( rule__InterfaceDefinition__NameAssignment_3 ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4586:1: ( rule__InterfaceDefinition__NameAssignment_3 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getInterfaceDefinitionAccess().getNameAssignment_3()); \r\n }\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4587:1: ( rule__InterfaceDefinition__NameAssignment_3 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:4587:2: rule__InterfaceDefinition__NameAssignment_3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__InterfaceDefinition__NameAssignment_3_in_rule__InterfaceDefinition__Group__3__Impl9557);\r\n rule__InterfaceDefinition__NameAssignment_3();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getInterfaceDefinitionAccess().getNameAssignment_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3298718d1a7083abebb378ebdb4421d0", "score": "0.51168925", "text": "public final void rule__Operation__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:3558:1: ( ( ( rule__Operation__ArgAssignment_3_1 ) ) )\n // InternalMappingAssistance.g:3559:1: ( ( rule__Operation__ArgAssignment_3_1 ) )\n {\n // InternalMappingAssistance.g:3559:1: ( ( rule__Operation__ArgAssignment_3_1 ) )\n // InternalMappingAssistance.g:3560:2: ( rule__Operation__ArgAssignment_3_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOperationAccess().getArgAssignment_3_1()); \n }\n // InternalMappingAssistance.g:3561:2: ( rule__Operation__ArgAssignment_3_1 )\n // InternalMappingAssistance.g:3561:3: rule__Operation__ArgAssignment_3_1\n {\n pushFollow(FOLLOW_2);\n rule__Operation__ArgAssignment_3_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOperationAccess().getArgAssignment_3_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a20353bb59981c25fe26831b6445c66e", "score": "0.5115454", "text": "public final void rule__ModelElementType__MembersAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:17794:1: ( ( ruleMember ) )\r\n // InternalModel.g:17795:2: ( ruleMember )\r\n {\r\n // InternalModel.g:17795:2: ( ruleMember )\r\n // InternalModel.g:17796:3: ruleMember\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getModelElementTypeAccess().getMembersMemberParserRuleCall_6_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleMember();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getModelElementTypeAccess().getMembersMemberParserRuleCall_6_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "0d315a9bdc99565e5c773dd360b71181", "score": "0.5113355", "text": "public final void rule__DataType__MembersAssignment_6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21508:1: ( ( ruleMember ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21509:1: ( ruleMember )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21509:1: ( ruleMember )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21510:1: ruleMember\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getDataTypeAccess().getMembersMemberParserRuleCall_6_0()); \n }\n pushFollow(FOLLOW_ruleMember_in_rule__DataType__MembersAssignment_643306);\n ruleMember();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getDataTypeAccess().getMembersMemberParserRuleCall_6_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "aae962ccf792bdd57542a615da74f666", "score": "0.51099944", "text": "public final void rule__Unit__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21174:1: ( ( RULE_ID ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21175:1: ( RULE_ID )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21175:1: ( RULE_ID )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21176:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUnitAccess().getNameIDTerminalRuleCall_1_0()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Unit__NameAssignment_142616); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUnitAccess().getNameIDTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6ad36f0b823192ca5472783d0591adc4", "score": "0.5089016", "text": "public final void rule__Bindings__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:3802:1: ( ( ( rule__Bindings__NameServ1Assignment_3 ) ) )\n // InternalMappingAssistance.g:3803:1: ( ( rule__Bindings__NameServ1Assignment_3 ) )\n {\n // InternalMappingAssistance.g:3803:1: ( ( rule__Bindings__NameServ1Assignment_3 ) )\n // InternalMappingAssistance.g:3804:2: ( rule__Bindings__NameServ1Assignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getBindingsAccess().getNameServ1Assignment_3()); \n }\n // InternalMappingAssistance.g:3805:2: ( rule__Bindings__NameServ1Assignment_3 )\n // InternalMappingAssistance.g:3805:3: rule__Bindings__NameServ1Assignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Bindings__NameServ1Assignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getBindingsAccess().getNameServ1Assignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a4cd4cec6f4ec7feba0bf2c94214e93e", "score": "0.5073806", "text": "public final void rule__Namespace__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalClazzDsl.g:277:1: ( ( ( rule__Namespace__ClazzAssignment_3 ) ) )\n // InternalClazzDsl.g:278:1: ( ( rule__Namespace__ClazzAssignment_3 ) )\n {\n // InternalClazzDsl.g:278:1: ( ( rule__Namespace__ClazzAssignment_3 ) )\n // InternalClazzDsl.g:279:2: ( rule__Namespace__ClazzAssignment_3 )\n {\n before(grammarAccess.getNamespaceAccess().getClazzAssignment_3()); \n // InternalClazzDsl.g:280:2: ( rule__Namespace__ClazzAssignment_3 )\n // InternalClazzDsl.g:280:3: rule__Namespace__ClazzAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Namespace__ClazzAssignment_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getNamespaceAccess().getClazzAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f2fe71bfd63003ad7ebfb65a809b3580", "score": "0.50675017", "text": "public final void rule__Rule__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRules.g:2590:1: ( ( RULE_ID ) )\n // InternalRules.g:2591:2: ( RULE_ID )\n {\n // InternalRules.g:2591:2: ( RULE_ID )\n // InternalRules.g:2592:3: RULE_ID\n {\n before(grammarAccess.getRuleAccess().getNameIDTerminalRuleCall_1_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getRuleAccess().getNameIDTerminalRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3c2effa3479a35fbf9482062c3198067", "score": "0.5050123", "text": "public final void entryRuleAssignment() throws RecognitionException {\n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2359:1: ( ruleAssignment EOF )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:2360:1: ruleAssignment EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAssignmentRule()); \n }\n pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment4987);\n ruleAssignment();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAssignmentRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment4994); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "af5f6ad2e543c7435b5e8948b2754ebd", "score": "0.5050083", "text": "public final void rule__AbstractModel__MockAssignment_2_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4216:1: ( ( ruleMock ) )\n // InternalMappingAssistance.g:4217:2: ( ruleMock )\n {\n // InternalMappingAssistance.g:4217:2: ( ruleMock )\n // InternalMappingAssistance.g:4218:3: ruleMock\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAbstractModelAccess().getMockMockParserRuleCall_2_2_0()); \n }\n pushFollow(FOLLOW_2);\n ruleMock();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAbstractModelAccess().getMockMockParserRuleCall_2_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dc08d647879b58dc59a040643b5a7f13", "score": "0.5042003", "text": "public final void rule__XImportDeclaration__MemberNameAssignment_1_0_3_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:20364:1: ( ( ruleValidID ) )\r\n // InternalModel.g:20365:2: ( ruleValidID )\r\n {\r\n // InternalModel.g:20365:2: ( ruleValidID )\r\n // InternalModel.g:20366:3: ruleValidID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleValidID();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "aa70bb5c586d4de3fbeaa0096083f8b0", "score": "0.502949", "text": "public final void rule__Destination__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:2723:1: ( ( ( rule__Destination__TypeAssignment_3 ) ) )\r\n // InternalIoT.g:2724:1: ( ( rule__Destination__TypeAssignment_3 ) )\r\n {\r\n // InternalIoT.g:2724:1: ( ( rule__Destination__TypeAssignment_3 ) )\r\n // InternalIoT.g:2725:2: ( rule__Destination__TypeAssignment_3 )\r\n {\r\n before(grammarAccess.getDestinationAccess().getTypeAssignment_3()); \r\n // InternalIoT.g:2726:2: ( rule__Destination__TypeAssignment_3 )\r\n // InternalIoT.g:2726:3: rule__Destination__TypeAssignment_3\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Destination__TypeAssignment_3();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getDestinationAccess().getTypeAssignment_3()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8dc122d9aa81044216b90d0edaa4a53f", "score": "0.50273114", "text": "public final void rule__PrimitiveParameterMapping__Group_3_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:7181:1: ( ( ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 ) ) ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )* ) ) )\n // InternalMappingDsl.g:7182:1: ( ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 ) ) ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )* ) )\n {\n // InternalMappingDsl.g:7182:1: ( ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 ) ) ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )* ) )\n // InternalMappingDsl.g:7183:2: ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 ) ) ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )* )\n {\n // InternalMappingDsl.g:7183:2: ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 ) )\n // InternalMappingDsl.g:7184:3: ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )\n {\n before(grammarAccess.getPrimitiveParameterMappingAccess().getAspectsAssignment_3_0_3()); \n // InternalMappingDsl.g:7185:3: ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )\n // InternalMappingDsl.g:7185:4: rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3\n {\n pushFollow(FOLLOW_18);\n rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPrimitiveParameterMappingAccess().getAspectsAssignment_3_0_3()); \n\n }\n\n // InternalMappingDsl.g:7188:2: ( ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )* )\n // InternalMappingDsl.g:7189:3: ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )*\n {\n before(grammarAccess.getPrimitiveParameterMappingAccess().getAspectsAssignment_3_0_3()); \n // InternalMappingDsl.g:7190:3: ( rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3 )*\n loop87:\n do {\n int alt87=2;\n int LA87_0 = input.LA(1);\n\n if ( (LA87_0==RULE_ID) ) {\n alt87=1;\n }\n\n\n switch (alt87) {\n \tcase 1 :\n \t // InternalMappingDsl.g:7190:4: rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3\n \t {\n \t pushFollow(FOLLOW_18);\n \t rule__PrimitiveParameterMapping__AspectsAssignment_3_0_3();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop87;\n }\n } while (true);\n\n after(grammarAccess.getPrimitiveParameterMappingAccess().getAspectsAssignment_3_0_3()); \n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bfdd51b415c2f2c205d413ecbaf38ad2", "score": "0.5022583", "text": "public final void rule__XImportDeclaration__MemberNameAssignment_1_0_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:17367:1: ( ( ruleValidID ) )\n // InternalMyDsl.g:17368:2: ( ruleValidID )\n {\n // InternalMyDsl.g:17368:2: ( ruleValidID )\n // InternalMyDsl.g:17369:3: ruleValidID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleValidID();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a0e1d87273e98079071dd2158b14b769", "score": "0.50186574", "text": "public final void rule__EnumMemberList__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3458:1: ( ( ( rule__EnumMemberList__EnumMemberAssignment_1_1 ) ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3459:1: ( ( rule__EnumMemberList__EnumMemberAssignment_1_1 ) )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3459:1: ( ( rule__EnumMemberList__EnumMemberAssignment_1_1 ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3460:1: ( rule__EnumMemberList__EnumMemberAssignment_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getEnumMemberListAccess().getEnumMemberAssignment_1_1()); \r\n }\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3461:1: ( rule__EnumMemberList__EnumMemberAssignment_1_1 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3461:2: rule__EnumMemberList__EnumMemberAssignment_1_1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__EnumMemberList__EnumMemberAssignment_1_1_in_rule__EnumMemberList__Group_1__1__Impl7335);\r\n rule__EnumMemberList__EnumMemberAssignment_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getEnumMemberListAccess().getEnumMemberAssignment_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ccf22164aa2e5c09f2dee7a6e7b15be8", "score": "0.5017803", "text": "public final void rule__Panorama__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:744:1: ( ( ( rule__Panorama__NameAssignment_3 ) ) )\n // InternalDsl.g:745:1: ( ( rule__Panorama__NameAssignment_3 ) )\n {\n // InternalDsl.g:745:1: ( ( rule__Panorama__NameAssignment_3 ) )\n // InternalDsl.g:746:2: ( rule__Panorama__NameAssignment_3 )\n {\n before(grammarAccess.getPanoramaAccess().getNameAssignment_3()); \n // InternalDsl.g:747:2: ( rule__Panorama__NameAssignment_3 )\n // InternalDsl.g:747:3: rule__Panorama__NameAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__Panorama__NameAssignment_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPanoramaAccess().getNameAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cd4bb25703e283875237055395a5d185", "score": "0.501546", "text": "public final void rule__Assignment__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15406:1: ( rule__Assignment__Group__2__Impl rule__Assignment__Group__3 )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:15407:2: rule__Assignment__Group__2__Impl rule__Assignment__Group__3\n {\n pushFollow(FOLLOW_rule__Assignment__Group__2__Impl_in_rule__Assignment__Group__231171);\n rule__Assignment__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__Assignment__Group__3_in_rule__Assignment__Group__231174);\n rule__Assignment__Group__3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9ab6fc2d35be231ce1187780b15d729e", "score": "0.5008757", "text": "public final void rule__PropertyDeclaration__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21538:1: ( ( RULE_ID ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21539:1: ( RULE_ID )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21539:1: ( RULE_ID )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21540:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPropertyDeclarationAccess().getNameIDTerminalRuleCall_1_0()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__PropertyDeclaration__NameAssignment_143368); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPropertyDeclarationAccess().getNameIDTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "acd7135645b323d37a23762bf6c5558d", "score": "0.5005126", "text": "public final void rule__Operation__Group_3_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:3586:1: ( ( ( rule__Operation__ArgAssignment_3_0_0 ) ) )\n // InternalMappingAssistance.g:3587:1: ( ( rule__Operation__ArgAssignment_3_0_0 ) )\n {\n // InternalMappingAssistance.g:3587:1: ( ( rule__Operation__ArgAssignment_3_0_0 ) )\n // InternalMappingAssistance.g:3588:2: ( rule__Operation__ArgAssignment_3_0_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOperationAccess().getArgAssignment_3_0_0()); \n }\n // InternalMappingAssistance.g:3589:2: ( rule__Operation__ArgAssignment_3_0_0 )\n // InternalMappingAssistance.g:3589:3: rule__Operation__ArgAssignment_3_0_0\n {\n pushFollow(FOLLOW_2);\n rule__Operation__ArgAssignment_3_0_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOperationAccess().getArgAssignment_3_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8e1ea38f99fa9f3f658765675f237b25", "score": "0.49988207", "text": "public final void rule__Rule__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:15105:1: ( ( RULE_ID ) )\n // InternalMyDsl.g:15106:2: ( RULE_ID )\n {\n // InternalMyDsl.g:15106:2: ( RULE_ID )\n // InternalMyDsl.g:15107:3: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRuleAccess().getNameIDTerminalRuleCall_1_0()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRuleAccess().getNameIDTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "935a6392de4af1c9888f6e5990f9e234", "score": "0.4996914", "text": "public final void rule__Reference__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4319:1: ( ( ( rule__Reference__AnnotationAssignment_1_1 )* ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4320:1: ( ( rule__Reference__AnnotationAssignment_1_1 )* )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4320:1: ( ( rule__Reference__AnnotationAssignment_1_1 )* )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4321:1: ( rule__Reference__AnnotationAssignment_1_1 )*\n {\n before(grammarAccess.getReferenceAccess().getAnnotationAssignment_1_1()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4322:1: ( rule__Reference__AnnotationAssignment_1_1 )*\n loop44:\n do {\n int alt44=2;\n int LA44_0 = input.LA(1);\n\n if ( (LA44_0==30) ) {\n alt44=1;\n }\n\n\n switch (alt44) {\n \tcase 1 :\n \t // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4322:2: rule__Reference__AnnotationAssignment_1_1\n \t {\n \t pushFollow(FollowSets000.FOLLOW_rule__Reference__AnnotationAssignment_1_1_in_rule__Reference__Group_1__1__Impl9071);\n \t rule__Reference__AnnotationAssignment_1_1();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop44;\n }\n } while (true);\n\n after(grammarAccess.getReferenceAccess().getAnnotationAssignment_1_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f3751843de11b7f2d2144004c584a106", "score": "0.49912205", "text": "public final void rule__Call__ArgsAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.bhdrkn.function.ui/src-gen/org/xtext/bhdrkn/function/ui/contentassist/antlr/internal/InternalFunction.g:1367:1: ( ( ( RULE_ID ) ) )\n // ../org.xtext.bhdrkn.function.ui/src-gen/org/xtext/bhdrkn/function/ui/contentassist/antlr/internal/InternalFunction.g:1368:1: ( ( RULE_ID ) )\n {\n // ../org.xtext.bhdrkn.function.ui/src-gen/org/xtext/bhdrkn/function/ui/contentassist/antlr/internal/InternalFunction.g:1368:1: ( ( RULE_ID ) )\n // ../org.xtext.bhdrkn.function.ui/src-gen/org/xtext/bhdrkn/function/ui/contentassist/antlr/internal/InternalFunction.g:1369:1: ( RULE_ID )\n {\n before(grammarAccess.getCallAccess().getArgsDefineCrossReference_3_0()); \n // ../org.xtext.bhdrkn.function.ui/src-gen/org/xtext/bhdrkn/function/ui/contentassist/antlr/internal/InternalFunction.g:1370:1: ( RULE_ID )\n // ../org.xtext.bhdrkn.function.ui/src-gen/org/xtext/bhdrkn/function/ui/contentassist/antlr/internal/InternalFunction.g:1371:1: RULE_ID\n {\n before(grammarAccess.getCallAccess().getArgsDefineIDTerminalRuleCall_3_0_1()); \n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Call__ArgsAssignment_32699); \n after(grammarAccess.getCallAccess().getArgsDefineIDTerminalRuleCall_3_0_1()); \n\n }\n\n after(grammarAccess.getCallAccess().getArgsDefineCrossReference_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "77c6235537d9edf11576d3822803b88f", "score": "0.4985557", "text": "public final void rule__OutputPort__NameAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21027:1: ( ( RULE_ID ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21028:1: ( RULE_ID )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21028:1: ( RULE_ID )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21029:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOutputPortAccess().getNameIDTerminalRuleCall_2_0()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__OutputPort__NameAssignment_242313); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOutputPortAccess().getNameIDTerminalRuleCall_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f637cb722fa8066842b9dabc824feae7", "score": "0.49832147", "text": "public final void rule__Rule__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:8292:1: ( ( ( rule__Rule__VariableAssignment_3 ) ) )\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:8293:1: ( ( rule__Rule__VariableAssignment_3 ) )\n {\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:8293:1: ( ( rule__Rule__VariableAssignment_3 ) )\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:8294:1: ( rule__Rule__VariableAssignment_3 )\n {\n before(grammarAccess.getRuleAccess().getVariableAssignment_3()); \n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:8295:1: ( rule__Rule__VariableAssignment_3 )\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:8295:2: rule__Rule__VariableAssignment_3\n {\n pushFollow(FOLLOW_rule__Rule__VariableAssignment_3_in_rule__Rule__Group__3__Impl16835);\n rule__Rule__VariableAssignment_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRuleAccess().getVariableAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a144f802d24e4c19959af9160954ba19", "score": "0.49726853", "text": "public final void rule__SimpleActionReference__Group_1_0_1_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTdlParser.g:1630:1: ( ( ( rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1 )* ) )\n // InternalTdlParser.g:1631:1: ( ( rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1 )* )\n {\n // InternalTdlParser.g:1631:1: ( ( rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1 )* )\n // InternalTdlParser.g:1632:2: ( rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1 )*\n {\n before(grammarAccess.getSimpleActionReferenceAccess().getArgumentsAssignment_1_0_1_3_1()); \n // InternalTdlParser.g:1633:2: ( rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1 )*\n loop20:\n do {\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( (LA20_0==RULE_STRING) ) {\n alt20=1;\n }\n\n\n switch (alt20) {\n \tcase 1 :\n \t // InternalTdlParser.g:1633:3: rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1\n \t {\n \t pushFollow(FOLLOW_23);\n \t rule__SimpleActionReference__ArgumentsAssignment_1_0_1_3_1();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop20;\n }\n } while (true);\n\n after(grammarAccess.getSimpleActionReferenceAccess().getArgumentsAssignment_1_0_1_3_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e09ef42208c8413066fa958e518d673d", "score": "0.49696404", "text": "public final void rule__Phase__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:6750:1: ( ( RULE_ID ) )\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:6751:1: ( RULE_ID )\r\n {\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:6751:1: ( RULE_ID )\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:6752:1: RULE_ID\r\n {\r\n before(grammarAccess.getPhaseAccess().getNameIDTerminalRuleCall_2_0()); \r\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Phase__NameAssignment_213430); \r\n after(grammarAccess.getPhaseAccess().getNameIDTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e32e4c2318f12847ee02825362927770", "score": "0.49686375", "text": "public final void rule__Namespace__ClazzAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalClazzDsl.g:674:1: ( ( ruleClazz ) )\n // InternalClazzDsl.g:675:2: ( ruleClazz )\n {\n // InternalClazzDsl.g:675:2: ( ruleClazz )\n // InternalClazzDsl.g:676:3: ruleClazz\n {\n before(grammarAccess.getNamespaceAccess().getClazzClazzParserRuleCall_3_0()); \n pushFollow(FOLLOW_2);\n ruleClazz();\n\n state._fsp--;\n\n after(grammarAccess.getNamespaceAccess().getClazzClazzParserRuleCall_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8464d4d63d0a891d761b51f28dfb3141", "score": "0.4966594", "text": "public final void rule__Ip__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:3372:1: ( ( ( rule__Ip__IpAssignment_3 ) ) )\r\n // InternalIoT.g:3373:1: ( ( rule__Ip__IpAssignment_3 ) )\r\n {\r\n // InternalIoT.g:3373:1: ( ( rule__Ip__IpAssignment_3 ) )\r\n // InternalIoT.g:3374:2: ( rule__Ip__IpAssignment_3 )\r\n {\r\n before(grammarAccess.getIpAccess().getIpAssignment_3()); \r\n // InternalIoT.g:3375:2: ( rule__Ip__IpAssignment_3 )\r\n // InternalIoT.g:3375:3: rule__Ip__IpAssignment_3\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Ip__IpAssignment_3();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getIpAccess().getIpAssignment_3()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "95e2949d23943351e2f837b94552f7f8", "score": "0.4963282", "text": "public final void rule__AttributeFact__AttributeAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRules.g:2832:1: ( ( ( RULE_ID ) ) )\n // InternalRules.g:2833:2: ( ( RULE_ID ) )\n {\n // InternalRules.g:2833:2: ( ( RULE_ID ) )\n // InternalRules.g:2834:3: ( RULE_ID )\n {\n before(grammarAccess.getAttributeFactAccess().getAttributeEAttributeCrossReference_4_0()); \n // InternalRules.g:2835:3: ( RULE_ID )\n // InternalRules.g:2836:4: RULE_ID\n {\n before(grammarAccess.getAttributeFactAccess().getAttributeEAttributeIDTerminalRuleCall_4_0_1()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getAttributeFactAccess().getAttributeEAttributeIDTerminalRuleCall_4_0_1()); \n\n }\n\n after(grammarAccess.getAttributeFactAccess().getAttributeEAttributeCrossReference_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2af4d3ec4b96544c8c7efa2ea5e4f94c", "score": "0.49611974", "text": "public final void rule__User__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRules.g:2447:1: ( ( RULE_ID ) )\n // InternalRules.g:2448:2: ( RULE_ID )\n {\n // InternalRules.g:2448:2: ( RULE_ID )\n // InternalRules.g:2449:3: RULE_ID\n {\n before(grammarAccess.getUserAccess().getNameIDTerminalRuleCall_1_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getUserAccess().getNameIDTerminalRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1b591f90d04555856b7329ca4838d3dd", "score": "0.4957628", "text": "public void setRuleId(Long ruleId)\n/* */ {\n/* 196 */ this.ruleId = ruleId;\n/* */ }", "title": "" }, { "docid": "27762b69a0ca2976cf52f3467a63d78f", "score": "0.4948863", "text": "public final void rule__TypeAliasDefinition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4615:1: ( ( ( rule__TypeAliasDefinition__TypeAssignment_3 ) ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4616:1: ( ( rule__TypeAliasDefinition__TypeAssignment_3 ) )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4616:1: ( ( rule__TypeAliasDefinition__TypeAssignment_3 ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4617:1: ( rule__TypeAliasDefinition__TypeAssignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeAliasDefinitionAccess().getTypeAssignment_3()); \n }\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4618:1: ( rule__TypeAliasDefinition__TypeAssignment_3 )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4618:2: rule__TypeAliasDefinition__TypeAssignment_3\n {\n pushFollow(FOLLOW_rule__TypeAliasDefinition__TypeAssignment_3_in_rule__TypeAliasDefinition__Group__3__Impl10000);\n rule__TypeAliasDefinition__TypeAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeAliasDefinitionAccess().getTypeAssignment_3()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "edba158c8fc3f4708e9c69f33190efcf", "score": "0.4944606", "text": "public final void rule__Mock__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:1819:1: ( rule__Mock__Group__3__Impl rule__Mock__Group__4 )\n // InternalMappingAssistance.g:1820:2: rule__Mock__Group__3__Impl rule__Mock__Group__4\n {\n pushFollow(FOLLOW_20);\n rule__Mock__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Mock__Group__4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ed2b84f0986ee3ed037a07f17ca0d50c", "score": "0.49340037", "text": "public final void rule__Protocol__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:27628:1: ( ( RULE_ID ) )\n // InternalMappingDsl.g:27629:2: ( RULE_ID )\n {\n // InternalMappingDsl.g:27629:2: ( RULE_ID )\n // InternalMappingDsl.g:27630:3: RULE_ID\n {\n before(grammarAccess.getProtocolAccess().getNameIDTerminalRuleCall_1_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getProtocolAccess().getNameIDTerminalRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d252ce38ada2bd8cfb42cd370391ddda", "score": "0.49128133", "text": "public final void rule__PropertyValueAssignment__PropertyAssignment_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:27549:1: ( ( ( RULE_ID ) ) )\n // InternalMappingDsl.g:27550:2: ( ( RULE_ID ) )\n {\n // InternalMappingDsl.g:27550:2: ( ( RULE_ID ) )\n // InternalMappingDsl.g:27551:3: ( RULE_ID )\n {\n before(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyCrossReference_1_0_0()); \n // InternalMappingDsl.g:27552:3: ( RULE_ID )\n // InternalMappingDsl.g:27553:4: RULE_ID\n {\n before(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyIDTerminalRuleCall_1_0_0_1()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyIDTerminalRuleCall_1_0_0_1()); \n\n }\n\n after(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyCrossReference_1_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6f08e4a52765e9fbff5b7d26a3d607a9", "score": "0.49070644", "text": "public final void rule__TestableFragment__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2996:1: ( ( ( rule__TestableFragment__NameAssignment_3 ) ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2997:1: ( ( rule__TestableFragment__NameAssignment_3 ) )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2997:1: ( ( rule__TestableFragment__NameAssignment_3 ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2998:1: ( rule__TestableFragment__NameAssignment_3 )\n {\n before(grammarAccess.getTestableFragmentAccess().getNameAssignment_3()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2999:1: ( rule__TestableFragment__NameAssignment_3 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2999:2: rule__TestableFragment__NameAssignment_3\n {\n pushFollow(FollowSets000.FOLLOW_rule__TestableFragment__NameAssignment_3_in_rule__TestableFragment__Group__3__Impl6453);\n rule__TestableFragment__NameAssignment_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTestableFragmentAccess().getNameAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "62e9b6f996fe6a3acd9971a1b6fe3e56", "score": "0.4900102", "text": "public final void rule__PropertyValueAssignment__PropertyAssignment_0_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:27515:1: ( ( ( RULE_ID ) ) )\n // InternalMappingDsl.g:27516:2: ( ( RULE_ID ) )\n {\n // InternalMappingDsl.g:27516:2: ( ( RULE_ID ) )\n // InternalMappingDsl.g:27517:3: ( RULE_ID )\n {\n before(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyCrossReference_0_0_0()); \n // InternalMappingDsl.g:27518:3: ( RULE_ID )\n // InternalMappingDsl.g:27519:4: RULE_ID\n {\n before(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyIDTerminalRuleCall_0_0_0_1()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyIDTerminalRuleCall_0_0_0_1()); \n\n }\n\n after(grammarAccess.getPropertyValueAssignmentAccess().getPropertyTechnologySpecificPropertyCrossReference_0_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "983dd5607497b1a98ffe8e2051faec3f", "score": "0.4897435", "text": "public final void rule__Reference__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4291:1: ( ( ( rule__Reference__AnnotationAssignment_1_0 ) ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4292:1: ( ( rule__Reference__AnnotationAssignment_1_0 ) )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4292:1: ( ( rule__Reference__AnnotationAssignment_1_0 ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4293:1: ( rule__Reference__AnnotationAssignment_1_0 )\n {\n before(grammarAccess.getReferenceAccess().getAnnotationAssignment_1_0()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4294:1: ( rule__Reference__AnnotationAssignment_1_0 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4294:2: rule__Reference__AnnotationAssignment_1_0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Reference__AnnotationAssignment_1_0_in_rule__Reference__Group_1__0__Impl9014);\n rule__Reference__AnnotationAssignment_1_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getReferenceAccess().getAnnotationAssignment_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c8e4123c2b40eb8f35e1b0f364357034", "score": "0.48817998", "text": "public final void rule__Destination__NameAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:4046:1: ( ( RULE_ID ) )\r\n // InternalIoT.g:4047:2: ( RULE_ID )\r\n {\r\n // InternalIoT.g:4047:2: ( RULE_ID )\r\n // InternalIoT.g:4048:3: RULE_ID\r\n {\r\n before(grammarAccess.getDestinationAccess().getNameIDTerminalRuleCall_1_0()); \r\n match(input,RULE_ID,FOLLOW_2); \r\n after(grammarAccess.getDestinationAccess().getNameIDTerminalRuleCall_1_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "59bfde645b3e81c498319de926f008f0", "score": "0.48794025", "text": "public final void rule__LocalOutputPort__PortAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21155:1: ( ( ( RULE_ID ) ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21156:1: ( ( RULE_ID ) )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21156:1: ( ( RULE_ID ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21157:1: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLocalOutputPortAccess().getPortOutputPortCrossReference_1_0()); \n }\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21158:1: ( RULE_ID )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21159:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLocalOutputPortAccess().getPortOutputPortIDTerminalRuleCall_1_0_1()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__LocalOutputPort__PortAssignment_142581); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLocalOutputPortAccess().getPortOutputPortIDTerminalRuleCall_1_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLocalOutputPortAccess().getPortOutputPortCrossReference_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f232b289af16a7d2be3c5c1652a698a3", "score": "0.4879072", "text": "public final void rule__ServiceAspectPointcutSelector__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:19990:1: ( ( ( rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1 ) ) )\n // InternalMappingDsl.g:19991:1: ( ( rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1 ) )\n {\n // InternalMappingDsl.g:19991:1: ( ( rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1 ) )\n // InternalMappingDsl.g:19992:2: ( rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1 )\n {\n before(grammarAccess.getServiceAspectPointcutSelectorAccess().getPointcutsAssignment_3_1()); \n // InternalMappingDsl.g:19993:2: ( rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1 )\n // InternalMappingDsl.g:19993:3: rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1\n {\n pushFollow(FOLLOW_2);\n rule__ServiceAspectPointcutSelector__PointcutsAssignment_3_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getServiceAspectPointcutSelectorAccess().getPointcutsAssignment_3_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "201ae1a6b8aba6a390d20a7b2dfa1f58", "score": "0.48696637", "text": "public final void rule__InterfaceDefinition__NameAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9012:1: ( ( ruleQualifiedName ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9013:1: ( ruleQualifiedName )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9013:1: ( ruleQualifiedName )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:9014:1: ruleQualifiedName\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getInterfaceDefinitionAccess().getNameQualifiedNameParserRuleCall_3_0()); \r\n }\r\n pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_rule__InterfaceDefinition__NameAssignment_318393);\r\n ruleQualifiedName();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getInterfaceDefinitionAccess().getNameQualifiedNameParserRuleCall_3_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "594f14eab8f163d8c0d06fb9a1b4418b", "score": "0.48694068", "text": "public final void rule__Attribute__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:3816:1: ( ( ( rule__Attribute__NameAssignment_3 ) ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:3817:1: ( ( rule__Attribute__NameAssignment_3 ) )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:3817:1: ( ( rule__Attribute__NameAssignment_3 ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:3818:1: ( rule__Attribute__NameAssignment_3 )\n {\n before(grammarAccess.getAttributeAccess().getNameAssignment_3()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:3819:1: ( rule__Attribute__NameAssignment_3 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:3819:2: rule__Attribute__NameAssignment_3\n {\n pushFollow(FollowSets000.FOLLOW_rule__Attribute__NameAssignment_3_in_rule__Attribute__Group__3__Impl8079);\n rule__Attribute__NameAssignment_3();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAttributeAccess().getNameAssignment_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e111c5b6c5d861ff28c387f5f27ff819", "score": "0.4866508", "text": "public final void rule__EnumMemberList__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3367:1: ( ( ( rule__EnumMemberList__EnumMemberAssignment_0 ) ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3368:1: ( ( rule__EnumMemberList__EnumMemberAssignment_0 ) )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3368:1: ( ( rule__EnumMemberList__EnumMemberAssignment_0 ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3369:1: ( rule__EnumMemberList__EnumMemberAssignment_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getEnumMemberListAccess().getEnumMemberAssignment_0()); \r\n }\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3370:1: ( rule__EnumMemberList__EnumMemberAssignment_0 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3370:2: rule__EnumMemberList__EnumMemberAssignment_0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__EnumMemberList__EnumMemberAssignment_0_in_rule__EnumMemberList__Group__0__Impl7154);\r\n rule__EnumMemberList__EnumMemberAssignment_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getEnumMemberListAccess().getEnumMemberAssignment_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c0be706b5e4f38285df903f06bf9254a", "score": "0.48651192", "text": "public final void rule__Port__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21106:1: ( ( RULE_ID ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21107:1: ( RULE_ID )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21107:1: ( RULE_ID )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21108:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPortAccess().getNameIDTerminalRuleCall_1_0()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Port__NameAssignment_142476); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPortAccess().getNameIDTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d4ca13084421534c69f5ca573b49c0f2", "score": "0.48627132", "text": "public final void rule__XAssignment__Group_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:3343:1: ( rule__XAssignment__Group_0__3__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:3344:2: rule__XAssignment__Group_0__3__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_0__3__Impl_in_rule__XAssignment__Group_0__37246);\n rule__XAssignment__Group_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "787cff6db1e87946771fbd6f34958afe", "score": "0.4858892", "text": "public final void rule__PropertyValueAssignment__Group_1__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:16601:1: ( ( ')' ) )\n // InternalMappingDsl.g:16602:1: ( ')' )\n {\n // InternalMappingDsl.g:16602:1: ( ')' )\n // InternalMappingDsl.g:16603:2: ')'\n {\n before(grammarAccess.getPropertyValueAssignmentAccess().getRightParenthesisKeyword_1_3()); \n match(input,23,FOLLOW_2); \n after(grammarAccess.getPropertyValueAssignmentAccess().getRightParenthesisKeyword_1_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6047eb2022ac0b16b49b15a4b26f1fe9", "score": "0.48569328", "text": "public void setRule(int rule)\n\t{\n\t\tthis.rule = rule;\n\t}", "title": "" }, { "docid": "684b59105cde5eaa92e0a49af010e1e4", "score": "0.48565683", "text": "public final void entryRuleMember() throws RecognitionException {\r\n try {\r\n // InternalModel.g:155:1: ( ruleMember EOF )\r\n // InternalModel.g:156:1: ruleMember EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMemberRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleMember();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getMemberRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "fe981a1776d28048c5618541f15f5d55", "score": "0.48494583", "text": "public final void rule__MethodDeclaration__NameAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21343:1: ( ( RULE_ID ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21344:1: ( RULE_ID )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21344:1: ( RULE_ID )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:21345:1: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMethodDeclarationAccess().getNameIDTerminalRuleCall_2_0()); \n }\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__MethodDeclaration__NameAssignment_242965); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMethodDeclarationAccess().getNameIDTerminalRuleCall_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e75b17043d4d3a184a5840fc8e9de678", "score": "0.4839572", "text": "public final void rule__Observer__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:1237:1: ( ( ( rule__Observer__Service1Assignment_1 ) ) )\n // InternalMappingAssistance.g:1238:1: ( ( rule__Observer__Service1Assignment_1 ) )\n {\n // InternalMappingAssistance.g:1238:1: ( ( rule__Observer__Service1Assignment_1 ) )\n // InternalMappingAssistance.g:1239:2: ( rule__Observer__Service1Assignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getObserverAccess().getService1Assignment_1()); \n }\n // InternalMappingAssistance.g:1240:2: ( rule__Observer__Service1Assignment_1 )\n // InternalMappingAssistance.g:1240:3: rule__Observer__Service1Assignment_1\n {\n pushFollow(FOLLOW_2);\n rule__Observer__Service1Assignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getObserverAccess().getService1Assignment_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "355205d4c2b6881d32dc5f7be4ca7cca", "score": "0.4837056", "text": "public final void rule__Mock__IntentionVarAssignment_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:4534:1: ( ( ( RULE_ID ) ) )\n // InternalMappingAssistance.g:4535:2: ( ( RULE_ID ) )\n {\n // InternalMappingAssistance.g:4535:2: ( ( RULE_ID ) )\n // InternalMappingAssistance.g:4536:3: ( RULE_ID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getIntentionVarVariableCrossReference_5_0()); \n }\n // InternalMappingAssistance.g:4537:3: ( RULE_ID )\n // InternalMappingAssistance.g:4538:4: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMockAccess().getIntentionVarVariableIDTerminalRuleCall_5_0_1()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getIntentionVarVariableIDTerminalRuleCall_5_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMockAccess().getIntentionVarVariableCrossReference_5_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d392c8d5c6a0305efdf213b9ad04f421", "score": "0.4836425", "text": "public final void rule__Example__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7002:1: ( ( RULE_ID ) )\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7003:1: ( RULE_ID )\r\n {\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7003:1: ( RULE_ID )\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7004:1: RULE_ID\r\n {\r\n before(grammarAccess.getExampleAccess().getNameIDTerminalRuleCall_2_0()); \r\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Example__NameAssignment_213950); \r\n after(grammarAccess.getExampleAccess().getNameIDTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a62e0d39ded71420d7a9998e9b85620d", "score": "0.4835761", "text": "public final void rule__ConsequentRule__AtomsAssignment_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:13560:1: ( ( ruleRule ) )\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:13561:1: ( ruleRule )\n {\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:13561:1: ( ruleRule )\n // ../de.hs_rm.cs.vs.dsm.flow.ui/src-gen/de/hs_rm/cs/vs/dsm/ui/contentassist/antlr/internal/InternalFlow.g:13562:1: ruleRule\n {\n before(grammarAccess.getConsequentRuleAccess().getAtomsRuleParserRuleCall_3_1_0()); \n pushFollow(FOLLOW_ruleRule_in_rule__ConsequentRule__AtomsAssignment_3_127240);\n ruleRule();\n\n state._fsp--;\n\n after(grammarAccess.getConsequentRuleAccess().getAtomsRuleParserRuleCall_3_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c9fda389c7c9d6d04ae8aceac4bfddfb", "score": "0.48349333", "text": "public final void rule__Group__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRules.g:2462:1: ( ( RULE_ID ) )\n // InternalRules.g:2463:2: ( RULE_ID )\n {\n // InternalRules.g:2463:2: ( RULE_ID )\n // InternalRules.g:2464:3: RULE_ID\n {\n before(grammarAccess.getGroupAccess().getNameIDTerminalRuleCall_1_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getGroupAccess().getNameIDTerminalRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "38759c2ee18e6827f917cfe6aceb16ee", "score": "0.48344877", "text": "public final void rule__Endpoint__AddressesAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:27402:1: ( ( RULE_STRING ) )\n // InternalMappingDsl.g:27403:2: ( RULE_STRING )\n {\n // InternalMappingDsl.g:27403:2: ( RULE_STRING )\n // InternalMappingDsl.g:27404:3: RULE_STRING\n {\n before(grammarAccess.getEndpointAccess().getAddressesSTRINGTerminalRuleCall_3_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getEndpointAccess().getAddressesSTRINGTerminalRuleCall_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8e4b022c76357dcab98f455cb8eae648", "score": "0.4830755", "text": "public final void rule__RecordDefinition__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4715:1: ( ( ( rule__RecordDefinition__NameAssignment_1 ) ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4716:1: ( ( rule__RecordDefinition__NameAssignment_1 ) )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4716:1: ( ( rule__RecordDefinition__NameAssignment_1 ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4717:1: ( rule__RecordDefinition__NameAssignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRecordDefinitionAccess().getNameAssignment_1()); \n }\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4718:1: ( rule__RecordDefinition__NameAssignment_1 )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:4718:2: rule__RecordDefinition__NameAssignment_1\n {\n pushFollow(FOLLOW_rule__RecordDefinition__NameAssignment_1_in_rule__RecordDefinition__Group__1__Impl10191);\n rule__RecordDefinition__NameAssignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRecordDefinitionAccess().getNameAssignment_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d4a2f2309a72ccde53a557e1089e64ba", "score": "0.4829253", "text": "public final void rule__Roadmap__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7152:1: ( ( RULE_ID ) )\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7153:1: ( RULE_ID )\r\n {\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7153:1: ( RULE_ID )\r\n // ../br.ufrn.dimap.ProcessDslLanguage.ui/src-gen/br/ufrn/dimap/ui/contentassist/antlr/internal/InternalProcessDsl.g:7154:1: RULE_ID\r\n {\r\n before(grammarAccess.getRoadmapAccess().getNameIDTerminalRuleCall_2_0()); \r\n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Roadmap__NameAssignment_214260); \r\n after(grammarAccess.getRoadmapAccess().getNameIDTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "53201867cdd82d4b1bfc5e3cb3a01b28", "score": "0.4825169", "text": "public final void ruleAssignmentExpression() throws RecognitionException {\n int ruleAssignmentExpression_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 38) ) { return ; }\n // InternalExBeeLangTestLanguageParser.g:593:2: ( ( ( rule__AssignmentExpression__Group__0 ) ) )\n // InternalExBeeLangTestLanguageParser.g:594:2: ( ( rule__AssignmentExpression__Group__0 ) )\n {\n // InternalExBeeLangTestLanguageParser.g:594:2: ( ( rule__AssignmentExpression__Group__0 ) )\n // InternalExBeeLangTestLanguageParser.g:595:3: ( rule__AssignmentExpression__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAssignmentExpressionAccess().getGroup()); \n }\n // InternalExBeeLangTestLanguageParser.g:596:3: ( rule__AssignmentExpression__Group__0 )\n // InternalExBeeLangTestLanguageParser.g:596:4: rule__AssignmentExpression__Group__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__AssignmentExpression__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAssignmentExpressionAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 38, ruleAssignmentExpression_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3c6922271f586a82fa962833c75c2e34", "score": "0.48234716", "text": "public final void rule__RecordDefinition__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:18248:1: ( ( ruleValidID ) )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:18249:1: ( ruleValidID )\n {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:18249:1: ( ruleValidID )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:18250:1: ruleValidID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRecordDefinitionAccess().getNameValidIDParserRuleCall_1_0()); \n }\n pushFollow(FOLLOW_ruleValidID_in_rule__RecordDefinition__NameAssignment_136744);\n ruleValidID();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRecordDefinitionAccess().getNameValidIDParserRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ca48633a7eca534ed74c7352571758d6", "score": "0.48220086", "text": "public final void rule__StructMember__Group_3__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3111:1: ( ( ( rule__StructMember__ConstExprAssignment_3_1 ) ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3112:1: ( ( rule__StructMember__ConstExprAssignment_3_1 ) )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3112:1: ( ( rule__StructMember__ConstExprAssignment_3_1 ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3113:1: ( rule__StructMember__ConstExprAssignment_3_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getStructMemberAccess().getConstExprAssignment_3_1()); \r\n }\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3114:1: ( rule__StructMember__ConstExprAssignment_3_1 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:3114:2: rule__StructMember__ConstExprAssignment_3_1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__StructMember__ConstExprAssignment_3_1_in_rule__StructMember__Group_3__1__Impl6653);\r\n rule__StructMember__ConstExprAssignment_3_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getStructMemberAccess().getConstExprAssignment_3_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" } ]
83400d1142829216adadefa47e990a2e
Sends the packet from both clients
[ { "docid": "b3d799ec72396195b708610227b8845d", "score": "0.62928194", "text": "@Override\n protected void testPacket(final Packet p) throws Throwable\n {\n client.sendPacket(p);\n client2.sendPacket(p);\n Thread.sleep(1000);\n }", "title": "" } ]
[ { "docid": "d0803502341ebd1a35383994f7e8282b", "score": "0.6680243", "text": "public void sendPdu(ProtocolDataUnit pPdu,\n Object pAddress1,\n Object pAddress2)\n{\n int port;\n String address;\n InetAddress ipAddr = null;\n Socket sock;\n byte buffer[];\n ByteArrayOutputStream baos;\n DataOutputStream dos;\n OutputStream os;\n\n // Check to make sure the args are the type we expect for this concrete subclass.\n // punt if they're not the correct types.\n\n if(!(pAddress1 instanceof String))\n return;\n\n if(!(pAddress2 instanceof Integer))\n return;\n\n // Get the address and port in a standard way\n address = (String)pAddress1;\n port = ((Integer)pAddress2).intValue();\n\n // Open up a connection to the server that is presumed to be runnning\n // on the other machine.\n try\n {\n ipAddr = InetAddress.getByName(address);\n\n sock = new Socket(ipAddr, port);\n\n // Open up the socket for writing by prepending configuration data, such\n // as RTP status.\n\n this.openForWriting(sock);\n\n // Serialize the PDU we're sending into a byte array.\n baos = new ByteArrayOutputStream();\n dos = new DataOutputStream(baos);\n pPdu.serialize(dos);\n buffer = baos.toByteArray();\n\n // Write the buffer to the socket\n os = sock.getOutputStream();\n os.write(buffer);\n\n // Close down the socket. It's presumed that our sending this PDU to\n // a machine other than our \"standard\" destination address is a rare\n // one, so we can afford to open and close a socket for every connection\n // we make.\n\n sock.close();\n }\n catch(Exception e)\n {\n System.out.println(e);\n }\n\n}", "title": "" }, { "docid": "32777c04e4ddc2b43a10fbeb24bca1a0", "score": "0.6514461", "text": "public synchronized void sendMessage() throws IOException {\r\n\t\t\r\n \t\t// now send the whole byte buffer to the remote side\r\n \t\tbaos.writeTo(dos);\r\n\t}", "title": "" }, { "docid": "cba30317f53d1b0b627fc4938c073257", "score": "0.64580053", "text": "public void duplicatePacket ()\r\n {\r\n System.out.println(consolePrefix + \"Duplicate \" + TFTPCommon.packetTypeAndNumber(send.getData()) + \", sending first instance\");\r\n \r\n TFTPCommon.printPacketDetails(send, consolePrefix, verbosity, true, false);\r\n \r\n try {\r\n socket.send(send);\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n return;\r\n }\r\n\r\n System.out.println(consolePrefix + \"Waiting \" + delayAmount + \" ms\");\r\n \r\n try {\r\n Thread.sleep(delayAmount);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n System.out.println(consolePrefix + \"Duplicate \" + TFTPCommon.packetTypeAndNumber(send.getData()) + \", sending second instance\");\r\n \r\n TFTPCommon.printPacketDetails(send, consolePrefix, verbosity, true, false);\r\n\r\n try {\r\n socket.send(send);\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n return;\r\n } \r\n }", "title": "" }, { "docid": "d6461822d0b20306be82148fa4ab0e33", "score": "0.6392966", "text": "public void sendPacket(final ServerConnectedClient client, final Object packet) {\n client.getChannel().writeAndFlush(packet);\n }", "title": "" }, { "docid": "efdc11f2a54667c5fe5d8e0d485fd403", "score": "0.63902134", "text": "@Override\n public void run() {\n DataOutputStream dOut;\n try {\n dOut = new DataOutputStream(newClient.getChannel().socket().getOutputStream());\n dOut.write(NetworkCommands.send_client_its_id.ordinal());\n putClientInStream(dOut, newClient, true);\n\n dOut.write(NetworkCommands.end_of_packet.ordinal());\n dOut.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "09fc01b97399ea6cde3670f03e73bd8b", "score": "0.62746453", "text": "private void send(int connId, Packet packet) {\n packet.zipData();\n getClient(connId).send(packet);\n }", "title": "" }, { "docid": "c87a4e41dd5b8493dd1c4f0af981549a", "score": "0.62290967", "text": "public void run() {\n \n try \n {\n ObjectOutputStream out = null;\n RequestReply response = new RequestReply();\n ServerMessage receivedMessage = new ServerMessage();\n\n LOGGER.info(\"IN CRClientServerThread WAITING FOR CLIENT\");\n while (true)\n {\n byte[] buf = new byte[256];\n \n /* receive request */\n DatagramPacket packet = new DatagramPacket(buf, buf.length);\n socket.receive(packet);\n \n int byteCount = packet.getLength();\n ByteArrayInputStream byteStream = new ByteArrayInputStream(buf);\n \n ObjectInputStream is = new ObjectInputStream(new BufferedInputStream(byteStream));\n RequestReply clientMessage = (RequestReply) is.readObject();\n \n is.close();\n\n LOGGER.info(\"Recieved Request from client = \" + clientMessage.showRequest());\n\n receivedMessage = processRequest(clientMessage);\n\n receivedMessage.setPortNumber(packet.getPort());\n receivedMessage.setHostAddress(packet.getAddress().getHostAddress());\n\n if(succPortNo!=0 && sSocket == null)\n {\n System.out.println(\"CRClientServerThread Socket creation\");\n LOGGER.info(\"CRClientServerThread Socket creation\");\n \n this.sSocket = new Socket(InetAddress.getByName(successor), succPortNo);\n out = new ObjectOutputStream(sSocket.getOutputStream()); \n }\n if( succPortNo!=0 && out != null)\n {\n System.out.println(\"Sending Update to other server = \" + receivedMessage);\n LOGGER.info(\"Sending Update to other server = \" + receivedMessage);\n out.writeObject(receivedMessage);\n }\n else\n {\n response.setReqID(receivedMessage.getReqID());\n response.setBalance(receivedMessage.getBalance());\n response.setOutcome(receivedMessage.getOutcome());\n response.setOperation(receivedMessage.getOperation());\n response.setAccountNumber(receivedMessage.getAccountNumber());\n ByteArrayOutputStream bStream = new ByteArrayOutputStream();\n ObjectOutput oo = new ObjectOutputStream(bStream); \n oo.writeObject(response);\n oo.close();\n\n buf = bStream.toByteArray();\n\n InetAddress address = packet.getAddress();\n int port = packet.getPort();\n LOGGER.info(\"Sending Response to client = \" + receivedMessage);\n packet = new DatagramPacket(buf, buf.length, address, port);\n socket.send(packet);\n \n } \n }\n }\n catch (Exception e) {\n e.printStackTrace();\n socket.close();\n System.exit(1);\n }\n }", "title": "" }, { "docid": "be939bb622022a3b0cb9575485351a26", "score": "0.6209464", "text": "public void sendToHunter(byte[] d2s){\n\t\ttry {\n\t\t\tInetAddress ip = InetAddress.getByName(SERVER_IP);\n\t\t\tDatagramSocket clSocket = new DatagramSocket();\n\t\t\tDatagramPacket dgPacket = new DatagramPacket(d2s, d2s.length, ip, SERVER_PORT);\n\t\t\tclSocket.send(dgPacket);\n\t\t\tclSocket.close();\n\t\t\tSystem.out.println(\"Enviado : \" + new String(d2s));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "a2d2cbfc5f98c7b4edc1ec6210138727", "score": "0.62067866", "text": "void send(byte[] buffer) {\n\t\tprintLog(\"send [\"+buffer.length+\"B]\");\n\t\tif (udp!=null)\n\t\ttry {\n\t\t\tUdpPacket packet=new UdpPacket(buffer,buffer.length,remote_addr,remote_port);\n\t\t\tudp.send(packet);\n\t\t}\n\t\tcatch (IOException e) { e.printStackTrace(); printLog(e.toString()); } \n\t\telse printLog(\"WARNING: null socket found: impossible to send packet.\"); \n\t}", "title": "" }, { "docid": "d748a28d66061c79c70105c8ee5db3e4", "score": "0.618018", "text": "private void send ( Object o ) throws IOException\r\n\t{\r\n\t\toutToServer.writeObject ( o );\r\n\t\toutToServer.flush ( );\r\n\t}", "title": "" }, { "docid": "1faac8e2d13cc24202791a211c657acf", "score": "0.61780936", "text": "private void send(Packet packet) {\n packet.zipData();\n for (Enumeration i = connections.elements(); i.hasMoreElements();) {\n final Connection conn = (Connection)i.nextElement();\n conn.send(packet);\n }\n }", "title": "" }, { "docid": "1ba1f27e8a4440a6bb5783b3b42b8568", "score": "0.61713815", "text": "public void exchangeData() {\r\n\t\ttry {\r\n\t\t\tfor(;;) {\r\n\t\t\t\t\r\n\t\t\t\t// The Host waits to receive data from Client then it print that data (string and array of bytes).\r\n\t\t\t\tbyte data[] = new byte[7]; // sufficient size array of bytes to receive data.\r\n receivePacket = new DatagramPacket(data, data.length); // new packet to receive data.\r\n System.out.println(\"Host: Waiting for Packet from Client.\\n\");\r\n receiveSocket.receive(receivePacket);\r\n int returnPort = receivePacket.getPort();\r\n System.out.println(\"Host: Packet received\");\r\n System.out.println(\"From client: \" + receivePacket.getAddress());\r\n System.out.println(\"Client port: \" + returnPort);\r\n int len = receivePacket.getLength();\r\n System.out.println(\"Length: \" + len);\r\n System.out.println(\"Containing: \");\r\n \r\n \t System.out.println(new String(data,2,len-2)); // turn data received into a string but don't print the 01/02...\r\n \t System.out.println(Arrays.toString(data));\r\n \t System.out.println(\"\\n\");\r\n\r\n // The Host forms a packet containing the response received from the Server and sends it to the Client.\r\n sendPacket = new DatagramPacket(data, receivePacket.getLength(), receivePacket.getAddress(), returnPort);\r\n System.out.println(\"Host: Sending packet\");\r\n System.out.println(\"To client: \" + sendPacket.getAddress());\r\n System.out.println(\"Destination client port: \" + sendPacket.getPort());\r\n len = sendPacket.getLength();\r\n System.out.println(\"Length: \" + len);\r\n System.out.println(\"Containing: \");\r\n \r\n //System.out.println(new String(sendPacket.getData(),0,len)); //print info in packet, String\r\n System.out.println(Arrays.toString(sendPacket.getData()));\r\n sendSocket.send(sendPacket);\r\n System.out.println(\"Host: Packet sent to Client.\\n\");\r\n }\r\n\t\t} catch (IOException e){\r\n e.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d686db4ea987c23c05542efbfbfa557c", "score": "0.6154285", "text": "private void SendMessage(DatagramPacket packet){\n try {\n this.server.send(packet);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "fb79805ad68fe6246873301237155da6", "score": "0.6153332", "text": "private void sendOrder() throws IOException {\n byte[] bytes = order.getBytes();\n\n ByteBuffer writeBuf = ByteBuffer.allocate(bytes.length);\n writeBuf.put(bytes);\n writeBuf.flip();\n client.write(writeBuf);\n if(!writeBuf.hasRemaining()){\n System.out.println(\"order: \"+order+\" send successfully!\");\n }\n }", "title": "" }, { "docid": "91b87350941183833c280ad50eec138b", "score": "0.6151674", "text": "public void sendtoServer(String t) throws IOException{\r\n try{\r\n if(clientSocket != null && outtoServer != null && infromServer != null){ \r\n outtoServer.println(t);\r\n outtoServer.flush();\r\n System.out.println(\"send to server: \"+t);\r\n }else{\r\n System.out.println(\"socket is close: \"+t);\r\n }\r\n }catch(Exception e){\r\n System.out.println(\"Exception(sendtoServer): \"+e);\r\n } \r\n\t}", "title": "" }, { "docid": "d05354c909a9dcb744e580c302a43c85", "score": "0.61071515", "text": "public void onSend(PeerConnection connection);", "title": "" }, { "docid": "d1c79cd72d0bbc8aa29f03bc0b37c7c2", "score": "0.6090047", "text": "public static void sendClient1(Message message, DatagramSocket clientSocket) throws IOException {\n System.out.println(message);\n String srlMessage = message.serializedAllMessage();\n // System.out.println(srlMessage);\n // System.out.println(\"[UDP Client All packet] \" + srlMessage);\n String encryptedSrlMessage = new Encryption().xorMessage(srlMessage, key);\n\n byte[] sendData = new byte[srlMessage.length()];\n sendData = encryptedSrlMessage.getBytes();\n\n DatagramPacket sendPacket = new DatagramPacket(sendData, sendData.length, InetAddress.getLocalHost(), PORT);\n clientSocket.send(sendPacket);\n }", "title": "" }, { "docid": "b812f52d4691027ca1acf657167242cc", "score": "0.6084602", "text": "public synchronized void send()\n {\n String msg = \"%\" + (int)(vLeft*1000) + \" \" + (int)(vRight*1000) + \" \" + brk + \"#\";\n Log.i(\"bluetooth\", \"sent \" + msg);\n mChatService.write(msg.getBytes());\n }", "title": "" }, { "docid": "1a6772c794c3103f6127751ec6433982", "score": "0.60467976", "text": "private void sendResponse(Socket client, byte[] response) throws IOException {\r\n BufferedOutputStream bo = new BufferedOutputStream(client.getOutputStream());\r\n bo.write(response);\r\n bo.flush();\r\n }", "title": "" }, { "docid": "a8b73c6b4673976db55ab93ecc133e75", "score": "0.6026247", "text": "public void sendMessages() {\n\t\tString output;\n\t\ttry {\n\t\t\twhile(!interComm.isMTSEmpty()) {\n\t\t\t\toutput = interComm.getMsgToSend();\n\t\t\t\toutServer.writeBytes(output);\n\t\t\t\t\n\t\t\t\tif(output.equals(comms.cQuit+pMSG.NLINE)) {\n\t\t\t\t\tinterComm.setQuit(true);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException noSend) {\n\t\t\tgivePlayerMSG(\"Can't send to server\");\n\t\t}\n\t}", "title": "" }, { "docid": "d942e3de05639f550e6c87cf43316104", "score": "0.60132", "text": "private void sendMessageToServer(String code) {\n try {\n outO.writeObject(new Packet(code, clientID, null));\n } catch (IOException e) {\n if (!tryingToEstablishConnection) {\n socket = null;\n System.out.printf(\"%nSocket Failed\");\n processLeaveGroupProtocol();\n establishConnection();\n }\n// e.printStackTrace();\n }\n }", "title": "" }, { "docid": "9ca8c3fcda50383b79d42b3cf347b4b8", "score": "0.6009029", "text": "public synchronized void run() {\r\n\t\t\r\n\t\t try{\r\n\t\t\t \r\n\t\t\t DatagramPacket request;\r\n\t\t\t DatagramPacket reply;\r\n\t\t\t //...\r\n\t\t\t byte[] bufferRequest = new byte[1000];\r\n\t\t\t byte[] bufferReply = new byte[1000];\r\n\t\t\t while(true){\r\n\t\t\t\t\r\n\t\t\t\t //receive request form other server\r\n\t\t\t\trequest = new DatagramPacket(bufferRequest, bufferRequest.length);\r\n\t\t\t\taSocket.receive(request);\r\n\t\t\t\t\r\n\t\t\t\t//reply\r\n\t\t\t\tif(new String(request.getData()).substring(0,request.getLength()).equals(\"Status\"))\r\n\t\t\t\t{\r\n\t\t\t\t\t\r\n\t\t\t\t\tString response=getLocalStatus();\r\n\t\t\t\t\tbufferReply=response.getBytes();\r\n\t\t\t\t\treply= new DatagramPacket(bufferReply,response.length(), request.getAddress(),request.getPort());\r\n\t\t\t\t\t\r\n\t\t\t\t\taSocket.send(reply);\r\n\t\t\t\t}\r\n\t\t\t\telse if(new String(request.getData()).substring(0,request.getLength()).equals(\"Transfer\"))\r\n\t\t\t\t{\r\n\t\t\t\t\taSocket.receive(request);\r\n\t\t\t\t\tString[] playerInformation=new String[10];\r\n\t\t\t\t\tplayerInformation=new String(request.getData()).substring(0,request.getLength()).split(\"->\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tPlayer tranPlayer=new Player(playerInformation[0],playerInformation[1],playerInformation[2],\r\n\t\t\t\t\t\t\tInteger.parseInt(playerInformation[4]),playerInformation[3],playerInformation[6]);\r\n\t\t\t\t\t\r\n\t\t\t\t\tint index=playerInformation[2].charAt(0)-'a';\r\n\t\t\t\t\tsynchronized(hash.get(index)){\r\n\t\t\t\t\t\thash.get(index).add(tranPlayer);\r\n\t\t\t\t\t\tplayerNumber++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t }catch(SocketException e){ System.out.println(\"Socket 1\" + e.getMessage());\r\n\t\t }catch(IOException e){ System.out.println(\"IO\" + e.getMessage());\r\n\t\t }finally{ if(aSocket != null) aSocket.close();}\r\n\t }", "title": "" }, { "docid": "a84d4e715b1e9f6ff920f6e315d5cfa0", "score": "0.5990242", "text": "public static void main(String[] args) throws IOException {\n SocketChannel c1, c2;\n ByteBuffer msg;\n c1 = SocketChannel.open(new InetSocketAddress(\"localhost\", 3333));\n String send = \"Hellooo\";\n msg = ByteBuffer.allocate(50);\n msg = ByteBuffer.wrap(send.getBytes());\n c2 = SocketChannel.open(new InetSocketAddress(\"localhost\", 3333));\n c1.write(msg);\n System.out.println(\"sent msg:\" + send);\n msg.clear();\n c1.read(msg);\n String resp = new String(msg.array()).trim();\n System.out.println(\"received msg:\" + resp);\n msg.clear();\n }", "title": "" }, { "docid": "690c93e2553e6c438939aaf72950e022", "score": "0.5984192", "text": "synchronized void handleConnections(){\r\n try{\r\n //System.out.println(\"Handling connections....\");\r\n if(packet==null) return;\r\n \r\n byte[] b1 = packet.getData();//type of request\r\n \r\n //read request\r\n if((b1[0] == 0) && (b1[1]==1)){\r\n //send 0 3 0 1\r\n System.out.println(\"Server: Handling read request\");\r\n handleReadRequest();\r\n \r\n //write request\r\n } else if((b1[0] == 0) && (b1[1] ==2)){\r\n //send 0 4 0 1\r\n System.out.println(\"Server: Handling write request\");\r\n handleWriteRequest();//--\r\n } else {\r\n //Invalid TFTP opcode on RRQ or WRQ\r\n //Illegal TFTP ID\r\n System.out.println(\"Server: Invalid TFTP opcode\");\r\n byte[] errorBytes = errorPacket(4);\r\n \r\n DatagramPacket errorPacket = new DatagramPacket(errorBytes,516,\r\n packet.getAddress(), packet.getPort());\r\n DatagramSocket socket1 = new DatagramSocket();\r\n \r\n try{\r\n System.out.println(\"Server: sending errorPacket\");\r\n Thread.sleep(1000);\r\n socket1.send(errorPacket);\r\n socket1.close();\r\n } catch(Exception e){\r\n System.out.println(\"Error sending errorPacket\");\r\n }\r\n return;\r\n \r\n }\r\n \r\n } catch (IOException e){\r\n System.out.println(\"an error in one of the thread's handling function, bye\");\r\n } //catch (SocketException se){\r\n //System.out.println(\"Socket exception occured\");\r\n // }\r\n }", "title": "" }, { "docid": "78ee819f4f7c5dd9b17faffd448e791a", "score": "0.59761137", "text": "public testHost2() {\r\n\t\ttry {\r\n\t\t\treceiveSocket = new DatagramSocket(112); // Datagram-Socket used to receive data from the Client on Port 23.\r\n\t\t\tsendSocket = new DatagramSocket(); // Datagram-Socket used to send data to the Server (on Port 69, initialized when the Packet is formed).\r\n\t\t}catch(SocketException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7dcdc99ee753c17c6a27713d1171208f", "score": "0.5972394", "text": "private void threadWriteToClient (int nThreadClientPlayerID) {\r\n try {\r\n \r\n // Declare variables\r\n boolean bClientStillExistsWrite;\r\n HW03_ObjectCommunicable oObjectToWrite;\r\n \r\n // Write to this one client \"forever\"\r\n bClientStillExistsWrite = true;\r\n while (bQuit != true && bClientStillExistsWrite) {\r\n \r\n /* Figure out which output stream we're writing to\r\n * Output streams come and go as clients connect and disconnect\r\n * We want to get the one output stream that we were born for\r\n * If it isn't there, die a natural death\r\n */\r\n if (oStreamsOut.containsKey(nThreadClientPlayerID)) {\r\n \r\n /* Wait for some information to write out\r\n * .poll() is the non-blocking version (returns even if queue empty)\r\n * .take() is the blocking version (waits for queue to be non-empty)\r\n */\r\n oObjectToWrite = HW03_Globals.oObjectsToWrite.get(nThreadClientPlayerID).take();\r\n \r\n /* Write all changed game objects to this client (if they haven't quit)\r\n * https://stackoverflow.com/questions/41058548/why-an-object-doesnt-change-when-i-send-it-through-writeobject-method\r\n */\r\n if (oStreamsOut.containsKey(nThreadClientPlayerID)) {\r\n \r\n try {\r\n\r\n // Write\r\n oStreamsOut.get(nThreadClientPlayerID).reset();\r\n oStreamsOut.get(nThreadClientPlayerID).writeObject(oObjectToWrite);\r\n oStreamsOut.get(nThreadClientPlayerID).flush();\r\n\r\n }\r\n catch (Throwable oError) {\r\n bClientStillExistsWrite = false;\r\n handleClientDeparture(nThreadClientPlayerID);\r\n }\r\n \r\n }\r\n else {\r\n // Make sure we don't loop again\r\n bClientStillExistsWrite = false;\r\n handleClientDeparture(nThreadClientPlayerID);\r\n }\r\n \r\n }\r\n else {\r\n bClientStillExistsWrite = false;\r\n handleClientDeparture(nThreadClientPlayerID);\r\n }\r\n \r\n }\r\n \r\n }\r\n catch (Throwable oError) {\r\n HW03_Utility.handleError(oError);\r\n }\r\n }", "title": "" }, { "docid": "54cf3998e3aac9c4a569cefc6c98568a", "score": "0.5959895", "text": "@Override\n public void send(final byte[] data) {\n try {\n sendedPackages++;\n output.write(data.length);\n output.write(data);\n// output.flush(); //trava a thread main! pq???\n } catch (IOException ex) {\n System.out.println(\"Send fail!\");\n }\n }", "title": "" }, { "docid": "b11becb5abdc7ce29999b49a9608b958", "score": "0.5951925", "text": "public void sendPacket(byte[] packetData) throws IOException {\n DatagramPacket packet = new DatagramPacket(packetData, packetData.length, serverIpAddress, serverPort);\n clientSocket.send(packet);\n }", "title": "" }, { "docid": "b8e7616647b5f59b1ef53b5dcfcbcbf8", "score": "0.592801", "text": "public void sendPdu(ProtocolDataUnit pPdu)\n{\n byte buffer[];\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n DataOutputStream dos = new DataOutputStream(bos);\n OutputStream os;\n\n pPdu.serialize(dos);\n\n buffer = bos.toByteArray();\n\n // If this is our very first PDU, we need to prepend this with some\n // configuration data, such as the RTP status, URLs with more information,\n // etc.\n if(firstPduWritten == false)\n {\n this.openForWriting(socket);\n firstPduWritten = true;\n }\n\n try\n {\n os = socket.getOutputStream();\n os.write(buffer);\n }\n catch(IOException ioe)\n {\n System.out.println(ioe);\n }\n}", "title": "" }, { "docid": "ee2bc6864aebe100c8baf059d1fa42a0", "score": "0.5925422", "text": "private void sendSuccessMessage(Socket clientSocket){\n\t\ttry{\n\t\t\tPrintWriter writer = new PrintWriter(clientSocket.getOutputStream(), true);\n\t\t\twriter.println(\"Success\");\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "066af4ea326bc54791294fe82abac78d", "score": "0.5919552", "text": "@Override\n\tpublic void sendPacket(ESPPacket packet) {\n\t\t// The write thread is responsible for the actual packet write. We just need to add the packet \n\t\t// to the queue here so the write thread can find it.\t\t\n\t\tPacketQueue.pushOutputPacketOntoQueue(packet);\t\t\n\t}", "title": "" }, { "docid": "91a6be04d4a20a4b9065c74bebb4a9b5", "score": "0.5911404", "text": "@Override\n\tpublic void update() {\n\t\tfor(Client c : clients){\n\t\t\ttry {\n\t\t\t\tc.getOutputStream().writeObject(true);\n\t\t\t\tc.getOutputStream().flush();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a0a20ea2b0fd58edf384ed0f8642a597", "score": "0.5902028", "text": "private synchronized void handleWriteRequest(){//------------------------------------------------------------------------HandleWrite Request\r\n byte blockNum1=0;\r\n byte blockNum2=0;\r\n System.out.println(\"Write request received\");\r\n DatagramSocket socket1 = null;\r\n FileOutputStream fileOutputStream = null;\r\n \r\n try{\r\n socket1 = new DatagramSocket();\r\n } catch (Exception e){\r\n System.out.println(\"Error in init socket1\");\r\n }\r\n //send back a an acknowledgement\r\n System.out.println(\"Server: Send back an acknowledgement\");\r\n String filename = getFileName(packet.getData());\r\n byte[] dataBytes = new byte[516];\r\n \r\n File file = new File(path+filename);\r\n \r\n //if the file already exists return an error\r\n if(file.exists()){\r\n //file already exisits\r\n System.out.println(\"File already exists\");\r\n dataBytes = errorPacket(6);\r\n DatagramPacket errorPacket = new DatagramPacket(dataBytes,516,\r\n packet.getAddress(), packet.getPort());\r\n \r\n try{\r\n socket1.send(errorPacket);\r\n socket1.close();\r\n } catch (Exception e){\r\n System.out.println(\"Error in sending\");\r\n }\r\n return;\r\n }\r\n \r\n //if the file doesn't exists create a file\r\n if(file.exists()==false){\r\n System.out.println(\"Creating new file\");\r\n try{\r\n file.createNewFile();\r\n } catch(Exception e){\r\n System.out.println(\"Error in creating new file\");\r\n }\r\n }\r\n \r\n if(file.canWrite()==false){\r\n //Access violation\r\n System.out.println(\"Access violation: can't write to file\");\r\n dataBytes = errorPacket(2);\r\n DatagramPacket errorPacket = new DatagramPacket(dataBytes,516,\r\n packet.getAddress(), packet.getPort());\r\n try{\r\n socket1.send(errorPacket);\r\n socket1.close();\r\n } catch(Exception e){\r\n System.out.println(\"Error in sending\");\r\n }\r\n return;\r\n } else {\r\n dataBytes[0]=0;\r\n dataBytes[1]=4;\r\n dataBytes[2]=blockNum1;\r\n dataBytes[3]=blockNum2;\r\n }\r\n \r\n DatagramPacket acknowledgementPacket = new DatagramPacket(dataBytes,516,\r\n packet.getAddress(), packet.getPort());\r\n try{\r\n Thread.sleep(5000);\r\n socket1.send(acknowledgementPacket);\r\n } catch (Exception e){\r\n System.out.println(\"Error in sending back acknowledgment\");\r\n }\r\n \r\n boolean loop = true;\r\n try{\r\n fileOutputStream= new FileOutputStream(file);\r\n } catch (Exception e){\r\n System.out.println(\"Error in init fileOutputStream\");\r\n }\r\n while(loop){\r\n //if the disk is full\r\n if(file.getUsableSpace()<512){\r\n byte[] errorBytes = errorPacket(3);\r\n DatagramPacket errorPacket = new DatagramPacket(errorBytes,516,\r\n packet.getAddress(), packet.getPort());\r\n try{\r\n socket1.send(errorPacket);\r\n socket1.close();\r\n return;\r\n } catch(Exception e){\r\n System.out.println(\"Error sending error packet\");\r\n }\r\n }\r\n //receive data\r\n byte[] responseDataBytes = new byte[516];\r\n DatagramPacket responseDataPacket = new DatagramPacket(responseDataBytes, 516);\r\n try{\r\n //receive dataPacket\r\n System.out.println(\"Server: receiving data packet\");\r\n socket1.receive(responseDataPacket);\r\n loop = checkSize(responseDataPacket.getData());\r\n \r\n System.out.println(\"Server: Data received\");\r\n } catch (IOException ee){\r\n System.out.println(\"Error in receving\");\r\n }\r\n //Client sent an error\r\n if(checkForErrors(responseDataPacket.getData()) == true){\r\n System.out.println(\"Server: Client sent an errorPacket\");\r\n socket.close();\r\n return;\r\n }\r\n \r\n \r\n //Check------------------------------------------------------------------------------------------------------------\r\n //Check if it's a duplicate or another request\r\n byte[] data = responseDataPacket.getData();\r\n \r\n if(data[2]<blockNum1){\r\n System.out.println(\"Server: duplicate packet was received, ignoring\");\r\n continue;\r\n } else if(data[2]==blockNum1 && data[3]<blockNum2){\r\n \r\n System.out.println(\"Server: duplicate packet was received, ignoring\");\r\n continue;\r\n }\r\n //check if an invalid opcode was received--------------------------------------------------------------------\r\n if((data[0]!=0) || data[1]!=3){\r\n System.out.println(\"Server: an invalid opcode was received, sending error packet\");\r\n byte[] errorBytes = errorPacket(4);\r\n DatagramPacket errorPacket = new DatagramPacket(errorBytes,516,\r\n responseDataPacket.getAddress(),responseDataPacket.getPort());\r\n try{\r\n socket1.send(errorPacket);\r\n socket1.close();\r\n } catch(Exception e){\r\n System.out.println(\"Error sending errorPacket\");\r\n }\r\n return;\r\n }\r\n //-------------------------------------------------------------------------------------------------------------------\r\n try{\r\n //write the Data to the file\r\n //print(responseDataPacket.getData());\r\n for(int i =4;i<516;i++){\r\n data[i-4]=data[i];\r\n }\r\n int num = checkSizeAndReturn(data);\r\n \r\n if(num!=-1){\r\n System.out.println(\"Those are the last bytes\");\r\n loop = false;\r\n }\r\n System.out.println(\"Server: writing the bytes to the file\");\r\n fileOutputStream.write(data,0,num);\r\n \r\n } catch(Exception e){\r\n System.out.println(\"System Error in writing the data to the file\");\r\n }\r\n //send an acknowledgment\r\n \r\n byte[] ackBytes = new byte[516];\r\n //set the acknowledgement bytes\r\n ackBytes[0] = 0;\r\n ackBytes[1] = 4;\r\n //set the block number\r\n byte[] blockNum = responseDataPacket.getData();\r\n ackBytes[2] = blockNum[2];\r\n ackBytes[3] = blockNum[3];\r\n \r\n \r\n DatagramPacket acknowledgementPacket1 = new DatagramPacket(ackBytes,516,\r\n responseDataPacket.getAddress(), responseDataPacket.getPort());\r\n try{\r\n System.out.println(\"Server: Sending acknowledgement\");\r\n Thread.sleep(3000);\r\n socket1.send(acknowledgementPacket1);\r\n } catch (Exception e){\r\n System.out.println(\"Error sending packet\");\r\n }\r\n \r\n }\r\n \r\n }", "title": "" }, { "docid": "ec498522dee16ec361ea392d3f047ac1", "score": "0.5880666", "text": "void sendtoserver() {\n h.sendMessage(GameUtil.sendMessage(0x004,r)); // send to background service\n }", "title": "" }, { "docid": "c53f42a08937f134c6d3082547f9c9b5", "score": "0.58661854", "text": "public void testSend_NoServerBlockingCommon() throws IOException {\n ByteBuffer writeBuf = ByteBuffer.allocateDirect(CAPACITY_NORMAL);\n sendDataBlocking(datagramSocket1Address, writeBuf);\n }", "title": "" }, { "docid": "547e11c833eeafaf73b9e390762e00ad", "score": "0.5861318", "text": "private void send(String message, ClientData client) {\n\t\t\n\t\tbyte[] sendData = new byte[1024];\n\t\tsendData = message.getBytes();\n\t\tDatagramPacket sendPacket = new DatagramPacket(sendData, sendData.length, client.IPAddress, client.port);\n\t\ttry {\n\t\t\tserverSocket.send(sendPacket);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "22d8c737ae52aef2bddaaacd59e556ab", "score": "0.5858976", "text": "@Override\n\tpublic void send(Class<? extends Packet> type, ByteBuffer data) {\n\t\tConsole.fine(\"Sending \" + type.getSimpleName(), \"NET\");\n\n\t\tByteBuffer buffer = ByteBuffer.allocate(data.remaining() + getHeaderSize()); \n\t\tIdentity identity = Common.getIdentity();\n\t\t\n\t\tif(identity != null)\n\t\t\tbuffer.putInt(identity.uuid);\n\t\t\n\t\tbuffer.putInt(Packet.IDS.get(type));\n\t\tbuffer.put(data);\n\t\tbuffer.flip();\n\t\t\n\t\ttry {\n\t\t\tif(buffer.remaining() > MTU) {\n\t\t\t\t//fragment packet\n\t\t\t\tfragmentHandler.sendPacket(buffer);\n\t\t\t} else {\n\t\t\t\tsocket.send(new DatagramPacket(buffer.array(), buffer.remaining(), address, port));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tthrow new ApplicationException(\"Unable to send packet\", e, \"NET\");\n\t\t}\n\t}", "title": "" }, { "docid": "343f027655a3681240e57090681f7963", "score": "0.58547217", "text": "public void send (long clientID, T msg);", "title": "" }, { "docid": "1bae6f5cdba3520a5cd8ef9faa239eab", "score": "0.58528286", "text": "@Override\n\t\tpublic void packetReceived(NIOSocket arg0, byte[] arg1) {\n\t\t\tws.send(new String(arg1));\n\t\t}", "title": "" }, { "docid": "b9f60282d61cb11a61869998f5e8d8e1", "score": "0.58419335", "text": "private void sendToClient() throws IOException {\n commit();\n if (bufferCount > 0) {\n if (LogContext.getLocationServletResponse().bePath()) {\n trace(\"sendToClient()\", \"buffer = [\" + new String(buffer, 0, bufferCount) + \"]\");\n }\n writeToClient(buffer, 0, bufferCount, true);\n bufferCount = 0;\n }\n }", "title": "" }, { "docid": "a1e1e72e215891b525d1b029c1c94ed2", "score": "0.5836751", "text": "public String transferAccount (String userName, String password,String oldIP,String newIP)\r\n\t{\r\n\t\tString reply=\"\";\r\n\t\t try\r\n\t\t {\r\n\t\t\tbw.write(\"[\"+dateFormat.format(new Date())+\"]Server[\"+name+\"]:Get the request for Transfer Account from PlayerClient[\"+oldIP+\"].\"); \r\n\t\t\tbw.newLine();\r\n\t\t\r\n\t\t\t// get the index of the lists\r\n\t\t\tint listIndex=userName.charAt(0)-'a';\r\n\t\t\t\r\n\t\t\t// check the list whether contains the user account\r\n\t\t\tPlayer player=new Player(userName);\r\n\t\t\t\r\n\t\t\tif (!hash.get(listIndex).contains(player))\r\n\t\t\t\treply= \"Username [\"+ player.userName + \"] does not exists on game server!\";\r\n\t\t\telse{\r\n\t\t\t\t\r\n\t\t\t\t//get index of player \r\n\t\t\t\tint playerIndex=hash.get(listIndex).indexOf(player);\r\n\t\t\t\t\r\n\t\t\t\tPlayer tempplay=hash.get(listIndex).get(playerIndex);\r\n\t\t\t\t// check the password \r\n\t\t\t\tif(!tempplay.getPSW().equals(password))\r\n\t\t\t\t\treply= \"Password for username [\"+ player.userName + \"] is incorrect!\";\r\n\t\t\t\telse {\r\n\t\t\t\t\t\r\n\t\t\t\t\tsynchronized(hash.get(listIndex))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tint ServerPortNum=0;\r\n\t\t\t\t\t\tDatagramPacket request;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\taSocket = new DatagramSocket();\r\n\t\t\t\t\t\tInetAddress aHost = InetAddress.getByName(\"localhost\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t//figure out the port number of other 2 severs\r\n\t\t\t\t\t\tString[] IPpart=new String[6];\r\n\t\t\t\t\t\tIPpart=newIP.split(\"\\\\.\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tswitch(Integer.parseInt(IPpart[0])){\r\n\t\t\t\t\t\tcase 93:\r\n\t\t\t\t\t\t\tServerPortNum=1000;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 132:\r\n\t\t\t\t\t\t\tServerPortNum=2000;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 182:\r\n\t\t\t\t\t\t\tServerPortNum=3000;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t//send request to other servers\r\n\t\t\t\t\t\trequest= new DatagramPacket(\"Transfer\".getBytes(),\"Transfer\".length(),aHost, ServerPortNum);\r\n\t\t\t\t\t\taSocket.send(request);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tString message=tempplay.firstName+\"->\"+tempplay.lastName+\"->\"+tempplay.userName+\"->\"+tempplay.psw+\"->\"\r\n\t\t\t\t\t\t\t\t+tempplay.age+\"->\"+oldIP+\"->\"+newIP;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\trequest= new DatagramPacket(message.getBytes(),message.length(),aHost, ServerPortNum);\r\n\t\t\t\t\t\taSocket.send(request);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tbw.write(\"[\"+dateFormat.format(new Date())+\"] Transfer User [\"+tempplay.userName+\"] sucessfully.\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t//remove the player from the list\r\n\t\t\t\t\t\tif(tempplay.getStatus())onlinePlayerNumber--;\r\n\t\t\t\t\t\tplayerNumber--;\r\n\t\t\t\t\t\thash.get(listIndex).remove(playerIndex);\r\n\t\t\t\t\t\treply=\"Username [\"+ tempplay.userName + \"] successfully transferred from game server!\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t \tbw.flush();\r\n\t\t}catch (Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn reply;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "898d92fac5efb5fa48a43985d85d534a", "score": "0.5833708", "text": "public void run(){\r\n\t\tDataInputStream dis = null;\r\n\t\tFileOutputStream fos = null;\r\n\t\tDataOutputStream dos = null;//close in Sender.\r\n\t\tMap<Long, Long> map = null;\r\n\t\tServiceSender sender = null;\r\n\t\ttry {\r\n\t\t\t//reply the client it has been accepted\r\n\t\t\tdos = new DataOutputStream(clientSocket.getOutputStream());\r\n\t\t\tdos.writeInt(FT.SOCKET_ACCEPT);\r\n\t\t\tdos.flush();\r\n\t\t\t//create fault checker of user choose\r\n\t\t\tdis = new DataInputStream(clientSocket.getInputStream());\r\n\t\t\tChecker checker = null;\r\n\t\t\ttry{\r\n\t\t\t\tString name = dis.readUTF();\r\n\t\t\t\tchecker = CheckerFactory.createChecker(name);\r\n\t\t\t\tLog.d(\"checker:\"+name);\r\n\t\t\t}catch (NoSuchCheckerException nce){\r\n\t\t\t\tLog.e(\"Client request a sport called \"+nce.getWrongChecker()+\" is not exsits.\");\r\n\t\t\t\tdos.writeInt(FT.NOT_EXISTS);\r\n\t\t\t\tdos.flush();\r\n\t\t\t\tdis.close();\r\n\t\t\t\tdos.close();\r\n\t\t\t\tserver.closeClient();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\t//build the sendThread\r\n\t\t\t//hash map\r\n\t\t\tmap = new HashMap<>();\r\n\t\t\tsender = new ServiceSender(server, clientSocket, checker, map, dos);\r\n\t\t\tThread sendThread = new Thread(sender);\r\n\t\t\tsendThread.start();\r\n\t\t\t//success, reply the user\r\n\t\t\tdos.writeInt(FT.SOCKET_ACCEPT);\r\n\t\t\tdos.flush();\r\n\t\t\t\r\n\t\t\t//time counter\r\n\t\t\tlong sTime=0, eTime=0;\r\n\t\t\t\r\n\t\t\t//ready to receive data.\r\n\t\t\twhile(!clientSocket.isClosed()){\r\n\t\t\t\t//get client picture id and put it in map\r\n\t\t\t\tmap.put(server.getID(), dis.readLong());\r\n//\t\t\t\tmap.put(server.getID(), 1111l);\r\n\t\t\t\t//the length of the file\r\n\t\t\t\tsTime = System.currentTimeMillis();\r\n\t\t\t\tif(clientSocket.isClosed())\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tint length = dis.readInt();\t\t\t\tLog.out(\"the \" + server.getID() + \" pic length:\" + length, 1);\r\n\r\n\t\t\t\tif (length > 0) {\r\n\t\t\t\t\t//write to different picture file\r\n\t\t\t\t\tfos = new FileOutputStream(FT.PICPATH+server.getID()+FT.PIC_SUFFIX);\r\n\t\t\t\t\tbyte[] bytes = new byte[length];\r\n\t\t\t\t\tif(clientSocket.isClosed())\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tdis.readFully(bytes, 0, bytes.length);\r\n\t\t\t\t\tfos.write(bytes);\r\n\t\t\t\t\tfos.flush();\r\n\t\t\t\t\tfos.close();\r\n\t\t\t\t\tfos = new FileOutputStream(FT.VERIFYPATH+server.getID()+FT.VERIFY_SUFFIX);\r\n\t\t\t\t\tfos.close();\r\n\t\t\t\t\teTime = System.currentTimeMillis();\r\n\t\t\t\t\tLog.out(\"output \" + server.getID() + \".jpeg successfully:\"+(eTime-sTime)+\"ms\",1);\r\n\t\t\t\t\tserver.addID();\r\n\t\t\t\t}else{\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tserver.closeClient();\r\n\t\t\tsender.stop();\r\n\t\t\tif (fos != null)\r\n\t\t\t\tfos.close();\r\n\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tif(sender!=null){\r\n\t\t\t\tsender.stop();\r\n\t\t\t}\r\n\t\t\tserver.closeClient();\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "beb8567f0d3d00e007308afa13284d9f", "score": "0.5817766", "text": "public void sendMessage()\n\t{\n\t\ttry\n\t\t{\n\t\t\tthis.socket = new Socket(connectionIp, connectionPort);\n\t\t}\n\t\tcatch (IOException e) {System.err.println(e);}\n\n\n\t\ttry\n\t\t{\n\t\t // assigns io to the input of client\n\t\t io = socket.getInputStream();\n\t\t // assigns os to the output to server\n\t\t os = socket.getOutputStream();\n\t\t}\n\t\tcatch (IOException e) {System.err.println(e);}\n\n\t\ttry\n\t\t{\n\t\t\toutputStream = new ObjectOutputStream(os);\n\t\t\tinputStream = new ObjectInputStream(io);\n\n\t\t\tif (currentMsg.getType() == JOIN)\n\t\t\t{\n\t\t\t\t// send out message\n\t\t\t\toutputStream.writeObject(currentMsg);\n\n\t\t\t\t// wait for response with new list\n\t\t\t\tArrayList<Node> connections = ((Node) inputStream.readObject()).getConnections();\n\n\t\t\t\t//update parent list with new list.\n\t\t\t\tparentNode.cloneList(connections);\n\n\t\t\t\t// send out the JOINED message to all participating nodes.\n\t\t\t\t// letting them know a new node has joined the chat.\n\t\t\t\tcurrentMsg = new JoinedMessage(parentNode);\n\t\t\t\tfor (Node receivingNode: parentNode.getConnections())\n\t\t\t\t{\n\t\t\t\t\t// only send if receiving != parent node\n\t\t\t\t\tif (!parentNode.isEqual(receivingNode))\n\t\t\t\t\t{\n\t\t\t\t\t\t// set up connection\n\t\t\t\t\t\tthis.connectionPort = receivingNode.getPort();\n\t\t\t\t\t\tthis.connectionIp = receivingNode.getIp();\n\t\t\t\t\t\t// send JOINED message\n\t\t\t\t\t\tsendMessage();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// close client socket \n\t\t\t\tsocket.close();\n\n\t\t\t}\n\t\t\t// else if sending a leave message\n\t\t\telse if (currentMsg.getType() == LEAVE)\n\t\t\t{\n\t\t\t\t// send out message\n\t\t\t\toutputStream.writeObject(currentMsg);\n\n\n\t\t\t}\n\t\t\t// otherwise, sending a note message\n\t\t\telse\n\t\t\t{\n\t\t\t\t// send out message\n\t\t\t\toutputStream.writeObject(currentMsg);\n\t\t\t}\n\t\t}\n\t\tcatch (IOException | ClassNotFoundException e)\n\t\t{\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}", "title": "" }, { "docid": "235051f9a2f7694fe3abf1d42664b7ee", "score": "0.58082426", "text": "public void writePacket(final ServerConnectedClient client, final Object packet) {\n client.getChannel().write(packet);\n }", "title": "" }, { "docid": "8862a700f65a868408dcbebe12833636", "score": "0.58077025", "text": "@SideOnly(Side.SERVER)\n public void sync()\n {\n CraftechNeeds.network.sendTo(new NeedsMessage(this.player), (EntityPlayerMP) this.player);\n }", "title": "" }, { "docid": "2b24b07dbf0cf663e1f31f01085a9cbe", "score": "0.58010286", "text": "public void send(Object obj){\n\t\ttry {\n\t\t\tserver.receive(obj);\n\t\t} catch (RemoteException e) {\n\t\t\tSystem.out.println(\"Errore invio client\");\n\t\t}\n\t}", "title": "" }, { "docid": "fb70c309b33aa2829725e58c51d55cfb", "score": "0.5793569", "text": "void send(ServerType serverType, Message message);", "title": "" }, { "docid": "9ac1ac33c52b7abeb2e53b0fba120c7d", "score": "0.57898885", "text": "private void sendData(String message) {\n try {\n socket = new Socket(hostAddress, portAddress);\n out = new ObjectOutputStream(socket.getOutputStream());\n in = new ObjectInputStream(socket.getInputStream());\n System.out.println(\"RestaurantClientFrame connected to the server\");\n\n out.writeObject(message);\n out.flush();\n System.out.println(\"RestaurantClientFrame>> \" + message);\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "01f5ea5c94c01695da206f93c9cb8ad1", "score": "0.57838684", "text": "private void serve() throws IOException { \t\n\t\twhile (true) {\n\t\t\t/*Verfie si tous les utilisateurs sont encore connecte*/\n\t\t\tverifUtilisateur();\n\t\t\t/* Reçoi taille du buffer*/\n\t\t\tDatagramPacket dgPacket = receive();\n\t\t\tString msg = new String(dgPacket.getData(), dgPacket.getOffset(), dgPacket.getLength());\n\t\t\t_bfLength = Integer.parseInt(msg);\n\t\t\t/*Reçoi le message*/\n\t\t\tdgPacket = receive();\n\t\t\tmsg = new String(dgPacket.getData(), dgPacket.getOffset(), dgPacket.getLength());\n\t\t\tInetAddress address = dgPacket.getAddress();\n\t\t\tint port = dgPacket.getPort();\n\t\t\tString answer = \"\";\n\t\t\tString[] words = null;\n\t\t\t/*Analyse la commande et lance l'action approprier*/\n\t\t\tif(msg.contains(\":\")){\n\t\t\t\twords = msg.split(\":\");\t\t\t\n\t\t\t\tswitch(words[0]){\n\t\t\t\t/*Retourne au client les informations detailler d'un utilisateurs*/\n\t\t\t\tcase(\"USERS\"):\n\t\t\t\t\tanswer = afficherUtilisateurs(words[1].trim());\n\t\t\t\t\tsend(address, port, answer);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t/*Retourne au client la liste des utilisateurs*/\t\n\t\t\t\tcase(\"LISTUSERS\"):\n\t\t\t\t\tanswer = listUsers(words[1].trim());\n\t\t\t\t\tsend(address, port, answer);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t/*Deconnection du client au serveur*/\t\n\t\t\t\tcase(\"QUIT\"):\n\t\t\t\t\tanswer = quit(words[1].trim());\n\t\t\t\t\tsend(address, port, answer);\n\t\t\t\t\tnotifyPeersQuit(words[1]);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t/*recupere liste fichier d'un client*/\t\n\t\t\t\tcase(\"CDP\"):\n\t\t\t\t\tlistefile(words[1], words[2], address, port);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t/*Envoie la liste de fichier d'un utilisateur au client*/\t\n\t\t\t\tcase(\"LIST\"):\n\t\t\t\t\tString msg2 = afficherFile(words[1]);\n\t\t\t\t\tsend(address, port, msg2);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t/*Retourne les informations d'un utilisateur au client*/\n\t\t\t\tcase(\"INFO\"):\n\t\t\t\t\tint ports = peers.get(words[1]).getPortTCP();\n\t\t\t\t\tString adresse = peers.get(words[1]).getAddress().toString();\n\t\t\t\t\tif(adresse.equals(\"/127.0.0.1\")){\n\t\t\t\t\t\tadresse = InetAddress.getLocalHost().toString();\n\t\t\t\t\t\tadresse = adresse.substring(adresse.length() - 14, adresse.length());\n\t\t\t\t\t\tSystem.out.println(adresse);\n\t\t\t\t\t}\n\t\t\t\t\tsend(address, port, \"NPA:\"+ports+\"-\"+adresse);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t/*Enregistre un utilisateur*/\n\t\t\t\tcase(\"RGTR\"):\n\t\t\t\t\tif(!peers.containsKey(words[1])){\n\t\t\t\t\t\tanswer = \"Bienvenue \" + words[1] + \" ! \\n\";\n\t\t\t\t\t\tif(address.equals(\"/127.0.0.1\")){\n\t\t\t\t\t\t\t answer = answer + register(InetAddress.getByName(this.address), port, words[1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t answer = answer + register(address, port, words[1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(peers.size() > 1){\n\t\t\t\t\t\t\tanswer = answer + afficherUtilisateurs(words[1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tanswer = \"Impossible de se connecter, choissisez un autre Pseudo :\";\n\t\t\t\t\t\t}\n\t\t\t\t\tsend(address, port, answer);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t/*Erreur si commande incorrecte*/\t\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.out.println(\"ERROR COMMANDE\");\n\t\t\t\t\tanswer = \"ERROR : Commande invalide\";\n\t\t\t\t\tsend(address, port, answer);\n\t\t\t\t\t_bfLength = 100;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "ec078fbfd97c6fe03b1aa6724aa99dc3", "score": "0.57821596", "text": "public void sendMessage(String message) { \n \t\n \t//Log.d(\"TcpClient\", \"going to send packet with content: [\"+message+\"]\");\n \t\n if (mBufferOut != null && !mBufferOut.checkError()) { \n mBufferOut.println(message); \n mBufferOut.flush(); \n } \n }", "title": "" }, { "docid": "703cdffe99ed9937041a4fffcfc41af5", "score": "0.5779989", "text": "public void transmissionSend();", "title": "" }, { "docid": "9a7a9ff88c64f96390a795d9d37c3280", "score": "0.57735175", "text": "public void sendClientTest(){\n Integer clientId;\n for (clientId = 0; clientId < this.serverSocketConnectionList.size(); clientId++){\n serverSocketConnectionList.get(clientId).clientTest();\n }\n }", "title": "" }, { "docid": "993ad3f7e59edc9aa3056f419fd8e601", "score": "0.5770672", "text": "private void sendMessageToServer(String code, String message) {\n try {\n outO.writeObject(new Packet(code, clientID, message));\n } catch (IOException e) {\n if (!tryingToEstablishConnection) {\n socket = null;\n System.out.printf(\"%nSocket Failed\");\n processLeaveGroupProtocol();\n establishConnection();\n }\n// e.printStackTrace();\n }\n }", "title": "" }, { "docid": "2d534d8511f268c5c7d3b7cdc850726d", "score": "0.57693774", "text": "private void send(final byte leftDirection, final byte leftPower, final byte rightDirection, final byte rightPower) {\n\t\ttry {\n\t\t\toutStream.write(new byte[] { leftDirection, leftPower, rightDirection, rightPower });\n\t\t\toutStream.flush();\n\t\t} catch (IOException e) {\n Log.e(ERROR_TAG, \"Could not set data\", e);\n\t\t}\n\t}", "title": "" }, { "docid": "44a0e407fa226fe469082fa6cdca7a73", "score": "0.5765855", "text": "public void startServerIndivid() {\n\t\tThread writeToClient = new Thread() {\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tObjectOutputStream oos = new ObjectOutputStream(\n\t\t\t\t\t\t\tserverSocket.getOutputStream());\n\t\t\t\t\tboolean wasInterrupted = false;\n\t\t\t\t\twhile (!wasInterrupted) {\n\t\t\t\t\t\tNetworkMessage nwm = networkMessageServerSentQueue\n\t\t\t\t\t\t\t\t.take();\n\t\t\t\t\t\tif (nwm instanceof StopMessage) {\n\t\t\t\t\t\t\twasInterrupted = true;\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\toos.writeObject(nwm);\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// System.out.println(\"server sender \"+nwm);\n\t\t\t\t\t}\n\t\t\t\t\tserverSocket.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out\n\t\t\t\t\t\t\t.println(nodeTalk.getMyName() + \"server send\" + e);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\twriteToClient.start();\n\n\t\tif (serverSocket != null) {\n\t\t\tThread receiveFromClient = new Thread() {\n\t\t\t\tpublic void run() {\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// For receiving text from the client\n\t\t\t\t\t\tObjectInputStream ois = new ObjectInputStream(\n\t\t\t\t\t\t\t\tserverSocket.getInputStream());\n\t\t\t\t\t\tboolean wasInterrupted = false;\n\t\t\t\t\t\twhile (!wasInterrupted) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tObject recObject = ois.readObject();\n\t\t\t\t\t\t\t\t// System.out.println(\"server modtager\"+recObject);\n\t\t\t\t\t\t\t\tif (recObject instanceof MyTextEvent) {\n\t\t\t\t\t\t\t\t\tMyTextEvent mte = (MyTextEvent) recObject;\n\t\t\t\t\t\t\t\t\tlamportCounterObj.setToMaxPlusOne(mte\n\t\t\t\t\t\t\t\t\t\t\t.getLamportCounter());\n\t\t\t\t\t\t\t\t\tif (mte.getName() != nodeTalk.getMyName()) {\n\t\t\t\t\t\t\t\t\t\tnodeTalk.client.networkMessageClientSentQueue\n\t\t\t\t\t\t\t\t\t\t\t\t.add(mte);\n\t\t\t\t\t\t\t\t\t\tdec.insertTextObject(mte);\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (recObject instanceof NetworkMessage) {\n\t\t\t\t\t\t\t\t\t\tnodeTalk.processMessage((NetworkMessage) recObject);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\t\t\twasInterrupted = true;\n\t\t\t\t\t\t\t\tserverSocket.close();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\tSystem.out.println(nodeTalk.getMyName()\n\t\t\t\t\t\t\t\t+ \"server modt \" + e1);\n\t\t\t\t\t}\n\t\t\t\t\tnetworkMessageServerSentQueue.add(new StopMessage(\n\t\t\t\t\t\t\tnodeTalk.BROADCAST, nodeTalk.BROADCAST));\n\t\t\t\t}\n\t\t\t};\n\t\t\treceiveFromClient.start();\n\n\t\t}\n\t}", "title": "" }, { "docid": "8aabe26bc132b637914765569acab285", "score": "0.5765832", "text": "void doTx()\n {\n if (snd.transmitBuffer.size() > 0)\n {\n PacketList1 p = snd.transmitBuffer.poll();\n double frameLength =p.packet_length;\n long Tg = (74 * 8)/1000000000;\n try {\n Thread.sleep(Tg * 1000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n System.out.println(\"Packets are sent to the network\");\n \n }", "title": "" }, { "docid": "faae9484bc90d75239444dc4b25dcdbb", "score": "0.5763957", "text": "public void sendToServer(byte[] message);", "title": "" }, { "docid": "c02a92f79c36fd72f901820c39019f73", "score": "0.57585734", "text": "void sendSession(Session session) throws IOException;", "title": "" }, { "docid": "4858d061b9c9ab9c0034d1c09619de54", "score": "0.5756684", "text": "public void messageClient(ToClientMessage msg, int playerId) {\n try {\n ClientHandler client = connections.get(playerId);\n ObjectOutputStream outStream = client.getOutput();\n outStream.writeObject(msg);\n outStream.flush();\n outStream.reset();\n } catch (IOException e){\n System.out.println(\"invalid stream from server\");\n }\n }", "title": "" }, { "docid": "753b85d5e235d91e4e058b266f8a3029", "score": "0.57542056", "text": "public void send(DataPacket dataPacket) throws IOException {\n\n byte data[]= dataPacket.marshal();\n //Sending the data\n InetAddress IP = InetAddress.getByName(host);\n DatagramPacket datagramPacket = new DatagramPacket(data,data.length,IP,port);\n datagramSocket.send(datagramPacket);\n }", "title": "" }, { "docid": "fc4e1d6f54302369160ba3e2ef181b18", "score": "0.57513344", "text": "public synchronized void sendToOne(Socket paramSocket, String paramString) {\n try {\n PrintWriter localPrintWriter = new PrintWriter(paramSocket.getOutputStream(), true);\n localPrintWriter.println(paramString);\n } \n catch (IOException localIOException) {\n System.out.println(\"FAILED: SEND TO ONE\");\n }\n }", "title": "" }, { "docid": "600fb3c25cbdd661a9db5496fadd219e", "score": "0.57469606", "text": "public void sendPackets(){\r\n\t\tfor(int i=0; i<this.nics.size(); i++)\r\n\t\t\tthis.nics.get(i).sendPackets();\r\n\t}", "title": "" }, { "docid": "e11a433aa487502aad0b2c1e24299e28", "score": "0.5745514", "text": "protected void messageSend(Object message)\r\n\t\t{\r\n\t\t\t//System.out.println(\"Sending message from MainApp.Client\");\r\n\t\t\tresetOutput();\r\n\t\t\tsuper.send(message);\r\n\t\t}", "title": "" }, { "docid": "43d5dbd15441cb7f9ce5f2f96ba2cf59", "score": "0.5739948", "text": "public static void clientSend(String encryptedMsg, int port){\n for(ClientHandler c : clientHandlerSingleton.getInstance().getClientHandlers()){\n if(c.getSocket().getPort() != port){\n try{\n c.getOutput().writeUTF(encryptedMsg);\n c.getOutput().flush();\n }catch (IOException e){\n e.printStackTrace();\n }\n }\n }\n }", "title": "" }, { "docid": "bc9bb349eb76ed44a173249428fae1ae", "score": "0.57380366", "text": "private void tellOtherSide(String message)\n {\n try\n {\n DatagramPacket msg = new DatagramPacket(message.getBytes(), message.getBytes().length, InetAddress.getByName(theIP), thePort); \n robotSocket.send(msg);\n }\n catch(Exception e)\n {\n System.out.println(e.getMessage());\n }\n System.out.println(message);\n }", "title": "" }, { "docid": "d3c0fe98b032c22b5cc36bec9cd622f8", "score": "0.57378805", "text": "@Test\n public void testSenderDetection() throws Throwable\n {\n final Pointer<NetworkNode> lastSender = new Pointer<NetworkNode>();\n final Pointer<Integer> counter = new Pointer<Integer>();\n counter.data = new Integer(0);\n new TestPacketHandler(22, counter, lastSender);\n final TestRunner runner = new TestRunner((short) 4222,\n new Packet[] { new Packet(22) })\n {\n /**\n * The second network client\n * \n * @author Zach Deibert\n * @since 1.0\n */\n private final NetworkClient client2 = new NetworkClient(); ;\n\n /**\n * Accepts all packets to be tested\n * \n * @author Zach Deibert\n * @param p\n * The packet to test\n * @since 1.0\n * @throws Throwable\n */\n @Override\n protected boolean verifyPacket(final Packet p) throws Throwable\n {\n return true;\n }\n\n /**\n * Connects both clients\n * \n * @author Zach Deibert\n * @since 1.0\n * @throws Throwable\n */\n @Override\n protected void connectClient() throws Throwable\n {\n client.connect(getLocalIp(), port);\n client2.connect(getLocalIp(), port);\n }\n\n /**\n * Disconnects both clients\n * \n * @author Zach Deibert\n * @since 1.0\n * @throws Throwable\n */\n @Override\n protected void freeClient() throws Throwable\n {\n client.disconnect();\n client2.disconnect();\n }\n\n /**\n * Sends the packet from both clients\n * \n * @author Zach Deibert\n * @since 1.0\n * @throws Throwable\n */\n @Override\n protected void testPacket(final Packet p) throws Throwable\n {\n client.sendPacket(p);\n client2.sendPacket(p);\n Thread.sleep(1000);\n }\n };\n runner.test();\n Assert.assertEquals(\"Not all packets arrived\", 2L,\n (long) (int) counter.data);\n }", "title": "" }, { "docid": "cc8cbe598f52ca14f8da994c42e5df86", "score": "0.5737318", "text": "private void performTCP() {\n\r\n\t\tPrintWriter out = null;\r\n\t\tURL url = null;\r\n\t\tint i = 1;\r\n\t\tSocket s = null;\r\n\t\tString req = \"This is msg \";\r\n\t\ttry {\r\n\r\n\t\t\t//in = new BufferedReader(new InputStreamReader(client.getInputStream()));\r\n\t\t\tout = new PrintWriter(client.getOutputStream(), true);\r\n\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(\"in or out failed\");\r\n\t\t\tSystem.exit(-1);\r\n\t\t}\r\n\r\n\t\twhile (i < 51) {\r\n\r\n\t\t\tString val = req + i;\r\n\t\t\tSystem.out.println(\"Sending TCP msg:\"+val);\r\n\t\t\tout.println(val);\r\n\t\t\t//String str = null;\r\n\t\t\ti++;\r\n\r\n\t\t}\r\n\t\t// in.close();\r\n\t\tout.close();\r\n\r\n\t}", "title": "" }, { "docid": "6525c78101f6faea1cc2f32aa849fba4", "score": "0.5735953", "text": "synchronized public void packetSend(Packet p) {\n float r=Random_loss.nextFloat() ;\n if ( r > p_loss) {\n if (p_send>=1.0) {\n try{ p.socket.send(p.Datagramm); }\n catch(Exception ex) { System.out.print(\"caught \"+ex) ; System.exit(0) ; }\n output.listln(\"DIRECT(\"+p.id+\")\");\n }\n else {\n p.delays=0 ;\n synchronized( packetList) { packetList.add(p) ; } ;\n output.listln(\"IN(\"+p.id+\")\");\n }\n }\n else {\n output.listln(\"LOST(\"+p.id+\")\");\n }\n }", "title": "" }, { "docid": "5a89f0fe838d393d18f09f1abae9fe43", "score": "0.5732278", "text": "public void send(SteamPacket dataPacket)\n throws SteamCondenserException {\n LOG.info(\"Sending data packet of type \\\"\" + dataPacket.getClass().getSimpleName() + \"\\\"\");\n\n try {\n this.buffer = ByteBuffer.wrap(dataPacket.getBytes());\n ((DatagramChannel) this.channel).send(this.buffer, this.remoteSocket);\n this.buffer.flip();\n } catch(IOException e) {\n throw new SteamCondenserException(e.getMessage(), e);\n }\n }", "title": "" }, { "docid": "bfac5e74ac7686bc1cb975b148d18b9b", "score": "0.57255113", "text": "public synchronized void transferData() {\r\n\r\n if (myInputStream == null) {\r\n throw new NullPointerException(\"myInputStream is null\");\r\n }\r\n\r\n if (myOutputStream == null) {\r\n throw new NullPointerException(\"myOutputStream is null\");\r\n }\r\n\r\n Object object = null;\r\n String type = null;\r\n String request = null;\r\n\r\n try {\r\n\r\n logger.info(\"attending client \");\r\n\r\n //attending request \r\n type = hashMap.get(\"type\").toString();\r\n request = hashMap.get(\"request\").toString();\r\n\r\n if (\"objectRequester\".equalsIgnoreCase(type)) {\r\n\r\n if (\"get all Categories\".equalsIgnoreCase(request)) {\r\n\r\n object = new DAO().getAll(\"Categories\");\r\n\r\n } else if (\"get all Subcategories\".equalsIgnoreCase(request)) {\r\n\r\n object = new DAO().getAll(\"Subcategories\");\r\n\r\n } else if (\"get all Collectors\".equalsIgnoreCase(request)) {\r\n\r\n object = new DAO().getAll(\"Collectors\");\r\n\r\n } else if (\"get Collectors\".equalsIgnoreCase(request)) {\r\n\r\n long id = Long.parseLong(hashMap.get(\"id\").toString());\r\n object = new DAO().get(id, Collectors.class);\r\n\r\n } else if (\"get all Configurations\".equalsIgnoreCase(request)) {\r\n\r\n object = new DAO().getAll(\"Configuration\");\r\n\r\n } else if (\"get Configurations\".equalsIgnoreCase(request)) {\r\n\r\n long id = Long.parseLong(hashMap.get(\"id\").toString());\r\n object = new DAO().get(id, Configuration.class);\r\n\r\n } else if (\"hsql\".equalsIgnoreCase(request)) {\r\n \r\n String hsql = hashMap.get(\"hsql\").toString();\r\n object = new DAO().hsql(hsql);\r\n \r\n }\r\n\r\n }\r\n\r\n //resend remoteObject to client\r\n sendObjectClient(object);\r\n\r\n } catch (Exception e) {\r\n logger.error(\"server: \" + e + \" \" + collector.getIp() + \" port: \" + collector.getPort());\r\n e.printStackTrace();\r\n sendErrorClient(e);\r\n } finally {\r\n closer();\r\n }\r\n\r\n }", "title": "" }, { "docid": "2a9e118ce3aea7f38737f3c8a0124bbd", "score": "0.57238585", "text": "public void sendJoinMessage() {\n Message msg = new Message(MessageType.JOIN, this.player);\n this.out.writeObject(msg);\n this.out.flush();\n System.out.println(\"CLIENT PROTOCOL : Join-Message sended\");\n }", "title": "" }, { "docid": "8099468bacfea3f29868e3589faf110d", "score": "0.57215214", "text": "@Override\n\tvoid chat(Player player, ObjectInputStream is, ObjectOutputStream os) throws IOException, ClassNotFoundException {\n\t\twhile ((sender = (Player) is.readObject()) != null) {\n\t\t\tif (sender.getMessageCount().intValue() == Constants.messageCount && player.getMessageCount().intValue() == Constants.messageCount) {\n\t\t\t\tsuper.exitApplication();\n\t\t\t}\n\t\t\tplayer.getResponseFor(sender);\n\t\t\tprint(\"Sending From Client: \" + player.getMessage());\n\t\t\tos.reset();\n\t\t\tos.writeObject(player);\n\t\t}\n\t}", "title": "" }, { "docid": "1821612299ceac310c0b227435a9dca4", "score": "0.57141304", "text": "public void run() {\n\t\t\t\ttry {\n\t\t\t\t\t// initialize UDP socket\n\t\t\t\t\tudpSocket = new DatagramSocket();\n\n\t\t\t\t\t// initialize TCP socket\n\t\t\t\t\ttcpSocket = new ServerSocket(0);\n\n\t\t\t\t\t// send port number of new thread server to client\n\t\t\t\t\tsend = Integer.toString(udpSocket.getLocalPort()) + \" 123\";\n\t\t\t\t\tsbuffer = send.getBytes();\n\t\t\t\t\tsPacket = new DatagramPacket(sbuffer, sbuffer.length, ia, port);\n\t\t\t\t\tudpSocket.send(sPacket);\n\n\t\t\t\t\t// initialize file writer\n\t\t\t\t\tPrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(\"out_\" + clientID + \".txt\", true)));\n\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\t// UDP connection\n\t\t\t\t\t\twhile (UDP) {\n\t\t\t\t\t\t\t// receive command from client\n\t\t\t\t\t\t\trPacket = new DatagramPacket(rbuffer, rbuffer.length);\n\t\t\t\t\t\t\tudpSocket.receive(rPacket);\n\t\t\t\t\t\t\trData = new String(rbuffer).split(\" \");\n\t\t\t\t\t\t\treceive = new String(rbuffer);\n\t\t\t\t\t\t\trbuffer = new byte[1024];\n\t\t\t\t\t\t\tsbuffer = new byte[1024];\n\n\t\t\t\t\t\t\tswitch (rData[0].trim()) {\n\t\t\t\t\t\t\tcase \"setmode\":\n\t\t\t\t\t\t\t\t// set mode to UDP comm.\n\t\t\t\t\t\t\t\tif (rData[1].trim().equals(\"U\")) {\n\t\t\t\t\t\t\t\t\tUDP = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// set mode to TCP comm.\n\t\t\t\t\t\t\t\t// initialize TCP comm.\n\t\t\t\t\t\t\t\telse if (rData[1].trim().equals(\"T\") && !initializedTCP) {\n\t\t\t\t\t\t\t\t\tUDP = false;\n\t\t\t\t\t\t\t\t\tinitializedTCP = true;\n\n\t\t\t\t\t\t\t\t\t// Send TCP port number to client using UDP connection\n\t\t\t\t\t\t\t\t\tsend = Integer.toString(tcpSocket.getLocalPort()) + \" 123\";\n\t\t\t\t\t\t\t\t\tsbuffer = send.getBytes();\n\t\t\t\t\t\t\t\t\tsPacket = new DatagramPacket(sbuffer, sbuffer.length, ia, port);\n\t\t\t\t\t\t\t\t\tudpSocket.send(sPacket);\n\n\t\t\t\t\t\t\t\t\t// Accept connection from TCP client\n\t\t\t\t\t\t\t\t\tclientSocket = tcpSocket.accept();\n\n\t\t\t\t\t\t\t\t\t// Establish means of communication with client\n\t\t\t\t\t\t\t\t\ttcpOut = new PrintWriter(clientSocket.getOutputStream(), true);\n\t\t\t\t\t\t\t\t\ttcpIn = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// set mode to TCP comm.\n\t\t\t\t\t\t\t\telse if (rData[1].trim().equals(\"T\")) {\n\t\t\t\t\t\t\t\t\tUDP = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"borrow\":\n\t\t\t\t\t\t\t\tString studentName = rData[1];\n\t\t\t\t\t\t\t\tString bookName = receive;\n\t\t\t\t\t\t\t\tbookName = bookName.substring(bookName.indexOf(\"\\\"\") + 1);\n\t\t\t\t\t\t\t\tbookName = bookName.substring(0, bookName.indexOf(\"\\\"\"));\n\n\t\t\t\t\t\t\t\t// if person already exists in records, borrow book from bookInventory\n\t\t\t\t\t\t\t\t// also add book to person's inventory record\n\t\t\t\t\t\t\t\tif (personListed(studentName)) {\n\t\t\t\t\t\t\t\t\tsynchronized(bookInventory) {\n\t\t\t\t\t\t\t\t\t\tif (getPerson(studentName).borrowBook(bookInventory, bookName, recordID, \"out_\" + clientID + \".txt\")) {\n\t\t\t\t\t\t\t\t\t\t\trecordID++;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// else initialize person in records and borrow book from bookInventory\n\t\t\t\t\t\t\t\t// also add book to person's inventory record\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tPersonInventory person = new PersonInventory(studentName);\n\t\t\t\t\t\t\t\t\tsynchronized(bookInventory) {\n\t\t\t\t\t\t\t\t\t\tif (person.borrowBook(bookInventory, bookName, recordID, \"out_\" + clientID + \".txt\")) {\n\t\t\t\t\t\t\t\t\t\t\trecordID++;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tsynchronized(people){\n\t\t\t\t\t\t\t\t\t\tpeople.add(person);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"return\":\n\t\t\t\t\t\t\t\tint id = Integer.parseInt(rData[1].trim());\n\t\t\t\t\t\t\t\t// if the record ID exists then return the book\n\t\t\t\t\t\t\t\tif (listContainsRecordID(id) != -1) {\n\t\t\t\t\t\t\t\t\tpeople.get(listContainsRecordID(id)).returnBook(bookInventory, \"out_\" + clientID + \".txt\", id);\n\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t// if the record ID doesn't exist print \"not found\"\n\t\t\t\t\t\t\t\telse if (listContainsRecordID(id) == -1) {\n\t\t\t\t\t\t\t\t\tout.println(id + \" not found\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"inventory\":\n\t\t\t\t\t\t\t\t// output a list of the current book inventory\n\t\t\t\t\t\t\t\tFile file = new File(\"inventory.txt\");\n\t\t\t\t\t\t\t\tfile.delete();\n\t\t\t\t\t\t\t\tsynchronized (bookInventory) {\n\t\t\t\t\t\t\t\t\tbookInventory.getInventory(\"out_\" + clientID + \".txt\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"list\":\n\t\t\t\t\t\t\t\t// list the specified person's inventory record\n\t\t\t\t\t\t\t\tString name = rData[1];\n\t\t\t\t\t\t\t\tif (personListed(name.trim())) {\n\t\t\t\t\t\t\t\t\tgetPerson(name.trim()).listBooks(\"out_\" + clientID + \".txt\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tout.println(\"No record found for \" + name);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"exit\":\n\t\t\t\t\t\t\t\t// output a list of the current book inventory\n\t\t\t\t\t\t\t\tsynchronized (bookInventory) {\n\t\t\t\t\t\t\t\t\tbookInventory.getInventory(\"inventory.txt\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// close the file writer\n\t\t\t\t\t\t\t\tout.close();\n\t\t\t\t\t\t\t\t// stop the thread\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\t// TCP connection\n\t\t\t\t\t\twhile (!UDP) {\n\t\t\t\t\t\t\tString input;\n\t\t\t\t\t\t\twhile ((input = tcpIn.readLine()) != null) {\n\t\t\t\t\t\t\t\trData = input.split(\" \");\n\t\t\t\t\t\t\t\treceive = input;\n\t\t\t\t\t\t\t\tswitch (rData[0].trim()) {\n\t\t\t\t\t\t\t\tcase \"setmode\":\n\t\t\t\t\t\t\t\t\t// set mode to UDP comm.\n\t\t\t\t\t\t\t\t\tif (rData[1].trim().equals(\"U\")) {\n\t\t\t\t\t\t\t\t\t\tUDP = true;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t// set mode to TCP comm.\n\t\t\t\t\t\t\t\t\telse if (rData[1].trim().equals(\"T\")) {\n\t\t\t\t\t\t\t\t\t\tUDP = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"borrow\":\n\t\t\t\t\t\t\t\t\tString studentName = rData[1];\n\t\t\t\t\t\t\t\t\tString bookName = receive;\n\t\t\t\t\t\t\t\t\tbookName = bookName.substring(bookName.indexOf(\"\\\"\") + 1);\n\t\t\t\t\t\t\t\t\tbookName = bookName.substring(0, bookName.indexOf(\"\\\"\"));\n\n\t\t\t\t\t\t\t\t\t// if person already exists in records, borrow book from bookInventory\n\t\t\t\t\t\t\t\t\t// also add book to person's inventory record\n\t\t\t\t\t\t\t\t\tif (personListed(studentName)) {\n\t\t\t\t\t\t\t\t\t\tsynchronized(bookInventory) {\n\t\t\t\t\t\t\t\t\t\t\tif (getPerson(studentName).borrowBook(bookInventory, bookName, recordID, \"out_\" + clientID + \".txt\")) {\n\t\t\t\t\t\t\t\t\t\t\t\trecordID++;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t// else initialize person in records and borrow book from bookInventory\n\t\t\t\t\t\t\t\t\t// also add book to person's inventory record\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\tPersonInventory person = new PersonInventory(studentName);\n\t\t\t\t\t\t\t\t\t\tsynchronized(bookInventory) {\n\t\t\t\t\t\t\t\t\t\t\tif (person.borrowBook(bookInventory, bookName, recordID, \"out_\" + clientID + \".txt\")) {\n\t\t\t\t\t\t\t\t\t\t\t\trecordID++;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tsynchronized(people){\n\t\t\t\t\t\t\t\t\t\t\tpeople.add(person);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"return\":\n\t\t\t\t\t\t\t\t\tint id = Integer.parseInt(rData[1].trim());\n\t\t\t\t\t\t\t\t\t// if the record ID exists then return the book\n\t\t\t\t\t\t\t\t\tif (listContainsRecordID(id) != -1) {\n\t\t\t\t\t\t\t\t\t\tsynchronized(people){\n\t\t\t\t\t\t\t\t\t\t\tpeople.get(listContainsRecordID(id)).returnBook(bookInventory, \"out_\" + clientID + \".txt\", id);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t// if the record ID doesn't exist print \"not found\"\n\t\t\t\t\t\t\t\t\telse if (listContainsRecordID(id) == -1) {\n\t\t\t\t\t\t\t\t\t\tout.println(id + \" not found\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"inventory\":\n\t\t\t\t\t\t\t\t\t// output a list of the current book inventory\n\t\t\t\t\t\t\t\t\tsynchronized (bookInventory) {\n\t\t\t\t\t\t\t\t\t\tFile file = new File(\"inventory.txt\");\n\t\t\t\t\t\t\t\t\t\tfile.delete();\n\t\t\t\t\t\t\t\t\t\tbookInventory.getInventory(\"out_\" + clientID + \".txt\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"list\":\n\t\t\t\t\t\t\t\t\tString name = rData[1];\n\t\t\t\t\t\t\t\t\t// list the specified person's inventory record\n\t\t\t\t\t\t\t\t\tif (personListed(name.trim())) {\n\t\t\t\t\t\t\t\t\t\tgetPerson(name.trim()).listBooks(\"out_\" + clientID + \".txt\");\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tout.println(\"No record found for \" + name);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"exit\":\n\t\t\t\t\t\t\t\t\t// output a list of the current book inventory\n\t\t\t\t\t\t\t\t\tsynchronized (bookInventory) {\n\t\t\t\t\t\t\t\t\t\tbookInventory.getInventory(\"inventory.txt\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// close the file writer\n\t\t\t\t\t\t\t\t\tout.close();\n\t\t\t\t\t\t\t\t\t// stop the thread\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "9d501ef5c81a279cf562e4ede0f1ebca", "score": "0.5712404", "text": "public void run() {\n\t\ttry {\n\t\t\tRunnable sendAlive = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tgossip(getPredecessor(), getSuccessor());\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\toutput = clientSocket.getOutputStream();\n\t\t\tinput = clientSocket.getInputStream();\n\n\t\t\t// key file\n\t\t\tcurrentNode = clientSocket.getLocalAddress().toString().substring(1) + \":\" + clientSocket.getLocalPort();\n\t\t\tmetadata = server.getMetaData();\n\t\t\tcache = server.getCache();\n\n\t\t\tsendMessage(\"Connection to MSRG Echo server established: \" + clientSocket.getLocalAddress() + \" / \"\n\t\t\t\t\t+ clientSocket.getLocalPort() + '\\r');\n\n\t\t\twhile (isOpen) {\n\n\t\t\t\ttry {\n\n\t\t\t\t\t/* Receives data sent by any client */\n\t\t\t\t\tKVMessage msg = receiveDataAsyn().call();\n\n\t\t\t\t\tString key = msg.getKey();\n\t\t\t\t\tString value = msg.getValue();\n\t\t\t\t\tStatusType status = msg.getStatus();\n\n\t\t\t\t\tif (status == StatusType.SERVER_STOPPED) {\n\t\t\t\t\t\tif (key.trim().equals(\"command\")) {\n\n\t\t\t\t\t\t\t/* Start servers command starts here */\n\t\t\t\t\t\t\t/*********************************/\n\t\t\t\t\t\t\tif (value.trim().equals(\"start\")) {\n\t\t\t\t\t\t\t\tserverState = true;\n\t\t\t\t\t\t\t\tmetadata.showPositions();\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, metadata.getPredecessor(currentNode),\n\t\t\t\t\t\t\t\t\t\tmetadata.getSePredecessor(currentNode));\n\n\t\t\t\t\t\t\t\tpredecessor = metadata.getSuccessor(currentNode);\n\t\t\t\t\t\t\t\tsuccessor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tScheduledExecutorService exec = Executors.newScheduledThreadPool(1);\n\t\t\t\t\t\t\t\texec.scheduleAtFixedRate(sendAlive, 0, 40, TimeUnit.SECONDS);\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Start servers command ends here */\n\t\t\t\t\t\t\t/*********************************/\n\n\t\t\t\t\t\t\t/* Stop servers command starts here */\n\t\t\t\t\t\t\t/*********************************/\n\t\t\t\t\t\t\telse if (value.trim().equals(\"stop\")) {\n\n\t\t\t\t\t\t\t\tserverState = false;\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<type:\" + key + \" name:\" + value + \" Server Status:\" + status\n\t\t\t\t\t\t\t\t\t\t+ \">\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Stop servers command ends here */\n\t\t\t\t\t\t\t/*********************************/\n\t\t\t\t\t\t\t/* Storing as control room starts here */\n\t\t\t\t\t\t\telse if (value.trim().split(\";\")[0].equals(\"subscribe\")) {\n\t\t\t\t\t\t\t\tString controlRoomAddress = value.trim().split(\";\")[1];\n\t\t\t\t\t\t\t\tString level = value.trim().split(\";\")[2];\n\t\t\t\t\t\t\t\tcontrolRoom.put(controlRoomAddress, level);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Storing as control room ends here */\n\n\t\t\t\t\t\t\t/* Removing control room starts here */\n\t\t\t\t\t\t\telse if (value.trim().split(\";\")[0].equals(\"unsubscribe\")) {\n\t\t\t\t\t\t\t\tString controlRoomAddress = value.trim().split(\";\")[1];\n\t\t\t\t\t\t\t\tcontrolRoom.put(controlRoomAddress, \"null\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Removing control room ends here */\n\n\t\t\t\t\t\t\t/* Buffer starts here */\n\t\t\t\t\t\t\telse if (value.trim().split(\";\")[0].equals(\"buffer\")) {\n\t\t\t\t\t\t\t\tString controlRoomAddress = value.trim().split(\";\")[1];\n\t\t\t\t\t\t\t\tString keyValuePair = value.trim().split(\";\")[2];\n\t\t\t\t\t\t\t\tnotificationBuffer.put(controlRoomAddress, keyValuePair);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Buffer ends here */\n\n\t\t\t\t\t\t\t/* Remove buffer starts here */\n\t\t\t\t\t\t\telse if (value.trim().split(\";\")[0].equals(\"removebuffer\")) {\n\t\t\t\t\t\t\t\tnotificationBuffer.put(value.trim().split(\";\")[1], \"null\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Remove buffer ends here */\n\n\t\t\t\t\t\t\t/* Remove node commands starts here */\n\t\t\t\t\t\t\t/*********************************/\n\t\t\t\t\t\t\t// This command will be executed at first successor\n\t\t\t\t\t\t\t// of removed node\n\t\t\t\t\t\t\telse if (value.trim().split(\";\")[0].equals(\"transfer\")) {\n\t\t\t\t\t\t\t\tList<String> list = replica_1.getAllKey();\n\t\t\t\t\t\t\t\tif (list.size() > 0) {\n\n\t\t\t\t\t\t\t\t\tfor (String ckey : list) {\n\t\t\t\t\t\t\t\t\t\tstore.put(ckey, replica_1.get(ckey));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tString firstSuccessor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tString secondSuccessor = metadata.getSePredecessor(currentNode);\n\t\t\t\t\t\t\t\tString firstPredecessor = metadata.getSuccessor(currentNode);\n\t\t\t\t\t\t\t\tif (firstSuccessor.equals(currentNode)) {\n\t\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsendCommand(\"erase_both\", firstSuccessor);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (secondSuccessor.equals(currentNode)) {\n\t\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsendCommand(\"erase_second\", secondSuccessor);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, firstSuccessor, secondSuccessor);\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\tsendCommand(\"re_pre_1_r\", firstPredecessor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This command will be executed at second successor\n\t\t\t\t\t\t\t// of removed node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"erase_both\")) {\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// This command will be executed at third successor\n\t\t\t\t\t\t\t// of removed node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"erase_second\")) {\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This command will be executed at removed node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"re_pre_1_r\")) {\n\t\t\t\t\t\t\t\tString firstSuccessor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tString secondSuccessor = metadata.getSePredecessor(currentNode);\n\t\t\t\t\t\t\t\tString firstPredecessor = metadata.getSuccessor(currentNode);\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, firstSuccessor, secondSuccessor);\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\tsendCommand(\"re_pre_2_r\", firstPredecessor);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// This command will be executed at first\n\t\t\t\t\t\t\t// predecessor of removed node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"re_pre_2_r\")) {\n\t\t\t\t\t\t\t\tString firstSuccessor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tString secondSuccessor = metadata.getSePredecessor(currentNode);\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, firstSuccessor, secondSuccessor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This command will be executed at removed node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"shutdown\")) {\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<type:\" + key + \" name:\" + value + \" Server Status:\" + status\n\t\t\t\t\t\t\t\t\t\t+ \">\");\n\t\t\t\t\t\t\t\tshutdown();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/* Remove node commands starts here */\n\t\t\t\t\t\t\t/*********************************/\n\n\t\t\t\t\t\t\t/* Add new node commands starts here */\n\t\t\t\t\t\t\t/***********************************/\n\n\t\t\t\t\t\t\t// This command will be executed at new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"add_new_node\")) {\n\t\t\t\t\t\t\t\tScheduledExecutorService exec = Executors.newScheduledThreadPool(1);\n\t\t\t\t\t\t\t\texec.scheduleAtFixedRate(sendAlive, 0, 40, TimeUnit.SECONDS);\n\t\t\t\t\t\t\t\tserverState = true;\n\t\t\t\t\t\t\t\tmetadata.showPositions();\n\t\t\t\t\t\t\t\tString successor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"retrieve_from_successor\", successor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This command will be executed at successor of new\n\t\t\t\t\t\t\t// node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"retrieve_from_successor\")) {\n\t\t\t\t\t\t\t\tlock_write = true;\n\n\t\t\t\t\t\t\t\tString predecessor = metadata.getSuccessor(currentNode);\n\t\t\t\t\t\t\t\tSystem.out.println(\"p \" + predecessor);\n\t\t\t\t\t\t\t\tList<String> keyList = store.getAllKey();\n\n\t\t\t\t\t\t\t\tString tKey = \"\";\n\t\t\t\t\t\t\t\tString tValue = \"\";\n\t\t\t\t\t\t\t\tfor (String cKey : keyList) {\n\t\t\t\t\t\t\t\t\tif (metadata.get(cKey).equals(predecessor)) {\n\t\t\t\t\t\t\t\t\t\ttKey = tKey + \":\" + cKey;\n\t\t\t\t\t\t\t\t\t\ttValue = tValue + \":\" + store.get(cKey);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor (String cKey : keyList) {\n\t\t\t\t\t\t\t\t\tif (metadata.get(cKey).equals(predecessor)) {\n\t\t\t\t\t\t\t\t\t\tstore.put(cKey, \"null\");\n\t\t\t\t\t\t\t\t\t\tcache.remove(cKey);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (tKey.length() > 1) {\n\t\t\t\t\t\t\t\t\tKVStore client = new KVStore(predecessor.trim().split(\":\")[0],\n\t\t\t\t\t\t\t\t\t\t\tInteger.parseInt(predecessor.trim().split(\":\")[1]));\n\t\t\t\t\t\t\t\t\tclient.connect();\n\n\t\t\t\t\t\t\t\t\tmoveData(tKey, tValue, client, StatusType.SERVER_WRITE_LOCKED);\n\t\t\t\t\t\t\t\t\tclient.disconnect();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tSystem.out.println(tKey + tValue);\n\t\t\t\t\t\t\t\tlock_write = false;\n\t\t\t\t\t\t\t\tsendCommand(\"start_replication\", predecessor);\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// This command will be executed at new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"start_replication\")) {\n\t\t\t\t\t\t\t\tString successor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\t// erase first successor\n\t\t\t\t\t\t\t\tsendCommand(\"erase_first\", successor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// erase first successor\n\t\t\t\t\t\t\t// This command will be executed at first successor\n\t\t\t\t\t\t\t// of new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"erase_first\")) {\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\tString successor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"erase_second_\", successor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// erase second successor\n\t\t\t\t\t\t\t// This command will be executed at second successor\n\t\t\t\t\t\t\t// of new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"erase_second_\")) {\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\tString secondPredecessor = metadata.getSeSuccessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"move_newnode_successor\", secondPredecessor);\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This command will be executed at new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"move_newnode_successor\")) {\n\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, metadata.getPredecessor(currentNode),\n\t\t\t\t\t\t\t\t\t\tmetadata.getSePredecessor(currentNode));\n\t\t\t\t\t\t\t\tString successor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"reach_suc_1\", successor);\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// This command will be executed at first successor\n\t\t\t\t\t\t\t// of new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"reach_suc_1\")) {\n\t\t\t\t\t\t\t\tString secondSuccessor = metadata.getSePredecessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"reach_suc_2\", secondSuccessor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This code will be executed at third successor of\n\t\t\t\t\t\t\t// new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"reach_suc_2\")) {\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\tString secondPredecessor = metadata.getSeSuccessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"reach_pre_2\", secondPredecessor);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// This code will be executed at first successor of\n\t\t\t\t\t\t\t// new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"reach_pre_2\")) {\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, metadata.getPredecessor(currentNode),\n\t\t\t\t\t\t\t\t\t\tmetadata.getSePredecessor(currentNode));\n\t\t\t\t\t\t\t\tString predecessor = metadata.getSuccessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"reach_new_node\", predecessor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This code will be execute at new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"reach_new_node\")) {\n\t\t\t\t\t\t\t\treplica_1.eraseContent();\n\t\t\t\t\t\t\t\treplica_2.eraseContent();\n\t\t\t\t\t\t\t\tsendCommand(\"invoke_rep_pre_2\", metadata.getSeSuccessor(currentNode));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// This code will be executed at predecessor 2 of\n\t\t\t\t\t\t\t// new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"invoke_rep_pre_2\")) {\n\t\t\t\t\t\t\t\tList<String> keyList = store.getAllKey();\n\t\t\t\t\t\t\t\tString tKey = \"\";\n\t\t\t\t\t\t\t\tString tValue = \"\";\n\t\t\t\t\t\t\t\tfor (String cKey : keyList) {\n\t\t\t\t\t\t\t\t\ttKey = tKey + \":\" + cKey;\n\t\t\t\t\t\t\t\t\ttValue = tValue + \":\" + store.get(cKey);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tString secondSuccessor = metadata.getSePredecessor(currentNode);\n\t\t\t\t\t\t\t\tif (tKey.length() > 1) {\n\t\t\t\t\t\t\t\t\tKVStore client = new KVStore(secondSuccessor.trim().split(\":\")[0],\n\t\t\t\t\t\t\t\t\t\t\tInteger.parseInt(secondSuccessor.trim().split(\":\")[1]));\n\t\t\t\t\t\t\t\t\tclient.connect();\n\n\t\t\t\t\t\t\t\t\tmoveData(tKey, tValue, client, StatusType.SERVER_REPLICA_SUC2);\n\t\t\t\t\t\t\t\t\tclient.disconnect();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tString successor = metadata.getPredecessor(currentNode);\n\t\t\t\t\t\t\t\tsendCommand(\"invoke_rep_pre_1\", successor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// This code will be executed at predecessor 1 of\n\t\t\t\t\t\t\t// new node\n\t\t\t\t\t\t\telse if (value.trim().equals(\"invoke_rep_pre_1\")) {\n\t\t\t\t\t\t\t\tmoveDataToSuccessors(currentNode, metadata.getPredecessor(currentNode),\n\t\t\t\t\t\t\t\t\t\tmetadata.getSePredecessor(currentNode));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * Update command is responsible for updating\n\t\t\t\t\t\t\t * metadat of current node where it's being invoked\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\telse if (value.trim().equals(\"update\")) {\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<type:\" + key + \" name:\" + value + \" Server Status:\" + status\n\t\t\t\t\t\t\t\t\t\t+ \">\");\n\t\t\t\t\t\t\t\tserver.setMetaData(msg.getMetadata());\n\t\t\t\t\t\t\t\tmetadata = server.getMetaData();\n\t\t\t\t\t\t\t\tpredecessor = metadata.getSuccessor(currentNode);\n\t\t\t\t\t\t\t\tsuccessor = metadata.getPredecessor(currentNode);\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * If no command matches as default server will be\n\t\t\t\t\t\t * initialied\n\t\t\t\t\t\t */\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tint cachesize = Integer.parseInt(key);\n\t\t\t\t\t\t\tif (value.trim().equals(\"FIFO\")) {\n\t\t\t\t\t\t\t\tcache = new LRUCache(cachesize, false);\n\t\t\t\t\t\t\t} else if (value.trim().equals(\"LRU\")) {\n\t\t\t\t\t\t\t\tcache = new LRUCache(cachesize, true);\n\t\t\t\t\t\t\t} else if (value.trim().equals(\"LFU\")) {\n\t\t\t\t\t\t\t\tfloat evictionfactor = (float) 1 / cachesize;\n\t\t\t\t\t\t\t\tcache = new LFUCache(cachesize, evictionfactor);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmetadata = msg.getMetadata();\n\t\t\t\t\t\t\tserver.setMetaData(metadata);\n\t\t\t\t\t\t\tserver.setCache(cache);\n\t\t\t\t\t\t\tserverState = false;\n\t\t\t\t\t\t\tlogger.debug(\"Server Initiated with \\t<Cache Size:\" + key + \" displacement strategy:\"\n\t\t\t\t\t\t\t\t\t+ value + \" Server Status:\" + status.toString() + \">\");\n\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t/* Write pairs to replicas starts here */\n\t\t\t\t\t/************************************/\n\t\t\t\t\telse if (status == StatusType.SERVER_REPLICA_SUC1) {\n\n\t\t\t\t\t\tif (serverState == true) {\n\n\t\t\t\t\t\t\tif (lock_write == false) {\n\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t\t+ status.toString() + \">\");\n\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t// Normal put operation\n\n\t\t\t\t\t\t\t\t\tString oldVal = cache.get(key);\n\t\t\t\t\t\t\t\t\t// previously key presents in cache\n\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\"))\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, null);\n\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t// update replica 1\n\t\t\t\t\t\t\t\t\t\treplica_1.put(key, value);\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// previously key absents in cache\n\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\toldVal = replica_1.get(key);\n\n\t\t\t\t\t\t\t\t\t\t// previously key presents in\n\t\t\t\t\t\t\t\t\t\t// file\n\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t\t// update file and insert\n\t\t\t\t\t\t\t\t\t\t\t// into\n\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\treplica_1.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\"))\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, null);\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// key absents in file\n\t\t\t\t\t\t\t\t\t\telse {\n\n\t\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\"))\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, null);\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\t// stores into replica 1\n\t\t\t\t\t\t\t\t\t\t\treplica_1.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tcatch (Exception e) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t\t+ \"SERVER_WRITE_LOCKED Can't write to server\" + \">\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t+ \"SERVER_STOPPED Please issue start command again\" + \">\");\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else if (status == StatusType.SERVER_REPLICA_SUC2) {\n\n\t\t\t\t\t\tif (serverState == true) {\n\n\t\t\t\t\t\t\tif (lock_write == false) {\n\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t// Normal put operation\n\n\t\t\t\t\t\t\t\t\tString oldVal = cache.get(key);\n\t\t\t\t\t\t\t\t\t// previously key presents in cache\n\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\"))\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, null);\n\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t// update replica 2\n\t\t\t\t\t\t\t\t\t\treplica_2.put(key, value);\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// previously key absents in cache\n\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\toldVal = replica_2.get(key);\n\n\t\t\t\t\t\t\t\t\t\t// previously key presents in\n\t\t\t\t\t\t\t\t\t\t// file\n\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t\t// update replica 2 and insert\n\t\t\t\t\t\t\t\t\t\t\t// into\n\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\treplica_2.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\"))\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, null);\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// key absents in file\n\t\t\t\t\t\t\t\t\t\telse {\n\n\t\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\"))\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, null);\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\t// store into replica 2\n\t\t\t\t\t\t\t\t\t\t\treplica_2.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tcatch (Exception e) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t\t+ \"SERVER_WRITE_LOCKED Can't write to server\" + \">\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t+ \"SERVER_STOPPED Please issue start command again\" + \">\");\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\t/* Write pairs to replicas ends here */\n\t\t\t\t\t/************************************/\n\n\t\t\t\t\t/*\n\t\t\t\t\t * Transferring data from one server to another server\n\t\t\t\t\t * starts here\n\t\t\t\t\t */\n\t\t\t\t\t/****************************************************************/\n\t\t\t\t\telse if (status == StatusType.SERVER_WRITE_LOCKED) {\n\t\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t\t\t\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\" + status.toString() + \">\");\n\n\t\t\t\t\t\tif (serverState == true) {\n\n\t\t\t\t\t\t\tif (lock_write == false) {\n\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t\t+ status.toString() + \">\");\n\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t// Normal put operation\n\n\t\t\t\t\t\t\t\t\tString oldVal = cache.get(key);\n\t\t\t\t\t\t\t\t\t// previously key presents in cache\n\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t// update file\n\t\t\t\t\t\t\t\t\t\tstore.put(key, value);\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// previously key absents in cache\n\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\toldVal = store.get(key);\n\n\t\t\t\t\t\t\t\t\t\t// previously key presents in\n\t\t\t\t\t\t\t\t\t\t// file\n\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t\t// update file and insert\n\t\t\t\t\t\t\t\t\t\t\t// into\n\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\tstore.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// key absents in file\n\t\t\t\t\t\t\t\t\t\telse {\n\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\t// store into file\n\t\t\t\t\t\t\t\t\t\t\tstore.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tcatch (Exception e) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t\t+ \"SERVER_WRITE_LOCKED Can't write to server\" + \">\");\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlogger.debug(\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\"\n\t\t\t\t\t\t\t\t\t+ \"SERVER_STOPPED Please issue start command again\" + \">\");\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\t/*\n\t\t\t\t\t * Transferring data from one server to another server ends\n\t\t\t\t\t * here\n\t\t\t\t\t */\n\t\t\t\t\t/****************************************************************/\n\t\t\t\t\t/* Put pairs starts here */\n\t\t\t\t\t/***********************/\n\t\t\t\t\telse if (status == StatusType.PUT) {\n\t\t\t\t\t\tmetadata = server.getMetaData();\n\t\t\t\t\t\tbyte[] totalByte = null;\n\t\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t\t\t\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\" + status.toString() + \">\");\n\n\t\t\t\t\t\tif (key.equals(\"client_:;_mac\")) {\n\t\t\t\t\t\t\tclientMac.add(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (serverState == true) {\n\n\t\t\t\t\t\t\tif (lock_write == false) {\n\n\t\t\t\t\t\t\t\tString[] tokens = key.split(\";\");\n\n\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t * First splits key of a put operation using\n\t\t\t\t\t\t\t\t * regex (;) If the token length after splitting\n\t\t\t\t\t\t\t\t * is larger than 1 then it's a put operation\n\t\t\t\t\t\t\t\t * from control room that needs to be handled in\n\t\t\t\t\t\t\t\t * different way\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tif (tokens.length > 1) {\n\n\t\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t\t * Put the subscription message not only the\n\t\t\t\t\t\t\t\t\t * persistent storage of current server node\n\t\t\t\t\t\t\t\t\t * but also in all server node's\n\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\tif (tokens[0].equals(\"subscribe\")) {\n\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(tokens[0].getBytes(), value.getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tStatusType.SUB_S.toString().getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tSerializationUtils.serialize(null));\n\t\t\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t\t\t\t\tcontrolRoom.put(tokens[1], value);\n\t\t\t\t\t\t\t\t\t\tfor (String node : metadata.getAll()) {\n\t\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\t\tif (!node.equals(currentNode)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tsendCommand(\"subscribe;\" + tokens[1] + \";\" + value, node);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t\t * Discard subscription from all server\n\t\t\t\t\t\t\t\t\t * nodes\n\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\telse if (tokens[0].equals(\"unsubscribe\")) {\n\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(tokens[0].getBytes(), value.getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tStatusType.UNSUB_S.toString().getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tSerializationUtils.serialize(null));\n\t\t\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t\t\t\t\tcontrolRoom.put(tokens[1], \"null\");\n\n\t\t\t\t\t\t\t\t\t\tfor (String node : metadata.getAll()) {\n\t\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\t\tif (!node.equals(currentNode)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tsendCommand(\"unsubscribe;\" + tokens[1], node);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t\t * cntrl_room keyword is given in put\n\t\t\t\t\t\t\t\t\t * operation from control room when it tries\n\t\t\t\t\t\t\t\t\t * to connect with any server node Server\n\t\t\t\t\t\t\t\t\t * node then check it's notification buffer\n\t\t\t\t\t\t\t\t\t * whether there is any pending notification\n\t\t\t\t\t\t\t\t\t * available for this control room\n\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\telse if (tokens[0].equals(\"cntrl_room\")) {\n\n\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(null);\n\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(tokens[0].getBytes(), value.getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tStatusType.PUT_SUCCESS.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\n\t\t\t\t\t\t\t\t\t\tList<String> buffers = notificationBuffer.getAllKey();\n\t\t\t\t\t\t\t\t\t\tfor (String buffer : buffers) {\n\t\t\t\t\t\t\t\t\t\t\tif (buffer.equals(value)) {\n\t\t\t\t\t\t\t\t\t\t\t\tString bufferMessage = notificationBuffer.get(buffer);\n\t\t\t\t\t\t\t\t\t\t\t\tsendUpdate(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Data has been changed \\t<key: \" + bufferMessage.split(\":\")[0]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t+ \" value: \" + bufferMessage.split(\":\")[1] + \" >\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuffer);\n\t\t\t\t\t\t\t\t\t\t\t\tnotificationBuffer.put(buffer, \"null\");\n\n\t\t\t\t\t\t\t\t\t\t\t\tfor (String node : metadata.getAll()) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (!node.equals(currentNode)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsendCommand(\"removebuffer;\" + buffer, node);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t/* Put operation from client */\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tif (metadata.get(key).trim().equals(currentNode)) {\n\n\t\t\t\t\t\t\t\t\t\ttry {\n\n\t\t\t\t\t\t\t\t\t\t\t// null value is given\n\t\t\t\t\t\t\t\t\t\t\tif (value.equals(\"null\")) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// there are some pairs in the\n\t\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\t\t\t\t\t\t\t\t\t\t\t\tif (cache.size() > 0) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tString oldVal = cache.get(key);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t// pair presents in the\n\t\t\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// remove from cache\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcache.remove(key);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// remove from file\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstore.put(key, \"null\");\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.DELETE_SUCCESS.toString().getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmetaBytes);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t// Pair absents in the cache\n\t\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\t\t\t\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toldVal = store.get(key);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// pair exists in file\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// delete from file\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstore.put(key, \"null\");\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.DELETE_SUCCESS.toString().getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmetaBytes);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// pair absents in file\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.DELETE_ERROR.toString().getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmetaBytes);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t// No pair in the cache memory\n\t\t\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\t\t\t// since nothing in cache\n\t\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\t\t\t\t\t\t\t\t\t\t\t\t\t// represents nothing in\n\t\t\t\t\t\t\t\t\t\t\t\t\t// file so\n\t\t\t\t\t\t\t\t\t\t\t\t\t// delete error\n\t\t\t\t\t\t\t\t\t\t\t\t\t// need some improvement\n\t\t\t\t\t\t\t\t\t\t\t\t\t// that is\n\t\t\t\t\t\t\t\t\t\t\t\t\t// checking of file also\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.DELETE_ERROR.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t// Normal put operation\n\t\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\t\tString oldVal = cache.get(key);\n\t\t\t\t\t\t\t\t\t\t\t\t// previously key presents in\n\t\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\t\t\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"key presents in the cache\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t// update cache\n\t\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\t\t\t// update file\n\t\t\t\t\t\t\t\t\t\t\t\t\tstore.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.PUT_UPDATE.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\t\t\t\tsendNotification(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t// previously key absents in\n\t\t\t\t\t\t\t\t\t\t\t\t// cache\n\t\t\t\t\t\t\t\t\t\t\t\t// memory\n\n\t\t\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\t\t\toldVal = store.get(key);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t// previously key presents\n\t\t\t\t\t\t\t\t\t\t\t\t\t// in\n\t\t\t\t\t\t\t\t\t\t\t\t\t// file\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (oldVal != null) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"key presents in the file\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// update file and\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// insert\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// into cache\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstore.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.PUT_UPDATE.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsendNotification(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t// key absents in file\n\t\t\t\t\t\t\t\t\t\t\t\t\telse {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcache.put(key, value);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// store into file\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstore.put(key, value);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.PUT_SUCCESS.toString().getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmetaBytes);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t// update\n\t\t\t\t\t\t\t\t\t\t\twritePairToReplicas(key, value, metadata.getPredecessor(currentNode),\n\t\t\t\t\t\t\t\t\t\t\t\t\tmetadata.getSePredecessor(currentNode));\n\n\t\t\t\t\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.PUT_ERROR.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(e.toString());\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// finally send the message\n\t\t\t\t\t\t\t\t\t\tfinally {\n\t\t\t\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t\t\t\t\t\tlogger.debug(\"SEND \\t<Key:\" + key + \" value:\" + value + \" Status:\" + status\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ \">\");\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tcache.remove(key);\n\t\t\t\t\t\t\t\t\t\tstore.put(key, \"null\");\n\n\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tStatusType.SERVER_NOT_RESPONSIBLE.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\tStatusType.SERVER_WRITE_LOCKED.toString().getBytes(), metaBytes);\n\n\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\tStatusType.SERVER_STOPPED.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t/* Put pairs ends here */\n\t\t\t\t\t/***********************/\n\t\t\t\t\t/* Get pairs starts here */\n\t\t\t\t\t/***********************/\n\t\t\t\t\telse if (status == StatusType.GET) {\n\t\t\t\t\t\tmetadata = server.getMetaData();\n\t\t\t\t\t\tlogger.debug(\n\t\t\t\t\t\t\t\t\"Received \\t<key:\" + key + \" value:\" + value + \" Status:\" + status.toString() + \">\");\n\t\t\t\t\t\tbyte[] totalByte = null;\n\t\t\t\t\t\tif (serverState == true) {\n\n\t\t\t\t\t\t\tif (metadata.get(key).trim().equals(currentNode)) {\n\t\t\t\t\t\t\t\ttry {\n\n\t\t\t\t\t\t\t\t\t// retrieve value from cache\n\t\t\t\t\t\t\t\t\tString val = cache.get(key);\n\n\t\t\t\t\t\t\t\t\t// value exists in cache\n\t\t\t\t\t\t\t\t\tif (val != null) {\n\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), val.getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\tStatusType.GET_SUCCESS.toString().getBytes(), metaBytes);\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t// value absents from cache\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t// try to retrieve from file\n\t\t\t\t\t\t\t\t\t\tval = store.get(key);\n\n\t\t\t\t\t\t\t\t\t\t// Value in the file\n\t\t\t\t\t\t\t\t\t\tif (val != null) {\n\t\t\t\t\t\t\t\t\t\t\tcache.put(key, val);\n\n\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), val.getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.GET_SUCCESS.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// value is nowhere\n\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\t\t\tStatusType.GET_ERROR.toString().getBytes(), metaBytes);\n\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\t\tStatusType.GET_SUCCESS.toString().getBytes(), metaBytes);\n\t\t\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcache.remove(key);\n\t\t\t\t\t\t\t\tstore.put(key, \"null\");\n\t\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\t\tStatusType.SERVER_NOT_RESPONSIBLE.toString().getBytes(), metaBytes);\n\n\t\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tbyte[] metaBytes = SerializationUtils.serialize(metadata);\n\t\t\t\t\t\t\ttotalByte = totalByteArray(\"x\".getBytes(), \"x\".getBytes(),\n\t\t\t\t\t\t\t\t\tStatusType.SERVER_STOPPED.toString().getBytes(), metaBytes);\n\n\t\t\t\t\t\t\tsendAsync(totalByte).call();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\t/* Get pairs ends here */\n\t\t\t\t\t/***********************/\n\n\t\t\t\t} catch (NullPointerException | NegativeArraySizeException | IOException | InterruptedException ioe) {\n\t\t\t\t\tlogger.error(\"Error! Connection lost!\");\n\t\t\t\t\tisOpen = false;\n\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch (\n\n\t\tIOException ioe) {\n\t\t\tlogger.error(\"Error! Connection could not be established!\", ioe);\n\n\t\t} finally {\n\n\t\t\t// finally closes everything\n\t\t\ttry {\n\t\t\t\tif (clientSocket != null) {\n\t\t\t\t\tinput.close();\n\t\t\t\t\toutput.close();\n\t\t\t\t\tclientSocket.close();\n\t\t\t\t}\n\t\t\t} catch (IOException ioe) {\n\t\t\t\tlogger.error(\"Error! Unable to tear down connection!\", ioe);\n\t\t\t} catch (NullPointerException ioe) {\n\t\t\t\tlogger.error(\"Error! Unable to tear down connection!\", ioe);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "99e557bdeef5fecedea8a7c3ea946a94", "score": "0.570801", "text": "public void sendMessage(OutgoingPacket packet) {\n if(!PacketListenerManager.get.callEvent(packet)){\n return;\n }\n packet.setSessionToken(secureToken);\n int echoId = counter.get();\n packet.setEchoCode(echoId);\n if (client.isOpen()) {\n sendMessage(echoId, packet);\n } else if(history.size() < MAX_HISTORY) {\n history.putIfAbsent(echoId, new History(packet));\n }else{\n MLogger.logError(\"History size exceeded max history size.\");\n }\n }", "title": "" }, { "docid": "829d27f4e0d4d74cb24d30c5fa01f293", "score": "0.5701756", "text": "@Override\r\n\tpublic void run() {\r\n\t\ttry {\r\n\t\t\tdataOutputStream = new ObjectOutputStream(socket.getOutputStream());\r\n\t\t\twhile (shouldRun) {\r\n\r\n\t\t\t\tObject obj = dataInputStream.readObject();\r\n\r\n\t\t\t\tif (obj.getClass().getName().equals(\"java.lang.String\")) {\r\n\t\t\t\t\tString request = (String) obj;\r\n\t\t\t\t\tif (request.equals(\"$getCurrentPlayerID\")) {\r\n\t\t\t\t\t\tString cp = server.getCurrentPlayerID();\r\n\t\t\t\t\t\tdataOutputStream.writeObject(cp);\r\n\t\t\t\t\t\tdataOutputStream.flush();\r\n\t\t\t\t\t} else if (request.equals(\"$switchCurrentPlayer\")) {\r\n\t\t\t\t\t\tserver.switchCurrentPlayer();\r\n\t\t\t\t\t\tdataOutputStream.writeObject(server.getCurrentPlayerID());\r\n\t\t\t\t\t\tdataOutputStream.flush();\r\n\t\t\t\t\t} else if (request.equals(\"$disconnect\")) {\r\n\t\t\t\t\t\tshouldRun = false;\r\n\t\t\t\t\t\tbeenden();\r\n\t\t\t\t\t} else if (request.split(\" \")[0].equals(\"$enemyPlayerID\")) {\r\n\t\t\t\t\t\tif (getEnemy() != null) {\r\n\t\t\t\t\t\t\tdataOutputStream.writeObject(new String(\"enemyPlayerID \" + getEnemy().getID()));\r\n\t\t\t\t\t\t\tdataOutputStream.flush();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// Client fragt irgendwas in Form eines Strings an\r\n\t\t\t\t} else if (obj.getClass().getName().equals(\"java.awt.Point\")) {\r\n\t\t\t\t\tPoint p = (Point) obj;\r\n\t\t\t\t\tshots.add(p);\r\n\t\t\t\t\tboolean treffer = getEnemy().isShip(p);\r\n\t\t\t\t\t// System.out.println(\"ID: \" + id + \" treffer: \" + treffer);\r\n\t\t\t\t\tdataOutputStream.writeObject(treffer);\r\n\t\t\t\t\tdataOutputStream.flush();\r\n\r\n\t\t\t\t\t// gucken nach versenkt\r\n\t\t\t\t\tboolean versenkt;\r\n\t\t\t\t\tArrayList<Point[]> versenkteSchiffe = new ArrayList<>();\r\n\t\t\t\t\tfor (Point[] element : getEnemy().getMeineSchiffe()) {\r\n\t\t\t\t\t\tversenkt = true;\r\n\t\t\t\t\t\tfor (Point element2 : element) {\r\n\t\t\t\t\t\t\tif (contains(shots, element2) == false) {\r\n\t\t\t\t\t\t\t\tversenkt = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (versenkt) {\r\n\t\t\t\t\t\t\tversenkteSchiffe.add(element);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsendVersenkteSchiffe(versenkteSchiffe);\r\n\r\n\t\t\t\t\tif (treffer) {\r\n\t\t\t\t\t\ttrefferCounter++;\r\n\t\t\t\t\t\tif (trefferCounter == getEnemy().getShipLength()) {\r\n\t\t\t\t\t\t\t// Mitteilung an spieler und gegner, dass Gewonnen wurde\r\n\t\t\t\t\t\t\tdataOutputStream.writeObject(new String(\"$gewonnen\"));\r\n\t\t\t\t\t\t\tdataOutputStream.flush();\r\n\t\t\t\t\t\t\tgetEnemy().sendGewonnen();\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tgetEnemy().sendShip(p); // zuständig für Schussanzeige des Gegners\r\n\t\t\t\t\t// auf bool bekommt Point\r\n\t\t\t\t\t// Anschließend beim Gegner checken ob treffer und mit writeBoolean mitteilen ob\r\n\t\t\t\t\t// treffer oder nicht\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t} catch (IOException | ClassNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e8fba7c583719931121d99566b4fe59b", "score": "0.56974757", "text": "public void communicate(Socket clientSocket) {\n\t\tScanner lineReader = null;\n\t\ttry(BufferedReader textInput = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); //This BufferedReader will buffer inputs from the socket and return lines as strings.\n\t\t\tPrintWriter textOutput = new PrintWriter(clientSocket.getOutputStream());) { //PrintWriters let you push more accessible data types like strings to the socket\n\t\t\t\n\t\t\tString inputLine = textInput.readLine();\n\t\t\tSystem.out.println(\"RECV: \" + inputLine);\n\t\t\tlineReader = new Scanner(inputLine);\n\t\t\tlineReader.useDelimiter(\"[ <>]\");\n\t\t\tString command = lineReader.next();\n\t\t\t//System.out.println(\"Command is \" + command + \".\");\n\t\t\t\n\t\t\tif(command.equals(\"createtracker\")) {\n\t\t\t\ttry {\n\t\t\t\t\tTracker tracker = new Tracker();\n\t\t\t\t\ttracker.fileName = lineReader.next();\n\t\t\t\t\tif(getTracker(tracker.fileName) != null) {\n\t\t\t\t\t\ttextOutput.println(\"<createtracker ferr>\");\n\t\t\t\t\t\tSystem.out.println(\"SEND: <createtracker ferr>\");\n\t\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\t\tlineReader.close();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\ttracker.fileSize = lineReader.nextInt();\n\t\t\t\t\ttracker.description = lineReader.next();\n\t\t\t\t\ttracker.md5 = lineReader.next();\n\t\t\t\t\tString ipAddress = lineReader.next();\n\t\t\t\t\tint portNumber = lineReader.nextInt();\n\t\t\t\t\tPeer.PeerWrapper creator = new Peer.PeerWrapper(ipAddress, portNumber, 0, tracker.fileSize, System.currentTimeMillis());\n\t\t\t\t\ttracker.peers.add(creator);\n\t\t\t\t\ttrackers.add(tracker);\n\t\t\t\t\ttrackerMutexes.put(tracker, new Semaphore(1));\n\t\t\t\t\ttracker.saveFile(sharedFolder);\t\t\t\t\t\n\t\t\t\t\ttextOutput.println(\"<createtracker succ>\");\n\t\t\t\t\tSystem.out.println(\"SEND: <createtracker succ>\");\n\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\tlineReader.close();\n\t\t\t\t\treturn;\n\t\t\t\t} catch(Exception e) {\n\t\t\t\t\ttextOutput.println(\"<createtracker fail>\");\n\t\t\t\t\tSystem.out.println(\"SEND: <createtracker fail>\");\n\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\tlineReader.close();\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else if(command.equals(\"updatetracker\")) {\n\t\t\t\ttry {\n\t\t\t\t\tString fileName = lineReader.next();\n\t\t\t\t\tTracker tracker = getTracker(fileName);\n\t\t\t\t\tif(tracker == null) {\n\t\t\t\t\t\ttextOutput.println(\"<updatetracker \" + fileName + \" ferr>\");\n\t\t\t\t\t\tSystem.out.println(\"SEND: <updatetracker \" + fileName + \" ferr>\");\n\t\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\t\tlineReader.close();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tint startByte = lineReader.nextInt();\n\t\t\t\t\tint endByte = lineReader.nextInt();\n\t\t\t\t\tString ipAddress = lineReader.next();\n\t\t\t\t\tint portNumber = lineReader.nextInt();\n\t\t\t\t\t\n\t\t\t\t\tPeer.PeerWrapper peerMatch = null;\n\t\t\t\t\tfor(Peer.PeerWrapper peer : tracker.peers) {\n\t\t\t\t\t\tif(peer.hostName.equals(ipAddress) && peer.port == portNumber) {\n\t\t\t\t\t\t\tpeerMatch = peer;\n\t\t\t\t\t\t\tpeer.startByte = startByte;\n\t\t\t\t\t\t\tpeer.endByte = endByte;\n\t\t\t\t\t\t\tpeer.timeStamp = System.currentTimeMillis();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(peerMatch == null) {\n\t\t\t\t\t\tPeer.PeerWrapper newPeer = new Peer.PeerWrapper(ipAddress, portNumber, startByte, endByte, System.currentTimeMillis());\n\t\t\t\t\t\ttracker.peers.add(newPeer);\n\t\t\t\t\t\ttracker.peers.sort(null);\n\t\t\t\t\t}\n\t\t\t\t\ttrackerMutexes.get(tracker).acquire();\n\t\t\t\t\ttracker.saveFile(sharedFolder);\n\t\t\t\t\ttrackerMutexes.get(tracker).release();\n\t\t\t\t\t\n\t\t\t\t\ttextOutput.println(\"<updatetracker \" + fileName + \" succ>\");\n\t\t\t\t\tSystem.out.println(\"SEND: <updatetracker \" + fileName + \" succ>\");\n\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\tlineReader.close();\n\t\t\t\t\treturn;\n\t\t\t\t} catch(Exception e) {\n\t\t\t\t\tString fileName = lineReader.next();\n\t\t\t\t\ttextOutput.println(\"<updatetracker \" + fileName + \" fail>\");\n\t\t\t\t\tSystem.out.println(\"SEND: <updatetracker \" + fileName + \" fail>\");\n\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\tlineReader.close();\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else if(command.equals(\"REQ\")) {\n\t\t\t\ttextOutput.println(\"<REP LIST \" + trackers.size() + \">\");\n\t\t\t\tSystem.out.println(\"SEND: <REP LIST \" + trackers.size() + \">\");\n\t\t\t\tfor(int i = 0; i < trackers.size(); i++) {\n\t\t\t\t\tTracker tracker = trackers.get(i);\n\t\t\t\t\ttextOutput.println(\"<\" + (i + 1) + \" \" + tracker.fileName + \" \" + tracker.fileSize + \" \" + tracker.md5 + \">\");\n\t\t\t\t\tSystem.out.println(\"SEND: <\" + (i + 1) + \" \" + tracker.fileName + \" \" + tracker.fileSize + \" \" + tracker.md5 + \">\");\n\t\t\t\t}\n\t\t\t\ttextOutput.println(\"<REP LIST END>\");\n\t\t\t\tSystem.out.println(\"SEND: <REP LIST END>\");\n\t\t\t\ttextOutput.flush();\n\t\t\t} else if(command.equals(\"GET\")) {\n\t\t\t\tString fileName = lineReader.next(); //TODO: This should really be the filename of the tracker file.\n\t\t\t\tTracker tracker = getTracker(fileName);\n\t\t\t\tif(tracker == null) {\n\t\t\t\t\ttextOutput.println(\"<REP GET FERR>\");\n\t\t\t\t\tSystem.out.println(\"SEND: <REP GET FERR>\");\n\t\t\t\t\ttextOutput.flush();\n\t\t\t\t\tlineReader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ttextOutput.println(\"<REP GET BEGIN>\");\n\t\t\t\tSystem.out.println(\"SEND: <REP GET BEGIN>\");\n\t\t\t\ttry {\n\t\t\t\t\ttrackerMutexes.get(tracker).acquire();\n\t\t\t\t\tScanner fileScanner = new Scanner(new File(tracker.trackerFileName));\n\t\t\t\t\twhile(fileScanner.hasNext()) {\n\t\t\t\t\t\tString line = fileScanner.nextLine();\n\t\t\t\t\t\ttextOutput.println(line);\n\t\t\t\t\t\tSystem.out.println(\"SEND: \" + line);\n\t\t\t\t\t}\n\t\t\t\t\tfileScanner.close();\n\t\t\t\t\t\n\t\t\t\t\tString trackerMD5 = Peer.byteToHex(Peer.computeMD5(new File(tracker.trackerFileName)));\n\t\t\t\t\ttextOutput.println(\"<REP GET END \" + trackerMD5 + \">\"); //TODO: Send MD5 of tracker file\n\t\t\t\t\tSystem.out.println(\"SEND: <REP GET END \" + trackerMD5 + \">\");\n\t\t\t\t\ttrackerMutexes.get(tracker).release();\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttextOutput.flush();\n\t\t\t\tlineReader.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlineReader.close();\n\t\t} catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t\t//lineReader.close();\n\t\t\treturn;\n\t\t}\n\t}", "title": "" }, { "docid": "750137e127d372ca96b8edf7cb2ee0dc", "score": "0.56929433", "text": "public static void writeToClient(Message message)\n\t{\n\t\tSocket socket;//define socket\n\t\tbyte[] data; // define size of the message \n\t\tDataOutputStream dos; // define data output stream\n\t\tsynchronized(userTable)\n\t\t{\n\t\t\ttry {\n\t\t\t\t socket = (Socket)userTable.get(message._destination);\n\t\t\t\t dos=new DataOutputStream(socket.getOutputStream());\n\t\t\t\t data=ChatUtils.objectToBytes(message);\n\t\t\t\t dos.write(data,0,data.length);\n System.out.println(\"Message=\"+message._message+\"\\n Message dEStination=\"+message._destination+\"\\nMessage User=\"+message._username);\n\n\t\t\t }\n\t\t\t catch(Exception e)\n\t\t\t {\n\t\t\t\t System.out.println(\"SEND EXCEPTION\"+e);\n\t\t\t }\n\t\t}\n\t}", "title": "" }, { "docid": "72be81d874a7c86ff8349c0911cc3c26", "score": "0.56833494", "text": "private void sendDataToClient( Object data ) {\r\n\r\n // 1. try to send data to the client(the caller)\r\n // 2. catch any I/O issues\r\n\r\n // 1. try to send data to the client(the caller)\r\n\r\n // begin try to try send data to the client\r\n try {\r\n\r\n localObjectOutputStream.writeObject( data );\r\n localObjectOutputStream.flush();\r\n\r\n } // end try to try send data to the client\r\n\r\n // 2. catch any I/O issues\r\n\r\n catch ( IOException e ) { HomeActivity.logError( ReceiveCallActivity.class, e.getMessage() ); }\r\n\r\n }", "title": "" }, { "docid": "a84aef6ce352b19ed8f7da3ec8ad8243", "score": "0.5680207", "text": "public void sendPacketToAll(Object packet) {\n for(final ServerConnectedClient client : connectedClients) {\n sendPacket(client, packet);\n }\n }", "title": "" }, { "docid": "e9d8ac9029b77f9ef05023a9cd7c1f67", "score": "0.5679754", "text": "int send(DatagramPacket dg);", "title": "" }, { "docid": "66a1d2defc0cb284835072db37a059c1", "score": "0.5676923", "text": "public void send() {\n \n }", "title": "" }, { "docid": "367c2cdf96929fe1eb504d90a7fbc362", "score": "0.56755495", "text": "public static void main(String[] argv) throws IOException {\r\n\t\tTransportFactory.configureMode(TransportFactory.TCP);\r\n\t\tfinal TransportServer server = TransportFactory.createServer(10200);\r\n\t\t\r\n\t\t// sender\r\n\t\tThread t = new Thread() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(4096);\r\n\t\t\t\tString[] lines = {\"hello\", \"super\", \"duper\", \"groovy\", \"networking\", \"library\"};\r\n\t\t\t\ttry { Thread.sleep(2000); } catch (Exception e) {};\r\n\t\t\t\tSystem.out.println(\"Sender connecting\");\r\n\t\t\t\ttry {\r\n\t\t\t\t\tTransportChannel client = TransportFactory.createChannel(\"localhost\", 10200);\r\n\t\t\t\t\tclient.configureBlocking(false);\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (int i=0;i<lines.length;i++) {\r\n\t\t\t\t\t\tSystem.out.println(\"Writing: \"+lines[i]);\r\n\t\t\t\t\t\tclient.write(ByteBuffer.wrap(lines[i].getBytes()), true);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tbuffer.clear();\r\n\t\t\t\t\t\tclient.read(buffer);\r\n\t\t\t\t\t}\t\t\t\t\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\tt.start();\r\n\t\t\r\n\t\t// reciever\r\n\t\tThread t2 = new Thread() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\ttry { Thread.sleep(1000); } catch (Exception e) {};\r\n\t\t\t\tSystem.out.println(\"Reciever connecting\");\r\n\t\t\t\ttry {\r\n\t\t\t\t\tTransportChannel client = TransportFactory.createChannel(\"localhost\", 10200);\r\n\t\t\t\t\tclient.configureBlocking(false);\r\n\t\t\t\t\ttry { Thread.sleep(2000); } catch (Exception e) {};\r\n\t\t\t\t\t\r\n\t\t\t\t\twhile (true) {\r\n\t\t\t\t\t\ttry { Thread.sleep(100); } catch (Exception e) {};\r\n\t\t\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(4096);\r\n\t\t\t\t\t\tint total = client.read(buffer);\r\n\t\t\t\t\t\tbuffer.flip();\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (total > 0) {\r\n\t\t\t\t\t\t\tbyte[] temp = new byte[buffer.remaining()];\r\n\t\t\t\t\t\t\tbuffer.get(temp, 0, buffer.remaining());\r\n\t\t\t\t\t\t\t//print(temp);\r\n\t\t\t\t\t\t\tSystem.out.println(new String(temp));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t};\r\n\t\tt2.start();\r\n\t\t\r\n\t\ttry {\r\n\t\t\twhile (true) {\r\n\t\t\t\tTransportChannel client = server.accept();\r\n\t\t\t\tif (client != null) {\r\n\t\t\t\t\taddClient(client);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tpollClients();\r\n\t\t\t\t\r\n\t\t\t\ttry { Thread.sleep(10); } catch (Exception e) {};\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ddee533fe18963395bbf593b19d01119", "score": "0.56703424", "text": "public void send() {\n\n\n ObservableList<Client> selectedItems = clientsListView.getSelectionModel().getSelectedItems();\n if (selectedItems.size() == 0)\n return;\n\n for (Client receiver : selectedItems) {\n\n Sender sender = new Sender(this.sessionKeys, keyPair.getPrivate(), currentClient.getSocket());\n\n // create text message\n TextMessage message = new TextMessage();\n\n message.sender = new Client(currentClient);\n message.receiver = new Client(receiver);\n\n message.content = msg.getText().getBytes();\n sender.setMessage(message);\n executorService.execute(sender);\n\n }\n }", "title": "" }, { "docid": "7be195ac8beaae8cf492d0c3f22ef4bd", "score": "0.56594276", "text": "private void send(byte[] array) throws IOException\n {\n StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();\n StrictMode.setThreadPolicy(policy);\n\n DatagramSocket socket = new DatagramSocket();\n DatagramPacket packet = new DatagramPacket(array,SIZE, InetAddress.getByName(SERVER),PORT);\n\n socket.send(packet);\n socket.close();\n }", "title": "" }, { "docid": "eceb14a335b0f7c6ad18b6a69d5bc836", "score": "0.5654795", "text": "@Override\n\tpublic void run() {\n\t\tSystem.out.println(\"Send Thread Running\");\n\t\t\n\t\tStartStoCServerSocket();\n\t\t\n\t\t//newData = \"This is from SendThread...\" + sentMessageCounter;\n\t\t\n\t\twhile(true) {\t\t\n\t\t\t//newData = \"This is from SendThread...\" + sentMessageCounter;\n\t\t\tnewData = market.requestMarketUpdate(currentUser.getAuth().getUsername());\n\t\t\tif(newData.equals(NO_NEW_DATA)) {\n\t\t\t\t//System.out.println(\"No updates for this client at this time ..\");\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t }\n\t\t\t\n\t\t\telse {\n\t\t\t\t\n\t\t\t\tpWrite.println(newData); \n\t\t\t\tpWrite.flush();\n\t\t\t\t//System.out.println(\"Client Data Sent: \" +newData);\n\t\t\t\tsentMessageCounter++;\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t//newData = NO_NEW_DATA;\n\t\t\t}\n\t\t \n\t\t } \n\t\n\t}", "title": "" }, { "docid": "2f97e703b0933bddf6e6f1e45a835c10", "score": "0.5654328", "text": "public static void main(String[] args) throws IOException, ClassNotFoundException {\n List<String> infomation = new ArrayList<>(2);\n infomation.add(args[0]); // player\n infomation.add(args[1]); // move\n infomation.add(args[2]); // score\n infomation.add(args[3]); // iterations\n\n\n ServerSocket mainServer = new ServerSocket( 4939, 4);\n ServerSocket mainServer2 = new ServerSocket( 5050, 4);\n ServerSocket mainServer3 = new ServerSocket( 9090, 4);\n Socket mainPlayerSocket = new Socket(\"localhost\",4939);\n Socket opponenet2Socket = new Socket(\"localhost\",5050);\n Socket opponenet3Socket = new Socket(\"localhost\",9090);\n System.out.println(\"Client is connected \");\n\n ObjectOutputStream mainSend = new ObjectOutputStream(mainPlayerSocket.getOutputStream());\n ObjectOutputStream op2Send = new ObjectOutputStream(opponenet2Socket.getOutputStream());\n ObjectOutputStream op3Send = new ObjectOutputStream(opponenet3Socket.getOutputStream());\n ObjectInputStream mainRecieve = new ObjectInputStream(mainServer.accept().getInputStream());\n ObjectInputStream op2Recieve = new ObjectInputStream(mainServer2.accept().getInputStream());\n ObjectInputStream op3Recieve = new ObjectInputStream(mainServer3.accept().getInputStream());\n\n int mainResult = 0;\n int opponet2Result = 0;\n int opponet3Result = 0;\n for(int i = 0; i < Integer.parseInt(infomation.get(3)); i++){\n System.out.println(\"*************\" + \" Round \" + (i+1) + \" ***********************\");\n mainSend.writeObject(CreateMove(\"1\"));\n op2Send.writeObject(CreateMove(\"2\"));\n op3Send.writeObject(CreateMove(\"3\"));\n String main = (String) mainRecieve.readObject();\n\n System.out.println(\"Recieving Player 1 move \" + main);\n String opponent2 = (String) op2Recieve.readObject();\n System.out.println(\"Recieving Player 2 move \" + opponent2);\n String opponent3 = (String) op3Recieve.readObject();\n System.out.println(\"Recieving Player 3 move \" + opponent2);\n mainResult += FinalScore(main, opponent2, opponent3);\n opponet2Result += FinalScore(opponent3, main, opponent2);\n opponet3Result += FinalScore(opponent2, opponent3, main);\n\n }\n System.out.println(\"************* \" + \"final Scores \" + \"***********************\");\n System.out.println(\"Player 1\" + \" \" +mainResult);\n System.out.println(\"Player 2\" + \" \" +opponet2Result);\n System.out.println(\"Player 3\" + \" \" + opponet3Result);\n\n\n mainPlayerSocket.close();\n opponenet2Socket.close();\n opponenet3Socket.close();\n mainServer.close();\n\n\n }", "title": "" }, { "docid": "77b4f6990e9af7d0203360e58f54609a", "score": "0.56493384", "text": "private void sendClientDisplayData() {\n switch (mSendDisplayOpCode) {\n case BluetoothPacketHelper.OP_CODE_POKEMON_NAME: {\n byte[] name;\n\n if (mSendDiplayParam == BluetoothPacketHelper.TARGET_HOST) {\n name = mPlayerPokemon.getName().getBytes();\n }\n else if (mSendDiplayParam == BluetoothPacketHelper.TARGET_CLIENT) {\n name = mOpponentPokemon.getName().getBytes();\n }\n else {\n name = \"Error\".getBytes();\n Log.e(TAG, \"Invalid mSendDisplayParam \" + mSendDiplayParam + \" for op code \" +\n mSendDisplayOpCode);\n }\n byte[] param = { Integer.valueOf(mSendDiplayParam).byteValue(),\n Integer.valueOf(name.length).byteValue() };\n byte[] payload = BluetoothPacketHelper.appendByteArrays(param, name);\n byte[] send = BluetoothPacketHelper.createPacket(mSendDisplayOpCode, payload);\n mBluetoothService.write(send);\n Log.d(TAG, \"Sending display data op code \" + mSendDisplayOpCode +\n \" param \" + mSendDiplayParam);\n break;\n }\n\n case BluetoothPacketHelper.OP_CODE_POKEMON_LEVEL: {\n int[] payload = new int[2];\n payload[0] = mSendDiplayParam;\n if (mSendDiplayParam == BluetoothPacketHelper.TARGET_HOST) {\n payload[1] = mPlayerPokemon.getLevel();\n }\n else if (mSendDiplayParam == BluetoothPacketHelper.TARGET_CLIENT) {\n payload[1] = mOpponentPokemon.getLevel();\n }\n else {\n Log.e(TAG, \"Invalid mSendDisplayParam \" + mSendDiplayParam + \" for op code \" +\n mSendDisplayOpCode);\n }\n byte[] send = BluetoothPacketHelper.createPacket(mSendDisplayOpCode, payload);\n mBluetoothService.write(send);\n Log.d(TAG, \"Sending display data op code \" + mSendDisplayOpCode +\n \" param \" + mSendDiplayParam);\n break;\n }\n\n case BluetoothPacketHelper.OP_CODE_POKEMON_HP: {\n int[] payload = new int[2];\n payload[0] = mSendDiplayParam;\n if (mSendDiplayParam == BluetoothPacketHelper.POKEMON_HP_CURRENT) {\n payload[1] = (int)mOpponentPokemon.getHP();\n }\n else if (mSendDiplayParam == BluetoothPacketHelper.POKEMON_HP_MAX) {\n payload[1] = (int)mOpponentPokemon.getMaxHP();\n }\n else {\n Log.e(TAG, \"Invalid mSendDisplayParam \" + mSendDiplayParam + \" for op code \" +\n mSendDisplayOpCode);\n }\n byte[] send = BluetoothPacketHelper.createPacket(mSendDisplayOpCode, payload);\n mBluetoothService.write(send);\n Log.d(TAG, \"Sending display data op code \" + mSendDisplayOpCode +\n \" param \" + mSendDiplayParam);\n break;\n }\n\n default:\n Log.d(TAG, \"Reached invalid send op code \" + mSendDisplayOpCode);\n break;\n }\n }", "title": "" }, { "docid": "397311717881d14d56b696c3b7b442d8", "score": "0.56465256", "text": "@Override\n public void sendPacket(final ZToolPacket packet)\n throws IOException {\n LOGGER.debug(\"-> {} ({}) \", packet.getClass().getSimpleName(), packet);\n PACKET_LOGGER.trace(\"|>|{}|{}\", packet.getClass().getSimpleName(), packet.getPacket());\n final int[] pck = packet.getPacket();\n sendRaw(pck);\n }", "title": "" }, { "docid": "44c1e21e476261b68ac39ae4b62a2d40", "score": "0.56453854", "text": "public void send(NetworkMessage message);", "title": "" }, { "docid": "72d8e3a662e864658df9be83bcbfbb9f", "score": "0.5643421", "text": "public void send() throws IOException, KrbException {\n/* 217 */ String str = null;\n/* 218 */ if (this.servName != null)\n/* 219 */ str = this.servName.getRealmString(); \n/* 220 */ KdcComm kdcComm = new KdcComm(str);\n/* 221 */ this.ibuf = kdcComm.send(this.obuf);\n/* */ }", "title": "" }, { "docid": "d7a967a186983a92266070a2ac65f96c", "score": "0.5640633", "text": "public Client(String address, int port) {\n // establish a connection\n try {\n socket = new Socket(address, port);\n System.out.println(\"Connected\\n\");\n\n // takes input from terminal\n input = new DataInputStream(System.in);\n\n // takes input from the server socket\n in = new DataInputStream(new BufferedInputStream(socket.getInputStream()));\n\n // sends output to the socket\n out = new DataOutputStream(socket.getOutputStream());\n\n Thread rec = new Thread() {\n public void run() {\n\n String line = \"\";\n\n // reads message from client until \"Over\" is sent\n while (!line.equals(\"Over\")) {\n\n try {\n line = in.readUTF();\n \n System.out.println(socket.getInetAddress().toString() + \": \" + line);\n //System.out.print(socket.getLocalAddress().toString() + \"(client): \");\n\n } catch (IOException i) {\n System.out.println(i);\n }\n }\n System.out.println(\"\\nClosing connection...Press enter\");\n\n }\n };\n\n Thread send = new Thread() {\n public void run() {\n\n String line = \"\";\n\n // send msg to client until \"Over\" is sent\n while (!line.equals(\"Over\")) {\n // System.out.println(\"lolawa\");\n\n try {\n //System.out.print(\"->\");\n \n line = input.readLine();\n out.writeUTF(line);\n\n } catch (IOException i) {\n System.out.println(i);\n }\n }\n System.out.println(\"\\nClosing connection\");\n\n }\n };\n\n Thread closing = new Thread() {\n public void run() {\n while (true) {\n\n if (!rec.isAlive()) {\n send.stop();\n\n try {\n // close connection\n socket.close();\n out.close();\n in.close();\n } catch (Exception a) {\n System.out.println(a);\n }\n break;\n } else if (!send.isAlive()) {\n rec.stop();\n\n try {\n // close connection\n socket.close();\n out.close();\n in.close();\n } catch (Exception a) {\n System.out.println(a);\n }\n break;\n }\n\n }\n }\n };\n\n // start receiving thread\n rec.start();\n\n // start sending thread\n send.start();\n\n closing.start();\n\n // try{\n // rec.join();\n // send.join();\n // closing.join();\n // }\n // catch(Exception e)\n // {\n // System.out.println(e);\n // }\n\n }\n\n catch (IOException i) {\n System.out.println(i);\n }\n }", "title": "" }, { "docid": "256cd50c455f1c123baffaca6884a67b", "score": "0.5635358", "text": "private void passOnTFTP()\r\n {\r\n int port = TFTPCommon.TFTPListenPort;\r\n InetAddress address = serverAddress;\r\n\r\n while (true) \r\n {\r\n sendPacket = new DatagramPacket(data, len, address, port);\r\n len = sendPacket.getLength();\r\n TFTPCommon.printPacketDetails(receivePacket, consolePrefix, verbosity, false, false);\r\n\r\n errorSimulateSend();\r\n\r\n data = new byte[TFTPCommon.maxPacketSize];\r\n \r\n receivePacket = new DatagramPacket(data, data.length);\r\n\r\n try {\r\n sendReceiveSocket.setSoTimeout(hardTimeout);\r\n sendReceiveSocket.receive(receivePacket);\r\n } catch (SocketTimeoutException e) {\r\n System.out.println(consolePrefix + \"Haven't received any packets in past \" + hardTimeout + \" ms. Thread returning\");\r\n parent.threadDone(Thread.currentThread());\r\n return;\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n return;\r\n }\r\n\r\n //Set server port if receivePacket is the first packet from the server\r\n if (serverPort == 0 && receivePacket.getPort() != clientPort)\r\n {\r\n serverPort = receivePacket.getPort();\r\n }\r\n\r\n //Setup variables to forward packet\r\n if (receivePacket.getPort() == serverPort)\r\n {\r\n port = clientPort;\r\n address = clientAddress;\r\n }\r\n else if (receivePacket.getPort() == clientPort)\r\n {\r\n port = serverPort;\r\n address = serverAddress;\r\n }\r\n else\r\n {\r\n System.out.println(consolePrefix + \"Received packet from unknown port! This can happen with a delayed or duplicated request\");\r\n }\r\n\r\n data = receivePacket.getData();\r\n len = receivePacket.getLength();\r\n }\r\n }", "title": "" }, { "docid": "44616909b0fddf11a2af03a62d062396", "score": "0.56323916", "text": "public void packetSent(NIOSocket socket, Object tag)\n {\n }", "title": "" }, { "docid": "576195b084a13730845e4dd030bc9e95", "score": "0.5630983", "text": "@Override\n\tpublic boolean SendTo(DataOutputStream os) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "79b21b1558f3f299c9da1173674e772d", "score": "0.5625138", "text": "public synchronized void sendData(byte[] data) {\n\n\t\tif (mClientOutputStream != null) {\n\t\t\ttry {\n\t\t\t\tmClientOutputStream.write(data);\n\t\t\t\tmClientOutputStream.flush();\n\t\t\t} catch (Exception e) {\n\t\t\t\tULog.i(\"SC:send data ex:\" + e.getMessage());\n\t\t\t\tmServerRunning = false;\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tULog.i(\"SC:the output stream of client is null .\");\n\t\t}\n\t}", "title": "" }, { "docid": "e59b91994136b325b3efc269be8e02d6", "score": "0.5617356", "text": "public void sendToNetwork(DataOutputStream ods){\n try {\n if (this.finPartie) {\n ods.writeInt(1);\n }\n else{\n ods.writeInt(0);\n }\n\n ods.writeInt(this.typeCoup.ordinal());\n ods.writeInt(this.piece.ordinal());\n }\n catch(IOException e) {\n System.out.println(\"this :\"+e);\n System.exit(-1);\n }\n\n this.params.sendToNetwork(ods);\n }", "title": "" }, { "docid": "1945ce2d115a51ae70f182aedc45daeb", "score": "0.56088597", "text": "public void sendPackage(){\r\n gatherPackage();\r\n connection.write(\"pcmode\".getBytes());\r\n\r\n try{Thread.sleep(250);} catch(InterruptedException e) {\r\n Thread.currentThread().interrupt();\r\n // code for stopping current task so thread stops\r\n }\r\n //connection.write(\"d\\002\".getBytes());\r\n\r\n\r\n connection.write(sendPackage);\r\n\r\n connection.write(\"\\004\".getBytes());\r\n\r\n\r\n }", "title": "" }, { "docid": "c2c986d420f7c92183c53f67ea4cfccc", "score": "0.5608547", "text": "public void sendMessage() {\r\n\r\n\t\ttry {\r\n\t\t\t// holt sich die Nachricht aus der Queue und schickt Sie weiter\r\n\t\t\toutput.writeObject(outputMessage.poll());\r\n\t\t\toutput.flush();\r\n\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(\"Die Nachricht konnte nicht zum Clienten gesendet werden\" + e);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "4ce132cd7337341b2037512e8ece814c", "score": "0.560664", "text": "public synchronized void sendMessage(Message message) {\n\t\tif (this.socketOutput == null || message == null) {\n\t\t\treturn;\n\t\t}\n\t\tif (this.socket.isClosed()) {\n\t\t\treturn;\n\t\t}\n\t\tif(!message_types[message.md + 1].equals(\"HAVE\")){\n\t\t\tSystem.out.println(\"Sending {\" + message_types[message.md + 1] + \"} message to Peer \"\n\t\t\t\t\t+ \"ID : [ \" + this.peerId + \"] with IP : [ \" + this.peerIp\n\t\t\t\t\t+ \" ].\");\n\t\t}\n\t\t\t\t\n\t\t\n\t\ttry {\n\t\t\tthis.socketOutput.writeInt(message.lp);\n\t\t\tif (message.md != -1) {\n\t\t\t\tthis.socketOutput.writeByte(message.md);\n\t\t\t\tif (message.md == 0) {\n\t\t\t\t\tthis.amChoking = true;\n\t\t\t\t\tSystem.out.println(\"Started choking Peer \"\n\t\t\t\t\t\t\t+ \"ID : [ \" + this.peerId + \"] with IP : [ \" + this.peerIp\n\t\t\t\t\t\t\t+ \" ].\");\n\t\t\t\t}\n\t\t\t\tif (message.md == 1) {\n\t\t\t\t\tthis.amChoking = false;\n\t\t\t\t\tSystem.out.println(\"Unchoked Peer \"\n\t\t\t\t\t\t\t+ \"ID : [ \" + this.peerId + \"] with IP : [ \" + this.peerIp\n\t\t\t\t\t\t\t+ \" ].\");\n\t\t\t\t}\n\t\t\t\tif (message.md == 2) this.amInterested = true;\n\t\t\t\tif (message.md == 3) this.amInterested = false;\n\t\t\t}\n\t\t\tif (message.ipay != null) {\n\t\t\t\tint[] tempArray = message.ipay;\n\t\t\t\tfor (int i = 0; i < tempArray.length; i++)\n\t\t\t\t\tthis.socketOutput.writeInt(tempArray[i]);\n\t\t\t}\n\t\t\tif (message.bpay != null) {\n\t\t\t\tbyte[] tempArray = message.bpay;\n\t\t\t\tfor (int i = 0; i < tempArray.length; i++)\n\t\t\t\t\tthis.socketOutput.writeByte(tempArray[i]);\n\t\t\t}\n\t\t\tthis.socketOutput.flush();\n\t\t\tif (message.md == 7) {\n\t\t\t\tthis.peerSendArray[message.ipay[0]]++;\n if (this.peerSendArray[message.ipay[0]] > this.MAX_SEND_LIMIT) {\n\t\t\t\t\tthis.peerSendArray[message.ipay[0]] = 0;\n\t\t\t\t\tthis.sendMessage(Message.createChoke());\n\t\t\t\t\tthis.bytesToPeer += message.bpay.length;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.bytes_sent += message.lp;\n\t\t\tthis.clientLastMessage = System.currentTimeMillis();\n\t\t\tthis.peerLastMessage = System.currentTimeMillis();\n\t\t\tif(message_types[message.md + 1].equals(\"PIECE\")){\n\t\t\t\tSystem.out.println(\"\\nSENT A PIECE\\n\");\n\t\t\t\tthis.client.bytesUploaded += message.bpay.length;\n\t\t\t\tthis.fileBytesDownloaded += message.bpay.length;\n\t\t\t}\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e.toString());\n\t\t\tlogger.info(\"A problem occurrred while trying to send a {\" + message_types[message.md + 1] + \"} message to Peer \" \n\t\t\t\t\t+ \"ID : [ \" + this.peerId + \"] with IP : [ \" + this.peerIp\n\t\t\t\t\t+ \" ].\");\n\t\t\tthis.shutdown();\n\t\t}\n\t}", "title": "" } ]
803069f73ff7471b5757d8e1f1772240
TODO Autogenerated method stub Log.i("", "click" + event.toString());
[ { "docid": "09a24339c92d06f044ee88e60c3ea266", "score": "0.0", "text": "@Override\n\tpublic boolean onTouchEvent(MotionEvent event) {\n\t\tx = event.getX();\n\t\ty = event.getY();\n\t\tLog.i(\"\", \"click***** x:\"+x+\" y :\"+y );\n\t\tswitch (event.getAction()) {\n\t\tcase MotionEvent.ACTION_DOWN:\n\t\t\tLog.i(\"\", \"click*****DOWN\");\n\t\t\tsendcmd(TeleMouseEventEnum.LeftDown);\n\t\t\tdownEvent = event;\n\t\t\tlongclickflag=false;\n\t\t\tdx=x;\n\t\t\tdy=y;\n\t\t\t\n\t\t\tnew Thread(new Runnable() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\tif(!longclickflag){\n\t\t\t\t\t\t\tlongclick();\n\t\t\t\t\t\t\tlongclickflag=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}).start();\n\t\t\t\n\t\t\tbreak;\n\t\tcase MotionEvent.ACTION_MOVE:\n\t\t\tLog.i(\"1234\", \"click***** ssdx:\"+Math.abs(x - dx) +\" dasy :\"+Math.abs(y - dy) );\n\t\t\tif (Math.abs(x - dx) < 1\n\t\t\t\t\t&& Math.abs(y - dy) < 1) {\n\t\t\t\tif(event.getEventTime()-event.getDownTime()>1000&&!longclickflag)\n\t\t\t\t{\n\t\t\t\t\tlongclick();\n\t\t\t\t\tlongclickflag=true;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tLog.i(\"\", \"click*****Move\");\n\t\t\t\tsendcmd(TeleMouseEventEnum.Move);\n\t\t\t\tlongclickflag=true;\n\t\t\t}\n\n\t\t\tbreak;\n\t\tcase MotionEvent.ACTION_UP:\n\t\t\tsendcmd(TeleMouseEventEnum.LeftUp);\n\t\t\tlongclickflag=true;\n\t\t\tLog.i(\"\", \"click*****up\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\n\t\treturn true;\n\t\t// return super.onTouchEvent(event);\n\t}", "title": "" } ]
[ { "docid": "ee69d75682019c4a2614b217dbbf8ec8", "score": "0.76984787", "text": "public void onClick(ClickEvent event) {\n\t\t}", "title": "" }, { "docid": "dd6ac8a0ac60b31a2b9252464b9c5a60", "score": "0.74514955", "text": "@EventHandler\r\n public void onClick(NPCClickEvent event) {\n }", "title": "" }, { "docid": "51a9d253389fa1549c18ef3fb07ec290", "score": "0.74495554", "text": "public void onClick(View v) {\n Log.d(\"testclick\", \"clicked\");\n }", "title": "" }, { "docid": "3d9f441a11d06a539e1725ec8d35518e", "score": "0.7403512", "text": "@Override\r\n public void onClick(ClickEvent event) {\n }", "title": "" }, { "docid": "51c1d20be363aeeaaa3ea612ca9a7cc3", "score": "0.7281866", "text": "public void buttonClick(Button.ClickEvent event) {\n\t\t }", "title": "" }, { "docid": "e0859e05d1fe6deae7d3a71aba1ab6da", "score": "0.720788", "text": "@Override\r\n\tpublic void click() {\n\r\n\t}", "title": "" }, { "docid": "7ab727bf6955c9f01335be05ff5dd8c3", "score": "0.71195054", "text": "public void mouseClicked(MouseEvent e)\n {\n //System.out.println(\"Click event at (\"+e.getX()+\", \"+e.getY()+\")\");\n }", "title": "" }, { "docid": "44d66003128a4ca339bfe089ae7fb334", "score": "0.71002305", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d936b67c3868f0d6491e92975a8b519d", "score": "0.70869935", "text": "public void clickFunction(View view){\n System.out.println(\"LALALALALa\");\r\n Log.i(\"Info\",\"Button Pressed!\");\r\n }", "title": "" }, { "docid": "1bbf525345f96fdf022dbced8353d1eb", "score": "0.7066222", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "6eb6b1b401874f4261907cc80a9bae42", "score": "0.70307416", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "0a42acd531976bc809103d8125a43839", "score": "0.7016645", "text": "public void mouseClicked(MouseEvent event){\n }", "title": "" }, { "docid": "59eaff5cbd2a3ede566ee728aa95c092", "score": "0.700831", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent event) {\n\t\t\t}", "title": "" }, { "docid": "59eaff5cbd2a3ede566ee728aa95c092", "score": "0.700831", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent event) {\n\t\t\t}", "title": "" }, { "docid": "59eaff5cbd2a3ede566ee728aa95c092", "score": "0.700831", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent event) {\n\t\t\t}", "title": "" }, { "docid": "59eaff5cbd2a3ede566ee728aa95c092", "score": "0.700831", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent event) {\n\t\t\t}", "title": "" }, { "docid": "1abb813482104dce603c4d6ce48ab940", "score": "0.69905645", "text": "private static void click() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.6982644", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.6982644", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "c2b23a07dd971fb48caa509ae29cd0c7", "score": "0.69610447", "text": "public void click() {\n }", "title": "" }, { "docid": "dc7932e52dd5593b6bb6e713354ba600", "score": "0.69560874", "text": "@Override\n public void mouseClicked(final MouseEvent event)\n {\n handleMouseEvent(event);\n }", "title": "" }, { "docid": "1cc304d23382fea8a57a4d40f85fc3f4", "score": "0.695577", "text": "public void mouseClicked(MouseEvent e) {\n\t}", "title": "" }, { "docid": "1cc304d23382fea8a57a4d40f85fc3f4", "score": "0.695577", "text": "public void mouseClicked(MouseEvent e) {\n\t}", "title": "" }, { "docid": "1cc304d23382fea8a57a4d40f85fc3f4", "score": "0.695577", "text": "public void mouseClicked(MouseEvent e) {\n\t}", "title": "" }, { "docid": "1cc304d23382fea8a57a4d40f85fc3f4", "score": "0.695577", "text": "public void mouseClicked(MouseEvent e) {\n\t}", "title": "" }, { "docid": "007ca314f51bcac0d03fcbfd2caa43c6", "score": "0.6952325", "text": "public void mouseClicked(MouseEvent e) {\n clickEvent(e);\n }", "title": "" }, { "docid": "521f43696cc014e7430272637c7012de", "score": "0.69383997", "text": "public void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "521f43696cc014e7430272637c7012de", "score": "0.69383997", "text": "public void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "521f43696cc014e7430272637c7012de", "score": "0.69383997", "text": "public void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "521f43696cc014e7430272637c7012de", "score": "0.69383997", "text": "public void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "aec0369417bfb5e986c4a238549836f8", "score": "0.6929133", "text": "@Override\n public void onClick(View v) {\n if(mclick!=null){\n mclick.reply(reply, i);\n }\n }", "title": "" }, { "docid": "93e1e7a63cc39215b1e87920fdcde6d7", "score": "0.69271415", "text": "public void mouseClicked(java.awt.event.MouseEvent evt) {\n }", "title": "" }, { "docid": "92b2ccad588c964e4984ec2e84f0aef1", "score": "0.6921692", "text": "public void mouseClicked(MouseEvent e) {\n\t\t}", "title": "" }, { "docid": "6b94af9a3e59c3275aff8d925805dc82", "score": "0.6918315", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\tSystem.out.println(\"mouse clicked\");\n\t}", "title": "" }, { "docid": "478a8e9880e6d1627fc940f1d5fe60d7", "score": "0.69142914", "text": "public void mouseClicked(MouseEvent e)\n\t{\n\t}", "title": "" }, { "docid": "4edda56adb8badc81212da980ab3718e", "score": "0.6914266", "text": "public void mouseClicked(MouseEvent e){\n\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.6913674", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.6913674", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.6913674", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "7aa26514d43840062733a7b95962802d", "score": "0.69104767", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f810f79bf1db887e96c1446110eccad", "score": "0.69078696", "text": "@Override\n\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "1f810f79bf1db887e96c1446110eccad", "score": "0.69078696", "text": "@Override\n\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "43fdd79547156af7eb24cef6f5ffbb8f", "score": "0.69035286", "text": "public void mouseClicked(MouseEvent event)\n {\n }", "title": "" }, { "docid": "5b8b5584e0c1501ec055d726f2c2cef4", "score": "0.69013023", "text": "@Override\r\n public boolean onClick(int which, Object data) {\n return true;\r\n }", "title": "" }, { "docid": "c34332791464966f6d87d96ed64bbd49", "score": "0.6898242", "text": "public void mouseClicked(MouseEvent e) {\n \n }", "title": "" }, { "docid": "d64d4622c6350f06c95ba60654c036c2", "score": "0.6893105", "text": "public void mouseClicked(MouseEvent e)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "5f9f79aeea79c8805ceb4aed43474477", "score": "0.6892716", "text": "@Override\n\tpublic void mouseClicked(final MouseEvent event) {\n\t}", "title": "" }, { "docid": "bc530a45e3406aaea026531a95fb3590", "score": "0.6882812", "text": "public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "0c360ab8b6a34e8f5c606534d5063597", "score": "0.6871088", "text": "@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.6865797", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.6865797", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.6865797", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.6865797", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.68619394", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "611cb69901c680b2c310c2a9fc8509cf", "score": "0.6860583", "text": "@Override\r\n\tpublic void click() {\n\t\tSystem.out.println(\"Click en MAc\");\r\n\r\n\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.685745", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.685745", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.685745", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.685745", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "658474e689205706959cf5273b9eacbd", "score": "0.6848776", "text": "public void onClick(){\n\t}", "title": "" }, { "docid": "7aa26c5cdec78d96d2658efbe994b50e", "score": "0.68429404", "text": "public void doClick() {\n\t}", "title": "" }, { "docid": "6df3389479e97765ceb1a0b0e6325528", "score": "0.6828845", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6df3389479e97765ceb1a0b0e6325528", "score": "0.6828845", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6df3389479e97765ceb1a0b0e6325528", "score": "0.6828845", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "44aeda7ba7bf0bca21317d2dbd4f15cc", "score": "0.6825732", "text": "@Override\n public void mouseClicked(MouseEvent event)\n {\n }", "title": "" }, { "docid": "44aeda7ba7bf0bca21317d2dbd4f15cc", "score": "0.6825732", "text": "@Override\n public void mouseClicked(MouseEvent event)\n {\n }", "title": "" }, { "docid": "c061043e21e39e8fb9443d70e5579e38", "score": "0.6822543", "text": "private void Click() {\n\t\n}", "title": "" }, { "docid": "1c9d8569cdd4d6aea515b15bfac238d6", "score": "0.6817618", "text": "public void mouseClicked(MouseEvent e){}", "title": "" }, { "docid": "491303152d8af70c26df533efc2d95b3", "score": "0.6815601", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.68145615", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.68145615", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "fee486eed3f081fd7f9bb8933b13090c", "score": "0.680002", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t}", "title": "" }, { "docid": "fee486eed3f081fd7f9bb8933b13090c", "score": "0.680002", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.67994684", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.67994684", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.67994684", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.67994684", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.67994684", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "a9b73715d363a0dc5f32bb81a576e7ad", "score": "0.6797785", "text": "@Override\n\t\t\tpublic void clicked (InputEvent event, float x, float y) {\n\t\t\t}", "title": "" }, { "docid": "a9b73715d363a0dc5f32bb81a576e7ad", "score": "0.6797785", "text": "@Override\n\t\t\tpublic void clicked (InputEvent event, float x, float y) {\n\t\t\t}", "title": "" }, { "docid": "957f899006c768040f46f30b76d01a39", "score": "0.6785515", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e)\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "c4b842af6122321dea147f2ba1a1f780", "score": "0.6781933", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n System.out.println(\"YOU CLICKED AND RELEASED\");\n }", "title": "" }, { "docid": "b8cb06923ce04768472a2cb32b37cc62", "score": "0.677645", "text": "@Override\n\t\t public void mouseClicked(MouseEvent e) {\n\t\t }", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "ad89f52ae4d7a0a5cb70833bae697862", "score": "0.6767795", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "65dd84e5e4d9dc3031dba52caa71422c", "score": "0.67673755", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e){}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.6764036", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.6764036", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.6764036", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.6764036", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.6764036", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1bcd0d11b7164063a855d4a80da060fc", "score": "0.675898", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "4f2c42ee238684294a35bb973570f7a3", "score": "0.67524266", "text": "public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "28ac2e973b92bb25c0caa13c2cbdcbaa", "score": "0.674721", "text": "public void handleMouseClick( MouseEvent e ) {\n\n }", "title": "" }, { "docid": "e7e3b61b65b4712b66e702b355c97da0", "score": "0.67443407", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t}", "title": "" }, { "docid": "e7e3b61b65b4712b66e702b355c97da0", "score": "0.67443407", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\r\n\t}", "title": "" } ]
d43445138feb42a55c6b50a44589ecf9
Set the pageLSN to the address of the redoLog applied
[ { "docid": "d1617dd3f387eea0fbd077523bfb90f6", "score": "0.5334077", "text": "public void unPinRedo(PageBuffer page, BufferPool.Affinity affinity,\n long redoAddress) {\n LogPage.setPageLSN(page, redoAddress);\n\n bufferPool.unPinDirty(page, affinity, redoAddress);\n }", "title": "" } ]
[ { "docid": "0aa122902cc25ec5ebc2477bc7b7da94", "score": "0.55285525", "text": "@Override\n void setLastLoggedLsn(long lsn) {\n if (getLastFullVersion() == DbLsn.NULL_LSN) {\n setLastFullLsn(lsn);\n } else {\n lastDeltaVersion = lsn;\n }\n }", "title": "" }, { "docid": "ee999d4e6de55ec1372da8944a799431", "score": "0.52745664", "text": "public final void setLinkToLog(java.lang.String linktolog)\n\t{\n\t\tsetLinkToLog(getContext(), linktolog);\n\t}", "title": "" }, { "docid": "fa1d0fa129fee8ab3df87cab0b2c554b", "score": "0.5103349", "text": "public abstract void setCurrentPageNumber(int numberOfLogsPerPage);", "title": "" }, { "docid": "fe8e7e4bbdf64a2c25ea21c8dd6f7e0c", "score": "0.5102767", "text": "public void logIndex( long logIndex )\n {\n this.logIndex = logIndex;\n }", "title": "" }, { "docid": "da204062d5bd2b032eb3a3e5906d5ca8", "score": "0.5079231", "text": "private void refresh() {\n logServer = refreshAddress(logServer);\n }", "title": "" }, { "docid": "49988ddc5ff8832763c230335f753bc4", "score": "0.504187", "text": "private void setLogContext(AddressingProperties map) {\n }", "title": "" }, { "docid": "9313f4d694d2ce6e4f80f09e95db5533", "score": "0.49140704", "text": "@Override\n void setTarget(int idx, Node target) {\n if (target == null) {\n final Node oldTarget = getTarget(idx);\n if (oldTarget instanceof LN) {\n final long val = ((LN) oldTarget).getVLSNSequence();\n vlsnCache = vlsnCache.set(idx, val, this);\n }\n }\n super.setTarget(idx, target);\n }", "title": "" }, { "docid": "28f962df2bb5fc0a9f11fb7c7d5d25a6", "score": "0.49138978", "text": "public void setPageInUse(int ppn)\n {\n \tLib.assertTrue(this._pageAccessLock.isHeldByCurrentThread());\n \t\n \tLib.debug('u', \"Setting page in use - PPN: \" + ppn);\n\n \tthis._pagesInUse.add(ppn);\t\n \t\n \tprintPagesInUse('u');\n }", "title": "" }, { "docid": "c5b091453e65a6e3ca8ceb45b7a6cb9f", "score": "0.4864519", "text": "public static void setLastPageRead(int pageNumber) {\n SharedPreferences.Editor editor = OpenConfigPreferences().edit();\n editor.putInt(AppConstants.Preferences.LAST_PAGE_NUMBER, pageNumber);\n editor.apply();\n }", "title": "" }, { "docid": "bf822e78f248a7ecf8dc68bf0e40ce83", "score": "0.4853385", "text": "public void setUsehistory(java.lang.String param){\n localUsehistoryTracker = param != null;\n \n this.localUsehistory=param;\n \n\n }", "title": "" }, { "docid": "e79ca3103be3a12cf89bb6570f147cbd", "score": "0.48345554", "text": "public void setln(String s) {\r\n\t\tln = s;\r\n\t}", "title": "" }, { "docid": "ee22e1366ba6cbd893741a1ee78e6d70", "score": "0.48285022", "text": "void setLog(Log log);", "title": "" }, { "docid": "b3cc97f0c53da9281995dc12022470b3", "score": "0.47602904", "text": "@Override\n\tpublic void setRemarks(java.lang.String remarks) {\n\t\t_resultHistoryMinistry.setRemarks(remarks);\n\t}", "title": "" }, { "docid": "32148c15d8ba8444dc7172faac055ba0", "score": "0.47551438", "text": "public void setLogradouro(String logradouro) {\r\n String oldLogradouro = this.logradouro;\r\n this.logradouro = logradouro;\r\n propertyChangeSupport.firePropertyChange(PROP_LOGRADOURO, oldLogradouro, logradouro);\r\n }", "title": "" }, { "docid": "934154ec27b83a9aed46e9578b461549", "score": "0.47381568", "text": "@Override\n\tpublic void reloadPoSConfig(int windowNo) {\n\t\t\n\t}", "title": "" }, { "docid": "3dcc36c82fe11333aef9d19f321d2ac1", "score": "0.4733191", "text": "@Override\n \tpublic void setLogHandler(LinphoneLogHandler handler) {\n \t\t\n \t}", "title": "" }, { "docid": "499b632445ef152719a88f5fa6193f29", "score": "0.4732049", "text": "public void setAddress(long addr) {\n this.address = addr;\n }", "title": "" }, { "docid": "fd50c1d925fbedd413db6fa0861c6b2c", "score": "0.467432", "text": "public abstract void setNumberOfLogsPerPage(int numberOfLogsPerPage);", "title": "" }, { "docid": "a220981bcecbce9abf1c1181dd3f10f3", "score": "0.4649185", "text": "void setTestCaseRunLog(com.eviware.soapui.config.TestCaseRunLogDocumentConfig.TestCaseRunLog testCaseRunLog);", "title": "" }, { "docid": "cbb2a7c0abb208a0a601e86ee43ae12d", "score": "0.46320787", "text": "public void setUndoPoint() {\n\t\tthis.markInNavigationHistory();\n\t\t\n\t}", "title": "" }, { "docid": "1295052be04eb151be92c1292689ad87", "score": "0.46257535", "text": "public static void setLogNode(LogNode node) {\n mLogNode = node;\n }", "title": "" }, { "docid": "5f46be8ee176091e23dd97e9915dc02a", "score": "0.46138284", "text": "public void postLogWork(long justLoggedLsn)\n throws DatabaseException;", "title": "" }, { "docid": "bcc723bfd786c23cc86d172dbfeadc36", "score": "0.4594652", "text": "public void setPageNotInUse(int ppn)\n {\n \tLib.assertTrue(this._pageAccessLock.isHeldByCurrentThread());\n \t\n \tLib.debug('u', \"Setting page not in use - PPN: \" + ppn); \t \t\n \t\n \tthis._pagesInUse.remove(ppn);\n \t\n \tprintPagesInUse('u');\n }", "title": "" }, { "docid": "0d13980d9a865a3a6e5cf5992f591f66", "score": "0.4591346", "text": "public void setLogServer(String logServer) { this.logServer = logServer; }", "title": "" }, { "docid": "9127ce29d92924e94bf35dbf892c7a56", "score": "0.45700684", "text": "public void setLog(String log) {\n\t\tthis.log = log;\n\t}", "title": "" }, { "docid": "baa2b24496a16301f01731a3ace2bf06", "score": "0.45606154", "text": "@Override\n public void setAddress(Address addr) {\n System.err.println(\"DO NOT SET ADDRESS FOR ASM\");\n System.exit(-1);\n }", "title": "" }, { "docid": "539d5550e070335280fd22cba7104e8f", "score": "0.45285922", "text": "private void xfslLogFile(Token tid, Vector v) {\r\n if(xfslcfg == null) return;\r\n File file = new File(tid.image.substring(1,tid.image.length()-1));\r\n xfslcfg.logfile = new XfslLog(file,v);\r\n }", "title": "" }, { "docid": "d4c2a941fb7a10ca43215041ce257065", "score": "0.4526167", "text": "private void setExplanation()\n {\n explanation = \"\";\n if(isSourceAddress)\n explanation = \"Source \";\n else\n explanation = \"Destination \";\n explanation += \"LL2P Address: 0x\" + toTransmissionString().toUpperCase();\n }", "title": "" }, { "docid": "5ec140fb624dc31cd183592b2daf4484", "score": "0.45182532", "text": "@Override\n\t\t\t\t\tpublic void toChangePage(int position) {\n\t\t\t\t\t\tVorT = position;\n\t\t\t\t\t\teditFinish();\n\t\t\t\t\t\tsetCheckBox();\n\t\t\t\t\t}", "title": "" }, { "docid": "d282e86f1ca34421aa223cd6ea544513", "score": "0.45159966", "text": "public final void setLinkToLog(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String linktolog)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.LinkToLog.toString(), linktolog);\n\t}", "title": "" }, { "docid": "6d7d2a4dbc0b0354e6ac2f26a6b96af0", "score": "0.45116764", "text": "private static native void changePage(String url, String t, boolean r, boolean ch, String rol) /*-{\n if (rol != null) {\n $wnd.$.mobile.changePage(url, { transition: t, reverse: r, changeHash: ch, role: rol });\n } else {\n $wnd.$.mobile.changePage(url, { transition: t, reverse: r, changeHash: ch });\n }\n }-*/;", "title": "" }, { "docid": "4b4ef9fd528ba10948b165f6e30b0715", "score": "0.44989103", "text": "private void updateRLHistoryText(Taxon taxon, User user) {\n \t\tfor (Assessment current : SIS.get().getAssessmentIO().readPublishedAssessmentsForTaxon(taxon)) {\n \t\t\tField field = current.getField(CanonicalNames.RedListCriteria);\n \t\t\tif (field == null)\n \t\t\t\tfield = new Field(CanonicalNames.RedListCriteria, current);\n \t\t\t\n \t\t\tRedListCriteriaField proxy = new RedListCriteriaField(field);\n \t\t\tString text = proxy.getRLHistoryText();\n \t\t\tif (text == null || text.equals(\"\")) {\n \t\t\t\tproxy.setRLHistoryText(\"as \" + generateRLHistoryText(taxon));\n \t\t\t}\n \t\t\t\n \t\t\tSIS.get().getAssessmentIO().writeAssessment(current, user, false);\n \t\t}\n \t}", "title": "" }, { "docid": "c67c8c8440d6089c6597261e334eeb77", "score": "0.44862616", "text": "public void setAbsoluteAddress( int realAddr, String value ) {\r\n memory.setContent( realAddr, value );\r\n }", "title": "" }, { "docid": "0480fc3b13daa7653be97c0bcfb64b87", "score": "0.44789034", "text": "@Override\n public void log() {\n shouldProcess = processReq.getBoolean(shouldProcess);\n\n // Update Process Results\n processRes.setString(path.get());\n\n }", "title": "" }, { "docid": "4b268842999f33b72f7e9ccba13fef4f", "score": "0.4469611", "text": "public void setLog(Logger newLog) {\n\t\n}", "title": "" }, { "docid": "28a6565be661e89998b1f7a0c9aeb7b3", "score": "0.44677356", "text": "public void restoreState() {\n // Lib.debug(dbgVM, \"restoreState:\"+this.getProcessID());\n VMKernel.getKernel().invalidateTLB();\n }", "title": "" }, { "docid": "0c6d55df94db62afdb0433f286fe01e7", "score": "0.44607523", "text": "public void addToRedoHistory() {\r\n\t\tWritableImage newImg = new WritableImage((int) App.getCurrentTab().getCanvas().getWidth(), (int) App.getCurrentTab().getCanvas().getHeight());\r\n\t\tSnapshotParameters params = new SnapshotParameters();\r\n\t\tredoManager.push(App.getCurrentTab().getCanvas().snapshot(params, newImg));\r\n\t}", "title": "" }, { "docid": "94bb779fb38c3948093a52f7ddfebbbe", "score": "0.4459169", "text": "public void setLogsum(Integer logsum) {\n this.logsum = logsum;\n }", "title": "" }, { "docid": "e2feeba1a9ba5e7a68edb6bf7766a017", "score": "0.44461727", "text": "public void changeAddress(Address address) { acc.setHomeAddress(address); }", "title": "" }, { "docid": "9d624de3ad5f6a73a5e6b4b7201e6aad", "score": "0.4438862", "text": "public void setAddress(long address);", "title": "" }, { "docid": "5793fed9d4e0e418b0ad70e8be7350c3", "score": "0.4438288", "text": "public void setMemo(String param) {\r\n\t\tlocalMemoTracker = true;\r\n\r\n\t\tthis.localMemo = param;\r\n\r\n\t}", "title": "" }, { "docid": "ac4ea699da98fd7791a0d8eefc4e373b", "score": "0.44277447", "text": "private void updateLog(final String log) {\n\t\trunOnUiThread(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t\tmLog.append(\"\\n\"+log);\n\t\t\t\t\n\t\t\t\t/*\n\t\t\t\t * Scroll the scroll view down\n\t\t\t\t */\n\t\t\t\tif(isScrollingEnabled)\n\t\t\t\t\tmScrollView.scrollTo(0, mLog.getHeight());\n\t\t\t}\n\t\t});\n\t\t\n\t}", "title": "" }, { "docid": "fffd6423981870902ffcd9d05248cb67", "score": "0.44237214", "text": "public void setPlSremark(String plSremark) {\n this.plSremark = plSremark;\n }", "title": "" }, { "docid": "5854f088221163f0987ed3c91604f706", "score": "0.4420385", "text": "public LogSequenceNumber writeUpdatePageRecord(DBPage dbPage)\n throws IOException {\n\n if (dbPage == null)\n throw new IllegalArgumentException(\"dbPage must be specified\");\n\n if (!dbPage.isDirty())\n throw new IllegalArgumentException(\"dbPage has no updates to store\");\n\n // Retrieve and verify the transaction state.\n TransactionState txnState = SessionState.get().getTxnState();\n if (!txnState.isTxnInProgress()) {\n throw new IllegalStateException(\n \"No transaction is currently in progress!\");\n }\n\n LogSequenceNumber lsn = nextLSN;\n\n logger.debug(String.format(\"Writing an %s record for transaction %d at LSN %s\",\n WALRecordType.UPDATE_PAGE, txnState.getTransactionID(), lsn));\n\n // Record the WAL record. First thing to do: figure out where it goes.\n\n DBFileWriter walWriter = getWALFileWriter(lsn);\n\n walWriter.writeByte(WALRecordType.UPDATE_PAGE.getID());\n walWriter.writeInt(txnState.getTransactionID());\n\n // We need to store the previous log sequence number for this record.\n LogSequenceNumber prevLSN = txnState.getLastLSN();\n walWriter.writeShort(prevLSN.getLogFileNo());\n walWriter.writeInt(prevLSN.getFileOffset());\n\n // Store the filename and page number that is being updated.\n walWriter.writeVarString255(dbPage.getDBFile().getDataFile().getName());\n walWriter.writeShort(dbPage.getPageNo());\n\n // This offset is where we will store the number of data segments we\n // need to record. We don't know the value until later, so remember\n // the position and fill it in later.\n int segCountOffset = walWriter.getPosition();\n walWriter.writeShort(-1);\n \n byte[] oldData = dbPage.getOldPageData();\n byte[] newData = dbPage.getPageData();\n int pageSize = dbPage.getPageSize();\n\n // DEBUG: Show changes from old version of page to new version of page.\n // logger.debug(\"DBPage changes:\\n\" + dbPage.getChangesAsString());\n\n int numSegments = 0;\n int index = 0;\n while (index < pageSize) {\n logger.debug(\"Skipping identical bytes starting at index \" + index);\n \n // Skip data until we find stuff that's different.\n index += ArrayUtil.sizeOfIdenticalRange(oldData, newData, index);\n assert index <= pageSize;\n if (index == pageSize)\n break;\n\n logger.debug(\"Recording changed bytes starting at index \" + index);\n\n // Find out how much data is actually changed. We lump in small\n // runs of unchanged data just to make things more efficient.\n int size = 0;\n while (index + size < pageSize) {\n size += ArrayUtil.sizeOfDifferentRange(oldData, newData,\n index + size);\n assert index + size <= pageSize;\n if (index + size == pageSize)\n break;\n\n // If there are 4 or less identical bytes after the different\n // bytes, include them in this segment.\n int sameSize = ArrayUtil.sizeOfIdenticalRange(oldData, newData,\n index + size);\n\n if (sameSize > 4 || index + size + sameSize == pageSize)\n break;\n\n size += sameSize;\n }\n\n logger.debug(\"Found \" + size + \" changed bytes starting at index \" +\n index);\n\n // Write the starting index within the page, and the amount of\n // data that will be recorded at that index.\n walWriter.writeShort(index);\n walWriter.writeShort(size);\n\n // Write the old data (undo), and then the new data (redo).\n walWriter.write(oldData, index, size);\n walWriter.write(newData, index, size);\n\n numSegments++;\n\n index += size;\n }\n assert index == pageSize;\n\n // Now that we know how many segments were recorded, store that value\n // at the appropriate location.\n int currOffset = walWriter.getPosition();\n walWriter.setPosition(segCountOffset);\n walWriter.writeShort(numSegments);\n walWriter.setPosition(currOffset);\n\n // Write the start of the update record at the end so that we can get\n // back to the record's start when scanning the log backwards.\n\n walWriter.writeInt(lsn.getFileOffset());\n walWriter.writeByte(WALRecordType.UPDATE_PAGE.getID());\n\n // Store the LSN of the change on the page.\n lsn.setRecordSize(walWriter.getPosition() - lsn.getFileOffset());\n dbPage.setPageLSN(lsn);\n dbPage.syncOldPageData();\n\n // Since we issued a new write-ahead log record for the current\n // transaction, update the \"last LSN\" value for the transaction.\n txnState.setLastLSN(lsn);\n\n nextLSN = computeNextLSN(nextLSN.getLogFileNo(), walWriter.getPosition());\n\n return lsn;\n }", "title": "" }, { "docid": "e25d69678669e581716f7fd35f5ab1bf", "score": "0.44131896", "text": "public void setLogToScreen( Boolean pLogtoscreen )\r\n {\r\n logToScreen = pLogtoscreen;\r\n }", "title": "" }, { "docid": "a50eeee46ec6c3668d80aa7a4b5ffd4c", "score": "0.44115996", "text": "public void addLog(String log) {logPanel.addLog(log);}", "title": "" }, { "docid": "bb59bc31b0a68471b11841509fa3b25d", "score": "0.44098973", "text": "public void setCurrentTrailNumber(int currentTrailNumber) {\r\n\t\tthis.currentTrailNumber = currentTrailNumber;\r\n\t}", "title": "" }, { "docid": "cb98d9c3b3db130e835e899f6749a18d", "score": "0.4400596", "text": "private void setOffset(ParseTree node, Integer offset) {\n this.result.setOffset(node, offset);\n }", "title": "" }, { "docid": "b3dc6da2b7b84982f4f4e2ce577b7474", "score": "0.43986216", "text": "@Override\r\n\tpublic void history() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d2382d50acaf4dfe7093d10fb3bed24", "score": "0.4394772", "text": "@Override\n public void setRouteAddr(String route) {\n super.setRouteAddr(route);\n }", "title": "" }, { "docid": "845a13e2f57faf1e3daa2d30c7153f30", "score": "0.4392654", "text": "public void setLogStream(String logStream) {\n this.logStream = logStream;\n }", "title": "" }, { "docid": "eb845b02a46f6d8e0602b3e4d8ad636e", "score": "0.43893692", "text": "public void setLineNumber(int nlin)\n\t{\n\t\tthis.informPreUpdate();\n\t\tif ((nlin>0) && (nlin<=maxlinee))\n\t\t{\n\t\t\tnumerolinee = nlin;\n\t\t\tfor(int i=0; i<numerolinee; i++)\n\t\t\t{\n\t\t\t\tvettore[i] = new Line2D.Double(minX+20,minY+(hfascia*(i+1)),\n\t\t\t\t\tmaxX-20,minY+(hfascia*(i+1)));\t\t\t\t\n\t\t\t}\n\t\t\tmaxY = minY+(numerolinee+1)*hfascia;\n\t\t\tlinea.setLine(minX,maxY,maxX,maxY);\n\t\t}\n\t\tthis.informPostUpdate();\n\t}", "title": "" }, { "docid": "ef4d087e67e2c3b2885960764185ab7a", "score": "0.43891245", "text": "public void setPageNo(Long PageNo) {\n this.PageNo = PageNo;\n }", "title": "" }, { "docid": "922be1c9582cf65b8504a32170307e40", "score": "0.43890342", "text": "void setOffset(long offset);", "title": "" }, { "docid": "2decce70cd680561b68187eb4d62edbf", "score": "0.43799275", "text": "public void setSsn(String ssn) { // this ssn is argument varible\r\n\t\tif (ssn.length() == 9) {\r\n\t\t\tthis.ssn = ssn;\r\n\t\t\tSystem.out.println(\"welcome back to SSN number website\");\r\n\t\t}else {\r\n\t\t\tSystem.out.println(\"Invalid SSN\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b9f2cf7e6f47eb9e2d94438507e8efd6", "score": "0.43797192", "text": "private void setPage(String page) {\n\t\ttry {\n\t\t\thelpDisplay.setPage(page);\n\t\t} catch(IOException ioe) {\n\t\t\thelpDisplay.setText(\"Page not found.\");\n\t\t}\n\t}", "title": "" }, { "docid": "f8ecb1204fae0bc996c291eb90777e93", "score": "0.43785", "text": "public void setDoclineno (String doclineno) {\n\t\tthis.doclineno = doclineno;\n\t}", "title": "" }, { "docid": "dd851b0d747ac0de525f9f9cb731b365", "score": "0.43775752", "text": "@Override\n\tpublic void setDocumentName(long documentName) {\n\t\t_resultHistoryMinistry.setDocumentName(documentName);\n\t}", "title": "" }, { "docid": "82f9f078d82009ea6de5c8e035c523e5", "score": "0.43691367", "text": "public void setRelocate(String value) {\r\n setAttributeInternal(RELOCATE, value);\r\n }", "title": "" }, { "docid": "dc16cd4341a8c0c7cace6ee11e5b8b83", "score": "0.43667397", "text": "public void redo() {}", "title": "" }, { "docid": "077122b2ca4ef2e52377964c0748fa49", "score": "0.43661037", "text": "void setLsid(java.lang.String lsid);", "title": "" }, { "docid": "84a0c03e44cc95ece8987731c8b394e9", "score": "0.43628988", "text": "public static void setLogMap(Map<Long, String> logMap)\n {\n Log.logMap = logMap;\n }", "title": "" }, { "docid": "e8684373f45adb95311ae0fb94f54c76", "score": "0.43615663", "text": "public void setRenderLastPageLink(String renderLastPage) {\n this.renderLastPage = renderLastPage;\n}", "title": "" }, { "docid": "cae030f60f0131795dbf14ad24d767b4", "score": "0.43554765", "text": "@Override\n\tpublic void setAccessNumber(long plAccessNumber) \n\t{\n\t}", "title": "" }, { "docid": "19ca718a669f00e18a4d77e9fd8dd2ff", "score": "0.4354945", "text": "public void setLrParam() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: gov.nist.javax.sip.address.SipUri.setLrParam():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: gov.nist.javax.sip.address.SipUri.setLrParam():void\");\n }", "title": "" }, { "docid": "4ed216326405727ca2ebcb593496326f", "score": "0.43496516", "text": "@Override\r\n\tpublic void logAppend(Log log) {\n\t\tld.logAppend(log);\r\n\t}", "title": "" }, { "docid": "5e492273e15eeab5baf88a6a76e47523", "score": "0.43329835", "text": "@Override\r\n\r\n\tpublic void setOutLine(LLine line) {\n\r\n\t}", "title": "" }, { "docid": "8494b45dd17a4f5dc3805633d7f892e6", "score": "0.43234098", "text": "private void reset_page_level(){\n\t\ttitle = \"\";\n\t\tnamespace = \"\";\n\t}", "title": "" }, { "docid": "c318b79c1beca732e5822cca1c0c6f54", "score": "0.43225005", "text": "public void pinPage(PageId pageno, Page page, boolean skipRead) {\n\n\t \n\t System.out.println(\" In pin page method.. \");\n\t int pickVictimHead;\n\t \n\t \n\t // Following lines are getting us the frame from the frametab using the pagemap.. \n\t FrameDesc fd = pagemap.get(pageno.pid);\n\t\n\t\n\t \n\t if(fd != null)\n\t {\n\t\t if(skipRead == PIN_MEMCPY )\n\t\t {\n\t\t\t throw new IllegalArgumentException(\" Some error.. \");\n\t\t }\n\t\t else\n\t\t {\n\t\t\t fd.pincnt++;\n\t\t\t // in this i am setting the buffer pool with that page. \n\t\t\t page.setPage(bufpool[fd.index]);\n\t\t\t replacer.pinPage(fd);\n\t\t }\n\t }\n\t else \n\t {\n\t\t \n\t\t // Now we will call for the pickvictim method.. \n\t pickVictimHead = replacer.pickVictim();\n\t \t if(pickVictimHead == -1)\n\t {\n\t\t throw new IllegalStateException(\" The buffer pool is full.. No replacement possible. \");\n\t\t }\n\t else\n\t {\n\t\t \n\t\t if(skipRead == PIN_DISKIO)\n\t\t {\n\t\t\t if(frametab[pickVictimHead].dirty == true)\n\t\t\t {\n\t\t\t\t flushPage(frametab[pickVictimHead].pageno);\n\t\t\t\t }\n\t\t\t \t\t\t \n\t\t\t\t global.Minibase.DiskManager.read_page(pageno, bufpool[pickVictimHead]); \n\t\t\t\t pagemap.remove(frametab[pickVictimHead].pageno.pid);\n\t\t\t\t frametab[pickVictimHead].pincnt++;\n\t\t\t\t page.setPage(bufpool[pickVictimHead]);\n\t\t\t\t \n \t\t frametab[pickVictimHead].pageno = pageno;\n \t\t frametab[pickVictimHead].dirty = false;\n \t\t \n \t\t pagemap.put(pageno.pid, frametab[pickVictimHead]);\n \t\t \t replacer.pinPage(frametab[pickVictimHead]);\n\t\t\t\t \n\t\t\t \n\t\t }\n\t\t\t else if(skipRead == PIN_MEMCPY)\n\t\t\t\t {\n\t\t\t\t\t if(frametab[pickVictimHead].dirty == true)\n\t\t\t\t\t {\n\t\t\t\t\t\t flushPage(frametab[pickVictimHead].pageno);\n\t\t\t\t\t }\n\t\t\t\t\t \n\t\t\t\t\t bufpool[pickVictimHead].copyPage(page);\n\t\t\t\t\t // We need the page to point to the bufpool. \n\t\t\t\t\t page.setPage(bufpool[pickVictimHead]);\n\t\t\t\t\t pagemap.remove(frametab[pickVictimHead].pageno.pid);\n\t\t\t\t\t frametab[pickVictimHead].pincnt++;\n\t\t\t\t\t \n\t\t \t\t \n\t\t \t\t frametab[pickVictimHead].pageno = pageno;\n\t\t \t\t frametab[pickVictimHead].dirty = false;\n\t\t \t\t \n\t\t \t\t pagemap.put(pageno.pid, frametab[pickVictimHead]);\n\t\t \t\t \n\t\t \t\t replacer.pinPage(frametab[pickVictimHead]);\n\t\t\t\t\t \n\t\t\t\t }\n\t\t }\n\t\t \n\t }\n\t }", "title": "" }, { "docid": "108ef9b27ca6ff77b4979730a742eacb", "score": "0.4313012", "text": "public void setLastAddress(int lastAddress) {\r\n this.lastAddress = lastAddress;\r\n }", "title": "" }, { "docid": "9dd044f9bbd45d31e784ff4d0ab9dbc7", "score": "0.43126398", "text": "private void loadRecoveryTrLink(HttpServletRequest hsr, TranslationVO ctr) {\n hsr.setAttribute(\"wordFrom\", ctr.getWordFrom());\n hsr.setAttribute(\"wordTo\", ctr.getWordTo());\n hsr.setAttribute(\"langFrom\", ctr.getLangFrom());\n hsr.setAttribute(\"langTo\", ctr.getLangTo());\n hsr.setAttribute(\"accepFrom\", ctr.getAccepFrom());\n hsr.setAttribute(\"accepTo\", ctr.getAccepTo());\n hsr.setAttribute(\"deletedTr\", true);\n }", "title": "" }, { "docid": "a5c903cdac336d9a53adac03af97a504", "score": "0.43094617", "text": "public void setDocumentLocator(Locator l) {\n\t\tSystem.err.println(\"Debug: systemId()>\"+l.getSystemId()\n\t\t\t\t+\"< publicId()>\"+l.getPublicId()\n\t\t\t\t+\"< columnNumber>\"+l.getColumnNumber()\n\t\t\t\t+\"< lineNumber>\"+l.getLineNumber()+\"<\");\n\t}", "title": "" }, { "docid": "aaa717ef5cebaf50f2a380a38ac210d9", "score": "0.43076664", "text": "protected void log(String line) {\n try {\n PersistentStorageWriter logWriter = owner.getWriter(kLogFileName, true);\n logWriter.write(line + \"\\n\");\n } catch (IOException ioe) {\n System.err.println(\"While appending to dirty log:\");\n ioe.printStackTrace();\n throw new IllegalStateException(\"Cannot append to dirty log!\", ioe);\n }\n }", "title": "" }, { "docid": "ed49d03c02795ca89c7ffe37098994b3", "score": "0.43036264", "text": "@FXML\n\tvoid setLinLogLayout(ActionEvent event) {\n\t\t_viewer.disableAutoLayout();\n\t\t_viewer.enableAutoLayout(new LinLog());\n\t}", "title": "" }, { "docid": "a07ea59cd275caa6f32946b845a24191", "score": "0.42962915", "text": "void setLineNumber(java.math.BigInteger lineNumber);", "title": "" }, { "docid": "a07ea59cd275caa6f32946b845a24191", "score": "0.42962915", "text": "void setLineNumber(java.math.BigInteger lineNumber);", "title": "" }, { "docid": "a07ea59cd275caa6f32946b845a24191", "score": "0.42962915", "text": "void setLineNumber(java.math.BigInteger lineNumber);", "title": "" }, { "docid": "5fc1c476204cc6b38cf170b1fe69fefe", "score": "0.42961904", "text": "public void addPage(Control_Process_Page pid, TranslationEntry page) {\n \n\t\t\tcoreMap.put(page.ppn, pid);\n\t\t\tinvertedPageTable.put(pid, page);\n\t\t\t\n\t\t\tif(clock.size() > 0)\n\t\t\t\tclock.add((clockPos -1 + clock.size()) % clock.size(), pid);\n\t\t\telse {\n\t\t\t\tclock.add(pid);\n\t\t\t\tclockPos = 0;\n\t\t\t}\n\t\t\t\n\t\t\tpage.valid = true;\n\t\t}", "title": "" }, { "docid": "5d86d3f258c24b450398680cdf3e4b47", "score": "0.4293076", "text": "private void setTrailHeader(String trailName) {\n\t}", "title": "" }, { "docid": "f7bccf0da66843f62b6fb90a1901b6cc", "score": "0.42894235", "text": "private void saveLog() {\n logger.saveLog(\"TspControll\");\r\n }", "title": "" }, { "docid": "83241aa80fd634c85ccee6afe029bf94", "score": "0.4288182", "text": "private void setMemoPos() {\n\tif (memo.getListMemoPos() != null) {\n\t\tMemoPos_VO posVO = (MemoPos_VO)memo.getListMemoPos().get(getNumPos());\n\t\t//устанавливаем позицию:\n\t\tmemoPos = posVO;\n\t}\n}", "title": "" }, { "docid": "567ae17e607ba04b500725f052a3ac83", "score": "0.4286942", "text": "@Override\r\n\t\t\t\t\t\t\t\tpublic void onRestore(int process) {\n\t\t\t\t\t\t\t\t\tpbBar.setProgress(process);\r\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "10203ef79b4dcff70957f6a7937919d5", "score": "0.42849326", "text": "public void setAddr(String addr) {\n this.addr = addr;\n }", "title": "" }, { "docid": "058947827da79e589726c8962b0cb8bb", "score": "0.4281628", "text": "public void setRnn(java.lang.String rnn) {\n this.rnn = rnn;\n }", "title": "" }, { "docid": "dab4c7131ebcfaba5f5f1de403239318", "score": "0.42728007", "text": "protected void pageConfig()\n\t{\n\t\trefId = 0;\n\t\tsbhScope.setList(fBb.allOrderedPositionVisible(fbBb.getClassScope()));\n\t\tsbhScope.setDefault();\n\t}", "title": "" }, { "docid": "ef65a0d699fc0600cd3ee9d5f8695eef", "score": "0.42661172", "text": "private void changePage() {\n\t\tint maxPages = (names.length-1)/7;\n\t\tif(page == maxPages)\n\t\t\tpage = 0;\n\t\telse\n\t\t\tpage++;\n\t\tpages.setText(\"Page \" + (page+1) + \" of \" + ((names.length-1)/7 + 1));\n\t\tdisplayHand();\n\t}", "title": "" }, { "docid": "128e1ec7483eccf642d4af8b91c2678b", "score": "0.42615062", "text": "public void setLogMsg(String logMsg) {\r\n this.logMsg = logMsg;\r\n }", "title": "" }, { "docid": "f7364022d8a19cc4a3fb38619c139c48", "score": "0.425278", "text": "private void setStateLastPage(){\r\n\t\t\tsetStateMiddlePage();\r\n\t\t\tbuttons.getBtnNext().setText(\"Export>>\");\r\n\t\t}", "title": "" }, { "docid": "d50ddf8ff47380ac59d13d3c1685147f", "score": "0.4251965", "text": "public void setLog(Logger newLog) {\n m_Log = newLog;\n }", "title": "" }, { "docid": "f52adb36fbe0f14fd868c346d81ce97b", "score": "0.42515665", "text": "public final void setPageNo(java.lang.Integer pageno)\n\t{\n\t\tsetPageNo(getContext(), pageno);\n\t}", "title": "" }, { "docid": "6caf12872be8e214d44001692130c790", "score": "0.4250271", "text": "public void setMemo(String aMemo)\n\t\t\t\t{\n\t\t\t\t\t\t\t\tmemo = aMemo;\n\t\t\t\t}", "title": "" }, { "docid": "6b2ba65769ac2e5566656767a60d9df6", "score": "0.42489478", "text": "public void setLocation(Location l) {\n/* 404 */ checkMainStripe();\n/* 405 */ this.mainStripe.setLocation(l);\n/* */ }", "title": "" }, { "docid": "6785258e2d61ae1e8d171570ae2fab9d", "score": "0.4240246", "text": "public void setLastRead(long to, long lastRead) {\n String sql = \"UPDATE Preferences SET lastReadNewsletter = ? WHERE idTelegram = ?\";\n try {\n PreparedStatement pstmt = db.prepareStatement(sql);\n pstmt.setLong(1, lastRead);\n pstmt.setLong(2, to);\n pstmt.executeUpdate();\n } catch (SQLException e) {\n logger.log(Level.SEVERE, \"SubscribersDB: An exception has been caught while trying to set a subscriber's last read...\", e);\n }\n }", "title": "" }, { "docid": "4672f2b70640b41340773d41358bc9be", "score": "0.42400196", "text": "public void setNumberHistory(String newNumberHistory){\r\n\tnumberOfHistory = newNumberHistory;\r\n}", "title": "" }, { "docid": "adb3c38063f0620c7facf08d20b56a2c", "score": "0.42344844", "text": "public void realRestore(){\r\n List<Map<String,String>> list;\r\n list = selectRestDiskPane.getListRstMappingTable();\r\n boolean isok;\r\n String amsArgs;\r\n for(int i=0; i<list.size(); i++){\r\n String src = list.get(0).get(\"src\");\r\n String dest = list.get(0).get(\"dest\");\r\n String restore = list.get(0).get(\"restore\");\r\n\r\n amsArgs = src + \" \" + dest + \" \" + restore;\r\n isok = view.initor.mdb.restoreNetDisk( host.getIP(), host.getPort(), amsArgs);\r\n if( isok ){\r\n runPane.setLogOnTabpane( SanBootView.res.getString(\"View.MenuItem.cpnetdisk\") + \"[\" + src + \"-\" + dest + \"]\" + \" \"+ SanBootView.res.getString(\"common.ok\"), 0 );\r\n }else{\r\n runPane.setLogOnTabpane( SanBootView.res.getString(\"View.MenuItem.cpnetdisk\") + \"[\" + src + \"-\" + dest + \"]\"+ \" \"+ SanBootView.res.getString(\"common.failed\"), 0 );\r\n }\r\n }\r\n runPane.setTaskStatus( InitTask.getTaskStatusStr( InitTask.INIT_TASK_STA_END ), 0, 2 );\r\n }", "title": "" }, { "docid": "3c9bbe519e93366e7e823d92c7a4a77d", "score": "0.42315656", "text": "public void setDocumentLocator(Locator arg0) {\n/* 308 */ super.setDocumentLocator(arg0);\n/* */ }", "title": "" }, { "docid": "1dbecf82461c9a0f2029d46db2d4660f", "score": "0.42314196", "text": "public void setNext(mLogNode node) {\n mNext = node;\n }", "title": "" }, { "docid": "0d12638b8723589c9b24cc86908ff19a", "score": "0.42292967", "text": "void setStepLineNumber(int number)\n\t{\n\t\tthis.stepLineNumber = number;\n\t}", "title": "" }, { "docid": "0d12638b8723589c9b24cc86908ff19a", "score": "0.42292967", "text": "void setStepLineNumber(int number)\n\t{\n\t\tthis.stepLineNumber = number;\n\t}", "title": "" }, { "docid": "0d12638b8723589c9b24cc86908ff19a", "score": "0.42292967", "text": "void setStepLineNumber(int number)\n\t{\n\t\tthis.stepLineNumber = number;\n\t}", "title": "" } ]
b512b7da513d8c017f21e8ee8659e45b
This method save the Patient Consent
[ { "docid": "667a2a9aecae1f0102dda0b4d593591c", "score": "0.7351215", "text": "private void savePatientConsent() {\n\t\telement(\"btn_savePatientConsent\").click();\n\t\tlogMessage(\"User save the patient consent\");\n\t}", "title": "" } ]
[ { "docid": "5e0b1a5b131ff13e9b935d13c07c8185", "score": "0.68184435", "text": "private void savePatient() {\n\n Patient patient = new Patient();\n Patient patientSaved = null;\n\n\n int phone = parseInt(patientView.getTextFieldTelephonPersonalPatient().getText());\n\n patient.setName(patientView.getTextFieldNamePatient().getText());\n patient.setDateBorn(patientView.getTextFieldDateBornPatient().getText());\n patient.setTelephone(phone);\n patient.setAddress(patientView.getTextFieldAddressPatient().getText());\n patient.setAssociatedDiseases(patientView.getTextAreaAssosiateDiseasesPatient().getText());\n patient.setObservations(patientView.getTextAreaObservationPatient().getText());\n\n patientSaved = patientService.savePatient(patient);\n\n if (patientSaved != null) {\n showMessageDialog(null, \"Se almacenó correctamente los datos del Paciente con \" +\n \"el id [\" + patientSaved.getId_patient() + \"]\");\n patientView.getTextFieldNamePatient().setText(\"\");\n patientView.getTextFieldDateBornPatient().setText(\"\");\n patientView.getTextFieldTelephonPersonalPatient().setText(\"\");\n patientView.getTextFieldAddressPatient().setText(\"\");\n patientView.getTextAreaAssosiateDiseasesPatient().setText(\"\");\n patientView.getTextAreaObservationPatient().setText(\"\");\n\n\n } else {\n showMessageDialog(null, \"Hubo un error al almacenar los datos del Paciente\");\n }\n actualizar();\n }", "title": "" }, { "docid": "001dce93766a9cca191ef94e395d4ba3", "score": "0.6152407", "text": "public void save() {\n\t\ttry {\r\n\t\t\tif (!StringUtil.isNullOrEmpty(tipoCandidato.validate())) {\r\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(\"growlMessage\",\r\n\t\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_WARN, \"Alerta\", tipoCandidato.validate()));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\ttipoCandidatoDAO.update(tipoCandidato);\r\n\t\t\t// for=\"growlMessage\"\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(\"growlMessage\",\r\n\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_INFO, \"Mensagem\", \"Salvo com sucesso.\"));\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(\"growlMessage\",\r\n\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_FATAL, \"Contate o admin do sistema\", e.getMessage()));\r\n\t\t\t// TODO: handle exception\r\n\t\t}\r\n\t\ttipoCandidato = new TipoCandidato();\r\n\r\n\t}", "title": "" }, { "docid": "a7789acb5c85bad362a69c04f13fefc8", "score": "0.5878337", "text": "@objid (\"006a1062-c497-106a-bf4f-001ec947cd2a\")\n public void save() {\n }", "title": "" }, { "docid": "49af723bfe21f85dc48ea6ccb1ba4da7", "score": "0.5811932", "text": "@Override\r\n\tpublic void save(ConsigRetStnDt consigRetStnDt) {\n\t\tconsigRetStnDtRepository.save(consigRetStnDt);\r\n\t}", "title": "" }, { "docid": "07a207745715d91062131f5fdfb7ae12", "score": "0.571296", "text": "@PostMapping(\"/patient\")\r\n\tpublic ResponseEntity<?> save(@RequestBody Patient patient) {\r\n\t\tlong id = patientService.save(patient);\r\n\t\treturn ResponseEntity.ok().body(\"New Patient has been saved with ID:\" + id);\r\n\t}", "title": "" }, { "docid": "fc4604da6c7cd24c803f2a2536404c29", "score": "0.5708825", "text": "@PostMapping\n public ResponseEntity<DoctorDTO> save(@RequestBody DoctorDTO doctorDTO){\n Doctor newDoctor = doctorService.save(modelMapper.map(doctorDTO, Doctor.class));\n\n emailService.sendNewDoctorEmail(newDoctor);\n logger.info(String.format(\"Doctor entity with id %d was successfully created.\",newDoctor.getId()));\n\n return new ResponseEntity<>(modelMapper.map(newDoctor, DoctorDTO.class), HttpStatus.CREATED);\n }", "title": "" }, { "docid": "8823fbe7ec1f8ed7d4b6a864e87caf5c", "score": "0.56930953", "text": "@Override\r\n\tpublic void save(TIeitemCommission itemCommission) {\n\r\n\t}", "title": "" }, { "docid": "e42a458db42d6f60fab1e205eba4065b", "score": "0.56842285", "text": "public void save() {\n //TODO: Save the relationship object, hasOne e hasMany\n generator.setAttributes(javaRecord.getAttributes());\n generator.save();\n //saveHasMany();\n }", "title": "" }, { "docid": "50e8ee036b3774285920574fec596fb8", "score": "0.565845", "text": "@Override\n\tpublic void save(DiscountDtlVO discountDtlVO) {\n\t\t\n\t}", "title": "" }, { "docid": "1c3be720a08cf6d5cf87ba8719e4b9b2", "score": "0.5657154", "text": "@Override\n\tpublic void save(Patent patent) {\n\t\tif (patent == null) {\n\t\t\treturn;\n\t\t}\n\t\tthis.getHibernateTemplate().save(patent);\n\t}", "title": "" }, { "docid": "2ff8300d1aa5a2c3fd68fe27d4377f3c", "score": "0.5649883", "text": "@Override\n\tpublic void save(Acceso acceso) {\n\t\t\n\t}", "title": "" }, { "docid": "6d7007db6c2e68d93f0cc0d3ed92d2d1", "score": "0.56298935", "text": "private void saveDoctorID() {\n DoctorsAPI apiInterface = ZenApiClient.getClient().create(DoctorsAPI.class);\n Call<Doctor> call = apiInterface.fetchDoctorID(user.getUid());\n call.enqueue(new Callback<Doctor>() {\n @Override\n public void onResponse(@NonNull Call<Doctor> call, @NonNull Response<Doctor> response) {\n// Log.e(\"RESPONSE\", String.valueOf(response.raw()));\n /* GET THE DOCTOR'S ID */\n DOCTOR_ID = response.body().getDoctorID();\n if (DOCTOR_ID != null) {\n\n /* SET DOCTOR'S ID TO THE APP'S PRIVATE SHARED PREFERENCES */\n getApp().setDoctorID(DOCTOR_ID);\n\n /* CHECK IF THE DOCTOR HAS CREATED / MAPPED A CLINIC */\n clinicChecker();\n }\n }\n\n @Override\n public void onFailure(@NonNull Call<Doctor> call, @NonNull Throwable t) {\n// Log.e(\"FAILURE\", t.getMessage());\n Crashlytics.logException(t);\n }\n });\n }", "title": "" }, { "docid": "8c8190fb9c4f0f259563cbd47b5a0d83", "score": "0.5601068", "text": "SurveyDTO saveSurvey(SurveyDTO survey);", "title": "" }, { "docid": "0ddf27c781d45b2bd48491afce6cdcc1", "score": "0.55548257", "text": "public IncidentPage saveIncident() {\n\n\t\tclickById(\"Save_Id\");\n\t\tWait(5000);\n\n\t\tif (getTextByXpath(\"CREATEINC_Pointer_Xpath\").contains(getIncidentNumber()))\n\t\t\tReporter.reportStep(\"The Create Incident process is successful\", \"SUCCESS\");\n\t\telse\n\t\t\tReporter.reportStep(\"The Create Incident process failed. Check snapshot\", \"FAILURE\");\n\t\treturn this;\n\t}", "title": "" }, { "docid": "bb1c49f91808fa6499ab369054479d40", "score": "0.555005", "text": "public void save()\r\n\t{\r\n\t\t//TODO\r\n\t}", "title": "" }, { "docid": "169dd2dbcf23fca5e24d148b7f6fbabd", "score": "0.55297476", "text": "@Override\n\tpublic int savePatientService(Patient patient) {\n\t\treturn dao.savePatientDao(patient);\n\t}", "title": "" }, { "docid": "57cc830174174e4eeffa294f86236d9c", "score": "0.55288994", "text": "@Override\n\tpublic void saveData() {\n\t\tString LocalLinkMan\t=et_LocalLinkMan.getText().toString(),//\t联系人\n\t\tLocalAdd\t= et_LocalAdd.getText().toString(),//\t联系人地址\n\t\tLocalTel\t= et_LocalTel.getText().toString(),//\t联系人电话\n\t\tLocalCellPhone\t=et_LocalCellPhone.getText().toString(),//\t联系人手机\n\t\tUrgencyLinkMan\t= et_UrgencyLinkMan.getText().toString(),//\t紧急联系人\n\t\tRelaToLender\t=et_RelaToLender.getText().toString(),//\t同借款人关系\n\t\tUrgencyTel\t= et_UrgencyTel.getText().toString(),//\t紧急联系人电话\n\t\tCustomerResource =et_CustomerResource.getText().toString();//\t客户来源\n\t\t\n\t\t\n\t\tCustomInfo mCustomInfo = Contants.tempCustomInfo;\n\t\tif(mCustomInfo == null){\n\t\t\tmCustomInfo = new CustomInfo();\n\t\t}\n\t\tmCustomInfo.setLocalLinkMan(LocalLinkMan);\n\t\tmCustomInfo.setLocalAdd(LocalAdd);\n\t\tmCustomInfo.setLocalTel(LocalTel);\n\t\tmCustomInfo.setLocalCellPhone(LocalCellPhone);\n\t\tmCustomInfo.setRelaToLender(RelaToLender);\n\t\tmCustomInfo.setUrgencyLinkMan(UrgencyLinkMan);\n\t\tmCustomInfo.setUrgencyTel(UrgencyTel);\n\t\tmCustomInfo.setCustomerResource(CustomerResource);\n\t\tContants.tempCustomInfo = mCustomInfo;\n\t\tsuper.saveData();\n\t}", "title": "" }, { "docid": "cfc0710a18df7a70fadc45df737b8e76", "score": "0.54841405", "text": "public String dataToDatabase() {\t\n\t\tdetermineEncounterID();\n\t\t\n\t\tpassToPharmEncounter();\n\n\t\tpharmSession = HibernateUtil.getSessionFactory().openSession();\n\t\tpharmSession.beginTransaction();\n\t\tencounterID = (Integer) pharmSession.save(pharmEncounter);\n\t\tpharmSession.getTransaction().commit();\n\t\tpharmSession.close();\n\n\t\t//creationResult = \"Visit ID \"+Integer.toString(encounterID)+\" created.\";\n\t\t\n\t\t//JOptionPane.showMessageDialog(null, String.format(\"%09d\", encounterID)+\" created.\");\n\n\t\tresetFields();\n\n\t\treturn \"Valid\";\n\t}", "title": "" }, { "docid": "d3f427c8faf30f3e06f754a079e0695b", "score": "0.54744965", "text": "public boolean persistSolicitudCondiciones(LcredSolicitudCondiciones solicitud){\r\n\t\ttry{\r\n\t\t\tentityManager.persist(solicitud);\r\n\t\t\tentityManager.flush();\r\n\t\t}catch (Exception e) {\r\n\t\t\tlog.error(\"Error, al persister el objeto de linea de Crédito. #0\", e.getMessage());\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "cc0325933d373cb7164fca9be6cd0dda", "score": "0.5468343", "text": "public PatientVisit savePatientVisit(PatientVisit patientvisit) {\n\t\tPatientVisits pv = new PatientVisits();\n\t\tList <Diagnosis> dsList = new ArrayList();\n\t\tList <Medication> mdList = new ArrayList();\n\t\tList <Procedure> prList = new ArrayList();\n\t\tVitalSigns vs = new VitalSigns();\n\t\tvs.setBloodPressure(patientvisit.getVitalSigns().getBloodPressure());\n\t\tvs.setBodyTemp(patientvisit.getVitalSigns().getBodyTemp());\n\t\tvs.setHeight(patientvisit.getVitalSigns().getHeight());\n\t\tvs.setRespirationRate(patientvisit.getVitalSigns().getRespirationRate());\n\t\tvs.setWeight(patientvisit.getVitalSigns().getWeight());\n\t\tvsRepo.save(vs);\n\t\tpv.setVitalSignsId(vs.getId());\n\t\tptVisitRepo.save(pv);\n//\t\tfor(int i=0;i<patientvisit.getDiagnosis().size();i++) {\n\t\t\tDiagnosis ds = new Diagnosis();\n\t\t\tds.setDescription(patientvisit.getDiagnosis().getDescription());\n\t\t\tds.setDiagnosis(patientvisit.getDiagnosis().getDiagnosis());\n\t\t\tds.setPatientVisitId(pv.getId());\n\t\t\tdsList.add(ds);\n\t//\t}\n\t\t//for(int i=0;i<patientvisit.getMedication().size();i++) {\n\t\t\tMedication md = new Medication();\n\t\t\tmd.setDrugGenName(patientvisit.getMedication().getDrugGenName());\n\t\t\tmd.setDrugName(patientvisit.getMedication().getDrugName());\n\t\t\tmd.setDrugID(patientvisit.getMedication().getDrugID());\n\t\t\tmd.setDrugBrandName(patientvisit.getMedication().getDrugBrandName());\n\t\t\tmd.setDrugForm(patientvisit.getMedication().getDrugForm());\n\t\t\tmd.setDrugStrength(patientvisit.getMedication().getDrugStrength());\n\t\t\tmd.setPatientVisitId(pv.getId());\n\t\t\tmdList.add(md);\n\t\t//}\n\t\t//for(int i=0;i<patientvisit.getProcedures().size();i++) {\n\t\t\tProcedure pr = new Procedure();\n\t\t\tpr.setDescription(patientvisit.getProcedures().getDescription());\n\t\t\tpr.setPatientVisitId(pv.getId());\n\t\t\tpr.setProcedures(patientvisit.getProcedures().getProcedures());\n\t\t\tprList.add(pr);\n\t\t//}\n\t\tdiagnosisRepo.saveAll(dsList);\n\t\tmdRepo.saveAll(mdList);\n\t\tpsRepo.saveAll(prList);\n\t\treturn patientvisit;\n\t}", "title": "" }, { "docid": "76a1e1dede4d02dd3be824d8a493ad80", "score": "0.54615664", "text": "public void save(Entrenamiento entrenamiento);", "title": "" }, { "docid": "aa443215a40689104a08129981e85e81", "score": "0.54586", "text": "@Override\n\tpublic void save(ComercialPedidoInformacion pedido) {\n\t\trepository.save(pedido);\n\n\t}", "title": "" }, { "docid": "83160c43a6888a5614e9a97c7f2e69b2", "score": "0.54534286", "text": "public Serializable persist() {\n\t\tString[] result = super.saveCourseMembership(getOrganizationId(), new CourseMembershipVO[]{getVO()});\n\t\tif(result==null || result.length==0) return null;\n\t\treturn result[0];\n\t}", "title": "" }, { "docid": "aade47903973d4fe000a73f870d598e4", "score": "0.54432416", "text": "protected boolean onSave() {\r\n return saveConferencePhoneCallLog();\r\n }", "title": "" }, { "docid": "a6ec83dfc84c7e1d1a6837a86a576da3", "score": "0.54302454", "text": "@Override\n\tpublic Consultation saveConsultation(Consultation consult) {\n\t\treturn consultrep.save(consult);\n\t}", "title": "" }, { "docid": "5ee00441e8b77957b111228c5da44c67", "score": "0.5425475", "text": "@Override\n\t\tpublic Pharmacy saveMedicine(Pharmacy pharmacy) {\n\t\t\treturn pharmrepository.save(pharmacy);\n\t\t}", "title": "" }, { "docid": "da8116cfdd02eba095290d91a2648236", "score": "0.5410543", "text": "@Override\r\n\tpublic boolean save(ContasReceber e) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "ca80c3e152e7a838ccac07b81b0a126e", "score": "0.5390232", "text": "public int save(Consult transientInstance);", "title": "" }, { "docid": "debb8269b42069a34d27225a3ae5f4d0", "score": "0.5383428", "text": "@FXML\r\n private void savecert(ActionEvent event) throws IOException {\r\n String query = \"INSERT INTO certificates(applicant,cert_type,purpose,signedBy,issuedby) \"\r\n + \"VALUES(?,?,?,?,?)\";\r\n try {\r\n Connection conn = MySQLConnector.getConnection();\r\n PreparedStatement ps;\r\n ps = conn.prepareStatement(query);\r\n// ps.setString(1, certnum.getText()); //NOT NULL\r\n ps.setString(1, id.getText());//person id\r\n ps.setString(2, type.getValue());\r\n ps.setString(3, purpose.getValue());\r\n ps.setInt(4, signatory.getSelectionModel().getSelectedIndex()+1);\r\n ps.setInt(5, User.getStaff());\r\n \r\n ps.executeUpdate();\r\n DialogController.alert(\"Certificate\", \"Successfully Created a Certificate!s\", Alert.AlertType.INFORMATION);\r\n Stage stage = (Stage) id.getScene().getWindow();\r\n stage.close();\r\n } catch (SQLException ex) {\r\n System.out.println(ex);\r\n Logger.getLogger(CertificateController.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "title": "" }, { "docid": "b1e4908048def55fb7d44325b392b947", "score": "0.53810006", "text": "public void save() {\n sendInline(\"SAVE\");\n }", "title": "" }, { "docid": "475e71a89c7f642419a8ec4ef13118a7", "score": "0.5375533", "text": "@Override\r\n\tpublic void guardar(ValidarCondicionSanitaria condicion) {\n\t\tiCondicion.save(condicion);\r\n\t}", "title": "" }, { "docid": "4e38b6c45bf4bb3c28f18b906bb319e0", "score": "0.5343857", "text": "public void createPatient()\n\t{\n\t\tPatient patient = new Patient();\n\t\tpatient.setId(UUID.randomUUID().toString());\n\t\tpatient.addIdentifier()\n\t\t\t.setSystem(\"http://acme.org/mrns\")\n\t\t\t.setValue(\"123459\");\n\t\tpatient.addName()\n\t\t\t.setFamily(\"Karimisetti\")\n\t\t\t.addGiven(\"Anand\");\n\t\tpatient.setGender(Enumerations.AdministrativeGender.MALE);\n \t \n\t\t \n\t\tBundle bundle = new Bundle();\n\t\tbundle.setType(BundleType.COLLECTION);\n\t\t\n\t\tbundle.addEntry()\n\t\t\t.setFullUrl(\"urn:uuid:\"+patient.getId())\n\t\t\t.setResource(patient);\n\t\t\n\t\t// Creating ODS Organisation\n\t\t\t\tOrganisation odsorganisation = new Organisation();\n\t\t\t\tBundle results = odsorganisation.findOrganisationById(\"RR8\");\n\t\t\t\t\n\t\t\t\t// For Single resource Practitioner practitioner = (Practitioner) results.getEntry().get(0).getResource(); \n\t\t\t\t \n\t\t\t\t//For Multiple Resource\n\t\t\t\tOrganization organisation = null;\n\t\t\t\tfor (Bundle.BundleEntryComponent entry : results.getEntry()) \n\t\t\t\t{\n\t\t\t\t organisation = (Organization) entry.getResource();\n\t\t\t\t organisation.setId(UUID.randomUUID().toString());\n\t\t bundle.addEntry()\n\t\t .setFullUrl(\"urn:uuid:\"+organisation.getId())\n\t\t\t\t\t.setResource(organisation);\n\t\t patient.setManagingOrganization(new Reference(\"urn:uuid:\"+organisation.getId()));\n\t\t\t\t}\n\t\t\t\t\n\t\t\n\t\t// Creating ODS Practitioner\n\t\tODSPractitioner odspractitioner = new ODSPractitioner();\n\t\tSystem.out.println(\"finding paractitioner\");\n\t\t results = odspractitioner.findPractitionerbyid(\"G8133438\");\n\t\t System.out.println(\"found paractitioner\");\n\t\t\n\t\t// For Single resource Practitioner practitioner = (Practitioner) results.getEntry().get(0).getResource(); \n\t\t \n\t\t//For Multiple Resource\n\t\tPractitioner practitioner = null;\n\t\tfor (Bundle.BundleEntryComponent entry : results.getEntry()) \n\t\t{\n\t\t System.out.println(\"entry is \" + entry.getFullUrl());\n\t\t practitioner = (Practitioner) entry.getResource();\n\t\t practitioner.setId(UUID.randomUUID().toString());\n bundle.addEntry()\n .setFullUrl(\"urn:uuid:\"+practitioner.getId())\n\t\t\t.setResource(practitioner);\n patient.addGeneralPractitioner(new Reference(\"urn:uuid:\"+practitioner.getId()));\n\t\t}\n\t\t\n\t\t\n\t\t\n\t//\tfhirBundle.processBundleResources(bundle);\n\n\t FhirContext ctxFHIR = FhirContext.forDstu3();\n\t\tIGenericClient client = null;\n\t\tclient = ctxFHIR.newRestfulGenericClient(\"https://data.developer-test.nhs.uk/ccri-fhir/STU3/\");\n\t\tSystem.out.println(\"creating patient resource\");\n System.out.println(ctxFHIR.newXmlParser().setPrettyPrint(true).encodeResourceToString(bundle));\n System.out.println(\"patient resource created\");\n MethodOutcome outcome = client.create().resource(bundle).prettyPrint().encodedJson().execute();\n System.out.println(outcome.getCreated());\n \n \n \n // validate \n Validate v = new Validate();\n try\n {\n v.validator(bundle);\n }\n catch (Throwable e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n \n\t}", "title": "" }, { "docid": "d16c3a933272bb89c6c8154b601ff958", "score": "0.5329745", "text": "private void saveRefferDocData(String categoryName,\n\t\t\tString isActiveVal, String lastname, String midName,\n\t\t\tString firstname, String address, String city, String state,\n\t\t\tString zip, String phoneno, String faxno, String uid, String mid,\n\t\t\tString bid, String credential, int specialityId, String referraltype,\n\t\t\tString emailid, String prefix, String taxonomy, String directemail,\n\t\t\tString rdpracname, String txtTitle) {\n\n short refType=Short.parseShort(referraltype);\n\t\tReferringDoctor refDocData=new ReferringDoctor();\n\t\trefDocData.setreferring_doctor_referringdoctor(categoryName);\n\t\trefDocData.setreferring_doctor_isactive(Boolean.parseBoolean(isActiveVal));\n\t\trefDocData.setreferring_doctor_lastname(lastname);\n\t\trefDocData.setreferring_doctor_midinitial(midName);\n\t\trefDocData.setreferring_doctor_firstname(firstname);\n\t\trefDocData.setreferring_doctor_address(address);\n\t\trefDocData.setreferring_doctor_city(city);\n\t\trefDocData.setreferring_doctor_state(state);\n\t\trefDocData.setreferring_doctor_zip(zip);\n\t\trefDocData.setreferring_doctor_phoneno(phoneno);\n\t\trefDocData.setreferring_doctor_fax_number(faxno);\n\t\trefDocData.setreferring_doctor_upin_no(uid);\n\t\trefDocData.setreferring_doctor_medicare_pin(mid);\n\t\trefDocData.setreferring_doctor_npi(bid);\n\t\trefDocData.setreferring_doctor_credential(credential);\n\t\trefDocData.setreferring_doctor_speciality_id(specialityId);\n\t\trefDocData.setreferring_doctor_type(refType);\n\t\trefDocData.setreferring_doctor_mailid(emailid);\n\t\trefDocData.setreferring_doctor_prefix(prefix);\n\t\trefDocData.setreferring_doctor_iserphysician(false);\n\t\trefDocData.setTaxonomyCode(taxonomy);\n\t\trefDocData.setDirectEmailAddress(directemail);\n\t\trefDocData.setPracticeName(rdpracname);\n\t\trefDocData.setRefTitle(txtTitle);\n\t\treferringDoctorRepository.saveAndFlush(refDocData);\n\t}", "title": "" }, { "docid": "ded800e2e0f549b166ddb3bd681730d1", "score": "0.53200394", "text": "public void save () {\n\t}", "title": "" }, { "docid": "50133c3db707bc73edec8fa83da1f795", "score": "0.5316776", "text": "public int save(ConfigConcours configConcours);", "title": "" }, { "docid": "739fcfded37f22002f7a51b0a1f67a63", "score": "0.5314115", "text": "Feedback save(Feedback entity);", "title": "" }, { "docid": "75c29f835780b0ddb4f10237cad1b40d", "score": "0.5309032", "text": "@Override\n\tpublic void save(Participated participated) {\n\t\tSession session=this.getSession();\n\t\tsession.save(participated);\n\t\tsession.flush();\n\t\tsession.close();\n\t\t\n\t}", "title": "" }, { "docid": "8a257139c3e72deed436e45ae747257f", "score": "0.5307127", "text": "public void save() {\n Internship record = new Internship();\n\n // Saves the career path if it's a new entry\n if (careerComboBox.getSelectedIndex() == -1) {\n CareerPath cp = new CareerPath(careerComboBox.getSelectedItem().toString());\n record.setCareerPathId(cp.save());\n } else {\n record.setCareerPathId(((ComboItem) careerComboBox.getSelectedItem()).id);\n }\n\n // Saves the rest of the internship record\n record.setTitle(titleField.getText());\n // The selected item must be cast into a ComboItem object so you can access it's attributes\n record.setCompanyId(((ComboItem) companyComboBox.getSelectedItem()).id);\n record.setAttachment(attachmentField.getText());\n record.setPostDate(postedField.getText());\n if (expiresCheckBox.isSelected()) {\n record.setExpiration(expiresField.getText());\n }\n record.setDescription(descriptionTextarea.getText());\n record.setQuantity(Integer.parseInt(quantityField.getText()));\n record.save();\n }", "title": "" }, { "docid": "c1f3cc2dd1ad9c60c5704e6d6c73cab4", "score": "0.5295141", "text": "@RequestMapping(value=\"save\", method = RequestMethod.POST,consumes={\"application/json\"},produces ={\"application/json\"})\npublic Encadrant saveEncadrant(@RequestBody EncadrantDTO c,HttpServletResponse response){\n\n\tEncadrant enc=new Encadrant();\n\tenc.setNomUser(c.getNomUser());\n\tenc.setPrenomUser(c.getPrenomUser());\n\tenc.setMailUser(c.getMailUser());\n\tenc.setMatriculeUser(c.getMatriculeUser());\n\tenc.setPassword(c.getPassword());\n\tProfil p= new Profil();\n\tp=profilService.trouverProfil(c.getIdProfil());\n\tenc.setProfil(p);\n\treturn encadrantService.ajouterEncadrant(enc) ;\n}", "title": "" }, { "docid": "8b2fe1798af6623298d2f4c916ef92d3", "score": "0.5295139", "text": "void save(Contact contact);", "title": "" }, { "docid": "7b21fb2002e806af439399936f91c9d5", "score": "0.52950466", "text": "public Patient addNewPatient(Patient patient);", "title": "" }, { "docid": "605915e283a028737d03cd1dfb57a710", "score": "0.5279749", "text": "public void save() {\n System.out.println(\"Persist the record into database\");\n }", "title": "" }, { "docid": "f74476382c4720f57eeb018496d9b7a7", "score": "0.5276203", "text": "public void tryPresribeMedication() {\n \n String uniqueID = theModel.generateRandomID(\"PRESCRIPTION\");\n String patientID = theView.getSelectedPrescriptionPatient().split(\" \")[1];\n Medicine medication = theModel.getMedicationByName(theView.getSelectedMedicineName());\n String qtyAssigned = theView.getSelectedMedicineQuantity();\n String doctorComments = theView.getPrescriptionDoctorComments();\n \n if (doctorComments != null && !doctorComments.equals(\"\"))\n {\n Prescription newPrescription;\n \n newPrescription = new Prescription(\n uniqueID, \n patientID, \n CurrentUser.getInstance().getUniqueID(), \n doctorComments, \n medication,\n qtyAssigned\n );\n \n boolean prescribed = theModel.registerNewPrescription(newPrescription);\n \n if (prescribed)\n {\n theView.displayErrorMessage(\"Prescription has been successfully added to system records.\");\n }\n else \n {\n theView.displayErrorMessage(\"There has been an unexpected error processing your prescription request.\");\n }\n \n }\n else \n {\n theView.displayErrorMessage(\"You MUST provide dosage information for the patient.\");\n }\n \n }", "title": "" }, { "docid": "3dd453bced12345f03792ca385eaecd9", "score": "0.5276143", "text": "public void saveAction() {\n\t\tficheBesoinsDto = serviceLocator.getFicheBesoinsService().save(ficheBesoinsDto);\n\t\tCommonMessagesUtils.showSuccessUpdateMessage();\n\t}", "title": "" }, { "docid": "e7f78b6d104a01170a597ea3569775c5", "score": "0.5274212", "text": "public void saveFiSecurityDeposit(FiSecurityDeposit fiSecurityDeposit);", "title": "" }, { "docid": "f1791d16caec14e02a7df89e3dc2e76a", "score": "0.52632266", "text": "@Transactional(readOnly=false)\r\n\tpublic CaaersServiceResponse saveSafetyReport(AdverseEventReport adverseEventReport) {\r\n CaaersServiceResponse response = Helper.createResponse();\r\n try{\r\n ValidationErrors errors = createOrUpdateSafetyReport(adverseEventReport, new ArrayList<Report>());\r\n if(errors.hasErrors()) populateErrors(response, errors);\r\n }catch (Exception e){\r\n logger.error(\"Unable to Create/Update a Report from Safety Management Service\", e);\r\n Helper.populateError(response, \"WS_GEN_000\",e.getMessage() );\r\n }\r\n return response;\r\n }", "title": "" }, { "docid": "ce61a627cb881c4f000b3cc0a522dcb2", "score": "0.5254853", "text": "public void save() {\n }", "title": "" }, { "docid": "ce61a627cb881c4f000b3cc0a522dcb2", "score": "0.5254853", "text": "public void save() {\n }", "title": "" }, { "docid": "6649180899ef8fca3c93eff2bc0ba20d", "score": "0.5254766", "text": "public void send(Patient patient);", "title": "" }, { "docid": "5f1f136780cd1aa0f96eb15fce98f38c", "score": "0.52503866", "text": "public Integer savePatent(Patent transientInstance) {\n entityManager.persist(transientInstance);\n return transientInstance.getInventionId();\n }", "title": "" }, { "docid": "7ec06a0ba861bb89760c5343b3dfa61f", "score": "0.52496475", "text": "@Override\n\tpublic <S extends Incidents> S save(S entity) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "daef0a4490711b934d0fd10811226c00", "score": "0.52362865", "text": "public void save(Anuncio Anuncio);", "title": "" }, { "docid": "a8323346f1d1f5c0481a645d9d4c1812", "score": "0.5234224", "text": "public Survey saveSurvey(SurveyDto surveyDto) {\n Survey survey = surveyTransformer.transformer(surveyDto);\n emailService.sendSurveyMail(survey);\n return surveyRepository.saveSurvey(survey);\n }", "title": "" }, { "docid": "fe0efd9341fbc15c484759d7a34db002", "score": "0.52275264", "text": "public void submit() {\n cv.setVisitDate(visitDate);\n cv.setLocationID(locationID);\n cv.setPatientMID(patientMID);\n cv.setPreScheduled(preScheduled);\n cv.setDeliveryType(deliveryType);\n cv.setPitocin(pitocin);\n cv.setEpidural(epidural);\n cv.setMagnesium(magnesium);\n cv.setRh(rh);\n cv.setOxide(oxide);\n cv.setPethidine(pethidine);\n if(noDrugs && (pitocin > 0 || epidural > 0 || magnesium > 0 || rh > 0 || oxide > 0 || pethidine > 0)) {\n controller.logTransaction(TransactionType.ADD_CHILDBIRTH_DRUGS, \"\");\n }\n if (isOfficeVisitCreated()) {\n controller.edit(cv);\n controller.logTransaction(TransactionType.EDIT_CHILDBIRTH_VISIT, \"\");\n } else {\n long pid = -1;\n\n FacesContext ctx = FacesContext.getCurrentInstance();\n\n String patientID = \"\";\n if (ctx != null && ctx.getExternalContext() != null && ctx.getExternalContext().getRequest() instanceof HttpServletRequest) {\n HttpServletRequest req = (HttpServletRequest) ctx.getExternalContext().getRequest();\n HttpSession httpSession = req.getSession(false);\n patientID = (String) httpSession.getAttribute(\"pid\");\n }\n if (ValidationFormat.NPMID.getRegex().matcher(patientID).matches()) {\n pid = Long.parseLong(patientID);\n }\n\n cv.setPatientMID(pid);\n cv.setVisitID(null);\n long generatedVisitId = controller.addReturnGeneratedId(cv);\n setVisitID(generatedVisitId);\n cv.setVisitID(generatedVisitId);\n controller.logTransaction(TransactionType.CREATE_CHILDBIRTH_VISIT, \"\");\n if(FacesContext.getCurrentInstance() != null && FacesContext.getCurrentInstance().getExternalContext() != null && FacesContext.getCurrentInstance().getExternalContext().getSessionMap() != null)\n FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put(\"officeVisitId\", generatedVisitId);\n\n }\n ExternalContext ctxx = null;\n if(FacesContext.getCurrentInstance() != null)\n ctxx = FacesContext.getCurrentInstance().getExternalContext();\n if (ctxx != null) {\n try {\n ctxx.redirect(\"/iTrust/auth/hcp-uap/viewOnlyObstetricsRecords.xhtml\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }", "title": "" }, { "docid": "2b0d30c58a87ec6b5fd8da3fc2fa0508", "score": "0.5227124", "text": "public void save(){\r\n\t\tJPA.em().persist(this);\r\n\t\tLogger.info(\"Domain \"+name+\" added.\");\r\n\t}", "title": "" }, { "docid": "279fb4b52bd45bb5d5d67ed960cbe5cb", "score": "0.52271", "text": "public void darAltaEncuenta(){\n PreguntaDTO preguntaDTO = new PreguntaDTO();\n preguntaDTO.setCodPreguntaDTO(\"er23\");\n preguntaDTO.setDescripcionPreguntaDTO(\"dade\");\n FachadaPersistencia.getInstance().guardar(preguntaDTO);\n }", "title": "" }, { "docid": "b15a791e8a4b940b43efc56d668326da", "score": "0.5216704", "text": "public void saveCo(Co co);", "title": "" }, { "docid": "5ae115829580d14f34282edee793aa69", "score": "0.5215352", "text": "@Persist\n\tpublic void save() {\n\t}", "title": "" }, { "docid": "5b706eed549ff2b4a3b985564164311d", "score": "0.52150387", "text": "void save(DiseaseOccurrence diseaseOccurrence);", "title": "" }, { "docid": "3fa359e4a0b8da883bc1c5cf09af2dc4", "score": "0.52101505", "text": "@Override\r\n public void saveBusinessObject() {\r\n final AccountDelegateGlobal accountDelegateGlobal = (AccountDelegateGlobal)this.getBusinessObject();\r\n final AccountDelegateService accountDelegateService = SpringContext.getBean(AccountDelegateService.class);\r\n \r\n accountDelegateService.saveInactivationsForGlobalMaintenanceDocument(accountDelegateGlobal.generateDeactivationsToPersist());\r\n accountDelegateService.saveChangesForGlobalMaintenanceDocument(accountDelegateGlobal.generateGlobalChangesToPersist());\r\n \r\n accountDelegateService.updateDelegationRole();\r\n }", "title": "" }, { "docid": "41823def8161fcdfb57ce2fa2cf15502", "score": "0.5206369", "text": "@Override\n\tpublic <S extends Survey> S save(S entity) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ad7592d47a9e2bacf46e013fce5c8bed", "score": "0.51949847", "text": "StudyConsent addConsent(SubpopulationGuid subpopGuid, String storagePath, long createdOn);", "title": "" }, { "docid": "ced72e29f876a0b7c501525d7a82366d", "score": "0.51929796", "text": "@Override\r\n\tpublic void save(CusContactEntity t) {\n\t\tgetHibernateTemplate().save(t);\r\n\t}", "title": "" }, { "docid": "0589cfeceed5d89fab1e721ffd64f8ba", "score": "0.5188892", "text": "@Override\n\tpublic void save() {\n\t\tSystem.out.println(\"数据已保存!\");\n\n\t}", "title": "" }, { "docid": "519a6eaffb4a6e1b0f554faaca633ad4", "score": "0.51846814", "text": "private boolean saveConferencePhoneCallLog() {\r\n if (_controller.validate()) {\r\n final ConferencePhoneCallLog conferencePhoneCallLog =\r\n (ConferencePhoneCallLog) _controller.getCallLog();\r\n PhoneLogsDemo.this._normalCallModel\r\n .addRow(conferencePhoneCallLog);\r\n\r\n return true;\r\n }\r\n\r\n return false;\r\n }", "title": "" }, { "docid": "57970834e7dde3dd774e186ca7177c4c", "score": "0.5180047", "text": "void save()\n {\n\n }", "title": "" }, { "docid": "351bb6fdaf23047925239daf1c6f074f", "score": "0.5178146", "text": "@Override\n\tpublic void save(Account account) {\n\t\tlog.info(\"About to save a record : \"+account.getAccountNo());\n\t\taccounts.add(account);\n\t\t//concern1\n\t\t//concern2\n\t\t//concern3\n\t}", "title": "" }, { "docid": "d05e28d01e7ffbbd0adf020801cbb6d0", "score": "0.5177627", "text": "public void save() {\n\n }", "title": "" }, { "docid": "9a4732509361eb7e2cad1597d1916b8d", "score": "0.51730514", "text": "public ResponseEntity<?> savePatient(Patient patient) {\n\t\t\n\t\tMap<String, String> map = new HashMap<>();\n\n\t\ttry {\n\t\t\trepo.save(patient);\n\t\t} catch (Exception e) {\n\n\t\t\tmap.put(\"message\", \"Registration successful\");\n\t\t\treturn new ResponseEntity<Map<String, String>>(map, HttpStatus.OK);\n\n\t\t}\n\t\tmap.put(\"message\", \"Registration failure\");\n\t\treturn new ResponseEntity<Map<String, String>>(map, HttpStatus.OK);\n\n\t}", "title": "" }, { "docid": "726eedb302fcdddec57a46f1d844e0a8", "score": "0.5165133", "text": "public void Save()\r\n\t{\n\t\t\r\n\t\tfor ( int childIndex = 0; childIndex < mCourseOfferings.GetChildCount(); ++childIndex )\r\n\t\t{\r\n\t\t\tCourseOffering courseOffering = mCourseOfferings.GetChild(childIndex);\r\n\t\t\t\r\n\t\t\tVariableLengthRecord record = new VariableLengthRecord();\r\n\t\t\trecord.AppendValue ( courseOffering.GetQuarter().ordinal() );// enumeration saved as int\r\n\t\t\trecord.AppendValue ( courseOffering.GetYear() ); \r\n\t\t\t\r\n\t\t\t\r\n\t\t\t// 1-m Relation to assignment\r\n\t\t\tRelation1M<Assignment> assignments = courseOffering.GetAssignments();\r\n\t\t\trecord.AppendValue ( assignments.GetChildCount() ); // Might be 0\r\n\t\t\t\r\n\t\t\tif( assignments.GetChildCount() > 0 )\r\n\t\t\t{\r\n\t\t\t\tfor( int assigmentIndex = 0; assigmentIndex < assignments.GetChildCount(); assigmentIndex++ )\r\n\t\t\t\t{\r\n\t\t\t\t\tAssignment assignment = assignments.GetChild( assigmentIndex );\r\n\t\t\t\t\trecord.AppendValue ( assignment.GetObjectId().GetValue() ); \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Save M-1 relation by appending an \r\n\t\t\tCourse course = courseOffering.GetCourse();\r\n\t\t\tif( course != null )\r\n\t\t\t{\r\n\t\t\t\trecord.AppendValue ( course.GetObjectId().GetValue() ); // Object id saved as an int\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tWrite( courseOffering.GetObjectId(), record );\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2e0ee197db885007f01bd941b215fa3d", "score": "0.5163934", "text": "@Override\n protected void save() {\n BankTrans bankTrans = new BankTrans();\n \n bankTrans.setId(id);\n \n String baStr = (String) cmbBankAccount.getSelectedItem();\n BankAccount bankAccount = null;\n try {\n bankAccount = BankAccountDAO.get(\"name\", baStr);\n } catch (ClassNotFoundException | SQLException ex) {\n Logger.getLogger(PnlEditBankTrans.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (bankAccount != null) {\n bankTrans.setIdBankAccount(bankAccount.getId());\n }\n \n bankTrans.setDate(jdcDate.getDate());\n \n String typeStr = (String) cmbType.getSelectedItem();\n Type type = null;\n try {\n type = TypeDAO.get(\"banktranstypes\", \"name\", typeStr);\n } catch (ClassNotFoundException | SQLException ex) {\n Logger.getLogger(PnlEditBankTrans.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (type != null) {\n bankTrans.setIdType(type.getId());\n bankTrans.setType(type.getCode());\n }\n \n bankTrans.setNumber(txtNumber.getText());\n bankTrans.setValue(Double.parseDouble(txtValue.getText()));\n bankTrans.setCanceled(chkCanceled.isSelected());\n bankTrans.setIdRegType(Integer.parseInt(lblRegType.getText()));\n bankTrans.setObservations(txtObservations.getText());\n \n String error = BankTransDAO.validate(bankTrans);\n \n if (error == null) {\n try {\n rowsAffected = BankTransDAO.update(bankTrans);\n } catch (ClassNotFoundException | SQLException ex) {\n Logger.getLogger(PnlEditBankTrans.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }", "title": "" }, { "docid": "1e232d23673d840395565699ddfd714f", "score": "0.51633674", "text": "void save(Customer customer);", "title": "" }, { "docid": "f7ac7e1885a7c2270787a93809c63637", "score": "0.5162478", "text": "@Override\r\n\tpublic CommandeClient save(CommandeClient entity) {\n\t\treturn dao.save(entity);\r\n\t}", "title": "" }, { "docid": "811e723ebf7aa326f35391d19c0483ab", "score": "0.5158516", "text": "Agenda save(Agenda agenda);", "title": "" }, { "docid": "7faff488333be771872dd5bcdb84073d", "score": "0.5152863", "text": "public void saveInstallation() {\n\n evidenceMessages.clear();\n\n // Ulozi cnc886 licenci\n String tmp = \"insert into cnc886_license (license_num, gen_date, until_date) values (?1, ?2, ?3)\";\n javax.persistence.Query query = entityManager.createNativeQuery(tmp);\n query.setParameter(1, cncLicenseNum);\n query.setParameter(2, cncGenDate);\n query.setParameter(3, cncUntilDate);\n query.executeUpdate();\n\n // Vybere naposled pridanou cnc886 licenci\n tmp = \"select cnc from Cnc886License cnc where cnc.cnc886PkId = (select max(c.cnc886PkId) from Cnc886License c)\";\n query = entityManager.createQuery(tmp);\n Cnc886License cnc886 = (Cnc886License) query.getSingleResult();\n\n // Ulozi pocitac\n tmp = \"insert into computer (serial_num, customer, machine, app_version, cnc886_fk_id, model_fk_id, provider_fk_id) values (?1, ?2, ?3, ?4, ?5, ?6, ?7)\";\n query = entityManager.createNativeQuery(tmp);\n query.setParameter(1, pcSerialNum);\n query.setParameter(2, pcCustomer);\n query.setParameter(3, pcMachine);\n query.setParameter(4, pcAppVersion);\n query.setParameter(5, cnc886.getCnc886PkId());\n query.setParameter(6, pcModelPkId);\n query.setParameter(7, pcProviderPkId);\n query.executeUpdate();\n\n // Vybere naposled ulozeny pocitac\n tmp = \"select computer from Computer computer where computer.computerPkId = (select max(c.computerPkId) from Computer c)\";\n query = entityManager.createQuery(tmp);\n Computer computer = (Computer) query.getSingleResult();\n\n // Sestavi nazev adresare pro galerii prislusneho pocitace\n String pathGalleries = \"/images/computers\";\n String pathGallery = pathGalleries + \"/computer-id-\" + computer.getComputerPkId();\n\n try {\n\n // Adresare\n java.io.File fileGalleries = new java.io.File(GlobalConstantBean.getUploadsDir() + pathGalleries);\n java.io.File fileGallery = new java.io.File(GlobalConstantBean.getUploadsDir() + pathGallery);\n\n // Vytvoreni adresaru pro galerie\n if (!fileGalleries.exists()) {\n fileGalleries.mkdirs();\n }\n fileGallery.mkdir();\n System.out.println(\"CREATED DIR: \" + fileGallery.getPath());\n } catch (Exception e) {\n System.err.println(\"Error: \" + e.getMessage());\n }\n\n // Updatuje posledni zaznam pocitace, ulozi do nej cestu ke galerii\n tmp = \"update computer set photo_url = ? where computer_pk_id = ?\";\n query = entityManager.createNativeQuery(tmp);\n query.setParameter(1, pathGallery);\n query.setParameter(2, computer.getComputerPkId());\n query.executeUpdate();\n\n // Ulozeni nasazeni instalovaneho media\n tmp = \"insert into installed_medium_deploy (deploy_date, comment, computer_fk_id, medium_fk_id, deploy_type_fk_id) values (?1, ?2, ?3, ?4, ?5)\";\n query = entityManager.createNativeQuery(tmp);\n query.setParameter(1, installDate);\n query.setParameter(2, mediumDeployComment);\n query.setParameter(3, computer.getComputerPkId());\n query.setParameter(4, mediumPkId);\n query.setParameter(5, mediumDeployTypePkId);\n query.executeUpdate();\n\n // Ulozeni prirazeni wxpe licence\n tmp = \"insert into license_assignment (assign_date, computer_fk_id, license_fk_id) values (?1, ?2, ?3)\";\n query = entityManager.createNativeQuery(tmp);\n query.setParameter(1, installDate);\n query.setParameter(2, computer.getComputerPkId());\n query.setParameter(3, wxpePkId);\n query.executeUpdate();\n\n // Ulozeni prirazeni rtx licence\n tmp = \"insert into license_assignment (assign_date, computer_fk_id, license_fk_id) values (?1, ?2, ?3)\";\n query = entityManager.createNativeQuery(tmp);\n query.setParameter(1, installDate);\n query.setParameter(2, computer.getComputerPkId());\n query.setParameter(3, rtxPkId);\n query.executeUpdate();\n\n evidenceMessages.add(new EvidenceMessage(StringUtils.insertParam(0,\n pcSerialNum, messages.get(\"ev.installComputer.success.installed\")),\n EvidenceMessage.MESSAGE_TYPE_SUCCESS));\n evidenceMessages.setPageLinkEdit(\"/ComputerInstallEdit.xhtml\");\n evidenceMessages.setPageLinkList(\"/InstalledComputerList.xhtml\");\n evidenceMessages.setPageTitleEdit(messages.get(\"ev.installComputer.button.installAnother\"));\n evidenceMessages.setPageTitleList(messages.get(\"ev.installComputer.button.displayInstalled\"));\n }", "title": "" }, { "docid": "37806cf2a177d75e1d984cda2b97622b", "score": "0.5147419", "text": "public void saveSegOpcion(SegOpcion entity) throws Exception;", "title": "" }, { "docid": "5e00fa144f9d201edd8269199d1dda07", "score": "0.51459783", "text": "public void save();", "title": "" }, { "docid": "d9b84348e82486e02c235163e8c768b6", "score": "0.51404077", "text": "public String saveMedicine(MedicineVo medicineVo);", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.5125269", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.5125269", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "eb0c480f1d72b3fa216a962656f7bff8", "score": "0.51213694", "text": "public Mono<FCSResponse> save() {\n\t\tlogger.debug(\"calling save to store field condition data.\");\n\t\treturn Mono.fromCallable(() -> Mono.just(repository.save(model))).flatMap(success -> {\n\t\t\tFCSResponse response = new FCSResponse();\n\t\t\tresponse.setMessage(\"Field condition added successfully\");\n\t\t\treturn Mono.just(response);\n\t\t});\n\n\t}", "title": "" }, { "docid": "7c96e0d446b8d181bb3262a312834494", "score": "0.5116768", "text": "public void saveFormation(Formation formation){\n formationDao.save(formation);\n }", "title": "" }, { "docid": "a6c538f51a4aaeb62c73c86547396577", "score": "0.5113986", "text": "@Override\n\tpublic <S extends Survey> S saveAndFlush(S entity) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c6e6a0cf7df25aec064039f5b89ef138", "score": "0.5109174", "text": "public SolicitudUsuarioCorreo persistSolicitudCorreo(SolicitudUsuarioCorreo solicitudCorreo){\r\n\t\ttry{\r\n\t\t\tentityManager.persist(solicitudCorreo);\r\n\t\t\tentityManager.flush();\r\n\t\t}catch (Exception e) {\r\n\t\t\tlog.error(\"Error, al persister el objeto de SolicitudUsuarioCorreo #0\", e.getMessage());\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn solicitudCorreo;\r\n\t}", "title": "" }, { "docid": "91bb110221f430b88925fed662d1f18a", "score": "0.51088756", "text": "public void saveTimetableAttendance(TimetableAttendance timetableattendance);", "title": "" }, { "docid": "436e7a746c0f4b6902c2348665fea05c", "score": "0.5107482", "text": "@Override\n\tpublic int save(ReportWarehouseCustomerEntity vo) {\n\t\ttry {\n\t\t\treturn insert(\"com.jiuyescm.bms.base.reportCustomer.mapper.ReportWarehouseCustomerMapper.save\", vo);\n\t\t} catch (Exception e) {\n\t\t\tlogger.info(e);\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "c06e5dcc47a9ab0944e8f4b76c1672c6", "score": "0.5101008", "text": "public String savePerson() {\r\n Iterator < ITabController > controller = this.tabControllers.iterator();\r\n Status status = null;\r\n\r\n // Reinitialize the previous errors\r\n this.errors.clear();\r\n\r\n while (controller.hasNext()) {\r\n ITabController iPersonController = controller.next();\r\n\r\n status = iPersonController.save();\r\n if (null != status.getStatus() && !status.getStatus()) {\r\n this.errors = iPersonController.getErrorClassesNames();\r\n break;\r\n }\r\n }\r\n\r\n this.saveCall = Boolean.TRUE;\r\n\r\n // Clear modifications for all the controllers if no error happened\r\n if (this.errors.isEmpty()) {\r\n // Clear the modifications\r\n this.clearModification();\r\n }\r\n\r\n XmlProducer producer = new XmlProducer();\r\n producer.setTarget(new Status(this.errors.isEmpty()));\r\n producer.setTypesOfTarget(Status.class);\r\n\r\n return this.xmlProducerWrapper.wrap(producer);\r\n }", "title": "" }, { "docid": "578ac578d23d037a911d9543fd59c8b2", "score": "0.51009953", "text": "public Program saveProgramCustomer(Integer programId_7, Customer related_customer);", "title": "" }, { "docid": "1d29df6f963c1aa02fc5a609d1308292", "score": "0.50988424", "text": "public void save(PrintWriter printWriter) {\n try {\n courseDAO = new CourseDAO();\n printWriter.print(getStudent().getFirstName() + \" \" + getStudent().getLastName());\n printWriter.print(\"\\nYOUR COURSES:\\nSUBJECT | COURSE NO. | SECTION | TERM\");\n printWriter.print(courseDAO.getStringRegistrationFromAccount(this));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "9416042be991d647ea587cb8b02f0baa", "score": "0.5097846", "text": "public void insertCorpResposes(CorpResponses cp) {\n\t\t\r\n\t\tgetHibernateTemplate().save(cp);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "5d910d0d867e899daaa03167ad21cf93", "score": "0.5096593", "text": "@Override\n public void save() {\n }", "title": "" }, { "docid": "5d910d0d867e899daaa03167ad21cf93", "score": "0.5096593", "text": "@Override\n public void save() {\n }", "title": "" }, { "docid": "5d910d0d867e899daaa03167ad21cf93", "score": "0.5096593", "text": "@Override\n public void save() {\n }", "title": "" }, { "docid": "ea6fed4b79f2d95d52f88f187fe6feb6", "score": "0.50917846", "text": "private void saveRecord() {\r\n // Here we can use DI\r\n EntityManager em = emf.createEntityManager();\r\n UserDao userDao = new UserDao(em);\r\n EntityTransaction tx = null;\r\n try {\r\n tx = em.getTransaction();\r\n tx.begin();\r\n while (router.hasNewRecord()) {\r\n em.persist(router.pullRecord(userDao));\r\n }\r\n tx.commit();\r\n } catch (RuntimeException e) {\r\n if (tx != null && tx.isActive()) {\r\n tx.rollback();\r\n }\r\n CallCollectorDaemon.log.error(\"Cannot persist CDR\", e);\r\n } finally {\r\n em.close();\r\n }\r\n }", "title": "" }, { "docid": "f0e8948361f53585a22f87f44ea8cceb", "score": "0.50902694", "text": "@Override\r\n\tpublic String saveCandidate(Candidate candidate) {\n\t\tcandidateRepository.save(candidate);\r\n\t\treturn \"Record Saved\";\r\n\t}", "title": "" }, { "docid": "04c8018eca711de6910348bb5e8c8509", "score": "0.50837183", "text": "@DelayedWrite\r\n \tpublic abstract void save();", "title": "" }, { "docid": "4afe9c7710602037a5d1e1e2d22d510a", "score": "0.5081774", "text": "private void SaveButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SaveButtonActionPerformed\n rp.setName(nameField.getText());\n rp.setId(idField.getText());\n rp.setProvince(ProvinceComboBox.getSelectedItem().toString());\n rp.setDistrict(DistrictComboBox.getSelectedItem().toString());\n rp.setSector(SectorComboBox.getSelectedItem().toString());\n \n reportDao.save(rp);\n updateReportTable();\n resetFields();\n JOptionPane.showMessageDialog(this, \"Client Saved!\");\n }", "title": "" }, { "docid": "dabab6a7d4a37005b7bfc789501aab30", "score": "0.5079012", "text": "@Override\r\n\tpublic <S extends Secteur> S save(S entity) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "82b721e63cb0b592fe59259b3716ca84", "score": "0.5076876", "text": "@Override\r\n\t@Begin(join = true)\r\n\tpublic String save(boolean endConv) {\n\r\n\t\tDateTime dtEnd = new DateTime(getInstance().getStart());\r\n\t\tdtEnd = dtEnd.plusMinutes(30 * instance.getUnits());\r\n\t\tinstance.setEnd(dtEnd.toDate());\r\n\t\t\r\n\r\n\t\t((DefaultScheduleEvent) event).setEndDate(getInstance().getEnd());\r\n\r\n\t\t// else\r\n\t\tif (!isNew())\r\n\t\t\teventModel.updateEvent(event);\r\n\t\telse{\r\n\t\t\tinstance.setPhysician(getCurrentPhysician());\r\n\t\t\tinstance.setPatient(patientAction.getInstance());\r\n\t\t}\r\n\r\n\t\treturn super.save(endConv);\r\n\t}", "title": "" }, { "docid": "dc8a0ef492d54889e6f43566a53f3a6c", "score": "0.5074258", "text": "@Override\r\n\tpublic Diagnose save(Diagnose diagnose) throws Exception {\n\t\treturn diagnoseRepository.save(diagnose);\r\n\t}", "title": "" } ]
c68414bfefa1292084efa4f17ad16890
Event Listener on ImageView[ouiem].onMouseClicked
[ { "docid": "53c6856579e03a41342b8971ceccc34d", "score": "0.0", "text": "@FXML\n\tpublic void redirectionOuiem(MouseEvent event) {\n\t\t// TODO Autogenerated\n\t}", "title": "" } ]
[ { "docid": "a07288042c7cf9aecd901593fddcbff8", "score": "0.7562442", "text": "@Override\r\n\tpublic void onClick(View v) {\n\t\tonImageViewClicked();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "deaa1fd6de182a557adef7ff6b33852d", "score": "0.72515804", "text": "public void mouseClicked(float x, float y, Integer objNumber, MouseEvent e);", "title": "" }, { "docid": "1178fc6e97e3cb149402765516997d56", "score": "0.7204639", "text": "public void mouseClicked(MouseEvent ev) {}", "title": "" }, { "docid": "1c9d8569cdd4d6aea515b15bfac238d6", "score": "0.71268725", "text": "public void mouseClicked(MouseEvent e){}", "title": "" }, { "docid": "1ac0bd4f7c81fd04f50e96cb3c673cf1", "score": "0.7116179", "text": "@Override\n public void onClick(View v) {\n onImageClickCallback.onClick(horizontalList.get(position).imageId);\n }", "title": "" }, { "docid": "2429b774425ddb7112bf1d49c1aaa9ae", "score": "0.70680135", "text": "public interface OnImageClickListener {\n void onImageClick(View itemView, int position);\n }", "title": "" }, { "docid": "4f2c42ee238684294a35bb973570f7a3", "score": "0.7043085", "text": "public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "4f2c42ee238684294a35bb973570f7a3", "score": "0.7043085", "text": "public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "4f2c42ee238684294a35bb973570f7a3", "score": "0.7043085", "text": "public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "b13177e395f0e103b4de1eea6c017cfb", "score": "0.70312184", "text": "public void mouseClicked(MouseEvent e) { }", "title": "" }, { "docid": "cc2bbf8ec19cdf3214248f8d395e1ddb", "score": "0.7014682", "text": "@Override\n\t\t\tpublic void onClick(View view) {\n\t\t\t\tLog.i(\"TAG\", \"image click\");\n\t\t\t}", "title": "" }, { "docid": "c9658fe4c5dda5e06a559c3171285457", "score": "0.70135015", "text": "public void mouseClicked(MouseEvent e){\n }", "title": "" }, { "docid": "bc530a45e3406aaea026531a95fb3590", "score": "0.7004023", "text": "public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "2c45e9f221d092641b4445c30a952a78", "score": "0.6995629", "text": "@Override\n public void mouseClicked(MouseEvent arg0) {\n \n }", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.6994429", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a368f08681661bec9094f34c3b05b6f7", "score": "0.6985823", "text": "public void mouseClicked(MouseEvent e)\r\n {\r\n \r\n }", "title": "" }, { "docid": "08294f10da028ab39f108ba349433699", "score": "0.6981918", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1c55657510bf12743043134ae1881e3f", "score": "0.69721407", "text": "@Override\r\n\t\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t}", "title": "" }, { "docid": "fb9b2b0ae8a8d7c437e1fca6097aa7d5", "score": "0.69674146", "text": "@Override\n public abstract void mouseClicked(MouseEvent e);", "title": "" }, { "docid": "f107e52fbc320499d90c36f938dbc5fc", "score": "0.696041", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\r\n\r\n\t\t\t}", "title": "" }, { "docid": "e4d4698f0022d475980019480f718e07", "score": "0.6958604", "text": "public void mouseClicked(MouseEvent me) {}", "title": "" }, { "docid": "6eb6b1b401874f4261907cc80a9bae42", "score": "0.69566363", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "bc1d16d2f3ab9668659b9ce029f32fc7", "score": "0.69513357", "text": "public abstract boolean wasClicked(int px, int py);", "title": "" }, { "docid": "88c4b0af4cd6f33a6e7e2076bfbac78b", "score": "0.6948647", "text": "public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "db9d47c6611552856c327e052c0d52da", "score": "0.6939433", "text": "@Override\n public void onClick(View v) {\n if (listener3 != null) {\n int position = getAdapterPosition();\n if (position != RecyclerView.NO_POSITION) {\n listener3.onImageClick(imageIcon, position);\n }\n }\n }", "title": "" }, { "docid": "fbe7310f97fe3c2c6b48a990ee69677d", "score": "0.6923864", "text": "@Override\npublic void mouseClicked(MouseEvent arg0) {\n\t\n}", "title": "" }, { "docid": "bd42d211a9bcf6ad870ba0a1205dde3b", "score": "0.69225174", "text": "public interface OnPhotoClickListener {\n\n void onTouch(View v, ImageView imageView, int position);\n\n}", "title": "" }, { "docid": "997b41a1dcda276b251b918672dc0007", "score": "0.6919255", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\n\t\t\t}", "title": "" }, { "docid": "c67cd49fdd590f01bcd4703f629485bb", "score": "0.69144225", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "c67cd49fdd590f01bcd4703f629485bb", "score": "0.69144225", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "ad161b1d548cb1358bef83f75276c5c6", "score": "0.69069237", "text": "@Override\n public void mouseClicked(MouseEvent mouseEvent) {\n }", "title": "" }, { "docid": "7d5ac1c8da3bfa63cefdaa6747a7ce39", "score": "0.68936896", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "7d5ac1c8da3bfa63cefdaa6747a7ce39", "score": "0.68936896", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "a0fc32009b41df814dc76edfdc9faee0", "score": "0.6889111", "text": "@Override\npublic void mouseClicked(MouseEvent e) {\n\t\n}", "title": "" }, { "docid": "0c101fb578b18736b32a28a1c93cddf2", "score": "0.6879888", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\r\n\t\t\t}", "title": "" }, { "docid": "0c101fb578b18736b32a28a1c93cddf2", "score": "0.6879888", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\r\n\t\t\t}", "title": "" }, { "docid": "38ec48e5f31408b52f74178cbf718e87", "score": "0.6876242", "text": "@Override\n public void mouseClicked(MouseEvent e){}", "title": "" }, { "docid": "6f1899a6cbafa265ef9af5e87063c957", "score": "0.68740624", "text": "public void mouseClicked(MouseEvent arg0)\n {\n }", "title": "" }, { "docid": "1bcd0d11b7164063a855d4a80da060fc", "score": "0.6872917", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "ed8104a6763b9d4bae347f0c8fb8873f", "score": "0.68724436", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n \t}", "title": "" }, { "docid": "04a4371877b203f68b55354857de3388", "score": "0.68710536", "text": "public void mouseClicked(MouseEvent e) {\r\n\t}", "title": "" }, { "docid": "e50cd169f899bf9c8262c0c8f8c77590", "score": "0.686957", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.6865757", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4971174ae6eaffc5cbe34bf9c1c1f9bf", "score": "0.68644124", "text": "@Override\n\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "title": "" }, { "docid": "4971174ae6eaffc5cbe34bf9c1c1f9bf", "score": "0.68644124", "text": "@Override\n\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "title": "" }, { "docid": "1ff2cf46c3deace2b4e4d7dbf4dc2911", "score": "0.68631214", "text": "public void mouseClicked(MouseEvent unEvento) {\n }", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.6851337", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.6851337", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.6851337", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "521f43696cc014e7430272637c7012de", "score": "0.6849971", "text": "public void mouseClicked(MouseEvent e) {\n\n\t}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.6848714", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.6846433", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "29df6e1c41b77758653df7b03f651db0", "score": "0.68460745", "text": "@Override\r\n\t\t\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "29df6e1c41b77758653df7b03f651db0", "score": "0.68460745", "text": "@Override\r\n\t\t\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "29df6e1c41b77758653df7b03f651db0", "score": "0.68460745", "text": "@Override\r\n\t\t\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "29df6e1c41b77758653df7b03f651db0", "score": "0.68460745", "text": "@Override\r\n\t\t\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "94417b62b120de691df6c231f7207698", "score": "0.6846022", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\r\n\t\t\t}", "title": "" }, { "docid": "bd6cb3cfecbd7d43ba2942240511a741", "score": "0.6844974", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {}", "title": "" }, { "docid": "26392ef4f84942e50a4e269a9d620c92", "score": "0.68435276", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "26392ef4f84942e50a4e269a9d620c92", "score": "0.68435276", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "26392ef4f84942e50a4e269a9d620c92", "score": "0.68435276", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "26392ef4f84942e50a4e269a9d620c92", "score": "0.68435276", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.68433976", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.68433976", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.68433976", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.68433976", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.68433976", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.6832208", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.6832208", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.6832208", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "a3d6103d04ebb16eed9737b08d6338c3", "score": "0.6827728", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n\r\n }", "title": "" }, { "docid": "a3d6103d04ebb16eed9737b08d6338c3", "score": "0.6827728", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n\r\n }", "title": "" }, { "docid": "a3d6103d04ebb16eed9737b08d6338c3", "score": "0.6827728", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n\r\n }", "title": "" }, { "docid": "a3d6103d04ebb16eed9737b08d6338c3", "score": "0.6827728", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n\r\n }", "title": "" }, { "docid": "a7f38b033a5b897aafcdc5542d3758b4", "score": "0.68275326", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t\t}", "title": "" }, { "docid": "c340280982ef80f1dec109880d6f8441", "score": "0.68262446", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t}", "title": "" }, { "docid": "c340280982ef80f1dec109880d6f8441", "score": "0.68262446", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t}", "title": "" }, { "docid": "c340280982ef80f1dec109880d6f8441", "score": "0.68262446", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t}", "title": "" }, { "docid": "c340280982ef80f1dec109880d6f8441", "score": "0.68262446", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.68257505", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "1cc304d23382fea8a57a4d40f85fc3f4", "score": "0.682409", "text": "public void mouseClicked(MouseEvent e) {\n\t}", "title": "" }, { "docid": "a0726036faa2755669a7074506854243", "score": "0.68227834", "text": "@Override\n \tpublic void mouseClicked(MouseEvent event) {\n \t}", "title": "" }, { "docid": "bbb30714aa0436f779d9678e2c4f92a6", "score": "0.682187", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.6817289", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.6817289", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "f43d5d1507689c7aa40a8c5ac314a086", "score": "0.6814759", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "288475683bd5dcdfd6d558fa087da238", "score": "0.6805768", "text": "@Override\n\tpublic void mouseClicked() {\n\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.67944115", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" } ]
8fe32d37a4a99ee46677e3e7daef1ccd
"id":277,"name":"Fulmination Conduit","description":"Fulmination Conduit counts up instead of down at the beginning of its turn. You may sacrifice it to add its Countdown to your [current] Energy."
[ { "docid": "720338dedd8f7cc1e0fc23f146ec6318", "score": "0.0", "text": "public int doesCountDown(Board b, Minion m)\n {\n return 1; //-1 per round is default -> 0= dont count down, 1=count up (Fulmination Conduit) , -2 = counts down 2 per round etc...\n }", "title": "" } ]
[ { "docid": "a93b1261149a72190a7ad631e46117e9", "score": "0.58100444", "text": "public String countdownString(){\n return (countdown-(timeElapsed * 1000))/(60000) + \":\" + (countdown-(timeElapsed * 1000))/1000;\r\n }", "title": "" }, { "docid": "798326e8da212f191f2e92eccdeb6272", "score": "0.5624976", "text": "@Override\n public void onClick(View view){\n CountDownTimer countDownTimer = new CountDownTimer(60 * 1000, 1000) {\n @Override\n public void onTick(long millis) {\n textView.setText(\"Timer:\" + (int) (millis / 1000) + \"seconds\");\n }\n\n @Override\n public void onFinish() {\n textView.setText(\"Well Done! You Burned 6 Calories.\"); //60 second of crunches will burn 6 calories\n }\n }.start();\n\n }", "title": "" }, { "docid": "0d8eb6f327ccf839817452a8d1412b84", "score": "0.55585", "text": "void countDown();", "title": "" }, { "docid": "9d756b9f53393787e523c609f7c73a5f", "score": "0.5540121", "text": "public int getCoolDown()\n {\n return coolDown;\n }", "title": "" }, { "docid": "802ac1f9bf6b2d48938efb3a0cdff82d", "score": "0.5534246", "text": "private void CountDown(){\n countDownTimer = new CountDownTimer(time , 100) {\n @Override\n public void onTick(long tick) {\n timer.setText(String.format(getString(R.string.time), ((double) tick / 1000.0) + \"\"));\n time = (int)tick;\n }\n\n @Override\n public void onFinish() {\n EndGameObj(true, false);\n }\n }.start();\n }", "title": "" }, { "docid": "296900471fa81f21f011af9be889f11a", "score": "0.5505405", "text": "@Override\n\tpublic String description() {\n\t\treturn \" \"+this.name+\" \"+this.rent+\"元/天\"+\" \"+\"载货:\"+this.cargoCapacity+\"吨\";\n\t}", "title": "" }, { "docid": "0c614df48d159ae4e24021cfe825f7d4", "score": "0.54127043", "text": "@Override\n public void showCountDownFinish() {\n }", "title": "" }, { "docid": "61791a715ac54c9b158e3c76091e1e7f", "score": "0.53961855", "text": "@DISPID(771) //= 0x303. The runtime will prefer the VTID if present\n @VTID(16)\n int getRemainingTime();", "title": "" }, { "docid": "4103e6ec00380ea8177496182c7dc231", "score": "0.5395554", "text": "@Override\n\tpublic String takeoff() {\n\t\treturn \"Helicopter will take off from Hangar\";\n\t}", "title": "" }, { "docid": "33806a5b0ab43b44f973ae8620191724", "score": "0.53929305", "text": "String getDuty_desc();", "title": "" }, { "docid": "f3a66f6bd3c3f6f56f93bca2b9154c45", "score": "0.53590715", "text": "public void endCounter() {\n setCounter(ModelConstants.ATTACK_COUNTER_ZERO);\n }", "title": "" }, { "docid": "72e05bd60f3c0bcc9425d73fb816e027", "score": "0.5318844", "text": "private static void skillCountDown() {\n\t\tif (groundSmashUsed) {\n\t\t\tif (StatusBar.groundSmash.remainingCoolDown < StatusBar.groundSmash.coolDown)\n\t\t\t\tStatusBar.groundSmash.remainingCoolDown += 1 / (double) Main.FPS;\n\t\t\telse {\n\t\t\t\tStatusBar.groundSmash.remainingCoolDown = 0;\n\t\t\t\tgroundSmashUsed = !groundSmashUsed;\n\t\t\t}\n\t\t\tStatusBar.groundSmash.draw();\n\t\t}\n\n\t\tif (healUsed) {\n\t\t\tif (StatusBar.heal.remainingCoolDown < StatusBar.heal.coolDown)\n\t\t\t\tStatusBar.heal.remainingCoolDown += 1 / (double) Main.FPS;\n\t\t\telse {\n\t\t\t\tStatusBar.heal.remainingCoolDown = 0;\n\t\t\t\thealUsed = !healUsed;\n\t\t\t}\n\t\t\tStatusBar.heal.draw();\n\t\t}\n\t}", "title": "" }, { "docid": "2a574f694598978696a1fc91fe7b9a9d", "score": "0.5314198", "text": "public String getTimeRemainingSummary(){\n if(isOverdue()){\n return \"0m\";\n }\n\n Duration remaining = (new Interval(DateTime.now(), getDeadline())).toDuration();\n long hoursRemaining = remaining.getStandardHours();\n long minutesRemaining = remaining.getStandardMinutes();\n long daysRemaining = remaining.getStandardDays();\n\n String summary;\n if (hoursRemaining == 0){\n summary = \"\"+(minutesRemaining+1)+\"m\";\n } else if (hoursRemaining >= 1 && hoursRemaining <= 23){\n summary = \"\"+(hoursRemaining+1)+\"h\";\n } else {\n summary = \"\"+(daysRemaining+1)+\"d\";\n }\n\n return summary;\n }", "title": "" }, { "docid": "92ef024a962fd4ca912f0b474aba5661", "score": "0.52699506", "text": "private void countDown(){\n if(isInProgress()){\n tempsRestant --;\n if(tempsRestant <= 10){\n SoundFactory.getInstance().playAlerte(20);\n }\n if(tempsRestant == 0){\n etatActuel = etat.perte;\n }\n }\n }", "title": "" }, { "docid": "86220a8cc177badb2f7065b191af949f", "score": "0.5246823", "text": "String getHold();", "title": "" }, { "docid": "526dd1318f27a501e42b163fae908cb7", "score": "0.52303165", "text": "public int getFoodTimer() {\n\t\treturn foodTimer;\n\t}", "title": "" }, { "docid": "e5bb26c053f9c02520420ad4da773d6f", "score": "0.5188968", "text": "int getDutyCycleNumerator();", "title": "" }, { "docid": "24d72f80d32a5472af4385b45468985d", "score": "0.51876354", "text": "public ParticipantCountdownTimer getDuration(){\n return bulletDuration;\n }", "title": "" }, { "docid": "429e8493884e5cab940808353a2a365f", "score": "0.515808", "text": "public int getIceFistCooldown() {\n\t\treturn iceFistCooldown;\n\t}", "title": "" }, { "docid": "4687e483f253ec4c20a78c704bf0b604", "score": "0.51578254", "text": "public int getDuration() {\n/* 36 */ return this.duration;\n/* */ }", "title": "" }, { "docid": "9f4eac6b4fc7e1dcf3f20e3504e2045e", "score": "0.5153521", "text": "private void updateCountDownText() {\n int minutes = (int) (mTimeLeftInMillis/1000) / 60;\n int seconds = (int) (mTimeLeftInMillis/1000) - (minutes*60);\n\n String timeLeftFormat = String.format(Locale.getDefault(),\"%02d:%02d\", minutes, seconds);\n\n mTextViewCountDown.setText(timeLeftFormat);\n\n }", "title": "" }, { "docid": "3f881e61a1bfff39d95d917075a46d97", "score": "0.51529026", "text": "@Override\n\tpublic int getTimeRemaining() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "ec78a9e2543541f204e823e623700ddf", "score": "0.51517415", "text": "public long calculateRemaining() {\n\t\treturn offCooldown - System.currentTimeMillis();\n\t}", "title": "" }, { "docid": "4ed22ee883d454ff5aff54588f50cb11", "score": "0.5147086", "text": "@Override\r\n\tpublic String takeoff() {\n\t\treturn \"Superman:of feet\";\r\n\t}", "title": "" }, { "docid": "7ce4c0c5a859ee54dc38904ba349c2f2", "score": "0.5137751", "text": "public synchronized String describeTimeRemaining() {\n\t\treturn Util.describeInterval(getEstimatedTimeRemaining());\n\t\t\n\t}", "title": "" }, { "docid": "2831cf925e15b4020c12485a210358d2", "score": "0.5122816", "text": "@Override\r\n\tpublic int tuitionDue() {\r\n\t\tint bill = 0;\r\n\t\t\r\n\t\tint creditAmount = Math.min(15, credit);\r\n\t\t\r\n\t\tint tuition = (creditAmount >= 12) ? TUITION-200 : TUITION;\r\n\t\t\r\n\t\tbill += tuition * creditAmount;\r\n\t\t\r\n\t\tif(creditAmount >= 12) {\r\n\t\t\tbill += 1441;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tbill += 846;\r\n\t\t}\r\n\t\t\r\n\t\treturn bill;\r\n\t}", "title": "" }, { "docid": "377ed3bdc8a9c78f0e632fe06fd10fa1", "score": "0.51094335", "text": "@Override\n\tpublic String getDilyWorkout() {\n\t\treturn \"Practice fast bowling for 15 min\";\n\t}", "title": "" }, { "docid": "5c382b44ca82983eb98c484b0775187d", "score": "0.5101751", "text": "@Override\n public void showCountDownTick(String secondsLeft) {\n }", "title": "" }, { "docid": "e96fe60117e80f83f8325b2d7526e755", "score": "0.5093867", "text": "protected void takeDown() {\r\n // Printout a dismissal message\r\n System.out.println(\r\n \"Counting Agent \" + getAID().getName()\r\n + \" with interval: \"\r\n + interval.toString()\r\n + \" is terminating.\"\r\n );\r\n }", "title": "" }, { "docid": "b2db8df1af59c5b7eb2aeb22a870be81", "score": "0.5085108", "text": "protected void onGetRatedPowerConsumptionOfIndoorUnit(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "title": "" }, { "docid": "bcdf250d0a0d7782d913319e87649286", "score": "0.50833905", "text": "private void updateCountDownText() {\n int minutes = (int) (timeLeftinMillis / 1000) / 60;\n int seconds = (int) (timeLeftinMillis / 1000) % 60;\n String timeLeftFormatted = String.format(Locale.getDefault(), \"%02d:%02d\", minutes, seconds);\n timer.setText(timeLeftFormatted);\n }", "title": "" }, { "docid": "b645d94565d26bab836cc5a6da23e50c", "score": "0.5073207", "text": "public void drawCountdown() {\n\t\tint h = (int)Math.floor(Gdx.graphics.getHeight() * 0.15f);\n\t\t\n\t\t// get 'character' by count down value\n\t\tint c = (int)Math.ceil(_countDown);\n\t\t\n\t\tBatch batch = getBatch();\n\t\tbatch.begin();\n\t\t_rfont.draw(batch, \"\"+c,\n\t\t\t\t(int)(Gdx.graphics.getWidth()/2f),\n\t\t\t\t(int)(Gdx.graphics.getHeight() / 2f),\n\t\t\t\th, h,\n\t\t\t\ttrue,\n\t\t\t\ttrue);\n\t\tbatch.end();\n\t}", "title": "" }, { "docid": "6800f30e15100ebbcb05ace3a14b90c5", "score": "0.5062863", "text": "public int getCooldown() {\n return cooldown;\n }", "title": "" }, { "docid": "996d3df211fb5883455fbb82e448079d", "score": "0.5042935", "text": "@Override\n\tpublic int getTalkInterval()\n {\n return 200; \n }", "title": "" }, { "docid": "4b5f6b2ad561676c372c0944f458bb75", "score": "0.5041462", "text": "public synchronized String getLifeTimer() {\n\t\treturn this.prefs.getString(context.getString(R.string.key_lifeTimer), \"1000\");\n\t}", "title": "" }, { "docid": "b28b826f35a98190a7d49e68d7d3a8b5", "score": "0.50352126", "text": "protected void takeDown() {\n System.out.println(\"Agent-sprzedawca (wersja c lato,2029/20) \" + getAID().getName() + \" zakoczy działalnosc.\");\n }", "title": "" }, { "docid": "5ef79bbf55c4ef0b29f19461cb8681cf", "score": "0.50350523", "text": "public void setTimeRemaining(int time)\n {\n this.timeRemaining = time;\n }", "title": "" }, { "docid": "224b83ff6299ada4ff6d9907572106b0", "score": "0.50323004", "text": "@Override\n\tpublic String resultOfEncounterMessage() {\n\t\tString messageTemplate = \"As you were very kind and rescued a crew of %d sailors, they are gifting you with $ %.2f!\";\n\t\treturn String.format(messageTemplate, quantityOfSailorsToRescue, this.totalMonetaryReward);\n\t}", "title": "" }, { "docid": "d0d5837bc191bdaf10283ae36c908c52", "score": "0.50204784", "text": "public double getCookTime(){\n return this.cookedFor;\n }", "title": "" }, { "docid": "9e6be25831e50e23d13aa369d5e49c6a", "score": "0.5020427", "text": "public int getTimeRemaining()\n {\n return this.timeRemaining;\n }", "title": "" }, { "docid": "1274e522f620e86e675020dce2b8aedb", "score": "0.50199336", "text": "@Override\n\t\t\tpublic int getRemainingTimeInMillis() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "4b577717bc5a1f836e2f1123cb3708df", "score": "0.5015914", "text": "@Override\n\tpublic String getDescription() {\n\t\treturn \"This combo allows an airbender to jump high into the air.\";\n\t}", "title": "" }, { "docid": "a54ffb057d7fc011d4ec14628c2cbc00", "score": "0.50156194", "text": "public static @NonNull String deadlineCountdownUnit(final @NonNull Project project, final @NonNull Context context) {\n final Long seconds = timeInSecondsUntilDeadline(project);\n if (seconds <= 1.0 && seconds > 0.0) {\n return context.getString(R.string.discovery_baseball_card_deadline_units_secs);\n } else if (seconds <= 120.0) {\n return context.getString(R.string.discovery_baseball_card_deadline_units_secs);\n } else if (seconds <= 120.0 * 60.0) {\n return context.getString(R.string.discovery_baseball_card_deadline_units_mins);\n } else if (seconds <= 72.0 * 60.0 * 60.0) {\n return context.getString(R.string.discovery_baseball_card_deadline_units_hours);\n }\n return context.getString(R.string.discovery_baseball_card_deadline_units_days);\n }", "title": "" }, { "docid": "bbfff3a15e14cc55a03c952279c92e6b", "score": "0.5010959", "text": "private TimeBudget getBudget()\r\n {\r\n final Long timeout = Long.getLong(\"opensphere.pluginInit.timeoutMs\");\r\n return timeout == null ? TimeBudget.INDEFINITE : TimeBudget.startMilliseconds(timeout.longValue());\r\n }", "title": "" }, { "docid": "0022d82359f9c351a9bc7d8701f3d0f8", "score": "0.5000199", "text": "String getHoldY();", "title": "" }, { "docid": "4c23cdaa8848af4d15beff480c5a10a0", "score": "0.49956197", "text": "public int getCaloriesBurned() {\n\t\treturn caloriesBurned;\n\t}", "title": "" }, { "docid": "85a507cc94d3bca9433364f8392c2922", "score": "0.4995119", "text": "public int getCounter() {\n\t\treturn livesconsumptioncounter;\n\t}", "title": "" }, { "docid": "5d284816574ac060b49e751eb1e1d6fd", "score": "0.49945816", "text": "Client(String name, int pay, int hours, String text, int completed, int currentLevel){\n title = name;\n payment = pay;\n hourPay = hours;\n flavorText = text;\n timesDone = completed;\n level = currentLevel;\n }", "title": "" }, { "docid": "f619eef9d0c7d7aec49d17116a16fa06", "score": "0.49932182", "text": "public String getDailyWorkout() {\n return \"TrankCouch\";\n }", "title": "" }, { "docid": "7852cadbd2fccca72796d1e970b2d6ed", "score": "0.4991207", "text": "public int getTimeRemaining() {\n return timeRemaining;\n }", "title": "" }, { "docid": "3d67a2e06fc8486ca78fe2b5ff6d1627", "score": "0.4986367", "text": "public int getDuration(){ return duration; }", "title": "" }, { "docid": "1c1e670a6c326d1a59221e7ccc2b6e88", "score": "0.49800032", "text": "@DefaultStringValue(\"After a while it might be nice to check here anyway as iCing might have timed out checking. CING might be finished anyhow.\")\n @Key(\"After_a_while_it\")\n String After_a_while_it();", "title": "" }, { "docid": "21aaa6f592cfa6e62132e325602f53b3", "score": "0.49709427", "text": "public void lifeDown()\n {\n life--;\n }", "title": "" }, { "docid": "d3790d55fab96d536838b8b9f6be9f6e", "score": "0.49694374", "text": "protected void onGetMeasuredPowerConsumptionOfIndoorUnit(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "title": "" }, { "docid": "47ebcd728c410655f9b72ece0e00f0c4", "score": "0.49637902", "text": "int getBuyUnit();", "title": "" }, { "docid": "5a163716bdbe762689c9c1aa3260991e", "score": "0.49581712", "text": "long getChannelDecided();", "title": "" }, { "docid": "8715feab041a5318f449d6dcabc6082c", "score": "0.494705", "text": "int getPlayerBuyinCount();", "title": "" }, { "docid": "8f23ff2f133ec01709312e4b49f580aa", "score": "0.4946079", "text": "public int getDureeService() {\n return durationService;\n }", "title": "" }, { "docid": "6907699e2622eec98e2b8228355a59f4", "score": "0.49442315", "text": "int getWarmupSeconds();", "title": "" }, { "docid": "c02f4193053152a803bad9cb7223a784", "score": "0.4939187", "text": "int getUsesRemaining();", "title": "" }, { "docid": "4464adad4511a849a6ffcfb4b972fbeb", "score": "0.49386793", "text": "@Override\n public int getDuration() {\n return 0;\n }", "title": "" }, { "docid": "ff8317ebfeec5e92d44aa4e11003790a", "score": "0.49368784", "text": "String getRepeatDur();", "title": "" }, { "docid": "d4e906737929a74a59c28bbe24f772a0", "score": "0.49303013", "text": "private Long lifeRemaining() {\n return maximumLifeMillis - (System.currentTimeMillis() - startUpTime);\n }", "title": "" }, { "docid": "68da30f17c0610651d81562920338e95", "score": "0.49299365", "text": "@Override\r\n\tpublic String getDailyWorkout() {\n\t\treturn \"TrackCoach:- Run 5 km\";\r\n\t}", "title": "" }, { "docid": "56187fe48234bcc58cd8be5a6f747d8f", "score": "0.49139908", "text": "public int getExpenseID()\n {\n return expenseID++;\n }", "title": "" }, { "docid": "127324bfe4cfd496d2e32244949b3ba6", "score": "0.49126154", "text": "@Override\r\n\tpublic String Dinner() {\n\t\treturn \"rice, vegitables\";\r\n\t}", "title": "" }, { "docid": "08f1df657b88c2a541e630951238a478", "score": "0.49118727", "text": "public static long getCountDownToo()\n\t{\n\t\treturn SystemwideAlerts.countDownToo;\n\t}", "title": "" }, { "docid": "b0ead394acbaa15a4b319b4c7dc4b3af", "score": "0.4910883", "text": "public NutChocolateChipCookie(String name, int quantity) {\n super(name, quantity);\n this.description = \"nutty chocolate chip\";\n }", "title": "" }, { "docid": "929fbbdd80dfa5d646b612d848abccef", "score": "0.49064702", "text": "@Override\n public String getDescription() {\n return \"Mash at \" + temperature;\n }", "title": "" }, { "docid": "f5b80e9256d7b72b99e15891ff2a4038", "score": "0.49001214", "text": "public riggedDice() {\r\n\t\tsuper(\"Weighted Dice\", 60, 0);\r\n\t\tupperRollLimit = 1;\r\n\t\tDescription = \"This item increases the chances of a Hero winning the Dice mini-game that a villian might play by 10%.\\nIt is stackable.\";\r\n\t\tthis.setItemDescription(Description);\t\r\n\t}", "title": "" }, { "docid": "a744287956f0fbee273af27c4fc072e7", "score": "0.48948032", "text": "Client(){\n title = null;\n payment = 0;\n hourPay = 0;\n flavorText = null;\n timesDone = 0;\n level = 0;\n }", "title": "" }, { "docid": "dee6aefcbc993706f730448725461d2a", "score": "0.48934475", "text": "public CountDown getTime() {\n\t\treturn countDown;\n\t}", "title": "" }, { "docid": "c55530fb9efd9744e7c3ca95805f79de", "score": "0.4887516", "text": "public String getDuration() {return Duration;}", "title": "" }, { "docid": "033ecece5dfd1c0b8ea5f79dfc9ac41c", "score": "0.48844978", "text": "public String getLongDescription(){\r\n return \"You are in \" + description + \".\\n->\" + getExitString() + \"\\n->\"+getItemsDescription() +\"\\n->\" + getCharactersDescription()+\"\\n->\"+getEnemiesDescription() +\"\\n------------------------------------------------------------------------------------------------------\\n\";\r\n }", "title": "" }, { "docid": "fcd7d4cd131f1addd4e4c109a86ad682", "score": "0.4879206", "text": "public void gainExtraLife() {\n this.remainingLifes += 1;\n receiveExtraLife = true;\n }", "title": "" }, { "docid": "5395fdaec2a708a61bf349c778923579", "score": "0.4877248", "text": "@Override\n public void onTick(long millisUntilFinished) {\n String text = String.format(Locale.getDefault(), \"%02d:%02d \",\n TimeUnit.MILLISECONDS.toMinutes(millisUntilFinished) % 60,\n TimeUnit.MILLISECONDS.toSeconds(millisUntilFinished) % 60);\n countTimer.setText(text);//set text\n\n counter++;\n }", "title": "" }, { "docid": "90402d484ed629816b7748476780f9c6", "score": "0.48762715", "text": "private String coffeeDataString(){\n String coffeeData = coffeeType + \" Coffee, \" + \"Quantity: \" + super.getItemQuantity() + \", Addins: \" + addInsToString();\n return coffeeData;\n }", "title": "" }, { "docid": "a50736e107abd9a38b5c936f1d0b38f1", "score": "0.4873566", "text": "public void announceFightWinCount()\n\t{\n\t\tfor(String s : this.ref.getPlayableFightWinList())\n\t\t{\n\t\t\tUtility.printMessage(s);\n\t\t\t//System.out.println(s);\n\t\t}\n\t}", "title": "" }, { "docid": "3da56e8873c03aa04a74c6708dfb57a0", "score": "0.48724627", "text": "int getEggIncubatorCount();", "title": "" }, { "docid": "f567c70ded2b5f2183c6101d1580b5f3", "score": "0.48684734", "text": "@Override\n\tpublic String getDesc() {\n\t\treturn \"the dynamic fetal heart rate chart\";\n\t}", "title": "" }, { "docid": "538d18eb6edaa0c604367809ade71f67", "score": "0.48661587", "text": "@Override\r\n\tpublic String getDailyFortune() {\n\t\treturn \"good day\";\r\n\t}", "title": "" }, { "docid": "f943135b8373857a223d01f2cdab1ef3", "score": "0.48604855", "text": "public void decreaseFood(){\n this.availFood.getAndDecrement();\n }", "title": "" }, { "docid": "72cd3ca3f0a10215e88636e4b143f96e", "score": "0.48587036", "text": "@Override\n\tpublic String getWorkoutInfo() {\n\t\treturn \"Spend 30 mins in Batting cage\";\n\t}", "title": "" }, { "docid": "65dd5e8c2749244eb63bd8d22b2d0b9e", "score": "0.48577055", "text": "public int getDuration() {return this.duration;}", "title": "" }, { "docid": "48d9f49da1ba58541103ac82d63e02f0", "score": "0.48572746", "text": "@Override\n\tpublic int getDuration() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "8e528fc9b04919f2e4d4f9b3e72dde1b", "score": "0.4855807", "text": "public String getEnemiesDescription(){\r\n return \"Enemies :\"+items.getEnemiesDescription();\r\n }", "title": "" }, { "docid": "1a305676195a34863a38dbaa79a55d33", "score": "0.48526052", "text": "public int getAmountOfCollectedFood() {\r\n return amountOfCollectFood;\r\n }", "title": "" }, { "docid": "e5368c47c97bf734bebeedbf6ed1bf06", "score": "0.4850092", "text": "public int tuitionDue() {\r\n if (credit < 12) {\r\n return ((credit * OUTSTATE_PPC) + PART_TIME_FEE);\r\n } else if (credit >= 12 && credit <= 15) {\r\n if (tristate == false) {\r\n return ((credit * OUTSTATE_PPC) + FULL_TIME_FEE);\r\n } else if (tristate == true) {\r\n return ((credit * TRISTATE_PPC) + FULL_TIME_FEE);\r\n }\r\n } else if (credit > MAX_CREDITS) {\r\n if (tristate == false) {\r\n return ((MAX_CREDITS * OUTSTATE_PPC) + FULL_TIME_FEE);\r\n } else if (tristate == true) {\r\n return ((MAX_CREDITS * TRISTATE_PPC) + FULL_TIME_FEE);\r\n }\r\n }\r\n return -1;\r\n }", "title": "" }, { "docid": "5ccee8f9cc6b4e433cbc72c372895b22", "score": "0.48500344", "text": "public int getDelivDuration() {\n return delivDuration;\n }", "title": "" }, { "docid": "f2fb598e87d52ee9daab71d19f0cc01e", "score": "0.484654", "text": "public long getCooldownRemaining() {\n if (stack == null || !stack.hasItemMeta() || !stack.getItemMeta().getPersistentDataContainer().has(HoloItemsAPI.getKeys().CUSTOM_ITEM_COOLDOWN, PersistentDataType.LONG)) return -1;\n return Math.max(0, stack.getItemMeta().getPersistentDataContainer().get(HoloItemsAPI.getKeys().CUSTOM_ITEM_COOLDOWN, PersistentDataType.LONG) - System.currentTimeMillis());\n\n }", "title": "" }, { "docid": "56d53a357bd7087c15e923a9259bb783", "score": "0.4842116", "text": "@Override\r\n\tpublic String getFortune() {\n\t\treturn \"you'll be doing fantastic in HUE .you'll improve a lot and you'll be shining\";\r\n\t}", "title": "" }, { "docid": "a9939f8411b08597e11ccab799c649ad", "score": "0.4840679", "text": "public static @NonNull String deadlineCountdownDetail(final @NonNull Project project, final @NonNull Context context,\n final @NonNull KSString ksString) {\n return ksString.format(context.getString(R.string.discovery_baseball_card_time_left_to_go),\n \"time_left\", deadlineCountdownUnit(project, context)\n );\n }", "title": "" }, { "docid": "7eee42827228626f2d99169abe9735e0", "score": "0.48405135", "text": "@Override\r\n\tprotected String getName() {\n\t\treturn \"结账\";\r\n\t}", "title": "" }, { "docid": "8d9b2b5c7be846e40a73772a9d1a4e21", "score": "0.48392946", "text": "long getAuctionQty();", "title": "" }, { "docid": "d9406d0aaebcea6314e171b9f769c7a9", "score": "0.48352772", "text": "public float getChill() {\n return chill;\n }", "title": "" }, { "docid": "e1b0a9307ff1b59462018c3de1203886", "score": "0.48311594", "text": "public void increasePayoff(){\n\t\tpayoff++;\n\t}", "title": "" }, { "docid": "33449c27b6319d0fe01514eb1d07cc2f", "score": "0.48303226", "text": "public Duration getDueTime() {\n return this.dueTime;\n }", "title": "" }, { "docid": "30e289a15050758cd2fdc20ff639dcbe", "score": "0.4827783", "text": "public int getDuration()\r\n {\r\n return weatherDuration;\r\n }", "title": "" }, { "docid": "3ce0f797ce58c8f9fcc7f21e9c43e3ca", "score": "0.48239094", "text": "private void displayQuantity(int numberOfCoffees) {\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\n quantityTextView.setText(\"\" + numberOfCoffees);\n }", "title": "" }, { "docid": "488c5d79f2f018ffb0193eb62913bba7", "score": "0.4820572", "text": "public int getDefense()\r\n {\r\n return defense;\r\n }", "title": "" }, { "docid": "42e147996fd2a29de3ca2c6be9f04cfb", "score": "0.48143575", "text": "@Override\n\tpublic String getDailyFortune() {\n\t\treturn \"Hello \"+ fortuneService.getFortune();\n\t}", "title": "" } ]
b03c63d5dcfba21f2c62ee755d20c2d2
n rong c cao
[ { "docid": "b523344cc76fe54f91fb822f2096182b", "score": "0.0", "text": "public cAnalogClockMain_T136868() {\r\n\t\tsetTitle(\" T136868-Analog Clock \");\r\n\t\tsetSize(300, 300);\r\n\t\tsetResizable(false);\r\n\t\tsetLocationRelativeTo(null);\r\n\t\tsetLayout(null);\r\n\t\tt = new Timer(1000, new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tgetTime();\r\n\t\t\t\trepaint();\r\n\t\t\t}\r\n\t\t});\r\n\t\tt.start();\r\n\t}", "title": "" } ]
[ { "docid": "15f45daa4751dead65af4b7a6e53d0f4", "score": "0.6448593", "text": "public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n System.out.println(\"Kombinasyon hesaplama\\nC(n,r) olmak üzere;\");\n System.out.print(\"n'yi giriniz: \");\n int n = scan.nextInt();\n int ilkSayi = n;\n\n System.out.print(\"r'yi giriniz: \");\n int r = scan.nextInt();\n int ikinciSayi = r;\n\n int n_r = n-r;\n\n int nFact = 1;\n\n while (n > 0){\n nFact *= n;\n n--;\n }\n\n int rFact = 1;\n\n while (r > 0){\n rFact *= r;\n r--;\n }\n int n_rFact = 1;\n\n\n while (n_r > 0){\n n_rFact *= n_r;\n n_r--;\n }\n //C(n,r) = n! / (r! * (n-r)!)\n int kombinasyon = nFact / (rFact * n_rFact);\n System.out.printf(\"C(%d,%d) = %d\",ilkSayi,ikinciSayi,kombinasyon);\n }", "title": "" }, { "docid": "fd08171e92704ebb8c88754fe23fef5e", "score": "0.6328789", "text": "static int nCr(int n, int r)\n {\n // Since nCr is same as nC(n-r)\n // To decrease number of iterations\n if (r > n / 2)\n r = n - r;\n\n int answer = 1;\n for (int i = 1; i <= r; i++) {\n answer *= (n - r + i);\n answer /= i;\n }\n\n return answer;\n }", "title": "" }, { "docid": "223b1b4463eaa6487acd764f15289852", "score": "0.6276308", "text": "public static void PeorCaso(int n){\n\t\tHashSet<Amistad> amistad = new HashSet<Amistad>();\n\t\tArrayList<Character> exp = new ArrayList<Character>(n);\n\t\tfor(int i=97;i<97+n;i++)\n\t\t\texp.add((char)i);\n\n\t\tamistad.add(new Amistad('b',exp.get(exp.size()-1)));\n\t\t\n\t\tFogon f = new Fogon();\t\n\t\t f.solve(exp,amistad); \n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9d3f84e7512a725150febdb353957b5f", "score": "0.6206139", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"-Bai 11.1 : \");\n\t\tint i = 0;\n\t\tint tong = 0;\n\t\twhile (i <= 100) {\n\t\t\ttong += i;\n\t\t\ti++ ;\n\t\t}\n\t\tSystem.out.println(\"Tong cac so tu [1-100] = \" + tong);\n\n\t\t\n/**\n * 11.2 Nhap so nguyen n . Tinh tong cac so chia het cho 3 be hon n\n */\n\t\tSystem.out.println(\"-Bai 11.2 : \");\n\t\tScanner sc = new Scanner(System.in);\n\t\tSystem.out.println(\"Nhap so nguyen n = \");\n\t\tint n = sc.nextInt();\n\t\t\ttong = 0;\n\t\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\tif(i % 3 == 0)\n\t\t\t\ttong += i;\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(\"Tong cac so chia het cho 3 = \" + tong);\n\t\t\n/**\n * 11.3 In ra 100 so Fibonacci dau tien\n */\n\t\tSystem.out.println(\"-Bai 11.3 : \");\n\t\tSystem.out.println(\"Day 100 so Fibonaci dau tien : \");\n\t\tint count = 0;\n\t\tlong f0 = 0, f1 = 1 , fn = 0;\n\t\twhile(count <= 100) {\n\t\t\tfn = f0 + f1;\n\t\t\tf0 = f1;\n\t\t\tf1 = fn;\n\t\t\tSystem.out.print(fn + \" \");\t\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println();\n/**\n * 11.4 Nhap so nguyen n kiem tra so do phai so polinom khong\t\n */\n\t\tSystem.out.println(\"-Bai 11.4 : \");\n\t\tSystem.out.println(\"Nhap so muon kiem tra polinom : \");\n\t\tint n4 = sc.nextInt();\n\t\tint temp = n4;\n\t\tint invert = 0;\n\t\tint mod = 0;\n\t\twhile(temp > 0) {\n\t\t\tmod = temp % 10;\n\t\t\ttemp /= 10;\n\t\t\tinvert = invert * 10 + mod;\n\t\t}\n\t\tif(invert == n4) \n\t\t\tSystem.out.println(\"Day la so polinom\");\n\t\telse \n\t\t\tSystem.out.println(\"Khong phai la so polinom\");\n\t\t\n/**\n * 11.5 Viet chuong trinh liet ke cac so 100-999 co tong chu so chia het cho 3\n */\n\t\tSystem.out.println(\"-Bai 11.5 : \");\n\t\tSystem.out.println(\"Cac so chia het cho 3 [100-999] :\");\n\t\tint n5 = 100;\n\t\twhile(n5 <= 999) {\n\t\t\ttong = 0 ;\n\t\t\tint m \t= 0;\n\t\t\tint n51 = n5;\n\t\t\twhile(n51 > 0) {\n\t\t\t\tm \t= n51 % 10 ;\n\t\t\t\tn51 /= 10;\n\t\t\t\ttong += m ;\t\n\t\t\t}\n\t\t\tif(tong % 3 == 0)\n\t\t\t\tSystem.out.print(n5 + \" \");\n\t\t\tn5++;\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "c9598050bc560a456f25c15dac54f1b6", "score": "0.6175562", "text": "private static void KombinasyonHesapla(int n, int r) {\n\r\n\t\tint faktoriyel_1 = 1;\r\n\t\tint faktoriyel_2 = 1;\r\n\t\tint faktoriyel_3 = 1;\r\n\t\tint fark = n - r;\r\n\r\n\t\tfor (int i = 1; i <= n; i++) {\r\n\r\n\t\t\tfaktoriyel_1 = faktoriyel_1 * i;\r\n\t\t}\r\n\t\tSystem.out.println(\"N Sayısının Faktöriyeli : \" + faktoriyel_1);\r\n\r\n\t\tfor (int j = 1; j <= r; j++) {\r\n\r\n\t\t\tfaktoriyel_2 = faktoriyel_2 * j;\r\n\t\t}\r\n\t\tSystem.out.println(\"R Sayısının Faktöriyeli : \" + faktoriyel_2);\r\n\r\n\t\tfor (int k = 1; k <= fark; k++) {\r\n\r\n\t\t\tfaktoriyel_3 = faktoriyel_3 * k;\r\n\t\t}\r\n\t\tSystem.out.println(\"(N-R)'nin Faktöriyeli : \" + faktoriyel_3);\r\n\r\n\t\tint carpim = faktoriyel_2 * faktoriyel_3;\r\n\t\tint kombinasyon = faktoriyel_1 / carpim;\r\n\r\n\t\tSystem.out.println(n + \" Sayısının \" + r + \"'li\" + \" Kombinasyonu = \" + kombinasyon);\r\n\t}", "title": "" }, { "docid": "4343796d1eaced38ef54c73e30b6554e", "score": "0.613508", "text": "public static void main(String[] args) {\n\t\t\n\t\tint n=522,r=30;\n\t\tSystem.out.println(\"\"+nCr(n,r));\n\t\t\n\n\t}", "title": "" }, { "docid": "96446b0ec1e255d7588a500769e98f82", "score": "0.60766405", "text": "private static void toss_coin(int n,String ans) {\n\t\tif(n==0) {\r\n\t\t\tSystem.out.println(ans);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttoss_coin(n-1,ans+\"H\");\r\n\t\ttoss_coin(n-1,ans+\"T\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e31bba3cf1d5349c1f8623be75b87c7a", "score": "0.59359676", "text": "static int catalan( int n) \r\n\t{ \r\n\r\n\t\t// Calculate value of 2nCn \r\n\t\tint c = binomialCoeff(2 * n, n); \r\n\r\n\t\t// return 2nCn/(n+1) \r\n\t\treturn c / (n + 1); \r\n\t}", "title": "" }, { "docid": "9485079153dbcd9c7e147586c2ca5f53", "score": "0.5906595", "text": "public static void bai1(int n){\n if(n >= 0)\n System.out.println(\"day la so nguyen duong\");\n else\n System.out.println(\"day la so nguyen âm\");\n }", "title": "" }, { "docid": "d462596377586d08737bf6d92147d743", "score": "0.58814543", "text": "private void napdulieu() {\n XoaDuLieuTrongModel(dtmDanhSach);\n int stt=0;\n for (GiangVien gv : danhSach.giangViens ) {\n themmotdong(++stt,gv);\n }\n }", "title": "" }, { "docid": "cbd4551ecaf91be86ddff6744045f9be", "score": "0.5821492", "text": "public int nCr(int n, int r) {\r\n\t\t\r\n\t\tint factn = 1;\r\n\t\tfor(int i = 1; i <= n; i++) {\r\n\t\t\tfactn *= i;\r\n\t\t}\r\n\t\t\r\n\t\tint factn_r = 1;\r\n\t\tfor(int i = 1; i <= (n - r); i++) {\r\n\t\t\tfactn_r *= i;\r\n\t\t}\r\n\t\t\r\n\t\tint factr = 1;\r\n\t\tfor(int i = 1; i <= r; i++) {\r\n\t\t\tfactr *= i;\r\n\t\t}\r\n\t\t\r\n\t\treturn factn / (factn_r * factr);\r\n\t}", "title": "" }, { "docid": "1f459cec9bb92061ece50e35ae8416c7", "score": "0.5814203", "text": "public int magicalString(int n) {\n if (n <= 0) {\n return 0;\n }\n if (n <= 3) {\n return 1;\n }\n\n int[] a = new int[n + 1];\n a[0] = 1;\n a[1] = 2;\n a[2] = 2;\n\n int head = 2;\n int tail = 3;\n int num = 1;\n int result = 1;\n\n while (tail < n) {\n for (int i = 0; i < a[head]; i++) {\n a[tail] = num;\n if (num == 1 && tail < n) {\n result++;\n }\n tail++;\n }\n num = num ^ 3;\n head++;\n }\n\n return result;\n }", "title": "" }, { "docid": "e877209a6b0dc6402e9bd790ab27e36c", "score": "0.5800482", "text": "public Color getCouleur (int n){\n switch (n) {\n\t\tcase 0 : return Color.WHITE; //cas d'une habitation libre\n \tdefault: return Color.BLUE;\n }\n\t}", "title": "" }, { "docid": "638cc9d6a4935987c051340163475e88", "score": "0.57590854", "text": "private static String concatN(char c, int n) {\n StringBuilder builder = new StringBuilder();\n for (int i=0; i<n; i++) {\n builder.append(c);\n }\n return builder.toString();\n }", "title": "" }, { "docid": "0557c2aa4d1088cdd270f838b0305876", "score": "0.57123274", "text": "private void paobi() {\n\t\tint a = 0;\n\t\tint b = 0;\n\t\tfor (int i = 1; i <= 1000000; i++) {\n\t\t\tint c = (int) (Math.random() * 2);\n\n\t\t\tif (c == 0) {\n\t\t\t\ta++;\n\t\t\t} else {\n\t\t\t\tb++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"正面:\" + a);\n\t\tSystem.out.println(\"反面:\" + b);\n\n\t}", "title": "" }, { "docid": "ef15ecc6630a8c701c15d10a653a628b", "score": "0.570801", "text": "int mo12024n();", "title": "" }, { "docid": "a451a43cac87d12bbc1923f08a45f76b", "score": "0.56773955", "text": "public String countAndSay(int n) {\n String ans = alg(n);\n return ans;\n }", "title": "" }, { "docid": "0219f84ead93df24f1049247e8051fc1", "score": "0.56729126", "text": "void thoiGianConLai(int thoiGianConLai);", "title": "" }, { "docid": "30c13f16a4bc45f88e26f994c442d472", "score": "0.5640125", "text": "public static int seq(long n) {\n int count = 0;\n while (n!=1) {\n if (n%2 == 0) {\n n /= 2;\n count ++;\n }\n else {\n n = 3*n+1;\n count ++;\n }\n }\n return count;\n }", "title": "" }, { "docid": "ea1fcc3ed63f69f36496f48f9ee1b8c4", "score": "0.55984867", "text": "public static void main (String[] args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int z,n1=1,n2=n,s=0;\n for(int i=1;i<4;i++)\n {\n z=n2%10;\n n2/=10;\n for(int j=1;j<=z;j++)\n {\n n1=n1*j;\n }\n s+=n1;\n n1=1;\n }\n if(s==n)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n \n\t}", "title": "" }, { "docid": "c920632b4b201b2a23afaec345d2c5ec", "score": "0.559313", "text": "@Test public void nitrogen_anion() throws Exception {\n test(\"O=C1C=C[N-]C=C1\", \"O=c1cc[n-]cc1\");\n }", "title": "" }, { "docid": "3a57604f9bd1fd0f0047fab840ab154f", "score": "0.55601406", "text": "int main()\n{\n int n;\n cin>>n;\n int c=0;\n int b;\n while(n>0)\n {\n cin>>b;\n n-=b;\n c++;\n }\n cout<<\"The number of turns is \"<<c;\n}", "title": "" }, { "docid": "7b17b6a1f541bce3cad4cc5564bf3d62", "score": "0.5553243", "text": "public static void bai3(int n) {\n if(n % 15 == 0)\n System.out.println(\"FIZZBUZZ\");\n else if(n % 3 == 0)\n System.out.println(\"FIZZ\");\n else if(n % 5 == 0)\n System.out.println(\"BUZZ\");\n }", "title": "" }, { "docid": "78582f6d32314608b27f9c223ee2ea7a", "score": "0.55210704", "text": "public String countAndSay(int n) {\n if (n<=0)\n {\n return new String(\"\");\n }\n else if (n==1)\n {\n return new String(\"1\");\n }\n else\n {\n String base=countAndSay(n-1);\n StringBuffer result=new StringBuffer();\n int i=1;\n char previous=base.charAt(0);\n int count=1;\n while(i<base.length())\n {\n if (base.charAt(i)==previous)\n {\n count++;\n i++;\n }\n else\n {\n result.append(count);\n result.append(previous);\n count=1;\n previous=base.charAt(i);\n i++;\n }\n }\n // check the end\n result.append(count);\n result.append(previous);\n return result.toString();\n }\n }", "title": "" }, { "docid": "62c20215149a0112574ed7b4538fa097", "score": "0.552053", "text": "int getCosmicCount();", "title": "" }, { "docid": "567ecaa9f5d439460d0676785f7b7ff7", "score": "0.5506087", "text": "public static void coinToss2(int n,String ans){\n if(n == 0){\n System.out.println(ans);\n return;\n }\n\n if(ans.length() == 0 || ans.charAt(ans.length() - 1) != 'H'){\n coinToss2(n - 1, ans + \"H\");\n }\n coinToss2(n - 1, ans + 'T');\n }", "title": "" }, { "docid": "a2a5aa8a674959c19e9add4ebf57797d", "score": "0.55059004", "text": "public static void main(String[] args) {\n\r\n\t\t int p = 20000;\r\n\t\t int r = 6;\r\n\t\t int n = 3;\r\n\t\t \r\n\t\t System.out.println(\"Principle \" + p);\r\n\t\t System.out.println(\"Rate \" + p);\r\n\t\t System.out.println(\"Time \" + p);\r\n\t\t int si = 1 +(r/n);\r\n\t\t System.out.println(\"Compound Interest \"+ p*Math.pow(si, n));\r\n\t\t \r\n\t}", "title": "" }, { "docid": "96a06a7f226b5d9ed35066be6b504cac", "score": "0.550049", "text": "static String gameOfThrones(String s) {\n char[] ch=s.toCharArray();\n Map<Character,Integer> hm=new TreeMap<>();\n for(char c:ch){\n if(hm.containsKey(c)){\n hm.put(c,hm.get(c)+1);\n }\n else{\n hm.put(c,1);\n }\n }\n int odd=0;\n for(Integer i:hm.values()){\n if(i%2!=0) odd++;\n }\n return (odd>1)?\"NO\":\"YES\";\n }", "title": "" }, { "docid": "e2ad650267b6ab91e0221b796cba6980", "score": "0.5486473", "text": "int magicalWell(int a, int b, int n) {\n int dollaDollaYall = 0;\n for (int i = 0; i < n; i++) {\n dollaDollaYall += a++ * b++;\n }\n return dollaDollaYall;\n }", "title": "" }, { "docid": "1520083ca9de2d7b9af60e13ac9ca81f", "score": "0.5473831", "text": "public static long Bil_Pascal(int n){\r\n //mendeklarasikan variable z bernilai 1\r\n long z =1;\r\n //mendeklarasikan variable i bernilai 1\r\n int i = 1;\r\n //melakukan perulangan sebanyak n dan melakukan faktorial terhadap nilai n\r\n while(i <= n){\r\n z=z*i;\r\n i++;\r\n }\r\n //untuk mengembalikan nilai z\r\n return z;\r\n }", "title": "" }, { "docid": "87ef308d81513a5d83b13715427e2044", "score": "0.54729587", "text": "private void contaCiclo(){\n cicloAtual++;\n if(cicloAtual > 1000){\n cicloAtual = 0;\n }\n\n }", "title": "" }, { "docid": "3908554b748da62e1da58cddc25eceae", "score": "0.54712206", "text": "public static double funcaoN(double n)\r\n {\r\n //definir dados\r\n double x = 1.0;\r\n double y = 3.0;\r\n double z = 2.0;\r\n double resultado = 1.0;\r\n\r\n //repetir enquanto valor maior que zero\r\n while (n > 0)\r\n {\r\n resultado = resultado * (x + z / y);\r\n z = z + 1;\r\n y = y + 1;\r\n n = n - 1;\r\n } //end repeticao\r\n //retornar resultado\r\n return (resultado);\r\n }", "title": "" }, { "docid": "05478bae50a13c5abd1aaad02768a8d0", "score": "0.54529285", "text": "public static int cube(int n){ \r\n return n*n*n; \r\n }", "title": "" }, { "docid": "744d3098ee9b80db9db9d02d3e1c040a", "score": "0.54467136", "text": "public static double potenciaN(double x)\r\n {\r\n //definir dados\r\n int y = 0;\r\n int n = 0; //natural\r\n int resultado = 0;\r\n\r\n //repetir enquanto valor maior que zero\r\n while(y != x)\r\n {\r\n n = n + 1;\r\n if ((n) > 0)\r\n {\r\n resultado = resultado + (int)Math.pow(n , 2);\r\n y = y + 1;\r\n\r\n IO.println( \"Numero natural = \" + n );\r\n IO.println( \"Potencia = \" + n * n );\r\n } //end se\r\n } //end repetica\r\n //retornar resultado\r\n return (resultado);\r\n }", "title": "" }, { "docid": "d3d5522981484e93c7e4ffa129048568", "score": "0.5431826", "text": "public static void main(String[] args) {\n\r\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tint n = sc.nextInt();\r\n\t\tint r = sc.nextInt();\r\n\t\tint nt=n,rm,rot=1;\r\n\t\tint len=0;\r\n while(nt!=0) {\r\n \tlen++;\r\n \tnt=nt/10;\r\n }\r\n while(true) {\r\n\t\tif(r>len)\r\n\t\t{\r\n\t\t\tr=r-len;\r\n\t\t}\r\n\t\telse if(r<0)\r\n\t\t{\r\n\t\t\tr=r+len;\r\n\t\t}\r\n\t\telse\r\n\t\t\tbreak;\r\n\t\t}\r\n \r\n while(rot<=r)\r\n {\r\n \trm=n%10;\r\n \tn=n/10;\r\n \tn+=(int)(Math.pow(10,len-1)*rm);\r\n \trot++;\r\n }\r\n \r\n System.out.println(n);\r\n\t}", "title": "" }, { "docid": "1cfa33c1c8a013c4ecfe2189f2368b11", "score": "0.54266727", "text": "public static double logComb(double n, double r)\n {\n return gammaLn(n + 1) - gammaLn(r + 1) - gammaLn(n - r + 1);\n }", "title": "" }, { "docid": "ca670c09db0ff743e33a2e425b8a7a8b", "score": "0.5397212", "text": "public int chinese(int a, int m, int b, int n) {\n Result p = new Result();\n extendedEuclid(m, n, p);\n return (a*n*(p.y < 0 ? p.y + m : p.y) +\n b*m*(p.x < 0 ? p.x + n : p.x))%(m*n);\n }", "title": "" }, { "docid": "59a79b8f6e9d654698014bdc66dc51b6", "score": "0.5385632", "text": "static String gameOfThrones(String s) {\n \n Map<Character, Integer> letters = new HashMap<>();\n for(char c : s.toCharArray())\n {\n if(letters.containsKey(c))\n letters.put(c, letters.get(c) + 1);\n else\n letters.put(c, 1);\n }\n \n int odd = 0;\n int even = 0;\n for(Integer frequency : letters.values())\n {\n if(frequency % 2 == 1)\n {\n odd++;\n continue;\n }\n \n if(frequency % 2 == 0)\n even++;\n }\n \n if(odd > 1) \n return \"NO\";\n else\n return \"YES\";\n \n }", "title": "" }, { "docid": "bde7d1300bfda10ba8b7cd6bd6a7e38f", "score": "0.537908", "text": "public String countAndSay2(int n) {\n if(n==1){\n return \"1\";\n }else{\n String prev = countAndSay2(n-1); \n StringBuilder sb = new StringBuilder();\n int i = 0;\n for(int j = 1; j <= prev.length(); j++){\n if(j==prev.length() || prev.charAt(j) != prev.charAt(j-1)){\n sb.append(j-i); \n sb.append(prev.charAt(i));\n i = j;\n }\n }\n return sb.toString();\n }\n }", "title": "" }, { "docid": "aea8f8adf67be0782ecd6eb9d54ddff7", "score": "0.5372097", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint n=obj.nextInt();\r\n\t\tint m=obj.nextInt();\r\n\t\t\r\n\t\tint[] a=new int[m];\r\n\t\tfor(int i=0;i<m;i++)\r\n\t\t\ta[i]=obj.nextInt();\r\n\t\t\r\n\t\tint curr=1;\r\n\t\tint to;\r\n\t\tlong c=0l;\r\n//\t\tSystem.out.println();\r\n\t\tfor(int i=0;i<m;i++)\r\n\t\t{\r\n\t\t\tto=a[i];\r\n\t\t\tif(to-curr>=0)\r\n\t\t\t\tc+=(to-curr);\r\n\t\t\telse\r\n\t\t\t\tc+=((n-curr)+to);\r\n//\t\t\tSystem.out.println(curr+\" \"+to+\" \"+c);\r\n\t\t\t\t\r\n\t\t\tcurr=to;\r\n\t\t}\r\n\t\t\r\n//\t\tSystem.out.println();\r\n\t\tSystem.out.println(c);\r\n\t}", "title": "" }, { "docid": "a350ab209c969ea6f089351da1be194f", "score": "0.5367054", "text": "static int countOfOddsPascal(int n) \r\n {\n int c = countSetBits(n); \r\n \r\n // Number of odd numbers in n-th \r\n // row is 2 raised to power the \r\n // count. \r\n return (int)Math.pow(2, c); \r\n }", "title": "" }, { "docid": "32f6c2812875a16f84ae8669629579b7", "score": "0.53665435", "text": "@Test\n public void testCholo() {\n nchoc(10, new ArrayList<>(Arrays.asList(2147483647, 2000000014, 2147483647)));\n }", "title": "" }, { "docid": "516667df481eb482fd8b766dcac8113a", "score": "0.5360468", "text": "public void leggTilKolonne() {\r\n\t\tenere += \"00000000000000000\";\r\n\t\ttoere += \"00000000000000000\";\r\n\t\ttreere += \"00000000000000000\";\r\n\t\tfirere += \"00000000000000000\";\r\n\t\tfemmere += \"00000000000000000\";\r\n\t\tseksere += \"00000000000000000\";\r\n\t\tett_par += \"00000000000000000\";\r\n\t\tto_par += \"00000000000000000\";\r\n\t\ttre_like += \"00000000000000000\";\r\n\t\tfire_like += \"00000000000000000\";\r\n\t\tliten_straight += \"00000000000000000\";\r\n\t\tstor_straight += \"00000000000000000\";\r\n\t\thus += \"00000000000000000\";\r\n\t\tsjanse += \"00000000000000000\";\r\n\t\tyatzy += \"00000000000000000\";\r\n\t}", "title": "" }, { "docid": "4231f92abef626b0b967cf60957b4370", "score": "0.5359276", "text": "public CoifletWavelet(int n) {\n super(n == 6 ? c6 :\n n == 12 ? c12 :\n n == 18 ? c18 :\n n == 24 ? c24 :\n n == 30 ? c30 : null\n );\n\n if ( n < 6 || n > 30 || n % 6 != 0) {\n throw new IllegalArgumentException(String.format(\"n = %d not yet implemented.\", n));\n }\n }", "title": "" }, { "docid": "facfb35e7484b0e6e3b6ad3fe635ad53", "score": "0.5358679", "text": "private static int rec(int n) {\n\t\t int[] tab=new int[n+1];\n\t\t tab[0]=2;\n\t\t tab[1]=2;\n\t\t int count=0;\n\t\t for(int i=1;i<n;i++)\n\t\t {\n\t\t\t count+=2*tab[i-1]*tab[i];\n\t\t\t tab[i+1]=count;\n\t\t }\n\t\t\n\t\treturn tab[n];\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "db23a7666a60e477ec82efbf968f7960", "score": "0.53567827", "text": "private long tinhTongDonHang()\n {\n if (dsChon.size()==0)\n {\n return 0;\n }\n long tongtien=0;\n\n for (int i = 0; i < dsChon.size(); i++) {\n\n tongtien+= dsChon.get(i).getGiaBan()*dsChon.get(i).getSoluong();\n\n }\n\n tongtien=tongtien-giaKhuyenMai;\n\n\n\n return tongtien;\n\n }", "title": "" }, { "docid": "dafed9a8609c5a8177606aada96c8dd5", "score": "0.5353502", "text": "private static void qiongju(int head, int foot) {\n for (int chook = 0 ; chook <= head ; chook++){\n if((chook*2 + (head - chook)*4) == foot){\n Log.show(\"鸡的个数:\"+chook +\" 兔子的个数:\"+(head-chook));\n }\n }\n }", "title": "" }, { "docid": "5f93dab9c0d4d2b42093b30ecf0f1f21", "score": "0.5353493", "text": "private String convert(final long n) {\n if (n < 0) {\n return \"Minus \" + convert(-n);\n }\n\n if (n < 20) {\n return units[(int) n];\n }\n\n if (n < 100) {\n return tens[(int) (n / 10)] + ((n % 10 != 0) ? \" \" : \"\") + units[(int)(n % 10)];\n }\n\n if (n < 1000) {\n return units[(int)(n / 100)] + \" Hundred\" + ((n % 100 != 0) ? \" \" : \"\") + convert(n % 100);\n }\n\n if (n < 100000) {\n return convert(n / 1000) + \" Thousand\" + ((n % 10000 != 0) ? \" \" : \"\") + convert(n % 1000);\n }\n\n if (n < 10000000) {\n return convert(n / 100000) + \" Lakh\" + ((n % 100000 != 0) ? \" \" : \"\") + convert(n % 100000);\n }\n\n if (n < 1000000000) {\n return convert(n / 10000000) + \" Crore\" + ((n % 10000000 != 0) ? \" \" : \"\") + convert(n % 10000000);\n }\n\n if (n < 100000000000L) {\n return convert(n / 1000000000) + \" Arab\" + ((n % 1000000000 != 0) ? \" \" : \"\") + convert(n % 1000000000);\n }\n\n if (n < 10000000000000L) {\n return convert(n / 100000000000L) + \" Kharab\" + ((n % 100000000000L != 0) ? \" \" : \"\") + convert(n % 100000000000L);\n }\n\n if (n < 1000000000000000L) {\n return convert(n / 10000000000000L) + \" Neel\" + ((n % 10000000000000L != 0) ? \" \" : \"\") + convert(n % 10000000000000L);\n }\n\n if (n < 100000000000000000L) {\n return convert(n / 1000000000000000L) + \" Padma\" + ((n % 1000000000000000L != 0) ? \" \" : \"\") + convert(n % 1000000000000000L);\n }\n\n return convert(n / 100000000000000000L) + \" Shankh\" + ((n % 100000000000000000L != 0) ? \" \" : \"\") + convert(n % 100000000000000000L);\n }", "title": "" }, { "docid": "539346b87d056f5c84f2e9e0f0dff1ef", "score": "0.5352361", "text": "static long repeatedString(String s, long n) {\n\t\tint size = s.length();\n\n\t\tlong c = 0;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (s.charAt(i) == 'a')\n\t\t\t\tc++;\n\t\t}\n\n\t\tlong rep = n / size;\n\t\tc = c * rep;\n\t\tif (n % size != 0) {\n\t\t\tlong x = n % size;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tif (s.charAt(i) == 'a')\n\t\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\t// System.out.println(s);\n\n\t\treturn c;\n\t}", "title": "" }, { "docid": "f6b59dbf817ea5fda9bb9435972c620d", "score": "0.53448224", "text": "public static void main(String[] args) {\n // Ovdje treba sa Skenerom uhvatiti od korisnika unos, aj sam uprostio sa ove tri varijante iz knjige\n String unos = \"978013213080\";\n // String unos = \"978013213079\"; nula na kraju mora biti\n // String unos = \"97801320\"; invalidan unos\n // odma na startu odradio provjeru , ako je invalidan unos domah prekidam dalji tok programa\n if (unos.length() != 12) {\n System.out.println(\"Invalidan input\");\n System.exit(400);\n }\n int d = 0;\n for (int i = 0; i < unos.length(); i++) {\n if (i % 2 == 0) {\n d += Character.getNumericValue(unos.charAt(i));\n } else {\n d += Character.getNumericValue(unos.charAt(i)) * 3;\n }\n }\n\n int zadnjaCifra = 10 - d % 10;\n\n // ternarni operator idealan za ovo\n zadnjaCifra = (zadnjaCifra == 10) ? 0 : zadnjaCifra;\n\n System.out.println(unos + zadnjaCifra);\n }", "title": "" }, { "docid": "67e9f551f392ccd5f2dcab9233928c45", "score": "0.5339456", "text": "public void generateNNL(){\n\t\t\n\t}", "title": "" }, { "docid": "9b92655de416c50aa6c3b17ea4a73fd5", "score": "0.5331961", "text": "private static int co_bonus(int c, int color, Board state) {\n\n int ligne = c%8;\n\n if(ligne < 1 || ligne > 6) return 0;\n int v = 0;\n // blanc\n if(color == 1) {\n int bonus[] = {330, 175, 100, 65, 18, 24, 13, 0};\n v = bonus[ligne];\n v += ( phalanx(c,color,state) ? (bonus[ligne-1] - bonus[ligne])>>1 : 0);\n v >>= opposed(c, color, state);\n v += 17*supported(c,color,state);\n }\n // noir\n else {\n int bonus[] = {0, 13, 24, 18, 65, 100, 175, 330};\n v = bonus[ligne];\n v += ( phalanx(c,color,state) ? (bonus[ligne+1] - bonus[ligne])>>1 : 0);\n v >>= opposed(c, color, state);\n v += 17*supported(c,color,state);\n }\n\n return v;\n }", "title": "" }, { "docid": "573d7aec5f58350da44c983a9e912955", "score": "0.53241724", "text": "private int gcb(int d, int n) {\n\t\t\n\t\tif (n==0) \n\t\t\treturn d;\n\t\telse \n\t\t\treturn gcb(n, d%n);\n\t\t\n\t}", "title": "" }, { "docid": "2ed844fcc9046ff46033a6f721f9a3b8", "score": "0.53182125", "text": "public static String countAndSay(int n) {\n if (n <= 0) {\n return \"\";\n }\n\n StringBuilder result = new StringBuilder();\n int count = 1;\n int previous = n % 10;\n int current = 0;\n n = n / 10;\n\n while (n != 0) {\n current = n % 10;\n if (current == previous) {\n count++;\n } else {\n result = new StringBuilder().append(count).append(previous).append(result);\n count = 1;\n }\n previous = current;\n n = n / 10;\n }\n\n result = new StringBuilder().append(count).append(previous).append(result);\n return result.toString();\n }", "title": "" }, { "docid": "b053175a75340a7dc285363198cb49e3", "score": "0.5312934", "text": "public static void main (String[] args)\n {\n Scanner in = new Scanner(System.in);\n int n=in.nextInt();\n for(int c=1;c<=2*n;c=c+1)\n {\n if(c%2!=0)\n {\n System.out.println(c);\n }\n c=c+1;\n }\n \n \n\t}", "title": "" }, { "docid": "06e899ad1b5419197a7852c0e41f6887", "score": "0.5310243", "text": "static long repeatedString(String s, long n) {\n\n int count = 0;\n char array[] = s.toCharArray();\n\n for(int i=0;i<s.length();i++){\n if(array[i]=='a')\n count++;\n }\n\n long num = n/s.length();\n\n long prefinal = num*count;\n\n long rem = n%s.length();\n\n int count2 = 0;\n for(int j=0;j<rem;j++){\n if(array[j]=='a')\n count2++;\n }\n\n return prefinal+count2;\n\n\n }", "title": "" }, { "docid": "23856113cfb5f8148e1f9a0280adf714", "score": "0.53089565", "text": "public void countConsonants() {\n\t\tthis.state= new ConsonantCounterState();\n\t}", "title": "" }, { "docid": "b6d0e5563b7d3cfb37294fbbe931a938", "score": "0.53055096", "text": "@Test public void carbon_7_memberRing_exoCyclic_N() throws Exception {\n test(\"N=C1C=CC=CC=C1\", \"N=c1cccccc1\");\n }", "title": "" }, { "docid": "01008db0a23fdffb8dce6568ef041062", "score": "0.53015757", "text": "public int pracSeq2(int n) {\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\t\tif (n == 1) {\n\t\t\treturn 2;\n\t\t}\n\t\tif (n == 2) {\n\t\t\treturn 3;\n\t\t}\n\t\treturn pracSeq2(n - 1) + pracSeq2(n - 2) + pracSeq2(n - 3);\n\n\t}", "title": "" }, { "docid": "cdc8223ed5fc1a44cf12f63e4382a130", "score": "0.5300148", "text": "static int getPentagonalNumber(int n){\n // Created a method named getPentagonalNumber having int as its return type.\n return n * (3 * n - 1) /2;\n // returned the formula to obtain the Pentagonal Numbers.\n }", "title": "" }, { "docid": "5afa14710990e2976ae0eaaf041b9fea", "score": "0.5295554", "text": "C0760nd mo2626c();", "title": "" }, { "docid": "06f95fe9d7671bca602945802be2d408", "score": "0.5295496", "text": "public void setRaggio(double n){\n\t\tr=n;\n\t}", "title": "" }, { "docid": "d236c0befee4e7ca65d871460c164215", "score": "0.528475", "text": "@Override\r\n\tpublic String NumCompte(String nom, String prenom, int id) {\n\t\tString lib1=nom.subSequence(0,3).toString();\r\n\t\tString lib2=prenom.subSequence(0,3).toString();\r\n\t\t\r\n\t\tString s1=\"CCP\";\r\n\t\tString s2=\"00000-\".concat(\"\"+id).concat(lib1).concat(lib2).concat(\"\"+nombreAleatoire);\r\n\t\tString s3=s1+s2;\r\n\t\treturn s3;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "051fbb5fc2cbc26e88feff2d4500d6de", "score": "0.52743715", "text": "private static String nplural(int n, String noun) {\n return UtilMDE.nplural(n, noun);\n }", "title": "" }, { "docid": "9d5f9a76af0f1711e63ea25d49057557", "score": "0.5265741", "text": "public static int _encrypt(int n, int pt){\r\n\t\tif(GCD(n,pt) == 1){\r\n\t\t\treturn mod((pt*pt), n);\r\n\t\t}\r\n\t\treturn -1;\r\n\t}", "title": "" }, { "docid": "414ebcb3461b31ef0f57b86eaf5a99b5", "score": "0.52652615", "text": "static void printLatin(int n)\n\t{\n\t\t// A variable to control the rotation\n\t\t// point.\n\t\tint k = n+1;\n\n\t\t// Loop to print rows\n\t\tfor (int i=1; i<=n; i++)\n\t\t{\n\t\t\t// This loops runs only after first\n\t\t\t// iteration of outer loop. It prints\n\t\t\t// numbers from n to k\n\t\t\tint temp = k;\n\t\t\twhile (temp <= n)\n\t\t\t{\n\t\t\t\tSystem.out.print(temp+\" \");\n\t\t\t\ttemp++;\n\t\t\t}\n\n\t\t\t// This loop prints numbers from 1 to k-1.\n\t\t\tfor (int j=1; j<k; j++)\n\t\t\t\tSystem.out.print(j+\" \");\n\n\t\t\tk--;\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "title": "" }, { "docid": "b0034dde3b3e89962910b921cea6e016", "score": "0.5261663", "text": "public static void getN() {\n\t\tint nn = 0;\n\t\tint len = digits.length;\n\t\tfor (int i = 1; i < len; ++i) {\n\t\t\tif(digits[i] != -1)\n\t\t\t\t++nn;\n\t\t}\n\t\tn = nn;\n// System.out.println(\"Length: \"+ n);\n\t}", "title": "" }, { "docid": "39112b290fbd486a0174b391cb3d500a", "score": "0.52614415", "text": "public static void printNoseCone() {\r\n for (int line = 1; line <= (ROCKET_SIZE * 2 - 1); line++) {\r\n System.out.print(\" \");\r\n for (int i = 1; i <= (ROCKET_SIZE * 2 - 1) - line; i++) {\r\n System.out.print(\" \");\r\n }\r\n\r\n for (int i = 1; i <= line; i++) {\r\n System.out.print(\"/\");\r\n }\r\n System.out.print(\"**\");\r\n for (int i = 1; i <= line; i++) {\r\n System.out.print(\"\\\\\");\r\n }\r\n\r\n System.out.println(\" \");\r\n }\r\n\r\n }", "title": "" }, { "docid": "5d121d30a245a93e53dd595ca2d6135a", "score": "0.52574027", "text": "double caracteristiqueUsine(double nbre, double longueurQuai, double diametre);", "title": "" }, { "docid": "06a4e13f220d75f47a15caa1fa5b23ba", "score": "0.5245977", "text": "java.lang.String getN();", "title": "" }, { "docid": "416032bf7f634568baaf4c024d96f1c0", "score": "0.52454805", "text": "public BroodByCoupleFixNumber(int n)\r\n {\r\n this.n = n;\r\n }", "title": "" }, { "docid": "7077f2bc0acbf17c2d0f6c6ab82990ef", "score": "0.5243701", "text": "private char gRC(String in) {\n return in.charAt(new Random().nextInt(in.length()));\n }", "title": "" }, { "docid": "ca8cb40cbfd5fe831963bbcf661cfdcf", "score": "0.52430105", "text": "static void nCr (int N) {\n\t\tnCr = new int[N + 1][N + 1]; \n\t\tnCr[0][0] = 1; \n\t\tfor (int i = 1; i < nCr.length; i++) {\n\t\t\tnCr[i][0] = nCr[i][i] = 1;\n\t\t\tfor (int j = 1; j < nCr.length; j++) {\n\t\t\t\tif(i > 0)\n\t\t\t\tnCr[i][j] = nCr[i - 1][j - 1] + nCr[i - 1][j]; \n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "75e413d77dd890ca46a696aa7b324573", "score": "0.52418494", "text": "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString n = sc.nextLine();\n\t\tint cycle=0;\n\t\tString newn=\"0\";\n\t\tint a,b;\n\t\tint sum=0;\n\t\tint num = Integer.parseInt(n); //String을 int로 형변환\n\t\twhile(!newn.equals(n)) {\n\t\t\t++cycle;\n\t\t\tSystem.out.println(num);\n\t\t\tif(num<10) {\n\t\t\t\ta='0';\n\t\t\t\tb='n';\n\t\t\t\t System.out.printf(\"일\"+a+\" \");\n\t\t\t\t System.out.println(b);\n\t\t\t}else {\n\t\t\t a=n.charAt(0);\n\t\t\t b=n.charAt(1);\n\t\t\t System.out.printf(a+\" \");\n\t\t\t System.out.println(b);\n\t\t\t}\n\t\t\t sum=a+b;\n\t\t\t newn = String.valueOf(sum);\n\t\t\t System.out.println(\"new: \"+newn);\n\t\t}\n\t\t/*System.out.println(cycle);*/\n\t}", "title": "" }, { "docid": "12f057070919d7b288f377ea6861c970", "score": "0.52389574", "text": "public static int hnt(int n,char x, char y,char z) {\n\t\tif(1==n){\n\t\t\t//z=x;\n\t\t\tmove(x,z);\n\t\t\ti++;\n\t\t\tlog.info(i);\n\t\t}else if(1<n){\n\t\t\thnt(n-1,x,z,y);\n\t\t\tmove(x,z);\n\t\t\ti++;\n\t\t\tlog.info(i);\n\t\t\thnt(n-1,y,x,z);\n\t\t\tlog.info(i);\n\t\t\t\t\t\n\t\t}\n\t\treturn i;\n\n\t}", "title": "" }, { "docid": "e5e050a5377588cfc3d329b1a78a9a61", "score": "0.52374613", "text": "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int ans[] = new int[n];\n ans[0] = ans[1] = 1;\n for (int i = 2; i < n; i++) {\n ans[i] = (ans[i - 1] + ans[i - 2]) % 10007;\n }\n System.out.println(ans[n - 1]);\n\t}", "title": "" }, { "docid": "e3350fabf3afeb9d2cd5e68ddb7f5211", "score": "0.5234403", "text": "public static void main(String[] args) {\n\t\tfor(int a = 0;a<=30;a++) {\n\t\t\tfor(int b = 0;b<=30;b++) {\n\t\t\t\tfor(int c = 0;c<=30;c++) {\n\t\t\t\t\tif(c+2*b+3*a==50&&a+b+c==30) {\n\t\t\t\t\t\tSystem.out.println(\"男人:\"+a+\"女人:\"+b+\"小孩:\"+c);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "24d392191d93cab212af3070eaf2d4ce", "score": "0.5234116", "text": "static int specialPuthagoreanTriplet(int n){\n int[] ans = new int[3];\n for (int a = 1; a < 1000; a++) {\n for (int b = a+1; b <1000-1 ; b++) {\n int c = 1000 - a - b;\n if (Math.pow(c,2) == (Math.pow(b,2) + Math.pow(a,2))){\n ans[0] = a;\n ans[1] = b;\n ans[2] = c;\n break;\n }\n }\n }\n return ans[0] * ans[1] * ans[2];\n }", "title": "" }, { "docid": "5a2500f2dbab917673b4fb73f00a874b", "score": "0.5233558", "text": "public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n // int n1= n/100;\n // int n3=n1/100; \n // int n2=n%10;\n //int sum=n3+n2;\n //System.out.println(sum);\n if(n==76543)\n System.out.println(\"10\");\n else if(n==9540)\n System.out.println(\"9\");\n \n\t\n\t}", "title": "" }, { "docid": "d81b517175d18c81cea8b32ecd4470f9", "score": "0.52328926", "text": "public boolean colocar_numero_casilla(int x, int y, int n) {\n\t\tif(!map.suitable_pos(x, y) || n > map.get_final_num()) return false;\n\t\tmap.setValorTauler(x,y,n);\n\t\tif (n == 1) map.setStart(x,y);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e1003b5632bc8bfafe40bd54ffee54d1", "score": "0.52194154", "text": "int main()\n{\n int a,b,c,n,i;\n cin>>n;\n a=0;\n b=1;\n for (i=1;i<=n-2;i++)\n {\n c=a+b;\n a=b;\n b=c;\n }\n cout<<c;\n}", "title": "" }, { "docid": "4d08e938a1927dc36dc8032abdd1c261", "score": "0.52175736", "text": "Vaso(int cc){\n\t\tthis.cc = cc;\n\t}", "title": "" }, { "docid": "33baaab99f76390d9d5cd5d11644a1f1", "score": "0.52155775", "text": "public String obtenerIDCuenta(){\n Random rand = new Random();\n String id = \"\";\n boolean unico;\n int n = 12;\n \n //Generar un IDCuenta que no se repita\n do{\n for (int i=0; i<n; i++ ){\n id += ((Integer)rand.nextInt(10)).toString();\n }\n \n unico = false;\n for(Cuenta cuent:this.cuentas){\n if(id.compareTo(cuent.getIdCuenta()) == 0){\n unico =true;\n break;\n }\n }\n \n }while(unico);\n \n return id;\n }", "title": "" }, { "docid": "7275583e156c8d18ef6db574acb91b2e", "score": "0.52155006", "text": "public static void pozitieMultipla5(String text){\n int pozitieCautata=0;\n do {\n pozitieCautata += 5;\n\n\n if (pozitieCautata % 10 != 0) {\n System.out.println(\"Caracterele cautate sunt: \" + text.charAt(pozitieCautata));\n }\n }\n while (pozitieCautata<text.length());\n\n }", "title": "" }, { "docid": "758f78f3341c2a4255279025598c5549", "score": "0.5206885", "text": "private int setRhythm(int c, int inTwoVoices) {\n int len;\n switch (c % (12 / inTwoVoices)) {\n case 0:\n case 1:\n len = HALF;\n break;\n case 2:\n len = QUARTER + QUAVER;\n break;\n case 3:\n case 4:\n len = QUARTER;\n break;\n case 5:\n case 6:\n case 7:\n len = QUAVER;\n break;\n case 8:\n len = QUAVER + SEMIQUAVER;\n break;\n case 9:\n case 10:\n case 11:\n len = SEMIQUAVER;\n break;\n default:\n len = QUARTER;\n }\n return len;\n }", "title": "" }, { "docid": "70c6d25ce5020de6d1df95375153a339", "score": "0.52055377", "text": "public String solve ( int n ) {\n\n long ans = 0;\n StringBuilder sb = new StringBuilder();\n for ( long i = 1; i <= n; i++ ) {\n ans = ( ( i * i ) * ( i * i - 1 ) ) / 2 - 4 * ( i - 1 ) * ( i - 2 );\n sb.append(ans);\n sb.append(\"\\n\");\n }\n return sb.toString();\n }", "title": "" }, { "docid": "0f5832b4b15ae0fdaf4359ddece0c527", "score": "0.520391", "text": "public static void main(String[] args) {\n\t\t\n\t\t for(int i=100;i<=500;i++) {\n\t\t\t if(isNarcissisticNumber(i)) {\n\t\t\t\t System.out.println(i+\"为水仙花数!\"); \n\t\t\t } \n\t\t }\n\t\t \n\t}", "title": "" }, { "docid": "05923bb50b9d6a2b866c1528258290b3", "score": "0.5196561", "text": "public static double inversoN(int x)\r\n {\r\n //definir dados\r\n double y = 0.0; //cont\r\n double n = 0.0; //natural\r\n double resultado = 0.0;\r\n\r\n //repetir enquanto valor maior que zero\r\n while (y != x)\r\n {\r\n n = n + 1;\r\n\r\n if ((n) > 0)\r\n {\r\n resultado = resultado + n;\r\n y = y + 1;\r\n IO.println( \"Numero natural = \" + n );\r\n } //end se\r\n } //end repeticao\r\n //retornar resultado\r\n return (resultado);\r\n }", "title": "" }, { "docid": "d50dbe1156cd0cf9874c86ddf8eda705", "score": "0.5193811", "text": "static long getWays(int n, int[] c) {\n long[][] solutionMatrix = new long[c.length + 1][n + 1];\n\n for (int i = 0; i < solutionMatrix.length; i++) {\n solutionMatrix[i][0] = 1;\n }\n for (int i = 1; i < solutionMatrix[0].length; i++) {\n solutionMatrix[0][i] = 0;\n }\n for (int coin = 1; coin < solutionMatrix.length; coin++) {\n for (int change = 1; change < solutionMatrix[0].length; change++) {\n solutionMatrix[coin][change] = solutionMatrix[coin - 1][change];\n if (change >= c[coin - 1]) {\n solutionMatrix[coin][change] += solutionMatrix[coin][change - c[coin - 1]];\n }\n }\n }\n return solutionMatrix[solutionMatrix.length - 1][solutionMatrix[0].length - 1];\n }", "title": "" }, { "docid": "60bafe8f2f65933b17f09357b944413f", "score": "0.51894605", "text": "public double PorResCorrBloNum(double rcn, double rn) {\n this.Pn = ((rcn) * (100)) / rn;\n return this.Pn;\n }", "title": "" }, { "docid": "d97da16f64ba066aa6d608c3bdda30cb", "score": "0.51890105", "text": "@Override\n\tpublic float getCouta() {\n\t\treturn 2 * super.getPotencia() - ((antirrobo)?30:0);\n\t}", "title": "" }, { "docid": "ccba2c232e1de706934880b90855c70e", "score": "0.51876134", "text": "public int getCPL() {\n return 3000;\n }", "title": "" }, { "docid": "0bb7df344b47efb3d5ea6c89d96ea981", "score": "0.5183452", "text": "@Override\n public double corri() {\n double vel = runSpeed/3.6; //semplificata\n if (r.nextInt(100)<40)\n return 0;\n else\n return vel;\n }", "title": "" }, { "docid": "96c8e036b7aef8ff0d29f3502e1301db", "score": "0.5174899", "text": "@Override\r\n\tpublic int cevreHesapla() {\n\t\treturn kenarUzunlugu * 4;\r\n\t}", "title": "" }, { "docid": "b362375213b9597e4dd689aa855a6cbf", "score": "0.5171953", "text": "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tSystem.out.println(\"enter num\");\r\n\t\tint n=sc.nextInt();\r\n\t\tint cpy=n,d=0,sum=0;\r\n\t\tString s=Integer.toString(n);\r\n\t\tint l=s.length();\r\n\t\twhile(cpy>0)\r\n\t\t{\r\n\t\t\td=cpy%10;\r\n\t\t\tsum=sum+(int)Math.pow(d, l);\r\n\t\t\tl--;\r\n\t\t\tcpy=cpy/10;\r\n\t\t\t\r\n\t\t}\r\n\t\tif(sum==n)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"gavl\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"no\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "129443eecad0b6606720082e93fddd3a", "score": "0.51708704", "text": "public static int noOfWaysToClimbM4(int n) {\r\n\t\tint first = 1, second = 1, sum = 0;\r\n\r\n\t\tif (n < 2)\r\n\t\t\treturn n;\r\n\r\n\t\tfor (int i = 2; i <= n; i++) {\r\n\t\t\tsum = first + second;\r\n\t\t\tfirst = second;\r\n\t\t\tsecond = sum;\r\n\t\t}\r\n\t\treturn sum;\r\n\r\n\t}", "title": "" }, { "docid": "af5780a59022dfa5347a3482b488dc14", "score": "0.51702774", "text": "private int getCordLength(){\n\t return cordLength;\n }", "title": "" }, { "docid": "547150dea53567e19f05247a12db8ede", "score": "0.5167577", "text": "public static void main(String[] args) {\n int n,k=0,t;\r\n Scanner sc=new Scanner(System.in);\r\n n=sc.nextInt();\r\n for( int i=1;i<=n;i++){\r\n k=k*10;\r\n t=k+n%10;\r\n \r\n n=n/10;\r\n \r\n \r\n System.out.println(t);\r\n }\r\n}", "title": "" }, { "docid": "7a424de1ecb49bd291f5ed532d7f26a6", "score": "0.51672065", "text": "private void generar_buits_alea(int n) {\n\t\tint[] pos;\n\t\tint i = 0;\n\t\tint mida = map.getMida();\n\t\twhile (i < n) {\n\t\t\tpos = getRandom(mida);\n\t\t\twhile(bona_pos_buits(pos[0], pos[1]) == false) {\n\t\t\t\tpos = getRandom(mida);\n\t\t\t}\n\t\t\tmap.setValorTauler(pos[0], pos[1], 0);\n\t\t\t++i;\n\t\t}\n\t}", "title": "" }, { "docid": "c01631db2e5356da7a71603f0edd29d4", "score": "0.51645195", "text": "@Test public void nitrogen_anion_6_memberRing_exoCyclic_N() throws Exception {\n test(\"[N]=1(=N)C=CC=CC1\", \"[N]=1(=N)C=CC=CC1\");\n }", "title": "" }, { "docid": "27be874a4e292855666c3dcc6b407e79", "score": "0.51567763", "text": "public static void main (String []args)\r\n {\n long hi = System.currentTimeMillis(); \r\n int n=100000;\r\n \r\n String Cadena=\"\";\r\n char CaraI;\r\n for (int i = 0; i < n; i++) \r\n {\r\n CaraI= (char)('A'+i%('Z'-'A'+1));\r\n //CONCATENAMOS USANDO +\r\n Cadena=Cadena+CaraI;\r\n \r\n }\r\n long hf = System.currentTimeMillis(); \r\n System.out.println(Cadena);\r\n System.out.println((hf-hi)+\" milisegundos\"); \r\n }", "title": "" } ]
4a10be56da56267ce34762d7295f624a
Transforms a cartesian coordinate to polar coordinate.
[ { "docid": "406812f00f437ead96eb3667d51c9ee2", "score": "0.6237741", "text": "public static PolarCoordinate fromCartesianCoordinate(\n\t\t\tfinal Cartesian2dCoordinate cartesianCoordinate) {\n\t\treturn new PolarCoordinate(Math.sqrt(cartesianCoordinate.getX()\n\t\t\t\t* cartesianCoordinate.getX() + cartesianCoordinate.getY()\n\t\t\t\t* cartesianCoordinate.getY()), Math.atan2(\n\t\t\t\tcartesianCoordinate.getY(), cartesianCoordinate.getX()));\n\t}", "title": "" } ]
[ { "docid": "a304a5d0332fb7d78b460d4f838356f0", "score": "0.69397175", "text": "public abstract PolarDirection toPolarDirection(Direction direction);", "title": "" }, { "docid": "e303b83c60a5d64e0d80af368c06b40f", "score": "0.65600455", "text": "PolarCartesianInterpolationType getPolarCartesianInterpolation();", "title": "" }, { "docid": "238757f2795a5af5bc340489c6930e36", "score": "0.65453464", "text": "private Point2D getPolarPoint(final double x) {\n\t\tfinal double radius = courbe.getY(x);\n\t\tfinal double angle = Math.toRadians(x);\n\t\tfinal double x1 = radius * Math.cos(angle);\n\t\tfinal double y1 = -radius * Math.sin(angle);\n\t\treturn new Point2D(x1*40, y1*40);\n\t}", "title": "" }, { "docid": "47ba21372890625cbbb1b0c33b5b7cb3", "score": "0.6525039", "text": "public static Cartesian2dCoordinate toCartesianCoordinate(\n\t\t\tfinal PolarCoordinate polarCoordinate) {\n\t\treturn new Cartesian2dCoordinate(polarCoordinate.getR()\n\t\t\t\t* Math.cos(Math.toRadians(polarCoordinate.getTheta())),\n\t\t\t\tpolarCoordinate.getR()\n\t\t\t\t\t\t* Math.sin(Math.toRadians(polarCoordinate.getTheta())));\n\t}", "title": "" }, { "docid": "e13f8f4577d3be8f213791b69f7a4111", "score": "0.6442419", "text": "public static PolarCoordinate complexToPolar(Complex x) {\n double re = x.getReal();\n double im = x.getImaginary();\n double theta;\n\n if (im == 0.0) { // XXX threshold?\n if (re >= 0) {\n theta = 0.0;\n } else {\n theta = Math.PI;\n }\n } else {\n theta = Math.atan2(im, re); // to pm PI\n }\n\n return new PolarCoordinate(x.abs(), theta);\n }", "title": "" }, { "docid": "781fd4b77ff63bbec4d8c2729ada9d2c", "score": "0.6336108", "text": "public static Point2D polar(Point2D p){\n double radius = Math.sqrt(p.getX()*p.getX() + p.getY()*p.getY());\n\n if(p.getX()<0){\n return new Point2D.Double(Math.atan(p.getY()/p.getX())+Math.PI, radius);\n }\n else if(p.getX()>0){\n if(p.getY()>=0)\n return new Point2D.Double(Math.atan(p.getY()/p.getX()), radius);\n else\n return new Point2D.Double(Math.atan(p.getY()/p.getX())+2*Math.PI, radius);\n }\n else{ // p.getX()==0\n if(p.getY()>0)\n return new Point2D.Double(Math.PI/2,radius);\n else if(p.getY()<0)\n return new Point2D.Double(3*Math.PI/2,radius);\n else // p.getY()==0\n return new Point2D.Double(0,0);\n }\n }", "title": "" }, { "docid": "ce18200082bca96f137cae9c89448a25", "score": "0.63178486", "text": "public static Vector2 polar(double r, double t) {\n return new Vector2(Math.cos(t), Math.sin(t)).mul(r);\n }", "title": "" }, { "docid": "21f476dc0954a6b1ac6f76646ac72f65", "score": "0.61013716", "text": "private void drawCircleUsingPolarToCartesian(Graphics g) {\r\n\r\n\t\tGraphics2D g2d = (Graphics2D) g;\r\n\t\tg2d.setStroke(new BasicStroke(3));\r\n\t\tg2d.setColor(Color.red);\r\n\r\n\t\tint r = 150;\r\n\r\n\t\tint x1 = 200;\r\n\t\tint y1 = 200;\r\n\r\n\t\tfor (int i = 1; i < 360; i++) {\r\n\r\n\t\t\tint x, y;\r\n\t\t\ty = ((int) (r * Math.sin(Math.toRadians(i)))) + y1;\r\n\t\t\tx = ((int) (r * Math.cos(Math.toRadians(i)))) + x1;\r\n\r\n\t\t\tSystem.out.println(\"(\" + x + \",\" + y + \")\" + \" :\" + Math.toRadians(i));\r\n\t\t\tg2d.drawLine(x, y, x, y);\r\n\t\t}\r\n\r\n\t\tr = 280;\r\n\t\tint x,y;\r\n\t\tx = y = 200;\r\n\t\tx = x - (r / 2);\r\n\t\ty = y - (r / 2);\r\n\t\tg.fillOval(x, y, r, r);\r\n\t}", "title": "" }, { "docid": "b2913ecaa7c68d457ea7a6e4f2562913", "score": "0.6041793", "text": "public static Point2D makeFromPolar(double r, double phi){\r\n\t\treturn new Point2D(r * Math.cos(phi), r * Math.sin(phi));\r\n\t}", "title": "" }, { "docid": "07eb6e67b081ff3297a4982695a98b12", "score": "0.5957783", "text": "public static Complex polarValueOf(Number r, Number theta)\n {\n final double rad = r.doubleValue();\n final double ang = theta.doubleValue();\n return new Complex(rad * Math.cos(ang), rad * Math.sin(ang));\n\n }", "title": "" }, { "docid": "6a4010a74f5a8b529851030bd0239db5", "score": "0.59487456", "text": "private double[] cartesianToPolar(double y1, double x1, double x2) {\n double[] retValues = new double []{0.0,0.0,0.0};\n double speed = 0.0, angle=0.0, dchange=0.0;\n\n //Create a deadzone for the main drive sticks\n gamepad1.setJoystickDeadzone((float) 0.05);\n\n //Change joypad values into useful polar values\n speed = Math.sqrt((y1 * y1) + (x1 * x1));\n angle = Math.atan2(x1, -y1);\n dchange = -x2 / 3.33;\n\n //Rewrite the last heading after the last hardware cycle\n if (aIMU) {\n angles = robot.IMU.getAngularOrientation().toAxesReference(AxesReference.INTRINSIC).toAxesOrder(AxesOrder.ZXY).toAngleUnit(angles.angleUnit);\n lastHeading = Double.parseDouble(formatAngle(angles.angleUnit, angles.firstAngle));\n\n // check the status of the guide button on gamepad.\n gCurrState = gamepad1.guide;\n\n // check for button-press state transitions.\n if ((gCurrState) && (gCurrState != gPrevState)) {\n // button is transitioning to a pressed state.\n dChangeSwitch = 1;\n gPrevState = true;\n } else if ((!gCurrState) && (gCurrState != gPrevState)){\n dChangeSwitch = 0;\n gPrevState = false;\n }\n\n //Spin the robot back to forward if the switch is off\n if ((dChangeSwitch == 0) && (dchange == 0.0)) {\n if (lastHeading > startHeading) {\n dchange = -1.0 / 3.33;\n } else if (lastHeading < startHeading) {\n dchange = 1.0 / 3.33;\n } else if (lastHeading == startHeading) {\n dchange = 0.0;\n }\n }\n }\n\n //Joypad input Telemetry\n if (joyPosTele) {\n telemetry.addData(\"X1: \",x1);\n telemetry.addData(\"Y1: \",y1);\n telemetry.addData(\"X2: \",x2);\n }\n\n //Polar values Telemetry\n if (joyPolarCoordTele) {\n telemetry.addData(\"Speed: \", speed);\n telemetry.addData(\"Angle: \", angle);\n telemetry.addData(\"Rotational Change: \", dchange);\n }\n\n //Add polar values to retValues array\n retValues[0] = speed;\n retValues[1] = angle;\n retValues[2] = dchange;\n return retValues;\n }", "title": "" }, { "docid": "5ac7475ae0dbee584ddee3fe78c03d90", "score": "0.5813341", "text": "private PVector polarToDescartes(float r,float angle,PVector center) {\n PVector res = new PVector();\n res.x = r*cos(angle) + center.x;\n res.y = r*sin(angle) + center.y;\n res.z = center.z;\n return res;\n }", "title": "" }, { "docid": "0c69dc67ec6bee79ac0cbfc10dd996a6", "score": "0.57640916", "text": "public static double PolarAngle (int X, int Y) {\r\n\t\tSystem.out.println(\"Angle: \"+Math.toDegrees(Math.atan2(Y, X)));\r\n\t\treturn Math.toDegrees(Math.atan2(Y, X));\r\n\t}", "title": "" }, { "docid": "c58163360a22489af48d4c61bbfb06ea", "score": "0.5759323", "text": "public double toCartesianY() {\n\t\treturn radius * Math.sin(angle);\n\t}", "title": "" }, { "docid": "744283e361febdc91714fbb44562ec78", "score": "0.569272", "text": "public double toCartesianX() {\n\t\treturn radius * Math.cos(angle);\n\t}", "title": "" }, { "docid": "8eaffbe0608e98ac66802bbce3408ccb", "score": "0.56560826", "text": "private void drivePolar(XBoxController controller, Robot robot)\n\t{\n\t\t// Parameters are Magnitude, Direction, Rotation\n\t\t// Arguments are the magnitude of the joysticks, the direction of the joysticks, and the value given by the right-stick x-value\n\t\t\n\t\t\n\t\tthis.driveRawPolar(Util.lowerSensitivity(controller.getMagnitude(),robot),\n\t\t\t\t\t\t\tcontroller.getDirectionDegrees(),\n\t\t\t\t\t\t\tUtil.lowerSensitivity(controller.getAxisRStickX(),robot),\n\t\t\t\t\t\t\trobot);\n\t\t\t\t\t\t\t\n\t\t/*\n\t\tif(this.autoStabilize)\n\t\t{\n\t\t\t//will determine rotation value in order to minimize strafe error.\n\t\t\tdestGyroVal += controller.getAxisRStickX() * Constants.RS_GYRO_FACTOR_1;\n\t\t\tgyroDiff = robot.navx.getYaw() - destGyroVal;\n\t\t\trotAmount = Math.min(1, Math.pow(gyroDiff, 3) * Constants.RS_GYRO_FACTOR_2);\n\t\t\t\n\t\t\trobotDrive.mecanumDrive_Polar(Util.lowerSensitivity(controller.getMagnitude(),robot),\n\t\t\t\t\t\t\t\t\t\tcontroller.getDirectionDegrees(),\n\t\t\t\t\t\t\t\t\t\trotAmount*robot.speedFactor);\n\t\t\t\n\t\t\tSmartDashboard.putNumber(\"rotAmount\", rotAmount);\n\t\t}\n\t\telse\n\t\t{\n\t\t\trobotDrive.mecanumDrive_Polar(Util.lowerSensitivity(controller.getMagnitude(), robot), \n\t\t\t\t\t \t\t\tcontroller.getDirectionDegrees(), \n\t\t\t\t\t \t\t\tUtil.lowerSensitivity(controller.getAxisRStickX(), robot));\n\t\t}\n\t\t*/\n\t}", "title": "" }, { "docid": "75ea8597d142771120f9afd6798e5694", "score": "0.5637931", "text": "public Vector2D rotate(double theta)\n\t{\n\t\treturn fromPolar(norm(), (getOrientation() + theta)%(2 * PI));\n\t}", "title": "" }, { "docid": "9f62342027ef9bcf1246025237a4a790", "score": "0.5637801", "text": "public static double CartesianY (double r, double a) {\r\n\t\treturn r * Math.sin(Math.toRadians(a))/*+1*/;\r\n\t}", "title": "" }, { "docid": "e4940b2ac784b34136b9f43ee5ad7819", "score": "0.5613515", "text": "public abstract void localRotate(double radians, int orx, int ory);", "title": "" }, { "docid": "881b3255a2ed25aec1e08d3bbcafa171", "score": "0.55441153", "text": "public static double degreesToRad (double coordinate) {\n double coordinateInRad = Math.toRadians(coordinate);\n\n return coordinateInRad;\n }", "title": "" }, { "docid": "c371e9b8bef6cf4b734faa8771c08d7b", "score": "0.55171996", "text": "public static double CartesianX (double r, double a) {\r\n\t\treturn r * Math.cos(Math.toRadians(a))+1;\r\n\t}", "title": "" }, { "docid": "803959714daf59978b51dfe29ad9e40d", "score": "0.550709", "text": "private void drawCircleWithPentagonUsingPolarToCartesian(Graphics g) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tGraphics2D g2d = (Graphics2D) g;\r\n\t\tg2d.setStroke(new BasicStroke(1.5f));\r\n\t\tg2d.setColor(Color.red);\r\n\r\n\t\tint theta = 0;\r\n\t\tint r = 160;\r\n\r\n\t\tint x1 = 200;\r\n\t\tint y1 = 200;\r\n\t\t\r\n\t\tint xForStart = 0,xForMid = 0,yForStart = 0,yForMid = 0;\r\n\r\n\t\tfor (int i = 1; i <= 360; i++) {\r\n\r\n\t\t\tint x, y;\r\n\t\t\ty = ((int) (r * Math.sin(Math.toRadians(i)))) + y1;\r\n\t\t\tx = ((int) (r * Math.cos(Math.toRadians(i)))) + x1;\r\n\r\n\t\t\t\r\n\t\t\tif(i == 1){\r\n\t\t\t\txForStart = x;\r\n\t\t\t\tyForStart = y;\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t\tg2d.drawLine(x, y, x, y);\r\n\t\t\t}else if( i == 360 ){\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\tg2d.drawLine(x, y, xForStart, yForStart);\r\n\t\t\t}else{\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tg2d.setColor(Color.BLUE);\r\n\t\t\r\n\t\tint pentAngel = 0;\r\n\t\tint pentConstant = (360/5);\r\n\t\tfor(int i = 0; i <= 5; i++){\r\n\t\t\tint x, y;\r\n\t\t\tpentAngel = (pentConstant*i);\r\n\t\t\ty = ((int) (r * Math.sin(Math.toRadians(pentAngel)))) + y1;\r\n\t\t\tx = ((int) (r * Math.cos(Math.toRadians(pentAngel)))) + x1;\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"(\" + x + \",\" + y + \")\" + \" :\" + Math.toRadians(pentAngel));\r\n\t\t\tif(i == 0){\r\n\t\t\t\txForStart = x;\r\n\t\t\t\tyForStart = y;\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t\tg2d.drawLine(x, y, x, y);\r\n\t\t\t}else if( i == 360 ){\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\tg2d.drawLine(x, y, xForStart, yForStart);\r\n\t\t\t}else{\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bf3a0a65d70672957ffbfa68ae467afa", "score": "0.5501481", "text": "public abstract CartesianDirection toCartesianDirection(Direction direction);", "title": "" }, { "docid": "0b1b46a7e5eff4c0bb128d8922ec9eb4", "score": "0.54608405", "text": "public static Vector2D fromPolar(double r, double theta)\n\t{\n\t\tdouble x = r * cos(theta);\n\t\tdouble y = r * sin(theta);\n\t\treturn new Vector2D(x,y);\n\t}", "title": "" }, { "docid": "413b5028535d6d8ee1026e0c0e8e2761", "score": "0.539849", "text": "public VectorPolar (double magnitude, double angle, AngleUnit unit){\n this.magnitude = magnitude;\n\n if(unit == AngleUnit.RADIANS) {\n this.angle = angle;\n } else {\n this.angle = Math.toRadians(angle);\n }\n }", "title": "" }, { "docid": "c492117b44f9219a5630a52c98386f08", "score": "0.5393322", "text": "public static Expression radians(Expression expression) {\n return x(\"RADIANS(\" + expression.toString() + \")\");\n }", "title": "" }, { "docid": "9715645d5d9ceaeb8e92d56522514536", "score": "0.5360833", "text": "public static Vector polarVector(float angle, float magnitude) {\n float x, y;\n x = magnitude * (float)Math.cos(angle);\n y = magnitude * (float)Math.sin(angle);\n return new Vector(x, y);\n }", "title": "" }, { "docid": "043b2113ff95d0b1e1688e119ca69ade", "score": "0.53548187", "text": "public PolarToCartesian(CompositeEntity container, String name)\n\t\t\tthrows NameDuplicationException, IllegalActionException {\n\t\tsuper(container, name);\n\n\t\tmagnitude = new TypedIOPort(this, \"magnitude\", true, false);\n\t\tmagnitude.setTypeEquals(BaseType.DOUBLE);\n\n\t\tangle = new TypedIOPort(this, \"angle\", true, false);\n\t\tangle.setTypeEquals(BaseType.DOUBLE);\n\n\t\tx = new TypedIOPort(this, \"x\", false, true);\n\t\tx.setTypeEquals(BaseType.DOUBLE);\n\n\t\ty = new TypedIOPort(this, \"y\", false, true);\n\t\ty.setTypeEquals(BaseType.DOUBLE);\n\n\t\t_attachText(\"_iconDescription\", \"<svg>\\n\"\n\t\t\t\t+ \"<polygon points=\\\"-15,-15 15,15 15,-15 -15,15\\\" \"\n\t\t\t\t+ \"style=\\\"fill:white\\\"/>\\n\" + \"</svg>\\n\");\n\t}", "title": "" }, { "docid": "60a68540be85fc80e3e7620aad62ce9d", "score": "0.5353427", "text": "private void drawCircleWithLinesUsingPolarToCartesian(Graphics g) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tGraphics2D g2d = (Graphics2D) g;\r\n\t\tg2d.setStroke(new BasicStroke(1.5f));\r\n\t\tg2d.setColor(Color.red);\r\n\r\n\t\tint r = 160;\r\n\r\n\t\tint x1 = 200;\r\n\t\tint y1 = 200;\r\n\t\t\r\n\t\tint xForStart = 0,xForMid = 0,yForStart = 0,yForMid = 0;\r\n\r\n\t\tfor (int i = 1; i <= 360; i++) {\r\n\r\n\t\t\tint x, y;\r\n\t\t\ty = ((int) (r * Math.sin(Math.toRadians(i)))) + y1;\r\n\t\t\tx = ((int) (r * Math.cos(Math.toRadians(i)))) + x1;\r\n\r\n\t\t\t\r\n\t\t\tif(i == 1){\r\n\t\t\t\txForStart = x;\r\n\t\t\t\tyForStart = y;\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t\tg2d.drawLine(x, y, x, y);\r\n\t\t\t}else if( i == 360 ){\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\tg2d.drawLine(x, y, xForStart, yForStart);\r\n\t\t\t}else{\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tg2d.setColor(Color.BLUE);\r\n\t\t\r\n\t\tint pentAngel = 0;\r\n\t\tint pentConstant = (360/5);\r\n\t\tfor(int i = 0; i <= 5; i++){\r\n\t\t\tint x, y;\r\n\t\t\tpentAngel = (pentConstant*i);\r\n\t\t\ty = ((int) (r * Math.sin(Math.toRadians(pentAngel)))) + y1;\r\n\t\t\tx = ((int) (r * Math.cos(Math.toRadians(pentAngel)))) + x1;\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"(\" + x + \",\" + y + \")\" + \" :\" + Math.toRadians(pentAngel));\r\n\t\t\tif(i == 0){\r\n\t\t\t\txForStart = x;\r\n\t\t\t\tyForStart = y;\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t\tg2d.drawLine(x, y, x, y);\r\n\t\t\t}else if( i == 360 ){\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\tg2d.drawLine(x, y, xForStart, yForStart);\r\n\t\t\t}else{\r\n\t\t\t\tg2d.drawLine(x, y, xForMid, yForMid);\r\n\t\t\t\txForMid = x;\r\n\t\t\t\tyForMid = y;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "21b7bb17d0725b4e9253ca2a14e2c2a8", "score": "0.53404874", "text": "public float toRad(float a) {return(a*PI/180);}", "title": "" }, { "docid": "66cb24e2df03649afb4dc760faab726b", "score": "0.532265", "text": "@Test\r\n public void testPolar() {\r\n System.out.println(\"polar\");\r\n assertEquals(expResult, StreamedConvexUtility.polar(from, to), GeometricComparator.EPSILON);\r\n }", "title": "" }, { "docid": "54c958f1f31baa6b7ccc1dee07ec32b9", "score": "0.53161615", "text": "public static double PolarR (int X, int Y) {\r\n\t\treturn Math.sqrt(X*X + Y*Y);\r\n\t}", "title": "" }, { "docid": "ea5b3805946bad7264d1574021762b55", "score": "0.5282416", "text": "public String getPolarDeviceId() {\n return polarDeviceId;\n }", "title": "" }, { "docid": "4abd303d184eddc8ef98c7656ff38fb1", "score": "0.5264474", "text": "public Coor convertToCoor ( ) {\r\n\t\tdouble ra = Math.atan2(getY(), getX()) / Astro.RAD;\r\n\t\tif (ra < 0.0)\r\n\t\t\tra += 360.0;\r\n\t\tdouble decl = Math.asin(getZ() / getRadius()) / Astro.RAD;\r\n\r\n\t\treturn new Coor(ra, decl);\r\n\t}", "title": "" }, { "docid": "5768974a9c3278a726e81152829002a9", "score": "0.5260685", "text": "public Pieza rotar()\n {\n \t// El cuadrado no gira\n if (forma_actual == Figuras.Cuadrado){\n return this;\n }\n \n Pieza PiezaRotada = new Pieza();\n PiezaRotada.forma_actual = forma_actual;\n \n // Realizamos el giro a la derecha\n for (int i = 0; i < num_coord_rel; ++i) {\n \tPiezaRotada.asignarX(i, -obtenerY(i));\n PiezaRotada.asignarY(i, obtenerX(i));\n }\n \n return PiezaRotada;\n }", "title": "" }, { "docid": "ac63dd9d829715f41578c3129ad00cc1", "score": "0.52498007", "text": "PolarCSType createPolarCSType();", "title": "" }, { "docid": "f8c4a3ccf10ad903fba23b54253c0bfb", "score": "0.52398574", "text": "public static double merc2lon(double x)\n {\n return x * 360 - 180;\n }", "title": "" }, { "docid": "cc4bd26ec5dce8b9913180bac559d014", "score": "0.523327", "text": "private Point createRotatedPoint(int originalX, int originalY, double radians, Point centerOfRotation)\n {\n // X component of the center of rotation\n double a = centerOfRotation.getX();\n\n // Y component of the center of rotation\n double b = centerOfRotation.getY();\n\n // Distance from given x,y to rotation-point. This will be radius used for rotation.\n double radius = Math.sqrt(\n ((originalX - a) * (originalX - a)) +\n ((originalY - b) * (originalY - b)));\n\n // Converts rectangular coordinates to polar coordinates\n double omega = Math.atan2(originalY - b, originalX - a);\n\n // Rotates the x coordinate\n double rotatedX = radius * (Math.cos(radians) * Math.cos(omega) - Math.sin(radians) * Math.sin(omega)) + a;\n\n // Rotates the y coordinate\n double rotatedY = radius * (Math.sin(radians) * Math.cos(omega)+ Math.cos(radians) * Math.sin(omega)) + b;\n\n // Returns the rotated point\n return new Point((int)rotatedX, (int)rotatedY);\n }", "title": "" }, { "docid": "63032fc13028dd05ac4c504dc05d429a", "score": "0.5157697", "text": "public static void squareToPolarDisc(Point2 seed, Point2 polarPt) {\n\t\tdouble x = 2 * seed.x - 1, y = 2 * seed.y - 1;\n\t\tdouble r, th;\n\t\tif (Math.abs(x) > Math.abs(y)) {\n\t\t\tr = x;\n\t\t\tth = Math.PI / 4 * y / x;\n\t\t} else if (y != 0) {\n\t\t\tr = y;\n\t\t\tth = -Math.PI / 4 * x / y + Math.PI / 2;\n\t\t} else {\n\t\t\tr = th = 0;\n\t\t}\n\t\tif (r < 0) {\n\t\t\tr = -r;\n\t\t\tth += Math.PI;\n\t\t}\n\t\tpolarPt.set(r, th);\n\t}", "title": "" }, { "docid": "76324bf3574929220927e2f27cb95415", "score": "0.514228", "text": "public static double degreesToRadians (double degrees) {\n return degrees * Math.PI / 180;\n }", "title": "" }, { "docid": "18f780f5afee69837523ed0d8a1c2ef4", "score": "0.5128697", "text": "public static double degreesToRadians(double degrees) {\n return (degrees / 180) * Math.PI;\n }", "title": "" }, { "docid": "c698969b5f88654a46c781917a00eb6f", "score": "0.5054336", "text": "public static Expression radians(Number value) {\n return radians(x(value));\n }", "title": "" }, { "docid": "b16327dbe85ba3482b15f7160c3c17c8", "score": "0.50469345", "text": "public void rotateTo(int faceX, int faceY) {\n\n //Calculate the polar co-ordinates of the destination\n int dX = faceX - (int) posX;\n int dY = (int) posY - faceY;\n //Math.atan2 converts Cartesian coordinates to Polar coordinates\n //tan@ = Y/X (Math.atan2 returns angle @)\n double destinationAngle = Math.atan((double) dY / dX);\n //Map desintationAngle to 0-360 degrees (http://stackoverflow.com/questions/1311049/how-to-map-atan2-to-degrees-0-360)\n //Right now it is in radians\n destinationAngle = Math.toDegrees(destinationAngle); //Convert to degrees\n //Correct discontinuities that occur in certain quadrants\n //2nd or 3rd quadrant\n if (deltaX < 0) {\n destinationAngle += 180;\n } //4th quadrant\n else if (deltaX >= 0 && deltaY < 0) {\n destinationAngle = 360 + destinationAngle;\n }\n //Calculate the required angle of rotation (from neutral image to destination angle)\n rotationAngle = Const.TURRET_BEARING - destinationAngle;\n //Make sure the most efficient path of rotation is being used\n if (Math.abs(rotationAngle) > 180) {\n if (rotationAngle < 0) {\n rotationAngle += 360;\n } //rotation angle > 0 (rotation angle cannot be 0 and be >180\n else {\n rotationAngle -= 360;\n }\n }\n //Update the bearing\n bearing = destinationAngle;\n }", "title": "" }, { "docid": "660d78c645d930a960ed01b9c6a7f940", "score": "0.50234026", "text": "void spinOnAxis(int degrees);", "title": "" }, { "docid": "27af0fdd60b3d6e5df56ee96dc8a1319", "score": "0.5013057", "text": "public static PointXY mercatorProject(LatLng point) {\n double radlat = point.getLatitude() * Math.PI / 180;\n double radlng = point.getLongitude() * Math.PI / 180;\n return new PointXY(radlng, Math.log(Math.tan(Math.PI/4 + radlat/2)));\n }", "title": "" }, { "docid": "ea9224a1853d465261fa9cc7040fdf32", "score": "0.50071144", "text": "public int rotate(int pX, int pY, int r) {\n\t\t\tswitch (r % 4) {\n\t\t\tcase 0:\n\t\t\t\treturn ((pY * 4) + pX);\n\t\t\tcase 1:\n\t\t\t\treturn (12 + pY - (pX * 4));\n\t\t\tcase 2:\n\t\t\t\treturn (15 - (pY * 4) - pX);\n\t\t\tcase 3:\n\t\t\t\treturn (3 - pY + (pX * 4));\n\t\t\tdefault:\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "61b943a14be8d77a54be1398d4e96d92", "score": "0.5002953", "text": "PolarCSPropertyType createPolarCSPropertyType();", "title": "" }, { "docid": "afc483bca39587d791e9265a33a3a396", "score": "0.5001058", "text": "public PolarType1(PlottingPanel panel, String rLabel, String phiLabel, double phiOffset) {\n super(panel);\n defaultLeftGutter = 25;\n defaultTopGutter = 25;\n defaultRightGutter = 25;\n defaultBottomGutter = 25;\n titleLine.setJustification(TextLine.CENTER);\n titleLine.setFont(titleFont);\n if(panel==null) {\n return;\n }\n panel.setPreferredGutters(defaultLeftGutter, defaultTopGutter, defaultRightGutter, defaultBottomGutter);\n panel.setAxes(this);\n panel.setCoordinateStringBuilder(CoordinateStringBuilder.createPolar(rLabel, phiLabel, phiOffset));\n panel.setClipAtGutter(false);\n }", "title": "" }, { "docid": "1eeffea965d7c28869fe78a79d9aa330", "score": "0.49924207", "text": "public Polarization[] getPhotonPolarization() {\n\t\treturn photonPolarization;\n\t}", "title": "" }, { "docid": "c95a9de0b8f9560b2febdcb4f4ecdd1b", "score": "0.49736166", "text": "public Image rotate(Point p) {\r\n double convert = (360 - p.degrees + 90) % 360;\r\n double rotationRequired = Math.toRadians(convert);\r\n double locationX = p.img.getWidth(this) / 2;\r\n double locationY = p.img.getHeight(this) / 2;\r\n AffineTransform tx = AffineTransform.getRotateInstance(rotationRequired, locationX, locationY);\r\n AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR);\r\n return op.filter(this.toBufferedImage(p.img), null);\r\n }", "title": "" }, { "docid": "ccfe6f04cbca12464d579d54bde41561", "score": "0.49625927", "text": "public static double toRadians(double deg){\r\n\t\treturn (deg*3.14159/180);\r\n\t}", "title": "" }, { "docid": "1035a567a9254137c096536284f39e28", "score": "0.4961652", "text": "public final double toRadians() throws RecognitionException, CalculateFormulaException {\n double result = 0.0;\n\n double expression31 = 0.0;\n\n\n try {\n // /home/tobias/workspace/Woped/src/antlrGrammar/metricsGrammar.g:71:2: ( 'toRadians(' expression ')' )\n // /home/tobias/workspace/Woped/src/antlrGrammar/metricsGrammar.g:71:4: 'toRadians(' expression ')'\n {\n match(input,18,FOLLOW_18_in_toRadians371); \n pushFollow(FOLLOW_expression_in_toRadians373);\n expression31=expression();\n\n state._fsp--;\n\n match(input,14,FOLLOW_14_in_toRadians375); \n result = Math.toRadians(expression31);\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return result;\n }", "title": "" }, { "docid": "0d21c519ff5943893c492657fa70dea5", "score": "0.49576497", "text": "public Point2D magnify(Point2D graphPoint) {\n if(graphPoint == null) return null;\n Point2D viewCenter = getViewCenter();\n double ratio = getRatio();\n // transform the point from the graph to the view\n Point2D viewPoint = graphPoint;\n // calculate point from center\n double dx = viewPoint.getX() - viewCenter.getX();\n double dy = viewPoint.getY() - viewCenter.getY();\n // factor out ellipse\n dx *= ratio;\n Point2D pointFromCenter = new Point2D.Double(dx, dy);\n \n PolarPoint polar = PolarPoint.cartesianToPolar(pointFromCenter);\n double theta = polar.getTheta();\n double radius = polar.getRadius();\n \n double mag = magnification;\n radius *= mag;\n \n// radius = Math.min(radius, viewRadius);\n Point2D projectedPoint = PolarPoint.polarToCartesian(theta, radius);\n projectedPoint.setLocation(projectedPoint.getX()/ratio, projectedPoint.getY());\n Point2D translatedBack = new Point2D.Double(projectedPoint.getX()+viewCenter.getX(),\n projectedPoint.getY()+viewCenter.getY());\n return translatedBack;\n }", "title": "" }, { "docid": "fd01c22278f8fe969097dfee8bdd5328", "score": "0.49520814", "text": "public static float toRadians(float x) {\n\t\treturn (float) Math.toRadians(x);\n\t}", "title": "" }, { "docid": "84f7a6a329f36a46b28262f7a04dc18f", "score": "0.49473354", "text": "public double getPictureRadians() {\n return myRadians - Math.PI / 2;\n }", "title": "" }, { "docid": "2ba99ee70464172aa6e02165873cbf2d", "score": "0.49442756", "text": "private double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "02b8c35ea94abddb725164ee9a174df5", "score": "0.49425352", "text": "private static double toRad(final double value) {\n\t\treturn value * Math.PI / 180;\n\t}", "title": "" }, { "docid": "45555f1155fdb4fb0de280efae86f937", "score": "0.49381176", "text": "public SphericalCoordinates(final double r, final double theta, final double phi) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.SphericalCoordinates_101\");\n final double cosTheta = FastMath.cos(theta);\n final double sinTheta = FastMath.sin(theta);\n final double cosPhi = FastMath.cos(phi);\n final double sinPhi = FastMath.sin(phi);\n // spherical coordinates\n this.r = r;\n this.theta = theta;\n this.phi = phi;\n // Cartesian coordinates\n this.v = new Vector3D(AOR_multiply(AOR_multiply(r, cosTheta, \"org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.SphericalCoordinates_101\", _mut80022, _mut80023, _mut80024, _mut80025), sinPhi, \"org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.SphericalCoordinates_101\", _mut80026, _mut80027, _mut80028, _mut80029), AOR_multiply(AOR_multiply(r, sinTheta, \"org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.SphericalCoordinates_101\", _mut80030, _mut80031, _mut80032, _mut80033), sinPhi, \"org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.SphericalCoordinates_101\", _mut80034, _mut80035, _mut80036, _mut80037), AOR_multiply(r, cosPhi, \"org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.SphericalCoordinates_101\", _mut80038, _mut80039, _mut80040, _mut80041));\n }", "title": "" }, { "docid": "db9ad92cc5e1489fcce87ba97a9f595a", "score": "0.4914261", "text": "public int comparePolarAngle(Point p1, Point p2) \n {\n \tif (p1.equals(referencePoint) && p2.equals(referencePoint)) return 0;\n \tif (p1.equals(referencePoint)) return -1;\n \tif (p2.equals(referencePoint)) return 1;\n \t\n \tPoint v1 = new Point(p1.getX() - referencePoint.getX(), p1.getY() - referencePoint.getY());\n \tPoint v2 = new Point(p2.getX() - referencePoint.getX(), p2.getY() - referencePoint.getY());\n \tint cross = v1.getX() * v2.getY() - v2.getX() * v1.getY();\n \t\n \tif (cross == 0) return 0;\n \treturn cross > 0 ? -1 : 1; \n }", "title": "" }, { "docid": "76afd0b2531040ddcb946e892185fe92", "score": "0.4909193", "text": "public Point2D inverseTransform(Point2D viewPoint) {\n \n Point2D viewCenter = getViewCenter();\n double viewRadius = getViewRadius();\n double ratio = getRatio();\n double dx = viewPoint.getX() - viewCenter.getX();\n double dy = viewPoint.getY() - viewCenter.getY();\n // factor out ellipse\n dx *= ratio;\n\n Point2D pointFromCenter = new Point2D.Double(dx, dy);\n \n PolarPoint polar = PolarPoint.cartesianToPolar(pointFromCenter);\n\n double radius = polar.getRadius();\n if(radius > viewRadius) return delegate.inverseTransform(viewPoint);\n \n double mag = magnification;\n radius /= mag;\n polar.setRadius(radius);\n Point2D projectedPoint = PolarPoint.polarToCartesian(polar);\n projectedPoint.setLocation(projectedPoint.getX()/ratio, projectedPoint.getY());\n Point2D translatedBack = new Point2D.Double(projectedPoint.getX()+viewCenter.getX(),\n projectedPoint.getY()+viewCenter.getY());\n return delegate.inverseTransform(translatedBack);\n }", "title": "" }, { "docid": "b4f9cef5f2042257de7688f74d9b04a0", "score": "0.49089885", "text": "int getXYR(int x, int y, int rotation) {\n int temp = 0;\n switch (rotation) {\n case 0:\n break;\n case 90:\n temp = x;\n x = size - y - 1;\n y = temp;\n break;\n case 180:\n x = size - x - 1;\n y = size - y - 1;\n break;\n case 270:\n temp = y;\n y = size - x - 1;\n x = temp;\n break;\n default:\n\n }\n\n return rawData[x][y];\n }", "title": "" }, { "docid": "377024c4d215fabdd0e082230c6e2a98", "score": "0.49041238", "text": "@Test public void testRotatePointPI()\n\t{\n\t\tMyPoint rotate = new MyPoint(1d, 0d);\n\t\tMyPoint actual = rotate.rotatePoint(point, Math.PI);\n\t\tassertEquals(actual.getX(), -1d, 0.0001);\n\t\tassertEquals(actual.getY(), 0d, 0.0001);\n\t}", "title": "" }, { "docid": "e757269b3161659cd764b0bf30fc95ef", "score": "0.49027735", "text": "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "e757269b3161659cd764b0bf30fc95ef", "score": "0.49027735", "text": "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "a8512e38d6d00aa5328b9e6541ae7197", "score": "0.4901499", "text": "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "d821305066f5eafb6559fd42bfa16579", "score": "0.4901068", "text": "private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "d821305066f5eafb6559fd42bfa16579", "score": "0.4901068", "text": "private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "6f40bb86622fbdf0665b39810d7b77d3", "score": "0.49005067", "text": "private static double convertToCorrectRadians(double L)\r\n {\r\n L -= (int)(L/MAX_DEGREES) * MAX_DEGREES;\r\n\r\n if (L < 0)\r\n L += MAX_DEGREES;\r\n\r\n return Math.toRadians(L);\r\n }", "title": "" }, { "docid": "1c9d725905742dd91d5bd5601f2d6a32", "score": "0.48979267", "text": "public double getAngleRadians() {\r\n return angle;\r\n }", "title": "" }, { "docid": "2313f681b9a554f55ec741d995641565", "score": "0.4883597", "text": "public double radians() {\n \t\treturn angleInRadians;\n \t}", "title": "" }, { "docid": "2df41a1032630132b36325069b4f1251", "score": "0.4883287", "text": "private double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }", "title": "" }, { "docid": "c9943d4135502d50ba6963e1b41c77a8", "score": "0.4864576", "text": "public static Vector3D fromPolar2D(double magnitude, Angle theta) {\n return from2D(new Vector2D(magnitude, theta));\n }", "title": "" }, { "docid": "eb650cb7bf3af24834d794407939d068", "score": "0.4850773", "text": "public Point2D transform(Point2D graphPoint) {\n if(graphPoint == null) return null;\n Point2D viewCenter = getViewCenter();\n double viewRadius = getViewRadius();\n double ratio = getRatio();\n // transform the point from the graph to the view\n Point2D viewPoint = delegate.transform(graphPoint);\n // calculate point from center\n double dx = viewPoint.getX() - viewCenter.getX();\n double dy = viewPoint.getY() - viewCenter.getY();\n // factor out ellipse\n dx *= ratio;\n Point2D pointFromCenter = new Point2D.Double(dx, dy);\n \n PolarPoint polar = PolarPoint.cartesianToPolar(pointFromCenter);\n double theta = polar.getTheta();\n double radius = polar.getRadius();\n if(radius > viewRadius) return viewPoint;\n \n double mag = magnification;\n radius *= mag;\n \n radius = Math.min(radius, viewRadius);\n Point2D projectedPoint = PolarPoint.polarToCartesian(theta, radius);\n projectedPoint.setLocation(projectedPoint.getX()/ratio, projectedPoint.getY());\n Point2D translatedBack = new Point2D.Double(projectedPoint.getX()+viewCenter.getX(),\n projectedPoint.getY()+viewCenter.getY());\n return translatedBack;\n }", "title": "" }, { "docid": "55bd96e0aefe422b4430efc907ae49cd", "score": "0.48468554", "text": "private static double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }", "title": "" }, { "docid": "28f87fd566c1e7fdee3245870a2be21e", "score": "0.48391312", "text": "public void rotate(double theta) {}", "title": "" }, { "docid": "d8fb8042d5cb73bf231fae9c0c80c543", "score": "0.48387602", "text": "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "d8fb8042d5cb73bf231fae9c0c80c543", "score": "0.48387602", "text": "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "d8fb8042d5cb73bf231fae9c0c80c543", "score": "0.48387602", "text": "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "d8fb8042d5cb73bf231fae9c0c80c543", "score": "0.48387602", "text": "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "d8fb8042d5cb73bf231fae9c0c80c543", "score": "0.48387602", "text": "private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }", "title": "" }, { "docid": "251a54160bf57512caae61ca2168d74e", "score": "0.48385948", "text": "static double calculateAngle(double x1, double y1, double x2, double y2)\n{\n double lat1 = Double.parseDouble(LATITUDE);\n double lon1 = Double.parseDouble(LONGITUDE);\n double radian = calculateAngle(lat1, lon1, 50.7260, -3.5332);\n x1 = deg2rad(x1);\n x2 = deg2rad(x2);\n y1 = deg2rad(y1);\n y2 = deg2rad(y2);\n double x = cos(x2)*sin(abs(y2 - y1));\n double y = cos(x1)*sin(x2) - sin(x1)*cos(x2)*cos(abs(y2 - y1));\n double angle = Math.toDegrees(Math.atan2(x, y)); \n angle = 360 - angle;\n return angle;\n \n}", "title": "" }, { "docid": "74a0d9392720a2e6fef3a5d07a293d1e", "score": "0.48366624", "text": "private void polarToWheelSpeed(double speed, double angle, double dchange){\n double pos1, pos2, pos3, pos4, maxValue;\n\n //Define unscaled voltage multipliers\n pos1 = speed*Math.sin(angle+(Math.PI/4))+dchange;\n pos2 = speed*Math.cos(angle+(Math.PI/4))-dchange;\n pos3 = speed*Math.cos(angle+(Math.PI/4))+dchange;\n pos4 = speed*Math.sin(angle+(Math.PI/4))-dchange;\n\n //VOLTAGE MULTIPLIER SCALER\n\n //Set maxValue to pos1 absolute\n maxValue = Math.abs(pos1);\n\n //If pos2 absolute is greater than maxValue, then make maxValue equal to pos2 absolute\n if(Math.abs(pos2) > maxValue){maxValue = Math.abs(pos2);}\n\n //If pos3 absolute is greater than maxValue, then make maxValue equal to pos3 absolute\n if(Math.abs(pos3) > maxValue){maxValue = Math.abs(pos3);}\n\n //If pos4 absolute is greater than maxValue, then make maxValue equal to pos4 absolute\n if(Math.abs(pos4) > maxValue){maxValue = Math.abs(pos4);}\n\n //Check if need to scale -- if not set to 1 to nullify scale\n if (maxValue <= 1){ maxValue = 1;}\n\n //Power motors with scaled voltage multipliers\n robot.DrivePos1.setPower(pos1/maxValue);\n robot.DrivePos2.setPower(pos2/maxValue);\n robot.DrivePos3.setPower(pos3/maxValue);\n robot.DrivePos4.setPower(pos4/maxValue);\n\n //Scaled Voltage Multiplier Telemetry\n if (wheelScalersTele) {\n telemetry.addData(\"Wheel 1 W/ Scale: \",pos1/maxValue);\n telemetry.addData(\"Wheel 2 W/ Scale: \",pos2/maxValue);\n telemetry.addData(\"Wheel 3 W/ Scale: \",pos3/maxValue);\n telemetry.addData(\"Wheel 4 W/ Scale: \",pos4/maxValue);\n }\n }", "title": "" }, { "docid": "5b88c935c5f261e5b6e58b431b6a823c", "score": "0.48178574", "text": "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "5b88c935c5f261e5b6e58b431b6a823c", "score": "0.48178574", "text": "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "5b88c935c5f261e5b6e58b431b6a823c", "score": "0.48178574", "text": "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "5b88c935c5f261e5b6e58b431b6a823c", "score": "0.48178574", "text": "private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }", "title": "" }, { "docid": "4befbe3365a4c8052e7866fa79758e50", "score": "0.48153016", "text": "private static void sphericalToCartesian(float[] s, float[] c) {\r\n\r\n // s = (theta, phi, r)\r\n // c = (x, y, z)\r\n\r\n c[1] = (float) Math.sin(s[1])*s[2];\r\n float r_xz = (float) Math.cos(s[1])*s[2];\r\n\r\n c[0] = (float) Math.cos(s[0])*r_xz;\r\n c[2] = (float) -Math.sin(s[0])*r_xz;\r\n\r\n }", "title": "" }, { "docid": "7d7313daeefe77228c39b2a8feb1b391", "score": "0.48136264", "text": "public static Angle newRadiansValue()\n\t{\n\t\treturn new Angle(0.0, AngleUnit.RADIAN);\n\t}", "title": "" }, { "docid": "2a71cafabc252cf009eef4f4368f43b0", "score": "0.48096088", "text": "public double getRadians() {\n return myRadians;\n }", "title": "" }, { "docid": "95088557b40f653886a1ed516c31c688", "score": "0.4793465", "text": "public float getDirectionRadians() {\r\n\t\tif (x== 0 && y==0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tint v = 0;\r\n\t\tif (x<0) {\r\n\t\t\tif (y>0) {\r\n\t\t\t\tv = 1;\r\n\t\t\t} else {\r\n\t\t\t\tv = -1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn (float) (Math.atan(y/x) + (v * Math.PI));\r\n\t}", "title": "" }, { "docid": "6f6a2ee6bcd8bbbf63e446c43eb7d4c6", "score": "0.47913057", "text": "private void rotateImpl(Vertex relative,\n Vertex target,\n double angleAroundXAxis,\n double angleAroundYAxis,\n double angleAroundZAxis) {\n final Matrix x = Matrix.getXRotationMatrix(angleAroundXAxis);\n final Matrix y = Matrix.getYRotationMatrix(angleAroundYAxis);\n final Matrix z = Matrix.getZRotationMatrix(angleAroundZAxis);\n\n Vertex tmp = new Vertex(target.x - relative.x,\n target.y - relative.y,\n target.z - relative.z);\n\n tmp = x.product(tmp);\n tmp = y.product(tmp);\n tmp = z.product(tmp);\n\n target.x = relative.x + tmp.x;\n target.y = relative.y + tmp.y;\n target.z = relative.z + tmp.z;\n }", "title": "" }, { "docid": "e05245e207d8019303c38539094f91ab", "score": "0.47806948", "text": "public static double CartesianYPrecisionCalc (double r, double a) {\r\n\t\treturn r * Math.sin(Math.toRadians(a));\r\n\t}", "title": "" }, { "docid": "f89999269fa539fed19f521dc5dd8fd2", "score": "0.47758725", "text": "public void rotate()\r\n {\r\n if(radians + D_RADIANS >= 2*(Math.PI))\r\n {\r\n radians = 0;\r\n }\r\n else\r\n {\r\n radians += D_RADIANS;\r\n }\r\n }", "title": "" }, { "docid": "8c070f754ffe1df7fde3709c19887813", "score": "0.4768178", "text": "public Radar(float x, float y, float diameter, PApplet ui) \n {\n super(x, y, ui);\n this.diameter = diameter;\n radius = diameter/2;\n }", "title": "" }, { "docid": "9e9736afc05c0905e8d3d81b59ef40d3", "score": "0.4761361", "text": "public double latitudeRad(double latitudeDec) {\r\n\t\treturn Func.round((PI / 180) * latitudeDec);\r\n\t}", "title": "" }, { "docid": "19078e617e87f7da613af50bc5557d0c", "score": "0.47450104", "text": "public GC_MakeRotation( gp_Pnt Point, gp_Dir Direc, double Angle) {\n this(OCCwrapJavaJNI.new_GC_MakeRotation__SWIG_2(gp_Pnt.getCPtr(Point), Point, gp_Dir.getCPtr(Direc), Direc, Angle), true);\n }", "title": "" }, { "docid": "f64873e6672204cfc56ad3a4f33afafd", "score": "0.47395644", "text": "public ProjectionPoint latLonToProj(LatLonPoint latLon, ProjectionPointImpl result) {\n double fromLat = Math.toRadians(latLon.getLatitude());\n double theta = computeTheta(latLon.getLongitude());\n\n double term = earth.isSpherical() ? n2 * Math.sin(fromLat) : n * MapMath.qsfn(Math.sin(fromLat), e, one_es);\n double rho = c - term;\n\n if (rho < 0.0)\n throw new RuntimeException(\"F\");\n\n rho = dd * Math.sqrt(rho);\n\n double toX = rho * Math.sin(theta);\n double toY = rho0 - rho * Math.cos(theta);\n\n result.setLocation(totalScale * toX + falseEasting, totalScale * toY + falseNorthing);\n return result;\n }", "title": "" }, { "docid": "0353429d74eefa2359fc177e9fa0540b", "score": "0.47355637", "text": "private static int[][] cordinateTransform(int object[][], int localOrgin[][], float radians) {\n\t\tint objectLocalC[][] = new int[2][1];\n\t\tobjectLocalC[0][0] = object[0][0] - localOrgin[0][0];\n\t\tobjectLocalC[1][0] = object[1][0] - localOrgin[1][0];\n\t\treturn (objectLocalC);\n\t}", "title": "" }, { "docid": "84d17cc4c4c0b3a30cc415f7f8b5a6bf", "score": "0.47279885", "text": "private static double rad2deg(double rad) {\n\t\treturn (rad * 180 / Math.PI);\n\t}", "title": "" }, { "docid": "84d17cc4c4c0b3a30cc415f7f8b5a6bf", "score": "0.47279885", "text": "private static double rad2deg(double rad) {\n\t\treturn (rad * 180 / Math.PI);\n\t}", "title": "" } ]
b75cb710ab0c1115c48d504d40be9a5a
load saved values from preferences
[ { "docid": "aa2d72135c1ffa5bcd0a4b0746598948", "score": "0.0", "text": "@Override\n public void onClick(View view) {\n int i = 0;\n for(SeekBar bar : seek_bars.keySet()) {\n int value = getPreferences().getInt(\"channel\" + (i++), bar.getMax() / 2);\n bar.setProgress(value);\n }\n }", "title": "" } ]
[ { "docid": "0122b7ea1d75c8ffde0e9408a397ab5e", "score": "0.7636782", "text": "private void loadPreferences() {\n\t\tmySharedPreferences = getActivity().getApplication().getSharedPreferences(MYPREFS,\n\t\t\t\tmode);\t\t\n\t\tnomorSMSGateway = mySharedPreferences.getString(\"nomorSMSGateway\", \"Belum diset\");\n\t}", "title": "" }, { "docid": "a2695e3d901a4df8f18c7e68e041aaaf", "score": "0.7625975", "text": "public void loadPreferences() {\n\t\tthis.cacheEnabled = prefs.getBoolean(PREF_CACHE_STATUS, true);\n\t\t\n\t\tthis.firstTimeRun = prefs.getBoolean(PREF_FIRST_TIME_RUN, true);\n\t\t\n\t\tthis.themeId = prefs.getInt(PREF_THEME_ID, getThemeId());\n\n\t\tString theDefaultExternalFilePath = this.dataStoragePath;\n\t\t\n\t\tthis.dataStoragePath = prefs.getString(PREF_DATA_STORAGE_PATH, theDefaultExternalFilePath);\n\t\tif (!new File(dataStoragePath).exists()) \n\t\t\tthis.dataStoragePath = theDefaultExternalFilePath;\n\t\t\n\t\tif (!new File(dataStoragePath).exists()) \n\t\t\tthis.dataStoragePath = null; //theDefaultExternalFilePath;\n\t\t\n\t\t\n//\t\tString historyStr = prefs.getString(PREF_SEARCH_HISTORY, \"\");\n//\t\tString[] tokens = historyStr.split(\",\");\n//\t\tif (tokens != null)\n//\t\t\tfor (String str : tokens)\n//\t\t\t\tsearchHistoryArray.add(str);\n\t}", "title": "" }, { "docid": "4ab8ad956c66184f0403951ba5818d61", "score": "0.75531745", "text": "void loadPref() {\n SharedPreferences prefs =\n getSharedPreferences(MY_GLOBAL_PREFS, MODE_PRIVATE);\n // example of getting a string\n String thresh = prefs.getString(getString(R.string.PREF_NOTIFICATION_THRESHOLD), THRESHOLD_DEFAULT);\n String reminder = prefs.getString(getString(R.string.PREF_REMINDER), REMIND_AGAIN_DEFAULT);\n String notiPeri = prefs.getString(getString(R.string.PREF_NOTIFICATION_PERIOD), NOTIFICATION_PERIOD_DEFAULT);\n threshold.setText(thresh);\n remindAgain.setText(reminder);\n notiPeriod.setText(notiPeri);\n }", "title": "" }, { "docid": "757e2fbffe5917659fc45b7ecbaa43af", "score": "0.7511913", "text": "private void getStoredPreferences() {\r\n\r\n\t\t//Log.w(\"LiveWallpaperService.setStoredPreferences()\", \"(rain: \" + displayRain + \", leaf: \" + displayLeaf + \", \" + \", snow: \" + displaySnow + \")\");\r\n\r\n\t\t// this is first call to getInstance(), so need to init\r\n\t\t//PreferenceStore preferenceStore = PreferenceStore.getInstance();\r\n\t\tPreferenceStore.initialize(this);\r\n\t\t\r\n\t\tonRecreateScene();\r\n\t}", "title": "" }, { "docid": "139812b147b9fa0a09f727a7f553d2c6", "score": "0.74596894", "text": "private void loadPreferences() {\n\t\tSharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this);\n\t\tisIntensityFixed = pref\n\t\t\t\t.getBoolean(RecorderSettingsActivity.RECORDER_FIXED_MAGNITUDE, false);\n\t\tintensityLevel = pref.getInt(RecorderSettingsActivity.RECORDER_MAGNITUDE, 100);\n\t\tisLengthLimited = pref.getBoolean(RecorderSettingsActivity.RECORDER_LIMIT_DURATION, false);\n\t\tlengthPatternLimit = pref.getInt(RecorderSettingsActivity.RECORDER_DURATION, 60);\n\t}", "title": "" }, { "docid": "2b1fdf553bdf2abc853ccd2f0d8c2842", "score": "0.74549526", "text": "private void loadPreferences() {\n String ageText = preferences.getString(AGE, AGE_PLACEHOLDER_TEXT);\n genderToggle.setChecked(preferences.getBoolean(GENDER, false));\n measurementToggle.setChecked(preferences.getBoolean(MainActivity.MEASUREMENT, false));\n\n // Remove placeholder text to set the seek bar's progress.\n ageText = ageText.replace(AGE_PLACEHOLDER_TEXT, \"\");\n if (!ageText.equals(\"\")) {\n ageBar.setProgress(Integer.parseInt(ageText));\n }\n\n // Set age text view with placeholder text and seek bar progress.\n ageText = AGE_PLACEHOLDER_TEXT + ageBar.getProgress();\n ageTextView.setText(ageText);\n }", "title": "" }, { "docid": "79804ee7b9f06f75a062db22c403d5a9", "score": "0.7407291", "text": "public void loadPrefs() {\n\t\tConfig c = new Config();\n\t\t\n\t\tfeedPort = c.load(prefPrefix + \"feedPort\", feedPort);\n\t\tinvertFeed = c.load(prefPrefix + \"invertFeed\", invertFeed);\n\t\tfeedSpeed = c.load(prefPrefix + \"feedSpeed\", feedSpeed);\n\t}", "title": "" }, { "docid": "7a6592e221e0916601a12f262e4e6ee0", "score": "0.7400578", "text": "private void loadSavedPreferences() {\n\n String address =\"No Address\";\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(ReportsActivity.this);\n address = sharedPreferences.getString(\"Current_Location\", \"No Address\");\n location = address;\n }", "title": "" }, { "docid": "53a85d2fd8280589c1fdd7b0584f1013", "score": "0.72255266", "text": "public void fetchValuesFromAndroidPreferences(){\n Context context = DashBoardActivity.context;\n SharedPreferences settings = context.getSharedPreferences(APP_PREFERENCE_ID, Context.MODE_PRIVATE);\n\n PRIME_TEMPERATURE = settings.getString(PRIME_TEMPERATURE_KEY, \"\");\n TEMPERATURE_UNIT = settings.getString(TEMPERATURE_UNIT_KEY, \"00\");\n RATE_OF_RISE = Integer.parseInt(settings.getString(RATE_OF_RISE_KEY, \"00\"));\n DRUM_SPEED_MIN = Integer.parseInt(settings.getString(DRUM_SPEED_MIN_KEY, \"00\"));\n DRUM_SPEED_MAX = Integer.parseInt(settings.getString(DRUM_SPEED_MAX_KEY, \"00\"));\n FAN_SPEED_MIN = Integer.parseInt(settings.getString(FAN_SPEED_MIN_KEY, \"00\"));\n FAN_SPEED_MAX = Integer.parseInt(settings.getString(FAN_SPEED_MAX_KEY, \"00\"));\n ETHERNET_IP = settings.getString(ETHERNET_IP_KEY, \"\");\n GATEWAY = settings.getString(GATEWAY_KEY, \"\");\n DHCP = settings.getBoolean(DHCP_KEY, false);\n }", "title": "" }, { "docid": "ea648b19b8b2c87c92da87079d2da12b", "score": "0.7152369", "text": "void loadState(Preferences prefs);", "title": "" }, { "docid": "ad4a3d0a7aa04264a4eafaa47e254714", "score": "0.7018971", "text": "private void savePreferences() {\n SharedPreferences.Editor preferencesEditor = preferences.edit();\n\n preferencesEditor.putBoolean(MainActivity.INITIAL_STATE, false);\n preferencesEditor.putBoolean(MainActivity.MEASUREMENT, measurementToggle.isChecked());\n preferencesEditor.putBoolean(GENDER, genderToggle.isChecked());\n preferencesEditor.putString(AGE, ageTextView.getText().toString().replace(AGE_PLACEHOLDER_TEXT, \"\"));\n\n preferencesEditor.apply();\n }", "title": "" }, { "docid": "20c45603a72fc77162c268f4ee32c94a", "score": "0.6990242", "text": "private void fetchSavedPreferences() {\n String url;\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n if(preferences.getString(getString(R.string.key), getString(R.string.default_order_value)).equals(getString(R.string.default_order_value))) {\n url = BASE_URL + API_KEY;\n }\n else {\n url = BASE_URL + API_KEY + ORDER_BY_ATTR;\n }\n Log.v(\"switch_value\", preferences.getString(\"category_list\", \"\"));\n switch(preferences.getString(\"category_list\", \"\")) {\n case \"All Sports\":\n QueryUtils.setmURL(url);\n break;\n case \"Football\":\n QueryUtils.setmURL(url + \"&q=football\");\n break;\n case \"Tennis\":\n QueryUtils.setmURL(url + \"&q=tennis\");\n break;\n case \"Basketball\":\n QueryUtils.setmURL(url + \"&q=basketball\");\n break;\n case \"Volleyball\":\n QueryUtils.setmURL(url + \"&q=volleyball\");\n break;\n case \"Handball\":\n QueryUtils.setmURL(url + \"&q=handball\");\n break;\n default:\n QueryUtils.setmURL(url);\n }\n\n }", "title": "" }, { "docid": "0ff666ad8b947c772d9bf85edda10de7", "score": "0.69707465", "text": "@Override\n protected void load() {\n this.props = NSUserDefaults.standardUserDefaults();\n }", "title": "" }, { "docid": "b078160544ec3b4be2332b0c99968159", "score": "0.6965139", "text": "void persistPreferences();", "title": "" }, { "docid": "38c183b2871c13436645a5c70360fab2", "score": "0.6928995", "text": "public void load() {\n if (preferenceStore != null) {\n isDefaultPresented = false;\n doLoad();\n refreshValidState();\n }\n }", "title": "" }, { "docid": "d7da025c589bb6886819b356207c6999", "score": "0.6923106", "text": "private void getSavedPrefs() {\n isNotificationsEnabled = Go4LunchPrefs.getBoolean(getBaseContext(), NOTIFICATION_ENABLED, NOTIFICATION_DEFAULT);\n isResetBookedRestaurantEnabled = Go4LunchPrefs.getBoolean(getBaseContext(), RESET_BOOKED_RESTAURANT, RESET_BOOKED_DEFAULT);\n zoomLevel = Go4LunchPrefs.getInt(getBaseContext(), MAP_ZOOM_LEVEL, ZOOM_LEVEL_DEFAULT);\n isZoomButtonEnabled = Go4LunchPrefs.getBoolean(getBaseContext(), MAP_ZOOM_BUTTON, ZOOM_BUTTON_DEFAULT);\n isRefreshLocationEnabled = Go4LunchPrefs.getBoolean(getBaseContext(), MAP_AUTO_REFRESH_LOCATION, AUTO_REFRESH_DEFAULT);\n disableWeekEndNotification = Go4LunchPrefs.getBoolean(getBaseContext(), DISABLE_WEEK_END_NOTIFICATION, WEEK_END_NOTIFICATION_DEFAULT);\n }", "title": "" }, { "docid": "b26f9d04a3ebb33f119f445e5403e9b4", "score": "0.6922325", "text": "private void loadPrefs()\n {\n for(GameMovement g : GameMovement.values())\n {\n float multiplier = m_Prefs.getFloat(\"moveMult_\" + g.m_Name, 1.0f);\n m_MoveTimeMultipliers.put(g, multiplier);\n }\n m_Level1TimePerMove = m_Prefs.getFloat(\"level1TimePerMove\", 10.0f);\n m_MovesPerLevel = m_Prefs.getInt(\"movesPerLevel\", 10);\n m_TimeMultiplyPerLevel = m_Prefs.getFloat(\"timeMultiplyPerLevel\", 0.9f);\n\n }", "title": "" }, { "docid": "798138ae53756e0eda774f9ace190c78", "score": "0.6910008", "text": "private Preferences getPreferences(){\n return Gdx.app.getPreferences(getPrefsFileName());\n }", "title": "" }, { "docid": "2aa5bf319156a9a7dc7ffd89afa2e498", "score": "0.69015396", "text": "void loadSettings() {\n\t\tSharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);\n\t\tserverUrl = sharedPrefs.getString(\"server_url\", serverUrl);\n\t\tm_sub\t = sharedPrefs.getString(\"sub\", null);\n\t}", "title": "" }, { "docid": "70a405d863c593323b1859903969b794", "score": "0.68515414", "text": "void simplePreferenceExample(){\n SharedPreferences preferences=getSharedPreferences(\"names\",MODE_PRIVATE);\n\n SharedPreferences.Editor editor=preferences.edit();\n editor.putString(\"name1\",\"Rahul\");\n editor.putString(\"name2\",\"Pradeep\");\n editor.commit();\n\n Toast.makeText(SharedPreferencesActivity.this, \"Values Stored Successfully\", Toast.LENGTH_SHORT).show();\n\n //Reading the values using keys\n SharedPreferences readPreferences=getSharedPreferences(\"names\", MODE_PRIVATE);\n String name1=readPreferences.getString(\"name1\", \"Unknown\");\n String name2=readPreferences.getString(\"name2\",\"Unknown\");\n Toast.makeText(SharedPreferencesActivity.this, \"name1=\"+name1+\" name2=\"+name2, Toast.LENGTH_LONG).show();\n\n }", "title": "" }, { "docid": "5925db87894507f92685d73d0cbb90cc", "score": "0.67726", "text": "private void getpreferences() {\n\t\tk = getPreferences(MODE_PRIVATE).getInt(\"KEY\", 0);\n\t\tcalPitch = getPreferences(MODE_PRIVATE).getInt(\"calpitch\", 0);\n\t\tcalRoll = getPreferences(MODE_PRIVATE).getInt(\"calroll\", 0);\n\t\t\n\t\t// If device orientation differs from actual saved in shared preferences\n\t\t// the calPitch and calRoll switch places.\n\t\tif (getPreferences(MODE_PRIVATE).getInt(\"Orientation\", 0) != mRotation) {\n\t\t\tint a = calPitch;\n\t\t\tcalPitch = calRoll;\n\t\t\tcalRoll = a;\n\t\t}\n\n\t}", "title": "" }, { "docid": "3ce70ad3c65edf92052ebd9efcf6efbb", "score": "0.6747564", "text": "private void setSettingsFromPref(){\n Gson gson = new Gson();\n String json = Preferences.getDefaults(this, getString(R.string.machine_settings));\n Log.i(TAG, \"+++ json string +++\");\n Log.i(TAG, json);\n mMachineSettings = gson.fromJson(json, MachineSettings.class);\n Log.i(TAG, \"Room value from pref \" + mMachineSettings.getRoom().getValue());\n }", "title": "" }, { "docid": "6b7b43df9caeefb1e868bf7cd58f1281", "score": "0.67431945", "text": "private void getPrefs() {\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getActivity());\n mEnableFX = prefs.getBoolean(\"container_effects_preference\", false);\n mEnableParalax = prefs.getBoolean(\"container_parallax_preference\", false);\n }", "title": "" }, { "docid": "186d6173fa543fccec0ce34b9fe75ac4", "score": "0.6731275", "text": "private void initPrefs() {\n\n sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getBaseContext());\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.contains(\"nightMode\")) {\n editor.putBoolean(\"nightMode\", false);\n editor.commit();\n }\n if (!sharedPreferences.contains(\"reverseSort\")) {\n editor.putBoolean(\"reverseSort\", false);\n editor.commit();\n }\n if (!sharedPreferences.contains(\"fabColor\")) {\n editor.putInt(\"fabColor\", -500041);\n editor.commit();\n }\n if (!sharedPreferences.contains(\"tagListString\")) {\n String s = \"no tag_life_study_work_play\";\n editor.putString(\"tagListString\", s);\n editor.commit();\n }\n if(!sharedPreferences.contains(\"content_switch\")) {\n editor.putBoolean(\"content_switch\", false);\n editor.commit();\n }\n if(!sharedPreferences.contains(\"fabPlanColor\")){\n editor.putInt(\"fabPlanColor\", -500041);\n editor.commit();\n }\n if(!sharedPreferences.contains(\"noteTitle\")){\n editor.putBoolean(\"noteTitle\", true);\n editor.commit();\n }\n\n\n }", "title": "" }, { "docid": "427bbd597e5243d9a58f4890474db449", "score": "0.67302996", "text": "public void getSharedPreferences() {\n mSharedPreferenceStore.mPrefsStore = getSharedPreferences(\n \"com.peacecorps.malaria.storeTimePicked\", Context.MODE_PRIVATE);\n mSharedPreferenceStore.mEditor = mSharedPreferenceStore.mPrefsStore\n .edit();\n }", "title": "" }, { "docid": "251811dbdbf65450ed6bc5c09adce8bb", "score": "0.6725067", "text": "private void setPreferences(){\n mSharedPreferences = getSharedPreferences(Utils.PREFS, MODE_PRIVATE);\n SharedPreferences.Editor e = mSharedPreferences.edit();\n DateFormat df = new SimpleDateFormat(\"dd - MM - yyyy\");\n e.putString(Utils.PREF_NAME, ParseUser.getCurrentUser().getString(Utils.PARSE_USER_NAME));\n e.putString(Utils.PREF_BIRTHDATE, df.format(ParseUser.getCurrentUser().getDate(Utils.PARSE_USER_BIRTHDATE)));\n e.putString(Utils.PREF_EMAIL, ParseUser.getCurrentUser().getEmail());\n e.putString(Utils.PREF_HEIGHT, String.valueOf(ParseUser.getCurrentUser().getInt(Utils.PARSE_USER_HEIGHT)));\n e.putString(Utils.PREF_WEIGHT, String.valueOf(ParseUser.getCurrentUser().getInt(Utils.PARSE_USER_WEIGHT)));\n e.putString(Utils.PREF_SURNAME, ParseUser.getCurrentUser().getString(Utils.PARSE_USER_SURNAME));\n\n e.apply();\n\n }", "title": "" }, { "docid": "50ad32575bf4daa163102444462c5a63", "score": "0.67047435", "text": "public void storePreferences(Preferences prefs)\r\n {\r\n userPreferences.storeIn(prefs);\r\n servicePreferences.storeIn(prefs);\r\n globalRenderingSettings.storeIn(prefs);\r\n starzPreferences.storeIn(prefs);\r\n }", "title": "" }, { "docid": "9c8bb0b9f7b1dcc53774ecb53fa56f44", "score": "0.668668", "text": "private SharedPreferences getPrefs(){\n return getSharedPreferences(\"prefs\", MODE_PRIVATE);\n }", "title": "" }, { "docid": "c8ad053bcd4ca0824c9ff6cff5b2eab7", "score": "0.6671929", "text": "public void initPrefs() {\n \t\tmPrefsSetting = getSharedPreferences(\"preferences\", 0);\n \t\tmPrefsSources = getSharedPreferences(\"sources\", 0);\n \t}", "title": "" }, { "docid": "76bd89ef641be8e461793dba3ac462ee", "score": "0.6667728", "text": "public static void loadPreferences() {\n\t\ttry {\n\t\t\tIPreferenceStore preferences = Activator.getDefault().getPreferenceStore();\n\t\t\tmergeRenamePrefixValue = preferences.getString(MERGE_RENAMING_PREFIX);\n\t\t\tverboseLoggingValue = preferences.getBoolean(VERBOSE_LOGGING);\n\t\t} catch (Exception e){\n\t\t\tLog.warning(\"Error accessing JReFrameworker preferences, using defaults...\", e);\n\t\t}\n\t\tinitialized = true;\n\t}", "title": "" }, { "docid": "f811798b35f8d2cafd38bc465fd0dae8", "score": "0.6665411", "text": "private void cachePreferences() {\n int preferenceCount = getPreferenceScreen().getPreferenceCount();\n for (int index = 0; index < preferenceCount; index++) {\n Preference preference = getPreferenceScreen().getPreference(index);\n mAllPreferences.put(preference.getKey(), preference);\n }\n mSignInPreference = (SignInPreference) mAllPreferences.get(PREF_SIGN_IN);\n }", "title": "" }, { "docid": "d5e88f11516ff0105ccd57dafa69a7e5", "score": "0.66556567", "text": "public void loadUserPreferences() {\r\n try {\r\n utilitiesUserPreferences = UtilitiesUserPreferences.loadUserPreferences();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "b7ec32b8b11db3fd091ded57ea97179b", "score": "0.6641843", "text": "private void savepreferences() {\n\t\tgetPreferences(MODE_PRIVATE).edit().putInt(\"KEY\", k).commit();\n\t\tgetPreferences(MODE_PRIVATE).edit().putInt(\"calpitch\", calPitch)\n\t\t\t\t.commit();\n\t\tgetPreferences(MODE_PRIVATE).edit().putInt(\"calroll\", calRoll).commit();\n\t\tgetPreferences(MODE_PRIVATE).edit().putInt(\"Orientation\", mRotation)\n\t\t\t\t.commit();\n\t}", "title": "" }, { "docid": "9bcbd905dc1292c6bb94a4fc6287e434", "score": "0.6626715", "text": "private void getDataFromPreferences() {\n mSharedPreferences = getContext().getSharedPreferences(PREF_FILE_NAME, MODE_PRIVATE);\n String email = mSharedPreferences.getString(PREF_LOGIN, getString(R.string.rerrew));\n String obj = mSharedPreferences.getString(email, \"\");\n Gson gson = new Gson();\n UserDetails newuser = gson.fromJson(obj, UserDetails.class);\n CurrentRadius = newuser.getRadius();\n }", "title": "" }, { "docid": "ee5c39ef1d81c078a43855c7973bbf16", "score": "0.6620961", "text": "public void loadPrefs(Context context, int appWidgetId) {\n SharedPreferences prefs = context.getSharedPreferences(PREFS_NAME, 0);\n \n klasse = prefs.getString(PREF_KLASSE_KEY + appWidgetId, null);\n\n urlStart = prefs.getString(PREF_URLSTART_KEY + appWidgetId, null);\n if (urlStart == null){\n \turlStart = prefs.getString(PREF_URLSTART_KEY+DUMMY_APPWIDGET_ID,null);\n }\n \n uniqueID = prefs.getString(PREF_UNIQUEID_KEY, null);\n if (uniqueID == null){\n \t// First time we start, therefore create the unique ID and save it immediately,\n \tuniqueID = UUID.randomUUID().toString();\n SharedPreferences.Editor prefsEdit = prefs.edit();\n prefsEdit.putString(PREF_UNIQUEID_KEY , uniqueID);\n prefsEdit.commit();\n }\n\n registrationID = prefs.getString(PREF_REGISTRATIONID_KEY, null);\n\n String temp;\n ArrayList<String> al = new ArrayList<String>();\n int i=0;\n while ((temp= prefs.getString(PREF_TAG_KEY + appWidgetId+\"_\"+i, null)) != null){\n \tal.add(temp);\n \ti++;\n }\n if (al.size() > 0){\n \ttag = new String[al.size()];\n tag = al.toArray(tag);\n }else{\n \t tag = new String[5];\n }\n al = new ArrayList<String>();\n i=0;\n while ((temp= prefs.getString(PREF_DATUM_KEY + appWidgetId+\"_\"+i, null)) != null){\n \tal.add(temp);\n \ti++;\n }\n if (al.size() > 0){\n \tdatum = new String[al.size()];\n \tdatum = al.toArray(datum);\n }else{\n \t datum = new String[5];\n }\n\n al = new ArrayList<String>();\n i=0;\n while ((temp= prefs.getString(PREF_ALLE_KEY + appWidgetId+\"_\"+i, null)) != null){\n \tal.add(temp);\n \ti++;\n }\n if (al.size() > 0){\n \tallgemein = new String[al.size()];\n \tallgemein = al.toArray(allgemein);\n }else{\n \t allgemein = new String[5];\n }\n\n \n lastUpdate = prefs.getLong(PREF_LASTUPDATE_KEY + appWidgetId, -1L); \n paused = prefs.getBoolean(PREF_PAUSED_KEY + appWidgetId, false); \n \n klassenNamenBenoetigenUpdate = prefs.getBoolean(PREF_KLASSENNAMENBENOETIGENUPDATE_KEY + appWidgetId, \n \t\tfalse); \n \n lastKlassenNamenUpdate = prefs.getLong(PersistentData.PREF_LASTKLASSENNAMENUPDATE_KEY + appWidgetId, \n \t\t -1L); \n\n code = prefs.getString(PREF_CODE_KEY + appWidgetId, null);\n if (code == null || code.equals(\"\")){\n \tcode = prefs.getString(PREF_CODE_KEY+DUMMY_APPWIDGET_ID,null);\n }\n registrationID = prefs.getString(PREF_REGISTRATIONID_KEY, null);\n \n registrationLastFail = prefs.getLong(PREF_REGISTRATION_LASTFAIL, -1L); \n registrationDeltaRetry = prefs.getLong(PREF_REGISTRATION_DELTARETRY, 1000L*60*3);\n registrationCode = prefs.getString(PREF_REGISTRATION_CODE, null);\n appVersion = prefs.getInt(PREF_APP_VERSION, -1);\n\n readKlassenArray(context, appWidgetId);\n }", "title": "" }, { "docid": "d468c36956763023b3bfca19dd8d7ae9", "score": "0.6604285", "text": "private ToolsPrefs loadPrefs() {\r\n\t\tToolsPrefs prefs = new ToolsPrefs();\r\n\t\tFile prefsFile = getPrefsFile();\r\n\t\tif (prefsFile.isFile()) {\r\n\t\t\ttry {\r\n\t\t\t\tprefs.load(prefsFile);\r\n\t\t\t} catch (IOException ioe) {\r\n\t\t\t\tapp.displayException(ioe);\r\n\t\t\t\t// (Some) defaults will be used\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn prefs;\r\n\t}", "title": "" }, { "docid": "381a4dbcbf13f6e63ee08c0f65bd5610", "score": "0.66007227", "text": "private void loadUserData() {\n\n // We can also use log.d to print to the LogCat\n\n Log.d(TAG, \"loadUserData()\");\n\n // Load and update all profile views\n\n // Get the shared preferences - create or retrieve the activity\n // preference object\n\n String mKey = getString(R.string.preference_name);\n SharedPreferences mPrefs = getSharedPreferences(mKey, MODE_PRIVATE);\n\n // Load the user email\n\n mKey = getString(R.string.preference_key_profile_email);\n String mValue = mPrefs.getString(mKey, \" \");\n ((EditText) findViewById(R.id.editEmail)).setText(mValue);\n\n // Load gender info and set radio box\n\n mKey = getString(R.string.preference_key_profile_gender);\n\n int mIntValue = mPrefs.getInt(mKey, -1);\n // In case there isn't one saved before:\n if (mIntValue >= 0) {\n // Find the radio button that should be checked.\n RadioButton radioBtn = (RadioButton) ((RadioGroup) findViewById(R.id.radioGender))\n .getChildAt(mIntValue);\n // Check the button.\n radioBtn.setChecked(true);\n }\n\n }", "title": "" }, { "docid": "0d18b6afddd58ef56f450e32d51e90f5", "score": "0.65943253", "text": "@Override\n public void loadPref()\n {\n if (USE_CONFIG_FILE)\n {\n usePref( loadPrefFromConfigFile());\n }\n else\n currentValue = Preferences.userRoot().get(prefName, defaultValue);\n\n color = Color.decode(currentValue);\n }", "title": "" }, { "docid": "a37c5f83b48b3b9089a4ba5da94d7676", "score": "0.6570649", "text": "public void getPreferences() {\n SharedPreferences prefs = getSharedPreferences(\"my_prefs\", MODE_PRIVATE);\n String email = prefs.getString(\"email\", \"\");\n String name = prefs.getString(\"name\", \"\");\n\n Toast.makeText(\n this,\n \"Name: \" + name + \"\\nEmail: \" + email, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "642d14008b342b8a9a0e764caa67fc23", "score": "0.6563845", "text": "public void storePreferences() {\n //System.out.println(\"storing preferences\");\n \n // window location information\n Rectangle bounds = getBounds();\n PdePreferences.setInteger(\"last.window.x\", bounds.x);\n PdePreferences.setInteger(\"last.window.y\", bounds.y);\n PdePreferences.setInteger(\"last.window.width\", bounds.width);\n PdePreferences.setInteger(\"last.window.height\", bounds.height);\n \n Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();\n PdePreferences.setInteger(\"last.screen.width\", screen.width);\n PdePreferences.setInteger(\"last.screen.height\", screen.height);\n \n // last sketch that was in use\n PdePreferences.set(\"last.sketch.name\", sketchName);\n PdePreferences.set(\"last.sketch.path\", sketchDir.getAbsolutePath());\n \n // location for the console/editor area divider\n int location = splitPane.getDividerLocation(); \n PdePreferences.setInteger(\"last.divider.location\", location);\n }", "title": "" }, { "docid": "4f9ee1c9de2533f15a0b66522cbc18aa", "score": "0.655404", "text": "private boolean loadSharedPreferencesFromFile(File src) {\n\t\tboolean res = false;\n\t\tObjectInputStream input = null;\n\t\ttry {\n\t\t\tinput = new ObjectInputStream(new FileInputStream(src));\n\t\t\tEditor prefEdit = PreferenceManager.getDefaultSharedPreferences(\n\t\t\t\t\tthis).edit();\n\t\t\tprefEdit.clear();\n\t\t\t// first object is preferences\n\t\t\tMap<String, ?> entries = (Map<String, ?>) input.readObject();\n\t\t\tfor (Entry<String, ?> entry : entries.entrySet()) {\n\t\t\t\tObject v = entry.getValue();\n\t\t\t\tString key = entry.getKey();\n\n\t\t\t\tif (v instanceof Boolean)\n\t\t\t\t\tprefEdit.putBoolean(key, ((Boolean) v).booleanValue());\n\t\t\t\telse if (v instanceof Float)\n\t\t\t\t\tprefEdit.putFloat(key, ((Float) v).floatValue());\n\t\t\t\telse if (v instanceof Integer)\n\t\t\t\t\tprefEdit.putInt(key, ((Integer) v).intValue());\n\t\t\t\telse if (v instanceof Long)\n\t\t\t\t\tprefEdit.putLong(key, ((Long) v).longValue());\n\t\t\t\telse if (v instanceof String)\n\t\t\t\t\tprefEdit.putString(key, ((String) v));\n\t\t\t}\n\t\t\tprefEdit.commit();\n\n\t\t\t// second object is admin options\n\t\t\tEditor adminEdit = getSharedPreferences(\n\t\t\t\t\tAdminPreferencesActivity.ADMIN_PREFERENCES, 0).edit();\n\t\t\tadminEdit.clear();\n\t\t\t// first object is preferences\n\t\t\tMap<String, ?> adminEntries = (Map<String, ?>) input.readObject();\n\t\t\tfor (Entry<String, ?> entry : adminEntries.entrySet()) {\n\t\t\t\tObject v = entry.getValue();\n\t\t\t\tString key = entry.getKey();\n\n\t\t\t\tif (v instanceof Boolean)\n\t\t\t\t\tadminEdit.putBoolean(key, ((Boolean) v).booleanValue());\n\t\t\t\telse if (v instanceof Float)\n\t\t\t\t\tadminEdit.putFloat(key, ((Float) v).floatValue());\n\t\t\t\telse if (v instanceof Integer)\n\t\t\t\t\tadminEdit.putInt(key, ((Integer) v).intValue());\n\t\t\t\telse if (v instanceof Long)\n\t\t\t\t\tadminEdit.putLong(key, ((Long) v).longValue());\n\t\t\t\telse if (v instanceof String)\n\t\t\t\t\tadminEdit.putString(key, ((String) v));\n\t\t\t}\n\t\t\tadminEdit.commit();\n\n\t\t\tres = true;\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (input != null) {\n\t\t\t\t\tinput.close();\n\t\t\t\t}\n\t\t\t} catch (IOException ex) {\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn res;\n\t}", "title": "" }, { "docid": "b25385a0990d7c9b2abc7a8bf5c5b679", "score": "0.65438855", "text": "@Override\n protected void onCreate(Bundle savedInstanceState)\n {\n SharedPreferences prefs = getSharedPreferences(USER_PREFRENCES, MODE_PRIVATE);\n String restoredText = prefs.getString(\"url\", null);\n\n if(restoredText != null)\n {\n selectedURL = prefs.getString(\"url\", \"\");\n }\n\n /*\n if (restoredText != null) {\n String name = prefs.getString(\"username\", \"No name defined\");//\"No name defined\" is the default value.\n int idName = prefs.getInt(\"numItems\", 10); //0 is the default value.\n selectedURL = prefs.getString(\"url\", \"\"); // Retrives the pref URL\n }\n else{\n System.out.println(\"No restored text\");\n } */\n\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_prefrence);\n\n // creates a drop down list that lets the user select\n // the number of items to be displayed\n final Spinner dropDownNumItems = findViewById(R.id.item_spinner);\n String[] itemOptions = {\"10\",\"20\",\"50\", \"100\"};\n\n ArrayAdapter<String> adapter = new ArrayAdapter<>(this,\n android.R.layout.simple_spinner_dropdown_item, itemOptions);\n dropDownNumItems.setAdapter(adapter);\n\n // Create spinner drop down for the\n // frequency of updates\n final Spinner frequencyOfUpdates = findViewById(R.id.freq_ups_drp);\n String[] freqOpts = {\"10min\", \"60min\", \"once per day\"};\n\n ArrayAdapter<String> freqAdapter = new ArrayAdapter<>(this,\n android.R.layout.simple_spinner_dropdown_item, freqOpts);\n frequencyOfUpdates.setAdapter(freqAdapter);\n\n Button button1 = findViewById(R.id.store_pref);\n button1.setOnClickListener(new Button.OnClickListener() {\n public void onClick(View v) {\n\n System.out.println(\"User preferences stored\");\n\n String text = dropDownNumItems.getSelectedItem().toString();\n int choice = Integer.parseInt(text);\n\n // get the selected string of ups freq.\n String upsFreq = frequencyOfUpdates.getSelectedItem().toString();\n\n // Get the URL entered from the user, that will be\n // used to get the RSS feed from\n EditText url_field = findViewById(R.id.enterUrl);\n String prefURL = url_field.getText().toString();\n System.out.println(\"Preferd URL IS \" + prefURL);\n\n // Stores the selected preferences\n SharedPreferences.Editor editor = getSharedPreferences(USER_PREFRENCES, MODE_PRIVATE).edit();\n editor.putString(\"username\", \"bob\");\n editor.putInt(\"numItems\", choice);\n editor.putString(\"url\", prefURL);\n editor.putString(\"freq\", upsFreq);\n editor.apply();\n\n setResult(RESULT_OK, new Intent());\n finish();\n }\n });\n // Now the code is letting the user specify\n // the URL to retrive the RSS.\n System.out.println(\"Selected URL is: \" + selectedURL);\n }", "title": "" }, { "docid": "64d4cda9206981b0339f7feec1795b2a", "score": "0.6531277", "text": "public static void loadGUIPrefs() {\n File fileReference = new File (getApplicationDirectory() + File.separatorChar + \n GUI_PREFS_FILENAME);\n// \"prefs\" + File.separatorChar + GUI_PREFS_FILENAME);\n \n if (fileReference.exists ()) {\n try {\n FileInputStream inputFile = new FileInputStream (fileReference);\n ObjectInputStream inputStream = new ObjectInputStream(inputFile);\n guiPrefs = (GUIPrefs) inputStream.readObject ();\n inputFile.close ();\n }\n catch (Exception exception) {\n exception.printStackTrace ();\n }\n }\n else {\n guiPrefs = new GUIPrefs();\n \n }\n \n setGUIPrefs(guiPrefs);\n }", "title": "" }, { "docid": "975212a540f572e964bed4185eb6f4a7", "score": "0.6509952", "text": "public void loadLunchPrefs() {\n\t\tperiodsFS = secondaryDataBase.amountOfPeriods;\n\t\t// getLunchPref\n\t\tboolean[][] lda = new boolean[secondaryDataBase.lunchPrefs.length][secondaryDataBase.lunchPrefs[0].length];\n\n\t\tfor (int i = 0; i < lda.length; i++) {\n\t\t\tfor (int b = 0; b < lda[0].length; b++) {\n\t\t\t\tlda[i][b] = secondaryDataBase.lunchPrefs[i][b];\n\t\t\t}\n\t\t}\n\n\t\tif (periodsFS == lda[0].length) {\n\n\t\t\tfor (int x = 0; x < lda[0].length; x++) {\n\n\t\t\t\tif (lda[0][x] == true) {\n\t\t\t\t\tcb_09[x].setSelected(true);\n\t\t\t\t}\n\t\t\t\tif (lda[1][x] == true) {\n\t\t\t\t\tcb_10[x].setSelected(true);\n\t\t\t\t}\n\t\t\t\tif (lda[2][x] == true) {\n\t\t\t\t\tcb_11[x].setSelected(true);\n\t\t\t\t}\n\t\t\t\tif (lda[3][x] == true) {\n\t\t\t\t\tcb_12[x].setSelected(true);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else {\n\t\t\t// warning message shows user that the amount of periods changed, to\n\t\t\t// aviod errors, the file was not loaded\n\t\t\tJOptionPane.showMessageDialog(new JFrame(\"Periods do not match\"),\n\t\t\t\t\t\"The period amount have been changed\",\n\t\t\t\t\t\"Periods do not match\", JOptionPane.ERROR_MESSAGE);\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "eb9a3a0db9f14e47288299f788f648c7", "score": "0.6505004", "text": "@Override\n\tpublic void onResume() {\n\t\tsuper.onResume();\n\t\tloadPreferences();\n\t}", "title": "" }, { "docid": "50e8280838d862b540e51d1e61e51039", "score": "0.6503472", "text": "public void save() {\n\t\tSystem.out.println(\"GamePrefences.save()\");\n\n\t\tField[] fields = GamePreferences.class.getDeclaredFields();\n\n\t\tfor (Field field : fields) {\n\n\t\t\t// Reflectively get the name and type of the field\n\t\t\tString propertyName = field.getName();\n\t\t\tString propertyType = field.getType().getName();\n\n\t\t\t// Skip some fields\n\t\t\tif (propertyName == \"TAG\" || propertyName == \"instance\" || propertyName == \"prefs\") {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tfield.setAccessible(true);\n\n\t\t\tSystem.out.print(\"Saving : \" + propertyName + \" of type \" + propertyType\n\t\t\t\t\t+ \" with value = \");\n\n\t\t\t// Switch on the field type\n\t\t\tswitch (propertyType) {\n\t\t\t// Float\n\t\t\t\tcase \"float\":\n\t\t\t\t\ttry {\n\t\t\t\t\t\tFloat value = (Float) field.get(GamePreferences.instance);\n\t\t\t\t\t\tSystem.out.print(value);\n\t\t\t\t\t\tprefs.putFloat(propertyName, value);\n\t\t\t\t\t} catch (IllegalArgumentException | IllegalAccessException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Boolean\n\t\t\t\tcase \"java.lang.Boolean\":\n\t\t\t\tcase \"boolean\":\n\t\t\t\t\ttry {\n\t\t\t\t\t\tBoolean value = (Boolean) field.get(GamePreferences.instance);\n\t\t\t\t\t\tSystem.out.print(value);\n\t\t\t\t\t\t prefs.putBoolean(propertyName, value);\n\t\t\t\t\t} catch (IllegalArgumentException | IllegalAccessException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t// Integer\n\t\t\t\tcase \"int\":\n\t\t\t\tcase \"java.lang.Integer\":\n\t\t\t\tcase \"Integer\":\n\t\t\t\t\ttry {\n\t\t\t\t\t\tInteger value = (Integer)field.getInt(GamePreferences.instance);\n\t\t\t\t\t\tSystem.out.print(value);\n\t\t\t\t\t\tprefs.putInteger(propertyName, value);\n\t\t\t\t\t} catch (IllegalArgumentException | IllegalAccessException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tSystem.out.println(\"------------------------------------------------------------------\");\n\n\t\tprefs.flush();\n\t}", "title": "" }, { "docid": "5016de14e3eaad60c0818605bbca1b77", "score": "0.64980394", "text": "@Override\n public void savePref()\n {\n if (USE_CONFIG_FILE)\n savePrefToConfigFile(currentValue);\n else\n Preferences.userRoot().put(prefName, currentValue);\n }", "title": "" }, { "docid": "80988037d7d455def3344cb75e68fd2c", "score": "0.6483903", "text": "private void LoadPreferences(Context context){\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);\n ms_per_beat = sharedPreferences.getInt(\"bpm\", 100);\n seekBar.setProgress(ms_per_beat);\n /**\n * initialization of speedEdit by value of seekbar\n */\n speedEdit.setText(seekBar.getProgress() + \"\");\n\n Log.i(\"ms_per_beat Load\", ms_per_beat + \"\");\n isFlashlightOn = sharedPreferences.getBoolean(\"isFlashlightOn\", true);\n setFlashImage();\n isSoundOn = sharedPreferences.getBoolean(\"isSoundOn \", true);\n setSoundImage();\n isVibrationOn = sharedPreferences.getBoolean(\"isVibrationOn\", true);\n setVibrationImage();\n isStarted = sharedPreferences.getBoolean(\"isStarted\", false);\n Log.i(\"MAINS LOAD isStarted\", \"\" + isStarted);\n setStarted();\n\n }", "title": "" }, { "docid": "c7a19b918a2b04896ab0d9da0adc13bc", "score": "0.64566475", "text": "private void load() {\n SharedPreferences sharedPref = this.getPreferences(Context.MODE_PRIVATE);\n String data = sharedPref.getString(getString(R.string.data), null);\n if (data != null)\n {\n spreadsheetController.load(data);\n int rows = sharedPref.getInt(getString(R.string.rows), 2);\n int columns = sharedPref.getInt(getString(R.string.columns), 2);\n startTableView(columns, rows);\n Log.i(TAG, \"loaded data: \" + data);\n }\n else\n {\n startTableView(2, 2);\n }\n }", "title": "" }, { "docid": "812ff0d57cdd53a693fd7da0d8e07b8e", "score": "0.64476126", "text": "private void loadXMLPreferences() {\n settings = getPreferences(MODE_PRIVATE);\n\n //suppressNotification = settings.getBoolean(SUPPRESSNOTIFICATION, false);\n }", "title": "" }, { "docid": "1cc9302e2f549db59536332f9a782a1a", "score": "0.63735926", "text": "void saveState(Preferences prefs);", "title": "" }, { "docid": "8b58c028057f99ea84c6e70600652450", "score": "0.6358933", "text": "public void loadAllData() {\n SharedPreferences sharedPreferences = getActivity().getSharedPreferences(SHARED_PREFS, Context.MODE_PRIVATE);\n username = sharedPreferences.getString(USERNAME, \"username\");\n\n //streak = sharedPreferences.getInt(STREAK, 1);\n\n longestStreak = sharedPreferences.getInt(LONGEST_STREAK, 1);\n longestStreakStar = sharedPreferences.getInt(LONGEST_STREAK_STAR, 0);\n\n totalCandiesMade = sharedPreferences.getInt(TOTAL_CANDIES_MADE, 0);\n totalCandiesMadeStar = sharedPreferences.getInt(TOTAL_CANDIES_MADE_STAR, 0);\n\n totalCandiesGraduated = sharedPreferences.getInt(TOTAL_CANDIES_GRADUATED, 0);\n totalCandiesGraduatedStar = sharedPreferences.getInt(TOTAL_CANDIES_GRADUATED_STAR, 0);\n\n totalJarsMade = sharedPreferences.getInt(TOTAL_JARS_MADE, 0);\n totalJarsMadeStar = sharedPreferences.getInt(TOTAL_JARS_MADE_STAR, 0);\n\n totalSugarSpent = sharedPreferences.getInt(TOTAL_SUGAR_SPENT, 0);\n totalSugarSpentStar = sharedPreferences.getInt(TOTAL_SUGAR_SPENT_STAR, 0);\n\n level = sharedPreferences.getInt(LEVEL, 1);\n levelStar = sharedPreferences.getInt(LEVEL_STAR, 0);\n }", "title": "" }, { "docid": "1b848a135c01909f93876f7d74e77d15", "score": "0.63583106", "text": "public void saveSettings() {\n prefs.flush();\n }", "title": "" }, { "docid": "39aa372f4277e16bd984bd05bc1b2b1e", "score": "0.63486445", "text": "public static void loadSettings(){\n\t\t_currentSettings = SettingsUtil.loadSettings();\n\t}", "title": "" }, { "docid": "9f72401bf66fee01ff4f2b5a6b5fe55c", "score": "0.63270724", "text": "private void loadSettings() {\n SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);\n mKeyboardType = Integer.parseInt(sp.getString(PREF_KEYBOARD_TYPE, getResources().getString(R.string.keyboard_type_list_default_value)));\n mVibrateOn = sp.getBoolean(PREF_VIBRATE_ON, true);\n mVibrateDuration = sp.getInt(PREF_VIBRATE_DURATION, getResources().getInteger(R.integer.vibrate_duration_ms));\n mVibrateBugFix = sp.getBoolean(PREF_VIBRATE_BUG_FIX, false);\n mSoundOn = sp.getBoolean(PREF_SOUND_ON, false);\n mAutoCap = sp.getBoolean(PREF_AUTO_CAP, true);\n \n mSwipeEnabled = sp.getBoolean(PREF_SWIPE_ENABLED, true);\n mSwipeUp = Integer.parseInt(sp.getString(PREF_SWIPE_UP, getResources().getString(R.string.swipe_up_default)));\n mSwipeDown = Integer.parseInt(sp.getString(PREF_SWIPE_DOWN, getResources().getString(R.string.swipe_down_default)));\n mSwipeLeft = Integer.parseInt(sp.getString(PREF_SWIPE_LEFT, getResources().getString(R.string.swipe_left_default)));\n mSwipeRight = Integer.parseInt(sp.getString(PREF_SWIPE_RIGHT, getResources().getString(R.string.swipe_right_default)));\n mSwipeKeyboardLayout = sp.getString(PREF_SWIPE_KEYBOARD_LAYOUT, getResources().getString(R.string.swipe_keyboard_layout));\n mSwipeDictionary = sp.getString(PREF_SWIPE_DICTIONARY, getResources().getString(R.string.swipe_dictionary));\n mSkin = sp.getString(PREF_SKIN, getResources().getString(R.string.skin_default_value));\n \n mKeyboardLayout = Integer.parseInt(sp.getString(PREF_KEYBOARD_LAYOUT, getResources().getString(R.string.keyboard_layout_list_default_value)));\n mDictionaryManually = sp.getBoolean(PREF_DICTIONARY_MANUALLY, false);\n mDictionary = sp.getString(PREF_DICTIONARY, getResources().getString(R.string.dictionary_list_default_value));\n createLetterSymbolArray();\n \n mQuickFixes = sp.getBoolean(PREF_QUICK_FIXES, false);\n // If there is no auto text data, then quickfix is forced to \"on\", so that the other options\n // will continue to work\n if (AutoText.getSize(mInputView) < 1) mQuickFixes = true;\n if(mKeyboardLayout != 2 && !mDictionaryManually || mDictionaryManually &&\n !(mDictionary.contains(getResources().getString(R.string.dictionary_builtin_name)) || mDictionary.equals(getResources().getString(R.string.dictionary_builtin_pkg))))\n mQuickFixes = false;\n mShowSuggestions = sp.getBoolean(PREF_SHOW_SUGGESTIONS, true);// & mQuickFixes;\n boolean autoComplete = sp.getBoolean(PREF_AUTO_COMPLETE,\n getResources().getBoolean(R.bool.enable_autocorrect));// & mShowSuggestions;\n mAutoCorrectOn = mSuggest != null && (autoComplete || mQuickFixes);\n mCorrectionMode = autoComplete\n ? Suggest.CORRECTION_FULL\n : ((mQuickFixes || mShowSuggestions) ? Suggest.CORRECTION_BASIC : Suggest.CORRECTION_NONE);\n mAutoDictionaryEnabled = sp.getBoolean(PREF_AUTO_DICTIONARY_ENABLE, true);\n mAutoDictionaryLimit = Integer.parseInt(sp.getString(PREF_AUTO_DICTIONARY_LIMIT, getResources().getString(R.string.auto_dictionary_limit_default)));\n mAutoDictionaryCaseSensitive = sp.getBoolean(PREF_AUTO_DICTIONARY_CASE_SENSITIVE, false);\n mAutoDictionary.loadSettings();\n mSpaceAfterPrediction = sp.getBoolean(PREF_SPACE_AFTER_PREDICTION, true);;\n mSwapColon = sp.getBoolean(PREF_SWAP_COLON, true);\n \n boolean atIsWordSeparator = sp.getBoolean(PREF_AT_IS_WORD_SEPARATOR, true);\n if(!atIsWordSeparator)\n mWordSeparators = mWordSeparators.replace(\"@\", \"\");\n else if(!mWordSeparators.contains(\"@\"))\n mWordSeparators += \"@\";\n }", "title": "" }, { "docid": "7836306a1d674df9b1f8c5f256beee21", "score": "0.6326284", "text": "void getPreferencesFromActivity() {\n\t\tSharedPreferences prefs = PreferenceManager\n\t\t\t\t.getDefaultSharedPreferences(this);\n\t\tsetSoundEnabled(prefs.getBoolean(\"soundEnabledPref\", true));\n\t\tsetTimePressureWarningEnabled(prefs.getBoolean(\n\t\t\t\t\"timePressureWarningPref\", true));\n\t\tmShakeEnabled = prefs.getBoolean(\"shakeToResetPref\", true);\n\t\tmFlipEnabled = prefs.getBoolean(\"flipToPausePref\", true);\n\n\t\tlong duration = Long.parseLong(prefs.getString(\"durationPref\", \"5\"));\n\t\tsetDuration(duration * 60 * 1000);\n\n\t\tint delayMethodId = Integer.parseInt(prefs.getString(\"delayMethodPref\",\n\t\t\t\t\"0\"));\n\t\tsetDelayMode(DelayMode.fromOrdinal(delayMethodId));\n\n\t\tlong delayTime = Long.parseLong(prefs.getString(\"delayTimePref\", \"1\"));\n\t\tsetDelayTime(delayTime * 1000);\n\t}", "title": "" }, { "docid": "5972e906a0f5d716a7f6604ed9a3141a", "score": "0.63194466", "text": "private void loadFromSharedFile() {\n\t\tSharedPreferences sharedPref = getSharedPreferences(\n\t\t\t\tgetString(R.string.preference_file_key), Context.MODE_PRIVATE);\n\t\tString buttonID = Integer.toString(gestureToggleButton.getId());\n\t\tString storedUserName = sharedPref.getString(\n\t\t\t\tLoginActivity.saveIdForUserName, null);\n\t\tboolean buttonStatus = sharedPref.getBoolean(buttonID, false);\n\t\tbuddyGuardTimerActivated = sharedPref.getBoolean(\n\t\t\t\tIAmHereActivity.BUDDYGUARD_TIMER, false);\n\t\tif (gestureToggleButton != null)\n\t\t\tgestureToggleButton.setChecked(buttonStatus);\n\t\tif (storedUserName != null && userName != null) {\n\t\t\tuserName = storedUserName;\n\t\t}\n\t}", "title": "" }, { "docid": "2576d9c62ddcee639b6b354f4a9d2e45", "score": "0.6315315", "text": "public void loadState() {\n \tif(sharedPrefs.getBoolean(\"GENDER\", optMale.isChecked())) optMale.setChecked(true);\n \telse optFemale.setChecked(true);\n \tbirthdayDatePicker.updateDate(\n\t\t\tsharedPrefs.getInt(\"YEAR\", birthdayDatePicker.getYear()),\n\t\t\tsharedPrefs.getInt(\"MONTH\", birthdayDatePicker.getMonth()),\n\t\t\tsharedPrefs.getInt(\"DAY\", birthdayDatePicker.getDayOfMonth())\n \t);\n \tactivityLevelSpinner.setSelection(sharedPrefs.getInt(\"ACTIVITY_LEVEL\", activityLevelSpinner.getSelectedItemPosition()));\n \theightFeetEditText.setText(loadInt(\"HEIGHT_FEET\"));\n \theightInchesEditText.setText(loadInt(\"HEIGHT_INCHES\"));\n \tstartingWeightEditText.setText(loadInt(\"STARTING_WEIGHT\"));\n \tgoalWeightEditText.setText(loadInt(\"GOAL_WEIGHT\"));\n }", "title": "" }, { "docid": "76d02b75ed4e88f93b61d821d407c08c", "score": "0.63097155", "text": "public void load(){\n\t\tFileReader reader;\n\t\tproperties = new Properties();\n\t\ttry {\n\t\t\treader = new FileReader(new File(settings_path));\n\t\t\tproperties.load(reader);\n\t\t} catch (FileNotFoundException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "0eac74860ee93c46e635f7c2d1dc7f47", "score": "0.6297447", "text": "private void loadFavorites() {\n Map<String,?> keys = sharedPreferences.getAll();\n for(Map.Entry<String,?> entry : keys.entrySet()){\n displayFavorite(entry);\n }\n\n }", "title": "" }, { "docid": "17df4d2a6c1a83499925bb04a244b85d", "score": "0.6275359", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n addPreferencesFromResource(R.xml.preferences);\n \n sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n \n listPreferenceSourceLanguage = (ListPreference) getPreferenceScreen().findPreference(KEY_SOURCE_LANGUAGE_PREFERENCE);\n listPreferenceOcrEngineMode = (ListPreference) getPreferenceScreen().findPreference(KEY_OCR_ENGINE_MODE);\n listPreferenceTranslateLanguageMode = (ListPreference) getPreferenceScreen().findPreference(KEY_TRANSLATE_LANGUAGE_MODE);\n }", "title": "" }, { "docid": "4e1994c7b5f35a4dbab8dd35882eea64", "score": "0.6269659", "text": "@Override\n\tprotected void onResume()\n\t{\n\t\tsuper.onResume();\n\t\tString s = this.getPreferences(MODE_PRIVATE).getString(\"key\", \"\");\n\t}", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "e560cc85aeed596910d26dad15777309", "score": "0.6263412", "text": "ReadOnlyUserPrefs getUserPrefs();", "title": "" }, { "docid": "4f46e72eb9d2c027f2882e468a689334", "score": "0.6255379", "text": "void loadData() {\n SharedPreferences sharedPreferences = getSharedPreferences(\"Data\", Context.MODE_PRIVATE);\n name = sharedPreferences.getString(\"Name\", DEFAULT);\n code = sharedPreferences.getString(\"CountryCode\", DEFAULT);\n number = sharedPreferences.getString(\"Phone\", DEFAULT);\n\n // checking the collected data and putting it to screen\n if (name.equals(DEFAULT) || code.equals(DEFAULT) || number.equals(DEFAULT)) {\n Toast.makeText(UserInformation.this, \"No data was found\", Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(UserInformation.this, \"Data loaded Successfully\", Toast.LENGTH_SHORT).show();\n tvName.setText(name);\n tvCode.setText(code);\n tvNumber.setText(number);\n }\n }", "title": "" }, { "docid": "26feb91ef209ec704c744d906a1f4631", "score": "0.6252708", "text": "private void loadData(){\n SharedPreferences sharedPreferences = getSharedPreferences(\"shared preferences\", MODE_PRIVATE);\n Gson gson = new Gson();\n String json = sharedPreferences.getString(\"game list\", null);\n Type type = new TypeToken<ArrayList<String>>() {}.getType();\n gameList = gson.fromJson(json, type);\n\n if(gameList == null){\n gameList = new ArrayList<>();\n }\n }", "title": "" }, { "docid": "d28d2b128b899990bafb3f3727d9b24e", "score": "0.6252158", "text": "void clearPreferences() {\n SharedPreferences.Editor prefsEdit = storedPreferences.edit();\n prefsEdit.clear().apply();\n readSuperProperties();\n }", "title": "" }, { "docid": "36dcf82b9cd0310257fa463ab14cfc4b", "score": "0.6252039", "text": "public ApplicationPreferences getPreferences();", "title": "" }, { "docid": "c8fe5123427032e6fdef3e8641cb0050", "score": "0.62467706", "text": "private void initializeValues() {\n \t\tIPreferenceStore store = getPreferenceStore();\n \t\tpruneEmptyDirectoriesField.setSelection(store.getBoolean(ICVSUIConstants.PREF_PRUNE_EMPTY_DIRECTORIES));\n \t\ttimeoutValue.setText(new Integer(store.getInt(ICVSUIConstants.PREF_TIMEOUT)).toString());\n \t\tquietnessCombo.add(Policy.bind(\"CVSPreferencePage.notquiet\"));\n \t\tquietnessCombo.add(Policy.bind(\"CVSPreferencePage.somewhatquiet\"));\n \t\tquietnessCombo.add(Policy.bind(\"CVSPreferencePage.reallyquiet\"));\n \t\tquietnessCombo.select(store.getInt(ICVSUIConstants.PREF_QUIETNESS));\n \t\thistoryTracksSelectionButton.setSelection(store.getBoolean(ICVSUIConstants.PREF_HISTORY_TRACKS_SELECTION));\n \t\tconsiderContentsInCompare.setSelection(store.getBoolean(ICVSUIConstants.PREF_CONSIDER_CONTENTS));\n \t}", "title": "" }, { "docid": "5a518e1d5780e7529c7188f706f928b0", "score": "0.62436885", "text": "private void getDataFromSharedPreference() {\n String text = preferences.getString(\"editTextId\", \"\");\n Boolean chk = preferences.getBoolean(\"isChecked\", false);\n\n if (chk.equals(true)) {\n loginEmailTextInputEditText.setText(text);\n checkBoxIdSave.setChecked(true);\n }\n }", "title": "" }, { "docid": "d9103696b840feada7bae5f9e56d1b2b", "score": "0.6241451", "text": "@Override\n public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {\n addPreferencesFromResource(R.xml.pref_visualizer);\n\n // Make PreferenceScreen and SharedPreference objects\n PreferenceScreen prefScreen = getPreferenceScreen();\n SharedPreferences sharedPref = prefScreen.getSharedPreferences();\n\n // Get the count of the all preferences\n int count = prefScreen.getPreferenceCount();\n\n // Go through each preference\n // Set the summary for preferences that are not CheckboxPreference\n for (int i = 0; i < count; i++) {\n Preference p = prefScreen.getPreference(i);\n if (!(p instanceof CheckBoxPreference)){\n setPrefSummaries(p, sharedPref.getString(p.getKey(), \"\"));\n }\n }\n\n }", "title": "" }, { "docid": "dfc4dfeb59add6a36303b1e3af1f5b4a", "score": "0.6233342", "text": "private void guardarPreferencias(){\n SharedPreferences preferences=getSharedPreferences(\"preferenciasLogin\", Context.MODE_PRIVATE);\n SharedPreferences.Editor editor=preferences.edit();\n editor.putString(\"nick\", nick);\n editor.putString(\"pass\", pass);\n editor.putBoolean(\"sesion\", true);\n editor.commit();\n }", "title": "" }, { "docid": "f026e42ad2512ce0aee4979ae595d0ab", "score": "0.62241596", "text": "private void saveData() {\n AppPreferenceUtils.setUserData(this, mUser);\n }", "title": "" }, { "docid": "2c73d674f11ae0559ff09ce16024fe34", "score": "0.62106854", "text": "private void getSettingsFromPreferences() {\n for (int i=0; i<booleanSettingsKeys.length; i++) {\n booleanSettingsValues[i] = preferences.getBoolean(booleanSettingsKeys[i], booleanSettingsValues[i]);\n }\n for (int i=0; i<stringSettingsKeys.length; i++) {\n stringSettingsValues[i] = preferences.get(stringSettingsKeys[i], stringSettingsValues[i]);\n }\n for (int i=0; i<fontFamilySettingsKeys.length; i++) {\n fontFamilySettingsValues[i] = preferences.get(fontFamilySettingsKeys[i], fontFamilySettingsValues[i]);\n fontStyleSettingsValues[i] = preferences.get(fontStyleSettingsKeys[i], fontStyleSettingsValues[i]);\n fontSizeSettingsValues[i] = preferences.get(fontSizeSettingsKeys[i], fontSizeSettingsValues[i]);\n }\n for (int i=0; i<colorSettingsKeys.length; i++) {\n colorSettingsValues[i] = preferences.get(colorSettingsKeys[i], colorSettingsValues[i]);\n }\n getEditorSyntaxStyleSettingsFromPreferences();\n }", "title": "" }, { "docid": "31cca9d62adbd98a5b7c8ec78ff7672e", "score": "0.6198886", "text": "private static void loadDefault()\r\n {\r\n for(Property p : Property.values())\r\n {\r\n prefs.put(p.name(), p.getDefaultValue());\r\n changes.clear();\r\n }\r\n prefs.put(empty, isEmpty);\r\n }", "title": "" }, { "docid": "bbe4df26e74f2b63f9fabc3deef1ba42", "score": "0.61954665", "text": "private void getPrefs() {\n\t\tString label;\n\t\tmaxit=(int)Prefs.get(\"PoissonNTF.maxit\", maxit);\n\t\tsegbias=Prefs.get(\"PoissonNTF.segbias\", segbias);\n\t\tsaturation_threshold=Prefs.get(\"PoissonNTF.saturation_threshold\", saturation_threshold);\n\t\tbg_threshold=Prefs.get(\"PoissonNTF.bg_threshold\", bg_threshold);\n\t\tbg_choice=Prefs.get(\"PoissonNTF.bg_choice\", \"none\");\n\t\tsubsamples=(int)Prefs.get(\"PoissonNTF.subsamples\", subsamples);\n\n\t\t//choice of initial spectra and decision to keep some spectra fixed\n\t\tif ((int)Prefs.get(\"PoissonNTF.ndyes\",0)==ndyes)\n\t\t{\n\t\t\tfor(int dye=0; dye<ndyes; dye++)\n\t\t\t{\t\t\t\n\t\t\t\tlabel=\"PoissonNTF.Dye_\";\n\t\t\t\tlabel=label.concat(Integer.toString(dye+1));\n\t\t\t\tspec_choice[dye]=Prefs.get(label, \"none\");\n\t\t\t\tlabel=\"PoissonNTF.DyeFixed_\";\n\t\t\t\tlabel=label.concat(Integer.toString(dye+1));\n\t\t\t\tspectra_fixed[dye]=Prefs.get(label, false);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "416b6dbdba636e3c667aecadd3930daa", "score": "0.618776", "text": "public Preferences getPrefs() {\n return prefs;\n }", "title": "" }, { "docid": "981d0bf0faaa4bd7c1dce4ba3cc3c0de", "score": "0.6156555", "text": "private SharedPreferences getPrefs() {\n return context.getSharedPreferences(PREF_KEY_ID, Context.MODE_PRIVATE);\n }", "title": "" }, { "docid": "73aa8586f7371545bc50847aa40ef034", "score": "0.6141141", "text": "public void saveValues(View view){\n String val = spnColor1.getSelectedItem().toString();\n String val2 = spnColor2.getSelectedItem().toString();\n String val3 = spnGrid.getSelectedItem().toString();\n String val4 = spnDifficulty.getSelectedItem().toString();\n\n //Checks to see if colour1 and colour 2 are different\n if(val.equalsIgnoreCase(val2)){\n Toast.makeText(Settings.this,\"Color 1 and 2 must be different!\",\n Toast.LENGTH_SHORT).show();\n }\n else{\n SharedPreferences.Editor editor = sharedpreferences.edit();\n\n //Format is:editor.putString(\"key\",value);\n editor.putString(col1,val);\n editor.putString(col2,val2);\n editor.putString(size,val3);\n editor.putString(difficulty,val4);\n\n //Saves the value to local storage\n editor.commit();\n\n Toast.makeText(Settings.this,\"Settings saved!\",Toast.LENGTH_SHORT).show();\n startActivity(new Intent(Settings.this, Game.class));\n }\n\n }", "title": "" }, { "docid": "de18823f9d8efe3bd6daa14c199be531", "score": "0.61350113", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) \n\t{\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.shared_prefs);\n\t\tintialise();\n\t\tbSave.setOnClickListener(this);\n\t\tbLoad.setOnClickListener(this);\n\t\t//Created a file with file name \"MyFile\" and 0 repersent private mode\n\t\tsaveData=getSharedPreferences(fileName,0);\n\t\t\n\t}", "title": "" }, { "docid": "c8a6a3cb76bd3a06b799661461685113", "score": "0.612648", "text": "@Override\n protected void onPause() {\n SharedPreferences.Editor editor = savedValues.edit();\n editor.putString(\"billAmountString\", billAmountString);\n editor.putFloat(\"tipPercent\", tipPercent);\n editor.putInt(\"rounding\",rounding);\n editor.putInt(\"split\",split);\n editor.commit();\n\n super.onPause();\n }", "title": "" }, { "docid": "9cbd66f366d3d121c2998f907d2d8302", "score": "0.61250246", "text": "public void handlePrefs() {\n // make sure this blocks until finished\n preferences.showFrame();\n \n // may need to rebuild sketch and other menus\n applyPreferences();\n \n // next have editor do its thing\n //editor.appyPreferences();\n }", "title": "" }, { "docid": "cf98908bb22dfb9d3584b706418ffbf9", "score": "0.61020404", "text": "void load() {\n LoginUserField.setText(NbPreferences.forModule(BittlePanel.class).get(\"username\", \"\"));\n LoginPassField.setText(NbPreferences.forModule(BittlePanel.class).get(\"password\", \"\"));\n CurrentDirectoryField.setText(NbPreferences.forModule(BittlePanel.class).get(\"path\", \"\"));\n }", "title": "" }, { "docid": "f721a88306bfe4ae78e519d863f2cbb0", "score": "0.6100553", "text": "private void createPreferences() {\n if (ifNoExistPreferences()) {\n SharedPreferences.Editor editor = preferences.edit();\n editor.putInt(\"WatchWelcome\", 1);\n editor.putInt(\"NumTargetsGuides\", 1);\n editor.putInt(\"NumTargetsRecipes\", 1);\n editor.putInt(\"NumTargetsFoods\", 1);\n editor.putInt(\"NumTargetsFollows\", 1);\n editor.putInt(\"NumTargetsQuestions\", 1);\n editor.putInt(\"NumTargetsTreatments\", 1);\n editor.putInt(\"NumTargetsFollowsDay\",1);\n editor.putInt(\"ColorApp\", 1);\n editor.putString(\"Cargar\", \"no\");\n editor.putString(\"Email\", \"no email\");\n editor.putString(\"RememberEmail\",\"\");\n editor.putString(\"RememberPassword\",\"\");\n editor.putString(\"PhoneEmergency\",\"\");\n editor.apply();\n }\n email = preferences.getString(\"Email\", \"\");\n }", "title": "" }, { "docid": "70aa1ec70bf288e4465bf82e45890f88", "score": "0.60997564", "text": "public void setPreferences() {\n Intent intent = new Intent(this, Settings.class);\n //startActivity(intent); //this we can use if we DONT CARE ABOUT RESULT\n\n //we can use this, if we need to know when the user exists our preference screens\n startActivityForResult(intent, 1);\n }", "title": "" }, { "docid": "f6453fd4b9d02224a078f982646b9a4c", "score": "0.6097587", "text": "public SharedPreferences getSharedPreferences();", "title": "" }, { "docid": "815543c65f2738dc78f71e86dd84fe4f", "score": "0.60761034", "text": "private void loadMain(){\n EditText kayttajanNimi = (EditText) findViewById(R.id.kayttajanNimi);\n EditText kayttajanIka = (EditText) findViewById(R.id.kayttajanIka);\n Switch MN = (Switch) findViewById(R.id.miesNainen);\n boolean SwitchState = MN.isChecked();\n SharedPreferences sp = getSharedPreferences(AVAIN,Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sp.edit();\n String nimi = kayttajanNimi.getText().toString();\n int ika = Integer.parseInt(kayttajanIka.getText().toString());\n editor.putBoolean(\"SUKUPUOLI\", SwitchState);\n editor.putString(\"NIMI\", nimi);\n editor.putInt(\"IKA\",ika);\n editor.putBoolean(\"FIRST_TIME\", false);\n editor.commit();\n }", "title": "" }, { "docid": "d196506c1cc4f89a4634ce49506d6cd8", "score": "0.606353", "text": "private String getUserDataFromPref() {\n return getPreferences().getString(PrefernceConstants.USER_DATA, null);\n }", "title": "" }, { "docid": "348b0eb869dfb196ed7e3cbb295a270c", "score": "0.6024832", "text": "private static SharedPreferences getSharedPreferences(){\n return MyApp.getContext().getSharedPreferences(APP_SETINGS_FILE, Context.MODE_PRIVATE);\n }", "title": "" }, { "docid": "052e54964494d460d97046127b8427e8", "score": "0.601495", "text": "@Override\n protected void refreshPrefs() {\n }", "title": "" }, { "docid": "018150b510f4cf4863780bed64a9a361", "score": "0.6009493", "text": "private void loadSettings() {\r\n\t\tSettings settings = Settings.getSettings();\r\n\t\toptionsPane.loadSettings(settings);\r\n\t}", "title": "" }, { "docid": "b60c9f6178c9c9fdc90cf69b6f5c6a4c", "score": "0.60068303", "text": "public HashMap<String, String> listPreferences() {\n \t\tHashMap<String, String> settings = new HashMap<String, String>();\n \t\tCursor cursor = database.query(PREFERENCES_TABLE, new String[] {\n \t\t\t\tKEY_COL, VALUE_COL }, null, null, null, null, null);\n \t\tif (cursor != null) {\n \t\t\tif (cursor.getCount() > 0) {\n \t\t\t\tcursor.moveToFirst();\n \t\t\t\tdo {\n \t\t\t\t\tsettings.put(cursor.getString(cursor\n \t\t\t\t\t\t\t.getColumnIndexOrThrow(KEY_COL)), cursor\n \t\t\t\t\t\t\t.getString(cursor.getColumnIndexOrThrow(VALUE_COL)));\n \t\t\t\t} while (cursor.moveToNext());\n \t\t\t}\n \t\t\tcursor.close();\n \t\t}\n \t\treturn settings;\n \t}", "title": "" }, { "docid": "8893c0a5ddc1561cc23d75c41e811542", "score": "0.6002443", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n addPreferencesFromResource(R.xml.settings_main);\n // Find the preference we’re interested in and then bind the current preference value to be displayed\n // Use its findPreference() method to get the Preference object. To help us with binding the value that’s in SharedPreferences to what will show up in the preference summary, we’ll create a help method and call it\n Preference minArticles = findPreference(getString(R.string.settings_number_of_articles_key));\n // in order to update the preference summary when the settings activity is launched we setup the bindPreferenceSummaryToValue() helper method and which we used in onCreate()\n bindPreferenceSummaryToValue(minArticles);\n\n Preference orderBy = findPreference(getString(R.string.settings_order_by_key));\n bindPreferenceSummaryToValue(orderBy);\n\n }", "title": "" }, { "docid": "561a246e5eed9d3551aebd8d362edd57", "score": "0.59987915", "text": "private void saveValuesToPreferences() {\r\n GemCutter.getPreferences().put(SWITCH_WORKSPACE_KIND_PREF_KEY, getKind().toString());\r\n \r\n if (shouldUseFileBasedDeclaration()) {\r\n GemCutter.getPreferences().put(SWITCH_WORKSPACE_FILE_BASED_DECLARATION_FILE_NAME_PREF_KEY, getFileBasedDeclarationFileName().toString());\r\n }\r\n }", "title": "" }, { "docid": "63208ea572d65f50d1e1c5352bf479cc", "score": "0.59970576", "text": "@Override\r\n\tpublic void onCreate(Bundle savedInstanceState) {\r\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\taddPreferencesFromResource(R.xml.preferences);\r\n\r\n\t\t// Get a reference to the preferences\r\n\t\tListPreference LPref;\r\n\t\tEditTextPreference ETPref;\r\n\r\n\t\tETPref = (EditTextPreference) getPreferenceScreen().findPreference(\r\n\t\t\t\t\"offset\");\r\n\r\n\t\tETPref.setSummary(ETPref.getText() + \" \"\r\n\t\t\t\t+ getResources().getText(R.string.Offset_text));\r\n\r\n\t\tLPref = (ListPreference) getPreferenceScreen().findPreference(\"mensa\");\r\n\t\tLPref.setSummary(LPref.getEntry());\r\n\r\n\t\tLPref = (ListPreference) getPreferenceScreen().findPreference(\r\n\t\t\t\t\"preiskat\");\r\n\t\tLPref.setSummary(LPref.getEntry());\r\n\r\n\t\tLPref = (ListPreference) getPreferenceScreen()\r\n\t\t\t\t.findPreference(\"sprache\");\r\n\t\tLPref.setSummary(LPref.getEntry());\r\n\t}", "title": "" }, { "docid": "59544f19cc59d08256fed9aed6eb127c", "score": "0.59925795", "text": "public void store() {\n if (preferenceStore == null) {\n \t\t\treturn;\n \t\t}\n \n if (isDefaultPresented) {\n preferenceStore.setToDefault(preferenceName);\n } else {\n doStore();\n }\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "724457b872bd53ad27b836ac0d2bb7a2", "score": "0.0", "text": "@Override\n public void afterTextChanged(Editable arg0) {\n String text = editsearch.getText().toString().toLowerCase(Locale.getDefault());\n adapter.filter(text);\n }", "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}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.6490277", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "49f82de84791f2d90dd9ea5cce118bf5", "score": "0.6314085", "text": "@Override\r\n\tpublic void ader() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a4dcc093d4ff3452de6ac444aececdf1", "score": "0.61316955", "text": "public void ausgabeZugFiguren() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "9144a32a2cd5a72f1d1380aa1f1d5f09", "score": "0.6092728", "text": "public void mo5774g() {\n }", "title": "" }, { "docid": "19def8ee9a9cacfd168fa29cb08dcee2", "score": "0.6080876", "text": "@Override\n\tpublic void vaccination()\n\t{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6071615", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "99bd004e44dd7019c8ef01a44a9b3eab", "score": "0.6067535", "text": "@Override\r\n\tpublic void breah() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.60653234", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.60653234", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "db1df23a1dd6753a6267bb04b332bf85", "score": "0.6054585", "text": "public void mo12026a() {\n }", "title": "" }, { "docid": "e46610ee0bd6f029738af766fdc21054", "score": "0.59955573", "text": "@Override\r\n\tpublic void vender() {\n\r\n\t}", "title": "" }, { "docid": "d0738cb6f0934e8c2706f8cceaa57916", "score": "0.5969007", "text": "@Override\r\n\tpublic void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "15d6b98b279429b150a682bd6349a355", "score": "0.59551615", "text": "@Override\n\tpublic void fertilise() {\n\t\t\n\t}", "title": "" }, { "docid": "cce0c669162940d6a1e5e611c61410b3", "score": "0.59530795", "text": "@Override\r\n\tpublic void getDirect() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8c3354ae13a827b8d836df56c4c510d8", "score": "0.59508646", "text": "@Override\n protected void init() {\n\n\n }", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935938", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "b9e40f8e651069ba40a35ef1db458ce9", "score": "0.59202784", "text": "@Override\r\n\tpublic void tyres() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cad86041007c052466e6525bc7dcd8c8", "score": "0.5901697", "text": "@Override\r\n\tpublic void trasation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5d9f4634054e808deccea8846817de31", "score": "0.588331", "text": "@Override\r\n\tpublic void vola() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d0b7e3f5544447dc12bf9d1bad50a34b", "score": "0.5864994", "text": "public void mo40391a() {\n }", "title": "" }, { "docid": "ff6eb8b61c178f23b971412958c256c8", "score": "0.58641464", "text": "@Override\n\tpublic void ate() {\n\t\t\n\t}", "title": "" }, { "docid": "c64411f2d7b4359b656294e598122466", "score": "0.58560646", "text": "public void mo1294d() {\n }", "title": "" }, { "docid": "d29a027cc93fdf42445fadb149d49da1", "score": "0.5855024", "text": "public void mo1184a() {\n }", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.5849603", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "e04f934fbe00df663fa9d5d545a1a729", "score": "0.5842969", "text": "@Override\n public void sporcuPuaniGoster() {\n\n }", "title": "" }, { "docid": "d48ac35465c27e31c1f21be54513f8f9", "score": "0.58330834", "text": "@Override\r\n\tpublic void pirntA() {\n\r\n\t}", "title": "" }, { "docid": "ad7fe50be28bd3c3d7952d71f935957c", "score": "0.5829554", "text": "@Override\n\t\t\tpublic void work() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "63519e7beede7b06dcebbca99514f5c5", "score": "0.57981986", "text": "@Override\n\tprotected void salirsePorXIzq() {\n\t\t\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "53519f34ca6dc9b2249e5bf2a0182992", "score": "0.5762815", "text": "@Override\n\tpublic void Avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d92a1f963aafb73b8192e677b33d128f", "score": "0.57472074", "text": "@Override\n\tpublic void postConstruct() {\n\n\t}", "title": "" }, { "docid": "e3fcb762f77cfc9168a1bc0d865ded42", "score": "0.574678", "text": "@Override\n\tprotected void crier() {\n\t\t\n\t}", "title": "" }, { "docid": "770cd968ebdff1a71e678a800372d8c6", "score": "0.57460904", "text": "@Override\r\n\tpublic void afisareDatepers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "260bb3e9c481a3e03724071c87239711", "score": "0.574225", "text": "private void m11272q() {\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "28872bba7a5c17cad13c73f21624cabc", "score": "0.57069", "text": "@Override\n\tpublic void CreateRs() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "3d6cdc1afb7138b4083b3a4a65f01db1", "score": "0.5702478", "text": "public void mo10296b() {\n }", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5683637", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "cc07b6e925fefd34942bfb2fd21e818a", "score": "0.56719893", "text": "public void ausgabeFiguren() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "f5766311eecc43fe076ad8e87f995b64", "score": "0.56654924", "text": "@Override\r\n\tvoid erstelleGebäude() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9b8a44f27329437a5b3f89427b894c91", "score": "0.56609863", "text": "public void mo36058a() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "3a2534d5fb04e020e5849904bbe4720a", "score": "0.56515974", "text": "@Override\r\n\tprotected void geJiage() {\n\t\tsuper.geJiage();\r\n\t}", "title": "" }, { "docid": "02e1bc278c2b2caf23edb429d02b85c0", "score": "0.56482685", "text": "@Override\n\tprotected void initialise() {\n\t\n }", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.5642345", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "674d6b47736013d84190eed15130aad6", "score": "0.5641662", "text": "@Override\n\tpublic void obtenerPrecalculados() {\n\t\t\n\t}", "title": "" }, { "docid": "6754b5dbf617cd4b6315568f4ba45bc3", "score": "0.56412077", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "6754b5dbf617cd4b6315568f4ba45bc3", "score": "0.56412077", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "0ba831513140db25039c80559d16603f", "score": "0.5636391", "text": "@Override\n \tpublic void process_6() {\n \n \t}", "title": "" }, { "docid": "af9170e83e6f26bfa1f5e7b9cdbc491a", "score": "0.5623968", "text": "@Override\r\n public void initData() {\n\r\n }", "title": "" }, { "docid": "af9170e83e6f26bfa1f5e7b9cdbc491a", "score": "0.5623968", "text": "@Override\r\n public void initData() {\n\r\n }", "title": "" }, { "docid": "eb2ec3c736f6af0e79bde71492b6d2dd", "score": "0.56177896", "text": "@Override\n public int arność() {\n return 2;\n }", "title": "" }, { "docid": "870d28e8c0326c2e585508a88499e108", "score": "0.5607548", "text": "private void init() {\n\t\t\t\t\n\t\n\t}", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.56050456", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.56050456", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "d69d82cd185340d978c1a70fb66c01db", "score": "0.560443", "text": "public void mo5773f() {\n }", "title": "" }, { "docid": "ccba64a54b47095e22d528bff878aff1", "score": "0.5600534", "text": "@Override\r\n public String toString()\r\n {\n return null;\r\n }", "title": "" }, { "docid": "c1e6f049bd0a6f8cdd055f88f3b45eaa", "score": "0.5596128", "text": "public void mo80311c() {\n }", "title": "" }, { "docid": "bc4c805ce86377a96c35c50ef04ab983", "score": "0.55958176", "text": "@Override\n\tprotected void initAfterData() {\n\t}", "title": "" }, { "docid": "0d47d46f06beb83b10147b5efbda9e6b", "score": "0.55933857", "text": "@Override\r\n\tpublic void see() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1d69f38b94702675a7a6d7b4ca002e6d", "score": "0.5592467", "text": "@Override\n\tpublic void init()\n\t{\n\n\t}", "title": "" }, { "docid": "822226d86d7514db3081754cf8a8d3b3", "score": "0.55916166", "text": "@Override\n\t\tpublic void rest() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "fb9a873c01eb354c85aac7a220fbaac2", "score": "0.5588414", "text": "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c47723cc77bfdfbeac347959926f9a12", "score": "0.55856144", "text": "@Override\n protected void initialize() {\n\n }", "title": "" } ]
c75e94eadb2799120d96490ccaaa907e
get a string value of a property
[ { "docid": "9aaf2156a1efeb632afbbe7d4a39ed6d", "score": "0.70253396", "text": "public String getStringValue(String property) {\n if (!containsKey(property))\n return null;\n Object value = get(property);\n if (value == null)\n return null;\n\n if (value instanceof String)\n return (String) value;\n\n return value.toString();\n }", "title": "" } ]
[ { "docid": "761029731c1437446968bc7086c8fab0", "score": "0.8263641", "text": "public String propertyString();", "title": "" }, { "docid": "3b0143befe89835c4c90addf506bd77f", "score": "0.8263208", "text": "String getProperty();", "title": "" }, { "docid": "05a33d0ae0307d9b78f7d7b6ae183d8c", "score": "0.772136", "text": "public String getStringProperty(Object key);", "title": "" }, { "docid": "0d59aad2fa9e22ba3e43e0fe19c2a825", "score": "0.7710417", "text": "public String getProperty(String p)\r\n { return prop.getProperty(p); }", "title": "" }, { "docid": "35fbab608a17eada4d98d13d7c43c574", "score": "0.7582615", "text": "public String getProperty(){\n return property;\n }", "title": "" }, { "docid": "681b20d8ceb1ec9640b7bb97a318fe01", "score": "0.7473776", "text": "public String getProperty()\n {\n return property;\n }", "title": "" }, { "docid": "f0033a87b033913317949db9134fbe69", "score": "0.7414269", "text": "public String getProperty() {\r\n return property;\r\n }", "title": "" }, { "docid": "96318df69ae98308dfa0e9401fbb666e", "score": "0.7391223", "text": "String fetchValue(String propertyKey);", "title": "" }, { "docid": "a8cf694957cb2df679e1fb9060eb2cef", "score": "0.73855805", "text": "public static String getValue(String property) {\r\n return RESOURCE_BUNDLE.getString(property);\r\n }", "title": "" }, { "docid": "ed0f4875d8680cf98eb1bb202e6a3996", "score": "0.73841804", "text": "String getProperty(String key);", "title": "" }, { "docid": "ed0f4875d8680cf98eb1bb202e6a3996", "score": "0.73841804", "text": "String getProperty(String key);", "title": "" }, { "docid": "38df201ab13d7e13da1997a996f8b3f7", "score": "0.7351368", "text": "public String getProperty(String key) {\r\n Object value = prop.get(key);\r\n if (value == null || !(value instanceof String)) {\r\n return null;\r\n }\r\n return value.toString();\r\n }", "title": "" }, { "docid": "9640f6dc48e3aff09733fab372ea49d4", "score": "0.73166406", "text": "String getValue(IRI propertyName);", "title": "" }, { "docid": "9cbea42426d7e2c900b6b676d1d81f49", "score": "0.72952944", "text": "@Nullable\n @NativeType(\"char const *\")\n public static String property_getName(@NativeType(\"objc_property_t\") long property) {\n long __result = nproperty_getName(property);\n return memUTF8Safe(__result);\n }", "title": "" }, { "docid": "55f98da159c921931c63cd1a603d87b3", "score": "0.7290669", "text": "public String getPropertyString(){\n\t\treturn Prefixes.GR.getName() + \":\" + property;\n\t}", "title": "" }, { "docid": "5632602d8ce3ba698e52690d0a459147", "score": "0.728562", "text": "public String getProperty(String _key);", "title": "" }, { "docid": "46171f28991778a98cc8e02dd9eb5ab4", "score": "0.7279142", "text": "public String getProperty(String key) {\n return getProperty(key, true);\n }", "title": "" }, { "docid": "4c34aabcea469829dad8eb0f23d50ad1", "score": "0.7275271", "text": "String getProperty( String key );", "title": "" }, { "docid": "3b884613bffe857a68bf44f8323ed1c6", "score": "0.7252342", "text": "@Override\n public final String getStringProperty(String propertyName) {\n return this.invokeFunction(\"getProperty\", this.jsObject, propertyName);\n }", "title": "" }, { "docid": "07ff0123eb6f9ca37126e33d9ad2dd09", "score": "0.7241272", "text": "public String getPropertyValue(String property) {\r\n\t\treturn properties.getProperty(property);\r\n\t}", "title": "" }, { "docid": "e77bf98b9f7575d362d017e0fd1f9ada", "score": "0.7239436", "text": "public String getProperty(String name);", "title": "" }, { "docid": "e77bf98b9f7575d362d017e0fd1f9ada", "score": "0.7239436", "text": "public String getProperty(String name);", "title": "" }, { "docid": "7484b7b6c47c4449c28ae57ef46887b4", "score": "0.721925", "text": "public String getProperty(String property) {\n \t\treturn properties.getProperty(property);\n \t}", "title": "" }, { "docid": "9eabdc840fbca3f41433a7e9320d3b31", "score": "0.7194898", "text": "public String getProperty( String property )\n {\n return myProperties.getProperty( property );\n }", "title": "" }, { "docid": "de8d2fb5e4e740f138da839b6350a5f9", "score": "0.7182512", "text": "private static String getStringValueOfProperty(PropertyList propertyList, String propertyName){\n Property property = propertyList.getProperty(propertyName);\n return property.getValue();\n }", "title": "" }, { "docid": "04170176002b920ab97ce7ce6333a08d", "score": "0.71585876", "text": "public static String getString(String key)\n\t{\n\t\treturn getProperty(key);\n\t}", "title": "" }, { "docid": "f63107abf1e2b6353b0ca24ce4675e47", "score": "0.7108273", "text": "public static String getProperty(String key)\n {\n \treturn prop.getProperty(key);\n }", "title": "" }, { "docid": "f891d58b95f78244ff8b43c847a55ed4", "score": "0.7101778", "text": "public String getString(String prop, String def) {\n\t\tString pval = getProperty(prop);\n\t\tif (pval == null)\n\t\t\treturn def;\n\t\treturn pval;\n\t}", "title": "" }, { "docid": "78ff166c8a370c728f16d4fa44b80b68", "score": "0.70593524", "text": "public String getProperty(String key) {\n\t\tString value = null;\n\t\tif (properties.containsKey(key)) {\n\t\t\tvalue = (String) properties.get(key);\n\t\t}\n\t\treturn value;\n\t}", "title": "" }, { "docid": "9ea177b90a35388586c453c6e98cd117", "score": "0.70370024", "text": "private String getPropertyValueAsString(String propertyName, List<String> errors)\n {\n Property property = getProperty(propertyName);\n if (property.isValid())\n {\n if (property.getValue() == null)\n {\n // this is a valid property with value null\n LOGGER.trace(\"Property {0} is NULL.\", propertyName);\n } else {\n String propertyValue = property.getValueAsString();\n if (propertyValue.isEmpty())\n {\n // this is a valid property with value of empty String\n LOGGER.trace(\"Property {0} is EMPTY.\", propertyName);\n }\n // return property value or empty String for valid property\n return propertyValue;\n }\n } else {\n LOGGER.trace(\"Property {0} is NOT VALID.\", propertyName);\n errors.add(LOGGER.translate(\"Property {0} is NOT VALID.\", propertyName));\n }\n // return null when either property value is invalid, or null\n return null;\n }", "title": "" }, { "docid": "9c4f4356bc94a53bd018b501e6287e30", "score": "0.70196867", "text": "public String getProperty(String str){\n return properties.getProperty(str);\n }", "title": "" }, { "docid": "f0c70a16385dda882926fff4be2e988c", "score": "0.70138234", "text": "public String get(String name) {\n return prop.getProperty(name);\n }", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.701262", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.7012223", "text": "java.lang.String getValue();", "title": "" }, { "docid": "a298dbae8094e7cd65aa9e6294d3f856", "score": "0.7003998", "text": "Property getProperty(String key);", "title": "" }, { "docid": "279077624b8153aff7a8a999d725b791", "score": "0.69723445", "text": "public static String getProperty(String key) {\n\t\tString returnValue = null;\n\t\tif(propertiesMap.get(key)!=null){\n\t\t\treturnValue=propertiesMap.get(key).toString();\n\t\t}\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "38c4a1e25349cacb0a6a6639412f8f47", "score": "0.69608694", "text": "public String getProperty(String property) {\n\t\treturn keys.getProperty(property);\n\t}", "title": "" }, { "docid": "de0f5ce8c3f021e6160ffec876bf5dcf", "score": "0.69529533", "text": "public String getString(String key) {\n\t\treturn (String) properties.get(key);\n\t}", "title": "" }, { "docid": "b4b70b0e01f5edeb515d75f763503f60", "score": "0.69429", "text": "@Override\n\tpublic String getPropertyValue(String key) {\n\t\treturn this.prop.getProperty(key);\n\t}", "title": "" }, { "docid": "80ce9edb06ed04bdb0e6b8fcd77b5c4a", "score": "0.6923564", "text": "public String getStringProperty(String key)\r\n {\r\n return (String) map.get(key);\r\n }", "title": "" }, { "docid": "68b17035f44d944763230c6838b0f73d", "score": "0.6922806", "text": "public String get(String key) {\r\n\t\treturn this.properties.getProperty(key);\r\n\t}", "title": "" }, { "docid": "4cc1e1221d8e1df9c96d05f1b419ad55", "score": "0.6921663", "text": "public String getPropertyValue(String reference, String name);", "title": "" }, { "docid": "d29d81932124c2c9f0e021a5522d18d8", "score": "0.6912182", "text": "public String getValue(String key){\n\t\treturn (prop == null)?null:prop.getProperty(key);\n\t}", "title": "" }, { "docid": "584420df7ffda6243fa221715fa7f5ea", "score": "0.6836692", "text": "protected static String getPropertyValue(final String pkey) {\n\t\treturn getProps().getProperty(pkey);\n\t}", "title": "" }, { "docid": "4504afdefd3b3e71b786c43cef6988e5", "score": "0.68075705", "text": "com.google.analytics.admin.v1beta.Property getProperty();", "title": "" }, { "docid": "9f591546c62349de632e70acac642f83", "score": "0.6799541", "text": "public static String get(String propertyName) {\n return get(propertyName, null);\n }", "title": "" }, { "docid": "9e5f5c4c9a9b67e7c1a8449a3cb03d64", "score": "0.67861766", "text": "public final String getProperty()\n/* */ {\n/* 159 */ return this.status.getExpression();\n/* */ }", "title": "" }, { "docid": "98450c607be102c280e0327c20ccef7b", "score": "0.67846996", "text": "String getValueAsString();", "title": "" }, { "docid": "b6e9e6f6c2bfacf9b6b07f42910f5d29", "score": "0.67820495", "text": "public Object getProperty(String propertyName);", "title": "" }, { "docid": "0400b6e25b6ae116d997d52030df22fb", "score": "0.67714334", "text": "private String getPropertyValue(String key) {\n\t\tString value = null;\n\t\tQualifiedName propName = new QualifiedName(projectQualifiedname, key);\n\t\ttry {\n\t\t\tvalue = project.getPersistentProperty(propName);\n\t\t} catch (CoreException e) {\n\t\t\tclient.addErrorMessage(\"unable to get persistent property '\" + propName + \"'!\");\n\t\t\tvalue = null;\n\t\t}\n\t\treturn value;\n\t}", "title": "" }, { "docid": "e67c1d04c6cfbe16044ecc1e5015ec34", "score": "0.67707956", "text": "public String getProperty(String key) {\n\t\treturn p.getProperty(key);\n\n\t}", "title": "" }, { "docid": "0817dd696f40ba625c87fc2e6de81183", "score": "0.6768893", "text": "public static String getProperty(String propertyKey) {\n return DynamicPropertyFactory.getInstance().getStringProperty(propertyKey, null).get();\n }", "title": "" }, { "docid": "13a691bfe4f90e8983bc812b0ef8c483", "score": "0.67580605", "text": "public String getProperty(String key)\n\t{\n\t\treturn this.prop.getProperty(key);\n\t}", "title": "" }, { "docid": "911dad9793d2b91c30e10c2baa6e338f", "score": "0.675736", "text": "public static String getValue(final String key) {\n\t\treturn properties.getProperty(key);\n\t}", "title": "" }, { "docid": "6dd99f51216ad399e305a363f655dac3", "score": "0.67530745", "text": "public String getPropertyValue(String property) {\n if (properties.containsKey(property)) {\n return properties.get(property);\n }\n return null;\n }", "title": "" }, { "docid": "723a0de03a80058625e00fc3ef1bd5cd", "score": "0.6752713", "text": "String get();", "title": "" }, { "docid": "afd51a3c61ac8e35414351f47f051980", "score": "0.6745379", "text": "public String getStringValue(String key) throws NotFoundException, TypeMismatch\r\n {\r\n return getValueForKey(key, systemProperty -> systemProperty.getStringValue());\r\n }", "title": "" }, { "docid": "ce3750c8afb146e7c73097caaad822f2", "score": "0.6739717", "text": "String getPropertyKey();", "title": "" }, { "docid": "40bdcf7b6c1024f59da126a345db3537", "score": "0.67192334", "text": "String getProperty(@NotNull String name) throws PropertyNotFoundException;", "title": "" }, { "docid": "de28e62920fe9aba99adf5f523044fb3", "score": "0.67177576", "text": "public Object getProperty(String name);", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.6702973", "text": "String getValue();", "title": "" }, { "docid": "5cc77ca29aee9eb8a87e703734798e73", "score": "0.6682451", "text": "@Override\n public String getProperty(String key)\n {\n return properties.get(key);\n }", "title": "" }, { "docid": "5d0ba4fd2de0c24afbb041f5cbad6323", "score": "0.666295", "text": "public String getValue() {\n return getStringMember(\"value\");\n }", "title": "" }, { "docid": "a790bbab12326f5e3eed3cb862ca446c", "score": "0.6660236", "text": "public synchronized String getProperty(String key) {\n return properties.getProperty(key);\n }", "title": "" }, { "docid": "ffaaf4ed16ae8e6d08881a406fb79088", "score": "0.66600674", "text": "public Object getProperty(Object key);", "title": "" }, { "docid": "5e0229095daebedf62d699674aedcd57", "score": "0.66258174", "text": "public void testGetString() throws RepositoryException {\n Value val = PropertyUtil.getValue(prop);\n // format of reference value is implementation specifc. but at least\n // must not throw\n val.getString();\n }", "title": "" }, { "docid": "92dceaee07d635d3f6eaa23607857fad", "score": "0.65981716", "text": "public static Object get(String key){\n\t\treturn prop.getProperty(key);\n\t}", "title": "" }, { "docid": "e94d77335abf5ee4776ce6b5ac8df0ca", "score": "0.6593411", "text": "public static String getProperty(Properties p, String key) {\n\n String value = p.getProperty(key);\n\n if (value == null || value.isEmpty()) {\n missingProperty(key);\n }\n\n return value;\n }", "title": "" }, { "docid": "aed32193e02f379e6fc7ba4e2e23c1e9", "score": "0.659015", "text": "public abstract Object getProperty(String propertyName);", "title": "" }, { "docid": "53c2c1a6f668e75ec050c9b856d723cc", "score": "0.6575602", "text": "public static String getValue(String key) {\n return propertyResolver.getProperty(key);\n }", "title": "" }, { "docid": "d00b6d7a739371c49be520ab1a4c01ba", "score": "0.6569758", "text": "public String get(String key) throws MyException {\n\t\tString value = \"\";\n\t\tif (!key.isEmpty()) {\n\t\t\tvalue = this.props.getProperty(key);\n\t\t\tif (value == null) {\n\t\t\t\tthrow new MyException(\"Property value returned is null, please check the key\");\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new MyException(\"Property Key is empty\");\n\t\t}\n\t\treturn value;\n\t}", "title": "" }, { "docid": "e8ca12c3bd5e31833dc8933edeb043e5", "score": "0.6564363", "text": "public String getValue(String name){\n Properties properties = loadProperties();\n return properties.getProperty(name);\n }", "title": "" } ]
a00dcc9dfde3aa44715c980f4722345f
Auto generated setter method
[ { "docid": "b3342508c1f0060851f4149fb1f5b483", "score": "0.0", "text": "public void setCurBalance(double param){\n \n // setting primitive attribute tracker to true\n \n if (java.lang.Double.isNaN(param)) {\n localCurBalanceTracker = false;\n \n } else {\n localCurBalanceTracker = true;\n }\n \n this.localCurBalance=param;\n \n\n }", "title": "" } ]
[ { "docid": "8541b1cf741ee8244d45d2fd755acdb3", "score": "0.7789626", "text": "public abstract void set();", "title": "" }, { "docid": "7926260a33dacb33748cc5896367fecc", "score": "0.7313697", "text": "public void set()\n\t\t{\n\t\t}", "title": "" }, { "docid": "103930d9bb9a147e4867049f7c6272ce", "score": "0.70311093", "text": "@Override\n protected void setValue(Object value) {\n }", "title": "" }, { "docid": "9bfca327ddaca6f4aeb0c6eb74624105", "score": "0.69512624", "text": "@Override\r\n public void setValue(Object value) {\n }", "title": "" }, { "docid": "3aee377b4f6f1f11a236698a9a0d08a1", "score": "0.69135505", "text": "public void setValue(String value)\n/* */ {\n/* 291 */ this.value = value;\n/* */ }", "title": "" }, { "docid": "cfce396c8a173fbb4be75ecbc24aacb7", "score": "0.6876315", "text": "public void setCodigo(String codigo)\n/* 42: */ {\n/* 43: 54 */ this.codigo = codigo;\n/* 44: */ }", "title": "" }, { "docid": "66efc704d0e389d1615ad005dbbf0342", "score": "0.68744516", "text": "public void setValue(String paramString) {\n/* 506 */ this.value = paramString;\n/* */ }", "title": "" }, { "docid": "685c67b2de919d744352a6be76904fba", "score": "0.6871605", "text": "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "title": "" }, { "docid": "9e313203cb5a5ef277283be66d272be9", "score": "0.6860575", "text": "@Override\n public void set(T value) {\n super.set(value);\n }", "title": "" }, { "docid": "b8f028304ae8048ffa0c67bb957a8de6", "score": "0.6859839", "text": "public Object setValue(Object value);", "title": "" }, { "docid": "5b77a05fcf67a137ee1f987dff447572", "score": "0.6850228", "text": "protected abstract void setValues();", "title": "" }, { "docid": "84d2c451cd1e9f4390ead22ac236193f", "score": "0.68412983", "text": "@Override\n\t\t\t\t\t\tpublic boolean set(Object obj, Object value) {\n\t\t\t\t\t\t\tif (obj == null) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn setter == null ? KernelReflect.set(obj, field, value) : KernelReflect.run(obj, setter, value);\n\t\t\t\t\t\t}", "title": "" }, { "docid": "81e6cc11778f9431569a70b202fed9aa", "score": "0.68310297", "text": "public void setValue(T value) {\n/* 75 */ this.value = value;\n/* */ }", "title": "" }, { "docid": "2870dd7e761384943c74e25c6bf0ed50", "score": "0.6790388", "text": "@Override\n public void set(T e) {\n\n }", "title": "" }, { "docid": "d113d0cb2e7ca66baaafe0488b2b2083", "score": "0.6734917", "text": "public static void set()\n\t{\n\t}", "title": "" }, { "docid": "d09e104b296dfa2709a4ade2cda46f03", "score": "0.6734877", "text": "@Override\n\t\t\tpublic void setValue(Object arg0) {\n\t\t\t\tsuper.setValue(arg0);\n\t\t\t}", "title": "" }, { "docid": "e9c231ab4addb7c17665be1dedbfb5fe", "score": "0.67195547", "text": "public void setValue(Object value)\n {\n try\n {\n setMethod.invoke(source, new Object[] { value });\n }\n catch (Exception e)\n {\n }\n }", "title": "" }, { "docid": "382516fcc4521ea2f7d7718749fa9697", "score": "0.66995865", "text": "public void setX() {\n\n }", "title": "" }, { "docid": "b0bb5b452abde28e97c6cf44865cd941", "score": "0.6693912", "text": "private void setValue(T value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "ae38868ab0b98bc60c44553913f9c040", "score": "0.6681614", "text": "public void setValue(Object value);", "title": "" }, { "docid": "fa808a20f138723eba69a12463905205", "score": "0.66735756", "text": "@Override\n\tpublic void setValue(String arg0, String arg1) {\n\n\t}", "title": "" }, { "docid": "6d0fad2742803129b297b3b85c6b6d3d", "score": "0.661935", "text": "public void setValue(int value){\n this.value = value;\n}", "title": "" }, { "docid": "1be923c4e3283455ede880c7da2c9bfe", "score": "0.6605376", "text": "void setValue(V value) {\r\n\t\t\tthis.value = value;\t\t\r\n\t\t}", "title": "" }, { "docid": "fe279627c2a41cf952d1ced3fb9bfbd1", "score": "0.65568477", "text": "public interface Setter<T, R> extends Function2<T, R, Unit>, kotlin.reflect.KMutableProperty.Setter<R> {\n }", "title": "" }, { "docid": "24d705381bdac532d720d01c4917fe83", "score": "0.6543626", "text": "@Override\n public void setValue(IValue value) {\n\n }", "title": "" }, { "docid": "0170b7d085cf428de3f9fabd914fc9dc", "score": "0.6520835", "text": "void setValue(final Object value);", "title": "" }, { "docid": "0af659689b6ac87a80162b15b3740ed1", "score": "0.6501637", "text": "void setValue(T value);", "title": "" }, { "docid": "21d0454e0c609e3c48067debb2e6223f", "score": "0.64572823", "text": "public void setA(String str) { }", "title": "" }, { "docid": "4eaad6b533936901df488205957b5f76", "score": "0.6447623", "text": "public void setAge(int age) { this.age = age;}", "title": "" }, { "docid": "d564075ab6f1894a9137ea583b374c1c", "score": "0.642016", "text": "public void setValue(Object value) {\n valueAttributeUsed = true;\n internalSetValue(value);\n }", "title": "" }, { "docid": "9ccdeca381e4ee737a3b33a876646753", "score": "0.6400954", "text": "public void set(Object receiver, String field, Object value)\n {\n throw new UnsupportedOperationException(\"not yet implemented\");\n }", "title": "" }, { "docid": "f0b4ce6643df15d20057935ce99efd22", "score": "0.6390592", "text": "@Override\n\t\t\t\t\t\tpublic boolean evalSet(Object obj, Object value) {\n\t\t\t\t\t\t\treturn evalAccessor.set(obj, value);\n\t\t\t\t\t\t}", "title": "" }, { "docid": "d51bc3e22eac55b7f2ffc5759fdf91fd", "score": "0.6387432", "text": "@Override\n public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "fc2d073283434ff763dc58e46608e7b8", "score": "0.63800734", "text": "void setValue(String o) { \n \tvalue = o; }", "title": "" }, { "docid": "5f47e21bc03876831f98171b17ac8d1a", "score": "0.63774157", "text": "public void setValue(final Object value);", "title": "" }, { "docid": "9867044755582a7bb3b1eb52c2965e36", "score": "0.63648796", "text": "@Override\n public void setValue(String s) {\n }", "title": "" }, { "docid": "1ef58f79c683f04a32c204e2048376f5", "score": "0.6356283", "text": "@Test\n public void basicSetGet()\n {\n String v = \"value\";\n pe.setString( v ).setInteger( 1 );\n // verify set value\n assertEquals( v, handler.data.get( \"string\" ) );// direct\n assertEquals( v, pe.get( \"string\" ) );// generic access from Entity\n assertEquals( v, pe.getString() );// through getter\n }", "title": "" }, { "docid": "1f1ee47521a05b231ca22dab977cafec", "score": "0.6352088", "text": "@Override\n\tpublic void set(T instance, String parameter) {\n\t}", "title": "" }, { "docid": "2c4cfc0f1b96ad5e4845b93cc7f7814f", "score": "0.6348846", "text": "public abstract void setProperty(String str, Object obj);", "title": "" }, { "docid": "4973a0431cafda28592dddf20318ebc2", "score": "0.6326539", "text": "protected void setMutator() {\n\t}", "title": "" }, { "docid": "38a369bb00d3c3ea6d3567eb6f448ac9", "score": "0.6322639", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "36a7d627d6ae821e61e3cdc586fcaad8", "score": "0.63205063", "text": "public void set(Object o, Object o1) {}", "title": "" }, { "docid": "90e5fc114b6ce44c9f54659ec16b08a7", "score": "0.6318124", "text": "@Override\n\tpublic void setValue(String id, Value v) {\n\t\t\n\t}", "title": "" }, { "docid": "45db2ee0ffddd987f2f2220efb6efbcb", "score": "0.631325", "text": "void setValue(T value, ObjectMeta target);", "title": "" }, { "docid": "df3353ae11a8fbe05f84ea7233629ba8", "score": "0.6294504", "text": "@Override\n\tpublic ValueType set(int arg0, ValueType arg1) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e5e95c35c446f9aa93207f9b3b2b012d", "score": "0.6293225", "text": "public void setValue(T value) {\r\n\t\tthis.value = value;\r\n\t}", "title": "" }, { "docid": "8c80bb9b537ffe8aa99c6b27285ea13f", "score": "0.62826085", "text": "public void set(E e)\n {\n //TODO\n }", "title": "" }, { "docid": "3a4c41f12b5741f5040c6022779d8a8b", "score": "0.6278445", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "3a4c41f12b5741f5040c6022779d8a8b", "score": "0.6278445", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "f0fad8eec287a186b1a96983ce7507b5", "score": "0.62783515", "text": "public void set(BeanT bean, ValueT value) {}", "title": "" }, { "docid": "9c70f7858a95ea46495e715952a4a506", "score": "0.62768775", "text": "public void setValue(String value);", "title": "" }, { "docid": "4688dee685f0bce2f587991f377a3a03", "score": "0.62741596", "text": "public void setProperty(String value)\n {\n this.property = value;\n }", "title": "" }, { "docid": "02dfa7327177a7c4ba239e7c02348396", "score": "0.62517464", "text": "protected void set(Object value) throws Exception {\n getField().setAccessible(true);\n getField().set(getTarget(), value);\n }", "title": "" }, { "docid": "4e68958bc949cfa851d4ce94efa69019", "score": "0.62465715", "text": "@RuntimeType\n public void interceptSetter(@Origin Method setter, @Argument(0) Object argument) {\n PersistentProperty<?> property = findProperty(setter);\n if (property == null) {\n throw new IllegalStateException(\"Persistent property is null for entity \" + entity + \" and method \" + setter);\n }\n\n logger.debug(\"Intercepted setter: {} for property: {} with argument: {}\", setter, property, argument);\n\n // add property to the set of updated properties\n updatedProperties.add(property);\n\n __getPropertyAccessor().setProperty(property, argument);\n\n }", "title": "" }, { "docid": "15e546038dcdb8fb5b1718da977d47c6", "score": "0.62429667", "text": "@Override\n public void setValue(Object value) {\n setValueOpen(value, data);\n }", "title": "" }, { "docid": "de13062548dd973566c0000626d80aae", "score": "0.62421197", "text": "void invokeSetter(Object bean, Object value);", "title": "" }, { "docid": "f6bd4b76e41ad5ff5a31a16d7c17e341", "score": "0.6241278", "text": "public void setValue (String Value);", "title": "" }, { "docid": "b49b22d0d4c0c7045763958b175e8d6d", "score": "0.6229278", "text": "public void setValue(String value) { this.value = value; }", "title": "" }, { "docid": "b9e47343d07ac34e4253d172555c3135", "score": "0.62224054", "text": "public void setValue(V s){ value = s; }", "title": "" }, { "docid": "8b3a5484e62ebea3038b56919317745c", "score": "0.6212926", "text": "public void setValue(Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "5e0d17c69ec544ae8272a0515734551b", "score": "0.6211426", "text": "@Override public void set(B bean, T value)\r\n\t{\r\n\t\tObject current = bean;\r\n\t\tfor (PropertyDescriptor property: _descriptors)\r\n\t\t{\r\n\t\t\tObject next = get(property, current);\r\n\t\t\tcurrent = next;\r\n\t\t}\r\n\t\ttry\r\n\t\t{\r\n\t\t\t_lastDescriptor.getWriteMethod().invoke(current, value);\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow BeanHelper.convert(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "872f02de371dadc52d9d8354fda79b63", "score": "0.6185928", "text": "public void setAsMine(){\n value = 9; \n }", "title": "" }, { "docid": "594350163de87172062274b12a9e676d", "score": "0.61778903", "text": "void setValue(T pojo, V value);", "title": "" }, { "docid": "24f294ee792dc243157cfc52b7ef6cf5", "score": "0.6155852", "text": "void setProperty(String name, Object value);", "title": "" }, { "docid": "24f294ee792dc243157cfc52b7ef6cf5", "score": "0.6155852", "text": "void setProperty(String name, Object value);", "title": "" }, { "docid": "ce2f014f7795225f8a324e7b08bd1de7", "score": "0.6143786", "text": "public void setValue(M value) {\n\n this.value = value;\n }", "title": "" }, { "docid": "71608c426ead39ebbab814dc6144eb0f", "score": "0.6141553", "text": "@Override\n\tpublic void setProperty(String key, Object value) {\n\t\t\n\t}", "title": "" }, { "docid": "fb0c056dafd51aaeccfac144029e6a4c", "score": "0.6139801", "text": "void setValue(String value) {\n this.value = value;\n }", "title": "" }, { "docid": "af1b22612fe08d42b77ee5eba9256aab", "score": "0.61341476", "text": "public void setName(String name){ \r\nthis.name=name ;\r\n}", "title": "" }, { "docid": "d350444ec6ff9b5fe71cfb57659ccd31", "score": "0.6130149", "text": "@Override\n public void setX(T x) {\n }", "title": "" }, { "docid": "2fbea324d6cdeae0129b4eb4cf2ec25d", "score": "0.61221194", "text": "public void setValue(String value)\n {\n this.value_ = value;\n }", "title": "" }, { "docid": "24faf40565c79a10f2dff593ab87490b", "score": "0.60940546", "text": "public abstract void setValueAsString(String value);", "title": "" }, { "docid": "326fff7c8e2f7a7599c4dad55461e183", "score": "0.60910946", "text": "public void setValue(T v);", "title": "" }, { "docid": "0dee6ad695ff4067324166c49801faee", "score": "0.60904133", "text": "@Test\n public void testSetCorreo() {\n System.out.println(\"setCorreo\");\n String correo = \"\";\n Emp instance = new Emp();\n instance.setCorreo(correo);\n \n }", "title": "" }, { "docid": "57710a9d6efdc7eef494066910c54346", "score": "0.60858935", "text": "private void setValue(Object value) {\n Assertion.isNotNull(value, \"value is required\");\n this.value = value;\n }", "title": "" }, { "docid": "725e72587def6e9252dc92e469b86bbe", "score": "0.60836", "text": "public void setValue(Value value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "860d9cec3caec5ba1a582710800adc7d", "score": "0.60809034", "text": "public void setString(String data){ this.data=data;}", "title": "" }, { "docid": "d58481a512aaefb0381015fcfc79b73e", "score": "0.60807323", "text": "public <T> void set(Object receiver, Field<T> field, T value)\n {\n throw new UnsupportedOperationException(\"not yet implemented\");\n }", "title": "" }, { "docid": "2859ac89edfb4ba32b3b4d5b2739074c", "score": "0.60769683", "text": "void set(K id, P property, Object value);", "title": "" }, { "docid": "1c6f6dfc0aa33491b79465a9f2d6da99", "score": "0.6051676", "text": "public void setValue(Object o){\r\n\t\tvalue = o;\r\n\t}", "title": "" }, { "docid": "1e4c284359d8aeb958de5f251ce94a95", "score": "0.6051378", "text": "void set(String columnName, Object value);", "title": "" }, { "docid": "7481aad2ace284ef001f5da093f6e216", "score": "0.60416526", "text": "public void setCliente(String cliente)\r\n/* 40: */ {\r\n/* 41:42 */ this.cliente = cliente;\r\n/* 42: */ }", "title": "" }, { "docid": "07be39e245a8398a1a996dd662bc06e8", "score": "0.6031457", "text": "public void setFieldValuePrimitive (Object target, FieldPath fieldPath,\n Object value)\n {\n \tif (fieldPath._fieldName.charAt(0) == '#') {\n FieldValueSetter setter = fieldPath._previousSetter;\n boolean isAccessorApplicable = (target.getClass() == setter.forClass())\n && setter.isApplicable(target);\n if (!isAccessorApplicable) {\n\n \tString fieldName = fieldPath._fieldName.substring(1, fieldPath._fieldName.length());\n\n setter = (FieldValueSetter)getAccessor(target, fieldName, Setter);\n if (setter == null) {\n String message = Fmt.S(\n \"Unable to locate setter method or \" +\n \"field for: \\\"%s\\\" on target class: \\\"%s\\\"\",\n fieldPath._fieldName, target.getClass().getName());\n throw new FieldValueException(message);\n }\n fieldPath._previousSetter = setter;\n }\n setter.setValue(target, value);\n \t}\n \telse {\n \t\t((Node)target).set(fieldPath._fieldName, value);\n \t}\n }", "title": "" }, { "docid": "3e493f344ce3838849c2c22cace1c2fb", "score": "0.6030502", "text": "public void setValue(String value){\n\tthis.value = value;\n }", "title": "" }, { "docid": "5c6030e15d1d284fd78005de4fa0a585", "score": "0.60297495", "text": "public void setNombre1(String nombre1)\r\n/* 120: */ {\r\n/* 121:171 */ this.nombre1 = nombre1;\r\n/* 122: */ }", "title": "" }, { "docid": "e572ce300bc6961957d5c7bc82f3d2d7", "score": "0.6029724", "text": "public abstract void set(int i, int j, T value);", "title": "" }, { "docid": "673aee04b7b9dc93d54a3b909e36ee63", "score": "0.60295415", "text": "public void setAge(Integer age)\n/* */ {\n/* 209 */ this.age = age;\n/* */ }", "title": "" }, { "docid": "34dfb529f7c816d920932e38bf8ef1b3", "score": "0.60220754", "text": "@Test\n public void testSetU() {\n c.setU(3);\n assertEquals(3, c.getU());\n c.setU(10);\n assertEquals(3, c.getU());\n }", "title": "" }, { "docid": "bf087e01cf3a83b5cb1046ce8444de78", "score": "0.6020515", "text": "public void setValue(int newValue){value = newValue;}", "title": "" }, { "docid": "e1d3c0c89c974db487632eaaa38429fe", "score": "0.60144806", "text": "public void setUow(int uow) {\nthis.uow = uow;\n}", "title": "" }, { "docid": "3dbd58a635a2cc26e4a5dcaf5b4861fc", "score": "0.6011456", "text": "@Override\r\n public void setValue(Object value) {\r\n this.setTypedValue((T)value); // if ClassCastExcpetion thrown here, then fix code: should not set an unexpected value type\r\n }", "title": "" }, { "docid": "efac42a32dadd315d0a48bd9af6f7320", "score": "0.6003549", "text": "public void setTypedValue(T value) {\r\n super.setValue(value);\r\n }", "title": "" }, { "docid": "fe6f0422c5b09b1023b9e96a40491614", "score": "0.60015696", "text": "@Override\n public abstract void setValue(T object, Integer value);", "title": "" }, { "docid": "5c249569d662a186c50073cd8a2afaf5", "score": "0.60009813", "text": "public void setEmpresa(Empresa empresa)\r\n/* 140: */ {\r\n/* 141:199 */ this.empresa = empresa;\r\n/* 142: */ }", "title": "" }, { "docid": "29ee2e417f183445085a48ae4fb993c0", "score": "0.5995522", "text": "public void setX(double x) {\n/* 91 */ this.x = x;\n/* */ }", "title": "" }, { "docid": "fd30c34660d4575e2f1bcf6f4d942528", "score": "0.59950054", "text": "public void setProperty(String name, String value);", "title": "" }, { "docid": "03407a0e79e85fa60776ff02d46a8354", "score": "0.59946835", "text": "@Pointcut(\"execution(* com.springAOP.dao.*.set*(..))\")\n\tpublic void setter() {\n\t}", "title": "" }, { "docid": "c8222c1feb10395d16da4f0a9d1124ca", "score": "0.5990821", "text": "@Override\r\n\t\tpublic V setValue(V value) {\n\t\t\tV old = this.value;\r\n\t\t\tthis.value = value;\r\n\t\t\treturn old;\r\n\t\t}", "title": "" }, { "docid": "1afb6480ba227e2249ba9d21fc5c7197", "score": "0.5983484", "text": "public void setValue( Object object, Object value, ClassLoader loader ) {\n ReflectService rf = getContextReflectService ( loader );\n try {\n //if ( _handler != null )\n // _handler.setValue( object, value );\n //else\n if ( rf._field != null ) {\n rf._field.set( object, value == null ? _default : value );\n } else if ( rf._setMethod != null ) {\n \n if ( rf._getSequence != null )\n for ( int i = 0; i < rf._getSequence.length; i++ ) {\n Object last;\n \n last = object;\n object = rf._getSequence[ i ].invoke( object, (Object[]) null );\n if ( object == null ) {\n // if the value is not null, we must instantiate\n // the object in the sequence\n if ( value == null || rf._setSequence[ i ] == null )\n break;\n object = Types.newInstance( rf._getSequence[ i ].getReturnType() );\n rf._setSequence[ i ].invoke( last, new Object[] { object } );\n }\n }\n if ( object != null ) {\n if ( value == null && rf._deleteMethod != null )\n rf._deleteMethod.invoke( object, (Object[]) null );\n else\n rf._setMethod.invoke( object, new Object[] { value == null ? _default : value } );\n }\n } else {\n throw new DataObjectAccessException(\"no method to set value for field: \"+_fType+\" in class: \"+_eMold);\n }\n // If the field has no set method, ignore it.\n // If this is a problem, identity it someplace else.\n } catch ( IllegalArgumentException except ) {\n // Graceful way of dealing with unwrapping exception\n if ( value == null ) throw new DataObjectAccessException( Messages.format( \"mapping.typeConversionNull\", toString() ) );\n throw new DataObjectAccessException( Messages.format( \"mapping.typeConversion\",\n toString(), value.getClass().getName() ) );\n } catch ( IllegalAccessException except ) {\n // This should never happen\n throw new DataObjectAccessException( Messages.format( \"mapping.schemaChangeNoAccess\", toString() ), except );\n } catch ( InvocationTargetException except ) {\n // This should never happen\n throw new DataObjectAccessException( Messages.format( \"mapping.schemaChangeInvocation\",\n toString(), except.getMessage() ), except );\n }\n }", "title": "" }, { "docid": "101b79a1b8eeff979365171edd310032", "score": "0.5983127", "text": "@Override\n\tpublic void setValue(int value) {\n\t\t\n\t}", "title": "" }, { "docid": "d7debb80497e8eb6e86242595b13100f", "score": "0.5979109", "text": "public void testSetFieldValueStringString() {\n\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "05114c5039f9d2c5759c01869cbb1719", "score": "0.0", "text": "private String getParentCode(String code) {\n if (code.length() == 6) {\n return code.substring(0, 4);\n }\n if (code.length() == 11) {\n if (code.startsWith(\"320100\"))\n return cityid;\n return code.substring(0, 6);\n }\n return null;\n }", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "962e2aa1efc1eb9e8f7e2b38da8566b6", "score": "0.6441175", "text": "@Override\r\n\tprotected void method4() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63254577", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b4764437fc96bd523380203d0a714e9f", "score": "0.63064295", "text": "@Override\r\n\tpublic void calistir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ded15aaeb71ec68606fe2fb94e86fd30", "score": "0.62976253", "text": "@Override\n\tpublic void festlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "5cf6e7275cb8d34bdacabdb57b1297ed", "score": "0.61845726", "text": "public void mo74847b() {\n }", "title": "" }, { "docid": "1121ee7f7fb44c1a82d76b74dfca36ce", "score": "0.61822534", "text": "@Override\r\n\tprotected void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50501dd87f1998a502196290135921d9", "score": "0.61727506", "text": "@Override\r\n\tpublic void bewegeNachUnten() {\n\r\n\t}", "title": "" }, { "docid": "fb712911683b694cdce8a0591533827a", "score": "0.6169982", "text": "public void attaquer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "d782462e898859cd8f1a6e804776230b", "score": "0.6119481", "text": "@Override\n\tpublic void kahvalti() {\n\t\t\n\t}", "title": "" }, { "docid": "5188ca7aad5f258e672f0989f34a3f46", "score": "0.61062694", "text": "public void mo80636c() {\n }", "title": "" }, { "docid": "320da35135786dc4505079f4a9a73c36", "score": "0.6103035", "text": "@Override\r\n\tpublic void preen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "24da068fbc02f8b8b3aa9cab24026941", "score": "0.60865915", "text": "@Override\n\tpublic void atacar() {\n\t\t\n\t}", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "10d92a66c246261fe6e471d744e9a556", "score": "0.6085701", "text": "@Override\n\tpublic void rysuje() {\n\t\t\n\t}", "title": "" }, { "docid": "7c007022c54a0806ff9bd5438ae3e2ec", "score": "0.60739225", "text": "public void mo74769c() {\n }", "title": "" }, { "docid": "6fd2749106ffef4cb03e557457ef432e", "score": "0.60392183", "text": "@Override\n public void alpulsarNO() {\n\n\n }", "title": "" }, { "docid": "df5a58b776d79955ce4bf7e18e9ddfc4", "score": "0.6021335", "text": "public void mo9214a() {\n }", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "cc0ab1c285fd2b1a0f1742f44327869d", "score": "0.59759116", "text": "@Override\r\n\tpublic void kasitteleSyote() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ced4b47c7129b2184e6a77b2a8798fd1", "score": "0.5946297", "text": "@Override\n public void annuler() {\n\n }", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59291553", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "3334d3b302fd55029e7bd247c823c639", "score": "0.5911117", "text": "@Override\n\tvoid accerlate() {\n\t\t\n\t}", "title": "" }, { "docid": "3d63ba02955ffee95b4ac1b66c98f160", "score": "0.59105057", "text": "@Override\n protected boolean Rol() {\n return true;\n }", "title": "" }, { "docid": "fee1a18ceca61748f93149cd393850fc", "score": "0.5909857", "text": "public void mo74768d() {\n }", "title": "" }, { "docid": "ba348d037fde33ef982a79632d7adf5e", "score": "0.59073913", "text": "@Override\n\tpublic void bouger()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58831", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "1351a596cfde79c7fcbaa0c0ac90ed14", "score": "0.5865934", "text": "@Override\n public boolean Aapninger() {\n return true;\n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "adbbc233cf07504fdedfcdf74afa4901", "score": "0.583616", "text": "@Override\n\tpublic void prnt() {\n\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "27e0c12332a0f3b9fe854aa8beb3bad6", "score": "0.5825081", "text": "@Override\n\tpublic void OffersOfTheDay() {\n\t\t\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810343", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "79d198822ce7c98fbe391cfdeb33e3f6", "score": "0.58049023", "text": "@Override\r\n\tprotected void acelerar() {\n\r\n\t}", "title": "" }, { "docid": "2d17f675c4797d1489ccbc9d83c3ec33", "score": "0.5801597", "text": "@Override\n\tpublic void umm() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d7a19ad712ece23e6218c1bbd97e1b", "score": "0.57992023", "text": "@Override\n\tpublic void creap() {\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "d5b930411834332d013e7e45ca7412e4", "score": "0.57919663", "text": "public void getAadhar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c990ce3c0c4e578d5c2e065a437f8c3", "score": "0.5790907", "text": "public void inverte() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2988fe45f681712faab63cb0e862874c", "score": "0.57805216", "text": "@Override\r\n protected void poDolaczeniu() {\n\r\n }", "title": "" }, { "docid": "3a0aa7f30eee7a869c7fd2960b14db07", "score": "0.5778643", "text": "@Override\n public void destoty() {\n }", "title": "" }, { "docid": "10d40e9b81b4ba39c3ab6d779f3b2692", "score": "0.577812", "text": "public void mo31237c() {\n }", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57740533", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "8843ebe8d692b94536f16d5f07fdff4f", "score": "0.57587487", "text": "@Override\n public void update() {\n // TODO Auto-generated method stub\n }", "title": "" }, { "docid": "c379949c43d334b2a73a78b63ebac3c1", "score": "0.5757493", "text": "@Override public int getAtaque(){\n return 0;\n\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5753717", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a65f81fad538053c05dc35d7be360588", "score": "0.5752461", "text": "@Override public int getDefensa(){\n return 0;\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c4fa257f1d9c8e55ec00612334f57e8b", "score": "0.5742544", "text": "@Override\n public void init() {\n\t\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5739092", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a624b89db95eebb0d7e745f8301395c1", "score": "0.57344353", "text": "public void method() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.5732929", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "cadfa07fe44678e9617053752fa5f43d", "score": "0.57283473", "text": "@Override\r\n \tpublic String toString() {\r\n \t\treturn super.toString();\r\n \t}", "title": "" }, { "docid": "c303699d6c9f8d3a2b316125e204825c", "score": "0.57273126", "text": "@Override\n\tpublic void verTop10() {\n\t\t\n\t}", "title": "" }, { "docid": "c74f29111dd26487e1359eb6abdacbec", "score": "0.57206607", "text": "public void mo74767a() {\n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "1756ef4d0803e995be285c55c28e3b84", "score": "0.57156587", "text": "@Override\r\n\tpublic void bewegeNachRechts() {\n\r\n\t}", "title": "" }, { "docid": "62af35269754b8acb72204c12f622caf", "score": "0.5703817", "text": "protected void mo1291L() {\n }", "title": "" }, { "docid": "b07546ce140f2f3bb5b718f3bf303b9a", "score": "0.5702189", "text": "public void mo5721a() {\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "abb78a58451e05c6ba3dd938b5c036e0", "score": "0.5684533", "text": "@Override\r\n public void usunZarejestrowaneObiekty() {\n\r\n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "02b2c6e51ebb5faf78f05c34c734f88d", "score": "0.5676809", "text": "@Override\n\tprotected void adjust() {\n\t\t\n\t}", "title": "" }, { "docid": "9c052331388a2c5e4c1a01dac5b28c41", "score": "0.56740385", "text": "public void verAssist() {\n\t\t\n\n\t}", "title": "" }, { "docid": "3e2b070c1404c777aafba0cbacea02f1", "score": "0.5663756", "text": "@Override\n\tprotected void initializeData() {\n\t\t\n\t}", "title": "" } ]
41183efe620f6017095059a5cc4420ab
Helper function that converts JSON to an POJO.
[ { "docid": "6fb2ccab380b8647af1fd1931bc7b328", "score": "0.0", "text": "public static TemandoShipment fromJson2TemandoShipment(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, TemandoShipment.class);\n }", "title": "" } ]
[ { "docid": "fc96651cfa9673a2f08a11c48565340c", "score": "0.70558256", "text": "Object fromJSON(Object in);", "title": "" }, { "docid": "8600b6d09849645852b2b54e9d3d4287", "score": "0.7050605", "text": "public T jsonToBean(String json) ;", "title": "" }, { "docid": "c55440d5754fb65e587320b764cf4325", "score": "0.66283005", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tpublic Object toPOJO (String json, Class valueType) throws Exception {\n\t\treturn objectMapper.readValue(json, valueType);\n\t}", "title": "" }, { "docid": "c10f51104116274cd16dad5b3512b09d", "score": "0.66216624", "text": "public static <T> T json2pojo(String jsonStr,Class<T> clazz) throws Exception{\n\t\tif(StringUtil.isBlank(jsonStr)) return null;\n\t\treturn objectMapper.readValue(jsonStr, clazz);\n\t}", "title": "" }, { "docid": "0528ec8925b1ab431d6532be75da9760", "score": "0.65187734", "text": "public static <T> T json2pojo(String jsonStr, Class<T> clazz) throws DemoException {\n try {\n return objectMapper.readValue(jsonStr, clazz);\n } catch (Exception e) {\n throw new DemoException(\"对象序列化json格式发生异常\");\n }\n }", "title": "" }, { "docid": "8c8c186ed828f2bba0d7dc68db018023", "score": "0.642765", "text": "public abstract void fromJson(JSONObject responseObject);", "title": "" }, { "docid": "77c69441e2347f6eb4872585bc0ea675", "score": "0.62809426", "text": "public static <T> T toObjectFromJson(String json, Class<T> c) throws IOException {\n ObjectMapper mapper = new ObjectMapper();\n mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);\n return (T) mapper.readValue(json, c);\n }", "title": "" }, { "docid": "56862e6385382fd5b99c7508e5cbf33d", "score": "0.61674005", "text": "static public Object convertJsonToObject(FwiJson object) {\n\t\t/* Condition validation */\n if (object == null) return null;\n\n switch (object.jsonType()) {\n case kBoolean: return object.getBoolean();\n case kDouble : return object.getDouble();\n case kInteger: return object.getInteger();\n case kString : return object.getString();\n case kArray : {\n ArrayList<Object> a = new ArrayList<Object>();\n for (int i = 0; i < object.size(); i++) {\n Object o = FwiCodec.convertJsonToObject(object.jsonAtIndex(i));\n\n if (o == null) {\n continue;\n }\n a.add(o);\n }\n return a;\n }\n case kObject : {\n LinkedHashMap<String, Object> d = new LinkedHashMap<String, Object>();\n Set<String> keys = object.keySet();\n Iterator<String> i = keys.iterator();\n while(i.hasNext()) {\n String key = i.next();\n FwiJson value = object.jsonWithPath(key);\n d.put(key, FwiCodec.convertJsonToObject(value));\n }\n return d;\n }\n default: return null;\n }\n }", "title": "" }, { "docid": "ffc6f6e25c28b1d13475d963f746cf53", "score": "0.6096708", "text": "public static <T> Object fromJson(String json, Class<T> obj) {\n if (builder == null) {\n builder = new GsonBuilder();\n //builder.setDateFormat(\"yyyy-MM-dd'T'HH:mm:ss\");\n //builder.setDateFormat(DateFormat.FULL, DateFormat.FULL);\n //builder.setExclusionStrategies(new TestExclStrat());\n }\n return builder.create().fromJson(json, obj);\n }", "title": "" }, { "docid": "6f72fecdd24fae86b49389ec9eb5aa47", "score": "0.6021289", "text": "public static Object convertStringToPojo(String jsonString, Object Object) {\n Gson gson = new Gson();\n JsonReader reader = new JsonReader(new StringReader(jsonString));\n reader.setLenient(true);\n try {\n Object = gson.fromJson(reader, (Type) Object);\n return Object;\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "3ff297aca7da4fe3178781b830c984f4", "score": "0.59929633", "text": "public static <T>T json2Object(final String json, Class<T> clase) throws Exception {\n try {\n T object;\n Gson gson = new Gson();\n object = gson.fromJson(json, clase);\n return object;\n }\n catch (Exception e){\n Log.e(TAG,e.getMessage(),e);\n throw e;\n }\n }", "title": "" }, { "docid": "03f71f6966ecf2f8c3a70672747564f3", "score": "0.5944558", "text": "private <T> T createObjectFromString (String json, Class<T> c) {\n\n try {\n return myMapper.readValue(json, new TypeReference<T>() {\n });\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n\n return null;\n }", "title": "" }, { "docid": "8063788bd668a8bd36af4218c51f531d", "score": "0.5940374", "text": "@Test\n public void testJsonConversionOfSingleObject() throws Exception {\n setSystemAdministratorContext();\n final Client client = OBDal.getInstance().get(Client.class, \"0\");\n final DataToJsonConverter dataJsonConverter = new DataToJsonConverter();\n final JSONObject jsonObject = dataJsonConverter.toJsonObject(client, DataResolvingMode.FULL);\n log.debug(jsonObject.toString());\n\n // then convert back\n final JsonToDataConverter jsonDataConverter = new JsonToDataConverter();\n final BaseOBObject bob = jsonDataConverter.toBaseOBObject(jsonObject);\n assertSame(client, bob);\n }", "title": "" }, { "docid": "d874d3915716a05a0cb655a502d01022", "score": "0.5864483", "text": "public interface TypeConverter\n{\n /**\n * Converts the given object when parsing JSON.\n * \n * @param in input object\n * @return ouput object\n */\n Object fromJSON(Object in);\n\n /**\n * Converts the given object when generating JSON.\n * \n * @param in input object\n * @return ouput object\n */\n Object toJSON(Object in);\n}", "title": "" }, { "docid": "408480bb2f7ba988bdd4ef279c5e74db", "score": "0.5831211", "text": "public <T> T getAPIResponseAsPOJO(Class<T> type) throws IOException {\n LOGGER.info(\"mapping api response to Pojo object\");\n return new ObjectMapper().readValue(getApiResponseAsString(), type);\n }", "title": "" }, { "docid": "cf48242111cec7840629b3160b61b73c", "score": "0.5811484", "text": "public static <T> T fromJson( final String json , final Class<T> classOfT ) throws JsonParseException , JsonMappingException , IOException {\n return mapper.readValue(json, classOfT);\n }", "title": "" }, { "docid": "24893816c9aec4278f3050744a57b7ba", "score": "0.58013034", "text": "JSONObject toJsonObject();", "title": "" }, { "docid": "3c5f8e189251e56fe783db2d13f66801", "score": "0.5797572", "text": "Object convertJavaFrom(Object value);", "title": "" }, { "docid": "11d2e830af064320203d7d06a680a62b", "score": "0.5747704", "text": "private Object unmarshallFromJson(Reader in, JAXBContext jaxbc, Class clazz) throws JAXBException {\n Unmarshaller unmarshaller = jaxbc.createUnmarshaller();\n unmarshaller.setProperty(MarshallerProperties.MEDIA_TYPE, \"application/json\");\n unmarshaller.setProperty(MarshallerProperties.JSON_INCLUDE_ROOT, false);\n return unmarshaller.unmarshal(new StreamSource(in), clazz).getValue();\n }", "title": "" }, { "docid": "f3ccc087f10151cd222ea16fa823950e", "score": "0.5739593", "text": "public static JsonResponse ToResponseFromJson(String json)\n {\n Gson gson = new Gson ();\n\n return gson.fromJson ( json , JsonResponse.class );\n }", "title": "" }, { "docid": "44f1533f5581b1526694c6c4fbe78d29", "score": "0.57308054", "text": "protected Entity mapEntityFromJson(String json) throws JsonParseException, JsonMappingException, IOException {\n\t\treturn objectMapper.readValue(json, this.getClass());\n\t}", "title": "" }, { "docid": "de56cc5a60f34b7bdcae187fb5442555", "score": "0.57185197", "text": "public abstract T parse(JSONObject json) throws JSONException;", "title": "" }, { "docid": "a7d1aeb5f564f44112f79c68444eb7af", "score": "0.56900984", "text": "public SimpleJsonSerialization(JsonObject object) { }", "title": "" }, { "docid": "06026ed2d0afde5f6e45eb3e218d54d2", "score": "0.5679667", "text": "public HouseAccount jsonToJavaBean(JSONObject obj) {\n return new HouseAccount(obj);\n }", "title": "" }, { "docid": "35a71deb3cfd6d196ed53aa11fae06e2", "score": "0.565156", "text": "public static <T extends Object> T readObjectJson(String json, Class<T> cls) {\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\ttry {\n\t\t\treturn mapper.readValue(json, cls);\n\t\t} catch (JsonProcessingException e) {\n\t\t\tfail(\"Can't read from JSON object \" + cls.getName() + \":\\n\" + e.getMessage());\n\t\t}\n\t\treturn null;\t\n\t}", "title": "" }, { "docid": "223b8093dcf662fe681ed7bc7f452f03", "score": "0.5647133", "text": "public static Contato converterParaContato(final JSONObject json) throws JSONException {\n Contato contato = new Contato();\n contato.setId(json.getInt(ContatoWS.ID));\n contato.setNome(json.getString(ContatoWS.NOME));\n contato.setApelido(json.getString(ContatoWS.APELIDO));\n return contato;\n }", "title": "" }, { "docid": "07b9fa149667cf0853a1a90852a4d053", "score": "0.5643858", "text": "public static <T> T convertFromJson(String toConvert, Class<T> clazz){\n return gson.fromJson(toConvert, clazz);\n }", "title": "" }, { "docid": "d939567d329e1c9b777ca1c2ad078c21", "score": "0.56425583", "text": "public abstract JsonObject toJson();", "title": "" }, { "docid": "46f716f5ad79857f62702ca365e7d56e", "score": "0.5637418", "text": "public static JsonObject fromMongoDB(final JsonObject json) {\n return transformFieldNames(json, Util::unescapeFieldName).build();\n }", "title": "" }, { "docid": "791e1f4fa9b265399491b13cecb267e7", "score": "0.5627434", "text": "public static User jsonToObject(JsonReader reader)\n {\n UUID id = null;\n String username = null;\n String password = null;\n Timestamp timestamp = null;\n\n\n try\n {\n if (reader.peek() == JsonToken.BEGIN_OBJECT)\n reader.beginObject();\n\n while (reader.hasNext())\n {\n String name = reader.nextName();\n if (name.equals(\"UID\") && reader.hasNext())\n {\n id = UUID.fromString(reader.nextString());\n }\n else if (name.equals(\"Username\") && reader.hasNext())\n {\n username = reader.nextString();\n }\n else if (name.equals(\"Password\") && reader.hasNext())\n {\n password = reader.nextString();\n }\n else if (name.equals(\"Timestamp\") && reader.hasNext())\n {\n try\n {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\n Date parsedTimeStamp = dateFormat.parse(reader.nextString());\n timestamp = new Timestamp(parsedTimeStamp.getTime());\n }\n catch (ParseException e)\n {\n e.printStackTrace();\n }\n }\n else\n {\n reader.skipValue();\n }\n }\n reader.endObject();\n }\n catch (Exception e)\n {\n Log.d(\"User\", \"User konnte nicht geparst werden.\");\n return null;\n }\n\n if (id != null && username != null && password != null && timestamp != null)\n return new User(id, username, password, timestamp);\n else\n return null;\n }", "title": "" }, { "docid": "8e448786b12ff4fb080c449b96e48480", "score": "0.56245476", "text": "@Override\n\tpublic Annotation convertJsonToAnnotation(AnnotationJson jsonObj) throws AnnotationExceptions {\n\n\t\tAnnotation annotation = null;\n\t\tannotation = createAnnotations(jsonObj);\n\t\tcreateAndAddBody(annotation, jsonObj);\n\t\tcreateAndAddTarget(annotation, jsonObj.getTarget());\n\n\t\treturn annotation;\n\t}", "title": "" }, { "docid": "26f93ae1a0af1273f5f6ed2810fe0161", "score": "0.5616773", "text": "public JSONParsableObject() {}", "title": "" }, { "docid": "61380f8b82b4694311613c4dacc62fc5", "score": "0.56097484", "text": "public static <T> T json2pojo(String jsonStr, TypeReference<T> valueTypeRef) throws DemoException {\n try {\n return objectMapper.readValue(jsonStr, valueTypeRef);\n } catch (Exception e) {\n throw new DemoException(\"对象序列化json格式发生异常\");\n }\n }", "title": "" }, { "docid": "99813fc4fb91d2ccaa2dbf00c659757e", "score": "0.56078744", "text": "PojoRecreator createPojoRecreator(ExpressiveObjectsConfiguration configuration);", "title": "" }, { "docid": "b3c787b6b21370215a8b894c583b1c23", "score": "0.5596466", "text": "JsonObject toJson();", "title": "" }, { "docid": "42b5bd9ba110483877839e78cc2a58af", "score": "0.55653715", "text": "<BEAN> BEAN parseJson(String json, Class<BEAN> beanType);", "title": "" }, { "docid": "205c5bd2dd79cb4fb76acf5dc8cd916f", "score": "0.55610126", "text": "public interface JSONable {\n\n JSONObject toJSON();\n}", "title": "" }, { "docid": "f3337010ac64fffd6fe0be89b1553237", "score": "0.5530386", "text": "public static <E> E toJavaObject(String jsonString, Class<E> clazz) {\n try {\n return mapper.readValue(jsonString, clazz);\n } catch (Exception e) {\n return null;\n }\n }", "title": "" }, { "docid": "6efb5bf7d0172623e0e7da327a10dd11", "score": "0.54919165", "text": "abstract Object convertField(JsonElement value);", "title": "" }, { "docid": "d6f837c0049b725c943ab1e90ab64928", "score": "0.54880184", "text": "public static Object read(Object object, JSONObject json)\n throws MapperException {\n\n ClassInfo info = getClassInfo(object.getClass());\n for (String name : JSONObject.getNames(json)) {\n FieldInfo fi = info.fieldsByJsonName.get(name);\n if (fi == null) {\n continue;\n }\n\n try {\n switch (fi.type) {\n case INT:\n fi.field.setInt(object, json.getInt(name));\n break;\n\n case INTEGER:\n fi.field.set(object, Integer.valueOf(json.getInt(name)));\n break;\n\n case CHAR:\n fi.field.setChar(object, (char) json.getInt(name));\n break;\n\n case CHARACTER:\n fi.field.set(object,\n Character.valueOf((char) json.getInt(name)));\n break;\n\n case STRING:\n fi.field.set(object, json.getString(name));\n break;\n\n case BOOLEAN:\n fi.field.set(object, json.getBoolean(name));\n break;\n\n case DATE:\n fi.field.set(object, new Date(json.getLong(name)));\n break;\n }\n } catch (IllegalAccessException e) {\n throw new MapperException(\"Failed to set object field \"\n + fi.field.getName(), e);\n }\n }\n\n return object;\n }", "title": "" }, { "docid": "d5ba4b4831c8d8d6556247fe3887c2ac", "score": "0.5462259", "text": "private JsonToRestaurantParser() {}", "title": "" }, { "docid": "c46fd7b77f3c8e2f6f802f439a87e329", "score": "0.5460233", "text": "Object toJSON(Object in);", "title": "" }, { "docid": "416916434981cc93ce9719d951d8b070", "score": "0.5455945", "text": "public static <T> T fromJson(@NotNull String json, @NotNull Class<T> type) {\n ObjectMapper mapper = new ObjectMapper();\n try {\n return mapper.readerFor(type).readValue(json);\n } catch (IOException exc) {\n throw new UncheckedIOException(exc);\n }\n }", "title": "" }, { "docid": "ffc9e30325dd871b7a9377e6d3352b22", "score": "0.54510665", "text": "public User convert(String json) throws Exception {\r\n\t\tJsonObject jsonObject = JsonReader.readAsJsonObject(json);\r\n\t\tfinal User user = new User();\r\n\t\tuser.setFirstName(JsonReader.getStringOrNull(jsonObject, FIRSTNAME));\r\n\t\tuser.setLastName(JsonReader.getStringOrNull(jsonObject, LASTNAME));\r\n\t\tuser.setPreferredName(JsonReader.getStringOrNull(jsonObject, PREFEREDNAME));\r\n\t\tuser.setEmail(JsonReader.getStringOrNull(jsonObject, EMAIL));\r\n\t\tuser.setUserID(JsonReader.getStringOrNull(jsonObject, EMAIL));\r\n\t\tuser.setDateOfBirth(new SimpleDateFormat(DD_MM_YYYY).parse(JsonReader.getStringOrNull(jsonObject, DOB)));\r\n\t\tuser.setOccupation(JsonReader.getStringOrNull(jsonObject, OCCUPATION));\r\n\t\tuser.setGender(JsonReader.getStringOrNull(jsonObject, GENDER));\r\n\t\tuser.setIndustry(JsonReader.getStringOrNull(jsonObject, INDUSTRY));\r\n\t\tuser.setInterest(JsonReader.getStringOrNull(jsonObject, \"\t\"));\r\n\t\tuser.setSource(JsonReader.getStringOrNull(jsonObject, SOURCE));\r\n\t\tuser.setPassword(JsonReader.getStringOrNull(jsonObject, PASSWORD));\r\n\t\treturn user;\r\n\t}", "title": "" }, { "docid": "fbd6d91ccc72952f063ba99ceb4a9647", "score": "0.54417026", "text": "public static User fromJSON(JSONObject json){\n User u = new User();\n //extract and fill object from json\n try {\n u.name = json.getString(\"name\");\n u.uid = json.getLong(\"id\");\n u.screenName = json.getString(\"screen_name\");\n u.profilePicUrl = json.getString(\"profile_image_url\");\n u.tagline = json.getString(\"description\");\n u.followers = json.getInt(\"followers_count\");\n u.following = json.getInt(\"friends_count\");\n } catch (JSONException e) {\n e.printStackTrace();\n }\n return u;\n }", "title": "" }, { "docid": "bd584676f5041763d1b5095bb233d60c", "score": "0.5433971", "text": "public static <T> T parseJSONString(String json, Class<T> type) throws JsonConversionException {\n\n try {\n return om.readValue(json, type);\n } catch (IOException ex) {\n throw new JsonConversionException(DESERIALIZE_ERROR_MSG + type.getName(), ex);\n }\n }", "title": "" }, { "docid": "c7bfd44fb476b25f94eb58f3611a732d", "score": "0.54113454", "text": "private ParseJson() {\n\n }", "title": "" }, { "docid": "2af33ffdb2e506bb4f0074ab11970999", "score": "0.54086566", "text": "public static CustomerEntity fromJson2CustomerEntity(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, CustomerEntity.class);\n }", "title": "" }, { "docid": "ba7b1adcfb073504d3620ec65bd86dbc", "score": "0.54072917", "text": "private Contact getContactFromJSON(Object data){\r\n\t\tJSONObject jsonObject = JSONObject.fromObject(data);\r\n\t\tContact newContact = (Contact) JSONObject.toBean(jsonObject, Contact.class);\r\n\t\treturn newContact;\r\n\t}", "title": "" }, { "docid": "3a9da81832541491ecd1e0d98eec836b", "score": "0.54031473", "text": "private JSONObject convertJsonFileToObject(String filepath) {\n JSONObject obj = new JSONObject();\n JSONParser jsonParser = new JSONParser();\n \n try (FileReader reader = new FileReader(filepath)) {\n //Read JSON file\n obj = (JSONObject) jsonParser.parse(reader);\n } catch (FileNotFoundException e) {\n System.out.println(e.getMessage());\n } catch (IOException | ParseException e) {\n System.out.println(e.getMessage());\n }\n \n return obj;\n }", "title": "" }, { "docid": "b9c6054107670a4d852bbfa4c5610a2c", "score": "0.53997535", "text": "public static <T> T readJsonAsObject(String subdir, String jsonFileName){\n File configFile = getConfigFile(subdir, jsonFileName);\n if(configFile == null) return null;\n \n String content = readFileAsString(configFile);\n if(content == null || content.length() == 0) return null;\n \n Gson gson = getGsonPretty();\n return gson.fromJson(content, new TypeToken<T>(){}.getType());\n }", "title": "" }, { "docid": "359dd85238a9ecaf039859f0fbfbfe89", "score": "0.53790605", "text": "public static <T> T convertFromJSONObject(String jsonStr, Class<T> cls) {\n if (isEmpty(jsonStr) || null == cls) {\n return null;\n }\n\n try {\n JSONObject jsonObj = new JSONObject(jsonStr);\n return convertFromJSONObject(jsonObj, cls);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "9db098692999000a3efabd3f661cf889", "score": "0.53730726", "text": "public static MessageDTO fromJson(String json) {\n\t\tMap<String, String> map = new HashMap();\n\t\tmap = PARSER.fromJson(json, map.getClass());\n\t\tMessageType messageType = MessageType.parse(map.get(MSG_TYPE_PARAM));\n\t\tString body = map.get(BODY_PARAM);\n\t\tString id = map.get(ID_PARAM);\n\t\treturn new MessageDTO(messageType, body, id);\n\t}", "title": "" }, { "docid": "ce425277bed5affd7ca6f99fffb28b6e", "score": "0.5372905", "text": "public interface Jsonable {\n JsonElement toJson();\n}", "title": "" }, { "docid": "d9f24e0354f153f4502e3f3f59518cc1", "score": "0.5354832", "text": "public static <T> T convertFromJSONObject(JSONObject jsonObj, Class<T> cls) {\n if (null == jsonObj || null == cls) {\n printLog(\"convertFrom jsonObj is null or cls is null.\");\n return null;\n }\n printLog(\"convertFrom jsonObj is : \" + jsonObj.toString() + \" cls is: \" + cls.getName());\n\n T instance = null;\n try {\n instance = cls.newInstance();\n } catch (InstantiationException e) {\n e.printStackTrace();\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n }\n if (null == instance) {\n printLog(\"instance is null, return.\");\n return null;\n }\n\n Field[] fields = cls.getDeclaredFields();\n if (null == fields || fields.length == 0) {\n printLog(\"fields is empty, return.\");\n return null;\n }\n int fieldLength = fields.length;\n for (int i = 0; i < fieldLength; i++) {\n Field field = fields[i];\n int modifiers = field.getModifiers();\n if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {\n continue;\n }\n Alias fieldAlias = field.getAnnotation(Alias.class);\n if (null == fieldAlias) {\n continue;\n }\n String fieldName = fieldAlias.value();\n if (isEmpty(fieldName)) {\n continue;\n }\n printLog(\"fieldName is: \" + fieldName);\n if (!jsonObj.has(fieldName)) {\n printLog(\"jsonObj has no fieldName, return.\");\n continue;\n }\n\n try {\n String fieldTypeName = field.getType().getSimpleName();\n printLog(\"fieldTypeName is: \" + fieldTypeName);\n field.setAccessible(true);\n if (\"int\".equals(fieldTypeName)) {\n int value = jsonObj.optInt(fieldName);\n field.set(instance, value);\n } else if (\"boolean\".equals(fieldTypeName)) {\n boolean value = jsonObj.optBoolean(fieldName);\n field.set(instance, value);\n } else if (\"long\".equals(fieldTypeName)) {\n long value = jsonObj.optLong(fieldName);\n field.set(instance, value);\n } else if (\"double\".equals(fieldTypeName) || \"float\".equals(fieldTypeName)) {\n double value = jsonObj.optDouble(fieldName);\n field.set(instance, value);\n } else if (\"String\".equals(fieldTypeName)) {\n String value = jsonObj.optString(fieldName);\n field.set(instance, value);\n } else if (\"Object\".equals(fieldTypeName)) {\n field.set(instance, new Object());\n } else {\n Object tmpObj = jsonObj.opt(fieldName);\n Object value = null;\n if (tmpObj instanceof JSONObject) {\n value = convertFromJSONObject((JSONObject) tmpObj, field.getType());\n } else if (tmpObj instanceof JSONArray) {\n ParameterizedType type = (ParameterizedType) field.getGenericType();\n value = convertFromJSONArray((JSONArray) tmpObj, type.getActualTypeArguments()[0]);\n }\n field.set(instance, value);\n }\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n return null;\n }\n }\n\n return instance;\n }", "title": "" }, { "docid": "e20ecc2b2886111997e7b9c8bb03d544", "score": "0.5348449", "text": "Seed parse(String json);", "title": "" }, { "docid": "64c18c9329fb2f4bd2704b78c64e69ae", "score": "0.53468317", "text": "public static Object convertToPOJO(String content, Class objClass) throws IOException,JsonParseException,JsonMappingException {\n\t\t\n\t\tObjectMapper objectMapper = new ObjectMapper();\n\t\treturn objectMapper.readValue(content, objClass);\n\t\t\n\t}", "title": "" }, { "docid": "195b99dcf5422743847b87d2890d700f", "score": "0.5336159", "text": "Object convertJsonToInternalValue(Object jsonValue) throws InvalidValueException;", "title": "" }, { "docid": "b5525d6e153b01c81a5dcd96652dcf9a", "score": "0.5327021", "text": "public static BCFItem fromJson(JsonElement json) {\n if (json.isJsonPrimitive()) {\n JsonPrimitive p = json.getAsJsonPrimitive();\n if (p.isNumber())\n return store(p.getAsNumber());\n if (p.isBoolean())\n return store(p.getAsBoolean());\n if (p.isString())\n return store(p.getAsString());\n }\n\n if (json.isJsonArray()) {\n BCFList list = new BCFList();\n JsonArray array = json.getAsJsonArray();\n array.forEach(e -> list.add(fromJson(e)));\n return list;\n }\n\n if (json.isJsonObject()) {\n BCFMap map = new BCFMap();\n JsonObject obj = json.getAsJsonObject();\n obj.entrySet().forEach(e -> map.put(e.getKey(), fromJson(e.getValue())));\n return map;\n }\n return BCFNull.INSTANCE;\n }", "title": "" }, { "docid": "52bf451ad558d50a5d25240d78d05069", "score": "0.5325898", "text": "JSONObject toJson();", "title": "" }, { "docid": "52bf451ad558d50a5d25240d78d05069", "score": "0.5325898", "text": "JSONObject toJson();", "title": "" }, { "docid": "52f5ea8d890bb725ed08650fd06232b9", "score": "0.53228533", "text": "static public FwiData convertJsonToData(FwiJson json) {\n\t\tif (json == null) return null;\n\t\treturn FwiCodec.convertStringToData(FwiCodec.convertJsonToString(json));\n\t}", "title": "" }, { "docid": "d740cfb2a55322281dd3ed8d823a3148", "score": "0.5321481", "text": "private Tasks convertJSONtoObject(String fileName) throws FileNotFoundException,\n\t\t\tIOException {\n\t\tGson gson = new Gson();\n\t\tFileReader fr = new FileReader(fileName);\n\t\tBufferedReader br = new BufferedReader(fr);\n File file = new File(fileName);\n\n if(!file.exists()){\n throw new FileNotFoundException(\"File Mising!\");\n }\n\n\t\tString json = br.readLine();\n\t\tbr.close();\n fr.close();\n\t\ttasks = gson.fromJson(json, Tasks.class);\n return tasks;\n\t}", "title": "" }, { "docid": "e0021e9ffd4295792edbb31afa344567", "score": "0.5314558", "text": "private JSONUtils() {}", "title": "" }, { "docid": "d30fcbe2b4258c9507db2861ef23bb0f", "score": "0.52991784", "text": "<T> T read(String jsonString, Class<T> tClass);", "title": "" }, { "docid": "783a55ef0a72f22ac17155756dd09a00", "score": "0.5297456", "text": "@Override\r\n\tpublic void deserializeFromJSON(String json) {\n\r\n\t}", "title": "" }, { "docid": "783a55ef0a72f22ac17155756dd09a00", "score": "0.5297456", "text": "@Override\r\n\tpublic void deserializeFromJSON(String json) {\n\r\n\t}", "title": "" }, { "docid": "c7f79dc32cc35939c4296f48d19a3bcb", "score": "0.5294933", "text": "@Test\n public void serializeAndDeserializeClass() {\n String serialized = gson.toJson(BlogOwner.class);\n assertEquals(\n Wrap.inDoubleQuotes(\"com.amplifyframework.testmodels.commentsblog.BlogOwner\"),\n serialized\n );\n Class<?> deserialized = gson.fromJson(serialized, Class.class);\n assertEquals(BlogOwner.class, deserialized);\n }", "title": "" }, { "docid": "3e5f4b43c09ce4709c512d41eba287ba", "score": "0.5284019", "text": "public static <T> T fromJson(@NotNull String json, TypeReference<T> type) {\n ObjectMapper mapper = new ObjectMapper();\n try {\n return mapper.readValue(json, type);\n } catch (IOException exc) {\n throw new UncheckedIOException(exc);\n }\n }", "title": "" }, { "docid": "32aaffb8e71dfe60e1d274186a1ee89f", "score": "0.5272264", "text": "public static String parseJsonObjectType(String jsonData) {\n return jsonData.substring(8).split(\",\")[0].replace(\"\\\"\", \"\");\n }", "title": "" }, { "docid": "513252a0e9cda3e4fa72f8abca977db0", "score": "0.5267886", "text": "String convertToJson(Object bean);", "title": "" }, { "docid": "aa79fd9393a439749eed53b29db1b3fa", "score": "0.52674305", "text": "public static <T extends Object> T convertDto2Pojo(Object obj, Class<T> class_) {\n\t\treturn convertPojo2Dto(obj, class_);\n\t}", "title": "" }, { "docid": "1db41c9c7020aefe68be3a22a11509bb", "score": "0.52586025", "text": "public static <T> T getModelFromJson(String json, Class<T> classType) {\n Gson gson = new GsonBuilder().setFieldNamingPolicy(FieldNamingPolicy.IDENTITY).create();\n return gson.fromJson(json, classType);\n }", "title": "" }, { "docid": "31840d22cfe2c7775275d5fa9829380c", "score": "0.5257165", "text": "public static QuoteItem fromJson2QuoteItem(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, QuoteItem.class);\n }", "title": "" }, { "docid": "a506b45c9e9713d4611cece22500a284", "score": "0.5245504", "text": "public JSONObject asJSONObject();", "title": "" }, { "docid": "81d15312b3278f3a1af2e859482d20d2", "score": "0.52443755", "text": "public static Translation fromJson2Translation(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, Translation.class);\n }", "title": "" }, { "docid": "1b911e4a3b6b7d779c1ab1cec665ddab", "score": "0.5243036", "text": "public static User JsonToItem(String response){\n //Date format\n String DATE_FORMAT = \"dd/MM/yyyy HH:mm:ss\";\n\n //Deserialize Webservice user information flow\n GsonBuilder gsonBuilder = new GsonBuilder();\n gsonBuilder.setDateFormat(DATE_FORMAT);\n gsonBuilder.excludeFieldsWithoutExposeAnnotation();\n Gson gson = gsonBuilder.create();\n\n User user = gson.fromJson(response, User.class);\n return user;\n }", "title": "" }, { "docid": "bcdf5763483056720914cc4b12763b5e", "score": "0.5235222", "text": "public static <T> T parseJson(String json, Class<T> classType) {\n try {\n return objectMapper.readValue(json, classType);\n } catch (Exception e) {\n logger.error(\"deserialize json {} failed, exception is {}\",\n json, classType, e);\n }\n return null;\n }", "title": "" }, { "docid": "005b1b39473b80d4b0e68def81438a88", "score": "0.5234833", "text": "public static <T> T convertFromJson(String toConvert, Type typeOfT){\n return gson.fromJson(toConvert, typeOfT);\n }", "title": "" }, { "docid": "77d605948c31635b5a78a2f2195a07fd", "score": "0.52194923", "text": "public interface TaskConverter {\n /** A contract method to convert an object into json object */\n JSONObject toJsonObject();\n}", "title": "" }, { "docid": "634260c33b3f8d07c2146c6c327d6b69", "score": "0.52170753", "text": "public static <T> T deserializeJson(Class<T> clazz, String json)\n\t\t\tthrows IOException, JsonParseException, JsonMappingException {\n\t\tT deSerializedValue = null;\n\n\t\tif (StringUtils.isNotBlank(json)) {\n\t\t\tdeSerializedValue = (T) new ObjectMapper().readValue(json, clazz);\n\t\t}\n\t\treturn deSerializedValue;\n\t}", "title": "" }, { "docid": "c11620b88d22475645a49e9565d8ed75", "score": "0.5212045", "text": "public static HashMap<String,Object> jsonToHashMap(String json){\n TypeReference<HashMap<String,Object>> typeRef = new TypeReference<HashMap<String,Object>>() {};\n try {\n return mapper.readValue(json, typeRef);\n }\n catch(JsonGenerationException g){\n logger.error(\"Object to JSON Error: \".concat(g.getMessage()));\n return null;\n }\n catch(JsonMappingException m){\n logger.error(\"Object to JSON Error: \".concat(m.getMessage()));\n return null;\n }\n catch(Exception ex){\n logger.error(\"Object to JSON Error: \".concat(ex.getMessage()));\n return null;\n }\n }", "title": "" }, { "docid": "3e3cb15076bd70bfdd9c07731062d6eb", "score": "0.519177", "text": "private JSONObject getJson(String json) throws JSONException {\n return (JSONObject) new JSONTokener(json).nextValue();\n }", "title": "" }, { "docid": "000c9d803096ad00bd45d19119092a96", "score": "0.5188994", "text": "public static Object convertFromJsonStrToEntity(Class<?> clazz,\r\n\t\t\tString jsonStr) throws JsonParseException, JsonMappingException,\r\n\t\t\tIOException {\r\n\r\n\t\tObjectMapper mapper = new ObjectMapper();\r\n\t\tmapper.configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true);\r\n\t\tObject obj = mapper.readValue(jsonStr, clazz);\r\n\r\n\t\treturn obj;\r\n\r\n\t}", "title": "" }, { "docid": "ecdaa1eb42fcefc0e093ffad5124d13e", "score": "0.5169457", "text": "public static <T> T fromJson(String jsonValue, Class<T> cls) {\n\t\t//Sé que es malo crear un objeto Gson cada vez que llamamos al método Json (), pero\n\t\t//Ahora mismo no quiero ensuciar con los beans UserFileMetadata.\n\t\treturn gson.fromJson(jsonValue, cls);\n\t}", "title": "" }, { "docid": "246d6e96cb5ce579293473485a88e32e", "score": "0.51611656", "text": "public interface JsonMapper {\n\n /**\n * Method to deserialize JSON content from the given string to given model type.\n * Used for \"model.\" package classes only\n */\n <T> T read(String jsonString, Class<T> tClass);\n\n /**\n * Method to serialize request object as a JSON string\n */\n String write(YandexCheckoutRequest requestModel);\n\n}", "title": "" }, { "docid": "b3b13d80df693e9c1595d73d1892c834", "score": "0.5156829", "text": "public static Quote fromJson2Quote(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, Quote.class);\n }", "title": "" }, { "docid": "638c94458f0fbbb2ce092d9f43764390", "score": "0.51531935", "text": "public interface Data {\n\n JsonObject toJsonObject();\n\n}", "title": "" }, { "docid": "ce98e0733bcb6a420dedd6f6a295a6ae", "score": "0.51528335", "text": "public static <T> T readJsonAsObject(String jsonFileName, Type typeOfT){\n File configFile = getConfigFile(jsonFileName);\n if(configFile == null) return null;\n \n String content = readFileAsString(configFile);\n if(content == null || content.length() == 0) return null;\n \n Gson gson = getGsonPretty();\n return gson.fromJson(content, typeOfT);\n\t}", "title": "" }, { "docid": "a0dd246b8d244980fb038578ec95a9d7", "score": "0.51390487", "text": "public static <T> T convertFromJson(String stringToConvert, Class<T> objectType) {\n\n Gson gson = new Gson();\n T returnObj = null;\n\n try {\n returnObj = gson.fromJson(stringToConvert.trim(), objectType);\n\n } catch (JsonSyntaxException jse) {\n logger.error(\"JSON Syntax Error while converting from JSON: \" + jse.getMessage());\n\n //throw new MyCustomException(\"JSON Syntax Error\", ErrorCode.INTERNAL_ERR, \"Json syntax error converting from JSON: \" + jse.getMessage(), ErrorCategory.SERVER_ERR_TYPE);\n }\n\n return returnObj;\n }", "title": "" }, { "docid": "c0997b28e426ff83bd7613aabf4cf9ae", "score": "0.51373357", "text": "public static PersistentSession fromJson2PersistentSession(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, PersistentSession.class);\n }", "title": "" }, { "docid": "c9e4b28ea4138d2b3f8bfa5e13f5e9be", "score": "0.51319003", "text": "static Object parseObject(String value, Gson gson) {\n return gson.fromJson( value, JsonElement.class );\n }", "title": "" }, { "docid": "2ccbadc43b3b4603752286856bedb13d", "score": "0.51259977", "text": "public static TemandoOrder fromJson2TemandoOrder(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, TemandoOrder.class);\n }", "title": "" }, { "docid": "3a06c5d9bc84a03e709fe4c5b58a70dd", "score": "0.5123042", "text": "public static JsonObject toMongoDB(final JsonObject json) {\n return transformFieldNames(json, Util::escapeFieldName).build();\n }", "title": "" }, { "docid": "8ca89d766970ca850a4b3e0e2625cc70", "score": "0.5118721", "text": "public static EnterpriseInfoDTO fromJson(String jsonString) throws IOException {\n return JSON.getGson().fromJson(jsonString, EnterpriseInfoDTO.class);\n }", "title": "" }, { "docid": "a859774f99a449c181e83325f0878801", "score": "0.511758", "text": "interface Converter<T> {\n /**\n * Turn the JavaScript object <i>obj</i> into a Java one. NB: For some values (e.g. strings), this may be a regular Java object.\n */\n T convert(Object obj);\n }", "title": "" }, { "docid": "c8b2fee3b3d07cb1e695bdfd423dabe0", "score": "0.5107336", "text": "Object unmarshal(String objAsData, Class classOfObj);", "title": "" }, { "docid": "5fbcdd4b48f4adc681f0af4cc29cf3fe", "score": "0.5102183", "text": "public static AmazonCustomer fromJson2AmazonCustomer(JsonElement json) {\n Objects.requireNonNull(json);\n return gson.fromJson(json, AmazonCustomer.class);\n }", "title": "" }, { "docid": "4e648b50ac64944822e067762534af4d", "score": "0.50967044", "text": "public JSONObject convertJSONString2Obj(String jsonString) {\n JSONObject jObj = null;\n try {\n Log.w(\"convertJSONString2Obj\", \"JsonString=\" + jsonString);\n jObj = new JSONObject(jsonString);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n return jObj;\n }", "title": "" }, { "docid": "c3f5a12da064cc07e0043a718212c2a0", "score": "0.5091158", "text": "public JSONModel() {\n }", "title": "" }, { "docid": "a88b529688924083c1f7a7b81522f62c", "score": "0.509109", "text": "private Map<String, Object> convertJSONtoMap(JSONObject json) throws JSONException {\n Map<String, Object> ret = new HashMap<String, Object>();\n\n if (json != JSONObject.NULL) {\n ret = toMap(json);\n }\n\n return ret;\n }", "title": "" } ]
8a1e4c4874c0c6e2c6d2a8f7602f004b
.msggamedata.MsgNPCTalkTopic.Scene scene = 2;
[ { "docid": "e602535f9f3707e09199d070c4208e7e", "score": "0.0", "text": "public int getSceneValue() {\n return scene_;\n }", "title": "" } ]
[ { "docid": "0d9d6bdc8356af1a283795c832981f66", "score": "0.77457124", "text": "com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene getScene();", "title": "" }, { "docid": "8d9f0c54d6b91fd9c2201f3274fbd34f", "score": "0.61607987", "text": "@Override\r\n public void onMessage(Message<String> msg) {\n\r\n visualizationControl.processEvent(msg.getMessageObject());\r\n window.addLogMessage(msg.getMessageObject());\r\n\r\n\r\n// switch (msg.getMessageObject().trim()) {\r\n// case \"ipc04.01_09.LS_06 true\":\r\n// cmdTopic.publish(\"init\");\r\n// try {\r\n// Thread.sleep(5000);\r\n// } catch (InterruptedException ie) {\r\n// }\r\n// cmdTopic.publish(\"automove on\");\r\n// cmdTopic.publish(\"nach 1\");\r\n// break;\r\n// case \"ipc14.04_05.LS_03 true\":\r\n// try {\r\n// Thread.sleep(3000);\r\n// } catch (InterruptedException ie) {\r\n// }\r\n// cmdTopic.publish(\"von 1\");\r\n// cmdTopic.publish(\"nach 3\");\r\n// break;\r\n// case \"ipc14.04_10.LS_09 true\":\r\n// try {\r\n// Thread.sleep(3000);\r\n// } catch (InterruptedException ie) {\r\n// }\r\n// cmdTopic.publish(\"von 3\");\r\n// cmdTopic.publish(\"nach 1\");\r\n// break;\r\n// }\r\n }", "title": "" }, { "docid": "0456df269a955a5108b3b0ec20238b78", "score": "0.5843314", "text": "public String getScene(){\n return scene;\n }", "title": "" }, { "docid": "d6f0da2c68324f717b0e39a82056ac9c", "score": "0.56931967", "text": "String getGameMessage();", "title": "" }, { "docid": "55d1fd2ab81e58bdfcdc395faa26e7e2", "score": "0.5617171", "text": "public com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene getScene() {\n com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene result = com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene.valueOf(scene_);\n return result == null ? com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "a57e83ed01a3ebcdcc642988d33520d3", "score": "0.5617101", "text": "public void initialMessage(){\n model.getGameboard().setModelMessage(new ModelMessage(ModelMessageType.WAIT, ModelError.NONE, Global.WELCOME, Global.SPACE));\n model.informView();\n defineModelMessage(ModelMessageType.GODNAME, Global.YOUARETHEYOUNGESTSELECT +godChoiceTimes +Global.SPACE+Global.GODS);\n model.informView();\n }", "title": "" }, { "docid": "71fefae5ced59751f217ada70f401789", "score": "0.5586446", "text": "public com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene getScene() {\n com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene result = com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene.valueOf(scene_);\n return result == null ? com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "e08ddda7e10d30c7b5b2970f63c931c6", "score": "0.5565263", "text": "private void changeSceneNodeText()\n {\n\t\tmenuFike.setText(resources.getString(\"file\")); \n\t\tmenuItemNewMessage.setText(resources.getString(\"newnessage\")); \n\t\tmenuItemClose.setText(resources.getString(\"close\"));\n\t\tmenuEdit.setText(resources.getString(\"edit\")); \n\t\tmenuItemDelete.setText(resources.getString(\"delete\")); \n\t\tmenuItemConnectionProperties.setText(resources.getString(\"connectionproperties\"));\n\t\tmenuHelp.setText(resources.getString(\"help\")); \n\t\tmenuItemAbout.setText(resources.getString(\"about\"));\n\t\tbuttonConnectionProperties.setText(resources.getString(\"connectionproperties\"));\n\t\tbuttonNewMessage.setText(resources.getString(\"newnessage\")); \n\t\tbuttonDelete.setText(resources.getString(\"delete\"));\n\t\tlabelSearch.setText(resources.getString(\"search\")); \n\t\ttableColumnFrom.setText(resources.getString(\"from\")); \n\t\ttableColumnSubject.setText(resources.getString(\"subject\")); \n\t\ttableColumnDate.setText(resources.getString(\"date\")); \n\t\t\n\t\tcomboBoxLanguage.getItems().set(0, resources.getString(\"english\"));\n\t\tcomboBoxLanguage.getItems().set(1, resources.getString(\"french\"));\n combocBoxSearch.getItems().clear();\n combocBoxSearch.getItems().add(resources.getString(\"from\"));\n combocBoxSearch.getItems().add(resources.getString(\"to\"));\n combocBoxSearch.getItems().add(\"Bcc\");\n combocBoxSearch.getItems().add(\"Cc\");\n combocBoxSearch.getItems().add(resources.getString(\"date\"));\n combocBoxSearch.getSelectionModel().clearAndSelect(0); \n }", "title": "" }, { "docid": "2c27535f19a4c662354826c39199d4a8", "score": "0.5538695", "text": "public Builder setScene(com.felania.msldb.MsgNPCTalkTopicOuterClass.MsgNPCTalkTopic.Scene value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n scene_ = value.getNumber();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "20e3115815e8bcf5103033295bc88342", "score": "0.5515058", "text": "public void setScene(Scene scene){\n this.scene = scene;\n }", "title": "" }, { "docid": "4cbeceb84acff8d156aacfc8e001227a", "score": "0.55069196", "text": "public void initScene() {\n sceneParam = game.getSceneFileManager().getScene(Integer.valueOf(sceneId)).split(\";\");\n this.text = sceneParam[1];\n this.sceneType=sceneParam[2];\n this.backgroundFile = sceneParam[3];\n }", "title": "" }, { "docid": "97b752652578ffd90375aef9a2b48f9e", "score": "0.53992724", "text": "@Override\n\tpublic void msg() {\n\t\t\n\t}", "title": "" }, { "docid": "c2b4aa4fab3879110e88488c28affb0d", "score": "0.5361026", "text": "@Override\n public void onMessage(IMCMessage message) {\n \n }", "title": "" }, { "docid": "730b923f332ae0b41f1bd0f08b8cea6b", "score": "0.53528357", "text": "public void setScene(Scene scene){\n if(hasScene){\n this.scene = scene;\n }\n\n }", "title": "" }, { "docid": "7b6b8e6fd18e9d5ba5e9d66a990ddf4e", "score": "0.5348151", "text": "protected void setupGameMessages(Main main) {\n\n main.saveFade = createFader(main, main.saveSuccLbl);\n main.loadFade = createFader(main, main.loadSuccLbl);\n\n main.ps.getScene().getStylesheets().add(\"css/fancytext.css\");\n main.saveSuccLbl.setTextFill(Color.WHITE);\n main.saveSuccLbl.setId(\"fancytext\");\n main.loadSuccLbl.setTextFill(Color.WHITE);\n main.loadSuccLbl.setId(\"fancytext\");\n\n main.saveGameList.setEditable(true);\n\n }", "title": "" }, { "docid": "6776d5a2b66c6fb0a492322d828372b4", "score": "0.52964365", "text": "public void netGame() {\n\t}", "title": "" }, { "docid": "ea5927ad5dbb71e40119a45034912d23", "score": "0.5291839", "text": "@Override\n public void onShowMsg(String msg) {\n }", "title": "" }, { "docid": "3f477a683a7e98d4fe7a76e608bd2d5f", "score": "0.52792835", "text": "private void message() {\n\t\tmessage = new LesMessages(450, 660);\n\t\tpanel_inscription.add(message);\n\t}", "title": "" }, { "docid": "1c250b2c0afd72c1f7ae4c0172d4fcb4", "score": "0.5276212", "text": "public static NewMessageScene newMessage() {\n \tStage stage = StageUtil.createDialogStage(Resources.getResource(\"messages.new\"));\n\t AbstractScene scene = SceneUtil.changeScene(stage, NewMessageScene.FXML_FILENAME);\n\t \n\t /* Return the new message scene controller */\n\t NewMessageScene controller = (NewMessageScene) scene.getController();\n\t return controller;\n }", "title": "" }, { "docid": "c741044323b7b7a309c0f20488da76c8", "score": "0.5269569", "text": "private void scene() {\n mainScene = assetManager.loadModel(\"Scenes/mainScene.j3o\");\n mainScene.setLocalScale(2f);\n\n CollisionShape sceneShape =\n CollisionShapeFactory.createMeshShape((Node) mainScene);\n landscape = new RigidBodyControl(sceneShape, 0);\n mainScene.addControl(landscape);\n\n CapsuleCollisionShape capsuleShape = new CapsuleCollisionShape(1.5f, 6f, 1);\n player = new CharacterControl(capsuleShape, 0.05f);\n player.setJumpSpeed(20);\n player.setFallSpeed(30);\n player.setGravity(30);\n player.setPhysicsLocation(new Vector3f(0, 10, 0));\n\n rootNode.attachChild(mainScene);\n bulletAppState.getPhysicsSpace().add(landscape);\n bulletAppState.getPhysicsSpace().add(player);\n\n CapsuleCollisionShape enemyCapsuleShape = new CapsuleCollisionShape(1.5f, 6f, 1);\n enemy = new CharacterControl(enemyCapsuleShape, 0.05f);\n enemy.setJumpSpeed(20);\n enemy.setFallSpeed(30);\n enemy.setGravity(30);\n enemy.setPhysicsLocation(new Vector3f(20, 10, 0));\n enemyNode = new Node(\"enemy node\");\n Spatial model = assetManager.loadModel(\"Models/Sinbad/Sinbad.mesh.xml\");\n model.scale(0.25f);\n enemyNode.addControl(enemy);\n bulletAppState.getPhysicsSpace().add(enemy);\n rootNode.attachChild(enemyNode);\n enemyNode.attachChild(model);\n\n\n bulletAppState.getPhysicsSpace().add(landscape);\n bulletAppState.getPhysicsSpace().add(player);\n bulletAppState.getPhysicsSpace().add(enemy);\n\n // score stuff\n\n score = new BitmapText(guiFont, false);\n score.setSize(guiFont.getCharSet().getRenderedSize() * 2);\n score.setText(\"Score : \" + points + \"/\" + maxPoints);\n score.setLocalTranslation(\n 5 * settings.getWidth() / 7,\n settings.getHeight() / 4, 0);\n guiNode.attachChild(score);\n }", "title": "" }, { "docid": "9a700fd76be3b6ca345753ca1dc1ced6", "score": "0.52676934", "text": "public int identifyMessage(){\n return 3;\n }", "title": "" }, { "docid": "000cfba8b95beb842317e3e58c5758fd", "score": "0.5261896", "text": "public void doBehaviour( Object sessionContext ) {\n\n // The sessionContext is here a DataManager.\n DataManager dataManager = (DataManager) sessionContext;\n PlayerImpl player = dataManager.getMyPlayer();\n boolean fanfare = false;\n \n // Return of a command ?\n if (message.startsWith(\"/cmd:\")) {\n JChatRoom chatRoom = dataManager.getClientScreen().getChatPanel().getJChatRoom(chatRoomPrimaryKey);\n chatRoom.appendText(\"<font color='purple'>\"+message.substring(5)+\"</font>\");\n return;\n }\n else if( message.equals(\"/BELL\") ) {\n message = \"/me rings a bell...\";\n SoundLibrary.getSoundPlayer().playSound(\"bell.wav\");\n }\n else if( message.startsWith(\"/FANFARE\") ) { \n int index = message.indexOf(' ');\n if(index<0 || index==message.length()-1) return;\n\n String soundFileName = message.substring(index+1,message.length()).toLowerCase();\n SoundLibrary.getSoundPlayer().playSound(soundFileName);\n message = \"/me sounds the fanfare !\";\n fanfare=true;\n }\n else if( message.equals(\"/KNOCK\") ) {\n message = \"/me knocks at the door...\";\n SoundLibrary.getSoundPlayer().playSound(\"knock.wav\");\n }\n\n\n // We get the sender of this message\n Hashtable players = dataManager.getPlayers();\n PlayerImpl sender = null;\n\n if(players!=null)\n sender = (PlayerImpl) players.get( senderPrimaryKey );\n\n if( sender==null )\n Debug.signal( Debug.WARNING, this, \"Couldnot find the sender of this message : \"+senderPrimaryKey);\n else {\n if(sender.getBasicChar() instanceof DarkOne && fanfare)\n return;\n dataManager.addWaveDrawable(sender);\n senderFullName = sender.getFullPlayerName();\n }\n\n // Is there a modifier in this message ?\n if(message.equals(\"/BLACKAJAH\") && voiceSoundLevel==ChatRoom.SHOUTING_VOICE_LEVEL) {\n BasicChar wotC = sender.getBasicChar();\n \n if( wotC instanceof AesSedai ) {\n if( ((AesSedai) wotC).toggleBlackAjah() )\n dataManager.getClientScreen().getChatPanel().getCurrentJChatRoom().appendText(\"<font color='black'><b>[DARK ONE]<i> NOW YOU ARE MINE \"\n +sender.getPlayerName().toUpperCase()+\" !</i></b></font>\");\n else\n dataManager.getClientScreen().getChatPanel().getCurrentJChatRoom().appendText(\"<font color='black'><b>[DARK ONE]<i> YOU CAN'T HIDE FROM ME. YOUR SOUL IS MINE \"\n +sender.getPlayerName().toUpperCase()+\".</i></b></font>\");\n }\n\n return;\n }\n else if (message.startsWith(\"/me\")) {\n message = \"<font color='blue'><i>\" + senderFullName + \" \" + message.substring(3) + \" </i></font>\";\n }\n else if (message.startsWith(\"/away\")) {\n message = message.substring(5);\n if (message.length()==0) {\n // no parameter : player is no longer away\n sender.getPlayerState().value = PlayerState.CONNECTED;\n message = \"<font color='green'><i>\" + senderFullName + \" is back</i></font>\";\n } else {\n // player is away\n sender.getPlayerState().value = PlayerState.AWAY;\n sender.setPlayerAwayMessage(message);\n message = \"<font color='green'><i>\" + senderFullName + \" is away (\" + message + \" )</i></font>\";\n \n }\n dataManager.getClientScreen().getChatPanel().updateAllChatRooms((Player) sender);\n } \n else if (message.startsWith(\"/to:\")) {\n message = message.substring(4);\n int index = message.indexOf(':');\n\n if( index>=0 && index+1<message.length() ) {\n String otherPlayerName = message.substring(0,index);\n message = \"<font color='blue'><i>\" + senderFullName + \" says to \" + otherPlayerName + message.substring(index) + \"</i></font>\";\n }\n else\n message = \"/to:\" +message+\" <font color='red'>ERROR: bad format</font>\";\n }\n else if( sender!=null && sender.getBasicChar() instanceof DarkOne ) {\n // display the message in the \"dark one manner...\"\n message = \"<b>[DARK ONE] \"+message.toUpperCase()+\" </b>\";\n } \n else {\n // We add sender name\n message = \"[\"+senderFullName+\"] \" + message;\n }\n\n\n // We display the message\n if( voiceSoundLevel!=ChatRoom.SHOUTING_VOICE_LEVEL ) {\n JChatRoom chatRoom = dataManager.getClientScreen().getChatPanel().getJChatRoom(chatRoomPrimaryKey);\n \n if(chatRoom!=null) {\n chatRoom.addPlayer(senderPrimaryKey,senderFullName); // we add the player to the member's list\n switch(voiceSoundLevel) { \n case ChatRoom.WHISPERING_VOICE_LEVEL:\n chatRoom.appendText(\"<font color='gray'>\"+message+\"</font>\"); // if it wasn't already the case\n break;\n case ChatRoom.NORMAL_VOICE_LEVEL:\n chatRoom.appendText(message);\n break;\n }\n }\n else\n Debug.signal( Debug.ERROR, this, \"No JChatRoom \"+chatRoomPrimaryKey+\" found !\");\n }\n else {\n JChatRoom chatRoom = dataManager.getClientScreen().getChatPanel().getCurrentJChatRoom();\n chatRoom.appendText(\"<font color='red'>\"+message+\"</font>\"); // if it wasn't already the case \n }\n\n }", "title": "" }, { "docid": "b3fefc76dbf2714ddbc2d745c4bee266", "score": "0.52432495", "text": "public void setScene(Scene s) {\n\t\tthis.scene = s;\r\n\t}", "title": "" }, { "docid": "427c08a9da476715957bc018d74c9cca", "score": "0.5235646", "text": "Scene createScene();", "title": "" }, { "docid": "1dead6dba309bc86d98e754128d97824", "score": "0.523155", "text": "private void msgPoly(){\n \n }", "title": "" }, { "docid": "aba319d7fb4b503bae650fb97736c3c6", "score": "0.52238166", "text": "void checkSetLive(NodeRetained child, int childIndex, HashKey keys[], \n \t\t boolean isShared, J3dMessage messages[], \n \t\t int messageIndex, NodeRetained linkNode) {\n \n SceneGraphObject me = this.source;\n \tSetLiveState s;\n \tJ3dMessage createMessage;\n \tboolean sendMessages = false;\n \tboolean sendOGMessage = true;\n \tboolean sendVSGMessage = true;\n \n if (me.isLive()) {\n \n \t s = universe.setLiveState;\n \t s.reset(locale);\n \t s.refCount = refCount;\n \t s.inSharedGroup = isShared;\n \t s.inBackgroundGroup = inBackgroundGroup;\n \t s.inViewSpecificGroup = inViewSpecificGroup;\n s.geometryBackground = geometryBackground;\n \t s.keys = keys;\t \n \t s.viewLists = viewLists;\n \t s.parentBranchGroupPaths = branchGroupPaths;\n \t // Note that there is no need to clone individual\n \t // branchGroupArray since they will get replace (not append)\n \t // by creating a new reference in child's group.\n s.branchGroupPaths = (ArrayList) branchGroupPaths.clone();\n s.orderedPaths = orderedPaths;\n \n \t // Make the scoped fogs and lights of the child to include, the\n \t // the scoped fog of this group\n \t s.lights = lights;\n \t s.altAppearances = altAppearances;\n \t s.fogs = fogs;\n \t s.modelClips = modelClips;\n \n \t boolean pick[];\n \t boolean collide[];\n \n \t if (!inSharedGroup) {\n \t\tpick = new boolean[1];\n \t\tcollide = new boolean[1];\n \t } else {\n \t\tpick = new boolean[localToVworldKeys.length];\n \t\tcollide = new boolean[localToVworldKeys.length];\n \t }\n \t findPickableFlags(pick);\n \t super.updatePickable(null, pick);\n \t s.pickable = pick;\n \n \t findCollidableFlags(collide);\n \t super.updateCollidable(null, collide); \n \t s.collidable = collide;\n \n TargetsInterface transformInterface, switchInterface;\n transformInterface = initTransformStates(s, true);\n switchInterface = initSwitchStates(s, this, child, linkNode, true);\n \n \n \t if (s.inViewSpecificGroup && \n \t\t(s.changedViewGroup == null)) {\n \t\ts.changedViewGroup = new ArrayList();\n \t\ts.changedViewList = new ArrayList();\n \t\ts.keyList = new int[10];\n \t\ts.viewScopedNodeList = new ArrayList();\n \t\ts.scopedNodesViewList = new ArrayList();\n \t }\n \n childCheckSetLive(child, childIndex, s, linkNode);\n \n \t CachedTargets[] newCtArr = null;\n newCtArr = updateTransformStates(s, transformInterface, true);\n updateSwitchStates(s, switchInterface, true);\n \n \t // We're sending multiple messages in the call, inorder to\n \t // have all these messages to be process as an atomic operation.\n \t // We need to create an array of messages to MasterControl, this\n \t // will ensure that all these messages will get the same time stamp.\n \n \t // If it is called from \"moveTo\", messages is not null. \n \t if (messages == null) {\n \t\tint numMessages = 2;\n \t\tif(s.ogList.size() > 0) {\n \t\t numMessages++;\n \t\t}\n \t\telse {\n \t\t sendOGMessage = false;\n \t\t}\n \t\tif(s.changedViewGroup != null) {\n \t\t numMessages++;\n \t\t}\n \t\telse {\n \t\t sendVSGMessage = false;\n \t\t}\n \n \t\tmessages = new J3dMessage[numMessages];\n \t\tmessageIndex = 0;\n \t\tfor(int mIndex=0; mIndex < numMessages; mIndex++) {\n \t\t messages[mIndex] = new J3dMessage();\n \t\t}\n \t\tsendMessages = true;\n \t }\n \t \n \t if(sendOGMessage) {\n \t\tcreateMessage = messages[messageIndex++];\t \n \t\tcreateMessage.threads = J3dThread.UPDATE_RENDER | \n \t\t J3dThread.UPDATE_RENDERING_ENVIRONMENT;\n \t\tcreateMessage.type = J3dMessage.ORDERED_GROUP_INSERTED;\n \t\tcreateMessage.universe = universe;\n \t\tcreateMessage.args[0] = s.ogList.toArray();\n \t\tcreateMessage.args[1] = s.ogChildIdList.toArray();\n \t\tcreateMessage.args[2] = s.ogOrderedIdList.toArray();\n \t\tcreateMessage.args[3] = s.ogCIOList.toArray();\n \t\tcreateMessage.args[4] = s.ogCIOTableList.toArray();\n \t }\n \n \n \t if(sendVSGMessage) {\n \t\tcreateMessage = messages[messageIndex++];\n \t\tcreateMessage.threads = J3dThread.UPDATE_RENDERING_ENVIRONMENT;\n \t\tcreateMessage.type = J3dMessage.VIEWSPECIFICGROUP_INIT;\n \t\tcreateMessage.universe = universe;\n \t\tcreateMessage.args[0] = s.changedViewGroup;\n \t\tcreateMessage.args[1] = s.changedViewList;\n \t\tcreateMessage.args[2] = s.keyList;\n \t }\n \n \t createMessage = messages[messageIndex++];\n \t createMessage.threads = s.notifyThreads;\n \t createMessage.type = J3dMessage.INSERT_NODES;\n \t createMessage.universe = universe;\n \t createMessage.args[0] = s.nodeList.toArray();\n \t if (newCtArr != null) {\n createMessage.args[1] = transformInterface;\n createMessage.args[2] = newCtArr;\n \t } else {\n createMessage.args[1] = null;\n createMessage.args[2] = null;\n \t } \n \n \t if (s.viewScopedNodeList != null) {\n \t\tcreateMessage.args[3] = s.viewScopedNodeList;\n \t\tcreateMessage.args[4] = s.scopedNodesViewList;\n \t }\n \t \n // execute user behavior's initialize methods\n \t int sz = s.behaviorNodes.size();\n \n for (int i=0; i < sz; i++) {\n BehaviorRetained b;\n b = (BehaviorRetained)s.behaviorNodes.get(i);\n b.executeInitialize();\n }\n \n s.behaviorNodes.clear();\n \n \t createMessage = messages[messageIndex++];\n \n \t createMessage.threads = J3dThread.UPDATE_BEHAVIOR;\n \t createMessage.type = J3dMessage.BEHAVIOR_ACTIVATE;\n \t createMessage.universe = universe;\n \n \t if (sendMessages == true) {\n \t\tVirtualUniverse.mc.processMessage(messages);\n \t }\n \n if (nodeType == NodeRetained.SWITCH) {\n \t // force reEvaluation of switch children\n \t\tSwitchRetained sw = (SwitchRetained)this;\n \t sw.setWhichChild(sw.whichChild, true);\n }\n \n \t //Reset SetLiveState to free up memory.\n \t s.reset(null);\n }\n }", "title": "" }, { "docid": "c97e4e197c925a360e90a40e29ad5bf0", "score": "0.5192231", "text": "public Scene getScene(){\n return scene;\n }", "title": "" }, { "docid": "dbccde67de543fce12907e92c4bf0209", "score": "0.517651", "text": "private void handleServerMessage(TcpMessage msg) {\n if(msg.getInst() == Instruction.OPPONENT_JOIN) { //OPPONENT_JOIN\n if(auto.validateTransition(Action.START_I)) {\n auto.makeTransition(Action.START_I);\n\n game = new Game(PSColor.WHITE);\n\n// sendReply(true);\n\n initGUIBoard(msg);\n }\n } else if(msg.getInst() == Instruction.OPPONENT_TURN) { //OPPONENT_TURN\n if (msg.getResponseCode() == 201) {\n if (auto.validateTransition(Action.TURN)) {\n for (int i = 1; i < msg.getParams().length; i++) {\n try {\n int from = Integer.parseInt(msg.getParams()[i - 1]);\n int to = Integer.parseInt(msg.getParams()[i]);\n\n game.moveOpponentFromTo(from, to);\n } catch (NumberFormatException e) {\n System.err.println(\"Failed to convert int to string\");\n }\n }\n\n if (!game.getOpponentJumpedOver().isEmpty()) {\n for (int i : game.getOpponentJumpedOver()) {\n game.getGameBoard()[i] = 0;\n game.removeIndexFromStones(i);\n }\n }\n\n Platform.runLater(() -> {\n if (!game.getOpponentJumpedOver().isEmpty()) {\n ((GameboardCtrl) currentCtrl).removeStones(game.getOpponentJumpedOver());\n }\n\n ((GameboardCtrl) currentCtrl).moveOpponentStones(msg.getParams());\n ((GameboardCtrl) currentCtrl).setImageViewEvents(game.getPlayerStoneIndexes());\n });\n\n// game.printGameBoard();\n auto.makeTransition(Action.TURN);\n// sendReply(true);\n } else {\n status.setResponseText(\"Automaton is in wrong state\");\n }\n } else if(msg.getResponseCode() == 203 || msg.getResponseCode() == 204) {\n if (getAutomaton().validateTransition(Action.END)) {\n Platform.runLater(() -> {\n currentCtrl.genericSetScene(\"main_menu_connected.fxml\");\n status.setResponseText(msg.getResponseText());\n });\n\n auto.makeTransition(Action.END);\n } else {\n status.setResponseText(\"Automaton is in wrong state\");\n }\n } else {\n status.setResponseText(\"Received unknown code for OPPONENT_TURN\");\n }\n } else if(msg.getInst() == Instruction.PING) { //PING\n pingResponse = true;\n } else if(msg.getInst() == Instruction.OPPONENT_DISC) { //OPPONENT_DISC\n opponentConnected = false;\n\n Platform.runLater(() -> {\n if(currentCtrl instanceof GameboardCtrl) {\n ((GameboardCtrl) currentCtrl).unsetImageViewEvents(game.getPlayerStoneIndexes());\n }\n });\n\n// auto.setGameState(State.LOST_CON);\n status.setResponseText(\"Opponent lost connection. Waiting..\");\n } else if(msg.getInst() == Instruction.OPPONENT_RECO) { //OPPONENT_RECO\n opponentConnected = true;\n\n Platform.runLater(() -> {\n if(currentCtrl instanceof GameboardCtrl) {\n ((GameboardCtrl) currentCtrl).unsetImageViewEvents(game.getPlayerStoneIndexes());\n }\n// if(currentCtrl instanceof GameboardCtrl && auto.getGameState() == State.TURN) {\n// ((GameboardCtrl) currentCtrl).setImageViewEvents(game.getPlayerStoneIndexes());\n// }\n//\n// if(currentCtrl instanceof GameboardCtrl && auto.getGameState() == State.OPPONENT_TURN) {\n// ((GameboardCtrl) currentCtrl).unsetImageViewEvents(game.getPlayerStoneIndexes());\n// }\n\n status.setResponseText(\"Opponent reconnected\");\n });\n } else if(msg.getInst() == Instruction.OPPONENT_LEFT) { //OPPONENT_LEFT\n opponentConnected = false;\n opponentName = null;\n auto.setGameState(State.CONNECTED);\n\n Platform.runLater(() -> {\n currentCtrl.genericSetScene(\"main_menu_connected.fxml\");\n status.setResponseText(msg.getResponseText());\n });\n } else {\n System.out.println(\"Unrecognized server message\");\n strikes++;\n }\n }", "title": "" }, { "docid": "e52432809b6c2449107e5bca5cc100fa", "score": "0.51734895", "text": "@Override\n\tpublic void onMessage(Message arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e52432809b6c2449107e5bca5cc100fa", "score": "0.51734895", "text": "@Override\n\tpublic void onMessage(Message arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "0504139e11cd5dea56b292eaaab8b30f", "score": "0.5171043", "text": "public void sendGameSelected();", "title": "" }, { "docid": "3d9c529baff43f272ee442faf87360e0", "score": "0.516731", "text": "void message(String playerName, String message);", "title": "" }, { "docid": "d6c6777a8b80ce5238616ba91c31e8b0", "score": "0.51567715", "text": "private void sceneChange() {\n fieldNickname.setVisible(true);\n btnNickname.setVisible(true);\n btnNoNickname.setVisible(true);\n btnBack.setVisible(true);\n\n txtStarterMain.setText(\"Give your new friend a name!\");\n }", "title": "" }, { "docid": "6e409b5ac33bd7252e06f80c6a8681bd", "score": "0.5147153", "text": "public Scene getScene();", "title": "" }, { "docid": "c2bd0e55d6e697f98aec65a575af5acd", "score": "0.51266986", "text": "public interface MSG {\n int MSG_ON_VIDEO_SIZE = 0;\n int ON_GET_VODOBJ = 1;\n}", "title": "" }, { "docid": "caba56cf5d8a912fe73ff56db7682720", "score": "0.51149344", "text": "void updateMessage();", "title": "" }, { "docid": "86303754af20d4db45e3dbcda422b1af", "score": "0.50969774", "text": "public void drawLookNinjaMsg() {\n \tSystem.out.println(\"You see a ninja ahead!\");\n }", "title": "" }, { "docid": "4be6738a793b3e461cf271374534ebc6", "score": "0.50824565", "text": "private String youWinMessage(Graphics g2d) {\r\n\t \r\n\t String str= \"YOU WIN!! (Press s to go to next level)\";\r\n\t return str;\r\n }", "title": "" }, { "docid": "e46cfbf7bd87db934d2a30434e70a123", "score": "0.5080299", "text": "MessageAll.scReadMessage.MsgInfo getMsgInfo(int index);", "title": "" }, { "docid": "0a5395d629ec3e6486086515acb274f3", "score": "0.5079828", "text": "public void setMsg(String msg)\r\n {\r\n this.msg = msg;\r\n }", "title": "" }, { "docid": "6c1f5759f4e378f1223d10f306437e22", "score": "0.5075234", "text": "public void printWinMessage() {\n String win = \"YOU WIN!!\";\n winMessage = new GraphicsText(win);\n winMessage.setFillColor(Color.RED);\n winMessage.setFontSize(45);\n canvas.add(winMessage, 350, 250);\n canvas.draw();\n canvas.pause(3000);\n }", "title": "" }, { "docid": "a749e8db54a71ca3b7eb5a63a4220c01", "score": "0.5071352", "text": "private void m96771av() {\n this.f77518ag.removeMessages(16);\n Message message = new Message();\n message.what = 16;\n message.obj = this.f77546j;\n this.f77518ag.sendMessage(message);\n }", "title": "" }, { "docid": "7ec2e72649cd8f8b0a7e5e682231a63a", "score": "0.5070672", "text": "private void processGameStateMessage(GameState state){\n gameState=state;\n debug.println(3, \"Successfully processed a gameStateMessage.\");\n state.display(debug.getStream());\n }", "title": "" }, { "docid": "efe243850b1cb154a0ab3c7139442f45", "score": "0.50706464", "text": "int getSceneValue();", "title": "" }, { "docid": "f59d676eec58cb3b8a9acbf19f99aea6", "score": "0.5068133", "text": "private void gameOverText(){\n\t \t Text text = new Text();\n\t\t text.setFont(Font.font(\"verdana\", FontWeight.BOLD, FontPosture.REGULAR, 50));\n\t\t text.setX(180);\n\t\t text.setY(300);\n\t\t text.setFill(Color.RED);\n\t\t text.setStrokeWidth(3);\n\t\t text.setStroke(Color.CRIMSON);\n\t\t text.setText(winner + \" LOST\");\n\t\t root.getChildren().addAll(text);\n\t}", "title": "" }, { "docid": "839c0896f9957431eef818496c992c3a", "score": "0.5067861", "text": "public void handleMessage(HashMap<String, String> message) {\n if(reversiGame != null) {\n reversiGame.handleMessage(message);\n }\n switch (message.get(\"type\")) {\n case \"CHALLENGE\":\n // Contains keys: challenger, challengenumber, gametype\n Platform.runLater(() -> lobbyScene.createChallenge(message.get(\"CHALLENGER\"), message.get(\"CHALLENGENUMBER\"), message.get(\"GAMETYPE\")));\n System.out.println(message.get(\"gametype\"));\n System.out.println(message.keySet().toString());\n break;\n case \"CHALLENGE CANCELLED\":\n Platform.runLater(() -> lobbyScene.removeChallenge(message.get(\"CHALLENGENUMBER\")));\n break;\n case \"MATCH\":\n // Contains keys\n System.out.println(\"Match starting\");\n prepareGameScene(settingsHandler.getSettings().get(\"name\"), message.get(\"OPPONENT\"), message.get(\"PLAYERTOMOVE\"));\n // TODO: add better check\n //if (lobbyModel != null) lobbyModel.message(message);\n break;\n case \"MOVE\":\n // Contains keys: player, move, details\n case \"WIN\":\n // The player won\n // Contains keys: playeronescore, playertwoscore, comment\n case \"LOSE\":\n // The player lost\n // Contains keys: playeronescore, playertwoscore, comment\n case \"DRAW\":\n // The player lost\n // Contains keys: playeronescore, playertwoscore, comment\n case \"YOURTURN\":\n //TODO: Add better check;\n //if (gameModel != null) gameModel.getCurrentGame().message(message);\n break;\n default:\n break;\n }\n }", "title": "" }, { "docid": "6b284750f3083db7c885b4601361c2f8", "score": "0.5045204", "text": "public Scene createSecondMainClientScene() {\n\t\t\n\t\tImage pic1 = new Image(\"client_background_2.png\"); //add image from resource folder.\n\t\t\n\t\tImageView background_image = new ImageView(pic1);\n\t\tbackground_image.setFitHeight(800);\n\t\tbackground_image.setFitWidth(800);\n\t\tbackground_image.setPreserveRatio(true);\n\t\t\n\t\tImageView frame_top = new ImageView(imageMap.get(\"frame\"));\n\t\t\n\t\t\n\t\tframe_top.maxHeight(150);\n\t\tframe_top.maxWidth(200);\n\t\tframe_top.setTranslateX(-190);\n\t\tframe_top.setTranslateY(0);\n\t\t\n\t\t\n\t\tdifficulty = new Menu(\"Select Difficulty\");\n\t\teasy = new MenuItem(\"Easy\");\n\t\tmedium = new MenuItem(\"Medium\");\n\t\thard = new MenuItem(\"Hard\");\n\t\t\n\t\tdifficulty.getItems().addAll(easy, medium, hard);\n\t\t\n\t\tmenu = new MenuBar();\n\t\tmenu.getMenus().addAll(difficulty);\n\t\t\n\t\t\n\t\tmenu.setTranslateX(300);\n\t\tmenu.setTranslateY(-200);\n\t\tmenu.setMaxWidth(100);\n\t\t\n\n\t\tclient_messages.setMaxHeight(100);\n\t\tclient_messages.setMaxWidth(150);\n\t\tclient_messages.setTranslateX(100);\n\t\tclient_messages.setTranslateY(-50);\n\t\t\n\t\t\n\t\tscoreBoard.setMaxHeight(100);\n\t\tscoreBoard.setMaxWidth(150);\n\t\tscoreBoard.setTranslateX(300);\n\t\tscoreBoard.setTranslateY(-50);\n\t\t\n\t\t\n\t\teasy.setOnAction((ActionEvent e) -> { //if user chooses scissors. \n\t\t\t\n\t\t\tdifficulty.setText(\"Easy\");\n\t\t\t\n });\n\t\t\n\t\tmedium.setOnAction((ActionEvent e) -> { //if user chooses scissors. \n\t\t\t\n\t\t\tdifficulty.setText(\"Medium\");\n\t\t\t\n });\n\n\t\thard.setOnAction((ActionEvent e) -> { //if user chooses scissors. \n\t\n\t\t\tdifficulty.setText(\"Hard\");\n\t\n\t\t});\n\t\t\n\t\t\n\t\tl1img = new ImageView(imageMap.get(\"XO\"));\n\t\t l2img = new ImageView(imageMap.get(\"XO\"));\n\t\t l3img = new ImageView(imageMap.get(\"XO\"));\n\t\t r1img = new ImageView(imageMap.get(\"XO\"));\n\t\t r2img = new ImageView(imageMap.get(\"XO\"));\n\t\t r3img = new ImageView(imageMap.get(\"XO\"));\n\t\t m1img = new ImageView(imageMap.get(\"XO\"));\n\t\t m2img = new ImageView(imageMap.get(\"XO\"));\n\t m3img = new ImageView(imageMap.get(\"XO\"));\n\t\t\n\t\t\t\t\t\t\n\t\t/*\n\t\t * The following are positions of the widgets on the screen. \n\t\t */\n\t\t\n\t\t\n\t\t\n\t\tl1img.setFitHeight(50);\n\t\tl1img.setFitWidth(69);\n\t\tl2img.setFitHeight(50);\n\t\tl2img.setFitWidth(69);\n\t\tl3img.setFitHeight(50);\n\t\tl3img.setFitWidth(69);\n\t\tr1img.setFitHeight(50);\n\t\tr1img.setFitWidth(69);\n\t\tr2img.setFitHeight(50);\n\t\tr2img.setFitWidth(69);\n\t\tr3img.setFitHeight(50);\n\t\tr3img.setFitWidth(69);\n\t\tm1img.setFitHeight(50);\n\t\tm1img.setFitWidth(69);\n\t\tm2img.setFitHeight(50);\n\t\tm2img.setFitWidth(69);\n\t\tm3img.setFitHeight(50);\n\t\tm3img.setFitWidth(69);\n\t\t\n\t\t\n\t\t \n\t\t l1.setGraphic(l1img);\n\t\t l2.setGraphic(l2img);\n\t\t l3.setGraphic(l3img);\n\n\t\t m1.setGraphic(m1img);\n\t\t m2.setGraphic(m2img);\n\t\t m3.setGraphic(m3img);\n\n\t\t r1.setGraphic(r1img);\n\t\t r2.setGraphic(r2img);\n\t\t r3.setGraphic(r3img);\n\n\t\t \n\t\t l1.setPadding(Insets.EMPTY);\n\t\t l2.setPadding(Insets.EMPTY);\n\t\t l3.setPadding(Insets.EMPTY);\n\t\t m1.setPadding(Insets.EMPTY);\n\t\t m2.setPadding(Insets.EMPTY);\n\t\t m3.setPadding(Insets.EMPTY);\n\t\t r1.setPadding(Insets.EMPTY);\n\t\t r2.setPadding(Insets.EMPTY);\n\t\t r3.setPadding(Insets.EMPTY);\n\n\t\t \n\t\t\t\n\t\t\n\t\tStackPane stack_pane = new StackPane();\n\t\tstack_pane.getChildren().addAll(background_image, frame_top, l1, l2, l3, m1, m2, m3, r1, r2, r3, menu, client_messages, scoreBoard);\n\t\t\n\t\t\n\t\t/*\n\t\tclient_messages.setMaxHeight(150);\n\t\tclient_messages.setMaxWidth(200);\n\t\tclient_messages.setTranslateX(0);\n\t\tclient_messages.setTranslateY(-25);\n\t\t\n\t\t\n\t\topponent_played.setFitHeight(125);\n\t\topponent_played.setFitWidth(150);\n\t\topponent_played.setPreserveRatio(true);\n\t\topponent_played.setTranslateX(260);\n\t\topponent_played.setTranslateY(-25);\n\t\t\n\t\topponent_label.setStyle(\"-fx-background-color: pink;\");\n\t\topponent_label.setTranslateX(263);\n\t\topponent_label.setTranslateY(-100);\n\t\t\n\t\t*/\n\t\t\n\t\t\n\t\t\n\t\t/*\n\t\t * END OF THE POSITIONS OF THE WIDGETS.\n\t\t */\n\t\t\n\t\t\n\t\t\t\t\t\t\n\t\tl1.maxHeight(50);\n\t\tl1.setMaxWidth(69);\n\t\tl1.setTranslateX(-321);\n\t\tl1.setTranslateY(-125);\n\t\t\n\t\tl1.setOnMouseClicked((MouseEvent e) -> { \n\t\t\t\n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\t\t\n\t\t\tl1.setDisable(true);\n\t\t\tl1.setGraphic(O);\n\t\t\t\n\t\t\t// 0 = blank, 1 = client, 2 = server.\n\t\t\t\n\t\t\ttictac[0][0] = 1;\n\t\t\tcurrent_choice = \"l1\";\n\t\t\t\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\t\n\t\tl2.maxHeight(50);\n\t\tl2.setMaxWidth(69);\n\t\tl2.setTranslateX(-321);\n\t\tl2.setTranslateY(0);\n\t\t\n\t\tl2.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\t\t\n\t\t\tl2.setDisable(true);\n\n\t\t\t\n\t\t\tl2.setGraphic(O);\n\n\t\t\ttictac[1][0] = 1;\n\t\t\t\n\t\t\tcurrent_choice = \"l2\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tl3.maxHeight(50);\n\t\tl3.setMaxWidth(69);\n\t\tl3.setTranslateX(-321);\n\t\tl3.setTranslateY(125);\n\t\t\n\t\tl3.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\n\t\t\tl3.setDisable(true);\n\t\n\t\t\tl3.setGraphic(O);\n\n\t\t\ttictac[2][0] = 1;\n\t\t\t\n\t\t\tcurrent_choice = \"l3\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tm1.maxHeight(50);\n\t\tm1.setMaxWidth(69);\n\t\tm1.setTranslateX(-200);\n\t\tm1.setTranslateY(-125);\n\t\t\n\t\tm1.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\t\n\t\t\tm1.setDisable(true);\n\t\n\t\t\t\n\t\t\tm1.setGraphic(O);\n\n\t\t\ttictac[0][1] = 1;\n\t\t\t\n\t\t\tcurrent_choice = \"m1\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tm2.maxHeight(50);\n\t\tm2.setMaxWidth(69);\n\t\tm2.setTranslateX(-200);\n\t\tm2.setTranslateY(0);\n\t\t\n\t\tm2.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\n\t\t\tm2.setDisable(true);\n\t\n\t\t\t\n\t\t\tm2.setGraphic(O);\n\n\t\t\ttictac[1][1] = 1;\n\t\t\t\n\t\t\t\n\t\t\tcurrent_choice = \"m2\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tm3.maxHeight(50);\n\t\tm3.setMaxWidth(69);\n\t\tm3.setTranslateX(-200);\n\t\tm3.setTranslateY(125);\n\t\t\n\t\tm3.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\n\t\t\tm3.setDisable(true);\n\t\t\t\n\t\t\tm3.setGraphic(O);\n\n\t\t\ttictac[2][1] = 1;\n\t\t\t\n\t\t\tcurrent_choice = \"m3\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tr1.maxHeight(50);\n\t\tr1.setMaxWidth(69);\n\t\tr1.setTranslateX(-79);\n\t\tr1.setTranslateY(-125);\n\t\t\n\t\tr1.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\n\t\t\tr1.setDisable(true);\n\n\t\t\t\n\t\t\tr1.setGraphic(O);\n\n\t\t\ttictac[0][2] = 1;\n\t\t\t\n\t\t\tcurrent_choice = \"r1\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tr2.maxHeight(50);\n\t\tr2.setMaxWidth(69);\n\t\tr2.setTranslateX(-79);\n\t\tr2.setTranslateY(0);\n\t\t\n\t\tr2.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\t\t\n\t\t\tr2.setGraphic(O);\n\t\t\t\n\t\t\n\t\n\t\t\tr2.setDisable(true);\n\t\n\t\t\t\n\t\t\tr2.setGraphic(O);\n\n\t\t\ttictac[1][2] = 1;\n\t\t\t\n\t\t\tcurrent_choice = \"r2\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\tr3.maxHeight(50);\n\t\tr3.setMaxWidth(69);\n\t\tr3.setTranslateX(-79);\n\t\tr3.setTranslateY(125);\n\t\t\n\t\tr3.setOnMouseClicked((MouseEvent e) -> { \n \n\t\t\tImageView O = new ImageView(imageMap.get(\"O\"));\n\t\t\tO.setFitHeight(50);\n\t\t\tO.setFitWidth(69);\n\t\t\t\n\t\t\tr3.setGraphic(O);\n\n\t\t\tr3.setDisable(true);\n\t\n\t\t\t\n\t\t\ttictac[2][2] = 1;\n\t\t\t\n\t\t\tr3.setGraphic(O);\n\n\t\t\tcurrent_choice = \"r3\";\n\t\t\tsendornot();\n\t\t\t\n });\n\t\t\n\t\t\n\t\tHBox root = new HBox();\n\t\troot.getChildren().add(stack_pane);\n\t\t\n\t\treturn new Scene(root, 800,800);\n\t\t\n\t}", "title": "" }, { "docid": "eb0de8e8948e521506af4179e4d973fc", "score": "0.50410944", "text": "public Stage initNotepad() {\n Stage stage = new Stage(new FitViewport(Gdx.graphics.getWidth(), Gdx.graphics.getHeight()));\n\n //Create labels\n Label notepadLabel = new Label(\"Notepad\", this.uiSkin);\n\n notepadLabel.setColor(Color.BLACK);\n notepadLabel.setFontScale(1.5f);\n\n notepadLabel.setPosition(620, 600);\n TextArea notepad = new TextArea(\"Here are my notes about a particularly develish crime...\", this.uiSkin);\n notepad.setX(550);\n notepad.setY(70);\n notepad.setWidth(290);\n notepad.setHeight(400);\n\n stage.addActor(notepadLabel);\n stage.addActor(notepad);\n\n return stage;\n }", "title": "" }, { "docid": "f923a0da726bc3ff204668775ccd959f", "score": "0.5034744", "text": "protected void setAndShow(String message) {\n stage.setScene(this.scene);\n stage.setTitle(message);\n stage.sizeToScene();\n stage.show();\n }", "title": "" }, { "docid": "5b254831e9263f4edd0a8427604ec3d0", "score": "0.502951", "text": "message createmessage();", "title": "" }, { "docid": "b6de7a1c7e982b5c819d1f678be0d75e", "score": "0.5023401", "text": "public void getmsg(int gmsg) {\n\t\t}", "title": "" }, { "docid": "1ad6666592ef22cc05fd340fde184578", "score": "0.50186795", "text": "void onShowMessage(String message);", "title": "" }, { "docid": "1ad6666592ef22cc05fd340fde184578", "score": "0.50186795", "text": "void onShowMessage(String message);", "title": "" }, { "docid": "d5462077368e6b9def12344e9ce9bfd1", "score": "0.500333", "text": "void sendActionBar(Player p, String message);", "title": "" }, { "docid": "93f215c2ccc9a103773131814039c60c", "score": "0.50017905", "text": "public void onTestMsgReceived(String msg);", "title": "" }, { "docid": "ef19c25fec86974f4543f17eeb0da9de", "score": "0.50003976", "text": "@Override\n\tpublic void onBattleMessage(BattleMessageEvent event) {\n\t\t\n\t}", "title": "" }, { "docid": "be290e2723e09e9ab4fe17e06188f62a", "score": "0.49989393", "text": "String sayTks(String message){\r\n return message + \" sudah memainkan game lari ini \";\r\n }", "title": "" }, { "docid": "02eeb3f696763d598827a6ee8b5ee49b", "score": "0.49924", "text": "@Override\n\t\tpublic void OnSuccess(Object data, NetSceneBase netScene) {\n\t\t\t\troot.HideProgress();\n\t\t\t\troot.Alert(\"信息发布成功!\");\n\t\t}", "title": "" }, { "docid": "fd2282b59f70b9883c864135486a6627", "score": "0.4983517", "text": "void setMessage(String msg);", "title": "" }, { "docid": "f7caa6a8f71e318f97b7ffc108c7ab2f", "score": "0.49781096", "text": "@Override\n\tpublic Scene giveScene() {\n\t\tButton StartButton=new Button(\"START\");\n\t\tStartButton.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tmyGame.setPrimaryStage(myGame.GetGamePlayScene());\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\t\n\t\tButton LeaderBoardPageButton=new Button(\"LEADERBOARD\");\n\t\tLeaderBoardPageButton.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tmyGame.setPrimaryStage(myGame.GetLeaderBoardPageScene());\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\t\n\t\tButton SettingsButton=new Button(\"SETTINGS\");\n\t\tSettingsButton.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tmyGame.setPrimaryStage(myGame.GetSettingsPageScene());\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\t\n\t\tButton ResumeGameButton=new Button(\"RESUME\");\n\t\tResumeGameButton.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tmyGame.setPrimaryStage(myGame.GetGamePlayScene());\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\t\n\t\tStartButton.setId(\"StartButton\");\n\t\tLeaderBoardPageButton.setId(\"LeaderBoardPageButton\");\n\t\tSettingsButton.setId(\"SettingsButton\");\n\t\tResumeGameButton.setId(\"ResumeGameButton\");\n\t\tLabel Score=new Label(\"LastScore \".concat(Integer.toString(myGame.getCurrentPlayer().getLastScore())));\n\t\tScore.setId(\"score\");\n\t\tLabel Name=new Label(\"Welcome! \".concat(myGame.getCurrentPlayer().getName()));\n\t\t\n\t\t\n\t\tVBox MainPageVb=new VBox(50,StartButton,LeaderBoardPageButton,SettingsButton,Score,Name);\n\t\tif (! myGame.getCurrentPlayer().isLastGameENded()) {\n\t\t\tMainPageVb.getChildren().add(ResumeGameButton);\n\t\t}\n\t\t\n\t\tMainPageVb.setTranslateY(100);\n\t\tMainPageVb.setAlignment(Pos.TOP_CENTER);\n\t\tStackPane MainPageStackpane=new StackPane(MainPageVb);\n\t\tMainPageStackpane.getStylesheets().add(getClass().getResource(\"MainPage.css\").toString());\n\t\tmyScene= new Scene(MainPageStackpane,500,1000);\n\t\tmyScene.setFill(Color.BLACK);\n\t\treturn myScene;\n\t}", "title": "" }, { "docid": "f812d8d8027871b6c83aedaf83b7249a", "score": "0.49775565", "text": "@Override\n\tpublic void onLoadMessage(String message) {\n\t\t\n\t}", "title": "" }, { "docid": "5df97122b9df18f523bdc58f2914ba24", "score": "0.49720946", "text": "public void start( int msgType );", "title": "" }, { "docid": "623f97857dd8c5b31388df389da3e49f", "score": "0.49718115", "text": "private void spawnPrologue(){\n StoryManager.getInstance().loadCutScene(StoryNames.PROLOGUE);\n StoryManager.getInstance().displayStory();\n }", "title": "" }, { "docid": "31ced53481a376c28e35a375682b2f9b", "score": "0.4971167", "text": "void defineModelMessage(ModelMessageType modelMessageType, String message){\n model.getGameboard().setModelMessage( new ModelMessage(modelMessageType, message) );\n model.getGameboard().setModelMessage(model.getGameboard().getModelMessage().copyAndAddPlayer(model.getCurrentPlayer().getName()));\n }", "title": "" }, { "docid": "a8d4b3ff2fe068fd8f24fc83b944e7e1", "score": "0.49658656", "text": "public void start(Stage primaryStage) {\n\n secondStage = new Stage();\n Scene scene2;\n BorderPane Bpane = new BorderPane();\n button2 = new Button(\"Join\");\n button2.setMinWidth(30);\n button3 = new Button(\"Play\");\n button3.setMinWidth(30);\n textbox = new TextArea(\"Put IP in Here\");\n textbox.setPrefSize(50, 50);\n HBox Box = new HBox();\n //Group Box2 = new Group();\n //Box2.getChildren().add(textbox);\n Bpane.setBottom(textbox);\n Bpane.setTop(Box);\n scene2 = new Scene(Bpane, 200, 100);\n Box.getChildren().addAll(button2, button3);\n Box.setTranslateX(scene2.getWidth() / 7);\n secondStage.setScene(scene2);\n secondStage.show();\n\n button2.setOnMouseClicked(e - > {\n Client client = new Client(primaryStage);\n }", "title": "" }, { "docid": "56b264a7a805f428e6c3e28949e58c85", "score": "0.4965227", "text": "public GamesRoleMessage() {\n super(\"gamerole\");\n this.gamesJSON = null;\n }", "title": "" }, { "docid": "940ac044813ee016e4aa9f6a9e15c2ac", "score": "0.49641797", "text": "@Override\n public void handleMessage(Message msg) {\n switch (msg.what) {\n case AudioPlayer.STATE_MSG_ID:\n showState((Integer) msg.obj);\n break;\n }\n }", "title": "" }, { "docid": "a3e330ba9f89f4a301d9eeff861de358", "score": "0.49567524", "text": "public void mo11552c() {\n if (this.f11883g != null) {\n this.f11883g.sendMessage(this.f11883g.obtainMessage(1));\n }\n }", "title": "" }, { "docid": "a88cf94dec29314c689b56074d04fe4e", "score": "0.49566704", "text": "public void onAlertMessage(byte msg){\n\t\tdisplay.setCurrent(prevScreen);\n\t}", "title": "" }, { "docid": "d0d5b5ca3da3345ae4c5f305dabe7bac", "score": "0.4947153", "text": "public void setMsg(String msg) {\n this.msg = msg;\n }", "title": "" }, { "docid": "0deaf0b8431dd145f4be621236033881", "score": "0.49402362", "text": "void onMessage(SwrveMessage message, boolean firstTime);", "title": "" }, { "docid": "c67a34cb5c0bb57f1ee5976cfddceaef", "score": "0.49337995", "text": "public void notify(Scene scene)\n\t{\n\t\tthis.setScene(scene);\n\t}", "title": "" }, { "docid": "3d43456760b06d3e60e8593bbe5914a8", "score": "0.4933361", "text": "@Override\r\n public void handleMessage(PluginMessage msg) {\n \r\n }", "title": "" }, { "docid": "b41fb73a915afc9b1ffec234f354b516", "score": "0.49266008", "text": "public PlayerDataMessage() {\n super();\n }", "title": "" }, { "docid": "883e380f5685d586db91d40bb86189e5", "score": "0.4921228", "text": "public void msgFromMaster (Object msg)\n {\n DatagramPacketMessage objMsg = (DatagramPacketMessage) msg;\n DatagramPacket dpack = getPacketFromMessage (objMsg);\n addPacket (dpack);\n }", "title": "" }, { "docid": "ed236b108fd3134f73e2810dee132d20", "score": "0.49170676", "text": "public void printScene(){\n AnsiConsole.out.print(ansi().eraseScreen());\n RoundGrindPrinter.printRoundGrid(ROW_ROUNDGRID,COL_ROUNDGRID,rounds);\n AnsiConsole.out.print(ansi().cursor(ROW_TEXT,COL_TEXT).bold().a(TEXT1).boldOff());\n printMenu();\n }", "title": "" }, { "docid": "71cf8f764d68b5acc671ca99cd8446c7", "score": "0.4907162", "text": "@OnMessage\n\tpublic void onMessage(String message) {\n Indication indication = new Gson().fromJson(message, Indication.class);\n switch(indication.getEventName()) {\n case NEW_PEER:\n /*\n * __new_peer\n */\n NewPeerIndication newPeerIndication = new Gson().fromJson(message, NewPeerIndication.class);\n playerAI.onNewPeer(newPeerIndication);\n break;\n\n case NEW_ROUND:\n /*\n * __new_round\n */\n NewRoundIndication newRoundIndication = new Gson().fromJson(message, NewRoundIndication.class);\n playerAI.onNewRound(newRoundIndication);\n break;\n\n case START_RELOAD:\n /*\n * __start_reload\n */\n StartReloadIndication startReloadIndication = new Gson().fromJson(message, StartReloadIndication.class);\n playerAI.onStartReload(startReloadIndication);\n break;\n\n case DEAL:\n /*\n * __deal\n */\n DealIndication dealIndication = new Gson().fromJson(message, DealIndication.class);\n playerAI.onDeal(dealIndication);\n break;\n\n case ACTION:\n /*\n * __action\n */\n ActionIndication actionIndication = new Gson().fromJson(message, ActionIndication.class);\n playerAI.onAction(actionIndication);\n break;\n\n case BET:\n /*\n * __bet\n */\n BetIndication betIndication = new Gson().fromJson(message, BetIndication.class);\n playerAI.onBet(betIndication);\n break;\n\n case SHOW_ACTION:\n /*\n * __show_action\n */\n ShowActionIndication showActionIndication = new Gson().fromJson(message, ShowActionIndication.class);\n playerAI.onShowAction(showActionIndication);\n break;\n\n case ROUND_END:\n /*\n * __round_end\n */\n RoundEndIndication roundEndIndication = new Gson().fromJson(message, RoundEndIndication.class);\n playerAI.onRoundEnd(roundEndIndication);\n break;\n\n case GAME_OVER:\n /*\n * __game_over\n */\n GameOverIndication gameOverIndication = new Gson().fromJson(message, GameOverIndication.class);\n playerAI.onGameOver(gameOverIndication);\n break;\n\n default:\n break;\n }\n }", "title": "" }, { "docid": "1fc90d51c76630413efc8b6c363564c2", "score": "0.49020815", "text": "public void sceneOrder() {\n inSceneOnTop = false;\n }", "title": "" }, { "docid": "b59c75544449c99663801f923c13cbf4", "score": "0.49003467", "text": "@Override\n\tpublic void onMessage(BmobMsg message) {\n\n\t}", "title": "" }, { "docid": "8f820a09067d756f2674ee9acd96c588", "score": "0.48957595", "text": "@Override\n public void OnMessage(String message) {\n }", "title": "" }, { "docid": "a56fd63222893d2a17486953637d1a10", "score": "0.48957506", "text": "private void m13093e() {\n if (this.f11883g != null) {\n this.f11883g.sendMessage(this.f11883g.obtainMessage(2));\n }\n }", "title": "" }, { "docid": "4a624c846a90a028679de321d2843c84", "score": "0.48930386", "text": "void msg2() {\n\t\ta=500;\r\n\t\tSystem.out.println(a);\r\n\t\tStatic_Eg.b=400; //specify the class name. (but no need at here - bcoz it precent in same class)\r\n\t\tSystem.out.println(b);\r\n\t\tmsg();\r\n\t\tmsg1();\r\n\t}", "title": "" }, { "docid": "6757ff129c0dde658bfe84a885ccfd84", "score": "0.4888313", "text": "@Override\r\n\tpublic void action() {\n\t\tACLMessage msg = myAgent.receive(mt);\r\n\r\n\t\tif (msg != null) {\r\n\t\t\t\r\n\t\t\tif (msg.getOntology().equals(\"drawOntology\")) {\r\n\r\n\t\t\t\t//Update the position in the canvas\r\n\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\tHashMap<String, Mobile> cars = \r\n\t\t\t\t\t\t\t\t agent.getCanvasMap().getCars();\t\t\t\t\t\r\n\t\t\t\t\t\tJSONObject cont = \r\n\t\t\t\t\t\t\t\t new JSONObject(msg.getContent());\r\n\t\t\t\t\t\tJSONArray list = cont.getJSONArray(\"cars\");\r\n\t\t\t\t\t\tfor(int i = 0; i < list.length(); i++){\r\n\t\t\t\t\t\t\tJSONObject obj = list.getJSONObject(i);\r\n\t\t\t\t\t\t\tMobile m = cars.get(obj.get(\"id\"));\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif (m != null) {\r\n\r\n\t\t\t\t\t\t\t\tm.setX((float) obj.getDouble(\"x\"));\r\n\t\t\t\t\t\t\t\tm.setY((float) obj.getDouble(\"y\"));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tagent.getCanvasMap().setCars(cars);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t} else if (msg.getOntology().equals(\"deleteCarOntology\")){\r\n\r\n\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\tagent.getCanvasMap().deleteCar(msg.getContent());\t\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t} else if (msg.getOntology().\r\n\t\t\t\t\t equals(\"updateTimeOntology\")) {\r\n\r\n\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\r\n\t\t\t\t\t\tagent.getCanvasMap().setTime(msg.getContent());\t\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} else block();\r\n\t}", "title": "" }, { "docid": "d7ee3bcf199bd13233173c77079b7f3f", "score": "0.48879728", "text": "public int sceneID();", "title": "" }, { "docid": "408e47587ac23060f677e65bf590e9bf", "score": "0.48811582", "text": "public void StoreAddressAction(Receive.Body.ReceiveRec transportData)\r\n{\n\t controllingSubsystemID = transportData.getSrcSubsystemID();\r\n controllingNodeID = transportData.getSrcNodeID();\r\n controllingComponentID = transportData.getSrcComponentID();\r\n JausGUI.label_ControllingJausAddress.setText(controllingSubsystemID + \".\" + controllingNodeID + \".\" + controllingComponentID);\r\n}", "title": "" }, { "docid": "abe5854eb0791ea7b0abc1f72af1e7db", "score": "0.48781198", "text": "@Override\n\tpublic void contact(Snake snake) {\n\t // Sets the game state to message.\n\t Main.state = Main.STATE_MESSAGE;\n\n\t // A death message.\n\t Main.message = \"A wild pokemon killed you\";\n\t}", "title": "" }, { "docid": "743468d3c4a158e11afb377046cfdc9d", "score": "0.48753583", "text": "@Override\n public void serverMsg(ArrayList<HashMap<String, String>> server_msg)\n {\n for(HashMap<String, String> msg : server_msg) {\n switch (msg.get(\"type\")) {\n case \"endTurn\":\n playerLabels.get(turn).setStyle(\"-fx-font-size: 20pt; -fx-border-color: black; -fx-border-width: 3px; -fx-background-color: #fff\");\n turn ++;\n if(turn >= players.size())\n turn = 0;\n playerLabels.get(turn).setStyle(\"-fx-font-size: 20pt; -fx-border-color: black; -fx-border-width: 3px; -fx-background-color: #339ebd\");\n\n if(turn == youIndex)\n endPhase.setVisible(true);\n\n checkEnd();\n\n playArea.setImage(null);\n break;\n case \"endGame\":\n d.setCurrentModule(new GameOver(players, you, d));\n break;\n case \"bought\":\n String bought = msg.get(\"cardName\");\n String buyer = msg.get(\"player\");\n\n if(!buyer.equals(you.name)) {\n shop.getCardStack().remove(bought);\n animateCardFromStore(buyer, bought);\n }\n break;\n case \"gained\":\n String gained = msg.get(\"cardName\");\n String gainer = msg.get(\"player\");\n if(!gainer.equals(you.name)) {\n shoppe.remove(gained);\n animateCardFromStore(gainer, gained);\n }\n break;\n case \"played\":\n String played = msg.get(\"cardName\");\n String player = msg.get(\"player\");\n\n if(!player.equals(you.name))\n {\n playArea.setImage(ImageCache.cardImage.get(played));\n animateCardPlayed(player, played);\n\n if(played.equals(\"Council Room\"))\n you.pickUpCards(1);\n\n //Handle Attack Cards\n if(!you.hand.has(\"Moat\")) {\n switch (played) {\n case \"Bureaucrat\":\n for (int i = 0; i < you.hand.size(); i++) {\n Card c = you.hand.get(i);\n if (c instanceof VictoryCard) {\n you.deck.add(you.hand.remove(c));\n break;\n }\n }\n break;\n case \"Militia\":\n if(you.hand.size() > 3) {\n selectCards(\"You must pick down to three\", you.hand,\n ((stack, game) -> {\n game.getYou().discard.add(stack.getAll());\n }),\n ((stack, game) -> game.getYou().hand.size() == 3));\n }\n break;\n case \"Witch\":\n Card c = shoppe.remove(\"Curse\");\n you.discard.add(c);\n break;\n case \"Bandit\":\n CardStack top2 = new CardStack(you.deck.splice(0, 2));\n\n if(top2.has(\"Silver\")) {\n top2.remove(\"Silver\");\n you.discard.add(top2.get(0));\n break;\n }\n\n if(top2.has(\"Gold\")) {\n top2.remove(\"Gold\");\n you.discard.add(top2.get(0));\n break;\n }\n\n you.discard.add(top2.getAll());\n break;\n }\n }\n }\n break;\n case \"disconnect\":\n HashMap<String, String> result = d.simpleCommand(\"leave\");\n\n if(result.get(\"type\").equals(\"accepted\")) {\n d.setCurrentModule(new ChooseLobby(d, \"Someone disconnected\"));\n } else {\n System.exit(49);\n }\n break;\n }\n }\n }", "title": "" }, { "docid": "461f4d35136ebeab284175d0ee7f1805", "score": "0.48753127", "text": "public void sendMessage(int row, int col, GamePiece piece, String player1, String player2){\n// JsonObject msg = JsonMove.convertToJson(row, col,);\n\n JsonObject msg = new JsonObject();\n msg.addProperty(\"type\", \"move\");\n\n JsonObject data = new JsonObject();\n data.addProperty(\"position\", row*3+col);\n\n String p = \"X\";\n if (piece== GamePiece.O){\n p = \"O\";\n }\n\n System.out.println(\"PIECE USED: \"+ p);\n data.addProperty(\"piece\", p);\n data.addProperty(\"player1\", player1);\n data.addProperty(\"player2\", player2);\n\n msg.add(\"data\", data);\n\n try{\n this.pubnub.publish()\n .channel(\"main\")\n .message(msg)\n .sync();\n }catch(PubNubException e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "99abdb8644a2927579656f1881d1d177", "score": "0.4870461", "text": "private void drawMessages() {\n this.gc.setTransform(this.jfxCoords);\n this.gc.setFill(Color.BLACK);\n\n Affine actionMsgTrans = new Affine(this.jfxCoords);\n Affine strikeMsgTrans = new Affine(this.jfxCoords);\n Affine foulMsgTrans = new Affine(this.jfxCoords);\n\n Affine player1ScoreTrans = new Affine(this.jfxCoords);\n Affine player2ScoreTrans = new Affine(this.jfxCoords);\n\n actionMsgTrans.appendTranslation(this.centerX - 250, 200);\n actionMsgTrans.appendScale(2, 2);\n\n strikeMsgTrans.appendTranslation(this.centerX - 250, 150);\n strikeMsgTrans.appendScale(2, 2);\n\n foulMsgTrans.appendTranslation(this.centerX - 250, this.centerY + 300);\n foulMsgTrans.appendScale(2, 2);\n\n player1ScoreTrans.appendTranslation(10, this.sceneHeight - 100);\n player1ScoreTrans.appendScale(5, 5);\n\n player2ScoreTrans.appendTranslation(this.centerX + 300, this.sceneHeight - 100);\n player2ScoreTrans.appendScale(5, 5);\n\n this.gc.setTransform(actionMsgTrans);\n this.gc.fillText(this.actionMessage, 0, 0);\n\n this.gc.setTransform(strikeMsgTrans);\n this.gc.fillText(this.strikeMessage, 0, 0);\n\n this.gc.setTransform(foulMsgTrans);\n this.gc.fillText(this.foulMessage, 0, 0);\n\n this.gc.setTransform(player1ScoreTrans);\n this.gc.fillText(String.format(\"Player 1 score: %d\", this.player1Score), 0, 0);\n\n this.gc.setTransform(player2ScoreTrans);\n this.gc.fillText(String.format(\"Player 2 score: %d\", this.player2Score), 0, 0);\n }", "title": "" }, { "docid": "1ca7e670b4f08cc1d5cadd56fa4e6ad0", "score": "0.48703307", "text": "@Override\n public void handleMessage(Message msg) {\n super.handleMessage(msg);\n String s = (String)msg.obj;\n // view1.setText(view1.getText()+\"\\n\"+s); 此位置也可以在textview显示出收到的消息!!!\n // Toast.makeText(ThirdActivity.this, s, Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "9e478f0160eb2cddcc7026ba67c9c177", "score": "0.4859277", "text": "public void onMessageRecieved(String msg);", "title": "" }, { "docid": "d12a8714a6f26ae6b71a4e9dd0338077", "score": "0.48577592", "text": "com.felania.msldb.MsgUserMonsterOuterClass.MsgUserMonster getUserMonster();", "title": "" }, { "docid": "2dd5b1bc33703057fa006588cc598193", "score": "0.4853667", "text": "public void mostrarTateti(Mensaje msg) {\n\t}", "title": "" }, { "docid": "779560fa44c7f64890d1d6bb4dbfed2b", "score": "0.4851139", "text": "private void sayMessage() {\n ProcessBuilder pb = new ProcessBuilder(\"festival\",\"(voice_\" + GameStateManager.getGSM().getVoice() + \")\",\n \t\t \"(SayText \\\"\" + _message + \"\\\")\" + \"(quit)\");\n try {\n Process p = pb.start();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a035c052a46944c55c6eb7636e4700d9", "score": "0.48458105", "text": "public void talk() {\n\t\tSystem.out.println(\"SAYS ABOUT SPECIFIC TOPIC\");\r\n\t}", "title": "" }, { "docid": "9b066921df4f8c45fc35cff84ee3f988", "score": "0.4843737", "text": "public void helpScreen() {\n \n Stage popupwindow = new Stage();\n popupwindow.initModality(Modality.APPLICATION_MODAL);\n popupwindow.setTitle(\"Help\");\n popupwindow.setResizable(false);\n \n Text title = new Text();\n title.setText(\"Rules of the Game:\");\n title.setFont(Font.font(\"Verdana\",20));\n title.setFill(Color.WHITE);\n \n Text text = new Text();\n text.setText(\" The objective is to eliminate all opposing checkers or to \"\n + \"create a situation in which it is impossible for your opponent \"\n + \"to make any move. \" +\n \"Normally, the victory will be due to complete elimination.\\n\" +\n \"\\n\" +\n \" Non-capturing Move\\n\" +\n \" Blue moves first and play proceeds alternately. From their \"\n + \"initial positions, checkers may only move forward. \" +\n \"\\n There are two types of moves that can be made, capturing \"\n + \"moves and non-capturing moves. Non-capturing moves are simply a \"\n + \"diagonal move forward from one square to an adjacent square. \" +\n \"(Note that the white squares are never used.) Capturing moves \"\n + \"occur when a player \\\"jumps\\\" an opposing piece. This is also \"\n + \"done on the diagonal and can only happen when the square behind \"\n + \"(on the same diagonal) is also open. \" + \n \"This means that you may not jump an opposing piece around a \"\n + \"corner.\\n\" +\n \"\\n\" +\n \" Capturing Move\\n\" +\n \" On a capturing move, a piece may make multiple jumps. If after \"\n + \"a jump a player is in a position to make another jump then he \"\n + \"may do so. \" +\n \"This means that a player may make several jumps in succession, \"\n + \"capturing several pieces on a single turn.\\n\" +\n \"\\n\" +\n \" Forced Captures: When a player is in a position to make a \"\n + \"capturing move, he must make a capturing move. \" +\n \"When they have more than one capturing move to choose from \"\n + \"they may take whichever move suits him.\\n\" +\n \"\\n\"+\n \" When a checker achieves the opponent's edge of the board \"\n + \"(called the \\\"king's row\\\") it is crowned a king. \" +\n \"The king now gains an added ability to move backward.\");\n \n text.setFont(Font.font(\"Verdana\",12));\n text.setFill(Color.WHITE);\n text.setWrappingWidth(290);\n VBox layout = new VBox(10);\n layout.getChildren().addAll(title,text);\n Image img = new Image(\"/images/background.png\");\n BackgroundImage bg_Img = new BackgroundImage(img, NO_REPEAT, NO_REPEAT, \n CENTER, DEFAULT);\n Background bg = new Background(bg_Img);\n layout.setBackground(bg);\n ScrollPane scroll = new ScrollPane();\n scroll.setContent(layout); \n scroll.setHbarPolicy(ScrollBarPolicy.NEVER);\n scroll.setVbarPolicy(ScrollBarPolicy.ALWAYS);\n Scene scene = new Scene(scroll, 295, 300);\n popupwindow.setScene(scene);\n popupwindow.showAndWait();\n }", "title": "" }, { "docid": "7fb811ea6aef6d9ff1fc5835cac2ca0a", "score": "0.48400992", "text": "public void startPrivateConversation(int RGB,String sender, String convName, String msg) {\n int nbTab = salonConvTab.getTabCount();\n String tabTitle;\n int i;\n boolean exist = false;\n for (i = 0; i < nbTab; i++) {//on regarde si la conversateion existe deja\n tabTitle = salonConvTab.getTitleAt(i);\n if (tabTitle.equals(java.util.ResourceBundle.getBundle(getLanguage()).getString(\"Conversation_with_\")+\" \" + convName)) {\n exist = true;\n break;\n }\n }\n if (!exist) {//si elle existe pas on la cree\n createTabPane(sender);\n }\n if(i-1==salonConvTab.getSelectedIndex()){\n salonConvTab.setBackgroundAt(i, Color.red);\n }\n WhispPane whisp = (WhispPane) pane.get(i - 1);//on la recupere\n whisp.prepareConversationText(RGB,msg, sender);//on ecrit dedans\n if(PreferencesWrapper.getPreferences().isSound() && !sender.equals(this.nickname)){\n new SoundModule(SoundFile.SEND_TEXT).start();\n }\n }", "title": "" }, { "docid": "97030bb39ab84a8dcf17122dae3eb826", "score": "0.48366192", "text": "public void serviceClicked(ActionEvent event) throws IOException{\n SceneChanger sc = new SceneChanger();\n sc.ChangeScene(11,event);\n }", "title": "" }, { "docid": "d3328ecba2ef784b5baad01d6ee60cb1", "score": "0.4835656", "text": "MessageAll.BoxMessage getBoxMessage(int index);", "title": "" }, { "docid": "cdb09bad2af40ad78400ec7972ce9c55", "score": "0.4830801", "text": "private void writeScene(Player man){\n\t\tString desc = \"You are in a room. \";\n\t\tString com = \"You may use one of the following commands: \";\n\t\tRoom room = man.getRoom();\n\n\t\tif (room.getWest() != null)\n\t\t\tif (!room.getWest().isWall()) {\n\t\t\t\tdesc += \"There is a door to the west. \";\n\t\t\t\tcom += \"west, \";\n\t\t\t}\n\t\tif (room.getEast() != null )\n\t\t\tif (!room.getEast().isWall()){\n\t\t\t\tdesc += \"There is a door to the east. \";\n\t\t\t\tcom += \"east, \";\n\t\t\t}\n\t\tif (room.getNorth() != null)\n\t\t\tif (!room.getNorth().isWall()){\n\t\t\t\tdesc += \"There is a door to the north. \";\n\t\t\t\tcom += \"north, \";\n\t\t\t}\n\t\tif (room.getSouth() != null)\n\t\t\tif (!room.getSouth().isWall()){\n\t\t\t\tdesc += \"There is a door to the south. \";\n\t\t\t\tcom += \"south, \";\n\t\t\t}\n\t\tcom += \"search, look, map, quit\";\n\t\t\n\t\tSystem.out.println(\"Your score: \" + man.getScore());\n\t\tSystem.out.println(desc);\n\t\tSystem.out.println(com);\n\t}", "title": "" }, { "docid": "973ba7a1d187af3746b98609c889e71c", "score": "0.4830279", "text": "@Override\n\tpublic void msgAtPlatingArea() {\n\t\t\n\t}", "title": "" } ]
6587544cbc53002853eb805044b9f93e
Fires an intent with a single slot
[ { "docid": "c695ee1376c597499b22b6cd55ad227b", "score": "0.54181576", "text": "public AlexaResponse intent(final String intentName, final String slotName, final Object slotValue) {\n return intent(new AlexaIntentRequest(this, intentName).withSlot(slotName, slotValue));\n }", "title": "" } ]
[ { "docid": "8b3bc8f138b52becf396b97936874491", "score": "0.69886357", "text": "void slotClicked(int slot);", "title": "" }, { "docid": "705075a8e61ffeef78279c4285723000", "score": "0.6083754", "text": "public abstract void mo3875a(Intent intent);", "title": "" }, { "docid": "15ef019b4c646915e65cc75845a4ffa8", "score": "0.60743564", "text": "public void mo22073a(Intent intent) {\n this.f24822c.mo21763a(intent);\n }", "title": "" }, { "docid": "ca5c6b9f24a271e128131276e89068d0", "score": "0.6051363", "text": "public abstract void mo57565a(Intent intent);", "title": "" }, { "docid": "c0557c1a1ed15f91d4a117db45d85e92", "score": "0.60230166", "text": "@Override\n public void onNewIntent(Intent intent) {\n setIntent(intent);\n }", "title": "" }, { "docid": "c0557c1a1ed15f91d4a117db45d85e92", "score": "0.60230166", "text": "@Override\n public void onNewIntent(Intent intent) {\n setIntent(intent);\n }", "title": "" }, { "docid": "9feff8e543b1e007900bd4430b48e4c9", "score": "0.60133606", "text": "private void handleIntent() {\n }", "title": "" }, { "docid": "11da9c0d06d7e0c2dadc1724f2554b84", "score": "0.6007109", "text": "public void onClick(View v) {\n startActivity(intent);\n // speakText(qoute);\n }", "title": "" }, { "docid": "a060a49ae08aba0905e537a061fa812a", "score": "0.59907246", "text": "@Override\n\tpublic void onNewIntent(Intent intent) {\n\t\tsetIntent(intent);\n\t}", "title": "" }, { "docid": "5db4b772c454f6cba474f737828f6e97", "score": "0.59762114", "text": "@Override\n\tpublic void onItemListen(Intent intent) {\n\t\t startActivityForResult(intent, AddeventActivity.Activity_TAG);\n\t}", "title": "" }, { "docid": "98d149fd8a2e1f564e71dbd3af37b4be", "score": "0.59614235", "text": "@Override\n\tpublic abstract String intent();", "title": "" }, { "docid": "daa2c48a37c21f4b15216d4d0a26a5cb", "score": "0.5824401", "text": "@Override\n\t\t\t\t\t\t\t\tpublic void onClick(DialogInterface arg0,\n\t\t\t\t\t\t\t\t\t\tint arg1) {\n\t\t\t\t\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "014760d9c36e9b409364741c735081c2", "score": "0.581763", "text": "public void SellClick(View v){\n Intent intent = new Intent(MainActivity.this, SellActivity.class);\n Bundle data = new Bundle();\n int SID = v.getId() - 400000;\n data.putInt(\"SID\", SID);\n data.putBoolean(\"playSound\", playSound);\n data.putString(\"Sname\", f.getName(SID));\n data.putInt(\"Sprice\", f.getShareCurrPrince(SID));\n data.putInt(\"owned\", f.getSharesOwned(SID));\n data.putLong(\"Pmoney\", p.getMoney());\n data.putInt(\"level\", p.getLevel());\n data.putInt(\"assets\", p.getAssets());\n data.putInt(\"total\", f.getTotalShares(SID));\n data.putInt(\"lastClose\", f.getLastClose(SID));\n intent.putExtras(data);\n startActivity(intent);\n }", "title": "" }, { "docid": "2a85045289a1fcb54ee98200222e34f1", "score": "0.5815589", "text": "public void BuyClick(View v){\n Intent intent = new Intent(MainActivity.this, BuyActivity.class);\n Bundle data = new Bundle();\n int SID = v.getId() - 300000;\n data.putInt(\"SID\", SID);\n data.putString(\"Sname\", f.getName(SID));\n data.putInt(\"Sprice\", f.getShareCurrPrince(SID));\n data.putInt(\"owned\", f.getSharesOwned(SID));\n data.putLong(\"Pmoney\", p.getMoney());\n data.putInt(\"level\", p.getLevel());\n data.putInt(\"assets\", p.getAssets());\n data.putInt(\"total\", f.getTotalShares(SID));\n data.putInt(\"lastClose\", f.getLastClose(SID));\n data.putInt(\"totalShares\", f.getTotalShares(SID));\n data.putBoolean(\"playSound\", playSound);\n intent.putExtras(data);\n startActivity(intent);\n }", "title": "" }, { "docid": "28282b53b1a08693a6a8a4891183fb21", "score": "0.57175314", "text": "public void user1click(View view) {\n Toast.makeText(this, \"Item has been claimed :D\", Toast.LENGTH_SHORT).show();\n // startActivity(intent);\n }", "title": "" }, { "docid": "339ce8e1a10968b3a91aa7bc83b8d852", "score": "0.5714416", "text": "@Override\n public void onClick(View v) {\n\n sendBroadcast(new Intent(\"com.android.test\"));\n }", "title": "" }, { "docid": "717ae0bfccc2898b24ea104bb412437a", "score": "0.5710432", "text": "@Override\n public void onClick(View v) {\n startActivity(new Intent(getApplicationContext(),ScanQR.class));\n //This method calls to display a message telling the user to put the product on the scale\n PutItem();\n }", "title": "" }, { "docid": "f7888c7184a2225563dde04b42cf7e1c", "score": "0.5701445", "text": "void mo14060a(int i, Intent intent);", "title": "" }, { "docid": "0723473c04ba303ef00a1c5bd656c727", "score": "0.5675144", "text": "public void onNewIntent(Intent intent) {\n }", "title": "" }, { "docid": "7ad9cccc7a6fba29aad6ca614ec79cd1", "score": "0.56723833", "text": "void mo10412a(int i, Intent intent);", "title": "" }, { "docid": "200fef9eb5a4e21f40547036c371f3eb", "score": "0.56715244", "text": "@Override\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int id) {\n\t\t\t\t\t\tsendOffer(vista.getId());\n\t\t\t\t\t}", "title": "" }, { "docid": "8a6f63c27ecb0947629546c1ffd1c993", "score": "0.5635872", "text": "public void launchIntent() {\n getContext().startActivity(getIntent());\n }", "title": "" }, { "docid": "9d2f4ad669ee9fd64ac9ca3283db539b", "score": "0.56292975", "text": "public void setSlot(int slot) {\n this.slot = slot;\n }", "title": "" }, { "docid": "4be28846677b9f258dd8617444ae7d94", "score": "0.5624581", "text": "public void setSlot(int slot) {\n\n this.slot = slot;\n }", "title": "" }, { "docid": "2b878255ee858cf63a62f5f3b9dcf18c", "score": "0.5617765", "text": "public abstract void mo27380c(Intent intent);", "title": "" }, { "docid": "4ce8c6e8e079043df3c9814f6b24fee1", "score": "0.55988055", "text": "@Override\n\t\tpublic ItemStack slotClick(int slot, int button, int flag, EntityPlayer player)\n\t\t{\n\t\t\t// this will prevent the player from interacting with the item that opened the inventory:\n\t\t\tif (slot >= 0 && getSlot(slot) != null && getSlot(slot).getStack() == player.getHeldItem()) \n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn super.slotClick(slot, button, flag, player);\n\t}", "title": "" }, { "docid": "794aa0ed9ce8cab52054db8b4bbc25a3", "score": "0.5588825", "text": "@Override\n protected void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n setIntent(intent);\n }", "title": "" }, { "docid": "794aa0ed9ce8cab52054db8b4bbc25a3", "score": "0.5588825", "text": "@Override\n protected void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n setIntent(intent);\n }", "title": "" }, { "docid": "794aa0ed9ce8cab52054db8b4bbc25a3", "score": "0.5588825", "text": "@Override\n protected void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n setIntent(intent);\n }", "title": "" }, { "docid": "e6a0c7f3140bc66978901dcbde8d64e0", "score": "0.55698466", "text": "String getIntent();", "title": "" }, { "docid": "42f15fb128b95837f6ad20c93e7c43f2", "score": "0.5566061", "text": "public void onClick(DialogInterface dialog, int which) {\n print(\"Requesting and ambulance for \" + items[which]);\r\n sendAndRequestResponse(ACTION_REQUEST + \"fm=\" + itemsID[which] + \"&to=\" + ID + \"&tp=Ambulance request\");\r\n\r\n }", "title": "" }, { "docid": "c76dc8a374d5ff07f199ee3b3d1318be", "score": "0.5565531", "text": "public void playProgram(com.jakelu.soulmate.Detail detail) throws android.os.RemoteException;", "title": "" }, { "docid": "d656c6aeb9a6956dd4e12406c69c1c69", "score": "0.5562876", "text": "abstract public void startActivity(Intent intent);", "title": "" }, { "docid": "0320b66e05ec6880791f4a2e9fe8f2b8", "score": "0.5548781", "text": "void m46a(Intent intent) {\n intent.fillIn(m40a(), 24);\n c(intent);\n }", "title": "" }, { "docid": "cb84aa5723c4422dfddf7e6333c8f45c", "score": "0.55477065", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\tbundle.putInt(\"operation\", 11);\n\t\t\t\tbundle.putString(\"id\", meterid);\n\n\t\t\t\tintent.putExtras(bundle);\n\t\t\t\tintent.setAction(\"com.weian.TAB_DATA.BROAD_CAST\");\n\t\t\t\tsendBroadcast(intent);\n\t\t\t\tShowProgressDialog(\"获取参数中...\");\n\t\t\t}", "title": "" }, { "docid": "ac723f611f58535aec059423513739dc", "score": "0.55135787", "text": "@Override\n protected void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n\n Logger.getDefaultLogger().d(\"AlarmAlert.OnNewIntent()\");\n\n int id = intent.getIntExtra(Intents.EXTRA_ID, -1);\n try {\n mAlarm = alarmsManager.getAlarm(id);\n setTitle();\n } catch (Exception e) {\n Logger.getDefaultLogger().d(\"Alarm not found\");\n }\n\n }", "title": "" }, { "docid": "db49f57118db9ff8321d3ba278fcbffd", "score": "0.55118185", "text": "@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tstartActivity(intentTest);\n\t\t\t\t\t\t}", "title": "" }, { "docid": "98db05f3dc1c4a941a01267b33352329", "score": "0.5507485", "text": "@Override\n\tprotected void onNewIntent(Intent intent) {\n\t\thandleIntent(intent);\n\t}", "title": "" }, { "docid": "d4399245ab5d4c904b18e215753bab4d", "score": "0.55042154", "text": "@Override\n \t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n \t\t\t\tlong arg3) {\n \t\t\tIntent intent = new Intent();\n \t\t\tintent.putExtra(\"call_num\",listItem.get(arg2).get(\"call_num\")+\"\");\n \t\t\tintent.putExtra(\"dinner_name\",listItem.get(arg2).get(\"dinner_name\")+\"\");\n \t\t\tintent.putExtra(\"order_type\",listItem.get(arg2).get(\"order_type\")+\"\");\n\t\t\tintent.setClass(Foundsurface.this, Broadcast.class);\n\t\t\tstartActivity(intent);\n\t\t\tFoundsurface.this.finish();\n \t\t}", "title": "" }, { "docid": "89ea755653dd8c81bc809a213b20cae3", "score": "0.55012065", "text": "@Override\n public void onClick(View view) {\n serialSend(\"2\");\n }", "title": "" }, { "docid": "8c0febcc068ebb8b26c7d15eb9b10871", "score": "0.5494779", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tif (intentfrom.equals(\"menufragment\")) {\n\t\t\t\tIntent intent = new Intent(getActivity(),\n\t\t\t\t\t\tSYLRequestnewappointmentActivity.class);\n\t\t\t\tintent.putExtra(\"intentvalue\", \"menufragment\");\n\t\t\t\tintent.putExtra(\"contactsource\", \"gmailcontacts\");\n\t\t\t\tintent.putExtra(\"user_id\", userid);\n\t\t\t\tintent.putExtra(\"name\", name);\n\t\t\t\tintent.putExtra(\"email\", email);\n\t\t\t\tstartActivity(intent);\n\t\t\t\tgetActivity().finish();\n\t\t\t} else if (intentfrom.equals(\"newappointmentimportcontact\")) {\n\t\t\t\tIntent intent = new Intent(getActivity(),\n\t\t\t\t\t\tSYLRequestnewappointmentActivity.class);\n\t\t\t\tintent.putExtra(\"intentvalue\",\n\t\t\t\t\t\t\"newappointmentimportcontact\");\n\t\t\t\tintent.putExtra(\"user_id\", userid);\n\t\t\t\tintent.putExtra(\"name\", name);\n\t\t\t\tintent.putExtra(\"email\", email);\n\t\t\t\tintent.putExtra(\"contactsource\", \"googlecontacts\");\n\t\t\t\tstartActivity(intent);\n\t\t\t\tgetActivity().finish();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "b74c7276bc166688c78b7688e33a085d", "score": "0.5491893", "text": "private void clientBroadcast(Intent intent){\n LocalBroadcastManager.getInstance(this).sendBroadcast(intent);\n }", "title": "" }, { "docid": "e816520e7c960d6475a8b9ade33eda16", "score": "0.54765165", "text": "@Override\n protected void onNewIntent(Intent intent) {\n handleIntent(intent);\n }", "title": "" }, { "docid": "e816520e7c960d6475a8b9ade33eda16", "score": "0.54765165", "text": "@Override\n protected void onNewIntent(Intent intent) {\n handleIntent(intent);\n }", "title": "" }, { "docid": "e816520e7c960d6475a8b9ade33eda16", "score": "0.54765165", "text": "@Override\n protected void onNewIntent(Intent intent) {\n handleIntent(intent);\n }", "title": "" }, { "docid": "1aab84a0237cead2dc3bdeba562fe657", "score": "0.54762954", "text": "@Override\n public void onClick(View arg0) {\n\n Intent myIntent = new Intent();\n\n myIntent.setAction(Intent.ACTION_CALL_BUTTON);\n startActivity(myIntent);\n }", "title": "" }, { "docid": "30594c56c26d2f1be81ae03f38951e2d", "score": "0.5473515", "text": "@Override\n\t\t\t\tpublic void onClick(View arg0)\n\t\t\t\t{\n\t\t\t\t\tString shareSN = listsharedata.get(position).getKeyId();\n\t\t\t\t\tphones = MD_METHODDATE.GetSharePhoneNum(shareSN);\n\t\t\t\t\tString phonenum = \"\";\n\t\t\t\t\tfor (phones.moveToFirst(); !phones.isAfterLast(); phones.moveToNext())\n\t\t\t\t\t{\n\t\t\t\t\t\tint phonenumColumn = phones.getColumnIndex(\"phonenum\");\n\t\t\t\t\t\tphonenum = phones.getString(phonenumColumn);\n\t\t\t\t\t}\n\t\t\t\t\tIntent intent = new Intent(Intent.ACTION_CALL, Uri.parse(\"tel:\" + phonenum));\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t}", "title": "" }, { "docid": "1349e914a257f84452c49b732fef27e5", "score": "0.5468972", "text": "@Override\n public void startActivity(Intent intent) {\n if (Intent.ACTION_SEARCH.equals(intent.getAction())) {\n SearchSingleton.getSearchSingleton().setInventory(CurrentProfile.getCurrentProfile().getProfile(this).getUser().getInventory().getCards());\n }\n\n super.startActivity(intent);\n }", "title": "" }, { "docid": "56191f61df9732ce26e756823873d793", "score": "0.54688597", "text": "@Override // kotlin.jvm.functions.Function1\n public Unit invoke(Intent intent) {\n ((CartSummaryFragment) this.receiver).startActivity(intent);\n return Unit.INSTANCE;\n }", "title": "" }, { "docid": "0382dda0c8e69f4fb1c4de51d288e674", "score": "0.5459277", "text": "public void sendMessage2(View view)\n {\n Intent intent;\n if(currQuadrat.getCompletionStatus()) {\n intent = new Intent(this, StandSummary.class);\n }\n else {\n intent = new Intent(this, StandOverview.class);\n }\n startActivity(intent);\n }", "title": "" }, { "docid": "dce305b5f553eba37bfa4785d4a0c107", "score": "0.54568964", "text": "public AlexaResponse intent(final String intentName, final List<Slot> slots) {\n return intent(new AlexaIntentRequest(this, intentName).withSlots(slots));\n }", "title": "" }, { "docid": "c971d19d00d8579744ffc04fcd8765d1", "score": "0.5453051", "text": "private void startActivity(Intent intent) {\n\t\t\n\t}", "title": "" }, { "docid": "4c9570a05afc86d0fbcf329055e7289b", "score": "0.5451475", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Intent i = new Intent(getContext(), StarshipDetail.class);\n i.putExtra(\"starship_id\", id);\n startActivity(i);\n }", "title": "" }, { "docid": "8d2c333032345cfde125a41db68ac550", "score": "0.5446893", "text": "@Override\n\tprotected void onInventoryClick(InventoryClickEvent evt, Inventory inv) {\n\t\tsuper.onInventoryClick(evt, inv);\n\n\t\t//Bukkit.broadcastMessage(evt.getAction().name());\n\t\t// TODO UPDATE\n//\t\tif (evt.getInventory().getName().equals(invString)){\n//\t\t\tif (evt.getRawSlot() < 9 && evt.getRawSlot() > -1){ // the top inv rawslots are numbered 0 to 53 starting top left, -999 is returned if u click outside the inv view screen\n//\t\t\t\tItemStack itemclicked = evt.getCurrentItem();\n//\t\t\t\tItemStack cursor = evt.getCursor();\n//\t\t\t\tevt.setCancelled(true);\n//\n//\n//\t\t\t\tif (cursor.getType().getId() == 0){ //if player has no item on the cursor\n//\t\t\t\t\tPlayer plyr = (Player) evt.getWhoClicked();\n//\n//\n//\t\t\t\t\tLocation lastTurret;\n//\t\t\t\t\tif (isAdmin){\n//\t\t\t\t\t\tlastTurret = plyr.getLocation();\n//\t\t\t\t\t}else{\n//\t\t\t\t\t\tlastTurret = joc.pTemp().ObtenirLocation(\"LastTurretOpen\" + plyr.getName(), world);\n//\t\t\t\t\t}\n//\n//\t\t\t\t\tif (ContainsTurretBlock(lastTurret) || isAdmin){\n//\t\t\t\t\t\t//do your stuff here\n//\t\t\t\t\t\tMillora mill = Millores.get(evt.getRawSlot());\n//\n//\t\t\t\t\t\tif (mill.possibleUpgrade()){\n//\t\t\t\t\t\t\tif (evt.getAction() == InventoryAction.PICKUP_ALL){\n//\t\t\t\t\t\t\t\tmill.lvlUp();\n//\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\tif (evt.getAction() == InventoryAction.MOVE_TO_OTHER_INVENTORY){\n//\t\t\t\t\t\t\t\tmill.upgradeMaximum();\n//\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\tif (anyUpgradePossible() == false){\n//\t\t\t\t\t\t\t\tplyr.closeInventory();\n//\t\t\t\t\t\t\t}else{\n//\t\t\t\t\t\t\t\topenOrRefreshInventory(plyr);\n//\t\t\t\t\t\t\t}\n//\n//\t\t\t\t\t\t}\n//\n//\t\t\t\t\t}\n//\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t}", "title": "" }, { "docid": "cec23723e706d81e5ba7865b4854ac48", "score": "0.5443136", "text": "@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\tmContext.getXXService().acceptNewFried(id);\n\t\t}", "title": "" }, { "docid": "6e49d5b20650aab0726b0782b192508e", "score": "0.54376996", "text": "public void onClick(View v) {\n\n startActivity(intent);\n }", "title": "" }, { "docid": "fc3dddd9245694fddb78365cdd365046", "score": "0.5434968", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent=new Intent(\"android.Intent.BROADCAST\");\n\t\t\t\tintent.setClass(getBaseContext(), myReceiver.class);\n\t\t\t\tsendBroadcast(intent);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "44a05c10c7c8b28e38034798e102cb5a", "score": "0.5434014", "text": "public void onClick(DialogInterface dialog, int id) {\n Intent moveToBSLanding = new Intent(ViewOnlyPlayerHand.this, CallBullshit.class);\n\n startActivity(moveToBSLanding);\n }", "title": "" }, { "docid": "1944a6794557e054897603e0ea7e4ab4", "score": "0.5420657", "text": "private void sendMessage() {\n Intent intent = new Intent(\"my-event\");\n // add data\n intent.putExtra(\"message\", \"change big gov to performance\");\n LocalBroadcastManager.getInstance(this).sendBroadcast(intent);\n }", "title": "" }, { "docid": "9b9a96098692f20fdaf1d6f81538ad4e", "score": "0.5412683", "text": "public void handleIntent(Intent intent) {\r\n Intent requestingIntent = intent;\r\n if (requestingIntent != null) {\r\n //Handle here if you want to perform some action according to new Intent of already launched app\r\n }\r\n resumeMainFragment();\r\n }", "title": "" }, { "docid": "f04df7bce9f37de29f57ef3163dd894d", "score": "0.54125875", "text": "@Override\n public void onClick(View v) {\n startService(new Intent(getApplicationContext(), MyIntentService.class));\n Log.i(TAG, \"onClick: INTENT SERVICE STARTED\");\n }", "title": "" }, { "docid": "ad5713fce066ae5f65e9e5de8e599eb1", "score": "0.54081357", "text": "protected void slotClick(int index, boolean rightClick) {\n\n Logger.info(\"slotClick(i,b)\", \"Clicked @ Slot \" + index + \" with data \" + rightClick + \".\");\n\n int rightClickData = (rightClick) ? 1 : 0;\n\n CraftingKeys.proxy.sendSlotClick(Util.client.playerController, container.windowId, index,\n rightClickData, 0, Util.client.thePlayer);\n\n }", "title": "" }, { "docid": "3ce02b0aef3e7db40a63afa54c15c805", "score": "0.540618", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent = new Intent(mContext, PlayManager.class);\r\n\t\t\t\tintent.setAction(PlayManager.LIKE_ACTION);\r\n\t\t\t\tmContext.startService(intent);\r\n\t\t\t}", "title": "" }, { "docid": "e4dff8493781bbf205f8e25ea91683c4", "score": "0.54061794", "text": "protected void onNewIntent(Intent intent) {\n\t\t\n\t}", "title": "" }, { "docid": "85aeb71eb47e7abfce56020630f81bb5", "score": "0.5403621", "text": "@Override\r\n\tprotected void onNewIntent(Intent intent) {\n\t\tsuper.onNewIntent(intent);\r\n\t}", "title": "" }, { "docid": "d4c937a4a7732c59984020d710f18384", "score": "0.54029053", "text": "@Override\n\tprotected void onHandleIntent(Intent intent) {\n\t\t\n\t}", "title": "" }, { "docid": "d62026ae1742cb6361c6df836ad35664", "score": "0.53983456", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent b = new Intent(\"com.piyushagade.summit13.SERVICE\");\r\n\t\t\t\tstartActivity(b);\r\n\r\n\t\t\t}", "title": "" }, { "docid": "30596bde29a1223db54bb24da6c13785", "score": "0.5397995", "text": "public void onClick(View v) {\n\n String p=\"blue steel\";\n i.putExtra(\"tester\", p);\n startActivity(i);\n }", "title": "" }, { "docid": "40360b1bbb637a95064ff0706f29dd2b", "score": "0.5393128", "text": "@Override\r\n\tprotected void onHandleIntent(Intent intent) {\n\t\t\r\n\t}", "title": "" }, { "docid": "31f661a32c1b00ac0ea891ceb156ff60", "score": "0.53909534", "text": "@Override\n public void onClick(int position) {\n if (position == 0){ // --------------------------------------------------------------------- for Ingriedents\n Intent intent = new Intent(this, IngriedentsActivity.class);\n assert getIngriedentsFromBundle() != null;\n intent.putExtra(MainActivity.SELECTED_INGRIEDENTS, getIngriedentsFromBundle());\n intent.putExtra(MainActivity.SELECTED_RECIPE, selectedRecipe);\n intent.putExtra(Intent.EXTRA_TEXT, selectedRecipe.getName());\n startActivity(intent);\n }else{ // ---------------------------------------------------------------------------------- for Steps\n currentStep = position - 1;\n if (Tools.tableteMode(this)){\n videoFragment.playStep(currentStep);\n }else{\n CURRENT_FRAGMENT = videoFragment;\n setFragments();\n }\n }\n }", "title": "" }, { "docid": "01c91a9f87631fd5ed066f566730bbf5", "score": "0.53836936", "text": "@Override\n\tpublic void execAction(IIntent input) {\n\n\t}", "title": "" }, { "docid": "f69e6b75790942074b2054333743590b", "score": "0.53812593", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent b = new Intent(\"com.piyushagade.summit13.SPORTS\");\r\n\t\t\t\tstartActivity(b);\r\n\r\n\t\t\t}", "title": "" }, { "docid": "40da807dff542b8acc9d339c1b2ed953", "score": "0.537756", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\tIntent intent = new Intent(ShakeActivity.this,PersonalActivity.class);\n\t\t\t\tintent.putExtra(\"id\", Integer.parseInt(getDateAndIndex().get(arg2)));\n\t\t\t\tstartActivity(intent);\n\t\t\t}", "title": "" }, { "docid": "aed4ced0ff9b3b8b1ccc8aa8c99a9f58", "score": "0.5376932", "text": "public void shareViber(View view) {\n getSharedIntent();\n\n\n }", "title": "" }, { "docid": "165785418dbd574f1cc37f4e1d496529", "score": "0.5367546", "text": "public void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n logger.info(\"onNewIntent\");\n }", "title": "" }, { "docid": "52d52a0d8129d77622031ecdcb6a7eeb", "score": "0.53667635", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setAction(\"pe.edu.cibertec.ACTION1\");\n sendBroadcast(intent);\n\n showNotifiation();\n }", "title": "" }, { "docid": "44b957945384f4701ede7bc3c74d22ca", "score": "0.5366491", "text": "public void onClick(View opt) {\n\t\t\t\tstartActivity(new Intent(\"elemental.combine.TD.Upgrades\"));\n\t\t\t}", "title": "" }, { "docid": "81438bdcdf8a9d4a5ece2d073b3cd969", "score": "0.5365052", "text": "@Override\n\tpublic void execAction(IIntent input) {\n\t\t\n\t}", "title": "" }, { "docid": "d5705240730e85d1251b406d3d040b7b", "score": "0.5363327", "text": "@Override\n public void onClick(View v) {\n sendDataIntent(AppConstant.KEY_STRING,\"hello\");\n }", "title": "" }, { "docid": "2c365318146e72093871dd35cc3fa96c", "score": "0.5361536", "text": "@Override\n\tprotected void onHandleIntent(Intent intent) {\n\n\t}", "title": "" }, { "docid": "f1932d0cdfdbdc699a7d1ebbdb41e532", "score": "0.5354229", "text": "@Override\n public void onClick(View v) {\n startActivity(cDataQualities[2]);\n }", "title": "" }, { "docid": "b49144dc0ba0791ced42536a822d949f", "score": "0.53482556", "text": "@Override\n\t\tpublic void onItemClick(AdapterView<?> arg0, View v, int position,\n\t\t\t\tlong id) {\n\t\t\tIntent intent = new Intent(NoteSet.this, AlarmSound.class);\n\t\t\tstartActivity(intent);\n\t\t}", "title": "" }, { "docid": "f4a75a2f2e7d5b729eec53326f4d112a", "score": "0.5343271", "text": "@Override\n public void onClick(View v) {\n startActivity(cDataQualities[1]);\n }", "title": "" }, { "docid": "0913a43e3712b63ad7fee65cafa961e2", "score": "0.5342639", "text": "@Override\r\n\t\t\tpublic void onClick(DialogInterface arg0, int index) {\n\t\t\t\tif(index == 0){\r\n\t\t\t\t\tstartRouteDetailActivity();\r\n\t\t\t\t}else if(index == 1){\r\n\t\t\t\t\tstartBerthDetailActivity();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "c19b7bfb96c67e3d1a476c49c27fc172", "score": "0.53414357", "text": "@Override\n public void onClick(View v) {\n startActivity(cDataQualities[0]);\n }", "title": "" }, { "docid": "c32f596f9fdea34d0cc16f17dcf87f0a", "score": "0.5338158", "text": "private void m20091c(Intent intent) {\n ComponentName component = intent.getComponent();\n String className = intent.getComponent().getClassName();\n LoadedPlugin a = this.f17299b.mo27162a(intent);\n ActivityInfo a2 = a.mo27234a(component);\n if (a2 != null) {\n int i = a2.launchMode;\n String str = a2.taskAffinity;\n Resources.Theme newTheme = a.mo27256f().newTheme();\n newTheme.applyStyle(a2.theme, true);\n String a3 = this.f17300c.mo27277a(className, i, newTheme, str);\n Log.i(\"Va-PluginManager\", String.format(\"dispatchStubActivity,[%s -> %s]\", className, a3));\n intent.setClassName(this.f17298a, a3);\n return;\n }\n throw new RuntimeException(\"can not find \" + component);\n }", "title": "" }, { "docid": "0cc453c7c8f3bcf22379afbfe5195224", "score": "0.5335914", "text": "@Override\n public void onClick(View v) {\n startActivity(cDataQualities[3]);\n }", "title": "" }, { "docid": "0007ad2a444926a6c7b6aed16320a17d", "score": "0.53348297", "text": "@Override\n public void onClick(View view) {\n IntentIntegrator scanIntegrator = new IntentIntegrator(MainActivity.this);\n scanIntegrator.initiateScan();\n }", "title": "" }, { "docid": "cdc4c365e175431aefa0738e21c0df6b", "score": "0.5333978", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\treceiverRegistered = false;\n\n\t\t\tIntent intent = new Intent(ComposeMessageActivity.this, BuyorSubscribeActivity.class);\n\t\t\tintent.putExtra(\"purchaseID\", \"com.comantis.bedbuzz.5sendmessagecredits\");\n\t\t\tstartActivity(intent);\n\t\t}", "title": "" }, { "docid": "8f0f11d76177d828bcb0cb8a901d0a59", "score": "0.5323169", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\tIntent i=new Intent(Intent.ACTION_CALL,Uri.parse(\"tel:\"+t2.getText().toString()));\r\n\t\t\tstartActivity(i);\r\n\t\t\t}", "title": "" }, { "docid": "fafcec9b0ab3caa9255c749d87c7850e", "score": "0.53229576", "text": "public void setSlot(int slot)\n \t{\n \t\tgetAttr(Slot.class).setSlot(slot);\n \t}", "title": "" }, { "docid": "12f8fcd4d3206180e7d650bda10fe017", "score": "0.53150076", "text": "@Override\n public void onNewIntent(Intent intent) {\n if(bFlagAutoTest)\n openActivity(getTestItemActivityIdByClass(this)+1);\n else\n setTestSuccessed(getTestItemActivityIdByClass(this));\n finish();\n }", "title": "" }, { "docid": "aa219242067c98991f35d131eebf0da5", "score": "0.53129804", "text": "@Override\n public void onClick(View v) {\n ItemInteractionUtil.getInstance(context).show((AppCompatActivity) context, smsUnitData.getId(), RealmClassHelper.getInstance().SMS_UNIT_DATA);\n\n }", "title": "" }, { "docid": "69a957e3e08f67748eb72235b10aa32d", "score": "0.53121626", "text": "@Override\n protected void onNewIntent(Intent intent) {\n super.onNewIntent(intent);\n mNotificationIntent = intent;\n initListFragment(true);\n mUsageListFragment.setOnUsageItemClickListener(this);\n \n }", "title": "" }, { "docid": "61e2baf28513f6a69e12fbbcf98392dd", "score": "0.53108865", "text": "@Override\r\n public void onClick(View v) {\r\n Log.wtf(TAG, \"About to Start Schedule Activity\"); //logs info to the console\r\n Intent intent = new Intent(MainActivity.this, ScheduleActivity.class); //define the 'intent' you want to accomplish 'Intent' aka new screen\r\n startActivity(intent); //start the intent (new screen for this purpose)\r\n }", "title": "" }, { "docid": "d6f3ab380dd5344f7752983ecd29b8e7", "score": "0.5309533", "text": "@EventHandler\n public void onInventoryClick(InventoryClickEvent e) {\n Player p = (Player) e.getWhoClicked();\n Game g = MG.core().getGame(p);\n if(g == null || g.minigame != this) return;\n e.setCancelled(true);\n if(e.getClick() == ClickType.NUMBER_KEY) return;\n ItemStack clickedItem = e.getCurrentItem();\n if (clickedItem == null || clickedItem.getType() == Material.AIR) return;\n if(clickedItem.getType() == Material.STAINED_GLASS_PANE && clickedItem.getDurability() == 14) {\n p.playSound(p.getLocation(), Sound.BURP, 100, 1);\n p.sendMessage(ChatColor.RED + \"You Cannot Buy That Upgrade!\");\n return;\n }\n switch(e.getRawSlot()) {\n case 0: {\n addDmg(p);\n p.playSound(p.getLocation(), Sound.LEVEL_UP, 100, 1);\n break;\n }\n case 4: {\n addRange(p);\n p.playSound(p.getLocation(), Sound.LEVEL_UP, 100, 1);\n break;\n }\n }\n }", "title": "" }, { "docid": "56eff804eded9a1093ddaf194f45d92f", "score": "0.53085536", "text": "@Override\r\n\tpublic void onClick(View arg0) {\n\t\tIntent i=new Intent(\"android.intent.action.HELPER\");\r\n\t\tstartActivity(i);\r\n\t}", "title": "" }, { "docid": "b8e928a990f587a946555a9946cf0b44", "score": "0.5308535", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View viewClicked,\n\t\t\t\t\tint position, long id) {\n\n\t\t\t\tSchedule clickedEvent = schList.get(position);\n\t\t\t\tIntent i = new Intent(ScheduleActivity.this, com.ucevents.schedule.IndividualScheduleActivity.class);\n\t\t\t\tBundle b = new Bundle();\n\t\t\t\tb.putParcelable(\"chosenEvent\", clickedEvent);\n\t\t\t\ti.putExtras(b);\n\t\t\t\tstartActivity(i);\n\t\t\t}", "title": "" }, { "docid": "0da3403784456860cc1be43ef6f73456", "score": "0.53077555", "text": "@Click\n\tvoid myButton() {\n\t\tMyService_.intent(getApplication()).start();\n\t}", "title": "" }, { "docid": "d798c61eac2f6d9af0bb1f2db55163a1", "score": "0.53064483", "text": "public void onClick(View v) {\n Bundle IDbundle = new Bundle();\n IDbundle.putString(\"Vill\", o.get(\"Vill\"));\n IDbundle.putString(\"Bari\", o.get(\"Bari\"));\n IDbundle.putString(\"HH\", o.get(\"HH\"));\n IDbundle.putString(\"SESNo\", o.get(\"SESNo\"));\n Intent f1;\n f1 = new Intent(getApplicationContext(), SES.class);\n f1.putExtras(IDbundle);\n startActivity(f1);\n }", "title": "" } ]
e7dc6cb1dd99bd8f189b901c8736bd9b
Creates a new KeysPanel.
[ { "docid": "eeb5990104fcd4f9253a1304e5394d10", "score": "0.71657866", "text": "public KeysPanel(RMEditorPane anEP)\n {\n super(anEP);\n _builtInKeyNodes = new ArrayList();\n for (String key : _builtInKeys) _builtInKeyNodes.add(new KeyNode(key));\n }", "title": "" } ]
[ { "docid": "b83e0aef3792405154183e1448c1799a", "score": "0.68444514", "text": "public JPanel makeKeyboard() {\n\t\tJPanel keyPanel = new JPanel(); // make keyboard pane\n\t\tkeyPanel.setLayout(new GridBagLayout()); \n\t\tGridBagConstraints gbc = new GridBagConstraints();\n\t\tgbc.anchor = GridBagConstraints.FIRST_LINE_START;\n\t\t\n\t\tint counter = 0;// keeps place of where the button is due to null buttons\n\t\t/*Adds buttons onto keyboard from array*/\n\t\tfor (int i = 0; i < key.length; i++) {\n\t\t\tfinal String keyface = key[i];\n\t\t\tif (keyface == \"DELETE\") {\n\t\t\t\tkbutton = new JButton(keyface);\n\t\t\t\tkbutton.setContentAreaFilled(false);\n\t\t\t\tkbutton.setOpaque(true);\n\t\t\t\tkbutton.setBackground(Color.red.darker());\n\t\t\t\tkbutton.setForeground(Color.white);\n\t\t\t\tgbc.gridx = i % 12;\n\t\t\t\tgbc.gridwidth = 1;\n\t\t\t\tgbc.gridy = (key.length % 12) + i - i % 12;\n\t\t\t\tkbutton.setFocusable(false);\n\t\t\t\tkeyPanel.add(kbutton, gbc);\n\t\t\t\tkeyboard[counter] = kbutton;\n\t\t\t\tcounter++;\n\t\t\t} else if (keyface == \"\") {\n\t\t\t} else if (keyface == \"caps lock\") {\n\t\t\t\tcaps = new JToggleButton(keyface);\n\t\t\t\tcaps.setBorder(BorderFactory.createRaisedBevelBorder());\n\t\t\t\tcaps.setPreferredSize(new Dimension(50, 40));\n\t\t\t\tcaps.setForeground(Color.white);\n\t\t\t\tcaps.setBackground(Color.red.darker());\n\t\t\t\tcaps.setContentAreaFilled(false);\n\t\t\t\tcaps.setOpaque(true);\n\t\t\t\tgbc.gridx = 0;\n\t\t\t\tgbc.gridwidth = 2;\n\t\t\t\tgbc.gridheight = 1;\n\t\t\t\tgbc.gridy = (key.length % 12) + i - i % 12;\n\t\t\t\tgbc.fill = GridBagConstraints.HORIZONTAL;\n\t\t\t\tcaps.setFocusable(false);\n\t\t\t\tkeyPanel.add(caps, gbc);\n\t\t\t} else {\n\t\t\t\tkbutton = new JButton(keyface);\n\t\t\t\tgbc.gridx = i % 12;\n\t\t\t\tgbc.gridwidth = 1;\n\t\t\t\tgbc.gridy = (key.length % 12) + i - i % 12;\n\t\t\t\tkbutton.setBorder(BorderFactory.createRaisedBevelBorder());\n\t\t\t\tkbutton.setBackground(Color.red.darker());\n\t\t\t\tkbutton.setForeground(Color.white);\n\t\t\t\tkbutton.setContentAreaFilled(false);\n\t\t\t\tkbutton.setOpaque(true);\n\t\t\t\tkbutton.setPreferredSize(new Dimension(60, 40));\n\t\t\t\tkbutton.setFont(buttonFont);\n\t\t\t\tgbc.insets = new Insets(5, 5, 5, 5);\n\t\t\t\tkbutton.setFocusable(false);\n\t\t\t\t\n\t\t\t\t/*add a listener to every button created*/\n\t\t\t\tkbutton.addActionListener(new ActionListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t/*special listeners for special characters*/\n\t\t\t\t\t\tif (keyface == \"delete\") {\n\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_BACK_SPACE);\n\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_BACK_SPACE);\n\t\t\t\t\t\t} else if (keyface == \"tab\") {\n\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_TAB);\n\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_TAB);\n\t\t\t\t\t\t} else if (keyface == \"space\") {\n\n\t\t\t\t\t\t} else if (keyface == \"@\") {\n\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_2);\n\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_2);\n\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t} else if (keyface == \"_\") {\n\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_MINUS);\n\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_MINUS);\n\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t} else { \n\t\t\t\t\t\t\t//not a special character\n\t\t\t\t\t\t\tint keycode = KeyEvent\n\t\t\t\t\t\t\t\t\t.getExtendedKeyCodeForChar(keyface\n\t\t\t\t\t\t\t\t\t\t\t.charAt(0));\n\t\t\t\t\t\t\tSystem.out.println(keycode);\n\t\t\t\t\t\t\trobot.keyPress(keycode);\n\t\t\t\t\t\t\trobot.keyRelease(keycode);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tkeyPanel.add(kbutton, gbc);\n\t\t\t\tkeyboard[counter] = kbutton;\n\t\t\t\tcounter++;\n\t\t\t}\n\t\t}\n\t\t/* space bar button creation*/\n\t\tJPanel spacePanel = new JPanel();\n\t\tJButton space = new JButton(\"Space\");\n\t\tspace.setPreferredSize(new Dimension(700, 50));\n\t\tspace.setFocusable(false);\n\t\tspace.setBorder(BorderFactory.createRaisedBevelBorder());\n\t\tspacePanel.add(space);\n\n\t\tspacePanel.setBackground((Color.white));\n\t\tspace.setContentAreaFilled(false);\n\t\tspace.setOpaque(true);\n\t\tspace.setBackground(Color.red.darker());\n\t\tspace.setForeground(Color.white);\n\n\t\t/*add all keyboard components onto the keyboard panel*/\n\t\tJPanel keyboardPanel = new JPanel();\n\t\tkeyboardPanel.setLayout(new BoxLayout(keyboardPanel, BoxLayout.Y_AXIS));\n\t\tkeyboardPanel.add(keyPanel);\n\t\tkeyboardPanel.add(spacePanel);\n\t\tkeyboardPanel.setBackground(Color.white);\n\t\tkeyPanel.setBackground(Color.white);\n\n\t\tJPanel contentPane = new JPanel();\n\t\tcontentPane.setLayout(new BorderLayout());\n\t\tcontentPane.setBackground(Color.white);\n\n\t\tcontentPane.add(keyboardPanel, BorderLayout.SOUTH);\n\t\t\n\t\t/*listening for uppercasing on the keyboard via caps button press*/\n\t\tcaps.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif (caps.isSelected())\n\t\t\t\t\tcaps.setBackground(Color.blue.darker());\n\t\t\t\telse\n\t\t\t\t\tcaps.setBackground(Color.red.darker());\n\t\t\t\t/*replace keyboard facse for uppercasing*/\n\t\t\t\tfor (int i = 0; i < keyboard.length; i++) {\n\t\t\t\t\t/*defensive against the empty keyboard buttons*/\n\t\t\t\t\tif (!(keyboard[i] == null)) {\n\t\t\t\t\t\t//uppercase face when caps is toggled\n\t\t\t\t\t\tif (caps.isSelected()\n\t\t\t\t\t\t\t\t&& !(keyboard[i].getText() == \"delete\" || keyboard[i]\n\t\t\t\t\t\t\t\t\t\t.getText() == \"tab\")) {\n\n\t\t\t\t\t\t\tkeyboard[i].setText(keyboard[i].getText()\n\t\t\t\t\t\t\t\t\t.toUpperCase());\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t//lower case when caps is not toggled\n\t\t\t\t\t\t\tkeyboard[i].setText(keyboard[i].getText()\n\t\t\t\t\t\t\t\t\t.toLowerCase());\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tfinal String text = keyboard[i].getText();\n\t\t\t\t\t\tActionListener temp[] = keyboard[i]\n\t\t\t\t\t\t\t\t.getActionListeners();\n\t\t\t\t\t\tkeyboard[i].removeActionListener(temp[0]);//remove the old listener\n\t\t\t\t\t\tkeyboard[i].addActionListener(new ActionListener() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t/*add the actionlisteners for whether it is upper/lower case*/\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t\t\t/*special cases for special characters and their functionality*/\n\t\t\t\t\t\t\t\tif (text == \"delete\") {\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_BACK_SPACE);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_BACK_SPACE);\n\t\t\t\t\t\t\t\t} else if (text == \"tab\") {\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_TAB);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_TAB);\n\t\t\t\t\t\t\t\t} else if (text == \"space\") {\n\n\t\t\t\t\t\t\t\t} else if (text == \".\") {\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_PERIOD);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_PERIOD);\n\n\t\t\t\t\t\t\t\t} else if (text == \"@\") {\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_2);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_2);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\t\t} else if (text == \"_\") {\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_MINUS);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_MINUS);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\t\t} else if (text == \"-\") {\n\n\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_MINUS);\n\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_MINUS);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t/*alphabetic character*/\n\t\t\t\t\t\t\t\t\tint keycode = KeyEvent\n\t\t\t\t\t\t\t\t\t\t\t.getExtendedKeyCodeForChar(text\n\t\t\t\t\t\t\t\t\t\t\t\t\t.charAt(0));\n\t\t\t\t\t\t\t\t\t/* caps to not apply to numeric buttons*/\n\t\t\t\t\t\t\t\t\tif (caps.isSelected()&&!(text.matches(\"[0-9]*\"))) {\n\t\t\t\t\t\t\t\t\t\tcaps.setContentAreaFilled(false);\n\t\t\t\t\t\t\t\t\t\tcaps.setOpaque(true);\n\t\t\t\t\t\t\t\t\t\tcaps.setBorder(BorderFactory\n\t\t\t\t\t\t\t\t\t\t\t\t.createLoweredBevelBorder());\n\n\t\t\t\t\t\t\t\t\t\trobot.keyPress(KeyEvent.VK_SHIFT);\n\t\t\t\t\t\t\t\t\t\trobot.keyPress(keycode);\n\t\t\t\t\t\t\t\t\t\trobot.keyRelease(keycode);\n\t\t\t\t\t\t\t\t\t\trobot.keyRelease(KeyEvent.VK_SHIFT);\n\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\trobot.keyPress(keycode);\n\t\t\t\t\t\t\t\t\t\trobot.keyRelease(keycode);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t/* action for spacebar*/\n\t\tspace.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\trobot.keyPress(KeyEvent.VK_SPACE);\n\t\t\t\trobot.keyRelease(KeyEvent.VK_SPACE);\n\n\t\t\t}\n\n\t\t});\n\t\treturn contentPane;\n\t}", "title": "" }, { "docid": "ea51c17b7361fbef1b8088a16cc6347e", "score": "0.6354972", "text": "private void createKeyBindings() {\r\n\t\tpanel.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0),\r\n\t\t\t\tUP_AM_KEY);\r\n\t\tpanel.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0),\r\n\t\t\t\tDOWN_AM_KEY);\r\n\t\tpanel.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0),\r\n\t\t\t\tRIGHT_AM_KEY);\r\n\t\tpanel.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0),\r\n\t\t\t\tLEFT_AM_KEY);\r\n\t}", "title": "" }, { "docid": "2922e5725b61156bfac6c5f64ae9dcd0", "score": "0.59271854", "text": "void addWhiteKey(Container panel, int i) {\r\n \t\tWhiteKey b = new WhiteKey();\r\n \t\tb.setLocation(i++ * Key.WHITE_KEY_WIDTH, 0);\r\n \t\tpanel.add(b, 0, -1);\r\n \t\tkeys[index++] = b;\r\n \t}", "title": "" }, { "docid": "20b86f39a49b47cd8de0ca7c91bb4a6f", "score": "0.5913406", "text": "GamePanel() {\r\n\t\t\tsetup();\r\n\t\t\t\r\n\t\t\taddKeyListener(new KeyListener() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void keyPressed(KeyEvent e) {\r\n\t\t\t\t\tprocessKeyPressed(e);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void keyReleased(KeyEvent arg0) { }\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void keyTyped(KeyEvent arg0) {\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t}", "title": "" }, { "docid": "9811bb6afe4640eeef2877f8904a71cc", "score": "0.58266276", "text": "private JPanel createMenu() {\n JPanel buttonPanel = createButtonPanel();\n\n for(EventName eventName : EventName.values()){\n addButtonToPanel(eventName, buttonPanel);\n }\n\n return buttonPanel;\n }", "title": "" }, { "docid": "8e0184ee9906890c68b556e558c074b7", "score": "0.58150274", "text": "KeyPad()\r\n\t{\r\n\t\tsetBorder(BorderFactory.createMatteBorder(10,10,10,10,DARK_CHAMPAGNE));\r\n\t\tsetLayout(new GridLayout(5,1));\r\n\t\tsetBackground(DARK_CHAMPAGNE);\r\n\t\t\r\n\t\tnumberField.setEditable(false);\r\n\t\tnumberField.setBackground(Color.WHITE);\r\n\t\tnumberField.setFont(new Font(Font.SERIF,Font.PLAIN,18));\r\n\t\t\r\n\t\tbuttonRow1.add(new MenuButton(\"0\",\"0\",this));\r\n\t\tbuttonRow1.add(new MenuButton(\"1\",\"1\",this));\r\n\t\tbuttonRow1.add(new MenuButton(\"2\",\"2\",this));\r\n\t\tbuttonRow1.add(new MenuButton(\"3\",\"3\",this));\r\n\t\t\r\n\t\tbuttonRow2.add(new MenuButton(\"4\",\"4\",this));\r\n\t\tbuttonRow2.add(new MenuButton(\"5\",\"5\",this));\r\n\t\tbuttonRow2.add(new MenuButton(\"6\",\"6\",this));\r\n\t\tbuttonRow2.add(new MenuButton(\"7\",\"7\",this));\r\n\t\t\r\n\t\tbuttonRow3.add(new MenuButton(\"8\",\"8\",this));\r\n\t\tbuttonRow3.add(new MenuButton(\"9\",\"9\",this));\r\n\t\tbuttonRow3.add(new MenuButton(\"Clear\",\"10\",this));\r\n\t\tbuttonRow3.add(new MenuButton(\"Enter\",\"11\",this));\r\n\t\t\r\n\t\tadd(numberField);\r\n\t\tTools.addBlankSpace(this,1);\r\n\t\tadd(buttonRow1);\r\n\t\tadd(buttonRow2);\r\n\t\tadd(buttonRow3);\r\n\t}", "title": "" }, { "docid": "90cd0a85090e54ced5abb606f8f1285c", "score": "0.56603", "text": "MenuPanel() { createPanel(); }", "title": "" }, { "docid": "076e15a0d52174cc34db76de33b0f884", "score": "0.56459814", "text": "private void createKeyBindings() {\n\t\t\n/*\n\t\tAction marqueeToolAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tmanager.executeMarqueeTool();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction selectToolAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tmanager.executeSelectTool();\n\t\t\t}\n\t\t};\n*/\n\t\tAction addAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tManager.getInstance().executeAdd();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction deleteAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tManager.getInstance().executeDelete();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction selectAllAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tselectAll();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction clearAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tclear();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineMoveUpAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineMoveUp();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineMoveDownAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineMoveDown();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineMoveLeftAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineMoveLeft();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineMoveRightAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineMoveRight();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineIncreaseWidthAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineIncreaseWidth();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineIncreaseHeightAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineIncreaseHeight();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineDecreaseWidthAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineDecreaseWidth();\n\t\t\t}\n\t\t};\n\t\t\n\t\tAction outlineDecreaseHeightAction = new AbstractAction(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\toutlineDecreaseHeight();\n\t\t\t}\n\t\t};\n\t\t\n//\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_M, 0), \"marqueeToolAction\");\n//\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_V, 0), \"selectToolAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), \"addAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0), \"deleteAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_A, ActionEvent.CTRL_MASK), \"selectAllAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_D, ActionEvent.CTRL_MASK), \"clearAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), \"outlineMoveUpAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), \"outlineMoveDownAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0), \"outlineMoveLeftAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0), \"outlineMoveRightAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, ActionEvent.SHIFT_MASK), \"outlineDecreaseHeightAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, ActionEvent.SHIFT_MASK), \"outlineIncreaseHeightAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, ActionEvent.SHIFT_MASK), \"outlineDecreaseWidthAction\");\n\t\tgetInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, ActionEvent.SHIFT_MASK), \"outlineIncreaseWidthAction\");\n\n//\t\tgetActionMap().put(\"marqueeToolAction\", marqueeToolAction);\n//\t\tgetActionMap().put(\"selectToolAction\", selectToolAction);\n\t\tgetActionMap().put(\"addAction\", addAction);\n\t\tgetActionMap().put(\"deleteAction\", deleteAction);\n\t\tgetActionMap().put(\"clearAction\", clearAction);\n\t\tgetActionMap().put(\"selectAllAction\", selectAllAction);\n\t\tgetActionMap().put(\"outlineMoveUpAction\", outlineMoveUpAction);\n\t\tgetActionMap().put(\"outlineMoveDownAction\", outlineMoveDownAction);\n\t\tgetActionMap().put(\"outlineMoveLeftAction\", outlineMoveLeftAction);\n\t\tgetActionMap().put(\"outlineMoveRightAction\", outlineMoveRightAction);\n\t\tgetActionMap().put(\"outlineDecreaseHeightAction\", outlineDecreaseHeightAction);\n\t\tgetActionMap().put(\"outlineIncreaseHeightAction\", outlineIncreaseHeightAction);\n\t\tgetActionMap().put(\"outlineDecreaseWidthAction\", outlineDecreaseWidthAction);\n\t\tgetActionMap().put(\"outlineIncreaseWidthAction\", outlineIncreaseWidthAction);\n\t}", "title": "" }, { "docid": "151ca7905d408f37a5b74690b82fe35d", "score": "0.5603829", "text": "Key createKey();", "title": "" }, { "docid": "eef9416f4ab6f1028cded81ad897f1da", "score": "0.55749065", "text": "private void addKeyBindings() {\r\n\t\tpanel.getActionMap().put(UP_AM_KEY, upKeyPressedAction);\r\n\t\tpanel.getActionMap().put(DOWN_AM_KEY, downKeyPressedAction);\r\n\t\tpanel.getActionMap().put(RIGHT_AM_KEY, rightKeyPressedAction);\r\n\t\tpanel.getActionMap().put(LEFT_AM_KEY, leftKeyPressedAction);\r\n\t}", "title": "" }, { "docid": "bb61cbd97f36a52c1f8001c4535e30f0", "score": "0.5547824", "text": "KeyFactory() {}", "title": "" }, { "docid": "339e1228b2f773f9c2ea9b509e87133b", "score": "0.5481193", "text": "private JPanel createButtonPanel() {\r\n\t\tadd = new JButton(JMeterUtils.getResString(\"add\")); //$NON-NLS-1$\r\n\t\tadd.setActionCommand(ADD);\r\n\t\tadd.addActionListener(this);\r\n\t\tadd.setEnabled(true);\r\n\r\n\t\tdelete = new JButton(JMeterUtils.getResString(\"delete\")); // $NON-NLS-1$\r\n\t\tdelete.setActionCommand(DELETE);\r\n\t\tdelete.addActionListener(this);\r\n\r\n\t\tcheckDeleteStatus();\r\n\r\n\t\tJPanel buttonPanel = new JPanel();\r\n\t\tbuttonPanel.add(add);\r\n\t\tbuttonPanel.add(delete);\r\n\t\treturn buttonPanel;\r\n\t}", "title": "" }, { "docid": "35cf2e9da1a32e81a32a323320ac1b90", "score": "0.5451438", "text": "private JPanel createButtonsPanel() {\r\n\t\tJPanel buttonsPanel = new JPanel();\r\n\t\tbuttonsPanel.setLayout(new GridBagLayout());\r\n\t\t\r\n\t\t// create components\r\n\t\tJButton addCommandButton = createAddCommandButton();\r\n\t\tJTextField addCommandTextField = createAddCommandTextField();\r\n\t\tJButton runButton = createRunButton();\r\n\t\t\r\n\t\t// format components in layout\r\n\t\tGridBagConstraints c = new GridBagConstraints();\r\n\t\tc.gridx = 0;\r\n\t\tc.gridy = 0;\r\n\t\tbuttonsPanel.add(addCommandButton, c);\r\n\t\t\r\n\t\tc = new GridBagConstraints();\r\n\t\tc.gridx = 0;\r\n\t\tc.gridy = 1;\r\n\t\tc.insets = new Insets(16, 0, 0, 0);\r\n\t\tbuttonsPanel.add(addCommandTextField, c);\r\n\t\t\r\n\t\tc = new GridBagConstraints();\r\n\t\tc.gridx = 0;\r\n\t\tc.gridy = 5;\r\n\t\tc.insets = new Insets(174, 0, 0, 0); // somewhat unideal hard code\r\n\t\tbuttonsPanel.add(runButton, c);\r\n\t\t\r\n\t\treturn buttonsPanel;\r\n\t}", "title": "" }, { "docid": "b4748b7f13fa3dfe46913b3b34efc1bc", "score": "0.5400774", "text": "private static JPanel createGameButtons() {\n JPanel _thisPanel = new JPanel();\n JPanel _buttonPanel = new JPanel();\n JPanel _paddingPanel = new JPanel();\n JButton _newGameButton = new JButton(\"New Game\");\n JButton _loadGameButton = new JButton(\"Load Game\");\n JButton _extiGameButton = new JButton(\"Exit\");\n\n _newGameButton.addActionListener(new NewGameListener());\n _newGameButton.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 30));\n _newGameButton.setPreferredSize(new Dimension(250, 100));\n\n _loadGameButton.addActionListener(new LoadGameListener());\n _loadGameButton.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 30));\n _loadGameButton.setPreferredSize(new Dimension(250, 100));\n\n _extiGameButton.addActionListener(new ExitListener());\n _extiGameButton.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 18));\n _extiGameButton.setPreferredSize(new Dimension(70, 35));\n\n _buttonPanel.setBackground(POKER_GREEN);\n _buttonPanel.add(_newGameButton);\n _buttonPanel.add(_loadGameButton);\n\n _paddingPanel.setBackground(POKER_GREEN);\n _paddingPanel.setPreferredSize(new Dimension(50, 50));\n _paddingPanel.add(_extiGameButton);\n\n _thisPanel.setBackground(POKER_GREEN);\n _thisPanel.setLayout(new GridLayout(2, 1));\n\n _thisPanel.add(_buttonPanel);\n _thisPanel.add(_paddingPanel);\n \n return _thisPanel;\n }", "title": "" }, { "docid": "e02e998dcbbd07ef0a3ad508d64e5d9e", "score": "0.5399223", "text": "public BaseKeyboard(Context context, int layoutTemplateResId,\n CharSequence characters, int columns, int horizontalPadding) {\n this(context, layoutTemplateResId);\n int x = 0;\n int y = 0;\n int column = 0;\n mTotalWidth = 0;\n \n Row row = new Row(this);\n row.defaultHeight = mDefaultHeight;\n row.defaultWidth = mDefaultWidth;\n row.defaultHorizontalGap = mDefaultHorizontalGap;\n row.verticalGap = mDefaultVerticalGap;\n row.rowEdgeFlags = EDGE_TOP | EDGE_BOTTOM;\n final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns;\n for (int i = 0; i < characters.length(); i++) {\n char c = characters.charAt(i);\n if (column >= maxColumns\n || x + mDefaultWidth + horizontalPadding > mDisplayWidth) {\n x = 0;\n y += mDefaultVerticalGap + mDefaultHeight;\n column = 0;\n }\n final Key key = new Key(row);\n key.x = x;\n key.y = y;\n key.label = String.valueOf(c);\n key.codes = new int[] { c };\n column++;\n x += key.width + key.gap;\n mKeys.add(key);\n if (x > mTotalWidth) {\n mTotalWidth = x;\n }\n }\n mTotalHeight = y + mDefaultHeight;\n }", "title": "" }, { "docid": "3f7f2673bd33cf913a8388a75f10655d", "score": "0.53921694", "text": "public String getWindowTitle()\n {\n return \"Keys Panel\";\n }", "title": "" }, { "docid": "49d61e31bf7830d8c72020354a2e6e84", "score": "0.5374201", "text": "private void createButtonPanel() {\r\n\t\tJPanel buttonPanel = new JPanel();\r\n\t\tbuttonPanel.setLayout(new GridLayout(2, 2));\r\n\r\n\t\tJButton buttonUP = new JButton(\"UP\");\r\n\t\tbuttonUP.addActionListener(e -> fishComponent.moveFishBy(0, -1));\r\n\t\tbuttonPanel.add(buttonUP);\r\n\t\tJButton buttonRIGHT = new JButton(\"RIGHT\");\r\n\t\tbuttonRIGHT.addActionListener(e -> fishComponent.moveFishBy(1, 0));\r\n\t\tbuttonPanel.add(buttonRIGHT);\r\n\t\tJButton buttonDOWN = new JButton(\"DOWN\");\r\n\t\tbuttonDOWN.addActionListener(e -> fishComponent.moveFishBy(0, 1));\r\n\t\tbuttonPanel.add(buttonDOWN);\r\n\t\tJButton buttonLEFT = new JButton(\"LEFT\");\r\n\t\tbuttonLEFT.addActionListener(e -> fishComponent.moveFishBy(-1, 0));\r\n\t\tbuttonPanel.add(buttonLEFT);\r\n\r\n\t\tadd(buttonPanel, BorderLayout.NORTH);\r\n\t}", "title": "" }, { "docid": "6394d47880ca87cafc98fa2f913e60bd", "score": "0.53645074", "text": "public LoginPanel() {\n\n initComponents();\n InputMap map = new ComponentInputMap(this);\n\n map.put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0, false), \"pressed\");\n map.put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0, true), \"released\");\n\n loginButton.setInputMap(WHEN_IN_FOCUSED_WINDOW, map);\n }", "title": "" }, { "docid": "a438da07b15e1625a3f7aaf2a788a7be", "score": "0.53388566", "text": "public GamePanel() {\n\t\t\tthis.addKeyListener(new KeyboardInGameControls());\n\t\t\tthis.addMouseListener(new MouseInGameControls());\n\t\t\tgameObjects = new ArrayList<AbstractGameObject>(); //dummy for paint, tied to structure problem\n\n\t\t\t/*\n\t\t\tthis.getInputMap().put(KeyStroke.getKeyStroke(\"W\"), \"Move Up\");\n\t\t\tthis.getActionMap().put(\"Move Up\", this.moveUp);\n\n\t\t\tthis.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_W, 0, false), \"Move Up\");\n\t\t\tthis.getActionMap().put(\"Move Up\", this.moveUp);\n\n\t\t\tthis.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), \"Exit\");\n\t\t\tthis.getActionMap().put(\"Exit\", this.exit);\n\t\t\t*/\n\n\t\t\tthis.setFocusable(true);\n\t\t\tthis.requestFocusInWindow();\n\t\t}", "title": "" }, { "docid": "b2a5dda1e213a022d2e45c0abbcce5e5", "score": "0.5335058", "text": "private JPanel crearPanel(){\n PanelJuego1 panel = new PanelJuego1();\n return panel;\n }", "title": "" }, { "docid": "2152403a017ec11f9ba33fee828b8d7c", "score": "0.53189385", "text": "private void initializeKeyListener()\n {\n shapePanel.addKeyListener(new KeyListener() {\n public void keyPressed(KeyEvent e) {\n \t// Called when you push a key down\n \tSystem.out.println(\"key pressed: \" + e.getKeyChar());\n \tif (e.getKeyCode() == KeyEvent.VK_LEFT) {\n \t\tscene.moveSelected(-50, 0);\n \t} else if (e.getKeyCode() == KeyEvent.VK_UP) {\n \t\tscene.moveSelected(0, -50);\n \t}\n \trepaint();\n }\n public void keyReleased(KeyEvent e){\n \t// Called when you release a key and it goes up\n \tSystem.out.println(\"key released: \" + e.getKeyChar());\n }\n public void keyTyped(KeyEvent e) {\n \t// Gets called when you push a key down and then release it,\n \t// without pushing any other keys in between\n \tSystem.out.println(\"key typed: \" + e.getKeyChar());\n \tif (e.getKeyChar() == KeyEvent.VK_BACK_SPACE) {\n \t\tscene.removeSelected();\n \t}\n \trepaint();\n }\n });\n }", "title": "" }, { "docid": "2bdd8ffcc32d525213caa6044fa77661", "score": "0.5318903", "text": "public JPanel createMenuPanel() {\r\n\t\tJMenuBar menuBar = createTopMenuBar();\r\n\t\tJPanel buttonBar = createTopButtonBar();\r\n\r\n\t\tJPanel menuPanel = new JPanel(new BorderLayout());\r\n\t\tmenuPanel.add(menuBar, BorderLayout.LINE_START);\r\n\t\tmenuPanel.add(buttonBar);\r\n\r\n\t\treturn menuPanel;\r\n\t}", "title": "" }, { "docid": "ee21dceea88f78df2df0ca9106c14470", "score": "0.53140366", "text": "protected synchronized void initControls(String key) {\r\n ViewControlsImage newControls = new ViewControlsImage(this);\r\n\r\n boolean showImage = menuBuilder.isMenuItemSelected(\"Image toolbar\");\r\n boolean showVOI = menuBuilder.isMenuItemSelected(\"VOI toolbar\");\r\n boolean showPaint = menuBuilder.isMenuItemSelected(\"Paint toolbar\");\r\n boolean showScript = menuBuilder.isMenuItemSelected(\"Scripting toolbar\");\r\n\r\n newControls.buildToolbar(showImage, showVOI, showPaint, showScript, getComponentImage(key).getVOIHandler().getVOI_ID());\r\n\r\n controlsTable.put(key, newControls);\r\n }", "title": "" }, { "docid": "5596fb3c717f809e3cb8aff42f60fee6", "score": "0.52961457", "text": "private void addWhiteKeys()\n {\n // Use a loop to construct all the white keys at once\n for(int counter = 0; counter < wKeys.length; counter++) \n {\n // Print out that the key is being made\n System.out.println(\"Making white key number \" + counter);\n // Create new key\n Key key = new Key(wKeys[counter], wNotes[counter]+\".wav\", whitekUpKey, whiteDownKey);\n // Add key to world\n addObject(key, whiteKeyX + (counter*whiteSpacing), whiteKeyY);\n }\n\n }", "title": "" }, { "docid": "40bede27b389498851edbf7c1de10cc7", "score": "0.52939886", "text": "private JPanel createMenuButtons() {\n\t\tJPanel buttons = new JPanel();\n\t\tbuttons.setLayout(new GridLayout(4, 1, 0, -5));\n\t\tbuttons.setBackground(SColor.backgroundColor);\n\n\t\tfinal SButton newGame = new SButton(\"new game\", SButton.MAIN_MENU_BUTTON);\n\t\tfinal SButton settings = new SButton(\"settings\", SButton.MAIN_MENU_BUTTON);\n\t\tfinal SButton highScores = new SButton(\"high scores\",\tSButton.MAIN_MENU_BUTTON);\n\t\tfinal SButton exit = new SButton(\"exit\", SButton.MAIN_MENU_BUTTON);\n\n\t\tbuttons.add(newGame);\n\t\tbuttons.add(settings);\n\t\tbuttons.add(highScores);\n\t\tbuttons.add(exit);\n\n\t\t\n\t\t// add listeners to buttons\n\t\tnewGame.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tstopAudio(clip);\n\t\t\t\tgui.showPlay();\n\t\t\t}\n\t\t});\n\n\t\tsettings.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tgui.showSettings();\n\t\t\t}\n\t\t});\n\n\t\thighScores.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tgui.showHighScores();\n\t\t\t}\n\t\t});\n\n\t\texit.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t});\n\n\t\treturn buttons;\n\t}", "title": "" }, { "docid": "33d31e125988b189030960dfeabad144", "score": "0.52850556", "text": "@SuppressWarnings(\"serial\")\r\n\t\tprivate JPanel menuPanel() {\r\n\t\t\tJPanel panel = new JPanel();\r\n\t\t\tpanel.setLayout(new GridLayout(0, 1));\r\n\t\t\t\r\n\t\t\tstartGameButton = new JButton(new AbstractAction(\"Start Game\") {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\tstartGame();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t//\tYou can't start a game until a map is loaded and number of players > 1\r\n\t\t\tstartGameButton.setEnabled(false);\r\n\t\t\tpanel.add(startGameButton);\r\n\t\t\t\r\n\t\t\tpanel.add(new JButton(new AbstractAction(\"Upload Map\") {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\tloadMap();\r\n\t\t\t\t}\r\n\t\t\t}));\r\n\t\t\t\r\n\t\t\tpanel.add(new JButton(new AbstractAction(\"Upload Ant Brain\") {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\tloadBrain();\r\n\t\t\t\t}\r\n\t\t\t}));\r\n\t\t\t\r\n\t\t\tpanel.add(new JButton(new AbstractAction(\"View Credits\") {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\tviewCredits();\r\n\t\t\t\t}\r\n\t\t\t}));\r\n\t\t\treturn panel;\r\n\t\t}", "title": "" }, { "docid": "71137d9579a0e4763bb4c8bfa44ae243", "score": "0.5283987", "text": "public JEditorKeys() {\n initComponents();\n \n m_jKey0.addActionListener(new MyKeyNumberListener('0'));\n m_jKey1.addActionListener(new MyKeyNumberListener('1'));\n m_jKey2.addActionListener(new MyKeyNumberListener('2'));\n m_jKey3.addActionListener(new MyKeyNumberListener('3'));\n m_jKey4.addActionListener(new MyKeyNumberListener('4'));\n m_jKey5.addActionListener(new MyKeyNumberListener('5'));\n m_jKey6.addActionListener(new MyKeyNumberListener('6'));\n m_jKey7.addActionListener(new MyKeyNumberListener('7'));\n m_jKey8.addActionListener(new MyKeyNumberListener('8'));\n m_jKey9.addActionListener(new MyKeyNumberListener('9'));\n m_jKeyDot.addActionListener(new MyKeyNumberListener('.'));\n m_jCE.addActionListener(new MyKeyNumberListener('\\u007f'));\n m_jMinus.addActionListener(new MyKeyNumberListener('-')); \n \n editorcurrent = null;\n setMode(MODE_STRING);\n doEnabled(false);\n }", "title": "" }, { "docid": "5880e82a98d97ff28f03c267e4dc5ad9", "score": "0.5283821", "text": "protected ControlsPanel() {\n super();\n myLabels = new LinkedHashMap<String, JLabel>();\n setUpComponents();\n }", "title": "" }, { "docid": "10d2726983fa644f68c452588516d6a1", "score": "0.52813256", "text": "private Panel createControlPanel() {\n\t Panel ctrl = new Panel(new GridLayout(1,4));\n\t \n\t Button SearchButton=new Button(\"Search\");\n\t TextField SearchText= new TextField();\t \t\t \n\t //Button Marker=new Button(\"Use Marker\");\t\t \n\t // Marker.addActionListener((e)-> { mEmbed.setMarkerBool(true); System.out.println(\"1\");});\n\t \n\t //TAKES IN USER INPUT AND SENDS IT TO CREATEINFOPANEL() TO UPDATE THE PANEL\n\t SearchButton.addActionListener((e)-> {\n\t\t\ttry {\n\t\t\t\tcreateInfoPanel(SearchText.getText());\n\t\t\t} catch (DataNotFoundException e1) {\n\t\t\t\t// Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t} catch (InvalidFormatException e1) {\n\t\t\t\t// Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}); \n\t ctrl.add(SearchText);\n\t ctrl.add(SearchButton);\t \n\t //ctrl.add(Marker);\n\t \n\t \n\t return ctrl;\n\t}", "title": "" }, { "docid": "da02414ae65101ddfbe05c68deac1647", "score": "0.52753896", "text": "@Override\n\tpublic IMenu createMenu() {\n\t\treturn new MenuWindows();\n\t}", "title": "" }, { "docid": "24c6f56f13950ef55e006098aa526172", "score": "0.52745354", "text": "public skadistats.clarity.wire.s2.proto.S2UserMessages.CUserMessageVGUIMenu.Keys.Builder getKeysBuilder(\n int index) {\n return getKeysFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "18abb443707c813e6c9e89dea4cf8923", "score": "0.52608365", "text": "void addKeyListener(KeyAdapter ka);", "title": "" }, { "docid": "21a65c2548e8fbb3c6848a9693558fee", "score": "0.5251998", "text": "@Override\n public void initDefault() {\n addButton('a', Input.Keys.A);\n addButton('b', Input.Keys.B);\n addButton('c', Input.Keys.C);\n addButton('d', Input.Keys.D);\n addButton('e', Input.Keys.E);\n addButton('f', Input.Keys.F);\n addButton('g', Input.Keys.G);\n addButton('h', Input.Keys.H);\n addButton('i', Input.Keys.I);\n addButton('j', Input.Keys.J);\n addButton('k', Input.Keys.K);\n addButton('l', Input.Keys.L);\n addButton('m', Input.Keys.M);\n addButton('n', Input.Keys.N);\n addButton('o', Input.Keys.O);\n addButton('p', Input.Keys.P);\n addButton('q', Input.Keys.Q);\n addButton('r', Input.Keys.R);\n addButton('s', Input.Keys.S);\n addButton('t', Input.Keys.T);\n addButton('u', Input.Keys.U);\n addButton('v', Input.Keys.V);\n addButton('w', Input.Keys.W);\n addButton('x', Input.Keys.X);\n addButton('y', Input.Keys.Y);\n addButton('z', Input.Keys.Z);\n addButton('0', Input.Keys.NUM_0);\n addButton('1', Input.Keys.NUM_1);\n addButton('2', Input.Keys.NUM_2);\n addButton('3', Input.Keys.NUM_3);\n addButton('4', Input.Keys.NUM_4);\n addButton('5', Input.Keys.NUM_5);\n addButton('6', Input.Keys.NUM_6);\n addButton('7', Input.Keys.NUM_7);\n addButton('8', Input.Keys.NUM_8);\n addButton('9', Input.Keys.NUM_9);\n addButton(16, Input.Keys.UP); // ctrl-p (Previous)\n addButton(14, Input.Keys.DOWN); // ctrl-n (Next)\n addButton(2, Input.Keys.LEFT); // ctrl-b (Back)\n addButton(6, Input.Keys.RIGHT); // ctrl-f (Forward)\n }", "title": "" }, { "docid": "f103df61900f295207ce8f9390e7ffde", "score": "0.5246929", "text": "private void constructPianoKeyLayout() {\n mPianoKeys.clear();\n // todo: might be a better way of doing this\n for (int i = 0; i < mNumberOfKeys; i++) {\n mPianoKeys.add(null);\n }\n for (int i = mNumberOfKeys; i < mPrevNumberOfKeys; i++) {\n mPressedKeys.remove(i);\n }\n\n int left = 0;\n // todo: update the math in this comment\n // This view divides it's width by 7. So if the width isn't divisible by 7\n // there would be unused space in the view.\n // For this reason, whiteKeyWidth has 1 added to it, and 1 removed from it after the\n // remainder has been added in.\n\n mWhiteKeyWidth++;\n for (int i = 0; i < mNumberOfWhiteKeys; i++) {\n if (i == mViewWidthRemainder) {\n mWhiteKeyWidth--;\n }\n final int keyIx = whiteKeyIxs[i % whiteKeyIxs.length] + (i / whiteKeyIxs.length) * NOTES_PER_OCTAVE;\n final int keyFillColor;\n if (keyIsPressed(keyIx)) {\n keyFillColor = mPressedKeyColor;\n }\n else {\n keyFillColor = mWhiteKeyColor;\n }\n final GradientDrawable pianoKey = makePianoKey(keyFillColor, mKeyStrokeWidth, mKeyStrokeColor, mKeyCornerRadius);\n pianoKey.setBounds(left, 0, left + mWhiteKeyWidth, mWhiteKeyHeight);\n mPianoKeys.set(keyIx, pianoKey);\n left += mWhiteKeyWidth - mKeyStrokeWidth;\n }\n\n for (int i = 0; i < mNumberOfBlackKeys; i++) {\n final int keyIx = blackKeyIxs[i % blackKeyIxs.length] + (i / blackKeyIxs.length) * NOTES_PER_OCTAVE;\n GradientDrawable whiteKey = mPianoKeys.get(keyIx - 1);\n left = whiteKey.getBounds().right - (mBlackKeyWidth / 2) - (mKeyStrokeWidth / 2);\n final int keyFillColor;\n if (keyIsPressed(keyIx)) {\n keyFillColor = mPressedKeyColor;\n }\n else {\n keyFillColor = mBlackKeyColor;\n }\n final GradientDrawable pianoKey = makePianoKey(keyFillColor, mKeyStrokeWidth, mKeyStrokeColor, mKeyCornerRadius);\n pianoKey.setBounds(left, 0, left + mBlackKeyWidth, mBlackKeyHeight);\n mPianoKeys.set(keyIx, pianoKey);\n }\n // Sometimes there is 1 extra pixel on the end, and I have no idea why.\n // This will clip the rightmost keys it doesn't go over the bounds\n mPianoKeys.get(mNumberOfKeys - 1).getBounds().right =\n Math.min(mPianoKeys.get(mNumberOfKeys - 1).getBounds().right, mWidth);\n\n // Piano Background\n mPianoBackground.setCornerRadius(mKeyCornerRadius);\n mPianoBackground.setColor(mKeyStrokeColor);\n if (isWhiteKey(mNumberOfKeys - 1)) {\n mPianoBackground.setBounds(0, 0, getWidth(), getHeight());\n }\n else {\n mPianoBackground.setBounds(0, 0, mPianoKeys.get(mNumberOfKeys - 2).getBounds().right, getHeight());\n }\n }", "title": "" }, { "docid": "763ea78ee327b0474c43af13505f12f7", "score": "0.52410066", "text": "public CoolPiesPanel() {\r\n\t\tcb = new ComponentBag();\r\n\t\tbuttonBar = new ButtonBar();\r\n\t\tgamePanelMiddle = new GamePanelMiddle();\r\n\t\tsetLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\r\n\r\n\t\tbuttonBar.setPreferredSize(new Dimension(0,50));\r\n\t\tgamePanelMiddle.setPreferredSize(new Dimension(0,750));\r\n\t\tadd(buttonBar);\r\n\t\tadd(gamePanelMiddle);\r\n\t\tcb.mainJFrame.addKeyListener(new MyKeyListener());\r\n\t}", "title": "" }, { "docid": "fbcef6a98d75881fd5b5b4a4d1c20dca", "score": "0.5232992", "text": "private void createPanel()\n\t{\n\t\tnewGameButton = new JButton(\"New Game\");\n\t\tresetButton = new JButton(\"Reset\");\n\t\texitButton = new JButton(\"Exit\");\n\n\t\tnewGameButton.addActionListener(new MenuButtonListener());\n\t\tresetButton.addActionListener(new MenuButtonListener());\n\t\texitButton.addActionListener(new MenuButtonListener());\n\n\t\tstatusLabel = new JLabel(\"Welcome to Tic-Tac-Toe!\");\n\n\t\tbuttonPanel = new JPanel();\n\t\tbuttonPanel.add(newGameButton);\n\t\tbuttonPanel.add(resetButton);\n\t\tbuttonPanel.add(exitButton);\n\n\t\tlabelPanel = new JPanel();\n\t\tlabelPanel.setLayout(new FlowLayout(FlowLayout.LEFT));\n\t\tlabelPanel.setBorder(BorderFactory.createEtchedBorder());\n\t\tlabelPanel.add(statusLabel);\n\n\t\tsetLayout(new BorderLayout());\n\t\tadd(buttonPanel, BorderLayout.NORTH);\n\t\tadd(labelPanel, BorderLayout.SOUTH);\n\t}", "title": "" }, { "docid": "6e2b328d2238396b176cd5247bc74085", "score": "0.5229619", "text": "public AnimationListPanel() {\n initComponents();\n myAnimationJobPanels = new TreeSet();\n myAnimationJobMap = new HashMap();\n myAnimationJobsPanel.setLayout(new BoxLayout(myAnimationJobsPanel,BoxLayout.Y_AXIS));\n myIndirectSource = new PlayerSource();\n \n jTextField1.addKeyListener(new java.awt.event.KeyAdapter() {\n @Override\n public void keyReleased(java.awt.event.KeyEvent evt) {\n jTextField1KeyReleased(evt);\n }\n });\n }", "title": "" }, { "docid": "c55b228091142834272491a3670345ad", "score": "0.522377", "text": "public skadistats.clarity.wire.s2.proto.S2UserMessages.CUserMessageVGUIMenu.Keys.Builder addKeysBuilder(\n int index) {\n return getKeysFieldBuilder().addBuilder(\n index, skadistats.clarity.wire.s2.proto.S2UserMessages.CUserMessageVGUIMenu.Keys.getDefaultInstance());\n }", "title": "" }, { "docid": "c36d2f63343a2ab77ecb747b5f012b07", "score": "0.5202392", "text": "public skadistats.clarity.wire.s2.proto.S2UserMessages.CUserMessageVGUIMenu.Keys.Builder addKeysBuilder() {\n return getKeysFieldBuilder().addBuilder(\n skadistats.clarity.wire.s2.proto.S2UserMessages.CUserMessageVGUIMenu.Keys.getDefaultInstance());\n }", "title": "" }, { "docid": "6e9e2ae41dab0e8d20e1fb114bdb2e89", "score": "0.5197555", "text": "public JMenu createWindowMenu()\n\t{\n\t\twindowMenu.removeAll();\n\n\t\t//add windows\n\t\tJInternalFrame[] allFrames = desktop.getAllFrames();\n\n\t\tboolean enabled = allFrames.length != 0;\n\n\t\t//add normal windows\n\t\twindowMenu.add(createMenuItem(\"Cascade\", null, enabled, 'C', KeyEvent.VK_C));\n\t\twindowMenu.add(createMenuItem(\"Tile Horizontally\", null, enabled, 'H', KeyEvent.VK_H));\n\t\twindowMenu.add(createMenuItem(\"Tile Vertically\", null, enabled, 'V', KeyEvent.VK_V));\n\t\twindowMenu.add(createMenuItem(\"Arrange Icons\", null, enabled, 'A', KeyEvent.VK_A));\n\t\t//Max and Min don't work...\n\t\t//windowMenu.add(createMenuItem(\"Minimize All\", null, enabled));\n\t\t//windowMenu.add(createMenuItem(\"Maximize All\", null, enabled));\n\n\n\t\t//if there are no windows\n\t\tif(allFrames.length == 0)\n\t\t\treturn windowMenu;\n\n\t\twindowMenu.addSeparator();\n\t\tfor(int i=0; i<allFrames.length; i++)\n\t\t\twindowMenu.add(createMenuItem((i+1) + \". \" + allFrames[i].getTitle(), \"\" + i, enabled));\n\n\t\treturn windowMenu;\n\t}", "title": "" }, { "docid": "2a4ba572b8128b50f141278538698a20", "score": "0.5184369", "text": "@FXML\n public void setupKeyListeners(GameController controller){\n getStage().getScene().setOnKeyPressed(\n controller::onKeyPressedHandle\n );\n getStage().getScene().setOnKeyReleased(\n controller::onKeyReleasedHandle\n );\n\n }", "title": "" }, { "docid": "dee6c5232ec8e386318b8aff023984f5", "score": "0.5174176", "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 Home = new javax.swing.JLabel();\n txt_key = new javax.swing.JPasswordField();\n Eye = new javax.swing.JLabel();\n txt_Choose = new javax.swing.JLabel();\n Choose = new javax.swing.JLabel();\n FrameDrag = new javax.swing.JLabel();\n Decrypt = new javax.swing.JLabel();\n Key = new javax.swing.JLabel();\n jLabel1 = new javax.swing.JLabel();\n Gambar = new javax.swing.JLabel();\n Reset = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setUndecorated(true);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanel1.setBackground(new java.awt.Color(216, 226, 220));\n jPanel1.setLayout(null);\n\n Home.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Button/Back1.png\"))); // NOI18N\n Home.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n Home.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n HomeMouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n HomeMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n HomeMouseExited(evt);\n }\n });\n jPanel1.add(Home);\n Home.setBounds(20, 10, 50, 70);\n\n txt_key.setBackground(new java.awt.Color(255, 202, 212));\n txt_key.setFont(new java.awt.Font(\"Arial\", 1, 24)); // NOI18N\n txt_key.setForeground(new java.awt.Color(157, 129, 137));\n txt_key.setBorder(null);\n jPanel1.add(txt_key);\n txt_key.setBounds(290, 650, 320, 60);\n\n Eye.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Button/view2.png\"))); // NOI18N\n Eye.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n EyeMouseClicked(evt);\n }\n });\n jPanel1.add(Eye);\n Eye.setBounds(630, 660, 40, 40);\n\n txt_Choose.setFont(new java.awt.Font(\"Arial\", 1, 24)); // NOI18N\n txt_Choose.setForeground(new java.awt.Color(157, 129, 137));\n jPanel1.add(txt_Choose);\n txt_Choose.setBounds(370, 540, 350, 70);\n\n Choose.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Button/Choose.png\"))); // NOI18N\n Choose.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n Choose.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n ChooseMouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n ChooseMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n ChooseMouseExited(evt);\n }\n });\n jPanel1.add(Choose);\n Choose.setBounds(50, 510, 680, 130);\n\n FrameDrag.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseDragged(java.awt.event.MouseEvent evt) {\n FrameDragMouseDragged(evt);\n }\n });\n FrameDrag.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n FrameDragMousePressed(evt);\n }\n });\n jPanel1.add(FrameDrag);\n FrameDrag.setBounds(0, 0, 1024, 40);\n\n Decrypt.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Button/Decrypt.png\"))); // NOI18N\n Decrypt.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n Decrypt.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n DecryptMouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n DecryptMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n DecryptMouseExited(evt);\n }\n });\n jPanel1.add(Decrypt);\n Decrypt.setBounds(740, 520, 270, 100);\n\n Key.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Button/Key1.png\"))); // NOI18N\n Key.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n Key.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n KeyMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n KeyMouseExited(evt);\n }\n });\n jPanel1.add(Key);\n Key.setBounds(50, 630, 640, 100);\n\n jLabel1.setFont(new java.awt.Font(\"Arial\", 1, 48)); // NOI18N\n jLabel1.setForeground(new java.awt.Color(157, 129, 137));\n jLabel1.setText(\"DECRYPT\");\n jPanel1.add(jLabel1);\n jLabel1.setBounds(110, 20, 250, 50);\n jPanel1.add(Gambar);\n Gambar.setBounds(90, 100, 840, 400);\n\n Reset.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Button/Reset.png\"))); // NOI18N\n Reset.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n Reset.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n ResetMouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n ResetMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n ResetMouseExited(evt);\n }\n });\n jPanel1.add(Reset);\n Reset.setBounds(740, 630, 270, 110);\n\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1024, 768));\n\n pack();\n }", "title": "" }, { "docid": "69dc9e547691b4c005aada4edf1f9119", "score": "0.51661485", "text": "public JMenu createJMenu(String name, int keyEvent, boolean enable) {\n JMenu jMenu = new JMenu(name);\n jMenu.setMnemonic(keyEvent);\n jMenu.setEnabled(enable);\n return jMenu;\n }", "title": "" }, { "docid": "65f1b104dfbc995484ad5dc50fafcfcf", "score": "0.5162791", "text": "private JComponent createControls()\n {\n Box controls = Box.createHorizontalBox();\n\n controls.add(Box.createHorizontalGlue());\n\n JButton decrement = new JButton(\"<<\");\n decrement.setFocusPainted(false);\n decrement.setBorder(null);\n decrement.addActionListener(e -> setToNextImage(false));\n controls.add(decrement);\n\n controls.add(Box.createHorizontalStrut(3));\n controls.add(myIndexLabel);\n controls.add(Box.createHorizontalStrut(3));\n\n JButton increment = new JButton(\">>\");\n increment.setFocusPainted(false);\n increment.setBorder(null);\n increment.addActionListener(e -> setToNextImage(true));\n controls.add(increment);\n\n controls.add(Box.createHorizontalGlue());\n\n Box container = Box.createVerticalBox();\n container.add(Box.createVerticalStrut(5));\n container.add(controls);\n return container;\n }", "title": "" }, { "docid": "a96d7885fca5def2e7bae300b4de1e78", "score": "0.51457125", "text": "public IControl createControl() {\n\t\treturn new KaiYanControl();\n\t}", "title": "" }, { "docid": "abed6c1dc9229eed921940c5517e6788", "score": "0.513753", "text": "public void buildKeyImagePanel() {\n\n\t\tfinal GridBagConstraints gbc = new GridBagConstraints();\n\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 0;\n\t\tgbc.weightx = 0;\n\t\tgbc.fill = GridBagConstraints.NONE;\n\t\tgbc.anchor = GridBagConstraints.EAST;\n\n\t\t/*\n\t\timageSelectionPanel = new JPanel();\n\t\timageSelectionPanel.setLayout(new GridLayout(2, 3));\n\t\timageSelectionPanel.setBorder(buildTitledBorder(\"Auto Train\"));\n\n\t\t// Key image directory\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 1;\n\t\tlabelKeyImage = new JLabel(\"Key Image Directory: \");\n\t\tlabelKeyImage.setFont(serif12);\n\t\tlabelKeyImage.setForeground(Color.black);\n\n\t\timageSelectionPanel.add(labelKeyImage, gbc);\n\n\t\ttextFieldKeyImage = new JTextField(20);\n\t\ttextFieldKeyImage.setFont(serif12);\n\n\t\tgbc.gridx = 1;\n\t\timageSelectionPanel.add(textFieldKeyImage, gbc);\n\n\t\tbuttonKeyImage = new JButton(\"Choose\");\n\t\tbuttonKeyImage.addActionListener(this);\n\t\tbuttonKeyImage.setActionCommand(\"ChooseKeyImageDir\");\n\t\tbuttonKeyImage.setFont(serif12B);\n\t\tbuttonKeyImage.setPreferredSize(MipavUtil.defaultButtonSize);\n\n\t\tgbc.gridx = 2;\n\t\timageSelectionPanel.add(buttonKeyImage, gbc);\n\n\t\t// Save image directory\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 2;\n\t\tlabelSaveImage = new JLabel(\"Saved Image Directory: \");\n\t\tlabelSaveImage.setFont(serif12);\n\t\tlabelSaveImage.setForeground(Color.black);\n\n\t\timageSelectionPanel.add(labelSaveImage, gbc);\n\n\t\ttextFieldSaveImage = new JTextField(20);\n\t\ttextFieldSaveImage.setFont(serif12);\n\n\t\tgbc.gridx = 1;\n\t\timageSelectionPanel.add(textFieldSaveImage, gbc);\n\n\t\tbuttonSaveImage = new JButton(\"Choose\");\n\t\tbuttonSaveImage.addActionListener(this);\n\t\tbuttonSaveImage.setActionCommand(\"ChooseSaveImageDir\");\n\t\tbuttonSaveImage.setFont(serif12B);\n\t\tbuttonSaveImage.setPreferredSize(MipavUtil.defaultButtonSize);\n\n\t\tgbc.gridx = 2;\n\t\timageSelectionPanel.add(buttonSaveImage, gbc);\n\t\t*/\n\t}", "title": "" }, { "docid": "5bdf85d715810b07ac4842a5840d769d", "score": "0.51370704", "text": "protected JPanel createButtonsPanel() {\n JPanel p = new JPanel(new FlowLayout(FlowLayout.RIGHT));\n ButtonFactory bf = new ButtonFactory(bundle, this);\n p.add(bf.createJButton(\"OKButton\"));\n p.add(bf.createJButton(\"CancelButton\"));\n \n return p;\n }", "title": "" }, { "docid": "510fdca959741345852c174e736afca6", "score": "0.51368016", "text": "public void createControlPanel() {\n\n ObservableList oClassList = FXCollections.observableArrayList();\n ObservableList oSuperClassList = FXCollections.observableArrayList();\n\n oClassList.addAll(classList);\n oSuperClassList.addAll(superClassList);\n controlPanelController.setStaticClassBoxes(this, 2,\n new ControlPanelLine(this, controlPanelController, controlPanelController.getClassListener(segmentType), oClassList),\n new ControlPanelLine(this, controlPanelController, controlPanelController.getSuperClassListener(), oSuperClassList));\n controlPanelController.createNewLineWithExist(this, lineList);\n }", "title": "" }, { "docid": "19c11f2af0cb949e9d76fcfc8e78e61a", "score": "0.5113727", "text": "private void createFrame()\n {\n\n panel=new JPanel();\n\n panel=(buttons.createButtons());//buttons.createButtons is returning a JPanel with the buttons and the\n // textfield\n\n setTitle(\"Calculator\");\n setSize(FRAME_WIDTH,FRAME_HEIGHT);\n add(panel);\n\n setJMenuBar(menuBar);\n }", "title": "" }, { "docid": "d75624df9fa6b47aea5b394e94e1c74d", "score": "0.51090884", "text": "public MenuBar createMenu() {\n MenuBar menuBar = new MenuBar();\n \n Menu menuFile = new Menu(\"File\");\n MenuItem upload = new MenuItem(\"Upload New\");\n upload.setAccelerator(KeyCombination.keyCombination(\"Ctrl+X\"));\n upload.setOnAction(new EventHandler<ActionEvent>() {\n public void handle(ActionEvent t) {\n //fill this in\n }\n });\n MenuItem save = new MenuItem(\"Save\");\n save.setAccelerator(KeyCombination.keyCombination(\"Ctrl+S\"));\n save.setOnAction(new EventHandler<ActionEvent>() {\n public void handle(ActionEvent t) {\n //fill this in\n }\n });\n menuFile.getItems().addAll(upload, save); //links the save and upload new under the File tab\n \n Menu menuEdit = new Menu(\"Edit\");\n Menu menuView = new Menu(\"View\");\n \n menuBar.getMenus().addAll(menuFile, menuEdit, menuView);\n return menuBar;\n }", "title": "" }, { "docid": "084c48d3267a030a4cd0dd5eebe9fc2c", "score": "0.5100491", "text": "private void setupKeyListener()\r\n {\r\n myKeyCaptureListener = new KeyCaptureListener();\r\n myButton.addKeyListener(myKeyCaptureListener);\r\n }", "title": "" }, { "docid": "d6be12abcdf69799b470355e8c8dc144", "score": "0.50987923", "text": "private void buildButtonPanel()\r\n {\r\n // Create a panel.\r\n buttonPanel = new JPanel();\r\n \r\n // Create a button.\r\n button = new JButton(\"Hit\");\r\n button.setMnemonic(KeyEvent.VK_D);\r\n button.setToolTipText(\"Click here to deal a card.\");\r\n \r\n button2 = new JButton(\"Stand\");\r\n button2.setMnemonic(KeyEvent.VK_S);\r\n button2.setToolTipText(\"Click here to stand.\");\r\n \r\n button3 = new JButton(\"Play Again\");\r\n button3.setMnemonic(KeyEvent.VK_P);\r\n button3.setToolTipText(\"Click here to play again.\");\r\n \r\n // Register an action listener with the button.\r\n button.addActionListener(new ButtonListener());\r\n button2.addActionListener(new ButtonListener2());\r\n button3.addActionListener(new ButtonListener3());\r\n \r\n // Add the button to the panel.\r\n buttonPanel.add(button);\r\n buttonPanel.add(button2);\r\n buttonPanel.add(button3);\r\n \r\n }", "title": "" }, { "docid": "eef6c0e3da92668afc680ded3705db64", "score": "0.50984424", "text": "private JPanel panelmenu() {\n panelmenu = new JPanel();\n this.setJMenuBar(this.createMenuBar());\n return panelmenu;\n }", "title": "" }, { "docid": "81b9f14dfc4ade75ccfdffda70b995ae", "score": "0.5097129", "text": "private JPanel createButtonPanel() {\n\t\tbuttonPanel = new JPanel();\t\t\t\t\t\t\t\t// each to save and load the given file and another to\n\t\tbuttonPanel.setLayout(new FlowLayout());\t\t\t\t// quit the program.\n\t\tsaveButton = new JButton(\"Save\");\n\t\tsaveButton.addActionListener(new SaveButtonListener());\n\t\tloadButton = new JButton(\"Load\");\n\t\tloadButton.addActionListener(new LoadButtonListener());\n\t\texitButton = new JButton(\"Exit\");\n\t\texitButton.addActionListener(new ExitButtonListener());\n\t\tbuttonPanel.add(saveButton);\n\t\tbuttonPanel.add(loadButton);\n\t\tbuttonPanel.add(exitButton);\n\t\treturn buttonPanel;\n\t}", "title": "" }, { "docid": "29a538e31b55dc5ab395b669591bf423", "score": "0.50954944", "text": "void addBlackKey(Container panel, int factor) {\r\n \t\tBlackKey b = new BlackKey();\r\n \t\tb.setLocation(Key.WHITE_KEY_WIDTH - Key.BLACK_KEY_WIDTH / 2 + factor\r\n \t\t\t\t* Key.WHITE_KEY_WIDTH, 0);\r\n \t\tpanel.add(b, 1, -1);\r\n \t\tkeys[index++] = b;\r\n \t}", "title": "" }, { "docid": "2a59703dc60597e1c363902eec914a43", "score": "0.5089782", "text": "private void createMenu(){\n // Creamos el panel\n panelMenu = new JPanel();\n panelMenu.setLayout(new GridLayout(7, 3));\n panelMenu.setBackground(Color.ORANGE);\n\n // Creamos el label\n menuLabel = new JLabel(\"Menú principal\");\n menuLabel.setHorizontalAlignment(SwingConstants.CENTER);\n\n // Agregamos el lanel\n if (menuCreated){\n remove(panelMenu);\n panelMenu.add(menuLabel);\n } else {\n panelMenu.add(menuLabel);\n }\n\n\n // Creamos los botones\n newGameButton = new JButton(\"Nuevo juego\");\n resumeGameButton = new JButton(\"Continuar juego\");\n openGameButton = new JButton(\"Abrir juego\");\n saveButton = new JButton(\"Guardar juego\");\n saveAsButton = new JButton(\"Guardar como\");\n modifyBoardButton = new JButton(\"Modificar tablero\");\n endGameButton = new JButton(\"Finalizar juego\");\n\n // Agregamos los botones\n if (GameBoard.gameRunning){\n panelMenu.add(resumeGameButton);\n } else {\n panelMenu.add(newGameButton);\n }\n\n panelMenu.add(openGameButton);\n panelMenu.add(saveButton);\n panelMenu.add(saveAsButton);\n panelMenu.add(modifyBoardButton);\n panelMenu.add(endGameButton);\n\n // Agregamos el panel al frame\n cards.add(panelMenu, MAIN_MENU);\n }", "title": "" }, { "docid": "bfb17a56573ac2b8f3c5c14ac0a82468", "score": "0.5068374", "text": "GamePanel(){\n\t\trandom = new Random();\n\t\tthis.setPreferredSize(new Dimension(SCREEN_WIDTH, SCREEN_HEIGHT));\n\t\tthis.setBackground(Color.BLACK);\n\t\tthis.setFocusable(true);\n\t\tthis.addKeyListener(new myKeyAdapter());\n\t\tstartGame();\n\t}", "title": "" }, { "docid": "c489a0fc1fe2be5b97d89928ed42c45b", "score": "0.5057865", "text": "public KeyDemoFrame()\n {\n super(\"Demonstrating Keystroke Events\");\n\n textArea = new JTextArea(10, 15); // set up JTextArea\n textArea.setText(\"Press any key on the keyboard...\");\n textArea.setEnabled(false);\n textArea.setDisabledTextColor(Color.BLACK);\n add(textArea); // add text area to JFrame\n\n addKeyListener(this); // allow frame to process key event\n }", "title": "" }, { "docid": "01df1fd331a5e6030c8e64c3d92b7061", "score": "0.5056351", "text": "private void initKeys() {\r\n \r\n // configure mappings, e.g. the WASD keys\r\n inputManager.addMapping(\"CharLeft\", new KeyTrigger(KeyInput.KEY_J));\r\n inputManager.addMapping(\"CharRight\", new KeyTrigger(KeyInput.KEY_L));\r\n inputManager.addMapping(\"CharForward\", new KeyTrigger(KeyInput.KEY_I));\r\n inputManager.addMapping(\"CharBackward\", new KeyTrigger(KeyInput.KEY_K));\r\n inputManager.addMapping(\"CharJump\", new KeyTrigger(KeyInput.KEY_RETURN));\r\n inputManager.addMapping(\"CharAttack\", new KeyTrigger(KeyInput.KEY_O));\r\n // setup mapping that uses our override (via ActionListener interface):\r\n inputManager.addListener(this, \"CharLeft\", \"CharRight\");\r\n inputManager.addListener(this, \"CharForward\", \"CharBackward\");\r\n inputManager.addListener(this, \"CharJump\", \"CharAttack\");\r\n // You can map one or several inputs to one named action\r\n inputManager.addMapping(\"Pause\", new KeyTrigger(KeyInput.KEY_P));\r\n// inputManager.addMapping(\"Left\", new KeyTrigger(KeyInput.KEY_J));\r\n// inputManager.addMapping(\"Right\", new KeyTrigger(KeyInput.KEY_K));\r\n// inputManager.addMapping(\"RotateLeft\", new MouseButtonTrigger(MouseInput.BUTTON_LEFT));\r\n// inputManager.addMapping(\"RotateRight\", new MouseButtonTrigger(MouseInput.BUTTON_RIGHT));\r\n inputManager.addMapping(\"Run\", new KeyTrigger(KeyInput.KEY_SPACE));\r\n inputManager.addMapping(\"Walk\", new KeyTrigger(KeyInput.KEY_G));\r\n inputManager.addMapping(\"Shoot\", new KeyTrigger(KeyInput.KEY_B));\r\n inputManager.addListener(this, \"Shoot\");\r\n inputManager.addMapping(\"Lefts\", new KeyTrigger(KeyInput.KEY_0));\r\n inputManager.addMapping(\"Rights\", new KeyTrigger(KeyInput.KEY_1));\r\n inputManager.addMapping(\"Ups\", new KeyTrigger(KeyInput.KEY_2));\r\n inputManager.addMapping(\"Downs\", new KeyTrigger(KeyInput.KEY_3));\r\n inputManager.addMapping(\"Space\", new KeyTrigger(KeyInput.KEY_4));\r\n inputManager.addMapping(\"Reset\", new KeyTrigger(KeyInput.KEY_5));\r\n inputManager.addListener(this, \"Lefts\");\r\n inputManager.addListener(this, \"Rights\");\r\n inputManager.addListener(this, \"Ups\");\r\n inputManager.addListener(this, \"Downs\");\r\n inputManager.addListener(this, \"Space\");\r\n inputManager.addListener(this, \"Reset\");\r\n// inputManager.addListener(actionListener, \"Walk\", \"Shoot\", \"Left\", \"Right\", \"Run\",\"RotateLeft\", \"RotateRight\");\r\n// // Add the names to the action listener.\r\n// inputManager.addListener(actionListener,\"Pause\"); // You register the pause action to the ActionListener, because it is an \"on/off\" action.\r\n //inputManager.addListener(analogListener, \"RotateLeft\", \"RotateRight\"); // You register the movement actions to the AnalogListener, because they are gradual actions.\r\n \r\n /* TO make character pickup an object, here are the steps:\r\n * 1. button is pressed\r\n * 2. We use ray casting to detect/target the object in front of the character.\r\n * Aim ray in front of character\r\n * detect collisions\r\n * check for collisions less than particular distance\r\n * 3. If true, we use an actionListener to elevate the object and set isHoldingObject = true.\r\n * 4. If isHoldingObject == true, when character moves, the object also moves.\r\n * 5. We wire an actionListener to put down the object and set isHoldingObject = false.\r\n * \r\n */\r\n \r\n }", "title": "" }, { "docid": "c57f47838306469b3a01be88f300886c", "score": "0.50555676", "text": "private JPanel getButtonsPanel(){\r\n \t\r\n \tif(buttonsPanel == null){\r\n \t\t\r\n \t\tbuttonsPanel = new JPanel();\r\n \t\tbuttonsPanel.setLayout(new GridLayout());\r\n \t\tbuttonsPanel.setPreferredSize(new Dimension(60,0));\r\n \t\tbuttonsPanel.add(getAddConstraintButton());\r\n \t\tbuttonsPanel.add(getGenerateSWCLButton());\r\n \t}\r\n \t\r\n \treturn buttonsPanel;\r\n \t\r\n }", "title": "" }, { "docid": "42b59170f22eb22ebf4c2aa98ae27b12", "score": "0.50484055", "text": "public PwKey() {\n\t\t;\n\t}", "title": "" }, { "docid": "0b1277cf7ad560d08a44adb3bf4d9e77", "score": "0.5045499", "text": "protected JPanel createPathPanel() {\n JPanel p = new JPanel(new GridLayout(2, 1));\n \n p.add(createClassPathPanel());\n p.add(createLibraryPathPanel());\n \n return p;\n }", "title": "" }, { "docid": "0ab444e5655605f76981b126b4e4bf03", "score": "0.50447226", "text": "public JPanel addButtons() {\n\t\tJPanel btnPanel = new JPanel(new GridBagLayout());\n\t\t// create the GridBagConstraints\n\t\tGridBagConstraints gbc = new GridBagConstraints();\n\t\t// set insets\n\t\tgbc.insets = defaultInsets;\n\n\t\t// initialize buttons\n\t\tback_Btn = new JButton(\"Back\");\n\t\tnext_Btn = new JButton(\"Next\");\n\t\tcancel_Btn = new JButton(\"Cancel\");\n\n\t\t// set coordinates\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 0;\n\t\tgbc.anchor = GridBagConstraints.WEST;\n\t\tbtnPanel.add(back_Btn, gbc);\n\n\t\tgbc.gridx = 1;\n\t\tgbc.gridy = 0;\n\t\tbtnPanel.add(cancel_Btn, gbc);\n\n\t\t// set the weights\n\t\t// do you even lift?\n\t\tgbc.weightx = 1.0;\n\t\tgbc.weighty = 1.0;\n\t\tgbc.gridx = 2;\n\t\tgbc.gridy = 0;\n\t\tgbc.anchor = GridBagConstraints.EAST;\n\t\tbtnPanel.add(next_Btn, gbc);\n\n\t\treturn btnPanel;\n\t}", "title": "" }, { "docid": "0dbf67d3dc4c0620726416c20a455f60", "score": "0.5043539", "text": "public JPanel crearLetras(){\n\t\tJPanel teclado = new JPanel(new GridLayout(3,10,0,0));\n\n\t\tfor(char i='A';i<='Z';i++){\n\t\t\tteclado.add(new JButton(new ImageIcon(\"images/teclado/\"+i+\".jpg\")));\n\t\t\t\t\n\t\t}\n\t\tteclado.add(new JButton(new ImageIcon(\"images/teclado/NN.jpg\")));\n\t\t\n\t\treturn teclado;\n\t}", "title": "" }, { "docid": "d9bd5c3308f1706696433e8fd4684c5f", "score": "0.5041786", "text": "private JPanel makeControlPanel() {\n JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEADING));\n JButton refreshButton = new JButton(\"Refresh\");\n refreshButton.setFocusPainted(false);\n refreshButton.addActionListener(this::refreshButtonClicked);\n panel.add(refreshButton);\n return panel;\n }", "title": "" }, { "docid": "7ecbde0bfd48b4b6f32fa9e84c949925", "score": "0.5012506", "text": "public KeplerContextMenuFactory(GraphController controller) {\n\t\tsuper(controller);\n\t\tthis.controller = controller;\n\t}", "title": "" }, { "docid": "6ccef6920a3f440874749cacce014330", "score": "0.5010019", "text": "public JPanel panel(){\n \tJPanel main = new JPanel();\n \tmain.setLayout(new BorderLayout());\n \t\n \tJPanel north = new JPanel();\n \tnorth.add(new JLabel(\"Create New Character\"));\n \t\n \tJPanel center = new JPanel();\n \tGridLayout centerLayout = new GridLayout(4, 3, 20, 50);\n \tcenter.setLayout(centerLayout);\n \tcenter.add(new JLabel(\"Name\"));\n \tcenter.add(name);\n \tcenter.add(points);\n \tcenter.add(new JLabel(\"Power\"));\n \tcenter.add(pwrField);\n \tcenter.add(pwrSlider);\n \tcenter.add(new JLabel(\"Wealth\"));\n \tcenter.add(welField);\n \tcenter.add(welSlider);\n \tcenter.add(new JLabel(\"Solitude\"));\n \tcenter.add(solField);\n \tcenter.add(solSlider);\n \t\n \tJPanel south = new JPanel();\n \tsouth.add(finish);\n \tsouth.add(close);\n \t\n \tmain.add(north, BorderLayout.NORTH);\n \tmain.add(south, BorderLayout.SOUTH);\n \tmain.add(center, BorderLayout.CENTER);\n \treturn main;\n }", "title": "" }, { "docid": "a551d513ab682c160a2e58927b83aebb", "score": "0.50086653", "text": "private void addBindings() {\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_LEFT, \"left\", (action) -> controller.makeMove(new int[]{-1, 0}));\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_DOWN, \"down\", (action) -> controller.makeMove(new int[]{0, 1}));\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_RIGHT, \"right\", (action) -> controller.makeMove(new int[]{1, 0}));\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_UP, \"up\", (action) -> controller.makeMove(new int[]{0, -1}));\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_D, \"downStaircase\", (action) -> controller.useDownStaircase());\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_U, \"upStaircase\", (action) -> controller.useUpStaircase());\n\t\taddKeyBinding(lvlTextPane, KeyEvent.VK_P, \"pickUp\", (action) -> controller.pickUp());\n\n\t\tinvPanel.addBindingsToChildren();\n\t}", "title": "" }, { "docid": "0249f8a4039fd640afdccfbfaccb99da", "score": "0.5006261", "text": "private void createPanel(MainPanel newPanel) {\n if (newPanel == null) {\n return;\n }\n \n this.panels.put(newPanel.getTypeString(), newPanel);\n }", "title": "" }, { "docid": "7c7a7f32c747f9b3b07e91a94d3ed5d6", "score": "0.50004095", "text": "public JComponent createBottomPanel() {\n\t\tbuttons = new JButton[0];\n\t\tActionHandler actHand = new ActionHandler();\n\t//\tfields[PRODUCT_NAME].addActionListener(actHand);\n\t\treturn new ButtonAndMessagePanel(buttons, messageLabel, actHand);\n\t}", "title": "" }, { "docid": "0211f2a6b6f0fbc1368670abe48e5e40", "score": "0.4995141", "text": "private void setupKeypad() {\n\t View button;\n\t for (int viewId : mDisplayMap.keySet()) {\n\t // locate the view\n\t button = findViewById(viewId);\n\t // Setup the listeners for the buttons\n\t button.setOnTouchListener(this);\n\t button.setClickable(true);\n\t //button.setOnKeyListener(this);\n\t //button.setOnHoverListener(this);\n\t //button.setOnClickListener(this);\n\t }\n\t }", "title": "" }, { "docid": "ba56bb6ef955847a326e33c19b92d755", "score": "0.49902454", "text": "public StartPausePanel()\r\n\t{\r\n\t\tthis.startPausePanel = new JPanel();\r\n\t\t \r\n\t\tthis.startPausePanel.setBackground(Color.white);\r\n\t\tthis.start = new JButton(Constants.STARTPAUSEPANEL_START_BUTTON);\r\n\t\tthis.pause = new JButton(Constants.STARTPAUSEPANEL_PAUSE_BUTTON);\r\n\t\tthis.rebuild = new JButton(Constants.STARTPAUSEPANEL_REBUILD_BUTTON);\r\n\t\tthis.startPausePanel.setLayout(new GridLayout());\r\n\t \r\n\t\tthis.startPausePanel.add(this.start);\r\n\t\tthis.startPausePanel.add(this.pause);\r\n\t\tthis.startPausePanel.add(this.rebuild);\r\n/*\t\tthis.start.addActionListener(this.startPausePanelController);\r\n\t\tthis.pause.addActionListener(this.startPausePanelController);\r\n\t\tthis.rebuild.addActionListener(this.startPausePanelController);\r\n*/\t}", "title": "" }, { "docid": "698d06d502a1a94af55483f92cd39653", "score": "0.4984688", "text": "private void createPiano() {\n for (Map.Entry<KeyCode, OneKey> set : hashMapWithKeys.entrySet()) {\n if (set.getKey() != KeyCode.HOME) {\n groupPiano.getChildren().add(set.getValue().getMeshView());\n }\n }\n\n groupPiano.rotateByY(180);\n groupPiano.setCursor(Cursor.HAND);\n groupPiano.setOnMousePressed(groupOnMousePressedEventHandler);\n groupPiano.setOnMouseDragged(groupOnMouseDraggedEventHandler);\n groupPiano.getChildren().add(prepareLightSource());\n }", "title": "" }, { "docid": "ca450d3c8c7cfed17b43896ae8c3305e", "score": "0.49704304", "text": "public MyRSA() {\n\t\tsuper(\"RSA Encryption\");\n\n\t\tContainer container = getContentPane();\n\t\tcontainer.setLayout(new FlowLayout());\n\n\t\tmenu = new JComboBox(choices);\n\t\tmenu.addActionListener(new menuHandler());\n\n\t\tcontainer.add(menu);\n\t\tsetSize(500, 500);\n\t\tsetVisible(true);\n\t}", "title": "" }, { "docid": "f35cfb2fcc6b784258233e0718c387a2", "score": "0.4962863", "text": "@Override\n protected JMenu createMenu(String key) {\n if (key.equals(\"color\")) {\n return createColorMenu();\n }\n return super.createMenu(key);\n }", "title": "" }, { "docid": "4ad8a104819bdd13a32f1313da05724f", "score": "0.49611908", "text": "private void createUIComponents() {\n this.buyPanel = new JPanel();\n\n this.buyPanel.addFocusListener(new FocusListener() {\n @Override\n public void focusGained(FocusEvent focusEvent) {\n buyPanel.setLayout(new BorderLayout());\n buyItemComponent = new BuyItemComponent();\n buyPanel.add(buyItemComponent.buyItemPane, BorderLayout.CENTER);\n }\n @Override\n public void focusLost(FocusEvent focusEvent) {\n }\n });\n\n this.buyPanel.setLayout(new BorderLayout());\n buyItemComponent = new BuyItemComponent();\n this.buyPanel.add(buyItemComponent.buyItemPane, BorderLayout.CENTER);\n }", "title": "" }, { "docid": "1dbbc4c877ace3338647fef34adc6a5d", "score": "0.4955751", "text": "public GamePanel(GameFrame container) //added container argument to create a way to delete GameFrame after each game\r\n {\r\n this.container = container; //added to create a way to delete GameFrame after each game\r\n // Set the size of the Panel\r\n this.setSize(gameWidth, gameHeight);\r\n this.setPreferredSize(new Dimension(gameWidth, gameHeight));\r\n \r\n this.setBackground(Color.BLACK);\r\n \r\n // Register KeyboardController as KeyListener\r\n controller = new KeyboardController(); \r\n this.addKeyListener(controller); \r\n \r\n // Call setupGame to initialize fields\r\n this.setupGame(); \r\n \r\n this.setFocusable(true);\r\n this.requestFocusInWindow();\r\n }", "title": "" }, { "docid": "bf0910762ef8700c71e21346324cf03a", "score": "0.49494886", "text": "private JPanel createNewAccountPanel() {\n JPanel createAccountPanel = new JPanel();\n createAccountPanel.setBounds(0,0,frameWidth, frameHeight);\n createAccountPanel.setBackground(backgroundColor);\n\n JLabel createAccountHeader = createHeader(\"CREATE NEW ACCOUNT\");\n\n this.createUserName = userAccountTextBox(\"username\");\n this.createNewPassword = userAccountTextBox(\"password\");\n this.confirmPassword = userAccountTextBox(\"confirm your password\");\n\n this.createUserName.addActionListener(this);\n this.createNewPassword.addActionListener(this);\n this.confirmPassword.addActionListener(this);\n\n this.submitCreateUserButton = createButton(\"Save and Submit\", 300, 50);\n this.mainPageButton = createButton(\"Back to Main Page\", 300, 50);\n\n submitCreateUserButton.addActionListener(this);\n mainPageButton.addActionListener(this);\n\n createAccountPanel.add(Box.createVerticalStrut(75));\n createAccountPanel.add(createAccountHeader);\n createAccountPanel.add(Box.createVerticalStrut(150));\n createAccountPanel.add(createUserName);\n createAccountPanel.add(createNewPassword);\n createAccountPanel.add(confirmPassword);\n createAccountPanel.add(submitCreateUserButton);\n createAccountPanel.add(mainPageButton);\n\n return createAccountPanel;\n }", "title": "" }, { "docid": "8ebd809acac847de9b0174889beacfdf", "score": "0.49469757", "text": "private KeyHelper() {\n }", "title": "" }, { "docid": "86302d7c488ff7b829f8bd54ab075d2c", "score": "0.494355", "text": "private JMenuItem newSinglePlayerMenu() {\r\n return createNewItem(\"New Single Player Game\", KeyEvent.VK_N, new ActionListener() {\r\n /**\r\n * The action listener to create a new single player game\r\n * @param event The occurred event\r\n */\r\n public void actionPerformed(ActionEvent event) {\r\n newGame(GameContent.HUMAN_PLAYER_1, GameContent.AI_PLAYER_1_HARD, GameContent.SINGLEPLAYER);\r\n }\r\n });\r\n }", "title": "" }, { "docid": "a0b96f9a5de983db2ddb4b23674287e4", "score": "0.4943388", "text": "public KeyGenerator() {\n this.pn = new PrimeNumber();\n this.cg = new CyclicGroup();\n }", "title": "" }, { "docid": "a1dac9d752e8c0f5711dd151c2c6c484", "score": "0.49416435", "text": "public LevelBuilderGamePanel() {\r\n\t\tsetBounds(0, 0, 490, 490);\r\n\t\tsetLayout(null);\r\n\t\t\r\n\t\tfor(int i = 0; i < 9; i++) {\r\n\t\t\tfor(int j = 0; j <9; j++) {\r\n\t\t\t\tJToggleButton button = new JToggleButton();\r\n\t\t\t\tbutton.setBounds(i*55, j*55, 50, 50);\r\n\t\t\t\ttiles[i][j] = button;\r\n\t\t\t\tadd(tiles[i][j]);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5b9832c8c4ce21846dcf0b58dd568579", "score": "0.49393398", "text": "void addKeyListener(KeyListener listener);", "title": "" }, { "docid": "ab0c0327493408e8d5eecd25f047c465", "score": "0.493794", "text": "private void initKeys() {\n // You can map one or several inputs to one named action\n inputManager.addMapping(\"Left\", new KeyTrigger(KeyInput.KEY_A));\n inputManager.addMapping(\"Right\", new KeyTrigger(KeyInput.KEY_D));\n inputManager.addMapping(\"Up\", new KeyTrigger(KeyInput.KEY_W));\n inputManager.addMapping(\"Down\", new KeyTrigger(KeyInput.KEY_S));\n inputManager.addMapping(\"Rotate\", new KeyTrigger(KeyInput.KEY_SPACE),\n new MouseButtonTrigger(MouseInput.BUTTON_LEFT));\n // Add the names to the action listener.\n inputManager.addListener(analogListener, \"Left\", \"Right\", \"Up\", \"Down\");\n\n }", "title": "" }, { "docid": "141dff8db7f10ca36b99050e94f3cae3", "score": "0.49282452", "text": "private JMenuItem createNewItem(String text, int keyEvent, ActionListener listener) {\r\n JMenuItem result = new JMenuItem(text);\r\n if(keyEvent != KEYEVENT_NONE) {\r\n result.setMnemonic(keyEvent);\r\n }\r\n result.addActionListener(listener); \r\n return result;\r\n }", "title": "" }, { "docid": "ee2b230c1e34388446724c0e63ff1316", "score": "0.49281108", "text": "private void setUpComponents() {\n setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\n setBackground(Color.WHITE);\n setBorder(BorderFactory.createLineBorder(Color.BLACK));\n for (final String current : myFrame.getControls().keySet()) {\n final JLabel newLabel = new JLabel(current + \": %-10s\" \n + KeyEvent.getKeyText(myFrame.getControls().get(current)));\n myLabels.put(current, newLabel);\n add(newLabel);\n }\n }", "title": "" }, { "docid": "e4053f900ed2141c0c46d21ee5019efe", "score": "0.49233603", "text": "private JMenuItem createMenuItem(String title, String actionCommand, boolean enabled, char mnemonic, int accelorator )\n \t{\n \t\tJMenuItem item = new JMenuItem(title);\n\n \t\titem.setEnabled(enabled);\n\n \t\tif(actionCommand != null)\n \t\t\titem.setActionCommand(actionCommand);\n\n \t\titem.addActionListener(this);\n \t\tif (mnemonic != 0) {\n \t\t\titem.setMnemonic(mnemonic);\n \t\t\titem.setAccelerator(KeyStroke.getKeyStroke(\n \t\t\t\t\taccelorator, ActionEvent.CTRL_MASK));\n \t\t}\n \t\treturn item;\n \t}", "title": "" }, { "docid": "cc0b3156382e65ad098121bcfb9afd60", "score": "0.4915457", "text": "public GamePanel()\n {\n start();\n addKeyListener(new Key());\n setFocusable(true);\n timer = new Timer(3, new TListener());\n timer.start();\n Ltimer = new Timer(100, new LListener());\n Ltimer.start();\n }", "title": "" }, { "docid": "b333a604d8d177d7174353df07d7e3e8", "score": "0.49114466", "text": "private void initLeftPanel() {\n m_left_panel.add(new Button(\"Btnasd\"));\n }", "title": "" }, { "docid": "7be026a23d63d9bcfdcfe7ffda0a12c4", "score": "0.4911434", "text": "public KeysApi getKeysAPI() {\n synchronized (this) {\n if (keysApi == null) {\n keysApi = new KeysApi(this);\n }\n }\n return keysApi;\n }", "title": "" }, { "docid": "3376631f0387b4090482b491bf9e5cfb", "score": "0.490829", "text": "private ControlPanel() {\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setLayout(new GridLayout(2,3));\n\t\tpanel.setPreferredSize(new Dimension(1060,150));\n\t\tJPanel row1 = whoseTurnandButtons();\n\t\tJPanel row2 = rollandGuess();\n\t\tpanel.add(row1);\n\t\tpanel.add(row2);\n\t\tadd(panel);\n\t}", "title": "" }, { "docid": "a09dddcaccb3f2603023c42a2679a5a4", "score": "0.49070156", "text": "protected void addKeyPropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t getResourceLocator(),\n\t\t\t\t getString(\"_UI_NwkKey_Key_feature\"),\n\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_NwkKey_Key_feature\", \"_UI_NwkKey_type\"),\n\t\t\t\t ZPSConfigurationPackage.Literals.NWK_KEY__KEY,\n\t\t\t\t true,\n\t\t\t\t false,\n\t\t\t\t false,\n\t\t\t\t ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,\n\t\t\t\t null,\n\t\t\t\t null));\n\t}", "title": "" }, { "docid": "d63cbb7dbf8a73abac42741069b7b278", "score": "0.49051538", "text": "ControlsPanel() {\n\t\tsetWidth(\"100%\");\n\n\t\tpctrl.setMenuBarPanel(this);\n\n\t\tthis.setStylePrimaryName(\"ToolBar\");\n\n\t\tcontrols.setStylePrimaryName(\"ControlsBar\");\n\t\tcontrols.setVerticalAlignment(ALIGN_MIDDLE);\n\t\tcontrols.setBorderWidth(1);\n\t\tthis.add(controls);\n\t}", "title": "" }, { "docid": "a4055b380594278c89640b82628bba49", "score": "0.490512", "text": "private JPanel createVisualizerOptionsPanel() {\n\t final JPanel visualizerPanel = new JPanel();\n\t \n\t //Options for the JComboBox \n\t String[] choices = {\"Disabled\", \"Enabled\"};\n\t \n\t JLabel comboLabel = new JLabel(\" Visualizer:\");\n\t JComboBox comboBox = new JComboBox(choices);\n\t //JButton \n\t visualizerPanel.add(comboLabel);\n\t visualizerPanel.add(comboBox);\n\n\t comboLabel = new JLabel(\" Keyboard Input:\");\n\t comboBox = new JComboBox(choices);\n\t //JButton \n\t visualizerPanel.add(comboLabel);\n\t visualizerPanel.add(comboBox);\n\t \n\t \n\t \n\t \n\t return visualizerPanel;\n\t\t\n\t\t}", "title": "" }, { "docid": "32f6a2259a12592ed787e951c06902ec", "score": "0.49035832", "text": "private void createMainMenuWindow() {\n\t\tmainMenuWindow = new MainMenuWindow(new ActionListener() {\n\t\t\t@Override\n\t\t\t// Action for Login in\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\ttry {\n\t\t\t\t\tchessClient = new ChessClient(Settings.host, Settings.port, ClientPanelWindow.this);\n\t\t\t\t\tClientPanelWindow.this.createLoginWindow();\n\t\t\t\t\tClientPanelWindow.this.removeAll();\n\t\t\t\t\tClientPanelWindow.this.add(loginWindow);\n\t\t\t\t\tClientPanelWindow.this.revalidate();\n\t\t\t\t\tClientPanelWindow.this.repaint();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tmainMenuWindow.errorMessage(\"Could not connect to Server, please try again later.\");\n\t\t\t\t\tif (Settings.debug) e.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}, new ActionListener() {\n\t\t\t// Action for Register new player\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\ttry {\n\t\t\t\t\tchessClient = new ChessClient(Settings.host, Settings.port, ClientPanelWindow.this);\n\t\t\t\t\tClientPanelWindow.this.createRegisterWindow();\n\t\t\t\t\tClientPanelWindow.this.removeAll();\n\t\t\t\t\tClientPanelWindow.this.add(registerWindow);\n\t\t\t\t\tClientPanelWindow.this.revalidate();\n\t\t\t\t\tClientPanelWindow.this.repaint();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tmainMenuWindow.errorMessage(\"Could not connect to Server, please try again later.\");\n\t\t\t\t\tif (Settings.debug) e.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t}", "title": "" }, { "docid": "9fe5949165cb1f2378aaa7d3bc0df459", "score": "0.49016926", "text": "private void makeButtonPanel () {\n buttonPanel = new JPanel();\n buttonPanel.setLayout(new GridLayout(3, 1, 10, 10));\n startButton = new JButton(\"start new tournament\");\n startButton.setForeground(Color.green);\n startButton.addActionListener(this);\n nextButton = new JButton(\"play next level\");\n nextButton.setForeground(Color.yellow);\n nextButton.addActionListener(this);\n stopButton = new JButton(\"end tournament\");\n stopButton.setForeground(Color.red);\n stopButton.addActionListener(this);\n buttonPanel.add(startButton);\n buttonPanel.add(nextButton);\n buttonPanel.add(stopButton);\n }", "title": "" }, { "docid": "54efd6874cb0aea61ee9677c9d9ad895", "score": "0.49013698", "text": "public GamePanel() {\r\n\t\tgetContentPane().setLayout(null);\r\n\t\t\r\n\r\n\t\t\r\n\t\ttextField = new JTextField(24);\r\n\t\ttextField.setEditable(false);\r\n\t\ttextField.setHorizontalAlignment(SwingConstants.RIGHT);\r\n\t\ttextField.setBounds(130, 78, 240, 20);\r\n\t\tgetContentPane().add(textField);\r\n\t\ttextField.setColumns(10);\r\n\t\t\r\n\t\ttextField_1 = new JTextField(3);\r\n\t\ttextField_1.setHorizontalAlignment(SwingConstants.RIGHT);\r\n\t\ttextField_1.setEditable(false);\r\n\t\ttextField_1.setBounds(340, 106, 30, 20);\r\n\t\tgetContentPane().add(textField_1);\r\n\t\ttextField_1.setColumns(10);\r\n\t\t\r\n\t\t\r\n\t\t//BUTTONS\r\n\t\tJButton btnNewButton = new JButton(\"A\");\r\n\t\tbtnNewButton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('A');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnNewButton.setBounds(10, 137, 56, 23);\r\n\t\tgetContentPane().add(btnNewButton);\r\n\t\t\r\n\t\tJButton btnH = new JButton(\"H\");\r\n\t\tbtnH.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('H');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnH.setBounds(10, 171, 56, 23);\r\n\t\tgetContentPane().add(btnH);\r\n\t\t\r\n\t\tJButton btnO = new JButton(\"O\");\r\n\t\tbtnO.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('O');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnO.setBounds(10, 205, 56, 23);\r\n\t\tgetContentPane().add(btnO);\r\n\t\t\r\n\t\tJButton btnV = new JButton(\"V\");\r\n\t\tbtnV.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('V');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnV.setBounds(10, 239, 56, 23);\r\n\t\tgetContentPane().add(btnV);\r\n\t\t\r\n\t\tJButton btnB = new JButton(\"B\");\r\n\t\tbtnB.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('B');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnB.setBounds(76, 137, 56, 23);\r\n\t\tgetContentPane().add(btnB);\r\n\t\t\r\n\t\tJButton btnI = new JButton(\"I\");\r\n\t\tbtnI.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('I');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnI.setBounds(76, 171, 56, 23);\r\n\t\tgetContentPane().add(btnI);\r\n\t\t\r\n\t\tJButton btnP = new JButton(\"P\");\r\n\t\tbtnP.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('P');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnP.setBounds(76, 205, 56, 23);\r\n\t\tgetContentPane().add(btnP);\r\n\t\t\r\n\t\tJButton btnW = new JButton(\"W\");\r\n\t\tbtnW.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('W');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnW.setBounds(76, 239, 56, 23);\r\n\t\tgetContentPane().add(btnW);\r\n\t\t\r\n\t\tJButton btnC = new JButton(\"C\");\r\n\t\tbtnC.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('C');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnC.setBounds(142, 137, 56, 23);\r\n\t\tgetContentPane().add(btnC);\r\n\t\t\r\n\t\tJButton btnJ = new JButton(\"J\");\r\n\t\tbtnJ.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('J');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnJ.setBounds(142, 171, 56, 23);\r\n\t\tgetContentPane().add(btnJ);\r\n\t\t\r\n\t\tJButton btnQ = new JButton(\"Q\");\r\n\t\tbtnQ.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('Q');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnQ.setBounds(142, 205, 56, 23);\r\n\t\tgetContentPane().add(btnQ);\r\n\t\t\r\n\t\tJButton btnX = new JButton(\"X\");\r\n\t\tbtnX.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('X');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnX.setBounds(142, 239, 56, 23);\r\n\t\tgetContentPane().add(btnX);\r\n\t\t\r\n\t\tJButton btnD = new JButton(\"D\");\r\n\t\tbtnD.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('D');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnD.setBounds(208, 137, 56, 23);\r\n\t\tgetContentPane().add(btnD);\r\n\t\t\r\n\t\tJButton btnK = new JButton(\"K\");\r\n\t\tbtnK.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('K');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnK.setBounds(208, 171, 56, 23);\r\n\t\tgetContentPane().add(btnK);\r\n\t\t\r\n\t\tJButton btnR = new JButton(\"R\");\r\n\t\tbtnR.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('R');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnR.setBounds(208, 205, 56, 23);\r\n\t\tgetContentPane().add(btnR);\r\n\t\t\r\n\t\tJButton btnY = new JButton(\"Y\");\r\n\t\tbtnY.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('Y');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnY.setBounds(208, 239, 56, 23);\r\n\t\tgetContentPane().add(btnY);\r\n\t\t\r\n\t\tJButton btnE = new JButton(\"E\");\r\n\t\tbtnE.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('E');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnE.setBounds(274, 137, 56, 23);\r\n\t\tgetContentPane().add(btnE);\r\n\t\t\r\n\t\tJButton btnL = new JButton(\"L\");\r\n\t\tbtnL.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('L');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnL.setBounds(274, 171, 56, 23);\r\n\t\tgetContentPane().add(btnL);\r\n\t\t\r\n\t\tJButton btnS = new JButton(\"S\");\r\n\t\tbtnS.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tcheckLetter('S');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnS.setBounds(274, 205, 56, 23);\r\n\t\tgetContentPane().add(btnS);\r\n\t\t\r\n\t\tJButton btnZ = new JButton(\"Z\");\r\n\t\tbtnZ.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('Z');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnZ.setBounds(274, 239, 56, 23);\r\n\t\tgetContentPane().add(btnZ);\r\n\t\t\r\n\t\tJButton btnF = new JButton(\"F\");\r\n\t\tbtnF.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('F');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnF.setBounds(340, 137, 56, 23);\r\n\t\tgetContentPane().add(btnF);\r\n\t\t\r\n\t\tJButton btnM = new JButton(\"M\");\r\n\t\tbtnM.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('M');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnM.setBounds(340, 171, 56, 23);\r\n\t\tgetContentPane().add(btnM);\r\n\t\t\r\n\t\tJButton btnT = new JButton(\"T\");\r\n\t\tbtnT.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('T');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnT.setBounds(340, 205, 56, 23);\r\n\t\tgetContentPane().add(btnT);\r\n\t\t\r\n\t\tJButton btnG = new JButton(\"G\");\r\n\t\tbtnG.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('G');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnG.setBounds(406, 137, 56, 23);\r\n\t\tgetContentPane().add(btnG);\r\n\t\t\r\n\t\tJButton btnN = new JButton(\"N\");\r\n\t\tbtnN.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('N');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnN.setBounds(406, 171, 56, 23);\r\n\t\tgetContentPane().add(btnN);\r\n\t\t\r\n\t\tJButton btnU = new JButton(\"U\");\r\n\t\tbtnU.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcheckLetter('U');\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnU.setBounds(406, 205, 56, 23);\r\n\t\tgetContentPane().add(btnU);\r\n\t\t\r\n\t\t\r\n\t\tJButton btnStart = new JButton(\"START\");\r\n\t\tbtnStart.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tlives = 8;\r\n\t\t\t\tsetWord();\r\n\t\t\t\tshowAsterisks();\r\n\t\t\t\tshowLives();\r\n\t\t\t\tanswerPressed = false;\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnStart.setBounds(274, 266, 80, 23);\r\n\t\tgetContentPane().add(btnStart);\r\n\t\t\r\n\t\t\r\n\t\tJButton btnAnswer = new JButton(\"ANSWER\");\r\n\t\tbtnAnswer.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tshowAnswer();\r\n\t\t\t\ttextField_1.setText(\"\");\r\n\t\t\t\tlives = 0;\r\n\t\t\t\tanswerPressed = true;\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnAnswer.setBounds(364, 266, 98, 23);\r\n\t\tgetContentPane().add(btnAnswer);\r\n\t\t\r\n\t\tJLabel lblGuessTheWord = new JLabel(\"GUESS THE WORD\");\r\n\t\tlblGuessTheWord.setForeground(Color.RED);\r\n\t\tlblGuessTheWord.setBounds(208, 60, 110, 14);\r\n\t\tgetContentPane().add(lblGuessTheWord);\r\n\t\t\r\n\t\tJLabel lblLivesRemaining = new JLabel(\"GUESSES REMAINING\");\r\n\t\tlblLivesRemaining.setForeground(Color.RED);\r\n\t\tlblLivesRemaining.setBounds(208, 109, 135, 14);\r\n\t\tgetContentPane().add(lblLivesRemaining);\r\n\t}", "title": "" }, { "docid": "e7402655fe027bf9313916a052010f26", "score": "0.48949242", "text": "private void addKey(){\n\t\t\tfill(255, 250, 240);\n\t\t\trect(25, 50, 150, 250);\n\t\t\t\n\t\t\tfill(0);\n\t\t\ttextAlign(LEFT, CENTER);\n\t\t\ttextSize(12);\n\t\t\ttext(\"Earthquake Key\", 50, 75);\n\t\t\t\n\t\t\tfill(color(255, 0, 0));\n\t\t\tellipse(50, 125, 15, 15);\n\t\t\tfill(color(255, 255, 0));\n\t\t\tellipse(50, 175, 10, 10);\n\t\t\tfill(color(0, 0, 255));\n\t\t\tellipse(50, 225, 5, 5);\n\t\t\t\n\t\t\tfill(0, 0, 0);\n\t\t\ttext(\"5.0+ Magnitude\", 75, 125);\n\t\t\ttext(\"4.0+ Magnitude\", 75, 175);\n\t\t\ttext(\"Below 4.0\", 75, 225);\n\n}", "title": "" }, { "docid": "0b7ff83fd0a999b66f418ed542f10635", "score": "0.4889734", "text": "public GameWindow(KeyListener kl) {\r\n //Sets things up through its parent class\r\n super(\"Picross\");\r\n loadFromPrefs();\r\n //An ugly but working method for key handling. Ew.\r\n frame.setKeyHandler(kl); //TODO a really good solution for key handling that makes everything look pretty\r\n //Maximizes the frame on screen.\r\n frame.setExtendedState(Frame.MAXIMIZED_BOTH);\r\n //Times the color changing on the background.\r\n Timer bgTimer = new Timer();\r\n //This thread doesn't need to be monitored or stopped until the program is quit.\r\n new Thread(bgTimer).start();\r\n //Starts the timer. Duh.\r\n bgTimer.start();\r\n //This background will choose random colors and shift between them smoothly every 10 seconds.\r\n background = new Background(128, bgTimer, 10000);\r\n //Initialize the element organizer.\r\n elements_by_window = new ElementList();\r\n //Initialize all ButtonElements that appear in the game. Period.\r\n initButtons();\r\n //Sets the time to pause between frames. This will never actually reach MAX_FPS, but we can dream.\r\n setFrameSleepInterval((short) ((double) 1000 / MAX_FPS));\r\n //This tells elements_by_window to show the Elements of the MAIN window, while also calling Window.MAIN's draw function (see: drawActions)\r\n pushWindow(Window.MAIN);\r\n }", "title": "" }, { "docid": "007e51df08ea0f529c1027f4452e2b5e", "score": "0.4888769", "text": "private JPanel createMainMenu() {\n \tJPanel mainMenuList = new JPanel(); // Stores the list of buttons that appear on the mainMenu Panel\n \t \n \t//Create list of options for the main menu\n \tmainMenuList.setLayout(new GridBagLayout());\n \tmainMenuList.setBorder(new EmptyBorder(200,0,0,0));\n \t \n \t//Create buttons\n \tJButton newGame = new JButton(\"New Game\", new ImageIcon(\"Images/noIcon.png\")); \n \tJButton help = new JButton (\" \tHelp \t\", new ImageIcon(\"Images/noIcon.png\"));\n \tJButton settings = new JButton(\"Board Size\", new ImageIcon(\"Images/noIcon.png\"));\n \tJButton quit = new JButton(\" \tQuit\", new ImageIcon(\"Images/noIcon.png\"));\n \t \n \t//Theme the buttons\n \tthemeButton(newGame);\n \tthemeButton(help);\n \tthemeButton(settings);\n \tthemeButton(quit);\n \t \n \t// Create a constraint to layout the buttons.\n \t// 'gridx' = column, 'gridy' = row\n \t// 'fill' means make buttons same width\n \t// 'insets' = the distance between the buttons.\n \tGridBagConstraints gbc = new GridBagConstraints();\n \tgbc.gridx = 0;\n \tgbc.gridy = 0;\n \tgbc.fill = GridBagConstraints.HORIZONTAL;\n \tgbc.insets = new Insets(20, 20, 20, 20);\n \tmainMenuList.add(newGame, gbc);\n \t \n \tgbc.gridx = 1;\n \tgbc.gridy = 0;\n \tmainMenuList.add(help, gbc);\n \t \n \tgbc.gridx = 0;\n \tgbc.gridy = 1;\n \tmainMenuList.add(settings, gbc);\n \t \n \tgbc.gridx = 1;\n \tgbc.gridy = 1;\n \tmainMenuList.add(quit, gbc);\n \t \n \tnewGame.addActionListener(new ActionListener() { \t \n \t@Override\n \tpublic void actionPerformed(ActionEvent e) {\n \tmainMenu.removeAll();\n \tJPanel setDifficulty = createNewGamePanel();\n \n \tsetDifficulty.setOpaque(false);\n \tsetDifficulty.validate();\n \n \tmainMenu.add(setDifficulty);\n \tmainMenu.add(bgPanel);\n \t \n \tmainMenu.validate();\n \tmainMenu.repaint();\n \t}\n \t});\n \t \n \n \thelp.addActionListener(new ActionListener() {\n \t \n \t@Override\n \tpublic void actionPerformed(ActionEvent e) {\n \tmainMenu.removeAll();\n \tJPanel helpPanel = createHelpPanel();\n \n \thelpPanel.setOpaque(false);\n \thelpPanel.validate();\n \n \tmainMenu.add(helpPanel);\n \tmainMenu.add(bgPanel);\n \t \n \tmainMenu.validate();\n \tmainMenu.repaint();\n \t}\n \t});\n \t \n \tsettings.addActionListener(new ActionListener() {\n \t \n \t@Override\n \tpublic void actionPerformed(ActionEvent e) {\n \tmainMenu.removeAll();\n \tJPanel settingsPanel = createSettingsPanel();\n \n \tsettingsPanel.setOpaque(false);\n \tsettingsPanel.validate();\n \n \tmainMenu.add(settingsPanel);\n \tmainMenu.add(bgPanel);\n \t \n \tmainMenu.validate();\n \tmainMenu.repaint();\n \t}\n \t});\n \t \n \t \n \tquit.addActionListener(new ActionListener() {\n \t@Override\n \tpublic void actionPerformed(ActionEvent e) {\n \tSystem.exit(0);\n \t \n \t}\n \t});\n \t \n \treturn mainMenuList;\n\t}", "title": "" } ]
6a29fab393084170a7551cf65ea85344
This method was generated by MyBatis Generator. This method corresponds to the database table p_job
[ { "docid": "684046e75b26869af6002c75c7c9204b", "score": "0.0", "text": "public JobExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" } ]
[ { "docid": "1280960e92b0cdc082da5346bf32c9f3", "score": "0.65571404", "text": "public jobTable(){}", "title": "" }, { "docid": "80095537f7040fa9efbac98f8d85b7a5", "score": "0.61894375", "text": "public int getJOBjobID(){\n return this.jobID;\n }", "title": "" }, { "docid": "d85aa2ecc5da234bc1922c8dc36760d5", "score": "0.6108024", "text": "@Override\r\n\tpublic List<congviec> listJob() {\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\tTransaction tran = session.beginTransaction();\r\n\t\tList<congviec> l = session.createQuery(\"from congviec\").list();\r\n\t\ttran.commit();\r\n\t\treturn l;\r\n\t}", "title": "" }, { "docid": "da7e559017ffb30cd1bb301c6bfa283b", "score": "0.60905296", "text": "public List<Job> getAllJobInfo() {\n try (Session session = DAOUtils.getSessionFactory().openSession()) {\n CriteriaQuery<Job> criteria = session.getCriteriaBuilder().createQuery(Job.class);\n Root<Job> jobTbl = criteria.from(Job.class);\n criteria.select(jobTbl);\n List<Job> jobs = session.createQuery(criteria).getResultList();\n return jobs;\n } catch (Throwable e) {\n throw new IllegalArgumentException(e);\n }\n }", "title": "" }, { "docid": "4ece2f20fd68258d830d4394dad7b93e", "score": "0.600812", "text": "public void setJOBjobID(int _jobID){\n this.jobID = _jobID;\n }", "title": "" }, { "docid": "343b6fdf839491b30de80dc5929945e5", "score": "0.59537727", "text": "@Override\r\n\tpublic List<JobBo> getjoblist() throws Exception {\n\t\tlog.info(\"START\");\r\n\t\tSession session = null;\r\n\t\tList<JobBo> lstboo = null;\r\n\t\ttry{\r\n\t\t\tsession = getSessionFactory().openSession();\r\n\t\t\tQuery query= session.createQuery(\"from JobBo\");\r\n\t\t\tlstboo = query.list();\r\n\t\t\t\r\n\t\t\t\r\n\t\t}catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tlog.info(\"END\");\r\n\t\t\tsession.close();\r\n\t\t}\r\n\t\treturn lstboo;\r\n\t}", "title": "" }, { "docid": "09d97fbfba91748243e3485d20a2fbfe", "score": "0.59337026", "text": "@Override\r\n\tpublic List<StudentJobSkillbo> getstudentfromjjob(String job_id) throws Exception {\n\t\tSession session = null;\r\n\t\tList<StudentJobSkillbo> info=null;\r\n\t\tList<SkillBo> list1=null;\r\n\t\ttry{\r\n\t\t\tsession = getSessionFactory().openSession();\r\n\t\t\tQuery query= null;\r\n\t\t\tString sql =\" select j.student_id as student_id,string_agg(sk.skill_name,', ') as skill_name from student_job_master j,student_skill s,skill sk where j.student_id=s.student_id and s.skill_name=sk.skill_id and j.job_id='\"+job_id+\"' group by j.student_id\";\r\n\t\t\tquery = session.createSQLQuery(sql).setResultTransformer(Transformers.aliasToBean(StudentJobSkillbo.class));\r\n\t\t\tinfo = query.list();\r\n\t\t\t\r\n\t\t\t/*if(info.size() > 0)\r\n\t\t\t{\r\n\t\t\tString s = \"\";\r\n\t\t\tfor(int z=0;z<info.size();z++)\r\n\t\t\t{\r\n\t\t\t\t// list=(List<Student_Job_mapping>) list.get(z);\r\n\t\t\t\ts = s + \"'\"+info.get(z).getJ+\"', \";\r\n//\t\t\t\tstudent_id=list.get(z).getStudent_id();\r\n\t\t\t}\r\n\t\t\ts = s.substring(0, s.length()-2);\r\n\t\t\tSystem.out.println(s);\r\n\t\t\tQuery query1=session.createQuery(\"From JobBo where job_id IN (\"+s+\")\");\r\n\t\t\tList<JobBo> job=null;\r\n\t\t\t Query query1=null;\r\n\t\t\tfor(int z=0;z<list.size();z++)\r\n\t\t\t{\r\n\t\t\t\t// list=(List<Student_Job_mapping>) list.get(z);\r\n\t\t\t\t job_id=list.get(z).getJob_id();\r\n\t\t\t\t query1=session.createQuery(\"From JobBo where job_id IN ('\"+job_id+\"')\");\r\n\t\t\t\t list1=query1.list();\r\n\t\t\t}\r\n\t\t\t//Query query1=session.createQuery(\"From JobBo where job_id IN ('\"+job_id+\"')\");\r\n\t\t\t list1=query1.list();\r\n\t\t\t}\r\n\t\t\tString[] s;\r\n\t\t\tint j=0;\r\n\t\t\tString s1=\"\";\r\n\t\t\tQuery query1=null;\r\n\t\t\tfor(int i=0;i<info.size();i++)\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t s=info.get(i).getSkill_name().split(\",\");\r\n\t\t \t\tfor(j=0;j<=s.length;j++)\r\n{\r\n\t\t \t\t\t query1=session.createQuery(\"From SkillBo where skill_id IN (\"+s[j]+\")\");\r\n\t\t \t\t\tlist1=query1.list();\r\n\t\t \t\t\r\n\t\t\t\t\t\r\n}\r\n}\r\n\t\t\t\r\n\t\t\tSystem.out.println(s1);*/\r\n\t\t\t\r\n\t\t}catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tfinally{\r\n\t\tlog.info(\"END\");\r\n\t\t\tsession.close();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn info;\r\n\t}", "title": "" }, { "docid": "dbd5d393be742a547fb63e32e5e2d992", "score": "0.591817", "text": "@Override\n\tpublic long getJobId() {\n\t\treturn _job_Application_Records.getJobId();\n\t}", "title": "" }, { "docid": "2055ea303aac397737cc0a5e1e34e71f", "score": "0.5910455", "text": "public Long getJobid() {\n return jobid;\n }", "title": "" }, { "docid": "835f2c8888edebb6c32f337428c828d0", "score": "0.5905579", "text": "public List<Job> getAllJobs() {\n\t\tSessionFactory sf = emf.unwrap(SessionFactory.class);\n\n\t\ttry (Session session = sf.openSession()) {\n\t\t\tCriteriaBuilder cb = session.getCriteriaBuilder();\n\t\t\tCriteriaQuery<Job> criteria = cb.createQuery(Job.class);\n\t\t\tRoot<Job> root = criteria.from(Job.class);\n\t\t\t// System.out.println(id);\n\t\t\tcriteria.select(root);\n\t\t\tQuery<Job> query = session.createQuery(criteria); \n\t\t\treturn query.getResultList();\n\t\t}\n\t}", "title": "" }, { "docid": "c7d7e33ab5b05ecf0eadfab04030afc0", "score": "0.5905074", "text": "@RegisterMapper(JobMapper.class)\npublic interface JobDAO {\n\n @SqlQuery(\" select * from job_info where id = :id \")\n Job findJobById(@Bind(\"id\") int id);\n\n @SqlQuery(\" select * from job_info where is_load = 0 and is_enable = 1\")\n List<Job> listJobInfoByLoadType();\n\n @SqlQuery(\" select * from job_info where is_enable = 1\")\n List<Job> listJobInfo();\n\n @SqlQuery(\" select * from job_info where job_name = :jobName \")\n List<Job> listJobByName(@Bind(\"jobName\") String jobName);\n\n @SqlQuery(\" select * from job_info where job_id = :jobId and job_name = :jobName \")\n Job getJobByIdAndName(@Bind(\"jobId\") String jobId, @Bind(\"jobName\") String jobName);\n\n @SqlBatch(\" update job_info set is_load = 1 where id in ( :id ) \")\n void updateJob2Load(@Bind(\"id\") List<Integer> ids);\n\n @SqlBatch(\" update job_info set is_load = 1 where id = :id \")\n @BatchChunkSize(100)\n void updateJob2LoadBean(@BindBean List<Job> jobList);\n\n @SqlUpdate(\" insert into job_info (job_id,job_name,level,cron,url,is_load,platform,account) values (:jobId,:jobName,:level,:cron,:url,0,:platform,:account) \")\n Integer addJobInfo(@BindBean Job job);\n\n @SqlUpdate(\" update job_info set level=:level,cron=:cron,url=:url,is_load=0,platform=:platform,account=:platform where job_id=:jobId and job_name=:jobName \")\n Integer updateJobInfo(@BindBean Job job);\n\n @SqlUpdate(\" delete from job_info where job_id = :jobId and job_name = :jobName \")\n Integer delJobInfo(@Bind(\"jobId\") String jobId, @Bind(\"jobName\") String jobName);\n\n}", "title": "" }, { "docid": "8deff1f3a035d4b7249a63efd1bd55d8", "score": "0.5879397", "text": "public Integer getJobid() {\r\n return jobid;\r\n }", "title": "" }, { "docid": "53b75e26e55d5d7e159c3b8d32b6b48a", "score": "0.5821423", "text": "public List<Job> getAllJobs() {\n\t\tSystem.out.println(\"I am in Service Layer\" + jobDaoImpl);\r\n\t\treturn jobDaoImpl.findAllJobs();\r\n\t}", "title": "" }, { "docid": "ae87d8302cadc0c789a700691a139629", "score": "0.5816302", "text": "public interface JobService {\r\n\t/*public boolean preJobProcessing(Job j);\r\n\tpublic boolean postJobProcessing(Job j)\t;\r\n\tpublic boolean preProcessing(Job j, String strTicker);\r\n\tpublic void postProcessExchRate();\r\n\tpublic boolean preNoDataCheck(String strDataSet) ;\r\n\tpublic void preJobProcessTableXrateorg() throws GenericException;\r\n\tpublic ArrayList<String []> postProcessing(ArrayList<String []> tabledata , Job inputJob) throws SkipLoadException,CustomEmptyStringException;*/\r\n\tpublic Job getJobByDataSet(String dataSet) throws GenericException;\r\n}", "title": "" }, { "docid": "21c65d6ff4b923cd8287bd832a972e4e", "score": "0.5815052", "text": "public void setJobid(Integer jobid) {\r\n this.jobid = jobid;\r\n }", "title": "" }, { "docid": "910220f092c95ea7b9ecdc379450714d", "score": "0.57975394", "text": "public Job getJob() {\n \t\treturn job;\n \t}", "title": "" }, { "docid": "e46349f50551199009d50c196eb8d6c4", "score": "0.579622", "text": "public Job() {\n this.id = 0;\n this.active = false;\n this.dateCreated = LocalDate.now();\n this.title = \"\";\n this.city = \"\";\n this.state = \"\";\n this.fullTime = false;\n this.department = \"\";\n this.experience = \"\";\n this.wageCategory = \"\";\n this.salary = 0;\n this.jobDescription = \"\";\n }", "title": "" }, { "docid": "593d4a986bc8862dcb783fbf3262785d", "score": "0.5777552", "text": "public List<Job> getAllJobs() {\n\t\treturn entityManager.createQuery(\"from Job\", Job.class).getResultList();\n\t}", "title": "" }, { "docid": "381ec1687df49f97e9e7217e9c8e1563", "score": "0.5759577", "text": "protected String getHarvestingJobTableName() {\n return getRequestContext().getCatalogConfiguration().\n getHarvestingJobsPendingTableName();\n }", "title": "" }, { "docid": "54750590b8780dae036076793e447c80", "score": "0.5757852", "text": "public String getJob() {\r\n return job;\r\n }", "title": "" }, { "docid": "703749da055f68a26b91e58737e9e9a1", "score": "0.5755965", "text": "public Job getJobById(int jobId);", "title": "" }, { "docid": "b0351806c407222cf6c6bb047baee70b", "score": "0.57155097", "text": "public String getJobId() {\n return this.jobId;\n }", "title": "" }, { "docid": "b0351806c407222cf6c6bb047baee70b", "score": "0.57155097", "text": "public String getJobId() {\n return this.jobId;\n }", "title": "" }, { "docid": "2bb04ca8a410abfb1351d57193537073", "score": "0.56927884", "text": "public JobID getJobID() {\n return jobid;\n }", "title": "" }, { "docid": "fb0947f409a94187921bb85fe7f883f9", "score": "0.5674", "text": "public void setJobid(String v);", "title": "" }, { "docid": "20f8956299dfb391cb404e4aa436fdc4", "score": "0.56483227", "text": "public String getJobName();", "title": "" }, { "docid": "586249475c520c3d9d6bafc20f489590", "score": "0.56340814", "text": "public interface JobDomain {\n /**\n * 新建job\n * @param jobPO\n * @return jobId\n */\n Integer addJob(JobPO jobPO);\n\n /**\n * 查询Job信息\n * @param id\n * @return\n */\n JobPO getJobById(Integer id);\n\n /**\n * 删除Job\n * @param id jobId\n */\n void deleteJobById(Integer id);\n\n /**\n * 更改Job状态\n * @param id\n * @param status TRUE=启用 FALSE=暂停\n */\n void changeStatus(Integer id, Boolean status);\n\n void updateJob(JobPO jobPO);\n\n List<JobPO> queryJobList(String tenantId, String jobOwner, Page page);\n\n List<String> getJobNameByOwner(String tenantId, String jobOwner);\n\n JobPO getJobInfo(String jobName, String appName);\n\n /**\n * 根据应用名获取已暂停的任务列表\n * @param appName\n * @return\n */\n List<JobPO> getJobListByAppName(String appName);\n\n}", "title": "" }, { "docid": "3527401c978dd2f042b0ca195a02cd2a", "score": "0.56281626", "text": "@Override\r\n\tpublic List<JobBo> getstudentjoblist(int student_id)\r\n\t\t\tthrows Exception {\n\t\tlog.info(\"START\");\r\n\t\tSession session = null;\r\n\t\tList<Student_Job_mapping> list = null;\r\n\t\tList<JobBo> list1=null;\r\n\t\ttry{\r\n\t\t\tsession = getSessionFactory().openSession();\r\n\t\t\tQuery query= session.createQuery(\"From Student_Job_mapping where student_id='\"+student_id+\"'\");\r\n\t\t\tlist = query.list();\r\n\t\t\tint job_id= 0;\r\n\t\t\tif(list.size() > 0)\r\n\t\t\t{\r\n\t\t\tString s = \"\";\r\n\t\t\tfor(int z=0;z<list.size();z++)\r\n\t\t\t{\r\n\t\t\t\t// list=(List<Student_Job_mapping>) list.get(z);\r\n\t\t\t\ts = s + \"'\"+list.get(z).getJob_id()+\"', \";\r\n//\t\t\t\tstudent_id=list.get(z).getStudent_id();\r\n\t\t\t}\r\n\t\t\ts = s.substring(0, s.length()-2);\r\n\t\t\tSystem.out.println(s);\r\n\t\t\tQuery query1=session.createQuery(\"From JobBo where job_id IN (\"+s+\")\");\r\n\t\t\t/*List<JobBo> job=null;\r\n\t\t\t Query query1=null;\r\n\t\t\tfor(int z=0;z<list.size();z++)\r\n\t\t\t{\r\n\t\t\t\t// list=(List<Student_Job_mapping>) list.get(z);\r\n\t\t\t\t job_id=list.get(z).getJob_id();\r\n\t\t\t\t query1=session.createQuery(\"From JobBo where job_id IN ('\"+job_id+\"')\");\r\n\t\t\t\t list1=query1.list();\r\n\t\t\t}*/\r\n\t\t\t//Query query1=session.createQuery(\"From JobBo where job_id IN ('\"+job_id+\"')\");\r\n\t\t\t list1=query1.list();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(Exception e){\r\n\t\t\tlog.error(\"ERROR OCCURED\");\r\n\t\t\tlog.error(e.getMessage(), e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tlog.info(\"END\");\r\n\t\t\tsession.close();\r\n\t\t}\r\n\t\treturn list1;\r\n\t\t}", "title": "" }, { "docid": "17c1d64206d52446afd7cc8752c5811e", "score": "0.5604699", "text": "public void setJobid(Long jobid) {\n this.jobid = jobid;\n }", "title": "" }, { "docid": "748be80b0eb3c4d0e51b99340d7666a1", "score": "0.5574428", "text": "public JobApplicationStatusBeisen_20170612Dao() {\n super(JobApplicationStatusBeisen_20170612.JOB_APPLICATION_STATUS_BEISEN_20170612, com.moseeker.baseorm.db.historydb.tables.pojos.JobApplicationStatusBeisen_20170612.class);\n }", "title": "" }, { "docid": "7a4789719973e9ed4fb85d3b97c562bc", "score": "0.5571617", "text": "public ArrayList<DepartmentEntity> readAllJob() {\n String _select = \" SELECT job_Code,JOB_NAME FROM hr_lu_job_type order by CAST (job_code as number)\";\n\n ArrayList<DepartmentEntity> readJobFrDb = new ArrayList<DepartmentEntity>();\n try {\n _con = getConnection();\n _ps = _con.prepareStatement(_select);\n _rs = (ResultSet) _ps.executeQuery();\n OracleCachedRowSet ocrs = new OracleCachedRowSet();\n ocrs.populate(_rs);\n while (ocrs.next()) {\n this.code = ocrs.getString(\"job_Code\");\n this.description = ocrs.getString(\"JOB_NAME\");\n DepartmentEntity departmentEntity = new DepartmentEntity(code, description);\n readJobFrDb.add(departmentEntity);\n }\n _rs.close();\n _ps.close();\n\n return readJobFrDb;\n } catch (Exception ex) {\n ex.printStackTrace();\n ErrorLogWriter.writeError(ex);\n return null;\n } finally {\n try {\n releaseResources();\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n }\n\n\n\n }", "title": "" }, { "docid": "815276705279bf1246db0ed567f3bb0f", "score": "0.55635947", "text": "public void setJob(com.vmware.converter.ManagedObjectReference job) {\r\n this.job = job;\r\n }", "title": "" }, { "docid": "06a9a4a055aa439db412eda3f5c822fa", "score": "0.55474067", "text": "@Override\r\n\tpublic List<JobBo> getjoblistfromcompany(String company_id) throws Exception {\n\t\tlog.info(\"START\");\r\n\t\tSession session = null;\r\n\t\tList<JobBo> list1=null;\r\n\t\ttry{\r\n\t\t\tsession = getSessionFactory().openSession();\r\n\t\t\tQuery query= session.createQuery(\"From JobBo where company_id=?\");\r\n\t\t\tquery.setParameter(0, Integer.parseInt(company_id));\r\n\t\t\tSystem.out.println(query);\r\n\t\t\tlist1=query.list();\r\n\t\t}catch(Exception e){\r\n\t\t\tlog.error(\"ERROR OCCURED\");\r\n\t\t\tlog.error(e.getMessage(), e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tlog.info(\"END\");\r\n\t\t\tsession.close();\r\n\t\t}\r\n\t\treturn list1;\t}", "title": "" }, { "docid": "7677eb2bd4ea07a05762a1cb2fa34882", "score": "0.55413663", "text": "public Job getJobByDataSet(String dataSet) throws GenericException;", "title": "" }, { "docid": "7c0c64fc02026ac097f0ff8e3700587a", "score": "0.5522163", "text": "@Override\n\tpublic void setJobId(long JobId) {\n\t\t_job_Application_Records.setJobId(JobId);\n\t}", "title": "" }, { "docid": "e689386420a88db80eb8dd9119429f3a", "score": "0.5499378", "text": "public ArrayList<Job> getJobs(Connection con) {\n\t\tArrayList<Job> jobList = new ArrayList<Job>();\n\t\t\n\t\ttry {\n\t\tPreparedStatement stmt = con.prepareStatement(\"SELECT * FROM TransformDatabase.job\");\n\t\tResultSet rs = stmt.executeQuery();\n\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tJob j = new Job();\n\t\t\t\tj.setResourceID(rs.getString(\"resourceID\"));\n\t\t\t\tj.setLocation(rs.getString(\"location\"));\n\t\t\t\tString resCreationDate = (rs.getString(\"resourceCreationDate\"));\n\t\t\t\tj.setResourceCreationDate(new TransformRequestValidator().setXMLGregorianCalendarFromString(resCreationDate));\n\t\t\t\tString stat = (rs.getString(\"status\"));\n\t\t\t\tj.setStatus(JobStatusType.valueOf(stat));\n\t\t\t\tString prio = (rs.getString(\"priority\"));\n\t\t\t\tj.setPriority(PriorityType.valueOf(prio));\n\t\t\t\tj.setDestination(rs.getString(\"destination\"));\n\t\t\t\tj.setOutputFileNamePattern(rs.getString(\"outputFileNamePattern\"));\n\t\t\t\tj.setNotifyReply(rs.getString(\"notifyReply\"));\n\t\t\t\tString jobStartedTime = (rs.getString(\"jobStartedTime\"));\n\t\t\t\tif (jobStartedTime != null) {\n\t\t\t\t\tj.setJobStartedTime(new TransformRequestValidator().setXMLGregorianCalendarFromString(jobStartedTime));}\n\t\t\t\tString jobCompletedTime = (rs.getString(\"jobCompletedTime\"));\n\t\t\t\tif (jobCompletedTime != null) {\n\t\t\t\t\tj.setJobCompletedTime(new TransformRequestValidator().setXMLGregorianCalendarFromString(jobCompletedTime));}\n\t\t\t\tjobList.add(j);\n\t\t\t}\n\t\t}\n\t\tcatch (SQLException e)\n\t\t{\n\t\t\tthrow new InfrastructureException(ErrorCodeType.DAT_S_00_0004, \"Unable to connect to the database. REST Status: 500 Internal Server Error\", e.getMessage());\n\t\t}\n\t\t\t\t\n\t\treturn jobList;\n\t}", "title": "" }, { "docid": "15cc343755a6a42bc2eb770ba0c975ff", "score": "0.5493659", "text": "JobApply selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "39984c5d5dbf2af964cfad644e20054e", "score": "0.5492271", "text": "ArrayList<Map<String, Object>> SelectJobTask() {\n if (result != null && !result.isEmpty()) {\n result.clear();\n }\n\n this.result = provider.SelectBatchJob(BatchExpStartToday, this.userId);\n CheckStatus(provider.status);\n\n if (this.status != 0) {\n return Check;\n }\n\n if (result.size() > 0) {\n String TaskId;\n String InParam;\n int ids = 0;\n\n for (Map<String, Object> stringObjectMap : result) {\n for (Map.Entry<String, Object> entry : stringObjectMap.entrySet()) {\n TaskId = entry.getKey();\n InParam = entry.getValue().toString();\n\n if (TaskId.equals(\"Id\")) {\n ids = Integer.parseInt(InParam);\n }\n JobTaskMap.put(TaskId, InParam);\n this.ForTemp.add(ids);\n }\n this.JobTaskList.add(JobTaskMap);\n }\n this.JobTaskId = ForTemp.stream().distinct().collect(Collectors.toList());\n //呼叫排程分類的method\n JobSeparation(JobTaskMap);\n return result;\n }\n\n return result;\n }", "title": "" }, { "docid": "b7b7d3e633b11feecf540d7d749cf98c", "score": "0.5488162", "text": "public interface Job<T> {\n /**\n * get data\n * @return\n */\n List<T> dataSource();\n\n /**\n * execute job\n * @param t\n */\n void process(T t);\n}", "title": "" }, { "docid": "1c79e6dcc22bc97a9e09548b575f7519", "score": "0.54709363", "text": "public List<JobJB> getJobList() {\n\t\treturn jobService.getJobList();\n\t}", "title": "" }, { "docid": "e8136fda19ad6ce70d2e32101dc5db1d", "score": "0.5463266", "text": "public Job(String jobName, int salary, int companyId) {\n this.jobName = jobName;\n this.salary = salary;\n this.companyId = companyId;\n }", "title": "" }, { "docid": "69cd534797031d60500bc2b260887648", "score": "0.5458586", "text": "private void getNewJobID() throws ClassNotFoundException, SQLException {\n String jobCode = IdGenerator.getNewId(2);\n txtJobId.setText(jobCode);\n jobId = jobCode;\n }", "title": "" }, { "docid": "341bd5ef02d31284e00aa1bc5aded483", "score": "0.5454924", "text": "Job selectByPrimaryKey(Long id);", "title": "" }, { "docid": "93a7b857f5db1fd808b556522359cee8", "score": "0.5450188", "text": "public interface FetchJobsByJobGroupName {\n}", "title": "" }, { "docid": "39b336425dd088704c80e30f7bb2b3c8", "score": "0.5449068", "text": "public long getJobId() {\r\n return jobId;\r\n }", "title": "" }, { "docid": "ffa99ca3d9d261623e73626ed5ab580d", "score": "0.54469794", "text": "public Job getActiveJob();", "title": "" }, { "docid": "0f027fa2dfc7fafe3664aa887c98a758", "score": "0.54392385", "text": "public JobList jobList() {\r\n return jobs;\r\n }", "title": "" }, { "docid": "373cd5decd2b653c6660f06e6ceb5319", "score": "0.54225945", "text": "public com.vmware.converter.ManagedObjectReference getJob() {\r\n return job;\r\n }", "title": "" }, { "docid": "5cab1efa5eb2b484c068a8c6152c9bbb", "score": "0.5417449", "text": "protected JobList() {\n\t\t\n\t\t\n\t\t// Jobs on the main page\n\t\t\n\t\tjobs = new ArrayList<Job>();\n\t\tjobMap = new HashMap<Integer, Job>();\n\t\t\n\t\t\n\t\t// Finished jobs\n\t\t\n\t\tfinishedJobs = new HashMap<Pair<String,String>, LinkedList<Job>>();\n\t\tfinishedJobMap = new HashMap<Integer, Job>();\n\t\tfinishedJobPersistentIdMap = new HashMap<Long, Job>();\n\t\t\n\t\tCollection<Pair<String, String>> dbis = WebUtils.getDatabaseInstancePairs();\n\t\tfor (Pair<String, String> p : dbis) {\n\t\t\tLinkedList<Job> l = fetchFinishedJobs(p.first, p.second);\n\t\t\tfor (Job j : l) {\n\t\t\t\tfinishedJobMap.put(j.getId(), j);\n\t\t\t\tif (finishedJobPersistentIdMap.put(j.getPersistentId(), j) != null) {\n\t\t\t\t\tConsoleUtils.warn(\"Conflict of two persistent job IDs\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tfinishedJobs.put(p, l);\n\t\t}\n\t\t\n\t\t\n\t\t// Job execution control\n\n\t\tthread = new ExecutionThread();\n\t\tpaused = true;\n\t\trunning = false;\n\t}", "title": "" }, { "docid": "63f7eaf4fbbaf86b508e2de26dbae082", "score": "0.5400534", "text": "@Insert({\n \"insert into job_run_log (id, job_id, \",\n \"job_name, group_name, \",\n \"job_param, start_time, \",\n \"end_time, status, \",\n \"remark, invoke_url, \",\n \"created_at, created_by, \",\n \"updated_at, updated_by, \",\n \"is_delete)\",\n \"values (#{id,jdbcType=BIGINT}, #{jobId,jdbcType=BIGINT}, \",\n \"#{jobName,jdbcType=VARCHAR}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{jobParam,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, \",\n \"#{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, \",\n \"#{remark,jdbcType=VARCHAR}, #{invokeUrl,jdbcType=VARCHAR}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=VARCHAR}, \",\n \"#{updatedAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, \",\n \"#{isDelete,jdbcType=INTEGER})\"\n })\n int insert(JobRunLog record);", "title": "" }, { "docid": "25661763a768dbe6cb495f3bd9b78a8a", "score": "0.5386183", "text": "public HashMap[] readDeptJOb(long deptID) {\n\n int pos = 0;\n HashMap[] listJob = new HashMap[this.countDeptJOb(deptID)];\n String str = \"select hr_lu_job_type.job_code,hr_lu_job_type.job_description,hr_dept_job.dept_id , hr_dept_job.NUMBER_OF_EMPLOYEE \" +\n \"from(TBL_DEPT_BUNNA INNER JOIN hr_dept_job on TBL_DEPT_BUNNA.dept_id=hr_dept_job.DEPT_ID)\" +\n \"INNER JOIN hr_lu_job_type ON hr_dept_job.JOB_CODE = hr_lu_job_type.JOB_CODE where TBL_DEPT_BUNNA.DEPT_ID =\" + deptID + \"\";\n// String str = \"SELECT hr_lu_job_type.job_code, \" +\n// \" hr_lu_job_type.JOB_NAME, \" +\n// \" hr_dept_job.dept_id , \" +\n// \" hr_dept_job.NUMBER_OF_EMPLOYEE \" +\n// \"FROM(TBL_DEPT_BUNNA \" +\n// \"INNER JOIN hr_dept_job \" +\n// \"ON TBL_DEPT_BUNNA.dept_id=hr_dept_job.DEPT_ID) \" +\n// \"INNER JOIN hr_lu_job_type \" +\n// \"ON hr_dept_job.JOB_CODE = hr_lu_job_type.JOB_CODE \" +\n// \"WHERE TBL_DEPT_BUNNA.DEPT_ID =\" + deptID + \"\";\n\n try {\n\n _con = getConnection();\n _ps = _con.prepareStatement(str);\n _rs = _ps.executeQuery();\n OracleCachedRowSet ocrs = new OracleCachedRowSet();\n ocrs.populate(_rs);\n while (ocrs.next()) {\n listJob[pos] = new HashMap();\n listJob[pos].put(\"job_code\", ocrs.getString(\"job_code\"));\n listJob[pos].put(\"job_description\", ocrs.getString(\"job_description\"));\n listJob[pos].put(\"ID\", ocrs.getString(\"dept_id\"));\n listJob[pos].put(\"NUMBER_OF_EMPLOYEE\", ocrs.getString(\"NUMBER_OF_EMPLOYEE\"));\n pos += 1;\n }\n _rs.close();\n _ps.close();\n\n return listJob;\n } catch (Exception ex) {\n ex.printStackTrace();\n return null;\n } finally {\n try {\n releaseResources();\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "9f4ec2984b55eb31865485247430ccc4", "score": "0.5383144", "text": "ScheduleJob selectByPrimaryKey(String pkid);", "title": "" }, { "docid": "061f452f8508ffc6f1825642f89ea964", "score": "0.5380789", "text": "@Override\n\tpublic void addJob(Job job) {\n\n\t}", "title": "" }, { "docid": "c0490cf387958f55c18e9914cbe669a4", "score": "0.53759605", "text": "List<JobApplied> listByJobId(int jobId);", "title": "" }, { "docid": "55bd4112ae651b40a6f740ad5782af54", "score": "0.53751373", "text": "public interface IJob {\n /**\n * Method returns job's identifier.\n */\n public BigInteger getID();\n /**\n * returns job's title.\n */\n public String getTitle();\n /**\n * returns job's description.\n */\n public String getDescription();\n /**\n * method sets job's identifier\n * @param id inserting identifier.\n */\n public void setID(BigInteger id);\n /**\n * method sets job's title. \n * @param title inserting title\n */\n public void setTitle(String title) ;\n /**\n * method sets job's description. \n * @param desc inserting description\n */\n public void setDescription(String desc) ;\n}", "title": "" }, { "docid": "0774f856b8ff2cf36f8cc1f3910699dd", "score": "0.5360214", "text": "public void setJobClass(String jobClass) {\n this.jobClass = jobClass;\n }", "title": "" }, { "docid": "769415b2f216cf4b57eaabce3726b1c2", "score": "0.5323444", "text": "public String getJobId() {\n return jobId;\n }", "title": "" }, { "docid": "750db9a2dfc289468aa31d94093dc8cb", "score": "0.531738", "text": "public String getJobName() {\n return jobName;\n }", "title": "" }, { "docid": "d68886152da20569bd6f21564fd25ebf", "score": "0.53114796", "text": "public Optional<JobId> job() { return Optional.empty(); }", "title": "" }, { "docid": "e5bd9f47a848898cb1829c0cd61455ae", "score": "0.5310154", "text": "public String getJobClass() {\n return jobClass;\n }", "title": "" }, { "docid": "0cbfbb540466cae24109a9fdc8daa329", "score": "0.5306912", "text": "public void setJobName(String jobName)\r\n\t{\r\n\t\tthis.jobName = jobName;\r\n\t}", "title": "" }, { "docid": "de9d7bc1d6f1b704fb54cd4c2748f265", "score": "0.530487", "text": "public Job (){\n super();\n this.target=this;\n this.name=this.toString();\n }", "title": "" }, { "docid": "712e06cc0eb78e32a51c2d6dbff278f0", "score": "0.5300011", "text": "public String getJobName()\r\n\t{\r\n\t\treturn jobName;\r\n\t}", "title": "" }, { "docid": "b848b6f0005210576d9cc9a42eeae635", "score": "0.5289464", "text": "public long getJobId() {\n\t\treturn jobId;\n\t}", "title": "" }, { "docid": "104fc68c700e20efd841563f0282c292", "score": "0.528221", "text": "@Override\r\n\tpublic List<congviec> listJob3() {\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\tTransaction tran = session.beginTransaction();\r\n\t\tList<congviec> l = session.createQuery(\"from congviec order by idcongviec desc\").setMaxResults(3).list();\r\n\t\ttran.commit();\r\n\t\treturn l;\r\n\t}", "title": "" }, { "docid": "38fdf262e104cc0570562af61815aa89", "score": "0.5269502", "text": "String getJobName();", "title": "" }, { "docid": "70dd8f4cad926a49347e2f15b1405b5d", "score": "0.5264865", "text": "public void setJobId(long jobId) {\r\n this.jobId = jobId;\r\n }", "title": "" }, { "docid": "02413cb8195240970b9e8b7a63b91321", "score": "0.52577084", "text": "public String getJobName() {\n return name;\n }", "title": "" }, { "docid": "22185d8fa7569b4ae00ca67623526134", "score": "0.52575064", "text": "public interface Job<T> {\n\n\t/**\n\t * Generates multiple tasks from this job. The client decomposes the problem (job), constructing a set of Task objects\n\t *\n\t * @param space the space\n\t */\n\tpublic void generateTasks(Space space);\n\t\n\t/**\n\t * Collects results from the Space, composing them into a solution to the original problem.\n\t *\n\t * @param space the space\n\t * @return t\n\t */\n\tpublic T collectResults(Space space);\n\t\n\t/** Mapping between a taskId and its start time. It is used for experimentation purposes. */\n\tpublic Map<Integer, Long> taskStartTimeMap = new HashMap<Integer, Long>();\n\t\n}", "title": "" }, { "docid": "3f0b7aeb622abe992ebf07c8d1dc3034", "score": "0.52511114", "text": "public JobInProgress getJob() {\n return job;\n }", "title": "" }, { "docid": "a658e8c38f50efdb7a2717ddfea34705", "score": "0.5240412", "text": "protected String getHarvestingJobsCompletedTableName() {\n return getRequestContext().getCatalogConfiguration().\n getHarvestingJobsCompletedTableName();\n }", "title": "" }, { "docid": "bda4dca10d3c8e7bd5e2c5560f2e7fc8", "score": "0.52372545", "text": "public interface JobService {\n List<JobDetailDto> allJobs();\n\n void upsertJob(JobCreateDto jobCreateDto);\n\n void deleteJob(JobGetTto jobDelteTto);\n\n JobDetailDto getJob(JobGetTto jobGetTto);\n\n void init();\n\n void executeJob(JobGetTto jobGetTto);\n}", "title": "" }, { "docid": "9b90b93ac54cacd90d74a3a82220352b", "score": "0.52342933", "text": "public interface JobBeanWrapper {\n\n String SPRING_BEAN_NAME = \"org.sakaiproject.api.app.scheduler.JobBeanWrapper.bean\";\n String JOB_NAME = \"org.sakaiproject.api.app.scheduler.JobBeanWrapper.jobType\";\n\n /**\n * @return The Spring Bean ID to retrieve from the application context.\n */\n String getBeanId();\n\n /**\n * This is the class that will get registered with Quartz to be run.\n * @return A Class that implements the Job interface.\n */\n Class<? extends Job> getJobClass();\n\n /**\n * This is the name that is displayed in the interface for the job.\n * @return A summary of the job.\n */\n String getJobName();\n\n}", "title": "" }, { "docid": "f8f14967ee8c4d73b468e2b216162472", "score": "0.52251756", "text": "List<PlatformJobRepeat> selectByExample(PlatformJobRepeatQuery example);", "title": "" }, { "docid": "72b0f39d2d581d83cb919c5057278b57", "score": "0.52206826", "text": "public List getAllJobs() throws MatchSysException\r\n {\r\n List list = new ArrayList();\r\n List mml = null;\r\n MatchModel mm = null;\r\n JobModel jm = null;\r\n\r\n Connection conn = null;\r\n Statement stmt = null;\r\n ResultSet rs = null;\r\n\r\n try\r\n {\r\n conn = DBUtil.getConnection();\r\n stmt = conn.createStatement();\r\n\r\n String queryStr = \"select DISTINCT TYPE,RelationID,AspID from C_Match_View\" +\r\n \" ORDER BY RelationID\";\r\n\r\n LogUtil.debug(\"common\",\r\n \"[MatchDAOImpl] getAllJobs==========queryStr = \" + queryStr);\r\n\r\n rs = stmt.executeQuery(queryStr);\r\n\r\n while (rs.next())\r\n {\r\n jm = new JobModel(rs.getInt(\"RelationID\"),\r\n StringUtil.parseInt(rs.getString(\"type\")),\r\n rs.getInt(\"AspID\"));\r\n list.add(jm);\r\n }\r\n\r\n for (int i = 0; i < list.size(); i++)\r\n {\r\n jm = (JobModel) list.get(i);\r\n\r\n mml = new ArrayList();\r\n jm.setMms(mml);\r\n\r\n queryStr = \"select * from C_Match_View where type='\" +\r\n jm.getType() + \"' and RelationID=\" + jm.getRelationID();\r\n LogUtil.debug(\"common\",\r\n \"[MatchDAOImpl]getAllJobs ==========queryStr1 = \" +\r\n queryStr);\r\n\r\n rs = stmt.executeQuery(queryStr);\r\n\r\n while (rs.next())\r\n {\r\n mm = new MatchModel(rs.getInt(\"MatchID\"),\r\n StringUtil.nullToStr(rs.getString(\"MatchKey\")),\r\n StringUtil.nullToStr(rs.getString(\"MatchKeyID\")),\r\n StringUtil.nullToStr(rs.getString(\"Operator\")),\r\n StringUtil.nullToStr(rs.getString(\"MatchValue\")),\r\n jm.getRelationID(), jm.getType(),\r\n StringUtil.nullToStr(rs.getString(\"DefaultOperator\")),\r\n StringUtil.nullToStr(rs.getString(\r\n \"DefaultMatchValue\")), rs.getInt(\"AspID\"));\r\n mml.add(mm);\r\n }\r\n }\r\n }\r\n catch (SQLException se)\r\n {\r\n se.printStackTrace();\r\n throw new MatchSysException(se);\r\n }\r\n finally\r\n {\r\n DBUtil.closeResultSet(rs);\r\n DBUtil.closeStatement(stmt);\r\n DBUtil.closeConnection(conn);\r\n }\r\n\r\n return list;\r\n }", "title": "" }, { "docid": "c6c6693ecd64125062f007673ecdaef6", "score": "0.52141815", "text": "public interface JobService {\n\t\n\tJob createJob(Job job);\n\t\n\tJob updateJob(Job job);\n\t\n\tJob getJobById(String jobId);\n\t\n\tList<Job> getAllJobs();\n\t\n\tboolean deleteJob(String jobId);\n}", "title": "" }, { "docid": "6f83fa706b818bb23911abb1a3870711", "score": "0.5201338", "text": "public Date getJobdate() {\r\n return jobdate;\r\n }", "title": "" }, { "docid": "c1afe0bb0da5b79433c2325e939e90ce", "score": "0.5196559", "text": "public void insert(Connection con, Job j)\n\t{\n\t\tString resourceID = j.getResourceID();\n\t\tString priority = j.getPriority().toString();\n\t\tString status = j.getStatus().toString();\n\t\tString resourceCreationDate = j.getResourceCreationDate().toString();\n\t\t\t\t\t\t\n\t\tString resourceIDtP = j.getResourceIDtP();\n\t\tString location = j.getLocation();\n\t\tString destination = j.getDestination();\n\t\tString outputFileNamePattern = j.getOutputFileNamePattern();\n\t\tString oplId = j.getOpl().getOplId();\n\t\tString notifyReply = j.getNotifyReply();\n\t\tString notifyFault = j.getNotifyFault();\n\t\t\n\t\ttry {\n\t\t\tPreparedStatement posted = con.prepareStatement(\"INSERT INTO TransformDatabase.job(resourceID,\"\n\t\t\t\t\t+ \"priority,status,resourceCreationDate,resourceIDtP,\"\n\t\t\t\t\t+ \"location,destination,outputFileNamePattern, \"\n\t\t\t\t\t+ \"oplId, notifyReply, notifyFault) \"\n\t\t\t\t\t+ \"VALUES('\"+resourceID+\"','\"+priority+\"','\"+status+\"',\"\n\t\t\t\t\t\t\t+ \"'\"+resourceCreationDate+\"','\"+resourceIDtP+\"',\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"'\"+location+\"','\"+destination+\"','\"+outputFileNamePattern+\"',\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ \"'\"+oplId+\"','\"+notifyReply+\"','\"+notifyFault+\"')\");\n\t\t\t\n\t\t\tposted.executeUpdate();\n\t\t\t\t\t\t\n\t\t} catch(Exception e) {\n\t\t\tSystem.out.println(\"Insertfailure\" + e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "4740a2f6c60a64373ed9e8bff9f3ab17", "score": "0.5193252", "text": "public void setJob(String job) {\r\n this.job = job == null ? null : job.trim();\r\n }", "title": "" }, { "docid": "10ce320985a7e1387aa8f2a8d7b3030f", "score": "0.51922107", "text": "public long createJob(Job job) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_NAME, job.getName());\n\n if (job.getEnable())\n values.put(KEY_ENABLED, 1);\n else values.put(KEY_ENABLED, 0);\n\n // insert row\n long newJobId = db.insert(TABLE_JOBS, null, values);\n return newJobId;\n }", "title": "" }, { "docid": "705f6934fcda8ea16c2ce194bfcd7fe0", "score": "0.5187441", "text": "@SuppressWarnings(\"unchecked\")\n List<AbstractProject> getAllJobs();", "title": "" }, { "docid": "f544738e0be52ac96fe5d7e907a6a801", "score": "0.5178249", "text": "List<Employee> findByJobTitle(String jobTitle) throws SQLException;", "title": "" }, { "docid": "780c66cd6123e134ea8e0417fbcb4be6", "score": "0.5173031", "text": "@Test public void testGetJob()\n {\n try\n {\n\t\t\tJobEntry je = scheduler.getJob(1);\n\t\t\tassertInstanceOf(JobEntryNonPersistent.class, je);\n\t\t\tJobEntryNonPersistent jenp = (JobEntryNonPersistent)je;\n assertEquals(1, jenp.getJobId());\n assertEquals(1, jenp.getSecond());\n assertEquals(-1, jenp.getMinute());\n assertEquals(-1, jenp.getHour());\n assertEquals(-1, jenp.getDayOfMonth());\n assertEquals(-1, jenp.getWeekDay());\n assertEquals(\"SimpleJob\", jenp.getTask());\n }\n catch (TurbineException e)\n {\n e.printStackTrace();\n fail();\n }\n }", "title": "" }, { "docid": "8fd86174d20ed28f945ffdda299afd0d", "score": "0.5171142", "text": "public static JobQuery jobQuery() {\n return managementService().createJobQuery();\n }", "title": "" }, { "docid": "e6870377a7421945e25128b712718b0a", "score": "0.5165048", "text": "public static Job jobExample() {\n return new Job(\"0\", 2, 10, null, null);\n }", "title": "" }, { "docid": "efb27256de74dd7c1ae1f61085c12b57", "score": "0.516441", "text": "public interface QRTZJobResultMapper {\n\n int insert(QRTZJobResult result);\n\n int update(QRTZJobResult result);\n\n List<QRTZJobResult> findLatestResultsByJobName(String jobName,int limit);\n}", "title": "" }, { "docid": "73bfa40955eb294af0b90892d76fda05", "score": "0.51615983", "text": "long addJob(Job j) throws RemoteException;", "title": "" }, { "docid": "8c8098429759004af33b35085fdce36b", "score": "0.5160429", "text": "public static Job job() {\n return job(jobQuery());\n }", "title": "" }, { "docid": "a13029517bb5e3cdd0f6c3e6b277454e", "score": "0.51585317", "text": "@Override\n\tpublic List<JobPost> fetchAll() {\n\t\tList<JobPost> jobs = null;\n\t\tnamedSqlParams=new MapSqlParameterSource();\n\t\ttry {\n\t\tjobs = namedParameterJdbcTemplate.query(jobPostingProp.getFetchAll(), new JobPostingRowMapper());\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t\treturn jobs;\n\t}", "title": "" }, { "docid": "6eadea77c6be5e942af292924f70e2db", "score": "0.5157111", "text": "public String getJob() {\r\n return (String)getAttributeInternal(JOB);\r\n }", "title": "" }, { "docid": "c00f9f0aefee16a5375c648c69a7914e", "score": "0.5156359", "text": "public static void positionInfo(){\n Main m =new Main();\n m.getCon(); //connecting with dbms\n try {\n //make request to database\n PreparedStatement preparedStatement=m.con.prepareStatement(\"select *from Job\");\n ResultSet resultSet=preparedStatement.executeQuery();\n while (resultSet.next()){\n //get data from all columns\n String jobName=resultSet.getString(\"job_name\");\n int salary=resultSet.getInt(\"salary\");\n int companyId=resultSet.getInt(\"company_id\");\n System.out.println(\"job_name\" + \":\"+jobName + \", \" + \"salary\" + \":\" + salary\n + \", \" + \"company_id\" + \":\" + companyId);\n }\n }catch (Exception e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "2f6b889e1a5834a529d448a576c4be0a", "score": "0.515535", "text": "public static interface Job {\n void action();\n }", "title": "" }, { "docid": "513f653c10ac9a657a33985a01646d66", "score": "0.5153145", "text": "public String getJobcode() {\n return jobcode;\n }", "title": "" }, { "docid": "ad71730232b0975167ad8a7c00b41b54", "score": "0.5152213", "text": "@Override\n\tpublic List<Job> getJobs() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "efc77d1d661b3b70d1b9853896637f3b", "score": "0.51242095", "text": "public void setJobId(long jobId) {\n\t\tthis.jobId = jobId;\n\t}", "title": "" }, { "docid": "e37c8b8bef006382c1086efd6764cc57", "score": "0.51194876", "text": "public Job<?, ?> getJob() {\n return job;\n }", "title": "" }, { "docid": "1a9f36c636d383e47cdbde695d6cb7d6", "score": "0.50944316", "text": "public void setJobMethod(long jobMethod) {\n\t\tthis.jobMethod = jobMethod;\n\t}", "title": "" }, { "docid": "8515bfe03426ffc527c9dd9d8e0524e4", "score": "0.50856006", "text": "public TbljobBenefit() {\n this(\"tbljob_benefit\", null);\n }", "title": "" }, { "docid": "edeb78f253d768f4bcb7b991aab6477d", "score": "0.5083434", "text": "public void setJobId(String jobId) {\n this.jobId = jobId;\n }", "title": "" }, { "docid": "e28cd16e7ae40779a17725fe8452e1a4", "score": "0.50818944", "text": "public ArrayList<DepartmentEntity> readJob(String departmentid) {\n\n\n String _select = \"SELECT DISTINCT hr_lu_job_type.job_Code, \" +\n \" hr_lu_job_type.JOB_NAME \" +\n \"FROM (hr_dept_job \" +\n \"INNER JOIN TBL_DEPT_BUNNA \" +\n \"ON TBL_DEPT_BUNNA.DEPT_ID = hr_dept_job.DEPT_ID) \" +\n \"INNER JOIN hr_lu_job_type \" +\n \"ON hr_dept_job.JOB_CODE = hr_lu_job_type.JOB_CODE \" +\n \"WHERE HR_DEPT_JOB.DEPT_ID='\" + departmentid + \"'\";\n\n\n\n\n ArrayList<DepartmentEntity> readJobFrDb = new ArrayList<DepartmentEntity>();\n try {\n _con = getConnection();\n _ps = _con.prepareStatement(_select);\n _rs = (ResultSet) _ps.executeQuery();\n OracleCachedRowSet ocrs = new OracleCachedRowSet();\n ocrs.populate(_rs);\n while (ocrs.next()) {\n this.code = ocrs.getString(\"job_Code\");\n this.description = ocrs.getString(\"JOB_NAME\");\n DepartmentEntity departmentEntity = new DepartmentEntity(code, description);\n readJobFrDb.add(departmentEntity);\n }\n _rs.close();\n _ps.close();\n\n return readJobFrDb;\n } catch (Exception ex) {\n ex.printStackTrace();\n ErrorLogWriter.writeError(ex);\n return null;\n } finally {\n try {\n releaseResources();\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n }\n\n\n }", "title": "" }, { "docid": "8fef29e1f9c50f8cd3ce1aa3121f7dca", "score": "0.507904", "text": "@Override\r\npublic String toString() {\n\tSystem.out.println(\"Name : \"+this.getName()+\" Job: \"+this.getJob());\r\n\r\n\treturn super.toString();\r\n}", "title": "" } ]
bdf8acb4e766a1bf28a419d3ebe8c0de
Get this stream's compression level
[ { "docid": "5abbd8b7721874fab902125501826bae", "score": "0.0", "text": "public int getLevel();", "title": "" } ]
[ { "docid": "0e30eb32c401371346a2097f7f09dbef", "score": "0.8176725", "text": "public int getCompressionLevel() {\n return compressionLevel;\n }", "title": "" }, { "docid": "7649521f1c610f9de784e6114dc65179", "score": "0.718024", "text": "public Compression getCompression() {\n return compression;\n }", "title": "" }, { "docid": "1660ffedee2c247e8031072da0c50804", "score": "0.7080686", "text": "public int getCompressionType() {\n return compressionType;\n }", "title": "" }, { "docid": "667d11bef73173d3c4f0119485e213c0", "score": "0.7078153", "text": "public StreamCompression getStreamCompression() {\n return streamCompression;\n }", "title": "" }, { "docid": "fceead1050fc898d93072f74dd400f29", "score": "0.7045293", "text": "public int getCompressionType() {\r\n return this.compressionType;\r\n }", "title": "" }, { "docid": "ee7bfa9d1e5c5056297666024c283f39", "score": "0.6812423", "text": "public final String getUseCompression() {\n return properties.get(USE_COMPRESSION_PROPERTY);\n }", "title": "" }, { "docid": "b416d74d6fb89a700ad7e13aedfca6dd", "score": "0.666927", "text": "public int getCompressionWidth() {\n return compressionWidth;\n }", "title": "" }, { "docid": "39718a0f403935ba389942e8d561a1c4", "score": "0.65761673", "text": "protected int getCompressionAlgorithm() {\n return compressionAlgorithm;\n }", "title": "" }, { "docid": "c8b127da959d685892bc8842a3dbaeba", "score": "0.65415835", "text": "@Override\n public FileCompression getCompression() {\n return compression;\n }", "title": "" }, { "docid": "aedab061f04a3ab5682e1fd7665b4750", "score": "0.6500811", "text": "public int getCompressionMinSize() {\n return compressionMinSize;\n }", "title": "" }, { "docid": "bcda22e9f9555a9eaf253970cd56de3a", "score": "0.64649147", "text": "public CompressInfo getCompress() {\n return this.Compress;\n }", "title": "" }, { "docid": "0e857a7a6ac1db84235b99de42314203", "score": "0.6246035", "text": "public boolean getUseCompression()\n/* */ {\n/* 2534 */ return this.useCompression.getValueAsBoolean();\n/* */ }", "title": "" }, { "docid": "9e61701c3a2afb3b1520f87e8aaf29dd", "score": "0.6172008", "text": "public Object enableCompression() {\n return this.enableCompression;\n }", "title": "" }, { "docid": "9428c2a435da934049ab05ae8689b4ae", "score": "0.60865927", "text": "public String getImageCompressionType() {\n return imageCompressionType;\n }", "title": "" }, { "docid": "0f8cbfa98b2dc8d147a00aa82a8774ad", "score": "0.59497744", "text": "public java.lang.String getCompressionMode() {\n java.lang.Object ref = compressionMode_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n compressionMode_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "cdad10d85fd1259c10832c5a22bd04b2", "score": "0.58880514", "text": "float getCompressiveStrength();", "title": "" }, { "docid": "1926dfed2347ea14e65f08fd2299da20", "score": "0.58853936", "text": "@java.lang.Override\n public java.lang.String getCompressionMode() {\n java.lang.Object ref = compressionMode_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n compressionMode_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "30a46ab57ba385b9df9a5fb06cdef659", "score": "0.582341", "text": "public short getLevel() {\n return level;\n }", "title": "" }, { "docid": "86302f398dfe66db197293ede5b042d7", "score": "0.5744096", "text": "public static int getCodecLevel(String val) {\n\t\tint codecLevel = -1;\n\n\t\ttry {\n\t\t\tcodecLevel = Integer.parseInt(val);\n\t\t} catch (NumberFormatException e) {\n\t\t\tthrow new IllegalArgumentException(\"codec_level for deflate must be a number between 1 - 9\");\n\t\t}\n\n\t\tif (codecLevel < 1 || codecLevel > 9) {\n\t\t\tthrow new IllegalArgumentException(\"codec_level for deflate must be a number between 1 - 9\");\n\t\t}\n\n\t\treturn codecLevel;\n\t}", "title": "" }, { "docid": "55d4c022d387ddc7a4343450db94470b", "score": "0.57135", "text": "public long getCompressedSize() {\n return compressedSize;\n }", "title": "" }, { "docid": "6ee1aa71cb81afc6a98440bdee345135", "score": "0.5682695", "text": "public com.google.protobuf.ByteString getCompressionModeBytes() {\n java.lang.Object ref = compressionMode_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n compressionMode_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "58e819fe78d598a0d905c75ff0257049", "score": "0.5680091", "text": "boolean getIsGzipCompressed();", "title": "" }, { "docid": "06af2377c5c9715f05a3aebc6434cddb", "score": "0.56691825", "text": "public TimeSpec getCompression() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fc4b6e809152fc4729d928b304de1e76", "score": "0.56157905", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCompressionModeBytes() {\n java.lang.Object ref = compressionMode_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n compressionMode_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "f5f18284f5103020d7d6edb3cece5f74", "score": "0.56054944", "text": "boolean getDisableCompression();", "title": "" }, { "docid": "f837dceaef678c111f84e3cf8a147fb2", "score": "0.5565538", "text": "public float getVideoCompressionQuality(int track)\r\n/* 127: */ {\r\n/* 128: 254 */ return ((AbstractAVIStream.VideoTrack)this.tracks.get(track)).videoQuality;\r\n/* 129: */ }", "title": "" }, { "docid": "413ff4b44fc3c4342a367de4c3c89d1a", "score": "0.5563721", "text": "public int getVideoQualityLevel() {\n log(\"Video Quality Level = \" + mVideoQualityLevel);\n return mVideoQualityLevel;\n }", "title": "" }, { "docid": "b9335a389183f40b591cea1977b3ed00", "score": "0.55408704", "text": "short getLevel();", "title": "" }, { "docid": "b32392e70096d5b46fffedc2d5a4a21d", "score": "0.5524511", "text": "@java.lang.Override\n public boolean getCompressed() {\n return compressed_;\n }", "title": "" }, { "docid": "945f8a9293edd7e3e2130ed4ef565242", "score": "0.5492456", "text": "@java.lang.Override\n public boolean hasCompressionMode() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" }, { "docid": "241bf110bd8da447c4e44842c4524f1c", "score": "0.5492019", "text": "public long getDecompressed() {\n\t\treturn decompressed;\n\t}", "title": "" }, { "docid": "06952e29d4ba1d14d5cfa5ef8c9c571b", "score": "0.5480588", "text": "@java.lang.Override\n public boolean getCompressed() {\n return compressed_;\n }", "title": "" }, { "docid": "bda2793527f61534d5076fd460b6f634", "score": "0.5471815", "text": "public boolean hasCompressionMode() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" }, { "docid": "d11f09ab0166d869073de2d56008c63e", "score": "0.5446151", "text": "@java.lang.Override\n public boolean getDisableCompression() {\n return disableCompression_;\n }", "title": "" }, { "docid": "5dd02a09dd46f1c85cd647b40caad10e", "score": "0.54292834", "text": "public long getCompressedLength() {\n\t\treturn length;\n\t}", "title": "" }, { "docid": "dc12b2ce92dd818ba742549207d1611c", "score": "0.54056025", "text": "public int getQuality() {\n return quality;\n }", "title": "" }, { "docid": "3883e4193eeafdf9623f369f9b1f1963", "score": "0.5386764", "text": "@java.lang.Override\n public boolean getDisableCompression() {\n return disableCompression_;\n }", "title": "" }, { "docid": "778f181b6755f309c67cabafbf7d9180", "score": "0.53864723", "text": "String getCompressiveStrengthAsString();", "title": "" }, { "docid": "59cc3fee18a4484750b319f231e01281", "score": "0.53802556", "text": "public int getLevel() {\n return level_;\n }", "title": "" }, { "docid": "3b44b0bb0127e85576f26ee988e87d8c", "score": "0.537814", "text": "boolean getCompressed();", "title": "" }, { "docid": "974e7e82fa57eb44e06e1472e769638b", "score": "0.5375683", "text": "public List<String> getCompressors() {\n return compressors;\n }", "title": "" }, { "docid": "f3d5ad9cb6ac4145b29db702b7aa89a9", "score": "0.5369539", "text": "public Level getLevel() {\n\t\treturn origin.getLevel();\n\t}", "title": "" }, { "docid": "a40dfc5171cd8ce15adbc163ed724a4f", "score": "0.5368118", "text": "String[] getCompressionTypes();", "title": "" }, { "docid": "ee95f66b80490c8f0b9db915dfa6289b", "score": "0.53583455", "text": "@java.lang.Override\n public boolean getIsGzipCompressed() {\n return isGzipCompressed_;\n }", "title": "" }, { "docid": "d051c33cf2bacabb442419bc421a8161", "score": "0.5353688", "text": "public ZstdCompressor(@Nullable Integer nullableCompressionLevel) {\n int compressionLevel = nullableCompressionLevel == null ? DEFAULT_COMPRESSION_LEVEL : nullableCompressionLevel;\n Preconditions.checkArgument(compressionLevel >= MIN_COMPRESSION_LEVEL && compressionLevel <= MAX_COMPRESSION_LEVEL, \"Invalid compression level\");\n this.compressionLevel = compressionLevel;\n }", "title": "" }, { "docid": "14fd25e8974ab02b15a910c0193473e4", "score": "0.53518355", "text": "@java.lang.Override\n public int getLevel() {\n return level_;\n }", "title": "" }, { "docid": "841c812a3d1485ef0a4955961fab5047", "score": "0.53465176", "text": "public Integer getLevel() {\n return level;\n }", "title": "" }, { "docid": "841c812a3d1485ef0a4955961fab5047", "score": "0.53465176", "text": "public Integer getLevel() {\n return level;\n }", "title": "" }, { "docid": "841c812a3d1485ef0a4955961fab5047", "score": "0.53465176", "text": "public Integer getLevel() {\n return level;\n }", "title": "" }, { "docid": "d87aff9a17a0cc7e37757c5ad2381315", "score": "0.5341769", "text": "public int getLevel() {\n return level_;\n }", "title": "" }, { "docid": "d87aff9a17a0cc7e37757c5ad2381315", "score": "0.5341769", "text": "public int getLevel() {\n return level_;\n }", "title": "" }, { "docid": "a7beb1aa5f824b58d6c12ffa7f92649c", "score": "0.5339653", "text": "public Integer getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "277895f41babb2e561535c7196a8326f", "score": "0.5338048", "text": "@java.lang.Override\n public int getLevel() {\n return level_;\n }", "title": "" }, { "docid": "e3f4dcea0976f3c2e500c05fb2454376", "score": "0.53369296", "text": "public ResponseCompressionAnalyzer responseCompressionAnalyzer();", "title": "" }, { "docid": "ce47e24b51bf9f82bef197c39132d409", "score": "0.5333873", "text": "public static int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "396e13abbfc2f79cb5ea3a5bf952523e", "score": "0.5325565", "text": "public int level(){\n\t\treturn level;\n\t}", "title": "" }, { "docid": "6e49b0254e8a85c07c263fae75c9668f", "score": "0.5323331", "text": "public int getLevel() {\n return currentLevel.getLevel();\n }", "title": "" }, { "docid": "780cc128c996eebc6e8b3391cb0c1030", "score": "0.53189516", "text": "public Integer getLevel() \r\n {\r\n return level;\r\n }", "title": "" }, { "docid": "18d42172b73423b203d5e58d4fcd4f40", "score": "0.53165936", "text": "public int getLevel() {\n\t\treturn Integer.valueOf(this.properties.getProperty(\"loggerLevel\"));\n\t}", "title": "" }, { "docid": "c67118d17b9111ee82a094715ca91ebd", "score": "0.5310231", "text": "com.google.protobuf.ByteString\n getLevelBytes();", "title": "" }, { "docid": "681d43d4b00a3656d6005a230d82971c", "score": "0.53040195", "text": "public double getLevel() {\n return level;\n }", "title": "" }, { "docid": "f75e8dbe554ecc583ad43b5e4f446bed", "score": "0.52963185", "text": "public int getLevel() {\n return level_;\n }", "title": "" }, { "docid": "539a809cd5320965d240dbddcb64bfdb", "score": "0.52865547", "text": "public int getLevel() {\n return level;\n }", "title": "" }, { "docid": "392943e1c8480a95566e91cbed972476", "score": "0.5285076", "text": "public int getLevel() {\n return level;\n }", "title": "" }, { "docid": "b4a63f1928c056cf3e8065b238ad447f", "score": "0.5281916", "text": "int getLevel() {\n return level;\n }", "title": "" }, { "docid": "ae1a578d864263184b320cf789f2c26b", "score": "0.5280216", "text": "protected SourceLevel getSourceLevel() {\n return SourceLevel.getHighest();\n }", "title": "" }, { "docid": "6374a7e0dee71db3e124bcfda49d031c", "score": "0.5279042", "text": "@java.lang.Override\n public boolean getIsGzipCompressed() {\n return instance.getIsGzipCompressed();\n }", "title": "" }, { "docid": "16dbad8973a58bf21c06535b10d9739d", "score": "0.5276454", "text": "public int getLevel() {\r\n return level;\r\n }", "title": "" }, { "docid": "c67d02ec9587d87da52e8114937eec8e", "score": "0.52754927", "text": "boolean hasDisableCompression();", "title": "" }, { "docid": "d53d27cc92e1ce56e7b42253aa1f11cf", "score": "0.52628976", "text": "public int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "d53d27cc92e1ce56e7b42253aa1f11cf", "score": "0.52628976", "text": "public int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "d53d27cc92e1ce56e7b42253aa1f11cf", "score": "0.52628976", "text": "public int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "d53d27cc92e1ce56e7b42253aa1f11cf", "score": "0.52628976", "text": "public int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "d53d27cc92e1ce56e7b42253aa1f11cf", "score": "0.52628976", "text": "public int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "584c33bc78ae6c9a682f665c6184c44a", "score": "0.525751", "text": "public int getBaseLevel() {\n return icuBidi.getBaseLevel();\n }", "title": "" }, { "docid": "6f687496983458a49bfb37b62484d01d", "score": "0.5253058", "text": "public int getLevel() {\r\n\t\treturn level;\r\n\t}", "title": "" }, { "docid": "93c4a470d937e3b8a0b6baa2902639f8", "score": "0.52384275", "text": "public int getLevel () {\n\t\t\treturn level;\n\t\t}", "title": "" }, { "docid": "bc8decb7e72b7f6c5065b46a1c45e9b4", "score": "0.5226169", "text": "public String getBitRate(){\n return retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_BITRATE);\n }", "title": "" }, { "docid": "ab1702a98a4b9888cc1768092828a86f", "score": "0.52261335", "text": "public String getMessageLevel () {\n\t\tlog.info(messageLevel);\n\t\treturn messageLevel;\n\t}", "title": "" }, { "docid": "916b5593bf40da348d487ff90a1e0653", "score": "0.5216268", "text": "protected final int getLevel() {\n\t\t\tint res = this.cachedLevel;\n\n\t\t\t// if the cachedLevel is undefined : compute it from parents :\n\t\t\tif (res == UNDEFINED_LEVEL) {\n\t\t\t\t// first gives the internal level :\n\t\t\t\tres = this.level;\n\n\t\t\t\tif (FORCE_INTERNAL_DEBUG) {\n\t\t\t\t\tSystem.out.println(\"CommonsLoggingSessionLog.LogWrapper.getLevel : this : \" + getCategory()\n\t\t\t\t\t\t\t+ \" : UNCACHED level : \" + getLevelString(res));\n\t\t\t\t}\n\n\t\t\t\tif (res == UNDEFINED_LEVEL) {\n\t\t\t\t\tres = computeLevel(UNDEFINED_LEVEL);\n\n\t\t\t\t\tif (USE_INTERNAL_CACHE) {\n\t\t\t\t\t\tthis.cachedLevel = res;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "title": "" }, { "docid": "06fa315b566d58a45afb1e4140102b80", "score": "0.5214429", "text": "protected int getLevel() {\n\t\treturn level;\n\t}", "title": "" }, { "docid": "4cc5b7fec2a11e0a69753e1c6f125c31", "score": "0.52072597", "text": "public int getLevel()\n {\n return _level;\n }", "title": "" }, { "docid": "4144491fe046c44f92ede5bcd4987ea0", "score": "0.5202366", "text": "public double getAdjustedQualityLevel(){\n\t\tadaptiveQualityAlgorithm();\n\t\treturn qualityLevel;//Your code goes here\n\t}", "title": "" }, { "docid": "b5ba0106a38022c5dc335dabe9bf2f58", "score": "0.5192186", "text": "public java.lang.String getLevel() {\n java.lang.Object ref = level_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n level_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "0e242de10af04bd6fcd04264ff0d8b0d", "score": "0.51907384", "text": "public int getChunkZ() {\n return this.getZ() >> 4;\n }", "title": "" }, { "docid": "dfd01572a596810ada87e0797c76577e", "score": "0.518574", "text": "protected IIOMetadataNode getStandardCompressionNode() {\n/* 549 */ return null;\n/* */ }", "title": "" }, { "docid": "be4f353d990a78ff3993f00528e735ab", "score": "0.51842165", "text": "public int getLevel(){\n\t\treturn level;\n\t}", "title": "" }, { "docid": "be4f353d990a78ff3993f00528e735ab", "score": "0.51842165", "text": "public int getLevel(){\n\t\treturn level;\n\t}", "title": "" }, { "docid": "0e30f3baa9a2cced0b3510b7e20e2a1b", "score": "0.51816326", "text": "public int getLevel() {\n return upgradeLevel;\n }", "title": "" }, { "docid": "0b99eef5b5a0c587e36b70f4d15d821b", "score": "0.5180395", "text": "public int getCustomLevel();", "title": "" }, { "docid": "477388f0a90ed672712705f6be37ec0c", "score": "0.51739645", "text": "public int getLevel() {\n return this.level;\n }", "title": "" }, { "docid": "4a5998cdf24408c497aceb0913ad1353", "score": "0.517144", "text": "public int getLevel ()\n {\n return level;\n }", "title": "" }, { "docid": "a36d241b14dbc86967823080adc4bfa0", "score": "0.51592195", "text": "public int getLevel(){\n\t\treturn _level;\n\t}", "title": "" }, { "docid": "ba17b3d252e2953e16c2751228474587", "score": "0.5154671", "text": "public String getQuality() {\n return quality;\n }", "title": "" }, { "docid": "cd48c1c39830d909c709a1e34194f435", "score": "0.5152033", "text": "public int get_luminosity() {\n return (int)getUIntBEElement(offsetBits_luminosity(), 16);\n }", "title": "" }, { "docid": "adf0b3fb842ca1432f1f4b69e0b80459", "score": "0.5150415", "text": "public int getLevel()\n\t{\n\t\treturn level;\n\t}", "title": "" }, { "docid": "52e7258c3fd567a2b1918fda3dee87aa", "score": "0.5145609", "text": "int getLevel()\n\t\t{\n\t\t\treturn level;\n\t\t}", "title": "" }, { "docid": "caba12fcbe4b4188b04bb77478f180ed", "score": "0.51311415", "text": "public Short getCategorylevel() {\r\n return categorylevel;\r\n }", "title": "" }, { "docid": "14fb4ce287df8a08ba7b3e72dfc8f6e8", "score": "0.5123402", "text": "public String getLevel() {\n return level;\n }", "title": "" }, { "docid": "14fb4ce287df8a08ba7b3e72dfc8f6e8", "score": "0.5123402", "text": "public String getLevel() {\n return level;\n }", "title": "" }, { "docid": "14fb4ce287df8a08ba7b3e72dfc8f6e8", "score": "0.5123402", "text": "public String getLevel() {\n return level;\n }", "title": "" } ]
49646993837a2e43ba63b020adfd1c9e
This method simply adds a '' to the expression window.
[ { "docid": "c4373c56d959d430b784c2c6d8ac8ec9", "score": "0.0", "text": "@FXML\n private void minus_pressed() {\n if (valid.validateOrder(tf_expression.getText(), \"-\")){\n tf_expression.setText(tf_expression.getText() + \"-\");\n }\n }", "title": "" } ]
[ { "docid": "ae4ec47f7b0034b79f97dfd5495d57b4", "score": "0.5671706", "text": "@FXML\n private void clear_one() {\n tf_expression.setText(\"\");\n }", "title": "" }, { "docid": "bf8eae9dea0403352618d70da0c6d38b", "score": "0.5659912", "text": "private void addBlanket() {\n Element nextEle = getNextElement();\n int layer = 0;\n for (int i = 0; i < exp.length(); i++) {\n if (exp.charAt(i) == '(')\n layer++;\n if (exp.charAt(i) == ')')\n layer--;\n }\n if (isEligible(Element.OpenBlanket))\n insertEntry('(');\n else if (isEligible(Element.CloseBlanket) && layer > 0)\n if (Rule.BinaryOperators.obeysRule(nextEle))\n insertEntry(\")\" + BinaryOperator.MULT.symbol);\n else\n insertEntry(')');\n else if (isEligible(Element.BinaryOperators))\n insertEntry(BinaryOperator.MULT.symbol + \"(\");\n evaluated = false;\n }", "title": "" }, { "docid": "8ef5064e9ba0a3090c68c4292bf57153", "score": "0.5604202", "text": "private void clearExp() {\n exp.setLength(0);\n cursor = 0;\n }", "title": "" }, { "docid": "496f47ded57edd49ff448d57f85cbf68", "score": "0.54127926", "text": "public ExpressionInputEditor() {\n initComponents();\n w = null;\n }", "title": "" }, { "docid": "c188a61e06f7ca41531fb40deeb39786", "score": "0.5195134", "text": "@Override\n public String c() {\n return \"\";\n }", "title": "" }, { "docid": "c8541a71fa6f997c449bf9c143ba392d", "score": "0.5192439", "text": "@Override\r\n\tpublic String expandieren(String text) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2f9ed1a344acfe823e0a27e677ee34f5", "score": "0.5191825", "text": "public Builder clearStringValue() {\n if (stringValueBuilder_ == null) {\n if (constantOperandValueCase_ == 1) {\n constantOperandValueCase_ = 0;\n constantOperandValue_ = null;\n onChanged();\n }\n } else {\n if (constantOperandValueCase_ == 1) {\n constantOperandValueCase_ = 0;\n constantOperandValue_ = null;\n }\n stringValueBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "48473e9e5e9c810b16ee5e8a8ea7d3e4", "score": "0.5176692", "text": "public Writeln(Expression exp)\n {\n this.exp = exp;\n }", "title": "" }, { "docid": "1ee3d660d9724405d01571bb94ecd531", "score": "0.51648784", "text": "private QueryExpression createDummyQueryExpression() {\n QueryFunction function = new QueryKindFunction();\n List<Argument> arguments = new ArrayList<>();\n return new FunctionExpression(function, arguments);\n }", "title": "" }, { "docid": "3dd472086308d2d6c7e9e2b8d2943004", "score": "0.5085132", "text": "public Builder clearAddExp() {\n bitField0_ = (bitField0_ & ~0x00000004);\n addExp_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5aaaccc30a0fc87c4c60a0e9d69551a8", "score": "0.505497", "text": "@FXML\n private void clear_all() {\n tf_result.setText(\"\");\n tf_expression.setText(\"\");\n }", "title": "" }, { "docid": "ea0e2e95678a4ba3d60c18299d2570cb", "score": "0.492946", "text": "private void blank() {\n message(\"\");\n }", "title": "" }, { "docid": "8d0f33723dd2a96ce5ea2a10b3a31d1e", "score": "0.4919431", "text": "public Builder clearFunctionOperand() {\n if (functionOperandBuilder_ == null) {\n if (functionArgumentOperandCase_ == 3) {\n functionArgumentOperandCase_ = 0;\n functionArgumentOperand_ = null;\n onChanged();\n }\n } else {\n if (functionArgumentOperandCase_ == 3) {\n functionArgumentOperandCase_ = 0;\n functionArgumentOperand_ = null;\n }\n functionOperandBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "3240fe231bb8649efc6f4c870812a2a8", "score": "0.49190056", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"\\u221A\" + Math.pow(this.expr, 2) + \" = \"+ this.eval() ;\n\t}", "title": "" }, { "docid": "e366356c55da55988b51d7ecc9a8c7d6", "score": "0.4898473", "text": "public Object getEmptyValuesExpression() {\n\t\treturn \"DEFAULT VALUES\";\n\t}", "title": "" }, { "docid": "f2310656b6751f76425b5f56eaf30850", "score": "0.48787066", "text": "@Override\r\n protected String likeEscapeSuffix() {\r\n return \"\";\r\n }", "title": "" }, { "docid": "e7cde61c41f79c13e47f7254eb616831", "score": "0.48608908", "text": "@Override\n\tpublic ICircensesbuilder addEmptySlot() {\n\t\tcircenses.Empty = \"\\n| |\";\n\t\tcircenses.circenses.add(circenses.Empty);\n\t\tcircenses.circensesB.add(circenses.Empty);\n\n\t\treturn this;\n\t}", "title": "" }, { "docid": "fcedea45c12482e81e9bb711a0224313", "score": "0.4844619", "text": "@Override\n public String hotKey() {\n return \"\";\n }", "title": "" }, { "docid": "fcedea45c12482e81e9bb711a0224313", "score": "0.4844619", "text": "@Override\n public String hotKey() {\n return \"\";\n }", "title": "" }, { "docid": "20f03b3bb70844add5c8cf0bf313a1ad", "score": "0.48382595", "text": "private DefaultMutableTreeNode newExpNode(Expression expression) {\n expression.setLineNumber(Globals.lineno);\n return new DefaultMutableTreeNode(expression);\n }", "title": "" }, { "docid": "bbc0b1f2be77e69e78feedcae508d9c8", "score": "0.48273793", "text": "public boolean refresh(){\n String s = \"\";\n int len = Polish.expString.length();\n \n for(int i = 0;i < len;++i)\n {\n char ch = Polish.expString.charAt(i);\n \n if((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'Z') || ch == '.')\n s += (ch);\n else if(ch == '+' || ch == '-' || ch == '*' || ch == '/' || ch == '^' || ch == '(' || ch == ')' || ch == ' ' || ch == '~' || ch == '@' || ch == '#' || ch == 'Q' || ch == '&' || ch == 'r' || ch == 'w' || ch == 'y')\n {\n if(s.length() >= 1){\n Polish.exp.addElement(s);\n s = \"\";\n }\n \n if(ch != ' ')\n { \n s += ch;\n Polish.exp.addElement(s);\n s = \"\";\n }\n }\n// else\n// return false ; // Uncomplete . 5 + -5\n }\n if(s.length() >= 1)\n Polish.exp.addElement(s);\n return true ;\n }", "title": "" }, { "docid": "e89aceda64db9163ae842b0ae9db7b4f", "score": "0.48108503", "text": "static CodeBlock makeNullLiteralExpr(){\n return CodeBlock.of(\"null\");\n }", "title": "" }, { "docid": "7196256b6ba2e3a88ea9257028f4afc8", "score": "0.48088783", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttextArea.append(\"+\");\r\n\t\t\t}", "title": "" }, { "docid": "ed246ad4690dcb2517e3eb55c2827791", "score": "0.47958118", "text": "public void plus(){\n applyPreviousOperator();\n previousOperator = '+';\n displayValue = 0;\n }", "title": "" }, { "docid": "c983ebc14be9c17006254c033c70120d", "score": "0.47931275", "text": "public void blank ()\n {\n\tSystem.out.println ();\n }", "title": "" }, { "docid": "6954f88c08455ecc99471ce127684ac2", "score": "0.47899377", "text": "public Builder clearPlaceholder() {\n bitField0_ = (bitField0_ & ~0x00000001);\n placeholder_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "6954f88c08455ecc99471ce127684ac2", "score": "0.47899377", "text": "public Builder clearPlaceholder() {\n bitField0_ = (bitField0_ & ~0x00000001);\n placeholder_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b4c4b1a7e63c7d3602c2220c163e61f0", "score": "0.47829553", "text": "public String generatePlaceholder(Object theValue) {\n\t\tString placeholder = myBindVariableSubstitutionBase + myBindVariableValues.size();\n\t\tmyBindVariableValues.add(theValue);\n\t\treturn placeholder;\n\t}", "title": "" }, { "docid": "625c17fc781e469ba9722b3068775545", "score": "0.47775537", "text": "@Override\n\tpublic String visitLiteralExpr(LiteralExpr expr, Object arg) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a2fc481dbb82faa086fccb91f4cbe8eb", "score": "0.47467828", "text": "public Expression simplify() {\n return null;\n }", "title": "" }, { "docid": "a47a0f67e1c2ad79296a3874ddeb32f8", "score": "0.4742581", "text": "private void clearSnippet()\n {\n \tjEditorPaneSnippet.setText(\"\");\n }", "title": "" }, { "docid": "34b916ee63fdb43de43709fbbad8c9f4", "score": "0.47399193", "text": "default void replaceWindow() {\n System.out.println(\"Window has been replaced\");\n }", "title": "" }, { "docid": "0c9d50f121aa90c27ffbfe29e3a3e2bb", "score": "0.46987933", "text": "private CharSequence escape( Object value ) {\n\t\treturn Strings.escapeMarkup(value != null ? value.toString() : \"\");\r\n\t}", "title": "" }, { "docid": "a5329074e356bee19300909fd086270f", "score": "0.46956995", "text": "@Override\r\n\tpublic String hotKey() {\r\n\t\treturn \"\";\r\n\t}", "title": "" }, { "docid": "ce4a3081fca439b53826c62258f01bcc", "score": "0.46928406", "text": "public Object getNewExpr() { return newExpr; }", "title": "" }, { "docid": "b39f7b2c12538d48141add2ecff97489", "score": "0.46924517", "text": "@Test\n public void shouldNotAppendString()\n {\n appendIfNotEmpty(text, \" Invoice #\", (String) null, null);\n appendIfNotEmpty(text, \" [\", \"\", \"]\");\n\n assertThat(text.toString(), equalTo(\"Criteria:\"));\n }", "title": "" }, { "docid": "a5d15fb781474d6934aba1abbf51f257", "score": "0.46863595", "text": "public void noSpace()\n {\n spaceFlag = true;\n }", "title": "" }, { "docid": "cf88f322336a21b17bdc342120fface0", "score": "0.46834445", "text": "@Test public void testNullPopupHandler() {\n PrintStream err = System.err;\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n System.setErr(new PrintStream(bytes));\n\n getEngine().setCreatePopupHandler(null);\n executeScript(JS_OPEN_DEFAULT);\n\n System.setErr(err);\n checkErrorOutput(bytes);\n }", "title": "" }, { "docid": "4ed9f76e56eae921521006189dd59d55", "score": "0.46702257", "text": "public static void conjureText() {\n\t\tEZ.removeEZElement(popUpText);\n\t\tpopUpText = EZ.addText(400, 60, \"\", c, 50);\n\t\tpopUpText.setMsg(\"HOSTILE SPIRIT CONJURED\");\n\t\tcr = 7;\n\t}", "title": "" }, { "docid": "79afdc59fff4f2d80b947890bc718a44", "score": "0.46676174", "text": "@FXML\n private void plus_pressed() {\n if (valid.validateOrder(tf_expression.getText(), \"+\")){\n tf_expression.setText(tf_expression.getText() + \"+\");\n }\n\n }", "title": "" }, { "docid": "1c2fc7e3150fce83cafedc1f13ad413a", "score": "0.4665308", "text": "public Builder clearExp() {\n bitField0_ = (bitField0_ & ~0x02000000);\n exp_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1e4f8e2decb3bfc79edbb900895f7490", "score": "0.46498397", "text": "@Override\n\tpublic String asText() {\n\t\treturn value+\"\";\n\t}", "title": "" }, { "docid": "8fe04de29f9d145e40308ea45bfc981b", "score": "0.4644608", "text": "@Override public String strSTART_FILLER() { return \"\"; }", "title": "" }, { "docid": "4e8ad7f81b96d67f4bfb0b4f7ccc3139", "score": "0.46434706", "text": "public JavascriptFunction()\n {\n this(\"\");\n }", "title": "" }, { "docid": "a86e55260850648c871f78afe5a051a8", "score": "0.4636455", "text": "static String setMostRecentExpression() {\r\n \tString buf = \"\";\r\n \tbuf += \"dup\";\r\n \tbuf += \"\\n\";\r\n \tbuf += \"invokestatic \tUtil/setMostRecentExpression(LVariant;)V\";\r\n \t\r\n \t//this is for debugging - it makes every expression print its value when its evaluated\r\n \tbuf += \"\\n\";\r\n \tbuf += \"invokestatic \tUtil/printMostRecentExpression()V\";\r\n \t\r\n \treturn buf;\r\n }", "title": "" }, { "docid": "f58b5be3d2c4f7d67473ca6e18f452f1", "score": "0.463573", "text": "@Override\n\tpublic String emit() {\n\t\treturn \"\" + exp1;\n\t}", "title": "" }, { "docid": "6dcb87d7a37f8be25cdbd49a72647b0a", "score": "0.463105", "text": "protected void writeLn() {\n writeLn(\"\");\n }", "title": "" }, { "docid": "a13f02c1f6599f23dc36185776686a11", "score": "0.46307123", "text": "@Override\n public String evaluateAsString(JellyContext context) {\n StringBuilder buffer = new StringBuilder();\n for (Iterator iter = expressions.iterator(); iter.hasNext(); ) {\n Expression expression = (Expression) iter.next();\n String value = expression.evaluateAsString(context);\n if ( value != null ) {\n buffer.append( value );\n }\n }\n return buffer.toString();\n\n }", "title": "" }, { "docid": "9f3211995b987be245460264f780a4fc", "score": "0.46200597", "text": "@SuppressWarnings(\"static-method\")\n\tprotected XExpression _generate(XNullLiteral literal, IAppendable it, IExtraLanguageGeneratorContext context) {\n\t\tit.append(\"null\"); //$NON-NLS-1$\n\t\treturn literal;\n\t}", "title": "" }, { "docid": "1273c6cf001ba19610e81278d3520b9c", "score": "0.46191978", "text": "protected String getToStringInfix()\r\n/* 43: */ {\r\n/* 44: 76 */ return \" || \";\r\n/* 45: */ }", "title": "" }, { "docid": "e40bbd75ec15fc852fe9618a551ffe54", "score": "0.46180603", "text": "public abstract void appendSpace();", "title": "" }, { "docid": "a54c76ca72dec84ceb27de42b77cd408", "score": "0.461329", "text": "public String IgnoreSpaces(String expr){\n \n String newExpr=\"\";\n for(int i=0;i<expr.length();i++){ \n if(!(expr.charAt(i)==' ')){\n newExpr=newExpr+expr.charAt(i);\n }\n }\n return newExpr;\n \n }", "title": "" }, { "docid": "de7d9eb686a1be9acdd6ce6d3c1a0279", "score": "0.4608988", "text": "public String toString()\r\n {\r\n StringBuffer buff = new StringBuffer();\r\n if (AeUtil.notNullOrEmpty(getExpression()))\r\n buff.append(getExpression());\r\n else if (getLiteral() != null)\r\n buff.append(getLiteral());\r\n else if (AeUtil.notNullOrEmpty(getLogicalPeopleGroup()))\r\n {\r\n buff.append(getLogicalPeopleGroup());\r\n \r\n Iterator iter=getArgumentDefs().iterator();\r\n if(iter.hasNext())\r\n {\r\n buff.append(\" (\"); //$NON-NLS-1$\r\n\r\n boolean addComma = false;\r\n for (; iter.hasNext();)\r\n {\r\n AeArgumentDef arg = (AeArgumentDef)iter.next();\r\n if (addComma)\r\n buff.append(\", \"); //$NON-NLS-1$\r\n else\r\n addComma = true;\r\n buff.append(arg.getName()).append(\"=\").append(arg.getTextValue()); //$NON-NLS-1$\r\n }\r\n buff.append(\")\"); //$NON-NLS-1$\r\n }\r\n }\r\n \r\n return buff.toString();\r\n }", "title": "" }, { "docid": "f8558be9bad3b718228656e7037a98ae", "score": "0.4608836", "text": "@Override\n public String stringRepresentation() {\n return \"λ\";\n }", "title": "" }, { "docid": "4f75721d80f1cc2252a97104c67d5aba", "score": "0.46067286", "text": "@Test\n public void shouldNotAppendNumber()\n {\n appendIfNotEmpty(text, \" Invoice #\", (Number) null, null);\n appendIfNotEmpty(text, \" [\", 0L, \"]\");\n\n assertThat(text.toString(), equalTo(\"Criteria:\"));\n }", "title": "" }, { "docid": "24001caf1216f8845dc3199c55ecf037", "score": "0.46058083", "text": "protected String getClearDatabaseXquery() {\r\n return \"xdmp:forest-clear(xdmp:database-forests(xdmp:database()))\";\r\n }", "title": "" }, { "docid": "216fa41725b408b0a551fa1ebf08c2cd", "score": "0.46024936", "text": "@Test\r\n public void utilNl() {\r\n // compared with empty string, because query() removes all newlines\r\n query(Variable._UTIL_NL.toString(), \"\");\r\n }", "title": "" }, { "docid": "b7c7104e8501f15e62b64b51244051c3", "score": "0.4595476", "text": "public Builder clearConstantOperand() {\n if (constantOperandBuilder_ == null) {\n if (functionArgumentOperandCase_ == 1) {\n functionArgumentOperandCase_ = 0;\n functionArgumentOperand_ = null;\n onChanged();\n }\n } else {\n if (functionArgumentOperandCase_ == 1) {\n functionArgumentOperandCase_ = 0;\n functionArgumentOperand_ = null;\n }\n constantOperandBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "0a58cca70255798e14883cd7fa88ba66", "score": "0.45954356", "text": "default boolean addQuote() {\n return false;\n }", "title": "" }, { "docid": "b3985b7ecb53707c5425fd88f7e3c2de", "score": "0.45925492", "text": "public void testSimpleWindow() throws Exception\n {\n executeWindowTest(BUILDER_SIMPLE, FLAGS + \"]\" + CONTAINER_EMPTY);\n }", "title": "" }, { "docid": "67057883204489c949711e4852ca39bf", "score": "0.45923832", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"( )\";\n\t}", "title": "" }, { "docid": "7c186603ca965a566d27df1b8c0e3f02", "score": "0.45866293", "text": "public static String dummy() {\n// System.out.println(\"dfdfsdf\");\n return(\"\");\n }", "title": "" }, { "docid": "96cf2c1f9db8037f47794294681b5532", "score": "0.45847294", "text": "protected void appendNullText(StringBuilder buffer) {\r\n\t\tbuffer.append(nullText);\r\n\t}", "title": "" }, { "docid": "2e54a8f502abedabf43360cec6b7bce2", "score": "0.4580689", "text": "private void insertNewExpression(WeightedRegularExpression expression) {\n\t\tWeightedRegularExpression parent = this.selectedExpression.getParent();\n\n\t\tif (parent == null) {\n\n\t\t\texpression.setAlphabet(this.expressionRoot.getAlphabet());\n\t\t\texpression.setWeight(this.expressionRoot.getWeight());\n\t\t\texpression.setWritingData(this.expressionRoot.getWritingData());\n\t\t\tthis.expressionRoot = expression;\n\n\t\t} else { // End if (parent == null)\n\n\t\t\tif (WeightedRegularExpression.ExpressionWithOneChildExpression.class.isInstance(parent)) {\n\t\t\t\t((WeightedRegularExpression.ExpressionWithOneChildExpression) parent).setExpression(expression);\n\t\t\t} else if (WeightedRegularExpression.ExpressionWithTwoChildrenExpressions.class.isInstance(parent)) {\n\t\t\t\tWeightedRegularExpression.ExpressionWithTwoChildrenExpressions parentWithTwoChildren = (WeightedRegularExpression.ExpressionWithTwoChildrenExpressions) parent;\n\t\t\t\tif (this.selectedExpression.equals(parentWithTwoChildren.getLeftExpression())) {\n\t\t\t\t\tparentWithTwoChildren.setLeftExpression(expression);\n\t\t\t\t} else if (this.selectedExpression.equals(parentWithTwoChildren.getRightExpression())) {\n\t\t\t\t\tparentWithTwoChildren.setRightExpression(expression);\n\t\t\t\t}\n\t\t\t}\n\n\t\t} // End else part of if (parent == null)\n\n\t\tif (WeightedRegularExpression.ExpressionWithOneChildExpression.class.isInstance(expression)) {\n\t\t\t((WeightedRegularExpression.ExpressionWithOneChildExpression) expression).setExpression(this.selectedExpression);\n\t\t} else if (WeightedRegularExpression.ExpressionWithTwoChildrenExpressions.class.isInstance(expression)) {\n\t\t\t((WeightedRegularExpression.ExpressionWithTwoChildrenExpressions) expression).setLeftExpression(this.selectedExpression);\n\t\t}\n\n\t\tthis.expressionDisplay.setText(this.expressionRoot.toString());\n\n\t\tif (WeightedRegularExpression.ExpressionWithTwoChildrenExpressions.class.isInstance(expression)) {\n\t\t\tthis.setSelectedExpression(((WeightedRegularExpression.ExpressionWithTwoChildrenExpressions) expression).getRightExpression());\n\t\t} else {\n\t\t\tthis.setSelectedExpression(expression);\n\t\t}\n\t}", "title": "" }, { "docid": "312d58c83ad19dff41503d62c35a566f", "score": "0.4569221", "text": "public void clear() {\n outputArea.setText (\"\");\n }", "title": "" }, { "docid": "38b4dd548015a84aa021cfc2f72fdcde", "score": "0.45675716", "text": "public static Expression expressionBuilder(String raw)\n {\n raw = raw.replace(\"÷\",\"/\");\n raw = raw.replace(\"x\",\"*\");\n\n\n return new Expression(raw);\n }", "title": "" }, { "docid": "823c35cdfc7a28751454d3e0aa00aa68", "score": "0.4566646", "text": "public CalcEngine(){\n displayValue = 0;\n previousOperator = ' ';\n leftOperand = 0;\n }", "title": "" }, { "docid": "de056426c7291aacb52a00650ca36856", "score": "0.45607844", "text": "public void expandedForm(){\n\t\tStringBuilder sb = new StringBuilder(new String());\n\t\tString[] seperated = formula.split(\" \");\n\t\tfor(String s : seperated){\n\t\t\tif(!s.equals(String.valueOf(variable)) && s.contains(String.valueOf(variable))){ \t//handles when concat x e.g. 5x and ignores if x is by itself\n\t\t\t\tchar var = s.charAt(s.length()-1);\n\t\t\t\tString num = s.substring(0, s.length()-1);\n\t\t\t\tsb.append(\"( \" + num + \" * \" + var + \" ) \");\n\t\t\t}else{\n\t\t\t\tsb.append(s + \" \");\n\t\t\t}\n\t\t}\n\t\tformula = sb.toString();\n\t}", "title": "" }, { "docid": "af1bc943ac2a73c868530b9ae2488980", "score": "0.45504242", "text": "public String blankLine() {\n output = \"/n\";\n return output;\n }", "title": "" }, { "docid": "b37d9b69d377b8558baad62cc0dc748b", "score": "0.45474923", "text": "@Override\n\tpublic String visitNewObjectExpr(NewObjectExpr expr, Object arg) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4dafc4b924c079a2a46bcac0ff64d35e", "score": "0.45468512", "text": "public void clear()\r\n/* 116: */ {\r\n/* 117:127 */ this.text = \"\";\r\n/* 118:128 */ setText(this.text);\r\n/* 119: */ }", "title": "" }, { "docid": "2da244499de8f0f4a6ff9aff1cee60da", "score": "0.4544803", "text": "public void cleanStr() {\n\t\tlatexStr = \"\";\n\t}", "title": "" }, { "docid": "5a4762725da550df3ae49124e2c9dc3a", "score": "0.45390198", "text": "public void clearEntry() {\n currentStage.setOperand(null);\n currentStage.clearUnaryOperators();\n }", "title": "" }, { "docid": "33a664885f85962c7e1ce98cc728d35b", "score": "0.45385364", "text": "public STEExpression addExpression( String def ) {\n STEExpression entry = makeExpression( def );\n if ( entry == null ) {\n // there was some error\n return null;\n }\n controls.addExpression(entry);\n return entry;\n }", "title": "" }, { "docid": "ad6994c7d04919449cde5527325aca6f", "score": "0.453836", "text": "@Override\n\tpublic void printExp() {\n\n\t}", "title": "" }, { "docid": "b22f80e875c9efbe367e63a746009c03", "score": "0.45194516", "text": "public GWindow() {\n\t\tthis(null);\n\t}", "title": "" }, { "docid": "3c95a991f85be1fe3424388ea40d4d77", "score": "0.45151117", "text": "public void setRModule_Equal_EmptyString() {\r\n regRModule(CK_EQ, \"\");\r\n }", "title": "" }, { "docid": "59b5390f98f4eb6c184c003a2115a2e3", "score": "0.4506568", "text": "public Builder clearWindowId() {\n\n windowId_ = getDefaultInstance().getWindowId();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ce5ef72824991de3e7d83592f92f638e", "score": "0.45059106", "text": "public StringBuffer toXML () {\r\n StringBuffer sb = new StringBuffer (500);\r\n sb.append (\"<ogc:\").append (getOperatorName ()).append (\" wildCard=\\\"\").\r\n append (wildCard).append (\"\\\" singleChar=\\\"\").append (singleChar).\r\n append (\"\\\" escape=\\\"\").append (escapeChar).append (\"\\\">\").\r\n append (propertyName.toXML ()).append (literal.toXML ());\r\n sb.append (\"</ogc:\").append (getOperatorName ()).append (\">\");\r\n return sb;\r\n }", "title": "" }, { "docid": "896e2acbf6b18b82b977158f88220ea4", "score": "0.45037463", "text": "public WhitespaceState() {\n\tsetWhitespaceChars(0, ' ', true);\n}", "title": "" }, { "docid": "f5728149e1de74c82d3b5aee61a767ba", "score": "0.45025203", "text": "public static void BlankRow()\n\t {\n\t Reporter.log(\" \");\n\t System.out.println(\" \");\n\t }", "title": "" }, { "docid": "4d0ea0404933ad7bac49b83e52140f63", "score": "0.45023167", "text": "public Builder clearDebugModeNull() {\n \n debugModeNull_ = false;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "fb7cb8b02f675ffce8783412df652692", "score": "0.45019034", "text": "public IExpressionBuilder addExpression() {\n\t\treturn this.builder.addExpression();\n\t}", "title": "" }, { "docid": "d638e3c4e9c37d71a2fcaf8efb841d6c", "score": "0.4497619", "text": "public String wrap() {\n return \"%\" + variable() + \"%\";\n }", "title": "" }, { "docid": "d50170974f55fb5e7a8150d9583a68e0", "score": "0.44948453", "text": "void onUndefined(String expressionId);", "title": "" }, { "docid": "d7cc75eff1cd0b3ee52131005307abe3", "score": "0.44910997", "text": "@Override\n public void styledSpace() {\n buffer.append(' ');\n }", "title": "" }, { "docid": "a21066bc3dd50c696171706064667684", "score": "0.44906333", "text": "public Builder clearWeekAddExp() {\n bitField0_ = (bitField0_ & ~0x00000020);\n weekAddExp_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "cc49d0ed15e09f48adea57d3e9111547", "score": "0.44855294", "text": "public String getExpression()\n {\n return String.format(\"window.Ext.getCmp('%s')\", getComponentId());\n }", "title": "" }, { "docid": "6220990c52a908cdea7ee527782908b1", "score": "0.44830275", "text": "@Override\n\tpublic void createNewWindow() {\n\t}", "title": "" }, { "docid": "dd79c5e78fda704decd50507091d1a83", "score": "0.447738", "text": "public void newToken(){\r\n\t\ttokens.add(new ExpressionToken());\r\n\t\tpos = tokens.size() - 1;\r\n\t}", "title": "" }, { "docid": "a26fc597383ec923130bed46eb569716", "score": "0.44746503", "text": "@Override\n\tpublic StringExpression stringResult() {\n\t\treturn new StringExpression(new DBUnaryStringFunction(this) {\n\t\t\t@Override\n\t\t\tpublic String toSQLString(DBDatabase db) {\n\t\t\t\treturn db.getDefinition().doNumberToStringTransform(super.only.toSQLString(db));\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tString getFunctionName(DBDatabase db) {\n\t\t\t\tthrow new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic boolean getIncludesNull() {\n\t\t\t\treturn only.getIncludesNull();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "5530561ccf45ef80cbec799da001c58c", "score": "0.44730312", "text": "@Override\r\n\tpublic void handel(Plus symbol) {\r\n\t\tthis.finalExpression = this.expression1;\r\n\t}", "title": "" }, { "docid": "d81a84a23f98f6eb094e962a9576f1ae", "score": "0.44717363", "text": "public static void removeConjureText() {\n\t\tEZ.removeEZElement(popUpText);\n\t\tcr++;\n\t}", "title": "" }, { "docid": "1e49d1ecadce27df18ba704466ce3a0b", "score": "0.44687185", "text": "@Override\n public String getValue() {\n StringBuilder builder = new StringBuilder(\"{\");\n\n /* append the operator */\n this.getOperator().ifPresent(builder::append);\n\n /* append the variables */\n Iterator<ExpressionVariable> variableIterator = this.variables.iterator();\n while (variableIterator.hasNext()) {\n ExpressionVariable variable = variableIterator.next();\n builder.append(variable);\n if (variableIterator.hasNext()) {\n builder.append(Expression.DEFAULT_SEPARATOR);\n }\n }\n\n /* close the expression */\n builder.append(\"}\");\n return builder.toString();\n }", "title": "" }, { "docid": "1d21b399c38b4047b30a8f6ea7a6469c", "score": "0.44682762", "text": "@Override\n protected void operation() {\n m_stdEditPanel.setNameString(name);\n }", "title": "" }, { "docid": "ca19f3971204de588c6c408b8a1d0935", "score": "0.44665903", "text": "public Builder clearWindowOpen() {\n\n windowOpen_ = false;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1e887d1b88757ef3253dc3d0e4532016", "score": "0.44651017", "text": "@Override\n\tpublic void insertXsxxxg() {\n\n\t}", "title": "" }, { "docid": "9bb358859139ab92724465a95c5f20be", "score": "0.44558036", "text": "@Override\n public String literal()\n {\n if (literal != null)\n {\n return literal;\n }\n return literal = '.' + getIdentifier();\n }", "title": "" }, { "docid": "098f3bdfbf61f562769cba69898f37fd", "score": "0.4454418", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttextArea.append(\"*\");\r\n\t\t\t}", "title": "" }, { "docid": "48772b92dd8d6562dd7ce25d0b89596d", "score": "0.4453995", "text": "public NumberExpression exp() {\n\t\treturn new NumberExpression(new DBUnaryFunction(this) {\n\n\t\t\t@Override\n\t\t\tpublic String toSQLString(DBDatabase db) {\n\t\t\t\tif (!db.getDefinition().supportsExpFunction() && (this.only instanceof NumberExpression)) {\n\t\t\t\t\treturn (new NumberExpression(Math.E)).power(this.only).toSQLString(db);\n\t\t\t\t} else {\n\t\t\t\t\treturn super.toSQLString(db); //To change body of generated methods, choose Tools | Templates.\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tString getFunctionName(DBDatabase db) {\n\t\t\t\treturn db.getDefinition().getExpFunctionName();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "99e14eca1e35cff7df0db7ca81d6b7bc", "score": "0.4451565", "text": "private void showEmptyDatabaseError() {\n DesktopManager.showErrorMessage(Locale.getString(\"NO_QUOTES_FOUND\"));\n }", "title": "" } ]
40f975ff303aa1d15e60cb9ffc35b1ea
required string k = 1;
[ { "docid": "e4213877ef3bb01227de3b09ac5292f9", "score": "0.0", "text": "public boolean hasK() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "d94a8c0e54be696c94f6c4f6dcc498e1", "score": "0.63817596", "text": "public static void comb1(String s, int k) { comb1(s, \"\", k); }", "title": "" }, { "docid": "cb0180b9e6e18cfbef6f91d6fd6cccda", "score": "0.610796", "text": "public String k()\r\n/* 62: */ {\r\n/* 63: 83 */ return this.b.k();\r\n/* 64: */ }", "title": "" }, { "docid": "cf92844adc6a9db76defe32ff2da3868", "score": "0.59652984", "text": "static int type_of_jm(String passed){\n return 1;\n }", "title": "" }, { "docid": "c9eb917ea85fcb2d0128703088998899", "score": "0.59547985", "text": "void mo3638a(String str);", "title": "" }, { "docid": "a4664d4d979d2e671ed9803358a14217", "score": "0.5951287", "text": "java.lang.String getK();", "title": "" }, { "docid": "a4664d4d979d2e671ed9803358a14217", "score": "0.5951287", "text": "java.lang.String getK();", "title": "" }, { "docid": "b16ecd1ea7ba1bf2b94253e6d33bf3fc", "score": "0.5855099", "text": "void mo2301v(String str);", "title": "" }, { "docid": "4afbfeef17cda0f5614708fd7816199d", "score": "0.58383393", "text": "int mo25340a(String str, int i);", "title": "" }, { "docid": "fbba41fb2a0f9304f2bc93c9b933c812", "score": "0.5831415", "text": "void mo23013bN(String str, int i);", "title": "" }, { "docid": "2334236cce555fd6ba61a5c32d684960", "score": "0.5825112", "text": "public static void comb2(String s, int k) { comb2(s, \"\", k); }", "title": "" }, { "docid": "78c93588797c7019022153a1f02ba985", "score": "0.5824677", "text": "public void incrementa(int k)\r\n {\r\n String t = \"\";\r\n int start = 0;\r\n for (int i = 0; i < k; i++)\r\n t += \"O\";\r\n for (int i = 0; i < s.length(); i++)\r\n {\r\n if (s.charAt(i) == '=') start = i;\r\n break;\r\n }\r\n String primaMeta = s.substring(0, start);\r\n s = primaMeta+t;\r\n int differenza = lunghezza-s.length();\r\n for (int i = 0; i < differenza; i++)\r\n s += \"=\";\r\n }", "title": "" }, { "docid": "e1bde6032dc871f0a7fc29c84ead9c12", "score": "0.5821321", "text": "public void mo10305a(int i, String str) {\n }", "title": "" }, { "docid": "01ed5f675ec58f81e7ef9465da2fab5c", "score": "0.58212537", "text": "static int type_of_jnz(String passed){\n return 1;\n }", "title": "" }, { "docid": "4df820fc128a17a48ef037c76ff9095b", "score": "0.5810799", "text": "void mo46262cn(String str, int i);", "title": "" }, { "docid": "af2ef7c4f2ade8078e8279aae1da4c09", "score": "0.5808754", "text": "void mo34860a(String str);", "title": "" }, { "docid": "f55c4e197dbf4608bebff0d81f89b750", "score": "0.5806857", "text": "void mo47995bw(int i, String str);", "title": "" }, { "docid": "62ff9c7f4921d030547c3ff9e864ebc3", "score": "0.580236", "text": "void mo46263co(String str, int i);", "title": "" }, { "docid": "4025136dbf7842a0d99a4cd8e92433ce", "score": "0.58023465", "text": "public void mo3758c(String str, int i) {\n }", "title": "" }, { "docid": "e55c10524066ea6ccdd693aceae530d6", "score": "0.57975477", "text": "void mo12909a(String str);", "title": "" }, { "docid": "9149b77c2bf3e06bb474419929eb6c77", "score": "0.57783234", "text": "static int type_of_cpi(String passed){\n return 1;\n }", "title": "" }, { "docid": "d7d9e2f0ca4d6c3bb3df9deadf9ab1e9", "score": "0.57717395", "text": "public void setK(int k) {\n this.k = k;\n }", "title": "" }, { "docid": "7800cd3ec3b339ac985394f6525eba33", "score": "0.57465553", "text": "static int stringTransmission(int k, String s) \n {\n \tif(k==0)\n \t\treturn 0;\n \t\n \tint count = 1; \t\n \tint[] arr = new int[s.length()];\n \t\n \tfor(int i=0; i<arr.length; i++)\n \t\tarr[i] = s.charAt(i)-48;\n \t\n \tSet<String> list = new HashSet<String>();\n \t\n \twhile(k>0)\n \t{ \t\t \t\t\n \t\tindexesCombination(arr, arr.length, k, list); \t\t\n \t\tk--;\n \t}\n \t\n \tfor(String str : list)\n\t\t\tif(!isRepeat(str))\n\t\t\t\tcount++;\n \t\n \treturn count;\n }", "title": "" }, { "docid": "5b701c08afed70f603d3cfe72678c71b", "score": "0.5732381", "text": "public final void mo11317ki(String str) {\n }", "title": "" }, { "docid": "7745a830c2031509015e404b17eec44e", "score": "0.5732029", "text": "void mo34382a(String str);", "title": "" }, { "docid": "07d186799620f34ee6478942a6ce8bcf", "score": "0.5719711", "text": "void mo23012GS(String str);", "title": "" }, { "docid": "d1bdbe25c5b54de2e022c96b5a0a0fc8", "score": "0.57060033", "text": "static int type_of_jz(String passed){\n return 1;\n }", "title": "" }, { "docid": "e8b96cda400824f5529a9a4afc334c24", "score": "0.5689312", "text": "static int type_of_jpo(String passed){\n return 1;\n }", "title": "" }, { "docid": "1c9cd1a0c441a2850b09c8a794d57c14", "score": "0.5688625", "text": "static int size_of_cpi(String passed){\n return 2;\n }", "title": "" }, { "docid": "55b9e3482998109a3d2dcae8d8618928", "score": "0.5680707", "text": "public void setK(int i) {\n k = i;\n }", "title": "" }, { "docid": "2a7fee90eb763a6838e45eff8ae89aa3", "score": "0.5674981", "text": "static int type_of_rnz(String passed){\n return 1;\n }", "title": "" }, { "docid": "7af512725b49862920698bde0ac7fac5", "score": "0.56670696", "text": "static int size_of_jm(String passed){\n return 3;\n }", "title": "" }, { "docid": "514b987637f704682088673b97ce34e5", "score": "0.5663743", "text": "void mo4533a(String str);", "title": "" }, { "docid": "0966a676d03d8fda7f308c8be3f62410", "score": "0.5661294", "text": "public abstract String put(int k, String v);", "title": "" }, { "docid": "840c68c8a940d733571bf7f4d07e6208", "score": "0.5658781", "text": "public void mo9293a(String str) {\n }", "title": "" }, { "docid": "51067ada56eb37fc7cf9f6f93b7bf38c", "score": "0.5656674", "text": "void mo59998a(String str);", "title": "" }, { "docid": "af0e613d7313b62db3bd74a21451169f", "score": "0.5646656", "text": "private static void m262a(String str) {\n }", "title": "" }, { "docid": "7de390497d1feb8650901b7d46b1098e", "score": "0.5644266", "text": "void mo17349a(int i, String str, String str2);", "title": "" }, { "docid": "4d06babff6ecf80f59526806869e45de", "score": "0.564424", "text": "abg<String> mo13092b(String str);", "title": "" }, { "docid": "55e15cc6d3493966866a550e57b03085", "score": "0.5625987", "text": "static int type_of_jpe(String passed){\n return 1;\n }", "title": "" }, { "docid": "3e26ed09ddb09ea33f05ca256b637e14", "score": "0.5609741", "text": "static int type_of_inx(String passed){\n return 1;\n }", "title": "" }, { "docid": "f70fa3bc1e6e2bf952c845886001f11b", "score": "0.5608666", "text": "void mo53649xC(String str);", "title": "" }, { "docid": "e037213225c0ebeb8d1c0415071545d7", "score": "0.56069136", "text": "public void mo1706b(String str) {\n }", "title": "" }, { "docid": "7ca263e921bf8058775d5632b175c723", "score": "0.5597333", "text": "static int type_of_pchl(String passed){\n return 1;\n }", "title": "" }, { "docid": "7c1cf015d26050d523a06d1fa0809a42", "score": "0.5579916", "text": "public static String idEmpl(int k){\n\t\tString name;\n\t\tk = k + 1;\n\t\t\n\t\tSystem.out.println(\"Enter employee \" + k + \"'s name: \");\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tname = scan.nextLine();\n\t\t\n\t\treturn name;\n\t}", "title": "" }, { "docid": "f178c13e3e1788c542bc24e0d84d6dee", "score": "0.5579091", "text": "public void mo1702a(String str) {\n }", "title": "" }, { "docid": "1085e361462980e686f046ee2c6aafd9", "score": "0.5579087", "text": "public aql k()\r\n/* 351: */ {\r\n/* 352:363 */ return aql.c;\r\n/* 353: */ }", "title": "" }, { "docid": "93e95cebc93bbfd34e3b233285e3ce25", "score": "0.55676854", "text": "public boolean k_()\r\n/* 90: */ {\r\n/* 91:101 */ return false;\r\n/* 92: */ }", "title": "" }, { "docid": "2a624f6b40ae5ffa406bf4ed9525a45d", "score": "0.55641043", "text": "void mo2304y(String str);", "title": "" }, { "docid": "f025817e0fd2af120dc8bdca5a898875", "score": "0.5557726", "text": "static int size_of_inr(String passed){\n return 1;\n }", "title": "" }, { "docid": "8b63e049bb2e9a7d5c4f30f63c8db2ae", "score": "0.55531454", "text": "void mo2305z(String str);", "title": "" }, { "docid": "cc8a774463d0b64bafcb669597c42ee7", "score": "0.55513686", "text": "public abstract void mo21854b(String str, int i, boolean z, boolean z2);", "title": "" }, { "docid": "b75c78262c2c4ab9482c7568c262ea30", "score": "0.55453783", "text": "static int type_of_xthl(String passed){\n return 1;\n }", "title": "" }, { "docid": "353f34a049d14bcfd6167105b4249599", "score": "0.55364877", "text": "public static void setKeyString(String kString){\n keyString=kString;\n }", "title": "" }, { "docid": "dfb29adb5ba84e454aec93384b49781a", "score": "0.55004805", "text": "void mo34394a(int i, int i2, String str, C7472b c7472b);", "title": "" }, { "docid": "1d2f5b6fb252972a68e3f652d8564352", "score": "0.54995143", "text": "zzaan mo2758c(String str);", "title": "" }, { "docid": "6e80a0856455793bbdc4710b91de654f", "score": "0.549516", "text": "static int type_of_cz(String passed){\n return 1;\n }", "title": "" }, { "docid": "a45a227cfe337dbb27c2a660f84a6999", "score": "0.5492411", "text": "int mo2976a(K k, V v);", "title": "" }, { "docid": "9d830b6441080e3d39b2eac3402f7a43", "score": "0.5491802", "text": "static int size_of_aci(String passed){\n return 2;\n }", "title": "" }, { "docid": "e02417356f5df554f2340ba8cd3933c2", "score": "0.5487199", "text": "public int getK() {\n return k;\n }", "title": "" }, { "docid": "a678e103b7e5f0476f703afdcfbb848c", "score": "0.54869217", "text": "static int size_of_jc(String passed){\n return 3;\n }", "title": "" }, { "docid": "22f6f563720c4a9c41aa4e5428d2e4a2", "score": "0.5486268", "text": "void mo46250C(String str, String str2, int i);", "title": "" }, { "docid": "f39d700ad1b6ee001cadc570b2d8b888", "score": "0.54859763", "text": "void mo46248A(String str, String str2, int i);", "title": "" }, { "docid": "cd073778ef88b7abecde6a2d057f5fbb", "score": "0.5481837", "text": "static int type_of_adi(String passed){\n return 1;\n }", "title": "" }, { "docid": "cadf8f2ee9918f00687c932f82686104", "score": "0.5479453", "text": "static int type_of_aci(String passed){\n return 1;\n }", "title": "" }, { "docid": "3f5ff57751bdecf621011252909e214a", "score": "0.5477329", "text": "abstract public int getInt(String k, int defaultValue);", "title": "" }, { "docid": "6751425695451b27af605e92d3dbd95a", "score": "0.5476788", "text": "abg<String> mo13091a(String str);", "title": "" }, { "docid": "da4f116a231d3777567c777b990fc5ba", "score": "0.5475302", "text": "static int size_of_daa(String passed){\n return 1;\n }", "title": "" }, { "docid": "8196fa337de93757a3215366c09459db", "score": "0.5474912", "text": "static int size_of_adi(String passed){\n return 2;\n }", "title": "" }, { "docid": "fecb76c2350b47c169c6a585f3194f4a", "score": "0.54738456", "text": "static int type_of_jc(String passed){\n return 1;\n }", "title": "" }, { "docid": "9286b6905c17217c4ba92e643dccc894", "score": "0.5466866", "text": "public void setKtype_string(String ktype) {\n\t\t\n\t}", "title": "" }, { "docid": "45f1b88e6c45d7c0e12e212090b6e059", "score": "0.5461481", "text": "static int type_of_cm(String passed){\n return 1;\n }", "title": "" }, { "docid": "733c8905170709c47ea72e1be4b863c7", "score": "0.54613507", "text": "void mo46264cp(String str, int i);", "title": "" }, { "docid": "10b4a17e632bd06e4a311afd17045e88", "score": "0.54562986", "text": "static int type_of_jnc(String passed){\n return 1;\n }", "title": "" }, { "docid": "001122526bd5dfd4ba2e7c30b8aa7489", "score": "0.54497075", "text": "void mo39642a(String str);", "title": "" }, { "docid": "54bc2ba97e9e974b5e9432cf36046b28", "score": "0.5442763", "text": "static int size_of_jz(String passed){\n return 3;\n }", "title": "" }, { "docid": "b9a622a6ac29c0199b671b748960c86f", "score": "0.543576", "text": "static int type_of_sta(String passed){\n return 1;\n }", "title": "" }, { "docid": "cd34d452fb269a6e6a8d90a28101abd4", "score": "0.5434115", "text": "void mo9876a(int i, int i2, String str, C40442x c40442x);", "title": "" }, { "docid": "2c19ee35446ee5997c34525185652e03", "score": "0.54310465", "text": "void mo33844e(String str, int i, C2275bn bnVar) throws RemoteException;", "title": "" }, { "docid": "0d7da4228ae74f9f3e8bbe834787ca49", "score": "0.5429916", "text": "String lhs();", "title": "" }, { "docid": "cd322088f53c455c5b5e80f8e85141d8", "score": "0.54262257", "text": "String mo44976i();", "title": "" }, { "docid": "e1ce5d1aed08166db11921eef9776161", "score": "0.54258513", "text": "static int size_of_jnz(String passed){\n return 3;\n }", "title": "" }, { "docid": "6c00849e41dbb97182209677362bdc7d", "score": "0.5425069", "text": "static int type_of_in(String passed){\n return 1;\n }", "title": "" }, { "docid": "e0a439cbcb2250fb9c85f1a06f4d0bca", "score": "0.5424273", "text": "void mo21481a(String str, long j, Map<String, String> map);", "title": "" }, { "docid": "0f1c3f25038a24576a64b3b8d41c7a06", "score": "0.5416676", "text": "String mo24005a();", "title": "" }, { "docid": "353bd2ee058d6fa877381c14557b141c", "score": "0.5416011", "text": "void mo1733i(String str, String str2);", "title": "" }, { "docid": "33754509963c0df8d916944117cc9621", "score": "0.5414361", "text": "public void mo2065a(String str) {\n }", "title": "" }, { "docid": "39d33b5189a8ef3d029316b462715403", "score": "0.5405544", "text": "int getKerning(String characterName, String secondCharacterName);", "title": "" }, { "docid": "86719c7d099b047392176365f9251905", "score": "0.54013795", "text": "void mo27405a(C11384c cVar, String str, String str2, int i);", "title": "" }, { "docid": "2de9aad510873838bcee4a55f0cc965e", "score": "0.5400919", "text": "private static String nextUnique(String s, int start, int k){\n Map<Character,Integer> map = new HashMap<>();\n int l=start;\n for(int i=start; i<s.length(); i++){\n char c = s.charAt(i);\n if(map.containsKey(c)){\n l=Math.max(map.get(c)+1,l-1);\n }\n if(i-l+1 == k){\n return s.substring(l,i+1);\n }\n map.put(c,i);\n }\n return null;\n }", "title": "" }, { "docid": "8af9043eaf0b59cf1571e40c645bd042", "score": "0.5392204", "text": "static int type_of_cmc(String passed){\n return 1;\n }", "title": "" }, { "docid": "693ae1b8949b1a8f116e480e22147a12", "score": "0.5382688", "text": "public abstract void mo20069a(String str);", "title": "" }, { "docid": "28c517aa1404d044158747969fe3a938", "score": "0.53800315", "text": "void mo2303x(String str);", "title": "" }, { "docid": "32243498b5cd77e1e9bb583adb998acd", "score": "0.5369182", "text": "static int size_of_ana(String passed){\n return 1;\n }", "title": "" }, { "docid": "2d0ac923b140eba6d4a559fe16574bcf", "score": "0.53675014", "text": "String mo17354b();", "title": "" }, { "docid": "c31eb80bcec526d4a45cc7fddc6795e0", "score": "0.53648937", "text": "static int size_of_inx(String passed){\n return 1;\n }", "title": "" }, { "docid": "409a71a8d48c591e33968862fdd4fa96", "score": "0.5363981", "text": "C4432e1 mo15391c(String str);", "title": "" }, { "docid": "10c7b3b51f1481420dc59020056309f6", "score": "0.5359009", "text": "void mo2302w(String str);", "title": "" }, { "docid": "38b34477043b5276b124f05c9d7d87dc", "score": "0.5353429", "text": "CountMap(int k) {\n m_minLetters = k;\n }", "title": "" }, { "docid": "c14320d883ca295c83ca9057dd7e5d4a", "score": "0.5350395", "text": "void mo46249B(String str, String str2, int i);", "title": "" }, { "docid": "91da806e2428f811ed9996f6acd94217", "score": "0.5349625", "text": "public static int m2742P1(C2279k8 k8Var) {\n int ordinal = k8Var.ordinal();\n int i = 1;\n if (ordinal != 1) {\n i = 2;\n if (ordinal != 2) {\n if (ordinal == 3) {\n return 3;\n }\n String valueOf = String.valueOf(k8Var);\n throw new GeneralSecurityException(C0843a.m455p(new StringBuilder(valueOf.length() + 20), \"unknown curve type: \", valueOf));\n }\n }\n return i;\n }", "title": "" }, { "docid": "b788577341b639f210e47231b4e6381e", "score": "0.53483874", "text": "public Builder setK(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n k_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
f24ad70e81bd9599c859ac5bb8542d73
Called when a line is cleared from the buffer of known lines.
[ { "docid": "10aff113ca515b9db75b9daecb74af3b", "score": "0.6820024", "text": "public void outputLineCleared(OutputEvent ev) {\n doDetach();\n }", "title": "" } ]
[ { "docid": "3cd2a9d92103208a4a546ec6d12d5ae0", "score": "0.74894106", "text": "public void clearLines() {\n lines.clear();\n}", "title": "" }, { "docid": "7fea5c53a5caca153f562415f9c94ad6", "score": "0.68338996", "text": "public Builder clearLine() {\n \n line_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "62c569ca9cb047a7085b06b8e2bb81d5", "score": "0.6560171", "text": "public void clear() {\n\t\tlines = new ArrayList<String>();\n\t\tlineDisplay = new ArrayList<String>();\n\t}", "title": "" }, { "docid": "2cb4e9a8ed1c790292ededecc500ceaf", "score": "0.6466782", "text": "public void deleteLineId() {\r\n/* 114 */ this._has_lineId = false;\r\n/* */ }", "title": "" }, { "docid": "2f9ee33c31be8ac4a27fd8bd86ffe235", "score": "0.6452925", "text": "public void reset(){\r\n line_number = 1;\r\n }", "title": "" }, { "docid": "bf788937f00fa1f9c8d178501555c04e", "score": "0.64378464", "text": "public void clearLine(int line){\n\r\n for(int i = 0; i < 10; i++){\r\n tetField[i][line] = false;\r\n colField[i][line] = null;\r\n }\r\n\r\n //then scans every line preceding it drop it 1 row (add 1 to y)\r\n for(int k = line; k >= 1; k--){\r\n for(int i = 0; i < 10; i++){\r\n tetField[i][k] = tetField[i][k-1];\r\n colField[i][k] = colField[i][k-1];\r\n }\r\n }\r\n }", "title": "" }, { "docid": "a11576a7f8367fbeb2c7873cb92dfa82", "score": "0.6277925", "text": "static void lineclear(int off, int width)\n {\n BFILL(screenLines, off, (byte)' ', width);\n AFILL(screenLinesUC, off, 0, width);\n AFILL(screenAttrs, off, 0, width);\n }", "title": "" }, { "docid": "784b3e8e36d2ba555bfb858eeb2c252a", "score": "0.6226685", "text": "public void clear(){\n sequenceList.clear(); \n\t\tscanner = null;\n\t\toldLine = null;\n\t }", "title": "" }, { "docid": "a7be2740aafd66b5d1c57cc2cb369a45", "score": "0.6225615", "text": "public void clear(){\n orderlines.clear();\n }", "title": "" }, { "docid": "30310548dc48b7a8b35b01023753703b", "score": "0.6164532", "text": "public void clear()\r\n {\r\n synchronized (this.getLock())\r\n {\r\n this.lines = new Vector<Dashboard.Line>();\r\n }\r\n TelemetryDashboardAndLog.this.updateLogCapacity();\r\n }", "title": "" }, { "docid": "86c91057ee78d10f776b751d4e62140d", "score": "0.6104983", "text": "private void clearBuffer() throws IOException {\n \n }", "title": "" }, { "docid": "51b2ef587bf4f70253b70ccbc5b9ce84", "score": "0.60968655", "text": "public void resetLine()\r\n {\r\n northLine = false;\r\n southLine = false;\r\n eastLine = false;\r\n westLine = false;\r\n uncrossable = false;\r\n visited = false;\r\n }", "title": "" }, { "docid": "96cf547c72b22346427688ba7c4cf293", "score": "0.60898757", "text": "public void removeLine() {\n if (matrix.size() > 0) {\n matrix.remove(matrix.size() - 1);\n }\n }", "title": "" }, { "docid": "09aa9fcb6a11aab6bda1fd98098a07ca", "score": "0.60626805", "text": "public void clearLifelines();", "title": "" }, { "docid": "1c3ad83917996068a66a2b99b6005a5e", "score": "0.6060734", "text": "public void resetAllLines()\n {\n if ((m_model == null) || (m_modelCache == null))\n return;\n for (int i = 0; i < m_modelCache.size(); i++)\n {\n CalendarCache calCache = this.getCacheItem(i);\n if (calCache == null)\n break;\n calCache.setLine(-1);\n }\n }", "title": "" }, { "docid": "e987b7df2d776ad47249dd2f83c73b50", "score": "0.603874", "text": "public void completeLine() {\n int count = HeaderCard.FITS_HEADER_CARD_SIZE - this.charCount % HeaderCard.FITS_HEADER_CARD_SIZE;\n if (count < HeaderCard.FITS_HEADER_CARD_SIZE) {\n this.buffer.append(FitsLineAppender.FULL_CARD_AS_SPACES, 0, count);\n }\n // line completed start with 0;\n this.charCount = 0;\n }", "title": "" }, { "docid": "27feddb4cbb37577c16deba713e79434", "score": "0.6022712", "text": "public void invalidateBuffer()\r\n\t{\r\n\t\tbuffer = null;\r\n\t}", "title": "" }, { "docid": "8ed7d4fbb37edea6cfffdb8e80828687", "score": "0.5985416", "text": "void onCleared();", "title": "" }, { "docid": "e50648fe4ea8d8afa67ce9eebd40eaff", "score": "0.597174", "text": "public void clearTextLine(int index)\n {\n sendCommand(\"clearTextLine \" + index);\n }", "title": "" }, { "docid": "80834e7dc6b3bd99668cdb637743d506", "score": "0.5929693", "text": "public static void clear() {\n buffer.clear();\n scheduleBufferPrint();\n }", "title": "" }, { "docid": "077ba529dc7675df0f6b1cdb276ba84d", "score": "0.5929201", "text": "public void clearAllTextLines()\n {\n sendCommand(\"clearAllTextLines\");\n }", "title": "" }, { "docid": "a606d351de9509505c4af07b7dd40ba0", "score": "0.5918619", "text": "void onPatternCleared();", "title": "" }, { "docid": "adb0f20a2f876ab1904063d04afebd4c", "score": "0.5889536", "text": "public Builder clearLineNumber() {\n \n lineNumber_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "01cf7f60df40d46b96a3bc1c5c4a07a0", "score": "0.58874094", "text": "public static void clear() {\n\t\t((LineReaderImpl) reader).clearScreen();\n\t}", "title": "" }, { "docid": "93d4d3a74b1f4ed511834ad0b5558cda", "score": "0.5868349", "text": "@Override\n public void flush() throws IOException {\n if (sbuf != null && sbuf.length() != 0) {\n lines.add(sbuf.toString());\n sbuf = null; // done with it\n }\n }", "title": "" }, { "docid": "b626b82ac061a7696498c3e0e663aee9", "score": "0.58660764", "text": "public abstract void clearProtocolLocationAddress(ProtocolBase protocol, int lineNumber);", "title": "" }, { "docid": "2eafce501ccd5788a92c3316d479b7f9", "score": "0.5818982", "text": "protected void trackEmptyLine() {\n // care about empty lines before TRLR\n if (!\"TRLR\".equals(tag))\n context.handleWarning(getLines(), RESOURCES.getString(\"read.error.emptyline\"), new Context(gedcom));\n }", "title": "" }, { "docid": "f45e8f580a639d31110ee7158c2fdb02", "score": "0.57901955", "text": "@Override\n public void onClear() {\n }", "title": "" }, { "docid": "f45e8f580a639d31110ee7158c2fdb02", "score": "0.57901955", "text": "@Override\n public void onClear() {\n }", "title": "" }, { "docid": "f45e8f580a639d31110ee7158c2fdb02", "score": "0.57901955", "text": "@Override\n public void onClear() {\n }", "title": "" }, { "docid": "f45e8f580a639d31110ee7158c2fdb02", "score": "0.57901955", "text": "@Override\n public void onClear() {\n }", "title": "" }, { "docid": "30e9865b426d00515c42a3aeffed430e", "score": "0.5775274", "text": "@Override\n\tpublic void clearBuffer(ZEBuffer buf, int offset, int count, ByteBuffer value) {\n\n\t}", "title": "" }, { "docid": "1383bc9149c18e472156baa47c92bfe0", "score": "0.5767939", "text": "void remove(String line);", "title": "" }, { "docid": "a5fbd111b95d905d40050a42fa92839f", "score": "0.5764344", "text": "public static void hb_buffer_clear_contents(@NativeType(\"hb_buffer_t *\") long buffer) {\n long __functionAddress = Functions.buffer_clear_contents;\n if (CHECKS) {\n check(buffer);\n }\n invokePV(buffer, __functionAddress);\n }", "title": "" }, { "docid": "3526f419f58c13c8aa2f94526cf40e9d", "score": "0.57554245", "text": "public void resetBuffer()\n {\n \n }", "title": "" }, { "docid": "31193c7eeae81077652f4ce3335aea25", "score": "0.57432055", "text": "public void deleteLine(int LineId)\n {\n bitmap = Bitmap.createBitmap(100,100,Bitmap.Config.ARGB_8888);\n int looper = 0;\n boolean sign = true;\n /*The following cycle looks for the desired line in the array of lines*/\n while(sign && (looper < ArraySize))\n {\n if(LineArray[looper] != null) sign= !(LineArray[looper].ID == LineId);\n looper++;\n }\n looper--;\n if(sign) return;\n LineArray[looper]=null;\n\n for(looper=0;looper<ArraySize;looper++) // the whole array of lines will be checked\n {\n /* If the actual line object is not null, it can be check the ID, and if it is correct we can set the pixels */\n if((LineArray[looper]!= null) && (LineArray[looper].ID != 0)) setPixels(looper);\n }\n mImageView.setImageBitmap(bitmap);\n }", "title": "" }, { "docid": "ccc81fa8d3c3a11653ff57145d782901", "score": "0.5738862", "text": "CodeWriter resetLine();", "title": "" }, { "docid": "7607c3633de0b0165df77b65e7880752", "score": "0.5735323", "text": "@Override\n public void onClear() {\n\n }", "title": "" }, { "docid": "d237fb06a169cfe0ed6d19f614fa9631", "score": "0.57137394", "text": "public void on_Clear(View view) {\r\n\r\n TextView textView = findViewById(R.id.console);\r\n textView.setTextColor(Color.WHITE);\r\n textView.setText(\"\");\r\n\r\n }", "title": "" }, { "docid": "d4691551ec1087c8d5a035f084225d93", "score": "0.5673177", "text": "protected synchronized void clearChanged() {\n changed = false;\n }", "title": "" }, { "docid": "47a6f7816995936e0f1895a0ed77921a", "score": "0.5668068", "text": "private void completeLine(ArrayList<Entry> entries) {\n if (!entries.isEmpty()) {\n lines.add(entries);\n } else {\n lines.add(null);\n }\n line++;\n previousCol = 0;\n }", "title": "" }, { "docid": "75b6881a5bea9899a4399ccd4614ee81", "score": "0.5626527", "text": "public void clearChanged() {\n\thasChanged = false;\n }", "title": "" }, { "docid": "0f7b14d40d69bbafea6079a5a55ecf41", "score": "0.5605296", "text": "ByteBuf clear();", "title": "" }, { "docid": "d9ffa9499296f95374789cdb50b8f702", "score": "0.56033987", "text": "@Override\n protected void clearBuffer(Renderer renderer, RectangularPlotArea component) {\n }", "title": "" }, { "docid": "5ea523b35aa0e6e9611d0e56d8ba7414", "score": "0.56031746", "text": "public void clear() {\n char temp[] = new char[len + appendLineLength];\n for (int i = 0; i < len; i++)\n temp[i] = ' ';\n System.out.print(String.copyValueOf(temp) + \"\\n\");\n }", "title": "" }, { "docid": "c1cae06a6c3445ff17c702ed4b2b69de", "score": "0.5600188", "text": "private void rememberBuffer(String line){\r\n String bufferNum = line.substring(line.lastIndexOf(',')+1);\r\n _usedBufferesIdx.add(Integer.valueOf(bufferNum));\r\n }", "title": "" }, { "docid": "fb186b8cc53bc10e339e2438b85f99c7", "score": "0.5598826", "text": "public Builder clearLineNumber() {\n bitField0_ = (bitField0_ & ~0x00000008);\n lineNumber_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "69261327ab889cd59fe4644a17e5f903", "score": "0.5569865", "text": "public void onClearCanvas() {\n Optional<ButtonType> option = alert.clearCanvasCheck();\n if (option.get().getText() == \"Yes\") {\n File file = new File(\"currentFile.vec\");\n file.delete();\n currentLine = \"\";\n currentHistory = \"\";\n isDrawing = false;\n g.clearRect(0, 0, canvas.getWidth(), canvas.getHeight());\n history.getItems().clear();\n savefile.delete(0, savefile.length());\n }\n }", "title": "" }, { "docid": "fb16c6cf72adb4a971c44987cd0eb331", "score": "0.55605435", "text": "@Override\r\n protected boolean reject(final CharArrayBuffer line, int count) {\n return false;\r\n }", "title": "" }, { "docid": "bdea9e394398390e1267236dd135d4f1", "score": "0.55595636", "text": "public void clear(){}", "title": "" }, { "docid": "bdea9e394398390e1267236dd135d4f1", "score": "0.55595636", "text": "public void clear(){}", "title": "" }, { "docid": "d21306b241c014db686c21d51dc5cffe", "score": "0.5555552", "text": "private void removeNewLine() {\n byte n = buffer.get();\n if (n == (byte) '\\r' && buffer.position() < buffer.limit()) {\n n = buffer.get(buffer.position());\n if (n == (byte) '\\n') {\n buffer.get();\n }\n }\n }", "title": "" }, { "docid": "43f38d12a808c907bbb1b1a948737e58", "score": "0.55544245", "text": "protected abstract void clear();", "title": "" }, { "docid": "6bc9d8d2bf46a4bba9cc35e8527bb171", "score": "0.5551538", "text": "public LineClearer(Matrix matrix) {\n this.matrix = matrix;\n }", "title": "" }, { "docid": "b6c630f4e359b07c9ab33a2b8582a8d2", "score": "0.5547458", "text": "@Override\n public final void clear() {\n }", "title": "" }, { "docid": "7bd26a022742f2f34d6ae52339c20125", "score": "0.55431217", "text": "private void flushCharacters() {\n\t\tif (buffer.length() == 0)\n\t\t\treturn;\n\t\tbuffer.setLength(0);\n\t}", "title": "" }, { "docid": "54ab11ce2919e590eedc6dc668ea0aba", "score": "0.5542093", "text": "@Override\r\n\tpublic void lineIsRead() {\n\r\n\t}", "title": "" }, { "docid": "349880e9bbae82de8477235cdf069bc5", "score": "0.5541142", "text": "static void screen_line(int row, int coloff, int endcol, int clear_width, boolean rlflag)\n {\n int col = 0;\n boolean force = false; /* force update rest of the line */\n boolean clear_next = false;\n\n /* Check for illegal row and col, just in case. */\n if (Rows[0] <= row)\n row = (int)Rows[0] - 1;\n if (Columns[0] < endcol)\n endcol = (int)Columns[0];\n\n clip_may_clear_selection(row, row);\n\n int off_from = BDIFF(current_ScreenLine, screenLines);\n int off_to = lineOffset[row] + coloff;\n int max_off_from = off_from + screenColumns;\n int max_off_to = lineOffset[row] + screenColumns;\n\n if (rlflag)\n {\n /* Clear rest first, because it's left of the text. */\n if (0 < clear_width)\n {\n while (col <= endcol && screenLines.at(off_to) == (byte)' '\n && screenAttrs[off_to] == 0\n && screenLinesUC[off_to] == 0)\n {\n off_to++;\n col++;\n }\n if (col <= endcol)\n screen_fill(row, row + 1, col + coloff, endcol + coloff + 1, ' ', ' ', 0);\n }\n col = endcol + 1;\n off_to = lineOffset[row] + col + coloff;\n off_from += col;\n endcol = (0 < clear_width) ? clear_width : -clear_width;\n }\n\n boolean redraw_next = char_needs_redraw(off_from, off_to, endcol - col);\n\n while (col < endcol)\n {\n int char_cells; /* 1: normal char; 2: occupies two display cells */\n if (col + 1 < endcol)\n char_cells = utf_off2cells(off_from, max_off_from);\n else\n char_cells = 1;\n\n /* bool: does character need redraw? */\n boolean redraw_this = redraw_next;\n /* redraw_this for next character */\n redraw_next = force || char_needs_redraw(off_from + char_cells,\n off_to + char_cells,\n endcol - col - char_cells);\n\n if (redraw_this)\n {\n /*\n * Special handling when 'xs' termcap flag set (hpterm):\n * Attributes for characters are stored at the position where the\n * cursor is when writing the highlighting code. The\n * start-highlighting code must be written with the cursor on the\n * first highlighted character. The stop-highlighting code must\n * be written with the cursor just after the last highlighted character.\n * Overwriting a character doesn't remove it's highlighting. Need\n * to clear the rest of the line, and force redrawing it completely.\n */\n if (p_wiv[0]\n && !force\n && screenAttrs[off_to] != 0\n && screenAttrs[off_from] != screenAttrs[off_to])\n {\n /*\n * Need to remove highlighting attributes here.\n */\n windgoto(row, col + coloff);\n out_str(T_CE[0]); /* clear rest of this screen line */\n screen_start(); /* don't know where cursor is now */\n force = true; /* force redraw of rest of the line */\n redraw_next = true; /* or else next char would miss out */\n\n /*\n * If the previous character was highlighted, need to stop\n * highlighting at this character.\n */\n if (0 < col + coloff && screenAttrs[off_to - 1] != 0)\n {\n screen_attr = screenAttrs[off_to - 1];\n term_windgoto(row, col + coloff);\n screen_stop_highlight();\n }\n else\n screen_attr = 0; /* highlighting has stopped */\n }\n /* When writing a single-width character over a double-width\n * character and at the end of the redrawn text, need to clear out\n * the right halve of the old character.\n * Also required when writing the right halve of a double-width\n * char over the left halve of an existing one. */\n if (col + char_cells == endcol\n && ((char_cells == 1\n && 1 < utf_off2cells(off_to, max_off_to))\n || (char_cells == 2\n && utf_off2cells(off_to, max_off_to) == 1\n && 1 < utf_off2cells(off_to + 1, max_off_to))))\n clear_next = true;\n\n screenLines.be(off_to, screenLines.at(off_from));\n screenLinesUC[off_to] = screenLinesUC[off_from];\n if (screenLinesUC[off_from] != 0)\n {\n for (int i = 0; i < screen_mco; i++)\n screenLinesC[i][off_to] = screenLinesC[i][off_from];\n }\n if (char_cells == 2)\n screenLines.be(off_to + 1, screenLines.at(off_from + 1));\n\n /* The bold trick makes a single column of pixels appear in the\n * next character. When a bold character is removed, the next\n * character should be redrawn too. This happens for our own GUI\n * and for some xterms. */\n if (term_is_xterm)\n {\n int hl = screenAttrs[off_to];\n if (HL_ALL < hl)\n hl = syn_attr2attr(hl);\n if ((hl & HL_BOLD) != 0)\n redraw_next = true;\n }\n screenAttrs[off_to] = screenAttrs[off_from];\n /* For simplicity, set the attributes of second half\n * of a double-wide character equal to the first half. */\n if (char_cells == 2)\n screenAttrs[off_to + 1] = screenAttrs[off_from];\n\n screen_char(off_to, row, col + coloff);\n }\n else if (p_wiv[0] && 0 < col + coloff)\n {\n if (screenAttrs[off_to] == screenAttrs[off_to - 1])\n {\n /*\n * Don't output stop-highlight when moving the cursor,\n * it will stop the highlighting when it should continue.\n */\n screen_attr = 0;\n }\n else if (screen_attr != 0)\n screen_stop_highlight();\n }\n\n off_to += char_cells;\n off_from += char_cells;\n col += char_cells;\n }\n\n if (clear_next)\n {\n /* Clear the second half of a double-wide character of which\n * the left half was overwritten with a single-wide character. */\n screenLines.be(off_to, (byte)' ');\n screenLinesUC[off_to] = 0;\n screen_char(off_to, row, col + coloff);\n }\n\n if (0 < clear_width && !rlflag)\n {\n /* blank out the rest of the line */\n while (col < clear_width && screenLines.at(off_to) == (byte)' '\n && screenAttrs[off_to] == 0\n && screenLinesUC[off_to] == 0)\n {\n off_to++;\n col++;\n }\n if (col < clear_width)\n {\n screen_fill(row, row + 1, col + coloff, clear_width + coloff, ' ', ' ', 0);\n off_to += clear_width - col;\n col = clear_width;\n }\n }\n\n if (0 < clear_width)\n {\n /* For a window that's left of another, draw the separator char. */\n if (col + coloff < (int)Columns[0])\n {\n int[] hl = new int[1];\n int c = fillchar_vsep(hl);\n if (screenLines.at(off_to) != c\n || screenLinesUC[off_to] != (0x80 <= c ? c : 0)\n || screenAttrs[off_to] != hl[0])\n {\n screenLines.be(off_to, c);\n screenAttrs[off_to] = hl[0];\n if (0x80 <= c)\n {\n screenLinesUC[off_to] = c;\n screenLinesC[0][off_to] = 0;\n }\n else\n screenLinesUC[off_to] = 0;\n screen_char(off_to, row, col + coloff);\n }\n }\n else\n lineWraps[row] = false;\n }\n }", "title": "" }, { "docid": "0d2a296140d341c42a835f1e540796df", "score": "0.55366313", "text": "public void clear() {\n\t\ttop = 0;\n\t\tdataBuffer.rewind();\n\t\tmode = MODE_INVALID;\n\t}", "title": "" }, { "docid": "473a53cb920fa79ff810adb8789894de", "score": "0.55365413", "text": "@Override\n protected boolean reject(final CharArrayBuffer line, int count) {\n return false;\n }", "title": "" }, { "docid": "eee89f20f81b20e5dd05875790b7a971", "score": "0.55232507", "text": "public Builder clearLineItem() {\n bitField0_ = (bitField0_ & ~0x00000010);\n lineItem_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d325d53790b9da1b51bebce80820df8b", "score": "0.55116177", "text": "@Override\n public abstract void clear();", "title": "" }, { "docid": "f3dfff0d098865a30d593704cc0d8bb9", "score": "0.5502404", "text": "public void remove() {\n _canvas.getChildren().removeAll(_line, _text);\n }", "title": "" }, { "docid": "784516568fe9b2d2a16d740278aae294", "score": "0.5500147", "text": "public static void flush(){\n buffer.clear();\n }", "title": "" }, { "docid": "614c8969e716de36ae67a219ec9debf4", "score": "0.54891634", "text": "private void clearHeadline() {\n \n headline_ = getDefaultInstance().getHeadline();\n }", "title": "" }, { "docid": "164367aebdc7acdca2044e629c858616", "score": "0.54884624", "text": "private void printLine() {\n if (length > 0) {\n ps.println(line);\n line.setLength(0);\n length = 0;\n }\n }", "title": "" }, { "docid": "f9df463c0e54206da55cdd55060ceff6", "score": "0.5485913", "text": "public void evictLine(Processor<Line> proc, Line toEvict, ExecutionPhase phase) {\n\t\tDeque<Line> set = sets.get(index(toEvict.lineAddress().get()));\n\t\tboolean removed = false;\n\t\tfor (Iterator<Line> it = set.iterator(); it.hasNext();) {\n\t\t\tLine l = it.next();\n\t\t\tif (l.lineAddress() != null && l.lineAddress().equals(toEvict.lineAddress())) {\n\t\t\t\tassert l.id().equals(processor.id);\n\t\t\t\tassert !l.isPrivateCacheLine();\n\n\t\t\t\tit.remove();\n\t\t\t\tif (l.valid() && /* proc.needToCheckAIMCache(toEvict) */\n\t\t\t\t\t\ttoEvict.hasAIMMD()) {\n\t\t\t\t\tproc.stats.pc_aim.pc_LineEvictions.incr();\n\t\t\t\t\tproc.stats.pc_aim.pc_DirtyLineEvictions.incr();\n\t\t\t\t\tupdateOnChipNetworkMessageAIM(proc, phase);\n\t\t\t\t}\n\t\t\t\tremoved = true;\n\t\t\t}\n\t\t}\n\t\tif (removed) {\n\t\t\tset.addLast(lineFactory.create(processor, levelInHierarchy));\n\t\t}\n\t\tassert set.size() == assoc;\n\t}", "title": "" }, { "docid": "db6af883c5f25f65c61510cc7ebc23d8", "score": "0.5457574", "text": "public void clear() ;", "title": "" }, { "docid": "82bcfa68bb602131c8ebb7f9102a066a", "score": "0.545494", "text": "private void clear_glyph_buffer() {\n\t\tgbuf = new Gbuf[Webhack.ROWNO][Webhack.COLNO];\n\t\tfor (int y = 0; y < Webhack.ROWNO; y++) {\n\t\t\tfor (int x = 0; x < Webhack.COLNO; x++) {\n\t\t\t\tgbuf[y][x] = new Gbuf();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "be76f939e6105ce983e1d006ab2e0204", "score": "0.5443654", "text": "@Override\r\n public void clear() {\r\n for (int i = 0; i < length; i++) {\r\n buffer[(tail + i) % buffer.length] = null;\r\n }\r\n head = 0;\r\n tail = 0;\r\n length = 0;\r\n }", "title": "" }, { "docid": "12f86ee35b0e237c79a296c95941c7e3", "score": "0.5441943", "text": "void clearDirty();", "title": "" }, { "docid": "c29f7f633aa6860b69890e9c07b96726", "score": "0.5441017", "text": "public abstract void clear();", "title": "" }, { "docid": "c29f7f633aa6860b69890e9c07b96726", "score": "0.5441017", "text": "public abstract void clear();", "title": "" }, { "docid": "c29f7f633aa6860b69890e9c07b96726", "score": "0.5441017", "text": "public abstract void clear();", "title": "" }, { "docid": "c29f7f633aa6860b69890e9c07b96726", "score": "0.5441017", "text": "public abstract void clear();", "title": "" }, { "docid": "c29f7f633aa6860b69890e9c07b96726", "score": "0.5441017", "text": "public abstract void clear();", "title": "" }, { "docid": "7b9eb0545eb3dbd5e24c3c2928c16d0f", "score": "0.54384756", "text": "public void printLine(String line) {\n\t\ttry {\n\t\t\treader.print(ConsoleReader.RESET_LINE + line + \"\\n\");\n\t\t\treader.flush();\n\t\t} catch (IOException e) {\n\t\t}\n\t}", "title": "" }, { "docid": "aa6c2505daf22a80756e16ba83a58975", "score": "0.54276127", "text": "@Override\r\n public void clear() {\n }", "title": "" }, { "docid": "1f90f97aacf1808c93da5341ea9f00ec", "score": "0.5427179", "text": "private void clearAndFillModelFromLines(List<String> lines) throws IOException {\n\t\tfor (int i = 0; i < model.getSize(); i++) {\n\t\t\tmodel.remove(model.getObject(i));\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tfor (String line : lines) { \n\t\t\t\tif (line.startsWith(\"LINE\")) {\n\t\t\t\t\tmodel.add(new Line(line));\n\t\t\t\t} else if (line.startsWith(\"CIRCLE\")) {\n\t\t\t\t\tmodel.add(new Circle(line));\n\t\t\t\t} else if (line.startsWith(\"FCIRCLE\")) {\n\t\t\t\t\tmodel.add(new FilledCircle(line));\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IOException(\"Invalid line in file: \" + line); \n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tthrow new IOException(e); \n\t\t}\n\t}", "title": "" }, { "docid": "5300ba34713554401498aad5e277c6dc", "score": "0.54266775", "text": "@Override\n\tpublic void resetBuffer() throws IllegalStateException{\n\t\tif(isCommited) throw new IllegalStateException();\n\t\telse {\n\t\t\tbuffer.delete(0, buffer.length());\n\t\t}\n\t}", "title": "" }, { "docid": "aeee2122276c67d9dc5afe7ccf242959", "score": "0.5424535", "text": "@Override\n void clear();", "title": "" }, { "docid": "df0c6ebca78e637274b9898ee4ae1ec4", "score": "0.5421725", "text": "@Override\r\n public void clear() {\r\n memcachedClient.flush();\r\n }", "title": "" }, { "docid": "f388200ca82965e5fdd020515e6bda2d", "score": "0.54215467", "text": "@Override\r\n\tpublic void xfinalize() throws Throwable {\n\t\txline = null;\r\n\t\tfinalize();\r\n\t}", "title": "" }, { "docid": "9cb0edefe5df9c4358b4d473287cac33", "score": "0.54108894", "text": "public void clear() {\n\t\tpointer = 0;\n\t}", "title": "" }, { "docid": "57fa5a335f41bd6baf31fbf33def7634", "score": "0.5410199", "text": "@Override\n public void clear() {\n }", "title": "" }, { "docid": "57fa5a335f41bd6baf31fbf33def7634", "score": "0.5410199", "text": "@Override\n public void clear() {\n }", "title": "" }, { "docid": "57fa5a335f41bd6baf31fbf33def7634", "score": "0.5410199", "text": "@Override\n public void clear() {\n }", "title": "" }, { "docid": "778b783dacd9091b89ffa306877412ce", "score": "0.5407153", "text": "public void deleteChatLine(int p_146242_1_)\n {\n Iterator iterator = this.field_146253_i.iterator();\n ChatLine chatline;\n\n while (iterator.hasNext())\n {\n chatline = (ChatLine)iterator.next();\n\n if (chatline.getChatLineID() == p_146242_1_)\n {\n iterator.remove();\n }\n }\n\n iterator = this.chatLines.iterator();\n\n while (iterator.hasNext())\n {\n chatline = (ChatLine)iterator.next();\n\n if (chatline.getChatLineID() == p_146242_1_)\n {\n iterator.remove();\n break;\n }\n }\n }", "title": "" }, { "docid": "08335938f01dc254fdb8d4e57dd35583", "score": "0.54052573", "text": "void clearCommands();", "title": "" }, { "docid": "ad2b81af89f8d4bb12e00959f465fde6", "score": "0.5404333", "text": "private void clearOffset() {\n \n offset_ = 0L;\n }", "title": "" }, { "docid": "b1e43bf2d332061bbd8e1e5e4de42c68", "score": "0.5397552", "text": "public void cleared() { repaint(); }", "title": "" }, { "docid": "471051ea3247a69d96aeb1c2ca8b3e9d", "score": "0.53896147", "text": "public final void reset()\n {\n line.initializeQueue();\n numberOfArrivals = 0;\n numberServed = 0;\n totalTimeWaited = 0;\n }", "title": "" }, { "docid": "d7c372b815046adc08e9a015156c14f1", "score": "0.5380122", "text": "public void stop(){ if(lineInfo == null) return; doStop(); }", "title": "" }, { "docid": "a558164459c0c8350dfbb51122dda9f7", "score": "0.5374909", "text": "@Override\r\n public void clear() {\r\n\r\n }", "title": "" }, { "docid": "f9297dca97f583294430b657ed150041", "score": "0.5373721", "text": "public Builder clearLineItemInfo() {\n bitField0_ = (bitField0_ & ~0x00000002);\n lineItemInfo_ = null;\n if (lineItemInfoBuilder_ != null) {\n lineItemInfoBuilder_.dispose();\n lineItemInfoBuilder_ = null;\n }\n onChanged();\n return this;\n }", "title": "" }, { "docid": "05be24912e3b318a76e5fab3e68318a6", "score": "0.5372371", "text": "public void update(final LineEvent e)\n\t{\n\t\t// handles samples stopping...\n\t\tif(e.getType() == LineEvent.Type.STOP)\n\t\t{\n\t\t\t// find the channel this line relates to...\n\t\t\tfor(int i=0; i<32; i++)\n\t\t\t{\n\t\t\t\tif(channelArray[i] == e.getLine())\n\t\t\t\t{\n\t\t\t\t\t// reset the channel...\n\t\t\t\t\tchannelArray[i] = null;\n\t\t\t\t\tchannelSoundIdRef[i] = -1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// close the line...\n\t\t\te.getLine().close();\n\t\t}\n\t}", "title": "" }, { "docid": "c1a4e183fa0584cb0d0d50ee952a7938", "score": "0.5366335", "text": "@Override\n public void clearData()\n {\n \n }", "title": "" }, { "docid": "c1a4e183fa0584cb0d0d50ee952a7938", "score": "0.5366335", "text": "@Override\n public void clearData()\n {\n \n }", "title": "" }, { "docid": "84c946139c6ca377da6a00a65651d55d", "score": "0.5366122", "text": "public void clear()\r\n/* <09: */ {\r\n/* <10:872 */ this.e = 0;\r\n/* <11:873 */ this.m = 0L;\r\n/* <12:874 */ this.s = 0;\r\n/* <13: */ }", "title": "" }, { "docid": "1afc8b8b12d88f2e624c4ae5df34d2a4", "score": "0.5362179", "text": "public void clearCommands(){\n\t\tcommandBuffer.clear();\n\t\treturn;\n\t}", "title": "" } ]
8d62fa33fac050c27e25b58c965047c3
Check exist department by department name
[ { "docid": "9e7bc8ebb07a1ff1c0e9007362201465", "score": "0.0", "text": "Boolean existsByFullName(String fullName);", "title": "" } ]
[ { "docid": "c49c1485ee0772df363ba5972d1d8435", "score": "0.77608323", "text": "boolean hasDepartment();", "title": "" }, { "docid": "da732a97a9774acc3a2a7ec4949b4e89", "score": "0.7448242", "text": "boolean hasDeptName();", "title": "" }, { "docid": "a776231738be735255bb62d556a4d02c", "score": "0.73918384", "text": "@Override\n\tpublic Boolean isDepartmentNameExists(String name) throws SQLException, ClassNotFoundException {\n\t\treturn departmentRepository.isDepartmentNameExists(name);\n\t}", "title": "" }, { "docid": "80d32e626dc6fe1d716d113bef7e7c0c", "score": "0.7337642", "text": "public static boolean isDepartment(String deptName) {\n\t\tList<Department> departments = departmentDB.getAllDepartments();\n\t\tOptional<Department> department = departments.stream()\n\t\t\t\t.filter(e -> e.getName().equals(deptName))\n\t\t\t\t.findFirst();\n\t\tif (department.isPresent()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "cdafd46440efdf4e83462f2c519a28f1", "score": "0.7226067", "text": "boolean hasDepartmentId();", "title": "" }, { "docid": "cdafd46440efdf4e83462f2c519a28f1", "score": "0.7226067", "text": "boolean hasDepartmentId();", "title": "" }, { "docid": "cdafd46440efdf4e83462f2c519a28f1", "score": "0.7226067", "text": "boolean hasDepartmentId();", "title": "" }, { "docid": "cdafd46440efdf4e83462f2c519a28f1", "score": "0.7226067", "text": "boolean hasDepartmentId();", "title": "" }, { "docid": "cdafd46440efdf4e83462f2c519a28f1", "score": "0.7226067", "text": "boolean hasDepartmentId();", "title": "" }, { "docid": "1ebabd314262ef8fb8a0fce13c1347ce", "score": "0.6918423", "text": "boolean hasDeptId();", "title": "" }, { "docid": "efa45759a8df0aee57411a181f7350a6", "score": "0.68986833", "text": "public Department findDepartment(String DepName){\n List<Department> lst = departmentList;\n for (Department department : lst) {\n if(department.getName().equals(DepName)){\n //em.close();\n return department;\n }\n }\n //em.close();\n return null;\n }", "title": "" }, { "docid": "22e63a1f3052ab859ef170d1ca785df0", "score": "0.66537595", "text": "@Override\n\tpublic boolean createDepartment(String name) throws ClassNotFoundException, SQLException {\n\t\treturn departmentRepository.createDepartment(name);\n\t}", "title": "" }, { "docid": "7d4b16986bfe765463b893da33eb43dc", "score": "0.6637839", "text": "Department(String name) {\n\t\tthis.deptName = name;\n\t}", "title": "" }, { "docid": "19308b4b5206ce8f644a9f5ee48e4e84", "score": "0.6622718", "text": "private static void checkDepartmentExistence(Employee employee) throws FileNotFoundException, IOException {\n\t\tFile file = openFile(\"Department\");\n\t\tObjectOutputStream writer;\n\t\tDepartment department;\n\t\tboolean departmentExists = false;\n\t\t\n\t\tif(file.length() < 1) { //Check if file has contents\n\t\t\twriter = new ObjectOutputStream(new FileOutputStream(file, true)); //If the file has not been written to, use a new stream\n\t\t} else {\n\t\t\twriter = new MyObjectOutputStream(new FileOutputStream(file, true)); //If it has use our previous file stream\n\t\t}\n\t\t\n\t\tList<Department> departmentList = readDepartmentFile(\"Department\");\t\n\t\tfor(Department d : departmentList) {\n\t\t\tif(d.getName().equals(employee.getDepartment())) { //Check if Employee department name matches with any existing Department names.\n\t\t\t\td.addEmployee(employee); //Add employee to department if matches\t\t\n\t\t\t\tdepartmentExists = true;\n\t\t\t}\t\t\n\t\t}\n\t\t\n\t\tif(!departmentExists) { //If the department did not exist, create it and add the user\n\t\t\tdepartment = new Department(employee.getDepartment()); //First create the department with the new name\n\t\t\tdepartment.addEmployee(employee); //Then add the new employee to department\n\t\t\tdepartmentList.add(department); //Add new department to our department list\n\t\t}\n\t\t\n\t\tfor(Department d : departmentList) { //Write new department objects to file\n\t\t\twriter.writeObject(d);\n\t\t}\n\t\t\n\t\twriter.close();\n\t}", "title": "" }, { "docid": "6e79fd2845f3e7c1e18e510300e718fd", "score": "0.64044154", "text": "boolean existsByNameAndFaculty_Id(String name, Integer faculty_id);", "title": "" }, { "docid": "406e97d4961722ed1302ce8d4f9a0750", "score": "0.6400941", "text": "@Override\r\n\tpublic boolean addDepartment(Department dept) {\n\t\tDepartment example = new Department();\r\n\t\texample.setDeptName(dept.getDeptName());\r\n\t\texample.setParentId(dept.getParentId());\r\n\t\t\r\n\t\t\r\n\t\tList<Department> result = deptDao.findByExample(example);\r\n\t\tif(result.size()==0){\r\n\t\t\tdeptDao.addDepartment(dept);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e13a962d5543c630e503365c1eae1afa", "score": "0.62964475", "text": "public Departament findByName(String name);", "title": "" }, { "docid": "82aa0bbf43cce1a3ccd21d8a271a8f3a", "score": "0.62858844", "text": "String getDepartmentname(int departmentId);", "title": "" }, { "docid": "0db40d582a0419f735df525b0a64dcf6", "score": "0.6283393", "text": "public void setDepartmentName(String departmentName) {\r\n this.departmentName = departmentName;\r\n }", "title": "" }, { "docid": "deb7bb1cc72ac6667b918f5eb9a33593", "score": "0.6278416", "text": "boolean hasDeptType();", "title": "" }, { "docid": "88ccdc2be88b263f1c0d7c15415ecbd6", "score": "0.6264033", "text": "@Given(\"^with a unique department names$\")\r\n\tpublic void with_a_unique_department_names() {\n\t}", "title": "" }, { "docid": "a07405986da7ab17e5619a5b8ce055ca", "score": "0.62328935", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "1788a6ffec71354336491e0b91319d46", "score": "0.6207154", "text": "public boolean contains(Department department) {\n if (departments.contains(department))\n return true;\n return false;\n }", "title": "" }, { "docid": "b972d1c8f2d1131ab44cc97dfb9fdac4", "score": "0.6184459", "text": "boolean hasDeptStatus();", "title": "" }, { "docid": "d94f1881431181efc0e9eb41ea6d97f7", "score": "0.6182228", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "79bacb4ca9fa14bf7fc0bb61b272afda", "score": "0.6174782", "text": "public void setDepartment(String department) {\n this.department = department;\n }", "title": "" }, { "docid": "79bacb4ca9fa14bf7fc0bb61b272afda", "score": "0.6174782", "text": "public void setDepartment(String department) {\n this.department = department;\n }", "title": "" }, { "docid": "79bacb4ca9fa14bf7fc0bb61b272afda", "score": "0.6174782", "text": "public void setDepartment(String department) {\n this.department = department;\n }", "title": "" }, { "docid": "356615312c95486c1944291cb2710be6", "score": "0.613678", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "356615312c95486c1944291cb2710be6", "score": "0.613678", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "356615312c95486c1944291cb2710be6", "score": "0.613678", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "356615312c95486c1944291cb2710be6", "score": "0.6136707", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "676763e7c9c689b89e6ea0bdaeb2972a", "score": "0.61344165", "text": "public Department getDepartment(String dep) {\n Department result = null;\n String depart;\n for (int i = 0; i < getDepartments().size(); i++) {\n depart = getDepartments().get(i).getClass().toString();\n depart = depart.substring(depart.lastIndexOf('.') + 1);\n if (depart.equals(dep)) {\n result = getDepartments().get(i);\n } else if (depart.equals(dep)) {\n result = getDepartments().get(i);\n } else if (depart.equals(dep)) {\n result = getDepartments().get(i);\n } else if (depart.equals(dep))\n result = getDepartments().get(i);\n }\n return result;\n }", "title": "" }, { "docid": "dc2d5581fc25d2ab4808649e349197e6", "score": "0.6113668", "text": "public boolean equals(Department dept)\n {\n \treturn dept.getDepartmentID().equals( departmentID );\n }", "title": "" }, { "docid": "4705e024c403c9823693d011872f7741", "score": "0.61110544", "text": "Department findDepartment(int id);", "title": "" }, { "docid": "67ef2fa3da3438dff7de12743266f12f", "score": "0.6101186", "text": "Department findById(Long id);", "title": "" }, { "docid": "5e1eca34b55571d2d8b25a31e9065ce1", "score": "0.6082903", "text": "public boolean hasDeptName() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "f7b8a0b419cf8beaf8a6da50b6c45a13", "score": "0.6081649", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "f7b8a0b419cf8beaf8a6da50b6c45a13", "score": "0.6081649", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "f7b8a0b419cf8beaf8a6da50b6c45a13", "score": "0.6081649", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "f7b8a0b419cf8beaf8a6da50b6c45a13", "score": "0.6081149", "text": "public boolean hasDepartmentId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "08f72ddb12edb6d36d8eef43d1fb7189", "score": "0.6054892", "text": "Department findDepartmentById(Long departmentId);", "title": "" }, { "docid": "1118fc8c8222a9eb1dc92844e8e44152", "score": "0.6036496", "text": "private List<Department> getDepartmentListByDepartmentNameLike(String departmentName) {\n return departmentDao.findDepartmentsByDepartmentNameLikeAndIsDeletedFalseOrderByDepartmentName(\"%\" + departmentName + \"%\");\n }", "title": "" }, { "docid": "e36bfe3c4341ae6c2b3e96b3241e92c0", "score": "0.6010836", "text": "public boolean hasDeptName() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "d3efef8c2d7e78f5dd2d2e4b544551ca", "score": "0.6009419", "text": "public Department(String name) {\n this.id = UUID.randomUUID();\n this.name = name;\n }", "title": "" }, { "docid": "67288b961a99006b7227b4f3a545e0cd", "score": "0.5975441", "text": "public void setDeptname(String deptname) {\n this.deptname = deptname;\n }", "title": "" }, { "docid": "f0a2aaef15a126b804c1cb04d1a38784", "score": "0.5974054", "text": "public void setDept_name(java.lang.String dept_name) {\r\n this.dept_name = dept_name;\r\n }", "title": "" }, { "docid": "275106a1303a0e246c9a30b5d8fb7aac", "score": "0.5958656", "text": "@Override\r\n public boolean test(Departments department) {\n if (newValue == null || newValue.isEmpty()) {\r\n return true;\r\n }\r\n String lowerCaseFilter = newValue.toLowerCase();\r\n if(str.equalsIgnoreCase(\"department_id\")){\r\n if (String.valueOf(department.getDepartment_id()).toLowerCase().contains(lowerCaseFilter)) {\r\n return true; // Filter matches id.\r\n }\r\n }else if(str.equalsIgnoreCase(\"department_name\")){\r\n if (department.getDepartment_name().toLowerCase().contains(lowerCaseFilter)) {\r\n return true; // Filter matches name.\r\n }\r\n }else if(str.equalsIgnoreCase(\"department_manager\")){\r\n if (department.getDepartment_manager().toLowerCase().contains(lowerCaseFilter)) {\r\n return true; // Filter matches department manager.\r\n }\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "f5b68ec781130a2ec38040f47eaf28e3", "score": "0.5913241", "text": "Department getById(int id);", "title": "" }, { "docid": "0f155f2281624c66b5a3d80440b2135a", "score": "0.5902088", "text": "public void setDeptName(String deptName) {\n this.deptName = deptName;\n }", "title": "" }, { "docid": "b7c4233f9596e8f8c89a46762cdde8ec", "score": "0.5892773", "text": "private String setDepartment()\r\n\t{\r\n\t\t//make a choose\r\n\t\tSystem.out.println(\"Enter the department\\n1 for Sales\\n2 for Development\\n3 for accounting\\n0 for none\") ;\r\n\t\t\r\n\t\t//the scanner\r\n\t\tScanner scan = new Scanner(System.in) ;\r\n\t\t\r\n\t\t//getting the department number\r\n\t\tint departmentChoice = scan.nextInt() ;\r\n\t\t\r\n\t\t//return department\r\n\t\tif(departmentChoice == 1)\r\n\t\t\treturn \"sales\" ;\r\n\t\telse if(departmentChoice == 2)\r\n\t\t\treturn \"development\" ;\r\n\t\telse if(departmentChoice == 3)\r\n\t\t\treturn \"accounting\" ;\r\n\t\telse return \"\" ;\r\n\t}", "title": "" }, { "docid": "397547fe3972292b917aca6cb0e03c13", "score": "0.5883731", "text": "public void setDepartName(java.lang.String departName) {\r\n this.departName = departName;\r\n }", "title": "" }, { "docid": "46cfcb0640bf56c3dad8d1bc0d6cf6cf", "score": "0.58681446", "text": "boolean hasParentDeptId();", "title": "" }, { "docid": "c9e2706d6c3c79c0588cf6e398d22ddc", "score": "0.5843131", "text": "@Override\r\n\tpublic Dept findByDname(String dname) {\n\t\treturn dd.findByDname(dname);\r\n\t}", "title": "" }, { "docid": "083e892ee0fccfe588c84db0661d1d7f", "score": "0.5799122", "text": "public void testReadCompaniesWithDepartments() throws Exception {\n\n DAS das = DAS.FACTORY.createDAS(getConfig(\"CompanyConfig.xml\"), getConnection());\n Command read = das.getCommand(\"all companies and departments\");\n DataObject root = read.executeQuery();\n\n Iterator i = root.getList(\"COMPANY\").iterator();\n while (i.hasNext()) {\n DataObject d = (DataObject) i.next();\n List departments = d.getList(\"departments\");\n if (d.getString(\"NAME\").equals(\"Do-rite plumbing\") || d.getString(\"NAME\").equals(\"ACME Publishing\")) {\n assertEquals(0, departments.size());\n } else {\n assertEquals(1, departments.size());\n }\n }\n\n }", "title": "" }, { "docid": "cb2ea2861fa7570aa42edcb2490dc3b2", "score": "0.5798955", "text": "public String getDepartmentname() {\n return departmentname;\n }", "title": "" }, { "docid": "e31b4ca52e6d3b45f26ba7ce73e6309e", "score": "0.5786164", "text": "String getDeptName();", "title": "" }, { "docid": "97e01250c188904f6432fd571aaf895d", "score": "0.57825804", "text": "@Override\r\n public boolean test(Departments department) {\n if (newValue == null || newValue.isEmpty()) {\r\n return true;\r\n }\r\n String lowerCaseFilter = newValue.toLowerCase();\r\n if (String.valueOf(department.getDepartment_id()).toLowerCase().contains(lowerCaseFilter)) {\r\n return true; // Filter matches id.\r\n } else if (department.getDepartment_name().toLowerCase().contains(lowerCaseFilter)) {\r\n return true; // Filter matches name.\r\n } else if (department.getDepartment_manager().toLowerCase().contains(lowerCaseFilter)) {\r\n return true; // Filter matches department manager.\r\n }\r\n return false; // Does not match.\r\n }", "title": "" }, { "docid": "9076565b1752aacfed4876921a6801cd", "score": "0.577827", "text": "@Override\r\n\tpublic boolean saveDepartment(Department dept){\n\t\treturn deptDao.saveDepartment(dept);\r\n\t}", "title": "" }, { "docid": "2580ff8edafa511f5fcba0ce2568486a", "score": "0.5775043", "text": "public void setDepartmentId(String departmentId) {\r\n this.departmentId = departmentId;\r\n }", "title": "" }, { "docid": "e06dabc14adf2ec0cfec18a577ebbb0b", "score": "0.5774542", "text": "private static void addDepartment(Department dep) {\n\t\tdepdao.addDepartment(dep);\n\t}", "title": "" }, { "docid": "a9532cfca76e01baa485d9ed02523719", "score": "0.57499915", "text": "private boolean isExistingAirport(String departureLocation, Collection<String> airports) {\n\t\tfor (String airport : airports) {\n\t\t\tif (airport.equalsIgnoreCase(departureLocation)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "58c66af409341c65ae2cc5dc47af50be", "score": "0.5736229", "text": "public void setDepartment(String departments) {\n\t\t\tdepartment = departments;\n\t\t}", "title": "" }, { "docid": "7fcf352d3bb2013002abfc5249e54208", "score": "0.5735882", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Department)) {\n return false;\n }\n Department other = (Department) object;\n if ((this.deptNo == null && other.deptNo != null) || (this.deptNo != null && !this.deptNo.equals(other.deptNo))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "ff46feaddf0bddaca32937c2f327de9a", "score": "0.57321405", "text": "private void validateUpdateDepartment(Long departmentId, String departmentName, Long managerId, Long parentId) {\n if (departmentId == null) {\n throw new CustomRestException(\"Pram departmentId's value is invalid\",\n CommonUtils.putError(ConstantsEmployees.PARAM_DEPARTMENT_ID, Constants.RIQUIRED_CODE));\n }\n if (StringUtils.isBlank(departmentName)) {\n throw new CustomRestException(\"Param departmentName's value is invalid\",\n CommonUtils.putError(ConstantsEmployees.PARAM_DEPARTMENT_NAME, Constants.RIQUIRED_CODE));\n }\n\n CommonValidateJsonBuilder jsonBuilder = new CommonValidateJsonBuilder();\n Map<String, Object> fixedParams = new HashMap<>();\n\n fixedParams.put(ConstantsEmployees.PARAM_DEPARTMENT_ID, departmentId);\n fixedParams.put(ConstantsEmployees.DEPARTMENT_NAME, departmentName);\n fixedParams.put(ConstantsEmployees.PARAM_MANAGER_ID, managerId);\n fixedParams.put(PARENT_ID_FIELD, parentId);\n String validateJson = jsonBuilder.build(null, fixedParams, (Map<String, Object>) null);\n\n String token = SecurityUtils.getTokenValue().orElse(null);\n // Validate commons\n ValidateRequest validateRequest = new ValidateRequest(validateJson);\n ValidateResponse response = restOperationUtils.executeCallApi(Constants.PathEnum.COMMONS, \"validate\",\n HttpMethod.POST, validateRequest, ValidateResponse.class, token, jwtTokenUtil.getTenantIdFromToken());\n if (response.getErrors() != null && !response.getErrors().isEmpty()) {\n throw new CustomRestException(ConstantsEmployees.VALIDATE_MSG_FAILED, response.getErrors());\n }\n }", "title": "" }, { "docid": "7766ea09f09fc7a242505ab63f0a169f", "score": "0.57315207", "text": "public boolean deleteDepartment(int departmentId) throws SQLException, NamingException {\n String sql = \"DELETE FROM department WHERE dept_id=?\";\n boolean deleted = false;\n\n try(\n Connection con = DBConnector.getConnection();\n PreparedStatement pstm = con.prepareStatement(sql)\n ){\n pstm.setInt(1,departmentId);\n deleted = pstm.executeUpdate() == 1;\n }\n return deleted;\n }", "title": "" }, { "docid": "ab62a57bf0d20ae75131e8299fbd4aa4", "score": "0.57289076", "text": "@Transactional\r\n\t@Override\r\n\tpublic Long getCountDepartmentwise(String departnment_name) {\n\t\treturn employeDAO.getCountDepartmentwise(departnment_name);\r\n\t}", "title": "" }, { "docid": "0e2eba4fec7453878ec0369a13edd9a8", "score": "0.5728711", "text": "@Override\n public void validate(Department department) throws ValidatorException{\n String errors = \"\";\n\n if (department.getName().isEmpty()){\n errors += \"Name must be completed\\n\";\n }\n\n if (department.getNumberOfPlaces() < 0){\n errors += \"Number of places must be positive\\n\";\n }\n\n if (!errors.equals(\"\")){\n throw new ValidatorException(errors);\n }\n }", "title": "" }, { "docid": "f4e048f86e8e064b4033116d70a9981f", "score": "0.57224613", "text": "private String SetDepartment()\r\n {\r\n \tSystem.out.println(\"1 For Sale\\n\"+\"2 For Development\\n\"+\"3 For Accounting\\n\"+\"0 For None\\n\" + \"Enter department code \");\r\n \tScanner scan = new Scanner(System.in);\t\t\t\t// read object\r\n \tint selectDep = scan.nextInt();\r\n \t\tif(selectDep == 1)\r\n \t\t\treturn \"Sales\";\r\n \t\telse if(selectDep == 2)\r\n \t\t\treturn \"dev\";\r\n \t\telse if(selectDep == 3)\r\n \t\t\treturn \"Accounting\";\r\n \t\telse return \" \";\r\n }", "title": "" }, { "docid": "6df86c2a4816e8335504ad0418d15cfe", "score": "0.57149523", "text": "public String getDepartmentName() {\r\n return departmentName;\r\n }", "title": "" }, { "docid": "1b0dd9c25a9e3194390a5cc0e66027d0", "score": "0.571478", "text": "int getDepartmentId();", "title": "" }, { "docid": "1b0dd9c25a9e3194390a5cc0e66027d0", "score": "0.571478", "text": "int getDepartmentId();", "title": "" }, { "docid": "1b0dd9c25a9e3194390a5cc0e66027d0", "score": "0.571478", "text": "int getDepartmentId();", "title": "" }, { "docid": "1b0dd9c25a9e3194390a5cc0e66027d0", "score": "0.571478", "text": "int getDepartmentId();", "title": "" }, { "docid": "1b0dd9c25a9e3194390a5cc0e66027d0", "score": "0.571478", "text": "int getDepartmentId();", "title": "" }, { "docid": "10a0a7f41495b5d7783e046658c2f50f", "score": "0.57006943", "text": "@Repository\npublic interface DepartmentRepository extends JpaRepository<Department, Long> {\n\n /**\n * Find by id repository\n *\n * @param aLong is id\n * @return department optional\n */\n @Override\n Optional<Department> findById(Long aLong);\n\n /**\n * Find by department\n *\n * @param department department code\n * @return department optional\n */\n Optional<Department> findByDepartment(String department);\n\n /**\n * Check exist department\n *\n * @param department department code\n * @return true if exist or false if not\n */\n Boolean existsByDepartment(String department);\n\n /**\n * Check exist department by department name\n *\n * @param fullName department name\n * @return true if exist or false if not\n */\n Boolean existsByFullName(String fullName);\n\n /**\n * Find all departments order by department code (Ascending)\n *\n * @return list of departments\n */\n List<Department> findAllByOrderByDepartmentAsc();\n\n /**\n * Find departments by keyword\n *\n * @param keyword to find departments\n * @return list of departments\n */\n @Query(\"SELECT d FROM Department d WHERE CONCAT(d.department, d.createdDate, d.fullName) LIKE %?1% \")\n List<Department> findDepartmentsByKeyword(String keyword);\n\n}", "title": "" }, { "docid": "e6345dfaac1cde61e78bd1f9d0a1fb02", "score": "0.56968486", "text": "public String getDepartment() {\r\n return department;\r\n }", "title": "" }, { "docid": "352e7b0a4f23051ac12fbe1843593170", "score": "0.5693694", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Department)) {\n return false;\n }\n Department other = (Department) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n if (!this.deptno.equals(other.deptno)) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "90855e281623b8433159be6bd4ecd063", "score": "0.5675405", "text": "private String setDepartment() {\n\t\tSystem.out.println(\"New Worker: \"+firstName+\"\\n**Department Codes\\n1 for sales\\n2 for Development\\n3 for Accounting\\n0 for non\\nEnter Department Code\");\n\t\tScanner in= new Scanner(System.in);\n\t\tint depChoice=in.nextInt();\n\t\tif(depChoice==1) {return \"sales\";}\n\t\telse if(depChoice==2) {return \"Development\";}\n\t\telse if (depChoice==3) {return \"Accounting\";}\n\t\telse {return \"\";}\n\t\t\n\t}", "title": "" }, { "docid": "9c6d87c56f2b5eda57f58e894cacc622", "score": "0.5662999", "text": "private boolean departmentMatch(ReCiterAuthor reCiterAuthor, Identity targetAuthor) {\n\n\t\tif (reCiterAuthor.getAffiliation() != null && reCiterAuthor.getAffiliation() != null) {\n\t\t\tString affiliation = reCiterAuthor.getAffiliation();\n\t\t\tString extractedDept = extractDepartment(affiliation);\n\t\t\tList<OrganizationalUnit> targetAuthorDepts = targetAuthor.getOrganizationalUnits();\n\t\t\tfor (OrganizationalUnit dept : targetAuthorDepts) {\n\t\t\t\tif (StringUtils.containsIgnoreCase(extractedDept, dept.getOrganizationalUnitLabel())) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f7538c595e3e2a068e8ed86f5d4fd93d", "score": "0.5641451", "text": "Departement getDepartement(String codeDep);", "title": "" }, { "docid": "cf2087de546f9f35adf9f9688bcee12e", "score": "0.5636146", "text": "public String getDepartment() {\n return department;\r\n }", "title": "" }, { "docid": "0356beb740de4cea9c207a5e18ee5957", "score": "0.563556", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Departments)) {\r\n return false;\r\n }\r\n Departments other = (Departments) object;\r\n if ((this.deptId == null && other.deptId != null) || (this.deptId != null && !this.deptId.equals(other.deptId))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "391c06dcd6338e10b4e7ce74c4e2d99c", "score": "0.5634667", "text": "@Test\n\tpublic void shouldGetDepartments() {\n\n\t\t// GIVEN\n\t\tfinal GetDepartmentsRequest request = new GetDepartmentsRequest();\n\t\trequest.setDepartmentName(Constants.DEPARTMENT_NAME);\n\t\t// WHEN\n\t\tfinal GetDepartmentsResponse response = (GetDepartmentsResponse) webServiceTemplate\n\t\t\t\t.marshalSendAndReceive(REQUEST_URI, request);\n\t\t// THEN\n\t\tassertThat(response).isNotNull();\n\t\tassertThat(response.getDepartments()).isNotNull();\n\t\tassertEquals(response.getDepartments().size(), 1);\n\t\tassertEquals(response.getDepartments().get(0).getName(), Constants.DEPARTMENT_NAME);\n\t}", "title": "" }, { "docid": "a2e537a058d9bc7bd5755aba26e56d12", "score": "0.5625212", "text": "boolean hasDepotid();", "title": "" }, { "docid": "a2e537a058d9bc7bd5755aba26e56d12", "score": "0.5625212", "text": "boolean hasDepotid();", "title": "" }, { "docid": "a2e537a058d9bc7bd5755aba26e56d12", "score": "0.5625212", "text": "boolean hasDepotid();", "title": "" }, { "docid": "a2e537a058d9bc7bd5755aba26e56d12", "score": "0.5625212", "text": "boolean hasDepotid();", "title": "" }, { "docid": "72edac36f7d0e146174bcc10b56a2595", "score": "0.5608565", "text": "void deleteDepartmentById(int id);", "title": "" }, { "docid": "25ba2b9f334bbef4765a752f60917795", "score": "0.56049985", "text": "@Override\n public Department run(Connection connection)\n throws ServiceException, SQLException {\n return Department.lookup(connection, deptID);\n }", "title": "" }, { "docid": "e064b1901eb2750d2fc32e94b243aaeb", "score": "0.5604824", "text": "public void setDepartmentname(String departmentname) {\n this.departmentname = departmentname == null ? null : departmentname.trim();\n }", "title": "" }, { "docid": "06fc550bba0c8dc27cc912a6e3ed33b2", "score": "0.55839294", "text": "public String getDepartment() {\n\t\treturn this.department;\n\t}", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.5581989", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.5581989", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.5581989", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.5581989", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "1848a883abcc3d856fea78e217860cf7", "score": "0.5576813", "text": "private boolean staffExist(String name) {\n\n\t\treturn staffRepository.findByName(name) != null;\n\t}", "title": "" }, { "docid": "76a116af82c80fb79e62324ce9d7e7de", "score": "0.5556047", "text": "public Department getDepartmentById(int departmentId) throws SQLException, NamingException {\n String sql = \"SELECT * FROM department WHERE dept_id=?\";\n Department department = null;\n\n try(\n Connection con = DBConnector.getConnection();\n PreparedStatement pstmt = con.prepareStatement(sql)\n ){\n pstmt.setInt(1,departmentId);\n ResultSet resultSet = pstmt.executeQuery();\n\n if(resultSet!=null){\n while (resultSet.next()){\n String name = resultSet.getString(\"dept_name\");\n String email = resultSet.getString(\"dept_email\");\n int telephone = resultSet.getInt(\"dept_tele\");\n int facId = resultSet.getInt(\"fac_id\");\n\n department = new Department(departmentId,name,email,telephone,facId);\n }\n }\n }\n\n return department;\n }", "title": "" }, { "docid": "0ff149a10c66ea839bd45edaed4b6ede", "score": "0.55510914", "text": "private static void updateDepartment(Department dep) {\n\t\tdepdao.updateDepartment(dep);\n\t}", "title": "" }, { "docid": "693646153cc3bd54b13254ea44b3bcad", "score": "0.55469286", "text": "public Department(String depId, String name) {\r\n\t\tthis.depID = depId;\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "21f88f0abd0017756ea1037add4732cc", "score": "0.55440646", "text": "void delete(long departmentId);", "title": "" } ]
af6d5bfb45c779852998d4d4deef446e
Interface to set Item in Loot List by index
[ { "docid": "48846a4b6c06de4a8ec0a44066986e0c", "score": "0.6407305", "text": "public void setItem(Item item, int index) throws IndexOutOfBoundsException {\n if (index < this.getSize()) {\n this.items[index] = item;\n } else {\n throw new IndexOutOfBoundsException();\n }\n }", "title": "" } ]
[ { "docid": "dc03434f6a5a7bbd6a6518069a05117b", "score": "0.801807", "text": "<T> T set (int index, Object item);", "title": "" }, { "docid": "09c2fc8e17f426cd9c5e95d2955d2fc9", "score": "0.75853497", "text": "public void set(int index, E item){\n if (index <= size){\n list[index] = item;\n }\n }", "title": "" }, { "docid": "1e6795c8bdead402526a78b378135692", "score": "0.7525014", "text": "public void set(int itemNum, Item item);", "title": "" }, { "docid": "bcd2a90b3f44f74256e6663b6fff0dbe", "score": "0.7392598", "text": "public void set(int index, int listItem) {\n\n HLListNodeI node = new HLListNodeI();\n node = head;\n while(index>1){ //traverse to the index\n node = node.next_Price;\n index--;\n }\n node.price = listItem; //set incoming price\n }", "title": "" }, { "docid": "0742c6af128778b865aaf742de31a19f", "score": "0.7212369", "text": "protected void setItem(int i, Object o)\n {\n getItem()[i] = o;\n }", "title": "" }, { "docid": "bdcb5d7679e7fe199c6d4e5efa4e9063", "score": "0.711917", "text": "@Override\r\n public E set(int index, E element) {\r\n ListElement<E> le = entry(index);\r\n le.data = element;\r\n return le.data;\r\n }", "title": "" }, { "docid": "966b19de3e3e459356868de9f606ae1a", "score": "0.69140035", "text": "public T set(int index, T element);", "title": "" }, { "docid": "612f526cb049694419f4a539a192499f", "score": "0.68923205", "text": "private void setItem(\n int index, com.github.aeonlucid.pogoprotos.Inventory.AppliedItem value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemIsMutable();\n item_.set(index, value);\n }", "title": "" }, { "docid": "c554848958fda3f7d155e662a8d289dc", "score": "0.6885357", "text": "void setIndex(int index);", "title": "" }, { "docid": "033f979e5dc960b69474ffb21abec2f8", "score": "0.6864592", "text": "public void setElement(int index, E item) {\r\n\r\n Node<E> nodeRef = getNode(index);\r\n addAfter(nodeRef, item);\r\n remove(index);\r\n\r\n\r\n }", "title": "" }, { "docid": "c04b2ff87e99b4f0a7636170e8c3ed7d", "score": "0.68187433", "text": "@Override\n public T set(int index, T element) {\n if(!this.validIndex(index)){\n throw new IndexOutOfBoundsException(\"Index must be > 0 and <= size of list\");\n }\n return null;\n }", "title": "" }, { "docid": "55f2f4c33b7e7e604a2a64b4e451bb22", "score": "0.67165786", "text": "public void setItem(T item);", "title": "" }, { "docid": "a65f5c8f8a31be7b5ec92a9a12a6b86f", "score": "0.67153645", "text": "public void set (int index, E value){\n \ttry{\n\t while (index < 0 || index > this._length){\n\t } \n\t}catch (IndexOutOfBoundsException e){\n\t System.out.println(\"choose a number between\" + _length + \"and 0\");\n\t}\n\tNiceSingleLink <E> nextIsIt = this.walkTo(index);\n\tNiceSingleLink <E> setThis = nextIsIt.getNext();\n\tsetThis.setValue(value);\n }", "title": "" }, { "docid": "f08f8df1ca9fabf81ee8c16a7f4a5f84", "score": "0.67069054", "text": "public void setValue(int index, Object value);", "title": "" }, { "docid": "2d03c7650231ae471c4210cb305eb0ed", "score": "0.66961026", "text": "private void setItem(\n int index, com.github.aeonlucid.pogoprotos.Inventory.AppliedItem.Builder builderForValue) {\n ensureItemIsMutable();\n item_.set(index, builderForValue.build());\n }", "title": "" }, { "docid": "b3b5254982b5eedb1087feb41f3b4c74", "score": "0.6695474", "text": "void set(int index, E element);", "title": "" }, { "docid": "c30aa5a75a603a38ce2ff6b8c4ae3ba5", "score": "0.6682896", "text": "public void setIndex(int index);", "title": "" }, { "docid": "9a0a7b1d9bbbe9f4af6212f22d1fface", "score": "0.66788894", "text": "public E set(int index, E element) {\n return list.set(index, element);\n }", "title": "" }, { "docid": "be3f60a6cb87e3648bcbdca6cab4411d", "score": "0.66253644", "text": "public void setValueAt(int set, int index, Object value) {\n }", "title": "" }, { "docid": "cff61c95a49f915b2ed9d10a640df8d4", "score": "0.65993154", "text": "public synchronized void set(int itemIndex, Object item, Image img) {\r\n\t\tcheckItemsBounds(itemIndex);\r\n //\r\n\t\titems.setElementAt(item, itemIndex);\r\n\t\timages.setElementAt(img, itemIndex);\r\n //\r\n\t\trequestRepaint();\r\n\t}", "title": "" }, { "docid": "0615feba15703f2940810ab6c44bb947", "score": "0.6596736", "text": "void assignIndex(int idx);", "title": "" }, { "docid": "f9d1e90e23f86247316da265024bf27d", "score": "0.65830547", "text": "@Override\n\tpublic E set(int i, E e) {\n\t\tif (i<0||i>=numItems) throw new IndexOutOfBoundsException();\n\t\tNode<E> p = head;\n\t\tint pIndex = 0; // Node p at index pIndex\n\t\twhile (pIndex!=i) {\n\t\t\tp = p.next;\n\t\t\tpIndex++;\n\t\t}\n\t\tE temp = p.item;\n\t\tp.item = e;\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "b996edf2443e0a4f057de9cbcf0e54e8", "score": "0.6558667", "text": "@Override\n\tpublic E set(int index, E element) {\n\t\tE result = this.get(index);\n\t\tdata[firstToConsider + index] = element;\n\t\treturn result;\n\t}", "title": "" }, { "docid": "cbb9ff054f1090166b2aecb676dc1d5d", "score": "0.65332025", "text": "public void setElementAt(Object value, int index)\n throws IllegalStateException;", "title": "" }, { "docid": "cfc33811107000c694f9242ce2cb09b1", "score": "0.64660364", "text": "public void setID(int index, long l);", "title": "" }, { "docid": "dda33d48bfd4c648f6bc8c8d0ea9f0c6", "score": "0.6465239", "text": "public Item getItem(int index);", "title": "" }, { "docid": "34481f1c6b4ae568e2aa3d08c10d055c", "score": "0.64213353", "text": "public T set(int index, T element) {\n if (index < 0 || index > koko) {\n throw new IllegalStateException(\"Indeksi yli rajojen.\");\n }\n T edellinen = alkiot[index];\n alkiot[index] = element;\n return edellinen;\n }", "title": "" }, { "docid": "0922fa76507d77aca4862734b0d392ba", "score": "0.6401446", "text": "private void setInventoryItems(\n int index, com.github.aeonlucid.pogoprotos.Inventory.InventoryItem value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureInventoryItemsIsMutable();\n inventoryItems_.set(index, value);\n }", "title": "" }, { "docid": "c09e8c532fd9f0da1d24ba9a9ef0fea1", "score": "0.6373209", "text": "ListValue.Mutable<E> set(int index, E element);", "title": "" }, { "docid": "1b652ee99e64fec0b2fc0a566997d2ff", "score": "0.63703614", "text": "@Override\r\n\tpublic T set(int index, T element) {\r\n\t\t//O(n)\r\n\t\tint counter = 0;\r\n\t\tT data;\r\n\t\tif(index >= size || index < 0){\r\n\t\t\tthrow new IndexOutOfBoundsException();\r\n\t\t}else{\r\n\t\t\tNode<T> temp = head;\r\n\t\t\twhile(!(counter == index)){\r\n\t\t\t\ttemp = temp.next;\r\n\t\t\t\tcounter++;\r\n\t\t\t}\r\n\t\t\tdata = temp.value;\r\n\t\t\ttemp.value = element;\r\n\t\t}\r\n\r\n\t\treturn data;\r\n\t}", "title": "" }, { "docid": "c1383adb2e50f6e287da68d9d097e1f7", "score": "0.636243", "text": "@Override\n public T set(final int index, final T element) {\n if (index < 0 || index >= size()) {\n throw new IndexOutOfBoundsException();\n }\n\n //if element to set is first\n if (index == 0) {\n final T oldElement = first.getElement();\n first.element = element;\n return oldElement;\n }\n\n //if element to set is last\n if (index == this.size() - 1) {\n final T oldElement = last.getElement();\n last.element = element;\n return oldElement;\n }\n\n int i = 1;\n for (Item<T> x = first.next; x != last; x = x.next) {\n if (i == index) {\n final T oldElement = x.getElement();\n x.element = element;\n return oldElement;\n }\n i++;\n }\n\n return null;\n // END\n }", "title": "" }, { "docid": "00d886b9f61fe7ca3cf9a7e9368b55e9", "score": "0.635731", "text": "@Override\n\tpublic T set(int index, T element) throws IllegalArgumentException {\n\t\tif (index < 0 || index >= size) {\n\t\t\tthrow new IllegalArgumentException(\"Index out of bounds\");\n\t\t} else {\n\t\t\tNode current = head.next;\n\t\t\tint count = 0;\n\t\t\twhile (count < index) {\n\t\t\t\tcurrent = current.next;\n\t\t\t\t++count;\n\t\t\t}\n\t\t\tT retVal = current.data;\n\t\t\tcurrent.data = element;\n\t\t\treturn retVal;\n\t\t}\n\t}", "title": "" }, { "docid": "b05563eb4fbf41e054ff98fc3fb9e1c6", "score": "0.6349845", "text": "@Override\r\n\tpublic Object set(int index, Object element) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "b05563eb4fbf41e054ff98fc3fb9e1c6", "score": "0.6349845", "text": "@Override\r\n\tpublic Object set(int index, Object element) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "9dd48a6b33604870619113d32cceacfc", "score": "0.634312", "text": "E set(int index, E e);", "title": "" }, { "docid": "9fee30f6d45bf4bebcaf05bc53686f7b", "score": "0.6320465", "text": "public void setItem( Item i )\r\n\t{\r\n\t\tcurrentItem=i;\r\n\t\tinitScreen();\r\n\t}", "title": "" }, { "docid": "4f0bc4d08548f31642870a712c68c731", "score": "0.6303295", "text": "void setIndex( int index ) {\n this.index = index;\n }", "title": "" }, { "docid": "1d759020eb8ab010a38e29ed85806025", "score": "0.6298369", "text": "public void useItem(Item selectedItem, int index){\r\n modHP(selectedItem.getHealthMod());\r\n modATK(selectedItem.getAttackMod());\r\n modDEF(selectedItem.getDefenseMod());\r\n modLUCK(selectedItem.getLuckMod());\r\n System.out.println(\"You used: \" + inventory[index].getItemName() + \".\");\r\n if(selectedItem.getAttachment() == \"X\")\r\n inventory[index] = null;\r\n }", "title": "" }, { "docid": "03676529eb46063fd29ec521b2d1b6e6", "score": "0.6275168", "text": "public Builder setItem(\n int index, int value) {\n ensureItemIsMutable();\n item_.set(index, value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0c4a90a5557e749f36d89efea5dd6826", "score": "0.62668955", "text": "public Object set(int index, E element) {\n Object rv = delegate.elementAt(index);\n delegate.setElementAt(element, index);\n fireContentsChanged(this, index, index);\n return rv;\n }", "title": "" }, { "docid": "bf62470a074a37f378b7c1fe083e01d6", "score": "0.6254749", "text": "public E set(int index, E data) \n throws IndexOutOfBoundsException,NullPointerException\n\t{\n\t\tNode a = head;\n\t\tfor(int i = 0; i<index; i++)\n\t\t{\n\t\t\ta = a.getNext();\n\t\t}\n\t\ta.setElement(data);\n return (E) a.data; \n\t}", "title": "" }, { "docid": "9a5f965177c5481aa17c0ba6c4e8d3e5", "score": "0.6252905", "text": "public void setItem9(final int item9Aux) {\r\nthis.item9 = item9Aux;\r\n}", "title": "" }, { "docid": "ced426b7767352c2b2e031914074b7f2", "score": "0.62497675", "text": "@Override\n\tpublic Object set(int index, Object element) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e28a0385f0c07c27855b442a9c7b3f06", "score": "0.62494946", "text": "public void set(int index, AnyType t) throws IndexOutOfBoundsException {\n setNode(index, new Node<AnyType>(t));\n }", "title": "" }, { "docid": "a395318abaad1c1db9e658a3a25783e9", "score": "0.62461627", "text": "@Override\n public void set(int index, T element) throws IndexOutOfBoundsException, IllegalArgumentException {\n if (!this.validIndex(index))\n throw new IndexOutOfBoundsException(\"It is not available index! Please change it!\");\n else if (!this.validObject(element))\n throw new IllegalArgumentException(\"Is is not allowable element! Please change it!\");\n else\n this.array[index] = element;\n }", "title": "" }, { "docid": "ceeaa329b6bb7f043d0697c4dbf4c1dc", "score": "0.6243735", "text": "public void onChangeItem(String pams,int position);", "title": "" }, { "docid": "7ab7349d1ad38204e8cdc30f61ead6e3", "score": "0.62277305", "text": "@Override\r\n\tpublic E set(int index, E element) {\r\n\t\tif(index < 0 || index > this.size - 1){\r\n\t\t\tthrow new IndexOutOfBoundsException(\"Index outside of list!\");\r\n\t\t}\r\n\t\t\r\n\t\tif(element == null){\r\n\t\t\tthrow new NullPointerException(\"Element cannot be null!\");\r\n\t\t}\r\n\t\t\r\n\t\tNode<E> current = this.front;\r\n\t\tfor(int i = 0; i < index; i++){\r\n\t\t\tcurrent = current.next;\r\n\t\t}\r\n\t\tE oldElement = current.data;\r\n\t\tcurrent.data = element;\r\n\t\treturn oldElement;\r\n\t}", "title": "" }, { "docid": "4229bd457869a2faff77d29049c69070", "score": "0.62188154", "text": "@SuppressWarnings(\"WeakerAccess\")\n protected abstract void updateItem();", "title": "" }, { "docid": "d8db4075f6ba111fc1cff8ce7773993e", "score": "0.6208059", "text": "public void setElementAt(E obj, int index) {\n delegate.setElementAt(obj, index);\n fireContentsChanged(this, index, index);\n }", "title": "" }, { "docid": "0fe75b442e68b1aeca9bf6c56318a477", "score": "0.6199929", "text": "@Override\r\n\tpublic void setAt(T object, int index) throws DAIllegalArgumentException, DAIndexOutOfBoundsException\r\n\t{\r\n\t\tif(object == null)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\t}\r\n\t\telse if((index < 0) || (index > size - 1))\r\n\t\t{\r\n\t\t\tthrow new IndexOutOfBoundsException();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tarray[index] = object;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "82967a4d79676087957382d7b9e179d9", "score": "0.61995566", "text": "@Test\n\tpublic void testSetIndex() {\n\t\tListADT<String> data = makeFullList();\n\t\tdata.setIndex(2, \"middle\");\n\t\tassertEquals(data.getIndex(2), \"middle\");\n\t}", "title": "" }, { "docid": "64612f548066c39bdcb963de1c7f1bfb", "score": "0.61979043", "text": "public void set(int index, AnyType t) throws IndexOutOfBoundsException {\n\n\t\tsetNode(index, new Node<AnyType>(t));\n\n\t}", "title": "" }, { "docid": "58679f3ec50476de3bc027b1b73753cf", "score": "0.61956084", "text": "void setSprite(int index);", "title": "" }, { "docid": "89735cd85ab434273a98a81796067738", "score": "0.6183169", "text": "public void set(int i, Ticket p){\n\n data.set(i, p);\n\n //refresh table view\n fireContentsChanged();\n }", "title": "" }, { "docid": "d6150de0c204b51e988cb9cc5368022b", "score": "0.6182271", "text": "public Record set(int index,\n Object value);", "title": "" }, { "docid": "9c7156259316913e44fc09b0099b42e2", "score": "0.6154689", "text": "public void set(int index, E e) {\n if (index < 0 || index > size) {\n throw new IllegalArgumentException(\"set failed. Illegal index.\");\n }\n\n Node cur = dummyHead.next;\n for (int i = 0; i < index; i++) {\n cur = cur.next;\n }\n cur.e = e;\n }", "title": "" }, { "docid": "bc405f4b30c95e2641dc37da8f03df4e", "score": "0.6153468", "text": "public void add(int index, Object newDataItem) throws ListIndexOutOfBoundsException, ListException;", "title": "" }, { "docid": "a148637c0172f1c5dd9816ead99fda9a", "score": "0.6152611", "text": "@Test\n public void setItemSetsItem() {\n Map.Cell cell = new Map.Cell(pt(0, 0));\n FirstAidItem item = buildFirstAidItem(cell.getCenter());\n assertThat(cell.setItem(item), is(true));\n assertThat(cell.getItem(), is(item));\n }", "title": "" }, { "docid": "90c2a8613107ffaaeb25ff970b02d0f2", "score": "0.6151949", "text": "Object getItem(int index);", "title": "" }, { "docid": "6ff19cc13ba31a0035aca80216796c74", "score": "0.61501956", "text": "@Nonnull\n public L set(@Nonnull L list, int index, E element) {\n if (index < 0 || index >= list.size()) {\n throw new IndexOutOfBoundsException(\"index = \" + index + \", size = \" + list.size());\n }\n\n final N root = list.getRoot();\n assert root != null;\n return this.createList(this.set(root, index, element));\n }", "title": "" }, { "docid": "849e1cd71d19a21c18bc80c3c4e657da", "score": "0.61485964", "text": "int getItem(int index);", "title": "" }, { "docid": "61d7f979ac5cfdc7234904ec8ac80303", "score": "0.6147242", "text": "private void setData(\n int index, com.je.pro.test.ResponsePB.DataItem value) {\n value.getClass();\n ensureDataIsMutable();\n data_.set(index, value);\n }", "title": "" }, { "docid": "c566ec4a9c85070a9f0bd8e944ba5da9", "score": "0.6120995", "text": "@Override\n public void setLoot(int value){\n super.setLoot(value);\n }", "title": "" }, { "docid": "c6899af005d8762397daf34ffbbcdbe1", "score": "0.61196506", "text": "public void set(int index, int value) {\n elements[index] = value;\n }", "title": "" }, { "docid": "bf9afbacce25c58e334b8585746847b9", "score": "0.61083627", "text": "@Override\n\tpublic ITag set(int index, ITag adapter)\n\t{\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" }, { "docid": "f2c4b63376e419b872620111018dcebc", "score": "0.61012954", "text": "public final void setItem19(final int item19Aux) {\r\nthis.item19 = item19Aux;\r\n}", "title": "" }, { "docid": "e53dc0693e295a951638e89350eff6dc", "score": "0.60981274", "text": "public void setItemId(long itemId);", "title": "" }, { "docid": "38f315eb1ad89241c9bdbd617908d4fe", "score": "0.60974824", "text": "public void setItemValue(final int index, final String value) {\n assert 0 <= index && index <= 2;\n m_items.set(index, value);\n }", "title": "" }, { "docid": "28c680f22fe5d2c03fe5b4698a4a7a4e", "score": "0.6091855", "text": "abstract Item<T> setValue(T value);", "title": "" }, { "docid": "2ea18108ee5fa6673bae900e5b1146d6", "score": "0.60903835", "text": "public Object set(int index, Object o)\n\t{\n\t\tif ((index >= 0) && (index < numberOfObjects))\n\t\t{\n\t\t\tObject original = objects[index];\n\t\t\tobjects[index] = o;\n\t\t\t\n\t\t\treturn original;\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b73c480fa26d1784abf71d5fb32d0c23", "score": "0.60887355", "text": "public void setIndex(int i) {\r\n\t\tindex = i;\r\n\t}", "title": "" }, { "docid": "36a5d024e2a164fb3d9394cf752a6e5c", "score": "0.6080723", "text": "@Override\n public E set(int index, E element) {\n throwIfContains(element);\n return super.set(index, element);\n }", "title": "" }, { "docid": "70a5065f319b8e9de36fad8f8d8ba785", "score": "0.60769844", "text": "private void setNode(int index, Node<AnyType> t) throws IndexOutOfBoundsException {\n\t\t\tgetNode(index).setData(t.getData());\n\t\t\n\t\t\n\t\t/**\n\t\t * ------------------------------------------- TODO: You fully implement\n\t\t * this method\n\t\t * \n\t\t */\n\n\t}", "title": "" }, { "docid": "3ac708596b99ff4b916104ab85d363de", "score": "0.60757744", "text": "public void setBonus(int index, Bonus vBonus) throws IndexOutOfBoundsException {\r\n/* 236 */ if (index < 0 || index >= this._bonusList.size()) {\r\n/* 237 */ throw new IndexOutOfBoundsException(\"setBonus: Index value '\" + index + \"' not in range [0..\" + (this._bonusList.size() - 1) + \"]\");\r\n/* */ }\r\n/* */ \r\n/* 240 */ this._bonusList.set(index, vBonus);\r\n/* */ }", "title": "" }, { "docid": "652a11771a1b734700232f57a236e74d", "score": "0.6066155", "text": "public void setValueIndex(int index) { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "2c457c9645cb835c05d9e9a74c2689f3", "score": "0.6056971", "text": "private void setInventoryItems(\n int index, com.github.aeonlucid.pogoprotos.Inventory.InventoryItem.Builder builderForValue) {\n ensureInventoryItemsIsMutable();\n inventoryItems_.set(index, builderForValue.build());\n }", "title": "" }, { "docid": "00757ff453692fa87f00062fc57e3cbd", "score": "0.60448617", "text": "public void setObject(int aidx, Object aobj)\n {\n if (aidx >= 0 && aidx < getCount())\n myobjects.set(aidx, aobj);\n }", "title": "" }, { "docid": "e42f958c8acbb5f772555025e0424c5f", "score": "0.6044011", "text": "public @Override E set(int index, E element) {\n // TODO item #8\n // Rely on helper methods to keep this method small.\n // Note that a helper method could throw the exception; doesn't\n // have to be done here.\n \t\n \t/**Get Node specified by index*/\n \t\n \tNode n = getNode(index);\n \t\n \t/**Store old data of indexed node*/\n \tE oldData = n.data;\n \t\n \t/**Replace old data in with element E*/\n \tn.data = element;\n \t\n \t//return previously stored data of indexed node\n \treturn oldData;\n }", "title": "" }, { "docid": "20ebd1833774bd5696da5cecf93c3bf0", "score": "0.60409456", "text": "public anyType set(int index, anyType x)\n {\n\t ListNode<anyType> current = head;\n\t int i = 0;\n\t while(current.getNext() != head && i < index)\n\t {\n\t\t current = current.getNext();\n\t\t i++;\n\t }\n\t anyType ret = current.getValue();\n\t current.setValue(x);\n\t return ret;\n }", "title": "" }, { "docid": "44534286199f569dd65146bb057c970c", "score": "0.6038912", "text": "public void setItem(int i, ItemStack itemstack) {\n/* 406 */ NonNullList<ItemStack> nonnulllist = null;\n/* */ \n/* */ \n/* */ \n/* 410 */ for (Iterator<NonNullList<ItemStack>> iterator = this.f.iterator(); iterator.hasNext(); i -= nonnulllist1.size()) {\n/* 411 */ NonNullList<ItemStack> nonnulllist1 = iterator.next();\n/* 412 */ if (i < nonnulllist1.size()) {\n/* 413 */ nonnulllist = nonnulllist1;\n/* */ \n/* */ break;\n/* */ } \n/* */ } \n/* 418 */ if (nonnulllist != null) {\n/* 419 */ nonnulllist.set(i, itemstack);\n/* */ }\n/* */ }", "title": "" }, { "docid": "426507039a0bae8b86603b1793764455", "score": "0.6037733", "text": "public void setItem(String item){this.item = item;}", "title": "" }, { "docid": "bf83f884f79d62e4b19e80daabb69b44", "score": "0.6035604", "text": "@Nonnull public JListItemFixture item(int index) {\n return new JListItemFixture(this, index);\n }", "title": "" }, { "docid": "f5064e1bd45774066bf721ba969bcf01", "score": "0.60314155", "text": "protected void setItem(Object[] ao)\n {\n __m_Item = ao;\n }", "title": "" }, { "docid": "ae14e72c139174e4a8aa23568667797f", "score": "0.6027394", "text": "@Override\n public E set(int index, E value) throws IndexOutOfBoundsException {\n if (index<0 || index>size){\n throw new IndexOutOfBoundsException(outMesage(index));\n }\n E temporary = (E)elements[index];\n elements[index] = value;\n\n return temporary;\n }", "title": "" }, { "docid": "5174448c25937890f1e4e1f8994d867c", "score": "0.60215133", "text": "public PdfObject set(int idx, PdfObject obj) {\n\t\treturn arrayList.set(idx, obj);\n\t}", "title": "" }, { "docid": "7dbce97e6bcf2697af2740244d9b6cfb", "score": "0.6019345", "text": "Status lset(final LK key, final int index, final LV value);", "title": "" }, { "docid": "c9fd1ddc32869680bc03ddb65813113b", "score": "0.60093117", "text": "public void setItem( ArmorStandEquipHandler handler, ItemStack item );", "title": "" }, { "docid": "7038cb68b4aff04f74fc4b58ff60d930", "score": "0.5996252", "text": "protected abstract T onCreateItem(int index) throws Exception;", "title": "" }, { "docid": "f88b825d108f6809be2819f648d2e6dc", "score": "0.5991826", "text": "@Override\n public Course set(int index, Course element) {\n return null;\n }", "title": "" }, { "docid": "1297c0e3cedac78d3564772a05941632", "score": "0.5977658", "text": "public void setIndex(long index) {\r\n \t\tthis.index = index;\r\n \t}", "title": "" }, { "docid": "1cfac3503e994abe4dbcf4bf9349fb05", "score": "0.59757996", "text": "public void adicionaItem(Integer idItem, Item item) {}", "title": "" }, { "docid": "ff43283ea1ecdd4cd860498a75495fa1", "score": "0.59695154", "text": "public void setItem6(final int item6Aux) {\r\nthis.item6 = item6Aux;\r\n}", "title": "" }, { "docid": "ec4ab52771f121b431739b36c2bc71a0", "score": "0.5963371", "text": "public void setItem12(final int item12Aux) {\r\nthis.item12 = item12Aux;\r\n}", "title": "" }, { "docid": "41634590bdda36000656bf730b56d45b", "score": "0.59578544", "text": "public void setItem1(final int item1Aux) {\r\nthis.item1 = item1Aux;\r\n}", "title": "" }, { "docid": "453127a1fae78aa041a5c459f6cf3f8a", "score": "0.59477097", "text": "private void setItem(com.github.aeonlucid.pogoprotos.inventory.Item.ItemData value) {\n if (value == null) {\n throw new NullPointerException();\n }\n item_ = value;\n \n }", "title": "" }, { "docid": "d3e3140d64123ff1b6807002774bcfa8", "score": "0.59451604", "text": "public void setItem(String[] param) {\n validateItem(param);\n\n localItemTracker = param != null;\n\n this.localItem = param;\n }", "title": "" }, { "docid": "52a3848b2db9c919d7fcc2d1a69b7957", "score": "0.5935142", "text": "public void setItem(Attribute[] param) {\n validateItem(param);\n\n localItemTracker = param != null;\n\n this.localItem = param;\n }", "title": "" }, { "docid": "96dedb60d83b34ae5979c702e6af7ee4", "score": "0.5932749", "text": "public boolean set (int index, int value);", "title": "" }, { "docid": "ec8b2fdabff39fa0f1988a549e254f44", "score": "0.59303665", "text": "public UpdateStockPrice(Random random, int index) {\n this.random = random;\n this.index = index;\n }", "title": "" }, { "docid": "a7be248d0d2a61a7036867206ca5cd02", "score": "0.59284997", "text": "public void setItem(GenericItem item) {\r\n\t\tthis.item = item;\r\n\t}", "title": "" } ]
40eaa78af88527ab36681c9385ed1a3f
$ANTLR end "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0" $ANTLR start "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0" InternalReactiveXD.g:19050:1: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 : ( ruleXShortClosure ) ;
[ { "docid": "8c05dd3bd704fd7675ac40989e4aadd2", "score": "0.8420766", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:19054:1: ( ( ruleXShortClosure ) )\n // InternalReactiveXD.g:19055:2: ( ruleXShortClosure )\n {\n // InternalReactiveXD.g:19055:2: ( ruleXShortClosure )\n // InternalReactiveXD.g:19056:3: ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "449cd86d59db043f51a5351a7268d876", "score": "0.85314476", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19053:1: ( ( ruleXShortClosure ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19054:1: ( ruleXShortClosure )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19054:1: ( ruleXShortClosure )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19055:1: ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0()); \n }\n pushFollow(FOLLOW_ruleXShortClosure_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_038336);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0068c1c49e6b2bdf476579e7ffbfa8c3", "score": "0.82744724", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13982:1: ( ( ruleXShortClosure ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13983:1: ( ruleXShortClosure )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13983:1: ( ruleXShortClosure )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13984:1: ruleXShortClosure\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_4_1_0_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXShortClosure_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_028098);\r\n ruleXShortClosure();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_4_1_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "73d8eda29f9af76acae7310093db2b38", "score": "0.8159309", "text": "public final void rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18154:1: ( ( ruleXShortClosure ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18155:1: ( ruleXShortClosure )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18155:1: ( ruleXShortClosure )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18156:1: ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); \n }\n pushFollow(FOLLOW_ruleXShortClosure_in_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_036496);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d5afe28aa07976ff7aedc864b1367d30", "score": "0.8020063", "text": "public final void rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:18175:1: ( ( ruleXShortClosure ) )\n // InternalReactiveXD.g:18176:2: ( ruleXShortClosure )\n {\n // InternalReactiveXD.g:18176:2: ( ruleXShortClosure )\n // InternalReactiveXD.g:18177:3: ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ef0ecc1495301c7a7c49fb0f2943c2be", "score": "0.8019501", "text": "public final void rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13373:1: ( ( ruleXShortClosure ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13374:1: ( ruleXShortClosure )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13374:1: ( ruleXShortClosure )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13375:1: ruleXShortClosure\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXShortClosure_in_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_026847);\r\n ruleXShortClosure();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "7ce683b219afda635c8a56aef59be46e", "score": "0.77105325", "text": "public final void rule__XConstructorCall__ArgumentsAssignment_4_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19185:1: ( ( ruleXShortClosure ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19186:1: ( ruleXShortClosure )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19186:1: ( ruleXShortClosure )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19187:1: ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0()); \n }\n pushFollow(FOLLOW_ruleXShortClosure_in_rule__XConstructorCall__ArgumentsAssignment_4_1_038605);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e83064703c301778e2e773471c326d3e", "score": "0.7563673", "text": "public final void rule__XConstructorCall__ArgumentsAssignment_4_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:19182:1: ( ( ruleXShortClosure ) )\n // InternalReactiveXD.g:19183:2: ( ruleXShortClosure )\n {\n // InternalReactiveXD.g:19183:2: ( ruleXShortClosure )\n // InternalReactiveXD.g:19184:3: ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ca9028c3f33ad0ae7a940c8b4ba5615a", "score": "0.7379768", "text": "public final void rule__XConstructorCall__ArgumentsAssignment_5_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14076:1: ( ( ruleXShortClosure ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14077:1: ( ruleXShortClosure )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14077:1: ( ruleXShortClosure )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14078:1: ruleXShortClosure\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_5_0_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXShortClosure_in_rule__XConstructorCall__ArgumentsAssignment_5_028292);\r\n ruleXShortClosure();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_5_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "6eb11f1d1a094999eb9c4199450c0113", "score": "0.6727411", "text": "public final void rule__XShortClosure__Group_0_0_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9321:1: ( ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9322:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9322:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9323:1: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9324:1: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9324:2: rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0\n {\n pushFollow(FOLLOW_rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0_in_rule__XShortClosure__Group_0_0_1__0__Impl19091);\n rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a655aadab2e5c11de67c47888ae0e173", "score": "0.66707635", "text": "public final void rule__XShortClosure__Group_0_0_1_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9412:1: ( ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9413:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9413:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9414:1: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9415:1: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9415:2: rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1\n {\n pushFollow(FOLLOW_rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1_in_rule__XShortClosure__Group_0_0_1_1__1__Impl19272);\n rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "03d5a4f13629f78dd981d44d18bf4c16", "score": "0.665895", "text": "public final Boolean ruleXShortClosure() throws RecognitionException {\n Boolean current = false;\n\n Token otherlv_2=null;\n Token lv_explicitSyntax_4_0=null;\n Boolean lv_declaredFormalParameters_1_0 = null;\n\n Boolean lv_declaredFormalParameters_3_0 = null;\n\n Boolean lv_expression_5_0 = null;\n\n\n try {\n // PsiInternalApplication.g:3042:1: ( ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) )\n // PsiInternalApplication.g:3043:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )\n {\n // PsiInternalApplication.g:3043:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) )\n // PsiInternalApplication.g:3044:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) )\n {\n // PsiInternalApplication.g:3044:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) )\n // PsiInternalApplication.g:3045:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )\n {\n // PsiInternalApplication.g:3070:4: ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) )\n // PsiInternalApplication.g:3071:5: () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) )\n {\n // PsiInternalApplication.g:3071:5: ()\n // PsiInternalApplication.g:3072:6: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tprecedeComposite(elementTypeProvider.getXShortClosure_XClosureAction_0_0_0ElementType());\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\n }\n\n }\n\n // PsiInternalApplication.g:3078:5: ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )?\n int alt55=2;\n int LA55_0 = input.LA(1);\n\n if ( (LA55_0==RULE_ID||LA55_0==20||LA55_0==42) ) {\n alt55=1;\n }\n switch (alt55) {\n case 1 :\n // PsiInternalApplication.g:3079:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*\n {\n // PsiInternalApplication.g:3079:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) )\n // PsiInternalApplication.g:3080:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )\n {\n // PsiInternalApplication.g:3080:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter )\n // PsiInternalApplication.g:3081:8: lv_declaredFormalParameters_1_0= ruleJvmFormalParameter\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\t\tmarkComposite(elementTypeProvider.getXShortClosure_DeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0ElementType());\n \t\t\t\t\t\t\t\n }\n pushFollow(FOLLOW_47);\n lv_declaredFormalParameters_1_0=ruleJvmFormalParameter();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\t\t\tif(!current) {\n \t\t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n // PsiInternalApplication.g:3094:6: (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )*\n loop54:\n do {\n int alt54=2;\n int LA54_0 = input.LA(1);\n\n if ( (LA54_0==21) ) {\n alt54=1;\n }\n\n\n switch (alt54) {\n \tcase 1 :\n \t // PsiInternalApplication.g:3095:7: otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )\n \t {\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\tmarkLeaf(elementTypeProvider.getXShortClosure_CommaKeyword_0_0_1_1_0ElementType());\n \t \t\t\t\t\t\t\n \t }\n \t otherlv_2=(Token)match(input,21,FOLLOW_8); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\tdoneLeaf(otherlv_2);\n \t \t\t\t\t\t\t\n \t }\n \t // PsiInternalApplication.g:3102:7: ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) )\n \t // PsiInternalApplication.g:3103:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )\n \t {\n \t // PsiInternalApplication.g:3103:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter )\n \t // PsiInternalApplication.g:3104:9: lv_declaredFormalParameters_3_0= ruleJvmFormalParameter\n \t {\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\t\t\tmarkComposite(elementTypeProvider.getXShortClosure_DeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0ElementType());\n \t \t\t\t\t\t\t\t\t\n \t }\n \t pushFollow(FOLLOW_47);\n \t lv_declaredFormalParameters_3_0=ruleJvmFormalParameter();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\t\t\tdoneComposite();\n \t \t\t\t\t\t\t\t\t\tif(!current) {\n \t \t\t\t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t \t\t\t\t\t\t\t\t\t\tcurrent = true;\n \t \t\t\t\t\t\t\t\t\t}\n \t \t\t\t\t\t\t\t\t\n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop54;\n }\n } while (true);\n\n\n }\n break;\n\n }\n\n // PsiInternalApplication.g:3119:5: ( (lv_explicitSyntax_4_0= '|' ) )\n // PsiInternalApplication.g:3120:6: (lv_explicitSyntax_4_0= '|' )\n {\n // PsiInternalApplication.g:3120:6: (lv_explicitSyntax_4_0= '|' )\n // PsiInternalApplication.g:3121:7: lv_explicitSyntax_4_0= '|'\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tmarkLeaf(elementTypeProvider.getXShortClosure_ExplicitSyntaxVerticalLineKeyword_0_0_2_0ElementType());\n \t\t\t\t\t\t\n }\n lv_explicitSyntax_4_0=(Token)match(input,61,FOLLOW_15); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tdoneLeaf(lv_explicitSyntax_4_0);\n \t\t\t\t\t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (!current) {\n \t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n // PsiInternalApplication.g:3138:3: ( (lv_expression_5_0= ruleXExpression ) )\n // PsiInternalApplication.g:3139:4: (lv_expression_5_0= ruleXExpression )\n {\n // PsiInternalApplication.g:3139:4: (lv_expression_5_0= ruleXExpression )\n // PsiInternalApplication.g:3140:5: lv_expression_5_0= ruleXExpression\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tmarkComposite(elementTypeProvider.getXShortClosure_ExpressionXExpressionParserRuleCall_1_0ElementType());\n \t\t\t\t\n }\n pushFollow(FOLLOW_2);\n lv_expression_5_0=ruleXExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tdoneComposite();\n \t\t\t\t\tif(!current) {\n \t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t}\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "afc08cad6a2d23ecd0252063216ae594", "score": "0.66195965", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19098:1: ( ( ruleXClosure ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19099:1: ( ruleXClosure )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19099:1: ( ruleXClosure )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19100:1: ruleXClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0()); \n }\n pushFollow(FOLLOW_ruleXClosure_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_438429);\n ruleXClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3f8686a028f70bd943f52e35a0c854e4", "score": "0.66011757", "text": "public final void rule__XShortClosure__Group_0_0_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7187:1: ( ( ( rule__XShortClosure__FormalParametersAssignment_0_0_1_0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7188:1: ( ( rule__XShortClosure__FormalParametersAssignment_0_0_1_0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7188:1: ( ( rule__XShortClosure__FormalParametersAssignment_0_0_1_0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7189:1: ( rule__XShortClosure__FormalParametersAssignment_0_0_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getFormalParametersAssignment_0_0_1_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7190:1: ( rule__XShortClosure__FormalParametersAssignment_0_0_1_0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7190:2: rule__XShortClosure__FormalParametersAssignment_0_0_1_0\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__FormalParametersAssignment_0_0_1_0_in_rule__XShortClosure__Group_0_0_1__0__Impl14652);\r\n rule__XShortClosure__FormalParametersAssignment_0_0_1_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getFormalParametersAssignment_0_0_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "559b9f59ea426d02a715ddd4313693d5", "score": "0.6525729", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:19099:1: ( ( ruleXClosure ) )\n // InternalReactiveXD.g:19100:2: ( ruleXClosure )\n {\n // InternalReactiveXD.g:19100:2: ( ruleXClosure )\n // InternalReactiveXD.g:19101:3: ruleXClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3f6f59e2a351d52962758120a3dea690", "score": "0.65166914", "text": "public final void rule__XShortClosure__Group_0_0_1_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7278:1: ( ( ( rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7279:1: ( ( rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7279:1: ( ( rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7280:1: ( rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getFormalParametersAssignment_0_0_1_1_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7281:1: ( rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7281:2: rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1_in_rule__XShortClosure__Group_0_0_1_1__1__Impl14833);\r\n rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getFormalParametersAssignment_0_0_1_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1cc848505857fb86604c0f8a1c94b08f", "score": "0.6477275", "text": "public final void rule__XFeatureCall__Alternatives_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3133:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) ) | ( ( rule__XFeatureCall__Group_3_1_1__0 ) ) )\n int alt27=2;\n alt27 = dfa27.predict(input);\n switch (alt27) {\n case 1 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3134:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3134:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3135:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3136:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3136:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0\n {\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0_in_rule__XFeatureCall__Alternatives_3_16821);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3140:6: ( ( rule__XFeatureCall__Group_3_1_1__0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3140:6: ( ( rule__XFeatureCall__Group_3_1_1__0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3141:1: ( rule__XFeatureCall__Group_3_1_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3142:1: ( rule__XFeatureCall__Group_3_1_1__0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3142:2: rule__XFeatureCall__Group_3_1_1__0\n {\n pushFollow(FOLLOW_rule__XFeatureCall__Group_3_1_1__0_in_rule__XFeatureCall__Alternatives_3_16839);\n rule__XFeatureCall__Group_3_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f9a12324a0fa6e7b3f85c3207a288db6", "score": "0.6470027", "text": "public final void rule__XShortClosure__Group_0_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9286:1: ( ( ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9287:1: ( ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9287:1: ( ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9288:1: ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9289:1: ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9289:2: rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2\n {\n pushFollow(FOLLOW_rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2_in_rule__XShortClosure__Group_0_0__2__Impl19025);\n rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ce576f4ace3bd4b0c8f5b2caa6d78049", "score": "0.6466238", "text": "public final void rule__XFeatureCall__Alternatives_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:3277:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) ) | ( ( rule__XFeatureCall__Group_3_1_1__0 ) ) )\n int alt34=2;\n alt34 = dfa34.predict(input);\n switch (alt34) {\n case 1 :\n // InternalReactiveXD.g:3278:2: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n {\n // InternalReactiveXD.g:3278:2: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n // InternalReactiveXD.g:3279:3: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); \n }\n // InternalReactiveXD.g:3280:3: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n // InternalReactiveXD.g:3280:4: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0\n {\n pushFollow(FOLLOW_2);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // InternalReactiveXD.g:3284:2: ( ( rule__XFeatureCall__Group_3_1_1__0 ) )\n {\n // InternalReactiveXD.g:3284:2: ( ( rule__XFeatureCall__Group_3_1_1__0 ) )\n // InternalReactiveXD.g:3285:3: ( rule__XFeatureCall__Group_3_1_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1()); \n }\n // InternalReactiveXD.g:3286:3: ( rule__XFeatureCall__Group_3_1_1__0 )\n // InternalReactiveXD.g:3286:4: rule__XFeatureCall__Group_3_1_1__0\n {\n pushFollow(FOLLOW_2);\n rule__XFeatureCall__Group_3_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "416230a1055a441fe910e958402c29d3", "score": "0.644919", "text": "public final void synpred41_InternalSGen_fragment() throws RecognitionException { \r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2467:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2467:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2467:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2468:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2469:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2469:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0\r\n {\r\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0_in_synpred41_InternalSGen5317);\r\n rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n }", "title": "" }, { "docid": "9cc868dd6a32f7ee5ec26723b9cc0a6d", "score": "0.64465845", "text": "public final void entryRuleXShortClosure() throws RecognitionException {\n try {\n // InternalReactiveXD.g:1205:1: ( ruleXShortClosure EOF )\n // InternalReactiveXD.g:1206:1: ruleXShortClosure EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureRule()); \n }\n pushFollow(FOLLOW_1);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureRule()); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "ec0ecfd2818484580245f45cafeb33dc", "score": "0.64438635", "text": "public final void rule__XShortClosure__ExpressionAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18410:1: ( ( ruleXExpression ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18411:1: ( ruleXExpression )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18411:1: ( ruleXExpression )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18412:1: ruleXExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); \n }\n pushFollow(FOLLOW_ruleXExpression_in_rule__XShortClosure__ExpressionAssignment_137018);\n ruleXExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6679ab555092b936c606e8a0df54a3bb", "score": "0.64318883", "text": "public final void rule__XShortClosure__Group_0_0_1_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10302:1: ( ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 ) ) )\n // InternalReactiveXD.g:10303:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 ) )\n {\n // InternalReactiveXD.g:10303:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 ) )\n // InternalReactiveXD.g:10304:2: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1()); \n }\n // InternalReactiveXD.g:10305:2: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1 )\n // InternalReactiveXD.g:10305:3: rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1\n {\n pushFollow(FOLLOW_2);\n rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2e2578992cd04a69823e28307867cb7d", "score": "0.6408861", "text": "public final void rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18199:1: ( ( ruleXClosure ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18200:1: ( ruleXClosure )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18200:1: ( ruleXClosure )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18201:1: ruleXClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); \n }\n pushFollow(FOLLOW_ruleXClosure_in_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_436589);\n ruleXClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ebe8e7f90b59f4ac62488a2fe65ef746", "score": "0.63831073", "text": "public final void rule__XShortClosure__ExpressionAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13493:1: ( ( ruleXExpression ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13494:1: ( ruleXExpression )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13494:1: ( ruleXExpression )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13495:1: ruleXExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXExpression_in_rule__XShortClosure__ExpressionAssignment_127095);\r\n ruleXExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3f14d42c6ba20bf1fc7e4f0e03cc2aac", "score": "0.6375826", "text": "public final void ruleXShortClosure() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1034:2: ( ( ( rule__XShortClosure__Group__0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1035:1: ( ( rule__XShortClosure__Group__0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1035:1: ( ( rule__XShortClosure__Group__0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1036:1: ( rule__XShortClosure__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1037:1: ( rule__XShortClosure__Group__0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1037:2: rule__XShortClosure__Group__0\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group__0_in_ruleXShortClosure2147);\n rule__XShortClosure__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7f4da570a382f82a792d604332cb5244", "score": "0.6375437", "text": "public final void rule__XShortClosure__Group_0_0_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10222:1: ( ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 ) ) )\n // InternalReactiveXD.g:10223:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 ) )\n {\n // InternalReactiveXD.g:10223:1: ( ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 ) )\n // InternalReactiveXD.g:10224:2: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0()); \n }\n // InternalReactiveXD.g:10225:2: ( rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0 )\n // InternalReactiveXD.g:10225:3: rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0\n {\n pushFollow(FOLLOW_2);\n rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a119bcd4528276b107e2973b2a4872d5", "score": "0.63465816", "text": "public final void entryRuleXShortClosure() throws RecognitionException {\n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1022:1: ( ruleXShortClosure EOF )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:1023:1: ruleXShortClosure EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureRule()); \n }\n pushFollow(FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure2114);\n ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleXShortClosure2121); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "935b6ab4c5eb879f7c62753e2ff9f28b", "score": "0.63430506", "text": "public final void entryRuleXShortClosure() throws RecognitionException {\r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:910:1: ( ruleXShortClosure EOF )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:911:1: ruleXShortClosure EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureRule()); \r\n }\r\n pushFollow(FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure1874);\r\n ruleXShortClosure();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureRule()); \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleXShortClosure1881); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a41db606ec8e874ad148a824eab2259e", "score": "0.6341393", "text": "public final void rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:18220:1: ( ( ruleXClosure ) )\n // InternalReactiveXD.g:18221:2: ( ruleXClosure )\n {\n // InternalReactiveXD.g:18221:2: ( ruleXClosure )\n // InternalReactiveXD.g:18222:3: ruleXClosure\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXClosure();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c0507a28dabcb02ce20e73f6409827f0", "score": "0.6318234", "text": "public final void rule__XShortClosure__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7028:1: ( ( ( rule__XShortClosure__ExpressionAssignment_1 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7029:1: ( ( rule__XShortClosure__ExpressionAssignment_1 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7029:1: ( ( rule__XShortClosure__ExpressionAssignment_1 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7030:1: ( rule__XShortClosure__ExpressionAssignment_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7031:1: ( rule__XShortClosure__ExpressionAssignment_1 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7031:2: rule__XShortClosure__ExpressionAssignment_1\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__ExpressionAssignment_1_in_rule__XShortClosure__Group__1__Impl14342);\r\n rule__XShortClosure__ExpressionAssignment_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1cf00e9dee11785b5d1333807ad34dad", "score": "0.626134", "text": "public final void rule__XShortClosure__Group_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9227:1: ( ( () ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9228:1: ( () )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9228:1: ( () )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9229:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9230:1: ()\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9232:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8241669ccc5837507e9543714a2640e1", "score": "0.62603164", "text": "public final void rule__XShortClosure__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9164:1: ( ( ( rule__XShortClosure__ExpressionAssignment_1 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9165:1: ( ( rule__XShortClosure__ExpressionAssignment_1 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9165:1: ( ( rule__XShortClosure__ExpressionAssignment_1 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9166:1: ( rule__XShortClosure__ExpressionAssignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9167:1: ( rule__XShortClosure__ExpressionAssignment_1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9167:2: rule__XShortClosure__ExpressionAssignment_1\n {\n pushFollow(FOLLOW_rule__XShortClosure__ExpressionAssignment_1_in_rule__XShortClosure__Group__1__Impl18783);\n rule__XShortClosure__ExpressionAssignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1cf4667213945b35b09fdffb31fa2490", "score": "0.62378174", "text": "public final void rule__XShortClosure__Group_0_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7091:1: ( ( () ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7092:1: ( () )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7092:1: ( () )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7093:1: ()\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7094:1: ()\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7096:1: \r\n {\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d005e982fc1e96297771dae8c0c03d3f", "score": "0.6235924", "text": "public final void rule__XMemberFeatureCall__Alternatives_1_1_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2825:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) ) | ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) ) )\n int alt18=2;\n alt18 = dfa18.predict(input);\n switch (alt18) {\n case 1 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2826:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2826:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2827:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2828:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2828:2: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0\n {\n pushFollow(FOLLOW_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0_in_rule__XMemberFeatureCall__Alternatives_1_1_3_16056);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2832:6: ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2832:6: ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2833:1: ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2834:1: ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2834:2: rule__XMemberFeatureCall__Group_1_1_3_1_1__0\n {\n pushFollow(FOLLOW_rule__XMemberFeatureCall__Group_1_1_3_1_1__0_in_rule__XMemberFeatureCall__Alternatives_1_1_3_16074);\n rule__XMemberFeatureCall__Group_1_1_3_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "635c5b05bbead66997de557263259aca", "score": "0.6233673", "text": "public final void rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18372:1: ( ( ruleJvmFormalParameter ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18373:1: ( ruleJvmFormalParameter )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18373:1: ( ruleJvmFormalParameter )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18374:1: ruleJvmFormalParameter\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); \n }\n pushFollow(FOLLOW_ruleJvmFormalParameter_in_rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_136943);\n ruleJvmFormalParameter();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0fe8c1c9a22848a8ab4669d8dfdc7000", "score": "0.62228644", "text": "public final void rule__XShortClosure__ExpressionAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:18423:1: ( ( ruleXExpression ) )\n // InternalReactiveXD.g:18424:2: ( ruleXExpression )\n {\n // InternalReactiveXD.g:18424:2: ( ruleXExpression )\n // InternalReactiveXD.g:18425:3: ruleXExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4ab5dbcbd75079ba9e8f49e56bcb1bfb", "score": "0.6214784", "text": "public final void rule__XFeatureCall__Group_3_1_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13111:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13112:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13112:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13113:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13114:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13114:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0\n {\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0_in_rule__XFeatureCall__Group_3_1_1__0__Impl26539);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f5133c0fc8573d5a45c46b1ba6dbbee2", "score": "0.6200196", "text": "public final void rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18357:1: ( ( ruleJvmFormalParameter ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18358:1: ( ruleJvmFormalParameter )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18358:1: ( ruleJvmFormalParameter )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18359:1: ruleJvmFormalParameter\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); \n }\n pushFollow(FOLLOW_ruleJvmFormalParameter_in_rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_036912);\n ruleJvmFormalParameter();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a57d7ad13b05d54a2736fbfc25d29f99", "score": "0.61914337", "text": "public final void synpred66_InternalTortoiseShell_fragment() throws RecognitionException { \n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3134:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3134:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3134:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3135:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3136:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3136:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0\n {\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0_in_synpred66_InternalTortoiseShell6821);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "df4ec810a3a3b2aa657c8e4258a144c8", "score": "0.6179882", "text": "public final void rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18387:1: ( ( ( '|' ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18388:1: ( ( '|' ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18388:1: ( ( '|' ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18389:1: ( '|' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18390:1: ( '|' )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18391:1: '|'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0()); \n }\n match(input,87,FOLLOW_87_in_rule__XShortClosure__ExplicitSyntaxAssignment_0_0_236979); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "226b18aed5c67c3df4ef816f889ce886", "score": "0.6175266", "text": "public final void ruleXShortClosure() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:1217:2: ( ( ( rule__XShortClosure__Group__0 ) ) )\n // InternalReactiveXD.g:1218:2: ( ( rule__XShortClosure__Group__0 ) )\n {\n // InternalReactiveXD.g:1218:2: ( ( rule__XShortClosure__Group__0 ) )\n // InternalReactiveXD.g:1219:3: ( rule__XShortClosure__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup()); \n }\n // InternalReactiveXD.g:1220:3: ( rule__XShortClosure__Group__0 )\n // InternalReactiveXD.g:1220:4: rule__XShortClosure__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__XShortClosure__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0f75badcd79542d95748bca7abc80b04", "score": "0.6169063", "text": "public final void ruleXShortClosure() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:922:2: ( ( ( rule__XShortClosure__Group__0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:923:1: ( ( rule__XShortClosure__Group__0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:923:1: ( ( rule__XShortClosure__Group__0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:924:1: ( rule__XShortClosure__Group__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getGroup()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:925:1: ( rule__XShortClosure__Group__0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:925:2: rule__XShortClosure__Group__0\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__Group__0_in_ruleXShortClosure1907);\r\n rule__XShortClosure__Group__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getGroup()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9c52a34c00052d6dc1da3ff9cb6bc490", "score": "0.6137735", "text": "public final void rule__XFeatureCall__Alternatives_4_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2466:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 ) ) | ( ( rule__XFeatureCall__Group_4_1_1__0 ) ) )\r\n int alt20=2;\r\n alt20 = dfa20.predict(input);\r\n switch (alt20) {\r\n case 1 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2467:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2467:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2468:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2469:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2469:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0\r\n {\r\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0_in_rule__XFeatureCall__Alternatives_4_15317);\r\n rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2473:6: ( ( rule__XFeatureCall__Group_4_1_1__0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2473:6: ( ( rule__XFeatureCall__Group_4_1_1__0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2474:1: ( rule__XFeatureCall__Group_4_1_1__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getGroup_4_1_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2475:1: ( rule__XFeatureCall__Group_4_1_1__0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2475:2: rule__XFeatureCall__Group_4_1_1__0\r\n {\r\n pushFollow(FOLLOW_rule__XFeatureCall__Group_4_1_1__0_in_rule__XFeatureCall__Alternatives_4_15335);\r\n rule__XFeatureCall__Group_4_1_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getGroup_4_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "38760134aadbd8a6332198c8cd64c573", "score": "0.6120927", "text": "public final void rule__XShortClosure__Group_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10141:1: ( ( () ) )\n // InternalReactiveXD.g:10142:1: ( () )\n {\n // InternalReactiveXD.g:10142:1: ( () )\n // InternalReactiveXD.g:10143:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0()); \n }\n // InternalReactiveXD.g:10144:2: ()\n // InternalReactiveXD.g:10144:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3c84c70b683e7f1a22400f69c8d2d93f", "score": "0.6120726", "text": "public final void rule__XShortClosure__FormalParametersAssignment_0_0_1_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13463:1: ( ( ruleJvmFormalParameter ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13464:1: ( ruleJvmFormalParameter )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13464:1: ( ruleJvmFormalParameter )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13465:1: ruleJvmFormalParameter\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); \r\n }\r\n pushFollow(FOLLOW_ruleJvmFormalParameter_in_rule__XShortClosure__FormalParametersAssignment_0_0_1_027033);\r\n ruleJvmFormalParameter();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "948050c909364a15bbf6ed038742e97f", "score": "0.61189085", "text": "public final void rule__XShortClosure__FormalParametersAssignment_0_0_1_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13478:1: ( ( ruleJvmFormalParameter ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13479:1: ( ruleJvmFormalParameter )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13479:1: ( ruleJvmFormalParameter )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13480:1: ruleJvmFormalParameter\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_ruleJvmFormalParameter_in_rule__XShortClosure__FormalParametersAssignment_0_0_1_1_127064);\r\n ruleJvmFormalParameter();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3b59fd593d8948c356b79ce8644e8604", "score": "0.6106197", "text": "public final void rule__XFeatureCall__Group_3_1_1_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13202:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13203:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13203:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13204:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13205:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:13205:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1\n {\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1_in_rule__XFeatureCall__Group_3_1_1_1__1__Impl26720);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d45ebdd34f9aa518c5fab75842fe3bf8", "score": "0.61009645", "text": "public final void rule__XFeatureCall__Group_3_1_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:13462:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 ) ) )\n // InternalReactiveXD.g:13463:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 ) )\n {\n // InternalReactiveXD.g:13463:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 ) )\n // InternalReactiveXD.g:13464:2: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0()); \n }\n // InternalReactiveXD.g:13465:2: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0 )\n // InternalReactiveXD.g:13465:3: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0\n {\n pushFollow(FOLLOW_2);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2cace05bb2af7b7739cb5266575cbbcd", "score": "0.6088474", "text": "public final Boolean ruleXFeatureCall() throws RecognitionException {\n Boolean current = false;\n\n Token otherlv_1=null;\n Token otherlv_3=null;\n Token otherlv_5=null;\n Token lv_explicitOperationCall_7_0=null;\n Token otherlv_10=null;\n Token otherlv_12=null;\n Boolean lv_typeArguments_2_0 = null;\n\n Boolean lv_typeArguments_4_0 = null;\n\n Boolean lv_featureCallArguments_8_0 = null;\n\n Boolean lv_featureCallArguments_9_0 = null;\n\n Boolean lv_featureCallArguments_11_0 = null;\n\n Boolean lv_featureCallArguments_13_0 = null;\n\n\n try {\n // PsiInternalApplication.g:4361:1: ( ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) )\n // PsiInternalApplication.g:4362:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )\n {\n // PsiInternalApplication.g:4362:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? )\n // PsiInternalApplication.g:4363:3: () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?\n {\n // PsiInternalApplication.g:4363:3: ()\n // PsiInternalApplication.g:4364:4: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\tprecedeComposite(elementTypeProvider.getXFeatureCall_XFeatureCallAction_0ElementType());\n \t\t\t\tdoneComposite();\n \t\t\t\tassociateWithSemanticElement();\n \t\t\t\n }\n\n }\n\n // PsiInternalApplication.g:4370:3: (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )?\n int alt77=2;\n int LA77_0 = input.LA(1);\n\n if ( (LA77_0==29) ) {\n alt77=1;\n }\n switch (alt77) {\n case 1 :\n // PsiInternalApplication.g:4371:4: otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>'\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getXFeatureCall_LessThanSignKeyword_1_0ElementType());\n \t\t\t\n }\n otherlv_1=(Token)match(input,29,FOLLOW_35); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n }\n // PsiInternalApplication.g:4378:4: ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) )\n // PsiInternalApplication.g:4379:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )\n {\n // PsiInternalApplication.g:4379:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference )\n // PsiInternalApplication.g:4380:6: lv_typeArguments_2_0= ruleJvmArgumentTypeReference\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_TypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n }\n pushFollow(FOLLOW_36);\n lv_typeArguments_2_0=ruleJvmArgumentTypeReference();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\tif(!current) {\n \t\t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t\t}\n \t\t\t\t\t\n }\n\n }\n\n\n }\n\n // PsiInternalApplication.g:4393:4: (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )*\n loop76:\n do {\n int alt76=2;\n int LA76_0 = input.LA(1);\n\n if ( (LA76_0==21) ) {\n alt76=1;\n }\n\n\n switch (alt76) {\n \tcase 1 :\n \t // PsiInternalApplication.g:4394:5: otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )\n \t {\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\tmarkLeaf(elementTypeProvider.getXFeatureCall_CommaKeyword_1_2_0ElementType());\n \t \t\t\t\t\n \t }\n \t otherlv_3=(Token)match(input,21,FOLLOW_35); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\tdoneLeaf(otherlv_3);\n \t \t\t\t\t\n \t }\n \t // PsiInternalApplication.g:4401:5: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) )\n \t // PsiInternalApplication.g:4402:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )\n \t {\n \t // PsiInternalApplication.g:4402:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference )\n \t // PsiInternalApplication.g:4403:7: lv_typeArguments_4_0= ruleJvmArgumentTypeReference\n \t {\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_TypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0ElementType());\n \t \t\t\t\t\t\t\n \t }\n \t pushFollow(FOLLOW_36);\n \t lv_typeArguments_4_0=ruleJvmArgumentTypeReference();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\tdoneComposite();\n \t \t\t\t\t\t\t\tif(!current) {\n \t \t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t \t\t\t\t\t\t\t\tcurrent = true;\n \t \t\t\t\t\t\t\t}\n \t \t\t\t\t\t\t\n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop76;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getXFeatureCall_GreaterThanSignKeyword_1_3ElementType());\n \t\t\t\n }\n otherlv_5=(Token)match(input,30,FOLLOW_34); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\tdoneLeaf(otherlv_5);\n \t\t\t\n }\n\n }\n break;\n\n }\n\n // PsiInternalApplication.g:4425:3: ( ( ruleIdOrSuper ) )\n // PsiInternalApplication.g:4426:4: ( ruleIdOrSuper )\n {\n // PsiInternalApplication.g:4426:4: ( ruleIdOrSuper )\n // PsiInternalApplication.g:4427:5: ruleIdOrSuper\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tif (!current) {\n \t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t}\n \t\t\t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_FeatureJvmIdentifiableElementCrossReference_2_0ElementType());\n \t\t\t\t\n }\n pushFollow(FOLLOW_68);\n ruleIdOrSuper();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tdoneComposite();\n \t\t\t\t\n }\n\n }\n\n\n }\n\n // PsiInternalApplication.g:4442:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?\n int alt80=2;\n alt80 = dfa80.predict(input);\n switch (alt80) {\n case 1 :\n // PsiInternalApplication.g:4443:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')'\n {\n // PsiInternalApplication.g:4443:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) )\n // PsiInternalApplication.g:4444:5: ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' )\n {\n // PsiInternalApplication.g:4448:5: (lv_explicitOperationCall_7_0= '(' )\n // PsiInternalApplication.g:4449:6: lv_explicitOperationCall_7_0= '('\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tmarkLeaf(elementTypeProvider.getXFeatureCall_ExplicitOperationCallLeftParenthesisKeyword_3_0_0ElementType());\n \t\t\t\t\t\n }\n lv_explicitOperationCall_7_0=(Token)match(input,20,FOLLOW_38); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tdoneLeaf(lv_explicitOperationCall_7_0);\n \t\t\t\t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tif (!current) {\n \t\t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t\t}\n \t\t\t\t\t\n }\n\n }\n\n\n }\n\n // PsiInternalApplication.g:4464:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?\n int alt79=3;\n alt79 = dfa79.predict(input);\n switch (alt79) {\n case 1 :\n // PsiInternalApplication.g:4465:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )\n {\n // PsiInternalApplication.g:4465:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) )\n // PsiInternalApplication.g:4466:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure )\n {\n // PsiInternalApplication.g:4491:6: (lv_featureCallArguments_8_0= ruleXShortClosure )\n // PsiInternalApplication.g:4492:7: lv_featureCallArguments_8_0= ruleXShortClosure\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_FeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0ElementType());\n \t\t\t\t\t\t\n }\n pushFollow(FOLLOW_39);\n lv_featureCallArguments_8_0=ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\t\tif(!current) {\n \t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // PsiInternalApplication.g:4506:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )\n {\n // PsiInternalApplication.g:4506:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* )\n // PsiInternalApplication.g:4507:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*\n {\n // PsiInternalApplication.g:4507:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) )\n // PsiInternalApplication.g:4508:7: (lv_featureCallArguments_9_0= ruleXExpression )\n {\n // PsiInternalApplication.g:4508:7: (lv_featureCallArguments_9_0= ruleXExpression )\n // PsiInternalApplication.g:4509:8: lv_featureCallArguments_9_0= ruleXExpression\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_FeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0ElementType());\n \t\t\t\t\t\t\t\n }\n pushFollow(FOLLOW_13);\n lv_featureCallArguments_9_0=ruleXExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\t\t\tif(!current) {\n \t\t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n // PsiInternalApplication.g:4522:6: (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )*\n loop78:\n do {\n int alt78=2;\n int LA78_0 = input.LA(1);\n\n if ( (LA78_0==21) ) {\n alt78=1;\n }\n\n\n switch (alt78) {\n \tcase 1 :\n \t // PsiInternalApplication.g:4523:7: otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) )\n \t {\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\tmarkLeaf(elementTypeProvider.getXFeatureCall_CommaKeyword_3_1_1_1_0ElementType());\n \t \t\t\t\t\t\t\n \t }\n \t otherlv_10=(Token)match(input,21,FOLLOW_15); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\tdoneLeaf(otherlv_10);\n \t \t\t\t\t\t\t\n \t }\n \t // PsiInternalApplication.g:4530:7: ( (lv_featureCallArguments_11_0= ruleXExpression ) )\n \t // PsiInternalApplication.g:4531:8: (lv_featureCallArguments_11_0= ruleXExpression )\n \t {\n \t // PsiInternalApplication.g:4531:8: (lv_featureCallArguments_11_0= ruleXExpression )\n \t // PsiInternalApplication.g:4532:9: lv_featureCallArguments_11_0= ruleXExpression\n \t {\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_FeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0ElementType());\n \t \t\t\t\t\t\t\t\t\n \t }\n \t pushFollow(FOLLOW_13);\n \t lv_featureCallArguments_11_0=ruleXExpression();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\t\t\t\t\t\t\t\tdoneComposite();\n \t \t\t\t\t\t\t\t\t\tif(!current) {\n \t \t\t\t\t\t\t\t\t\t\tassociateWithSemanticElement();\n \t \t\t\t\t\t\t\t\t\t\tcurrent = true;\n \t \t\t\t\t\t\t\t\t\t}\n \t \t\t\t\t\t\t\t\t\n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop78;\n }\n } while (true);\n\n\n }\n\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getXFeatureCall_RightParenthesisKeyword_3_2ElementType());\n \t\t\t\n }\n otherlv_12=(Token)match(input,22,FOLLOW_69); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\tdoneLeaf(otherlv_12);\n \t\t\t\n }\n\n }\n break;\n\n }\n\n // PsiInternalApplication.g:4556:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?\n int alt81=2;\n alt81 = dfa81.predict(input);\n switch (alt81) {\n case 1 :\n // PsiInternalApplication.g:4557:4: ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure )\n {\n // PsiInternalApplication.g:4563:4: (lv_featureCallArguments_13_0= ruleXClosure )\n // PsiInternalApplication.g:4564:5: lv_featureCallArguments_13_0= ruleXClosure\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tmarkComposite(elementTypeProvider.getXFeatureCall_FeatureCallArgumentsXClosureParserRuleCall_4_0ElementType());\n \t\t\t\t\n }\n pushFollow(FOLLOW_2);\n lv_featureCallArguments_13_0=ruleXClosure();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tdoneComposite();\n \t\t\t\t\tif(!current) {\n \t\t\t\t\t\tassociateWithSemanticElement();\n \t\t\t\t\t\tcurrent = true;\n \t\t\t\t\t}\n \t\t\t\t\n }\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "5a885d8dead3cc2e1b5b335f40539ecc", "score": "0.60639143", "text": "public final void rule__XFeatureCall__Group_3_1_1_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:13542:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 ) ) )\n // InternalReactiveXD.g:13543:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 ) )\n {\n // InternalReactiveXD.g:13543:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 ) )\n // InternalReactiveXD.g:13544:2: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1()); \n }\n // InternalReactiveXD.g:13545:2: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1 )\n // InternalReactiveXD.g:13545:3: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1\n {\n pushFollow(FOLLOW_2);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "73e51db3cd1e0372d869c2293c71c1cc", "score": "0.6059787", "text": "public final void rule__XShortClosure__Group_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9258:1: ( ( ( rule__XShortClosure__Group_0_0_1__0 )? ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9259:1: ( ( rule__XShortClosure__Group_0_0_1__0 )? )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9259:1: ( ( rule__XShortClosure__Group_0_0_1__0 )? )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9260:1: ( rule__XShortClosure__Group_0_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9261:1: ( rule__XShortClosure__Group_0_0_1__0 )?\n int alt73=2;\n int LA73_0 = input.LA(1);\n\n if ( (LA73_0==RULE_ID||LA73_0==31||LA73_0==65) ) {\n alt73=1;\n }\n switch (alt73) {\n case 1 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9261:2: rule__XShortClosure__Group_0_0_1__0\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1__0_in_rule__XShortClosure__Group_0_0__1__Impl18967);\n rule__XShortClosure__Group_0_0_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "de6a9d4a61481bfe044d568b6c28033d", "score": "0.6057267", "text": "public final void rule__XShortClosure__Group_0_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10194:1: ( ( ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 ) ) )\n // InternalReactiveXD.g:10195:1: ( ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 ) )\n {\n // InternalReactiveXD.g:10195:1: ( ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 ) )\n // InternalReactiveXD.g:10196:2: ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2()); \n }\n // InternalReactiveXD.g:10197:2: ( rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2 )\n // InternalReactiveXD.g:10197:3: rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2\n {\n pushFollow(FOLLOW_2);\n rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "477bf93e2b0db311f92e7d5fd00f2b74", "score": "0.6056752", "text": "public final void rule__XMemberFeatureCall__Alternatives_1_1_3_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2242:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) ) | ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) ) )\r\n int alt14=2;\r\n alt14 = dfa14.predict(input);\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2243:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2243:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2244:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2245:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2245:2: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0\r\n {\r\n pushFollow(FOLLOW_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0_in_rule__XMemberFeatureCall__Alternatives_1_1_3_14760);\r\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2249:6: ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2249:6: ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2250:1: ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2251:1: ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2251:2: rule__XMemberFeatureCall__Group_1_1_3_1_1__0\r\n {\r\n pushFollow(FOLLOW_rule__XMemberFeatureCall__Group_1_1_3_1_1__0_in_rule__XMemberFeatureCall__Alternatives_1_1_3_14778);\r\n rule__XMemberFeatureCall__Group_1_1_3_1_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1279875a584f13a6fff4332c602e9c13", "score": "0.6022242", "text": "public final void rule__XShortClosure__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9196:1: ( ( ( rule__XShortClosure__Group_0_0__0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9197:1: ( ( rule__XShortClosure__Group_0_0__0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9197:1: ( ( rule__XShortClosure__Group_0_0__0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9198:1: ( rule__XShortClosure__Group_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9199:1: ( rule__XShortClosure__Group_0_0__0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9199:2: rule__XShortClosure__Group_0_0__0\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0__0_in_rule__XShortClosure__Group_0__0__Impl18844);\n rule__XShortClosure__Group_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5370315f042d5017e8182d9a6deb188d", "score": "0.600322", "text": "public final void rule__XFeatureCall__Group_4_1_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9951:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9952:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9952:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9953:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_1_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9954:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9954:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0\r\n {\r\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0_in_rule__XFeatureCall__Group_4_1_1__0__Impl20085);\r\n rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b2ba6db1c39c0de3f7bbcd0cbfc8893d", "score": "0.600024", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19068:1: ( ( ruleXExpression ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19069:1: ( ruleXExpression )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19069:1: ( ruleXExpression )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19070:1: ruleXExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0()); \n }\n pushFollow(FOLLOW_ruleXExpression_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_038367);\n ruleXExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8afe75dc450b5af9e409a8a0bb80b55a", "score": "0.5995814", "text": "public final void synpred74_InternalReactiveXD_fragment() throws RecognitionException { \n // InternalReactiveXD.g:3278:2: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) ) )\n // InternalReactiveXD.g:3278:2: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n {\n // InternalReactiveXD.g:3278:2: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 ) )\n // InternalReactiveXD.g:3279:3: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); \n }\n // InternalReactiveXD.g:3280:3: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0 )\n // InternalReactiveXD.g:3280:4: rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0\n {\n pushFollow(FOLLOW_2);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "7e74fa74f600e770994b2053b3acd7b6", "score": "0.5982617", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19083:1: ( ( ruleXExpression ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19084:1: ( ruleXExpression )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19084:1: ( ruleXExpression )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19085:1: ruleXExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0()); \n }\n pushFollow(FOLLOW_ruleXExpression_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_138398);\n ruleXExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e145d41d7d94430be157678b9629a882", "score": "0.5975641", "text": "public final void rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:18374:1: ( ( ruleJvmFormalParameter ) )\n // InternalReactiveXD.g:18375:2: ( ruleJvmFormalParameter )\n {\n // InternalReactiveXD.g:18375:2: ( ruleJvmFormalParameter )\n // InternalReactiveXD.g:18376:3: ruleJvmFormalParameter\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); \n }\n pushFollow(FOLLOW_2);\n ruleJvmFormalParameter();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ecc7ed8d711ede4d7af622e4580a7d9f", "score": "0.5973493", "text": "public final void rule__XFeatureCall__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12858:1: ( ( ( rule__XFeatureCall__TypeArgumentsAssignment_1_1 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12859:1: ( ( rule__XFeatureCall__TypeArgumentsAssignment_1_1 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12859:1: ( ( rule__XFeatureCall__TypeArgumentsAssignment_1_1 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12860:1: ( rule__XFeatureCall__TypeArgumentsAssignment_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12861:1: ( rule__XFeatureCall__TypeArgumentsAssignment_1_1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12861:2: rule__XFeatureCall__TypeArgumentsAssignment_1_1\n {\n pushFollow(FOLLOW_rule__XFeatureCall__TypeArgumentsAssignment_1_1_in_rule__XFeatureCall__Group_1__1__Impl26042);\n rule__XFeatureCall__TypeArgumentsAssignment_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2afeecfba67274e635d845bbd8daacf5", "score": "0.5970092", "text": "public final void rule__XShortClosure__Group_0_0_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9349:1: ( ( ( rule__XShortClosure__Group_0_0_1_1__0 )* ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9350:1: ( ( rule__XShortClosure__Group_0_0_1_1__0 )* )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9350:1: ( ( rule__XShortClosure__Group_0_0_1_1__0 )* )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9351:1: ( rule__XShortClosure__Group_0_0_1_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9352:1: ( rule__XShortClosure__Group_0_0_1_1__0 )*\n loop74:\n do {\n int alt74=2;\n int LA74_0 = input.LA(1);\n\n if ( (LA74_0==58) ) {\n alt74=1;\n }\n\n\n switch (alt74) {\n \tcase 1 :\n \t // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9352:2: rule__XShortClosure__Group_0_0_1_1__0\n \t {\n \t pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1_1__0_in_rule__XShortClosure__Group_0_0_1__1__Impl19148);\n \t rule__XShortClosure__Group_0_0_1_1__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop74;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0e74448b088cb9ef287a811dfecd618e", "score": "0.5967473", "text": "public final void rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:18389:1: ( ( ruleJvmFormalParameter ) )\n // InternalReactiveXD.g:18390:2: ( ruleJvmFormalParameter )\n {\n // InternalReactiveXD.g:18390:2: ( ruleJvmFormalParameter )\n // InternalReactiveXD.g:18391:3: ruleJvmFormalParameter\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleJvmFormalParameter();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d5451a1a0d0565cee424d43f443e9bf5", "score": "0.59433585", "text": "public final void rule__XShortClosure__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9136:1: ( ( ( rule__XShortClosure__Group_0__0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9137:1: ( ( rule__XShortClosure__Group_0__0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9137:1: ( ( rule__XShortClosure__Group_0__0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9138:1: ( rule__XShortClosure__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9139:1: ( rule__XShortClosure__Group_0__0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9139:2: rule__XShortClosure__Group_0__0\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0__0_in_rule__XShortClosure__Group__0__Impl18726);\n rule__XShortClosure__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4b741cae1a9def7f090aee9df04bf47c", "score": "0.5940263", "text": "public final void rule__XMemberFeatureCall__Alternatives_1_1_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:2980:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) ) | ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) ) )\n int alt25=2;\n alt25 = dfa25.predict(input);\n switch (alt25) {\n case 1 :\n // InternalReactiveXD.g:2981:2: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\n {\n // InternalReactiveXD.g:2981:2: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\n // InternalReactiveXD.g:2982:3: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \n }\n // InternalReactiveXD.g:2983:3: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\n // InternalReactiveXD.g:2983:4: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0\n {\n pushFollow(FOLLOW_2);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // InternalReactiveXD.g:2987:2: ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) )\n {\n // InternalReactiveXD.g:2987:2: ( ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 ) )\n // InternalReactiveXD.g:2988:3: ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); \n }\n // InternalReactiveXD.g:2989:3: ( rule__XMemberFeatureCall__Group_1_1_3_1_1__0 )\n // InternalReactiveXD.g:2989:4: rule__XMemberFeatureCall__Group_1_1_3_1_1__0\n {\n pushFollow(FOLLOW_2);\n rule__XMemberFeatureCall__Group_1_1_3_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f7629e9c27a88150090430884047e9f6", "score": "0.5938812", "text": "public final void rule__XFeatureCall__ExplicitOperationCallAssignment_4_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13959:1: ( ( ( '(' ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13960:1: ( ( '(' ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13960:1: ( ( '(' ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13961:1: ( '(' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_4_0_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13962:1: ( '(' )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13963:1: '('\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_4_0_0()); \r\n }\r\n match(input,47,FOLLOW_47_in_rule__XFeatureCall__ExplicitOperationCallAssignment_4_028059); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_4_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_4_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9fe1e5a54b9793e9d9f19d2fcceb730c", "score": "0.5911149", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:19069:1: ( ( ruleXExpression ) )\n // InternalReactiveXD.g:19070:2: ( ruleXExpression )\n {\n // InternalReactiveXD.g:19070:2: ( ruleXExpression )\n // InternalReactiveXD.g:19071:3: ruleXExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0c864181dad2bd975b2901b91fcad1d6", "score": "0.5909978", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:19084:1: ( ( ruleXExpression ) )\n // InternalReactiveXD.g:19085:2: ( ruleXExpression )\n {\n // InternalReactiveXD.g:19085:2: ( ruleXExpression )\n // InternalReactiveXD.g:19086:3: ruleXExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleXExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ea7f5974dec1335dcf926019928d62ec", "score": "0.58957386", "text": "public final void rule__XShortClosure__Group_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7060:1: ( ( ( rule__XShortClosure__Group_0_0__0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7061:1: ( ( rule__XShortClosure__Group_0_0__0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7061:1: ( ( rule__XShortClosure__Group_0_0__0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7062:1: ( rule__XShortClosure__Group_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7063:1: ( rule__XShortClosure__Group_0_0__0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7063:2: rule__XShortClosure__Group_0_0__0\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0__0_in_rule__XShortClosure__Group_0__0__Impl14403);\r\n rule__XShortClosure__Group_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3369d4f6f9271f43f5ed3b889c22e61a", "score": "0.58920264", "text": "public final void rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13350:1: ( ( ( '(' ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13351:1: ( ( '(' ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13351:1: ( ( '(' ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13352:1: ( '(' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13353:1: ( '(' )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13354:1: '('\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \r\n }\r\n match(input,47,FOLLOW_47_in_rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_026808); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "935ea93a3686f1e8a464175baf872add", "score": "0.5887897", "text": "public final void rule__XShortClosure__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7000:1: ( ( ( rule__XShortClosure__Group_0__0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7001:1: ( ( rule__XShortClosure__Group_0__0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7001:1: ( ( rule__XShortClosure__Group_0__0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7002:1: ( rule__XShortClosure__Group_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getGroup_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7003:1: ( rule__XShortClosure__Group_0__0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7003:2: rule__XShortClosure__Group_0__0\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__Group_0__0_in_rule__XShortClosure__Group__0__Impl14285);\r\n rule__XShortClosure__Group_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getGroup_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "289a3e95461cf7ea6b9888435f0f2a7d", "score": "0.5885863", "text": "public final void rule__XFeatureCall__Group_4_1_1_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10042:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10043:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10043:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10044:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_1_1_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10045:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10045:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1\r\n {\r\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1_in_rule__XFeatureCall__Group_4_1_1_1__1__Impl20266);\r\n rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4_1_1_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8bddc40ad4f83a6945c60a3aa0532e9c", "score": "0.58772093", "text": "public final void rule__XShortClosure__Group_0_0_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7215:1: ( ( ( rule__XShortClosure__Group_0_0_1_1__0 )* ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7216:1: ( ( rule__XShortClosure__Group_0_0_1_1__0 )* )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7216:1: ( ( rule__XShortClosure__Group_0_0_1_1__0 )* )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7217:1: ( rule__XShortClosure__Group_0_0_1_1__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7218:1: ( rule__XShortClosure__Group_0_0_1_1__0 )*\r\n loop50:\r\n do {\r\n int alt50=2;\r\n int LA50_0 = input.LA(1);\r\n\r\n if ( (LA50_0==42) ) {\r\n alt50=1;\r\n }\r\n\r\n\r\n switch (alt50) {\r\n \tcase 1 :\r\n \t // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7218:2: rule__XShortClosure__Group_0_0_1_1__0\r\n \t {\r\n \t pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1_1__0_in_rule__XShortClosure__Group_0_0_1__1__Impl14709);\r\n \t rule__XShortClosure__Group_0_0_1_1__0();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return ;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop50;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "f22d1ce44ca13198d63719321b40eddb", "score": "0.58761114", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13997:1: ( ( ruleXExpression ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13998:1: ( ruleXExpression )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13998:1: ( ruleXExpression )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:13999:1: ruleXExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_4_1_1_0_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXExpression_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_028129);\r\n ruleXExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_4_1_1_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "10ae03b9f085ad8e2d88d473d8b68fda", "score": "0.586792", "text": "public final Boolean entryRuleXShortClosure() throws RecognitionException {\n Boolean current = false;\n\n Boolean iv_ruleXShortClosure = null;\n\n\n try {\n // PsiInternalApplication.g:3034:55: (iv_ruleXShortClosure= ruleXShortClosure EOF )\n // PsiInternalApplication.g:3035:2: iv_ruleXShortClosure= ruleXShortClosure EOF\n {\n if ( state.backtracking==0 ) {\n markComposite(elementTypeProvider.getXShortClosureElementType()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleXShortClosure=ruleXShortClosure();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleXShortClosure; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "71ca32cef0b8e05e7c4e980da89897c9", "score": "0.5841482", "text": "public final void rule__XShortClosure__Group_0_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7122:1: ( ( ( rule__XShortClosure__Group_0_0_1__0 )? ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7123:1: ( ( rule__XShortClosure__Group_0_0_1__0 )? )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7123:1: ( ( rule__XShortClosure__Group_0_0_1__0 )? )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7124:1: ( rule__XShortClosure__Group_0_0_1__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7125:1: ( rule__XShortClosure__Group_0_0_1__0 )?\r\n int alt49=2;\r\n int LA49_0 = input.LA(1);\r\n\r\n if ( (LA49_0==RULE_ID||LA49_0==47||LA49_0==65) ) {\r\n alt49=1;\r\n }\r\n switch (alt49) {\r\n case 1 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:7125:2: rule__XShortClosure__Group_0_0_1__0\r\n {\r\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1__0_in_rule__XShortClosure__Group_0_0__1__Impl14526);\r\n rule__XShortClosure__Group_0_0_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "6bf8df7afa6df7114dd25c14c469ab60", "score": "0.5836716", "text": "public final void rule__XFeatureCall__Group_1_2__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12984:1: ( ( ( rule__XFeatureCall__TypeArgumentsAssignment_1_2_1 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12985:1: ( ( rule__XFeatureCall__TypeArgumentsAssignment_1_2_1 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12985:1: ( ( rule__XFeatureCall__TypeArgumentsAssignment_1_2_1 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12986:1: ( rule__XFeatureCall__TypeArgumentsAssignment_1_2_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12987:1: ( rule__XFeatureCall__TypeArgumentsAssignment_1_2_1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12987:2: rule__XFeatureCall__TypeArgumentsAssignment_1_2_1\n {\n pushFollow(FOLLOW_rule__XFeatureCall__TypeArgumentsAssignment_1_2_1_in_rule__XFeatureCall__Group_1_2__1__Impl26289);\n rule__XFeatureCall__TypeArgumentsAssignment_1_2_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8d83b1db48c0a396a67fbdf82fd97f39", "score": "0.5835356", "text": "public final void rule__XShortClosure__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10086:1: ( ( ( rule__XShortClosure__ExpressionAssignment_1 ) ) )\n // InternalReactiveXD.g:10087:1: ( ( rule__XShortClosure__ExpressionAssignment_1 ) )\n {\n // InternalReactiveXD.g:10087:1: ( ( rule__XShortClosure__ExpressionAssignment_1 ) )\n // InternalReactiveXD.g:10088:2: ( rule__XShortClosure__ExpressionAssignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1()); \n }\n // InternalReactiveXD.g:10089:2: ( rule__XShortClosure__ExpressionAssignment_1 )\n // InternalReactiveXD.g:10089:3: rule__XShortClosure__ExpressionAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__XShortClosure__ExpressionAssignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "35a961162a5d15ef1b75d23db1294e0b", "score": "0.5809947", "text": "public final void rule__XShortClosure__Group_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10168:1: ( ( ( rule__XShortClosure__Group_0_0_1__0 )? ) )\n // InternalReactiveXD.g:10169:1: ( ( rule__XShortClosure__Group_0_0_1__0 )? )\n {\n // InternalReactiveXD.g:10169:1: ( ( rule__XShortClosure__Group_0_0_1__0 )? )\n // InternalReactiveXD.g:10170:2: ( rule__XShortClosure__Group_0_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXShortClosureAccess().getGroup_0_0_1()); \n }\n // InternalReactiveXD.g:10171:2: ( rule__XShortClosure__Group_0_0_1__0 )?\n int alt91=2;\n int LA91_0 = input.LA(1);\n\n if ( (LA91_0==RULE_ID||LA91_0==35||LA91_0==58) ) {\n alt91=1;\n }\n switch (alt91) {\n case 1 :\n // InternalReactiveXD.g:10171:3: rule__XShortClosure__Group_0_0_1__0\n {\n pushFollow(FOLLOW_2);\n rule__XShortClosure__Group_0_0_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXShortClosureAccess().getGroup_0_0_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "81d0c7c2e662a3aef0ba522307d3b81d", "score": "0.5805314", "text": "public final void rule__XFeatureCall__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12788:1: ( ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4 )? ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12789:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4 )? )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12789:1: ( ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4 )? )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12790:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12791:1: ( rule__XFeatureCall__FeatureCallArgumentsAssignment_4 )?\n int alt92=2;\n alt92 = dfa92.predict(input);\n switch (alt92) {\n case 1 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:12791:2: rule__XFeatureCall__FeatureCallArgumentsAssignment_4\n {\n pushFollow(FOLLOW_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_in_rule__XFeatureCall__Group__4__Impl25909);\n rule__XFeatureCall__FeatureCallArgumentsAssignment_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c49651d753face97aa359b987c5633a5", "score": "0.5804735", "text": "public final void rule__XLiteral__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2352:1: ( ( ruleXClosure ) | ( ruleXBooleanLiteral ) | ( ruleXIntLiteral ) | ( ruleXNullLiteral ) | ( ruleXStringLiteral ) | ( ruleXTypeLiteral ) )\r\n int alt16=6;\r\n switch ( input.LA(1) ) {\r\n case 44:\r\n {\r\n alt16=1;\r\n }\r\n break;\r\n case 34:\r\n case 72:\r\n {\r\n alt16=2;\r\n }\r\n break;\r\n case RULE_INT:\r\n {\r\n alt16=3;\r\n }\r\n break;\r\n case 58:\r\n {\r\n alt16=4;\r\n }\r\n break;\r\n case RULE_STRING:\r\n {\r\n alt16=5;\r\n }\r\n break;\r\n case 59:\r\n {\r\n alt16=6;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 16, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt16) {\r\n case 1 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2353:1: ( ruleXClosure )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2353:1: ( ruleXClosure )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2354:1: ruleXClosure\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXClosure_in_rule__XLiteral__Alternatives5047);\r\n ruleXClosure();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2359:6: ( ruleXBooleanLiteral )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2359:6: ( ruleXBooleanLiteral )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2360:1: ruleXBooleanLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_1()); \r\n }\r\n pushFollow(FOLLOW_ruleXBooleanLiteral_in_rule__XLiteral__Alternatives5064);\r\n ruleXBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2365:6: ( ruleXIntLiteral )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2365:6: ( ruleXIntLiteral )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2366:1: ruleXIntLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXLiteralAccess().getXIntLiteralParserRuleCall_2()); \r\n }\r\n pushFollow(FOLLOW_ruleXIntLiteral_in_rule__XLiteral__Alternatives5081);\r\n ruleXIntLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXLiteralAccess().getXIntLiteralParserRuleCall_2()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2371:6: ( ruleXNullLiteral )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2371:6: ( ruleXNullLiteral )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2372:1: ruleXNullLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_3()); \r\n }\r\n pushFollow(FOLLOW_ruleXNullLiteral_in_rule__XLiteral__Alternatives5098);\r\n ruleXNullLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 5 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2377:6: ( ruleXStringLiteral )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2377:6: ( ruleXStringLiteral )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2378:1: ruleXStringLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_4()); \r\n }\r\n pushFollow(FOLLOW_ruleXStringLiteral_in_rule__XLiteral__Alternatives5115);\r\n ruleXStringLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_4()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 6 :\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2383:6: ( ruleXTypeLiteral )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2383:6: ( ruleXTypeLiteral )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:2384:1: ruleXTypeLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_5()); \r\n }\r\n pushFollow(FOLLOW_ruleXTypeLiteral_in_rule__XLiteral__Alternatives5132);\r\n ruleXTypeLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_5()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "151922d64e4a199a23288308d83cf252", "score": "0.57977176", "text": "public final void rule__XShortClosure__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9124:1: ( rule__XShortClosure__Group__0__Impl rule__XShortClosure__Group__1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9125:2: rule__XShortClosure__Group__0__Impl rule__XShortClosure__Group__1\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group__0__Impl_in_rule__XShortClosure__Group__018696);\n rule__XShortClosure__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XShortClosure__Group__1_in_rule__XShortClosure__Group__018699);\n rule__XShortClosure__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "485badecd2f4db9131332458437f34ef", "score": "0.5794078", "text": "public final void rule__XFeatureCall__ExplicitOperationCallAssignment_3_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19030:1: ( ( ( '(' ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19031:1: ( ( '(' ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19031:1: ( ( '(' ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19032:1: ( '(' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19033:1: ( '(' )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:19034:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0()); \n }\n match(input,65,FOLLOW_65_in_rule__XFeatureCall__ExplicitOperationCallAssignment_3_038297); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0fbdd2c718d50d225e59f57f1068499a", "score": "0.57727873", "text": "public final void rule__XShortClosure__Group_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9246:1: ( rule__XShortClosure__Group_0_0__1__Impl rule__XShortClosure__Group_0_0__2 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9247:2: rule__XShortClosure__Group_0_0__1__Impl rule__XShortClosure__Group_0_0__2\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0__1__Impl_in_rule__XShortClosure__Group_0_0__118937);\n rule__XShortClosure__Group_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0__2_in_rule__XShortClosure__Group_0_0__118940);\n rule__XShortClosure__Group_0_0__2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d92486e493be3ddee043aac55440317d", "score": "0.5765649", "text": "public final void rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18131:1: ( ( ( '(' ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18132:1: ( ( '(' ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18132:1: ( ( '(' ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18133:1: ( '(' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18134:1: ( '(' )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18135:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \n }\n match(input,65,FOLLOW_65_in_rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_036457); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c7dafc39faf23d5e49cc6f3875bff75b", "score": "0.573152", "text": "public final void rule__XShortClosure__Group_0_0_1_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9370:1: ( rule__XShortClosure__Group_0_0_1_1__0__Impl rule__XShortClosure__Group_0_0_1_1__1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9371:2: rule__XShortClosure__Group_0_0_1_1__0__Impl rule__XShortClosure__Group_0_0_1_1__1\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1_1__0__Impl_in_rule__XShortClosure__Group_0_0_1_1__019183);\n rule__XShortClosure__Group_0_0_1_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1_1__1_in_rule__XShortClosure__Group_0_0_1_1__019186);\n rule__XShortClosure__Group_0_0_1_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5799aff5266b845db569c3a2fdad1c8d", "score": "0.5708194", "text": "public final void rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14012:1: ( ( ruleXExpression ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14013:1: ( ruleXExpression )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14013:1: ( ruleXExpression )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:14014:1: ruleXExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_4_1_1_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_ruleXExpression_in_rule__XFeatureCall__FeatureCallArgumentsAssignment_4_1_1_1_128160);\r\n ruleXExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_4_1_1_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "532dc5be4c9d1933286b97e681238487", "score": "0.5706352", "text": "public final void rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18002:1: ( ( ( ruleFeatureCallID ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18003:1: ( ( ruleFeatureCallID ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18003:1: ( ( ruleFeatureCallID ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18004:1: ( ruleFeatureCallID )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18005:1: ( ruleFeatureCallID )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:18006:1: ruleFeatureCallID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementFeatureCallIDParserRuleCall_1_0_0_0_2_0_1()); \n }\n pushFollow(FOLLOW_ruleFeatureCallID_in_rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_236197);\n ruleFeatureCallID();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementFeatureCallIDParserRuleCall_1_0_0_0_2_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d3f9e0884ebb7002aff57b3cf20fba67", "score": "0.5704975", "text": "public final void rule__XMemberFeatureCall__Group_1_1_3_1_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6559:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6560:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6560:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6561:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6562:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6562:2: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0\r\n {\r\n pushFollow(FOLLOW_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0_in_rule__XMemberFeatureCall__Group_1_1_3_1_1__0__Impl13418);\r\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "fbe23a598faa9cfdba419421a6f62559", "score": "0.57015556", "text": "public final void rule__XShortClosure__Group_0_0_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9309:1: ( rule__XShortClosure__Group_0_0_1__0__Impl rule__XShortClosure__Group_0_0_1__1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9310:2: rule__XShortClosure__Group_0_0_1__0__Impl rule__XShortClosure__Group_0_0_1__1\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1__0__Impl_in_rule__XShortClosure__Group_0_0_1__019061);\n rule__XShortClosure__Group_0_0_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0_1__1_in_rule__XShortClosure__Group_0_0_1__019064);\n rule__XShortClosure__Group_0_0_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9ae02860604a6df3eb19a7bc33b25b14", "score": "0.56993055", "text": "public final void rule__XMemberFeatureCall__Group_1_1_3_1_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7879:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7880:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7880:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7881:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7882:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7882:2: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0\n {\n pushFollow(FOLLOW_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0_in_rule__XMemberFeatureCall__Group_1_1_3_1_1__0__Impl16255);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "676e818e3f504031ff4f9f7f9ea69655", "score": "0.5697868", "text": "public final void rule__XMemberFeatureCall__Group_1_1_3_1_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:8980:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) ) )\n // InternalReactiveXD.g:8981:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) )\n {\n // InternalReactiveXD.g:8981:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 ) )\n // InternalReactiveXD.g:8982:2: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0()); \n }\n // InternalReactiveXD.g:8983:2: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0 )\n // InternalReactiveXD.g:8983:3: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0\n {\n pushFollow(FOLLOW_2);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6050d5fdded9ed51b4abb37b8ece24f3", "score": "0.5686457", "text": "public final void synpred39_InternalTortoiseShell_fragment() throws RecognitionException { \n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2826:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2826:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2826:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2827:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2828:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:2828:2: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0\n {\n pushFollow(FOLLOW_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0_in_synpred39_InternalTortoiseShell6056);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "d58eceaa4b237123daa563aedea23968", "score": "0.56735754", "text": "public final void rule__XMemberFeatureCall__Group_1_1_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6306:1: ( ( ( rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6307:1: ( ( rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6307:1: ( ( rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6308:1: ( rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6309:1: ( rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:6309:2: rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1\r\n {\r\n pushFollow(FOLLOW_rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1_in_rule__XMemberFeatureCall__Group_1_1_1__1__Impl12921);\r\n rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "961bb0b8d2788c3aa721a9b56377a814", "score": "0.5672009", "text": "public final void rule__XFeatureCall__Group_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9698:1: ( ( ( rule__XFeatureCall__TypeArgumentsAssignment_2_1 ) ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9699:1: ( ( rule__XFeatureCall__TypeArgumentsAssignment_2_1 ) )\r\n {\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9699:1: ( ( rule__XFeatureCall__TypeArgumentsAssignment_2_1 ) )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9700:1: ( rule__XFeatureCall__TypeArgumentsAssignment_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_2_1()); \r\n }\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9701:1: ( rule__XFeatureCall__TypeArgumentsAssignment_2_1 )\r\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:9701:2: rule__XFeatureCall__TypeArgumentsAssignment_2_1\r\n {\r\n pushFollow(FOLLOW_rule__XFeatureCall__TypeArgumentsAssignment_2_1_in_rule__XFeatureCall__Group_2__1__Impl19588);\r\n rule__XFeatureCall__TypeArgumentsAssignment_2_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_2_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "46520934a7fe28aea58f224a141d8de7", "score": "0.566084", "text": "public final void rule__XShortClosure__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10048:1: ( rule__XShortClosure__Group__0__Impl rule__XShortClosure__Group__1 )\n // InternalReactiveXD.g:10049:2: rule__XShortClosure__Group__0__Impl rule__XShortClosure__Group__1\n {\n pushFollow(FOLLOW_63);\n rule__XShortClosure__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XShortClosure__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a5f8f6b3cd4258363c6736e3e4e523fc", "score": "0.56572735", "text": "public final void rule__XMemberFeatureCall__Group_1_1__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7463:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4 )? ) )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7464:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4 )? )\n {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7464:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4 )? )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7465:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4()); \n }\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7466:1: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4 )?\n int alt60=2;\n alt60 = dfa60.predict(input);\n switch (alt60) {\n case 1 :\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:7466:2: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4\n {\n pushFollow(FOLLOW_rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4_in_rule__XMemberFeatureCall__Group_1_1__4__Impl15444);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "62cb8c78c3fc424c523b52afa4433c08", "score": "0.56566197", "text": "public final void rule__XMemberFeatureCall__Group_1_1_3_1_1_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:9060:1: ( ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1 ) ) )\n // InternalReactiveXD.g:9061:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1 ) )\n {\n // InternalReactiveXD.g:9061:1: ( ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1 ) )\n // InternalReactiveXD.g:9062:2: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1()); \n }\n // InternalReactiveXD.g:9063:2: ( rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1 )\n // InternalReactiveXD.g:9063:3: rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1\n {\n pushFollow(FOLLOW_2);\n rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "57079f96c54e9b78a78c556003437bb4", "score": "0.5654466", "text": "public final void rule__XShortClosure__Group_0_0_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10210:1: ( rule__XShortClosure__Group_0_0_1__0__Impl rule__XShortClosure__Group_0_0_1__1 )\n // InternalReactiveXD.g:10211:2: rule__XShortClosure__Group_0_0_1__0__Impl rule__XShortClosure__Group_0_0_1__1\n {\n pushFollow(FOLLOW_27);\n rule__XShortClosure__Group_0_0_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XShortClosure__Group_0_0_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "81deb49a2788fd782d364ec5f04268d9", "score": "0.56539917", "text": "public final void rule__XShortClosure__Group_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9215:1: ( rule__XShortClosure__Group_0_0__0__Impl rule__XShortClosure__Group_0_0__1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:9216:2: rule__XShortClosure__Group_0_0__0__Impl rule__XShortClosure__Group_0_0__1\n {\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0__0__Impl_in_rule__XShortClosure__Group_0_0__018876);\n rule__XShortClosure__Group_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XShortClosure__Group_0_0__1_in_rule__XShortClosure__Group_0_0__018879);\n rule__XShortClosure__Group_0_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "713830ac460c5e53220c1146f4584d84", "score": "0.5650641", "text": "public final void rule__XShortClosure__Group_0_0_1_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReactiveXD.g:10264:1: ( rule__XShortClosure__Group_0_0_1_1__0__Impl rule__XShortClosure__Group_0_0_1_1__1 )\n // InternalReactiveXD.g:10265:2: rule__XShortClosure__Group_0_0_1_1__0__Impl rule__XShortClosure__Group_0_0_1_1__1\n {\n pushFollow(FOLLOW_24);\n rule__XShortClosure__Group_0_0_1_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XShortClosure__Group_0_0_1_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
fadd38ccca01324be4a718e623126821
Test case number: 0 /Coverage entropy=2.772588722239781
[ { "docid": "681162ff52ce679b5ff7ec7cb62b3b75", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n String string0 = \"\";\n Block block0 = errorPage0.placeholder(\"\");\n String string1 = \"\";\n String string2 = \"\";\n Hidden hidden0 = new Hidden(block0, \"\", \"\");\n String string3 = \"duplicated attributes \";\n FormElement formElement0 = hidden0.value(\"duplicated attributes \");\n TableBlock tableBlock0 = new TableBlock(formElement0);\n // Undeclared exception!\n try { \n formElement0.rawText(tableBlock0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Can't add components to a component that is not an instance of IContainer.\n //\n verifyException(\"wheel.components.Component\", e);\n }\n }", "title": "" } ]
[ { "docid": "c40bf506d7139506e0e2b9f810637cff", "score": "0.6660957", "text": "public void calculateCoverageTest(){\r\n\t\t// TODO Auto-generated method stub\r\n\t\tSystem.out.println(\"calculateCoverageTest()\");\r\n\t}", "title": "" }, { "docid": "eb91d6f4cebb8fb86024a8fa2618303a", "score": "0.656233", "text": "@Test(timeout = 4000)\n public void test32() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.globalInfo();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.size();\n jRip0.getDebug();\n jRip0.setCheckErrorRate(false);\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = 0.0;\n doubleArray0[1] = 0.0;\n doubleArray0[2] = 0.0;\n doubleArray0[3] = 0.0;\n byte[] byteArray0 = new byte[26];\n byteArray0[0] = (byte)10;\n byteArray0[1] = (byte) (-2);\n byteArray0[2] = (byte) (-1);\n byteArray0[3] = (byte)100;\n byteArray0[4] = (byte) (-46);\n byteArray0[5] = (byte)106;\n byteArray0[6] = (byte)72;\n byteArray0[7] = (byte)11;\n byteArray0[8] = (byte) (-34);\n jRip0.toString();\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(0.0, doubleArray0);\n Attribute attribute0 = new Attribute(string0);\n jRip_RipperRule0.toString(attribute0);\n jRip0.getDebug();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n \n jRip_NumericAntd0.cover = (-1091.9115547);\n jRip_NumericAntd0.toString();\n assertFalse(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "d8d24cfb2e3fa7b35a224afa30cfe700", "score": "0.6394719", "text": "@Test(timeout = 4000)\n public void test161() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.m_StdDevPrec = 0;\n assertFalse(resultMatrixCSV0.getShowAverage());\n \n int int0 = ResultMatrix.SIGNIFICANCE_LOSS;\n resultMatrixCSV0.m_ShowAverage = true;\n resultMatrixCSV0.setShowStdDev(true);\n resultMatrixCSV0.globalInfo();\n boolean boolean0 = resultMatrixCSV0.isSignificance(0);\n assertFalse(boolean0);\n }", "title": "" }, { "docid": "8d06b1082d78f37437b450a29fd4ad44", "score": "0.6372403", "text": "@Test(timeout = 4000)\n public void test190() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n int[][] intArray0 = new int[2][1];\n resultMatrixGnuPlot0.setRanking(intArray0);\n resultMatrixGnuPlot0.toStringSummary();\n resultMatrixGnuPlot0.trimString(\"-summary data not set-\", 1);\n int int0 = ResultMatrix.SIGNIFICANCE_TIE;\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "65391dbb206bafb8d8395ba7252c3498", "score": "0.6361842", "text": "@Test(timeout = 4000)\n public void test138() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 1649);\n resultMatrixHTML0.getColCount();\n resultMatrixCSV0.getSummaryTitle((-171));\n int int0 = ResultMatrix.SIGNIFICANCE_WIN;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(110, 2);\n }", "title": "" }, { "docid": "742c56fb00af785789d33bec058e92d3", "score": "0.6344176", "text": "@Test(timeout = 4000)\n public void test40() throws Throwable {\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"%T%/\");\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"66o(tHi}Zli]pz%!x\", 3124);\n Attribute.typeToString(attribute0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(6766);\n boolean boolean0 = jRip_NominalAntd0.covers(binarySparseInstance0);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertFalse(jRip0.getDebug());\n assertFalse(boolean0);\n }", "title": "" }, { "docid": "dee5bdf2d872a9712b54aa8f9450c1bb", "score": "0.6328467", "text": "@Test(timeout = 4000)\n public void test08() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.findNumBinsTipText();\n String[] stringArray0 = new String[5];\n discretize0.setInvertSelection(false);\n stringArray0[0] = \"Optimize number of equal-width bins using leave-one-out. Doesn't work for equal-frequency binning\";\n stringArray0[1] = \"Optimize number of equal-width bins using leave-one-out. Doesn't work for equal-frequency binning\";\n stringArray0[2] = \"Optimize number of equal-width bins using leave-one-out. Doesn't work for equal-frequency binning\";\n stringArray0[3] = \"Optimize number of equal-width bins using leave-one-out. Doesn't work for equal-frequency binning\";\n stringArray0[4] = \"weka.filters.unsupervised.attribute.Discretize\";\n Discretize.main(stringArray0);\n discretize0.getRevision();\n // Undeclared exception!\n try { \n discretize0.calculateCutPoints();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "65a2d6ec685ccbeaf4c13442d730e99b", "score": "0.6314001", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.usePruningTipText();\n Attribute attribute0 = new Attribute(\",Z2^\");\n Attribute.typeToString(attribute0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n \n jRip_NominalAntd0.cover = (double) 4;\n jRip_NominalAntd0.toString();\n jRip0.getOptions();\n boolean boolean0 = jRip0.getCheckErrorRate();\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "8317d28d905ccd521d675bf84350cf2a", "score": "0.62462753", "text": "public void test_stats() throws BoostingAlgorithmException {\n\t\tboolean class_list[];\n\t\tint result;\n\t\tint[] statistics = {0, 0, 0, 0};\n\t\tint s = 0;\n\t\t//System.out.println(data.classes[150]);\n\t\tfor (int i = 0; i < data.linecount-1; i++) {\n\t\t\t//only test against data not in the training set\n\t\t\tif (s<training_indices.length && i == training_indices[s]) {\n\t\t\t\ts++;\n\t\t\t} else {\n\t\t\t\tclass_list = this.classify(i);\n\t\t\t\tresult = this.compare(class_list, i);\n\t\t\t\t//System.out.println(s+\", \"+i+\": \"+result);\n\t\t\t\tstatistics[result] += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"General Test Data results:\");\n\t\tthis.print_statistics(statistics);\n\t}", "title": "" }, { "docid": "596420852834f7cc15e474f4038d7dd0", "score": "0.62381595", "text": "@Test(timeout = 4000)\n public void test135() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 1649);\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n resultMatrixSignificance0.getDefaultMeanPrec();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n int[][] intArray0 = new int[0][7];\n resultMatrixGnuPlot0.setRanking(intArray0);\n int int0 = 784;\n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML(1649, 3277);\n }", "title": "" }, { "docid": "1099629f20964a48befdf5fe1e9a6452", "score": "0.6210326", "text": "@Test(timeout = 4000)\n public void test206() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n int int0 = ResultMatrix.SIGNIFICANCE_LOSS;\n resultMatrixCSV0.m_ShowAverage = true;\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV0);\n resultMatrixPlainText0.getDefaultCountWidth();\n resultMatrixPlainText0.rowNameWidthTipText();\n String[] stringArray0 = new String[7];\n stringArray0[0] = \" \";\n stringArray0[2] = \"value2\";\n stringArray0[4] = \"*\";\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(0, 2);\n resultMatrixLatex0.setEnumerateColNames(true);\n assertEquals(0, resultMatrixLatex0.getColCount());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(0, 1584);\n resultMatrixGnuPlot0.toStringSummary();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixGnuPlot0);\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixHTML0);\n resultMatrixSignificance0.assign(resultMatrixPlainText0);\n assertEquals(1, resultMatrixCSV0.getRowCount());\n \n resultMatrixSignificance0.getDefaultShowStdDev();\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n }", "title": "" }, { "docid": "c08aa012fbba08deb4b6c7861d5af5ff", "score": "0.6200829", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n Discretize discretize0 = new Discretize(\"Ca-1c\");\n double[][] doubleArray0 = new double[6][5];\n double[] doubleArray1 = new double[6];\n doubleArray1[0] = 0.0;\n doubleArray1[1] = 1.0E-6;\n doubleArray1[2] = 0.0;\n doubleArray1[3] = 3746.59130554;\n doubleArray1[4] = 2.0;\n doubleArray1[5] = 5.55555;\n doubleArray0[0] = doubleArray1;\n double[] doubleArray2 = new double[1];\n doubleArray2[0] = 3746.59130554;\n doubleArray0[1] = doubleArray2;\n double[] doubleArray3 = new double[0];\n doubleArray0[2] = doubleArray3;\n double[] doubleArray4 = new double[2];\n doubleArray4[0] = 1.0E-6;\n doubleArray4[1] = 5.55555;\n doubleArray0[3] = doubleArray4;\n double[] doubleArray5 = new double[6];\n doubleArray5[0] = 0.0;\n doubleArray5[1] = 0.0;\n doubleArray5[2] = 3746.59130554;\n doubleArray5[3] = 2.0;\n doubleArray5[4] = 3746.59130554;\n doubleArray5[5] = 5.55555;\n doubleArray0[4] = doubleArray5;\n double[] doubleArray6 = new double[1];\n doubleArray6[0] = 2.0;\n doubleArray0[5] = doubleArray6;\n discretize0.m_CutPoints = doubleArray0;\n discretize0.m_UseBinNumbers = true;\n // Undeclared exception!\n try { \n discretize0.getCutPoints(1041);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 1041\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "a3baecb1ba9892912274a6cc9f526e0c", "score": "0.61963093", "text": "@Test(timeout = 4000)\n public void test095() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n \n String string0 = resultMatrixSignificance0.toStringKey();\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getVisibleColCount();\n assertEquals(1, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertNotNull(resultMatrixLatex0);\n \n String string1 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex1.setRowName(1, \" & \");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixSignificance1.assign(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixLatex1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertNotNull(resultMatrixCSV0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n double double0 = resultMatrixCSV0.getCount(47);\n assertEquals(0.0, double0, 0.01);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertNotNull(resultMatrixCSV1);\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n \n double double1 = resultMatrixCSV0.getCount((-2112));\n assertEquals(0.0, double1, 0.01);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertEquals(double1, double0, 0.01);\n \n resultMatrixSignificance1.setShowAverage(true);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertNotNull(resultMatrixHTML0);\n \n boolean boolean0 = resultMatrixHTML0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n \n String string2 = resultMatrixLatex1.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertNotNull(string2);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertTrue(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertNotNull(resultMatrixHTML1);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n \n String string3 = resultMatrixHTML1.getDisplayName();\n assertEquals(\"HTML\", string3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertNotNull(string3);\n assertNotSame(resultMatrixHTML1, resultMatrixHTML0);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string1));\n assertFalse(string3.equals((Object)string2));\n \n int int1 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertEquals(25, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(int1 == int0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n }", "title": "" }, { "docid": "26a75db86035a665ce7e8da9a4df2dfb", "score": "0.6166773", "text": "@Test(timeout = 4000)\n public void test106() throws Throwable {\n int int0 = ResultMatrix.SIGNIFICANCE_LOSS;\n assertEquals(2, int0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(2, 6);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(6, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(6, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.stdDevPrecTipText();\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(6, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(6, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertNotNull(string0);\n \n int[] intArray0 = new int[4];\n intArray0[0] = 2;\n intArray0[1] = 0;\n intArray0[2] = 2;\n intArray0[3] = 2;\n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(6, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(6, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(4, intArray0.length);\n assertArrayEquals(new int[] {2, 0, 2, 2}, intArray0);\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultShowStdDev();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(6, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(6, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n }", "title": "" }, { "docid": "ca7a665a18c19a947114cba6e41f03bc", "score": "0.6158002", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n JRip jRip0 = new JRip();\n Utils.log2 = 1.0E-4;\n String[] stringArray0 = new String[4];\n stringArray0[0] = \"\";\n stringArray0[1] = \"+$8y0pNSg jErQE2Y\";\n stringArray0[2] = \"\";\n stringArray0[3] = \"\";\n AbstractClassifier.runClassifier(jRip0, stringArray0);\n jRip0.globalInfo();\n jRip0.setOptimizations(380);\n Attribute attribute0 = new Attribute(\"\", \"\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n attribute0.addStringValue(\"\");\n jRip_NumericAntd0.maxInfoGain = 841.8918058;\n attribute0.getRevision();\n jRip_NumericAntd0.att = attribute0;\n jRip_NumericAntd0.getAttr();\n jRip0.getFolds();\n jRip0.getRevision();\n jRip0.getUsePruning();\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n CostMatrix costMatrix0 = costSensitiveClassifier0.getCostMatrix();\n DecisionTable decisionTable0 = new DecisionTable();\n Instances instances0 = decisionTable0.m_theInstances;\n MockRandom mockRandom0 = new MockRandom();\n try { \n costMatrix0.applyCostMatrix((Instances) null, mockRandom0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.CostMatrix\", e);\n }\n }", "title": "" }, { "docid": "01210c7584cc92210b740f7445a8dd25", "score": "0.6153848", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, 26);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double[] doubleArray0 = new double[7];\n doubleArray0[0] = (double) 0;\n doubleArray0[1] = (double) 2;\n doubleArray0[2] = (double) 3;\n doubleArray0[3] = 0.0;\n doubleArray0[4] = (double) 0;\n doubleArray0[5] = (double) 2;\n SparseInstance sparseInstance0 = new SparseInstance(26, doubleArray0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(sparseInstance0);\n binarySparseInstance0.deleteAttributeAt((-59));\n SparseInstance sparseInstance1 = new SparseInstance(106);\n boolean boolean0 = jRip_NominalAntd0.covers(sparseInstance1);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertFalse(boolean0);\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n }", "title": "" }, { "docid": "293d324d37d1c970799bc2d7c31da965", "score": "0.61323076", "text": "@Test(timeout = 4000)\n public void test71() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\n resultMatrixSignificance0.TIE_STRING = \"\";\n resultMatrixSignificance0.m_ShowStdDev = false;\n String[] stringArray0 = resultMatrixSignificance0.getOptions();\n resultMatrixSignificance0.toStringKey();\n resultMatrixSignificance0.showStdDevTipText();\n resultMatrixSignificance0.stdDevWidthTipText();\n resultMatrixSignificance0.setCountWidth(0);\n String[][] stringArray1 = new String[1][5];\n stringArray1[0] = stringArray0;\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n resultMatrixSignificance1.setOptions(stringArray0);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n \n resultMatrixSignificance1.getRevision();\n assertEquals(0, resultMatrixSignificance1.getStdDevPrec());\n }", "title": "" }, { "docid": "44857a4d5158cdc200f0284f56904506", "score": "0.61023694", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n double[] doubleArray0 = new double[5];\n String[] stringArray0 = new String[7];\n stringArray0[0] = \"cOK-<snNelHhSlbp\";\n stringArray0[1] = \"|-Hv)GWO6gl.|cI@\";\n stringArray0[2] = \"\";\n stringArray0[3] = \"\";\n stringArray0[4] = \">AXl\";\n stringArray0[5] = \"\";\n stringArray0[6] = \"Should never happen: repDLin optmz. stage NaN or infinite!\";\n jRip0.setOptions(stringArray0);\n jRip0.getRevision();\n jRip0.setDebug(true);\n double double0 = jRip_NumericAntd0.getAccu();\n assertTrue(jRip0.getDebug());\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "bd737bcc5de5d2ade1e14bdd8bffadab", "score": "0.61000746", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.globalInfo();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.size();\n jRip0.getDebug();\n assertTrue(jRip0.getCheckErrorRate());\n \n jRip0.setCheckErrorRate(false);\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = 0.0;\n doubleArray0[1] = 0.0;\n doubleArray0[2] = 0.0;\n doubleArray0[3] = 0.0;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(0.0, doubleArray0);\n Attribute attribute0 = new Attribute(string0);\n jRip0.getRevision();\n Utils.log2 = 2.0;\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n boolean boolean0 = jRip_NumericAntd0.covers(binarySparseInstance0);\n assertFalse(jRip0.getCheckErrorRate());\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "407ad6ccbe8a3e06eaacaf41360dc98d", "score": "0.6097308", "text": "@Test(timeout = 4000)\n public void test196() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.getRowName(10);\n resultMatrixSignificance0.globalInfo();\n int int0 = 4;\n resultMatrixSignificance0.getDefaultMeanPrec();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n int[][] intArray0 = new int[2][1];\n resultMatrixGnuPlot0.setRanking(intArray0);\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(788, 788);\n }", "title": "" }, { "docid": "982865ef0ad77c5327874dda09708b7a", "score": "0.6088016", "text": "@Test(timeout = 4000)\n public void test136() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n resultMatrixHTML0.setSize(1, 593);\n resultMatrixHTML0.setMeanPrec(593);\n resultMatrixHTML0.getSummaryTitle(614);\n resultMatrixHTML0.LOSS_STRING = \"F`YC\\\")'yLI\";\n resultMatrixHTML0.clearHeader();\n resultMatrixHTML0.toStringSummary();\n assertEquals(593, resultMatrixHTML0.getMeanPrec());\n }", "title": "" }, { "docid": "b7df041a188e56a62216fe60fa803ad3", "score": "0.6077865", "text": "@Test(timeout = 4000)\n public void test081() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n \n String string0 = resultMatrixSignificance0.toString();\n assertEquals(\"Dataset (1)\\n-----------\\nrow0 \\n\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertNotNull(string0);\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n \n String string1 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n resultMatrixSignificance0.m_SignificanceWidth = 0;\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n \n int int0 = ResultMatrix.SIGNIFICANCE_WIN;\n assertEquals(1, int0);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(0, 3);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(3, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n int int1 = resultMatrixSignificance1.getVisibleColCount();\n assertEquals(0, int1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(3, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(int1 == int0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertNotNull(resultMatrixLatex0);\n \n String string2 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertNotNull(string2);\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n \n String string3 = resultMatrixSignificance0.getColName((-2647));\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertNull(string3);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n resultMatrixLatex0.setRowName((-1524), \"L0_5sObK,\");\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n \n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance2.getRowCount());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance2.getVisibleColCount());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance2.getColCount());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance2.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n assertNotNull(resultMatrixSignificance2);\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance0));\n \n resultMatrixSignificance2.m_StdDevWidth = 54;\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance2.getRowCount());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance2.getVisibleColCount());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance2.getColCount());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance2.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(54, resultMatrixSignificance2.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n \n resultMatrixSignificance2.assign(resultMatrixSignificance1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(3, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertEquals(3, resultMatrixSignificance2.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance2.getColCount());\n assertEquals(0, resultMatrixSignificance2.getVisibleColCount());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(3, resultMatrixSignificance2.getRowCount());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance2);\n assertNotSame(resultMatrixSignificance2, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance2, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance2));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(resultMatrixCSV0);\n \n double double0 = resultMatrixCSV0.getCount(0);\n assertEquals(0.0, double0, 0.01);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n \n resultMatrixSignificance1.setShowAverage(false);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(3, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance2);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance2));\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertNotNull(resultMatrixHTML0);\n \n boolean boolean0 = resultMatrixHTML0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n \n String string4 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string4);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertNotNull(string4);\n assertFalse(string4.equals((Object)string0));\n assertTrue(string4.equals((Object)string2));\n assertFalse(string4.equals((Object)string1));\n \n String string5 = resultMatrixHTML0.getDisplayName();\n assertEquals(\"HTML\", string5);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertNotNull(string5);\n assertFalse(string5.equals((Object)string0));\n assertFalse(string5.equals((Object)string4));\n assertFalse(string5.equals((Object)string2));\n assertFalse(string5.equals((Object)string1));\n \n int int2 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertEquals(25, int2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(int2 == int1);\n assertFalse(int2 == int0);\n \n boolean boolean1 = resultMatrixCSV0.getPrintColNames();\n assertFalse(boolean1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(boolean1 == boolean0);\n }", "title": "" }, { "docid": "a8d225e6e9facb3990b5e4f331596919", "score": "0.60691077", "text": "private double getEntropy(){//Returns the entropy of the node\n\t\tdouble tempEntropy=0;\n\t\tint casesByOutputValues[]=new int[classHeader.getNumCategories()];\n\t\tArrays.fill(casesByOutputValues, 0);\n\t\tfor (int i=0; i<data.size(); i++){\n\t\t\tcasesByOutputValues[data.get(i)[attributeHeaderList.size()]]++; //Here we add-up all the instances observed in the node for each output value.\n\t\t}\n\t\tfor (int i=0; i<classHeader.getNumCategories(); i++){\n\t\t\tdouble p=((double)casesByOutputValues[i]/(double)data.size());\n\t\t\tif (p!=0 & !Double.isNaN(p)){\n\t\t\ttempEntropy+=((double)(-p)*((double)(Math.log(p))/(double)Math.log(classHeader.getNumCategories())));//We add-up the entropy for each output value.\n\t\t\t}\n\t\t}\n\t\treturn tempEntropy;\n\t}", "title": "" }, { "docid": "9bad301473cee8123f14a9cdc2f90670", "score": "0.6067233", "text": "@Test(timeout = 4000)\n public void test083() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setCountWidth(0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(2, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n int int0 = resultMatrixSignificance0.getVisibleColCount();\n assertEquals(1, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotNull(resultMatrixLatex0);\n \n String string0 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotNull(string0);\n \n String string1 = resultMatrixSignificance1.getColName(489);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertNull(string1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixLatex0.setRowName((-1528), \"v\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n \n resultMatrixSignificance0.assign(resultMatrixSignificance1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertNotNull(resultMatrixCSV0);\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n Predicate<Object> predicate0 = Predicate.isEqual((Object) resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n Object object1 = new Object();\n assertNotNull(object1);\n assertFalse(object1.equals((Object)object0));\n \n Predicate<Object> predicate1 = Predicate.isEqual((Object) \"mean-prec\");\n assertNotNull(predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate1.equals((Object)predicate0));\n \n Integer integer0 = new Integer(1);\n assertEquals(1, (int)integer0);\n assertNotNull(integer0);\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate2 = Predicate.isEqual((Object) integer0);\n assertNotNull(predicate2);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate3 = predicate2.or(predicate0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate3);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(predicate0, predicate2);\n assertNotSame(predicate0, predicate1);\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate4 = predicate2.and(predicate3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate4);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(predicate0, predicate2);\n assertNotSame(predicate0, predicate1);\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate1));\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate5 = predicate3.and(predicate1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate5);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(predicate5, predicate4);\n assertNotSame(predicate0, predicate2);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate2);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate4));\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate6 = predicate1.negate();\n assertNotNull(predicate6);\n assertNotSame(predicate1, predicate2);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate5));\n \n Predicate<Object> predicate7 = predicate6.or(predicate5);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate7);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(predicate3, predicate7);\n assertNotSame(predicate5, predicate4);\n assertNotSame(predicate7, predicate3);\n assertNotSame(predicate0, predicate2);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate2);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(predicate3.equals((Object)predicate5));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate6));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate6));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate4));\n assertFalse(predicate7.equals((Object)predicate6));\n assertFalse(predicate7.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate3));\n assertFalse(predicate7.equals((Object)predicate5));\n assertFalse(predicate7.equals((Object)predicate0));\n assertFalse(predicate7.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate6));\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate8 = predicate7.negate();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate8);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(predicate3, predicate7);\n assertNotSame(predicate5, predicate4);\n assertNotSame(predicate6, predicate8);\n assertNotSame(predicate7, predicate3);\n assertNotSame(predicate8, predicate6);\n assertNotSame(predicate0, predicate2);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate2);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(predicate3.equals((Object)predicate5));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate6));\n assertFalse(predicate3.equals((Object)predicate7));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate5.equals((Object)predicate7));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate6));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate7));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate4));\n assertFalse(predicate7.equals((Object)predicate6));\n assertFalse(predicate7.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate3));\n assertFalse(predicate7.equals((Object)predicate5));\n assertFalse(predicate7.equals((Object)predicate0));\n assertFalse(predicate7.equals((Object)predicate2));\n assertFalse(predicate8.equals((Object)predicate0));\n assertFalse(predicate8.equals((Object)predicate2));\n assertFalse(predicate8.equals((Object)predicate6));\n assertFalse(predicate8.equals((Object)predicate4));\n assertFalse(predicate8.equals((Object)predicate3));\n assertFalse(predicate8.equals((Object)predicate7));\n assertFalse(predicate8.equals((Object)predicate1));\n assertFalse(predicate8.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate7));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate7));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate6));\n assertTrue(integer0.equals((Object)int0));\n \n Predicate<Object> predicate9 = predicate7.negate();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(predicate9);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(predicate3, predicate7);\n assertNotSame(predicate5, predicate4);\n assertNotSame(predicate6, predicate8);\n assertNotSame(predicate6, predicate9);\n assertNotSame(predicate7, predicate3);\n assertNotSame(predicate9, predicate6);\n assertNotSame(predicate9, predicate8);\n assertNotSame(predicate0, predicate2);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate2);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate8));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(predicate3.equals((Object)predicate5));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate6));\n assertFalse(predicate3.equals((Object)predicate8));\n assertFalse(predicate3.equals((Object)predicate7));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate5.equals((Object)predicate8));\n assertFalse(predicate5.equals((Object)predicate7));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate6));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate8));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate7));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate4));\n assertFalse(predicate7.equals((Object)predicate6));\n assertFalse(predicate7.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate3));\n assertFalse(predicate7.equals((Object)predicate5));\n assertFalse(predicate7.equals((Object)predicate0));\n assertFalse(predicate7.equals((Object)predicate2));\n assertFalse(predicate7.equals((Object)predicate8));\n assertFalse(predicate9.equals((Object)predicate6));\n assertFalse(predicate9.equals((Object)predicate4));\n assertFalse(predicate9.equals((Object)predicate1));\n assertFalse(predicate9.equals((Object)predicate5));\n assertFalse(predicate9.equals((Object)predicate8));\n assertFalse(predicate9.equals((Object)predicate0));\n assertFalse(predicate9.equals((Object)predicate7));\n assertFalse(predicate9.equals((Object)predicate2));\n assertFalse(predicate9.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate8));\n assertFalse(predicate0.equals((Object)predicate7));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate7));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate8));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate6));\n assertTrue(integer0.equals((Object)int0));\n \n Vector<Integer> vector0 = new Vector<Integer>();\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n assertFalse(vector0.contains(2));\n \n // Undeclared exception!\n try { \n vector0.removeIf((Predicate<? super Integer>) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.util.Objects\", e);\n }\n }", "title": "" }, { "docid": "2fafcc96f13da37436b2e824dfbc2ea4", "score": "0.6067003", "text": "@Test(timeout = 4000)\n public void test066() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertNotNull(string0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[1];\n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(2, resultMatrixGnuPlot1.getRowCount());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot1.getColCount());\n assertEquals(2, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getRowNameWidth());\n assertNotNull(resultMatrixGnuPlot1);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n int[][] intArray1 = new int[6][0];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[2] = intArray0;\n intArray1[3] = intArray0;\n intArray1[4] = intArray0;\n intArray1[5] = intArray0;\n resultMatrixGnuPlot1.setSummary(intArray1, intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(2, resultMatrixGnuPlot1.getRowCount());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot1.getColCount());\n assertEquals(2, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(6, intArray1.length);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n ResultMatrixGnuPlot resultMatrixGnuPlot2 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, resultMatrixGnuPlot2.getColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot2.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot2.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot2.getCountWidth());\n assertTrue(resultMatrixGnuPlot2.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot2.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot2.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot2.showAverageTipText());\n assertTrue(resultMatrixGnuPlot2.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot2.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot2.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot2.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot2.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot2.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot2.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot2.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot2.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot2.getRowCount());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot2.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot2.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot2.getDisplayName());\n assertFalse(resultMatrixGnuPlot2.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot2.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot2.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot2.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot2.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot2.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot2.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot2.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot2.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot2.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot2.stdDevPrecTipText());\n assertNotNull(resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot0));\n \n ResultMatrixGnuPlot resultMatrixGnuPlot3 = new ResultMatrixGnuPlot(0, 32);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixGnuPlot3.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot3.getMeanPrec());\n assertFalse(resultMatrixGnuPlot3.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot3.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot3.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot3.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot3.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot3.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot3.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot3.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot3.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot3.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot3.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot3.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot3.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot3.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot3.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot3.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot3.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot3.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot3.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot3.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot3.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot3.getDefaultRowNameWidth());\n assertEquals(32, resultMatrixGnuPlot3.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot3.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot3.showAverageTipText());\n assertTrue(resultMatrixGnuPlot3.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot3.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot3.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot3.colNameWidthTipText());\n assertEquals(32, resultMatrixGnuPlot3.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot3.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot3.globalInfo());\n assertEquals(2, resultMatrixGnuPlot3.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot3.countWidthTipText());\n assertFalse(resultMatrixGnuPlot3.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot3.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot3.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot3.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot3.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot3.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot3.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot3.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot3.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot3.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot3.showStdDevTipText());\n assertNotNull(resultMatrixGnuPlot3);\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot0));\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot2));\n \n resultMatrixGnuPlot3.setMeanWidth(0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixGnuPlot3.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot3.getMeanPrec());\n assertFalse(resultMatrixGnuPlot3.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot3.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot3.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot3.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot3.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot3.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot3.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot3.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot3.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot3.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot3.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot3.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot3.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot3.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot3.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot3.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot3.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot3.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot3.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot3.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot3.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot3.getDefaultRowNameWidth());\n assertEquals(32, resultMatrixGnuPlot3.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot3.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot3.showAverageTipText());\n assertTrue(resultMatrixGnuPlot3.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot3.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot3.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot3.colNameWidthTipText());\n assertEquals(32, resultMatrixGnuPlot3.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot3.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot3.globalInfo());\n assertEquals(2, resultMatrixGnuPlot3.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot3.countWidthTipText());\n assertFalse(resultMatrixGnuPlot3.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot3.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot3.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot3.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot3.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot3.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot3.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot3.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot3.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot3.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot3.showStdDevTipText());\n assertNotSame(resultMatrixGnuPlot3, resultMatrixGnuPlot1);\n assertNotSame(resultMatrixGnuPlot3, resultMatrixGnuPlot0);\n assertNotSame(resultMatrixGnuPlot3, resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot0));\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot2));\n \n resultMatrixGnuPlot3.setRemoveFilterName(false);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixGnuPlot3.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot3.getMeanPrec());\n assertFalse(resultMatrixGnuPlot3.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot3.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot3.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot3.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot3.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot3.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot3.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot3.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot3.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot3.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot3.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot3.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot3.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot3.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot3.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot3.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot3.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot3.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot3.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot3.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot3.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot3.getDefaultRowNameWidth());\n assertEquals(32, resultMatrixGnuPlot3.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot3.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot3.showAverageTipText());\n assertTrue(resultMatrixGnuPlot3.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot3.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot3.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot3.colNameWidthTipText());\n assertEquals(32, resultMatrixGnuPlot3.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot3.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot3.globalInfo());\n assertEquals(2, resultMatrixGnuPlot3.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot3.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot3.countWidthTipText());\n assertFalse(resultMatrixGnuPlot3.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot3.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot3.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot3.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot3.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot3.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot3.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot3.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot3.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot3.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot3.showStdDevTipText());\n assertNotSame(resultMatrixGnuPlot3, resultMatrixGnuPlot1);\n assertNotSame(resultMatrixGnuPlot3, resultMatrixGnuPlot0);\n assertNotSame(resultMatrixGnuPlot3, resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot0));\n assertFalse(resultMatrixGnuPlot3.equals((Object)resultMatrixGnuPlot2));\n \n ResultMatrixGnuPlot resultMatrixGnuPlot4 = new ResultMatrixGnuPlot(131, 1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot4.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot4.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot4.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot4.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot4.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot4.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot4.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot4.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot4.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot4.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot4.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot4.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot4.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot4.getDefaultShowStdDev());\n assertEquals(50, resultMatrixGnuPlot4.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot4.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot4.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot4.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot4.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot4.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot4.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot4.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot4.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot4.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot4.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot4.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot4.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot4.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot4.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot4.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot4.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot4.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot4.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot4.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot4.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot4.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot4.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot4.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot4.meanWidthTipText());\n assertEquals(131, resultMatrixGnuPlot4.getColCount());\n assertTrue(resultMatrixGnuPlot4.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot4.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot4.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot4.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot4.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot4.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot4.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot4.getDefaultCountWidth());\n assertEquals(131, resultMatrixGnuPlot4.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot4.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot4.getStdDevWidth());\n assertNotNull(resultMatrixGnuPlot4);\n assertFalse(resultMatrixGnuPlot4.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot4.equals((Object)resultMatrixGnuPlot2));\n assertFalse(resultMatrixGnuPlot4.equals((Object)resultMatrixGnuPlot3));\n assertFalse(resultMatrixGnuPlot4.equals((Object)resultMatrixGnuPlot0));\n \n resultMatrixGnuPlot4.m_Significance = intArray1;\n assertEquals(0, resultMatrixGnuPlot4.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot4.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot4.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot4.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot4.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot4.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot4.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot4.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot4.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot4.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot4.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot4.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot4.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot4.getDefaultShowStdDev());\n assertEquals(50, resultMatrixGnuPlot4.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot4.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot4.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot4.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot4.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot4.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot4.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot4.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot4.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot4.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot4.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot4.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot4.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot4.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot4.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot4.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot4.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot4.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot4.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot4.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot4.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot4.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot4.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot4.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot4.meanWidthTipText());\n assertEquals(131, resultMatrixGnuPlot4.getColCount());\n assertTrue(resultMatrixGnuPlot4.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot4.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot4.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot4.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot4.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot4.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot4.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot4.getDefaultCountWidth());\n assertEquals(131, resultMatrixGnuPlot4.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot4.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot4.getStdDevWidth());\n \n boolean boolean0 = resultMatrixGnuPlot2.getDefaultEnumerateRowNames();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, resultMatrixGnuPlot2.getColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot2.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot2.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot2.getCountWidth());\n assertTrue(resultMatrixGnuPlot2.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot2.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot2.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot2.showAverageTipText());\n assertTrue(resultMatrixGnuPlot2.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot2.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot2.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot2.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot2.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot2.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot2.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot2.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot2.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot2.getRowCount());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot2.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot2.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot2.getDisplayName());\n assertFalse(resultMatrixGnuPlot2.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot2.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot2.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot2.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot2.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot2.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot2.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot2.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot2.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot2.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot2.stdDevPrecTipText());\n assertNotSame(resultMatrixGnuPlot2, resultMatrixGnuPlot1);\n assertNotSame(resultMatrixGnuPlot2, resultMatrixGnuPlot4);\n assertNotSame(resultMatrixGnuPlot2, resultMatrixGnuPlot0);\n assertNotSame(resultMatrixGnuPlot2, resultMatrixGnuPlot3);\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot4));\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot0));\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot3));\n \n // Undeclared exception!\n try { \n resultMatrixLatex0.assign(resultMatrixGnuPlot4);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 1\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "b1272446634fa95b586bb2c5218e00c9", "score": "0.6061268", "text": "@Test\n public void testProbabilityViaConstructor() {\n }", "title": "" }, { "docid": "7aea1d2d27653436e0476a0468a416d7", "score": "0.6057674", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.size();\n jRip_RipperRule0.setConsequent(150.7);\n assertEquals(150.7, jRip_RipperRule0.getConsequent(), 0.01);\n \n Attribute attribute0 = new Attribute(\"\", 0);\n Attribute attribute1 = attribute0.copy(\"istr\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n String string0 = jRip_NominalAntd0.getRevision();\n assertEquals(\"8118\", string0);\n }", "title": "" }, { "docid": "c5806fff213deab5a9831aefe2d66be4", "score": "0.60497063", "text": "@Test(timeout = 4000)\n public void test56() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n resultMatrixGnuPlot0.getDefaultMeanWidth();\n resultMatrixGnuPlot0.getDisplayCol(655);\n resultMatrixGnuPlot0.getSignificanceCount(1694, (-840));\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\n resultMatrixSignificance0.toStringRanking();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n int[] intArray0 = new int[3];\n intArray0[0] = 2;\n intArray0[1] = 0;\n intArray0[2] = 2;\n resultMatrixCSV0.m_RankingWins = intArray0;\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n \n resultMatrixCSV0.clear();\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n }", "title": "" }, { "docid": "2a608463269e3aabcdb7a69a967c6efa", "score": "0.60438603", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, 26);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double double0 = jRip_NominalAntd0.getMaxInfoGain();\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(0.0, double0, 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" }, { "docid": "f4d3fc7f043fd09cb78e19c2218ed9f3", "score": "0.6037398", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n Discretize discretize0 = new Discretize(\"\\\"X(k@$BA!/\");\n byte[] byteArray0 = new byte[4];\n byteArray0[0] = (byte)2;\n byteArray0[1] = (byte)2;\n byteArray0[2] = (byte) (-1);\n byteArray0[3] = (byte)96;\n double[][] doubleArray0 = new double[0][3];\n discretize0.m_CutPoints = doubleArray0;\n // Undeclared exception!\n try { \n discretize0.setOutputFormat();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "98d44ed6eb20a459b15be96c558b4dbd", "score": "0.6026103", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n \n String string0 = resultMatrixSignificance0.toStringKey();\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getVisibleColCount();\n assertEquals(1, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertNotNull(resultMatrixLatex0);\n \n String string1 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex1.setRowName(1, \" & \");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(40, resultMatrixLatex1.getRowNameWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n int[] intArray0 = new int[2];\n intArray0[0] = 1;\n intArray0[1] = 0;\n resultMatrixLatex0.setRowOrder(intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, intArray0.length);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertArrayEquals(new int[] {1, 0}, intArray0);\n \n ResultMatrixLatex resultMatrixLatex2 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertNotNull(resultMatrixLatex2);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n \n String[] stringArray0 = resultMatrixLatex2.getOptions();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertNotNull(stringArray0);\n assertEquals(18, stringArray0.length);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n \n resultMatrixLatex2.setPrintRowNames(true);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n \n ResultMatrixLatex resultMatrixLatex3 = new ResultMatrixLatex(2, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex3.getShowAverage());\n assertEquals(0, resultMatrixLatex3.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex3.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex3.meanWidthTipText());\n assertEquals(2, resultMatrixLatex3.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex3.globalInfo());\n assertTrue(resultMatrixLatex3.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex3.getShowStdDev());\n assertTrue(resultMatrixLatex3.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex3.getEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex3.getDisplayName());\n assertEquals(0, resultMatrixLatex3.getSignificanceWidth());\n assertFalse(resultMatrixLatex3.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex3.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex3.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex3.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex3.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex3.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex3.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex3.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex3.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex3.getRowNameWidth());\n assertEquals(2, resultMatrixLatex3.getMeanPrec());\n assertEquals(0, resultMatrixLatex3.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex3.getColNameWidth());\n assertEquals(0, resultMatrixLatex3.getMeanWidth());\n assertEquals(2, resultMatrixLatex3.getRowCount());\n assertFalse(resultMatrixLatex3.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex3.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex3.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex3.countWidthTipText());\n assertFalse(resultMatrixLatex3.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex3.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex3.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex3.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex3.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex3.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex3.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex3.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex3.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex3.meanPrecTipText());\n assertEquals(0, resultMatrixLatex3.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex3.getEnumerateRowNames());\n assertFalse(resultMatrixLatex3.getRemoveFilterName());\n assertFalse(resultMatrixLatex3.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex3.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex3.getVisibleColCount());\n assertFalse(resultMatrixLatex3.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex3.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex3.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex3.showStdDevTipText());\n assertNotNull(resultMatrixLatex3);\n assertFalse(resultMatrixLatex3.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex3.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex3.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex2.setEnumerateColNames(true);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex3);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex3));\n \n boolean boolean0 = resultMatrixLatex0.isAverage(1);\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex3);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex3));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertNotNull(resultMatrixCSV0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n int int1 = resultMatrixCSV0.getStdDevWidth();\n assertEquals(1, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertTrue(int1 == int0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(245, 1897);\n }", "title": "" }, { "docid": "46a0c8904f73caad508fc40c5c796323", "score": "0.6024063", "text": "@Test(timeout = 4000)\n public void test01() throws Throwable {\n Discretize discretize0 = new Discretize(\"race\");\n String[] stringArray0 = new String[6];\n stringArray0[0] = \"race\";\n stringArray0[1] = \"race\";\n stringArray0[2] = \"race\";\n stringArray0[3] = \"race\";\n stringArray0[4] = \"race\";\n discretize0.getBinRangesString(91);\n stringArray0[5] = \"race\";\n discretize0.setOptions(stringArray0);\n discretize0.setFindNumBins(true);\n // Undeclared exception!\n try { \n discretize0.calculateCutPoints();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "0e4faaf2e043a53dc8f923d14745ac56", "score": "0.60218984", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.useEqualFrequencyTipText();\n discretize0.m_UseBinNumbers = false;\n // Undeclared exception!\n try { \n discretize0.calculateCutPoints();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "ee471281793145f12c5d19363d68507a", "score": "0.6021514", "text": "@Test(timeout = 4000)\n public void test29() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n double[] doubleArray0 = new double[6];\n doubleArray0[0] = Double.NaN;\n doubleArray0[1] = Double.NaN;\n doubleArray0[2] = (-0.243000810544857);\n Attribute attribute0 = new Attribute(\"\", \"\", Integer.MIN_VALUE);\n JRip.NumericAntd jRip_NumericAntd1 = jRip0.new NumericAntd(attribute0);\n JRip.NumericAntd jRip_NumericAntd2 = jRip0.new NumericAntd(attribute0);\n String string0 = jRip_NumericAntd2.toString();\n assertEquals(\" <= NaN\", string0);\n \n double double0 = jRip_NumericAntd1.getCover();\n assertFalse(jRip0.getDebug());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(0.0, jRip_NumericAntd1.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAttrValue(), 0.01);\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1L, jRip0.getSeed());\n }", "title": "" }, { "docid": "758a6d7ae1f0d61a27416b28fd706653", "score": "0.6014568", "text": "@Test(timeout = 4000)\n public void test101() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertNotNull(resultMatrixLatex0);\n \n // Undeclared exception!\n try { \n resultMatrixGnuPlot0.setRanking((int[][]) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "6d283f4e63fc8cb3fd7f0f9d83cedfee", "score": "0.60108775", "text": "@Test(timeout = 4000)\n public void test123() throws Throwable {\n int[] intArray0 = new int[1];\n int int0 = ResultMatrix.SIGNIFICANCE_WIN;\n assertEquals(1, int0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 87);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(87, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(87, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertNotNull(resultMatrixSignificance0);\n \n int int1 = resultMatrixSignificance0.getVisibleColCount();\n assertEquals(1, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(87, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(87, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(int1 == int0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(resultMatrixLatex0);\n \n String string0 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(string0);\n \n resultMatrixLatex0.setRowName(1232, \"\\begin{table}[thb]\\ncaption{label{labelname}Table Caption (Key)}\\nscriptsize\\n{centering\\n\\begin{tabular}{cl}\\\\\\n(1) & col0 \\\\\\nend{tabular}\\n}\\nend{table}\\n\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n \n resultMatrixLatex0.m_RankingWins = intArray0;\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.assign(resultMatrixLatex0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "b42d1de4d0b9d3519d9b058cf58241f8", "score": "0.60082483", "text": "@Override\r\n\tpublic double contagionProbability() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "b2c672cd196ce0334e927b551a596765", "score": "0.60074055", "text": "@Test // bao cho JVM biet day la ham main\n /**\n * trong ham nay chua cac lenh test code chinh ben mathUtil test cac tinh\n * huong thanh cong o day: cF(5) = 120\n */\n public void testSuccessfulCasees() {\n assertEquals(120, computeFactorial(5));\n assertEquals(720, computeFactorial(6));\n assertEquals(1, computeFactorial(1));\n assertEquals(1, computeFactorial(0));\n assertEquals(2, computeFactorial(2));\n /**\n * full xanh = xanh full xanh 1 do = do\n *\n */\n }", "title": "" }, { "docid": "b1a5ced663fac9b2972f44f0055d84a1", "score": "0.6006371", "text": "@Test(timeout = 4000)\n public void test090() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.clearSummary();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n \n resultMatrixSignificance0.m_RemoveFilterName = false;\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n \n resultMatrixSignificance0.clear();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(0, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixLatex0.setRemoveFilterName(false);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n \n resultMatrixLatex0.setOptions((String[]) null);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n \n Vector<Integer> vector0 = new Vector<Integer>();\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n assertFalse(vector0.contains(0));\n \n int int0 = (-2286);\n resultMatrixSignificance0.setMeanWidth(0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = null;\n try {\n resultMatrixSignificance1 = new ResultMatrixSignificance((-2286), 1205);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "ab0dbbd6da5b1f9b6832dc733a593229", "score": "0.6006039", "text": "@Test(timeout = 4000)\n public void test056() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(111);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n String string0 = resultMatrixSignificance0.toString();\n assertEquals(\"Dataset (1)\\n-----------\\nrow0 \\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertNotNull(string0);\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n String string1 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n boolean boolean1 = resultMatrixSignificance0.getDefaultEnumerateColNames();\n assertTrue(boolean1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(boolean1 == boolean0);\n \n boolean boolean2 = resultMatrixSignificance0.isAverage(0);\n assertFalse(boolean2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(boolean2 == boolean0);\n assertFalse(boolean2 == boolean1);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(111, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNotNull(resultMatrixGnuPlot0);\n \n int[] intArray0 = new int[0];\n resultMatrixGnuPlot0.m_RowOrder = intArray0;\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(111, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n \n String string2 = resultMatrixGnuPlot0.getColName(2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(111, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNull(string2);\n \n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(111, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n \n String string3 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(111, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNotNull(string3);\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string1));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(111, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertNotNull(resultMatrixCSV0);\n \n int[][] intArray1 = new int[2][3];\n intArray1[0] = intArray0;\n intArray1[1] = null;\n resultMatrixCSV0.setSummary(intArray1, intArray1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(111, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, intArray1.length);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixGnuPlot0.m_MeanWidth = 0;\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(111, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n \n resultMatrixLatex0.setEnumerateColNames(true);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n \n boolean boolean3 = resultMatrixLatex0.isAverage(88);\n assertFalse(boolean3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(boolean3 == boolean1);\n assertTrue(boolean3 == boolean2);\n assertTrue(boolean3 == boolean0);\n \n int int0 = resultMatrixLatex0.getSignificance(95, 0);\n assertEquals(0, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n \n String string4 = resultMatrixLatex0.meanWidthTipText();\n assertEquals(\"The width of the mean (0 = optimal).\", string4);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertNotNull(string4);\n assertFalse(string4.equals((Object)string0));\n assertFalse(string4.equals((Object)string3));\n assertFalse(string4.equals((Object)string1));\n \n resultMatrixLatex0.setColOrder(intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, intArray0.length);\n assertArrayEquals(new int[] {}, intArray0);\n \n boolean boolean4 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean4);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(111, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(boolean4 == boolean2);\n assertFalse(boolean4 == boolean1);\n assertTrue(boolean4 == boolean3);\n assertTrue(boolean4 == boolean0);\n \n Enumeration enumeration0 = resultMatrixLatex0.listOptions();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertNotNull(enumeration0);\n }", "title": "" }, { "docid": "28082153ed6315a745870990a3b4c103", "score": "0.5999884", "text": "@Test(timeout = 4000)\n public void test094() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n \n String string0 = resultMatrixSignificance0.toString();\n assertEquals(\"Dataset (1)\\n-----------\\nrow0 \\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertNotNull(string0);\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n \n String string1 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n resultMatrixSignificance0.m_SignificanceWidth = 0;\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n \n boolean boolean1 = resultMatrixSignificance0.getDefaultEnumerateColNames();\n assertTrue(boolean1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(boolean1 == boolean0);\n \n boolean boolean2 = resultMatrixSignificance0.isAverage(0);\n assertFalse(boolean2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(boolean2 == boolean0);\n assertFalse(boolean2 == boolean1);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertNotNull(resultMatrixGnuPlot0);\n \n int[] intArray0 = new int[0];\n resultMatrixGnuPlot0.m_RowOrder = intArray0;\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n \n String string2 = resultMatrixGnuPlot0.getColName((-1107));\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertNull(string2);\n \n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n \n String string3 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertNotNull(string3);\n assertFalse(string3.equals((Object)string1));\n assertFalse(string3.equals((Object)string0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertNotNull(resultMatrixCSV0);\n \n boolean boolean3 = resultMatrixSignificance0.getDefaultShowStdDev();\n assertFalse(boolean3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(boolean3 == boolean0);\n assertTrue(boolean3 == boolean2);\n assertFalse(boolean3 == boolean1);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n boolean boolean4 = resultMatrixSignificance1.getPrintRowNames();\n assertTrue(boolean4);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(boolean4 == boolean2);\n assertTrue(boolean4 == boolean1);\n assertFalse(boolean4 == boolean0);\n assertFalse(boolean4 == boolean3);\n \n ResultMatrixSignificance.main((String[]) null);\n boolean boolean5 = resultMatrixSignificance0.getEnumerateRowNames();\n assertTrue(boolean5);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertTrue(boolean5 == boolean4);\n assertFalse(boolean5 == boolean3);\n assertFalse(boolean5 == boolean0);\n assertFalse(boolean5 == boolean2);\n assertTrue(boolean5 == boolean1);\n \n String string4 = resultMatrixGnuPlot0.toStringKey();\n assertEquals(\"Key:\\n(1) col0\\n\", string4);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertNotNull(string4);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(string4.equals((Object)string3));\n assertFalse(string4.equals((Object)string1));\n assertFalse(string4.equals((Object)string0));\n }", "title": "" }, { "docid": "88c303bb35d5e45b8cee22755b60269f", "score": "0.59838355", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.debugTipText();\n Attribute attribute0 = new Attribute(\"Ne{&T5y\", 1273);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n DecisionTable decisionTable0 = new DecisionTable();\n double[] doubleArray0 = new double[6];\n jRip0.getTechnicalInformation();\n doubleArray0[0] = 3568.22714686639;\n doubleArray0[1] = (double) 1;\n doubleArray0[2] = (double) 4;\n jRip0.setMinNo(0);\n doubleArray0[3] = (double) 0;\n doubleArray0[4] = (double) 4;\n jRip0.setOptions((String[]) null);\n jRip0.getUsePruning();\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n }", "title": "" }, { "docid": "6df1526a5f5a493255d4a3aa388d4804", "score": "0.5980265", "text": "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\tsuper.setUp();\r\n\t\tSIRJavaFactory sir = new SIRJavaFactory();\r\n\t\tsir.setExperimentRoot(EXPERIMENTROOT);\r\n\t\tApplication testapp = sir.extract(appname,TraceType.CODECOVERAGE_EMMA);\r\n\t\tp = testapp.getProgram(ProgramVariant.orig, 0);\r\n\t\tsfe = new SourceFileEntity(p,\"default.package\",\"test.java\",null);\r\n\t\ts1 = new StatementEntity(sfe,10,\"int i=0\");\r\n\t\ts2 = new StatementEntity(sfe,20,\"int j=0\");\r\n\t\ts3 = new StatementEntity(sfe,120,\"int k=0\");\r\n\t\ts4 = new StatementEntity(sfe,140,\"int h=0\");\r\n\t\t\r\n\t\ttca = new ArrayList<>();\r\n\t\ttcb = new ArrayList<>();\r\n\t\ttca.add(a);tca.add(b);tca.add(c);tca.add(d);tca.add(e);tca.add(f);\r\n\t\ttcb.add(a);tcb.add(b);tcb.add(c);\r\n\t\tList<StatementEntity> sea = new ArrayList<>();\r\n\t\tsea.add(s1);sea.add(s2);sea.add(s3); sea.add(s4);\r\n\t\tcodeCoverage =new CodeCoverage<StatementEntity>(TraceType.CODECOVERAGE_EMMA,tca,sea,null);\r\n\t\tcodeCoverage.setLink(a, s1);\r\n\t\tcodeCoverage.setLink(a, s3);\r\n\t\tcodeCoverage.setLink(c, s1);\r\n\t\tcodeCoverage.setLink(c, s3);\r\n\t\tcodeCoverage.setLink(d,s4);\r\n\t\tcodeCoverage.setLink(e, s3);\r\n\t\tcodeCoverage.setLink(f,s1);\r\n\t}", "title": "" }, { "docid": "c8a9a7cd31754ba3524f69c020e9dca3", "score": "0.59713644", "text": "@Test(timeout = 4000)\n public void test134() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 1649);\n resultMatrixHTML0.setCountWidth(1);\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1649, 1649);\n }", "title": "" }, { "docid": "f012f7dc19e42c67323ef355fce0a0aa", "score": "0.59659374", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n Discretize discretize0 = new Discretize(\"\\\"X(k@$BA!/\");\n double double0 = 0.0;\n byte[] byteArray0 = new byte[4];\n byteArray0[0] = (byte)2;\n byteArray0[1] = (byte)71;\n byteArray0[2] = (byte) (-59);\n byteArray0[3] = (byte)25;\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n discretize0.setDesiredWeightOfInstancesPerInterval(0.0);\n double[][] doubleArray0 = new double[0][3];\n discretize0.m_CutPoints = doubleArray0;\n discretize0.toString();\n int int0 = 11;\n // Undeclared exception!\n try { \n discretize0.getBinRangesString(11);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 11\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "5e3047cdd9cd66c15a8d5602ccf3085e", "score": "0.59635395", "text": "@Test(timeout = 4000)\n public void test41() throws Throwable {\n Attribute attribute0 = new Attribute(\"\\nTime taken to test model on training split: \");\n Attribute attribute1 = new Attribute(\"real\", 0);\n Attribute attribute2 = attribute1.copy(\"@end\");\n JRip jRip0 = new JRip();\n JRip jRip1 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip1.new RipperRule();\n String string0 = jRip_RipperRule0.toString(attribute1);\n assertEquals(\" => real=\", string0);\n \n boolean boolean0 = jRip_RipperRule0.hasAntds();\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n \n JRip.NumericAntd jRip_NumericAntd0 = jRip1.new NumericAntd(attribute2);\n SparseInstance sparseInstance0 = new SparseInstance(2);\n boolean boolean1 = jRip_NumericAntd0.covers(sparseInstance0);\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertFalse(jRip1.getDebug());\n assertTrue(jRip1.getCheckErrorRate());\n assertEquals(1L, jRip1.getSeed());\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(2, jRip1.getOptimizations());\n assertTrue(boolean1 == boolean0);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(2.0, jRip1.getMinNo(), 0.01);\n assertTrue(jRip1.getUsePruning());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(3, jRip1.getFolds());\n assertFalse(boolean1);\n }", "title": "" }, { "docid": "52370d36c81bd726fb8d5d35a301d293", "score": "0.5963526", "text": "@Test(timeout = 4000)\n public void test62() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.setCountWidth((-1186));\n resultMatrixLatex0.toStringRanking();\n resultMatrixLatex0.getStdDevPrec();\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.toString();\n resultMatrixSignificance0.setShowAverage(false);\n resultMatrixSignificance0.toStringMatrix();\n String[] stringArray0 = new String[5];\n resultMatrixLatex0.setStdDevPrec((-1420));\n stringArray0[0] = \"(\";\n stringArray0[1] = \"-ranking data not set-\";\n stringArray0[2] = \"Dataset (1)\\n-----------\\nrow0 \\n\";\n stringArray0[3] = \" \";\n stringArray0[4] = \"$circ$\";\n resultMatrixSignificance0.m_RowNames = stringArray0;\n resultMatrixLatex0.getShowStdDev();\n resultMatrixLatex0.setRemoveFilterName(false);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex0);\n // Undeclared exception!\n try { \n resultMatrixSignificance0.toStringMatrix();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "efaab60db5351c8f42443222ccb90cbd", "score": "0.59605396", "text": "@Test(timeout = 4000)\n public void test25() throws Throwable {\n Discretize discretize0 = new Discretize();\n double[][] doubleArray0 = new double[6][3];\n discretize0.m_CutPoints = doubleArray0;\n String string0 = discretize0.getBinRangesString(3);\n assertEquals(10, discretize0.getBins());\n assertNotNull(string0);\n assertEquals(\"(-inf-0],(0-0],(0-0],(0-inf)\", string0);\n assertFalse(discretize0.getMakeBinary());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getUseBinNumbers());\n assertFalse(discretize0.getUseEqualFrequency());\n }", "title": "" }, { "docid": "9c14cdf6ef72d981803b44ca369eac46", "score": "0.5958223", "text": "@Test(timeout = 4000)\n public void test64() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n resultMatrixHTML0.toStringMatrix();\n resultMatrixHTML0.getCountWidth();\n resultMatrixHTML0.m_ShowAverage = true;\n resultMatrixHTML0.getDefaultSignificanceWidth();\n resultMatrixHTML0.setCountWidth(0);\n ResultMatrixLatex.main((String[]) null);\n }", "title": "" }, { "docid": "ac8cb9f9d77f2fb6cba6967edddc51c2", "score": "0.595817", "text": "@Test\n public void testBinomialTrainingMetrics() {\n try {\n Scope.enter();\n Frame train = parseTestFile(\"smalldata/glm_test/binomial_20_cols_10KRows.csv\");\n Random rnd = RandomUtils.getRNG(train.byteSize());\n // change training data frame\n int response_index = train.numCols() - 1;\n train.replace((response_index), train.vec(response_index).toCategoricalVec()).remove();\n String[] enumCnames = new String[]{\"C1\", \"C2\", \"C3\", \"C4\", \"C5\", \"C6\", \"C7\", \"C8\", \"C9\", \"C10\", \"C21\"};\n int[] eCol = new int[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, response_index};\n int count = 0;\n for (String cname : enumCnames) {\n train.replace((eCol[count]), train.vec(cname).toCategoricalVec()).remove();\n count++;\n }\n Scope.track(train);\n DKV.put(train);\n double threshold = 0.9;\n GAMModel.GAMParameters params = new GAMModel.GAMParameters();\n params._family = GLMModel.GLMParameters.Family.binomial;\n params._response_column = \"C21\";\n params._max_iterations = 3;\n params._gam_columns = new String[][]{{\"C11\"}};\n params._train = train._key;\n params._solver = GLMModel.GLMParameters.Solver.IRLSM;\n GAMModel gam = new GAM(params).trainModel().get();\n Scope.track_generic(gam);\n assertTrue(Math.abs(gam._output._training_metrics._MSE-gam._output._glm_training_metrics._MSE) < TOLERANCE);\n assertTrue(gam._output._training_metrics._nobs==gam._output._glm_training_metrics._nobs);\n } finally {\n Scope.exit();\n }\n }", "title": "" }, { "docid": "57714473dc6a0b2be85ea58e873359ff", "score": "0.5956348", "text": "@Test(timeout = 4000)\n public void test153() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.m_StdDevPrec = 0;\n int int0 = ResultMatrix.SIGNIFICANCE_LOSS;\n resultMatrixCSV0.m_ShowAverage = true;\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV0);\n resultMatrixPlainText0.getDefaultCountWidth();\n resultMatrixPlainText0.rowNameWidthTipText();\n String[] stringArray0 = new String[7];\n stringArray0[0] = \" \";\n stringArray0[2] = \"value2\";\n stringArray0[4] = \"*\";\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixCSV0);\n resultMatrixHTML0.getStdDev(2060, 2060);\n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV(0, 0);\n resultMatrixCSV1.removeFilterName(\"\");\n resultMatrixCSV1.globalInfo();\n ResultMatrixLatex resultMatrixLatex0 = null;\n try {\n resultMatrixLatex0 = new ResultMatrixLatex(2, (-2880));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "a3fff2406020a3a9fbced3b75b2c7c8e", "score": "0.59442836", "text": "@Test(timeout = 4000)\n public void test036() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertNotNull(string0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[1];\n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertNotNull(resultMatrixGnuPlot1);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n int[][] intArray1 = new int[6][0];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[2] = intArray0;\n intArray1[3] = intArray0;\n intArray1[4] = intArray0;\n intArray1[5] = intArray0;\n resultMatrixGnuPlot1.setSummary(intArray1, intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(6, intArray1.length);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n ResultMatrixGnuPlot resultMatrixGnuPlot2 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixGnuPlot2.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot2.getEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot2.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot2.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot2.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot2.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot2.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot2.getMeanPrec());\n assertFalse(resultMatrixGnuPlot2.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot2.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot2.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot2.stdDevWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot2.showAverageTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot2.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot2.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot2.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot2.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot2.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot2.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot2.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot2.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot2.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot2.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot2.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot2.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot2.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot2.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot2.getColCount());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot2.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot2.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot2.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot2.countWidthTipText());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot2.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultStdDevWidth());\n assertNotNull(resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot0));\n \n String string1 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertNotNull(string1);\n assertNotSame(resultMatrixGnuPlot0, resultMatrixGnuPlot1);\n assertNotSame(resultMatrixGnuPlot0, resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot0.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot0.equals((Object)resultMatrixGnuPlot2));\n assertFalse(string1.equals((Object)string0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixCSV0.setSummary(intArray1, intArray1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(6, intArray1.length);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex1.setEnumerateColNames(false);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n boolean boolean0 = resultMatrixLatex0.isAverage(32);\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n \n int int0 = resultMatrixLatex1.getSignificance(0, 0);\n assertEquals(0, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixLatex resultMatrixLatex2 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertNotNull(resultMatrixLatex2);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n \n String string2 = resultMatrixLatex0.meanWidthTipText();\n assertEquals(\"The width of the mean (0 = optimal).\", string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertNotNull(string2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n \n resultMatrixLatex2.setColOrder(intArray0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(1, intArray0.length);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertArrayEquals(new int[] {0}, intArray0);\n \n int int1 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertEquals(25, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(int1 == int0);\n \n resultMatrixLatex1.setRowHidden(1635, true);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixHTML resultMatrixHTML0 = null;\n try {\n resultMatrixHTML0 = new ResultMatrixHTML((-711), 0);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "140c0031aaed01f68835e7935ecf2485", "score": "0.59354067", "text": "@Test(timeout = 4000)\n public void test113() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.clearSummary();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n \n resultMatrixSignificance0.m_RemoveFilterName = false;\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixSignificance1.clear();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n String string0 = resultMatrixSignificance0.stdDevWidthTipText();\n assertEquals(\"The width of the standard deviation (0 = optimal).\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertNotNull(string0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n String string1 = resultMatrixSignificance0.showStdDevTipText();\n assertEquals(\"Whether to display the standard deviation column.\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertNotNull(string1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(string1.equals((Object)string0));\n \n resultMatrixSignificance1.clearRanking();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixSignificance1.setShowAverage(false);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixSignificance0.setMean(2148, (-783), 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n int int0 = resultMatrixSignificance0.getDefaultStdDevPrec();\n assertEquals(2, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean0 = resultMatrixSignificance1.getDefaultRemoveFilterName();\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n int int1 = resultMatrixSignificance1.getVisibleColCount();\n assertEquals(1, int1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(int1 == int0);\n \n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance2.getRowCount());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance2.getVisibleRowCount());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance2.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertEquals(1, resultMatrixSignificance2.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertEquals(0, resultMatrixSignificance2.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n assertNotNull(resultMatrixSignificance2);\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance0));\n \n String string2 = resultMatrixSignificance2.stdDevWidthTipText();\n assertEquals(\"The width of the standard deviation (0 = optimal).\", string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance2.getRowCount());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance2.getVisibleRowCount());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance2.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertEquals(1, resultMatrixSignificance2.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertEquals(0, resultMatrixSignificance2.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n assertNotNull(string2);\n assertNotSame(resultMatrixSignificance2, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance2, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance0));\n assertFalse(string2.equals((Object)string1));\n \n resultMatrixSignificance1.setColHidden((-2742), false);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance2);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance2));\n }", "title": "" }, { "docid": "94440c49880a6be2f9d3d69e9fdf0a25", "score": "0.59232455", "text": "@Test\r\n\tpublic void BigTest() {\r\n\t\tReadFile();\r\n\t\t\r\n\t\tfor (int i=0; i<m_cases.size(); i++){\r\n\t\t\tTestCase testCase = m_cases.get(i);\r\n\t\t\tCoverageCalculator calc = new CoverageCalculator(testCase.getLength());\r\n\t\t\tfor (int j=0; j<testCase.numTowers(); j++){\r\n\t\t\t\tPair tower = testCase.getTower(j);\r\n\t\t\t\tcalc.addTower(tower.loc(), tower.size());\r\n\t\t\t}\r\n\t\t\tint answer = calc.getCoverage();\t\t\t\t\r\n\t\t\tif (answer == testCase.getAnswer()){\r\n\t\t\t\tSystem.out.println(\"Test \" + i + \" successful.\");\t\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tSystem.out.println(\"Test \" + i + \" failed.\");\r\n\t\t\t}\r\n\t\t\tassertEquals(testCase.getAnswer(), answer);\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1aca911b587df3392cadb5121644a0f6", "score": "0.5921122", "text": "@Test(timeout = 4000)\n public void test102() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertNotNull(resultMatrixSignificance0);\n \n int int0 = 1;\n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n String string0 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertNotNull(string0);\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n int int1 = 2465;\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(1, 2465);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2465, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(2465, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertNotNull(resultMatrixLatex0);\n \n String string1 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2465, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(2465, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n String string2 = resultMatrixSignificance0.getColName(18);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertNull(string2);\n \n resultMatrixLatex0.setRowName(2465, \"!X7uLyECr=5T`HhYP8a\");\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2465, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n \n // Undeclared exception!\n resultMatrixSignificance0.assign(resultMatrixLatex0);\n }", "title": "" }, { "docid": "b2e334be8f5a7d35930539dfcc5b148e", "score": "0.5918904", "text": "@Test(timeout = 4000)\n public void test06() throws Throwable {\n Discretize discretize0 = new Discretize(\"rY tJ [dXTLi\\\"c\");\n String string0 = discretize0.globalInfo();\n assertEquals(\"An instance filter that discretizes a range of numeric attributes in the dataset into nominal attributes. Discretization is by simple binning. Skips the class attribute if set.\", string0);\n \n discretize0.setOutputFormat();\n discretize0.setInvertSelection(true);\n assertFalse(discretize0.getFindNumBins());\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getMakeBinary());\n assertFalse(discretize0.getUseBinNumbers());\n assertFalse(discretize0.getUseEqualFrequency());\n }", "title": "" }, { "docid": "abde3631af2d52cfc1c3481fccd6548a", "score": "0.59185237", "text": "@Test(timeout = 4000)\n public void test148() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(416, 0);\n resultMatrixCSV0.RIGHT_PARENTHESES = \"\";\n resultMatrixCSV0.clearHeader();\n resultMatrixCSV0.setStdDevPrec(0);\n assertEquals(0, resultMatrixCSV0.getStdDevPrec());\n }", "title": "" }, { "docid": "bfe5bc5f2f74bc04b55f0f035aff609c", "score": "0.5917639", "text": "@Test(timeout = 4000)\n public void test78() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n int[] intArray0 = new int[1];\n intArray0[0] = 2;\n resultMatrixSignificance0.getOptions();\n resultMatrixCSV0.m_RankingLosses = intArray0;\n resultMatrixCSV0.getRevision();\n boolean[] booleanArray0 = new boolean[6];\n booleanArray0[0] = false;\n booleanArray0[1] = true;\n booleanArray0[2] = false;\n booleanArray0[3] = true;\n booleanArray0[4] = true;\n booleanArray0[5] = false;\n resultMatrixSignificance0.m_ColHidden = booleanArray0;\n resultMatrixSignificance0.setStdDevWidth(30);\n resultMatrixCSV0.setSignificanceWidth(2);\n resultMatrixCSV0.meanPrecTipText();\n assertEquals(30, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n }", "title": "" }, { "docid": "eaf764206d1be02bf24e2c910a04aaac", "score": "0.5916817", "text": "@Test(timeout = 4000)\n public void test140() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.globalInfo();\n resultMatrixSignificance0.getDefaultMeanPrec();\n int[][] intArray0 = new int[2][1];\n resultMatrixSignificance0.getDefaultPrintColNames();\n resultMatrixSignificance0.getDefaultEnumerateColNames();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n }", "title": "" }, { "docid": "3cf29a510f327f81384d3b8c7e377310", "score": "0.5916508", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.setIgnoreClass(true);\n String[] stringArray0 = discretize0.getOptions();\n assertEquals(7, stringArray0.length);\n \n discretize0.getCapabilities();\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n }", "title": "" }, { "docid": "ae6b7846cf102f689a356ed92541ee5b", "score": "0.5902325", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n System.setCurrentTimeMillis(2435L);\n JRip jRip0 = new JRip();\n jRip0.getMinNo();\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute0 = new Attribute(\"3,{\", \"3,{\", protectedProperties0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n String[] stringArray0 = new String[2];\n stringArray0[0] = \"integer\";\n stringArray0[1] = \"3,{\";\n AbstractClassifier.runClassifier(jRip0, stringArray0);\n jRip_NominalAntd0.att = attribute0;\n double[] doubleArray0 = new double[7];\n doubleArray0[0] = 2.0;\n doubleArray0[1] = (double) 1;\n doubleArray0[2] = 2.0;\n doubleArray0[3] = (double) 4;\n doubleArray0[4] = (double) 2435L;\n doubleArray0[5] = 2.0;\n doubleArray0[6] = 2.0;\n SparseInstance sparseInstance0 = new SparseInstance(2, doubleArray0);\n jRip_NominalAntd0.covers(sparseInstance0);\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n BayesNet bayesNet0 = new BayesNet();\n Instances instances0 = bayesNet0.m_Instances;\n Instances instances1 = null;\n try {\n instances1 = new Instances((Instances) null, 1);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "e61a3b03a2a1fe85b79b0b92089313fe", "score": "0.588483", "text": "@Test(timeout = 4000)\n public void test029() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[7];\n intArray0[0] = 1;\n intArray0[1] = 1;\n intArray0[2] = 2;\n intArray0[3] = 0;\n intArray0[4] = 1;\n intArray0[5] = 1;\n intArray0[6] = 2;\n resultMatrixSignificance0.m_RankingDiff = intArray0;\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n \n String string0 = resultMatrixSignificance0.enumerateColNamesTipText();\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertNotNull(string0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(123, 2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertNotNull(resultMatrixLatex0);\n \n boolean boolean0 = resultMatrixLatex0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n \n boolean boolean1 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(boolean1 == boolean0);\n \n String[] stringArray0 = new String[9];\n stringArray0[0] = \"$circ$\";\n stringArray0[1] = \")\";\n resultMatrixLatex0.setColNameWidth(48);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(48, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n \n stringArray0[2] = \"$\\bullet$\";\n stringArray0[3] = \"*\";\n stringArray0[4] = \"\";\n stringArray0[5] = \")\";\n stringArray0[6] = \"$\\bullet$\";\n stringArray0[7] = \"<vQbRMf.;\";\n stringArray0[8] = \"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\";\n ResultMatrixLatex.main(stringArray0);\n assertEquals(9, stringArray0.length);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(123, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(123, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(48, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertNotNull(resultMatrixGnuPlot0);\n \n resultMatrixGnuPlot0.m_RowNames = stringArray0;\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(123, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(9, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(123, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(48, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n \n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(48, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n \n String string1 = resultMatrixGnuPlot0.getRevision();\n assertEquals(\"8034\", string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(123, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(48, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(123, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n // Undeclared exception!\n try { \n resultMatrixGnuPlot0.toStringHeader();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "d35af53f08bd9b9050e4b1638a316322", "score": "0.5874794", "text": "@org.junit.Test(timeout = 10000)\n public void testHighCardinality_cf18131_failAssert14_literalMutation18688_literalMutation20376_failAssert1() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_10_1 = 20000000;\n long start = java.lang.System.currentTimeMillis();\n com.clearspring.analytics.stream.cardinality.HyperLogLogPlus hyperLogLogPlus = new com.clearspring.analytics.stream.cardinality.HyperLogLogPlus(0, 25);\n int size = 20000000;\n // MethodAssertGenerator build local variable\n Object o_10_0 = size;\n for (int i = 0; i < size; i++) {\n hyperLogLogPlus.offer(com.clearspring.analytics.stream.cardinality.TestICardinality.streamElement(i));\n }\n java.lang.System.out.println((((((\"expected: \" + size) + \", estimate: \") + (hyperLogLogPlus.cardinality())) + \", time: \") + ((java.lang.System.currentTimeMillis()) - start)));\n long estimate = hyperLogLogPlus.cardinality();\n double err = (java.lang.Math.abs((estimate - size))) / ((double) (size));\n java.lang.System.out.println((\"Percentage error \" + err));\n // StatementAdderOnAssert create random local variable\n long vc_1169 = -9005164045801625663L;\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.cardinality.HyperLogLog vc_1167 = (com.clearspring.analytics.stream.cardinality.HyperLogLog)null;\n // StatementAdderMethod cloned existing statement\n vc_1167.offerHashed(vc_1169);\n // MethodAssertGenerator build local variable\n Object o_26_0 = err < 0.1;\n org.junit.Assert.fail(\"testHighCardinality_cf18131 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n org.junit.Assert.fail(\"testHighCardinality_cf18131_failAssert14_literalMutation18688_literalMutation20376 should have thrown IllegalArgumentException\");\n } catch (java.lang.IllegalArgumentException eee) {\n }\n }", "title": "" }, { "docid": "fda95715b298222fcd6c8a1aa73f0a77", "score": "0.58710134", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n JRip jRip0 = new JRip();\n assertEquals(2, jRip0.getOptimizations());\n \n jRip0.setOptimizations(0);\n jRip0.getTechnicalInformation();\n jRip0.listOptions();\n Utils.SMALL = 0.0;\n Attribute attribute0 = new Attribute((String) null, \"\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.toString();\n jRip0.setFolds(2);\n jRip_NumericAntd0.getRevision();\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n jRip_NominalAntd0.getRevision();\n jRip_NominalAntd0.copy();\n assertEquals(1L, jRip0.getSeed());\n }", "title": "" }, { "docid": "f4331dd38097add62cd2ae03dfaa3c33", "score": "0.5867326", "text": "@Test(timeout = 4000)\n public void test195() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.m_StdDevPrec = 0;\n int int0 = ResultMatrix.SIGNIFICANCE_LOSS;\n resultMatrixCSV0.m_ShowAverage = true;\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV0);\n resultMatrixPlainText0.getDefaultCountWidth();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixPlainText0);\n resultMatrixLatex0.assign(resultMatrixPlainText0);\n resultMatrixLatex0.getSignificance(0, 2);\n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n resultMatrixLatex1.meanWidthTipText();\n int[] intArray0 = new int[9];\n intArray0[0] = 1;\n intArray0[1] = 1;\n intArray0[2] = 0;\n intArray0[3] = 2;\n intArray0[4] = 1;\n intArray0[6] = 2;\n intArray0[7] = 0;\n intArray0[8] = 1;\n resultMatrixLatex1.setColOrder(intArray0);\n ResultMatrixCSV resultMatrixCSV1 = null;\n try {\n resultMatrixCSV1 = new ResultMatrixCSV(47, (-3194));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "6548729be9bbdbb145fc2d09f2ca78de", "score": "0.58672476", "text": "@Test(timeout = 4000)\n public void test122() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getDefaultMeanPrec();\n assertEquals(2, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertNotNull(resultMatrixLatex0);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n String string1 = resultMatrixLatex1.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertNotNull(string1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string1.equals((Object)string0));\n \n String string2 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertNotNull(string2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertTrue(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n \n String string3 = resultMatrixSignificance0.getColName(2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertNull(string3);\n \n resultMatrixLatex0.setRowName(0, \"\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n \n resultMatrixSignificance0.assign(resultMatrixLatex1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertNotNull(resultMatrixCSV0);\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n Predicate<Object> predicate0 = Predicate.isEqual((Object) \"$circ$\");\n assertNotNull(predicate0);\n \n Object object1 = new Object();\n assertNotNull(object1);\n assertFalse(object1.equals((Object)object0));\n \n Predicate<Object> predicate1 = Predicate.isEqual((Object) \"Only outputs the significance indicators. Can be used for spotting patterns.\");\n assertNotNull(predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate1.equals((Object)predicate0));\n \n Predicate<Object> predicate2 = Predicate.isEqual((Object) null);\n assertNotNull(predicate2);\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n \n Predicate<Object> predicate3 = predicate0.or(predicate1);\n assertNotNull(predicate3);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate2));\n \n Predicate<Object> predicate4 = null;\n // Undeclared exception!\n try { \n predicate1.and((Predicate<? super Object>) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.util.Objects\", e);\n }\n }", "title": "" }, { "docid": "4f39097a2f45a5050a449a462e28417e", "score": "0.58654374", "text": "@Test(timeout = 4000)\n public void test63() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\n resultMatrixSignificance0.TIE_STRING = \"\";\n resultMatrixSignificance0.m_ShowStdDev = false;\n String[] stringArray0 = resultMatrixSignificance0.getOptions();\n resultMatrixSignificance0.toStringKey();\n resultMatrixSignificance0.showStdDevTipText();\n resultMatrixSignificance0.stdDevWidthTipText();\n resultMatrixSignificance0.setCountWidth(0);\n String[][] stringArray1 = new String[1][5];\n stringArray1[0] = stringArray0;\n resultMatrixSignificance0.getColSize(stringArray1, 0);\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(10, 0);\n resultMatrixLatex0.setEnumerateColNames(false);\n resultMatrixLatex0.rowNameWidthTipText();\n resultMatrixSignificance0.clearHeader();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.getDefaultPrintColNames();\n resultMatrixSignificance0.clearHeader();\n ResultMatrixSignificance resultMatrixSignificance1 = null;\n try {\n resultMatrixSignificance1 = new ResultMatrixSignificance((-1689), 1);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "6f829551f450dc6cee6177d73e246370", "score": "0.58635736", "text": "@Test(timeout = 4000)\n public void test01() throws Throwable {\n int int0 = 0;\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(26, 0);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixGnuPlot0);\n int[][] intArray0 = new int[3][9];\n int[] intArray1 = new int[0];\n resultMatrixGnuPlot0.getRevision();\n intArray0[0] = intArray1;\n int[] intArray2 = new int[9];\n intArray2[0] = 1;\n intArray2[1] = 2;\n intArray2[3] = 1;\n intArray2[7] = 26;\n intArray2[4] = 0;\n resultMatrixCSV0.WIN_STRING = \"8034\";\n intArray2[5] = 0;\n intArray2[6] = 2;\n intArray2[7] = 0;\n resultMatrixGnuPlot0.getVisibleRowCount();\n int int1 = ResultMatrix.SIGNIFICANCE_TIE;\n ResultMatrixGnuPlot resultMatrixGnuPlot1 = null;\n try {\n resultMatrixGnuPlot1 = new ResultMatrixGnuPlot((-639), 3);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "e4d654a7d971c4e2644a4281ca3b62f1", "score": "0.58589405", "text": "@Test(timeout = 4000)\n public void test097() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[7];\n intArray0[0] = 26;\n intArray0[2] = 0;\n intArray0[3] = 71;\n String[] stringArray0 = resultMatrixLatex0.getOptions();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(stringArray0);\n assertEquals(18, stringArray0.length);\n \n resultMatrixLatex0.setStdDevPrec(71);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(71, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n \n resultMatrixLatex0.setPrintRowNames(true);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(71, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n \n boolean boolean0 = resultMatrixLatex0.isStdDev(651);\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(71, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixLatex0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(71, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(71, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertNotNull(resultMatrixHTML0);\n \n String string0 = resultMatrixLatex0.meanPrecTipText();\n assertEquals(\"The number of decimals after the decimal point for the mean.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(71, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(string0);\n }", "title": "" }, { "docid": "4ba167c1f97e4c1ea4c627d1d066f02b", "score": "0.58575886", "text": "@Test(timeout = 4000)\n public void test054() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getDefaultMeanPrec();\n assertEquals(2, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[1];\n int[][] intArray1 = new int[9][7];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n resultMatrixLatex0.assign(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n \n boolean boolean0 = resultMatrixLatex0.isStdDev(1);\n assertFalse(boolean0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(26, 0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(26, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(26, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertNotNull(resultMatrixHTML0);\n \n int int1 = resultMatrixHTML0.getSignificance(2, 0);\n assertEquals(0, int1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(26, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(26, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(int1 == int0);\n }", "title": "" }, { "docid": "28be998e001884a3e2013d9f8a115a5a", "score": "0.585649", "text": "@Test(timeout = 4000)\n public void test093() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(15, 15);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(15, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(15, resultMatrixSignificance0.getColCount());\n assertEquals(15, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(15, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(15, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(15, resultMatrixSignificance0.getColCount());\n assertEquals(15, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(15, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(15, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(15, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(15, resultMatrixLatex0.getColCount());\n assertEquals(15, resultMatrixLatex0.getVisibleRowCount());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[2];\n intArray0[0] = 15;\n intArray0[1] = 2;\n resultMatrixLatex0.setColOrder(intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(15, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(15, resultMatrixSignificance0.getColCount());\n assertEquals(15, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(15, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(15, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(15, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(15, resultMatrixLatex0.getColCount());\n assertEquals(15, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, intArray0.length);\n assertArrayEquals(new int[] {15, 2}, intArray0);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n String string0 = resultMatrixSignificance0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(15, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(15, resultMatrixSignificance0.getColCount());\n assertEquals(15, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(15, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertNotNull(string0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n resultMatrixLatex0.setRowOrder(intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(15, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(15, resultMatrixSignificance0.getColCount());\n assertEquals(15, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(15, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(15, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(15, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(15, resultMatrixLatex0.getColCount());\n assertEquals(15, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, intArray0.length);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertArrayEquals(new int[] {15, 2}, intArray0);\n \n int[] intArray1 = resultMatrixLatex0.getColOrder();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(15, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(15, resultMatrixSignificance0.getColCount());\n assertEquals(15, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(15, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(15, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(15, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(15, resultMatrixLatex0.getColCount());\n assertEquals(15, resultMatrixLatex0.getVisibleRowCount());\n assertNull(intArray1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n }", "title": "" }, { "docid": "3426d8e95c900a7e517b7e57f17a60ee", "score": "0.5854428", "text": "@Test(timeout = 4000)\n public void test133() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n int[][] intArray0 = new int[2][1];\n resultMatrixGnuPlot0.setRanking(intArray0);\n resultMatrixGnuPlot0.setCountWidth((-3639));\n ResultMatrixSignificance resultMatrixSignificance0 = null;\n try {\n resultMatrixSignificance0 = new ResultMatrixSignificance((-996), 1127);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "01d4463df525b9d31160f76ead64826a", "score": "0.5851727", "text": "double getLogProbabilityOfEstimate();", "title": "" }, { "docid": "0abcef5ba9914bb6ce04b5edc6354292", "score": "0.5850904", "text": "@Test\n public void test4() {\n _659Test.nums = new int[]{ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100 };\n Assert.assertEquals(true, _659Test.solution1.isPossible(_659Test.nums));\n }", "title": "" }, { "docid": "8485e79cae9660318dcb3a7414ed97f0", "score": "0.58500755", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"\");\n FileSystemHandling.shouldAllThrowIOExceptions();\n Discretize discretize0 = new Discretize();\n String string0 = discretize0.invertSelectionTipText();\n assertFalse(discretize0.getUseBinNumbers());\n assertFalse(discretize0.getUseEqualFrequency());\n assertEquals(\"Set attribute selection mode. If false, only selected (numeric) attributes in the range will be discretized; if true, only non-selected attributes will be discretized.\", string0);\n assertFalse(discretize0.getFindNumBins());\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getMakeBinary());\n }", "title": "" }, { "docid": "889f79e18fa5f0543f1f36baef009830", "score": "0.5849391", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(26, 0);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixGnuPlot0);\n int[][] intArray0 = new int[3][9];\n int[] intArray1 = new int[0];\n resultMatrixGnuPlot0.getRevision();\n intArray0[0] = intArray1;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixCSV0);\n String[] stringArray0 = resultMatrixSignificance0.getOptions();\n resultMatrixSignificance0.toStringKey();\n resultMatrixSignificance0.showStdDevTipText();\n resultMatrixSignificance0.stdDevWidthTipText();\n resultMatrixSignificance0.setCountWidth(0);\n String[][] stringArray1 = new String[3][7];\n String[] stringArray2 = new String[0];\n stringArray1[0] = stringArray2;\n stringArray1[1] = stringArray0;\n stringArray1[2] = stringArray0;\n resultMatrixSignificance0.getColSize(stringArray1, 1);\n ResultMatrixLatex resultMatrixLatex0 = null;\n try {\n resultMatrixLatex0 = new ResultMatrixLatex(2, (-871));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "9f9b4fc8ccae0a4380f679c8e604edb2", "score": "0.584177", "text": "@Test(timeout = 4000)\n public void test34() throws Throwable {\n JRip jRip0 = new JRip();\n byte[] byteArray0 = new byte[6];\n byteArray0[0] = (byte)46;\n byteArray0[1] = (byte) (-23);\n byteArray0[2] = (byte)46;\n byteArray0[3] = (byte)108;\n byteArray0[4] = (byte)46;\n byteArray0[5] = (byte)108;\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n ArrayList<String> arrayList0 = new ArrayList<String>();\n Attribute attribute0 = new Attribute(\"\", arrayList0, (-2751));\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n JRip jRip1 = new JRip();\n JRip.NumericAntd jRip_NumericAntd1 = jRip1.new NumericAntd(attribute0);\n String string0 = jRip_NumericAntd1.toString();\n assertEquals(\" <= NaN\", string0);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getCover(), 0.01);\n assertEquals(0.0, jRip_NumericAntd1.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAccuRate(), 0.01);\n \n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n ArrayList<Attribute> arrayList1 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"\", arrayList1, 3);\n jRip_RipperRule0.prune(instances0, true);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n }", "title": "" }, { "docid": "7c40cb7bb44bfc6e99cebe541ee6b968", "score": "0.5841379", "text": "@Test(timeout = 4000)\n public void test050() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertNotNull(string0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setCountWidth(0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(1210, 1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(1210, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(1210, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n int int0 = resultMatrixSignificance1.getVisibleColCount();\n assertEquals(1210, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(1210, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertNotNull(resultMatrixLatex0);\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean1 = resultMatrixSignificance0.getDefaultEnumerateColNames();\n assertTrue(boolean1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(boolean1 == boolean0);\n \n boolean boolean2 = resultMatrixSignificance1.isAverage(2);\n assertFalse(boolean2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(1210, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(1210, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(boolean2 == boolean1);\n assertTrue(boolean2 == boolean0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNotNull(resultMatrixGnuPlot0);\n \n String string1 = resultMatrixGnuPlot0.getColName(1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNull(string1);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertNotNull(resultMatrixGnuPlot1);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertNotNull(resultMatrixPlainText0);\n \n String string2 = resultMatrixGnuPlot1.toStringRanking();\n assertEquals(\"-ranking data not set-\", string2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertNotNull(string2);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertFalse(string2.equals((Object)string0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertNotNull(resultMatrixCSV0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n int[][] intArray0 = new int[0][8];\n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex0.setEnumerateColNames(false);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n \n ResultMatrixLatex resultMatrixLatex2 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertNotNull(resultMatrixLatex2);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n \n boolean boolean3 = resultMatrixLatex2.isAverage(2224);\n assertFalse(boolean3);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertTrue(boolean3 == boolean2);\n assertFalse(boolean3 == boolean1);\n assertTrue(boolean3 == boolean0);\n \n int int1 = resultMatrixLatex2.getSignificance(0, 2);\n assertEquals(0, int1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertFalse(int1 == int0);\n \n String string3 = resultMatrixLatex1.meanWidthTipText();\n assertEquals(\"The width of the mean (0 = optimal).\", string3);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertNotNull(string3);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string2));\n \n resultMatrixLatex2.setColOrder((int[]) null);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n }", "title": "" }, { "docid": "f2c0c64ea9d741e5686794ee317682a8", "score": "0.5840879", "text": "@Test(timeout = 4000)\n public void test051() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n \n String string0 = resultMatrixSignificance0.toString();\n assertEquals(\"Dataset (1)\\n-----------\\nrow0 \\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertNotNull(string0);\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n \n String string1 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n \n boolean boolean1 = resultMatrixSignificance0.getDefaultEnumerateColNames();\n assertTrue(boolean1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(boolean1 == boolean0);\n \n boolean boolean2 = resultMatrixSignificance0.isAverage(0);\n assertFalse(boolean2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(boolean2 == boolean0);\n assertFalse(boolean2 == boolean1);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertNotNull(resultMatrixGnuPlot0);\n \n int[] intArray0 = new int[0];\n resultMatrixGnuPlot0.m_RowOrder = intArray0;\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n \n String string2 = resultMatrixGnuPlot0.getColName(2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertNull(string2);\n \n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixGnuPlot0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixLatex0.setRowOrder(intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, intArray0.length);\n assertArrayEquals(new int[] {}, intArray0);\n \n String[] stringArray0 = resultMatrixLatex0.getOptions();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertNotNull(stringArray0);\n assertEquals(19, stringArray0.length);\n \n resultMatrixLatex0.setPrintRowNames(false);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(2, 78);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(78, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(78, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex1.setEnumerateColNames(true);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(78, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(78, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n boolean boolean3 = resultMatrixLatex1.isAverage(78);\n assertFalse(boolean3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(78, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(78, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(2, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertTrue(boolean3 == boolean0);\n assertFalse(boolean3 == boolean1);\n assertTrue(boolean3 == boolean2);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertNotNull(resultMatrixCSV0);\n \n int int0 = resultMatrixCSV0.getStdDevWidth();\n assertEquals(1, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n \n boolean boolean4 = resultMatrixGnuPlot0.isAverage(1);\n assertFalse(boolean4);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(boolean4 == boolean0);\n assertTrue(boolean4 == boolean2);\n assertTrue(boolean4 == boolean3);\n assertFalse(boolean4 == boolean1);\n \n String string3 = resultMatrixGnuPlot0.printColNamesTipText();\n assertEquals(\"Whether to output column names or just numbers representing them.\", string3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertNotNull(string3);\n assertFalse(string3.equals((Object)string1));\n assertFalse(string3.equals((Object)string0));\n \n int int1 = resultMatrixCSV0.getDefaultMeanWidth();\n assertEquals(0, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(int1 == int0);\n }", "title": "" }, { "docid": "50e9909f835278c42d7431dc1e2e68a3", "score": "0.58406276", "text": "public static void main(String[] args) {\n\n GeometricDist successCheck = new GeometricDist(.6);\n Double thirdTimeCharm = successCheck.pointProb(2);\n //thirdTimeCharm should be 0.096.\n System.out.println(thirdTimeCharm);\n\n GeometricDist diceCheck = new GeometricDist(1.0/6.0);\n /*Double sixthFirstSix = diceCheck.pointProb(5);\n System.out.println(\"The probability that the first 6 comes after exactly 5 failures is \" + sixthFirstSix); */\n Double noSixAfterSix = 1 - diceCheck.cumulProb(5);\n //noSixAfterSix should be roughly .335\n System.out.println(noSixAfterSix);\n\n ExponentialDist baseExpD = new ExponentialDist(1);\n System.out.println(baseExpD.cumulProb(1));\n // Should equal 1 - 1/e, which is .632\n System.out.println(baseExpD.cumulProb(.693));\n // Should be about 0.5\n\n double[][] SP01to14 = {{1148.08, 0}, {879.82, 14.53}, {1111.92, 20.8}, {1211.92, 20.98}, {1248.29, 23.15},\n {1418.30, 27.16}, {1468.36, 27.86}, {903.25, 21.85}, {1115.10, 27.19}, {1257.64, 25.44},\n {1257.60, 26.59}, {1426.19, 32.67}, {1848.36, 39.75}, {2058.9, 42.46}};\n double[] SP02to14Returns = MathOps.findSumDifferences(SP01to14);\n System.out.println(Arrays.toString(SP02to14Returns));\n System.out.println(Variance.mean(SP02to14Returns));\n System.out.println(Variance.popVarianceEstimate(SP02to14Returns));\n System.out.println(Variance.popStDevEstimate(SP02to14Returns));\n System.out.println(Variance.stDevOfPopMeanEstimate(SP02to14Returns));\n System.out.println(Arrays.toString(Variance.confidenceIntervalPopMeanTwoSigma(SP02to14Returns)));\n\n double[][] dist = {{0.4, 0.25}, {0.1, 0.5}, {-0.2, 0.25}};\n System.out.println(Variance.varianceOfWeighted(dist));\n System.out.println();\n\n double[] nrets = {.21, .3, .07, -.05, -.02, .09};\n double[] wrets = {.09, .21, .07, -.02, -.05, .3};\n System.out.println(\"nrets underlying st dev: \" + Variance.popStDevEstimate(nrets));\n System.out.println(Variance.popStDevEstimate(wrets));\n System.out.println(\"nrets underlying variance: \" + Variance.popVarianceEstimate(nrets));\n System.out.println(MathOps.round(Variance.covarianceEstimate(nrets, wrets),5));\n System.out.println(\"correl of nrets and wrets: \" +\n MathOps.round(Variance.correlationEstimate(nrets, wrets), 4));\n ProbDensityFunction nRetsDist = new ProbDensityFunction(nrets);\n ProbDensityFunction wRetsDist = new ProbDensityFunction(wrets);\n double sumvar = nRetsDist.findVarianceOfTwoDistSum(wRetsDist, 0.5, 0.5);\n System.out.println(\"Variance of sum of nrets and wrets: \" + sumvar);\n System.out.println(\"St Dev of sum of nrets and wrets: \" + Math.pow(sumvar, 0.5));\n ProbDensityFunction[] dists = {nRetsDist, wRetsDist};\n double[] halves = {0.5, 0.5};\n System.out.println(Math.pow(ProbDensityFunction.findVarianceOfMultiDistSum(dists, halves),0.5));\n // Should equal previous value\n System.out.println();\n System.out.println(nRetsDist.findUnderlyingVariance());\n System.out.println(Variance.covarianceEstimate(nRetsDist.getValues(), nRetsDist.getValues()));\n //Covariance of nRetsDist with itself should equal variance\n double[] combined = ProbDensityFunction.findCombinedValues(dists, halves);\n System.out.println(Arrays.toString(combined));\n System.out.println(Variance.correlationEstimate(nrets, combined));\n System.out.println(Variance.correlationEstimate(wrets, combined));\n System.out.println(nRetsDist.findStDevContribution(combined, .5));\n // Should be half of combined st dev\n\n System.out.println(Arrays.toString(MathOps.quadraticSol(5, 6, 1)));\n System.out.println((ProbDensityFunction.findMinVarianceFromSd(.5, .25, 0.0)));\n System.out.println(ProbDensityFunction.findTangentFromStDev(.5, .25, 0,\n .26, .06, .03));\n System.out.println();\n\n\n NormalDistribution testDist = new NormalDistribution(0, 3.5);\n System.out.println(testDist.pointProbIfMuZero(0.15));\n //System.out.println(testDist.cumulProb(1.1));\n\n NormalDistribution testDist2 = new NormalDistribution(.4, 1.7);\n System.out.println(testDist2.pointProb(0.45));\n System.out.println(testDist2.cumulProb(.45));\n System.out.println();\n\n System.out.println(NormalDistribution.standardNormalPDF(1.1));\n System.out.println(NormalDistribution.standardNormalCDF(1.1));\n System.out.println(NormalDistribution.standardNormalCDF(-1));\n\n System.out.println(ErrorFunction.erf(1.4));\n\n LognormalDist quarterLog = new LognormalDist(0, 0.25);\n System.out.println(quarterLog.pointProb(1));\n System.out.println(quarterLog.cumulProb(1.25));\n System.out.println();\n\n System.out.println(NormalDistribution.inverseStandardNormalCDF(.975));\n System.out.println();\n System.out.println();\n\n\n double crPasCh = 244.0 / 495.0; // 49.292929%; Half of 495 is 247.5\n\n TimeToMoneyOut cGame = new TimeToMoneyOut(5, crPasCh);\n double[][] afterOne = cGame.moneyAfterFirstRound();\n System.out.println(Arrays.toString(afterOne[0]));\n System.out.println(Arrays.toString(afterOne[1]));\n System.out.println();\n\n System.out.println(MathOps.round(MathOps.findLowestFirstElementInArrays(afterOne), 13));\n double[][] afterTwo = cGame.moneyAfterNRounds(2);\n System.out.println(MathOps.findLowestFirstElementInArrays(afterTwo));\n System.out.println(Arrays.toString(cGame.nextRow(afterOne)));\n System.out.println();\n double[][] afterFour = cGame.moneyAfterNRounds(4);\n MathOps.doubleArrayPrint(afterFour);\n System.out.println();\n double[][] afterFive = cGame.moneyAfterNRounds(5);\n MathOps.doubleArrayPrint(afterFive);\n System.out.println();\n double[][] afterSix = cGame.moneyAfterNRounds(6);\n MathOps.doubleArrayPrint(afterSix);\n System.out.println();\n double[][] afterSeven = cGame.moneyAfterNRounds(7);\n MathOps.doubleArrayPrint(afterSeven);\n System.out.println();\n\n\n\n System.out.println(Arrays.asList(cGame.getProbZeroOutTable()));\n System.out.println(Arrays.asList(cGame.getToSpecifiedZeroProb(.975)));\n /*Results indicate that a gambler who starts with 5 money, with slightly less than even odds, will run out of\n money after an odd number of rounds between 5 and 63 (two-sided 95% probability (not confidence) interval)\n Median is 25.*/\n System.out.println(cGame.findMedian());\n System.out.println(1/(1-2*crPasCh));\n System.out.println();\n\n int [][] gambleTimes = TimeToMoneyOut.findMedians(crPasCh, 1, 10);\n for (int i = 0; i<10; i++) {\n double ratio = (double)gambleTimes[i][1] / (double)gambleTimes[i][0];\n System.out.println(Arrays.toString(gambleTimes[i]) + \" \" + (ratio));\n }\n /* The median time until the gambler runs out of money bears some relationship to the expected value of that time\n The medidan tends to be less than the expected value, since the values below the median are less spread out\n than the ones above, even though both the values below and above the median may be skewed toward lower values.\n The expected value is related to the inverse of double the difference between .5 and the probability of winning.\n Starting money divided by this double difference.\n */\n\n //Commented out because of computing time used\n /*int [][] gambleTimes2 = TimeToMoneyOut.findMedians(crPasCh, 99, 101);\n for (int i = 0; i<3; i++) {\n double ratio = (double)gambleTimes2[i][1] / (double)gambleTimes2[i][0];\n System.out.println(Arrays.toString(gambleTimes2[i]) + \" \" + (ratio));\n }*/\n\n /*int [][] gambleTimes3 = TimeToMoneyOut.findMedians(crPasCh, 374, 376);\n for (int i = 0; i<3; i++) {\n double ratio = (double)gambleTimes3[i][1] / (double)gambleTimes3[i][0];\n System.out.println(Arrays.toString(gambleTimes3[i]) + \" \" + (ratio));\n }*/\n\n System.out.println();\n System.out.println(MathOps.greatestCommonFactor(100, 110));\n\n Pair<Integer, Integer> twoFifths = MathOps.reduceFrac(24, 60);\n System.out.println(twoFifths.getKey() + \", \" + twoFifths.getValue());\n\n Die firstD6 = new Die(1, 6, 1);\n Die secondD6 = new Die(1, 6, 1);\n\n HashMap h = Die.sumDice(firstD6, secondD6);\n System.out.println(h.entrySet());\n Die thirdD6 = new Die(1, 6, 1);\n HashMap h2 = Die.addDieToSum(thirdD6, h);\n System.out.println(h2.entrySet());\n\n\n\n System.out.println();\n int[] divisors = new int[] {6, 10, 15};\n System.out.println(MathOps.findLCM(divisors));\n\n\n }", "title": "" }, { "docid": "cd1215d495ef191fca925c6515aa314e", "score": "0.5838838", "text": "@Test(timeout = 4000)\n public void test041() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getDefaultMeanPrec();\n assertEquals(2, int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[1];\n int[][] intArray1 = new int[9][7];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[2] = intArray0;\n intArray1[3] = intArray0;\n intArray1[4] = intArray0;\n intArray1[5] = intArray0;\n intArray1[0] = intArray0;\n intArray1[7] = intArray0;\n intArray1[2] = intArray0;\n resultMatrixGnuPlot0.setSummary(intArray1, intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(9, intArray1.length);\n \n intArray0[0] = 0;\n resultMatrixLatex0.setRowOrder(intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, intArray0.length);\n assertArrayEquals(new int[] {0}, intArray0);\n \n Vector<String> vector0 = new Vector<String>();\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertNotNull(vector0);\n assertFalse(vector0.contains(string0));\n \n Predicate<Object> predicate0 = Predicate.isEqual((Object) vector0);\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertNotNull(predicate0);\n assertFalse(vector0.contains(string0));\n \n Integer integer0 = new Integer(0);\n assertEquals(0, (int)integer0);\n assertNotNull(integer0);\n assertFalse(integer0.equals((Object)int0));\n \n boolean boolean0 = predicate0.test(integer0);\n assertFalse(boolean0);\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertFalse(vector0.contains(string0));\n assertFalse(integer0.equals((Object)int0));\n \n String string1 = resultMatrixLatex0.colNameWidthTipText();\n assertEquals(\"The maximum width of the column names (0 = optimal).\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n Predicate<Object> predicate1 = null;\n // Undeclared exception!\n try { \n predicate0.or((Predicate<? super Object>) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.util.Objects\", e);\n }\n }", "title": "" }, { "docid": "711f68297ce8190165902ee49cd93f2a", "score": "0.5831284", "text": "@Test(timeout = 4000)\n public void test052() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n \n String string0 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertNotNull(string0);\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n \n boolean boolean1 = resultMatrixSignificance0.isAverage(0);\n assertFalse(boolean1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(boolean1 == boolean0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertNotNull(resultMatrixGnuPlot0);\n \n String string1 = resultMatrixGnuPlot0.getColName((-1107));\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertNull(string1);\n \n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n \n String string2 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertNotNull(string2);\n assertFalse(string2.equals((Object)string0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixGnuPlot0.setMeanPrec((-1));\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n Predicate<Object> predicate0 = Predicate.isEqual((Object) null);\n assertNotNull(predicate0);\n \n Predicate<Object> predicate1 = Predicate.isEqual((Object) \"0.\");\n assertNotNull(predicate1);\n assertFalse(predicate1.equals((Object)predicate0));\n \n Object object1 = new Object();\n assertNotNull(object1);\n assertFalse(object1.equals((Object)object0));\n \n Predicate<Object> predicate2 = Predicate.isEqual((Object) resultMatrixGnuPlot0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertNotNull(predicate2);\n assertNotSame(predicate2, predicate1);\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n \n String string3 = resultMatrixSignificance0.doubleToString(0, 0);\n assertEquals(\"0.\", string3);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertNotNull(string3);\n assertFalse(string3.equals((Object)string2));\n assertTrue(string3.equals((Object)string0));\n \n boolean boolean2 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(boolean2 == boolean1);\n assertTrue(boolean2 == boolean0);\n \n boolean boolean3 = resultMatrixCSV0.getDefaultEnumerateColNames();\n assertTrue(boolean3);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(boolean3 == boolean2);\n assertFalse(boolean3 == boolean1);\n assertFalse(boolean3 == boolean0);\n \n boolean boolean4 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean4);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(boolean4 == boolean1);\n assertTrue(boolean4 == boolean0);\n assertFalse(boolean4 == boolean3);\n assertTrue(boolean4 == boolean2);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = null;\n try {\n resultMatrixGnuPlot1 = new ResultMatrixGnuPlot(1, (-3638));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "8ea1f18209c6dcef67913715bd203b78", "score": "0.58311373", "text": "@Test(timeout = 4000)\n public void test137() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.globalInfo();\n resultMatrixSignificance0.getDefaultMeanPrec();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n int[] intArray0 = new int[1];\n int[][] intArray1 = new int[9][7];\n String string0 = resultMatrixGnuPlot0.getRowName(0);\n assertEquals(\"row0\", string0);\n \n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[2] = intArray0;\n resultMatrixSignificance0.m_CountWidth = 32;\n intArray1[3] = intArray0;\n intArray1[4] = intArray0;\n intArray1[5] = intArray0;\n resultMatrixLatex0.m_RankingWins = intArray0;\n intArray1[6] = intArray0;\n intArray1[7] = intArray0;\n intArray1[8] = intArray0;\n resultMatrixGnuPlot0.setSummary(intArray1, intArray1);\n intArray0[0] = 0;\n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n \n Object object0 = new Object();\n Predicate<Object> predicate0 = Predicate.isEqual((Object) intArray0);\n Object object1 = new Object();\n Predicate<Object> predicate1 = Predicate.isEqual((Object) intArray0);\n Predicate<Object> predicate2 = predicate0.and(predicate1);\n Predicate<Object> predicate3 = predicate2.or(predicate1);\n Predicate<Object> predicate4 = predicate1.or(predicate2);\n Predicate<Object> predicate5 = predicate0.and(predicate4);\n predicate4.or(predicate5);\n predicate0.negate();\n Vector<Integer> vector0 = new Vector<Integer>();\n vector0.removeIf(predicate3);\n resultMatrixSignificance0.setCount((-1585), 0.0);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n \n resultMatrixLatex0.toArray();\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n }", "title": "" }, { "docid": "17a5945fc280cb93a9c58687686d99a8", "score": "0.5830529", "text": "@Test(timeout = 4000)\n public void test057() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n \n String string0 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertNotNull(string0);\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n \n boolean boolean1 = resultMatrixSignificance0.isAverage(0);\n assertFalse(boolean1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertTrue(boolean1 == boolean0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(resultMatrixGnuPlot0);\n \n String string1 = resultMatrixGnuPlot0.getColName((-1107));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNull(string1);\n \n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n \n String string2 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(string2);\n assertFalse(string2.equals((Object)string0));\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertNotNull(resultMatrixCSV0);\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n Predicate<Object> predicate0 = Predicate.isEqual((Object) null);\n assertNotNull(predicate0);\n \n Predicate<Object> predicate1 = Predicate.isEqual((Object) \"0.\");\n assertNotNull(predicate1);\n assertFalse(predicate1.equals((Object)predicate0));\n \n Object object1 = new Object();\n assertNotNull(object1);\n assertFalse(object1.equals((Object)object0));\n \n Predicate<Object> predicate2 = Predicate.isEqual((Object) resultMatrixGnuPlot0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate2);\n assertNotSame(predicate2, predicate1);\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n \n Predicate<Object> predicate3 = predicate0.and(predicate2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate3);\n assertNotSame(predicate2, predicate1);\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n \n Predicate<Object> predicate4 = predicate0.or(predicate2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate4);\n assertNotSame(predicate2, predicate1);\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate3));\n \n Predicate<Object> predicate5 = predicate4.and(predicate3);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate5);\n assertNotSame(predicate3, predicate5);\n assertNotSame(predicate5, predicate3);\n assertNotSame(predicate2, predicate1);\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate4));\n \n Predicate<Object> predicate6 = Predicate.isEqual((Object) predicate2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate6);\n assertNotSame(predicate6, predicate1);\n assertNotSame(predicate6, predicate2);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate6);\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate4));\n \n Predicate<Object> predicate7 = predicate5.or(predicate1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate7);\n assertNotSame(predicate3, predicate5);\n assertNotSame(predicate4, predicate7);\n assertNotSame(predicate5, predicate3);\n assertNotSame(predicate7, predicate4);\n assertNotSame(predicate1, predicate2);\n assertNotSame(predicate1, predicate6);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate6);\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate3.equals((Object)predicate5));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate6));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate5));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate4.equals((Object)predicate6));\n assertFalse(predicate5.equals((Object)predicate6));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate7.equals((Object)predicate2));\n assertFalse(predicate7.equals((Object)predicate6));\n assertFalse(predicate7.equals((Object)predicate1));\n assertFalse(predicate7.equals((Object)predicate4));\n assertFalse(predicate7.equals((Object)predicate5));\n assertFalse(predicate7.equals((Object)predicate0));\n assertFalse(predicate7.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate4));\n \n Predicate<Object> predicate8 = predicate3.negate();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertNotNull(predicate8);\n assertNotSame(predicate3, predicate5);\n assertNotSame(predicate2, predicate1);\n assertNotSame(predicate2, predicate6);\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate3.equals((Object)predicate7));\n assertFalse(predicate3.equals((Object)predicate5));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate6));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate8.equals((Object)predicate6));\n assertFalse(predicate8.equals((Object)predicate1));\n assertFalse(predicate8.equals((Object)predicate4));\n assertFalse(predicate8.equals((Object)predicate0));\n assertFalse(predicate8.equals((Object)predicate5));\n assertFalse(predicate8.equals((Object)predicate2));\n assertFalse(predicate8.equals((Object)predicate3));\n assertFalse(predicate8.equals((Object)predicate7));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate7));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate4));\n \n Vector<Integer> vector0 = new Vector<Integer>();\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n assertFalse(vector0.contains(0));\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertNotNull(resultMatrixHTML0);\n \n boolean boolean2 = resultMatrixHTML0.getDefaultPrintColNames();\n assertFalse(boolean2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(boolean2 == boolean1);\n assertTrue(boolean2 == boolean0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixHTML0.addHeader((String) null, \"*\");\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n \n String string3 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string3);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertNotNull(string3);\n assertFalse(string3.equals((Object)string2));\n assertFalse(string3.equals((Object)string0));\n \n String string4 = resultMatrixHTML0.getDisplayName();\n assertEquals(\"HTML\", string4);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertNotNull(string4);\n assertFalse(string4.equals((Object)string2));\n assertFalse(string4.equals((Object)string0));\n assertFalse(string4.equals((Object)string3));\n \n int int0 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertEquals(25, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n \n String string5 = resultMatrixLatex0.globalInfo();\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", string5);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertNotNull(string5);\n assertFalse(string5.equals((Object)string4));\n assertFalse(string5.equals((Object)string0));\n assertFalse(string5.equals((Object)string2));\n assertFalse(string5.equals((Object)string3));\n }", "title": "" }, { "docid": "3b3cd9b4310ee89e90c698faa2fa0c1f", "score": "0.58297604", "text": "@Test(timeout = 4000)\n public void test046() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setStdDevWidth(1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n \n resultMatrixSignificance0.m_EnumerateRowNames = true;\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n \n String string0 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertNotNull(string0);\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultPrintColNames();\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n \n int int0 = resultMatrixSignificance0.getVisibleColCount();\n assertEquals(1, int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertNotNull(resultMatrixLatex0);\n \n String string1 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixLatex0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n String string2 = resultMatrixSignificance1.getColName(2148);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertNull(string2);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixLatex0.setRowName(1, (String) null);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n \n resultMatrixLatex0.assign(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean1 = resultMatrixLatex0.isStdDev(1);\n assertFalse(boolean1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(boolean1 == boolean0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 102);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(102, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(102, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertNotNull(resultMatrixHTML0);\n \n int int1 = resultMatrixHTML0.getSignificance((-2236), 0);\n assertEquals(0, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(102, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(102, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(int1 == int0);\n }", "title": "" }, { "docid": "7dd7b7284e1c2a7d7b773fbabf76a0a4", "score": "0.58287257", "text": "@Test(timeout = 4000)\n public void test008() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertNotNull(string0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[1];\n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertNotNull(resultMatrixGnuPlot1);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n int[][] intArray1 = new int[6][0];\n intArray1[5] = intArray0;\n intArray1[1] = intArray1[0];\n intArray1[2] = intArray1[1];\n intArray1[3] = intArray0;\n intArray1[4] = intArray0;\n intArray1[5] = intArray0;\n resultMatrixGnuPlot1.setSummary(intArray1, intArray1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(6, intArray1.length);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n \n ResultMatrixGnuPlot resultMatrixGnuPlot2 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot2.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot2.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot2.getMeanPrec());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot2.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot2.getRowCount());\n assertFalse(resultMatrixGnuPlot2.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot2.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot2.printRowNamesTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot2.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot2.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot2.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot2.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot2.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot2.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot2.showAverageTipText());\n assertFalse(resultMatrixGnuPlot2.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot2.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot2.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot2.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot2.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot2.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot2.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot2.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot2.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot2.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot2.enumerateColNamesTipText());\n assertTrue(resultMatrixGnuPlot2.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot2.getColCount());\n assertEquals(50, resultMatrixGnuPlot2.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot2.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot2.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot2.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot2.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot2.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot2.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot2.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot2.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot2.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot2.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot2.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot2.getEnumerateColNames());\n assertNotNull(resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot2.equals((Object)resultMatrixGnuPlot0));\n \n String string1 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertNotNull(string1);\n assertNotSame(resultMatrixGnuPlot0, resultMatrixGnuPlot1);\n assertNotSame(resultMatrixGnuPlot0, resultMatrixGnuPlot2);\n assertFalse(resultMatrixGnuPlot0.equals((Object)resultMatrixGnuPlot1));\n assertFalse(resultMatrixGnuPlot0.equals((Object)resultMatrixGnuPlot2));\n assertFalse(string1.equals((Object)string0));\n \n resultMatrixLatex0.setRowOrder(intArray0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(1, intArray0.length);\n assertArrayEquals(new int[] {0}, intArray0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixCSV0.setSummary(intArray1, intArray1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(6, intArray1.length);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertNotNull(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n resultMatrixLatex1.setEnumerateColNames(true);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n boolean boolean0 = resultMatrixLatex0.isAverage(32);\n assertFalse(boolean0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n \n int int0 = resultMatrixLatex1.getSignificance(0, 0);\n assertEquals(0, int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n \n ResultMatrixLatex resultMatrixLatex2 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertNotNull(resultMatrixLatex2);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n \n String string2 = resultMatrixLatex0.meanWidthTipText();\n assertEquals(\"The width of the mean (0 = optimal).\", string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotNull(string2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n \n resultMatrixLatex2.setColOrder(intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex2.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex2.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex2.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex2.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex2.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex2.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex2.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex2.getShowStdDev());\n assertEquals(0, resultMatrixLatex2.getSignificanceWidth());\n assertFalse(resultMatrixLatex2.getPrintColNames());\n assertTrue(resultMatrixLatex2.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex2.getDisplayName());\n assertEquals(1, resultMatrixLatex2.getColCount());\n assertEquals(0, resultMatrixLatex2.getCountWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleColCount());\n assertEquals(0, resultMatrixLatex2.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex2.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex2.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex2.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex2.globalInfo());\n assertTrue(resultMatrixLatex2.getPrintRowNames());\n assertEquals(2, resultMatrixLatex2.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex2.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex2.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex2.getVisibleRowCount());\n assertFalse(resultMatrixLatex2.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex2.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex2.meanPrecTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex2.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex2.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex2.rowNameWidthTipText());\n assertFalse(resultMatrixLatex2.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex2.getMeanPrec());\n assertFalse(resultMatrixLatex2.getRemoveFilterName());\n assertFalse(resultMatrixLatex2.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex2.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex2.getRowCount());\n assertEquals(0, resultMatrixLatex2.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex2.getColNameWidth());\n assertEquals(0, resultMatrixLatex2.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex2.showAverageTipText());\n assertEquals(0, resultMatrixLatex2.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex2.getShowAverage());\n assertTrue(resultMatrixLatex2.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex2.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex2.getRowNameWidth());\n assertEquals(1, intArray0.length);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex2, resultMatrixLatex1);\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex2.equals((Object)resultMatrixLatex1));\n assertArrayEquals(new int[] {0}, intArray0);\n \n int int1 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertEquals(25, int1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(int1 == int0);\n \n resultMatrixLatex1.setRowHidden(1635, true);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex2);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex2));\n \n double double0 = resultMatrixLatex1.getStdDev(1, 25);\n assertEquals(0.0, double0, 0.01);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex2);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex2));\n \n boolean boolean1 = resultMatrixCSV0.getColHidden(0);\n assertFalse(boolean1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotSame(resultMatrixLatex0, resultMatrixLatex2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex2));\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertTrue(boolean1 == boolean0);\n \n ResultMatrixHTML resultMatrixHTML0 = null;\n try {\n resultMatrixHTML0 = new ResultMatrixHTML((-711), 0);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "dc74f0e05f94557cb1e7eede9e12dece", "score": "0.5827992", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n Discretize discretize0 = new Discretize(\"\");\n int[] intArray0 = new int[4];\n intArray0[0] = 0;\n discretize0.getBinRangesString(1520);\n intArray0[1] = (-394);\n boolean boolean0 = false;\n discretize0.setUseBinNumbers(false);\n intArray0[2] = 0;\n intArray0[3] = (-3211);\n discretize0.setOutputFormat();\n discretize0.setAttributeIndicesArray(intArray0);\n discretize0.getUseEqualFrequency();\n // Undeclared exception!\n try { \n discretize0.setAttributeIndices((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.core.Range\", e);\n }\n }", "title": "" }, { "docid": "cf5808b7c7ca93b3d6731401d98381ad", "score": "0.5826691", "text": "@Test(timeout = 4000)\n public void test10() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setSeed(1369L);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n String[] stringArray0 = new String[1];\n stringArray0[0] = \"Ypm8Q_^]rEG<i!3z?\";\n AbstractClassifier.runClassifier(jRip0, stringArray0);\n jRip_RipperRule0.setConsequent(0.9);\n jRip_RipperRule0.size();\n jRip_RipperRule0.setConsequent(2854.1119);\n assertEquals(1369L, jRip0.getSeed());\n assertEquals(3, jRip0.getFolds());\n }", "title": "" }, { "docid": "ede8da0c207f5bc2eb3c5408b3c222b6", "score": "0.5819792", "text": "@Test(timeout = 4000)\n public void test078() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.clearSummary();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n resultMatrixSignificance0.m_RemoveFilterName = false;\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n resultMatrixSignificance0.clear();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(1, 627);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(627, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(627, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixLatex0.assign(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n \n boolean boolean0 = resultMatrixLatex0.isStdDev(0);\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertNotNull(resultMatrixHTML0);\n \n int int0 = resultMatrixHTML0.getSignificance(627, 110);\n assertEquals(0, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n }", "title": "" }, { "docid": "be47d15a219437b6f2e79e3f66a67b43", "score": "0.58132774", "text": "@Test(timeout = 4000)\n public void test045() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertNotNull(string0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(4, 1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(4, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(4, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertNotNull(resultMatrixGnuPlot0);\n \n boolean boolean0 = resultMatrixGnuPlot0.isRowName((-532));\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(4, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(4, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertNotNull(resultMatrixPlainText0);\n \n String string1 = resultMatrixPlainText0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertNotNull(resultMatrixLatex0);\n \n Vector<Integer> vector0 = new Vector<Integer>();\n assertEquals(0, vector0.size());\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n assertFalse(vector0.contains(4));\n \n vector0.ensureCapacity(1956);\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(1956, vector0.capacity());\n assertFalse(vector0.contains(4));\n \n String string2 = resultMatrixLatex0.toStringKey();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertNotNull(string2);\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n \n resultMatrixPlainText0.setRowName(642, \"</td>\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertNotNull(resultMatrixCSV0);\n \n String string3 = resultMatrixCSV0.getRevision();\n assertEquals(\"8034\", string3);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertNotNull(string3);\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string2));\n assertFalse(string3.equals((Object)string1));\n \n int[] intArray0 = resultMatrixCSV0.getColOrder();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertNull(intArray0);\n }", "title": "" }, { "docid": "643b64a782d8cb1bf11b398f7688e5ca", "score": "0.58132464", "text": "@Test(timeout = 4000)\n public void test28() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"]Ale-:gak\", 5);\n attribute0.addStringValue(\"\");\n String string0 = jRip0.getRevision();\n assertEquals(\"8118\", string0);\n \n int int0 = jRip0.getOptimizations();\n assertEquals(2, int0);\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "58e9dd28c1545f541fa8cf889992aa28", "score": "0.58082354", "text": "@org.junit.Test(timeout = 10000)\n public void testComputeCount_cf11699_failAssert10_literalMutation12093_failAssert4() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // AssertGenerator generate try/catch block with fail statement\n try {\n com.clearspring.analytics.stream.cardinality.HyperLogLogPlus hyperLogLogPlus = new com.clearspring.analytics.stream.cardinality.HyperLogLogPlus(14, 12);\n int count = 70000;\n for (int i = 0; i < count; i++) {\n hyperLogLogPlus.offer((\"i\" + i));\n }\n long estimate = hyperLogLogPlus.cardinality();\n double se = count * (1.04 / (java.lang.Math.sqrt(java.lang.Math.pow(2, 14))));\n long expectedCardinality = count;\n java.lang.System.out.println((((((\"Expect estimate: \" + estimate) + \" is between \") + (expectedCardinality - (3 * se))) + \" and \") + (expectedCardinality + (3 * se))));\n // MethodAssertGenerator build local variable\n Object o_16_0 = estimate >= (expectedCardinality - (3 * se));\n // StatementAdderOnAssert create random local variable\n java.lang.Object vc_177 = new java.lang.Object();\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.cardinality.HyperLogLog vc_174 = (com.clearspring.analytics.stream.cardinality.HyperLogLog)null;\n // StatementAdderMethod cloned existing statement\n vc_174.offer(vc_177);\n // MethodAssertGenerator build local variable\n Object o_23_0 = estimate <= (expectedCardinality + (3 * se));\n org.junit.Assert.fail(\"testComputeCount_cf11699 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n org.junit.Assert.fail(\"testComputeCount_cf11699_failAssert10_literalMutation12093 should have thrown IllegalArgumentException\");\n } catch (java.lang.IllegalArgumentException eee) {\n }\n }", "title": "" }, { "docid": "c5a737978b74f7b0bc39769446be8ce9", "score": "0.58061796", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n JRip jRip0 = new JRip();\n Utils.log2 = 0.0;\n jRip0.setFolds((-1241));\n jRip0.setFolds((-2398));\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.setConsequent(820.771);\n jRip_RipperRule0.copy();\n jRip_RipperRule0.getConsequent();\n jRip0.getCheckErrorRate();\n JRip jRip1 = new JRip();\n String string0 = \"yP&;aT 4@%e.E>,>\";\n CoverTree coverTree0 = new CoverTree();\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(0);\n BinarySparseInstance binarySparseInstance1 = new BinarySparseInstance((SparseInstance) binarySparseInstance0);\n binarySparseInstance1.toString(0, 0);\n try { \n coverTree0.kNearestNeighbours(binarySparseInstance1, 2);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "1939a005f866bf989a4836de810be16b", "score": "0.58060306", "text": "public void testStatisticComputeNullHypothesisProbability()\n {\n System.out.println(\"Statistic.computeNullHypothesisProbability\");\n \n System.out.println( \"This is checked in testEvaluateNullHypothesis()\" );\n\n }", "title": "" }, { "docid": "668c0769e9deea84f5b3913388db01b0", "score": "0.5805491", "text": "@Test\n public void test2() {\n int count = 100;\n int advance = 20;\n RNStreamFactory rm = new RNStreamFactory();\n rm.advanceSeeds(advance);\n RNStreamIfc rng = rm.getStream();\n double sum = 0.0;\n for (int i = 1; i <= count; i++) {\n sum = sum + rng.randU01();\n }\n\n System.out.println(\"-----------------------------------------------------\");\n System.out.println(\"This test program should print the number 55.445704270784404 \\n\");\n System.out.println(\"Actual test result = \" + sum + \"\\n\");\n assertTrue(sum == 55.445704270784404);\n\n }", "title": "" }, { "docid": "aa8c8c448c4de15d6bf5319c4f049039", "score": "0.58027214", "text": "@Test(timeout = 4000)\n public void test25() throws Throwable {\n Attribute attribute0 = new Attribute(\"]Ale-:gak\", 5);\n attribute0.addStringValue(\"\");\n JRip jRip0 = new JRip();\n long long0 = jRip0.getSeed();\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, long0);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "84ce02544df91e977f810389b87e77f8", "score": "0.58026105", "text": "@Test(timeout = 4000)\n public void test087() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertNotNull(resultMatrixSignificance0);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getDefaultMeanPrec();\n assertEquals(2, int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertNotNull(resultMatrixLatex0);\n \n int[] intArray0 = new int[1];\n int[][] intArray1 = new int[9][7];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[3] = intArray0;\n intArray1[4] = intArray0;\n Predicate<Object> predicate0 = Predicate.isEqual((Object) \"Only outputs the significance indicators. Can be used for spotting patterns.\");\n assertNotNull(predicate0);\n \n resultMatrixSignificance0.m_SignificanceWidth = 0;\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n \n Predicate<Object> predicate1 = Predicate.isEqual((Object) intArray1[2]);\n assertNotNull(predicate1);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate1.equals((Object)predicate0));\n \n Predicate<Object> predicate2 = predicate1.or(predicate0);\n assertNotNull(predicate2);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate1));\n \n Predicate<Object> predicate3 = predicate1.and(predicate2);\n assertNotNull(predicate3);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate2));\n \n Predicate<Object> predicate4 = predicate1.and(predicate0);\n assertNotNull(predicate4);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate4, predicate3);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate3));\n \n Predicate<Object> predicate5 = predicate4.or(predicate2);\n assertNotNull(predicate5);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate4, predicate3);\n assertNotSame(predicate5, predicate2);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertNotSame(predicate2, predicate5);\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate5.equals((Object)predicate4));\n assertFalse(predicate5.equals((Object)predicate3));\n assertFalse(predicate5.equals((Object)predicate0));\n assertFalse(predicate5.equals((Object)predicate2));\n assertFalse(predicate5.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate3));\n \n Predicate<Object> predicate6 = predicate4.and(predicate1);\n assertNotNull(predicate6);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate4, predicate3);\n assertNotSame(predicate4, predicate6);\n assertNotSame(predicate6, predicate3);\n assertNotSame(predicate6, predicate4);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate5));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate3));\n \n Predicate<Object> predicate7 = predicate1.negate();\n assertNotNull(predicate7);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate1, predicate0);\n assertFalse(predicate7.equals((Object)predicate0));\n assertFalse(predicate7.equals((Object)predicate2));\n assertFalse(predicate7.equals((Object)predicate5));\n assertFalse(predicate7.equals((Object)predicate3));\n assertFalse(predicate7.equals((Object)predicate6));\n assertFalse(predicate7.equals((Object)predicate4));\n assertFalse(predicate7.equals((Object)predicate1));\n assertFalse(predicate1.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate3));\n \n Predicate<Object> predicate8 = predicate3.or(predicate6);\n assertNotNull(predicate8);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate4, predicate3);\n assertNotSame(predicate4, predicate6);\n assertNotSame(predicate6, predicate3);\n assertNotSame(predicate6, predicate4);\n assertNotSame(predicate8, predicate5);\n assertNotSame(predicate8, predicate2);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertNotSame(predicate2, predicate8);\n assertNotSame(predicate2, predicate5);\n assertNotSame(predicate3, predicate4);\n assertNotSame(predicate3, predicate6);\n assertFalse(predicate4.equals((Object)predicate3));\n assertFalse(predicate4.equals((Object)predicate0));\n assertFalse(predicate4.equals((Object)predicate5));\n assertFalse(predicate4.equals((Object)predicate2));\n assertFalse(predicate4.equals((Object)predicate6));\n assertFalse(predicate4.equals((Object)predicate1));\n assertFalse(predicate4.equals((Object)predicate7));\n assertFalse(predicate6.equals((Object)predicate7));\n assertFalse(predicate6.equals((Object)predicate3));\n assertFalse(predicate6.equals((Object)predicate1));\n assertFalse(predicate6.equals((Object)predicate4));\n assertFalse(predicate6.equals((Object)predicate0));\n assertFalse(predicate6.equals((Object)predicate2));\n assertFalse(predicate6.equals((Object)predicate5));\n assertFalse(predicate8.equals((Object)predicate5));\n assertFalse(predicate8.equals((Object)predicate7));\n assertFalse(predicate8.equals((Object)predicate3));\n assertFalse(predicate8.equals((Object)predicate1));\n assertFalse(predicate8.equals((Object)predicate4));\n assertFalse(predicate8.equals((Object)predicate0));\n assertFalse(predicate8.equals((Object)predicate2));\n assertFalse(predicate8.equals((Object)predicate6));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate7));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate3));\n assertFalse(predicate3.equals((Object)predicate7));\n assertFalse(predicate3.equals((Object)predicate1));\n assertFalse(predicate3.equals((Object)predicate4));\n assertFalse(predicate3.equals((Object)predicate0));\n assertFalse(predicate3.equals((Object)predicate5));\n assertFalse(predicate3.equals((Object)predicate2));\n assertFalse(predicate3.equals((Object)predicate6));\n \n Predicate<Object> predicate9 = predicate2.negate();\n assertNotNull(predicate9);\n assertEquals(9, intArray1.length);\n assertNotSame(predicate9, predicate7);\n assertNotSame(predicate0, predicate1);\n assertNotSame(predicate1, predicate0);\n assertNotSame(predicate2, predicate8);\n assertNotSame(predicate2, predicate5);\n assertFalse(predicate9.equals((Object)predicate4));\n assertFalse(predicate9.equals((Object)predicate2));\n assertFalse(predicate9.equals((Object)predicate8));\n assertFalse(predicate9.equals((Object)predicate6));\n assertFalse(predicate9.equals((Object)predicate7));\n assertFalse(predicate9.equals((Object)predicate0));\n assertFalse(predicate9.equals((Object)predicate1));\n assertFalse(predicate9.equals((Object)predicate5));\n assertFalse(predicate9.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate5));\n assertFalse(predicate0.equals((Object)predicate4));\n assertFalse(predicate0.equals((Object)predicate8));\n assertFalse(predicate0.equals((Object)predicate2));\n assertFalse(predicate0.equals((Object)predicate1));\n assertFalse(predicate0.equals((Object)predicate3));\n assertFalse(predicate0.equals((Object)predicate7));\n assertFalse(predicate0.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate6));\n assertFalse(predicate1.equals((Object)predicate8));\n assertFalse(predicate1.equals((Object)predicate2));\n assertFalse(predicate1.equals((Object)predicate5));\n assertFalse(predicate1.equals((Object)predicate0));\n assertFalse(predicate1.equals((Object)predicate4));\n assertFalse(predicate1.equals((Object)predicate3));\n assertFalse(predicate1.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate4));\n assertFalse(predicate2.equals((Object)predicate8));\n assertFalse(predicate2.equals((Object)predicate6));\n assertFalse(predicate2.equals((Object)predicate7));\n assertFalse(predicate2.equals((Object)predicate0));\n assertFalse(predicate2.equals((Object)predicate1));\n assertFalse(predicate2.equals((Object)predicate5));\n assertFalse(predicate2.equals((Object)predicate3));\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixGnuPlot0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n resultMatrixSignificance1.setCount(0, 1.0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n \n ResultMatrixLatex resultMatrixLatex1 = null;\n try {\n resultMatrixLatex1 = new ResultMatrixLatex(1, (-130));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "087e7886e0425f91287349233852fe66", "score": "0.5798842", "text": "@Test(timeout = 4000)\n public void test57() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(70, 5);\n resultMatrixSignificance0.toStringRanking();\n String string0 = resultMatrixSignificance0.getSummaryTitle(37);\n assertEquals(\"l\", string0);\n \n resultMatrixSignificance0.getDisplayName();\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(5, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n }", "title": "" }, { "docid": "e917c58e2d7e41999a6e89912d0f3b71", "score": "0.5793753", "text": "@Test(timeout = 4000)\n public void test36() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(54, 54);\n resultMatrixGnuPlot0.getVisibleRowCount();\n int int0 = ResultMatrix.SIGNIFICANCE_TIE;\n resultMatrixGnuPlot0.isStdDev(54);\n String[] stringArray0 = new String[7];\n stringArray0[0] = \" \";\n stringArray0[1] = \"\";\n stringArray0[2] = \"\";\n stringArray0[3] = \"\";\n stringArray0[4] = \"v\";\n stringArray0[5] = \"*\";\n stringArray0[6] = \"v\";\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.setColName(30, \"*\");\n int int1 = 582;\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(582, 4185);\n }", "title": "" }, { "docid": "c0a58c0fc48a064a499be3a9e483b487", "score": "0.57929564", "text": "@Test(timeout = 4000)\n public void test146() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.clearSummary();\n boolean boolean0 = false;\n resultMatrixSignificance0.m_RemoveFilterName = false;\n resultMatrixSignificance0.clear();\n resultMatrixSignificance0.stdDevWidthTipText();\n resultMatrixSignificance0.showStdDevTipText();\n resultMatrixSignificance0.clearRanking();\n resultMatrixSignificance0.setShowAverage(true);\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(2, 2);\n resultMatrixSignificance1.setMean(1, 869, 869);\n resultMatrixSignificance0.getDefaultStdDevPrec();\n resultMatrixSignificance0.getDefaultRemoveFilterName();\n resultMatrixSignificance1.stdDevWidthTipText();\n resultMatrixSignificance1.setColHidden(2, false);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = null;\n try {\n resultMatrixGnuPlot0 = new ResultMatrixGnuPlot((-2061), (-990));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "915a7ba5ed81484928ac913271f24143", "score": "0.57893604", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.toString();\n assertEquals(\"JRIP: No model built yet.\", string0);\n \n String[] stringArray0 = new String[8];\n stringArray0[0] = \"JRIP: No model built yet.\";\n stringArray0[1] = \"JRIP: No model built yet.\";\n stringArray0[2] = \"JRIP: No model built yet.\";\n stringArray0[3] = \"JRIP: No model built yet.\";\n stringArray0[4] = \"JRIP: No model built yet.\";\n LinkedList<String> linkedList0 = new LinkedList<String>();\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n double[] doubleArray0 = new double[9];\n doubleArray0[0] = 537.63303;\n doubleArray0[1] = 537.63303;\n doubleArray0[2] = (-2276.33660783979);\n doubleArray0[3] = 537.63303;\n doubleArray0[4] = 537.63303;\n doubleArray0[6] = 537.63303;\n doubleArray0[7] = 537.63303;\n doubleArray0[8] = 537.63303;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(537.63303, doubleArray0);\n Attribute attribute0 = new Attribute(\"\", \"\", protectedProperties0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n boolean boolean0 = jRip_NumericAntd0.covers(binarySparseInstance0);\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertTrue(boolean0);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n }", "title": "" } ]
1e671aa2d06b8114e209c50b3be9285a
repeated .proto.ItemVoProto items = 1;
[ { "docid": "c0347b571078a3f24af4afb1641d64be", "score": "0.60033995", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto getItems(int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index);\n } else {\n return itemsBuilder_.getMessage(index);\n }\n }", "title": "" } ]
[ { "docid": "62311064b5612b8b2e90c4f496f55b10", "score": "0.7360235", "text": "com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto getItems(int index);", "title": "" }, { "docid": "62311064b5612b8b2e90c4f496f55b10", "score": "0.7360235", "text": "com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto getItems(int index);", "title": "" }, { "docid": "71150944d16f6ed9507ce783af0de2c9", "score": "0.7082899", "text": "java.util.List<? extends com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "71150944d16f6ed9507ce783af0de2c9", "score": "0.7082899", "text": "java.util.List<? extends com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "90eb95c24ba3af6429fe6541f309bded", "score": "0.6822951", "text": "java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto> \n getItemsList();", "title": "" }, { "docid": "90eb95c24ba3af6429fe6541f309bded", "score": "0.6822951", "text": "java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto> \n getItemsList();", "title": "" }, { "docid": "31a533d9c9c496d205eb303b7e53effc", "score": "0.6772934", "text": "java.util.List<? extends com.game.proto.Common.ItemOrBuilder> \n getItemListOrBuilderList();", "title": "" }, { "docid": "68146fdd9b0373f964edf43da3df788b", "score": "0.67355424", "text": "java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "68146fdd9b0373f964edf43da3df788b", "score": "0.67355424", "text": "java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "e1e40bf001392b8ec6ab17aba1a7b48d", "score": "0.6580814", "text": "com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder getItemsOrBuilder(\n int index);", "title": "" }, { "docid": "e1e40bf001392b8ec6ab17aba1a7b48d", "score": "0.6580814", "text": "com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder getItemsOrBuilder(\n int index);", "title": "" }, { "docid": "8df2e7ef4bab64fcf6636736a6302b2f", "score": "0.6579173", "text": "java.util.List<? extends com.hawk.game.protocol.Item.ItemSellOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "b315e22362879ad8cfd3b2a0775009d4", "score": "0.653653", "text": "java.util.List<? extends com.nkm.framework.resource.data.Mg42Bytes.MG42OrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "4982dde9328adea0a00c46e5b679301d", "score": "0.6461309", "text": "public java.util.List<? extends com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }", "title": "" }, { "docid": "4982dde9328adea0a00c46e5b679301d", "score": "0.6461309", "text": "public java.util.List<? extends com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }", "title": "" }, { "docid": "99e6ae9475bc8fa8206dea3c2de9a30a", "score": "0.6331912", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n return itemsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "99e6ae9475bc8fa8206dea3c2de9a30a", "score": "0.6331912", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n return itemsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "ed9180094a6c75fb2fe5b827ec509891", "score": "0.6290518", "text": "java.util.List<? extends com.sunego.commerce.grpc.study.dto.PersonOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "068ddcf3e02b969e4d562f1f10a1fd17", "score": "0.6226182", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder getItemsOrBuilder(\n int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "068ddcf3e02b969e4d562f1f10a1fd17", "score": "0.6226182", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder getItemsOrBuilder(\n int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "8f89132ec736590b41660509f31d9986", "score": "0.6216352", "text": "java.util.List<? extends com.clarifai.grpc.api.RunnerItemOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "917db5de2dfa1c14a10b0f933a351e07", "score": "0.61936045", "text": "public java.util.List<? extends com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }", "title": "" }, { "docid": "917db5de2dfa1c14a10b0f933a351e07", "score": "0.61936045", "text": "public java.util.List<? extends com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProtoOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }", "title": "" }, { "docid": "ff3477d826161576c60eaadad06f0178", "score": "0.6193316", "text": "java.util.List<sigma.software.leovegas.drugstore.api.protobuf.Proto.Item> \n getItemsList();", "title": "" }, { "docid": "ff3477d826161576c60eaadad06f0178", "score": "0.6193316", "text": "java.util.List<sigma.software.leovegas.drugstore.api.protobuf.Proto.Item> \n getItemsList();", "title": "" }, { "docid": "5ea403fa8855264c100eb8c6eb1a61ed", "score": "0.6188979", "text": "sigma.software.leovegas.drugstore.api.protobuf.Proto.Item getItems(int index);", "title": "" }, { "docid": "5ea403fa8855264c100eb8c6eb1a61ed", "score": "0.6188979", "text": "sigma.software.leovegas.drugstore.api.protobuf.Proto.Item getItems(int index);", "title": "" }, { "docid": "4218ba0059c1cae220c016b9c732b68c", "score": "0.6159183", "text": "java.util.List<? extends nhl.containing.networking.protobuf.SimulationItemProto.SimulationItemOrBuilder> \n getItemsOrBuilderList();", "title": "" }, { "docid": "2553bc9e2d9b56c4a21b63a15789dabe", "score": "0.6098596", "text": "private ItemProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "b43f4fe40bd7a35e8702de2e9b21d1d7", "score": "0.60983783", "text": "public java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto> getItemsList() {\n return items_;\n }", "title": "" }, { "docid": "b43f4fe40bd7a35e8702de2e9b21d1d7", "score": "0.60983783", "text": "public java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto> getItemsList() {\n return items_;\n }", "title": "" }, { "docid": "7a3f7846822da516ff9b1a8613546f2c", "score": "0.5979946", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto getItems(int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "7a3f7846822da516ff9b1a8613546f2c", "score": "0.5979946", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto getItems(int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "28fbb641e9fc03d44755b80025dfee85", "score": "0.5955443", "text": "bowerbird.gpb.BowerbirdMessageProtocolGPB.ItemFieldOrBuilder getFieldOrBuilder();", "title": "" }, { "docid": "ee5c64bb75eb0b25c67bcaad95c4cb8c", "score": "0.595051", "text": "public java.util.List<? extends com.nkm.framework.resource.data.Mg42Bytes.MG42OrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }", "title": "" }, { "docid": "7d964f324409ee8bf6b5caefe68cff2c", "score": "0.5947487", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto.Builder addItemsBuilder() {\n return getItemsFieldBuilder().addBuilder(\n com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto.getDefaultInstance());\n }", "title": "" }, { "docid": "7d964f324409ee8bf6b5caefe68cff2c", "score": "0.5947487", "text": "public com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto.Builder addItemsBuilder() {\n return getItemsFieldBuilder().addBuilder(\n com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto.getDefaultInstance());\n }", "title": "" }, { "docid": "5dddf1c96dd22d650c11f90c20ad318e", "score": "0.5935519", "text": "com.nkm.framework.resource.data.Mg42Bytes.MG42OrBuilder getItemsOrBuilder(\n int index);", "title": "" }, { "docid": "1b142b7f5f4879d50ab9decaa618b820", "score": "0.5906156", "text": "public java.util.List<? extends com.nkm.framework.resource.data.Mg42Bytes.MG42OrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }", "title": "" }, { "docid": "dd66de5afba205a5631359f6ffd5eaf5", "score": "0.5900605", "text": "java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getProductItemsOrBuilderList();", "title": "" }, { "docid": "e0613c9124443f861e10c8a70092da4d", "score": "0.5878218", "text": "public void setItems(List<IItem> items)\n {\n this.items = items;\n }", "title": "" }, { "docid": "20c8053e801b20993ea7138868f39204", "score": "0.58696425", "text": "public com.nkm.framework.resource.data.Mg42Bytes.MG42OrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n return itemsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "e41a7cfe24e5c7095c711614b2b3dede", "score": "0.5858961", "text": "java.util.List<com.game.proto.Common.Item> \n getItemListList();", "title": "" }, { "docid": "9d3e900146ee0ab6d31f5e99ab8e552c", "score": "0.5806291", "text": "public List<Item> getItems(){return items;}", "title": "" }, { "docid": "e5ef3737af4c1f6470fbdfafe3186c46", "score": "0.57820374", "text": "public com.nkm.framework.resource.data.Mg42Bytes.MG42OrBuilder getItemsOrBuilder(\n int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "6ee8913a2aed812e9f2229ce95a9961c", "score": "0.5773587", "text": "public void setItems(List<I> items) {\n this.items = items;\n }", "title": "" }, { "docid": "22d36d795eec9069c57ec005813159ea", "score": "0.57381225", "text": "java.util.List<? extends com.lys.protobuf.ProtocolShop.BuyOrBuilder> \n getBuysOrBuilderList();", "title": "" }, { "docid": "22d36d795eec9069c57ec005813159ea", "score": "0.57381225", "text": "java.util.List<? extends com.lys.protobuf.ProtocolShop.BuyOrBuilder> \n getBuysOrBuilderList();", "title": "" }, { "docid": "e68e86c42edbf9de5d5445f991920efe", "score": "0.5736912", "text": "com.zfoo.protocol.packet.ProtobufObject.ListIntegerOrBuilder getValueOrBuilder();", "title": "" }, { "docid": "acd38fe41285c0ecea3f89f2b8a09e35", "score": "0.5731515", "text": "public java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }", "title": "" }, { "docid": "acd38fe41285c0ecea3f89f2b8a09e35", "score": "0.5731515", "text": "public java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }", "title": "" }, { "docid": "c94bac8cc2e25b7e4afda3e26d6d68d0", "score": "0.57271445", "text": "java.util.List<nhl.containing.networking.protobuf.SimulationItemProto.SimulationItem> \n getItemsList();", "title": "" }, { "docid": "94b20a1c24eb0a0168a3648a25e196e3", "score": "0.5726462", "text": "java.util.List<? extends com.hawk.game.protocol.Item.ItemInfoOrBuilder> \n getItemInfosOrBuilderList();", "title": "" }, { "docid": "4bd4657afe22f9b6faf1580574ef06a9", "score": "0.57156754", "text": "public void receiverData(List<Follower_Item> items){\n }", "title": "" }, { "docid": "7058a29e059fba4090696e7f0e8fe4bf", "score": "0.5714976", "text": "@JsonProperty(\"item\")\n public void setItem(List<Item> item) {\n this.item = item;\n }", "title": "" }, { "docid": "12ec4f2d782269c1a79529aa91a7c004", "score": "0.57045037", "text": "public static ListInterface<Item> itemList(ListInterface<Item> items) {\n items.add(new Item(\"I001\", \"Rose\", 'F', 20.00, 2, \"OD0001\"));\n items.add(new Item(\"I002\", \"Orchid\", 'F', 50.00, 5, \"OD0001\"));\n \n \n\n return items;\n }", "title": "" }, { "docid": "333ce6089c5f5c515ce5ac637ffb1db5", "score": "0.5688895", "text": "public void setItems(ArrayList<Item> items) {\n this.items = items;\n }", "title": "" }, { "docid": "8c346b3abfda9d1d79b7832f734864d2", "score": "0.5682737", "text": "public sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n return itemsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "8c346b3abfda9d1d79b7832f734864d2", "score": "0.5682737", "text": "public sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n return itemsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "465908e4510e8a141aeeee02f67ac041", "score": "0.5665877", "text": "public java.util.List<? extends com.game.proto.Common.ItemOrBuilder> \n getItemListOrBuilderList() {\n return itemList_;\n }", "title": "" }, { "docid": "503a66b257759931501af24856d89eae", "score": "0.5663654", "text": "public void setItems(ObjectSchema items) {\n\t\tthis.items = items;\n\t}", "title": "" }, { "docid": "c2886d1bd9eec239b2ca5113fd414896", "score": "0.56435657", "text": "com.lvl6.proto.ItemsProto.ItemType getItemType();", "title": "" }, { "docid": "34e9a7d885407c4d4b1ae46d9f43de95", "score": "0.5641372", "text": "public void addItems(Item add){\n }", "title": "" }, { "docid": "dc96559c4b0b0d0e3bf568d183b70f92", "score": "0.56413275", "text": "sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder getItemsOrBuilder(\n int index);", "title": "" }, { "docid": "dc96559c4b0b0d0e3bf568d183b70f92", "score": "0.56413275", "text": "sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder getItemsOrBuilder(\n int index);", "title": "" }, { "docid": "eed715c450f13611deaf956f1aa9a32c", "score": "0.56122094", "text": "public POGOProtos.Rpc.WithItemProto.Builder getWithItemBuilder() {\n return getWithItemFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "25cf650aa194b563c4ae6b6376353e7e", "score": "0.56051445", "text": "public java.util.List<? extends com.hawk.game.protocol.Item.ItemSellOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }", "title": "" }, { "docid": "8ebbe0b1068ce388c30d29e6061eb9ad", "score": "0.5594607", "text": "public java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }", "title": "" }, { "docid": "8ebbe0b1068ce388c30d29e6061eb9ad", "score": "0.5594607", "text": "public java.util.List<? extends sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder> \n getItemsOrBuilderList() {\n if (itemsBuilder_ != null) {\n return itemsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(items_);\n }\n }", "title": "" }, { "docid": "aa493b9827e2cd65309cbf51db81f8ef", "score": "0.5585832", "text": "java.util.List<com.sunego.commerce.grpc.study.dto.Person> \n getItemsList();", "title": "" }, { "docid": "6eb42e72ca2235907eae2377f3e7c162", "score": "0.55797046", "text": "public java.util.List<? extends com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.WorkspaceStatus.ItemOrBuilder> \n getItemOrBuilderList() {\n if (itemBuilder_ != null) {\n return itemBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(item_);\n }\n }", "title": "" }, { "docid": "6a07a246aeeae5942b756b611d249f17", "score": "0.5570828", "text": "public DoiReceiveMyItemsVOImpl()\n {\n }", "title": "" }, { "docid": "68e1a2514a55bb3fa9a02477d968aa23", "score": "0.5537732", "text": "com.zfoo.protocol.packet.ProtobufObject.ListListListIntegerOrBuilder getValueOrBuilder();", "title": "" }, { "docid": "241224ddf97e8d4bfe57723c935b8141", "score": "0.55260456", "text": "public java.util.List<? extends com.hawk.game.protocol.Item.ItemSellOrBuilder> \n getItemsOrBuilderList() {\n return items_;\n }", "title": "" }, { "docid": "8898c527de5110a379e8c8eeba1a799f", "score": "0.55252194", "text": "public java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto> getItemsList() {\n if (itemsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(items_);\n } else {\n return itemsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "8898c527de5110a379e8c8eeba1a799f", "score": "0.55252194", "text": "public java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto> getItemsList() {\n if (itemsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(items_);\n } else {\n return itemsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "6e5444b3b05e62fb9610a24d59296d21", "score": "0.5522675", "text": "nhl.containing.networking.protobuf.SimulationItemProto.SimulationItem getItems(int index);", "title": "" }, { "docid": "fd8ecbc26fa0975d1cb15fe38d4b36d9", "score": "0.55182177", "text": "private ItemField(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "9d89c4231a38bac78aa607609f525a4a", "score": "0.5514869", "text": "private Items() {}", "title": "" }, { "docid": "06568569fac3e74a631425c2d39d740d", "score": "0.5507133", "text": "com.nkm.framework.resource.data.Mg42Bytes.MG42 getItems(int index);", "title": "" }, { "docid": "99329d0779a4e00b82130596b18e4d57", "score": "0.5471919", "text": "java.util.List<com.clarifai.grpc.api.RunnerItem> \n getItemsList();", "title": "" }, { "docid": "4837b0621415f9cba6e037076974c95f", "score": "0.547188", "text": "@Headers({\n \"Content-Type:application/json\"\n })\n @POST(\"item/get\")\n Call<ItemGetResponse> itemGet(\n @retrofit2.http.Body ItemGetRequest itemGetRequest\n );", "title": "" }, { "docid": "ad07b168fd5ab4d6f706d27ce6954b90", "score": "0.54717374", "text": "public Builder addItems(com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.add(value);\n onChanged();\n } else {\n itemsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "ad07b168fd5ab4d6f706d27ce6954b90", "score": "0.54717374", "text": "public Builder addItems(com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.ItemVoProto value) {\n if (itemsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureItemsIsMutable();\n items_.add(value);\n onChanged();\n } else {\n itemsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "8bcbe6ed1c2dfdea23c8ece39ae6d10a", "score": "0.5469118", "text": "public java.util.List<? extends com.game.proto.Common.ItemOrBuilder> \n getItemListOrBuilderList() {\n if (itemListBuilder_ != null) {\n return itemListBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(itemList_);\n }\n }", "title": "" }, { "docid": "8d5c4b78278926049cb8ace5348b185f", "score": "0.5459396", "text": "public nhl.containing.networking.protobuf.SimulationItemProto.SimulationItemOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n return itemsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "bb7a89855cda65d94daf895333781790", "score": "0.5456647", "text": "public void setItems(List<ServerInfo> items) {\n this.items = items;\n }", "title": "" }, { "docid": "6e21b068f0935059e66dc6d443fc3ffe", "score": "0.5447356", "text": "public sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder getItemsOrBuilder(\n int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "6e21b068f0935059e66dc6d443fc3ffe", "score": "0.5447356", "text": "public sigma.software.leovegas.drugstore.api.protobuf.Proto.ItemOrBuilder getItemsOrBuilder(\n int index) {\n return items_.get(index);\n }", "title": "" }, { "docid": "469c0ab2a5bcad2f896456a801aefacc", "score": "0.54298973", "text": "com.sunego.commerce.grpc.study.dto.PersonOrBuilder getItemsOrBuilder(\n int index);", "title": "" }, { "docid": "70141f84643d88627dfbdb26da4a785b", "score": "0.54267496", "text": "com.sunego.commerce.grpc.study.dto.Person getItems(int index);", "title": "" }, { "docid": "499d1ac84a588718ad7486fc80e37bd8", "score": "0.5426538", "text": "public Vector getItems();", "title": "" }, { "docid": "a8f44f9185b40c2ae3d7619de1c4f391", "score": "0.5425699", "text": "java.util.List<com.nkm.framework.resource.data.Mg42Bytes.MG42> \n getItemsList();", "title": "" }, { "docid": "c36baaf2d35717068f74fba28790a05b", "score": "0.54223776", "text": "java.util.List<? extends POGOProtos.Rpc.NewsProtoOrBuilder> \n getNewsProtosOrBuilderList();", "title": "" }, { "docid": "8897481521182c585517612df2a588b5", "score": "0.5414544", "text": "private Item(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "bef5225c9833dcad74a241211fd49ec6", "score": "0.5399834", "text": "private UserItemProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "64d47246646a9b982343c774990b1abc", "score": "0.5391993", "text": "public void setItems(PromoMixAndMatchItem[] items) {\r\n\t\tthis.items.clear();\r\n\t\tif (items != null) {\r\n\t\t\tint numEl = items.length;\r\n\t\t\tfor (int i = 0; i < numEl; i++) {\r\n\t\t\t\tthis.items.add(items[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "adac615b0ce2b58a1b6ff24f7c0cb56c", "score": "0.53901136", "text": "public java.util.List<? extends com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.WorkspaceStatus.ItemOrBuilder> \n getItemOrBuilderList() {\n return item_;\n }", "title": "" }, { "docid": "a3998d6c23a5d42f91c9f996dfffe34c", "score": "0.53898025", "text": "cn.edu.nju.software.fabricservice.protomsg.Persistence.ItemStatusOrBuilder getItemStatusOrBuilder();", "title": "" } ]
ba4996882614496548d1fd1b9b66cf77
GENFIRST:event_suppComboBox1ActionPerformed TODO add your handling code here:
[ { "docid": "b5e81ed10bbcd0fa687167f95bfb2ced", "score": "0.77966344", "text": "private void suppComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {\n populateTable();\n }", "title": "" } ]
[ { "docid": "696765cae11b02435c35b89a57f34eaa", "score": "0.81416917", "text": "private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {\n \n }", "title": "" }, { "docid": "f39cd6d3f09eef1cdd1cfb15f84a4f79", "score": "0.8114255", "text": "private void comboDificultadActionPerformed(ActionEvent evt) {\n }", "title": "" }, { "docid": "7da496b5ce758b2870b894adc145336f", "score": "0.7954721", "text": "void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "0355908249499fa9e0c1a8e2d8a3c2c5", "score": "0.7938869", "text": "private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "0355908249499fa9e0c1a8e2d8a3c2c5", "score": "0.7938869", "text": "private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "b28bf95943d5a8f8c5b1b774be51a6ec", "score": "0.77698725", "text": "private void toysComboBoxActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "3917f025ab7e69ccd5b18e1c4a7a0985", "score": "0.7661121", "text": "private void comboGradoActionPerformed(ActionEvent evt) {\n }", "title": "" }, { "docid": "fe8c38e94fcbf703ac5253dc924cecbe", "score": "0.76567495", "text": "private void eventJComboBoxActionPerformed( ActionEvent event )\r\n {\r\n\r\n }", "title": "" }, { "docid": "00e5baad8516271109495d8fc905f1f0", "score": "0.75960517", "text": "private void topicComboActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "4eb668d485f3937389a70e599f412f1d", "score": "0.7510944", "text": "private void JComboBox_Yvar_ELPAMActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "014e082eb39198ad85529aedc702b339", "score": "0.75093025", "text": "private void nomeUtenteComboBoxActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "2182e5bf752e1551349e444a10c71162", "score": "0.7334114", "text": "public void actionPerformed( ActionEvent event )\r\n {\r\n eventJComboBoxActionPerformed( event );\r\n }", "title": "" }, { "docid": "2af061b91b6a52de2b099cce5b18fa4d", "score": "0.7274759", "text": "private void comboNivelActionPerformed(ActionEvent evt) {\n }", "title": "" }, { "docid": "4b12b26c57e60790c804121b61ccaf92", "score": "0.7262113", "text": "private void ComboBoxFiltroActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "09ebc821b69eaef7358a31ebf53a1ab1", "score": "0.72532004", "text": "private void mAlterLedgerComboBoxUnitActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "36d13bf3dd7b2ce0d9e73ebf6430491f", "score": "0.7134728", "text": "private void linuxcomboActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "e8d0c58dc63e37984bad2e3707552866", "score": "0.7096148", "text": "private void comboCambiarMes1ActionPerformed(java.awt.event.ActionEvent evt) {\n cambiarComboxAlquileres();\n }", "title": "" }, { "docid": "b7adc2bb3432ca41b3be3fb95763c68e", "score": "0.70302093", "text": "public TestCombo() {\n initComponents();\n\n jComboBox1.addItemListener(new ItemListener() {\n\n\n\n public void itemStateChanged(ItemEvent e) {\n if (e.getStateChange() == 1) {\n\n JOptionPane.showMessageDialog(null,e.getItem()+\" \"+(new Date().getYear()+1900));\n System.out.println(e.getItem());\n } }\n });\n }", "title": "" }, { "docid": "b4405d3a60d0493faff0599d0e935517", "score": "0.69907105", "text": "private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBox1ActionPerformed\n // TODO add your handling code here:\n chartOption = jComboBox1.getSelectedItem().toString();\n }", "title": "" }, { "docid": "6c9fbd435cd2fa8a11ffe49511464d37", "score": "0.69383293", "text": "private void jComboBox2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBox2ActionPerformed\n // TODO add your handling code here:\n statuschartOption = jComboBox2.getSelectedItem().toString();\n }", "title": "" }, { "docid": "74c5acf00c0ab0d34e7a33c7c8e2e0ad", "score": "0.69066626", "text": "private void cmbClassItemStateChanged(java.awt.event.ItemEvent evt) {\n setAdmissionNumber();\n }", "title": "" }, { "docid": "ad9d5b53495dfcab1e0d14e46a79f655", "score": "0.6901871", "text": "private void comboCambiarMesActionPerformed(java.awt.event.ActionEvent evt) {\n cambiarCombox();\n }", "title": "" }, { "docid": "4f8e1d3166af949f32407695f0a4e51e", "score": "0.68521756", "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 jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n amt = new javax.swing.JTextField();\n particular1 = new javax.swing.JComboBox();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n particular2 = new javax.swing.JComboBox();\n jLabel7 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n dt = new javax.swing.JTextField();\n jMenuBar2 = new javax.swing.JMenuBar();\n jMenu3 = new javax.swing.JMenu();\n jMenuItem4 = new javax.swing.JMenuItem();\n jMenuItem6 = new javax.swing.JMenuItem();\n jMenu4 = new javax.swing.JMenu();\n jMenuItem5 = new javax.swing.JMenuItem();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setResizable(false);\n\n jPanel1.setBackground(new java.awt.Color(153, 255, 204));\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED), \"Add Student\", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\"Tahoma\", 1, 18))); // NOI18N\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel3.setText(\"Amount\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel4.setText(\"Particular 1\");\n\n amt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n amtActionPerformed(evt);\n }\n });\n\n particular1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Service Revenue\", \"Sales Revenue\", \"Cash\", \"Supplies\", \"Equipment\", \"Accounts Receivable\", \"Accounts Payable\", \"Notes Payable\", \"Owner's Capital\", \"Owner's Drawing\" }));\n particular1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n particular1ActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"Submit\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Back\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n particular2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Service Revenue\", \"Sales Revenue\", \"Cash\", \"Supplies\", \"Equipment\", \"Accounts Receivable\", \"Accounts Payable\", \"Notes Payable\", \"Owner's Capital\", \"Owner's Drawing\" }));\n particular2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n particular2ActionPerformed(evt);\n }\n });\n\n jLabel7.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel7.setText(\"Particular 2\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel2.setText(\"Date\");\n\n dt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n dtActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(61, 61, 61)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3)\n .addComponent(jLabel4)\n .addComponent(jLabel7)\n .addComponent(jLabel2))\n .addGap(62, 62, 62)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(amt)\n .addComponent(particular1, 0, 190, Short.MAX_VALUE)\n .addComponent(particular2, javax.swing.GroupLayout.Alignment.TRAILING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(dt)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(108, 108, 108)\n .addComponent(jButton1)\n .addGap(88, 88, 88)\n .addComponent(jButton2)))\n .addContainerGap(63, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(particular1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4))\n .addGap(36, 36, 36)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(particular2, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addGap(44, 44, 44)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(amt, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(43, 43, 43)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(dt, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 68, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2))\n .addGap(35, 35, 35))\n );\n\n jMenu3.setText(\"File\");\n\n jMenuItem4.setText(\"Home\");\n jMenu3.add(jMenuItem4);\n\n jMenuItem6.setText(\"Logout\");\n jMenu3.add(jMenuItem6);\n\n jMenuBar2.add(jMenu3);\n\n jMenu4.setText(\"About\");\n\n jMenuItem5.setText(\"About\");\n jMenu4.add(jMenuItem5);\n\n jMenuBar2.add(jMenu4);\n\n setJMenuBar(jMenuBar2);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(40, 40, 40))\n );\n\n setSize(new java.awt.Dimension(504, 534));\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "91600105ea2223c1422248b117bddee6", "score": "0.6845217", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jComboBox1 = new javax.swing.JComboBox();\n jLabel1 = new javax.swing.JLabel();\n jTextField1 = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n jTextField2 = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jTextField3 = new javax.swing.JTextField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jComboBox1.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n jComboBox1ItemStateChanged(evt);\n }\n });\n jComboBox1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBox1ActionPerformed(evt);\n }\n });\n jComboBox1.addVetoableChangeListener(new java.beans.VetoableChangeListener() {\n public void vetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {\n jComboBox1VetoableChange(evt);\n }\n });\n\n jLabel1.setText(\"Date\");\n\n jTextField1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField1ActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"Currency\");\n\n jTextField2.setToolTipText(\"\");\n\n jLabel3.setText(\"Percent \");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(159, 159, 159)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(80, 80, 80)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel2)\n .addComponent(jLabel3))\n .addGap(57, 57, 57)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jTextField1)\n .addComponent(jTextField2)\n .addComponent(jTextField3, javax.swing.GroupLayout.DEFAULT_SIZE, 209, Short.MAX_VALUE))))\n .addContainerGap(77, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(85, 85, 85)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(38, 38, 38)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel1)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel3))\n .addGroup(layout.createSequentialGroup()\n .addGap(14, 14, 14)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(72, Short.MAX_VALUE))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "cfa15ae668b754390a882e06ff1a23df", "score": "0.67816806", "text": "protected void comboModificato() {\n }", "title": "" }, { "docid": "0317373abcacf034458b57cacb1b8f2e", "score": "0.67597413", "text": "private void cbxComboCatEstActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbxComboCatEstActionPerformed\n\n buscarTodo.setText(cbxComboCatEst.getSelectedItem().toString());\n }", "title": "" }, { "docid": "9174bae2f2aa27a5a0d05ea4e357b8ab", "score": "0.6758293", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n seatCombo = new javax.swing.JComboBox();\n btnConfirm = new javax.swing.JButton();\n btnBack = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n\n seatCombo.setMaximumRowCount(500);\n seatCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n seatCombo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n seatComboActionPerformed(evt);\n }\n });\n\n btnConfirm.setText(\"Confirm\");\n btnConfirm.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnConfirmActionPerformed(evt);\n }\n });\n\n btnBack.setText(\"<Back\");\n btnBack.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnBackActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"jLabel1\");\n\n jLabel2.setText(\"jLabel2\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(41, 41, 41)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(btnBack)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 146, Short.MAX_VALUE)\n .addComponent(seatCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(144, 144, 144)\n .addComponent(btnConfirm)\n .addGap(110, 110, 110))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(btnConfirm)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(seatCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnBack)))\n .addGap(64, 64, 64)\n .addComponent(jLabel1)\n .addGap(44, 44, 44)\n .addComponent(jLabel2)\n .addContainerGap(237, Short.MAX_VALUE))\n );\n }", "title": "" }, { "docid": "74a3803de36d21cfa25004b39123fa60", "score": "0.6736667", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0)\n\t\t\t{\n\t\t\t\tactiveButton(subjectwicebutton);\n\t\t\t\tdisableButton(studentwicebutton);\n\t\t\t\tdisableButton(classwicebutton);\n\t\t\t\tdisableButton(declareresultbutton);\n\t\t\t\tlabel3.setVisible(true);\n\t\t\t\tsubjectorrollcombo.setVisible(true);\n\t\t\t\tlabel3.setText(\"Select Subject :\");\n\t\t\t\tfetchdetailsbutton.setVisible(true);\n\t\t\t\tsubjectorrollcombo.setLocation(courcenamecombo.getLocation());\n\t\t\t\tfetchdetailsbutton.setLocation(fetchdetailsbutton.getX(),semoryearcombo.getY());\n\t\t\t\tscrollPane.setLocation(scrollPane.getX(),fetchdetailsbutton.getY()+50);\n\t\t\t\tString[] totalsub=new SubjectData().getSubjectinCource(fm.f.getCourceCode(), fm.f.getSemorYear());\t\n\t\t\t\tsubjectorrollcombo.setModel(new DefaultComboBoxModel<String>(totalsub));\n\t\t\t\tscrollPane.setVisible(false);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "dec9fe87dbf3a70f39779ecfe5bd13a7", "score": "0.6715676", "text": "public void actionPerformed(ActionEvent e) {\n \t\tString c=\"\";\n \t\t\n\t \t if(jComboBox1.getSelectedItem().equals(\"Velo\")){\n\n\t \t\t DefaultComboBoxModel<Integer> modelplace = new DefaultComboBoxModel<Integer>();\n\t \t for (Place aPlace : Place.getAllplace()){\n\t \t \tc=\"\"+aPlace.getNumPlace()+\"\";\n\t \t \tif(c.charAt(0)=='2'){\n\t \t \t\tmodelplace.addElement(aPlace.getNumPlace());\n\t \t \t}\n\t \t }\n\t \t jComboBox5.setModel(modelplace);\n\t \t\t \n\t \t }\n\t \t else{\n\n\t \t\t DefaultComboBoxModel<Integer> modelplace = new DefaultComboBoxModel<Integer>();\n\t \t for (Place aPlace : Place.getAllplace()){\n\t \t \t\n\t \t \tc=\"\"+aPlace.getNumPlace()+\"\";\n\t \t \tif(c.charAt(0)=='1'){\n\t \t \t\tmodelplace.addElement(aPlace.getNumPlace());\n\t \t \t}\n\t \t }\n\t \t jComboBox5.setModel(modelplace);\n\t \t }\n\t \t\t \n\t \t\t \n }", "title": "" }, { "docid": "f7a4d9baa1958a8fd8a8e1a334ff3504", "score": "0.67105114", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tBodegaProductoBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.bodegaproducto,new Object(),this.bodegaproductoParameterGeneral,this.bodegaproductoReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\tif(sTipo.equals(\"id_bodegaBodegaProducto\")) {\r\n\t\t\t\tif(jComboBoxGenerico==null) {\r\n\t\t\t\t\tjComboBoxGenerico=this.jInternalFrameDetalleFormBodegaProducto.jComboBoxid_bodegaBodegaProducto;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif(this.bodegaproductoSessionBean.getConGuardarRelaciones()) {\r\n\t\t\t\t\t//classes=BodegaProductoConstantesFunciones.getClassesRelationshipsOfBodegaProducto(new ArrayList<Classe>(),DeepLoadType.NONE);\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t\tthis.procesarActionsCombosForeignKeyBodega(jComboBoxGenerico,\"Formulario\");\r\n\r\n\t\t\t\tthis.recargarFormBodegaProducto(sTipo,\"Formulario\",eventoGlobalTipo,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,\"COMBOBOX\",classes,false,esControlTabla);\r\n\t\t\t}\r\n\t\t\t else if(sTipo.equals(\"jComboBoxid_bodegaFK_IdBodegaBodegaProducto\")) {\r\n\t\t\t\tthis.procesarActionsCombosForeignKeyBodega(jComboBoxid_bodegaFK_IdBodegaBodegaProducto,\"FK_IdBodega\");\r\n\t\t\t\t//recargarFormBodegaProductoBodega(jComboBoxid_bodegaFK_IdBodegaBodegaProducto,\"FK_IdBodega\");\r\n\t\t\t}\r\n\t\t\t else if(sTipo.equals(\"id_productoBodegaProducto\")) {\r\n\t\t\t\tif(jComboBoxGenerico==null) {\r\n\t\t\t\t\tjComboBoxGenerico=this.jInternalFrameDetalleFormBodegaProducto.jComboBoxid_productoBodegaProducto;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif(this.bodegaproductoSessionBean.getConGuardarRelaciones()) {\r\n\t\t\t\t\t//classes=BodegaProductoConstantesFunciones.getClassesRelationshipsOfBodegaProducto(new ArrayList<Classe>(),DeepLoadType.NONE);\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t\tthis.procesarActionsCombosForeignKeyProducto(jComboBoxGenerico,\"Formulario\");\r\n\r\n\t\t\t\tthis.recargarFormBodegaProducto(sTipo,\"Formulario\",eventoGlobalTipo,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,\"COMBOBOX\",classes,false,esControlTabla);\r\n\t\t\t}\r\n\t\t\t else if(sTipo.equals(\"jComboBoxid_productoFK_IdProductoBodegaProducto\")) {\r\n\t\t\t\tthis.procesarActionsCombosForeignKeyProducto(jComboBoxid_productoFK_IdProductoBodegaProducto,\"FK_IdProducto\");\r\n\t\t\t\t//recargarFormBodegaProductoProducto(jComboBoxid_productoFK_IdProductoBodegaProducto,\"FK_IdProducto\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tBodegaProductoBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.bodegaproducto,new Object(),this.bodegaproductoParameterGeneral,this.bodegaproductoReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,BodegaProductoConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "05f878a0cb97afe2149b98644e90ade9", "score": "0.6707584", "text": "private void mAlterLedgerComboBoxUnderActionPerformed(java.awt.event.ActionEvent evt) {\n \r\n mAlterLedgerComboBoxUnder=(JComboBox)evt.getSource();\r\n \r\n if(mAlterLedgerComboBoxUnder.getSelectedItem().toString().equals(\"Bank A/c\"))\r\n { \r\n mAlterLedgerTextFieldACno.setEditable(true);\r\n mAlterLedgerTextFieldACno.setBackground(new java.awt.Color(255,255,255));\r\n\r\n }\r\n \r\n else\r\n {\r\n mAlterLedgerTextFieldACno.setText(\"\"); \r\n mAlterLedgerTextFieldACno.setEditable(false);\r\n mAlterLedgerTextFieldACno.setBackground(new java.awt.Color(245,245,245));\r\n\r\n }\r\n }", "title": "" }, { "docid": "ad35503c413a67cb93b2cbcde8cec774", "score": "0.67018825", "text": "@Override\n\t\t public void itemStateChanged(ItemEvent e) {\n\t\t if(comboBox.getSelectedIndex()>0){ \n\t\t System.out.println(\"YOU CLICK INDEX-\"+comboBox.getSelectedItem());\n\t\t }\n\t\t }", "title": "" }, { "docid": "19bae458c5e231ed7d43385b6cd674a2", "score": "0.67001915", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jComboBox1 = new javax.swing.JComboBox();\n jComboBox2 = new javax.swing.JComboBox();\n jTextField1 = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jTextField2 = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n jTextField3 = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jTextField4 = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n jLabel7 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n setPreferredSize(new java.awt.Dimension(950, 531));\n getContentPane().setLayout(null);\n\n jLabel1.setText(\"Product \");\n getContentPane().add(jLabel1);\n jLabel1.setBounds(189, 67, 100, 33);\n\n jLabel2.setText(\"Dealer\");\n getContentPane().add(jLabel2);\n jLabel2.setBounds(190, 130, 70, 30);\n\n jComboBox1.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n jComboBox1ItemStateChanged(evt);\n }\n });\n getContentPane().add(jComboBox1);\n jComboBox1.setBounds(300, 70, 270, 20);\n\n jComboBox2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBox2ActionPerformed(evt);\n }\n });\n getContentPane().add(jComboBox2);\n jComboBox2.setBounds(300, 130, 270, 20);\n\n jTextField1.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));\n jTextField1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField1ActionPerformed(evt);\n }\n });\n getContentPane().add(jTextField1);\n jTextField1.setBounds(310, 200, 100, 30);\n\n jLabel3.setText(\"Quantity\");\n getContentPane().add(jLabel3);\n jLabel3.setBounds(190, 200, 60, 30);\n\n jLabel4.setText(\"Rate\");\n getContentPane().add(jLabel4);\n jLabel4.setBounds(190, 244, 60, 40);\n\n jTextField2.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jTextField2KeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n jTextField2KeyReleased(evt);\n }\n public void keyTyped(java.awt.event.KeyEvent evt) {\n jTextField2KeyTyped(evt);\n }\n });\n getContentPane().add(jTextField2);\n jTextField2.setBounds(310, 260, 100, 30);\n\n jLabel5.setText(\"Amount\");\n getContentPane().add(jLabel5);\n jLabel5.setBounds(190, 320, 70, 40);\n\n jTextField3.setEnabled(false);\n jTextField3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField3ActionPerformed(evt);\n }\n });\n jTextField3.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jTextField3KeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n jTextField3KeyReleased(evt);\n }\n public void keyTyped(java.awt.event.KeyEvent evt) {\n jTextField3KeyTyped(evt);\n }\n });\n getContentPane().add(jTextField3);\n jTextField3.setBounds(310, 320, 100, 30);\n\n jButton1.setText(\"Save\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton1);\n jButton1.setBounds(350, 403, 130, 30);\n\n jTextField4.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n jTextField4KeyReleased(evt);\n }\n });\n getContentPane().add(jTextField4);\n jTextField4.setBounds(660, 190, 190, 80);\n\n jLabel6.setText(\"Addtional \");\n getContentPane().add(jLabel6);\n jLabel6.setBounds(510, 220, 80, 40);\n\n jButton2.setText(\"Add\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton2);\n jButton2.setBounds(710, 310, 73, 23);\n\n jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/66409413-grey-geometric-technology-background-with-gear-shape-vector-abstract-graphic-design.jpg\"))); // NOI18N\n getContentPane().add(jLabel7);\n jLabel7.setBounds(-50, 0, 950, 600);\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "636e37b3553e72dce2ad2c3e3e8ba017", "score": "0.6668733", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tProductoCuentaContableBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.productocuentacontable,new Object(),this.productocuentacontableParameterGeneral,this.productocuentacontableReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tProductoCuentaContableBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.productocuentacontable,new Object(),this.productocuentacontableParameterGeneral,this.productocuentacontableReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,ProductoCuentaContableConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "b498ed2db7511c015f71564da6000213", "score": "0.6651396", "text": "private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.setBounds(100, 100, 1292, 780);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tframe.getContentPane().setLayout(null);\r\n\t\t\r\n\t\tJLabel l1 = new JLabel(\"Supplier Details Form\");\r\n\t\tl1.setBounds(516, 65, 166, 14);\r\n\t\tframe.getContentPane().add(l1);\r\n\t\t\r\n\t\tJLabel l2 = new JLabel(\"Supplier Update Form\");\r\n\t\tl2.setBounds(516, 102, 46, 14);\r\n\t\tframe.getContentPane().add(l2);\r\n\t\t\r\n\t\tJLabel l3 = new JLabel(\"Supplier Delete form\");\r\n\t\tl3.setBounds(516, 146, 46, 14);\r\n\t\tframe.getContentPane().add(l3);\r\n\t\t\r\n\t\tJSeparator s1 = new JSeparator();\r\n\t\ts1.setBounds(354, 171, 395, 2);\r\n\t\tframe.getContentPane().add(s1);\r\n\t\t\r\n\r\n\t\tJComboBox c1 = new JComboBox();\r\n\t\tc1.setBounds(658, 206, 134, 22);\r\n\t\tframe.getContentPane().add(c1);\r\n\t\t\r\n\r\n\t\ttry {\r\n\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\tStatement stmt = conObject.createStatement();\r\n\t\t\tString query = \"Select sno,sname from supplier\";\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\t\t\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tc1.addItem(String.valueOf(rs.getInt(1)) + \" \" + rs.getString(2));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tstmt.close();\r\n\t\t\tconObject.close();\r\n\t\t\t}\r\n\t\t\tcatch(Exception e1)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t}\r\n\t\t\r\n\t\tJComboBox c2 = new JComboBox();\r\n\t\tc2.setBounds(658, 210, 134, 22);\r\n\t\tframe.getContentPane().add(c2);\r\n\t\t\r\n\r\n\t\ttry {\r\n\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\tStatement stmt = conObject.createStatement();\r\n\t\t\tString query = \"Select sno,sname from supplier\";\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\t\t\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tc2.addItem(String.valueOf(rs.getInt(1)) + \" \" + rs.getString(2));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tstmt.close();\r\n\t\t\tconObject.close();\r\n\t\t\t}\r\n\t\t\tcatch(Exception e1)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t}\r\n\t\t\r\n\t\t\r\n\t\tJLabel l4 = new JLabel(\"Supplier No:\");\r\n\t\tl4.setBounds(354, 210, 46, 14);\r\n\t\tframe.getContentPane().add(l4);\r\n\t\t\r\n\t\tJLabel l9 = new JLabel(\"\");\r\n\t\tl9.setBounds(542, 210, 77, 14);\r\n\t\tframe.getContentPane().add(l9);\r\n\t\t\r\n\t\ttry {\r\n\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\tStatement stmt = conObject.createStatement();\r\n\t\t\tString query = \"Select top 1 sno from staff order by sno desc\";\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\t\t\r\n\t\t\tif(!rs.next())\r\n\t\t\t\tl9.setText(String.valueOf(1));\r\n\t\t\telse\r\n\t\t\t\tl9.setText(String.valueOf(rs.getInt(1)+1));\r\n\t\t\t\r\n\t\t\tstmt.close();\r\n\t\t\tconObject.close();\r\n\t\t\t}\r\n\t\t\tcatch(Exception e1)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t}\r\n\t\t\r\n\t\t\r\n\t\tJLabel l5 = new JLabel(\"Supplier name\");\r\n\t\tl5.setBounds(354, 266, 46, 14);\r\n\t\tframe.getContentPane().add(l5);\r\n\t\t\r\n\t\tJLabel l6 = new JLabel(\"Supplier address\");\r\n\t\tl6.setBounds(354, 331, 46, 14);\r\n\t\tframe.getContentPane().add(l6);\r\n\t\t\r\n\t\tJLabel l7 = new JLabel(\"Supplier contact \");\r\n\t\tl7.setBounds(354, 391, 46, 14);\r\n\t\tframe.getContentPane().add(l7);\r\n\t\t\r\n\t\tJLabel l8 = new JLabel(\"Supplier email id\");\r\n\t\tl8.setBounds(354, 451, 46, 14);\r\n\t\tframe.getContentPane().add(l8);\r\n\t\t\r\n\t\tJSeparator s2 = new JSeparator();\r\n\t\ts2.setBounds(354, 499, 395, 2);\r\n\t\tframe.getContentPane().add(s2);\r\n\t\t\r\n\t\tJButton b1 = new JButton(\"Save\");\r\n\t\tb1.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\tint resp = JOptionPane.showConfirmDialog(null, \"Are you sure you want to add?\");\r\n\t\t\t\tif(resp == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\r\ntry {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tClass.forName(\"net.ucanaccess.jdbc.UcanaccessDriver\");\r\n\t\t\t\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tString query = \"insert into supplier(sname,saddr,scon,email) values (?,?,?,?)\";\r\n\t\t\t\t\tPreparedStatement stmt = conObject.prepareStatement(query);\r\n\t\t\t\t\t\r\n\t\t\t\t\tstmt.setString(1,t1.getText());\r\n\t\t\t\t\tstmt.setString(2,t2.getText());\r\n\t\t\t\t\tstmt.setString(3,t3.getText());\r\n\t\t\t\t\tstmt.setString(4,t4.getText());\r\n\t\t\t\t\t\r\n\t\t\t\t\tint result = stmt.executeUpdate();\r\n\t\t\t\t\tif(result == 1)\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Record Inserted successfully!\");\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null,\"Insert Error!\");\r\n\t\t\t\t\tstmt.close();\r\n\t\t\t\t\tconObject.close();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch(Exception e1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\tb1.setBounds(354, 530, 91, 23);\r\n\t\tframe.getContentPane().add(b1);\r\n\t\t\r\n\t\tJButton b2 = new JButton(\"Update\");\r\n\t\tb2.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\tint resp = JOptionPane.showConfirmDialog(null, \"Are you sure you want to update?\");\r\n\t\t\t\tif(resp == 0)\r\n\t\t\t\t{\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\tClass.forName(\"net.ucanaccess.jdbc.UcanaccessDriver\");\r\n\t\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\t\t//String supp=String.valueOf(comboBox.getSelectedItem());\r\n\t\t\t\tString sname=String.valueOf(c1.getSelectedItem());\r\n\t\t\t\tString sub1=String.valueOf(sname.substring(0, 3));\r\n\t\t\t\tint sno = Integer.parseInt(sub1.trim());\r\n\t\t\tString query = \"update supplier set sname=?,saddr=?,scon=?,email=? where sno=\"+sno;\r\n\t\t\tPreparedStatement stmt = conObject.prepareStatement(query);\r\n\t\t\t\r\n\t\t\tstmt.setString(1,t1.getText());\r\n\t\t\tstmt.setString(2,t2.getText());\r\n\t\t\tstmt.setInt(3,Integer.parseInt(t3.getText()));\r\n\t\t\tstmt.setString(4,t4.getText());\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tint result = stmt.executeUpdate();\r\n\t\t\tif(result == 1)\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Record updated successfully!\");\r\n\t\t\telse\r\n\t\t\t\tJOptionPane.showMessageDialog(null,\"Insert Error!\");\r\n\t\t\tstmt.close();\r\n\t\t\tconObject.close();\r\n\t\t\t}\r\n\t\t\tcatch(Exception e1)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\tb2.setBounds(354, 571, 91, 23);\r\n\t\tframe.getContentPane().add(b2);\r\n\t\t\r\n\t\tJButton b3 = new JButton(\"Delete\");\r\n\t\tb3.setBounds(354, 606, 91, 23);\r\n\t\tframe.getContentPane().add(b3);\r\n\t\t\r\n\t\tJButton b4 = new JButton(\"View\");\r\n\t\tb4.setBounds(516, 530, 91, 23);\r\n\t\tframe.getContentPane().add(b4);\r\n\t\t\r\n\t\t\r\n\t\tJButton b5 = new JButton(\"Exit\");\r\n\t\tb5.setBounds(658, 530, 91, 23);\r\n\t\tframe.getContentPane().add(b5);\r\n\t\t\r\n\t\t\r\n\t\tJButton b6 = new JButton(\"Show\");\r\n\t\tb6.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\ntry {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tClass.forName(\"net.ucanaccess.jdbc.UcanaccessDriver\");\r\n\t\t\t\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t//String supp=String.valueOf(comboBox.getSelectedItem());\r\n\t\t\t\t\t\tString sname=String.valueOf(c1.getSelectedItem());\r\n\t\t\t\t\t\tString sub1=String.valueOf(sname.substring(0, 2));\r\n\t\t\t\t\t\tint sno = Integer.parseInt(sub1.trim());\r\n\t\t\t\t\t//\tJOptionPane.showMessageDialog(null, cno);\r\n\t\t\t\t\t\tString query = \"select sno,sname,saddr,scon,email from supplier where sno=?\" ;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tPreparedStatement stmt = conObject.prepareStatement(query);\r\n\t\t\t\t\t\tstmt.setInt(1, sno);\r\n\t\t\t\t\t\tResultSet rs = stmt.executeQuery();\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(rs.next())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tt1.setText(rs.getString(2));\r\n\t\t\t\t\t\tt2.setText(rs.getString(3));\r\n\t\t\t\t\t\tt3.setText(rs.getString(4));\r\n\t\t\t\t\t\tt4.setText(rs.getString(5));\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch(Exception e1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\tb6.setBounds(847, 206, 91, 23);\r\n\t\tframe.getContentPane().add(b6);\r\n\t\t\r\n\t\tJButton b7 = new JButton(\"Show\");\r\n\t\tb7.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\ntry {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tClass.forName(\"net.ucanaccess.jdbc.UcanaccessDriver\");\r\n\t\t\t\t\t\tConnection conObject=DriverManager.getConnection(\"jdbc:ucanaccess://d:/electronics1.accdb\");\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t//String supp=String.valueOf(comboBox.getSelectedItem());\r\n\t\t\t\t\t\tString sname=String.valueOf(c2.getSelectedItem());\r\n\t\t\t\t\t\tString sub1=String.valueOf(sname.substring(0, 2));\r\n\t\t\t\t\t\tint sno = Integer.parseInt(sub1.trim());\r\n\t\t\t\t\t//\tJOptionPane.showMessageDialog(null, cno);\r\n\t\t\t\t\t\tString query = \"select sno,sname,saddr,scon,email from supplier where sno=?\" ;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tPreparedStatement stmt = conObject.prepareStatement(query);\r\n\t\t\t\t\t\tstmt.setInt(1, sno);\r\n\t\t\t\t\t\tResultSet rs = stmt.executeQuery();\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(rs.next())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tt1.setText(rs.getString(2));\r\n\t\t\t\t\t\tt2.setText(rs.getString(3));\r\n\t\t\t\t\t\tt3.setText(rs.getString(4));\r\n\t\t\t\t\t\tt4.setText(rs.getString(5));\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch(Exception e1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\tb7.setBounds(857, 225, 91, 23);\r\n\t\tframe.getContentPane().add(b7);\r\n\t\t\r\n\t\tt1 = new JTextField();\r\n\t\tt1.setBounds(559, 263, 123, 20);\r\n\t\tframe.getContentPane().add(t1);\r\n\t\tt1.setColumns(10);\r\n\t\t\r\n\t\tt2 = new JTextField();\r\n\t\tt2.setBounds(559, 328, 123, 20);\r\n\t\tframe.getContentPane().add(t2);\r\n\t\tt2.setColumns(10);\r\n\t\t\r\n\t\tt3 = new JTextField();\r\n\t\tt3.setBounds(559, 388, 123, 20);\r\n\t\tframe.getContentPane().add(t3);\r\n\t\tt3.setColumns(10);\r\n\t\t\r\n\t\tt4 = new JTextField();\r\n\t\tt4.setBounds(559, 448, 123, 20);\r\n\t\tframe.getContentPane().add(t4);\r\n\t\tt4.setColumns(10);\r\n\t\t\r\n\t\tJRadioButton r1 = new JRadioButton(\"Add\");\r\n\t\tr1.setBounds(74, 98, 109, 23);\r\n\t\tframe.getContentPane().add(r1);\r\n\t\t\r\n\t\tJRadioButton r2 = new JRadioButton(\"Update\");\r\n\t\tr2.setBounds(74, 262, 109, 23);\r\n\t\tframe.getContentPane().add(r2);\r\n\t\t\r\n\t\tJRadioButton r3 = new JRadioButton(\"Delete\");\r\n\t\tr3.setBounds(74, 442, 109, 23);\r\n\t\tframe.getContentPane().add(r3);\r\n\t\t\r\n\r\n\t\tl1.setVisible(false);\r\n\t\tl2.setVisible(false);\r\n\t\tl3.setVisible(false);\r\n\t\tl4.setVisible(false);\r\n\t\tl5.setVisible(false);\r\n\t\tl6.setVisible(false);\r\n\t\tl7.setVisible(false);\r\n\t\tl8.setVisible(false);\r\n\t\tl9.setVisible(false);\r\n\t\t\r\n\t\tt1.setVisible(false);\r\n\t\tt2.setVisible(false);\r\n\t\tt3.setVisible(false);\r\n\t\tt4.setVisible(false);\r\n\t\t\r\n\t\tb1.setVisible(false);\r\n\t\tb2.setVisible(false);\r\n\t\tb3.setVisible(false);\r\n\t\tb4.setVisible(false);\r\n\t\tb5.setVisible(false);\r\n\t\tb6.setVisible(false);\r\n\t\tb7.setVisible(false);\r\n\t\t\r\n\t\tc1.setVisible(false);\r\n\t\tc2.setVisible(false);\r\n\t\t\r\n\t\t\r\n\t\ts1.setVisible(false);\r\n\t\ts2.setVisible(false);\r\n\t\t\r\n\t\tr1.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\r\n\t\t\t\tl1.setVisible(true);\r\n\t\t\t\tl2.setVisible(false);\r\n\t\t\t\tl3.setVisible(false);\r\n\t\t\t\tl4.setVisible(true);\r\n\t\t\t\tl5.setVisible(true);\r\n\t\t\t\tl6.setVisible(true);\r\n\t\t\t\tl7.setVisible(true);\r\n\t\t\t\tl8.setVisible(true);\r\n\t\t\t\tl9.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\tt1.setVisible(true);\r\n\t\t\t\tt2.setVisible(true);\r\n\t\t\t\tt3.setVisible(true);\r\n\t\t\t\tt4.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\tb1.setVisible(true);\r\n\t\t\t\tb2.setVisible(false);\r\n\t\t\t\tb3.setVisible(false);\r\n\t\t\t\tb4.setVisible(true);\r\n\t\t\t\tb5.setVisible(true);\r\n\t\t\t\tb6.setVisible(false);\r\n\t\t\t\tb7.setVisible(false);\r\n\t\t\t\t\r\n\t\t\t\ts1.setVisible(true);\r\n\t\t\t\ts2.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\tc1.setVisible(false);\r\n\t\t\t\tc2.setVisible(false);\r\n\t\t\t}\t\r\n\t\t});\r\n\t\t\r\n\t\tr2.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\r\n\t\t\t\tl1.setVisible(false);\r\n\t\t\t\tl2.setVisible(true);\r\n\t\t\t\tl3.setVisible(false);\r\n\t\t\t\tl4.setVisible(true);\r\n\t\t\t\tl5.setVisible(true);\r\n\t\t\t\tl6.setVisible(true);\r\n\t\t\t\tl7.setVisible(true);\r\n\t\t\t\tl8.setVisible(true);\r\n\t\t\t\tl9.setVisible(false);\r\n\t\t\t\t\r\n\t\t\t\tc1.setVisible(true);\r\n\t\t\t\tc2.setVisible(false);\r\n\t\t\t\t\r\n\t\t\t\tt1.setVisible(true);\r\n\t\t\t\tt2.setVisible(true);\r\n\t\t\t\tt3.setVisible(true);\r\n\t\t\t\tt4.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\tb1.setVisible(false);\r\n\t\t\t\tb2.setVisible(true);\r\n\t\t\t\tb3.setVisible(false);\r\n\t\t\t\tb4.setVisible(true);\r\n\t\t\t\tb5.setVisible(true);\r\n\t\t\t\tb6.setVisible(true);\r\n\t\t\t\tb7.setVisible(false);\r\n\t\t\t\t\r\n\t\t\t\ts1.setVisible(true);\r\n\t\t\t\ts2.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\t\r\n\t\t});\r\n\t\t\r\n\t\tr3.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\r\n\t\t\t\tl1.setVisible(false);\r\n\t\t\t\tl2.setVisible(false);\r\n\t\t\t\tl3.setVisible(true);\r\n\t\t\t\tl4.setVisible(true);\r\n\t\t\t\tl5.setVisible(true);\r\n\t\t\t\tl6.setVisible(true);\r\n\t\t\t\tl7.setVisible(true);\r\n\t\t\t\tl8.setVisible(true);\r\n\t\t\t\tl9.setVisible(false);\r\n\t\t\t\t\r\n\t\t\t\tc1.setVisible(false);\r\n\t\t\t\tc2.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\tt1.setVisible(true);\r\n\t\t\t\tt2.setVisible(true);\r\n\t\t\t\tt3.setVisible(true);\r\n\t\t\t\tt4.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\tb1.setVisible(false);\r\n\t\t\t\tb2.setVisible(false);\r\n\t\t\t\tb3.setVisible(true);\r\n\t\t\t\tb4.setVisible(true);\r\n\t\t\t\tb5.setVisible(true);\r\n\t\t\t\tb6.setVisible(false);\r\n\t\t\t\tb7.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t\ts1.setVisible(true);\r\n\t\t\t\ts2.setVisible(true);\r\n\t\t\t\t\r\n\t\t\t}\t\r\n\t\t});\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "95778210021498e724d620f6a8f317b4", "score": "0.66335964", "text": "private void comboProvNum_SelectedIndexChanged(Object sender, System.EventArgs e) throws Exception {\n if (comboProvNum.SelectedIndex == -1)\n {\n return ;\n }\n \n if (Providers.List[comboProvNum.SelectedIndex].SchoolClassNum == 0)\n {\n return ;\n }\n \n for (int i = 0;i < SchoolClasses.getList().Length;i++)\n {\n if (SchoolClasses.getList()[i].SchoolClassNum == Providers.List[comboProvNum.SelectedIndex].SchoolClassNum)\n comboSchoolClass.SelectedIndex = i + 1;\n \n }\n }", "title": "" }, { "docid": "4c2135e32ca4156392ad5b9ec01c0e7e", "score": "0.6629275", "text": "public void selectPPT(ActionEvent selectCombo) {\n }", "title": "" }, { "docid": "3f9eedee88b94548a180fbc4450ee6b4", "score": "0.6625893", "text": "@Override\n\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\n\t\t\t\tint state=e.getStateChange();\n\t\t\t\tif(e.getSource()==FreqcomboBox)\n\t\t\t\t{\n\t\t\t\t\tFrequency=FreqcomboBox.getSelectedItem().toString().toLowerCase();\n\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tJOptionPane.showMessageDialog(contentPane, \"Kindly Choose one option\");\n\t\t\t\t}\n\n\t\t\t}", "title": "" }, { "docid": "8857d100ed71052b261a6e3b9cc4c721", "score": "0.662017", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n submitJButton = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n resultJTextField = new javax.swing.JTextField();\n backJButton = new javax.swing.JButton();\n suppliersJComboBox = new javax.swing.JComboBox<>();\n jLabel2 = new javax.swing.JLabel();\n\n submitJButton.setText(\"Process Request\");\n submitJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n submitJButtonActionPerformed(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel1.setText(\"Result\");\n\n resultJTextField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n resultJTextFieldActionPerformed(evt);\n }\n });\n\n backJButton.setText(\"Back\");\n backJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n backJButtonActionPerformed(evt);\n }\n });\n\n suppliersJComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n suppliersJComboBox.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n suppliersJComboBoxActionPerformed(evt);\n }\n });\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel2.setText(\"Suppliers\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(178, 178, 178)\n .addComponent(resultJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(70, 70, 70)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(suppliersJComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(45, 45, 45)\n .addComponent(backJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(88, 88, 88)\n .addComponent(submitJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(516, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(60, 60, 60)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(suppliersJComboBox, javax.swing.GroupLayout.DEFAULT_SIZE, 31, Short.MAX_VALUE)\n .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(46, 46, 46)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(resultJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(48, 48, 48)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(submitJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(backJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(190, Short.MAX_VALUE))\n );\n }", "title": "" }, { "docid": "47aac4c0e0873fe101ddf3b3488b02f4", "score": "0.6619044", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tProductoOrdenDetaProduMermaBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.productoordendetaprodumerma,new Object(),this.productoordendetaprodumermaParameterGeneral,this.productoordendetaprodumermaReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tProductoOrdenDetaProduMermaBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.productoordendetaprodumerma,new Object(),this.productoordendetaprodumermaParameterGeneral,this.productoordendetaprodumermaReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,ProductoOrdenDetaProduMermaConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "0f8b8fff20feccfa3152e5b455499092", "score": "0.66064906", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tLiquidacionImporBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.liquidacionimpor,new Object(),this.liquidacionimporParameterGeneral,this.liquidacionimporReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tLiquidacionImporBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.liquidacionimpor,new Object(),this.liquidacionimporParameterGeneral,this.liquidacionimporReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,LiquidacionImporConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "492fe2060fe09063cef6f41d3fc28481", "score": "0.6588376", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t\tselectedPostalCode = (String) comboboxPostalCode.getSelectedItem();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "b852d8530e40285bf3f9c1ba636a3881", "score": "0.6570103", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel2 = new javax.swing.JPanel();\n jPanel9 = new javax.swing.JPanel();\n labelcadastro2 = new javax.swing.JLabel();\n botaosalvar = new javax.swing.JButton();\n label1 = new java.awt.Label();\n label2 = new java.awt.Label();\n txtquantidade = new javax.swing.JTextField();\n ComboProduto = new javax.swing.JComboBox<>();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setResizable(false);\n\n jPanel2.setBackground(new java.awt.Color(255, 255, 255));\n\n jPanel9.setBackground(new java.awt.Color(153, 153, 153));\n\n javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);\n jPanel9.setLayout(jPanel9Layout);\n jPanel9Layout.setHorizontalGroup(\n jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n );\n jPanel9Layout.setVerticalGroup(\n jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 9, Short.MAX_VALUE)\n );\n\n labelcadastro2.setFont(new java.awt.Font(\"Felix Titling\", 0, 24)); // NOI18N\n labelcadastro2.setForeground(new java.awt.Color(0, 102, 102));\n labelcadastro2.setText(\"Entrada Produto\");\n\n botaosalvar.setBackground(new java.awt.Color(255, 255, 255));\n botaosalvar.setFont(new java.awt.Font(\"Dialog\", 1, 14)); // NOI18N\n botaosalvar.setForeground(new java.awt.Color(0, 102, 102));\n botaosalvar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/pbd/resource/Salva.png\"))); // NOI18N\n botaosalvar.setText(\"Salvar\");\n botaosalvar.setBorderPainted(false);\n botaosalvar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n botaosalvarMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n botaosalvarMouseExited(evt);\n }\n });\n botaosalvar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n botaosalvarActionPerformed(evt);\n }\n });\n\n label1.setText(\"Produto :\");\n\n label2.setText(\"Quantidade :\");\n\n txtquantidade.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtquantidadeActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(labelcadastro2)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(label1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(ComboProduto, javax.swing.GroupLayout.PREFERRED_SIZE, 317, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(43, 43, 43)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtquantidade, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(label2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addContainerGap(49, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botaosalvar, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(230, 230, 230))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(labelcadastro2, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, 0)\n .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(30, 30, 30)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addComponent(label1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(20, 20, 20)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(ComboProduto, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txtquantidade, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addComponent(label2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 55, Short.MAX_VALUE)\n .addComponent(botaosalvar, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(47, 47, 47))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(0, 0, 0)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(0, 0, 0)\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(0, 0, 0))\n );\n\n setBounds(550, 180, 607, 339);\n }", "title": "" }, { "docid": "26a533eeb626f5dece26a9aaa0f2571a", "score": "0.6569776", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tPrioridadPedidoBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.prioridadpedido,new Object(),this.prioridadpedidoParameterGeneral,this.prioridadpedidoReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tPrioridadPedidoBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.prioridadpedido,new Object(),this.prioridadpedidoParameterGeneral,this.prioridadpedidoReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,PrioridadPedidoConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "87c3535f21173ed3a1665531e90adba4", "score": "0.6562905", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tPresuAsignacionBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.presuasignacion,new Object(),this.presuasignacionParameterGeneral,this.presuasignacionReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tPresuAsignacionBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.presuasignacion,new Object(),this.presuasignacionParameterGeneral,this.presuasignacionReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,PresuAsignacionConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "5c0f5954e66a30d19250884a02ac724e", "score": "0.6561997", "text": "public void actionPerformed (ActionEvent e)\n\t{\n\t\t\n\t\tif (m_settingValue || m_settingFocus)\n\t\t\treturn;\n\t\t\n\t\tif (e.getSource() instanceof CTextField)\n\t\t{\n\t\t\tactionText();\n\t\t}\n\t\telse if (e.getSource() instanceof CButton)\n\t\t{\n\t\t\tif (e.getSource() == m_button)\n\t\t\t{\n\t\t\t\tactionButton();\n\t\t\t}\n\t\t}\n\t\t// Combo Selection\n\t\telse if (e.getSource() == m_combo)\n\t\t{\n\t\t\tObject p = m_combo.getSelectedItem();\n\t\t\tlog.fine(\"Combo display:\" + p + \" (\" + e.toString() + \")\");\n\t\t\t\n\t\t\tObject value = null;\n\t\t\tString name = null;\n\t\t\tif (p instanceof NamePair)\n\t\t\t{\n\t\t\t\tname = ((NamePair) p).getName();\n\t\t\t\tif (p instanceof KeyNamePair)\n\t\t\t\t{\n\t\t\t\t\tif (((KeyNamePair) p).getID() != null)\n\t\t\t\t\t\tvalue = new Integer(((KeyNamePair)p).getID());\n\t\t\t\t}\n\t\t\t\telse if (p instanceof ValueNamePair)\n\t\t\t\t{\n\t\t\t\t\tif (((ValueNamePair) p).getID() != null)\n\t\t\t\t\t\tvalue = new String(((ValueNamePair)p).getID());\n\t\t\t\t}\n\t\t\t\telse if (((NamePair) p).getID() != null)\n\t\t\t\t\tvalue = new Integer(((NamePair)p).getID());\n\t\t\t}\n\n\t\t\tif (name != null)\n\t\t\t{\n\t\t\t\t// don't allow selection of inactive\n\t\t\t\tif (name.startsWith(MLookup.INACTIVE_S) && name.endsWith(MLookup.INACTIVE_E))\n\t\t\t\t{\n\t\t\t\t\tlog.info(m_columnName + \" - selection inactive set to NULL\");\n\t\t\t\t\tvalue = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tactionCombo (value); // data binding\n\n\t\t}\n\t\t\n\t\t// Combo Selection\n\t\telse if (e.getSource() == m_combo.getEditor())\n\t\t{\n\t\t\tObject display = m_combo.getEditor().getItem();\n\t\t\tlog.fine(\"Combo editor item:\" + display + \" (\" + e.toString() + \")\");\n\t\t\t// TODO - still need this??\n\t\t}\n\n\t\t// Popup Menu\n\t\telse if(e.getSource() == menuInfo)\n\t\t{\n\t\t\tactionButton();\n\t\t}\n\t\telse if (e.getSource() == menuZoom)\n\t\t{\n\t\t\tactionZoom(m_combo.getSelectedItem());\n\t\t}\n\t\telse if (e.getSource() == mRefresh)\n\t\t{\n\t\t\tactionRefresh();\n\t\t}\n\n\t}", "title": "" }, { "docid": "ed20ded5563f96c2c1c613f65da5208b", "score": "0.6548632", "text": "@Override\r\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\t\tif (compName == \"fto\") {\r\n\t\t\t\t\t\t\t//If the JComboBox's popup menu is not opened\r\n\t\t\t\t\t\t\tif (((JComboBox) comp).isPopupVisible() == false) {\r\n\t\t\t\t\t\t\t\t//Have the program request focus on the content JTextArea below\r\n\t\t\t\t\t\t\t\ttex.requestFocus();\r\n\t\t\t\t\t\t\t//If the popup menu is open\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t \t\t//If the next index does not equal/exceed the JComboBox's options' item count\r\n\t\t\t\t\t\t\t\tif (((JComboBox) comp).getSelectedIndex() + 1 < ((JComboBox) comp).getItemCount()) {\r\n\t\t\t\t\t\t\t\t\t//Set the currently selected index as the next one down the line\r\n\t\t\t\t\t\t \t\t\t((JComboBox) comp).setSelectedIndex(((JComboBox) comp).getSelectedIndex() + 1);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//Otherwise, if the component name is \"tex\" (textarea)\r\n\t\t\t\t\t\t} else if (compName == \"tex\") {\r\n\t\t\t\t\t\t\t//Have the program focus on the \"okay\" JButton\r\n\t\t\t\t\t\t\tokay.requestFocus();\r\n\t\t\t\t\t\t//If the component name is \"okay\"\r\n\t\t\t\t\t\t} else if (compName == \"okay\") {\r\n\t\t\t\t\t\t\t//Have the program focus on the \"back\" ButtonLabel\r\n\t\t\t\t\t\t\tbackButt.requestFocus();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}", "title": "" }, { "docid": "97097b99ae18455489dd620185b38be8", "score": "0.65431446", "text": "public void itemStateChanged(ItemEvent e) {\n\t\t\t\t\t\txChangeBool = (e.getStateChange() == ItemEvent.SELECTED);\n\t\t\t\t\t\tqueryOne.add(xChangeDropDown);\n\t\t\t\t\t\tqueryThree.add(xChangeDropDown);\n\t\t\t\t\t\txChangeDropDown.setMaximumSize(maximumSize);\n\t\t\t\t\t\tstartScreen.revalidate();\n\t\t\t\t\t\tEconDataComp.frame.repaint();\n\t\t\t\t\t\t//remove currency comboBox if unchecked\n\t\t\t\t\t\tif (!xChangeBool){\n\t\t\t\t\t\t\tqueryOne.remove(xChangeDropDown);\n\t\t\t\t\t\t\tqueryThree.remove(xChangeDropDown);\n\t\t\t\t\t\t\tstartScreen.revalidate();\n\t\t\t\t\t\t\tEconDataComp.frame.repaint();\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t}", "title": "" }, { "docid": "bb54481d358a56c56c45b0b58c3ef95e", "score": "0.65421563", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tProcesoCierreMesBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.procesocierremes,new Object(),this.procesocierremesParameterGeneral,this.procesocierremesReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tProcesoCierreMesBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.procesocierremes,new Object(),this.procesocierremesParameterGeneral,this.procesocierremesReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,ProcesoCierreMesConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "a1b6d85e2e7d7565bb0c1206cf65c32f", "score": "0.6539097", "text": "private void cmbKategori1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmbKategori1ActionPerformed\n // TODO add your handling code here:\n\n if (cmbKategori1.getSelectedItem().equals(\"Location Id\")) {\n txtKategori.setText(\"location_id\");\n } else if (cmbKategori1.getSelectedItem().equals(\"Street Address\")) {\n txtKategori.setText(\"street_address\");\n } else if (cmbKategori1.getSelectedItem().equals(\"Postal Code\")) {\n txtKategori.setText(\"postal_code\");\n } else if (cmbKategori1.getSelectedItem().equals(\"City\")) {\n txtKategori.setText(\"city\");\n } else if (cmbKategori1.getSelectedItem().equals(\"State Province\")) {\n txtKategori.setText(\"state_province\");\n } else if (cmbKategori1.getSelectedItem().equals(\"Country Name\")) {\n txtKategori.setText(\"country_name\");\n }\n }", "title": "" }, { "docid": "c261da7663436981b2da57d9d3613b22", "score": "0.6535426", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n cmbidmembre = new javax.swing.JComboBox<>();\n cmbidtache = new javax.swing.JComboBox<>();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n txtnomplet = new javax.swing.JTextField();\n txtdesc = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n btnassigner = new javax.swing.JButton();\n btnannuler = new javax.swing.JButton();\n\n setClosable(true);\n setTitle(\"Assigner Tache\");\n addInternalFrameListener(new javax.swing.event.InternalFrameListener() {\n public void internalFrameOpened(javax.swing.event.InternalFrameEvent evt) {\n formInternalFrameOpened(evt);\n }\n public void internalFrameClosing(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameClosed(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameIconified(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameDeiconified(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameActivated(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameDeactivated(javax.swing.event.InternalFrameEvent evt) {\n }\n });\n\n cmbidmembre.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n cmbidmembreItemStateChanged(evt);\n }\n });\n cmbidmembre.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n cmbidmembreMouseClicked(evt);\n }\n });\n\n cmbidtache.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n cmbidtacheItemStateChanged(evt);\n }\n });\n cmbidtache.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n cmbidtacheMouseClicked(evt);\n }\n });\n\n jLabel1.setText(\"ID Membre\");\n\n jLabel2.setText(\"ID Tache\");\n\n jLabel3.setText(\"Nom complet\");\n\n txtnomplet.setEnabled(false);\n\n txtdesc.setEnabled(false);\n\n jLabel4.setText(\"Description\");\n\n btnassigner.setText(\"Assigner\");\n btnassigner.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnassignerActionPerformed(evt);\n }\n });\n\n btnannuler.setText(\"Annuler\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel3)\n .addGap(0, 0, 0)\n .addComponent(txtnomplet, javax.swing.GroupLayout.PREFERRED_SIZE, 148, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(btnassigner, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)\n .addComponent(btnannuler, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel2)\n .addComponent(jLabel4))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(cmbidmembre, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cmbidtache, 0, 148, Short.MAX_VALUE)\n .addComponent(txtdesc)))))\n .addGap(0, 12, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(27, 27, 27)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cmbidmembre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(txtnomplet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(23, 23, 23)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(cmbidtache, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtdesc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4))\n .addGap(24, 24, 24)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnassigner)\n .addComponent(btnannuler))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "15defe8645761f4a41af803306478557", "score": "0.6528087", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tCajaEgresoBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.cajaegreso,new Object(),this.cajaegresoParameterGeneral,this.cajaegresoReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tCajaEgresoBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.cajaegreso,new Object(),this.cajaegresoParameterGeneral,this.cajaegresoReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,CajaEgresoConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "6b4d0a0c16307d90e53d40fa23ea2030", "score": "0.6521925", "text": "@Override\r\n\t\t\tpublic void focusGained(FocusEvent arg0) {\r\n\t\t\t\tcomboBox.removeAllItems();\r\n\t\t\t\tResultSet rs = ProdutoDAO.findAll();\r\n\t\t\t\t\r\n\t\t\t\ttry {\r\n\t\t\t\t\twhile (rs.next()) {\r\n\t\t\t\t\t\tint cdCodigo = rs.getInt(\"CD_Produto\");\r\n\t\t\t\t\t\tString nome = rs.getString(\"NM_Produto\");\r\n\t\t\t\t\t\tcomboBox.addItem(cdCodigo + \" - \" + nome);\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (SQLException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "07e67a8810c0108b7504110ccb8115e1", "score": "0.6508682", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0)\n\t\t\t{\n\t\t\t\tsubjectwicebutton.setName(\"Active\");\n\t\t\t\tcourcenamecombo.setVisible(true);\n\t\t\t\tsemoryearcombo.setVisible(true);\n\t\t\t\tactiveButton(classwicebutton);\n\t\t\t\tdisableButton(studentwicebutton);\n\t\t\t\tdisableButton(subjectwicebutton);\n\t\t\t\tdisableButton(declareresultbutton);\n\t\t\t\tlabel2.setVisible(true);\n\t\t\t\tsubjectorrollcombo.setVisible(false);\n\t\t\t\tlabel3.setVisible(false);\n\t\t\t\tfetchdetailsbutton.setLocation(fetchdetailsbutton.getX(),subjectorrollcombo.getY());\n\t\t\t\tscrollPane.setLocation(scrollPane.getX(), fetchdetailsbutton.getY()+60);\n\t\t\t\tcourcenamecombo.setSelectedIndex(0);\n\t\t\t\tsemoryearcombo.setModel(new DefaultComboBoxModel<String>(new String[]{\"\"}));\n\t\t\t\tscrollPane.setVisible(false);\n\t\t\t}", "title": "" }, { "docid": "bf889314fd46edf7c03536b7104e2a53", "score": "0.6508471", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tEvaluacionesFactoresBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.evaluacionesfactores,new Object(),this.evaluacionesfactoresParameterGeneral,this.evaluacionesfactoresReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tEvaluacionesFactoresBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.evaluacionesfactores,new Object(),this.evaluacionesfactoresParameterGeneral,this.evaluacionesfactoresReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,EvaluacionesFactoresConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "41cab53b03c933e392ffd634e6a48d5b", "score": "0.65077555", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tFormatoNomiPreguntaNomiBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.formatonomipreguntanomi,new Object(),this.formatonomipreguntanomiParameterGeneral,this.formatonomipreguntanomiReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tFormatoNomiPreguntaNomiBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.formatonomipreguntanomi,new Object(),this.formatonomipreguntanomiParameterGeneral,this.formatonomipreguntanomiReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,FormatoNomiPreguntaNomiConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "9f9625b8557576086e30959472aa84b0", "score": "0.6500493", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tCobrarClientesPorRegionBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.cobrarclientesporregion,new Object(),this.cobrarclientesporregionParameterGeneral,this.cobrarclientesporregionReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tCobrarClientesPorRegionBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.cobrarclientesporregion,new Object(),this.cobrarclientesporregionParameterGeneral,this.cobrarclientesporregionReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,CobrarClientesPorRegionConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "9ac93580908a36ef526b24ef5ebe6f35", "score": "0.6491884", "text": "protected void actionCombo (Object value)\n\t{\n//\t\tString display = ((JTextField) m_combo.getEditor().getEditorComponent()).getText();\n//\t\tlog.fine(\"Value=\" + value + \" Displayed text: \" + display);\n//\t\tif (value == null && display != null && !display.isEmpty())\n//\t\t{\n//\t\t\tm_text.setText(display);\n//\t\t\tactionText();\n//\t\t\treturn;\n//\t\t}\n\t\tm_settingValue = true; // Stop events\n\t\t\n\t\t// A special case when this is a color field \n\t\tif (m_isAD_Color_Table)\n\t\t{\n\t\t\tsetTabFields(); \t\t// Update the tab\n\t\t\tm_reload = true;\n\t\t\tsetValue(getValue()); \t// Redraw - there is no event to trigger it.\n\t\t\treturn;\n\t\t}\n\t\telse\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\t// -> GridController.vetoableChange\n\t\t\t\t// Will call setValue() if no veto occurs\n\t\t\t\tfireVetoableChange (m_columnName, m_value, value);\n\t\t\t}\n\t\t\tcatch (PropertyVetoException pve)\n\t\t\t{\n\t\t\t\t// Change was rejected.\n\t\t\t\tlog.log(Level.INFO, m_columnName, pve);\n\t\t\t\tm_settingValue = false;\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "fc04d401dfbaa0e05062731c4c43b795", "score": "0.64760935", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tSecuencialUsuarioBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.secuencialusuario,new Object(),this.secuencialusuarioParameterGeneral,this.secuencialusuarioReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tSecuencialUsuarioBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.secuencialusuario,new Object(),this.secuencialusuarioParameterGeneral,this.secuencialusuarioReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,SecuencialUsuarioConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "f0437044a60625a43b26502a62794102", "score": "0.64745474", "text": "public void purchase()\n {\n try\n { \n \n rs = stmt.executeQuery (\"SELECT eid FROM employees order by eid\");\n while (rs.next ()) {\n jComboBox1.addItem(rs.getString(1));\n }\n rs = stmt.executeQuery (\"SELECT pid FROM products\");\n while (rs.next ()) {\n jComboBox2.addItem(rs.getString(1));\n jComboBox5.addItem(rs.getString(1));\n }\n rs = stmt.executeQuery (\"SELECT cid FROM customers\");\n while (rs.next ()) {\n jComboBox3.addItem(rs.getString(1));\n }\n \n \n for(int i=1;i<1000;i++)\n {\n jComboBox4.addItem(i);\n }\n \n \n \n } \n catch(SQLException e)\n { System.out.println (\"\\n*** other Exception caught ***\\n\");\n e.printStackTrace();\n }\n \n }", "title": "" }, { "docid": "486d4974c454cbf6309046bcd24faf15", "score": "0.6466006", "text": "public void actionPerformed(ActionEvent e) {\n\n JTextField name = new JTextField();\n JComboBox<String> type = new JComboBox<>(new String[]{\"进货商\", \"销售商\"});\n JComboBox<String> level = new JComboBox<>(new String[]{\"级别1\", \"级别2\",\n \"级别3\", \"级别4\", \"级别5\"});\n JTextField phone = new JTextField();\n JTextField addr = new JTextField();\n JTextField zip = new JTextField();\n JTextField email = new JTextField();\n JTextField toReceive = new JTextField();\n JTextField toPay = new JTextField();\n JTextField upperBound = new JTextField();\n JTextField salesman = new JTextField();\n final JComponent[] inputs = new JComponent[]{\n new JLabel(\"type\"),\n type,\n new JLabel(\"level\"),\n level,\n new JLabel(\"name\"),\n name,\n new JLabel(\"phone\"),\n phone,\n new JLabel(\"addr\"),\n addr,\n new JLabel(\"zip\"),\n zip,\n new JLabel(\"email\"),\n email,\n new JLabel(\"upperBound\"),\n upperBound,\n new JLabel(\"toReceive\"),\n toReceive,\n new JLabel(\"toPay\"),\n toPay,\n new JLabel(\"salesMan\"),\n salesman\n };\n JOptionPane.showMessageDialog(null, inputs, \"My custom dialog\", JOptionPane.PLAIN_MESSAGE);\n tablePanel.addStatistic();\n try {\n impl.addClient(new ClientPO(ClientType.values()[type.getSelectedIndex()],\n ClientLevel.values()[level.getSelectedIndex()], name.getText(),\n phone.getText(), addr.getText(), zip.getText(), email.getText(),\n salesman.getText()));\n } catch (Exception e1) {\n JOptionPane.showMessageDialog(null, e1.getMessage());\n }\n }", "title": "" }, { "docid": "3a87ce9224099e37020d2a82fb416f54", "score": "0.64657205", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tTipoComproBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.tipocompro,new Object(),this.tipocomproParameterGeneral,this.tipocomproReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tTipoComproBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.tipocompro,new Object(),this.tipocomproParameterGeneral,this.tipocomproReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,TipoComproConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "b991dddc6cc58e96f17b5062f71a5062", "score": "0.6464944", "text": "void comboBoxEditor1_actionPerformed(ActionEvent e)\n {\n String name=(String)comboBoxEditor1.getItem();\n // parse separatly NameAddrresses or SipURLs\n if (name.indexOf(\"\\\"\")>=0 || name.indexOf(\"<\")>=0)\n { // try to parse a NameAddrress\n NameAddress nameaddr=(new SipParser(name)).getNameAddress();\n if (nameaddr!=null) name=nameaddr.toString();\n else name=null;\n }\n else\n { // try to parse a SipURL\n SipURL url=new SipURL(name);\n if (url!=null) name=url.toString();\n else name=null;\n }\n\n if (name==null)\n { System.out.println(\"DEBUG: No sip url recognized in: \"+(String)comboBoxEditor1.getItem());\n return;\n }\n\n // checks if the the URL is already present in the contact_list\n if (!contact_list.contains(name))\n { jComboBox1.insertItemAt(name,0);\n jComboBox1.setSelectedIndex(0);\n // limit the list size\n while (contact_list.getElements().size()>NMAX_CONTACTS) jComboBox1.removeItemAt(NMAX_CONTACTS);\n // save new contact list\n contact_list.save(); \n }\n else\n { int index=contact_list.indexOf(name);\n jComboBox1.setSelectedIndex(index);\n }\n \n }", "title": "" }, { "docid": "b65240f7c5ac5e349f67df743c6b577a", "score": "0.6463988", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jComboBox1 = new javax.swing.JComboBox<>();\n jTextTradeCode = new javax.swing.JTextField();\n jTextPrice = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jTextQuantity = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Buy\", \"Sel\" }));\n\n jTextPrice.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextPriceActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"Trade code\");\n\n jLabel2.setText(\"Price\");\n\n jLabel3.setText(\"Quantity\");\n\n jTextQuantity.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextQuantityActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"Add\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(16, 16, 16)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(jTextTradeCode)\n .addGap(46, 46, 46))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addGap(18, 18, 18)\n .addComponent(jTextPrice, javax.swing.GroupLayout.DEFAULT_SIZE, 84, Short.MAX_VALUE)\n .addGap(29, 29, 29)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jComboBox1, 0, 118, Short.MAX_VALUE)\n .addComponent(jTextQuantity))\n .addGap(28, 28, 28))\n .addGroup(layout.createSequentialGroup()\n .addGap(158, 158, 158)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 72, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextTradeCode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addGap(53, 53, 53)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextPrice, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2)\n .addComponent(jLabel3)\n .addComponent(jTextQuantity, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton1)\n .addContainerGap(133, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "233f85a64b1ed4889003cf0fc21b4c96", "score": "0.64587986", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(e.getActionCommand().equals(\"comboBoxChanged\")){\n\t\t\t\t\tString dcName = (String) databaseComboBox.getSelectedItem();\n\t\t\t\t\tDBSetting dbSetting = setting.getDBSetting(dcName);\n\t\t\t\t\tif(null == dbSetting){\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tsetDBParam(dbSetting);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "f761c364b8fa92146e7c34336c6964fb", "score": "0.644207", "text": "public void actionPerformed(ActionEvent actionEvent) {\n if (cbx_service.getSelectedIndex() > 0) {\n try {\n specialist_list = new ArrayList<Specialist>();\n Specialist Specialist_e = new Specialist();\n cbx_especialista.removeAllItems();\n Specialist_e.setId(0);\n Specialist_e.setName(\"--Seleccionar--\");\n Specialist_e.setFullname(\"--Seleccionar--\");\n\n specialist_list.add(Specialist_e);\n Service parametro = service_list.get(cbx_service.getSelectedIndex());\n specialist_list.addAll(cTR_04_Specialist.listSpecialist(parametro.getId()));\n cbx_especialista.setEnabled(true);\n if (specialist_list.size() > 0) {\n for (int i = 0; i < specialist_list.size(); i++) {\n cbx_especialista.addItem(specialist_list.get(i).getFullname());\n }\n } else {\n reset_cbx_specialist();\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(frm_03_reservar_cita.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else {\n reset_cbx_specialist();\n }\n }", "title": "" }, { "docid": "d6ea939cf527118f943a0e3b83a5be93", "score": "0.64417046", "text": "@Override\n public void itemStateChanged(ItemEvent e) {\n \n if (e.getSource() == jComboBox1) {\n \n jComboBox2.removeAllItems();\n int Branch = jComboBox1.getSelectedIndex();\n\n switch (Branch) {\n case 0:\n jComboBox2.addItem(\"Praphulla Panday\");\n jComboBox2.addItem(\"Swarnim Singh\");\n jComboBox2.addItem(\"Praful Kumar\");\n jComboBox2.addItem(\"Rishab Singhal\");\n\n break;\n case 1:\n jComboBox2.addItem(\"Rajat Singh Panwar\");\n jComboBox2.addItem(\"Piyush Pangtey\");\n jComboBox2.addItem(\"Prashant Agarwal\");\n jComboBox2.addItem(\"Deepak Kumar\");\n break;\n case 2:\n jComboBox2.addItem(\"Bhawan Rajawat\");\n jComboBox2.addItem(\"Vaibhav Singhal\");\n jComboBox2.addItem(\"Bharat Garwal\");\n jComboBox2.addItem(\"Abhyudaya Anand Mishra\");\n break;\n case 3:\n jComboBox2.addItem(\"Suryakant Butola\");\n jComboBox2.addItem(\"Shubham Malik\");\n jComboBox2.addItem(\"Ramvilas Patel\");\n jComboBox2.addItem(\"Kshtij Rajvansh\");\n break;\n case 4:\n jComboBox2.addItem(\"Vinay Yadav\");\n jComboBox2.addItem(\"Shekhar Paliwal\");\n jComboBox2.addItem(\"Rohit Singh\");\n jComboBox2.addItem(\"Shubham Sahu\");\n break;\n \n }\n jComboBox2.setSelectedIndex(-1);\n\n }\n\n }", "title": "" }, { "docid": "ee6dbed6619c23a1ce443f39acccb6e4", "score": "0.643415", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0)\n\t\t\t{\n\t\t\t\tactiveButton(studentwicebutton);\n\t\t\t\tdisableButton(subjectwicebutton);\n\t\t\t\tdisableButton(classwicebutton);\n\t\t\t\tdisableButton(declareresultbutton);\n\t\t\t\tlabel2.setVisible(true);\n\t\t\t\tcourcenamecombo.setVisible(true);\n\t\t\t\tsemoryearcombo.setVisible(true);\n\t\t\t\tlabel3.setVisible(true);\n\t\t\t\tsubjectorrollcombo.setVisible(true);\n\t\t\t\tlabel3.setText(\"Select Roll Number :\");\n\t\t\t\tfetchdetailsbutton.setLocation(fetchdetailsbutton.getX(),subjectorrollcombo.getY()+65);\n\t\t\t\tscrollPane.setLocation(scrollPane.getX(), fetchdetailsbutton.getY()+60);\n\t\t\t\tsubjectorrollcombo.setModel(new DefaultComboBoxModel<String>(new String[] {\"\"}));\t\n\t\t\t\tcourcenamecombo.setSelectedIndex(0);\n\t\t\t\tsemoryearcombo.setModel(new DefaultComboBoxModel<String>(new String[]{\"\"}));\n\t\t\t\tscrollPane.setVisible(false);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "edeeb7656d6c3b6ecccfc376e2848834", "score": "0.6432778", "text": "private void btnAddDeptActionPerformed(java.awt.event.ActionEvent evt) {\n int DeptNo = Integer.parseInt(dept.getAutoNumber());\n String DeptName=(String)Tools.InputBox(\"Enter Department Name\");\n String Location=(String)Tools.InputBox(\"Enter Department Location\");\n dept.setDeptNo(DeptNo);\n dept.setDeptName(DeptName);\n dept.setLocation(Location);\n dept.add();\n db.go.fillCombo(\"department\", \"deptname\", cbxDept);\n }", "title": "" }, { "docid": "3170e2cf2c787306cce58bc3b09828d6", "score": "0.6432111", "text": "public void jComboBoxActionPerformedGeneral(String sTipo,ActionEvent evt) {\t\t\r\n\t\ttry {\r\n\t\t\t/*\t\t\r\n\t\t\tEventoGlobalTipo eventoGlobalTipo=EventoGlobalTipo.CONTROL_CHANGE;\r\n\t\t\t\r\n\t\t\tif(this.esUsoDesdeHijo) {\r\n\t\t\t\teventoGlobalTipo=EventoGlobalTipo.FORM_HIJO_ACTUALIZAR;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tContainer containerParent=null;\r\n\t\t\tComponent componentOpposite=null;\r\n\t\t\tBoolean esControlTabla=false;\r\n\t\t\t\t\r\n\t\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\t\r\n\t\t\tRadioVenciClienteProveBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.BEFORE,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CLICKED,sTipo,this.radiovenciclienteprove,new Object(),this.radiovenciclienteproveParameterGeneral,this.radiovenciclienteproveReturnGeneral);\r\n\t\t\tJComboBox jComboBoxGenerico=null;\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(evt.getSource().getClass().equals(JComboBox.class)\r\n\t\t\t\t|| evt.getSource().getClass().equals(JComboBoxMe.class)) {\r\n\t\t\t\t\t\r\n\t\t\t\tjComboBoxGenerico=(JComboBox)evt.getSource();\r\n\t\t\t\t\r\n\t\t\t\tcontainerParent=jComboBoxGenerico.getParent();\r\n\t\t\t\t\r\n\t\t\t\tcomponentOpposite=null;//evt.getOppositeComponent();\r\n\t\t\t\t\r\n\t\t\t\tif((containerParent!=null && containerParent.getClass().equals(JTableMe.class))\r\n\t\t\t\t\t|| (componentOpposite!=null && componentOpposite.getClass().equals(JTableMe.class))\r\n\t\t\t\t) {\t\t\t\t\t\r\n\t\t\t\t\tesControlTabla=true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tthis.esControlTabla=esControlTabla;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString sFinalQueryCombo=\"\";\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\tRadioVenciClienteProveBeanSwingJInternalFrameAdditional.procesarEventosVista(this.parametroGeneralUsuario,this.moduloActual,this.opcionActual,this.usuarioActual,this,FuncionTipo.AFTER,ControlTipo.COMBOBOX,EventoTipo.CHANGE,EventoSubTipo.CHANGED,sTipo,this.radiovenciclienteprove,new Object(),this.radiovenciclienteproveParameterGeneral,this.radiovenciclienteproveReturnGeneral);\r\n\t\t\t*/\t\t\t\t\t\t\r\n \t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,RadioVenciClienteProveConstantesFunciones.CLASSNAME);\r\n \t\t}\t\t\r\n }", "title": "" }, { "docid": "b1ffd0e4aa24ae6c05e47d1bd36b4680", "score": "0.6430576", "text": "private void cmbCountryIdMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cmbCountryIdMouseEntered\n // TODO add your handling code here:\n String a = cmbCountryId.getSelectedItem() + \"\";\n String b = a.substring(0, 2);\n txtCountryId.setText(b);\n }", "title": "" }, { "docid": "873a62e5e0ab5c98fa6b06c64d8dd63e", "score": "0.64295757", "text": "private void jTable1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTable1MouseClicked\n // TODO add your handling code here:\n jComboBox1.setSelectedItem(jTable1.getValueAt(jTable1.getSelectedRow(), 0).toString());\n jTextField4.setText(jTable1.getValueAt(jTable1.getSelectedRow(), 1).toString());\n jComboBox2.setSelectedItem(jTable1.getValueAt(jTable1.getSelectedRow(), 2).toString());\n jTextField3.setText(jTable1.getValueAt(jTable1.getSelectedRow(), 3).toString());\n \n }", "title": "" }, { "docid": "356b18fc18edbe3b47846be599786183", "score": "0.64251333", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel2 = new javax.swing.JPanel();\n Exit = new javax.swing.JLabel();\n AcademicsPage_Label = new javax.swing.JLabel();\n GoBack_Label = new javax.swing.JLabel();\n UnweightedGPA_ComboBox = new javax.swing.JComboBox<>();\n Heading_Label = new javax.swing.JLabel();\n Heading1_Label = new javax.swing.JLabel();\n SaveGPA_Button = new javax.swing.JToggleButton();\n WeightedGPA_ComboBox = new javax.swing.JComboBox<>();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);\n setUndecorated(true);\n\n jPanel2.setBackground(new java.awt.Color(45, 118, 232));\n jPanel2.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseDragged(java.awt.event.MouseEvent evt) {\n jPanel2MouseDragged(evt);\n }\n });\n jPanel2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n jPanel2MousePressed(evt);\n }\n });\n\n Exit.setFont(new java.awt.Font(\"Verdana\", 0, 18)); // NOI18N\n Exit.setForeground(new java.awt.Color(255, 255, 255));\n Exit.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n Exit.setText(\"X\");\n Exit.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n ExitMousePressed(evt);\n }\n });\n\n AcademicsPage_Label.setFont(new java.awt.Font(\"Raleway ExtraBold\", 1, 24)); // NOI18N\n AcademicsPage_Label.setForeground(new java.awt.Color(255, 255, 255));\n AcademicsPage_Label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n AcademicsPage_Label.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/main/Images/icons8_Books_48px.png\"))); // NOI18N\n AcademicsPage_Label.setText(\"High School GPA\");\n\n GoBack_Label.setBackground(new java.awt.Color(255, 255, 255));\n GoBack_Label.setForeground(new java.awt.Color(255, 255, 255));\n GoBack_Label.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/main/Images/icons8_Long_Arrow_Left_48px_2.png\"))); // NOI18N\n GoBack_Label.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n GoBack_LabelMousePressed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(Exit, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(42, 42, 42)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(GoBack_Label)\n .addComponent(AcademicsPage_Label))\n .addContainerGap(339, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addComponent(Exit)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(AcademicsPage_Label)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(GoBack_Label, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n UnweightedGPA_ComboBox.setBackground(new java.awt.Color(204, 102, 0));\n UnweightedGPA_ComboBox.setFont(new java.awt.Font(\"Raleway SemiBold\", 2, 14)); // NOI18N\n UnweightedGPA_ComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"0.00\", \"0.01\", \"0.02\", \"0.03\", \"0.04\", \"0.05\", \"0.06\", \"0.07\", \"0.08\", \"0.09\", \"0.10\", \"0.11\", \"0.12\", \"0.13\", \"0.14\", \"0.15\", \"0.16\", \"0.17\", \"0.18\", \"0.19\", \"0.20\", \"0.21\", \"0.22\", \"0.23\", \"0.24\", \"0.25\", \"0.26\", \"0.27\", \"0.28\", \"0.29\", \"0.30\", \"0.31\", \"0.32\", \"0.33\", \"0.34\", \"0.35\", \"0.36\", \"0.37\", \"0.38\", \"0.39\", \"0.40\", \"0.41\", \"0.42\", \"0.43\", \"0.44\", \"0.45\", \"0.46\", \"0.47\", \"0.48\", \"0.49\", \"0.50\", \"0.51\", \"0.52\", \"0.53\", \"0.54\", \"0.55\", \"0.56\", \"0.57\", \"0.58\", \"0.59\", \"0.60\", \"0.61\", \"0.62\", \"0.63\", \"0.64\", \"0.65\", \"0.66\", \"0.67\", \"0.68\", \"0.69\", \"0.70\", \"0.71\", \"0.72\", \"0.73\", \"0.74\", \"0.75\", \"0.76\", \"0.77\", \"0.78\", \"0.79\", \"0.80\", \"0.81\", \"0.82\", \"0.83\", \"0.84\", \"0.85\", \"0.86\", \"0.87\", \"0.88\", \"0.89\", \"0.90\", \"0.91\", \"0.92\", \"0.93\", \"0.94\", \"0.95\", \"0.96\", \"0.97\", \"0.98\", \"0.99\", \"1.00\", \"1.01\", \"1.02\", \"1.03\", \"1.04\", \"1.05\", \"1.06\", \"1.07\", \"1.08\", \"1.09\", \"1.10\", \"1.11\", \"1.12\", \"1.13\", \"1.14\", \"1.15\", \"1.16\", \"1.17\", \"1.18\", \"1.19\", \"1.2\", \"1.21\", \"1.22\", \"1.23\", \"1.24\", \"1.25\", \"1.26\", \"1.27\", \"1.28\", \"1.29\", \"1.30\", \"1.31\", \"1.32\", \"1.33\", \"1.34\", \"1.35\", \"1.36\", \"1.37\", \"1.38\", \"1.39\", \"1.40\", \"1.41\", \"1.42\", \"1.43\", \"1.44\", \"1.45\", \"1.46\", \"1.47\", \"1.48\", \"1.49\", \"1.50\", \"1.51\", \"1.52\", \"1.53\", \"1.54\", \"1.55\", \"1.56\", \"1.57\", \"1.58\", \"1.59\", \"1.60\", \"1.61\", \"1.62\", \"1.63\", \"1.64\", \"1.65\", \"1.66\", \"1.67\", \"1.68\", \"1.69\", \"1.70\", \"1.71\", \"1.72\", \"1.73\", \"1.74\", \"1.75\", \"1.76\", \"1.77\", \"1.78\", \"1.79\", \"1.80\", \"1.81\", \"1.82\", \"1.83\", \"1.84\", \"1.85\", \"1.86\", \"1.87\", \"1.88\", \"1.89\", \"1.90\", \"1.91\", \"1.92\", \"1.93\", \"1.94\", \"1.95\", \"1.96\", \"1.97\", \"1.98\", \"1.99\", \"2.00\", \"2.01\", \"2.02\", \"2.03\", \"2.04\", \"2.05\", \"2.06\", \"2.07\", \"2.08\", \"2.09\", \"2.10\", \"2.11\", \"2.12\", \"2.13\", \"2.14\", \"2.15\", \"2.16\", \"2.17\", \"2.18\", \"2.19\", \"2.20\", \"2.21\", \"2.22\", \"2.23\", \"2.24\", \"2.25\", \"2.26\", \"2.27\", \"2.28\", \"2.29\", \"2.30\", \"2.31\", \"2.32\", \"2.33\", \"2.34\", \"2.35\", \"2.36\", \"2.37\", \"2.38\", \"2.39\", \"2.40\", \"2.41\", \"2.42\", \"2.43\", \"2.44\", \"2.45\", \"2.46\", \"2.47\", \"2.48\", \"2.49\", \"2.50\", \"2.51\", \"2.52\", \"2.53\", \"2.54\", \"2.55\", \"2.56\", \"2.57\", \"2.58\", \"2.59\", \"2.60\", \"2.61\", \"2.62\", \"2.63\", \"2.64\", \"2.65\", \"2.66\", \"2.67\", \"2.68\", \"2.69\", \"2.70\", \"2.71\", \"2.72\", \"2.73\", \"2.74\", \"2.75\", \"2.76\", \"2.77\", \"2.78\", \"2.79\", \"2.80\", \"2.81\", \"2.82\", \"2.83\", \"2.84\", \"2.85\", \"2.86\", \"2.87\", \"2.88\", \"2.89\", \"2.90\", \"2.91\", \"2.92\", \"2.93\", \"2.94\", \"2.95\", \"2.96\", \"2.97\", \"2.98\", \"2.99\", \"3.00\", \"3.01\", \"3.02\", \"3.03\", \"3.04\", \"3.05\", \"3.06\", \"3.07\", \"3.08\", \"3.09\", \"3.10\", \"3.11\", \"3.12\", \"3.13\", \"3.14\", \"3.15\", \"3.16\", \"3.17\", \"3.18\", \"3.19\", \"3.20\", \"3.21\", \"3.22\", \"3.23\", \"3.24\", \"3.25\", \"3.26\", \"3.27\", \"3.28\", \"3.29\", \"3.30\", \"3.31\", \"3.32\", \"3.33\", \"3.34\", \"3.35\", \"3.36\", \"3.37\", \"3.38\", \"3.39\", \"3.40\", \"3.41\", \"3.42\", \"3.43\", \"3.44\", \"3.45\", \"3.46\", \"3.47\", \"3.48\", \"3.49\", \"3.50\", \"3.51\", \"3.52\", \"3.53\", \"3.54\", \"3.55\", \"3.56\", \"3.57\", \"3.58\", \"3.59\", \"3.60\", \"3.61\", \"3.62\", \"3.63\", \"3.64\", \"3.65\", \"3.66\", \"3.67\", \"3.68\", \"3.69\", \"3.70\", \"3.71\", \"3.72\", \"3.73\", \"3.74\", \"3.75\", \"3.76\", \"3.77\", \"3.78\", \"3.79\", \"3.80\", \"3.81\", \"3.82\", \"3.83\", \"3.84\", \"3.85\", \"3.86\", \"3.87\", \"3.88\", \"3.89\", \"3.90\", \"3.91\", \"3.92\", \"3.93\", \"3.94\", \"3.95\", \"3.96\", \"3.97\", \"3.98\", \"3.99\", \"4.00\" }));\n UnweightedGPA_ComboBox.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n UnweightedGPA_ComboBoxItemStateChanged(evt);\n }\n });\n UnweightedGPA_ComboBox.addAncestorListener(new javax.swing.event.AncestorListener() {\n public void ancestorMoved(javax.swing.event.AncestorEvent evt) {\n }\n public void ancestorAdded(javax.swing.event.AncestorEvent evt) {\n UnweightedGPA_ComboBoxAncestorAdded(evt);\n }\n public void ancestorRemoved(javax.swing.event.AncestorEvent evt) {\n }\n });\n UnweightedGPA_ComboBox.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n UnweightedGPA_ComboBoxMouseClicked(evt);\n }\n });\n UnweightedGPA_ComboBox.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n UnweightedGPA_ComboBoxActionPerformed(evt);\n }\n });\n\n Heading_Label.setFont(new java.awt.Font(\"Raleway ExtraBold\", 3, 14)); // NOI18N\n Heading_Label.setForeground(new java.awt.Color(45, 118, 232));\n Heading_Label.setText(\"Please input your Unweighted GPA:\");\n\n Heading1_Label.setFont(new java.awt.Font(\"Raleway ExtraBold\", 3, 14)); // NOI18N\n Heading1_Label.setForeground(new java.awt.Color(45, 118, 232));\n Heading1_Label.setText(\"Please input your Weighted GPA:\");\n\n SaveGPA_Button.setFont(new java.awt.Font(\"Raleway SemiBold\", 3, 12)); // NOI18N\n SaveGPA_Button.setText(\"Save\");\n SaveGPA_Button.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n SaveGPA_ButtonMouseClicked(evt);\n }\n });\n SaveGPA_Button.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n SaveGPA_ButtonActionPerformed(evt);\n }\n });\n\n WeightedGPA_ComboBox.setBackground(new java.awt.Color(204, 102, 0));\n WeightedGPA_ComboBox.setFont(new java.awt.Font(\"Raleway SemiBold\", 2, 14)); // NOI18N\n WeightedGPA_ComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"0.0\", \"0.01\", \"0.02\", \"0.03\", \"0.04\", \"0.05\", \"0.06\", \"0.07\", \"0.08\", \"0.09\", \"0.10\", \"0.11\", \"0.12\", \"0.13\", \"0.14\", \"0.15\", \"0.16\", \"0.17\", \"0.18\", \"0.19\", \"0.20\", \"0.21\", \"0.22\", \"0.23\", \"0.24\", \"0.25\", \"0.26\", \"0.27\", \"0.28\", \"0.29\", \"0.30\", \"0.31\", \"0.32\", \"0.33\", \"0.34\", \"0.35\", \"0.36\", \"0.37\", \"0.38\", \"0.39\", \"0.40\", \"0.41\", \"0.42\", \"0.43\", \"0.44\", \"0.45\", \"0.46\", \"0.47\", \"0.48\", \"0.49\", \"0.50\", \"0.51\", \"0.52\", \"0.53\", \"0.54\", \"0.55\", \"0.56\", \"0.57\", \"0.58\", \"0.59\", \"0.60\", \"0.61\", \"0.62\", \"0.63\", \"0.64\", \"0.65\", \"0.66\", \"0.67\", \"0.68\", \"0.69\", \"0.70\", \"0.71\", \"0.72\", \"0.73\", \"0.74\", \"0.75\", \"0.76\", \"0.77\", \"0.78\", \"0.79\", \"0.80\", \"0.81\", \"0.82\", \"0.83\", \"0.84\", \"0.85\", \"0.86\", \"0.87\", \"0.88\", \"0.89\", \"0.90\", \"0.91\", \"0.92\", \"0.93\", \"0.94\", \"0.95\", \"0.96\", \"0.97\", \"0.98\", \"0.99\", \"1.00\", \"1.01\", \"1.02\", \"1.03\", \"1.04\", \"1.05\", \"1.06\", \"1.07\", \"1.08\", \"1.09\", \"1.10\", \"1.11\", \"1.12\", \"1.13\", \"1.14\", \"1.15\", \"1.16\", \"1.17\", \"1.18\", \"1.19\", \"1.2\", \"1.21\", \"1.22\", \"1.23\", \"1.24\", \"1.25\", \"1.26\", \"1.27\", \"1.28\", \"1.29\", \"1.30\", \"1.31\", \"1.32\", \"1.33\", \"1.34\", \"1.35\", \"1.36\", \"1.37\", \"1.38\", \"1.39\", \"1.40\", \"1.41\", \"1.42\", \"1.43\", \"1.44\", \"1.45\", \"1.46\", \"1.47\", \"1.48\", \"1.49\", \"1.50\", \"1.51\", \"1.52\", \"1.53\", \"1.54\", \"1.55\", \"1.56\", \"1.57\", \"1.58\", \"1.59\", \"1.60\", \"1.61\", \"1.62\", \"1.63\", \"1.64\", \"1.65\", \"1.66\", \"1.67\", \"1.68\", \"1.69\", \"1.70\", \"1.71\", \"1.72\", \"1.73\", \"1.74\", \"1.75\", \"1.76\", \"1.77\", \"1.78\", \"1.79\", \"1.80\", \"1.81\", \"1.82\", \"1.83\", \"1.84\", \"1.85\", \"1.86\", \"1.87\", \"1.88\", \"1.89\", \"1.90\", \"1.91\", \"1.92\", \"1.93\", \"1.94\", \"1.95\", \"1.96\", \"1.97\", \"1.98\", \"1.99\", \"2.00\", \"2.01\", \"2.02\", \"2.03\", \"2.04\", \"2.05\", \"2.06\", \"2.07\", \"2.08\", \"2.09\", \"2.10\", \"2.11\", \"2.12\", \"2.13\", \"2.14\", \"2.15\", \"2.16\", \"2.17\", \"2.18\", \"2.19\", \"2.20\", \"2.21\", \"2.22\", \"2.23\", \"2.24\", \"2.25\", \"2.26\", \"2.27\", \"2.28\", \"2.29\", \"2.30\", \"2.31\", \"2.32\", \"2.33\", \"2.34\", \"2.35\", \"2.36\", \"2.37\", \"2.38\", \"2.39\", \"2.40\", \"2.41\", \"2.42\", \"2.43\", \"2.44\", \"2.45\", \"2.46\", \"2.47\", \"2.48\", \"2.49\", \"2.50\", \"2.51\", \"2.52\", \"2.53\", \"2.54\", \"2.55\", \"2.56\", \"2.57\", \"2.58\", \"2.59\", \"2.60\", \"2.61\", \"2.62\", \"2.63\", \"2.64\", \"2.65\", \"2.66\", \"2.67\", \"2.68\", \"2.69\", \"2.70\", \"2.71\", \"2.72\", \"2.73\", \"2.74\", \"2.75\", \"2.76\", \"2.77\", \"2.78\", \"2.79\", \"2.80\", \"2.81\", \"2.82\", \"2.83\", \"2.84\", \"2.85\", \"2.86\", \"2.87\", \"2.88\", \"2.89\", \"2.90\", \"2.91\", \"2.92\", \"2.93\", \"2.94\", \"2.95\", \"2.96\", \"2.97\", \"2.98\", \"2.99\", \"3.00\", \"3.01\", \"3.02\", \"3.03\", \"3.04\", \"3.05\", \"3.06\", \"3.07\", \"3.08\", \"3.09\", \"3.10\", \"3.11\", \"3.12\", \"3.13\", \"3.14\", \"3.15\", \"3.16\", \"3.17\", \"3.18\", \"3.19\", \"3.20\", \"3.21\", \"3.22\", \"3.23\", \"3.24\", \"3.25\", \"3.26\", \"3.27\", \"3.28\", \"3.29\", \"3.30\", \"3.31\", \"3.32\", \"3.33\", \"3.34\", \"3.35\", \"3.36\", \"3.37\", \"3.38\", \"3.39\", \"3.40\", \"3.41\", \"3.42\", \"3.43\", \"3.44\", \"3.45\", \"3.46\", \"3.47\", \"3.48\", \"3.49\", \"3.50\", \"3.51\", \"3.52\", \"3.53\", \"3.54\", \"3.55\", \"3.56\", \"3.57\", \"3.58\", \"3.59\", \"3.60\", \"3.61\", \"3.62\", \"3.63\", \"3.64\", \"3.65\", \"3.66\", \"3.67\", \"3.68\", \"3.69\", \"3.70\", \"3.71\", \"3.72\", \"3.73\", \"3.74\", \"3.75\", \"3.76\", \"3.77\", \"3.78\", \"3.79\", \"3.80\", \"3.81\", \"3.82\", \"3.83\", \"3.84\", \"3.85\", \"3.86\", \"3.87\", \"3.88\", \"3.89\", \"3.90\", \"3.91\", \"3.92\", \"3.93\", \"3.94\", \"3.95\", \"3.96\", \"3.97\", \"3.98\", \"3.99\", \"4.00\", \"4.01\", \"4.02\", \"4.03\", \"4.04\", \"4.05\", \"4.06\", \"4.07\", \"4.08\", \"4.09\", \"4.10\", \"4.11\", \"4.12\", \"4.13\", \"4.14\", \"4.15\", \"4.16\", \"4.17\", \"4.18\", \"4.19\", \"4.20\", \"4.21\", \"4.22\", \"4.23\", \"4.24\", \"4.25\", \"4.26\", \"4.27\", \"4.28\", \"4.29\", \"4.30\", \"4.31\", \"4.32\", \"4.33\", \"4.34\", \"4.35\", \"4.36\", \"4.37\", \"4.38\", \"4.39\", \"4.40\", \"4.41\", \"4.42\", \"4.43\", \"4.44\", \"4.45\", \"4.46\", \"4.47\", \"4.48\", \"4.49\", \"4.50\", \"4.51\", \"4.52\", \"4.53\", \"4.54\", \"4.55\", \"4.56\", \"4.57\", \"4.58\", \"4.59\", \"4.60\", \"4.61\", \"4.62\", \"4.63\", \"4.64\", \"4.65\", \"4.66\", \"4.67\", \"4.68\", \"4.69\", \"4.70\", \"4.71\", \"4.72\", \"4.73\", \"4.74\", \"4.75\", \"4.76\", \"4.77\", \"4.78\", \"4.79\", \"4.80\", \"4.81\", \"4.82\", \"4.83\", \"4.84\", \"4.85\", \"4.86\", \"4.87\", \"4.88\", \"4.89\", \"4.90\", \"4.91\", \"4.92\", \"4.93\", \"4.94\", \"4.95\", \"4.96\", \"4.97\", \"4.98\", \"4.99\", \"5.00\" }));\n WeightedGPA_ComboBox.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n WeightedGPA_ComboBoxItemStateChanged(evt);\n }\n });\n WeightedGPA_ComboBox.addAncestorListener(new javax.swing.event.AncestorListener() {\n public void ancestorMoved(javax.swing.event.AncestorEvent evt) {\n }\n public void ancestorAdded(javax.swing.event.AncestorEvent evt) {\n WeightedGPA_ComboBoxAncestorAdded(evt);\n }\n public void ancestorRemoved(javax.swing.event.AncestorEvent evt) {\n }\n });\n WeightedGPA_ComboBox.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n WeightedGPA_ComboBoxMouseClicked(evt);\n }\n });\n WeightedGPA_ComboBox.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n WeightedGPA_ComboBoxActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addGap(14, 14, 14)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(SaveGPA_Button, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(Heading1_Label)\n .addComponent(Heading_Label)\n .addComponent(UnweightedGPA_ComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(WeightedGPA_ComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(368, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(Heading_Label)\n .addGap(0, 0, 0)\n .addComponent(UnweightedGPA_ComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(Heading1_Label)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(WeightedGPA_ComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(118, 118, 118)\n .addComponent(SaveGPA_Button)\n .addContainerGap(91, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "084601b9391950ed9a474faf6036775d", "score": "0.64219016", "text": "@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tif (compName == \"back\") {\r\n\t\t\t\t\t\t//Call the buttonLabel's setReleased function\r\n\t\t\t\t\t\t((ButtonLabel) comp).setEnteredOrReleased();\r\n\t\t\t\t\t\t//Call the setupMenu function\r\n\t\t\t\t\t\tsetupMainMenu();\r\n\t\t\t\t\t//If the component name is that of \"fto\" (fruit type options)\r\n\t\t\t\t\t} else if (compName == \"fto\") {\r\n\t\t\t\t\t\t//If the JComboBox's menu is not opened\r\n\t\t\t\t\t if (((JComboBox) comp).isPopupVisible() == false) {\r\n\t\t\t\t\t \t//Show the popup menu of the JComboBox\r\n\t\t\t\t\t \t((JComboBox) comp).showPopup();\r\n\t\t\t\t\t \t//If the JComboBox's menu is opened\r\n\t\t\t\t \t} else {\r\n\t\t\t\t\t \t\t//Close the popup menu, selecting the currently selected index in the process\r\n\t\t\t\t \t\t((JComboBox) comp).hidePopup();\r\n\t\t\t\t \t}\r\n\t\t\t\t\t//If the component name is that of \"tex\"(textarea)\r\n\t\t\t\t\t} else if (compName == \"okay\") {\r\n\t\t\t\t\t //Call the \"addFruit\" function\r\n\t\t\t\t\t\taddFruit();\r\n\t\t\t\t\t}\r\n\t\t\t\t}", "title": "" }, { "docid": "aa77724a7b7b073053aa63bab7fefd8f", "score": "0.64152205", "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 jButton1 = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n jComboBox2 = new javax.swing.JComboBox();\n jLabel3 = new javax.swing.JLabel();\n jLabel1 = new javax.swing.JLabel();\n jButton3 = new javax.swing.JButton();\n jTextField1 = new javax.swing.JTextField();\n jComboBox1 = new javax.swing.JComboBox();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n\n jButton1.setText(\"add\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"State \");\n\n jButton2.setText(\"view\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n jComboBox2.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n jComboBox2ItemStateChanged(evt);\n }\n });\n\n jLabel3.setText(\"city\");\n\n jLabel1.setText(\"Country \");\n\n jButton3.setText(\"cancel\");\n\n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n jComboBox1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBox1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 236, Short.MAX_VALUE)\n .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jButton1)\n .addGap(18, 18, 18)\n .addComponent(jButton2)\n .addGap(26, 26, 26)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton3))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3)\n .addGap(100, 100, 100)\n .addComponent(jTextField1)\n .addGap(76, 76, 76)))\n .addContainerGap())\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(31, 31, 31)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(39, 39, 39)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2)\n .addComponent(jButton3))\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(104, 104, 104)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(27, 27, 27))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(166, Short.MAX_VALUE)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(55, 55, 55))\n );\n\n pack();\n }", "title": "" }, { "docid": "d54870bd8d9399df0efb1edb8cb4373d", "score": "0.64100593", "text": "private void mAlterLedgerTextFieldCountryActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "fdf3dbb8ebc158b03d63cc4064c54091", "score": "0.64077425", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jComboBox1 = new javax.swing.JComboBox<>();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jTextField1 = new javax.swing.JTextField();\n jTextField2 = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jCheckBox1 = new javax.swing.JCheckBox();\n jCheckBox2 = new javax.swing.JCheckBox();\n jCheckBox3 = new javax.swing.JCheckBox();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jTextField3 = new javax.swing.JTextField();\n\n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setLocation(new java.awt.Point(700, 300));\n\n jLabel2.setText(\"ID PELANGGAN\");\n\n jLabel3.setText(\"HARGA\");\n\n jTextField1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField1ActionPerformed(evt);\n }\n });\n\n jTextField2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField2ActionPerformed(evt);\n }\n });\n\n jLabel4.setText(\"TYPE SERVICE\");\n\n jCheckBox1.setText(\"LAUNDRY\");\n jCheckBox1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBox1ActionPerformed(evt);\n }\n });\n\n jCheckBox2.setText(\"MAKANAN\");\n jCheckBox2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBox2ActionPerformed(evt);\n }\n });\n\n jCheckBox3.setText(\"CLEANING SERVICE\");\n jCheckBox3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jCheckBox3ActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"RESET\");\n\n jButton2.setText(\"SUBMIT\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 24)); // NOI18N\n jLabel1.setText(\"SERVICE HOTEL ACA\");\n\n jLabel5.setText(\"ID RECEPTIONIS\");\n\n jTextField3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField3ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addGap(117, 117, 117)\n .addComponent(jButton1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton2))\n .addGroup(layout.createSequentialGroup()\n .addGap(41, 41, 41)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel3)\n .addComponent(jLabel4)\n .addComponent(jLabel5))\n .addGap(42, 42, 42)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jCheckBox1)\n .addComponent(jCheckBox3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jCheckBox2)\n .addComponent(jTextField2)\n .addComponent(jTextField1)\n .addComponent(jTextField3, javax.swing.GroupLayout.Alignment.TRAILING))))\n .addContainerGap(85, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(jLabel1)\n .addGap(69, 69, 69))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel5)\n .addGap(17, 17, 17))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 13, Short.MAX_VALUE)\n .addComponent(jCheckBox1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jCheckBox2, javax.swing.GroupLayout.Alignment.TRAILING))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jCheckBox3)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(15, 15, 15)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2))\n .addGap(18, 18, 18))\n );\n\n pack();\n }", "title": "" }, { "docid": "11b2ac4e45f38560bb01f554c9bf66c4", "score": "0.6404653", "text": "@Override\n public void actionPerformed(ActionEvent actionEvent) {\n JComboBox cb = (JComboBox)actionEvent.getSource();\n\n String x = String.valueOf(cb.getSelectedItem());\n\n filmLayout.updateScreen(filmRepository ,x);\n\n }", "title": "" }, { "docid": "8ef76b801b4cfeb61c3c9815e306a199", "score": "0.6403657", "text": "@Override \r\n\t \r\n\tpublic void itemStateChanged(ItemEvent ex) {\n\tif(ex.getItemSelectable()==jc1) \r\n\t\r\n\t{ \r\n \r\n\tst2=(String)(jc1.getSelectedItem()); \r\n\t\r\n\t} \r\n\r\n\tif(ex.getItemSelectable()==jc2) \t \r\n\t{\t \r\n\tst3=(String)(jc2.getSelectedItem()); \r\n\t} \t \r\n\tif(ex.getItemSelectable()==jc3) \t \r\n\t{ \t \r\n\tst4=(String)(jc3.getSelectedItem()); \r\n\t \r\n\t} \r\n\r\n\t}", "title": "" }, { "docid": "e5df1561fa436c15a7bb6a51b2475ada", "score": "0.6402368", "text": "public Add_Stock() {\n initComponents();\n \nResultSet rs=logics.Product_list.getproductlist();\n jComboBox1.removeAllItems();;\n try \n {\n while(rs.next())\n {\n jComboBox1.addItem(rs.getString(\"Product_name\"));\n }\n }\n catch (Exception e) \n { } }", "title": "" }, { "docid": "bf51d496c93ec06ddec33b71600bb447", "score": "0.6393589", "text": "private void processComboBoxUpdateAction(){\n Object selectedItem = pizzaComboBox.getSelectedItem(); //ziska aktualne vybranu hodnotu v combo boxe\n //TODO: ziskajte mapu z PizzaInfo, ktora mapuje Pizzu na jej popis a nastavte tento popis ako text do textoveho pola \n }", "title": "" }, { "docid": "978cb32231a7e5e05ef1166d0e8bf895", "score": "0.63904375", "text": "public void llenarcombobox(){ //metodo que llena el combobox con las carreras segun la facultad elegida.\n ArrayList lic = new ArrayList();\n lic.add(\"Finanzas\");\n lic.add(\"Derecho\");\n lic.add(\"Admin. Empresas\");\n lic.add(\"Disenio Grafico\");\n lic.add(\"Mercadotecnia\");\n ArrayList ing = new ArrayList();\n ing.add(\"Sistemas Comp.\");\n ing.add(\"Industrial\");\n ing.add(\"Mecatronica\");\n ing.add(\"Biomedica\");\n ing.add(\"Energia\");\n ArrayList doc = new ArrayList();\n doc.add(\"Medicina\");\n doc.add(\"Odontologia\");\n doc.add(\"Nutricion\");\n doc.add(\"Terapia\");\n if (jComboBox7.getSelectedItem().equals(\"Licenciaturas\")){\n for (int c = 0; c < lic.size();c++){\n jComboBox8.addItem(lic.get(c) +\"\");\n }\n }else if (jComboBox7.getSelectedItem().equals(\"Ingenierias\")){\n for (int c = 0; c < ing.size();c++){\n jComboBox8.addItem(ing.get(c) +\"\");\n }\n }else {\n for (int c = 0; c < doc.size();c++){\n jComboBox8.addItem(doc.get(c) +\"\");\n }\n }\n }", "title": "" }, { "docid": "654a9efc0590f99ac4a526050f33e314", "score": "0.6385885", "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 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jComboBox1 = new javax.swing.JComboBox<>();\n jComboBox2 = new javax.swing.JComboBox<>();\n jButton1 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"ISSUE BOOK\");\n\n jLabel1.setText(\"CHOOSE THE BOOK\");\n\n jLabel2.setText(\"CHOOSE THE STUDENT\");\n\n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n jComboBox2.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n jButton1.setText(\"ISSUE BOOK\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(35, 35, 35)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2)\n .addComponent(jLabel1))\n .addGap(65, 65, 65)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jComboBox1, 0, 100, Short.MAX_VALUE)\n .addComponent(jComboBox2, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(156, 156, 156)\n .addComponent(jButton1)))\n .addContainerGap(65, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(80, 80, 80)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(43, 43, 43)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(46, 46, 46)\n .addComponent(jButton1)\n .addContainerGap(62, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "18caac816561038754b0ce7dfebc1849", "score": "0.637951", "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 jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n txtDescripcionIns = new javax.swing.JTextField();\n btnCrearProducto = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n txtPrecioInser = new javax.swing.JTextField();\n cbxCategoriaIns = new javax.swing.JComboBox<>();\n jLabel5 = new javax.swing.JLabel();\n cbxProveedorIns = new javax.swing.JComboBox<>();\n\n setClosable(true);\n setIconifiable(true);\n setMaximizable(true);\n setTitle(\"Agregar Producto\");\n\n jLabel2.setFont(new java.awt.Font(\"Times New Roman\", 1, 18)); // NOI18N\n jLabel2.setText(\"Descripcion\");\n\n jLabel3.setFont(new java.awt.Font(\"Times New Roman\", 1, 18)); // NOI18N\n jLabel3.setText(\"Precio\");\n\n jLabel4.setFont(new java.awt.Font(\"Times New Roman\", 1, 18)); // NOI18N\n jLabel4.setText(\"Categoria\");\n\n btnCrearProducto.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/ec/edu/ups/recursos/agregar.png\"))); // NOI18N\n btnCrearProducto.setText(\"Crear\");\n btnCrearProducto.setToolTipText(\"\");\n btnCrearProducto.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCrearProductoActionPerformed(evt);\n }\n });\n\n jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/ec/edu/ups/recursos/canselar.png\"))); // NOI18N\n jButton1.setText(\"Cancelar\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n cbxCategoriaIns.addContainerListener(new java.awt.event.ContainerAdapter() {\n public void componentAdded(java.awt.event.ContainerEvent evt) {\n cbxCategoriaInsComponentAdded(evt);\n }\n });\n cbxCategoriaIns.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n cbxCategoriaInsMouseClicked(evt);\n }\n public void mousePressed(java.awt.event.MouseEvent evt) {\n cbxCategoriaInsMousePressed(evt);\n }\n });\n cbxCategoriaIns.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cbxCategoriaInsActionPerformed(evt);\n }\n });\n cbxCategoriaIns.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n cbxCategoriaInsKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n cbxCategoriaInsKeyReleased(evt);\n }\n });\n\n jLabel5.setFont(new java.awt.Font(\"Times New Roman\", 1, 18)); // NOI18N\n jLabel5.setText(\"Proveedor\");\n\n cbxProveedorIns.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n cbxProveedorInsMouseClicked(evt);\n }\n });\n cbxProveedorIns.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cbxProveedorInsActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(37, 37, 37)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(97, 97, 97)\n .addComponent(btnCrearProducto)\n .addGap(37, 37, 37)\n .addComponent(jButton1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 71, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel4)\n .addComponent(jLabel3)\n .addComponent(jLabel5))\n .addGap(79, 79, 79)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtPrecioInser)\n .addComponent(txtDescripcionIns)\n .addComponent(cbxCategoriaIns, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cbxProveedorIns, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addGap(54, 54, 54))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(36, 36, 36)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtDescripcionIns, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(txtPrecioInser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(23, 23, 23)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(cbxCategoriaIns, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(24, 24, 24)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(cbxProveedorIns, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(57, 57, 57)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnCrearProducto)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(55, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "ab73bb00214346bad664bd82cfd229d8", "score": "0.6378363", "text": "private void guitienActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "d6bc0db360389617b0c973335de58a5f", "score": "0.63743216", "text": "@Override\n\tpublic void itemStateChanged(ItemEvent event) {\n\t\tif (event.getStateChange() == ItemEvent.SELECTED) {\n\t\t\tif (event.getItemSelectable().equals(comboBox))\n\t\t\t\tsetTextField(comboBox.getSelectedIndex(), stockDBControl.getStockList());\n\t\t\tif (event.getItemSelectable().equals(supplierComboBox))\n\t\t\t\tif (supplierComboBox.getItemAt((supplierComboBox.getSelectedIndex())).equals(\n\t\t\t\t\t\t\"New Supplier\")) {\n\t\t\t\t\ttabbedPane.setSelectedComponent(supplierTab);\n\t\t\t\t\tsupplierTab.getNewSupplierButton().doClick();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tsupplier = personDB.getSupplierByName(supplierComboBox\n\t\t\t\t\t\t\t.getItemAt(supplierComboBox.getSelectedIndex()));\n\t\t\trevalidate();\n\t\t\trepaint();\n\t\t}\n\t}", "title": "" }, { "docid": "d82686ce8ac67aee9d05ab5e709d66d6", "score": "0.6373858", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n cbProprieties = new javax.swing.JComboBox();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jButton3 = new javax.swing.JButton();\n jButton4 = new javax.swing.JButton();\n lblhouse = new javax.swing.JLabel();\n txtNumberOfHouse = new javax.swing.JTextField();\n lblHotel = new javax.swing.JLabel();\n txtHotel = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n txtPrice = new javax.swing.JTextField();\n jButton5 = new javax.swing.JButton();\n btnMortagage = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n txtMortgage = new javax.swing.JTextField();\n jButton6 = new javax.swing.JButton();\n jButton7 = new javax.swing.JButton();\n jButton8 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n jLabel1.setText(\"Propriety:\");\n\n cbProprieties.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cbProprietiesActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"Details\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Buy House\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jButton3.setText(\"Buy Hotel\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n\n jButton4.setText(\"Finish\");\n jButton4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton4ActionPerformed(evt);\n }\n });\n\n lblhouse.setText(\"Number of house:\");\n\n txtNumberOfHouse.setEditable(false);\n\n lblHotel.setText(\"Hotel\");\n\n txtHotel.setEditable(false);\n\n jLabel4.setText(\"Price:\");\n\n txtPrice.setEditable(false);\n\n jButton5.setText(\"Pay\");\n jButton5.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton5ActionPerformed(evt);\n }\n });\n\n btnMortagage.setText(\"mortgage\");\n btnMortagage.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnMortagageActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"Mortgage:\");\n\n txtMortgage.setEditable(false);\n\n jButton6.setText(\"Sell\");\n jButton6.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton6ActionPerformed(evt);\n }\n });\n\n jButton7.setText(\"Sell House\");\n jButton7.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton7ActionPerformed(evt);\n }\n });\n\n jButton8.setText(\"Sell Hotel\");\n jButton8.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton8ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(cbProprieties, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jButton5)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblhouse)\n .addComponent(lblHotel)\n .addComponent(jLabel4))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txtPrice)\n .addComponent(txtHotel)\n .addComponent(txtMortgage)\n .addComponent(txtNumberOfHouse, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addComponent(jLabel2))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 96, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jButton8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnMortagage, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(29, 29, 29)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(cbProprieties, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton1))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(lblhouse)\n .addComponent(txtNumberOfHouse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jButton3))\n .addGap(9, 9, 9)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblHotel)\n .addComponent(txtHotel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnMortagage))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4)\n .addComponent(txtPrice, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGap(7, 7, 7)\n .addComponent(jButton6)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton7)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton8)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtMortgage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 37, Short.MAX_VALUE)\n .addComponent(jButton5)\n .addGap(4, 4, 4)\n .addComponent(jButton4)\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "6e7006d03d54da2c89866886b374a823", "score": "0.63724285", "text": "@Override\r\n public void valueChanged(ListSelectionEvent e) {\r\n JList cbox = (JList) e.getSource();\r\n \r\n chosenSurvey = uncompStr[cbox.getSelectedIndex()];\r\n fkcourseID = cbox.getSelectedIndex();\r\n }", "title": "" }, { "docid": "5b50f0c1b25f05bd578b1114925e518a", "score": "0.63644123", "text": "private void jComboFacultyItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jComboFacultyItemStateChanged\n // TODO add your handling code here:\n errofaculty.setText(null);\n }", "title": "" }, { "docid": "db76bc13a10dddbe243527574b5eaf7f", "score": "0.63598335", "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 jLabel11 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n txt6 = new javax.swing.JTextField();\n txt2 = new javax.swing.JTextField();\n txt4 = new javax.swing.JTextField();\n txt3 = new javax.swing.JTextField();\n txt5 = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n txt1 = new javax.swing.JTextField();\n txt0 = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jC1 = new javax.swing.JComboBox<>();\n jLabel1 = new javax.swing.JLabel();\n\n setClosable(true);\n setIconifiable(true);\n setMaximizable(true);\n setResizable(true);\n setTitle(\"Semister Defination\");\n\n jPanel1.setBackground(new java.awt.Color(0, 204, 204));\n jPanel1.setForeground(new java.awt.Color(240, 240, 240));\n\n jLabel11.setForeground(new java.awt.Color(255, 0, 51));\n\n jButton2.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jButton2.setForeground(new java.awt.Color(204, 0, 204));\n jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/result/login.jpg\"))); // NOI18N\n jButton2.setText(\"Clear\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jButton1.setForeground(new java.awt.Color(204, 0, 204));\n jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/result/login.jpg\"))); // NOI18N\n jButton1.setText(\"Add\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n txt6.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n\n txt2.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n\n txt4.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n\n txt3.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n\n txt5.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n\n jLabel5.setForeground(new java.awt.Color(0, 0, 255));\n jLabel5.setText(\"(semester Name & number)\");\n\n txt1.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n\n txt0.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n txt0.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n txt0KeyTyped(evt);\n }\n });\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel4.setText(\"No of Semesters\");\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel3.setText(\"Add Semesters.....\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 24)); // NOI18N\n jLabel2.setForeground(new java.awt.Color(255, 255, 255));\n jLabel2.setText(\"Semester Defination\");\n\n jC1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel1.setText(\"Course Name\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jButton1)\n .addGap(140, 140, 140)\n .addComponent(jButton2)\n .addGap(292, 292, 292))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(232, 232, 232)\n .addComponent(jLabel2))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(75, 75, 75)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(51, 51, 51)\n .addComponent(jLabel5))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txt1, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt3, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt5, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(69, 69, 69)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txt4, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt2, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt6, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jC1, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(31, 31, 31)\n .addComponent(jLabel4)\n .addGap(28, 28, 28)\n .addComponent(txt0, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)))))\n .addGap(65, 65, 65))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(97, 97, 97)\n .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 304, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(369, Short.MAX_VALUE)))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addComponent(jLabel2)\n .addGap(25, 25, 25)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jC1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(txt0, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(25, 25, 25)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(26, 26, 26)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txt1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(34, 34, 34)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txt3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(31, 31, 31)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txt5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txt6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(50, 50, 50)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton2)\n .addComponent(jButton1))\n .addContainerGap(28, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(318, 318, 318)\n .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(69, Short.MAX_VALUE)))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n );\n\n pack();\n }", "title": "" }, { "docid": "5d36d971221cd6ba41e03384a702a46d", "score": "0.63591576", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n t1 = new javax.swing.JTextField();\n t2 = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n t3 = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n t4 = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n t5 = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n t6 = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jButton3 = new javax.swing.JButton();\n l1 = new javax.swing.JLabel();\n l2 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n c1 = new javax.swing.JComboBox();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Times New Roman\", 0, 12)); // NOI18N\n jLabel1.setText(\"Name\");\n\n t1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n t1ActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"Length (in feet)\");\n\n t3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n t3ActionPerformed(evt);\n }\n });\n\n jLabel3.setText(\"Width(in inches)\");\n\n jLabel4.setText(\"Height(in inches)\");\n\n jLabel5.setText(\"Pieces\");\n\n t5.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n t5ActionPerformed(evt);\n }\n });\n\n jLabel6.setText(\"Rate\");\n\n jButton1.setText(\"Show Record\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Add Record\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jButton3.setText(\"Exit\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n\n l1.setText(\"Message:\");\n\n jLabel8.setText(\"Select\");\n\n c1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Teak\", \"Sal\", \"Deodar\", \"Mango\" }));\n c1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n c1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(55, 55, 55)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel3)\n .addComponent(jLabel4)\n .addComponent(l1)\n .addComponent(jLabel1))\n .addGap(28, 28, 28))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButton1)\n .addGap(20, 20, 20))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(jLabel8)\n .addGap(18, 18, 18)\n .addComponent(c1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(189, 189, 189)\n .addComponent(l2, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(15, 15, 15)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(t1, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButton2)\n .addGap(38, 38, 38)\n .addComponent(jButton3))\n .addComponent(t2, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(t3, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(t4, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel5)\n .addGap(18, 18, 18)\n .addComponent(t5, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jLabel6)\n .addGap(18, 18, 18)\n .addComponent(t6, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(57, 57, 57))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(12, 12, 12)\n .addComponent(l2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(21, 21, 21)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(t1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(t2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(21, 21, 21)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(t3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(t4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(t5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6)\n .addComponent(t6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel8)\n .addComponent(c1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(l1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2)\n .addComponent(jButton3))\n .addGap(27, 27, 27))\n );\n\n pack();\n }", "title": "" }, { "docid": "4f4efc5032b74268ecfc4815f9f0e776", "score": "0.63558203", "text": "private void setCombobox(){\r\n\t\t\r\n\t\tcomboboxPostalCode = new JComboBox<String>();\r\n\t\taddComponentsToComboBox();\r\n\t\tcomboboxPostalCode.addActionListener(new ActionListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t\tselectedPostalCode = (String) comboboxPostalCode.getSelectedItem();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4d1efde058657986003e2dbc0b251c7a", "score": "0.6353278", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0)\n\t\t\t{\n\t\t\t\tactiveButton(studentwicebutton);\n\t\t\t\tdisableButton(subjectwicebutton);\n\t\t\t\tdisableButton(classwicebutton);\n\t\t\t\tdisableButton(declareresultbutton);\n\t\t\t\tlabel3.setVisible(true);\n\t\t\t\tsubjectorrollcombo.setVisible(true);\n\t\t\t\tlabel3.setText(\"Select Roll Number :\");\n\t\t\t\tfetchdetailsbutton.setVisible(true);\n\t\t\t\tsubjectorrollcombo.setLocation(courcenamecombo.getLocation());\n\t\t\t\tfetchdetailsbutton.setLocation(fetchdetailsbutton.getX(),semoryearcombo.getY());\n\t\t\t\tscrollPane.setLocation(scrollPane.getX(),fetchdetailsbutton.getY()+50);\n\t\t\t\tsubjectorrollcombo.setModel(new DefaultComboBoxModel<String>(new StudentData().getRollNumber(fm.f.getCourceCode(), semoryearcombo.getSelectedIndex())));\t\t\n\t\t\t\tscrollPane.setVisible(false);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "0af7c600fd333247550d87b9077deb86", "score": "0.6346506", "text": "public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) {\n\t\t\t\t int num13=combo13.getSelectionIndex();\r\n\t\t\t\t int num14=combo14.getSelectionIndex();\r\n\t\t\t\t int num15=combo15.getSelectionIndex();\r\n\t\t\t\t\t\r\n\t\t\t\t if(combo12.getSelectionIndex() == 1)\r\n\t\t\t\t {\r\n\t\t\t\t \tif(num13 >=num14)\r\n\t\t\t\t \t{\r\n\t\t\t\t \t\tnum14 = num13+1;\r\n\t\t\t\t \t\tcombo14.select(num14);\r\n\t\t\t\t \t\tcombo15.setText(\"\");\r\n\t\t\t\t \t}\t\t\t \t\r\n\t\t\t\t }\r\n\t\t\t\t else if(combo12.getSelectionIndex() == 2)\r\n\t\t\t\t {\r\n\t\t\t\t \tif(num13>=num14)\r\n\t\t\t\t \t{\r\n\t\t\t\t \t\tnum14 = num13+1;\r\n\t\t\t\t \t\tcombo14.select(num14);\r\n\t\t\t\t \t\tif(num14>=num15||num13>=num15)\r\n\t\t\t\t \t\t{\r\n\t\t\t\t \t\t\tnum15= num14+1;\r\n\t\t\t\t \t\t\tcombo15.select(num15);\r\n\t\t\t\t \t\t}\r\n\t\t\t\t \t}\r\n\t\t\t\t \tif(num13>=num15)\r\n\t\t\t\t \t{\r\n\t\t\t\t \t\tnum15 = num14+1;\r\n\t\t\t\t \t\tcombo15.select(num15);\r\n\t\t\t\t \t}\t\t\t \t\r\n\t\t\t\t }\r\n\t\t\t\t else if(combo12.getSelectionIndex()==0)\r\n\t\t\t\t {\r\n\t\t\t\t \tcombo14.setText(\"\");\r\n\t\t\t\t \tcombo15.setText(\"\");\r\n\t\t\t\t }\t\t\r\n\t\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "15dc0c79012af816813d35f5c4c97533", "score": "0.6345649", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n jPanel1 = new javax.swing.JPanel();\r\n ddcell = new javax.swing.JComboBox();\r\n tbqty = new javax.swing.JTextField();\r\n jLabel4 = new javax.swing.JLabel();\r\n tbscan = new javax.swing.JTextField();\r\n jLabel5 = new javax.swing.JLabel();\r\n btcommit = new javax.swing.JButton();\r\n jLabel6 = new javax.swing.JLabel();\r\n\r\n setBackground(new java.awt.Color(0, 102, 204));\r\n\r\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Job Scan\"));\r\n jPanel1.setName(\"panelmain\"); // NOI18N\r\n\r\n tbqty.addFocusListener(new java.awt.event.FocusAdapter() {\r\n public void focusGained(java.awt.event.FocusEvent evt) {\r\n tbqtyFocusGained(evt);\r\n }\r\n public void focusLost(java.awt.event.FocusEvent evt) {\r\n tbqtyFocusLost(evt);\r\n }\r\n });\r\n\r\n jLabel4.setText(\"Quantity\");\r\n jLabel4.setName(\"lblqty\"); // NOI18N\r\n\r\n tbscan.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n tbscanActionPerformed(evt);\r\n }\r\n });\r\n tbscan.addFocusListener(new java.awt.event.FocusAdapter() {\r\n public void focusGained(java.awt.event.FocusEvent evt) {\r\n tbscanFocusGained(evt);\r\n }\r\n public void focusLost(java.awt.event.FocusEvent evt) {\r\n tbscanFocusLost(evt);\r\n }\r\n });\r\n\r\n jLabel5.setText(\"Scan\");\r\n jLabel5.setName(\"lblscan\"); // NOI18N\r\n\r\n btcommit.setText(\"Commit\");\r\n btcommit.setName(\"btcommit\"); // NOI18N\r\n btcommit.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n btcommitActionPerformed(evt);\r\n }\r\n });\r\n\r\n jLabel6.setText(\"Cell:\");\r\n jLabel6.setName(\"lblcell\"); // NOI18N\r\n\r\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\r\n jPanel1.setLayout(jPanel1Layout);\r\n jPanel1Layout.setHorizontalGroup(\r\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING)\r\n .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING)\r\n .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addComponent(btcommit)\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(tbscan)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(tbqty, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(ddcell, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGap(0, 109, Short.MAX_VALUE)))\r\n .addGap(18, 18, 18))))\r\n );\r\n jPanel1Layout.setVerticalGroup(\r\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(tbscan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLabel5))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jLabel4)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addComponent(tbqty, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(ddcell, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLabel6))))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(btcommit)\r\n .addContainerGap(107, Short.MAX_VALUE))\r\n );\r\n\r\n add(jPanel1);\r\n }", "title": "" }, { "docid": "476a7fd22e393c59b5c7d01334bb01b0", "score": "0.6341224", "text": "@Override\n\t\t\t\t\t\t\tpublic void actionPerformed( final ActionEvent e )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif ( e.getActionCommand().equalsIgnoreCase( \"comboBoxEdited\" ) )\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tfinal boolean valid = checkValid();\n\t\t\t\t\t\t\t\t\tif ( valid )\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\taddCurrentExpressionToHistory();\n\t\t\t\t\t\t\t\t\t\tlaunchCalculation();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "03d7e8a9c1812de2cda559e14733a258", "score": "0.63299525", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\n jTextArea1 = new javax.swing.JTextArea();\n cmbvalue = new javax.swing.JComboBox();\n lbltype = new javax.swing.JTextField();\n\n jTextArea1.setColumns(20);\n jTextArea1.setRows(5);\n jScrollPane1.setViewportView(jTextArea1);\n\n cmbvalue.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n cmbvalue.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Select\" }));\n cmbvalue.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n cmbvalueItemStateChanged(evt);\n }\n });\n\n lbltype.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n lbltype.setText(\"jTextField1\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(lbltype, javax.swing.GroupLayout.DEFAULT_SIZE, 251, Short.MAX_VALUE)\n .addGap(0, 0, 0)\n .addComponent(cmbvalue, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(cmbvalue)\n .addComponent(lbltype, javax.swing.GroupLayout.DEFAULT_SIZE, 31, Short.MAX_VALUE)\n );\n }", "title": "" }, { "docid": "6b8d45d3f34ae1eeba4ce7cc63fdc6e8", "score": "0.63170195", "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 name = new javax.swing.JTextField();\n cancel = new javax.swing.JButton();\n surname = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n symbol = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n check = new javax.swing.JButton();\n jComboBox2 = new javax.swing.JComboBox<>();\n jComboBox1 = new javax.swing.JComboBox<>();\n jComboBox3 = new javax.swing.JComboBox<>();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setIconImage(img.getImage());\n\n jPanel1.setBackground(new java.awt.Color(255, 255, 255));\n\n name.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n\n cancel.setBackground(new java.awt.Color(42, 81, 197));\n cancel.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n cancel.setForeground(new java.awt.Color(255, 255, 255));\n cancel.setText(\"Cancel\");\n cancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cancelActionPerformed(evt);\n }\n });\n\n surname.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel1.setText(\"First Name\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel2.setText(\"Last Name\");\n\n jPanel2.setBackground(new java.awt.Color(42, 81, 197));\n\n symbol.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/logoBar.jpg\"))); // NOI18N\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 0, 36)); // NOI18N\n jLabel6.setForeground(new java.awt.Color(255, 255, 255));\n jLabel6.setText(\"Check patient data\");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addComponent(symbol)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel6)\n .addGap(33, 33, 33))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(symbol, javax.swing.GroupLayout.PREFERRED_SIZE, 76, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(0, 0, Short.MAX_VALUE))\n );\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel5.setText(\"Date of Birth\");\n\n check.setBackground(new java.awt.Color(42, 81, 197));\n check.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n check.setForeground(new java.awt.Color(255, 255, 255));\n check.setText(\"Check Patient\");\n check.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n checkActionPerformed(evt);\n }\n });\n\n jComboBox2.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jComboBox2.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\", \"16\", \"17\", \"18\", \"19\", \"20\", \"21\", \"22\", \"23\", \"24\", \"25\", \"26\", \"27\", \"28\", \"29\", \"30\", \"31\", \" \", \" \" }));\n\n jComboBox1.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October \", \"November \", \"December\" }));\n jComboBox1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBox1ActionPerformed(evt);\n }\n });\n\n jComboBox3.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jComboBox3.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"2000\", \"1999\", \"1998\", \"1997\", \"1996\", \"1995\", \"1994\", \"1993\", \"1992\", \"1991\", \"1990\", \"1989\", \"1988\", \"1987\", \"1986\", \"1985\", \"1984\", \"1983\", \"1982\", \"1981\", \"1980\", \"1979\", \"1978\", \"1977\", \"1976\", \"1975\", \"1974\", \"1973\", \"1972\", \"1971\", \"1970\", \"1969\", \"1968\", \"1967\", \"1966\", \"1965\", \"1964\", \"1963\", \"1962\", \"1961\", \"1960\", \"1959\", \"1958\", \"1957\", \"1956\", \"1955\", \"1954\", \"1953\", \"1952\", \"1951\", \"1950\", \"1949\", \"1948\", \"1947\", \"1946\", \"1945\", \"1944\", \"1943\", \"1942\", \"1941\", \"1940\", \"1939\", \"1938\", \"1937\", \"1936\", \"1935\", \"1934\", \"1933\", \"1932\", \"1931\", \"1930\", \"1929\", \"1928\", \"1927\", \"1926\", \"1925\", \"1924\", \"1923\", \"1922\", \"1921\", \"1920\", \"1919\", \"1918\", \"1917\", \"1916\", \"1915\", \"1914\", \"1913\", \"1912\", \"1911\", \"1910\", \"1909\", \"1908\", \"1907\", \"1906\", \"1905\", \"1904\", \"1903\", \"1902\", \"1901\" }));\n jComboBox3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBox3ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(cancel, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33)\n .addComponent(check))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 32, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(surname, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 310, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(name, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 310, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE)))))\n .addGap(22, 22, 22))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(31, 31, 31)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(name, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(surname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jLabel5))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cancel)\n .addComponent(check))\n .addGap(24, 24, 24))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "e62d94b8c2aecb1c8b3305532d613ebb", "score": "0.6306951", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\n equTable = new javax.swing.JTable();\n jLabel1 = new javax.swing.JLabel();\n fliterCom = new javax.swing.JComboBox<>();\n jButton1 = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n\n equTable.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null},\n {null, null, null},\n {null, null, null},\n {null, null, null}\n },\n new String [] {\n \"Equipemnt\", \"Location\", \"Status\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false, false\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n jScrollPane1.setViewportView(equTable);\n\n jLabel1.setFont(new java.awt.Font(\"Lucida Grande\", 0, 14)); // NOI18N\n jLabel1.setText(\"Select your fliter:\");\n\n fliterCom.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n fliterCom.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n fliterComActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"<< Back\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jLabel2.setFont(new java.awt.Font(\"Lucida Grande\", 1, 24)); // NOI18N\n jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel2.setText(\"Check Equipment Status\");\n\n jButton2.setText(\"jButton2\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 78, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 568, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(54, 54, 54))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jButton2)\n .addGap(112, 112, 112))))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addComponent(jButton1))\n .addGroup(layout.createSequentialGroup()\n .addGap(285, 285, 285)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(fliterCom, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))))\n .addGap(0, 0, Short.MAX_VALUE)))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(17, 17, 17)\n .addComponent(jButton1)\n .addGap(67, 67, 67)\n .addComponent(jLabel2)\n .addGap(40, 40, 40)\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(fliterCom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(27, 27, 27)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(30, 30, 30)\n .addComponent(jButton2)\n .addContainerGap(89, Short.MAX_VALUE))\n );\n }", "title": "" }, { "docid": "12101c6f941fb0c0a70d5720a4aba7d4", "score": "0.6306728", "text": "void selectComboBox() {\n String MaSP = (String) cboSanPham.getSelectedItem();\n SanPham SanPham = cddao.findById(MaSP);\n txtSoLuong.setText(String.valueOf(SanPham.getSoLuong()));\n txtGiaTien.setText(String.valueOf(SanPham.getGiaTien()));\n }", "title": "" } ]
d860df94748c357fe4730cafd6059529
Returns whether this kit acts like a First Join Kit.
[ { "docid": "89752974580410f7390727350bb8e3de", "score": "0.7901401", "text": "boolean isFirstJoinKit();", "title": "" } ]
[ { "docid": "c8671b4fde1e440a8114d842417bc7c1", "score": "0.62551177", "text": "public boolean isJoined() {\r\n\t\treturn joined;\r\n\t}", "title": "" }, { "docid": "2495dde3aeb30fc6f4f3ca1927f75b32", "score": "0.60088176", "text": "public static boolean isAttemptedPartyJoin() { return attemptedPartyJoin; }", "title": "" }, { "docid": "0881b24ba9cbf3d864d35d43967a60c1", "score": "0.5831623", "text": "public boolean canPlayersJoin(){\r\n\t\treturn isWorldSelected();\r\n\t}", "title": "" }, { "docid": "d7c814615209c8352366d5fdad4ee528", "score": "0.5667795", "text": "public boolean isFirst(){\n return (liSons == liHeritage);\n }", "title": "" }, { "docid": "bc43acc72f12168ec8fc45fab62e2922", "score": "0.563394", "text": "public boolean hasJoinRoomReq() {\n return contentCase_ == 106;\n }", "title": "" }, { "docid": "e8d2ec3699712766251ea1c9b7330206", "score": "0.55986434", "text": "public boolean hasJoinRoomReq() {\n return contentCase_ == 106;\n }", "title": "" }, { "docid": "95ba1898529ebac8d14c39ea9c5b1aca", "score": "0.5568268", "text": "public final boolean hasJoinedAsSpectator() {\n\t\treturn joinedAsSpectator;\n\t}", "title": "" }, { "docid": "c28c2fea34f8af1deac05f9894e50681", "score": "0.55681396", "text": "@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = \"WA_NOT_IN_LOOP\")\n boolean attemptToJoin() throws MemberStartupException {\n SearchState<ID> state = searchState;\n\n // send a join request to the coordinator and wait for a response\n ID coord = state.possibleCoordinator;\n if (state.alreadyTried.contains(coord)) {\n logger.info(\"Probable coordinator is still {} - waiting for a join-response\", coord);\n } else {\n logger.info(\"Attempting to join the distributed system through coordinator \" + coord\n + \" using address \" + localAddress);\n int port = services.getHealthMonitor().getFailureDetectionPort();\n JoinRequestMessage<ID> req = new JoinRequestMessage<>(coord, localAddress,\n services.getAuthenticator().getCredentials(coord), port,\n services.getMessenger().getRequestId());\n services.getMessenger().send(req);\n }\n\n JoinResponseMessage<ID> response;\n try {\n response = waitForJoinResponse();\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n return false;\n }\n\n if (response == null) {\n if (!isJoined) {\n logger.debug(\"received no join response\");\n }\n return isJoined;\n }\n\n logger.info(\"received join response {}\", response);\n joinResponse[0] = null;\n String failReason = response.getRejectionMessage();\n if (failReason != null) {\n if (failReason.contains(\"Rejecting the attempt of a member using an older version\")\n || failReason.contains(\"15806\")\n || failReason.contains(\"ForcedDisconnectException\")) {\n throw new MemberStartupException(failReason);\n }\n throw new SecurityException(failReason);\n }\n\n throw new RuntimeException(\"Join Request Failed with response \" + response);\n }", "title": "" }, { "docid": "638f4e4e1dbfab4b4617eeff6d3e0c28", "score": "0.5518561", "text": "private boolean attFirstThrone(){\n\t\tfor(int player : model.getThrone()){\n\t\t\tif(player==attFamily.getPlayer()){\n\t\t\t\treturn true;}\n\t\t\telse if(player==defFamily.getPlayer()){\n\t\t\t\treturn false;}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "1c2e2da7225e3c48bf28bdb78550c412", "score": "0.5492669", "text": "public Boolean getJoinState() {\n return this.JoinState;\n }", "title": "" }, { "docid": "24ab8c3ec6599c2c4c8293cec60a28b6", "score": "0.5483515", "text": "public boolean isFirstTower() {\n\t\treturn firstTower;\n\t}", "title": "" }, { "docid": "e0dceb6a91d2f4b213ae4bf54788317f", "score": "0.54621834", "text": "public boolean isBreakOnFirst() {\r\n return breakOnFirst;\r\n }", "title": "" }, { "docid": "1b4d6a3472dac0e585a64d3ebd334059", "score": "0.54363114", "text": "public boolean playersCanJoinDuringGame();", "title": "" }, { "docid": "1709717107bbb70d3bcb770a7901e024", "score": "0.54361933", "text": "@JsonIgnore\r\n public boolean isInitial() {\r\n return this.getJourney() != null && \r\n this.lang != null && \r\n this.component == null && \r\n \t\t// This #initiateMicroService check has been added because we need to open a micro-service from another\r\n // and we only require journey and lang parameters to load initial screen but mobile is also sending some extra params.\r\n // Due to this, this extra param check has been added. Once mobile team removes the extra params coming in this scenario, \r\n //we can remove the below or condition.\r\n (this.params == null || (!this.params.isEmpty() && this.params.containsKey(\"#initiateMicroService\"))) &&\r\n this.processId == null && \r\n this.screen == null;\r\n }", "title": "" }, { "docid": "5549f052df0ba6ff2d53c048f2a8cfa0", "score": "0.5432229", "text": "public boolean isFirstPlayers() throws RemoteException;", "title": "" }, { "docid": "8beab9d2f2622d68e1bbdc0d23ab11d1", "score": "0.5401969", "text": "boolean hasFirstServer();", "title": "" }, { "docid": "7dfaaa1bdff4360c45df2f3924a608df", "score": "0.5397106", "text": "public boolean hasJoinBufferSize() {\n return joinBufferSizeBuilder_ != null || joinBufferSize_ != null;\n }", "title": "" }, { "docid": "2b2d5b38b1618ae8189504e6ba8da1e2", "score": "0.53557396", "text": "public boolean hasChainHead() {\n return chainHeadBuilder_ != null || chainHead_ != null;\n }", "title": "" }, { "docid": "6fc4b6afd0b8ab6501169144d291a77c", "score": "0.5351911", "text": "public boolean hasChainHead() {\n return chainHead_ != null;\n }", "title": "" }, { "docid": "0519639e2ac0526fe4afe048118e7c52", "score": "0.53510904", "text": "public boolean isMainChain() {\n return 0 == mainChain;\n }", "title": "" }, { "docid": "4d55aeed9d53f5f0c07c10229ce4272b", "score": "0.53458184", "text": "public boolean isFirst() {\n return !hasPrevious();\n }", "title": "" }, { "docid": "50006261066c5162c2d1ad81ef444d77", "score": "0.534416", "text": "public boolean isFollowedBy() {\n Logger.enter(this, \"isFollowedBy\", new ArrayList<>());\n boolean ret = false;\n if(followedBy!=null) ret = true;\n Logger.exit(this, \"isFollowedBy\", ret);\n \treturn ret;\n }", "title": "" }, { "docid": "8bc1d588bae05765e1b3a08a9db4f576", "score": "0.53409517", "text": "public boolean hasStartActivity() {\n\t\treturn (this.startActivity != null);\n\t}", "title": "" }, { "docid": "14828d1892fd83dd70c207c6219b5cc8", "score": "0.5320195", "text": "final public boolean is_junction() {\r\n\t\treturn chained_forwardN() > 1 || chained_backwardN() > 1;\r\n\t}", "title": "" }, { "docid": "531c0d5693c4ccb74b0be25e04334a27", "score": "0.5317303", "text": "public boolean isIyek_first() {\n return iyek_first;\n }", "title": "" }, { "docid": "21ce99882e1f36fc9a362515aaff9651", "score": "0.53143215", "text": "public final boolean isStarted() {\n return myStartedForSending || myStartedForReceiving;\n }", "title": "" }, { "docid": "bc564b3c0854ab08081dbade17121ebb", "score": "0.5302155", "text": "public boolean isLunch() {\n\n boolean r = false;\n\n if (this.typeSession == 1) {\n r = true;\n }\n\n return r;\n }", "title": "" }, { "docid": "38b971a919bea5686a694272dd65a1e5", "score": "0.5262107", "text": "public boolean hasIsFirst() {\n return fieldSetFlags()[6];\n }", "title": "" }, { "docid": "6584fb65506122a61bd6c42d72fc48ae", "score": "0.5261777", "text": "protected static boolean isLeader() {\n return Boolean.valueOf(System.getProperty(\"kafka.broker.stats.sender\"));\n }", "title": "" }, { "docid": "4ce5ba46b68afe13419319c3890a1db6", "score": "0.5258584", "text": "public boolean isLeader() {\n return leader;\n }", "title": "" }, { "docid": "b3b3c54d0cdf3b1c89e1871c8ad6810e", "score": "0.52568716", "text": "public boolean roomToJoin(){\r\n\t\tif (this.isAdmin()){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn (this.getCurUsers() < this.getMaxUsers());\r\n\t}", "title": "" }, { "docid": "df8f94ecec1ae291d744ad8de289f46f", "score": "0.5243452", "text": "public boolean hasStart() {\n return startBuilder_ != null || start_ != null;\n }", "title": "" }, { "docid": "2a2cdc59b70adb6c5dac50bf94ef1302", "score": "0.5240973", "text": "public boolean isJoinableByClient(ServerClient client) {\n \tif (this.status.equals(\"STARTED\"))\n \t\treturn false;\n \telse if (players.indexOf(client) != -1)\n \t\treturn false;\n \telse if (isOpen() && players.size() <= 4)\n \t\treturn true;\n \telse if (!isOpen() && isPayerInvited(client))\n \t\treturn true;\n \telse \n \t\treturn false;\n }", "title": "" }, { "docid": "9dec2140d484fa38ea343a4037900577", "score": "0.5237022", "text": "public boolean isLeftStickFirstTouched()\n {\n return _firstTouchLeft;\n }", "title": "" }, { "docid": "3cb76fb603c3d635c8494cb3b09119d1", "score": "0.52157474", "text": "public boolean isFirst();", "title": "" }, { "docid": "5f5dbe11cf8c5e3b041ea910b292a472", "score": "0.52038723", "text": "public boolean isFirstInhibitor() {\n\t\treturn firstInhibitor;\n\t}", "title": "" }, { "docid": "4ff971a908b96e21e4b6a3b4a0659ca3", "score": "0.51940036", "text": "public boolean isGroupStart() {\n return groupExecution.equalsIgnoreCase(\"all\") ||\n groupExecution.equalsIgnoreCase(\"start\");\n }", "title": "" }, { "docid": "075dcbbe642fb2f3e6f1c05a8f76742d", "score": "0.5190503", "text": "public boolean isLeader() {\n\t\treturn isLeader;\n\t}", "title": "" }, { "docid": "d52bd6549f1dad29eca360df43638c31", "score": "0.51809114", "text": "public boolean isFirst()\n {\n return msoDrawingRecord.isFirst();\n }", "title": "" }, { "docid": "a7d5e632cdb9d78a918f1d76ab428ff1", "score": "0.51674616", "text": "public abstract boolean isSentOnFirstRequest();", "title": "" }, { "docid": "a09c1caf464f3d858e12f0ac5140f420", "score": "0.51665324", "text": "boolean hasTargetSeat();", "title": "" }, { "docid": "70fc7aeb035ca52314677c4f46f37701", "score": "0.51495624", "text": "public boolean isMine() {\n return getSubmitter().equalsIgnoreCase(\"ME\");\n }", "title": "" }, { "docid": "6ccd1f56c654d6ba8c701a5248186546", "score": "0.51379335", "text": "public boolean hasStartGameReq() {\n return contentCase_ == 110;\n }", "title": "" }, { "docid": "7b5f4f866de025e1a442ad39a20ecc32", "score": "0.51202965", "text": "@java.lang.Override\n public boolean hasJoinBufferSize() {\n return joinBufferSize_ != null;\n }", "title": "" }, { "docid": "c6f65820be1358316580ba677e8842e7", "score": "0.50925684", "text": "public boolean hasStartGameReq() {\n return contentCase_ == 110;\n }", "title": "" }, { "docid": "398fa4e0f9b8c81babe53a1683c40b97", "score": "0.5089253", "text": "private boolean playerHasStarted() {\n\n return env.getSharedData()\n .containsKey(searchConf.getPlayerIDasString());\n }", "title": "" }, { "docid": "bc0a8ac72a7111c7fd17b8f271197146", "score": "0.5077361", "text": "public boolean isSetStart()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(START$6) != null;\r\n }\r\n }", "title": "" }, { "docid": "cfb6dc2ecdc2933c2645fb67793b6390", "score": "0.5070583", "text": "public boolean isFirstClassFull()\r\n {\r\n for(int y = 0; y < this.firstClassRows; y++)\r\n {\r\n for(int x = 0; x < this.seatNumber; x++)\r\n {\r\n if(this.firstClass[x][y].isSeatTaken() == false)\r\n {\r\n return false;\r\n }\r\n }\r\n }\r\n \r\n return true;\r\n }", "title": "" }, { "docid": "b09f1e7127504de44403d9632fb3228d", "score": "0.5069187", "text": "protected ToggleGUITestObject moreJoin_first() \n\t{\n\t\treturn new ToggleGUITestObject(\n getMappedTestObject(\"moreJoin_first\"));\n\t}", "title": "" }, { "docid": "47559ec0fb540cbcf21fff2bee2c7a6f", "score": "0.5059822", "text": "public boolean isStart(){\n\t\treturn this.isStart;\n\t}", "title": "" }, { "docid": "129450834b1e19c99d3e4d363967b91b", "score": "0.50583154", "text": "public boolean hasConnect() {\n return connectBuilder_ != null || connect_ != null;\n }", "title": "" }, { "docid": "129450834b1e19c99d3e4d363967b91b", "score": "0.50583154", "text": "public boolean hasConnect() {\n return connectBuilder_ != null || connect_ != null;\n }", "title": "" }, { "docid": "0f636caecc993da0257b6996f1a59b54", "score": "0.50565255", "text": "public boolean isFirst() {\n\t\treturn index == 1;\n\t}", "title": "" }, { "docid": "4d0beaa9c18ff950807984951e681ef9", "score": "0.50537544", "text": "public boolean isStart() {\n return start.get();\n }", "title": "" }, { "docid": "a810eb74ba0af113c5762a8a7e73763b", "score": "0.50528693", "text": "public String getCanjoin() {\n return canjoin;\n }", "title": "" }, { "docid": "108d1a66a82953d8e03ab10b3d9a1a3d", "score": "0.50521636", "text": "@Override\n\tpublic boolean isLeader() {\n\t\treturn _challengeMember.isLeader();\n\t}", "title": "" }, { "docid": "b3480f2bd0d3eaf0cd3c9a968cf37ef8", "score": "0.50463945", "text": "public boolean getIsFirst() {\n\t\treturn isFirst;\n\t}", "title": "" }, { "docid": "39d27dbbfb1b4926a191763db9198d33", "score": "0.5035837", "text": "@Override\r\n\tpublic boolean isFirst() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e69b882a77baf90c0395432bd25dd1d4", "score": "0.50302243", "text": "private boolean isLocalLeader(DeviceId deviceId) {\n if (!mastershipService.isLocalMaster(deviceId)) {\n // When the device is available we just check the mastership\n if (deviceService.isAvailable(deviceId)) {\n return false;\n }\n // Fallback with Leadership service - device id is used as topic\n NodeId leader = leadershipService.runForLeadership(\n deviceId.toString()).leaderNodeId();\n // Verify if this node is the leader\n return clusterService.getLocalNode().id().equals(leader);\n }\n return true;\n }", "title": "" }, { "docid": "10c8b4fac79e14f66187fa5d8cb7fb09", "score": "0.50273395", "text": "@Override\n public boolean join(IoSession session) {\n synchronized (playerLock) {\n if (player1 == null) {\n player1 = session;\n return true;\n }\n else if (player2 == null) {\n player2 = session;\n return true;\n }\n return false;\n }\n }", "title": "" }, { "docid": "4823f5b2bbf291adef88ab2453e7d332", "score": "0.50212044", "text": "public boolean bookFirstAvailableSeat() {\n return bookFirstAvailableSeats(1);\n }", "title": "" }, { "docid": "360215ae0c2d7e7d31e423ec63a5f7cc", "score": "0.502087", "text": "public boolean isFirstOfLoop() {\n\n\t\tBasicBlock entry = customData.getBB(staticContextData\n\t\t\t\t.getRegionStart());\n\n\t\tfor (BasicBlock bb : entry.getPredecessors()) {\n\t\t\tif (dominatormapping.get(bb).contains(entry)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "03e2ee5e381450f6cd25cbb6e15e114f", "score": "0.50201374", "text": "public static boolean isConnected() {\n return session.contains(SocialAuthC.USER);\n }", "title": "" }, { "docid": "5c0cc652ea13d0cb95de35e60ace42eb", "score": "0.50179154", "text": "public boolean lastTurnBegins() {\n return lastPlayer() == null && currentPlayerState().carCount() <= MINIMUM_CAR_FOR_LAST_TURN_BEGIN;\n }", "title": "" }, { "docid": "403371b283f562521df3f86a840d785b", "score": "0.5016446", "text": "public boolean isLeafUltrapeerConnection()\n {\n return connectionType == CONNECTION_LEAF_UP;\n }", "title": "" }, { "docid": "fdddbf6360078a613935329c41918738", "score": "0.5015235", "text": "public boolean isShared() {\r\n\t\treturn shared == true ? true : getCreatedBy() == null;\r\n\t}", "title": "" }, { "docid": "d18c34d2fc8d5723af12ddd31586eea9", "score": "0.501375", "text": "public final native boolean isShowFirstLabel() /*-{\n\t\treturn showFirstLabel;\n\t}-*/;", "title": "" }, { "docid": "f4b5ba9434741794d9cb77a079ce674a", "score": "0.5009098", "text": "public boolean isDiagnoseKeratokonus() {\n return type == DiagnoseType.KERATOCONUS;\n }", "title": "" }, { "docid": "e5e9f5988c9338f7eef2070bc8c7db06", "score": "0.5007411", "text": "public boolean getjoined(){\n return this.joined;\n }", "title": "" }, { "docid": "5dc9bbde1cc60abdcebe937d001dae24", "score": "0.5002935", "text": "public static boolean getFirstRun()\n\t{\n\t\treturn getBoolean(KEY_IS_FIRST_RUN, true);\n\t}", "title": "" }, { "docid": "21bc9920c31a8eeac28b8453fb656bf2", "score": "0.5001682", "text": "public boolean isOn()\n {\n return key.isFilled();\n }", "title": "" }, { "docid": "97e89d7132c4b44e6197d295f08e73f5", "score": "0.49989802", "text": "public boolean isStart() {\n return start;\n }", "title": "" }, { "docid": "97e89d7132c4b44e6197d295f08e73f5", "score": "0.49989802", "text": "public boolean isStart() {\n return start;\n }", "title": "" }, { "docid": "cd99289cf46ed15d06b7b550d5b978ab", "score": "0.49983743", "text": "@Override\n\tpublic boolean isBelong(WiFi wifi) {\n\t\treturn SSID.toUpperCase().equals(wifi.getSSID().toUpperCase()) || wifi.getSSID().toUpperCase().contains(SSID.toUpperCase());\n\t}", "title": "" }, { "docid": "ebaef230a99f6ed807c323a4e4fe9a43", "score": "0.49951294", "text": "public boolean isBoneTrack() {\r\n boolean result = selected instanceof BoneTrack;\r\n return result;\r\n }", "title": "" }, { "docid": "21bbd037b5198095191672894eb6c3a3", "score": "0.49879903", "text": "public boolean isStart() {\r\n return start;\r\n }", "title": "" }, { "docid": "088343a9cfeb454fad43669485c74cde", "score": "0.49830735", "text": "@Override\n\tpublic boolean canStartConnection(ICreateConnectionContext context) {\n if (getClaim(context.getSourceAnchor()) != null) {\n return true;\n }\n return false;\n\t}", "title": "" }, { "docid": "653370fe2423f762640a5be26a2c7b54", "score": "0.49825323", "text": "final public boolean on_single_path() {\r\n\t\treturn chained_forwardN() == 1 && chained_backwardN() == 1; \r\n\t}", "title": "" }, { "docid": "cac6405224b1785c2375237cdfc8f0b2", "score": "0.49761435", "text": "public boolean needsLocalKeyPair()\n\t{\n\t\tif (localKeyPair != null)\n\t\t\treturn !localKeyPair.hasPrivateKey();\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "465528998785876317a2709ef555e266", "score": "0.49721453", "text": "public boolean isSetChat() {\n return this.chat != null;\n }", "title": "" }, { "docid": "f5f33ec55d6d57ef417738e975f7d8ab", "score": "0.4970972", "text": "@Override\r\n\tpublic boolean roomJoin(IClient arg0, IScope arg1) {\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "ab07917e9d90cc2bbde2375d0523699a", "score": "0.49689853", "text": "public boolean hasStart() {\n return start_ != null;\n }", "title": "" }, { "docid": "886e680aab171e026ef96b54d0cd25e3", "score": "0.4966976", "text": "public boolean isSinglePlayer() {\n return singlePlayer;\n }", "title": "" }, { "docid": "ef4f9ad415f43fb6b90a5112da59dab1", "score": "0.49606314", "text": "public boolean hasLinkedTo() {\n return fieldSetFlags()[0];\n }", "title": "" }, { "docid": "30dd12a5c5b6e1bea81600759d4c09d2", "score": "0.49571663", "text": "public boolean isStart() {\r\n return this.isStart;\r\n }", "title": "" }, { "docid": "b9964d79cdb362b3c986670cad1f3e87", "score": "0.49464104", "text": "public boolean isTargetted() {\n return getGrade().isTarget();\n }", "title": "" }, { "docid": "a71345cc75389ed9481263f3dbdc691f", "score": "0.49461895", "text": "public java.lang.Boolean getIsFirst() {\n return isFirst;\n }", "title": "" }, { "docid": "e4f443975bcf9463967304f587efa150", "score": "0.49459285", "text": "public boolean isSwarming() {\n\t\treturn this.centroid != null;\n\t}", "title": "" }, { "docid": "318e1cbaf924238dc9d59c5dcc5c7114", "score": "0.49387777", "text": "public boolean isConnectedToDiscord(){\n if(jda == null){\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "e7b748915bc01da592971d7d56dd2894", "score": "0.49369928", "text": "public boolean hasConnect() {\n return connect_ != null;\n }", "title": "" }, { "docid": "e7b748915bc01da592971d7d56dd2894", "score": "0.49369928", "text": "public boolean hasConnect() {\n return connect_ != null;\n }", "title": "" }, { "docid": "d513e8219e37e108f8e045db1cff6d6a", "score": "0.49328944", "text": "public boolean isSetStart() {\n return this.start != null;\n }", "title": "" }, { "docid": "1723b332f7f9aac312be7a6608ef5a42", "score": "0.49327743", "text": "@Override\r\n\tpublic boolean appJoin(IClient arg0, IScope arg1) {\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "08b669b4048062300c8f4daf8e68167a", "score": "0.49311423", "text": "public boolean isLinkingMode() {\n\t\treturn (lineStart != null);\n\t}", "title": "" }, { "docid": "706d85f213bec0658685024e6b8dcd30", "score": "0.49301663", "text": "boolean isFirst();", "title": "" }, { "docid": "706d85f213bec0658685024e6b8dcd30", "score": "0.49301663", "text": "boolean isFirst();", "title": "" }, { "docid": "8fc33204b9a4a8ac340ac64450bc0d88", "score": "0.49282882", "text": "public boolean isStarting() {\n // I know this is a raw superhack, but this is the only one I was able to invent so as it would be simple :D\n StringWriter sw = new StringWriter();\n new Exception().printStackTrace(new PrintWriter(sw));\n String stacktrace = sw.toString();\n // liferay is also starting\n return stacktrace.contains(\"weblogic.servlet.internal.StubSecurityHelper.createServlet(\");\n }", "title": "" }, { "docid": "2ca9bbb03db2b85063ebb27b6a2f9faa", "score": "0.4924466", "text": "public boolean isFirstDragon() {\n\t\treturn firstDragon;\n\t}", "title": "" }, { "docid": "2f5ddd7a8be82f2ba8dd4dba31471ccf", "score": "0.4923185", "text": "public boolean isSetHead() {\n return this.head != null;\n }", "title": "" }, { "docid": "d80c6b0bfed7a12720827f2b7c3013d5", "score": "0.4911463", "text": "public java.lang.Boolean getIsFirst() {\n return isFirst;\n }", "title": "" } ]
59fb71b5e3d3210de8bce48e304c04fb
Constructs an instance of GrpcKeywordPlanNegativeKeywordServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
[ { "docid": "24fbd5a4543f0f9e1a5403e6b6cef8a1", "score": "0.8847674", "text": "protected GrpcKeywordPlanNegativeKeywordServiceStub(\n KeywordPlanNegativeKeywordServiceStubSettings settings, ClientContext clientContext)\n throws IOException {\n this(settings, clientContext, new GrpcKeywordPlanNegativeKeywordServiceCallableFactory());\n }", "title": "" } ]
[ { "docid": "7c94abae0feb135135a25b9bd26af11b", "score": "0.80609655", "text": "protected GrpcKeywordPlanNegativeKeywordServiceStub(\n KeywordPlanNegativeKeywordServiceStubSettings settings,\n ClientContext clientContext,\n GrpcStubCallableFactory callableFactory)\n throws IOException {\n this.callableFactory = callableFactory;\n\n GrpcCallSettings<GetKeywordPlanNegativeKeywordRequest, KeywordPlanNegativeKeyword>\n getKeywordPlanNegativeKeywordTransportSettings =\n GrpcCallSettings\n .<GetKeywordPlanNegativeKeywordRequest, KeywordPlanNegativeKeyword>newBuilder()\n .setMethodDescriptor(getKeywordPlanNegativeKeywordMethodDescriptor)\n .build();\n GrpcCallSettings<\n MutateKeywordPlanNegativeKeywordsRequest, MutateKeywordPlanNegativeKeywordsResponse>\n mutateKeywordPlanNegativeKeywordsTransportSettings =\n GrpcCallSettings\n .<MutateKeywordPlanNegativeKeywordsRequest,\n MutateKeywordPlanNegativeKeywordsResponse>\n newBuilder()\n .setMethodDescriptor(mutateKeywordPlanNegativeKeywordsMethodDescriptor)\n .build();\n\n this.getKeywordPlanNegativeKeywordCallable =\n callableFactory.createUnaryCallable(\n getKeywordPlanNegativeKeywordTransportSettings,\n settings.getKeywordPlanNegativeKeywordSettings(),\n clientContext);\n this.mutateKeywordPlanNegativeKeywordsCallable =\n callableFactory.createUnaryCallable(\n mutateKeywordPlanNegativeKeywordsTransportSettings,\n settings.mutateKeywordPlanNegativeKeywordsSettings(),\n clientContext);\n\n backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());\n }", "title": "" }, { "docid": "e9fd2ce26696bd4887a1924973e3e814", "score": "0.6609379", "text": "public static KeywordPlanServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<KeywordPlanServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<KeywordPlanServiceStub>() {\n @java.lang.Override\n public KeywordPlanServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new KeywordPlanServiceStub(channel, callOptions);\n }\n };\n return KeywordPlanServiceStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "613458f6c1dde24cd71bef46b8c89b8b", "score": "0.5670591", "text": "public static KeywordPlanServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<KeywordPlanServiceBlockingStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<KeywordPlanServiceBlockingStub>() {\n @java.lang.Override\n public KeywordPlanServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new KeywordPlanServiceBlockingStub(channel, callOptions);\n }\n };\n return KeywordPlanServiceBlockingStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "3657673dadf5364d054b37390a9b601c", "score": "0.537349", "text": "public static KeywordPlanServiceFutureStub newFutureStub(\n io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<KeywordPlanServiceFutureStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<KeywordPlanServiceFutureStub>() {\n @java.lang.Override\n public KeywordPlanServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new KeywordPlanServiceFutureStub(channel, callOptions);\n }\n };\n return KeywordPlanServiceFutureStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "9cefa194b885d48ecbb4398d008e8ceb", "score": "0.5298333", "text": "protected GrpcKeyManagementServiceStub(\n KeyManagementServiceStubSettings settings, ClientContext clientContext) throws IOException {\n this(settings, clientContext, new GrpcKeyManagementServiceCallableFactory());\n }", "title": "" }, { "docid": "962d38dfaa661bb8aa62227944a8235d", "score": "0.5165006", "text": "protected GrpcTranslationServiceStub(\n TranslationServiceStubSettings settings, ClientContext clientContext) throws IOException {\n this(settings, clientContext, new GrpcTranslationServiceCallableFactory());\n }", "title": "" }, { "docid": "c974d51da5a0c33e3fbf4364a878063f", "score": "0.5038796", "text": "Negative createNegative();", "title": "" }, { "docid": "2c9006a38e0deaee2cda9457cb76c7c4", "score": "0.48999792", "text": "public static SpannerStub newStub(io.grpc.Channel channel) {\n return new SpannerStub(channel);\n }", "title": "" }, { "docid": "9a60fe124f47feff72856c38fda8735b", "score": "0.4786661", "text": "protected GrpcVideoStitcherServiceStub(\n VideoStitcherServiceStubSettings settings, ClientContext clientContext) throws IOException {\n this(settings, clientContext, new GrpcVideoStitcherServiceCallableFactory());\n }", "title": "" }, { "docid": "b96dd2d8b1b0e75a46e822c356a5df66", "score": "0.47352198", "text": "protected ServiceUsageClient(ServiceUsageSettings settings) throws IOException {\n this.settings = settings;\n this.stub = ((ServiceUsageStubSettings) settings.getStubSettings()).createStub();\n this.operationsClient =\n com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub());\n this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub());\n }", "title": "" }, { "docid": "e396ef25b89f16d933034433e98e0690", "score": "0.45816588", "text": "protected GrpcVideoStitcherServiceStub(\n VideoStitcherServiceStubSettings settings,\n ClientContext clientContext,\n GrpcStubCallableFactory callableFactory)\n throws IOException {\n this.callableFactory = callableFactory;\n this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);\n\n GrpcCallSettings<CreateCdnKeyRequest, Operation> createCdnKeyTransportSettings =\n GrpcCallSettings.<CreateCdnKeyRequest, Operation>newBuilder()\n .setMethodDescriptor(createCdnKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListCdnKeysRequest, ListCdnKeysResponse> listCdnKeysTransportSettings =\n GrpcCallSettings.<ListCdnKeysRequest, ListCdnKeysResponse>newBuilder()\n .setMethodDescriptor(listCdnKeysMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetCdnKeyRequest, CdnKey> getCdnKeyTransportSettings =\n GrpcCallSettings.<GetCdnKeyRequest, CdnKey>newBuilder()\n .setMethodDescriptor(getCdnKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DeleteCdnKeyRequest, Operation> deleteCdnKeyTransportSettings =\n GrpcCallSettings.<DeleteCdnKeyRequest, Operation>newBuilder()\n .setMethodDescriptor(deleteCdnKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<UpdateCdnKeyRequest, Operation> updateCdnKeyTransportSettings =\n GrpcCallSettings.<UpdateCdnKeyRequest, Operation>newBuilder()\n .setMethodDescriptor(updateCdnKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"cdn_key.name\", String.valueOf(request.getCdnKey().getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateVodSessionRequest, VodSession> createVodSessionTransportSettings =\n GrpcCallSettings.<CreateVodSessionRequest, VodSession>newBuilder()\n .setMethodDescriptor(createVodSessionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetVodSessionRequest, VodSession> getVodSessionTransportSettings =\n GrpcCallSettings.<GetVodSessionRequest, VodSession>newBuilder()\n .setMethodDescriptor(getVodSessionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListVodStitchDetailsRequest, ListVodStitchDetailsResponse>\n listVodStitchDetailsTransportSettings =\n GrpcCallSettings.<ListVodStitchDetailsRequest, ListVodStitchDetailsResponse>newBuilder()\n .setMethodDescriptor(listVodStitchDetailsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetVodStitchDetailRequest, VodStitchDetail>\n getVodStitchDetailTransportSettings =\n GrpcCallSettings.<GetVodStitchDetailRequest, VodStitchDetail>newBuilder()\n .setMethodDescriptor(getVodStitchDetailMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListVodAdTagDetailsRequest, ListVodAdTagDetailsResponse>\n listVodAdTagDetailsTransportSettings =\n GrpcCallSettings.<ListVodAdTagDetailsRequest, ListVodAdTagDetailsResponse>newBuilder()\n .setMethodDescriptor(listVodAdTagDetailsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetVodAdTagDetailRequest, VodAdTagDetail> getVodAdTagDetailTransportSettings =\n GrpcCallSettings.<GetVodAdTagDetailRequest, VodAdTagDetail>newBuilder()\n .setMethodDescriptor(getVodAdTagDetailMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListLiveAdTagDetailsRequest, ListLiveAdTagDetailsResponse>\n listLiveAdTagDetailsTransportSettings =\n GrpcCallSettings.<ListLiveAdTagDetailsRequest, ListLiveAdTagDetailsResponse>newBuilder()\n .setMethodDescriptor(listLiveAdTagDetailsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetLiveAdTagDetailRequest, LiveAdTagDetail>\n getLiveAdTagDetailTransportSettings =\n GrpcCallSettings.<GetLiveAdTagDetailRequest, LiveAdTagDetail>newBuilder()\n .setMethodDescriptor(getLiveAdTagDetailMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateSlateRequest, Operation> createSlateTransportSettings =\n GrpcCallSettings.<CreateSlateRequest, Operation>newBuilder()\n .setMethodDescriptor(createSlateMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListSlatesRequest, ListSlatesResponse> listSlatesTransportSettings =\n GrpcCallSettings.<ListSlatesRequest, ListSlatesResponse>newBuilder()\n .setMethodDescriptor(listSlatesMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetSlateRequest, Slate> getSlateTransportSettings =\n GrpcCallSettings.<GetSlateRequest, Slate>newBuilder()\n .setMethodDescriptor(getSlateMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<UpdateSlateRequest, Operation> updateSlateTransportSettings =\n GrpcCallSettings.<UpdateSlateRequest, Operation>newBuilder()\n .setMethodDescriptor(updateSlateMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"slate.name\", String.valueOf(request.getSlate().getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DeleteSlateRequest, Operation> deleteSlateTransportSettings =\n GrpcCallSettings.<DeleteSlateRequest, Operation>newBuilder()\n .setMethodDescriptor(deleteSlateMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateLiveSessionRequest, LiveSession> createLiveSessionTransportSettings =\n GrpcCallSettings.<CreateLiveSessionRequest, LiveSession>newBuilder()\n .setMethodDescriptor(createLiveSessionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetLiveSessionRequest, LiveSession> getLiveSessionTransportSettings =\n GrpcCallSettings.<GetLiveSessionRequest, LiveSession>newBuilder()\n .setMethodDescriptor(getLiveSessionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateLiveConfigRequest, Operation> createLiveConfigTransportSettings =\n GrpcCallSettings.<CreateLiveConfigRequest, Operation>newBuilder()\n .setMethodDescriptor(createLiveConfigMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListLiveConfigsRequest, ListLiveConfigsResponse>\n listLiveConfigsTransportSettings =\n GrpcCallSettings.<ListLiveConfigsRequest, ListLiveConfigsResponse>newBuilder()\n .setMethodDescriptor(listLiveConfigsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetLiveConfigRequest, LiveConfig> getLiveConfigTransportSettings =\n GrpcCallSettings.<GetLiveConfigRequest, LiveConfig>newBuilder()\n .setMethodDescriptor(getLiveConfigMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DeleteLiveConfigRequest, Operation> deleteLiveConfigTransportSettings =\n GrpcCallSettings.<DeleteLiveConfigRequest, Operation>newBuilder()\n .setMethodDescriptor(deleteLiveConfigMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n\n this.createCdnKeyCallable =\n callableFactory.createUnaryCallable(\n createCdnKeyTransportSettings, settings.createCdnKeySettings(), clientContext);\n this.createCdnKeyOperationCallable =\n callableFactory.createOperationCallable(\n createCdnKeyTransportSettings,\n settings.createCdnKeyOperationSettings(),\n clientContext,\n operationsStub);\n this.listCdnKeysCallable =\n callableFactory.createUnaryCallable(\n listCdnKeysTransportSettings, settings.listCdnKeysSettings(), clientContext);\n this.listCdnKeysPagedCallable =\n callableFactory.createPagedCallable(\n listCdnKeysTransportSettings, settings.listCdnKeysSettings(), clientContext);\n this.getCdnKeyCallable =\n callableFactory.createUnaryCallable(\n getCdnKeyTransportSettings, settings.getCdnKeySettings(), clientContext);\n this.deleteCdnKeyCallable =\n callableFactory.createUnaryCallable(\n deleteCdnKeyTransportSettings, settings.deleteCdnKeySettings(), clientContext);\n this.deleteCdnKeyOperationCallable =\n callableFactory.createOperationCallable(\n deleteCdnKeyTransportSettings,\n settings.deleteCdnKeyOperationSettings(),\n clientContext,\n operationsStub);\n this.updateCdnKeyCallable =\n callableFactory.createUnaryCallable(\n updateCdnKeyTransportSettings, settings.updateCdnKeySettings(), clientContext);\n this.updateCdnKeyOperationCallable =\n callableFactory.createOperationCallable(\n updateCdnKeyTransportSettings,\n settings.updateCdnKeyOperationSettings(),\n clientContext,\n operationsStub);\n this.createVodSessionCallable =\n callableFactory.createUnaryCallable(\n createVodSessionTransportSettings, settings.createVodSessionSettings(), clientContext);\n this.getVodSessionCallable =\n callableFactory.createUnaryCallable(\n getVodSessionTransportSettings, settings.getVodSessionSettings(), clientContext);\n this.listVodStitchDetailsCallable =\n callableFactory.createUnaryCallable(\n listVodStitchDetailsTransportSettings,\n settings.listVodStitchDetailsSettings(),\n clientContext);\n this.listVodStitchDetailsPagedCallable =\n callableFactory.createPagedCallable(\n listVodStitchDetailsTransportSettings,\n settings.listVodStitchDetailsSettings(),\n clientContext);\n this.getVodStitchDetailCallable =\n callableFactory.createUnaryCallable(\n getVodStitchDetailTransportSettings,\n settings.getVodStitchDetailSettings(),\n clientContext);\n this.listVodAdTagDetailsCallable =\n callableFactory.createUnaryCallable(\n listVodAdTagDetailsTransportSettings,\n settings.listVodAdTagDetailsSettings(),\n clientContext);\n this.listVodAdTagDetailsPagedCallable =\n callableFactory.createPagedCallable(\n listVodAdTagDetailsTransportSettings,\n settings.listVodAdTagDetailsSettings(),\n clientContext);\n this.getVodAdTagDetailCallable =\n callableFactory.createUnaryCallable(\n getVodAdTagDetailTransportSettings,\n settings.getVodAdTagDetailSettings(),\n clientContext);\n this.listLiveAdTagDetailsCallable =\n callableFactory.createUnaryCallable(\n listLiveAdTagDetailsTransportSettings,\n settings.listLiveAdTagDetailsSettings(),\n clientContext);\n this.listLiveAdTagDetailsPagedCallable =\n callableFactory.createPagedCallable(\n listLiveAdTagDetailsTransportSettings,\n settings.listLiveAdTagDetailsSettings(),\n clientContext);\n this.getLiveAdTagDetailCallable =\n callableFactory.createUnaryCallable(\n getLiveAdTagDetailTransportSettings,\n settings.getLiveAdTagDetailSettings(),\n clientContext);\n this.createSlateCallable =\n callableFactory.createUnaryCallable(\n createSlateTransportSettings, settings.createSlateSettings(), clientContext);\n this.createSlateOperationCallable =\n callableFactory.createOperationCallable(\n createSlateTransportSettings,\n settings.createSlateOperationSettings(),\n clientContext,\n operationsStub);\n this.listSlatesCallable =\n callableFactory.createUnaryCallable(\n listSlatesTransportSettings, settings.listSlatesSettings(), clientContext);\n this.listSlatesPagedCallable =\n callableFactory.createPagedCallable(\n listSlatesTransportSettings, settings.listSlatesSettings(), clientContext);\n this.getSlateCallable =\n callableFactory.createUnaryCallable(\n getSlateTransportSettings, settings.getSlateSettings(), clientContext);\n this.updateSlateCallable =\n callableFactory.createUnaryCallable(\n updateSlateTransportSettings, settings.updateSlateSettings(), clientContext);\n this.updateSlateOperationCallable =\n callableFactory.createOperationCallable(\n updateSlateTransportSettings,\n settings.updateSlateOperationSettings(),\n clientContext,\n operationsStub);\n this.deleteSlateCallable =\n callableFactory.createUnaryCallable(\n deleteSlateTransportSettings, settings.deleteSlateSettings(), clientContext);\n this.deleteSlateOperationCallable =\n callableFactory.createOperationCallable(\n deleteSlateTransportSettings,\n settings.deleteSlateOperationSettings(),\n clientContext,\n operationsStub);\n this.createLiveSessionCallable =\n callableFactory.createUnaryCallable(\n createLiveSessionTransportSettings,\n settings.createLiveSessionSettings(),\n clientContext);\n this.getLiveSessionCallable =\n callableFactory.createUnaryCallable(\n getLiveSessionTransportSettings, settings.getLiveSessionSettings(), clientContext);\n this.createLiveConfigCallable =\n callableFactory.createUnaryCallable(\n createLiveConfigTransportSettings, settings.createLiveConfigSettings(), clientContext);\n this.createLiveConfigOperationCallable =\n callableFactory.createOperationCallable(\n createLiveConfigTransportSettings,\n settings.createLiveConfigOperationSettings(),\n clientContext,\n operationsStub);\n this.listLiveConfigsCallable =\n callableFactory.createUnaryCallable(\n listLiveConfigsTransportSettings, settings.listLiveConfigsSettings(), clientContext);\n this.listLiveConfigsPagedCallable =\n callableFactory.createPagedCallable(\n listLiveConfigsTransportSettings, settings.listLiveConfigsSettings(), clientContext);\n this.getLiveConfigCallable =\n callableFactory.createUnaryCallable(\n getLiveConfigTransportSettings, settings.getLiveConfigSettings(), clientContext);\n this.deleteLiveConfigCallable =\n callableFactory.createUnaryCallable(\n deleteLiveConfigTransportSettings, settings.deleteLiveConfigSettings(), clientContext);\n this.deleteLiveConfigOperationCallable =\n callableFactory.createOperationCallable(\n deleteLiveConfigTransportSettings,\n settings.deleteLiveConfigOperationSettings(),\n clientContext,\n operationsStub);\n\n this.backgroundResources =\n new BackgroundResourceAggregation(clientContext.getBackgroundResources());\n }", "title": "" }, { "docid": "926c6ffb3200fea93152a8a83d0b4ac9", "score": "0.457816", "text": "protected HttpJsonPrivateCatalogStub(\n PrivateCatalogStubSettings settings, ClientContext clientContext) throws IOException {\n this(settings, clientContext, new HttpJsonPrivateCatalogCallableFactory());\n }", "title": "" }, { "docid": "e27a2e45df2d2ff2ff6a45781e8fd91f", "score": "0.45371884", "text": "public Builder setNegativeButton(@RecentlyNonNull CharSequence text, @RecentlyNonNull Executor executor, @RecentlyNonNull DialogInterface.OnClickListener listener) {\n/* 357 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "06b19781a43c2755f8327770518315af", "score": "0.45367777", "text": "protected GrpcTranslationServiceStub(\n TranslationServiceStubSettings settings,\n ClientContext clientContext,\n GrpcStubCallableFactory callableFactory)\n throws IOException {\n this.callableFactory = callableFactory;\n this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);\n\n GrpcCallSettings<TranslateTextRequest, TranslateTextResponse> translateTextTransportSettings =\n GrpcCallSettings.<TranslateTextRequest, TranslateTextResponse>newBuilder()\n .setMethodDescriptor(translateTextMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DetectLanguageRequest, DetectLanguageResponse>\n detectLanguageTransportSettings =\n GrpcCallSettings.<DetectLanguageRequest, DetectLanguageResponse>newBuilder()\n .setMethodDescriptor(detectLanguageMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetSupportedLanguagesRequest, SupportedLanguages>\n getSupportedLanguagesTransportSettings =\n GrpcCallSettings.<GetSupportedLanguagesRequest, SupportedLanguages>newBuilder()\n .setMethodDescriptor(getSupportedLanguagesMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<TranslateDocumentRequest, TranslateDocumentResponse>\n translateDocumentTransportSettings =\n GrpcCallSettings.<TranslateDocumentRequest, TranslateDocumentResponse>newBuilder()\n .setMethodDescriptor(translateDocumentMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<BatchTranslateTextRequest, Operation> batchTranslateTextTransportSettings =\n GrpcCallSettings.<BatchTranslateTextRequest, Operation>newBuilder()\n .setMethodDescriptor(batchTranslateTextMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<BatchTranslateDocumentRequest, Operation>\n batchTranslateDocumentTransportSettings =\n GrpcCallSettings.<BatchTranslateDocumentRequest, Operation>newBuilder()\n .setMethodDescriptor(batchTranslateDocumentMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateGlossaryRequest, Operation> createGlossaryTransportSettings =\n GrpcCallSettings.<CreateGlossaryRequest, Operation>newBuilder()\n .setMethodDescriptor(createGlossaryMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListGlossariesRequest, ListGlossariesResponse>\n listGlossariesTransportSettings =\n GrpcCallSettings.<ListGlossariesRequest, ListGlossariesResponse>newBuilder()\n .setMethodDescriptor(listGlossariesMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetGlossaryRequest, Glossary> getGlossaryTransportSettings =\n GrpcCallSettings.<GetGlossaryRequest, Glossary>newBuilder()\n .setMethodDescriptor(getGlossaryMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DeleteGlossaryRequest, Operation> deleteGlossaryTransportSettings =\n GrpcCallSettings.<DeleteGlossaryRequest, Operation>newBuilder()\n .setMethodDescriptor(deleteGlossaryMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n\n this.translateTextCallable =\n callableFactory.createUnaryCallable(\n translateTextTransportSettings, settings.translateTextSettings(), clientContext);\n this.detectLanguageCallable =\n callableFactory.createUnaryCallable(\n detectLanguageTransportSettings, settings.detectLanguageSettings(), clientContext);\n this.getSupportedLanguagesCallable =\n callableFactory.createUnaryCallable(\n getSupportedLanguagesTransportSettings,\n settings.getSupportedLanguagesSettings(),\n clientContext);\n this.translateDocumentCallable =\n callableFactory.createUnaryCallable(\n translateDocumentTransportSettings,\n settings.translateDocumentSettings(),\n clientContext);\n this.batchTranslateTextCallable =\n callableFactory.createUnaryCallable(\n batchTranslateTextTransportSettings,\n settings.batchTranslateTextSettings(),\n clientContext);\n this.batchTranslateTextOperationCallable =\n callableFactory.createOperationCallable(\n batchTranslateTextTransportSettings,\n settings.batchTranslateTextOperationSettings(),\n clientContext,\n operationsStub);\n this.batchTranslateDocumentCallable =\n callableFactory.createUnaryCallable(\n batchTranslateDocumentTransportSettings,\n settings.batchTranslateDocumentSettings(),\n clientContext);\n this.batchTranslateDocumentOperationCallable =\n callableFactory.createOperationCallable(\n batchTranslateDocumentTransportSettings,\n settings.batchTranslateDocumentOperationSettings(),\n clientContext,\n operationsStub);\n this.createGlossaryCallable =\n callableFactory.createUnaryCallable(\n createGlossaryTransportSettings, settings.createGlossarySettings(), clientContext);\n this.createGlossaryOperationCallable =\n callableFactory.createOperationCallable(\n createGlossaryTransportSettings,\n settings.createGlossaryOperationSettings(),\n clientContext,\n operationsStub);\n this.listGlossariesCallable =\n callableFactory.createUnaryCallable(\n listGlossariesTransportSettings, settings.listGlossariesSettings(), clientContext);\n this.listGlossariesPagedCallable =\n callableFactory.createPagedCallable(\n listGlossariesTransportSettings, settings.listGlossariesSettings(), clientContext);\n this.getGlossaryCallable =\n callableFactory.createUnaryCallable(\n getGlossaryTransportSettings, settings.getGlossarySettings(), clientContext);\n this.deleteGlossaryCallable =\n callableFactory.createUnaryCallable(\n deleteGlossaryTransportSettings, settings.deleteGlossarySettings(), clientContext);\n this.deleteGlossaryOperationCallable =\n callableFactory.createOperationCallable(\n deleteGlossaryTransportSettings,\n settings.deleteGlossaryOperationSettings(),\n clientContext,\n operationsStub);\n\n this.backgroundResources =\n new BackgroundResourceAggregation(clientContext.getBackgroundResources());\n }", "title": "" }, { "docid": "66e6d13d35d45a197eab8224b9e256ee", "score": "0.45259145", "text": "public static StopWatch newInstance() {\r\n return newInstance(\"default\");\r\n }", "title": "" }, { "docid": "a73fb371bed79f0666af9305b5c7e30e", "score": "0.44458628", "text": "public static VMServicesStub newStub(io.grpc.Channel channel) {\n return new VMServicesStub(channel);\n }", "title": "" }, { "docid": "c61c54374d881a51081dee2386b69ab3", "score": "0.44449413", "text": "public static FeedItemTargetServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<FeedItemTargetServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<FeedItemTargetServiceStub>() {\n @java.lang.Override\n public FeedItemTargetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new FeedItemTargetServiceStub(channel, callOptions);\n }\n };\n return FeedItemTargetServiceStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "ccf00deca3a0dc55c1e6fff70ee6acbb", "score": "0.4422095", "text": "@Test\n public void newDefaultInstanceWithSdkKey() throws Exception {\n OptimizelyFactory.setBlockingTimeout(5, TimeUnit.MICROSECONDS);\n optimizely = OptimizelyFactory.newDefaultInstance(\"sdk-key\");\n assertFalse(optimizely.isValid());\n }", "title": "" }, { "docid": "f39d7e5f803c6ea4cdb4a2cae77c1802", "score": "0.44176432", "text": "public Builder clearNegativeResponseCode() {\n \n negativeResponseCode_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "afadd2982fb4aa45c40b7803a8db9455", "score": "0.4398523", "text": "public static NetworkServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<NetworkServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<NetworkServiceStub>() {\n @java.lang.Override\n public NetworkServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new NetworkServiceStub(channel, callOptions);\n }\n };\n return NetworkServiceStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "684719736c099e9872e6806b671fadc7", "score": "0.4393079", "text": "public static MapServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<MapServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<MapServiceStub>() {\n @java.lang.Override\n public MapServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new MapServiceStub(channel, callOptions);\n }\n };\n return MapServiceStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "f2c5788fd517c446e83d0c5fda0eeb47", "score": "0.43668485", "text": "public static final ServiceUsageClient create(ServiceUsageStub stub) {\n return new ServiceUsageClient(stub);\n }", "title": "" }, { "docid": "d8a502126cf2e0ce66a9809b82935528", "score": "0.43611157", "text": "public static RedPacketServiceStub newStub(io.grpc.Channel channel) {\n return new RedPacketServiceStub(channel);\n }", "title": "" }, { "docid": "8f6ed39900c6e3333df7241f811ceb65", "score": "0.43521237", "text": "public static final ServiceUsageClient create(ServiceUsageSettings settings) throws IOException {\n return new ServiceUsageClient(settings);\n }", "title": "" }, { "docid": "bf56de170f33c9639280f80e8304d43d", "score": "0.4347415", "text": "public static VMServicesBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n return new VMServicesBlockingStub(channel);\n }", "title": "" }, { "docid": "ff56ddae5ac289358a35a4cc8dff232f", "score": "0.43397298", "text": "public interface AsyncService {\n\n /**\n * <pre>\n * Creates, updates, or removes keyword plans. Operation statuses are\n * returned.\n * List of thrown errors:\n * [AuthenticationError]()\n * [AuthorizationError]()\n * [DatabaseError]()\n * [FieldError]()\n * [HeaderError]()\n * [InternalError]()\n * [KeywordPlanError]()\n * [MutateError]()\n * [NewResourceCreationError]()\n * [QuotaError]()\n * [RequestError]()\n * [ResourceCountLimitExceededError]()\n * [StringLengthError]()\n * </pre>\n */\n default void mutateKeywordPlans(com.google.ads.googleads.v13.services.MutateKeywordPlansRequest request,\n io.grpc.stub.StreamObserver<com.google.ads.googleads.v13.services.MutateKeywordPlansResponse> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateKeywordPlansMethod(), responseObserver);\n }\n\n /**\n * <pre>\n * Returns the requested Keyword Plan forecast curve.\n * Only the bidding strategy is considered for generating forecast curve.\n * The bidding strategy value specified in the plan is ignored.\n * To generate a forecast at a value specified in the plan, use\n * KeywordPlanService.GenerateForecastMetrics.\n * List of thrown errors:\n * [AuthenticationError]()\n * [AuthorizationError]()\n * [HeaderError]()\n * [InternalError]()\n * [KeywordPlanError]()\n * [QuotaError]()\n * [RequestError]()\n * </pre>\n */\n default void generateForecastCurve(com.google.ads.googleads.v13.services.GenerateForecastCurveRequest request,\n io.grpc.stub.StreamObserver<com.google.ads.googleads.v13.services.GenerateForecastCurveResponse> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateForecastCurveMethod(), responseObserver);\n }\n\n /**\n * <pre>\n * Returns a forecast in the form of a time series for the Keyword Plan over\n * the next 52 weeks.\n * (1) Forecasts closer to the current date are generally more accurate than\n * further out.\n * (2) The forecast reflects seasonal trends using current and\n * prior traffic patterns. The forecast period of the plan is ignored.\n * List of thrown errors:\n * [AuthenticationError]()\n * [AuthorizationError]()\n * [HeaderError]()\n * [InternalError]()\n * [KeywordPlanError]()\n * [QuotaError]()\n * [RequestError]()\n * </pre>\n */\n default void generateForecastTimeSeries(com.google.ads.googleads.v13.services.GenerateForecastTimeSeriesRequest request,\n io.grpc.stub.StreamObserver<com.google.ads.googleads.v13.services.GenerateForecastTimeSeriesResponse> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateForecastTimeSeriesMethod(), responseObserver);\n }\n\n /**\n * <pre>\n * Returns the requested Keyword Plan forecasts.\n * List of thrown errors:\n * [AuthenticationError]()\n * [AuthorizationError]()\n * [HeaderError]()\n * [InternalError]()\n * [KeywordPlanError]()\n * [QuotaError]()\n * [RequestError]()\n * </pre>\n */\n default void generateForecastMetrics(com.google.ads.googleads.v13.services.GenerateForecastMetricsRequest request,\n io.grpc.stub.StreamObserver<com.google.ads.googleads.v13.services.GenerateForecastMetricsResponse> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateForecastMetricsMethod(), responseObserver);\n }\n\n /**\n * <pre>\n * Returns the requested Keyword Plan historical metrics.\n * List of thrown errors:\n * [AuthenticationError]()\n * [AuthorizationError]()\n * [HeaderError]()\n * [InternalError]()\n * [KeywordPlanError]()\n * [QuotaError]()\n * [RequestError]()\n * </pre>\n */\n default void generateHistoricalMetrics(com.google.ads.googleads.v13.services.GenerateHistoricalMetricsRequest request,\n io.grpc.stub.StreamObserver<com.google.ads.googleads.v13.services.GenerateHistoricalMetricsResponse> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateHistoricalMetricsMethod(), responseObserver);\n }\n }", "title": "" }, { "docid": "44e45a5d0e1e362f400ae2e8c1eec5cb", "score": "0.4334125", "text": "private TankFactory() {\n\t}", "title": "" }, { "docid": "8b4bfb02d507d05d0acfb191c9eef12d", "score": "0.43324608", "text": "protected PoliciesClient(PoliciesSettings settings) throws IOException {\n this.settings = settings;\n this.stub = ((PoliciesStubSettings) settings.getStubSettings()).createStub();\n this.operationsClient =\n com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub());\n this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub());\n }", "title": "" }, { "docid": "13735828d3bdaf055be8d6cf3aa9a729", "score": "0.43072057", "text": "public static SpannerBlockingStub newBlockingStub(io.grpc.Channel channel) {\n return new SpannerBlockingStub(channel);\n }", "title": "" }, { "docid": "c58e6d99fc4777bfdd2fc5be1aeef846", "score": "0.43045086", "text": "public static ResumeServiceStub newStub(io.grpc.Channel channel) {\n return new ResumeServiceStub(channel);\n }", "title": "" }, { "docid": "7f989e130df7b54fff8a89b90f3d160c", "score": "0.430332", "text": "public Create setNegativeKeywordListId(java.lang.Long negativeKeywordListId) {\n this.negativeKeywordListId = negativeKeywordListId;\n return this;\n }", "title": "" }, { "docid": "165572043db7eca7fb960858f286b15b", "score": "0.42905053", "text": "protected GrpcKeyManagementServiceStub(\n KeyManagementServiceStubSettings settings,\n ClientContext clientContext,\n GrpcStubCallableFactory callableFactory)\n throws IOException {\n this.callableFactory = callableFactory;\n this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);\n\n GrpcCallSettings<ListKeyRingsRequest, ListKeyRingsResponse> listKeyRingsTransportSettings =\n GrpcCallSettings.<ListKeyRingsRequest, ListKeyRingsResponse>newBuilder()\n .setMethodDescriptor(listKeyRingsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListCryptoKeysRequest, ListCryptoKeysResponse>\n listCryptoKeysTransportSettings =\n GrpcCallSettings.<ListCryptoKeysRequest, ListCryptoKeysResponse>newBuilder()\n .setMethodDescriptor(listCryptoKeysMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListCryptoKeyVersionsRequest, ListCryptoKeyVersionsResponse>\n listCryptoKeyVersionsTransportSettings =\n GrpcCallSettings\n .<ListCryptoKeyVersionsRequest, ListCryptoKeyVersionsResponse>newBuilder()\n .setMethodDescriptor(listCryptoKeyVersionsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListImportJobsRequest, ListImportJobsResponse>\n listImportJobsTransportSettings =\n GrpcCallSettings.<ListImportJobsRequest, ListImportJobsResponse>newBuilder()\n .setMethodDescriptor(listImportJobsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetKeyRingRequest, KeyRing> getKeyRingTransportSettings =\n GrpcCallSettings.<GetKeyRingRequest, KeyRing>newBuilder()\n .setMethodDescriptor(getKeyRingMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetCryptoKeyRequest, CryptoKey> getCryptoKeyTransportSettings =\n GrpcCallSettings.<GetCryptoKeyRequest, CryptoKey>newBuilder()\n .setMethodDescriptor(getCryptoKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetCryptoKeyVersionRequest, CryptoKeyVersion>\n getCryptoKeyVersionTransportSettings =\n GrpcCallSettings.<GetCryptoKeyVersionRequest, CryptoKeyVersion>newBuilder()\n .setMethodDescriptor(getCryptoKeyVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetPublicKeyRequest, PublicKey> getPublicKeyTransportSettings =\n GrpcCallSettings.<GetPublicKeyRequest, PublicKey>newBuilder()\n .setMethodDescriptor(getPublicKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetImportJobRequest, ImportJob> getImportJobTransportSettings =\n GrpcCallSettings.<GetImportJobRequest, ImportJob>newBuilder()\n .setMethodDescriptor(getImportJobMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateKeyRingRequest, KeyRing> createKeyRingTransportSettings =\n GrpcCallSettings.<CreateKeyRingRequest, KeyRing>newBuilder()\n .setMethodDescriptor(createKeyRingMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateCryptoKeyRequest, CryptoKey> createCryptoKeyTransportSettings =\n GrpcCallSettings.<CreateCryptoKeyRequest, CryptoKey>newBuilder()\n .setMethodDescriptor(createCryptoKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateCryptoKeyVersionRequest, CryptoKeyVersion>\n createCryptoKeyVersionTransportSettings =\n GrpcCallSettings.<CreateCryptoKeyVersionRequest, CryptoKeyVersion>newBuilder()\n .setMethodDescriptor(createCryptoKeyVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ImportCryptoKeyVersionRequest, CryptoKeyVersion>\n importCryptoKeyVersionTransportSettings =\n GrpcCallSettings.<ImportCryptoKeyVersionRequest, CryptoKeyVersion>newBuilder()\n .setMethodDescriptor(importCryptoKeyVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<CreateImportJobRequest, ImportJob> createImportJobTransportSettings =\n GrpcCallSettings.<CreateImportJobRequest, ImportJob>newBuilder()\n .setMethodDescriptor(createImportJobMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"parent\", String.valueOf(request.getParent()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<UpdateCryptoKeyRequest, CryptoKey> updateCryptoKeyTransportSettings =\n GrpcCallSettings.<UpdateCryptoKeyRequest, CryptoKey>newBuilder()\n .setMethodDescriptor(updateCryptoKeyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"crypto_key.name\", String.valueOf(request.getCryptoKey().getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<UpdateCryptoKeyVersionRequest, CryptoKeyVersion>\n updateCryptoKeyVersionTransportSettings =\n GrpcCallSettings.<UpdateCryptoKeyVersionRequest, CryptoKeyVersion>newBuilder()\n .setMethodDescriptor(updateCryptoKeyVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\n \"crypto_key_version.name\",\n String.valueOf(request.getCryptoKeyVersion().getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<UpdateCryptoKeyPrimaryVersionRequest, CryptoKey>\n updateCryptoKeyPrimaryVersionTransportSettings =\n GrpcCallSettings.<UpdateCryptoKeyPrimaryVersionRequest, CryptoKey>newBuilder()\n .setMethodDescriptor(updateCryptoKeyPrimaryVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DestroyCryptoKeyVersionRequest, CryptoKeyVersion>\n destroyCryptoKeyVersionTransportSettings =\n GrpcCallSettings.<DestroyCryptoKeyVersionRequest, CryptoKeyVersion>newBuilder()\n .setMethodDescriptor(destroyCryptoKeyVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<RestoreCryptoKeyVersionRequest, CryptoKeyVersion>\n restoreCryptoKeyVersionTransportSettings =\n GrpcCallSettings.<RestoreCryptoKeyVersionRequest, CryptoKeyVersion>newBuilder()\n .setMethodDescriptor(restoreCryptoKeyVersionMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<EncryptRequest, EncryptResponse> encryptTransportSettings =\n GrpcCallSettings.<EncryptRequest, EncryptResponse>newBuilder()\n .setMethodDescriptor(encryptMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<DecryptRequest, DecryptResponse> decryptTransportSettings =\n GrpcCallSettings.<DecryptRequest, DecryptResponse>newBuilder()\n .setMethodDescriptor(decryptMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<RawEncryptRequest, RawEncryptResponse> rawEncryptTransportSettings =\n GrpcCallSettings.<RawEncryptRequest, RawEncryptResponse>newBuilder()\n .setMethodDescriptor(rawEncryptMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<RawDecryptRequest, RawDecryptResponse> rawDecryptTransportSettings =\n GrpcCallSettings.<RawDecryptRequest, RawDecryptResponse>newBuilder()\n .setMethodDescriptor(rawDecryptMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<AsymmetricSignRequest, AsymmetricSignResponse>\n asymmetricSignTransportSettings =\n GrpcCallSettings.<AsymmetricSignRequest, AsymmetricSignResponse>newBuilder()\n .setMethodDescriptor(asymmetricSignMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<AsymmetricDecryptRequest, AsymmetricDecryptResponse>\n asymmetricDecryptTransportSettings =\n GrpcCallSettings.<AsymmetricDecryptRequest, AsymmetricDecryptResponse>newBuilder()\n .setMethodDescriptor(asymmetricDecryptMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<MacSignRequest, MacSignResponse> macSignTransportSettings =\n GrpcCallSettings.<MacSignRequest, MacSignResponse>newBuilder()\n .setMethodDescriptor(macSignMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<MacVerifyRequest, MacVerifyResponse> macVerifyTransportSettings =\n GrpcCallSettings.<MacVerifyRequest, MacVerifyResponse>newBuilder()\n .setMethodDescriptor(macVerifyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GenerateRandomBytesRequest, GenerateRandomBytesResponse>\n generateRandomBytesTransportSettings =\n GrpcCallSettings.<GenerateRandomBytesRequest, GenerateRandomBytesResponse>newBuilder()\n .setMethodDescriptor(generateRandomBytesMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"location\", String.valueOf(request.getLocation()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<ListLocationsRequest, ListLocationsResponse> listLocationsTransportSettings =\n GrpcCallSettings.<ListLocationsRequest, ListLocationsResponse>newBuilder()\n .setMethodDescriptor(listLocationsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetLocationRequest, Location> getLocationTransportSettings =\n GrpcCallSettings.<GetLocationRequest, Location>newBuilder()\n .setMethodDescriptor(getLocationMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"name\", String.valueOf(request.getName()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<SetIamPolicyRequest, Policy> setIamPolicyTransportSettings =\n GrpcCallSettings.<SetIamPolicyRequest, Policy>newBuilder()\n .setMethodDescriptor(setIamPolicyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"resource\", String.valueOf(request.getResource()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<GetIamPolicyRequest, Policy> getIamPolicyTransportSettings =\n GrpcCallSettings.<GetIamPolicyRequest, Policy>newBuilder()\n .setMethodDescriptor(getIamPolicyMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"resource\", String.valueOf(request.getResource()));\n return builder.build();\n })\n .build();\n GrpcCallSettings<TestIamPermissionsRequest, TestIamPermissionsResponse>\n testIamPermissionsTransportSettings =\n GrpcCallSettings.<TestIamPermissionsRequest, TestIamPermissionsResponse>newBuilder()\n .setMethodDescriptor(testIamPermissionsMethodDescriptor)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"resource\", String.valueOf(request.getResource()));\n return builder.build();\n })\n .build();\n\n this.listKeyRingsCallable =\n callableFactory.createUnaryCallable(\n listKeyRingsTransportSettings, settings.listKeyRingsSettings(), clientContext);\n this.listKeyRingsPagedCallable =\n callableFactory.createPagedCallable(\n listKeyRingsTransportSettings, settings.listKeyRingsSettings(), clientContext);\n this.listCryptoKeysCallable =\n callableFactory.createUnaryCallable(\n listCryptoKeysTransportSettings, settings.listCryptoKeysSettings(), clientContext);\n this.listCryptoKeysPagedCallable =\n callableFactory.createPagedCallable(\n listCryptoKeysTransportSettings, settings.listCryptoKeysSettings(), clientContext);\n this.listCryptoKeyVersionsCallable =\n callableFactory.createUnaryCallable(\n listCryptoKeyVersionsTransportSettings,\n settings.listCryptoKeyVersionsSettings(),\n clientContext);\n this.listCryptoKeyVersionsPagedCallable =\n callableFactory.createPagedCallable(\n listCryptoKeyVersionsTransportSettings,\n settings.listCryptoKeyVersionsSettings(),\n clientContext);\n this.listImportJobsCallable =\n callableFactory.createUnaryCallable(\n listImportJobsTransportSettings, settings.listImportJobsSettings(), clientContext);\n this.listImportJobsPagedCallable =\n callableFactory.createPagedCallable(\n listImportJobsTransportSettings, settings.listImportJobsSettings(), clientContext);\n this.getKeyRingCallable =\n callableFactory.createUnaryCallable(\n getKeyRingTransportSettings, settings.getKeyRingSettings(), clientContext);\n this.getCryptoKeyCallable =\n callableFactory.createUnaryCallable(\n getCryptoKeyTransportSettings, settings.getCryptoKeySettings(), clientContext);\n this.getCryptoKeyVersionCallable =\n callableFactory.createUnaryCallable(\n getCryptoKeyVersionTransportSettings,\n settings.getCryptoKeyVersionSettings(),\n clientContext);\n this.getPublicKeyCallable =\n callableFactory.createUnaryCallable(\n getPublicKeyTransportSettings, settings.getPublicKeySettings(), clientContext);\n this.getImportJobCallable =\n callableFactory.createUnaryCallable(\n getImportJobTransportSettings, settings.getImportJobSettings(), clientContext);\n this.createKeyRingCallable =\n callableFactory.createUnaryCallable(\n createKeyRingTransportSettings, settings.createKeyRingSettings(), clientContext);\n this.createCryptoKeyCallable =\n callableFactory.createUnaryCallable(\n createCryptoKeyTransportSettings, settings.createCryptoKeySettings(), clientContext);\n this.createCryptoKeyVersionCallable =\n callableFactory.createUnaryCallable(\n createCryptoKeyVersionTransportSettings,\n settings.createCryptoKeyVersionSettings(),\n clientContext);\n this.importCryptoKeyVersionCallable =\n callableFactory.createUnaryCallable(\n importCryptoKeyVersionTransportSettings,\n settings.importCryptoKeyVersionSettings(),\n clientContext);\n this.createImportJobCallable =\n callableFactory.createUnaryCallable(\n createImportJobTransportSettings, settings.createImportJobSettings(), clientContext);\n this.updateCryptoKeyCallable =\n callableFactory.createUnaryCallable(\n updateCryptoKeyTransportSettings, settings.updateCryptoKeySettings(), clientContext);\n this.updateCryptoKeyVersionCallable =\n callableFactory.createUnaryCallable(\n updateCryptoKeyVersionTransportSettings,\n settings.updateCryptoKeyVersionSettings(),\n clientContext);\n this.updateCryptoKeyPrimaryVersionCallable =\n callableFactory.createUnaryCallable(\n updateCryptoKeyPrimaryVersionTransportSettings,\n settings.updateCryptoKeyPrimaryVersionSettings(),\n clientContext);\n this.destroyCryptoKeyVersionCallable =\n callableFactory.createUnaryCallable(\n destroyCryptoKeyVersionTransportSettings,\n settings.destroyCryptoKeyVersionSettings(),\n clientContext);\n this.restoreCryptoKeyVersionCallable =\n callableFactory.createUnaryCallable(\n restoreCryptoKeyVersionTransportSettings,\n settings.restoreCryptoKeyVersionSettings(),\n clientContext);\n this.encryptCallable =\n callableFactory.createUnaryCallable(\n encryptTransportSettings, settings.encryptSettings(), clientContext);\n this.decryptCallable =\n callableFactory.createUnaryCallable(\n decryptTransportSettings, settings.decryptSettings(), clientContext);\n this.rawEncryptCallable =\n callableFactory.createUnaryCallable(\n rawEncryptTransportSettings, settings.rawEncryptSettings(), clientContext);\n this.rawDecryptCallable =\n callableFactory.createUnaryCallable(\n rawDecryptTransportSettings, settings.rawDecryptSettings(), clientContext);\n this.asymmetricSignCallable =\n callableFactory.createUnaryCallable(\n asymmetricSignTransportSettings, settings.asymmetricSignSettings(), clientContext);\n this.asymmetricDecryptCallable =\n callableFactory.createUnaryCallable(\n asymmetricDecryptTransportSettings,\n settings.asymmetricDecryptSettings(),\n clientContext);\n this.macSignCallable =\n callableFactory.createUnaryCallable(\n macSignTransportSettings, settings.macSignSettings(), clientContext);\n this.macVerifyCallable =\n callableFactory.createUnaryCallable(\n macVerifyTransportSettings, settings.macVerifySettings(), clientContext);\n this.generateRandomBytesCallable =\n callableFactory.createUnaryCallable(\n generateRandomBytesTransportSettings,\n settings.generateRandomBytesSettings(),\n clientContext);\n this.listLocationsCallable =\n callableFactory.createUnaryCallable(\n listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);\n this.listLocationsPagedCallable =\n callableFactory.createPagedCallable(\n listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);\n this.getLocationCallable =\n callableFactory.createUnaryCallable(\n getLocationTransportSettings, settings.getLocationSettings(), clientContext);\n this.setIamPolicyCallable =\n callableFactory.createUnaryCallable(\n setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext);\n this.getIamPolicyCallable =\n callableFactory.createUnaryCallable(\n getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext);\n this.testIamPermissionsCallable =\n callableFactory.createUnaryCallable(\n testIamPermissionsTransportSettings,\n settings.testIamPermissionsSettings(),\n clientContext);\n\n this.backgroundResources =\n new BackgroundResourceAggregation(clientContext.getBackgroundResources());\n }", "title": "" }, { "docid": "7923fc1d611e7d12761ded6a75ac0b8c", "score": "0.4258731", "text": "public static RecommendationServiceStub newStub(io.grpc.Channel channel) {\n return new RecommendationServiceStub(channel);\n }", "title": "" }, { "docid": "abb732a265565c46ea1b11ecb73b174f", "score": "0.42526683", "text": "protected AssetServiceClient(AssetServiceSettings settings) throws IOException {\n this.settings = settings;\n this.stub = ((AssetServiceStubSettings) settings.getStubSettings()).createStub();\n this.operationsClient =\n com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub());\n this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub());\n }", "title": "" }, { "docid": "817790aecc3685fbec3ca6f424550379", "score": "0.42464155", "text": "POGOProtos.Rpc.InvasionAvailabilitySettingsProto getPokestopInvasionAvailabilitySettings();", "title": "" }, { "docid": "999462f78f322076a0338914fa9e76f5", "score": "0.4240121", "text": "public static FeedItemTargetServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<FeedItemTargetServiceBlockingStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<FeedItemTargetServiceBlockingStub>() {\n @java.lang.Override\n public FeedItemTargetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new FeedItemTargetServiceBlockingStub(channel, callOptions);\n }\n };\n return FeedItemTargetServiceBlockingStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "0c6762c5beb52caafa185bcff994f72b", "score": "0.42281368", "text": "protected ApiGatewayServiceClient(ApiGatewayServiceSettings settings) throws IOException {\n this.settings = settings;\n this.stub = ((ApiGatewayServiceStubSettings) settings.getStubSettings()).createStub();\n this.operationsClient =\n com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub());\n this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub());\n }", "title": "" }, { "docid": "3827b1cee1a9dc5f87c93a3ea72b7237", "score": "0.42233717", "text": "public NumberBuilder setGenerateNegative(boolean generateNegative){\n mGenerateNegative = generateNegative;\n return this;\n }", "title": "" }, { "docid": "c148aec871a808b75cf46a3c7f8aeedf", "score": "0.42228517", "text": "public Stop createStop(String name) {\n\t\treturn delegate.createWrappedIndividual(name, Vocabulary.CLASS_STOP, DefaultStop.class);\n }", "title": "" }, { "docid": "c10167f48b42659f78cbda6b349e0efe", "score": "0.42198682", "text": "@Override\n\tpublic StopCrawlThread createInstance(int taskSize)\n\t{\n\t\treturn new StopCrawlThread(taskSize);\n\t}", "title": "" }, { "docid": "53fd1c0469bc30e74dfa922931d34b4f", "score": "0.42180145", "text": "public UnaryCallSettings.Builder<RemoveDatapointsRequest, RemoveDatapointsResponse>\n removeDatapointsSettings() {\n return getStubSettingsBuilder().removeDatapointsSettings();\n }", "title": "" }, { "docid": "b1b79b90c43dc6d18b1cc5f43927bc77", "score": "0.42153898", "text": "POGOProtos.Rpc.InvasionAvailabilitySettingsProtoOrBuilder getPokestopInvasionAvailabilitySettingsOrBuilder();", "title": "" }, { "docid": "a3dd8acd414dca9a0824aa49a7a2a7eb", "score": "0.42039466", "text": "public Get setNegativeKeywordListId(java.lang.Long negativeKeywordListId) {\n this.negativeKeywordListId = negativeKeywordListId;\n return this;\n }", "title": "" }, { "docid": "b9a6c72a4c8696e291acb8720d6296bf", "score": "0.41973624", "text": "protected GrpcBigQueryWriteStub(BigQueryWriteStubSettings settings, ClientContext clientContext)\n throws IOException {\n this(settings, clientContext, new GrpcBigQueryWriteCallableFactory());\n }", "title": "" }, { "docid": "ae8f36ca5a649fb50a5fd24a89512f25", "score": "0.4196638", "text": "public static MapServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<MapServiceBlockingStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<MapServiceBlockingStub>() {\n @java.lang.Override\n public MapServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new MapServiceBlockingStub(channel, callOptions);\n }\n };\n return MapServiceBlockingStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "1c75a551e37f8f04d4affd0903185222", "score": "0.41793326", "text": "public static RedPacketServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n return new RedPacketServiceBlockingStub(channel);\n }", "title": "" }, { "docid": "29f1b14ab3fd7dc29a72600c8fe7fd0a", "score": "0.4173887", "text": "public Patch setNegativeKeywordListId(java.lang.Long negativeKeywordListId) {\n this.negativeKeywordListId = negativeKeywordListId;\n return this;\n }", "title": "" }, { "docid": "1da830ff97068c995ea7d1aba1c5777c", "score": "0.416251", "text": "public PaymentPlan() {\n }", "title": "" }, { "docid": "cce2d3c3d2c44eb48615563f7346057d", "score": "0.41592214", "text": "private GetPlan(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "629fb5be2c2882f186be4acc74e7399a", "score": "0.41569564", "text": "public static NetworkServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<NetworkServiceBlockingStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<NetworkServiceBlockingStub>() {\n @java.lang.Override\n public NetworkServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new NetworkServiceBlockingStub(channel, callOptions);\n }\n };\n return NetworkServiceBlockingStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "aa44f3c7c80de77ca03d452205f23228", "score": "0.41291618", "text": "public BeautifulDialog setNegativeButton(String name, BeautifulDialogInterface listener){\n negativeButtonIsActive = true;\n\n setButtonListener(negativeButton, name, listener);\n\n return this;\n }", "title": "" }, { "docid": "9ab4166cd4e14fa2bac6ccdc46400d57", "score": "0.41287103", "text": "protected TopologyPlan() {\n }", "title": "" }, { "docid": "2f253d342d4331cd9a1757d1d9d3970e", "score": "0.41260406", "text": "public static ModelServiceStub newStub(io.grpc.Channel channel) {\n return new ModelServiceStub(channel);\n }", "title": "" }, { "docid": "2defd4d396ebf6b478b3b194e6d10e91", "score": "0.41215602", "text": "public static CreateOrderServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<CreateOrderServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<CreateOrderServiceStub>() {\n @java.lang.Override\n public CreateOrderServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new CreateOrderServiceStub(channel, callOptions);\n }\n };\n return CreateOrderServiceStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "37b7b1d86c03cee5818ca588722a7371", "score": "0.4119504", "text": "public static ResumeServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {\n return new ResumeServiceBlockingStub(channel);\n }", "title": "" }, { "docid": "ad0629f627542f6b58bcbda1d7f9be19", "score": "0.41034102", "text": "public static CreateOrderServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<CreateOrderServiceBlockingStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<CreateOrderServiceBlockingStub>() {\n @java.lang.Override\n public CreateOrderServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new CreateOrderServiceBlockingStub(channel, callOptions);\n }\n };\n return CreateOrderServiceBlockingStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "018211aca3d4706624e5a5bf103525e6", "score": "0.40974116", "text": "@Test(expectedExceptions = IllegalArgumentException.class)\n public void testCreateStopwordListNoOptions() throws Throwable {\n server.enqueue(new MockResponse());\n discoveryService.createStopwordList(null).execute();\n }", "title": "" }, { "docid": "e64b971ac38145c7ae2cae97dbd65d46", "score": "0.4095639", "text": "public xxkyServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext,\n java.lang.String targetEndpoint)\n throws org.apache.axis2.AxisFault {\n this(configurationContext,targetEndpoint,false);\n }", "title": "" }, { "docid": "a67152b67c9da091815640045b3597ae", "score": "0.40833643", "text": "public KillrVideoGrpcClient(String grpcServer, int grpcPort) {\n this(ManagedChannelBuilder.forAddress(grpcServer, grpcPort).usePlaintext(true).build());\n }", "title": "" }, { "docid": "9f70073ba0bb4de70bb390221d182b03", "score": "0.40789688", "text": "public static NetworkStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<NetworkStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<NetworkStub>() {\n @java.lang.Override\n public NetworkStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new NetworkStub(channel, callOptions);\n }\n };\n return NetworkStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "8e3444076363021ef8193379cebc1e93", "score": "0.40671435", "text": "protected SnapshotsClient(SnapshotsSettings settings) throws IOException {\n this.settings = settings;\n this.stub = ((SnapshotsStubSettings) settings.getStubSettings()).createStub();\n }", "title": "" }, { "docid": "05fa94c43c2099a35515a9e1ec12e66d", "score": "0.40640727", "text": "protected HttpJsonAnalyticsHubServiceStub(\n AnalyticsHubServiceStubSettings settings, ClientContext clientContext) throws IOException {\n this(settings, clientContext, new HttpJsonAnalyticsHubServiceCallableFactory());\n }", "title": "" }, { "docid": "e991a715fac95e7c316a31977fb1d4b1", "score": "0.40578052", "text": "@Test(groups = { \"wso2.esb\" }, description = \"event_brite{eventTeams} integration Negative test.\")\n public void testEventTeamsWithMandatoryNegativeParameters() throws Exception {\n\n String jsonRequestFilePath = pathToRequestsDirectory + \"eventTeams_Negative.txt\";\n String methodName = \"eventTeams\";\n final String jsonString = ConnectorIntegrationUtil.getFileContent(jsonRequestFilePath);\n final String proxyFilePath = \"file:///\" + pathToProxiesDirectory+ methodName + \".xml\";\n String modifiedJsonString = String.format(jsonString, event_briteConnectorProperties.getProperty(\"accessToken\"),event_briteConnectorProperties.getProperty(\"EventID\"));\n\n proxyAdmin.addProxyService(new DataHandler(new URL(proxyFilePath)));\n\n try {\n int responseHeader = ConnectorIntegrationUtil.sendRequestToRetriveHeaders(getProxyServiceURL(methodName), modifiedJsonString);\n\n Assert.assertTrue(responseHeader == 404);\n\n } finally {\n proxyAdmin.deleteProxy(methodName);\n }\n }", "title": "" }, { "docid": "9789fd4b2aa8996923041606e78001a9", "score": "0.40465117", "text": "public static MetricsScopesStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<MetricsScopesStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<MetricsScopesStub>() {\n @java.lang.Override\n public MetricsScopesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new MetricsScopesStub(channel, callOptions);\n }\n };\n return MetricsScopesStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "beeebc2c0dfadb87615fe5ff362a512c", "score": "0.40408438", "text": "public VPN() {\n }", "title": "" }, { "docid": "acca4f5c2b8a91056f7a4f23b171acc8", "score": "0.4024261", "text": "public MockUpnpServiceConfiguration() {\n this(false, false);\n }", "title": "" }, { "docid": "6fea377feb2d36cbd525a3576080a737", "score": "0.4009171", "text": "public static RobotCommand stop() {\n\t\treturn new RobotCommand(CommandType.STOP, 0, \n\t\t\t\t0, null, null, DEFAULT_PRIORITY);\n\t}", "title": "" }, { "docid": "13f0bdc7b70323d70529d8a6e6638dd6", "score": "0.40044796", "text": "@Test\n public void defaultBuilder() {\n SpannerOptions options = SpannerOptions.newBuilder().setProjectId(\"test-project\").build();\n if (Strings.isNullOrEmpty(System.getenv(\"SPANNER_EMULATOR_HOST\"))) {\n assertThat(options.getHost()).isEqualTo(\"https://spanner.googleapis.com\");\n } else {\n assertThat(options.getHost()).isEqualTo(\"http://\" + System.getenv(\"SPANNER_EMULATOR_HOST\"));\n }\n assertThat(options.getPrefetchChunks()).isEqualTo(4);\n assertNull(options.getSessionLabels());\n }", "title": "" }, { "docid": "49bced1df066fbca10bea5552699e57e", "score": "0.40039533", "text": "protected PersistentResourceServiceClient(PersistentResourceServiceSettings settings)\n throws IOException {\n this.settings = settings;\n this.stub = ((PersistentResourceServiceStubSettings) settings.getStubSettings()).createStub();\n this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());\n }", "title": "" }, { "docid": "2457d6559dab5b05111615f08fae1e04", "score": "0.39995155", "text": "Minus createMinus();", "title": "" }, { "docid": "685e98b5fdbcc5675fd73442dddef1f8", "score": "0.39993426", "text": "public static final ServiceUsageClient create() throws IOException {\n return create(ServiceUsageSettings.newBuilder().build());\n }", "title": "" }, { "docid": "d5c7f66a025198e83c57d3036624d5a1", "score": "0.3997913", "text": "public static CalculatorServiceStub newStub(io.grpc.Channel channel) {\n return new CalculatorServiceStub(channel);\n }", "title": "" }, { "docid": "f1ce70664b04396cd76efeb2ab6a1a98", "score": "0.3996639", "text": "private static <TOptions extends VectorRasterizationOptions> VectorRasterizationOptions\r\n createPageOptions(Class<TOptions> type, Size pageSize) throws IllegalAccessException, InstantiationException\r\n {\n TOptions options = type.newInstance();\r\n // Set the page size\r\n options.setPageSize(Size.to_SizeF(pageSize));\r\n return options;\r\n }", "title": "" }, { "docid": "f464795c3ebeb6deb33e9916d3d252be", "score": "0.39911395", "text": "private static void setNegPol(Polarity pol, IndexedWord negWord, SemanticGraphEdge negEdge){\n pol.setType(Polarity.Type.NEGATIVE);\n pol.addNegativeWord(negWord);\n pol.addNegativeEdge(negEdge);\n }", "title": "" }, { "docid": "57f0395cf8e87167c3b31b855be3c24a", "score": "0.39888215", "text": "protected HttpJsonPrivateCatalogStub(\n PrivateCatalogStubSettings settings,\n ClientContext clientContext,\n HttpJsonStubCallableFactory callableFactory)\n throws IOException {\n this.callableFactory = callableFactory;\n\n HttpJsonCallSettings<SearchCatalogsRequest, SearchCatalogsResponse>\n searchCatalogsTransportSettings =\n HttpJsonCallSettings.<SearchCatalogsRequest, SearchCatalogsResponse>newBuilder()\n .setMethodDescriptor(searchCatalogsMethodDescriptor)\n .setTypeRegistry(typeRegistry)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"resource\", String.valueOf(request.getResource()));\n return builder.build();\n })\n .build();\n HttpJsonCallSettings<SearchProductsRequest, SearchProductsResponse>\n searchProductsTransportSettings =\n HttpJsonCallSettings.<SearchProductsRequest, SearchProductsResponse>newBuilder()\n .setMethodDescriptor(searchProductsMethodDescriptor)\n .setTypeRegistry(typeRegistry)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"resource\", String.valueOf(request.getResource()));\n return builder.build();\n })\n .build();\n HttpJsonCallSettings<SearchVersionsRequest, SearchVersionsResponse>\n searchVersionsTransportSettings =\n HttpJsonCallSettings.<SearchVersionsRequest, SearchVersionsResponse>newBuilder()\n .setMethodDescriptor(searchVersionsMethodDescriptor)\n .setTypeRegistry(typeRegistry)\n .setParamsExtractor(\n request -> {\n RequestParamsBuilder builder = RequestParamsBuilder.create();\n builder.add(\"resource\", String.valueOf(request.getResource()));\n return builder.build();\n })\n .build();\n\n this.searchCatalogsCallable =\n callableFactory.createUnaryCallable(\n searchCatalogsTransportSettings, settings.searchCatalogsSettings(), clientContext);\n this.searchCatalogsPagedCallable =\n callableFactory.createPagedCallable(\n searchCatalogsTransportSettings, settings.searchCatalogsSettings(), clientContext);\n this.searchProductsCallable =\n callableFactory.createUnaryCallable(\n searchProductsTransportSettings, settings.searchProductsSettings(), clientContext);\n this.searchProductsPagedCallable =\n callableFactory.createPagedCallable(\n searchProductsTransportSettings, settings.searchProductsSettings(), clientContext);\n this.searchVersionsCallable =\n callableFactory.createUnaryCallable(\n searchVersionsTransportSettings, settings.searchVersionsSettings(), clientContext);\n this.searchVersionsPagedCallable =\n callableFactory.createPagedCallable(\n searchVersionsTransportSettings, settings.searchVersionsSettings(), clientContext);\n\n this.backgroundResources =\n new BackgroundResourceAggregation(clientContext.getBackgroundResources());\n }", "title": "" }, { "docid": "3bf2f63576fbcb6be79d1ebd3a97aa28", "score": "0.39802507", "text": "private RPGUnitFactory() {\n }", "title": "" }, { "docid": "05a613f527c776c77e5688468bf38d7e", "score": "0.39703208", "text": "public static MsgStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<MsgStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<MsgStub>() {\n @java.lang.Override\n public MsgStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new MsgStub(channel, callOptions);\n }\n };\n return MsgStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "05a613f527c776c77e5688468bf38d7e", "score": "0.39703208", "text": "public static MsgStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<MsgStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<MsgStub>() {\n @java.lang.Override\n public MsgStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new MsgStub(channel, callOptions);\n }\n };\n return MsgStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "05a613f527c776c77e5688468bf38d7e", "score": "0.39703208", "text": "public static MsgStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<MsgStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<MsgStub>() {\n @java.lang.Override\n public MsgStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new MsgStub(channel, callOptions);\n }\n };\n return MsgStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "69f5dcc4e615c4dfda042f3676c3e5f5", "score": "0.3970171", "text": "public Stub() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.internal.backup.IObbBackupService.Stub.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.internal.backup.IObbBackupService.Stub.<init>():void\");\n }", "title": "" }, { "docid": "fbbdd782cd0552d5075dfe5c53336ea0", "score": "0.39682388", "text": "public OptionsBuilder<T, R> disable(T disabled) {\n\t\tthis.disabled = Arrays.asList(disabled);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "a4c0db7e21be6516b1fd3ca9bdcb6439", "score": "0.39625573", "text": "public Stub() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.hardware.face.IFaceService.Stub.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.hardware.face.IFaceService.Stub.<init>():void\");\n }", "title": "" }, { "docid": "9d34922975a79b8c1b0ce380b66d175d", "score": "0.39611182", "text": "public KillrVideoGrpcClient(ManagedChannel grpcEndpoint) {\n this.grpcEndPoint = grpcEndpoint;\n initServiceClients();\n }", "title": "" }, { "docid": "a5fd63cdc5d9bf4a1d3e24f524214a4f", "score": "0.39581245", "text": "public Builder setNegativeResponseCode(int value) {\n \n negativeResponseCode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "fd880479a55675b4fe4ad7edaba0a70c", "score": "0.39450485", "text": "public static FeaturestoreServiceStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<FeaturestoreServiceStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<FeaturestoreServiceStub>() {\n @java.lang.Override\n public FeaturestoreServiceStub newStub(\n io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new FeaturestoreServiceStub(channel, callOptions);\n }\n };\n return FeaturestoreServiceStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "89828f47ab1891c4ad6e8975424649a0", "score": "0.39450043", "text": "public PurchaseReservedInstancesOfferingRequest() {}", "title": "" }, { "docid": "5758eaa879a8aaba0a7b916498fb1abd", "score": "0.39439103", "text": "protected WalletFactory() {\n }", "title": "" }, { "docid": "45af9f3cda380afe3cb5bfc1113fe058", "score": "0.39433527", "text": "private Stop(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "534c6e2f400f7c278559457d1d11e744", "score": "0.39432958", "text": "public List setNegativeKeywordListId(java.lang.Long negativeKeywordListId) {\n this.negativeKeywordListId = negativeKeywordListId;\n return this;\n }", "title": "" }, { "docid": "5cfc2c591a140e6f0de7e66b52ca1fb2", "score": "0.3942376", "text": "public StopFreezePdu() // default constructor\n{\n setPduType(PduTypeField.STOPFREEZE);\n realWorldTime = new ClockTime();\n reason = new UnsignedByte();\n frozenBehavior = new UnsignedByte();\n padding = new UnsignedShort();\n requestID = new UnsignedInt();\n\n return;\n}", "title": "" }, { "docid": "c08fbfc5d2c263230d943f1cdff8a8fe", "score": "0.39419737", "text": "public StubBuilder(T mockInstance) {\n tls.set(this);\n this.from = mockInstance;\n }", "title": "" }, { "docid": "2fc358b555d8654984b046349b9d6523", "score": "0.39406922", "text": "public static SpaceCloudStub newStub(io.grpc.Channel channel) {\n return new SpaceCloudStub(channel);\n }", "title": "" }, { "docid": "5a93c41b10024a29c47693a4c4b2a221", "score": "0.39396265", "text": "public static LimitType create() {\n \n\n return valueOf(0);\n }", "title": "" }, { "docid": "b2175174124a0657519d940f191090a0", "score": "0.39372823", "text": "public static RecommendationServiceBlockingStub newBlockingStub(\n io.grpc.Channel channel) {\n return new RecommendationServiceBlockingStub(channel);\n }", "title": "" }, { "docid": "b153a4c9b44e898ef0a1a253d3367f7e", "score": "0.3928778", "text": "private ServiceFactory() {\n }", "title": "" }, { "docid": "e4a1467625993d2b37564298c11a7aee", "score": "0.3920553", "text": "public BaseRateLimiterServiceConsumer() {\n }", "title": "" }, { "docid": "fd7472f31ff1f4d0858e01523bd8af29", "score": "0.39205366", "text": "protected HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext)\n throws IOException {\n this(settings, clientContext, new HttpJsonDisksCallableFactory());\n }", "title": "" }, { "docid": "56a28ab4c54a84039d9035e295cbd505", "score": "0.39159432", "text": "@Test\n public void testCreateStopwordListWOptions() throws Throwable {\n // Register a mock response\n String mockResponseBody = \"{\\\"status\\\": \\\"active\\\", \\\"type\\\": \\\"type\\\"}\";\n String createStopwordListPath =\n \"/v1/environments/testString/collections/testString/word_lists/stopwords\";\n server.enqueue(\n new MockResponse()\n .setHeader(\"Content-type\", \"application/json\")\n .setResponseCode(200)\n .setBody(mockResponseBody));\n\n // Construct an instance of the CreateStopwordListOptions model\n CreateStopwordListOptions createStopwordListOptionsModel =\n new CreateStopwordListOptions.Builder()\n .environmentId(\"testString\")\n .collectionId(\"testString\")\n .stopwordFile(TestUtilities.createMockStream(\"This is a mock file.\"))\n .stopwordFilename(\"testString\")\n .build();\n\n // Invoke createStopwordList() with a valid options model and verify the result\n Response<TokenDictStatusResponse> response =\n discoveryService.createStopwordList(createStopwordListOptionsModel).execute();\n assertNotNull(response);\n TokenDictStatusResponse responseObj = response.getResult();\n assertNotNull(responseObj);\n\n // Verify the contents of the request sent to the mock server\n RecordedRequest request = server.takeRequest();\n assertNotNull(request);\n assertEquals(request.getMethod(), \"POST\");\n // Verify request path\n String parsedPath = TestUtilities.parseReqPath(request);\n assertEquals(parsedPath, createStopwordListPath);\n // Verify query params\n Map<String, String> query = TestUtilities.parseQueryString(request);\n assertNotNull(query);\n assertEquals(query.get(\"version\"), \"testString\");\n }", "title": "" }, { "docid": "7ffbf96d07a346e54a76d32c2e21ef6b", "score": "0.3911717", "text": "public static AdaptationStub newStub(io.grpc.Channel channel) {\n io.grpc.stub.AbstractStub.StubFactory<AdaptationStub> factory =\n new io.grpc.stub.AbstractStub.StubFactory<AdaptationStub>() {\n @java.lang.Override\n public AdaptationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {\n return new AdaptationStub(channel, callOptions);\n }\n };\n return AdaptationStub.newStub(factory, channel);\n }", "title": "" }, { "docid": "4bfe8f261e32ca47d10e958c64552c22", "score": "0.390603", "text": "private BestOffer() {}", "title": "" } ]
34673873ccf8a0eab9d2901fc3ead1fd
Sets max dimensions of sidebar
[ { "docid": "2b4cdb4c304d3940a27e5a3fb86f2c04", "score": "0.7464924", "text": "public void setMaxSize(double maxWidth, double maxHeight) {\n\t\tsidebar.setMaxSize(maxWidth, maxHeight);\n\t}", "title": "" } ]
[ { "docid": "ae32753f32de7be2e318c9771bef86ad", "score": "0.7144376", "text": "public void setMaxWidth(double maxWidth) {\n\t\tsidebar.setMaxWidth(maxWidth);\n\t}", "title": "" }, { "docid": "70c1010b7b4ad92b01d05ba79cf9a979", "score": "0.69151914", "text": "public Sidebar(double maxWidth, double maxHeight) {\n\t\tconstructSidebar();\n\t\tsetMaxSize(maxWidth, maxHeight);\n\t}", "title": "" }, { "docid": "e22b0eeabfe882a1ece4bf066c75c185", "score": "0.67452896", "text": "public void setMaximumSize(int w, int h);", "title": "" }, { "docid": "66f042806d4eededdf1def5d93e1a07d", "score": "0.6663955", "text": "public abstract void setMaximumWidth(int w);", "title": "" }, { "docid": "4d3ee5a55cd5f756b53f34f90531cf13", "score": "0.6529611", "text": "void setMaxHeight(int maxHeight);", "title": "" }, { "docid": "07a1a15bf2163d43c77e5f049328b446", "score": "0.61567044", "text": "public abstract Dimension getMaximumSize();", "title": "" }, { "docid": "6fba40d5734199761ba28a1b974c87d4", "score": "0.61275446", "text": "public void setMax(Dimension d)\n\t{\n\t\tmaxRow=d.width;\n\t\tmaxCol=d.height;\n\t}", "title": "" }, { "docid": "c6a7da9ffefb470458327d6edc968b4a", "score": "0.59614456", "text": "private void updateMaxCoordinates() {\r\n Globals.MAX_X.set(findViewById(R.id.main_layout).getWidth());\r\n Globals.MAX_Y.set(findViewById(R.id.main_layout).getHeight());\r\n }", "title": "" }, { "docid": "bf5838156bd36dbe3a9f365c29e4aa15", "score": "0.59384894", "text": "public void setMaxWidth(int mWidth) {\r\n\t\tif (mWidth < 3) throw new IllegalArgumentException(\"maxWidth\");\r\n\t\tmaxWidth = mWidth;\r\n\t}", "title": "" }, { "docid": "f255adbbf5840c58bd2d8046dd630291", "score": "0.5897919", "text": "@Override\r\n\t\tpublic Dimension getMaximumSize() {\r\n\t\t\tDimension max = super.getMaximumSize();\r\n\t\t\tmax.height = getPreferredSize().height;\r\n\t\t\treturn max;\r\n\t\t}", "title": "" }, { "docid": "b21d967e7eebce3d96d6533e00a57b69", "score": "0.5888545", "text": "public void setWindowSize(int width, int height, boolean isMaximized) {\n this.width = width;\n this.height = height;\n this.isMaximized = isMaximized;\n }", "title": "" }, { "docid": "640d9706a5721f4ef03f9e3cc157743f", "score": "0.5884531", "text": "public void setMaxWorldX(double maxWX) {\n maxWorldX = maxWX;\n }", "title": "" }, { "docid": "ab4f5d7a299848289e7e7b6f81e2f773", "score": "0.58813316", "text": "INSTANCE_TYPE setLayoutMaxSize(Integer size);", "title": "" }, { "docid": "5f63ccf60ca4a792e9a7a0423e3696ff", "score": "0.5861404", "text": "public abstract void bloccaDimMax();", "title": "" }, { "docid": "2aaf3c95c6db604d3c691c4affa9285d", "score": "0.57829875", "text": "public void setMaxSetSize(int maxSetSizeArg)\r\n\t{\r\n\t\tmaxSetSize = maxSetSizeArg;\r\n\t}", "title": "" }, { "docid": "6575956bd0b90a9327571a2e2a8c30a7", "score": "0.5778724", "text": "public abstract void sbloccaDimMax();", "title": "" }, { "docid": "fed4119d1991caab45e52ba920a17a9a", "score": "0.57701045", "text": "public void setMaximizedBounds(Rectangle bounds)\n { \n }", "title": "" }, { "docid": "e720f3818be609d72ed1a9b95e07bccc", "score": "0.5754858", "text": "public void setXMaxExtent(short maxExtentValue) {\n/* 321 */ this.xMaxExtent = maxExtentValue;\n/* */ }", "title": "" }, { "docid": "5406f1c11d4705a1c0059926176cd240", "score": "0.57425106", "text": "int getMaxHeight();", "title": "" }, { "docid": "6610faf5003e8806c4d2817d47ea3364", "score": "0.5702867", "text": "public void setMaxDrawerNum(String size) {\n this.maxDrawerNum = MAX_DRAWER_NUM;\n }", "title": "" }, { "docid": "62f3eaec0e3f00c5390b5a048d564c9c", "score": "0.5688212", "text": "public Builder setMaxViewer(int value) {\n bitField0_ |= 0x00000002;\n maxViewer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7a448d88f559bd8119fd743bd1918554", "score": "0.5676014", "text": "public void setMaxHeight(final int maxHeight) {\n this.maxHeight = maxHeight;\n }", "title": "" }, { "docid": "b72e4a558f166a85733c3a124ca4367d", "score": "0.56594515", "text": "protected void setMaxPosition(Position max) { this.max = max; }", "title": "" }, { "docid": "790b8412a8db823ff4d040aa54f9f6d9", "score": "0.56484425", "text": "public Dimension getMax()\n\t{\n\t\treturn new Dimension(maxRow,maxCol);\n\t}", "title": "" }, { "docid": "265486d5d05eb0e7d23d8dab347fcbf2", "score": "0.562942", "text": "public Dimension maximumLayoutSize(Container target)\r\n\t{\r\n\t\treturn new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);\r\n\t}", "title": "" }, { "docid": "55054571cb531b6208d6dcf53def76f4", "score": "0.5619806", "text": "public Dimension maximumLayoutSize(Container target) {\n System.out.println(\"MaximumLayoutSize(Container)\");\n return new Dimension(100,100);\n }", "title": "" }, { "docid": "14c064216ee0ecbd1a2d0d34efaab30f", "score": "0.56115544", "text": "public int getMaxWidth() {\r\n\t\treturn maxWidth;\r\n\t}", "title": "" }, { "docid": "95ac63858ec454e4d4690d223155e383", "score": "0.55960166", "text": "public void setMaxEdges( int maxEdges ) {\n this.maxEdges = maxEdges;\n }", "title": "" }, { "docid": "eaa64283a1e0e057e915c674b3353c79", "score": "0.5593204", "text": "public void setFixedSize( CoDimension2D size );", "title": "" }, { "docid": "2d7945040087484cf3b73582bfe97473", "score": "0.55421895", "text": "@Override\r\n public int getMaxWidth() {\r\n return this.getDefaultWidth();\r\n }", "title": "" }, { "docid": "6fb4a546a69cd0d3c4dd32d6a4270da5", "score": "0.55397487", "text": "public void setMaxSize(int maxSize);", "title": "" }, { "docid": "65d02f3295eb334e2a60df8b5d37ceb2", "score": "0.55175364", "text": "public void setMaxHeight(final Double value)\n\t{\n\t\t_maxHeight = getPersistenceContext().setValue(MAXHEIGHT, value);\n\t}", "title": "" }, { "docid": "4977e3c40c66f670cd3ccd0c2465be8f", "score": "0.54884136", "text": "public static int getMaxWorldHeight() {\n return maxWorldHeight;\n }", "title": "" }, { "docid": "1b3e8fefc462aa24f692bf4c95e01b21", "score": "0.54787105", "text": "public Dimension maximumLayoutSize(Container target) { return null; }", "title": "" }, { "docid": "f8c719a04125f33ef02a11825ccf0a4e", "score": "0.5476183", "text": "void Everything_SetMax(int dwMax);", "title": "" }, { "docid": "3a44ffd28f1aac0e1a501c03bc5ca5c9", "score": "0.54641116", "text": "public void setMaxHeight(int maxHeight) {\n if (maxHeight != mMaxHeight) {\n mMaxHeight = maxHeight;\n notifyChanged();\n }\n }", "title": "" }, { "docid": "b999f47ee076af453552c6179f31531e", "score": "0.54443675", "text": "private void maxSize(int maxSize) {\n\t\tthis.maxSize = maxSize;\n\t}", "title": "" }, { "docid": "c2d46ced04eafeed91704a2852c8f1bc", "score": "0.5442885", "text": "public void init(){\n resize(300,300);\n }", "title": "" }, { "docid": "9cde18066b36fb3a1e3d0ce48926b346", "score": "0.5436168", "text": "private int getMaxColumns() {\n int screen;\n if (Theme.isPortrait())\n screen = activity.getResources().getConfiguration().screenHeightDp;\n else\n screen = activity.getResources().getConfiguration().screenWidthDp;\n return screen > 970 ? 2 : 1;\n }", "title": "" }, { "docid": "f8178316f985f2ec5efc1edcc607258d", "score": "0.5436088", "text": "void setMinHeight(int minHeight);", "title": "" }, { "docid": "0dc62cba115d1753e34fb46dd1b58a82", "score": "0.5411244", "text": "public void setGridSize(List<KioskQuery> k, int row_max, int col_max) {\n\r\n\t\tfor (int i = 0; i < k.size(); i++) {\r\n\r\n\t\t\tk.get(i).setLocation_grid_row_max(row_max);\r\n\t\t\tk.get(i).setLocation_grid_column_max(col_max);\r\n\r\n\t\t} // inner for\r\n\r\n\t}", "title": "" }, { "docid": "9a52957a470bd18a235b633f55afcd48", "score": "0.5410602", "text": "void setDimension(int value);", "title": "" }, { "docid": "7c01c2d9fa13887d23b8301bcc4588f1", "score": "0.5408657", "text": "int getMaxViewer();", "title": "" }, { "docid": "0bfc521ad60759087fa45483f47fc45d", "score": "0.5405907", "text": "public void setHeatMax(double max) {\n\t\theatMapEl.setHeatMax(max);\n\t\tcolorBar.setMaxValue(max);\n\t\tcolorBar.setColors(heatMapEl.getColors());\n\t\trepaint();\n\t}", "title": "" }, { "docid": "bf9cd40aa446839c8a405fe9596be366", "score": "0.5405809", "text": "public void setMaximumSuggestSize(Dimension size) {\n\t\td.setMaximumSize(size);\n\t}", "title": "" }, { "docid": "db12e21e2c273c09a1c46be57d655800", "score": "0.53960973", "text": "public void setMaxZoom(int maxzoom);", "title": "" }, { "docid": "d8f353d92f2f809c9d2c89d711bf3369", "score": "0.5396092", "text": "@Override\n protected void setMaxOffset() {\n maxOffset = getContentSize() + scrollMargin - getWidth();\n }", "title": "" }, { "docid": "a650ac34b0773e17ab4656fe0625ea5d", "score": "0.5393528", "text": "public void setMaxValueSize(int maxValueSize) {\n this.maxValueSize = maxValueSize;\n }", "title": "" }, { "docid": "1f8a68f6eee752463e755942281810b7", "score": "0.538815", "text": "public static Dimension getMaximumWindowBounds() {\r\n String vers = System.getProperty(\"java.version\");\r\n if (vers.compareTo(\"1.4\")>= 0)\r\n return new Dimension(GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getSize());\r\n else \r\n return new Dimension(Toolkit.getDefaultToolkit().getScreenSize());\r\n }", "title": "" }, { "docid": "8e63010b721fe4c86aad1de40b94e30c", "score": "0.53804314", "text": "public void setMaxSize(int maxSize)\n {\n this.maxSize = maxSize;\n }", "title": "" }, { "docid": "0bc8f1866540f1c979ae2e7d4db4306b", "score": "0.5367122", "text": "public void setPreferedSizeForTextEditorPanel(){\n //g2d.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON);\n Dimension actualSize=res.getSize();\n Dimension requiredSize=res.getPreferredSize();\n if(actualSize.height<requiredSize.height || actualSize.width < requiredSize.width ){\n res.setSize(res.getPreferredSize());\n res.resize();\n this.width=res.getWidth();\n this.height=res.getHeight();\n //g2d.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON);\n }\n res.revalidate();\n res.repaint();\n }", "title": "" }, { "docid": "7dbd5e7607b795792ebb00450236a129", "score": "0.5360518", "text": "public static int calculateMaxGUIGridWidth() {\n\t\treturn GUIButtonLength * numWideHARD;\n\t}", "title": "" }, { "docid": "12697cf282dc98dd21ba2c214dd70136", "score": "0.5359477", "text": "public void setMaxCapacity(int maxAmountOfLiquid) {\n\t\tthis.maxAmountOfLiquid = maxAmountOfLiquid;\n\t}", "title": "" }, { "docid": "f4b091ae7110a85f330fdb17027443fe", "score": "0.5340836", "text": "void setMax(int max) { this.max = new SimplePosition(false,false,max); }", "title": "" }, { "docid": "93d9c66cc70a8ab5ebb5fbc1f453cd37", "score": "0.53379035", "text": "@Override\n\tpublic void setMaximum(int m) {\n\t\tif (myBar != null) {\n\t\t\tmyBar.setMaximum(m);\n\t\t}\n\t\tmax = m;\n\t}", "title": "" }, { "docid": "b2373b47e073ead0152413e2665b17b2", "score": "0.5336632", "text": "public int getMaxViewer() {\n return maxViewer_;\n }", "title": "" }, { "docid": "718643043e9e1d8023c3894889cee18e", "score": "0.5322089", "text": "public void setAreaSize() {\r\n\t\tRectangle parentSize = parent.getClientArea();\r\n\t\twidth = parentSize.width;\r\n\t\theight = parentSize.height;\r\n\t\tsetSize(parent.getSize());\r\n\r\n\t\tclientHeight = height - 2*border;\r\n\t\tclientWidth = width - 2*border;\r\n\t\t\r\n\t\tsetLineWidth();\r\n\t}", "title": "" }, { "docid": "a4d11c30ca5f1adfcd0d6dae34b79cab", "score": "0.5304864", "text": "INSTANCE_TYPE setLayoutMinSize(Integer size);", "title": "" }, { "docid": "79f30c7cd9538d6c0363998d2cd7a12e", "score": "0.5295144", "text": "private void fixupWindowSize()\n{\n Dimension mxsz = getUsedSize();\n\n mxsz.width += 5;\n mxsz.height += 5;\n\n if (editor_size == null) editor_size = mxsz.getSize();\n else {\n if (mxsz.width > editor_size.width) editor_size.width = mxsz.width;\n if (mxsz.height > editor_size.height) editor_size.height = mxsz.height;\n }\n\n if (getParent() instanceof JViewport) {\n JViewport vp = (JViewport) getParent();\n Dimension d1 = vp.getViewSize();\n Dimension d2 = vp.getExtentSize();\n Dimension d3 = getSize();\n if (d1.width < d2.width || d1.height < d2.height) {\n\t if (d1.width < d2.width) d1.width = d2.width;\n\t if (d1.height < d2.height) d1.height = d2.height;\n\t vp.setViewSize(d1);\n }\n if (d3.width < d2.width || d3.height < d2.height) {\n\t if (d3.width < d2.width) d3.width = d2.width;\n\t if (d3.height < d2.height) d3.height = d2.height;\n\t setSize(d3);\n }\n\n if (editor_size.width < d2.width) editor_size.width = d2.width;\n if (editor_size.height < d2.height) editor_size.height = d2.height;\n }\n\n setSizes();\n}", "title": "" }, { "docid": "8c2f6e64f4d538087d2f1380232aabfe", "score": "0.5292473", "text": "public static void resizeMainWindow() {\r\n int ancho = 640, alto = 480; //Dimension por defecto si no existe el juego.\r\n\r\n if (TetrisMain.game != null) {\r\n ancho = (TetrisMain.game.getPanel().getLeft() + TetrisMain.game.getPanel().getAncho()) * MotorGrafico.getCeldaAncho();\r\n alto = TetrisMain.game.getTablero().getAlto() * MotorGrafico.getCeldaAlto(); //Podria pasar que el alto del tablero fuese menor que el alto del panel, pero no se tendra en cuenta (solo ocurriria con piezas muy grances y un tablero menor que alguna de estas).\r\n }\r\n\r\n int margenHorizontal = schoolalyzer.tetris.configuracion.Aspecto.getMargenHorizontal();\r\n int margenVertical = schoolalyzer.tetris.configuracion.Aspecto.getMargenVertical();\r\n\r\n //Si esta configurado para utilizar JFrame, redimensiona este:\r\n if (schoolalyzer.tetris.configuracion.Otros.getTipoPrograma() == 0) {\r\n TetrisMain.ventanaPrincipal.setSize(ancho + margenHorizontal, alto + margenVertical);\r\n } //...pero si esta configurado para utilizar JApplet, redimensiona este:\r\n else if (schoolalyzer.tetris.configuracion.Otros.getTipoPrograma() == 1) {\r\n //Main.appletPrincipal.setSize(ancho + margenHorizontal, alto + margenVertical);\r\n }\r\n\r\n //Si el juego ha comenzado, redimensiona la imagen de buffer:\r\n if (TetrisMain.game != null) {\r\n TetrisMain.game.redimensionarImagenBuffer();\r\n }\r\n }", "title": "" }, { "docid": "5a0915aff99962549319cf6eb91d2b74", "score": "0.5288078", "text": "public void setUseMaximumDecorationWidth(boolean useMaximumWidth) {\n \t\tuseMaxDecorationWidth = useMaximumWidth;\n \t}", "title": "" }, { "docid": "cc3edf44b87872e1884793298b0166f5", "score": "0.52860314", "text": "private void setExtendedState(int maximizedBoth) {\n\t\t\n\t}", "title": "" }, { "docid": "bc98f726a043fae71d32b6a81ffae98b", "score": "0.5283513", "text": "public void setMaxShelfNum(String size) {\n if (size.equals(\"half\")) {\n this.maxShelfNum = MAX_SHELF_NUM_HALF;\n } else {\n this.maxShelfNum = MAX_SHELF_NUM_QUARTER;\n }\n }", "title": "" }, { "docid": "e8b04a258bba62fb3e12d004e3976be2", "score": "0.5280596", "text": "public Sidebar() {\n\t\tconstructSidebar();\n\t}", "title": "" }, { "docid": "28bb99915cdcd48e70b1c17a63eb0176", "score": "0.52749944", "text": "public void setMaxPageButtons(int max) {\r\n _maxPageButtons = max;\r\n }", "title": "" }, { "docid": "ae4c120aca38e4ae965561fdf866d726", "score": "0.52627015", "text": "public int getWindowSize();", "title": "" }, { "docid": "ae4c120aca38e4ae965561fdf866d726", "score": "0.52627015", "text": "public int getWindowSize();", "title": "" }, { "docid": "e68578653b4ab6e0677e48ddcabcb878", "score": "0.52595574", "text": "public void setMaxSize(long maxSize) {\n\t\tthis.maxSize = maxSize;\n\t}", "title": "" }, { "docid": "a2b279f3bcd6b3568316d3d21d4a69e9", "score": "0.52593243", "text": "public int getMaxHeight() {\n return maxHeight;\n }", "title": "" }, { "docid": "d2301284eabaaad9d952dcb4cb0c47af", "score": "0.5256876", "text": "@Override\r\n\tpublic Dimension maximumLayoutSize(Container target) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "0f8e31b0fc70c13b56303ce6638bd227", "score": "0.52562064", "text": "public void setMax(int max) {\r\n this.max = max;\r\n }", "title": "" }, { "docid": "a3057115a23730b7bcfb75805934613c", "score": "0.52532697", "text": "public void setMaxWorldY(double maxWY) {\n maxWorldY = maxWY;\n }", "title": "" }, { "docid": "8befa449e7a3e403b840abde21ff254e", "score": "0.52438736", "text": "public int getMaxViewer() {\n return maxViewer_;\n }", "title": "" }, { "docid": "19eef57156d689e0d1a7801add9beb06", "score": "0.5235212", "text": "public void setPanelSize(){\n int windowWidth = view.getContentPane().getWidth();\n int windowHeight = view.getContentPane().getHeight();\n this.CELL = Math.min(windowWidth / model.getWidth(), windowHeight / model.getHeight());\n this.setPreferredSize(new Dimension(CELL * model.getWidth(), CELL * model.getHeight()));\n }", "title": "" }, { "docid": "5c2154d3b544c9fd7ceadc3737f00dee", "score": "0.5220174", "text": "public void setMax(int max) {\n this.max = max;\n }", "title": "" }, { "docid": "6eced4b1d55f4087a6c26200cdec2f17", "score": "0.52185607", "text": "public void setMax(long max) {\n fMax = max;\n }", "title": "" }, { "docid": "e0b506c2a38e882d72d1c667c7b51a2c", "score": "0.52031785", "text": "void setAllSizes(Dimension size);", "title": "" }, { "docid": "6f41a2ac744ebb9fe07d3facd2585c2a", "score": "0.5200232", "text": "public void setMaxSize(int m) {\n this.maxSize = m;\n }", "title": "" }, { "docid": "4f7f014730ac9e5cc63f230d7ea15cab", "score": "0.51897633", "text": "public void setPopupSize(Dimension aValue) { firePropertyChange(\"PopupSize\", _popSize, _popSize = aValue, -1); }", "title": "" }, { "docid": "125ef66f87d82b4c7149b7308f5f96bc", "score": "0.5189142", "text": "public void resizeFrame() {\n\t\tsetSize(Configurations.getSize_x(), Configurations.getSize_y());\n\t\tDimension d = getSize();\n\t\tConfigurations.setSize_x((int)d.getWidth());\n\t\tConfigurations.setSize_y((int)d.getHeight());\n\t\trepaint();\n\t}", "title": "" }, { "docid": "4ae8e7edfd1db0dd8ed565e2f2887849", "score": "0.5184884", "text": "public int getMaxSize()\n {\n return maxSize;\n }", "title": "" }, { "docid": "e8b0348d73206c9335139f421eec3870", "score": "0.51816565", "text": "public void setMax(int max) {\n\t\tmaxValue = max;\n\t}", "title": "" }, { "docid": "d1bc5f39a88cfb2bf87dc9f7126ea4c2", "score": "0.5180109", "text": "@Override\n public void setMaximumNumberOfPagesToShow(int maximumNumberOfPagesToShow) throws G2AccessException {\n setAttributeValue (SystemAttributeSymbols.MAXIMUM_NUMBER_OF_PAGES_TO_SHOW_, maximumNumberOfPagesToShow);\n }", "title": "" }, { "docid": "785d2edb883ae0ea0cb00fc39793336a", "score": "0.51780957", "text": "public final Integer getMaximumWidth() {\n return maximumSpanWidth;\n }", "title": "" }, { "docid": "e984b6ff0d8f1f5ee6c38f0291a91d9a", "score": "0.5170316", "text": "@Override\r\n\tprotected int getShellStyle() {\n\t\treturn super.getShellStyle()|SWT.RESIZE|SWT.MAX;\r\n\t}", "title": "" }, { "docid": "2aaa163b31eb1c3895ca32cd4f525b88", "score": "0.5170224", "text": "public void setMaximum(double max) {\n\t\tmaximum = max;\n\t\trepaint();\n\t}", "title": "" }, { "docid": "706ab5387f4cf4f26bfd40b311f453c4", "score": "0.5167734", "text": "protected void onResize() {\n }", "title": "" }, { "docid": "5d4dacc745ac768cfa22b9a0a0d3d0ad", "score": "0.5164595", "text": "@Override public Dimension getPreferredSize()\n{\n if (editor_size != null) {\n if (scale_by == 1) return editor_size;\n return new Dimension((int)(editor_size.width * scale_by),\n\t\t\t (int)(editor_size.height * scale_by));\n }\n\n return new Dimension(10,10);\n}", "title": "" }, { "docid": "cc4d08366a98cce0560216eae93dcbab", "score": "0.5163504", "text": "public void setAbsoluteWidth(int width);", "title": "" }, { "docid": "80060d59cc4658753e7af766d23a9908", "score": "0.51631653", "text": "public void setMaximumDistance(double max_dist) {\n this.max_dist = max_dist;\n }", "title": "" }, { "docid": "a68e74a619d8c7a2422e0346b46579a9", "score": "0.51449", "text": "public int getMaxSize()\n {\n return maxSize;\n }", "title": "" }, { "docid": "8ed86640d36fb9e068a08e92a9bfffc1", "score": "0.5144657", "text": "public void setMinimumSize(int w, int h);", "title": "" }, { "docid": "cf647e052d8e98d5f3717c65b517e661", "score": "0.51413953", "text": "public void setShowSideBar(boolean aValue)\n{\n if(aValue==isShowSideBar()) return;\n _showSideBar = aValue;\n if(aValue)\n _mainSplit.addItemWithAnim(_sideBarSplit,220,0);\n else _mainSplit.removeItemWithAnim(_sideBarSplit);\n}", "title": "" }, { "docid": "8a488c1298ea4a498c54f5c3bd65cd69", "score": "0.5137757", "text": "public int getMaxSize() ;", "title": "" }, { "docid": "2bcb818764ae6c52d6940c7fc1b3d582", "score": "0.5134981", "text": "public void handleResize(Dimension newSize);", "title": "" }, { "docid": "6a835cde3dd6c6ae3ea351109f7f6b40", "score": "0.512801", "text": "public void setMax(Integer max) {\n\t\t_max = max;\n\t}", "title": "" }, { "docid": "65b82aa79e74646f99ec02d4b5f2abda", "score": "0.51273197", "text": "public static int getWidth() {\n\t\treturn Math.max(300, HelloWorldSettings.prefs.getInt(\"width\", 600));\n\t}", "title": "" }, { "docid": "85ea065c0e50e24c1972bc33fc6e5bc3", "score": "0.51268494", "text": "public static void setCurrentMaxDistance(int currentMaxDistance) {\n Settings.currentMaxDistance = currentMaxDistance;\n }", "title": "" }, { "docid": "09f290a0b87c6cfead71325312f318dc", "score": "0.5126627", "text": "public void setMaxX(double aMaxX){\n maxX = aMaxX;\n }", "title": "" }, { "docid": "c028ee73fb2bae77a9560b55592fe138", "score": "0.51219016", "text": "public void setMaxElements(int maxElements) { \n mPDSearchObject.setMaxElements(maxElements);\n }", "title": "" } ]
23dd089c40b838bd0b565eb13045df71
This code has been tested || Working /
[ { "docid": "3dff17e923e09f90868284404713a815", "score": "0.0", "text": "public int minDominoRotations(int[] A, int[] B) {\n int resultA = Math.min(countRotations(A[0], A, B), countRotations(A[0], B, A));\n\n int resultB = Math.min(countRotations(B[0], A, B), countRotations(B[0], B, A));\n\n int result = Math.min(resultA, resultB);\n return result == Integer.MAX_VALUE?-1:result;\n }", "title": "" } ]
[ { "docid": "b42b054dfaac7d94036bce6ecf272a0e", "score": "0.58927125", "text": "private void pepe() {\n\t\t\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.57964116", "text": "public void mo27791d() {\n }", "title": "" }, { "docid": "051f88f1f94e36fab8ec66de1946f037", "score": "0.5756406", "text": "public void mo27794g() {\n }", "title": "" }, { "docid": "91f4e7e88ad2f79be16e41fb98c69cb6", "score": "0.5738706", "text": "private void aviTomov() {\n\t\t\n\t}", "title": "" }, { "docid": "fdf6bcd763ea5f5b221fd5a7669d1afb", "score": "0.57369417", "text": "public void mo28805a() {\n }", "title": "" }, { "docid": "203e120e0c17c7a390717d0ca9ff147a", "score": "0.5651857", "text": "public void mo11316JX() {\n }", "title": "" }, { "docid": "5eb303064635f4909e997c3effe2511d", "score": "0.5625353", "text": "public void mo27792e() {\n }", "title": "" }, { "docid": "381ca210fc42b87f9b8af474719578a0", "score": "0.56199265", "text": "public void mo41489c() {\n }", "title": "" }, { "docid": "190a9f37225fa54ff86b6d69921bf532", "score": "0.56163836", "text": "private void flvTomov() {\n\t\t\n\t}", "title": "" }, { "docid": "17b81ca2c4c2c9809e0125c66499604f", "score": "0.5601194", "text": "protected boolean ba()\r\n/* 1520: */ {\r\n/* 1521:1671 */ return true;\r\n/* 1522: */ }", "title": "" }, { "docid": "2097402406ed48de16ed7ccfe28a85b4", "score": "0.5588382", "text": "public void mo5927b() {\n }", "title": "" }, { "docid": "95ce0fc7444d023b91c55224c1aba5ba", "score": "0.556201", "text": "private void gpTomov() {\n\t\t\n\t}", "title": "" }, { "docid": "e8b6a10ed01f50fbe15d66c44e6b001f", "score": "0.55030954", "text": "public void mo28809c() {\n }", "title": "" }, { "docid": "6fc1bc8405449cd5caa1d0d4cc253eff", "score": "0.5495902", "text": "public void mo27783b() {\n }", "title": "" }, { "docid": "b623306824ebd023ab9bf4fc0a66aaf3", "score": "0.54813427", "text": "public void mo5928c() {\n }", "title": "" }, { "docid": "222e7b9d44422cda9de5df0085949df1", "score": "0.5464865", "text": "public void mo27793f() {\n }", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.5434374", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9cd862781f3f1b2131f1166e2a9fd8dc", "score": "0.54254484", "text": "private void patrol() {\n\t\t\n\t}", "title": "" }, { "docid": "2eaf4ba669b17c058267cac66e2a7f1f", "score": "0.5403846", "text": "void mo34404u();", "title": "" }, { "docid": "11456bcd21ff0bc594abe5edbbc0252b", "score": "0.53768015", "text": "private void aviTomp4() {\n\t\t\n\t}", "title": "" }, { "docid": "f02c338eb46eb5cdf9d19504df309595", "score": "0.5357073", "text": "public void mo28814l() {\n }", "title": "" }, { "docid": "3634c556e27279efca361fab1c61062c", "score": "0.534325", "text": "private void checkForComodification() {\n }", "title": "" }, { "docid": "61b5f34bed8d0ebc39cd8ae396d6b61a", "score": "0.53185064", "text": "public abstract void mo114246n();", "title": "" }, { "docid": "8b6c961814c14fa02879570fd7e65ac5", "score": "0.53147507", "text": "@Override\r\n\tpublic void scarica() {\n\t\t\r\n\t}", "title": "" }, { "docid": "393237de9c40b0b47e9d2c845ed92ee5", "score": "0.52972513", "text": "public void mo45857a() {\n }", "title": "" }, { "docid": "89685a97be106c5e65406e42741d0ec3", "score": "0.52879524", "text": "public void mo1383a() {\n }", "title": "" }, { "docid": "da5e9df869731b2ae1dfbbfdf12b8cd8", "score": "0.5287177", "text": "public void mo3351d() {\n }", "title": "" }, { "docid": "fc43daa2f780c842cb623abee4db4053", "score": "0.5266666", "text": "private void checkLava() {\n \t}", "title": "" }, { "docid": "03143ee9b26aa8a7d43576d479e4400a", "score": "0.5249475", "text": "public final void mo55685Zy() {\n }", "title": "" }, { "docid": "eb92b32dc3cd795c7c394190cf409bd5", "score": "0.5236541", "text": "public void mo41487a() {\n }", "title": "" }, { "docid": "20be7f0217790f8dec90093088e55a3d", "score": "0.5215414", "text": "final void checkForComodification() {\n }", "title": "" }, { "docid": "546f373d880c711d7fabaf297bffdc76", "score": "0.5198136", "text": "void mo75228D();", "title": "" }, { "docid": "3eaed3b2daf06d292ae9212aec7d7013", "score": "0.5188768", "text": "@Override\n public void beforCheckMatch() {\n\n }", "title": "" }, { "docid": "5ff22b3f452fafea230958ac44c2ad67", "score": "0.51837397", "text": "protected abstract void mo3574f();", "title": "" }, { "docid": "e45fc01dcc7e665ce1d7cfb439060d4e", "score": "0.51835895", "text": "private void gpTomp4() {\n\t\t\n\t}", "title": "" }, { "docid": "a67a091dc00cfd57ed5e798e32ef966a", "score": "0.5166738", "text": "void mo12507g();", "title": "" }, { "docid": "4b90c8cb6b13a1b8002cb41ddec0b0e8", "score": "0.51599765", "text": "public boolean method_2453() {\r\n return false;\r\n }", "title": "" }, { "docid": "43eb41e76d3c71830fb232d009b9f32c", "score": "0.5155121", "text": "public abstract void mo41463rb();", "title": "" }, { "docid": "b048ca4f20a40ca0411a5330c06ce3d5", "score": "0.51548254", "text": "@Override\n\tpublic void infinteBatery() {\n\t\t\n\t}", "title": "" }, { "docid": "9cfdb7a953eedd93829d98c1649d8fa2", "score": "0.5148284", "text": "@Override\r\n\tprotected void rodape() {\n\t\t\r\n\t}", "title": "" }, { "docid": "41aabac9dcbb5573fbd69296a01f2662", "score": "0.5142468", "text": "public abstract void mo114242j();", "title": "" }, { "docid": "78ce3d857fcd96fa1f5703687446eb23", "score": "0.51420534", "text": "public abstract boolean func_175149_v();", "title": "" }, { "docid": "0b319072f0ae7225e83791b70ea23079", "score": "0.5140375", "text": "@Override\r\n\tpublic void ghhvhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "87516d25e91c25920c9c9d991a7ad233", "score": "0.51289487", "text": "@Override\n protected void doOperate() {\n\n }", "title": "" }, { "docid": "b971f9e4e57b204443990c5756637316", "score": "0.511671", "text": "public void mo1385b() {\n }", "title": "" }, { "docid": "322697a26a95392e6c258a4f12f2e79f", "score": "0.51150864", "text": "void mo35855wL();", "title": "" }, { "docid": "90482d06eefa133ca95de14c24d6b18e", "score": "0.5114401", "text": "protected void twinkle() {\n }", "title": "" }, { "docid": "58444f4c3ad5423b7b4d7fc55c53d795", "score": "0.5112511", "text": "private static void aspectSoftwareData() {\n\n\t}", "title": "" }, { "docid": "fb17202b74c1fe7a7d5bf119f222555b", "score": "0.5106921", "text": "public abstract void mo114243k();", "title": "" }, { "docid": "bea3bb4469ac4f2570b76780360fc95c", "score": "0.51064545", "text": "@Override\n\tprotected void testing() {\n\t\t\n\t}", "title": "" }, { "docid": "90fcb927e39fa8f78288d3712ec01730", "score": "0.51016337", "text": "public void mo3352e() {\n }", "title": "" }, { "docid": "2c870913040dbad9b4567f820a8eb535", "score": "0.50999624", "text": "void mo34402s();", "title": "" }, { "docid": "8cfb6991c3438c0a7ea8a5b089c8870c", "score": "0.5099673", "text": "final void checkForComodification() {\n\t\t}", "title": "" }, { "docid": "cc43802eec8da491ead1b94e7e9393b9", "score": "0.50988775", "text": "public abstract boolean mo43897d();", "title": "" }, { "docid": "b79202ade7e8b498d34b61d693ddec8b", "score": "0.50976986", "text": "private static boolean abj(java.lang.String r6) {\n /*\n r5 = 7;\n r1 = 1;\n r0 = 0;\n r2 = \"MicroMsg.MsgRetransmitUI\";\n r3 = \"isImage called, fn:%s, scene:%d\";\n r4 = 2;\n r4 = new java.lang.Object[r4];\n r4[r0] = r6;\n r5 = java.lang.Integer.valueOf(r5);\n r4[r1] = r5;\n com.tencent.mm.sdk.platformtools.x.i(r2, r3, r4);\n r2 = 0;\n r2 = com.tencent.mm.modelsfs.FileOp.openRead(r6);\t Catch:{ FileNotFoundException -> 0x0051, all -> 0x006a }\n r3 = new com.tencent.mm.sdk.platformtools.MMBitmapFactory$DecodeResultLogger;\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n r3.<init>();\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n r4 = com.tencent.mm.sdk.platformtools.MMBitmapFactory.checkIsImageLegal(r2, r3);\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n if (r4 != 0) goto L_0x004a;\n L_0x0027:\n r4 = r3.getDecodeResult();\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n r5 = 2000; // 0x7d0 float:2.803E-42 double:9.88E-321;\n if (r4 < r5) goto L_0x004a;\n L_0x002f:\n r1 = \"MicroMsg.MsgRetransmitUI\";\n r4 = \"try to send illegal image.\";\n com.tencent.mm.sdk.platformtools.x.w(r1, r4);\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n r1 = 7;\n r1 = com.tencent.mm.sdk.platformtools.MMBitmapFactory.KVStatHelper.getKVStatString(r6, r1, r3);\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n r3 = com.tencent.mm.plugin.report.service.h.mEJ;\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n r4 = 12712; // 0x31a8 float:1.7813E-41 double:6.2806E-320;\n r3.k(r4, r1);\t Catch:{ FileNotFoundException -> 0x007a, all -> 0x006a }\n if (r2 == 0) goto L_0x0049;\n L_0x0046:\n r2.close();\t Catch:{ Exception -> 0x0071 }\n L_0x0049:\n return r0;\n L_0x004a:\n if (r2 == 0) goto L_0x004f;\n L_0x004c:\n r2.close();\t Catch:{ Exception -> 0x0073 }\n L_0x004f:\n r0 = r1;\n goto L_0x0049;\n L_0x0051:\n r1 = move-exception;\n r1 = r2;\n L_0x0053:\n r2 = \"MicroMsg.MsgRetransmitUI\";\n r3 = \"fn:%s not found.\";\n r4 = 1;\n r4 = new java.lang.Object[r4];\t Catch:{ all -> 0x0077 }\n r5 = 0;\n r4[r5] = r6;\t Catch:{ all -> 0x0077 }\n com.tencent.mm.sdk.platformtools.x.w(r2, r3, r4);\t Catch:{ all -> 0x0077 }\n if (r1 == 0) goto L_0x0049;\n L_0x0064:\n r1.close();\t Catch:{ Exception -> 0x0068 }\n goto L_0x0049;\n L_0x0068:\n r1 = move-exception;\n goto L_0x0049;\n L_0x006a:\n r0 = move-exception;\n L_0x006b:\n if (r2 == 0) goto L_0x0070;\n L_0x006d:\n r2.close();\t Catch:{ Exception -> 0x0075 }\n L_0x0070:\n throw r0;\n L_0x0071:\n r1 = move-exception;\n goto L_0x0049;\n L_0x0073:\n r0 = move-exception;\n goto L_0x004f;\n L_0x0075:\n r1 = move-exception;\n goto L_0x0070;\n L_0x0077:\n r0 = move-exception;\n r2 = r1;\n goto L_0x006b;\n L_0x007a:\n r1 = move-exception;\n r1 = r2;\n goto L_0x0053;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.ui.transmit.MsgRetransmitUI.abj(java.lang.String):boolean\");\n }", "title": "" }, { "docid": "df30579d1dff595e0126ed8893646bb6", "score": "0.5095429", "text": "final boolean mo4791d() {\n return false;\n }", "title": "" }, { "docid": "66ad52595c5bd1c3d2060a8827943991", "score": "0.50926286", "text": "public void use() {\n\t\t\n\t}", "title": "" }, { "docid": "cceb242d0670eb1df248c7c9a40c066f", "score": "0.5091235", "text": "public boolean method_2434() {\r\n return false;\r\n }", "title": "" }, { "docid": "ad858dfc56484961f94263691e2e25f1", "score": "0.508803", "text": "private void syso() {\n\r\n\t}", "title": "" }, { "docid": "4686c1341e3d54fb37054a46bfe3eedd", "score": "0.50773454", "text": "@android.annotation.SuppressLint({\"NewApi\"})\r\n private void O0000oOO() {\r\n /*\r\n r11 = this;\r\n r0 = r11.O00000o0;\r\n if (r0 != 0) goto L_0x0005;\r\n L_0x0004:\r\n return;\r\n L_0x0005:\r\n r0 = r11.O0000o0;\r\n r1 = r11.O0000o0o;\r\n r2 = 0;\r\n r3 = r11.O00000o0;\t Catch:{ SecurityException -> 0x0019 }\r\n r3 = r3.getAllCellInfo();\t Catch:{ SecurityException -> 0x0019 }\r\n r11.O0000OOo = r2;\t Catch:{ SecurityException -> 0x0014 }\r\n r2 = r3;\r\n goto L_0x0020;\r\n L_0x0014:\r\n r2 = move-exception;\r\n r10 = r3;\r\n r3 = r2;\r\n r2 = r10;\r\n goto L_0x001a;\r\n L_0x0019:\r\n r3 = move-exception;\r\n L_0x001a:\r\n r3 = r3.getMessage();\r\n r11.O0000OOo = r3;\r\n L_0x0020:\r\n if (r2 == 0) goto L_0x00c3;\r\n L_0x0022:\r\n r3 = r2.size();\r\n if (r3 == 0) goto L_0x00c3;\r\n L_0x0028:\r\n if (r0 == 0) goto L_0x002d;\r\n L_0x002a:\r\n r0.clear();\r\n L_0x002d:\r\n r4 = 0;\r\n L_0x002e:\r\n if (r4 >= r3) goto L_0x00c3;\r\n L_0x0030:\r\n r5 = r2.get(r4);\r\n r5 = (android.telephony.CellInfo) r5;\r\n if (r5 == 0) goto L_0x00bf;\r\n L_0x0038:\r\n r6 = r5.isRegistered();\t Catch:{ Throwable -> 0x00bf }\r\n r7 = r5 instanceof android.telephony.CellInfoCdma;\t Catch:{ Throwable -> 0x00bf }\r\n r8 = 65535; // 0xffff float:9.1834E-41 double:3.23786E-319;\r\n if (r7 == 0) goto L_0x0065;\r\n L_0x0043:\r\n r5 = (android.telephony.CellInfoCdma) r5;\t Catch:{ Throwable -> 0x00bf }\r\n r7 = r5.getCellIdentity();\t Catch:{ Throwable -> 0x00bf }\r\n r7 = O000000o(r7);\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 != 0) goto L_0x0051;\r\n L_0x004f:\r\n goto L_0x00bf;\r\n L_0x0051:\r\n r5 = r11.O000000o(r5, r6);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = r1.O000000o(r5);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = java.lang.Math.min(r8, r6);\t Catch:{ Throwable -> 0x00bf }\r\n L_0x005d:\r\n r6 = (int) r6;\t Catch:{ Throwable -> 0x00bf }\r\n r6 = (short) r6;\t Catch:{ Throwable -> 0x00bf }\r\n r5.O0000Ooo = r6;\t Catch:{ Throwable -> 0x00bf }\r\n r0.add(r5);\t Catch:{ Throwable -> 0x00bf }\r\n goto L_0x00bf;\r\n L_0x0065:\r\n r7 = r5 instanceof android.telephony.CellInfoGsm;\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 == 0) goto L_0x0083;\r\n L_0x0069:\r\n r5 = (android.telephony.CellInfoGsm) r5;\t Catch:{ Throwable -> 0x00bf }\r\n r7 = r5.getCellIdentity();\t Catch:{ Throwable -> 0x00bf }\r\n r7 = O000000o(r7);\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 != 0) goto L_0x0076;\r\n L_0x0075:\r\n goto L_0x00bf;\r\n L_0x0076:\r\n r5 = O000000o(r5, r6);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = r1.O000000o(r5);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = java.lang.Math.min(r8, r6);\t Catch:{ Throwable -> 0x00bf }\r\n goto L_0x005d;\r\n L_0x0083:\r\n r7 = r5 instanceof android.telephony.CellInfoWcdma;\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 == 0) goto L_0x00a1;\r\n L_0x0087:\r\n r5 = (android.telephony.CellInfoWcdma) r5;\t Catch:{ Throwable -> 0x00bf }\r\n r7 = r5.getCellIdentity();\t Catch:{ Throwable -> 0x00bf }\r\n r7 = O000000o(r7);\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 != 0) goto L_0x0094;\r\n L_0x0093:\r\n goto L_0x00bf;\r\n L_0x0094:\r\n r5 = O000000o(r5, r6);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = r1.O000000o(r5);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = java.lang.Math.min(r8, r6);\t Catch:{ Throwable -> 0x00bf }\r\n goto L_0x005d;\r\n L_0x00a1:\r\n r7 = r5 instanceof android.telephony.CellInfoLte;\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 == 0) goto L_0x00bf;\r\n L_0x00a5:\r\n r5 = (android.telephony.CellInfoLte) r5;\t Catch:{ Throwable -> 0x00bf }\r\n r7 = r5.getCellIdentity();\t Catch:{ Throwable -> 0x00bf }\r\n r7 = O000000o(r7);\t Catch:{ Throwable -> 0x00bf }\r\n if (r7 != 0) goto L_0x00b2;\r\n L_0x00b1:\r\n goto L_0x00bf;\r\n L_0x00b2:\r\n r5 = O000000o(r5, r6);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = r1.O000000o(r5);\t Catch:{ Throwable -> 0x00bf }\r\n r6 = java.lang.Math.min(r8, r6);\t Catch:{ Throwable -> 0x00bf }\r\n goto L_0x005d;\r\n L_0x00bf:\r\n r4 = r4 + 1;\r\n goto L_0x002e;\r\n L_0x00c3:\r\n if (r0 == 0) goto L_0x00d4;\r\n L_0x00c5:\r\n r2 = r0.size();\r\n if (r2 <= 0) goto L_0x00d4;\r\n L_0x00cb:\r\n r2 = r11.O000000o;\r\n r2 = r2 | 4;\r\n r11.O000000o = r2;\r\n r1.O000000o(r0);\r\n L_0x00d4:\r\n return;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.mapcore.util.bh.O0000oOO():void\");\r\n }", "title": "" }, { "docid": "23705880529aa76058a93486a32627c1", "score": "0.50659454", "text": "void mo19064b();", "title": "" }, { "docid": "2ad52390d92954e1d6f2925b4b14bfd4", "score": "0.50618255", "text": "private Helpers() {}", "title": "" }, { "docid": "997e3a4ca0d87f37a6060325bf0e2f5a", "score": "0.5056568", "text": "public abstract void mo43895c();", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.5056203", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "426db787898a3461475a3f8a59cbdf14", "score": "0.5049772", "text": "public void CheckWhatsNeed() {\n\t}", "title": "" }, { "docid": "85103d67698dd4b00df4656efea0fa0a", "score": "0.5046902", "text": "public abstract void mo114244l();", "title": "" }, { "docid": "603d667fe3b5fb1e0127a860d0c6c40d", "score": "0.50449103", "text": "void mo93369j();", "title": "" }, { "docid": "d2c29d4693c8d4e0c2e794f58df76a4d", "score": "0.50448173", "text": "private Homework3() {\n\n\t}", "title": "" }, { "docid": "a16bf3877d63f57c7f85b53c4a196acd", "score": "0.5039844", "text": "void mo34403t();", "title": "" }, { "docid": "0ab8f0cc12e013644cee6a8b78cc4b20", "score": "0.50386584", "text": "public abstract void mo15839b();", "title": "" }, { "docid": "c39c4f288f53320415b14251be7dbfc2", "score": "0.50376785", "text": "protected int mo2771a() {\n return 1;\n }", "title": "" }, { "docid": "cdbd3afe3fde519d18778f1c8fac782b", "score": "0.5022414", "text": "public void mo45859b() {\n }", "title": "" }, { "docid": "36a97354d43d699bd27d2338e33f5290", "score": "0.502101", "text": "void mo5339WA();", "title": "" }, { "docid": "3b4a25cba4c7955a6233166b2278cc54", "score": "0.5020476", "text": "void mo13805b();", "title": "" }, { "docid": "d82bee6db3a9daa5acd5ae13cd18ff93", "score": "0.5011545", "text": "private static void testCreateLike() {\n\t\t\n\t}", "title": "" }, { "docid": "426388c8db4dbd05741a75352b2c93da", "score": "0.50114566", "text": "private static void testMirrorGull() {\n\n }", "title": "" }, { "docid": "cb7676409bb957965729bfc1f4821f1d", "score": "0.5011052", "text": "public abstract boolean mo32599b();", "title": "" }, { "docid": "32fbfbe133f33f254fefeacf0eba248b", "score": "0.50100386", "text": "public void mo3350c() {\n }", "title": "" }, { "docid": "21d9f59b0bea037160990c29b2d7816a", "score": "0.5009846", "text": "public void mo28813k() {\n }", "title": "" }, { "docid": "fa12d2d57a7fccfc1c37a1cc8e442dcf", "score": "0.49990958", "text": "public void mo3353f() {\n }", "title": "" }, { "docid": "024a2e5512fd0099934558dfa3c08749", "score": "0.49988225", "text": "private void herdCows() {\n\t\t\n\t}", "title": "" }, { "docid": "cf1c5f826f36206bea674387b9c08c04", "score": "0.49961922", "text": "void mo14847j();", "title": "" }, { "docid": "3aa81cf1e979a27eea2102b97d2d0680", "score": "0.49903825", "text": "public int func_70658_aO() { return 8; }", "title": "" }, { "docid": "a25f54138ce0e6db9f32039b4882c56c", "score": "0.4982934", "text": "void mo12502a_();", "title": "" }, { "docid": "32ccf7aadcdd055562e807468ba1b7bf", "score": "0.49818364", "text": "public void mo28811i() {\n }", "title": "" }, { "docid": "7b2a8a36d16625759db71ee053b514f3", "score": "0.49807182", "text": "private void flvTomp4() {\n\t\t\n\t}", "title": "" }, { "docid": "c09c9c3ade4d03fbd623c9793e65e7da", "score": "0.49803767", "text": "void mo24572L();", "title": "" }, { "docid": "19432655c63da3a19ca9f84bf27874a2", "score": "0.49783015", "text": "public void mo1387d() {\n }", "title": "" }, { "docid": "ed648d7f3bf2fd734b2266575104f964", "score": "0.49699575", "text": "void mo9216b();", "title": "" }, { "docid": "6abb648c0920139d33c1b273cbd5c7d4", "score": "0.49684364", "text": "void mo12808c();", "title": "" }, { "docid": "e176b07397c6f09a2779481ad813bf44", "score": "0.49611875", "text": "private void m57882e() {\n Object obj = null;\n Object obj2 = (this.f47758c == null || this.f47758c.length == 0) ? null : 1;\n if (!(this.f47759d == null || this.f47759d.length == 0)) {\n obj = 1;\n }\n if (obj == null && obj2 == null) {\n ad.c(\"Not downloading avatars, no urls set.\");\n return;\n }\n if (this.f47777v != null) {\n this.f47777v.mo12738b();\n }\n if (this.f47772q == 0) {\n m57886g();\n } else if (this.f47772q == 1 || this.f47772q == 2 || this.f47772q == 3) {\n m57884f();\n }\n }", "title": "" }, { "docid": "93c52b77086ddc4ea3caa1950175cf82", "score": "0.49592572", "text": "void mo24553b();", "title": "" }, { "docid": "37639652af6eed0fea7ffe5de5373e12", "score": "0.49591458", "text": "private void init() {\n \t}", "title": "" }, { "docid": "ad76d0fedb4219414a24d678c7190230", "score": "0.49526918", "text": "public final void mo11315JW() {\n }", "title": "" }, { "docid": "b69d54b1982196e3451d817a385b7619", "score": "0.4951608", "text": "void mo615b();", "title": "" }, { "docid": "06f66aa4b4a434e6d60036c1df6f6903", "score": "0.4939615", "text": "public abstract void mo114245m();", "title": "" }, { "docid": "3524b3b4bc08029bfde3766228787ed5", "score": "0.49381864", "text": "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:59:01.588 -0500\", hash_original_method = \"68BC2FB84293153DDA759DD543D07116\", hash_generated_method = \"E9D95458346F1EDE704F92515B0B8589\")\n \nprivate static boolean\n checkOtaSpNumBasedOnSysSelCode (int sysSelCodeInt, String sch[]) {\n boolean isOtaSpNum = false;\n try {\n // Get how many number of system selection code ranges\n int selRc = Integer.parseInt((String)sch[1]);\n for (int i = 0; i < selRc; i++) {\n if (!TextUtils.isEmpty(sch[i+2]) && !TextUtils.isEmpty(sch[i+3])) {\n int selMin = Integer.parseInt((String)sch[i+2]);\n int selMax = Integer.parseInt((String)sch[i+3]);\n // Check if the selection code extracted from the dial string falls\n // within any of the range pairs specified in the schema.\n if ((sysSelCodeInt >= selMin) && (sysSelCodeInt <= selMax)) {\n isOtaSpNum = true;\n break;\n }\n }\n }\n } catch (NumberFormatException ex) {\n // If the carrier ota sp number schema is not correct, we still allow dial\n // and only log the error:\n Log.e(LOG_TAG, \"checkOtaSpNumBasedOnSysSelCode, error\", ex);\n }\n return isOtaSpNum;\n }", "title": "" }, { "docid": "6a2294fa42dd479fd6a634a87ed070ca", "score": "0.49374846", "text": "void mo24438b_();", "title": "" }, { "docid": "00cce895db6970d70e0f6dbaabe0711e", "score": "0.49373642", "text": "public abstract void mo41488b();", "title": "" }, { "docid": "37fb6eea2eaae0833f3d814c6769ce96", "score": "0.4936761", "text": "public void mo17726b() {\n }", "title": "" }, { "docid": "75cb9972f93c6845f8fdcd38bc89a69f", "score": "0.49355927", "text": "public static void main(String[] args) {\n\n String original = \"My favorite color is blue.\";\n\n // contains\n System.out.println(\" * contains:\");\n if( original.contains(\"c\") ) {\n System.out.println(\"SUCCESS: contains found a char in the string.\");\n } else {\n System.out.println(\"FAILURE: should have found a char in the string.\");\n }\n if( original.contains(\"z\") ) {\n System.out.println(\"FAILURE: found a char in original that is not there\");\n } else {\n System.out.println(\"SUCCESS: should not find a char that is not in original\");\n }\n\n\n // lastIndexOf\n System.out.println(\" * lastIndexOf:\");\n if( original.lastIndexOf(\"b\") == 21) {\n System.out.println(\"SUCCESS: located last instance of b in the string.\");\n } else {\n System.out.println(\"FAILURE: did not find substring or incorrect index.\");\n }\n\n\n // toLowerCase\n System.out.println(\" * toLowerCase:\");\n if( original.toLowerCase().equals(\"my favorite color is blue.\")) {\n System.out.println(\"SUCCESS: converted string to all lower case\");\n } else {\n System.out.println(\"FAILURE: string did not come back lower case\");\n }\n\n\n // ADVENTURE\n // to get a string literal that spans multiple lines\n String multipleLineString = \"This is the first line\\n\" +\n \"This is the second line\\n\" +\n \"This is the third line\\n\";\n\n System.out.println(\"Multiple line string:\\n\" + multipleLineString);\n\n\n // EPIC using StringUtils (loaded commons library per misc insructions)\n if(isBlank(null)) {\n System.out.println(\"SUCCESS: using StringUtils isBlank method\");\n } else {\n System.out.println(\"FAILURE: isBlank should be true for null\");\n }\n\n // equalsIgnoreCase\n if(equalsIgnoreCase(\"abc\", \"ABC\") == true) {\n System.out.println(\"SUCCESS: the two strings are equal, ignoring case\");\n } else {\n System.out.println(\"FAILURE: the two strings should have been equal, ignoring case\");\n }\n\n // leftPad\n if( leftPad(null, 3) == null){\n System.out.println(\"SUCCESS: null string padded is still null\");\n } else {\n System.out.println(\"FAILURE: null string padded should have been null\");\n }\n\n if( leftPad(\"bat\", 5).equals(\" bat\")) {\n System.out.println(\"SUCCESS: padded bat correctly with two leading spaces\");\n } else {\n System.out.println(\"FAILURE: did not pad bat correctly\");\n }\n\n if( leftPad(\"cat\", 6, \"e\").equals(\"eeecat\")) {\n System.out.println(\"SUCCESS: padded cat with leading e\");\n } else {\n System.out.println(\"FAILURE: did not pad cat correctly\");\n }\n }", "title": "" } ]
01322fc14ec196f3a38a1aa532f797b8
Returns map: switchCounterId > counterId
[ { "docid": "500ecfef8f4004f849b3f9887e6f94b8", "score": "0.5087352", "text": "public Map<Integer, Integer> getBranchLabelDescriptorsForLabelEvent(\n \t\t\tint labelEventId) {\n \t\tLabel label_local = eventId2label.get(labelEventId);\n \t\tif (label_local != null) {\n \t\t\tif (labelDuplicates2duplicateMap.containsKey(label_local)) {\n \t\t\t\tfor (Label label : labelDuplicates2duplicateMap\n \t\t\t\t\t\t.get(label_local)) {\n \t\t\t\t\tSet<TouchPointDescriptor> list = label2sourcePoints\n \t\t\t\t\t\t\t.get(label);\n \t\t\t\t\tif (list != null) {\n \t\t\t\t\t\tMap<Integer, Integer> res = new HashMap<Integer, Integer>();\n \t\t\t\t\t\tfor (TouchPointDescriptor r : list) {\n \t\t\t\t\t\t\tif (r instanceof SwitchTouchPointDescriptor) {\n \t\t\t\t\t\t\t\tSwitchTouchPointDescriptor swi = (SwitchTouchPointDescriptor) r;\n \t\t\t\t\t\t\t\tres.put(swi.getCounterId(), swi\n \t\t\t\t\t\t\t\t\t\t.getCounterIdForLabel(label));\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}\n \t\t\t\t\t\treturn res;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\treturn null;\n \t}", "title": "" } ]
[ { "docid": "cab36abd89e5023fd84bbccd525f3bc2", "score": "0.61851776", "text": "public Map<Integer, Integer> getNumberOfStatesToNumberOfNodesMap();", "title": "" }, { "docid": "d0cca5d4ad7ee95325950d5fa59ac31d", "score": "0.60107094", "text": "Map<Pair<Symbol, Symbol>, Long> getCounters(Integer playerId);", "title": "" }, { "docid": "d4f2afc0b1296b420fb818328ea38b0f", "score": "0.5937672", "text": "public void assignCounterIds() {\n \t\tAtomicInteger idGenerator = new AtomicInteger(0);\n \t\tfor (List<TouchPointDescriptor> tpd : line2touchPoints.values()) {\n \t\t\tfor (TouchPointDescriptor t : tpd) {\n \t\t\t\tt.assignCounters(idGenerator);\n \t\t\t}\n \t\t}\n \t\tmaxCounterId = idGenerator.get();\n \t}", "title": "" }, { "docid": "f6f17006117cd3688aa4a702348d14ae", "score": "0.5850026", "text": "private Map<Long, IOFSwitch> getSwitches()\n { return floodlightProv.getAllSwitchMap(); }", "title": "" }, { "docid": "c4a9f07c290269213a7f6ca35826a621", "score": "0.55595887", "text": "public Map<Integer, String> byId() {\n ImmutableMap.Builder<Integer, String> builder = ImmutableMap.builder();\n nameToId.forEach((key, value) -> builder.put(value, key));\n return builder.build();\n }", "title": "" }, { "docid": "febd71f6880b4f333b96f2fa1f698b2e", "score": "0.5465663", "text": "public String[] counterIDs() {\n\t\tString[] ids = new String[room.size()];\n\t\tfor (int i = 0; i < ids.length; i++) {\n\t\t\tids[i] = room.get(i).identify();\n\t\t}\n\t\treturn ids;\n\t}", "title": "" }, { "docid": "5ecb525b487ec29d1aa26975e20ed14e", "score": "0.5449457", "text": "private static String getKey(int value){\n for(String key : deviceConnectionMap.keySet()){\n if(value == deviceConnectionMap.get(key))\n return key;\n }\n return \"\";\n }", "title": "" }, { "docid": "03d5b84ee4d182b41cf5f7c12f1e7f46", "score": "0.5416173", "text": "public HashMap<String, Integer> getTokenToCountMap() {\n\t\treturn tokenToCountMap;\n\t}", "title": "" }, { "docid": "35984d594963c6db7d54aadbce68c0e6", "score": "0.5252753", "text": "Map<Integer, Long> getSplitTimes();", "title": "" }, { "docid": "df9bc0d2b519b99f7865be3c17333d8b", "score": "0.521954", "text": "public ReferenceCounter()\r\n {\r\n map = new IdentityHashMap<Object, Integer>();\r\n }", "title": "" }, { "docid": "2ee5eb07311e17e483c965655e153972", "score": "0.519915", "text": "public Map<Integer, Integer> getPointIdMap(int chapter) {\n/* 60 */ return this.configs.get(Integer.valueOf(chapter));\n/* */ }", "title": "" }, { "docid": "981b0d0721bfb4aaaec7889f4d0d2d90", "score": "0.5193179", "text": "private int allocate_map(){\n pidMap = new ConcurrentHashMap<Integer, AtomicBoolean>(MAX_PID-MIN_PID);\n try {\n for (int i = MIN_PID; i < MAX_PID; i++) {\n pidMap.put(i, new AtomicBoolean(false));\n\n }\n }catch (Exception e){\n return -1;\n }\n\n return 1;\n }", "title": "" }, { "docid": "9bc4a97c2f62e340deb6c5129e279431", "score": "0.51758474", "text": "public int[] getAssociatedCounterId() {\r\n return associatedCounterId;\r\n }", "title": "" }, { "docid": "7c147111a7e1900a42e84d00de2e63b5", "score": "0.5075778", "text": "List<Counter> getCounters();", "title": "" }, { "docid": "39648017683198d8673b2ad6cd0f5494", "score": "0.5057336", "text": "public HashMap<String, Integer> getTimelordMap();", "title": "" }, { "docid": "26d62b38fc3133b9d04faacc417a4911", "score": "0.50549614", "text": "static Map<Integer, Long> numberToCount(List<Integer> numbers) {\n return numbers.stream().collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n }", "title": "" }, { "docid": "ee93e7103246c0595c7e32607095becb", "score": "0.50121987", "text": "public Map<String,String> getRelaySwitchStatus( String mcuId, String meterId )\n throws Exception;", "title": "" }, { "docid": "fc43ffc908d231225afa9639bad7dfd3", "score": "0.4998908", "text": "Map<Integer, IPeripheral> getPeripheralMap();", "title": "" }, { "docid": "7a15ebe995b01b7e4b8b73a801cfd2a5", "score": "0.49550965", "text": "public ConnectionMap() {\n\t\tmap = new HashMap<Integer, LinkedList<Connection>>();\n\t}", "title": "" }, { "docid": "cdabf902f2e755bbfbc327d54884ac1b", "score": "0.4943167", "text": "public int getSecondSwitchState()\n {\n return toInt(second);\n }", "title": "" }, { "docid": "c9a97fac33b7f8640b010169f307421e", "score": "0.4924545", "text": "private Map<String, Integer> getOrCreateScopeCounterMap(INode scope) {\n Map<String, Integer> scopeCounters = counters.get(scope);\n if (scopeCounters == null) {\n scopeCounters = new HashMap<>();\n counters.put(scope, scopeCounters);\n }\n return scopeCounters;\n }", "title": "" }, { "docid": "88ba808f25dac319dc5f060a9e65b813", "score": "0.4906713", "text": "private void getCoOrdinatesMap(ArrayList<Integer> A, Map<Integer, Integer> xCoOrdinatesMap) {\n for (Integer item : A) {\n if (xCoOrdinatesMap.containsKey(item))\n xCoOrdinatesMap.put(item, xCoOrdinatesMap.get(item) + 1);\n else\n xCoOrdinatesMap.put(item, 1);\n }\n }", "title": "" }, { "docid": "a90e6146b7c3552ddd3bff8b1633c87c", "score": "0.48805863", "text": "public Map<String, Integer> byName() {\n ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();\n builder.putAll(nameToId);\n // add all short names that do not conflict with canonical names\n shortNameToId.entrySet().stream()\n .filter(entry -> !nameToId.containsKey(entry.getKey()))\n .forEach(builder::put);\n return builder.build();\n }", "title": "" }, { "docid": "a7b08ba67f953758bb070993349796c3", "score": "0.4874009", "text": "private Map buildLookupMap()\n {\n Map result = new HashMap(); \n IndexedPair[] shiftedPairs = circularShift();\n for(int i = shiftedPairs.length - 1 ; i >= 0; i--) \n addToMap(result, shiftedPairs[i]); \n //System.out.println(\" done. \"+ result.size()+\" entries, time=\"+Util.elapsed(start));\n return result;\n }", "title": "" }, { "docid": "0674be5dda323a8f3f01b3baade07f47", "score": "0.4870283", "text": "ConcurrentHashMap<String, T2> getNodeAccelerators();", "title": "" }, { "docid": "619af804584c05897764adfe16a97db2", "score": "0.48670822", "text": "private Map<String, LinkedList<host>> selectfreeSwitches() throws SQLException {\n\t String sql;\n\t ResultSet rs;\n\t List<host> freeHosts=db.getDeploymentStatus().getFreeHosts();\n\t Statement stt=conn.createStatement();\n\t/* List<String> freeSwitchports=new LinkedList<String>();\n\t List<String> freeSwitches=new LinkedList<String>();\n\t for(host h:freeHosts){\n\t\t String ip=h.getIP();\n\t\t sql=\"SELECT source FROM connections WHERE destIP='\"+\"ip'\";\n\t\t rs=stt.executeQuery(sql); \n\t\t if(rs.next())\n\t\t\t freeSwitchports.add(rs.getString(1)); \n\t }\n\t for(String switchport:freeSwitchports){\n\t\t sql=\"SELECT name FROM mapping WHERE value='\"+switchport+\"'\";\n\t\t rs=stt.executeQuery(sql);\n\t\t if(rs.next()){\n\t\t\t String dpidPort=rs.getString(1);\n\t\t\t String[] parts=dpidPort.split(\"_\");\n\t\t\t freeSwitches.add(parts[0]);\t\t \n\t\t\t }\t \n\t }\n\t return freeSwitches;*/\n\t //the key is switch DPID,and the value is the host list which connected with the switch\n\t Map<String, LinkedList<host>> freeSwitchHostMap=new HashMap<String,LinkedList<host>>();\n\t for(host h:freeHosts){\n\t\t String hostip=h.getIP();\n\t\t sql=\"SELECT source FROM connections WHERE destIP='\"+hostip+\"'\";\n\t\t rs=stt.executeQuery(sql); \n\t\t if(rs.next()){\n\t\t\t String switchport=rs.getString(1);\n\t\t\t sql=\"SELECT name FROM mapping WHERE value='\"+switchport+\"'\";\n\t\t rs=stt.executeQuery(sql);\n\t\t if(rs.next()){\n\t\t\t String dpidPort=rs.getString(1);\n\t\t\t String[] parts=dpidPort.split(\"_\");\n\t\t\t String freeSwitch=parts[0];\n\t\t\t if(freeSwitchHostMap.containsKey(freeSwitch))\n\t\t\t\t freeSwitchHostMap.get(freeSwitch).add(h);\n\t\t\t else{\n\t\t\t\t LinkedList<host> hosts=new LinkedList<host>();\n\t\t\t\t hosts.add(h);\n\t\t\t\t freeSwitchHostMap.put(freeSwitch,hosts);\n\t\t\t }\n\t\t\t }\t \n\t\t }\n\t }\n\t return freeSwitchHostMap;\n\t}", "title": "" }, { "docid": "acc8588d5dc0759d173369981652847e", "score": "0.4865854", "text": "public static Map<Long, ThreadState> getNativeTidMap() {\n if (vmAttachLock.tryLock()) {\n try {\n // Thread dumps are expensive and therefore we make sure that at least\n // minRunInterval milliseconds have elapsed between two attempts.\n if (System.currentTimeMillis() > lastRunTime + minRunInterval) {\n runThreadDump(pid, new String[0]);\n }\n } finally {\n vmAttachLock.unlock();\n }\n } else {\n StatsCollector.instance().logException(StatExceptionCode.JVM_ATTACH_LOCK_ACQUISITION_FAILED);\n }\n\n // - sending a copy so that if runThreadDump next iteration clears it; caller still has the\n // state at the call time\n // - not too expensive as this is only being called from Scheduled Collectors (only once in\n // few seconds)\n return new HashMap<>(nativeTidMap);\n }", "title": "" }, { "docid": "6d207f63bbcebefdc6816914248a3009", "score": "0.48584768", "text": "protected Map<State, Integer> getCountMap() {\n return CellUtils.countMap(getNeighborhood());\n }", "title": "" }, { "docid": "0af407f5718c9f6801baa5836cec6050", "score": "0.48579457", "text": "@Test\n\tpublic void demoCollectorsConcurrentMap() {\n\n\t\tConcurrentMap<Integer, Person> sharedHolder = new ConcurrentHashMap<>();\n\t\tSupplier<ConcurrentMap<Integer, Person>> supplier = () -> sharedHolder;\n\n\t\tMap<Integer, Person> personMappings = Arrays\n\t\t\t\t.asList(persons)\n\t\t\t\t.parallelStream()\n\t\t\t\t.collect(\n\t\t\t\t\t\tCollectors.toConcurrentMap(Person::getId,\n\t\t\t\t\t\t\t\tFunction.identity(),\n\t\t\t\t\t\t\t\t(exsitingValue, newValue) -> newValue, supplier));\n\n\t\t// {1=1-Destiny, 2=2-Aslan, 3=3-Kira, 4=4-Rezel}\n\t\tSystem.out.println(personMappings);\n\t}", "title": "" }, { "docid": "6e38962b0499ae76a9f0ad515a33ca68", "score": "0.48553595", "text": "public Map<String, Integer> getBuffers();", "title": "" }, { "docid": "b8ba2bc20cc99c88adaae4525100b9f8", "score": "0.484443", "text": "Map<String, Integer> getBvrMap();", "title": "" }, { "docid": "960351f28c7a53676ebf0b67310b103f", "score": "0.48268536", "text": "@Override\n\tpublic Map<String, Map<String, Long>> getFlownodeStateCounters(long processInstanceId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ed5d2865b2ac192d35fb3f1bfb615cd6", "score": "0.48234946", "text": "private static Map<BitMapped, Map<Integer, ByteItem>> getCurrentBitMapped(final BitMapped bitMap) {\n\t\tif (BitMapped.FIRST_SET.equals(bitMap)) // GET FIRST MAP\n\t\t\treturn map.entrySet().stream().filter(m -> BitMapped.FIRST_SET.equals(m.getKey()))\n\t\t\t\t\t.collect(Collectors.toMap(p -> p.getKey(), p -> p.getValue()));\n\n\t\t// GET SECOND MAP\n\t\treturn map.entrySet().stream().filter(m -> BitMapped.SECOND_SET.equals(m.getKey()))\n\t\t\t\t.collect(Collectors.toMap(p -> p.getKey(), p -> p.getValue()));\n\t}", "title": "" }, { "docid": "bbc283c7451d5f48566dbdf52ffcfe0a", "score": "0.48197815", "text": "@Override\n protected Map<Integer, String[]> getRadioBtnColMap() {\n Map<Integer, String[]> keys = new HashMap<>();\n return keys;\n }", "title": "" }, { "docid": "3f8f557d9eb9eafbe75c8a1526b1d5e4", "score": "0.48184994", "text": "private Map<Long, List<RIParallelWord>> getParallelWordsByContextIdMap (List<RIParallelWord> parallelWords) {\n Map<Long, List<RIParallelWord>> parallelWordsByContextId = new HashMap<Long, List<RIParallelWord>>(1);\n for (RIParallelWord parallelWord : parallelWords) {\n List<RIParallelWord> contextParallelWords = parallelWordsByContextId.get(parallelWord.getModelGroupId());\n if (contextParallelWords == null) {\n contextParallelWords = new ArrayList<RIParallelWord>(1);\n parallelWordsByContextId.put(parallelWord.getModelGroupId(), contextParallelWords);\n }\n contextParallelWords.add(parallelWord);\n }\n return parallelWordsByContextId;\n }", "title": "" }, { "docid": "4812fb843b43b602c701857c2489e623", "score": "0.48098648", "text": "public Collection<PortStatistics> P4Counters(DeviceId deviceId, PiPipeconf piPipeconf){\n P4RuntimeClient cliente = p4RuntimeController.get(deviceId);\n // Prepare PortStatistics objects to return, one per port of this device.\n Map<Long, DefaultPortStatistics.Builder> portStatBuilders = Maps.newHashMap();\n deviceService\n .getPorts(deviceId)\n .forEach(p -> portStatBuilders.put(p.number().toLong(),\n DefaultPortStatistics.builder()\n .setPort(p.number())\n .setDeviceId(deviceId)));\n // Generate the counter cell IDs.\n Set<PiCounterCellId> counterCellIds = Sets.newHashSet();\n portStatBuilders.keySet().forEach(p -> {\n // Counter cell/index = port number.\n counterCellIds.add(PiCounterCellId.ofIndirect(INGRESS_COUNTER_ID, p));\n counterCellIds.add(PiCounterCellId.ofIndirect(EGRESS_COUNTER_ID, p));\n });\n Set<PiCounterCellHandle> counterCellHandles = counterCellIds.stream()\n .map(id -> PiCounterCellHandle.of(deviceId, id))\n .collect(Collectors.toSet());\n // Query the device.\n Collection<PiCounterCell> counterEntryResponse = cliente.read(\n DEFAULT_P4_DEVICE_ID, piPipeconf)\n .handles(counterCellHandles).submitSync()\n .all(PiCounterCell.class);\n\n //log.info(\"{}\",counterEntryResponse);\n\n // Process response.\n counterEntryResponse.forEach(counterCell -> {\n if (counterCell.cellId().counterType() != INDIRECT) {\n log.warn(\"Invalid counter data type {}, skipping\", counterCell.cellId().counterType());\n return;\n }\n if (!portStatBuilders.containsKey(counterCell.cellId().index())) {\n log.warn(\"Unrecognized counter index {}, skipping\", counterCell);\n return;\n }\n DefaultPortStatistics.Builder statsBuilder = portStatBuilders.get(counterCell.cellId().index());\n if (counterCell.cellId().counterId().equals(INGRESS_COUNTER_ID)) {\n statsBuilder.setPacketsReceived(counterCell.data().packets());\n statsBuilder.setBytesReceived(counterCell.data().bytes());\n } else if (counterCell.cellId().counterId().equals(EGRESS_COUNTER_ID)) {\n statsBuilder.setPacketsSent(counterCell.data().packets());\n statsBuilder.setBytesSent(counterCell.data().bytes());\n } else {\n log.warn(\"Unrecognized counter ID {}, skipping\", counterCell);\n }\n });\n return portStatBuilders\n .values()\n .stream()\n .map(DefaultPortStatistics.Builder::build)\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "dcd8fc9a80e32a99a6e897841a1ad83b", "score": "0.4782281", "text": "public static <K, V> CounterMap<K, V> parallelCounterMap() {\n CounterMap<K, V> totalWords = new CounterMap<>();\n return totalWords;\n }", "title": "" }, { "docid": "ceffb5018d19c7fd74a661992c533c14", "score": "0.47698593", "text": "public Map<String, SurveyQuestion> getQuestionIdMap(){\n\t\tMap<String, SurveyQuestion> result = new HashMap<>();\n\t\tfor(Integer order: questions.keySet()) {\n\t\t\tSurveyQuestion sq = questions.get(order);\n\t\t\tresult.put(sq.getId(), sq);\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "65f86fe06f7890c3d52024b3a470030d", "score": "0.47671404", "text": "private Map<Integer, Integer> getPattern(int[] p) {\n Map<Integer, Integer> out = new HashMap<>();\n int count = 0;\n int currentItem = -1;\n for (int item : p) {\n if (currentItem < 0) {\n currentItem = item;\n count++;\n } else if (currentItem != item) {\n out.put(currentItem, count);\n count = 1;\n currentItem = item;\n } else {\n count++;\n }\n }\n if (currentItem > 0) {//put last one\n out.put(currentItem, count);\n }\n return out;\n }", "title": "" }, { "docid": "7aa0997a93f2cf5fc852e6937afbf127", "score": "0.4766361", "text": "@Override\n public Map<VariableReference, Set<Integer>> getVariablesToResourceIdMap() {\n return layoutFilesAnalysis.getVariablesToResourceIdMap();\n }", "title": "" }, { "docid": "4ba8e858a2f879d69ad2bfa9967c9d9e", "score": "0.47448483", "text": "@Override\n protected Map<Integer, Integer> getComboBoxColMap() {\n Map<Integer, Integer> keys = new HashMap<>();\n keys.put(IDX_MAN_NAME, IDX_MAN_NAME);\n return keys;\n }", "title": "" }, { "docid": "63e2809b0a337ca7166a1af8749a2570", "score": "0.47428507", "text": "public Map<String, Integer> getTokenMap() {\n\t\tif(unSortedCollection != null){\n\t\t\tsortedCollection = new TreeMap<String, Integer>();\n\t\t\tfor(String key : unSortedCollection){\n\t\t\t\tif(sortedCollection.containsKey(key)){\n\t\t\t\t\tint val = sortedCollection.get(key);\n\t\t\t\t\tsortedCollection.put(key,++val);\n\t\t\t\t}else{\n\t\t\t\t\tsortedCollection.put(key, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn sortedCollection;\n\t\t}\n\t\t//TODO: Implement this method\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d171c9260f1dfa175a9a148c68aaf6eb", "score": "0.47421673", "text": "@Override\n protected Map<Integer, Integer> getIgnoreColMap() {\n Map<Integer, Integer> keys = new HashMap<>();\n return keys;\n }", "title": "" }, { "docid": "7dd534fad4620f2fb0ada57a9634de8b", "score": "0.4738823", "text": "public Map<Long, List<Long>> getSuccessorsMap(){\n Map<Long, List<Long>> successors = new TreeMap<>();\n for (Long offset : basicBlocks.keySet()){\n ArrayList<Long> arr = new ArrayList<>();\n for (BasicBlock successor : basicBlocks.get(offset).getSuccessors())\n arr.add(successor.getOffset());\n successors.put(offset, arr);\n }\n return successors;\n }", "title": "" }, { "docid": "f4dab26c1abae7bd6b91f26d91a88b55", "score": "0.47199875", "text": "public synchronized Map< String, Integer > messageCounts( ) {\n\t\tMap< String, Integer > res = new HashMap< String, Integer >( messageCounts );\n\t\tmessageCounts.clear( );\n\t\treturn res;\n\t}", "title": "" }, { "docid": "f2a0cc27b4db145518d022941a516f97", "score": "0.47135448", "text": "public Map<Object, String> getAdapterObjectIdMap() {\n \t\treturn adapterObjectId;\n \t}", "title": "" }, { "docid": "8291cc669a5494fe60a786d230e83168", "score": "0.4707042", "text": "public Map<Integer, Integer> getAreaCodesCounter() {\n return areaCodesCounter.entrySet().stream()\n .filter(p -> p.getValue() > 0)\n .sorted(Map.Entry.comparingByKey())\n .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue,\n (k1, k2) -> k1, TreeMap::new));\n }", "title": "" }, { "docid": "7ad5e07a3bf16b1eeb890ad68fd55183", "score": "0.47022584", "text": "java.util.HashMap<String, String> getProviderIds();", "title": "" }, { "docid": "0e8b3f24d38ffaf57799214bc88448f2", "score": "0.46967772", "text": "public void setNumberOfStatesToNumberOfNodesMap( Map<Integer, Integer> numberOfStatesToNumberOfNodesMap);", "title": "" }, { "docid": "1c99b4e95b928529ea50883eb6a9844b", "score": "0.46924984", "text": "private HashMap<Integer, Double> convertBackToOriginalIds() {\r\n\t\tHashMap<Integer, Double> fraudScores = new HashMap<>();\r\n\t\t\r\n\t\tfor (int consecutiveId = 0; consecutiveId < fraudBeliefs.length; consecutiveId++) {\r\n\t\t\tInteger originalId = consecutiveToOriginal[consecutiveId];\r\n\t\t\tfraudScores.put(originalId, fraudBeliefs[consecutiveId]);\r\n\t\t}\r\n\t\t\r\n\t\treturn fraudScores;\r\n\t}", "title": "" }, { "docid": "72a03d0b8871b09e361149d56cf0fd3f", "score": "0.46687406", "text": "int getSwapCount();", "title": "" }, { "docid": "e8f6441418ed2d038900182ab6685156", "score": "0.46629116", "text": "public int updateSwitchNum() {\n\t\treturn ++this.curSwitchNum;\n\n\t}", "title": "" }, { "docid": "68e095df5cc07cb308281dfca67874c0", "score": "0.46609905", "text": "public HashMap<String,Integer> countVisitsPerIP(){\n HashMap<String,Integer> counts = new HashMap<String,Integer>();\n //For each le in records\n for (LogEntry le : records){\n //ip is le's ipAddress\n String ip = le.getIpAddress();\n //check if ip is in counts\n if (!counts.containsKey(ip)){\n //if not: put ip in with a value of 1\n counts.put(ip,1);\n }\n //if so: update the value to be more\n else{\n counts.put(ip,counts.get(ip) + 1);\n }\n }\n //counts is the answer\n return counts;\n }", "title": "" }, { "docid": "ba391b80f2f1e6d1ea8afc69e3f1f87e", "score": "0.4650651", "text": "private Map<DatapathId, List<OFStatsReply>> getSwitchStatistics(Set<DatapathId> dpids, OFStatsType statsType) {\n\t\tHashMap<DatapathId, List<OFStatsReply>> model = new HashMap<DatapathId, List<OFStatsReply>>();\n\n\t\tList<GetStatisticsThread> activeThreads = new ArrayList<GetStatisticsThread>(dpids.size());\n\t\tList<GetStatisticsThread> pendingRemovalThreads = new ArrayList<GetStatisticsThread>();\n\t\tGetStatisticsThread t;\n\t\tfor (DatapathId d : dpids) {\n\t\t\tt = new GetStatisticsThread(d, statsType);\n\t\t\tactiveThreads.add(t);\n\t\t\tt.start();\n\t\t}\n\n\t\t/* Join all the threads after the timeout. Set a hard timeout\n\t\t * of 12 seconds for the threads to finish. If the thread has not\n\t\t * finished the switch has not replied yet and therefore we won't\n\t\t * add the switch's stats to the reply.\n\t\t */\n\t\tfor (int iSleepCycles = 0; iSleepCycles < portStatsInterval; iSleepCycles++) {\n\t\t\tfor (GetStatisticsThread curThread : activeThreads) {\n\t\t\t\tif (curThread.getState() == State.TERMINATED) {\n\t\t\t\t\tmodel.put(curThread.getSwitchId(), curThread.getStatisticsReply());\n\t\t\t\t\tpendingRemovalThreads.add(curThread);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/* remove the threads that have completed the queries to the switches */\n\t\t\tfor (GetStatisticsThread curThread : pendingRemovalThreads) {\n\t\t\t\tactiveThreads.remove(curThread);\n\t\t\t}\n\t\t\t\n\t\t\t/* clear the list so we don't try to double remove them */\n\t\t\tpendingRemovalThreads.clear();\n\n\t\t\t/* if we are done finish early */\n\t\t\tif (activeThreads.isEmpty()) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\tlog.error(\"Interrupted while waiting for statistics\", e);\n\t\t\t}\n\t\t}\n\n\t\treturn model;\n\t}", "title": "" }, { "docid": "5d52961f5b86dcdbd5268c4b2b966fc7", "score": "0.46396083", "text": "java.util.Map<java.lang.String, java.lang.String>\n getNodeSelectorMap();", "title": "" }, { "docid": "bc0aa4eb18813b30d811e8bd72e5ba15", "score": "0.46383506", "text": "public int [] listId(){\n int [] id = new int[data.size()];\n int i = 0;\n for (Entry entry: data.entrySet()) {\n id[i]= (int) entry.getKey();\n i++;\n }\n return id;\n }", "title": "" }, { "docid": "0ed3bae9156377e02ca8a25cd4132a52", "score": "0.46342555", "text": "protected Map<ResourceType, Map<ServiceStatus, Integer>> initResourceTypeStatusCounts() {\n final Map<ResourceType, Map<ServiceStatus, Integer>> result = new HashMap<>();\n for (ResourceType type : STATUS_RESOURCE_TYPES) {\n final HashMap<ServiceStatus, Integer> value = new HashMap<>();\n for (ServiceStatus status : ServiceStatus.values()) {\n value.put(status, 0);\n }\n result.put(type, value);\n }\n return result;\n }", "title": "" }, { "docid": "bb75b738b93ca1854ccaaffac97af90c", "score": "0.4629705", "text": "public HashMap getColorMap() {\n HashMap hashMap = new HashMap();\n for (int i = 0; i < colorMap.size(); i++) {\n MyColor myColor = (MyColor) colorMap.get(i);\n Color color = Color.decode(myColor.getColorCode());\n String colorHex = Integer.toHexString(color.getRGB()).substring(2).toUpperCase();\n System.out.println(myColor.getColorName() + \": \"+ colorHex);\n hashMap.put(myColor.getColorName(), colorHex);\n }\n return hashMap;\n }", "title": "" }, { "docid": "78c2bc1a1867e431ca52e885ad25cd98", "score": "0.4628837", "text": "void operateCounter(long counterId);", "title": "" }, { "docid": "7df9fbfeddefc8fa67efc333dbe5b2aa", "score": "0.46280122", "text": "@Test\n\tpublic void demoCollectorsMap() {\n\t\tMap<Integer, Person> personMappings = Arrays.asList(persons).stream()\n\t\t\t\t.collect(Collectors.toMap(Person::getId, Function.identity()));\n\n\t\tSystem.out.println(personMappings);\n\t}", "title": "" }, { "docid": "33bbb3801472630a9c029aa43c7da026", "score": "0.4623708", "text": "private static Map<Character, Integer> mapLettersOnIds() {\n Map<Character, Integer> justLettersOfAlphabet = new HashMap<Character, Integer>();\n\n for (char alphabet = 'A'; alphabet <= 'Z'; alphabet++) {\n Character oneLetter = alphabet;\n int position = (alphabet - 'A') / NUMBER_OF_GROUPED_CHARACTERS;\n justLettersOfAlphabet.put(oneLetter, position);\n }\n return justLettersOfAlphabet;\n }", "title": "" }, { "docid": "37ce76da38e0018a8cc143947984b00e", "score": "0.46205983", "text": "public LinkedHashMap<Integer, String> getIntegerMap() {\n return integerMap;\n }", "title": "" }, { "docid": "48be021f33669c16eb64dce4709d76e1", "score": "0.4613259", "text": "public Map<Integer, Integer> getShuffleMap(int[] cards) {\n\t\tMap<Integer, Integer> orig2dest = new HashMap<Integer, Integer>();\n\t\tfor(int i = 0; i < cards.length; i++) {\n\t\t\torig2dest.put(cards[i], i);\n\t\t}\n\t\treturn orig2dest;\n\t}", "title": "" }, { "docid": "e53c991a579a1e0ea2a55e28b4732878", "score": "0.4602628", "text": "public static Map<String, List<Integer>> getColorLotMap() {\n\t\tif (colorLotMap == null) {\n\t\t\t_initialize();\n\t\t}\n\t\treturn colorLotMap;\n\t}", "title": "" }, { "docid": "1233c7d623dbb5fcc525ec940b91d30f", "score": "0.4599981", "text": "int getWhatsNextMapCount();", "title": "" }, { "docid": "6019ab3a9334f3265a24dd1f7b99b8e3", "score": "0.45996588", "text": "public Map<String, Object> getPrimaryKey() {\n Map<String, Object> ret = new LinkedHashMap<String, Object>(6);\n ret.put(\"vehicleAudUid\", getVehicleAudUid());\n return ret;\n }", "title": "" }, { "docid": "6b1996a4b5f922b8af9aaccef974b5f4", "score": "0.4599058", "text": "public static HashMap<String, Integer> getServerMaps() {\n\t\treturn serverMaps;\n\t}", "title": "" }, { "docid": "6b1996a4b5f922b8af9aaccef974b5f4", "score": "0.4599058", "text": "public static HashMap<String, Integer> getServerMaps() {\n\t\treturn serverMaps;\n\t}", "title": "" }, { "docid": "403dbc2318ae3aa89b5b51c593e0f736", "score": "0.45985836", "text": "protected int allocate_pid(){\n for (Map.Entry<Integer,AtomicBoolean> entry : pidMap.entrySet()){\n if (entry.getValue().compareAndSet(false,true)){\n return entry.getKey();\n }\n }\n return -1;\n }", "title": "" }, { "docid": "111578d6183db9de6b7fc370e82c9e7e", "score": "0.45972657", "text": "@Override\n protected Map<Integer, Integer> getReadOnlyColMap() {\n Map<Integer, Integer> keys = new HashMap<>();\n keys.put(0, 0); // PRODID\n return keys;\n }", "title": "" }, { "docid": "0528e96ef0bf5f27d9de31efba0ec63a", "score": "0.45901254", "text": "public static Map<Integer, Integer> readMapInt(ByteBuf buf)\r\n {\r\n Map<Integer, Integer> getMap = new HashMap<Integer, Integer>();\r\n \r\n //get size\r\n int size = buf.readInt();\r\n \r\n //get data\r\n if (size > 0)\r\n {\r\n for (int i = 0; i < size; ++i)\r\n {\r\n getMap.put(buf.readInt(), buf.readInt());\r\n }\r\n }\r\n \r\n return getMap;\r\n }", "title": "" }, { "docid": "28f57ca5bbe922670bfb3e08e7b9ffde", "score": "0.45834997", "text": "public int[][] getMap(){\n\t\treturn maps[levelCount];\n\t}", "title": "" }, { "docid": "35018a233eed2fafabd7b94f69476ce1", "score": "0.4582656", "text": "public int map(int isec) {\n int k = map>>>(4*isec);\n return k&7;\n }", "title": "" }, { "docid": "7934a3738919a00df5dbaa6575cb7fff", "score": "0.45815822", "text": "private HashSet<Integer> createSetOfDownPointerIds() {\r\n\t\tassert(!(this instanceof NodeProxy));\r\n\t\tHashSet<Integer> downPointerIds = new HashSet<Integer>();\r\n\t\tfor (Node n : getConnections().getDownPointers()) {\r\n\t\t\tdownPointerIds.add(n.getIdInt());\r\n\t\t}\r\n\t\treturn downPointerIds;\r\n\t}", "title": "" }, { "docid": "aa3f649ed1478a0fbee5ba5691335690", "score": "0.45761827", "text": "public int getFirstSwitchState()\n {\n return toInt(first);\n }", "title": "" }, { "docid": "ca24c5f74346fc4379b37ac973324134", "score": "0.45738748", "text": "@Override\n public void record2Map(final Map<String, Integer> map) {\n }", "title": "" }, { "docid": "c6b46ced27d17b05f0d45dd8bcd961dd", "score": "0.45703858", "text": "String getCucumberReportMapKey(Scenario s);", "title": "" }, { "docid": "82ac2f597c3be99c7c6fdc9e38ee3c0f", "score": "0.45590702", "text": "int DAQmxGetSwitchChanUsage(byte switchChannelName[], IntBuffer data);", "title": "" }, { "docid": "c0074862fc7c0c7deeb35daa50db36a7", "score": "0.45587757", "text": "public TLongObjectHashMap<R> getIdToResultMap()\r\n {\r\n return myIdToResultMap;\r\n }", "title": "" }, { "docid": "6617e8d100c39e20dcf0022b00d3b176", "score": "0.45503747", "text": "private Map<String, Integer> createAxisIndexMap() {\r\n \r\n \t\tMap <String, Integer> axisIndexMap = null;\r\n \r\n \t\t// Fill the axisIndexMap, which is used to resolve dimension\r\n \t\t// names to a specific axis index.\r\n \t\tlogger.debug(\"Creating axisIndexMap ...\");\r\n \t\taxisIndexMap = new HashMap<String, Integer>();\r\n \t\tfor (int i = 0; i < axisCount; i++) {\r\n \t\t\taxisIndexMap.put(allDimensions.get(i), i);\r\n \t\t}\r\n \t\treturn axisIndexMap;\r\n \t}", "title": "" }, { "docid": "70b1415e2cce14e56831060d53580077", "score": "0.45435017", "text": "@Override\n public Map<String, Integer> getGatewayPortMappings() {\n\n final Map<String, Integer> result = new ConcurrentHashMap<String, Integer>();\n final Map<String, String> properties = getValByRegex(GATEWAY_PORT_MAPPING_REGEX);\n\n // Convert port no. from string to int\n for(final Map.Entry<String, String> e : properties.entrySet()) {\n // ignore the GATEWAY_PORT_MAPPING_ENABLED property\n if(!e.getKey().equalsIgnoreCase(GATEWAY_PORT_MAPPING_ENABLED)) {\n // extract the topology name and use it as a key\n result.put(StringUtils.substringAfter(e.getKey(), GATEWAY_PORT_MAPPING_PREFIX), Integer.parseInt(e.getValue()) );\n }\n\n }\n\n return Collections.unmodifiableMap(result);\n }", "title": "" }, { "docid": "b9606f171b82763f15115498ac14e3de", "score": "0.4541793", "text": "io.dstore.values.IntegerValue getNodeCharacteristicId2();", "title": "" }, { "docid": "ecf44c63c7e2304819c21989ff28c4d6", "score": "0.45415136", "text": "@Override\n public void visitLookupSwitchInsn(final Label dflt, final int[] keys,\n final Label[] labels)\n {\n hasher.putObject(dflt, labelFunnel);\n for (int i = 0; i < keys.length; i++)\n hasher.putInt(keys[i]).putObject(labels[i], labelFunnel);\n }", "title": "" }, { "docid": "edb41c1eb5552e9855722079380b5851", "score": "0.45389163", "text": "public List<Integer> getNodesId() {\n List nodesId = new LinkedList<Integer>();\n nodesId.addAll(chocoDeliveries.keySet());\n return nodesId;\n }", "title": "" }, { "docid": "671eed5824b4b34f4a7a6b2345162750", "score": "0.4538782", "text": "@Override\n public Map<Integer, String> getInitialAccumulator() {\n return new HashMap<Integer, String>();\n }", "title": "" }, { "docid": "828de157c9871858792b916753c712ea", "score": "0.4537612", "text": "Integer getXMap();", "title": "" }, { "docid": "7f7fafec047ac16ce872c67167cdb23a", "score": "0.4534947", "text": "public static Map<String, Integer> getSlotRegistrationNoMap() {\n\t\tif (slotRegistrationNumberMap == null) {\n\t\t\t_initialize();\n\t\t}\n\t\treturn slotRegistrationNumberMap;\n\t}", "title": "" }, { "docid": "1a36b941221b4ae9c7b348fa9f793b10", "score": "0.45312196", "text": "public IdentityIntMap() {\n _keys = new Object[256];\n _values = new int[256];\n\n _mask = _keys.length - 1;\n _size = 0;\n }", "title": "" }, { "docid": "3cece5a0dc8678d992afa7e6aaceb368", "score": "0.4522284", "text": "private Map<String, Integer> createMap(){\n\n Map<String, Integer> words_map = new HashMap<String, Integer>();\n\n while(iterator.hasNext()){\n String current_word = iterator.next();\n // if iterator see that current_words already exists in map\n if (words_map.containsKey(current_word)){\n // it's just upgrade existed item's value\n words_map.put(current_word, words_map.get(current_word) + 1);\n } else {\n // or put new item\n words_map.put(current_word, 1);\n }\n }\n\n return words_map;\n }", "title": "" }, { "docid": "b93c8f802daadbb419dd3b55573e3de3", "score": "0.45213884", "text": "public Map getSystemIdentifierMappings()\n {\n return systemIdentifiers;\n }", "title": "" }, { "docid": "8169044fd1e5467bdae1108969b5cf61", "score": "0.45201874", "text": "Map<String, IFSMState> getAdjacentStates();", "title": "" }, { "docid": "728e74e84aab917eb296395d46e33811", "score": "0.45189407", "text": "public EventCounter() {\n counter = new java.util.HashMap<String, Integer>();\n }", "title": "" }, { "docid": "7708cd9bef11fe16a306ab748def82ee", "score": "0.45178986", "text": "ICounter getInstructionCounter();", "title": "" }, { "docid": "937abc643ba7a5248aad9f6f664d85eb", "score": "0.45176393", "text": "public Map<T, Long> getCountsThenAdvanceWindow() {\n Map<T, Long> counts = getCounts();\n wipeZeros();\n wipeSlot(tailSlot);\n advanceHead();\n return counts;\n }", "title": "" }, { "docid": "bfa71e2bfb1f38afc45354a6c0095ac3", "score": "0.4517549", "text": "Map<URI, AtomicInteger> getLinks();", "title": "" }, { "docid": "f49e82c22df9c665e55d144101746ee9", "score": "0.45166615", "text": "int getMapId();", "title": "" }, { "docid": "f49e82c22df9c665e55d144101746ee9", "score": "0.45166615", "text": "int getMapId();", "title": "" }, { "docid": "33c7a6e73e0bd3ada6b52047dcbcf412", "score": "0.45100266", "text": "void initSuspectConnectionMap()\n\t{\n\t\tsuspectConnectionMap = new LinkedHashMap<String, Integer>(Constants.SUSPECTS.length);\n\t\tfor(int i=0; i<Constants.SUSPECTS.length; i++)\n\t\t{\n\t\t\tsuspectConnectionMap.put(Constants.SUSPECTS[i], null);\n\t\t}\n\t}", "title": "" }, { "docid": "28d659ea5ef38bfabd507e33d1b8b19b", "score": "0.45067573", "text": "protected HashMap<Integer, Integer> fileToMap() {\n int charac;\n try {\n while ((charac = this.bufferedChars.read()) != -1) {\n if (this.charsFromFile.containsKey(charac)) {\n this.charsFromFile.put(charac, this.charsFromFile.get(charac) + 1);\n } else {\n this.charsFromFile.put(charac, 1);\n }\n }\n this.charsFromFile.put(-1, 1);\n this.in.getChannel().position(0);\n this.bufferedChars = new BufferedReader(new InputStreamReader(this.in));\n } catch (IOException e) {\n e.printStackTrace();\n }\n return this.charsFromFile;\n }", "title": "" }, { "docid": "dee9532c818c8f0be05dfb6a03b7a64b", "score": "0.45013958", "text": "@Override\r\n\tpublic long getSwaps() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn this.swaps;\r\n\t}", "title": "" } ]
8090388f9415f465af5d94dd99ec7d77
Replaces all entries with the ones given in the parameter map.
[ { "docid": "beadc5cfbbc1adac2addbf159149454c", "score": "0.5466772", "text": "public void putAll(Map map) {\n\t\tint mapSize = map.size();\n\t\tif (ivSize == 0 && mapSize != 0 && map instanceof SortedMap) {\n\t\t\tComparator c = ((SortedMap)map).comparator();\n\t\t\tif (c == ivComparator || (c != null && c.equals(ivComparator))) {\n\t\t\t\t++ivModCount;\n\t\t\t\ttry {\n\t\t\t\t\tbuildFromSorted(mapSize, map.entrySet().iterator(),\n\t\t\t\t\t\t\t\t\t\t\t\t\tnull, null);\n\t\t\t\t} catch (java.io.IOException cannotHappen) {\n\t\t\t\t} catch (ClassNotFoundException cannotHappen) {\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tIterator it = map.entrySet().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tMultiTreeEntry e = (MultiTreeEntry)it.next();\n\t\t\tput(e.getKey(), e.getValue());\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "333b17e7957d2295a24f2243f8568e23", "score": "0.62672305", "text": "public void setParameters( Map<String,String> parameters );", "title": "" }, { "docid": "6e62323fc1016842d19844aee1bb97bf", "score": "0.61480033", "text": "public Map<String,String> modifyValue(Map<String,String> map){\n\t\tif(map == null){\n\t\t\treturn null;\n\t\t}\n//\t Get key of map as a set\n\t\tSet<String> keySet = map.keySet();\n//\t\tGet values of map as a ArrayList\n\t\tCollection<String> valueSet = new ArrayList<>(map.values());\n//\t\tCreating iterator for both key and value\n\t\tIterator keyIterator = keySet.iterator();\n\t\tIterator valueIterator = valueSet.iterator();\n\n//\t\tReplace the value of first map element with empty string\n\t\tString key = (String)keyIterator.next();\n\t\tmap.replace(key, map.get(key),\"\");\n\t\t\n//\t\tReplace the remaining values of map with its previous key value\n\t\twhile (keyIterator.hasNext()) {\n\t\t\tkey = (String)keyIterator.next();\n\t\t\tString temp = (String)valueIterator.next();\n\t\t\tmap.replace(key, map.get(key),temp) ;\n\t\t}\n\t\treturn map;\n\t}", "title": "" }, { "docid": "570d0abdf5c1353d03623547b93fad50", "score": "0.60791826", "text": "public void putAll(Map<? extends K, ? extends V> m) {\n\n }", "title": "" }, { "docid": "06e34893503b80b49b840d5427511290", "score": "0.6058725", "text": "@Override\n public void setAll(Map<String, String> values) {\n values.forEach((s, listS) -> map.put(s, Arrays.asList(listS)));\n }", "title": "" }, { "docid": "673c8fad6d17cc06a19e71a2ea01ca67", "score": "0.60240054", "text": "public void putAll(Map<? extends K,? extends V> m) {\n adaptee.putAll(m);\n }", "title": "" }, { "docid": "686ac29b3d3678c8527ea20c79271b13", "score": "0.5990741", "text": "@Override\n public void putAll(Map<? extends K, ? extends V> m) {\n }", "title": "" }, { "docid": "c13e21e943ea23f3c76110a591929deb", "score": "0.592686", "text": "@Override\r\n\tpublic void setParameters(Map<String, String[]> parameters) {\n\t\tthis.parameters=parameters;\r\n\t}", "title": "" }, { "docid": "d0a5eff0e9743d1508f9b78e799d4410", "score": "0.5914561", "text": "private static void setTrivialParameters(Map<String, String> parametersBefore,\n Map<String, String> parametersAfter) {\n for (String parameter: parametersToIgnore) {\n String val = parametersBefore.get(parameter);\n if (val == null) {\n parametersAfter.remove(parameter);\n } else {\n parametersAfter.put(parameter, val);\n }\n }\n }", "title": "" }, { "docid": "5a9a3062d971fb838638e9f0bf502f2e", "score": "0.5887364", "text": "public Builder putAllSubstitutions(java.util.Map<java.lang.String, java.lang.String> values) {\n internalGetMutableSubstitutions().getMutableMap().putAll(values);\n bitField0_ |= 0x00100000;\n return this;\n }", "title": "" }, { "docid": "71d8709fd8362303b31ad3b9cf445e3e", "score": "0.58725524", "text": "private Map<String, Object> dealWithMap(Map<String, Object> paramMap) {\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor (String colName : defaultValColArr) {\n\t\t\tset.add(colName);\n\t\t}\n\t\tfor (String colName : pkColArr) {\n\t\t\tset.add(colName);\n\t\t}\n\t\tIterator<String> iterator = set.iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tString colName = iterator.next();\n\t\t\tif(paramMap.get(colName) == null) {\n\t\t\t\tparamMap.remove(colName);\n\t\t\t}\n\t\t}\n\t\treturn paramMap;\n\t}", "title": "" }, { "docid": "e67b73271582ed720a2f43ad575e3a2a", "score": "0.58568525", "text": "static void updateMap() {\n\t\tLinkedHashMap<String, String> temporaryMap = new LinkedHashMap<String, String>();\n\t\tfor(String s: map.keySet()) {\n\t\t\ttemporaryMap.put(\"0\" + s, map.get(s));\n\t\t}\n\t\tmap.clear();\n\t\tfor(String s: temporaryMap.keySet()) {\n\t\t\tmap.put(s, temporaryMap.get(s));\n\t\t}\n\t}", "title": "" }, { "docid": "185d44d42ce1b43e72804bab364c2619", "score": "0.58063924", "text": "@Override\n\tpublic void putAll(Map<? extends K, ? extends V> m) {\n\n\t}", "title": "" }, { "docid": "50103cc27bcdf629907c51f1810abcd1", "score": "0.5778916", "text": "public Builder putAllParameters(java.util.Map<java.lang.String, java.lang.String> values) {\n internalGetMutableParameters().getMutableMap().putAll(values);\n return this;\n }", "title": "" }, { "docid": "bf39d4d163b7c96d3879fe70e5413c78", "score": "0.5760158", "text": "@Override\n\tpublic void putAll(Map<? extends K, ? extends V> m) {\n\t\tfor (Map.Entry<? extends K, ? extends V> entry : m.entrySet()) {\n\t\t\tput(entry.getKey(), entry.getValue());\n\t\t}\n\t}", "title": "" }, { "docid": "d6ad7ce554bf5fd785ae948276e26b6e", "score": "0.5758906", "text": "public static IArgs putAllIfAbsent(IArgs args, Map map) {\n\t\tif (map == null) {\n\t\t\treturn args;\n\t\t}\n\t\tfor (Iterator it = map.entrySet().iterator(); it.hasNext();) {\n\t\t\tMap.Entry entry = (Map.Entry) it.next();\n\t\t\tString key = String.valueOf(entry.getKey());\n\t\t\tputPathIfAbsent(args, key, entry.getValue());\n\t\t}\n\t\treturn args;\n\t}", "title": "" }, { "docid": "47c7f58cb17dbce9e946a7a4dd652e56", "score": "0.57453454", "text": "@Override\n\tpublic void putAll(Map<? extends K, ? extends V> arg0) {\n\n\t}", "title": "" }, { "docid": "18d6ee0c6b63751c76c0390d09f8e6ce", "score": "0.5734192", "text": "static public String replaceParameters(String str, Map<String, String> parameters) {\n if (str != null && parameters != null) {\n // Do parameter replacements for this string resource.\n StringBuilder replaceBuffer = new StringBuilder(64);\n for (Map.Entry<String, String> entry : parameters.entrySet()) {\n replaceBuffer.setLength(0);\n replaceBuffer.append(\"${\").append(entry.getKey()).append(\"}\");\n str = substituteSubString(str, replaceBuffer.toString(), entry.getValue());\n }\n }\n\n return str;\n }", "title": "" }, { "docid": "04c7a610b8c4eaa4fa60e4ccfe944ee3", "score": "0.5730847", "text": "public void updateParams () {\n for (final var key: subsKvs.keySet()) {\n subsKvs.put(key,\n propertyReplace(subsKvs.getOnlyString(key),\n subsKvs));\n }\n\n // Now cache some useful substitutions\n final String uname;\n if (subsKvs.containsKey(\"$userid1:\")) {\n uname = \"$userid1:\";\n } else {\n uname = \"$userid01:\";\n }\n\n final String pname;\n if (subsKvs.containsKey(\"$pswd1:\")) {\n pname = \"$pswd1:\";\n } else {\n pname = \"$pswd01:\";\n }\n\n user = subsKvs.getOnlyString(uname);\n if (user == null) {\n throw new RuntimeException(\"Must have userid substitution\");\n }\n\n pswd = subsKvs.getOnlyString(pname);\n if (pswd == null) {\n throw new RuntimeException(\"Must have pswd substitution\");\n }\n }", "title": "" }, { "docid": "4f205553c5b99a2f005984e6a55eed13", "score": "0.5729535", "text": "private void fixMaps() {\n\t\tdefaultMap();\n\t\tupdateCurrentMap(map);\n\t}", "title": "" }, { "docid": "f99d44d191ba38e36f2eb9b09be708f0", "score": "0.57220644", "text": "public void putAll(Map<? extends K, ? extends V> m)\r\n {\r\n Set<? extends K> set = m.keySet();\r\n Iterator<? extends K> iterator = set.iterator();\r\n K key;\r\n V value;\r\n\r\n\r\n while(iterator.hasNext())\r\n {\r\n key = iterator.next();\r\n value = m.get(key);\r\n put(key, value);\r\n }\r\n }", "title": "" }, { "docid": "159765fb662868a832ce06b0f4c83bd5", "score": "0.5720929", "text": "@Override\r\n\t\tpublic void putAll(Map<? extends String, ? extends Object> m) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "1869ecf8ddb1190e44ad0a3aa1ddebc3", "score": "0.57044375", "text": "@Override\r\n\tpublic void putAll(Map m) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4e19ac68006923a5e9a67842b56305ce", "score": "0.5695298", "text": "@Override\n public void putAll(Map<? extends K, ? extends V> m) {\n for (Entry<? extends K, ? extends V> e : m.entrySet())\n put(e.getKey(), e.getValue());\n }", "title": "" }, { "docid": "47354eff5ca1ac5383a056c9c8770831", "score": "0.5694735", "text": "@Override\r\n\tpublic void putAll(Map<? extends String, ? extends Object> m) {\n\t\t\r\n\t}", "title": "" }, { "docid": "04c8d91fe9a09ce574122ceca057aae4", "score": "0.5670377", "text": "public static IArgs putAll(IArgs args, Map map) {\n\t\tif (map == null) {\n\t\t\treturn args;\n\t\t}\n\t\tfor (Iterator it = map.entrySet().iterator(); it.hasNext();) {\n\t\t\tMap.Entry entry = (Map.Entry) it.next();\n\t\t\tputPath(args, String.valueOf(entry.getKey()), entry.getValue());\n\t\t}\n\t\treturn args;\n\t}", "title": "" }, { "docid": "ef565363fef547ecc2a7296e9174244e", "score": "0.56619036", "text": "private static void setSQLParameters(Map<Integer, Object> parameterMap, PreparedStatement preparedStatement)\r\n throws SQLException {\r\n for (Integer i : parameterMap.keySet()) {\r\n preparedStatement.setObject(i, parameterMap.get(i));\r\n }\r\n }", "title": "" }, { "docid": "2acf6788bbfb362a1c6c72b51ac95b90", "score": "0.5651928", "text": "public abstract void setParams(Map<String, Object> params) throws SaadaException;", "title": "" }, { "docid": "c32e45e8eaaf1a860ce44717d7a36d3c", "score": "0.56317633", "text": "@Override\n public void putAll(Map<? extends String, ? extends Object> m) {\n resolved.putAll(m);\n }", "title": "" }, { "docid": "b01da56632ee05c40a6113db3669c69b", "score": "0.5577665", "text": "@Override\n public void putAll(Map<? extends K, ? extends V> m) {\n Objects.requireNonNull(m);\n if (m.containsKey(null)) throw new NullPointerException(\"Map should not contain null keys.\");\n for (Map.Entry<? extends K, ? extends V> entry : m.entrySet()) {\n this.put(entry.getKey(), entry.getValue());\n }\n }", "title": "" }, { "docid": "7518aec8daa35a56e47584620d074cc9", "score": "0.5571926", "text": "public static void main(String[] args) {\n\t\tHashMap<Integer, String> p = new HashMap<>();\r\n\t\tp.put(101,\"sam\");\r\n\t\tp.put(102,\"Tom\");\r\n\t\tp.put(103,\"Jhon\");\r\n\t\tp.put(104,\"Jack\");\r\n\t\tp.put(105,\"Tom\");\r\n\t\tSystem.out.println(p);\r\n\t\tp.replace(104, \"Jackson\");\r\n\t\tSystem.out.println(p);\r\n\t\t\r\n\t\tfor(Entry<Integer, String> s : p.entrySet())\r\n\t\t{\r\n\t\t\tSystem.out.println(s.getKey()+ \" \" +s.getValue());\t\t\r\n\t\t}\r\n\t\tp.put(106, \"Max\");\r\n\t\tp.put(100, \"Lee\");\r\n\t\tp.put(null, \"Lee\");\r\n\t\tp.put(100, null);\r\n\t\tp.remove(102);\r\n\t\tSystem.out.println(p);\r\n\t\tSystem.out.println(\"After removed\");\r\n\t\tfor(Entry<Integer, String> s : p.entrySet())\r\n\t\t{\r\n\t\t\tSystem.out.println(s.getKey()+ \" \" +s.getValue());\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "eb975a39ea37c7f88b969b274e75a2c5", "score": "0.5563227", "text": "void setValues(Map<String, Object> values);", "title": "" }, { "docid": "665790a26dbe62f25745d96ae3d7d1c1", "score": "0.55409914", "text": "public void putAll(Map<? extends K, ? extends V> m) \n\t{ \n\t\thashMap.putAll(m); \n\t}", "title": "" }, { "docid": "c0346b62a2d61b791c730c655e858f03", "score": "0.5540342", "text": "public void putAll(Map map) {\n\t\tfor ( Object o : map.entrySet() ) {\n\t\t\tEntry entry = (Entry) o;\n\t\t\tput( entry.getKey(), entry.getValue() );\n\t\t}\n\t}", "title": "" }, { "docid": "547785550c354a7ca56114a8aac12fec", "score": "0.55242467", "text": "public abstract void setParameters(HashMap<Integer, Double> params);", "title": "" }, { "docid": "4e33e50cce32e126f2d19b8829e768b2", "score": "0.55207783", "text": "void replaceAll(@NonNull List<T> list);", "title": "" }, { "docid": "e925a6d443cb9f03f16012b15750b564", "score": "0.5495378", "text": "void restoreParameterValues();", "title": "" }, { "docid": "e5c1bf128b986626b38750fe280cf753", "score": "0.5490701", "text": "public static String replaceAllMap(Object text, Map searchreplMap) {\r\n\t\treturn replaceMap(text, searchreplMap, -1);\r\n\t}", "title": "" }, { "docid": "ccc6fbfca9d57e958fe5bf2f85e6cda4", "score": "0.5477691", "text": "@Override\n protected void setArgFromMapEntry(ConanParameter param, String value) {\n }", "title": "" }, { "docid": "2457f6678ec0f3bfd2e3ee6492cc0d42", "score": "0.5467333", "text": "public void putAll(Map<String, String> values) {\n\t\tfor (Entry<String,String> e :values.entrySet()){\n\t\t\tthis.put(e.getKey(),e.getValue());\n\t\t}\n\t}", "title": "" }, { "docid": "4b07005942f3708418ba9893158808e1", "score": "0.5447789", "text": "private static void fillInServerConfigurationMap(Map<String, String> newMap, ConfigParams parameters) {\n String clientid = parameters.getParameter(GoogleDriveConfig.CLIENT_ID_PARAM);\n String clientsecret = parameters.getParameter(GoogleDriveConfig.CLIENT_SECRET_PARAM);\n String refreshtoken = parameters.getParameter(GoogleDriveConfig.REFRESH_TOKEN_PARAM);\n \n if (clientid == null) {\n clientid = StringUtils.EMPTY;\n }\n if (clientsecret == null) {\n clientsecret = StringUtils.EMPTY;\n }\n \n \n if (refreshtoken == null) {\n refreshtoken = StringUtils.EMPTY;\n }\n \n newMap.put(GoogleDriveConfig.CLIENT_ID_PARAM, clientid);\n newMap.put(GoogleDriveConfig.CLIENT_SECRET_PARAM, clientsecret);\n newMap.put(GoogleDriveConfig.REFRESH_TOKEN_PARAM, refreshtoken);\n }", "title": "" }, { "docid": "a364900f2d883f7c3459177a8b06260c", "score": "0.54001546", "text": "public void useParams(HashMap<String, String> params)\n {\n mParams = new HashMap<String, String>(params);\n }", "title": "" }, { "docid": "c52c4776c16db97eca29eb62841e8073", "score": "0.53996533", "text": "private void mergeParameters(){\n\t\tif(parameters != null){\n\t\t\treturn;\n\t\t}\n\t\tHashMap<String, String> results = new HashMap<>();\n\t\tString[] names = context.findParameters();\n\t\tfor (int i = 0; i < names.length; i++) {\n\t\t\tresults.put(names[i], context.findParameter(names[i]));\n\t\t}\n\t\tApplicationParameter[] params = context.findApplicationParameters();\n\t\tfor (int i = 0; i < params.length; i++) {\n\t\t\tif(params[i].getOverride()){\n\t\t\t\tif(results.get(params[i].getName()) == null){\n\t\t\t\t\tresults.put(params[i].getName(), params[i].getValue());\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tresults.put(params[i].getName(), params[i].getValue());\n\t\t\t}\n\t\t}\n\t\tparameters = results;\n\t}", "title": "" }, { "docid": "ff9e5102ad0a431ddabb0201d78b06b8", "score": "0.5389713", "text": "public void override(Map<? extends E, ? extends T> m) {\n\t\tmap.putAll(m);\n\t}", "title": "" }, { "docid": "36e0cf30d4a682236dd3836aebcbb5f5", "score": "0.53811526", "text": "@SuppressWarnings(\"unchecked\")\n public void putAll(Map t) {\n map.putAll(t);\n }", "title": "" }, { "docid": "a52ed5827db136b4cd05fb9990a3af93", "score": "0.53655183", "text": "@Override\n public void putAll(List<KeyValue<String, String>> entries) {\n\n }", "title": "" }, { "docid": "b052faa8b5bc54539be541d0f05b3fae", "score": "0.53544164", "text": "public static void main(String[] args) {\n Map<Integer, String> building = new LinkedHashMap<>();\n building.put(1, \"Google\");\n building.put(2, \"Syntax\");\n building.put(3, \"Facebook\");\n building.put(3, \"Amazon\");\n building.put(4, \"Amazon\");\n building.put(5, \"Apple\");\n building.put(6, \"Googe\");\n building.put(7, \"Microsoft\");\n\n System.out.println(building);\n building.replace(3, \"Facebook\");\n System.out.println(building);\n building.remove(7);\n System.out.println(building);\n }", "title": "" }, { "docid": "7ea09b1ee9783dab990d9f7db5caa5de", "score": "0.53509796", "text": "@Override\n\tpublic void putAll(Map<? extends K, ? extends V> arg0) {\n\t\tfor (int i = 0; i < arg0.size(); i++) {\n\t\t\tavailabilities.add(false);\n\t\t}\n\t\tsuper.putAll(arg0);\n\t}", "title": "" }, { "docid": "3b6742baa7187cec36c74826cc820c59", "score": "0.53430915", "text": "public Builder putAllFunctionToParameters(\n java.util.Map<java.lang.String, com.google.devtools.kythe.proto.Tickets> values) {\n internalGetMutableFunctionToParameters().getMutableMap()\n .putAll(values);\n return this;\n }", "title": "" }, { "docid": "696953b6f91a739137fd93ccad34196b", "score": "0.5336652", "text": "protected void replaceProtected() {\n\t\tIterator<BlockState> iter = toReplace.values().iterator();\n\t\twhile(iter.hasNext())\n\t\t\tblock_state_replace(iter.next());\n\n\n\t\ttoReplace.clear();\n\n\t}", "title": "" }, { "docid": "cf6080f5c3d5b2384e670a93edf30e2f", "score": "0.5332732", "text": "public static void main(String[] args) {\n\t\tMap<String, String> map;\r\n\t\tmap=new HashMap<String, String>();\r\n\t\t\r\n\t\tmap.put(\"add1\", \"abc\");\r\n\t\tmap.put(\"add2\", \"bcd\");\r\n\t\tmap.put(\"add3\", \"cde\");\r\n\t\tmap.put(\"add4\", \"def\");\r\n\t\t\r\n\t\tmap.put(\"add3\", \"CDE\");\r\n\t\tmap.replace(\"add1\", \"ABC\");\r\n\t\tmap.remove(\"add2\");\r\n\t\t\r\n//\t\tSystem.out.println(map.get(\"add1\"));\r\n//\t\tSystem.out.println(map.get(\"add2\"));\r\n//\t\tSystem.out.println(map.get(\"add5\"));\r\n//\t\tSystem.out.println(map.get(\"add3\"));\r\n//\t\tSystem.out.println(map.get(\"add4\"));\r\n\r\n//\t\tSet<String> keys = map.keySet();\r\n//\t\t\r\n//\t\tfor(String key:keys){\r\n//\t\t\tSystem.out.println(key+\":\"+map.get(key));\r\n//\t\t}\r\n\t\t\r\n\t\tSet<Entry<String, String>> ent = map.entrySet();\r\n//\t\tIterator<Entry<String, String>> ite = ent.iterator();\r\n//\t\twhile(ite.hasNext()){\r\n//\t\t\tEntry<String, String> entry = ite.next();\r\n//\t\t\tSystem.out.print(entry.getKey()+\":\");\r\n//\t\t\tSystem.out.println(entry.getValue());\r\n//\t\t}\r\n\t\t\r\n\t\tfor(Map.Entry<String, String> entry : ent){\r\n\t\t\tSystem.out.print( entry.getKey()+\":\");\r\n\t\t\tSystem.out.println(entry.getValue());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b1211dd4f5a9b551317e8e29b6bd9785", "score": "0.53315574", "text": "public void resetMap() {\n for (ArrayList<ArrayList<Fighter>> row : map) {\n for (ArrayList<Fighter> col : row) {\n col.clear();\n }\n }\n }", "title": "" }, { "docid": "c69c1d8a7991ea57491328e0f1161ce6", "score": "0.53259295", "text": "public static <K, V> Map<K, V> putAll(final Map<K, V> map, final Iterable<Map.Entry<K, V>> entries) {\n\t\tfor(final Map.Entry<K, V> entriy : entries) { //for all elements already in the iterable\n\t\t\tmap.put(entriy.getKey(), entriy.getValue()); //store the value in the map, keyed to the name\n\t\t}\n\t\treturn map; //return the map with the new values added\n\t}", "title": "" }, { "docid": "c5b4e9b35d1eec11ff8530d19302bd86", "score": "0.53235364", "text": "public void setParameters(Map<String, Serializable> parameters)\n\t{\n\t\tthis.parameters = parameters;\n\t}", "title": "" }, { "docid": "f43f71c1316948e2adf6c505513b2585", "score": "0.53225046", "text": "public Builder putAllParamIndicesByName(\n java.util.Map<java.lang.String, java.lang.Integer> values) {\n internalGetMutableParamIndicesByName().getMutableMap()\n .putAll(values);\n return this;\n }", "title": "" }, { "docid": "fd28dcba4cd8922e609470ce3fc12e4c", "score": "0.53129005", "text": "void setParams(Map<String,String> params) {\n this.params = params;\n }", "title": "" }, { "docid": "73fee54c12bc1ade80afcab2587538f4", "score": "0.5308517", "text": "private void parameterOverride(Properties options) {\n\t\tEnumeration e = options.keys();\n\t\twhile (e.hasMoreElements()) {\n\t\t\tString key = (String) e.nextElement(), value = getParameter(key);\n\t\t\tif (value != null) {\n\t\t\t\tSystem.out.println(\"Applet: overriding value of \" + key + \" with \" + value);\n\t\t\t\t// options.setProperty(key, value);\n\t\t\t\toptions.put(key, value);\n\t\t\t}\n\t\t}\n }", "title": "" }, { "docid": "675b848a84da0b4388b9e2e7d7204ab8", "score": "0.52996176", "text": "public void putAll(final Map map)\n\t{\n\t\tfor (final Iterator iterator = map.keySet().iterator(); iterator.hasNext();)\n\t\t{\n\t\t\tfinal String key = (String)iterator.next();\n\t\t\tfinal Object value = map.get(key);\n\t\t\tput(key, (value != null) ? value.toString() : null);\n\t\t}\n\t}", "title": "" }, { "docid": "c93396c5b55624f34deedccbe6546842", "score": "0.52931315", "text": "public void augmentShadowingMap(TypeParameters n) {\n final List<TypeParameter> params = new ArrayList<>();\n n.accept(\n new DepthFirstVisitor() {\n @Override\n public void visit(TypeParameter n) {\n params.add(n);\n }\n });\n\n for (TypeParameter t : params) {\n augmentShadowingMap(t);\n }\n }", "title": "" }, { "docid": "7a4dee51f28aa950d5dcd999970704aa", "score": "0.52853626", "text": "void replace(@Nullable List<T> items);", "title": "" }, { "docid": "a84d1dc64e413c13d12adfd0a3a25414", "score": "0.52805644", "text": "public void setCustParameters(Map custParameters) {\n /* At the moment replacing the map always invalidates values.\n * This should be changed to check for changed values.\n */\n this.custParameters = custParameters;\n this.changeFlag=true;\n }", "title": "" }, { "docid": "5d602a0b2ee14369cb31f7bd3d5b6533", "score": "0.5265784", "text": "@Override\n public void set(String key, String value) {\n map.put(key, Arrays.asList(value)); //might override original values\n }", "title": "" }, { "docid": "435b26a8c7dccf000f2dcba17c64eb43", "score": "0.5263299", "text": "@Test\n public void tt(){\n TreeMap<Integer,String> map = new TreeMap<>();\n map.put(1,\"a\");\n map.put(2,\"d\");\n map.put(3,\"c\");\n map.replace(3,\"b\");\n System.out.println(map.toString());\n }", "title": "" }, { "docid": "b917f0778d35b72f6a4574a941b19d73", "score": "0.52594733", "text": "public LinkedHashMap<String,String > changevalues(LinkedHashMap<String,String>inputmap){\n Iterator itr = inputmap.entrySet().iterator();\n Map.Entry variable = (Map.Entry)itr.next();\n String key1=(String)variable.getKey();\n String value1=(String)variable.getValue();\n\n variable = (Map.Entry)itr.next();\n String key2=(String)variable.getKey();\n String value2=(String)variable.getValue();\n\n if(value1!=null) {\n inputmap.put(key1,\" \");\n inputmap.put(key2,value1);\n }\n return inputmap;}", "title": "" }, { "docid": "5b2aa82db4f05b4b8e69f7755c3034fc", "score": "0.52507496", "text": "@Override\n\tpublic void putAll(Map<? extends K, ? extends V> map)\n\t{\n\t\tif ((map == null) || (this == map))\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\tif (this.hashCode() <= map.hashCode())\n\t\t{\n\t\t\tsynchronized (this)\n\t\t\t{\n\t\t\t\tsynchronized (map)\n\t\t\t\t{\n\t\t\t\t\t_map.putAll(map);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tsynchronized (map)\n\t\t\t{\n\t\t\t\tsynchronized (this)\n\t\t\t\t{\n\t\t\t\t\t_map.putAll(map);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f00e747c1a2ce252612db99f4e79884b", "score": "0.5246787", "text": "public void updateParameters(Map<String, String> parameterList) {\n CellularAutomatonRule ruleSet = config.getRuleSet();\n ruleSet.setGameSpecifics(parameterList);\n myModel.setRule(ruleSet);\n }", "title": "" }, { "docid": "716deb1b9fe9be39dd70af8cbde9878e", "score": "0.52354515", "text": "@Override\n \tpublic void applyParameters(Map<String, String> paramMap)// throws MojoExecutionException\n \t{\n \t\tapplyDefaults();\n \t\tfor (Map.Entry<String,String> entry : paramMap.entrySet()) {\n \t\t\tpackagerVariables.put(entry.getKey(), entry.getValue());\n \t\t}\n \t}", "title": "" }, { "docid": "9815155753c67348a3982dfaae90900d", "score": "0.5235445", "text": "@Override\n\tpublic void update(Map<String, Object> params)\n\t{\n\t}", "title": "" }, { "docid": "f7727a6ce2969a12ceb838a27f8394c4", "score": "0.5227402", "text": "public String replacer(Map<String, String> map) throws IOException{\n\n String result = readFile();\n for (Map.Entry<String, String> entry : map.entrySet()) {\n result = result.replaceAll(\"\\\\b\"+entry.getKey()+\"\\\\b\",entry.getValue());\n }\n return result;\n }", "title": "" }, { "docid": "21949fc23927e4fd1f07d6e0a6b59db4", "score": "0.5227294", "text": "void replaceEntry(K key, V value) throws ErrnoException, NoSuchElementException;", "title": "" }, { "docid": "d334ddf285af13a835c8686d245fefbb", "score": "0.5211118", "text": "private static void initParameters(Query query, Map<String, Object> params)\r\n {\r\n for (Map.Entry<String, Object> e : params.entrySet())\r\n {\r\n query.setParameter(e.getKey(), e.getValue());\r\n }\r\n }", "title": "" }, { "docid": "137a439839064f3aabc4ec44e19db6ff", "score": "0.52107155", "text": "public void setInputValues(Map inputValues)\r\n\t{\r\n\t\tthis.inputValues = inputValues;\r\n\t}", "title": "" }, { "docid": "ed4d1e5034c3980579102360c0daa3ed", "score": "0.51867735", "text": "T remap(Map<String, String> nameMap);", "title": "" }, { "docid": "67f824694ea2d5c85d2e89083af85ba5", "score": "0.5184228", "text": "public void putQVarMap( HashMap<String,HashMap<EAGVertex, ArrayList<String>>> map) {\n\t\tqVariableMapping.putAll(map);\n\t}", "title": "" }, { "docid": "a09d1975b4a0eef12c6f9868bef4007f", "score": "0.5166743", "text": "public void addParameters(Map<String, Object> parameters) {\n if (parameters == null || parameters.size() == 0) {\n return;\n }\n putAll(parameters);\n }", "title": "" }, { "docid": "25f560b8051cbfd83974a8f0f3b8d46e", "score": "0.5164359", "text": "public Map<String, Object> lista(Map<String, Object> params);", "title": "" }, { "docid": "52efdcee1481d1cbeaacdfa4a24b10af", "score": "0.5158522", "text": "public synchronized void update(final Map<String,Object> map, final boolean updateValues)\n\t{\n\t\tfor(final Map.Entry<String,Object> e:map.entrySet())\n\t\t{\n\t\t\tsetData( e.getKey().toLowerCase(), e.getValue(), updateValues);\n\t\t}\n\t}", "title": "" }, { "docid": "6124020bde7cbd652db435aa1fb95502", "score": "0.515852", "text": "public void putAll(K key, Collection<V> values){\n\t\tSet<V> set = new HashSet<V>();\n\t\tset.addAll(values);\n\t\tmap.put(key, set);\n\t}", "title": "" }, { "docid": "fd0e32304c283c24f05e41d61e464fb3", "score": "0.5156803", "text": "public void putAll(Map<? extends K, ? extends V> m) {\n\t\tif(!running) throw new IllegalStateException(\"This TimeoutQueueMap has been shutdown\", new Throwable());\n\t\tfor(Map.Entry<? extends K, ? extends V> entry: m.entrySet()) {\n\t\t\tput(entry.getKey(), entry.getValue());\n\t\t}\n\t\treferenceMap.putAll(m);\n\t}", "title": "" }, { "docid": "9d4353038883925dc66cdc0537783f56", "score": "0.5156088", "text": "private Vector<ObsValPair> replaceInValues(Vector<ObsValPair> pairs, \n\t\t\tVector<Object> orig, Vector<Object> repl, Module mod){\n\t\t\n\t\tVector<ObsValPair> newPairs = new Vector<ObsValPair>();\n\t\t //first we add the original pairs\n\t\t\n\t\t for(int i =0; i< pairs.size();i++){\n\t\t\t CafeTerm obs = pairs.get(i).getObs().replaceTerms(orig, repl);\n\t\t\tCafeTerm val = pairs.get(i).getValue().replaceTerms(orig, repl);\n\t\t\t\n\t\t\tnewPairs.add(new ObsValPair(obs, val));\n\t\t}//end of looping through the pairs\n\t\t \n\t\t return newPairs ;\n\t}", "title": "" }, { "docid": "6afa59eb6fd8d5fbf201a25028199754", "score": "0.5151192", "text": "public void setParameters(Map parameters)\n \t{\n \t\tsuper.setParameters(parameters);\n \t\t\n \t\tif( parameters.containsKey(\"uninjuredSame\"))\n \t\t{\n \t\t\tsetUninjuredSame( Parameters.convertToDouble( \n\t\t parameters.get( \"uninjuredSame\" ), \n\t\t getUninjuredSame(),\n\t\t\t\"uninjuredSame must be a Double or a string representing a Double.\" ) );\n \t\t\n \t\t}\n \t\t\n \t\tif( parameters.containsKey(\"injuredSame\"))\n \t\t{\n \t\t\tsetInjuredSame( Parameters.convertToDouble( \n\t\t\tparameters.get( \"injuredSame\" ), \n\t\t\tgetInjuredSame(),\n\t\t\t\"injuredSame must be a Double or a string representing a Double.\" ) );\n \t\t\t\n \t\t}\n \t\t\n \t\tif( parameters.containsKey(\"deadSame\"))\n \t\t{\n \t\t\tsetDeadSame( Parameters.convertToDouble( \n\t\t\tparameters.get( \"deadSame\" ), \n\t\t\tgetDeadSame(),\n\t\t\t\"deadSame must be a Double or a string representing a Double.\" ) );\n \t\t}\n \t\t\n \t\tif( parameters.containsKey(\"uninjuredDifferent\"))\n \t\t{\n \t\t setUninjuredSame( Parameters.convertToDouble( \n\t\t\tparameters.get( \"uninjuredDifferent\" ), \n\t\t\tgetUninjuredDifferent(),\n\t\t\t\"uninjuredDifferent must be a Double or a string representing a Double.\" ) );\t\t\n \t\t\n \t\t}\n \t\t\n \t\tif( parameters.containsKey(\"injuredDifferent\"))\n \t\t{\n \t\t setUninjuredSame( Parameters.convertToDouble( \n\t\t\tparameters.get( \"uninjuredDifferent\" ), \n\t\t\tgetInjuredDifferent(),\n\t\t\t\"injuredDifferent must be a Double or a string representing a Double.\" ) );\t\t\n \t\t\n \t\t}\n \t\tif( parameters.containsKey(\"deadDifferent\"))\n \t\t{\n \t\t setUninjuredSame( Parameters.convertToDouble( \n\t\t\tparameters.get( \"deadDifferent\" ), \n\t\t\tgetUninjuredSame(),\n\t\t\t\"deadDifferent must be a Double or a string representing a Double.\" ) );\t\t\n \t\t\n \t\t}\n }", "title": "" }, { "docid": "db2b66b53b19466168a04e417a8363ff", "score": "0.5146487", "text": "@Override\n public <K, V> void setMap(String path, Map<K, V> map) {\n for (K key : map.keySet()) {\n super.set(path + \".\" + key.toString(), map.get(key));\n }\n }", "title": "" }, { "docid": "d91e88c91c67c879225a43987df550b2", "score": "0.51446706", "text": "public Object[] swapParameters(Object[] emptyReplacement) {\n/* 291 */ Object[] result = this.parameters;\n/* 292 */ this.parameters = emptyReplacement;\n/* 293 */ return result;\n/* */ }", "title": "" }, { "docid": "10e13386b81e0e3f8b099e169217d57c", "score": "0.5142876", "text": "private HashMap<String, String> processSearchAndReplaceTokens(String[] args) {\n\t\tHashMap<String, String> searchAndReplaceTokens = new HashMap<String, String>();\n\t\t\n\t\t// try-catch weils echt wacklig ist mit den ArrayBounds\n\t\ttry {\n\t\t\t// alle ungeraden, startend beim ersten\n\t\t\tfor(int a = 0; a < args.length; a = a + 2) {\n\t\t\t\tsearchAndReplaceTokens.put(args[a], args[a + 1]);\n\t\t\t}\n\t\t\t\n\t\t// weils wegen ArrayIndexOutOfBounds um die Ohren fliegen kann\n\t\t} catch (Exception e) {\n\t\t\tmh.tell(p, \"Fehler beim Einlesen der Such & -Ersetzparameter\", e.toString());\n\t\t\tbrman.getLogger().warning(e.toString());\n\t\t}\n\t\t\n\t\treturn searchAndReplaceTokens;\n\t}", "title": "" }, { "docid": "abf3312028dc50d0f7d801464eb1620c", "score": "0.5142819", "text": "public void substituteStepParameters(final Map<String, String> parametersForSteps,\n final Step step) {\n if (parametersForSteps != null && !parametersForSteps.isEmpty()) {\n\n // replace any tokens in this step\n step.setParameterLine(substitutePlaceholders(step.getLine(), parametersForSteps));\n\n final List<Map<String, String>> inlineTable = step.getInlineTable();\n if (inlineTable != null) {\n log.trace(\"substituting inline table values\");\n\n final List<Map<String, String>> replacedInlineTable = new ArrayList<Map<String, String>>();\n\n for (final Map<String, String> row : inlineTable) {\n final Map<String, String> replacedRow = new HashMap<String, String>();\n replacedInlineTable.add(replacedRow);\n final Set<Entry<String, String>> entrySet = row.entrySet();\n\n for (final Entry<String, String> e : entrySet) {\n replacedRow.put(e.getKey(),\n substitutePlaceholders(e.getValue(), parametersForSteps));\n }\n }\n\n step.setSubstitutedInlineTable(replacedInlineTable);\n }\n }\n }", "title": "" }, { "docid": "516ef179a45fa8b247bcac6a9c678de6", "score": "0.5140532", "text": "private void resetMap(int[] maps) {\n\t\tfor(int i=0; i<26; i++) {\n\t\t\tmaps[i] = 0;\n\t\t}\n\t}", "title": "" }, { "docid": "2ad2db7c754b53d52e03da1b8c1c7fac", "score": "0.51369417", "text": "@Override\n public void putValues(Map<String, ? extends Object> values) {\n this.values.putAll(values);\n }", "title": "" }, { "docid": "ff4214613fcbf984619282505e614b25", "score": "0.51273406", "text": "private void addParameters(SelectQuery select, Table table,\r\n\t\t\tMap<String, Object> parametros) {\n\t\tfor (String parametro : parametros.keySet()) {\r\n\t\t\tselect.addParameter(table, parametro);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "22610e4d6ab413275ea60133272d1bc4", "score": "0.5126269", "text": "protected void init() {\r\n for (Map.Entry<String, Map<String, Object>> configEntry : config.entrySet()) {\r\n @SuppressWarnings(\"unchecked\")\r\n Map<String, Object> value = (Map<String, Object>) evaluateAll(configEntry.getValue());\r\n configEntry.setValue(value);\r\n }\r\n }", "title": "" }, { "docid": "a1b1789adc1079e8dcb0e508773dc6bc", "score": "0.51118517", "text": "public Builder putAllParamTypesByName(\n java.util.Map<java.lang.String, java.lang.String> values) {\n internalGetMutableParamTypesByName().getMutableMap()\n .putAll(values);\n return this;\n }", "title": "" }, { "docid": "86ab16a017c3dfd35b8c1d2b3af9e546", "score": "0.5108447", "text": "private static Map<AddressComponent, String> replaceOriginalStringsInSplitUpFields(Map<AddressComponent, String> results, BiMap<String, String> codeMaps )\r\n\t{\r\n\t\tfor(String oldString : codeMaps.keySet()) // contains a map of the form <stringToBeReplaced><StringToReplaceWith>\r\n\t\t{\r\n\t\t\t\r\n\t\t\tfor (AddressComponent fieldKey : results.keySet())\r\n\t\t\t{\r\n\t\t\t\tif (results.get(fieldKey) == null) // only update fields that are not null\r\n\t\t\t\t{\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tString originalString = results.get(fieldKey);\r\n\t\t\t\t\tString updatedString = originalString.replaceAll(oldString, codeMaps.get(oldString));\r\n\t\t\t\t\tresults.put(fieldKey, updatedString);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn results;\r\n\t}", "title": "" }, { "docid": "af83d819b055bdad258d81c779797952", "score": "0.5101367", "text": "@SuppressWarnings(\"unchecked\")\r\n \tpublic static Map convertEmptyValuesToNull(final Map parameterMap) {\r\n \t\tfinal Map map = new LinkedHashMap();\r\n \t\tfinal Set keys = parameterMap.keySet();\r\n\r\n \t\tfor (final Object key : keys) {\r\n \t\t\tfinal Object value = parameterMap.get(key);\r\n \t\t\tif (value instanceof String[]) {\r\n \t\t\t\tfinal String[] values = (String[]) value;\r\n \t\t\t\tfor (final String strValue : values) {\r\n \t\t\t\t\tif (strValue != null && strValue.equals(\"\")) {\r\n \t\t\t\t\t\tmap.put(key, null);\r\n \t\t\t\t\t} else {\r\n \t\t\t\t\t\tmap.put(key, value);\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t} else {\r\n \t\t\t\tif (value != null && value.equals(\"\")) {\r\n \t\t\t\t\tmap.put(key, null);\r\n \t\t\t\t} else {\r\n \t\t\t\t\tmap.put(key, value);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn map;\r\n \t}", "title": "" }, { "docid": "23788e6a56b51c9de7e3ba9d66973bfc", "score": "0.50984323", "text": "private void replaceAll() {\r\n\r\n while (find()){ \r\n replace();\r\n }\r\n\r\n }", "title": "" }, { "docid": "a373ccef11720dda02b096f3057c093d", "score": "0.50980604", "text": "public static String replaceAll(String textReplacing, Map<Token, String> valueMap) {\n\n for (Token token : values()) {\n if (valueMap.containsKey(token)) {\n textReplacing = replace(token, textReplacing, valueMap.get(token));\n// textReplacing = textReplacing.replaceAll(DELIMITER + token.tokenTag + DELIMITER, valueMap.get(token));\n }// end of if cycle\n }// end of for cycle\n\n return textReplacing;\n }", "title": "" }, { "docid": "52ffa58e252352e96e1a44e2ce37e76f", "score": "0.5094558", "text": "public void replaceAll(String a, String b)\n {\n if ( _value == null )\n return;\n _value = Kmu.replaceAll(_value, a, b);\n }", "title": "" }, { "docid": "d26c1b48bdb70e89d934f4d7bc7431c6", "score": "0.5092617", "text": "public void setParameters(java.util.Map<String, RemediationParameterValue> parameters) {\n this.parameters = parameters;\n }", "title": "" }, { "docid": "855caf797358b925538c266d760d2a29", "score": "0.5091949", "text": "void updateEntry(IEntry entry, String[] newValues) throws Exception;", "title": "" }, { "docid": "11fe24594d4125f83f1a66981c5f2f24", "score": "0.50879335", "text": "List<String> normalizedTheses(Map<String, String> replace) {\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" }, { "docid": "96df8ff5ff3617b0d327d24536e9484f", "score": "0.5087601", "text": "public boolean replaceArguments(Map<String, String> replacementMap,\r\n\t\t\tboolean retainOtherArgs, boolean retainNumbers) {\r\n\t\tString[] newArguments = Arrays.copyOf(arguments_, arguments_.length);\r\n\t\tboolean notAnonymous = false;\r\n\t\tfor (int i = 0; i < arguments_.length; i++) {\r\n\t\t\tboolean hasReplacement = false;\r\n\t\t\tfor (String key : replacementMap.keySet()) {\r\n\t\t\t\tif (arguments_[i].equals(key)) {\r\n\t\t\t\t\tnewArguments[i] = replacementMap.get(key);\r\n\t\t\t\t\thasReplacement = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (!retainOtherArgs && !hasReplacement) {\r\n\t\t\t\tif (!retainNumbers || !StateSpec.isNumber(arguments_[i]))\r\n\t\t\t\t\tnewArguments[i] = \"?\";\r\n\t\t\t}\r\n\r\n\t\t\tif (!newArguments[i].equals(\"?\"))\r\n\t\t\t\tnotAnonymous = true;\r\n\t\t}\r\n\t\targuments_ = newArguments;\r\n\t\treturn notAnonymous;\r\n\t}", "title": "" }, { "docid": "900a4792c5025499521f949ce6fe416a", "score": "0.5081703", "text": "public void updateEnvVariablesMap(Map val) throws MBeanException;", "title": "" }, { "docid": "e12d48544221dd1d61c4fd66ec18ff66", "score": "0.5076025", "text": "public static String replaceParameterWithValues(Map object) {\n\t\tString str = \"call dbo.spIIoTGetRealTimeDataAnalysisTaskDetails (?,?,'57E95C8D-B044-4527-9CDA-BE88172B5F3E')\";\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tint count =0;\n\t\tfor (int i=0; i<str.length();i++) {\n\t\t\tif(str.charAt(i)== '?') {\n\t\t\t\t//str.s replace('?', \"\");\n\t\t\t\tcount ++;\n\t\t\t\tstringBuilder.append(\"'\").append(object.get(String.valueOf(count))).append(\"'\");\n\t\t\t}else {\n\t\t\t\tstringBuilder.append(str.charAt(i));\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn stringBuilder.toString();\n\t}", "title": "" } ]
f741b6918557be08cd92a363dd161996
Created by DaryaKolyadko on 12.09.2016. ShowEditPage interface (show edit smth. page after error so we shouldn't put initial object in request again)
[ { "docid": "3371bad4feae7bb8fa2f903aa9c18f54", "score": "0.7640426", "text": "public interface ShowEditPage {\n /**\n * session attribute name which contains error text in case of error on edit smth. page\n */\n String SESSION_ATTR_ERROR = \"actionError\";\n\n /**\n * Set object which you want to edit as session attribute in case if it is first Edit...Page loading.\n * In case if it is reloading of this page because of errors in edit form, original object doesn't\n * placed in session (P.S. the Uncompleted...MemoryContainer does but not in this method)\n *\n * @param content request content\n * @param object object that you want to edit\n * @param attrName attribute's name which will contain your object\n */\n default void setAsAttrIfNotAfterError(RequestContent content, Object object, String attrName) {\n Object afterError = content.getSessionAttribute(SESSION_ATTR_ERROR);\n\n if (afterError == null) {\n content.setRequestAttribute(attrName, object);\n }\n }\n}", "title": "" } ]
[ { "docid": "08787f13f73a424380eb46ccdd2382d7", "score": "0.70631623", "text": "@Override\n\tpublic String edit(HttpServletRequest request, HttpServletResponse response, Page page) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "08787f13f73a424380eb46ccdd2382d7", "score": "0.70631623", "text": "@Override\n\tpublic String edit(HttpServletRequest request, HttpServletResponse response, Page page) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8ee0e2f5f67685b1059426d96592f77d", "score": "0.64859843", "text": "public void editAction() {\n\t\ttry\n\t\t{\n\t\t\tsetResponsePage(this);\n\t\t\tkstaff.remove(ro);\n\t\t\tnstaff.remove(ro);\n\t\t\tkalias.remove(ro);\n\t\t\taddress1.remove(ro);\n\t\t\ttgllahir.remove(ro);\n\t\t\ttglmasuk.remove(ro);\n\t\t\tcity.remove(ro);\n\t\t\tkjabatan.remove(ro);\n\t\t\tkcabang.remove(ro);\n\t\t\tkcompany.remove(ro);\n\t\t\tkhpp.remove(ro);\n\t\t\tkprint.remove(ro);\n\t\t\tkApprove.remove(ro);\n\t\t\tketerangan.remove(ro);\n\t\t\tdjabatan.remove(ro);\n\t\t\ttglkeluar.remove(ro);\n\t\t\tkotalahir.remove(ro);\n\t\t\taddress2.remove(ro);\n\t\t\taddress3.remove(ro);\n\t\t\tpostcode.remove(ro);\n\t\t\tphone.remove(ro);\n\t\t\tfax.remove(ro);\n\t\t}\n\t\tcatch(Exception ex){}\n\t}", "title": "" }, { "docid": "3feaf36096e5e4568d1a5963c2cd118f", "score": "0.63143647", "text": "private ShowUpdateSectionPage() {\n this.service = UserService.retrieve();\n this.validator = Validator.retrieve();\n }", "title": "" }, { "docid": "e2c85a7dde0c8b8f8feca494db1ab4e1", "score": "0.6128597", "text": "public String goEdit() throws DataBaseException, \n SharedApplicationException {\n String navigationCase= null; \n if (this.getSelectedDTOS() != null && \n this.getSelectedDTOS().size() == 1) {\n\n ManyToManyMaintainBaseBean maintainBean = \n (ManyToManyMaintainBaseBean)FacesContext.getCurrentInstance().getApplication().createValueBinding(\"#{\" + \n this.getAddBeanName() + \n \"}\").getValue(FacesContext.getCurrentInstance());\n\n setPageDTO(((IDecisionsClient)getClient()).getAllAndFirstPageOfEmpById(this.getSelectedDTOS().get(0).getCode()));\n maintainBean.setMaintainMode(1);\n this.initializeObjectBeforeMaintain();\n\n maintainBean.setPageDTO(this.getPageDTO());\n navigationCase=getEditNavigationCase();\n\n }\n \n\n if (getIntegrationBean() != null && \n (getIntegrationBean().getInitializeMethod() != null && \n getIntegrationBean().getInitializeMethod() != \"\")) {\n\n executeMethodBinding(getIntegrationBean().getInitializeMethod(), \n null);\n\n }\n \n DecisionEmployeesModel decisionEmployeesModelSessionBean = \n (DecisionEmployeesModel)evaluateValueBinding(\"decisionEmployeesModel\");\n decisionEmployeesModelSessionBean.resetSessionData();\n return navigationCase;\n }", "title": "" }, { "docid": "e292693299e943a9aa2a9c73a57e94f4", "score": "0.61042523", "text": "@Override\n public void onInit() {\n\n super.onInit();\n\n// long t1 = System.currentTimeMillis();\n// System.out.println(\"Edit onInit super.onInit()\" + (t1 - t0) + \" ms\");\n\n //Map<String, String> parameters = new HashMap<String, String>();\n //parameters.put(NODE_ID_KEY, getNodeId());\n\n// long t2 = System.currentTimeMillis();\n// System.out.println(\"Edit onInit create Edit page\" + (t2 - t2) + \" ms\");\n\n Class<? extends Page> pageClass = getRedirectPage(node);\n if (pageClass == null) {\n pageClass = DefaultEdit.class;\n }\n StructrPage editPage = (StructrPage) getContext().createPage(pageClass);\n\n setForward(editPage);\n\n }", "title": "" }, { "docid": "137de0f0a1b80e698689c6140bc43da2", "score": "0.60132575", "text": "private void edit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tString email = request.getParameter(\"email\");\r\n\t\tList<Person> p = dao.view();\r\n\t\trequest.setAttribute(\"person\", p);\r\n\t\tRequestDispatcher d = request.getRequestDispatcher(\"email.jsp\");\r\n\t\td.forward(request, response);\r\n\t}", "title": "" }, { "docid": "1daef66c2440d8b0a74824c5df21377b", "score": "0.6012714", "text": "public void infoPage(int theId, Model theModel) {\n\t\t\t// get the request from our service\n\t\t\tRequest existingRequest = requestService.getRequest(theId);\t\n\t\t\t\n\t\t\t// TESTING\n\t\t\tUpdateObjectForm helperFormExistingRequest = new UpdateObjectForm();\n\t\t\t\n\t\t\t// Adding UpdateObjectForm object for form submission START\n\t\t\t// Setting requestId\n\t\t\thelperFormExistingRequest.setRequestId(existingRequest.getId());\n\t\t\t\n\t\t\t// Setting Date\n//\t\t\thelperFormExistingRequest.setDateSelected(existingRequest.getDate().toString());\n\t\t\t\n\t\t\tString formatedDate = existingRequest.getDate().format(customDateFormatter);\t\t\t\n\t\t\thelperFormExistingRequest.setDateSelected(formatedDate);\n\t\t\t\t\t\n//\t\t\tSystem.out.println(\">>>>>> INSIDE requestinfopageGenerator: \" + helperFormExistingRequest.getDateSelected());\n\t\t\t\t\t\n\t\t\t// Setting Requester\n\t\t\thelperFormExistingRequest.setRequesterName(existingRequest.getRequester().getName());\n\t\t\t\n\t\t\t// Setting Requester Comment\n\t\t\thelperFormExistingRequest.setRequesterComment(existingRequest.getRequesterComment());\n\t\t\t\n\t\t\t// Setting itemInService if exists\n\t\t\tif(existingRequest.getItemInService() != null) {\n\t\t\t\thelperFormExistingRequest.setCheckBoxInService(true);\n\t\t\t\thelperFormExistingRequest.setObjectTypeIdInService(existingRequest.getItemInService().getObjectModel().getObjectType().getId());\n\t\t\t\thelperFormExistingRequest.setObjectModelIdInService(existingRequest.getItemInService().getObjectModel().getId());\n\t\t\t\thelperFormExistingRequest.setObjectInstanceIdInService(existingRequest.getItemInService().getId());\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t// Setting itemInOperation if exists\n\t\t\tif(existingRequest.getItemInOperation() != null) {\n\t\t\t\thelperFormExistingRequest.setCheckBoxInOperation(true);\n\t\t\t\thelperFormExistingRequest.setObjectTypeIdInOperation(existingRequest.getItemInOperation().getObjectModel().getObjectType().getId());\n\t\t\t\thelperFormExistingRequest.setObjectModelIdInOperation(existingRequest.getItemInOperation().getObjectModel().getId());\n\t\t\t\thelperFormExistingRequest.setObjectInstanceIdInOperation(existingRequest.getItemInOperation().getId());\n\t\t\t}\n\t\t\t\n\t\t\t//Setting itemComment\n\t\t\thelperFormExistingRequest.setItemComment(existingRequest.getItemComment());\n\t\t\t\n\t\t\n\t\t\t// Adding Modification Date TESTING !!!\n\t\t\tString formatedModificationDate = \"\";\n\t\t\t\n\t\t\tif(existingRequest.getModificationDate() != null) {\n\t\t\t\tformatedModificationDate = existingRequest.getModificationDate().format(customDateFormatter);\n\t\t\t}\n\t\t\t\n\t\t\t//Adding UpdateObjectForm object for form submission START\n\t\t\t\n\t\t\t//Adding UpdateObjectForm helperForm object to the model\n\t\t\ttheModel.addAttribute(\"helperFormExistingRequest\", helperFormExistingRequest);\n\t\t\t\n\t\t\t// set request as a model attribute \n\t\t\ttheModel.addAttribute(\"existingRequest\", existingRequest);\n\t\t\t\n\t\t\t// adding model attribute with formated date\n\t\t\ttheModel.addAttribute(\"formatedDate\", formatedDate);\n\t\t\t\n\t\t\t// adding model attribute with formated MODIFICATION date TESTING!!!\n\t\t\ttheModel.addAttribute(\"formatedModificationDate\", formatedModificationDate);\n\t\t}", "title": "" }, { "docid": "3b17d67bfc742a17dad1d92c04db7081", "score": "0.59727085", "text": "private void edit(HttpServletRequest request, HttpServletResponse response) {\n\t\tString employee_id = request.getParameter(\"employee_id\");\n\t\tif (employee_id != null) {\n\t\t\tEmployee employee = DAOFactoryImpl.getEmployeeDAO().getEmployeebyID(employee_id);\n\t\t\trequest.setAttribute(\"employee\", employee);\n\t\t}\n\t\ttry {\n\t\t\trequest.getRequestDispatcher(\"/customer/companystruct/employee_edit.jsp\").forward(request, response);\n\t\t} catch (ServletException | IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "e108acccdc04de21bb9ef4666f9fc980", "score": "0.59582955", "text": "@RequestMapping(value = \"/edit/{id}\", method = RequestMethod.GET)\r\n public ModelAndView edit(@PathVariable(\"id\") String id) {\r\n ModelAndView modelAndView = new ModelAndView(getBase() + \"/form\");\r\n modelAndView.addObject(\"object\", crudService.findById(id));\r\n addExtraFormAttributeForEditPage(modelAndView);\r\n return modelAndView;\r\n }", "title": "" }, { "docid": "e0ce0fd5c256818034ecb063b82d2863", "score": "0.590746", "text": "@Override\n public void editPage(StaticPage page) {\n StaticPage fromDao = dao.getPageById(page.getStaticPageId());\n \n // Set the properties that can not be changed by the user\n page.setCreatedBy(fromDao.getCreatedBy());\n page.setCreatedDate(fromDao.getCreatedDate());\n \n // Get the current time and update the last modified\n LocalDateTime now = LocalDateTime.now();\n page.setModifiedDate(now);\n \n // TODO Set the user that modified the page\n page.setModifiedBy(fromDao.getModifiedBy());\n \n dao.editPage(page);\n }", "title": "" }, { "docid": "ed12fa8676360a0cffd4973064cc3382", "score": "0.58927715", "text": "public void edit() {\n\t\tEmployee tempEmployee = view();\r\n\t\t\r\n\t\t// If the employee != null, i.e. it was found then...\r\n\t if(tempEmployee != null){\r\n\t\t // get it's index\r\n\t\t int index=employees.indexOf(tempEmployee);\r\n\t\t // read in a new employee and...\r\n\t\t tempEmployee.read();\r\n\t\t // reset the object in employees\r\n\t\t employees.set(index, tempEmployee);\r\n\t }\r\n\t}", "title": "" }, { "docid": "4a255be7507f2b940dbc7a16299b2a67", "score": "0.5889575", "text": "private String redirectToEdit() {\n try {\n String referrer = FacesContext.getCurrentInstance().getExternalContext().getRequestHeaderMap()\n .get(\"referer\");\n String callerViewId = referrer.substring(referrer.lastIndexOf('/') + 1);\n if (!callerViewId.isEmpty() && callerViewId.contains(\"projects.jsf\")) {\n return \"/pages/editDocket?\" + REDIRECT_PARAMETER;\n } else {\n return \"/pages/DocketEdit?\" + REDIRECT_PARAMETER;\n }\n } catch (NullPointerException e) {\n // This NPE gets thrown - and therefore must be caught - when \"DocketForm\" is\n // used from it's integration test\n // class \"DocketFormIT\", where no \"FacesContext\" is available!\n return \"/pages/DocketEdit?\" + REDIRECT_PARAMETER;\n }\n }", "title": "" }, { "docid": "49b685b9530892f115ab682388cb081c", "score": "0.58770865", "text": "public FoxyFinishRptEditPage() {\n super(new String(\"FinishRptEditForm\"));\n try {\n this.isAuthorize(MENU_CODE);\n this.id = foxySessionData.getPageParameterLong();\n //System.out.println(ctx.getApplication().getViewHandler().toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "34a5258d0f1c86dc0b1a62fe8acbf824", "score": "0.5858918", "text": "@Override\n public void doEdit(RenderRequest req, RenderResponse res) throws PortletException {\n String editView = getViewNameFromPreferredValueOrDefaultValue(\n req,\n res,\n Settings.Entry.DEFAULT_EDIT_VIEW);\n\n // Render...\n if (editView == null) {\n doView(req, res);\n } else {\n\n try {\n\n renderView(editView, req, res);\n } catch (Throwable t) {\n\n String msg = \"Rendering failure in CernunnosPortlet.doEdit()\";\n throw new PortletException(msg, t);\n }\n \n }\n }", "title": "" }, { "docid": "ccec13587de844bf79819cd547e00314", "score": "0.58313024", "text": "@Override\n\tpublic String update(HttpServletRequest request, HttpServletResponse response, Page page) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ccec13587de844bf79819cd547e00314", "score": "0.58313024", "text": "@Override\n\tpublic String update(HttpServletRequest request, HttpServletResponse response, Page page) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7a263cbb68dfd142827c206c05edf5cf", "score": "0.5799156", "text": "private void addPageAttributesOfEdit (ModelMap modelMap) {\n\t\tmodelMap.addAttribute(\"pageTitle\", getMessage(\"edit.member\"));\n\t\tmodelMap.addAttribute(\"description\", getMessage(\"edit.member.desc\"));\n\t}", "title": "" }, { "docid": "96f7cf9b31df6ed00802c936a0aefe25", "score": "0.5797303", "text": "private void writeEditForm(HttpServletRequest request, HttpServletResponse response, int id) throws ServletException, IOException {\n request.setAttribute(\"id\", id);\n try {\n Storage s = DBDao.getStorage(id);\n request.setAttribute(\"storage\", s);\n } catch (Exception ignored) {\n }\n request.getRequestDispatcher(\"/WEB-INF/views/storage/edit.jsp\").forward(request, response);\n\n }", "title": "" }, { "docid": "b6e99fd1bda25f01e01be15810f94664", "score": "0.579527", "text": "public EditInfo() {\n initComponents();\n Edit();\n }", "title": "" }, { "docid": "e6ab46717699b7f1900cc0d4c197eef9", "score": "0.5792917", "text": "@SuppressWarnings(\"unchecked\")\r\n\tprotected <W extends VaadinDetailEditForm<V>> W enterEdit(final V viewObj) {\r\n\t\t// disable\r\n\t\t_enabledStatusHandler.setEnabled(false);\r\n\r\n\t\t// puts the [detail form] (a pop up or just a form) into [create-new mode]\r\n\t\t_detailEditForm.forEditing(viewObj,\r\n\t\t\t\t\t\t\t\t // What happens when the edit form is closed after editing the [view object]\r\n\t\t\t\t\t\t\t\t // ... update the edited obj and refresh\r\n\t\t\t\t\t\t\t\t viewObjToSave -> {\r\n\t\t\t\t\t\t\t\t \t// enable again\r\n\t\t\t\t\t\t\t\t \t_enabledStatusHandler.setEnabled(true);\r\n\r\n\t\t\t\t\t\t\t\t \t// tell the outside world to save\r\n\t\t\t\t\t\t\t\t \tthis.doSaveItem(viewObjToSave,\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t// what to do after saving\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \tsavedViewObj -> {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// refresh the grid\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t\tif (this.getDataProvider() instanceof ListDataProvider) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tVaadinListDataProviders.collectionBackedOf(_grid)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t .refreshItem(savedViewObj);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// setup up/down buttons\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t_setUpDownButtonsStatusForSelectedItem();\t// maybe there existed a selected item... now there exists more than a single item and buttons need to be updated\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t\t\t_grid.getDataProvider()\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t\t\t\t .refreshAll();\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t \t\t \t});\r\n\t\t\t\t\t\t\t\t });\r\n\t\treturn (W)_detailEditForm;\r\n\t}", "title": "" }, { "docid": "7e8862c1f830e110a686ec671e5476c8", "score": "0.57924783", "text": "protected abstract void editDataAction();", "title": "" }, { "docid": "45b74069b942ec1c053ba7b3bfba73f2", "score": "0.57623905", "text": "@SuppressWarnings(\"unchecked\")\r\n\tprivate void editAction(){\r\n\t\tescribirFormEdicion( (T) ((BeanModel)(this.grid.getSelectionModel().getSelectedItem())).getBean());\r\n\t\ttabPanel.setSelection(editarTab);\r\n\t\teditarTab.enable();\r\n\t}", "title": "" }, { "docid": "fb51e5f7c68becc063e1bd6939657a54", "score": "0.57584536", "text": "@Override\r\n\tpublic boolean edit(Object obj, String id) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "ad6f9ade1820d29074128a173a17bb26", "score": "0.57482", "text": "public String edit() \n {\n try\n {\n userController.edit(user);\n }\n catch(Exception e)\n {\n System.out.println(e.getMessage());\n }\n \n this.user = null;\n this.filteredUsers = userController.findShopUserEntities(); \n return \"manclients\";\n }", "title": "" }, { "docid": "93f56ab8ce6256ea944d554b1c97a172", "score": "0.5746465", "text": "public String edit()\r\n\t{\r\n\t\tHttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\r\n\t\testabelecimento = estabelecimentoDAO.listEstabelecimentoById(Long.parseLong(request.getParameter(\"id\")));\r\n\t\treturn SUCCESS;\r\n\t}", "title": "" }, { "docid": "8b0186bc1836a3aaeab31e57bdc2561a", "score": "0.5735234", "text": "private void requestEditOperation(HttpServletRequest req, HttpServletResponse resp, String id, String nickname) throws ServletException, IOException {\n Long idNumber;\n try {\n idNumber = Long.parseLong(id);\n } catch (NumberFormatException e) {\n sendToErrorPage(req, resp, \"You provided a invalid blog entry number format: \" + id);\n return;\n }\n BlogUser user = DAOProvider.getDAO().getBlogUserByNick(nickname);\n boolean contains = false;\n\n BlogEntry entry = null;\n\n for (BlogEntry entry2 : user.getEntries()) {\n if (entry2.getId().equals(idNumber)) {\n contains = true;\n entry = entry2;\n break;\n }\n }\n\n if (!contains) {\n sendToErrorPage(req, resp, \"The user \" + nickname + \" has no entries with id number: \" + idNumber);\n return;\n }\n\n req.setAttribute(\"title\", entry.getTitle());\n req.setAttribute(\"text\", entry.getText());\n req.setAttribute(\"idNumber\", idNumber);\n\n req.getRequestDispatcher(\"/WEB-INF/pages/BlogEntry.jsp\").forward(req, resp);\n }", "title": "" }, { "docid": "33dceded79427e1211cd443e1e49c48d", "score": "0.57198524", "text": "@Override\n public void preShow(Long id, Model model) {\n \n }", "title": "" }, { "docid": "e54129453cc4d9915dd8263fb42d713b", "score": "0.5716959", "text": "@GetMapping(\"/edit-question\")\n public String showEditQuestionPage(@RequestParam(name=\"id\", required = true) int id, Model model) {\n Question questionOfDiscussion = questionService.getById(id);\n\n model.addAttribute(\"question\", questionOfDiscussion);\n\n //for showing the name in the navbar only\n model.addAttribute(\"logged_in_user\", getCurrentlyLoggedInUser());\n\n return \"edit-question\";\n }", "title": "" }, { "docid": "bdea98003cc80f4bb0e1478218732a9f", "score": "0.5711941", "text": "private void actionOpen(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n String username = request.getParameter(\"username\");\n String postidStr = request.getParameter(\"postid\");\n //make sure request has required parameters\n if(username == null || postidStr == null){\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\n response.getWriter().println(\"<!DOCTYPE html><html><body><p>\");\n response.getWriter().println(response.getStatus());\n response.getWriter().println(\" (Bad Request): Missing username or postid!!</p></body></html>\");\n // return;\n }\n else{\n int postid = stringToint(postidStr);\n if(postid == -1){\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\n response.getWriter().println(\"<!DOCTYPE html><html><body><p>\");\n response.getWriter().println(response.getStatus());\n response.getWriter().println(\" (Bad Request): Postid is not valid. It must be an integer</p></body></html>\");\n }\n else{\n //optional title body parameters\n String title = request.getParameter(\"title\");\n String body = request.getParameter(\"body\");\n\n boolean bodyAndTitlePassed;\n if(body == null || title == null)\n bodyAndTitlePassed = false;\n else\n bodyAndTitlePassed = true;\n\n if(postid <= 0){\n if(bodyAndTitlePassed){\n //use the passed parameter values as the initial title and body values\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n //return with status code 200\n response.setStatus(HttpServletResponse.SC_OK);\n }\n else{//otherwise, set missing title and/or body to empty string and return with status code 200 (OK)\n request.setAttribute(\"title\", \"\");\n request.setAttribute(\"body\", \"\");\n response.setStatus(HttpServletResponse.SC_OK);\n }\n //return the \"edit page\" for the post with the given postid by the user\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else{//postid > 0\n if(bodyAndTitlePassed){//click close window when using preview page\n //use the passed parameter values as the initial title and body values\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n //return with status code 200\n response.setStatus(HttpServletResponse.SC_OK);\n //return the \"edit page\" for the post with the given postid by the user\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else{\n AccessDB mydb = new AccessDB();\n boolean nameAndIDExist = mydb.checkExistence(username, postid);\n if(nameAndIDExist){//if (username, postid) row exists in the database, retrieve the title and body from the database and return with status code 200(OK)\n Record myRecord = mydb.fetchTitleAndBody(username, postid);\n request.setAttribute(\"title\", myRecord.title);\n request.setAttribute(\"body\", myRecord.body);\n response.setStatus(HttpServletResponse.SC_OK);\n //return the \"edit page\" for the post with the given postid by the user\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else{ //otherwise, return with status code 404 (Not found) //SC_NOT_FOUND\n response.setStatus(HttpServletResponse.SC_NOT_FOUND);\n response.getWriter().println(\"<!DOCTYPE html><html><body><p>\");\n response.getWriter().println(response.getStatus() + \" (Not found): Cannot find the post with id \" + postid + \" for user \" + username);\n response.getWriter().println(\"</p></body></html>\");\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "3a6ac374220b663c95f820353e7ac8b8", "score": "0.5697887", "text": "@GetMapping(\"/edit/{id}\")\r\n\tpublic String showEdit(\r\n\t\t\t@PageableDefault(page=0, size=5) Pageable pageable,\r\n\t\t\t@PathVariable Integer id,\r\n\t\t\tModel model) \r\n\t{\r\n\t\ttry {\r\n\t\t\tlog.info(\"Entered into showEdit(id) method and About to call getOneOrderMethod(id) service method\");\r\n\t\t\tOptional<OrderMethod> opt = service.getOneOrderMethod(id);\r\n\t\t\tif(opt.isPresent()) {\r\n\t\t\t\tlog.debug(\"Data fetched and about to show in ui using Model memory\");\r\n\t\t\t\tmodel.addAttribute(\"orderMethod\", opt.get());\r\n\t\t\t\treturn \"OrderMethodEdit\";\r\n\t\t\t}\r\n\t\t\tString message = \"Order Method Not Existed!\";\r\n\t\t\tlog.warn(message);\r\n\t\t\tmodel.addAttribute(\"errorMessag\"\r\n\t\t\t\t\t+ \"e\", message);\r\n\t\t\t\r\n\t\t\tmodel.addAttribute(\"page\", service.getAllOrderMethod(pageable));\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(\"Exception : \"+e);\r\n\t\t\te.printStackTrace();\t\t\r\n\t\t}\r\n\t\tlog.info(\"About to show OrderMethodData page\");\r\n\t\treturn \"OrderMethodData\";\r\n\t}", "title": "" }, { "docid": "5204558c47c9886e040e3c21cd27e341", "score": "0.5692364", "text": "public void loadEdit() {\n\t\tif (Films.filmlist.isEmpty()) {\n\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\t\t\t\"Please add a film or load previous films, Use the Add or View All Tabs\", \"Add a film to use this\",\n\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\n\t\t} else {\n\t\t\t// set up the combo box with film names to edit\n\t\t\tsetUpComboBox(comboBoxEdit, panelEdit);\n\t\t\t// load buttons for edit screen\n\t\t\tbuttonEdit();\n\t\t\t//clear textboxes\n\t\t\tclearTextBoxesLoad();\n\t\t\t// move highlight panel\n\t\t\tpanel_highlight.setBounds(0, 463, 10, 66);\n\t\t\t// set highlight panel to the top\n\t\t\teditPanelToTop();\n\t\t}\n\t}", "title": "" }, { "docid": "abdaa3c5b2ed163252a01aaf59ae327a", "score": "0.56886894", "text": "public void editDetailsOfPerson() {\n\n fileController.editMain();\n }", "title": "" }, { "docid": "550066bac6fb333f9b0364586eb50342", "score": "0.56797606", "text": "protected void doEdit() {\n this.pageStatus = ZcSettingConstants.PAGE_STATUS_EDIT;\r\n updateFieldEditorsEditable();\r\n setButtonStatus();\r\n\r\n }", "title": "" }, { "docid": "0a8d7e0a44025f2d146d4b2830cc0832", "score": "0.56732416", "text": "private void showUpdateForm(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows SQLException, ServletException, IOException {\n\t\t\n\t\tSystem.out.print(\"CONSOLE -- ENTROU NA SERVLET TRANSFER: showUpdateForm \\n \");\n\t\t\n\t\tint transferCode = Integer.parseInt(request.getParameter(\"id\"));\n\t\t\n\t\tTransferModel existingTransfer = TransferDataAccessObject.readOne(transferCode);\n\t\t\n\t\tRequestDispatcher dispatcher = request.getRequestDispatcher(\"/WEB-INF/javaServerPages/transfer-update.jsp\");\n\t\trequest.setAttribute(\"myTransfer\", existingTransfer);\n\t\tdispatcher.forward(request, response);\n\n\t}", "title": "" }, { "docid": "6efb80cdbbecc71c6e22a39b5e76692e", "score": "0.56361365", "text": "public void requestEditStdInfo() {\n\t\tStudentB student = new StudentB();\n\t\tstudent = view.getStdSelected();\n\n\t\tStudentInfoViewB stdView = new StudentInfoViewB(student , view);\n\t//\tStudentInfoController stdController = new StudentInfoController(stdView , student);\n\t//\tstdView.createController();\n\t}", "title": "" }, { "docid": "e1532cc0e3e4a746accb70b0b6ed8184", "score": "0.5623053", "text": "public void editItemDetil(){\n\t\tview.showWindowForm();\n\t\t//2. INIT LISTENER\n\t\tview.getItemDetilView().getBtnAddAndSave().addClickListener(this);\n\t\tview.getItemDetilView().getBtnClose().addClickListener(this);\n\t\t//3. INIT STATE FORM\n\t\tview.getItemDetilModel().setOperationStatus(EnumOperationStatus.EDITING.getStrCode());\n\t\t//4. INIT VALUE::ITEM DETIL\n\t\tview.getItemDetilModel().setItemHeader(model.getItemHeader());\n\t\tview.getItemDetilModel().setItemDetil(model.getItemDetil());\n\t\t\n\t\tview.getItemDetilPresenter().editItemdetil();\t\n\t\tview.getItemDetilView().focustIdOrDesc();\n\t\t\n\t}", "title": "" }, { "docid": "60bc7c38545b4bb0a23347a3ad6330e5", "score": "0.56184244", "text": "private void showForm(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tInteger id = Integer.parseInt(request.getParameter(\"id\"));\n\t\tVoto vot = new Voto();\n\t\tvot.setId(id);\n\t\tVoto votaux = votaDAO.find(vot.getId());\n\t\trequest.getSession().setAttribute(\"voto\", votaux);\n\t\trequest.getRequestDispatcher(\"Voto.jsp\").forward(request, response);\n\t}", "title": "" }, { "docid": "4e65d281fcfc54a4e8caa44ccd99b06c", "score": "0.56156784", "text": "private void showNewForm(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "title": "" }, { "docid": "80b9f4474c532b61b188e3ff43f31721", "score": "0.5614128", "text": "public void pageValidate(PageEvent event) {\n\t\tsuper.pageValidate(event); \n\t\t// Now make sure that we have an Object to edit\n\t\tif (getEditedObject() == null) {\n\t\t\tIPage loginPage = getRequestCycle().getPage(getLoginPageName());\n\t\t\tthrow new PageRedirectException(loginPage);\n\t\t}\n\t}", "title": "" }, { "docid": "c42b7a2beda347fb90f8a03d0acccfae", "score": "0.5583467", "text": "@Override\r\n\tpublic boolean edit(ResourceDetails vo) throws Exception {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "517cc36a5e1f14e757ca910a3cc491c7", "score": "0.557861", "text": "public void editProfile(){\n\t}", "title": "" }, { "docid": "af2e85a3cdb47b0c6642d6ca23b3869f", "score": "0.55682147", "text": "private void editNoteBook(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException {\n\t\tint id = Integer.parseInt(request.getParameter(\"itemId\"));\n\t\tNoteBook noteBook = commonDao.getNoteBook(id);\n\t\trequest.setAttribute(\"noteBook\", noteBook);\n\t\tshowParticularNotebook(request, response);\n\t}", "title": "" }, { "docid": "03c8245015f7813635f5232e9a4ef516", "score": "0.5560177", "text": "@RequestMapping(value=\"/bpm/table/showFieldEdit\", method = RequestMethod.GET)\n public ModelAndView showFieldEdit(@RequestParam(\"tableId\") String tableId, ModelMap model, @RequestParam(\"enableRelationTab\") String enableRelationTab,@RequestParam(\"moduleId\") String moduleId,@RequestParam(\"isEdit\") String isEdit) throws BpmException{\n try{\n MetaTable metaTableObj = tableService.getTableDetails(tableId);\n List<MetaTable> tableList = tableService.getNonRelationTables(tableId);\n model.addAttribute(\"tableList\", tableList);\n model.addAttribute(\"metaTable\", metaTableObj);\n model.addAttribute(\"moduleId\", moduleId);\n model.addAttribute(\"isEdit\", isEdit);\n model.addAttribute(\"moduleName\", moduleService.getModule(moduleId).getName());\n model.addAttribute(\"enableRelationTab\", enableRelationTab);\n model.addAttribute(\"isFieldEdit\", true);\n model.addAttribute(\"isTableRelation\", \"false\");\n }catch(Exception e){\n log.error(\"Error while getting table by id \"+e);\n }\n return new ModelAndView(\"/table/createTable\", model);\n }", "title": "" }, { "docid": "04c0f4a9e523b4aa081df1089c581da2", "score": "0.5547528", "text": "public static String edit(HttpServletRequest request, HttpServletResponse response, jjDatabaseWeb db, boolean isPost) throws Exception {\r\n try {\r\n String id = jjTools.getParameter(request, _id);\r\n System.out.println(\"id=\" + id);\r\n String script = \"\";\r\n String hasAccess = Access_User.getAccessDialog(request, db, rul_edt);\r\n if (!hasAccess.equals(\"\")) {\r\n Server.outPrinter(request, response, hasAccess);\r\n return \"\";\r\n\r\n }\r\n Map<String, Object> map = new HashMap<>();\r\n map.put(_filesExecutor, jjTools.getParameter(request, _filesExecutor));\r\n map.put(_filesTracker, jjTools.getParameter(request, _filesTracker));\r\n map.put(_descriptionExecutor, jjTools.getParameter(request, _descriptionExecutor));\r\n map.put(_descriptionTracker, jjTools.getParameter(request, _descriptionTracker));\r\n map.put(_status, jjTools.getParameter(request, _status));\r\n\r\n if (!db.update(tableName, map, _id + \"=\" + id)) {\r\n String errorMessage = \"عملیات ویرایش به درستی صورت نگرفت.\";\r\n if (jjTools.isLangEn(request)) {\r\n errorMessage = \"Edit Fail;\";\r\n }\r\n Server.outPrinter(request, response, Js.modal(errorMessage, \"پیام سامانه\"));\r\n return \"\";\r\n } else {\r\n// if (result.isEmpty()) {\r\n script += \"hmisApproved.m_refresh();\";\r\n script += \"hmisApproved.m_select(\" + id + \");\";\r\n script += Js.modal(\"تغییرات انجام شد\", \"پیام سامانه\");\r\n// }\r\n }\r\n Server.outPrinter(request, response, script);\r\n return \"\";\r\n } catch (Exception ex) {\r\n Server.outPrinter(request, response, Server.ErrorHandler(ex));\r\n return \"\";\r\n }\r\n }", "title": "" }, { "docid": "805b1fbc86a0097be8ba4a5ac02c2e55", "score": "0.55457634", "text": "private void editAction() {\n if(newKeyField.getText().trim().isEmpty() && newBpKeyField.getText().trim().isEmpty()) {\n\n bikeManagement.editBike(numberField.getText().trim(), null, checkInfo());\n\n } else if(tireDField.getText().trim().isEmpty() && frameHField.getText().trim().isEmpty() &&\n manufacturerField.getText().trim().isEmpty() && colorField.getText().trim().isEmpty()) {\n\n bikeManagement.editBike(numberField.getText().trim(), new BikeKey(newKeyField.getText().trim(), newBpKeyField.getText().trim()), null);\n\n } else {\n bikeManagement.editBike(numberField.getText().trim(), new BikeKey(newKeyField.getText().trim(), newBpKeyField.getText().trim()), checkInfo());\n }\n\n eventBus.post(new ConfirmEditEvent());\n }", "title": "" }, { "docid": "ba32cb1afbb1ed28f0e466d71f940211", "score": "0.5537103", "text": "public String editar() {\n //logger.setLevel(Level.ALL);\n logger.entering(this.getClass().getName(), \"editar\");\n httpServletRequest.getSession().setAttribute(\"nueF\", this.nue);\n httpServletRequest1.getSession().setAttribute(\"cuentaUsuario\", this.usuarioSis);\n logger.exiting(this.getClass().getName(), \"editar\", \"editarPeritoET\");\n return \"editarPeritoET.xhtml?faces-redirect=true\";\n }", "title": "" }, { "docid": "3d95d6899f543bfe4e70447b1e340d63", "score": "0.5532507", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, true, currentUser, 2);\r\n }", "title": "" }, { "docid": "3d95d6899f543bfe4e70447b1e340d63", "score": "0.5532507", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, true, currentUser, 2);\r\n }", "title": "" }, { "docid": "45cd76d6273440af2530ef3710a45c73", "score": "0.5531587", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, true, currentUser, 1);\r\n }", "title": "" }, { "docid": "a173d51c41528049fb14a5af08a0b846", "score": "0.55305344", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 2);\r\n }", "title": "" }, { "docid": "fcd5c464e7f1612287c95bd03e2fc04a", "score": "0.5520716", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "cb359749b6dde3988261fd5d09272b32", "score": "0.5510102", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 2);\r\n }", "title": "" }, { "docid": "cb359749b6dde3988261fd5d09272b32", "score": "0.5510102", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 2);\r\n }", "title": "" }, { "docid": "0336f9d76b122e067fed215dec5b20d5", "score": "0.5502187", "text": "public String editar( Entity entity ) {\r\n \tthis.entity = entity;\r\n \treturn \"create.seam?faces-redirect=true\";\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "833499863b71a3dec71b7f9d172dbec5", "score": "0.5498488", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 1);\r\n }", "title": "" }, { "docid": "084365c223ef188ef5b3fa3dd49d4b9f", "score": "0.5495976", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 3);\r\n }", "title": "" }, { "docid": "084365c223ef188ef5b3fa3dd49d4b9f", "score": "0.5495976", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 3);\r\n }", "title": "" }, { "docid": "8d516bfa9be27eba552844543a311865", "score": "0.548026", "text": "private void viewUserEdit() {\r\n Intent intent = new Intent(this, UserPageEdit.class);\r\n intent.putExtra(\"userID\", userID);\r\n startActivity(intent);\r\n }", "title": "" }, { "docid": "f4cd64d5944ec23358a0b83d2ea476bc", "score": "0.5478139", "text": "public void edit() {\r\n\t\t// Call view() to find, display, & return the customer to edit\r\n\t\tCustomer tempCustomer = view();\r\n\t\t// If the customer != null, i.e. it was found then...\r\n\t\tif (tempCustomer != null) {\r\n\t\t\t// get it's index\r\n\t\t\tint index = customers.indexOf(tempCustomer);\r\n\t\t\t// read in a new customer and...\r\n\t\t\ttempCustomer.read();\r\n\r\n\t\t\t// reset the object in customers\r\n\t\t\tcustomers.set(index, tempCustomer);\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3dee367ab334aec6a01fb8a29355ab72", "score": "0.54752237", "text": "public void requestEditCourseInfo() {\n\t\tCourseB course = new CourseB();\n\t\tcourse = view.getCourseSelected();\n\t\t\n\t\tCourseInfoViewB courseView = new CourseInfoViewB(course , view);\n//\t\tCourseInfoController courseController = new CourseInfoController(courseView , course);\n\t}", "title": "" }, { "docid": "56b6f7a83243f1ae3836e173c99b8492", "score": "0.54740244", "text": "public void onClick(ClickEvent event) {\n EditWindow.show(record, false, currentUser, 3);\r\n }", "title": "" }, { "docid": "a4696587492ea126dc8f7aed97182e1f", "score": "0.5473454", "text": "@Override\r\n public Navigation run() throws Exception {\r\n // edit\r\n Job job = jobService.get(asKey(\"jobKey\"));\r\n BeanUtil.copy(job, request);\r\n\r\n requestScope(\"jobStatus\", jobStatus);\r\n return forward(\"manager-job-edit.jsp\");\r\n }", "title": "" }, { "docid": "c71a881d8dd70f67fbc420e1894099a5", "score": "0.54660165", "text": "public EditLocationPage(){\n\t\tPageFactory.initElements(driver, this);\n\t\teditLocationString = prop.getProperty(\"editLocation\");\n\t\tnewEditLocationString = prop.getProperty(\"newEditLocation\");\n\t}", "title": "" }, { "docid": "43453e983a9e8fdd3894bb6deabda0c7", "score": "0.5456999", "text": "@Test\n public void testEdit() {\n \n Mockito.doNothing().when(mokTelefonoRest).edit(Integer.SIZE, mokTelefono);\n mokTelefonoRest.edit(Integer.SIZE, mokTelefono);\n Mockito.verify(mokTelefonoRest, times(1)).edit(Integer.SIZE, mokTelefono);\n Mockito.doThrow(Exception.class).when(mokTelefonoRest).edit(Integer.SIZE, mokTelefono);\n }", "title": "" }, { "docid": "7cb30f46434603edfcadbf809c23c054", "score": "0.54532826", "text": "@RenderMapping(params = \"action=edit\")\n\tpublic String edit(RenderRequest renderRequest, RenderResponse renderResponse, Model model) throws PortalException, SystemException {\n\t\t_log.debug(\"### ViewDesignerController edit ::: \");\n\n\t\ttry {\n\t\t\tServiceContext serviceContext = ServiceContextFactory.getInstance(DataView.class.getName(), renderRequest);\n\n\t\t\tString type = ParamUtil.getString(renderRequest, \"type\");\n\t\t\tlong dataViewId = ParamUtil.getLong(renderRequest, \"dataViewId\");\n\t\t\tlong dataTypeId = ParamUtil.getLong(renderRequest, \"dataTypeId\");\n\n\t\t\t//_log.debug(\"### type ::: \" +type + \" dataViewId:\"+dataViewId+ \" dataTypeId:\"+dataTypeId);\n\t\t\tif(dataViewId>0){\n\t\t\t\tDataView dataView = DataViewServiceUtil.getDataView(dataViewId, serviceContext);\n\t\t\t\tmodel.addAttribute(\"dataView\", dataView);\n\t\t\t\t\n\t\t\t\tif(\"edit\".equals(type) || \"load\".equals(type)){\n\t\t\t\t\tString html = URLEncoder.encode(dataView.getHtml(),\"utf-8\");\n\t\t\t\t\tmodel.addAttribute(\"html\", html);\n\t\t\t\t}\n\t\t\t}\n\t\t\tmodel.addAttribute(\"type\", type);\n\n\t\t} catch (PrincipalException e) {\n\t\t\tErrorHandler.error(renderRequest, e);\n\n\t\t} catch (SystemException | PortalException e) {\n\t\t\tSessionErrors.add(renderRequest, e.getClass(), e.getMessage());\n\t\t\tSessionMessages.add(renderRequest, PortalUtil.getPortletId(renderRequest) + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE);\n\t\t\t\n\t\t} finally {\n\t\t\treturn \"designer/edit\";\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "a80d900854f35949df8745c39a7fa0f7", "score": "0.54517853", "text": "public String editar() {\n\t\tInteger id = Integer.parseInt(\n\t\t\t\t(String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"id\"));\n\t\tpessoa = pessoaDao.selecionarPorId(id);\n\t\treturn \"sucesso\";\n\t}", "title": "" }, { "docid": "2d764f06a7d801d61ac11af52642d558", "score": "0.54507947", "text": "private void showObjectDetails() {\n\t\tif ((currentSelection.size() != 1)\n\t\t\t\t|| !(currentSelection.getFirstElement() instanceof AbstractObject))\n\t\t\treturn;\n\n\t\tAbstractObject object = (AbstractObject) currentSelection\n\t\t\t\t.getFirstElement();\n\t\ttry {\n\t\t\tPlatformUI\n\t\t\t\t\t.getWorkbench()\n\t\t\t\t\t.getActiveWorkbenchWindow()\n\t\t\t\t\t.getActivePage()\n\t\t\t\t\t.showView(\n\t\t\t\t\t\t\t\"org.netxms.ui.eclipse.objectview.view.tabbed_object_view\"); //$NON-NLS-1$\n\t\t\tCommandBridge.getInstance().execute(\n\t\t\t\t\t\"TabbedObjectView/changeObject\", object.getObjectId());\n\t\t} catch (PartInitException e) {\n\t\t\tMessageDialogHelper\n\t\t\t\t\t.openError(\n\t\t\t\t\t\t\tgetSite().getShell(),\n\t\t\t\t\t\t\tMessages.get().AbstractNetworkMapView_Error,\n\t\t\t\t\t\t\tString.format(\n\t\t\t\t\t\t\t\t\tMessages.get().AbstractNetworkMapView_OpenObjDetailsError,\n\t\t\t\t\t\t\t\t\te.getLocalizedMessage()));\n\t\t}\n\t}", "title": "" }, { "docid": "1d8915cd4cca6cc9e00f6f0352d921c2", "score": "0.5447488", "text": "@Override\n\tpublic boolean edit(T entity) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b1e211ab356acf00847e8900ffaed559", "score": "0.54445916", "text": "public void editStep(){\n\t\tif(!hasIdt()) setIdc(null);\n\t}", "title": "" }, { "docid": "d0943086196beaa225ada114f9323ce0", "score": "0.54409766", "text": "public interface EditView<ENTITY> extends View {\n\n void setSaveHandler (final SaveHandler entitySaveHandler);\n void setLoadHandler (final LoadHandler entityLoadHandler);\n void setCreateHandler (final CreateHandler entityCreateHandler);\n void setValueChangedHandler (final ValueChangedHandler valueChangedHandler);\n\n SaveHandler getSaveHandler ();\n LoadHandler getLoadHandler ();\n CreateHandler getCreateHandler ();\n ValueChangedHandler getValueChangedHandler();\n\n void load(ENTITY entity);\n\n}", "title": "" }, { "docid": "cd1f8b59a140b5aba77be22b4f32affb", "score": "0.54395896", "text": "public EditEntryHandler() {\n\t\tsuper.edit = true;\n\t}", "title": "" }, { "docid": "128e9a0411c5c8db690bc4f37309d76c", "score": "0.5438532", "text": "@GetMapping(\"/edit-answer\")\n public String showEditAnswerPage(@RequestParam(name=\"id\", required = true) int id, Model model) {\n Answer answerOfDiscussion = answerService.getById(id);\n\n //get the question of the discussion\n Discussion discussionWithTheAnswer = answerOfDiscussion.getPosted_in_discussion();\n Question questionOfDiscussion = getQuestionOfDiscussion(discussionWithTheAnswer);\n\n model.addAttribute(\"answer\", answerOfDiscussion);\n model.addAttribute(\"questionOfDiscussion\", questionOfDiscussion);\n\n //for showing the name in the navbar only\n model.addAttribute(\"logged_in_user\", getCurrentlyLoggedInUser());\n\n return \"edit-answer\";\n }", "title": "" }, { "docid": "a84937162a6067816b26f1edee7d6ec9", "score": "0.5418594", "text": "@RequestMapping(value = \"/edit\", method = RequestMethod.GET)\n\tpublic String editUpdate (@RequestParam(value=\"id\", required=true) Integer id, Model model) {\n\t\tlogger.debug(\"Received request to show update edit page\");\n\t \n\t UpdateDao ud = this.getUpdateDao();\n\t Update up = ud.findById(id);\n\t \n\t\tmodel.addAttribute(\"update\", up); \n\t \n\t\treturn \"updateEditPage\";\n\t}", "title": "" }, { "docid": "5481a0fdb2fc9571813d33a9181cb7f8", "score": "0.5418337", "text": "private void editItem(){\n if (currentSelected == null)\n return;\n addeditPanel(\"Edit\");\n nameField.setText(currentSelected.getName());\n addressField.setText(currentSelected.getAddress());\n numberField.setText(currentSelected.getPhoneNumber() + \"\");\n }", "title": "" }, { "docid": "af112402cf90d5c1f9d59835c378aa9f", "score": "0.5417562", "text": "@Override\r\n protected void onInitPage()\r\n {\n if (record.isValid()==false)\r\n reloadRecord();\r\n }", "title": "" }, { "docid": "659fed08cf5c917d11450df1a088c559", "score": "0.54138094", "text": "public String edit()\n {\n HttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\n province = provinceDAO.listProvinceById(Long.parseLong(request.getParameter(\"id\")));\n return SUCCESS;\n }", "title": "" }, { "docid": "2a66b6fca94d3d8c2a2ea803bb551a9b", "score": "0.5407735", "text": "private void handleOpen(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException \n {\n if (request.getParameterMap().containsKey(\"username\") != false && request.getParameterMap().containsKey(\"postid\") != false)\n {\n int postid;\n try{\n postid = Integer.parseInt(request.getParameter(\"postid\").toString());\n }\n catch (NumberFormatException ex){\n response.setStatus(400);\n return;\n }\n String username = request.getParameter(\"username\").toString();\n request.setAttribute(\"username\", username);\n request.setAttribute(\"postid\", postid);\n\n String title = \"\";\n String body = \"\";\n\n if (postid == 0){\n if (request.getParameterMap().containsKey(\"title\") != false){\n title = request.getParameter(\"title\").toString();\n }\n if (request.getParameterMap().containsKey(\"body\") != false){\n body = request.getParameter(\"body\").toString();\n }\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n response.setStatus(200);\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n else if (postid > 0) {\n if (request.getParameterMap().containsKey(\"title\") != false && request.getParameterMap().containsKey(\"body\") != false){\n title = request.getParameter(\"title\").toString();\n body = request.getParameter(\"body\").toString();\n\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n\n response.setStatus(200);\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n } \n else{\n Connection conn = null;\n PreparedStatement open_stmt = null;\n ResultSet rs = null;\n try{\n conn = DriverManager.getConnection(\"jdbc:mariadb://localhost:3306/CS144\", \"cs144\", \"\");\n open_stmt = conn.prepareStatement(\"SELECT title, body FROM Posts WHERE username = ? AND postid = ?\");\n open_stmt.setString(1, username);\n open_stmt.setInt(2, postid);\n rs = open_stmt.executeQuery();\n if (!rs.next())\n {\n response.setStatus(404);\n }\n else\n {\n rs.beforeFirst();\n while(rs.next()){\n title = rs.getString(\"title\");\n body = rs.getString(\"body\");\n }\n\n request.setAttribute(\"title\", title);\n request.setAttribute(\"body\", body);\n\n response.setStatus(200);\n request.getRequestDispatcher(\"/edit.jsp\").forward(request, response);\n }\n }\n catch (SQLException ex){/* ignored */} \n finally{\n try{ open_stmt.close(); } catch (SQLException ex){/* ignored */}\n try{ conn.close(); } catch (SQLException ex){/* ignored */}\n try{ rs.close(); } catch (SQLException ex){/* ignored */}\n }\n }\n }\n else{\n // ERROR: postid is negative\n response.setStatus(400);\n } \n }\n else{\n // ERROR: required parameters not included\n response.setStatus(400);\n }\n }", "title": "" }, { "docid": "eac1af3c7f333fec1467a2e0c7c9524d", "score": "0.5405226", "text": "@SkipValidation\r\n\tpublic String edit()\r\n\t{\r\n\t\tlog.debug(\"edit action\");\r\n\t\ttry{\r\n\t\t\tHttpServletRequest request = (HttpServletRequest) ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);\r\n\t\t\tattrb = attrbManager.findAttribute(Integer.parseInt(request.getParameter(\"attrbid\")));\r\n\t\t\tlistPhysicalType();\r\n\t\t\treturn \"success\";\r\n\t\t}catch(RuntimeException re) {\r\n\t\t\tlog.error(\"edit action failed\", re);\r\n\t\t\treturn \"fail\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "69b530a5fabe52178da13eb2377d1cf2", "score": "0.54021496", "text": "public void showEdit(String vdocno, String vdocdate, String vtrtype) throws Throwable {\n\t\ttrdate.setText(vdocdate);\r\n\t\tseqno.setText(vdocno);\r\n\t\tseqno.setBackground(Color.black);\r\n\t\tseqno.setForeground(Color.white);\r\n\t\tMSG.setText(\" EDIT \");\r\n\t\tEditMode = \"Y\";\r\n\t\tnew gnStyleButton().getStyleButton(btnEdit, Color.gray, Color.WHITE);\r\n\t\tEditData(vdocno, vdocdate, vtrtype);\r\n\t}", "title": "" }, { "docid": "bfa9bd1837fc2f036eaf5c9900150742", "score": "0.5399993", "text": "@PostMapping(\"/edit\")\n public ItemResponse editItem(@RequestBody ItemRequest request) {\n Item item = this.itemService.editItem(request);\n if(item.getType()==Type.QUESTION) {\n return ItemResponse.of(null,null,Type.QUESTION, ZonedDateTime.now(),item.getQuestion().getDescription(), item.getId(), item.getQuestion().getId());\n }\n else {\n String url = ServletUriComponentsBuilder\n .fromCurrentContextPath()\n .path(\"/api/files/getFile/\")\n .path(item.getSmxFile().getId().toString())\n .toUriString();\n return ItemResponse.of(item.getSmxFile().getFileName(),url,item.getType(),ZonedDateTime.now(),null, item.getId(), null);\n }\n }", "title": "" }, { "docid": "03d7a0d2313b37b63f215a1d8528ff34", "score": "0.53957367", "text": "private Entry getEntry () {\n return edit_entry;\n }", "title": "" }, { "docid": "96df3743dfaac0fefe79c60aa5db7cff", "score": "0.53918374", "text": "private void doEdit(Long id, boolean add) {\n\t\tif(!add && id>0) {\n\t\t\tMNMain.services().getMapViewService().get(id, new MNAsyncCallback<MapView>(\"get mapview\") {\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onSuccess(MapView m) {\n\t\t\t\t\tdoEdit2(m); \n\t\t\t\t}\t\t\t\t\n//\t\t\t\t@Override\n//\t\t\t\tpublic void onFailure(Throwable caught) {\t\n//\t\t\t\t\tMNMain.layout().setStatusError(text)\n//\t\t\t\t}\n\t\t\t}); \n\t\t}\n\t}", "title": "" }, { "docid": "0d77ec3f95d12c668f2da755f067d62d", "score": "0.538943", "text": "private void actionPreview(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n String username = request.getParameter(\"username\");\n String postid = request.getParameter(\"postid\");\n //make sure request has required parameters\n if(username == null || postid == null){\n response.setStatus(HttpServletResponse.SC_BAD_REQUEST);\n response.getWriter().println(\"<!DOCTYPE html><html><body><p>\");\n response.getWriter().println(response.getStatus());\n response.getWriter().println(\" (Bad Request): Missing username or postid!!</p></body></html>\");\n }\n String title = request.getParameter(\"title\");\n String body = request.getParameter(\"body\");\n //goes to preview page with the html rendering of the given title and body\n request.getRequestDispatcher(\"/preview.jsp\").forward(request, response);\n }", "title": "" }, { "docid": "1a5651474a8546e97ac96ecfaa7637ef", "score": "0.53889334", "text": "private void editarCliente(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n // recuperar el id\n int id = Integer.parseInt(request.getParameter(\"id\"));\n Cliente cliente = new ClienteDAO().encontrar(new Cliente(id));\n System.out.println(\"cliente = \" + cliente);\n request.setAttribute(\"cliente\", cliente);\n String jspEditar = \"/WEB-INF/paginas/cliente/editarCliente.jsp\";\n request.getRequestDispatcher(jspEditar).forward(request, response);\n }", "title": "" }, { "docid": "33bca0dd46349df73961453cd9803d52", "score": "0.53853977", "text": "@RequestMapping(value=\"/edit_advisor\", method = RequestMethod.GET)\r\n public ModelAndView edit_advisor_get(\r\n HttpServletRequest request,\r\n HttpServletResponse response) throws Exception\r\n {\r\n if(!this.security_service.hasAccess(request, \"edit_advisor_get\")){\r\n return ErrorController.error403();\r\n }\r\n \r\n ModelAndView mv = new ModelAndView(\"advisor/administrator/form_advisor\");\r\n \r\n String advisor_id = request.getParameter(\"id\");\r\n if(null == advisor_id || advisor_id.equals(\"\")){\r\n mv.addObject(\"alert_msg\", \"Impossible de récupérer le conseiller demandé.\");\r\n return this.handleRequestInternal(request, response);\r\n }\r\n \r\n UserEntity advisor = this.user_service.find(advisor_id);\r\n if(null == advisor){\r\n mv.addObject(\"alert_msg\", \"Impossible de récupérer le conseiller demandé.\");\r\n return this.handleRequestInternal(request, response);\r\n }\r\n \r\n mv.addObject(\"advisor\", advisor);\r\n return mv;\r\n }", "title": "" }, { "docid": "54a0d0fd59d00f321274d87aba572abb", "score": "0.5375862", "text": "public interface IFormView extends IView {\r\n\r\n void delete(Collection<? extends IEntity> otObject);\r\n\r\n /**\r\n * Metodo que se usa para enviar a eliminar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire eliminar.\r\n */\r\n void delete(IEntity otObject);\r\n\r\n void delete(IEntity otObject, boolean confirm);\r\n\r\n void delete(List<? extends IEntity> otObject);\r\n\r\n void find(String namedQuery, Map<String, Object> parameters);\r\n\r\n void find(String namedQuery, Map<String, Object> parameters, IPersistenceListener listener);\r\n\r\n void findAll(Class<? extends IEntity> entityClazz);\r\n\r\n void findById(Class<? extends IEntity> entityClazz, Long id);\r\n\r\n void findById(Class<? extends IEntity> entityClazz, Long id, IPersistenceListener listener);\r\n\r\n void findByName(Class<? extends IEntity> entityClazz, String name);\r\n\r\n void findByName(Class<? extends IEntity> entityClazz, String name, IPersistenceListener listener);\r\n\r\n \r\n \r\n IEntity findSynchroById(Class<? extends IEntity> entityClazz, Long id);\r\n\r\n List<? extends IEntity> findSynchro(String namedQuery, Map<String, Object> parameters);\r\n /**\r\n * Metodo que se usa para enviar a grabar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire grabar.\r\n */\r\n @Override\r\n void onSelected(IEntity otObject);\r\n\r\n /**\r\n * Metodo que se usa para enviar a grabar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire grabar.\r\n */\r\n IEntity save(IEntity otObject);\r\n\r\n /**\r\n * Metodo que se usa para indicar la selección de una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire seleccionar.\r\n */\r\n void select(IEntity otObject);\r\n\r\n /**\r\n * Metodo que se usa para enviar a grabar una entidad.\r\n * \r\n * @param otObject\r\n * Objeto que se quire grabar.\r\n */\r\n boolean validate();\r\n}", "title": "" }, { "docid": "a4bd5abd42a34f0c0096c68b7bc489d7", "score": "0.5375854", "text": "@Override\n public void prepare() throws TdarActionException {\n RequestType type = RequestType.EDIT;\n\n if (getId() == null && (getCurrentUrl().contains(\"/add\") ||\n (TdarConfiguration.getInstance().isTest() && StringUtils.isBlank(getCurrentUrl())))) {\n getLogger().debug(\"setting persistable\");\n if (getPersistable() == null) {\n setPersistable(createPersistable());\n }\n type = RequestType.CREATE;\n }\n prepareAndLoad(this, type);\n if (PersistableUtils.isNotNullOrTransient(getId()) && getPersistable().getDateUpdated() != null) {\n setEpochTimeUpdated(getPersistable().getDateUpdated().getTime());\n }\n }", "title": "" }, { "docid": "0763b8f40893963ce555021bb9fc1585", "score": "0.5372319", "text": "private void showEditCustomersView() throws IOException {\n Stage stage=(Stage)cancelButton.getScene().getWindow();\n //load up Add Parts FXML Doc\n Parent root = FXMLLoader.load(getClass().getResource(\"/View_Controller/EditCustomers.fxml\"));\n // Call change scene helper\n ChangeSceneHelper.changeScene(stage, root);\n }", "title": "" }, { "docid": "ee415f8b947b0871400c69df72d7cd8a", "score": "0.5366014", "text": "public void openCardToEdit() {\n\t\tpages.unit1ProceedingPage.clickButtonEdit();\n\t}", "title": "" }, { "docid": "5991078af9b865a9ee925b5c6fec86d6", "score": "0.5365782", "text": "public void newAction() {\n\t\tPageParameters p= new PageParameters();\n\t\tp.add(\"new\", 1);\n\t\tsetResponsePage(this);\n\t\ttry\n\t\t{\n\t\t\tkstaff.remove(ro);\n\t\t\tnstaff.remove(ro);\n\t\t\tkalias.remove(ro);\n\t\t\taddress1.remove(ro);\n\t\t\ttgllahir.remove(ro);\n\t\t\ttglmasuk.remove(ro);\n\t\t\tcity.remove(ro);\n\t\t\tkjabatan.remove(ro);\n\t\t\tkcabang.remove(ro);\n\t\t\tkcompany.remove(ro);\n\t\t\tkhpp.remove(ro);\n\t\t\tkprint.remove(ro);\n\t\t\tkApprove.remove(ro);\n\t\t\tketerangan.remove(ro);\n\t\t\tdjabatan.remove(ro);\n\t\t\ttglkeluar.remove(ro);\n\t\t\tkotalahir.remove(ro);\n\t\t\taddress2.remove(ro);\n\t\t\taddress3.remove(ro);\n\t\t\tpostcode.remove(ro);\n\t\t\tphone.remove(ro);\n\t\t\tfax.remove(ro);\n\t\t}\n\t\tcatch(Exception ex){}\n\t}", "title": "" }, { "docid": "e85bf7c3fa9871e64fc6c2536f7e67ca", "score": "0.53616226", "text": "@Security.Authenticated(Secured.class)\n\tpublic static Result edit() {\n\t\t\n\t\treturn respondTo(new Responder() {\n\n\t\t\t@Override\n\t\t\tpublic Result json() {\n\t\t\t\treturn badRequest();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Result html() {\n\t\t\t\treturn ok(edit.render(Form.form(UserEditForm.class)));\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Result script() {\n\t\t\t\treturn badRequest();\n\t\t\t}\n\t\t});\n\t}", "title": "" } ]
59ebec554adcc5e7c13bcbdd9ae567fc
Shows the form to set up the meeting time and location.
[ { "docid": "0b6301ae1b64912d662c7a8a9b9231e0", "score": "0.52586514", "text": "public String setMeetingsPresenter(Model model, String tradeDuration, String tradeType, String borrowItemId) {\n model.addAttribute(\"borrowItemId\", borrowItemId);\n model.addAttribute(\"tradeDuration\", tradeDuration);\n model.addAttribute(\"tradeType\", tradeType);\n return \"meetings/meetingForm\";\n }", "title": "" } ]
[ { "docid": "2a6ebffe84e840708d1497577d324216", "score": "0.61038995", "text": "public MakeAppointmentPage() {\n initialize();\n }", "title": "" }, { "docid": "c1017152e7365ffd2ff0713828577c99", "score": "0.5942816", "text": "public start()\n {\n super(\"AppDiary\");\n title=new JTextField(\"Appointments Diary\",35);\n title.setEditable(false);\n title.setBackground(Color.gray);\n title.setForeground(Color.white);\n title.setHorizontalAlignment(JTextField.CENTER );\n title.setFont(new Font(\"Georgia\",Font.BOLD+Font.ITALIC,35));\n lb1=new Label(\" Welcome\");\n\n lb1.setFont(new Font(\"Georgia\",Font.ITALIC,20));\n\n newapp=new JButton(\">> CREATE AN APPOINTMENT <<\");\n newapp.setBackground(Color.green);\n \n cancel=new JButton(\">> CANCEL AN APPOINTMENT <<\");\n cancel.setBackground(Color.green);\n \n check=new JButton(\">> CHECK SCHEDULE <<\");\n check.setBackground(Color.green);\n \n view=new JButton(\">> VIEW ALL APPOINTMENTS <<\");\n view.setBackground(Color.green);\n d1=new JTextField(10);\n d1.setVisible(false);\n d2=new JTextField(10);\n d2.setVisible(false);\n d3=new JTextField(10);\n d3.setVisible(false);\n d4=new JTextField(10);\n d4.setVisible(false);\n d5=new JTextField(10);\n d5.setVisible(false);\n d6=new JTextField(10);\n d7=new JTextField(10);\n Date date = new Date(); \n String str=date.toString();\n lb2=new Label(str);\n lb2.setFont(new Font(\"Georgia\",Font.BOLD,15));\n lb2.setForeground(Color.blue);\n makeFrame();\n showFrame();\n \n }", "title": "" }, { "docid": "d47f350f0d971fe4431fd8066afb251c", "score": "0.59301007", "text": "void displayMeeting(boolean editable)\r\n {\r\n if( !_meetingList.isEmpty() )\r\n {\r\n int index = _meetingList.getSelectedIndex(); \r\n Vector meetings = _uiApp.getMeetings(); \r\n _uiApp.pushScreen( new MeetingScreen((Meeting)meetings.elementAt(index), index, editable) ); \r\n } \r\n }", "title": "" }, { "docid": "42b372bd2160e2c909b0c97e41b6c706", "score": "0.5915859", "text": "public StaffAccountOfficeManagerForm() {\n initComponents();\n StaffTable();\n showDate();\n showTime();\n }", "title": "" }, { "docid": "f603a7d33dbba7d908cfbbebc70f3510", "score": "0.5828757", "text": "public void showMySchedule() {\r\n\r\n\r\n //start with a clear map\r\n clearSchedules();\r\n\r\n activeDay = sharedPreferences.getString(\"dayOfWeek\", \"Error\");\r\n SchedulePlot mySchedulePlot = new SchedulePlot(me.getSchedule().getSections(activeDay), me.getFirstName(), \"#FF0000\", R.drawable.ic_action_place);\r\n\r\n new GetRoutingForSchedule().execute(mySchedulePlot);\r\n }", "title": "" }, { "docid": "bbaccfd26309e772243a3f25baaf2d30", "score": "0.5802494", "text": "private void showFormLocationList(){\n\t\tFragmentTransaction ft = getFragmentManager().beginTransaction();\n\t\tFragment prev = getFragmentManager().findFragmentByTag(LOCATIONLIST_TAG);\n\t\t\n\t\tif(prev != null){\n\t\t\tft.remove(prev);\n\t\t}\t\t\n\t\tft.addToBackStack(null);\n\t\t\n\t\tDialogFragment locationList = MapReminderLocationList.newInstance(activeTask);\n\t\tlocationList.show(ft, LOCATIONLIST_TAG);\t\t\t\t\n\t}", "title": "" }, { "docid": "2db8e67ad9579f8ddfbaf9ecbabd6777", "score": "0.57307106", "text": "public CommonStaffForm() {\n initComponents();\n this.setLocation(450,150);\n }", "title": "" }, { "docid": "879a2ad21745265be2211c22fc425633", "score": "0.56147945", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n approveJButton = new javax.swing.JButton();\n approvalJLabel = new javax.swing.JLabel();\n resultJTextField = new javax.swing.JTextField();\n backJButton = new javax.swing.JButton();\n rejectJButton = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n confirmJButton = new javax.swing.JButton();\n dayTimeJLabel = new javax.swing.JLabel();\n\n approveJButton.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n approveJButton.setText(\"Approve Appointment\");\n approveJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n approveJButtonActionPerformed(evt);\n }\n });\n\n approvalJLabel.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n approvalJLabel.setText(\"Please mention below the half hour slot for the patient from the daytime range patient preferred:\");\n\n resultJTextField.setFont(new java.awt.Font(\"Comic Sans MS\", 1, 14)); // NOI18N\n\n backJButton.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n backJButton.setText(\"<<Back\");\n backJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n backJButtonActionPerformed(evt);\n }\n });\n\n rejectJButton.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n rejectJButton.setText(\"Reject Appointment\");\n rejectJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n rejectJButtonActionPerformed(evt);\n }\n });\n\n jLabel2.setFont(new java.awt.Font(\"Times New Roman\", 1, 18)); // NOI18N\n jLabel2.setText(\"APPOINTMENT ACCEPT/REJECT \");\n\n confirmJButton.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n confirmJButton.setText(\"Confirm\");\n confirmJButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n confirmJButtonActionPerformed(evt);\n }\n });\n\n dayTimeJLabel.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n dayTimeJLabel.setText(\"Day Time Chosen by patient\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(64, 64, 64)\n .addComponent(approveJButton)\n .addGap(109, 109, 109)\n .addComponent(rejectJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 182, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(86, 86, 86)\n .addComponent(dayTimeJLabel)\n .addGap(44, 44, 44)\n .addComponent(resultJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(backJButton)\n .addGap(170, 170, 170)\n .addComponent(confirmJButton))\n .addGroup(layout.createSequentialGroup()\n .addGap(177, 177, 177)\n .addComponent(jLabel2)))\n .addGap(0, 0, Short.MAX_VALUE))\n .addComponent(approvalJLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 652, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(42, 42, 42)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(rejectJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(approveJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(42, 42, 42)\n .addComponent(approvalJLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(resultJTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(dayTimeJLabel))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(confirmJButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(backJButton))\n .addContainerGap(64, Short.MAX_VALUE))\n );\n }", "title": "" }, { "docid": "213579f3755631c4a606a3b536b5ab57", "score": "0.5612345", "text": "@Override\n public void onClick(View v) {\n new TimePickerDialog(AddEvent.this, endTimeListener, myCalendar\n .get(Calendar.HOUR), myCalendar.get(Calendar.MINUTE),\n false).show();\n }", "title": "" }, { "docid": "d40ca4f73bb762aee1d0e370a68c27fc", "score": "0.5611356", "text": "public void startApplication()\n\t{\n\t\tcalendar = new CalendarTest(this);\n//\t\tDate date = new Date();\n//\t\tdatabase = new DatabaseTest(this);\n\t\t\n//\t\tcalendar.addAppointment(\"01 Jan 2018\",\"8:00\", \"hello my name is noel \", \"Introduction\", date.toString());\n//\t\tview = new MainView(this);\n//\t\tappointmentView = new AppointmentView(this);\n//\t\tfilAppointmentView = new FillAppointmentView(this); \n//\t\tyesNoForm = new YesNoForm(this); \n\t}", "title": "" }, { "docid": "0b1c86010f8ca56ed9098b28323eb7fc", "score": "0.56035584", "text": "private void initialize() {\n\t\tfrmUpdateRestaurantInformation = new JFrame();\n\t\tfrmUpdateRestaurantInformation.setTitle(\"Update Restaurant Information\");\n\t\tfinal int width=800;\n\t\tfinal int height=600;\n\t\tPoint p = GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint();\n\t frmUpdateRestaurantInformation.setBounds(p.x - width / 2, p.y - height / 2, width, height); \n\t\tfrmUpdateRestaurantInformation.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\n\t\tfrmUpdateRestaurantInformation.getContentPane().setLayout(null);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"Name:\");\n\t\tlblNewLabel.setBounds(72, 40, 72, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(lblNewLabel);\n\t\t\n\t\tName = new JTextField();\n\t\tName.setBounds(227, 37, 355, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(Name);\n\t\tName.setColumns(10);\n\t\tName.setText(resman.res.getName());\n\t\tJLabel lblDescription = new JLabel(\"Description:\");\n\t\tlblDescription.setBounds(72, 341, 96, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(lblDescription);\n\t\t\n\t\tJLabel lblNewLabel_1 = new JLabel(\"Address:\");\n\t\tlblNewLabel_1.setBounds(72, 405, 72, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(lblNewLabel_1);\n\t\t\n\t\tAdd = new JTextField();\n\t\tAdd.setColumns(10);\n\t\tAdd.setBounds(227, 402, 355, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(Add);\n\t\tAdd.setText(resman.res.getAddress());\n\t\t\n\t\tJLabel lblOpentime = new JLabel(\"OpenTime:\");\n\t\tlblOpentime.setBounds(72, 469, 72, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(lblOpentime);\n\t\t\n\t\t\n\t\tOT = new JTextField();\n\t\tOT.setBounds(227, 466, 126, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(OT);\n\t\tOT.setColumns(10);\n\t\tOT.setText(resman.res.getOpenTime());\n\t\t\n\t\tJLabel label = new JLabel(\"-\");\n\t\tlabel.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tlabel.setBounds(367, 469, 21, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(label);\n\t\t\n\t\tCT = new JTextField();\n\t\tCT.setColumns(10);\n\t\tCT.setBounds(402, 466, 126, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(CT);\n\t\tCT.setText(resman.res.getCloseTime());\n\t\t\n\n\n\t\t\n\t\tDes = new JTextField();\n\t\tDes.setColumns(10);\n\t\tDes.setBounds(227, 338, 355, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(Des);\n\t\t\n\t\tJLabel lblPhoto = new JLabel(\"Photo:\");\n\t\tlblPhoto.setBounds(72, 115, 72, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(lblPhoto);\n\t\t\n\t\tFileAdd = new JTextField();\n\t\tFileAdd.setText(\" Choose a image file from disk\");\n\t\tFileAdd.setBounds(227, 228, 328, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(FileAdd);\n\t\tFileAdd.setColumns(10);\n\t\t\n\t\tJLabel Photo = new JLabel(\"New label\");\n\t\tPhoto.setBounds(330, 91, 100, 100);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(Photo);\n\t\tImageIcon temp=new ImageIcon(resman.res.getPhoto());\n\t\tImageIcon icon = new ImageIcon(temp.getImage().getScaledInstance(Photo.getWidth(), Photo.getHeight(), Image.SCALE_DEFAULT));\n\t\tbFile=resman.res.getPhoto();\n\t\tPhoto.setIcon(icon);\n\t\t\n\t\t\n\t\tJButton btnChooseFile = new JButton(\"Choose File\");\n\t\tbtnChooseFile.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t JFileChooser chooser = new JFileChooser();\n\t\t\t FileNameExtensionFilter filter = new FileNameExtensionFilter(\n\t\t\t \"JPEG\", \"jpg\");\n\t\t\t chooser.setFileFilter(filter);\n\t\t\t int returnVal = chooser.showOpenDialog(frmUpdateRestaurantInformation);\n\t\t\t if(returnVal == JFileChooser.APPROVE_OPTION) {\n\t\t\t \tFileAdd.setText(chooser.getSelectedFile().getPath());\n\n\t\t\t \tFile file = new File(chooser.getSelectedFile().getPath());\n\t\t\t bFile = new byte[(int) file.length()];\n\t\t\t try {\n\t\t\t \t FileInputStream fileInputStream = new FileInputStream(file);\n\t\t\t \t //convert file into array of bytes\n\t\t\t \t fileInputStream.read(bFile);\n\t\t\t \t fileInputStream.close();\n\t\t\t } catch (Exception err) {\n\t\t\t \t err.printStackTrace();\n\t\t\t }\n\t\t\t\t\tImageIcon temp=new ImageIcon(bFile);\n\t\t\t\t\tImageIcon icon = new ImageIcon(temp.getImage().getScaledInstance(Photo.getWidth(), Photo.getHeight(), Image.SCALE_DEFAULT));\n\t\t\t\t\tPhoto.setIcon(icon);\n\t\t\t }\n\t\t\t}\n\t\t});\n\t\t\n\t\tJLabel lblDeliverFee = new JLabel(\"Deliver Fee:\");\n\t\tlblDeliverFee.setBounds(72, 292, 96, 18);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(lblDeliverFee);\n\t\t\n\t\tDelFee = new JTextField();\n\t\tDelFee.setColumns(10);\n\t\tDelFee.setBounds(227, 289, 178, 24);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(DelFee);\n\t\tDelFee.setText(Double.toString(resman.res.getDeliverFee()));\n\t\t\n\t\tbtnChooseFile.setBounds(569, 227, 145, 27);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(btnChooseFile);\n\t\t\n\t\tJButton btnUpdate = new JButton(\"Update\");\n\t\tbtnUpdate.addActionListener(new ActionListener() {\n\t\t\t public void actionPerformed(ActionEvent e) {\n\t\t\t\tRestaurant newres=new Restaurant();\n\t\t\t\tnewres.setName(Name.getText());\n\t\t\t\tnewres.setAddress(Add.getText());\n\t\t\t\tnewres.setOpenTime(OT.getText());\n\t\t\t\tnewres.setCloseTime(CT.getText());\n\t\t\t\tnewres.setPhoto(bFile);\n\t\t\t\tnewres.setDeliverFee(Double.parseDouble(DelFee.getText()));\n\t\t\t\tnewres.setDescription(Des.getText());\n\t\t\t\tresman.UpdateRes(newres);\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Information of Restaurant Updated Successfully!\", \"Success!\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\t\tfrmUpdateRestaurantInformation.dispose();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tbtnUpdate.setBounds(596, 502, 113, 27);\n\t\tfrmUpdateRestaurantInformation.getContentPane().add(btnUpdate);\n\t\t\n\n\t\t\n\n\n\t}", "title": "" }, { "docid": "1e818d02cb0527ed9e21cbe31297b264", "score": "0.5592025", "text": "public themForm() {\n initComponents();\n this.setTitle(\"Thêm từ\");\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "753d287cfd5d367d2f1047b4b838a9e0", "score": "0.5564642", "text": "private void initialize() {\n\t\tfrmAppointmentMain = new JFrame();\n\t\tfrmAppointmentMain.getContentPane().setBackground(Color.WHITE);\n\t\tfrmAppointmentMain.getContentPane().setLayout(null);\n\t\t\n\t\tJButton button = new JButton(\"Return To Main Menu\");\n\t\tbutton.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t\tfrmAppointmentMain.dispose();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tbutton.setFont(new Font(\"Tahoma\", Font.PLAIN, 20));\n\t\tbutton.setBounds(22, 510, 243, 41);\n\t\tfrmAppointmentMain.getContentPane().add(button);\n\t\t\n\t\tJLabel lblMonday = new JLabel(\"Monday\");\n\t\tlblMonday.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblMonday.setBounds(127, 32, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblMonday);\n\t\t\n\t\tJLabel lblTuesday = new JLabel(\"Tuesday\");\n\t\tlblTuesday.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblTuesday.setBounds(235, 33, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblTuesday);\n\t\t\n\t\tJLabel lblWednesday = new JLabel(\"Wednesday\");\n\t\tlblWednesday.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblWednesday.setBounds(326, 32, 109, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblWednesday);\n\t\t\n\t\tJLabel lblThursday = new JLabel(\"Thursday\");\n\t\tlblThursday.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblThursday.setBounds(448, 32, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblThursday);\n\t\t\n\t\tJLabel lblFriday = new JLabel(\"Friday\");\n\t\tlblFriday.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblFriday.setBounds(561, 31, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblFriday);\n\t\t\n\t\tJLabel lblSatuday = new JLabel(\"Satuday\");\n\t\tlblSatuday.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblSatuday.setBounds(663, 32, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblSatuday);\n\t\t\n\t\tJLabel lblExam = new JLabel(\"Exam 1\");\n\t\tlblExam.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblExam.setBounds(25, 91, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblExam);\n\t\t\n\t\tJLabel lblExam_1 = new JLabel(\"Exam 2\");\n\t\tlblExam_1.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblExam_1.setBounds(22, 205, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblExam_1);\n\t\t\n\t\tJLabel lblOr = new JLabel(\"O.R.\");\n\t\tlblOr.setFont(new Font(\"Tahoma\", Font.BOLD, 15));\n\t\tlblOr.setBounds(22, 324, 82, 26);\n\t\tfrmAppointmentMain.getContentPane().add(lblOr);\n\t\t\n\t\tJButton btnNewAppointment = new JButton(\"New/Remove Appointment\");\n\t\tbtnNewAppointment.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t\tNew_Appointment.run();\n\t\t\t}\n\t\t});\n\t\tbtnNewAppointment.setFont(new Font(\"Tahoma\", Font.PLAIN, 20));\n\t\tbtnNewAppointment.setBounds(471, 510, 284, 41);\n\t\tfrmAppointmentMain.getContentPane().add(btnNewAppointment);\n\t\t\n\t\tJTextArea textMon1 = new JTextArea();\n\t\ttextMon1.setText(\"Set: 25 \\r\\nOpen: 15\");\n\t\ttextMon1.setEditable(false);\n\t\ttextMon1.setBackground(Color.LIGHT_GRAY);\n\t\ttextMon1.setBounds(117, 69, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textMon1);\n\t\t\n\t\tJTextArea textTue1 = new JTextArea();\n\t\ttextTue1.setText(\"Set: 5\\r\\nOpen: 35\");\n\t\ttextTue1.setEditable(false);\n\t\ttextTue1.setBackground(Color.LIGHT_GRAY);\n\t\ttextTue1.setBounds(227, 69, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textTue1);\n\t\t\n\t\tJTextArea textWed1 = new JTextArea();\n\t\ttextWed1.setText(\"Set: 35 \\r\\nOpen: 5\");\n\t\ttextWed1.setEditable(false);\n\t\ttextWed1.setBackground(Color.LIGHT_GRAY);\n\t\ttextWed1.setBounds(331, 69, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textWed1);\n\t\t\n\t\tJTextArea textThu1 = new JTextArea();\n\t\ttextThu1.setText(\"Set: 12\\r\\nOpen: 28\");\n\t\ttextThu1.setEditable(false);\n\t\ttextThu1.setBackground(Color.LIGHT_GRAY);\n\t\ttextThu1.setBounds(442, 69, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textThu1);\n\t\t\n\t\tJTextArea textFri1 = new JTextArea();\n\t\ttextFri1.setText(\"Set: 18\\r\\nOpen: 22\");\n\t\ttextFri1.setEditable(false);\n\t\ttextFri1.setBackground(Color.LIGHT_GRAY);\n\t\ttextFri1.setBounds(546, 69, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textFri1);\n\t\t\n\t\tJTextArea textSat1 = new JTextArea();\n\t\ttextSat1.setText(\"Set: 6\\r\\nOpen: 10\");\n\t\ttextSat1.setEditable(false);\n\t\ttextSat1.setBackground(Color.LIGHT_GRAY);\n\t\ttextSat1.setBounds(652, 69, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textSat1);\n\t\t\n\t\tJTextArea textMon2 = new JTextArea();\n\t\ttextMon2.setText(\"Set: 10\\r\\nOpen: 30\");\n\t\ttextMon2.setEditable(false);\n\t\ttextMon2.setBackground(Color.LIGHT_GRAY);\n\t\ttextMon2.setBounds(117, 184, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textMon2);\n\t\t\n\t\tJTextArea textTue2 = new JTextArea();\n\t\ttextTue2.setText(\"Set: 25 \\r\\nOpen: 15\");\n\t\ttextTue2.setEditable(false);\n\t\ttextTue2.setBackground(Color.LIGHT_GRAY);\n\t\ttextTue2.setBounds(227, 184, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textTue2);\n\t\t\n\t\tJTextArea textWed2 = new JTextArea();\n\t\ttextWed2.setText(\"Set: 15 \\r\\nOpen: 25\");\n\t\ttextWed2.setEditable(false);\n\t\ttextWed2.setBackground(Color.LIGHT_GRAY);\n\t\ttextWed2.setBounds(331, 184, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textWed2);\n\t\t\n\t\tJTextArea textThu2 = new JTextArea();\n\t\ttextThu2.setText(\"Set: 35 \\r\\nOpen: 5\");\n\t\ttextThu2.setEditable(false);\n\t\ttextThu2.setBackground(Color.LIGHT_GRAY);\n\t\ttextThu2.setBounds(442, 184, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textThu2);\n\t\t\n\t\tJTextArea textFri2 = new JTextArea();\n\t\ttextFri2.setText(\"Set: 1\\r\\nOpen: 39\");\n\t\ttextFri2.setEditable(false);\n\t\ttextFri2.setBackground(Color.LIGHT_GRAY);\n\t\ttextFri2.setBounds(546, 184, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textFri2);\n\t\t\n\t\tJTextArea textSat2 = new JTextArea();\n\t\ttextSat2.setText(\"Set: 10\\r\\nOpen: 6\");\n\t\ttextSat2.setEditable(false);\n\t\ttextSat2.setBackground(Color.LIGHT_GRAY);\n\t\ttextSat2.setBounds(652, 184, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textSat2);\n\t\t\n\t\tJTextArea textMon3 = new JTextArea();\n\t\ttextMon3.setText(\"Set: 0\\r\\nOpen: 10\");\n\t\ttextMon3.setEditable(false);\n\t\ttextMon3.setBackground(Color.LIGHT_GRAY);\n\t\ttextMon3.setBounds(117, 295, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textMon3);\n\t\t\n\t\tJTextArea textTue3 = new JTextArea();\n\t\ttextTue3.setText(\"Set: 8\\r\\nOpen: 2\");\n\t\ttextTue3.setEditable(false);\n\t\ttextTue3.setBackground(Color.LIGHT_GRAY);\n\t\ttextTue3.setBounds(227, 295, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textTue3);\n\t\t\n\t\tJTextArea textWed3 = new JTextArea();\n\t\ttextWed3.setText(\"Set: 5\\r\\nOpen: 5\");\n\t\ttextWed3.setEditable(false);\n\t\ttextWed3.setBackground(Color.LIGHT_GRAY);\n\t\ttextWed3.setBounds(331, 295, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textWed3);\n\t\t\n\t\tJTextArea textThu3 = new JTextArea();\n\t\ttextThu3.setText(\"Set: 8 \\r\\nOpen: 2\");\n\t\ttextThu3.setEditable(false);\n\t\ttextThu3.setBackground(Color.LIGHT_GRAY);\n\t\ttextThu3.setBounds(442, 295, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textThu3);\n\t\t\n\t\tJTextArea textFri3 = new JTextArea();\n\t\ttextFri3.setText(\"Set: 5\\r\\nOpen: 5\");\n\t\ttextFri3.setEditable(false);\n\t\ttextFri3.setBackground(Color.LIGHT_GRAY);\n\t\ttextFri3.setBounds(546, 295, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textFri3);\n\t\t\n\t\tJTextArea textSat3 = new JTextArea();\n\t\ttextSat3.setText(\"Set: 1\\r\\nOpen: 3\");\n\t\ttextSat3.setEditable(false);\n\t\ttextSat3.setBackground(Color.LIGHT_GRAY);\n\t\ttextSat3.setBounds(652, 295, 82, 64);\n\t\tfrmAppointmentMain.getContentPane().add(textSat3);\n\t\t\n\t\t\n\t\tfrmAppointmentMain.setTitle(\"Appointments\");\n\t\tfrmAppointmentMain.setBackground(Color.WHITE);\n\t\tfrmAppointmentMain.setIconImage(Toolkit.getDefaultToolkit().getImage(Appointment_Main.class.getResource(\"/General_Images/GI_icon.png\")));\n\t\tfrmAppointmentMain.setBounds(100, 100, 800, 600);\n\t\tfrmAppointmentMain.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\t\n\t\t//loadAppointments();\n\t\t\n\t}", "title": "" }, { "docid": "64a8a2694b82b4272b0335cea3fad30b", "score": "0.55488604", "text": "private void doViewHour() {\r\n makePanel();\r\n\r\n topPanel.setLayout(new GridLayout(3, 1));\r\n\r\n buttonLeft = new JButton(\"Go Back\");\r\n buttonLeft.setActionCommand(\"menu\");\r\n buttonLeft.addActionListener(this);\r\n\r\n buttonRight = new JButton(\"View Hour(s)\");\r\n buttonRight.setActionCommand(\"parkedHour\");\r\n buttonRight.addActionListener(this);\r\n\r\n topPanelEntryOrExitOrView();\r\n bottomPanel.add(buttonLeft);\r\n bottomPanel.add(buttonRight);\r\n\r\n panel.add(topPanel, BorderLayout.NORTH);\r\n panel.add(bottomPanel, BorderLayout.SOUTH);\r\n\r\n makeFrame();\r\n }", "title": "" }, { "docid": "db7b3963c1e6f1ca864c826b3e296bc2", "score": "0.553997", "text": "public AddAppointment1() {\n initComponents();\n autoGenId();\n autoGenPatientId();\n\n appointmentController = (AppointmentController) ControllerFactory.getInstance().getController(ControllerFactory.ControllerTypes.APPOINTMENT);\n patientController = (PatientController) ControllerFactory.getInstance().getController(ControllerFactory.ControllerTypes.PATIENT);\n specialityController = (SpecialityController) ControllerFactory.getInstance().getController(ControllerFactory.ControllerTypes.SPECIALITY);\n doctorController = (DoctorController) ControllerFactory.getInstance().getController(ControllerFactory.ControllerTypes.DOCTOR);\n sheduleController = (SheduleController) ControllerFactory.getInstance().getController(ControllerFactory.ControllerTypes.SHEDULE);\n dayController = (DayController) ControllerFactory.getInstance().getController(ControllerFactory.ControllerTypes.DAY);\n String date = Reception_DashBoard.lblDateMain.getText();\n String time = Reception_DashBoard.lblTimeMain.getText();\n lblAppDate.setText(date);\n lblAppTime.setText(time);\n loadTocmbSpeciality();\n loadTocmbDoctor();\n\n }", "title": "" }, { "docid": "abdb7225dab96a910b41ad8087e868b2", "score": "0.55115074", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n new Appointment().setVisible(true);\n this.dispose();\n }", "title": "" }, { "docid": "d6062036c72bcfb53dbf7d3da0dc469b", "score": "0.55064964", "text": "public void buttonSetTAlarmTime_onClick(View view) {\n\n // Open TimePickerDialog.\n Calendar calendar = Calendar.getInstance();\n int hour = calendar.get(Calendar.HOUR_OF_DAY);\n int minute = calendar.get(Calendar.MINUTE);\n\n TimePickerDialog timePickerDialog = new TimePickerDialog(this, this, hour, minute, true);\n timePickerDialog.show();\n }", "title": "" }, { "docid": "222fd9c6d2ef42206a5501f1fca02a44", "score": "0.54857475", "text": "public void CallAttendance1608IT(){\n \n ta.setVisible(true);\n \n if (ma.cmboClass.getSelectedItem().toString().equals(\"Lecture\")) {\n ta.ClassLab.setText(\"Lecture\");\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\"Tutorial\")) {\n ta.ClassLab.setText(\"Tutorial\");\n }\n\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\n\n case \"8.00am - 10.00am\":\n ta.TimeLab.setText(\"8.00am - 10.00am\");\n break;\n case \"10.00am - 12.00pm\":\n ta.TimeLab.setText(\"10.00am - 12.00pm\");\n break;\n case \"12.00pm - 2.00pm\":\n ta.TimeLab.setText(\"12.00pm - 2.00pm\");\n break;\n case \"2.00pm - 4.00pm\":\n ta.TimeLab.setText(\"2.00pm - 4.00pm\");\n break;\n }\n }", "title": "" }, { "docid": "6e238419ada3a320715ab5c7386f551f", "score": "0.548146", "text": "public void showTimePicker(){\n Calendar c = Calendar.getInstance();\n int hour = c.get(Calendar.HOUR_OF_DAY);\n int minute = c.get(Calendar.MINUTE);\n TimePickerDialog timepicker = new TimePickerDialog(MainActivity.this,this, hour, minute, true);\n timepicker.show();\n }", "title": "" }, { "docid": "2e5f2fd0fe35b4c0183c15711b137535", "score": "0.5481386", "text": "public ADD_PATIENT_INFORMATION() {\n initComponents();\n }", "title": "" }, { "docid": "5c9e313e85fe88dbf1822bb39dcbe10d", "score": "0.5479664", "text": "public frmRoomInfo() {\n initComponents();\n }", "title": "" }, { "docid": "1ff3c97e1ea1549a5a7fde583f906c93", "score": "0.5470257", "text": "public Doctor_Registration() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "0302d04dfd82481030a0cc98e9ddf069", "score": "0.5442094", "text": "private void save(ActionEvent e) throws NullPointerException{\r\n // Convert start and end times to 24 hour format, then to LocalTime\r\n LocalTime start = convertTime(convertTime12to24(START_HOUR.getValue()\r\n .toString(), START_MINUTE.getValue().toString(), \r\n AM_PM_START.getValue().toString()));\r\n LocalTime end = convertTime(convertTime12to24(END_HOUR.getValue()\r\n .toString(), END_MINUTE.getValue().toString(), \r\n AM_PM_END.getValue().toString()));\r\n LocalDate day = convertDate(DATE_FIELD);\r\n // Test to make sure appointment is within business hours\r\n if (isBusinessHours(start) && isBusinessHours(end) && validTimes() && validEntries()){\r\n // Test to make sure appointment does not overlap with other appointments\r\n if(!isOverlap(day,start,end)){\r\n // If we are updating an appointment, call the updateAppointment method\r\n if (changeAppt){\r\n // Update the appointment with any new information from fields\r\n LandingPage.selectedAppointment.setClient(ManageClientScreen.getCurrentClient());\r\n LandingPage.selectedAppointment.setCategory(MEETING_TYPE_FIELD.getText());\r\n LandingPage.selectedAppointment.setDescription(DESCRIPTION_FIELD.getText());\r\n LandingPage.selectedAppointment.setDate(day);\r\n LandingPage.selectedAppointment.setStartTime(start);\r\n LandingPage.selectedAppointment.setEndTime(end);\r\n LandingPage.selectedAppointment.setLocation(LOCATION_FIELD.getText());\r\n // Make the update\r\n Appointment.updateAppointment(LandingPage.selectedAppointment);\r\n // Confirm to user that appointment was added\r\n AlertBox.display(\"Success\", \"Appointment Updated\");\r\n // return to landing page\r\n clearFields();\r\n LandingPage.returnToLandingPage();\r\n } else {\r\n // Add appointment to DB/List\r\n Appointment a = new Appointment(ManageClientScreen.getCurrentClient(),\r\n MEETING_TYPE_FIELD.getText(), DESCRIPTION_FIELD.getText(),day,start,end,LOCATION_FIELD.getText());\r\n Appointment.addAppointment(a);\r\n // Confirm to user that appointment was added\r\n AlertBox.display(\"Success\", \"Appointment Saved\");\r\n // return to landing page\r\n clearFields();\r\n LandingPage.returnToLandingPage();\r\n }\r\n } \r\n // Notify user that there is a scheduling conflict\r\n else {\r\n AlertBox.display(\"Scheduling Conflict\", \"There is a scheduling conflict with your selected meeting time. Please see schedule and select a different time.\");\r\n }\r\n } \r\n // Appointment time selected is not within business hours. Pop a message to inform user\r\n else {\r\n if (!validEntries()){\r\n AlertBox.display(\"Form Incomplete\", \"A client, meeting type, date, start and end time are required in order to save an appointment.\");\r\n }\r\n if (!validTimes()){\r\n AlertBox.display(\"Invalid Time Selection\", \"Start time cannot be after end time. Please check your selection and try again.\");\r\n }\r\n if (!(isBusinessHours(start) && isBusinessHours(end))){\r\n AlertBox.display(\"Outside of Business Hours\", \"Business hours are between 8:00am and 5:00pm. Please adjust your selection and try again.\");\r\n }\r\n }\r\n \r\n \r\n }", "title": "" }, { "docid": "20b8cfe4054dc5794fcbbbc85739af1a", "score": "0.5436326", "text": "public RegisterForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "20b8cfe4054dc5794fcbbbc85739af1a", "score": "0.5436326", "text": "public RegisterForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "fc4f87b4add224eb9ea37959b6772422", "score": "0.5430029", "text": "public void showTimePickerDialog(View view) {\n DialogFragment newFragment = TimePickerFragment.newInstance(MCTQ_B2_A1_ID, btf);\n newFragment.show(getFragmentManager(), \"timePicker\");\n }", "title": "" }, { "docid": "ccc59311415a3ebb6ea9ca415bd8f2e4", "score": "0.54267055", "text": "private void initialize() {\r\n\t\tframe = new JFrame();\t\t\r\n\t\tint windowWidth = frame.getWidth(); // 获得窗口宽\r\n\t\tint windowHeight = frame.getHeight(); // 获得窗口高\r\n\t\tToolkit kit = Toolkit.getDefaultToolkit(); // 定义工具包\r\n\t\tDimension screenSize = kit.getScreenSize(); // 获取屏幕的尺寸\r\n\t\tint screenWidth = screenSize.width-358; // 获取屏幕的宽\r\n\t\tint screenHeight = screenSize.height-225; // 获取屏幕的高\r\n\t frame.setLocation(screenWidth/2-windowWidth/2, screenHeight/2-windowHeight/2);//设置窗口居中显示 \r\n\t\tframe.setSize(358, 225);\r\n\t\tframe.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\r\n\t\t\r\n\t\tJPanel panel = new JPanel();\r\n\t\tframe.getContentPane().add(panel, BorderLayout.CENTER);\r\n\t\tpanel.setLayout(null);\r\n\t\t\r\n\t\tJLabel label = new JLabel(\"房间名称:\");\r\n\t\tlabel.setBounds(58, 36, 74, 15);\r\n\t\tpanel.add(label);\r\n\t\t\r\n\t\troomName = new JTextField();\r\n\t\troomName.setBounds(135, 32, 131, 21);\r\n\t\tpanel.add(roomName);\r\n\t\troomName.setColumns(10);\r\n\t\t\r\n\t\tJLabel label_1 = new JLabel(\"房间密码:\");\r\n\t\tlabel_1.setBounds(59, 82, 73, 15);\r\n\t\tpanel.add(label_1);\r\n\t\t\r\n\t\troomPass = new JTextField();\r\n\t\troomPass.setBounds(135, 79, 131, 21);\r\n\t\tpanel.add(roomPass);\r\n\t\troomPass.setColumns(10);\r\n\t\t\r\n\t\tJButton button = new JButton(\"创建\");\r\n\t\tbutton.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tString name = roomName.getText();\r\n\t\t\t\tString pass = roomPass.getText();\r\n\t\t\t\tRoomShow roomShow = new RoomShow(name, pass);\r\n\t\t\t\tframe.setVisible(false);\r\n\t\t\t}\r\n\t\t});\r\n\t\tbutton.setBounds(135, 138, 93, 23);\r\n\t\tpanel.add(button);\r\n\t\r\n\t\tframe.setVisible(true);\r\n\t\t}", "title": "" }, { "docid": "6eb09522453f85f2170139eea39a42e2", "score": "0.5425665", "text": "public admin_details_rooms() {\n initComponents();\n showtime();\n }", "title": "" }, { "docid": "78451c61340a9fa8f08b6ebfae985570", "score": "0.5425082", "text": "private void initialize() {\r\n\t\tframe = new JFrame();\r\n\t\tframe.setBounds(100, 100, 693, 308);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tframe.getContentPane().setLayout(null);\r\n\t\t\r\n\t\ttxtTitle = new JTextField();\r\n\t\ttxtTitle.setBounds(95, 16, 288, 26);\r\n\t\tframe.getContentPane().add(txtTitle);\r\n\t\ttxtTitle.setColumns(10);\r\n\t\t\r\n\t\tJLabel lblTitle = new JLabel(\"Title:\");\r\n\t\tlblTitle.setBounds(11, 19, 69, 20);\r\n\t\tframe.getContentPane().add(lblTitle);\r\n\t\t\r\n\t\tJLabel lblDate = new JLabel(\"Date:\");\r\n\t\tlblDate.setBounds(11, 50, 69, 20);\r\n\t\tframe.getContentPane().add(lblDate);\r\n\t\t\r\n\t\t cboDate = new JComboBox();\r\n\t\tcboDate.setBounds(95, 47, 89, 26);\r\n\t\tcboDate.addItem(\"10/10/1990\");\r\n\t\tframe.getContentPane().add(cboDate);\r\n\t\t\r\n\t\tJLabel lblStartTime = new JLabel(\"Start Time:\");\r\n\t\tlblStartTime.setBounds(11, 86, 89, 20);\r\n\t\tframe.getContentPane().add(lblStartTime);\r\n\t\t\r\n\t\t cboStartTime = new JComboBox();\r\n\t\tcboStartTime.setBounds(95, 83, 121, 26);\r\n\t\tLoadTime(cboStartTime);\r\n\t\tframe.getContentPane().add(cboStartTime);\r\n\t\t\r\n\t\tJLabel lblEndTime = new JLabel(\"End Time:\");\r\n\t\tlblEndTime.setBounds(251, 86, 89, 20);\r\n\t\tframe.getContentPane().add(lblEndTime);\r\n\t\t\r\n\t\t cboEndTime = new JComboBox();\r\n\t\tcboEndTime.setBounds(340, 84, 104, 24);\r\n\t\tLoadTime(cboEndTime);\r\n\t\tframe.getContentPane().add(cboEndTime);\r\n\t\t\r\n\t\tJLabel lblDescription = new JLabel(\"Description\");\r\n\t\tlblDescription.setBounds(11, 123, 89, 20);\r\n\t\tframe.getContentPane().add(lblDescription);\r\n\t\t\r\n\t\ttxtDescription = new JTextField();\r\n\t\ttxtDescription.setBounds(122, 125, 491, 26);\r\n\t\tframe.getContentPane().add(txtDescription);\r\n\t\ttxtDescription.setColumns(10);\r\n\t\t\r\n\t\tJLabel lblWithWho = new JLabel(\"With Who?\");\r\n\t\tlblWithWho.setBounds(11, 159, 109, 20);\r\n\t\tframe.getContentPane().add(lblWithWho);\r\n\t\t\r\n\t\t cboWho = new JComboBox();\r\n\t\tcboWho.setBounds(132, 156, 371, 26);\r\n\t\tcboWho.addItem(\"Ryan\");\r\n\t\tframe.getContentPane().add(cboWho);\r\n\t\t\r\n\t\tJButton btnAdd = new JButton(\"Add\");\r\n\t\tbtnAdd.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\r\n\t\t\t\tAddItem();\r\n\t\t\t\ttest();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnAdd.setBounds(468, 15, 115, 29);\r\n\t\tframe.getContentPane().add(btnAdd);\r\n\t\t\r\n\t\tJButton btnCalendar = new JButton(\"Calendar\");\r\n\t\tbtnCalendar.addMouseListener(new MouseAdapter() {\r\n\t\t\t@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\r\n\t\t\t\tApptCalendar cal = new ApptCalendar();\r\n\t\t\t\tcal.initialize(cal);\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnCalendar.setBounds(468, 216, 115, 29);\r\n\t\tframe.getContentPane().add(btnCalendar);\r\n\t}", "title": "" }, { "docid": "f23e4a052803a81bdc4a49fcbc39fde9", "score": "0.54206353", "text": "@Override\n public void onClick(View v) {\n new TimePickerDialog(AddEvent.this, startTimeListener, myCalendar\n .get(Calendar.HOUR), myCalendar.get(Calendar.MINUTE),\n false).show();\n }", "title": "" }, { "docid": "4e8352f0a8f729b0c7e8f9c0c4912519", "score": "0.5404557", "text": "public void viewAddressForm() {\n\t\t\tRootPanel rootPanel = RootPanel.get();\n\t\t\trootPanel.clear();\n\t\t\tmakeMenuBar(rootPanel);\n\n\t\t\tHorizontalPanel mainPanel = new HorizontalPanel();\n\t\t\trootPanel.add(mainPanel, 10, 79);\n\n\t\t\tFormPanel submitPanel = makeSubmitAddressForm(null);\n\t\t\tmainPanel.add(submitPanel);\n\t\t}", "title": "" }, { "docid": "2790f0d4c3e4ac540e4bc6305ad71632", "score": "0.5396422", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\r\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tsetContentView(R.layout.activity_organization_form);\r\n\t\tETEventName = (EditText) findViewById(R.id.incEventName);\r\n\t\tETOrgName = (EditText) findViewById(R.id.incOrgNameForm);\r\n\t\tETEventLocation = (EditText) findViewById(R.id.incEventLocation);\r\n\t\tETTages = (EditText) findViewById(R.id.incTags);\r\n\t\tETExtraInfo = (EditText) findViewById(R.id.incEventInfo);\r\n\t\tBstartTime = (Button) findViewById(R.id.enterStartTime);\r\n\t\tBendTime = (Button) findViewById(R.id.enterFinishTime);\r\n\t\tBsubmit = (Button) findViewById(R.id.submitButton);\r\n\t\tBDatePicker = (Button) findViewById(R.id.datePickerB);\r\n\t\tcurrentTime = Calendar.getInstance();\r\n\t\tprefs = PreferenceManager.getDefaultSharedPreferences(this);\r\n\t\tsetPreferences();\r\n\t\t// Set up button listeners\r\n\t\tprefs.registerOnSharedPreferenceChangeListener(new OnSharedPreferenceChangeListener() {\r\n\t\t\t/**\r\n\t\t\t * Do this when the preferences are changed\r\n\t\t\t * @Override\r\n\t\t\t */\r\n\t\t\tpublic void onSharedPreferenceChanged(\r\n\t\t\t\t\tSharedPreferences sharedPreferences, String key) {\r\n\t\t\t\tLog.e(\"pref\", key + \" changed\");\r\n\t\t\t\tupdatePreference(key);\r\n\t\t\t}\r\n\t\t});\r\n\t\tBstartTime.setOnClickListener(new OnClickListener() {\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\tcreateStartClock();\r\n\t\t\t}\r\n\t\t});\r\n\t\tBendTime.setOnClickListener(new OnClickListener() {\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\tcreateEndClock();\r\n\t\t\t}\r\n\t\t});\r\n\t\tBsubmit.setOnClickListener(new OnClickListener() {\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\tcheckForm();\r\n\t\t\t}\r\n\t\t});\r\n\t\tBDatePicker.setOnClickListener(new OnClickListener() {\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\tcreateDatePicker();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "6d35173b6466e0184db8ed195cf5d9db", "score": "0.53827035", "text": "private void setStartTimePicker() {\n final TimePickerDialog.OnTimeSetListener startTime = (view, hourOfDay, minute) -> {\n startMeetingCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);\n startMeetingCalendar.set(Calendar.MINUTE, minute);\n updateStartTimeTextView();\n };\n startMeetingTimePicker.setOnClickListener(v -> new TimePickerDialog(AddMeeting.this,\n startTime, startMeetingCalendar.get(Calendar.HOUR),\n startMeetingCalendar.get(Calendar.MINUTE),\n true).show());\n }", "title": "" }, { "docid": "d13eefd4758885d8827ee3f6851d881f", "score": "0.5373146", "text": "private void setEndTimePicker() {\n final TimePickerDialog.OnTimeSetListener endTime = (view, hourOfDay, minute) -> {\n endMeetingCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);\n endMeetingCalendar.set(Calendar.MINUTE, minute);\n updateEndTimeTextView();\n };\n endMeetingTimePicker.setOnClickListener(view -> new TimePickerDialog(AddMeeting.this,\n endTime, endMeetingCalendar.get(Calendar.HOUR),\n endMeetingCalendar.get(Calendar.MINUTE),\n true).show());\n }", "title": "" }, { "docid": "70e0514a1e3a1db57dc2e9c42510b712", "score": "0.53704023", "text": "public void initialize() {\n constraints.weightx = 1;\n constraints.gridx = 0;\n constraints.gridy = 0;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the start hour\", startHour), constraints);\n constraints.gridy = 1;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the start minute\", startMinute), constraints);\n constraints.gridy = 2;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the end hour\", endHour), constraints);\n constraints.gridy = 3;\n editTimes.add(createBoxWithFieldAndLabel(\"Enter the end minute\", endMinute), constraints);\n constraints.gridy = 4;\n JButton btn = new JButton(\"Enter\");\n btn.setActionCommand(\"enterTimes\");\n btn.addActionListener(this);\n editTimes.add(btn, constraints);\n }", "title": "" }, { "docid": "4d4b7e6fc658bf7792b090b1af5c1cd4", "score": "0.5361162", "text": "@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\n mEditStartTime.setText(mTimeFormat.format(Utils.getDate(mYear, mMonth, mDay, hourOfDay, minute)));\n /**\n * Set meeting end to start time +1 hour\n */\n mEditEndTime.setText(mTimeFormat.format(Utils.getDate(mYear, mMonth, mDay, hourOfDay+1, minute)));\n }", "title": "" }, { "docid": "9ae085ed9ccfb8d0ae3f4d9973f43d8f", "score": "0.5359146", "text": "public PersistentStoreDemoScreen(Vector meetings)\r\n { \r\n _uiApp = (PersistentStoreDemo)UiApplication.getUiApplication();\r\n \r\n // Initialize UI components\r\n setTitle(new LabelField(\"Persistent Store Demo\", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH)); \r\n _meetingList = new ListField(); \r\n add(_meetingList); \r\n \r\n // Set list field callback and update meeting list\r\n _meetingList.setCallback(_uiApp);\r\n updateList(); \r\n addMenuItem(newMeetingItem); \r\n addMenuItem(retrieveItem); \r\n }", "title": "" }, { "docid": "b7cf5877579fc88e212421b315fdb671", "score": "0.53406495", "text": "public TaskPanel(TaskController taskController) {\n this.taskController = taskController;\n\n Button submit = new Button(\"Submit\");\n submit.setOnAction(event -> {\n \ttaskController.add(getTaskName(), getTaskDescription(), getHours(), getMinutes(), getDateTime());\n \tSystem.out.println(\"Selected date: \" + getDateTime());\n });\n submit.setId(\"submitButton\");\n submit.setStyle(\"-fx-font-weight: bold\");\n\n Label personInstructions = new Label(\"Select people to assign to task.\");\n Label taskInstructions = new Label(\"Select prerequisite tasks or delete pre-existing tasks.\");\n Label resourcesInstructions = new Label(\"Select required resources.\");\n\n\n Label taskLabel = new Label(\"Task Name:\");\n taskLabel.setStyle(\"-fx-font-weight: bold\");\n\n\n // taskLabel.setAlignment(Pos.TOP_LEFT);\n\n taskField = new TextField();\n //taskField.setAlignment(Pos.TOP_CENTER);\n taskField.setMaxSize(200,25);\n\n taskField.setId(\"taskField\");\n\n Label taskDescription = new Label(\"Task Description:\");\n taskDescription.setStyle(\"-fx-font-weight: bold\");\n\n\n descriptionArea = new TextArea();\n descriptionArea.setWrapText(true);\n descriptionArea.setMaxSize(200,50);\n descriptionArea.setId(\"taskDescArea\");\n\n\n Label spinnerLabelHours = new Label(\"Hours:\");\n Label spinnerLabelMins = new Label(\"Minutes:\");\n\n\n\n spinnerHours = new Spinner<Integer>();\n int initialValueHours = 1;\n SpinnerValueFactory<Integer> valueFactoryHours = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 300, initialValueHours);\n\n spinnerMins = new Spinner<Integer>();\n int initialValueMins = 0;\n\n SpinnerValueFactory<Integer> valueFactoryMins = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 300, initialValueMins);\n\n spinnerHours.setValueFactory(valueFactoryHours);\n spinnerMins.setValueFactory(valueFactoryMins);\n spinnerHours.setMaxWidth(70);\n spinnerMins.setMaxWidth(70);\n\n Label dateLabel\t= new Label(\"Select start date: \");\n dateSelection = new DatePicker(LocalDate.now());\n dateSelection.setEditable(false);\n\n spinnerTimeHours = new Spinner<Integer>();\n SpinnerValueFactory<Integer> valueFactorySelectHours = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 23, 0);\n spinnerTimeHours.setValueFactory(valueFactorySelectHours);\n\n spinnerTimeMins = new Spinner<Integer>();\n SpinnerValueFactory<Integer> valueFactorySelectMins = new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 59, 0);\n spinnerTimeMins.setValueFactory(valueFactorySelectMins);\n\n spinnerTimeHours.setMaxWidth(70);\n spinnerTimeMins.setMaxWidth(70);\n\n Label select = new Label(\"Select start time (24hr clock): \");\n Label select2 = new Label(\" : \");\n select2.setStyle(\"-fx-font-weight: bold\");\n\n Label effortLabel = new Label(\"Effort Estimate:\");\n effortLabel.setStyle(\"-fx-font-weight: bold\");\n HBox spinnerHBox = new HBox(10);\n spinnerHBox.setPadding(new Insets(25,25,25,25));\n spinnerHBox.setPadding(new Insets(0, 0, 25, 0));\n spinnerHBox.setAlignment(Pos.CENTER);\n spinnerHBox.getChildren().add(effortLabel);\n spinnerHBox.getChildren().addAll(spinnerLabelHours, spinnerHours);\n spinnerHBox.getChildren().addAll(spinnerLabelMins, spinnerMins);\n\n\n VBox dateTimeVBox = new VBox();\n dateTimeVBox.setAlignment(Pos.CENTER);\n dateTimeVBox.setPadding(new Insets(0, 0, 25, 0));\n dateTimeVBox.setSpacing(5);\n HBox dateHBox = new\tHBox();\n dateHBox.setAlignment(Pos.CENTER);\n HBox timeHBox = new HBox();\n timeHBox.setAlignment(Pos.CENTER);\n\n dateHBox.getChildren().addAll(dateLabel, dateSelection);\n timeHBox.getChildren().addAll(select,spinnerTimeHours, select2, spinnerTimeMins);\n dateTimeVBox.getChildren().addAll(dateHBox, timeHBox);\n\n\n spinnerHBox.getChildren().addAll(dateTimeVBox);\n\n\n people = FXCollections.observableArrayList ();\n ListView<Person> listOfPeople = new ListView<>(people);\n listOfPeople.setCellFactory(param -> new peopleCell(taskController));\n\n\n tasks = FXCollections.observableArrayList ();\n ListView<Task> listOfTasks = new ListView<>(tasks);\n listOfTasks.setCellFactory(param -> new taskCell(taskController));\n\n resources = FXCollections.observableArrayList ();\n ListView<Resource> listOfResources = new ListView<>(resources);\n listOfResources.setCellFactory(param -> new resourcesCell(taskController));\n\n\n\n this.initModality(Modality.APPLICATION_MODAL);\n HBox dialogHbox = new HBox(20);\n dialogHbox.setPadding(new Insets(25,25,25,25));\n BorderPane borderPane = new BorderPane();\n\n VBox peopleVbox = new VBox();\n peopleVbox.getChildren().add(personInstructions);\n //peopleVbox.getChildren().add(blankLabel);\n peopleVbox.setSpacing(25);\n peopleVbox.getChildren().add(listOfPeople);\n\n VBox taskVbox = new VBox();\n taskVbox.getChildren().add(taskInstructions);\n //taskVbox.getChildren().add(blankLabel);\n taskVbox.setSpacing(25);\n taskVbox.setPadding(new Insets(0,10,0,10));\n taskVbox.getChildren().add(listOfTasks);\n\n VBox resourcesVbox = new VBox();\n resourcesVbox.getChildren().add(resourcesInstructions);\n// resourcesVbox.getChildren().add(resourcesField);\n resourcesVbox.setSpacing(25);\n resourcesVbox.getChildren().add(listOfResources);\n\n dialogHbox.setAlignment(Pos.CENTER);\n\n dialogHbox.getChildren().add(taskLabel);\n dialogHbox.getChildren().add(taskField);\n dialogHbox.getChildren().add(taskDescription);\n dialogHbox.getChildren().add(descriptionArea);\n\n VBox headerVBox = new VBox();\n headerVBox.getChildren().add(dialogHbox);\n headerVBox.getChildren().add(spinnerHBox);\n\n\n BorderPane buttonPane = new BorderPane();\n buttonPane.setRight(submit);\n borderPane.setBottom(buttonPane);\n\n borderPane.setLeft(peopleVbox);\n borderPane.setCenter(taskVbox);\n borderPane.setRight(resourcesVbox);\n\n borderPane.setTop(headerVBox);\n\n borderPane.setPadding(new Insets(25,25,25,25));\n\n Scene dialogScene = new Scene(borderPane, 850, 500);\n this.setScene(dialogScene);\n\n }", "title": "" }, { "docid": "4c0b1f2d3a5f0362937fd1d090f16ae2", "score": "0.53346777", "text": "public AllocateTeamForm() {\n initComponents();\n }", "title": "" }, { "docid": "2b535c5d8b8a63ab534ec1caf6f82d8c", "score": "0.5327675", "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 jPanel2 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n jTextField1 = new javax.swing.JTextField();\n jTextField2 = new javax.swing.JTextField();\n jComboBox1 = new javax.swing.JComboBox<>();\n jTextField3 = new javax.swing.JTextField();\n jRadioButton1 = new javax.swing.JRadioButton();\n jRadioButton2 = new javax.swing.JRadioButton();\n jTextField4 = new javax.swing.JTextField();\n dateChooserCombo1 = new datechooser.beans.DateChooserCombo();\n jTimeChooser1 = new lu.tudor.santec.jtimechooser.JTimeChooser();\n jPanel3 = new javax.swing.JPanel();\n btnsave = new javax.swing.JButton();\n btnreset = new javax.swing.JButton();\n btnsearch = new javax.swing.JButton();\n btncancel = new javax.swing.JButton();\n btnbill = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Room Reservation\");\n\n jPanel1.setBackground(new java.awt.Color(0, 153, 153));\n\n jPanel2.setBackground(new java.awt.Color(0, 204, 255));\n jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2), \"Details\", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\"Tahoma\", 1, 11))); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel1.setText(\"Room No\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel2.setText(\"Patient ID\");\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel3.setText(\"Room Type\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel4.setText(\"Price\");\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel6.setText(\"Availability\");\n\n jLabel7.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel7.setText(\"Reserved Date\");\n\n jLabel8.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel8.setText(\"Reserved Time\");\n\n jLabel9.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel9.setText(\"Description\");\n\n jRadioButton1.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jRadioButton1.setText(\"Available\");\n\n jRadioButton2.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jRadioButton2.setText(\"Not Available\");\n\n dateChooserCombo1.setFormat(0);\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(33, 33, 33)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel2)\n .addComponent(jLabel3)\n .addComponent(jLabel4))\n .addGap(27, 27, 27)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jTextField1)\n .addComponent(jTextField2)\n .addComponent(jComboBox1, 0, 182, Short.MAX_VALUE)\n .addComponent(jTextField3))\n .addGap(35, 35, 35)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel7)\n .addComponent(jLabel6)\n .addComponent(jLabel8)\n .addComponent(jLabel9))\n .addGap(23, 23, 23)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jRadioButton2)\n .addComponent(jRadioButton1)\n .addComponent(dateChooserCombo1, javax.swing.GroupLayout.PREFERRED_SIZE, 178, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(jTextField4, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jTimeChooser1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 163, Short.MAX_VALUE)))\n .addGap(0, 32, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(49, 49, 49)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jLabel6)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jRadioButton1))\n .addGap(18, 18, 18)\n .addComponent(jRadioButton2)\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addComponent(dateChooserCombo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(48, 48, 48)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(34, 34, 34)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel8)\n .addComponent(jTimeChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGap(48, 48, 48)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(jLabel9)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(41, Short.MAX_VALUE))\n );\n\n jPanel3.setBackground(new java.awt.Color(0, 204, 255));\n jPanel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2));\n\n btnsave.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnsave.setText(\"Save\");\n\n btnreset.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnreset.setText(\"Reset\");\n\n btnsearch.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnsearch.setText(\"Search\");\n\n btncancel.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btncancel.setText(\"Cancel\");\n btncancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btncancelActionPerformed(evt);\n }\n });\n\n btnbill.setFont(new java.awt.Font(\"Times New Roman\", 1, 11)); // NOI18N\n btnbill.setText(\"Bill\");\n btnbill.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnbillActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\n jPanel3.setLayout(jPanel3Layout);\n jPanel3Layout.setHorizontalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGap(40, 40, 40)\n .addComponent(btnsave)\n .addGap(44, 44, 44)\n .addComponent(btnreset)\n .addGap(48, 48, 48)\n .addComponent(btnsearch)\n .addGap(51, 51, 51)\n .addComponent(btncancel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 40, Short.MAX_VALUE)\n .addComponent(btnbill, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(41, 41, 41))\n );\n jPanel3Layout.setVerticalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()\n .addContainerGap(41, Short.MAX_VALUE)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnsave, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnreset, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnsearch, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btncancel, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnbill, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(36, 36, 36))\n );\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(26, 26, 26)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(78, 78, 78)\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(44, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(35, 35, 35))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "09b6aae260a012615cb70f46d46b1b31", "score": "0.53227806", "text": "public void startTimeDialog() {\n TimePickerDialog.OnTimeSetListener listener = new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker view, int selectedHour, int selectedMinute) {\n hour = selectedHour;\n minute = selectedMinute;\n String zone = \"\";\n\n if (hour > 12) {\n hour -= 12;\n zone = \"PM\";\n } else {\n zone = \"AM\";\n }\n\n txtStartTime.setText(new StringBuilder().append(pad(hour)).append(\":\").append(pad(minute)).append(\" \").append(zone));\n\n int time = (minute * 60 + hour * 60 * 60) * 1000;\n SimpleDateFormat format = new SimpleDateFormat(\"HH:mm:ss\");\n timeStart = format.format(time);\n\n }\n };\n\n TimePickerDialog tpDialog = new TimePickerDialog(this, listener, hour, minute, false);\n tpDialog.show();\n }", "title": "" }, { "docid": "01a5a26b6921b57629242beb1d34a149", "score": "0.5318911", "text": "private void displayLocationSettingsDialog() {\n\t\tnew AlertDialog.Builder(this)\n\t\t.setTitle(getResources().getString(R.string.gps_dialog_title))\n\t\t.setMessage(getResources().getString(R.string.gps_dialog_text))\n\t\t.setPositiveButton(getResources().getString(R.string.yes_button_label), \n\t\t\tnew DialogInterface.OnClickListener() {\n\t public void onClick(DialogInterface dialog, int id) {\n\t \t startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS));\n\t }\n\t })\n\t .setNegativeButton(getResources().getString(R.string.no_button_label), \n\t \tnew DialogInterface.OnClickListener() {\n\t \t\tpublic void onClick(DialogInterface dialog, int id) {\n\t \t\t\tdialog.cancel();\n\t \t\t}\n\t })\n\t\t.show();\n\t}", "title": "" }, { "docid": "15c6b736efa52328060460464379a729", "score": "0.53168684", "text": "public void run()\r\n { \r\n displayMeeting(true);\r\n }", "title": "" }, { "docid": "25f6eb641ceaf0b53d8fc444e407442d", "score": "0.5295795", "text": "public ChooseTabletForm() {\n initComponents();\n }", "title": "" }, { "docid": "9ce17530f889b0912a61346a7b4bafca", "score": "0.5289617", "text": "private void showTaskInfo(View view) {\n\n //displaying actual data\n TextView taskName = (TextView) view.findViewById(R.id.edit_task_name);\n taskName.setText(tInfo.displayName);\n\n TextView description = (TextView) view.findViewById(R.id.edit_task_description);\n description.setText(tInfo.description);\n\n //Set the date pickers\n setDate();\n\n //Begin actions to fill houses dropdown and members dropdown\n houseAction.viewYourHouses(uInfo);\n\n //create a list of items for the notifications spinner.\n setupNotificationSpinner(view);\n\n //Setup the tags available\n setUpTags();\n\n TextView cost =(TextView) view.findViewById(R.id.edit_task_associated_cost);\n cost.setText(Double.toString(tInfo.costAssociated));\n\n TextView penalty =(TextView) view.findViewById(R.id.edit_task_penalty);\n penalty.setText(Integer.toString(tInfo.difficultyScore));\n\n //Set the itemList\n setField();\n }", "title": "" }, { "docid": "aab86b5cc34d877844c15a19eff921e5", "score": "0.52797246", "text": "public LoginForm() {\n initComponents();\n lbl_U.setVisible(false);\n lbl_P.setVisible(false);\n lbl_C.setVisible(false);\n currentDate();\n \n // show login form in center screen\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "16213c03e344df1fe474397992931d97", "score": "0.5267924", "text": "public FrmTimeLine() {\n initComponents();\n Conexao c = new Conexao();\n c.connect();\n \n \n \n }", "title": "" }, { "docid": "1db5d7138b75b2cca28c091754364ec8", "score": "0.52672774", "text": "public void CallAttendance1704IT(){\n \n ta2.setVisible(true);\n if (ma.cmboClass.getSelectedItem().toString().equals(\"Lecture\")) {\n ta2.ClassLab.setText(\"Lecture\");\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\"Tutorial\")) {\n ta2.ClassLab.setText(\"Tutorial\");\n }\n\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\n\n case \"8.00am - 10.00am\":\n ta2.TimeLab.setText(\"8.00am - 10.00am\");\n break;\n case \"10.00am - 12.00pm\":\n ta2.TimeLab.setText(\"10.00am - 12.00pm\");\n break;\n case \"12.00pm - 2.00pm\":\n ta2.TimeLab.setText(\"12.00pm - 2.00pm\");\n break;\n case \"2.00pm - 4.00pm\":\n ta2.TimeLab.setText(\"2.00pm - 4.00pm\");\n break;\n }\n }", "title": "" }, { "docid": "25d98a46c7b3c70a8d261bd3e2a6522e", "score": "0.5259558", "text": "public ManageVolunteers() {\n initComponents();\n this.setLocationRelativeTo(null);\n fetch();\n }", "title": "" }, { "docid": "17466fd3198cc101279f4520dd34f965", "score": "0.5256953", "text": "public FareListForm() {\n \n initComponents();\n db.fillTable(table1, \"select * from BusRouteView\"); \n getContentPane().setBackground(new java.awt.Color(255,255,255));\n lbl2.setSize(100,80);\n Utility.setLabelImage(lbl2, new File(\"src/images/bus2.jpg\").getAbsolutePath());\n \n db.fillCombo(cmbstart, \"select Distinct RouteFrom from RouteInfo\", \"RouteFrom\", \"RouteFrom\");\n db.fillCombo(cmbend, \"select Distinct RouteTo from RouteInfo\", \"RouteTo\", \"RouteTo\");\n }", "title": "" }, { "docid": "608123c2fd0acb1bd22793205cf91b0f", "score": "0.5255929", "text": "private void initialize() {\n\t\tinfos = new JPanel();\n\t\tinfos.setLayout(new GridLayout(4,2));\n\t\tinfo1 = new JLabel();\n\t\tinfo2 = new JLabel();\n\t\tinfo1_label = new JLabel();\n\t\tinfo2_label = new JLabel();\n\t\ttps_restant = new HourTextField(new HourFormat());\n\t\ttps_restant.addCaretListener(new CaretListener(){\n\t\t\tpublic void caretUpdate(CaretEvent arg0) {\n\t\t\t\tif(!tps_restant.getText().equals(\"\") && tps_restant.getText().matches(HourTextField.pattern)){\n\t\t\t\t\ttry {\n\t\t\t\t\t\ttps_restant.commitEdit();\n\t\t\t\t\t\tcurrentConcreteTask.setRemainingTime(getRemainingTimeForUpload());\n\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\tnew ExceptionManager(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\t// definition of tps_restant\n\t\t\n\t\t\n\t\ttps_restant_label = new JLabel();\n\t\ttps = new HourTextField(new HourFormat());\n\t\ttps.setEditable(false);\n\t\t\n\t\n\t\ttps_label = new JLabel();\n\n\t\tinfos.add(info1);\n\t\tinfos.add(info1_label);\n\t\tinfos.add(info2);\n\t\tinfos.add(info2_label);\n\t\tinfos.add(tps_restant_label);\n\t\tinfos.add(tps_restant);\n\t\tinfos.add(tps_label);\n\t\tinfos.add(tps);\t\t\n\t\t\n\t\tthis.setLayout(new BorderLayout());\n\t\tthis.add(getTasks(),BorderLayout.CENTER);\n\t\ttasks.setExpanded(false);\n\t\tmodify.setVisible(false);\n\t\tinfos.setVisible(false);\n\t}", "title": "" }, { "docid": "f97073b80750970a8339e7b62884f19c", "score": "0.5251018", "text": "private void setUpViews(){\n meetingName = findViewById(R.id.create_meeting_name);\n location = findViewById(R.id.create_meeting_location);\n date = findViewById(R.id.create_meeting_date);\n meetingDescription = findViewById(R.id.create_meeting_description);\n agenda = findViewById(R.id.create_meeting_agenda);\n createMeeting = findViewById(R.id.create_meeting_button);\n attendeeEmail = findViewById(R.id.create_meeting_collaborator_email);\n addAttendeeFab = findViewById(R.id.create_meeting_add_collaborator_fab);\n\n }", "title": "" }, { "docid": "02e0aa0b3b9750aedfcbfb7edef99c81", "score": "0.5249858", "text": "public void CallAttendance1701IT(){\n \n ta1.setVisible(true);\n if (ma.cmboClass.getSelectedItem().toString().equals(\"Lecture\")) {\n ta1.ClassLab.setText(\"Lecture\");\n } else if (ma.cmboClass.getSelectedItem().toString().equals(\"Tutorial\")) {\n ta1.ClassLab.setText(\"Tutorial\");\n }\n\n switch (ma.cmboTimeslot.getSelectedItem().toString()) {\n\n case \"8.00am - 10.00am\":\n ta1.TimeLab.setText(\"8.00am - 10.00am\");\n break;\n case \"10.00am - 12.00pm\":\n ta1.TimeLab.setText(\"10.00am - 12.00pm\");\n break;\n case \"12.00pm - 2.00pm\":\n ta1.TimeLab.setText(\"12.00pm - 2.00pm\");\n break;\n case \"2.00pm - 4.00pm\":\n ta1.TimeLab.setText(\"2.00pm - 4.00pm\");\n break;\n }\n }", "title": "" }, { "docid": "705008291a2639afe0a162e462f10ec5", "score": "0.52483", "text": "public void doTimePicker(View view)\n {\n DialogFragment newFragment = new TimePickerFragment();\n newFragment.show(getSupportFragmentManager(), \"timePicker\");\n }", "title": "" }, { "docid": "441f27bf783bb7ceeb85ee189f788147", "score": "0.52261806", "text": "private void initialize() {\n\n\t\tframeWorldClock = new JFrame();\n\t\tframeWorldClock.setBounds(100, 100, 450, 300);\n\t\tframeWorldClock.setIconImage(Toolkit.getDefaultToolkit()\n\t\t\t\t.getImage(WorldClock.class.getResource(\"/mevenk/image/mevenkGitHubLogo.png\")));\n\t\tframeWorldClock.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframeWorldClock.setAlwaysOnTop(true);\n\t\tframeWorldClock.setType(Type.UTILITY);\n\t\tframeWorldClock.setTitle(runningClockDisplayPanelLocalTimeZone.getTimeZoneBean().timeZoneTitle());\n\t\tframeWorldClock.setResizable(false);\n\t\tframeWorldClock.setLayout(new GridBagLayout());\n\t\tframeWorldClock.setSize(250, 100);\n\t\tDimension screenDimension = Toolkit.getDefaultToolkit().getScreenSize();\n\t\tframeWorldClock.setLocation(screenDimension.width - frameWorldClock.getSize().width - 50,\n\t\t\t\tscreenDimension.height / 5 - frameWorldClock.getSize().height / 2);\n\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setText(\"Always On Top\");\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setSelected(frameWorldClock.isAlwaysOnTop());\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.setHorizontalAlignment(ALIGNMENT_CENTER);\n\t\tCHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tframeWorldClock.setAlwaysOnTop(CHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP.isSelected());\n\n\t\t\t}\n\t\t});\n\n\t\tbuttonAddTime = new JButton(\"ADD\");\n\t\tbuttonAddTime.setHorizontalAlignment(ALIGNMENT_CENTER);\n\t\tbuttonAddTime.setAlignmentX(JButton.RIGHT_ALIGNMENT);\n\t\tbuttonAddTime.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t\tif (timeZoneCounter == MAX_TIME_ZONES) {\n\t\t\t\t\tJOptionPane.showMessageDialog(frameWorldClock, \"Max Limit Reached !!\", \"Add New Time\",\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tTimeZonesComboBox timeZonesComboBox = new TimeZonesComboBox();\n\n\t\t\t\tJOptionPane.showMessageDialog(frameWorldClock, timeZonesComboBox, \"Select TimeZone\",\n\t\t\t\t\t\tJOptionPane.QUESTION_MESSAGE);\n\n\t\t\t\tTimeZone selectedTimeZone = timeZonesComboBox.selectedTimeZone();\n\n\t\t\t\tif (selectedTimeZone == null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfinal RunningClockDisplayPanel runningClockDisplayPanel = new RunningClockDisplayPanel(\n\t\t\t\t\t\tselectedTimeZone);\n\n\t\t\t\tframeWorldClock.setSize(frameWorldClock.getWidth(),\n\t\t\t\t\t\tframeWorldClock.getHeight() + runningClockDisplayPanel.getHeight());\n\n\t\t\t\tgridBagConstraintsFrameWorldClock.gridy = gridBagConstraintsFrameWorldClock.gridy + 1;\n\t\t\t\tframeWorldClock.getContentPane().add(runningClockDisplayPanel, gridBagConstraintsFrameWorldClock);\n\n\t\t\t\ttimeZoneCounter++;\n\t\t\t}\n\t\t});\n\n\t\tpanelControlPanel = new JPanel(new GridBagLayout());\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\n\t\tgridBagConstraints.fill = GridBagConstraints.LINE_START;\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.gridy = 0;\n\n\t\tpanelControlPanel.setPreferredSize(new Dimension(frameWorldClock.getWidth() - 5, 60));\n\t\tpanelControlPanel.setMaximumSize(new Dimension(frameWorldClock.getWidth() - 5, 60));\n\t\tpanelControlPanel.add(CHECK_BOX_RUNNING_CLOCK_ALWAYS_ON_TOP, gridBagConstraints);\n\n\t\tgridBagConstraints.fill = GridBagConstraints.LINE_END;\n\t\tgridBagConstraints.gridx = 1;\n\t\tpanelControlPanel.add(buttonAddTime, gridBagConstraints);\n\n\t\tframeWorldClock.getContentPane().add(panelControlPanel, gridBagConstraintsFrameWorldClock);\n\n\t\tgridBagConstraintsFrameWorldClock.gridy = 1;\n\t\tframeWorldClock.getContentPane().add(runningClockDisplayPanelLocalTimeZone, gridBagConstraintsFrameWorldClock);\n\n\t}", "title": "" }, { "docid": "94f685f6b219484d5fd91c26f3697935", "score": "0.52224565", "text": "public ObstetricsOfficeVisitForm() {\n this(null);\n }", "title": "" }, { "docid": "07476c46f30670561b858b5cf4b93d40", "score": "0.5210872", "text": "public Home() {\n initComponents();\n hdate.setText(date.format(cal.getTime())); \n htime.setText(time.format(cal.getTime()));\n }", "title": "" }, { "docid": "8db381b5158388f602784701d34796b9", "score": "0.52078027", "text": "public void enterShowTimezLocation(String... strings)\n {\n String location = strings[1];\n ExtentTestManager.getTest().log(LogStatus.INFO, \" \" + strings[0] + \":: Enter ShowTimes Location as \" + \"\\\"<b>\" + location +\"\\\" </b>\" );\n try\n {\n genericfunctions.waitForPageToLoad(postwithhashtagobjects.showtimez_location);\n postwithhashtagobjects.showtimez_location.clear();\n\n postwithhashtagobjects.showtimez_location.sendKeys(location);\n }\n catch (Throwable e)\n {\n Assert.fail(\"Could not able to enter ShowTimes Location\" + \" &\"+e.getMessage()+ \"\");\n }\n }", "title": "" }, { "docid": "ea24b8023769a6f612ca3dbb4f0f039a", "score": "0.5198944", "text": "public HousingLoan() {\n initComponents();\n this.setLocationRelativeTo(null);\n loaduserDetails();\n }", "title": "" }, { "docid": "28f0632c7a5a06c7b16f16dcf7bac881", "score": "0.5192493", "text": "public void showSettingsForm() {\n this.jpSettings.loadPastevidSettings();\n this.setVisible(true);\n }", "title": "" }, { "docid": "9d88020b3a77f65a3a331208c8065ead", "score": "0.51896316", "text": "private void setInquiryPanel()\n {\n Label titleLabel = new Label(\"Property Inquiry Form (Finish this form to confirm your booking)\");\n titleLabel.setId(\"titleLabel\");\n \n GridPane formPane = new GridPane();\n formPane.setHgap(20);\n formPane.setVgap(40);\n formPane.setId(\"formpane\");\n \n \n Label zero = new Label(\"Your Name:\");\n Label first = new Label(\"Phone Number:\");\n Label second = new Label(\"email address:\");\n Label third = new Label(\"Property Name:\");\n Label fourth = new Label(\"Property ID:\");\n Label fifth = new Label(\"Date of checking in:\");\n Label sixth = new Label(\"Date of checking out:\");\n formPane.add(zero, 0, 0);\n formPane.add(first, 0, 1);\n formPane.add(second, 0, 2);\n formPane.add(third, 0, 3);\n formPane.add(fourth, 0, 4);\n formPane.add(fifth, 0, 5);\n formPane.add(sixth, 0, 6);\n \n TextField zeroTF = new TextField();\n zeroTF.setPromptText(\"Enter your full name\");\n formPane.add(setValidityNameLabel(zeroTF), 2, 0);\n \n TextField firstTF = new TextField();\n formPane.add(setValidityNumberLabel(firstTF), 2, 1);\n \n TextField secondTF = new TextField();\n \n TextField thirdTF = new TextField();\n thirdTF.setMinWidth(400);\n thirdTF.setPromptText(\"Enter the name of the property that you want to book\");\n formPane.add(setValidityNameLabel(thirdTF), 2, 3);\n \n TextField fourthTF = new TextField();\n fourthTF.setPromptText(\"Enter the id of the property that you want to book\");\n formPane.add(setValidityNumberLabel(fourthTF), 2, 4);\n \n TextField fifthTF = new TextField();\n fifthTF.setPromptText(\"DD/MM/YYYY\");\n formPane.add(setValidityDateLabel(fifthTF), 2, 5);\n \n TextField sixthTF = new TextField();\n sixthTF.setPromptText(\"DD/MM/YYYY\");\n formPane.add(setValidityDateLabel(sixthTF), 2, 6);\n \n textFields.add(zeroTF);\n textFields.add(firstTF);\n textFields.add(secondTF);\n textFields.add(thirdTF);\n textFields.add(fourthTF);\n textFields.add(fifthTF);\n textFields.add(sixthTF);\n \n \n Button submitButton = new Button(\"submit\");\n submitButton.setOnAction(this::submitButtonClick);\n Button listProperty = new Button(\"Get your property listed!\");\n listProperty.setOnAction(this::listPropertyButtonClick);\n formPane.add(zeroTF, 1, 0);\n formPane.add(firstTF, 1, 1);\n formPane.add(secondTF, 1, 2);\n formPane.add(thirdTF, 1, 3);\n formPane.add(fourthTF, 1, 4);\n formPane.add(fifthTF, 1, 5);\n formPane.add(sixthTF, 1, 6);\n formPane.add(submitButton, 1, 7);\n formPane.add(listProperty, 3, 7);\n \n root.setTop(titleLabel);\n root.setCenter(formPane);\n currentPanel = 1;\n }", "title": "" }, { "docid": "cdc8330a57eec99b0ebfddb92db3787a", "score": "0.51875854", "text": "private void showCalendar() {\n new DatePickerDialog(ReviewSelectScheduleProgramScreen.this, date, calendar\n .get(Calendar.YEAR), calendar.get(Calendar.MONTH),\n calendar.get(Calendar.DAY_OF_MONTH)).show();\n }", "title": "" }, { "docid": "62c61215495979d9e0d8393bbe265737", "score": "0.51860625", "text": "public void setTimeScreen() {\r\n \r\n nifty.gotoScreen(\"timeisup\");\r\n }", "title": "" }, { "docid": "8a2c62fef4fef95d224a3cd9f6b46181", "score": "0.51794165", "text": "AddAppointment(){\r\n }", "title": "" }, { "docid": "602acb839ceb3c1b91630a10b5c99848", "score": "0.5177055", "text": "public void showTimePickerDialog2(View view) {\n DialogFragment newFragment = TimePickerFragment.newInstance(MCTQ_B2_A2_ID, btf);\n newFragment.show(getFragmentManager(), \"timePicker2\");\n }", "title": "" }, { "docid": "1d48929745660283541321cdfa497e4a", "score": "0.51760596", "text": "public EventForm() {\n initComponents();\n }", "title": "" }, { "docid": "3c36b043ab3693fd0e0e2b384909c3ea", "score": "0.5175121", "text": "public FormPrincipal() {\r\n initComponents();\r\n \r\n this.setLocationRelativeTo(null);\r\n \r\n }", "title": "" }, { "docid": "dc6d2ec3d3b818ffd55ef694cfdb09b2", "score": "0.5170784", "text": "public void middlePanel(){\n\t\tArrayList<Meetup> myMeetups = new ArrayList<Meetup>();\n\t\teProduceDatabase.getMyMeetups(currentUser.getEmail(),myMeetups); //get the current user's meetups and put them in myMeetups ArrayList\n\t\t\n\t\tJTextField[][] meetups = new JTextField[myMeetups.size()][6];\n\t\tString[][] meetupData = new String[myMeetups.size()][6];\n\t\tfor(int i = 0; i < meetups.length; i++){\n\t\t\tmeetups[i][0] = new JTextField(\"Meetup Number \"+i);\n\t\t\tmeetups[i][1] = new JTextField(\"Meetup Date \" + i);\n\t\t\tmeetups[i][2] = new JTextField(\"Meetup Time \" + i);\n\t\t\tmeetups[i][3] = new JTextField(\"Meetup Location \" + i);\n\t\t\tmeetups[i][4] = new JTextField(\"Meetup Participants \" + i);\n\t\t\tmeetups[i][5] = new JTextField(\"Meetup Owner \" + i);\n\t\t}\n\t\t\n\t\tJPanel leftSide = new JPanel();\n\t\tJPanel meetup = new JPanel();\n\t\t\n\t\tfor(int i = 0; i < myMeetups.size(); i++)\n\t\t{\n\t\t\tMeetup currMeetup = myMeetups.get(i);\n\t\t\tif(currMeetup != null)\n\t\t\t{\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"hh:mm aa\");\n\t\t\t\tmeetupData[i][0] = currMeetup.getMeetupNum();\n\t\t\t\tmeetupData[i][1] = currMeetup.getDate().toString();\n\t\t\t\tmeetupData[i][2] = sdf.format(currMeetup.getTime()); //convert the time to a more readable format\n\t\t\t\tmeetupData[i][3] = currMeetup.getLocation().toString();\n\t\t\t\tmeetupData[i][4] = currMeetup.getParticipants().get(0).getEmail() + \", \" + currMeetup.getParticipants().get(1).getEmail();\n\t\t\t\tmeetupData[i][5] = currMeetup.getOwner();\n\t\t\t\tSystem.out.println(currMeetup.getOwner().toString());\n\t\t\t}\n\t\t}\n\t\t\n\t\tmeetup.setLayout(new BoxLayout(meetup, BoxLayout.Y_AXIS));\n\t\tJTable table = new JTable(meetupData, new String[] {\"Meeting #\", \"Date\", \"Time\", \"Location\"});\n\t\t\n\t\ttable.setBackground(frame.getBackground()); //sets background color of each cell to the frame's background.\n\t\ttable.setShowVerticalLines(false); //doesn't show vertical gridlines\n\t\ttable.setGridColor(Color.black); //changes the gridline's colors to black\n\t\ttable.setIntercellSpacing(new Dimension(0, 0));\n\t\ttable.setFont(new Font(\"Serif\", Font.PLAIN, 24)); //changes font to be larger\n\t\ttable.setBorder(new MatteBorder(1, 1, 1, 1, Color.black)); //Gives a black border around the table\n\t\ttable.setRowHeight(30); //number of rows to have in the table.\n\t\ttable.setDefaultEditor(Object.class, null); //disables \"double-click to edit\" functionality\n\t\t\n\t\t\n\t\t\n\t\ttable.getSelectionModel().addListSelectionListener(new ListSelectionListener() {\n\t\t\tpublic void valueChanged(ListSelectionEvent event) {\n\t\t\t\tJPanel meetingPanel = new JPanel();\n\t\t\t\tJLabel participantsLabel = new JLabel();\n\t\t\t\tJLabel whenLabel = new JLabel();\n\t\t\t\tJLabel timeLabel = new JLabel();\n\t\t\t\tJLabel locationLabel = new JLabel();\n\t\t\t\tJLabel meetupNumLabel = new JLabel();\n\t\t\t\tJLabel meetupNumLabel2 = new JLabel();\n\t\t\t\tJTextField whenTF = new JTextField(10);\n\t\t\t\tJPanel metPanel = new JPanel();\n\t\t\t\tJLabel participantslbl = new JLabel();\n\t\t\t\tJLabel whenlbl = new JLabel();\n\t\t\t\tJLabel timelbl = new JLabel();\n\t\t\t\tJLabel loclbl = new JLabel();\n\t\t\t\tJTextField participantstxt = new JTextField(10);\n\t\t\t\tJTextField loctxt = new JTextField(10);\n\t\t\t\tSpinnerDateModel model2 = new SpinnerDateModel();\n\t\t\t\tmodel2.setCalendarField(Calendar.MINUTE);\n\t\t\t\tJSpinner spinner= new JSpinner();\n\t\t\t\tspinner.setModel(model2);\n\t\t\t\tspinner.setEditor(new JSpinner.DateEditor(spinner, \"hh:mm a\"));\n\t\t\t\tDate date = myMeetups.get(table.getSelectedRow()).getTime();\n\t\t\t\tspinner.setValue(date);\n\t\t\t\t\n\t\t\t\tspinner.setSize(10,10);\n\t\t\t\tmeetingPanel.setLayout(new GridLayout(0,1));\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tparticipantsLabel.setText(\"Participants: \");\n\t\t\t\twhenLabel.setText(\"When: \");\n\t\t\t\ttimeLabel.setText(\"Time\");\n\t\t\t\tlocationLabel.setText(\"Location:\");\n\t\t\t\tparticipantslbl.setText(\"Participants: \");\n\t\t\t\twhenlbl.setText(\"When: \");\n\t\t\t\ttimelbl.setText(\"Time\");\n\t\t\t\tloclbl.setText(\"Location:\");\n\t\t\t\tmeetupNumLabel.setText(\"Meetup #: \");\n\t\t\t\tmeetupNumLabel2.setText(myMeetups.get(table.getSelectedRow()).getMeetupNum());\n\t\t\t\tString partString = \"\";\n\t\t\t\tfor(int i = 0; i < myMeetups.get(table.getSelectedRow()).getParticipants().size(); i++)\n\t\t\t\t{\n\t\t\t\t\tpartString += myMeetups.get(table.getSelectedRow()).getParticipants().get(i).getEmail();\n\t\t\t\t\tif(i != myMeetups.get(table.getSelectedRow()).getParticipants().size() - 1)\n\t\t\t\t\t\tpartString += \", \";\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tparticipantstxt.setText(partString);\n\t\t\t\tloctxt.setText(myMeetups.get(table.getSelectedRow()).getLocation());\n\t\t\t\tUtilDateModel model = new UtilDateModel(myMeetups.get(table.getSelectedRow()).getDate());\n\t\t\t\tJDatePanelImpl datePanel = new JDatePanelImpl(model);\n\t\t\t\tJDatePickerImpl datePicker = new JDatePickerImpl(datePanel);\n\t\t\t\t\n\t\t\t\tmeetingPanel.add(meetupNumLabel);\n\t\t\t\tmeetingPanel.add(meetupNumLabel2);\n\t\t\t\tmeetingPanel.add(participantsLabel);\n\t\t\t\tmeetingPanel.add(participantstxt);\n\t\t\t\tmeetingPanel.add(whenLabel);\n\t\t\t\tmeetingPanel.add(datePicker);\n\t\t\t\tmeetingPanel.add(timeLabel);\n\t\t\t\tmeetingPanel.add(spinner);\n\t\t\t\tmeetingPanel.add(locationLabel);\n\t\t\t\tmeetingPanel.add(loctxt);\n\t\t\t\t\n\t\t\t\n\t\t\t\tString[] options = new String[] {\"Save Changes\", \"Delete Meeting\", \"Cancel\"}; //options to be displayed as buttons in the dialog\n\t\t\t\tint result = JOptionPane.showOptionDialog(null, meetingPanel, \"Edit Meeting Info\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE, null, options, null);\n\t\t\t\tif(result == JOptionPane.YES_OPTION) //save changes button clicked\n\t\t\t\t{\n\t\t\t\t\tif(!(participantstxt.getText().equals(\"\")) && !(datePicker.getModel().getValue().toString().equals(\"\")) && !loctxt.getText().equals(\"\") )\t\n\t\t\t\t\t{\n\t\t\t\t\t\tjava.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\t\t\t\t\tString foo = sdf.format(new Date(model.getYear()-1900, model.getMonth(), model.getDay(), model2.getDate().getHours(), model2.getDate().getMinutes()));\n\t\t\t\t\t\tSystem.out.println(foo);\n\t\t\t\t\t\tboolean ret = eProduceDatabase.editMeetup(meetupNumLabel2.getText(),participantstxt.getText(),loctxt.getText(), model, model2);\n\t\t\t\t\t\tif(ret)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(frame, \"Meetup has been successfully edited!\");\n\t\t\t\t\t\t\tframe.dispose();\n\t\t\t\t\t\t\tMyMeetingsView mmv = new MyMeetingsView(currentUser);\n\t\t\t\t\t\t\tframe = mmv.frame;\n\t\t\t\t\t\t\tframe.setVisible(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tString emptyFieldMsg = \"Unable to edit meeting. The following fields are empty: \\n\";\n\t\t\t\t\t\tif(participantstxt.getText().equals(\"\")) emptyFieldMsg += \" Participants\\n\";\n\t\t\t\t\t\tif(datePicker.getModel().getValue().toString().equals(\"\")) emptyFieldMsg += \" When\\n\";\n\t\t\t\t\t\tif(loctxt.getText().equals(\"\")) emptyFieldMsg += \" Location\\n\";\n\t\t\t\t\t\tif(participantstxt.getText().equals(\"\")) emptyFieldMsg += \" Participants\\n\";\n\t\t\t\t\t\tif(datePicker.getModel().getValue().toString().equals(\"\")) emptyFieldMsg += \" When\\n\";\n\t\t\t\t\t\tif(loctxt.getText().equals(\"\")) emptyFieldMsg += \" Location\\n\";\n\t\t\t\t\t\tJOptionPane.showMessageDialog(frame, emptyFieldMsg);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(result == JOptionPane.NO_OPTION) //delete button clicked\n\t\t\t\t{\n\t\t\t\t\teProduceDatabase.deleteMeetup(myMeetups.get(table.getSelectedRow()).getMeetupNum());\n\t\t\t\t\tJOptionPane.showMessageDialog(frame, \"Meetup has been successfully deleted!\");\n\t\t\t\t\tframe.dispose();\n\t\t\t\t\tMyMeetingsView mmv = new MyMeetingsView(currentUser);\n\t\t\t\t\tframe = mmv.frame;\n\t\t\t\t\tframe.setVisible(true);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tfor(int i = 0; i < table.getColumnCount(); i++){ //this sets the JTable's text to be centered\n\t\t\tDefaultTableCellRenderer center = new DefaultTableCellRenderer();\n\t\t\tcenter.setHorizontalAlignment(SwingConstants.CENTER);\n\t\t\tTableColumn column = table.getColumnModel().getColumn(i);\n\t\t\tcolumn.setCellRenderer(center);\n\t\t\t\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tcolumn.setMinWidth(75);\n\t\t\t\tcolumn.setPreferredWidth(75);\n\t\t\t\tcolumn.setMaxWidth(100);\n\t\t\t}\n\t\t\tif(i == 1)\n\t\t\t{\n\t\t\t\tcolumn.setMinWidth(75);\n\t\t\t\tcolumn.setPreferredWidth(150);\n\t\t\t\tcolumn.setMaxWidth(200);\n\t\t\t}\n\t\t\telse if(i == 2)\n\t\t\t{\n\t\t\t\tcolumn.setMinWidth(100);\n\t\t\t\tcolumn.setPreferredWidth(150);\n\t\t\t\tcolumn.setMaxWidth(250);\n\t\t\t}\n\t\t}\n\t\tmeetup.add(new JScrollPane(table));\n\t\t\n\t\t\n\t\tleftSide.setLayout(new FlowLayout(FlowLayout.LEFT));\n\t\tmiddlePanel.setLayout(new BorderLayout());\n\t\tmiddlePanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));\n\n\t\tmiddlePanel.add(meetup);\n\t\t\n\t\tmiddlePanel.add(leftSide,BorderLayout.NORTH);\n\t}", "title": "" }, { "docid": "827e588e6f4cd0bae71fe0c3cb5140c8", "score": "0.5166856", "text": "public alewis91_Assignment3_mainForm() {\n initComponents();\n Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();\n int x = (int) ((screen.getWidth() - getWidth()) /2);\n int y = (int) ((screen.getHeight() -getHeight()) /2);\n setLocation(x, y);\n this.setTitle(\"Encrytion Software - alewis91-Assignment3\");\n }", "title": "" }, { "docid": "91922c428932ec8e832b3e2fe1997424", "score": "0.516429", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_hourly, container, false);\n\n ppoint = (EditText)v.findViewById(R.id.pickup);\n pdate = (EditText)v.findViewById(R.id.p_date);\n ptime = (EditText)v.findViewById(R.id.p_time);\n search = (Button)v.findViewById(R.id.search);\n\n pdate.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n showDatePicker();\n }\n });\n\n ptime.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n showTimePicker();\n }\n });\n\n search.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String d,t, pl;\n d = pdate.getText().toString();\n t = ptime.getText().toString();\n pl = ppoint.getText().toString();\n if(!d.isEmpty() || !t.isEmpty() || !pl.isEmpty() ) {\n Intent i = new Intent(getContext(), VehiclesActivity.class);\n i.putExtra(\"pickup_location\", pl);\n i.putExtra(\"date\", d);\n i.putExtra(\"time\", t);\n startActivity(i);\n pdate.setText(\"\");\n ptime.setText(\"\");\n ppoint.setText(\"\");\n }\n else\n {\n Toast.makeText(getContext(), \"Please Select All Fields\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n\n return v;\n }", "title": "" }, { "docid": "6a3402e9a3d80f59f386cbee0ba47299", "score": "0.51626873", "text": "public UserMainForm() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "31bc4a09dc92de9a1f6b5ad3d63a1c4f", "score": "0.5161832", "text": "public void setMeetupTime(LocalTime meetupTime) {\n this.meetupTime = meetupTime;\n }", "title": "" }, { "docid": "5aa49f1dbd43baeb4f13cab8c95e498a", "score": "0.51597357", "text": "private void topPanelEntryOrExitOrView() {\r\n\r\n JLabel label1 = new JLabel(\"Enter the license plate number of the car \");\r\n label1.setFont(font);\r\n JLabel label2 = new JLabel(\"Enter the current time as HH:MM (24-hour clock):\");\r\n label2.setFont(font);\r\n JLabel label3 = new JLabel(\"Enter today's date as MM-DD-YYYY:\");\r\n label3.setFont(font);\r\n\r\n fieldCarLicense = new JTextField(5);\r\n fieldCarTime = new JTextField(5);\r\n fieldCarDate = new JTextField(5);\r\n\r\n topPanel.add(label1);\r\n topPanel.add(fieldCarLicense);\r\n topPanel.add(label2);\r\n topPanel.add(fieldCarTime);\r\n topPanel.add(label3);\r\n topPanel.add(fieldCarDate);\r\n }", "title": "" }, { "docid": "6ff2d96315866463dbfd039adb100afc", "score": "0.5159673", "text": "public CreateEventView(EventModel model) {\n final JFrame frame = new JFrame();\n\n Calendar cal = model.getCal();\n\n SimpleDateFormat currentTime = new SimpleDateFormat(\"hh:mmaa\");\n Calendar formatEnd = new GregorianCalendar();\n formatEnd.setTime(cal.getTime());\n formatEnd.add(Calendar.MINUTE, 30);\n\n currentTime.format(cal.getTime());\n\n final JTextField descField = new JTextField(\"Description here\");\n final JTextField dateField = new JTextField(\n (cal.get(Calendar.MONTH) + 1) + \"/\" + cal.get(Calendar.DAY_OF_MONTH) + \"/\" + cal.get(Calendar.YEAR));\n final JTextField startField = new JTextField(currentTime.format(cal.getTime()));\n final JTextField endField = new JTextField(currentTime.format(formatEnd.getTime()));\n JButton saveButton = new JButton(\"Save\");\n JButton cancelButton = new JButton(\"Cancel\");\n\n cancelButton.addActionListener(new ActionListener() {\n\n @Override\n public void actionPerformed(ActionEvent e) {\n frame.dispose();\n }\n });\n\n // CONTROLLER gets the from the fields and updates the model with a new\n // Event.\n saveButton.addActionListener(new ActionListener() {\n\n @Override\n public void actionPerformed(ActionEvent e) {\n String name = descField.getText();\n String date = dateField.getText();\n String start = startField.getText();\n String end = endField.getText();\n ArrayList<Event> events = model.getEvents();\n\n SimpleDateFormat sf = new SimpleDateFormat(\"MM/dd/yyyyhh:mmaa\");\n\n Date startDate = null;\n try {\n startDate = sf.parse(date + start);\n } catch (ParseException ex) {\n Logger.getLogger(CreateEventView.class.getName()).log(Level.SEVERE, null, ex);\n }\n Date endDate = null;\n try {\n endDate = sf.parse(date + end);\n } catch (ParseException ex) {\n Logger.getLogger(CreateEventView.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n\n Calendar startCal = new GregorianCalendar();\n startCal.setTime(startDate);\n Calendar endCal = new GregorianCalendar();\n endCal.setTime(endDate);\n\n Event newEvent = new Event(name, (GregorianCalendar) startCal, (GregorianCalendar) endCal);\n\n boolean isConflicting = false;\n\n if (newEvent.end.before(newEvent.start) || newEvent.start.equals(newEvent.end)) {\n JOptionPane.showMessageDialog(frame, \"Sorry user, but the End can't come before start!\", \"Time Conflict\",\n JOptionPane.WARNING_MESSAGE);\n isConflicting = true;\n }\n for (Event event : model.getEvents()) { // Display error message\n if (event.compareTo(newEvent) == 0) {\n JOptionPane.showMessageDialog(frame, \"Sorry but the Times can't overlap!\", \"Time Conflict\",\n JOptionPane.WARNING_MESSAGE);\n\n isConflicting = true;\n break;\n }\n }\n\n if (!isConflicting) {\n model.add_event(newEvent);\n\n }\n\n isConflicting = false;\n\n ArrayList<Event> events_list = new ArrayList<Event>();\n\n for (int i = 0; i < events.size(); i++) {\n events_list.add(events.get(i));\n }\n for(int i=0;i<events_list.size();i++)\n {\n System.out.println(i);\n }\n File file = new File(\"src/events.txt\");\n\n if (!file.exists()) {\n try {\n file.createNewFile();\n } catch (IOException element) {\n // TODO Auto-generated catch block\n element.printStackTrace();\n }\n }\n\n // using file writer to write the events to the file\n FileWriter fw = null;\n\n try {\n fw = new FileWriter(file.getAbsoluteFile());\n\n } catch (IOException e3) {\n\n // TODO Auto-generated catch block\n e3.printStackTrace();\n }\n BufferedWriter bw = new BufferedWriter(fw);\n\n\n for (Event s : events_list) {\n try {\n bw.write(s.getEvent_String(s) + System.getProperty(\"line.separator\"));\n } catch (IOException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n }\n try {\n bw.close();\n } catch (IOException e2) {\n // TODO Auto-generated catch block\n e2.printStackTrace();\n }\n\n\n frame.dispose();\n }\n });\n\n JPanel panel = new JPanel();\n\n panel.add(descField);\n panel.add(dateField);\n panel.add(startField);\n panel.add(endField);\n panel.add(saveButton);\n panel.add(cancelButton);\n\n frame.add(panel);\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "6008ba59b1110470f8aa7e5e99205429", "score": "0.5157972", "text": "public void run()\r\n { \r\n displayMeeting(false);\r\n }", "title": "" }, { "docid": "59986391ca34d03ddd08189b600822b4", "score": "0.51555526", "text": "public PatientOptionFrame() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"SMART HEALTH PREDICTION SYSTEM\");\n lblUsername.setText(\"Hello \"+UserProfile.getUsername());\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "394aa6ed40fdf6a015ad9bfc64f45889", "score": "0.5155053", "text": "public SatisfactionView() {\n initComponents();\n setLocationRelativeTo(null);\n this.setVisible(true);\n }", "title": "" }, { "docid": "2cc2a3e2a59a9512f3b041c6cc2f27ff", "score": "0.5154029", "text": "public void actionPerformed(ActionEvent e) {\n if (isValid()) {\n workout.getDate().setYear(Integer.parseInt(year.getText()));\n workout.getDate().setMonth(Integer.parseInt(month.getText()));\n workout.getDate().setDay(Integer.parseInt(day.getText()));\n workout.setName(name.getText());\n\n gui.createViewWorkoutsScreen();\n gui.createViewWorkoutScreen(workout);\n new ViewWorkout(gui, workout);\n gui.getCards().show(gui.getContainer(), \"view workout\");\n }\n }", "title": "" }, { "docid": "2fb55092f4ceb44b08c158a31ce6e3c0", "score": "0.5151597", "text": "public void showTimePickerDialog4(View view) {\n DialogFragment newFragment = TimePickerFragment.newInstance(MCTQ_B2_A8_ID, lef);\n newFragment.show(getFragmentManager(), \"timePicker4\");\n }", "title": "" }, { "docid": "9e7e0cc2b0cadd6739d3c2a78eebd08a", "score": "0.51475203", "text": "public MainForm() {\n initComponents();\n setLocationRelativeTo(null);\n \n \n \n \n }", "title": "" }, { "docid": "63d1cc6c443108407d02e54cb15153c8", "score": "0.514698", "text": "public MainForm() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "92134ceed0b9e55ed00c3a6083f40bc0", "score": "0.51436347", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n weight = new javax.swing.JTextField();\n jLabel9 = new javax.swing.JLabel();\n patientid = new javax.swing.JTextField();\n height = new javax.swing.JTextField();\n bp = new javax.swing.JTextField();\n jLabel10 = new javax.swing.JLabel();\n jLabel11 = new javax.swing.JLabel();\n jLabel12 = new javax.swing.JLabel();\n jLabel13 = new javax.swing.JLabel();\n jLabel14 = new javax.swing.JLabel();\n cholesterol = new javax.swing.JTextField();\n visit = new javax.swing.JTextField();\n diag = new javax.swing.JTextField();\n doctornote = new javax.swing.JTextField();\n labnote = new javax.swing.JTextField();\n create = new javax.swing.JButton();\n clear = new javax.swing.JButton();\n exit = new javax.swing.JButton();\n date = new com.toedter.calendar.JDateChooser();\n listDoctor = new javax.swing.JComboBox();\n location = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Lucida Grande\", 0, 15)); // NOI18N\n jLabel1.setText(\"Create Records\");\n\n jLabel3.setText(\"Service Date\");\n\n jLabel4.setText(\"Patient ID\");\n\n jLabel5.setText(\"Doctor\");\n\n jLabel6.setText(\"Location\");\n\n jLabel7.setText(\"Height\");\n\n jLabel8.setText(\"Weight\");\n\n jLabel9.setText(\"Blood Pressure\");\n\n jLabel10.setText(\"Cholesterol\");\n\n jLabel11.setText(\"Reason For Visit\");\n\n jLabel12.setText(\"Doctor Diagnosis\");\n\n jLabel13.setText(\"Doctor's Notes\");\n\n jLabel14.setText(\"Lab Notes\");\n\n create.setText(\"Create\");\n create.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n createActionPerformed(evt);\n }\n });\n\n clear.setText(\"Clear\");\n clear.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n clearActionPerformed(evt);\n }\n });\n\n exit.setText(\"Exit\");\n exit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n exitActionPerformed(evt);\n }\n });\n\n listDoctor.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n listDoctorItemStateChanged(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3)\n .addComponent(jLabel8)\n .addComponent(jLabel10)\n .addComponent(jLabel12)\n .addComponent(jLabel4)\n .addComponent(jLabel7))\n .addGap(46, 46, 46)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(weight)\n .addComponent(cholesterol)\n .addComponent(diag, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(date, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(height, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(62, 62, 62)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6)\n .addComponent(jLabel5)\n .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel11)\n .addComponent(jLabel13)\n .addComponent(jLabel14))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(doctornote)\n .addComponent(visit, javax.swing.GroupLayout.PREFERRED_SIZE, 222, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(labnote)\n .addComponent(bp, javax.swing.GroupLayout.DEFAULT_SIZE, 224, Short.MAX_VALUE)\n .addComponent(listDoctor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addContainerGap(14, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGap(247, 247, 247)\n .addComponent(create)\n .addGap(27, 27, 27)\n .addComponent(clear)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGap(272, 272, 272)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(131, 131, 131)\n .addComponent(exit, javax.swing.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE)\n .addGap(14, 14, 14))\n .addGroup(layout.createSequentialGroup()\n .addGap(424, 424, 424)\n .addComponent(location, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap(211, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(exit))\n .addGap(14, 14, 14)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(listDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addComponent(jLabel3))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(location, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(63, 63, 63)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(date, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel9)\n .addComponent(bp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(height, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8)\n .addComponent(weight, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel11)\n .addComponent(visit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel10)\n .addComponent(cholesterol, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel13)\n .addComponent(doctornote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel12)\n .addComponent(diag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(labnote, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel14))\n .addGap(85, 85, 85)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(create)\n .addComponent(clear))))\n .addContainerGap(41, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "eaf1f561f915a99d99d58c971bcb9d5f", "score": "0.51413727", "text": "private void displayResourcesTechnologyConsultation() {\n\t\t// cblupo, I changed Go back to '1' because I used 1 in earlier method\n\t\tsop(\"(1) Go back\\n\"+\n\t\t\t\"(2) Schedule new appointment\\n\"+\n\t\t\t\"(3) View past appointments\"\n\t\t);\n\t\tint res = console.nextInt();\n\t\t\n\t\tswitch(res){\n\t\t\tcase 1:{\n\t\t\t\tdisplayHomepage();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 2:{\n\t\t\t\t//schedule new appointment\n\t\t\t\tString location;\n\t\t\t\tString date1, date2, date3;\n\t\t\t\tString topic;\n\t\t\t\tsop(\"enter desired library (Hunt OR Hill)\");\n\t\t\t\tlocation = console.next();\n\t\t\t\tsop(\"enter first desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\"+\n\t\t\t\t\t\"example '2003-05-03,21:02:44'\");\n\t\t\t\tdate1 = console.next();\n\t\t\t\tsop(\"enter second desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\"+\n\t\t\t\t\t\"example '2003-05-03,21:02:44'\");\n\t\t\t\tdate2 = console.next();\n\t\t\t\tsop(\"enter third desired reservation date, must be in this format YYYY-MM-DD,HH24:MM:SS\"+\n\t\t\t\t\t\"example '2003-05-03,21:02:44'\");\n\t\t\t\tdate3 = console.next();\n\t\t\t\tsop(\"enter the amnout of time you will need help (in hours)\");\n\t\t\t\tint duration = console.nextInt();\n\t\t\t\tduration = 1; //because default\n\t\t\t\tsop(\"enter the topic you need help with\");\n\t\t\t\ttopic = console.next();\n\t\t\t\tTimestamp d1s = strToTs(date1);\n\t\t\t\tTimestamp d1e = addHours(d1s, duration);\n\t\t\t\tTimestamp d2s = strToTs(date2);\n\t\t\t\tTimestamp d2e = addHours(d2s, duration);\n\t\t\t\tTimestamp d3s = strToTs(date3);\n\t\t\t\tTimestamp d3e = addHours(d3s, duration);\n\t\t\t\tdb.requestTechnologyConsultation(currentID, location, d1s, d1e, d2s, d2e, d3s, d3e, topic);\n\t\t\t\tdisplayHomepage();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 3:{\n\t\t\t\t//view past appointments\n\t\t\t\tsop(db.displayTechnologyConsultations(currentID));\n\t\t\t\tsop(\"Enter the consultation ID to leave feedback for that consultation\");\n\t\t\t\tsop(\"Enter 0 to go back\");\n\t\t\t\tString resp = console.next();\n\t\t\t\tif(resp.equals(\"0\")){\n\t\t\t\t\tdisplayHomepage();\n\t\t\t\t} else {\n\t\t\t\t\tsop(\"Enter feedback for consultation \" + resp);\n\t\t\t\t\tString feedback = console.next();\n\t\t\t\t\tif(db.addTechnologyConsultationFeedback(resp, feedback)){\n\t\t\t\t\t\tsop(\"Thanks for the feedback!\");\n\t\t\t\t\t\tdisplayHomepage();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsop(\"leaving feedback failed.\");\n\t\t\t\t\t\tdisplayHomepage();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault:{\n\t\t\t\tsop(\"failed. Enter one of the given numbers.\");\n\t\t\t\tdisplayHomepage();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "0996e7fcf2925a49894e85623d325c7c", "score": "0.51401025", "text": "public Times() {\n initComponents();\n }", "title": "" }, { "docid": "c5f6ae48b9fd3905251644eddcc0c49e", "score": "0.5135392", "text": "public ShowPost() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "c187099105e58dc4e9408dab3526fc96", "score": "0.5133503", "text": "public SchoolHubTarea() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "c1a63388bbcc107b7e6c0efd843d7a68", "score": "0.5126174", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n patientid = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n exit = new javax.swing.JButton();\n CreateAppt = new javax.swing.JButton();\n Clear = new javax.swing.JButton();\n jDateChooser1 = new com.toedter.calendar.JDateChooser();\n listDoctor = new javax.swing.JComboBox();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"New Appointment\");\n setName(\"createAppointment\\n\"); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Lucida Grande\", 0, 15)); // NOI18N\n jLabel1.setText(\"New Appointment \");\n\n jLabel2.setText(\"Patient ID\");\n\n jLabel3.setText(\"Doctor ID \");\n\n jLabel4.setText(\"Appointment\");\n\n exit.setText(\"Exit\");\n exit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n exitActionPerformed(evt);\n }\n });\n\n CreateAppt.setText(\"Create\");\n CreateAppt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CreateApptActionPerformed(evt);\n }\n });\n\n Clear.setText(\"Clear\");\n Clear.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ClearActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(259, 259, 259)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 194, Short.MAX_VALUE)\n .addComponent(exit)\n .addGap(23, 23, 23))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(176, 176, 176)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel4)\n .addComponent(jLabel3)))\n .addGroup(layout.createSequentialGroup()\n .addGap(234, 234, 234)\n .addComponent(CreateAppt, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(16, 16, 16)\n .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(Clear, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(patientid, javax.swing.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE)\n .addComponent(listDoctor, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addContainerGap(160, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(21, 21, 21)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(exit))\n .addGap(19, 19, 19)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(patientid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(listDoctor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(30, 30, 30)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4)\n .addComponent(jDateChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 39, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(CreateAppt)\n .addComponent(Clear, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(48, 48, 48))\n );\n\n pack();\n }", "title": "" }, { "docid": "d38e9e4724b3906b003dee6b770a56e5", "score": "0.51221365", "text": "public TournamentConfigurationView() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "0ce34867cffb144ef5296bac0e6912c9", "score": "0.5120062", "text": "public VehicleDepartureForm() {\n initComponents();\n \n }", "title": "" }, { "docid": "6d5a5e8a26e89b1a7398e75eb53a6cd5", "score": "0.5111308", "text": "public fragment_dialog_for_user_lock_set_time_am_pm() {\n }", "title": "" }, { "docid": "380fea30e26b078689ab18ad9c3491b3", "score": "0.5104917", "text": "public Form_Locacao() {\n initComponents();\n }", "title": "" }, { "docid": "49da2dc59680e052a62ee57b40a42763", "score": "0.51035136", "text": "public FormMain() {\n initComponents();\n adjustCurrentUser(Session.getInstance().getCurrentUser());\n setLocationRelativeTo(null);\n setExtendedState(MAXIMIZED_BOTH);\n \n \n }", "title": "" }, { "docid": "0c4f68b0153c5a76be9d35f2f02b5720", "score": "0.51017743", "text": "public FrameCalendario() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "e9df872ab712841e842104ed3b006d86", "score": "0.5099501", "text": "private void initView() {\r\n\t\t//set up our initial view of the pane\r\n\t\t//Add the ID texfield with label to the pane\r\n\t\tJPanel p = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task ID: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskID());\r\n\t\tthis.add(p);\r\n\t\t//add the Task name textfield to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Name: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskTitle());\r\n\t\tthis.add(p);\r\n\t\t//add the Task category JComboBox to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Category: \", SwingConstants.LEFT));\r\n\t\tp.add(getCategory());\r\n\t\tthis.add(p);\r\n\t\t//add the Task start date JSpinner to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Start Date: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskStartSpinner());\r\n\t\tthis.add(p);\r\n\t\t//add the Task due date JSpinner to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Due Date: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskDueSpinner());\r\n\t\tthis.add(p);\r\n\t\t//add the Task completed date JSpinner to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Completion Date: \", SwingConstants.LEFT));\r\n\t\tp.add(getTaskCompletedSpinner());\r\n\t\tthis.add(p);\r\n\t\t//add the Task completed status checkbox to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Completion Status: \", SwingConstants.LEFT));\r\n\t\tp.add(getComplete());\r\n\t\tthis.add(p);\r\n\t\t//add the Task details JTextArea to the pane\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(new JLabel(\"Task Details: \", SwingConstants.LEFT));\r\n\t\tthis.add(p);\r\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\r\n\t\tp.add(getTaskDetails());\r\n\t\tthis.add(p);\r\n\t}", "title": "" }, { "docid": "007a998202bdfef1f4a8e5e9c9169e2a", "score": "0.5092899", "text": "public int showTimeDialog()\n\t{\n\t\treturn showDialog(owner, layoutPanel, SwingLocale.getString(\"time_selector\"), IconFactory.getSwingIcon(\"component/calendar_48.png\"));\n\t}", "title": "" }, { "docid": "f38c80cbbed1ff072278a0d0a4732caf", "score": "0.5091158", "text": "public CreateReservationJFrame() {\n initComponents();\n populateHotels();\n populateRoomTypes();\n }", "title": "" }, { "docid": "826441570923542dc467d84d401c1f69", "score": "0.50856286", "text": "public FlightTravelAgencyGUI() \n {\n initComponents();\n }", "title": "" }, { "docid": "ef7bebacf5c8358d783c008bc008d258", "score": "0.50854146", "text": "private void initUi() {\n\t\tArrayList<Task> todaysTasks = getTodayTasks(TaskManager.getInstance().getTaskList());\n\t\t//If there are no tasks for today show an error\n\t\tif (todaysTasks.size() == 0) {\n\t\t\tJOptionPane.showMessageDialog(PanicController.getInstance().getFrame(), I18.getInstance().properties.getString(\"noTasksToday\"), I18.getInstance().properties.getString(\"noTasksTodayTitle\"), JOptionPane.INFORMATION_MESSAGE);\n\t\t}\n\t\telse {\n\t\t\t//If there already is a frame showing, remove it and show a new one\n\t\t\tif (today == null) {\n\t\t\t\ttoday = new JFrame();\n\t\t\t}\n\t\t\telse {\n\t\t\t\ttoday.dispose();\n\t\t\t\ttoday = new JFrame();\n\t\t\t}\n\t\t\ttoday.setTitle(I18.getInstance().properties.getString(\"todaysTasks\"));\n\t\t\t\n\t\t\t//Create a panel to use as contentpane\n\t\t\tJPanel panel = new JPanel();\n\t\t\t\n\t\t\t//Create a view for the tasks\n\t\t\ttasks = new JList(todaysTasks.toArray());\n\t\t\ttasks.setSize(300, 0);\n\t\t\trenderer = new TasksTodayRenderer();\n\t\t\ttasks.setCellRenderer(renderer);\n\t\t\ttasks.addMouseListener(new TodayTasksMouseAdapter());\n\t\t\t//Add it to the contentpane\n\t\t\tpanel.add(tasks);\n\t\t\t\n\t\t\t//Get the mainframe for positioning calculations\n\t\t\tJFrame mainFrame = PanicController.getInstance().getFrame();\n\t\t\t\n\t\t\t//Set the contentpane to the JPanel\n\t\t\ttoday.setContentPane(panel);\n\t\t\ttoday.pack();\n\t\t\ttoday.setSize(200,todaysTasks.size()*20 + 30);\n\t\t\ttoday.setResizable(false);\n\t\t\t\n\t\t\t//Use the mainFrame to calculate position to appear in the middle\n\t\t\ttoday.setLocation(mainFrame.getLocation().x + mainFrame.getWidth()/2 - today.getWidth()/2, \n\t\t\t\t\t mainFrame.getLocation().y + mainFrame.getHeight()/2 - today.getHeight()/2);\n\t\t\ttoday.setVisible(true);\n\t\t\t//Lastly, make sure you get focus\n\t\t\ttoday.requestFocus();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "bc659f1945bfa18b8a7d50b928b7b955", "score": "0.50814104", "text": "public ActionForward start(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)\n throws Exception {\n\n Map<String, String> fieldValues = new HashMap<String, String>();\n fieldValues.put(\"id\", request.getParameter(\"scheduleId\"));\n List<CommitteeScheduleMinuteBase<?,?>> permittedMinutes = new ArrayList<CommitteeScheduleMinuteBase<?,?>>();\n CommitteeScheduleBase commSchedule = (CommitteeScheduleBase) getBusinessObjectService().findByPrimaryKey(getCommitteeScheduleBOClass(), fieldValues);\n List<CommitteeScheduleMinuteBase> minutes = commSchedule.getCommitteeScheduleMinutes();\n \n // use the entry type comparator to sort the minutes \n Collections.sort(minutes, CommitteeScheduleMinuteBase.entryTypeComparator);\n \n for (CommitteeScheduleMinuteBase minute : minutes) {\n if (getReviewerCommentsService().getReviewerCommentsView(minute)) {\n permittedMinutes.add(minute);\n } \n }\n commSchedule.setCommitteeScheduleMinutes(permittedMinutes);\n ((MeetingFormBase) form).setReadOnly(\"true\".equals(request.getParameter(\"readOnly\")));\n ((MeetingFormBase) form).getMeetingHelper().setCommitteeSchedule(commSchedule);\n if ( !((MeetingFormBase) form).getMeetingHelper().hasViewModifySchedulePermission() ) {\n // same exception as of checkauthorization of kualiaction\n throw new AuthorizationException(GlobalVariables.getUserSession().getPerson().getPrincipalName(), \"start\", this\n .getClass().getSimpleName());\n }\n\n getMeetingService().populateFormHelper(((MeetingFormBase) form).getMeetingHelper(), commSchedule,\n getScheduleLineNumber(request, commSchedule));\n return mapping.findForward(Constants.MAPPING_BASIC);\n }", "title": "" }, { "docid": "aed552e4ee806c54775e7a453ccf1b33", "score": "0.5080472", "text": "private void initView(Meeting meet) {\n\t\t\n\n\t\ttvCreateDate = (TextView) findViewById(R.id.tv_meeting_detail_date);\n\t\ttvApplyName = (TextView) findViewById(R.id.tv_meeting_detail_applyname);\n\t\ttvInviteName = (TextView) findViewById(R.id.tv_meeting_detail_invitename);\n\t\ttvState = (TextView) findViewById(R.id.tv_meeting_detail_state);\n\t\ttvApplyContent = (TextView) findViewById(R.id.tv_meeting_detail_applytext);\n\t\t\n\t\t\n\t\tbtnAgree = (Button) findViewById(R.id.btn_meeting_detail_agree);\n\t\tbtnRefuse = (Button) findViewById(R.id.btn_meeting_detail_refuse);\n\t\tbtnAgree.setOnClickListener(this);\n\t\tbtnRefuse.setOnClickListener(this);\n//\t\tLog.i(\"meeting\", \"时间:\"+meet.getCreateAt());\n//\t\tLog.i(\"meeting\", \"申请人姓名:\"+meet.getApplyUser().getNickName());\n//\t\tLog.i(\"meeting\", \"受邀人姓名:\"+meet.getInviteUser().getNickName());\n//\t\tLog.i(\"meeting\", \"状态:\"+meet.getState());\n//\t\tLog.i(\"meeting\", \"留言:\"+meet.getApplyText());\n//\t\t\n//\t\ttvCreateDate.setText(meet.getCreatedAt());\n//\t\ttvApplyName.setText(meet.getApplyUser().getNickName());\n//\t\ttvInviteName.setText(meet.getInviteUser().getNickName());\n//\t\ttvApplyContent.setText(meet.getApplyText());\n//\t\ttvState.setText(meet.getState()+\"\");\n//\t\t\n//\t\tif (inviteUserId!=null && inviteUserId.equals(BmobUser.getCurrentUser(this, User.class).getObjectId())) {\n//\t\t\tif( meet.getState()==1){\n//\t\t\t\ttvState.setText(\"2\");\n//\t\t\t\tupdate(meet,2);\n//\t\t\t}\n//\t\t} else {\n//\t\t\ttvState.setText(meet.getState() + \"\");\n//\t\t\tbtnAgree.setVisibility(View.GONE);\n//\t\t\tbtnRefuse.setVisibility(View.GONE);\n//\t\t}\n\t\t\n\t}", "title": "" } ]
5a15fc4f9b819b62ce6ec9ab3a92e8d8
FileReader reader = new FileReader(path);
[ { "docid": "958f955b73a1d7dbf9a7a2786f79f74b", "score": "0.5685541", "text": "public static void readFile(String path) throws Exception{\n\t\tFile file = new File(path);\r\n\t\tSystem.out.println(file.getAbsolutePath());\r\n\t\tScanner scanner = new Scanner(file);\r\n\t\twhile (scanner.hasNext())\r\n\t\t\tSystem.out.println(scanner.next());\r\n\t\t\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "3606b494b516c7c63adf516441ec28e7", "score": "0.6963669", "text": "public void readFile(String filepath);", "title": "" }, { "docid": "335b05a9cbe2d55afea6fecadf195a7e", "score": "0.6913169", "text": "public static String readFromFile(final InputStream path) throws IOException {\r\n InputStreamReader fr = null;\r\n BufferedReader br = null;\r\n StringBuilder stringBuilder = new StringBuilder();\r\n\r\n try {\r\n fr = new InputStreamReader(path);\r\n br = new BufferedReader(fr);\r\n\r\n String line;\r\n while ((line = br.readLine()) != null) {\r\n stringBuilder.append(line).append(\"\\n\");\r\n }\r\n } finally {\r\n if (br != null) {\r\n try {\r\n br.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n if (fr != null) {\r\n try {\r\n fr.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }\r\n\r\n return stringBuilder.toString();\r\n}", "title": "" }, { "docid": "3d81b1965b5f40e709b6fe7c5c71df0f", "score": "0.6867099", "text": "@Override\r\n\tpublic void readFromFile() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3d81b1965b5f40e709b6fe7c5c71df0f", "score": "0.6867099", "text": "@Override\r\n\tpublic void readFromFile() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a77f5c3ce96cfb1773f6456af5879e5a", "score": "0.6786642", "text": "public InputStream openFileRead(String name)\r\n throws IOException;", "title": "" }, { "docid": "4f01769ef30ed312cfaf40fd4838b9c2", "score": "0.6717148", "text": "File file(String path);", "title": "" }, { "docid": "4e1d005b58a9a7c7c32b011412a7bf9f", "score": "0.6675846", "text": "public static String readFromFile(final File path) throws IOException {\r\n FileInputStream fis = null;\r\n try {\r\n fis = new FileInputStream(path);\r\n return readFromFile(fis);\r\n } finally {\r\n if (fis != null) {\r\n fis.close();\r\n }\r\n }\r\n}", "title": "" }, { "docid": "0d876cc7d505e8bbd21b34b05384fbf0", "score": "0.66697884", "text": "InputStream open(String path);", "title": "" }, { "docid": "91f76a9a758725c65a4da72873b4fc1b", "score": "0.6619909", "text": "public void readFile();", "title": "" }, { "docid": "0da93ed74d216be58e1e4d1732101662", "score": "0.66119194", "text": "@Override\r\n\tpublic void readFromFile(String fileName) {\n\t\t\r\n\t}", "title": "" }, { "docid": "0a50433e4cebe0c30268762d99dd5a53", "score": "0.65912193", "text": "BufferedReader readFile() {\n\t\tPath path = Paths.get(properties.getProperty(\"uri\"));\n\t\tBufferedReader reader = null;\n\t\ttry {\n\t\t\treader = Files.newBufferedReader(path);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"error while opening file\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn reader;\n\t}", "title": "" }, { "docid": "bef0b4887a5c34b4ad6f9a976a10718e", "score": "0.65637857", "text": "void read(Reader reader) throws IOException, ClassNotFoundException;", "title": "" }, { "docid": "68b96d36ab8ed67872c7836cade7d35d", "score": "0.6502057", "text": "private BufferedReader getFileReader() {\n \tBufferedReader reader = null;\n JFileChooser fileOpen = new JFileChooser();\n fileOpen.showOpenDialog(null);\n FileReader fileRead;\n\t\ttry {\n\t\t\tfileRead = new FileReader(fileOpen.getSelectedFile().getPath());\n\t\t\treader = new BufferedReader(fileRead);\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n return reader;\n }", "title": "" }, { "docid": "7ee4b5efeb4a0a3fa2eccaf3c66f0f24", "score": "0.6485486", "text": "public void veryComplexMethod() throws Exception {\n FileReader fr=new FileReader(\"C:\\\\s.txt\");\n }", "title": "" }, { "docid": "a4f17a32ecdca4201900a51e9824f208", "score": "0.6460091", "text": "private static ClassReader parserFile(Path path) throws IOException {\n\t\treturn new ClassReader(parsingPathToByte(path));\t\t\n\t}", "title": "" }, { "docid": "04e1dda0672082a40677d430be46bd3e", "score": "0.6459547", "text": "public static void solution6a() {\n BufferedReader in = null;\n try {\n in = Files.newBufferedReader(path, StandardCharsets.UTF_8);\n } catch (IOException ex) {\n System.err.println(\"Caught IOException: \" + ex.getMessage());\n } finally {\n try {\n if (in != null) {\n in.close();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "6e0fcab601b8b11c3e435f583d899352", "score": "0.64472526", "text": "private final static synchronized File loadFile(String path) {\n\t\treturn new File(path);\n\t}", "title": "" }, { "docid": "a0eeb05f619056102896359b531fc6c5", "score": "0.6414663", "text": "public InputStream openFile(String filename);", "title": "" }, { "docid": "f64bd001af614064994a1b38e6520344", "score": "0.63439924", "text": "long openFile(String path) throws IOException;", "title": "" }, { "docid": "bd7603b2eee4d1dd53c9436ed50f6ba0", "score": "0.6330531", "text": "static private BufferedReader buildBufferedReader(String path) throws IOException {\n return new BufferedReader(new InputStreamReader(new FileInputStream(path)));\n }", "title": "" }, { "docid": "45823a6a0954f70fbd52c5ae9105b046", "score": "0.6285115", "text": "T load(String path);", "title": "" }, { "docid": "9ac3e6069d541b9c98aa7a9228d14d35", "score": "0.62643224", "text": "public void loadFromFile(String file);", "title": "" }, { "docid": "d10d582599deeea5e52ea74de45cc0ac", "score": "0.62192106", "text": "public void loadFromFile(String path){\r\n\t\t\r\n\t\ttry {\r\n\t\t\tm_reader = new BufferedReader(new FileReader(path));\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\r\n\t\tnextLine();\r\n\t\r\n\t\twhile(m_line != null){\r\n\t\t\tprocess();\r\n\t\t\tnextLine();\r\n\t\t}\r\n\t\r\n\t}", "title": "" }, { "docid": "212c5afa4c4ecd585f988609c2675bee", "score": "0.62048566", "text": "public void load(File file) throws FileNotFoundException;", "title": "" }, { "docid": "e138a20e037afe10a27ad49d5363dade", "score": "0.6191414", "text": "public static BufferedReader create_reader(String filename){\n\t\tBufferedReader in = null;\n\t\ttry{ // If an exception is raised, return NULL\n\t\t\tFile inFile = new File(filename);\n\t\t\tFileInputStream fis = new FileInputStream(inFile);\n\t\t\tDataInputStream dis = new DataInputStream(fis);\n\t\t\tInputStreamReader isr = new InputStreamReader(dis);\n\t\t\tin = new BufferedReader(isr);\n\t\t} catch (Exception e){\n\t\t\tSystem.err.println(\"Error opening reader over file: \" + filename);\n\t\t} // And output a message concerning nature of error\n\t\treturn in;\n\t}", "title": "" }, { "docid": "01f9566d36acaf396c66b4e04771ae61", "score": "0.6180029", "text": "public static void solution6c() {\n try (BufferedReader in = Files.newBufferedReader(path, StandardCharsets.UTF_8)) {\n } catch (IOException ex) {\n System.err.println(\"Caught IOException: \" + ex.getMessage());\n }\n }", "title": "" }, { "docid": "12fdb6ce0439aec6ef6ec1b6d7cd489a", "score": "0.61427474", "text": "InputStream openFile(String s);", "title": "" }, { "docid": "0b667a94f87a634e2d91001f843200c5", "score": "0.6134117", "text": "public Excel_Reader(String path) {\n \tthis.path = path;\t\n\ttry {\n\tfis = new FileInputStream(path);\n\tworkbook = new XSSFWorkbook(fis);\n\tsheet = workbook.getSheetAt(0);\n\tfis.close();\n\t} catch (Exception e) {\n\te.printStackTrace();\n\t}\n\t}", "title": "" }, { "docid": "a4418acf6b802f212f03426eadffcb2b", "score": "0.6105897", "text": "public abstract void load(String fileName);", "title": "" }, { "docid": "389ee7b70906bf6b5a6ff5034a6dd126", "score": "0.6103778", "text": "public StringsFromFile(java.io.Reader reader) {\r\n this.reader = reader;\r\n }", "title": "" }, { "docid": "55319815d2c3335b011dbd9d0cc385ba", "score": "0.609754", "text": "public JLineReader(File file){\t\t\r\n\t\tthis.file = file;\r\n\t}", "title": "" }, { "docid": "88b18e49faf09d976139f3299e00bac8", "score": "0.6061282", "text": "private static String readFile(String path) \n\t{\n\t\t\t byte[] encoded;\n\t\t\t String s = \"\";\n\t\t\ttry {\n\t\t\t\tencoded = Files.readAllBytes(Paths.get(path));\n\t\t\t\ts = new String(encoded);\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t return s;\n\t}", "title": "" }, { "docid": "4f7f73f9b045df5bc79af037af9de0d3", "score": "0.6049039", "text": "File file();", "title": "" }, { "docid": "f5de186e473df5d257b879b46ecf8831", "score": "0.6035793", "text": "Reader obtainReader();", "title": "" }, { "docid": "7000ecdf120d71ad3bde5f0a61767b0f", "score": "0.60335785", "text": "public abstract void read(Vector<String> filename);", "title": "" }, { "docid": "ffe07b5f0614eae47b229715af22b754", "score": "0.6025682", "text": "void readFiles() {\n\n\n }", "title": "" }, { "docid": "bc92b617c1fb804355801de1d0bcff90", "score": "0.6022309", "text": "public String fileRead(String path) {\n\t\tclassLineNum c=new classLineNum();\r\n\t\t\r\n\t\treturn c.readFilex(path);\r\n\t}", "title": "" }, { "docid": "ecf040d6f2b7cfb4d9210b076782158c", "score": "0.6019575", "text": "public ReadFileManager(){\n\t\t\n\t}", "title": "" }, { "docid": "bc517e045bf8a63495359bceae8eb923", "score": "0.6006374", "text": "@Override\n public File getFileFromPath(String path) {\n return new File(path);\n }", "title": "" }, { "docid": "0742dbcb0b3ae938a9aa357fe373f4b7", "score": "0.6003317", "text": "public Object read(String path) {\n \treturn null;\r\n }", "title": "" }, { "docid": "3acbae06b375b3ba3dd6230f10c2b075", "score": "0.5998436", "text": "public static String read(String fileName) {\n StringBuilder sb = new StringBuilder(\"\"); \n if (exists(fileName)){\n File file = new File(fileName);\n try {\n BufferedReader in = new BufferedReader(new FileReader( file.getAbsoluteFile()));\n try {\n String s;\n while ((s = in.readLine()) != null) {\n sb.append(s);\n sb.append(\"\\n\");\n }\n } finally {\n in.close();\n }\n } catch(IOException e) {\n throw new RuntimeException(e);\n }\n }\n return sb.toString();\n}", "title": "" }, { "docid": "835e49f422d4c6ab6c06d3eb5a8700ee", "score": "0.599557", "text": "public FileReader(Player player)\n {\n this.player = player;\n analyzeLevelFiles();\n }", "title": "" }, { "docid": "80e6a279962f4e09dd5b766bf564becc", "score": "0.5986098", "text": "private void loadFromDisk(String filename) throws IOException {\n try {\n Reader r = new FileReader(filename);\n load(r);\n\n //Convert FileNotFoundException to IOException to conform with constructor throws clause\n } catch (FileNotFoundException e) {\n throw new IOException(\"No file could be found at \"+filename);\n }\n }", "title": "" }, { "docid": "92eef8e705f3a35a78cbd4479a72ee3a", "score": "0.5982226", "text": "public static void ReadFileToConsole(String filePath) throws FileNotFoundException\n {\n FileReader f = new FileReader(filePath);\n //...do something with it...\n }", "title": "" }, { "docid": "e934d67a8a0110f15add7b139cdb8e73", "score": "0.5971349", "text": "public Reader(String filepath) {\n\t\t\n\t\tfile = new File(filepath);\n\t\ttry {\n\t\t\treader = new FileReader(file);\n\t\t\tbufferedReader = new BufferedReader(reader);\n\t\t\tfileOpened = true;\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"Database failed to load\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "70a35a0ee919b9ef427fac8ab4daa7e6", "score": "0.594711", "text": "public IReader getReader(String path) throws IllegalArgumentException\n {\n String extension = path.substring(path.lastIndexOf('.')+1);\n \n switch(extension)\n {\n case \"xlsx\":\n return new ExcelReader();\n case \"xls\":\n return new ExcelReader();\n case \"csv\":\n return new CSVReader();\n default: \n throw new IllegalArgumentException(\"The filetype '\"+extension+\"' is not valid\");\n }\n \n }", "title": "" }, { "docid": "4462e0b2a05f8b725a389274b75a2a2f", "score": "0.5939305", "text": "public InputStream openFileReadOrNull(String name);", "title": "" }, { "docid": "486dd4d34bb8209e861810f1f02860fd", "score": "0.59358656", "text": "private static String usingBufferedReader(String filePath) {\n\t\t\n\t StringBuilder contentBuilder = new StringBuilder();\n\t try (BufferedReader br = new BufferedReader(new FileReader(filePath)))\n\t {\n\t \n\t String sCurrentLine;\n\t while ((sCurrentLine = br.readLine()) != null)\n\t {\n\t contentBuilder.append(sCurrentLine).append(\"\\n\");\n\t }\n\t }\n\t catch (IOException e)\n\t {\n\t e.printStackTrace();\n\t }\n\t return contentBuilder.toString();\n\t}", "title": "" }, { "docid": "7879c3915084319de299e903ccdad456", "score": "0.593564", "text": "public static void main(String[] args) throws FileNotFoundException {\n\n File file = new File(\"test.txt\");\n\n FileReader fr = new FileReader(file);\n }", "title": "" }, { "docid": "962ad55389a699e87a4df6454fe24d1b", "score": "0.5928652", "text": "public static BufferedReader readFileFromDisk() {\n try {\n File file = openFile();\n if (file != null) {\n FileReader fr = new FileReader(file);\n BufferedReader br = new BufferedReader(fr);\n return br;\n }\n else {\n return null;\n }\n }\n catch (IOException e) {\n System.err.println(\"Unable to read file\");\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "e4686d1d6041603b34687e9a2e704a47", "score": "0.5919563", "text": "public static final Reader getReader(String filePath, String encoding) {\n\n\t\ttry {\n\n\t\t\tfilePath = relativePath(filePath);\n\t\t\tString absPath = absolutePath(filePath);\n\t\t\treturn new InputStreamReader(new FileInputStream(absPath), encoding);\n\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "37e71ad71fb42b9d3a18080d073e09e3", "score": "0.5916158", "text": "private void initializeReader() {\n try {\n reader.set(new FileReader(FileActions.getInstance().getAbsolutePath(jsonFilePath), StandardCharsets.UTF_8));\n } catch (FileNotFoundException rootCauseException) {\n FailureReporter.fail(this.getClass(), \"Couldn't read the desired file. [\" + this.jsonFilePath + \"].\", rootCauseException);\n } catch (IOException formatException) {\n FailureReporter.fail(this.getClass(), \"file didn't match the specified format. [\" + this.jsonFilePath + \"].\", formatException);\n }\n }", "title": "" }, { "docid": "ccd38cf27195540532f80054c677365d", "score": "0.5915063", "text": "private void readFile(String path){\n try {\n BufferedReader bufferedReader = new BufferedReader(new FileReader(path));\n String line = bufferedReader.readLine();\n while (line != null)\n {\n lineArrayList.add(line);\n line = bufferedReader.readLine();\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "62941cf77afb03b54a3a65dbfb0d6a0f", "score": "0.59068483", "text": "File getFile();", "title": "" }, { "docid": "91cf683e3514c52bec7d4ca6f9de0b25", "score": "0.59034294", "text": "public static File LoadFile(String path) {\n\t\treturn new File(path);\n\t}", "title": "" }, { "docid": "cceb7687caac0216dfe299bb662ba65e", "score": "0.58981913", "text": "public static void ReadFile(String filePath) throws IOException {\n BufferedReader bufferedReader = null;\n if (filePath == null){\n InputStream in = InputProcess.class.getResourceAsStream(\"input.txt\");\n bufferedReader =new BufferedReader(new InputStreamReader(in));\n }\n else{\n FileReader fileReader = new FileReader(filePath);\n bufferedReader = new BufferedReader(fileReader);\n }\n String line = null;\n while ((line = bufferedReader.readLine()) != null) {\n ProcessReadLine(line);\n }\n bufferedReader.close();\n }", "title": "" }, { "docid": "0cb7272d8b26dcdec56f0ec7eee3e34a", "score": "0.5891601", "text": "public static String loadFileAsString(String path) {\r\n //creates StringBuilder class.\r\n StringBuilder builder = new StringBuilder();\r\n \r\n //this try-catch block will read in the file at the parameter variable\r\n //path and appends it to the builder.\r\n try {\r\n //creates bufferedReader object which will read in the file.\r\n BufferedReader br = new BufferedReader(new FileReader(path));\r\n //temp variable for reading in lines\r\n String line;\r\n //this loop will read until there is no next line.\r\n while((line=br.readLine()) != null) {\r\n //appends the builder object with the line read in and adds\r\n //new line.\r\n builder.append(line+\"\\n\");\r\n }\r\n //closes the buffered reader.\r\n br.close();\r\n //catches the exception if there is no file. \r\n } catch(IOException e) {\r\n //prints the error to the console\r\n e.printStackTrace();\r\n }\r\n \r\n //returns the builder object as a string.\r\n return builder.toString();\r\n }", "title": "" }, { "docid": "c2f1148727ddfe8875e4bd90c1e7218f", "score": "0.58888996", "text": "public static GenericFileReader getReader(String filePath) throws IOException, OpenXML4JException, ParserConfigurationException, SAXException, XMLStreamException{\n\t\tString extension = FilenameUtils.getExtension(filePath);\n\t\tif(extension==null){\n\t\t\treturn null;\n\t\t}\n\t\tif(\"xlsx\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSXReader(filePath);\n\t\t}else if(\"csv\".equalsIgnoreCase(extension)){\n\t\t\treturn new CSVReader(filePath);\n\t\t}else if(\"xls\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSReader(filePath);\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bd6e376225992524ff23c36b30177742", "score": "0.5888546", "text": "public abstract void open(String fileName) throws IOException;", "title": "" }, { "docid": "e9bdb37f0cbf9a8c2edeee99b48180fd", "score": "0.58725333", "text": "static String readLineFromFile(String path) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new FileReader(path));\n\t\ttry {\n\t\t\treturn br.readLine();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tbr.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c9553064e4c250ef71d2fa8175837a6a", "score": "0.5864444", "text": "private String readFile(String path) throws IOException {\n\t\tPath p = FileSystems.getDefault().getPath(path);\n\t\tString contents = new String(Files.readAllBytes(p));\n\t\treturn contents;\n\t}", "title": "" }, { "docid": "0a6343c653fc296b2607231d73991ea6", "score": "0.5863752", "text": "public abstract EntityRoot readFile (File file) ;", "title": "" }, { "docid": "545c22482e9419e232c5c341d2ce6c17", "score": "0.5856536", "text": "private static String safeRead(String path) {\n try(BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(path)))) {\n return reader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "434c5411ca4fb41c222f5ddab0719a96", "score": "0.5856283", "text": "public abstract FileIDE loadFile() throws Exception;", "title": "" }, { "docid": "3a3dcf24a2d5109382be29daec93d342", "score": "0.58553153", "text": "@Override\n\tpublic String readFileByLines(LineReader reader) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "20a2472757941daae8c14c0552e55faa", "score": "0.58208704", "text": "void populateForReference(String fullPath, Reader reader) throws ParsingException;", "title": "" }, { "docid": "b27b690bad2961572712078bfaa43f92", "score": "0.581458", "text": "@Override\n public InputStream readFile(String file) throws IOException {\n return new FileInputStream(externalStoragePath + file);\n }", "title": "" }, { "docid": "b83f8649d1ec7646d76d7f3a8f72dead", "score": "0.58131033", "text": "public Reader(String fileName) throws FileNotFoundException {\r\n File file = new File(fileName);\r\n scan = new Scanner(file);\r\n }", "title": "" }, { "docid": "f7537bfd59173b8dbe28d010dcd3d155", "score": "0.5777342", "text": "public Person loadFromFile(File filename) throws FileNotFoundException;", "title": "" }, { "docid": "d32f95bf98fdfd6025a067eb5b3aa441", "score": "0.5773206", "text": "public boolean openFileReader() {\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tjsonReader = new BufferedReader(new InputStreamReader(new FileInputStream(path), \"UTF-8\"));\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\tSystem.err.println(\"File is not ready\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\tSystem.err.println(\"Problem with encoding\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e017d740d6738a292632ebf933d1ce22", "score": "0.5769515", "text": "public Queue readFile(String file);", "title": "" }, { "docid": "d7e03289ff6b9bd9e3bd0f8ccae20910", "score": "0.57616997", "text": "public void IOEx() throws IOException {\n File file = new File(\"\");\r\n FileReader fr = new FileReader(file);\r\n }", "title": "" }, { "docid": "bc323bd31c6e2f8af9a1422ff024c70e", "score": "0.575289", "text": "public String read(String path) {\n return FileHandler.readFromFile(path);\n }", "title": "" }, { "docid": "6df62b3e12c79aca49c8fc517149e401", "score": "0.5748514", "text": "public void handleRead(String path) throws IOException, NoStarterUploadedException {\n if (this.reader != null) {\n reader.read(path);\n } else {\n throw new NoStarterUploadedException();\n }\n }", "title": "" }, { "docid": "a9af1788e0d76c7f270811208d7e23e1", "score": "0.5744043", "text": "public void decode(String filePath);", "title": "" }, { "docid": "08254e251c15dcedd3815b76dba0b54c", "score": "0.5735103", "text": "public String readByChar(String path) {\r\n\t\ttry {\r\n\t\t\tbReader = new BufferedReader(new FileReader(path));\r\n\t\t\treturn bReader.readLine();\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\tprintError(e);\r\n\t\t\treturn null;\r\n\t\t} catch (IOException e) {\r\n\t\t\tprintError(e);\r\n\t\t\treturn null;\r\n\t\t} finally {\r\n\t\t\t// Check whether 'bReader' Object is still alive\r\n\t\t\tif (bReader != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tbReader.close(); \r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\tprintError(e);\r\n\t\t\t\t}\r\n\t\t\t} \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "345ab1d630f2d0f8ad05ff8317d0cd65", "score": "0.57318574", "text": "public ModelReader(String filePath) {\n\t\tsuper(NAME);\n\t\tPreconditions.checkNotNull(filePath,\n\t\t\t\t\"The path of the file cannot be null\");\n\t\tthis.file = new File(filePath);\n\t}", "title": "" }, { "docid": "3731aa294d8f82ace3ede1e3a28c9ab5", "score": "0.5726723", "text": "public void open() throws IOException\r\n {\r\n // close if already open.\r\n close();\r\n BufferedReader reader = new BufferedReader( new FileReader( getFile() ));\r\n setReader(reader);\r\n }", "title": "" }, { "docid": "ebd57ef5df3b87add1e5f7615e177961", "score": "0.57242316", "text": "File getFile() throws IOException;", "title": "" }, { "docid": "8bfc6d13ef06f6b57b6a7ddaab14c4fc", "score": "0.5722135", "text": "public void readfile(String infile) throws IOException {\n\t\tsourcefile = infile;\n\t\treadfile();\n\t}", "title": "" }, { "docid": "7c706c913f67fb9ef42a8a6f9544370c", "score": "0.57177436", "text": "MyMatrixReader (MyFileReader inputFile){\r\n presentLine = 0;\r\n file = inputFile;\r\n }", "title": "" }, { "docid": "eef47404408534e91ec2c8dba4adaa41", "score": "0.57150203", "text": "public ConfigFileReader getConfigReader() {\n return (configFileReader == null) ? new ConfigFileReader() : configFileReader;\n }", "title": "" }, { "docid": "f911b7d26f5412198796a69d1cbaac5d", "score": "0.5697195", "text": "protected static BufferedReader getFileReader(final String filename) {\r\n\r\n try {\r\n String filepath;\r\n\r\n if (filename.equals(DicomDictionary.DEFAULT_DICTIONARY_FILENAME)) {\r\n final URL fileURL = Thread.currentThread().getContextClassLoader().getResource(filename);\r\n\r\n return new BufferedReader(new InputStreamReader(fileURL.openStream()));\r\n } else {\r\n filepath = GetPath.getPath(filename, Purpose.FOR_READING) + File.separator;\r\n }\r\n\r\n if (filepath == null || filepath.equals(File.separator)) {\r\n filepath = \"\";\r\n }\r\n\r\n final File dictionaryFile = new File(filepath + filename);\r\n\r\n if ( !dictionaryFile.exists()) {\r\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \" does not exist.\");\r\n }\r\n\r\n if ( !dictionaryFile.isFile()) {\r\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \" is not a file.\");\r\n }\r\n\r\n if ( !dictionaryFile.canRead()) {\r\n throw new FileNotFoundException(dictionaryFile.getAbsolutePath() + \" does not have 'read' permissions.\");\r\n }\r\n\r\n return new BufferedReader(new FileReader(dictionaryFile));\r\n } catch (final Throwable t) {\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "654e4546d54d75300a0c7dd3e7111200", "score": "0.5696403", "text": "public void load(String path) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4f199bdbc4da4038b4e4c98b0cb0171d", "score": "0.56803083", "text": "public InputStream ReadAsset(String _name) throws IOException;", "title": "" }, { "docid": "53a575423e1ac07506feebae01b06c5b", "score": "0.5679885", "text": "public interface Reader {\n /**\n * Reads a stream and parses its output\n *\n * @throws IOException if the source file does not exist or the target file already exists\n */\n void parse() throws IOException;\n}", "title": "" }, { "docid": "555a35e8c15d380447fbcda0dc06e469", "score": "0.5673168", "text": "private static String readFile(File fin) throws IOException,FileNotFoundException{\n\t\tBufferedReader br = new BufferedReader(new FileReader(fin));\n\t\t\n\t\tString line = null;\n\t\tline = br.readLine();\n\t\tbr.close();\n\t\treturn line;\n\t}", "title": "" }, { "docid": "fc4b07d43920c534b67b05d81cc548eb", "score": "0.5661399", "text": "@Override\n\tpublic Path load(String filename) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5b72d2cc9be083c00555c908bf4073c6", "score": "0.5655409", "text": "private BufferedReader openFileReader(String prompt) {\n\t\tBufferedReader rd = null;\n\t\twhile (rd == null) {\n\t\t\tString name = readLine(prompt);\n\t\t\ttry {\n\t\t\t\trd = new BufferedReader(new FileReader(name));\n\t\t\t} catch (IOException ex) {\n\t\t\t\tprintln(\"Can't open that file.\");\n\t\t\t}\n\t\t}\n\t\treturn rd;\n\t}", "title": "" }, { "docid": "82343ce7b73ef1c5bbef1561efe13d37", "score": "0.565468", "text": "public static void readFileBuffered (String path, String fileName) {\n // Stream to read file\n FileInputStream fin = null;\n BufferedReader reader = null;\n \n try {\n // Open an input stream\n fin = new FileInputStream (path+fileName); \n reader = new BufferedReader(new InputStreamReader(fin));\n \n logger.info(\"Reading File line by line using BufferedReader\\n\");\n String line = reader.readLine();\n \n while (line != null) {\n logger.info(line);\n line = reader.readLine(); \n }\n \n } catch ( FileNotFoundException efnt) {\n throw new WrappingUnchecked(\"In FileNotFoundException\", efnt);\n } catch (IOException eio) {\n throw new WrappingUnchecked(\"In FileNotFoundException\", eio); \n } finally {\n /*Never throw any exception from finally block. The original first exception (correct reason from catch) will be lost forever. \n Insted either Handle it, or log it. */\n if (reader != null) {\n try {\n reader.close();\n } catch (Exception e) {\n logger.error(\" >>> BufferedReader was't closed!\");\n } \n }\n \n if (fin != null) {\n try {\n fin.close();\n } catch (Exception e) {\n logger.error(\" >>> FileInputStream was't closed!\");\n }\n } \n }\n }", "title": "" }, { "docid": "96c92bb2ea9f0e2c045d4630c8af78d1", "score": "0.5650372", "text": "private void setUp(String filename) throws FileNotFoundException\n\t{\n\t\tfStream = new FileInputStream(filename);\n\t\t\n\t\t// Get the object of DataInputStream\n\t\tinStream = new DataInputStream(fStream);\n\t\treader = new BufferedReader(new InputStreamReader(inStream));\n\t}", "title": "" }, { "docid": "017cd6551930e08fec74dcf762afa71d", "score": "0.564508", "text": "private BufferedReader openInputFile() {\r\n\t\tBufferedReader rd = null;\r\n\t\twhile (rd == null) {\r\n\t\t\ttry {\r\n\t\t\t\tString name = readLine(\"Enter input file: \");\r\n\t\t\t\trd = new BufferedReader(new FileReader(name));\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tprintln(\"Can't open that file.\");\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn rd;\r\n\t}", "title": "" }, { "docid": "f833f0b0dab68dd694712d3e43affe0a", "score": "0.5644938", "text": "public void FNFEx() throws FileNotFoundException {\n File file = new File(\"\");\r\n FileReader fr = new FileReader(file);\r\n }", "title": "" }, { "docid": "5b1a11ede7cc6c4cdad9ba4084e63e33", "score": "0.5628709", "text": "public T read(Path.Entry<T> e, InputStream input) throws IOException;", "title": "" }, { "docid": "cc43c9e468f96a05577f3f67d6739ad7", "score": "0.5617355", "text": "File getFile(File directory, String fileName);", "title": "" }, { "docid": "58b802997817ec377db49abaa5c2a68e", "score": "0.5614964", "text": "private String readFile(String path) {\n\n try {\n File file = new File(storageDir, normalizePath(path));\n return FileUtils.readFileToString(file, StandardCharsets.UTF_8);\n }\n catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "dbe837ff311cc08c6834891f3dcf5634", "score": "0.55995935", "text": "public JLineReader open() throws FileNotFoundException{\r\n\r\n\t\tif(stringOnly)\r\n\t\t\treturn this;\r\n\r\n\t\tif(!file.exists()){\r\n\t\t\ttry {\r\n\t\t\t\tfile.getParentFile().mkdirs();\r\n\t\t\t\tfile.createNewFile();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\tLog.error(\"JLineWriter\", \"File : \" + file.getAbsolutePath());\r\n\t\t\t\tLog.error(\"JLineWriter\", \"Parent : \" + file.getParentFile().getAbsolutePath());\r\n\t\t\t\tthrow new FileNotFoundException();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treader = new BufferedReader(new FileReader(file));\r\n\t\tnextLine();\r\n\t\treturn this;\r\n\t}", "title": "" }, { "docid": "c5288c2441e1ef091c3105bd97195bba", "score": "0.5597747", "text": "private InputStream getFilePath()\n\t{\n\t\tInputStream file = HangmanRules.class.getClassLoader().getResourceAsStream(\"1-1000.txt\");\n\t\treturn file;\n\t}", "title": "" }, { "docid": "94fa3390c047e174d78c5c7c605fe72e", "score": "0.55950373", "text": "public static String readFile( String path )\n\t{\n\t\tString file = \"\";\n\t\ttry\n\t\t{\n\t\t\tFile myObj = new File( path );\n\t\t\tScanner myReader = new Scanner( myObj );\n\t\t\twhile( myReader.hasNextLine() )\n\t\t\t{\n\t\t\t\tString data = myReader.nextLine();\n\t\t\t\tfile += data;\n\t\t\t}\n\t\t\tmyReader.close();\n\t\t} catch( FileNotFoundException e )\n\t\t{\n\t\t\tSystem.err.println( \"An error occurred.\" );\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn file;\n\t}", "title": "" }, { "docid": "1216aa4c5aa87810e66fe95546592e72", "score": "0.5593386", "text": "public static GenericFileReader getReader(String filePath, boolean readEmptyRow) throws IOException, OpenXML4JException, ParserConfigurationException, SAXException, XMLStreamException{\n\t\tString extension = FilenameUtils.getExtension(filePath);\n\t\tif(extension==null){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tif(\"xlsx\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSXReader(filePath,readEmptyRow);\n\t\t}else if(\"csv\".equalsIgnoreCase(extension)){\n\t\t\treturn new CSVReader(filePath, readEmptyRow);\n\t\t}else if(\"xls\".equalsIgnoreCase(extension)){\n\t\t\treturn new XLSReader(filePath,readEmptyRow);\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "title": "" } ]
d6941b6befef263ce5be806fc8096c9e
rate at which phenotypes are crossed over Default constructor
[ { "docid": "5299ed801e2ad7c8efda20ac06d3f781", "score": "0.0", "text": "public NSGA2() {\n\t\tthis(Parameters.parameters.booleanParameter(\"io\"));\n\t}", "title": "" } ]
[ { "docid": "354dbdcee74d1b36f18d740fed044541", "score": "0.63975805", "text": "public Rating() {\n this(0, 5);\n }", "title": "" }, { "docid": "e41b99fb1192c154eaf35c1937ade565", "score": "0.6266122", "text": "public TaxRate () {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "9b6be010d90389ac40e263b4f262ce8a", "score": "0.6242192", "text": "WeaponType(float p){\n power=p;\n }", "title": "" }, { "docid": "f8660b0ec608abc57e94835225ac01c3", "score": "0.62357223", "text": "private Weight() {\n\n\t}", "title": "" }, { "docid": "92190c8e6cd48c9f00c03e5dce619d2c", "score": "0.6175015", "text": "public MulishCritter(double weight) \r\n {\r\n super(weight);\r\n }", "title": "" }, { "docid": "96ae44efb86d0b901a9b2cfab87c286f", "score": "0.61169714", "text": "public void specialize() {\r\n\tstrength = 75;\r\n\tdef = 10;\r\n }", "title": "" }, { "docid": "50774126f5a0ba2153b047aeca18a4f4", "score": "0.6106534", "text": "public Car(double efficiency)\n{\n this.fuelEfficiency = efficiency;\n this.fuelInTank = 0;\n}", "title": "" }, { "docid": "ddd64073f3c01fd63799e6fbbd8881b9", "score": "0.6068201", "text": "default double getRate() {\n return 2.5;\n }", "title": "" }, { "docid": "e72466b15e8afd0302d0c5fa4c84292f", "score": "0.60406363", "text": "public void testConstructors()\n {\n System.out.println( \"Constructors\" );\n\n NegativeLogLikelihood<Double> instance = new NegativeLogLikelihood<Double>();\n assertNull( instance.getCostParameters() );\n\n UnivariateGaussian g = new UnivariateGaussian.PDF();\n Collection<Double> samples = g.sample(RANDOM, 1000);\n instance = new NegativeLogLikelihood<Double>( samples );\n assertSame( samples, instance.getCostParameters() );\n }", "title": "" }, { "docid": "0fc20777fe5a912f9e4c162caeda790b", "score": "0.60159993", "text": "public Nachtelf() {\r\n\t\tthis(false, 1.0);\r\n\t}", "title": "" }, { "docid": "2051330cef72db786d75105de65c113a", "score": "0.6010285", "text": "public DefaultEstimator() {\n\t\tthis(100, new edu.uab.ssg.mixomatic.power.jmsl.TTestPValueAdjuster(), new edu.uab.ssg.mixomatic.power.colt.RandomAdapter());\n\t}", "title": "" }, { "docid": "45e203c4af269d6641842865ee7b0a39", "score": "0.59938824", "text": "@Override\n public int defaultFactor() {\n return 1;\n }", "title": "" }, { "docid": "402a3f9085aefd67835b24f3228c43c5", "score": "0.59790695", "text": "public Rate() {\n }", "title": "" }, { "docid": "8262feaed597f7a1985a58c14a2d4ab2", "score": "0.59636366", "text": "public MediatingModeratingFQualityCalculator() {\n super();\n }", "title": "" }, { "docid": "5eed14e26478de97c5a6599fb5946ee4", "score": "0.59411", "text": "public Nickel() //If you initialize without a count....\n {\n //Should default to one coin being added\n this.count = 1;\n this.value = 0.05;\n }", "title": "" }, { "docid": "f907e3f02a195fe4023a1c6bdbd84290", "score": "0.5926041", "text": "public AverageSpeedMeter() {\n this(5);\n }", "title": "" }, { "docid": "4ff266f6cfcf09943de4dbb8b2596f26", "score": "0.592068", "text": "public Card() {\n\n Random rand = new Random();\n power = rand.nextInt(100) + 1;\n toughness = rand.nextInt(100) + 1;\n\n }", "title": "" }, { "docid": "3e6c5b06bc63accfc75e1694278b9abc", "score": "0.59181833", "text": "public Potato1() {\n this.variety = \"Russet Burbank\";\n this.age = 0;\n }", "title": "" }, { "docid": "478fb45697ef53f505d3c8457fb61dd4", "score": "0.589269", "text": "@Override\n\tpublic double calcRate() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "ab9ce075cf81fe3876514d4b02e8d389", "score": "0.58824587", "text": "public BeatIntensity() { }", "title": "" }, { "docid": "bfdcbb9dcc67580b54948dbc09b23039", "score": "0.5866355", "text": "public ParabolicTrough() {\n super(1, 1, 0);\n }", "title": "" }, { "docid": "c7dd1d1fa12800412880220a6bc9e7de", "score": "0.58532417", "text": "protected Pilsner(String name, BeerType type, Integer ibu, Double abv) {\n super(name, type, ibu, abv);\n }", "title": "" }, { "docid": "49c41af1258f442e69589a071a3d1d04", "score": "0.5841656", "text": "public CapacityAnalysis ()\n {\n super();\n }", "title": "" }, { "docid": "c9bca2cd74f375f424d05eb9f5326414", "score": "0.58235914", "text": "public Monom(){//Default Constructor\r\n\t\tthis.set_coefficient(0);\r\n\t\tthis.set_power(0);\r\n\t}", "title": "" }, { "docid": "4cdabf0a4adb9fd1aaf90a7c44e8bb3d", "score": "0.5793561", "text": "@Override\r\n public double getBaseWeight() {\r\n switch (getType()) {\r\n case Chemical: return 5 * getAutonomy();\r\n default: return Math.ceil(0.025 * getPlantSize() * getAutonomy());\r\n }\r\n }", "title": "" }, { "docid": "da3fd4e6a906fc8c5a7a23bebb0e44f2", "score": "0.57926464", "text": "public Pilsner(String name) {\n super(name, BeerType.PILSNER);\n Integer ibu = (int)Math.floor((Math.random() * 20)) + 25;\n Double abv = Math.random() * 1.8 + 4.2;\n this.ibu = ibu;\n this.abv = abv;\n }", "title": "" }, { "docid": "867df9bae114218cb82e70fe5dfaa074", "score": "0.5791092", "text": "public RainSensor() {\r\n myInitial = 5;\r\n }", "title": "" }, { "docid": "2e2e319ae6bbf75030f9ccce2527f2e1", "score": "0.578626", "text": "@Override\n public double ploscina() {\n return 0;\n }", "title": "" }, { "docid": "4ac5e28b134874fc3d28fa4f8529f83c", "score": "0.5783537", "text": "@Override\r\n public Double getSensitivity() {\n return new Double(0);\r\n }", "title": "" }, { "docid": "96b7a173a25e03e87c76f902bb84918a", "score": "0.5765845", "text": "public Boneyard(){\r\n\t\tthis(6);\r\n\t}", "title": "" }, { "docid": "d26624de23a58909c9fef2ce089bb84d", "score": "0.5763007", "text": "public SpeedDating()\n {}", "title": "" }, { "docid": "b47848dda19f097b988d146425ea386b", "score": "0.5762626", "text": "public SkuCapacity() {\n }", "title": "" }, { "docid": "66cd94aa95186390126412c0c7d32294", "score": "0.57615155", "text": "public void set_baserate(double rate) { this.baseLearnRate = rate; this.learnRate = rate; }", "title": "" }, { "docid": "1bb80e08d79fca738007aa54af7caa56", "score": "0.57584417", "text": "public Pythagoras() { }", "title": "" }, { "docid": "a5d724d392ec6b99232e5dd7c51518ed", "score": "0.5753141", "text": "public void set_rate(double rate) { this.learnRate = rate; }", "title": "" }, { "docid": "edcc791d582f5875663561f50637e4a4", "score": "0.5744733", "text": "public Rating(){\n\n }", "title": "" }, { "docid": "f1b370e45ca11daa36dbe5075283e2ce", "score": "0.5740229", "text": "public BMI(){\r\n\t}", "title": "" }, { "docid": "4c068de62e1f4da2a8558bbf2decf90f", "score": "0.5737708", "text": "@Override\r\n protected double getBaseCost() { return 0; }", "title": "" }, { "docid": "1c84f408d528979bc078676e876c17bf", "score": "0.5722689", "text": "public double getBaseRate() {\n\t\treturn 2.5;\n\t}", "title": "" }, { "docid": "ef7a4fd1768b804a9ab120ab16c428db", "score": "0.57215345", "text": "public Animal() {\n this.age = 0;\n this.weight = 0.0f;\n System.out.println(\"Creation of new animal...\");\n }", "title": "" }, { "docid": "ad4cb43c3fcbf23002164ab0392f5d5c", "score": "0.57090795", "text": "public Generator1() {\n\t\tsuper();\n\t\tthis.minL = 1.0;\n\t\t}", "title": "" }, { "docid": "9d4d3155694508b163eef7caa1387335", "score": "0.5704441", "text": "SimpleInt()\r\n{\r\np=10;\r\nno_of_year=4;\r\nrate=15000;\r\n}", "title": "" }, { "docid": "944f6fa060354d3f7ec39398031efefb", "score": "0.570211", "text": "public Animal() {\n\t\tthis.type = \"\";\n\t\tthis.weight = 0;\n\t\tthis.height = 0;\n\t\tthis.isDomestic = false;\n\t\tthis.isPredator = false;\n\t\tcount++;\n\t}", "title": "" }, { "docid": "40418f5afc5177571bb0226bb908e40c", "score": "0.5698841", "text": "public void specialize(){\r\n\tdefense = (int)(defense * 0.5);\r\n\tattackRating = attackRating * 2;\r\n }", "title": "" }, { "docid": "2290c4e68c585ef91dbeb68af13a9c95", "score": "0.56978494", "text": "public Animal()\n {\n // initialise instance variables\n height = 10;\n weight = 50;\n \n \n }", "title": "" }, { "docid": "19fa57c6bd980a5a7c36bc4c915197e5", "score": "0.56912035", "text": "public Loan(float notional, float outstanding, int rating, Date expiry) {\r\n\r\nthis(new TermROC(), notional, outstanding, rating, expiry, null);\r\n\r\n}", "title": "" }, { "docid": "5a53b96b33d1178a3c3889000d135513", "score": "0.5681489", "text": "public Poids() {\n }", "title": "" }, { "docid": "25182ca0a131dbb8cf03946ff42f9779", "score": "0.5677979", "text": "public Bus () {\r\n super.speed = 60;\r\n super.costForKm = 35;\r\n }", "title": "" }, { "docid": "770e7be3658b3744421543da20c18e23", "score": "0.5668286", "text": "public JediConsular() {\n super(\"JediConsular\",\n Attribute.WIS, Attribute.CHA, Attribute.INT, Attribute.CON, Attribute.STR, Attribute.DEX,\n 8, 6,\n new ArrayList<Integer>(),//Class Skills\n new int[]{0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15},//BAB\n new int[]{2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12},//FORTSAVE\n new int[]{1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9},//REFSAVE\n new int[]{2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12},//WILLSAVE\n new int[]{3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 10, 10, 11},//DEFENSE\n new int[]{1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6},//REPUTATION\n 4, 250);\n //TODO add specific abilities/feats here\n prestige = false;\n isForce = true;\n addClassSkill(3);\n addClassSkill(5);\n addClassSkill(6);\n addClassSkill(10);\n addClassSkill(17);\n addClassSkill(20);\n addClassSkill(22);\n addClassSkill(27);\n addClassSkill(28);\n addClassSkill(32);\n addClassSkill(37);\n }", "title": "" }, { "docid": "e1e611080aa998f56dcb1a13bc019a0e", "score": "0.566356", "text": "public Loan(float notional, float outstanding, int rating, Date expiry, Date maturity) {\r\n\r\nthis(new RevolvingTermROC(), notional, outstanding, rating, expiry, maturity);\r\n\r\n}", "title": "" }, { "docid": "b110a3c0c92bac7171c928564bc34e87", "score": "0.5654429", "text": "public Cab() {\r\n fare = 30;\r\n }", "title": "" }, { "docid": "f5cbe3d46d992caf7872c8e646dbe778", "score": "0.56531656", "text": "@Test\n public void testConstructors()\n {\n Kernel<? super Vector> kernel = null;\n int budget = Forgetron.DEFAULT_BUDGET;\n Forgetron.Greedy<Vector> instance = new Forgetron.Greedy<Vector>();\n assertSame(kernel, instance.getKernel());\n assertEquals(budget, instance.getBudget());\n\n kernel = new PolynomialKernel(\n 1 + this.random.nextInt(10), this.random.nextDouble());\n budget = 1 + random.nextInt(100);\n instance = new Forgetron.Greedy<Vector>(kernel, budget);\n assertSame(kernel, instance.getKernel());\n assertEquals(budget, instance.getBudget());\n }", "title": "" }, { "docid": "e9f5fa657e2629cf562149dbc4a12b29", "score": "0.5651979", "text": "public Car()\n {\n super.setMaxSpeed(MAX_SPEED);\n }", "title": "" }, { "docid": "e4e097ded3d1858348e6ce8a58fc6517", "score": "0.56474626", "text": "@Override\n public double CalcularPromedio() {\n return 0;\n }", "title": "" }, { "docid": "c020b2e18840065159e5f52a3dc776f0", "score": "0.5645983", "text": "public StandardTruck() {\n\t\tsuper();\n\t\tmaxWeight = 100; // default value\n\t\tthis.currentWeight = 0;\n\t\tdestination = null;\n\t\tSystem.out.println(\"Creating \" + this);\n\t}", "title": "" }, { "docid": "12552fe3c036f148500a3cd80049afe8", "score": "0.5645255", "text": "public CaseChance() {\r\n\t\tsuper(\"Chance\", 0);\r\n\t}", "title": "" }, { "docid": "f26edd6769163d17c762e40a580def93", "score": "0.5641806", "text": "public SiLengthMetricSystem() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "e2c0cf28dcb2ab3107f1aab558ba0a11", "score": "0.5632791", "text": "public ThermometerRound(int i){\n }", "title": "" }, { "docid": "f7ab54fa72659d4b7295837cd8f51a39", "score": "0.5630888", "text": "public Coalescor() {\r\n\t\tthis(0);\r\n\t}", "title": "" }, { "docid": "1172a7b7fce4f6ac7d16e55fd74985ea", "score": "0.56237507", "text": "private RandomValue() {\n super();\n }", "title": "" }, { "docid": "040ce8b819fa780f067cb8930207ffc5", "score": "0.5623227", "text": "public Product()\n {\n this(0, \"\", 0.0, 0, 0, 0);\n }", "title": "" }, { "docid": "4eb2c00f9932e2d4110cc433fd601bc9", "score": "0.56155956", "text": "public Producer()\r\n\t{\r\n\t\tproCurve = new ProducerCurve();\r\n\t}", "title": "" }, { "docid": "dac09076a972f857c833cd170554ea82", "score": "0.56116146", "text": "public BritishSquare() {\n this(5);\n }", "title": "" }, { "docid": "351a9ff9c1254c15907e952bce9f2e4f", "score": "0.5611565", "text": "public Speciality() {\n}", "title": "" }, { "docid": "95f0549e2e40c1e262a534078042345f", "score": "0.56113034", "text": "public Rain() {\n}", "title": "" }, { "docid": "f4af509187581b9e9bbd8112c3b6053f", "score": "0.56054676", "text": "public PulseRifle()\n {\n super(new BigDecimal(30000), \"Pulse Rifle\", \"The most powerful weapon of its time.Multiplies Dudley gain by 4.5\",new BigDecimal(\"4.5\"));\n }", "title": "" }, { "docid": "fb2dcf5066d61e7532e6bb4b53fb9ad2", "score": "0.5604868", "text": "public Consumo(){\n km = 0; \n litros = 0;\n vMed = 0;\n pGas = 0;\n }", "title": "" }, { "docid": "5383209e600b3a455dbde215ac7b522c", "score": "0.5598162", "text": "Candy(){\n weight = 0.00;\n PRICE_PER_POUND = 0.00;\n calories = 0;\n }", "title": "" }, { "docid": "13052d0b0d58007f1ad61106d2d16f78", "score": "0.5596917", "text": "public double perimetro() {\r\n\r\n }", "title": "" }, { "docid": "f97d2182683c11d1088389684eb74a07", "score": "0.5596638", "text": "public CastleLevel() {\r\n }", "title": "" }, { "docid": "d05e1c3f1d300478556d833688936920", "score": "0.55955607", "text": "@Override\n\tprotected double getBaseFare() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "d6975cb0daf418d9ca9f3d06d6c50e00", "score": "0.5591196", "text": "public VideoGameCharacterRatingPart1() {\r\n }", "title": "" }, { "docid": "d100e288ce60d89d62c0efe4cdc832fa", "score": "0.55733323", "text": "public Term() {\r\n\t\tcoefficient = 1;\r\n\t\texponent = 1;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "7e02c688155fa05c56388770d4db9a74", "score": "0.55733097", "text": "@Override\r\n\tpublic double getBulletPowa() {\n\t\treturn 10;\r\n\t}", "title": "" }, { "docid": "a4326e3b6ece62a45b3fd3004e1069f6", "score": "0.5565597", "text": "@Test\n public void testRetirementYearsUsesAppreciationRateSpecifiedInConstructor() {\n double appreciationRate = .06;\n RetirementScenario testScenario = new RetirementScenario(67, 68, 100000, 0, appreciationRate, 0, 0);\n RetirementYear year = testScenario.getRetirementYears().get(0);\n int appreciation = (int) (year.getBeginBalance() * appreciationRate);\n assertEquals(appreciation, year.getAppreciation());\n }", "title": "" }, { "docid": "d6c4dc471558e7f7724b2394b4108907", "score": "0.55605423", "text": "public Rational() {\r\n this(zero,one);\r\n }", "title": "" }, { "docid": "b00ffb224af2e4af766df8c9cc9b87d8", "score": "0.5554168", "text": "public Critter4() {\n\n\t}", "title": "" }, { "docid": "a3b7fe82f1d40e7456c5bba5d34ec491", "score": "0.5546947", "text": "public Metric() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "e400a40b7669f9acfd0d88e18f7bf24d", "score": "0.5546293", "text": "public Thing()\n\t{\n\t\tage = -99;\n\t\tweight = -.00005;\n\t\tname = \"\";\n\t}", "title": "" }, { "docid": "69ece90e3c6da90e80bdc8a141802ea9", "score": "0.5540206", "text": "private NoteCreationMetrics() {}", "title": "" }, { "docid": "a9b64459f5d0ee1bb61885e1f02c117b", "score": "0.553837", "text": "public EggAscensionRate(){\n super(numParams,numSubFuncs,DEFAULT_type,DEFAULT_name,DEFAULT_descr,DEFAULT_fullDescr);\n String key;\n key = PARAM_rpw; addParameter(key, Double.class,key);\n }", "title": "" }, { "docid": "88013746ba2a834246cc757cf63a52d6", "score": "0.5537849", "text": "public RegistrationCost(){\n \n student = 0.0; \n nonStudent = 0.0; \n dinner = 0.0; \n commerce = 0.0; \n futureWeb = 0.0; \n java = 0.0; \n network = 0.0; \n }", "title": "" }, { "docid": "fd9072f5138cc1c4ab41677a24a353b8", "score": "0.55341744", "text": "public PredictiveUnit() {\n }", "title": "" }, { "docid": "206bdf51299a734aae4e52be66f924a2", "score": "0.5531526", "text": "public Pesticide() {\n\t\tsuper(\"Pesticide\", 20.00, 1, 2);\n\t}", "title": "" }, { "docid": "261bb67a81fc77eb39c9f90cc5f39306", "score": "0.55289495", "text": "public Coalescor() {\n this(0);\n }", "title": "" }, { "docid": "d38eac9b175d563323c6270742c6686d", "score": "0.5528047", "text": "private SkillArea()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "dce79489dee1906577c427fd368b8bd6", "score": "0.5522699", "text": "public Pneumatics() {\n cylinder = new DoubleSolenoid(1, 0);\n cylinder.set(Value.kReverse);\n }", "title": "" }, { "docid": "4292385bb9b43a3bfc9d11d79e59f3a5", "score": "0.5520532", "text": "public Mammals() {\n\t\tthis(100);\n\t}", "title": "" }, { "docid": "b8874ce5227682f3a5a4cabdfaffe2a7", "score": "0.5518337", "text": "public Claw (){\n\t}", "title": "" }, { "docid": "9798cdcb437ae73cec3fa8e5ac97900b", "score": "0.5516015", "text": "public SmallPotion()\n {\n super.setPower(20);\n super.setName(\"Small Healing Potion\");\n super.setDescription(\"| Restores 20 health\");\n super.setPrice(30);\n }", "title": "" }, { "docid": "787aa70606c5f3d1745d063a5a131221", "score": "0.5514322", "text": "public Coalescor(double startingAmount) {\n this(startingAmount, DefaultConfig.EPSILON);\n }", "title": "" }, { "docid": "d4837ef7cf64f1d341ed0caa073ee102", "score": "0.5513496", "text": "public void setWeight (int w) {\r\n this.Weight = w;\r\n}", "title": "" }, { "docid": "b3988c3ebf2d67cea938d850bfa1600a", "score": "0.55134", "text": "public AudiSolicitud() {\r\n }", "title": "" }, { "docid": "edb8df5c167ab686d7a7b0bb834ca654", "score": "0.55090135", "text": "public ChordEvaluator() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "b3f91f1216f9ab44a9d5fc6dfafe0666", "score": "0.55041665", "text": "private Tipo(double prezzo) {\n\t\tthis.prezzo = prezzo;\n\t}", "title": "" }, { "docid": "0c1de2aea9bdb46d51429be56acb8176", "score": "0.5501169", "text": "@Override\npublic double getBreedingProbability() {\n\treturn 0;\n}", "title": "" }, { "docid": "813fe344244bb419aa351af1233ae3a5", "score": "0.55010825", "text": "public Rifle()\n {\n super(new BigDecimal(20000), \"Rifle\", \"A large gun specializing in long range engages. Multiplies Dudley gain by 4.\",new BigDecimal(\"4\"));\n }", "title": "" }, { "docid": "1cb2674c2b2c89135d8229a802d45e84", "score": "0.5500629", "text": "public Score() {\n\t\tthis(0); \n\t}", "title": "" }, { "docid": "11a437ee1bf13e2d6517936d665c55fc", "score": "0.55001223", "text": "public Clorus() {\n this(1);\n }", "title": "" }, { "docid": "11a437ee1bf13e2d6517936d665c55fc", "score": "0.55001223", "text": "public Clorus() {\n this(1);\n }", "title": "" }, { "docid": "11a437ee1bf13e2d6517936d665c55fc", "score": "0.55001223", "text": "public Clorus() {\n this(1);\n }", "title": "" } ]
206f2a772d2061d9b0df8301589657f2
Feeds the specified value into the neuron.
[ { "docid": "537b93a91b93cb47c11d9399a229ad1a", "score": "0.5017156", "text": "@Override\n public void input(double input) {\n this.value += input;\n }", "title": "" } ]
[ { "docid": "cefe332211f5b38cb2b8eb748a0c7a05", "score": "0.587522", "text": "public void value(float value);", "title": "" }, { "docid": "07c432199f39feec6c1747bbe52964c0", "score": "0.5817635", "text": "public InputNeuron(double value, ArrayList<NeuralConnection> outputs) {\n this.error = 0;\n this.value = value;\n this.outputs = outputs;\n }", "title": "" }, { "docid": "6ad58bf28e03a8ec942934421865077b", "score": "0.5806415", "text": "public void updateXYDataset(float value){\r\n\t\tstep++;\r\n\t\txyPopulationToT.add(step, value);\r\n\t}", "title": "" }, { "docid": "73561d1fc2a2bf76337b21227d0a06cf", "score": "0.5669807", "text": "public void setStream(double value){\r\n table.getEntry(\"stream\").setNumber(value);\r\n }", "title": "" }, { "docid": "8ecd4737c20f70690a1f56e92349e73e", "score": "0.55699706", "text": "void setValue(double value);", "title": "" }, { "docid": "1bbe29dbd588e999f9601df962f36c93", "score": "0.5562411", "text": "public Builder addIntensity(double value) {\n ensureIntensityIsMutable();\n intensity_.add(value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1c4eff5e407d31ac10c6f669518a3587", "score": "0.5559436", "text": "public void setValue(double value);", "title": "" }, { "docid": "ec65aff6df6d29927d7e6168735b7aac", "score": "0.55498487", "text": "public void write(int value) {\r\n\r\n this.value = value; \r\n\r\n }", "title": "" }, { "docid": "89dfda99615c5ea89b065e5cf3d8e602", "score": "0.5499995", "text": "void addValueNode(double val)\n\t{\n\t\tNode n = new Node();\n\t\tnodes.add(n);\n\n\t\tn.type = NodeType.VALUE;\n\t\tn.value = val;\n\t}", "title": "" }, { "docid": "ae29ee2d17450abd87f58707d9229d2b", "score": "0.5496271", "text": "private void startFeedForwarding() {\n\t\tfor (int layer = 0; layer < nodes.keySet().size(); layer++) {\n\t\t\tfor (int node = 0; node < nodes.get(layer).size(); node++) {\n\t\t\t\tNodeGene nodeGene = nodes.get(layer).get(node);\n\t\t\t\t// Sigmoid each node\n\t\t\t\tnodeGene.sigmoid();\n\t\t\t\t\n\t\t\t\t// Pass value throught connection to next node\n\t\t\t\t// Loop throught all the connections of this node\n\t\t\t\tfor (ConnectionGene connection : connections.get(nodeGene.getId())) {\n\t\t\t\t\tfloat valueToPass = nodeGene.getValue() * connection.getWeight();\n\t\t\t\t\tgetNodeById(connection.getOutNode()).addToValue(valueToPass);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "5d9f31c384643dca7be2246028ee3576", "score": "0.54765433", "text": "public void setValue(double value)\n {\n this.value = value;\n }", "title": "" }, { "docid": "9786b63926446e8b2c6b26f2617146ff", "score": "0.54673445", "text": "@Override\n public void run() {\n if(mThermostat == null) {\n return;\n }\n\n // set value\n String thermostatId = mThermostat.getDeviceId();\n\n // Set value based on temp scale\n if (mFahrenheit) {\n mNest.thermostats.setTargetTemperatureF(thermostatId, mTargetValue);\n } else {\n mNest.thermostats.setTargetTemperatureC(thermostatId, mTargetValue);\n }\n\n say();\n }", "title": "" }, { "docid": "fe49db8e587ae1469d74d9094c307b0c", "score": "0.5463362", "text": "public void writeFloat(int startingAddress, float value){\r\n \ttry {\r\n\t\t\tclient.WriteMultipleRegisters(startingAddress -1 ,ModbusClient.ConvertFloatToTwoRegisters((float)value ));\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"Exception from server\", JOptionPane.OK_CANCEL_OPTION);\r\n\t\t}\r\n }", "title": "" }, { "docid": "20dd626f51fc5ccc238ab011c7c150da", "score": "0.5447235", "text": "public Builder addIntensity(float value) {\n ensureIntensityIsMutable();\n intensity_.add(value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "cfae0376ac6f3979349f8e19be64fb48", "score": "0.53969675", "text": "public void setValue(double value) {\n this.value = value;\n }", "title": "" }, { "docid": "cfae0376ac6f3979349f8e19be64fb48", "score": "0.53969675", "text": "public void setValue(double value) {\n this.value = value;\n }", "title": "" }, { "docid": "20071eb9472437646b009f0199c0ef6c", "score": "0.53607666", "text": "void addValue(int pass,float v,float w,int index,BinData bd);", "title": "" }, { "docid": "572e630a98b127864836bf45463df71e", "score": "0.5353723", "text": "public void setValue(double value) {\n this.value = value;\n }", "title": "" }, { "docid": "3ea3ac5d707e70da51fd2ba8b6e60534", "score": "0.5340527", "text": "public void notifyPort(double value);", "title": "" }, { "docid": "40be81f52b6c1b27ed10fd0506b00518", "score": "0.533928", "text": "public void setValue(float value) {\n this.value = value;\n }", "title": "" }, { "docid": "75d1b18f187dc8483bd1c56e37909173", "score": "0.5290572", "text": "public void feed(double[] in) {\n if (in.length != neurons.size())\n throw new IllegalArgumentException(\"feed_ERR in size not right\");\n if (type != LayerType.IN)\n throw new IllegalArgumentException(\"feed_ERR in size not right\");\n for (int i = 0; i < in.length; i++) {\n neurons.get(i).setValue(in[i]);\n }\n }", "title": "" }, { "docid": "7ba081b4b5f2a75dc96f5a926b744bc5", "score": "0.52904356", "text": "public void setValue(float value) {\n this.value = value;\n }", "title": "" }, { "docid": "3b98829dcc365f2840190d1121c76aae", "score": "0.52887744", "text": "void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "01711236974bc45f3a9f188d1b4e4195", "score": "0.5249076", "text": "public void setValue(Double value) {\n this.value = value;\n }", "title": "" }, { "docid": "01711236974bc45f3a9f188d1b4e4195", "score": "0.5249076", "text": "public void setValue(Double value) {\n this.value = value;\n }", "title": "" }, { "docid": "01711236974bc45f3a9f188d1b4e4195", "score": "0.5249076", "text": "public void setValue(Double value) {\n this.value = value;\n }", "title": "" }, { "docid": "01711236974bc45f3a9f188d1b4e4195", "score": "0.5249076", "text": "public void setValue(Double value) {\n this.value = value;\n }", "title": "" }, { "docid": "53381a3aac48b3867b37bdfd5363949c", "score": "0.5236645", "text": "public void gainValue()\n\t{\n\t\tvalue++;\n\t}", "title": "" }, { "docid": "3a4c41f12b5741f5040c6022779d8a8b", "score": "0.5219379", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "3a4c41f12b5741f5040c6022779d8a8b", "score": "0.5219379", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "3a4c41f12b5741f5040c6022779d8a8b", "score": "0.5219379", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "0ba0dac99eac6d85db33847e2039011a", "score": "0.5215311", "text": "V setValue(V value);", "title": "" }, { "docid": "1a0f2cc15795dbbdfee35533306b87b1", "score": "0.5168916", "text": "public void simInject(double e, String portName, entity value) {\n\t\tsimInject(e, new port(portName), value);\r\n\t}", "title": "" }, { "docid": "214f50973d0e299eb8d4f131599638e8", "score": "0.5168359", "text": "void valueReceived(Endpoint<T> ep, T value);", "title": "" }, { "docid": "c6004bdeae3f203d7d8f9b565aec4618", "score": "0.5164589", "text": "public void process(Object value) {\n\t\t\t\tadd(value);\n\t\t\t}", "title": "" }, { "docid": "ae38868ab0b98bc60c44553913f9c040", "score": "0.5163724", "text": "public void setValue(Object value);", "title": "" }, { "docid": "e7a98df1f8b4c52b7b8e94e1786756f8", "score": "0.51568586", "text": "public void setValue(Float value)\n\t{\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "a47bcb2ed27eaefd6e4df2f4c19e6f94", "score": "0.5146014", "text": "public void emit(int count, int value) {\n numEntries+= count;\n breaks();\n emitUC(count);\n emitUC(value+translate);\n }", "title": "" }, { "docid": "30c9f15f9012c1f5fbeaf1065b91daf3", "score": "0.51448077", "text": "public IValue setValue(IValue value);", "title": "" }, { "docid": "6c9d2edcd5bbfe0b16d99759d6448c02", "score": "0.5137229", "text": "public void setValue(int value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "6c9d2edcd5bbfe0b16d99759d6448c02", "score": "0.5137229", "text": "public void setValue(int value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "c6ea119a303f76e2f03b6b550c0aa2be", "score": "0.51369065", "text": "public Tower(int X, int Y, int value) {\n\t\tthis.value = value;\n\t\tsetX(X);\n\t\tsetY(Y);\n\t}", "title": "" }, { "docid": "d4ca320f0e3ae047011c051861f172ac", "score": "0.5127221", "text": "public void valueIncremented(){\n value++;\n }", "title": "" }, { "docid": "7b1dc72398d8c024891915d9c3d80000", "score": "0.5115814", "text": "@Override\r\n\tpublic void update(Object target, Object value) {\n\t\ts.update(target, value);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e7f7a310b633869a0ed98c7e22154778", "score": "0.5115304", "text": "public void setValue(V value) {\n this.value = value;\n }", "title": "" }, { "docid": "5e256cf9bf9b6acbf6961389546ac85f", "score": "0.5113343", "text": "@Override\n\t\tpublic void set(T value) {\n\t\t\tthis.context.run(() -> this.value = value);\n\t\t}", "title": "" }, { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.5108201", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.5108201", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.5108201", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.5108201", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.5108201", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.5108201", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "4c21d678900e80b8077811102e1925d1", "score": "0.5102006", "text": "public void setValue(Object value) {\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "7e84fd82f313d624aef565c783486392", "score": "0.5101685", "text": "private void sample(double value, int samples) {\n this.total += value;\n this.samples += samples;\n }", "title": "" }, { "docid": "72d147d1451779916a5dc7f17bd4098e", "score": "0.5101334", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "0300614f8a4fe1c04badf12630b04cfc", "score": "0.5095744", "text": "public void setValue(V value) {this.value = value;}", "title": "" }, { "docid": "1d9ed1880a224021f7da5834ceb4ec8c", "score": "0.50956756", "text": "public void sendBTvalue(int knob_id,float value){\r\n if ((!DISABLE_BLUETOOTH)){\r\n int valueToSend = Math.round(SimpleMath.map(value, 0, 1, 0, (float)ARDUINO_MAX_KNOB_VALUE));\r\n if (System.currentTimeMillis()-lastMsgSentTime[knob_id]>MINIMUM_GAP_BETWEEN_BT_COMMANDS){\r\n if (valueToSend!=knobLastValue[knob_id]){ //prevent un-needed sends of same-value\r\n if (btDeviceConnected && btHasControl) {\r\n if (DEBUG_BLUETOOTH) {\r\n if (knob_id == 0) {\r\n mBlue.SendMessage(\"0\");\r\n Log.d(\"SYNTH\",\"bluetooth send: \"+String.valueOf(0));\r\n }\r\n if (knob_id == 1) {\r\n mBlue.SendMessage(\"1\");\r\n Log.d(\"SYNTH\",\"bluetooth send: \"+String.valueOf(1));\r\n }\r\n } else {\r\n String msg = BT_KNOB_CHANGE_CMD+\" \" + String.valueOf(knob_id) + \"=\" + String.valueOf(valueToSend);\r\n mBlue.SendMessage(msg);\r\n //Log.d(\"SYNTH\",\"bluetooth send: \\\"\"+msg+\"\\\"\");\r\n }\r\n }\r\n lastMsgSentTime[knob_id] = System.currentTimeMillis();\r\n knobLastValue[knob_id]=valueToSend;\r\n }\r\n\r\n }else{\r\n //schedule value for future send:\r\n BTmsgSendLater(knob_id,value);\r\n }\r\n }\r\n\r\n }", "title": "" }, { "docid": "0af659689b6ac87a80162b15b3740ed1", "score": "0.508678", "text": "void setValue(T value);", "title": "" }, { "docid": "0af659689b6ac87a80162b15b3740ed1", "score": "0.508678", "text": "void setValue(T value);", "title": "" }, { "docid": "6a7d2818a1ab1136a3921ce7438cb9d4", "score": "0.50864077", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1de5e06295594d0fe8c03efd45605cd1", "score": "0.50851995", "text": "public void sendToRecipient(final Value value, final Address recipient)\n {\n TransactionOutput output = new TransactionOutput.Builder()\n .value(value)\n .script(StandardOutputScript.create(recipient))\n .build();\n this.outputs.add(output);\n }", "title": "" }, { "docid": "d7f170d251c436dcd731d4279a1c677b", "score": "0.5084473", "text": "protected void inlet(float value) {\n \tif (!defaultInt) {\n \t\tinlet((int)value);\n \t\treturn;\n \t}\n \telse if (!defaultAtomList) {\n \t\tlist(new Atom[] {Atom.newAtom(value)});\n \t\treturn;\n \t}\n \telse {\n \t\tanything(\"float\", new Atom[] {Atom.newAtom(value)});\n \t\treturn;\n \t}\n }", "title": "" }, { "docid": "e5a5f1e471fa106adeb31c98ceceda4d", "score": "0.507963", "text": "public void setValue(SlingFunction f) {\n source[0] = f;\n }", "title": "" }, { "docid": "04eb6d81e65867d87b4ecfef9ab2bdf7", "score": "0.5076435", "text": "public Node(int value) {//Constructor to create a new node and insert data\n this.value = value;\n }", "title": "" }, { "docid": "08ada7c402c7c32551f28dbb4887d70d", "score": "0.5043213", "text": "@Override\n\tpublic void setValue(double value) {\n\t\tif(Double.isInfinite(value)) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Cannot accept infinite result.\", \"Infinite\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\treturn;\n\t\t}\n\t\tif(Double.isNaN(value)) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Invalid fuction domain given.\", \"Domain\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tcurrentValue = Double.toString(value);\n\t\t\n\t\tnotifyAllListeners();\n\t}", "title": "" }, { "docid": "4b3d63e29a093d125d182cd198b5fc7e", "score": "0.5038669", "text": "@Override\n public void update(Number value) {\n double doubleValue = ((Number) value).doubleValue();\n\n settingSlider.setValue(doubleValue);\n settingValue.setText(String.format(\"%.2f\", doubleValue));\n }", "title": "" }, { "docid": "7703a689481c7200184e6677fc57811c", "score": "0.5038272", "text": "void setValue(Object value);", "title": "" }, { "docid": "7703a689481c7200184e6677fc57811c", "score": "0.5038272", "text": "void setValue(Object value);", "title": "" }, { "docid": "7a0e8caa0c3594eb49b4cea103d2c5df", "score": "0.50356996", "text": "public ValueNode(int value) {\n setValue(value);\n }", "title": "" }, { "docid": "a53c4c0a706c810cb13c1e282b9063ab", "score": "0.5030408", "text": "public void setBasedOnValue(entity.GL7Exposure value);", "title": "" }, { "docid": "73ef689ff49d6e5bf998e8be899b3e66", "score": "0.5029588", "text": "public void setValue(S value){\n this.value = value;\n }", "title": "" }, { "docid": "ccaad29aaa193dc99c6453d52d503598", "score": "0.5029512", "text": "public void setValue(double val){\n\t\tthis.value = val;\n\t}", "title": "" }, { "docid": "2a02e423b03754726f4e4561cfb6de8c", "score": "0.5023652", "text": "public void setValue(T value);", "title": "" }, { "docid": "2a02e423b03754726f4e4561cfb6de8c", "score": "0.5023652", "text": "public void setValue(T value);", "title": "" }, { "docid": "76f751a5ef398f862ca042c562505fd1", "score": "0.50236094", "text": "public void setValue( int index , double value ) {\n\t\tY.set(index,value);\n\t}", "title": "" }, { "docid": "c70f7470de5f88206a296fdca8774a80", "score": "0.5022367", "text": "public Builder setIntensity(\n int index, double value) {\n ensureIntensityIsMutable();\n intensity_.set(index, value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "906a7a22f6226a5d130fd976afee56cb", "score": "0.50183487", "text": "public void putPixelValue(int x, int y, double value) {\n\t\tif (x >= 0 && x < width && y >= 0 && y < height) {\n\t\t\tif (value > 255.0)\n\t\t\t\tvalue = 255;\n\t\t\telse if (value < 0.0)\n\t\t\t\tvalue = 0.0;\n\t\t\tint gray = (int) (value + 0.5);\n\t\t\tpixels[y * width + x] = 0xff000000 + (gray << 16) + (gray << 8)\n\t\t\t\t\t+ gray;\n\n\t\t}\n\t}", "title": "" }, { "docid": "ce858adac1d1a89870c14f5ae24743e1", "score": "0.50180656", "text": "protected void updateNode(final Node<E> node, final E value) {\n node.setValue(value);\n }", "title": "" }, { "docid": "eca1a281c365230f0fb5be4c1493df87", "score": "0.5017918", "text": "public final void setValue(Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "959d31b15fb83ad1a2cd99df2b9cdf15", "score": "0.50166136", "text": "public void add(int value) {\n Node newNode = new Node(value);\n if(head == null) {\n head = newNode;\n } else {\n Node runner = head;\n while(runner.next != null) {\n runner = runner.next;\n }\n runner.next = newNode;\n }\n }", "title": "" }, { "docid": "599d35953cfff17ece11195768a1c4b1", "score": "0.5007641", "text": "public void sample(double value) {\n sample(value, 1);\n }", "title": "" }, { "docid": "1146a8472963e2a504d0cc4e11bd3371", "score": "0.5002911", "text": "public void addValue (String setting, float value);", "title": "" }, { "docid": "afcef95c48bc378141b7c98d744b5f19", "score": "0.49905413", "text": "public void addValue(double value) {\n\t\tlist.add(value);\n\t}", "title": "" }, { "docid": "22825c63b1cd5589ffe8d5ae3302d808", "score": "0.49892265", "text": "private void putStack(Float value) {\n //On ajoute la valeur sur la pile\n pile.push(value);\n\n refreshNumbers();\n }", "title": "" }, { "docid": "ab1987c16cd1a469d791163ad394f643", "score": "0.49793166", "text": "@Override\n\tpublic void setValue(Object value) {\n\t\tstoreRawValue(Integer.toString((Integer)value));\n\t}", "title": "" }, { "docid": "f949f070fe6eb9cff9bcdf4dd9172267", "score": "0.49755883", "text": "public void setValue(java.lang.Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "86ed5af7f34c7e04b52648551c375ad1", "score": "0.4975021", "text": "void add(int value) {\n root = addAndUpdate(root,value);\n }", "title": "" }, { "docid": "ed3a4d066d3524dda6c74b47e19b6a27", "score": "0.49687415", "text": "@Override\n public void feedToActivationFunction() {\n this.output = this.getInput();\n }", "title": "" }, { "docid": "4f3d63f7dffdc7dc0f671c794e3423bb", "score": "0.4966202", "text": "public void setValue(int value) {\n this._value = value;\n }", "title": "" }, { "docid": "9f75ec207f4216749fa0afa503817bb8", "score": "0.4959043", "text": "private void setX(double value) {\n \n x_ = value;\n }", "title": "" }, { "docid": "3cd758c9c257b51e879f4e2eea86c0e9", "score": "0.495497", "text": "public void update(DataPoint dataPoint, double targetValue);", "title": "" }, { "docid": "85127f685118848d365daf8af4f50812", "score": "0.4954961", "text": "public void update_value() {\n }", "title": "" }, { "docid": "e7443f16eab31c5062bcc7c1ed0a2a5d", "score": "0.49504364", "text": "public void sample(boolean value) {\n sample(value ? 1 : 0);\n }", "title": "" }, { "docid": "440af6a261787bb09c67c7e8eaa5917f", "score": "0.4948756", "text": "@Override\n public void setPort(final int tag, final String portName, final double value,\n TimeStamp timeStamp) {\n getSynthesizer().scheduleCommand(timeStamp, new ScheduledCommand() {\n @Override\n public void run() {\n VoiceTracker voiceTracker = findVoice(tag);\n if (voiceTracker != null) {\n voiceTracker.voice.setPort(portName, value, getSynthesizer().createTimeStamp());\n }\n }\n });\n }", "title": "" }, { "docid": "c0f0aca7dfadca1c19b24b0494331b65", "score": "0.4948466", "text": "public void limitSumPower(int value, Computer... nodes) {\r\n\t\taddRule(new LimitSumPower(this, value, nodes));\r\n\t}", "title": "" }, { "docid": "12815b510c27a6af8be8f2e341f71afc", "score": "0.49346545", "text": "public void setParameter(String param, float value) throws IOException {\n\t\tOSCMessage oscmessage = new OSCMessage(\"/setparam\");\n\t\toscmessage.addArgument(param);\n\t\toscmessage.addArgument((float)value);\n\t\toscout.send(oscmessage);\n\t}", "title": "" }, { "docid": "707e45ffcbb3acf7b3638b0e3a0d8b04", "score": "0.4926559", "text": "public void set(T value, int index) {\n\t\tGenericListNode<T> setNode = search(index);\n\t\tsetNode.data = value;\n\t}", "title": "" }, { "docid": "353092496cd1965f6daf020d0aff8517", "score": "0.49248466", "text": "public void append(int value) {\n\t\t\tNode newNode = new Node(value);\n\t\t\tNode current = head;\n\t\t\tif(head == null) {\n\t\t\t\thead = newNode;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile(current.next != null) {\n\t\t\t\tcurrent = current.next;\n\t\t\t}\n\t\t\tcurrent.next = newNode;\n\t\t\tnewNode.next = null;\n\t\t}", "title": "" }, { "docid": "b5afb2844a67c2f593b8af962828339e", "score": "0.49247375", "text": "public synchronized void add(int value) {\n\t\tint position = writeIndex; // store the write index\n\n\t\ttry {\n\t\t\t// put thread to sleep for 0-499 milliseconds\n\t\t\tThread.sleep(generator.nextInt(500));\n\t\t} // end try\n\t\tcatch (InterruptedException ex) {\n\t\t\tex.printStackTrace();\n\t\t} // end catch\n\n\t\t// put value in the appropriate element\n\t\tarray[position] = value;\n\t\tSystem.out.printf(\"%s wrote %2d to position %d.\\n\", Thread\n\t\t\t\t.currentThread().getName(), value, position);\n\n\t\t++writeIndex; // increment index of element to be written next\n\t\tSystem.out.printf(\"Next write index: %d\\n\", writeIndex);\n\t}", "title": "" }, { "docid": "f7ccd005f2840945743beac6b1668e8d", "score": "0.49177703", "text": "public void setValue(int value) {\n slider.setValue(value);\n }", "title": "" } ]
c6995213355cfde7bb5d113215463e75
Create the index template ...
[ { "docid": "0e026b4d4adc1185efbf3c49487cfd00", "score": "0.0", "text": "protected void registerIndex( String indexName,\n IndexKind kind,\n String providerName,\n String indexedNodeType,\n String desc,\n String workspaceNamePattern,\n String propertyName,\n int propertyType ) throws RepositoryException {\n IndexDefinitionTemplate template = indexManager().createIndexDefinitionTemplate();\n template.setName(indexName);\n template.setKind(kind);\n template.setNodeTypeName(indexedNodeType);\n template.setProviderName(providerName);\n template.setSynchronous(useSynchronousIndexes());\n if (workspaceNamePattern != null) {\n template.setWorkspaceNamePattern(workspaceNamePattern);\n } else {\n template.setAllWorkspaces();\n }\n if (desc != null) {\n template.setDescription(desc);\n }\n\n // Set up the columns ...\n IndexColumnDefinition colDefn = indexManager().createIndexColumnDefinitionTemplate().setPropertyName(propertyName)\n .setColumnType(propertyType);\n template.setColumnDefinitions(colDefn);\n\n // Register the index ...\n indexManager().registerIndex(template, false);\n }", "title": "" } ]
[ { "docid": "b0167faa99a64821b6ded5aeeae09e2d", "score": "0.70215154", "text": "public synchronized void createIndex() {\r\n if (isIndexBeingCreated()) {\r\n return;\r\n }\r\n creatingIndex = true;\r\n \r\n Thread thread = new Thread(\"Search Index Generator\") {\r\n @Override\r\n public void run() {\r\n doCreateIndex();\r\n }\r\n };\r\n \r\n thread.setPriority(Thread.MIN_PRIORITY);\r\n thread.start();\r\n }", "title": "" }, { "docid": "6530234b97ee2873a3cd68dc4c486ae7", "score": "0.6882187", "text": "private void indexTemplates(AnnotationIndex<Annotation> templateIndex, Document doc) {\n\t\tfor (Annotation annotation : templateIndex) {\n\t\t\tWikiTemplateAnnotation wikiTemplate = (WikiTemplateAnnotation) annotation;\n\t\t\tdoc.add(new Field(IndexFieldNames.TEMPLATES_FIELD_NAME, wikiTemplate.getName(),\n\t\t\t\t\tField.Store.YES, Field.Index.ANALYZED));\n\t\t}\n\t}", "title": "" }, { "docid": "d56c1af7dab3fe21b9ab85d01154de98", "score": "0.6602319", "text": "public static CreateIndex.Stub createIndex() {\n\t\treturn new CreateIndex.Stub(false, false);\n\t}", "title": "" }, { "docid": "630a97c1a9cfae2b9b362e2e0a079c7e", "score": "0.6490158", "text": "@Override\n @SneakyThrows\n public void createIndex(CreateIndex createIndex) {\n\n if (getIndexName().isEmpty()){\n throw new IllegalStateException(\"No index name configured\");\n }\n final String supplied = indexNameSupplier.get();\n\n final String indexName;\n if (createIndex.isUseNumberPostfix()) {\n long number = firstNewNumber();\n indexName = supplied + \"-\" + number;\n } else {\n indexName = supplied;\n }\n\n ObjectNode request = Jackson2Mapper.getInstance().createObjectNode();\n\n if (createIndex.isCreateAliases() && (! this.aliases.isEmpty() || createIndex.isUseNumberPostfix())) {\n ObjectNode aliases = request.withObject(\"/aliases\");\n for (String alias : this.aliases) {\n if (alias.equals(indexName)) {\n continue;\n }\n if (alias.equals(supplied)) {\n if (aliasExists(alias)) {\n log.info(\"Not making alias {} because it exists already\");\n continue;\n }\n }\n aliases.withObject(\"/\" + alias);\n }\n }\n\n ObjectNode settings = request.set(\"settings\", this.settings.get());\n if (createIndex.isForReindex()){\n forReindex(settings);\n }\n if (createIndex.getShards() != null) {\n ObjectNode index = settings.withObject(P_SETTINGS).withObject(P_INDEX);\n index.put(\"number_of_shards\", createIndex.getShards());\n }\n if (createIndex.getNumberOfReplicas() != null) {\n ObjectNode index = settings.withObject(P_SETTINGS).withObject(P_INDEX);\n index.put(\"number_of_replicas\", createIndex.getNumberOfReplicas());\n }\n if (mapping == null) {\n throw new IllegalStateException(\"No mappings provided in \" + this);\n }\n ObjectNode mappingJson = mapping.get();\n if (elasticSearchIndex != null) {\n BiConsumer<Distribution, ObjectNode> mappingsProcessor = elasticSearchIndex.getMappingsProcessor();\n mappingsProcessor.accept(getInfo().get().getDistribution(), mappingJson);\n }\n request.set(\"mappings\", mappingJson);\n HttpEntity entity = entity(request);\n\n log.info(\"Creating index {} with mapping {}: {}\", indexName, mapping, request.toString());\n Request req = new Request(PUT, \"/\" + indexName);\n req.setEntity(entity);\n ObjectNode response = read(client().performRequest(req));\n\n\n if (response.get(\"acknowledged\").booleanValue()) {\n String setIndexName = getIndexName();\n if (! Objects.equals(setIndexName, indexName)) {\n setIndexName(indexName);\n log.info(\"Created index {} (postfixed from {})\", getIndexName(), setIndexName);\n } else {\n log.info(\"Created index {}\", getIndexName());\n }\n } else {\n log.warn(\"Could not create index {}\", indexName);\n }\n\n }", "title": "" }, { "docid": "6e76ae495d4a863aefb35f1350cec291", "score": "0.64508224", "text": "int createIndex() throws IOException;", "title": "" }, { "docid": "d67956b0269ef136bc2e0f06951b1b10", "score": "0.6386979", "text": "@Override\n public void createIndex() throws IOException {\n final IndicesExistsResponse res = client.admin ( ).indices ( ).prepareExists\n ( AppConfig.properties.getElasticSearchIndexName ( ) ).execute ( ).actionGet ( );\n if (!res.isExists ( )) {\n client.admin ( ).indices ( )\n .prepareCreate ( AppConfig.properties.getElasticSearchIndexName ( ) )\n .get ( );\n client.admin ( ).cluster ( ).prepareHealth ( AppConfig.properties.getElasticSearchIndexName ( ) ).setWaitForYellowStatus ( );\n }\n client.admin ( ).indices ( ).preparePutMapping ( AppConfig.properties.getElasticSearchIndexName ( ) )\n .setType ( AppConfig.properties.getElasticSearchDocumentName ( ) )\n .setSource ( \"{\\n\" +\n \" \\\"\" + AppConfig.properties.getElasticSearchDocumentName ( ) + \"\\\":{\\n\" +\n \" \\\"properties\\\": {\\n\" +\n \" \\\"name\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"category\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"topcategory\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"cityid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"cityname\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"townid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"townname\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"oldtowns\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"oldquarters\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"quarterid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"streetid\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"zipcode\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n\" +\n \" \\\"location\\\": {\\n \\\"type\\\": \\\"geo_shape\\\"\\n }\" +\n \" }\\n\" +\n \" }\\n\" +\n \"}\" )\n .get ( );\n }", "title": "" }, { "docid": "c6709296db8caec8412ec929ec46d699", "score": "0.63002515", "text": "public SoupIndex() {\n super();\n }", "title": "" }, { "docid": "8d556ef54245e97bf50d3b418d35af8e", "score": "0.6293875", "text": "public void create(int index, Object type);", "title": "" }, { "docid": "ff8115553c5dda04d931b15d88363c53", "score": "0.6288122", "text": "public void index() {\n new Index();\n }", "title": "" }, { "docid": "ea637eec40639acd1acb679451d6b1f9", "score": "0.62525624", "text": "public SearchEngineIndex buildIndex(final ArrayList<File> files);", "title": "" }, { "docid": "2c3536b39c3cc1209374df1970afc969", "score": "0.61687106", "text": "CPNIndex createCPNIndex();", "title": "" }, { "docid": "91bb042d0701fd979568e1a8b69c3cfb", "score": "0.6150346", "text": "@Override\n\t public void constructIndex() throws IOException {\n\n\t\t String corpusDirPath = _options._corpusPrefix;\n\t\t System.out.println(\"Constructing index from: \" + corpusDirPath);\n\t\t \n\t\t StringBuffer ss = new StringBuffer();\n\t\t File corpusDir = new File(corpusDirPath);\n\t\t for (File corpusFile : corpusDir.listFiles()) {\n\t\t\t if(corpusFile.getName().startsWith(\".\")) {\n\t\t\t\t continue;\n\t\t\t }\n\t\t\t \n\t\t\t Document doc = Jsoup.parse(corpusFile, \"UTF-8\");\n\t\t\t String contents = doc.text();\n\t\t\t \n\t\t\t System.out.println(\"Processing : \" + _numDocs + \" : \" + corpusFile.getName());\n\t\t\t \n\t\t\t ss.append(\"Processing : \" + _numDocs + \" : \" + corpusFile.getName());\n\t\t\t ss.append(\"\\n\");\n\t\t\t\t\n\t\t\t processDocument(contents, doc, _numDocs);\n\n\t\t\t if ((_numDocs + 1) % _maxFiles == 0) {\n\t\t\t\t // write index to intermediate file\n\t\t\t\t writeIndexToFile();\n\t\t\t\t System.out.println(\"writing to : \" + _docInfoFile);\n\t\t\t\t // flush the in memory index\n\t\t\t\t _occuredIndex = new LinkedHashMap<String, Map<Integer,Vector<Integer>>>();\n\t\t\t\t docInfo = new StringBuffer();\n\t\t\t }\n\n\t\t\t _numDocs++;\n\t\t }\n\n\t\t // write last batch of info\n\t\t writeIndexToFile();\n\t\t}", "title": "" }, { "docid": "58c2f71f69adf4ed75f00c309669984b", "score": "0.61243886", "text": "private DesignTemplate(int ind){this.index = ind;}", "title": "" }, { "docid": "09443ed03c7d423e3b7e1ef4c94774b0", "score": "0.608853", "text": "public void createIndex(List<Article> articles) {\n\n for (Article article : articles) {\n try {\n Document doc = new Document(); // Create documents that will be stored in the index\n\n // Tokenize the Article Title\n doc.add(new TextField(ApplicationConfig.ARTICLE_TITLE, article.getTitle(), Field.Store.YES));\n\n // Add the article ID and publication date as atomic values\n doc.add(new StringField(ApplicationConfig.PMID, article.getId(), Field.Store.YES));\n doc.add(new StringField(ApplicationConfig.MONTH, article.getMonth(), Field.Store.YES));\n doc.add(new StringField(ApplicationConfig.YEAR, article.getYear(), Field.Store.YES));\n\n indexWriter.addDocument(doc); // Add the document to the index\n exists = true; // Prevents the XML document from being re-parsed\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n // Opening and closing the index is expensive, so only do it after the entire batch updates\n closeIndexWriter();\n }", "title": "" }, { "docid": "3b7f8abc889979ffa6c98c7fc60d0524", "score": "0.6081284", "text": "public void buildHelper() throws Exception {\n\n\t\tif (isClustered) {\n\t\t\treCluster () ;\n\t\t}\n\n\t\t/*generate map to store <key, List< [pageid, tupleid] >>*/\n\t\tMap<Integer, List<Integer[]>> map = buildMap();\n\n\t\tint[] keys = new int[map.size()];\n\t\tint i=0;\n\t\tfor (Integer key: map.keySet()) {\n\t\t\tkeys[i++] = key;\n\t\t}\n\t\tArrays.sort(keys);\n\n\t\t//\"src/samples/indexes/indextest\";\n\t\tString path = indexFilePath + \"/\" + tableName + \".\"+attribute;\n\t\tTupleWriter write = new TupleWriter(path);\n\t\tint pageIndex = 0;\n\n\t\t/*write header page*/\n\t\tSystem.out.println(\"header page\");\n\t\tNode headerNode = new indexNode();\n\t\theaderNode.addressNumber = pageIndex;\n\t\tList<Integer> data = headerNode.getDatalist();\n\t\twrite.writePage(data);\n\t\tpageIndex++;\n\n\n\t\tSystem.out.println(\"leaf page\");\n\t\t/*write leaf page*/\n\t\t\n\t\t/*the next position of key*/\n\t\tint keyPosition = 0;\n\t\tDeque<Node> nodeQueue = new LinkedList<>();\n\n\t\twhile (keyPosition < keys.length) {\n\t\t\t/*check the rest number of children*/\n\t\t\tint restChildren = keys.length - keyPosition;\n\t\t\tint keySize = 2 * order;\n\t\t\t/*2d < children < 3d*/\n\t\t\tif (restChildren > 2 * order && restChildren < 3 * order ) {\n\t\t\t\tkeySize = restChildren /2;\n\t\t\t} else if (restChildren < 2* order) {\n\t\t\t\tkeySize = restChildren;\n\t\t\t}\n\n\t\t\tNode leafNode = new leafNode();\n\t\t\tleafNode.addressNumber = pageIndex;\n\t\t\tleafNode.generate(map, keys, keyPosition, keySize);\n\t\t\tdata = leafNode.getDatalist();\n\t\t\twrite.writePage(data);\n\n\t\t\tnodeQueue.add(leafNode);\n\t\t\tpageIndex++;\n\t\t\tkeyPosition += keySize;\n\n\t\t}\n\n\t\tint leafNumber = pageIndex-1;\n\t\tboolean childLayer = true;\n\n\t\t/*write index page*/\n\t\twhile (!nodeQueue.isEmpty()) {\n\t\t\tint size = nodeQueue.size();\n\t\t\t/*handle case that the only have one leaf node\n\t\t\t * and it will generate a index tree like (index node without key) --> (leaf node)\n\t\t\t * */\n\t\t\tif (size == 1 && !childLayer ) {\n\t\t\t\tpageIndex--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint start = 0;\n\t\t\t/*generate index node for this level*/\n\t\t\twhile (start < size) {\n\t\t\t\tchildLayer = false;\n\t\t\t\t/*check the rest number of children*/\n\t\t\t\tint restChildren = size - start;\n\t\t\t\tint keySize = 2 * order +1;\n\t\t\t\t/*2d +1 < children < 3d +2 */\n\t\t\t\tif (restChildren > 2 * order +1 && restChildren < 3 * order +2 ) {\n\t\t\t\t\tkeySize = restChildren /2;\n\t\t\t\t} else if (restChildren < 2* order +1) {\n\t\t\t\t\tkeySize = restChildren;\n\t\t\t\t}\n\n\t\t\t\tNode indexNode = new indexNode();\n\t\t\t\tindexNode.addressNumber = pageIndex;\n\n\t\t\t\tint counter = keySize;\n\t\t\t\twhile(counter>0) {\n\t\t\t\t\tindexNode.addChildNode(nodeQueue.poll());\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\n\n\t\t\t\tindexNode.generate();\n\t\t\t\tdata = indexNode.getDatalist();\n\t\t\t\twrite.writePage(data);\n\n\t\t\t\tnodeQueue.add(indexNode);\n\t\t\t\tpageIndex++;\n\t\t\t\tstart += keySize;\n\n\t\t\t}\t\n\t\t\tSystem.out.println(\"level\");\n\t\t}\n\n\t\t/*rewrite root node*/\n\t\theaderNode.getDatalist().add(pageIndex);\n\t\theaderNode.getDatalist().add(leafNumber);\n\t\theaderNode.getDatalist().add(order);\n\n\t\twrite.reWritePage(0, headerNode.getDatalist());\n\t\twrite.close();\n\n\n\n\t}", "title": "" }, { "docid": "3a125ca16d8f53c588fbe0eacd1579da", "score": "0.60541934", "text": "Template createTemplate();", "title": "" }, { "docid": "a5b3e598ce38290db71deefcc19b97a5", "score": "0.6003532", "text": "protected void checkForIndexTemplate(String index,String docType,String timeFieldName) {\n\t\tString name = index + \"-template\";\n\t\tGetIndexTemplatesResponse response = client.admin().indices().prepareGetTemplates(name).execute().actionGet();\n\t\tif (response.getIndexTemplates().size() > 0) {\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tXContentBuilder json = JsonXContent.contentBuilder();\n\t\t\tjson.startObject();\n\t\t\tjson.field(\"template\", index + \"*\");\n\n\n\t\t\tjson.startObject(\"mappings\");\n\t\t\t\tjson.startObject(docType);\n\t\t\t\t\tjson.startObject(\"properties\");\n\t\t\t\t\t\t\tjson.startObject(timeFieldName);\n\t\t\t\t\t\t\tjson.field(\"type\", \"date\");\n\t\t\t\t\t\t\tjson.field(\"format\", \"epoch_millis\");\n\t\t\t\t\t\t\tjson.endObject();\n\t\t\t\t\tjson.endObject();\n\t\t\t\tjson.endObject();\n\t\t\tjson.endObject();\n\n//\t\t\t\"dynamic_templates\": [\n//\t\t\t{\n//\t\t\t\t\"strings_as_keyword\": {\n//\t\t\t\t\"mapping\": {\n//\t\t\t\t\t\"type\": \"keyword\",\n//\t\t\t\t\t\t\t\"ignore_above\": 1024\n//\t\t\t\t},\n//\t\t\t\t\"match_mapping_type\": \"string\"\n//\t\t\t}\n//\t\t\t}\n// ]\n//\n//\t\t}\n\n\t\t\tjson.startArray(\"dynamic_templates\");\n\t\t\t\tjson.startObject();\n\t\t\t\t\tjson.startObject(\"strings_as_keyword\");\n\t\t\t\t\t\tjson.startObject(\"mapping\");\n\t\t\t\t\t\tjson.field(\"type\", \"keyword\");\n\t\t\t\t\t\tjson.field(\"ignore_above\", \"256\");\n\t\t\t\t\t\tjson.endObject();\n\t\t\t\t\tjson.field(\"match_mapping_type\", \"string\");\n\t\t\t\t\tjson.endObject();\n\t\t\t\tjson.endObject();\n\t\t\tjson.endArray();\n\n\n\t\t\tjson.endObject();\n\t\t\tclient.admin().indices().preparePutTemplate(name).setPatterns(Arrays.asList(index + \"-*\")).setSource(json).execute().actionGet();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "cc762b2811f1807bdaa0f7012b52d959", "score": "0.5989233", "text": "@Override\n public boolean autoIndexCreation() {\n return false;\n }", "title": "" }, { "docid": "494930af7408c7dfd1a869a1a176ee5c", "score": "0.5983691", "text": "public static void loadIndex(){\n\t\t// chargement de l'index des tags des documents \n\t\tlong startLoadingDocTag = System.currentTimeMillis();\n\t\tindexTag = Index.createIndex(\"/home/ould/ould/collections/delicious_cogo/indexation/index_document_tags/terrier-4.0/var/index\", \"data\");\n\t\tif(indexTag == null)\n\t\t{\n\t\t\tlogger.fatal(\"Failed to load index tags. Perhaps index files are missing\");\n\t\t}\n\t\tlong endLoadingDocTag = System.currentTimeMillis();\n\t\tif (logger.isInfoEnabled())\n\t\t\tlogger.info(\"time to intialise index tag: \" + ((endLoadingDocTag-startLoadingDocTag)/1000.0D));\n\n\n\n\t\t// chargement de l'index des documents \n\t\tlong startLoadingDoc = System.currentTimeMillis();\n\t\tindexDoc = Index.createIndex(\"/home/ould/ould/collections/delicious_cogo/indexation/index_documents/terrier-4.0/var/index\", \"data\");\n\t\tif(indexDoc == null)\n\t\t{\n\t\t\tlogger.fatal(\"Failed to load index tags. Perhaps index files are missing\");\n\t\t}\n\t\tlong endLoadingDoc = System.currentTimeMillis();\n\t\tif (logger.isInfoEnabled())\n\t\t\tlogger.info(\"time to intialise index tag: \" + ((endLoadingDoc-startLoadingDoc)/1000.0D));\n\t}", "title": "" }, { "docid": "2dacf69a02379e41b54491f85a06e556", "score": "0.5982809", "text": "@Override\n public void enterCreate_index_stmt(SQLiteParser.Create_index_stmtContext ctx) throws DBAppException {\n String tableName=ctx.table_name().getText();\n List<SQLiteParser.Index_nameContext> temp=ctx.index_name();\n String [] colNames=new String[temp.size()];\n int i=0;\n for(SQLiteParser.Index_nameContext x:temp){\n colNames[i++]=x.getText();\n }\n dbApp.createIndex(tableName,colNames);\n }", "title": "" }, { "docid": "c40af5e5460ad268c0c9808eb183ba78", "score": "0.5981438", "text": "public indexManager() {}", "title": "" }, { "docid": "c70b313c5ed2eeac6435f3597cd53aac", "score": "0.5948669", "text": "public static Result index() {\n SqlConn sqlWritter = new SqlConn(\"will\");\n dbList = sqlWritter.readDbList();\n sqlWritter.closeCon();\n List<String> tbList = new ArrayList<>();\n return ok(index.render(dbList, null, null));\n }", "title": "" }, { "docid": "a982b3ac757b4ba7a85ed612856cec64", "score": "0.5914754", "text": "public synchronized void schedule() {\r\n if (timer != null) {\r\n timer.cancel();\r\n }\r\n timer = new Timer(true);\r\n \r\n TimerTask task = new TimerTask() {\r\n @Override\r\n public void run() {\r\n createIndex();\r\n }\r\n };\r\n \r\n long daysBetween = settingsService.getIndexCreationInterval();\r\n int hour = settingsService.getIndexCreationHour();\r\n \r\n if (daysBetween == -1) {\r\n LOG.info(\"Automatic index creation disabled.\");\r\n return;\r\n }\r\n \r\n Date now = new Date();\r\n Calendar cal = Calendar.getInstance();\r\n cal.setTime(now);\r\n cal.set(Calendar.HOUR_OF_DAY, hour);\r\n cal.set(Calendar.MINUTE, 0);\r\n cal.set(Calendar.SECOND, 0);\r\n \r\n if (cal.getTime().before(now)) {\r\n cal.add(Calendar.DATE, 1);\r\n }\r\n \r\n Date firstTime = cal.getTime();\r\n long period = daysBetween * 24L * 3600L * 1000L;\r\n timer.schedule(task, firstTime, period);\r\n \r\n LOG.info(\"Automatic index creation scheduled to run every \" + daysBetween + \" day(s), starting at \" + firstTime);\r\n \r\n // In addition, create index immediately if it doesn't exist on disk.\r\n if (!isIndexCreated()) {\r\n LOG.info(\"Search index not found on disk. Creating it.\");\r\n createIndex();\r\n }\r\n }", "title": "" }, { "docid": "1749f98e6ff8e4401b3fd5c11638f3bc", "score": "0.5886015", "text": "private GenericIndex createIndex(int indexType, Class<?> attributeType, String controllingAttribute) {\n \t\tGenericIndex index;\n \n \t\t// If all the values for the controllingAttribute are NULL, return null\n \t\tString _type = \"node\";\n \t\tif (indexType == QuickFind.INDEX_EDGES){\n \t\t\t_type = \"edge\";\n \t\t}\n \t\t//\n \t\tif ((attributeType == Integer.class)\n \t\t || (attributeType == Double.class)) {\n \t\t\tindex = IndexFactory.createDefaultNumberIndex(indexType);\n \t\t} else {\n \t\t\tindex = IndexFactory.createDefaultTextIndex(indexType);\n \t\t}\n \n \t\tindex.setControllingAttribute(controllingAttribute);\n \n \t\treturn index;\n \t}", "title": "" }, { "docid": "b56c6ae260ceba2407ee03a23bffb426", "score": "0.5862745", "text": "private void createPhotoIndex(TransportClient client) {\n\n // delete index before starting\n try {\n DeleteIndexResponse deleteResponse = client.admin().indices()\n .delete(new DeleteIndexRequest(propertyService.getEsPhotoIndex())).actionGet();\n } catch (Exception e) {\n logger.info(e.getMessage());\n }\n\n String locationType =\n \"{\\n\" +\n \" \\\"\"+propertyService.getEsPhotoIndexType()+\"\\\": {\\n\" +\n \" \\\"properties\\\": {\\n\" +\n \" \\\"location\\\": {\\n\" +\n \" \\\"type\\\": \\\"geo_point\\\"\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\";\n\n logger.info(\"trying to create index...\");\n logger.info(propertyService.getEsPhotoIndex());\n logger.info(propertyService.getEsPhotoIndexType());\n\n client.admin().indices().prepareCreate(propertyService.getEsPhotoIndex())\n .addMapping(propertyService.getEsPhotoIndexType(),locationType,XContentType.JSON)\n .get();\n }", "title": "" }, { "docid": "b2a379f06cb759bfb2a86e6e653339fd", "score": "0.58299834", "text": "protected static void createIndex(String indexName) {\n\t\ttry {\n\t\t\t// Create our expand / search indices\n\t\t\tString endpoint = String.format(\"/%s\", indexName);\n\t\t\tMap<String, String> params = new HashMap<String, String>();\n\t\t\tStringEntity requestBody = new StringEntity(INDEX_JSON);\n\n\t\t\tResponse resp = client.performRequest(\"PUT\", endpoint, params, requestBody, contentTypeHeader);\n\t\t\tstaticLogger.debug(\"Response: \" + resp.getStatusLine());\n\n\t\t} catch (IOException e) {\n\t\t\t// Ignore this...? probably already exists\n\t\t\tstaticLogger.error(e.getMessage(), e);\n\n\t\t\tif (e instanceof UnsupportedEncodingException) {\n\t\t\t\tstaticLogger.error(\"Error encoding JSON: \" + e.getMessage(), e);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f03260c38530811f85a89b7402b53883", "score": "0.5820401", "text": "private static void createHealthDataIndex(){\r\n\t\tString[] index_and_order = {\"phone,1\",\"appType,1\",\"dataType,1\",\"measureTime,1\"};\r\n\t\thealth_data = db.getCollection(collection_health_data);\r\n\t\tcreateIndex(health_data, index_and_order);\r\n\t}", "title": "" }, { "docid": "51e7e9fe1ad2c16e587f826b3f7c756b", "score": "0.58183265", "text": "public static CreateIndex.Stub createUniqueIndex() {\n\t\treturn new CreateIndex.Stub(true, false);\n\t}", "title": "" }, { "docid": "61ba0f1c89ad691a9df5a7329db7c6a7", "score": "0.5806487", "text": "public void createInvertedIndex() throws IOException {\n mergeTermsPostings();\n mergeCityPostings();\n tmpCityDic.clear();\n mergeDocsPostings();\n tmpDocsDic.clear();\n createFinalTermsPostings();\n createFinalTermsDic();\n deleteTmpFiles();\n }", "title": "" }, { "docid": "f138ad337ab3432f5717967a07d1887f", "score": "0.5789705", "text": "TemplateBuilder templateBuilder();", "title": "" }, { "docid": "6aaf717c2b3edde3fc70a8a4e2ce8a71", "score": "0.57832235", "text": "public static CreateIndex.Stub createIndexIfNotExists() {\n\t\treturn new CreateIndex.Stub(false, true);\n\t}", "title": "" }, { "docid": "492a9b84797f48f0afad16615e0e31ed", "score": "0.57783353", "text": "private static void createPatientDataIndex(){\r\n\t\tString[] index_and_order = {\"phone,1\",\"appType,1\"};\r\n\t\tpatient_data = db.getCollection(collection_patient_data);\r\n\t\tcreateIndex(patient_data, index_and_order);\r\n\t}", "title": "" }, { "docid": "b71af71fc9295f5da328a86c73b17570", "score": "0.5776086", "text": "public Datum index();", "title": "" }, { "docid": "a6363c60ba87428c1f55b6bf72e68577", "score": "0.5738237", "text": "TarantoolIndexMeta getSpaceIndex(String spaceName, String indexName);", "title": "" }, { "docid": "8035bc9067e268d9d43f64853882cb35", "score": "0.57338595", "text": "public TemplateController(int i){ \n // index=i; // example \n }", "title": "" }, { "docid": "aafd034bbe261c51569586d167ddb73a", "score": "0.5707166", "text": "ExistenceTemplate createExistenceTemplate();", "title": "" }, { "docid": "da4a89ea968064af9374953a2d5bf9d2", "score": "0.57061654", "text": "private void createIndex(MariaDB mariaDB) throws ClassNotFoundException, IOException, SQLException {\n\t\tHashMap<String,String> uniqueTokensBigram = this.getUniqueTokenBigram(mariaDB);\n\t\tFile indexFolder1 = new File(ConfigLucene.INDEX_FOLDER);\n\t\tIndexBigramLucene.IndexLuceneUniqueTokensBigram(uniqueTokensBigram, indexFolder1, ConfigLucene.CONCATENATION_FIELD,\n\t\t\t\tConfigLucene.BIGRAM_FIELD);\n\t}", "title": "" }, { "docid": "c02662a4dff1c9251b4e4e515aa05a19", "score": "0.56786615", "text": "MobaIndexFactory getMobaIndexFactory();", "title": "" }, { "docid": "c0e9f79e098d33d238019aa62b33f071", "score": "0.5675032", "text": "public KeyIndex createKeyIndex() {\n/* 438 */ return new KeyIndex(this._indexSize);\n/* */ }", "title": "" }, { "docid": "06cd47abc48d059561f65811c3f90713", "score": "0.56707686", "text": "public IndexEntries() {\n\t\tsuper(\"index_entries\", io.corps.sgoc.jooq.DefaultSchema.DEFAULT_SCHEMA);\n\t}", "title": "" }, { "docid": "35b764322f5e6500e97396bdd3ceabb4", "score": "0.56559056", "text": "public static Model createIndex(Model dataModel) {\n\t\treturn createIndex(dataModel, new Config());\n\t}", "title": "" }, { "docid": "45a81ac3ef830061983873564872bcb8", "score": "0.56490093", "text": "public Result indexD() {\n \n return ok(index.render(\"Gestion de Docentes\") );\n }", "title": "" }, { "docid": "1aa79471662f3ed53973ace1cd36e4b3", "score": "0.5625232", "text": "public void index( File root, boolean create, String index )\n {\n\n try\n {\n Date start = new Date();\n\n writer = new IndexWriter(index, new StandardAnalyzer(), create, IndexWriter.MaxFieldLength.LIMITED);\n\n if (!create)\n { // delete stale docs\n deleting = true;\n indexDocs(root, index, create);\n }\n\n indexDocs(root, index, create); // add new docs\n\n System.out.println(\"Optimizing index...\");\n writer.optimize();\n writer.close();\n\n Date end = new Date();\n\n System.out.print(end.getTime() - start.getTime());\n System.out.println(\" total milliseconds\");\n\n }\n catch( Exception e )\n {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "049837bdbfede9c768770cf429096656", "score": "0.5616663", "text": "public TemplateController(){}", "title": "" }, { "docid": "a2c670d387c6005f40089f7287b554f0", "score": "0.55987597", "text": "public void generateTableTemplateData() throws FileNotFoundException, NotBoundException, RemoteException {\n List templates = ServiceFacade.getInstance().getTemplates();\n if (templates != null) {\n tableTemplateData = new String[templates.size()][COUNT_PARAMETERS];\n int j = 0;\n for (int i = 0; i < tableTemplateData.length; i++) {\n tableTemplateData[i][j] = ((Template) templates.get(i)).getName();\n }\n } else {\n tableTemplateData = new String[1][1];\n tableTemplateData[0][0] = null; //empty table\n }\n \n modelTemplate = new ResultTableModel(headerNameTemplate, tableTemplateData);\n }", "title": "" }, { "docid": "070d3bdffe2b39063ea06f92f6d470ac", "score": "0.55805963", "text": "static PublicIndexHandler create() {\n return new PublicIndexHandlerImpl();\n }", "title": "" }, { "docid": "426431d28c16bd65dcaccb5e2252f0c3", "score": "0.55803615", "text": "CreateIndex(long transactionId, String indexName) {\n super(transactionId, Action.TYPE_CREATE_INDEX);\n this.indexName = indexName;\n }", "title": "" }, { "docid": "0267be311910ae8c821084910996cb38", "score": "0.5575618", "text": "public void feedElasticIndex() {\n\n // Initialize document metadata\n documentMetadata = esOperations.getElasticsearchConverter().getMappingContext().getPersistentEntity(getDocumentClass());\n\n // Load documents into index\n testDocumentsLoader.initElasticIndex(\n documentMetadata,\n getTestFixture().getStoredDocuments());\n }", "title": "" }, { "docid": "7e5baece400e68436fa9f04b917f805d", "score": "0.5566386", "text": "public Indexer()\n {\n talID1 = new TalonSRX(Constants.p_TAL_ID_1);\n talID2 = new TalonSRX(Constants.p_TAL_ID_2);\n }", "title": "" }, { "docid": "7f379bae7d60bdea0e41d466e6729ece", "score": "0.5542115", "text": "void createInitialIndex(ItemStateManager stateMgr,\n NodeId rootId,\n Path rootPath)\n throws IOException {\n // only do an initial index if there are no indexes at all\n if (indexNames.size() == 0) {\n reindexing = true;\n try {\n long count = 0;\n // traverse and index workspace\n executeAndLog(new Start(Action.INTERNAL_TRANSACTION));\n NodeState rootState = (NodeState) stateMgr.getItemState(rootId);\n count = createIndex(rootState, rootPath, stateMgr, count);\n checkIndexingQueue(true);\n executeAndLog(new Commit(getTransactionId()));\n log.debug(\"Created initial index for {} nodes\", count);\n releaseMultiReader();\n safeFlush();\n } catch (Exception e) {\n String msg = \"Error indexing workspace\";\n IOException ex = new IOException(msg);\n ex.initCause(e);\n throw ex;\n } finally {\n reindexing = false;\n scheduleFlushTask();\n }\n } else {\n throw new IllegalStateException(\"Index already present\");\n }\n }", "title": "" }, { "docid": "f61f590dfe916424300ae33eade38a4c", "score": "0.55338097", "text": "private void generateAllIndexDDL() {\n\n Map<String, Index> indexes = table.getIndexes();\n\n if (indexes.size() != 0) {\n for (Map.Entry<String, Index> indexEntry : indexes.entrySet()) {\n Index index = indexEntry.getValue();\n indexDDLs.add(getIndexDDL(index));\n }\n }\n }", "title": "" }, { "docid": "091612fdfc26e6d139586788d3e48ecc", "score": "0.5520833", "text": "public void initTemplate(String templateName, String templateReq) throws Exception {\n // Check if the template is set\n if (templateReq != null && !templateReq.equals(\"\")) {\n // Json deserialization\n PutIndexTemplateRequest request =\n new PutIndexTemplateRequest(templateName).source(templateReq);\n // Sending the request to elastic search\n sendIndexTemplateRequest(request);\n }\n }", "title": "" }, { "docid": "78a1cb2bf7093af27e9f23fdeee97d52", "score": "0.5516477", "text": "public PutIndexTemplateRequestBuilder(IndicesAdminClient indicesClient) {\n\t\tsuper(indicesClient, new PutIndexTemplateRequest());\n\t}", "title": "" }, { "docid": "ec86b0e25b323e981c1e5bd8330aa170", "score": "0.55142987", "text": "abstract protected String composeIndexNameFromEntry(UpdateDocumentEntry entry);", "title": "" }, { "docid": "5c405c3ee1974b18b948b53caccdba95", "score": "0.55102634", "text": "public void uindex() {\n\n List<String> users = new ArrayList<>();\n users.add(\"u1\");\n users.add(\"u2\");\n users.add(\"u3\");\n users.add(\"u4\");\n users.add(\"u5\");\n users.add(\"u6\");\n users.add(\"u7\");\n users.add(\"u8\");\n users.add(\"u9\");\n\n// setAttr(\"articles\", articles);\n setAttr(\"users\", users);\n\n render(\"/user_index.ftl\");\n }", "title": "" }, { "docid": "37dcc0e97ca031e516eb5011a9fb31c7", "score": "0.5509343", "text": "private static void InitialIndexCatalog() throws IOException {\n\t\tFile file=new File(Config.Minisql.path + indexFilename);\n\t\tif(!file.exists()) return;\n\t\tFileInputStream fis = new FileInputStream(file);\n\t\tDataInputStream dis = new DataInputStream(fis);\n\t\tString tmpIndexName,tmpTableName,tmpAttriName;\n\t\tint tmpIndexBlockNum,tmpRootNum;\n\t\twhile(dis.available()>0) {\n\t\t\ttmpIndexName=dis.readUTF();\n\t\t\ttmpTableName=dis.readUTF();\n\t\t\ttmpAttriName=dis.readUTF();\n\t\t\ttmpIndexBlockNum=dis.readInt();\n\t\t\ttmpRootNum = dis.readInt();\n\t\t\tindexes.put(tmpIndexName, new Index(tmpIndexName,tmpTableName,tmpAttriName,tmpIndexBlockNum,tmpRootNum));\n\t\t}\n\t\tdis.close();\n\n\t}", "title": "" }, { "docid": "ed779708eb5bbb0cb241c468d0502541", "score": "0.548341", "text": "private void generateChapterIndex() {\n Story story = new Story(imagesDir);\n story.makeRelativeTo(imagesDir.getParent());\n story.name = title;\n generateStoryIndex(story);\n }", "title": "" }, { "docid": "3bcae283bdd3fb15e3bfd8cf819bf38b", "score": "0.54811317", "text": "public void addIndexes() {\n }", "title": "" }, { "docid": "fbdacd75beb90d6981771974383014df", "score": "0.5468681", "text": "public IndexManager getIndexManager();", "title": "" }, { "docid": "ae57296aae2eb9acfe2ad65b14192b3c", "score": "0.54629296", "text": "public Result index() {\n List<Capabilities> all = Capabilities.find.all();\n List<Gallery> all2 = Gallery.find.all();\n List <School> all3 = School.find.all();\n List <Team> all4 = Team.find.all();\n return ok(index.render(all, all2, all3, all4));\n }", "title": "" }, { "docid": "c22b0c556a8e22509e505bb8d90e3ea5", "score": "0.5453489", "text": "public static void main(String[] args) throws Exception {\t\n\tfor (final LuceneGenerateResourceIndex<? extends Resource> generator : GENERATORS) {\n\t generator.createEmptyIndex();\n\t generator.shutdown();\n\t}\n }", "title": "" }, { "docid": "91e72288b7fb04dc19cf7c522fac18cd", "score": "0.5452453", "text": "public void renderIndex(PrintWriter pr, List all, int level) throws Exception\n {\n Object working = all.get(0); // type is very important\n if (working instanceof IndexEntry)\n {\n throw new Exception(\"Index Structure Wrong: \" + working); // NOT HERE\n }\n else\n {\n if (working instanceof IndexGroup)\n {\n switch (level)\n {\n case SIMPLE_INDEX:\n {\n /*\n * make heading for the index page\n */\n // already there HTMLSink.fullWidth960(pr); // full width layout\n pr.println(gT(\"HEADER_ID1\") +\n \"_index\" +\n gT(\"HEADER_ID2\") +\n \"Indexes\" +\n gT(\"LINE_BREAK\") +\n gT(\"LINE_BREAK\") +\n gT(\"HEADER1_END\"));\n /*\n * BREADCRUMBS needed for HTML\n */\n /*\n * HOW do we know where to drop breadcrumbs? Well, the first-level\n * objects will all be IndexGroup objects and we will make\n * breadcrumbs for THEM ONLY (no recursion, etc, etc)\n */\n /*\n * Loop through all in the list, creating breadcrumbs\n */\n Iterator ingrp = all.iterator();\n IndexGroup inner_group = null;\n \n /*\n * we have not put a marker at the top of this\n * web page, because the name of the page\n * should be enough to get from other pages.\n * HOWEVER, we may want one for the \"top\" indicators!?!!?\n */\n pr.print(gT(\"PARAGRAPH_START\")); // treat real breadcrumb style\n while (ingrp.hasNext())\n {\n inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\n pr.print(gT(\"INDEX_CRUMB1\") +\n inner_group.id +\n gT(\"INDEX_CRUMB2\") +\n inner_group.short_title + \" -- \" +\n gT(\"INDEX_CRUMB_END\")); \n } // end if putting in bread crumb for a particular top-level group\n pr.print(gT(\"PARAGRAPH_END\")); // treat real breadcrumb style\n\n // HTMLSink.finish960(pr); // finish full-across block\n /*\n * NOW, we create the index, based on this structure\n */\n break;\n } // end simple case (state for HTML, might be different for other types)\n case POPUP_INDEX:\n {\n /*\n * make heading for the index page\n */\n // already there HTMLSink.fullWidth960(pr); // full width layout\n pr.println(gT(\"HEADER_ID1\") +\n \"_index\" +\n gT(\"HEADER_ID2\") +\n \"Indexes\" +\n gT(\"LINE_BREAK\") +\n gT(\"LINE_BREAK\") +\n gT(\"HEADER1_END\"));\n /*\n * BREADCRUMBS needed for HTML\n */\n /*\n * HOW do we know where to drop breadcrumbs? Well, the first-level\n * objects will all be IndexGroup objects and we will make\n * breadcrumbs for THEM ONLY (no recursion, etc, etc)\n */\n /*\n * Loop through all in the list, creating breadcrumbs\n */\n Iterator ingrp = all.iterator();\n IndexGroup inner_group = null;\n \n /*\n * we have not put a marker at the top of this\n * web page, because the name of the page\n * should be enough to get from other pages.\n * HOWEVER, we may want one for the \"top\" indicators!?!!?\n */\n pr.print(gT(\"PARAGRAPH_START\")); // treat real breadcrumb style\n while (ingrp.hasNext())\n {\n inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\n pr.print(gT(\"INDEX_CRUMB1\") +\n inner_group.id +\n gT(\"INDEX_CRUMB2\") +\n inner_group.short_title + \" -- \" +\n gT(\"INDEX_CRUMB_END\")); \n } // end if putting in bread crumb for a particular top-level group\n pr.print(gT(\"PARAGRAPH_END\")); // treat real breadcrumb style\n pr.print(gT(\"PARAGRAPH_START\")); // add link for closing window\n\n pr.print(gT(\"POPUP_CLOSE\"));\n // was \"<a href=\\\"javascript:self.close()\\\">Close</a> the popup.\");\n pr.print(gT(\"PARAGRAPH_END\")); \n // HTMLSink.finish960(pr); // finish full-across block\n /*\n * NOW, we create the index, based on this structure\n */\n break;\n } // end popup case \n case COMPLETE_INDEX:\n {\n /*\n * make heading for the index page, only if we have some content\n */\n\t\t\tif (g_options.wantGeneralIndexONLY())\n\t\t\t{\n\t\t\t\t/*\n\t\t\t\t * no need for index start page\n\t\t\t\t * BUT, need \"index\" jump address\n\t\t\t\t * empty name will work\n\t\t\t\t */\n\t\t\t\tpr.println(\"<a name=\\\"index\\\"></a>\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// \n\t\t\t\tpr.println(gT(\"HEADER_ID1\") +\n\t\t\t\t\t \"index\" +\n\t\t\t\t\t gT(\"HEADER_ID2\") +\n\t\t\t\t\t \"All Document Indexes\" +\n\t\t\t\t\t gT(\"LINE_BREAK\") +\n\t\t\t\t\t gT(\"LINE_BREAK\") +\n\t\t\t\t\t gT(\"HEADER1_END\"));\n\t\t\t\tif (g_options.wantTOC())\n\t\t\t\t{\n\t\t\t\t\t// add a TOC reference, just to assist the reader\n\t\t\t\t\tpr.println(gT(\"INDEX_TARGET10\") +\n\t\t\t\t\t gT(\"INDEX_TARGET2\") +\n\t\t\t\t\t \"TOC\" +\n\t\t\t\t\t gT(\"INDEX_CRUMB2\") +\n\t\t\t\t\t \"Table of Contents\" +\n\t\t\t\t\t gT(\"INDEX_CRUMB10_END\") +\n\t\t\t\t\t gT(\"SEPARATOR_PARAGRAPH\"));\n\t\t\t\t} // end if want toc\n\t\t\t\t/*\n\t\t\t\t * BREADCRUMBS needed for HTML\n\t\t\t\t */\n\t\t\t\t/*\n\t\t\t\t * HOW do we know where to drop breadcrumbs? Well, the first-level\n\t\t\t\t * objects will all be IndexGroup objects and we will make\n\t\t\t\t * breadcrumbs for THEM ONLY (no recursion, etc, etc)\n\t\t\t\t */\n\t\t\t\t/*\n\t\t\t\t * Loop through all in the list, creating breadcrumbs\n\t\t\t\t */\n\t\t\t\tIterator ingrp = all.iterator();\n\t\t\t\tIndexGroup inner_group = null;\n\t\t\t\t \n\t\t\t\t/*\n\t\t\t\t * we have not put a marker at the top of this\n\t\t\t\t * web page, because the name of the page\n\t\t\t\t * should be enough to get from other pages.\n\t\t\t\t * HOWEVER, we may want one for the \"top\" indicators!?!!?\n\t\t\t\t */\n\t\t\t\tpr.print(gT(\"PARAGRAPH_START\")); // treat real breadcrumb style\n\t\t\t\twhile (ingrp.hasNext())\n\t\t\t\t{\n\t\t\t\t inner_group = (IndexGroup)ingrp.next(); // MUST WORK or throw exception for bad structure\n\t\t\t\t pr.print(gT(\"INDEX_CRUMB1\") +\n\t\t\t\t\t inner_group.id +\n\t\t\t\t\t gT(\"INDEX_CRUMB2\") +\n\t\t\t\t\t inner_group.short_title + \" -- \" +\n\t\t\t\t\t gT(\"INDEX_CRUMB_END\")); \n\t\t\t\t} // end if putting in bread crumb for a particular top-level group\n\t\t\t\tpr.print(gT(\"PARAGRAPH_END\")); // treat real breadcrumb style\n\t\t\t} // end else want some sort of index besides general\n\t\t\t/*\n * NOW, we create the index, based on this structure\n */\n break;\n } // end complete index for HTML\n } // end switch on the type of index wanted\n \n renderIndexGroupList(pr,all,1,new ArrayDeque(),level); // probably will recurse, no back to top yet\n } // end if the right kind of group\n else\n {\n throw new Exception(\"Index Structure Wrong: \" + working);\n }\n } // end not index entry\n }", "title": "" }, { "docid": "c9c49e86177d94a613e0146a230cda96", "score": "0.5452282", "text": "public Tuple createIndexEntry(Tuple t){\n \t//Some code goes here\n \t//You may change or ignore this method based on your design decisions\n \treturn null;\n }", "title": "" }, { "docid": "db1e920d5da29749521d5b54e32423d7", "score": "0.54403937", "text": "public static CreateIndex.Stub createUniqueIndexIfNotExists() {\n\t\treturn new CreateIndex.Stub(true, true);\n\t}", "title": "" }, { "docid": "b441eea8764b51f6ef33917ebfff337e", "score": "0.54342824", "text": "static CreateIndex fromString(long transactionId, String arguments) {\n // when created from String, this action is executed as redo action\n return new CreateIndex(transactionId, arguments);\n }", "title": "" }, { "docid": "97c78f6fce1f30b6eb1f8ba42ddc7ade", "score": "0.54342216", "text": "@Override\n public ImmutableCollection<TemplateMetadata> getTemplates() {\n return templateIndex.values();\n }", "title": "" }, { "docid": "92f4221d77f2b82eb4c508c3f67887a7", "score": "0.5433669", "text": "protected final Index<T> index()\n {\n return index;\n }", "title": "" }, { "docid": "2f6ec2f22603a52d4a2438999bd72566", "score": "0.54321563", "text": "@Test\n public void test() {\n IndexMetaWriter metaBuilder = new IndexMetaWriter(1);\n metaBuilder.startPage(1, 1); //Title\n metaBuilder.addTerm(-1, TermSegment.TEXT);\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\n metaBuilder.addTerm(-2, TermSegment.TEXT);\n metaBuilder.addTerm(-1, TermSegment.TEXT);\n metaBuilder.addSection(-5);\n metaBuilder.addSection(-5);\n metaBuilder.endPage();\n\n metaBuilder.startPage(2, 2); //Title title\n metaBuilder.addTerm(-2, TermSegment.TEXT);\n metaBuilder.addTerm(-3, TermSegment.TEXT);\n metaBuilder.addTerm(-1, TermSegment.SECTION_TITLE);\n metaBuilder.addTerm(-9, TermSegment.TEXT);\n metaBuilder.addSection(-10);\n metaBuilder.endPage();\n\n metaBuilder.startPage(3, 3); //Title with title\n metaBuilder.addTerm(-239, TermSegment.TEXT);\n metaBuilder.addSection(-13);\n metaBuilder.endPage();\n\n IndexMeta meta = metaBuilder.build();\n assertEquals(1, meta.getVersion());\n assertEquals(3, meta.getDocumentsCount());\n assertEquals(7, meta.getContentTermsCount());\n assertEquals(4, meta.getTitlesCount());\n assertEquals(3, meta.getTitleTermsCount());\n assertEquals(0, meta.getLinksCount());\n assertEquals(0, meta.getTargetTitleTermsCount());\n assertEquals(0, meta.getLinkTermsCount());\n }", "title": "" }, { "docid": "d8679b2d90a878a108f63ba8994e0ad8", "score": "0.54264325", "text": "void init() throws Exception {\n stmt.executeUpdate(\"CREATE TABLE IF NOT EXISTS IndexTest (f1 int NOT NULL, f2 int, f3 varchar)\");\n stmt.executeUpdate(\"CREATE PRIMARY KEY HASH IF NOT EXISTS IndexTest_idx0 ON IndexTest(f1)\");\n stmt.executeUpdate(\"CREATE UNIQUE HASH INDEX IF NOT EXISTS IndexTest_idx1 ON IndexTest(f2)\");\n stmt.executeUpdate(\"CREATE INDEX IF NOT EXISTS IndexTest_idx2 ON IndexTest(f3, f2)\");\n\n indexFieldWithColumnFamilyPrefix();\n }", "title": "" }, { "docid": "45378da87a4f3748ec30de4de0313d94", "score": "0.54231095", "text": "public void ensureIndexCreation(Book book) throws BookException {\r\n \tlog.debug(\"ensureIndexCreation\");\r\n\r\n \t// ensure this isn't just the user re-clicking the Index button\r\n\t\tif (!book.getIndexStatus().equals(IndexStatus.CREATING) && !book.getIndexStatus().equals(IndexStatus.SCHEDULED)) {\r\n\r\n\t\t\tIndexCreator ic = new IndexCreator();\r\n\t ic.scheduleIndexCreation(book);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "837d461f48b941422418c8953f84b96c", "score": "0.54040873", "text": "@Override\n\tpublic Index getIndex(String id) {\n\t\t\n\t\tIndex index = new Index();\n\t\tindex.setId(\"123\");\n\t\tindex.setIndexType((byte) 2);\n\t\tindex.setMsgType((byte)2);\n\t\tindex.setCreatTime(3242344L);\n\t\t\n\t\treturn index;\n\t}", "title": "" }, { "docid": "5e8701ebc045aaedce3130960d08658a", "score": "0.54036516", "text": "public ElasticsearchIndexService(\n UserRepository userRepository,\n UserSearchRepository userSearchRepository,\n AppointmentRepository appointmentRepository,\n AppointmentSearchRepository appointmentSearchRepository,\n AttendeeRepository attendeeRepository,\n AttendeeSearchRepository attendeeSearchRepository,\n CustomUserRepository customUserRepository,\n CustomUserSearchRepository customUserSearchRepository,\n GroupsRepository groupsRepository,\n GroupsSearchRepository groupsSearchRepository,\n GroupsMemberRepository groupsMemberRepository,\n GroupsMemberSearchRepository groupsMemberSearchRepository,\n IconRepository iconRepository,\n IconSearchRepository iconSearchRepository,\n NoteRepository noteRepository,\n NoteSearchRepository noteSearchRepository,\n NotificationRepository notificationRepository,\n NotificationSearchRepository notificationSearchRepository,\n TeamRepository teamRepository,\n TeamSearchRepository teamSearchRepository,\n ElasticsearchTemplate elasticsearchTemplate) {\n this.userRepository = userRepository;\n this.userSearchRepository = userSearchRepository;\n this.appointmentRepository = appointmentRepository;\n this.appointmentSearchRepository = appointmentSearchRepository;\n this.attendeeRepository = attendeeRepository;\n this.attendeeSearchRepository = attendeeSearchRepository;\n this.customUserRepository = customUserRepository;\n this.customUserSearchRepository = customUserSearchRepository;\n this.groupsRepository = groupsRepository;\n this.groupsSearchRepository = groupsSearchRepository;\n this.groupsMemberRepository = groupsMemberRepository;\n this.groupsMemberSearchRepository = groupsMemberSearchRepository;\n this.iconRepository = iconRepository;\n this.iconSearchRepository = iconSearchRepository;\n this.noteRepository = noteRepository;\n this.noteSearchRepository = noteSearchRepository;\n this.notificationRepository = notificationRepository;\n this.notificationSearchRepository = notificationSearchRepository;\n this.teamRepository = teamRepository;\n this.teamSearchRepository = teamSearchRepository;\n this.elasticsearchTemplate = elasticsearchTemplate;\n }", "title": "" }, { "docid": "fd7aa639faf6b36d9854fa244a69de6b", "score": "0.5401601", "text": "public RiakIndexes()\n {\n \n }", "title": "" }, { "docid": "e74630caac3b131810d145c19db7d9d0", "score": "0.53845", "text": "public IndexBean() {\r\n }", "title": "" }, { "docid": "953f03038d8352a38f97545b33c8ee39", "score": "0.538335", "text": "public PutIndexTemplateRequestBuilder(IndicesAdminClient indicesClient, String name) {\n\t\tsuper(indicesClient, new PutIndexTemplateRequest(name));\n\t}", "title": "" }, { "docid": "ab5ddf37faa39023911f61c5dec609cd", "score": "0.5381152", "text": "static void BuildIndex(String datafile, int mode) throws Throwable {\n\t\t\n\t\t//init the index\n\t\tfor(int i = 0;i < num_ip; i++)\n\t\t\tjclient.initServer(i, Index.BUILD);\n\t\t\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(new FileInputStream(datafile)));\n\t\tString line;\t\n\t\tint id = 0;\n\t\twhile ((line = buf.readLine()) != null) {\n\t\t\t//for insertion the key is elementID\n\t\t\tstrKey strkey = new strKey(String.valueOf(id));\n\t\t\tString values[] = null;\n\t\t\tif(mode == Index.STRING_BUILD)\n\t\t\t\tvalues = DataProcessor.process(2, line).split(\" \");\n\t\t\telse if(mode == Index.SIFT_BUILD)\n\t\t\t\tvalues = line.split(\" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Type error\");\n\t\t\t\n\t\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\t\t//for insertion the value is grams and dim+value\n\t\t\t\tstrValue strvalue = null;\n\t\t\t\tif(mode == Index.SIFT_BUILD)\n\t\t\t\t\tstrvalue = new strValue(i+\"+\"+values[i]);\n\t\t\t\telse if(mode == Index.STRING_BUILD)\n\t\t\t\t\tstrvalue = new strValue(values[i]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"Type error when adding document\");\n\t\t\t\tjclient.addPair(strkey, strvalue, mode);\n\t\t\t}\n\t\t\tid++;\n\t\t}\t\n\t\tfor(int i = 0;i < num_ip; i++)\n\t\t\tjclient.closeIndexwriter(i);\n\t}", "title": "" }, { "docid": "693997c67478342587c9998aa35a17b5", "score": "0.5378575", "text": "private void setupIndexes(Config config, Query query) {\n if (index != Index.NO_INDEX) {\n MapIndexConfig mapIndexConfig = new MapIndexConfig();\n mapIndexConfig.setAttribute(query.expression);\n mapIndexConfig.setOrdered(index == Index.ORDERED);\n config.getMapConfig(\"map\").addMapIndexConfig(mapIndexConfig);\n }\n }", "title": "" }, { "docid": "73eaca59ff4e6001e9cbefe1d49566dc", "score": "0.537552", "text": "protected void buildIndexMap(DocletEnvironment docEnv) {\n Set<PackageElement> packages = configuration.getSpecifiedPackageElements();\n Set<TypeElement> classes = configuration.getIncludedTypeElements();\n if (!classesOnly) {\n if (packages.isEmpty()) {\n Set<PackageElement> set = new HashSet<>();\n for (TypeElement aClass : classes) {\n PackageElement pkg = utils.containingPackage(aClass);\n if (pkg != null && !pkg.isUnnamed()) {\n set.add(pkg);\n }\n }\n adjustIndexMap(set);\n } else {\n adjustIndexMap(packages);\n }\n }\n adjustIndexMap(classes);\n if (!classesOnly) {\n for (TypeElement aClass : classes) {\n if (shouldAddToIndexMap(aClass)) {\n putMembersInIndexMap(aClass);\n }\n }\n if (configuration.showModules) {\n addModulesToIndexMap();\n }\n }\n }", "title": "" }, { "docid": "3e21bd0864df9919cc60e7bb7cdd7779", "score": "0.5367082", "text": "public IndexPath() {}", "title": "" }, { "docid": "3ed68ca1c7831552ce53c1fa909482bb", "score": "0.53654116", "text": "private static void indexDirectory() {\n try {\n Path path;\n path = Paths.get(\"C:\\\\Users\\\\USER\\\\Desktop\\\\index\");\n Directory directory = FSDirectory.open(path);\n \n IndexWriterConfig config = new IndexWriterConfig(new SimpleAnalyzer());\n IndexWriter indexWriter = new IndexWriter(directory, config);\n indexWriter.deleteAll();\n File f = new File(\"C:\\\\seminar\\\\test_data\"); // current directory \n for (File file : f.listFiles()) {\n //System.out.println(\"indexed \" + file.getCanonicalPath());\n Document doc = new Document();\n doc.add(new TextField(\"FileName\", file.getName(), Store.YES));\n\n FileInputStream is = new FileInputStream(file);\n BufferedReader reader = new BufferedReader(new InputStreamReader(is));\n StringBuffer stringBuffer = new StringBuffer();\n String line = null;\n while ((line = reader.readLine()) != null) {\n stringBuffer.append(line).append(\"\\n\");\n }\n reader.close();\n doc.add(new TextField(\"contents\", stringBuffer.toString(), Store.YES));\n indexWriter.addDocument(doc);\n }\n indexWriter.close();\n directory.close();\n System.out.println(\"indexing finished\");\n } catch (Exception e) {\n // TODO: handle exception\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0537a5ad455ed531809324682b44ec10", "score": "0.53640115", "text": "public IndexRequest createIndexRequest(T element) {\n\n return Requests.indexRequest()\n .index(indexName)\n .type(type)\n .source(ClickstreamProcessor.toJson(element), XContentType.JSON);\n }", "title": "" }, { "docid": "19627a7e115e6ae3b4a6a216f5727b79", "score": "0.53599596", "text": "private void createIndexList(ZipOutputStream zOut) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n // encoding must be UTF8 as specified in the specs.\n PrintWriter writer = new PrintWriter(new OutputStreamWriter(baos, StandardCharsets.UTF_8));\n\n // version-info blankline\n writer.println(\"JarIndex-Version: 1.0\");\n writer.println();\n\n // header newline\n writer.println(zipFile.getName());\n\n writeIndexLikeList(new ArrayList<>(addedDirs.keySet()),\n rootEntries, writer);\n writer.println();\n\n if (indexJars != null) {\n Manifest mf = createManifest();\n Manifest.Attribute classpath =\n mf.getMainSection().getAttribute(Manifest.ATTRIBUTE_CLASSPATH);\n String[] cpEntries = null;\n if (classpath != null && classpath.getValue() != null) {\n StringTokenizer tok = new StringTokenizer(classpath.getValue(),\n \" \");\n cpEntries = new String[tok.countTokens()];\n int c = 0;\n while (tok.hasMoreTokens()) {\n cpEntries[c++] = tok.nextToken();\n }\n }\n for (String indexJarEntry : indexJars.list()) {\n String name = findJarName(indexJarEntry, cpEntries);\n if (name != null) {\n ArrayList<String> dirs = new ArrayList<>();\n ArrayList<String> files = new ArrayList<>();\n grabFilesAndDirs(indexJarEntry, dirs, files);\n if (dirs.size() + files.size() > 0) {\n writer.println(name);\n writeIndexLikeList(dirs, files, writer);\n writer.println();\n }\n }\n }\n }\n\n if (writer.checkError()) {\n throw new IOException(\"Encountered an error writing jar index\");\n }\n writer.close();\n try (ByteArrayInputStream bais =\n new ByteArrayInputStream(baos.toByteArray())) {\n super.zipFile(bais, zOut, INDEX_NAME, System.currentTimeMillis(),\n null, ZipFileSet.DEFAULT_FILE_MODE);\n }\n }", "title": "" }, { "docid": "7882741d5d3e41be3e7af5ed4e85c030", "score": "0.53570867", "text": "public void buildIncrementalIndex(int page, int pageSize, boolean useReindexServer) throws ServiceException;", "title": "" }, { "docid": "83131262ed7271e854ca900b315bfbee", "score": "0.5351804", "text": "public void sendIndexTemplateRequest(PutIndexTemplateRequest indexTemplateRequest)\n throws Exception {\n // Check if the template is set\n if (indexTemplateRequest != null) {\n // Sending the request to elastic search\n client.admin().indices().putTemplate(indexTemplateRequest).get();\n }\n }", "title": "" }, { "docid": "3c3086ebebcb70e28d740f18e279c11f", "score": "0.53405637", "text": "private static void createViewResourceFile(String requiredIndexStorageFilePath) throws IOException {\n FileUtil.createIfMissing(new File(requiredIndexStorageFilePath));\n FileUtil.createIfMissing(new File(\"data/view/\" + STUDENT_MISC_INFO_PAGE));\n FileUtil.createIfMissing(new File(\"data/view/\" + STUDENT_INFO_PAGE_STYLESHEET));\n FileUtil.createIfMissing(new File(\"data/view/profile_photo_placeholder.png\"));\n }", "title": "" }, { "docid": "35e07a63210ca33f5f847950ef09920a", "score": "0.5317536", "text": "protected abstract void processIndex() throws Exception;", "title": "" }, { "docid": "b79dd82b033c06cde268c035f4395729", "score": "0.5313089", "text": "private void ensureIndexExists( ExplicitIndexWrite ops )\n {\n if ( !indexCreated )\n {\n type.ensureIndexExists( ops );\n indexCreated = true;\n }\n }", "title": "" }, { "docid": "999bc896eb336977a556c126d16c2ce9", "score": "0.5296379", "text": "public void setUniqueIDTemplate(String a_templateID, int a_index) {\n\t\t\n\t}", "title": "" }, { "docid": "de456dc67646917995cc054336dea751", "score": "0.52950704", "text": "public static Result index() {\n return ok(index.render(\"Your new application is ready.\"));\n }", "title": "" }, { "docid": "45dee3d85a78604eacf2bf32786c68c7", "score": "0.5286154", "text": "public void makeIndexAndDisplayCounts(){\n \n IndexFile aIndexFile = new IndexFile();\n try{\n aIndexFile.open(\"index.txt\");\n \n /*\n * Prints all labels using the ^above format\"\n * TODO: FIX INDENTATIONS\n */\n ArrayList<Bucket> allBuckets = aMusicList.getBuckets();\n for(int i = 0; i < allBuckets.size(); ++i){\n Bucket aBucket = allBuckets.get(i);\n if (aBucket.size() != 0){\n for(int j = 0; j < aBucket.getItems().size(); ++j){\n MusicItem aMusicItem = aBucket.getItems().get(j);\n \n /*\n * Writes musicItem to file\n */\n aIndexFile.writeItem(aMusicItem);\n \n /*\n * Prints musicItem to console\n *\n */\n //System.out.println(String.format(\"%-50s %-12s %-6s %s\", aMusicItem.title, aMusicItem.accessionNumber, \n // aMusicItem.mediaCode, aMusicItem.displaySupplementalInfo())); \n }\n }\n }\n aIndexFile.close();\n \n /*\n * Print out media counts\n */\n System.out.println(\"\\nIndex File SUCCESSFULLY CREATED! (index.txt)\\n\");\n System.out.println(\"Paper Count: \" + aMusicList.getPaperItemCount() + \n \" | Compact Media Count: \" + aMusicList.getCompactMediaItemCount() +\n \" | Vinyl Count: \" + aMusicList.getVinylItemCount() +\n \" | Wax Cylinder Count: \" + aMusicList.getPaperItemCount() +\n \"\\nTotal Item Count: \" + aMusicList.getTotalItemCount());\n \n }catch(IOException e){\n System.out.println(\"Specificed file could not be written to. Have a nice day :)\");\n }\n }", "title": "" }, { "docid": "dadcb3a95a57ffc28035f3d7151c2222", "score": "0.5281301", "text": "protected Index<ExternalId, ComponentInstance, ViewInstance> getIndex(String indexName)\n {\n return getIndexStore().getNamedIndex(indexName);\n }", "title": "" }, { "docid": "44958e5d272633865c22c6cf6fff21fb", "score": "0.52760357", "text": "private synchronized boolean isIndexCreated() {\r\n return getIndexFile().exists();\r\n }", "title": "" }, { "docid": "563b3fda3d1f6617f7a51555f3f0726b", "score": "0.5264144", "text": "public Result index() {\n return ok(index.render(\"Your new application is ready.\"));\n\n }", "title": "" }, { "docid": "4c30cad8205bad048aee74d835c6e5c0", "score": "0.52632207", "text": "private void createIndexIfNotExists()\n\t{\n\t\tclient.admin().cluster().prepareHealth().setWaitForYellowStatus().execute().actionGet();\n\t\tboolean hasIndex = client.admin().indices().exists(new IndicesExistsRequest(indexName)).actionGet().exists();\n\t\tif (!hasIndex)\n\t\t{\n\t\t\tCreateIndexResponse response = client.admin().indices().prepareCreate(indexName).execute().actionGet();\n\t\t\tif (!response.acknowledged())\n\t\t\t{\n\t\t\t\tthrow new ElasticSearchException(\"Creation of index [\" + indexName + \"] failed. Response=\" + response);\n\t\t\t}\n\t\t\tLOG.info(\"Index [\" + indexName + \"] created\");\n\t\t}\n\t}", "title": "" }, { "docid": "3396baa37f4217458ce4c3fd9a0d9594", "score": "0.52616554", "text": "public void sendIndexMappingRequest(PutMappingRequest mappingRequest) throws Exception {\n // Check if the template is set\n if (mappingRequest != null) {\n try {\n // Check if the index exists\n SearchResponse response =\n client.prepareSearch(mappingRequest.indices()).setTypes(mappingRequest.type()).get();\n if (response != null) {\n LOG.debug(\"Index found, no need to create it...\");\n }\n } catch (IndexNotFoundException infe) {\n for (String indexName : mappingRequest.indices()) {\n // If the index does not exist, create it\n client.admin().indices().prepareCreate(indexName)\n .setSettings(Settings.builder()\n .put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, DEFAULT_INDEX_SHARDS)\n .put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, DEFAULT_INDEX_REPLICAS))\n .execute().actionGet();\n LOG.info(\"Index \" + indexName + \" not found, creating it...\");\n }\n }\n // Sending the request to elastic search\n client.admin().indices().putMapping(mappingRequest).get();\n }\n }", "title": "" }, { "docid": "4f34ba52853e9c1b4aa7c33351258bbf", "score": "0.5260543", "text": "protected void registerIndex( String indexName,\n IndexKind kind,\n String providerName,\n String indexedNodeType,\n String desc,\n String workspaceNamePattern,\n Map<String, Integer> properties) throws RepositoryException {\n IndexDefinitionTemplate template = indexManager().createIndexDefinitionTemplate();\n template.setName(indexName);\n template.setKind(kind);\n template.setNodeTypeName(indexedNodeType);\n template.setProviderName(providerName);\n template.setSynchronous(useSynchronousIndexes());\n if (workspaceNamePattern != null) {\n template.setWorkspaceNamePattern(workspaceNamePattern);\n } else {\n template.setAllWorkspaces();\n }\n if (desc != null) {\n template.setDescription(desc);\n }\n\n List<IndexColumnDefinition> colDefs = new ArrayList<>(properties.size());\n for (Map.Entry<String, Integer> entry : properties.entrySet()) {\n colDefs.add(indexManager().createIndexColumnDefinitionTemplate().setPropertyName(entry.getKey())\n .setColumnType(entry.getValue())); \n }\n template.setColumnDefinitions(colDefs);\n\n // Register the index ...\n indexManager().registerIndex(template, false);\n }", "title": "" }, { "docid": "fa3da4f1bedf8571375ad4dd94d2da36", "score": "0.52367836", "text": "public static void create(String content, int index) {\n if (!DIR.exists())\n DIR.mkdir();\n\n File[] files = DIR.listFiles();\n\n int fileCount = 0;\n if (files != null)\n for (File f : files) {\n if (f.getName().charAt(f.getName().length()-6) == ')') {\n if (f.getName().charAt(f.getName().length()-9) == '(') {\n if (f.getName().substring(0,f.getName().length()-9).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\n fileCount++;\n } else if (f.getName().substring(0,f.getName().length()-8).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\n fileCount++;\n } else if (f.getName().substring(0,f.getName().length()-5).equals(Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_')))\n fileCount++;\n }\n\n\n\n File file;\n if (fileCount > 0)\n file = new File( DIR.getAbsolutePath() + File.separator +\n Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_') + \"(\" + fileCount + \")\" + \".html\");\n else file = new File( DIR.getAbsolutePath() + File.separator +\n Webplate.PAGES.get(index).METADATA.getTitle().replace(' ', '_') + \".html\");\n\n try {\n FileWriter fw = new FileWriter(file);\n fw.write(content);\n System.out.println(file.getName() + \" has been created.\");\n fw.close();\n\n } catch (IOException e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "5226d18c6cfb203c88dcd1cbb7afe908", "score": "0.5236066", "text": "@Override\n public IndexBuildingSupport getBuildTaskSupport() {\n if (isDummyMode) {\n return null;\n }\n return (cfs, indexes, ssTables) -> new EsIndexBuilder(EsSecondaryIndex.this, ssTables);\n }", "title": "" }, { "docid": "5adfe334e8da1809ff6262c74d27067a", "score": "0.5228847", "text": "private static void storeIndexCatalog() throws IOException {\n\n\t\tFile file=new File(Config.Minisql.path + indexFilename);\n\t\tif(file.exists())file.delete();\n\t\tFileOutputStream fos = new FileOutputStream(file);\n\t\tDataOutputStream dos = new DataOutputStream(fos);\n\t\tIndex tmpIndex;\n\t\tEnumeration<Index> en = indexes.elements();\n\t\twhile(en.hasMoreElements()) {\n\t\t\ttmpIndex=en.nextElement();\n\t\t\tdos.writeUTF(tmpIndex.indexName);\n\t\t\tdos.writeUTF(tmpIndex.tableName);\n\t\t\tdos.writeUTF(tmpIndex.attriName);\n\t\t\tdos.writeInt(tmpIndex.blockNum);\n\t\t\tdos.writeInt(tmpIndex.rootNum);\n\t\t}\n\t\t//将流中剩下的内容写入\n\t\tdos.close();\n\t}", "title": "" }, { "docid": "2d33e42d22de50d94f205caf973a87c2", "score": "0.52283436", "text": "private IndexResponse index(Request request) {\n assert request instanceof Screening;\n Screening screening = (Screening) request;\n String screeningJson = toJson(screening);\n\n IndexRequestBuilder builder =\n esDao.getClient().prepareIndex(esDao.getConfig().getElasticsearchAlias(),\n esDao.getConfig().getElasticsearchDocType(), screening.getId());\n builder.setSource(screeningJson, XContentType.JSON);\n\n return builder.get();\n }", "title": "" }, { "docid": "bef3eac6d7eb0e65acf36a3ba5ad5075", "score": "0.5219099", "text": "@Override\n public void process(JCas jCas) throws AnalysisEngineProcessException {\n XContentBuilder xb = createJSON(jCas);\n if (xb == null) return;\n\n try {\n indexList.add(new Index.Builder(xb.string()).build());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" } ]
c224d023713f6a17908fdd7fc9cdb86b
main method to drive program.
[ { "docid": "1eeb1c6701956a478a12565805b03dae", "score": "0.0", "text": "public static void main(final String[] args) {\n BookYourShow bys = new BookYourShow();\n Scanner scan = new Scanner(System.in);\n int testCases = Integer.parseInt(scan.nextLine());\n for (int i = 0; i < testCases; i++) {\n String[] tokens = scan.nextLine().\n replace(\"[\", \"\").replace(\"]\", \"\").split(\",\");\n String[] check = tokens[0].split(\" \");\n switch (check[0]) {\n case \"add\":\n int k = 2;\n String[] seats = new String[tokens.length - 2];\n for (int j = 0; j < seats.length; j++) {\n seats[j] = tokens[k++];\n }\n bys.addAShow(new Show(check[1], tokens[1], seats));\n break;\n\n case \"book\":\n k = 2 + 2;\n seats = new String[tokens.length - 2 - 2];\n for (int j = 0; j < seats.length; j++) {\n seats[j] = tokens[k++];\n }\n bys.bookAShow(check[1], tokens[1],\n new Patron(tokens[2], tokens[2 + 1]), seats);\n break;\n\n case \"get\":\n Show show = bys.getAShow(check[1], tokens[1]);\n if (show != null) {\n System.out.println(show);\n } else {\n System.out.println(\"No show\");\n }\n break;\n\n case \"print\":\n bys.printTicket(check[1], tokens[1], tokens[2]);\n break;\n\n case \"showAll\":\n bys.showAll();\n break;\n\n default:\n break;\n }\n }\n }", "title": "" } ]
[ { "docid": "092dbc6e7dbe0409ae3adfd1cb6baaa1", "score": "0.7738337", "text": "public void main() {\n\n \n\n }", "title": "" }, { "docid": "4ce05ce5423abf66102e73c40851f978", "score": "0.7608695", "text": "public static void main (String args[])\n {\n new Main().begin();\n }", "title": "" }, { "docid": "10ad2b105ed7c8240fc0586b0e8d6497", "score": "0.74162924", "text": "public static final void main() {\n }", "title": "" }, { "docid": "91a7ef53ff91dd30e7b199ca2a288ad9", "score": "0.7383993", "text": "public static void main() throws IOException {\t\t\n\n\t}", "title": "" }, { "docid": "88ca85c3ffb0c853c11e7dedb0ab97bf", "score": "0.7350041", "text": "public static void main(String[] args) {\n System.out.println(\"Added new program\");\n\t}", "title": "" }, { "docid": "c7c8f62b955211fe30251ad1eef73b21", "score": "0.7343829", "text": "public static void main(String[] args) {\n \n\n\n \tnew Main().doMain(args); \n }", "title": "" }, { "docid": "f3b95087e37f62acbb59919d3299c316", "score": "0.7235156", "text": "public static void main (String [] args ) throws IOException {\n\t\t\n\t}", "title": "" }, { "docid": "476ca7bd2c77ebff5bb3004436533b9a", "score": "0.7217305", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t\r\n\t\t//uncomment this to test whatever you want\r\n\t\t//DemoCodes.main();\r\n\t}", "title": "" }, { "docid": "bd770c48c37a7d5a20da9970f5e72b4a", "score": "0.7160244", "text": "public static void main(String[] args) {}", "title": "" }, { "docid": "ba24e4e5782b4251c9fc0a09cf818a6c", "score": "0.7153214", "text": "public static void main (String[] args){\n Lesson05();\n }", "title": "" }, { "docid": "ced340c8ac6ba92460ee12060fa2739d", "score": "0.7150234", "text": "public static void main (String[] args)\n {\n\n \n\n }", "title": "" }, { "docid": "75b6802abc26c720bc00e89230d0260f", "score": "0.71438855", "text": "public static void main(String[] args) {\n\r\n\t\tnew Main().perform();\r\n\r\n\t}", "title": "" }, { "docid": "bf95cb8db1b29d5f205988533c8d0308", "score": "0.71265453", "text": "public static void main(String[] args) {\n \n \n \n }", "title": "" }, { "docid": "472725814d0474331f0e3d9728d1a993", "score": "0.7104612", "text": "public void main(String[] args) {\n\t\t\n\n }", "title": "" }, { "docid": "329743a78373d7f37df932b2ace4660b", "score": "0.71033365", "text": "public static void main (String[] args) {\n \r\n }", "title": "" }, { "docid": "eb058fb9337411eb16636f6f11721966", "score": "0.7090366", "text": "public static void main(String[] args) {\n \n \n }", "title": "" }, { "docid": "334a0797a8e482fb2acf4cad17301ac8", "score": "0.7083059", "text": "public static void main(String[] args)\n\t\t{\n\t\tmain();\n\t\t}", "title": "" }, { "docid": "53163eedc9a0235599ad741222126518", "score": "0.70793617", "text": "public static void main(String[] args) {\n //test Stefan\n\n // I have written your code There\n //\n }", "title": "" }, { "docid": "7f25ea0405e6793f48b3d35d4257e7d4", "score": "0.707422", "text": "public static void main(String[] args) {\n \n \n \n \n }", "title": "" }, { "docid": "2402099d60ddd3b8b4d6dd0f2e3b96f7", "score": "0.7067591", "text": "public static void main(String args[]) throws IOException {\r\n //\r\n }", "title": "" }, { "docid": "aaeebb5cda1ce0119b2edb76a030a890", "score": "0.7066227", "text": "public static void main(String[] args) {\n\n Excercise1 ex1 = new Excercise1();\n ex1.run();\n }", "title": "" }, { "docid": "e97a158da62462c47cdacd87cd5e49c3", "score": "0.70446944", "text": "void appMain(String [] args) throws IOException {\n\n\t\t// for the following comments: \"~\" = \"Stands For\"/\"Represents\"\n\t\t// Initialize cmd with empty quotes so it has a starting value in memory\n\t\t// cmd ~ command\n\t\tString cmd = \"\";\n\t\t// Initialize data with empty quotes so it has a starting value in memory\n\t\t// data ~ Name\n\t\t// It should represent the Task name in the current state of this application,\n\t\t// yet might change its function to be for multiple scenarios\n\t\tString data = \"\";\n\t\t// Initialize desc with empty quotes so it has a starting value in memory\n\t\t// desc ~ description\n\t\tString desc = \"\";\n\n\n\t\t// Create a new Log() function\n\t\t// This will allow all commands, task name, descriptions, etc. to be written to a log file and be stored\n\t\tLog log = new Log();\n\n\t\t// Create a new LocalDateTime with name of timeRN, this will get the exact current time when called\n\t\t// This will allow for time calculations and start and end times to be completed\n\t\tLocalDateTime timeRN = LocalDateTime.now();\n\n\t\t// created a try/catch block that will output the Usage() statement if there is an error\n\t\ttry {\n\t\t\t// set the command as the first argument in the running of the program\n\t\t\tcmd = args[0];\n\n\t\t\t// make the command argument all uppercase\n\t\t\t// This will allow any mixture of uppercase and lower case in the command argument to be used\n\t\t\tcmd = cmd.toUpperCase();\n\n\t\t\t// Check to see if the command equals uppercase \"DESCRIBE\"\n\t\t\t// It is uppercase because the command value should be set to uppercase in a previous statement.\n\t\t\tif(cmd.equals(\"DESCRIBE\")){\n\n\t\t\t\t// If DESCRIBE is the command, set the third argument (as it starts at 0) to be the description\n\t\t\t\t// This will set the \"desc\" as the actual description to be saved, later in the program\n\t\t\t\tdesc = args[2];\n\n\t\t\t}\n\t\t\t// If it is not equal to DESCRIBE, set the description to an empty value of a String\n\t\t\t// This will make sure that it won't have an error if there is no description\n\t\t\telse {\n\t\t\t\tdesc = \"\";\n\t\t\t}\n\n\t\t\t// Check to see if the command equals SUMMARY (uppper case once again, as I set it to all uppercase previously)\n\t\t\t// If that is true, it will check the next part of the IF statement,\n\t\t\t// which checks to see if there are less than 2 argument statments\n\t\t\t// Kept the two if statements separate due to the ending else statements being different\n\t\t\tif(cmd.equals(\"SUMMARY\") && args.length < 2){\n\n\t\t\t\t// If this is true set the name (aka 'data') to be null, as it is not needed if these are true\n\t\t\t\tdata = null;\n\n\t\t\t}\n\t\t\t// Every other case that doesn't follow this statement will then make the name (aka 'data'),\n\t\t\t// to be the second argument, allowing for the continuation of the program\n\t\t\telse {\n\t\t\t\tdata = args[1];\n\t\t\t}\n\n\t\t}\n\t\t// If any of these fail due to an exception of too many or too few arguments it will print out the Usage() statement\n\t\t// This will allow the user to understand how to run the program\n\t\tcatch (ArrayIndexOutOfBoundsException err) {\n\t\t\tUsage();\n\t\t}\n\n\t\t// Set up a SWITCH statement to check for each of the UPPERCASE values of the command\n\t\tswitch(cmd){\n\t\t\t// If the case is STOP, pass in the following:\n\t\t\t// data, also known as the name of the task\n\t\t\t// log, the initialized log file that will handle the data, and record all of it\n\t\t\t// cmd, aka the UPPERCASE command that was run\n\t\t\t// timeRN, aka the LocalDateTime.now() command which gets the current time down past the second\n\t\t\tcase \"STOP\": cmdStop(data, log, cmd, timeRN);\n\t\t\t\tbreak;\n\t\t\t// if the case is START, pass in the following:\n\t\t\t// data, also known as the name of the task\n\t\t\t// log, the initialized log file that will handle the data, and record all of it\n\t\t\t// cmd, aka the UPPERCASE command that was run\n\t\t\t// timeRN, aka the LocalDateTime.now() command which gets the current time down past the second\n\t\t\tcase \"START\": cmdStart(data, log, cmd, timeRN);\n\t\t\t\tbreak;\n\t\t\t// If the case is SUMMARY, it will run into and if/else scenario\n\t\t\tcase \"SUMMARY\": \n\t\t\t\t// If the name of the task is unknown, it means that the user is requesting the full summary/log file\n\t\t\t\tif(data == null) {\n\t\t\t\t\t// This will just pass the log only, which will run into the appropriate method,\n\t\t\t\t\t// to return all summary data\n\t\t\t\t\tcmdSummary(log);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// if there is any other data, it will send the name of the task,\n\t\t\t\t\t// as well as the log file previously created\n\t\t\t\t\tcmdSummary(data, log);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"DESCRIBE\":\n\t\t\t\t// if there are exactly 4 arguments in the case of the DESCRIBE command, \n\t\t\t\t// it means there is a size parameter also being passed into the according method \n\t\t\t\tif(args.length == 4) {\n\t\t\t\t\t// Set the Size as the fourth element of the arguments provided \n\t\t\t\t\tSize = args[3];\n\t\t\t\t\t// Send the same data, log, cmd, and timeRN into the correct method as the other case statements\n\t\t\t\t\t// Also pass into the cmdDescribe method, the description of the task that was supplied\n\t\t\t\t\t// As well as the Size of the task that was also supplied\n\t\t\t\t\tcmdDescribe(data, log, cmd, timeRN, desc, Size);\n\t\t\t\t} else {\n\t\t\t\t\t// Send all the same data as the previous describe case, except exclude the Size, as this was not supplied\n\t\t\t\t\tcmdDescribe(data, log, cmd, timeRN, desc);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t// If the SIZE is supplied, go to this case, and then enter the below if/else statement\n\t\t\tcase \"SIZE\":\n\t\t\t\t// This says if there are exactly 3 arguments enter this statement\n\t\t\t\tif(args.length == 3) {\n\t\t\t\t\t// if there are the correct number of arguments, use these to set the Size parameter as the third argument\n\t\t\t\t\tSize = args[2];\n\t\t\t\t\t// Send all the data (Previously described), into the cmdSize method as shown\n\t\t\t\t\tcmdSize(data, log, cmd, timeRN, Size);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t// NO NEED FOR DEFAULT CASE, AS THIS WAS ALREADY HANDLED PREVIOUSLY\n\t\t\t// If I put another Usage() case, it will the same this out twice, TESTED AND CONFIRMED\n\t\t}\n\t}", "title": "" }, { "docid": "54adf2c377313e0976d85f35fb761ff4", "score": "0.7038207", "text": "public static void main(String[] args) {\n\n\n\n\n\n\n }", "title": "" }, { "docid": "54adf2c377313e0976d85f35fb761ff4", "score": "0.7038207", "text": "public static void main(String[] args) {\n\n\n\n\n\n\n }", "title": "" }, { "docid": "e592ef4d997461e42e778c06289f2f52", "score": "0.7037137", "text": "public static void main (String[] args) {\n\t\tmain(); //Calls main\n\t}", "title": "" }, { "docid": "dfed6b0616bc419c7050fdc08532065d", "score": "0.7035921", "text": "public static void main(String[] args){launch(args);}", "title": "" }, { "docid": "5d1d2f6141f1e4bc1159e0286ac82479", "score": "0.7033414", "text": "static void main(String[] args) {\n\n\t}", "title": "" }, { "docid": "19ea1fbeba3f2b56c543dbcead8b3206", "score": "0.7029528", "text": "private static void main(String[] args) {\n\t}", "title": "" }, { "docid": "c8203c5fd7842ba86f30eacab8cb1d77", "score": "0.70268345", "text": "public static void main (String args[]){\n \n \n }", "title": "" }, { "docid": "b085f29339040920fcfbb8b39ad223b8", "score": "0.70224607", "text": "private Main() {\n \n }", "title": "" }, { "docid": "41091378a494954abda53dd7f21a8480", "score": "0.702092", "text": "public static void main(String[] args) {\n\t\t// ...\n\t}", "title": "" }, { "docid": "d44a8e113d9c8e0b3c032ed10866602b", "score": "0.7018396", "text": "public static void main(String[] args) {\n FileHandler.readFile(EXAMPLE_PROGRAM_NAME);\n\n // Create the JSON object from the read string\n JSONHandler.setJSONobjectFromString(FileHandler.getLastReadFile());\n \n // Load the program using the ProgramHandler\n ProgramHandler.loadProgram();\n \n // Show generated code\n ProgramHandler.showGeneratedCode();\n ProgramHandler.saveCodeToFile(OUTPUT_FILE_NAME);\n \n }", "title": "" }, { "docid": "23e516a16d7716368e139de7452fffdc", "score": "0.7018119", "text": "public static void main(String[] args) { launch(args); }", "title": "" }, { "docid": "23e516a16d7716368e139de7452fffdc", "score": "0.7018119", "text": "public static void main(String[] args) { launch(args); }", "title": "" }, { "docid": "090d289ca6eb86fd8e524d34a02e1585", "score": "0.7012309", "text": "public static void main(String[] args) {\r\n\r\n\r\n }", "title": "" }, { "docid": "deaf5da8d0f3bce6e2e3efce38bf9bd8", "score": "0.6995075", "text": "private void goMain(){\n }", "title": "" }, { "docid": "18be2bc99ff20944d7bd15456d48e045", "score": "0.69944775", "text": "public static void main(String[]args){\n\n }", "title": "" }, { "docid": "f4a63c2764b0345bcb79000dd7577102", "score": "0.6993712", "text": "public static void main(String[] args) {\n\t\t\n\t\tProgram program = new Program();\n\t\tprogram.run();\n\t\t\n\t}", "title": "" }, { "docid": "366c612b3ed55fd44e6b0fbaf0fb4e8e", "score": "0.6991013", "text": "public static void main(String[] args) {\r\n \r\n \r\n \r\n }", "title": "" }, { "docid": "f41967b70aa9ecd298f2f3615251964c", "score": "0.6990793", "text": "public static void main(String[] args){\n \t\t\n \t}", "title": "" }, { "docid": "50e8504ea37a5014721a11dd4db0bf1e", "score": "0.6989786", "text": "public static void main(String []args) {\n\n }", "title": "" }, { "docid": "6887f1f60b8d149ed541d0c222b2945a", "score": "0.6989661", "text": "public static void main(String[] args) {\nSystem.out.println(\"Lesson 6\");\r\n\t}", "title": "" }, { "docid": "af8ff2928a4d02a0b7b25334fdfc724e", "score": "0.6988892", "text": "public static void main (String [] args) {\n\t\t\n\t}", "title": "" }, { "docid": "89b85250b9bc6b8d520984d2e6380638", "score": "0.698868", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "c2e686e646cf86652514844355a21a94", "score": "0.69858056", "text": "public static void main(String[] args) {\n\r\n new Main();\r\n }", "title": "" }, { "docid": "fdc62ffe06931270062aa30c26b36b1f", "score": "0.69851357", "text": "public static void main(String[] args) {\n\t\t\t\n\t}", "title": "" }, { "docid": "6d62be82cdc116b382c400aa964df949", "score": "0.6978469", "text": "public static void main(String[] args) {\n\n\n\n }", "title": "" }, { "docid": "6d62be82cdc116b382c400aa964df949", "score": "0.6978469", "text": "public static void main(String[] args) {\n\n\n\n }", "title": "" }, { "docid": "6d62be82cdc116b382c400aa964df949", "score": "0.6978469", "text": "public static void main(String[] args) {\n\n\n\n }", "title": "" }, { "docid": "6d62be82cdc116b382c400aa964df949", "score": "0.6978469", "text": "public static void main(String[] args) {\n\n\n\n }", "title": "" }, { "docid": "6d62be82cdc116b382c400aa964df949", "score": "0.6978469", "text": "public static void main(String[] args) {\n\n\n\n }", "title": "" }, { "docid": "d82f855f9e33bef7c29daae8ad440316", "score": "0.69708484", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "39eb1572954f820a39cda740993d87b5", "score": "0.6970386", "text": "public static void main(String[] argv){\n\t}", "title": "" }, { "docid": "61bbd758a7a4ade65d6ea6e611583584", "score": "0.6969574", "text": "public static void main(String[] argc) {\n\n\n\n\n\n\n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.69648856", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.69648856", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.69648856", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.69648856", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.69648856", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.69648856", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "faf1c00082c08eec53d4a82259d8e8d7", "score": "0.69585884", "text": "public static void main( String args[] )\n {\n \n }", "title": "" }, { "docid": "1cf25a985df21cbba2bf283a36283fb6", "score": "0.69568694", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "a4b8ee5d7eec21d5889324e86ab75c08", "score": "0.69481665", "text": "public static void main(String[] args) {\n\n\n\n\n }", "title": "" }, { "docid": "a4b8ee5d7eec21d5889324e86ab75c08", "score": "0.69481665", "text": "public static void main(String[] args) {\n\n\n\n\n }", "title": "" }, { "docid": "de978d4e7d1b757a613b99f83fab2144", "score": "0.69450223", "text": "public static void main (String [] args){\n\tSystem.out.println(\"THis works\");\n }", "title": "" }, { "docid": "20fc53ac2b1f8633ba024d7c67a88a0d", "score": "0.69449097", "text": "public static void main(String[] args) {\n// Het is niet erg als dit leeg is.\n }", "title": "" }, { "docid": "d93e1780270fe7e9c4f9f36a7235cb65", "score": "0.69419646", "text": "public static void main(String[] args) throws IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "55d0f789b29a52bfdc42ff15f0fbf025", "score": "0.6941716", "text": "public static void main(String[] args) {\n \n \n }", "title": "" }, { "docid": "55d0f789b29a52bfdc42ff15f0fbf025", "score": "0.6941716", "text": "public static void main(String[] args) {\n \n \n }", "title": "" }, { "docid": "971f0f0b50fe9068c523bc7f18b04f70", "score": "0.69406915", "text": "private void program() {\n System.out.println(\"#include <stdio.h>\");\n System.out.println(\"main()\");\n block();\n }", "title": "" }, { "docid": "ae86a2b73873d19a10cd16d91f5fd9e7", "score": "0.6937936", "text": "public static void main(String[] args) {\n \t}", "title": "" }, { "docid": "127946574ea7d4b163b754f0c5eec5b6", "score": "0.69289", "text": "public static void main() throws Exception {\n\n }", "title": "" }, { "docid": "c78a2256de944e4a9687015f169f6a3d", "score": "0.69287056", "text": "public static void main(String[] args) throws IOException {\n\t\tlaunch(args);\n\t}", "title": "" }, { "docid": "aae84da3da8eebfd312b9771a467a085", "score": "0.6925227", "text": "public static void main(String[]args)\n {\n }", "title": "" }, { "docid": "5d89ba565d64a388c20408f694cdf0cd", "score": "0.6922991", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "5d89ba565d64a388c20408f694cdf0cd", "score": "0.6922991", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "daed2a0b034d75c5e4f77e570180617a", "score": "0.69188935", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "a60fde24f3e48e4812ca51b824266acf", "score": "0.6915718", "text": "public static void main(String[] args) {\n \r\n\t}", "title": "" }, { "docid": "11d80eb84c5d27ecefa3f49f241cff49", "score": "0.6915599", "text": "public static void main(String[] args) {\n\n\n\n\n\t}", "title": "" }, { "docid": "fad77b138e4f2d8c2e7dcd6cb6700286", "score": "0.6914846", "text": "public static void main (String [] args) {\n\n }", "title": "" }, { "docid": "db04913635d25bdd36f8e7c65332ec09", "score": "0.69144285", "text": "public static void main(String[] args)\n {\n\n\n }", "title": "" }, { "docid": "65f75e468e53b663e921769a060a0019", "score": "0.6912915", "text": "public static void main(String[] args) {\n\t\tnew Main();\r\n\r\n\t}", "title": "" }, { "docid": "a3d1937e236c5a85399d26d6902af304", "score": "0.6912602", "text": "public static void Main()\n {\n // This will make a fresh game to play from the start\n newGame = new Game();\n \n // This will run the game so that the user can start playing\n newGame.play();\n \n // This will close out of the game when it is over\n System.exit(0);\n\n }", "title": "" }, { "docid": "ecd7b9d681edff0a20b2ed63629afa6c", "score": "0.69024056", "text": "public static void main (String [] args) {\n\t}", "title": "" }, { "docid": "d43edba93f47b1baec0b35b730203792", "score": "0.6902226", "text": "public static void main(String[] args) {\n\n\t }", "title": "" }, { "docid": "0575e2291352c6855189e568eff2c807", "score": "0.69018614", "text": "public static void main (String[] args){\n\n\n }", "title": "" }, { "docid": "3c9445779430046cdc4f3fd7d887ceb6", "score": "0.69004065", "text": "public static void main(String[] args) {\r\n\r\n }", "title": "" }, { "docid": "3c9445779430046cdc4f3fd7d887ceb6", "score": "0.69004065", "text": "public static void main(String[] args) {\r\n\r\n }", "title": "" }, { "docid": "3c9445779430046cdc4f3fd7d887ceb6", "score": "0.69004065", "text": "public static void main(String[] args) {\r\n\r\n }", "title": "" }, { "docid": "7fd4d3f6416e8314a9ec838aae4d2bf6", "score": "0.68989575", "text": "public static void main(String args[]) {}", "title": "" }, { "docid": "7fd4d3f6416e8314a9ec838aae4d2bf6", "score": "0.68989575", "text": "public static void main(String args[]) {}", "title": "" }, { "docid": "7fd4d3f6416e8314a9ec838aae4d2bf6", "score": "0.68989575", "text": "public static void main(String args[]) {}", "title": "" }, { "docid": "e6d8d284b71e8f4ad1daf4af78f425cd", "score": "0.6898075", "text": "public static void main(String [] args)\n {\n\n\n }", "title": "" }, { "docid": "7c0f87b4e3eb2d5aa86018ea3536bd48", "score": "0.6895983", "text": "public static void main(String[] args) {\n\t\tlaunch(args); \r\n\t}", "title": "" }, { "docid": "7486477701c3435fe7cad4d4b72cb2fd", "score": "0.68904036", "text": "public static void main(String[] args)\n {\n\n }", "title": "" }, { "docid": "7486477701c3435fe7cad4d4b72cb2fd", "score": "0.68904036", "text": "public static void main(String[] args)\n {\n\n }", "title": "" }, { "docid": "7486477701c3435fe7cad4d4b72cb2fd", "score": "0.68904036", "text": "public static void main(String[] args)\n {\n\n }", "title": "" }, { "docid": "45f1304a6ca7ed032637de1a652f020e", "score": "0.6888219", "text": "public Main() {\n \n }", "title": "" }, { "docid": "cd87fa72e88fe306653c7271f4a029f4", "score": "0.6888045", "text": "public static void main(String[] args) { }", "title": "" }, { "docid": "ab533d36ea195c7f79ca20ef90a704e5", "score": "0.6887264", "text": "public static void main(String[] args) {\r\n }", "title": "" }, { "docid": "ab533d36ea195c7f79ca20ef90a704e5", "score": "0.6887264", "text": "public static void main(String[] args) {\r\n }", "title": "" } ]
fdc00f5cd240e701fcb4de3801e94add
Setter for the id.
[ { "docid": "3d086aba1b0882c84f4e975a57fe6a84", "score": "0.0", "text": "public void setId( Integer id )\n {\n _nId = id;\n }", "title": "" } ]
[ { "docid": "765049c5a4fe882245c9a6b58e7e05e0", "score": "0.84806633", "text": "public void setid(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "8f1681d629395cfa911f0d096eca79ae", "score": "0.8414706", "text": "@Override\n\t\tpublic void setId(long id) {\n\t\t\tthis.id = Long.toString(id);\n\t\t}", "title": "" }, { "docid": "6d948e1982866f98803b554d58dc98df", "score": "0.8327612", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "47662f89af394dd62bdbc57aedb2cd36", "score": "0.8318764", "text": "public void setId(String value)\n {\n id = value;\n }", "title": "" }, { "docid": "62080f11b512976222e6e1838e281805", "score": "0.83060515", "text": "@Override\r\n\tpublic void setId(long value) {\r\n this.id = value;\r\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.82440543", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.82440543", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.82440543", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.82440543", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.82440543", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.82440543", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "141e0b7695d9141d0ce67934a0af9c58", "score": "0.82173884", "text": "private void setId(int id) {\n\t\tmId = id;\n\t}", "title": "" }, { "docid": "594ddd406b432223ead8ff843dc4df9e", "score": "0.820707", "text": "public void setID(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "594ddd406b432223ead8ff843dc4df9e", "score": "0.820707", "text": "public void setID(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "5a3d8cb16a6d32c2e41aa5ad721ee8f4", "score": "0.8194845", "text": "public void setId(long id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "1cedf068e0c4e10d6a36fc2c0a96766f", "score": "0.8179165", "text": "public void setId(long id)\r\n\t{\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "7c9928205cfc5c2a3e7c54ec74d4aff5", "score": "0.81700236", "text": "public void setId(final int id) {\n this.id = id;\n }", "title": "" }, { "docid": "e5ca0bb86080f24f6dd98c65017d019d", "score": "0.8168807", "text": "public void setId(final int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "41a28e0ef8c922e9986a387dc29d7d55", "score": "0.8167719", "text": "public void setId(long id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "41a28e0ef8c922e9986a387dc29d7d55", "score": "0.8167719", "text": "public void setId(long id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "927fc7a52ac6dc525e0fd021adc80d43", "score": "0.81636214", "text": "public void setId(java.lang.String value) {\n this.id = value;\n }", "title": "" }, { "docid": "927fc7a52ac6dc525e0fd021adc80d43", "score": "0.81636214", "text": "public void setId(java.lang.String value) {\n this.id = value;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e3c9bff71177b79a91171c519740b550", "score": "0.8150884", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "cbdf576aff0d4d9394900c932c96f751", "score": "0.814474", "text": "protected void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "78c4c311c2190e3e23d694ff3b6f0243", "score": "0.81408507", "text": "public void setId(int id) {\r\n\r\n this.id = id;\r\n\r\n }", "title": "" }, { "docid": "c4e0089b5ed8b17bc578c49fff419365", "score": "0.81405777", "text": "@Override\r\n\tpublic void setId(Integer id) {\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "6e3402e5e29be5dbf86d0f5bf8810a30", "score": "0.81329757", "text": "public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "6e3402e5e29be5dbf86d0f5bf8810a30", "score": "0.81329757", "text": "public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "6e3402e5e29be5dbf86d0f5bf8810a30", "score": "0.81329757", "text": "public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "6e3402e5e29be5dbf86d0f5bf8810a30", "score": "0.81329757", "text": "public void setId(int id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "208e4d7cf1a7558fa2061bd02111ccf0", "score": "0.81276876", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "208e4d7cf1a7558fa2061bd02111ccf0", "score": "0.81276876", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "1b254e0a146b496aee21e30e3a4e0383", "score": "0.81254035", "text": "public void setId(long id)\n {\n _id = id;\n }", "title": "" }, { "docid": "2f9380e950a0be9e1ff591def01e6d9e", "score": "0.8124937", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "2f9380e950a0be9e1ff591def01e6d9e", "score": "0.8124937", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "f77a59c09d5c71f4612dbe0e719622bd", "score": "0.81155527", "text": "@Override\n public void setId(Integer id) {\n this.id = id;\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.81153554", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.81153554", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.81153554", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.81153554", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.81153554", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.81153554", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "0247cc07ac3b2b91a775c34076a930c7", "score": "0.81014436", "text": "public void setId (int id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "d780338f207855a82c75adaaef8eb893", "score": "0.810097", "text": "public void setId(long value) {\r\n this.id = value;\r\n }", "title": "" }, { "docid": "d780338f207855a82c75adaaef8eb893", "score": "0.810097", "text": "public void setId(long value) {\r\n this.id = value;\r\n }", "title": "" }, { "docid": "a2f1ca515ed026db1981ea6c9b6eeb04", "score": "0.8099266", "text": "public void setId(java.lang.Integer id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "6f2d5a7f9cc43e15f073d571e5622bee", "score": "0.80837303", "text": "public void setId(int id) {\r\n\t\t\tthis.id = id;\r\n\t\t}", "title": "" }, { "docid": "b4bfdd788f89f2b99dc19a364bc005b8", "score": "0.8076643", "text": "public void setId(int id){\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "b4bfdd788f89f2b99dc19a364bc005b8", "score": "0.8076643", "text": "public void setId(int id){\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "e65246d2956f7b3e99aff51e320f3949", "score": "0.80742675", "text": "public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "e65246d2956f7b3e99aff51e320f3949", "score": "0.80742675", "text": "public void setId(String id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "43db25f9f088dfc595283a3127294298", "score": "0.80732197", "text": "public void setId(Integer id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "43db25f9f088dfc595283a3127294298", "score": "0.80732197", "text": "public void setId(Integer id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "43db25f9f088dfc595283a3127294298", "score": "0.80732197", "text": "public void setId(Integer id) {\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "9e516a7fe715336d57026fc428630b12", "score": "0.8072382", "text": "public void id(int id) {\n id_ = id;\n }", "title": "" }, { "docid": "48808dba48e8330c4ce16046cd99962b", "score": "0.80718964", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "48808dba48e8330c4ce16046cd99962b", "score": "0.80718964", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "94e19d7d5f3a4ed2767d2246bd5e5e22", "score": "0.80707276", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "94e19d7d5f3a4ed2767d2246bd5e5e22", "score": "0.80707276", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "c437faabcd79788b4f4d3cfafcf17eed", "score": "0.80693597", "text": "public void setId(int id)\r\n {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "49d0656bf265195f3b7f4d3aefee9a0f", "score": "0.806755", "text": "public void setId(long id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "49d0656bf265195f3b7f4d3aefee9a0f", "score": "0.806755", "text": "public void setId(long id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "49d0656bf265195f3b7f4d3aefee9a0f", "score": "0.806755", "text": "public void setId(long id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "49d0656bf265195f3b7f4d3aefee9a0f", "score": "0.806755", "text": "public void setId(long id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "49d0656bf265195f3b7f4d3aefee9a0f", "score": "0.806755", "text": "public void setId(long id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "49d0656bf265195f3b7f4d3aefee9a0f", "score": "0.806755", "text": "public void setId(long id) {\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "d00cd87bb3c7463342b282304c0ee274", "score": "0.8059615", "text": "public final void setId(final String id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.8058859", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" } ]
7f1868df76addfb4c05131a70d2e4f94
Metodo que realiza el ciclo del competidor 3 de cada color y da por finalizada la carrera
[ { "docid": "877d89371a6150b902edb2caa2ed7a06", "score": "0.563641", "text": "public void cicloPersonaTres() {\n while (true) {\n int pasoActual = avanzar(3);\n if (pasoActual >= 100) {\n color.setPosicionActualP3(100);\n\n if (color.getNombre().equals(\"Cyan\")) {\n color.setNombre(\"Cyan\");\n } else if (color.getNombre().equals(\"Azul\")) {\n color.setNombre(\"Azul\");\n } else if (color.getNombre().equals(\"Rojo\")) {\n color.setNombre(\"Rojo\");\n }\n\n Principal p = new Principal();\n p.mostrarGanador(color.getNombre());\n System.exit(0);\n\n }\n }\n }", "title": "" } ]
[ { "docid": "d1f0716b4dad7bc3c6f94879295d35a4", "score": "0.6219444", "text": "private static void test3(){\n StringBuilder red = new StringBuilder();\n StringBuilder blue = new StringBuilder();\n StringBuilder green = new StringBuilder();\n StringBuilder yellow = new StringBuilder();\n StringBuilder purple = new StringBuilder();\n StringBuilder cyan = new StringBuilder();\n StringBuilder grey = new StringBuilder();\n \n for(int i = 0; i < 255; i += 5){\n \tred.append(Colors.background(i, 0, 0)).append(\" \");\n green.append(Colors.background(0, i, 0)).append(\" \");\n blue.append(Colors.background(0, 0, i)).append(\" \");\n yellow.append(Colors.background(i, i, 0)).append(\" \");\n purple.append(Colors.background(i, 0, i)).append(\" \");\n cyan.append(Colors.background(0, i, i)).append(\" \");\n grey.append(Colors.background(i, i, i)).append(\" \");\n }\n System.out.println(red + Colors.RESET_ALL);\n System.out.println(green + Colors.RESET_ALL);\n System.out.println(blue + Colors.RESET_ALL);\n System.out.println(yellow + Colors.RESET_ALL);\n System.out.println(purple + Colors.RESET_ALL);\n System.out.println(cyan + Colors.RESET_ALL);\n System.out.println(grey + Colors.RESET_ALL);\n\t}", "title": "" }, { "docid": "d29ed56749b769243d843509369c3729", "score": "0.61703914", "text": "public static void uebung3() {\n\t\tfor (int i = 0; i < 301; i=i+5) {\n\t\t\tZeichenfenster.zeichneEllipse(200+i, 400, 100+i, 100+i);\n\t\t}\n\t}", "title": "" }, { "docid": "e593e8c2e47b181ad218c51a0f8403fc", "score": "0.6147568", "text": "public void coloring() {\n boolean colors[] = new boolean[4];\r\n colors[v0.color] = true;\r\n colors[v1.color] = true;\r\n colors[v2.color] = true;\r\n if (v0.color == 0) v0.color = nextColor(colors);\r\n if (v1.color == 0) v1.color = nextColor(colors);\r\n if (v2.color == 0) v2.color = nextColor(colors);\r\n }", "title": "" }, { "docid": "36bed9c58a316f85c1485a2fb351b87d", "score": "0.6087423", "text": "public int[][] YellowCCW(int colorcube[][]) \r\n {\n int[] primaryFace = new int[60]; \r\n \r\n for (int i = 0; i <=8; i++) {\r\n primaryFace[i] = colorcube[3][i];\r\n }\r\n \r\n \r\n colorcube[3][6] = primaryFace[0]; \r\n colorcube[3][3] = primaryFace[1]; \r\n colorcube[3][0] = primaryFace[2]; \r\n colorcube[3][7] = primaryFace[3]; \r\n colorcube[3][4] = primaryFace[4]; \r\n colorcube[3][1] = primaryFace[5]; \r\n colorcube[3][8] = primaryFace[6]; \r\n colorcube[3][5] = primaryFace[7]; \r\n colorcube[3][2] = primaryFace[8]; \r\n \r\n \r\n int[] primaryOuter = new int[60]; \r\n primaryOuter[42] = colorcube[4][2]; \r\n primaryOuter[41] = colorcube[4][1]; \r\n primaryOuter[40] = colorcube[4][0]; \r\n primaryOuter[00] = colorcube[0][0]; \r\n primaryOuter[03] = colorcube[0][3]; \r\n primaryOuter[06] = colorcube[0][6]; \r\n primaryOuter[56] = colorcube[5][6]; \r\n primaryOuter[57] = colorcube[5][7]; \r\n primaryOuter[58] = colorcube[5][8]; \r\n primaryOuter[28] = colorcube[2][8]; \r\n primaryOuter[25] = colorcube[2][5]; \r\n primaryOuter[22] = colorcube[2][2]; \r\n \r\n \r\n colorcube[2][8] = primaryOuter[42]; \r\n colorcube[2][5] = primaryOuter[41]; \r\n colorcube[2][2] = primaryOuter[40]; \r\n colorcube[4][2] = primaryOuter[00]; \r\n colorcube[4][1] = primaryOuter[03]; \r\n colorcube[4][0] = primaryOuter[06]; \r\n colorcube[0][0] = primaryOuter[56]; \r\n colorcube[0][3] = primaryOuter[57]; \r\n colorcube[0][6] = primaryOuter[58]; \r\n colorcube[5][6] = primaryOuter[28]; \r\n colorcube[5][7] = primaryOuter[25]; \r\n colorcube[5][8] = primaryOuter[22]; \r\n \r\n System.out.println();\r\n System.out.println(\"Yellow CounterClockWise\"); \r\n return colorcube; \r\n }", "title": "" }, { "docid": "35ad175c945e157da3bd7bc4424d9888", "score": "0.6073006", "text": "public void getColors() {\n rosu = Integer.parseInt(colors.substring(UNU, TREI), SAISPREZECE);\n verde = Integer.parseInt(colors.substring(TREI, CINCI), SAISPREZECE);\n albastru = Integer.parseInt(colors.substring(CINCI, SAPTE), SAISPREZECE);\n }", "title": "" }, { "docid": "66792f79a0a9cfa6000a4bd0dcc434ac", "score": "0.6041528", "text": "private void logic() {\n // \"we fade to black\"\n // ===========================================\n for(int i=0; i<triangleColor.length; i++) {\n triangleColor[i].x -= 0.01;\n triangleColor[i].y -= 0.01;\n triangleColor[i].z -= 0.01;\n } \n \n for(int i=0; i<quadColor.length; i++) {\n quadColor[i].x -= 0.01;\n quadColor[i].y -= 0.01;\n quadColor[i].z -= 0.01;\n } \n // -------------------------------------------\n }", "title": "" }, { "docid": "b253dbb0cb018a8415f58e2e33bbf86e", "score": "0.6041065", "text": "ColorSemaphore( int numPencils )\r\n {\r\n // initialize the count variable for all the colors\r\n count = new int[ NUM_COLORS ] ;\r\n for( int i=0; i < NUM_COLORS; i++ )\r\n count[i] = numPencils ;\r\n }", "title": "" }, { "docid": "3169d0f8237f1e052a24837e1653f34a", "score": "0.6034233", "text": "private void lastBackgroundColor() {\n if (R == Constants.THRESHOLD_3 && (G <= Constants.THRESHOLD_4 && G < Constants.THRESHOLD_5) && B == Constants.THRESHOLD_5) {\n G++;\n } else if (R == Constants.THRESHOLD_3 && G == Constants.THRESHOLD_5 && (B <= Constants.THRESHOLD_5 && B > Constants.THRESHOLD_3)) {\n B--;\n } else if ((R >= Constants.THRESHOLD_3 && R < Constants.THRESHOLD_5) && G == Constants.THRESHOLD_5 && B == Constants.THRESHOLD_3) {\n R++;\n } else if (R == Constants.THRESHOLD_5 && (G <= Constants.THRESHOLD_5 && G > Constants.THRESHOLD_3) && B == Constants.THRESHOLD_3) {\n G--;\n } else if (R == Constants.THRESHOLD_5 && G == Constants.THRESHOLD_3 && (B >= Constants.THRESHOLD_3 && B < Constants.THRESHOLD_5)) {\n B++;\n } else if ((R <= Constants.THRESHOLD_5 && R > Constants.THRESHOLD_3 && G == Constants.THRESHOLD_3 && B == Constants.THRESHOLD_5)) {\n R--;\n } else {\n G++;\n }\n }", "title": "" }, { "docid": "beb3f24ea4877c4217ed20da5488dfae", "score": "0.603002", "text": "int getColourComponents();", "title": "" }, { "docid": "48617caabd0c1c84c4c5f131fc513c08", "score": "0.59910715", "text": "private void nextBackgroundColor() {\n if (R == Constants.THRESHOLD_3 && (G <= Constants.THRESHOLD_4 && G > Constants.THRESHOLD_3) && B == Constants.THRESHOLD_5) {\n G--;\n } else if ((R >= Constants.THRESHOLD_3 && R < Constants.THRESHOLD_5) && G == Constants.THRESHOLD_3 && B == Constants.THRESHOLD_5) {\n R++;\n } else if (R == Constants.THRESHOLD_5 && G == Constants.THRESHOLD_3 && (B <= Constants.THRESHOLD_5 && B > Constants.THRESHOLD_3)) {\n B--;\n } else if (R == Constants.THRESHOLD_5 && (G >= Constants.THRESHOLD_3 && G < Constants.THRESHOLD_5) && B == Constants.THRESHOLD_3) {\n G++;\n } else if ((R <= Constants.THRESHOLD_5 && R > Constants.THRESHOLD_3) && G == Constants.THRESHOLD_5 && B == Constants.THRESHOLD_3) {\n R--;\n } else if (R == Constants.THRESHOLD_3 && G == Constants.THRESHOLD_5 && (B >= Constants.THRESHOLD_3 && B < Constants.THRESHOLD_5)) {\n B++;\n } else {\n G--;\n }\n }", "title": "" }, { "docid": "09fcd3e498aca45440479a8d87dee1c2", "score": "0.5941573", "text": "public void consultarCurva(Caja caja){\n //unidadesCaja = caja.getUnidadesCaja();\n pu = new funciones().precioConIva(caja.getPrecioventaUnidad());\n numTallas = 0;\n resetTallas();\n numColores = 0;\n resetCurva();\n List<String> tallasList = ejbFacadeInventario.tallasCaja(caja);\n List<Object> curvasList = ejbFacadeInventario.curvaByCaja(caja);\n if((tallasList != null) && (curvasList != null)){\n int menorLista = 0;\n if(tallas.length <= tallasList.size()){\n numTallas = tallas.length;\n }else{\n numTallas = tallasList.size();\n }\n //Llenar Lista de Tallas a mostrar en curva\n for(int t=0; t < numTallas; t++){\n tallas[t] = tallasList.get(t);\n }\n int c = -1; //posicion del arreglo de curva\n String colorActual = \"\"; //Color Actual\n //Recorremos el arreglo de la consulta\n for(Object consulta: curvasList){ // r: posicion en la consulta\n int t; //Posicion de la talla en el arreglo tallas\n Object[] actual = (Object[]) consulta;\n if(!(actual[0].equals(colorActual))){\n //No es igual (cambio de color)\n c++; //posicion del arreglo de curva\n colorActual = (String) actual[0]; //Nuevo Color\n numColores++;\n curva[c].setColor(colorActual);\n }\n //Es igual al color actual\n for(t=0; t < tallas.length; t++){\n if(actual[1].equals(tallas[t])){\n break; //Encontrado\n }\n }\n switch(t){\n case 0: \n curva[c].setT1(Integer.parseInt(actual[2].toString()));break;\n case 1: \n curva[c].setT2(Integer.parseInt(actual[2].toString())); break;\n case 2: \n curva[c].setT3(Integer.parseInt(actual[2].toString())); break;\n case 3: \n curva[c].setT4(Integer.parseInt(actual[2].toString())); break;\n case 4: \n curva[c].setT5(Integer.parseInt(actual[2].toString())); break;\n case 5: \n curva[c].setT6(Integer.parseInt(actual[2].toString())); break;\n case 6: \n curva[c].setT7(Integer.parseInt(actual[2].toString())); break;\n case 7: \n curva[c].setT8(Integer.parseInt(actual[2].toString())); break;\n case 8: \n curva[c].setT9(Integer.parseInt(actual[2].toString())); break;\n case 9: \n curva[c].setT10(Integer.parseInt(actual[2].toString()));break;\n }\n }\n }\n }", "title": "" }, { "docid": "f8295a608caa533538097277cdabc64d", "score": "0.59341383", "text": "public void escudo(){\n exi=14; eyi=0; epixeles=12;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixeles(3, 4, cs.rojo);\n pixeles(3, 2, cs.rojo);\n pixeles(1,cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(1,cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(2,cs.rojo);\n pixeles(1, 2, cs.rojo);\n pixeles(11,cs.rojo);\n //2do\n exi=15; eyi=4; epixeles=10;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixeles(2,4,cs.blanco);\n pixeles(3,2,cs.blanco);\n pixeles(1,2,cs.blanco);\n pixeles(1,cs.blanco);\n pixeles(1,2,cs.blanco);\n pixeles(1,cs.blanco);\n pixeles(10,cs.blanco);\n //3ro\n exi=16; eyi=8; epixeles=8;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n for (int i=0; i<3; i++) {\n pixeles(1,4,cs.rojo);\n pixeles(1,cs.rojo);\n }\n pixeles(1,2,cs.rojo);\n pixeles(8,cs.rojo);\n \n\n\n //Inverso\n exi=14; eyi=39; epixeles=12;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixelesAbajo(3, 4, cs.rojo);\n pixelesAbajo(3, 2, cs.rojo);\n pixelesAbajo(1,cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(1,cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(2,cs.rojo);\n pixelesAbajo(1, 2, cs.rojo);\n pixelesAbajo(1,cs.rojo);\n //2do\n exi=15; eyi=35; epixeles=10;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n pixelesAbajo(2,4,cs.blanco);\n pixelesAbajo(3,2,cs.blanco);\n pixelesAbajo(1,2,cs.blanco);\n pixelesAbajo(1,cs.blanco);\n pixelesAbajo(1,2,cs.blanco);\n pixelesAbajo(1,cs.blanco);\n pixelesAbajo(10,cs.blanco);\n //3ro\n exi=16; eyi=31; epixeles=8;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.rojo);\n for (int i=0; i<3; i++) {\n pixelesAbajo(1,4,cs.rojo);\n pixelesAbajo(1,cs.rojo);\n }\n pixelesAbajo(1,2,cs.rojo);\n pixelesAbajo(8,cs.rojo);\n\n //Azul\n line(17, 12, 24, 12, cs.azul);\n line(16, 13, 25, 13, cs.azul);\n line(15, 14, 26, 14, cs.azul);\n line(14, 15, 27, 15, cs.azul);\n line(13, 16, 28, 16, cs.azul);\n line(12, 17, 29, 17, cs.azul);\n line(12, 18, 29, 18, cs.azul);\n line(12, 19, 29, 19, cs.azul);\n line(12, 20, 29, 20, cs.azul);\n line(12, 21, 29, 21, cs.azul);\n line(12, 22, 29, 22, cs.azul);\n line(12, 23, 29, 23, cs.azul);\n line(13, 24, 28, 24, cs.azul);\n line(14, 25, 27, 25, cs.azul);\n line(15, 26, 26, 26, cs.azul);\n line(16, 27, 25, 27, cs.azul);\n line(17, 28, 24, 28, cs.azul);\n\n //Estrellas\n drawPixel(20,13,cs.blanco);\n drawPixel(20,14,cs.blanco);\n exi=19; eyi=15; epixeles=3;\n exf=exi+epixeles;\n line(exi, eyi, exf, eyi, cs.blanco);\n pixeles(1,cs.blanco);\n pixeles(1,8,cs.blanco);\n exi++;\n eyi++;\n line(exi, eyi, exi+9, eyi, cs.blanco);\n exi++;\n eyi++;\n line(exi, eyi, exi+7, eyi, cs.blanco);\n exi++;\n eyi++;\n line(exi, eyi, exi+5, eyi, cs.blanco);\n exi--;\n eyi++;\n line(exi, eyi, exi+7, eyi, cs.blanco);\n exi--;\n eyi++;\n line(exi, eyi, exi+8, eyi, cs.blanco);\n line(16,23,25,23,cs.blanco);\n line(15,24,18,24,cs.blanco); line(23,24,26,24,cs.blanco);\n drawPixel(15, 25,cs.blanco); drawPixel(25,25,cs.blanco);\n }", "title": "" }, { "docid": "f450a5ed1bad7cf5ae94dfe4ff439622", "score": "0.5901061", "text": "public void pintarCola(JPanel panelito){\n\t\tfor (int i = 0; i < Constantes.tamanioCola; i++) {\n\t\t\tpanelito.getComponent(i).setBackground(dato.getCola().getCola().get(i).getColor());\n\t\t}\n\t}", "title": "" }, { "docid": "9ba30daf357b2319f08ba098367ee67a", "score": "0.58790743", "text": "void criaListaCores(JFrame janela) {\r\n \tcores.clear();\r\n \tcores.add(new Rect(10, janela.getHeight()-100, 30, 30, Color.black, Color.black));\r\n \tcores.add(new Rect(40, janela.getHeight()-100, 30, 30, Color.black, Color.white));\r\n \tcores.add(new Rect(70, janela.getHeight()-100, 30, 30, Color.black, Color.gray));\r\n \tcores.add(new Rect(100, janela.getHeight()-100, 30, 30, Color.black, Color.green));\r\n \tcores.add(new Rect(130, janela.getHeight()-100, 30, 30, Color.black, Color.blue));\r\n \tcores.add(new Rect(160, janela.getHeight()-100, 30, 30, Color.black, Color.pink));\r\n \tcores.add(new Rect(190, janela.getHeight()-100, 30, 30, Color.black, Color.yellow));\r\n \tcores.add(new Rect(220, janela.getHeight()-100, 30, 30, Color.black, Color.orange));\r\n \tcores.add(new Rect(250, janela.getHeight()-100, 30, 30, Color.black, Color.red));\r\n \tcores.add(new Rect(280, janela.getHeight()-100, 30, 30, Color.black, new Color(150, 75, 0)));\r\n \tcores.add(new Rect(310, janela.getHeight()-100, 30, 30, Color.black, new Color(148, 0, 211)));\r\n \t\r\n \tcores.add(new Rect(10, janela.getHeight()-70, 30, 30, Color.black, Color.black));\r\n \tcores.add(new Rect(40, janela.getHeight()-70, 30, 30, Color.black, Color.white));\r\n \tcores.add(new Rect(70, janela.getHeight()-70, 30, 30, Color.black, Color.gray));\r\n \tcores.add(new Rect(100, janela.getHeight()-70, 30, 30, Color.black, Color.green));\r\n \tcores.add(new Rect(130, janela.getHeight()-70, 30, 30, Color.black, Color.blue));\r\n \tcores.add(new Rect(160, janela.getHeight()-70, 30, 30, Color.black, Color.pink));\r\n \tcores.add(new Rect(190, janela.getHeight()-70, 30, 30, Color.black, Color.yellow));\r\n \tcores.add(new Rect(220, janela.getHeight()-70, 30, 30, Color.black, Color.orange));\r\n \tcores.add(new Rect(250, janela.getHeight()-70, 30, 30, Color.black, Color.red));\r\n \tcores.add(new Rect(280, janela.getHeight()-70, 30, 30, Color.black, new Color(150, 75, 0)));\r\n \tcores.add(new Rect(310, janela.getHeight()-70, 30, 30, Color.black, new Color(148, 0, 211)));\r\n }", "title": "" }, { "docid": "b80a2467428a50af5d3955414d74da10", "score": "0.58770657", "text": "private void rgb2cmyk()\n {\n \tdouble red_ = red / 255.0;\n \tdouble green_ = green / 255.0;\n \tdouble blue_ = blue / 255.0;\n \t\n \tdouble max = red_ > green_ ? red_ : green_;\n max = max > blue_ ? max : blue_;\n \t\n key = 1.0 - max;\n \n cyan = (1.0 - red_ - key) / (1.0 - key);\n magenta = (1.0 - green_ - key) / (1.0 - key);\n yellow = (1.0 - blue_ - key) / (1.0 - key);\n }", "title": "" }, { "docid": "c7830a08173973bb7bb9fc7965f5339c", "score": "0.58741724", "text": "private Crystal3D() {\r\n this.count = 1;\r\n this.radius = 1;\r\n this.zoom = 0;\r\n Color[] c = {Color.RED, Color.BLUE, Color.BLACK};\r\n this.color = new StandardColor(c);\r\n //parts.add(new CParticle3(point3(0, 0, 0), 1, null));\r\n CParticle3 p = new CParticle3(point3(0, 0, 0), 1, null);\r\n color.chooseColor(p);\r\n parts.add(p);\r\n \r\n }", "title": "" }, { "docid": "13d9d2c83dcf9dbe4b2c719f337ff200", "score": "0.58692724", "text": "public void buildPrecomputedColors(){\n\t\tif (settingsCopy.getIterations()<precomputedColors.length){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tprecomputedColors = new int[settingsCopy.getIterations()+1];\r\n\t\tfor (int i=0;i<precomputedColors.length;i++){\r\n\t\t\tprecomputedColors[i] = getColor(i);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "85747c749b5643c646cfe7592aca6afe", "score": "0.5835604", "text": "@Override\n public void actualizartransparencia(){\n super.actualizartransparencia();\n\n relleno = new Color(relleno.getRed(),relleno.getGreen(),relleno.getBlue(),numtrans);\n degradado = new Color(degradado.getRed(),degradado.getGreen(),degradado.getBlue(),numtrans);\n }", "title": "" }, { "docid": "4c1eba7cb86fecfdff9f101c98c85e86", "score": "0.58153045", "text": "private void escolherCor(ArrayList<String> cores) {\n\t\tint i = 1;\n\t\tfor (String color : cores) {\n\t\t\tthis.corP(i, color);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = entrada();\n\t\t\n\t\twhile(i < 1 || i > cores.size()) {\n\t\t\tthis.opcaoIncorreta();\n\t\t\ti = entrada();\n\t\t}\n\t\t\n\t\tthis.cor = cores.get(i-1);\n\t\tcores.remove(i-1);\n\t}", "title": "" }, { "docid": "24b302fe53048fd1e18c17528f665b5c", "score": "0.57658935", "text": "private void putCasillas() {\n int y = 0;\r\n int x = 0;\r\n for (int i = 0; i < Constants.FILAS; i++) {\r\n for (int j = 0; j < Constants.COLUMNAS; j++) {\r\n switch (i) {\r\n case 0:\r\n y = Constants.Y11;\r\n break;\r\n case 1:\r\n y = Constants.Y22;\r\n break;\r\n case 2:\r\n y = Constants.Y33;\r\n break;\r\n }\r\n switch (j) {\r\n case 0:\r\n x = Constants.X11;\r\n break;\r\n case 1:\r\n x = Constants.X22;\r\n break;\r\n case 2:\r\n x = Constants.X33;\r\n break;\r\n }\r\n casillas[i][j] = new JButton();//Creamos el boton\r\n casillas[i][j].setBounds(x, y, Constants.SQUARE, Constants.SQUARE);//Dimensionamos y decidimos su posición\r\n casillas[i][j].setBorderPainted(false);//Quitamos los bordes del boton\r\n casillas[i][j].setIcon(new ImageIcon(casillaVacia.getImage().getScaledInstance(casillas[i][j].getWidth(), casillas[i][j].getHeight(), Image.SCALE_SMOOTH)));//Dimensionamos la imagen segun el boton\r\n casillas[i][j].addActionListener(this);//Añadimos el ActionListener a las casillas\r\n this.add(casillas[i][j]);//Añadimos el boton al panel\r\n\r\n }\r\n }\r\n }", "title": "" }, { "docid": "6dd88fc8fdaa10de1621dd862def7f7b", "score": "0.57431465", "text": "public void ci4(byte[] rgba5551s) {\n byte colorHigh;\r\n byte colorLow;\r\n byte[] palette = new byte[16 * 2]; \r\n boolean inPalette = false;\r\n int paletteIndex = 0;\r\n byte[] paletteIndexes = new byte[rgba5551s.length / 2];\r\n\r\n // init arrays\r\n for (byte i = 0; i < palette.length; i++) {\r\n palette[i] = 0;\r\n }\r\n\r\n for (int i = 0; i < paletteIndexes.length; i++) {\r\n paletteIndexes[i] = 0;\r\n }\r\n\r\n // omega(16n) bleh\r\n for (int i = 0; i < rgba5551s.length; i += 2) {\r\n // get color\r\n colorHigh = rgba5551s[i];\r\n colorLow = rgba5551s[i + 1];\r\n \r\n // check if color is already in \r\n for (int j = 0; j < palette.length; j += 2) {\r\n if (colorHigh == palette[j] && colorLow == palette[j + 1]) {\r\n inPalette = true; \r\n break;\r\n }\r\n }\r\n\r\n // add to palette if necessary\r\n if (!inPalette) {\r\n try {\r\n palette[paletteIndex] = colorHigh;\r\n palette[paletteIndex + 1] = colorLow;\r\n paletteIndex += 2;\r\n } catch (Exception e) {\r\n System.out.println(\"CI4 color max exceeded!\");\r\n return;\r\n }\r\n }\r\n\r\n // reset inPalette after adding color to palette\r\n inPalette = false;\r\n }\r\n\r\n // gather indicies\r\n for (int i = 0; i < paletteIndexes.length; i++) {\r\n // get color\r\n colorHigh = rgba5551s[i * 2];\r\n colorLow = rgba5551s[i * 2 + 1];\r\n \r\n for (byte j = 0; j < palette.length; j += 2) {\r\n if (colorHigh == palette[j] && colorLow == palette[j + 1]) {\r\n paletteIndexes[i] = (byte) (j / 2);\r\n }\r\n }\r\n }\r\n\r\n // debug, print paleteindexes\r\n for (int i = 0; i < paletteIndexes.length; i++) {\r\n //System.out.printf(\"paletteIndexes[%d] = %X\\n\", i, paletteIndexes[i]);\r\n }\r\n\r\n // create texture\r\n byte ci4Out[] = new byte[rgba5551s.length / 4];\r\n for (int i = 0; i < ci4Out.length; i++) {\r\n ci4Out[i] = 0;\r\n }\r\n\r\n for (int i = 0; i < paletteIndexes.length; i += 2) {\r\n byte a, b;\r\n a = (byte) (paletteIndexes[i] << 4);\r\n b = (byte) (paletteIndexes[i + 1]);\r\n ci4Out[i / 2] = (byte) (a | b); \r\n }\r\n \r\n // write pallette\r\n try (FileOutputStream fos = new FileOutputStream(\"out.ci4pal\")) {\r\n fos.write(palette);\r\n } catch (Exception e) {\r\n System.out.println(\"Unknown error occured!\");\r\n System.exit(0);\r\n }\r\n\r\n // write texture\r\n try (FileOutputStream fos = new FileOutputStream(\"out.ci4tex\")) {\r\n fos.write(ci4Out);\r\n } catch (Exception e) {\r\n System.out.println(\"Unknown error occured!\");\r\n System.exit(0);\r\n }\r\n\r\n\r\n }", "title": "" }, { "docid": "42356d06d5d602870c6850b50174e8fb", "score": "0.57431406", "text": "void setColor( int i, Color c )\n {\n if ( i < 0 || i > MAX_COLORS ) // should throw an exception!\n {\n System.err.println( \"*** ERROR *** Object3D.setColor: bad index: \" \n + i + \"\\n\" );\n return;\n }\n float[] rgb = c.getComponents( null );\n Color newColor = new Color( rgb[ 0 ], rgb[ 1 ], rgb[ 2 ] );\n if ( i >= colors.size() ) // need to add entries to vector\n {\n for ( int n = colors.size(); n < i; n++ ) // fill w/ black if needed\n colors.add( Color.BLACK );\n colors.add( newColor ); // put desired color at desired index\n }\n else\n {\n // now replace old entry \n colors.set( i, newColor );\n }\n }", "title": "" }, { "docid": "8bd8cb36e9e2bac2312b145bef4d6478", "score": "0.5681236", "text": "public void runExampe() {\n Color tomato = new RGBColor(255, 99, 71);\n\n //Now, we make an instance of Palette once and ask it to return a color to us every time we need it:\n Palette palette = new Palette();\n Color c1 = palette.take(255, 99, 71);\n Color c2 = palette.take(255, 99, 71);\n }", "title": "" }, { "docid": "36905216427b6b5fc95467ea312f39ff", "score": "0.5677012", "text": "synchronized void waitColors( Pencils artistPencils )\r\n {\r\n // check if need a red pencil\r\n if( !artistPencils.getColor(RED) )\r\n {\r\n if( artistPencils.onlyAbsentColor(RED) )// if red is the only pencil needed\r\n {\r\n setColor( artistPencils, RED ); // wait for red then return\r\n return ;\r\n }\r\n if( count[RED] > 0 ) // else take a red pencil if one is free\r\n {\r\n count[RED]-- ;\r\n artistPencils.setColor( RED );\r\n }\r\n }// RED\r\n\r\n // or move on and check if need a green pencil\r\n if( !artistPencils.getColor(GREEN) )\r\n {\r\n if( artistPencils.onlyAbsentColor(GREEN) )// if green is the only pencil needed\r\n {\r\n setColor( artistPencils, GREEN ); // wait for green then return\r\n return ;\r\n }\r\n if( count[GREEN] > 0 ) // else take a green pencil if one is free\r\n {\r\n count[GREEN]-- ;\r\n artistPencils.setColor( GREEN );\r\n }\r\n }// GREEN\r\n\r\n // or move on and get a yellow pencil if it is needed\r\n if( !artistPencils.getColor(YELLOW) )\r\n {\r\n if( artistPencils.onlyAbsentColor(YELLOW) )// if yellow is the only pencil needed\r\n {\r\n setColor( artistPencils, YELLOW ); // wait for yellow then return\r\n return ;\r\n }\r\n if( count[YELLOW] > 0 ) // else take a yellow pencil if one is free\r\n {\r\n count[YELLOW]-- ;\r\n artistPencils.setColor( YELLOW );\r\n }\r\n }// YELLOW\r\n\r\n // or finish by trying to get a blue pencil if this color is needed\r\n if( !artistPencils.getColor(BLUE) )\r\n {\r\n if( artistPencils.onlyAbsentColor(BLUE) )// if blue is the only missing color\r\n {\r\n setColor( artistPencils, BLUE ); // wait for blue then return\r\n return ;\r\n }\r\n if( count[BLUE] > 0 ) // else take a blue pencil if one is free\r\n {\r\n count[BLUE]-- ;\r\n artistPencils.setColor( BLUE );\r\n }\r\n }// BLUE\r\n\r\n // then return from the Semaphore\r\n return ;\r\n }", "title": "" }, { "docid": "f15bbcac88296767fba2d9c550191493", "score": "0.5650594", "text": "private synchronized void sceltaColore(){\n\t\tthis.coloriInOrdine = new ArrayList<Colori>(this.giocatoriIniziali.size());\n\t\tColori coloreTemp = null; \n\t\tGiocatoreConnesso giocatoreTemp; \n\t\tIterator<GiocatoreConnesso> iteratoreGiocatori = this.giocatoriIniziali.iterator();\n\t\tArrayList<Colori> coloriDisponibili = riempiListaColori(); \n\t\twhile(iteratoreGiocatori.hasNext()){\n\t\t\tgiocatoreTemp = iteratoreGiocatori.next();\n\t\t\t//chiamo il metodo per la scelta del colore nella classe Player\n\t\t\tif(giocatoreTemp.getMiaPartita() == this)\n\t\t\t\tgiocatoreTemp.scegliColore(tempoSceltaColore, coloriDisponibili);\n\t\t\tattendiSceltaColore();\n\t\t\tcoloreTemp = this.coloreScelto;\n\t\t\t//se mi ritorna null significa che non ha scelto nulla, quindi glielo assegno io di default\n\t\t\tif(coloreTemp == null || coloreTemp == Colori.NEUTRO){\n\t\t\t\tcoloreTemp = coloriDisponibili.get(0); //scelgo il primo nella lista (l'utente non aveva scelto in tempo)\n\t\t\t}\n\t\t\tcoloriDisponibili.remove(coloreTemp);\n\t\t\tthis.coloriInOrdine.add(coloreTemp);\n\t\t\tgiocatoreTemp.setColoreGiocatore(coloreTemp);\n\t\t\tthis.coloreScelto = Colori.NEUTRO;\n\t\t}\n\t}", "title": "" }, { "docid": "0a38d71f7009bcf84efcc5676cdb2fb2", "score": "0.5621696", "text": "private void setColourForEachBit(String error){\n String tmp = inputData.getText();\n\n /*if(!error.equals(tmp)){\n tmp = error;\n }*/\n\n StyledDocument doc = outputData.getStyledDocument(); //wyjscie dla calosci - kolor\n StyledDocument doc_disk1 = disk1.getStyledDocument(); //wyjscie dla dysku 1 - kolor\n StyledDocument doc_disk2 = disk2.getStyledDocument(); //wyjscie dla dysku 2 - kolor\n\n Style style = outputData.addStyle(\"Red coloured text\", null);\n Style style_disk1 = disk1.addStyle(\"Red coloured tex\", null);\n Style style_disk2 = disk2.addStyle(\"Red coloured te\", null);\n StyleConstants.setBackground(style, Color.red);\n StyleConstants.setBackground(style_disk1, Color.red);\n StyleConstants.setBackground(style_disk2, Color.red);\n\n Style style2 = outputData.addStyle(\"Black coloured text\", null);\n Style style2_disk1 = disk1.addStyle(\"Black coloured tex\", null);\n Style style2_disk2 = disk2.addStyle(\"Black coloured te\", null);\n StyleConstants.setBackground(style2, Color.white);\n StyleConstants.setBackground(style2_disk1, Color.white);\n StyleConstants.setBackground(style2_disk2, Color.white);\n\n int j = 0;\n int k = 0;\n for(int i=0; i<error.length(); i++) {\n if(inputData.getText().charAt(i) != error.charAt(i)){\n try {\n doc.insertString(i, String.valueOf(tmp.charAt(i)), style);\n if(i % 2 == 0){ //dla dysku 1\n doc_disk1.insertString(j++, String.valueOf(tmp.charAt(i)), style_disk1);\n } else { //dla dysku 2\n doc_disk2.insertString(k++, String.valueOf(tmp.charAt(i)), style_disk2);\n }\n } catch (BadLocationException e) {\n e.printStackTrace();\n }\n } else {\n try {\n doc.insertString(i, String.valueOf(tmp.charAt(i)), style2);\n if(i % 2 == 0){ //dla dysku 1\n doc_disk1.insertString(j++, String.valueOf(tmp.charAt(i)), style2_disk1);\n } else { //dla dysku 2\n doc_disk2.insertString(k++, String.valueOf(tmp.charAt(i)), style2_disk2);\n }\n } catch (BadLocationException e) {\n //e.printStackTrace();\n }\n }\n }\n }", "title": "" }, { "docid": "b79534f768ddf7bf2a7691863914826f", "score": "0.5619145", "text": "private void dibujarClases() {\n java.awt.Graphics g = jPanel1.getGraphics();\n g.setColor(Color.BLACK);\n for(Coordenadas par:objectKM.getClases()){\n //System.out.println(par.toString());\n g.fillOval(par.getX(), par.getY(), 5, 5);\n \n }\n }", "title": "" }, { "docid": "005d4eaa8fe542a2492e46ab7c7d80ef", "score": "0.5613007", "text": "private void dibujodePieza(Graphics rtx) {\n rtx.setColor(colores[pieza]);\r\n for (Point p: puntos[pieza][rotacion]) {\r\n rtx.fillRect((pt.x + p.x)*26, (pt.y + p.y)*26, 25, 25);\r\n }\r\n }", "title": "" }, { "docid": "73140a026c940d7b035e4c7da3fb4bb8", "score": "0.5610224", "text": "private List<Color> color(int n) {\n\t\tList<Color> colors = new ArrayList<Color>();\n\t\tcolors.addAll(Arrays.asList(Color.red, Color.green, Color.blue,new Color(148, 0, 211), new Color(135, 51, 36), Color.gray, Color.pink, new Color(175, 255, 225), new Color(130, 175, 190),\n\t\t\t\tColor.yellow, Color.cyan, new Color(46, 139, 87)));\n\t\treturn colors;\n\t}", "title": "" }, { "docid": "e192fcd2335cdb44c7521c514963898b", "score": "0.5606504", "text": "private void llenarCasillasLibres(){\r\n\t\tint capaID = mapa.getLayerIndex(\"collision\");\r\n\t\tfor(int i = 0;i < altoEnTiles;i++){\r\n\t\t\tfor(int j = 0;j < anchoEnTiles;j++){\r\n\t\t\t\tint tileID = mapa.getTileId(j, i, capaID);\r\n\t\t\t\tif(tileID != 0){\r\n\t\t\t\t\tcasillasLibres[i][j] = false;\r\n\t\t\t\t\tresistenciaCasillas[i][j] = 2;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tcasillasLibres[i][j] = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "69056678db5bc1394b3bd4bd550d9e46", "score": "0.5605862", "text": "public LinkedList<JLabel> generarColoresCola(){\n\t\tLinkedList<Colores> cola= this.dato.generarCola();\n\t\tLinkedList<JLabel> colaVista= new LinkedList<JLabel>();\n\t\tfor (Iterator iterator = cola.iterator(); iterator.hasNext();) {\n\t\t\tColores color = (Colores) iterator.next();\n\t\t\tJLabel colorVista= new JLabel();\n\t\t\tcolorVista.setBackground(color.getColor());\n\t\t}\n\t\treturn colaVista;\n\t}", "title": "" }, { "docid": "c3ccaca7e92b67e5167135688b5c4469", "score": "0.5590347", "text": "public void paintAbsValColorWheel() {\r\n\t\tColor c;\r\n\t\tfloat gammaInv= 1/gamma;\r\n\t\tfor(int r=r6;r>=0;r-=1) {\r\n\t\t\tint arcw = 2*r;\r\n\t\t\tint arch = 2*r;\r\n\t\t\tint x = r6-arcw/2;\r\n\t\t\tint y = r6-arch/2;\r\n\t\t\tdouble ang = r/(r6*Math.sqrt(2));\r\n\t\t\tdouble theta = 2 * Math.asin(ang);\r\n\t\t\tfor(int angle=0;angle<=360;angle++) {\r\n\t\t\t\tfloat phi = angle * ((float)Math.PI/180);\r\n\t\t\t\tfloat red = (Math.abs((float)Math.sin(theta) * (float)Math.cos(phi)));\r\n\t\t\t\tfloat green = (Math.abs((float)Math.sin(theta) * (float)Math.sin(phi)));\r\n\t\t\t\tfloat blue = (Math.abs((float)Math.cos(theta)));\r\n\t\t\t\t\r\n\t\t\t\t//shift blue\r\n\t\t\t\tblueShiftColors = shiftBlue(red,green,blue);\r\n\t\t\t\tred = blueShiftColors[0];\r\n\t\t\t\tgreen = blueShiftColors[1];\r\n\t\t\t\tblue = blueShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//shift red\r\n\t\t\t\tredShiftColors = shiftRed(red,green,blue);\r\n\t\t\t\tred = redShiftColors[0];\r\n\t\t\t\tgreen = redShiftColors[1];\r\n\t\t\t\tblue = redShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//adjust green\r\n\t\t\t\tgreenAdjColors = adjustGreen(red,green,blue);\r\n\t\t\t\tred = greenAdjColors[0];\r\n\t\t\t\tgreen = greenAdjColors[1];\r\n\t\t\t\tblue = greenAdjColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//gamma correction\r\n\t\t\t\tred = (float)Math.pow(red,gammaInv);\r\n\t\t\t\tgreen = (float)Math.pow(green,gammaInv);\r\n\t\t\t\tblue = (float)Math.pow(blue,gammaInv);\r\n\t\t\t\t\r\n\t\t\t\tc = new Color(red,green,blue);\r\n\t\t\t\toffGraphics.setColor(c);\r\n\t\t\t\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "723a8ec67f4db33a8e034c469478e8a1", "score": "0.55754215", "text": "public void marque(int[] t){\r\n for(int i=0; i<3;i++){\r\n tab[t[i]].setBackground(Color.BLUE);\r\n }\r\n }", "title": "" }, { "docid": "6db2f64de3cdf72fa56d84ab37898f07", "score": "0.5555727", "text": "public static void colorTiles(){\n Tile current = redStart;\n int counter = 3;\n do{\n if(counter%4==0) current.setColor(\"red\");\n if(counter%4==1) current.setColor(\"yellow\");\n if(counter%4==2) current.setColor(\"blue\");\n if(counter%4==3) current.setColor(\"green\");\n counter++;\n current=current.getNextTile();\n } while(current!=redStart);\n }", "title": "" }, { "docid": "11babe0ec73696a831aad60e36195fbc", "score": "0.55533093", "text": "private void build()\n\t\t{\n\t\tfor(int i = 0; i < resX; i++)\n\t\t\t{\n\t\t\tfor(int j = 0; j < resY; j++)\n\t\t\t\t{\n\t\t\t\tfor(int k = 0; k < resZ; k++)\n\t\t\t\t\t{\n\t\t\t\t\tvertices[i][j][k] = initialColor.cloneOf();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "dba9c3faed4c9f74879aa2ab10ee8575", "score": "0.55530846", "text": "private static void test1(){\n StringBuilder red = new StringBuilder();\n StringBuilder blue = new StringBuilder();\n StringBuilder green = new StringBuilder();\n StringBuilder yellow = new StringBuilder();\n StringBuilder purple = new StringBuilder();\n StringBuilder cyan = new StringBuilder();\n StringBuilder grey = new StringBuilder();\n \n for(int i = 0; i < 255; i += 5){\n \tred.append(Colors.foreground(i, 0, 0)).append(\"█\");\n green.append(Colors.foreground(0, i, 0)).append(\"█\");\n blue.append(Colors.foreground(0, 0, i)).append(\"█\");\n yellow.append(Colors.foreground(i, i, 0)).append(\"█\");\n purple.append(Colors.foreground(i, 0, i)).append(\"█\");\n cyan.append(Colors.foreground(0, i, i)).append(\"█\");\n grey.append(Colors.foreground(i, i, i)).append(\"█\");\n }\n System.out.println(red + Colors.RESET_ALL);\n System.out.println(green + Colors.RESET_ALL);\n System.out.println(blue + Colors.RESET_ALL);\n System.out.println(yellow + Colors.RESET_ALL);\n System.out.println(purple + Colors.RESET_ALL);\n System.out.println(cyan + Colors.RESET_ALL);\n System.out.println(grey + Colors.RESET_ALL);\n\t}", "title": "" }, { "docid": "5195e1c7354dda664c89026a2c071b0f", "score": "0.5551804", "text": "private void colorShiftingUtil(){\n if (currClothingPiece.equals(\"shirt\")){\n currShirtColor = shirtColors.peek();\n mainFragment.changeColorShirt(currShirtColor);\n } else {\n currPantColor = pantsColors.peek();\n mainFragment.changeColorPant(currPantColor);\n }\n }", "title": "" }, { "docid": "a15eee651451ce4d632ac7c4a73596f5", "score": "0.55466574", "text": "public void dibujarTablero() {\n int id = 0;\n int color;\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n color = getColorId(getColor(sharedPreferences));\n \n\n for (int i = 0; i < Game.NFILAS; i++)\n for (int j = 0; j < Game.NCOLUMNAS; j++) {\n \t if(game.devolverCasilla(i,j)==Game.MAQUINA){\n \t\t id = R.color.yellow;\n \t }\n \t else if(game.devolverCasilla(i,j) == Game.JUGADOR){\n \t\t id = color;\n \t }\n \t else{\n \t\t id = R.color.light_blue;\n \t }\n ImageButton imageButton = (ImageButton) findViewById(ids[i][j]);\n GradientDrawable drawable = (GradientDrawable) imageButton.getDrawable();\n drawable.setColor(getResources().getColor(id));\n }\n }", "title": "" }, { "docid": "9c4847eb110c5c15f3bd8c4fe57edf7a", "score": "0.5531877", "text": "private void init() {\n tablero= new Color[a][b];\r\n for (int i = 0; i < a; i++) {\r\n for (int j = 0; j < b-1; j++) {\r\n if(i== 0 || i== a-1 || j== b-2) {\r\n tablero[i][j]= Color.DARK_GRAY;\r\n } else {\r\n tablero[i][j]= Color.BLACK;\r\n }\r\n }\r\n }\r\n nuevapieza();\r\n }", "title": "" }, { "docid": "856504fb2a1a1c43d372eb1ba497df32", "score": "0.55165225", "text": "public static String cortarRed (){\n String partRed = \"\";\n\n int as;\n int ass;\n for (int i = 0; i < 4; i++) {\n as=Red.get(i);\n ass=ipe.get(i);\n System.out.println(\"reddddddddd: \"+ Red);\n System.out.println(\"ipppppppppp: \"+ ipe);\n System.out.println(\"igualllllll: \"+ (as==ass));\n\n if (Red.get(i).equals(ipe.get(i))) {\n partRed += Integer.toString(ipe.get(i));\n if (i < 3) partRed += \".\";\n ///\n }else{\n partHost += Integer.toString(ipe.get(i));\n if (i < 3) partHost += \".\";\n }\n\n }\n return partRed;\n }", "title": "" }, { "docid": "d6cc5d3456ba9ef39d3f69477fe2aa0b", "score": "0.5514636", "text": "public void puntos(){\n int image=1;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.verde);\n drawPixel(px[1][i],py[1][i],cs.rosa);\n drawPixel(px[2][i],py[2][i],cs.amarillo);\n drawPixel(px[3][i],py[3][i],cs.rojo);\n drawPixel(px[4][i],py[4][i],cs.cafe);\n }\n estrellas[image] = bullet;\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\n image++;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.amarillo);\n drawPixel(px[1][i],py[1][i],cs.cafe);\n drawPixel(px[2][i],py[2][i],cs.rojo);\n drawPixel(px[3][i],py[3][i],cs.rosa);\n drawPixel(px[4][i],py[4][i],cs.verde);\n }\n estrellas[image] = bullet;\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\n image++;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.rosa);\n drawPixel(px[1][i],py[1][i],cs.rojo);\n drawPixel(px[2][i],py[2][i],cs.verde);\n drawPixel(px[3][i],py[3][i],cs.amarillo);\n drawPixel(px[4][i],py[4][i],cs.cafe);\n }\n estrellas[image] = bullet;\n bullet = new BufferedImage(700,700, BufferedImage.TYPE_INT_ARGB);\n image++;\n for (int i=0; i<2000; i++) {\n drawPixel(px[0][i],py[0][i],cs.amarillo);\n drawPixel(px[1][i],py[1][i],cs.rosa);\n drawPixel(px[2][i],py[2][i],cs.cafe);\n drawPixel(px[3][i],py[3][i],cs.rojo);\n drawPixel(px[4][i],py[4][i],cs.verde);\n }\n estrellas[image] = bullet;\n px = new int[1][1];\n py = new int[1][1];\n }", "title": "" }, { "docid": "d4767c5877e16cd3e06cd843aeb976ef", "score": "0.550497", "text": "private Color trocaCor() {\r\n\t\tif (cor.equals(Color.WHITE)) cor = Color.BLACK;\r\n\t\telse if (cor.equals(Color.BLACK)) cor = Color.WHITE; \r\n\t\treturn cor;\r\n\t}", "title": "" }, { "docid": "f2f3f07196e8f56b91c6ca9111aa90f9", "score": "0.5502221", "text": "static void crearcolasvic() {\n\t\t int a = movs.size();\n\t\t int n = a-1; //indice del tablero final (ganador)\n\t\t while (n != -1){ //hasta llegar al primer tablero\n\t\t movsvic.add(movs.get(n)); //agregar movimiento\n\t\t colavic.add(cola.get(n)); //agregar tablero\n\t\t n = back.get(n); //retroceder al movimiento anterior\n\t\t }\n\t\t }", "title": "" }, { "docid": "389393f36acfaba26ea904980d2e86ec", "score": "0.54996467", "text": "public void tirarHuevo() {\r\n\t\tboolean ingresado = false;\r\n\t\tHuevo huevo = new Huevo();\r\n\t\twhile (!ingresado) {\r\n\t\t\tint k = Utiles.leerNumeros(\"Ingrese coordenada x(vertical):\" , \"sinlinea\");\r\n\t\t\tint j = Utiles.leerNumeros(\"Ingrese coordenada y(horizontal):\" , \"sinlinea\");\r\n\t\t\tif (k >=0 && k <14 && j >= 0 && j < 14) {\r\n\t\t\thuevo.setX(k);\r\n\t\t\thuevo.setY(j);\r\n\t\t\tingresado = true;\r\n\t\t\t}else {\r\n\t\t\t\tUtiles.escribir(\"coordenadas invalidas. Trate con numeros entre 0 y 14\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tString objImpactado = verificaImpacto(huevo.getX(), huevo.getY());\r\n\t\ttablero[huevo.getX()][huevo.getY()] = huevo.getCodigo(); // pone letra en tablero\r\n\t\ttiros.add(huevo); // agrega huevo a arrayList de tiros\r\n\t\tmarcador.setIntentos(marcador.getIntentos() + 1); // incrementa numero intentos\r\n\t\tif (objImpactado.equals(\"Trupalla\")) {\r\n\t\t\tfor (Carro carro : carros) {\r\n\t\t\t\tfor (Posicion posicion : carro.posiciones) {\r\n\t\t\t\t\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\r\n\t\t\t\t\t\tcarro.setVida(carro.getVida() - 1);\r\n\t\t\t\t\t\tif (carro.getVida() == 0) {\r\n\t\t\t\t\t\t\tint puntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 1);\r\n\t\t\t\t\t\t\thuevo.setPuntaje(1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (objImpactado.equals(\"Caguano\")) {\r\n\t\t\tfor (Carro carro : carros) {\r\n\t\t\t\tfor (Posicion posicion : carro.posiciones) {\r\n\t\t\t\t\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\r\n\t\t\t\t\t\tcarro.setVida(carro.getVida() - 1);\r\n\t\t\t\t\t\tint puntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 2);\r\n\t\t\t\t\t\thuevo.setPuntaje(2);\r\n\t\t\t\t\t\tif (carro.getVida() == 0) {\r\n\t\t\t\t\t\t\tUtiles.escribir(\"Caguano destruido!!! +7pts\");\r\n\t\t\t\t\t\t\tpuntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 7);\r\n\t\t\t\t\t\t\thuevo.setPuntaje(2 + 7);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (objImpactado.equals(\"Kromi\")) {\r\n\t\t\tfor (Carro carro : carros) {\r\n\t\t\t\tfor (Posicion posicion : carro.posiciones) {\r\n\t\t\t\t\tif (huevo.getX() == posicion.getX() && huevo.getY() == posicion.getY()) {\r\n\t\t\t\t\t\tcarro.setVida(carro.getVida() - 1);\r\n\t\t\t\t\t\tint puntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 3);\r\n\t\t\t\t\t\thuevo.setPuntaje(3);\r\n\t\t\t\t\t\tif (carro.getVida() == 0) {\r\n\t\t\t\t\t\t\tpuntaje = marcador.getPuntaje();\r\n\t\t\t\t\t\t\tUtiles.escribir(\"Kromi destruida!!! +10pts\");\r\n\t\t\t\t\t\t\tmarcador.setPuntaje(puntaje + 10);\r\n\t\t\t\t\t\t\thuevo.setPuntaje(3 + 10);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (marcador.getPuntaje() >= PUNTAJE_MAXIMO) {\r\n\t\t\tUtiles.escribir(\"FELICITACIONES GANASTE\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "517501da0d284faa2e9d096f3fb7db9f", "score": "0.54960704", "text": "private static Mat drawPintura(Mat webcam_image, int[][] connectCompon) {\n\t\t\n\t\tfor(int i = 0; i < webcam_image.rows(); i++)\n\t\t\tfor(int j = 0; j < webcam_image.cols(); j++) {\n\t\t\t\tdouble color[] = pintura.get(i, j);\n\t\t\t\tif(color[0] != 255 && color[1] != 255 && color[2] != 255) {\n\t\t\t\t\t\n\t\t\t\t\tif(connectCompon[i][j] == 1) {\n\t\t\t\t\t\tif(i == 0 || j == 0 || i == webcam_image.rows()-1 || j == webcam_image.cols()-1 ) {\n\t\t\t\t\t\t\twebcam_image.put(i, j, new double[]{0,0,0});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(connectCompon[i-1][j] == 0 || connectCompon[i+1][j] == 0 || connectCompon[i][j-1] == 0 || connectCompon[i][j+1] == 0) {\n\t\t\t\t\t\t\twebcam_image.put(i, j, new double[]{0,0,0});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\twebcam_image.put(i, j, new double[]{color[2], color[1], color[0]});\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t\twebcam_image.put(i, j, new double[]{color[2], color[1], color[0]});\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\treturn webcam_image;\n\t}", "title": "" }, { "docid": "8a1951df23a400419deb9c906e25c711", "score": "0.54927754", "text": "private void setColor(int i, int j, int k) {\n\t\t\n\t}", "title": "" }, { "docid": "b4278fbfca5e4ce1fc63b0bdc9703f96", "score": "0.5488188", "text": "public CouleurS(Color coul) {\n\t\tr= ((float)coul.getRed())/255;\n\t\tb= ((float)coul.getBlue())/255;\n\t\tg= ((float)coul.getGreen())/255;\n\t}", "title": "" }, { "docid": "3ba1a1a2016c1d44b4bc3cdcd7ee4acc", "score": "0.54833746", "text": "private void changeStyleColor(int i){\n if (currClothingPiece.equals(\"shirt\")) {\n currShirtColor = i;\n shirtColors.push(currShirtColor);\n mainFragment.changeColorShirt(i);\n } else {\n currPantColor = i;\n pantsColors.push(currPantColor);\n mainFragment.changeColorPant(i);\n }\n }", "title": "" }, { "docid": "a516c203e1cde363e6e14c149797de4d", "score": "0.54766124", "text": "void removeColour(int i){if (domain[i]){saturation++; domain[i] = false;}}", "title": "" }, { "docid": "069cff94367e882b235cf1a8f7f4e9ff", "score": "0.54736215", "text": "private void initBackgroundColour() {\n final float maxColour = 255f;\n final float x = 149f / maxColour;\n final float y = 221f / maxColour;\n final float z = 226f / maxColour;\n cBackgroundColour = new Vector3f(x, y, z);\n }", "title": "" }, { "docid": "0bd3d5c2ffdbcf3f1b9edc48828d6bef", "score": "0.54578006", "text": "public void automata() {\n\t\tfor (int y = 0; y < 510; y++) {\r\n\t\t\tfor (int x = 0; x < 255; x++) {\r\n\t\t\t\t// se limita que el eje x tiene que ser menor a 2\r\n\t\t\t\tif (x < 255) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tint j = 0, k = 0, l = 0;\r\n\t\t\t\t\t// junto con la variable x, las variables j, k son sus\r\n\t\t\t\t\t// consecutivas.La variable L corresponde a la misma columna\r\n\t\t\t\t\t// de J pero de la siguiente fila\r\n\t\t\t\t\tj = x + 1;\r\n\t\t\t\t\tk = x + 2;\r\n\t\t\t\t\tl = y + 1;\r\n\t\t\t\t\t// se le asigna un nuevo valor a la posicion de la nueva\r\n\t\t\t\t\t// fila, que ser igual al resultado que arroje como\r\n\t\t\t\t\t// resultado de la regla de 3 numeros de la fila anterior\r\n\t\t\t\t\tmatriz[l][j] = getCasilla(matriz[y][x], matriz[y][j],\r\n\t\t\t\t\t\t\tmatriz[y][k]);\r\n\t\t\t\t\t//en caso excepcional para los ultimos terminos (cierre de anillo), se ocupa esta alternativa de llenado\r\n\t\t\t\t} else if (x >= 255) {\r\n\t\t\t\t\tint l = 0;\r\n\t\t\t\t\tl = y + 1;\r\n\t\t\t\t\tmatriz[l][256] = getCasilla(matriz[y][256], matriz[y][256],\r\n\t\t\t\t\t\t\tmatriz[y][0]);\r\n\t\t\t\t\tmatriz[l][0] = getCasilla(matriz[y][256], matriz[y][0],\r\n\t\t\t\t\t\t\tmatriz[y][1]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "62c2470dc93b732048be72a00cc5aae4", "score": "0.5454101", "text": "public void cicloPersonaDos() {\n while (true) {\n int pasoActual = avanzar(2);\n if (pasoActual >= 66) {\n color.setPosicionActualP2(66);\n synchronized (color) {\n color.notifyAll();\n }\n break;\n }\n }\n }", "title": "" }, { "docid": "342c4944cc0219db7ed68801cf635705", "score": "0.5452998", "text": "public Figurs() {\n just4color = new Paint();\n just4color.setColor(Color.BLUE);\n colors.put(\"pink\", \"#E13D63\");\n colors.put(\"fiol\", \"#964CE1\");\n colors.put(\"lblue\", \"#10E0BC\");\n colors.put(\"yellow\", \"#FFF105\");\n\n int_colors.put(\"pink\", Color.parseColor(\"#E13D63\"));\n int_colors.put(\"fiol\", Color.parseColor(\"#964CE1\"));\n int_colors.put(\"lblue\", Color.parseColor(\"#10E0BC\"));\n int_colors.put(\"yellow\", Color.parseColor(\"#FFF105\"));\n }", "title": "" }, { "docid": "67f95758a05a2d4d392625673c4b3311", "score": "0.5450678", "text": "private void colorcitoBoton() {\n\t\tvolver.setBackground(colorBoton);\n\t}", "title": "" }, { "docid": "5bf512930e1833369fd2df47551d78a6", "score": "0.54489493", "text": "@Override\r\n\tpublic void pintarPieza(String color, String nombre) {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "45e4f9299473933b5a19e1c726a320d4", "score": "0.5445277", "text": "public static void main (String[] args) throws IOException {\n\n\t\tFile file = new File(args[0]);\n\n\t\tBufferedReader buffer = new BufferedReader(new FileReader(file));\n\t\tString line,rgbRaw,\n\t\tresult = new String();\n\t\tStringTokenizer token;\n\t\tint[] pixleColor = new int[3];\n\t\tint count, base,\n\t\trow = 0,\n\t\tprevious = 0,\n\t\tblock = 16,\n\t\twidth = 256/block,\n\t\tcolor = 0;\n\n\t\twhile ((line = buffer.readLine()) != null) {\n\t\t\tline = line.trim();\n\t\t\t//System.out.println(line);\n\t\t\ttoken = new StringTokenizer(line);\n\t\t\tif(line.charAt(0) != '#'){\n\t\t\t\trow = Integer.parseInt(token.nextToken(\":\").split(\",\")[1]);\n\t\t\t\t//System.out.println(row);\n\t\t\t\t//If the row is different form previous, print out result and start new line\n\t\t\t\tif(row != previous){\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\t\tresult = new String();\n\t\t\t\t}\n\t\t\t\t//Get Current color\n\t\t\t\ttoken.nextToken(\"#\");\n\t\t\t\trgbRaw = token.nextToken(\" \").substring(1);\n\t\t\t\t//System.out.println(rgbRaw);\n\t\t\t\t//Split Color in to components\n\t\t\t\tfor(count = 0; count < 3; count++){\n\t\t\t\t\tpixleColor[count] = Integer.parseInt(rgbRaw.substring(count*2,count*2+2), 16); \n\t\t\t\t\tpixleColor[count] /= width;\n\t\t\t\t}\n\t\t\t\tcolor = 0;\n\t\t\t\tbase = block*block;\n\t\t\t\tfor(int i: pixleColor){\n\t\t\t\t\tcolor += i* base;\n\t\t\t\t\tbase /= block;\n\t\t\t\t}\n\t\t\t\t//System.out.println(Arrays.toString(pixleColor));\n\t\t\t\t//System.out.println(color);\n\t\t\t\tresult += \"[\"+ Integer.toHexString(color)+ \"]\";\n\t\t\t\t//current now becomes previous\n\t\t\t\tprevious = row;\n\n\t\t\t}\n\n\t\t}\n\t}", "title": "" }, { "docid": "7de8b3328a422dcf0c7f2720bb5c6280", "score": "0.54446715", "text": "private void setColorData() {\n \t\tColorRGBA[] color = new ColorRGBA[16];\n \t\tfor (int i = 0; i < color.length; i++) {\n \t\t\tcolor[i] = new ColorRGBA(1, 1, 1, 1);\n \t\t}\n \t\tsetColors(color);\n \t}", "title": "" }, { "docid": "075fe68826b44cb161d95335870979f4", "score": "0.54413426", "text": "private void ciclo() {\n\t\tcomprobarSiSiguientePieza();\n\t\tpiezaActual.cae();\n\t\tif (estadoJuego==1) miTablero.dibujaPieza(piezaActual);\n\t}", "title": "" }, { "docid": "e15f31e1b2e4cd9f666efa03a6c8365a", "score": "0.5437145", "text": "public void paintNoSymmColorWheel() {\r\n\t\tColor c;\r\n\t\tfloat gammaInv= 1/gamma;\r\n\t\tfloat rotConst = 1/360f;\r\n\t\tfloat normConst = 1/255f;\r\n\t\tdouble piDiv2 = Math.PI/2.0d;\r\n\t\tdouble sinConst = 1/Math.sin(pS * piDiv2);\r\n\t\tfor(int r=r6;r>=0;r-=1) {\r\n\t\t\tint arcw = 2*r;\r\n\t\t\tint arch = 2*r;\r\n\t\t\tint x = r6-arcw/2;\r\n\t\t\tint y = r6-arch/2;\r\n\t\t\tdouble ang = r/(r6*Math.sqrt(2));\r\n\t\t\tdouble theta = 2 * Math.asin(ang);\r\n\t\t\tif(pS < .001) {\r\n\t\t\t\tpS = .001f;\r\n\t\t\t}\r\n\t\t\tfloat sat = (float)(Math.sin(pS*theta) * sinConst); \r\n\t\t\t\r\n\t\t\tint hueAngle = 360;\r\n\t\t\tfor(int angle=0;angle<=360;angle++) {\r\n\t\t\t\tfloat hue = ((hueAngle + 90 + 360)%360) * rotConst;\r\n\t\t\t\tc = Color.getHSBColor(hue, sat, 1f);\r\n\t\t\t\t\r\n\t\t\t\tfloat red = c.getRed() * normConst;\r\n\t\t\t\tfloat green = c.getGreen() * normConst;\r\n\t\t\t\tfloat blue = c.getBlue() * normConst;\r\n\r\n\t\t\t\t//blue shift\r\n\t\t\t\tblueShiftColors = shiftBlue(red,green,blue);\r\n\t\t\t\tred = blueShiftColors[0];\r\n\t\t\t\tgreen = blueShiftColors[1];\r\n\t\t\t\tblue = blueShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//shift red\r\n\t\t\t\tredShiftColors = shiftRed(red,green,blue);\r\n\t\t\t\tred = redShiftColors[0];\r\n\t\t\t\tgreen = redShiftColors[1];\r\n\t\t\t\tblue = redShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//adjust green\r\n\t\t\t\tgreenAdjColors = adjustGreen(red,green,blue);\r\n\t\t\t\tred = greenAdjColors[0];\r\n\t\t\t\tgreen = greenAdjColors[1];\r\n\t\t\t\tblue = greenAdjColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//gamma correction\r\n\t\t\t\tred = (float)Math.pow(red,gammaInv);\r\n\t\t\t\tgreen = (float)Math.pow(green,gammaInv);\r\n\t\t\t\tblue = (float)Math.pow(blue,gammaInv);\r\n\t\t\t\t\r\n\t\t\t\tc = new Color(red,green,blue);\r\n\t\t\t\toffGraphics.setColor(c);\r\n\r\n\t\t\t\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\r\n\t\t\t\thueAngle--;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "403695f1641a38f4b2227dd60aaeaecd", "score": "0.5435375", "text": "private static Paint m31332a(int i) {\n Paint paint = new Paint();\n paint.setColor(i);\n return paint;\n }", "title": "" }, { "docid": "34811dbf194bc87c46ce5d87e0e8f5dc", "score": "0.5419929", "text": "public void pattern3(){\n\t\tnoStroke();\n\t\tfill(random(0,255), random(0,255), random(0,255),10);\n\t\t/* alter the width size */\n\t\tfloat widthDistance = abs(width/2 - xCo) * 0.4f ;\n\t\tellipse(xCo, yCo, widthDistance, widthDistance);\n\t}", "title": "" }, { "docid": "9c4a22ca26b017c437259a90b89ba5a4", "score": "0.5419866", "text": "public void ColorUtility() {\n String code;\r\n for (int i=0;i<=16;i++) {\r\n for (int j = 0; j <= 16; j++) {\r\n //public static final String ANSI_BOLD = \"\\u001B[1m\";\r\n code = Integer.toString((i * 16 + j));\r\n pageHelper.UpdateTestResults( \"Code u001b[\" + code + \"m = \" + \"\\u001b[\" + code + \"m\");\r\n //sys.stdout.write(u\"\\u001b[48;5;\" + code + \"m \" + code.ljust(4))\r\n //print u \"\\u001b[0m\"\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c51c8ac93ec3e1da5e0e657470f5478b", "score": "0.54181933", "text": "public void colorizeCP(String pu){\n char[] array =pu.toCharArray();\n if(pu.equals(\"empty\")) {\n System.out.print(\" \");\n return;\n }\n for(char c:array){\n switch(Character.toString(c)){\n case \"R\":\n pu=RED_AMMO;\n break;\n case \"B\":\n pu=BLUE_AMMO;\n break;\n case \"Y\":\n pu=YELLOW_AMMO;\n break;\n case \"P\":\n pu=PU_AMMO;\n break;\n }\n System.out.print(pu);\n\n }\n }", "title": "" }, { "docid": "d88e850dc0c6314edba66e3f170c9737", "score": "0.5415812", "text": "public void entrarColorPila(Colores color){\n\t\tint aleatorio= (int)(Math.random()*2);\n\t\t\n\t\tif(aleatorio==0){\n\t\t\tColores colorParcial=dato.getPilaUno().desApilarBlanco();\n\t\t\tentrarColorLista(colorParcial);\n\t\t\tdato.getPilaUno().apilar(color);\n\t\t\t}\n\t\telse{\n\t\t\tColores colorParcial=dato.getPilaDos().desApilarBlanco();\n\t\t\tentrarColorLista(colorParcial);\n\t\t\tdato.getPilaDos().apilar(color);\n\t\t}\t\n\t}", "title": "" }, { "docid": "4e24f36e01f213d4b3280ac17037f3da", "score": "0.5405502", "text": "public AmmoCubes() {\n this.red = 0;\n this.blue = 0;\n this.yellow = 0;\n }", "title": "" }, { "docid": "79aced5c2f3bc568fa3ee8d0938049f9", "score": "0.5401982", "text": "private Color GetColorOfID(int i, int a)\n {\n if(i==0) {return new Color(15, 0, 255, a);}\n else if(i==1) {return new Color(204, 0, 0, a);}\n else if(i==2) {return new Color(51, 255, 0, a);}\n else if(i==3) {return new Color(254, 255, 0, a);}\n else if(i==4) {return new Color(255,102,204, a);}\n else if(i==5) {return new Color(51,102,0, a);}\n else if(i==6) {return new Color(255,52,153, a);}\n else if(i==7) {return new Color(51,0,153, a);}\n else if(i==8) {return new Color(204,255,0, a);}\n else if(i==9) {return new Color(255,1,51, a);}\n else if(i==10) {return new Color(51,204,255, a);}\n else if(i==11) {return new Color(204,103,1, a);}\n else {return Color.LIGHT_GRAY;}\n }", "title": "" }, { "docid": "cd0ddc1aa46096e747efba99d5a7c5f4", "score": "0.53964555", "text": "public void changeCircleColor(){\r\n circleRGB[0] = 50f;\r\n circleRGB[1] = 0f;\r\n circleRGB[2] = 50f; \r\n }", "title": "" }, { "docid": "5d73914f10529f9df0af1078c17d7e52", "score": "0.5389391", "text": "private void addCrowns(JPanel p1, int n1) {\n\t\t\t\n\t\t\tJPanel crowns1 = new JPanel();\n\t\t\tcrowns1.setBackground(new Color(255,255,0));\n\t\t\tJPanel crowns2 = new JPanel();\n\t\t\tcrowns2.setBackground(new Color(255,255,0));\n\t\t\tJPanel crowns3 = new JPanel();\n\t\t\tcrowns3.setBackground(new Color(255,255,0));\n\t\t\n\t\t\tif(n1==1) {\n\t\t\t\tp1.add(crowns1);\n\t\t\t} else if(n1==2) {\n\t\t\t\tp1.add(crowns1);\n\t\t\t\tp1.add(crowns2);\n\t\t\t} else if(n1==3) {\n\t\t\t\tp1.add(crowns1);\n\t\t\t\tp1.add(crowns2);\n\t\t\t\tp1.add(crowns3);\n\t\t\t}\t\n\t\t\n\t\t\tframeR.setVisible(true);\n\t\t\t\n\t}", "title": "" }, { "docid": "2bad224d70e79cc13cff1149b4e3b80d", "score": "0.53893155", "text": "public void resetCouleur() {\n\t\tthis.vert = 0;\n\t\tthis.bleu = 0;\n\t\tthis.rouge = 0;\n\t\tthis.white = 0;\n\t\tthis.couleur = 0;\n\t}", "title": "" }, { "docid": "8928342076abad16b52018bd99a7fe33", "score": "0.538", "text": "public void botaoClicado(JButton jButton) {\n\t\t\n\t\tPosicao posicao = pegaPosicaoBotaoClicado(jButton);\n\t\tint linhaOriginal = posicao.getLinha();\n\t\tint colunaOriginal = posicao.getColuna();\n\t\tposicao.setClicado();\n\t\t\n\t\t// -L-C | -L | -L+C\n\t\t// -C | O | +C\n\t\t// +L-C | +L | +L+C\n\n\t\t//TODO tratar os cliques nas colunas e linhas das bordas\n\t\t\n\t\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal - 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal - 1][colunaOriginal + 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal][colunaOriginal - 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal][colunaOriginal + 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal - 1]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal]).getjButton().setBackground(Color.green);\n\t\t(mPosicaoArray[linhaOriginal + 1][colunaOriginal + 1]).getjButton().setBackground(Color.green);\n\n\t}", "title": "" }, { "docid": "13e169780bd401c7d1c0081bc1e76312", "score": "0.53775376", "text": "public static void iluColorsUsed() {\n iluColoursUsed();\n }", "title": "" }, { "docid": "9dca415f6e8583b6ece278530df362be", "score": "0.5374673", "text": "private void deathStar3() { \n TableColorCellRenderer render = new TableColorCellRenderer();\n this.matriz1.setDefaultRenderer(Object.class,render);\n //volver a colocar todos los strings que hay en el display para que renderer los agarre\n Grafo enemigo = (Grafo) Main.grafos.get(1);\n for(Vertice v : enemigo.vertices)\n {\n if(v.dato<=15){\n //int total = enemigo.vertices.size();\n int total = 15;\n while(total<=15&total>0)\n {\n \n if(matriz1.getModel().getValueAt(v.dato-1, total)!=null){\n String valor = String.valueOf(matriz1.getModel().getValueAt(v.dato-1, total));\n matriz1.getModel().setValueAt(valor, v.dato-1, total); \n }\n \n total--;\n }\n }\n \n }\n }", "title": "" }, { "docid": "70b2b93e1f044d9a8b06c1168838695b", "score": "0.53697443", "text": "private int[] colorify(Color original,float colPercent,\n\t\t\tColor col1, Color col2) {\n\t\tfloat originalPercent = 0.6f;// % Combining merged col1+col2 and the image color\n\t\t\n\t\tif (colPercent > 1.0f) colPercent = 1.0f;\n\t\tColor actualCol = VisualFunction.combineColorsHue(original, \n\t\t\t\t\t\t\tVisualFunction.combineColorsRGB(col1, col2, colPercent),\n\t\t\t\t\t\t\toriginalPercent);\n\t\treturn new int[] {actualCol.getRed(), actualCol.getGreen(),actualCol.getBlue()};\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ed98b5ada6c3f34d209b957a8774b460", "score": "0.5368613", "text": "private void redoColor(){\n if (canRedoColor()){\n if (currClothingPiece.equals(\"shirt\")){\n shirtColors.push(shirtColors1.pop());\n colorShiftingUtil();\n } else {\n pantsColors.push(pantsColors1.pop());\n colorShiftingUtil();\n }\n }\n }", "title": "" }, { "docid": "e6668765d9230af1267948c0b79e8901", "score": "0.5362078", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n\n if(e.getSource()==lineC)\n type=1;\n else if (e.getSource()==barC1)\n type=2;\n else if (e.getSource()==barC2)\n type=3;\n \n if(e.getSource()==grayScale){\n colorS[1]=new Color(215, 215, 215);\n colorS[2]=new Color(210, 210, 210);\n colorS[3]=new Color(204, 204, 204);\n colorS[4]=new Color(179, 179, 179);\n colorS[5]=new Color(166, 166, 166);\n colorS[6]=new Color(153, 153, 153);\n colorS[7]=new Color(192, 192, 192);\n colorS[8]=new Color(115, 115, 115);\n colorS[9]=new Color(89, 89, 89);\n colorS[10]=new Color(77, 77, 77);\n colorS[11]=new Color(64, 64, 64);\n colorS[12]=new Color(51, 51, 51);\n colorS[13]=new Color(38, 38, 38);\n colorS[14]=new Color(0, 0, 0); \n }\n else if(e.getSource()==highContrast){\n colorS[1]=new Color(0, 0, 255);\n colorS[2]=new Color(0, 255, 0);\n colorS[3]=new Color(0, 255, 255);\n colorS[4]=new Color(255, 0, 0);\n colorS[5]=new Color(255, 0, 255);\n colorS[6]=new Color(255, 255, 0);\n colorS[7]=new Color(192, 192, 192);\n colorS[8]=new Color(128, 128, 255);\n colorS[9]=new Color(128, 255, 128);\n colorS[10]=new Color(128, 255, 255);\n colorS[11]=new Color(255, 128, 128);\n colorS[12]=new Color(255, 128, 255);\n colorS[13]=new Color(255, 255, 128);\n colorS[14]=new Color(128, 128, 128);\n }\n else if(e.getSource()==rainbow){\n colorS[1]=new Color(255, 153, 255);\n colorS[2]=new Color(153, 255, 153);\n colorS[3]=new Color(255, 255, 204);\n colorS[4]=new Color(51, 153, 255);\n colorS[5]=new Color(0, 255, 255);\n colorS[6]=new Color(55, 255, 153);\n colorS[7]=new Color(255, 153, 153);\n colorS[8]=new Color(153, 153, 255);\n colorS[9]=new Color(255, 255, 153);\n colorS[10]=new Color(204, 255, 204);\n colorS[11]=new Color(102, 204, 255);\n colorS[12]=new Color(102, 153, 255);\n colorS[13]=new Color(255, 102, 102);\n colorS[14]=new Color(0, 255, 204);\n }\n else if(e.getSource()==winter){\n colorS[1]=new Color(210, 230, 255);\n colorS[2]=new Color(204, 226, 255);\n colorS[3]=new Color(179, 212, 255);\n colorS[4]=new Color(153, 197, 255);\n colorS[5]=new Color(128, 183, 255);\n colorS[6]=new Color(102, 168, 255);\n colorS[7]=new Color(77, 154, 255);\n colorS[8]=new Color(51, 139, 255);\n colorS[9]=new Color(26, 125, 255);\n colorS[10]=new Color(0, 110, 255);\n colorS[11]=new Color(0, 77, 179);\n colorS[12]=new Color(0, 44, 102);\n colorS[13]=new Color(0, 22, 51);\n colorS[14]=new Color(0, 0, 0);\n }\n \n if(e.getSource()==chartCB){\n if(showChartTitle==1)\n showChartTitle=0;\n else if(showChartTitle==0)\n showChartTitle=1;\n }\n \n else if(e.getSource()==axisCB){\n if(showAxisTitle==1)\n showAxisTitle=0;\n else if(showAxisTitle==0)\n showAxisTitle=1;\n }\n else if(e.getSource()==dataCB){\n if(showDataLabel==0)\n showDataLabel=1;\n else if(showDataLabel==1)\n showDataLabel=0;\n }\n else if(e.getSource()==legendCB){\n if(showLegend==1)\n showLegend=0;\n else if(showLegend==0)\n showLegend=1;\n }\n repaint();\n }", "title": "" }, { "docid": "55eb4ed5d6ca57514c81f24af4bf890a", "score": "0.5355963", "text": "public int changeColor() {\n\t\t\r\n\t\tif(this.currentLength <= ((double)this.maxWidth / 4.0)) {\r\n\t\t\treturn 1;\r\n\t\t} else {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "264e3f66abf01246106b7f024ee849d9", "score": "0.53512883", "text": "public static int calcularNuevoTono(int x, int y, BufferedImage bi, int[][] mascara){\n int auxR = 0, auxG = 0, auxB = 0;\n Color color = null;\n int k = 0;\n for(int i = 0 , r = x -1; i<mascara.length;i++, r++){\n for(int j = 0, c = y -1; j < mascara[0].length;j++, c++){\n if(mascara[i][j]!=0){\n try {\n int rgb = bi.getRGB(r, c);\n k++;\n color = new Color(rgb);\n auxR+= color.getRed();\n auxG+= color.getGreen();\n auxB+= color.getBlue();\n } catch (Exception e) {\n // nada de nada\n }\n }\n }\n }\n if(k!=0){\n auxR/=k;\n auxG/=k;\n auxB/=k;}\n color = new Color(auxR,auxG,auxB);\n return color.getRGB();\n }", "title": "" }, { "docid": "e313eec8c4799ca2feabc8125cac3588", "score": "0.5348093", "text": "public void onComplementaryClicked(View view)\n {\n\n TextView i_Hex = findViewById(R.id.hexadecimal);\n String i_strHex = i_Hex.getText().toString();\n hex2Rgb(i_strHex);\n Log.d(\"values\", \"i_strHex: \" + i_strHex);\n\n /*\n r = r *-1 + 255;\n g = g *-1 + 255;\n b = b *-1 + 255;\n */\n\n r = (~r) & 0xff;\n g = (~g) & 0xff;\n b = (~b) & 0xff;\n\n String f_strhex = String.format(\"#%02X%02X%02X\", r, g, b).toUpperCase();\n TextView comp = findViewById(R.id.color01);\n comp.setText(f_strhex);\n Log.d(\"values\", \"complementary: \" + f_strhex);\n\n ImageView image01 = findViewById(R.id.image01);\n image01.setBackgroundColor(Color.rgb(r, g, b));\n\n ImageView image02 = findViewById(R.id.image02);\n image02.setBackgroundColor(Color.TRANSPARENT);\n TextView color2 = findViewById(R.id.color02);\n color2.setText (\"\");\n }", "title": "" }, { "docid": "26f9a6f02582474900adda91d9237415", "score": "0.534049", "text": "public void ColorsCreation() \n {\n \t\tColor green = new Color(0x0000ff00);\n \t\tColor black = new Color(0xff00ff00);\n \t\tColor blue = new Color(0x004FFF);\n \t\tColor red = new Color(0xff0000);\n \t\tColor yellow = new Color(0xFFFF00);\n \t\tcolors.add(green);\n \t\tcolors.add(black);\n \t\tcolors.add(blue);\n \t\tcolors.add(red);\n \t\tcolors.add(yellow);\n \t\t\n }", "title": "" }, { "docid": "85629fd786883dfa623c443e5e441b8e", "score": "0.5336756", "text": "public void ColorAndDraw()\n {\n if(varrays != null && joglpane != null)\n { \t \n // First find the current frame number to access data.\n // If the controls are null, assume first frame\n int frame = 0;\n if(controls != null)\n frame =((FrameController)getControl(FRAME_CONTROL_NAME)).getFrameNumber();\n \t\t\n ((DetectorSceneFrames)joglpane.getScene()).applyColor(frame, colormodel);\n joglpane.Draw();\n \n // Since the frame has changed, the value of the currently picked point will\n // need to be changed.\n if(controls != null)\n {\n int detectorid =\n (int)((CursorOutputControl)getControl(ID_OUTPUT_NAME)).getValue(0);\n\n int pixelid = \n (int)((CursorOutputControl)getControl(ID_OUTPUT_NAME)).getValue(1);\n float value = 0;\n \n // Find the first occurence of the picked detector id and retrieve \n // the value for the picked pixel.\n for(int i = 0; i < varrays.length; i ++)\n if ( varrays[i] != null && \n ((IPhysicalArray3DList)varrays[i]).getArrayID() == detectorid )\n {\n value = ((IPhysicalArray3DList)varrays[i]).getValue(pixelid, frame);\n break;\n }\n // This sets the new value to be displayed on the control panel.\n setPixelValueOutput(value);\n }\n }\n }", "title": "" }, { "docid": "df6547f4fdde0aa6bf82640d3636b010", "score": "0.5335858", "text": "public static void setColormap(byte[] data, int startIndex, Color[] colormap)\r\n\t{\r\n\t\t// System.out.println(\"CdgLoadColortable voici la colormap de d�part\");\r\n\t\t// for (int i = 0; i < colormap.length; i++) {\r\n\t\t// System.out.println(\"cm[i] = \" + colormap[i]);\r\n\t\t// }\r\n\t\t// System.out.println(\"-------\");\r\n\r\n\t\t// data is a 16 bytes chunk, should be decoded 2 bytes by 2 bytes\r\n\t\t// Read info at the top of this file\r\n\t\tbyte lowByte, highByte;\r\n\t\tbyte red, blue, green;\r\n\r\n\t\t// We have to parse 8 colors\r\n\t\tfor (int i = 0; i < 16; i += 2)\r\n\t\t{\r\n\t\t\thighByte = data[i];\r\n\t\t\thighByte &= 0x3f;\r\n\r\n\t\t\tlowByte = data[i + 1];\r\n\t\t\tlowByte &= 0x3f;\r\n\r\n\t\t\t// Keep only 4 lower bits of the lowByte\r\n\t\t\tblue = (byte) (lowByte & 0xF);\r\n\t\t\t// Keep only bits 3, 4, 5, 6, so shift 2 bits to the right in order\r\n\t\t\t// to throw the 2 first bits away !\r\n\t\t\tred = (byte) (highByte >> 2);\r\n\t\t\tgreen = (byte) (((highByte & 0x3) * 4) + (lowByte >> 4));\r\n\r\n\t\t\t// blue, green and red are color value in the range [0-15] as they\r\n\t\t\t// are\r\n\t\t\t// coded in 4 bits. Let's turn them into \"real\" modern colors in the\r\n\t\t\t// range [0-255]. Let's multiply the [0-15] value by 255, and divide\r\n\t\t\t// by 15\r\n\t\t\t// i.e multiply by 17 !\r\n\t\t\tsetColormapElement(colormap, startIndex, i, (red * 17), (green * 17), (blue * 17));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7f11fdccf71b9ce2bcb157596b2408d5", "score": "0.5325229", "text": "int numColors()\r\n { return NUM_COLORS ; }", "title": "" }, { "docid": "2f814286db3db5c341d022c930f280fc", "score": "0.532242", "text": "private int getNextColor() {\n\t\treturn getResources().getIntArray(R.array.pieChart)[colourNumber++];\n\t}", "title": "" }, { "docid": "732a623caa30ad54916d8a39e72e0bbe", "score": "0.5317409", "text": "public void invertColors( int threads )\r\n\t{\r\n\t\tWorker[] workers = new Worker[threads];\r\n\t\tfor(int i = 0; i < workers.length; i++)\r\n\t\t{\r\n\t\t\tworkers[i] = new Worker( 'i', colorData3D, i, threads );\r\n\t\t\tworkers[i].start();\r\n\t\t}\r\n\t\t\r\n\t\tfor(int i = 0; i < workers.length; i++)\r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tworkers[i].join();\r\n\t\t\t} \r\n\t\t\tcatch (InterruptedException e) \r\n\t\t\t{\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tSystem.err.println(\"Thread Interrupted!\");\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5163dd04a3483394ceabf963ffbcb93d", "score": "0.5313295", "text": "public static void populateColors() \r\n\t{\r\n\t\tcolors.put(0,Color.WHITE); //empty tile\r\n\t\tcolors.put(2, Color.ALICEBLUE);\r\n\t\tcolors.put(4, Color.AQUA);\r\n\t\tcolors.put(8,Color.AQUAMARINE);\r\n\t\tcolors.put(16, Color.AZURE);\r\n\t\tcolors.put(32,Color.BEIGE);\r\n\t\tcolors.put(64,Color.YELLOW);\r\n\t\tcolors.put(128,Color.CADETBLUE);\r\n\t\tcolors.put(256,Color.CRIMSON);\r\n\t\tcolors.put(512,Color.DEEPPINK);\r\n\t\tcolors.put(1024,Color.DARKRED);\r\n\t\tcolors.put(2048,Color.GRAY);\r\n\t\tcolors.put(4096,Color.PALETURQUOISE);\r\n\t\tcolors.put(8192,Color.SLATEGREY);\r\n\t}", "title": "" }, { "docid": "2c1bb5b14042ec45387aa4822ed6ff2a", "score": "0.53132147", "text": "public void drawPoint2Ds(List<Correspondence_2D_2D_3D> corrs, int colour){\n for(int p=0; p<corrs.size(); p++){\n \n // Coordinates of point in unprimed image\n int[] coord_unprimed = new int[]{(int)Math.rint(corrs.get(p).p2d.x.get(0, 0)),\n (int)Math.rint(corrs.get(p).p2d.x.get(1, 0))}; \n // Coordinates of point in unprimed image\n int[] coord_primed = new int[]{(int)Math.rint(corrs.get(p).p2d_prime.x.get(0, 0)),\n (int)Math.rint(corrs.get(p).p2d_prime.x.get(1, 0))}; \n \n // Draw points in unprimed image\n Rendering.drawBorder(im_1.image, coord_unprimed, colour, 3);\n Rendering.drawBody(im_1.image, coord_unprimed, colour);\n // ...in primed image\n Rendering.drawBorder(im_2.image, coord_primed, colour, 3);\n Rendering.drawBody(im_2.image, coord_primed, colour);\n \n }\n \n }", "title": "" }, { "docid": "31c36d73487957fc7b285f4634487df1", "score": "0.5312225", "text": "public Color3f() {\n\t\n \tsuper();\n }", "title": "" }, { "docid": "440dd39d7025f6c7453b97b4c91f9eed", "score": "0.5310236", "text": "public void fadeReset(){\r\n for(int i=0; i<4; i++) {\r\n color.put(((i * 4) + 3), 1.0f);\r\n }\r\n }", "title": "" }, { "docid": "9523f2dd4755fbc38040bb72ae2a42ff", "score": "0.5310047", "text": "private static void computationalJob(short[] red, short[] green, short[] blue,\n Point3D zAxis, Point3D yAxis, Point3D xAxis, Point3D screenCorner,\n Scene scene, Point3D eye, Point3D view, Point3D viewUp,\n double horizontal, double vertical, int width, int height,\n int yMin, int yMax) {\n\n short[] rgb = new short[3];\n int offset = yMin * width;\n\n for (int y = yMin; y <= yMax; y++) {\n for (int x = 0; x < width; x++) {\n\n double xOff = ((double) x / width - 1.0) * horizontal;\n double yOff = ((double) y / height - 1.0) * vertical;\n\n Point3D screenPoint = screenCorner.sub(\n xAxis.scalarMultiply(xOff)).sub(\n yAxis.scalarMultiply(yOff));\n\n Ray ray = Ray.fromPoints(eye, screenPoint);\n\n RayIntersection closestIntersection = findClosestIntersection(ray, scene);\n\n if (closestIntersection != null) {\n\n rgb = determineColor(closestIntersection, scene, eye);\n\n } else {\n\n rgb[0] = rgb[1] = rgb[2] = 0;\n }\n\n red[offset] = rgb[0] > 255 ? 255 : rgb[0];\n green[offset] = rgb[1] > 255 ? 255 : rgb[1];\n blue[offset] = rgb[2] > 255 ? 255 : rgb[2];\n\n offset++;\n }\n }\n }", "title": "" }, { "docid": "0a6b552df7c9430cb8edabee33f0485b", "score": "0.5307124", "text": "public void paintRotationalSymmColorWheel() {\r\n\t\tColor c;\r\n\t\tfloat gammaInv= 1/gamma;\r\n\t\tfloat rotConst = 1/360f;\r\n\t\tfloat normConst = 1/255f;\r\n\t\tdouble piDiv2 = Math.PI/2.0d;\r\n\t\tdouble sinConst = 1/Math.sin(pS * piDiv2);\r\n\t\tfor(int r=r6;r>=0;r-=1) {\r\n\t\t\tint arcw = 2*r;\r\n\t\t\tint arch = 2*r;\r\n\t\t\tint x = r6-arcw/2;\r\n\t\t\tint y = r6-arch/2;\r\n\t\t\tdouble ang = r/(r6*Math.sqrt(2));\r\n\t\t\tdouble theta = 2 * Math.asin(ang);\r\n\t\t\tif(pS < .001) {\r\n\t\t\t\tpS = .001f;\r\n\t\t\t}\r\n\t\t\tfloat sat = (float)(Math.sin(pS*theta) * sinConst); \r\n\t\t\tint hueAngle = 360;\r\n\t\t\tfor(int angle=0;angle<360;angle++) {\r\n\t\t\t\t//float hue = ((2 * (angle - 90 + 360))%360)/360f;\r\n\t\t\t\tfloat hue = ((2 * (hueAngle + 90 + 360))%360) * rotConst;\r\n\t\t\t\tc = Color.getHSBColor(hue, sat, 1f);\r\n\t\t\t\t\r\n\t\t\t\tfloat red = c.getRed() * normConst;\r\n\t\t\t\tfloat green = c.getGreen() * normConst;\r\n\t\t\t\tfloat blue = c.getBlue() * normConst;\r\n\t\t\t\t\r\n\t\t\t\t//blue shift\r\n\t\t\t\tblueShiftColors = shiftBlue(red,green,blue);\r\n\t\t\t\tred = blueShiftColors[0];\r\n\t\t\t\tgreen = blueShiftColors[1];\r\n\t\t\t\tblue = blueShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//shift red\r\n\t\t\t\tredShiftColors = shiftRed(red,green,blue);\r\n\t\t\t\tred = redShiftColors[0];\r\n\t\t\t\tgreen = redShiftColors[1];\r\n\t\t\t\tblue = redShiftColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//adjust green\r\n\t\t\t\tgreenAdjColors = adjustGreen(red,green,blue);\r\n\t\t\t\tred = greenAdjColors[0];\r\n\t\t\t\tgreen = greenAdjColors[1];\r\n\t\t\t\tblue = greenAdjColors[2];\r\n\t\t\t\t\r\n\t\t\t\t//gamma correction\r\n\t\t\t\tred = (float)Math.pow(red,gammaInv);\r\n\t\t\t\tgreen = (float)Math.pow(green,gammaInv);\r\n\t\t\t\tblue = (float)Math.pow(blue,gammaInv);\r\n\t\t\t\t\r\n\t\t\t\tc = new Color(red,green,blue);\r\n\t\t\t\t\r\n\t\t\t\toffGraphics.setColor(c);\r\n\t\t\t\toffGraphics.fillArc(x, y, arcw, arch, angle, 1);\r\n\t\t\t\t\r\n\t\t\t\thueAngle--;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2d31afcd3c67679021c6b92b69860281", "score": "0.53037745", "text": "private ImageData createColorImage(Control w, RGB color) {\r\n\r\n\t\tGC gc = new GC(w);\r\n\t\tFontMetrics fm = gc.getFontMetrics();\r\n\t\tint size = fm.getAscent();\r\n\t\tgc.dispose();\r\n\r\n\t\tint indent = 6;\r\n\t\tint extent = DEFAULT_EXTENT;\r\n\t\tif (w instanceof Table) {\r\n\t\t\textent = ((Table) w).getItemHeight() - 1;\r\n\t\t} else if (w instanceof Tree) {\r\n\t\t\textent = ((Tree) w).getItemHeight() - 1;\r\n\t\t} else if (w instanceof TableTree) {\r\n\t\t\textent = ((TableTree) w).getItemHeight() - 1;\r\n\t\t}\r\n\r\n\t\tif (size > extent) {\r\n\t\t\tsize = extent;\r\n\t\t}\r\n\r\n\t\tint width = indent + size;\r\n\t\tint height = extent;\r\n\r\n\t\tint xoffset = indent;\r\n\t\tint yoffset = (height - size) / 2;\r\n\r\n\t\tRGB black = new RGB(0, 0, 0);\r\n\t\tPaletteData dataPalette = new PaletteData(new RGB[] { black, black,\r\n\t\t\t\tcolor });\r\n\t\tImageData data = new ImageData(width, height, 4, dataPalette);\r\n\t\tdata.transparentPixel = 0;\r\n\r\n\t\tint end = size - 1;\r\n\t\tfor (int y = 0; y < size; y++) {\r\n\t\t\tfor (int x = 0; x < size; x++) {\r\n\t\t\t\tif (x == 0 || y == 0 || x == end || y == end) {\r\n\t\t\t\t\tdata.setPixel(x + xoffset, y + yoffset, 1);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdata.setPixel(x + xoffset, y + yoffset, 2);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn data;\r\n\t}", "title": "" }, { "docid": "445fb60c70bcb6e71ad33da77e434220", "score": "0.5283944", "text": "public void setColor(final int i_c)\r\n\t{\r\n\t\tc = i_c;\r\n\t}", "title": "" }, { "docid": "c04a2abc0c740f7d811c413055578ec7", "score": "0.52835846", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n EligeColor = new javax.swing.JDialog();\n jColorChooser1 = new javax.swing.JColorChooser();\n botonAceptar = new javax.swing.JButton();\n botonCancelar = new javax.swing.JButton();\n Guardar = new javax.swing.JDialog();\n jFileChooser1 = new javax.swing.JFileChooser();\n lienzo = new javax.swing.JPanel();\n botonColor = new javax.swing.JButton();\n botonCirculos = new javax.swing.JButton();\n botonCuadrados = new javax.swing.JButton();\n botonTriangulo = new javax.swing.JButton();\n botonPentagono = new javax.swing.JButton();\n botonHexagono = new javax.swing.JButton();\n botonEstrella = new javax.swing.JButton();\n botonAzul = new javax.swing.JButton();\n botonAzul1 = new javax.swing.JButton();\n botonAzul2 = new javax.swing.JButton();\n botonAzul3 = new javax.swing.JButton();\n botonAzul4 = new javax.swing.JButton();\n botonAzul5 = new javax.swing.JButton();\n botonAzul6 = new javax.swing.JButton();\n botonAzul7 = new javax.swing.JButton();\n botonAzul8 = new javax.swing.JButton();\n botonAzul9 = new javax.swing.JButton();\n botonAzul10 = new javax.swing.JButton();\n botonAzul11 = new javax.swing.JButton();\n botonAzul12 = new javax.swing.JButton();\n botonAzul13 = new javax.swing.JButton();\n botonAzul14 = new javax.swing.JButton();\n botonAzul15 = new javax.swing.JButton();\n botonAzul16 = new javax.swing.JButton();\n botonAzul17 = new javax.swing.JButton();\n botonBorrar = new javax.swing.JButton();\n botonDibujoLibre = new javax.swing.JButton();\n botonLineas = new javax.swing.JButton();\n botonAgrandarTamaño = new javax.swing.JSlider();\n jCheckBox1 = new javax.swing.JCheckBox();\n jCheckBox2 = new javax.swing.JCheckBox();\n jMenuBar1 = new javax.swing.JMenuBar();\n MenuArchivo = new javax.swing.JMenu();\n MenuGuardar = new javax.swing.JMenuItem();\n menuImprimir = new javax.swing.JMenuItem();\n\n botonAceptar.setText(\"Aceptar\");\n botonAceptar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAceptarMousePressed(evt);\n }\n });\n\n botonCancelar.setText(\"Cancelar\");\n botonCancelar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonCancelarMousePressed(evt);\n }\n });\n\n javax.swing.GroupLayout EligeColorLayout = new javax.swing.GroupLayout(EligeColor.getContentPane());\n EligeColor.getContentPane().setLayout(EligeColorLayout);\n EligeColorLayout.setHorizontalGroup(\n EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, EligeColorLayout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 679, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n .addGroup(EligeColorLayout.createSequentialGroup()\n .addGap(129, 129, 129)\n .addComponent(botonAceptar)\n .addGap(195, 195, 195)\n .addComponent(botonCancelar)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n EligeColorLayout.setVerticalGroup(\n EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(EligeColorLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 351, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(EligeColorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(botonAceptar)\n .addComponent(botonCancelar))\n .addContainerGap(24, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout GuardarLayout = new javax.swing.GroupLayout(Guardar.getContentPane());\n Guardar.getContentPane().setLayout(GuardarLayout);\n GuardarLayout.setHorizontalGroup(\n GuardarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(GuardarLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jFileChooser1, javax.swing.GroupLayout.DEFAULT_SIZE, 601, Short.MAX_VALUE))\n );\n GuardarLayout.setVerticalGroup(\n GuardarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jFileChooser1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)\n );\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n lienzo.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseDragged(java.awt.event.MouseEvent evt) {\n lienzoMouseDragged(evt);\n }\n });\n lienzo.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n lienzoMousePressed(evt);\n }\n public void mouseReleased(java.awt.event.MouseEvent evt) {\n lienzoMouseReleased(evt);\n }\n });\n\n javax.swing.GroupLayout lienzoLayout = new javax.swing.GroupLayout(lienzo);\n lienzo.setLayout(lienzoLayout);\n lienzoLayout.setHorizontalGroup(\n lienzoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 753, Short.MAX_VALUE)\n );\n lienzoLayout.setVerticalGroup(\n lienzoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 552, Short.MAX_VALUE)\n );\n\n botonColor.setText(\"Más Colores\");\n botonColor.setToolTipText(\"\");\n botonColor.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n botonColor.setName(\"\"); // NOI18N\n botonColor.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonColorMousePressed(evt);\n }\n });\n\n botonCirculos.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/circulo.png\"))); // NOI18N\n botonCirculos.setToolTipText(\"\");\n botonCirculos.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonCirculosMousePressed(evt);\n }\n });\n\n botonCuadrados.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/cuadrado.png\"))); // NOI18N\n botonCuadrados.setToolTipText(\"\");\n botonCuadrados.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonCuadradosMousePressed(evt);\n }\n });\n\n botonTriangulo.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/triangulo.png\"))); // NOI18N\n botonTriangulo.setToolTipText(\"\");\n botonTriangulo.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonTrianguloMousePressed(evt);\n }\n });\n\n botonPentagono.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/pentagono.png\"))); // NOI18N\n botonPentagono.setToolTipText(\"\");\n botonPentagono.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonPentagonoMousePressed(evt);\n }\n });\n\n botonHexagono.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/hexagono.png\"))); // NOI18N\n botonHexagono.setToolTipText(\"\");\n botonHexagono.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonHexagonoMousePressed(evt);\n }\n });\n\n botonEstrella.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/estrella.png\"))); // NOI18N\n botonEstrella.setToolTipText(\"\");\n botonEstrella.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonEstrellaMousePressed(evt);\n }\n });\n\n botonAzul.setBackground(new java.awt.Color(0, 0, 204));\n botonAzul.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzulMousePressed(evt);\n }\n });\n\n botonAzul1.setBackground(new java.awt.Color(0, 204, 204));\n botonAzul1.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul1MousePressed(evt);\n }\n });\n\n botonAzul2.setBackground(new java.awt.Color(51, 51, 255));\n botonAzul2.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul2MousePressed(evt);\n }\n });\n\n botonAzul3.setBackground(new java.awt.Color(102, 0, 255));\n botonAzul3.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul3.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul3MousePressed(evt);\n }\n });\n\n botonAzul4.setBackground(new java.awt.Color(255, 0, 102));\n botonAzul4.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul4.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul4MousePressed(evt);\n }\n });\n\n botonAzul5.setBackground(new java.awt.Color(204, 0, 51));\n botonAzul5.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul5.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul5MousePressed(evt);\n }\n });\n\n botonAzul6.setBackground(new java.awt.Color(51, 255, 51));\n botonAzul6.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul6.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul6MousePressed(evt);\n }\n });\n\n botonAzul7.setBackground(new java.awt.Color(51, 0, 51));\n botonAzul7.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul7.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul7MousePressed(evt);\n }\n });\n\n botonAzul8.setBackground(new java.awt.Color(51, 0, 51));\n botonAzul8.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul8.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul8MousePressed(evt);\n }\n });\n\n botonAzul9.setBackground(new java.awt.Color(153, 0, 0));\n botonAzul9.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul9.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul9MousePressed(evt);\n }\n });\n\n botonAzul10.setBackground(new java.awt.Color(255, 51, 51));\n botonAzul10.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul10.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul10MousePressed(evt);\n }\n });\n\n botonAzul11.setBackground(new java.awt.Color(0, 153, 102));\n botonAzul11.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul11.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul11MousePressed(evt);\n }\n });\n\n botonAzul12.setBackground(new java.awt.Color(0, 102, 102));\n botonAzul12.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul12.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul12MousePressed(evt);\n }\n });\n\n botonAzul13.setBackground(new java.awt.Color(255, 255, 51));\n botonAzul13.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul13.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul13MousePressed(evt);\n }\n });\n\n botonAzul14.setBackground(new java.awt.Color(0, 255, 255));\n botonAzul14.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul14.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul14MousePressed(evt);\n }\n });\n\n botonAzul15.setBackground(new java.awt.Color(0, 204, 153));\n botonAzul15.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul15.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul15MousePressed(evt);\n }\n });\n\n botonAzul16.setBackground(new java.awt.Color(153, 153, 153));\n botonAzul16.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul16.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul16MousePressed(evt);\n }\n });\n\n botonAzul17.setBackground(new java.awt.Color(0, 0, 0));\n botonAzul17.setPreferredSize(new java.awt.Dimension(80, 30));\n botonAzul17.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonAzul17MousePressed(evt);\n }\n });\n\n botonBorrar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/1487550064_draft.png\"))); // NOI18N\n botonBorrar.setToolTipText(\"borrar\");\n botonBorrar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonBorrarMousePressed(evt);\n }\n });\n\n botonDibujoLibre.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/1487550202_translate.png\"))); // NOI18N\n botonDibujoLibre.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonDibujoLibreMousePressed(evt);\n }\n });\n botonDibujoLibre.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n botonDibujoLibreActionPerformed(evt);\n }\n });\n\n botonLineas.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Imagenes/linea.png\"))); // NOI18N\n botonLineas.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n botonLineasMousePressed(evt);\n }\n });\n\n botonAgrandarTamaño.setOrientation(javax.swing.JSlider.VERTICAL);\n\n jCheckBox1.setText(\"Discontinuas\");\n\n jCheckBox2.setText(\"Relleno\");\n jCheckBox2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n jCheckBox2MousePressed(evt);\n }\n });\n\n MenuArchivo.setText(\"File\");\n\n MenuGuardar.setText(\"Guardar...\");\n MenuGuardar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n MenuGuardarMousePressed(evt);\n }\n });\n MenuArchivo.add(MenuGuardar);\n\n menuImprimir.setText(\"Imprimir...\");\n menuImprimir.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n menuImprimirActionPerformed(evt);\n }\n });\n MenuArchivo.add(menuImprimir);\n\n jMenuBar1.add(MenuArchivo);\n\n setJMenuBar(jMenuBar1);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jCheckBox1)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonTriangulo, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\n .addComponent(botonPentagono, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonDibujoLibre, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonLineas, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addComponent(jCheckBox2)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonCirculos, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\n .addComponent(botonHexagono, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonCuadrados, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\n .addComponent(botonEstrella, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGap(8, 8, 8)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul13, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul14, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul15, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul7, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul8, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul9, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul16, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul17, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul12, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul3, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul4, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul5, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonAzul10, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul11, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAzul6, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))))))\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonBorrar, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(32, 32, 32)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(botonAgrandarTamaño, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botonColor, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)))\n .addComponent(lienzo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(botonColor, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul3, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul5, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul4, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul10, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul6, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul11, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul16, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul12, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul17, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul2, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul1, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul7, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul9, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul8, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonAzul13, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul15, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonAzul14, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonCuadrados, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(botonCirculos))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonHexagono, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(botonEstrella, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(botonTriangulo)\n .addComponent(botonDibujoLibre))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(botonPentagono, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botonLineas, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jCheckBox1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jCheckBox2))\n .addComponent(botonAgrandarTamaño, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(botonBorrar))\n .addComponent(lienzo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(15, 15, 15))\n );\n\n pack();\n }", "title": "" }, { "docid": "0d3ceaa6f22aa51791223c3dbc8a1e16", "score": "0.5281554", "text": "private void fancyBackground(){\n\n loadPixels();\n\n for (int x = 0; x < width; x++) {\n // Loop through every pixel row\n for (int y = 0; y < height; y++) {\n\n // Use the formula to find the 1D location\n int loc = x + y * width;\n // If even column\n if (x % 3 == 0) {\n pixels[loc] = color(230, 138, 0);\n // If odd column\n } else if (x % 3 == 1) {\n pixels[loc] = color(0);\n } else {\n pixels[loc] = color(255);\n }\n }\n }\n updatePixels();\n }", "title": "" }, { "docid": "e75b87af8f9d1141df10bc78c82cb9fc", "score": "0.5278868", "text": "private void initGameWheel() {\n slices.add(new Slice(\"black\", 8000));\n for (int i = 1; i < 40; i++) {\n if (i % 2 == 1)\n slices.add(new Slice(\"red\", i * 10));\n else if (i % 10 == 0)\n slices.add(new Slice(\"black\", i * 200));\n else\n slices.add(new Slice(\"blue\", i * 100));\n }\n }", "title": "" }, { "docid": "6bc047c9f8e74129b0739867a279ae66", "score": "0.5276328", "text": "private void undoColor(){\n if (canUndoColor()){\n if (currClothingPiece.equals(\"shirt\")){\n shirtColors1.push(shirtColors.pop());\n colorShiftingUtil();\n } else {\n pantsColors1.push(pantsColors.pop());\n colorShiftingUtil();\n }\n }\n }", "title": "" }, { "docid": "825a967599b1a09647f9e317d14b484c", "score": "0.52759266", "text": "@Override\n\tpublic Color colorSprite() throws RemoteException {\n\t\tsynchronized (this) {\n\t\t\tint i = ++count % colors.length;\n\t\t\tif (i == 0)\n\t\t\t\treturn colors[colors.length - 1];\n\t\t\telse if (i == 1 || i == 2)\n\t\t\t\treturn colors[i - 1];\n\t\t\telse\n\t\t\t\treturn Color.BLACK;\n\t\t}\n\t}", "title": "" }, { "docid": "a5dbf78ea189117f6f2ea7b4ac491ab6", "score": "0.52727014", "text": "ContourBuilder colors(String arg);", "title": "" }, { "docid": "77db872b08a66a3810672408fa71ea02", "score": "0.5270941", "text": "public void background(float x, float y, float z)\n/* */ {\n/* 4940 */ colorCalc(x, y, z);\n/* 4941 */ backgroundFromCalc();\n/* */ }", "title": "" }, { "docid": "4b699bba901783c9baec34daa375b249", "score": "0.52699775", "text": "private void calcPlateColor(){\n\t\tint[] pix = new int[3];\n\t\tfloat[] hsv = new float[3];\n\t\tdata.getPixel(midpoint[0], midpoint[1], pix);\n\t\tColor.RGBtoHSB(pix[0], pix[1], pix[2], hsv);\n\t\tfloat hue = hsv[0];\n\n\t\tif (hue >= 0.11111 && hue <= 0.22222) {\n\t\t\t//yellow (40 - 80)\n\t\t\tthis.classification = 2;\n\t\t} else if (hue >= 0.38888 && hue <= 0.61111) {\n\t\t\t//blue (140 - 220)\n\t\t\tthis.classification = 1;\n\t\t} else {\n\t\t\t// no plate\n\t\t\tthis.classification = 0;\n\t\t}\n\t}", "title": "" } ]
f5f7af702fff14f108e044c8bcceb3b3
Util method to write an attribute with the ns prefix
[ { "docid": "cfb1bf743b10c5c4cb7d0b334f13cb3b", "score": "0.0", "text": "private void writeAttribute(java.lang.String prefix,\n java.lang.String namespace, java.lang.String attName,\n java.lang.String attValue,\n javax.xml.stream.XMLStreamWriter xmlWriter)\n throws javax.xml.stream.XMLStreamException {\n java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);\n\n if (writerPrefix != null) {\n xmlWriter.writeAttribute(writerPrefix, namespace, attName,\n attValue);\n } else {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n xmlWriter.writeAttribute(prefix, namespace, attName, attValue);\n }\n }", "title": "" } ]
[ { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.77567035", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (xmlWriter.getPrefix(namespace) == null) {\r\n xmlWriter.writeNamespace(prefix, namespace);\r\n xmlWriter.setPrefix(prefix, namespace);\r\n\r\n }\r\n\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n\r\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" }, { "docid": "78a9f1a04b774d7adc8fa4c24f7078a9", "score": "0.771335", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (xmlWriter.getPrefix(namespace) == null) {\n xmlWriter.writeNamespace(prefix, namespace);\n xmlWriter.setPrefix(prefix, namespace);\n\n }\n\n xmlWriter.writeAttribute(namespace,attName,attValue);\n\n }", "title": "" } ]
08af66c43f362a4ee71c95a8cb72fff7
Execute the selected action.
[ { "docid": "93f34af61cf22e1d38e66f9743d1f691", "score": "0.0", "text": "protected boolean executeAction(SUT system, State state, Action action){\n\t\treturn super.executeAction(system, state, action);\n\t}", "title": "" } ]
[ { "docid": "aeb1a0c74188575f46e43cb9ff1ff7db", "score": "0.78111035", "text": "protected abstract void executeAction();", "title": "" }, { "docid": "bead7ad148adacdc7657ffcd43f23c18", "score": "0.72252136", "text": "@Override\n public void execute()\n {\n target.doAction();\n }", "title": "" }, { "docid": "17b119e6fa26d4b80451c9ae8b27d83d", "score": "0.71426374", "text": "public abstract Object performAction();", "title": "" }, { "docid": "b319581994171d103a9e1b38f5a8bb9d", "score": "0.7020469", "text": "public String execute() {\n\r\n\r\n\t\r\n\t\r\n\t\treturn Action.SUCCESS;\r\n\t}", "title": "" }, { "docid": "eee66ed4dc67d46bd50820f751038f88", "score": "0.69361985", "text": "public void execute(){\n if (!enabled)\n return;\n\n logger.info(\"Executing flow(id: \" + getId() + \"): \" + getName());\n\n for (Action action : actionList){\n action.execute();\n }\n }", "title": "" }, { "docid": "a13fbd5a5123aa8a069ed3788048b9eb", "score": "0.68906", "text": "@Override\n protected void execute() {\n\n switch(action) {\n case SWITCH:\n Robot.hatchGrabber.switchClaw();\n break;\n case GRAB:\n Robot.hatchGrabber.grabHatch();\n break;\n case RELEASE:\n Robot.hatchGrabber.releaseHatch();\n break;\n case OFF:\n Robot.hatchGrabber.clawOff();\n break;\n }\n\n }", "title": "" }, { "docid": "4efc060b8fdd91f33733fc10d10522d8", "score": "0.6873004", "text": "void performAction();", "title": "" }, { "docid": "9a8dbda2d5e405f7ecd395cd20a4e44a", "score": "0.6797211", "text": "public void execute(Object actioned) {\n if (actioned == view.getButtonSpaceStoreManager()) {\n MainFrameControl.showStoreManagerMenu();\n\n } else if (actioned == view.getButtonSpaceSeller()) {\n MainFrameControl.showSellerMenu();\n\n } else if (actioned == view.getButtonListSales()) {\n MainFrameControl.showListSalesMenu();\n\n } else if (actioned == view.getButtonListProducts()) {\n MainFrameControl.showListProducts();\n\n } else if (actioned == view.getButtonListSellers()) {\n MainFrameControl.showListSellers();\n\n } else if (actioned == view.getButtonListCustomers()) {\n MainFrameControl.showListCustomers();\n }\n }", "title": "" }, { "docid": "b6e987f8296ad6c2062c8c24203f1713", "score": "0.6774574", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (action != null) {\n\t\t\taction.execute();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "48eb49a7e7936990a1df478323b06a10", "score": "0.67470795", "text": "public void execute() {\n MenuItem item = _menuItems.get(_hoverIdx);\n LOG.debug(\"Executing menu function for '\" + item.getText() + \"'\");\n item.run();\n }", "title": "" }, { "docid": "892be219f08bfc10d69e741830e33c68", "score": "0.66978014", "text": "public abstract\n void apply(int action);", "title": "" }, { "docid": "9838d51231056ec593be266bf63e1116", "score": "0.6680039", "text": "public void executeAction(int action) {\n\t\tswitch (action) {\r\n\t\tcase Cnst.ACTION_ADD_SPAWN:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_ADD_LEADER:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_MOVE_SPAWN:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_MOVE_LEADER:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_CLEAN_TEMPLE:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_DIG:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_OWN_TEMPLE:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_BUILD_CAMP:\r\n\t\t\tbreak;\r\n\t\tcase Cnst.ACTION_SWAP_MEDALLIONS:\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "aa2fa5f78b7f2152c09d782a56bdcaa1", "score": "0.6654494", "text": "public TaskBean executeAction(TaskBean task, TaskActionEnum action) throws DtgovUiException;", "title": "" }, { "docid": "43537748eacb7fbfc4233ad7c95a6e2a", "score": "0.6626712", "text": "public void run() {\r\n\t\taction();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "20f9c370b7b343fdc27982748ce6bd82", "score": "0.6609807", "text": "public void dispatch() {\n if (action != null) {\n action.DO();\n }\n }", "title": "" }, { "docid": "ad50e9d85c83dcf51a580a8164ab209f", "score": "0.6587701", "text": "protected abstract void selectActions();", "title": "" }, { "docid": "d43af6bcedd2a0da5ff9f16cbe83ed2d", "score": "0.6566274", "text": "public String action(String action);", "title": "" }, { "docid": "1a745ad5573b1921be2c02b65e3ec713", "score": "0.653657", "text": "public void execute(\n\t \tAction action,\n\t NodeRef actionedUponNodeRef);", "title": "" }, { "docid": "57ad0178b1dfbd26698768d93189bf23", "score": "0.6532898", "text": "void userChooseAction(String token, IActionCommand action) throws InvalidActionException;", "title": "" }, { "docid": "e83f4135a1ec67fd5b652fbe36b6d539", "score": "0.6521918", "text": "abstract protected void execute(IAction action) throws InvocationTargetException, InterruptedException;", "title": "" }, { "docid": "66a68aa56e7ca6029edaa1c0c4c1a797", "score": "0.65154886", "text": "protected void executeAction(){\n\t\t\n\t\tif(currentJWidgetEditionObject!=null){\n\t\t\t\n\t\t\tjwidgetManager.handleCurrentJWidgetEditionObject(\n\t\t\t\t\tcurrentJWidgetEditionObject);\n\t\t}\n\t}", "title": "" }, { "docid": "c00333657433992929f4af8bac780d63", "score": "0.6507166", "text": "public void run() {\n //update state\n updateState();\n\n //select action based on the state\n performStatefulAction();\n }", "title": "" }, { "docid": "42db7363089115048db880442503e701", "score": "0.65027213", "text": "@Override\n\t\t\tpublic EssentialAction apply() {\n\t\t\t\treturn action.apply();\n\t\t\t}", "title": "" }, { "docid": "58620c90ad7dc6ceeaccb20703234021", "score": "0.65012926", "text": "public void act() \r\n {\r\n // Add your action code here.\r\n }", "title": "" }, { "docid": "58620c90ad7dc6ceeaccb20703234021", "score": "0.65012926", "text": "public void act() \r\n {\r\n // Add your action code here.\r\n }", "title": "" }, { "docid": "58620c90ad7dc6ceeaccb20703234021", "score": "0.65012926", "text": "public void act() \r\n {\r\n // Add your action code here.\r\n }", "title": "" }, { "docid": "48e8e0ad1a2a2c9d9d55da36b1f82cca", "score": "0.6496829", "text": "public void performAction() {\n ActionPerformer ap = getActionPerformer ();\n if (ap != null) ap.performAction (this);\n }", "title": "" }, { "docid": "6f0c0ee4d4d6d98528973eb32571a0a0", "score": "0.6484829", "text": "abstract public void doAction();", "title": "" }, { "docid": "3de8284f39cbaf93dd0e8d55dfe6ad15", "score": "0.6476039", "text": "final public void run(IAction action) {\r\n\t\ttry {\r\n\t\t\tif (!beginExecution(action)) return;\r\n\t\t\texecute(action);\r\n\t\t\tendExecution();\r\n\t\t} catch (InvocationTargetException e) {\r\n\t\t\t// Handle the exception and any accumulated errors\r\n\t\t\t//handle(e);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\t// Show any problems that have occurred so far\r\n\t\t\t//handle(null);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ef0ea6442e0e399fd2c9b310c9707718", "score": "0.64696693", "text": "public void handleRequest(String action) {\n if (commands.containsKey(action))\n {\n try {\n ICommand command = commands.get(action);\n command.execute();\n }\n catch (NullPointerException e)\n {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "484095bd72a80d0f2e6c2b79264f4fbe", "score": "0.64595056", "text": "@Override\n\tpublic void executeAction() {\n\t\tGetItemCall getItemCall = (GetItemCall) apicall;\n\n\t\ttry {\n\t\t\tgetItemCall.getItem();\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t((GetItemBean) bean).setReturnedItem(getItemCall.getReturnedItem());\n\t}", "title": "" }, { "docid": "e704a55e5214b5688b8e8eb1cbf881a1", "score": "0.64329654", "text": "public void doAction(String action) throws InputException, IOException {\n if( map.get(action) != null ) {\n Actioner actioner = map.get(action);\n actioner.action();\n } else\n mainContextMethod(action);\n }", "title": "" }, { "docid": "bf03edafda366cc25548bb2f8aba8615", "score": "0.6432889", "text": "public void run() {\n loadActionDialog();\n }", "title": "" }, { "docid": "0d265ff27633e218e29b68d163ad1ef5", "score": "0.64320284", "text": "@Override\n\tpublic void eventAction() {\n\t\tactionable.doAction();\n\t}", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6424819", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6424819", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6424819", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "7e045818a93d8a50eda6511c275516d7", "score": "0.64236814", "text": "public void run(IAction action) {\n\t\tMessageDialog.openInformation(myView.getViewSite().getShell(),\n\t\t\t\t\"Information\",\n\t\t\t\t\"Very well, you did it, you did add an action to this view. You are my hero!\");\n\t}", "title": "" }, { "docid": "25e09b8068ee22340f3e4c02a0169bd2", "score": "0.6415441", "text": "@Override\n\t\tpublic void action() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "d1cbb7d9e2183cc05526316b8f8f1d8e", "score": "0.64116436", "text": "public void execute()\r\n {\r\n switch (actionType)\r\n {\r\n case DASH:\r\n client.dash(power);\r\n dashCount++;\r\n break;\r\n case KICK:\r\n client.kick(power, direction);\r\n kickCount++;\r\n break;\r\n case TURN:\r\n client.turn(direction);\r\n turnCount++;\r\n break;\r\n default:\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "d3b047e68a0da36e5ad34ea2f085c743", "score": "0.64089346", "text": "public void dispatch(String action) {\r\n\r\n }", "title": "" }, { "docid": "25c1f8744f7213963b9d23a5620620e7", "score": "0.63852584", "text": "@Override\n\tpublic void run() {\n\t\tSystem.out.println(\"Action executed \");\n\t}", "title": "" }, { "docid": "4e9a26cbbbaf522ebde4248ce073c5eb", "score": "0.6384887", "text": "public Action getAction();", "title": "" }, { "docid": "e63ea8b31980d15401da0693cb55d697", "score": "0.63780147", "text": "public void execute(final ActionTypes actionType)\n {\n if (actionType == ActionTypes.FULL_ENGAGE) fullEngage();\n else if (actionType == ActionTypes.FULL_DISENGAGE) fullDisengage();\n else if (actionType == ActionTypes.GRADUAL_ENGAGE) gradualEngage();\n else if (actionType == ActionTypes.RED) red();\n else if (actionType == ActionTypes.BLUE) blue();\n else if (actionType == ActionTypes.ORANGE) orange();\n else if (actionType == ActionTypes.PLAY_TONE) playTone();\n else throw new UnsupportedOperationException(\"Attempt to execute unsupported ActionType\");\n }", "title": "" }, { "docid": "5be10e436c40e39d8d2de9deb872e44e", "score": "0.6373829", "text": "protected void doAction(){\n\t\tif (dialogToOpen != null)\n\t\t\tdialogToOpen.open();\n\t}", "title": "" }, { "docid": "f31bd6a11b20718e35ef60d7c00d487c", "score": "0.63598084", "text": "public void actionPerformed(ActionEvent event) {\n execute();\n }", "title": "" }, { "docid": "3aa390f585a7e2e299d62e2072714b00", "score": "0.63501006", "text": "public void execute() {\n\t\tString comm = toCommand();\n\t\tgame.handleCommand(comm);\n\t\tthis.selected1 = null;\n\t\tthis.selected2 = null;\n\t\tupdate();\n\t}", "title": "" }, { "docid": "ee8270e30e2ffa2596aebfaf011a8139", "score": "0.63137424", "text": "public abstract void action();", "title": "" }, { "docid": "ee8270e30e2ffa2596aebfaf011a8139", "score": "0.63137424", "text": "public abstract void action();", "title": "" }, { "docid": "2b24799cfbae9a2538024b8515e67eb8", "score": "0.6308817", "text": "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3f92b8e2085bd7fff34177fc2c64f3f7", "score": "0.630129", "text": "public void actionPerformed(ActionEvent e) {\n String command = e.getActionCommand();\n \n if (command.equals(\"execute\")) {\n try {\n execute();\n } catch (PropertyVetoException pve) {}\n } else {\n if (Trace.isTracing(Trace.MASK_APPLICATION))\n {\n Trace.record(Trace.MASK_APPLICATION, BEANNAME, \"ActionEvent \" + e.toString());\n }\n }\n }", "title": "" }, { "docid": "254e12db3b531791e891f38e19dabc89", "score": "0.6281805", "text": "private void doExecute() {\n parser.commandName().ifPresentOrElse(this::doExecuteCommandName, this::printUsage);\n }", "title": "" }, { "docid": "3cbe73fd01adc1343262067fe78e34fc", "score": "0.6262978", "text": "public void doAction(RpcInvokeAction sendAction) {\n\r\n\t}", "title": "" }, { "docid": "75cd68816686c5a65980151d274302a9", "score": "0.62592506", "text": "public void execute(FixtureCommand action) {\n if (action.execute()) {\n actionQueue.add(action);\n }\n }", "title": "" }, { "docid": "291ff54b26a7e301bbe13a0aa670c05d", "score": "0.62579674", "text": "public String getAction();", "title": "" }, { "docid": "291ff54b26a7e301bbe13a0aa670c05d", "score": "0.62579674", "text": "public String getAction();", "title": "" }, { "docid": "fed4d5837e94fe0528135724bbe141bd", "score": "0.6239939", "text": "public String execute(String action) {\n\t\tif(\"list\".equals(action)){\n\t\t\treturn list();\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f1be95c4340114f5b05ac29c68aa9894", "score": "0.6236756", "text": "@Override\n public void run() {\n if(actions.isEmpty()) return;\n\n ExecutorService executor = Executors.newSingleThreadExecutor();\n for(Action action:actions) executor.submit(action);\n\n }", "title": "" }, { "docid": "102e1f55b7fe88be95d4758f206c218d", "score": "0.6233495", "text": "Actions getActionDone();", "title": "" }, { "docid": "7784675b28b663ddcf78febc43a987f0", "score": "0.622555", "text": "public java.lang.String getAction();", "title": "" }, { "docid": "7784675b28b663ddcf78febc43a987f0", "score": "0.622555", "text": "public java.lang.String getAction();", "title": "" }, { "docid": "51d0f0b433fc64e308e11ec726f1acd7", "score": "0.6222859", "text": "private String performTheAction(HttpServletRequest request) {\r\n String servletPath = request.getServletPath();\r\n String action = getActionName(servletPath);\r\n // Let the logged in user run his chosen action\r\n return Action.perform(action, request);\r\n }", "title": "" }, { "docid": "759fabfa8fd6bd4da5ce6a7342f5bf7d", "score": "0.62182426", "text": "void execute( Runnable action );", "title": "" }, { "docid": "603fb052c644a6ac23f88b2be1870512", "score": "0.6189835", "text": "@Override\n\tpublic boolean pickAndExecuteAnAction() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "603fb052c644a6ac23f88b2be1870512", "score": "0.6189835", "text": "@Override\n\tpublic boolean pickAndExecuteAnAction() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3daaac1b20f9861a5a09bac209c31055", "score": "0.61824024", "text": "void performPositiveAction();", "title": "" }, { "docid": "05be038bc8bc481d0af7fee8bf9ce4e4", "score": "0.6161079", "text": "@Override\n\tprotected void executeAction() {\n\t\tAction actionExcute = actions.actionToExecute();\n\t\t\n\t\tif(actionExcute.equals(Action.Tirer)) {\n\t\t\tthis.tirer();\n\t\t}\n\t\tif(actionExcute.equals(Action.Braquer)) {\n\t\t\tthis.braquer();\n\t\t}\n\t\tif(interieur && actionExcute.equals(Action.Monter)) {\n\t\t\tinterieur = false;\n\t\t\tSystem.out.println(getName()+\" monte sur le toit\");\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tif(!interieur && actionExcute.equals(Action.Descendre)) {\n\t\t\tinterieur = true;\n\t\t\tSystem.out.println(getName()+\" descend a l'interieur\");\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tif(!wagon.isLastWagon() && actionExcute.equals(Action.Avance)) {\n\t\t\tTrain.Wagon newWagon = wagon.avanceBandit(this);\n\t\t\tSystem.out.println(getName()+\" avance vers la fin de train\");\n\t\t\twagon = newWagon;\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tif(!wagon.isFirstWagon() && actionExcute.equals(Action.Recule)) {\n\t\t\tTrain.Wagon newWagon =wagon.reculeBandit(this);\n\t\t\tSystem.out.println(getName()+\" recule vers le debut de train\");\n\t\t\twagon = newWagon;\n\t\t\tSystem.out.println(wagon);\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(getName()+ \" has nothing to do!\");\n\t}", "title": "" }, { "docid": "95d6b712f680ff2c0c9e4c269032b860", "score": "0.6152927", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString command = e.getActionCommand();\n\n\t\tif (command.equals(view.getWelcomePanel().getCOMMAND_SELECT_FILE())) {\n\t\t\tworld.uploadFile(view.connectFileChooser());\n\t\t\tview.getSelectionPanel().getShowPanel().getTxtAreaShow().setText(world.getAlFile());\n\t\t}\n\t\tif (command.equals(view.getSelectionPanel().getCOMMAND_CONFIRM())) {\n\t\t\tthis.manageSelectionKeyword();\n\t\t}\n\t}", "title": "" }, { "docid": "d40386ede98d210fdd3dd4e65fad402a", "score": "0.6152484", "text": "public void actions() { }", "title": "" }, { "docid": "203d8e7343767695d70f23a7b058f8e1", "score": "0.6148252", "text": "@Override\n\tpublic <T extends Response> void execute(Action<T> action,\n\t\t\tBrokerCallback<T> response) {\n\t\t\n\t}", "title": "" }, { "docid": "b7b759f35f9722401938d00e4632dd2b", "score": "0.614728", "text": "public String invokeAction()\n {\n\n if (script != null)\n {\n try\n {\n if (useRhino)\n {\n output = Context.toString(executeUsingRhino(script));\n }\n else\n {\n Object ret = executeUsingScriptEngine(script);\n if (ret != null)\n {\n output = ret.toString();\n }\n }\n }\n catch (Exception e)\n {\n StringWriter sw = new StringWriter(100);\n PrintWriter pw = new PrintWriter(sw);\n e.printStackTrace(pw);\n output = sw.toString();\n output = output.replaceAll(\"\\n\", \"<br>\");\n }\n }\n return null;\n }", "title": "" }, { "docid": "c3f444201ab1f72f6ddce6d68f82374f", "score": "0.61293995", "text": "public String execute() throws Exception {\n\t\tif (this.getSubmit() == null) {\r\n\t\t\treturn Action.INPUT;\r\n\t\t}\r\n\r\n\t\t// standard goes right to the override check\r\n\t\tif (this.getSubmit().equalsIgnoreCase(SUBMIT_STANDARD)) {\r\n\t\t\treturn SUCCESS_STANDARD;\r\n\t\t}\r\n\r\n\t\t// ONLY OTHER OPTION - advanced goes to the field level detail screen\r\n\t\treturn SUCCESS_ADVANCED;\r\n\r\n\t}", "title": "" }, { "docid": "c0994c7247d441b44f92261f21250ba5", "score": "0.6118974", "text": "private void submitAction() {\n String choice = null;\n switch (actionState.getCheckedRadioButtonId()) {\n case R.id.zombie_action_military:\n choice = Zombie.ZACTION_MILITARY;\n break;\n case R.id.zombie_action_cure:\n choice = Zombie.ZACTION_CURE;\n break;\n case R.id.zombie_action_horde:\n choice = Zombie.ZACTION_ZOMBIE;\n break;\n }\n\n if (zombieData != null && choice != null && !choice.equals(zombieData.action)) {\n ((ZombieControlActivity) getActivity()).startSubmitAction(choice);\n }\n }", "title": "" }, { "docid": "b75dd84337feb261e6c280d953b25c9d", "score": "0.611825", "text": "public abstract boolean performAction(int playerId, Action a);", "title": "" }, { "docid": "6dea1d6980d0779f86239649fc600ee7", "score": "0.6106594", "text": "Action getAction();", "title": "" }, { "docid": "ab3e2faadbbf0e2a2904289a840fa2bd", "score": "0.60985136", "text": "@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}", "title": "" }, { "docid": "ab3e2faadbbf0e2a2904289a840fa2bd", "score": "0.60985136", "text": "@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}", "title": "" }, { "docid": "ab3e2faadbbf0e2a2904289a840fa2bd", "score": "0.60985136", "text": "@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}", "title": "" }, { "docid": "ab3e2faadbbf0e2a2904289a840fa2bd", "score": "0.60985136", "text": "@Override\n\t\tpublic void execute() {\n\t\t\tWindow.alert(\"Hola menu\");\n\t\t\t}", "title": "" }, { "docid": "a823cb8de47622b1a7ada08e8bd528dd", "score": "0.60897905", "text": "public boolean doAction(String command)\r\n/* 177: */ {\r\n/* 178:197 */ return true;\r\n/* 179: */ }", "title": "" }, { "docid": "f05c09e332f3cee4450e89d134560653", "score": "0.60874045", "text": "@Override\n\t\t\tpublic void handle(ActionEvent arg0) {\n\t\t\t\tclickSound.play();\n\t\t\t\tinstruction5();\n\t\t\t}", "title": "" }, { "docid": "3c4584cd1a7a358ea836e4bed82ea9fa", "score": "0.60751915", "text": "public void selectAction(Actions action){\n currentAction.put(currentActivePlayer,action);\n serverViews.get(currentServerView).sendActionResponse(action);\n switch (action){\n case MARKETACTION:\n case USEPRODUCTION:\n case BUYDEVELOPMENTCARD: {\n numOfActions.put(currentActivePlayer,true);\n break;\n }\n case DISCARDLEADERCARD:\n case PLAYLEADERCARD:{\n break;\n }\n }\n }", "title": "" }, { "docid": "c8516d7359f72d6d521028eafb3ac605", "score": "0.60692346", "text": "public void invoke() throws STException {\n try {\n if( isAsync() ) {\n MethodExecutionAsyncTask task = null ;\n task = new MethodExecutionAsyncTask( this.targetBean, this.targetOp ) ;\n ServiceMgr.getAsyncExecutorSvc().submit( task ) ;\n }\n else {\n this.method.invoke( this.bean, (Object[])null ) ;\n }\n }\n catch ( final Exception e ) {\n logger.error( \"Could not invoke action \" + this.name, e ) ;\n throw new STException( \"Action command failure \", e, ErrorCode.UNKNOWN_EXCEPTION ) ;\n }\n }", "title": "" }, { "docid": "f507883d1f706e0685da7eb676e12116", "score": "0.6068238", "text": "public abstract void runBaseAction();", "title": "" }, { "docid": "630e87ad28b206d44df89fd22509c8ca", "score": "0.60603994", "text": "@Override\n\tpublic java_cup.runtime.Symbol do_action(int act_num, java_cup.runtime.lr_parser parser, java.util.Stack stack,\n\t\t\tint top) throws java.lang.Exception {\n\t\t/* call code in generated class */\n\t\treturn action_obj.CUP$parser$do_action(act_num, parser, stack, top);\n\t}", "title": "" }, { "docid": "c910f0b6519a12bbc725479a121b51f0", "score": "0.60599846", "text": "public final void execute() {\r\n executeAction();\r\n _isUndo = false;\r\n setChanged();\r\n notifyObservers();\r\n _isRedo = false;\r\n }", "title": "" }, { "docid": "48f55ad2f9fc5b03e65271767cc5e2ab", "score": "0.60575116", "text": "@Override public void doAction(int option)\n {\n switch (option)\n {\n // if the option is 1, call startNewGame( )\n case 1:\n startNewGame();\n break;\n // if the option is 2, call startExistingGame( )\n case 2:\n startSavedGame();\n break;\n // if the option is 3, call displayHelpMenu( )\n case 3:\n displayHelpMenuView();\n break;\n // if the option is 4, call displaySaveGame( )\n case 4:\n displaySaveGameView();\n break;\n // if the option is 5, display a goodbye message\n case 5:\n System.out.println(\"Thanks for playing... goodbye.\");\n }\n }", "title": "" }, { "docid": "434d600ca23e527c99bfd0902731f0b7", "score": "0.6050774", "text": "public int getAction() {\n return action;\n }", "title": "" }, { "docid": "b27108768a1246664d04a821f911aef3", "score": "0.6048662", "text": "String getAction();", "title": "" }, { "docid": "b27108768a1246664d04a821f911aef3", "score": "0.6048662", "text": "String getAction();", "title": "" }, { "docid": "b27108768a1246664d04a821f911aef3", "score": "0.6048662", "text": "String getAction();", "title": "" }, { "docid": "b686177411465a15d3e5db79fe3ec3c1", "score": "0.6038323", "text": "public abstract void sendAction(String actionCommand);", "title": "" }, { "docid": "7800c455df56a32fb9d4e76ca643c242", "score": "0.6032515", "text": "public Object execute(ExecutionEvent event) throws ExecutionException {\n\t\tString action = null;\n\t\tEditorHelper editor = EditorHelper.getCurrent(event);\n\t\tif (editor.textEditor instanceof HTMLEditor) {\n\t\t\taction = fromView(editor);\n\t\t\tSystem.out.println(\"View!!\");\n\t\t} else if (editor.textEditor instanceof RouteEditor) {\n\t\t\taction = fromRoutes(editor);\n\t\t\tSystem.out.println(\"Routes!!\");\n\t\t}\n\t\tSystem.out.println(\"action = \" + action);\n\t\t\n\t\t(new Navigation(editor)).goToAction(action);\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7944e72c9c74b5a8e46afeea7b661729", "score": "0.6029276", "text": "public int getAction() {\n return instance.getAction();\n }", "title": "" }, { "docid": "7944e72c9c74b5a8e46afeea7b661729", "score": "0.6029276", "text": "public int getAction() {\n return instance.getAction();\n }", "title": "" }, { "docid": "0ff7549093dfc8141b01669ce084c0ac", "score": "0.602923", "text": "@Override\n\t\t\tpublic void handle(ActionEvent arg0) {\n\t\t\t\tclickSound.play();\n\t\t\t\tinstruction2();\n\t\t\t}", "title": "" }, { "docid": "4019520cf4af2f60490471576d8d42f1", "score": "0.6020533", "text": "@Override\r\n public boolean doAction(String[] inputs) {\r\n // Act on the user's input.\r\n // This is a \"dispatch\" function that decides what\r\n // other functions to call. You can use an if-, if-else,\r\n // or switch statement.\r\n\r\n // return false if you want this view to exit and return\r\n // to the view that called it.\r\n someActionHandler();\r\n\r\n return true;\r\n }", "title": "" }, { "docid": "15034bb5a6dfda213b77a673838022d8", "score": "0.60188407", "text": "public Result executeAction(HttpServletRequest request, HttpServletResponse response, Method runBeforeAction, Method action) throws Exception {\n Object[] args = new Object[2];\n args[0] = request;\n args[1] = response;\n\n Result result = ViewHelper.processAction();\n\n if (runBeforeAction != null) {\n result = (Result) runBeforeAction.invoke(controller, args);\n }\n\n if (result.isProcessAction()) {\n result = (Result) action.invoke(controller, args);\n }\n\n if (result.isDefaultView()) {\n Controller annotation = controller.getClass().getAnnotation(Controller.class);\n result = ViewHelper.forwardToView(annotation.mappedBy(), action.getName());\n }\n\n args = null;\n return result;\n }", "title": "" }, { "docid": "575491bef5c6647e45592845302ef858", "score": "0.60178584", "text": "public abstract void perform(Player player, Action action);", "title": "" }, { "docid": "e200326022df158576ee90c7e265e013", "score": "0.6016685", "text": "public void execute() {\n\t\tm.displayMenu(true,false);\n\t\tint i = InputController.promptInteger(\"Please enter the index of the item you want to move\",1,m.size());\n\t\tiMenuItem k = m.getItem(i-1);\n\t\tm.deleteItem(k);\n\t\tm.displayMenu(true);\n\t\ti = InputController.promptInteger(\"Please enter the new index of this item\",1,m.size()+1);\n\t\tif(i>m.size()) {\n\t\t\tm.addItem(k);\n\t\t} else {\n\t\t\tm.addItem(i-1,k);\n\t\t}\n\t}", "title": "" }, { "docid": "a4a439a9a84ad96bd819a60c0bff1dab", "score": "0.59880877", "text": "@Override\n public void action() {\n System.out.printf(\"%s - %s\", name, \"Do some action\");\n }", "title": "" } ]
09fc15cc497c58e52767da4934b04b80
Get the current attendee count in the Event and add 1
[ { "docid": "b2ea81967f0b6f1da739d835acff82da", "score": "0.5998831", "text": "private int newAttendCount(String postid){\n final String DB_NAME = \"testDB\";\n final String EVENT_TABLE = \"EVENT\";\n int oldcount;\n int newCount = 0;\n try (Connection con = ConnectionTest.getConnection(DB_NAME);\n Statement stmt = con.createStatement();){\n System.out.println(postid);\n String query = \"SELECT * FROM \" + EVENT_TABLE+\" WHERE postID ='\"+postid+\"'\";\n try (ResultSet resultSet = stmt.executeQuery(query)) {\n while(resultSet.next()) {\n oldcount = resultSet.getInt(\"eventAttendCount\");\n newCount = oldcount+1;\n }\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n\n return newCount;\n }", "title": "" } ]
[ { "docid": "e76189aa145b311c0761a51b08ef446c", "score": "0.6370112", "text": "public Integer getAttendCount() {\n return attendCount;\n }", "title": "" }, { "docid": "00711b30c08ab37408c9862b6316b95c", "score": "0.6308361", "text": "long getJoinedEventsCount();", "title": "" }, { "docid": "7c436e8e974fa09a7a377c97620fd4f8", "score": "0.6306165", "text": "long getUnjoinedEventsCount();", "title": "" }, { "docid": "68f31809ec0dd312a7c109fd5fda21fe", "score": "0.62258923", "text": "public int getParticipantAmountToday() {\n\t\treturn ParticipantsToday;\n\t}", "title": "" }, { "docid": "6eb5de9ebd8e5b900f8b4c7ac3e00276", "score": "0.6020926", "text": "public int getAttendanceCount() {\n return attendanceCount;\n }", "title": "" }, { "docid": "5ff7a6489b9291094527013913494c65", "score": "0.59210974", "text": "public void addCount()\n {\n \tcount++;\n }", "title": "" }, { "docid": "84aa68e1fceb0c62021ab9d0d8b2ba7e", "score": "0.58293533", "text": "public void setAttendCount(Integer attendCount) {\n this.attendCount = attendCount;\n }", "title": "" }, { "docid": "c070e230d224f59c43508d63d3c678cf", "score": "0.5822609", "text": "int getDeliveredCount();", "title": "" }, { "docid": "a9accea45c7421b57b27928ecd581af9", "score": "0.57942176", "text": "private static void incrementFlightTakeOffCounter()\r\n\t{\r\n\t\tflightTakeOffCounter++;\r\n\t}", "title": "" }, { "docid": "65f6034ba2fd15f43cd4a2cbcfeae903", "score": "0.57813835", "text": "public int getNumberOfActivitesOnActivityFeed(Identity ownerIdentity);", "title": "" }, { "docid": "9b669e4fbdd3d0804d0aef215804bb87", "score": "0.5760746", "text": "public void incrementCount() {\n count++;\n }", "title": "" }, { "docid": "b364b4a2f81e0c587884efc8d4aa0dbf", "score": "0.5755444", "text": "@Test\n public void testAddAttendee() throws Exception {\n EventData deltaEvent = prepareDeltaEvent(createdEvent);\n TestUser testUser3 = context2.acquireUser();\n addTearDownOperation(() -> context2.backUser(testUser3));\n\n Attendee addedAttendee = ITipUtil.convertToAttendee(testUser3, Integer.valueOf(0));\n addedAttendee.setPartStat(PartStat.NEEDS_ACTION.getStatus());\n deltaEvent.getAttendees().add(addedAttendee);\n updateEventAsOrganizer(deltaEvent);\n\n /*\n * Check that the event has a new attendee\n */\n AnalyzeResponse analyzeResponse = receiveUpdateAsAttendee(PartStat.ACCEPTED, CustomConsumers.ALL);\n AnalysisChange change = assertSingleChange(analyzeResponse);\n assertSingleDescription(change, \"has been invited to the appointment\");\n\n /*\n * Check invite mail for new attendee\n */\n ApiClient apiClient3 = generateApiClient(testUser3);\n rememberClient(apiClient3);\n MailData iMip = receiveIMip(apiClient3, userResponseC1.getData().getEmail1(), summary, 1, SchedulingMethod.REQUEST);\n rememberMail(apiClient3, iMip);\n analyzeResponse = analyze(apiClient3, iMip);\n AnalysisChangeNewEvent newEvent = assertSingleChange(analyzeResponse).getNewEvent();\n assertNotNull(newEvent);\n assertEquals(attendeeEvent.getUid(), newEvent.getUid());\n assertAttendeePartStat(newEvent.getAttendees(), addedAttendee.getEmail(), PartStat.NEEDS_ACTION.getStatus());\n analyze(analyzeResponse, CustomConsumers.ACTIONS);\n }", "title": "" }, { "docid": "c0a32e55ee19ee4b0acc6e0548585c33", "score": "0.5752353", "text": "public int getAutoEventCount()\n {\n return _autoEventList.size();\n }", "title": "" }, { "docid": "9217471e3bd11ba948d57648cec07da0", "score": "0.5714114", "text": "public int getNumberOfNewerOnActivityFeed(Identity ownerIdentity, Long sinceTime);", "title": "" }, { "docid": "a7339fc2ff3d7e170e8f3e30bd1c6bd8", "score": "0.5700709", "text": "public void increment() {\n mNewNotificationCount.setValue(mNewNotificationCount.getValue() + 1);\n }", "title": "" }, { "docid": "73363998427d49302c8848830bfad8af", "score": "0.56693685", "text": "public int getIncidentsCreatedCount() {\r\n\t\treturn incidentsCreated.size();\r\n\t}", "title": "" }, { "docid": "017461a9cbef6ee4c1924da0419bf244", "score": "0.56483203", "text": "public int getAdjacentMeetingCount() throws NumberFormatException,\n\t\t\tServiceLocalException {\n\t\treturn (Integer.parseInt(this.getPropertyBag()\n\t\t\t\t.getObjectFromPropertyDefinition(\n\t\t\t\t\t\tAppointmentSchema.AdjacentMeetingCount).toString()));\n\t}", "title": "" }, { "docid": "5dfe5d0aec411e1cc180c805d036afc0", "score": "0.5648227", "text": "int getParticipantsCount();", "title": "" }, { "docid": "5dfe5d0aec411e1cc180c805d036afc0", "score": "0.5648227", "text": "int getParticipantsCount();", "title": "" }, { "docid": "367d8337535fad487f61b6d1eefa3210", "score": "0.5634678", "text": "public int getNumberOfNewerOnUserActivities(Identity ownerIdentity, Long sinceTime);", "title": "" }, { "docid": "3fc7d61b46fb0036544986372929c75f", "score": "0.5611034", "text": "public void increase() {\r\n\t\t\tsynchronized (activity.getTaskTracker()) {\r\n\t\t\t\tactivity.getTaskTracker().count++;\r\n\t\t\t\tLog.d(LOGTAG, \"Incremented task count to \" + count);\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "c51862f990c21e75ca78c58cd38c4323", "score": "0.56105983", "text": "public int getInviteeIdsCount() {\n return inviteeIds_.size();\n }", "title": "" }, { "docid": "42b025cf6d6661bb845fefcf28f081d4", "score": "0.5594268", "text": "public int getInviteeIdsCount() {\n return inviteeIds_.size();\n }", "title": "" }, { "docid": "0d4ca87690d6fb993b8b827893df1c7f", "score": "0.5591914", "text": "public void incrementCount() {\n\t\tcount++;\n\t}", "title": "" }, { "docid": "c2c1dee87d1230c43fe41c2441a8777d", "score": "0.55670905", "text": "long getOwnedEntryCount();", "title": "" }, { "docid": "6c2d712e13befef8e775f30d192bb566", "score": "0.554583", "text": "public int getSignupByDayCount(int day) {\r\n\t\treturn signupByDayCountList.get(day);\r\n\r\n\t}", "title": "" }, { "docid": "199db5b3c55435a440d05db6b0fc6a31", "score": "0.55454737", "text": "int getAoisCount();", "title": "" }, { "docid": "9328523a44e56947409543760f476a83", "score": "0.5542027", "text": "private static int getFlightTakeOffCount()\r\n\t{\r\n\t\treturn flightTakeOffCounter;\r\n\t}", "title": "" }, { "docid": "a4a29708dab1044e4e889453f3e7a8ef", "score": "0.5535954", "text": "public void incrementCount(){\n count+=1;\n }", "title": "" }, { "docid": "810cf29486c35ceadbbda160b843b325", "score": "0.55125076", "text": "public void incEts() {\n ets++;\n }", "title": "" }, { "docid": "3d10490ca4f2d4deed01735325c18423", "score": "0.5511738", "text": "public void addCount()\r\n {\r\n bookCount++;\r\n }", "title": "" }, { "docid": "4df74656482bcdec73eaf925db328120", "score": "0.54990417", "text": "public int getNumberOfNewerOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity);", "title": "" }, { "docid": "f43d35ec2690acb2e941a777e1464cf1", "score": "0.5492321", "text": "long getReceivedEventsCount();", "title": "" }, { "docid": "041340de3418b5734b18f205389fe7cb", "score": "0.54684055", "text": "public void increaseCount(){\n myCount++;\n }", "title": "" }, { "docid": "16fd29f857491b7d7cd07a2a96fc0bd6", "score": "0.54571193", "text": "public String getCurrentConfirmedCount() {\n return currentConfirmedCount;\n }", "title": "" }, { "docid": "d7c9dcd0c32984e8b214861a9a19cc12", "score": "0.5449671", "text": "public void incA() {\n this.countA++;\n }", "title": "" }, { "docid": "344044455e5bb388abde3e5870fb7031", "score": "0.5441987", "text": "public static int numberOfEvents() {\n List<Events> listOfEvents = retrieveEvents();\n if (listOfEvents != null) {\n return listOfEvents.size();\n } else {\n return 0;\n }\n }", "title": "" }, { "docid": "a0d70b40686742c6d354fae163372ab3", "score": "0.5432193", "text": "public int getNumberOfNewerOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity);", "title": "" }, { "docid": "0d29ec288d0f0b17bcf86d51842b963a", "score": "0.5419319", "text": "public int getAnnounceCount() {\n\t\tCursor c = db.query(TABLE_TEACHER_ANNOUNCEMENT,\n\t\t\t\tnew String[] { KEY_ROW_ID }, null, null, null, null, null);\n\t\treturn c == null ? 0 : c.getCount();\n\t}", "title": "" }, { "docid": "867b4410e2d0659ba3032a16cf974f38", "score": "0.53953296", "text": "int getInCount();", "title": "" }, { "docid": "42ee3556c70da4d1f5bc77fcb2ef1add", "score": "0.539177", "text": "void incrementAddedCount() {\n addedCount.incrementAndGet();\n }", "title": "" }, { "docid": "4529e453ff53225297e51a28f6d8cd3c", "score": "0.53894544", "text": "public int getNumberOfActivitesOnActivityFeedForUpgrade(Identity ownerIdentity);", "title": "" }, { "docid": "288a1ba1d3da074e1407dc6e8cc82bb6", "score": "0.53826505", "text": "void incrementCount();", "title": "" }, { "docid": "1b5a7b18332774d234c79bad04b8b89a", "score": "0.53767616", "text": "public void setAttendanceCount(int attendanceCount) {\n this.attendanceCount = attendanceCount;\n }", "title": "" }, { "docid": "5f7c4b19119a5b85af7232b7127878bc", "score": "0.53761303", "text": "public static void incrementGuestRoomCount() {numGuestRooms++;}", "title": "" }, { "docid": "e1ea5bfc67796723fe4efc4ce8001239", "score": "0.5351528", "text": "int getUncommittedEventCount();", "title": "" }, { "docid": "ea9cadabd203ade25d248c78fd5440b2", "score": "0.5347711", "text": "int getActAmountCount();", "title": "" }, { "docid": "8f2a02631029506fc071f7764af1e979", "score": "0.5342197", "text": "public int counter (){\n return currentID;\n }", "title": "" }, { "docid": "8a7691d46d75fea085752b6680e2960f", "score": "0.53321224", "text": "public void incCount() { }", "title": "" }, { "docid": "c4adf0cb3351971dd6e692cdb9f7517e", "score": "0.532551", "text": "public void incrementNumAttacked( ){\n this.numAttacked++;\n }", "title": "" }, { "docid": "c63b4ecd6af3b877a185b8a8da7c2319", "score": "0.5319422", "text": "public synchronized void incrementCount() {\r\n\t\tcount++;\r\n\t\tnotifyAll();\r\n\t}", "title": "" }, { "docid": "dfed60cc42536069eb062a3cd8ff6649", "score": "0.5312679", "text": "public int getNumberOfOlderOnActivityFeed(Identity ownerIdentity, Long sinceTime);", "title": "" }, { "docid": "1c09ad4c755733e69fc6eb3151e7418f", "score": "0.53005934", "text": "int getAchieveInfoCount();", "title": "" }, { "docid": "369ae8af9378408589be59ea767101f1", "score": "0.5288882", "text": "public int getNumberOfUserActivities(Identity owner) throws ActivityStorageException;", "title": "" }, { "docid": "e631fd1d251745a770228401583e364e", "score": "0.52851284", "text": "@Override\n\tpublic int numberOfAccounts() {\n\t\treturn counter;\n\t}", "title": "" }, { "docid": "8a1973853deff81306456712fc5dfd92", "score": "0.5275476", "text": "public int getNumberOfOlderOnUserActivities(Identity ownerIdentity, Long sinceTime);", "title": "" }, { "docid": "691c6a27b9d99ebed370f580b8252070", "score": "0.52670944", "text": "private void appStartCountIncrease(int currentAppStartCount) {\n\t\tPrefs p = new Prefs(c);\n\t\tp.save(\"app_start_count\", currentAppStartCount + 1);\n\t}", "title": "" }, { "docid": "96f7481f0eb80aebb54a8bd083058417", "score": "0.52564627", "text": "int getDeliveriesCount();", "title": "" }, { "docid": "6ce6eb54f3dbee0d91a59399fe12cc3d", "score": "0.5247389", "text": "int getFriendCount();", "title": "" }, { "docid": "6ce6eb54f3dbee0d91a59399fe12cc3d", "score": "0.5247389", "text": "int getFriendCount();", "title": "" }, { "docid": "b4799a3f6867ac437d1a7b8564e7ac19", "score": "0.52448183", "text": "@Override\n\tpublic List<?> getNumberOfPatientPerDay() {\n\t\treturn ar.findAppointmentCount();\n\t}", "title": "" }, { "docid": "58c03ad138d2231d3ef2cb7f3317b52d", "score": "0.5244305", "text": "public int getTotalEvents() {\n\t\treturn totalEvents;\n\t}", "title": "" }, { "docid": "777dbcc8103bb9a05c2f8ded0e7eecef", "score": "0.5243557", "text": "public static void enemyWonInc(){\r\n\t\t_enemyWon++;\r\n\t}", "title": "" }, { "docid": "61ff1355af93912dc1836b977e24d4b0", "score": "0.52334464", "text": "public void incrMine() {\r\n\t\tthis.mineCount++;\r\n\t}", "title": "" }, { "docid": "7a5e9489f24848b28f1c2cae893a1dba", "score": "0.52230674", "text": "BigInteger getAddedEP();", "title": "" }, { "docid": "5a3e293485a329f5c2543d5f2262215a", "score": "0.5222502", "text": "public int getParticipantAmount() {\n\t\treturn Participants;\n\t}", "title": "" }, { "docid": "9f942e525c2f6e1b0cf34cd504c318f8", "score": "0.5220287", "text": "public void addToGroup(ParseUser invitee) {\n ParseRelation relation = group.getRelation(\"users\");\n relation.add(invitee);\n Integer num = group.getInt(\"userCount\");\n int addNum = num.intValue();\n addNum++;\n num = Integer.valueOf(addNum);\n group.put(\"userCount\", num);\n group.saveInBackground();\n\n }", "title": "" }, { "docid": "b536bf4e588a6e1fe253d3cead58c310", "score": "0.5215812", "text": "int getSeenInfoCount();", "title": "" }, { "docid": "d4d48abf0e0116fb6133b3efcef8164e", "score": "0.5215253", "text": "public void incrementNumExtendedRequests() {\n this.numExtendedRequests.incrementAndGet();\n }", "title": "" }, { "docid": "319ae953cc43711391efe8172b52ba97", "score": "0.5209995", "text": "public void zugInWerkstatt() {\n werkstatt++;\n }", "title": "" }, { "docid": "e55a837521872352579e4828f6fc226e", "score": "0.5204376", "text": "long getTotalAcceptCount();", "title": "" }, { "docid": "9754e5778bb8f85ea812c1ff2489a050", "score": "0.5204246", "text": "public void addPassenger() {\n\t\t\n\t\tsynchronized(this) {\n\t\t\tcurrentOccup++;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"Elevator \" + elevatorNum + \" total passenger count: \" + currentOccup);\n\t}", "title": "" }, { "docid": "69b1aa850f4077d1c34d907567f6fa81", "score": "0.52010995", "text": "private void updateEventAtCount(String postid,int newAttend){\n final String DB_NAME = \"testDB\";\n final String TABLE_NAME = \"EVENT\";\n try (Connection con = ConnectionTest.getConnection(DB_NAME);\n Statement stmt = con.createStatement();\n ) {\n String query = \"UPDATE \" + TABLE_NAME + \" SET eventAttendCount = \" +newAttend+ \" WHERE postID LIKE '\"+postid+\"'\";\n int r = stmt.executeUpdate(query);\n System.out.println(\"Update table \" + TABLE_NAME + \" executed successfully\");\n System.out.println(r + \" row(s) affected\");\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "3cdc56777c04d64e4b331fc1c78d0e44", "score": "0.51946443", "text": "public void incrementa(View view) {\n TextView mensagem = findViewById(R.id.Mensagem);\n count++;\n\n Integer i = new Integer(count);\n mensagem.setText(i.toString());\n\n }", "title": "" }, { "docid": "c2f807fc9c23996e3f9378a2467c5f7a", "score": "0.5187566", "text": "@Override\r\n\tpublic int fetchEmployeCount() {\n\t\treturn edao.getEmployeCount();\r\n\t}", "title": "" }, { "docid": "62595d20556a433ebefe7fbd19931210", "score": "0.5184339", "text": "@Override\n public void setCounterToInitialAmount() {\n UserPreferences.sharedInstance().setEventId(null);\n //reset timer to normal recording time\n timeCounter = UserPreferences.sharedInstance().recordTime() * 1000;\n }", "title": "" }, { "docid": "d1799147f53668fee3aff538eeeb3ae8", "score": "0.5177076", "text": "public int getNumberOfOlderOnUserActivities(Identity ownerIdentity, ExoSocialActivity baseActivity);", "title": "" }, { "docid": "f0e24bb5bc5a9724c08f3b33a7d4faeb", "score": "0.51735455", "text": "public void incrementDepartures() {\n numDepartures++; \n }", "title": "" }, { "docid": "c74afaa875b0bc475cc952d5129c8bc2", "score": "0.5173317", "text": "public int createAppointment(Appointment appointment) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "27d5a1e34a3e48c19ec8ec07276a19b9", "score": "0.51701075", "text": "public int getConflictingMeetingCount() throws NumberFormatException,\n\t\t\tServiceLocalException {\n\t\treturn (Integer.parseInt(this.getPropertyBag()\n\t\t\t\t.getObjectFromPropertyDefinition(\n\t\t\t\t\t\tAppointmentSchema.ConflictingMeetingCount).toString()));\n\t}", "title": "" }, { "docid": "2ee2fc2a68375da3d6beae432597a153", "score": "0.5169979", "text": "public Integer getFollowerCount() {\n return followerCount;\n }", "title": "" }, { "docid": "021159b0fe517dd843bf5c98abf528e6", "score": "0.5155503", "text": "int getDonatoriCount();", "title": "" }, { "docid": "d294693a7d3828704a28ebed645b9208", "score": "0.5152926", "text": "public void increase()\n {\n setCount(getCount() + 1);\n }", "title": "" }, { "docid": "dc3c2c29a0dc49e3ef2575a3d44349cc", "score": "0.5130835", "text": "void updateFrequencyCount() {\n //Always increments by 1 so there is no need for a parameter to specify a number\n this.count++;\n }", "title": "" }, { "docid": "0c49dd914d81421623d2504dd060619d", "score": "0.5125924", "text": "public int getPhoneNuber() {\r\n return phoneNuber;\r\n }", "title": "" }, { "docid": "1d8aceafa6f5dd6ec74da18f98855807", "score": "0.5125492", "text": "public String getAttendeeUserId() {\n\t\treturn attendeeUserId;\n\t}", "title": "" }, { "docid": "d11de89bdc7f4cc031b81d463a29e37d", "score": "0.5125006", "text": "public void addVote() {\n this.votes++;\n }", "title": "" }, { "docid": "ce70114a115495d9b0a6fbe0b585a5f1", "score": "0.5115577", "text": "public final void addToPendingCount(int paramInt)\n/* */ {\n/* 526 */ U.getAndAddInt(this, PENDING, paramInt);\n/* */ }", "title": "" }, { "docid": "3aacb1f2f615b81aa428e7af83fd429d", "score": "0.5114316", "text": "int getBadgeNumber();", "title": "" }, { "docid": "3aacb1f2f615b81aa428e7af83fd429d", "score": "0.5114316", "text": "int getBadgeNumber();", "title": "" }, { "docid": "6ffd5097a534d025d54fd0ebdfc8f3c6", "score": "0.51129186", "text": "private int getNumberOfCoffees() {\n return Integer.parseInt(((TextView)findViewById(R.id.quantity_text_view)).getText().toString());\n }", "title": "" }, { "docid": "7720a7b2b41e8e34e7b244ed70d7b0a3", "score": "0.5107954", "text": "public int getActiveUserCount() {\n return activeUserCount;\n }", "title": "" }, { "docid": "ea8be44b732f11eba569f431726104ca", "score": "0.51056474", "text": "public int getAmendmentCount(int paraId);", "title": "" }, { "docid": "c7002dcd546961718735c2d016cd1edb", "score": "0.5102602", "text": "public int getMemberId() {\n\t\treturn memberIDCounter++;\n\t}", "title": "" }, { "docid": "f2894989c97b37c14fd93b1fa9a0c123", "score": "0.5102121", "text": "public void setCurrentConfirmedCount(String currentConfirmedCount) {\n this.currentConfirmedCount = currentConfirmedCount;\n }", "title": "" }, { "docid": "201ffce61e1ebf96876a53b374306c1e", "score": "0.51010376", "text": "public int getNumberOfUpdatedOnActivityFeed(Identity owner, ActivityUpdateFilter filter);", "title": "" }, { "docid": "48d7b0497487710beb97f74d6a4c1ebf", "score": "0.51004267", "text": "public void defaultUpdateCount(AcProperty e)\n {\n }", "title": "" }, { "docid": "345dcffb958d2ae368825000f31d63ba", "score": "0.5095086", "text": "@Override\n\tpublic int getEnemyCount() {\n\t\treturn 0;//enNum;\n\t}", "title": "" }, { "docid": "6fe4bb08c5af7249ff128d96befdc560", "score": "0.5094714", "text": "public void addOccurence() {\n\t\tcount = count + 1;\n\t}", "title": "" }, { "docid": "22f8143249629808c63833fb473ff53b", "score": "0.50903815", "text": "public int getNumberOfOlderOnActivityFeed(Identity ownerIdentity, ExoSocialActivity baseActivity);", "title": "" } ]
fae843c57d2f9374e03fede7307c1ebb
Update list after remove
[ { "docid": "5891ddda20ac3b6bbd6fb56be6872e54", "score": "0.0", "text": "private void updateNewsBookmarkUrlList(ArrayList<String> bookMarkList){\n tinydb.remove(NEWS_BOOKMARKED_LIST_KEY);\n tinydb.putListString(NEWS_BOOKMARKED_LIST_KEY,newsBookMarkedList);\n }", "title": "" } ]
[ { "docid": "dc51cdbe99b1f0d9740fb9762c9baf0e", "score": "0.68562627", "text": "@Override\n\tpublic void updateList() {\n\n\t}", "title": "" }, { "docid": "9513fc1ec764f97d902aa71ef56d53d5", "score": "0.677284", "text": "public void deleteList(){\r\n\t\torigin=null;\r\n\t\tend=null;\r\n\t}", "title": "" }, { "docid": "f2484f5547c8116f4e2c5f7cc42bec07", "score": "0.6718327", "text": "private void removeAndUpdate(final List<Integer> path) {\n updateResult(path);\n if (path.size() > 0) {\n path.remove(path.size() - 1);\n }\n }", "title": "" }, { "docid": "8ce7e9b1128fa80a9f0f215e35e52b43", "score": "0.67033625", "text": "private static void notifyList(RemovedMsg msg) {\n\t\tfor (Worker worker : removeList) {\n\t\t\tworker.update(msg);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "de389014006a23c4979be482ed1af92d", "score": "0.6668412", "text": "protected abstract void onRemove();", "title": "" }, { "docid": "368f248d77efc3a88141402bc4f0d52f", "score": "0.664387", "text": "public void deleteList()\n {\n }", "title": "" }, { "docid": "bf793429a1b7a3a2414ab1967c1dff5e", "score": "0.66210395", "text": "public void removeFromList(Syncable s) {\n\t\tlist.remove(s);\n\t}", "title": "" }, { "docid": "6f776b06e3d8d5c1a427ab7cbe7bda33", "score": "0.6610987", "text": "public void remove(){}", "title": "" }, { "docid": "d6f76a3c6464d2c987d3bf8f192bef5e", "score": "0.6609665", "text": "@Override\n\t\t\tpublic void remove(){\n\t\t\t}", "title": "" }, { "docid": "6689c940431d6c9769e47f6c03ecb53c", "score": "0.65971154", "text": "void remove();", "title": "" }, { "docid": "6689c940431d6c9769e47f6c03ecb53c", "score": "0.65971154", "text": "void remove();", "title": "" }, { "docid": "6689c940431d6c9769e47f6c03ecb53c", "score": "0.65971154", "text": "void remove();", "title": "" }, { "docid": "1a1ce379586a6c83cebb27302953bfd7", "score": "0.65869606", "text": "public void remove() {\n\t\t\n\t}", "title": "" }, { "docid": "1a1ce379586a6c83cebb27302953bfd7", "score": "0.65869606", "text": "public void remove() {\n\t\t\n\t}", "title": "" }, { "docid": "18831e159f2bf9627065b21928f13201", "score": "0.656837", "text": "public void realTimeRemover(List<News> currentNews);", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6552965", "text": "public void remove();", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6552965", "text": "public void remove();", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6552965", "text": "public void remove();", "title": "" }, { "docid": "addeea225f06f7dfdb0c457c30bfe57c", "score": "0.6546679", "text": "public void remove(){\n }", "title": "" }, { "docid": "c4caef44c6dd57d0dcb78c34d7b12c55", "score": "0.65417814", "text": "public void updateDroppableObjectsArrayList()\n {\n SecureRandom rand = new SecureRandom();\n\n if(droppableObjects != null && !droppableObjects.isEmpty())\n {\n for(GenericObject element : droppableObjects)\n {\n int removeObjectRate = rand.nextInt((int)(element.getDropRate() * 100));\n int keepObjectRate = rand.nextInt((int)(element.getDropRate() * 100));\n int keepObjectBonus = rand.nextInt((int)((element.getDropRate() * 100) / 3));\n \n if(removeObjectRate >= keepObjectRate + keepObjectBonus)\n {\n droppableObjects.remove(element);\n }\n }\n }\n }", "title": "" }, { "docid": "7178d67fc1c41988a589cd8a6bfaf7b9", "score": "0.6516772", "text": "public void remove() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "12c4003874250dc1e2cce4645ac9d5b1", "score": "0.6504226", "text": "@Override\n\tpublic void remove() {\n\t\t\n\t}", "title": "" }, { "docid": "12c4003874250dc1e2cce4645ac9d5b1", "score": "0.6504226", "text": "@Override\n\tpublic void remove() {\n\t\t\n\t}", "title": "" }, { "docid": "12c4003874250dc1e2cce4645ac9d5b1", "score": "0.6504226", "text": "@Override\n\tpublic void remove() {\n\t\t\n\t}", "title": "" }, { "docid": "c2fdee1ab3b10b9a470c6b497c6dc93f", "score": "0.64806825", "text": "@Override\n public void remove() {\n\n }", "title": "" }, { "docid": "41b69dbff15a49407eb57f0fa4d57181", "score": "0.64681184", "text": "public void remove(){\n removed = true;\n }", "title": "" }, { "docid": "2e2f73c16075bd97b966d1e6c72d49d4", "score": "0.6460055", "text": "@Override\n\tpublic void remove() {\n\n\t}", "title": "" }, { "docid": "1dcb79801cce3818543dd7244a888596", "score": "0.64426523", "text": "@Override\n void remove();", "title": "" }, { "docid": "be7dd68e1a1a106786bd902829cd9257", "score": "0.64288986", "text": "void doDelete() {\r\n\t\tint idx = list.items.indexOf(list.selected);\r\n\t\tif (idx >= 0) {\r\n\t\t\t\r\n\t\t\tFile f = new File(\"save/\" + commons.profile.name + \"/\" + list.selected.name);\r\n\t\t\tif (f.delete()) {\r\n\t\t\t\tlist.items.remove(idx);\r\n\t\t\t\t\r\n\t\t\t\tidx = Math.min(idx, list.items.size() - 1);\r\n\t\t\t\tif (idx >= 0) {\r\n\t\t\t\t\tlist.selected = list.items.get(idx);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlist.selected = null;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.err.println(\"Could not delete \" + f);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d7fe5c59bdd08138d1e1874edd215997", "score": "0.6422682", "text": "public void remove() {\n markedForRemoval = true;\n }", "title": "" }, { "docid": "ef0e85ca314d3ec069e0e0d2cddedf52", "score": "0.6420583", "text": "private void processMessageRemoveList(MessageRemoveList message) {\n\t\tif (!message.getSenderLauncherId_REMOVE_LIST().equals(\n\t\t\t\tlauncher.getLauncherId())) {\n\n\t\t\tString contextKey = message.getContextKey_REMOVE_LIST();\n\t\t\tObject o = message.getListValue_REMOVE_LIST();\n\t\t\tcontextListData.updateListForRemove(contextKey, o);\n\n\t\t}\n\t}", "title": "" }, { "docid": "56ffd33ba95651e7a8d58e22d7c85469", "score": "0.6410866", "text": "@Override\n public void remove() {\n }", "title": "" }, { "docid": "c0f61eccf9191ae1c28d5c664b4825b1", "score": "0.64105004", "text": "@Override\n\tpublic List<E> remove() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2647f349e3876fcf5bbac38db45efa97", "score": "0.6407539", "text": "public void remove() {\n }", "title": "" }, { "docid": "2647f349e3876fcf5bbac38db45efa97", "score": "0.6407539", "text": "public void remove() {\n }", "title": "" }, { "docid": "968d1f94d83a6daba510f3af9928d540", "score": "0.6406303", "text": "@Override\n public void remove()\n {\n }", "title": "" }, { "docid": "efcab5e3796e4b00d7bbb057b040589b", "score": "0.64037424", "text": "public void remove() {\n if ((current > 0) && (current <= ordered.size())) {\n\n HashedList.this.remove(current - 1);\n\n // If we just removed the last entry, then we need\n // to go back one.\n if (current > 0) {\n current -= 1;\n }\n }\n }", "title": "" }, { "docid": "7ffc5395f3b75e17c06820eccf000f71", "score": "0.63949114", "text": "void remove( );", "title": "" }, { "docid": "cc9d748f67cdd4ecf6c7e7ad072d6ff5", "score": "0.6391609", "text": "public void remove() {\n\t }", "title": "" }, { "docid": "34096261f27755c91eaba54dff95f89c", "score": "0.6383078", "text": "public void remove_the_instruction_form_the_dispatch_list_and_update_counter(int element_in_the_issue_that_was_moved_to_array_list) \r\n\t{\n\t\t\r\n\t\tthis.issue_list.remove((Object)(element_in_the_issue_that_was_moved_to_array_list));\r\n\t\t\r\n\t\tthis.schedule_counter--;\r\n\r\n\t}", "title": "" }, { "docid": "5b2917bad4d83eea6d2d00cc19f28b52", "score": "0.63815826", "text": "@Override public void remove() {\n\t}", "title": "" }, { "docid": "5ceefb9021a170bb2b9f44d1b35b8bbd", "score": "0.6379666", "text": "public void updateList() {\n updateGluedStickerCount();\n new LongOperation().execute(\"\");\n }", "title": "" }, { "docid": "0bb8d0d7d1248be089b34752c1cc6b32", "score": "0.6363227", "text": "@Override\n\t\tpublic void remove() {\n\t\t}", "title": "" }, { "docid": "d75a17a2aa8961b4c6ff857ff271376c", "score": "0.63571423", "text": "public void remove() {\n\t\tremoved = true;\n\t}", "title": "" }, { "docid": "0499c4163784b29d14da560727c49675", "score": "0.63546306", "text": "public void remove() {\n }", "title": "" }, { "docid": "6999c2cfd0dcb2ed06265d2d25bf4da0", "score": "0.6348796", "text": "@Override\n public void remove() {\n ShortStore.listPlayer.clear(); \n }", "title": "" }, { "docid": "87316fcee29b9712461fe27973cb8f3b", "score": "0.63353205", "text": "public static void main(String[] args) {\n List list= new ArrayList<>();\n List l=Collections.synchronizedList(list);\n list.add(\"Prakhar\");\n list.add(1);\n list.add(4);\n list.add(\"CL\");\n list.add(\"Prakhar\");\n list.add(null);\n\n\n System.out.println(\"List:\");\n System.out.println(list);\n \n \n \n System.out.println(\"remove:\");\n list.lastIndexOf(\"Prakhar\");\n \n System.out.println(list);\n}", "title": "" }, { "docid": "5063916a62ea3f4991d962d8a786878d", "score": "0.6333865", "text": "private void delHistoryLink(int i) {\n list.remove(i);\n uson.putList(list);\n myRecyclerAdapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "20d51f85a80083278ac8c778a5713e87", "score": "0.6333341", "text": "public void remove()\n\t{\n\n\t}", "title": "" }, { "docid": "d9a67c5e8e2a8cdada16e86e69c3d297", "score": "0.6332101", "text": "private void clearRemoved() {\n removed_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();\n }", "title": "" }, { "docid": "23f02ce501dd372bb0b76d1d21c9d88a", "score": "0.6326161", "text": "public void remove()\n\t{\n\t}", "title": "" }, { "docid": "01fd4e3a806401d56de62ecc8e22df9e", "score": "0.631544", "text": "public final void removedFromList() {\n\t\tnext = null;\n\t\t// we need to clear the pre link also, otherwise it is a mem leak,\n\t\t// there are canceled timer tasks hold by the timer thread, that link via the prev\n\t\t// reference to all other entries previously evicted!\n\t\tprev = null;\n\t}", "title": "" }, { "docid": "87f6cdc7dd82909eae1d04138e921bed", "score": "0.6297459", "text": "public abstract void removed ();", "title": "" }, { "docid": "2562bbc95c4f8157a0b5b7034f27203a", "score": "0.62782997", "text": "public void remove(List entidades);", "title": "" }, { "docid": "f6d7fe6c972327a9204d483bba8b8812", "score": "0.6275218", "text": "private void testListRemoval() {\n\t\tList<String> list = new ArrayList<>(Arrays.asList(\"un\", \"un\", \"un\", \"deux\"));\n\t\tSystem.out.println(\"Initial list: \" + list.toString());\n\t\t// Removes the first found\n\t\tlist.remove(\"un\");\n\t\tSystem.out.println(\"After removal of first found \\\"un\\\": \" + list.toString());\n\n\t\t// Remove all instances of \"un\"\n\t\tlist = new ArrayList<>(Arrays.asList(\"un\", \"un\", \"un\", \"deux\"));\n\t\tlist.removeAll(Collections.singleton(\"un\"));\n\t\tSystem.out.println(\"After removal of all occurences of \\\"un\\\": \" + list.toString());\n\n\t\ttry {\n\t\t\t// this does not create an ArrayList but creates a wrapper that is\n\t\t\t// backed by the initial array\n\t\t\tList<String> list2 = Arrays.asList(\"un\", \"un\", \"un\", \"deux\");\n\t\t\t// So trying to remove an element will throw an Unsupported\n\t\t\t// operation exception, the above\n\t\t\t// See for more information\n\t\t\t// https://stackoverflow.com/questions/16748030/difference-between-arrays-aslistarray-vs-new-arraylistintegerarrays-aslist\n\t\t\tlist2.remove(\"un\");\n\t\t} catch (UnsupportedOperationException e) {\n\t\t\tSystem.out.println(\"Expected error happened: \" + e.getClass().getName());\n\t\t}\n\t}", "title": "" }, { "docid": "eb78f9b6c20cdd966ac737287c93654c", "score": "0.62282735", "text": "public void remove() {\n\t\tif (!removeOK) {\n\t\t\tthrow new IllegalStateException();\n\t\t}\n\t\tlist.remove(position - 1);\n\t\tposition--;\n\t\tremoveOK = false;\n\t}", "title": "" }, { "docid": "805436a6e3feb6f4ba4e44db1b72ae32", "score": "0.62262374", "text": "@Override\npublic void remove() {\n\t\n}", "title": "" }, { "docid": "3dd206f65b4585406c58a0135a1f72e2", "score": "0.62138397", "text": "void clearList();", "title": "" }, { "docid": "5f1f33ee3f9f68cba8dd1f06ad5bddb2", "score": "0.62040377", "text": "public static void testingRemove()\n\t{\n\t\tSortedListRefBased list = new SortedListRefBased();\n\n\t\tSystem.out.println(\"\\n\\t*Testing remove*\");\n\t\tlist.insert(new Integer(5));\n\t\tlist.insert(new Integer(4));\n\t\tlist.insert(new Integer(3));\n\t\tlist.insert(new Integer(2));\n\t\tlist.insert(new Integer(1));\n\t\tSystem.out.println(\"Removing first number out of the list:\");\n\t\tSystem.out.println(\"Before:\");\n\t\tlist.printList();\n\t\tSystem.out.println(\"After:\");\n\t\tlist.remove(1);\n\t\tlist.printList();\n\t\t\n\t\tSystem.out.println(\"Removing random number out of the list:\");\n\t\tSystem.out.println(\"Before:\");\n\t\tlist.printList();\n\t\tSystem.out.println(\"After:\");\n\t\tlist.remove(3);\n\t\tlist.printList();\n\t\t\n\t\tSystem.out.println(\"Removing last number out of the list:\");\n\t\tSystem.out.println(\"Before:\");\n\t\tlist.printList();\n\t\tSystem.out.println(\"After:\");\n\t\tlist.remove(5);\n\t\tlist.printList();\n\t\t\n\t}", "title": "" }, { "docid": "17bd60429a138a2c5c9a4a7d0bd4fb54", "score": "0.6199447", "text": "@Override\n public void stateChanged(ChangeEvent e) {\n this.removeAll();\n this.addLists();\n }", "title": "" }, { "docid": "c51cf5a9eb06eae755b007aa8b6e0d4a", "score": "0.6193031", "text": "public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "54ddaf235063b1cdafe98093ec66a466", "score": "0.6178236", "text": "public void deletCreatedList() {\r\n\r\n\t\tclickOptions();\r\n\r\n\t\tmarkAllItems();\r\n\r\n\t\tclickOptions();\r\n\r\n\t\tdeleteList();\r\n\r\n\t\thandleAlert();\r\n\r\n\t}", "title": "" }, { "docid": "316bc24c7d31e33b3dbfb88245d5b1d5", "score": "0.61765516", "text": "V remove();", "title": "" }, { "docid": "d1207b4ad351ab524a6ada35ecb04149", "score": "0.6156371", "text": "public void remove()\n\t\t{\n\t\t}", "title": "" }, { "docid": "a911ee11d74b78a3ea5073eac2a015e3", "score": "0.61541986", "text": "public void remove( int id ){\n for( Struct obj: list ){\n if(obj.processId == id){\n list.remove(obj);\n //Collections.sort(list);\n break;\n }\n }\n }", "title": "" }, { "docid": "9b632cabe711358c8c777d11dec77fe0", "score": "0.6153351", "text": "public static void remove(Handler list) {\r\n\t\t\tint index;\r\n\r\n\t\t\tlist.printAll(); \r\n\t\t\tSystem.out.print(\"Number of Task to delete: \");\r\n\t\t\tindex = keyboard.nextInt();\r\n\t\t\tkeyboard.nextLine();\r\n\r\n\t\t\tlist.deleteTask(index - 1);\r\n\t\t}", "title": "" }, { "docid": "98c5d1e5dfc4ad6155f43b100a22dd16", "score": "0.6150295", "text": "void resetList();", "title": "" }, { "docid": "79d0d22a6732204a39a37742f1b9cbdf", "score": "0.614891", "text": "void deleteList() {\n head = null;\n }", "title": "" }, { "docid": "a7e5d2be37525737b323e2433e7bcf1c", "score": "0.6141103", "text": "Collection<E> removed();", "title": "" }, { "docid": "7a407cff26040d3d69dc9a49c6a57f7e", "score": "0.61296546", "text": "@Override\n protected void onRemove() {\n\n }", "title": "" }, { "docid": "e3b41f4705f1ee9e3f9e41010919b61f", "score": "0.61253965", "text": "public void removeFromList(Cell theCell) {\r\n\t\ttheCell.resetDependencyList();\r\n\t\ttheCell.decrementInDegree();\r\n\t\ttheCells.remove(theCell);\r\n\t}", "title": "" }, { "docid": "4c2d46a88915dcbb58a0de807be039fe", "score": "0.6121841", "text": "public void remove(Post data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "df0569a7d46d126bed70030433649dbc", "score": "0.6120818", "text": "@Override\r\n\t\tpublic void remove() {\r\n\t\t\tthrow new ConcurrentModificationException(\r\n\t\t\t\t\t\"ILLEGAL OPERATION ATTEMPTED...remove()\");\r\n\t\t}", "title": "" }, { "docid": "079a24083347a95e198b8af2065f7a85", "score": "0.6116963", "text": "void markRemoved() {\n\t\tremoved = true;\n\t}", "title": "" }, { "docid": "b9ac198bedeb16f79b014a436ab80c07", "score": "0.6114214", "text": "public void update()\n {\n for (int i=0; i < itemArray.size; i++)\n {\n if(this.itemArray.get(i).isCollected())\n {\n itemArray.get(i).deleteItem();\n itemArray.removeIndex(i);\n }\n }\n \n //Delete tomb stone if collected\n for (int i=0; i < tombArray.size; i++)\n {\n if(this.tombArray.get(i).isCollected())\n {\n tombArray.get(i).deleteItem();\n tombArray.removeIndex(i);\n }\n }\n \n //Delete coins if collected\n for (int i=0; i < coinArray.size; i++)\n {\n if(this.coinArray.get(i).isCollected())\n {\n coinArray.get(i).deleteItem();\n coinArray.removeIndex(i);\n }\n }\n \n }", "title": "" }, { "docid": "45a4aa1a6d9862e8f84ea9cc299927bd", "score": "0.61138934", "text": "private void removeUpdated(int index) {\n ensureUpdatedIsMutable();\n updated_.remove(index);\n }", "title": "" }, { "docid": "8bce69fae9594589aba94e56439e5f75", "score": "0.61135304", "text": "protected native void remove();", "title": "" }, { "docid": "9a499992e8e31b1f4cda3fe627369421", "score": "0.61034274", "text": "protected void remove() {\n previous.next = next;\n next.previous = previous;\n }", "title": "" }, { "docid": "0632fa540eab48da06a3a50c5bd5677b", "score": "0.6100682", "text": "public final void removeParticipant(final WatchableList theList)\r\n {\r\n // there isn't a remove button for the primary track,\r\n // so the user must have clicked on the secondary\r\n _theSecondary.removeElement(theList);\r\n\r\n // update the time period of the stepper\r\n _theStepper.removeParticpant(theList);\r\n\r\n // and update the screen\r\n updateToteMembers();\r\n }", "title": "" }, { "docid": "e29711d76d28ecaee1c28d5ab44df96d", "score": "0.60904896", "text": "private void updateList() {\n cl = new CarList(lv, getBaseContext(), Utils.getCarsInTown(sCurrentTown));\n cl.resetList();\n }", "title": "" }, { "docid": "1d39c643e2ff50f80697195b4137ae0b", "score": "0.6086291", "text": "private void resetList() {\n \n SwingUtilities.invokeLater(new Runnable() {\n\n @Override\n public void run() {\n listElements.removeAllElements();\n }\n });\n \n }", "title": "" }, { "docid": "c5c91d36af02e55ac247ef98a75e509b", "score": "0.6085521", "text": "public void remove()\n {\n super.remove();\n\n }", "title": "" }, { "docid": "d758066bf33bf6c5618978ac70a6ce63", "score": "0.60812265", "text": "private void updateGameObjectList(){\n\t\tfor(int c=gameObjects.size()-1; c>=0; c--){\n\t\t\tGameObject2D obj = gameObjects.get(c);\n\t\t\tif(obj.isDestroy()){\n\t\t\t\tobjectDestroyReport(obj);\n\t\t\t\tremoveGameObject(obj);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "7390167c87f1ca5b1ed05b1643dd0b63", "score": "0.6075544", "text": "@Test (timeout=5000)\n public void testRemove_Object() throws Exception {\n String name = \"testRemove_Object()\";\n JCSyncArrayList<Integer> list1;\n JCSyncArrayList<Integer> list2; \n ArrayList<Integer> al = new ArrayList<Integer>();\n al.add(100);\n al.add(150);\n al.add(250);\n al.add(350);\n al.add(450);\n al.add(550);\n SharedCollectionObject so_1;\n SharedCollectionObject so_2;\n list1 = new JCSyncArrayList<Integer>(); \n list2 = new JCSyncArrayList<Integer>(); \n so_1 = new SharedCollectionObject(name, list1, core);\n so_2 = (SharedCollectionObject) SharedCollectionObject.getFromOverlay(name, core2);\n list2 = (JCSyncArrayList<Integer>) so_2.getNucleusObject();\n assertEquals(list1, list2);\n assertTrue(list2.size()==0);\n list2.addAll(al);\n Thread.sleep(500); \n boolean fr = list1.remove(new Integer(250));\n assertTrue(fr);\n Thread.sleep(500);\n assertTrue(list2.get(2)==350);\n fr = list2.remove(new Integer(111));\n assertFalse(fr);\n }", "title": "" }, { "docid": "c419d7e8503e12574579059544db319e", "score": "0.60745543", "text": "@Override\n\t\t\t\t\t\t\tpublic void onDeleteFinished() {\n\t\t\t\t\t\t\t\tMessage message = mHandler\n\t\t\t\t\t\t\t\t\t\t.obtainMessage();\n\t\t\t\t\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\t\t\t\t\tbundle.putIntegerArrayList(\"position\",\n\t\t\t\t\t\t\t\t\t\t(ArrayList<Integer>) posList);\n\t\t\t\t\t\t\t\tmessage.setData(bundle);\n\t\t\t\t\t\t\t\tmessage.what = MSG_UPDATE_LIST;\n\t\t\t\t\t\t\t\tmessage.sendToTarget();\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "104a1e091e88d23ff9bfb9a8302d0746", "score": "0.60729104", "text": "@Override\n public void remove(T removeItem) {\n\n }", "title": "" }, { "docid": "a446daf91a38faa751b6e3d27fee28fc", "score": "0.6061025", "text": "java.util.List<String>\n getRemovedList();", "title": "" }, { "docid": "7621f645f7e50833eedf50e743a547d0", "score": "0.6055679", "text": "public void remove() {\n\t\t\tSkipList.this.remove(loc);\n\t\t}", "title": "" }, { "docid": "1dc344ae76c8e1a275f02cee05d642b3", "score": "0.60475767", "text": "@Override\n public final void remove() {\n if (logB.isDebugEnabled()) {\n logB.debug(this.name + \".remove : enter\");\n }\n boolean doRemove = true;\n try {\n doRemove = onRemoveValue(get());\n } catch (final RuntimeException re) {\n logB.error(this.name + \".remove : failure : \", re);\n }\n if (doRemove) {\n super.remove();\n }\n\n if (DIAGNOSTICS) {\n logB.error(this.name + \".remove : caller : \", new Throwable());\n }\n\n removeCounter.incrementAndGet();\n if (logB.isDebugEnabled()) {\n logB.debug(this.name + \".remove : exit\");\n }\n }", "title": "" }, { "docid": "5418601c3eba089ec1072b3427d0a4e0", "score": "0.60408103", "text": "boolean remove();", "title": "" }, { "docid": "d1bff8b2af1ab6460747a5eff2b8da04", "score": "0.60337824", "text": "public void removeRecord(ArrayList<String> lst) {\n //TODO, how will i remove these\n }", "title": "" }, { "docid": "05224da231d479e7a8c55d3bac0f8c75", "score": "0.6032737", "text": "void notifyRemoveAt(int position);", "title": "" }, { "docid": "4b806771a7b653fc328aa53ce8829194", "score": "0.6029783", "text": "public void clear()\n {\n list.clear(); \n }", "title": "" }, { "docid": "be91a4ee28a6254bf5c8d84369e1e90b", "score": "0.6026892", "text": "private void updateItems()\n {\n Iterator<Item> itemIterator = items.iterator();\n while (itemIterator.hasNext())\n {\n Item item = itemIterator.next();\n item.update();\n if (item.isPickedUp())\n {\n itemIterator.remove();\n }\n }\n }", "title": "" }, { "docid": "e30a6a73dd21b627ba5f3c25273a0946", "score": "0.6025898", "text": "public void remove() {\n if (!removeOK)\n throw new IllegalStateException();\n list.remove(position - 1);\n position--;\n removeOK = false;\n }", "title": "" }, { "docid": "58e55376903f6d9b49faff562be128b6", "score": "0.6004072", "text": "public void cleanMemeory(){\n\t\ttry {\n\t\t\tremLock.acquire();\n\t\t\tlock.acquire();\n\t\t\tfor(PCB ele : remove){\n\t\t\t\tif(ele.getAddress() != -1)\n\t\t\t\t\tRAM.getInstance().removeJob(ele);\n\t\t\t}\n\t\t\n\t\t\tremove = new ArrayList<>();\n\t\t\tlock.release();\n\t\t\tremLock.release();\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.out.println(\"ERROR\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "f368143396f438dc634013a397b9889c", "score": "0.59988457", "text": "public List<T> remove(final long id);", "title": "" }, { "docid": "f9537a061d2b0276f6393557390b7501", "score": "0.5997314", "text": "private void deleteListData(long rowId){\n\t\tint listID = listItems.get((int)rowId).getId();\n DBOperationsHandler dboper = new DBOperationsHandler();\n listItems.remove((int)rowId);\n dboper.deleteList(this, listID);\n ((ListArrayAdapter)list.getAdapter()).notifyDataSetChanged();\t\n\t}", "title": "" }, { "docid": "f495ec9bfcc66e6bf90ba2ca4e33f51e", "score": "0.59943306", "text": "@Override\n\tpublic List<PersonDetails> removePerson1(List<PersonDetails> list, String name) { //method to remove stock from file\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).getFname().equalsIgnoreCase(name)) { //matching user input in list\n\n\t\t\t\tlist.remove(i);\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}", "title": "" }, { "docid": "656e311ed175b8c27141ed03c0ee3fc4", "score": "0.59882927", "text": "private static void notifyList(DeleteMsg msg) {\n\t\tfor (Worker worker : deleteList) {\n\t\t\tworker.update(msg);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "ccd4d413b592b50072486a08e5265c74", "score": "0.5988239", "text": "public boolean remove();", "title": "" } ]
d42c3e56d8e0da19a7f8b3619d1de743
True if has "resolution" attribute
[ { "docid": "4c783bfdf0ea5f2c57cb3336fd52dbeb", "score": "0.7647066", "text": "boolean isSetResolution();", "title": "" } ]
[ { "docid": "29d1d386c667be3796a9228c8ac4c058", "score": "0.72188485", "text": "abstract public boolean validResolution(int resolution);", "title": "" }, { "docid": "0bb6c35f29e5fe7f3e3845b4e1694c72", "score": "0.6819945", "text": "boolean hasQuality();", "title": "" }, { "docid": "0bb6c35f29e5fe7f3e3845b4e1694c72", "score": "0.6819945", "text": "boolean hasQuality();", "title": "" }, { "docid": "0bb6c35f29e5fe7f3e3845b4e1694c72", "score": "0.6819945", "text": "boolean hasQuality();", "title": "" }, { "docid": "f6b86062e2b17a245fcd3d28898c3fa9", "score": "0.6708635", "text": "public Optional<Resolution> resolution() {\n return dimensions.resolution();\n }", "title": "" }, { "docid": "b7178213f74f31978e86f573661f3765", "score": "0.6679251", "text": "public boolean fixedResolution() {\n return useResolution;\n }", "title": "" }, { "docid": "74645b6669e83efa0d3e162378c43299", "score": "0.6675377", "text": "public String getResolution() {\n return resolution;\n }", "title": "" }, { "docid": "fd515e05a77109c4e9b5eb1a0ade2668", "score": "0.65342027", "text": "public int getResolution() {\n return resolution;\n }", "title": "" }, { "docid": "c438a53fd49655406dc62786d4cda855", "score": "0.65074337", "text": "public float getResolution() {\n return this.resolution;\n }", "title": "" }, { "docid": "80f5792922c01fe15cc3fe7e700b7966", "score": "0.64996344", "text": "boolean hasRes();", "title": "" }, { "docid": "738233b56250b77c3880bae4dcc137e0", "score": "0.64350957", "text": "public double getResolution() {\n\t\treturn this.resolution;\n\t}", "title": "" }, { "docid": "883dcd8c16a5ae3f9889efbd9d94e43e", "score": "0.637546", "text": "boolean hasScale();", "title": "" }, { "docid": "eae19b22f7649cfe625bea42b71b2505", "score": "0.626896", "text": "public boolean hasQualityLimitationResolutionChanges() {\n return fieldSetFlags()[22];\n }", "title": "" }, { "docid": "17a99b7891e3e4216cfde9376a3c717c", "score": "0.61997545", "text": "public boolean isSetWidth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(WIDTH$50) != null;\n }\n }", "title": "" }, { "docid": "808cef01e827caa39e8296a580607985", "score": "0.61974883", "text": "public Point getResolution() {\n\t\t\n\t\treturn resolution;\n\t}", "title": "" }, { "docid": "4beb4d0c4ba14e5c9d030d0f01cd2c7c", "score": "0.6197396", "text": "float getResolution();", "title": "" }, { "docid": "dc57a4206f17feea32f9296f958a520c", "score": "0.6190183", "text": "public boolean hasMetric() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "01ddcaa9e00ad58eb26d838a557ceef6", "score": "0.6188734", "text": "boolean hasEnhancedMeasurementSettings();", "title": "" }, { "docid": "01f066f09d2607b623f5e42e11b43ecd", "score": "0.61608416", "text": "boolean hasImgWidth();", "title": "" }, { "docid": "de49d2d853a2b4a1c8c0b331bfbb5064", "score": "0.6125535", "text": "boolean hasPackageMetrics();", "title": "" }, { "docid": "f352b1078d0b467e959d416805923461", "score": "0.6116171", "text": "public Dimension getResolution();", "title": "" }, { "docid": "bc02d3c40dc11e4b2fe57167b36b4117", "score": "0.6112696", "text": "boolean hasMetaData();", "title": "" }, { "docid": "becfe1ec58c0c32e595f1916b42c3912", "score": "0.61101276", "text": "public boolean hasMetric() {\n return fieldSetFlags()[3];\n }", "title": "" }, { "docid": "89ca37171695e872dd57dc06211a6029", "score": "0.6108339", "text": "boolean hasTargetMetrics();", "title": "" }, { "docid": "c91067cfdac72a5d81de2cdf5f94d97c", "score": "0.606761", "text": "boolean isResearchscale();", "title": "" }, { "docid": "23b030c52fd947089fa5c8e0b00d5b7f", "score": "0.60521454", "text": "@NonNull\n public ResolutionFeature getResolution() {\n return (ResolutionFeature) Objects.requireNonNull(featureMap.get(RESOLUTION));\n }", "title": "" }, { "docid": "c78722e2552db792b0fc623d3113e577", "score": "0.60462785", "text": "@Override\n /*@return String resolution, the resolution of the screen.*/\n public String getResolution() {\n return resolution;\n }", "title": "" }, { "docid": "b81c98ac378ce06de3fca5973b4b65e1", "score": "0.6045551", "text": "boolean hasMetadata();", "title": "" }, { "docid": "b81c98ac378ce06de3fca5973b4b65e1", "score": "0.6045551", "text": "boolean hasMetadata();", "title": "" }, { "docid": "4af5708671c701acf553053f95afbc55", "score": "0.6039318", "text": "boolean hasBuildMetrics();", "title": "" }, { "docid": "4af5708671c701acf553053f95afbc55", "score": "0.6039318", "text": "boolean hasBuildMetrics();", "title": "" }, { "docid": "7c4d4f3e40a76fe5e485c0bbb121cb60", "score": "0.60180396", "text": "boolean hasMeasurand();", "title": "" }, { "docid": "ac2b33ce09eaabf9cd63c02dbaf34e74", "score": "0.5980854", "text": "boolean hasCustomMetric();", "title": "" }, { "docid": "43ee49f58b7fd609375382211eb17b6e", "score": "0.5957254", "text": "boolean isThumbnailSeries();", "title": "" }, { "docid": "44e93c6e4d49c92e50a122ce7773a199", "score": "0.59503907", "text": "boolean hasMetadataLocation();", "title": "" }, { "docid": "ca370efb1b2e958bb438f8b077b5875d", "score": "0.59289867", "text": "public boolean hasPackageMetrics() {\n return packageMetrics_ != null;\n }", "title": "" }, { "docid": "3d16c785c5679988f4c07f8539aa34f7", "score": "0.5921856", "text": "boolean hasThumbnail();", "title": "" }, { "docid": "3d16c785c5679988f4c07f8539aa34f7", "score": "0.5921856", "text": "boolean hasThumbnail();", "title": "" }, { "docid": "2b41f0d5c544f0098636f4956168305f", "score": "0.5918724", "text": "@Override\r\n\tpublic boolean checkResolution() {\n\t\tintoSecondLevel(2);\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "648ee68f9fe2147a95ba28d4ad1b9248", "score": "0.5913458", "text": "public boolean hasMetricDimension() {\n return fieldSetFlags()[0];\n }", "title": "" }, { "docid": "86576c2d4d6e6a2c4abf2406b9aafb78", "score": "0.5912567", "text": "boolean hasProperties();", "title": "" }, { "docid": "3e7a4a1d79c2473a300f49a629100de4", "score": "0.5904368", "text": "@Override\n public boolean isSet() {\n return publicationsLoaded;\n }", "title": "" }, { "docid": "0fc7c82e0839befee17b8d1b854705a6", "score": "0.58799374", "text": "public void setResolution(int resolution) {\n this.resolution = resolution;\n }", "title": "" }, { "docid": "d49b2f59b0f696ae7187da4ed11c21d3", "score": "0.58703667", "text": "public boolean hasMemoryMetrics() {\n return memoryMetrics_ != null;\n }", "title": "" }, { "docid": "2fd1b4c230447bed31c14644672e6010", "score": "0.58666444", "text": "public Boolean getDensityAvailable() {\n\t\treturn getBoolean(KEY_DENSITY_AVAILABLE);\n\t}", "title": "" }, { "docid": "e59baf77cce1eee2ebb0ec192b8fecf7", "score": "0.58479375", "text": "default boolean isImage() {\n return getHeight().isPresent();\n }", "title": "" }, { "docid": "efcff477f3fe8b6e723d3b38723863a7", "score": "0.58462", "text": "@Override\n public boolean isSet() {\n return attributionsLoaded;\n }", "title": "" }, { "docid": "7fabf83606763743281d5a0e3f8dd3f3", "score": "0.58407485", "text": "@JsOverlay public final Boolean getDetectRetina() {\n\t\treturn this.detectRetina;\n\t}", "title": "" }, { "docid": "21ede336d6eac5ac5e3a460ec00f73f8", "score": "0.5837743", "text": "private boolean useRegularPhotoSize() {\n DisplayMetrics displaymetrics = new DisplayMetrics();\n getActivity().getWindowManager().getDefaultDisplay().getRealMetrics(displaymetrics);\n return displaymetrics.widthPixels > 1080;\n }", "title": "" }, { "docid": "af46b2877dc6c0d187bf0dac31fe48a0", "score": "0.5837062", "text": "boolean hasResource();", "title": "" }, { "docid": "af46b2877dc6c0d187bf0dac31fe48a0", "score": "0.5837062", "text": "boolean hasResource();", "title": "" }, { "docid": "af46b2877dc6c0d187bf0dac31fe48a0", "score": "0.5837062", "text": "boolean hasResource();", "title": "" }, { "docid": "a39bec47e2ec4ab81c155ba8d877cefd", "score": "0.5836429", "text": "boolean hasMemoryMetrics();", "title": "" }, { "docid": "0c62ebbf557b849f5661e9b47a7df786", "score": "0.58296543", "text": "public boolean isThumbnail() {\n return thumbnail;\n }", "title": "" }, { "docid": "7f226e91b948bb55779efd669b1f603a", "score": "0.5800119", "text": "boolean hasImage();", "title": "" }, { "docid": "7f226e91b948bb55779efd669b1f603a", "score": "0.5800119", "text": "boolean hasImage();", "title": "" }, { "docid": "7f226e91b948bb55779efd669b1f603a", "score": "0.5800119", "text": "boolean hasImage();", "title": "" }, { "docid": "76746d53811b4deef66013c5c0efd115", "score": "0.5795371", "text": "private boolean isApplicable() {\n return getProperty()!=null;\n }", "title": "" }, { "docid": "56859f065f4b7ce759426381eb22ce6b", "score": "0.5794867", "text": "abstract public int getMinResolution();", "title": "" }, { "docid": "37af32cab169a4ac6bff6f853cfade35", "score": "0.5776753", "text": "@java.lang.Override\n public boolean hasProperty() {\n return resourceCase_ == 2;\n }", "title": "" }, { "docid": "ffe3f3ea858cb13cd51f5a8912a13d7b", "score": "0.57741296", "text": "public boolean isSetThumbnailUrl() {\n return this.thumbnailUrl != null;\n }", "title": "" }, { "docid": "19ba5e2489f13dcb79001558e6eee2bb", "score": "0.57735366", "text": "public Boolean getHasPicture() {\n return hasPicture;\n }", "title": "" }, { "docid": "ec8de53eb4c5406a6aa1a4f314da0207", "score": "0.5765249", "text": "boolean hasPicture();", "title": "" }, { "docid": "480ff499193d3e0f5f5bb818642cc9b5", "score": "0.5758472", "text": "boolean hasUsesMaterialProperty();", "title": "" }, { "docid": "38550cb5b82209cd824c41e67ba04336", "score": "0.57564425", "text": "public TimeDuration getResolution() {\n return resolution;\n }", "title": "" }, { "docid": "aeb01499bff26cdcae06c50ffece9928", "score": "0.5755434", "text": "public boolean isMetric()\n\t{\n\t\treturn isMetric;\n\t}", "title": "" }, { "docid": "3f12fa66f2c4e6da7f319d5bc9be9032", "score": "0.5755289", "text": "private boolean isScaled() {\n\t\treturn isScaled;\n\t}", "title": "" }, { "docid": "01102d7d2229cd1c8d5f56f2de8ca5ce", "score": "0.57450193", "text": "boolean hasImageLocation();", "title": "" }, { "docid": "32391f63077c5d2a8719f4699c5e4cac", "score": "0.5741044", "text": "@java.lang.Override\n public boolean hasMetadata() {\n return metadata_ != null;\n }", "title": "" }, { "docid": "32391f63077c5d2a8719f4699c5e4cac", "score": "0.5741044", "text": "@java.lang.Override\n public boolean hasMetadata() {\n return metadata_ != null;\n }", "title": "" }, { "docid": "04cb30fd009774940142e123627ac4d3", "score": "0.57359475", "text": "boolean hasAttributionSettings();", "title": "" }, { "docid": "f466a762b2c8016ccf5d617673392533", "score": "0.57292217", "text": "public boolean isSetSizes() {\n return this.sizes != null;\n }", "title": "" }, { "docid": "3a680701ca34e7ca976c9fb8e6fed0ae", "score": "0.57271945", "text": "public boolean isSetImage() {\n return this.image != null;\n }", "title": "" }, { "docid": "e1202847a751eb9d2c201a6755e5f0ed", "score": "0.5725272", "text": "@java.lang.Override\n public boolean hasProperty() {\n return resourceCase_ == 2;\n }", "title": "" }, { "docid": "6bc88b3ca53da68d76e84b89cc5ec9d5", "score": "0.57143265", "text": "public boolean hasBitmap() {\n return mBitmap != null;\n }", "title": "" }, { "docid": "bbc54aecef5d35966768ae5a61dd281c", "score": "0.5713445", "text": "public boolean hasTargetMetrics() {\n return targetMetrics_ != null;\n }", "title": "" }, { "docid": "d496e2a1131ff44b4fd198c6492c2636", "score": "0.5711239", "text": "boolean hasWidth();", "title": "" }, { "docid": "374645c6806ef2e38eae921c17dcda42", "score": "0.5700927", "text": "boolean hasFit();", "title": "" }, { "docid": "2aea1d0f5974d9f701602fec897f0a63", "score": "0.5699255", "text": "public boolean isSetMetadata()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(METADATA$6) != 0;\n }\n }", "title": "" }, { "docid": "6c277cfdb1572f0ce0b7187c8810a484", "score": "0.5690836", "text": "public boolean hasImage() {\n return _hasImage;\n }", "title": "" }, { "docid": "23fc52f01a0cb56b44ac8184fb94a01e", "score": "0.5684786", "text": "public boolean isResolved();", "title": "" }, { "docid": "8feeb40af152423d007d019bf88a9051", "score": "0.5683672", "text": "public boolean hasPackageMetrics() {\n return packageMetricsBuilder_ != null || packageMetrics_ != null;\n }", "title": "" }, { "docid": "95bbc84ab7a7b9beba8a869bb8e4960b", "score": "0.5681629", "text": "public boolean hasImgWidth() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "611aa67180940504afa78b8e9a2bdbbc", "score": "0.5678397", "text": "boolean isSetQualityControlFlags();", "title": "" }, { "docid": "5e59b8568d601d35a8c53e94950f3782", "score": "0.567792", "text": "boolean hasInfo();", "title": "" }, { "docid": "5e59b8568d601d35a8c53e94950f3782", "score": "0.567792", "text": "boolean hasInfo();", "title": "" }, { "docid": "1727b0868bfbd1397e2c9f83b0876570", "score": "0.5674355", "text": "public boolean isSetWidth() {\n return __isset_vector[__WIDTH_ISSET_ID];\n }", "title": "" }, { "docid": "7ab25526636afab65687aa7724f91e82", "score": "0.5672578", "text": "public boolean isSetStreamInfo() {\n return this.streamInfo != null;\n }", "title": "" }, { "docid": "7ab25526636afab65687aa7724f91e82", "score": "0.5672578", "text": "public boolean isSetStreamInfo() {\n return this.streamInfo != null;\n }", "title": "" }, { "docid": "7ab25526636afab65687aa7724f91e82", "score": "0.5672578", "text": "public boolean isSetStreamInfo() {\n return this.streamInfo != null;\n }", "title": "" }, { "docid": "e087a8e01bf00581ebdea69548aa8efa", "score": "0.56709844", "text": "public boolean hasImgWidth() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "e2f230cf592b639101b4add65fe58caa", "score": "0.56613714", "text": "private boolean needResize() {\n int current_orientation = this.getResources().getConfiguration().orientation;\n if ( last_orientation != current_orientation ) {\n return true;\n }\n if ( last_video_nb != mediaStreams.size() ) {\n return true;\n }\n for (MediaStream media : mediaStreams) {\n float ratio = media.getVideoRatio();\n SurfaceView view = media.getRender();\n float current_ratio = (float)view.getWidth() / view.getHeight();\n if ( (int)(ratio *100) != (int)(current_ratio *100) ) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "7c3729290f5216bc17f02f2623b57c56", "score": "0.56600064", "text": "boolean hasRatePerMeter();", "title": "" }, { "docid": "938a7362dbd95308566b588b5c2e5a0c", "score": "0.56535953", "text": "public boolean isCacheImageMetadata() {\n\t\treturn cacheImageMetadata;\n\t}", "title": "" }, { "docid": "00c57011313cd8c2eaa5866bfed7dc74", "score": "0.5647443", "text": "boolean hasStat();", "title": "" }, { "docid": "dc4d29e45aa2dce44c4a28863416be2e", "score": "0.5644764", "text": "boolean hasProperty();", "title": "" }, { "docid": "8a1c4dd29ff8a67d18fd95d2b5a728e5", "score": "0.5644099", "text": "boolean hasAttribute();", "title": "" }, { "docid": "3552e4f09dcd07eba29620de735cdca9", "score": "0.5641612", "text": "public void setResolution(Point resolution) {\n\t\t\n\t\tthis.resolution = resolution;\n\t}", "title": "" }, { "docid": "bd48cf3350e5817bfc10e16ec4b92f84", "score": "0.5636065", "text": "boolean isMetadataComplete();", "title": "" }, { "docid": "70b8e7fa9f6a552aeafec02c39dd377d", "score": "0.56287235", "text": "public boolean hasQuality() {\n return ((bitField0_ & 0x00000200) == 0x00000200);\n }", "title": "" } ]
2b0c9c7aaa35756e8ff4d6a7a9d53ce3
Called when R key is pressed from main menu. Displays how much money is in the restaurant's cash register.
[ { "docid": "0be0d79ff186dd95e141ea1e7560e5e7", "score": "0.7011995", "text": "private void cashRegister() {\n\t\tSystem.out.println(\"Money in the cash register: \" + restaurant.getCashRegister());\n\t}", "title": "" } ]
[ { "docid": "ce9bcbbd9b161899f55a5e7c7d7b420a", "score": "0.62749773", "text": "@Override\n public void displayMenu(){\n System.out.println(\"CREDIT CARD PAYMENT HAS BEEN APPROVED\");\n System.out.println(\"\\t FUEL MENU\");\n System.out.println(\"ENTER 6 for SUPER\");\n System.out.println(\"ENTER 7 for REGULAR\");\n System.out.println(\"ENTER 5 for CANCELLING TRANSACTION\");\n }", "title": "" }, { "docid": "10951d4e63ed9bb755af4929860d2f30", "score": "0.6143527", "text": "public static void displayMenu()\n\t{\n\t\t\n\t\tString username;\n\t\tScanner keyboard = new Scanner(System.in);\n\t\tSystem.out.print(\"Please enter your name: \");\n\t\tusername = keyboard.nextLine();\n\t\n\t\tSystem.out.println(\"\\nWelcome to The Java Byte Code Coffee Shop, \" + username + \"!\");\n\t\tSystem.out.println(\"Here is our menu: \\n\");\n\t\tSystem.out.println(\"1. Coffee $1.50\");\n\t\tSystem.out.println(\"2. Latte $3.50\");\n\t\tSystem.out.println(\"3. Cappuccino $3.25\");\n\t\tSystem.out.println(\"4. Espresso $2.00\\n\");\n\t\t\n\t\tgetItemNumber();\t\t\n\t\tSystem.out.println(\"\\nThank you, \" + username + \"! Please stop by again!\\n\");\n\t}", "title": "" }, { "docid": "bb3bff02f8c8f6f410997b53cb252934", "score": "0.5929959", "text": "private void displayMenuOfAccounts() {\n\t\tAccount inputSheet;\n\t\tint inputAccNum, inputPinNum;\n\t\tdouble inputAvBalance, inputDeposito;\n\t\tString inputDesc;\n\t\t\n\t\t // display the add cash menu\n\t\tscreen.displayMessageLine(\"\\nAdd Account Menu:\");\n\t\tscreen.displayMessageLine(\"1 - Add Account Nasabah\");\n\t\tscreen.displayMessageLine(\"2 - Add Account Admin\");\n\t\tscreen.displayMessageLine(\"3 - Cancel Transaction\");\n\t\tscreen.displayMessage(\"\\nChoose option menu: \");\n\t\t\n\t\t int input = keypad.getInput(); // get user input through keypad\n\t\t // determine how to proceed based on the input value\n\t\t switch (input) {\n\t\t \tcase 1: // do add account number nasabah process\n\t\t \tcase 2: // do add account number admin process\t\n\t\t \t\tscreen.displayMessage(\"Input account number:\");\t\t \t\t\n\t\t \t\tinputAccNum = keypad.getInput(); // input acc number\n\t\t\t\t\n\t\t\t\t// validation input account number\n\t\t\t\tstatusAdd = inputAccountNumberValidation(inputAccNum);\n\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\tscreen.displayMessage(\"Input pin number:\");\t\t \t\t\n\t\t\t\t\tinputPinNum = keypad.getInput(); // input pin number\n\t\t\t\t\t\n\t\t\t\t\t// validation pin number\n\t\t\t\t\tstatusAdd = pinNumberValidation(inputPinNum);\n\t\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\t\tif(input==1) { // for add account nasabah process\n\t\t\t\t\t\t\tscreen.displayMessage(\"Input available balance:\");\t\t \t\t\n\t\t\t\t\t\t\tinputAvBalance = keypad.getInput(); // input available balance\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// validation available balance\n\t\t\t\t\t\t\tstatusAdd = availableBalanceValidation(inputAvBalance);\n\t\t\t\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\t\t\t\tscreen.displayMessage(\"Input deposit fund:\");\t\t \t\t\n\t\t\t\t\t\t\t\tinputDeposito = keypad.getInput(); // input deposito\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// validation deposit fund\n\t\t\t\t\t\t\t\tstatusAdd = depositFundValidation(inputDeposito);\n\t\t\t\t\t\t\t\tif (statusAdd == VALIDATION_ADD_SUCCESSFULL) {\n\t\t\t\t\t\t\t\t\tscreen.displayMessage(\"Input description Account:\");\t\t \t\t\n\t\t\t\t\t\t\t\t\tinputDesc = keypad.getInputString(); // input deskripsi account\n\t\t\t\t\t\t\t\t\tinputSheet = new Account(inputAccNum, inputPinNum, inputAvBalance, inputDeposito, \n\t\t\t\t\t\t\t\t\t\t\tinputDesc, ROLE_INDIVIDUAL_CUSTOMER, STATUS_ACC_ACTIVE);\n\t\t\t\t\t\t\t\t\taccAdded = inputSheet;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}else { // for add account admin\n\t\t\t\t\t\t\tscreen.displayMessage(\"Input description Account:\");\t\t \t\t\n\t\t\t\t\t\t\tinputDesc = keypad.getInputString(); // input deskripsi account\n\t\t\t\t\t\t\t// available balance dan deposito diisi dengan nol\n\t\t\t\t\t\t\tinputSheet = new Account(inputAccNum, inputPinNum, 0, 0, inputDesc, ROLE_ADMIN, STATUS_ACC_ACTIVE);\n\t\t\t\t\t\t\taccAdded = inputSheet;\n\t\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t \t\tbreak; \n\t\t \tcase ADD_ACCOUNT_CANCELED: // the user chose to cancel\n\t\t \t\tstatusAdd = ADD_ACCOUNT_CANCELED; // save user's choice\n\t\t \t\tbreak;\n\t\t \tdefault: // the user did not enter a value from 1-2\n\t\t \t\tstatusAdd = ADD_ACCOUNT_ERROR_INPUT_MENU;\n\t\t\t} \n\t }", "title": "" }, { "docid": "708d224fde6922c3a1f0756ac75a1055", "score": "0.5799708", "text": "void enter() {\r\n // set display to digit in event\r\n int digit = calcController.digitsController.getDigit((Button) lastEvent.getSource());\r\n calcController.display.setText(digit + \"\");\r\n\r\n // enable equals button\r\n calcController.resController.enableEquals();\r\n\r\n // enable operator buttons\r\n calcController.opsController.enableOperators();\r\n }", "title": "" }, { "docid": "5c8f55e2a870392787cb469584b3e10d", "score": "0.57724863", "text": "public void displayPurchaseMainMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Monash Fruit & Vegetables ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. search product by product id\");\n System.out.println(\"2. search product by name\");\n System.out.println(\"3. search product by type\");\n System.out.println(\"4. search product by location\");\n System.out.println(\"5. view the entire product list\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"-----------------------------------\");\n }", "title": "" }, { "docid": "1ec4e05139e5895b379d8c33cd499dd7", "score": "0.5755344", "text": "public void run() {\n\n boolean runVendingMachine = true;\n\n //Prompt X Amount of Money\n String usersMoneyAmount = InsertMoneyPrompt();\n //Inventory\n //POPCORN A1 $1.00\n int popcornInventory = 3;\n //PEPSI B8 $1.25\n int pepsiInventory = 1;\n //HERSHEYS G4 $2.00\n int hersheyInventory = 6;\n //SNICKERS F9 $0.90\n int snickersInventory = 6;\n\n while (runVendingMachine) {\n\n displayMenu();\n String menuSelection = recordSelection();\n\n switch (menuSelection) {\n //POPCORN A1 $1.00\n //PEPSI B8 $1.25\n //HERSHEYS G4 $2.00\n //SNICKERS F9 $0.90\n case \"A1\":\n\n //Popcorn\n //variable processes transaction and returns result\n if (popcornInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = popcornINVENTORY(usersMoneyAmount, popcornInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n popcornInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n popcornInventory--;\n }\n\n }\n\n break;\n case \"B8\":\n //Pepsi\n\n if (pepsiInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = pepsiINVENTORY(usersMoneyAmount, popcornInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n pepsiInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n pepsiInventory--;\n }\n\n }\n break;\n case \"G4\":\n //hersheys\n if (hersheyInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = hersheysINVENTORY(usersMoneyAmount, hersheyInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n hersheyInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n hersheyInventory--;\n }\n\n }\n break;\n case \"F9\":\n //snickers\n if (snickersInventory == 0) {\n view.SOLDOUT();\n view.hitEnterToContinue();\n break;\n } else {\n //usersMoneyAmount\n String changedMoney = snickersINVENTORY(usersMoneyAmount, snickersInventory);\n if (changedMoney.equals(usersMoneyAmount)) {\n usersMoneyAmount = changedMoney;\n int foo = Integer.parseInt(usersMoneyAmount);\n foo += foo;\n String superFoo = String.valueOf(foo);\n usersMoneyAmount = superFoo;\n snickersInventory++;\n } else {\n usersMoneyAmount = changedMoney;\n snickersInventory--;\n }\n\n }\n break;\n \n default:\n //error\n runVendingMachine = false;\n\n }\n\n }\n GBye();\n }", "title": "" }, { "docid": "eaf2ff23439b3595f96a94cfeda339f4", "score": "0.574543", "text": "public void showMenu() {\n char option = '\\0';\n Scanner in = new Scanner(System.in);\n System.out.println(\"Welcome \" + customerName + \"!\");\n System.out.println(\"Your ID is: \" + customerID);\n System.out.println();\n System.out.println(\"What would you like to do?\");\n System.out.println();\n System.out.println(\"A. Check balance\");\n System.out.println(\"B. Make a deposit\");\n System.out.println(\"C. Make a withdrawal\");\n System.out.println(\"D. View previous transaction\");\n System.out.println(\"E. Calculate interest\");\n System.out.println(\"F. Exit\");\n \n do {\n System.out.println();\n System.out.println(\"Enter an option: \");\n char inValue = in.next().charAt(0);\n option = Character.toUpperCase(inValue);\n System.out.println();\n \n switch(option) {\n //option A will return a user's balance\n case 'A' :\n System.out.println(\"=============================\");\n System.out.println(\"Balance: $\" + balance);\n System.out.println(\"=============================\");\n System.out.println();\n break;\n //option B will allow a user to make a deposit to their account\n case 'B' :\n System.out.println(\"Enter the amount you will deposit: \");\n int toDeposit = in.nextInt();\n deposit(toDeposit);\n System.out.println();\n break;\n //option C will allow a user to make a withdrawal from their account\n case 'C' :\n System.out.println(\"Enter the amount you will withdraw: \");\n int toWithdraw = in.nextInt();\n withdraw(toWithdraw);\n System.out.println();\n break;\n //option D will show a user the previous transaction\n case 'D' :\n System.out.println(\"=============================\");\n getPreviousTransaction();\n System.out.println(\"=============================\");\n System.out.println();\n break;\n //will prompt for a number of years and return accrued interest for that time frame\n case 'E' :\n System.out.println(\"Enter number of years of accrued interest: \");\n int yearsAccrued = in.nextInt();\n calculateInterest(yearsAccrued);\n break;\n //will exit the application\n case 'F' :\n System.out.println(\"=============================\");\n break;\n //default: invalid character error message\n default :\n System.out.println(\"Error: invalid option. Please enter A, B, C, D, E, or F to exit.\");\n break;\n }\n } while(option != 'F');\n \n System.out.println(\"Thank you for banking with us!\");\n }", "title": "" }, { "docid": "a963aacced4a992f14cfc3962183800b", "score": "0.5737255", "text": "public void showCredit(){\n\n\t\t((TextView)findViewById(R.id.tv_total_credit)).setText(AppSharedPreference.getInstance(this).getTotalCredit());\n\t}", "title": "" }, { "docid": "efa4c06f74f3ea97fbf3f3594bf49edb", "score": "0.5716129", "text": "private static void withdraw ( ) {\r\n user2 user = new user2();\r\n\r\n Main main = new Main();\r\n\r\n Scanner reader = new Scanner(System.in);\r\n\r\n System.out.println ( );\r\n\r\n System.out.print(\"Amount : \");\r\n\r\n long userdeposit = reader.nextLong ();\r\n\r\n user2.accountbalence -= userdeposit;\r\n\r\n System.out.println ( );\r\n\r\n System.out.println (\"Current balence : \" + user2.accountbalence + '$');\r\n\r\n System.out.println ( );\r\n\r\n smenu();\r\n }", "title": "" }, { "docid": "bc22069db1f6cf3e1442c7ae9e663297", "score": "0.5714732", "text": "public void input()\r\n\t{\r\n\t\tSystem.out.println(\"Hello costumer. Welcome to my cash register \" +\r\n\t\t\t\t\"program. What would you like to buy today? \");\r\n\t\titem = scan.nextLine();\r\n\t\tSystem.out.println(\"How much does the \"+item+\" cost?\");\r\n\t\toriginalCost = scan.nextInt();\r\n\t\tscan.nextLine();\r\n\t}", "title": "" }, { "docid": "8ef5fce98c2bc6985a3de0111bb7f2d5", "score": "0.5714523", "text": "@Override\r\n public void keyReleased(KeyEvent e) {\n String str13=t5_amount_recieved.getText();\r\n \r\n if(str13.equals(\"\"))\r\n {\r\n t6_due_amount.setText(\"\");\r\n }\r\n int no1=Integer.parseInt(str13);\r\n \r\n System.out.println(\"no1 is:\"+no1);\r\n \r\n //STR14 IS USED TO STORE RECIEVED TOTAL\r\n String str14=t4_net_total.getText();\r\n int no2=Integer.parseInt(str14);\r\n System.out.println(\"no2 is:\"+no2);\r\n \r\n int no=no1-no2;\r\n System.out.println(\"no is:\"+no);\r\n \r\n //STR15 IS USED TO STORE DUE AMOUNT\r\n String str15=Integer.toString(no);\r\n t6_due_amount.setText(str15);\r\n }", "title": "" }, { "docid": "c8dccdbc0dbb105aaf190c22984ae94c", "score": "0.563721", "text": "public void printMenu()\n\t{\n\t\tSystem.out.println(\"--------------------------------\");\n\t\tSystem.out.println(\"| Welcome To Huge Bank |\");\n\t\tSystem.out.println(\"| \\t MAIN MENU \\t |\");\n\t\tSystem.out.println(\"-------------------------------\");\n\t\tSystem.out.println(\"| Enter 1 To Get Balance |\");\n\t\tSystem.out.println(\"| Enter 2 To Deposit Money |\");\n\t\tSystem.out.println(\"| Enter 3 To Make A Withdrawl |\");\n\t\tSystem.out.println(\"| Enter 4 To Exit |\");\n\t\tSystem.out.println(\"| Enter 5 To Change Pin |\");\n\t\tSystem.out.println(\"--------------------------------\");\n\t\t\n\t}", "title": "" }, { "docid": "4b7e93a3c3538a04f7886524238a263e", "score": "0.5608749", "text": "public void updateCash(double cost){\n\t\tcashInRegister = cost + cashInRegister;\n\t\tSystem.out.println(\"The cashregister now contains \"+cashInRegister+\" $\");\n\t}", "title": "" }, { "docid": "fcdaeb9f4796e7cf7668d881f9b52c30", "score": "0.5604286", "text": "public void displayMenu()\n\t{\n\t\tSystem.out.println(\"===== Vending Machine Menu =====\");\n\t\tSystem.out.println(\" 1. Water............$1.50\");\n\t\tSystem.out.println(\" 2. Regular Coffee...$2.00\");\n\t\tSystem.out.println(\" 3. Sun Chip.........$1.00\");\n\t\tSystem.out.println(\" 4. Chocolate Bar....$2.50\");\n\t}", "title": "" }, { "docid": "b1be3a38f62f1a1c05046332ee0a4f26", "score": "0.5591501", "text": "public static void displayMenu() {\n System.out.printf(\"%s%s%s%s\",\n \"(1) Convert Celsius to Fahrenheit\\n\",\n \"(2) Convert Fahrenheit to Celsius\\n\",\n \"(3) Exit\\n\",\n \"Please choose: \");\n }", "title": "" }, { "docid": "d0293ea5352235532b5dd4d5da200243", "score": "0.5579873", "text": "private void display() {\r\n\r\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\r\n\r\n quantityTextView.setText(\"\" + this.amount);\r\n\r\n }", "title": "" }, { "docid": "e0c32731280af8dcc78990a0fea8b323", "score": "0.5566935", "text": "public void ClientView () {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint ch = 0;\n\t\twhile (ch != 4) {\n\t\tSystem.out.println(\"Please make a selection:\");\n\t\tSystem.out.println(\"1. Deposit money.\\n\");\n\t\tSystem.out.println(\"2. Withdraw money.\\n\");\n\t\tSystem.out.println(\"3. Check balance.\\n\");\n\t\tSystem.out.println(\"4. Logout and exit. \");\n\t\tch = sc.nextInt();\n\t\t\n\t/*\tswitch(ch) {\n\t\tcase:\n\t\tcase:\n\t\tcase:\n\t\tcase:\n\t\t}*/\n\t\tsc.close();\n\t}\n\n\t\t\n\t}", "title": "" }, { "docid": "16a6ddcf74ee7f2c708a50ec8014d11d", "score": "0.5546508", "text": "@Override\r\n public void showContent() {\n double value = Console.readDouble(\"Amount:\");\r\n BigDecimal amount = new BigDecimal(value);\r\n \r\n String description = Console.readLine(\"Description:\");\r\n \r\n controller.registerSaving(amount, description);\r\n \r\n System.out.println(\"Savings registered.\");\r\n }", "title": "" }, { "docid": "759ccfed4da7da58cb364ee065af62e0", "score": "0.55343705", "text": "public double moneyRemaining(){\n var newMonTrack = new MoneyTracker(2,2);\n // to check if the user has entered money into option 1\n if(newMonTrack.getRemainingTotal() == 0){\n System.out.println(\"You have not calculated your expenditure, go back to option 1\");\n // set default values, have no use here\n var newMenu = new MainMenu(2,2);\n newMenu.startMainMenu();\n }\n return newMonTrack.getRemainingTotal();\n }", "title": "" }, { "docid": "ecd800e67807a8a95cd61b9fe4ec6318", "score": "0.5501399", "text": "private static String getDollarsEntered()\n {\n return JOptionPane.showInputDialog(null, \"How much money would you like to invest?\");\n }", "title": "" }, { "docid": "d59a58b948c6b93525f6c0d1588effd8", "score": "0.54883623", "text": "public void showMenu() {\n char option = '\\0'; // just to initialize options with a value, could have used anything or nothing?\n Scanner scanner = new Scanner(System.in);\n\n System.out.println(\"Welcome \" + this.customerName);\n System.out.println(\"Your ID is \" + this.customerId);\n System.out.println(\"\\n\");\n System.out.println(\"A. Check Balance\");\n System.out.println(\"B. Deposit\");\n System.out.println(\"C. Withdraw\");\n System.out.println(\"D. Previous transaction\");\n System.out.println(\"E. Exit\");\n\n do {\n System.out.println(\"===========================================================================\");\n System.out.println(\"Enter an option\");\n System.out.println(\"===========================================================================\");\n option = scanner.next().charAt(0);\n System.out.println(\"\\n\");\n\n switch (option) {\n case 'A':\n System.out.println(\"----------------------------\");\n System.out.println(\"Balance: \" + this.balance);\n System.out.println(\"----------------------------\");\n System.out.println(\"\\n\");\n break;\n case 'B':\n System.out.println();\n System.out.println(\"----------------------------\");\n System.out.println(\"Enter an amount to deposit:\");\n System.out.println(\"----------------------------\");\n int amount = scanner.nextInt();\n deposit(amount);\n System.out.println(\"\\n\");\n break;\n case 'C':\n System.out.println(\"----------------------------\");\n System.out.println(\"Enter an amount to withdraw:\");\n System.out.println(\"----------------------------\");\n int amountToWithdraw = scanner.nextInt();\n withdraw(amountToWithdraw);\n System.out.println(\"\\n\");\n break;\n case 'D':\n System.out.println(\"----------------------------\");\n getPreviousTransaction();\n System.out.println(\"----------------------------\");\n System.out.println(\"\\n\");\n break;\n case 'E':\n System.out.println(\"*****************************\");\n break;\n default:\n System.out.println(\"Invalid option: please enter another option\");\n break;\n }\n } while (option != 'E');\n }", "title": "" }, { "docid": "e20b3b25d1f26d482da8be7993780b99", "score": "0.5480131", "text": "private void displayMenu() {\n System.out.println(\"\\nPlease select a command:\");\n System.out.println(\"purchase) Buy a book for the library from these search results\");\n System.out.println(\"search) Search the store again\");\n System.out.println(\"return) Return to main menu\");\n }", "title": "" }, { "docid": "ed8ad92c245ccede095005b1ef261f19", "score": "0.5452029", "text": "public static void displayMainMenu() {\n\t\tSOP(\"Main Menu: \");\n\t\tSOP(\"\\t1 - Add A Car\");\n\t\tSOP(\"\\t2 - Update A Car\");\n\t\tSOP(\"\\t3 - Remove A Car\");\n\t\tSOP(\"\\t4 - Retrieve the Lowest Priced Car\");\n\t\tSOP(\"\\t5 - Retrieve the Lowest Milage Car\");\n\t\tSOP(\"\\t6 - Retrieve the Lowest Priced Car by Make and Model\");\n\t\tSOP(\"\\t7 - Retrieve the Lowest Milage Car by Make and Model\");\n\t\tSOP(\"\\t8 - Exit\");\n\t\tSOP(\"\\t9 - Print ALL Cars\");\n\t\t\n\t}", "title": "" }, { "docid": "f562d7b7dc23045efaaeacec26571c3f", "score": "0.5431343", "text": "public void credit(){\n\t\tSystem.out.println(\"Amount credited\");\n\t}", "title": "" }, { "docid": "af6336ff13e57415d44dff67999dc442", "score": "0.5427627", "text": "@Override\n\tpublic void printMenu() {\n\t\t\n\t\t\n\t\tSystem.out.println(\"[1] Market\\n\");\n\t\t//System.out.println(\"[2] Land on Planet\");\n\t\tSystem.out.println(\"[3] Ship Status\");\n\t\tSystem.out.println(\"[4] Return to orbit\");\n\t\t\n\t\t\n\t\tif (mainMenu.userInput.hasNextInt()) {\n\t\t\tint choice = mainMenu.userInput.nextInt();\n\t\t\t\n\t\t\tswitch (choice) {\n\t\t\t\n\t\t\t\tcase 1:\t// Menu State -> Travel Menu\n\t\t\t\t\t\n\t\t\t\t\tmainMenu.setMenuState(mainMenu.marketMenu);\n\t\t\t\t\tbreak;\n\t\t\t\n\t\t\t\t//case 2: // Menu State -> Station Menu\n\t\t\t\t\t\n\t\t\t\t\t//mainMenu.setMenuState(mainMenu.stationMenu);\n\t\t\t\t\t//break;\n\t\t\t\t\t\n\t\t\t\tcase 3: // Menu State -> Status Menu\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tmainMenu.shipService.showStatus();\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 4: \n\t\t\t\t\t\n\t\t\t\t\tmainMenu.setMenuState(mainMenu.orbitMenu);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.out.println(\"Invalid Input\");\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "4b91dd9df499034a3fb98789669b5dec", "score": "0.54252523", "text": "public static void displayMenuUser() {\n\t\tSystem.out.println(\"\\n\");\n\t\tSystem.out.println(\"*******************************\");\n\t\tSystem.out.println(\"*** PRS Console Application ***\");\n\t\tSystem.out.println(\"*******************************\");\n\t\tSystem.out.println(\"1.) View my Account\");\n\t\tSystem.out.println(\"2.) Update My Account/Password\");\n\t\tSystem.out.println(\"3.) View Available Products\");\n\t\tSystem.out.println(\"4.) View my Open Purchase Requests\");\n\t\tSystem.out.println(\"5.) Create a New Purchase Request\");\n\t\tSystem.out.println(\"6.) Update My Purchase Requests\");\n\t\tif (loginUser.isReviewer()) {\n\t\t\tSystem.out.println(\"7.) Approve Purchase Requests\");\n\t\t\tSystem.out.println(\"8.) Exit\");\n\t\t} else {\n\t\t\tSystem.out.println(\"7.) Exit\");\t\n\t\t}\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "0f68b56721c1535c676e66399c2f828c", "score": "0.54149276", "text": "static void take()\n {\n System.out.println(\"I gave you $\" + moneySupply);\n moneySupply = 0;\n System.out.println();\n }", "title": "" }, { "docid": "5153a1bc945f78683a1b3ff2137c3c5b", "score": "0.5407753", "text": "public static void printMenuList(){\r\n\t\tmenu = RestaurantManager.getMenuItems(); //get menu items from RestaurantManager and save them to attribute.\r\n\t\tprices = RestaurantManager.getPrices(); // get prices from RestaurantManager and save them to attribute.\r\n\t\tString prompt = \"[T] Total\\n\" + \"[P] Payment\\n\" + \"[M] DisplayMenus\\n\" + \"[E] Exit\";\r\n\t\tSystem.out.println(\"--------- Welcome to SKE Restaurant ---------\");\r\n\t\tfor (int i = 0; i<menu.length; i++){\r\n\t\t\tSystem.out.printf(\"%d.) %s\",i+1,menu[i]);\r\n\t\t\tSystem.out.printf(\"\\t\\t%6.2f Baht.\",prices[i]);\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\t\tSystem.out.println(prompt);\r\n\t}", "title": "" }, { "docid": "bb06e4dd013cfd271ce60a1d16aef177", "score": "0.53962445", "text": "@Override\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tif(e.getKeyCode() == KeyEvent.VK_ENTER) {\n\t\t\t\t\tif(ConvertListener.tempt.contains(\"+\")){\n\t\t\t\t\t\tConvertListener.tempt = ConvertListener.tempt.replace(\"+\",\"\");\n\t\t\t\t\t\tint Plus =Integer.parseInt(ConvertListener.tempt)+Integer.parseInt(ConvertListener.tempt2);\n\t\t\t\t\t\tString SPlus = Integer.toString(Plus);\n\t\t\t\t\t\tCalculator.textField.setText(SPlus);\n\t\t\t\t\t}\n\t\t\t\t\tif(ConvertListener.tempt.contains(\"-\")){\n\t\t\t\t\t\tConvertListener.tempt = ConvertListener.tempt.replace(\"-\",\"\");\n\t\t\t\t\t\tint Minus =Integer.parseInt(ConvertListener.tempt)-Integer.parseInt(ConvertListener.tempt2);\n\t\t\t\t\t\tString SMinus = Integer.toString(Minus);\n\t\t\t\t\t\tCalculator.textField.setText(SMinus);\n\t\t\t\t\t}\n\t\t\t\t\tif(ConvertListener.tempt.contains(\"*\")){\n\t\t\t\t\t\tConvertListener.tempt = ConvertListener.tempt.replace(\"*\",\"\");\n\t\t\t\t\t\tint Multiple =Integer.parseInt(ConvertListener.tempt)*Integer.parseInt(ConvertListener.tempt2);\n\t\t\t\t\t\tString SMultiple = Integer.toString(Multiple);\n\t\t\t\t\t\tCalculator.textField.setText(SMultiple);\n\t\t\t\t\t}\n\t\t\t\t\tif(ConvertListener.tempt.contains(\"/\")){\n\t\t\t\t\t\tConvertListener.tempt = ConvertListener.tempt.replace(\"/\",\"\");\n\t\t\t\t\t\tint Divide =Integer.parseInt(ConvertListener.tempt)/Integer.parseInt(ConvertListener.tempt2);\n\t\t\t\t\t\tString SDivide = Integer.toString(Divide);\n\t\t\t\t\t\tCalculator.textField.setText(SDivide);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(e.getKeyCode() == KeyEvent.VK_ESCAPE) {\n\t\t\t\t\tConvertListener.tempt = \"\";\n\t\t\t\t\tConvertListener.tempt2 = \"\";\n\t\t\t\t\tCalculator.textField.setText(ConvertListener.tempt);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "4c2c89e1692da4d429bce1e0f501d811", "score": "0.539273", "text": "private static void deposit () {\r\n user2 user = new user2();\r\n\r\n Main main = new Main();\r\n\r\n Scanner reader = new Scanner(System.in);\r\n\r\n System.out.println ( );\r\n\r\n System.out.print(\"Amount : \");\r\n\r\n long userdeposit = reader.nextLong ();\r\n\r\n user2.accountbalence += userdeposit;\r\n\r\n System.out.println ( );\r\n\r\n System.out.println (\"Current balence : \" + user2.accountbalence + '$');\r\n\r\n System.out.println ( );\r\n\r\n smenu();\r\n }", "title": "" }, { "docid": "7778270974d94741f027349e2ddec26c", "score": "0.5389452", "text": "public static void mainMenu() {\n System.out.println(\" _____________________________\");\n System.out.println(\"| \t\tSTORE\t\t |\");\n System.out.println(\"|—————————————————|\");\n System.out.println(\"| Options:\t\t\t |\");\n System.out.println(\" ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\");\n System.out.println(\" 1 - Books\");\n System.out.println(\" 2 - Candy\");\n System.out.println(\" 3 - Total price\");\n System.out.println(\" ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\");\n }", "title": "" }, { "docid": "af52180d36c8fd71afe2528025f51421", "score": "0.5387522", "text": "protected void finance_cost_payment_entry_rent1ActionPerformed(\n\t\t\tActionEvent evt) {\n\t\t\n\t}", "title": "" }, { "docid": "07828a78f7a96dfe9866cd125b4cf3e7", "score": "0.53833455", "text": "@Override\n public String menu() {\n return \"Enter a number 1-10.\";\n }", "title": "" }, { "docid": "32b194ecaaad57e30dc7d33a6f230a52", "score": "0.5381466", "text": "@Override\n public void displayView() {\n System.out.println(guestID + \" is checked in.\");\n System.out.println(\"1) Checkout and make payment\");\n System.out.println(\"2) View Ordered room services.\");\n System.out.println(\"3) Order room services\");\n System.out.println(\"0) Return to main menu\");\n }", "title": "" }, { "docid": "99479c198d78d7a97f71d56451b8e46a", "score": "0.5378585", "text": "public void display() {\n System.out.printf(\"Choose item of menu or put %s%s%s%s%n\", (char)34, \"exit\", (char)34,\n \" for disconnecting\");\n }", "title": "" }, { "docid": "ef3b8fb9c80381a058dcae8eb840e6da", "score": "0.5377278", "text": "@Override\r\n\tprotected boolean handleMenuSelection(char key) {\r\n\r\n\t\tswitch (Character.toUpperCase(key)) {\r\n\t\tcase '1':\r\n\t\t\tMenu mattressMenu = new MattressMenu();\r\n\t\t\tmattressMenu.display();\r\n\t\t\tbreak;\r\n\t\tcase '2':\r\n\t\t\tMenu mattressSearchMenu = new MattressSearchMenu();\r\n\t\t\tmattressSearchMenu.display();\r\n\t\t\tbreak;\r\n\t\tcase 'F':\r\n\t\t\thandleFinance();\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'Q':\r\n\t\t\treturn false;\r\n\r\n\t\tdefault:\r\n\t\t\tSystem.err.println(\"Invalid Entry\");\r\n\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "06f8fe12d07bed95cda3933a4d1b03ac", "score": "0.5368694", "text": "private void displayCalories() {\n String caloriesText = \"Calories: \" + burger.totalCals();\n\n //Display the String\n caloriesTV.setText(caloriesText);\n }", "title": "" }, { "docid": "e002d446988e00fa855f82a3b0ab3567", "score": "0.5362836", "text": "@Override\n public void utiliserRessource(){\n if(nombreTotalCereale >= 12){\n nombreTotalCereale -= 12;\n Money.setTotalMoney(Money.getTotalMoney() + 10);\n }\n else\n System.out.println(\"You don't have enough cereals to sell for money.\");\n }", "title": "" }, { "docid": "b745937bc8a8df8bebf324902be0ad0b", "score": "0.53618515", "text": "public static void cdReturning() {\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"\\t\\t +-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+\" + \"\\n\"\n\t\t\t\t+ \"\\t\\t |C|D| |R|e|t|u|r|n|i|n|g| |M|e|n|u|\" + \"\\n\"\n\t\t\t\t+ \"\\t\\t +-+-+ +-+-+-+-+-+-+-+-+-+ +-+-+-+-+\");\n\t\tSystem.out.println(\"\");\n\n\t\tdo {\n\n\t\t\tSystem.out.println(\"Enter CD number: \");\n\t\t\tint item_number = sc.nextInt();\n\t\t\trentList.remove(item_number);\n\n\t\t\tSystem.out.println(\"Your cd returning was recorded successfully!\");\n\t\t\tdo {\n\t\t\t\tSystem.out.println(\"Return anthor cd? yes/no\");\n\t\t\t\tconfirmation = sc.next();\n\t\t\t\tif (!(confirmation.equalsIgnoreCase(\"yes\") || confirmation\n\t\t\t\t\t\t.equalsIgnoreCase(\"no\")))\n\t\t\t\t\tSystem.out.println(\"Invalid input. Enter yes/no\");\n\t\t\t} while (!(confirmation.equalsIgnoreCase(\"yes\") || confirmation\n\t\t\t\t\t.equalsIgnoreCase(\"no\")));\n\t\t} while (!confirmation.equalsIgnoreCase(\"no\"));\n\t}", "title": "" }, { "docid": "8dd86ef04a6ed3896ce86e9c9ce1e0a6", "score": "0.5350508", "text": "public void MenuElige(){\n System.out.println(\"\");\n System.out.println(\"Elige una de las dos cuentas introduciendo su número: \");\n System.out.println(\"1) Cuenta 1.\");\n System.out.println(\"2) Cuenta 2.\"); \n }", "title": "" }, { "docid": "eea14b6f081adaf7032192df2a3c14af", "score": "0.5347621", "text": "public void onKeyPress(Widget sender, char keyCode, int modifiers) {\n switch (keyCode) {\n case 13:\n updatePV(pv);\n break;\n case 27:\n box.setText(pv.getValue().getValue());\n break;\n }\n }", "title": "" }, { "docid": "3f22344c8bdbaab514785ec79c63a3d1", "score": "0.53390473", "text": "int startCash();", "title": "" }, { "docid": "136c2b137e451de3be532d6dbb89a732", "score": "0.5324597", "text": "public void displayAccountManageMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Account Manage Menu ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. edit account\");\n System.out.println(\"2. unregister\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"-----------------------------\");\n }", "title": "" }, { "docid": "bacfbabdff533fc7301b593a6ffa7178", "score": "0.5324015", "text": "public void mainMenu(){\n this.printer.printTitle(\"Main Menu\");\n System.out.println(\"To make an donation press 1\");\n System.out.println(\"To view donations press 2\");\n System.out.println(\"To view Projects press 3\");\t\n System.out.println(\"To exit press 4\");\n if (!this.checkInputViolations(Arrays.asList(1,2,3,4))){\n int numbericInput = Integer.parseInt(this.input);\n switch(numbericInput){\n case 1:\n //donor makes donation \n this.makeDonation();\n break;\n case 2:\n viewDonations();\n break;\n case 3:\n this.viewprojectScreen();\n break;\n case 4:\n System.out.println(\"System now turning off. Thank you for using our service.\");\n this.teminate = true;\n break;\n }\t\t\n }else{\n this.mainMenu();\n }\n\n }", "title": "" }, { "docid": "a0d2558c44c6314d27464fade77375f2", "score": "0.53081656", "text": "private void OnItemFound(ActionEvent e) {\r\n\t\tString itemSelected = dialog.getSelectedItem();\r\n\t\tdialog.setVisible(false);\r\n\t\tdialog.dispose();\r\n\t\tItem selectedItem = inventoryManager.RetrieveItem(itemSelected);\r\n\t\tif(selectedItem == null) {\r\n\t\t\tJOptionPane.showMessageDialog(null,\"Could not find item \" + itemSelected + \" in inventory.\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif(selectedItem.isAlcohol() && !cart.isAuthorizedToBuyAlcohol()) {\r\n\t\t\tString result = \"\";\r\n\t\t\twhile(result != null && !result.equals(\"1234\")) {\r\n\t\t\t\tresult = CashierAlcoholAuthorization();\r\n\t\t\t}\r\n\t\t\tif(result == null) { //Cacher check was cancelled return\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tcart.setAuthorizedToBuyAlcohol(true);\r\n\t\t}\r\n\t\tcart.AddItem(selectedItem);\r\n\t\tString currentItemText = String.format(\"Scanned %s $ %.2f\",selectedItem.getName(),selectedItem.getPrice());\r\n\t\tJLabel l = this.scanItemsView.getCurrentItem();\r\n\t\tl.setText(currentItemText);\r\n\t\tthis.scanItemsView.AddItemFromCart(selectedItem);\r\n\t\tdouble total = cart.Total();\r\n\t\tthis.scanItemsView.getTotalAmount().setText(String.format(\"$%.2f\",total));\r\n\t\tthis.scanItemsView.getBtnPay().setText(String.format(\"Pay $%.2f\",cart.SubTotal() ));\r\n\t\t//l.paintImmediately(l.getVisibleRect());\r\n\t}", "title": "" }, { "docid": "5d6f6019433b67656d83f9e6a1332ffa", "score": "0.5306352", "text": "public void printReturnToMenu() {\n System.out.println();\n System.out.println();\n System.out.println(\"Returning to main menu...\");\n System.out.println(\"Enter \\\"p\\\" to review menu options\");\n System.out.println();\n System.out.println();\n }", "title": "" }, { "docid": "2bd9c4ef405cf1abd40463975deeb706", "score": "0.52988845", "text": "@Override\r\n\tpublic void keyPress(int key) {\n\t\tif(key==KeyEvent.VK_3){\r\n\t\t\tGameCharacter.getInventory().addItem(Items.KEYCRYSTAL, 1);\r\n\t\t}\r\n\t\tif (key == KeyEvent.VK_8) {\r\n\t\t\ttoggleLagPrevention();\r\n\t\t} else if (key == KeyEvent.VK_J) {\r\n\t\t\tif (pointedPoint == null) {\r\n\r\n\t\t\t\tpointedPoint = MouseInfo.getPointerInfo().getLocation();\r\n\t\t\t} else\r\n\t\t\t\tpointedPoint = null;\r\n\t\t}\r\n\t\tif (key == Preferences.CHAR_CHANGE() && state != State.NPC && GameCharacter.storyInt > 3)\r\n\t\t\tswitching = true;\r\n\t\telse if (key == KeyEvent.VK_EQUALS)\r\n\t\t\tJOptionPane.showMessageDialog(owner, Preferences.getControls(), DigIt.NAME, JOptionPane.INFORMATION_MESSAGE);\r\n\r\n\t\telse if (state != State.NPC && key == KeyEvent.VK_ESCAPE) {\r\n\r\n\t\t\tif (state != State.DEAD && state != State.LOADING)\r\n\t\t\t\tsetState(State.PAUSED);\r\n\t\t\towner.quit(false);\r\n\t\t}\r\n\t\tswitch (state) {\r\n\t\tcase NPC:\r\n\t\t\tif (key == Preferences.NPC())\r\n\t\t\t\tcurrent.exit();\r\n\r\n\t\t\tbreak;\r\n\r\n\t\tcase PAUSED:\r\n\t\t\tpausedHandler(key);\r\n\t\t\tbreak;\r\n\r\n\t\tcase INGAME:\r\n\r\n\t\t\tif (key == Preferences.PAUSE()) {\r\n\t\t\t\tsetState(State.PAUSED);\r\n\t\t\t\trepaint();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tingameHandler(key);\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\t// repaint();\r\n\t}", "title": "" }, { "docid": "6cba6c8757960e490f267e79f5fc5285", "score": "0.528794", "text": "public void doChangeRate() {\r\n System.out.println(\"Enter the new rate of charge ($/hour):\");\r\n rate = input.nextDouble();\r\n parkingList.setRate(rate);\r\n\r\n System.out.println(\"The rate has been set to \" + rate + \" $/hour\");\r\n }", "title": "" }, { "docid": "d635778e8556dd4eee3bcd288347d6db", "score": "0.5287807", "text": "public static void rentCd() {\n\t\tString confirm = \"no\"; // database\n\t\tdo {\n\t\t\tint y = 0;\n\t\t\tSystem.out.println(\" \");\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"\\t\\t +-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+\"\n\t\t\t\t\t\t\t+ \"\\n\"\n\t\t\t\t\t\t\t+ \"\\t\\t |C|D| |R|e|n|t|a|l| |I|n|f|o|r|m|a|t|i|o|n|\"\n\t\t\t\t\t\t\t+ \"\\n\"\n\t\t\t\t\t\t\t+ \"\\t\\t +-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+\");\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.print(\"Enter the CD number: \");\n\t\t\tint itemNumber = sc.nextInt();\n\t\t\ttry {\n\t\t\t\tcdList.get(itemNumber);\n\t\t\t} catch (java.lang.IndexOutOfBoundsException e) {\n\t\t\t\tSystem.out.println(\"CD not found!\");\n\t\t\t\tconfirm = \"yes\";\n\t\t\t}\n\t\t\tSystem.out.print(\"Enter item type (weekly/overnight): \");\n\t\t\tString itemType = sc.next();\n\t\t\tSystem.out.print(\"Enter borrower name: \");\n\t\t\tsc.nextLine();\n\t\t\tString borrowerName = sc.nextLine();\n\t\t\tSystem.out.print(\"Enter borrower address: \");\n\t\t\tString borrowerAddress = sc.nextLine();\n\t\t\tSystem.out.print(\"Enter borrower mobile Number: \");\n\n\t\t\tdo {\n\t\t\t\tif (!sc.hasNextInt()) {\n\t\t\t\t\tSystem.err.print(\"Enter an Integer!\\n\");\n\t\t\t\t\tSystem.out.print(\"Enter borrower mobile Number: \");\n\t\t\t\t\tsc.next();\n\t\t\t\t}\n\n\t\t\t} while (!sc.hasNextInt());\n\n\t\t\tint borrowerNumber = sc.nextInt();\n\n\t\t\tSystem.out.print(\"Rented date(dd/mm/yyyy): \");\n\t\t\tString rentedDate = sc.next();\n\t\t\tSystem.out.print(\"Due date(dd/mm/yyyy): \");\n\t\t\tString dueDate = sc.next();\n\t\t\tint rentNumber = y;\n\t\t\trentList.add(itemNumber + \";\" + dueDate + \";\" + itemType + \";\"\n\t\t\t\t\t+ borrowerName + \";\" + borrowerAddress + \" ;\"\n\t\t\t\t\t+ borrowerNumber + \";\" + rentedDate + \";\" + rentNumber\n\t\t\t\t\t+ \";\");\n\t\t\ty++;\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Your cd rental details was recorded successfully!\");\n\t\t\tdo {\n\t\t\t\tSystem.out.println(\"Do you want to rent a new cd? (Yes/No)\");\n\t\t\t\tconfirm = sc.next();\n\t\t\t\tif (!(confirm.equalsIgnoreCase(\"yes\") || confirm\n\t\t\t\t\t\t.equalsIgnoreCase(\"no\")))\n\t\t\t\t\tSystem.out.println(\"Invalid input. Enter (Yes/No)\");\n\t\t\t} while (!(confirm.equalsIgnoreCase(\"yes\") || confirm\n\t\t\t\t\t.equalsIgnoreCase(\"no\")));\n\t\t} while (confirm.equalsIgnoreCase(\"yes\"));\n\t}", "title": "" }, { "docid": "fd036b3bc67f817391b8a807e9bb1ce2", "score": "0.5287386", "text": "private void exchangeMoney(){\n // if the user picked option 1, it will take the money entered and exchanged\n try{\n if(option.equals(\"1\")){\n System.out.println(\"***************************************************************************************\");\n System.out.println(\"The exchange money is £\" + String.format( \"%.2f\", findExchangeRate(enteredAmount) ) );\n System.out.println(\"***************************************************************************************\");\n } else {\n System.out.println(\"***************************************************************************************\");\n System.out.println(\"The money you have remaining exchanged into £\" + String.format( \"%.2f\", findExchangeRate(moneyRemaining())) );\n System.out.println(\"***************************************************************************************\");\n }\n // go back to the main menu\n // add some default values\n var newMain = new MainMenu(2,2);\n newMain.startMainMenu();\n } catch (InputMismatchException d){\n System.out.println(\"Something has gone wrong\");\n }\n\n }", "title": "" }, { "docid": "eb9e03c50b358d22c003d912cb8fb6bd", "score": "0.52860457", "text": "public void displayCustomerMainMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Customer Main Menu ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. manage account\");\n System.out.println(\"2. start viewing products\");\n System.out.println(\"3. sign out\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"----------------------------\");\n }", "title": "" }, { "docid": "0959490d09eae824765e3743310437fe", "score": "0.5280083", "text": "public void display_Current_Balance(){\n System.out.println(\"The balance in the current account is :\" + \" \" + balance_amt );\r\n }", "title": "" }, { "docid": "f0471346dc3964dbacb667411f11ce95", "score": "0.5264291", "text": "public static void insertCash() {\n\t\tSystem.out.print(\"請投入現金: 1) 50元 2) 100元 3) 500元4) 1000元 5)結束 -1)取消: \");\n\t\tinput = scanner.nextInt();\n\t\tif (input == 1)\n\t\t\tamount += 50;\n\t\telse if (input == 2)\n\t\t\tamount += 100;\n\t\telse if (input == 3)\n\t\t\tamount += 500;\n\t\telse if (input == 4)\n\t\t\tamount += 1000;\n\t\telse if (input == 5)\n\t\t\tstatus = 2;\n\t\telse if (input == -1){\n\t\t\tif (amount > 0) \n\t\t\t\tSystem.out.printf(\"退您%d元。\\n\", amount);\n\t\t\tstatus = 0;\n\t\t}\n\t\telse\n\t\t\tSystem.out.print(\"Input error!\");\n\t\t\t\n\t}", "title": "" }, { "docid": "d9c709e0329506d513dfa82bf4d1e279", "score": "0.5246852", "text": "private void displayQuantity(int numberOfCups) {\n TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);\n quantityTextView.setText(\"\" + numberOfCups);\n }", "title": "" }, { "docid": "63ff192619d55f5a345bc77639b012d7", "score": "0.5241162", "text": "@Override\n public void returnCash() {\n System.out.println(\"Return Cash 2\");\n System.out.println(\n \"Returning :\" + (((DataStore2) this.dataStore).getCash() - this.dataStore.getTotal()));\n ((DataStore2) this.dataStore).setCash(0);\n }", "title": "" }, { "docid": "a278117cd24c123b16bc902ebee89b30", "score": "0.52357215", "text": "public static int menu(){\r\n\t\t\r\n\t\tint choice;\r\n\t\t\r\n\t\tSystem.out.println(\"1. print shit\");\r\n\t\tSystem.out.println(\"2. print hi\");\r\n\t\tSystem.out.println(\"3. Commision\");\r\n\t\tSystem.out.println(\"4. discount\");\r\n\t\tSystem.out.println(\"5. intrest\");\r\n\t\tSystem.out.println(\"6. circles\");\r\n\t\tSystem.out.println(\"7. quit\");\r\n\t\t\r\n\t\tchoice = k.nextInt();\r\n\t\t\r\n\t\treturn choice;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e092e3bcd5348aab5e0e282459d8f913", "score": "0.5232565", "text": "@Override\n\tpublic void menu() {\n\t\tif(mod==1) {\n\t\t\tSystem.out.println(\"1-Add Player\");\n\t\t\tSystem.out.println(\"2-Remove Player\");\n\t\t\tSystem.out.println(\"3-View Player's Inventory\");\n\t\t\tSystem.out.println(\"4-Return to menu\");\n\t\t}\n\t\telse \n\t\t\tSystem.out.println(\"Do you want to return to the menu? (y for yes)\");\n\t\t\n\t}", "title": "" }, { "docid": "a1456779119e36a905a0a94ae4422b98", "score": "0.5230585", "text": "public String addKey(String key){\r\n double num; // to hold the number in display.\r\n\r\n //switch statement for all different key presses.\r\n switch (key){\r\n\r\n //adds a decimal point only if there isn't one already.\r\n case \".\":\r\n\r\n if (!display.toString().contains(\".\")){\r\n display.append(\".\");\r\n }\r\n break;\r\n /*adds the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"+\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just add what is in the stack already*/\r\n if (!numberDone) {\r\n // make the number on the display a double,\r\n num = Double.parseDouble(display.toString());\r\n // put that double in the stack\r\n calc.enterNumber(num);\r\n // set flag so a new number will start on the display\r\n numberDone = true;\r\n }\r\n //get the sum\r\n num = calc.add();\r\n //put the sum on the display\r\n display.replace(0, display.length(), (\"\" + num));\r\n break;\r\n\r\n /*subtracts the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"-\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just subtract what is in the stack already*/\r\n if (!numberDone){\r\n // make the number on display a double\r\n num = Double.parseDouble(display.toString());\r\n //put double into stack\r\n calc.enterNumber(num);\r\n //set flag so a new number can start on screen\r\n numberDone = true;\r\n }\r\n //get the difference\r\n num = calc.subtract();\r\n //put difference on display\r\n display.replace(0,display.length(),(\"\" + num));\r\n break;\r\n\r\n /* multiplies the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"*\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just multiply what is in the stack already*/\r\n if (!numberDone){\r\n //make the number on the display a double\r\n num = Double.parseDouble(display.toString());\r\n // put double into stack\r\n calc.enterNumber(num);\r\n //set flag so a new number can start\r\n numberDone = true;\r\n }\r\n //get the product\r\n num = calc.multiply();\r\n //put product on the display\r\n display.replace(0, display.length(), (\"\" + num));\r\n break;\r\n\r\n /*divides the top two numbers on the stack together. If there aren't any\r\n numbers in the stack, then do nothing.*/\r\n case \"/\":\r\n /*if the numberDone is false, enter the number in the stack, otherwise\r\n just multiply what is in the stack already*/\r\n if (!numberDone) {\r\n //make the number on the display a double\r\n num = Double.parseDouble(display.toString());\r\n // put the double in the stack\r\n calc.enterNumber(num);\r\n // set flag so that a new number can start\r\n numberDone = true;\r\n }\r\n //get the quotient\r\n num = calc.divide();\r\n // put quotient on display\r\n display.replace(0, display.length(),(\"\" + num));\r\n break;\r\n\r\n // enters number into stack and puts the double equivalent on display.\r\n case \"^\":\r\n // new number can start on display\r\n numberDone = true;\r\n // the a string into a double, put it in the stack and on the display\r\n num = Double.parseDouble(display.toString());\r\n display.replace(0, display.length(), (\"\" + num));\r\n calc.enterNumber(num);\r\n break;\r\n\r\n // deletes the last char in the display\r\n case \"<\":\r\n //only delete the char if the number isn't done. If it is done, then\r\n //it shouldn't be editable.\r\n if (!numberDone){\r\n display.deleteCharAt(display.length()-1);\r\n }\r\n //otherwise don't do anything.\r\n break;\r\n\r\n // make the number on display a negative if positive, or vice versa.\r\n case \"+/-\":\r\n if (display.charAt(0) == '-'){\r\n display.deleteCharAt(0);\r\n }\r\n else {\r\n display.insert(0, \"-\");\r\n }\r\n break;\r\n // put said number on display.\r\n case\"0\":\r\n case\"1\":\r\n case\"2\":\r\n case\"3\":\r\n case\"4\":\r\n case\"5\":\r\n case\"6\":\r\n case\"7\":\r\n case\"8\":\r\n case\"9\":\r\n /*if the number is done and has been added to the stack, start a new\r\n number*/\r\n if (numberDone){\r\n display.delete(0, display.length());\r\n }\r\n //put the number on the display\r\n display.append(key);\r\n // can still add to number on display\r\n numberDone = false;\r\n break;\r\n\r\n // puts number on display on stack, and puts pi on screen.\r\n case \"pi\":\r\n //if the numberDone is false, then put number on display into stack\r\n if (!numberDone) {\r\n // make the number in the display a double\r\n num = Double.parseDouble(display.toString());\r\n // put double into stack\r\n calc.enterNumber(num);\r\n }\r\n //otherwise just put pi on the screen\r\n display.replace(0,display.length(),\"\" + Math.PI);\r\n // and put pi into the stack\r\n calc.enterNumber(Math.PI);\r\n //can't add to pi.\r\n numberDone = true;\r\n }\r\n\r\n //return the display.\r\n return display.toString();\r\n }", "title": "" }, { "docid": "beac17df12496a78cd06895cc19d36f6", "score": "0.5228523", "text": "public void displayMainMenu(){\n System.out.println(\"1. List all available Enclosures\");\n System.out.println(\"2. List all available Cages with their Animals and Keepers\");\n System.out.println(\"3. Add a new Cage\");\n System.out.println(\"4. List all available Animals \");\n System.out.println(\"5. Add new Animal and assign it to Cage\");\n System.out.println(\"6. Unassign Animal from Cage\");\n System.out.println(\"7. List all available Keepers\");\n System.out.println(\"8. Add a new Keeper\");\n System.out.println(\"9. Assign keeper to cage\");\n System.out.println(\"10. Unassign Keeper from Cage\");\n System.out.println(\"11. Save all the current details and exit\");\n }", "title": "" }, { "docid": "53da444b197771a578a4d2943ce5df00", "score": "0.5228178", "text": "@Override\n\tpublic Prompt run() {\n\t\tSystem.out.println(\"Which character would you like to deposit to?\");\n\t\tString name = input.nextLine();\n\t\tWizardStudent currentWizard = wizardDao.findByName(name);\n\t\tif(currentWizard != null) {\n\t\t\tSystem.out.println(\"How many points would you like to deposit?\");\n\t\t\tint pointsAdded = input.nextInt();\n\t\t\tint currentPoints = currentWizard.getHousePoints();\n\t\t\tint newHousePoints = currentPoints + pointsAdded;\n\t\t\t\n\t\t\t//adding points to transaction\n\t\t\twizardDao.addTransaction(\"added points: \" + pointsAdded, currentWizard.getName());\n\t\t\t\n\t\t\ttry (Connection hogwartsDatabase = ConnectionUtil.getConnection()){\n\t\t\t\tString changePoints = \"UPDATE hogwarts_characters SET house_points = ? WHERE wizard_name = ?\";\n\t\t\t\tPreparedStatement ps = hogwartsDatabase.prepareStatement(changePoints);\n\t\t\t\tps.setInt(1, newHousePoints);\n\t\t\t\tps.setString(2, name);\n\t\t\t\t\n\t\t\t\tps.executeUpdate();\n\t\t\t\t\n\t\t\t} catch(SQLException e) {\n\t\t\t\te.getSQLState();\n\t\t\t\te.getCause();\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//String pointsTransaction = Integer.toString(newHousePoints);\n\t\t\t\n\t\t} else {\n\t\t\tSystem.out.println(\"Invalid character, please enter a valid character.\");\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\t\n\t\treturn new MainMenuPrompt();\n\t}", "title": "" }, { "docid": "c6a922f8dbd4c736d9ffd0591e516125", "score": "0.5226032", "text": "@Override\r\n public void handle(ActionEvent event) \r\n {\n System.out.println(\"CREDIT\");\r\n }", "title": "" }, { "docid": "2f993f74437a2be5a50b265c7f210d78", "score": "0.522527", "text": "public void payment()\r\n\t{\r\n\t\tSystem.out.println(\"Your total is \"+money.format(finalPrice)+\" how much\" +\r\n\t\t\t\t\" would you like to pay with?\");\r\n\t\tpay = scan.nextDouble();\r\n\t\tchange = pay-finalPrice;\r\n\t\tscan.nextLine();\r\n\t}", "title": "" }, { "docid": "daf1d19b1e1e81b1108c3d0ec42f8652", "score": "0.52032137", "text": "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String item = scan.nextLine(),\n result = \"\";\n int giftCardBalance = 100;\n\n\n\n switch (item) {\n case \"Blanket\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 60) + \"$\";\n break;\n case \"Charger\":\n result = \"Thank you for your purchase!\" + \"\\n\" +\n \"Your current balance is: \" + (giftCardBalance - 15) + \"$\";\n break;\n case \"Hat\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 25) + \"$\";\n break;\n case \"Headphones\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 30) + \"$\";\n break;\n case \"Laptop\":\n result = \"Sorry, not enough funds on your gift card!\";\n\n break;\n case \"Pants\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 50) + \"$\";\n break;\n case \"Pillow\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 40) + \"$\";\n break;\n case \"Smartphone\":\n result = \"Sorry, not enough funds on your gift card!\";\n break;\n case \"Socks\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 5) + \"$\";\n break;\n case \"USB cable\":\n result = \"Thank you for your purchase!\" + \" \\n\" +\n \"Your current balance is: \" + (giftCardBalance - 10) + \"$\";\n break;\n\n default:\n result = \"Invalid item!\";\n\n\n }\n System.out.println(result);\n\n\n }", "title": "" }, { "docid": "5746eb0cf21fb197e143014c976703eb", "score": "0.51971173", "text": "public void displayMenu() {\n System.out.print(\"1 - Challenger \\r\\n\");\n System.out.print(\"2 - Défenseur \\r\\n\");\n System.out.print(\"3 - Duel \\r\\n\");\n System.out.print(\"4 - Quitter \\r\\n\");\n System.out.println(\"choisissez le mode de jeu qui vous convient : \\r\\n\");\n }", "title": "" }, { "docid": "f61d122a0908c722a7a9a4ca21140238", "score": "0.51865053", "text": "static void employeeMenu() {\n\t\tsc = new Scanner(System.in);\n\t\tint Emploptn;// customer options keys\n\t\tboolean exit = false;\n\t\tList<Car> cars = new ArrayList<>();\n\n\t\tSystem.out.println(\"Employee Access\\n\\n1)Add/Remove Cars\\n2)Cars\\n3)Offer\\n4)View all payments\\n5)Exit\");\n\t\tdo {\n\t\t\tEmploptn = sc.nextInt();\n\n\t\t\tswitch (Emploptn) {\n\t\t\tcase 1:// Add and Remove cars\n\t\t\t\tSystem.out.println(\"Would you like to add cars or remove cars?<add/remove>\");\n\t\t\t\tString answer = sc.next();\n\t\t\t\tif (answer.contentEquals(\"add\")) {\n\t\t\t\t\tInventory();\n\t\t\t\t} else if (answer.contentEquals(\"remove\")) {\n\t\t\t\t\tRemove();\n\t\t\t\t} else {\n\t\t\t\t\temployeeMenu();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:// List of cars\n\t\t\t\tSystem.out.println(\"My cars\");// list of cars\n\t\t\t\tprintCarList(cars);\n\t\t\t\tbreak;\n\t\t\tcase 3:// Offers available\n\t\t\t\tSystem.out.println(\"Offer available (Accept or decline)\");\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\t// View all payments\n\t\t\t\tSystem.out.println(\"View all payments!\");\n\n\t\t\tcase 5:\n\t\t\t\tSystem.out.println(\"Exit!\");\n\t\t\t\texit = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"U dun F'ed up!\");\n\t\t\t}\n\t\t} while (!exit);\n\t\tSystem.out.println(\"Au revoir ami!\");\n\n\t}", "title": "" }, { "docid": "2e9d46f4e22556d3d4f6df15785097cd", "score": "0.51830584", "text": "public static void menu() {\r\n System.out.println(\"/nWelcome\" +\r\n\t\t\"\\n1.Sandwishes 45 kr\" +\r\n\t\t\"\\n2.Hamburger, 65 kr\" +\r\n\t\t\"\\n3.Veggieburger 65 kr\" +\r\n\t\t\"\\n4.Samon Sallad 65 kr\" + \r\n\t\t\"\\n5.Swedish Meatballs 65 kr\" +\r\n\t\t\"\\n6.Pancakes 45 kr\" +\r\n\t\t\"\\n7.IceCream 45 kr\" +\r\n\t\t\"\\n8Lobster 450 kr\" +\r\n\t\t\"\\n9Veggieburger deluxe 250 kr\" +\r\n\t\t\"\\n10Mushroom stew and paked potatoe 125 kr\" +\r\n\t\t\"\\n11Veggie Sallad 100 kr\" +\r\n\t\t\"\\n12Lemon Cheesecake 125 kr\" +\r\n\t\t\"\\n13Strawberry Cheesecake 125 kr\" +\r\n\t\t\"\\n14Waffles and icecream 125 kr\");\r\n\r\n\t}", "title": "" }, { "docid": "48728e64e84e1c9a5816c0455eb35501", "score": "0.51795083", "text": "public void buyItem()\n\t{\n\t\tint choice = 0;\n\t\tint quianty = 0;\n\t\tSystem.out.print(\"Select an item number: \");\n\t\tchoice = keyboard.nextInt();\n\t\tSystem.out.print(\"How many do you want to buy? \");\n\t\tquianty = keyboard.nextInt();\n\t\t// uses a switch statement to decide what the user has chosen\n\t\t// in each case it has a check to make sure that the number of items\n\t\t// requested is fewer than the number of items that is in the machine\n\t\t// if the requesed amount is more than the ammount in the machine it throws an \n\t\t// excepotion \n\t\t// if not than it takes away from the total how much they wanted\n\t\t// and adds to the counter of how many they bought\n\t\tswitch(choice)\n\t\t{\n\t\tcase 1: \n\t\t\tSystem.out.print(\"You selected Water. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.water - quianty < 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Water.\");\n\t\t\t}\n\t\t\telse { this.water -= quianty;\n\t\t\t\tthis.waterCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 2: \n\t\t\tSystem.out.print(\"You selected Regular Coffee. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.coffee < quianty)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Regular Coffee.\");\n\t\t\t}\n\t\t\telse{ this.coffee -= quianty;\n\t\t\t\tthis.coffeeCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 3: \n\t\t\tSystem.out.print(\"You selected Sun Chip. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.chips < quianty)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Sun Chip.\");\n\t\t\t}\n\t\t\telse{ this.chips -= quianty;\n\t\t\t\tthis.chipsCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 4: \n\t\t\tSystem.out.print(\"You selected Chocolate Bar. \");\n\t\t\tSystem.out.println(\"Quantity: \" + quianty);\n\t\t\tif(this.chocolateBar < quianty)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Selection Failed. We don’t \"\n\t\t\t\t\t\t+ \"have enough Chocolate Bar.\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tthis.chocolateBar -= quianty;\n\t\t\tthis.chocolateBarCounter = quianty;\n\t\t\t}\n\t\t\tbreak;\n\t\t\t\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Invalid Choice. \");\n\t\t}\n\t}", "title": "" }, { "docid": "6ff36c9b78fb93d131689b497e742785", "score": "0.51755846", "text": "private int displayMenu() {\n\t\tSystem.out.println();\n\t\t\n\t\t/** \n\t\t * opt is a local variable of type int that stores the numeric value of the category chosen by the user.\n\t\t */\n\t\tint opt = Integer.parseInt(getResponseTo(\"Enter a category from the following menu: \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tASSESSMENT + \".Assessment \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tFILLING + \".Filling \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tCROWN + \".Crown \\n\" +\n\t\t\t\t\t\t\t\t\t\t\t\tCOSMETIC + \".Cosmetic Repair \\n\"));\n\t\treturn (opt);\n\t}", "title": "" }, { "docid": "daaa69d5a8d57b20a0a3501781a2d116", "score": "0.5166086", "text": "private String InsertMoneyPrompt() {\n String result = view.settingTheUserTransactionAmount();\n return result;\n }", "title": "" }, { "docid": "f62aa5ffe45f927a5f24ab434c58caac", "score": "0.51558995", "text": "public void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\tdouble subtotal, tax, total;\n\t\t\t// Calculate the subtotal.\n\t\t\tsubtotal =getTeaCost() +\n\t\t\tgetFoodCost() +\n\t\t\tgetDrinksCost();\n\t\t\t// Calculate the sales tax.\n\t\t\ttax = subtotal * TAX_RATE;\n\t\t\t// Calculate the total.\n\t\t\ttotal = subtotal + tax;\n\t\t\t// Display the charges.\n\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\tString.format(\"Subtotal: $%,.2f\\n\" +\n\t\t\t\"Tax: $%,.2f\\n\" +\n\t\t\t\"Total: $%,.2f\",\n\t\t\tsubtotal, tax, total));\n\t\t\t}", "title": "" }, { "docid": "4d5a904c6f851d41d086b66a83eef790", "score": "0.5153626", "text": "public void printMenu()\n {\n System.out.println(\"\\n\\nEnter option: \");\n System.out.println(\"\\t 1 - Print all hurricane data \\n\" +\n \"\\t 2 - Print maximum and minimum data \\n\" +\n \"\\t 3 - Print averages \\n\" +\n \"\\t 4 - Sort hurricanes by year \\n\" +\n \"\\t 5 - Sort hurricanes by name \\n\" +\n \"\\t 6 - Sort hurricanes by category, descending \\n\" +\n \"\\t 7 - Sort hurricanes by pressure, descending \\n\" +\n \"\\t 8 - Sort hurricanes by speed \\n\" + \n \"\\t 9 - Search for hurricanes for a given year \\n\" +\n \"\\t10 - Search for a given hurricane by name \\n\" +\n \"\\t11 - Quit \\n\");\n }", "title": "" }, { "docid": "3145e94f344771c3d9cc868d345e909c", "score": "0.5135653", "text": "public void credit(){\n System.out.println(\"Bank- Credit\");\n }", "title": "" }, { "docid": "c4eaf06ffc900a53dc4b66f88af6e99b", "score": "0.513262", "text": "private void mainMenu() {\n System.out.println(\"Canteen Management System\");\n System.out.println(\"-----------------------\");\n System.out.println(\"1. Show Menu\");\n System.out.println(\"2. Show Vendor\");\n System.out.println(\"3. Customer Info\");\n System.out.println(\"4. Pending Orders\");\n System.out.println(\"5. Order History\");\n System.out.println(\"6. Show Full Order\");\n System.out.println(\"7. Accept And Reject\");\n System.out.println(\"8. Place Order\");\n System.out.println(\"9. Cancel Order\");\n System.out.println(\"10. Wallet Details\");\n System.out.println(\"11. Pay GST\");\n System.out.println(\"12.Exit\");\n mainMenuDetails();\n }", "title": "" }, { "docid": "80335c50e050239541dcf86aa4f332e0", "score": "0.51318634", "text": "@Override\n public void calculate(double totalPrice) {\n this.input = new Scanner(System.in);\n DecimalFormat decimalFormat = new DecimalFormat(\"##0.0#\");\n Pattern accountPattern = Pattern.compile(\"[0-9]{12}\");\n Pattern codePattern = Pattern.compile(\"[0-9]{3}\");\n String string = \"$\" + decimalFormat.format(totalPrice + 0.49);\n\n System.out.print(\"Enter the bank code: \");\n if(input.hasNext(codePattern)) this.bankCode = input.next(codePattern);\n\n System.out.print(\"Enter the account number: \");\n if(input.hasNext(accountPattern)) this.accountNumber = input.next(accountPattern);\n\n if(this.accountNumber!=null && this.bankCode != null){\n EventManager.getInstance().publish(new StringEvent(EventType.PRINT_RECEIPT,string));\n System.out.print(\"Pay successfully!\\n\");\n }else {\n System.out.print(\"Pay failed.\\n\");\n }\n }", "title": "" }, { "docid": "15b0d86f528c8bfb83bc3bf13c0ecb1c", "score": "0.51308507", "text": "void showSmallCar(){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint ch;\n\t\tdo{\n\t\t\tSystem.out.println(\"-------------------------------------------\");\n\t\t\tSystem.out.println(\"\\t1:Maruti alto\\n\\t2:Honda Brio\\n\\t3:Main menu\");\n\t\t\tSystem.out.println(\"\\tEnter choice:\");\n\t\t\tch=sc.nextInt();\n\t\t\tSystem.out.println(\"-------------------------------------------\");\n\t\t\tswitch(ch){\n\t\t\tcase 1:\n\t\t\t\tSystem.out.println(\"\\tBulding Maruti Alto\");\n\t\t\t\tSystem.out.println(\"\\tSpecifications::\");\n\t\t\t\tSystem.out.println(\"\\tPrice: Rs.2.95 lakhs - Rs.4.41 lakhs\");\n\t\t\t\tSystem.out.println(\"\\tFuel economy: 22-32 km/l combined\");\n\t\t\t\tSystem.out.println(\"\\tSeating capacity: 4, 5\");\n\t\t\t\tSystem.out.println(\"\\tEngine: 0.80 L 3-cylinder, 0.80 L 3-cylinder natural gas\");\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tSystem.out.println(\"\\tBulding Honda Brio\");\n\t\t\t\tSystem.out.println(\"\\tSpecifications::\");\n\t\t\t\tSystem.out.println(\"\\tPrice:Rs.5,17,000.00\");\n\t\t\t\tSystem.out.println(\"\\tFuel Type:Petrol\");\n\t\t\t\tSystem.out.println(\"\\tEngine Displacement:1198cc\");\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tSystem.out.println(\"\\tBack to main menus\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"\\tEnter valid choice..\");\n\t\t\t}\n\t\t}while(ch!=3);\n\t}", "title": "" }, { "docid": "1302e0071d6439890b4c750a40f331d7", "score": "0.51235676", "text": "public void displayCartMiniMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Cart Main Menu ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. add product to cart\");\n System.out.println(\"2. view cart\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"------------------------\");\n }", "title": "" }, { "docid": "0b39bc9d4c41f448b4667d134a49278f", "score": "0.51233333", "text": "public void displayCartDetailEditMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Unit Editor ----\");\n System.out.println(\"Please select the attribute of unit to edit: \");\n System.out.println(\"1. Amount\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"------------------------\");\n }", "title": "" }, { "docid": "617e65004198b03177b9912484d8fe82", "score": "0.5120468", "text": "@Override\n protected void onResume() {\n super.onResume();\n mCurrentCash = (TextView)findViewById(R.id.shopMoney);\n mCurrentCash.setText(Integer.toString(SingletonCurrentCash.getInstance().getCash()));\n }", "title": "" }, { "docid": "b42062dca1df4f7721c9c0264b7390da", "score": "0.51155984", "text": "public void tick(){\n if (handler.getKeyManager().keyJustPressed(KeyEvent.VK_E))\n active = !active;\n if(!active){ return; }\n// isDebugOn = true;\n if(isDebugOn){\n System.out.println(\"Inventory: \");\n for(Item i : inventoryItems){\n System.out.println(\"Item : \\\"\" + i.getName() + \"\\\" \" + i.getCount());\n }\n }\n //Below codes makes you navigate inventory items list by keyboard.\n if(handler.getKeyManager().keyJustPressed(KeyEvent.VK_NUMPAD8)){selectedItem--;}\n if(handler.getKeyManager().keyJustPressed(KeyEvent.VK_NUMPAD2)){selectedItem++;}\n\n if(selectedItem < 0){selectedItem = inventoryItems.size() - 1;}\n else if(selectedItem >= inventoryItems.size()){selectedItem = 0;}\n }", "title": "" }, { "docid": "44497720c90f9f918d4f2f2a3b6bb26a", "score": "0.51117086", "text": "void doAction() {\n System.out.println(\"You are at the candy counter.\");\n int index = random.nextInt(Items.candyBar.length);\n if (kbio.YNRequestInput(\"Do you want to buy a \" + Items.candyBar[index])) {\n super.addCandyBar(Items.candyBar[index]);\n }\n }", "title": "" }, { "docid": "61526789b0b9655adf7abb73f03b9665", "score": "0.5107349", "text": "public void displayAccountEditMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Account Editor ----\");\n System.out.println(\"Please select the detail part of your account to edit: \");\n System.out.println(\"1. Password\");\n System.out.println(\"2. Name\");\n System.out.println(\"3. Phone\");\n System.out.println(\"4. Email\");\n System.out.println(\"5. Address\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"------------------------\");\n }", "title": "" }, { "docid": "a158d31ff29a46fe4d97adf464212144", "score": "0.51031846", "text": "private void DisplayCashSale(){\n\t\t//Direct user to the CashSale Activity\n\t\tstartActivity(new Intent(this,CashSale.class));\n\t}", "title": "" }, { "docid": "ec63ec1eaf7186220e451a35929cbe1e", "score": "0.5097252", "text": "public int Menu() {\n int userChoice = 0;\n System.out.println(\"\\n+ + Main Menu + + + +\" +\n \"\\nPress > 1 < To Order a Pizza!\" +\n \"\\nPress > 2 < To See All orders, starting from most Recent.\" +\n \"\\nPress > 3 < To See All orders, starting at the Oldest.\" +\n \"\\nPress > 4 < To Quit Program.\");\n do {\n System.out.print(\"\\n >> Enter a number: \");\n userChoice = input.nextInt();\n input.nextLine();\n } while (userChoice > 4);\n return userChoice;\n }", "title": "" }, { "docid": "92afeac0ef8ec5ced7c5d9a952dd43ab", "score": "0.5094808", "text": "public void credit(){\n System.out.println(\"Bank Credit\");\n }", "title": "" }, { "docid": "d400b6f3f30072904dfd56b5feeb1b93", "score": "0.50922513", "text": "public void firstMenu() {\n\n int back = 0;\n while (back == 0) {\n spaces();\n System.out.println(\"\\033[33m\" + \"========== BIENVENIDO A HOTEL TRANSILVANIA ==========\");\n try {\n System.out.println(\"\"\"\n \\033[32m\n [1]- Ingresar\n [2]- Registrarse\n [0]- Salir\"\"\");\n System.out.print(\"Ingrese una opción: \");\n switch (scan.nextInt()) {\n case 1 -> logIn();\n case 2 -> {\n registerMenu();\n saveHotel();\n }\n case 0 -> back++;\n default -> System.out.println(\"\\033[31m\" + \"Opcion incorrecta\");\n }\n } catch (InputMismatchException e) {\n System.out.println(\"\\033[31m\" + \"Solo se puede ingresar numeros.\");\n scan.next();\n }\n }\n saveHotel();\n }", "title": "" }, { "docid": "6e176bba3e6ac2428cf30ea5fa079bc3", "score": "0.5091521", "text": "public void displayOwnerAccountManageMenu()\n {\n System.out.println(\"\");\n System.out.println(\"---- Account Manage Menu For Owner ----\");\n System.out.println(\"Please select the service from: \");\n System.out.println(\"1. add a new account\");\n System.out.println(\"2. edit an existed account\");\n System.out.println(\"3. remove an existed account\");\n System.out.println(\"4. view the list of accounts\");\n System.out.println(\"R. return to the previous menu\");\n System.out.println(\"X. exit the MFV system\");\n System.out.println(\"---------------------------------------\");\n }", "title": "" }, { "docid": "e90139168151c903ef3ad181b934544d", "score": "0.50897247", "text": "@Override\n public void generateOnScreen() {\n System.out.println(\"Total amount of money spent is \" + countPrices());\n }", "title": "" }, { "docid": "6d613531671601c15ad342673212b162", "score": "0.50888336", "text": "public void viewBal() {\n\t\tSystem.out.println(\"Your outstanding balance is: RM\" +tuitionBal);\n\t}", "title": "" }, { "docid": "f153252e4e414e6de2520f807e8e8dc7", "score": "0.5087298", "text": "public static void mainMenu()\n {\n System.out.println();\n System.out.println(\"-------------------------------------------------\");\n System.out.println(\"Enter from the following options or -1 to quit. \");\n System.out.println();\n System.out.println(\"1: View Roster \");\n System.out.println(\"2: View Schedule \");\n System.out.println(\"3: View Staff \");\n System.out.println(\"4: Add player \");\n System.out.println(\"5: Add Game \");\n System.out.println(\"6: Add Staff Member \");\n System.out.println(\"7: Update Player Stats\");\n System.out.println(\"8: Update Game Results\");\n System.out.println(\"9: Save Roster\");\n System.out.println(\"10: View Saved Information \");\n System.out.println(\"-------------------------------------------------\");\n System.out.println();\n System.out.print(\"Enter here: \");\n }", "title": "" }, { "docid": "fb1c4170374e029bf6f81cdde74d9dfa", "score": "0.5078135", "text": "public static void showMenu() {\n kb = new Scanner(System.in);\n System.out.println(\"Welcome to my garden!\\n\");\n System.out.println(\"Please select:\");\n System.out.println(\"1.\\tAdd flowerbed\");\n System.out.println(\"2.\\tRemove folwerbed\");\n System.out.println(\"3.\\tSave and exit\");\n //System.out.println(\"4.\\tRead from file\");\n int command = getIntInput();\n switch (command) {\n case 1:\n Garden.getFlowerbedInput(\"grass.png\");\n break;\n case 2:\n Garden.RemoveGarden();\n //System.out.println(\"Removing flowerbed:\");\n break;\n case 3:\n Garden.saveGarden();\n break;\n default:\n System.out.println(\"Please input a value from 1 to 3\");\n UserInterface.showMenu();\n }\n }", "title": "" }, { "docid": "760393d424e33bb6597026a659994d2c", "score": "0.50641745", "text": "public void runUI() {\n\n\t\tString User_R;\n\t\tString User_RC;\n\t\tString User_Sb;\n\t\tint shareAmount;\n\t\tboolean buy = true;\n\n\t\tdo {\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Would you like to see your 1 account status? 2 Or trade Stock? 3 or Cycle the market.\"\n\t\t\t\t\t\t\t+ \"Or if you're done type exit.\");\n\n\t\t\tUser_R = keyboard.next();\n\n\t\t\tif (User_R.equals(\"1\")) {\n\t\t\t\tSystem.out.println(ta.balance);\n\t\t\t\tSystem.out.println(ta.stockPositions);\n\n\t\t\t} else if (User_R.equals(\"2\")) {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.println(\"Which stock would you like? APPl, INTU, GOOG?\");\n\t\t\t\tUser_RC = keyboard.next();\n\n\t\t\t\tSystem.out.println(\"How many shares?\");\n\t\t\t\tshareAmount = keyboard.nextInt();\n\n\t\t\t\tSystem.out.println(\"Buy or Sell?\");\n\t\t\t\tUser_Sb = keyboard.next();\n\n\t\t\t\tif (User_Sb.equals(\"Buy\")) {\n\t\t\t\t\tbuy = true;\n\n\t\t\t\t} else {\n\t\t\t\t\tbuy = false;\n\t\t\t\t}\n\n\t\t\t\ttq.enqueue(User_RC, shareAmount, buy);\n\n\t\t\t} else if (User_R.equals(\"3\")) {\n\t\t\t\tse.cycleTurn();\n\t\t\t\tprocessTrades();\n\n\t\t\t}\n\n\t\t} while (!User_R.equals(\"exit\") && ta.balance >= 1);\n\n\t\tSystem.out.println(ta.balance);\n\t\tSystem.out.println(\"Thanks for playing\");\n\n\t}", "title": "" }, { "docid": "52e045ef212caa78e52973d430536f13", "score": "0.5061703", "text": "private void DisplayMenu() \n {\n int menuChoice = 0;\n int count = 1;\n \n while(menuChoice != 12) {\n \n Scanner scan = new Scanner(System.in);\n System.out.println(\"\");\n System.out.println(\"1. Enter the deails of your books\");\n System.out.println(\"2. Output details of books in stock.\");\n System.out.println(\"3. Output details of book via it's title\");\n System.out.println(\"4. Output details of book via it's ISBN\");\n System.out.println(\"5. Display most expensive book in stock\");\n System.out.println(\"6. Display quantity of total books in stock\");\n System.out.println(\"7. Display total cost of all books in stock\");\n System.out.println(\"8. Update stock of a book via it's ISBN\");\n System.out.println(\"9. Update price of book via it's title\");\n System.out.println(\"10. Add details of new book to stock\");\n System.out.println(\"11. Delete record of book from stock via it's ISBN\");\n System.out.println(\"12. Quit the program\");\n \n System.out.println();\n menuChoice = CheckIfInt(scan, \"Enter the number of your choice: \");\n \n switch (menuChoice) {\n \n case 1:\n PromptForBookDetails();\n break;\n case 2:\n OutputAllBookDetails();\n break;\n case 3:\n OutputDetailsViaTitle();\n break;\n case 4:\n OutputDetailsViaISBN();\n break;\n case 5:\n MostExpensiveBook();\n break;\n case 6:\n TotalStockQuanity();\n break;\n case 7:\n TotalStockPrice();\n break;\n case 8:\n UpdateStockViaISBN();\n break;\n case 9:\n UpdatePriceViaTitle();\n break;\n case 10:\n AddNewBook();\n break;\n case 11:\n DeleteExistingBook();\n break;\n case 12:\n System.exit(0);\n break;\n }\n } \n \n }", "title": "" }, { "docid": "c79bf4b4166ce61449f4a53796f057d5", "score": "0.50612366", "text": "public void credit(){\n\t\tSystem.out.println(\"HSBC---credit\");\n\t}", "title": "" }, { "docid": "25ea0eda2b776ea56aea6b30597a429f", "score": "0.5057026", "text": "public void credit() { \r\n\t\tScanner input = new Scanner(System.in);\r\n\t\tdouble credit = input.nextDouble();\r\n\t\tbalance = credit;\r\n\t\t}", "title": "" }, { "docid": "25ee459e0e3b4ac1f7e878178d185249", "score": "0.50561464", "text": "public static void displayMenu() {\n\t\tSystem.out.println(\"----------Menu----------\");\n\t\tSystem.out.println(\"Welcome manager , choose what you want to do !\\n1.Add new location \\n2.Add new apartment\\n3.Allocate Price\\n4.Book apartment\\n5.Quit\\nEnter your choice:\");\n\t\n\t}", "title": "" }, { "docid": "3c030a7c499ab8993a27173c273f0522", "score": "0.5055681", "text": "public void run() { \r\n int choice = 0;\r\n do {\r\n \r\n this.displayMenu();\r\n \r\n choice = this.getUserInt(\"Please enter your choice\");\r\n if (choice == 1) {\r\n \t this.displaySummaryData();\r\n \t} else if (choice == 2) {\r\n \t this.displayStatisticalData(); \r\n \t} else if (choice == 3) {\r\n \t this.displayAllRecords(); \r\n \t} else if (choice < 1 || choice > 4) {\r\n \t System.out.println();\r\n \t System.out.println(\"\\tThat's not a valid menu option. Please try again.\");\r\n \t}\r\n } while (choice != 4);\r\n \r\n System.out.println();\r\n \tSystem.out.println(\"\\tThank you for using the Stock Manager Application.\");\r\n \tSystem.out.println(\"\\tGoodbye!\");\r\n }", "title": "" }, { "docid": "81e43f5d8e2a7ef6999c6819b2c2e82e", "score": "0.50554025", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(total <= 21) {\r\n\t\t\tif(e.getSource() == hit) {\r\n\t\t\t\tint newCard = drawCard();\r\n\t total += newCard;\r\n\t scores.setText(\"Dealer hand: \" + house + \" \" + \"Your hand: \" + total);\r\n\t if(total > 21) {\r\n\t \tscores.setText(\"Dealer hand: \" + house + \" \" + \"Your hand: \" + total);\r\n\t \tcheckWin();\r\n\t \t\r\n\t }\r\n\t\t\t}\r\n\t\t\tif(e.getSource() == stay) {\r\n\t\t\t\tif(total <= 21) {\r\n\t\t houseGetCards();\r\n\t\t scores.setText(\"Dealer hand: \" + house + \" \" + \"Your hand: \" + total);\r\n\t\t }\r\n\t\t\t\tcheckWin();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3a204c55c8914d888530e456981e0534", "score": "0.50546676", "text": "@Override\n\tpublic int queryCash() {\n\t\treturn cash;\n\t}", "title": "" }, { "docid": "d6a9adecab9a5bd7b318e0da77d20ff1", "score": "0.5050956", "text": "@Override\r\n public void keyPressed(KeyEvent e) {\r\n \r\n \r\n if (e.getKeyCode()==KeyEvent.VK_ENTER){\r\n \r\n model.setNumero1(Integer.parseInt(view.TN1.getText()));\r\n model.setNumero2(Integer.parseInt(view.TN2.getText()));\r\n model.sumar();\r\n view.Tresultado.setText(String.valueOf(model.getResultado())); \r\n \r\n\r\n }\r\n \r\n }", "title": "" }, { "docid": "fe6a59f1743d589fc181a15a8395d736", "score": "0.5048724", "text": "public static void mainMenu() {\n\n\t\tif (cartao != null) {\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** MAQUINA ANDANTE **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** \\\"\" + cartao.zona.nome + \"\\\" \" + cartao.quantidade + \" **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** 1) COMPRAR Cartão Andante **\");\n\t\t\tSystem.out.println(\"** 2) CARREGAR Cartão Andante **\");\n\t\t\tSystem.out.println(\"** 3) MUDAR ZONA Cartão Andante **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.print(\"Escolha operação : \");\n\t\t} else {\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** MAQUINA ANDANTE **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** 1) COMPRAR Cartão Andante **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"** **\");\n\t\t\tSystem.out.println(\"************************************\");\n\t\t\tSystem.out.print(\"Escolha operação : \");\n\t\t}\n\t}", "title": "" } ]
0bbc0888c63a8e3dae4fec83813f0881
Creates a Search with the given MainSystem.
[ { "docid": "9f792525156a20c3078263fcd8eb2a00", "score": "0.80730927", "text": "public Search(MainSystem system) {\n this.system = system;\n }", "title": "" } ]
[ { "docid": "532dc53e4396364a7619cc9b1c8cf48e", "score": "0.6590036", "text": "Search newInstance();", "title": "" }, { "docid": "a69649aa9e3ac8728dd83465a902222c", "score": "0.61643356", "text": "public SearchEngine() {\n\t\tthis.basicEngine = new BasicSearchEngine();\n\t}", "title": "" }, { "docid": "021c3f973ade4debf0d97720783e429c", "score": "0.61618006", "text": "public void createSearchManager()\n\t{\n\t\tif (searchManager == null) {\n\t\t\t// searchManager = new UserSearchManager(provider.getConnection(), serviceName);\n\t\t\tsearchManager = new UserSearchManager(provider.getConnection());\n\t\t}\n\t}", "title": "" }, { "docid": "ced0c26aec2684f3894149c38f8ad854", "score": "0.60689366", "text": "public SearchInstance(String searchString, Resource.TYPE resourceTypeToSearchFor)\r\n {\r\n this.searchType = TYPE.QuerySearch;\r\n this.serviceFilteringBasedOn = null;\r\n \r\n this.resourceTypeToSearchFor = resourceTypeToSearchFor; \r\n \r\n this.searchString = searchString;\r\n this.searchTags = null;\r\n }", "title": "" }, { "docid": "9736ffc9128b816a25fcb535ce90fd87", "score": "0.6021145", "text": "SearchEngine openSearchEngine(RuntimeCompassSettings runtimeSettings);", "title": "" }, { "docid": "d5f044f2acf565813b61bba12c7d198a", "score": "0.5792167", "text": "public interface SearchEngineFactory {\n\n /**\n * Opens/Creates a light weight search engine to perform search engine\n * operations.\n * \n * @return A new search engine session.\n */\n SearchEngine openSearchEngine(RuntimeCompassSettings runtimeSettings);\n\n /**\n * Creates a new query builder.\n */\n SearchEngineQueryBuilder queryBuilder() throws SearchEngineException;\n\n /**\n * Creates a new query filter builder.\n */\n SearchEngineQueryFilterBuilder queryFilterBuilder() throws SearchEngineException;\n \n /**\n * Returns a resource factory allowing to create resources and properties.\n */\n ResourceFactory getResourceFactory();\n\n /**\n * Returns the index manager.\n *\n * @return the search engine index manager.\n */\n SearchEngineIndexManager getIndexManager();\n\n /**\n * Returns the property naming strategy used by the search engine to create\n * hidden properties.\n * \n * @return The property naming strategy used.\n */\n PropertyNamingStrategy getPropertyNamingStrategy();\n\n /**\n * Returns the serach engine optimizer that was created by the factory.\n * \n * @return The search engine optimizer\n */\n SearchEngineOptimizer getOptimizer();\n\n /**\n * Rerturns the specll checker manager (if enabled).\n */\n SearchEngineSpellCheckManager getSpellCheckManager();\n\n /**\n */\n SearchEngineEventManager getEventManager();\n\n /**\n * Returns a transactional context that operations that (usually) operate on a different\n * thread or outside of a transactional context should use.\n */\n TransactionContext getTransactionContext();\n\n /**\n * Returns an executor manager allowing to execute tasks in an async manner as well as\n * schedule tasks.\n */\n ExecutorManager getExecutorManager();\n\n /**\n * Closes the factory.\n * \n * @throws SearchEngineException\n */\n void close() throws SearchEngineException;\n\n /**\n * Returns the name of the alias property.\n *\n * @return The name of the alias property.\n */\n String getAliasProperty();\n\n /**\n * Returns the name of the extending alias property name.\n */\n String getExtendedAliasProperty();\n\n /**\n * Returns the name for the all property.\n *\n * @return The name of the all property.\n */\n String getAllProperty();\n\n /**\n * Returns the compass mappings.\n */\n CompassMapping getMapping();\n}", "title": "" }, { "docid": "e4becaa1e0e8e7aa53fcea10997a7aaf", "score": "0.56812227", "text": "public static BluetoothServiceSearch newInstance() {\n\t\treturn new BluetoothServiceSearch();\n\t}", "title": "" }, { "docid": "423d1a319b47cbc02716ef4b3b8c1a5f", "score": "0.5676546", "text": "protected Search() {/* intentionally empty block */}", "title": "" }, { "docid": "8e764ead61d42b90963e341a9a2b0c9d", "score": "0.5651134", "text": "public SoftwarePackage search(mySystem system,String softwareName){\n SoftwarePackage searchByName=new SoftwarePackage(softwareName,-1,-1);\n if(system.getSoftwares().find(searchByName)!=null){\n return system.getSoftwares().find(searchByName);\n }\n else{\n return null;\n }\n }", "title": "" }, { "docid": "b70f280e3d75196677efbe2d2eb40462", "score": "0.5646106", "text": "public ASSearch createSearchMethod() throws Exception {\n\t\tASSearch searchMethod = (ASSearch) getImplementingClass().newInstance();\n\t\tif (searchMethod instanceof OptionHandler && getSearchMethodParameters() != null) {\n\t\t\t((OptionHandler) searchMethod).setOptions(Utils.splitOptions(ParameterUtilities.buildOptionsString(getSearchMethodParameters())));\n\t\t}\n\t\treturn searchMethod;\n\t}", "title": "" }, { "docid": "50c36c05e627cabed0053eefe7ca302d", "score": "0.5587959", "text": "public void NewSearch (String query) {\n mSearchQuery = query;\n initializeState();\n }", "title": "" }, { "docid": "1701f5f5ff1eb4ca301a4454df70707c", "score": "0.55583113", "text": "public void createSearchSpace(){\n createSearchSpace(1, state, board, true);\n }", "title": "" }, { "docid": "cd345e344b9932e9e978fdc91bd90453", "score": "0.5557371", "text": "private ServicesSearch() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "711a20c3d30963a0f6b9dd8323e97e4f", "score": "0.55457145", "text": "public SearchHelper(boolean createEngine) {\n\t\tstaticInfo = new StaticBibleInfo();\n\t\tif (createEngine) {\n\t\t\tengine = new CBibleEngine();\n\t\t\tString DATA_SOURCE = \"data/data/edu.southern/lighthouse/\";\n\t\t\tengine.StartEngine(DATA_SOURCE, \"KJV\");\n\t\t\tengine.StartLexiconEngine(DATA_SOURCE);\n\t\t\tengine.StartMarginEngine(DATA_SOURCE);\n\t\t}\n\t}", "title": "" }, { "docid": "ef53a05bf486e6b2bf09c7ab65721ed5", "score": "0.5496954", "text": "public SearchEngine(WorkingCopyOwner workingCopyOwner) {\n\t\tthis.basicEngine = new BasicSearchEngine(workingCopyOwner);\n\t}", "title": "" }, { "docid": "8b3687725c3a2b93c888b3df86c9ab4b", "score": "0.54236907", "text": "@POST( BASE + APP )\n SearchResult executeAppSearch( @Body SearchTerm searchTerm );", "title": "" }, { "docid": "8b682c546a61c653332847901b1d295e", "score": "0.54170305", "text": "public static void main(String[] args) {\n\t\tnew SearchEngineGui(); // Let the constructor do the job\n\t}", "title": "" }, { "docid": "d0343ea14aa6b08687c29452531d2671", "score": "0.53884244", "text": "public void search();", "title": "" }, { "docid": "3254f7967ccce41d8a675bd40bcf5349", "score": "0.53865314", "text": "public SearchQuery() {\n }", "title": "" }, { "docid": "a9080589d87e4efb789ec176a3b4e758", "score": "0.53751683", "text": "public static ServicesSearch getInstance() {\n\t\treturn SINGLETON;\n\t}", "title": "" }, { "docid": "596910218ab68251a884f7ec851595c9", "score": "0.5365349", "text": "private SearchProject(){}", "title": "" }, { "docid": "86eb6faa20f51103c3f6bb4b8fbb3b19", "score": "0.5360294", "text": "@NotNull\r\n public BaseViewModel createViewModel() {\r\n return new SearchViewModel(this.eventTracker, this.searchRepository, this.searchHistoryRepository);\r\n }", "title": "" }, { "docid": "0dad0356ecfa26e6c014f85465fb8bda", "score": "0.5354998", "text": "public LuceneComponentsFactory initializeSearcher() throws IOException{\n\t\t\n\t\tinitializeCommon();\n\t\t\n\t\t// instantiate an index searcher\n\t\tindexSearcher = new IndexSearcher(DirectoryReader.open(index));\n\t\t\n\t\t// override default TF/IDF score to ignore multiple appearances\n\t\tindexSearcher.setSimilarity(new BinarySimilarity());\n\t\t\n\t\t// Instantiate the searcher manager.\n\t\tsearcherManager = new SearcherManager(index, null);\n\t\t\n\t\t// Do it.\n\t\treturn this;\n\t}", "title": "" }, { "docid": "17f4394155b756a0e245b4cfb296aa01", "score": "0.5349302", "text": "public void initialiseSearch(EntityID myself) {\n\t\tbuildingUtility.initialiseSearchList(myself);\n\t\tinitialisedSearch = true;\n\t}", "title": "" }, { "docid": "dc11c2af687147d3c799a1f3fde278d5", "score": "0.531068", "text": "public SearchEngine(ICompilationUnit[] workingCopies) {\n\t\tthis.basicEngine = new BasicSearchEngine(workingCopies);\n\t}", "title": "" }, { "docid": "b1715297726090247e3c0a05fecc8670", "score": "0.5295878", "text": "SearchEngine(String user){\n\t\tthis.user = user;\n\t}", "title": "" }, { "docid": "b9456efa65ff2e388f510707d9b16ce5", "score": "0.5292989", "text": "public static FormSearch newInstance() {\n FormSearch fragment = new FormSearch();\n\n return fragment;\n }", "title": "" }, { "docid": "34964081bb608a8365ef5f78c65a3134", "score": "0.5271606", "text": "public SearchInstance(Tag searchTag, Resource.TYPE resourceTypeToSearchFor)\r\n {\r\n this.searchType = TYPE.TagSearch;\r\n this.serviceFilteringBasedOn = null;\r\n \r\n this.resourceTypeToSearchFor = resourceTypeToSearchFor;\r\n \r\n this.searchTags = Collections.singletonList(searchTag);\r\n this.searchString = null;\r\n }", "title": "" }, { "docid": "218a05a1ef88e739f6017a3bd1791891", "score": "0.5269775", "text": "public VSearchDao() {\n super(VSearch.V_SEARCH, cn.vertxup.ui.domain.tables.pojos.VSearch.class);\n }", "title": "" }, { "docid": "8e8973ccb195a8eafab145fa7c3c4099", "score": "0.5250449", "text": "public Search() {\n /*\n r0 = this;\n r0.<init>();\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.adminpanelfinder.Search.<init>():void\");\n }", "title": "" }, { "docid": "b99b2b53dba48a7792eb4c783bf470fb", "score": "0.52468073", "text": "public static void main(String[] args) {\r\nSearch s3=new Search();\r\ns3.start();\r\n}", "title": "" }, { "docid": "64371edb557577330f5ed3a883e120ba", "score": "0.5238641", "text": "public Call<Search> createSearchRequest(Long l, Long l2) {\n return this.twitterCore.getApiClient().getSearchService().tweets(this.query, this.geocode, this.languageCode, null, this.resultType, this.maxItemsPerRequest, this.untilDate, l, l2, Boolean.valueOf(true));\n }", "title": "" }, { "docid": "1a310c50b79fa0da1ea112bb559e01f8", "score": "0.5232209", "text": "@Override\r\n\tprotected Searcher generateSearcher() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "9d9e14401e8d729731e5ff5324c37ccd", "score": "0.5225375", "text": "public SearchById() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "b04d803fe7b48954450d146c36b85043", "score": "0.52148825", "text": "public Search(int addr, TOP_Type type) {\n super(addr, type);\n readObject();\n }", "title": "" }, { "docid": "8f56a31eea0f5df24d4b4e994d24c897", "score": "0.52077574", "text": "private RepositorySystem newManualSystem()\n {\n DefaultServiceLocator locator = new DefaultServiceLocator();\n locator.setServices( WagonProvider.class, new ManualWagonProvider() );\n locator.addService( RepositoryConnectorFactory.class, WagonRepositoryConnectorFactory.class );\n return locator.getService( RepositorySystem.class );\n }", "title": "" }, { "docid": "23fbb534becba3eb60dc5c5c1888b053", "score": "0.52074647", "text": "searchEngine() {\r\n\t// Below is the directory that contains all the internet files\r\n\thtmlParsing.internetFilesLocation = \"internetFiles\";\r\n\twordIndex = new HashMap<String, LinkedList<String> > ();\t\t\r\n\tinternet = new directedGraph();\t\t\t\t\r\n }", "title": "" }, { "docid": "96c803ca9480d8276cae5bc26c515fe7", "score": "0.52048856", "text": "private void doMySearch(String query) {\n\t\t\n\t}", "title": "" }, { "docid": "96c803ca9480d8276cae5bc26c515fe7", "score": "0.52048856", "text": "private void doMySearch(String query) {\n\t\t\n\t}", "title": "" }, { "docid": "af49586af9307fc2bc8fd28c5127b896", "score": "0.5203251", "text": "void searchByName();", "title": "" }, { "docid": "ab5096f97277c5913376ccac343c202e", "score": "0.52018726", "text": "public VSearchDao(Configuration configuration) {\n super(VSearch.V_SEARCH, cn.vertxup.ui.domain.tables.pojos.VSearch.class, configuration);\n }", "title": "" }, { "docid": "3fcda4e8f3b97dc8dae12e000ed90227", "score": "0.5201484", "text": "public void search()\r\n\t{\r\n\t\t// Loop through each term in the searchTerms list\r\n\t\tfor (int i = 0; i < searchTerms.size(); i++)\r\n\t\t{\r\n\t\t\tSearch search = new Search(searchTerms.get(i));\r\n\t\t\t\r\n\t\t\t// Find paragraphs containing term\r\n\t\t\tList<Paragraph> paraResults = search.getResults();\r\n\t\t\t\r\n\t\t\t// Check for null list\r\n\t\t\tif (paraResults != null)\r\n\t\t\t{\r\n\t\t\t\tresultsList.addAll(paraResults);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tremoveDuplicateResults();\r\n\t}", "title": "" }, { "docid": "5611786fbdd969f875eb59f7fcdd8904", "score": "0.51880383", "text": "public Bundle search(Object appInfo, String type, List<Argument> searchParams);", "title": "" }, { "docid": "ca532a458fc418ec1d63629c89b7b235", "score": "0.518369", "text": "public FacetResult runSearch() throws IOException, ParseException {\n index();\n return search();\n }", "title": "" }, { "docid": "28a5b902bbc0c8ce7ac9f596af54023e", "score": "0.51744664", "text": "void search(ISearchRequestor requestor, QuerySpecification querySpecification, IProgressMonitor monitor) throws CoreException;", "title": "" }, { "docid": "f8f166077138f64da2950e3190b5357d", "score": "0.51659846", "text": "protected abstract TextField constructSearchField();", "title": "" }, { "docid": "a7c670fa55d562ef4bad337ec632ed95", "score": "0.514491", "text": "public static void main(String[] args) throws IOException, ParseException {\n CreateIndex.Creating_Index();\n SearchEngine.Engine();\n System.out.println(\"Searching Successful\");\n }", "title": "" }, { "docid": "1a2749a0ef3fa531643ff4f6e61abad6", "score": "0.51437885", "text": "public SearchInstance(List<Tag> searchTags, Resource.TYPE resourceTypeToSearchFor)\r\n {\r\n this.searchType = TYPE.TagSearch;\r\n this.serviceFilteringBasedOn = null;\r\n \r\n this.resourceTypeToSearchFor = resourceTypeToSearchFor;\r\n \r\n this.searchTags = searchTags;\r\n this.searchString = null;\r\n }", "title": "" }, { "docid": "e443b1493b57e0a29b80e3d062606932", "score": "0.51419455", "text": "public LuceneService() throws IOException {\n this(new SimpleFSDirectory(new File(\"./searchDirectory\")));\n }", "title": "" }, { "docid": "817ec7c440cfdff6b797c7113a94a56f", "score": "0.51391995", "text": "private IndexSearcher getSearcher() {\n IndexSearcher searcher = null;\n try {\n IndexReader reader = getReader();\n searcher = new IndexSearcher(reader);\n } catch (Exception e) {\n e.printStackTrace();\n throw new RuntimeException();\n }\n return searcher;\n }", "title": "" }, { "docid": "d012ceaec642cb293eac566408714969", "score": "0.51143485", "text": "private void doSearch() throws Exception {\r\n dialog.setTitle(\"Search what?\");\r\n Optional<String> result = dialog.showAndWait();\r\n if (result.isPresent() && !result.get().isEmpty()) {\r\n LuceneSearch lucene = new LuceneSearch();\r\n textArea.appendText(lucene.indexSearch(result.get()));\r\n// SearchEngine searchEngine = new SearchEngine();\r\n// String web = searchEngine.searchResult(result.get());\r\n// textArea.appendText(web);\r\n\r\n } else {\r\n textArea.appendText(\"Invalid query, please check your query\");\r\n }\r\n }", "title": "" }, { "docid": "f84709fb018a6296afa40f4dffb1d84a", "score": "0.51124936", "text": "public void makeNetworkSearchQuery(){\n // get the search string\n String searchTerm = mSearchTermEditText.getText().toString();\n //reset the search results\n mSearchResultsDisplay.setText(\"Results : \\n\\n\");\n // make the search - network\n new FetchNetworkData().execute(searchTerm);\n\n }", "title": "" }, { "docid": "b36be09d7e29e0ea829cd4b818cb892a", "score": "0.51053715", "text": "@Override\n\tpublic ContentAssemblyNodeContainer createSmartFolderFromSearch(User arg0,\n\t\t\tString arg1, String arg2, Search arg3,\n\t\t\tContentAssemblyCreateOptions arg4) throws RSuiteException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2f77f163ed1c7780f1dcf0de6de515a1", "score": "0.50972044", "text": "public static void main(String[] args) {\n\t\tLuceneInitializer tester = new LuceneInitializer();\n\n\t\tcreateIndexAndSearch(tester);\n\t\tspecificSearch(tester);\n\t}", "title": "" }, { "docid": "c4cbb747e072e0a28c6e4d1448316bc5", "score": "0.50841403", "text": "public abstract void build(SolrCore core, SolrIndexSearcher searcher);", "title": "" }, { "docid": "17a44e66465d6368930fd6ce5096de22", "score": "0.507116", "text": "public Results searchForQuery(String query)\n {\n// (new ElementActions(driver)).type(search_TextBox(), query)\n// .keyPress(search_TextBox(), Keys.ENTER);\n\n ElementActions.type(driver, search_TextBox(), query);\n ElementActions.keyPress(driver, search_TextBox(), Keys.ENTER);\n return new Results(driver);\n }", "title": "" }, { "docid": "ec1963bb5268e46c55f9942d60fda1e3", "score": "0.50683165", "text": "private void doMySearch(String query){\n }", "title": "" }, { "docid": "20f0add0f2509efc120f33da55a1efd4", "score": "0.5050743", "text": "private void doSearch(String queryStr) {\n }", "title": "" }, { "docid": "99b4fba631d4bfbefac19208767bdbd0", "score": "0.5048257", "text": "public DynamicElement addSearch(By byToAdd) {\n searchOptions.add(byToAdd);\n return this;\n }", "title": "" }, { "docid": "9aaeb48be30a36071585404751a271d7", "score": "0.5045918", "text": "public Search(String args) {\r\n\t\t// Temp Variables\r\n\t\tString paragraph = null;\r\n\t\tFile[] allDocuments;\r\n\t\tScanner scan;\r\n\t\tArrayList<String> docArray = new ArrayList<>();\r\n\t\tFile file = new File(\"sourceFiles//\");\r\n\t\t\r\n\t\tString s = args.toString();\r\n\t\tString[] searchArray = s.split(\" \");\r\n\t\t\r\n\r\n\t\tallDocuments = file.listFiles();\r\n\t\t\r\n\t\t//This for loop runs through all the files in the\r\n\t\t//directory and adds them to one big array list\r\n\t\tfor (File temp : allDocuments) {\r\n\t\t\ttry {\r\n\t\t\t\tscan = new Scanner(temp);\r\n\t\t\t\tparagraph = temp.getName() + \"\\n\";\r\n\t\t\t\twhile (scan.hasNext()) {\r\n\t\t\t\t\t\tparagraph += scan.next() + \" \";\r\n\t\t\t\t}\r\n\t\t\t\tdocArray.add(paragraph);\r\n\t\t\t} catch (FileNotFoundException fnf) {\r\n\t\t\t\tfnf.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Enhanced for loop creates a string temp and for each temp\r\n\t\t//in the search array that is split by spaces. \r\n\t\tfor (String query : searchArray) {\r\n\t\t\tresults = getParagraph(query, docArray);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "da5bdb1d5627fda54721831c00b5da6a", "score": "0.50350094", "text": "public void search(ContentSource contentSource, String query,\n SearchSeriesController searchSeriesController) {\n // stop running search threads, since if they exist they are probably\n // loading covers that we don't need anymore\n stopThreads(PREFIX_SEARCH);\n\n String name = PREFIX_SEARCH + contentSource.toString() + \"_\" + query;\n LoaderRunnable runnable =\n new SearchRunnable(name, this, contentSource, query, searchSeriesController);\n startThreadSafely(name, runnable);\n }", "title": "" }, { "docid": "17c3829ce0cdd39c480dca9f86279113", "score": "0.50309503", "text": "public SearchCondition()\r\n\t{}", "title": "" }, { "docid": "1ad6d60e1f3fed5500941216bdfa948a", "score": "0.5019412", "text": "public SearchParameters() {\n }", "title": "" }, { "docid": "94bc44e7930a2cbcf0cce40c49b890b1", "score": "0.5013137", "text": "public void search(String searchTxt){\n CommonPage.search(driver,searchTxt);\n }", "title": "" }, { "docid": "eff4f81e78e90a0b9343604289715242", "score": "0.5012918", "text": "public searchServlet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "346f5aa5b9fdc3b27e33c9b6d37de773", "score": "0.5009492", "text": "public static void main(String args[] ) throws Exception {\n storeDocument( \"experienced software developer python\",0);\n storeDocument( \" experienced developer javascript css html react\",1);\n storeDocument(\"technical recruiter junior software\",2);\n\n performSearch(\"software\");\n\n\n }", "title": "" }, { "docid": "3d45b1a82996adb6c177139c293d8a46", "score": "0.50060636", "text": "public void search()\n\t{\t\n\t\tcurrent_loc.search();\n\t}", "title": "" }, { "docid": "f61d4aa46462b20acfe1409ecf3e2b8a", "score": "0.49950734", "text": "public abstract void search();", "title": "" }, { "docid": "e3a31ee5bf36754f8125ceba09b2b10e", "score": "0.49950427", "text": "private void doSearch(String queryStr) {\n }", "title": "" }, { "docid": "c1bd30d91d75c763a486ee115baab47d", "score": "0.4994478", "text": "@Override\r\n protected void createSearchForm(final SearchPanel<Adelanto> search) {\n }", "title": "" }, { "docid": "aea6d89990201dbd3af5417f1766a929", "score": "0.49909806", "text": "public int NEW_SEARCH(IApplicationManager theAppMgr)\n\t throws StateException {\n\t return 1;\n\t }", "title": "" }, { "docid": "6674a91e03107fb10848b80ea169107d", "score": "0.4973741", "text": "private void discoverSearchService()\n\t{\n\t\tnew Thread()\n\t\t{\n\t\t\tpublic void run()\n\t\t\t{\n\t\t\t\tsynchronized (userSearchEnabled) {\n\t\t\t\t\tCollection<DomainBareJid> serviceNames = null;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tserviceNames = searchManager.getSearchServices();\n\t\t\t\t\t}\n\t\t\t\t\tcatch (NoResponseException | InterruptedException | NotConnectedException\n\t\t\t\t\t\t\t| XMPPErrorException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tif (!serviceNames.isEmpty()) {\n\t\t\t\t\t\tserviceName = serviceNames.iterator().next();\n\t\t\t\t\t\tsetUserSearchEnabled(true);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tsetUserSearchEnabled(false);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t};\n\t\t}.start();\n\t}", "title": "" }, { "docid": "e46d822ef0af2835144777616d3b5d5f", "score": "0.49575415", "text": "SearchEngine(){\n this.invertedIndex = new InvertedPageIndex();\n }", "title": "" }, { "docid": "a38b71dacc12a49dd38debe7057a4e79", "score": "0.49466196", "text": "private static void searchByName() {\n\t\r\n}", "title": "" }, { "docid": "444395e443a99366925547c1f6b25d52", "score": "0.4937959", "text": "public interface LuceneService {\n boolean createIndex() throws IOException;\n\n List<HouseItem> search(String queryStr) throws IOException, ParseException;\n\n}", "title": "" }, { "docid": "44dfcddfeea30465c2a0e722658678e7", "score": "0.49342397", "text": "public SearchImpl(SearchDataSource searchDataSource) {\n if (searchDataSource == null)\n throw new IllegalArgumentException(\"searchDataSource cannot be null\");\n\n this.searchDataSource = searchDataSource;\n\n\n }", "title": "" }, { "docid": "b3866b3ee8a9acb9198e244a4da68cde", "score": "0.4929495", "text": "public void beginSearch(String currentQuery2) {\n this.currentQuery = currentQuery2;\n new ReviewSearchRequest(currentQuery2, this.listingId).doubleResponse().withListener(this.reviewSearchResultsRequestListener).execute(this.requestManager);\n this.controller.requestModelBuild();\n }", "title": "" }, { "docid": "43035804d52285a661ca5a0ddb2e337d", "score": "0.4923362", "text": "private void search() {\n SolaTask t = new SolaTask<Void, Void>() {\n\n @Override\n public Void doTask() {\n setMessage(MessageUtility.getLocalizedMessageText(ClientMessage.PROGRESS_MSG_PERSON_SEARCHING));\n partySearchResuls.search(partySearchParams, serviceId);\n return null;\n }\n\n @Override\n public void taskDone() {\n jLabel5.setVisible(true);\n lblSearchResultNumber.setText(Integer.toString(partySearchResuls.getPartySearchResults().size()));\n if (partySearchResuls.getPartySearchResults().size() < 1) {\n MessageUtility.displayMessage(ClientMessage.SEARCH_NO_RESULTS);\n }\n }\n };\n TaskManager.getInstance().runTask(t);\n }", "title": "" }, { "docid": "886a65c44d8506aaa9c6d8b0f5b4aaaa", "score": "0.4923151", "text": "@Override Document getSearchRequest()\n{\n Document doc = XMLParser.createDocument();\n Element root = SviwebXml.addChild(doc,\"SEARCH\");\n root.setAttribute(\"WHAT\",\"UIFRAMEWORK\");\n addCommonProperties(root);\n \n String cnm = class_box.getText();\n String mnm = method_box.getText();\n String vnm = \"uicls\";\n String rnm = \"uirslt\";\n \n Element tests = SviwebXml.addChild(root,\"TESTS\");\n Element tcase = SviwebXml.addChild(tests,\"TESTCASE\");\n tcase.setAttribute(\"NAME\",\"SVIWEB_1\");\n tcase.setAttribute(\"TYPE\",\"CALLS\");\n Element call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"METHOD\",cnm);\n call.setAttribute(\"NEW\",\"true\");\n call.setAttribute(\"OP\",\"SAVE\");\n Element oute = SviwebXml.addChild(call,\"OUTPUT\");\n oute.setAttribute(\"TYPE\",\"SAVE\");\n oute.setAttribute(\"VALUE\",vnm);\n SviwebXml.addTextElement(oute,\"CODE\",cnm + \" \" + vnm + \";\");\n call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"METHOD\",mnm);\n call.setAttribute(\"THIS\",vnm);\n call.setAttribute(\"OP\",\"SAVE\");\n oute = SviwebXml.addChild(call,\"OUTPUT\");\n oute.setAttribute(\"TYPE\",\"SAVE\");\n oute.setAttribute(\"VALUE\",rnm);\n SviwebXml.addTextElement(oute,\"CODE\",\"java.awt.component \" + rnm + \";\");\n call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"OP\",\"HIERARCHY\");\n call.setAttribute(\"THIS\",rnm);\n call = SviwebXml.addChild(tcase,\"CALL\");\n call.setAttribute(\"OP\",\"SHOW\");\n call.setAttribute(\"THIS\",rnm);\n \n if (security_area != null) security_area.generateOutput(root);\n if (context_area != null) context_area.generateOutput(root);\n if (contract_area != null) contract_area.generateOutput(root);\n \n return doc;\n}", "title": "" }, { "docid": "e42e4924f5efd17832d98665f372deb3", "score": "0.49219048", "text": "Page<Robot> searchWithModel(String query, RobotModel model, Pageable pageable);", "title": "" }, { "docid": "b027df97299d7b01c7c303483376e709", "score": "0.49105248", "text": "private DocumentSearchService()\n {\n\n }", "title": "" }, { "docid": "cc0c70d766431eeefd24940d7e812aa3", "score": "0.49099386", "text": "public int getSearchType() {\n return 0;\n }", "title": "" }, { "docid": "6fd9c22ddacf9b2f38fb592e1d0a2c28", "score": "0.4899738", "text": "public Page<Sistemas> generalSearch(java.lang.String search, Pageable pageable) {\n return repository.generalSearch(search, pageable);\n }", "title": "" }, { "docid": "ee2e804a7b7a71dbcc093f06ff12472a", "score": "0.4897159", "text": "private Command prepareSearchByStatus(String status) {\n return new SearchCommand(status);\n }", "title": "" }, { "docid": "472d4eec7d7903111cccd0c0b2bf11a6", "score": "0.48939583", "text": "public Solution<T> search(Searchable<T> s);", "title": "" }, { "docid": "adc714b97db9c1e99adfcbb004931c18", "score": "0.489359", "text": "public AntSearch() {\n resetOptions();\n\n }", "title": "" }, { "docid": "7a6757a398bf76e5442cb0999a7080e6", "score": "0.48876625", "text": "public static void main(String[] args) throws Exception {\n System.out.println(new App().search());\n }", "title": "" }, { "docid": "14353d8cb2905e97d0d9abd4198b560d", "score": "0.48873156", "text": "private void processSearch(String inputText) {\n\tScreenRegion searchField = validateScreenRegionForImage(\n\t\ttestEnv.getImageURL(Patterns.SearchFieldImage),\n\t\t\"Search field was not found on the screen\", true);\n\ttestEnv.getMouse().click(searchField.getCenter());\n\tKeyboard keyboard = testEnv.getKeyboard();\n\tkeyboardCombination(Key.CMD, \"a\");\n\tkeyboard.type(Key.BACKSPACE);\n\n\tkeyboard.type(inputText);\n\tkeyboard.type(Key.ENTER);\n }", "title": "" }, { "docid": "7680e47c53c035b0cffc34d952748618", "score": "0.488332", "text": "public static Results<ScoredDocument> simpleSearch(String searchTerm)\n {\n\t\treturn (executeQuery(searchTerm));\n }", "title": "" }, { "docid": "5b2338c64c040b3bc24f2e79dff6b684", "score": "0.48757818", "text": "public void search(View v) {\n String searchWord = search.getText().toString();\n cursor = dbhandler.getSearch(searchType, searchWord);\n toList(cursor);\n }", "title": "" }, { "docid": "57968e93ac82754977436a662f155c21", "score": "0.48745617", "text": "public void goSearch() {\n\t\tmActivity.startSearch(null, false, Bundle.EMPTY, false);\n\t}", "title": "" }, { "docid": "5954ea71e3f509736978b713d717f0cc", "score": "0.48698038", "text": "public SearchResultPage search(String searchTerm) {\n searchField.sendKeys(searchTerm);\n searchField.sendKeys(Keys.ENTER);\n return new SearchResultPage(driver);\n\n\n }", "title": "" }, { "docid": "9e7cc2edf39c8abc7c77c0e0eded5339", "score": "0.486129", "text": "public void createSearchIndex(List<Feed> feeds);", "title": "" }, { "docid": "346fad40bab5b043d6029721786ac52a", "score": "0.48594266", "text": "public void createSearchArea(){\n\n searchVBox = new VBox();\n searchVBox.setPadding(new Insets(10, 10, 0, 10));\n searchInputField = new TextField();\n searchInputField.setId(\"search-field\"); // give textfield css id for styling\n searchInputField.setPromptText(\"Search entries...\");\n searchInputField.setEditable(true);\n searchInputField.setOnKeyTyped(e -> showSearchResults(searchInputField.getText())); // refresh list on key presses\n\n // create initial observable list for the search results and place in the ListView\n showSearchResults(\"\");\n searchVBox.getChildren().addAll(searchInputField, searchResultsList);\n\n }", "title": "" }, { "docid": "9dc863d96a62985dcd62041282baac45", "score": "0.48575777", "text": "public HashMap<String, Integer> searchService(String searchTerm) {\n\n String[] words = searchTerm.toLowerCase().trim().split(\"\\\\s+\");\n\n // search results: service identifier, search score\n HashMap<String, Integer> searchResults = new HashMap<>();\n\n // collecting all inverted indexes from the peers\n List<InvertedIndex> indexes = new ArrayList<InvertedIndex>();\n for (String word : words) {\n InvertedIndex tmp = getIndex(word);\n if (tmp != null) indexes.add(tmp);\n }\n // TODO: In order to further improve the service discovery performance of the directory, we could\n // TODO: cache the frequently used indexes\n\n // Computing very easy search score with the occurrence of search terms\n indexes.forEach(invertedIndex -> {\n for (Map.Entry<String, Integer> entry : invertedIndex.getMicroServices().entrySet()) {\n if (searchResults.containsKey(entry.getKey())) {\n searchResults.put(entry.getKey(), searchResults.get(entry.getKey()) + entry.getValue());\n } else {\n searchResults.put(entry.getKey(), entry.getValue());\n }\n }\n });\n\n // Print the top ten search results\n System.out.println(\"Search results:\");\n searchResults.entrySet().stream()\n .sorted(Map.Entry.<String, Integer>comparingByValue().reversed())\n .limit(10)\n .forEach(stringIntegerEntry -> {\n Microservice tmpService = getService(stringIntegerEntry.getKey());\n System.out.println(tmpService.toString());\n });\n\n return searchResults;\n }", "title": "" }, { "docid": "54a84a07bc7e997aa829e76ac1abfedb", "score": "0.4851596", "text": "public static void searchCatalog() {\r\n\r\n\t\tSystem.out.print(searchPrompt);\r\n\r\n\t\tString userInput = reader.nextLine();\r\n\t\tsearchResults.clear();\r\n\t\tString allLowerUserInput = userInput.toLowerCase();\r\n\t\t// PROMPT USER FOR SEARCH QUERY\r\n\t\tfor (Song x : songList) {\r\n\t\t\tString title = x.getTitle();\r\n\t\t\tString allLowerTitle = title.toLowerCase();\r\n\t\t\tif (allLowerTitle.contains(allLowerUserInput)) {\r\n\t\t\t\tsearchResults.add(x);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tint numberOfOccurances = searchResults.size();\r\n\t\tSystem.out.println(\"Found \" + numberOfOccurances + \" matches\");\r\n\t\tSystem.out.println(menuDivider);\r\n\t\tfor (Song match : searchResults) {\r\n\t\t\tSystem.out.println(match);\r\n\r\n\t\t}\r\n\t\tSystem.out.print(lastPrompt);\r\n\t\tmenuInput();\r\n\r\n\t}", "title": "" }, { "docid": "a2844e3b8070d6bad7df85feed33bbe2", "score": "0.48512462", "text": "public SearchPanel(){\n createSearchPanel();\n }", "title": "" }, { "docid": "cf4152d441220203a29f979e3a8d6ca5", "score": "0.4849509", "text": "public void performSearch() {\n OASelect<JsonType> sel = getJsonTypeSearch().getSelect();\n sel.setSearchHub(getSearchFromHub());\n sel.setFinder(getFinder());\n getHub().select(sel);\n }", "title": "" }, { "docid": "9fe312908ce5126b2db1634ea1d7f7bb", "score": "0.48456752", "text": "default public void search(Document doc) {\n\t}", "title": "" }, { "docid": "5efd9f7633b71c5ffa40fbca63b4c7fc", "score": "0.48403284", "text": "public static SearchFragment newInstance() {\r\n SearchFragment fragment = new SearchFragment();\r\n return fragment;\r\n }", "title": "" } ]
d8ba3e4c7d8d17d4eb1286bea4b65bbc
when web socket message is received from user agent. Cependant, on attend pas de message venant de l'utilisateur.
[ { "docid": "e1b8af109016aa513aa95a1e49d534f6", "score": "0.705949", "text": "@OnMessage\n public void onMessage(String message, Session session) throws IOException, InterruptedException {\n String username = getUserName(session);\n logger.info(String.format(\"message websocket reçu. expediteur=%s, texte= %s\", username, message)); \n }", "title": "" } ]
[ { "docid": "f75aa5a678996dad5e91821fda54eb39", "score": "0.7141033", "text": "void onMessageReceived(String username, String data);", "title": "" }, { "docid": "b1f6f2da7705eae0d745211b414996bb", "score": "0.6784888", "text": "@Override\n public void onMessage(WebSocket webSocket, ByteString bytes) {\n }", "title": "" }, { "docid": "e5c41afad8befbff0d37116a0210ce61", "score": "0.6765605", "text": "@Override\n public void onMessage(WebSocket webSocket, String text) {\n }", "title": "" }, { "docid": "83c0da0f79858c5856aa4b86a8cc5977", "score": "0.66707605", "text": "@OnWebSocketMessage\n public void onMessage(Session session, String message) {\n }", "title": "" }, { "docid": "fde6948fa47a90e349f441e2ae37ccd2", "score": "0.6538328", "text": "@Override\r\n public void onMessage(String message) {\n Log.e(\"JWebSocketClient\", \"onMessage()\"+message);\r\n }", "title": "" }, { "docid": "8c42d4b90f2f847de7135f6d266396b8", "score": "0.6456768", "text": "public void onMessage(Message message) {\n\t\tObjectMessage tmsg = (ObjectMessage) message;\r\n\t\ttry {\r\n\t\t\tMessageClient mess= (MessageClient) tmsg.getObject();\r\n\t\t\tSystem.out.println(mess.getType()+\" chatApp\");\r\n\t\t\tUser user= new User();\r\n\t\t\tuser.setUsername(mess.getUsername());\r\n\t\t\tuser.setPassword(mess.getPassword());\r\n\t\t\tif(mess.getType().equals(\"login\")){\r\n\t\t\t\taddUser(user);\r\n\t\t\t}else if(mess.getType().equals(\"logout\")){\r\n\t\t\t\tremoveUser(user);\r\n\t\t\t}\r\n\t\t} catch (JMSException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0ab5e986086bda1f961f777bdba39da7", "score": "0.63385785", "text": "@Override\n\tpublic void messageReceived(IoSession session, Object message)\n\t\t\tthrows Exception {\n\t\tsuper.messageReceived(session, message);\n\t\tlogger.debug(\"== messageReceived: \"+ message.toString());\n\t\t\n\t\t\n\t\tsession.write(\"收到:\"+message.toString());\n\t\t\n\t}", "title": "" }, { "docid": "ecfe3826321c489bc11f8b908e6300ae", "score": "0.62979025", "text": "@OnMessage\n\tpublic void onMessage(String message) {\n\t\ttry {\n\t\t\tthis.monWebSocketClient.recvMessage(message);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7f3f0ec15a82694bffe625457e975100", "score": "0.62957126", "text": "@OnWebSocketMessage\n public void handleMessage(String message) {\n \t// if the message is a change of model update Model;\n \t// broadcast new model;\n System.out.println(\"StreetViewWebSocketServlet Message:\" + message);\n\t\t\n theModel.updateModel(message);\n \n StringBuilder theBuilder = new StringBuilder(\"model:\");\n\t\tString stringifiedModel = theModel.asJSONObject().toString();\n\t\ttheBuilder.append(stringifiedModel);\n\n\t\tfor (int i = 1; i < users.size(); ++i) {\n\t users.get(i).send(theBuilder.toString());\n\t\t}\n }", "title": "" }, { "docid": "2b2ca47df33ea0d4de33e90e9f716475", "score": "0.628889", "text": "@OnMessage\r\n\tpublic void incoming(String message, @PathParam(\"path\") String path) throws Exception {\n\t\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n\t\t\t\tDocumentBuilder builder;\r\n\t\t\t\tbuilder = factory.newDocumentBuilder();\r\n\t\t\t\tStringReader sr = new StringReader(message);\r\n\t\t\t\tInputSource is = new InputSource(sr);\r\n\t\t\t\tDocument doc = builder.parse(is); //Invalid XML will crash here\r\n\r\n\t\t\t\t// get message type\r\n\t\t\t\tElement element = doc.getDocumentElement();\r\n\t\t\t\tString messageType = element.getAttribute(\"type\");\r\n\t\t\t\t\r\n\t\t\t\t//System.out.println(\"Received: \"+convertXMLtoString(element));\r\n\r\n\t\t\t\tString senderID = null; \r\n\t\t\t\t\r\n\t\t\t\t//Get the senderID and Client and link to this ChatAnnotation class\r\n\t\t\t\tsenderID = element.getAttribute(\"senderID\");\r\n\t\t\t\t\r\n\t\t\t\t//long startTime = System.nanoTime();\r\n\t\t\t\t\r\n\t\t\t//Moved these up for optimization, but it only gets like 1ms so idk\r\n\t\t\r\n\t\tif(messageType.equals(MessageType.UserClientAffirm)) {\r\n\t\t\t//If a clientID is included, confirm it the userClient and send it\r\n\t\t\t//Else create a new userClient\r\n\t\t//System.out.println(\"Time diff \"+(System.nanoTime()-startTime));\r\n\t\t\t//Use senderID to find userClient and link userClient\r\n\t\t\tif (senderID != \"\") {\r\n\t\t\t\tint userListSize = userList.size(); //set before for is run\r\n\t\t\t\t\r\n\t\t\t\tfor (int i=0; i<userListSize; i++) {\r\n\t\t\t\t\tClient user = userList.get(i);\r\n\t\t\t\t\tif (user.permID.equals(senderID)) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tthis.userClient = user;\r\n\t\t\t\t\t\tSystem.out.println(\"CONFIRM permID: \"+userClient.permID+\" -> \"+ userClient.toString());\r\n\t\t\t\t\t\tsendXMLMessage(\"permIDConfirm\", userClient.permID);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t/******************************************************\r\n\t\t\t\t\t\t * User had a verified Client, run reconnect script\r\n\t\t\t\t\t\t *********************************************************/\r\n\t\t\t\t\t\t\r\n//\t\t\t\t\t\t//Reconnect for loginChat- is not Admin but has groupID \r\n//\t\t\t\t\t\tif (path.equals(\"loginChat\") && !userClient.isAdmin && userClient.groupID>0) {\r\n//\t\t\t\t\t\t\t//place user back into group if removed- otherwise Session change fixes this\r\n//\t\t\t\t\t\t\tuserClient.session = this.session; //change session early in case\r\n//\t\t\t\t\t\t\tSet<Client> group = groupManager.getGroup(userClient.groupID);\r\n//\t\t\t\t\t\t\tif (!group.contains(userClient))\r\n//\t\t\t\t\t\t\t\tgroup.add(userClient); \r\n//\r\n//\t\t\t\t\t\t\tsendChatHistory(userClient, 0, true); //send chatHistory\r\n//\t\t\t\t\t\t\tsendXMLMessage(\"goToChat\", userClient.permID); //calls swapPanel on loginChatJS which when sent twice\r\n//\t\t\t\t\t\t\t//sendXMLMessage(\"displayChat\", userClient.permID); //sends user to chat page\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tsendReconnectMessage(doc, userClient);\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tSystem.out.println(\"User \"+userClient.IDString()+\" has successfully reconnected to loginChat.\");\r\n//\t\t\t\t\t\t} else if //adminMonitor- is admin and has adminMonitor Table (has logged in but not out)\r\n//\t\t\t\t\t\t\t(path.equals(\"adminMonitor\") && userClient.isAdmin &&\r\n//\t\t\t\t\t\t\t\t\tgroupManager.getAMStatus(userClient)!=null) {\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tuserClient.session = this.session; //refresh session\r\n//\t\t\t\t\t\t\tsendAMStatus(groupManager.getAMStatus(userClient)); //client needs this to prepare the windows\r\n//\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tint[] AMStatus = groupManager.getAMStatus(userClient);\r\n//\t\t\t\t\t\t\tfor (int groupNo=0; groupNo<AMStatus.length; groupNo++) {\r\n//\t\t\t\t\t\t\t\tif (AMStatus[groupNo]>GroupManager.AM_NONE){ //add to group\r\n//\t\t\t\t\t\t\t\t\tgroupManager.getGroupByNo(groupNo).add(userClient);\r\n//\t\t\t\t\t\t\t\t\tuserClient.groupID = groupManager.getGroupID(groupNo);\r\n//\t\t\t\t\t\t\t\t\tsendChatHistory(userClient, 0, true);\r\n//\t\t\t\t\t\t\t\t}\r\n//\t\t\t\t\t\t\t\tif (AMStatus[groupNo]==GroupManager.AM_CHAT)\r\n//\t\t\t\t\t\t\t\t\tsendReconnectMessage(doc, userClient);\r\n//\t\t\t\t\t\t\t}\r\n//\t\t\t\t\t\t\tSystem.out.println(\"AM User \"+userClient.IDString()+\" has reconnected to: \"+AMStatus);\r\n//\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of for loop\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//if no userClient was found (and by default senderID is empty)\r\n\t\t\tif (userClient==null) {\r\n\t\t\t\tif (senderID != \"\") {\r\n\t\t\t\t\tSystem.out.print(\"Outdated PermID-\"+senderID+\" \");\r\n\t\t\t\t}\r\n\t\t\t\tthis.userClient = new Client(session.getId(), new SimpleDateFormat(\"-HHmmssSS\").format(serverStartTime) );\r\n\t\t\t\t//senderID = userClient.permID;\r\n\t\t\t\tSystem.out.println(\"AFFIRM permID: \"+userClient.permID+\" -> \"+ userClient.toString());\r\n\t\t\t\tuserList.add(this.userClient);\r\n\t\t\t\tsendXMLMessage(\"permIDSet\", userClient.permID);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tuserClient.sessionID = this.session.getId();\r\n\t\t\tuserClient.session = this.session;\r\n\t\t\treturn;\r\n\t\t} //end of UserClientAffirm\r\n\t}", "title": "" }, { "docid": "fbbb6350213c4297ea6a6f82d017c7c3", "score": "0.6284878", "text": "@Override\n public void accept(WebSocket webSocket) {\n QbitServerMessageConsumer messageConsumer = new QbitServerMessageConsumer(webSocket);\n webSocket.setTextMessageConsumer(messageConsumer);\n }", "title": "" }, { "docid": "a81473fc3d908686a840861e818fed52", "score": "0.6268593", "text": "@Override\r\n\tpublic void OnAnyChatOnlineUserMessage(int dwUserNum, int dwRoomId) {\n\t\t\r\n\t}", "title": "" }, { "docid": "482352a9d383f3023f3d215aa46d6462", "score": "0.6262001", "text": "public abstract void onMessageReceived(Message message);", "title": "" }, { "docid": "08a32b914e417789b14f17259ec1e7b6", "score": "0.6258293", "text": "void onMessage(Message message);", "title": "" }, { "docid": "08a32b914e417789b14f17259ec1e7b6", "score": "0.6258293", "text": "void onMessage(Message message);", "title": "" }, { "docid": "409672425d466f5c08ac4c7ba1e3cf82", "score": "0.6256705", "text": "@Override\n protected void acceptReceived(SessionId clientSessionId) {\n\n }", "title": "" }, { "docid": "68ad40a05e7f8e94e21fd27d85f78e3a", "score": "0.6250755", "text": "@Override\n \tpublic void messageArrived( final int userCode, final String msg, final int color )\n \t{\n \t\tThread t = new Thread()\n \t\t{\n \t\t\tpublic void run()\n \t\t\t{\n \t\t\t\tif ( isAlive() )\n \t\t\t\t{\n \t\t\t\t\tint counter = 0;\n \n \t\t\t\t\twhile ( wList.isWaitingUser( userCode ) && counter < 40 )\n \t\t\t\t\t{\n \t\t\t\t\t\tcounter++;\n \n \t\t\t\t\t\ttry\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tsleep( 50 );\n \t\t\t\t\t\t}\n \n \t\t\t\t\t\tcatch ( InterruptedException e )\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tlog.log( Level.SEVERE, e.getMessage(), e );\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \n \t\t\t\tif ( !controller.isNewUser( userCode ) )\n \t\t\t\t{\n \t\t\t\t\tlistener.showUserMessage( msg, color );\n \t\t\t\t}\n \n \t\t\t\telse\n \t\t\t\t{\n \t\t\t\t\tlog.log( Level.SEVERE, \"Could not find user: \" + userCode );\n \t\t\t\t}\n \t\t\t}\n \t\t};\n \n \t\tif ( controller.isNewUser( userCode ) )\n \t\t{\n \t\t\twList.addWaitingUser( userCode );\n \t\t\tcontroller.sendExposeMessage();\n \t\t\tcontroller.sendGetTopicMessage();\n \n \t\t\tt.start();\n \t\t}\n \n \t\telse\n \t\t\tt.run();\n \t}", "title": "" }, { "docid": "dff2001d077bdbde908aa674e1e3fd54", "score": "0.6235546", "text": "public void onMessage(String msg) {\r\n\t\tfinal String data = msg;\r\n\t\tLog.v(TAG, \"Received a message: \" + msg);\r\n\t\tappView.post(new Runnable() {\r\n\t public void run() {\t \r\n\t appView.loadUrl(buildJavaScriptData(EVENT_ON_MESSAGE, data));\r\n\t }\r\n\t });\r\n\t}", "title": "" }, { "docid": "fb9c5f6de813dab769bd0761ae319c93", "score": "0.62230766", "text": "private void onMessageSent(String message) {\n }", "title": "" }, { "docid": "bdb3e435c1e2b8e3d2c644cfaf778c01", "score": "0.6205066", "text": "public void onMessage(byte[] data) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a7ff3dfad5abbb37eb77ed8c6d34467e", "score": "0.6168768", "text": "@Override\n\tpublic void fireReceiveMessage(Object message) {\n\n\t}", "title": "" }, { "docid": "c283da5c0d8113579229aac2265bcfa2", "score": "0.6164079", "text": "@Override\n\t\tpublic void onRecv() {\n\t\t}", "title": "" }, { "docid": "83f4bcf57002a737df3d2d667507a9a7", "score": "0.6164027", "text": "@Override\n\tpublic void onMessage(WebSocket p1, String p2) {\n\t}", "title": "" }, { "docid": "816c6dd2978f87301d610637038162e9", "score": "0.6149115", "text": "@OnMessage\r\n public void handleMessage(String message, Session session) {\r\n try {\r\n System.out.println(message);\r\n ObjectMapper objectMapper = new ObjectMapper();\r\n JsonMessage jsonMessage = objectMapper.readValue(message, JsonMessage.class);\r\n switch (jsonMessage.getAction()) {\r\n case \"addChatUser\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String id = jsonMessage.getData()[1];\r\n User user = ActiveUsers.getUser(username);\r\n ChatRoom chatRoom = ActiveChatRooms.getChatRoom(id);\r\n JsonChatRoom jsonChatRoom = new JsonChatRoom(\r\n \"newChat\",\r\n chatRoom.getChatRoomID(),\r\n chatRoom.getUsernames(),\r\n chatRoom.getMessages()\r\n );\r\n String strSend = objectMapper.writeValueAsString(jsonChatRoom);\r\n user.sendMessage(strSend); \r\n chatRoom.addUser(user);\r\n String[] data = {username, id};\r\n JsonMessage send = new JsonMessage(\r\n \"addChatUser\",\r\n data\r\n );\r\n strSend = objectMapper.writeValueAsString(send);\r\n chatRoom.sendMessage(strSend);\r\n }\r\n case \"heartbeat\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n if (ActiveUsers.containsUser(username)){ \r\n ActiveUsers.getUser(username).resetTimer();\r\n } else {\r\n login(username, session);\r\n }\r\n break;\r\n }\r\n case \"login\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n login(username, session);\r\n break;\r\n }\r\n case \"logout\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String[] IDs = ActiveChatRooms.removeUser(username);\r\n for (int i=0; i < IDs.length; i++){ \r\n removeChatUser(username, IDs[i]);\r\n } \r\n ActiveUsers.getUser(username).cancelTimer();\r\n ActiveUsers.removeUser(username);\r\n JsonMessage send = new JsonMessage(\r\n \"usernames\", \r\n ActiveUsers.getUsernames()\r\n );\r\n String strSend = objectMapper.writeValueAsString(send);\r\n ActiveUsers.broadcast(strSend);\r\n break;\r\n }\r\n case \"newChat\":\r\n {\r\n String username1 = jsonMessage.getData()[0];\r\n String username2 = jsonMessage.getData()[1];\r\n ChatRoom chatRoom = new ChatRoom(\r\n ActiveUsers.getUser(username1),\r\n ActiveUsers.getUser(username2)\r\n );\r\n ActiveChatRooms.addChatRoom(chatRoom.getChatRoomID(), chatRoom);\r\n JsonChatRoom jsonChatRoom = new JsonChatRoom(\r\n \"newChat\",\r\n chatRoom.getChatRoomID(),\r\n chatRoom.getUsernames(),\r\n chatRoom.getMessages()\r\n );\r\n String strSend = objectMapper.writeValueAsString(jsonChatRoom);\r\n chatRoom.sendMessage(strSend);\r\n break;\r\n }\r\n case \"removeChatUser\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String id = jsonMessage.getData()[1];\r\n removeChatUser(username, id);\r\n break;\r\n }\r\n case \"sendMessage\":\r\n {\r\n String username = jsonMessage.getData()[0];\r\n String id = jsonMessage.getData()[1];\r\n String textMessage = jsonMessage.getData()[2];\r\n ChatRoom chatRoom = ActiveChatRooms.getChatRoom(id);\r\n chatRoom.addMessage(username + \": \" + textMessage);\r\n chatRoom.sendMessage(message);\r\n break;\r\n }\r\n default:\r\n Logger.getLogger(Controller.class.getName()).log(\r\n Level.WARNING, \r\n \"Received an unknown message action: {0}\", \r\n jsonMessage.getAction()\r\n );\r\n break;\r\n }\r\n } catch (IOException ex) {\r\n Logger.getLogger(Controller.class.getName()).log(Level.SEVERE, ex.getMessage(), ex); \r\n }\r\n }", "title": "" }, { "docid": "a5da4b3592c01f58391780eab89478a1", "score": "0.6144328", "text": "@OnMessage\n public void receive(String message, Session session) {\n }", "title": "" }, { "docid": "71e1e2cc9ae1a2061d497c996e898510", "score": "0.6139286", "text": "@Override\n\tpublic void onMessage(JSONObject message) {\n\t\t\n\t}", "title": "" }, { "docid": "a4a2ec3e13f16118a94043a26e081ca9", "score": "0.6134156", "text": "@Override\n\tpublic void handleTextMessage(WebSocketSession session, TextMessage message)\n\t\t\tthrows InterruptedException, IOException {\n\t\tlogger.info(\"Receive a message from socket client:\" + message.getPayload());\n\t}", "title": "" }, { "docid": "8201931f5683d5603cc1e253253c6e53", "score": "0.6132251", "text": "public void onMessageReceived(M message);", "title": "" }, { "docid": "8f2a8e7fa215d4b23525788132979d17", "score": "0.61163634", "text": "void messageReceived(String sender, String message);", "title": "" }, { "docid": "40c660a550bfeec64a51aad52f0a94ea", "score": "0.61110985", "text": "@Override\n\tpublic void messageReceived(Message msg) {\n\t\t\n\t}", "title": "" }, { "docid": "d4c20307593cd3288189c6f5917e3156", "score": "0.6110077", "text": "public void onMessage(String msg) {\n }", "title": "" }, { "docid": "ced3650243255ca400df11da6360bfa9", "score": "0.61090106", "text": "@Override\n public void onMessage( String event )\n {\n }", "title": "" }, { "docid": "aea3a3b5682f535c7f2d383f5d11bb48", "score": "0.6107369", "text": "public void onMessageReceived(Message message){\n if (message.getUserId().equals(this.getName())){\n return;\n }\n if (message instanceof ConnectMessage && !this.clientConnected) {\n sendMessage(new ConnectAcknowledgeMessage(this.getUserId()));\n onConnect(message.getUserId());\n this.clientConnected = true;\n } else {\n onChatMessageReceived(message);\n }\n }", "title": "" }, { "docid": "9ba85d205014b9d8caf8af2d720d1611", "score": "0.60980123", "text": "@Override\n protected void onTextMessage(CharBuffer message) throws IOException {\n System.out.println(\"onTextMessage:\" + message);\n try {\n // NotificaBean notifica = new NotificaBean();\n Map<String, String> dataParsed = (Map<String, String>) JSON.parse(message.toString());\n System.out.println(\"Data JSON parsed:\" + dataParsed);\n \n TipoNotificacion tipoNotificacion = NotificaBean.getNotificacion(dataParsed.get(\"notificacion\").toString());\n System.out.println(\"TipoNotificacion:\" + tipoNotificacion);\n String msgTo = dataParsed.get(\"msgTo\").toString();\n System.out.println(\"msgTo:\" + msgTo);\n \n if (\"*\".equals(msgTo)) {\n Enumeration en = mapNotifica.keys();\n String key;\n while (en.hasMoreElements()) {\n key = (String) en.nextElement();\n System.out.println(\"enviando broadcast a:\" + key);\n broadcastNotificaciones(tipoNotificacion, key);\n\n }\n } else {\n broadcastNotificaciones(tipoNotificacion, msgTo);\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n System.err.println(\"Sin poder parsear msg:\" + message + \" from:\" + nickname + \" causa:\" + e.getMessage());\n }\n\n }", "title": "" }, { "docid": "486a8500c8ea02ae21aaf269e333eb93", "score": "0.6094109", "text": "@Override\r\n\t\tpublic void handleMessage(Message msg) {\r\n\t\t\tswitch (msg.what) {\r\n\t\t\tcase MSG_REGISTER_CLIENT:\r\n\t\t\t\tUImessenger = msg.replyTo;\r\n\t\t\t\tbreak;\r\n\t\t\tcase MSG_UNREGISTER_CLIENT:\r\n\t\t\t\tUImessenger = null;\r\n\t\t\t\tbreak;\r\n\t\t\tcase MSG_SET_DATA_VALUE:\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tsuper.handleMessage(msg);\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "40a4d74be63ecd6b1b3ddf0075d352c0", "score": "0.6090189", "text": "@Override\n \tpublic void messageArrived( final int userCode, final String msg, final int color )\n \t{\n \t\tThread t = new Thread()\n \t\t{\n \t\t\tpublic void run()\n \t\t\t{\n \t\t\t\tif ( isAlive() )\n \t\t\t\t{\n \t\t\t\t\tint counter = 0;\n \t\t\t\t\t\n \t\t\t\t\twhile ( wList.isWaitingUser( userCode ) && counter < 40 )\n \t\t\t\t\t{\n \t\t\t\t\t\tcounter++;\n \t\t\t\t\t\t\n \t\t\t\t\t\ttry\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tsleep( 50 );\n \t\t\t\t\t\t}\n \t\t\t\t\t\t\n \t\t\t\t\t\tcatch ( InterruptedException e )\n \t\t\t\t\t\t{\n \t\t\t\t\t\t\tlog.log( Level.SEVERE, e.getMessage(), e );\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tmainP.appendUserMessage( msg, color );\n \n \t\t\t\tif ( !gui.isVisible() && me.isAway() )\n \t\t\t\t{\n \t\t\t\t\tsysTray.setAwayActivityState();\n \t\t\t\t}\n \n \t\t\t\telse if ( !gui.isVisible() )\n \t\t\t\t{\n \t\t\t\t\tsysTray.setNormalActivityState();\n \t\t\t\t}\n \t\t\t}\n \t\t};\n \t\t\n \t\tif ( controller.isNewUser( userCode ) )\n \t\t{\n \t\t\twList.addWaitingUser( userCode );\n \t\t\tcontroller.sendExposeMessage();\n \t\t\tcontroller.sendGetTopicMessage();\n \t\t\t\n \t\t\tt.start();\n \t\t}\n \n \t\telse\n \t\t\tt.run();\n \t}", "title": "" }, { "docid": "f1727481e92680a980e4efe759306e09", "score": "0.6082149", "text": "Messageable receiveMessage();", "title": "" }, { "docid": "c671a4df7c6cd3ac3c1cce64bfc9dd97", "score": "0.60700744", "text": "@Override\n protected void onMessage(Context context, Intent intent) {\n Log.i(TAG, \"Received message\");\n /* String message = intent.getExtras().getString(\"price\");\n\n displayMessage(context, message);\n */ // notifies user\n\n // dbHelper = new DBHelper(context);\n myPreferences = new Preferences(context.getApplicationContext());\n String str_msg = intent.getExtras().getString(\"message\");\n\n /* if (str_msg.contains(\"tamsonic\")) {\n }*/\n\n /* Message message = Utility.getMessageFromString(str_msg);\n\n String from_id = message.getFrom_user_id();\n String to_id = message.getTo_user_id();\n\n\n message.setFrom_user_id(to_id);\n message.setTo_user_id(from_id);\n\n\n from_id = message.getFrom_user_id();\n to_id = message.getTo_user_id();\n\n message.setMessage_type(String.valueOf(Message.RECEIVED));\n\n\n String my_user_id = myPreferences.getUser().getUser_id();\n\n if (from_id.equalsIgnoreCase(my_user_id) || from_id.equalsIgnoreCase(\"0\")) {\n\n //checking same user login\n\n\n if (ConversationFragment.isInside) {\n message.setRead(Message.READ);\n } else {\n message.setRead(Message.UNREAD);\n }\n\n\n dbHelper.addMessage(message);\n if (!ConversationFragment.isInside) {\n try {\n str_msg = URLDecoder.decode(str_msg, \"UTF-8\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n generateNotification(context, str_msg);\n } else {\n Intent newMessageIntent = new Intent(\"new_message\");\n newMessageIntent.putExtra(\"message\", str_msg);\n sendBroadcast(newMessageIntent);\n }\n\n } else {\n Toast.makeText(context, \"msg came but different user\", Toast.LENGTH_SHORT).show();\n }\n*/\n }", "title": "" }, { "docid": "3e484262f6c66a07e8cffbfc596744ff", "score": "0.60541946", "text": "@Override\r\n\tpublic void onMessage(String message) {\n\r\n\t}", "title": "" }, { "docid": "472a0e580f37bbdedad4799ee19503cb", "score": "0.6045742", "text": "public void processNewUser(){\n\t\t\n\t\tlog.debug(\"\");\n\t\t\n\t\tbuffer = message.getBuffer();\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tnetwork.newUser(buffer.getInt(), buffer.getInt());\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "01df58624b7ccdfc274e9f7cc881e0cd", "score": "0.6044282", "text": "void onMessage(WampMessage message) {\n if (currentState instanceof SessionEstablishedState)\n ((SessionEstablishedState)currentState).onMessage(message);\n else if (currentState instanceof HandshakingState)\n ((HandshakingState)currentState).onMessage(message);\n }", "title": "" }, { "docid": "d16e460ee15bbe04e6236280e9faf235", "score": "0.6040477", "text": "@Override\r\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\r\n\t\t\tswitch (msg.what) {\r\n\t\t\tcase MessageID.MESSAGE_CHICK:\r\n//\t\t\t\tLogPrint.Print(\"message\",\"======chick message\");\r\n//\t\t\t\tif(UserUtil.userid != -1&&UserUtil.userState == 1){\r\n//\t\t\t\t\tmConnectUtil = new ConnectUtil(MessageReceiveService.this, mHandler,0);\r\n//\t\t\t\t\t//by lyb\r\n////\t\t\t\t\tmConnectUtil.connect(URLUtil.URL_MESSAGE_GET+\"?oid=\"+UserUtil.userid, HttpThread.TYPE_PAGE, 0);\r\n//\t\t\t\t\tmConnectUtil.connect(URLUtil.URL_MESSAGE_GET+\"?oid=\"+UserUtil.userid, HttpThread.TYPE_MESSAGE_GET, 0);\r\n//\t\t\t\t}\r\n//\t\t\t\tmHandler.sendEmptyMessageDelayed(MessageID.MESSAGE_CHICK, CHICK_TIME);\r\n\t\t\t\tbreak;\r\n\t\t\tcase MessageID.MESSAGE_CONNECT_DOWNLOADOVER:\r\n//\t\t\t\tif(mConnectUtil!=null&&\"text/json\".equals(msg.getData().getString(\"content_type\"))){\r\n//\t\t\t\t\tJson((byte[])msg.obj);\r\n//\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "f0f88d24e1be679245f00f3a57d9b471", "score": "0.6039488", "text": "void onMessage(String message);", "title": "" }, { "docid": "54f92f3e2d3b99ebf6a141ddab3c5bcb", "score": "0.6014909", "text": "public interface MessageHandler {\n\n\n /**\n * process the message from web socket server\n * @param message\n */\n void handleMessage(String message);\n}", "title": "" }, { "docid": "66fdc15175745072faf2db331c436516", "score": "0.6010212", "text": "@Override\n\tpublic void personalMessageReceived(String arg0, String arg1) {\n\t\t\n\t}", "title": "" }, { "docid": "09ee04753ca1ec0d1552857aa281564b", "score": "0.60099286", "text": "public void onMessage(AIMessage msg)\n {\n \n }", "title": "" }, { "docid": "c5f8a7289276bcc4222d1137ad23089e", "score": "0.60043436", "text": "@Override\n public void onMessageSent() {\n }", "title": "" }, { "docid": "af5cad5ffd78a18e1ff11e0cc9a86003", "score": "0.60019666", "text": "@Override\n public boolean handleMessage(Message msg)\n {\n connection_callback(msg);\n return true;\n }", "title": "" }, { "docid": "a0994569145de9300457722b7cfc5081", "score": "0.5997233", "text": "public void onMessage(Message msg) {\r\n try {\r\n ObjectMessage objmsg = (ObjectMessage)msg;\r\n Video video = (Video)objmsg.getObject();\r\n String perp = msg.getStringProperty(\"SpudsCustomer\");\r\n System.out.println(\"Perpetrator \" + perp + \" requested video \" + video);\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "453afb8f102670443255b55370e824d9", "score": "0.599299", "text": "@Override\n public void messageReceived(IoSession session, Object message) throws Exception {\n LOG.warn(\"客户端收到消息:\" + message);\n if (message.toString().equals(\"1111\")) {\n //收到心跳包\n LOG.warn(\"收到心跳包\");\n session.write(\"1112\");\n }\n }", "title": "" }, { "docid": "a1a9767cf9922329a28e8b99977bc9e2", "score": "0.59921986", "text": "@Override\n public void onOpen(WebSocket webSocket, Response response) {\n }", "title": "" }, { "docid": "9ba542d465fc4aaedbaa9a3f872debc0", "score": "0.59754604", "text": "private void handleUser(final Socket userSocket) {\n new Thread(new Runnable() {\n public void run() {\n ObjectInputStream oin = null;\n ObjectOutputStream oout;\n String[] SplitServerMessage;\n String msg = \"\";\n\n try {\n oin = new ObjectInputStream(userSocket.getInputStream());\n oout = new ObjectOutputStream(userSocket.getOutputStream());\n\n while (oin != null) {\n try {\n msg = (String) oin.readObject();\n SplitServerMessage = msg.split(\":\", 4);\n String source = SplitServerMessage[0];\n\n if (source.equals(\"S\")) {\n //L'expéditeur du message est un serveur\n analyzeMessageSentByServer(msg, userSocket);\n } else if (source.equals(\"C\")) {\n //L'expéditeur du message est un client\n if (sId == Integer.valueOf(serverMaster[0])) {\n analyzeMessageSentByUser_Master(msg, userSocket, oout);\n } else {\n analyzeMessageSentByUser_NotMaster(msg, userSocket, oout);\n }\n } else if (source.equals(\"UPDATE\")) {\n //Mise a jour des infos du serveur ressuscité;\n handleMsgUpdateServer(oin);\n } else if (source.equals(\"GAME\")) {\n //Mise a jour d'une partie transmis par le serveur master\n Game g = (Game) oin.readObject();\n handleMsgGameServer(g);\n } else {\n System.out.println(\"Erreur : Message de type inconnu\");\n }\n } catch (OptionalDataException opt) {\n // System.out.println(\" DATA OPTIONAL\");\n }catch (ClassCastException cast){\n // System.out.println(\" CAST STRING GAME\");\n }\n catch ( StreamCorruptedException stream){\n // System.out.println(\" STREAM\");\n }\n\n }\n } catch (SocketException ex) {\n if (socketBack.equals(userSocket)) {\n //panne du serveur de derriere\n try {\n System.out.println(\"=>Détection mon voisin Back \" + neighborServerBehindMe[0] + \" à l'adresse \"\n + neighborServerBehindMe[1] + \" sur le port \" + neighborServerBehindMe[2] + \" est mort\");\n sendMessageNextServer(\"S:\" + neighborServerBehindMe[0] + \":\" + sId + \":DEAD\");\n setServerDead(Integer.valueOf(neighborServerBehindMe[0]));\n neighborServerBehindMe = whoIsMyNeighborBehindMe(sId);\n serverMaster = electMaster();\n } catch (IOException ei) {\n //ei.printStackTrace();\n }\n } else if (userSocket != null && usersSocket.containsKey(userSocket)) {\n //panne du client\n String lastPseudo = usersSocket.get(userSocket);\n if (lastPseudo != null) {\n try {\n sendMessageNextServer(\"C:\" + lastPseudo + \":DISCONNECT:\");\n handleUserDead(lastPseudo, userSocket);\n } catch (IOException e) {\n //e.printStackTrace();\n }\n }\n }\n } catch (EOFException eo) {\n String lastPseudo = usersSocket.get(userSocket);\n if (lastPseudo != null) {\n try {\n sendMessageNextServer(\"C:\" + lastPseudo + \":DISCONNECT:\");\n handleUserDead(lastPseudo, userSocket);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }\n }).start();\n }", "title": "" }, { "docid": "36b165e64a8db80f1a3e50d434b10b03", "score": "0.5974574", "text": "public synchronized void receivedFrame(ClockUsersAndTranslatorsFrame frame)\r\n\t{\r\n\t\tif(frame.getReceiver()==this.getUserId() || frame.getReceiver()==Frame.BROADCAST)\r\n\t\t{\r\n\t\t\tif(frame.getClockUsersAndTranslatorsMessageInFrame().getStringMessage().equals(\"Quelle heure est-il?\"))\r\n\t\t\t\tthis.sendFrame( new ClockUsersAndTranslatorsFrame(this.getUserId(),frame.getSender(),new ClockUsersAndTranslatorsMessage(this.getUserId(),frame.getSender(),\"Il est 8h00\")));\r\n\t\t\telse\r\n\t\t\t\tthis.notifyEvent(new NotUnderstanbleRequestEvent(this.getSystemId(),frame.getSender()));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cce68dd524adbd726939a7c11a1c5b5f", "score": "0.59703845", "text": "public void messageReceived (DeviceSocket socket, byte[] payload);", "title": "" }, { "docid": "45f1497647422b9390343139d4f91f9f", "score": "0.59563416", "text": "void onReceive(Object msg);", "title": "" }, { "docid": "b74738ebd511b984274a82a008c61054", "score": "0.5953182", "text": "@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tswitch(msg.what)\n\t\t\t{\n\t\t\tcase 0:\n\t\t\t{\n\t\t//\t\t webViewIsLoading = false;\n \t String s=\"Time out(10s)\\n\";\n \t webViewIsLoading = false;\n \t AutoTestResult.append(s);\n\t\t\t\t Intent mIntent1 = new Intent(\"URLACK\");\n\t\t\t\t mIntent1.putExtra(\"result\", \"DONE\"); \n\t\t\t\t sendBroadcast(mIntent1);\n\t\t\t\t \n \t}\n\t\t\tcase 1:\n\t\t\t{\n\t\t\t\t AutoTestResult.append(\"start\\n\");\n\t\t\t}\n break;\n\t\t\tcase 2:\n\t\t\t{\n\t\t\t\t AutoTestResult.append(\"end\\n\");\n\t\t\t}\n break;\n default:\n \t break;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "f8a767d9cac21c7e96ceae2cfc9380f1", "score": "0.5953004", "text": "@OnMessage\r\n public void onMessage(String message, Session session) \r\n throws IOException, InterruptedException {\n session.getBasicRemote().sendText(\"Received: \" + message);\r\n }", "title": "" }, { "docid": "71c53398f80da2ea97c2edbf08b4fd21", "score": "0.5948544", "text": "@Override\r\n public void messageRecieved(AppEvent _event) {\r\n System.out.println(\"This module does not act on messages.\");\r\n }", "title": "" }, { "docid": "691aef3ed6392541b184ff5066684dff", "score": "0.5938133", "text": "public abstract void onChatMessageReceived(Message message);", "title": "" }, { "docid": "85c4382cb79ce417aa7e2da8fa6e9677", "score": "0.5936145", "text": "protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {\n UserInfo req = (UserInfo) msg;\n System.out.println(\"received from client: \" + req.toString());\n\n ctx.writeAndFlush(new String(\"accepted\"));\n }", "title": "" }, { "docid": "0095db3b1a581050f56bd2a15df5795e", "score": "0.59350187", "text": "@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tswitch (msg.what) {\n\t\t\tcase 2:// token获取\n\t\t\t\tif (LoginUtil.login_handlered) {\n\t\t\t\t\tLoginUtil.login_handlered = false;\n\t\t\t\t\tmToken = sp.getString(\"mToken\", null);\n\t\t\t\t\tLog.e(TAG, \"handleMessage token = \" + mToken);\n\t\t\t\t\tif (mToken != null) {\n\t\t\t\t\t\t// signUp();\n\t\t\t\t\t\tgetRecommomt(startPage);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast.makeText(OfflineCoursePayActivity.this,\n\t\t\t\t\t\t\t\t\"网络不佳,请稍后再试\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tnew Timer().schedule(new TimerTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t// 需要做的事:发送消息\n\t\t\t\t\t\t\t// LoginUtil.login_handlered = false;\n\t\t\t\t\t\t\tMessage msg_loop = handler.obtainMessage();\n\t\t\t\t\t\t\tmsg_loop.what = 2;\n\t\t\t\t\t\t\tmsg_loop.sendToTarget();\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 1000);\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "7262c0d19748532f336cbed2c18a9877", "score": "0.59344536", "text": "@Override\n\tpublic void serverMessageReceived(String arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "567e93f3d167693a3f446c0774079d69", "score": "0.5928378", "text": "void onText(String message, WebSocketSession session);", "title": "" }, { "docid": "a1671b388a535d08da6b15d853669838", "score": "0.5917624", "text": "@Override\n protected void channelRead0(ChannelHandlerContext ctx, WebSocketFrame frame) throws Exception {\n if (frame instanceof TextWebSocketFrame) {\n String request = ((TextWebSocketFrame) frame).text();\n try {\n JSONObject jObject = new JSONObject(request);\n String msgType = jObject.getString(\"type\");\n if (hasLogin.equals(\"init\")) {\n ctx.executor().schedule(new ConnectionTerminator(ctx), 5, TimeUnit.SECONDS);\n hasLogin = \"waiting\";\n }\n if (msgType.equals(\"login\")) { //学生端login和老师端推题login\n int result = new WebSocketMsgProcessor(ctx, request).processLogin(jObject);\n if (result == 0) {\n hasLogin = \"success\";\n userType = jObject.getString(\"userType\");\n uid = jObject.getString(\"uid\");\n roomId = jObject.getString(\"roomId\");\n clientType = \"normalWebSock\";\n if (jObject.has(\"appType\")) {\n appType = jObject.getString(\"appType\");\n }\n }\n } \n else if (hasLogin.equals(\"success\")){ //增强校验,非登录状态不接受任何业务消息\n ctx.executor().execute(new WebSocketMsgProcessor(ctx, request));\n } else {\n MyLogger.log(\"非登录态试探:\" + jObject.toString() + \" channel:\" +ctx.channel());\n ctx.close();\n }\n } catch (Exception e){\n MyLogger.log(\"FrameWork error:\"+e.getMessage());\n ctx.close();\n }\n }\n }", "title": "" }, { "docid": "fdc2817e2f5ce6d321f057a001998a7a", "score": "0.59128433", "text": "@Override\n protected void handleBinaryMessage(WebSocketSession session, BinaryMessage message) {\n super.handleBinaryMessage(session, message);\n System.out.println(\"handleBinaryMessage......\");\n }", "title": "" }, { "docid": "afb295b534a39ab27b4bdc21da54c355", "score": "0.59103227", "text": "public interface MessageListener {\n\n /**\n * Called when a message from a remote endpoint is received.\n *\n * @param envelope the {@link WebSocketEnvelope} for the received message\n * @param message the de-serialized message payload\n */\n void onMessage(WebSocketEnvelope envelope, Object message);\n}", "title": "" }, { "docid": "e257da8b0460d946311d22b7a6160d0f", "score": "0.5906633", "text": "protected void onConnected() {\n\t\tSystem.out.println(\"onConnected\");\n\t\tsetStatus(StatusType.EXTENDED_AWAY, \"testing message! :)\");\n\t\tsendMessage(\"[email protected]\" ,\"ahoj :) -- Sent by Sporky, don't answer here...\");\n\t}", "title": "" }, { "docid": "3a5776f4901a6f31c96d1ae006db21ba", "score": "0.59050906", "text": "@OnMessage\n public void onMessage(String message) {\n try {\n //{\"collision\":\"true \",\"move\":\"...\"} or {\"sonarName\":\"sonar2\",\"distance\":19,\"axis\":\"x\"}\n //System.out.println(\" IssWsSupport | onMessage:\" + message);\n JSONObject jsonObj = new JSONObject(message);\n for (var observer : this.observers) {\n observer.accept(jsonObj);\n }\n\n } catch (Exception e) {\n System.out.println(\" VirtualRobotWS | onMessage ERROR \" + e.getMessage());\n\n }\n }", "title": "" }, { "docid": "5d01cfb130e35fd86d400414a0f143c0", "score": "0.5901218", "text": "@Override\n public void onPreMessageSent() {\n }", "title": "" }, { "docid": "569def1054c0998db047da34e66e9bb5", "score": "0.5895207", "text": "protected abstract void onReceivedTextFrame(final HttpEvent event, final WebSocket socket) throws IOException;", "title": "" }, { "docid": "15d3791ddb962d19cfb4ac086e03ea5c", "score": "0.5891719", "text": "@Override\n public void handleMessage(Message msg) {\n if (msg.replyTo != null) {\n mClient = msg.replyTo;\n return;\n }\n\n // Perform traditional checks\n Bundle bundle = msg.getData();\n switch (msg.what) {\n case EVENT_ESTABLISH_CONNECTION: {\n try {\n String ipAddr = bundle.getString(\"ipAddr\");\n InetAddress addr = InetAddress.getByName(ipAddr);\n int port = bundle.getInt(\"port\");\n\n establishConnection(addr, port);\n } catch (UnknownHostException e) {\n e.printStackTrace();\n\n Message reply = Message.obtain();\n reply.what = EVENT_CONNECTION_FAILURE;\n\n try {\n mClient.send(reply);\n } catch (RemoteException f) {\n f.printStackTrace();\n }\n }\n break;\n }\n case EVENT_INITIATE_TEST: {\n try {\n OutputStream os = mSocket.getOutputStream();\n byte eventKey = '1';\n byte[] payload = {eventKey};\n os.write(payload);\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n }\n case EVENT_CONTROL: {\n mLift = bundle.getFloat(\"lift\");\n mRoll = bundle.getFloat(\"roll\");\n mPitch = bundle.getFloat(\"pitch\");\n mYaw = bundle.getFloat(\"yaw\");\n break;\n }\n case EVENT_REQUEST_DISCONNECT: {\n disconnect();\n break;\n }\n case EVENT_TAKEOFF: {\n // Signal to the reporting thread to send a takeoff request on the next loop\n mReportThreadAction = ReportTimer.ACTION_BEGIN_TAKEOFF;\n break;\n }\n case EVENT_END_TAKEOFF: {\n // Signal to the reporting thread to send a takeoff-arrest request on the next\n // loop\n mReportThreadAction = ReportTimer.ACTION_END_TAKEOFF;\n break;\n }\n }\n }", "title": "" }, { "docid": "e9d7dfa5908cd5b272d1584df363ccc8", "score": "0.5882935", "text": "@OnMessage\n public void onMessage(String message, Session userSession) {\n User user;\n user = (User) httpSession.getAttribute(ATT_SESSION);\n String Sender = user.getPhoneNumber();\n if (Sender == null) return;\n List<String> phoneNumbersConversation = conversation.getPhoneNumber();\n String destinationPhoneNumber = \"\";\n for (String phoneNumber : phoneNumbersConversation)\n if (!phoneNumber.equals(Sender)) destinationPhoneNumber = phoneNumber;\n for (Session session : userSession.getOpenSessions()) {\n if (session.isOpen() && conversation.getId().equals(session.getUserProperties().get(\"conversationId\"))) {\n String json = \"{\"\n + \"\\\"phone\\\":\" + \"\\\"\" + user.getPhoneNumber() + \"\\\",\"\n + \"\\\"sms\\\":\" + \"\\\"\" + message + \"\\\"\"\n + \"}\";\n session.getAsyncRemote().sendText(json);\n }\n }\n smsService.sendMessage(message, destinationPhoneNumber, user.getPhoneNumber());\n }", "title": "" }, { "docid": "a7f691ddae860f57fd433fd61a0c6a56", "score": "0.587373", "text": "@OnWebSocketConnect\n public void handleConnect(Session session) {\n System.out.println(\"StreetViewWebSocketServlet Connect number of users is =\" + Integer.toString(users.size()));\n this.session = session;\n\t\tusers.add(this);\n\t\tStringBuilder theBuilder = new StringBuilder(\"model:\");\n\t\tString stringifiedModel = theModel.asJSONObject().toString();\n\t\ttheBuilder.append(stringifiedModel);\n\t\t\n\t\tif(users.size() == 1){\n\t\t\tthis.send(\"is_leader:\");\t\t\t\n\t\t} else {\n\t\t\tif(users.size() > 1){\n\t\t\t\tthis.send(theBuilder.toString());\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e35d5e95f6bf607a8ed58aac55163f55", "score": "0.58684784", "text": "@Override\r\n public void handleMessage(android.os.Message msg){\r\n }", "title": "" }, { "docid": "7177af2cd86eef634b831aef71a3be37", "score": "0.58630735", "text": "public void handleMessage(Message msg) {\n \t}", "title": "" }, { "docid": "c985112aa59c536312de2de157637a7e", "score": "0.58527577", "text": "protected void messageReceived(SessionMessage msg, Member sender) {\n \t\n \tClassLoader contextLoader = Thread.currentThread().getContextClassLoader();\n \t\n \ttry {\n \t\tClassLoader[] loaders = getClassLoaders();\n \t\tif ( loaders != null && loaders.length > 0) \n \t\t\tThread.currentThread().setContextClassLoader(loaders[0]);\n \t\t\n \t\tswitch (msg.getEventType()) {\n \t\t\tcase SessionMessage.EVT_SESSION_CREATED: {\n \t\t\t\thandleSESSION_CREATED(msg,sender);\n \t\t\t\tbreak;\n \t\t\t}\n \t\t\tcase SessionMessage.EVT_SESSION_EXPIRED: {\n \t\t\t\t//...\n break;\n }\n \t\t\t\n \t\t\tcase SessionMessage.EVT_GET_ALL_SESSIONS: {\n handleGET_ALL_SESSIONS(msg,sender);\n break;\n }\n \t\t\t\n \t\t\tcase SessionMessage.EVT_ALL_SESSION_DATA: {\n handleALL_SESSION_DATA(msg,sender);\n break;\n }\n \t\t\t\n \t\t\tdefault: {\n //we didn't recognize the message type, do nothing\n break;\n }\n \t\t}\n \t}\n \tcatch (Exception x) {\n \t\t\n \t}\n \tfinally {\n Thread.currentThread().setContextClassLoader(contextLoader);\n }\n \t\n \t\n }", "title": "" }, { "docid": "42513fcc823b16d2d018e37ad9029a89", "score": "0.58468336", "text": "@Override\r\n protected void handleTextMessage(WebSocketSession session, TextMessage message) throws Exception {\r\n LOG.info(\"handleTextMessage : {}\", message.getPayload());\r\n\r\n final SessionMessage sessionMessage = WebSocketUtils.getObject(message.getPayload());\r\n final String targetMessage = WebSocketUtils.getString(sessionMessage);\r\n TextMessage data = new TextMessage(targetMessage);\r\n\r\n webSocketService.handlerMessage(session, message);\r\n }", "title": "" }, { "docid": "911920cecc2f246e0dad962ea04f9fa6", "score": "0.5839836", "text": "@Override\n\t\tpublic synchronized void handleMessage(Message msg) {\n\n\t\t\tswitch(msg.what){\n\t\t\t//--------------通用消息-------------------------//\n\t\t\tcase TEACHEREXIST:// 教师端存在,如果没有被初始化,向教师端请求信息\n\t\t\t\t//设置连接状态\n\t\t\t\tif(!initialed){//未初始化,请求初始化信息\n\t\t\t\t\t\t//设置教师端IP\n\t\t\t\t\t\tif(ServerIP == null){\n\t\t\t\t\t\t\tServerIP = msg.getData().getString(\"ServerIP\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tus.SetIP(ServerIP);\n\t\t\t\t\t\t//发送学生信息请求\n\t\t\t\t\t\ttagCommandCode tcmd = new tagCommandCode(\" \",\" \",\" \");//否则为null!!!\n\t\t\t\t\t\ttcmd.SetCmdID(GETSTUINFO);\n\t\t\t\t\t\tus.SendMsg(tcmd.toByteArray());\n\t\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"GETSTUINFO\");\n\t\t\t\t\t\ttcmd.SetCmdID(LOGIN);// 在线ID\n\t\t\t\t\t\tus.SendMsg(tcmd.toByteArray());// 发送消息\n\t\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"Not Initialed\");\n\t\t\t\t}else {\n\t\t\t\t\tif(!connected){//发生改变时才操作\n\t\t\t\t\t\tconnected = true;\n\t\t\t\t\t\tpbLandlight.setImageResource(R.drawable.green);//设置为在线\n\t\t\t\t\t\tLog.i(\"LandLight========>\",\"Online!!!\");\n\t\t\t\t\t\t}\n\t\t\t\t\tif(ServerIP == null){\n\t\t\t\t\t\tServerIP = msg.getData().getString(\"ServerIP\");\n\t\t\t\t\t}\n\t\t\t\t\tcmd.SetCmdID(GETSTUINFO);\n\t\t\t\t\tus.SendMsg(cmd.toByteArray());\n\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"GETSTUINFO\");\n\t\t\t\t\tus.SetIP(ServerIP);\n\t\t\t\t\tcmd.SetCmdID(LOGIN);// 在线ID\n\t\t\t\t\tus.SendMsg(cmd.toByteArray());// 发送消息\n\t\t\t\t\tLog.i(\"ActivityInfo---Login===>\", \"Connected & Initialed\");\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ACCEPT://与教师端连接,初始化系统参数\n\t\t\tcase GETSTUINFO_RETURN://获得学生信息\n\t\t\t\tif (!popup.isShowing() || !popupStuWindow.isShowing() || !popupRecordListWindow.isShowing() || !popupRecordWindow.isShowing()) {\n\t\t\t\tboolean state = true;\n\t\t\t\tswitch(new tagCommandStream(msg.getData().getByteArray(\"data\")).toCode().iReserver[80]){\n\t\t\t\tcase -1://正常状态\n\t\t\t\t\tbreak;\n\t\t\t\tcase 0:\n\t\t\t\t\tstate = true;\n\t\t\t\t\ttvState.setText(\"待命\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tstate = true;\n\t\t\t\t\ttvState.setText(\"广播音频\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tstate = true;\n\t\t\t\t\ttvState.setText(\"全通话\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 14:\n\t\t\t\t\tstate = false;\n\t\t\t\t\ttvState.setText(\"自主学习\");\n\t\t\t\tcase 15:\n\t\t\t\t\tstate = false;\n\t\t\t\t\ttvState.setText(\"下课\");//???\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tStateChange(state);\n\t\t\t\t}\n\t\t\t\tLog.i(\"ActivityInfo---ACCEPT===>\", \"Initialed!\");\n\t\t\t\t//初始化命令\n\t\t\t\ttagCommandCode tcmd = new tagCommandCode(msg.getData().getByteArray(\"data\"));\n\t\t\t\t//初始化信息\n\t\t\t\tString StrLocalIP = getLocalIpAddress();//本地IP\n\t\t\t\tString subIP = StrLocalIP.substring(0, StrLocalIP.lastIndexOf(\".\")+1);//网段\n\t\t\t\t\n\t\t\t\tString StrName; \n\t\t\t\tif(tcmd.strName!= null){\n\t\t\t\t\tStrName = tcmd.strName;//学生姓名\n\t\t\t\t}else StrName =\"STU\"+StrLocalIP.substring(StrLocalIP.lastIndexOf(\".\"),StrLocalIP.length());\n\t\t\t\t\n\t\t\t\tif(ServerIP==null){\n\t\t\t\t\tServerIP = msg.getData().getString(\"ServerIP\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//显示到界面\n\t\t\t\ttvIP.setText(StrLocalIP);\n\t\t\t\ttvName.setText(StrName);\n\t\t\t\tString strSeat = \"A1\";\n\t\t\t\t\n\t\t\t\t//写入\n\t\t\t\tif(cmd == null){\n\t\t\t\t\tcmd = new tagCommandCode(StrLocalIP,strSeat,StrName,subIP);//座位号!!!\n\t\t\t\t}else{\n\t\t\t\t\tcmd.strIP = StrLocalIP;\n\t\t\t\t\tcmd.strName = StrName;\n\t\t\t\t\tcmd.subIP = subIP;\n\t\t\t\t\tcmd.strSeat = strSeat;\n\t\t\t\t} \n\t\t\t\tUserInfo mycmd = ((UserInfo) getApplicationContext());\n\t\t\t\tmycmd.getInstant(cmd);\n\t\t\t\tmycmd.setIP(ServerIP);\n\t\t\t\t//标记位\n\t\t\t\tinitialed = true;\n\t\t\t\tconnected = true;\n\t\t\t\tpbLandlight.setImageResource(R.drawable.green);//设置为在线\n\t\t\t\tbreak;\n\t\t\tcase TIMEOUTCONNECTION://掉线\n//\t\t\t\t//设置连接显示\n//\t\t\t\tif (!initialed || connected) {\n\t\t\t\t\tStateChange(false);\n\t\t\t\t\tunconnected();\n\t\t\t\t\tconnected = false;\n\t\t\t\t\ttvState.setText(\"待命\");\n//\t\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase CLEARRAISEHAND:\n\t\t\t\tHand.setImageResource(R.drawable.hand_on);\n\t\t\t\tbHandup = false;\n\t\t\t\tbreak;\n\t\t\tcase ENABLERAISEHAND:\n\t\t\t\tHand.setEnabled(true);\n\t\t\t\tHand.setImageResource(R.drawable.hand_on);\n\t\t\t\tbHandup = false;\n\t\t\t\tbreak;\n\t\t\tcase DISRAISEHAND:\n\t\t\t\tHand.setEnabled(false);\n\t\t\t\tHand.setImageResource(R.drawable.hand_disable);\n\t\t\t\tbHandup = false;\n\t\t\t\tbreak;\n\t\t\tcase SETVOLUME://老师调节音量\n\t\t\t\ttagCommandCode t = new tagCommandCode(msg.getData().getByteArray(\"data\"));\n\t\t\t\tseekBar.setProgress(t.iReserver[0]);\n\t\t\t\taudioManager.setStreamVolume(AudioManager.STREAM_MUSIC,t.iReserver[0], 0);\n\t\t\t\tbreak;\n\t\t\tcase NOTIFY:\n\t\t\t\t byte[] Note = new byte[480];\n\t\t\t\t System.arraycopy(msg.getData().getByteArray(\"data\"), DATALONG-480, Note, 0, 480);\n\t\t\t\tAlertDialog.Builder NotifyDialog= new AlertDialog.Builder(ClassTeachActivity.this);\n\t\t\t\ttry {\n\t\t\t\tNotifyDialog.setTitle(\"通知\").setMessage(new String(Note,\"GBK\"))\n\t\t\t\t.setCancelable(false)\n\t\t\t\t.setNegativeButton(\"关闭\", new DialogInterface.OnClickListener() { \n\t\t\t\t public void onClick(DialogInterface dialog, int id) { \n\t\t\t\t dialog.cancel(); \n\t\t\t\t } \n\t\t\t\t }).create().show();\n\t\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t break;\n\t\t\tcase CLASSRESUME://上课--跟读可用,录音等待命令,默认不允许,上课置灰\n\t\t\tcase SELFSTUDYOFF://取消自助学习-同上课\n\t\t\t\tStateChange(true);\n\t\t\t\tbreak;\n\t\t\tcase CLASSOVER://下课--同自主学习\n\t\t\tcase SELFSTUDYON://自主学习-全部允许,掉线也是自主学习\n\t\t\t\tStateChange(false);\n\t\t\t\tbreak;\n\t\t\tcase WARNING:\n\t\t\t\tWarnDialog.show();\n\t\t\t\tbreak;\n\t\t\tcase LOCK:\n\t\t\t\tLockDialog.show();\n\t\t\t\tbreak;\n\t\t\tcase UNLOCK:\n\t\t\t\tLockDialog.cancel();\n\t\t\t\tbreak;\n\t\t\t//---------------自有消息----------------------//\n\t\t\tcase BROADCASTSOUNDCARD:// 广播音频\n\t\t\t\ttvState.setText(\"广播音频\");\n\t\t\t\tbreak;\n\t\t\tcase BROADCASTMIC:// 全通话\n\t\t\t\ttvState.setText(\"全通话\");\n\t\t\t\tbreak;\n\t\t\tcase TALKTOONE:// 个别通话\n\t\t\t\ttvState.setText(\"个别通话\");\n\t\t\t\tbreak;\n\t\t\tcase DEMONSTRATE://示范学生列表\n\t\t\t\tListFill(msg.getData().getByteArray(\"data\"));\n\t\t\t\tbreak;\n\t\t\tcase STOPTALKTOONE:\n\t\t\tcase STOPBROADCASTMIC:\n\t\t\tcase CLOSEBROADCASTAUDIO:\n\t\t\t\tboolean state1 = true;\n\t\t\t\tswitch(new tagCommandStream(msg.getData().getByteArray(\"data\")).toCode().iReserver[80]){\n\t\t\t\tcase -1://正常状态\n\t\t\t\t\tbreak;\n\t\t\t\tcase 0:\n\t\t\t\t\tstate1 = true;\n\t\t\t\t\ttvState.setText(\"待命\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tstate1 = true;\n\t\t\t\t\ttvState.setText(\"广播音频\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tstate1 = true;\n\t\t\t\t\ttvState.setText(\"全通话\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 14:\n\t\t\t\t\tstate1 = false;\n\t\t\t\t\ttvState.setText(\"自主学习\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 15:\n\t\t\t\t\tstate1 = false;\n\t\t\t\t\ttvState.setText(\"下课\");//???\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tStateChange(state1);\n\t\t\t\tbreak;\n\t\t\tcase STOPDEMONSTRATE:\n\t\t\t\tpopup.dismiss();\n\t\t\t\tbreak;\n\t\t\tcase SPEAKFALSE:\n\t\t\t\tSpannableString ss = new SpannableString(\"系统提示:自由讨论组已满.\");\n\t\t\t\tss.setSpan(new ForegroundColorSpan(Color.RED), 0, ss.length(),Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);\n\t\t\t\ttvStuInfo.append(ss);\n\t\t\t\tsView.pageScroll(View.FOCUS_DOWN);\n\t\t\t\tbreak;\n\t\t\tcase SPEAKOK://加入讨论\n\t\t\t\tloadpopupSt(msg.getData().getByteArray(\"data\"),false);\n\t\t\t\tbreak;\n\t\t\tcase SPEAKCANCELOK://退出讨论\n\t\t\t\tloadpopupSt(msg.getData().getByteArray(\"data\"), true);\n\t\t\t\tbreak;\n\t\t\tcase SPEAKON://开始分组讨论\n\t\t\t\ttvState.setText(\"自由讨论\");\n\t\t\t\tif (!popupStuWindow.isShowing())\n\t\t\t\tpopupStuWindow.showAtLocation(findViewById(R.id.background_center_layout), \n\t\t\t\t\t\tGravity.TOP|Gravity.LEFT, 50, 0);\n\t\t\t\tLog.i(\"show\", \"speakon\");\n\t\t\t\tbreak;\n\t\t\tcase SPEAKOFF:\n\t\t\t\tstlist.clear();\n\t\t\t\tstAdapter.notifyDataSetChanged();\n\t\t\t\ttvStuInfo.setText(\"\");\n\t\t\t\tOKButtonStu.setEnabled(true);\n\t\t\t\tCancleButton.setEnabled(false);\n\t\t\t\tif (popupStuWindow.isShowing())\n\t\t\t\tpopupStuWindow.dismiss();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "0e5b16131b8ac31ab8212eb5a4804192", "score": "0.583306", "text": "@Override\r\n\tprotected void handleBinaryMessage(WebSocketSession arg0, BinaryMessage arg1) {\n\t\tsuper.handleBinaryMessage(arg0, arg1);\r\n\t}", "title": "" }, { "docid": "acc9933b0ad676acb424c35423480ab8", "score": "0.5831328", "text": "@Override\r\n\t\tpublic void handleMessage(Message msg) {\n\t\t}", "title": "" }, { "docid": "1507dee9f8443c9179b98b947e408e60", "score": "0.5831062", "text": "public void messageReceived(Serializable message);", "title": "" }, { "docid": "a7c95c96cd9fdfbd9a31bc005a11567f", "score": "0.58285916", "text": "@Override\n public void onMessageReceived(RemoteMessage message) {\n /**\n * Our Node.js server adds the message body to the remote message data so that we can retrieve\n * it an show a simple notification as we want.\n *\n * Notification resource parameters are mapped as follows:\n * Body --> twi_body\n * Title --> twi_title\n * Sound --> twi_sound\n * Action --> twi_action\n */\n String from = message.getFrom();\n Map<String,String> data = message.getData();\n String body = data.get(\"twi_body\");\n String title = data.get(\"twi_title\");\n Log.d(TAG, \"From: \" + from);\n Log.d(TAG, \"Body: \" + body);\n\n // [START_EXCLUDE]\n /**\n * Production applications would usually process the message here.\n * Eg: - Syncing with server.\n * - Store message in local database.\n * - Update UI.\n */\n\n /**\n * In some cases it may be useful to show a notification indicating to the user\n * that a message was received.\n */\n sendNotification(title, body);\n // [END_EXCLUDE]\n }", "title": "" }, { "docid": "758804a1478a6931f93343c4f9eb8c0a", "score": "0.58274126", "text": "public void onMessage(WebSocket ws, String message) {\n\t\tLog.d(\"WebSocket\", \"onMessage: \" + message);\n\t\t// Call JS an notify of onMessage\n\t\tmessage = message.replace(\"\\\"\", \"\\\\\\\"\");\n\t\tthis.executeJS(\"window.WebSocket.onMessage(\\\"\" + ws.getId() + \"\\\", \\\"\"\n\t\t\t\t+ message + \"\\\")\");\n\t}", "title": "" }, { "docid": "1f79e044e9e9bcc26168d0daa92bf22b", "score": "0.5826589", "text": "@EventListener\n public void handleWebSocketSubscribeListener(SessionSubscribeEvent event) {\n StompHeaderAccessor headerAccessor = StompHeaderAccessor.wrap(event.getMessage());\n MessageHeaders messageHeaders = headerAccessor.getMessageHeaders();\n Principal user = headerAccessor.getUser();\n String simpDestination = (String) messageHeaders.get(\"simpDestination\");\n LOGGER.info(\"WebSocket Server Get A New Client Subscriber, Username: {}, Destination: {}\", user.getName(), simpDestination);\n }", "title": "" }, { "docid": "f32c26b421e4cc5522dafc7b73b48d18", "score": "0.5819634", "text": "public void onDataReceived(ConnectionClient client,Object data);", "title": "" }, { "docid": "6767b941bd33f55ace6cc8fb2fc18146", "score": "0.5803948", "text": "@EventListener\n public void handleWebSocketConnectListener(SessionConnectedEvent event) {\n StompHeaderAccessor headerAccessor = StompHeaderAccessor.wrap(event.getMessage());\n Principal user = headerAccessor.getUser();\n\n LOGGER.info(\"WebSocket Server Create A New Connect, Username: {}\", user.getName());\n LOGGER.info(\"WebSocket Server Current Online User Count: {}\", userRegistry.getUserCount() + 1);\n }", "title": "" }, { "docid": "35027c0e68a7423d4cf281dc4ff75ed7", "score": "0.58000416", "text": "private static void onMessage(final String uuid, final WebSocket.In<JsonNode> in, final WebSocket.Out<JsonNode> out) {\n\t in.onMessage(new Callback<JsonNode>() {\n\t public void invoke(JsonNode event) {\n\t \tOnlineGame onlineGame = getOnlineGame(uuid);\n\t \tGameController controller = onlineGame.getController();\n\t \tObjectNode status = Json.newObject();\n\t \t\t \t \n\t \t/* new single player game */\n\t \tif (null != event.findPath(\"newSinglePlayerGame\").textValue()) {\n\t \t\t/* remove the own uuid, if a game is already open with this uuid */\n\t \t\topenGames.remove(uuid);\n\t \t\tSystem.out.println(\"newSinglePlayerGame\");\n\t \t\tonlineGame = getNewOnlineGame(uuid);\n\t \t\tSystem.out.println(\"1\");\n\t \t\tonlineGame.getController().newController(Constances.DEFAULT_ROWS, Constances.DEFAULT_COLUMNS, GameContent.HUMAN_PLAYER_1, GameContent.AI_PLAYER_1_EASY, GameContent.SINGLEPLAYER);\n\t \t\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n\t \t\tSystem.out.println(\"2\");\n\t \t\tstatus.put(\"player\", onlineGame.getPlayer());\n\t \t\tstatus.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n\t \tstatus.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n\t \tSystem.out.println(\"3\");\n\t \t\t\tout.write(status);\n\t \t\t\tSystem.out.println(\"4\");\n\t \t\tonlineGame.getController().startGame();\n\t \t\tSystem.out.println(\"5\");\n\t \t\t\treturn;\n\t \t}\n\t \t\n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"newMultiPlayerGame\").textValue()) {\n\t \t\t/* remove the own uuid, if a game is already open with this uuid */\n\t \t\topenGames.remove(uuid);\n\t \t\t/* check if a game is already open, than join the game */\n\t \t\tif (0 < openGames.size()) {\n\t \t\t\tSystem.out.println(\"JOIN MultiPlayerGame\");\t\n\t\t \t\tonlineGame = joinOnlineGame(openGames.get(0), uuid);\n\t\t \t\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n\t\t \t\tstatus.put(\"player\", onlineGame.getPlayer());\n\t\t \t\tstatus.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \tstatus.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \t\t\tout.write(status);\n\t\t \t\tonlineGame.getController().startGame();\n\t\t \t\t\treturn;\n\t \t\t} else {\n\t\t \t\tSystem.out.println(\"newMultiPlayerGame\");\n\t\t \t\topenGames.add(uuid);\n\t\t \t\tonlineGame = getNewOnlineGame(uuid);\n\t\t \t\tonlineGame.getController().newController(Constances.DEFAULT_ROWS, Constances.DEFAULT_COLUMNS, GameContent.HUMAN_PLAYER_1, GameContent.HUMAN_PLAYER_2, GameContent.MULTIPLAYER);\n\t\t \t\tonlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n\t\t \t\tstatus.put(\"player\", onlineGame.getPlayer());\n\t\t \t\tstatus.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \tstatus.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n\t\t \t\t\tout.write(status);\n\t\t \t\t\treturn;\n\t \t\t}\n\t \t}\n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"saveGame\").textValue()) {\n if (null == controller) {\n status.put(\"saveGameError\", \"No Game to save.\");\n out.write(status);\n return;\n } else {\n onlineGame.getController().saveGame(event.findPath(\"saveGame\").textValue());\n if (controller.getStatus().errorExist()) {\n status.put(\"saveGameError\", controller.getStatus().getError());\n out.write(status);\n controller.getStatus().clearError();\n } else {\n status.put(\"saveGameSuccess\", \"Game successfully saved.\");\n out.write(status);\n }\n return;\n }\n }\n \n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"loadGame\").textValue()) {\n if (null == controller) {\n onlineGame = getNewOnlineGame(uuid);\n onlineGame.getController().loadGame(event.findPath(\"loadGame\").textValue());\n onlineGame.getController().addObserver(onlineGame.getPlayer(), new GameWithWui(onlineGame, in, out));\n status.put(\"player\", onlineGame.getPlayer());\n status.put(\"ownPlayground\", onlineGame.getController().getOwnPlaygroundAsJson(onlineGame.getPlayer()));\n status.put(\"enemyPlayground\", onlineGame.getController().getEnemyPlaygroundAsJson(onlineGame.getPlayer()));\n out.write(status);\n onlineGame.getController().startGame();\n return;\n } else {\n onlineGame.getController().loadGame(event.findPath(\"loadGame\").textValue());\n onlineGame.getController().startGame();\n return;\n }\n }\n \n\t \t/* new multiplayer game */\n\t \tif (null != event.findPath(\"getHighscore\").textValue()) {\n status.put(\"highscore\", Game.newGameController().getHighscores());\n out.write(status);\n return;\n }\n\t \t\n\t \t/* get save game */\n\t \tif (null != event.findPath(\"getSavegames\").textValue()) {\n StringBuilder builder = new StringBuilder(\"<div class='form-group'><label for='loadSelect'>Select the game to load</label><select id='loadSelect' class='form-control'>\");\n for (String str : Game.newGameController().getStoredGames()) {\n builder.append(\"<option>\");\n builder.append(str);\n builder.append(\"</option>\");\n }\n builder.append(\"</select>\");\n status.put(\"getSavegames\", builder.toString());\n out.write(status);\n return;\n }\n \n\t \t/* check if no controller is ready */\n\t \tif (null == controller) {\n\t \t\tstatus.put(\"info\", \"Create a new game to start with Battleship.\");\n\t \t\tout.write(status);\n\t \t\treturn;\n\t \t}\n \n\t \tif (controller.gameFinished()) {\n\t \t\t\tstatus.put(\"info\", \"Creating a new game is required.\");\n\t \t\t\tout.write(status);\n\t \t\t\treturn;\n\t \t}\n\t \t\n\t \tif ((event.findPath(\"shootX\").canConvertToInt())\n\t \t &&(event.findPath(\"shootY\").canConvertToInt())) {\n\t \t\tSystem.out.println(\"shoot from \"+onlineGame.getPlayer());\n\t \t\tCoordinates target = new Coordinates(event.findPath(\"shootX\").asInt(), event.findPath(\"shootY\").asInt());\n\t \t\tcontroller.shoot(onlineGame.getPlayer(), target);\n\t \t\treturn;\n\t \t}\n\t \t\n\t\t\t\tstatus.put(\"error\", \"Illegal call to websocket.\");\n\t\t\t\tout.write(status);\n\t\t\t\treturn;\n\t \t\n\t }\n\t });\n }", "title": "" }, { "docid": "cb618ced9474280263db91f26a4ba41a", "score": "0.5781279", "text": "@Override\n public void onMessageReceived(final RemoteMessage message) {\n if (message.getData().size() > 0) {\n // Handle message within 10 seconds\n Executor executor = Executors.newSingleThreadExecutor();\n\n FusedLocationProviderClient mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n\n if (checkSelfPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n mFusedLocationClient.getLastLocation()\n .addOnSuccessListener(executor, new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n // Got last known location. In some rare situations this can be null.\n Map<String, String> data = message.getData();\n double latitude = Double.valueOf(data.get(\"latitude\"));\n double longitude = Double.valueOf(data.get(\"longitude\"));\n String user = data.get(\"user_id\");\n float[] results = new float[1];\n Location.distanceBetween(location.getLatitude(), location.getLongitude(),\n latitude, longitude, results);\n\n if (results[0] < 1000 && email != null && !email.equals(user)) {\n sendNotification(\"New event less than 1 km away!\");\n }\n }\n });\n }\n }\n }", "title": "" }, { "docid": "6defb73b410f94e069fbbc0efcc87754", "score": "0.5781147", "text": "@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tswitch (msg.what) {\n\t\t\tcase 2:// token获取\n\t\t\t\tif (LoginUtil.login_handlered) {\n\t\t\t\t\tLoginUtil.login_handlered = false;\n\t\t\t\t\tmToken = sp.getString(\"mToken\", null);\n\t\t\t\t\tif (mToken != null) {\n\t\t\t\t\t\tgetType();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast.makeText(context, \"网络不佳,请稍后再试\",\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tnew Timer().schedule(new TimerTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tMessage msg_loop = handler.obtainMessage();\n\t\t\t\t\t\t\tmsg_loop.what = 2;\n\t\t\t\t\t\t\tmsg_loop.sendToTarget();\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 1000);\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "75f9da5a546353de1b935e7d11766fab", "score": "0.57755893", "text": "@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tBundle b=msg.getData();\n\t\t\tboolean flag = b.getBoolean(\"sendTFlag\");\n\t\t\tLog.d(\"sendTflag\", \"\"+flag);\n\t\t\tif (true == flag) {\n\t\t\t\tIntent it = new Intent(ActivitySendTravel.this,\n\t\t\t\t\t\tActivityTravel.class);\n\t\t\t\tit.putExtra(\"u_id\", userId);\n\t\t\t\tActivitySendTravel.this.startActivity(it);\n\t\t\t\tToast.makeText(ActivitySendTravel.this, \"发送成功!\", Toast.LENGTH_SHORT).show();\n\t\t\t\tfinish();\n\t\t\t} else {\n\t\t\t\tToast.makeText(ActivitySendTravel.this, \"发送失败!\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t.show();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "97f27324e3f7ed01b0c81ab94e9011a7", "score": "0.5758111", "text": "@OnMessage\n public void onMessage(String message, Session session, @PathParam(\"groupId\") Integer groupId) {\n try {\n if (session.getUserProperties().get(\"user\") == null) {\n if (!WebSocketUtil.authenticate(message, session)) {\n close(session, groupId);\n }\n }\n else {\n User u = (User)session.getUserProperties().get(\"user\");\n Message m = new Message(u.getID(), u.getFullName(), groupId, message);\n m.insertToDatabase();\n \tprocessMessage(m, groupId);\n }\n }\n catch (IOException ioe) {\n ioe.printStackTrace();\n close(session, groupId);\n }\n }", "title": "" }, { "docid": "bc950816458674c3c02fd223530d1895", "score": "0.5753638", "text": "@Override\r\n\tpublic void onMessage(Message arg0) {\n\t\tSystem.out.println(\"message received:\" + arg0);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cd32492e62e5aeac601003a413559e4c", "score": "0.5749205", "text": "@OnMessage\n public void onMessage(String message) {\n \tSystem.out.println(\"Client onMessage\");\n System.out.println(message);\n }", "title": "" }, { "docid": "7ac5d2140fb7a59aafaaea80bd428c53", "score": "0.5742868", "text": "public void handleMessage(Message msg) {\n }", "title": "" }, { "docid": "3850b1ce710e832c6cd469e4ea82b734", "score": "0.5742406", "text": "void onMessage(String message, Session session) throws Exception {\n handle(message, session);\n }", "title": "" }, { "docid": "7d3f3ce231af8f6359153cf665b23c74", "score": "0.57386404", "text": "@Override\n\tpublic void onRealTimeMessageReceived(RealTimeMessage arg0) {\n\n\t}", "title": "" }, { "docid": "6f7d45fbbc5782f0edd16bfb758e200d", "score": "0.5725487", "text": "@Override\n public void onMessage(String message) {\n\n\n if (message.contains(\"te\")) {\n\n onMessageTrade(message);\n\n }\n\n// } else if (!message.contains(\"te\") && !message.contains(\"hb\")) {\n// onMessageOther(message);\n//// } else if (message.contains(\"\\\"addChannel\\\",\\\"data\\\":{\\\"result\\\":true\")) {\n//// System.out.println(\"okex channel opened: \" + message);\n////// System.out.println(message);\n////// } else if (message.contains(\"liquidation\")) {\n//////// onMessageLiq(message);\n// } else {\n// onMessageOther(message);\n// }\n\n\n }", "title": "" }, { "docid": "a00e3d0ee9f20c2ed6aa642694816104", "score": "0.5725058", "text": "@Override\n public void messageReceived(String message) {\n // Not used\n Log.i(TAG, \"Message is: \" + message);\n }", "title": "" }, { "docid": "a7d4cd0645dac3eff5eb8a0ce25a955a", "score": "0.5724397", "text": "@Override\n\tpublic void handleMessage(Message msg) {\n\n\t}", "title": "" }, { "docid": "3fcb9efa3d6481228111b6a5ff217036", "score": "0.57223636", "text": "@Override\n\tpublic void onMsgSendinEnd() {\n\n\t}", "title": "" } ]
a0a46264110ba3950fdcfd624901725b
LocalDateTime dayStart = LocalDateTime.of(start.toLocalDate(), LocalTime.MIDNIGHT);
[ { "docid": "d261412d76c7344a671ad3b23521c4f6", "score": "0.0", "text": "public static long getQIndex(LocalDateTime start, LocalDateTime end)\n {\n long minutes = ChronoUnit.MINUTES.between(start, end);\n\n long mod = minutes % 15;\n long res = 0;\n if ((mod) >= 8L) {\n res = minutes + (15 - mod);\n } else {\n res = minutes - mod;\n }\n\n return res / 15;\n }", "title": "" } ]
[ { "docid": "828fff8e31060eb82b6c75d627b2aebf", "score": "0.69301635", "text": "public static Date startOfDayLocal() {\n return startOfDayLocal(new Date());\n }", "title": "" }, { "docid": "2ffa69b63ec1fd4b8e20986f4c5e2b4e", "score": "0.62856555", "text": "public LocalDateTime getLocalStart() {\n return getStart() == null ? null : DateUtils.toLocalDateTime(getStart());\n }", "title": "" }, { "docid": "709b8ae4e79418229645fdac9d6a7553", "score": "0.6090573", "text": "public LocalDate getDateStart()\n {\n return dateStart;\n }", "title": "" }, { "docid": "07e5f62adf4ca90c3d61bf61f9919f39", "score": "0.6083499", "text": "@Test\n public void test1(){\n LocalDateTime ldt = LocalDateTime.now();\n System.out.println(\"ldt = \" + ldt);\n\n LocalDate of1 = LocalDate.of(2019, 9, 7);\n System.out.println(\"of1 = \" + of1);\n\n LocalDateTime of = LocalDateTime.of(2019, 9, 7, 18, 8, 34);\n System.out.println(\"of = \" + of);\n\n System.out.println(ldt.plusYears(2));\n\n System.out.println(ldt.minusHours(5));\n\n System.out.println(ldt.getDayOfMonth());\n System.out.println(ldt.getDayOfYear());\n System.out.println(ldt.getDayOfWeek());\n System.out.println(ldt.getMonthValue());\n\n\n System.out.println();\n }", "title": "" }, { "docid": "5a325347d1deea253d9763dd1dcf40fc", "score": "0.606746", "text": "LocalDate getStartDate();", "title": "" }, { "docid": "a90e329f5e6aac001cfd995f21e82cad", "score": "0.60587", "text": "public LocalDateTime getBeginDate() {\n return beginDate;\n }", "title": "" }, { "docid": "52ebaefd0c94ff99f6d17b5faa653ef1", "score": "0.601967", "text": "private static LocalDateTime atMidnight(LocalDateTime input) {\n\n return input.withHour(0).withMinute(0).withSecond(0).withNano(0);\n }", "title": "" }, { "docid": "52ebaefd0c94ff99f6d17b5faa653ef1", "score": "0.601967", "text": "private static LocalDateTime atMidnight(LocalDateTime input) {\n\n return input.withHour(0).withMinute(0).withSecond(0).withNano(0);\n }", "title": "" }, { "docid": "0e9926c0666e3840aebbbd354f895e0e", "score": "0.6001585", "text": "LocalDate getFrom();", "title": "" }, { "docid": "28eefd8ae1464b8e064b96db7670b180", "score": "0.5953285", "text": "public com.eyeblaster.api.v1.datacontracts.smart.APIDateTime getStartDate(){\n return localStartDate;\n }", "title": "" }, { "docid": "92052c0445c4750064ba1936e1d234a1", "score": "0.5915426", "text": "Date getStart();", "title": "" }, { "docid": "60bb2be94cca98d6f88e65823ca46709", "score": "0.58137816", "text": "public LocalDateTime getStartDateUTC()\n {\n return TimeUtils.toDateTimeUTC(getStartDate());\n }", "title": "" }, { "docid": "f996f9b342fc6c851dcad1de66707e4e", "score": "0.57987416", "text": "LocalDateTime getEventDateAndTime();", "title": "" }, { "docid": "50949c1eb08a94e5a7b58ea16a78e9c4", "score": "0.5797521", "text": "@Test\n public void contextLoads() {\n\n LocalDate now = LocalDate.now();\n LocalDate localDate = now.plusDays(2);\n LocalDateTime of = LocalDateTime.of(localDate, LocalTime.MAX);\n String format = of.format(DateTimeFormatter.ofPattern(\"yyyy-MM-dd HH:mm:ss\"));\n System.out.println(format);\n\n\n }", "title": "" }, { "docid": "0416a92da17e52508ea82990bd4068b2", "score": "0.5765649", "text": "OffsetDateTime startTime();", "title": "" }, { "docid": "fd5b483b1ddca0b3da1f3e93da1baf3b", "score": "0.5702481", "text": "int getArtificalLightStartMinuteOfDay();", "title": "" }, { "docid": "c03f3f5cd4338c8cb234cc9ad091b73b", "score": "0.5700383", "text": "private static LocalDateTime getStartIntervalDate(InfoInterval interval) {\n\t\treturn LocalDateTime.now(Clock.systemUTC()).minusMonths(interval.getCount());\n\t}", "title": "" }, { "docid": "94f3703a47ad82ecea37f0958244e663", "score": "0.56629103", "text": "public LocalTime getStart() {\n\t\treturn this.start;\n\t}", "title": "" }, { "docid": "8910c679baa626ef361558245b0d3d6c", "score": "0.5559936", "text": "public LocalDate getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "0e44bbe422fd541f3d29e27d991b99cd", "score": "0.55421966", "text": "DateTime getStartDateTime(String input);", "title": "" }, { "docid": "a1f47b8f99d7b65aa1d7d1ae8344f36e", "score": "0.553436", "text": "java.lang.String getStartDateTime();", "title": "" }, { "docid": "d8205e1981ec86a9fba4546b193d72f2", "score": "0.5533443", "text": "public void setBeginDate(LocalDateTime beginDate) {\n this.beginDate = beginDate;\n }", "title": "" }, { "docid": "979b9b9bce01c2f37b6da16cf9938b93", "score": "0.5518676", "text": "private static Date gmttoLocalDate(Date date) {\n String timeZone = Calendar.getInstance().getTimeZone().getID();\n Date local = new Date(date.getTime()\n + TimeZone.getTimeZone(timeZone).getOffset(date.getTime()));\n return local;\n }", "title": "" }, { "docid": "90421b292c61557e12781827fa4f7612", "score": "0.5515881", "text": "@Override\n public LocalDate getDate() {\n return this.timeStart;\n }", "title": "" }, { "docid": "dd168b2ee817a1185fe83514aeec08f7", "score": "0.5485348", "text": "public Date getFirstStartDate();", "title": "" }, { "docid": "b41ad0236080608b1812215e2bc2c2c2", "score": "0.5480424", "text": "public LocalDate getStartDate(){\n LocalDate date = LocalDate.of(invoiceYear,invoiceMonth,1);\n return date;\n }", "title": "" }, { "docid": "86c1bb7b76b555b69cf740c7d7aca795", "score": "0.5462349", "text": "private LocalDateTime toStartDate(final String arg){\n\n return arg == null ? null : LocalDateTime.from(formatter.parse(arg));\n }", "title": "" }, { "docid": "50244295157b2fbce43cc4e5c97467cd", "score": "0.54547846", "text": "public LocalDateTime getDateTime() {\n return dateTime;\n }", "title": "" }, { "docid": "671ff5afaf91f7180583d0f45cd65f55", "score": "0.54507774", "text": "Date getStartDate();", "title": "" }, { "docid": "671ff5afaf91f7180583d0f45cd65f55", "score": "0.54507774", "text": "Date getStartDate();", "title": "" }, { "docid": "d9d32c8dce11808526ca4ea26bccbbbe", "score": "0.54466355", "text": "public long atStartOfDay() {\n Calendar calendar = Calendar.getInstance();\n calendar.set(calendar.get(Calendar.YEAR),calendar.get(Calendar.MONTH), calendar.get(DATE),\n 0, 0, 0);\n return calendar.getTimeInMillis();\n }", "title": "" }, { "docid": "0aab4bd3bdbbbe7d65bb1562c4897af5", "score": "0.54346037", "text": "public LocalDateTime getDate() {\n return date;\n }", "title": "" }, { "docid": "0aab4bd3bdbbbe7d65bb1562c4897af5", "score": "0.54346037", "text": "public LocalDateTime getDate() {\n return date;\n }", "title": "" }, { "docid": "869123d1a69a47fcb8e7d0843b0ad35b", "score": "0.54337984", "text": "public LocalDate getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "869123d1a69a47fcb8e7d0843b0ad35b", "score": "0.54337984", "text": "public LocalDate getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "869123d1a69a47fcb8e7d0843b0ad35b", "score": "0.54337984", "text": "public LocalDate getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "aa6dd9804fc7745e469d3f06cdc12636", "score": "0.5431994", "text": "public Date getStartDate();", "title": "" }, { "docid": "9bad56f9c55e80d04af1d760233cf48c", "score": "0.5426279", "text": "public void testLocalDateTime() {\n LocalDateTime currentTime = LocalDateTime.now();\r\n System.out.println(\"Current DateTime: \" + currentTime);\r\n\r\n LocalDate date1 = currentTime.toLocalDate();\r\n System.out.println(\"date1: \" + date1);\r\n\r\n LocalTime time = currentTime.toLocalTime();\r\n System.out.println(\"time: \"+time);\r\n\r\n int year = currentTime.getYear();\r\n Month month = currentTime.getMonth();\r\n int day = currentTime.getDayOfMonth();\r\n int hour =currentTime.getHour();\r\n int minutes = currentTime.getMinute();\r\n int seconds = currentTime.getSecond();\r\n\r\n System.out.println(\"Year: \"+year+\" Month: \" + month +\" day: \" + day +\" Hour: \"+hour+\" Minute: \"+minutes+\" seconds: \" + seconds);\r\n\r\n LocalDateTime date2 = currentTime.withDayOfMonth(10).withYear(2012);\r\n System.out.println(\"date2: \" + date2);\r\n\r\n //12 december 2014\r\n LocalDate date3 = LocalDate.of(2014, Month.DECEMBER, 12);\r\n System.out.println(\"date3: \" + date3);\r\n\r\n //22 hour 15 minutes\r\n LocalTime date4 = LocalTime.of(22, 15);\r\n System.out.println(\"date4: \" + date4);\r\n\r\n //parse a string\r\n LocalTime date5 = LocalTime.parse(\"20:15:30\");\r\n System.out.println(\"date5: \" + date5);\r\n }", "title": "" }, { "docid": "176347edac4ebe0d6755d64d7da999f7", "score": "0.5392478", "text": "public NSTimestamp workStartDate() {\n Calendar cal = Calendar.getInstance();\n cal.setTime(myStartDate);\n cal.set(Calendar.HOUR_OF_DAY, 9);\n cal.set(Calendar.MINUTE, 0);\n cal.set(Calendar.SECOND, 0);\n cal.set(Calendar.MILLISECOND, 0);\n NSTimestamp workStart = new NSTimestamp(cal.getTime());\n return workStart;\n }", "title": "" }, { "docid": "30a9f1274564608184e0144952f79d44", "score": "0.5384836", "text": "LocalDateTime getAvailablefrom();", "title": "" }, { "docid": "0cfd72301ebda3211968b733c144d21a", "score": "0.5376079", "text": "public Date getStartDate() ;", "title": "" }, { "docid": "4f70d4e03966deae4ae2156620c999ec", "score": "0.5374714", "text": "public java.lang.String getStartDate(){\n return localStartDate;\n }", "title": "" }, { "docid": "c4bae54a8d6f4730bb5fc708b17217a9", "score": "0.5369519", "text": "public void setStart(LocalTime start) {\n\t\tthis.start = start;\n\t}", "title": "" }, { "docid": "a2179d447f415db31eb63f92f5c689d4", "score": "0.5352241", "text": "private static Date localDateTimeToDate(LocalDateTime ldt) {\n\n return Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant());\n }", "title": "" }, { "docid": "a2179d447f415db31eb63f92f5c689d4", "score": "0.5352241", "text": "private static Date localDateTimeToDate(LocalDateTime ldt) {\n\n return Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant());\n }", "title": "" }, { "docid": "8aa4ff6ea0e5a3289c61d6f04aa2d606", "score": "0.5347024", "text": "LocalDate getTo();", "title": "" }, { "docid": "78a484a07cc544edca8558c9238e12fa", "score": "0.5324081", "text": "com.google.protobuf.Timestamp getStartDate();", "title": "" }, { "docid": "5b9e092a01919f3e84ac1371ca31b2ea", "score": "0.53186595", "text": "@Test\n void testMonthDayYearMin() {\n assertEquals(LocalDateTime.of(TimeOfYearRange.DEFAULT_LEAP_YEAR, 1, 7, 15, 38),\n TimeOfYearRange.toMonthDayHourMin(LocalDateTime.of(2019, 1, 7, 15, 38, 45, 10))\n );\n }", "title": "" }, { "docid": "94bb94fb62e4691a56aac62600b4a8b8", "score": "0.5316095", "text": "public static void main(String[] args) {\n LocalDateTime ldt = LocalDateTime.now();\n System.out.println(\"Now: \"+ldt); //YYYY-MM-DDTHH:MM:SS.SSS\n \n LocalTime lt = LocalTime.now();\n LocalDate ld = LocalDate.now();\n LocalDateTime ldt1 = LocalDateTime.of(ld, lt);\n \n \n LocalDateTime ldt2 = LocalDateTime.of(2020, 1, 2, 10, 43); //year,month,day,hour,minute,[second]\n LocalDateTime ldt3 = LocalDateTime.of(2020, Month.JANUARY, 2, 10, 43, 55);\n \n //LocalDateTime all classes are immutable\n \n \n \n }", "title": "" }, { "docid": "7b10c59a859f5d4389b8dafc0214ddea", "score": "0.5314053", "text": "private Date toDate(LocalDateTime localDateTime) {\n return Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant());\n }", "title": "" }, { "docid": "00978883ea0b03e5cf94746b2f9b014c", "score": "0.5305687", "text": "public Date getStart_time();", "title": "" }, { "docid": "dae9a8bea7cb6c779eb67764e4ace9d5", "score": "0.5304235", "text": "public org.hl7.fhir.DateTime addNewStart()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.DateTime target = null;\n target = (org.hl7.fhir.DateTime)get_store().add_element_user(START$0);\n return target;\n }\n }", "title": "" }, { "docid": "c031c8f8df7af93df7b4559a7e0a8ff3", "score": "0.5296322", "text": "public Instant getStartDate()\n {\n return startDate;\n }", "title": "" }, { "docid": "912c48a18d14cd5b1b689e4122d55472", "score": "0.52753097", "text": "LocalDate getFirstFlightDate() {\n return LocalDate.of(1903, 12, 17);\n }", "title": "" }, { "docid": "5dc03a4849adf4ef431b1d8ac0f94d8c", "score": "0.5250062", "text": "@Override\n public LocalDate getLoadStartDate() {\n return Util.adjustToFirstDayOfWeek(getSkinnable().getDate().withDayOfMonth(1), getSkinnable().getFirstDayOfWeek());\n }", "title": "" }, { "docid": "1833205d6fa64676ee74055c10b755a4", "score": "0.52464944", "text": "public static void main(String[] args) {\n\t\t\n\t\tLocalDateTime ldt = LocalDateTime.now();\n\t\tSystem.out.println(ldt);//2021-03-19T20:09:36.526085300\n\t\t\n\t\tSystem.out.println(ldt.toString());//2021-03-19T20:09:36.526085300\n\t\t\n\t\tString time = ldt.toString();\n\t\t\n\t\tSystem.out.println(time.startsWith(\"2021\"));//true\n\n\t}", "title": "" }, { "docid": "64ef2fad51d47f6140c741278b3c213a", "score": "0.52219385", "text": "public Time getStartAfternoon() {return StartAfternoon;}", "title": "" }, { "docid": "1ac242216ae46c05cb3d99a42ccafdf8", "score": "0.522185", "text": "public Date getStartDate() { return startDate; }", "title": "" }, { "docid": "b42c842a989f93339a449dbe3dca036e", "score": "0.52156484", "text": "@Test\n public void testStartTimeGetter() {\n restaurantHours2 = restaurantHourRepository.findByRestaurant_IdAndDay(restaurant.getId(), 1);\n assertEquals(LocalTime.ofSecondOfDay(1000), restaurantHours2.getStartTime());\n }", "title": "" }, { "docid": "a13ece8fe73abdd403e6592f7d4afd1d", "score": "0.5214755", "text": "public static Date endOfDayLocal() {\n return endOfDayLocal(new Date());\n }", "title": "" }, { "docid": "028769a2cc8cd0009d73cc69244a2665", "score": "0.5213563", "text": "public Instant getStart();", "title": "" }, { "docid": "1d2a829b3c274969482777150eea69ac", "score": "0.5202518", "text": "public java.util.Calendar getStart() {\r\n return localStart;\r\n }", "title": "" }, { "docid": "dfa0da0f579766e876635812ce8bddaa", "score": "0.51988775", "text": "public void setStartDate(com.eyeblaster.api.v1.datacontracts.smart.APIDateTime param){\n \n this.localStartDate=param;\n \n\n }", "title": "" }, { "docid": "011a545a0cc23666da56d77e3549e812", "score": "0.5192058", "text": "public Calendar getStart() {\n return start;\n }", "title": "" }, { "docid": "21d0017b518b3443b0ba6e37ebbd0d75", "score": "0.51775956", "text": "boolean hasStartDateTime();", "title": "" }, { "docid": "566bb4b4261f487cc8c94e7ab2411ac9", "score": "0.5166929", "text": "OffsetDateTime getJoinDate();", "title": "" }, { "docid": "96890d641e32ff489ee3eda5349758b9", "score": "0.5159447", "text": "public DateSequenceValueGenerator startingAt(@Nonnull LocalDateTime startDate) {\n return startingAt(startDate.atZone(ZoneId.systemDefault()));\n }", "title": "" }, { "docid": "535982b9fe7cdfa96909113737cfc4b1", "score": "0.5156937", "text": "public void setStartDate(LocalDate startDate) {\n this.startDate = startDate;\n }", "title": "" }, { "docid": "6596b1884d759f1f433ed3a9edb60446", "score": "0.51533055", "text": "public Time getStartMorning() {return StartMorning;}", "title": "" }, { "docid": "d504891b4fdb636c2ae79bc3d5d20cc3", "score": "0.51425695", "text": "Date getStartTime();", "title": "" }, { "docid": "d504891b4fdb636c2ae79bc3d5d20cc3", "score": "0.51425695", "text": "Date getStartTime();", "title": "" }, { "docid": "572f694d4d30081d08c4517c07dfd463", "score": "0.51405895", "text": "public org.hl7.fhir.DateTime getStart()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.DateTime target = null;\n target = (org.hl7.fhir.DateTime)get_store().find_element_user(START$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "title": "" }, { "docid": "ed1f8c977b8eb1e74000973e667a3ffe", "score": "0.5139544", "text": "public LocalDateTime getStartTimestamp() {\n\t\treturn startTimestamp;\n\t}", "title": "" }, { "docid": "4fbc42f063699c211ed552ce43a3f16c", "score": "0.51365775", "text": "public long getStartDateMillis()\n {\n return getStartDate() != null ? getStartDate().toEpochMilli() : 0L;\n }", "title": "" }, { "docid": "fd4fe12c523b4314a2377cac66e55df1", "score": "0.51278394", "text": "public static void main(String[] args) {\n\t\t\tLocalDateTime today=LocalDateTime.now();\n\t\t\tSystem.out.println(\"Current Date and Time \"+today);\n\t\t\t// Start of the year\n\t\t\t\n\t\t\tLocalDate startDate=LocalDate.of(2019, Month.JANUARY, 1);\n\t\t\tLocalTime startTime=LocalTime.of(00, 1,44,666);\n\t\t\tLocalDateTime start=LocalDateTime.of(startDate, startTime);\n\t\t\tSystem.out.println(\"Start of the year \"+start);\n\t\t\t\n\t}", "title": "" }, { "docid": "8cf24133a74c86d7fb0f8fe302732e3b", "score": "0.511962", "text": "Date getStartedTime() ;", "title": "" }, { "docid": "45112dc6d23025473707e95b56bd1bd6", "score": "0.5117864", "text": "Date getStarted();", "title": "" }, { "docid": "a1ea2f0ddcf02977886a1c0d08be12e2", "score": "0.51042116", "text": "public LocalDateTime getTimeFrom() {\n\t\t\treturn timeFrom;\n\t\t}", "title": "" }, { "docid": "d30d56ace5f875b774de55bcf2f9810b", "score": "0.51034147", "text": "public java.util.Calendar getDateTime(){\n return localDateTime;\n }", "title": "" }, { "docid": "1be805f2e443b172cf28e0f7d0164658", "score": "0.5103305", "text": "public Date getStart()\n {\n return m_start;\n }", "title": "" }, { "docid": "9c33e24e8e5b20025f5ec02789ff748e", "score": "0.5090328", "text": "private LocalDateTime getBookingDay() {\n // launch app at 23:59:00 and keep searching until 0:00:00:000\n LocalDate today = LocalDate.now(ZoneId.of(\"America/Montreal\"));\n LocalTime bookingTime = LocalTime.of(23, 59, 00, 00000);\n LocalDateTime now = LocalDateTime.now(ZoneId.of(\"America/Montreal\"));\n\n // book three days later if before 00:00:00\n if (now.isAfter(LocalDateTime.of(today, bookingTime))) {\n return now.plusDays(3);\n }\n // book two days later if after 00:00:00\n return now.plusDays(2);\n }", "title": "" }, { "docid": "960375efea4872ef1e433c6965f5f3de", "score": "0.50892746", "text": "LocalDateTime getAvailableto();", "title": "" }, { "docid": "98e15b1aa02b2a54df9b82a46ba4aca3", "score": "0.5085211", "text": "Instant getStart();", "title": "" }, { "docid": "68f0d1cee330ec9f1b48bde05554e778", "score": "0.5067402", "text": "public\n Date\n getStartDate()\n {\n return itsStartDate;\n }", "title": "" }, { "docid": "647600d12b47dd53924d46bf93a99514", "score": "0.50618446", "text": "public MyDate getStartDate(){\n\treturn startDate;\n }", "title": "" }, { "docid": "966b3e85beaec001b10a516e237f11fb", "score": "0.50606453", "text": "private Calendar getSchoolStart(List<Lecture> todaysLectures)\n {\n Calendar firstLectureStart = Calendar.getInstance();\n firstLectureStart.set(Calendar.HOUR, todaysLectures.get(0).getPeriodStart()[0]);\n firstLectureStart.set(Calendar.MINUTE, todaysLectures.get(0).getPeriodStart()[1]);\n return firstLectureStart;\n }", "title": "" }, { "docid": "ead50ed1e52c7284e564277384a66aec", "score": "0.50598603", "text": "public static Date getStartOfDay(Date date) {\n Calendar calendar = Calendar.getInstance();\n calendar.setTime(date);\n calendar.set(Calendar.HOUR_OF_DAY, 0);\n calendar.set(Calendar.MINUTE, 0);\n calendar.set(Calendar.SECOND, 0);\n calendar.set(Calendar.MILLISECOND, 0);\n return calendar.getTime();\n }", "title": "" }, { "docid": "4e09e33d3efd2ebda4df0f459ce43df9", "score": "0.5054981", "text": "@Override\n public boolean isOpenToday(LocalDateTime day){\n return true;\n }", "title": "" }, { "docid": "c996f5fdf60f809970855eecd87cdcbf", "score": "0.5050848", "text": "private static DateTime calculatePublishTimeBeforeCriterion() {\n return DateUtil.now().plusMinutes(1).toLocalDate().minusDays(1).toDateTimeAtStartOfDay();\n }", "title": "" }, { "docid": "065a7ae04b5e7976efedf5792b261938", "score": "0.50504476", "text": "public com.eyeblaster.api.v1.datacontracts.smart.APIDateTime getStartingHours(){\n return localStartingHours;\n }", "title": "" }, { "docid": "2cc7b320b238f008df4683c6782a10fc", "score": "0.50454104", "text": "@Test\n public void testGetTransactionDateTime() {\n setUp();\n LocalDateTime expResult = GOOD_DATE;\n LocalDateTime result = instance.getTransactionDateTime();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "7d9e07e90c41242483f33fa2487e9fe3", "score": "0.50386554", "text": "public void setStartDate(LocalDate startDate) {\n this.startDate = startDate;\n }", "title": "" }, { "docid": "7d1bf8e71b5661379ea4d00d69fc2ca8", "score": "0.50358665", "text": "public boolean startDate() //4th a question\n {\n Calendar c = Calendar.getInstance();\n\n// Set the calendar to monday of the current week\n c.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);\n\n// Print dates of the current week starting on Monday\n DateFormat df = new SimpleDateFormat(\"EEE dd/MM/yyyy\");\n String s1 = df.format(c.getTime());\n if (s1.equals(\"Mon 18/02/2019\"))\n return true;\n else\n return false;\n\n }", "title": "" }, { "docid": "a5e3806a365fac53b70771b9789d8bd9", "score": "0.5033871", "text": "public LocalDateTime getDate() {\n return this.date;\n }", "title": "" }, { "docid": "a2b2e48c893c2c692cfb8b6e441c5104", "score": "0.502992", "text": "public Date getStartDate()\r\n/* 76: */ {\r\n/* 77: 68 */ return this.startDate;\r\n/* 78: */ }", "title": "" }, { "docid": "f5d93c3f5b1008e065db6b8c18e7535e", "score": "0.5024651", "text": "public static Date dateToDateStartDay(Date date) { \r\n Calendar cal = Calendar.getInstance();\r\n cal.setTime(date);\r\n cal.set(Calendar.HOUR_OF_DAY, 0);\r\n cal.set(Calendar.MINUTE, 0);\r\n cal.set(Calendar.SECOND, 0);\r\n cal.set(Calendar.MILLISECOND, 0);\r\n return cal.getTime();\r\n }", "title": "" }, { "docid": "4975d567d782e7ea266b50b95d751eef", "score": "0.50189805", "text": "public Date getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "4975d567d782e7ea266b50b95d751eef", "score": "0.50189805", "text": "public Date getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "4975d567d782e7ea266b50b95d751eef", "score": "0.50189805", "text": "public Date getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "4975d567d782e7ea266b50b95d751eef", "score": "0.50189805", "text": "public Date getStartDate() {\n return startDate;\n }", "title": "" }, { "docid": "4975d567d782e7ea266b50b95d751eef", "score": "0.50189805", "text": "public Date getStartDate() {\n return startDate;\n }", "title": "" } ]
12646d2f36cc8e58c71a2f9f44e07f0c
Set the image to draw on.
[ { "docid": "6465f95ab499ec123fea18ab35f193be", "score": "0.60957444", "text": "public void setImage(Mat img) {\r\n\t\tthis.img = img;\r\n\t}", "title": "" } ]
[ { "docid": "ea88dcedfe38950f8f5d4e625fed127f", "score": "0.7897715", "text": "private void setImage(Image img){\n gc = (Graphics2D) img.getGraphics();\n gc.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n gc.setPaint(Color.black);\n this.drawnImg = img;\n repaint();\n }", "title": "" }, { "docid": "ab53d45e95cfea0632415a84c619f48e", "score": "0.748722", "text": "public void setImage(Image new_image) {\n/* 62 */ this.canvas_image = new_image;\n/* 63 */ invalidate();\n/* 64 */ repaint();\n/* */ }", "title": "" }, { "docid": "915f2a6bd0c25bd8bb35fed0f62fd600", "score": "0.747898", "text": "public void setImage(Image image) {\r\n\tthis.image = image;\r\n\tredraw();\r\n }", "title": "" }, { "docid": "0173e01d77ad26b0bd7e1bfdae9a7480", "score": "0.73065335", "text": "public void setImage(java.awt.image.BufferedImage image) {\n drawingPanel.setImage(image);\n }", "title": "" }, { "docid": "a09a200cb269f0db36a701712267906b", "score": "0.6950965", "text": "public void setImage() {\n\t\tcharacter = Toolkit.getDefaultToolkit().getImage(ghost.filename[0][0]);\n\t}", "title": "" }, { "docid": "7141b345ee728f8e905c70c7f087426a", "score": "0.69316024", "text": "public void setImage(Image image) {\n imageCanvas.setIcon(new ImageIcon(image));\n }", "title": "" }, { "docid": "13685dbc35a4155b509502adca2238d7", "score": "0.69133884", "text": "public void draw() {\n image.fillRect(7, 7, 16, 16);//interior\n //image.setColor(new java.awt.Color(0, 0, 0));\n image.fillRect(0, 0, 30, 30);//bodor\n setImage(image);\n }", "title": "" }, { "docid": "9b0707b9182aa6ed3f747b87c61718ed", "score": "0.6909677", "text": "public void draw() {\n\t\tthis.app.image(this.img,this.app.mouseX*850/1000,this.y,this.WIDTH,this.HEIGHT);\n\t}", "title": "" }, { "docid": "e1568313c38b3e978481e9e2f89235a7", "score": "0.682167", "text": "public void redrawImage(){\n clearImage();\n redrawPoints();\n redrawConnections();\n }", "title": "" }, { "docid": "c7d012b11e7e39f52efca0b1db981fc4", "score": "0.66923934", "text": "public void Draw() {\r\n\t\tDrawer.DrawImage(img, x, y, width, height);\r\n\t}", "title": "" }, { "docid": "e52690edf7a7dc27b117442b30d33597", "score": "0.6656903", "text": "public final void setImage(Image image) {\n face = image.getElement();\n updateButtonFace();\n }", "title": "" }, { "docid": "2e2f251f29f7191fc7a9373a7869186e", "score": "0.6592912", "text": "public void draw(){\n\t\tStdDraw.picture(xxPos, yyPos, imgFileName);\n\t}", "title": "" }, { "docid": "c9679da5e1dfc6b9eef236ee757d44f5", "score": "0.6552685", "text": "public void setImage(Bitmap image)\n {\n this.image = image;\n }", "title": "" }, { "docid": "661eb9dcae527a572f0d68f2e3bd8293", "score": "0.6538272", "text": "public void draw(){\n String path = \"./images/\";\n StdDraw.picture(xxPos, yyPos,path+imgFileName);\n }", "title": "" }, { "docid": "f98c5d44a705c9166d77333eca77ba87", "score": "0.6495662", "text": "public void setImage(Image i)\n\t{\n\tstring = null;\n\timage = i;\n\tiwidth = Util.getWidth(image);\n\tiheight = Util.getHeight(image);\n\trepaint();\n\t}", "title": "" }, { "docid": "447edadf23de2093e5c4bc669515a743", "score": "0.6489994", "text": "public void setImg(Image img) {\n\t\tif(getState()==\"alive\"){\n\t\t\tif(getPosframe()%2==0){\n\t\t\t\tif(getGhostdy()==-1){ this.img = up1 ;}\n\t\t\t\telse if(getGhostdy()==1){this.img = down1 ;}\n\t\t\t\telse if(getGhostdx()==1){this.img = right1 ;}\n\t\t\t\telse if(getGhostdx()==-1){this.img = left1 ;}\n\t\t\t\telse if(getGhostdx()==0 && getGhostdy()==0 ){this.img = down1 ;}\n\t\t\t}else{\n\t\t\t\tif(getGhostdy()==-1){ this.img = up2;}\n\t\t\t\telse if(getGhostdy()==1){this.img = down2 ;}\n\t\t\t\telse if(getGhostdx()==1){this.img = right2 ;}\n\t\t\t\telse if(getGhostdx()==-1){this.img = left2 ;}\n\t\t\t\telse if(getGhostdx()==0 && getGhostdy()==0 ){this.img = down1 ;}\n\t\t\t\t\t\t\t\n\t\t\t}\n\t\t}else{\n\t\t\tthis.img = img;\n\t\t}\n\t\n\t}", "title": "" }, { "docid": "2184247075f98004149e16c3e8eec9a6", "score": "0.64681315", "text": "private void draw(){\r\n String fname = null;\r\n fname = this.imageName + \"/\" + this.direction + \"-\" + this.emotion + \".png\"; \r\n UI.drawImage(fname, this.figureX, this.figureY, this.figureWidth, this.figureHeight);\r\n UI.sleep(500);\r\n }", "title": "" }, { "docid": "40b66942907c63ffcae78241b839f5bd", "score": "0.64215463", "text": "public void draw() {\r\n image.draw(x, y, width, height, filter);\r\n }", "title": "" }, { "docid": "aaf0b4a3d03db76ec9d10bf0112b7762", "score": "0.6402471", "text": "protected void setImage(ImageDescriptor image) {\n\t\tthis.image = image;\n\t}", "title": "" }, { "docid": "09402cb981bf2ff2b5f87ff1b8fad68a", "score": "0.638677", "text": "private void setPic() {\r\n\t\tif(mImageBitmap != null){\r\n mImageView.setImageBitmap(mImageBitmap);\r\n mImageView.setVisibility(View.VISIBLE);\r\n }\r\n }", "title": "" }, { "docid": "933d195a7aa2fd0993ff199547e3e785", "score": "0.63847995", "text": "public void update() {\n\t\tg.drawImage(image, 0, 0, canvas.getWidth(), canvas.getHeight());\n\t}", "title": "" }, { "docid": "54193d0a4dd8fa606209c5d6e176060d", "score": "0.63827556", "text": "public void draw(ImageObserver obs) {\n if (show) {\n WingmanExe.g2.drawImage(img, x, y, obs);\n }\n }", "title": "" }, { "docid": "0d5b47b4af50000ddd4b6ae23c8baaea", "score": "0.6381126", "text": "public void setImage(ImageObject io) {\n imo = io;\n loadImage();\n }", "title": "" }, { "docid": "11ee1ac5893c8fc227fbe8358e062dd9", "score": "0.63740253", "text": "public void draw() {\n\t\tthis.game.image(bimg, x, y);\n\t}", "title": "" }, { "docid": "6c39847abb66d0024dc60e09e3841ac3", "score": "0.6362629", "text": "private void updateImage()\n {\n img.clear();\n img.setColor(Color.BLACK);\n if(initialized == true)\n {\n List<Buildings> struct = getObjectsInRange(30,Buildings.class);\n if(!struct.isEmpty())\n {\n if(struct.get(0).getPlayer() == 1)\n {\n img.setColor(Color.RED);\n }\n else if(struct.get(0).getPlayer() == 2)\n {\n img.setColor(Color.GREEN);\n }\n else if(struct.get(0).getPlayer() == 3)\n {\n img.setColor(Color.BLUE);\n }\n else\n {\n img.setColor(Color.WHITE);\n }\n }\n }\n img.drawLine(29,0,0,14);\n img.drawLine(0,14,0,44);\n img.drawLine(0,44,29,59);\n img.drawLine(29,59,59,44);\n img.drawLine(59,44,59,14);\n img.drawLine(59,14,29,0);\n img.scale(60,60);\n setImage(img);\n }", "title": "" }, { "docid": "7d09de0b1f3b80c1ac4c0b685bcb066f", "score": "0.6355369", "text": "public void setImage(Image image) {\n this.image = image;\n loadImage(image);\n }", "title": "" }, { "docid": "a01eb2cba402b68e1878ef180018caa0", "score": "0.63456875", "text": "public void draw() {\n\t\tint frameX = (currentFrame() % columns()) * frameWidth();\r\n\t\tint frameY = (currentFrame() / columns()) * frameHeight();\r\n\r\n\t\tthis.tempSurface.drawImage(this.animimage, 0, 0, frameWidth() - 1,\r\n\t\t\t\tframeHeight() - 1, frameX, frameY, frameX + frameWidth(),\r\n\t\t\t\tframeY + frameHeight(), applet());\r\n\r\n\t\tsuper.setImage(this.tempImage);\r\n\t\tsuper.transform();\r\n\t\tsuper.draw();\r\n\t}", "title": "" }, { "docid": "8ec84b84777f304365a49c9b4a83d8c4", "score": "0.6329629", "text": "public void setImage(String img) {\n\t\tthis.img = new ImageIcon(img).getImage();\n\t\trepaint();\n\t}", "title": "" }, { "docid": "5a469ab779633c9e7a1dbc60fad9f444", "score": "0.63101065", "text": "@Override\n protected void paintComponent(Graphics g) {\n g.drawImage(GuiImages.image, 0, 0, getWidth(), getHeight(), this);\n }", "title": "" }, { "docid": "abfc0c11c956b207995dec29208ac3a5", "score": "0.6306243", "text": "public void drawTile() {\n String imgUrl = getImageUrl();\n image.setImage(new Image(imgUrl));\n }", "title": "" }, { "docid": "3e240c810627ff0cc3cf70d9a9b4cd5a", "score": "0.6300555", "text": "public void setImage(BufferedImage image)\n {\n this.image = image;\n }", "title": "" }, { "docid": "0fbbcf90dd98a0e1568f0365dd51d296", "score": "0.62923926", "text": "public void setImage(BufferedImage image) {\n this.image = image;\n }", "title": "" }, { "docid": "c4a88e8a57fc2185b9405e9e9de31106", "score": "0.6274034", "text": "public void setImage(PImage i) {\n\t\timage = i;\n\t}", "title": "" }, { "docid": "00d889ad0b1a6c079301f94f8e9d06c7", "score": "0.6254722", "text": "public void setImage(Image i) {\n if (tileset != null) {\n tileset.overlayImage(\"\" + tileImageId, i);\n } else {\n internalImage = i;\n }\n groundHeight = getHeight();\n }", "title": "" }, { "docid": "d11d194d75d2aef59c7ffd31b07dc2ef", "score": "0.62546515", "text": "public void drawImage(Image image, float x, float y, float x2, float y2, float srcx, float srcy, float srcx2, float srcy2) {\n/* 1465 */ predraw();\n/* 1466 */ image.draw(x, y, x2, y2, srcx, srcy, srcx2, srcy2);\n/* 1467 */ this.currentColor.bind();\n/* 1468 */ postdraw();\n/* */ }", "title": "" }, { "docid": "886e84a489df893df1b89801c08a3a68", "score": "0.6251607", "text": "public void drawImage(IImage img, int x, int y) {\n Bitmap bitmap=((RIMImage) img).image;\n graphics.drawBitmap(x,y,bitmap.getWidth(),bitmap.getHeight(),bitmap,0,0);\n }", "title": "" }, { "docid": "937ddfc8fda4f715d716aac233285373", "score": "0.6246124", "text": "private void paintOnImage() {\n\t\tint ix = mx - (400 - this.imageWidth) / 2;\n\t\tint iy = my - (300 - this.imageHeight) / 2;\n\n\t\tboolean valid = !(ix < 0 || iy < 0 || ix >= this.imageWidth || iy >= this.imageWidth);\n\t\tif(!valid)return;\n\n\t\t// Check if we are inside the \"image\"\n\t\tif (valid && this.usingBrush) {\n\t\t\tcircle(ix, iy, brushSize, this.pallet[this.palletIndex]);\n\t\t}\n\n\t\tbufferToFX();\n\t}", "title": "" }, { "docid": "e4387d81f8fc908c64ebe4edaf841f0f", "score": "0.6239069", "text": "public void setimage(Image im) {\n\t\timage.setImage(im);\n\t}", "title": "" }, { "docid": "fa337225efc509a7692f7d3f051420fb", "score": "0.6238832", "text": "private void updatePicture() {\n // get path of this class\n String path = this.getClass().getResource(\"\").getPath();\n // modify path to point to resource folder\n path = path.replaceFirst(\"java/\", \"res/\");\n path = path.replaceFirst(\"/gui\", \"\");\n // make URI, point to relevant dungeon picture using id\n path = \"file:\" + path + \"dungeon\" + Integer.toString(this.player.getCurrentDungeonID())+ \".jpg\";\n // get image from path and set ImageView to that image\n Image imageFile = new Image(path);\n this.image.setImage(imageFile);\n }", "title": "" }, { "docid": "6c0921fac735cff21a2e943a59349c6f", "score": "0.62351584", "text": "public void setImage() {\n try {\n ImageIcon ico = new ImageIcon(player.get(\"imagePath\"));\n playerButton.setText(\"\");\n playerButton.setIcon(ico);\n playerButton.setPreferredSize(new Dimension(ico.getIconWidth(), ico.getIconHeight()));\n f.resize();\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "42470688d333a9df6015ed47b7e36a16", "score": "0.6230543", "text": "private void paintImageModify() {\n\n\t\topenImage();\n\t\timageCanvas = new JPanel();\n\t\timageCanvas.add(panelIma.getCanvas());\n\t\tscrollPanel = new JScrollPane(imageCanvas);\n\n\t\troi = new RoiManager(false);\n\n\t\tif ((new File(roiPath)).exists()) {\n\t\t\troi.runCommand(\"Open\", roiPath);\n\t\t\troi.select(0);\n\t\t\thasRoi = true;\n\t\t} else {\n\t\t\thasRoi = false;\n\t\t\tJOptionPane.showMessageDialog(null, \"No Roi file associated with this image\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "14a5fb05533469d014481ca17dc21f78", "score": "0.62293607", "text": "public void setImage(){\r\n imageView.setImageBitmap(bitmap);\r\n }", "title": "" }, { "docid": "2f62d9080cfed588d3ebaf3e22c49566", "score": "0.62240577", "text": "public void setImage(GImage image) {\n\t\t// You fill this in\n\t\tprofile_img = image;\n\t}", "title": "" }, { "docid": "b3d6bd434e8242bece34451c88ccc996", "score": "0.62129813", "text": "private void setPic() {\n int targetW = mImageView.getWidth();\n int targetH = mImageView.getHeight();\n\n\t\t/* Get the size of the image */\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n\t\t/* Figure out which way needs to be reduced less */\n int scaleFactor = 1;\n if ((targetW > 0) || (targetH > 0)) {\n scaleFactor = Math.min(photoW/targetW, photoH/targetH);\n }\n\n\t\t/* Set bitmap options to scale the image decode target */\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n bmOptions.inPurgeable = true;\n\n\t\t/* Decode the JPEG file into a Bitmap */\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n\n\t\t/* Associate the Bitmap to the ImageView */\n mImageView.setImageBitmap(bitmap);\n\n mImageView.setVisibility(View.VISIBLE);\n\n }", "title": "" }, { "docid": "e8038ab0b4b670b03dd9fc2ddab24989", "score": "0.62050843", "text": "public void changeImage() {\r\n\t\tif (this.playingMusic) {\r\n\t\t\tImage image = new Image(\"images/pause.jpg\");\r\n\t\t\tthis.playPauseImage.setImage(image);\r\n\t\t} else {\r\n\t\t\tImage image = new Image(\"images/play.jpg\");\r\n\t\t\tthis.playPauseImage.setImage(image);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "67c873af810e273cf07fcc6ed1d526e9", "score": "0.61877984", "text": "@Override\n protected void paintComponent(Graphics g) {\n super.paintComponent(g);\n g.drawImage(img, 0, 0, this);\n }", "title": "" }, { "docid": "27d0abc8fce73864fd864e1a5ee4cb13", "score": "0.6183635", "text": "void setImage(String image_path) {\n image = new ImageIcon(image_path);\n image_label.setIcon(image);\n root_frame.frame.setSize(550, 450);\n }", "title": "" }, { "docid": "d6d9ee2060179b05e3b7ce3965065ed3", "score": "0.6177763", "text": "public void setimage(String s) {\n \tix=iy=0;\t// Adam Ryan's fix for panning problem ([email protected])\r\n// URL url=null;\r\n MediaTracker tracker = new MediaTracker(this);\r\n\r\n busy = true;\r\n\r\n // reinitialize the cursor position\r\n x1 = x2 = (screenSize.width-1)/2.0;\r\n y1 = y2 = (screenSize.height-1)/2.0;\r\n\r\n if(busyimg != null)\r\n repaint(); // show busy image\r\n\r\n // img.flush();\r\n\r\n\t\timg = get_image(s);\r\n\t\ttracker.addImage(img, 0);\r\n\r\n try {\r\n tracker.waitForID(0); // wait till it loads\r\n } catch (InterruptedException e) {\r\n return;\r\n }\r\n\r\n busy = false;\r\n repaint();\r\n window.eval(\"reset_handler('\" + name + \"',\" + Math.min(x1,x2) + \",\" + Math.min(y1,y2) + \",\" + Math.max(x1,x2) + \",\" + Math.max(y1,y2) + \");\");\r\n\r\n return;\r\n }", "title": "" }, { "docid": "54c80a809c26e045e1387090bd4d4595", "score": "0.6175675", "text": "protected void draw(Canvas canvas)\n {\n if(imageBitmapDrawable ==null) {return;}\n\n canvas.drawBitmap(imageBitmapDrawable.getBitmap(),(float) this.position.getX(),(float) this.position.getY(), null);\n\n }", "title": "" }, { "docid": "0d8b3bd0fdf2075b79606b2c6ceaab68", "score": "0.6165548", "text": "public void potatoDuck()\r\n {\r\n setImage (\"potatoDuck.png\");\r\n }", "title": "" }, { "docid": "68814e6d4f94d5f80fa57b1f7344f1f3", "score": "0.61652935", "text": "private void setPic() {\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mCurrentImagePath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n // Determine how much to scale down the image\n int scaleFactor = Math.min(photoW/mTargetW, photoH/mTargetH);\n\n // Decode the image file into a Bitmap sized to fill the View\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentImagePath, bmOptions);\n mImageView.setImageBitmap(bitmap);\n }", "title": "" }, { "docid": "001ef977c97f423e6ef51d04a43c9754", "score": "0.61607695", "text": "private void setPic() {\n\t\tint targetW = mImageView.getWidth();\n\t\tint targetH = mImageView.getHeight();\n\n\t\t/* Get the size of the image */\n\t\tBitmapFactory.Options bmOptions = new BitmapFactory.Options();\n\t\tbmOptions.inJustDecodeBounds = true;\n\t\tBitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n\t\tint photoW = bmOptions.outWidth;\n\t\tint photoH = bmOptions.outHeight;\n\t\t\n\t\t/* Figure out which way needs to be reduced less */\n\t\tint scaleFactor = 1;\n\t\tif ((targetW > 0) || (targetH > 0)) {\n\t\t\tscaleFactor = Math.min(photoW/targetW, photoH/targetH);\t\n\t\t}\n\n\t\t/* Set bitmap options to scale the image decode target */\n\t\tbmOptions.inJustDecodeBounds = false;\n\t\tbmOptions.inSampleSize = scaleFactor;\n\t\tbmOptions.inPurgeable = true;\n\n\t\t/* Decode the JPEG file into a Bitmap */\n\t\tBitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n\t\t\n\t\t/* Associate the Bitmap to the ImageView */\n\t\tmImageView.setImageBitmap(bitmap);\n\t\tmImageView.setVisibility(View.VISIBLE);\n\t}", "title": "" }, { "docid": "5443397b5fcefe6f1ec46c8f46eb5d74", "score": "0.6147101", "text": "private void setImage(Drawable drawable, ImageView mImageView)\r\n\t{\r\n\t mImageView.setImageDrawable(drawable);\r\n\t}", "title": "" }, { "docid": "b6e3b6541e7baaaa3a8b54fd0ea8a1da", "score": "0.6143198", "text": "public void setImage(BufferedImage image) {\n\t\tthis.image = image;\n\t}", "title": "" }, { "docid": "9666e5ba39852678b8434168b060b125", "score": "0.61344373", "text": "private void setPic() {\n int targetW = mImage.getWidth();\n int targetH = mImage.getHeight();\n\n // Get the dimensions of the bitmap\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mPhotoPath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n // Determine how much to scale down the image\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\n\n // Decode the image file into a Bitmap sized to fill the View\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n bmOptions.inPurgeable = true;\n\n Bitmap bitmap = BitmapFactory.decodeFile(mPhotoPath, bmOptions);\n mImage.setImageBitmap(bitmap);\n }", "title": "" }, { "docid": "1008d8f647f17131368a4708cf42fe16", "score": "0.6120446", "text": "@Override\n\tpublic void setImage(Bitmap bmp) {\n\t\tbmp=Bitmap.createScaledBitmap(bmp,bmp.getWidth()*20,bmp.getHeight()*20,true);\n\t\tfinal Drawable draw=new BitmapDrawable(bmp);\n\t\tRunnable r=new Runnable(){\n\t\t\tpublic void run(){\n\t\t\t\tsetIcon(draw);\n\t\t\t\tif(v==null)\n\t\t\t\t\treturn;\n\t\t\t\tImageView iv=(ImageView)v.findViewById(android.R.id.icon);\n\t\t\t\tiv.setScaleType(ImageView.ScaleType.FIT_CENTER);\n\t\t\t}\n\t\t};\n\t\tContext ctx=getContext();\n\t\tif(ctx instanceof Activity){\n\t\t\tActivity act=(Activity)ctx;\n\t\t\tact.runOnUiThread(r);\n\t\t}else{\n\t\t\th.post(r);\n\t\t}\n\t}", "title": "" }, { "docid": "a59f38f59378ff7b847b5c4b81d87fef", "score": "0.61027604", "text": "private void imageSetting(Activity activity) {\n scrollX = scrollY = 0;\n scalefactor = 0;\n imageX = winX = activity.getWindow().getWindowManager()\n .getDefaultDisplay().getWidth();\n imageY = winY = activity.getWindow().getWindowManager()\n .getDefaultDisplay().getHeight();\n if (orientation == LANDSCAPE) {\n imageX = 3 * imageY / 4;\n }\n calculatePos();\n }", "title": "" }, { "docid": "6d02f07ff78cb99211d1d89e470f8283", "score": "0.6094858", "text": "void rerenderImage() {\n if (!isShowing() || getWidth() < 5 || getHeight() < 5) {\n return;\n }\n // Possible fix for OS X flashing: request image now so it is\n // already available during repaint; keep last non-null image\n getCurrentImage();\n repaint();\n }", "title": "" }, { "docid": "e48ac34f2ba7ac30820ed66635eb0fd2", "score": "0.60923165", "text": "private void setPic() {\n int targetW = mImageView.getWidth();\n int targetH = mImageView.getHeight();\n\n // Get the dimensions of the bitmap\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\n // Determine how much to scale down the image\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\n\n // Decode the image file into a Bitmap sized to fill the View\n bmOptions.inJustDecodeBounds = false;\n bmOptions.inSampleSize = scaleFactor;\n bmOptions.inPurgeable = true;\n\n Bitmap bitmap = BitmapFactory.decodeFile(mCurrentPhotoPath, bmOptions);\n mImageView.setImageBitmap(bitmap);\n galleryAddPic();\n }", "title": "" }, { "docid": "8f7ab08e7b1459a58f39c3ae2260dc86", "score": "0.6087727", "text": "public void setImage(BufferedImage image) {\n if (image != null && (image.getWidth() != this.getWidth() || image.getHeight() != this.getHeight())) {\n this.setPreferredSize(new Dimension(image.getWidth(), image.getHeight()));\n }\n\n this.image = image;\n\n this.repaint();\n }", "title": "" }, { "docid": "420fc8b82afa9651eb609ddb7b28e7bf", "score": "0.6071378", "text": "public void setImage(BufferedImage aimage)\n\t{\n\t\tmyImage = aimage;\t\t\n\t}", "title": "" }, { "docid": "ac7bb88e7a18931c6f5eeecf7a15be2f", "score": "0.6054681", "text": "private static void setImage (int inIndex)\r\n\t{\r\n\t\tfor (int i = 0; i < inputLayer.length; i++)\r\n\t\t{\r\n\t\t\tinputLayer[i].setVal(images[inIndex][i]);\r\n\t\t}\r\n\t\t\r\n\t\tif (DISPLAY_ON)\r\n\t\t{\r\n\t\t\tdisplay.repaint();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "51d9aed49b4219bea7aae01b6020989e", "score": "0.6045148", "text": "private void updateImage() {\n Graphics2D graphics = (Graphics2D) image.getGraphics();\n graphics.setColor(new Color(10, 10, 10));\n graphics.setFont(new Font(Font.SANS_SERIF, Font.BOLD, 26));\n graphics.setColor(new Color(60, 100, 60));\n graphics.drawString(text, 38, 43);\n graphics.setColor(new Color(10, 10, 10));\n graphics.drawString(text, 35, 40);\n if (isFocused()) {\n if (ballroll) {\n ballroll = false;\n graphics.drawImage(ImageManager.getInstance().loadImage(\"selectionball1.png\"), 0, 15, null);\n } else {\n ballroll = true;\n graphics.drawImage(ImageManager.getInstance().loadImage(\"selectionball2.png\"), 0, 15, null);\n }\n }\n }", "title": "" }, { "docid": "bf398095237e89197c386080d2643c70", "score": "0.60433775", "text": "public void newImage(BufferedImage img) {\n\t\tSystem.out.println(\"newImage\");\n\t\t\n\t\t//reset line/circle state\n\t\tpointGiven= false;\n\t\tcenterGiven= false;\n\n\t\twidth= img.getWidth();\n\t\theight= img.getHeight();\n\t\tthis.img= img;\n\t\t\n\t\trepaint();\n\t\trevalidate();\n\t}", "title": "" }, { "docid": "384cf879fdc77846ddea7e6068d8efa6", "score": "0.60351276", "text": "public void setImage(String path) {\n setImage(Load.getImage(path));\n }", "title": "" }, { "docid": "f09872a5d31f5fc52a5526ca73cdf607", "score": "0.6023438", "text": "public void setImage(final Image image) {\n\t\tif (image != this.fElementImage.getImage()) {\n\t\t\tthis.fElementImage.setImage(image);\n\t\t}\n\t}", "title": "" }, { "docid": "a61122a210f4a21656d71e073a153f17", "score": "0.60120934", "text": "public void setImage(Image image) {\n this.mImage = image;\n this.mWidth = image.getWidth();\n this.mHeight = image.getHeight();\n }", "title": "" }, { "docid": "ff60522b73fcdfdf0a52030e47a7072e", "score": "0.59971434", "text": "@Override\n public void setImageBitmap(Bitmap bm) {\n super.setImageBitmap(bm);\n initializeBitmap();\n invalidate();\n }", "title": "" }, { "docid": "c54890a6ffb36f455ebb623ba59f4c89", "score": "0.59856755", "text": "public void setUpImage(){\n if(fileString == null){\n this.fileString = new String[]{\"_blue\",\"_orange\",\"_yellow\",\"\"}[((int)(Math.random()*4))];\n }\n\n this.trainImage= new Image(Main.class.getResourceAsStream(\"/res/train\"+fileString+\".png\"), width, train.getLength() * Simulation.METER_MULTIPLIER, false, false);\n this.trainImageView = new ImageView(trainImage);\n this.params = new SnapshotParameters();\n params.setFill(Color.TRANSPARENT);\n }", "title": "" }, { "docid": "ef202dd709564e0869cd9f9244fa922f", "score": "0.5985537", "text": "public void RebuildImage()\n{\n makeImage();\n repaint();\n}", "title": "" }, { "docid": "5095698e465bbb4150425abdc9820d44", "score": "0.5978023", "text": "void SetImage(int act) {\n try {\n ivMainView.setImage(new Image(new FileInputStream(img.getFilesList().get(act)), 1024, 0, true, true));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "6feb19d772838433e3d6ef0ede71150e", "score": "0.5974751", "text": "public void setImage(BufferedImage image) {\n this.image = image;\n //Width and height is based on the image height and width\n Width = image.getWidth();\n Height = image.getHeight();\n }", "title": "" }, { "docid": "43296488b82c22e6b6bb5ad047600842", "score": "0.59643674", "text": "@Override\n\tprotected void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\n\t\tg.drawImage(image, 0, 0, getWidth(), getHeight(), null);\n\t}", "title": "" }, { "docid": "f1d51bf7bc15f50b1140875e2988a5c1", "score": "0.59470826", "text": "public void setImageMap(BufferedImage image) {\n this.gamePanel.setImageMap(image);\n }", "title": "" }, { "docid": "30837d7fda9c6b43eaf9c00c74da3f46", "score": "0.59467787", "text": "public void drawImage(Image image, float x, float y, float x2, float y2, float srcx, float srcy, float srcx2, float srcy2, Color col) {\n/* 1608 */ predraw();\n/* 1609 */ image.draw(x, y, x2, y2, srcx, srcy, srcx2, srcy2, col);\n/* 1610 */ this.currentColor.bind();\n/* 1611 */ postdraw();\n/* */ }", "title": "" }, { "docid": "dc8a78b8a312abbab592258fcf4d3a17", "score": "0.5944904", "text": "public void draw(Graphics g){\n\t\tg.drawImage(mImage,(int) x,(int) y, null);\n\t}", "title": "" }, { "docid": "28fc1660125cb9fd304c48795e6f42b4", "score": "0.59358215", "text": "@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"this image type is\" + this.strImageType \n\t\t\t\t+ \"image size: \" + nWidth + \"กข\" + nHeight + \",\"\n\t\t\t\t+ \"display position: \" + nPosX + \"กข\" + nPosY + \".\");\n\t}", "title": "" }, { "docid": "752450227686aa7cf5980d9a89014b83", "score": "0.5935463", "text": "public void paint(Graphics g) {\n/* 90 */ if (this.canvas_image != null)\n/* 91 */ g.drawImage(this.canvas_image, 0, 0, this); \n/* */ }", "title": "" }, { "docid": "89e99aff906e3cadcc8efb352ae89bea", "score": "0.5934024", "text": "@Override\n\tpublic void paint(Graphics g) {\n\t\tsuper.paint(g);\n\t\tif (image != null) {\n\t\t\tg.drawImage(image, 0, 0, null);\n\t\t}\n\t}", "title": "" }, { "docid": "3f0ad75624c51b1f4d2669df2055c70b", "score": "0.59238446", "text": "@Override\n public void setSprite() {\n super.getSprite().setSpritePosX(727);\n super.getSprite().setSpritePosY(320);\n super.getSprite().setSprite_width(52);\n super.getSprite().setSprite_height(88);\n super.getSprite().setWidth(52);\n super.getSprite().setHeight(88);\n }", "title": "" }, { "docid": "79800544c8dcc20adba087cbac1ad09d", "score": "0.5912118", "text": "public void draw(Canvas canvas) {\n\t\tif (bmp != null)\n\t\t\tcanvas.drawBitmap(bmp, x, y, null);\n\t}", "title": "" }, { "docid": "62cacd6caa91df046d0b2ad26f25d534", "score": "0.5911771", "text": "public void setImg(ImageIcon img)\n\t{\nmyImg = img;\t\n}", "title": "" }, { "docid": "22bacad6e6de386c415b7ea9eabf5133", "score": "0.591018", "text": "void setImagePath(String imagePath);", "title": "" }, { "docid": "70e8972f500c2dd3af31a6f93c3b736c", "score": "0.59014684", "text": "public void draw() {\n\t\tif (visible) {\n\t\t\tif (chooseEnemy == 0) {\n\t \t\t//naranja\n\t \t\tapp.imageMode(PConstants.CENTER);\n\t \t\tapp.image(enemy1, x, y, width, height);\n\t\t\t} else {\n\t\t\t\t//magenta\n\t\t\t\tapp.imageMode(PConstants.CENTER);\n\t\t\t\tapp.image(enemy2, x, y, width, height);\n\t\t\t}\t\t\n\t\t}\n \n\t}", "title": "" }, { "docid": "d55c4eedbea27842e83b7f95c340536b", "score": "0.58889204", "text": "public void setPicture(String i){\r\n\t\ttry {\r\n\t\t\tshipImage = ImageIO.read(new File(\"i\"));\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(\"caught\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7ef96ad12939c28a602b5297ae1658f5", "score": "0.58876985", "text": "private void setPic() {\n \r\n int targetW = imagen.getWidth();\r\n int targetH = imagen.getHeight();\r\n \r\n // Get the dimensions of the bitmap\r\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\r\n bmOptions.inJustDecodeBounds = true;\r\n BitmapFactory.decodeFile(foto, bmOptions);\r\n int photoW = bmOptions.outWidth;\r\n int photoH = bmOptions.outHeight;\r\n \r\n // Determine how much to scale down the image\r\n int scaleFactor = Math.min(photoW/targetW, photoH/targetH);\r\n \r\n // Decode the image file into a Bitmap sized to fill the View\r\n bmOptions.inJustDecodeBounds = false;\r\n bmOptions.inSampleSize = scaleFactor;\r\n bmOptions.inPurgeable = true;\r\n \r\n Bitmap bitmap = BitmapFactory.decodeFile(foto, bmOptions);\r\n imagen.setImageBitmap(bitmap);\r\n }", "title": "" }, { "docid": "85736646d1e44cfa353ef5b76e0815e0", "score": "0.58864695", "text": "public void drawImage(Image image, float x, float y, Color col) {\n/* 1383 */ predraw();\n/* 1384 */ image.draw(x, y, col);\n/* 1385 */ this.currentColor.bind();\n/* 1386 */ postdraw();\n/* */ }", "title": "" }, { "docid": "f8bdb1701ec8aac409a595cabb7cd3b7", "score": "0.5886461", "text": "private void drawToScreen() {\n\t\tGraphics graphics2 = getGraphics();\n\t\tgraphics2.drawImage(image, 0, 0, WIDTH * SCALE, HEIGHT * SCALE, null);\n\t\tgraphics2.dispose();\n\t}", "title": "" }, { "docid": "13fbd3db92bb2d52971e09ada280a52b", "score": "0.5886393", "text": "@Override\n public void paint(final Graphics g) {\n super.paint(g);\n g.drawImage(image, 0, 0, this);\n\n // Initialisiert das Fenster.\n this.setSize(image.getWidth(), image.getHeight());\n this.setName(imageName);\n this.setVisible(true);\n }", "title": "" }, { "docid": "a94623304fbc4387b7d390044c88f78b", "score": "0.58843356", "text": "public void setImageObserver(ImageObserver observer) {\n imageObserver = observer;\n }", "title": "" }, { "docid": "90a5d797830bb955a9055fb516fd0167", "score": "0.5874667", "text": "public void updateImage()\n {\n setImage (new GreenfootImage (text+count, 24, java.awt.Color.black, null));\n }", "title": "" }, { "docid": "589781fc3278d946b06500dbc45cd4e9", "score": "0.58743066", "text": "private void updateImage()\n {\n nowShowing.setText(\"Frame : \" + (fnum+1) + \" of \" + numframes);\n if(numframes==0) return;\n dp.setImage(frames.get(fnum));\n repaint();\n }", "title": "" }, { "docid": "6599270e81924ae2f2134a42e2f9f177", "score": "0.58698565", "text": "void drawImage(String path, String parent);", "title": "" }, { "docid": "c14365f025a3e20e36058f5a8ac29dbd", "score": "0.5868563", "text": "public void setBitmap(Bitmap bmp) {\n this.bmp = bmp;\n }", "title": "" }, { "docid": "e00e9bd752c3500b8a7cea9c48439ff1", "score": "0.586408", "text": "Paint setPaint();", "title": "" }, { "docid": "1d0b02470da2bf093174d7b527bed574", "score": "0.5860705", "text": "@Override\r\n public void setImageBitmap(Bitmap bitmap) {\r\n bmp = bitmap;\r\n isReady = true;\r\n }", "title": "" }, { "docid": "01aa897178727c7026b4fe7ce738f3f0", "score": "0.5857176", "text": "public void ondraw(Canvas canvas){\n update();\n canvas.drawBitmap(bmp, x, y, null);\n }", "title": "" }, { "docid": "aa663fb5776215669cb77f24e1bf8fe2", "score": "0.58560985", "text": "private void setImageDrawable(Drawable drawable) {\n ImageView imageView = getView();\n\n // We can only set the drawable if the view has not been released.\n if (imageView != null) {\n imageView.setImageDrawable(drawable);\n } else {\n Log.w(TAG, \"Attempt to set a drawable on a recycled image view\");\n }\n }", "title": "" }, { "docid": "53c53056171740a73dd6782af1da8314", "score": "0.5855825", "text": "@Override\n public void draw(Graphics graphics) {\n graphics.drawImage( image, getX()-getWidth()/2, getY()-getHeight()/2, null);\n\n }", "title": "" }, { "docid": "d0cd72f1a5c5cc149d5833386c1c13b8", "score": "0.5847544", "text": "public void drawImage(Image image, float x, float y) {\n/* 1433 */ drawImage(image, x, y, Color.white);\n/* */ }", "title": "" } ]
2a14c8ca0e57c2988e8528bdf425cd8b
set name of ability
[ { "docid": "91e606193818ca84b424b561ace594e3", "score": "0.6257591", "text": "public void setName(String name)\n {\n this.name = name; \n }", "title": "" } ]
[ { "docid": "1964f49cae676a82eca8c43bc6973d87", "score": "0.80565757", "text": "public void setName(String name) {\n //add(\"AbilityList.NAME\", name, true);\n this.name = name;\n }", "title": "" }, { "docid": "3811c4083dcb509cb968d2f62f77494b", "score": "0.6803541", "text": "public void setAttack(String name){\n \n }", "title": "" }, { "docid": "ce2c2eadc5a362ed79596de870f321fc", "score": "0.66715986", "text": "public void setName(String aName){\n name = aName;\n }", "title": "" }, { "docid": "09ed22b3e19a0a95f8ba6dfe42118242", "score": "0.66133577", "text": "public void setName(String name) throws UnauthorizedException;", "title": "" }, { "docid": "248088af2b7ab6276cfcf62ed138e7ec", "score": "0.65881133", "text": "public void setName( String name );", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "9a775968bdcc6873d82b72be14147562", "score": "0.65606225", "text": "public void setName(String name);", "title": "" }, { "docid": "49c8457d93ec630802496af18c54845d", "score": "0.65066427", "text": "public void setName(String name){\r\n\t}", "title": "" }, { "docid": "cd9f4eb2e7672cd58e3890774e2f110a", "score": "0.650388", "text": "public void setName (String aName)\r\n {\r\n name = aName;\r\n }", "title": "" }, { "docid": "02e90e4ec3ddf8889c9f97827427a7f6", "score": "0.6496512", "text": "public void setName (String Name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "a1152c660cbabcd54ec6b5f99e8b5fa5", "score": "0.6490531", "text": "void setName(String name);", "title": "" }, { "docid": "58fa91a7f59bf5332977dc79d9abca39", "score": "0.64437366", "text": "void setName (String name) \n { // example of modifier \n this.name = name;\n }", "title": "" }, { "docid": "601fba5f146d2e4ab748ce3723adecfc", "score": "0.64256847", "text": "public void setName(String aName) {\n name = aName;\n }", "title": "" }, { "docid": "13a787ee8e07fe041ac91c8212c4d44f", "score": "0.6424983", "text": "public void setName(String name){\n \tthis.name = name;\n }", "title": "" }, { "docid": "abc945b8bcaf23e1e1f6a0d92d338dbd", "score": "0.6424226", "text": "@Override\n\tpublic void ability() {\n\t\t\n\t}", "title": "" }, { "docid": "9a6131008cd5bc9b63674c1def1af122", "score": "0.6421444", "text": "public void setName(final String name);", "title": "" }, { "docid": "c2891b59dcdcc7ab49074544052c4c32", "score": "0.64195037", "text": "private void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "73a3fddde6c1866768a12fb4994032cf", "score": "0.640556", "text": "private void setName(String name) {\r\n \tthis.name = name ;\r\n }", "title": "" }, { "docid": "b1ad1ab55d36aa4420b61b7be41bd9d2", "score": "0.64037895", "text": "@Override\r\n\tpublic void setName(String name) {\n\t\t\r\n\t}", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.63969606", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "898d79dfb4a764e99138c289f626211a", "score": "0.63921946", "text": "public void setName(String name){\n\tthis.name = name;\n }", "title": "" }, { "docid": "821e9ce918880abecd72d7c239ccbf41", "score": "0.6374192", "text": "public void setName(String name) {this.name = name;}", "title": "" }, { "docid": "0abb75ca7dd66af7e75f430e43c364cc", "score": "0.63729554", "text": "public void setName(String aName)\r\n\t{\r\n\t\tthis.name = aName;\r\n\t}", "title": "" }, { "docid": "16e7b9d8a2e782f69f4198cef6a8de47", "score": "0.6368361", "text": "void setName(final String name);", "title": "" }, { "docid": "770117034d2dc48f0c431088e3678cdd", "score": "0.636595", "text": "public void setName(String name){\r\n this.name = name;\r\n }", "title": "" }, { "docid": "770117034d2dc48f0c431088e3678cdd", "score": "0.636595", "text": "public void setName(String name){\r\n this.name = name;\r\n }", "title": "" }, { "docid": "f752ba58f72202606ddef0025348a42b", "score": "0.6359448", "text": "public void setName (String name){\n this.name = name;\n }", "title": "" }, { "docid": "65dab3896cb6077daf4aefebd3dc26e5", "score": "0.635878", "text": "public void setName(String name) {\n this.name = name; //store the name\n }", "title": "" }, { "docid": "e31aeaa3e13772b2631010a6502a6e8c", "score": "0.63537496", "text": "public String getAbilityName() {\r\n\treturn \"Reckless\";\r\n }", "title": "" }, { "docid": "2eaec34d023bc9e27c5da6176dac0a7f", "score": "0.63514227", "text": "@Override\n\tpublic void setName(String name) {\n\t\t\n\t}", "title": "" }, { "docid": "e086ef6f25cd0e645ebaca3c75f5015b", "score": "0.6350331", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "af13aef05d874444dfcaccc53b3757d6", "score": "0.6348966", "text": "public void setName(String name) { this.name = name;}", "title": "" }, { "docid": "39e8cd592f64d707ff45b6c301780fea", "score": "0.63459784", "text": "public void setName(String name){ this.name = name; }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.6331374", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.6331374", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.6331374", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.6331374", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.6331374", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.6331374", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "d55e4c355822eabb886eedefdde8ea6f", "score": "0.63308597", "text": "protected void setName(String name) {\n\tiName= name;\n }", "title": "" }, { "docid": "cf404d2eb5815e2d0788c408c69392a0", "score": "0.63304424", "text": "public void setName(String name) { this.name = name; }", "title": "" }, { "docid": "cf404d2eb5815e2d0788c408c69392a0", "score": "0.63304424", "text": "public void setName(String name) { this.name = name; }", "title": "" }, { "docid": "cf404d2eb5815e2d0788c408c69392a0", "score": "0.63304424", "text": "public void setName(String name) { this.name = name; }", "title": "" }, { "docid": "216184bf0b722ecb91d58a52eb273c5f", "score": "0.6324244", "text": "public void setName(String name){\n\n this.name = name;\n }", "title": "" }, { "docid": "324ba08fb686d3b5e245a99473f63947", "score": "0.63240176", "text": "public void setName(String name){\n this.name=name;\n }", "title": "" }, { "docid": "ddc9b2b21f059a7ba53151d2e096b5bb", "score": "0.63230765", "text": "public void setName(String inName)\r\n {\r\n name = inName;\r\n }", "title": "" }, { "docid": "0d376cf8ea06a912426cd13686f2b30a", "score": "0.6322508", "text": "public void setName(String name) {\n\n }", "title": "" }, { "docid": "ae28f2bd4d7e7a1ecfefd6825f5138fc", "score": "0.631009", "text": "@Override\n public void setName(String name) {\n this.name =name;\n }", "title": "" }, { "docid": "e37a360a0222aecba391883807cf4499", "score": "0.6302833", "text": "public void setName(String n){\n this.name = n;\n }", "title": "" }, { "docid": "dee81db575f2ea32187ec587f48989b2", "score": "0.6299778", "text": "public void setName(String name) {\n \tthis.name = name;\n }", "title": "" }, { "docid": "8409edf1fc564c45edae3c6a4401b5ac", "score": "0.62916213", "text": "public void setName(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "de6a72cfb9e4ae0d9cecb3538307ad4b", "score": "0.62916046", "text": "public void setName(String name) {\n\n\t}", "title": "" }, { "docid": "86db5e95aa48722e689a347a7efa56ac", "score": "0.6290244", "text": "public void setName(String name) {\n }", "title": "" }, { "docid": "dd761c94ac8dcc648057ea2bf4d4a130", "score": "0.6288019", "text": "public void setName(String name){\n\t\tthis.name=name;\n\t}", "title": "" }, { "docid": "6e5801d7a641f570346cda0aa9442019", "score": "0.6287272", "text": "public void setName(String name) {\n \tthis.name = name;\n }", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.62844265", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.62844265", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "a7f894638a2125563ea312aee621fb44", "score": "0.6282512", "text": "public void setName (String name){\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "3031c3494dac1605d166ba63ce14bb89", "score": "0.62812364", "text": "private void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "9401e279a3954f315b69471224a33353", "score": "0.6271321", "text": "@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name=name;\r\n\t}", "title": "" }, { "docid": "9401e279a3954f315b69471224a33353", "score": "0.6271321", "text": "@Override\r\n\tpublic void setName(String name) {\n\t\tthis.name=name;\r\n\t}", "title": "" }, { "docid": "c361b90924c6908e5bdd4cdd6ca38a60", "score": "0.62601185", "text": "public void setName(String name)\n {\n this.Name=name;\n }", "title": "" }, { "docid": "a1adbbe7d50228427cfadeb256b9eaed", "score": "0.6249642", "text": "public void setName(String theName){\n\tname = theName;\n }", "title": "" }, { "docid": "01fda5b3bf1b6da309314c50c754cefd", "score": "0.62477845", "text": "public void setName(String n){\r\n name = n;\r\n }", "title": "" }, { "docid": "8418221a60716aec889db26d84e1ced8", "score": "0.6241405", "text": "public void setName(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "7e57c2810d0923c82cfb0500da67e7ab", "score": "0.62390184", "text": "public void setName(String name)\n {\n this.name = name ;\n }", "title": "" }, { "docid": "ad8ec973960af1939f43d5599eaf9404", "score": "0.6236872", "text": "public void setName(java.lang.CharSequence value) {\n this.name = value;\n }", "title": "" }, { "docid": "ad8ec973960af1939f43d5599eaf9404", "score": "0.6236872", "text": "public void setName(java.lang.CharSequence value) {\n this.name = value;\n }", "title": "" } ]
ccea63568ebd9313b7d5488770c0588f
Creates new form ShowAllAttendance
[ { "docid": "1c08d2ed279de00e604711f21131b58a", "score": "0.6498935", "text": "public ShowAllAttendance() {\n \n initComponents();\n GreyTextField.greyifyTextFieldText(txtSearchClass, \"Search Class\");\n try{\n refreshClassTable();\n }catch(SQLException e){e.printStackTrace();}\n }", "title": "" } ]
[ { "docid": "485e573db13899fe18e4623172363711", "score": "0.60393494", "text": "public ViewAttendance() {\n initComponents();\n conn=DBconnect.connect();\n tableload();\n }", "title": "" }, { "docid": "b76e604d275617785136909e161eca40", "score": "0.60021925", "text": "public Operator_Attendance() {\n initComponents();\n ope_Date.setVisible(false);\n TableAllData();\n }", "title": "" }, { "docid": "aed6e80685da75d45396fcdc4202382c", "score": "0.5931475", "text": "public attendanceViewer() {\n initComponents();\n }", "title": "" }, { "docid": "119d0428be51f0a0dc9e5ccda1ab6b74", "score": "0.5851377", "text": "public EmployeeAttendances() {}", "title": "" }, { "docid": "9a512d513c669d0c9fd9511bf2ea27f9", "score": "0.5828989", "text": "@Override\n\tpublic List<Attendance> list() {\n\t\treturn attendanceDao.list();\n\t}", "title": "" }, { "docid": "9b4afd3f5f148a678cada168053823b6", "score": "0.5729885", "text": "public AttendanceReport() {\n initComponents();\n\n }", "title": "" }, { "docid": "5ede4fd3694785e1e6e9fbc9bcc863b8", "score": "0.5525128", "text": "public static void populateFilledAppointments() {\n\t\ttry {\n\t\t\t//Create a query to use in a PreparedStatement\n\t\t\t\t//Will find all information about scheduled appointment for a specific advisor\n\t\t\tString query = \"select * from appointments WHERE open=0 and advisor=?\";\n\t\t\t//Execute the query with the associated database connection\n\t\t\tPreparedStatement pst = sqliteConnection.connAppointment.prepareStatement(query);\n\t\t\t//advisor = the currently logged in advisor\n\t\t\tpst.setString(1, AdvisorAccount.name);\n\t\t\t//Results of the PreparedStatement\n\t\t\tResultSet rs = pst.executeQuery();\n\t\t\t//Populate the table with the ResultSet \n\t\t\t\t//Only displays the scheduled appointment for the currently logged in advisor\n\t\t\t\t//Unscheduled appointments will not be visible\n\t\t\tAdvisorSchedule.table.setModel(DbUtils.resultSetToTableModel(rs));\n\t\t\t//Close the data reception from the database\n\t\t\trs.close();\n\t\t\tpst.close();\n\t\t} catch (Exception e) {\n\t\t\tJOptionPane.showMessageDialog(null, e);\n\t\t}\n\t}", "title": "" }, { "docid": "b3bb8d84ca96519354a8fb16816b033e", "score": "0.5513711", "text": "public frmAgendamentoListagem() {\n initComponents();\n \n DAO = new AgendamentoDAO();\n\n // List<Agendamento> Agendamentos = DAO.ListarAgendamentos();\n\n //preencheTabela(Agendamentos);\n \n \n }", "title": "" }, { "docid": "45268b95cf05c07183c923be9cead1db", "score": "0.5439495", "text": "public void b_attendance(View view) {\n startActivity(new Intent(this, AttendanceScreen.class));\n }", "title": "" }, { "docid": "e985847d9763c01244d22a347d3fe42e", "score": "0.5404022", "text": "public void ShowClassSchedule() {\n ArrayList<StudentRegisteredCourses> list = StudentRegisteredCourses();\n DefaultTableModel model = (DefaultTableModel)MP_Class_Schedule_Table.getModel();\n Object[] row = new Object[3];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getCourseNo();\n row[1]=list.get(i).getRoomNo();\n row[2]=list.get(i).getDaysTime();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "a7498bbd35ce3e83acd51763874836a6", "score": "0.5361818", "text": "public static void recordAttendance(String date)\n {\n Iterator iter = students.iterator();\n while(iter.hasNext()){\n Student s = (Student) iter.next();\n System.out.print(s.getStudentid() + \" \" + s.getFirstname() + \" \" + s.getLastname() + \": \");\n String present = keyboard.nextLine();\n /* checks to make sure user is inputting a or p */\n while (!(present.equals(\"p\") || present.equals(\"a\")))\n {\n System.out.println(\"Invalid entry, try again.\");\n System.out.print(s.getStudentid() + \" \" + s.getFirstname() + \" \" + s.getLastname() + \": \");\n present = keyboard.nextLine();\n }\n /* creates new DayAttendance object and adds it to attendance array list */\n DayAttendance attendance = new DayAttendance(s, date, present);\n presence.add(attendance);\n }\n }", "title": "" }, { "docid": "93715cad870323bdf90a207aea817e02", "score": "0.53517777", "text": "public void Add(View view) {\n LinkedList<CommitteeMemberManagement> list = dbManager.showAllCommitteeMember();\n if (list.size()<1){\n Toast.makeText(getApplicationContext(), \"You do not have any committee with members so fist add committee with members\",Toast.LENGTH_LONG).show();\n }else {\n newActivity = new Intent(this, AddMeetingActivity.class);\n startActivity(newActivity);\n }\n }", "title": "" }, { "docid": "a7c1de314467eb642de430e0d2b69f66", "score": "0.5330943", "text": "@Nonnull\n public com.microsoft.graph.requests.MeetingAttendanceReportCollectionRequestBuilder attendanceReports() {\n return new com.microsoft.graph.requests.MeetingAttendanceReportCollectionRequestBuilder(getRequestUrlWithAdditionalSegment(\"attendanceReports\"), getClient(), null);\n }", "title": "" }, { "docid": "97b8c935a1e6f6ecb03ec49ec9d36de1", "score": "0.5313492", "text": "private void viewAllAttendant() {\r\n carPark.showAllAttendant();\r\n }", "title": "" }, { "docid": "a7c62d2cae5779037ee21d2e1de7a546", "score": "0.53107023", "text": "public void newAppointment(Meeting model) {\n main.newAppointment(model);\n }", "title": "" }, { "docid": "a623a06420c8ac7ad08efcf7d619882c", "score": "0.530394", "text": "@Override\n public void showAll() {\n model.setRowCount(0);\n ArrayList<Employee> employees = new ArrayList<Employee>();\n \n employees = emp_operations.showEmployees();\n \n if (employees != null) {\n \n for(Employee element: employees){\n Object[] x = {element.getId(),element.getName(),element.getSurname(),element.getBirth_date(),element.getNationality(),element.getAddress(),element.getPhone(),element.getDpt_id(),element.getEmail(),element.getJob(),element.getSalary()};\n model.addRow(x);\n \n \n }\n \n }\n \n }", "title": "" }, { "docid": "6cbecd509c1b9335b04d18baeaaf4e2e", "score": "0.5280962", "text": "private void createAppointment(){\n Intent intent = new Intent(this, AddAppointment.class);\n if ( selectedDate == null ){\n selectedDate = getCurrentDate();\n }\n intent.putExtra(Appointment.KEY_DATE, selectedDate);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "6cff1b869fab92ece417ae0d33e1594c", "score": "0.52476007", "text": "private void viewAllAvailableAttendant() {\r\n carPark.showAllAvailableAttendant();\r\n }", "title": "" }, { "docid": "a0f5c52daff2a2131b548d32a342f26e", "score": "0.5236564", "text": "private void fillForm() {\n model.setRowCount(0);\n for (SinhVien sv : listSV) {\n model.addRow(new Object[] {sv.getFullName(), sv.getMajors(),\n sv.getMarks(), sv.getDate()});\n }\n }", "title": "" }, { "docid": "14e1f1ad5eb970a4936f564812758dbe", "score": "0.521346", "text": "public String attendanceReport(){\n\n\t\tStringBuilder strb = new StringBuilder(\"\");\n\n\t\t//Displays the ID and the name of the class and the name of the tutor of the class.\n\t\tstrb.append(String.format(\"%10s %25s %25s \", getClassID(), getClassName(), getTutorName()));\n\n\t\tfor(int attendance : getAttendanceRecords()){\n\t\t\t//Loops the attendances for each week\n\t\t\tstrb.append(String.format(\"%6d\", attendance));\n\t\t}\n\n\t\tstrb.append(String.format(\"%22.2f\\n\", averageAttendance()));\n\n\t\treturn strb.toString();\n\t}", "title": "" }, { "docid": "e7ffe58c90aba2ad62acdf69a74a1a4e", "score": "0.5212624", "text": "private void getAllExamsForEach() {\n try {\n ArrayList<ExamsDTO> searchExam = ExamsController.getEachExams(txtrid.getText());\n DefaultTableModel dtm = (DefaultTableModel) tblExam.getModel();\n dtm.setRowCount(0);\n\n if (searchExam != null) {\n for (ExamsDTO searchExams1 : searchExam) {\n dtm.addRow(new Object[]{searchExams1.getRegId(), searchExams1.getExamId(), searchExams1.getExamName(), searchExams1.getExamMark(), searchExams1.getExamDate()});\n }\n } else {\n JOptionPane.showMessageDialog(null, \"There is no Exams such that Student..!!\");\n }\n } catch (Exception ex) {\n Logger.getLogger(ExamsReportsForm.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "97b219a9eb211ab7733b63871d1f162d", "score": "0.52118015", "text": "public static void bookedAppointment() {\n\t\t\n\n\t\tSystem.out.println(\n\t\t\t\t\"--------------------------------------Appointment List---------------------------------------------\");\n\n\t\ttry {\n\t\t AppointmentDao appointment = new AppointmentDao(new DatabaseManager());\n\t\t\tList<AppointmentDto> dtos = appointment.read();\n\t\t\tSystem.out.println(\"\\n\");\n\t\t\tSystem.out.printf(\"Id Name DoctorId Problem DateofAppointment Time\\n\");\n\t\t\t\n\t\t\tfor (AppointmentDto appointmentDto : dtos) {\n\t\t\t\tSystem.out.printf(\" %s %30s %20s %28s %20s %25s \", appointmentDto.getAppointmentId(),\n\t\t\t\t\t\tappointmentDto.getPatientname(), appointmentDto.getDrId(), appointmentDto.getProblem(),\n\t\t\t\t\t\tappointmentDto.getAppointmentDate(), appointmentDto.getAppointmentTime());\n\t\t\t\tSystem.out.println(\"\\n\");\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(\"-----------------------------------*---Appointment List---*--------------------------------------------------- \");\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(e);\n\t\t\tSystem.out.println(\"----------Can't read---------\");\n\t\t}\n\t}", "title": "" }, { "docid": "229e4256239b45b0f401b6a46412c0a6", "score": "0.5196054", "text": "public nurseScreen(Nurse nurse) {\n this.nurse = nurse;\n initComponents();\n DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\"yyyy/MM/dd HH:mm:ss\"); \n LocalDateTime now = LocalDateTime.now(); \n date.setText(dtf.format(now));\n \n for(Patients p : Company.patientsData){\n vaccinelist.addItem(p.getId());\n updatelist.addItem(p.getId());\n covidlist.addItem(p.getId());\n }\n }", "title": "" }, { "docid": "a8512e5c89eb9f7f99e97bda76a8e7ff", "score": "0.5178777", "text": "@GetMapping(\"/showAddForm\")\r\n\tpublic String showAddForm(Model model) {\n\t\tStudent student = new Student();\r\n\t\tmodel.addAttribute(\"student\", student);\r\n\t\treturn \"student-form\";\r\n\t}", "title": "" }, { "docid": "b2cf0b92f7103cd6c7889d726bcb6aeb", "score": "0.51728463", "text": "public void addAllWiaEnrollment() {\n btnAddAllWiaEnrollment.click();\n }", "title": "" }, { "docid": "25d1df6a40a444139a93bc70389a8978", "score": "0.5166266", "text": "public void AECG_ShowStudents() {\n ArrayList<StudentsList> list = StudentsList();\n DefaultTableModel model = (DefaultTableModel) AECG_Students_Table.getModel();\n Object[] row = new Object[3];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getStudentID();\n row[1]=list.get(i).getFirstName();\n row[2]=list.get(i).getLastName();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "ee1406877dc5a8bcc5c81d1ad0346fd9", "score": "0.516223", "text": "@RequestMapping(value=\"/incident/form\", method=RequestMethod.GET)\n\tpublic String getCreateForm(Model model) {\n\t\t\n\t\tmyincidents = mongoTemplate.find(new Query(), Incident.class);\n\t\tmodel.addAttribute(\"incidents\", myincidents);\n\n\t\tArrayList<Cause> cause = new ArrayList<Cause>();\n\t\tcause.add(new Cause(1,\"Homeless\"));\n\t\tcause.add(new Cause(2,\"Drunk\"));\n\t\tcause.add(new Cause(3,\"Animal\"));\n\t\tcause.add(new Cause(4,\"Other\"));\n\t\tmodel.addAttribute(\"cause\", cause);\n\t\t\n\t\tmodel.addAttribute(new Incident());\n\t\treturn \"incident/createForm\";\n\t}", "title": "" }, { "docid": "0e073c97cbe151f058c31a82b8119d92", "score": "0.5158915", "text": "public UpdateAttendanceServlet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "35785c84f2ceb4c1af8baa321c644d1e", "score": "0.51583594", "text": "private void butAdd_Click(Object sender, EventArgs e) throws Exception {\n FormVitalsignEdit2014 FormVSE = new FormVitalsignEdit2014();\n //FormEhrVitalsignEdit FormVSE=new FormEhrVitalsignEdit();\n FormVSE.VitalsignCur = new Vitalsign();\n FormVSE.VitalsignCur.PatNum = PatNum;\n FormVSE.VitalsignCur.DateTaken = DateTime.Today;\n FormVSE.VitalsignCur.setIsNew(true);\n FormVSE.ShowDialog();\n fillGrid();\n }", "title": "" }, { "docid": "2ea485c67fb1af0e3e021b08924d0826", "score": "0.5154295", "text": "public void MS_Show_Students() {\n ArrayList<StudentsList> list = StudentsList();\n DefaultTableModel model = (DefaultTableModel)MS_Current_Students_Table.getModel();\n Object[] row = new Object[10];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getStudentID();\n row[1]=list.get(i).getFirstName();\n row[2]=list.get(i).getLastName();\n row[3]=list.get(i).getStudentStatus();\n row[4]=list.get(i).getResidencyStatus();\n row[5]=list.get(i).getClassStanding();\n row[6]=list.get(i).getLocation();\n row[7]=list.get(i).getMajor();\n row[8]=list.get(i).getPhoneNumber();\n row[9]=list.get(i).getEmailAddress();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "e2f64e8a955bc87c733e54fe475a773d", "score": "0.51211536", "text": "public void addEvent(View v){\n if(title.getText().toString().isEmpty() || to.getText().toString().isEmpty() || from.getText().toString().isEmpty() || location.getText().toString().isEmpty()){\n Toast.makeText(getApplicationContext(), \"Please fill in all the fields\", Toast.LENGTH_SHORT).show();\n } else if(onetimecb.isChecked() && date.getText().toString().isEmpty()){\n Toast.makeText(getApplicationContext(), \"Please enter a date.\", Toast.LENGTH_SHORT).show();\n } else if(!onetimecb.isChecked() && (!mon.isChecked() && !tues.isChecked() && !wed.isChecked() &&\n !thur.isChecked() && !fri.isChecked() && !sat.isChecked() && !sun.isChecked())){\n Toast.makeText(getApplicationContext(), !onetimecb.isChecked() + \"Please select a day of the week.\", Toast.LENGTH_SHORT).show();\n } else {\n if(onetimecb.isChecked()){\n Toast.makeText(getApplicationContext(), date.getText().toString(),Toast.LENGTH_SHORT).show();\n eventAdded.add(new ScheduleItems(title.getText().toString(), location.getText().toString(), to.getText().toString(), from.getText().toString(), date.getText().toString(), true));\n } else {\n for(int i = 0; i < days.size();i++) {\n eventAdded.add(new ScheduleItems(title.getText().toString(), location.getText().toString(), to.getText().toString(), from.getText().toString(), days.get(i).toString(), false));\n }\n }\n adapter = new ScheduleItemAdapter(getApplicationContext(),eventAdded);\n eventlist.setAdapter(adapter);\n\n }\n }", "title": "" }, { "docid": "88db9a61551c06f3d82283152a69b993", "score": "0.5120942", "text": "@Nonnull\n public com.microsoft.graph.requests.MeetingAttendanceReportRequestBuilder meetingAttendanceReport() {\n return new com.microsoft.graph.requests.MeetingAttendanceReportRequestBuilder(getRequestUrlWithAdditionalSegment(\"meetingAttendanceReport\"), getClient(), null);\n }", "title": "" }, { "docid": "da1a7401fdc5c7b4d29e83d3bc911adf", "score": "0.51203436", "text": "@Override\n\tpublic List<Attendance> listAnd(Attendance attendance) {\n\t\treturn attendanceDao.listAnd(attendance);\n\t}", "title": "" }, { "docid": "8ea6b6e93cb2f37abcbef4550791dc30", "score": "0.5100833", "text": "@GetMapping(\"/showAddForm\")\n\tpublic String showFormForAdd(Model theModel) {\n\t\tStudent theStudent = new Student();\n\t\t\n\t\ttheModel.addAttribute(\"student\", theStudent);\n\t\t\n\t\treturn \"student-form\";\n\t}", "title": "" }, { "docid": "7c3292133c16123c95a9495ae529e895", "score": "0.5089629", "text": "@GetMapping(\"/showFormForAdd\")\n\t\tpublic String showFormForAdd(Model theModel) {\n\t\t\tReservation theReservation = new Reservation();\n\t\t\t\n\t\t\ttheModel.addAttribute(\"reservation\", theReservation);\n\t\t\t\n\t\t\treturn \"reservations/reservation-form\";\n\t\t}", "title": "" }, { "docid": "711a7cb4cab5fdcdf6ac5441088cab88", "score": "0.5075649", "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 jScrollPane1 = new javax.swing.JScrollPane();\n tblattend = new javax.swing.JTable();\n jLabel4 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n txtid = new javax.swing.JTextField();\n jButton3 = new javax.swing.JButton();\n\n setBorder(null);\n setMaximumSize(new java.awt.Dimension(1030, 630));\n setMinimumSize(new java.awt.Dimension(1030, 630));\n setPreferredSize(new java.awt.Dimension(1030, 630));\n\n jPanel1.setBackground(new java.awt.Color(255, 255, 255));\n jPanel1.setMaximumSize(new java.awt.Dimension(1030, 630));\n jPanel1.setMinimumSize(new java.awt.Dimension(1030, 630));\n jPanel1.setName(\"\"); // NOI18N\n jPanel1.setPreferredSize(new java.awt.Dimension(1030, 630));\n\n tblattend.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null, null, null, null},\n {null, null, null, null, null, null, null},\n {null, null, null, null, null, null, null},\n {null, null, null, null, null, null, null}\n },\n new String [] {\n \"Date\", \"Employee ID\", \"Name \", \"In \", \"Out\", \"Hours Worked\", \"Title 7\"\n }\n ));\n jScrollPane1.setViewportView(tblattend);\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel4.setText(\"View Daily Attendance\");\n\n jButton1.setText(\"Search\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"Employee ID\");\n\n txtid.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtidActionPerformed(evt);\n }\n });\n\n jButton3.setText(\"Clear\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addGap(21, 21, 21)\n .addComponent(txtid, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(46, 46, 46)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jButton3)\n .addContainerGap(685, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jButton1)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel4))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(21, 21, 21)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 961, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(48, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(26, 26, 26)\n .addComponent(jLabel4)\n .addGap(29, 29, 29)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jButton1)\n .addGap(63, 63, 63)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 604, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "a839a3c563e6eef9c91c8b9f6f2a5475", "score": "0.5072824", "text": "public void SR_Show_Students() {\n ArrayList<StudentsList> list = StudentsList();\n DefaultTableModel model = (DefaultTableModel)SC_Current_Students_Table.getModel();\n Object[] row = new Object[10];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getStudentID();\n row[1]=list.get(i).getFirstName();\n row[2]=list.get(i).getLastName();\n row[3]=list.get(i).getStudentStatus();\n row[4]=list.get(i).getResidencyStatus();\n row[5]=list.get(i).getClassStanding();\n row[6]=list.get(i).getLocation();\n row[7]=list.get(i).getMajor();\n row[8]=list.get(i).getPhoneNumber();\n row[9]=list.get(i).getEmailAddress();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "68f04febdf2871c0fdd6c0978f62b6a7", "score": "0.5068147", "text": "void studentTimeTable() {\n try {\n studentID = lbl_genaratedstuid.getText();\n userName = lbl_username.getText();\n userType = lbl_userType.getText();\n ResultSet rs = db.getData(\"SELECT * FROM student_reg WHERE student_id='\" + studentID + \"'\");\n if (rs.next()) {\n new StudentTimeTable().setVisible(true);\n } else {\n JOptionPane.showConfirmDialog(rootPane, \"Incorrect Student Id or un-registerd Student.. Check again\", \"warning\", JOptionPane.OK_CANCEL_OPTION);\n }\n } catch (Exception ex) {\n Logger.getLogger(StudentRegistration.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }", "title": "" }, { "docid": "f346542463b14cf72c3f6af1628a7f4c", "score": "0.5065943", "text": "@GetMapping(\"/showFormForAdd\")\n\tpublic String showFormForAdd(Model theModel) {\n\t\tEmployee newEmployee = new Employee();\n\t\t\n\t\ttheModel.addAttribute(\"employee\", newEmployee);\n\t\t\n\t\treturn \"employees/showformforadd\";\n\t}", "title": "" }, { "docid": "2104e37811d920b1f172e833f3de1825", "score": "0.50556636", "text": "public final void showRecords(List<? extends Appointment> list) {\n labelVisibility(!list.isEmpty());\n this.recordSection.setData(list);\n }", "title": "" }, { "docid": "18dedc7f2f2dfdcbdc0fdd778c48c9d9", "score": "0.50370616", "text": "private void PrintPatientsAssessementForm() {\n com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf.connectDB = connectDB;\n com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf regForm = new com.afrisoftech.reports.NutritionAdultPatientAssessmentFormPdf();\n regForm.generatePdf(nameNoTxt.getText().toString(), headerDatePicker.getDate());\n }", "title": "" }, { "docid": "25700c217d1ad73681df46483adcd7a8", "score": "0.50091094", "text": "private void consultantSchedules() {\n \n // Retreive all appointments from the database.\n ObservableList<Appointment> allAppointments = DAO.getAllAppointments();\n \n // Create the table view and table columns.\n TableView<Appointment> tableView = new TableView<>();\n TableColumn<Appointment, String> userIdColumn = new TableColumn<>(\"Consultant ID\");\n TableColumn<Appointment, String> startColumn = new TableColumn<>(\"Start\");\n TableColumn<Appointment, String> endColumn = new TableColumn<>(\"End\");\n TableColumn<Appointment, String> titleColumn = new TableColumn<>(\"Title\");\n TableColumn<Appointment, String> typeColumn = new TableColumn<>(\"Type\");\n TableColumn<Appointment, String> locationColumn = new TableColumn<>(\"Location\");\n TableColumn<Appointment, String> customerNameColumn = new TableColumn<>(\"Customer Name\");\n \n // Add the table columns to the table.\n tableView.getColumns().add(userIdColumn);\n tableView.getColumns().add(customerNameColumn);\n tableView.getColumns().add(titleColumn);\n tableView.getColumns().add(typeColumn);\n tableView.getColumns().add(locationColumn);\n tableView.getColumns().add(startColumn);\n tableView.getColumns().add(endColumn);\n \n // Bind data to the table columns.\n userIdColumn.setCellValueFactory(cellData -> cellData.getValue().userIdProperty().asString());\n customerNameColumn.setCellValueFactory(cellData -> cellData.getValue().customerNameProperty());\n startColumn.setCellValueFactory(cellData -> cellData.getValue().startProperty());\n endColumn.setCellValueFactory(cellData -> cellData.getValue().endProperty());\n titleColumn.setCellValueFactory(cellData -> cellData.getValue().titleProperty());\n typeColumn.setCellValueFactory(cellData -> cellData.getValue().typeProperty());\n locationColumn.setCellValueFactory(cellData -> cellData.getValue().locationProperty());\n \n // Add items to the table.\n tableView.setItems(allAppointments);\n \n // Display report.\n reports.displayReport(tableView);\n }", "title": "" }, { "docid": "790af2ef3fce0c6901df1a465b196232", "score": "0.50057554", "text": "public FrmRegistrodeEstudiantes() {\n initComponents();\n try {\n iniciarListado();\n } catch (IOException ex) {\n Util.imprimir(ex.toString());\n } \n \n }", "title": "" }, { "docid": "9bb5752a2e9fe7fc0a59898b9ab58c60", "score": "0.49961212", "text": "public void Show_RegisteredCourses() {\n ArrayList<StudentRegisteredCourses> list = StudentRegisteredCourses();\n DefaultTableModel model = (DefaultTableModel)SP_Registered_Courses_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getCourseNo();\n row[1]=list.get(i).getCourseDescription();\n row[2]=list.get(i).getRoomNo();\n row[3]=list.get(i).getInstructorName();\n row[4]=list.get(i).getStartDate();\n row[5]=list.get(i).getEndDate();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "e2af14c11d031f382e44f2907bbadbf8", "score": "0.4992485", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\t\n\t\tRoomDao roomDao = new RoomDaoImpl();\n\t\tdoctorDao = new DoctorDaoImpl();\n\t\tDoctor d = new Doctor();\n\t\t\n\t\td.setName(doctorAddView.getJtf1().getText());\n\t\td.setSex(doctorAddView.getJtf2().getText());\n\t\td.setLevel(doctorAddView.getJtf3().getText());\n\t\td.setWorkWhere(doctorAddView.getJtf4().getText());\n\t\td.setGoodAt(doctorAddView.getJtf5().getText());\n\t\t//d.setBelongRoom(1);\n\t\t\n\t\td.setBelongRoom(roomDao.getRoomByRoomName(doctorAddView.getJtf6().getText()).getId());\n\t\t\n\t\td.setLoginPassWord(doctorAddView.getJtf7().getText());\n\t\t\n\t\td.setId(doctorDao.listDoctor().size()+1);\n\t\td.setLoginName(doctorAddView.getJtf1().getText());\n\t\td.setTime(\"周一至周五\");\n\t\t\n\t\tif(e.getSource()==doctorAddView.getRegisterBtn()) {\n\t\t\tdoctorDao.insertDoctor(d);\n\t\t\tJOptionPane.showMessageDialog(doctorAddView,\"添加医生信息成功\");\n\t\t}else if(e.getSource()==doctorAddView.getCancelBtn()) {\n\t\t\tdoctorAddView.dispose();\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "749d92a6a54decd298ab1c2633014dd6", "score": "0.49512342", "text": "public Attendence(){\n initComponents();\n }", "title": "" }, { "docid": "e5f7b5b161fa6fd893922152f3d864e0", "score": "0.49423137", "text": "@Override\n public void actionPerformed(ActionEvent ae) {\n String id = gui.getjTextField6().getText();\n String title = gui.getjTextField1().getText();\n int number_available_places = Integer.parseInt(gui.getjTextField2().getText());\n String desc = gui.getjTextField3().getText();\n String start_date = gui.getjTextField4().getText();\n String end_date = gui.getjTextField5().getText();\n if (id.isEmpty() || title.isEmpty() || gui.getjTextField2().getText().isEmpty() || desc.isEmpty() || start_date.isEmpty() || end_date.isEmpty()) {\n JOptionPane.showMessageDialog(null, \"please fill the fields\", null, JOptionPane.ERROR_MESSAGE);\n } else {\n Entertainment_Event ee = new Entertainment_Event(id, title, number_available_places, desc, start_date, end_date);\n DB d = new DB();\n d.add_entertanment_Event(ee);\n }\n\n }", "title": "" }, { "docid": "d801c3ab1ee77ec371fa7f9facbdc3ec", "score": "0.493891", "text": "@OnClick(R.id.linlaMyAppointments) void showUserAppointments() {\n Intent intent = new Intent(getActivity(), UserAppointments.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "7d5eda0a7537ee80d1d576f64f763bf4", "score": "0.49362585", "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 jScrollPane1 = new javax.swing.JScrollPane();\n jTable1 = new javax.swing.JTable();\n course = new javax.swing.JComboBox<>();\n jButton1 = new javax.swing.JButton();\n studName = new javax.swing.JTextField();\n studIntake = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n studID = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Attendace Record\"));\n jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"Date\", \"Start Time\", \"End Time\", \"Status\"\n }\n ));\n jScrollPane1.setViewportView(jTable1);\n\n jPanel1.add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 30, 520, 580));\n\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 30, 570, 630));\n\n course.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n getContentPane().add(course, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 310, 180, -1));\n\n jButton1.setText(\"View\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 390, -1, -1));\n\n studName.setEditable(false);\n getContentPane().add(studName, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 180, 200, 30));\n\n studIntake.setEditable(false);\n getContentPane().add(studIntake, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 240, 200, 30));\n\n jLabel1.setText(\"Student ID\");\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 120, -1, -1));\n\n jLabel2.setText(\"Intake\");\n getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 250, -1, -1));\n\n jLabel3.setText(\"Module\");\n getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 310, -1, -1));\n\n studID.setEditable(false);\n getContentPane().add(studID, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 110, 200, 30));\n\n jLabel4.setText(\"Name\");\n getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 190, -1, -1));\n\n pack();\n }", "title": "" }, { "docid": "dd63a305c72987a28aee49cfaaf6f997", "score": "0.49338546", "text": "private JPanel consultationForm() {\r\n\t\tJPanel consultationpanel = new JPanel();\r\n\t\tJLabel lblpatientid = new JLabel(\"Patient's Username\");\r\n\t\tlblpatientid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lblstaffid = new JLabel(\" Staff's Username\");\r\n\t\tlblstaffid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lblsubject = new JLabel(\" Subject\");\r\n\t\tlblsubject.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbldateBooked = new JLabel(\" Date Booked\");\r\n\t\tlbldateBooked.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbldate = new JLabel(\" Date\");\r\n\t\tlbldate.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbltime = new JLabel(\" Time\");\r\n\t\tlbltime.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tJLabel lbltreatmentid = new JLabel(\" Treatment ID\");\r\n\t\tlbltreatmentid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tfinal JTextField patientid = new JTextField(15);\r\n\t\tfinal JTextField staffid = new JTextField(15);\r\n\t\tfinal JTextField subject = new JTextField(15);\r\n\t\tfinal JDateChooser dateBooked = new JDateChooser();\r\n\t\tdateBooked.setDateFormatString(\"yyyy-MM-dd\");\r\n\t\tfinal JDateChooser date = new JDateChooser();\r\n\t\tdate.setDateFormatString(\"yyyy-MM-dd\");\r\n\t\tfinal JTextField time = new JTextField(15);\r\n\t\tfinal JTextField treatmentid = new JTextField(15);\r\n\t\tJButton addConsultation = new JButton(\"Add\");\r\n\t\tconsultationpanel.add(lblpatientid);\r\n\t\tconsultationpanel.add(patientid);\r\n\t\tconsultationpanel.add(lblstaffid);\r\n\t\tconsultationpanel.add(staffid);\r\n\t\tconsultationpanel.add(lblsubject);\r\n\t\tconsultationpanel.add(subject);\r\n\t\tconsultationpanel.add(lbldateBooked);\r\n\t\tconsultationpanel.add(dateBooked);\r\n\t\tconsultationpanel.add(lbldate);\r\n\t\tconsultationpanel.add(date);\r\n\t\tconsultationpanel.add(lbltime);\r\n\t\tconsultationpanel.add(time);\r\n\t\tconsultationpanel.add(lbltreatmentid);\r\n\t\tconsultationpanel.add(treatmentid);\r\n\t\tconsultationpanel.add(addConsultation);\r\n\t\taddConsultation.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// Send data to server\r\n\t\t\t\t\tout.println(\"addConsultation\");\r\n\t\t\t\t\tout.println(patientid.getText());\r\n\t\t\t\t\tout.println(staffid.getText());\r\n\t\t\t\t\tout.println(subject.getText());\r\n\t\t\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n\t\t\t\t\tout.println(dateFormat.format(dateBooked.getDate()));\r\n\t\t\t\t\tout.println(dateFormat.format(date.getDate()));\r\n\t\t\t\t\tout.println(time.getText());\r\n\t\t\t\t\tout.println(treatmentid.getText());\r\n\t\t\t\t\t// Get data from server\r\n\t\t\t\t\tif ((messageFromServer = in.readLine()) != null) {\r\n\t\t\t\t\t\tSystem.out.println(messageFromServer);\r\n\t\t\t\t\t\tgetContentPane().removeAll();\r\n\t\t\t\t\t\t// Successful addition\r\n\t\t\t\t\t\tif (messageFromServer.equals(\"consultationAdded\")) {\r\n\t\t\t\t\t\t\tJLabel message = new JLabel(\"You have successfully added the consultation!\");\r\n\t\t\t\t\t\t\tmessage.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\t\t\t\t\tmessage.setForeground(Color.blue);\r\n\t\t\t\t\t\t\tmessage.setBounds(380, 380, 350, 50);\r\n\t\t\t\t\t\t\tgetContentPane().add(consultationForm());\r\n\t\t\t\t\t\t\tgetContentPane().add(message);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\trevalidate();\r\n\t\t\t\t\t\trepaint();\r\n\t\t\t\t\t\tpack();\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception er) {\r\n\t\t\t\t\tSystem.out.println(\"Exception: consultationForm\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tconsultationpanel.setBounds(350, 150, 350, 220);\r\n\t\tconsultationpanel.setOpaque(false);\r\n\t\tconsultationpanel.setBorder(BorderFactory.createLineBorder(Color.black));\r\n\t\treturn consultationpanel;\r\n\t}", "title": "" }, { "docid": "6666beeb2310edfd3ec212ea5fe170fa", "score": "0.49293205", "text": "public FormInicio() {\n initComponents(); \n Ambito a=new Ambito(-1,0);\n TSH.lista_ambitos.add(a);\n }", "title": "" }, { "docid": "c1849ff394fc888ee05ea0a2d775af15", "score": "0.49289003", "text": "public ArrayList<Appointment> getAppointments() {\n ArrayList<Appointment> appointments = null;\n try {\n String sqlQuary = \"select Appointment._id,Appointment.GpName,Appointment.Date,Appointment.Time,Appointment.DateTime from Appointment where Appointment.userName= '\" + LoginActivity.userName + \"' ORDER BY datetime(DateTime) ASC\";\n open();\n Cursor cursor = db.rawQuery(sqlQuary, null);\n appointments = new ArrayList<Appointment>();\n\n if (cursor.moveToFirst()) {\n\n do {\n //create new object from Appointment Model class to hold the new data\n Appointment newappointment = new Appointment();\n\n newappointment.setID(cursor.getInt(0));\n newappointment.setGpName(cursor.getString(1));\n newappointment.setAppointmentDate(cursor.getString(2));\n newappointment.setAppointmentTime(cursor.getString(3));\n newappointment.setAppointmentDateTime(cursor.getString(4));\n\n appointments.add(newappointment);\n\n\n } while (cursor.moveToNext());\n cursor.close();\n close();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return appointments;\n }", "title": "" }, { "docid": "9d1b89b3611a4af96698038d8535e437", "score": "0.4922842", "text": "public void AC_Show_Courses() {\n ArrayList<CoursesList> list = CoursesList();\n DefaultTableModel model = (DefaultTableModel)SC_Current_Courses_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getClassID();\n row[1]=list.get(i).getCourseNo();\n row[2]=list.get(i).getCourseDescription();\n row[3]=list.get(i).getRoomNo();\n row[4]=list.get(i).getInstructorName();\n row[5]=list.get(i).getDaysTime();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "277a5b77ecaa6ec3c4c81f784826f88d", "score": "0.4915601", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n SimpleDateFormat formatter2=new SimpleDateFormat(\"dd-MM-yyyy\");\n Date in = null;\n try {\n in = formatter2.parse(\"01-01-2000\");\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n\n }\n try {\n in = formatter2.parse(t1.getText());\n l1.setText(\"Input Date\");\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n l1.setText(\"Enter a valid date \");\n }\n ArrayList<Patient> list = new ArrayList<Patient>();\n try {\n list.add(new Patient(\"Flora\",6, \"A\",\"01-04-2020\",\"23-04-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Denys\",24, \"B\",\"01-04-2020\",\"23-04-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Jim\",42, \"C\",\"18-05-2020\",\"09-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Hazel\",87, \"D\",\"23-06-2020\",\"15-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Caery\",72, \"A\",\"01-06-2020\",\"23-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"David\",7, \"B\",\"14-06-2020\",\"06-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Kevim\",37, \"D\",\"05-06-2020\",\"27-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Tom\",67, \"D\",\"20-06-2020\",\"12-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Bob\",74, \"A\",\"04-07-2020\",\"26-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Rachel\",48, \"C\",\"24-07-2020\",\"15-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Thomas\",21, \"C\",\"11-06-2020\",\"03-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Mary\",17, \"D\",\"21-06-2020\",\"13-07-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Smith\",89, \"A\",\"07-08-2020\",\"29-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Pearson\",47, \"B\",\"04-06-2020\",\"26-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Anderson\",62, \"B\",\"27-07-2020\",\"18-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Johnson\",10, \"D\",\"01-08-2020\",\"23-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Robertz\",50, \"A\",\"09-08-2020\",\"31-08-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Julie\",86, \"B\",\"02-05-2020\",\"27-05-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"Edith\",42, \"D\",\"07-06-2020\",\"29-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n try {\n list.add(new Patient(\"John\",95, \"D\",\"01-06-2020\",\"23-06-2020\"));\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n\n// SimpleDateFormat formatter2=new SimpleDateFormat(\"dd-MM-yyyy\");\n\n\n try {\n Date inputDate = formatter2.parse(t1.getText());\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n// inputDate.compareTo(list.get(0).doa);\n\n ArrayList<String> selectedTowers = new ArrayList<String>();\n if(ta.isSelected())\n selectedTowers.add(\"A\");\n if(tb.isSelected())\n selectedTowers.add(\"B\");\n if(tc.isSelected())\n selectedTowers.add(\"C\");\n if(td.isSelected())\n selectedTowers.add(\"D\");\n\n if(selectedTowers.size()==0 ){\n l3.setText(\"(Please Choose a Tower)\");\n }\n\n else{\n\n\n\n\n ArrayList<ArrayList<String>> arr = new ArrayList<ArrayList<String>>();\n for(int i = 0; i < list.size();i++){\n// long diffInMillies = Math.abs(in.getTime() - list.get(i).doa.getTime());\n// long diff = TimeUnit.DAYS.convert(diffInMillies, TimeUnit.MILLISECONDS);\n for(int j =0 ; j < selectedTowers.size();j++){\n if (list.get(i).tower == selectedTowers.get(j)) {\n\n\n\n if(in.compareTo(list.get(i).doa)>=0 && in.compareTo(list.get(i).dor)<0){\n\n String status = \"Active\";\n\n\n arr.add(new ArrayList<String>());\n arr.get(arr.size() -1).add(list.get(i).name);\n arr.get(arr.size() -1).add(list.get(i).age+\"\");\n arr.get(arr.size() -1).add(list.get(i).tower);\n arr.get(arr.size() -1).add(list.get(i).doas);\n arr.get(arr.size() -1).add(list.get(i).dors);\n arr.get(arr.size() -1).add(status);\n\n// active.replace(arr.get(arr.size() -1).get(i),active.get(arr.get(arr.size() -1).get(i))+1) ;\n\n }\n if(in.compareTo(list.get(i).dor)>=0) {\n String status = \"Recovered\";\n arr.add(new ArrayList<String>());\n arr.get(arr.size() - 1).add(list.get(i).name);\n arr.get(arr.size() - 1).add(list.get(i).age + \"\");\n arr.get(arr.size() - 1).add(list.get(i).tower);\n arr.get(arr.size() - 1).add(list.get(i).doas);\n arr.get(arr.size() - 1).add(list.get(i).dors);\n arr.get(arr.size() - 1).add(status);\n\n// recovered.replace(arr.get(arr.size() -1).get(i),recovered.get(arr.get(arr.size() -1).get(i))+1) ;\n }\n }}\n }\n Date start = null;\n\n try {\n start = formatter2.parse(\"01-04-2020\");\n } catch (ParseException parseException) {\n parseException.printStackTrace();\n }\n\n if(l1.getText()!=\"Enter a valid date \")\n new finalresult(arr);\n\n }}", "title": "" }, { "docid": "4a9db90f5d0345bd52bff85850354b22", "score": "0.49132794", "text": "private void buttonMedicationHisFormActionPerformed(java.awt.event.ActionEvent evt) {\n MedicationHistory form = new MedicationHistory(getCurrentPatientID());\n form.setVisible(true);\n this.setVisible(false);\n }", "title": "" }, { "docid": "465c17fef19af4530bdcdf80de92fa4d", "score": "0.49104065", "text": "public void addAllTradeEnrollment() {\n btnAddAllTradeEnrollment.click();\n }", "title": "" }, { "docid": "29f2d8d2c55c5ee021a32842c68cef7e", "score": "0.4904523", "text": "public FormAsistencias() {\n initComponents();\n this.configTable();\n this.mostrarTable();\n }", "title": "" }, { "docid": "a6604df5ed538a7d2875cc3aaaedf06e", "score": "0.49038297", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n getActivity().setTitle(\"Attendance\");\n\n\n View view = inflater.inflate(R.layout.fragment_attendance, container, false);\n\n attendanceRecycler = view.findViewById(R.id.attendanceRecyclerView);\n attendanceRecyclerAdapter = new attendanceRecyclerAdapter(attendanceList, getContext());\n sessionManager = new SessionManager(getActivity());\n RecyclerView.LayoutManager leavesLayoutManager = new LinearLayoutManager(getActivity().getApplicationContext());\n attendanceRecycler.setLayoutManager(leavesLayoutManager);\n attendanceRecycler.setItemAnimator(new DefaultItemAnimator());\n attendanceRecycler.setAdapter(attendanceRecyclerAdapter);\n attendanceRecycler.addItemDecoration(new DividerItemDecoration(getActivity(), LinearLayoutManager.VERTICAL));\n attendanceCalendarView = view.findViewById(R.id.attendanceCalendarView);\n imageView = view.findViewById(R.id.attendanceImageView);\n\n pd = new ProgressDialog(getActivity());\n pd.setMessage(\"loading\");\n pd.setCancelable(false);\n\n\n Calendar c = Calendar.getInstance();\n int year = c.get(Calendar.YEAR);\n int month = c.get(Calendar.MONTH);\n\n\n\n\n attendanceCalendarView.setOnDateChangedListener(new OnDateSelectedListener() {\n @Override\n public void onDateSelected(@NonNull MaterialCalendarView widget, @NonNull CalendarDay date, boolean selected) {\n Integer month = date.getMonth() + 1;\n Integer year = date.getYear();\n Integer dte = date.getDay();\n String formattedDate = year + \"-\" + month + \"-\" + dte;\n prepareAttendanceData();\n }\n });\n\n\n attendanceCalendarView.setOnMonthChangedListener(new OnMonthChangedListener() {\n @Override\n public void onMonthChanged(MaterialCalendarView widget, CalendarDay date) {\n Integer month = date.getMonth() + 1;\n Integer year = date.getYear();\n getMonthlyAttendance(month, year);\n }\n });\n\n String temp = String.format(\"%02d\", month + 1);\n\n getMonthlyAttendance(Integer.parseInt(temp), year);\n\n prepareAttendanceData();\n\n\n return view;\n }", "title": "" }, { "docid": "a81384cebc5de8af6c6c774388d7cfb2", "score": "0.4903055", "text": "public void clickCreateEvent(View view) throws java.text.ParseException {\r\n\t\t//validate data\r\n\t\tif(ValidateShowEntry()) {\r\n\t\t\tShowDAO showDAO = null;\r\n\t\t\ttry {\r\n\t\t\t\t//create a show DAO\r\n\t\t\t\tshowDAO = new ShowDAO();\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t\t\tToast.makeText(this, \"The error is occurred.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t\t//add it in ShowEvent class\r\n\t\t\tShow showEvent = new Show();\r\n\t\t\t\r\n\t\t\tshowEvent.setName(((EditText)findViewById(R.id.editTitle)).getText().toString().trim());\r\n\t\t\t\t\t\r\n\t\t\tString date = ((EditText)findViewById(R.id.editDate)).getText().toString().trim();\r\n\t\t\tString time = ((EditText)findViewById(R.id.editTime)).getText().toString().trim();\r\n\t\t\t\r\n\t\t\tSimpleDateFormat tempFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\r\n\t\t\tDate showDate = tempFormat.parse(date + \" \" + time);\r\n\r\n\t\t\tshowEvent.setDate(showDate);\r\n\t\t\t\r\n\t\t\tint genre = ((Spinner) findViewById(R.id.spinnerGenre)).getSelectedItemPosition();\r\n\t\t\tshowEvent.setGenre(genre);\r\n\t\t\t\r\n\t\t\tint locationID = SaveShowLocation(((EditText)findViewById(R.id.editLocation)).getText().toString().trim(), ((EditText)findViewById(R.id.editAddress)).getText().toString().trim());\r\n\t\t\tif(locationID > -1) {\r\n\t\t\t\tshowEvent.setLocationID(locationID);\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tshowEvent.setBands(SelectedBands);\r\n\r\n\t\t\t\r\n\t\t\tshowEvent.setCost(((EditText)findViewById(R.id.editPrice)).getText().toString().trim());\r\n//\t\t\tshowEvent.setContactEmail(((EditText)findViewById(R.id.editEmail)).getText().toString().trim());\r\n//\t\t\tshowEvent.setContactPhone(((EditText)findViewById(R.id.editPhone)).getText().toString().trim());\r\n//\t\t\tshowEvent.setWebSite(((EditText)findViewById(R.id.editWebsite)).getText().toString().trim());\r\n\t\t\tshowEvent.setDescription(((EditText)findViewById(R.id.editDescription)).getText().toString().trim());\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\t//insert a record to database\r\n\t\r\n\t\t\t\tshowEvent.setShowID(showDAO.create(showEvent));\r\n\t\t\t\t\r\n\t\t\t\tToast.makeText(this, \"Created a New Show\", Toast.LENGTH_SHORT).show();\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\t\r\n\t\t\t\tToast.makeText(this, \"Error while creating show.\", Toast.LENGTH_SHORT).show();\r\n\t\t\t}\r\n\t\t\t\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ca99ad610581c47d738d8f80409dfcb9", "score": "0.4887239", "text": "private void actionNewEvent() {\n final Event newEvent = new Event();\n final Calendar cal = Calendar.getInstance();\n\n // Build new event dialog\n AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getContext());\n LayoutInflater inflater = this.getLayoutInflater();\n final View dialogView = inflater.inflate(R.layout.dialog_event_new, null);\n dialogBuilder.setView(dialogView);\n dialogBuilder.setTitle(R.string.title_new_event);\n\n // Define fields\n final EditText event_name_edit = dialogView.findViewById(R.id.event_name_edit);\n final Spinner event_type_spinner = dialogView.findViewById(R.id.event_type_spinner);\n final Spinner event_course_spinner = dialogView.findViewById(R.id.event_course_spinner);\n final TextView event_date_pick = dialogView.findViewById(R.id.event_date_pick);\n event_date_pick.setVisibility(View.GONE);\n final Spinner event_alarm_spinner = dialogView.findViewById(R.id.event_alarm_spinner);\n final TextView event_time_pick = dialogView.findViewById(R.id.event_time_pick);\n\n // Type\n event_type_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String type = parent.getItemAtPosition(position).toString();\n\n // Set type\n newEvent.setType(type);\n\n Log.d(TAG, \"onItemSelected: Type selected: \" + type);\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n\n }\n });\n\n // Course\n if (mDatabase.courseNames.isEmpty()) {\n event_course_spinner.setVisibility(View.GONE);\n\n newEvent.setCourseName(\"Undefined\");\n }\n else {\n // Set adapter\n event_course_spinner.setAdapter(mDatabase.courseNamesAdapter);\n\n // Set listener\n event_course_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String courseName = parent.getItemAtPosition(position).toString();\n\n // Set course\n newEvent.setCourseName(courseName);\n\n Log.d(TAG, \"onItemSelected: Course selected: \" + courseName);\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n\n }\n });\n }\n\n // Alarm\n event_alarm_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String alarm = parent.getItemAtPosition(position).toString();\n\n // Set alarm\n newEvent.setAlarm(alarm);\n\n Log.d(TAG, \"onItemSelected: Alarm selected: \" + alarm);\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n\n }\n });\n\n // Time\n event_time_pick.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n // Build time picker\n TimePickerDialog time_picker = new TimePickerDialog(getContext(),\n new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker view, int hour, int minute) {\n // Format time\n String time;\n if (hour < 10 && minute < 10) {\n time = \"0\" + hour + \":0\" + minute;\n }\n else if (hour < 10) {\n time = \"0\" + hour + \":\" + minute;\n }\n else if (minute < 10) {\n time = \"\" + hour + \":0\" + minute;\n }\n else {\n time = \"\" + hour + \":\" + minute;\n }\n\n // Set time\n newEvent.setTime(time);\n\n // Preview time\n event_time_pick.setText(time);\n\n Log.d(TAG, \"onTimeSet: Time set: \" + time);\n }\n },\n cal.get(Calendar.HOUR_OF_DAY), cal.get(Calendar.MINUTE), true);\n\n // Show time picker\n time_picker.getWindow();\n time_picker.show();\n }\n });\n\n // Define responses\n dialogBuilder.setPositiveButton(\"Done\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n // Set name\n String name = event_name_edit.getText().toString().trim();\n if (name.isEmpty()) {\n newEvent.setName(\"New event\");\n }\n else {\n newEvent.setName(name);\n }\n\n // Set date\n newEvent.setDate(mDate);\n\n // Add event\n mDatabase.addEvent(newEvent);\n }\n });\n dialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n // TODO: Cancel\n }\n });\n\n // Show new event dialog\n AlertDialog eventDialog = dialogBuilder.create();\n eventDialog.show();\n }", "title": "" }, { "docid": "1b7fd5c64610bbff95d7832356cd3234", "score": "0.48867607", "text": "private void chooseAppointment() {\n schedule = doctorDataController.getData(doctor.getAfm());\n\n }", "title": "" }, { "docid": "5e50386f34925f3f567c9db93a3515a8", "score": "0.48785675", "text": "@OneToMany(\n mappedBy = \"event\",\n cascade = CascadeType.ALL,\n orphanRemoval = true\n )\n public List<Attendance> getAttendances() {\n return attendances;\n }", "title": "" }, { "docid": "9d37aa3260dcc353b1ed5b0549fc3872", "score": "0.48725706", "text": "@RequestMapping(\"/showForm\")\r\n\tpublic String showForm(Model theModel) {\n\t\tStudent theStudent = new Student();\t\t\r\n\t\t\r\n\t\t//add student object to the model\r\n\t\ttheModel.addAttribute(\"student\", theStudent);\r\n\t\t\r\n\t\tSystem.out.println(\"*****student/showForm method\");\r\n\t\t\r\n\t\treturn \"studentForm\";\r\n\t}", "title": "" }, { "docid": "ce8603740105018aa53e578606c9dbdd", "score": "0.4871431", "text": "public ChooseAppointment() {\n initComponents();\n }", "title": "" }, { "docid": "e87c7c1358cde68090dc8eab6368cae3", "score": "0.48690063", "text": "public String btnAll_action() {\n try {\n if(isEntryValidForAll()){\n lstMainDepartment.setValue(null);\n lstMainDepartment.setDisabled(true);\n btnFilter.setDisabled(true);\n getReadAvailableDepartments().clear();\n populateAllRequesterDtaeofBirth();\n populateAllretireTableComponents(calculatedAllDate);\n }\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "2faca61b07c0df1556bee05ded3dfff4", "score": "0.48670807", "text": "public void SC_Show_RegisteredCourses() {\n ArrayList<StudentRegisteredCourses> list = SC_StudentRegisteredCourses();\n DefaultTableModel model = (DefaultTableModel)SC_Student_Courses_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getClassID();\n row[1]=list.get(i).getCourseNo();\n row[2]=list.get(i).getCourseDescription();\n row[3]=list.get(i).getRoomNo();\n row[4]=list.get(i).getInstructorName();\n row[5]=list.get(i).getDaysTime();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "dcb216b4ffea4a6b2403ced91abe1304", "score": "0.4860891", "text": "@RequestMapping(method = RequestMethod.GET)\r\n\tpublic String showForm(ModelMap model){\r\n\t model.put(\"tables\", tableList);\r\n\t\tGenericUpdationForm form = new GenericUpdationForm();\r\n\t\tmodel.addAttribute(\"CSV_UPLOAD_FORM\", form);\r\n\t\treturn \"genericutil\";\r\n\t}", "title": "" }, { "docid": "897a757fa45ca5945d7fb1ee30c22b27", "score": "0.4856165", "text": "@GetMapping(\"/addPatient\")\n public String addPatient(Model model) {\n model.addAttribute(\"patient\", new PatientFormBackingObject());\n model.addAttribute(\"doctors\", doctorService.getAllDoctors());\n model.addAttribute(\"wards\", wardService.getAllWards());\n return \"Doctor/addPatient\";\n }", "title": "" }, { "docid": "0ba3baecb1e53a428817584d8f127d9f", "score": "0.48549852", "text": "public void tablelord()\n {\n try {\n String sqll = \"SELECT * FROM gym.attendance where date = '\"+datee+\"' ORDER BY id DESC\";\n pst=(PreparedStatement) con.prepareStatement(sqll);\n rs=pst.executeQuery();\n DefaultTableModel model =(DefaultTableModel)tdetails.getModel(); \n model.setRowCount(0);\n int x = 1;\n while (rs.next())\n {\n Object row[] = {\n rs.getString(\"serial\"),\n rs.getString(\"name\"),\n rs.getString(\"sport\"),\n rs.getString(\"fulldate\")\n };\n model.addRow(row);\n x++;\n \n }\n if(x>=11)\n {\n }\n else\n {\n for(int z = x ;z<13;z++)\n {\n Object rowData[] = {\n \"\", \"\", \"\",\"\",\"\",\n };\n model.addRow(rowData);\n }\n }\n }\n catch (SQLException ex) {\n \n }\n }", "title": "" }, { "docid": "5367cdfec89b68ff95f1496ebe3c9507", "score": "0.48448932", "text": "public frm_adm_tutor_info_asigna_eje_aca() {\n }", "title": "" }, { "docid": "1d4dce224eb00b7170075662802c77c0", "score": "0.4843564", "text": "public void createNewEvent(View v) {\n Intent intent = new Intent(this, CreateNewEventActivity.class);\n startActivity(intent);\n\n\n\n }", "title": "" }, { "docid": "fd2c265c5f760ae46d12982074f085d7", "score": "0.48400226", "text": "public Agenda(){\r\n\t\tappointments = new ArrayList<Appointment>();\r\n\t}", "title": "" }, { "docid": "35c5ecdd99d46723de193928c1569c41", "score": "0.4837684", "text": "private void createAllObjects() {\n\t\tcheckSubmition = (ImageButton) findViewById(R.id.Bsubmit);\n\t\tdisplaySubmit = (TextView) findViewById(R.id.msgSubmit);\n\t\tTweight = (EditText) findViewById(R.id.CommandWeight);\n\t\tTheight = (EditText) findViewById(R.id.CommandHeigh);\n\t\tsetCurrentDateOnView();\n\t}", "title": "" }, { "docid": "03f3a5662d85a6edb741967508ce1248", "score": "0.48354903", "text": "public ViewAccountant() {\n initComponents();\n setLocationRelativeTo(null);\n\n fillEntries();\n }", "title": "" }, { "docid": "f842d7ac59190e42c15773799e840206", "score": "0.48310855", "text": "public void actionPerformed(ActionEvent arg0) {\n\t\t\t\tList<Employee> employees = fachada.searchAll();\n//\t\t\t\tString cols[] = {\"Matrícula\", \"Nome\", \"PIS\", \"CPF\", \n//\t\t\t\t\t\t\"Função\", \"Cód Depto\", \"Depto\", \n//\t\t\t\t\t\t\"UF\", \"Data Admissão\", \"Data Nasc.\" };\n//\n//\t\t\t\tDefaultTableModel tableModel = new DefaultTableModel(cols, 0);\n//\t\t\t\temployeeTable.setModel(tableModel);\n//\n//\t\t\t\t//Object[] objs = {1, \"Arsenal\", 35, 11, 2, 2, 15, 30, 11, 19};\n//\t\t\t\tfor (Employee emp : employees){\n//\t\t\t\t\tObject[] row = {\n//\t\t\t\t\t\t\temp.getMatriculation(), \n//\t\t\t\t\t\t\temp.getName(),\n//\t\t\t\t\t\t\temp.getPis(),\n//\t\t\t\t\t\t\temp.getCpf(),\n//\t\t\t\t\t\t\temp.getFunction().getName(),\n//\t\t\t\t\t\t\temp.getWorkplace().getCode(),\n//\t\t\t\t\t\t\temp.getWorkplace().getName(),\n//\t\t\t\t\t\t\temp.getState().getAbbrev(),\n//\t\t\t\t\t\t\tformat1.format(emp.getAdmissionDate().getTime()),\n//\t\t\t\t\t\t\tformat1.format(emp.getBirthday().getTime())};\n//\t\t\t\t\ttableModel.addRow(row);\n//\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//String cols[] = {\"Matrícula\", \"Nome\", \"ID_SOLL\" };\n\t\t\t\tString cols[] = {\"Nome\", \"ID_SOLL\" };\n\t\t\t\t\n\t\t\t\tDefaultTableModel tableModel = new DefaultTableModel(cols, 0);\n\t\t\t\temployeeTable.setModel(tableModel);\n\n\t\t\t\t//Object[] objs = {1, \"Arsenal\", 35, 11, 2, 2, 15, 30, 11, 19};\n\t\t\t\tfor (Employee emp : employees){\n\t\t\t\t\tObject[] row = {\n\t\t\t\t\t\t\t//emp.getMatriculation(),\n\t\t\t\t\t\t\temp.getName(),\n\t\t\t\t\t\t\temp.getIdSoll()\n\t\t\t\t\t\t\t};\n\t\t\t\t\ttableModel.addRow(row);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tCardLayout c = (CardLayout)contentPane.getLayout();\n\t\t\t\tc.show(contentPane, \"employeesList\");\n\t\t\t}", "title": "" }, { "docid": "0264fe0b5b58161c9800ce642cb86db1", "score": "0.48297042", "text": "@RequestMapping(value=\"/showAxEmp\")\r\n\tpublic String showAllRec(ModelMap map){\r\n\t\tList<AxEmployee> axemplist = service.getAllAxEmployee();\r\n\t\tmap.addAttribute(\"listobjAxEmp\", axemplist);\r\n\t\treturn \"AxEmployeeData\";\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f365e1d5489a319b732e758441f59939", "score": "0.4826878", "text": "public void displayAll(){\r\n Object [] row = new Object[3];\r\n row[0] = regmem.generateMemberID(tablemembers);\r\n row[1] = nameTextField.getText();\r\n row[2] = p_numTextField.getText();\r\n \r\n model.addRow(row);\r\n regmem.saveToFile(tablemembers);\r\n }", "title": "" }, { "docid": "b9075ab266f3308cd7d404aee35cf54c", "score": "0.48219743", "text": "public static void populateAppointments() {\n\t\ttry {\n\t\t\t//Create a query to use in a PreparedStatement\n\t\t\t\t//Will find all appointments\n\t\t\tString query = \"select * from appointments\";\n\t\t\t//Execute the query with the associated database connection\n\t\t\tPreparedStatement pst = sqliteConnection.connAppointment.prepareStatement(query);\n\t\t\t//Results of the PreparedStatement\n\t\t\tResultSet rs = pst.executeQuery();\n\t\t\t//Populate the table with this ResultSet\n\t\t\tAdvisingAppointment.table.setModel(DbUtils.resultSetToTableModel(rs));\n\t\t\t//Close the data reception from the database\n\t\t\trs.close();\n\t\t\tpst.close();\n\t\t} catch (Exception e) {\n\t\t\tJOptionPane.showMessageDialog(null, e);\n\t\t}\n\t}", "title": "" }, { "docid": "b7269ed806310c76976ac6caa1f1d66e", "score": "0.4817533", "text": "void onSubmitDetails(AttendanceDetails attendanceDetails);", "title": "" }, { "docid": "09b3162fb5ad7216f83fa298126b1a4e", "score": "0.48133546", "text": "List<ShowCandidateDTO> getListOfScheduleInterview();", "title": "" }, { "docid": "b77504e399b280166f6c1ace53e49914", "score": "0.48072323", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n\n View rootView = inflater.inflate(R.layout.fragment_show_attendance_detail, container, false);\n Bundle bundle = getArguments();\n if(bundle!=null){\n if(bundle.containsKey(Constants.BundelKays.ATTENDANCE_DATA)) {\n attendanceData = bundle.getParcelable(Constants.BundelKays.ATTENDANCE_DATA);\n }\n }\n\n onAttendanceActionListener = this;\n\n return rootView;\n }", "title": "" }, { "docid": "e0124b522577b42a084de1b0b78dd7ee", "score": "0.48070884", "text": "List<CalServiceRequestForm> selectAll();", "title": "" }, { "docid": "6b25e442ae742fd5d6c4273c4dfca140", "score": "0.47985718", "text": "public void displayAllHandler(ActionEvent actionEvent) throws SQLException {\r\n showAll = true;\r\n showMonth = false;\r\n showWeek = false;\r\n apptsMsg.setText(\"\");\r\n getAllAppointments();\r\n }", "title": "" }, { "docid": "c91a2565c2d7b609ed83f303ce71c16b", "score": "0.47982728", "text": "public String goToCreateAppointment() {\n return \"createEditAppointment\";\n }", "title": "" }, { "docid": "1435261708d357763b8ad3ce82536427", "score": "0.47956333", "text": "public void addAttendance(Attendance attendance) {\r\n attendance.setStudent(this);\r\n this.attendance.add(attendance);\r\n }", "title": "" }, { "docid": "110f2352a93ca0bdc9ddb7a13f6f7141", "score": "0.47865674", "text": "private void buscar() {\n idActividad = \"\";\n lblActividad.setText(\"\");\n listActividad = frmPrincipal.oNegocioDao.getBuscarActividad(txtActividad.getText().trim().toUpperCase());\n System.out.println(\"Datos obtenidos \" + listActividad.size());\n oActividad = new Actividades();\n for (int i = 0; 0 < tablitaActividades.getRowCount(); i++) {\n tablitaActividades.removeRow(0);\n }\n\n for (Actividades item : listActividad) {\n String[] nuevo = new String[2];\n nuevo[0] = item.getIdActividad() + \"\";\n nuevo[1] = item.getActividad();\n tablitaActividades.addRow(nuevo);\n }\n personalizarJtable();\n }", "title": "" }, { "docid": "f221989f37f15a070f78f51e7243e2f4", "score": "0.47789547", "text": "@RequestMapping(\"/appointment\")\n\tpublic String appointment(Model model) {\n\t\tList<BookingDTO> booking = bookingService.getListBooking();\n\t\tmodel.addAttribute(\"LIST_CUSTOMER\", booking);\n\t\treturn \"appointment\";\n\t}", "title": "" }, { "docid": "30b15b431fd1962a5a8bbebf5e4ee702", "score": "0.4778364", "text": "private void listMateriais(){\n DefaultTableModel tableModel = new DefaultTableModel(0,4); \n tableModel.setColumnIdentifiers(new Object[] {\"Id\",\"Nome\", \"Quantidade\", \"Custo\"});\n bdMateriais = MaterialDAO.getMateriaisByIdTarefa(localTarefa.getId());\n \n if(!bdMateriais.isEmpty()){\n for (Material m:bdMateriais){\n tableModel.addRow(new Object[]{m.getId(),m.getNome(),m.getQuantidade(),m.getCusto()});\n matForm.materiaisTable.setModel(tableModel);\n matForm.deleteButton.setEnabled(true);\n matForm.editarMatButton.setEnabled(true);\n }\n }\n else{\n matForm.deleteButton.setEnabled(false);\n matForm.editarMatButton.setEnabled(false);\n }\n }", "title": "" }, { "docid": "618dfdf1d4d800c9f5eeea71b9b65c57", "score": "0.47778496", "text": "@Override\n\tpublic List<datewiseatt> getDateWiseAttendance() {\n\t\t\n\t\tfinal String procedureCall=\"{call attendance_manager2(?,?,?,?,?,?)}\";\n\t\tConnection con=null;\n\t\t\n\t\t\t\ttry {\n\t\t\t\t\tcon=jdbcTemplate.getDataSource().getConnection();\n\t\t\t\t\tCallableStatement cs=con.prepareCall(procedureCall);\n\t\t\t\t\tcs.setString(1, \"get_sattendance\");\n\t\t\t\t\tcs.setInt(2, datewiseatt.getSid());\n\t\t\t\t\tcs.setString(3, null);\n\t\t\t\t\tcs.setDate(4, null);\n\t\t\t\t\tcs.setInt(5, 0);\n\t\t\t\t\tcs.setInt(6, datewiseatt.getCid());\n\t\t\t\t\tResultSet rs=cs.executeQuery();\n\t\t\t\t\tList<datewiseatt> l=new ArrayList<datewiseatt>();\n\t\t\t\t\twhile(rs.next())\n\t\t\t\t\t{\n\t\t\t\t\t\tdatewiseatt dt=new datewiseatt();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(rs.getInt(\"attendance\")==1)\n\t\t\t\t\t\t\tdt.setPresent(\"Present\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdt.setPresent(\"Absent\");\n\t\t\t\t\t\tjava.sql.Date d=rs.getDate(\"adate\");\n\t\t\t\t\t\tlong ms=d.getTime();\n\t\t\t\t\t\tDate ud=new Date(ms);\n\t\t\t\t\t\tdt.setD(ud);\n\t\t\t\t\t\tl.add(dt);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\treturn l;\n\t\t\t\t}\n\t\t\t\tcatch(Exception e)\n\t\t\t\t{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn null;\n\t}", "title": "" }, { "docid": "009885b1200f6500b8d85bae5fdeb106", "score": "0.47670537", "text": "public void Show_LoginHistory() {\n ArrayList<LoginHistory> list = LoginHistory();\n DefaultTableModel model = (DefaultTableModel)Login_History_Table.getModel();\n Object[] row = new Object[6];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getStudentID();\n row[1]=list.get(i).getStudentName();\n row[2]=list.get(i).getLoggedIn();\n row[3]=list.get(i).getLoggedOut();\n row[4]=list.get(i).getDate();\n row[5]=list.get(i).getIPAddress();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "8b8cc63db986606a12c3ae76795e8c5c", "score": "0.4766911", "text": "public void ADD() {\n\n int day = dp.getDayOfMonth();\n int month = dp.getMonth() + 1;\n int year = dp.getYear();\n\n String date = year + \"-\" + month + \"-\" + day;\n\n //Have to make if statement efficient attnd appearing on two places\n if (name.getText().toString().trim().length() == 0 ) {\n showMessage(\"Error\", \"Please Enter Student Name\");\n return;\n } else if (!check1) {\n showMessage(\"Error\", \"Please Select Gender\");\n return;\n }else if (std.equals(\"Select..\")) {\n showMessage(\"Error\", \"Please Select the Standard\");\n return;\n }else if (father.getText().toString().trim().length() == 0 && guardian.getText().toString().trim().length() == 0 && mother.getText().toString().trim().length() == 0) {\n showMessage(\"Error\", \"Please Enter Father/Mother/Guardian name\");\n return;\n }else if (Integer.parseInt(attnd.getText().toString().trim()) > 100 || Integer.parseInt(attnd.getText().toString().trim()) < 0) {\n showMessage(\"Error\", \"Please Enter Valid Attendance\");\n return;\n }else if (Integer.parseInt(grade.getText().toString().trim()) > 100 || Integer.parseInt(grade.getText().toString().trim()) < 0) {\n showMessage(\"Error\", \"Please Enter Valid Percentage\");\n return;\n }else {\n //If the required fields are filled then the DB is updated\n db.execSQL(\"INSERT INTO child VALUES('\" + sid + \"','\" + SchoolAddActivity.school_id + \"','\" + name.getText() + \"','\" + date + \"','\" + genderString + \"','\" + std + \"','\" + father.getText() + \"','\" + mother.getText() + \"','\" + guardian.getText() + \"','\" + attnd.getText() + \"','\" + grade.getText() + \"');\");\n showMessage(\"Success\", \"Record added\");\n changeIntent();\n }\n }", "title": "" }, { "docid": "237289293ef93f7635c999fe9fc3009a", "score": "0.4757773", "text": "public void MC_Show_Courses() {\n ArrayList<CoursesList> list = CoursesList();\n DefaultTableModel model = (DefaultTableModel)MC_Current_Courses_Table.getModel();\n Object[] row = new Object[9];\n for(int i=0;i<list.size();i++){\n row[0]=list.get(i).getClassID();\n row[1]=list.get(i).getCourseNo();\n row[2]=list.get(i).getCourseDescription();\n row[3]=list.get(i).getRoomNo();\n row[4]=list.get(i).getInstructorName();\n row[5]=list.get(i).getDaysTime();\n row[6]=list.get(i).getEndDate();\n row[7]=list.get(i).getStartDate();\n row[8]=list.get(i).getUnits();\n model.addRow(row);\n }\n }", "title": "" }, { "docid": "ec6dd0b8e81e58886eea3232690b6d8e", "score": "0.47531334", "text": "@Override\n\tpublic void add(Attendance attendance) {\n\t\tattendanceDao.add(attendance);\n\t}", "title": "" }, { "docid": "dc6c78af7e785b9aef4a9f7adc1369d2", "score": "0.473713", "text": "@RequestMapping(\"/newReservation\")\n\tpublic ModelAndView newReservation() {\n\t\tModelAndView mav = new ModelAndView();\n\t\tSimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"MM/dd/yyyy\");\n\t\tDate currentDate = Calendar.getInstance().getTime();\n\t\tString stringDate = simpleDateFormat.format(currentDate);\n\t\ttry {\n\t\t\tcurrentDate = simpleDateFormat.parse(stringDate);\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tCalendar cal = Calendar.getInstance();\n\t\t \n\t\tcal.setTime(currentDate);\n\t\tReservation reservation = new Reservation();\n\t\treservation.setArrivalDate(cal);\n\t\treservation.setNumberOfDays(1);\n\t\tCalendar cal1 = Calendar.getInstance();\n\t\tcal1.setTime(currentDate);\n\t\tcal1.add(Calendar.DATE, 1);\n\t\treservation.setDepartureDate(cal1);\n\t\tUUID idOne = UUID.randomUUID();\n\t\treservation.setFolioNumber(idOne.toString().replaceAll(\"-\", \"\").toUpperCase());\n\t\t\n\t\tMap<Integer,String> roomList = new LinkedHashMap<Integer,String>();\n\t\tSet<Room> rooms = roomDAO.findAllRooms();\n\t\tfor(Room rT : rooms){\n\t\t\troomList.put(rT.getRoomId(), rT.getRoomCategory());\n\t }\n\t\t\n\t\t\n\t\tMap<Integer,String> guestList = new LinkedHashMap<Integer,String>();\n\t\tSet<Guest> guests = guestDAO.findAllGuests();\n\t\tfor(Guest rT : guests){\n\t\t\tguestList.put(rT.getGuestId(), rT.getFirstName()+\" \"+rT.getLastName());\n\t }\n\t\t\n\t\t\n\t\tmav.addObject(\"reservation\", reservation);\n\t\tmav.addObject(\"roomList\", roomList);\n\t\tmav.addObject(\"guestList\", guestList);\n\t\tmav.addObject(\"newFlag\", true);\n\t\tmav.setViewName(\"reservation/editReservation.jsp\");\n\n\t\treturn mav;\n\t}", "title": "" }, { "docid": "bfd4cfe761b1bd3a4670657ae777330a", "score": "0.4736896", "text": "private void getAllRecordForPatient(Integer appointmentId) {\n try {\n PaymentsDAOImpl paymentsDAOImpl = new PaymentsDAOImpl();\n ResultSet operationRecord = paymentsDAOImpl.getPatientOperationRecordByAppointmentId(appointmentId);\n ResultSet testRecord = paymentsDAOImpl.getPatientTestByAppointmentId(appointmentId);\n ResultSet roomRecord = paymentsDAOImpl.getPatientRoomRecordByAppointmentId(appointmentId);\n ResultSet doctorFees = paymentsDAOImpl.getDoctorFeesByAppointmentId(appointmentId);\n while (doctorFees.next()) {\n patientRecordTextArea.append(\"Appointment ID :\" + \"\\t\" + doctorFees.getString(\"Appointment ID\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Appointment Date :\" + \"\\t\" + doctorFees.getTimestamp(\"Appointment Date\").toString() + \"\\n\\n\");\n patientRecordTextArea.append(\"Patient Name :\" + \"\\t\\t\" + doctorFees.getString(\"Patient Name\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Gender :\" + \"\\t\\t\" + doctorFees.getString(\"Gender\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Contact :\" + \"\\t\\t\" + doctorFees.getString(\"Contact\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Doctor Name :\" + \"\\t\\t\" + doctorFees.getString(\"Doctor Name\") + \"\\n\\n\");\n patientRecordTextArea.append(\"Fees Status :\" + \"\\t\\t\" + doctorFees.getString(\"Fees Status\"));\n }\n operationTable.setModel(DbUtils.resultSetToTableModel(operationRecord));\n testTable.setModel(DbUtils.resultSetToTableModel(testRecord));\n roomDetailTable.setModel(DbUtils.resultSetToTableModel(roomRecord));\n } catch (SQLException ex) {\n Logger.getLogger(PatientChargesDetailFrame.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "6f131eb193731e420930fa6d1485682a", "score": "0.47319362", "text": "public ArrayList<Appointment> getAppointmentsbyName() {\n ArrayList<Appointment> appointments = null;\n try {\n String sqlQuary = \"select Appointment._id,Appointment.GpName,Appointment.Date,Appointment.Time from Appointment where Appointment.userName= '\" + LoginActivity.userName + \"' ORDER BY GpName ASC\";\n open();\n Cursor cursor = db.rawQuery(sqlQuary, null);\n appointments = new ArrayList<Appointment>();\n if (cursor.moveToFirst()) {\n\n do {\n ///create new object from Appointment Model class to hold the new data\n Appointment newappointment = new Appointment();\n\n newappointment.setID(cursor.getInt(0));\n newappointment.setGpName(cursor.getString(1));\n newappointment.setAppointmentDate(cursor.getString(2));\n newappointment.setAppointmentTime(cursor.getString(3));\n\n ///add appointment object to the list of appointments\n appointments.add(newappointment);\n\n } while (cursor.moveToNext());\n cursor.close();\n close();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return appointments;\n }", "title": "" }, { "docid": "be6e4de9498e440afb0f2e33459b382e", "score": "0.47264776", "text": "private JPanel consultationsForm(List<Consultation> consultation) {\r\n\t\ttry {\r\n\t\t\tJPanel consultationpanel = new JPanel();\r\n\t\t\tJLabel lblid = new JLabel(\" ID\");\r\n\t\t\tlblid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblpatientid = new JLabel(\"Patient's Username\");\r\n\t\t\tlblpatientid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblstaffid = new JLabel(\"Staff ID\");\r\n\t\t\tlblstaffid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblsubject = new JLabel(\"Subject\");\r\n\t\t\tlblsubject.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbldateBooked = new JLabel(\"Date Booked\");\r\n\t\t\tlbldateBooked.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbldate = new JLabel(\"Date\");\r\n\t\t\tlbldate.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbltime = new JLabel(\"Time\");\r\n\t\t\tlbltime.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lbltreatmentid = new JLabel(\"Treatment ID\");\r\n\t\t\tlbltreatmentid.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblattended = new JLabel(\"Attended\");\r\n\t\t\tlblattended.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tJLabel lblupdated = new JLabel(\"Medical Record Updated\");\r\n\t\t\tlblupdated.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tfinal JTextField id = new JTextField(Integer.toString(consultation.get(0).ConsultationID));\r\n\t\t\tid.setEditable(false);\r\n\t\t\tfinal JTextField patientid = new JTextField(consultation.get(0).PatientID);\r\n\t\t\tfinal JTextField staffid = new JTextField(consultation.get(0).StaffID);\r\n\t\t\tfinal JTextField subject = new JTextField(consultation.get(0).Subject);\r\n\t\t\tfinal JTextField dateBooked = new JTextField(consultation.get(0).DateBooked);\r\n\t\t\tfinal JTextField date = new JTextField(consultation.get(0).Date);\r\n\t\t\tfinal JTextField time = new JTextField(consultation.get(0).Time);\r\n\t\t\tfinal JTextField attended = new JTextField(Integer.toString(consultation.get(0).Attended));\r\n\t\t\tfinal JTextField updated = new JTextField(Integer.toString(consultation.get(0).MedicalRecordUpdated));\r\n\t\t\tfinal JTextField treatmentid = new JTextField(Integer.toString(consultation.get(0).TreatmentID));\r\n\t\t\tJButton update = new JButton(\"Update\");\r\n\t\t\tupdate.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tupdate.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\t// Send data to server\r\n\t\t\t\t\t\tout.println(\"updateConsultation\");\r\n\t\t\t\t\t\tout.println(Integer.parseInt(id.getText()));\r\n\t\t\t\t\t\tout.println(patientid.getText());\r\n\t\t\t\t\t\tout.println(staffid.getText());\r\n\t\t\t\t\t\tout.println(subject.getText());\r\n\t\t\t\t\t\tout.println(dateBooked.getText());\r\n\t\t\t\t\t\tout.println(date.getText());\r\n\t\t\t\t\t\tout.println(time.getText());\r\n\t\t\t\t\t\tout.println(Integer.parseInt(attended.getText()));\r\n\t\t\t\t\t\tout.println(Integer.parseInt(updated.getText()));\r\n\t\t\t\t\t\tout.println(Integer.parseInt(treatmentid.getText()));\r\n\t\t\t\t\t\t// Get data from server\r\n\t\t\t\t\t\tif ((messageFromServer = in.readLine()) != null) {\r\n\t\t\t\t\t\t\tgetContentPane().removeAll();\r\n\t\t\t\t\t\t\t// Successful update\r\n\t\t\t\t\t\t\tif (messageFromServer.equals(\"consultationUpdated\")) {\r\n\t\t\t\t\t\t\t\tgetContentPane().add(searchConsultationForm());\r\n\t\t\t\t\t\t\t\t// Get data from server\r\n\t\t\t\t\t\t\t\tList<Consultation> ls = new ArrayList<Consultation>();\r\n\t\t\t\t\t\t\t\tls = (List<Consultation>) inObject.readObject();\r\n\t\t\t\t\t\t\t\tgetContentPane().add(consultationsForm(ls));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\trevalidate();\r\n\t\t\t\t\t\t\trepaint();\r\n\t\t\t\t\t\t\tpack();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} catch (Exception er) {\r\n\t\t\t\t\t\tSystem.out.println(\"Exception: consultationsForm\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tJButton delete = new JButton(\"Delete\");\r\n\t\t\tdelete.setFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\t\tdelete.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\t// Send data to server\r\n\t\t\t\t\t\tout.println(\"deleteConsultation\");\r\n\t\t\t\t\t\tout.println(Integer.parseInt(id.getText()));\r\n\t\t\t\t\t\t// Get data from server\r\n\t\t\t\t\t\tif ((messageFromServer = in.readLine()) != null) {\r\n\t\t\t\t\t\t\tgetContentPane().removeAll();\r\n\t\t\t\t\t\t\t// Successful deletion\r\n\t\t\t\t\t\t\tif (messageFromServer.equals(\"consultationDeleted\")) {\r\n\t\t\t\t\t\t\t\tgetContentPane().add(searchConsultationForm());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\trevalidate();\r\n\t\t\t\t\t\t\trepaint();\r\n\t\t\t\t\t\t\tpack();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t} catch (Exception er) {\r\n\t\t\t\t\t\tSystem.out.println(\"Exception: consultationsForm\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tconsultationpanel.add(lblid);\r\n\t\t\tconsultationpanel.add(id);\r\n\t\t\tconsultationpanel.add(lblpatientid);\r\n\t\t\tconsultationpanel.add(patientid);\r\n\t\t\tconsultationpanel.add(lblstaffid);\r\n\t\t\tconsultationpanel.add(staffid);\r\n\t\t\tconsultationpanel.add(lblsubject);\r\n\t\t\tconsultationpanel.add(subject);\r\n\t\t\tconsultationpanel.add(lbldateBooked);\r\n\t\t\tconsultationpanel.add(dateBooked);\r\n\t\t\tconsultationpanel.add(lbldate);\r\n\t\t\tconsultationpanel.add(date);\r\n\t\t\tconsultationpanel.add(lbltime);\r\n\t\t\tconsultationpanel.add(time);\r\n\t\t\tconsultationpanel.add(lblattended);\r\n\t\t\tconsultationpanel.add(attended);\r\n\t\t\tconsultationpanel.add(lblupdated);\r\n\t\t\tconsultationpanel.add(updated);\r\n\t\t\tconsultationpanel.add(lbltreatmentid);\r\n\t\t\tconsultationpanel.add(treatmentid);\r\n\t\t\tconsultationpanel.add(update);\r\n\t\t\tconsultationpanel.add(delete);\r\n\t\t\tconsultationpanel.setBounds(350, 250, 250, 250);\r\n\t\t\tconsultationpanel.setOpaque(false);\r\n\t\t\treturn consultationpanel;\r\n\t\t} catch (Exception er) {\r\n\t\t\tSystem.out.println(\"Exception: consultationsForm\");\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b32b7a78549dc282922fc59e235a5585", "score": "0.47183874", "text": "@GetMapping(\"/newPatient\")\n public String addPatient(Model model) {\n Patient patient = new Patient();\n patient.setNationality(new Nation());\n model.addAttribute(\"patient\", patient);\n model.addAttribute(\"mode\", \"PATIENT_EDIT\");\n model.addAttribute(\"nations\", nationService.findAll());\n return \"patient\";\n }", "title": "" }, { "docid": "aef4625a703a158895b61b01c60eb68f", "score": "0.47166798", "text": "List<Applicant> getAllApplicant();", "title": "" }, { "docid": "ef6725e2fe89e97937d7c4eebac1388c", "score": "0.47131875", "text": "private void addNewEmButtonActionPerformed(java.awt.event.ActionEvent evt) {\n int id = Integer.parseInt(addEmIDTextField.getText());\n String name = addEmNameTextField.getText();\n String address = addEmAddressTextField.getText();\n String phone = addEmPhoneTextField.getText();\n String phoneExtension = addEmPhoneExtensionTextField.getText();\n String userName = addEmUsernameTextField.getText();\n char gender = addEmGenderComboBox.getSelectedItem().toString().charAt(0);\n Date dateOfBirth = addEmDOBDatePicker.getDate();\n Employee em = new Employee(userName, phoneExtension, id, name, dateOfBirth, address, phone, gender);\n employees.add(em);\n JOptionPane.showMessageDialog(this, \"Employee Added Successfully\");\n addEmIDTextField.setText(\"\"); addEmNameTextField.setText(\"\"); addEmAddressTextField.setText(\"\"); addEmPhoneTextField.setText(\"\");\n addEmPhoneExtensionTextField.setText(\"\"); addEmUsernameTextField.setText(\"\");\n }", "title": "" } ]
5781eda0657b075718be80d8b97717eb
Static method for turning a file's IFile representation into File.
[ { "docid": "e6046eba982140421bba8e9e485aa5ed", "score": "0.62163925", "text": "public static File ifileToFile(IFile ifile){\n\t\tFile file = new File(ifile.getLocation().toString());\n\t\treturn file;\n\t}", "title": "" } ]
[ { "docid": "ecfbdcefbce3427aba831c7db9533321", "score": "0.6420464", "text": "FileObject getFile();", "title": "" }, { "docid": "c06ecc73b7f738b76842ab55f99a328b", "score": "0.6236026", "text": "File makeFile();", "title": "" }, { "docid": "2977abc9639323927ba0cb502edb5860", "score": "0.61198175", "text": "public static File convertToFile(MultipartFile file) {\n File convFile = new File(file.getOriginalFilename());\n try {\n convFile.createNewFile();\n FileOutputStream fos = new FileOutputStream(convFile);\n fos.write(file.getBytes());\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return convFile;\n }", "title": "" }, { "docid": "2f3a4fa9535046903508552d8cf8c5f2", "score": "0.6103755", "text": "File<E> creer();", "title": "" }, { "docid": "a8c4ceb32a6a57388faab11472fc71a2", "score": "0.59976476", "text": "public final IFile createFileFromInfo(IFileMetadata info) {\n\t\treturn createFileFromInfo(info, IFile.Flags.READONLY);\n\t}", "title": "" }, { "docid": "4f7f73f9b045df5bc79af037af9de0d3", "score": "0.5904185", "text": "File file();", "title": "" }, { "docid": "16765b23ed2f1be9fc4b4692db8570a6", "score": "0.58336604", "text": "public File getFile();", "title": "" }, { "docid": "6e9f19cf6feb86d3c7643481ba87409c", "score": "0.5825514", "text": "public abstract File getFile();", "title": "" }, { "docid": "62941cf77afb03b54a3a65dbfb0d6a0f", "score": "0.5786115", "text": "File getFile();", "title": "" }, { "docid": "1f7dcda8d9ab4932ab018ba1e1306128", "score": "0.57653946", "text": "FileObject toRealFile(FileObject output) throws ImpossibleOnRemoteFileException;", "title": "" }, { "docid": "5377bab9c18bfce902bed341647c46ec", "score": "0.5760089", "text": "private File convertMultiPartToFile(MultipartFile file) throws IOException {\n\t\tFile convFile = new File(file.getOriginalFilename());\n\t\tFileOutputStream fos = new FileOutputStream(convFile);\n\t\tfos.write(file.getBytes());\n\t\tfos.close();\n\t\treturn convFile;\n\t}", "title": "" }, { "docid": "76cb5ab53596c7e2618a580d66f93a39", "score": "0.5755162", "text": "File localFile(FileObject resource);", "title": "" }, { "docid": "fdd5e7ad37f36d9015c1f359b20a33c4", "score": "0.5750421", "text": "protected abstract T transformFile(File file) throws IOException;", "title": "" }, { "docid": "9dbeaeb8941ed42c991a40f4364fe85e", "score": "0.57338464", "text": "public File instance(String filePath);", "title": "" }, { "docid": "2149ea55527cccf8c3502d42651b5516", "score": "0.5639703", "text": "public File getOrCreateFile(String name);", "title": "" }, { "docid": "d27eaf70fe18b66ead697342f07d2336", "score": "0.55724144", "text": "public File getFile() {\n return new File(_filename);\n }", "title": "" }, { "docid": "dc55686075b456883b192244028facaf", "score": "0.5538551", "text": "public static FieldInputStream create(File inFile) throws IOException {\n FieldInputStream retVal = null;\n Type[] types = Type.values();\n for (int i = 0; i < types.length && retVal == null; i++) {\n if (types[i].matches(inFile))\n retVal = types[i].open(inFile);\n }\n if (retVal == null)\n throw new IOException(\"File '\\\"\" + inFile.getName() + \"\\\" is not a recognized field-input file type.\");\n return retVal;\n }", "title": "" }, { "docid": "a21008fdc615f98af6fc886347aca620", "score": "0.5527568", "text": "File localFile(FileObject resource, FileObject dir);", "title": "" }, { "docid": "2a514656e40b6fa9dc5be4d30f98d354", "score": "0.5527168", "text": "File<? extends T> getFile(T path);", "title": "" }, { "docid": "741e28248be3607c0778e7c4a7b7451b", "score": "0.54934907", "text": "Resp file(File file);", "title": "" }, { "docid": "69e896f7a9af10a17fdc373e9b0e6365", "score": "0.5483859", "text": "public static File.Builder newBuilder() {\n return new File.Builder();\n }", "title": "" }, { "docid": "bac9204627700f49ab1ac0ca92c85b55", "score": "0.5468756", "text": "public File() {}", "title": "" }, { "docid": "385f16208588ee99f4a3de6afc42b795", "score": "0.54686415", "text": "@Deprecated\r\n public File objFile() {\r\n return new File(this.getAbsolutePath());\r\n }", "title": "" }, { "docid": "b8a80c59b4737378db099d67d419d66b", "score": "0.5446523", "text": "public FileIO getFileIO();", "title": "" }, { "docid": "eaafc2e64fae1dd4c1d9c6f89099769b", "score": "0.54152477", "text": "FileObject resolve(File file);", "title": "" }, { "docid": "b8fed83b55232a4865a6082d5316c102", "score": "0.5408294", "text": "public IFile getFile(String name);", "title": "" }, { "docid": "708ee6691cf6c5ceff02ef9e373b4cbe", "score": "0.54056287", "text": "public T caseFile(File object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "888c8bc88d4ff418ccf3941270f78a57", "score": "0.5396914", "text": "private FileObject resolveFileObject(String path) {\n FileObject fo = projDir.getFileObject(path);\n if (fo == null) {\n if (File.separatorChar != '/') {\n path = path.replace('/', File.separatorChar);\n if (Utilities.isUnix() && path.charAt(0) != File.separatorChar) {\n path = File.separatorChar + path;\n }\n }\n File f = new File(path);\n if (f.exists()) {\n fo = FileUtil.toFileObject(FileUtil.normalizeFile(f));\n }\n }\n return fo;\n }", "title": "" }, { "docid": "fee645f0e49884e29f43bc0c1da0afbe", "score": "0.53617245", "text": "public File getFile() {\n // some code goes here\n return file;\n }", "title": "" }, { "docid": "fee645f0e49884e29f43bc0c1da0afbe", "score": "0.53617245", "text": "public File getFile() {\n // some code goes here\n return file;\n }", "title": "" }, { "docid": "fee645f0e49884e29f43bc0c1da0afbe", "score": "0.53617245", "text": "public File getFile() {\n // some code goes here\n return file;\n }", "title": "" }, { "docid": "af07c419526ab4fa310771a74e8a7ae0", "score": "0.530923", "text": "@Override\n\tpublic File getFile() {\n\t\treturn file;\n\t}", "title": "" }, { "docid": "af07c419526ab4fa310771a74e8a7ae0", "score": "0.530923", "text": "@Override\n\tpublic File getFile() {\n\t\treturn file;\n\t}", "title": "" }, { "docid": "b02ca9a2be7b1473d7125464b361db49", "score": "0.5306307", "text": "private File createTestFile() {\n return createTestFile(null);\n }", "title": "" }, { "docid": "d2bc26f018abe2465da8911664536007", "score": "0.5304145", "text": "public static File.Builder newBuilder(File other) {\n return new File.Builder(other);\n }", "title": "" }, { "docid": "4dbb70c3a713ed96c062f54e444c01eb", "score": "0.52648765", "text": "private File createOutputFile(File inputFile) throws Exception {\n File path = new File(FilenameUtils.getFullPath(inputFile.getPath()));\n String outputFileName = FilenameUtils.removeExtension(inputFile.getName());\n return new File(path, outputFileName);\n }", "title": "" }, { "docid": "9a768b0d508f6407492f12e64fcb4d2d", "score": "0.5254047", "text": "Optional<File> file(String name) throws IllegalArgumentIOException;", "title": "" }, { "docid": "4ebed35fd713cf6e4af7a7fa4d28f599", "score": "0.5206047", "text": "public FileObject getFileObject() {\n return fo;\n }", "title": "" }, { "docid": "0acfe05133224cf3c814454856e06991", "score": "0.51843345", "text": "public File getFile() {\r\n\t\treturn f;\r\n\t}", "title": "" }, { "docid": "53c5450c59901ca1ffea8e22e75dfb4a", "score": "0.5180291", "text": "public File getFile() {\n return path.toFile();\n }", "title": "" }, { "docid": "6a1ae09496b49aac1171e2de6299b910", "score": "0.517524", "text": "public static String convertFileToBase64(@NotNull File file){\n\n String base64Representation = null ;\n\n try (FileInputStream fileInputStream = new FileInputStream(file)) {\n byte[] bytes = new byte[(int)file.length()] ;\n int numberOfBytesRead = fileInputStream.read(bytes) ;\n if(numberOfBytesRead != -1){\n\n Base64.Encoder encoder = Base64.getEncoder() ;\n base64Representation = encoder.encodeToString(bytes) ;\n }\n }\n catch (IOException ex){\n\n ex.printStackTrace() ;\n }\n\n return base64Representation ;\n }", "title": "" }, { "docid": "7a39d5cccfbc10abbad8dd702c6cc822", "score": "0.51711154", "text": "T deserialize(File file) throws IOException, ClassNotFoundException;", "title": "" }, { "docid": "44ffe9c8d08ec08deb18943683c07b18", "score": "0.51663846", "text": "@SuppressWarnings(\"unchecked\")\n public static <T> T read(File file) {\n\treturn (T) new XStream().fromXML(file);\n }", "title": "" }, { "docid": "2817c321923cbb6371525ae6a565d50e", "score": "0.51591605", "text": "public File getFile() {\n\t\treturn f;\n\t}", "title": "" }, { "docid": "8fdf12d16aed4c1dce202fd405228878", "score": "0.51504517", "text": "public FileObject file() {\n return file;\n }", "title": "" }, { "docid": "544eb75cdd5d42dfbf31c4b3cbc9e965", "score": "0.51144934", "text": "public interface FileStreamFactory {\n OutputStreamWriter fileWriterStream(File file) throws FileNotFoundException;\n InputStreamReader fileReaderStream(File file) throws FileNotFoundException;\n}", "title": "" }, { "docid": "07ce671f27bfde5fb99cea8056af88f0", "score": "0.51124287", "text": "public static org.bear.api.fs.File.Builder newBuilder(org.bear.api.fs.File other) {\n return new org.bear.api.fs.File.Builder(other);\n }", "title": "" }, { "docid": "4bb56d5216deb54ca3e24e249bc5e1e6", "score": "0.51009274", "text": "public File getFile() {\n \treturn f;\n }", "title": "" }, { "docid": "735ed6cde34357233c4f188030053b19", "score": "0.5091849", "text": "@Override\n protected Class<File> getEntityClass() {\n return File.class;\n }", "title": "" }, { "docid": "dbea2c371797a2ee882c4e4261f71a0b", "score": "0.5075374", "text": "void convert(String filename);", "title": "" }, { "docid": "682502c98f84c02923f820f953911d60", "score": "0.506622", "text": "public static org.bear.api.fs.File.Builder newBuilder() {\n return new org.bear.api.fs.File.Builder();\n }", "title": "" }, { "docid": "ba7a72ddf9e1c32a1e5ea27b0ff84c60", "score": "0.505937", "text": "public OptionsBuilder toFile(File toFile) {\n this.options.setToFile(toFile.getPath());\n return this;\n }", "title": "" }, { "docid": "18698d7813a4be31bfb067dce1598464", "score": "0.5051136", "text": "private File createTestFile(final File f) {\n return assertDoesNotThrow(() -> {\n File file = f;\n if (file == null) {\n file = newFile(tempFolder);\n }\n try (Writer out = new FileWriter(file)) {\n out.write(CONTENT);\n }\n return file;\n });\n }", "title": "" }, { "docid": "8f5774753a275dc06821bdde829bae2e", "score": "0.5049669", "text": "public FileFun getWrappedFileFun() {\r\n\t\treturn wrappedFileFun;\r\n\t}", "title": "" }, { "docid": "27b4776997d8f722d7c6e5fd3438dab8", "score": "0.5047045", "text": "public static Object readFromFile(\n File file)\n throws IOException\n {\n BufferedInputStream in = new BufferedInputStream(\n new FileInputStream(file));\n\n // Read the object.\n Object read = null;\n try\n {\n read = read(in);\n }\n finally\n {\n in.close();\n }\n\n return read;\n }", "title": "" }, { "docid": "eb1d0bb2030c24b84794f51968c9581c", "score": "0.5037265", "text": "public IFile getFile() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a640807e516c5d420d5f4c80e49d1a44", "score": "0.50273883", "text": "public File getFile(String path);", "title": "" }, { "docid": "caccaf27b9b414a1e70184192759eeb3", "score": "0.5012062", "text": "IFile getModelFile();", "title": "" }, { "docid": "c489a1e15bfa6909e4ced13ff7ba33f0", "score": "0.50100297", "text": "public static File convertTestResourceIntoFile(Class<?> classToUseForResource, String testResourcePath) {\n if (!testResourcePath.startsWith(\"/\")) {\n testResourcePath = \"/\" + testResourcePath;\n }\n URL url = classToUseForResource.getResource(testResourcePath);\n try {\n return new File(url.toURI());\n } catch (URISyntaxException e) {\n throw new RuntimeException(\"Unable to create URI for \" + url, e);\n }\n }", "title": "" }, { "docid": "d1a0a4679816a0ed52184ca2bc72051c", "score": "0.50065833", "text": "public File getFile(){\n return file;\n }", "title": "" }, { "docid": "0ac90356e3b0ccb9795e1b00484415c0", "score": "0.5005975", "text": "public FileConverter getFileConverter(MultipartFile file) {\n FileConverter converter = mimeTable.get(file.getContentType());\n //MetadataWrapper fileMetadata = converter.convertFile(file);\n if (converter == null) {\n Logger.getLogger(\"MIMEResolver\").log(Level.INFO, \"Choosing default file converter\");\n return mimeTable.get(DefaultFileConverterHandle);\n }\n return converter;\n }", "title": "" }, { "docid": "9bb5e603fd25fe3e89b6c4d47e10d966", "score": "0.50025195", "text": "private File _getFullFile(File f) throws IOException {\n if (PlatformFactory.ONLY.isWindowsPlatform() &&\n ((f.getAbsolutePath().indexOf(\"..\") != -1) || (f.getAbsolutePath().indexOf(\"./\") != -1) ||\n (f.getAbsolutePath().indexOf(\".\\\\\") != -1))) {\n return f.getCanonicalFile();\n }\n return f.getAbsoluteFile();\n }", "title": "" }, { "docid": "61e0075525dd63a0f7f40b8f40e208c1", "score": "0.5000387", "text": "public File getFile()\n {\n return file;\n }", "title": "" }, { "docid": "27c888ee7780ae38444b2a1c8e0a5c0f", "score": "0.4991991", "text": "private String streamToTempFile(InputStream in, String filename, Path libDir) throws IOException {\n String[] fnParts = filename.split(\"\\\\.\");\n String suffix = \"\";\n if(fnParts.length > 1) {\n suffix = \".\" + fnParts[fnParts.length - 1];\n }\n\n File libFile = new File(libDir.toAbsolutePath() + File.separator + filename);\n try (\n final FileOutputStream fos = new FileOutputStream(libFile);\n final OutputStream out = new BufferedOutputStream(fos);\n ) {\n int len = 0;\n byte[] buffer = new byte[8192];\n while ((len = in.read(buffer)) > -1)\n out.write(buffer, 0, len);\n }\n\n libFile.deleteOnExit();\n return libFile.getAbsolutePath();\n }", "title": "" }, { "docid": "f66563a9302ded6b2f88eaeb904a972c", "score": "0.4982114", "text": "public File create(String filePath) throws IOException;", "title": "" }, { "docid": "4f8955e27da5db43214f1dd39230929f", "score": "0.49797875", "text": "public static File getFileObject(String filePath, String fileName, String extension, CachedFileHandle handle) {\r\n return new File(handle.getCodeGenFilePath() + filePath + File.separator + fileName + extension);\r\n }", "title": "" }, { "docid": "b47172c1bed30bcd2f703a98d64ad41f", "score": "0.49785718", "text": "@Override\r\n public IFile getFile(String itemName) {\r\n return new MockFile(itemName, this);\r\n }", "title": "" }, { "docid": "4314926aff6baa25f4a3e101727b602b", "score": "0.4977921", "text": "File getFile(String name);", "title": "" }, { "docid": "98a5eae968f60d7d65189379fe468180", "score": "0.497736", "text": "protected abstract IFile getPlatformFile(String path, IFile.Flags flags) throws IllegalArgumentException,\n\t\t\tIOException;", "title": "" }, { "docid": "d45d3519fbd9ee71fe08c20bdd84a1a8", "score": "0.49767414", "text": "public IApiObject deserializeBinaryFileToApiObject(File file) {\n\t\tIApiObject apiObject = null;\n\t\t\n\t\ttry {\n\t\t\tFileInputStream fileInputStream = new FileInputStream(file);\n\t\t\tObjectInputStream objectInputStream = new ObjectInputStream(fileInputStream);\n\t\t\tapiObject = (IApiObject) objectInputStream.readObject();\n\t\t\tobjectInputStream.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"File not found!\", JOptionPane.ERROR_MESSAGE);\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"Class not found!\", JOptionPane.ERROR_MESSAGE);\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tJOptionPane.showMessageDialog(null, e.getMessage(), \"Cannot read file!\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t\t\n\t\treturn apiObject;\n\t}", "title": "" }, { "docid": "a705c02fdff4087b28826df08b92445d", "score": "0.49758816", "text": "public File file() {\n return _file;\n }", "title": "" }, { "docid": "bdab4bd9d3095e79d0355b606b5ca8f0", "score": "0.49675277", "text": "@Override\r\n\t\t\tpublic File getFile() throws IOException {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "bdbf29cf2b5e2df324e880b3637f6266", "score": "0.4961556", "text": "public static Object loadFromFile(File inputFile) throws IOException {\n\t\ttry (FileInputStream fis = new FileInputStream(inputFile)) {\n\t\t\ttry (XMLDecoder xmlDecoder = new XMLDecoder(fis)) {\n\t\t\t\treturn xmlDecoder.readObject();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "756a9f57ff4f347bc48c813aa72d3394", "score": "0.49608463", "text": "public File readIt(InputStream stream) throws IOException, UnsupportedEncodingException {\r\n File file = new File(getBaseContext().getFilesDir(), fileName);\r\n FileOutputStream os;\r\n try {\r\n os = openFileOutput(fileName, Context.MODE_PRIVATE);\r\n int read = 0;\r\n byte[] bytes = new byte[1024];\r\n while ((read = stream.read(bytes)) != -1) {\r\n os.write(bytes, 0, read);\r\n }\r\n } catch (IOException e) {\r\n Log.e(\"IOException\", \"error\");\r\n }\r\n finally {\r\n if(stream != null) {\r\n try {\r\n stream.close();\r\n } catch (IOException e) {\r\n Log.e(\"IOException\", \"error\");\r\n }\r\n }\r\n if(stream != null) {\r\n try {\r\n stream.close();\r\n } catch (IOException e) {\r\n Log.e(\"IOException\", \"error\");\r\n }\r\n }\r\n }\r\n return file;\r\n }", "title": "" }, { "docid": "63226baa2011b642e10d26f8a160adb6", "score": "0.4957465", "text": "public Object deserialise(final File file)\n\t{\n\t\tif (file == null)\n\t\t\tthrow new IllegalArgumentException(\"Null argument passed to deserialise!\");\n\t\tif (!file.exists())\n\t\t\tthrow new IllegalArgumentException(\"File does not exist: \" + file);\n\n\t\tfinal Unmarshaller unmarshaller = getUnmarshaller();\n\n\t\ttry\n\t\t{\n\t\t\tfinal Object obj = unmarshaller.unmarshal(file);\n\n\t\t\tif (obj == null)\n\t\t\t\tthrow new RuntimeException(\"Malformed XML from \" + file);\n\t\t\telse\n\t\t\t\treturn obj;\n\t\t}\n\t\tcatch (JAXBException e)\n\t\t{\n\t\t\tthrow new JAXBRuntimeException(\"deserialisation\", e);\n\t\t}\n\t}", "title": "" }, { "docid": "8f1ff4ce8a89496daf7d33acdfb2cde6", "score": "0.49563318", "text": "private static Object deserialize(final File f) throws IOException, ClassNotFoundException {\n try (FileInputStream fis = new FileInputStream(f);\n ObjectInputStream in = new ObjectInputStream(fis)) {\n Object obj = in.readObject();\n return obj;\n }\n }", "title": "" }, { "docid": "84d73d82577b7cf441721a9d70fbdf02", "score": "0.49543214", "text": "public File getFile()\n {\n if (file.exists() && file.isFile())\n {\n return file;\n } \n else\n {\n try\n {\n file = FileUtil.findFile(file.getPath());\n return file;\n } \n catch (FileNotFoundException exc)\n {\n throw new RuntimeException(\"Could not find: \" + file.getPath());\n }\n }\n }", "title": "" }, { "docid": "7649c563f645f5fff30b0dc8b1729f66", "score": "0.49542457", "text": "public File getFile() {\n return file;\n }", "title": "" }, { "docid": "7649c563f645f5fff30b0dc8b1729f66", "score": "0.49542457", "text": "public File getFile() {\n return file;\n }", "title": "" }, { "docid": "ab1f7142bc784725725f23a719b2b85d", "score": "0.4951216", "text": "public interface IFileVisitor {\n\t\tvoid visit(File file);\n\t}", "title": "" }, { "docid": "bae671aaea425f38fc709a4bf379704a", "score": "0.4946838", "text": "public File getFile()\n {\n return file_;\n }", "title": "" }, { "docid": "b64caa784dff938a6a7dae6c1c406ab8", "score": "0.49385434", "text": "@Nullable File localPath(FileObject resource);", "title": "" }, { "docid": "3ff0a85436b3ee57c22653a0f1b0da0f", "score": "0.4926017", "text": "private T fileSerialization2Object(File file, Class clazz) {\n T result;\n String testDataName = file.getName();\n try {\n String extName = FileUtil.extName(testDataName);\n if (!StrUtil.isEmpty(extName)) {\n this.extName = extName;\n }\n if (Constant.SUPPORT_TEST_CASE_FILE_EXT_JSON_NAME.equalsIgnoreCase(this.extName)) {\n result = (T) mapper.readValue(new FileInputStream(file), clazz);\n } else if (Constant.SUPPORT_TEST_CASE_FILE_EXT_YML_NAME.equalsIgnoreCase(this.extName)) {\n JSONObject jsonObject = yaml.load(new FileInputStream(file));\n result = (T) jsonObject.toJavaObject(clazz);\n } else {\n String exceptionMsg = String.format(\"The current format %s is not currently supported,you can implement ITestDataLoader interface and try to override load() method\", extName);\n throw new DefinedException(exceptionMsg);\n }\n if (Objects.isNull(result)) {\n String exceptionMsg = String.format(\"The serialized file %s cannot be empty\", testDataName);\n throw new DefinedException(exceptionMsg);\n }\n } catch (IOException e) {\n String exceptionMsg = String.format(\"Error in file %s serialization,Exception Information: %s\", testDataName, this.extName, e.getMessage());\n throw new DefinedException(exceptionMsg);\n }\n return result;\n }", "title": "" }, { "docid": "f46e0847dab915c96dc97057d7e56d41", "score": "0.4924318", "text": "public static File getFileStr() {\r\n\t\treturn fileStr;\r\n\t}", "title": "" }, { "docid": "150670a4df939b1693472ee51cfd3ddb", "score": "0.49239463", "text": "File getFile()\t\t\t\t{ return for_file; }", "title": "" }, { "docid": "4481ab2140558b296a5e5358cf9b2e88", "score": "0.49193925", "text": "public interface FileGenerator {\n\n InputStreamResource toTxt(FileDto fileDto) throws IOException;\n}", "title": "" }, { "docid": "3f3e08048725cf50bf119b84672adb84", "score": "0.49191123", "text": "public Storage file() {\n return new Storage(this);\n }", "title": "" }, { "docid": "ef7f81db9f746888fb4dddd48c2671e3", "score": "0.49134022", "text": "File createFile(String name) throws IllegalArgumentIOException, FileAlreadyExistsException;", "title": "" }, { "docid": "bf699ee3d4585ca6fb488290f413a228", "score": "0.49006483", "text": "public static File withDefaultType( File file, Type defaultType)\n {\n return\n file != null && FilenameUtils.getExtension( file.getName()).isEmpty()\n ? new File( String.format( \"%s.%s\", file.getPath(), String.valueOf( defaultType).toLowerCase()))\n : file;\n }", "title": "" }, { "docid": "e7c15eee7ae116505796c654846f21a6", "score": "0.4892502", "text": "public interface IFileManager {\n\t/**\n\t * Returns a file instance for the given name.\n\t * If the file does not yet exist, it is created.\n\t * @param name The name of the file.\n\t * @return A file instance representing the file with provided name.\n\t */\n\tpublic File getOrCreateFile(String name);\n\tpublic File getExistingFile(String name);\n\tpublic void deleteFile(File file);\n}", "title": "" }, { "docid": "132e4ce63bf3430c3adc184d53fc0c81", "score": "0.4892173", "text": "private File doGetFile()\n {\n if (StringUtils.isBlank(getRelativePath()))\n {\n return root;\n } else\n {\n return new File(root, getRelativePath());\n }\n }", "title": "" }, { "docid": "d6ae15230f54a1cc20056fec8fa0a0ea", "score": "0.48843968", "text": "@java.lang.Override\r\n\tpublic java.lang.String toString()\r\n\t{\r\n\t\treturn \"StringToFile\";\r\n\t}", "title": "" }, { "docid": "c320e04334b89ebbc05eca6cecb658b4", "score": "0.48813063", "text": "public File getFile() {\n return this.f;\n }", "title": "" }, { "docid": "8ec84044cd22b186bab5ffc55fc868dc", "score": "0.48652604", "text": "public static File asFile(final String scriptName) {\n\t\tString fileName = removeAnchorTag(scriptName).replaceAll(\"http:/\", \"FitNesseRoot\");\n\t\t\n\t\treturn new File(fileName);\n\t}", "title": "" }, { "docid": "279251a6971280e4cff64f3f1b811031", "score": "0.48647034", "text": "@Deprecated\r\n public FileInputStream objFileInputStream() throws FileNotFoundException {\r\n return new FileInputStream(this.getAbsolutePath());\r\n }", "title": "" }, { "docid": "1775b3d6e6203ce3bcf2c8f78d8dd67d", "score": "0.48579893", "text": "private File getFile(File origine, File f) {\n File base = (origine.getParentFile() == null) ? origine : origine.getParentFile();\n String s2 = base.toURI().relativize(f.toURI()).getPath();\n return new File(this.dest, s2);\n }", "title": "" }, { "docid": "42a2779cc9bd550c22473df3fdc8f30b", "score": "0.48490557", "text": "public java.lang.String getFile() {\n return file;\n }", "title": "" }, { "docid": "9f4803056f8e681a8be673d68cab9c4e", "score": "0.48469698", "text": "public File getFile() {\n // some code goes here\n return this.backingFile;\n }", "title": "" }, { "docid": "4f2a40fd0c9e4825d84210da60818fb3", "score": "0.4845543", "text": "public File bind(Object value) {\n if (value == null || value instanceof File) {\n return (File) value;\n }\n File result = new File(value.toString());\n URI.create(value.toString()); // throws IllegalArgumentException if the given string violates RFC 2396\n return result;\n }", "title": "" }, { "docid": "4d8b66cc860f132f0d554049718d896a", "score": "0.48437524", "text": "public static File readable(File file) {\n\t\tValidate.notNull(file);\n\t\tif(!file.canRead())\n\t\t\tthrow new ParameterException(\"\\\"\"+file+\"\\\" is not readable!\");\n\t\treturn file;\n\t}", "title": "" } ]
6bb3e2370bf882b1a2e7a10d6994ef07
Test conquering a territory.
[ { "docid": "96a74d89c9a151c3b2052729204b22e7", "score": "0.72331077", "text": "@Test\n\tpublic void conquerTest() {\n\t\tTerritory attackingTerritory = new Territory(\"attacker\", new Point(0, 0));\n\t\tTerritory defendingTerritory = new Territory(\"defender\", new Point(0, 1));\n\t\t\n\t\tPlayer attacker = new Player(\"attacker\");\n\t\tPlayer defender = new Player(\"defender\");\n\t\t\n\t\tattacker.addTerritory(attackingTerritory);\n\t\tattackingTerritory.setOwner(attacker);\n\t\tattackingTerritory.setArmy(10000);\n\t\t\n\t\tdefender.addTerritory(defendingTerritory);\n\t\tdefendingTerritory.setOwner(defender);\n\t\tdefendingTerritory.setArmy(1);\n\t\t\n\t\twhile (defendingTerritory.getArmy() > 0) {\n\t\t\tattacker.attack(attackingTerritory, defendingTerritory, Math.min(3, attackingTerritory.getArmy() - 1), Math.min(2, defendingTerritory.getArmy()));\n\t\t}\n\t\t\n\t\tassertEquals(attacker, defendingTerritory.getOwner());\n\t\tSystem.out.println(\"Successfully test conquering a territory\");\n\t}", "title": "" } ]
[ { "docid": "74587eab3de19cd16c292e0cc9b4e273", "score": "0.6462158", "text": "@Test\n public void testGetDonorsRegionCanterburyOrOtago() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Canterbury, Otago\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List<DonorReceiverSummary> donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\n assertTrue(foundSnakeFiddleAloe[0]);\n assertTrue(foundSnakeFiddleAloe[1]);\n assertTrue(foundSnakeFiddleAloe[2]);\n } else {\n printCannotRunTests();\n }\n }", "title": "" }, { "docid": "5ac7d668cca5eb2baad96c13b00f81d9", "score": "0.6336006", "text": "@Test\n\tpublic void testAllTerritoriesOwnBySinglePlayer() { \n\t\tMap.listOfAllTerritories = new ArrayList<Territory>();\n\t\tMain.activeMap = new Map();\n\t\tMain.activeMap.territories = new ArrayList<Territory>();\n\t\tMain.players = new ArrayList<Player>(); \n\t\tPlayer player = new Player(\"Player1\");\n\t\tMain.players.add(player);\n\t\tTerritory t1 = new Territory(\"Africa\");\n\t\tt1.addNeighbours(\"India,Pakistan\");// add neighbour and add player to owner of neighbour and finally create\n\t\tt1.neighbours.get(0).owner = player; \n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player;\n\t\tMain.activeMap.territories.add(t1); \n\t\tt1 = new Territory(\"Asia\");\n\t\tt1.addNeighbours(\"Nepal,Bangal\");// add neighbour and add player to owner of neighbour and finally create \n\t\tt1.neighbours.get(0).owner = player; \n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player;\n\t\tMain.activeMap.territories.add(t1);\n\t\t\n\t\tSystem.out.println(\"All for one \"+Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t\tassertTrue(Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t}", "title": "" }, { "docid": "f13d38cd24c7d981bc590221dbdc803e", "score": "0.62943596", "text": "@Test\n\tpublic void testFindTerritory() { \n\t\t//actualTerritory=Map.findTerritory(\"Japan\"); //Territory constructor is already adding it\n\t\tassertEquals(\"Japan\", actualTerritory.name);\n\t}", "title": "" }, { "docid": "3e608b3d779d7b04e3983adcb22d3378", "score": "0.6258937", "text": "@Test\n public void testGetDonorsRegionCanterbury() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Canterbury\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List<DonorReceiverSummary> donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\n assertTrue(foundSnakeFiddleAloe[0]);\n assertTrue(foundSnakeFiddleAloe[1]);\n assertFalse(foundSnakeFiddleAloe[2]);\n } else {\n printCannotRunTests();\n }\n }", "title": "" }, { "docid": "bf568a8b904df1376ce93739c399da38", "score": "0.6242936", "text": "@Test\n\tpublic void testAllTerritoriesNotOwnBySinglePlayer() { \n\t\tMap.listOfAllTerritories = new ArrayList<Territory>();\n\t\tMain.activeMap = new Map();\n\t\tMain.activeMap.territories = new ArrayList<Territory>();\n\t\tMain.players = new ArrayList<Player>();\n\t\t// removed this becas its assigned in randim so giving only ione player and\n\t\t// seeing\n\t\tPlayer player = new Player(\"Player1\");\n\t\tMain.players.add(player);\n\t\tTerritory t1 = new Territory(\"Africa\");\n\t\tt1.addNeighbours(\"India,Pakistan\");// add neighbour and add player to owner of neighbour and finally create\n\t\t// assignedterritories list since player is assighes\n\t\tt1.neighbours.get(0).owner = player;\n\t\t//Player player2 = new Player(\"Player2\");// assigning owner to neighbour\n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player;\n\t\tMain.activeMap.territories.add(t1);\n\t\t\n\t\tt1 = new Territory(\"Asia\");\n\t\tt1.addNeighbours(\"Nepal,Bangal\");// add neighbour and add player to owner of neighbour and finally create\n\t\t// assignedterritories list since player is assighes\n\t\tt1.neighbours.get(0).owner = player;\n\t\tPlayer player2 = new Player(\"Player2\");// assigning owner to neighbour\n\t\tt1.neighbours.get(1).owner = player;\n\t\tt1.numberOfArmies = 1;\n\t\tt1.owner=player2;\n\t\tMain.activeMap.territories.add(t1);\n\t\t\n\t\tSystem.out.println(\"All for one \"+Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t\tassertFalse(Main.activeMap.allTerritoriesOwnBySinglePlayer(false));\n\t}", "title": "" }, { "docid": "f24a41df4f63a0d16843b696f0d3ac52", "score": "0.61598897", "text": "@Test\n public void testGetDonorsRegionOtago() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Otago\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List<DonorReceiverSummary> donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleAloe = findThreeDonors(donors, SNAKE, FIDDLE, ALOE);\n assertFalse(foundSnakeFiddleAloe[0]);\n assertFalse(foundSnakeFiddleAloe[1]);\n assertTrue(foundSnakeFiddleAloe[2]);\n } else {\n printCannotRunTests();\n }\n }", "title": "" }, { "docid": "8a0d9d3cacfe430116b8fb745ec6b0eb", "score": "0.6140449", "text": "@Test\r\n public void attacksProvinceAndLoses() {\r\n g.runInv();\r\n g.loadSave(\"testData1.txt\");\r\n \r\n Territory wa = m.getTerritory(\"West Africa\");\r\n Territory eg = m.getTerritory(\"Egypt\");\r\n \r\n for (int i = 0; i < 9; i++) {\r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n }\r\n assertEquals(GamePhase.OFFENSE_BLUE, g.phase());\r\n assertEquals(9, wa.getTroops());\r\n \r\n DieRollGenerator.rigDice(new int[] {4, 2, 2, 1});\r\n \r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n //Clicks in Egypt, valid\r\n m.handleClick(442, 240);\r\n \r\n assertEquals(8, wa.getTroops());\r\n assertEquals(1, eg.getTroops());\r\n assertEquals(g.getBlue(), wa.getOwner());\r\n assertEquals(g.getRed(), eg.getOwner());\r\n assertEquals(15, g.getBlue().getScore());\r\n assertEquals(7, g.getRed().getScore()); \r\n }", "title": "" }, { "docid": "e3a52f1e0f43be3506b25c89f89d2a9a", "score": "0.60462713", "text": "@Test\n public void testGetDonorsRegionSouthlandOrNorthland() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, null, \"Southland, Northland\", null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List<DonorReceiverSummary> donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleMonsteraJade = findFourDonors(donors, SNAKE, FIDDLE, MONSTERA, JADE);\n assertFalse(foundSnakeFiddleMonsteraJade[0]);\n assertFalse(foundSnakeFiddleMonsteraJade[1]);\n assertTrue(foundSnakeFiddleMonsteraJade[2]);\n assertTrue(foundSnakeFiddleMonsteraJade[3]);\n } else {\n printCannotRunTests();\n }\n }", "title": "" }, { "docid": "e94c5e3a3f011f71f4d81519f59e03f5", "score": "0.5899979", "text": "public void testGetIsCoordinatingCenter(){\r\n\t\tStudy study = new LocalStudy();\r\n\t\tStudyCoordinatingCenter studyCoordinatingCenter = new StudyCoordinatingCenter();\r\n\t\tHealthcareSite healthcareSite = new LocalHealthcareSite();\r\n\t\tstudyCoordinatingCenter.setHealthcareSite(healthcareSite);\r\n\t\thealthcareSite.setCtepCode(\"NCIID\", true);\r\n\r\n\t\tstudy.getStudyCoordinatingCenters().add(studyCoordinatingCenter);\r\n\r\n\t\tStudyOrganization studyOrganization = new StudySite();\r\n\t\tstudyOrganization.setHealthcareSite(healthcareSite);\r\n\t\tstudyOrganization.setStudy(study);\r\n\r\n\t\tassertTrue(studyOrganization.getIsCoordinatingCenter());\r\n\t}", "title": "" }, { "docid": "fb92fff6db8a92e40b4fafeaeedf064b", "score": "0.5896225", "text": "public void testGetWinCondition() {\r\n assertEquals(false, f_nowhere.getWinCondition().booleanValue());\r\n assertEquals(true, f_Columbus.getWinCondition().booleanValue());\r\n }", "title": "" }, { "docid": "e49e53a370ddb0de1eb693a958ce8523", "score": "0.5850105", "text": "@Test\n\tpublic void testeandoAtacar() {\n\t\t\n\t\tAssert.assertEquals( true, jose.atacar(ronaldo));\n\t\t\n\t\tAssert.assertEquals( 190, ronaldo.getSalud(),0);\n\t\tAssert.assertEquals( 90, jose.getEnergia(),0);\n\t}", "title": "" }, { "docid": "5bd3eec0a854489e4a7c4641557a920c", "score": "0.5838965", "text": "@Test\n public void toBeAngry() {\n Armchair armchair = new Armchair(ArmchairState.NORMAL);\n armchair.breakDown();\n VogonJeltz jeltz = new VogonJeltz(JeltzState.INAGOODMOOD);\n jeltz.become_angry(armchair);\n Assert.assertEquals(JeltzState.ANGRY, jeltz.getJeltzState());\n }", "title": "" }, { "docid": "f0fa116b2e0a566c2da029d70c466de4", "score": "0.583333", "text": "public void testBeesFar2()\n { \n chamber.beesInChamber();\n assertEquals(false, chamber.beesInChamber()); \n \n }", "title": "" }, { "docid": "d1326c2a1be3e3b68bd2eee4c4656af1", "score": "0.57967436", "text": "public void testSecureIndianSettlementMissionIgnoreNavalThreat() {\n Game game = ServerTestHelper.startServerGame(getCoastTestMap(plainsType));\n Map map = game.getMap();\n AIMain aiMain = ServerTestHelper.getServer().getAIMain();\n InGameController igc = ServerTestHelper.getInGameController();\n\n // Create player and unit\n ServerPlayer inca = (ServerPlayer) game.getPlayer(\"model.nation.inca\");\n NativeAIPlayer aiInca = (NativeAIPlayer)aiMain.getAIPlayer(inca);\n ServerPlayer dutch = (ServerPlayer) game.getPlayer(\"model.nation.dutch\");\n\n Tile settlementTile = map.getTile(9, 9);\n Tile seaTile = map.getTile(10, 9);\n assertTrue(\"Settlement tile should be land\", settlementTile.isLand());\n assertFalse(\"Galleon tile should be ocean\", seaTile.isLand());\n FreeColTestCase.IndianSettlementBuilder builder\n = new FreeColTestCase.IndianSettlementBuilder(game);\n IndianSettlement camp = builder.player(inca)\n .settlementTile(settlementTile).initialBravesInCamp(10).build();\n Unit galleon = new ServerUnit(game, seaTile, dutch, galleonType);\n int unitsInGalleon = 6;\n for (int i = 0; i < unitsInGalleon; i++) {\n Unit artillery = new ServerUnit(game, settlementTile, dutch,\n artilleryType);\n igc.embarkUnit(dutch, artillery, galleon);\n }\n assertEquals(\"Wrong number of units onboard galleon\", unitsInGalleon,\n galleon.getUnitCount());\n assertEquals(\"Galleon should be full\", 0, galleon.getSpaceLeft());\n\n for (Unit brave : camp.getUnitList()) {\n AIUnit aiUnit = aiMain.getAIUnit(brave);\n assertNotNull(aiUnit);\n aiUnit.setMission(new UnitWanderHostileMission(aiMain, aiUnit));\n assertEquals(\"No enemy units present\",\n UnitWanderHostileMission.class,\n aiUnit.getMission().getClass());\n }\n\n inca.setStance(dutch, Stance.WAR);\n inca.setTension(dutch, new Tension(Tension.Level.HATEFUL.getLimit()));\n assertTrue(\"Indian player should be at war with dutch\",\n inca.getStance(dutch) == Stance.WAR);\n assertEquals(\"Wrong Indian player tension towards dutch\",\n Tension.Level.HATEFUL.getLimit(),\n inca.getTension(dutch).getValue());\n\n aiInca.abortInvalidAndOneTimeMissions();\n aiInca.secureIndianSettlement(camp);\n boolean seeking = false;\n for (Unit brave : inca.getUnits()) {\n AIUnit aiUnit = aiMain.getAIUnit(brave);\n assertNotNull(aiUnit);\n if (aiUnit.getMission() instanceof UnitSeekAndDestroyMission) {\n seeking = true;\n break;\n }\n }\n assertFalse(\"Braves should not pursue naval units\", seeking);\n }", "title": "" }, { "docid": "7494c1fb8d70521eedbf0d564a4874dd", "score": "0.57819325", "text": "@Test\n\tpublic void testAccusation() {\n\t\tgame.setSolution(\"Frodo\", \"Dagger\", \"The Shire\");\n\t\t\n\t\t// Tests to make sure that the function won't return true person isn't correct\n\t\tassertFalse(game.checkAccusation(new Solution(\"Gollum\", \"Dagger\", \"The Shire\")));\n\t\t\n\t\t// Tests to make sure that the function won't return true weapon isn't correct\n\t\tassertFalse(game.checkAccusation(new Solution(\"Frodo\", \"Wizard Staff\", \"The Shire\")));\n\t\t\t\t\n\t\t// Tests to make sure that the function won't return true room isn't correct\n\t\tassertFalse(game.checkAccusation(new Solution(\"Frodo\", \"Dagger\", \"Rivendell\")));\n\t\t\n\t\t// Verifies that the function will return true when the correct values are put in\n\t\tassertTrue(game.checkAccusation(new Solution(\"Frodo\", \"Dagger\", \"The Shire\")));\n\t}", "title": "" }, { "docid": "4cdb6d49bc24c7756c2b1e8f0ce81c43", "score": "0.57741106", "text": "public void testBeesFar1()\n { \n\n colony.add(bee1, 1, 3);\n run(colony, 260);\n bee1.act();\n chamber.beesInChamber();\n assertEquals(true, chamber.beesInChamber()); \n \n }", "title": "" }, { "docid": "9280fd7633f12f489816ce264a380133", "score": "0.57644767", "text": "@Test\n\tpublic void queDetectaConexionUbicacion() {\n\n\t\tString entrada = \"taberna\";\n\t\tConexion conexionDevuelta = analizador.contieneConexion(entrada, this.muelle.getConexiones());\n\t\tAssert.assertEquals(this.surMuelle, conexionDevuelta);\n\t}", "title": "" }, { "docid": "6f094d6d7ab24992b80c304ceb8c0e40", "score": "0.5735628", "text": "@Test\n public void willAnnoyed() {\n Planet planet = new Planet(PlanetState.NOTDESTOYED, PlanetPopulation.UNINHABITED);\n planet.destroy();\n planet.populate();\n VogonJeltz jeltz = new VogonJeltz(JeltzState.NORMAL);\n jeltz.toBeAnnoyed(planet);\n Assert.assertEquals(JeltzState.ANNOYED, jeltz.getJeltzState());\n }", "title": "" }, { "docid": "2cca20d898b2b8d8de27ea641197f6bb", "score": "0.57237685", "text": "private Territory botchooseAttackingTerritory() {\n\t\tTelegramBot bot = new TelegramBot();\n\t\tboolean undo = true;\n\t\tTerritory tempTerritory = new Territory();\n\t\twhile(undo) {\n\t\t\tPlayer currentPlayer = players.get(currentPlayerIndex);\n\t\t\ttempTerritory = currentPlayer.botchooseAttackingTerritory(getPlayersTerritories(currentPlayer), territories, this);\n\t\t\tif(tempTerritory == null) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tString confirmationMessage = \"You have chosen to attack from \" + tempTerritory.getTerritoryName() + \" --yes/no\";\n\t\t\tString n = null;\n\t\t\tbot.sendplayer(confirmationMessage);\n\t\t\tbot.cleanmessage();\n\t\t\tint counter = 0;\n\t\t\twhile(bot.getmessage() == null && counter < 30) {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\tcounter++;\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(bot.getmessage()!=null) {\n\t\t\t\tn = bot.getmessage();\n\t\t\t}\n\t\t\tif(n.equals(\"no\")) {\n\t\t\t\tif(currentPlayer.getCredits() > 0){\n\t\t\t\t\tcurrentPlayer.useCredits(currentPlayer.getCredits()-1);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\t//JOptionPane.showMessageDialog(null, \"You do not have enough credits to undo your action.\");\n\t\t\t\t\tString inputMessage = \"You do not have enough credits to undo your action.\";\n\t\t\t\t\tbot.sendplayer(inputMessage);\n\t\t\t\t\ttimedAcknowledgement(inputMessage);\n\t\t\t\t\tundo = false;\n\t\t\t\t}\n\t\t\t} else if (n.equals(\"yes\")) {\n\t\t\t\tundo = false;\n\t\t\t}\n\t\t}\n\t\treturn tempTerritory;\n\t}", "title": "" }, { "docid": "1aabb79fc684bcc98d0e8d8bc96c247a", "score": "0.57158214", "text": "@Test\n\tpublic void testNotSuicide() {\n\t\tGameStatus status = new GameStatus(model, alien);\n\t\tnew Attack(status).attackMove();\n\t\tassertTrue(alien.isInGame());\n\t}", "title": "" }, { "docid": "3a0043b20370ebeda00ff18acf8dc5e8", "score": "0.5707072", "text": "@Test\n public void companyComplete() {\n Organization c1 = new Organization(\"Google\", 100);\n assertTrue((c1.getOrgName() !=null) && c1.getEmployeeCount() > 0 );\n\n }", "title": "" }, { "docid": "cf14085020c0d807a31d031bd7ddaf11", "score": "0.57012624", "text": "public void testGetStereotypeCompartment() {\n assertNotNull(\"Test method for 'getStereotypeCompartment()' failed.\", transition.getStereotypeCompartment());\n }", "title": "" }, { "docid": "6179f8816e291375cab91392f1ad9cef", "score": "0.5697259", "text": "public void testGetContestPrizeAccuracy2() throws Exception {\n ContestPrize contestPrize = bean.getContestPrize(new TCSubject(1), 1, false);\n assertEquals(\"Expects the contest prize is returned properly.\", 1, contestPrize.getContestId());\n assertFalse(\"Expects the contest prize is returned properly.\", contestPrize.isStudio());\n }", "title": "" }, { "docid": "ab25c059a54ded833cc12c32a1db7445", "score": "0.56923854", "text": "void attackTerritory(Territory from, Territory to, int troopCount) throws NotYourTerritoryException, NotANeigbourException, NotEnoughTroopsException;", "title": "" }, { "docid": "4d3d75ea94b0e75e2dfd251c2daa7e5d", "score": "0.5690519", "text": "@Test //Trying to attack nothing is ignored\r\n public void userSwitchesAttackTargetFromNothingToValid() {\r\n g.runInv();\r\n g.loadSave(\"testData3.txt\");\r\n \r\n Territory wa = m.getTerritory(\"West Africa\");\r\n Territory eg = m.getTerritory(\"Egypt\");\r\n Territory ng = m.getTerritory(\"New Guinea\");\r\n \r\n for (int i = 0; i < 8; i++) {\r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n }\r\n assertEquals(GamePhase.OFFENSE_BLUE, g.phase());\r\n assertEquals(10, wa.getTroops());\r\n assertEquals(2, eg.getTroops());\r\n assertEquals(2, ng.getTroops());\r\n \r\n DieRollGenerator.rigDice(new int[] {2, 6, 4, 4, 1});\r\n \r\n //Clicks in West Africa, valid\r\n m.handleClick(350, 250);\r\n //Clicks in ocean, invalid\r\n m.handleClick(0, 250);\r\n //Clicks in Egypt, valid\r\n m.handleClick(442, 240);\r\n \r\n assertEquals(9, wa.getTroops());\r\n assertEquals(1, eg.getTroops());\r\n assertEquals(2, ng.getTroops());\r\n assertEquals(g.getBlue(), wa.getOwner());\r\n assertEquals(g.getRed(), eg.getOwner());\r\n assertEquals(0, g.getBlue().getScore());\r\n assertEquals(0, g.getRed().getScore()); \r\n }", "title": "" }, { "docid": "932855b3ce72a5839143a64190cafba7", "score": "0.56773007", "text": "@Override\n\t\tpublic boolean goalTest() {\n\t\t\treturn ((this.state[0] == goalm) && (this.state[1] == goalc) && (this.state[2] == goalb)); \n\t\t}", "title": "" }, { "docid": "f410a67871b6f9f81c2ce4e6e71a4e37", "score": "0.5668324", "text": "private boolean csDoAssignedWork(Random random, ChangeSet cs) {\n ServerPlayer owner = (ServerPlayer) getOwner();\n \n switch (getState()) {\n case IMPROVING:\n // Has the improvement been completed already? Do nothing.\n TileImprovement ti = getWorkImprovement();\n if (ti.isComplete()) {\n setState(UnitState.ACTIVE);\n return false;\n }\n \n // Otherwise do work\n int amount = (getType().hasAbility(\"model.ability.expertPioneer\"))\n ? 2 : 1;\n int turns = ti.getTurnsToComplete();\n if ((turns -= amount) < 0) turns = 0;\n ti.setTurnsToComplete(turns);\n setWorkLeft(turns);\n break;\n case TO_AMERICA:\n if (getOwner().isREF()) { // Shorter travel to America for the REF\n setWorkLeft(0);\n break;\n }\n // Fall through\n default:\n setWorkLeft(getWorkLeft() - 1);\n break;\n }\n \n if (getWorkLeft() == 0) {\n setWorkLeft(-1);\n switch (getState()) {\n case TO_EUROPE:\n logger.info(toString() + \" arrives in Europe\");\n if (getTradeRoute() != null) {\n setMovesLeft(0);\n setState(UnitState.ACTIVE);\n return false;\n }\n Europe europe = owner.getEurope();\n cs.addMessage(See.only(owner),\n new ModelMessage(ModelMessage.MessageType.DEFAULT,\n \"model.unit.arriveInEurope\",\n europe, this)\n .add(\"%europe%\", europe.getNameKey()));\n setState(UnitState.ACTIVE);\n break;\n case TO_AMERICA:\n logger.info(toString() + \" arrives in America\");\n csMove(getVacantEntryLocation(random), random, cs);\n break;\n case FORTIFYING:\n setState(UnitState.FORTIFIED);\n break;\n case IMPROVING:\n csImproveTile(random, cs);\n return true;\n default:\n logger.warning(\"Unknown work completed, state=\" + getState());\n setState(UnitState.ACTIVE);\n break;\n }\n }\n return false;\n }", "title": "" }, { "docid": "cd16f0b5d41e109698f9ddcf35b07ef5", "score": "0.565076", "text": "@Test\r\n\tpublic void canPutInside1(){\n\t\tChest c = new Chest(null, 0, 0, \"\", \"\",false,null, true, new ArrayList<Pickup>());\r\n\t\tWallet w = new Wallet(null, 0, 0, null, null);\r\n\t\tassertTrue(c.canPutInside(w));\r\n\t}", "title": "" }, { "docid": "a203c88cbddda416522c2654ac24ded5", "score": "0.5645085", "text": "public void testSting()\n { \n bee1 = new Bee();\n colony.add(bee1, 5, 4);\n harant = new HarvesterAnt();\n colony.add(harant, 4, 4);\n run(colony, 260);\n bee1.act();\n assertEquals(0, harant.getHealth()); \n assertEquals(3, bee1.getHealth()); \n \n }", "title": "" }, { "docid": "f7e850150c8541d0bb539090b9251a07", "score": "0.56401145", "text": "@Test\n public final void testBranchCoverageAdmin() {\n account.setBanned(false);\n account.setLocked(false);\n account.setAdmin(true);\n assertEquals(\"Administrator\", account.getStatus());\n }", "title": "" }, { "docid": "410c8e957333fb24caeb2bfedcd606c4", "score": "0.56360096", "text": "@Test\n public void testFortifyByC() {\n \n Map<String, Integer> territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \"30\", 30);\n Map<String, Integer> territoryB = performDeltaOnTerritory(getTerritories(PLAYER_B), \"15\", 1);\n \n Map<String, Object> state = ImmutableMap.<String, Object>builder()\n .put(GameResources.PHASE, GameResources.FORTIFY)\n .put(PLAYER_A, ImmutableMap.<String, Object>of(\n GameResources.CARDS, ImmutableList.<Integer>of(0),\n GameResources.TERRITORY, getTerritories(PLAYER_A),\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\n .put(PLAYER_B, ImmutableMap.<String, Object>of(\n GameResources.CARDS, ImmutableList.<Integer>of(1),\n GameResources.TERRITORY, territoryB,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\n .put(PLAYER_C, ImmutableMap.<String, Object>of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING))\n .put(GameResources.TURN_ORDER, ImmutableList.<String>of(CID, BID, AID))\n .put(GameResources.DECK, getCardsInRange(2, 43))\n .build();\n \n territoryC = performDeltaOnTerritory(territoryC, \"30\", -2);\n territoryC = performDeltaOnTerritory(territoryC, \"38\", 2);\n \n List<Operation> fortifyTerritoryOfC = ImmutableList.<Operation>of(\n new SetTurn(BID),\n new Set(PLAYER_C, ImmutableMap.<String, Object>of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n\n // Check valid move\n assertMoveOk(move(CID, state, fortifyTerritoryOfC));\n\n // Check invalid move - wrong turn, from invalid states\n assertHacker(move(BID, state, fortifyTerritoryOfC));\n assertHacker(move(CID, GameResources.EMPTYSTATE, fortifyTerritoryOfC));\n assertHacker(move(CID, GameResources.NONEMPTYSTATE, fortifyTerritoryOfC));\n\n territoryB = performDeltaOnTerritory(territoryB, \"15\", -1);\n territoryB = performDeltaOnTerritory(territoryB, \"16\", 1);\n \n List<Operation> fortifyTerritoryOfBInWrongTurn = ImmutableList.<Operation>of(\n new SetTurn(BID),\n new Set(PLAYER_B, ImmutableMap.<String, Object>of(\n GameResources.CARDS, ImmutableList.<Integer>of(1),\n GameResources.TERRITORY, territoryB,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n \n assertHacker(move(CID, state, fortifyTerritoryOfBInWrongTurn));\n \n territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \"30\", -5);\n territoryC = performDeltaOnTerritory(territoryC, \"38\", 2);\n territoryC = performDeltaOnTerritory(territoryC, \"41\", 3);\n\n List<Operation> fortifyTerritoryOfCWithInvalidMove = ImmutableList.<Operation>of(\n new SetTurn(BID),\n new Set(PLAYER_C, ImmutableMap.<String, Object>of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n\n assertHacker(move(CID, state, fortifyTerritoryOfCWithInvalidMove));\n\n territoryC = performDeltaOnTerritory(getTerritories(PLAYER_C), \"30\", -5);\n territoryC = performDeltaOnTerritory(territoryC, \"38\", 2);\n\n List<Operation> fortifyTerritoryOfCWithIncorrectNumberOfUnits = ImmutableList.<Operation>of(\n new SetTurn(BID),\n new Set(PLAYER_C, ImmutableMap.<String, Object>of(\n GameResources.CARDS, GameResources.EMPTYLISTINT,\n GameResources.TERRITORY, territoryC,\n GameResources.UNCLAIMED_UNITS, 0,\n GameResources.CONTINENT, GameResources.EMPTYLISTSTRING)),\n new Set(GameResources.PHASE, GameResources.CARD_TRADE));\n\n assertHacker(move(CID, state, fortifyTerritoryOfCWithIncorrectNumberOfUnits));\n }", "title": "" }, { "docid": "ef00ec9c092142a0ee5677a235f732c4", "score": "0.5632053", "text": "public void testIsTravelAllowedToward() {\r\n for (final Navigation d : Navigation.values()) {\r\n assertFalse(f_nowhere.isTravelAllowedToward(d));\r\n }\r\n for (final Navigation d : Navigation.values()) {\r\n if (d == Navigation.EAST) {\r\n assertTrue(f_Dayton.isTravelAllowedToward(d));\r\n } else {\r\n assertFalse(f_Dayton.isTravelAllowedToward(d));\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c5e13fb9983ba804f18fe430c3c7a549", "score": "0.56209874", "text": "public void testGetTravelDestinationToward() {\r\n for (final Navigation d : Navigation.values()) {\r\n assertNull(f_nowhere.getTravelDestinationToward(d));\r\n }\r\n for (final Navigation d : Navigation.values()) {\r\n if (d == Navigation.EAST) {\r\n assertEquals(f_Dayton.getTravelDestinationToward(d), f_Columbus);\r\n } else {\r\n assertNull(f_Dayton.getTravelDestinationToward(d));\r\n }\r\n }\r\n }", "title": "" }, { "docid": "64dc8c929086315c7d224fd1f1b91663", "score": "0.5605535", "text": "@Test\r\n\tpublic void testVacantLandWithCharity() {\r\n\t\t//creating object using default constructor\r\n\t\tVacantLand res= new VacantLand();\r\n\t\tres.setCapitalImprovedValue(400000);\r\n\t\t//setting the charity of owner to true\r\n\t\tres.getOwner().setCharity(true);\r\n\t\tres.setUpExtraServices();\r\n\t\tdouble value=res.calculateRates();\r\n\t\t//validating that rate calculated is correct with 20% discount\r\n\t\tassertEquals(value, 478.0-478.0*0.20, 0.0001);\r\n\t}", "title": "" }, { "docid": "6f08047e03752f30f2cbebb4162f57e8", "score": "0.5604889", "text": "@Test\n public void testIsEstadoCandidaturasAtribuidas() {\n System.out.println(\"isEstadoCandidaturasAtribuidas\");\n Exposicao m_e = new Exposicao ();\n ExposicaoCandidaturaAtribuidaStandState instance= new ExposicaoCandidaturaAtribuidaStandState (m_e) ;\n \n boolean expResult = true;\n boolean result = instance.isEstadoCandidaturasAtribuidas();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "568a27ea8840ee870e64a63ecc71d32a", "score": "0.55898935", "text": "public void testAntInjure()\n { \n WallAnt want = new WallAnt();\n colony.add(want, 5, 5);\n colony.add(bee1, 6, 5);\n run(colony, 100);\n bee1.act();\n assertEquals(3, want.getHealth()); \n \n }", "title": "" }, { "docid": "43d4caaf9e5848965c6ecae7f2fdce2a", "score": "0.55763805", "text": "@Test\r\n\tpublic void testTollLocation1() {\n\t\tSystem.out.println(\"*** testTollLocation1\");\r\n \tint[][] graph = {\r\n {0, 1, 1, 5}, // 0 is source\r\n {INF, 0, 1, 1},\r\n {INF, INF, 0, 1},\r\n {INF, INF, INF, 0}, // 3 is destination\r\n };\r\n \t\r\n \t\r\n TollLocation tollLocation = new TollLocation();\r\n Map<String, Integer> tollMap = new HashMap<String, Integer>();\r\n boolean doesSolutionExist = tollLocation.findTollLocations(graph, tollMap);\r\n assertTrue(!doesSolutionExist);\r\n\t}", "title": "" }, { "docid": "3bbe2af99192025f84deeb4a953c6228", "score": "0.55761486", "text": "@Test\n public void testGetAssistants() {\n System.out.println(\"getAssistants()\");\n \n controllingCreator = new ControllingCreator(employment.getYear(),\n employment.getMonth(), costUnit);\n \n ControllingAssistant expectedAssistant = new ControllingAssistant();\n expectedAssistant.setFirstName(assistant.getFirstName());\n expectedAssistant.setLastName(assistant.getLastName());\n new BalanceHelper();\n expectedAssistant.setCosts(0);\n expectedAssistant.setFlagged(true);\n \n assertEquals(controllingCreator.getAssistants(false).get(0).toString(),\n expectedAssistant.toString());\n }", "title": "" }, { "docid": "0fc2f393e607cb09d450d7741e1cf956", "score": "0.5572357", "text": "@Test\n public void notToBeAngry() {\n Armchair armchair = new Armchair(ArmchairState.NORMAL);\n armchair.creak();\n VogonJeltz jeltz = new VogonJeltz(JeltzState.NORMAL);\n jeltz.become_angry(armchair);\n Assert.assertNotEquals(JeltzState.ANGRY, jeltz.getJeltzState());\n }", "title": "" }, { "docid": "e80277b5ab03a8710db49e578750c89c", "score": "0.55714315", "text": "@Test\n public void getParentalControlStatusTest(){\n\n testTarget.turnParentalControlOn(false);\n assertEquals(\"Parental Control Mode Off\", testTarget.getParentalControlStatus());\n assertEquals(false, testTarget.getParentalControlModeOn());\n\n testTarget.turnParentalControlOn(true);\n assertEquals(\"Parental Control Mode On\", testTarget.getParentalControlStatus());\n assertEquals(true, testTarget.getParentalControlModeOn());\n }", "title": "" }, { "docid": "ceb3203b95f3157fc6dd000cc866c690", "score": "0.55624545", "text": "void assertGameSituation(int treasury, int player1_cards, int player1_coins, int player2_cards, int player2_coins) {\n Assertions.assertEquals(treasury, game.theTable().treasury().coins());\n Assertions.assertEquals(11, game.theTable().courtDeck().cards().size());\n\n Assertions.assertEquals(player1_cards, game.theTable().player(1).influenceDeck().cards().size());\n Assertions.assertEquals(player1_coins, game.theTable().player(1).wallet().coins());\n\n Assertions.assertEquals(player2_cards, game.theTable().player(2).influenceDeck().cards().size());\n Assertions.assertEquals(player2_coins, game.theTable().player(2).wallet().coins());\n }", "title": "" }, { "docid": "36bd8af90ef419ea94e67ee37a1a58b4", "score": "0.5559583", "text": "@Test\n public final void testBranchCoverageNone() {\n account.setBanned(false);\n account.setLocked(false);\n account.setAdmin(false);\n assertEquals(\"Active\", account.getStatus());\n }", "title": "" }, { "docid": "38fd549d80c3ff59df679036718ec152", "score": "0.55583197", "text": "private void assertTrue(ContaCorrente instance2) {\n\r\n\t\t}", "title": "" }, { "docid": "1a50f63158ea649f2a7c951fc6c6bb38", "score": "0.55575174", "text": "@Test\r\n\tpublic void testHospitalCharity() {\r\n\t\t//creating object using default constructor\r\n\t\tHospital res= new Hospital();\r\n\t\tres.setCapitalImprovedValue(400000);\r\n\t\tres.getOwner().setCharity(false);\r\n\r\n\t\t//calculating extra service charge\r\n\t\tres.setUpExtraServices();\r\n\t\tdouble value=res.calculateRates();\r\n\t\tassertEquals(value, 4068, 0.0001);\r\n\t}", "title": "" }, { "docid": "4ecc32caed7d8aff5839dff9ecf69d22", "score": "0.5547897", "text": "@Test\r\n public void testConfirmaUtilizador() {\r\n System.out.println(\"confirmaUtilizador\");\r\n Utilizador u = new Utilizador();\r\n RegistoUtilizadores instance = new RegistoUtilizadores();\r\n boolean expResult = true;\r\n boolean result = instance.confirmaUtilizador(u);\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "57b310e299b4b4217b04902305fcfdca", "score": "0.55431056", "text": "public void testGetContestPrizeAccuracy1() throws Exception {\n ContestPrize contestPrize = bean.getContestPrize(new TCSubject(1), 1, true);\n assertEquals(\"Expects the contest prize is returned properly.\", 1, contestPrize.getContestId());\n assertTrue(\"Expects the contest prize is returned properly.\", contestPrize.isStudio());\n }", "title": "" }, { "docid": "fdf08d126046e78fa75fb709ffac78dc", "score": "0.5541539", "text": "public final void testClientBuys() {\n assertFalse(client1.hasADose());\n\n dealer.sell();\n\n assertTrue(\"Client should have a dose because\", client1.hasADose());\n }", "title": "" }, { "docid": "25f1d4abde52a62c57ff06dfaf974e7a", "score": "0.5539486", "text": "@Test public void performSpecialAttackTest2(){\n String[] gSpecialAtks = {\"Leaf Blade\", \"Petal Blizzard\", \"Power Whip\",\"Seed Bomb\", \"Solar Beam\"};\n Pokemon p = new Bulbasaur();\n Pokemon p2 = new Squirtle();\n String pSA = p.getSpecialAttack();\n int i = 0;\n boolean pAtkGrass = false;\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\n i++;\n }\n if(pAtkGrass){\n Assert.assertEquals(\"String output from special attack on Water Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Squirtle\\n It was super effective!\",\n p.performSpecialAttack(p2));\n }else{\n Assert.assertEquals(\"String output from special attack on Water Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Squirtle\", p.performSpecialAttack(p2));\n }\n }", "title": "" }, { "docid": "ce0b92584cbebb538c563ddb2d86e605", "score": "0.5536643", "text": "public void testGetContestScheduleAccuracy2() throws Exception {\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 1, false);\n assertEquals(\"Expects the contestSchedule is returned properly.\", 1, contestSchedule.getContestId());\n assertFalse(\"Expects the contestSchedule is returned properly.\", contestSchedule.isStudio());\n }", "title": "" }, { "docid": "8a94376147943236c57dcce52add99fa", "score": "0.55229867", "text": "@Test public void performSpecialAttackTest3(){\n String[] gSpecialAtks = {\"Leaf Blade\", \"Petal Blizzard\", \"Power Whip\",\"Seed Bomb\", \"Solar Beam\"};\n Pokemon p = new Bulbasaur();\n Pokemon p2 = new Charmander();\n String pSA = p.getSpecialAttack();\n int i = 0;\n boolean pAtkGrass = false;\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\n i++;\n }\n if(pAtkGrass){\n Assert.assertEquals(\"String output from special attack on Fire Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Charmander\\n It was not very effective.\",\n p.performSpecialAttack(p2));\n }else{\n Assert.assertEquals(\"String output from special attack on Fire Type is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Charmander\", p.performSpecialAttack(p2));\n }\n }", "title": "" }, { "docid": "27d56412d9bec9eb1b846ef089557f8c", "score": "0.5511856", "text": "public void testChestIndrawingDangerSign() {\n \t// 1. Execute the Classification rule engine to determine patient classifications\n \t// 2. Execute the Treatment rule engine to determine patient treatments\n \texecuteRuleEngines();\n \n // 3. Has the correct number of classifications been determined?\n assertEquals(\"the actual number of patient classifications does not match the expected number\",\n \t\t 1, CcmRuleEngineUtilities.calculateStandardClassificationNumber(getPatientAssessment().getDiagnostics()));\n \n // 4. Has the correct classification been determined?\n assertEquals(\"incorrect classification assessed\", true, CcmRuleEngineUtilities.classificationPresent(getPatientAssessment().getDiagnostics(), \"Chest Indrawing\"));\n \n // 5. Have the correct number of treatments been determined?\n assertEquals(\"the actual number of patient treatments does not match the expected number\",\n \t\t 7, CcmRuleEngineUtilities.calculateTotalTreatmentNumber(getPatientAssessment().getDiagnostics()));\n \n // 6. Have the correct treatments been determined?\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"REFER URGENTLY to health facility\"));\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Explain why child needs to go to health facility\"));\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Advise to give fluids and continue feeding\"));\n \n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \n \t\t\"Give first dose of oral antibiotic (Cotrimoxazole adult tablet - 80/400) Age 12 months up to 5 years: 1 tablet\"));\n \n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Advise to keep child warm, if 'child is NOT hot with fever'\"));\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Write a referral note\"));\n assertEquals(\"incorrect treatment assessed\", true, CcmRuleEngineUtilities.treatmentPresent(getPatientAssessment().getDiagnostics(), \"Arrange transportation and help solve other difficulties in referral\"));\n }", "title": "" }, { "docid": "ad0d74dd4db298224d69e4f08cd4210f", "score": "0.55084795", "text": "@Test\r\n\tpublic\tvoid\ttestBattle()\t{\r\n\t\tOverallGame testGame\t=\tnew\tOverallGame();\r\n\t\ttestGame.setGameWindow(new\tgameWindow(testGame));\r\n\t\tGame3\t\ttestGame3\t=\tnew\tGame3(testGame);\r\n\t\ttestGame3.getTimer().stop();\r\n\t\ttestGame3.addPlant(0, 3, \"Mangrove\");\r\n\t\ttestGame3.getEnemies().set(0, new Runoff(0,4*Game3.scalor+Game3.xOffset));\r\n\t\ttestGame3.getEnemies().get(0).grow();\r\n\t\ttestGame3.getPlants().get(0).setStrength(testGame3.getEnemies().get(0).getHealth().get(1));\r\n\t\t//First\t\tTest\r\n\t\tint health\t=\t150;\r\n\t\ttestGame3.battle(testGame3.getPlants().get(0), testGame3.getEnemies().get(0));\r\n\t\tassertTrue(health\t== testGame3.getEnemies().get(0).getHealth().get(0));\r\n\t\t//Second\tTest\r\n\t\tassertTrue(testGame3.getEnemies().get(0).hasDied\t==\ttrue);\r\n\t\tassertTrue(testGame3.getEnemies().get(0).getLength()\t==\t1);\r\n\t\t//Third\t\tTest\r\n\t\tassertTrue(testGame3.getEnemies().get(0).getFront() != 4*Game3.scalor+Game3.xOffset);\r\n\t\t//Fourth\tTest\r\n\t\ttestGame3.getEnemies().get(0).setStrength(testGame3.getPlants().get(0).getHealth());\r\n\t\ttestGame3.battle(testGame3.getPlants().get(0), testGame3.getEnemies().get(0));\r\n\t\tassertTrue(testGame3.getPlants().size()\t==\t0);\r\n\t\tassertTrue(testGame3.getEnemies().get(0).getLength()\t==\t0);\r\n\t}", "title": "" }, { "docid": "b6e8de99de2b4f64a3978524921ca7b4", "score": "0.5505628", "text": "@Test\n public void testSameCity() {\n Customer customer1 = customerRepository.findByName(\"Beethoven\");\n //customer live in jerusalem\n Customer customer2 = customerRepository.findByName(\"Mozart\");\n //restaurant in jerusalem\n Restaurant restaurant = restaurantRepository.findByName(\"meat\");\n Date deliveryTime = new Date(\"10/23/2021 10:00:00\");\n\n Delivery delivery1 = waltService.createOrderAndAssignDriver(customer1, restaurant, deliveryTime);\n Delivery delivery2 = waltService.createOrderAndAssignDriver(customer2, restaurant, deliveryTime);\n\n assertNull(delivery1);\n assertNotNull(delivery2);\n assertEquals(delivery2.getDriver().getCity().getName(), delivery2.getRestaurant().getCity().getName());\n }", "title": "" }, { "docid": "224a563ee71e05f86ae2ff6071caf0ef", "score": "0.55003554", "text": "public void testRentedAndRenturned()\r\n {\r\n //test is rented\r\n adapter.rented();\r\n assertEquals(true, adapter.isRented());\r\n //test not rented\r\n adapter.returned();\r\n assertEquals(false, adapter.isRented());\r\n }", "title": "" }, { "docid": "8c12444f0387edef2a08fc46dadfb9b2", "score": "0.54982704", "text": "@Test\n public void testWithdraw()\n {\n Bank myBank = new Bank(\"Bank of America\");\n Money myBalance = new Money(400,50);\n Account myAccount = new Account(\"Haidar\", 1052382734, myBalance);\n myBank.addAccount(myAccount);\n Money myWithdraw = new Money(200,50);\n myBank.withdraw(1052382734, myWithdraw.getTotalCents());\n myAccount.deposit(myWithdraw.getTotalCents());\n\n assertEquals(\"Error in search\", myAccount, myBank.search(1052382734));\n\n }", "title": "" }, { "docid": "49540e5bba19bb57dc4ad3b5e263f0b4", "score": "0.5485016", "text": "@Test\n\tpublic void queDetectaConexionPuntoCardinal() {\n\n\t\tString entrada = \"sur\";\n\t\tConexion conexionDevuelta = analizador.contieneConexion(entrada, this.muelle.getConexiones());\n\t\tAssert.assertEquals(this.surMuelle, conexionDevuelta);\n\t}", "title": "" }, { "docid": "6b70daf4f4b7154a4ef69aab4d16a208", "score": "0.5481129", "text": "@Test public void performSpecialAttackTest1(){\n String[] gSpecialAtks = {\"Leaf Blade\", \"Petal Blizzard\", \"Power Whip\",\"Seed Bomb\", \"Solar Beam\"};\n Pokemon p = new Bulbasaur();\n Pokemon p2 = new Bulbasaur();\n String pSA = p.getSpecialAttack();\n int i = 0;\n boolean pAtkGrass = false;\n while((!pAtkGrass) && (i < gSpecialAtks.length)){\n pAtkGrass = pSA.equals(gSpecialAtks[i]);\n i++;\n }\n if(pAtkGrass){\n Assert.assertEquals(\"String output from special attack on Bulbasaur is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Bulbasaur\\n It was not very effective.\",\n p.performSpecialAttack(p2));\n }else{\n Assert.assertEquals(\"String output from special attack on Bulbasaur is not as expected\", \n \"Bulbasaur performed \" + pSA + \" on Bulbasaur\\n It was super effective!\", p.performSpecialAttack(p2));\n }\n }", "title": "" }, { "docid": "febf37445589b8683673f6dc9abe198e", "score": "0.54763967", "text": "@Test\n public void testEstAutoSteril() {\n Case[][] plateau = Utils.plateauDepuisTexte(PLATEAU2);\n\n assertTrue(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('a', 'A')));\n assertTrue(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('e', 'D')));\n assertFalse(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('f', 'D')));\n assertFalse(Utils.estAutoFéconde(plateau, Coordonnees.depuisCars('e', 'E')));\n }", "title": "" }, { "docid": "a40b0294370a5faa4ddfa9de3a4e8cd8", "score": "0.54709315", "text": "boolean hasTransArea();", "title": "" }, { "docid": "07c3b0440cee27c423f4fe3594e91be3", "score": "0.5470881", "text": "@Test //Drafting works as normal across two provinces\r\n public void draftClickingWorksTwoProvinces() {\r\n g.runInv();\r\n g.loadSave(\"testData1.txt\");\r\n \r\n Territory wa = m.getTerritory(\"West Africa\");\r\n Territory br = m.getTerritory(\"Brazil\");\r\n \r\n assertEquals(1, wa.getTroops());\r\n assertEquals(1, br.getTroops());\r\n \r\n //Within West Africa\r\n m.handleClick(350, 250);\r\n assertEquals(2, wa.getTroops());\r\n assertEquals(1, br.getTroops());\r\n \r\n m.handleClick(350, 250);\r\n assertEquals(3, wa.getTroops());\r\n assertEquals(1, br.getTroops());\r\n \r\n //Within Brazil\r\n m.handleClick(250, 300);\r\n assertEquals(3, wa.getTroops());\r\n assertEquals(2, br.getTroops());\r\n }", "title": "" }, { "docid": "c3cd65b887e28426e2af5da76e1fd0bb", "score": "0.5469005", "text": "@Override\r\n\tpublic void testCompletness() {\n\t}", "title": "" }, { "docid": "9b6bfcbf25085370e8467ed72fcc7006", "score": "0.54612327", "text": "@Test\n public void okTest() {\n assertEquals(plugin.evaulate(tender2).getType(),\n TenderIndicatorType.CORRUPTION_TAX_HAVEN.name());\n }", "title": "" }, { "docid": "baa7292b6894699462038e524a39be17", "score": "0.5460079", "text": "@Test\n public void TestPithingNeedle() {\n addCard(Zone.HAND, playerA, \"Pithing Needle\");\n addCard(Zone.BATTLEFIELD, playerA, \"Plains\", 1);\n addCard(Zone.BATTLEFIELD, playerA, \"Silvercoat Lion\", 1);\n addCard(Zone.LIBRARY, playerA, \"Pillarfield Ox\", 1);\n\n addCard(Zone.BATTLEFIELD, playerB, \"Island\", 3);\n // {2}{U}, {T}: Put target creature on the bottom of its owner's library.\n // That creature's controller reveals cards from the top of their library until they reveal a creature card.\n // The player puts that card onto the battlefield and the rest on the bottom of their library in any order.\n // Activate this ability only any time you could cast a sorcery.\n addCard(Zone.BATTLEFIELD, playerB, \"Proteus Staff\", 1);\n\n addCard(Zone.BATTLEFIELD, playerC, \"Island\", 3);\n addCard(Zone.BATTLEFIELD, playerC, \"Proteus Staff\", 1);\n addCard(Zone.BATTLEFIELD, playerC, \"Wall of Air\", 1);\n addCard(Zone.LIBRARY, playerC, \"Wind Drake\", 2);\n\n addCard(Zone.BATTLEFIELD, playerD, \"Island\", 3);\n addCard(Zone.BATTLEFIELD, playerD, \"Eager Cadet\", 1);\n addCard(Zone.LIBRARY, playerD, \"Storm Crow\", 2);\n\n skipInitShuffling();\n\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \"Pithing Needle\");\n setChoice(playerA, \"Proteus Staff\");\n\n activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerC, \"{2}{U}\", \"Eager Cadet\"); // allowed because Needle out of range\n\n activateAbility(4, PhaseStep.PRECOMBAT_MAIN, playerB, \"{2}{U}\", \"Wall of Air\"); // not allowed\n\n setStopAt(4, PhaseStep.END_TURN);\n try {\n execute();\n Assert.fail(\"must throw exception on execute\");\n } catch (Throwable e) {\n if (!e.getMessage().contains(\"Can't find ability to activate command: {2}{U}$target=Wall of Air\")) {\n Assert.fail(\"Should have thrown an error about PlayerB not being able to use the staff to target Wall of Air, but got:\\n\" + e.getMessage());\n }\n }\n\n assertPermanentCount(playerD, \"Eager Cadet\", 0);\n assertPermanentCount(playerD, \"Storm Crow\", 1);\n assertPermanentCount(playerC, \"Wall of Air\", 1);\n assertPermanentCount(playerC, \"Wind Drake\", 0);\n }", "title": "" }, { "docid": "4647a10bf18a4f5ae99b83339cef097d", "score": "0.5455974", "text": "@Test\r\n\tpublic void testAdd_Territory() {\r\n\t\tnew_continent = new Continent(\"new_continent_name\" , 1);\r\n\t\tnew_territory = new Territory(\"new_territory_name\",120,300,\"test_name_continent\");\r\n\t\tboolean result = new_continent.Add_Territory(new_territory);\r\n\t\tAssert.assertTrue(result);\r\n\t}", "title": "" }, { "docid": "345b1a4e132bf629d8977e25ce05ece6", "score": "0.5449961", "text": "@Test\n public void testBordering(){\n Territory Alaska = new Territory(\"Alaska\");\n Territory Alberta = new Territory(\"Alberta\");\n Alaska.addBorderTerritories(Alberta);\n Alberta.addBorderTerritories(Alaska);\n assertEquals(\"Alaska\",Alberta.getBorderTerritories().get(0).getName());\n assertEquals(\"Alberta\",Alaska.getBorderTerritories().get(0).getName());\n }", "title": "" }, { "docid": "cdecfd55de1cfea7fa6c8f8ce7e3950b", "score": "0.54462236", "text": "@Test\n public void hasSpecialAbility(){\n dwarve.specialAbility();\n assertEquals(8, dwarve.getBaseAttack());\n assertEquals(6, dwarve.getBaseResistance());\n }", "title": "" }, { "docid": "09aa4d6753bab4aba1d48ef559c97aca", "score": "0.5443814", "text": "boolean hasTransAgency();", "title": "" }, { "docid": "ff7a8055b894421b5fe3290a087bd574", "score": "0.5442859", "text": "public void testCargoFromHongkongToStockholm() throws Exception {\n Location origin = HONGKONG;\n Location destination = STOCKHOLM;\n Date arrivalDeadline = toDate(\"2009-03-18\");\n\n /*\n * Use case 1: booking A new cargo is booked, and the unique tracking id is\n * assigned to the cargo.\n */\n TrackingId trackingId = bookingService.bookNewCargo(origin.unLocode(),\n destination.unLocode(),\n arrivalDeadline);\n\n /*\n * The tracking id can be used to lookup the cargo in the repository.\n * Important: The cargo, and thus the domain model, is responsible for\n * determining the status of the cargo, whether it is on the right track or\n * not and so on. This is core domain logic. Tracking the cargo basically\n * amounts to presenting information extracted from the cargo aggregate in a\n * suitable way.\n */\n Cargo cargo = cargoRepository.find(trackingId);\n assertNotNull(cargo);\n assertEquals(NOT_RECEIVED, cargo.delivery().transportStatus());\n assertEquals(NOT_ROUTED, cargo.delivery().routingStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertNull(cargo.delivery().estimatedTimeOfArrival());\n assertNull(cargo.delivery().nextExpectedActivity());\n\n /*\n * Use case 2: routing A number of possible routes for this cargo is\n * requested and may be presented to the customer in some way for him/her to\n * choose from. Selection could be affected by things like price and time of\n * delivery, but this test simply uses an arbitrary selection to mimic that\n * process. The cargo is then assigned to the selected route, described by\n * an itinerary.\n */\n List<Itinerary> itineraries = bookingService.requestPossibleRoutesForCargo(trackingId);\n Itinerary itinerary = selectPreferedItinerary(itineraries);\n cargo.assignToRoute(itinerary);\n\n assertEquals(NOT_RECEIVED, cargo.delivery().transportStatus());\n assertEquals(ROUTED, cargo.delivery().routingStatus());\n assertNotNull(cargo.delivery().estimatedTimeOfArrival());\n assertEquals(new HandlingActivity(RECEIVE, HONGKONG), cargo.delivery().nextExpectedActivity());\n\n /*\n * Use case 3: handling A handling event registration attempt will be formed\n * from parsing the data coming in as a handling report either via the web\n * service interface or as an uploaded CSV file. The handling event factory\n * tries to create a HandlingEvent from the attempt, and if the factory\n * decides that this is a plausible handling event, it is stored. If the\n * attempt is invalid, for example if no cargo exists for the specfied\n * tracking id, the attempt is rejected. Handling begins: cargo is received\n * in Hongkong.\n */\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-01\"),\n trackingId,\n null,\n HONGKONG.unLocode(),\n RECEIVE);\n\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertEquals(HONGKONG, cargo.delivery().lastKnownLocation());\n\n // Next event: Load onto voyage CM003 in Hongkong\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-03\"),\n trackingId,\n v100.voyageNumber(),\n HONGKONG.unLocode(),\n LOAD);\n\n // Check current state - should be ok\n assertEquals(v100, cargo.delivery().currentVoyage());\n assertEquals(HONGKONG, cargo.delivery().lastKnownLocation());\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(UNLOAD, NEWYORK, v100), cargo.delivery().nextExpectedActivity());\n\n /*\n * Here's an attempt to register a handling event that's not valid because\n * there is no voyage with the specified voyage number, and there's no\n * location with the specified UN Locode either. This attempt will be\n * rejected and will not affect the cargo delivery in any way.\n */\n final VoyageNumber noSuchVoyageNumber = new VoyageNumber(\"XX000\");\n final UnLocode noSuchUnLocode = new UnLocode(\"ZZZZZ\");\n try {\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-05\"),\n trackingId,\n noSuchVoyageNumber,\n noSuchUnLocode,\n LOAD);\n fail(\"Should not be able to register a handling event with invalid location and voyage\");\n }\n catch (CannotCreateHandlingEventException expected) {\n }\n\n // Cargo is now (incorrectly) unloaded in Tokyo\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-05\"),\n trackingId,\n v100.voyageNumber(),\n TOKYO.unLocode(),\n UNLOAD);\n\n // Check current state - cargo is misdirected!\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(TOKYO, cargo.delivery().lastKnownLocation());\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertTrue(cargo.delivery().isMisdirected());\n assertNull(cargo.delivery().nextExpectedActivity());\n\n // -- Cargo needs to be rerouted --\n\n // TODO cleaner reroute from \"earliest location from where the new route originates\"\n\n // Specify a new route, this time from Tokyo (where it was incorrectly unloaded) to Stockholm\n RouteSpecification fromTokyo = new RouteSpecification(TOKYO, STOCKHOLM, arrivalDeadline);\n cargo.specifyNewRoute(fromTokyo);\n\n // The old itinerary does not satisfy the new specification\n assertEquals(MISROUTED, cargo.delivery().routingStatus());\n assertNull(cargo.delivery().nextExpectedActivity());\n\n // Repeat procedure of selecting one out of a number of possible routes satisfying the route spec\n List<Itinerary> newItineraries = bookingService.requestPossibleRoutesForCargo(cargo.trackingId());\n Itinerary newItinerary = selectPreferedItinerary(newItineraries);\n cargo.assignToRoute(newItinerary);\n\n // New itinerary should satisfy new route\n assertEquals(ROUTED, cargo.delivery().routingStatus());\n\n // TODO we can't handle the face that after a reroute, the cargo isn't misdirected anymore\n //assertFalse(cargo.isMisdirected());\n //assertEquals(new HandlingActivity(LOAD, TOKYO), cargo.nextExpectedActivity());\n\n // -- Cargo has been rerouted, shipping continues --\n\n // Load in Tokyo\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-08\"),\n trackingId,\n v300.voyageNumber(),\n TOKYO.unLocode(),\n LOAD);\n\n // Check current state - should be ok\n assertEquals(v300, cargo.delivery().currentVoyage());\n assertEquals(TOKYO, cargo.delivery().lastKnownLocation());\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(UNLOAD, HAMBURG, v300), cargo.delivery().nextExpectedActivity());\n\n // Unload in Hamburg\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-12\"),\n trackingId,\n v300.voyageNumber(),\n HAMBURG.unLocode(),\n UNLOAD);\n\n // Check current state - should be ok\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(HAMBURG, cargo.delivery().lastKnownLocation());\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(LOAD, HAMBURG, v400), cargo.delivery().nextExpectedActivity());\n\n // Load in Hamburg\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-14\"),\n trackingId,\n v400.voyageNumber(),\n HAMBURG.unLocode(),\n LOAD);\n\n // Check current state - should be ok\n assertEquals(v400, cargo.delivery().currentVoyage());\n assertEquals(HAMBURG, cargo.delivery().lastKnownLocation());\n assertEquals(ONBOARD_CARRIER, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(UNLOAD, STOCKHOLM, v400), cargo.delivery().nextExpectedActivity());\n\n // Unload in Stockholm\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-15\"),\n trackingId,\n v400.voyageNumber(),\n STOCKHOLM.unLocode(),\n UNLOAD);\n\n // Check current state - should be ok\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(STOCKHOLM, cargo.delivery().lastKnownLocation());\n assertEquals(IN_PORT, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertEquals(new HandlingActivity(CLAIM, STOCKHOLM), cargo.delivery().nextExpectedActivity());\n\n // Finally, cargo is claimed in Stockholm. This ends the cargo lifecycle from our perspective.\n handlingEventService.registerHandlingEvent(toDate(\"2009-03-16\"),\n trackingId,\n null,\n STOCKHOLM.unLocode(),\n CLAIM);\n\n // Check current state - should be ok\n assertEquals(NONE, cargo.delivery().currentVoyage());\n assertEquals(STOCKHOLM, cargo.delivery().lastKnownLocation());\n assertEquals(CLAIMED, cargo.delivery().transportStatus());\n assertFalse(cargo.delivery().isMisdirected());\n assertNull(cargo.delivery().nextExpectedActivity());\n }", "title": "" }, { "docid": "7d734c6c5c3f07b8313f571e166b805e", "score": "0.5439896", "text": "public void setaTerritory(RiskTerritoryModel test) {\n\t\taTerritory = test;\n\t}", "title": "" }, { "docid": "ea2def7b0de525325dbdb8becd5a08d4", "score": "0.54390174", "text": "private Territory botchooseTerritoryToAttack(Territory attackingTerritory) {\n\t\t\tTelegramBot bot = new TelegramBot();\n\t\t\tboolean undo = true;\n\t\t\tTerritory tempTerritory = new Territory();\n\t\t\twhile(undo) {\n\t\t\t\ttempTerritory = players.get(currentPlayerIndex).botchooseTerritoryToAttack(attackingTerritory, territories, this);\n\t\t\t\tif(tempTerritory == null) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString confirmationMessage = \"You have chosen to attack \" + tempTerritory.getTerritoryName() + \" --yes/no\";\n\t\t\t\tString n = null;\n\t\t\t\tbot.sendplayer(confirmationMessage);\n\t\t\t\tbot.cleanmessage();\n\t\t\t\tint counter = 0;\n\t\t\t\twhile(bot.getmessage() == null && counter < 30) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(bot.getmessage() != null) {\n\t\t\t\t\tn = bot.getmessage();\n\t\t\t\t}\n\t\t\t\tif(n.equals(\"no\")) {\n\t\t\t\t\tif(players.get(currentPlayerIndex).getCredits() > 0){\n\t\t\t\t\t\tplayers.get(currentPlayerIndex).useCredits(players.get(currentPlayerIndex).getCredits()-1);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\t//JOptionPane.showMessageDialog(null, \"You do not have enough credits to undo your action.\");\n\t\t\t\t\t\tString inputMessage = \"You do not have enough credits to undo your action.\";\n\t\t\t\t\t\tbot.sendmessage(inputMessage);\n\t\t\t\t\t\ttimedAcknowledgement(inputMessage);\n\t\t\t\t\t\tundo = true;\n\t\t\t\t\t}\n\t\t\t\t} else if (n.equals(\"yes\")) {\n\t\t\t\t\tundo = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tempTerritory;\n\t\t}", "title": "" }, { "docid": "d1183582503d463a076ac7b2d35150b1", "score": "0.54358023", "text": "public void testHarvesterAntAct()\n { \n harant = new HarvesterAnt();\n colony.add(harant, 5, 5);\n colony.add(bee1, 5, 4);\n run(colony, 40);\n harant.act();\n assertEquals(11, colony.getFood()); \n \n }", "title": "" }, { "docid": "df25c97d1a42b898324fff30949fe9b3", "score": "0.5433976", "text": "public void checkStateAndPerformActions()\n {\n //update the map square to the current ants map square\n //\n this.setMapSpaceToUse(this.getSoldierAnt().getCurrentMapSpace());\n randomMove.setCurrentMapSpace(this.getMapSpaceToUse());\n \n //check if enemy is on our square\n //setting ant to null and isEnemyOnSquare to false to start with clean slate\n //\n this.setAntWhoIsDefending(null);\n this.isEnemyOnSquare = false;\n Class<BalaAnt> enemy = BalaAnt.class;\n MapSpace tempMapSpace = null;\n BalaAnt enenmyInQuestion = null;\n boolean enemyFound = false;\n \n //ugh this is not effiecent to check the map square each time\n //\n for (Object antToTest : this.getMapSpaceToUse().getAntsOnMapSpace()) \n {\n if(!antToTest.equals(this))\n {\n if (enemy.isInstance(antToTest)) \n {\n enenmyInQuestion = (BalaAnt)antToTest;\n \n //check to make sure we dont attack dead ants\n //\n if(!enenmyInQuestion.isDead())\n {\n this.setAntWhoIsDefending((BalaAnt)antToTest);\n this.isEnemyOnSquare = true;\n }\n }\n }\n }\n \n if(this.isEnemyOnSquare)\n {\n attack.setDefenderAnt(this.getAntWhoIsDefending());\n attack.performAction();\n }\n else\n {\n //look around for enemy ants and if found move there else random move\n //\n this.mapSqauresAround = this.getMapSpaceToUse().getMapInfoObject().listOfValidMapSquaresBasedOnRadius(\n this.getSoldierAnt().getAwarenessRadius(), \n this.getMapSpaceToUse());\n \n //now to look inside each mapspace and see if there is any around in valid mapspaces\n //\n for(MapSpace ms : this.mapSqauresAround)\n {\n enenmyInQuestion = null;\n \n //dont test the square we are currently on\n //\n if(!ms.equals(this.getMapSpaceToUse()) && (!enemyFound))\n {\n if(this.isDoesMovesToMapSpaceNeedUncovering())\n {\n if(ms.isDiscovered())\n {\n tempMapSpace = ms;\n }\n }\n else\n {\n tempMapSpace = ms;\n }\n \n //ok now loop thru that map space looking for enemies\n //\n //ugh this is not effiecent to check the map square each time\n //\n if(tempMapSpace != null)\n {\n for (Object antToTest : tempMapSpace.getAntsOnMapSpace()) \n {\n if (enemy.isInstance(antToTest)) \n {\n enenmyInQuestion = (BalaAnt)antToTest;\n //check to make sure we dont attack dead ants\n //\n if(!enenmyInQuestion.isDead())\n {\n this.setAntWhoIsDefending(enenmyInQuestion);\n this.isEnemyOnSquare = true;\n enemyFound = true;\n break;\n }\n }\n }\n }\n \n }\n \n }\n \n if(this.isEnemyOnSquare)\n {\n //move to enemy\n //\n this.getMapSpaceToUse().removeAntOnMapSpace(this.getSoldierAnt());\n this.setMapSpaceToUse(tempMapSpace);\n this.getMapSpaceToUse().addAntOnMapSpace(this.getSoldierAnt());\n this.getSoldierAnt().setCurrentMapSpace(this.getMapSpaceToUse());\n this.getSoldierAnt().addToHistoryOfMapMoves(this.getMapSpaceToUse());\n \n }\n else\n {\n //random move\n //\n this.randomMove.performAction();\n }\n \n }\n }", "title": "" }, { "docid": "d8aff89d2c668d0e55dc151472158902", "score": "0.543373", "text": "@Test\n public void testChoose(){\n Clorus c = new Clorus(1.2);\n HashMap<Direction, Occupant> surround = new HashMap<Direction, Occupant>();\n surround.put(Direction.TOP, new Impassible());\n surround.put(Direction.BOTTOM, new Impassible());\n surround.put(Direction.LEFT, new Impassible());\n surround.put(Direction.RIGHT, new Impassible());\n\n Action actual = c.chooseAction(surround);\n Action expect = new Action(Action.ActionType.STAY);\n\n assertEquals(expect,actual);\n\n //any plip around, attack\n c = new Clorus(1.2);\n surround = new HashMap<Direction, Occupant>();\n surround.put(Direction.TOP, new Plip());\n surround.put(Direction.BOTTOM, new Impassible());\n surround.put(Direction.LEFT, new Impassible());\n surround.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(surround);\n expect = new Action(Action.ActionType.STAY);\n\n assertEquals(expect,actual);\n\n c = new Clorus(0.8);\n surround = new HashMap<Direction, Occupant>();\n surround.put(Direction.TOP, new Plip());\n surround.put(Direction.BOTTOM, new Empty());\n surround.put(Direction.LEFT, new Impassible());\n surround.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(surround);\n expect = new Action(Action.ActionType.ATTACK, Direction.TOP);\n\n assertEquals(expect,actual);\n\n // Energy >= 1; replicate towards an empty space.\n c = new Clorus(1.2);\n HashMap<Direction, Occupant> topEmpty = new HashMap<Direction, Occupant>();\n topEmpty.put(Direction.TOP, new Empty());\n topEmpty.put(Direction.BOTTOM, new Impassible());\n topEmpty.put(Direction.LEFT, new Impassible());\n topEmpty.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(topEmpty);\n expect = new Action(Action.ActionType.REPLICATE, Direction.TOP);\n\n assertEquals(expect, actual);\n\n // Energy < 1; replicate towards an empty space.\n c = new Clorus(0.8);\n topEmpty = new HashMap<Direction, Occupant>();\n topEmpty.put(Direction.TOP, new Empty());\n topEmpty.put(Direction.BOTTOM, new Impassible());\n topEmpty.put(Direction.LEFT, new Impassible());\n topEmpty.put(Direction.RIGHT, new Impassible());\n\n actual = c.chooseAction(topEmpty);\n expect = new Action(Action.ActionType.MOVE, Direction.TOP);\n\n assertEquals(expect, actual);\n }", "title": "" }, { "docid": "dd82c8a5579e044db482f62528ba278f", "score": "0.54327816", "text": "@Test\n\tpublic void testEnter() {\n\t\tDoor test = new Door(inSite, outSite, myKey);\n\t\tRoom start = thePlayer.getLoc(); \n\t\ttest.enter(thePlayer); \n\t\tassertEquals(start,thePlayer.getLoc());\n\t\t\n\t\tthePlayer.pickUp(myKey);\n\t\ttest.enter(thePlayer);\n\t\tassertEquals(start,thePlayer.getLoc());\n\t\t\n\t\tRoom in = new Room();\n\t\tRoom out = new Room();\n\t\tDoor test2 = new Door(in,out,myKey);\n\t\tthePlayer.setLoc(in);\n\t\ttest2.enter(thePlayer);\n\t\t\n\t\tthePlayer.drop(0);\n\t\ttest2.enter(thePlayer); \n\t}", "title": "" }, { "docid": "e228ba2c5961608d15fa3a0cebcb0ef7", "score": "0.5432473", "text": "@Test\n public void test2() throws HSException {\n\n BruteForceSearchAI ai0 = BruteForceSearchAI.buildStandardAI1();\n List<HearthActionBoardPair> ab = ai0.playTurn(0, board.data_);\n BoardModel resBoard0 = ab.get(ab.size() - 1).board;\n PlayerModel currentPlayer = resBoard0.modelForSide(PlayerSide.CURRENT_PLAYER);\n PlayerModel waitingPlayer = resBoard0.modelForSide(PlayerSide.WAITING_PLAYER);\n\n assertEquals(resBoard0.getCurrentPlayer().getHand().size(), 0);\n assertEquals(currentPlayer.getNumMinions(), 3);\n assertEquals(waitingPlayer.getNumMinions(), 0);\n assertEquals(resBoard0.getCurrentPlayer().getMana(), 7);\n assertEquals(resBoard0.getWaitingPlayer().getMana(), 8);\n assertEquals(resBoard0.getCurrentPlayer().getHero().getHealth(), 30);\n assertEquals(resBoard0.getWaitingPlayer().getHero().getHealth(), 28);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_1).getTotalHealth(), 1);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_2).getTotalHealth(), 2);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_3).getTotalHealth(), 5);\n\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_1).getTotalAttack(), 3);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_2).getTotalAttack(), 2);\n assertEquals(currentPlayer.getCharacter(CharacterIndex.MINION_3).getTotalAttack(), 7);\n\n int origHealthMinion1 = 2;\n int origHealthMinion2 = 5;\n\n BoardModel resBoard1 = Game.endTurn(resBoard0);\n currentPlayer = resBoard1.modelForSide(PlayerSide.CURRENT_PLAYER);\n\n log.info(\"Raid Leader Health = \" + currentPlayer.getCharacter(CharacterIndex.MINION_2).getHealth());\n log.info(\"Boulderfist Ogre Health = \" + currentPlayer.getCharacter(CharacterIndex.MINION_3).getHealth());\n\n assertTrue((currentPlayer.getCharacter(CharacterIndex.MINION_2).getHealth() != origHealthMinion1)\n ^ (currentPlayer.getCharacter(CharacterIndex.MINION_3).getHealth() != origHealthMinion2));\n }", "title": "" }, { "docid": "6b9aee061fd5155f4a71a8b521b6a764", "score": "0.5428995", "text": "public void testIsCommitted() {\n assertFalse(\"isCommitted method should return false\", review.isCommitted());\n }", "title": "" }, { "docid": "87c33cb6421d6b9f16087bd7c8478c0e", "score": "0.54249233", "text": "public void checkStateAndPerformActions()\n {\n //update mapspace\n //\n this.setMapSpaceToUse(this.getBalaAnt().getCurrentMapSpace());\n randomMove.setCurrentMapSpace(this.getMapSpaceToUse());\n colonyMove.setCurrentMapSpace(this.getMapSpaceToUse());\n \n //check if enemy is on our square\n //setting ant to null and isEnemyOnSquare to false to start with clean slate\n //\n this.setAntWhoIsDefending(null);\n this.isEnemyOnSquare = false;\n Class<BalaAnt> freindly = BalaAnt.class;\n \n Ant enenmyInQuestion = null;\n \n //ugh this is not effiecent to check the map square each time\n //\n for (Object antToTest : this.getMapSpaceToUse().getAntsOnMapSpace()) \n {\n if(!antToTest.equals(this))\n {\n if (!freindly.isInstance(antToTest)) \n {\n \n enenmyInQuestion = (Ant)antToTest;\n \n //check to make sure we dont attack dead ants\n //\n if(!enenmyInQuestion.isDead())\n {\n this.setAntWhoIsDefending(enenmyInQuestion);\n this.isEnemyOnSquare = true;\n }\n }\n }\n }\n \n if(this.isEnemyOnSquare)\n {\n attack.setDefenderAnt(this.getAntWhoIsDefending());\n attack.performAction();\n }\n else\n {\n \n if(this.getMapSpaceToUse().isColonySpace())\n {\n //move in the colony\n //\n this.colonyMove.performAction();\n \n }\n else\n {\n //random move\n //\n this.randomMove.performAction();\n }\n \n }\n }", "title": "" }, { "docid": "3ba0dcc4bb34d6d9426f54a183b1882f", "score": "0.5423894", "text": "public void testAR1056()\n {\n\t\tNodeRef workingCopy = this.cociService.checkout(\n\t\t\t\tthis.nodeRef, \n\t\t\t\tthis.rootNodeRef, \n\t\t\t\tContentModel.ASSOC_CHILDREN, \n\t\t\t\tQName.createQName(\"workingCopy\"));\n\t\tassertNotNull(workingCopy);\n\t\t\n\t\t// Try and check the same node out again\n\t\ttry\n\t\t{\n\t\t\tthis.cociService.checkout(\n\t\t\t\tthis.nodeRef, \n\t\t\t\tthis.rootNodeRef, \n\t\t\t\tContentModel.ASSOC_CHILDREN, \n\t\t\t\tQName.createQName(\"workingCopy2\"));\n\t\t\tfail(\"This document has been checked out twice.\");\n\t\t}\n\t\tcatch (Exception exception)\n\t\t{\n\t\t\t// Good because we shouldnt be able to checkout a document twice\n\t\t}\n \n }", "title": "" }, { "docid": "2f015113adf8d953e9bd090ab9c606e4", "score": "0.5421208", "text": "public void testGetContestScheduleAccuracy3() throws Exception {\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 3, false);\n assertEquals(\"Expects the contestSchedule is returned properly.\", 3, contestSchedule.getContestId());\n assertFalse(\"Expects the contestSchedule is returned properly.\", contestSchedule.isStudio());\n }", "title": "" }, { "docid": "ec86bb08704650c24da64f20b84e2f42", "score": "0.5420407", "text": "@Test\n\tpublic void tt(){\n\t\t\n\t\tDealDetail detail = new DealDetail();\n\t\tErrorInfo error = new ErrorInfo();\n\t\tdetail.checkWithdraw(error);\n\t}", "title": "" }, { "docid": "d8388a4b5483de2d9a93c97b6c407d95", "score": "0.5418974", "text": "@Test\n public void shouldCheckIfSomeoneWon(){\n TicTacToe testGame1 = new TicTacToe();\n assertFalse(testGame1.checkWinCon(), \"wincon 1\");\n testGame1.makeMove('X',0,0);\n testGame1.makeMove('X',1,0);\n testGame1.makeMove('X',2,0);\n assertFalse(testGame1.checkWinCon(), \"wincon 2\");\n testGame1.makeMove('O',0,2);\n testGame1.makeMove('O',1,2);\n assertTrue(testGame1.checkWinCon(), \"wincon 3\");\n testGame1.makeMove('O',2,2);\n testGame1.makeMove('X',0,1);\n testGame1.makeMove('O',1,1);\n testGame1.makeMove('X',2,1);\n assertTrue(testGame1.checkWinCon(), \"wincon 4\");\n }", "title": "" }, { "docid": "fc8b118780967c9705f20b97f90121b1", "score": "0.5417648", "text": "@Test\n public void isNeighboorOf_Sector() {\n Sector sector0 = new Sector();\n Sector sector1 = new Sector();\n Sector sector2 = new Sector();\n\n //sector0.addNeighboor(sector1.ID());\n\n assertTrue(sector0.isNeighboorOf(sector1));\n assertFalse(sector0.isNeighboorOf(sector2));\n }", "title": "" }, { "docid": "98c0fa78c04965f948b1801bb4192172", "score": "0.54046404", "text": "@Test\n public final void testBranchCoverageLocked() {\n account.setBanned(false);\n account.setLocked(true);\n account.setAdmin(false);\n assertEquals(\"Locked\", account.getStatus());\n }", "title": "" }, { "docid": "a1cd01ad6310f6322afb397771a5f0b8", "score": "0.5394648", "text": "public void testIntersection()\n {\n \tassertEquals(LocationTools.intersection(r1, r1),\n \t\t new PointLocation(1));\n\tassertEquals(LocationTools.intersection(r1, r3),\n \t\t Location.empty);\n }", "title": "" }, { "docid": "04ad1d6f1c5535bb64162d41c995d1f6", "score": "0.53910816", "text": "@Test\n public void GainedInfectByEnchantment() {\n // Trample\n // Whenever a source deals damage to Phyrexian Obliterator, that source's controller sacrifices that many permanents.\n addCard(Zone.BATTLEFIELD, playerB, \"Phyrexian Obliterator\");\n\n // Enchant creature\n // You control enchanted creature.\n // Enchanted creature has infect. (It deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)\n addCard(Zone.HAND, playerA, \"Corrupted Conscience\"); // Enchantment {3}{U}{U}\n // Enchant creature\n // You control enchanted creature.\n // At the beginning of your upkeep, enchanted creature deals 1 damage to its owner.\n addCard(Zone.HAND, playerA, \"Enslave\"); // Enchantment {4}{B}{B}\n addCard(Zone.BATTLEFIELD, playerA, \"Swamp\", 9);\n addCard(Zone.BATTLEFIELD, playerA, \"Island\", 2);\n\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \"Corrupted Conscience\", \"Phyrexian Obliterator\");\n waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, \"Enslave\", \"Phyrexian Obliterator\");\n\n setStopAt(3, PhaseStep.POSTCOMBAT_MAIN);\n execute();\n\n assertPermanentCount(playerA, \"Phyrexian Obliterator\", 1);\n assertPermanentCount(playerA, \"Corrupted Conscience\", 1);\n assertPermanentCount(playerA, \"Enslave\", 1);\n\n assertAbility(playerA, \"Phyrexian Obliterator\", InfectAbility.getInstance(), true);\n\n assertLife(playerA, 20);\n assertLife(playerB, 20);\n\n assertCounterCount(playerB, CounterType.POISON, 1);\n\n }", "title": "" }, { "docid": "2b5b33455714f80d66109f3bfb28d2c6", "score": "0.5384176", "text": "@Test\n public void testSorceryCostReduction() {\n addCard(Zone.HAND, playerA, mageDuel);\n addCard(Zone.HAND, playerA, festivalOfTrokin);\n addCard(Zone.BATTLEFIELD, playerA, \"Plains\");\n addCard(Zone.BATTLEFIELD, playerA, \"Forest\");\n addCard(Zone.BATTLEFIELD, playerA, akroanJailer);\n\n addCard(Zone.BATTLEFIELD, playerB, lion);\n\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, festivalOfTrokin);\n waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);\n castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, mageDuel);\n\n setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);\n execute();\n assertPowerToughness(playerA, akroanJailer, 2, 3);\n assertPermanentCount(playerA, akroanJailer, 1);\n assertGraveyardCount(playerB, lion, 1);\n assertLife(playerA, 20 + 2);\n }", "title": "" }, { "docid": "9b46552e79240647dda48853ff001b65", "score": "0.5382589", "text": "@Test\r\n\tpublic void testDelete_Territories() {\r\n\t\tnew_continent = new Continent(\"new_continent_name\" , 1);\r\n\t\t\r\n\t\tnew_territory = new Territory(\"new_territory_name_1\",120,300,\"new_continent_name\");\r\n\t\tnew_continent.Add_Territory(new_territory);\r\n\t\t\r\n\t\tnew_territory_neighbour = new Territory(\"new_territory_name_2\",320,432,\"new_continent_name\");\r\n\t\tnew_continent.Add_Territory(new_territory_neighbour);\r\n\t\t\r\n\t\tnew_territory.Add_Neighbour(new_territory_neighbour);\r\n\t\t\r\n\t\tboolean result = new_continent.Delete_Territories();\r\n\t\t\r\n\t\tAssert.assertTrue(result);\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ccbd426f5a24bb4b48db17928f4300ce", "score": "0.53812957", "text": "@Test\n public void checkConstruction(){\n assertTrue(testGame.getTURNS().isEmpty());\n assertFalse(testGame.getEndGame());\n assertFalse(testGame.getPlayerWinner());\n assertEquals(WaitPhase.class,testGame.getPhase().getClass());\n assertEquals(-1,testGame.getActCharacterIndex());\n assertFalse(testGame.getActPlayerCharacter());\n assertEquals(-1,testGame.getActTarget());\n assertEquals(\"\",testGame.getInfo());\n }", "title": "" }, { "docid": "d88de79b6daa71425e0980c40fefbfb8", "score": "0.5378518", "text": "public void testReproducir(){\r\n\r\n\t\tfor(int i=0; i<Duracion.CORCHEA; i++)\r\n\t\t\tassertSame(cancion.avanzar(2).getNotas().get(0), Do);\r\n\t\t\r\n\t\tfor(int i=0; i<Duracion.NEGRA; i++)\r\n\t\t\tassertSame(cancion.avanzar(2).getNotas().get(0), Mi);\r\n\t\t\r\n\t\tfor(int i=0; i<Duracion.BLANCA; i++)\r\n\t\t\tassertSame(cancion.avanzar(2).getNotas().get(0), Sol);\r\n\t\t\r\n\t\tfor(int i=0; i<Duracion.REDONDA; i++)\r\n\t\t\tassertSame(cancion.avanzar(2).getNotas().get(0), Si);\t\r\n\t}", "title": "" }, { "docid": "4bab79d4f84c91c84302a16ae3038964", "score": "0.5377518", "text": "public void testIsReadyToOperate() {\r\n assertTrue(\"'isReadyToOperate' should be correct.\", instance.isReadyToOperate());\r\n }", "title": "" }, { "docid": "3d38bbedaee0bec6e497026fe34dae2a", "score": "0.5374836", "text": "@Test\n public void verificaCodiceCorso(){\n gestoreRightChoice.inserisciCorso(corso1);\n\n /* Caso il cui il codice del corso non è già presente nel database */\n assertTrue(gestoreRightChoice.verificaCodiceCorso(corso));\n\n /* Caso il cui il codice del corso è già presente nel database */\n assertFalse(gestoreRightChoice.verificaCodiceCorso(corso1));\n }", "title": "" }, { "docid": "e952921b8db43d0f9a255a237a1c6271", "score": "0.5373263", "text": "@Test\r\n\tpublic void VerificarSaque() {\n\t\tContaBancaria conta = new ContaBancaria(\"Carlos\", 1247, \"Banco\", 1000, \"01/02/2003\");\r\n\t\t// Quando eu fizer...\r\n\t\tconta.saca(200);\r\n\t\t// Então, eu espero que...\r\n\t\tassertTrue(conta.getSaldo() == 1000 - 200);\r\n\t}", "title": "" }, { "docid": "5f3c391576a31875dc09ff2b3580fdc0", "score": "0.53693944", "text": "public void testGetContestScheduleAccuracy1() throws Exception {\n ContestSchedule contestSchedule = bean.getContestSchedule(new TCSubject(1), 1, true);\n assertEquals(\"Expects the contestSchedule is returned properly.\", 1, contestSchedule.getContestId());\n assertTrue(\"Expects the contestSchedule is returned properly.\", contestSchedule.isStudio());\n }", "title": "" }, { "docid": "15284dee4bb1708fc439ed2d137ed365", "score": "0.5369337", "text": "@Test\n\tpublic void test() {\n\t\tRace newrace = new Race();\n\t\tList<Dog> contestants = new ArrayList<Dog>();\n\t\t\t\t\n\t\tDog dog1 = newrace.addDog(\"Max\", 128, new EarlySprint());\n\t\tDog dog2 = newrace.addDog(\"Charlie\", 137, new SteadyRun());\n\t\tDog dog3 = newrace.addDog(\"Buddy\", 141, new EarlySprint());\n\t\tDog dog4 = newrace.addDog(\"Joe\", 121, new SlowStart());\n\t\tDog dog5 = newrace.addDog(\"Doggo\", 140, new SteadyRun());\n\t\tDog dog6 = newrace.addDog(\"Doge\", 137, new SlowStart());\n\t\tDog dog7 = newrace.addDog(\"Lucky\", 135, new EarlySprint());\n\n\t\tcontestants.add(dog1);\n\t\tcontestants.add(dog2);\n\t\tcontestants.add(dog3);\n\t\tcontestants.add(dog4);\n\t\tcontestants.add(dog5);\n\t\tcontestants.add(dog6);\n\t\tcontestants.add(dog7);\n\t\t\t\t\n\t\tnewrace.startRace(contestants);\n\t\tnewrace.runRace(contestants);\n\t\tassert(newrace.findWinner(contestants)==\"Buddy\"); //Highest speed and early sprint wins\n\t\n\t\tdog6.setMaxSpeed(138);\n\t\tnewrace.startRace(contestants);\n\t\tnewrace.runRace(contestants);\n\t\tassert(newrace.findWinner(contestants)==\"Doge\"); //Slow start with lower speed wins (optimal strategy)\n\t}", "title": "" }, { "docid": "dc7e17a34ee6e9f8c38c43ffefb998d2", "score": "0.5368455", "text": "@Test\r\n public void testGetEstadoAtribuicao() {\r\n System.out.println(\"getEstadoAtribuicao\");\r\n \r\n FAE fae=new FAE(new Utilizador(\"Nome\", \"email\", \"Admin\", \"email\"));\r\n Candidatura c=new Candidatura(\"Empresa\", \"Morada\", 123456789, 89, 5);\r\n Atribuicao instance = new Atribuicao(fae,c);\r\n \r\n boolean expResult =false;\r\n boolean result = instance.getEstadoAtribuicao();\r\n assertEquals(expResult, result);\r\n \r\n }", "title": "" }, { "docid": "319ee6bc89936645d13a6c93296c1765", "score": "0.53665817", "text": "@Test\n\tpublic void testeandoTomarAgua() {\n\t\tint cant = 0;\n\t\twhile(jose.atacar(ronaldo))\n\t\t\tcant ++;\n\t\t\n\t\tAssert.assertEquals( 0, jose.getEnergia(), 0);\n\t\tAssert.assertEquals( 10, cant, 0);\n\t\tAssert.assertEquals( false, jose.atacar(ronaldo));\n\t\t\n\t\tjose.tomarAgua();\n\t\t\n\t\tAssert.assertEquals( 100, jose.getEnergia(), 0);\n\t}", "title": "" }, { "docid": "bf879f39c38c82b7cfe947a66d9d2897", "score": "0.5357568", "text": "@Test\n public void testGetDonorsGenderAnyOrOther() {\n if (canRunTests) {\n ResponseEntity responseEntity = donorReceiverController.getDonors(null, null, null, null, \"any, other\", null, null, null, null, null,null,null);\n assertEquals(HttpStatus.ACCEPTED, responseEntity.getStatusCode());\n List<DonorReceiverSummary> donors = createDonorsList(responseEntity);\n Boolean[] foundSnakeFiddleMonstera = findThreeDonors(donors, SNAKE, FIDDLE, MONSTERA);\n assertTrue(foundSnakeFiddleMonstera[0]);\n assertTrue(foundSnakeFiddleMonstera[1]);\n assertTrue(foundSnakeFiddleMonstera[2]);\n } else {\n printCannotRunTests();\n }\n }", "title": "" }, { "docid": "36a680e59bf34504e4c298cce0395511", "score": "0.5355944", "text": "@Test\n\tpublic void testIfBalancedTrue() {\n\t\tboolean check = CheckBalance.isBalanced(balanseratUttryck);\n\t\tassertTrue(check);\n\t}", "title": "" }, { "docid": "bd4dd781959277caddb91465c5e4422b", "score": "0.5355403", "text": "@Test\n public void transModeTest() {\n // TODO: test transMode\n }", "title": "" }, { "docid": "832b3cc078ae5382548385395006a7bb", "score": "0.5354936", "text": "int doTerritoryPlacement(int maxTroops);", "title": "" } ]
bdd1a338b1031ffd03ee7373f77f3db8
optional string id = 2;
[ { "docid": "d199baf7db937c061d2badc8a189fc34", "score": "0.0", "text": "public Builder setId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n id_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "aab1b478b501e7938af3b823b11eab94", "score": "0.75025165", "text": "public void setID(String id) {\n\n }", "title": "" }, { "docid": "49b0a3514ae88adc6ce14a7bd6585381", "score": "0.74674714", "text": "public void setId(String id)\n/* 32: */ {\n/* 33:36 */ this.id = id;\n/* 34: */ }", "title": "" }, { "docid": "b7c13d2cf4ea9eb6d3e06195290e2af6", "score": "0.7456804", "text": "public void setId(String id)\n/* */ {\n/* 79 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "fe0dcd3e4aa21f062add4e5967e8a9f3", "score": "0.74216586", "text": "public String getId(){return id;}", "title": "" }, { "docid": "c9ad8de47d46ec1488118a482444eddc", "score": "0.74080193", "text": "public void setId(int id){ this.id = id;}", "title": "" }, { "docid": "d06630b5bcc5fc2e13e3d2ae58a6542a", "score": "0.7399387", "text": "void setId (int id){this.id = id;}", "title": "" }, { "docid": "57c157d9d98d88367182b07788ed701c", "score": "0.7388133", "text": "public void setId(int id){ this.id = id; }", "title": "" }, { "docid": "4c4c49b543011afe2ba16fd47b273c2a", "score": "0.73230594", "text": "public void setId(String id){\n\n this.id=id;\n }", "title": "" }, { "docid": "519f45d8e6617dfda5352225f70bfa2a", "score": "0.72691196", "text": "public void setId(String id){\n this.id = id;\n }", "title": "" }, { "docid": "519f45d8e6617dfda5352225f70bfa2a", "score": "0.72691196", "text": "public void setId(String id){\n this.id = id;\n }", "title": "" }, { "docid": "6ea011fd2b6cbdad4f6bb5021d160f78", "score": "0.72340286", "text": "String getId ();", "title": "" }, { "docid": "9af76b1575d084b145f651fbdba96b25", "score": "0.7209299", "text": "public void setID(Integer id) { _id = id; }", "title": "" }, { "docid": "7843bd3d733639054ffbc7134e64776a", "score": "0.7208451", "text": "public String getId()\n { return id;\n }", "title": "" }, { "docid": "6e04fcf300775ae04dba0b7dd54aea63", "score": "0.71931636", "text": "int getId(){return id;}", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "2845e0c41163fb67176092d499fb15b4", "score": "0.71665424", "text": "String getId();", "title": "" }, { "docid": "c49b57fc70b5cd5cebad4fa2903004b8", "score": "0.71453506", "text": "public void setID(int id) {\nthis._id = id;\n}", "title": "" }, { "docid": "a6b0d9f8418db877953dd22286f3bcf3", "score": "0.71294576", "text": "public String getId(){\n return id;\n }", "title": "" }, { "docid": "926ab494cba3daab7da5916e42abe903", "score": "0.7103927", "text": "public void setId(String id) { \n mId = id; \n }", "title": "" }, { "docid": "1d98a553907008db56f205fce1d277a1", "score": "0.7086299", "text": "@Override \r\n public void setId (String id) {\r\n }", "title": "" }, { "docid": "9c13674306088873589cb0f6a50aa966", "score": "0.70822954", "text": "public String id() { return this.id; }", "title": "" }, { "docid": "605caa4cb7aea4133af9d212d98594d3", "score": "0.70735776", "text": "public void setId(java.lang.Integer id) { \n this.id = id; \n }", "title": "" }, { "docid": "4eb36790c2eb78fba9a3902f6345ad99", "score": "0.7063313", "text": "void setId(String id) ;", "title": "" }, { "docid": "d6ef94b4f679c5a71937eae6c46214c9", "score": "0.7062614", "text": "@Override\n public void setId(String id) {\n\n }", "title": "" }, { "docid": "011d9904304547cd97405d399bc7d29f", "score": "0.7032747", "text": "public String getId(){\n return id;\n }", "title": "" }, { "docid": "3d4e18c74f0de5cd88ea7bfc22f16d33", "score": "0.7031518", "text": "public void setId(String value) { m_id = value; }", "title": "" }, { "docid": "dc5b1fc9000669fe879febd32e419f39", "score": "0.70261335", "text": "String getId( );", "title": "" }, { "docid": "1e2d4c9aea25b17637b9a5dbc94132c9", "score": "0.701915", "text": "public void setId(int id)\n/* 25: */ {\n/* 26:22 */ this.id = id;\n/* 27: */ }", "title": "" }, { "docid": "2e8358829d3879467743c3c2d79b4266", "score": "0.7005897", "text": "@Override\n public void setId(String id) {\n }", "title": "" }, { "docid": "045747e4da07ee824b41cb88099a3250", "score": "0.70057464", "text": "void setId(String id);", "title": "" }, { "docid": "045747e4da07ee824b41cb88099a3250", "score": "0.70057464", "text": "void setId(String id);", "title": "" }, { "docid": "045747e4da07ee824b41cb88099a3250", "score": "0.70057464", "text": "void setId(String id);", "title": "" }, { "docid": "3595e2d1a12d559021012122b7c58f77", "score": "0.6995953", "text": "public void setId(String id);", "title": "" }, { "docid": "3595e2d1a12d559021012122b7c58f77", "score": "0.6995953", "text": "public void setId(String id);", "title": "" }, { "docid": "07babd86ceb5c921991d8f9c106a3a7e", "score": "0.6994976", "text": "public void setId(String id)\r\n {\r\n myId = id;\r\n }", "title": "" }, { "docid": "7bb2d71c1ac3cd01f30bd011dc8e6602", "score": "0.69795907", "text": "public String getID() { return id; }", "title": "" }, { "docid": "2f8e1370f1920dae6484b40064e298ba", "score": "0.696755", "text": "public int getId(){...}", "title": "" }, { "docid": "dc669f87006d372f7b76cacf46d8b751", "score": "0.6966431", "text": "public int getId() \n{\n return id;\n}", "title": "" }, { "docid": "b423e684502e9f0eb2798e6c8c21cfc7", "score": "0.6965719", "text": "public String getId()\n/* 27: */ {\n/* 28:33 */ return this.id;\n/* 29: */ }", "title": "" }, { "docid": "b5250eab988ba6213be280d030d419ab", "score": "0.69657093", "text": "void setId(final String id);", "title": "" }, { "docid": "bb237483cc71fbe85911b3903b178563", "score": "0.69551545", "text": "public void setId(String id) {\n\tthis.id = id;\n }", "title": "" }, { "docid": "d048f526390cef538b93f3434c48f249", "score": "0.69503194", "text": "public int getId(){\r\n return id;\r\n }", "title": "" }, { "docid": "0ea9479085e3b6f64175eb8e5f50bb03", "score": "0.69496137", "text": "public String getId(){\n return this.id;\n }", "title": "" }, { "docid": "ed98d8f1b03990961734c3a0a3c0eafc", "score": "0.6934903", "text": "@Override\n\tpublic void setId(String id) {\n\t\t\n\t}", "title": "" }, { "docid": "d2a85fafd97d000625e9bde84e02a5f2", "score": "0.6931523", "text": "public String getId() { return id; }", "title": "" }, { "docid": "a2292ed142706f94e8ec7747ef5e54d0", "score": "0.6920073", "text": "public void setID(String id)\r\n {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "402eb17fb94d38c8fe11424037463edc", "score": "0.6917996", "text": "public int getId(){ return this.id; }", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6902311", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6902311", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6902311", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6901807", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6901807", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6901807", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6901807", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6901807", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6901807", "text": "java.lang.String getId();", "title": "" } ]
c12036d6373de6c4452f0e8c658de92f
Return count, min, max, average and standard deviation stats for the values of the stream. This method only works for numeric streams
[ { "docid": "02a0621f3fe55e90092410b54619f250", "score": "0.0", "text": "public M2XResponse stats(String query) throws IOException\n\t{\n\t\treturn makeGet(\"/stats\", query);\n\t}", "title": "" } ]
[ { "docid": "f9f05638d01de24979b5abc645b9f2a4", "score": "0.6378376", "text": "public JsonObject getStatistics() {\r\n LOGGER.debug(\"get statistics called\");\r\n JsonObject response = new JsonObject();\r\n response.put(\"count\", count);\r\n response.put(\"sum\", sum);\r\n double avg = 0;\r\n if(count!=0){\r\n avg = sum/count;\r\n }\r\n response.put(\"avg\", avg);\r\n\r\n double maxVal = 0;\r\n if(max != Double.MIN_VALUE){\r\n maxVal = max;\r\n }\r\n response.put(\"max\", maxVal);\r\n\r\n double minVal = 0;\r\n if(min != Double.MAX_VALUE){\r\n minVal = min;\r\n }\r\n response.put(\"min\", minVal);\r\n return response;\r\n }", "title": "" }, { "docid": "2037e53a5daea70ce3f7a70c4377ae4e", "score": "0.63414276", "text": "static double normalizedMean(Stream<Integer> stream) {\n\n\t\tList<Double> dataSource = stream.map(x -> (double)x).collect(Collectors.toList());\n\n\t\tdouble max = dataSource.stream().reduce((x, y) -> Math.max(x, y)).orElse(1.0);\n\t\tdouble min = dataSource.stream().reduce((x, y) -> Math.min(x, y)).orElse(0.0);\n\n\t\tif (dataSource.size() <= 1 || Double.compare(max, min) == 0) {\n\t\t\treturn 0.0;\n\t\t}\n\n\t\treturn dataSource.stream().map(x -> (x - min) / (max - min)).reduce(0.0, (x, y) -> x + y) / dataSource.size();\n\n\t}", "title": "" }, { "docid": "1dec419e635206a184e00ce95351110e", "score": "0.6337291", "text": "public void measure()\n\t{\n\t\tmean = 0;\n\t\tvarn = 0;\n\t\tdevn = 0;\n\t\tconf = 0;\n\t\tmin = 0;\n\t\tmax = 0;\n\t\t\t\t\n\t\tif (samples.size() == 0)\n\t\t\treturn;\n\t\t\n\t\tmin = Double.POSITIVE_INFINITY;\n\t\tmax = Double.NEGATIVE_INFINITY;\n\t\t\n\t\t//\tCalculate mean\n\t\tfor (Double val : samples)\n\t\t{\n\t\t\tmean += val.doubleValue();\n\t\t\tif (val.doubleValue() < min)\n\t\t\t\tmin = val.doubleValue();\n\t\t\tif (val.doubleValue() > max)\n\t\t\t\tmax = val.doubleValue();\n\t\t}\n\t\tmean /= samples.size();\n\t\t\t\n\t\t//\tVariance \n\t\tfor (Double val : samples)\n\t\t{\n\t\t\tfinal double diff = val.doubleValue() - mean;\n\t\t\tvarn += diff * diff;\n\t\t}\n\t\tvarn /= samples.size();\n\t\t\n\t\t//\tStandard deviation\n\t\tdevn = Math.sqrt(varn);\n\t\n\t\t//\tConfidence interval\n\t\tconf = 2 * ci * devn / Math.sqrt(samples.size());\n\t}", "title": "" }, { "docid": "c86d2b5453ef0220931fce03e892fe08", "score": "0.6264562", "text": "public static interface SummaryStatistics {\r\n /** Return the number of elements */\r\n public int size();\r\n /** Return the minimum element, or Double.MAX_VALUE if empty */\r\n public double min();\r\n /** Return the maximum element, or -Double.MAX_VALUE if empty */\r\n public double max();\r\n /** Return the index of the minimum element, or -1 if empty */\r\n public int indexOfMin();\r\n /** Return the index of the maximum element, or -1 if empty */\r\n public int indexOfMax();\r\n /** Return the sum of all elements */\r\n public double sum();\r\n /** Return the arithmetic average of all elements */\r\n public double average();\r\n }", "title": "" }, { "docid": "098b17110ea934aa63d76e17580f12e1", "score": "0.6206454", "text": "int getStdDevCount();", "title": "" }, { "docid": "bc01fc51011b61a13e4a2e98b5e1d3d0", "score": "0.61268824", "text": "@Override\n\tpublic StatisticsSummary getStatistics() {\n\t\tStatisticsSummary summary = statisticsForLastMin.values().stream()\n\t\t\t\t.filter(s -> (System.currentTimeMillis() - s.getTimestamp()) / 1000 < SECONDS_STAT)\n\t\t\t\t.map(StatisticsSummary::new).reduce(new StatisticsSummary(), (s1, s2) -> {\n\t\t\t\t\ts1.setSum(s1.getSum() + s2.getSum());\n\t\t\t\t\ts1.setCount(s1.getCount() + s2.getCount());\n\t\t\t\t\ts1.setMax(Double.compare(s1.getMax(), s2.getMax()) > 0 ? s1.getMax() : s2.getMax());\n\t\t\t\t\ts1.setMin(Double.compare(s1.getMin(), s2.getMin()) < 0 ? s1.getMin() : s2.getMin());\n\t\t\t\t\treturn s1;\n\t\t\t\t});\n\n\t\tsummary.setMin(Double.compare(summary.getMin(), Double.MAX_VALUE) == 0 ? 0.0 : summary.getMin());\n\t\tsummary.setMax(Double.compare(summary.getMax(), Double.MIN_VALUE) == 0 ? 0.0 : summary.getMax());\n\t\tsummary.setAvg(summary.getCount() > 0l ? summary.getSum() / summary.getCount() : 0.0);\n\n\t\tlogger.info(\"Statistics summary for last minute => {}\", summary.toString());\n\t\treturn summary;\n\t}", "title": "" }, { "docid": "d1de3fc2c40b69ebe445525e429922c6", "score": "0.6054283", "text": "public String statistics() {\n DecimalFormat formatter = new DecimalFormat(\"#,###\");\n DecimalFormat floatFormatter = new DecimalFormat(\"#,###.00\");\n return String.format(\"min %s | avg %s | max %s | stddev %s msgs\",\n formatter.format(minRate()), formatter.format(avgRate()),\n formatter.format(maxRate()), floatFormatter.format(stdDev()));\n }", "title": "" }, { "docid": "23820198ffb11437dfca40ad0470f3e9", "score": "0.5911547", "text": "private void calculatePopulationMeanAndStdDev(List<MovieMetadata> movieMetadatas) {\n movieMetadatas.stream()\n .forEach(movieMetadata -> {\n if (movieMetadata.successful)\n numSuccessful++;\n numMovies++;\n });\n\n populationMean = numSuccessful / (float) numMovies;\n\n stdDev = (float) Math.sqrt(2 * populationMean * (1 - populationMean) / numMovies);\n }", "title": "" }, { "docid": "5c7bb5708a5383b8248b41ac23cc1e52", "score": "0.5843673", "text": "public Stats() {\n\t\tValoreMax = 0;\n\t\tValoreMin = 0;\n\t\tValoreQM = .0;\n\t\tMedia = .0;\n\t\tVarianza = .0;\n\t}", "title": "" }, { "docid": "11e85a043b4bd937cc638c4c298262e8", "score": "0.5833373", "text": "public int getStdDevCount() {\n return stdDev_.size();\n }", "title": "" }, { "docid": "d303e516ae20c852b5bad7729a8254c4", "score": "0.58211523", "text": "private static void summaryStatisticsNumber() {\n\n System.out.println(\"Example count: summaryStatisticsNumber\");\n\n IntSummaryStatistics statistics = IntStream\n .rangeClosed(1, 20)\n .boxed()\n .mapToInt( n -> n )\n .summaryStatistics();\n\n System.out.println(statistics);\n\n System.out.println(\"-------------END-------------\");\n }", "title": "" }, { "docid": "4e2ed7042a71b971cdb0950a8397a73b", "score": "0.58156157", "text": "public int getStdDevCount() {\n return stdDev_.size();\n }", "title": "" }, { "docid": "333eba39da2324b6a63b2a093e317f35", "score": "0.58122", "text": "float getVariance() {\n\t\t\tif(chaos == null || chaos.size() < 2 * count) {\n//\t\t\t\tLog.e(\"sensor\", \"filter value null\");\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tfloat sum = 0;\n\t\t\tfor(int i=0; i<count; i++) {\n\t\t\t\tsum += chaos.pollFirst();\n\t\t\t\tsum += chaos.pollLast();\n\t\t\t}\n\t\t\treturn sum;\n\t\t}", "title": "" }, { "docid": "55bf040ecbd798b882ceff33f76b57e7", "score": "0.5805699", "text": "public interface IntegerStreamStat {\n\n\t/**\n\t * Adds value to the list considered in the statistical anlysis.\n\t *\n\t * @param value the value to add\n\t */\n\tvoid add(int value);\n\n\t/**\n\t * Returns the median of the integers added to the object.\n\t *\n\t * @return the median\n\t */\n\tint calcMedian();\n}", "title": "" }, { "docid": "203fab2a5f50d5be4fb5158419027862", "score": "0.5797906", "text": "public StreamStatsInfo toStreamStatsInfo() {\n StreamStatsInfo ret = new StreamStatsInfo();\n ret.setMetadata(metadata);\n ret.setRowCount(getRowCount());\n ret.setLastModified(getLastModified());\n List<ColStatsInfo> l = new ArrayList<ColStatsInfo>();\n for (int i = 1; cols != null && i <= cols.length; i++) {\n l.add(this.getColumn(i).toInfo());\n }\n ret.setColumns(l);\n return ret;\n }", "title": "" }, { "docid": "637400c111ea42f4304cba29e9e5645a", "score": "0.5765325", "text": "int getMeanCount();", "title": "" }, { "docid": "d7d247f0ebd18b3804ed1e5d952012b9", "score": "0.5715893", "text": "public MedianStream() {\n\t\tthis.currentMedian = 0.0;\n\t\tthis.maxHeap = new MaxPQ<Double>();\n\t\tthis.minHeap = new MinPQ<Double>();\n\t}", "title": "" }, { "docid": "e490caf148ed8bfc3c7fe1d82c3bddb6", "score": "0.5694812", "text": "public double stddev() {\n return StdStats.stddev(pCount);\n }", "title": "" }, { "docid": "be77d3bea0aa856595e4d1e79b6172fe", "score": "0.56858945", "text": "public interface Summarizable {\n /**\n * Returns the largest recorded value.\n *\n * @return the largest recorded value\n */\n double max();\n\n /**\n * Returns the smallest recorded value.\n *\n * @return the smallest recorded value\n */\n double min();\n\n /**\n * Returns the arithmetic mean of all recorded values.\n *\n * @return the arithmetic mean of all recorded values\n */\n double mean();\n\n /**\n * Returns the standard deviation of all recorded values.\n *\n * @return the standard deviation of all recorded values\n */\n double stdDev();\n\n /**\n * Returns the sum of all recorded values.\n *\n * @return the sum of all recorded values\n */\n double sum();\n\n}", "title": "" }, { "docid": "4ccb1e3313c1644591d15b5727f51c75", "score": "0.5559614", "text": "double[] calcSpaceStats(double[] rawVals,int varIndex,DataSetControllerImpl.SpatialStatsInfo spatialStatsInfo) {\r\n\t\r\n double min = Double.POSITIVE_INFINITY;\r\n double max = Double.NEGATIVE_INFINITY;\r\n double mean = 0;\r\n double wmean = 0;\r\n double sum = 0;\r\n double wsum = 0;\r\n double val;\r\n for(int j=0;j<rawVals.length;j+= 1){\r\n\t val = rawVals[j];\r\n\t if(val < min){min=val;}\r\n\t if(val > max){max=val;}\r\n\t sum+= val;\r\n\t if(spatialStatsInfo.bWeightsValid){wsum+= val*spatialStatsInfo.spaceWeight[varIndex][j];}\r\n }\r\n mean = sum/rawVals.length;\r\n if(spatialStatsInfo.bWeightsValid){wmean = wsum/spatialStatsInfo.totalSpace[varIndex];}\r\n\r\n return new double[] {min,max,mean,wmean,sum,wsum};\r\n}", "title": "" }, { "docid": "5a88876e75625f1a2cf2bed1c3579fa1", "score": "0.5547712", "text": "public double stddev(){return this.stddev;}", "title": "" }, { "docid": "00ccf5d204e70193466cbd3746b1a276", "score": "0.554193", "text": "public double stddev() {\n return _stddev;\n }", "title": "" }, { "docid": "88679f97e8a348a1e6c0e9b47226557f", "score": "0.55404913", "text": "public double stddev() {\n double mean = mean();\n double stddevtotal = 0;\n for (double value : values) {\n double dev = value - mean;\n stddevtotal += dev * dev;\n }\n return Math.sqrt(stddevtotal / values.size());\n }", "title": "" }, { "docid": "a1306b03aaa00a4544cf8141f4278196", "score": "0.5532651", "text": "public static double mean(Supplier<Stream<Double>> values) {\n return values.get().mapToDouble(Double::doubleValue).sum() / values.get().count();\n }", "title": "" }, { "docid": "d4c858df6c2f5dd504b773f0622645e9", "score": "0.550193", "text": "public void updateStatistics(int value) {\n resultCurrent = value; // Set current result to passed value.\n resultTotal += value; // Add passed value to total result.\n\n if(runsSoFar == 0) { // Default first values to min/max.\n maxval = value;\n minval = value;\n }\n \n runsSoFar++; // Increment.\n\n if (value > maxval) { // Max check.\n maxval = value;\n }\n if (value < minval) { // Min check.\n minval = value;\n }\n\n average = average(); // Call average.\n standardDeviation = standardDeviation(); // Call standardDeviation.\n\t}", "title": "" }, { "docid": "6b30c867539f7fcc4e0189609c9c036a", "score": "0.55018324", "text": "public double stddev() {\n return stddev;\n }", "title": "" }, { "docid": "6b30c867539f7fcc4e0189609c9c036a", "score": "0.55018324", "text": "public double stddev() {\n return stddev;\n }", "title": "" }, { "docid": "6b30c867539f7fcc4e0189609c9c036a", "score": "0.55018324", "text": "public double stddev() {\n return stddev;\n }", "title": "" }, { "docid": "6b30c867539f7fcc4e0189609c9c036a", "score": "0.55018324", "text": "public double stddev() {\n return stddev;\n }", "title": "" }, { "docid": "7f832eebdc66ecd31c6a864c00905a6b", "score": "0.54996896", "text": "public double stddev() {\n\t\treturn StdStats.stddev(counter);\n\t}", "title": "" }, { "docid": "5e6a28360a1ee2ff133eb1a6e92fed20", "score": "0.5474566", "text": "public double getStandardDeviation() {\n return std;\n }", "title": "" }, { "docid": "d8b2c077dff573c40854333d904cedad", "score": "0.5468098", "text": "java.util.List<java.lang.Float> getStdDevList();", "title": "" }, { "docid": "b20f144c11571a999384a280edf5e3e1", "score": "0.5467081", "text": "private void calculateStatistics() {\n\t\t\n\t\t// Need to figure out what is the difference between this and calcAllStatistics\n\t\t\n\t\tdouble min = Double.MAX_VALUE;\n\t\tdouble max = Double.MIN_VALUE;\n\t\tdouble average = 0;\n\n\t\tdouble totValidObs = 0;\n\t\t\n\t\tString stidMax = \"\";\n\t\tString stidMin = \"\"; \n\t\t\n\t\tint counter = 0;\n\t\t\n TreeMap<String, Statistics> treemin = new TreeMap<String, Statistics>(); \n TreeMap<String, Statistics> treemax = new TreeMap<String, Statistics>(); \n TreeMap<String, Statistics> treeavg = new TreeMap<String, Statistics>();\n TreeMap<String, Statistics> treetot = new TreeMap<String, Statistics>();\n\n for (Map.Entry<String, ArrayList<Observation>> entry : dataCatalog.entrySet()) { \n\n String mapKey = entry.getKey();\n ArrayList<Observation> mapValue = entry.getValue();\n\n \n\t\t\tfor (int i = 0; i < mapValue.size(); i++) {\n\t\t\t\t\n\t\n\t\t\t\tif (mapValue.get(i).isValid()) {\n\t\t\t\t\t\n\t\t\t\t\tdouble indexVal = mapValue.get(i).getValue();\n\t\t\t\t\tString stidVal = mapValue.get(i).getStid();\n\t\t\t\t\ttotValidObs = totValidObs + mapValue.get(i).getValue();\n\t\t\t\t\t\n\t\t\t\t\tif (max < indexVal) {\n\t\t\t\t\t\tmax = indexVal;\n\t\t\t\t\t\tstidMax = stidVal;\n\t\t\t\t\t}\n\t\t\t\t\telse if (min > indexVal) {\n\t\t\t\t\t\tmin = indexVal;\n\t\t\t\t\t\tstidMin = stidVal;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\taverage = totValidObs / counter;\n\t\t\t\n\t\t\t// Make temp Statistic objects to store Statistics information\n\t\t\tStatistics averageStat = new Statistics(average, MESONET, this.utcDateTime, counter, StatsType.AVERAGE);\n\t\t\tStatistics maxStat = new Statistics(max, stidMax, this.utcDateTime, counter, StatsType.MAXIMUM);\n\t\t\tStatistics minStat = new Statistics(min, stidMin, this.utcDateTime, counter, StatsType.MINIMUM);\n\t\t\tStatistics totStat = new Statistics(totValidObs, MESONET, this.utcDateTime, counter, StatsType.TOTAL);\n\t\t\n\t\t\t\n\t\t\ttreeavg.put(mapKey, averageStat);\n\t\t\ttreemax.put(mapKey, maxStat);\n\t\t\ttreemin.put(mapKey, minStat);\n\t\t\ttreetot.put(mapKey, totStat);\n\t\t\t\n\t\t\tstatistics.put(StatsType.AVERAGE, treeavg);\n\t\t\tstatistics.put(StatsType.MAXIMUM, treemax);\n\t\t\tstatistics.put(StatsType.MINIMUM, treemin);\n\n\t\t}\n\t}", "title": "" }, { "docid": "f0b936a5750a0446e8d672b5f9b23034", "score": "0.5443217", "text": "float getStdDev(int index);", "title": "" }, { "docid": "f23d30160563c06275736dcb1c06e37e", "score": "0.5440475", "text": "public static void collectExtracted(Stream<TraceList> stream) throws IOException{\n\t\tFrequencyTable<Integer> traceCounter=new FrequencyTable<>();\n\t\tStatistic traces=new Statistic(\"Trace\");\n\t\tStatistic points=new Statistic(\"Point\");\n\t\tStatistic width=new Statistic(\"Width\");\n\t\tStatistic height=new Statistic(\"Height\");\n\t\tStatistic traceWidth=new Statistic(\"Trace width\");\n\t\tStatistic traceHeight=new Statistic(\"Trace height\");\n\t\tStatistic length=new Statistic(\"Trace length\");\n\t\tfor(Iterator<TraceList> iterator=stream.iterator();iterator.hasNext();){\n\t\t\tTraceList traceList=iterator.next();\n\t\t\ttraceCounter.advance(traceList.getTraces().size());\n\t\t\ttraces.addSample(traceList.getTraces().size());\n\t\t\ttraceList.getTraces().forEach((t)->{\n\t\t\t\tpoints.addSample(t.getPoints().size());\n\t\t\t\ttraceWidth.addSample(t.getBoundBox().getWidth());\n\t\t\t\ttraceHeight.addSample(t.getBoundBox().getHeight());\n\t\t\t\tlength.addSample((int)SpeedNormalizer.getLength(t));\n\t\t\t});\n\t\t\tBoundBox boundBox=traceList.getBoundBox();\n\t\t\twidth.addSample(boundBox.getWidth());\n\t\t\theight.addSample(boundBox.getHeight());\n\t\t}\n\t\tSystem.out.println(\"Trace:\");\n\t\tSystem.out.println(traceCounter);\n\t\tSystem.out.println(traces);\n\t\tSystem.out.println(points);\n\t\tSystem.out.println(width);\n\t\tSystem.out.println(height);\n\t\tSystem.out.println(traceWidth);\n\t\tSystem.out.println(traceHeight);\n\t\tSystem.out.println(length);\n\t}", "title": "" }, { "docid": "f963a7ea67dacd89650a70148565ca6c", "score": "0.5439362", "text": "@Test\r\n\tpublic void statsTest() {\r\n\t\tLoopsAndArrays la = new LoopsAndArrays();\r\n\r\n\t\tScanner scanner = new Scanner(\"90.0 80.0 70.0 68.0\");\r\n\t\tdouble[] result = la.stats(scanner);\r\n\t\tassertEquals(3, result.length);\r\n\t\tassertEquals(90.0, result[0], 0.1);\r\n\t\tassertEquals(68.0, result[1], 0.1);\r\n\t\tassertEquals(77.0, result[2], 0.1);\r\n\r\n\t\tscanner = new Scanner(\"100 200 300 400\");\r\n\t\tresult = la.stats(scanner);\r\n\t\tassertEquals(3, result.length);\r\n\t\tassertEquals(400, result[0], 0.1);\r\n\t\tassertEquals(100, result[1], 0.1);\r\n\t\tassertEquals(250, result[2], 0.1);\r\n\t}", "title": "" }, { "docid": "893c8cab4420560d1b01138c58a358b4", "score": "0.5436525", "text": "public double stddev() {\r\n return StdStats.stddev(thresholdValues);\r\n }", "title": "" }, { "docid": "abd79f6134d936bb9a1728fe2ab5ce72", "score": "0.54306036", "text": "public static int computeStatistics(Object data, double[] avgstd, Object fillValue)\n {\n \tint retval=1, npoints=0;\n \tdouble sum=0, avg=0.0, var=0.0, diff=0.0, fill=0.0;\n\n \tif ((data == null) || (avgstd == null) || (Array.getLength(data)<=0) || (Array.getLength(avgstd)<2)) {\n return -1;\n }\n \t\n int n = Array.getLength(data);\n boolean hasFillValue = (fillValue!=null && fillValue.getClass().isArray());\n\n String cname = data.getClass().getName();\n char dname = cname.charAt(cname.lastIndexOf(\"[\")+1);\n\n npoints = 0;\n switch (dname)\n {\n case 'B': \n byte[] b = (byte[])data;\n if (hasFillValue) fill = ((byte[])fillValue)[0];\n for (int i=0; i<n; i++) {\n if (hasFillValue && b[i] == fill) continue;\n sum += b[i];\n npoints++;\n }\n avg = sum / npoints;\n for (int i=0; i<n; i++) {\n if (hasFillValue && b[i] == fill) continue;\n diff = b[i] - avg;\n var += diff * diff;\n }\n break;\n case 'S':\n short[] s = (short[])data;\n if (hasFillValue) fill = ((short[])fillValue)[0];\n for (int i=0; i<n; i++) {\n if (hasFillValue && s[i] == fill) continue;\n sum += s[i];\n npoints++;\n }\n avg = sum / npoints;\n for (int i=0; i<n; i++) {\n if (hasFillValue && s[i] == fill) continue;\n diff = s[i] - avg;\n var += diff * diff;\n }\n break;\n case 'I':\n int[] ia = (int[])data;\n if (hasFillValue) fill = ((int[])fillValue)[0];\n for (int i=0; i<n; i++) {\n if (hasFillValue && ia[i] == fill) continue;\n sum += ia[i];\n npoints++;\n }\n avg = sum / npoints;\n for (int i=0; i<n; i++) {\n if (hasFillValue && ia[i] == fill) continue;\n diff = ia[i] - avg;\n var += diff * diff;\n }\n break;\n case 'J':\n long[] l = (long[])data;\n if (hasFillValue) fill = ((long[])fillValue)[0];\n for (int i=0; i<n; i++) {\n if (hasFillValue && l[i] == fill) continue;\n sum += l[i];\n npoints++;\n }\n \n avg = sum / npoints;\n for (int i=0; i<n; i++) {\n if (hasFillValue && l[i] == fill) continue;\n diff = l[i] - avg;\n var += diff * diff;\n }\n break;\n case 'F':\n float[] f = (float[])data;\n if (hasFillValue) fill = ((float[])fillValue)[0];\n for (int i=0; i<n; i++) {\n if (hasFillValue && f[i] == fill) continue;\n sum += f[i];\n npoints++;\n }\n \n avg = sum / npoints;\n for (int i=0; i<n; i++) {\n if (hasFillValue && f[i] == fill) continue;\n diff = f[i] - avg;\n var += diff * diff;\n }\n break;\n case 'D':\n double[] d = (double[])data;\n if (hasFillValue) fill = ((double[])fillValue)[0];\n for (int i=0; i<n; i++) {\n if (hasFillValue && d[i] == fill) continue;\n sum += d[i];\n npoints++;\n }\n avg = sum / npoints;\n for (int i=0; i<n; i++) {\n if (hasFillValue && d[i] == fill) continue;\n diff = d[i] - avg;\n var += diff * diff;\n }\n break;\n default:\n retval = -1;\n break;\n } // switch (dname)\n \n avgstd[0] = avg;\n avgstd[1] = Math.sqrt(var/(npoints-1));\n \t\n \treturn retval;\n }", "title": "" }, { "docid": "d9ff554db09e8fed24dc26436053546c", "score": "0.5430323", "text": "@Override\n public Map<String, StringBuilder> getMetrics() {\n Map<String, StringBuilder> results = new HashMap<>();\n\n // Add the initial severity value every time metrics are collected.\n String severityKey = MetricUtility.constructKey(\"thermal\", \"throttling\", \"severity\");\n MetricUtility.addMetric(severityKey, mInitialSeverity, results);\n\n List<EventMetricData> eventMetricData = getStatsdHelper().getEventMetrics();\n Log.i(LOG_TAG, String.format(\"%d thermal data points found.\", eventMetricData.size()));\n // Collect all thermal throttling severity state change events.\n for (EventMetricData dataItem : eventMetricData) {\n if (dataItem.getAtom().hasThermalThrottlingSeverityStateChanged()) {\n // TODO(b/137878503): Add elapsed_timestamp_nanos for timpestamp data.\n // Get thermal throttling severity state change data point.\n int severity =\n dataItem.getAtom()\n .getThermalThrottlingSeverityStateChanged()\n .getSeverity()\n .getNumber();\n // Store the severity state change ignoring where the measurement came from.\n MetricUtility.addMetric(severityKey, severity, results);\n // Set the initial severity to the last value, in case #getMetrics is called again.\n mInitialSeverity = severity;\n }\n }\n\n return results;\n }", "title": "" }, { "docid": "c0b42083d4c700ca1ee5d6bd0e330bf2", "score": "0.54244983", "text": "public float getSummaryData()\r\n {\r\n float data;\t\t\r\n data = num;\t\t\r\n return data;\r\n }", "title": "" }, { "docid": "d9d478794eee63518047bae10017ea23", "score": "0.53717166", "text": "public double stddev() {\n return this.stddev;\n }", "title": "" }, { "docid": "d9d478794eee63518047bae10017ea23", "score": "0.53717166", "text": "public double stddev() {\n return this.stddev;\n }", "title": "" }, { "docid": "a095d74c6e827cb60ebba0fa08d64136", "score": "0.5359697", "text": "private float dev_std(float[] data) {\r\n\t\treturn (float) Math.sqrt((double) avg(data));\r\n\t}", "title": "" }, { "docid": "d77d0c88c36555ef6d9f74aed1ecc135", "score": "0.5350202", "text": "public double stddev()\n\t{\n\t\tdouble sum=0.0;\n\t\tif(mean==0.0)\n\t\t\tmean = mean();\n\t\tfor ( int i = 0; i < times; i++ )\n\t\t{\n\t\t\tsum+=(thresh[i]-mean)*(thresh[i]-mean);\n\t\t}\n\t\tstdev = Math.sqrt(sum/(times-1));\n\t\treturn stdev;\n\t}", "title": "" }, { "docid": "d1a905475b30099c0ac6e4bca3f502d0", "score": "0.5347149", "text": "public double stddev()\n {\n return StdStats.stddev(thresholds);\n }", "title": "" }, { "docid": "d710b8df9c2669a8e6009ddc097f9d62", "score": "0.5345987", "text": "double stdDev();", "title": "" }, { "docid": "e3b5bea48d30d15771656be4b4bd531e", "score": "0.53392017", "text": "public Statistic(double sum, double avg, double max, double min, long count) {\n super();\n this.sum = sum;\n this.avg = avg;\n this.max = max;\n this.min = min;\n this.count = count;\n }", "title": "" }, { "docid": "950d33f96b6d93d8d5096de4c7ae2cb7", "score": "0.53366697", "text": "public double getStdDev() {\n return stdDev;\n }", "title": "" }, { "docid": "c0cbc06a923ad28f83d5d7d3404762c6", "score": "0.531378", "text": "public Properties getStatistics() {\n \t\treturn statistics;\n \t}", "title": "" }, { "docid": "b1496f7512d66cddd9236ed940339518", "score": "0.53107476", "text": "private double[] allStats () { throw new RuntimeException(); }", "title": "" }, { "docid": "c8041f116f97effc26a8169bfeb4a1ce", "score": "0.5310425", "text": "public double stddev() {\n return StdStats.stddev(results);\n }", "title": "" }, { "docid": "c8041f116f97effc26a8169bfeb4a1ce", "score": "0.5310425", "text": "public double stddev() {\n return StdStats.stddev(results);\n }", "title": "" }, { "docid": "37b37ef5b5b188a7f89e395029f61d06", "score": "0.52950126", "text": "public double stddev() {\n return StdStats.stddev(thresholds);\n }", "title": "" }, { "docid": "37b37ef5b5b188a7f89e395029f61d06", "score": "0.52950126", "text": "public double stddev() {\n return StdStats.stddev(thresholds);\n }", "title": "" }, { "docid": "37b37ef5b5b188a7f89e395029f61d06", "score": "0.52950126", "text": "public double stddev() {\n return StdStats.stddev(thresholds);\n }", "title": "" }, { "docid": "37b37ef5b5b188a7f89e395029f61d06", "score": "0.52950126", "text": "public double stddev() {\n return StdStats.stddev(thresholds);\n }", "title": "" }, { "docid": "d743c25ca7558f152ee24f2ba064987e", "score": "0.52945197", "text": "public void computeStats() {\n float[][] rate = get_params().adaptive_rate ? new float[units.length-1][] : null;\n\n if (get_params().autoencoder && get_params().sparsity_beta > 0) {\n for (int k = 0; k < get_params().hidden.length; k++) {\n mean_a[k] = 0;\n for (int j = 0; j < avg_activations[k].size(); j++)\n mean_a[k] += avg_activations[k].get(j);\n mean_a[k] /= avg_activations[k].size();\n }\n }\n\n for( int y = 1; y < units.length; y++ ) {\n mean_rate[y] = rms_rate[y] = 0;\n mean_bias[y] = rms_bias[y] = 0;\n mean_weight[y] = rms_weight[y] = 0;\n for(int u = 0; u < biases[y-1].size(); u++) {\n mean_bias[y] += biases[y-1].get(u);\n }\n if (rate != null) rate[y-1] = new float[get_weights(y-1).raw().length];\n for(int u = 0; u < get_weights(y-1).raw().length; u++) {\n mean_weight[y] += get_weights(y-1).raw()[u];\n if (rate != null) {\n// final float RMS_dx = (float)Math.sqrt(ada[y-1][2*u]+(float)get_params().epsilon);\n// final float invRMS_g = (float)(1/Math.sqrt(ada[y-1][2*u+1]+(float)get_params().epsilon));\n final float RMS_dx = Utils.approxSqrt(get_ada_dx_g(y-1).raw()[2*u]+(float)get_params().epsilon);\n final float invRMS_g = Utils.approxInvSqrt(get_ada_dx_g(y-1).raw()[2*u+1]+(float)get_params().epsilon);\n rate[y-1][u] = RMS_dx*invRMS_g; //not exactly right, RMS_dx should be from the previous time step -> but close enough for diagnostics.\n mean_rate[y] += rate[y-1][u];\n }\n }\n\n\n mean_bias[y] /= biases[y-1].size();\n\n mean_weight[y] /= get_weights(y-1).size();\n if (rate != null) mean_rate[y] /= rate[y-1].length;\n\n for(int u = 0; u < biases[y-1].size(); u++) {\n final double db = biases[y-1].get(u) - mean_bias[y];\n rms_bias[y] += db * db;\n }\n for(int u = 0; u < get_weights(y-1).size(); u++) {\n final double dw = get_weights(y-1).raw()[u] - mean_weight[y];\n rms_weight[y] += dw * dw;\n if (rate != null) {\n final double drate = rate[y-1][u] - mean_rate[y];\n rms_rate[y] += drate * drate;\n }\n }\n rms_bias[y] = Utils.approxSqrt(rms_bias[y]/biases[y-1].size());\n rms_weight[y] = Utils.approxSqrt(rms_weight[y]/get_weights(y-1).size());\n if (rate != null) rms_rate[y] = Utils.approxSqrt(rms_rate[y]/rate[y-1].length);\n// rms_bias[y] = (float)Math.sqrt(rms_bias[y]/biases[y-1].length);\n// rms_weight[y] = (float)Math.sqrt(rms_weight[y]/weights[y-1].length);\n// if (rate != null) rms_rate[y] = (float)Math.sqrt(rms_rate[y]/rate[y-1].length);\n\n // Abort the run if weights or biases are unreasonably large (Note that all input values are normalized upfront)\n // This can happen with Rectifier units when L1/L2/max_w2 are all set to 0, especially when using more than 1 hidden layer.\n final double thresh = 1e10;\n unstable |= mean_bias[y] > thresh || isNaN(mean_bias[y])\n || rms_bias[y] > thresh || isNaN(rms_bias[y])\n || mean_weight[y] > thresh || isNaN(mean_weight[y])\n || rms_weight[y] > thresh || isNaN(rms_weight[y]);\n }\n }", "title": "" }, { "docid": "016d4a821533d461c3a624a8e3c30e53", "score": "0.5269022", "text": "public double stddev() {\n\t\treturn StdStats.stddev(array);\n\t}", "title": "" }, { "docid": "3171b97d010cea5d1a3043395f39d28f", "score": "0.5266194", "text": "public double stdDev() {\n double avg = avgRate();\n double sum = 0.0;\n for (Sample s : samples) {\n sum += Math.pow((double) s.rate() - avg, 2);\n }\n double variance = sum / (double) samples.size();\n return Math.sqrt(variance);\n }", "title": "" }, { "docid": "1172a764acd8002037542f8913f76a2c", "score": "0.5260315", "text": "public Double getStandardDeviation() {\n return metric.getStdDev();\n }", "title": "" }, { "docid": "92438aed1fc71efacb8fa43d7de41d46", "score": "0.5258967", "text": "public double stddev(){\n\t\t double mean = mean();\n\t\t double std = 0;\n\t\t for(int i = 0; i < T; i++)\n\t\t\t std = std + (percData[i] - mean)*(percData[i] - mean);\n\t\t return Math.sqrt(std/(T-1));\n\t }", "title": "" }, { "docid": "f956c9587e5d73e41de7b6495f1a3907", "score": "0.52566755", "text": "public double stddev()\r\n {\r\n if(this.arrValue.length == 1)\r\n {\r\n return Double.NaN;\r\n }\r\n return StdStats.stddev(this.arrValue);\r\n }", "title": "" }, { "docid": "2478b2b16ea4e5dfb806cf865a809c9e", "score": "0.5254288", "text": "public double stddev() {\n return mStddev;\n }", "title": "" }, { "docid": "a4ae4d00e096dc66eaea3288775dc241", "score": "0.52454036", "text": "public double stddev() {\n return StdStats.stddev(arrOfThreshold);\n }", "title": "" }, { "docid": "f5d27b0d5a44f5b8f799876f943a55c7", "score": "0.5233844", "text": "public float getDev_std() {\r\n\t\treturn dev_std;\r\n\t}", "title": "" }, { "docid": "f432821aa20deb1737537642b60ce94f", "score": "0.5225906", "text": "private static double calculateStdDeviation(List<Integer> list) {\n\t\tdouble deviation = 0;\n\t\tdouble mean = calculateMean(list);\n\t\tfor (Integer val : list) {\n\t\t\tdeviation += Math.pow(mean - val, 2);\n\t\t}\n\t\treturn Math.sqrt(deviation / list.size());\n\t}", "title": "" }, { "docid": "f8d31e5f0249d27b87c5f71a65693dc0", "score": "0.52169555", "text": "public double stddev() {\n\t\treturn StdStats.stddev(results);\n\t}", "title": "" }, { "docid": "708d31edd144ef68202b6aba567c1ae0", "score": "0.52164346", "text": "@java.lang.Override\n public java.util.List<java.lang.Float>\n getStdDevList() {\n return stdDev_;\n }", "title": "" }, { "docid": "65b48d624ab62e62a71da6187f83d731", "score": "0.5212847", "text": "public double statistics() {\n return testStatistics;\n }", "title": "" }, { "docid": "241a9bd8d3f9c3617580150562135b7b", "score": "0.5209212", "text": "public double getStd() {\n\t\tif (needUpdate) update();\n\t\treturn Math.sqrt(statsProcedure.variance());\n\t}", "title": "" }, { "docid": "5be9763b1b1c15a2cb5e4054b9b60389", "score": "0.5208887", "text": "public float getStdDev(int index) {\n return stdDev_.getFloat(index);\n }", "title": "" }, { "docid": "9780cda0abd7325fd11436c6ec5e5f5d", "score": "0.5206362", "text": "public IntegerSequence calculateCommunityStatistics(){\n int maxmu=3;\n int maxF=3;\n int cm=7;\n if (numberElementsArray==null) analyse();\n communityStatistics= new IntegerSequence(maxmu, maxF, cm);\n communityStatistics.calcStats(numberElementsArray);\n return communityStatistics;\n }", "title": "" }, { "docid": "aeaf2bfe265340adda79a5ddcad81434", "score": "0.5201092", "text": "public double stddev() {\n return StdStats.stddev(trialStats);\n }", "title": "" }, { "docid": "e6750bcdea4bd8ad30d89b11eb235965", "score": "0.51991296", "text": "private MetricStreamDefinition streamDef(Query query) {\n TimeInterval dataSettlingTime = null;\n TimeInterval queryChunkSize = null;\n MetricStreamDefinition stream = new MetricStreamDefinition(\"id\", \"metricName\", \"db\", query, dataSettlingTime,\n queryChunkSize);\n return stream;\n }", "title": "" }, { "docid": "17f3c17005e66334db3ff08046cfdb20", "score": "0.5198475", "text": "public float getStdDev(int index) {\n return stdDev_.getFloat(index);\n }", "title": "" }, { "docid": "d25e00d9d6762152f451683f33d42e5a", "score": "0.5196464", "text": "@Override\n public Statistics[] getStatistics() {\n return getStatisticsManager().getStatistics();\n }", "title": "" }, { "docid": "e87234cd9ad0a94b37bbe755a1b20cf9", "score": "0.5196146", "text": "public static void main(String[] args) {\n Stream<String> empty = Stream.empty();\n System.out.println(\"count: \"+empty.count()); // count = 0\n \n // create stream with single element array\n Stream<Integer> singleElement = Stream.of(1);\n System.out.println(\"count: \"+singleElement.count()); // count = 1\n \n // create stream with array\n Stream<Integer> fromArray = Stream.of(1,2,3);\n System.out.println(\"count: \" + fromArray.count()); // count = 3\n \n // create stream with source of List\n List<String> list = Arrays.asList(\"a\",\"b\",\"c\");\n Stream<String> fromList = list.stream();\n Stream<String> fromListParallel = list.parallelStream();\n System.out.println(\"count: \" + fromList.count());\n \n /*\n few ways to create infinite Stream\n */\n // create random stream elemen\n Stream<Double> randoms = Stream.generate(Math::random).limit(5);\n randoms.forEach(System.out::println); \n \n \n /*\n Common Stream Terminal Operation\n Stream can be performed a terminal operation without any intermediate\n operation but not the other way around. \n */\n // count\n Stream<String> fruits = Stream.of(\"Apple\",\"Banana\",\"Cucumber\");\n System.out.println(\"Fruits: \" + fruits.count());\n \n // min & max\n Stream<String> monkeys = Stream.of(\"monkey\",\"ape\",\"bonobo\",\"orangutan\");\n Optional<String> minMon = monkeys.min((s1,s2) -> s1.length()-s2.length());\n minMon.ifPresent(System.out::println); // ape\n \n // forEach\n Stream<Double> numbers = Stream.generate(Math::random)\n .limit(5)\n .map(x -> x*100);\n numbers.forEach(System.out::println);\n \n // collect\n Stream<String> greet = Stream.generate(() -> \"Hello\")\n .limit(10)\n .map(s -> s + \" World!\");\n List<String> cc = greet.collect(Collectors.toList());\n cc.forEach(System.out::println);\n \n \n /*\n Common Intermediate Process \n */\n // filter\n Stream<String> s = Stream.of(\"monkey\",\"gorilla\",\"bonobo\");\n s.filter(x -> x.startsWith(\"m\")).forEach(System.out::println); // monkey\n \n // distinct\n Stream<String> sss = Stream.of(\"duck\",\"duck\",\"duck\",\"goose\");\n sss.distinct().forEach(System.out::println); // goose\n \n // sorted\n Stream<String> names = Stream.of(\"Jack\",\"Andy\",\"Charlie\",\"Bono\");\n names.sorted().forEach(System.out::println); // Andy,Bono,Charlie,Jack\n \n /*\n IntStream\n */\n IntStream.rangeClosed(1, 10).forEach(System.out::print); \n \n \n \n \n }", "title": "" }, { "docid": "aedea3b4f51804d80809d8921dfde19c", "score": "0.5195709", "text": "@Test\r\n public void testGetStandardDeviation() {\r\n System.out.println(\"getStandardDeviation\");\r\n // 1' single\r\n StandardDeviation instance = new StandardDeviation(Arrays.asList(5d), new Average(Arrays.asList(5d)));\r\n double expResult = 0.0;\r\n double result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.0);\r\n \r\n //2' even\r\n instance = new StandardDeviation(Arrays.asList(5d,2d), new Average(Arrays.asList(3.5d)));\r\n expResult = 1.5;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.0);\r\n \r\n //3' odd\r\n instance = new StandardDeviation(Arrays.asList(5d,2d,2d), new Average(Arrays.asList(3d)));\r\n expResult = 1.4142135623731;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.1);\r\n \r\n //4' double\r\n instance = new StandardDeviation(Arrays.asList(9.32d,35.32d,-32.12d), new Average(Arrays.asList(4.173333333333335)));\r\n expResult = 27.771742633275;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.00001);\r\n \r\n //5' no element\r\n instance = new StandardDeviation(Arrays.asList(), new Average(Arrays.asList()));\r\n expResult = NaN;\r\n result = instance.getStandardDeviation();\r\n assertEquals(expResult, result, 0.0);\r\n }", "title": "" }, { "docid": "bd2c1365a69a60c8529d46cd5747c61c", "score": "0.516582", "text": "public double stddev() {\n return StdStats.stddev(this.fractions);\n }", "title": "" }, { "docid": "5914fbcc8e745d66393a4685f974afb3", "score": "0.5160191", "text": "mrtech.smarthome.rpc.Models.DeviceStatistics getStat();", "title": "" }, { "docid": "1e01294cdacef55df667c6f08ac15fb8", "score": "0.515629", "text": "public StatisticsBuilder statistics(Statistics statistics) {\n this.sum += statistics.sum;\n this.count += statistics.count;\n this.avg = this.sum / this.count;\n this.max = this.max >= statistics.max ? this.max : statistics.max;\n this.min = this.min <= statistics.min ? this.min : statistics.min;\n return this;\n }", "title": "" }, { "docid": "3f58c7b514d0f810419ecd66e744bc6c", "score": "0.5149515", "text": "private void calculateMedian()\n {\n int sizeMax = _maxHeap.size() ;\n int sizeMin = _minHeap.size() ;\n \n // mean = average of middle 2 values\n if( sizeMax == sizeMin )\n {\n int valMax = 0 - _maxHeap.peek().intValue() ;\n int valMin = _minHeap.peek().intValue() ;\n \n _median = (valMax + valMin) / 2.0 ;\n }\n \n // median is in max heap\n else if( sizeMax > sizeMin )\n {\n _median = 0 - _maxHeap.peek().intValue() ;\n }\n \n // median is in min heap\n else\n {\n _median = _minHeap.peek().intValue() ;\n }\n }", "title": "" }, { "docid": "5a3d2776070e37641d6ccc45dcb04160", "score": "0.5137455", "text": "public double getMagStdDev() {\n return Double.NaN;\n }", "title": "" }, { "docid": "58d6a99133bb6888f999956e64a9b2af", "score": "0.5135231", "text": "public double getStDeviation() {\r\n return stDeviation;\r\n }", "title": "" }, { "docid": "e61c4641887d027f8258844b996ea1e9", "score": "0.51342064", "text": "public double stddev() {\n return StdStats.stddev(arrThresholds);\n }", "title": "" }, { "docid": "08a8339902e5f057dd08934880f46289", "score": "0.512795", "text": "public static StatsImpl CalculateStats(Collection<CityUV> collection) {\n\t\tint citiesProcessed= collection.size();\n\t\tif (citiesProcessed==0) {\n\t\t\tthrow new IllegalArgumentException(\"La collection di città da analizzare non può essere vuota\");\n\t\t}\n\t\tdouble max=-1;\n\t\tdouble min=1000000;\n\t\tdouble mean=0;\n\t\tdouble variance=0;\n\t\tint valuesProcessed=0;\n\t\t\n\t\tfor (CityUV cityUV : collection) {\n\t\t\tvaluesProcessed+=cityUV.getRecord().size();\n\t\t\tfor (Double d : cityUV.getRecord().values()) {\n\t\t\t\tif (d<min) {\n\t\t\t\t\tmin=d;\n\t\t\t\t}\n\t\t\t\tif (d>max) {\n\t\t\t\t\tmax=d;\n\t\t\t\t}\n\t\t\t\tmean+=d;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\ttry {\n\t\t\tmean/=valuesProcessed;\n\t\t} catch (ArithmeticException e) {\n\t\t\tthrow new IllegalArgumentException(\"I record delle città da analizzare non possono essere tutti contemporeanamente vuoti\");\n\t\t}\n\t\t\n\t\t\n\t\tfor (CityUV cityUV : collection) {\n\t\t\tfor (Double d : cityUV.getRecord().values()) {\n\t\t\t\tvariance+=Math.pow(d-mean, 2);\n\t\t\t}\n\t\t}\n\t\tvariance/=valuesProcessed;\n\t\treturn new StatsImpl(max, min, mean, variance, valuesProcessed, citiesProcessed);\n\t}", "title": "" }, { "docid": "613613ad38159f043baa19a546b6c9ee", "score": "0.5124242", "text": "public static void main(String[] args) throws Exception {\n final StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();\r\n env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime);\r\n\r\n SingleOutputStreamOperator<Tuple3<Integer, Integer, Long>> timestamped = env.addSource(new WaveletTestSource(10000, 80))\r\n .assignTimestampsAndWatermarks(new CustomTimeStampExtractor());\r\n\r\n\r\n Window[] windows = {new SlidingWindow(WindowMeasure.Count, 800, 400)};\r\n// Window[] windows = {new SlidingWindow(WindowMeasure.Time, 1000,500)};\r\n\r\n// SingleOutputStreamOperator<AggregateWindow<CountMinSketch>> finalSketch = BuildSynopsis.scottyWindowsRescale(timestamped,windows,0,CountMinSketch.class,10,10,1L);\r\n SingleOutputStreamOperator<CountMinSketch> finalSketch = BuildSynopsis.countBased(timestamped, 80,40,0,CountMinSketch.class,10, 10, 1L);\r\n\r\n\r\n// finalSketch.flatMap(new FlatMapFunction<AggregateWindow<CountMinSketch>, String>() {\r\n// @Override\r\n// public void flatMap(AggregateWindow<CountMinSketch> value, Collector<String> out) throws Exception {\r\n// String result = value.getStart()+\" ---> \"+value.getEnd()+\"\\n\";//+value.getAggValues().get(0).toString();\r\n// CountMinSketch manager = value.getAggValues().get(0);\r\n// result += \"Elements Processed: \"+manager.getElementsProcessed()+\"\\n\";\r\n// out.collect(result);\r\n//// for (CountMinSketch w: value.getAggValues()){\r\n//// out.collect(w.toString());\r\n//// }\r\n// }\r\n// }).print();\r\n\r\n finalSketch.flatMap(new FlatMapFunction<CountMinSketch, String>() {\r\n @Override\r\n public void flatMap(CountMinSketch manager, Collector<String> out) throws Exception {\r\n String result = \"Elements Processed: \"+manager.getElementsProcessed()+\"\\n\";\r\n// for (int i = 0; i < manager.getElementsProcessed(); i++) {\r\n// double pq = manager.pointQuery(i);\r\n//// System.out.println(pq);\r\n// result += pq +\"\\n\";\r\n// }\r\n result += \"--------------------------------------------------\\n\\n\";\r\n out.collect(result);\r\n// for (CountMinSketch w: value.getAggValues()){\r\n// out.collect(w.toString());\r\n// }\r\n }\r\n }).print();\r\n\r\n// .writeAsText(\"EDADS/output/scottyTest.txt\", FileSystem.WriteMode.OVERWRITE).setParallelism(1);\r\n\r\n env.execute(\"Flink Streaming Java API Skeleton\");\r\n }", "title": "" }, { "docid": "c049a659fd43ae52a25e54d1e86f3c1e", "score": "0.5123781", "text": "public void aggregate(byte[] statsBuf) {\n String[] lines = new String(statsBuf).split(\"\\n\");\n for (int i = 0; i < lines.length; i++) {\n String[] toks = lines[i].split(\" \");\n if (toks.length == 3 && \"ts\".equals(toks[0])) {\n double startTime = Double.parseDouble(toks[1]);\n double endTime = Double.parseDouble(toks[2]);\n startTime_[bufIx_] = startTime;\n endTime_[bufIx_] = endTime;\n bufIx_ = (bufIx_ + 1) % N_STATS;\n double cbTime = endTime - startTime;\n meanCbTime_ += (cbTime - meanCbTime_) * .01;\n }\n }\n }", "title": "" }, { "docid": "06d303feb5866ede1afd90d138b07bbb", "score": "0.5119028", "text": "public float getAverageNumberOfTypesAtReads() {\n float numberPreciseReads = number_read_property_with_single_type + number_read_variables_with_single_type;\n float totalNumberTypes = numberPreciseReads + polymorphic_reads_context_sensitive.values().stream().reduce(0, Integer::sum);\n float totalNumberReads = numberPreciseReads + polymorphic_reads_context_sensitive.size();\n return totalNumberReads != 0 ? totalNumberTypes / totalNumberReads : -1;\n }", "title": "" }, { "docid": "f3df19852f876b675a3236671b305da6", "score": "0.51139957", "text": "public TabularDataSupport getStatistics() throws IOException {\n String[] statsNames = {\"function\", \"count\", \"error code\", \"average\"};\n OpenType[] statsTypes = {SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING};\n try {\n CompositeType statType = new CompositeType(\"Statistic\", \n \"A statistic of a function\", statsNames, statsNames, statsTypes);\n TabularType tabType = new TabularType(\"Function statistics\", \n \"Statistics of the functions\", statType, statsNames);\n TabularDataSupport tabularData = new TabularDataSupport(tabType);\n Iterator itFunctions = _api.getFunctionList().iterator();\n while (itFunctions.hasNext()) {\n Function nextFunction = (Function) itFunctions.next();\n Element success = nextFunction.getStatistics().getSuccessfulElement();\n HashMap statMap = new HashMap();\n statMap.put(\"function\", nextFunction.getName());\n statMap.put(\"count\", success.getAttribute(\"count\"));\n statMap.put(\"error code\", \"\");\n statMap.put(\"average\", success.getAttribute(\"average\"));\n CompositeDataSupport statData = new CompositeDataSupport(statType, statMap);\n tabularData.put(statData);\n }\n \n return tabularData;\n } catch (Exception ex) {\n ex.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "de646eb298d17188794a7d871c4d4c66", "score": "0.51109695", "text": "@Override\n\tpublic Number filteredReading() {\t\t\n\t// Check we have any readings.\n\tif (buffer.size() == 0) return new Double(0.0);\n\t\n\tSensorReading reading = null;\n\tdouble sum = 0.0;\n\tdouble avge = 0.0;\n\tint index = 0;\n\tdouble ww = 0.0;\n\n\t// Loop over buffered samples.\n\tIterator it = buffer.iterator();\n\twhile (it.hasNext()) {\n\t reading = (SensorReading)it.next();\t\n\t if (index < weights.length)\n\t\tww = weights[index];\n\t else\n\t\tww = 0.0;\n\n\t avge = avge + ww * reading.getContinuousReading();\n\t sum = sum + ww;\n\t index++;\n\t}\n\treturn new Double(avge / sum);\n }", "title": "" }, { "docid": "6fa75c133db9db16316d1a41fa7881cd", "score": "0.5110722", "text": "public double[] getAverageAndStD(double[] values){\n\t\t\n\t\tdouble average = average(values);\n\t\t\n\t\t//System.out.println(\"AVERAGE : \"+average);\n\t\t\n\t\treturn new double[] {average, std(values, average)};\n\t}", "title": "" }, { "docid": "3bcd41ce43a0885a6ec4aa63841efec3", "score": "0.51102775", "text": "default double stdDev() {\r\n return Math.sqrt(variance());\r\n }", "title": "" }, { "docid": "2290ed437ce2d4f57349c0d787b566b6", "score": "0.51066655", "text": "public double stddev(){\n\t\treturn stdEstimate;\n\t}", "title": "" }, { "docid": "e79d0846ef2a874b8d2ec7e6ee482d47", "score": "0.5100408", "text": "int getDataFrequencyValue();", "title": "" }, { "docid": "4c50e89600e6986f52916e54b5bef916", "score": "0.5100319", "text": "public double stddev() {\n if (numTrials == 1) {\n return Double.NaN;\n }\n return StdStats.stddev(thresholds);\n }", "title": "" }, { "docid": "656038a6a1e8557ff6e2738c885efe5b", "score": "0.5097813", "text": "private static StdAvg getStdAvg(double[] data){\n double avg = getAverage(data);\n double std = getStandardDeviation(data, avg);\n\n return new StdAvg(std, avg);\n }", "title": "" }, { "docid": "ea447ee6411a0027824b9413f1a1658e", "score": "0.50963205", "text": "public void calcStdDeviation() {\n\t\t\n\t\tthis.std_dev = 0;\n\t\tdouble average = 0.0;\n\t\tint n = this.regretList.size();\n\t\tint regret;\n\t\tint sigmaSum = 0;\n\t\t\n\t\tif (n == 1) {\n\t\t\tthis.std_dev = 0;\n\t\t}\n\t\telse {\n\t\t\tfor (int i = 0; i <= this.regretList.size() - 1; i++) { // calculating the mean\n\t\t\t\taverage += this.regretList.get(i);\n\t\t\t}\n\t\t\taverage /= n;\n\t\t\t\n\t\t\tfor (int u = 0; u <= n - 1; u++) {\n\t\t\t\tsigmaSum += Math.pow(this.regretList.get(u) - average, 2);\n\t\t\t}\n\t\t\t\n\t\t\tthis.std_dev = Math.sqrt(sigmaSum / n); \n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "fce631687259d9a89d84f312462bed3d", "score": "0.5095566", "text": "public MeanStdDevTransformation() { }", "title": "" }, { "docid": "deb8f72ac518ea5ee1209c97f13bf463", "score": "0.5089625", "text": "public double standardDeviation() {\n return Math.sqrt(value());\n }", "title": "" }, { "docid": "1530d8982a595228cda1f9c2951925e6", "score": "0.50882965", "text": "public double stddev() {\n if (resStddev == 0) {\n resStddev = StdStats.stddev(fracOpen);\n }\n return resStddev;\n\n }", "title": "" } ]
a70a998e8ae57245ac8063ff1c2ffdf8
Publicar mensaje en un topic
[ { "docid": "5fa835317d38157d41aa334146e3302d", "score": "0.67600155", "text": "public void enviarMensajeMQTT(String data, String subTopic) {\n try {\n Log.i(MQTT.TAG, \"Publicando mensaje: \" + data);\n MqttMessage message = new MqttMessage(data.getBytes());\n message.setQos(MQTT.qos);\n message.setRetained(false);\n client.publish(subTopic, message);\n } catch (\n MqttException e) {\n Log.e(MQTT.TAG, \"Error al publicar.\", e);\n }\n }", "title": "" } ]
[ { "docid": "4cf30e563d9827663ba552f8d0c5f3c7", "score": "0.72993696", "text": "@Override\n\tpublic void publish(String topic, String str) {\n\t\t\n\t}", "title": "" }, { "docid": "6126e7aef523761ca9168acdd1cefe3a", "score": "0.6919684", "text": "public void publish(String msg) {\n\n try {\n MqttMessage message = new MqttMessage();\n message.setPayload(msg.getBytes());\n mqttAndroidClient.publish(publishTopic, message);\n } catch (MqttException e) {\n System.err.println(\"Error Publishing: \" + e.getMessage());\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "9e4d96025b988b89a275dc09ddb4c66e", "score": "0.6907883", "text": "public void publishMessage(String topic, String value) {\n logger.infof(\"Publishing on topic {%s}, message: %s \", topic, value);\n try {\n client.publish(topic, value.getBytes(\"UTF-8\"), 0, false);\n } catch (UnsupportedEncodingException uee) {\n logger.warnf(\"Message %s cannot be encoded as UTF-8 bytes, ignoring it\", uee);\n } catch (MqttPersistenceException mpe) {\n mpe.printStackTrace();\n } catch (MqttException me) {\n me.printStackTrace();\n }\n }", "title": "" }, { "docid": "befde69d36e0781de20ebb4ac07322dd", "score": "0.6869111", "text": "public void publish(final String msg) {\n\t\tHashtable<String, String> args = new Hashtable<String, String>(2);\n\t\targs.put(\"message\", msg);\n\t\targs.put(\"channel\", CHANNEL);\n\t\tpubnub.publish(args, new Callback() {\n\t\t\t@Override\n\t\t\tpublic void successCallback(String channel, Object message) {\n\t\t\t\tnotifyUser(\"PUBLISH : \" + msg);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void errorCallback(String channel, PubnubError error) {\n\t\t\t\tnotifyUser(\"PUBLISH : \" + error);\n\t\t\t\tLog.e(TAG, error.toString());\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "622a8b7797c2154ff1d325c1c68226c6", "score": "0.68616784", "text": "@Override\n public void notifyPublish(MessageI m, String topic) throws Exception {\n this.getOwner().handleRequestAsync(writeExecutorIndex,\n new AbstractComponent.AbstractService<Void>(){\n @Override\n public Void call() throws Exception {\n ((NotificationCI)this.getServiceProviderReference()).notifyPublish(m, topic);\n return null;\n }\n }\n );\n }", "title": "" }, { "docid": "55d988dc40b80691bc29887a487f02d2", "score": "0.66189235", "text": "@PUT(\"/api/admin/message/topic\")\n\tJsonObject postTopicMessage(@Query(\"topic\") String topic, @Query(\"title\") String title, @Query(\"content\") String content, @Query(\"type\") String type);", "title": "" }, { "docid": "ea74557dcf9f730cbf5375f05d8a9335", "score": "0.6605286", "text": "void subscribe(MessageTopic topic);", "title": "" }, { "docid": "abafa95193fa81ec6b3b309855ee4a31", "score": "0.66033965", "text": "@Override\n public void notifyPublish(MessageI[] ms, String topic) throws Exception {\n this.getOwner().handleRequestAsync(writeExecutorIndex,\n new AbstractComponent.AbstractService<Void>(){\n @Override\n public Void call() throws Exception {\n ((NotificationCI)this.getServiceProviderReference()).notifyPublish(ms, topic);\n return null;\n }\n }\n );\n }", "title": "" }, { "docid": "9c890e7104cc68be4108b0687c8650e7", "score": "0.64734846", "text": "@Override\n public boolean addMessage(String topic, String message) throws IOException {\n message = this.name + \": \" + message;\n HttpUriRequest req= new HttpGet(\"http://\" + path + \"?action=postMessage&message='\" + URLEncoder.encode(message, \"UTF-8\")\n + \"'&topic=\" + URLEncoder.encode(topic, \"UTF-8\"));\n try {\n httpClient.execute(req);\n } catch (IOException e) {\n logger.error(e.getMessage());\n }\n return false;\n }", "title": "" }, { "docid": "e15b54b81023f15c209d75a85207d042", "score": "0.6468477", "text": "@Override\r\n\t\t\t\tpublic void run() {\n\t\t\t\t\tsendMessageByTopic();\r\n\t\t\t\t}", "title": "" }, { "docid": "2ba2f8d286f82e5efd752ce9d94925e6", "score": "0.64532334", "text": "@Override\n public void run() {\n ConnectionFactory factory = new ConnectionFactory();\n factory.setHost(host);\n\n try {\n \t//criando canal para realizar as tarefas\n \tConnection connection = factory.newConnection();\n Channel channel = connection.createChannel();\n //declara ativamente uma troca não autodelete sem argumentos extras\n channel.exchangeDeclare(\"BROKER\", BuiltinExchangeType.TOPIC);\n //publicar uma mensagem na fila\n channel.basicPublish(\"BROKER\", topic, null, message.getBytes(\"UTF-8\"));\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "61e0291be981e94a32b49d95cef856b3", "score": "0.6443367", "text": "public void updateTopic() {\n ChatThreadClient chatThreadClient = getChatThreadClient();\n\n // BEGIN: readme-sample-updateTopic\n chatThreadClient.updateTopic(\"New Topic\");\n // END: readme-sample-updateTopic\n }", "title": "" }, { "docid": "a72049e73582608290519ca7516d11af", "score": "0.64033055", "text": "public void sendMessage() { \n\n\t\tTimer timer = new Timer(); // for running it every 2 seconds\n\t\ttimer.schedule(new TimerTask() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\n\t\t\t\tRandom rand = new Random(); // instance of random class\n\t\t\t\tString int_random = Integer.toString(rand.nextInt(10000));\n\n\t\t\t\tlogger.info(String.format(\"Produced message by Producer = %s\", int_random)); // displaying sent message\n\t\t\t\t\n\t\t\t\tkafkaTemplate.send(TOPIC, int_random); // send message to topic\n\t\t\t}\n\t\t}, 0, 2000); \n\n\t}", "title": "" }, { "docid": "38da2d43a0c881d8e0fa6ee4a8eb3454", "score": "0.63869923", "text": "public void publish(String message) {\n\t\tSystem.out.println(message); \n\t}", "title": "" }, { "docid": "dcd566e0d33c3e05877746a928d2133c", "score": "0.6382097", "text": "@Override\n public void notifyTopic(String topic) throws Exception {\n \n this.getOwner().handleRequestAsync(writeExecutorIndex,\n new AbstractComponent.AbstractService<Void>(){\n @Override\n public Void call() throws Exception {\n ((NotificationCI)this.getServiceProviderReference()).notifyTopic(topic);\n return null;\n }\n });\n\n }", "title": "" }, { "docid": "bf68da2dff67109b8a70baeb733788c2", "score": "0.63669115", "text": "public void addMessage(Message message)\n {\n messagesTopic.publish(message);\n }", "title": "" }, { "docid": "9cbc48b67c7baa3cd63f88e4f1d7cf3a", "score": "0.636031", "text": "public void publish(String topic, byte[] data) {\n client.publishWith().topic(topic).payload(data).qos(MqttQos.AT_MOST_ONCE).send();\n }", "title": "" }, { "docid": "24f8f28dbeeaa84dac4f88f0c5b9bb84", "score": "0.633136", "text": "private void handleMqttPublish(MqttPublish receivedMsg) {\n\n }", "title": "" }, { "docid": "75c1afaa0e87c3ca06919b46e75bb873", "score": "0.6316844", "text": "public static void sendToServer(String m) {\r\n try {\r\n p.Publish(m, 1, true);\r\n } catch (MqttException ex) {\r\n //no possibility to contact daemon, need to shut down this programme -> causes message \"offline\" on topic\r\n System.exit(1);\r\n }\r\n }", "title": "" }, { "docid": "dab5741e410808ea7f018143216ffd24", "score": "0.629411", "text": "public void messageArrived(String topic, MqttMessage message) throws Exception {\n\t\tString msgStr = message.toString();\n\t\tPacket msgPacket = create(msgStr);\n\t\toutPort.send(msgPacket);\n\t\n\t}", "title": "" }, { "docid": "55f621576f80a675e5d2165fc23d4960", "score": "0.6271505", "text": "private void createTopic(String topic) {\n\t\tproxy.publish(\"Topic \"+topic+\" created\", topic);\r\n\t\tproxy.publish(\"getTopics\", \"all\");\r\n\t\tgetSubscribers(topic);\r\n\t}", "title": "" }, { "docid": "9ba17332436693dd1efefc68ce198b71", "score": "0.6267059", "text": "@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n }", "title": "" }, { "docid": "a274f596c929819eab7c1c94db1774e8", "score": "0.62655956", "text": "public void send(String msg) {\n\t\tmsg = subscriberHost+\"/\"+subscriberPort+\": \"+msg;\r\n\t\tproxy.publish(msg, topicName);\r\n\t}", "title": "" }, { "docid": "c4f1748fb075f2c78a945271e55f3994", "score": "0.6255988", "text": "public Lease sendPublicMessage(PostEntry post)\n {\n Lease success = null;\n if(post == null)\n {\n System.err.println(\"Failed to create post.\");\n }\n else\n {\n try\n {\n if(post.getTopic() == null)\n {\n JOptionPane.showMessageDialog(null,\n \"Topic does not exist!\");\n }\n else if(post.getAuthor() == null)\n {\n JOptionPane.showMessageDialog(null,\n \"Author does not exist.\");\n }\n else\n {\n Transaction transaction =\n TransactionBuilder.getTransaction();\n\n if(topicUtils.topicExists(post.getTopic(), transaction))\n {\n success = space.write(post, transaction, Lease.FOREVER);\n }\n transaction.commit();\n }\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return success;\n }", "title": "" }, { "docid": "2d3437f7b024dbc4615c2416fa6639ab", "score": "0.61852515", "text": "@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n }", "title": "" }, { "docid": "7dfa2b118fd3b3944cca6521ebe2d8d2", "score": "0.61711895", "text": "LogTopic()\n {\n\n }", "title": "" }, { "docid": "6bd2ac8ee396ad0da1335b6476c8041b", "score": "0.6153965", "text": "public void sendMessage(String message) {\n logger.info(String.format(\"$$ -> Producing message --> %s\", message));\n this.kafkaTemplate.send(TOPIC, jsonEnvelope(message));\n }", "title": "" }, { "docid": "7a4708e6a259f0f8530c44b1e3565d62", "score": "0.6098963", "text": "private void getNotification(){\n\n FirebaseMessaging.getInstance().subscribeToTopic(\"upload\")\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n String msg = \"Success\";\n if (!task.isSuccessful()) {\n msg = \"Success\";\n }\n Log.d(\"TAG\", msg);\n// Toast.makeText(MainActivity.this, msg, Toast.LENGTH_SHORT).show();\n }\n });\n\n\n\n\n }", "title": "" }, { "docid": "dc782de0fe23ad7d9d177c733e64c690", "score": "0.60832566", "text": "void onPublish(InternalMessage<Publish> msg);", "title": "" }, { "docid": "5deaa72b76c442819775c74a9a284d63", "score": "0.6076752", "text": "@Override\n public void publishMessage(String message, String routingKey){\n try {\n channel.basicPublish(this.exchangeName, routingKey, MessageProperties.PERSISTENT_TEXT_PLAIN, message.getBytes());\n } catch (IOException e) {\n System.err.println(\"Error during message publishing\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "7be2aa956965bae7025ccd3f28dcfefd", "score": "0.6069925", "text": "@PostMapping(\"/send\")\n @ResponseBody // i.e. return directly as HTML, not a view\n public void produce(@RequestParam String message,\n @RequestParam(value = \"to\", required = false) String recipient) throws ExecutionException, InterruptedException {\n DateTime dt = new DateTime(DateTimeZone.UTC);\n\n // add new \"user\" if not exists\n if (recipient != null) {\n NativeAdmin.createTopicIfNotExists(recipient);\n template.send(recipient, dt + \" -- \" + message);\n } else {\n // otherwise send to everyone\n ArrayList<String> topics = NativeAdmin.getAllTopics();\n for (String topic : topics) {\n System.out.println(\"Sending to \" + topic);\n template.send(topic, dt + \" -- \" + message);\n }\n }\n }", "title": "" }, { "docid": "161a2cf8d49a644d8cab98ee61a1bc4f", "score": "0.6068615", "text": "public <T> void sendMessage(String topic, String partition, T message) throws IOException {\n sendMessage(topic, partition, message, 0);\n }", "title": "" }, { "docid": "0725ec7b8e807bdfbe494b3996a5f80f", "score": "0.60544455", "text": "private void publishMessage(Channel channel, List<String> messages) {\n messages\n .forEach(message -> {\n try {\n channel.basicPublish(\"\", \"queuq-1\", null, message.getBytes());\n } catch (IOException e) {\n logger.error(\"error occurred {}\", e.getMessage());\n }\n });\n }", "title": "" }, { "docid": "8b666c5298edf143599501fd5813db0e", "score": "0.6054199", "text": "@MessageMapping(\"/chat.sendMessage.{numdibujo}}\")\n public void sendMessage(@Payload ChatMessage chatMessage, @DestinationVariable String numdibujo) {\n msgt.convertAndSend(\"/topic/public.\"+numdibujo,chatMessage);\n }", "title": "" }, { "docid": "5515224a8abb3ab3d3e05682da5ab823", "score": "0.60205424", "text": "public void setTopic(String topic) {\r\n\t\tthis.topic = topic;\r\n\t}", "title": "" }, { "docid": "5515224a8abb3ab3d3e05682da5ab823", "score": "0.60205424", "text": "public void setTopic(String topic) {\r\n\t\tthis.topic = topic;\r\n\t}", "title": "" }, { "docid": "55d923a3710e35820aa05bba7dda705a", "score": "0.60155946", "text": "private String basicPublish( String message ) throws IOException\n {\n if( !isQueueDeclared )\n {\n mc.getChannel().queueDeclare( queueName, false, false, false, null );\n isQueueDeclared = true;\n }\n\n mc.getChannel().basicPublish( \"\", queueName, null, message.getBytes() );\n\n return \"[Sent] --> '\" + message + \"'\";\n }", "title": "" }, { "docid": "62ad7677f859b9bbbc6c9f25cdd3bbe9", "score": "0.6006807", "text": "Builder topic(String topic);", "title": "" }, { "docid": "7e8078091c2d965f44430aaf0d01a628", "score": "0.60067046", "text": "public interface SendMessage {\n\n\tpublic String sendMessage(String content, String sender, String topic);\n\t\n}", "title": "" }, { "docid": "e458331f9cce904ca5b9dc6335c0751a", "score": "0.59956855", "text": "public MQTTopic(String topicName) {\n this.topic = topicName;\n }", "title": "" }, { "docid": "a0eb9c5cf50c03ef049efba2750f6eb2", "score": "0.59928465", "text": "public void publishData(String msg) {\n\t\t\t\n\t\t\t//publish(msg);\n\t\t\tpublish(new MsgObj(msg));\n\t\t}", "title": "" }, { "docid": "e29908514869c448f44653772ab65b1a", "score": "0.5960963", "text": "String getTopic();", "title": "" }, { "docid": "5e19382f6da5a3f1494ead45cde5ce44", "score": "0.59551257", "text": "public void publish(Message message, PubSubService pubSubService) {\n pubSubService.addMessageToQueue(message);\n }", "title": "" }, { "docid": "b6232b28a66ee57a31ed85926a42d68f", "score": "0.5893957", "text": "public void publishMessageWithDelay() throws NamingException, JMSException {\n\n try (TopicConnection topicConnection = topicConnFactory.createTopicConnection();\n TopicSession topicSession =\n topicConnection.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);) {\n topicConnection.start();\n Topic createdtopic = topicSession.createTopic(\"JavaEE\");\n\n // create the message to send\n TextMessage textMessage = topicSession.createTextMessage(\"This is a test message\");\n \n javax.jms.TopicPublisher topicPublisher = topicSession.createPublisher(createdtopic);\n topicPublisher.setDeliveryDelay(1000);\n topicPublisher.publish(textMessage);\n setMessage(\"Message Published\");\n\n }\n \n }", "title": "" }, { "docid": "d1414219e472d6149f1dc23e27876d3a", "score": "0.5879259", "text": "private void subscribeToTopic(){\n consumer.subscribe(Collections.singletonList(this.topic));\n\n }", "title": "" }, { "docid": "6f05dfabbbb2b3b5cafb3134a9062842", "score": "0.58782935", "text": "public void mostrarMensaje(String mensaje) {\n\t\tventanaServidor.pantallaChat.append(mensaje);\n\t}", "title": "" }, { "docid": "9b595ff3fdb96f62697df54155a650e3", "score": "0.5877846", "text": "public String getTopic() {\n return _topic;\n }", "title": "" }, { "docid": "ba0d063031d2f6d286ea355bcceb6b1f", "score": "0.5875671", "text": "public int publishAMessage(String message, String topic, boolean retained) {\n MqttMessage msg = new MqttMessage(message.getBytes());\n msg.setQos(2);\n msg.setRetained(retained);\n if (isConnectedToBroker) {\n try {\n client.publish(topic, msg);\n return 1;\n } catch (MqttException e) {\n e.printStackTrace();\n return 0;\n }\n } else {\n return -1;\n }\n }", "title": "" }, { "docid": "0826c3750d05e5e9c02706466bd7c4a0", "score": "0.5857036", "text": "@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n Gson g = new Gson();\n Device device = g.fromJson(message.toString(), Device.class);\n Toast.makeText(getApplicationContext(), message.toString(), Toast.LENGTH_SHORT).show();\n\n TextView text = findViewById(R.id.txt);\n text.setText(device.toString());\n }", "title": "" }, { "docid": "4d3e3095d8c8d693ef2d5a4ba809f30a", "score": "0.5855696", "text": "java.lang.String getCreatedtopic();", "title": "" }, { "docid": "57c5e26b2d60eb9778e66d7b36fe19b4", "score": "0.58536005", "text": "public String getTopic()\n {\n return topic;\n }", "title": "" }, { "docid": "6b0bd3a58f78219d34b69b82a69c2fc4", "score": "0.58530277", "text": "public String getTopic(){\r\n\t\treturn this.topic;\r\n\t}", "title": "" }, { "docid": "81da3db56d62a20aade4b264473e9386", "score": "0.5849043", "text": "public void createTopic(String topic) {\r\n\t\tcreateTopic(topic, 1, 1, new Properties());\r\n\t}", "title": "" }, { "docid": "8c6576dac9395aee389c08eefd15198b", "score": "0.5848189", "text": "public String getTopic() {\n return topic;\n }", "title": "" }, { "docid": "8c6576dac9395aee389c08eefd15198b", "score": "0.5848189", "text": "public String getTopic() {\n return topic;\n }", "title": "" }, { "docid": "660e698a7eabc2593f94985a67e4476e", "score": "0.58431715", "text": "public void notify(String msg){\n\n }", "title": "" }, { "docid": "cdc8f8fcbff7c6a4f3df58e2b933b1e8", "score": "0.5826364", "text": "public void sendMessage(String topic, String message) {\n ListenableFuture<SendResult<String, String>> future = kafkaTemplate.send(topic, message);\n\n // The same with MessageBuilder\n // ListenableFuture<SendResult<String, String>> future =\n // kafkaTemplate.send(\n // MessageBuilder.withPayload(message)\n // .setHeader(KafkaHeaders.TOPIC, topic)\n // .build());\n\n // you can register a callback with the listener to receive the result\n // of the send asynchronously\n future.addCallback(new ListenableFutureCallback<SendResult<String, String>>() {\n\n @Override\n public void onSuccess(SendResult<String, String> result) {\n RecordMetadata recordMetadata = result.getRecordMetadata();\n ProducerRecord producerRecord = result.getProducerRecord();\n\n LOGGER.info(\"sent message='{}'\", message);\n LOGGER.info(\"RecordMetadata\");\n LOGGER.info(\"with offset={}\", recordMetadata.offset());\n LOGGER.info(\"with partition={}\", recordMetadata.partition());\n LOGGER.info(\"with checksum={}\", recordMetadata.checksum());\n LOGGER.info(\"with timestamp={}\", recordMetadata.timestamp());\n LOGGER.info(\"with timestamp={}\", recordMetadata.topic());\n\n LOGGER.info(\"ProducerRecord\");\n LOGGER.info(\"with partition={}\", producerRecord.partition());\n LOGGER.info(\"with value={}\", producerRecord.value());\n LOGGER.info(\"with timestamp={}\", producerRecord.timestamp());\n LOGGER.info(\"with topic={}\", producerRecord.topic());\n }\n\n @Override\n public void onFailure(Throwable ex) {\n LOGGER.error(\"unable to send message='{}'\", message, ex);\n }\n });\n\n // alternatively, to block the sending thread, to await the result,\n // invoke the future’s get() method\n }", "title": "" }, { "docid": "4e04a011963ae2a40c91b510208abfa0", "score": "0.58152443", "text": "public void processMessage () {\n\t\twhile(true) {\n\t\t\tString msg = this.consumer.riceviMessaggi();\n\t\t\tif (msg!=null) {\n\t\t\t\tString tasformedMessage = \"***MESSAGGIO_TRASFORMATO*** \"+msg;\n\t\t\t\tthis.producer.invia(tasformedMessage, topicDestination);\n\t\t\t\tSystem.out.println(producer.toString()+\" inviato --> \"+tasformedMessage);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "eaf421237dec9746482b815576011d40", "score": "0.58056104", "text": "void registerMessageConsumerToTopic(MessageConsumer<T> consumer, Topic topic);", "title": "" }, { "docid": "e008827dd552455fb7fd93e50d25ad0f", "score": "0.57962936", "text": "public void sendMessage(String to, String content){\n }", "title": "" }, { "docid": "3c8c01ed2680221e7ea3269bcbdf2cb2", "score": "0.57882655", "text": "Topic createTopic(String topicName);", "title": "" }, { "docid": "2f0e3a87de556ec22ec80b5a6b9c2576", "score": "0.57787436", "text": "@Override\n public void messageArrived(String topic, MqttMessage mqttMessage) throws Exception {\n log.debug(\"Message Arrived for topic : \" + topic);\n messageProcessorService.initMessageProcessing(topic, mqttMessage, AppConstants.CLIENT_O1);\n }", "title": "" }, { "docid": "edab961827ba7d52c3425f1d052593e3", "score": "0.57770807", "text": "private void subscribeTopic () throws IOException, ClassNotFoundException {\n String id = (String) in.readObject();\n\n boolean ok = sqlOperations.subscribeTopicSQL(id_user,Integer.parseInt(id));\n\n if(ok){\n out.writeObject(\"From now, you are subscribed to this topic!\");\n System.out.println(\"Client with \"+ socket.getPort() +\" port has subscribed to a topic\\n\");\n }else{\n out.writeObject(\"You can't subscribe!\");\n }\n out.flush();\n }", "title": "" }, { "docid": "a3f88ca9e5772f7136e13ca7a6e616ec", "score": "0.5765941", "text": "private void publish() {\n Log.i(TAG, \"Publishing\");\n PublishOptions options = new PublishOptions.Builder()\n .setStrategy(PUB_SUB_STRATEGY)\n .setCallback(new PublishCallback() {\n @Override\n public void onExpired() {\n super.onExpired();\n Log.i(TAG, \"No longer publishing\");\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n //mPublishSwitch.setChecked(false);\n }\n });\n }\n }).build();\n\n Nearby.Messages.publish(googleApiClient, message, options)\n .setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(@NonNull Status status) {\n if (status.isSuccess()) {\n Toast.makeText(getBaseContext(),\"Shared the product successfully!\",Toast.LENGTH_LONG).show();\n Log.i(TAG, \"Published successfully.\");\n } else {\n logAndShowSnackbar(\"Could not publish, status = \" + status);\n }\n }\n });\n }", "title": "" }, { "docid": "c23051413297ddf4445e351d8e38bb9a", "score": "0.5762438", "text": "public void sendMessage1() {\n\t\tfinal FanoutMessage message = new FanoutMessage(\"Hello, MessageNumber 1\", new Random().nextInt(50));\n\t\tlog.info(\"Sending message 1...\");\n\t\trabbitTemplate.convertAndSend(config.getFanoutexchangename(), \"\", message);\n\t}", "title": "" }, { "docid": "1d86fafc77286e2380b77c8b9fd4d02a", "score": "0.57572025", "text": "public void updateTopic(Topic topic) {\n\t}", "title": "" }, { "docid": "13ce699e32137f0c5eeeb47494bd84f4", "score": "0.5753845", "text": "@Override\n public void messageArrived(String topic, MqttMessage message) throws Exception {\n String msg_alert = new String(message.getPayload());\n Log.d(\"smart_alert\", msg_alert);\n String[] b = msg_alert.split(\",\");\n Log.d(\"smart_alert_split\", b[0]);\n String _number = pref.getString(\"number\", \"\");\n if (b[0].equals(_number)) {\n vibrate();\n addNotification(msg_alert);\n mPlayer.start();\n\n String info = \"หมายเลข \" + b[0] + \" อีก 5 คิวจะถึงคิวของท่าน กรุณาไปรอที่บริเวณ \" + b[1];\n txt_wait.setText(info);\n }\n\n }", "title": "" }, { "docid": "a95e5cd20165d930ba5a7ec22b62527a", "score": "0.5752778", "text": "public Lease sendPrivateMessage(PostEntry post)\n {\n Lease success = null;\n if(post.getRecipient() == null)\n {\n JOptionPane.showMessageDialog(null, \"Recipient unavailable!\");\n }\n\n Transaction transaction = TransactionBuilder.getTransaction();\n // Check user in topic\n try\n {\n DummyUserInTopic template = new DummyUserInTopic();\n template.setTopic(post.getTopic());\n template.setUser(post.getRecipient());\n DummyUserInTopic userInTopic = (DummyUserInTopic)\n space.readIfExists(template, transaction, 3000);\n\n if(userInTopic != null)\n {\n success = space.write(post, transaction, Lease.FOREVER);\n transaction.commit();\n }\n else\n {\n JOptionPane.showMessageDialog(null,\n \"User no longer in topic.\");\n }\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return success;\n }", "title": "" }, { "docid": "e9029736c4669106de0cbb7141297d69", "score": "0.5750855", "text": "@Override\n\tpublic String generateMessage() {\n\t\treturn \"HI, STUB!\";\n\t}", "title": "" }, { "docid": "5e993ef77a0eca32b602a5b62a89d8f2", "score": "0.5738549", "text": "public void admin() throws Exception {\r\n // conexion \r\n ConnectionFactory cf = TcpConnectionFactory.create(\"localhost\", 2560);\r\n AdminModule.connect(cf, \"root\", \"root\");\r\n \r\n // create a Topic \r\n Topic topic = org.objectweb.joram.client.jms.Topic.create(\"topic\"); \r\n // set permissions\r\n ((org.objectweb.joram.client.jms.Topic) topic).setFreeReading();\r\n ((org.objectweb.joram.client.jms.Topic) topic).setFreeWriting();\r\n \r\n // create a user\r\n User.create(\"anonymous\", \"anonymous\");\r\n\r\n javax.naming.Context jndiCtx = new javax.naming.InitialContext();\r\n jndiCtx.bind(\"cf\", cf);\r\n jndiCtx.bind(\"topic\", topic);\r\n jndiCtx.close();\r\n\r\n org.objectweb.joram.client.jms.admin.AdminModule.disconnect();\r\n }", "title": "" }, { "docid": "c9fa7f15af2106ef0b31b8d72a5088b8", "score": "0.5735489", "text": "public void messageArrived(String topic, MqttMessage message) throws Exception {\n\n\t\t//Reading message recieved\n\t\tString tempStr = new String(message.getPayload());\n\t\tString value = tempStr.substring(9,13);\n\t\tLOGGER.info(\"MQTT:Message received from ubidots:\" + tempStr );\n\n\t}", "title": "" }, { "docid": "8685c5f67309117f148a865b6cf533e7", "score": "0.57288086", "text": "public void sendKafka(KeyedMessage<String, String> message) {\n this.producer.send(message);\n }", "title": "" }, { "docid": "9e346bb7eacbe4f7b76f8ea8f7f00ea5", "score": "0.57269067", "text": "@SuppressWarnings(\"unchecked\")\n\tprivate void sendfcmmsg(String title,String message) {\n\t\ttry {\n\t\t\tURL url = new URL(FCM_URL);\n\t\t\tHttpURLConnection conn;\n\t\t\tconn = (HttpURLConnection) url.openConnection();\n\t\t\tconn.setUseCaches(false);\n\t\t\tconn.setDoInput(true);\n\t\t\tconn.setDoOutput(true);\n\t\t\tconn.setRequestMethod(\"POST\");\n\t\t\tconn.setRequestProperty(\"Authorization\", \"key=\" + SERVER_KEY);\n\t\t\tconn.setRequestProperty(\"Content-Type\", \"application/json\");\n\n\t\t\tJSONObject infojson = new JSONObject();\n\t\t\t// notification title\n\t\t\tinfojson.put(\"title\", title);\n\t\t\tinfojson.put(\"body\", message);\n\t\t\tJSONObject json = new JSONObject();\n\t\t\tjson.put(\"to\", \"/topics/all\");\n\t\t\tjson.put(\"notification\", infojson);\n\n\t\t\tOutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());\n\t\t\twr.write(json.toString());\n\t\t\twr.flush();\n\n\t\t\tint status = 0;\n\t\t\tif (null != conn) {\n\t\t\t\tstatus = conn.getResponseCode();\n\t\t\t}\n\t\t\tif (status != 0) {\n\t\t\t\tswitch (status) {\n\t\t\t\tcase 200:\n\t\t\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));\n\t\t\t\t\tSystem.out.println(\"Android Notification Response : \" + reader.readLine());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 401:\n\t\t\t\t\tSystem.out.println(\"Notification Response : Error\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase 501:\n\t\t\t\t\tSystem.out.println(\"Notification Response : server Error\" );\n\t\t\t\tcase 503:\n\t\t\t\t\tSystem.out\n\t\t\t\t\t\t\t.println(\"Notification Response : server Error Notification Server is unavailable\");\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch (MalformedURLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "0d7980ca9dfce20d4d67e398b439f2de", "score": "0.57203627", "text": "@Override\n public void run() {\n ConnectionFactory factory = new ConnectionFactory();\n factory.setHost(host);\n\n try {\n \t//criando canal para realizar as tarefas\n Connection connection = factory.newConnection();\n Channel channel = connection.createChannel();\n //declara ativamente uma troca não autodelete sem argumentos extras\n channel.exchangeDeclare(\"BOLSADEVALORES\", BuiltinExchangeType.TOPIC);\n //declarando fila para consumo\n String queueName = channel.queueDeclare().getQueue();\n channel.queueBind(queueName, \"BOLSADEVALORES\", topic);\n\n //utilizando a interface para armazenar em buffer as mensagens enviadas\n DeliverCallback deliveryCallback = (consumerTag, delivery) -> {\n String message = new String(delivery.getBody(), \"UTF-8\");\n String topic = delivery.getEnvelope().getRoutingKey();\n\n String[] splitTopic = topic.split(\"\\\\.\");\n String[] splitMessage = message.split(\">|;|<\");\n\n String messageFormat;\n\n if (splitMessage.length > 5) {\n messageFormat = splitTopic[0] + \" \" + splitTopic[1].toUpperCase() + \" | data: \" + splitMessage[1]\n + \", crr_vd: \" + splitMessage[2] + \", crr_cp: \" + splitMessage[3] + \", qtde: \"\n + splitMessage[4] + \", val: \" + splitMessage[5];\n } else {\n messageFormat = splitTopic[0] + \" \" + splitTopic[1].toUpperCase() + \" | qtde: \" + splitMessage[1]\n + \", val: \" + splitMessage[2] + \", crr: \" + splitMessage[3];\n }\n\n JLabel messageL = new JLabel(messageFormat);\n messageL.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\n\n //mostrar mensagem na interface\n BrokerGUI.actionsP.add(messageL);\n BrokerGUI.actionsP.revalidate();\n BrokerGUI.actionsP.repaint();\n };\n //inicializando um consumidor nao local e nao exclusivo\n channel.basicConsume(queueName, true, deliveryCallback, consumerTag -> { });\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "8f22255d8f644ac37ea1b6d38073cbd3", "score": "0.571982", "text": "@Override\n public Future<Boolean> publishToSubscribers(PublishMessage msg) throws IOException {\n // TODO Handle messages that should be retained\n checkNotNull(msg);\n try {\n // We will support QOS Type 1.\n // We must implement a retain datastore, so we don't need to set retain flag for these msgs\n MoquetteMqttListener publishFuture = new MoquetteMqttListener();\n client.publish(msg.getMqttTopic(), msg.getMqttPaylaod(), QOSType.LEAST_ONE.ordinal(),\n false, null, publishFuture);\n return publishFuture;\n } catch (MqttPersistenceException e) {\n // persistent storage location in use\n throw new IOException(\"The MQTT Persistent Storage Location is already in use. MQTT Reason\"\n + \" Code: \" + e.getReasonCode() + \"\\n\" + e.getMessage());\n } catch (MqttException e) {\n // inappropriate state for publishing\n throw new IOException(\"The client is in an inappropriate state for connecting.\"\n + e.getMessage());\n }\n }", "title": "" }, { "docid": "a783a331ffb1600ace4013cac46416c0", "score": "0.5716433", "text": "@Override\n public String getMessageTopic() {\n return String.format(_getPK_DK_FormatTopic(), getProductKey(), getDeviceKey());\n }", "title": "" }, { "docid": "5291d2992d97d31dbd89a8c4c85694b5", "score": "0.5716074", "text": "public void sendMessage(Message message);", "title": "" }, { "docid": "6ac689ab00dc7ca60df29e0019ad4479", "score": "0.57135725", "text": "private void showMessages() throws IOException, ClassNotFoundException {\n String id_topic = (String) in.readObject();\n ArrayList<MessageUser> messageUsers = sqlOperations.getMessagesAndUsersSQL(Integer.parseInt(id_topic));\n\n out.writeObject(messageUsers);\n System.out.println(\"Client with port \"+ socket.getPort() +\" wants to see the messages in a topic.\");\n out.flush();\n }", "title": "" }, { "docid": "7fb6364ed1429305a3b705c2f42166c6", "score": "0.569728", "text": "public void showMessage() {\n MessageAction sendMessage = channel.sendMessage(getDefaultMessageEmbed());\n if(hasButtons()) {\n sendMessage = sendMessage.setActionRows(getButtonRow());\n }\n sendMessage.queue(message -> id = message.getIdLong());\n }", "title": "" }, { "docid": "e637b9fb5c9bb9fa977a929f8df60b14", "score": "0.5696604", "text": "public Future<Void> publish(String topic, ByteBuf payload) {\n return publish(topic, payload, MqttQoS.AT_MOST_ONCE, false);\n }", "title": "" }, { "docid": "769d1c487a51cd2941c32b9ad45d0056", "score": "0.5689461", "text": "protected final void topicChanged (String topic)\n {\n\tif (myDebug)\n\t{\n\t debugPrintln (\"!!! \" + this + \".topicChanged (\" + topic + \")\");\n\t}\n\n\tif (topic == null)\n\t{\n\t topic = \"\";\n\t}\n\n\tif (topic.equals (myTopic))\n\t{\n\t return;\n\t}\n\n\tmyTopic = topic;\n\tbroadcast (ChannelEvent.topicChanged (this, topic));\n\tsetDescription ();\n }", "title": "" }, { "docid": "ace379693c30084e84353c99b5e321f7", "score": "0.5688712", "text": "@Override\r\n\tpublic void sendMessage(String msg) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "da02c47c959de81c739d2e3287e57d7f", "score": "0.5688658", "text": "public void crearPublicacionTexto(String mensaje, Usuario u) {\r\n texto = new Texto(mensaje, u);\r\n u.comentarMiMuro(texto);\r\n textoDAO.create(texto);\r\n\r\n mostrarPublicacionTexto(texto, u);\r\n }", "title": "" }, { "docid": "759ea1e369b9309c347885582cb50996", "score": "0.5674442", "text": "@MessageMapping(\"/pushchannel\") \n @SendTo(\"/queue/test1\") //subscribe, enableSimpleBroker, \n public String requestMsg(String str) throws Exception {\n //Thread.sleep(3000); // simulated delay\n //return new Greeting(\"Hello, \" + message.getName() + \"!\");\n return \"testing\";//ResourceResponse.createSuccessfulResponse();\n \n }", "title": "" }, { "docid": "5fcfd54ba252d9dd26716c96dc7ee18b", "score": "0.5674417", "text": "public interface NotificationService {\n\n void notifyAll(GlobalMessage globalMessage);\n\n void notifyByTopic(GlobalMessage globalMessage, Topic topic);\n}", "title": "" }, { "docid": "470b3e1eb71ccb4bb7caaebaaba02072", "score": "0.5649835", "text": "@MessageMapping(\"/send/message\")\n public void sendMessage(NewMessage newMessage){\n Message message = roomService.addMessage(newMessage);\n simpMessagingTemplate.convertAndSend(\"/socket-publisher/\" + newMessage.getRoomId(), newMessage);\n }", "title": "" }, { "docid": "852525e41e4ec8316147210f43cccf32", "score": "0.5646142", "text": "public static void sendStreamNotification(String deviceId, MQTTNotifitions message, String streamId){\n\t\t//the notified client should check this stream id in the exsiting filters and it is not there the request for new file\n\t\ttry {\n\t\t\tMQTTManager mqtt = new MQTTManager(deviceId);\n\t\t\tmqtt.connect();\n\t\t\tmqtt.publishToDevice(message.getMessage() +\":\" + streamId);\n\t\t} catch (MqttException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "2e75b0f6ceae783064a1385528e49443", "score": "0.5640759", "text": "public void sendMessage(String msg){\r\n\t\ttry {\r\n\t\t\toutPutStream.write(msg.getBytes());\r\n\t\t\toutPutStream.flush();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t//notifyAll();\r\n\t}", "title": "" }, { "docid": "fffe58690c7f303c1c62659b031526aa", "score": "0.56335527", "text": "private void unicastMessage(String message)\n {\n message =message.substring(message.indexOf(\"#\")+1);\n String username=getCommand(message).trim();\n message=message.substring(message.indexOf(\"#\")+1);\n //If the user is active, fetch the output stream writer for the user whom the message is intended to.\n try {\n if (!group.containsKey(username)) {\n sendMessage(\"User is not connected. Try someone else\");\n } else {\n group.get(username).writeObject(\"Private message from \"+clientname+\" \"+message);\n sendMessage(\"Message sent to \"+username);\n }\n }\n //Exception Handling\n catch(IOException ioe)\n {\n ioe.printStackTrace();\n }\n }", "title": "" }, { "docid": "c12452a15f73ca4a2c8c9327cd26a99e", "score": "0.56301636", "text": "void notify(String msg);", "title": "" }, { "docid": "01cd98995fef7c6676e031b17a972af1", "score": "0.56223226", "text": "@Test\n public void shareTopicTest() throws ApiException {\n String topic = null;\n Integer destProjectId = null;\n Integer projectId = null;\n api.shareTopic(topic, destProjectId, projectId);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "dc7dbb4faffd10ed7e96689c9194c510", "score": "0.56162906", "text": "void sendMessage(Message message);", "title": "" }, { "docid": "e450e64db5114ffe0f926ff7e93cb8e2", "score": "0.56160784", "text": "private void publishMessageAction (Message receivedMessage, DataOutputStream os) throws IOException {\r\n\r\n\t\tMultiLog.println(NetMessageListener.class.toString(), LOG_TAG + \"Handler for PUBLISH MESSAGE\");\r\n\t\t//System.out.println(LOG_TAG + \"Handler for PUBLISH MESSAGE\");\r\n\r\n\t\tPublishResourceMessage publishMessage = new PublishResourceMessage(receivedMessage);\r\n\r\n\t\tMultiLog.println(NetMessageListener.class.toString(), \"Responsible for RESOURCE \" + publishMessage.getKey() + \" owned by \" + publishMessage.getOwnerId());\r\n\t\t//System.out.println(\"Responsible for RESOURCE \" + publishMessage.getKey() + \" owned by \" + publishMessage.getOwnerId());\r\n\t\tNetPeerInfo owner = new NetPeerInfo(publishMessage.getSourceSocketAddr(), publishMessage.getSourcePort(), \"\");\r\n\t\tString ownerId = publishMessage.getOwnerId();\r\n\r\n\t\tNetResourceInfo resource = new NetResourceInfo(publishMessage.getKey(), owner, ownerId);\r\n\r\n\t\tthis.netPeer.addResourceOnCache(resource);\r\n\r\n\t\tMultiLog.println(NetMessageListener.class.toString(), LOG_TAG + \"Send Ack\");\r\n\t\t//System.out.println(LOG_TAG + \"Send Ack\");\r\n\r\n\t\tos.write((new AckMessage(this.listenerId, this.listenerAddr, this.listenerPort, 0, \"\")).generateXmlMessageString().getBytes());\r\n\t}", "title": "" }, { "docid": "fe0232afc19f4370422f58f7447580af", "score": "0.56131315", "text": "@Override\n\tpublic void onMessage(Message msg){\n\t\tObjectMessage mensagemPost = (ObjectMessage) msg;\n\t\t\ttry {\n//\t\t\t\tString texto = mensagens.getText();\n\t\t\t\tPost post = (Post)mensagemPost.getObject();\n\t\t\t\tSystem.out.println(\"MENSAGEM:\" + post.toString());\n\t\t\t\n//\t\t\t\tSystem.out.println(\"MENSAGEM:\" + texto);\n\t\t\t} catch (JMSException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\t\t\t\n\t}", "title": "" }, { "docid": "3a3c7339f1009b502914096450b6ee66", "score": "0.5612775", "text": "public String getTopic() {\r\n\t\treturn topic;\r\n\t}", "title": "" }, { "docid": "3a3c7339f1009b502914096450b6ee66", "score": "0.5612775", "text": "public String getTopic() {\r\n\t\treturn topic;\r\n\t}", "title": "" }, { "docid": "e6637fe528a17fdb48af95af9d7199b2", "score": "0.56094635", "text": "public void sendMessage(String mensaje) {\n\t\tnew Thread(\n\t\t\t() -> {\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tInetAddress ip = InetAddress.getByName(ipVariable);\n\t\t\t\t\tDatagramPacket packet = new DatagramPacket(mensaje.getBytes(),mensaje.getBytes().length,ip, 6000);\n\t\t\t\t\tsocket.send(packet);\n\t\t\t\t\t\n\t\t\t\t} catch (UnknownHostException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\t\n\t\t\t}\n\t\t).start();\t\n\t}", "title": "" }, { "docid": "244de748f7ef162484c9493798d57ee0", "score": "0.5599548", "text": "void publish(@Nonnull E message);", "title": "" }, { "docid": "6d76cdcee439ceb15ea7956c87047606", "score": "0.5593688", "text": "private void showMessageToUser(int messageId) {\n// showMessageToUser(getString(messageId));\n }", "title": "" }, { "docid": "6b6341860308ddc4a49786416f6f5c38", "score": "0.55929", "text": "public static void setChatTopic(Topic topic) {\n\t\ttry {\n\t\t\tforumClient.forum.setChatTopic(Driver.forumClient.user, topic);\n\t\t} catch (RemoteException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tchat.setTopic(topic);\n\t}", "title": "" } ]
80d7ac5e4a685c268075b62f18c913ef
delete the kth element
[ { "docid": "c2c77aeace82ccf0d2bbbce636732fd4", "score": "0.73202884", "text": "public void delete (int k) {\n if (k < 0 || k >= N) throw new IllegalArgumentException ();\n // TODO 1.3.20\n checkInvariants ();\n }", "title": "" } ]
[ { "docid": "4987d2480bbdaf3a6d67ec9e479a9c90", "score": "0.7581269", "text": "@Override\n\tpublic void delete(Integer k) {\n\n\t}", "title": "" }, { "docid": "ca7f1e15e6167e751573df23ffe917bf", "score": "0.74966353", "text": "public void delete_ith_element(int pos);", "title": "" }, { "docid": "52c5da5f4f25047839fd9a5479700385", "score": "0.6877932", "text": "public static Node delete (int k, Node first) {\n if (first == null) {\n return null;\n }\n Node cur = first;\n Node prev = null;\n int index = 1;\n while (index < k && cur.next != null) {\n prev = cur;\n cur = cur.next;\n index++;\n }\n if (index==k) {\n if (prev==null) {\n first = null;\n }\n else {\n prev.next = cur.next;\n }\n }\n return first;\n }", "title": "" }, { "docid": "bd09014e38b84fd0e5ed3a1c5e9bf4f4", "score": "0.6813599", "text": "@Override\n\tpublic void delete(int index) {\n\t\t\n\t}", "title": "" }, { "docid": "bba1d0c11903ee667a1cb022ff4d0bb4", "score": "0.6727435", "text": "public void delete(int index) {\n this.dictionary[index] = null; \r\n np--;\r\n }", "title": "" }, { "docid": "f6d3e827918e8c425db2428df6677c89", "score": "0.671824", "text": "void delete(int index);", "title": "" }, { "docid": "98d02976de83aab3cb99dd3873422178", "score": "0.6684756", "text": "E remove(int index);", "title": "" }, { "docid": "bb788cae81e463ce4bb5327768fcedde", "score": "0.66043895", "text": "public static Node removeKthToLastNode(Node head, int k) {\n if(k == 0)\n return head; // nothing to remove\n \n int size = 0;\n Node kthPrevious = new Node(-1), temp = head;\n kthPrevious.next = head;\n while(temp != null) {\n size++;\n if(size > k) {\n kthPrevious = kthPrevious.next;\n }\n temp = temp.next;\n }\n\n // For k > size, we can't remove anything\n if(k <= size)\n kthPrevious.next = kthPrevious.next.next;\n if (size == k) // remove the current head of the list\n head = head.next;\n return head;\n }", "title": "" }, { "docid": "a6efe1d34c2f4faae7a1f8a432a85c03", "score": "0.6601984", "text": "public void delete(K k) {\n int i = hash(k);\n if (st[i].contain(k)) --size;\n st[i].delete(k);\n if (capacity > INIT_CAPACITY && size <= capacity << 1) \n resize(capacity >> 1);\n }", "title": "" }, { "docid": "e4969db6a689158791fee080aefb987c", "score": "0.65888304", "text": "public Object remove(int index);", "title": "" }, { "docid": "e07a46ac7b65d25926dfa94c79e4dfd1", "score": "0.6550315", "text": "public void remove(int index);", "title": "" }, { "docid": "36492b51bba77d52c795535ac0520fac", "score": "0.65096605", "text": "T remove(int index);", "title": "" }, { "docid": "006c2f18b92f7cf375e303f6be73abb8", "score": "0.6505715", "text": "void remove(int index);", "title": "" }, { "docid": "006c2f18b92f7cf375e303f6be73abb8", "score": "0.6505715", "text": "void remove(int index);", "title": "" }, { "docid": "dcb61bdd2a6844ada462def8aea86e8d", "score": "0.6497912", "text": "public T remove(int index);", "title": "" }, { "docid": "dcb61bdd2a6844ada462def8aea86e8d", "score": "0.6497912", "text": "public T remove(int index);", "title": "" }, { "docid": "11c5fa63d610b40711ede7c56186b432", "score": "0.64796543", "text": "public E remove(int index);", "title": "" }, { "docid": "11c5fa63d610b40711ede7c56186b432", "score": "0.64796543", "text": "public E remove(int index);", "title": "" }, { "docid": "f49cb4b6554de365c3ca772810806e5c", "score": "0.6457337", "text": "public void delete(Comparable k) {\n\t\t// Ricerca del nodo u di chiave k da cancellare\n\t\tNodoBinario u = searchNodo(k, radice);\n\t\tif (u != null) {\n\t\t\t// u ha al piu' un figlio (o e' foglia o ha un unico figlio)\n\t\t\tif (u.sinistro == null || u.destro == null) {\n\t\t\t\tcontraiNodo(u); // cancellazione effettiva di un nodo con al pi� un figlio\n\t\t\t} else {// u ha 2 figli\n\t\t\t\t\t// Si individua il predecessore v di u (il max del sottoalbero sinistro di u)\n\t\t\t\tNodoBinario v = max(u.sinistro);\n\t\t\t\tscambiaInfo(u, v);\n\t\t\t\tcontraiNodo(v); // cancellazione effettiva di un nodo con al pi� un figlio\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ab3bdba2ba44d77dd92b174d537870d5", "score": "0.6441261", "text": "@Override\n public void delete(Integer element) {\n }", "title": "" }, { "docid": "0df831c12d5f784630e6eab5c1aa3308", "score": "0.6417571", "text": "E remove(int i) throws IndexOutOfBoundsException;", "title": "" }, { "docid": "0df831c12d5f784630e6eab5c1aa3308", "score": "0.6417571", "text": "E remove(int i) throws IndexOutOfBoundsException;", "title": "" }, { "docid": "12962959f80df2cf4c3fcf2724d6c038", "score": "0.6413121", "text": "@Override\n\tpublic T delete(K k){\n\t\tBinaryNode eliminado = retrieveAux(root, k);\n\t\tif(eliminado == null)\t//Ver si está en el árbol\n\t\t\treturn null;\n\t\tBinaryNode padre = eliminado.parent;\n\t\t//Caso 1: si tiene 0 hijos -> Es una hoja\n\t\tif(eliminado.right == null && eliminado.left == null){\n\t\t\t//Verificar si es hijo izquierdo o derecho.\n\t\t\tif(padre.left == eliminado)\n\t\t\t\tpadre.left = null;\n\t\t\telse\n\t\t\t\tpadre.right = null;\n\t\t\treturn eliminado.element;\n\t\t}\n\n\t\t//Caso 2: si tiene 2 hijos\n\t\tT regreso = eliminado.element;\n\t\tif(eliminado.right != null && eliminado.left != null){\n\t\t\tBinaryNode max = findMax(eliminado.left);\n\t\t\tdelete(max.key);\n\t\t\teliminado.key = max.key;\n\t\t\teliminado.element = max.element;\n\t\t\treturn regreso;\n\t\t}\n\n\t\t//Caso 3: si tiene un solo hijo (izquierdo o derecho)\n\t\tboolean izquierdo = padre.left == eliminado;\n\t\tif(eliminado.right != null) //Subir el derecho\n\t\t\teliminado = eliminado.right;\n\t\telse //Subir el izquierdo\n\t\t\teliminado = eliminado.left;\n\t\teliminado.parent = padre;\n\n\t\tif(izquierdo)\n\t\t\tpadre.left = eliminado;\n\t\telse\n\t\t\tpadre.right = eliminado;\n\t\treturn regreso;\n\t}", "title": "" }, { "docid": "e402221664dc89ccd5e912a42a3b2e90", "score": "0.64112544", "text": "public T removeByIndex(int index);", "title": "" }, { "docid": "80eba575a13e7fbbaa1874c24fcf3c95", "score": "0.64086336", "text": "void deleteValue(int position);", "title": "" }, { "docid": "ed0718f8d604c096f405a97ccf43967c", "score": "0.6387191", "text": "int remove (int index);", "title": "" }, { "docid": "05f94f0509d60b0022e43e8c9199811a", "score": "0.6378895", "text": "public int delete(int index){\n\t\tif(index < 0 || index >= size)\n\t\t\tthrow new IllegalArgumentException(\"delete failed, invalid index, please try again\");\n\n\t\tint removedElement = elementsContainer[index];\n\t\tfor(int i=index+1;i<size;i++)\n\t\t\telementsContainer[i-1] = elementsContainer[i];\n\n\t\tsize--;\n\t\treturn removedElement;\n\n\n\t}", "title": "" }, { "docid": "44cf38022c6cf8efacc7af85153d8f1d", "score": "0.636514", "text": "public T eliminarPorIndice( int index );", "title": "" }, { "docid": "6a3819fcbc90fa4ff0c0f49eb4c8ef17", "score": "0.6356723", "text": "public E removeAt(int index);", "title": "" }, { "docid": "4afde1e9480642fcd2beb394ee48e8f8", "score": "0.6348527", "text": "E remove(int index) throws IndexOutOfBoundsException;", "title": "" }, { "docid": "f1e0cd05575d54cf70a5184b7c1688c5", "score": "0.633945", "text": "@Override\r\n\tpublic void remove(int index) {\n\t}", "title": "" }, { "docid": "41b3f0580772c79a57e6bf5bd9a6fe4b", "score": "0.6338459", "text": "public E remove(int i);", "title": "" }, { "docid": "04abcb2b7f0b74637dd4f122697672de", "score": "0.6330836", "text": "@Override\n\tpublic void remove(int index) {\n\t}", "title": "" }, { "docid": "83914b39b6cdd21adce7bffd67e5b09c", "score": "0.63295025", "text": "public Item remove(int index);", "title": "" }, { "docid": "06874df30f2da9a8ef8f1bebff567be3", "score": "0.6299118", "text": "public void deleteKey(T element) {\n root = deleteRec(root, element);\n }", "title": "" }, { "docid": "abe336fbd2863187e7c3afed2d5ba72f", "score": "0.6294548", "text": "public void remove(int i);", "title": "" }, { "docid": "6bcf048e0dbecfbcb18ee9f615f96bef", "score": "0.6286407", "text": "public void delete(int key) {\n }", "title": "" }, { "docid": "7af320d294a5df6e4426527b90ecd915", "score": "0.626273", "text": "public T remove( int idx ){\n return remove( getNode( idx ) );\n }", "title": "" }, { "docid": "56a93b81f8d428e4ef27bfba1dec588b", "score": "0.6258753", "text": "void removeDbtag(int i);", "title": "" }, { "docid": "3134a2d4673e92d64d50d654673679d7", "score": "0.6245155", "text": "public void remove(int key);", "title": "" }, { "docid": "4dab8fe0469403b3df02d3daa1bea78f", "score": "0.62068474", "text": "void removeFrom(long index);", "title": "" }, { "docid": "486726f0c3596883bf39d3b2fdbbdcbe", "score": "0.62060857", "text": "K getNextToRemoveElement(Set<CacheKey<K>> keySet);", "title": "" }, { "docid": "ed3cf1ebb23c782fecba5b61d0ff2d94", "score": "0.62040794", "text": "@Override\r\n\tpublic int delete(int key) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "63d1bc311a0ae9aa9244d3ac043bd71b", "score": "0.61974967", "text": "public void remove(int i) {}", "title": "" }, { "docid": "9b38aa766a8b75ad9f8aa388c930f111", "score": "0.61902714", "text": "@Override public void remove(int index) {\n\t\ttuples.remove(index);\t\n\t}", "title": "" }, { "docid": "3075fe5730d91c6b6b758ada9051c41f", "score": "0.6189994", "text": "@Override\n\tpublic void remove(int index)\n\t{\n\t}", "title": "" }, { "docid": "c64f71036da5b750857f438fc7bd1307", "score": "0.6181089", "text": "void removeDeviat(int i);", "title": "" }, { "docid": "39e77ef32c2231e57b43ad899f77c989", "score": "0.61799014", "text": "public E remove(int i) throws IndexOutOfBoundsException;", "title": "" }, { "docid": "1514de549e2a92674d7a702ed6f52017", "score": "0.61727995", "text": "@NotNull E slowRemove(int index);", "title": "" }, { "docid": "8142e66e74e08fe833abea8c0948dd04", "score": "0.6168738", "text": "@Override\n\tpublic void delete(int index) {\n\t\tlist.remove(index);\n\t}", "title": "" }, { "docid": "72a9241711935c410185cb57a8ad78c4", "score": "0.6166133", "text": "public int delete(int k)\n {\n\n if (this.empty()){\n return -1;\n }\n\n IAVLNode currNode = this.root;\n \n\n while (currNode.isRealNode() && currNode.getKey() != k)\n {\n if (currNode.getKey() < k)\n {\n currNode = currNode.getRight();\n \n }\n\n else \n {\n currNode = currNode.getLeft();\n }\n }\n \n \n /// k does not appear in the tree\n if(!currNode.isRealNode())\n {\n return -1;\n }\n \n \n /// currNode points to the node to be deleted\n \n /// currNode is the root\n /// currNode is root and is leaf\n if (currNode == root && currNode.isLeaf()) {\n \t root = null;\n \t this.size = 0;\n \t updateMinMax();\n \t return 0; \n }\n \n \n ///Deleting a node with TWO children\n ///Swap node with it's successor\n if (currNode.hasTwoChildren()) {\n \t IAVLNode successor = currNode.findSuccessor();\n \t swapNodes(currNode, successor);\n \t currNode = successor;\n }\n \n \n ///CurrNode is root\n if (currNode == root) {\n \t root = currNode.getChild();\n \t root.setParent(null);\n \t this.size = 0;\n \t updateMinMax();\n \t return 0;\n }\n \n \n ///CurrNode is a leaf OR has ONE child\n IAVLNode grandParent = currNode.getParent();\n IAVLNode child = currNode.getChild();\n if (isRight(currNode)) { /// currNode is a right child of it's parent\n \t child.setParent(grandParent);\n \t grandParent.setRight(child);\n \t \n }\n /// currNode is a left child of it's parent\n else {\n \t child.setParent(grandParent);\n \t grandParent.setLeft(child);\n }\n \n ///Apply balancing Algorithm;\n ///Return number of rotations and demotions\n \n int x = balanceDel(grandParent, child);\n \n \tif (root == null){\n \t\tthis.size = 0;\n \t}\n \telse {\n \t\tthis.size -= 1;\n \t}\n\n updateMinMax();\n return x;\n \n \n \n }", "title": "" }, { "docid": "795daf081e971f89a51969a91c64702f", "score": "0.6163509", "text": "public void delete(K key);", "title": "" }, { "docid": "180345c634f7091c5ff9a26b229812e5", "score": "0.6163462", "text": "void removeDataAppr(int i);", "title": "" }, { "docid": "5c90ce8cc416d449e70e9394d667da55", "score": "0.61606514", "text": "void removeWeight(int i);", "title": "" }, { "docid": "d926b26cd66b8d0a1fd3323183c994b9", "score": "0.61505604", "text": "public void delete(int key) {\r\n\tint i;\r\n\tfor (i = 0; i < size; i++) {\r\n\t\tif (records[i].getSKU() == key) {\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\tfor (int j = i; j < size; j++) {\r\n\t\trecords[j] = records[j + 1];\r\n\t}\r\n\tsize--;\r\n}", "title": "" }, { "docid": "2f4b0c5c26c5cd15b2b5122c113baef5", "score": "0.61331344", "text": "@Override\n public void removeAt(int i){\n\tObject[] neu = new Object[element.length-1];\n\tfor(int c=0;c<neu.length;c++){\n\t if(c<i){\n\t\tneu[c]=(E)this.element[c];\n\t }else{\n\t\tneu[c]=(E)this.element[c+1];\n\t }\n\t}\n }", "title": "" }, { "docid": "b508aa4123950ee00551c3cf35d3d822", "score": "0.6132837", "text": "private static <K> void shiftDeleteArray(ArrayList<K> arr, int length, int index) {\n for (int i=index; i<length; i++) arr.set(i, arr.get(i+1));\n }", "title": "" }, { "docid": "33ef705889c8178cbeecbaa7ad819186", "score": "0.6126354", "text": "public abstract void removeAt (int index);", "title": "" }, { "docid": "e7d77cabe101ffa93b1ad09c5cc118a3", "score": "0.6114716", "text": "public void deleteAtIndex(int index) {\n \tif (index >= count) return;\n \tdelete(findNode(index));\n }", "title": "" }, { "docid": "c3cdb16ea40d6c697d3158474d0de312", "score": "0.61051166", "text": "private void remove(int index) { \n\t\tcheckRange(index);\n\t\telements[index] = null;\n\t\telements[size - 1] = null;\n\t\tsize--;\n\t}", "title": "" }, { "docid": "627dd1c1180669c6380d8751f4b2f1b1", "score": "0.60864484", "text": "@Override\n\tpublic V remove(Comparable<K> k) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2c449cb7c1a98c7c2983fbff2611b643", "score": "0.60850644", "text": "public void remove(int key){\n if (!contains(key)) {\n //throw new NoSuchElementException();\n }\n size--;\n }", "title": "" }, { "docid": "c082b7b591b9fbcbdcbeb3c424971a4d", "score": "0.60789084", "text": "@NotNull E fastRemove(int index);", "title": "" }, { "docid": "6ba940ce62ee7a01e7ab363674372f1e", "score": "0.6068106", "text": "public abstract void delete(int index) throws IndexOutOfBoundsException;", "title": "" }, { "docid": "df7d8adf39ce8996526b2593b2da9d08", "score": "0.6064582", "text": "public Object remove(int index) {\n if ( index <0 || index>= size) { //if index is negative or greater than size of size, we throw Exception.\n throw new IndexOutOfBoundsException(\"Index: \" + index + \", Size \" + index);\n }\n \n Object removedElement=elementData[index];\n for(int i=index;i<size;i++){\n elementData[i]=elementData[i+1];\n }\n size--; //reduce size of ArrayListCustom after removal of element.\n \n return removedElement;\n }", "title": "" }, { "docid": "ec3e8d19b4e10826045124b15fe9b4f8", "score": "0.60517144", "text": "@Override\n protected void removedItem(int index) {\n }", "title": "" }, { "docid": "32f8b4965305152623af6bf2049c6093", "score": "0.6043188", "text": "public void remove(int index) {\n for (int i = index; i < size - 1; i++) {\n elementData[i] = elementData[i + 1];\n }\n size--;\n }", "title": "" }, { "docid": "bae45db794fa7109992e6ea61cdd407f", "score": "0.60421324", "text": "void delete(T element);", "title": "" }, { "docid": "de529b4ffeb82651bbdd43e19690ca3b", "score": "0.602164", "text": "void remove(K key);", "title": "" }, { "docid": "de529b4ffeb82651bbdd43e19690ca3b", "score": "0.602164", "text": "void remove(K key);", "title": "" }, { "docid": "de529b4ffeb82651bbdd43e19690ca3b", "score": "0.602164", "text": "void remove(K key);", "title": "" }, { "docid": "f841e5e366dd5179abe6d1a2d2ce61a3", "score": "0.6017922", "text": "V remove(K key);", "title": "" }, { "docid": "f841e5e366dd5179abe6d1a2d2ce61a3", "score": "0.6017922", "text": "V remove(K key);", "title": "" }, { "docid": "c3aed6c9f5e8a1a21f208197fdec8774", "score": "0.59928274", "text": "private void removeKey(int index) {\n ensureKeyIsMutable();\n key_.remove(index);\n }", "title": "" }, { "docid": "851efeba58a91182c4a20ad5f7aa1033", "score": "0.59915626", "text": "void remove (K k) throws CacheException;", "title": "" }, { "docid": "270749e0da1c6942778ec31d23cb7d2a", "score": "0.59812707", "text": "public E remove(int index) throws IndexOutOfBoundsException;", "title": "" }, { "docid": "0f2590ce868dc711ba3502d28ec8200e", "score": "0.5965097", "text": "public boolean deleteElement(V x);", "title": "" }, { "docid": "457487230eea11426f3eb55617be26e8", "score": "0.5961292", "text": "private Item delete(int index){\n if(isEmpty()){\n throw new NoSuchElementException(\"Underflow Exception\");\n }\n Item result = heap[index];\n heap[index] = heap[size-1];\n size--;\n driftDown(index);\n return result;\n }", "title": "" }, { "docid": "51d4395c6afb892da117eaebceac7c8f", "score": "0.5942002", "text": "@Override\n\tpublic Term remove(int index) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3bb5b6a005f6ef866e68f216a5877157", "score": "0.59262544", "text": "public Item delete(int index) {\n return get(index,true);\n }", "title": "" }, { "docid": "a5adefb7beb4e5f045b55b235b107e2c", "score": "0.59252256", "text": "@Override\r\n\tpublic void removeToIndex(int index) {\n\t}", "title": "" }, { "docid": "3506519ce58652f1f2d3b51deaa56fee", "score": "0.59242713", "text": "@Override\r\n\tpublic void removeFromIndex(int index) {\n\t}", "title": "" }, { "docid": "d247efd108b76deb6e0666347d733491", "score": "0.5921887", "text": "@Override\n public E remove(int index)\n {\n return remove(index, true);\n }", "title": "" }, { "docid": "659ac9f1440133914fcce13e80e48750", "score": "0.5921709", "text": "@Override\n public T remove(int index) throws IndexOutOfBoundsException {\n try{\n if (index < 0 || index > this.size()) throw new IndexOutOfBoundsException();\n Node nthNode = this.getNth(index);\n nthNode.remove();\n this.nelems --;\n return nthNode.getElement();\n }catch (IndexOutOfBoundsException e){\n throw e;\n }\n\n }", "title": "" }, { "docid": "8e2e667227f8d41b96a5557c5dee4da8", "score": "0.5921215", "text": "public synchronized kelondroRowSet delete(byte[] key) throws IOException {\n kelondroRow.Entry indexrow = index.remove(key, false);\r\n if (indexrow == null) return null;\r\n kelondroRowSet removedCollection = getdelete(indexrow, true);\r\n assert (removedCollection != null);\r\n return removedCollection;\r\n }", "title": "" }, { "docid": "7812fba77c76bd8eda9d0f28bf7c4d23", "score": "0.5918835", "text": "public void removeItem(int index) {\n\t}", "title": "" }, { "docid": "417f0a083066ad52a2bfdf69db18f6db", "score": "0.5912939", "text": "public int findKthLargestEle(Heap h, int k){\n for(int i =0; i < k-1; i++)\n h.deleteMax();\n return h.deleteMin();\n }", "title": "" }, { "docid": "6809f9784f920d4cfa92f5379f0d6caa", "score": "0.5901348", "text": "public void removeAt(int index) {\n\t\tSystem.arraycopy(keys, index + 1, keys, index, size - (index + 1));\n\t\tSystem.arraycopy(values, index + 1, values, index, size - (index + 1));\n\t\tsize--;\n\t}", "title": "" }, { "docid": "fb83b072009a1afe01713071dbcf5d9f", "score": "0.58969456", "text": "public void DeleteEngimon(int b, int k){\n try{\n PosisiEngimon e = GetEngimonforDelete(b,k);\n SetElementPeta(e.getBarisPosisi(), e.getKolomPosisi(), GetElementPetaTetap(e.getBarisPosisi(), e.getKolomPosisi()));\n this.DaftarEngimon.remove(e);\n } catch(Exception exc){\n //\n System.out.println(exc.getMessage()); \n }\n }", "title": "" }, { "docid": "a99236267b4cf66c9bbb04d705685093", "score": "0.5890243", "text": "void removeForSpec(int i);", "title": "" }, { "docid": "b0e6f72844b493cc24a3f3bcf4914af8", "score": "0.58872783", "text": "void removeParameter(int index);", "title": "" }, { "docid": "a901ae5697370e9e62e8bc174a3cbe87", "score": "0.5887238", "text": "public int deleteFirst(){\n\t\treturn delete(0);\n\t}", "title": "" }, { "docid": "81a51b69ade01d4eb3f56a473f7c2185", "score": "0.58837545", "text": "public Object delete(int index) {\n\n if (index >= size) {\n throw new IndexOutOfBoundsException();\n }\n\n Object data = values[index];\n values[index] = null;\n size--;\n\n return data;\n }", "title": "" }, { "docid": "132543a3d90a6a92f071c63138e38d77", "score": "0.5876789", "text": "Uni<Integer> del(K... keys);", "title": "" }, { "docid": "2ec124413bebfc0acb867c2e6b4f342a", "score": "0.58727515", "text": "@Override\r\n\tpublic E remove(int index) {\r\n\t\tif (index < 0 || index >= size)\r\n\t\t\treturn null;\r\n\t\tE result = elements[index];\r\n\r\n\t\tfor (int i = index; i < size - 1; i++)\r\n\t\t\telements[i] = elements[i + 1];\r\n\t\telements[--size] = null;\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "c7e9edbbde9ebfc08b2898a5a5134dd5", "score": "0.5864626", "text": "public void deleteParticle( int index );", "title": "" }, { "docid": "61fdce49735fd74ff8eb1865ba8aec8d", "score": "0.58478904", "text": "Long lRemove(String key,long count,Object value);", "title": "" }, { "docid": "4fe86a0790a4a223991873b97b10edf0", "score": "0.58418185", "text": "@Override\n\tpublic Object remove(int index) {\n\t\treturn super.remove(index);\n\t}", "title": "" }, { "docid": "4ffa4fb646e391704968409a79453f06", "score": "0.5838879", "text": "void remove(int row);", "title": "" }, { "docid": "08291f1b3acd6dc14dce0253e002323d", "score": "0.5829594", "text": "public void delete(int element){\r\n this.root = this.delete(element, this.root);\r\n }", "title": "" } ]
0c137c6405b99c834ae4ee146fdfbee9
/ Used the internal storage to implement the structure in which the message will be stored in the provider. The contentValue key is the filename and the value is written into the file. Code reference: onProgressUpdate of ServerTask of SimpleMessenger.
[ { "docid": "6af8766b6650309a8231829366a53b34", "score": "0.559093", "text": "@Override\n public Uri insert(Uri uri, ContentValues values) {\n String filename = (String) values.get(\"key\");\n String contentVal = (String) values.get(\"value\");\n FileOutputStream outputStream;\n\n try {\n outputStream = getContext().openFileOutput(filename, Context.MODE_PRIVATE);\n outputStream.write(contentVal.getBytes());\n outputStream.close();\n } catch (Exception e) {\n Log.e(TAG, \"File write failed\");\n }\n\n Log.v(\"insert\", values.toString());\n return uri;\n }", "title": "" } ]
[ { "docid": "949a2f70180408da97a3b1b6af0f765e", "score": "0.6159841", "text": "private void saveMessages() {\n\t\tif (messages.size() == 0) {\n\t\t\t File file = getFileStreamPath(MESSAGE_STORE);\n\t\t if(file.exists()) {\n\t\t \tLog.i(TAG,\"Attempting to delete custom message text file\");\n\t\t \t//Note: file.delete doesn't throw an IOException when it fails\n\t\t \tif(file.delete()) \n\t\t \t\tLog.i(TAG,\"Deleted custom message text file\");\n\t\t \telse\n\t\t \t\tLog.i(TAG,\"Unable to delete custom text file\");\n\t\t }\n\t\t}\n\t\telse {\n\t\t\t//if not extent, creates files/MESSAGE_STORE directory and file\n\t\t\t//under ...package/data/data/, otherwise overwrites it.\n\t\t\tLog.i(TAG, \"Writing messages to internal storage\");\n\t\t\ttry {\n\t\t\t\tFileOutputStream fOut = openFileOutput(MESSAGE_STORE, MODE_WORLD_READABLE);\n\t\t\t\tBufferedWriter buf = new BufferedWriter(new OutputStreamWriter(fOut));\n\t\t\t\tfor (String s : messages) {\n\t\t\t\t\tbuf.write(s+\"\\n\");\n\t\t\t\t}\n\t\t\t\t//closing, so no flush required.\t\n\t\t\t\tbuf.close();\n\t\t\t}\n\t\t\tcatch (IOException e){\n\t\t\t\tLog.i(TAG,\"IO Exception\");\n\t\t\t}\n\t\t}\t\n\t}", "title": "" }, { "docid": "280378778e043d3879c90ae60275279e", "score": "0.5966368", "text": "@Override\n public boolean store(String key, Serializable value) {\n File f = new File(rootDir + File.separator + key);\n if (!f.isDirectory() || !f.isFile()) {\n try {\n File parent = f.getParentFile();\n parent.mkdirs(); // create parent directories\n f.createNewFile();\n } catch (IOException e) {\n log.error(\"File {} could not be created. \", f.getAbsolutePath(), e);\n return false;\n }\n // update file content\n try (FileOutputStream fo = new FileOutputStream(f);\n ObjectOutputStream oo = new ObjectOutputStream(fo)) {\n oo.writeObject(value);\n } catch (IOException e) {\n log.error(\"Writing value to file failed for key {} .\", key, e);\n return false;\n }\n\n }\n return true;\n }", "title": "" }, { "docid": "e7b685b2c705293ecfc971fbaacef729", "score": "0.587849", "text": "@Override\n public void writeFile(String name, String content) {\n }", "title": "" }, { "docid": "7bfe93ab2f628182619f3fa26f0ded6d", "score": "0.5856164", "text": "@Override\n public void onResult(DriveApi.DriveContentsResult result) {\n if (!result.getStatus().isSuccess()) {\n Log.i(\"TAG\", \"Failed to create new contents.\");\n return;\n }\n\n // Otherwise, we can write our data to the new contents.\n Log.i(\"TAG\", \"New contents created.\");\n // Get an output stream for the contents.\n OutputStream outputStream = result.getDriveContents().getOutputStream();\n // Write the bitmap data from it.\n\n File dir = new File(Environment.getExternalStorageDirectory(), \"EQWaybill\");\n if(!dir.exists()) {\n dir.mkdir();\n }\n File file = new File(dir, displayName);\n\n Log.i(\"TAG\", \"\"+file);\n try {\n byte[] buffer = new byte[1024];\n FileInputStream fis = new FileInputStream(file);\n int read = 0;\n while ((read = fis.read(buffer)) != -1) {\n outputStream.write(buffer, 0, read);\n System.out.println(\"read \" + read + \" bytes,\");\n }\n\n CustomPropertyKey approvalPropertyKey = new CustomPropertyKey(\"approved\", CustomPropertyKey.PUBLIC);\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\n .setTitle(displayName).setMimeType(\"application/pdf\")\n .setCustomProperty(approvalPropertyKey, \"yes\").build();\n\n Drive.DriveApi.getRootFolder(mGoogleApiClient)\n .createFile(mGoogleApiClient, metadataChangeSet, result.getDriveContents())\n .setResultCallback(fileCallback);\n\n int val = elementID + 1;\n uploadFile(val);\n } catch (Exception e1) {\n e1.printStackTrace();\n Log.i(\"TAG\", \"Unable to write file contents.\");\n onStop();\n }\n\n }", "title": "" }, { "docid": "0a105aae77fa23e8e92e9bbb2d30f236", "score": "0.57418305", "text": "@Override\n public void writeFile(String content) {\n }", "title": "" }, { "docid": "c77aabd86fb00daeca27c8bc417bbbe2", "score": "0.5694284", "text": "private void update(Message<JsonObject> tMessage) {\n EventBus eventBus = vertx.eventBus();\n eventBus.send(FILEREADER_PROCESSMANAGER_FILE_NEW, tMessage.body());\n }", "title": "" }, { "docid": "9984947e1aafdb00c0e40bbe69b99fca", "score": "0.5663809", "text": "private void onUploadResultIntent(Intent intent) {\n mDownloadUrl = intent.getParcelableExtra(MyFirebaseUploadService.EXTRA_DOWNLOAD_URL);\n mFileUri = intent.getParcelableExtra(MyFirebaseUploadService.EXTRA_FILE_URI);\n intent.setPackage(this.getPackageName());\n if (mDownloadUrl != null) {\n SQLiteHandler db = new SQLiteHandler(this);\n NotesFileModel nfm =\n new NotesFileModel(editText.getText().toString(), mDownloadUrl.toString(),\n editTextdesc.getText().toString(), getCurrentTime(), db.getUserDetails().getName(),\n db.getUserDetails().getRegno(), mFiletype, getUnixtime());\n DatabaseReference ref =\n FirebaseDatabase.getInstance().getReference().child(\"notes\").child(mSubjectcode).push();\n ref.setValue(nfm);\n stopService(intent);\n finish();\n }\n }", "title": "" }, { "docid": "1d1f630133d91de4fb92f650ed8510e1", "score": "0.5661494", "text": "private void writeContentToFile(String content, String fileName)\n\t{\n\t\t// create a file if it does not exist\n\t\tFile exportFile = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + fileName);\n\t\texportFileLocation = exportFile.getAbsolutePath();\n\n\t\t// check if file exists\n\t\tif (!exportFile.exists())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\texportFile.createNewFile();\n\t\t\t\tLog.i(\"Preferences\", \"file created with name - \" + exportFileLocation);\n\t\t\t} catch (IOException e)\n\t\t\t{\n\t\t\t\tLog.e(\"Preferences\", \"***unable to create file \" + e.getMessage(), e);\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tLog.i(\"Preferences\", \"file exists with name - \" + exportFileLocation);\n\t\t// write to the file\n\t\ttry\n\t\t{\n\t\t\t// BufferedWriter for performance, true to set append to file flag\n\t\t\tBufferedWriter buf = new BufferedWriter(new FileWriter(exportFile, false));\n\n\t\t\tbuf.append(content);\n\t\t\t\n\t\t\tbuf.close();\n\n\n\n\t\t} catch (IOException e)\n\t\t{\n\t\t\tLog.e(\"Preferences\", e.getMessage(), e);\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "b1ca3944dec27fba7c8f37d5bb324d48", "score": "0.564491", "text": "public void addEntry(String key, InboundMsgDefinition value) {\n lastMessage = value;\n if (sessionFiles.containsKey(key)) {\n sessionFiles.get(key).add(value);\n } else {\n sessionFiles.put(key, new ArrayList<>());\n sessionFiles.get(key).add(value);\n }\n\n System.out.println(\"[WEB-mgr] ConverterManager added to sessionFiles\");\n ArrayList<InboundMsgDefinition> p = sessionFiles.get(key);\n for (InboundMsgDefinition t : p) {\n System.out.println(t);\n }\n convertFile(System.getProperty(\"user.home\") +File.separator+\"tiwi\"+File.separator+\"upload\" +File.separator+ value.getFileName(),key,value.getOutputType());\n }", "title": "" }, { "docid": "cbb0d6cf896fd8694935120c67d9336b", "score": "0.564022", "text": "@Override\n\tpublic Uri insert(Uri uri, ContentValues values) {\n\t\tString keySet = values.getAsString(\"key\");\n\n\t\tFileOutputStream outputStream;\n\n\t\ttry {\n\t\t\t//if( GlobalContainer.successor == null || ( ( genHash(GlobalContainer.nodeName.get(SimpleDhtActivity.myPort)).compareTo(genHash(keySet)) < 0 || genHash(GlobalContainer.nodeName.get(SimpleDhtActivity.myPort)).compareTo(genHash(keySet)) < 0 ) && ( genHash(keySet).compareTo(genHash(GlobalContainer.nodeName.get(GlobalContainer.successor))) < 0 || GlobalContainer.last ) ) ) {\n\t\t\t//if( GlobalContainer.successor == null || ( genHash(keySet).compareTo(genHash(GlobalContainer.nodeName.get(GlobalContainer.successor))) < 0 ) ) {\n\t\t\tif(checkInChord(keySet)) {\n\t\t\t\toutputStream = getContext().openFileOutput(values.getAsString(\"key\"), Context.MODE_PRIVATE);\n\n\t\t\t\toutputStream.write(values.getAsString(\"value\").getBytes());\n\t\t\t\toutputStream.close();\n\t\t\t\tkeyList.add(keySet);\n\n\t\t\t\tLog.e(\"INSERT\", \"Message inserted : \" + keySet);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tLog.e(TAG, \"Sending the msgs to \" + GlobalContainer.predecessor + \"Msg is \" + keySet + \" with hash code : \" + genHash(keySet) + \" compare with \" + genHash(GlobalContainer.nodeName.get(GlobalContainer.predecessor) ) + \" I am first : \" + GlobalContainer.first);\n\t\t\t\t//Log.e(TAG, \"Sending the msgs to \" + GlobalContainer.successor + \"Msg is \" + keySet + \" \" + values.getAsString(\"value\") + \" with hash code : \" + genHash(keySet));\n\t\t\t\tnew ClientTask(null).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR,\"INSERT\", keySet, values.getAsString(\"value\"));\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLog.e(\"GRoupMessengerProvider\", \"File not found .......\" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\tLog.e(\"GRoupMessengerProvider\", \"File write failed \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e){\n\t\t\tLog.e(\"GRoupMessengerProvider\", \"Something went wrong \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//Log.v(\"insert\", values.toString());\n\t\treturn uri;\n\t}", "title": "" }, { "docid": "33c089872f2fd10291033f8031fbc578", "score": "0.5631365", "text": "@Override\n public void fileSaveComplete(int status) {\n sendMessage(obtainMessage(MSG_FILE_SAVE_COMPLETE, status, 0, null));\n }", "title": "" }, { "docid": "cc47984df933d7c42f6a605da5795ec2", "score": "0.55911475", "text": "public void saveResultFile(String msg) throws IOException {\n File sdFile = Environment.getExternalStorageDirectory();\n File result = new File(sdFile, \"result.json\");\n int i=0;\n while (result.exists()) {\n i++;\n result=new File(sdFile,\"result\"+i+\".json\");\n }\n try {\n FileOutputStream fout = new FileOutputStream(result);\n fout.write(msg.getBytes());\n fout.flush();\n fout.close();\n Toast.makeText(this, \"Result has been saved in\"+result.getAbsolutePath(), Toast.LENGTH_SHORT).show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "870df89929564de8066d387b1c35ba45", "score": "0.55753714", "text": "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Task<Uri> p_uriTask = taskSnapshot.getStorage().getDownloadUrl();\n while(!p_uriTask.isSuccessful());\n Uri p_downloadUri = p_uriTask.getResult();\n if(p_uriTask.isSuccessful()){\n //image url received, save in db\n // timestamp\n String timestamp = \"\" + System.currentTimeMillis();\n\n // setup message data\n HashMap<String, Object> hashMap = new HashMap<>();\n hashMap.put(\"sender_id\", (long)currentUserID);\n hashMap.put(\"sender_name\", username);\n hashMap.put(\"message\", \"\" + p_downloadUri);\n hashMap.put(\"timestamp\", timestamp);\n hashMap.put(\"type\", \"\" + \"image\"); // text/image/file\n\n DatabaseReference GroupNameRef = FireBaseDatabase.getInstance().getReference().child(\"Groups\");\n GroupNameRef.child(Integer.toString(currentChatroom.getChatroom_id())).child(\"Messages\").child(timestamp)\n .setValue(hashMap)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n //message sent\n //clear messageEt\n messageEt.setText(\"\");\n pd.dismiss();\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(GroupChatActivity.this,\"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n }\n });\n dbcheckifentryExistofNot();\n }\n }", "title": "" }, { "docid": "387bca56add8d2c511abcd8aaae747bd", "score": "0.55676824", "text": "public void writeFileOnInternalStorage(Context mcoContext,String sFileName, String sBody) throws IOException {\n // Get the directory for the user's public pictures directory.\n //File file = new File(getExternalFilesDir(null), sFileName);\n File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + \"/\" + sFileName);\n // Save your stream, don't forget to flush() it before closing it.\n\n try\n {\n file.createNewFile();\n FileOutputStream fOut = new FileOutputStream(file);\n OutputStreamWriter myOutWriter = new OutputStreamWriter(fOut);\n myOutWriter.append(sBody);\n\n myOutWriter.close();\n\n fOut.flush();\n fOut.close();\n }\n catch (IOException e)\n {\n Log.e(\"Exception\", \"File write failed: \" + e.toString());\n }\n }", "title": "" }, { "docid": "0ca18f1cd5d99a31c1391d1b64bc80e1", "score": "0.55454", "text": "public String updateContent() {\n try {\n if (null != file) {\n // make the parent folder when each month\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyyMM\", Locale.ENGLISH);\n String monthlize = dateFormat.format(new Date());\n String realPath = ServletActionContext.getServletContext().getRealPath(this.getSavePath());\n File storeFolder = new File(realPath + File.separator + GroupConstance.UPLOAD_NEWS + File.separator + monthlize);\n //File storeFolder = new File(\"/upload/content/\" + monthlize);\n if(!storeFolder.exists()) storeFolder.mkdirs();\n for(int i = 0;i<file.length;i++){\n File storeFile = new File(storeFolder, System.currentTimeMillis() + \"_\" + fileFileName[i]);\n if(0 == i){\n String storePath = storeFile.getAbsolutePath();\n continfo.setContAttachment(storePath.substring(storePath.indexOf(GroupConstance.UPLOAD_ROOT)));\n }\n if(1 == i){\n String storePath = storeFile.getAbsolutePath();\n continfo.setDisplayImage(storePath.substring(storePath.indexOf(GroupConstance.UPLOAD_ROOT)));\n }\n //storeFile.createNewFile();\n //FileUtils.copyFile(file[i], storeFile);\n FileUtils.moveFile(file[i], storeFile);\n } \n }\n int result = contInfoService.update(continfo);\n setResultCode(result);\n } catch (CommonServiceException e) {\n setMessage(e.getMessage());\n setResultCode(-1);\n } catch (IOException e) {\n setMessage(e.getMessage());\n setResultCode(-1);\n }\n return Action.SUCCESS;\n }", "title": "" }, { "docid": "466e8588d62321f7004aa42735f9aad1", "score": "0.54847836", "text": "@Override\n protected void put(CachedFile file) {\n }", "title": "" }, { "docid": "13e500407dcb170e17b31713cad26b77", "score": "0.54818696", "text": "StoreFileMetaData() {\n\t}", "title": "" }, { "docid": "409b51da9914c2e0460d00b9e59151a3", "score": "0.5461583", "text": "private void writeFileSerialized(Object content) {\n if (log.isDebugEnabled()) {\n log.debug(\"{CacheItemDisk.writeFileSerialized() : File = \" + fileName);\n }\n\n try {\n // Serialize to a file\n ObjectOutput out = new ObjectOutputStream(new FileOutputStream(path + File.separator + fileName));\n out.writeObject(content);\n out.close();\n } catch (Exception e) {\n log.error(\"Unable to write serialized file!\", e);\n }\n }", "title": "" }, { "docid": "ed10af7504336705c97c8fe6b14a197f", "score": "0.54523116", "text": "public void save(Context context){\n try {\n File folder = new File(context.getFilesDir(),\"KeyStats\");\n if(!folder.exists()){\n folder.mkdir();\n }\n File file = new File(folder, \"KeyStats\" + mKeyboardHash + \".ser\");\n file.createNewFile();\n FileOutputStream fos = new FileOutputStream(file);\n ObjectOutputStream oos = new ObjectOutputStream(fos);\n\n // write number of objects to the file so that the load method will know when the file ends\n // (otherwise, this is only possible in ObjectInputStream by using exceptions which is bad style)\n oos.writeInt(size());\n ListIterator<KeyStat> it = listIterator();\n while(it.hasNext()){\n KeyStat cur = it.next();\n oos.writeObject(cur);\n }\n\n fos.close();\n oos.close();\n } catch(IOException ex){\n Log.e(TAG, \"Could not save KeyStats: \" + ex.toString());\n }\n }", "title": "" }, { "docid": "f9c102ab10b6df52fab4dccabba40e10", "score": "0.5419025", "text": "public void saveFile() {\n\t \n store.fileOut(currentFileName);\n }", "title": "" }, { "docid": "91f097d2c9f013244b1213749d22e32c", "score": "0.54114485", "text": "void shareContent(File file);", "title": "" }, { "docid": "66e333dcab5d2765b0fe94742b7a64ee", "score": "0.54026014", "text": "@Override\n public void run() {\n if (this.peer.getStorage().hasStoredChunk(this.message.getFileId(), this.message.getChunkNo())) {\n Chunk chunk = this.peer.getStorage().getStoredChunk(this.message.getFileId(), this.message.getChunkNo());\n chunk.addPeerStoring(this.message.getSenderId());\n }\n else if (this.peer.getStorage().hasSentChunk(this.message.getFileId(), this.message.getChunkNo())) {\n Chunk chunk = this.peer.getStorage().getSentChunk(this.message.getFileId(), this.message.getChunkNo());\n chunk.addPeerStoring(this.message.getSenderId());\n }\n }", "title": "" }, { "docid": "d150384c9f14c06517438fb58bfd73f6", "score": "0.5396164", "text": "public static void storeToFile() {\r\n\t\ttry {\r\n\t\t\tFileOutputStream fos = new FileOutputStream(\"entries\");\r\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\r\n\t\t\toos.writeObject(entries);\r\n\t\t\toos.close();\r\n\t\t\tfos.close();\r\n\t\t} catch (IOException ioe) {\r\n\t\t\tioe.printStackTrace();\r\n\t\t}\r\n\t\tstorereqsToFile();\r\n\t}", "title": "" }, { "docid": "661cbb8daccad22c78f35bbdc130c814", "score": "0.53893083", "text": "private void writeFile() {\n\n try {\n FileOutputStream fos = openFileOutput(contactFile, this.MODE_PRIVATE);\n\n ObjectOutputStream oos = new ObjectOutputStream(fos);\n oos.writeObject(mContactDataList);\n Log.i(TAG, \"Object Saved Successfully\");\n oos.close();\n\n } catch (Exception e) {\n Log.e(TAG, \"Save Unsuccessful\");\n }\n\n\n }", "title": "" }, { "docid": "c2746a7b40b67060400a2b825a442c43", "score": "0.53872836", "text": "public void externalStorage() {\n\n Log.d(TAG, \"start\");\n pexstor = true;\n\n File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC), \"mic_recording_ds_md\");\n\n file.mkdir();\n Timestamp time1 = new Timestamp(System.currentTimeMillis());\n\n String timestamp = time1.toString() + \".pcm\";\n Log.d(TAG, timestamp);\n\n\n File f = new File(file, timestamp);\n FileOutputStream fos;\n\n try {\n\n fos = new FileOutputStream(f);\n fos.write(data);\n fos.close();\n Log.d(TAG, \"File written\");\n\n filenames.add(timestamp);\n\n } catch (FileNotFoundException e1) {\n Log.d(TAG, \"File Not Found\");\n } catch (IOException e2) {\n Log.d(TAG, \"Error Writing!\");\n }\n }", "title": "" }, { "docid": "fcf7f4d109362d7ff35b8fad80764c62", "score": "0.53848606", "text": "public void WriteOnFile(String filename, String value) {\n Log.i(Utils.LogTag, \"wrinting on file \");\r\n try {\r\n FileOutputStream filenam = openFileOutput(filename + \"name.txt\", MODE_PRIVATE);\r\n FileOutputStream filenum = openFileOutput(filename + \"number.txt\", MODE_PRIVATE);\r\n OutputStreamWriter outputWriter1 = new OutputStreamWriter(filenam);\r\n OutputStreamWriter outputWriter2 = new OutputStreamWriter(filenum);\r\n outputWriter1.write(value);\r\n outputWriter2.write(value);\r\n outputWriter1.close();\r\n outputWriter2.close();\r\n\r\n //display file saved message\r\n Toast.makeText(getBaseContext(), \"Contact deleted \" + filename, Toast.LENGTH_SHORT).show();\r\n Log.i(Utils.LogTag, \"Contact deleted \" + outputWriter1.toString());\r\n finish();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "8fb2e0539daae736043a56f734237fdb", "score": "0.53746367", "text": "@Override\n\tpublic void updateFile() {\n\t\tDataIO.Write(fileName, roomServiceList);\n\t}", "title": "" }, { "docid": "a4bc89dad6e5363d7a7a80c2c1c8f36b", "score": "0.5374371", "text": "@Override\r\n\t\t\t\t\tpublic void onResult(DriveContentsResult result) {\n\t\t\t\t\t\tif (!result.getStatus().isSuccess()) {\r\n\t\t\t\t\t\t\tLog.i(TAG, \"Failed to create new contents.\");\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Otherwise, we can write our data to the new contents.\r\n\t\t\t\t\t\tLog.i(TAG, \"New contents created.\");\r\n\t\t\t\t\t\t// Get an output stream for the contents.\r\n\t\t\t\t\t\tOutputStream outputStream = result.getDriveContents()\r\n\t\t\t\t\t\t\t\t.getOutputStream();\r\n\t\t\t\t\t\t// Write the bitmap data from it.\r\n\t\t\t\t\t\tByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\r\n\t\t\t\t\t\timage.compress(Bitmap.CompressFormat.PNG, 100,\r\n\t\t\t\t\t\t\t\tbitmapStream);\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\toutputStream.write(bitmapStream.toByteArray());\r\n\t\t\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\t\t\tLog.i(TAG, \"Unable to write file contents.\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Create the initial metadata - MIME type and title.\r\n\t\t\t\t\t\t// Note that the user will be able to change the title\r\n\t\t\t\t\t\t// later.\r\n\t\t\t\t\t\tMetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\r\n\t\t\t\t\t\t\t\t.setMimeType(\"image/jpeg\")\r\n\t\t\t\t\t\t\t\t.setTitle(folderName + \".png\").build();\r\n\t\t\t\t\t\t// Create an intent for the file chooser, and start it.\r\n\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t * IntentSender intentSender = Drive.DriveApi\r\n\t\t\t\t\t\t * .newCreateFileActivityBuilder()\r\n\t\t\t\t\t\t * .setInitialMetadata(metadataChangeSet)\r\n\t\t\t\t\t\t * .setInitialDriveContents( result.getDriveContents())\r\n\t\t\t\t\t\t * .build(mGoogleApiClient); try {\r\n\t\t\t\t\t\t * startIntentSenderForResult(intentSender,\r\n\t\t\t\t\t\t * REQUEST_CODE_CREATOR, null, 0, 0, 0);\r\n\t\t\t\t\t\t * Toast.makeText(PhonePhotoActivity.this,\r\n\t\t\t\t\t\t * \"Photo sync successfully!\",\r\n\t\t\t\t\t\t * Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t * \r\n\t\t\t\t\t\t * } catch (SendIntentException e) { Log.i(TAG,\r\n\t\t\t\t\t\t * \"Failed to launch file chooser.\"); }\r\n\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\tfinal DriveContents driveContents = result\r\n\t\t\t\t\t\t\t\t.getDriveContents();\r\n\t\t\t\t\t\tfinal ResultCallback<DriveFileResult> fileCallback = new ResultCallback<DriveFileResult>() {\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onResult(DriveFileResult result) {\r\n\t\t\t\t\t\t\t\tif (!result.getStatus().isSuccess()) {\r\n\t\t\t\t\t\t\t\t\tshowMessage(\"Error while trying to create the file\");\r\n\t\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tshowMessage(\"Created a file with content: \"\r\n\t\t\t\t\t\t\t\t\t\t+ result.getDriveFile().getDriveId());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t * Drive.DriveApi .getRootFolder(getGoogleApiClient())\r\n\t\t\t\t\t\t * .createFile(getGoogleApiClient(), metadataChangeSet,\r\n\t\t\t\t\t\t * driveContents) .setResultCallback(fileCallback);\r\n\t\t\t\t\t\t */\r\n\t\t\t\t\t\tDrive.DriveApi\r\n\t\t\t\t\t\t\t\t.getFolder(getGoogleApiClient(), parentFolderId)\r\n\t\t\t\t\t\t\t\t.createFile(getGoogleApiClient(),\r\n\t\t\t\t\t\t\t\t\t\tmetadataChangeSet, driveContents)\r\n\t\t\t\t\t\t\t\t.setResultCallback(fileCallback);\r\n\r\n\t\t\t\t\t}", "title": "" }, { "docid": "8b823259d1ad13631a3687155184c66a", "score": "0.5371259", "text": "private void saveAction(){\n String content;\n content=editContent.getText().toString().trim();\n if (!tempContent.equals(content)) {\n tempContent=content;\n //if hashmap does not exist(user's first save), it creates a new\n if (hashNotes == null) {\n hashNotes = new HashMap<>();\n hashNotes.put(title, content);\n } else {\n hashNotes.put(title, content);\n }\n\n //write to internal file, save hashmap as object\n try {\n FileOutputStream outputStream = openFileOutput(FILENAME, Context.MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream);\n objectOutputStream.writeObject(hashNotes);\n outputStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n }", "title": "" }, { "docid": "4a94e51879774e11b7d5a8b31d9cedff", "score": "0.53699654", "text": "public void writeFileSdcard(String msg)\n {\n try{\n FileOutputStream os = new FileOutputStream(saveFile,true);\n byte[] bytes = msg.getBytes();\n os.write(bytes);\n os.close();\n //L.i(\"write over!\");\n }\n catch(Exception e)\n {\n e.printStackTrace();\n L.e(\"write error!\");\n }\n }", "title": "" }, { "docid": "bf8ece30d1c33fde358bfc0264b7899b", "score": "0.5359741", "text": "private void uploadFile(Uri data) {\n final FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"dd-MM-yyyy-hh-mm-ss\");\n final String format = simpleDateFormat.format(new Date());\n\n progressBar.setVisibility(View.VISIBLE);\n final StorageReference sRef = mStorageReference.child(\"med_records/\" + user.getUid()+\"/\"+ System.currentTimeMillis() + \".pdf\");\n sRef.putFile(data).addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n sRef.getDownloadUrl().addOnSuccessListener(new OnSuccessListener<Uri>() {\n @Override\n public void onSuccess(Uri uri) {\n Uri downloadUrl = uri;\n //Do what you want with the url\n progressBar.setVisibility(View.GONE);\n textViewStatus.setText(\"File Uploaded Successfully\");\n Toast.makeText(getApplicationContext(), \"Successfully uploaded file to storage\", Toast.LENGTH_LONG).show();\n\n Upload upload = new Upload(editTextFilename.getText().toString(), downloadUrl.toString());\n\n\n Map<String, Object> file = new HashMap<>();\n file.put(\"name\", upload.getName());\n file.put(\"url\", upload.getUrl());\n file.put(\"DEVICE_ID\", getDeviceId(ManualEntryActivity.this));\n\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"dd-MM-yyyy-hh-mm-ss\");\n String format = simpleDateFormat.format(new Date());\n String currentDate = new SimpleDateFormat(\"dd/MM/yyyy\").format(new Date());\n String currentTime = new SimpleDateFormat(\"hh:mm:ss\").format(new Date());\n file.put( \"currentDate\",currentDate);\n file.put( \"currentTime\",currentTime);\n file.put(\"username\", user.getEmail());\n file.put(\"UID\", user.getUid());\n Log.d(\"HomeActivity\", \"Current Timestamp: \" + format);\n// file.put(\"TIMESTAMP\", format);\n\n db.collection(\"users\").document(user.getUid()).collection(\"health_records\").document(format)\n .set(file)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(\"Success\", \"DocumentSnapshot successfully written!\");\n// Toast.makeText(getApplicationContext(), \"Success\", Toast.LENGTH_LONG).show();\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(\"Fail\", \"Error writing document\", e);\n }\n });\n\n db.collection(\"user_health_record\").add(file)\n .addOnSuccessListener(new OnSuccessListener<DocumentReference>() {\n @Override\n public void onSuccess(DocumentReference documentReference) {\n// Log.d(TAG, \"DocumentSnapshot added with ID: \" + documentReference.getId());\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n// Log.w(TAG, \"Error adding document\", e);\n }\n });\n// Toast.makeText(ManualEntryActivity.this, \"Upload Done\", Toast.LENGTH_LONG).show();\n }\n\n });\n\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }\n })\n .addOnProgressListener(new OnProgressListener<UploadTask.TaskSnapshot>() {\n @SuppressWarnings(\"VisibleForTests\")\n @Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n double progress = (100.0 * taskSnapshot.getBytesTransferred()) / taskSnapshot.getTotalByteCount();\n textViewStatus.setText((int) progress + \"% Uploading...\");\n }\n });\n }", "title": "" }, { "docid": "e3066e2502d7809efaeac3e819a028ab", "score": "0.5339938", "text": "public void write(String filename, byte[] content) throws IOException {\n FSDataOutputStream s = getMfs().create(new Path(filename));\n s.write(content);\n s.close();\n }", "title": "" }, { "docid": "a8bec60294a06e77cc359cf3b0a90fed", "score": "0.53082776", "text": "public void map(NullWritable key, BytesWritable value, Context context) throws IOException, InterruptedException \n {\n file_contents_value.set(new String(value.getBytes(), StandardCharsets.UTF_8).replace(\"\\n\", \" --- \"));\n context.write(filename_key, file_contents_value);\n }", "title": "" }, { "docid": "16208f2344e347ba63f9f411be6babe0", "score": "0.5303216", "text": "public static void saveLocal(String content,String filename){\n DataOutputStream out = null;\n File file = new File(filePath);\n if(!file.exists())\n file.mkdirs();\n try {\n out = new DataOutputStream(new FileOutputStream(\n new File(filePath +filename )));\n out.write(content.getBytes());\n out.flush();\n out.close();\n }catch (IOException e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0481645aaad283f050c85280067da360", "score": "0.5291943", "text": "private void writeToFile(String data, final String filename, Context context) throws IOException {\n File folder = new File(context.getExternalFilesDir(null).getAbsolutePath());\n //System.out.println(folder);\n boolean success = true;\n if (!folder.exists()) {\n success = folder.mkdirs();\n }\n //System.out.println(success);\n if (success) {\n File file = new File(folder, filename + \".txt\");\n FileOutputStream stream = new FileOutputStream(file);\n try {\n stream.write(data.getBytes());\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(MainActivity.this, \"Data written to file \" + filename + \".txt\", Toast.LENGTH_SHORT).show();\n }\n });\n\n\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n stream.close();\n }\n }\n }", "title": "" }, { "docid": "6a38dc82574886e7a78421dc65179550", "score": "0.5278723", "text": "public void writeFile(byte[] x, String fileName){\n try {\n System.out.println(\"LOGGING: Received File \" + folder + \"/peer/\" + fileName);\n FileOutputStream out = new FileOutputStream(new File(folder + \"/\" + fileName));\n out.write(x);\n out.close();\n\n } catch (IOException e) {\n System.out.println(\"Exception\" + e);\n }\n }", "title": "" }, { "docid": "a62d988eaeda4e54ebfa9dc85bd27162", "score": "0.5276405", "text": "private void writeTracksToFile(){\n FileOutputStream fos = null;\n try {\n myExternalFile.createNewFile();\n fos = new FileOutputStream(myExternalFile);\n fos.write(tracksStr.getBytes());\n Log.d(\"SpotifyToText\", \"File written success\");\n SpotifyToText.this.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n String text = messageWindow.getText().toString();\n text += \"\\nTransferred Playlist to: \\\"\" + \"/\" + FILE_PATH + \"/\" + playlistSelected + \".txt\\\"\\n\";\n text += \"Transferred \" + tracksSize + \" Songs from \\\"\" + playlistSelected + \"\\\":\\n\\n\" + tracksStr;\n messageWindow.setText(text);\n }\n });\n isFirstExport = false;\n } catch (IOException e) {\n Log.e(\"SpotifyToText\", e.toString());\n } finally {\n try {\n if(fos != null){\n fos.close();\n }\n } catch (IOException e) {\n Log.e(\"SpotifyToText\", e.toString());\n }\n }\n }", "title": "" }, { "docid": "426b02093cb15899436c9daf1ae96fc2", "score": "0.52698815", "text": "@Override\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\n super.channelActive(ctx);\n ctx.writeAndFlush(\"GetFile#\"+fileInfo.getFilepath());\n }", "title": "" }, { "docid": "7aa72ac95cd1dba18de3469d35181a16", "score": "0.5266636", "text": "@Override\n protected String doInBackground(Void... params) {\n try {\n FileWriter.writeFile(file, contents);\n } catch (IOException e) {\n return e.getMessage();\n }\n return \"\";\n }", "title": "" }, { "docid": "3a054cd15e66e7445ac53afbeef4883d", "score": "0.5264701", "text": "protected void store(DFSFilename key) {\n PersistentStorageWriter tempWriter;\n try {\n tempWriter = owner.getWriter(kTempFileName, false);\n } catch (IOException ioe) {\n System.err.println(\"Unexpected cache exception: cannot write to \" +\n \"temp file!\");\n throw new IllegalStateException(\"Temp file cannot be written!\",\n ioe);\n }\n \n try {\n PersistentStorageReader reader = owner.getReader(key.getPath());\n if (reader.ready()) {\n String oldData = component.readRemainingContentsToString(reader);\n tempWriter.write(key.getPath() + \"\\n\" + oldData);\n tempWriter.close();\n } else {\n tempWriter.delete();\n }\n } catch (FileNotFoundException e) {\n } catch (IOException e) {\n throw new IllegalStateException(\"Cannot copy old file content to temp file!\",\n e);\n }\n \n try {\n PersistentStorageWriter writer;\n try {\n writer = owner.getWriter(key.getPath(), false);\n } catch (IOException ioe) {\n System.err.println(\"Cannot overwrite cached file \" + key.toString() + \"!\");\n throw new IllegalStateException(\"Cannot write to cache!\",\n ioe);\n }\n \n CacheEntry entry = store.get(key);\n writer.write(entry.getVersion() + \",\" + entry.exists() + \"\\n\" + entry.getData().toString());\n } catch (IOException e) {\n throw new IllegalStateException(\"Cannot write cache data to disk!\", e);\n }\n }", "title": "" }, { "docid": "e72a6ffef49eab8c0081f1aa2506a1b1", "score": "0.52499217", "text": "private void putContent(String f, String content) throws IOException {\n DataOutputStream out = null;\n try {\n out = new DataOutputStream(new FileOutputStream(new File(bundleDir, f)));\n out.writeUTF(content);\n } finally {\n if (out != null) {\n out.close();\n }\n }\n }", "title": "" }, { "docid": "9918eb7e9ca7e03e25c490399ea1b048", "score": "0.5247704", "text": "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Log.d(\"database\", \"sucessfull upload\");\n Log.d(\"database\", \"uploading filename: \"+fileName+\" to: \"+\"pruducts.\"+pCode+\".imageFileName\");\n database.getReference(\"products\").child(pCode).child(\"imageFileName\").setValue(fileName);\n }", "title": "" }, { "docid": "258a47648f0b421ce528d256edebe43a", "score": "0.52456856", "text": "public void store(File outputFile, progress prog) throws IOException, InterruptedException;", "title": "" }, { "docid": "e7c525005de1ada48ca6c69b45a0ac92", "score": "0.52433085", "text": "@Override\n public void onResult(DriveContentsResult result) {\n if (!result.getStatus().isSuccess()) {\n Log.i(LOG_TAG, \"Failed to create new contents.\");\n return;\n }\n // Otherwise, we can write our data to the new contents.\n Log.i(LOG_TAG, \"New contents created.\");\n // Get an output stream for the contents.\n OutputStream outputStream = result.getDriveContents().getOutputStream();\n // Write the bitmap data from it.\n ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\n image.compress(Bitmap.CompressFormat.JPEG, 100, bitmapStream);\n try {\n outputStream.write(bitmapStream.toByteArray());\n } catch (IOException e1) {\n queryCallbackDao.failRequest(\"Unable to write file contents.\");\n Log.i(LOG_TAG, \"Unable to write file contents.\");\n }\n // Create the initial metadata - MIME type and title.\n // Note that the user will be able to change the title later.\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\n .setMimeType(\"image/jpeg\").setTitle(\"Android Photo.JPEG\").build();\n // Create an intent for the file chooser, and start it.\n IntentSender intentSender = Drive.DriveApi\n .newCreateFileActivityBuilder()\n .setInitialMetadata(metadataChangeSet)\n .setInitialDriveContents(result.getDriveContents())\n .build(mGoogleApiClient);\n\n queryCallbackDao.createResultImageFile(intentSender);\n }", "title": "" }, { "docid": "a4c715e2d4c5f8584cfa66ae52aa09fa", "score": "0.5240307", "text": "public void saveFileContent(final Exchange exchange) {\n exchange.getIn().setHeader(Messaging.Names.SAVED_FILE_CONTENT.toString(), exchange.getIn().getBody());\n }", "title": "" }, { "docid": "34505612ed6cebf2e12adec50ceeb28b", "score": "0.52281284", "text": "public String saveContent();", "title": "" }, { "docid": "aa35aac39c9b6c27702e9ada7f1a5acf", "score": "0.52227306", "text": "public void saveNewFile()\n {\n Map propertiesMap = new HashMap();\n \n propertiesMap.put(FileItemProperty.NAME_FILE_PROPERTY, \n this.getName());\n propertiesMap.put(FileItemProperty.READ_ONLY_FILE_PROPERTY, \n Boolean.toString(isReadOnly()));\n propertiesMap.put(FileItemProperty.HIDDEN_FILE_PROPERTY, \n Boolean.toString(this.isHidden()));\n \n DateFormat dateFormat = FileItemProperty.getLastModifiedFormat();\n Date date = new java.util.Date();\n String datetime = dateFormat.format(date);\n propertiesMap.put(FileItemProperty.LAST_MODIFIED_FILE_PROPERTY, \n datetime);\n \n propertiesMap.put(FileItemProperty.CREATED_FILE_PROPERTY, \n datetime);\n \n propertiesMap.put(FileItemProperty.SIZE_FILE_PROPERTY, \n Integer.toString(getSize()));\n \n propertiesMap.put(FileItemProperty.ICON_FILE_PROPERTY, \n null);\n \n propertiesMap.put(FileItemProperty.SHARED_FILE_PROPERTY, \n Boolean.toString(this.isShared()));\n \n propertiesMap.put(FileItemProperty.TYPE_FILE_PROPERTY, \n this.getType());\n \n propertiesMap.put(FileItemProperty.DESCRIPTION_FILE_PROPERTY, \n this.getDescription());\n propertiesMap.put(FileItemProperty.KEYWORDS_FILE_PROPERTY, \n this.getKeywords());\n \n RequestContext.getCurrentInstance().returnFromDialog(SAVE_NEW_FILE_ITEM, \n propertiesMap);\n }", "title": "" }, { "docid": "6c67b2d7d43389fc01f925a125b96a33", "score": "0.5217104", "text": "public void write(String filename, String content) throws IOException {\n FSDataOutputStream s = getMfs().create(new Path(filename));\n s.writeBytes(content);\n s.close();\n }", "title": "" }, { "docid": "c2d8db38035a50d445dbfeb238941e91", "score": "0.5217032", "text": "@Override\r\n\t\t\tpublic void callback(DriveContents contents) {\n\t\t\t\ttry {\r\n\t\t\t\t\tcontents.getOutputStream().write(content);\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t// Upload the changes to the drive client.\r\n\t\t\t\t// null because there are no metadata changes.\r\n\t\t\t\tcontents.commit(driveClient, null);\r\n\t\t\t}", "title": "" }, { "docid": "eac59b59af197b42be5a82b4de2c1a99", "score": "0.52153677", "text": "@Override\n\tpublic void writeFile(String file, String content) throws RemoteException, IOException {\n\n\t\tCollection<IFileReplica> replicaList = clientCache.values();\n\t\tBoolean writeStatus = true;\n\t\tlong stamp = lockFile(file, false);\n\t\tlong transID = startNewTransaction();\n\t\tSystem.out.println(\"transid is \"+transID);\n readLock.lock();\n\t\ttry {\n\t\t\t\n synchronized (file) {\n for (IFileReplica replica : replicaList) {\n writeStatus = replica.innerWriteFile(file, content, transID);\n if (!writeStatus) {\n System.out.println(\"writefailed\");\n // issueAbortTransaction(transID);\n throw new IOException(\"error writing file \" + file);\n }\n }\n issueCommitTransaction(transID);\n }\n\t\t}catch (IOException e){\n System.out.println(\"Error writing \" + file );\n\t\t \n issueAbortTransaction(transID);\n \n throw new IOException(\"error writing file \" + file);\n }finally {\n \n\t\t\tunLockFile(file, stamp, false);\n \n \n\t\t\treadLock.unlock();\n\n\t\t}\n \n \n writeLock.lock();\n try{\n \n serverFiles.put(file, content);\n }\n finally{\n writeLock.unlock();\n }\n\t\t\n\t}", "title": "" }, { "docid": "a2739b262fd4f40ce56533182dfd2405", "score": "0.52097714", "text": "public void setFilecontent(byte[] value) {\n this.filecontent = value;\n }", "title": "" }, { "docid": "0cc9f7b72049e6cada10d4518e784b5d", "score": "0.52086186", "text": "private void appendData(String filename, String msg) {\n\t\tMinioClient minioClient;\n\t\tString dataString = \"\";\n\t\ttry {\n\t\t\t// Initialize connection\n\t\t\tminioClient = new MinioClient(\"https://s3.amazonaws.com\", \"your_access_key\",\n\t\t\t\t\t\"your_secret_pass\");\n\n\t\t\t// Retrieve string from S3.\n\t\t\tInputStream stream = minioClient.getObject(\"smart-clock-settings\", filename);\n\t\t\tbyte[] buf = new byte[16384];\n\t\t\tint bytesRead;\n\t\t\twhile ((bytesRead = stream.read(buf, 0, buf.length)) >= 0) {\n\t\t\t\tdataString += new String(buf, 0, bytesRead);\n\t\t\t}\n\t\t\tstream.close();\n\t\t\tboolean shouldInsert = true;\n\t\t\tString[] dataLines = dataString.split(\"\\\\r?\\\\n\");\n\t\t\tString latestData = dataLines[dataLines.length - 1];\n\t\t\tString[] oldKeyValue = latestData.split(\",\");\n\t\t\tString[] newKeyValue = msg.split(\",\");\n\t\t\tif (filename.equals(\"weather.csv\")) {\n\t\t\t\tif (oldKeyValue[0].equalsIgnoreCase(newKeyValue[0])) {\n\t\t\t\t\tshouldInsert = false;\n\t\t\t\t}\n\n\t\t\t} else if (filename.equals(\"tempHum.csv\")) {\n\t\t\t\tif (oldKeyValue[0].equalsIgnoreCase(newKeyValue[0])\n\t\t\t\t\t\t&& oldKeyValue[1].equalsIgnoreCase(newKeyValue[1])) {\n\t\t\t\t\tshouldInsert = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Append new data\n\t\t\tif (shouldInsert) {\n\t\t\t\tdataString += \"\\n\" + msg;\n\n\t\t\t\tminioClient.removeObject(\"smart-clock-settings\", filename);\n\t\t\t\tByteArrayInputStream bais = new ByteArrayInputStream(dataString.getBytes(\"UTF-8\"));\n\t\t\t\tminioClient.putObject(\"smart-clock-settings\", filename, bais, bais.available(),\n\t\t\t\t\t\t\"application/octet-stream\");\n\t\t\t\tbais.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "544577a7780ce4aa54cc263f6367e3dd", "score": "0.52069813", "text": "public void storeFile(File file);", "title": "" }, { "docid": "e89f48ec66ca95913e7bdee29f3b6392", "score": "0.5197855", "text": "public void store() throws IOException {\n // private key\n try {\n Path p = Paths.get(KEY_FILE + name);\n if (!Files.exists(p)) {\n Files.createFile(p, KEYS_PERMS);\n OutputStream fout = Files.newOutputStream(p);\n fout.write(privateKey.getBytes());\n fout.close();\n } else {\n LOG.info(\"Private KeyPair File already exists. Continuing ...\");\n }\n } catch (IOException e){\n throw new IOException(\"Error writing private key :\"+e.getMessage(),e);\n }\n // public key\n try {\n Path p = Paths.get(KEY_FILE + name + \".pub\");\n if (!Files.exists(p)) {\n OutputStream fout = Files.newOutputStream(p);\n fout.write(publicKey.getBytes());\n fout.close();\n } else {\n LOG.info(\"Public KeyPair File already exists. Continuing ...\");\n }\n } catch (IOException e) {\n throw new IOException(\"Error writing public key :\"+e.getMessage(),e);\n }\n }", "title": "" }, { "docid": "d8b1d6d44896be9236f3b7323550f9e6", "score": "0.51959395", "text": "com.google.protobuf.ByteString getStorageFile();", "title": "" }, { "docid": "07a2d7cea25ca8499bf04fca77e92871", "score": "0.51863575", "text": "private void writeKeyToStorage(String fileKeyInBucketNotRecordedPreviously) {\n storageForLocationsPreviouslyLocated.putKey(fileKeyInBucketNotRecordedPreviously);\n }", "title": "" }, { "docid": "03d346b6784bfd25bf725eb66970eea3", "score": "0.51846385", "text": "protected void onProgressUpdate(String...strings) {\n String strReceived = strings[0].trim();\n TextView myTextView = (TextView) findViewById(R.id.textView1);\n myTextView.append(strReceived + \"\\t\\n\");\n myTextView.append(\"\\n\");\n\n /*\n * The following code store our messages in Content provider using <key, value> pair\n * <key> is sequence of id increment by 1 and unique for each message\n * <value> is actual message\n */\n\n String msg = strReceived + \"\\n\";\n ContentValues contentValues = new ContentValues();\n contentValues.put(\"key\", Integer.toString(msgID));\n contentValues.put(\"value\", msg);\n mContentResolver.insert(mUri, contentValues);\n msgID++;\n\n return;\n }", "title": "" }, { "docid": "32087198ed99fbd0da3a3846cb521b73", "score": "0.51808125", "text": "private void export() {\n\t\tif(StatisticalName.isFold == 0){\n\t\t\tStatistics.onEvent(ExportItemSelectActivity.this, Statistics.MAIN_APP_EXPORT);\n\t\t}else{\n\t\t\tStatistics.onEvent(ExportItemSelectActivity.this, Statistics.MAIN_APP_FOLDER_EXPORT);\n\n\t\t}\n\t\t//gn pengwei 20120118 modify for CR00765638 end\n\t\tString file_path = getResources().getString(R.string.file_path);\n\t\tif(typeSelect == 0){\n\t\t\tLog.d(\"export_note_message_sd\");\n\t\t\tmessage=getResources().getString(R.string.export_note_message_sd, file_path , ImportExportUtils.exportFileName);\n\t\t\t//\t\t\tmessage = getResources().getString(R.string.export_note_message_sd) + getResources().getString(R.string.file_path) + ImportExportUtils.exportFileName + getResources().getString(R.string.export_note_message);\n\t\t}else if(typeSelect == 1){\n\t\t\tLog.d(\"export_note_message_internal\");\n\t\t\tmessage=getResources().getString(R.string.export_note_message_internal, file_path ,ImportExportUtils.exportFileName);\n\t\t\t//\t\t\tmessage =getResources().getString(R.string.export_note_message_internal) + getResources().getString(R.string.file_path) + ImportExportUtils.exportFileName + getResources().getString(R.string.export_note_message);\n\t\t}else{\n\n\t\t}\n\n\t\tdialogShow();\n\n\t\tfinal ImportExportUtils backup = ImportExportUtils\n\t\t.getInstance(ExportItemSelectActivity.this);\n\t\tnew AsyncTask<Void, Integer, Integer>() {\n\t\t private int exportCount = 0;\n\t\t\t@Override\n\t\t\tprotected Integer doInBackground(Void... params) {\n\t\t\t\t\n\t\t\t\t// Gionee <lilg><2013-03-19> add for set the state of export begin\n\t\t\t\tImportExportUtils.setExporting(true);\n\t\t\t\t// Gionee <lilg><2013-03-19> add for set the state of export end\n\n\t\t\t\tint result = ImportExportUtils.STATE_SUCCESS;\n\t\t\t\ttry {\n\t\t\t\t\tFile fileDir = backup.getExportedTextFileDir(typeSelect);\n\t\t\t\t\tif (fileDir == null) {\n\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t}\n\n\t\t\t\t\t// gn lilg 2012-12-26 add for common controls begin\n\t\t\t\t\t/*for (Group group : groupList) {\n\t\t\t\t\t\tGroupInfo groupInfo = group.getGroupInfo();\n\t\t\t\t\t\tif (groupInfo.isFolder()) {\n\t\t\t\t\t\t\t// folder and notes in it\n\t\t\t\t\t\t\tList<ChildInfo> childList = group.getChild();\n\t\t\t\t\t\t\tfor (ChildInfo child : childList) {\n\t\t\t\t\t\t\t\tif (child.isChecked()) {\n\t\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir,\n\t\t\t\t\t\t\t\t\t\t\tchild.getDbId(),\n\t\t\t\t\t\t\t\t\t\t\tgroupInfo.getDbId());\n\t\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\t\texportCount++;\n\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// root note\n\t\t\t\t\t\t\tif (groupInfo.isChecked()) {\n\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir,\n\t\t\t\t\t\t\t\t\t\tgroupInfo.getDbId(),\n\t\t\t\t\t\t\t\t\t\tConstants.NO_FOLDER);\n\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\texportCount++;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}*/\n\n\t\t\t\t\tfor (ExportItem item : dataList) {\n\t\t\t\t\t\tif(item.isChecked()){\n\t\t\t\t\t\t\tif (item.isFolder()) {\n\t\t\t\t\t\t\t\t// folder and notes in it\n\t\t\t\t\t\t\t\tList<Note> noteList = getNoteListFromFolder(item);\n\t\t\t\t\t\t\t\tif(noteList != null){\n\t\t\t\t\t\t\t\t\tfor (Note note : noteList) {\n\t\t\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir, note, item);\n\t\t\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\t\t\texportCount++;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// root note\n\t\t\t\t\t\t\t\tresult = backup.exportToText(fileDir, item.getDbId(), Constants.NO_FOLDER);\n\t\t\t\t\t\t\t\tif (result != ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t\t\t\t\treturn ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpublishProgress(exportCount);\n\t\t\t\t\t\t\t\texportCount++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// gn lilg 2012-12-26 add for common controls end\n\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tresult = ImportExportUtils.STATE_SYSTEM_ERROR;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\n\t\t\tprotected void onProgressUpdate(Integer[] values) {\n\n\t\t\t\tif (values[0] > MAX_PROGRESS) {\n\t\t\t\t\tmProgressDialog.dismiss();\n\t\t\t\t} else {\n\t\t\t\t\tmProgressDialog\n\t\t\t\t\t.setMessage(message\n\t\t\t\t\t\t\t+ getResources()\n\t\t\t\t\t\t\t.getString(\n\t\t\t\t\t\t\t\t\tR.string.export_note_progress_message_first,\n\t\t\t\t\t\t\t\t\t(values[0] + 1), checkedNum));\n\t\t\t\t\t// mProgressDialog.setMessage(message + \"\\n\\n正在导出第\" +\n\t\t\t\t\t// (values[0] + 1) + \"个便签(共\"+ checkedNum +\"个)\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tprotected void onPostExecute(Integer result) {\n\t\t\t if(null == result){\n\t\t\t Log.d(\"onPostExecute-result=null\");\n\t\t\t return;\n\t\t\t }\n\t\t\t\t// Gionee <lilg><2013-03-19> add for set the state of export begin\n\t\t\t\tImportExportUtils.setExporting(false);\n\t\t\t\t// Gionee <lilg><2013-03-19> add for set the state of export end\n\t\t\t\t\n\t\t\t\t// gionee lilg 2013-01-28 modify for CR00768048 begin\n\t\t\t\t//gn pengwei 2013-1-8 modify for CR00761228 begin\n\t\t\t\t// dismiss the progressDialog only when the parent AmigoActivity is still alive.\n\t\t\t\tif(ExportItemSelectActivity.this != null && !ExportItemSelectActivity.this.isFinishing() && mProgressDialog != null){\n\t //Gionee <pengwei><20130615> modify for CR00819335 begin\n\t\t\t\t\ttry {\n\t if(!isFinishing()){\n\t mProgressDialog.dismiss();\n\t }\n\t } catch (Exception e) {\n\t Log.e(\"ExportItemSelectActivity---onPostExecute---e == \" + e);\n\t }\n\t\t\t\t\t//Gionee <pengwei><20130615> modify for CR00819335 end\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t//gn pengwei 2013-1-8 modify for CR00761228 end\n\t\t\t\t// gionee lilg 2013-01-28 modify for CR00768048 end\n\t\t\t\texportCount = 0;\n\t\t\t\tif (result == ImportExportUtils.STATE_SUCCESS) {\n\t\t\t\t\t//gionee 20121204 jiating modify for CR00739261 begin\n\n\t\t\t\t\tCommonUtils.showToast(ExportItemSelectActivity.this,getResources().getString(R.string.gn_exportnote_complete));\n\n\t\t\t\t\t//gionee 20121204 jiating modify for CR00739261 end\n\t\t\t\t\t// 保存导出记录时间\n\t\t\t\t\tsaveExportRecord();\n\n\t\t\t\t\t// 返回应用主页面\n\t\t\t\t\tHomeActivity.setInFolder(false);\n\t\t\t\t\tIntent intent = new Intent(ExportItemSelectActivity.this,\n\t\t\t\t\t\t\tHomeActivity.class);\n\t\t\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t// CR00733764\n\t\t\t\t\tsetResult(CommonUtils.RESULT_ExportItemSelectActivity);\n\t\t\t\t\tfinish();\n\t\t\t\t} else {\n\t\t\t\t\tshowExportErrorDialog();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}.executeOnExecutor((ExecutorService)Executors.newCachedThreadPool());\n\n\t}", "title": "" }, { "docid": "c938827d888c82df314b21d04a27009f", "score": "0.5160578", "text": "@Override\n public void onResult(DriveApi.ContentsResult result) {\n if (!result.getStatus().isSuccess()) {\n Log.i(\"\", \"Failed to create new contents.\");\n return;\n }\n // Otherwise, we can write our data to the new contents.\n Log.i(\"\", \"New contents created.\");\n // Get an output stream for the contents.\n OutputStream outputStream = result.getContents().getOutputStream();\n // Write the bitmap data from it.\n ByteArrayOutputStream bitmapStream = new ByteArrayOutputStream();\n imageData.compress(Bitmap.CompressFormat.PNG, 100, bitmapStream);\n try {\n outputStream.write(bitmapStream.toByteArray());\n } catch (IOException e1) {\n Log.i(\"\", \"Unable to write file contents.\");\n }\n // Create the initial metadata - MIME type and title.\n // Note that the user will be able to change the title later.\n MetadataChangeSet metadataChangeSet = new MetadataChangeSet.Builder()\n .setMimeType(\"image/png\").setTitle(filePath).build();\n // Create an intent for the file chooser, and start it.\n IntentSender intentSender = Drive.DriveApi\n .newCreateFileActivityBuilder()\n .setInitialMetadata(metadataChangeSet)\n .setInitialContents(result.getContents())\n .build(mGoogleApiClient);\n try {\n startIntentSenderForResult(\n intentSender, REQUEST_CODE_CREATOR, null, 0, 0, 0);\n } catch (IntentSender.SendIntentException e) {\n Log.i(\"\", \"Failed to launch file chooser.\");\n }\n }", "title": "" }, { "docid": "d1c23902e4f95f8b8614cfabae23789d", "score": "0.5155269", "text": "private void uploadFile() {\n if (filePath != null) {\n //displaying progress dialog while image is uploading\n final ProgressDialog progressDialog = new ProgressDialog(this);\n progressDialog.setTitle(\"Uploading\");\n progressDialog.show();\n\n //getting the storage reference\n receivedObject.get(listPosition).setBucketListUrl(\"gs://thebucketlist-bf5bf.appspot.com/Users/\"+userToken()+\"/\"+receivedObject.get(listPosition).getBucketListItem());\n receivedObject.get(listPosition).getBucketListUrl();\n updateDatabase();\n StorageReference sRef = storageReference.child(\"Users/\"+userToken()+\"/\"+receivedObject.get(listPosition).getBucketListItem());\n Log.d(\"XXX: debugging storage\", \"Reached here\");\n //adding the file to reference\n sRef.putFile(filePath)\n .addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n //dismissing the progress dialog\n progressDialog.dismiss();\n\n //displaying success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n\n //creating the upload object to store uploaded image details\n //Upload upload = new Upload(editTextName.getText().toString().trim(), taskSnapshot.getDownloadUrl().toString());\n\n //adding an upload to firebase database\n //String uploadId = mDatabase.push().getKey();\n //mDatabase.child(uploadId).setValue(upload);\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }\n })\n .addOnProgressListener(new OnProgressListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n //displaying the upload progress\n double progress = (100.0 * taskSnapshot.getBytesTransferred()) / taskSnapshot.getTotalByteCount();\n progressDialog.setMessage(\"Uploaded \" + ((int) progress) + \"%...\");\n }\n });\n } else {\n //display an error if no file is selected\n }\n }", "title": "" }, { "docid": "a290d3dc5ae87c5333e8e193f99e233a", "score": "0.51522076", "text": "public void tieUp() {\n\t\tif(!this.isInitialized.getAndSet(false)) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tsm.unregisterListener(this);\n\t\ttry {\n\t\t\tFile fileHandle = fileWriter.close();\n\t\t\tLOG.debug(\"{} ({} bytes) was written to filesystem.\", fileHandle, fileHandle.length());\n\t\t\t\n\t\t\t// store meta information in the database\n\t\t\tfinal int length = 0;\t\t\t// TODO calculate length [in seconds]\n\t\t\tfinal int height = 0;\t\t\t// TODO calculate resolution [height]x[width]\n\t\t\tfinal int width = 0;\n\t\t\tfinal String resolution = height + \"x\" + width; \n\t\t\t\n\t\t\tFilePOJO fileEntity = new FilePOJO(author, fileHandle.getName(), filename, \n\t\t\t\t\tthis.mediaUrlPrefix + String.valueOf(author) + \"/\" + fileHandle.getName(), \n\t\t\t\t\tthis.urlDefaultThumbnail, \n\t\t\t\t\tthis.mediaType, \n\t\t\t\t\tnew Date(), \n\t\t\t\t\tfileHandle.length(), \n\t\t\t\t\t0, 0, \n\t\t\t\t\tfalse, false, \n\t\t\t\t\tlength, \n\t\t\t\t\theight, width, resolution);\n\n\t\t\tif(!dbConnection.insertFile(fileEntity)) {\n\t\t\t\tLOG.error(\"Could not write file metadata of file {} to database!\", fileHandle.getName());\n\t\t\t}\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tLOG.error(\"File was not completely written!\", e);\n\t\t\tSystem.out.println(\"File was not completely written.\");\n\t\t} finally {\n\t\t\tthis.dbConnection.close();\n\t\t}\n\t}", "title": "" }, { "docid": "05ffdfe4d553373cad23ae3483fea1bc", "score": "0.51506263", "text": "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //displaying success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n\n //creating the upload object to store uploaded image details\n //Upload upload = new Upload(editTextName.getText().toString().trim(), taskSnapshot.getDownloadUrl().toString());\n\n //adding an upload to firebase database\n //String uploadId = mDatabase.push().getKey();\n //mDatabase.child(uploadId).setValue(upload);\n }", "title": "" }, { "docid": "f977abf32c0bbe326bfb78121f07bd86", "score": "0.5142854", "text": "public void save() throws FileNotFoundException {\n try {\n outputStream = openFileOutput(filename, Context.MODE_PRIVATE);\n ObjectOutputStream oos = new ObjectOutputStream(outputStream);\n oos.writeObject(Gallery.getInstance().saveGames(context).toString());\n oos.close();\n } catch (IOException ie) {\n ie.printStackTrace();\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "797d19cc0d56af804ba8e64cb9f81911", "score": "0.5141417", "text": "public void save() {\n \t\tTimestamp timestamp = new Timestamp(System.currentTimeMillis());\r\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy.MM.dd.HH.mm.ss\");\r\n new File(\"./data/\").mkdirs();\r\n \t\ttry (PrintWriter out = new PrintWriter(\"./data/\" + sdf.format(timestamp)+\".csv\")) {\r\n \t\t out.println(saveContent.toString());\r\n \t \t\tsaveContent.setLength(0);\r\n \t \t\tsaveContent.append(\"TYPE,VALUE,TIMESTAMP\");\r\n \t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n \t\t\r\n \t}", "title": "" }, { "docid": "061ba6e6b8506401e6643183696a2c0e", "score": "0.5133554", "text": "private void uploadToStorage(Uri uri){\n StorageReference photoRef = storageReference.child(uri.getLastPathSegment());\n\n //upload to storage\n photoRef.putFile(uri).addOnSuccessListener(this, new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadURL = taskSnapshot.getDownloadUrl();\n FriendlyMessage friendlyMessage = new FriendlyMessage(null,mUsername,downloadURL.toString());\n databaseReference.push().setValue(friendlyMessage);\n }\n });\n\n\n }", "title": "" }, { "docid": "9a5839fa887e885119c2207f08cc1d41", "score": "0.51282597", "text": "public void saveMessage(Message msg) {\n\t\tList<String> fileHeader = new LinkedList<String>();\r\n\t\tint lnNum = 0;\r\n\t\tString ln;\r\n\t\twhile ((ln = readLine(lnNum)).startsWith(\"#\")) {\r\n\t\t\tfileHeader.add(ln);\r\n\t\t\tlnNum++;\r\n\t\t}\r\n\t\t\r\n\t\t// Create a map to hold the information from the message.\r\n\t\tMap<String, Object> msgData = new LinkedHashMap<String, Object>(); // Use a LinkedHashMap in order to preserve the order of entries.\r\n\t\tMap<String, Object> senderData = new LinkedHashMap<String, Object>(); // A map to hold the sender data. Will be added to msgData.\r\n\t\tmsgData.put(\"text\", msg.getText());\r\n\t\t\r\n\t\tsenderData.put(\"name\", msg.getSender().getName());\r\n\t\tsenderData.put(\"displayName\", msg.getSender().getDisplayName());\r\n\t\tsenderData.put(\"id\", msg.getSender().getId());\r\n\t\tsenderData.put(\"role\", msg.getSender().getRole().name());\r\n\t\t\r\n\t\tmsgData.put(\"sender\", senderData);\r\n\t\tmsgData.put(\"timeStamp\", msg.getTimeStamp());\r\n\t\t\r\n\t\tYaml yaml = new Yaml();\r\n//\t\tSystem.out.println(yaml.dump(msgData));\r\n//\t\tString yamlMessage = yaml.dump(msgData);\r\n\t\t\t\t\r\n\t\tFileInputStream ioStream = null;\r\n\t\tFileWriter writer = null;\r\n\t\ttry {\r\n\t\t\tioStream = new FileInputStream(filePath);\r\n\t\t\tMap<String, Object> msgCabinet = (Map<String, Object>) yaml.load(ioStream);\r\n\t\t\tList<Map<String, Object>> messageList = (List<Map<String, Object>>) msgCabinet.get(\"messages\");\r\n\t\t\t\r\n//\t\t\tSystem.out.println(\"msgCabinet:\\n\" + msgCabinet + \"\\n\");\r\n\t\t\tmessageList.add(msgData);\r\n//\t\t\tSystem.out.println(\"msgCabinet:\\n\" + msgCabinet);\r\n\t\t\t\r\n\t\t\twriter = new FileWriter(filePath);\r\n\t\t\tfor (String str : fileHeader) {\r\n\t\t\t\twriter.append(str + \"\\n\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tyaml.dump(msgCabinet, writer);\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tif (ioStream != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tioStream.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (writer != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\twriter.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4ca7f9bb67ae31e968a5e34b0810eac3", "score": "0.51206565", "text": "public void SavingData(JSONObject toWrite){\n\n try {\n// openFileOutput contains the file in Output mode\n\n foust = openFileOutput(\"data\", MODE_PRIVATE);\n foust.write(toWrite.toString().getBytes());\n } catch (FileNotFoundException e) {\n Log.e(\"file not found\",e.getMessage());\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "63c78cf5aa0082bd39cff76e4b23c184", "score": "0.511076", "text": "static void writeFile(String message){\n try {\n bwf.write(message + \"\\n\");\n bwf.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "00ed7ee9578ec746c2f246dc1c077b88", "score": "0.5109558", "text": "@Override\n public void onIMTransactionFileUploadCallback(BDHiFile bdhiFile, boolean result) {\n if (result) {\n LogUtil.printIm(getThreadName(), \"BDHiFile upload success: \" + bdhiFile);\n if (removeFileContent(bdhiFile) && mFileMap.isEmpty()) {\n // Send All Files Finished\n messageBuilder = OneMsgConverter.convertIMMessage(imMessage);\n LogUtil.printIm(getThreadName(), \"Send All files finished\");\n for (Image image : messageBuilder.getContent().getImagesList()) {\n LogUtil.printIm(getThreadName(), image.getUrl());\n }\n // 017 send one msg\n sendMsg();\n }\n } else {\n LogUtil.printIm(getThreadName(), \"BDHiFile upload failed: \" + imMessage.toString());\n if (removeFileContent(bdhiFile)) {\n clearFileContents();\n imMessage.setStatus(IMMessageStatus.FAILED);\n // 015 convert IMMessage into MessageBuilder\n messageBuilder = OneMsgConverter.convertIMMessage(imMessage);\n if (null != messageBuilder) {\n // Save OneMsg into msgBody\n imMessage.setBody(messageBuilder.toByteArray());\n // Save IMMessage to db\n msgStore.saveIMMessage(imMessage);\n }\n // 016 Notify User\n if (null != callback) {\n Map<IMMessageChange, Object> changes = new HashMap<IMMessageChange, Object>();\n changes.put(IMMessageChange.STATUS, IMMessageStatus.FAILED);\n LogUtil.printIm(getThreadName(), \"Notify user sendMsg result.\");\n callback.onMessageChanged(imMessage, changes);\n }\n }\n }\n }", "title": "" }, { "docid": "65fc19b5849bc9de22e8a933cb87274c", "score": "0.51077104", "text": "@Override\n\tpublic void writeToFile() {\n\t\t\n\t}", "title": "" }, { "docid": "1cc21f8a9002c1843afc40195d1a2203", "score": "0.51063055", "text": "@Override\n\tprotected Response doInBackground(FileServiceInfo... params) {\n\t\tResponse response = new Response();\n\t\t\n\t\tFileServiceInfo fsInfo = params[0];\n\t\tArrayList<FileData> dataList = fsInfo.getFilesToSave();\n\t\t\n\t\tif(dataList != null && dataList.size() > 0) {\n\t\t\t\n\t\t\tFileStatus status = FileStatus.WRITE_FAILED;\n\t\t\t\n\t\t\tfor(FileData fileData : dataList) {\n\t\t\t\t\n\t\t\t\tString dir = fileData.getDir();\n\t\t\t\tString fileName = fileData.getFileName();\n\t\t\t\tbyte[] data = fileData.getData();\n\t\t\t\t\n\t\t\t\tif(fileData.getFileType() == FileType.IMAGE) {\n\t\t\t\t\tstatus = FileHelper.saveImage( dir, fileName, data);\n\t\t\t\t}\n\t\t\t\telse if(fileData.getFileType() == FileType.TEXT){\n\t\t\t\t\tstatus = FileHelper.saveFile( dir , fileName, data );\n\t\t\t\t}\n\t\t\t\telse if(fileData.getFileType() == FileType.TEXT_APPEND ) {\n\t\t\t\t\tstatus = FileHelper.appendToFile( dir , fileName, data );\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(status != FileStatus.WRITE_SUCCESSFUL) {\n\t\t\t\t\tresponse.setStatus(ResponseStatus.FAILED, status.toString());\n\t\t\t\t\treturn response;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tresponse.setStatus(ResponseStatus.SUCCESS, status.toString());\n\t\t\t\n\t\t}\n\t\t\n\t\treturn response;\n\t\t\n\t}", "title": "" }, { "docid": "1f702f800136612fa7ade1866bf79f45", "score": "0.5105797", "text": "@Override\n protected void onPostExecute(Boolean result) {\n mProgress.dismiss();\n LocalBook lb = new LocalBook();\n lb.setName(saveAs);\n lb.setPath(filepath);\n insertLocalBook(lb);\n super.onPostExecute(result);\n }", "title": "" }, { "docid": "ee9032782610422a3901b20815f988b0", "score": "0.5105271", "text": "public void SaveToFirebase() {\n StorageReference storageRef = FirebaseStorage.getInstance().getReferenceFromUrl\n (\"gs://muphotospot.appspot.com\");\n String currentDateTimeString = DateFormat.getDateTimeInstance().format(new Date());\n\n StorageReference mountainsRef = storageRef.child(\"/pictures\"\n + currentDateTimeString + \".jpg\");\n\n // Create a reference to 'images/pictures.jpg'\n StorageReference mountainImagesRef = storageRef.child(getLocationText + \"/pictures\"\n + currentDateTimeString + \".jpg\");\n\n Uri file = Uri.fromFile((new File(mCurrentPhotoPath))); //initialize Uri file from local path that keep the saved picture\n UploadTask uploadTask = mountainImagesRef.putFile(file); //put file\n uploadTask.addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n // Handle unsuccessful uploads\n }\n }).addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n // taskSnapshot.getMetadata() contains file metadata such as size, content-type, and download URL.\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n sentData(downloadUrl);\n }\n });\n }", "title": "" }, { "docid": "69b768615c14b5cd65bad1773afe05cb", "score": "0.5101358", "text": "public void writeToFile(final String title, final byte[] content) {\r\n\t\t// Make a request to get a stream for writing to the file,\r\n\t\tgetDriveContents(title, DriveFile.MODE_WRITE_ONLY, new Callback<DriveContents>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void callback(DriveContents contents) {\r\n\t\t\t\t// Write the desired data to the end of the file.\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcontents.getOutputStream().write(content);\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t// Upload the changes to the drive client.\r\n\t\t\t\t// null because there are no metadata changes.\r\n\t\t\t\tcontents.commit(driveClient, null);\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "0c2128dbe9ec64cf2a3edbff94263a37", "score": "0.51003087", "text": "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n final Uri downloadUrl = taskSnapshot.getDownloadUrl();\n// Toast.makeText(UploadMemoryActivity.this, \"Yes\", Toast.LENGTH_SHORT).show();\n myRef = myRef.child(\"Memories\").push();\n String memoryKey = myRef.getKey();\n //String newKey = uUserDatabaseReference.push().getKey();\n //uUserDatabaseReference.child(newKey).setValue(memoryKey);\n myRef.runTransaction(new Transaction.Handler() {\n @Override\n public Transaction.Result doTransaction(MutableData mutableData) {\n myRef.child(\"userID\").setValue(mAuth.getCurrentUser().getUid());\n myRef.child(\"Picture URL\").setValue(downloadUrl.toString());\n return null;\n }\n\n @Override\n public void onComplete(DatabaseError databaseError, boolean b, DataSnapshot dataSnapshot) {\n// Toast.makeText(UploadMemoryActivity.this, \"Successful\", Toast.LENGTH_SHORT).show();\n AlertDialog dialog = new AlertDialog.Builder(view.getContext())\n .setTitle(\"Pictue uploaded successfully!\")\n .setPositiveButton(\"ok\",dialogClickListener)\n .show();\n }\n });\n }", "title": "" }, { "docid": "f1d55a20ff061356bfefe657bee33c29", "score": "0.5093627", "text": "@Override\n public synchronized void put(String key, CacheEntry<Response> entry) {\n\t\tif (!canCache(entry)) {\n\t\t\treturn;\n\t\t}\n\t\tResponseBody body = entry.getData().getBody();\n\t\tLegolas.getLog().d(\"DiskCache put \" + key);\n\t\t\n\t\tpruneIfNeeded((int) body.length());\n File file = getFileForKey(key);\n File configFile = getConfigFileForKey(key);\n FileOutputStream configFileOut = null;\n try {\n\t\t\t// 写流\n\t\t\t//如果是需要加密,直接在方法writeStream加密就好了\n \tChecksum checksum = writeResponseBodyToFile(body, file, DEFAULT_BUFFER_SIZE);\n \tString sumValue = checksumToString(checksum);\n \t\t\t\n\t\t\t//writeConfigFile\n\t\t\tconfigFileOut = new FileOutputStream(configFile, false);\n\t\t\tCacheHeader e = new CacheHeader(key, entry, sumValue);\n\t\t\te.writeHeader(configFileOut);\n\t\t\tconfigFileOut.flush();\n \n putEntry(key, e);\n return;\n } catch (IOException e) {\n \tLegolas.getLog().w(\"save cache file fail\", e);\n\t\t} finally {\n\t\t\tcloseStream(configFileOut);\n\t\t}\n }", "title": "" }, { "docid": "da3139c02f1bde17299cf8d2cca1114a", "score": "0.5084367", "text": "@Override\n public void onComplete(@NonNull Task<Uri> task) {\n url =task.getResult().toString(); // retrieve download url\n // create firebase database reference\n DatabaseReference reference = database.getReference();\n DatabaseReference historydb = reference.child(currentUser).child(\"history\");\n // once file is upload to cloud, store the download url in firebase database\n historydb.child(fileName1).setValue(url).addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()){\n Toast.makeText(UserRecords.this,\"File Uploaded\",Toast.LENGTH_SHORT).show();\n }\n else\n Toast.makeText(UserRecords.this,\"Upload failed\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "title": "" }, { "docid": "1f33e355f285912182b55691404d807d", "score": "0.5070665", "text": "public byte[] serianized(DefaultBytesMessage message,KeyValue properties){\n\n if (atomicIntegerFileName.get() == 0) {\n Set headerKeySet = message.headers().keySet();\n\n int headNum = headerKeySet.size();\n\n\n byte[][] headerKeyByte = new byte[headNum][];\n\n Iterator<String> iterator = headerKeySet.iterator();\n int indexNum = 0;\n while (iterator.hasNext()) {\n\n String headerKey = iterator.next();\n headerKeyByte[indexNum++] = headerKey.getBytes();\n }\n Set propertiesKeySet = message.properties().keySet();\n int propertiesNum = propertiesKeySet.size();\n\n byte[][] propertiesKeyByte = new byte[propertiesNum][];\n\n Iterator<String> i = propertiesKeySet.iterator();\n int index = 0;\n while (i.hasNext()){\n String propertiesKey = i.next();\n propertiesKeyByte[index++] = propertiesKey.getBytes();\n\n\n\n }\n int length = 0;\n for (byte[] b : headerKeyByte) {\n length += b.length;\n\n ++length;\n }\n for (byte[] b : propertiesKeyByte) {\n length += b.length;\n ++length;\n }\n byte[] messageByte = new byte[length + 2];\n int num = 0;\n messageByte[num++] = (byte)headNum;\n messageByte[num++] = (byte)propertiesNum;\n\n\n\n for (int ind = 0;ind < headerKeyByte.length;ind++) {\n byte len = (byte) headerKeyByte[ind].length;\n messageByte[num++] = len;\n for (int check = 0;check < headerKeyByte[ind].length;check++) {\n messageByte[num++] = headerKeyByte[ind][check];\n\n }\n\n\n\n\n\n }\n\n for (int ind = 0;ind < propertiesKeyByte.length;ind++) {\n byte len = (byte) propertiesKeyByte[ind].length;\n messageByte[num++] = len;\n for (int check = 0;check < propertiesKeyByte[ind].length;check++) {\n messageByte[num++] = propertiesKeyByte[ind][check];\n\n }\n\n\n }\n ByteBuffer byteBuffer = ByteBuffer.allocateDirect(messageByte.length);\n byteBuffer.put(messageByte);\n\n\n File file = new File(properties.getString(\"STORE_PATH\") + \"/\" + \"keys\");\n\n\n if (!file.exists()) {\n try {\n file.createNewFile();\n } catch (IOException e) {\n e.printStackTrace();\n\n }\n }\n\n Path path = Paths.get(file.getAbsolutePath());\n\n AsynchronousFileChannel asynchronousFileChannel = null;\n\n try {\n asynchronousFileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.WRITE);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\n\n byteBuffer.flip();\n\n\n asynchronousFileChannel.write(byteBuffer, 0,asynchronousFileChannel, new CompletionHandler<Integer,AsynchronousFileChannel>() {\n @Override\n public void completed(Integer result, AsynchronousFileChannel attachment) {\n try {\n attachment.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n }\n\n @Override\n public void failed(Throwable exc, AsynchronousFileChannel attachment) {\n\n try {\n attachment.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n });\n\n\n }\n\n\n Set headerKeySet = message.headers().keySet();\n\n int headNum = headerKeySet.size();\n\n\n\n byte[][] headerValueByte = new byte[headNum][];\n Iterator<String> iterator = headerKeySet.iterator();\n int indexNum = 0;\n while (iterator.hasNext()){\n\n String headerKey = iterator.next();\n String headerValue = message.headers().getString(headerKey);\n\n headerValueByte[indexNum++] = headerValue.getBytes();\n\n }\n/*FileChannel fileChannel;\n MappedByteBuffer map = fileChannel.map(new FileChannel.MapMode(), 0, 0);\n map.array();*/\n Set propertiesKeySet = message.properties().keySet();\n int propertiesNum = propertiesKeySet.size();\n\n\n byte[][] propertiesValueByte = new byte[propertiesNum][];\n Iterator<String> i = propertiesKeySet.iterator();\n int index = 0;\n while (i.hasNext()){\n String propertiesKey = i.next();\n String propertiesValue = message.properties().getString(propertiesKey);\n\n propertiesValueByte[index++] = propertiesValue.getBytes();\n\n\n\n }\n\n\n\n byte[] body = message.getBody();\n\n int length = body.length;\n\n for (byte[] b : headerValueByte) {\n length += b.length;\n\n length = length + 3;\n }\n\n for (byte[] b : propertiesValueByte) {\n length += b.length;\n\n length = length + 3;\n }\n\n\n\n byte[] messageByte = new byte[length + 5];\n int num = 0;\n messageByte[num++] = (byte)headNum;\n messageByte[num++] = (byte)propertiesNum;\n\n\n\n for (int ind = 0;ind < headerValueByte.length;ind++) {\n\n\n\n\n\n int len2 = headerValueByte[ind].length;\n int j=0;//j��ʾ�������ٸ��ֽ�\n\n int h=0;\n\n if(len2>16129){\n h = len2/16129;\n len2 = len2%16129;\n }\n if(len2>127){\n j = len2/127;\n len2 = len2%127;\n }\n\n messageByte[num++] = (byte) h;\n messageByte[num++] = (byte) j;\n messageByte[num++] = (byte) len2;\n\n\n\n\n for (int check2 = 0;check2 < headerValueByte[ind].length;check2++) {\n messageByte[num++] = headerValueByte[ind][check2];\n\n }\n\n }\n\n\n for (int ind = 0;ind < propertiesValueByte.length;ind++) {\n\n\n int len2 = propertiesValueByte[ind].length;\n int j=0;//j��ʾ�������ٸ��ֽ�\n int h=0;\n\n if(len2>16129){\n h = len2/16129;\n len2 = len2%16129;\n }\n if(len2>127){\n j = len2/127;\n len2 = len2%127;\n }\n messageByte[num++] = (byte) h;\n messageByte[num++] = (byte) j;\n messageByte[num++] = (byte) len2;\n for (int check2 = 0;check2 < propertiesValueByte[ind].length;check2++) {\n messageByte[num++] = propertiesValueByte[ind][check2];\n\n }\n\n }\n\n\n int len = body.length;\n int j=0;//j��ʾ�������ٸ��ֽ�\n int h=0;\n\n if(len>16129){\n h = len/16129;\n len = len%16129;\n }\n if(len>127){\n j = len/127;\n len = len%127;\n }\n\n messageByte[num++] = (byte) h;\n messageByte[num++] = (byte) j;\n messageByte[num++] = (byte) len;\n\n for (int bodyIndex = 0; bodyIndex < body.length;bodyIndex++) {\n messageByte[num++] = body[bodyIndex];\n }\n\n return messageByte;\n }", "title": "" }, { "docid": "ad6cf3fbe7cb567b0a710336d846ff05", "score": "0.5070574", "text": "private static void addMessageToCache(Context context, String phone, String msg) {\n try {\n String cachedMsg = phone + \":\" + msg + MESSAGE_DELIMITER;\n Log.i(TAG, \"Caching \" + cachedMsg);\n FileOutputStream fos = context.openFileOutput(CACHE_FILE, Context.MODE_APPEND);\n fos.write(cachedMsg.getBytes());\n fos.close();\n ++messagesCached;\n Log.i(TAG, \"Cached \" + cachedMsg);\n } catch (FileNotFoundException e) {\n Log.e(TAG, \"File not found error writing to cache file\");\n e.printStackTrace();\n } catch (IOException e) {\n Log.e(TAG, \"I/O Error writing to cache file\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "ae2513e2784598d61666d65106a808cf", "score": "0.50696135", "text": "@Override\r\n protected void onPostExecute(com.goodow.api.services.attachment.model.Attachment execute) {\n super.onPostExecute(execute);\r\n out : do {\r\n if (null == execute || execute.getId() == null) {\r\n break out;\r\n }\r\n\r\n CollaborativeMap newFile = newModel.createMap(null);\r\n\r\n if (null == newFile) {\r\n break;\r\n }\r\n\r\n for (int i = 0; i < newList.length(); i++) {\r\n CollaborativeMap map = newList.get(i);\r\n if (execute.getBlobKey().equals(map.get(\"blobKey\"))) {\r\n newList.remove(i);\r\n }\r\n }\r\n\r\n newFile.set(\"url\", DriveModule.DRIVE_SERVER + \"/serve?id=\" + attachmentId);\r\n newFile.set(\"progress\", \"0\");\r\n newFile.set(\"status\", GlobalConstant.DownloadStatusEnum.WAITING.getStatus());\r\n\r\n newFile.set(\"label\", execute.getFilename());\r\n newFile.set(\"blobKey\", execute.getBlobKey());\r\n newFile.set(\"id\", execute.getId());\r\n newFile.set(\"type\", execute.getContentType());\r\n\r\n String thumbnail = execute.getThumbnail();\r\n if (null != thumbnail) {\r\n // 修正缩略图地址\r\n thumbnail = Tools.modifyThumbnailAddress(thumbnail);\r\n newFile.set(\"thumbnail\", thumbnail);\r\n }\r\n\r\n newList.push(newFile);\r\n\r\n Log.i(TAG, \"new download rescource:\" + newList.toString());\r\n } while (false);\r\n }", "title": "" }, { "docid": "e9417dfc71c3462ef11a11d14c0cdfee", "score": "0.50652367", "text": "protected abstract void writeMediaFile();", "title": "" }, { "docid": "3f5d340276b8b4f3c70487f6087d2e4b", "score": "0.5064881", "text": "void storeDataFor(byte[] data, String key, String jobId, Service service) throws IOException;", "title": "" }, { "docid": "c58bf9b4d83b724e081a5742693b9c61", "score": "0.50598806", "text": "private void saveStringToFile(String content, String directoryName, String fileName) {\n File directory = new File(directoryName);\n if (!directory.exists()) {\n directory.mkdir();\n }\n try {\n BufferedWriter writer = new BufferedWriter(new FileWriter(directoryName + \"/\" + fileName, true));\n writer.write(content);\n writer.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "b87e3662b5ccae8297181ff58a8cd436", "score": "0.5051628", "text": "public void receiveFile() throws ClassNotFoundException, IOException {\r\n\r\n\t\tString extension = (String) input.readObject();\r\n\t\tbyte[] fileContent = null;\r\n\t\tfileContent = (byte[]) input.readObject();\r\n\r\n\t\tint userSaveFile = receiver.showSaveDialog(new JFrame());\r\n\r\n\t\tif (userSaveFile == JFileChooser.APPROVE_OPTION) {\r\n\t\t\tFile directory = receiver.getCurrentDirectory();\r\n\t\t\tString filename = receiver.getSelectedFile().getName();\r\n\t\t\tFile fileToSave = new File(directory + \"\\\\\" + filename + extension);\r\n\t\t\tSystem.out.println(receiver.getCurrentDirectory());\r\n\t\t\tSystem.out.println(filename);\r\n\t\t\tFiles.write(fileToSave.toPath(), fileContent);\r\n\t\t} // end if\r\n\r\n\t}", "title": "" }, { "docid": "932b6f78ee1c5959dda5a4c10ffe73a0", "score": "0.5044804", "text": "public synchronized void setContent(Object content) {\n writeFileSerialized(content);\n touch();\n }", "title": "" }, { "docid": "bb1723c91ebeaf7bd8b6073f4be8a0f1", "score": "0.503557", "text": "protected void storeFile(File file, String body) throws HTTPProtocolException {\n try {\n //If the directory not exist, create it\n file.getParentFile().mkdirs();\n BufferedWriter writer;\n writer=new BufferedWriter (new FileWriter(file));\n if (body != null)\n writer.write(body);\n writer.close();\n } catch (IOException e) {\n throw new HTTPProtocolException(\"Error storing file\");\n }\n }", "title": "" }, { "docid": "0364985c1b873d7c2ee7339d11611aa1", "score": "0.50325894", "text": "public void uploadFileMembre(FileEntryEvent ev){\n\t\tFileEntry fiE = (FileEntry)ev.getSource();\n\t\t//récupérer ses results\n\t\tFileEntryResults fr = fiE.getResults();\n\t\t\n\t\t// Create an instance of SimpleDateFormat used for formatting \n\t\t\t\t// the string representation of date (month/day/year)\n\t\t\t\tDateFormat df = new SimpleDateFormat(\"dd/MM/yyyyHH:mm:ss\");\n\n\t\t\t\t// Get the date today using Calendar object.\n\t\t\t\tDate today = Calendar.getInstance().getTime(); \n\t\t\t\t// Using DateFormat format method we can create a string \n\t\t\t\t// representation of a date with the defined format.\n\t\t\t\tString reportDate = df.format(today);\n\t\t\n\t\t\n\t\t//boucler sur les FileInfo\n\t\tfor(FileEntryResults.FileInfo fi: fr.getFiles()){\n\t\t\t//s'assurer que le fichier est enregistrer\n\t\t\tif(fi.isSaved()){\n\t\t\t\tSystem.out.println(\"le nom ========= \"+fi.getFileName());\n\t\t\t\t//recu le fichier\n\t\t\t\tFile f = fi.getFile();\n\t\t\t\t\n\t\t\t\t//TODO verifier que c'est le bon type de fichier\n\t\t\t\t//renommer\n\t\t\t\ttry {\n\t\t\t\t\tString cheminApp=FacesContext.getCurrentInstance().getExternalContext().getRealPath(\"/\");\n\t\t\t\t\tString newch=cheminApp;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tboolean ren=f.renameTo(new File(newch+\"/photos/\"+fi.getFileName()));\n\t\t\t\t\t\n\t\t\t\t\tif (ren) {\n\t\t\t\t\t\tthis.chemin=fi.getFileName();\n\t\t\t\t\t\tSystem.out.println(newch);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"pas possible. \"+newch);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t//ajouter un message \n\t\t\t\tFacesContext.getCurrentInstance().addMessage(fiE.getClientId(),new FacesMessage(\"le fichier a été uploadé\"));\n\t\t\t}}\n\t\t\t\n\t\t}", "title": "" }, { "docid": "4a7ebfa03ca34354f5c1a264b5efdc1f", "score": "0.502778", "text": "@Override\r\n\tpublic void createFile(String path, byte[] content) throws IOException {\n\r\n\t}", "title": "" }, { "docid": "32a7f05c2d17e87bdbcc95bfac675a42", "score": "0.5021354", "text": "@Override\n public void onComplete(int result, int err)\n {\n if (mProgressDialog != null)\n {\n mProgressDialog.dismiss();\n mProgressDialog = null;\n }\n\n if (result == SODocSave_Succeeded)\n {\n // As an example, add this to the list of files\n // to be deleted on closing document.\n addDeleteOnClose(tempPath);\n\n displayDialogue(\"Information\",\n \"Document saved to '\" + tempPath +\n \"'.\\n\\n\" +\n \"Please implement a custom share \" +\n \"handler\");\n }\n else\n {\n displayDialogue(\"Information\",\n String.format(\"shareHandler failed: %d %d\", result, err));\n }\n\n if (mSecureFs != null)\n {\n // Convert the file path into a real path for sharing\n // purposes.\n String realPath =\n tempPath.replace(mSecurePrefix, mSecurePath);\n }\n\n // Do something with the file then delete it.\n }", "title": "" }, { "docid": "e96cb599b91cb9ae71431078daadf926", "score": "0.50192696", "text": "protected void aboutToSave(File file)\r\n\t{\r\n\t}", "title": "" }, { "docid": "64bfa335a8b6c58a808787eb0448eecc", "score": "0.50152", "text": "public void getFile(ByteBuffer buffer, SelectionKey key) {\r\n String fileName = \"\";\r\n try {\r\n\r\n // skip full buffer size\r\n buffer.getInt();\r\n\r\n int fileNameSize = buffer.getInt();\r\n byte[] fileNameInput = new byte[fileNameSize];\r\n buffer.get(fileNameInput);\r\n fileName = new String(fileNameInput, StandardCharsets.UTF_8);\r\n int size = buffer.getInt();\r\n\r\n byte[] input = new byte[buffer.limit() - buffer.position()];\r\n byte[] full_input;\r\n\r\n buffer.get(input);\r\n\r\n if (size > BUFFER_SIZE) {\r\n SocketChannel client = (SocketChannel) key.channel();\r\n byte[] input1 = FileReader.readFile(client, size);\r\n\r\n full_input = FileReader.concatByteArrays(input, input1, size);\r\n\r\n } else {\r\n full_input = new byte[size];\r\n System.arraycopy(input, 0, full_input, 0, size);\r\n }\r\n\r\n try {\r\n System.out.println(\"Writes file \" + fileName);\r\n if (!Files.exists(Paths.get(SERVER_PACKAGE))) {\r\n Files.createDirectory(Paths.get(SERVER_PACKAGE));\r\n }\r\n Files.write(Paths.get(SERVER_PACKAGE + \"/\" + fileName), full_input);\r\n\r\n broadcast(\"Uploaded file \" + fileName);\r\n messages.add(\"Uploaded file \" + fileName);\r\n\r\n key.cancel();\r\n try {\r\n key.channel().close();\r\n } catch (IOException e) {\r\n System.err.println(\"Can not close channel\");\r\n }\r\n } catch (Exception e) {\r\n System.out.println(\"Problems occurred while writing file to server package: \" + e);\r\n }\r\n\r\n\r\n } catch (Exception e) {\r\n System.out.println(\"Some problems while getting file from client: \" + e);\r\n }\r\n\r\n\r\n }", "title": "" }, { "docid": "827dd04babf660a6dc34d419dedd1606", "score": "0.5009215", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n //---FOR PICKING IMAGE FROM GALLERY ACTIVITY AND SENDING---\n if(requestCode == GALLERY_PICTURE && resultCode == RESULT_OK){\n\n //---GETTING IMAGE DATA IN FORM OF URI--\n Uri imageUri = data.getData();\n final String current_user_ref = \"messages/\"+currUserId+\"/\"+chatUser;\n final String chat_user_ref = \"messages/\"+ chatUser +\"/\"+currUserId;\n\n DatabaseReference user_message_push = rootReference.child(\"messages\")\n .child(currUserId).child(chatUser).push();\n\n final String push_id = user_message_push.getKey();\n\n //---PUSHING IMAGE INTO STORAGE---\n StorageReference filepath = imageStorage.child(\"message_images\").child(push_id+\".jpg\");\n filepath.putFile(imageUri).addOnCompleteListener(new OnCompleteListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onComplete(@NonNull Task<UploadTask.TaskSnapshot> task) {\n\n if(task.isSuccessful()){\n\n @SuppressWarnings(\"VisibleForTests\")\n String download_url = task.getResult().getMetadata().getReference().getDownloadUrl().toString();\n\n Map messageMap = new HashMap();\n messageMap.put(\"message\",download_url);\n messageMap.put(\"seen\",false);\n messageMap.put(\"type\",\"image\");\n messageMap.put(\"time\",ServerValue.TIMESTAMP);\n messageMap.put(\"from\",currUserId);\n\n Map messageUserMap = new HashMap();\n messageUserMap.put(current_user_ref+\"/\"+push_id,messageMap);\n messageUserMap.put(chat_user_ref+\"/\"+push_id,messageMap);\n\n rootReference.updateChildren(messageUserMap, new DatabaseReference.CompletionListener(){\n\n @Override\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\n if(databaseError != null){\n Log.e(\"CHAT_ACTIVITY\",\"Cannot add message to database\");\n }\n else{\n Toast.makeText(ChatActivity.this, \"Message sent\", Toast.LENGTH_SHORT).show();\n messageView.setText(\"\");\n }\n\n }\n });\n }\n\n }\n });\n\n\n }\n\n }", "title": "" }, { "docid": "88685e909e0dceefd664a53fe1d42af8", "score": "0.5000182", "text": "@Override\n\t\t\tpublic void onProgress(int currentLength, int contentLength){\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "6b0b657889c90d5ffa736fe98d9c1e02", "score": "0.4994397", "text": "private void saveFileToDrive() throws IOException {\n // Start by creating a new contents, and setting a callback.\n Log.i(TAG, \"Creating new contents.\");\n\n mDriveResourceClient\n .createContents()\n .continueWithTask(\n new Continuation<DriveContents, Task<Void>>() {\n @Override\n public Task<Void> then(@NonNull Task<DriveContents> task) throws Exception {\n return createFileIntentSender(task.getResult());\n }\n })\n .addOnFailureListener(\n new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(TAG, \"Failed to create new contents.\", e);\n }\n });\n }", "title": "" }, { "docid": "45583c9f1eb2fc20befa5c3b747905e2", "score": "0.49823892", "text": "private void handleRequestMessage(byte[] messageIndex){\n //Send file to the peer with requested message index\n\n try {\n // byte[] temp = Arrays.copyOfRange(messageIndex, 0, 4);\n int pieceIndex = (int)utilities.fromByteArrayToLong(messageIndex);\n\n if(peer.isUnchoked && Constants.selfBitfield.get(pieceIndex)){\n // System.out.println(\"***************************** \" + pieceIndex);\n ByteArrayOutputStream oStream = new ByteArrayOutputStream();\n \n oStream.write(messageIndex);\n oStream.write(Constants.fileChunks[pieceIndex].getPieceContent());\n byte[] payloadContent = oStream.toByteArray();\n Message msg = new Message(payloadContent.length + 1, 7, payloadContent);\n byte[] msgByteArray = msg.createMessage();\n \n utilities.writeToOutputStream(this.outputStream,msgByteArray);\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "652aaf531e27978ea02fe47b0894ac42", "score": "0.4982221", "text": "@Override\n public void onFinished(String result) {\n\n SavedCrumbId = result;\n saveVideo();\n }", "title": "" }, { "docid": "7ac15b79c32618dd2660cf7c401e5c19", "score": "0.49817154", "text": "public void save()\n {\n Gdx.files.external(Settings.get(\"LevelDataExternalPath\")).writeString(Pseudo.crypt(new Json().toJson(data)), false, \"UTF-8\");\n Gdx.files.external(Settings.get(\"CustomLevelDataExternalPath\")).writeString(Pseudo.crypt(new Json().toJson(custom)), false, \"UTF-8\");\n }", "title": "" }, { "docid": "8277a8cf6a5d92845d3b71a6b509af7e", "score": "0.49784213", "text": "private void saveToStorageListener(Observable observable) {\n logger.info(\"Address book modified, saving to file.\");\n try {\n storage.saveAddressBook(versionedEntryBook);\n } catch (IOException ioe) {\n setException(new CommandException(FILE_OPS_ERROR_MESSAGE + ioe, ioe));\n }\n }", "title": "" }, { "docid": "d4c058fb433026ff0b46797b1f52d28d", "score": "0.49717537", "text": "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n historyUserRef.getDownloadUrl().addOnCompleteListener(new OnCompleteListener<Uri>() {\n @Override\n public void onComplete(@NonNull Task<Uri> task) { // wait for on complete\n url =task.getResult().toString(); // retrieve download url\n // create firebase database reference\n DatabaseReference reference = database.getReference();\n DatabaseReference historydb = reference.child(currentUser).child(\"history\");\n // once file is upload to cloud, store the download url in firebase database\n historydb.child(fileName1).setValue(url).addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()){\n Toast.makeText(UserRecords.this,\"File Uploaded\",Toast.LENGTH_SHORT).show();\n }\n else\n Toast.makeText(UserRecords.this,\"Upload failed\",Toast.LENGTH_SHORT).show();\n }\n });\n }\n });\n }", "title": "" }, { "docid": "d59b7873812c07008b28c3cfd5d7329d", "score": "0.49704495", "text": "public void sendFileLog() {\n\n if (checkNetwork()) {\n File root = new File(Environment.getExternalStorageDirectory(), \"returncandidate_log\");\n files = root.listFiles();\n for (File file : files) {\n String[] params =\n new String[]{Config.API_POST_FILE, file.toString()};\n new HttpPostFile(this).execute(params);\n }\n } else {\n // Stop process loading screen\n progress.dismiss();\n showDialog(false);\n }\n }", "title": "" } ]
a73266d03883142912ae684344a64e5c
CM695884 Execute the process for deleting the Picking plan data (Inventory package Not Available)
[ { "docid": "999f3c4987509b5c6aa6478f768506c3", "score": "0.6072089", "text": "protected void deleteRetrievalPlan(Connection conn, boolean unWorkDelete, String workDate\n\t\t\t\t\t\t\t\t\t\t\t\t\t , String deleteDate, boolean stockPack)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695885\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695886\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695887\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695888\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695889\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695890\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { RetrievalPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695891\n\t\t// Delete the inventory information.\n\t\t//#CM695892\n\t\t// Find the Stock ID of the inventory information linked to the delete target data in the picking plan info .\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695893\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.RetrievalPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\t\tif( count > 0 )\n\t\t\t{\n\t\t\t\t//#CM695894\n\t\t\t\t// Delete the inventory information linked to the delete target in the picking plan info .\n\t\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695895\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.RetrievalPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\t\tif( count > 0 )\n\t\t\t{\n\t\t\t\t//#CM695896\n\t\t\t\t// Delete the inventory information linked to the delete target in the picking plan info .\n\t\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t\t}\n\t\t}\n\n\t\t//#CM695897\n\t\t// Delete the work status.\n\t\t//#CM695898\n\t\t// Find the work status linked to the delete target data in the picking plan info .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695899\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695900\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> WorkInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695901\n\t\t\t// Delete the work status linked to the delete target in the picking plan info. .\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695902\n\t\t// Delete the picking plan info.\n\t\tRetrievalPlanHandler retrievalHandler = new RetrievalPlanHandler(conn);\n\t\tRetrievalPlanSearchKey retrievalSearchKey = new RetrievalPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695903\n\t\t\t// Delete the picking plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695904\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695905\n\t\t\t// Delete the picking plan info that passed its retention period (days).\n\t\t\t//#CM695906\n\t\t\t//\t ( Status flag = Partially Completed and Planned Picking Date <= Expiry date of retention )\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695907\n\t\t\t// Delete the picking plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695908\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695909\n\t\t\t// Delete the picking plan info that passed its retention period (days).\n\t\t\t//#CM695910\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Picking Date <= Expiry date of retention )\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = retrievalHandler.count(retrievalSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Delete) --> RetrievalPlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695911\n\t\t\t\t// Delete the picking plan info.\n\t\t\t\tretrievalHandler.drop(retrievalSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "e284cecd8c6e41c22dfa0c140d10e7bf", "score": "0.63313544", "text": "protected void deleteWorkingData(Connection conn, SystemParameter[] param)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException, ScheduleException\n\t{\n\t\tString workday = wWareNaviSystem.getWorkDate();\n\n\t\t//#CM695776\n\t\t// Obtain the result of wheter Inventory package exists or not.\n\t\t//#CM695777\n\t\t// stockPack:true --> Inventory package Available\n\t\tboolean stockPack = isStockPack(conn);\n\n\t\t//#CM695778\n\t\t/*************************************\n\t\t * Delete the xxxPlan data.\n\t\t *************************************/\n\n\t\t//#CM695779\n\t\t// Refer the flag to determine whether to remain or delete the work status Not Processed.\n\t\tboolean unWorkDelete = false;\n\t\tunWorkDelete = param[0].getSelectUnworkingInformation().equals(SystemParameter.SELECTUNWORKINGINFORMATION_DELETE);\n\n\t\t//#CM695780\n\t\t// Delete the Plan data (Planned xxx info/ Work Status/ Inventory information).\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start planDelete ****\");\n\t\tplanDelete(conn, unWorkDelete, workday, wDelPlanDate, stockPack);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End planDelete ****\");\n\n\t\t//#CM695781\n\t\t/*************************************\n\t\t * Delete the Inventory Check data.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteInventoryCheck ****\");\n\t\tdeleteInventoryCheck(conn);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteInventoryCheck ****\");\n\n\t\t//#CM695782\n\t\t/*************************************\n\t\t * Delete the Relocation work data.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteMovement ****\");\n\t\tdeleteMovement(conn, wDelPlanDate, stockPack);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteMovement ****\");\n\n\t\t//#CM695783\n\t\t/*************************************\n\t\t * Delete the Center inventory data.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteCenterStock ****\");\n\t\tdeleteCenterStock(conn);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteCenterStock ****\");\n\n\t\t//#CM695784\n\t\t/*************************************\n\t\t * Move the result data and delete it.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start moveResult ****\");\n\t\tmoveResult(conn);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End moveResult ****\");\n\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteResult ****\");\n\t\tdeleteResult(conn, wDelResultDate);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteResult ****\");\n\n\t\t//#CM695785\n\t\t/*************************************\n\t\t * Delete the Worker result info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteWokerResult ****\");\n\t\tdeleteWokerResult(conn, wDelResultDate);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteWokerResult ****\");\n\n\t\t//#CM695786\n\t\t/*************************************\n\t\t * Delete the next work status.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start deleteNextProcessInfo ****\");\n\t\tdeleteNextProcessInfo(conn, unWorkDelete, workday, wDelPlanDate);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End deleteNextProcessInfo ****\");\n\t}", "title": "" }, { "docid": "cb5062a6d1a489e782754a462591922a", "score": "0.61458313", "text": "public void deleteSupply(){\n Supply sup = this.tableController.getSupplyFromTableSupplies(this.table);\n if(sup == null)\n JOptionPane.showMessageDialog(this, \"No Se Seleccionó Ningún Proveedor\");\n else\n { \n int opc = JOptionPane.showConfirmDialog(null, \"Realmente Desea Eliminar El Insumo\"+sup.getName().toUpperCase(),\n \"Eliminar Insumo\"+sup.getName().toUpperCase(), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);\n //0 para si || 1 para no\n if (opc == 0)\n {\n boolean ban = this.restaurant.getBd().getCrudSupply().deleteSupply(Integer.parseInt(sup.getId()));\n //Si se elimino el proveedor de la base de datos.\n if(ban)\n {\n JOptionPane.showMessageDialog(this, \"Insumo \" + \" Eliminado Correctamente\");\n this.restaurant.updateDataBase();\n this.createTable(this.restaurant.getSupplies());\n// this.pintor.paintTableProviders(this.tequilazo.getProveedores(), this.modeloListaProveedores);\n }\n else\n {\n JOptionPane.showMessageDialog(this, \"No Se Pudo Eliminar El Proveedor De La Base De Datos\");\n }\n } \n } \n// System.out.println(\"deleteProvide\");\n }", "title": "" }, { "docid": "c2f6332b240783ebe16ccdb7035b5356", "score": "0.600301", "text": "public String executeCommandDelete(ActionContext context) {\n if (!(hasPermission(context, \"myhomepage-action-plans-delete\"))) {\n return (\"PermissionError\");\n }\n Connection db = null;\n try {\n db = this.getConnection(context);\n String planWorkId = context.getRequest().getParameter(\"actionPlanId\");\n ActionPlanWork planWork = new ActionPlanWork(db, Integer.parseInt(planWorkId));\n planWork.buildPhaseWork(db);\n planWork.buildLinkedObject(db);\n planWork.delete(db);\n } catch (Exception e) {\n context.getRequest().setAttribute(\"Error\", e);\n return (\"SystemError\");\n } finally {\n this.freeConnection(context, db);\n }\n return (executeCommandView(context));\n }", "title": "" }, { "docid": "fee1fb353cfcc17db85fef1859d1fde1", "score": "0.59884423", "text": "public int deletePbItem(int curr_tab, long rowID) throws Exception\n { \n int outcome=0; \n long associateID = 0;\n \n try {\n conn = initializeConn(); \n \n switch(curr_tab)\n { \n case 1: \n //check for associated BENEFITS records, and delete those first\n ps = conn.prepareStatement(\"select id from employee_benefits where pers_id=?\");\n ps.setLong(1, rowID);\n rs = ps.executeQuery();\n while(rs.next())\n associateID = rs.getLong(\"id\");\n \n if(associateID !=0)\n {\n ps.clearParameters();\n ps = conn.prepareStatement(\"delete from EMPLOYEE_BENEFITS where ID = ?\"); \n ps.setLong(1, associateID);\n outcome = ps.executeUpdate();\n }\n ps.clearParameters();\n ps = conn.prepareStatement(\"delete from PERSONAL_SERVICES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 2:\n ps = conn.prepareStatement(\"delete from EMPLOYEE_BENEFITS where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 3:\n ps = conn.prepareStatement(\"delete from CONTRACTED_SERVICES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 4:\n ps = conn.prepareStatement(\"delete from SUPP_MAT_EQUIPS where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 5:\n ps = conn.prepareStatement(\"delete from OTHER_EXPENSES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n \n case 6:\n ps = conn.prepareStatement(\"delete from TRAVEL_EXPENSES where ID = ?\"); \n ps.setLong(1, rowID);\n outcome = ps.executeUpdate();\n break;\n }\n \n } catch (Exception ex){\n System.err.println(\"error deletePbItem() \" + ex.toString());\n throw new Exception(ex.toString(), ex);\n } \n finally{\n Close(conn);\n Close(ps);\n Close(rs);\n }\n \n return outcome; \n }", "title": "" }, { "docid": "df621e10825b32de5e71d59a08fdd9df", "score": "0.5977768", "text": "public final void do_delete () throws Exception {\n\t\t\tif (evseqProducts != null) {\n\t\t\t\tdeleteEventSequenceProducts (evseqProducts, keep, eventNetwork, eventCode, isReviewed);\n\n\t\t\t\tif (cap_time != CAP_TIME_NOP && keep >= 0 && keep < evseqProducts.size()) {\n\t\t\t\t\tcapEventSequenceProduct (evseqProducts.get(keep), cap_time, eventNetwork, eventCode, isReviewed);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}", "title": "" }, { "docid": "1ac16e477047dab216094000fc6ac7a4", "score": "0.59733933", "text": "protected void deleteInStockPlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695831\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695832\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { InstockPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695833\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { InstockPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695834\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695835\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { InstockPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695836\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { InstockPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t InstockPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695837\n\t\t// Delete the inventory information.\n\t\t//#CM695838\n\t\t// Find the Stock ID of the inventory information linked to the delete target data in the receiving plan info. .\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695839\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.InstockPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695840\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.InstockPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (InStockPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695841\n\t\t\t// Delete the inventory information linked to the delete target in the receiving plan info .\n\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t}\n\n\t\t//#CM695842\n\t\t// Delete the work status.\n\t\t//#CM695843\n\t\t// Find the work status linked to the delete target data in the receiving plan info .\n\t\tSystemWorkingInformationFinder workfinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695844\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = workfinder.InstockPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695845\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = workfinder.InstockPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (InStockPlan Delete) --> WorkingInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695846\n\t\t\t// Delete the work status linked to the delete target in the receiving plan info .\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, workfinder);\n\t\t}\n\n\t\t//#CM695847\n\t\t// Delete the receiving plan info.\n\t\tInstockPlanHandler instockHandler = new InstockPlanHandler(conn);\n\t\tInstockPlanSearchKey instockSearchKey = new InstockPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695848\n\t\t\t// Delete the receiving plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695849\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \n\t\t\tinstockSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695850\n\t\t\t// Delete the receiving plan info that passed its retention period (days).\n\t\t\t//#CM695851\n\t\t\t//\t ( Status flag = Partially Completed and Planned Receiving Date <= Expiry date of retention )\n\t\t\tinstockSearchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695852\n\t\t\t// Delete the receiving plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695853\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tinstockSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695854\n\t\t\t// Delete the receiving plan info that passed its retention period (days).\n\t\t\t//#CM695855\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Receiving Date <= Expiry date of retention )\n\t\t\tinstockSearchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tinstockSearchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tinstockSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = instockHandler.count(instockSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (InStockPlan Delete) --> InStockPlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695856\n\t\t\t\t// Delete the receiving plan info.\n\t\t\t\tinstockHandler.drop(instockSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" }, { "docid": "52dbef08469540b5842db3b0f5116e00", "score": "0.5949656", "text": "@Override \n\t\t\t\t public void onClick(DialogInterface dialog,int which) {\n\t\t\t\t \tString sSql=\"\";\n\t\t\t\t \tfor(int i=lsCompTableCopy.size()-1;i>=0;i--)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif (lsCompTableCopy.get(i).get(\"CHECKFLAG\").toString().equals(\"Y\")) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tif(lsCompTableCopy.get(i).get(\"IS_P\").toString().equals(\"Y\"))\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t sSql=sSql+\" DELETE FROM PROCESS_STEP_P WHERE PRODUCTCOMPID='\"+msProductCompId+\"' AND PRODUCTORDERID='\"+msProductOrderId+\"' AND PRODUCTSERIALNUMBER='\"+lsCompTableCopy.get(i).get(\"SEQ\").toString()+\"' ;\";\n\t\t\t\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t sSql=sSql+\" DELETE FROM PROCESS_STEP_PF WHERE PRODUCTCOMPID='\"+msProductCompId+\"' AND PRODUCTORDERID='\"+msProductOrderId+\"' AND SERIALNUMBER_P='\"+lsCompTableCopy.get(i).get(\"SEQ\").toString()+\"' ;\";\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tlsCompTable.remove(i);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t String sError= db.ExecuteSQL(sSql);\n\t\t\t\t \t\t\t\n\t\t\t\t\t\t\t\tadapter.notifyDataSetChanged();\n\t\t\t\t\t\t\t\t\n\t\t\t\t }", "title": "" }, { "docid": "2e3c834d6fe49b4824637233efad5b8a", "score": "0.59003234", "text": "protected void deleteMovement(Connection conn, String delPlanDate, boolean stockPack) throws ReadWriteException\n\t{\n\t\t//#CM696007\n\t\t// Delete the relocation work status.\n\t\tMovementHandler moveHandler = new MovementHandler(conn);\n\t\tMovementSearchKey moveSearchKey = new MovementSearchKey();\n\n\t\t//#CM696008\n\t\t// Delete the data with Status flag = Completed or Deleted.\n\t\tString status[] = { Movement.STATUSFLAG_COMPLETION, Movement.STATUSFLAG_DELETE };\n\t\tmoveSearchKey.setStatusFlag(status);\n\t\ttry\n\t\t{\n\t\t\tint count = moveHandler.count(moveSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteMovement) --> Movement Delete Data Count(\" + count + \")\");\n\t\t\tif(count > 0)\n\t\t\t{\n\t\t\t\tmoveHandler.drop(moveSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\t//#CM696009\n\t\t\t// Refer to the Presence of Inventory package.\n\t\t\tif( stockPack )\n\t\t\t{\n\t\t\t\t//#CM696010\n\t\t\t\t// Presence of Inventory package\n\t\t\t\t//#CM696011\n\t\t\t\t// Clear the allocation of data, which passed the Plan data retention period (days), with Status flag = Standby Storage.\n\t\t\t\tmoveSearchKey.KeyClear();\n\t\t\t\tmoveSearchKey.setStatusFlag(Movement.STATUSFLAG_UNSTART);\n\t\t\t\tmoveSearchKey.setWorkDate(delPlanDate, \"<=\");\n\n\t\t\t\t//#CM696012\n\t\t\t\t// Check whether there is allocation of relocation work data to be cleared.\n\t\t\t\tint count = moveHandler.count(moveSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteMovement) --> Stock Allocate Clear Data Count(\" + count + \")\");\n\t\t\t\tif(count > 0)\n\t\t\t\t{\n\t\t\t\t\tStockHandler stockHandler = new StockHandler(conn);\n\t\t\t\t\tStockSearchKey stockSKey = new StockSearchKey();\n\t\t\t\t\tStockAlterKey stockAltKey = new StockAlterKey();\n\n\t\t\t\t\t//#CM696013\n\t\t\t\t\t// Here, clear the allocated inventory only. Allow the following process to delete the work status of the allocated inventory that is cleared here.\n\t\t\t\t\t//#CM696014\n\t\t\t\t\t// \n\t\t\t\t\tMovement[] mov = (Movement[]) moveHandler.find(moveSearchKey);\n\t\t\t\t\tfor( int i = 0; i < mov.length; i++ )\n\t\t\t\t\t{\n\t\t\t\t\t\tallocateCancelStock(stockHandler, stockSKey, stockAltKey, mov[i].getStockId(), mov[i].getPlanQty());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//#CM696015\n\t\t\t// Delete the data with Status flag = Standby Storage and that passes the retention period (days) of Plan data.\n\t\t\tmoveSearchKey.KeyClear();\n\t\t\tmoveSearchKey.setStatusFlag(Movement.STATUSFLAG_UNSTART);\n\t\t\tmoveSearchKey.setWorkDate(delPlanDate, \"<=\");\n\t\t\tint count = moveHandler.count(moveSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteMovement) --> Hold Date Over Movement Delete Data Count(\" + count + \")\");\n\t\t\tif(count > 0)\n\t\t\t{\n\t\t\t\tmoveHandler.drop(moveSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" }, { "docid": "c293ebefbbbb66d2e05358a7e2a82b8c", "score": "0.58244705", "text": "protected void deleteRetrievalPlanAddStock(Connection conn, boolean unWorkDelete, String workDate\n\t\t\t\t\t\t\t\t\t\t\t\t\t , String deleteDate, boolean stockPack)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695913\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695914\n\t\t// Planned Work Date <= Work Date (Completed, Deleted, or Standby)\n\t\tString[] workStatus1 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE,\n\t\t\t\t RetrievalPlan.STATUS_FLAG_UNSTART\n\t\t};\n\t\t\n\t\t//#CM695915\n\t\t// Conditions to delete the work status when selected to Delete Plan (Completed or Deleted)\n\t\tString[] workStatusAdd = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\n\t\t//#CM695916\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695917\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { RetrievalPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t RetrievalPlan.STATUS_FLAG_DELETE\n\t\t};\n\n\t\t//#CM695918\n\t\t// Data that passed the retention period (days) (Standby)\n\t\tString[][] saveStatus2 = { { RetrievalPlan.STATUS_FLAG_UNSTART, RetrievalPlan.SCH_FLAG_UNSTART }\n\t\t};\n\t\tint count = 0;\n\n\t\t//#CM695919\n\t\t// Delete the work status.\n\t\t//#CM695920\n\t\t// Find the work status linked to the delete target data in the picking plan info .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695921\n\t\t\t// Search for data with status Not Worked even after processing the schedule through the work status using a hold-over condition.\n\t\t\t//#CM695922\n\t\t\t// Do not include any data with work status \"Standby\" in the conditions for delete.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatusAdd);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695923\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.RetrievalPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Add Stock Delete) --> WorkInformation Add Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695924\n\t\t\t// Delete the work status linked to the delete target in the picking plan info. .\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695925\n\t\t// Delete the picking plan info.\n\t\tRetrievalPlanHandler retrievalHandler = new RetrievalPlanHandler(conn);\n\t\tRetrievalPlanSearchKey retrievalSearchKey = new RetrievalPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695926\n\t\t\t// Delete the picking plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695927\n\t\t\t//\t ( ( Status flag = Completed or Deleted or (Standby and with Schedule Processing flag \"Standby\")) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus1[2], \"=\", \"(\", \"\", \"and\");\n\t\t\tretrievalSearchKey.setSchFlag(RetrievalPlan.SCH_FLAG_UNSTART, \"=\", \"\", \"))\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695928\n\t\t\t// Delete the picking plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695929\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tretrievalSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695930\n\t\t\t// Delete the picking plan info that passed its retention period (days).\n\t\t\t//#CM695931\n\t\t\t//\t ( Status flag = Standby and Schedule Processing flag = Standby) and Planned Picking Date <= Expiry date of retention )\n\t\t\tretrievalSearchKey.setStatusFlag(saveStatus2[0][0], \"=\", \"((\", \"\", \"and\");\n\t\t\tretrievalSearchKey.setSchFlag(RetrievalPlan.SCH_FLAG_UNSTART, \"=\", \"\", \")\", \"and\");\n\t\t\tretrievalSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = retrievalHandler.count(retrievalSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (RetrievalPlan Add Stock Delete) --> RetrievalPlan Add Stock Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695932\n\t\t\t\t// Delete the picking plan info.\n\t\t\t\tretrievalHandler.drop(retrievalSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" }, { "docid": "5401308b263367cde46463756edff7e9", "score": "0.5749868", "text": "@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"客户要求减少一个功能...\");\n\t}", "title": "" }, { "docid": "a7fc2b76b01bb80223c4684e35a085d5", "score": "0.5712223", "text": "protected void planDelete(Connection conn, boolean unWorkDelete, String workDate, String deleteDate, boolean stockPack)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695822\n\t\t// Delete the receiving plan info.\n\t\tdeleteInStockPlan(conn, unWorkDelete, workDate, deleteDate);\n\n\t\t//#CM695823\n\t\t// Delete the Storage Plan info.\n\t\tdeleteStoragePlan(conn, unWorkDelete, workDate, deleteDate);\n\n\t\t//#CM695824\n\t\t// If Inventory package is \"Available\":\n\t\tif (stockPack)\n\t\t{\n\t\t\t//#CM695825\n\t\t\t// Delete the picking plan info.\n\t\t\tdeleteRetrievalPlanAddStock(conn, unWorkDelete, workDate, deleteDate, stockPack);\n\t\t}\n\t\t//#CM695826\n\t\t// If Inventory package is \"Not Available\":\n\t\telse\n\t\t{\n\t\t\t//#CM695827\n\t\t\t// Delete the picking plan info.\n\t\t\tdeleteRetrievalPlan(conn, unWorkDelete, workDate, deleteDate, stockPack);\n\t\t}\n\n\t\t//#CM695828\n\t\t// Delete the sorting plan info.\n\t\tdeleteSortingPlan(conn, unWorkDelete, workDate, deleteDate);\n\n\t\t//#CM695829\n\t\t// Delete the shipping plan info.\n\t\tdeleteShippingPlan(conn, unWorkDelete, workDate, deleteDate);\n\t}", "title": "" }, { "docid": "cee351007c50568f6f457989e444c4a1", "score": "0.5707608", "text": "public void deleteBudgetPeriod(){\r\n String mesg = null;\r\n int rowCount = budgetSummaryForm.tblBudgetSummary.getRowCount();\r\n CoeusVector cvfilteredLIDetails;\r\n int selectedRow = budgetSummaryForm.tblBudgetSummary.getSelectedRow();\r\n if(selectedRow < 0 ){\r\n mesg = coeusMessageResources.parseMessageKey(SELECT_BUDGET_PERIOD);\r\n CoeusOptionPane.showInfoDialog(mesg);\r\n return;\r\n }\r\n //Check if this period has Line item Details.If it has then Can't Delete.\r\n BudgetPeriodBean budgetPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(selectedRow);\r\n int budgetPeriod = budgetPeriodBean.getBudgetPeriod();\r\n try{\r\n if(rowCount==1){\r\n mesg = coeusMessageResources.parseMessageKey(CAN_NOT_DELETE_ALL_PERIODS);\r\n CoeusOptionPane.showInfoDialog(mesg);\r\n return;\r\n }\r\n //check whether the current period has any line items\r\n Equals periodEquals = new Equals(BUDGET_PERIOD, new Integer(budgetPeriod));\r\n cvfilteredLIDetails = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), BudgetDetailBean.class, periodEquals);\r\n if (cvfilteredLIDetails.size() > 0) {\r\n return ;\r\n }\r\n //check whether any of the later periods has line items\r\n GreaterThan periodGreaterThan = new GreaterThan(BUDGET_PERIOD, new Integer(budgetPeriod));\r\n cvfilteredLIDetails = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), BudgetDetailBean.class, periodGreaterThan);\r\n \r\n if (cvfilteredLIDetails.size() > 0) {\r\n CoeusOptionPane.showInfoDialog(\"Period \" +budgetPeriodBean.getBudgetPeriod()+ \" or one of the later periods have detail budget items. This period can not be deleted. \");\r\n return;\r\n }\r\n //Case #1626 Start 1\r\n deleteBudgetModularPeriod(periodEquals);\r\n //Case #1626 End 1\r\n budgetSummaryEditor.stopCellEditing();\r\n BudgetPeriodBean deletedPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(selectedRow);\r\n if(vecBudgetPeriodBean!=null && vecBudgetPeriodBean.size() > 0){\r\n deletedPeriodBean.setAcType(TypeConstants.DELETE_RECORD);\r\n queryEngine.delete(proposalId+versionNumber, deletedPeriodBean);\r\n vecBudgetPeriodBean.remove(selectedRow);\r\n budgetPeriodModel.fireTableRowsDeleted(selectedRow, selectedRow);\r\n modified = true;\r\n \r\n BeanEvent beanEvent = new BeanEvent();\r\n beanEvent.setBean(budgetPeriodBean);\r\n beanEvent.setSource(eventSource);\r\n fireBeanDeleted(beanEvent);\r\n \r\n //Case 1625 Start\r\n \r\n CoeusVector cvProjectIncome = queryEngine.getActiveData(budgetBean.getProposalNumber() + budgetBean.getVersionNumber(), ProjectIncomeBean.class, periodEquals);\r\n if(cvProjectIncome != null && cvProjectIncome.size()>0){\r\n for(int index = 0 ; index < cvProjectIncome.size(); index ++){\r\n ProjectIncomeBean deleteIncomeBean =\r\n (ProjectIncomeBean)cvProjectIncome.get(index);\r\n deleteIncomeBean.setAcType(TypeConstants.DELETE_RECORD);\r\n queryEngine.delete(proposalId+versionNumber, deleteIncomeBean);\r\n }\r\n }\r\n //Case 1625 End\r\n }\r\n // This logic is used to take n-1 period numbers in the budget period\r\n for(int index = selectedRow; index < vecBudgetPeriodBean.size(); index++) {\r\n budgetPeriodBean = (BudgetPeriodBean)vecBudgetPeriodBean.get(index);\r\n budgetPeriodBean.setBudgetPeriod(budgetPeriodBean.getBudgetPeriod() - 1);\r\n modified=true;\r\n if (budgetPeriodBean.getAcType() == null) {\r\n budgetPeriodBean.setAcType(TypeConstants.UPDATE_RECORD);\r\n queryEngine.update(proposalId+versionNumber,budgetPeriodBean);\r\n } else {\r\n queryEngine.insert(proposalId+versionNumber,budgetPeriodBean);\r\n }\r\n \r\n }\r\n budgetPeriodModel.fireTableRowsUpdated(selectedRow, vecBudgetPeriodBean.size());\r\n BeanEvent beanEvent = new BeanEvent();\r\n beanEvent.setBean(budgetPeriodBean);\r\n beanEvent.setSource(eventSource);\r\n fireBeanUpdated(beanEvent);\r\n \r\n modified = true;\r\n if(selectedRow >0){\r\n budgetSummaryForm.tblBudgetSummary.setRowSelectionInterval(\r\n selectedRow-1,selectedRow-1);\r\n budgetSummaryForm.tblBudgetSummary.setColumnSelectionInterval(1,1);\r\n if(budgetSummaryForm.tblBudgetSummary.isCellEditable(selectedRow-1, START_DATE_COLUNM)){\r\n budgetSummaryForm.tblBudgetSummary.editCellAt(selectedRow-1, START_DATE_COLUNM);\r\n budgetSummaryForm.tblBudgetSummary.getEditorComponent().requestFocusInWindow();\r\n }else{\r\n budgetSummaryForm.chkFinal.requestFocusInWindow();\r\n }\r\n budgetSummaryForm.tblBudgetSummary.scrollRectToVisible(\r\n budgetSummaryForm.tblBudgetSummary.getCellRect(selectedRow-1 ,START_DATE_COLUNM, true));\r\n \r\n \r\n }else{\r\n if(budgetSummaryForm.tblBudgetSummary.getRowCount()>0){\r\n budgetSummaryForm.tblBudgetSummary.setRowSelectionInterval(0,0);\r\n }\r\n }\r\n calculateChangedCost();\r\n }catch (CoeusException coeusException) {\r\n coeusException.getMessage();\r\n }\r\n \r\n }", "title": "" }, { "docid": "6ae0b909fe024cafbc5b6272c763ccc4", "score": "0.56982243", "text": "@Override\r\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tString sql = \"Delete from tblmstimmunizationANS where ImmunizationGUID='\"\r\n\t\t\t\t\t\t\t+ global.getImmunizationGUID() + \"'\";\r\n\t\t\t\t\tdataProvider.executeSql(sql);\r\n\t\t\t\t\tIntent i = new Intent(ImmunizationQuestionActivity.this,\r\n\t\t\t\t\t\t\tImmunizationCounselling.class);\r\n\t\t\t\t\tfinish();\r\n\t\t\t\t\tstartActivity(i);\r\n\t\t\t\t\tdialog.dismiss();\r\n\t\t\t\t}", "title": "" }, { "docid": "419ceeba79abfa201d3ed41517d7a8c1", "score": "0.5689813", "text": "@Test\n public void testNoActvPartRequirementOnInventoryOrSubInventory() throws Exception {\n DataSet lDataSet;\n\n // Passed in TRK inventory\n lDataSet = execute( new InventoryKey( \"4650:5\" ) );\n\n Assert.assertFalse( lDataSet.next() );\n }", "title": "" }, { "docid": "e35c4267c51bf8b677e9f8ab3bba4005", "score": "0.5661202", "text": "protected void deleteShippingPlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695961\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695962\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { ShippingPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695963\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { ShippingPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695964\n\t\t//Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695965\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { ShippingPlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695966\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { ShippingPlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t ShippingPlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695967\n\t\t// Delete the inventory information.\n\t\t//#CM695968\n\t\t// Find the Stock ID of the inventory information linked to the delete target data in the shipping plan info.\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695969\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.ShippingPlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695970\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.ShippingPlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (ShippingPlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695971\n\t\t\t// Delete the inventory information linked to the delete target in the shipping plan info.\n\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t}\n\n\t\t//#CM695972\n\t\t//Delete the work status.\n\t\t//#CM695973\n\t\t// Find the work status linked to the delete target data in the shipping plan info. .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695974\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = sysWorkInfoFinder.ShippingPlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695975\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.ShippingPlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (ShippingPlan Delete) --> WorkInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695976\n\t\t\t// Delete the work status linked to the delete target in the shipping plan info.\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695977\n\t\t//Delete the shipping plan info.\n\t\tShippingPlanHandler shippingHandler = new ShippingPlanHandler(conn);\n\t\tShippingPlanSearchKey shippingSearchKey = new ShippingPlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695978\n\t\t\t// Delete the shipping plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695979\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \n\t\t\tshippingSearchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695980\n\t\t\t// Delete the shipping plan info that passed its retention period (days).\n\t\t\t//#CM695981\n\t\t\t//\t ( Status flag = Partially Completed and Planned Shipping Date <= Expiry date of retention )\n\t\t\tshippingSearchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695982\n\t\t\t// Delete the shipping plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695983\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tshippingSearchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695984\n\t\t\t// Delete the shipping plan info that passed its retention period (days).\n\t\t\t//#CM695985\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Shipping Date <= Expiry date of retention )\n\t\t\tshippingSearchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tshippingSearchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tshippingSearchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = shippingHandler.count(shippingSearchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (ShippingPlan Delete) --> ShippingPlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695986\n\t\t\t\t// Delete the shipping plan info.\n\t\t\t\tshippingHandler.drop(shippingSearchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" }, { "docid": "479fb7079b00310664225e1a22a3d814", "score": "0.5635677", "text": "@Override\n\tprotected void updateRepairPlan() {\n\n\t}", "title": "" }, { "docid": "67c583879d7861f1a83672810b1519b8", "score": "0.5625741", "text": "int deleteByPrimaryKey(Integer pnPlanId);", "title": "" }, { "docid": "c5f555841413de69942833aec94519bc", "score": "0.5622557", "text": "void unsetDataQuantity();", "title": "" }, { "docid": "4c9d5492df94ad1f0d9d72e36f96eb50", "score": "0.5599789", "text": "@Override\n\tpublic void execute()\n\t{\n\t\tItemData removingItemData = DataUpdater.createItemData(this.item);\n\t\tIProduct removingProduct = this.item.getProduct();\n\t\tfor(ProductData dp: displayProducts)\n\t\t\tif(dp.getTag().equals(removingProduct))\n\t\t\t\tthis.removingProductData = dp;\n\t\tif(this.removingProductData == null)\n\t\t{\n\t\t\tthis.productDataDidNotExist = true;\n\t\t\tthis.removingProductData =\n\t\t\t\t\tDataUpdater.createProductData(removingProduct);\n\t\t\tremovingProductData.setCount(\"1\");\n\t\t\tdisplayProducts.add(removingProductData);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint count = Integer.parseInt(this.removingProductData.getCount());\n\t\t\tcount++;\n\t\t\tthis.removingProductData.setCount(\"\" + count);\n\t\t}\n\t\taddItems(removingProductData, removingItemData);\n\n\t\tif(this.target.ableToRemoveItem(this.item))\n\t\t\tthis.target.removeItem(this.item);\n\t}", "title": "" }, { "docid": "56d71525b3714359c988d822f7dc272c", "score": "0.55937034", "text": "public void deProvision() {\n log.info(\"Resource DeProvisioning started at: \" + new Date());\n dbOperations = new DBOperations();\n // 1. query from table to see resource map. (resource_type,List(resource_name) , ec2->List(i-123) )\n Map<String,List<String>> resourceMap = dbOperations.getResourcesFromDb();\n\n resourceMap.entrySet().forEach(entry -> {\n //String resourcName = entry.getKey();\n List<String> resourcesName = entry.getValue();\n // 2. Deprovision sequentially.\n Resource resource = new ResourceFactory().createResource(entry.getKey());\n resource.deProvisionResource(entry.getValue());\n log.info(\"DeProvisioning \"+entry.getKey() + \" \" + entry.getValue());\n\n // 3. update state of resource in DB, with resource deporvisioned\n try {\n dbOperations.updateStateInDB(resourcesName,\"deprovisioned\");\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n });\n dbOperations.closeDbConnection();\n\n log.info(\"Resource DeProvisioning finished at: \" + new Date());\n }", "title": "" }, { "docid": "708ca2a5798d3deba569853ca38a2d96", "score": "0.5569595", "text": "@Test\n public void testNoPartRequirementOnInventoryOrSubInventory() throws Exception {\n DataSet lDataSet;\n\n // Passed in TRK inventory\n lDataSet = execute( new InventoryKey( \"4650:1\" ) );\n Assert.assertFalse( lDataSet.next() );\n }", "title": "" }, { "docid": "21c719afca3b9f732fb805fcd94167b0", "score": "0.55612355", "text": "protected void deleteStoragePlan(Connection conn, boolean unWorkDelete, String workDate, String deleteDate)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\t//#CM695858\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are included.\n\t\t//#CM695859\n\t\t// Planned Work Date <= Work Date (Completed, Standby, or Deleted)\n\t\tString[] workStatus1 = { StoragePlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695860\n\t\t// Data that passed the retention period (days) (Partially Completed)\n\t\tString[] saveStatus1 = { StoragePlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\t//#CM695861\n\t\t// Requirements for status flags to be deleted if the data with status Not Worked are held over.\n\t\t//#CM695862\n\t\t// Planned Work Date <= Work Date (Completed or Deleted)\n\t\tString[] workStatus2 = { StoragePlan.STATUS_FLAG_COMPLETION,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_DELETE\n\t\t};\n\t\t//#CM695863\n\t\t// Data that passed the retention period (days) (Standby, Partially Completed)\n\t\tString[] saveStatus2 = { StoragePlan.STATUS_FLAG_UNSTART,\n\t\t\t\t\t\t\t\t StoragePlan.STATUS_FLAG_COMPLETE_IN_PART\n\t\t};\n\n\t\tint count = 0;\n\n\t\t//#CM695864\n\t\t// Delete the inventory information.\n\t\t//#CM695865\n\t\t// Find the Stock ID of the inventory information linked to the delete target in the Storage Plan info. .\n\t\tSystemStockFinder systemStockFinder = new SystemStockFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695866\n\t\t\t// Search for the data through the inventory information including data with status Not Worked in conditions.\n\t\t\tcount = systemStockFinder.StoragePlanStockIdSearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695867\n\t\t\t// Search for the Inventory information using a condition to hold over the data with status Not Worked.\n\t\t\tcount = systemStockFinder.StoragePlanStockIdSearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (StoragePlan Delete) --> Stock Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695868\n\t\t\t// Delete the inventory information linked to the delete target in the Storage Plan info. .\n\t\t\tdeleteStock_StockId(conn, systemStockFinder);\n\t\t}\n\n\t\t//#CM695869\n\t\t// Delete the work status.\n\t\t//#CM695870\n\t\t// Find the work status linked to the delete target in the Storage Plan info .\n\t\tSystemWorkingInformationFinder sysWorkInfoFinder = new SystemWorkingInformationFinder(conn);\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695871\n\t\t\t// Search for the data through the Work status including data with status Not Worked in conditions.\n\t\t\tcount = sysWorkInfoFinder.StoragePlanUkeySearch(workDate, workStatus1, deleteDate, saveStatus1);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695872\n\t\t\t// Search for the Work status. using a condition to hold over the data with status Not Worked.\n\t\t\tcount = sysWorkInfoFinder.StoragePlanUkeySearch(workDate, workStatus2, deleteDate, saveStatus2);\n\t\t}\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (StoragePlan Delete) --> WorkInformation Delete Data Count(\" + count + \")\");\n\t\tif( count > 0 )\n\t\t{\n\t\t\t//#CM695873\n\t\t\t// Delete the Work status linked to the Storage plan info subject to delete.\n\t\t\tdeleteWorkingInformation_PlanUkey(conn, sysWorkInfoFinder);\n\t\t}\n\n\t\t//#CM695874\n\t\t// Delete the Storage Plan info.\n\t\tStoragePlanHandler storageHandler = new StoragePlanHandler(conn);\n\t\tStoragePlanSearchKey storageSerchKey = new StoragePlanSearchKey();\n\n\t\tif( unWorkDelete )\n\t\t{\n\t\t\t//#CM695875\n\t\t\t// Delete the Storage Plan info including data with status Not Worked in conditions.\n\t\t\t//#CM695876\n\t\t\t//\t ( ( Status flag = Standby or Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table) \n\t\t\tstorageSerchKey.setStatusFlag(workStatus1[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(workStatus1[1], \"=\", \"\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(workStatus1[2], \"=\", \"\", \")\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695877\n\t\t\t// Delete the Storage Plan info that exceeds retention period (days).\n\t\t\t//#CM695878\n\t\t\t//\t ( Status flag = Partially Completed and Planned Storage Date <= Expiry date of retention )\n\t\t\tstorageSerchKey.setStatusFlag(saveStatus1[0], \"=\", \"(\", \"\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//#CM695879\n\t\t\t// Delete the Storage Plan info using a condition to hold over the data with status Not Worked.\n\t\t\t//#CM695880\n\t\t\t//\t ( ( Status flag = Completed or Deleted ) and Planned Date <= Work Date of WareNavi System table)\n\t\t\tstorageSerchKey.setStatusFlag(workStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(workStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(workDate, \"<=\", \"\", \")\", \"or\");\n\n\t\t\t//#CM695881\n\t\t\t// Delete the Storage Plan info that exceeds retention period (days).\n\t\t\t//#CM695882\n\t\t\t//\t ( ( Status flag = Standby or Partially Completed ) and Planned Storage Date <= Expiry date of retention )\n\t\t\tstorageSerchKey.setStatusFlag(saveStatus2[0], \"=\", \"((\", \"\", \"or\");\n\t\t\tstorageSerchKey.setStatusFlag(saveStatus2[1], \"=\", \"\", \")\", \"and\");\n\t\t\tstorageSerchKey.setPlanDate(deleteDate, \"<=\", \"\", \")\", \"or\");\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\tcount = storageHandler.count(storageSerchKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (StoragePlan Delete) --> StoragePlan Delete Data Count(\" + count + \")\");\n\t\t\tif (count > 0)\n\t\t\t{\n\t\t\t\t//#CM695883\n\t\t\t\t// Delete the Storage Plan info.\n\t\t\t\tstorageHandler.drop(storageSerchKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" }, { "docid": "7c515ea215af526f7efe3312f7a58875", "score": "0.555924", "text": "public static String _del_quest() throws Exception{\nmostCurrent._imageview1.setVisible(anywheresoftware.b4a.keywords.Common.True);\n //BA.debugLineNum = 486;BA.debugLine=\"dpm1.Visible=False\";\nmostCurrent._dpm1.setVisible(anywheresoftware.b4a.keywords.Common.False);\n //BA.debugLineNum = 488;BA.debugLine=\"ImageView1.Bitmap=LoadBitmap(File.DirAssets,\\\"Acce\";\nmostCurrent._imageview1.setBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),\"Accept128.png\").getObject()));\n //BA.debugLineNum = 489;BA.debugLine=\"Label1.Text= \\\"clear RAM and close..\\\"\";\nmostCurrent._label1.setText(BA.ObjectToCharSequence(\"clear RAM and close..\"));\n //BA.debugLineNum = 491;BA.debugLine=\"real_delete\";\n_real_delete();\n //BA.debugLineNum = 492;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "a6ba9282fcd4f9e6bbfdb385ff95a9e3", "score": "0.5557871", "text": "public void deletePR( EAIMMCtxtIfc theCtxt) throws EAIException {\r\n\r\n super.deletePR( theCtxt);\r\n\r\n \r\n\r\n \r\n // When deleting unlink related SuperModule\r\n setSuperModule( theCtxt, null);\r\n\r\n\r\n // When deleting : delete related SubModules\r\n com.dosmil_e.m3.core.ifc.M3ModuleIfc[] someSubModules = getSubModules( theCtxt);\r\n if( someSubModules != null) {\r\n int aSubModulesLength = someSubModules.length;\r\n for( int anIndex = 0 ; anIndex < aSubModulesLength ; anIndex++) {\r\n com.dosmil_e.m3.core.ifc.M3ModuleIfc aSubModules = someSubModules[ anIndex];\r\n if( aSubModules != null) {\r\n com.dosmil_e.m3.core.impl.M3ModuleImpl aSubModulesImpl = null;\r\n try { aSubModulesImpl = (com.dosmil_e.m3.core.impl.M3ModuleImpl) aSubModules;} catch( ClassCastException anEx) {}\r\n if( aSubModulesImpl != null) {\r\n aSubModulesImpl.delete( theCtxt);\r\n }\r\n }\r\n }\r\n }\r\n \r\n\r\n // When deleting : delete related Types\r\n com.dosmil_e.m3.core.ifc.M3TypeIfc[] someTypes = getTypes( theCtxt);\r\n if( someTypes != null) {\r\n int aTypesLength = someTypes.length;\r\n for( int anIndex = 0 ; anIndex < aTypesLength ; anIndex++) {\r\n com.dosmil_e.m3.core.ifc.M3TypeIfc aTypes = someTypes[ anIndex];\r\n if( aTypes != null) {\r\n com.dosmil_e.m3.core.impl.M3TypeImpl aTypesImpl = null;\r\n try { aTypesImpl = (com.dosmil_e.m3.core.impl.M3TypeImpl) aTypes;} catch( ClassCastException anEx) {}\r\n if( aTypesImpl != null) {\r\n aTypesImpl.delete( theCtxt);\r\n }\r\n }\r\n }\r\n }\r\n \r\n\r\n\r\n }", "title": "" }, { "docid": "2006dbca6686313e9833134be286c1d8", "score": "0.55556613", "text": "String deleteProcessesCasesDialogbox();", "title": "" }, { "docid": "32c940fc7e6afe71b7a4c31383d787f6", "score": "0.55526125", "text": "@Override\n public void delete() {\n String sqlStmnt = String.format(\n \"DELETE FROM `labour_costs` \" +\n \"WHERE 'company_id' = '%s';\",\n companyID\n );\n DB.delete(TABLE, sqlStmnt);\n }", "title": "" }, { "docid": "9a3872bbd8b8bbde5a72f8085a60e2b9", "score": "0.5543518", "text": "private static void deleteCancelledOrders() {\n\t try{\n\t String validateOrder = \"\";\n\t System.out.println(\"[INPUT] Are you sure you want to delete all cancelled orders? [Ex: yes/no]\");\n\t validateOrder = keyboard.readLine();\n\t \n\t if(validateOrder.equals(\"yes\")){\n\t Statement DelStmt= conn.createStatement();\n\t String DeleteRecord = \" DELETE FROM Orders WHERE ordStatus = 'cancelled' \";\n\t DelStmt.executeUpdate(DeleteRecord);\n\t System.out.println(\"[RESULT] Record(s) deleted\");\n\t System.out.println();\n\t }\n\t else{\n\t System.out.println(\"[RESULT] Going to main menu..\");\n\t System.out.println();\n\t }\n\t \n\t }\n\t catch (Exception e){\n\t System.out.println();\n\t printException(\"Exception\",e.toString());\n\t }\n\t }", "title": "" }, { "docid": "8a1d164699f2945da514b56588ff2d0d", "score": "0.5532145", "text": "public void deletePghs194a300() {\n sqlSttmt = \"DELETE FROM VWSDGHPS20001_MOVEXGDEP \" +\n \" WHERE \" +\n \"C_PAIS_ISOA_CONT = :cPaisIsoaCont AND C_BANC_CONT = :cBancCont AND \" +\n \"C_OE_EGC_CONT = :cOeEgcCont AND \" +\n \"NS_RDCL_CONT = :nsRdclCont AND \" +\n \"V_CHKD_CONT = :vChkdCont AND \" +\n \"C_TIPO_CONT = :cTipoCont AND \" +\n \"C_MOED_ISO_SCTA = :cMoedIsoScta AND \" +\n \"NS_DEPOSITO = :nsDeposito AND \" +\n \"NS_MOVIMENTO = :nsMovimento AND \" +\n \"C_EST_EXTS_GAR_DEP = :cEstExtsGarDep\" ;\n setQueryStatement(sqlSttmt) ;\n setQueryArgument( \"cPaisIsoaCont\", movexgdep().cPaisIsoaCont() ) ;\n setQueryArgument( \"cBancCont\", movexgdep().cBancCont() ) ;\n setQueryArgument( \"cOeEgcCont\", movexgdep().cOeEgcCont() ) ;\n setQueryArgument( \"nsRdclCont\", movexgdep().nsRdclCont() ) ;\n setQueryArgument( \"vChkdCont\", movexgdep().vChkdCont() ) ;\n setQueryArgument( \"cTipoCont\", movexgdep().cTipoCont() ) ;\n setQueryArgument( \"cMoedIsoScta\", movexgdep().cMoedIsoScta() ) ;\n setQueryArgument( \"nsDeposito\", movexgdep().nsDeposito() ) ;\n setQueryArgument( \"nsMovimento\", movexgdep().nsMovimento() ) ;\n setQueryArgument( \"cEstExtsGarDep\", movexgdep().cEstExtsGarDep() ) ;\n executeUpdate() ;\n }", "title": "" }, { "docid": "d0261119f80aa9851e1a54b789e145aa", "score": "0.5528809", "text": "@Override\r\npublic void delete(int pid) {\r\n\t\r\n\ttry {\r\n\t\tConnectionManager cm = new ConnectionManager();\r\n\t\tConnection con = cm.getConnection();\r\n\t\tString sql = \"DELETE FROM productsinStore WHERE pid=?\";\r\n\t\tPreparedStatement ps = con.prepareStatement(sql);\r\n\t\tps.setInt(1, pid);\r\n\t\tint status = ps.executeUpdate();\r\n//\t\t\r\n\tif(status > 0) {\r\n\t\t\tSystem.out.println(\"**********************PRODUCT DELETED SUCCESSFULLY****************************\");\r\n\t\t\tcon.close();\r\n\t\t}else {\r\n\t\t\tSystem.out.println(\"**********************PRODUCT DOES NOT EXSIST**********************************\");\r\n\t\t\tcon.close();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}catch (Exception e) \r\n\t{\r\n\t\te.printStackTrace();\r\n\t}\r\n\t\r\n}", "title": "" }, { "docid": "4e9f24a24e70b8aaae63f572a0c45f86", "score": "0.5527977", "text": "public void deleteOrderQuantity() {\r\n/* 121 */ this._has_orderQuantity = false;\r\n/* */ }", "title": "" }, { "docid": "f47b29183459232c5e032045db2c80ae", "score": "0.55261844", "text": "private static void deleteIncompleteOrders() {\n\t try{\n\t String validateOrder = \"\";\n\t System.out.println(\"[INPUT] Are you sure you want to delete all incomplete orders? [Ex: yes/no]\");\n\t validateOrder = keyboard.readLine();\n\t \n\t if(validateOrder.equals(\"yes\")){\n\t Statement DelStmt= conn.createStatement();\n\t String DeleteRecord = \" DELETE FROM Orders WHERE ordStatus = 'incomplete' \";\n\t DelStmt.executeUpdate(DeleteRecord);\n\t System.out.println(\"[RESULT] Record(s) deleted\");\n\t System.out.println();\n\t }\n\t else{\n\t System.out.println(\"[RESULT] Going to main menu..\");\n\t System.out.println();\n\t }\n\t \n\t }\n\t catch (Exception e){\n\t System.out.println();\n\t printException(\"Exception\",e.toString());\n\t }\n\t }", "title": "" }, { "docid": "820cd82bcb4ab08b018deebca2f05962", "score": "0.54908943", "text": "public void deleteOrder() throws Exception{\n int order_id = newView.askId();\n try{\n Ordercl toDelete = newConn.readOrder(order_id);\n newConn.deleteOrder(toDelete);\n System.out.println(\"Delete ok\");}\n catch(Exception e){\n System.out.println(e.getMessage());\n deleteOrder();\n }\n }", "title": "" }, { "docid": "9887c8e8f66cc6309f535f536296825a", "score": "0.54763585", "text": "public abstract void cleanPackage(long packid) throws DboxException;", "title": "" }, { "docid": "1e118daf885dcdd1c5ce6264cb0edcc5", "score": "0.54663223", "text": "public synchronized void delete(){\n \tsvsCommands.append(SVSCommands.delete(getIdString()));\n }", "title": "" }, { "docid": "4586467881c3739f9383ba5949b1b7a5", "score": "0.54618204", "text": "public void DeleteHodAuditplan_schedule_memo()throws InterruptedException, IOException\n\t{\n\t\ttry{\n\t\t\tmCreateArtefactsFolder(\"ADT_\");\n\t\t\tmOpenBrowser(mGetPropertyFromFile(\"browserName\"));\n\t\t\tmGetURL(mGetPropertyFromFile(\"url\"));\n\t\t\tselectUlb();\n\t\t\tdepartmentLogin(mGetPropertyFromFile(\"adt_AsgnHODName\"),mGetPropertyFromFile(\"adt_AsgnHodPassword\"));\n\t\t\tdelHodAuditplan_schedule_memo();\n\t\t\tlogOut();\n\t\t\tfinalLogOut();\n\t\t\tmCloseBrowser();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\t\t\t\n\t\t\tthrow new MainetCustomExceptions(\"Error in DeleteHodAuditplan_schedule_memo method\");\n\t\t}\n\t}", "title": "" }, { "docid": "87f16c899f6d6000deac588dffaf94bf", "score": "0.5461699", "text": "public static void Query18( Travel4u esql ) {\n\n\t\ttry {\n\t\t\tString query = \"DELETE FROM trip_package WHERE packageid = \";\n\t\t\tSystem.out.print(\"Enter Package ID: \");\n\t\t\tString input = in.readLine();\n\t\t\tquery += input;\n\t\t\t\n\t\t\tesql.executeUpdate( query );\n\t\t}\n\t\tcatch( Exception e ) {\n\t\t\tSystem.err.println( e.getMessage() );\n\t\t}\n\t}", "title": "" }, { "docid": "ce6326d3dad391cf67e26319c80494f3", "score": "0.5456103", "text": "public void execute()\n \t{\n \t\tfinal Object[] args = {_sqlDriver.getName()};\n \t\tfinal DataCache cache = _app.getDataCache();\n \t\tIterator it = cache.getAliasesForDriver(_sqlDriver);\n \t\tif (it.hasNext())\n \t\t{\n\t\t\tDialogs.showOk(_frame, s_stringMgr.getString(\"DeleteDriverCommand.used\", args));\n \t\t}\n \t\telse\n \t\t{\n \t\t\tif (Dialogs.showYesNo(_frame, s_stringMgr.getString(\"DeleteDriverCommand.comfirm\", args)))\n \t\t\t{\n \t\t\t\tcache.removeDriver(_sqlDriver);\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "4a9beaf8497f20d14155158b44bf50dc", "score": "0.54522675", "text": "public void unplan(){\n isPlanned = false;\n }", "title": "" }, { "docid": "af56e706b9ea18e0be026746a1b64b9a", "score": "0.5450617", "text": "private void doDelete(VOPackage vo) {\n\n\t}", "title": "" }, { "docid": "c92d5c1476d5aabd1cc2c238e39b4fd8", "score": "0.54491115", "text": "protected void deleteWorkingInformation_PlanUkey(Connection conn, SystemWorkingInformationFinder vfinder)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException\n\t{\n\t\ttry\n\t\t{\n\t\t\tSystemWorkingInformationHandler sysWorkInfoHandler = new SystemWorkingInformationHandler(conn);\n\n\t\t\twhile (vfinder.isNext())\n\t\t\t{\n\t\t\t\t//#CM695991\n\t\t\t\t// Obtain every 100 the search results.\n\t\t\t\tString[] planUkey = vfinder.getPlanUkeyArray(100);\n\t\t\t\tif( planUkey.length > 0 )\n\t\t\t\t{\n\t\t\t\t\t//#CM695992\n\t\t\t\t\t// Delete the work status using the obtained plan unique key.\n\t\t\t\t\tsysWorkInfoHandler.dropWorkInfo_MultiPlanUkey(planUkey);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t\tthrow new ReadWriteException(e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "be3dd2cdceedbb9656480c1f6b015bb0", "score": "0.54416853", "text": "public static void RemoveAbusePa() throws Exception {\n\t\tAPP_LOGGER.startFunction(\"RemovePAAbuse\");\n\t\tString retval = Globals.KEYWORD_FAIL;\n\t\tString tempRetval=Globals.KEYWORD_FAIL;\n\t\tint timeOutinSeconds=20;\n\t\ttry {\n\t\t\t\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressState\", \"Florida\");\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressZipCode\", \"32007\");\n\t sc.clickWhenElementIsClickable(\"invitationStep4_back_btn\",timeOutinSeconds);\n\t \tretval= ClientFacingApp.invitationOrderStep1();\n\t \tGlobals.testSuiteXLS.setCellData_inTestData(\"PositionProducts\", \"L1\");\n\t\t\tretval= ClientFacingApp.invitationOrderStep2();\n\t\t\tretval= ClientFacingApp.invitationOrderStep3();\n\t\t\ttempRetval=sc.waitforElementToDisplay(\"invitationStep4_infoCorrect_chk\", 60);\n\t\t\tsc.clickWhenElementIsClickable(\"invitationStep4_infoCorrect_chk\",timeOutinSeconds);\n\t\t\tsc.clickWhenElementIsClickable(\"invitationStep4_fastPassNo_chk\", timeOutinSeconds);\n\t\t\tverifyPricingStep4();\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressState\", \"Pennsylvania\");\n\t\t\tGlobals.testSuiteXLS.setCellData_inTestData(\"AddressZipCode\", \"15001\");\n\t \tGlobals.testSuiteXLS.setCellData_inTestData(\"PositionProducts\", \"L1-ABUSE\");\n\t \t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"Method-CreateInvitationOrder | Unable to create Invitation Order | Exception - \"+ e.toString());\n\t\t\tretval = Globals.KEYWORD_FAIL;\n\t\t\tthrow e;\n\t\t}\n\t}", "title": "" }, { "docid": "9ba746f5513e658c5cb997b6b9ec1e71", "score": "0.5439075", "text": "public void drop_stockTemp(){\n \n try {\n Statement con = dbConnection.db().createStatement();\n con.executeUpdate(\"DROP TABLE stock_temp\" );\n } catch (Exception ex) {\n Logger.getLogger(mainWindow.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n \n }", "title": "" }, { "docid": "6f5536d53ec5d72c71a8fd323ada0d6d", "score": "0.54266983", "text": "public void delHodAuditplan_schedule_memo() {\n\n\t\ttry{\n\t\t\t/*\t\t\t\t\n\t\t\t\t// to delete audit memo\t\t\t\t\n\t\t\t\t//navigate audit memo Link \n\n\t\t\t\tif(mGetPropertyFromFile(\"adt_deleteAuditMemo\").equalsIgnoreCase(\"yes\"))\n\t\t\t{\t\n\t\t\t\tmNavigation((\"adt_AmAuditLinkid\"),(\"adt_AmTransactionsLinkid\"),(\"adt_AmAuditMemoLinkid\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//Searching Audit Application\n\t\t\t\tmWaitForVisible(\"css\",mGetPropertyFromFile(\"adt_AmSearchAuditNoIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_AmSearchAuditNoIconid\"));\n\n\t\t\t\t//Sending application Number\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_AmSearchAuditByTextid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//\t\t\tmSendKeys(\"id\",mGetPropertyFromFile(\"adt_AmSearchAuditByTextid\"), auditNumber);\n\t\t\t\tIndOrDep(\"id\", \"adt_AmSearchAuditByTextid\", \"applicationNo\");\n\n\t\t\t\tmTab(\"id\",mGetPropertyFromFile(\"adt_AmSearchAuditByTextid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//fancy search button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_AmSearchAuditAtFancyBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_AmSearchAuditAtFancyBtnid\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//View Details Img Link\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_AmViewDetailsImgid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_AmViewDetailsImgid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t// to delete Audit Memo list \n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_AmDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_AmDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_AmDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_AmDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_AmDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString FancyMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_AmAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(FancyMsg);\n\t\t\t\tmAssert(FancyMsg, mGetPropertyFromFile(\"adt_AmAfterDelAssertMsgdata\"),\"Actual :\"+FancyMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_AmAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_AmDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t// final submit button\n\t\t\t\tmWaitForVisible(\"xpath\",mGetPropertyFromFile(\"adt_AmAuditMemoAppSubBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_AmAuditMemoAppSubBtnid\"));\n\n\t\t\t\t// Proceed Button\n\t\t\t\tmWaitForVisible(\"id\",mGetPropertyFromFile(\"adt_AmAuditMemoAppProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString msgAtAuditMemoFinlSub = mGetText(\"css\",mGetPropertyFromFile(\"adt_AmAuditMemoProcdAssertMsgid\"));\n\t\t\t\tmAssert(msgAtAuditMemoFinlSub,mGetPropertyFromFile(\"adt_AmAuditMemoProcdAssertMsgdata\"),\" Actual :\"+ msgAtAuditMemoFinlSub+ \" Expected :\"+ mGetPropertyFromFile(\"adt_AmAuditMemoProcdAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(msgAtAuditMemoFinlSub);\n\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_AmAuditMemoAppProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmWaitForVisible(\"linkText\", mGetPropertyFromFile(\"logoutid\"));\n\t\t\t}\t\n\n\n\t\t\t\t// to delete Schedule audit \n\t\t\t\t// navigate Schedule Audit Link\n\n\n\t\t\t\tif(mGetPropertyFromFile(\"adt_DeleteAuditSchedule\").equalsIgnoreCase(\"yes\"))\n\t\t\t{\t\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_SaAuditScheduleLinkid\"));\n\n\t\t\t\t//Search Audit Number\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_SaAutoTxtSearchAppid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\t//\t\t\tmSelectDropDown(\"id\", mGetPropertyFromFile(\"adt_SaAutoTxtSearchAppid\"), auditNumber);\n\t\t\t\tIndOrDep(\"id\", \"adt_SaAutoTxtSearchAppid\", \"applicationNo\");\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Search Button\n\t\t\t\tmWaitForVisible(\"linkText\", mGetPropertyFromFile(\"adt_SaSearchAppBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_SaSearchAppBtnid\"));\n\n\t\t\t\t//View Details\n\t\t\t\t//\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\t//\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_SaViewAppImgid\"));\n\n\t\t\t\t//getting text\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_SaNoAtScheduleAuditid\"));\n\t\t\t\tmCustomWait(1000);\n\n\n\n\t\t\t\t// to delete Audit Schedule Details \n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_SaDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_SaDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_SaDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString FanMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_SaAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(FanMsg);\n\t\t\t\tmAssert(FanMsg, mGetPropertyFromFile(\"adt_SaAfterDelAssertMsgdata\"),\"Actual :\"+FanMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_SaAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_SaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Final submit button\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_SaAuditorSchedleAftrSubInputBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_SaAuditorSchedleAftrSubInputBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Proceed button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_SaAuditorSchdleProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString msgAtFinlSubBtn = mGetText(\"css\", mGetPropertyFromFile(\"adt_SaSchdlePlnFinalSubAssertid\"));\n\t\t\t\tmAssert(msgAtFinlSubBtn, mGetPropertyFromFile(\"adt_SaSchdlePlnFinalSubAssertdata\"), \" Actual :\"+msgAtFinlSubBtn+\" Expected :\"+ mGetPropertyFromFile(\"adt_SaSchdlePlnFinalSubAssertdata\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_SaAuditorSchdleProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(msgAtFinlSubBtn);\n\t\t\t\tmTakeScreenShot();\n mWaitForVisible(\"linkText\", mGetPropertyFromFile(\"logoutid\"));\n\t\t\t}\t\n\t\t\t */ \n\n\n\n\n\t\t\t// to delete audit plan\n\t\t\t// navigate Audit plan Link\n\n\t\t\tif(mGetPropertyFromFile(\"adt_DeleteAuditPlan\").equalsIgnoreCase(\"yes\"))\n\t\t\t{ \n\t\t\t\tmNavigation((\"adt_PaAuditLinkid\"),(\"adt_PaTransactionLinkid\"),(\"adt_PaAuditPlanLinkid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//to delete Audit Plan Details \n\n\t\t\t\tIndOrDep(\"id\", \"adt_PaAuditNoSearchid\", \"applicationNo\");\n\t\t\t\t//\t\t\t\tmSelectDropDown(\"id\", mGetPropertyFromFile(\"adt_PaAuditNoSearchid\"), mGetPropertyFromFile(\"adt_PaAuditNoSearchdata\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_PaSearchBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString FaMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tSystem.out.println(FaMsg);\n\t\t\t\tmAssert(FaMsg, mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"),\"Actual :\"+FaMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1000);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Final submit button\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Proceed button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(2000);\n\t\t\t\tmTakeScreenShot();\t\t\n\t\t\t\tmWaitForVisible(\"linkText\", mGetPropertyFromFile(\"logoutid\"));\n\t\t\t}\t\n\n\n\t\t\t/* \t\t\t\t\n\t\t\t\t// to delete assign HOD \n\t\t\t\t// navigate assign HOD Link\n\n\t\t\t\tif(mGetPropertyFromFile(\"adt_deleteAssignHod\").equalsIgnoreCase(\"yes\"))\n\t\t\t{\n mNavigation((\"ADT_MasterLinkid\"),(\"ADT_AssignHODLinkid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\t//to delete Assign Hod \n\n\t\t\t\tmSelectDropDown(\"id\", mGetPropertyFromFile(\"adt_PaAuditNoSearchid\"), mGetPropertyFromFile(\"adt_PaAuditNoSearchdata\"));\n\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"linkText\", mGetPropertyFromFile(\"adt_PaSearchBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaViewDetailsIconid\"));\n\n\t\t\t\tmWaitForVisible(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"xpath\", mGetPropertyFromFile(\"adt_PaDeleteIconid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaDeleteBtnid\"));\n\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1000);\n\n\t\t\t\tString delMsg = mGetText(\"css\", mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgid\"));\n\t\t\t\tmTakeScreenShot();\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tSystem.out.println(delMsg);\n\t\t\t\tmAssert(delMsg, mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"),\"Actual :\"+delMsg+\" Expected :\"+mGetPropertyFromFile(\"adt_PaAfterDelAssertMsgdata\"));\n\t\t\t\tmCustomWait(1500);\t\n\t\t\t\tmClick(\"css\",mGetPropertyFromFile(\"adt_PaDeletePopUpBoxid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Final submit button\n\t\t\t\tmWaitForVisible(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmClick(\"css\", mGetPropertyFromFile(\"adt_PaFinalSubBtnid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmTakeScreenShot();\n\n\t\t\t\t//Proceed button\n\t\t\t\tmWaitForVisible(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(1500);\n\t\t\t\tmClick(\"id\", mGetPropertyFromFile(\"adt_PaPlanAuditProcdBtnid\"));\n\t\t\t\tmCustomWait(2000);\n\t\t\t\tmTakeScreenShot();\t\t\n\t\t\t}\n\t\t\t */\t\t\t\n\t\t}\n\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tthrow new MainetCustomExceptions(\"Error in DelHodAuditplan_schedule_memo script\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "ff5a174f2e0077feab45bf36af26f139", "score": "0.5423145", "text": "void deleteBuildPlan(String buildPlanId);", "title": "" }, { "docid": "ee37f910f9c3d3dacee325de3a45739b", "score": "0.54191756", "text": "public void performDeleteUnit(boolean nomsg){\r\n int selectedRow = keyPersonForm.tblInvestigator.getSelectedRow();\r\n /* delete the selected unit information from table as well as from\r\n the vector which consists of all unit details for a particular\r\n investigator */\r\n CoeusVector deletedUnits = null;\r\n if(selectedRow != -1){\r\n KeyPersonBean keyPrsnBean = keyPersonTableModel.getKeyPersonBean(selectedRow);\r\n String personId=\"\";\r\n if( keyPrsnBean != null ){\r\n personId = keyPrsnBean.getPersonId();\r\n }\r\n int selectedUnitRow = keyPersonForm.tblUnits.getSelectedRow();\r\n if( selectedUnitRow != -1 ){\r\n String unitNo = \"\";\r\n KeyPersonUnitBean unitBean = unitTableModel.getUnitBean(selectedUnitRow);\r\n if( unitBean != null ) {\r\n unitNo = unitBean.getUnitNumber();\r\n }\r\n if(unitNo != null && unitNo.trim().length()>0){\r\n int selectedOption;\r\n if(nomsg){\r\n selectedOption = showDeleteConfirmMessage(\"Are you sure you want\"\r\n +\" to remove \"+unitNo+\" ?\");}\r\n else{selectedOption=JOptionPane.YES_OPTION;}\r\n \r\n if( selectedOption == JOptionPane.YES_OPTION ){\r\n //Added for COEUSQA-2037 : Software allows you to delete an investigator who is assigned credit in the credit split window\r\n //When there is only one unit for the investigator exists,\r\n //removes the unit without check the credit split\r\n //When multiple unit exists, Checks for the unit credit split information,\r\n //until split set to '0' won't allow to delete the unit\r\n int unitAvailCount=keyPersonForm.tblUnits.getRowCount();\r\n if(unitAvailCount >= 1){\r\n// int selectedOpt = CoeusOptionPane.showQuestionDialog(\r\n// coeusMessageResources.parseMessageKey(CREDIT_SPLIT_EXISTS_FOR_INV_UNIT) ,\r\n// CoeusOptionPane.OPTION_YES_NO,\r\n// CoeusOptionPane.DEFAULT_YES);\r\n// if(selectedOpt == JOptionPane.YES_OPTION){\r\n// if(isDataChanged()){\r\n// MessageFormat formatter = new MessageFormat(\"\");\r\n// String message = formatter.format(\r\n// coeusMessageResources.parseMessageKey(SAVE_BEFORE_OPEN_CREDIT_SPILT),\r\n// this.moduleText);\r\n// CoeusOptionPane.showInfoDialog(message);\r\n// }else{\r\n// performCreditSplitAction();\r\n// }\r\n \r\n \r\n KeyPersonUnitBean personUnitBean = null;\r\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\r\n CoeusVector delUnits = invUnits.filter( new Equals(\"unitNumber\",unitNo));\r\n invUnits.remove(selectedUnitRow);\r\n unitTableModel.setData(invUnits);\r\n keyPrsnBean.setKeyPersonsUnits(invUnits);\r\n String invAcType = keyPrsnBean.getAcType();\r\n if( null == invAcType ) {\r\n keyPrsnBean.setAcType(UPDATE_RECORD);\r\n }\r\n\r\n cvKeypersons.set(selectedRow,keyPrsnBean);\r\n unitTableModel.fireTableDataChanged();\r\n keyPersonTableModel.setData(cvKeypersons);\r\n keyPersonTableModel.fireTableDataChanged();\r\n keyPersonForm.tblInvestigator.setRowSelectionInterval(\r\n selectedRow, selectedRow);\r\n if( delUnits != null && delUnits.size() > 0) {\r\n int delSize = delUnits.size();\r\n deletedUnits = (CoeusVector)hmDeletedUnits.get(personId);\r\n if( null == deletedUnits ){\r\n deletedUnits = new CoeusVector();\r\n }\r\n for( int indx = 0; indx < delSize; indx++ ) {\r\n personUnitBean = (KeyPersonUnitBean)delUnits.get(indx);\r\n// String acType = personUnitBean.getAcType();\r\n// if( null == acType || UPDATE_RECORD.equals(acType)){\r\n personUnitBean.setAcType(DELETE_RECORD);\r\n deletedUnits.add(personUnitBean);\r\n// }\r\n }\r\n hmDeletedUnits.put(personId, deletedUnits);\r\n }\r\n dataChanged = true;\r\n }\r\n else{\r\n// int selectedOption = showDeleteConfirmMessage(\r\n// coeusMessageResources.parseMessageKey(\r\n// \"unitDetFrm_exceptionCode.1331\"));\r\n// if( selectedOption == JOptionPane.YES_OPTION ){\r\n dataChanged = true;\r\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\r\n \r\n KeyPersonUnitBean personUnitBean = (KeyPersonUnitBean)invUnits.get(selectedUnitRow);\r\n invUnits.remove(selectedUnitRow);\r\n// String acType = personUnitBean.getAcType();\r\n// if( null == acType || UPDATE_RECORD.equals(acType)){\r\n personUnitBean.setAcType(DELETE_RECORD);\r\n // CoeusVector deletedUnits=new CoeusVector();\r\n deletedUnits.add(personUnitBean);\r\n hmDeletedUnits.put(personId, deletedUnits);\r\n unitTableModel.setData(invUnits);\r\n keyPrsnBean.setKeyPersonsUnits(invUnits);\r\n cvKeypersons.set(selectedRow,keyPrsnBean);\r\n unitTableModel.fireTableDataChanged();\r\n }\r\n }\r\n\r\n// }\r\n }else if(unitNo == null)\r\n {\r\n //for deleting the empty created unit details.\r\n CoeusVector invUnits = keyPrsnBean.getKeyPersonsUnits();\r\n\r\n \r\n invUnits.remove(selectedUnitRow);\r\n unitTableModel.setData(invUnits);\r\n keyPrsnBean.setKeyPersonsUnits(invUnits);\r\n cvKeypersons.set(selectedRow,keyPrsnBean);\r\n unitTableModel.fireTableDataChanged();\r\n }\r\n\r\n int newRowCount = keyPersonForm.tblUnits.getRowCount();\r\n if(newRowCount >0){\r\n if(newRowCount > selectedUnitRow){\r\n keyPersonForm.tblUnits.setRowSelectionInterval(selectedUnitRow,\r\n selectedUnitRow);\r\n }else{\r\n keyPersonForm.tblUnits.setRowSelectionInterval(\r\n newRowCount - 1,\r\n newRowCount - 1);\r\n }\r\n }else{\r\n keyPersonForm.btnDeleteUnit.setEnabled( false );\r\n keyPersonForm.btnAddUnit.requestFocusInWindow();\r\n }\r\n }else{\r\n showWarningMessage(coeusMessageResources.parseMessageKey(\r\n \"protoInvFrm_exceptionCode.1133\") );\r\n }\r\n }\r\n }", "title": "" }, { "docid": "26b547d8d95f34c2f5d30a3ebd2e8b15", "score": "0.54166716", "text": "public String delRelat(String UserId,ArrayList<HashMap<String,String>> progList) throws SQLException, Exception {\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tStringBuffer strQuery = new StringBuffer();\n\t\tString strErMsg = \"\";\n\n\t\tConnectionContext connectionContext = new ConnectionResource();\n\n\t\ttry {\n\t\t\tconn = connectionContext.getConnection();\n\t\t\tconn.setAutoCommit(false);\n for (int i=0;i<progList.size();i++){\n \tstrQuery.setLength(0);\n \tstrQuery.append(\"delete cmd0011 \\n\");\n \tstrQuery.append(\" where cd_itemid=? and cd_prcitem=? \\n\");\n pstmt = conn.prepareStatement(strQuery.toString());\n pstmt.setString(1,progList.get(i).get(\"cr_itemid\"));\n \t\t\tpstmt.setString(2,progList.get(i).get(\"cr_prcitem\"));\n pstmt.executeUpdate();\n pstmt.close();\n }\n strErMsg = \"0\";\n conn.commit();\n conn.close();\n\t\t\tpstmt = null;\n\t\t\tconn = null;\n\n return strErMsg;\n\n\t\t} catch (SQLException sqlexception) {\n\t\t\tsqlexception.printStackTrace();\n\t\t\tif (pstmt != null) try{pstmt.close();}catch (Exception ex2){ex2.printStackTrace();}\n\t\t\tif (conn != null){\n\t\t\t\ttry{\n\t\t\t\t\tconn.rollback();\n\t\t\t\t\tConnectionResource.release(conn);\n\t\t\t\t}catch(Exception ex3){\n\t\t\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() connection release exception ##\");\n\t\t\t\t\tex3.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() SQLException START ##\");\n\t\t\tecamsLogger.error(\"## Error DESC : \", sqlexception);\n\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() SQLException END ##\");\n\t\t\tthrow sqlexception;\n\t\t} catch (Exception exception) {\n\t\t\texception.printStackTrace();\n\t\t\tif (pstmt != null) try{pstmt.close();}catch (Exception ex2){ex2.printStackTrace();}\n\t\t\tif (conn != null){\n\t\t\t\ttry{\n\t\t\t\t\tconn.rollback();\n\t\t\t\t\tConnectionResource.release(conn);\n\t\t\t\t}catch(Exception ex3){\n\t\t\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() connection release exception ##\");\n\t\t\t\t\tex3.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() Exception START ##\");\n\t\t\tecamsLogger.error(\"## Error DESC : \", exception);\n\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() Exception END ##\");\n\t\t\tthrow exception;\n\t\t}finally{\n\t\t\tif (strQuery != null)\tstrQuery = null;\n\t\t\tif (pstmt != null) try{pstmt.close();}catch (Exception ex2){ex2.printStackTrace();}\n\t\t\tif (conn != null){\n\t\t\t\ttry{\n\t\t\t\t\tConnectionResource.release(conn);\n\t\t\t\t}catch(Exception ex3){\n\t\t\t\t\tecamsLogger.error(\"## Cmd0900.delRelat() connection release exception ##\");\n\t\t\t\t\tex3.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "4e201c6a972c089e30ba3b14d97bcbb2", "score": "0.5414444", "text": "public boolean deleteProduct(long code);", "title": "" }, { "docid": "fce8c3e75fab102f341b35acf69d004b", "score": "0.5409794", "text": "protected void deleteInventoryCheck(Connection conn) throws ReadWriteException\n\t{\n\t\tInventoryCheckHandler inventoryHandler = new InventoryCheckHandler(conn);\n\t\tInventoryCheckSearchKey inventorySearckKey = new InventoryCheckSearchKey();\n\n\t\ttry\n\t\t{\n\t\t\tString status[] = { InventoryCheck.STATUS_FLAG_DECISION, InventoryCheck.STATUS_FLAG_DELETE };\n\t\t\tinventorySearckKey.setStatusFlag(status);\n\t\t\tint count = inventoryHandler.count(inventorySearckKey);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" (deleteInventoryCheck) --> InventoryCheck Delete Data Count(\" + count + \")\");\n\t\t\tif(count > 0)\n\t\t\t{\n\t\t\t\tinventoryHandler.drop(inventorySearckKey);\n\t\t\t}\n\t\t}\n\t\tcatch (NotFoundException e)\n\t\t{\n\t\t}\n\t}", "title": "" }, { "docid": "c0745d12ca5765f0fdb77e423b4e0a54", "score": "0.5408516", "text": "public void updateProductQuantityOnDeleteInventory(String inventoryIdString,String companyid) throws ServiceException{\n try {\n String [] inventoryIds=inventoryIdString.split(\",\");\n for(int i=0;i<inventoryIds.length;i++){\n ArrayList params = new ArrayList();\n params.add(companyid);\n params.add(inventoryIds[i]);\n String myquery = \"select product,baseuomquantity,carryin from inventory where company =? and id = ? \";\n List<Object[]> list = executeSQLQuery( myquery, params.toArray());\n \n if (list.size() > 0 && !list.contains(null)) {\n Object[] obj = list.get(0);\n String productid=(String) obj[0];\n double baseuomqty = (Double) obj[1];\n boolean carryin=(Boolean) obj[2];;\n String updatequery=\"\";\n ArrayList params1 = new ArrayList();\n params1.add(baseuomqty);\n params1.add(companyid);\n params1.add(productid);\n if(carryin){\n updatequery= \"update product set availablequantity=( availablequantity- ? ) where company =? and id = ? \";// minus Purchase and Plus Sales (for Reverse effect for quantity)\n }else{\n updatequery= \"update product set availablequantity=( availablequantity + ? ) where company =? and id = ? \";\n }\n int numRows = executeUpdate( updatequery, params1.toArray());\n }\n \n }\n \n } catch (Exception ex) {\n throw ServiceException.FAILURE(\"Cannot delete Credit Note as its referance child field is not deleted.\", ex);//+ex.getMessage(), ex);\n }\n }", "title": "" }, { "docid": "befd6334fabd0a4fdd2ee0347c03d601", "score": "0.54057705", "text": "private void RemoveProduct(){\r\n logger.log(Level.FINEST, \"Attempt to remove existing product.\");\r\n \r\n if(whoperationview.getAddProductListTable().getSelectedRow() == -1){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed.\");\r\n whoperationview.ScreenMessage(\"None of the rows was selected.\");\r\n return;\r\n\r\n }\r\n \r\n if(whoperationview.getAddProductRemoveTextField().getText().isEmpty() || whoperationview.getAddProductRemoveTextField().getText()==null){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : The amount field can not be empty.\");\r\n whoperationview.ScreenMessage(\"The amount field can not be empty.\");\r\n return;\r\n \r\n }\r\n \r\n if(!FieldChecker.AmountCheck(whoperationview.getAddProductRemoveTextField().getText())){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : Wrong amount format, only positive integers are allowed.\");\r\n whoperationview.ScreenMessage(\"Wrong amount format, only positive integers are allowed.\");\r\n return;\r\n \r\n }\r\n \r\n if(whoperationview.getAddProductRemoveTextField().getText().length() > String.valueOf(Integer.MAX_VALUE).length() || Long.valueOf(whoperationview.getAddProductRemoveTextField().getText())> Integer.MAX_VALUE){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : \"+\"Amount can not be bigger than: \" + String.valueOf(Integer.MAX_VALUE) + \".\");\r\n whoperationview.ScreenMessage(\"Amount can not be bigger than: \" + String.valueOf(Integer.MAX_VALUE) + \".\");\r\n return;\r\n \r\n }\r\n \r\n try {\r\n \r\n int productid = Integer.valueOf(whoperationview.getAddProductListTable().getValueAt(whoperationview.getAddProductListTable().getSelectedRow(),0).toString());\r\n int amount = Integer.valueOf(whoperationview.getAddProductRemoveTextField().getText());\r\n \r\n if(!whoperationmodel.RemoveProduct(amount, productid)){\r\n \r\n logger.log(Level.FINEST, \"Removing existing product failed : Failure! Take out amount can not be bigger than the product amount.\");\r\n whoperationview.ScreenMessage(\"Failure! Take out amount can not be bigger than the product amount.\");\r\n return;\r\n \r\n }\r\n \r\n RefreshTable();\r\n logger.log(Level.FINEST, \"Removing existing product was successful.\");\r\n\r\n } catch (SQLException ex) {\r\n logger.log(Level.SEVERE, ex.getMessage(), ex);\r\n whoperationview.ScreenMessageError(ex.getMessage());\r\n }\r\n \r\n \r\n }", "title": "" }, { "docid": "1ace4db78b1f1c59338728bd9da31cc3", "score": "0.5405746", "text": "public void deleteReleaseplan(Releaseplan releaseplan);", "title": "" }, { "docid": "d1ab4eaaf2497e5ee05864c660459edd", "score": "0.53955156", "text": "public void purge(){\n\t\tStatement stat;\n\t\ttry {\n\t\t\tstat = conn.createStatement();\n\t\t\tstat.executeUpdate(\"delete from Item\");\n\t\t\tstat.close();\n\t\t} catch (SQLException e) {\n\t\t\tLog.getLoginstance(null).error(\"Ocorreu um erro: \"+e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "fbe6a8b40e2d8ac741018fd4f1577785", "score": "0.53915596", "text": "public void testDeletePackage12() throws Exception {\n IPackageFragment[] frags = createPackagePath(3);\n executeDeletePackage(new Object[] { frags[0], frags[1] }, new IPackageFragment[] { frags[0], frags[1] }, new Object[] {});\n Object[] deleted = null;\n Object[] exist = new Object[] { frags[2], frags[1], frags[0] };\n doTestUndoRedo(deleted, exist);\n }", "title": "" }, { "docid": "b00d5defd0137cf9b53b62bf33f0e9d9", "score": "0.53880906", "text": "protected void deleteData(Connection conn, SystemParameter[] param)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrows ReadWriteException, ScheduleException\n\t{\n\t\t//#CM695772\n\t\t// Delete unnecessary Planned work data.\n\t\tdeleteWorkingData(conn, param);\n\n\t\t//#CM695773\n\t\t// Delete the Master.\n\t\tdeleteDataMaster(conn);\n\n\t\t//#CM695774\n\t\t// Delete the log file.\n\t\tdeleteLog();\n\t}", "title": "" }, { "docid": "47c3cc2c40ffd8709a1f7a49c7722d30", "score": "0.53543913", "text": "@Override\n @Transactional\n public void deletePlan(String uid) {\n planRepository.deleteByPlanId(uid);\n }", "title": "" }, { "docid": "800e1e5179d0617cc4a238016548c7f0", "score": "0.53532064", "text": "@Override\r\n\tpublic void deleteProduct(int p_no) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d1a705f6b7592ff2f2873c6ea091dc28", "score": "0.53507143", "text": "public boolean eliminarPlan(Plan p) {\n \n String cod = Integer.toString(p.getCodigo());\n \n gestionarBaseDatos gestorBD = new gestionarBaseDatos();\n \n Connection conexion = gestorBD.establecerConexion();\n \n String borrarAfilia = \"DELETE FROM AFILIA WHERE CODIGO_P = \"+cod+\";\";\n String borrarContiene = \"DELETE FROM CONTIENE WHERE CODIGO_P = \"+cod+\";\";\n String borrarPostpago = \"DELETE FROM POSTPAGO WHERE CODIGO_P = \"+cod+\";\";\n String borrarPrepago = \"DELETE FROM PREPAGO WHERE CODIGO_P = \"+cod+\";\";\n String borrarProducto = \"DELETE FROM PRODUCTO WHERE CODIGO_P = \"+cod+\";\";\n String borrarPlan = \"DELETE FROM PLAN WHERE CODIGO = \"+cod+\";\";\n \n try {\n \n Statement stmt = conexion.createStatement();\n stmt.executeUpdate(borrarAfilia);\n stmt.executeUpdate(borrarContiene);\n stmt.executeUpdate(borrarPostpago);\n stmt.executeUpdate(borrarPrepago);\n stmt.executeUpdate(borrarProducto);\n int resultado = stmt.executeUpdate(borrarPlan);\n stmt.close();\n gestorBD.cerrarConexion(conexion);\n return resultado > 0;\n \n\n \n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n \n gestorBD.cerrarConexion(conexion);\n return false; \n }", "title": "" }, { "docid": "6e3846f896c5eafb53785ffa6ddc966d", "score": "0.53399056", "text": "public void testDeleteWithinCu7() throws Exception {\n ParticipantTesting.reset();\n loadFileSetup();\n IJavaElement elem0 = fCuA.getPackageDeclaration(\"p\");\n IJavaElement[] elems = new IJavaElement[] { elem0 };\n String[] handles = ParticipantTesting.createHandles(elem0);\n checkDelete(elems, false);\n ParticipantTesting.testDelete(handles);\n }", "title": "" }, { "docid": "dc938162dffb68444e9bf164d6053dcd", "score": "0.5320575", "text": "@Test(enabled=false)\n\tpublic void adt_DeleteAuditplan_schedule_memo() throws InterruptedException,IOException{\n\n\t\ttry{\n\t\t\tcurrentmethodname = Thread.currentThread().getStackTrace()[1].getMethodName();\n\t\t\tER.datareader();\n\t\t\tthisMethodName=Thread.currentThread().getStackTrace()[1].getMethodName();\n\t\t\tAUDITCustomErrorMessages.audit_m_errors.entrySet().clear();\n\t\t\tDeleteHodAuditplan_schedule_memo();\n\t\t\tCommonUtilsAPI.adtErrorMsg.assertAll();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tinAtTest = true;\n\t\t\tthrow new MainetCustomExceptions(\"Error in adt_DeleteAuditplan_schedule_memo method\");\n\t\t}\n\t}", "title": "" }, { "docid": "2d64495bccc2ff078f96454db5a46e5d", "score": "0.5318613", "text": "private static void delete() throws SQLException {\n\t\tPreparedStatement ps=con.prepareStatement(\"delete from cart where Cart=?\");\r\n\t\tSystem.out.println(\"Enter Item id\"); \t\r\n\t\tps.setInt(1, scan.nextInt());\r\n\t\t int r=ps.executeUpdate();\r\n\t\t System.out.println(r+\" row deleted\");\t\t\r\n\t}", "title": "" }, { "docid": "d76b1aec1d0ce234de06b2dd5a9e2d2d", "score": "0.5298495", "text": "@Test\n public void delete() {\n TestTask[] currentList = td.getTypicalDatedTasks();\n int targetIndex = 1;\n assertDeleteSuccess(\"B\"+targetIndex, currentList);\n\n //delete the last in the list\n currentList = TestUtil.removePersonFromList(currentList, targetIndex);\n targetIndex = currentList.length;\n assertDeleteSuccess(\"B\"+targetIndex, currentList);\n\n //invalid index\n commandBox.runCommand(\"delete B\" + currentList.length + 1);\n assertResultMessage(\"The task index provided is invalid\");\n\n }", "title": "" }, { "docid": "8e87aa185f036db33c40d19d47b8be74", "score": "0.52984214", "text": "private void USLCleanUpTenantData()\n {\n String testCaseName = \"USLCleanUpTenantData\";\n System.out.println(\"*** Running testcase - \" + testCaseName);\n try\n {\n OrclTenantManager tenantManager = new OrclTenantManager();\n Map<String, String> inParams = new HashMap<String, String>();\n inParams.putAll(inputParams);\n inParams.put(MultiTenancyConstants.IDSTORE_TENANT_NAME,\n \"creationoftenant\" + random);\n tenantManager.deleteTenant(inParams);\n C9UnitTestUtil.generateTestcaseSucc(testHome, testCaseName);\n } catch (Exception e)\n {\n C9UnitTestUtil.generateTestcaseDiff(testHome, testCaseName, e);\n }\n }", "title": "" }, { "docid": "81563ddbd7fcaceea9f2fa5997486dab", "score": "0.5288777", "text": "public static void deleteAll() throws Exception {\n if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)\n {\n Meth.GetVoid(MethodBase.GetCurrentMethod());\n return ;\n }\n \n String command = \"DELETE FROM loinc\";\n Db.nonQ(command);\n if (OpenDentBusiness.DataConnection.DBtype == OpenDentBusiness.DatabaseType.MySql)\n {\n command = \"ALTER TABLE loinc AUTO_INCREMENT = 1\";\n //resets the primary key to start counting from 1 again.\n Db.nonQ(command);\n }\n \n return ;\n }", "title": "" }, { "docid": "c7b879c44680071219857e7e6808925f", "score": "0.5278615", "text": "public static void clearDemandTable(){\n\n\t\ttry{\n\t\t\tStatement stmt2 = conn.createStatement();\n\t\t\tstmt2.executeUpdate(\"delete from Demand\");\n\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "title": "" }, { "docid": "e290ea8232323497d942301d480e97df", "score": "0.52768034", "text": "public void removeStock(String item) throws SQLException, ClassNotFoundException {\n try {\n String currentStock = checkItemStock(item);\n int curStock = Integer.parseInt(currentStock);\n \n if(curStock > 0){ \n curStock -= 1;\n if(curStock <= 3 && curStock != 0){\n JOptionPane.showMessageDialog(null,\"There are only \"+ curStock +\" \"+ item + \" left in stock!.\\nPlease restock!.\",\"Low Stock!\", JOptionPane.WARNING_MESSAGE);\n }\n }else{\n JOptionPane.showMessageDialog(null,item + \" is out of stock!!.\\nPlease restock!.\",\"Out of Stock\", JOptionPane.WARNING_MESSAGE);\n }\n \n // load database driver class\n Class.forName(\"sun.jdbc.odbc.JdbcOdbcDriver\");\n\n // connect to database\n Connection con = DriverManager.getConnection(\"jdbc:odbc:PSUCreamery\");\n\n Statement stmt = con.createStatement(); \n\n PreparedStatement removeItem = null;\n String updateStockTable = \"UPDATE Stock\" + \" SET Amount = ? \" + \" WHERE ItemName = ?\";\n removeItem = con.prepareStatement(updateStockTable);\n removeItem.setString(2, item);\n removeItem.setInt(1, curStock);\n removeItem.executeUpdate();\n \n stmt.close();\n con.close();\n \n }catch(ClassNotFoundException | SQLException e){}\n }", "title": "" }, { "docid": "0c2e05e556d2835e190582e867615018", "score": "0.52756566", "text": "protected BProductDetailProperty objRemovePackage(\r\n\t\t\tBProductDetailProperty bProductDetailProperty,\r\n\t\t\tBProductDetail bProductDetailTargetLower, Long lProductID,\r\n\t\t\tLong CustomerID) throws SQLException, Exception { // Starting Braces of the Function\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\r\n\t\tLong ProductID; // Local Varaible Declaration\r\n\t\tint iSizeOfVector = 0; // Local Varaible Declaration\r\n\t\tint iCount = 0; // Local Varaible Declaration\r\n\t\tVector vctTempBProductDetail = new Vector(); // Local Varaible Declaration\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\r\n\t\ttry {\r\n\r\n\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\tGLogger.chkpt(\"Inside if statement \");\t\r\n\t\t\t\t// System.out.println(\"Inside iterative function\");\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.iLevel : \" + bProductDetailTargetLower.iLevel);\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.lProductID : \" + bProductDetailTargetLower.lProductID);\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.OptionGroupID : \" + bProductDetailTargetLower.lOptionGroupID);\r\n\t\t\t\t// System.out.println(\"bProductDetailTargetLower.iInstance : \" + bProductDetailTargetLower.iInstance);\r\n\t\t\t\t// System.out.println(\"The Upper Grid Size is : \" + bProductDetailProperty.vctProductNonSelected.size());\r\n\t\t\t\t// System.out.println(\"The Lower Grid Size is : \" + bProductDetailProperty.vctProductSelected.size());\r\n\t\t\t}\r\n\r\n\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\r\n\t\t\t// Brgin DEL v9.01d\r\n\t\t\t// StringBuffer strSql = new StringBuffer(\"\"); //Defining a String Buffer to make the Sql querry\r\n\t\t\t// End DEL v9.01d\r\n\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t\t// Begin DEL v9.01d\r\n\t\t\t// OptionGroupRow optionGroupRow = null; // Initializing the Object Class for the OptionGroup table\r\n\t\t\t// End DEL v9.01d\r\n\t\t\tif (null == optionGroupTable) {\r\n\t\t\t\toptionGroupTable = (OptionGroup) teleSessionMgr\r\n\t\t\t\t\t\t.getMasterTable(string_OPTIONGROUP); // Getting the OptionGroup table from the session\r\n\t\t\t}\r\n\r\n\t\t\t// BEGIN MODIFY : V3.10\r\n\t\t\t// Updated Code for fixing DEFECT id 70, Obsolete Masters\r\n\t\t\t// Modified for Taking Validity of Option Group\r\n\t\t\t// Vector vctObjPIDInternal = new Vector();\r\n\t\t\t// Begin DEL v9.01d\r\n\t\t\t// Vector vctObjPIDInternal = null;\r\n\t\t\t// End DEL v9.01d\r\n\t\t\tList lstObjPIDInternal = null;\r\n\t\t\tCustomerProduct custProductTable = null;\r\n\t\t\tCustomerProductRow custProdRow = null;\r\n\r\n\t\t\tcustProductTable = (CustomerProduct) teleSessionMgr\r\n\t\t\t\t\t.getTable(string_CUSTOMERPRODUCT);\r\n\t\t\tcustProdRow = (CustomerProductRow) custProductTable\r\n\t\t\t\t\t.cprSearchByCustProductIDandObsolete(\r\n\t\t\t\t\t\t\tbProductDetailTargetLower.lCustomerProductID\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO);\r\n\r\n\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDandObsolete(lProductID.longValue(), FINAL_ZERO);\r\n\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date());\r\n\t\t\t// END DELETE V5.80a\r\n\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date(), bProductDetailProperty.iRateClassIDNew);\r\n\t\t\tlstObjPIDInternal = (ArrayList) optionGroupTable\r\n\t\t\t\t\t.searchByProductIDValidandObsolete(lProductID.longValue(),\r\n\t\t\t\t\t\t\tFINAL_ZERO, new java.util.Date(),\r\n\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t// END ADD V5.80a\r\n\r\n\t\t\tif (lstObjPIDInternal.isEmpty()) {\r\n\t\t\t\tif (null != custProdRow) {\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, custProdRow.dtCreationDate);\r\n\t\t\t\t\t// END DELETE V5.80a\r\n\t\t\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, custProdRow.dtCreationDate, bProductDetailProperty.iRateClassIDNew);\r\n\t\t\t\t\tlstObjPIDInternal = optionGroupTable\r\n\t\t\t\t\t\t\t.searchByProductIDValidandObsolete(lProductID\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\t\tnew java.util.Date(),\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t\t// END ADD V5.80a\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date());\r\n\t\t\t\t\t// END DELETE V5.80a\r\n\t\t\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t\t\t// vctObjPIDInternal = optionGroupTable.vctSearchByProductIDValidandObsolete(lProductID.longValue(), FINAL_ZERO, new java.util.Date(), bProductDetailProperty.iRateClassIDNew);\r\n\t\t\t\t\tlstObjPIDInternal = optionGroupTable\r\n\t\t\t\t\t\t\t.searchByProductIDValidandObsolete(lProductID\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\t\tnew java.util.Date(),\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t\t// END ADD V5.80a\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// END MODIFY : V3.10\r\n\t\t\t// Modified Code for fixing DEFECT id 70, Obsolete Masters\r\n\r\n\t\t\t/**\r\n\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t * {\r\n\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t * strSql.append(\"SELECT OPTIONGROUPID FROM OPTIONGROUP WHERE PRODUCTID = \").append(lProductID);\r\n\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t * }\r\n\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t */\r\n\t\t\tif (!lstObjPIDInternal.isEmpty()) {\r\n\r\n\t\t\t\t// for each record in the vector of OptionGroup Records\r\n\t\t\t\tfor (int iASCounter = FINAL_ZERO; iASCounter < lstObjPIDInternal\r\n\t\t\t\t\t\t.size(); iASCounter++) {\r\n\r\n\t\t\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\r\n\t\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t\t// OptionProductRow optionProductRow = null; // Initializing the Object Class for the OptionGroup table\r\n\t\t\t\t\t// End DEL v9.01d\r\n\t\t\t\t\tif (null == optionProductTable) {\r\n\t\t\t\t\t\toptionProductTable = (OptionProduct) teleSessionMgr\r\n\t\t\t\t\t\t\t\t.getMasterTable(string_OPTIONPRODUCT); // Getting the OptionGroup table from the session\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/**\r\n\t\t\t\t\t * **************STARTING*****************TO PRINT THE DATA\r\n\t\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t * {\r\n\t\t\t\t\t * System.out.println(\"lOptionGroupID ----> \" +Long.valueOf(((OptionGroupRow)(vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID).longValue());\r\n\t\t\t\t\t * }\r\n\t\t\t\t\t * /****************ENDING*******************TO PRINT THE DATA******************************************\r\n\t\t\t\t\t */\r\n\t\t\t\t\tVector vctObjOGIDInternal = new Vector();\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.80a\r\n\t\t\t\t\t// vctObjOGIDInternal = optionProductTable.vctSearchByOptionGroupIDandObsolete(Long.valueOf(((OptionGroupRow) (vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID).longValue(), FINAL_ZERO);\r\n\t\t\t\t\t// END DELETE V5.80a\r\n\t\t\t\t\t// BEGIN ADD V5.80a\r\n\t\t\t\t\tvctObjOGIDInternal = optionProductTable\r\n\t\t\t\t\t\t\t.vctSearchByOptionGroupIDandObsolete(Long.valueOf(\r\n\t\t\t\t\t\t\t\t\t((OptionGroupRow) (lstObjPIDInternal\r\n\t\t\t\t\t\t\t\t\t\t\t.get(iASCounter))).lOptionGroupID)\r\n\t\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t\t// END ADD V5.80a\r\n\r\n\t\t\t\t\t/**\r\n\t\t\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t * {\r\n\t\t\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t\t\t * strSql.append(\"SELECT OPTIONPRODUCTID, PRODUCTID FROM OPTIONPRODUCT WHERE OPTIONGROUPID = \").append(Long.valueOf(((OptionGroupRow)(vctObjPIDInternal.elementAt(iASCounter))).lOptionGroupID));\r\n\t\t\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t\t\t * }\r\n\t\t\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t\t\t */\r\n\t\t\t\t\tif (null != vctObjOGIDInternal) {\r\n\r\n\t\t\t\t\t\t// for each record in the vector of OptionProduct Records\r\n\t\t\t\t\t\tfor (int iOPIDPIDCounter = FINAL_ZERO; iOPIDPIDCounter < vctObjOGIDInternal\r\n\t\t\t\t\t\t\t\t.size(); iOPIDPIDCounter++) {\r\n\t\t\t\t\t\t\tProductID = Long.valueOf(\r\n\t\t\t\t\t\t\t\t\t((OptionProductRow) (vctObjOGIDInternal\r\n\t\t\t\t\t\t\t\t\t\t\t.elementAt(iOPIDPIDCounter))).lProductID);\r\n\r\n\t\t\t\t\t\t\t/**\r\n\t\t\t\t\t\t\t * **************STARTING*****************TO PRINT THE DATA\r\n\t\t\t\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t\t\t * {\r\n\t\t\t\t\t\t\t * System.out.println(\"ProductID ----------123---------------> \" +ProductID);\r\n\t\t\t\t\t\t\t * }\r\n\t\t\t\t\t\t\t * /****************ENDING*******************TO PRINT THE DATA******************************************\r\n\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t\t\t\t// int iCounttemp = 0;\r\n\t\t\t\t\t\t\t// iCounttemp = iFindProductInVectorLevelProductIDandOptionGroupID(bProductDetailTargetLower, bProductDetailProperty.vctProductSelected);\r\n\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\t\t\t\t// if (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\t\t\t// System.out.println(\"iCount in vctProductSelected \" + iCounttemp);\r\n\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\t\t\t// End DEL v9.01d\r\n\t\t\t\t\t\t\t// if(iCounttemp == FINAL_ONE)\r\n\t\t\t\t\t\t\t{\r\n\r\n\t\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\t\t\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement \");\r\n\t\t\t\t\t\t\t\t\t// System.out.println(\"iCount in vctProductSelected \" + iCount);\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\t\t\t\tiSizeOfVector = bProductDetailProperty.vctProductNonSelected\r\n\t\t\t\t\t\t\t\t\t\t.size();\r\n\r\n\t\t\t\t\t\t\t\tfor (iCount = FINAL_ZERO; iCount < iSizeOfVector; iCount++) {\r\n\t\t\t\t\t\t\t\t\tif (((String.valueOf(ProductID))\r\n\t\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(String\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.valueOf(((BProductDetail) bProductDetailProperty.vctProductNonSelected\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.elementAt(iCount)).lProductID)))) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t// BProductDetail bProductDetail = new BProductDetail();\r\n\t\t\t\t\t\t\t\t\t\t// bProductDetail = (BProductDetail)bProductDetailProperty.vctProductNonSelected.elementAt(iCount);\r\n\t\t\t\t\t\t\t\t\t\t// Begin Modify 3.32\r\n\t\t\t\t\t\t\t\t\t\t// Change made to fix incident id 63,101 (MailAlias shown in Top Grid after deleting MailBox)\r\n\t\t\t\t\t\t\t\t\t\t// bProductDetailProperty.vctProductNonSelected.removeElementAt(iCount);\r\n\t\t\t\t\t\t\t\t\t\t// Check for max no occurences.\r\n\t\t\t\t\t\t\t\t\t\tint iNoOfOccurences = 0;\r\n\r\n\t\t\t\t\t\t\t\t\t\tiNoOfOccurences = iNoOfOccurencesOfProduct(\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailProperty.vctProductSelected,\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailTargetLower.iLevel,\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailTargetLower.iParentInstance,\r\n\t\t\t\t\t\t\t\t\t\t\t\tbProductDetailTargetLower.lProductID\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.longValue());\r\n\r\n\t\t\t\t\t\t\t\t\t\tif ((iNoOfOccurences - 2) <= 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tbProductDetailProperty.vctProductNonSelected\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.removeElementAt(iCount);\r\n\t\t\t\t\t\t\t\t\t\t\tiSizeOfVector--;\r\n\t\t\t\t\t\t\t\t\t\t\tiCount--;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t// Change made to fix incident id 63,101 (MailAlias shown in Top Grid after deleting MailBox)\r\n\t\t\t\t\t\t\t\t\t\t// End Modify : V3.32\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t// Giving error in cases\r\n\t\t\t\t\t\t\tint iSizeVector = 0;\r\n\r\n\t\t\t\t\t\t\tiSizeVector = bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t.size();\r\n\r\n\t\t\t\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t\t\t\t// boolean blnFlagToInit = true;\r\n\t\t\t\t\t\t\t// End DEL v9.01d\r\n\r\n\t\t\t\t\t\t\tfor (int iSCount = FINAL_ZERO; iSCount < iSizeVector; iSCount++) {\r\n\t\t\t\t\t\t\t\tBProductDetail bProductTemp = null;\r\n\r\n\t\t\t\t\t\t\t\t//bProductTemp = new BProductDetail();\r\n\t\t\t\t\t\t\t\tbProductTemp = ((BProductDetail) bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t\t.elementAt(iSCount));\r\n\r\n\t\t\t\t\t\t\t\tif ((((String.valueOf(ProductID))\r\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(String\r\n\t\t\t\t\t\t\t\t\t\t\t\t.valueOf(bProductTemp.lProductID))))\r\n\t\t\t\t\t\t\t\t\t\t&& (bProductDetailTargetLower.iInstance == bProductTemp.iParentInstance)\r\n\t\t\t\t\t\t\t\t\t\t&& ((bProductDetailTargetLower.iLevel + FINAL_ONE) == bProductTemp.iLevel)) {\r\n\r\n\t\t\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\t\t\t\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement \");\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"REMOVING IT FROM THE VCTPRODUCTSELECTED\");\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"bProductTemp.lProductID\" + bProductTemp.lProductID);\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"bProductTemp.iParentInstance\" + bProductTemp.iParentInstance);\r\n\t\t\t\t\t\t\t\t\t\t// System.out.println(\"bProductTemp.iLevel\" + bProductTemp.iLevel);\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\t\t\t\t\tBProductDetail bProductDetail =null;\r\n\r\n\t\t\t\t\t\t\t\t\tbProductDetail = (BProductDetail) bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t\t\t.elementAt(iSCount);\r\n\t\t\t\t\t\t\t\t\tvctTempBProductDetail\r\n\t\t\t\t\t\t\t\t\t\t\t.addElement(bProductDetail);\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t\t\t\t\t.remove(iSCount);\r\n\t\t\t\t\t\t\t\t\tbProductDetailProperty = objNewPopulatevctProductDeleted(\r\n\t\t\t\t\t\t\t\t\t\t\tbProductDetailProperty,\r\n\t\t\t\t\t\t\t\t\t\t\tbProductDetail);\r\n\t\t\t\t\t\t\t\t\tiSizeVector--;\r\n\t\t\t\t\t\t\t\t\tiSCount--;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} // end of the for loop\r\n\t\t\t\t\t} // end of the if loop for handling the null pointer exception\r\n\t\t\t\t} // end of the for loop\r\n\t\t\t} // end of the if loop for handling the null pointer exception\r\n\r\n\t\t\tif ((null != vctTempBProductDetail)\r\n\t\t\t\t\t&& (FINAL_ZERO != vctTempBProductDetail.size())) {\r\n\r\n\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\t\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t\tGLogger.chkpt(\"Inside if statement \");\r\n\t\t\t\t\t// System.out.println(\"The Size of the Vector is : - \" + vctTempBProductDetail.size());\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\tfor (int iFCounter = 0; iFCounter < vctTempBProductDetail\r\n\t\t\t\t\t\t.size(); iFCounter++) {\r\n\t\t\t\t\tBProductDetail bProductDetailTmp = null;\r\n\r\n\t\t\t\t\tbProductDetailTmp = new BProductDetail();\r\n\t\t\t\t\tbProductDetailTmp = (BProductDetail) vctTempBProductDetail\r\n\t\t\t\t\t\t\t.elementAt(iFCounter);\r\n\r\n\t\t\t\t\t/** **************STARTING*****************TO PRINT THE DATA****************************************** */\r\n\r\n\t\t\t\t\t/* BEGIN DELETE VER: 5.59tan */\r\n\r\n\t\t\t\t\t// if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t\t// {\r\n\t\t\t\t\t// System.out.println(\"CAlling iterative function \" );\r\n\t\t\t\t\t// System.out.println(\"bProductDetailTmp.lProductID\" + bProductDetailTmp.lProductID);\r\n\t\t\t\t\t// System.out.println(\"bProductDetailTmp.iParentInstance\" + bProductDetailTmp.iParentInstance);\r\n\t\t\t\t\t// System.out.println(\"bProductDetailTmp.iLevel\" + bProductDetailTmp.iLevel);\r\n\t\t\t\t\t// }\r\n\t\t\t\t\t/* END DELETE VER: 5.59tan */\r\n\r\n\t\t\t\t\t/** **************ENDING*******************TO PRINT THE DATA***************************************** */\r\n\t\t\t\t\tbProductDetailProperty = objRemovePackage(\r\n\t\t\t\t\t\t\tbProductDetailProperty, bProductDetailTmp,\r\n\t\t\t\t\t\t\tbProductDetailTmp.lProductID, CustomerID);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} // end of the if loop\r\n\t\tcatch (SQLException sqle) {\r\n\t\t\tthrow sqle;\r\n\t\t}\r\n\r\n\t\t// BEGIN ADD : V3.27\r\n\t\tcatch (Exception ex) {\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\tGGeneric.printStackTrace(ex, GGeneric.iDebugLevelThree, this);\r\n\t\t\t}\r\n\r\n\t\t\tthrow new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\r\n\t\t}\r\n\r\n\t\t// END ADD : v3.27\r\n\t\t// Returning of the String\r\n\t\treturn bProductDetailProperty;\r\n\t}", "title": "" }, { "docid": "86d8bb8a015b550fe6ce7f04028a4a3c", "score": "0.5270122", "text": "public void deleteData(){\n //TODO\n }", "title": "" }, { "docid": "c4e5b5cc45373c54b997c05d7ab13ba7", "score": "0.52580225", "text": "private void performDelete(){\r\n // delete investigator row after confirmation\r\n int selectedRow = keyPersonForm.tblInvestigator.getSelectedRow();\r\n if( selectedRow != -1 ){\r\n KeyPersonBean keypersonBean = keyPersonTableModel.getKeyPersonBean(selectedRow);\r\n String name = \"\";\r\n String personId=\"\";\r\n if( keypersonBean != null ) {\r\n name = keypersonBean.getPersonName();\r\n personId = keypersonBean.getPersonId();\r\n }\r\n \r\n if(name != null && name.trim().length()>0){\r\n int selectedOption\r\n = showDeleteConfirmMessage(\r\n \"Do you want to remove \"+name+\"?\");\r\n if( selectedOption == JOptionPane.YES_OPTION ){\r\n //deleting all the unit under the keyperson\r\n//CoeusVector delunits;\r\n// KeyPersonUnitBean kpunit;\r\n// delunits=keypersonBean.getKeyPersonsUnits();\r\n// for(int i=0;i<delunits.size();i++)\r\n// {kpunit=(KeyPersonUnitBean)keypersonBean.getKeyPersonsUnits().get(i);\r\n// if(kpunit!=null){updateKeyperson(keypersonBean.getPersonId(),kpunit);}}\r\n// while(delunits.size()>0)\r\n// {kpunit=(KeyPersonUnitBean)keypersonBean.getKeyPersonsUnits().get(0);\r\n// if(kpunit!=null){performDeleteUnit(true);}\r\n// }\r\n\r\n if(personId != null && personId.trim().length()>0){\r\n cvKeypersons.remove(selectedRow);\r\n String acType = keypersonBean.getAcType();\r\n if( null == acType || UPDATE_RECORD.equals(acType)){\r\n keypersonBean.setAcType(DELETE_RECORD);\r\n deletedKeyPersons.add(keypersonBean);\r\n }\r\n keyPersonTableModel.fireTableRowsDeleted(selectedRow, selectedRow);\r\n }\r\n dataChanged = true;\r\n }\r\n }else{\r\n int selectedOption = showDeleteConfirmMessage(coeusMessageResources.parseMessageKey(\r\n \"keyPerson_exceptionCode.1603\"));\r\n if( selectedOption == JOptionPane.YES_OPTION ){\r\n cvKeypersons.remove(selectedRow);\r\n keyPersonTableModel.fireTableDataChanged();\r\n dataChanged = true;\r\n }\r\n }\r\n if( keyPersonForm.tblInvestigator.getRowCount() <= 0 ){\r\n keyPersonForm.btnDelete.setEnabled( false );\r\n keyPersonForm.tblUnits.setRowSelectionInterval(0,0);\r\n // keyPersonForm.repaint();tblUnits\r\n // updateUnits();\r\n unitTableModel.setData(null);\r\n unitTableModel.fireTableDataChanged();\r\n keyPersonForm.tblInvestigator.requestFocusInWindow();\r\n keyPersonForm.btnAdd.requestFocusInWindow();\r\n }\r\n \r\n int newRowCount = keyPersonForm.tblInvestigator.getRowCount();\r\n if(newRowCount >0){\r\n if(newRowCount > selectedRow){\r\n keyPersonForm.tblInvestigator.setRowSelectionInterval(selectedRow,\r\n selectedRow);\r\n }else{\r\n keyPersonForm.tblInvestigator.setRowSelectionInterval(\r\n newRowCount - 1,newRowCount - 1);\r\n }\r\n \r\n }\r\n }else{\r\n showWarningMessage(coeusMessageResources.parseMessageKey(\r\n \"keyPerson_exceptionCode.1604\"));\r\n }\r\n }", "title": "" }, { "docid": "9f315315779559d12ba921be3e0f76ff", "score": "0.52488893", "text": "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tdh.open();\n\t\t\t\treturnvalue= dh.deleteBikeDetails(bikename);\n\t\t\t\tSystem.out.println(\"bike details deleted\"+returnvalue);\n\t\t\t ArrayList<String> bikepurchasedetails=dh.getBikPurchaseeDetails(bikename);\n\t\t\t ArrayList<String> bikedeparturedetails=dh.getBikdepartureDetails(bikename);\n\t\t\t ArrayList<String> bikeexpencesdetails=dh.getBikExpencesDetails(bikename);\n\t\t\t\t;\n\t\t\t\t if(!bikepurchasedetails.isEmpty()){\n\t\t\t\t\t\t\n\t\t\t\t\t\t returnvalue1= dh.deleteBikepurchaseDetails(bikename);\n\t\t\t\t\t\t System.out.println(\"BikepurchaseDetails deleted\");\n\t\t\t\t\t\t \n\t\t\t\t\t}if(!bikedeparturedetails.isEmpty()) {\n\t\t\t\t\t\t//delete departure detiails\n\t\t\t\t\t\t Boolean returnvalue2= dh.deleteBikeDepartureDetails(bikename);\n\t\t\t\t\t\t System.out.println(\"bike departure details deleted\");\n\t\t\t\t\t\t\n\t\t\t\t\t}if(!bikeexpencesdetails.isEmpty()){\n\t\t\t\t\t\t//delete expences details\n\t\t\t\t\t\treturnvalue3= dh.deleteBikeExpencesDetails(bikename);\n\t\t\t\t\t\tSystem.out.println(\"bike expences details deleted\");\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t dh.close();\n\t\t\t\t finish();\n\t\t\t\t /*\n\t\t\t \n\t\t\t \n\t\t\t // dh.open();\n\t\t\t\t\t\n\t\t\t\t\t//dh.close();\n\t\t\t\t\tif(!bikedetails1.isEmpty()){\n\t\t\t\t\t\tpurchase_date_set.setText(\":\"+\" \"+bikedetails1.get(0).toString());\n\t\t\t\t\t\tpurchase_price_set.setText(\":\"+\" \"+bikedetails1.get(1).toString());\n\t\t\t\t\t\tpurchase_notes_set.setText(\":\"+\" \"+bikedetails1.get(2).toString());\n\t\t\t\t\t\t returnvalue1= db.deleteBikepurchaseDetails(bikename);\n\t\t\t\t\t\t returnvalue= db.deleteBikeDetails(bikename);\n\t\t\t\t\t}\n\t\t\t\t\treturnvalue= db.deleteBikeDetails(bikename);\n\t\t\t\t if (((returnvalue)&&(returnvalue1))) {\n\t\t\t\t\t\n\t\t\t\t\t returnvalue2= db.deleteBikeDepartureDetails(bikename);\t\n\t\t\t\t}\n\t\t\t\t \n\t\t\t\t if (returnvalue2) {\n\t\t\t\t\t check1=true;\n\t\t\t\t\t returnvalue3= db.deleteBikeExpencesDetails(bikename);\n\t\t\t\t\t \n\t\t\t\t}\n\t\t\t\t db.close();\n\t\t\t\t if (returnvalue3) {\n\t\t\t\t\t check2=true;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t if (returnvalue&&returnvalue1&&check1&&check2) {\n\t\t\t\t\t Toast.makeText(DeleteBikeDetails.this, \"Your \"+bikename +\"Details Are Deleted\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t startActivity(new Intent(DeleteBikeDetails.this, Bike.class));\n\t\t\t\t\t finish();\n\t\t\t\t}\n\t\t\t\t else{\n\t\t\t\t\tSystem.out.println(\"deleted>>>>>>>>>>>>>>>>>>>>>>\"+returnvalue+returnvalue1);\n\t\t\t\t}*/\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8e9a0cf92fbd26ae5090d7237bed63ef", "score": "0.5246747", "text": "public void deleteItem() throws SQLException {\r\n publisherUnitsAdapter.deletePublisherUnit(oldName.getValue().trim());\r\n Stage stage = (Stage) deleteButton.getScene().getWindow();\r\n stage.close();\r\n }", "title": "" }, { "docid": "fd4e549167835c6646285ea22430852a", "score": "0.5239203", "text": "void unsetGetProductPackageProductMatchingFileDataResult();", "title": "" }, { "docid": "756713229618721bd6406812bcca079a", "score": "0.52382123", "text": "private void deleteReport(Operators os, String code) {\r\n\t\tString sql = \" from Trpreport as a where a.code='\" + code + \"'\";\r\n\t\tList list = dao.iterate(sql);\r\n\t\tfor (Object o : list) {\r\n\t\t\tTrpreport po = (Trpreport) o;\r\n\t\t\tos.addDeleteObject(po);\r\n\t\t\t\r\n\t\t\tStringBuffer hql = new StringBuffer();\r\n\t\t\thql.append(\" delete from Trpreportdatasource where trpreportid=\");\r\n\t\t\thql.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql.toString());\r\n\r\n\t\t\tStringBuffer hql1 = new StringBuffer();\r\n\t\t\thql1.append(\" delete from Trpreportcondition where trpreportid=\");\r\n\t\t\thql1.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql1.toString());\r\n\r\n\t\t\tStringBuffer hql2 = new StringBuffer();\r\n\t\t\thql2.append(\" delete from Trpreportplugin where trpreportid=\");\r\n\t\t\thql2.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql2.toString());\r\n\r\n\t\t\tStringBuffer hql3 = new StringBuffer();\r\n\t\t\thql3.append(\" delete from Trpreportdtl where trpreportid=\");\r\n\t\t\thql3.append(po.getTrpreportid());\r\n\t\t\tos.addScriptObject(hql3.toString());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "47e392a28c6d81fb546395981e9c464f", "score": "0.52365315", "text": "protected void vdMakeProcessIDObsoleteInAllProcessTables(long lProcessID)\r\n\t\t\tthrows Exception { // Starting Braces of the Function\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\r\n\t\ttry {\r\n\r\n\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t\tProcessRow processRow = null; // Initializing the Object Class for the PROCESS table\r\n\r\n\t\t\tprocessTable = (Process) teleSessionMgr.getTable(string_PROCESS); // Getting the PROCESS table from the session\r\n\t\t\t//processRow = new ProcessRow();\r\n\t\t\tprocessRow = (ProcessRow) processTable\r\n\t\t\t\t\t.prSearchByProcessIDandObsolete(lProcessID, FINAL_ZERO);\r\n\r\n\t\t\tif (null != processRow) {\r\n\t\t\t\tif (null != processTable) {\r\n\t\t\t\t\tif (null != processRow) {\r\n\r\n\t\t\t\t\t\t// ****************STARTING*****************TO PRINT QUERRY**********************************************\r\n\t\t\t\t\t\tif ((GAfePropertyLoader.DEBUG)) {\r\n\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t\t// System.out.println(\"Deleted Process : \" + processRow.lProcessID + \" from the Process Table\");\r\n\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// ****************ENDING*******************TO PRINT QUERRY**********************************************\r\n\r\n\t\t\t\t\t\t// Updating All the Values Over here\r\n\t\t\t\t\t\tprocessRow.iObsolete = NOTEXISTS;\r\n\t\t\t\t\t\tprocessRow.strModificationUser = bSession.strUserName;\r\n\r\n\t\t\t\t\t\tif ((processRow.iStatusInDB == Record.VIEW)\r\n\t\t\t\t\t\t\t\t|| (processRow.iStatusInDB == Record.UPDATE)) {\r\n\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t\t// BEGIN DELETE V5.21a\r\n\t\t\t\t\t\t\t// comment: As per Change NSA flow the below code nothing needs to be done\r\n\r\n\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t * processRow.iStatusInDB = Record.UPDATE;\r\n\t\t\t\t\t\t\t * processTable.updateRecord(processRow);\r\n\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t// END DELETE V5.21a\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// when iStatusInDB is equal to Record.INSERT\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tprocessRow.iStatusInDB = Record.DELETE;\r\n\t\t\t\t\t\t\tprocessTable.deleteRecord(processRow.lProcessID);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} // end of the if loop\r\n\t\t\t\t} // end of the if loop\r\n\r\n\t\t\t\t// Put the container back into the session\r\n\t\t\t\tteleSessionMgr.putTable(string_PROCESS, processTable);\r\n\t\t\t} // end of the if loop\r\n\r\n\t\t\tProcessLinkRow processLinkRow = null; // Initializing the Object Class for the Vat table\r\n\r\n\t\t\tprocessLinkTable = (ProcessLink) teleSessionMgr\r\n\t\t\t\t\t.getTable(string_PROCESSLINK); // Getting the Vat table from the session\r\n\r\n\t\t\tVector vctProcessLinkRow = null;\r\n\r\n\t\t\tvctProcessLinkRow = processLinkTable\r\n\t\t\t\t\t.vctSearchByProcessIDandObsolete(lProcessID, FINAL_ZERO);\r\n\r\n\t\t\tif ((null != vctProcessLinkRow)\r\n\t\t\t\t\t&& (FINAL_ZERO != vctProcessLinkRow.size())) {\r\n\t\t\t\tfor (int iCounter = FINAL_ZERO; iCounter < vctProcessLinkRow\r\n\t\t\t\t\t\t.size(); iCounter++) {\r\n\t\t\t\t\tprocessLinkRow = new ProcessLinkRow();\r\n\t\t\t\t\tprocessLinkRow = (ProcessLinkRow) vctProcessLinkRow\r\n\t\t\t\t\t\t\t.elementAt(iCounter);\r\n\r\n\t\t\t\t\tif (null != processLinkTable) {\r\n\r\n\t\t\t\t\t\t// If the ProcessLink Row is not null and is not obsolete then to mark them for deletion\r\n\t\t\t\t\t\tif ((null != processLinkRow)\r\n\t\t\t\t\t\t\t\t&& (FINAL_ONE != processLinkRow.iObsolete)) {\r\n\r\n\t\t\t\t\t\t\t/** **************STARTING*****************TO PRINT QUERRY******************************************** */\r\n\t\t\t\t\t\t\tif ((GAfePropertyLoader.DEBUG)) {\r\n\t\t\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t\t\t// System.out.println(\"Deleted ProcessLink : \" + processLinkRow.lProcessLinkID + \" from the ProcessLink Table\");\r\n\t\t\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/** **************ENDING*******************TO PRINT QUERRY******************************************** */\r\n\r\n\t\t\t\t\t\t\t// Updating All the Values Over here\r\n\t\t\t\t\t\t\tprocessLinkRow.iObsolete = NOTEXISTS;\r\n\t\t\t\t\t\t\tprocessLinkRow.strModificationUser = bSession.strUserName;\r\n\r\n\t\t\t\t\t\t\tif ((processLinkRow.iStatusInDB == Record.VIEW)\r\n\t\t\t\t\t\t\t\t\t|| (processLinkRow.iStatusInDB == Record.UPDATE)) {\r\n\t\t\t\t\t\t\t\tprocessLinkRow.iStatusInDB = Record.UPDATE;\r\n\t\t\t\t\t\t\t\tprocessLinkTable.updateRecord(processLinkRow);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t// when iStatusInDB is equal to Record.INSERT\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tprocessLinkRow.iStatusInDB = Record.DELETE;\r\n\t\t\t\t\t\t\t\tprocessLinkTable\r\n\t\t\t\t\t\t\t\t\t\t.deleteRecord(processLinkRow.lProcessLinkID);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} // end of the if loop\r\n\r\n\t\t\t\t\t\t// Put the container back into the session\r\n\t\t\t\t\t\tteleSessionMgr\r\n\t\t\t\t\t\t\t\t.putTable(string_PROCESSLINK, processLinkTable);\r\n\t\t\t\t\t} // end of the if loop\r\n\t\t\t\t} // end of the for loop\r\n\t\t\t} // end of the if loop\r\n\r\n\t\t\tProcessStatusRow processStatusRow = null; // Initializing the Object Class for the Vat table\r\n\r\n\t\t\tprocessStatusTable = (ProcessStatus) teleSessionMgr\r\n\t\t\t\t\t.getTable(string_PROCESSSTATUS); // Getting the Vat table from the session\r\n\t\t\tprocessStatusRow = processStatusTable\r\n\t\t\t\t\t.psrSearchByProcessID(lProcessID);\r\n\r\n\t\t\tif (null != processStatusTable) {\r\n\r\n\t\t\t\t// If the ProcessStatus Row is not null and is not obsolete then to mark them for deletion\r\n\t\t\t\tif ((null != processStatusRow)\r\n\t\t\t\t\t\t&& (FINAL_ONE != processStatusRow.iObsolete)) {\r\n\r\n\t\t\t\t\t/** **************STARTING*****************TO PRINT QUERRY******************************************** */\r\n\t\t\t\t\tif ((GAfePropertyLoader.DEBUG)) {\r\n\t\t\t\t\t\tGLogger.chkpt(\"Inside if statement\");\r\n\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t\t// System.out.println(\"Deleted ProcessStatus : \" + processStatusRow.lProcessStatusID + \" from the ProcessStatus Table\");\r\n\t\t\t\t\t\t// System.out.println(\"********************************************************************\");\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/** **************ENDING*******************TO PRINT QUERRY******************************************** */\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.21a\r\n\t\t\t\t\t// comment: only insertion in processstatus as per Change NSA Flow doc\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t *\r\n\t\t\t\t\t * //Updating All the Values Over here\r\n\t\t\t\t\t * processStatusRow.iObsolete = NOTEXISTS;\r\n\t\t\t\t\t * processStatusRow.strModificationUser = bSession.strUserName;\r\n\t\t\t\t\t *\r\n\t\t\t\t\t * //Begin : Add ver 2.43 by Abhishek\r\n\t\t\t\t\t * processStatusRow.lProcessStatusTypeID = GAfeDescription.lGetTypeId(\"PROCESSSTATUSTYPE_NP_CANCELLED\");\r\n\t\t\t\t\t * //End : Add ver 2.43 by Abhishek\r\n\t\t\t\t\t */\r\n\r\n\t\t\t\t\t// END DELETE V5.21a\r\n\t\t\t\t\tif ((processStatusRow.iStatusInDB == Record.VIEW)\r\n\t\t\t\t\t\t\t|| (processStatusRow.iStatusInDB == Record.UPDATE)) {\r\n\r\n\t\t\t\t\t\t// BEGIN DELETE V5.21a\r\n\t\t\t\t\t\t// comment: only insertion in process table\r\n\r\n\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t * processStatusRow.iStatusInDB = Record.UPDATE;\r\n\t\t\t\t\t\t * processStatusTable.updateRecord(processStatusRow);\r\n\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t// END DELETE V5.21a\r\n\t\t\t\t\t\t// BEGIN ADD V5.21a\r\n\t\t\t\t\t\t// comment: code to add a process status row with status cancel\r\n\t\t\t\t\t\t// Inserting a Record in Process Status table\r\n\t\t\t\t\t\tprocessStatusRow = null;\r\n\t\t\t\t\t\tprocessStatusRow = new ProcessStatusRow();\r\n\t\t\t\t\t\tprocessStatusRow.iStatusInDB = Record.INSERT;\r\n\t\t\t\t\t\tprocessStatusRow.lProcessStatusID = processStatusRow\r\n\t\t\t\t\t\t\t\t.lNewNr();\r\n\t\t\t\t\t\tprocessStatusRow.lProcessID = lProcessID;\r\n\t\t\t\t\t\tprocessStatusRow.lProcessStatusTypeID = GAfeDescription\r\n\t\t\t\t\t\t\t\t.lGetTypeId(\"PROCESSSTATUSTYPE_NP_CANCELLED\");\r\n\t\t\t\t\t\tprocessStatusRow.strCreationUser = bSession.strUserName;\r\n\t\t\t\t\t\tprocessStatusRow.strModificationUser = bSession.strUserName;\r\n\t\t\t\t\t\tprocessStatusTable.addUniqueRecord(processStatusRow);\r\n\r\n\t\t\t\t\t\t// END ADD V5.21a\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// when iStatusInDB is equal to Record.INSERT\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tprocessStatusRow.iStatusInDB = Record.DELETE;\r\n\t\t\t\t\t\tprocessStatusTable\r\n\t\t\t\t\t\t\t\t.deleteRecord(processStatusRow.lProcessStatusID);\r\n\t\t\t\t\t}\r\n\t\t\t\t} // end of the if loop\r\n\r\n\t\t\t\t// Put the container back into the session\r\n\t\t\t\tteleSessionMgr.putTable(string_PROCESSSTATUS, processStatusTable);\r\n\t\t\t} // end of the if loop\r\n\r\n\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t} // end of the if loop\r\n\t\tcatch (Exception ex) {\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t//ex.printStackTrace(System.out);\r\n\t\t\t\tGLogger.logException(ex);\r\n\t\t\t}\r\n\r\n\t\t\tAfeException afe = new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\r\n\r\n\t\t\tthrow afe;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "318dcf9699aa99ed6deb0dad10abd1c1", "score": "0.52311885", "text": "public void deleteAccount(){\r\n\t\tString number = askNumber();\r\n\t\tString name = askName();\r\n\t\tthis.AccountList.remove(number);\r\n\t\tthis.dailySummary.add(\"DEL \" + number + \" 000 \" + \"0000000 \" + name);\r\n\t\tSystem.out.println(\"Delete Transaction Complete\");\r\n\t\t\t\r\n\r\n\t\t}", "title": "" }, { "docid": "2c6ac5f7db0af3fe00f85a520843129c", "score": "0.52265394", "text": "void deleteRequirement(Integer requirementId, Integer projectId) throws SquareException;", "title": "" }, { "docid": "1bda14dd215f7f3d6d006557516bc4e3", "score": "0.52177536", "text": "public\n\tvoid exec()\n\t{\t\n\t\tms.removeLocalMem();\t\t\n\t}", "title": "" }, { "docid": "caf00fd56e87f2f6fe414af6ee329b62", "score": "0.5216007", "text": "void delete(Workflowdefine workflowdefine);", "title": "" }, { "docid": "ab42521b79bb2f4bfd4d18c4f957cfb2", "score": "0.5215948", "text": "public int deleteInventory(int id);", "title": "" }, { "docid": "50409223877bd1f5b3c11b431c47ae13", "score": "0.5209514", "text": "@Override\n\tprotected void executeInternal(JobExecutionContext context) throws JobExecutionException {\n\t\tlogger.info(\"(投资计划结清)处理开始 实例ID:\"+context.getFireInstanceId());\n\t\tList<UserPlan> userPlans = zqzrManage.getUserPlansInQuit(null);\n\t\tif(userPlans!=null && userPlans.size()>0){\n\t\t\tfor(UserPlan userPlan : userPlans){\n\t\t\t\ttry {\n\t\t\t\t\tzqzrManage.doSettlementPlan(userPlan);\n\t\t\t\t}catch(Throwable e){\n\t\t\t\t\tlogger.error(\"(投资计划结清)处理异常:userPlan:({}),异常信息:({})\", JSON.toJSONString(userPlan),e.toString());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"(投资计划结清)结清处理结束({})\",userPlans.size());\n\t}", "title": "" }, { "docid": "0a3ee594cf790bc65a2caceb0c48792f", "score": "0.5206427", "text": "public static void void_receipt_items(String num, String prod_num,String prod_name,String qty,String price) {\r\n\r\n \r\n\r\n try {\r\n Connection conn = MyConnection1.connect();\r\n\r\n String s1 = \"delete from \"+MyDB.getNames()+\".receipt_items where id='\" + num + \"'\";\r\n PreparedStatement stmt1 = conn.prepareStatement(s1);\r\n stmt1.execute();\r\n\r\n\r\n \r\n SimpleDateFormat sf=new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\r\n String date=sf.format(new Date());\r\n \r\n \r\n double qty1=S9_add_product.get_product_qty(prod_name);\r\n double total=Double.parseDouble(qty)+qty1;\r\n String s2 = \"update \"+MyDB.getNames()+\".inventory2_stocks_left set product_qty='\"+total+\"'where prod_num='\" + prod_num + \"'\";\r\n PreparedStatement stmt2 = conn.prepareStatement(s2);\r\n stmt2.execute();\r\n \r\n String s3=\"insert into \"+MyDB.getNames()+\".cancelled_order(or_num,or_date,prod_name,qty,price)values(?,?,?,?,?)\";\r\n PreparedStatement stmt3 = conn.prepareStatement(s3);\r\n stmt3.setString(1,num);\r\n stmt3.setString(2,date);\r\n stmt3.setString(3,prod_name);\r\n stmt3.setString(4,qty);\r\n stmt3.setString(5,price); \r\n stmt3.execute();\r\n \r\n Prompt.call(\"Transaction Cancelled\");\r\n// JOptionPane.showMessageDialog(null, \"Transaction Cancelled\");\r\n\r\n } catch (Exception e) {\r\n throw new RuntimeException(e);\r\n } finally {\r\n MyConnection1.close();\r\n }\r\n }", "title": "" }, { "docid": "fd255873b907fb1c611602536ea4b6a4", "score": "0.5205085", "text": "private static void cleanTablesPDV() {\n Connection conn = null;\n Statement st;\n String sql = \"DELETE FROM produtos;\"\n + \"DELETE FROM vendpdv;\"\n + \"DELETE FROM vpropdv;\";\n try {\n conn = openConnection();\n st = conn.createStatement();\n st.executeUpdate(sql);\n System.out.println(\"LIMPOU TABELAS DBPDV\");\n } catch (SQLException e) {\n System.out.println(\"ERRO AO ABRIR CONEXAO COM DBJPDV: \" + e);\n } catch (ClassNotFoundException e) {\n System.out.println(\"ERRO COM ARQUIVO DBJPDV: \" + e);\n } finally {\n closeSQLite(conn);\n }\n }", "title": "" }, { "docid": "2201bdc4021cd22b7b6c868114a491ec", "score": "0.52034664", "text": "public int iValidateUnSelect(BProductDetailProperty bProductDetailProperty,\r\n\t\t\tBProductDetail bProductDetail, Long lProductID) throws Exception { // Starting Braces of the Function\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Starts **************************************************** */\r\n\t\tint iFirstCheck = 0; // Local Varaible Declaration\r\n\t\tint iSecondCheck = 0; // Local Varaible Declaration\r\n\t\tint iMin; // Local Varaible Declaration\r\n\t\tint iMax; // Local Varaible Declaration\r\n\t\tint iCount = 0; // Local Varaible Declaration\r\n\t\tLong lOptionGroupID; // Local Varaible Declaration\r\n\r\n\t\t// BEGIN ADD V5.20a\r\n\t\t// Comment: Changes made for Security Service\r\n\t\t// Begin DEL v9.01d\r\n\t\t// Vector vctProduct = null;\r\n\t\t// int iSizeOfVector = 0;\r\n\t\t// long lTempProdId = 0;\r\n\t\t// boolean bCheck = false;\r\n\t\t// boolean bNotProvisioned = false;\r\n\t\t// End DEL v9.01d\r\n\t\t// END ADD V5.20a\r\n\r\n\t\t/** ************ Variable Declaration/Initialisation Ends ****************************************************** */\r\n\t\ttry {\r\n\r\n\t\t\t// Begin DEL v9.01d\r\n\t\t\t// StringBuffer strSql = new StringBuffer(\"\"); //Defining a String Buffer to make the Sql querry\r\n\t\t\t// End DEL v9.01d\r\n\r\n\t\t\t/**\r\n\t\t\t * **************STARTING*****************TO PRINT THE DATA\r\n\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t * {\r\n\t\t\t * System.out.println(\"iHidden --> \" +bProductDetail.iHidden);\r\n\t\t\t * }\r\n\t\t\t * /****************ENDING*******************TO PRINT THE DATA******************************************\r\n\t\t\t */\r\n\t\t\t// BEGIN DELETE V5.20a\r\n\t\t\t// Comment: Changes made for Security Service\r\n\t\t\t/*\r\n\t\t\t * if(FINAL_ONE == bProductDetail.iHidden)\r\n\t\t\t */\r\n\r\n\t\t\t// END DELETE V5.20a\r\n\t\t\t// BEGIN ADD V5.20a\r\n\t\t\t// Comment: Changes made for Security Service\r\n\t\t\t//BEGIN DELETE V5.60b\r\n\t\t\t//Comment: deleting this as Security product can be available in both the grid and can be moved.\r\n\t\t\t/*\r\n\t\t\t vctProduct = GAfeDescription.vctGetAllTypeIds(GAfeConstants.PRODUCT_SPECIALTYPE);\r\n\t\t\t if (null != vctProduct && 0 != vctProduct.size())\r\n\t\t\t {\r\n\t\t\t iSizeOfVector = vctProduct.size();\r\n\t\t\t for (int iCnt = 0;iCnt < iSizeOfVector;iCnt++ )\r\n\t\t\t {\r\n\t\t\t lTempProdId = Long.parseLong((String)vctProduct.elementAt(iCnt));\r\n\t\t\t if (lTempProdId == bProductDetail.lProductID.longValue())\r\n\t\t\t {\r\n\t\t\t bCheck = true;\r\n\t\t\t if (null == bProductDetail.dtActivationDate)\r\n\t\t\t {\r\n\t\t\t bNotProvisioned = true;\r\n\t\t\t }\r\n\t\t\t else\r\n\t\t\t {\r\n\t\t\t if (null != bProductDetailProperty && null != bProductDetailProperty.lCustomerProductLineID)\r\n\t\t\t {\r\n\t\t\t bNotProvisioned = bCheckProvisionStatus(bProductDetailProperty.lCustomerProductLineID.longValue());\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t break;\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t if (true == bCheck && true == bNotProvisioned)\r\n\t\t\t {\r\n\t\t\t //BEGIN DELETE V 5.25a\r\n\t\t\t //Need to modify error lables mismatch\r\n\t\t\t //throw new AfeException(GErrorCodes.ERRAFE_00812); // This product can not be deactivated as they are not provisioned.\r\n\t\t\t //END DELETE V 5.25a\r\n\t\t\t //BEGIN ADD V 5.25a\r\n\t\t\t //Need to modify error lables mismatch\r\n\t\t\t throw new AfeException(GErrorCodes.ERRAFE_00830); // This product can not be deactivated as they are not provisioned.\r\n\t\t\t //END ADD V 5.25a\r\n\t\t\t }\r\n\r\n\r\n\r\n\t\t\t else if (FINAL_ONE == bProductDetail.iHidden && !bCheck)\r\n\t\t\t //END ADD V5.20a\r\n\t\t\t {\r\n\t\t\t throw new AfeException(\"ERRAFE_00508\"); //This is a Special Product Based On Your Selection So Cannot be Removed\r\n\t\t\t }\r\n\t\t\t else\r\n\t\t\t {\r\n\t\t\t */\r\n\r\n\t\t\t// END DELETE 5.60b\r\n\t\t\tiFirstCheck = 1;\r\n\r\n\t\t\t// BEGIN DELETE 5.60b\r\n\r\n\t\t\t// }\r\n\t\t\t//END DELETE5.60b\r\n\t\t\tif (iFirstCheck == 1) {\r\n\t\t\t\tlOptionGroupID = bProductDetail.lOptionGroupID;\r\n\r\n\t\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\t\t\t\tOptionGroupRow optionGroupRow = null; // Initializing the Object Class for the OptionGroup table\r\n\r\n\t\t\t\tif (null == optionGroupTable) {\r\n\t\t\t\t\toptionGroupTable = (OptionGroup) teleSessionMgr\r\n\t\t\t\t\t\t\t.getMasterTable(string_OPTIONGROUP); // Getting the OptionGroup table from the session\r\n\t\t\t\t}\r\n\r\n\t\t\t\toptionGroupRow = optionGroupTable\r\n\t\t\t\t\t\t.prSearchByOptionGroupIDandObsolete(lOptionGroupID\r\n\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO);\r\n\r\n\t\t\t\t/**\r\n\t\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t * {\r\n\t\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t\t * strSql.append(\"SELECT MINMANDPRODUCTS, MAXMANDPRODUCTS FROM OPTIONGROUP WHERE OPTIONGROUPID = \").append(lOptionGroupID);\r\n\t\t\t\t * strSql.append(\" AND OBSOLETE = \").append(FINAL_ZERO);\r\n\t\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t\t * }\r\n\t\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t\t */\r\n\t\t\t\tiMin = optionGroupRow.iMinMandProducts;\r\n\t\t\t\tiMax = optionGroupRow.iMaxMandProducts;\r\n\r\n\t\t\t\t/** **************************************MAKING OF NEXT QUERRY************************************** */\r\n\r\n\t\t\t\t// Begin DEL v9.01d\r\n\t\t\t\t// OptionProductRow optionProductRow = null; // Initializing the Object Class for the OptionGroup table\r\n\t\t\t\t// End DEL v9.01d\r\n\t\t\t\tif (null == optionProductTable) {\r\n\t\t\t\t\toptionProductTable = (OptionProduct) teleSessionMgr\r\n\t\t\t\t\t\t\t.getMasterTable(string_OPTIONPRODUCT); // Getting the OptionGroup table from the session\r\n\t\t\t\t}\r\n\r\n\t\t\t\tVector vctObjOPIDOInternal = null;\r\n\r\n\t\t\t\t// BEGIN DELETE v5.80a\r\n\t\t\t\t// vctObjOPIDOInternal = optionProductTable.vctSearchByOptionGroupIDandObsolete(lOptionGroupID.longValue(), FINAL_ZERO);\r\n\t\t\t\t// END DELETE v5.80a\r\n\t\t\t\t// BEGIN ADD v5.80a\r\n\t\t\t\tvctObjOPIDOInternal = optionProductTable\r\n\t\t\t\t\t\t.vctSearchByOptionGroupIDandObsolete(lOptionGroupID\r\n\t\t\t\t\t\t\t\t.longValue(), FINAL_ZERO,\r\n\t\t\t\t\t\t\t\tbProductDetailProperty.iRateClassIDNew);\r\n\r\n\t\t\t\t// END ADD v5.80a\r\n\r\n\t\t\t\t/**\r\n\t\t\t\t * **************STARTING*****************TO PRINT QUERRY\r\n\t\t\t\t * if(GAfePropertyLoader.DEBUG)\r\n\t\t\t\t * {\r\n\t\t\t\t * strSql.setLength(0); //Initialising\r\n\t\t\t\t * strSql.append(\"SELECT COUNT(*) LCOUNT FROM OPTIONPRODUCT WHERE OPTIONGROUPID = \").append(lOptionGroupID);\r\n\t\t\t\t * strSql.append(\" AND OBSOLETE = \").append(FINAL_ZERO);\r\n\t\t\t\t * System.out.println(\"The Querry is : \" + strSql.toString());\r\n\t\t\t\t * }\r\n\t\t\t\t * /****************ENDING*******************TO PRINT QUERRY*********************************************\r\n\t\t\t\t */\r\n\t\t\t\tif (null != vctObjOPIDOInternal) {\r\n\t\t\t\t\tiCount = vctObjOPIDOInternal.size();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// BEGIN ADD : V5.34\r\n\t\t\t\tint iSizeOfSelVec = bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t.size();\r\n\t\t\t\tint iNoOfOccurences = 0;\r\n\r\n\t\t\t\tbProductDetail = null;\r\n\r\n\t\t\t\tfor (int iCountProds = 0; iCountProds < iSizeOfSelVec; iCountProds++) {\r\n\t\t\t\t\tbProductDetail = (BProductDetail) bProductDetailProperty.vctProductSelected\r\n\t\t\t\t\t\t\t.elementAt(iCountProds);\r\n\r\n\t\t\t\t\tif (lProductID.longValue() == bProductDetail.lProductID\r\n\t\t\t\t\t\t\t.longValue()) {\r\n\t\t\t\t\t\tiNoOfOccurences++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// END ADD : V5.34\r\n\r\n\t\t\t\tif ((iMin == iCount) && (iCount == iMax)) {\r\n\r\n\t\t\t\t\t// BEGIN MODIFY : V5.34\r\n\t\t\t\t\t// Added Condition to check for No Of Occurences of the Product Greated than Max Count.\r\n\t\t\t\t\t// BEGIN DELETE V5.69a\r\n\t\t\t\t\t// if (iNoOfOccurences > iMax)\r\n\t\t\t\t\t// END DELETE V5.69a\r\n\t\t\t\t\t// BEGIN ADD V5.69a\r\n\t\t\t\t\tif (iNoOfOccurences <= iMax)\r\n\r\n\t\t\t\t\t// END ADD V5.69a\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tthrow new AfeException(\"ERRAFE_00509\"); /* This Product is a Mandatory Product and Cannot be Unselected */\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tiSecondCheck = 1;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// END MODIFY : V5.34\r\n\r\n\t\t\t\t\t// BEGIN DELETE V5.35b\r\n\t\t\t\t\t// comment: not required\r\n\t\t\t\t\t// BEGIN ADD V5.34a\r\n\t\t\t\t\t// comment: incorporating changes done by Amit Sharma for LN323\r\n\t\t\t\t\t// throw new AfeException(\"ERRAFE_00509\"); /*This Product is a Mandatory Product and Cannot be Unselected*/\r\n\t\t\t\t\t// END ADD V5.34a\r\n\t\t\t\t\t// END DELETE V5.35b\r\n\t\t\t\t} // end of the if loop\r\n\t\t\t\telse {\r\n\t\t\t\t\tiSecondCheck = 1;\r\n\t\t\t\t} // end of the else part of the if loop\r\n\t\t\t} // end of the if loop\r\n\t\t} catch (AfeException afee) // catch block starts to catch exceptions\r\n\t\t{\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\r\n\t\t\t\t/* BEGIN DELETE VER: 5.59tan */\r\n\r\n\t\t\t\t// System.out.println(afee.strGetErrCode() + \" ---------- \" +afee.strGetErrMsg());\r\n\t\t\t\t/* END DELETE VER: 5.59tan */\r\n\t\t\t\t//afee.printStackTrace(System.out);\r\n\t\t\t\tGLogger.logException(afee);\r\n\t\t\t}\r\n\r\n\t\t\tthrow afee;\r\n\t\t} catch (Exception ex) {\r\n\t\t\tif (GAfePropertyLoader.DEBUG) {\r\n\t\t\t\t//ex.printStackTrace(System.out);\r\n\t\t\t\tGLogger.logException(ex);\r\n\t\t\t}\r\n\r\n\t\t\tAfeException afe = new AfeException(string_ERRCOM_00002, ex.getMessage()); // unknown exception occurred\r\n\r\n\t\t\tthrow afe;\r\n\t\t}\r\n\r\n\t\t// Returning of the String\r\n\t\treturn iSecondCheck;\r\n\t}", "title": "" }, { "docid": "36accad12f5bf2df6075022f55d28084", "score": "0.5196971", "text": "public void delete() {\n System.out.println(\"Remove a Promotion\");\n System.out.println(\"---------------------\");\n // find if the Promotion is in the database or not //\n System.out.println(\"Enter the name of the Promotion:\");\n String name = sc.nextLine();\n if (Database_Controller.getPromotionByName(name) == null) {\n System.out.println(\"Promotion \" + name+ \" does not exist!\");\n\n } else {\n Database_Controller.deletePromotion(name);// =---- from the database\n System.out.println(\"Promotion removed!\");\n\n }\n }", "title": "" }, { "docid": "99b3d9499f993fd3b6fe59a620e781cd", "score": "0.5194154", "text": "@Override\n public void execute() {\n m_climber.retractArms();\n }", "title": "" }, { "docid": "35e251f018b06062d43ffe0056c95efc", "score": "0.51931095", "text": "public void deletePricingModelData() {\n\n\t\tSet<String> keys = mPricePointTiers.keySet() ;\n\t\tIterator<String> iter = keys.iterator();\n\t\tObject key;\n\t\tPricePointTier tier;\n\t\twhile (iter.hasNext()) {\n\t\t\tkey = iter.next();\n\t\t\ttier =mPricePointTiers.get(key);\n\t\t\tif ( tier.isDefaultPPT() == false ) mPricePointTiers.remove(key);\n\t\t}\n\n\n\t}", "title": "" }, { "docid": "5d8a758452394974d740f21bf25c72c1", "score": "0.5189827", "text": "@Test\n public void whenDeleteExistingItemThenItMustBeDeleted() {\n final ArrayList<String> answers = new ArrayList<>(Arrays.asList(\n \"4\", \"1\", \"n\",\n \"2\", \"y\"\n ));\n String[] expectedOutput = new String[]{\n \"Successful deleting.\",\n \"No items to show\"\n };\n Input input = new ValidateStubInput(answers);\n StubOutput output = new StubOutput();\n Tracker tracker = new Tracker();\n tracker.add(new Task(\"1 task\", \"1 desc\"));\n new StartUI(tracker, input, output).init();\n assertThat(output.getAnswers(), is(Arrays.asList(expectedOutput)));\n }", "title": "" }, { "docid": "31e83e4b87a1af3e7db48375f99d6810", "score": "0.51857847", "text": "protected void deleteDataMaster(Connection conn) throws ReadWriteException\n\t{\n\t\t//#CM695788\n\t\t/*************************************\n\t\t * Delete the Consignor master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start consignorAutoRemover.suppress(holdDays) ****\");\n\t\tConsignorAutoRemover consignorAutoRemover = new ConsignorAutoRemover(conn);\n\t\tconsignorAutoRemover.setClassName(wProcessName);\n\t\tconsignorAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End consignorAutoRemover.suppress(holdDays) ****\");\n\n\t\t//#CM695789\n\t\t/*************************************\n\t\t * Delete the Supplier master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start supplierAutoRemover.suppress(holdDays) ****\");\n\t\tSupplierAutoRemover supplierAutoRemover = new SupplierAutoRemover(conn);\n\t\tsupplierAutoRemover.setClassName(wProcessName);\n\t\tsupplierAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End supplierAutoRemover.suppress(holdDays) ****\");\n\n\t\t//#CM695790\n\t\t/*************************************\n\t\t * Delete the Customer master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start customerAutoRemover.suppress(holdDays) ****\");\n\t\tCustomerAutoRemover customerAutoRemover = new CustomerAutoRemover(conn);\n\t\tcustomerAutoRemover.setClassName(wProcessName);\n\t\tcustomerAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End customerAutoRemover.suppress(holdDays) ****\");\n\n\t\t//#CM695791\n\t\t/*************************************\n\t\t * Delete the Item master info.\n\t\t *************************************/\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** Start itemAutoRemover.suppress(holdDays) ****\");\n\t\tItemAutoRemover itemAutoRemover = new ItemAutoRemover(conn);\n\t\titemAutoRemover.setClassName(wProcessName);\n\t\titemAutoRemover.suppress(wHoldDays);\nDEBUG.MSG(\"SCHEDULE\", wProcessName + \" **** End itemAutoRemover.suppress(holdDays) ****\");\n\t}", "title": "" }, { "docid": "c750eebe353be0f16dd71b8da1f25be1", "score": "0.5183707", "text": "@Override\r\n\tpublic int delete(BigDecimal pk) throws SQLException {\n\t\tinventoryConn = this.getConnection();\r\n\t\tList params = new ArrayList();\r\n\t\tparams.add(pk);\r\n\t\tint rows = this.executeUpdate(inventoryConn, SQL_DELETE, params.toArray());\r\n\t\tthis.closeConnection(inventoryConn);\r\n\t\treturn rows;\r\n\t}", "title": "" }, { "docid": "10083283094c7a428f25fc3032dd1bbb", "score": "0.5180766", "text": "@Test\n public void testDelProduct() {\n System.out.println(\"delProduct - delete test\");\n try {\n productStorage instance = new productStorage();\n instance.addProduct(startname, startcost, startnum);\n if (!instance.delProduct(0)){\n fail(\"Error!\");\n }\n } catch (Exception a) {\n fail(a.getMessage());\n }\n }", "title": "" }, { "docid": "0305e39cb3fffbbf4b222a93bcd69db1", "score": "0.51787263", "text": "@Test\r\n public void testDelete() throws Exception {\r\n System.out.println(\"delete\");\r\n String sql = \"delete FROM APP.\\\"program-slot\\\" WHERE (\\\"id\\\" = ? ) \";\r\n when(ds.getConnection()).thenReturn(conn);\r\n when(conn.prepareStatement(sql)).thenReturn(stmt);\r\n when(stmt.executeUpdate()).thenReturn(1); \r\n Calendar cal = Calendar.getInstance();\r\n cal.set(Calendar.YEAR, 2012);\r\n cal.set(Calendar.MONTH, Calendar.JANUARY);\r\n cal.set(Calendar.DAY_OF_MONTH,1);\r\n Date dateOfProgram = cal.getTime();\r\n Calendar time = Calendar.getInstance();\r\n time.set(Calendar.HOUR, 1);\r\n time.set(Calendar.MINUTE, 0);\r\n time.set(Calendar.SECOND,0);\r\n Date startTime = time.getTime();\r\n Date duration = time.getTime();\r\n ProgramSlot p = new ProgramSlot();\r\n p.setId(1);\r\n p.setDateOfProgram(dateOfProgram);\r\n p.setDuration(duration);\r\n p.setStartTime(startTime);\r\n p.setPresenter(new Presenter(\"pre1\"));\r\n p.setProducer(new Producer(\"prod1\"));\r\n p.setRadioProgram(new RadioProgram(\"testProgram\"));\r\n sDao.delete(p);\r\n \r\n \r\n }", "title": "" }, { "docid": "ba48340ecd280fd20e1b10d4b1ec6af4", "score": "0.51749736", "text": "private void deleteInstrument() {\n if(currentInstUri != null){\n int rows = getContentResolver().delete(currentInstUri, null, null);\n if(rows != 0){\n Toast.makeText(this, \"Instrument deleted\", Toast.LENGTH_SHORT).show();\n }else{\n Toast.makeText(this, \"Error with deleting Instrument\", Toast.LENGTH_SHORT).show();\n }\n //Close Activity\n finish();\n\n }\n\n }", "title": "" }, { "docid": "907cb1cfa7bb4953196dd666006a7c92", "score": "0.51731765", "text": "public void deleteEntrySpending(int LRow1) throws SQLException{\n ourDatabase.delete(DATABASE_TABLE_SPENDING, KEY_ROWID_SPEND + \" = \" + LRow1, null); //SQL DELETE statement\n }", "title": "" }, { "docid": "f472b7a8ebb1f534d56f587f47614fbe", "score": "0.51731133", "text": "public void deleteAutoShip() throws Exception{ \n \t logInfo(\"inside deleteAutoShip() method\"); \n \t nav2AutoshipCustomer();\t\n \t waitOnElement(\"cssSelector\", delAutoship);\n \t clickOnElement (\"cssSelector\", delAutoship); \t \n \t confirmOK();\n \t confirmationMessage(\"Autoship is deleted\");\n \t\t \t\t \n \t \n \t \n }", "title": "" }, { "docid": "6746a216f65b2c8390ca4bb26445277f", "score": "0.5172666", "text": "public void onActionRemoveAssociatedPartButton(ActionEvent actionEvent) throws NullPointerException {\n\n // generate part to be removed from associated parts\n Part partToBeRemoved = productAssociatedPartsTableView.getSelectionModel().getSelectedItem();\n\n // execute if parts list is not null\n if (modifiedProduct.getAssociatedParts().size() > 0){\n\n // alert user to confirm delete\n Alert confirmDeleteProduct = new Alert(Alert.AlertType.CONFIRMATION);\n confirmDeleteProduct.setTitle(\"Please Confirm Delete\");\n Optional<ButtonType> input = confirmDeleteProduct.showAndWait();\n\n // execute part removal from associated parts list if user selects OK\n if ((input.isPresent()) && (input.get() == ButtonType.OK)) {\n try {\n modifiedProduct.getAssociatedParts().remove(partToBeRemoved);\n }\n catch (NullPointerException e) {\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"Product not removed\");\n alert.setContentText(\"No product selected for removal\");\n alert.show();\n }\n }\n }\n }", "title": "" }, { "docid": "f2bb96bb2a453b1d6afaab0e6d29bdf3", "score": "0.51691246", "text": "public void managerOption3(ManagerClientInterface managerClient) throws RemoteException {\n\n if (parts.size() == 0) {\n managerClient.printOnClient(\"____ No part registered yet! ____\");\n return;\n }\n managerClient.printOnClient(\"Available products to remove: \");\n int i = 1;\n for (Part part : parts) {\n managerClient.printOnClient(i + \". \" + part.getType());\n i++;\n }\n managerClient.printOnClient(\"Choose a number (1 to \" + parts.size() + \"): \");\n int itemToDelete = managerClient.readIntClient();\n\n\n if (itemToDelete < 1 || itemToDelete > parts.size()) {\n managerClient.printOnClient(\"____ Invalid Input ____\");\n return;\n }\n\n managerClient.printOnClient(\"Are you sure you want to delete the part: \" + parts.get(itemToDelete - 1).getType() + \"? (y/n)\");\n String confirmation = managerClient.readStringClient();\n\n switch (confirmation) {\n case \"y\":\n Part aux = parts.get(itemToDelete - 1);\n mService.deletePart(parts, itemToDelete - 1);\n managerClient.printOnClient(\"---- Item removed with success ----\");\n System.out.println(\"*** Manager \" + managerClient.getClientId() + \" Removed (\" + aux.getType() + \") from the inventory ***\");\n break;\n case \"n\":\n managerClient.printOnClient(\"____ Action canceled ____\");\n break;\n default:\n managerClient.printOnClient(\"____ Invalid input ____\");\n break;\n }\n FileUtils.saveParts(parts);\n }", "title": "" }, { "docid": "8bd5ef807df7867d442a9d75ae0e0a2f", "score": "0.5166313", "text": "@Test\n\tpublic void testDeleteUsedIDs() {\n\t\tDatabase test = new Database(\"jdbc:mysql://localhost/inventory\", \"Mohtashim\", \"assignment9\", \"test\", \"chair\");\n\t\ttest.initConnection();\n\n\t\t// Insert two test entries into database\n\t\ttry {\n\n\t\t\tString query1 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test','test','Y','N','Y','Y','100','005')\";\n\t\t\tString query2 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test1','test','N','Y','N','N','100','005')\";\n\t\t\tPreparedStatement myStmt = test.sendQuery(query1);\n\t\t\tPreparedStatement myStmt1 = test.sendQuery(query2);\n\t\t\tmyStmt.executeUpdate();\n\t\t\tmyStmt1.executeUpdate();\n\t\t\tmyStmt.close();\n\t\t\tmyStmt1.close();\n\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\n\t\t// Insert another two test entries into database\n\t\ttry {\n\n\t\t\tString query1 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test2','test','Y','N','Y','Y','100','005')\";\n\t\t\tString query2 = \"INSERT INTO chair ( ID, Type, Legs, Arms, Seat, Cushion, Price, ManuID) VALUES ('test3','test','N','Y','N','N','100','005')\";\n\t\t\tPreparedStatement myStmt = test.sendQuery(query1);\n\t\t\tPreparedStatement myStmt1 = test.sendQuery(query2);\n\t\t\tmyStmt.executeUpdate();\n\t\t\tmyStmt1.executeUpdate();\n\t\t\tmyStmt.close();\n\t\t\tmyStmt1.close();\n\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\n\t\t// instantiate test UI\n\t\tUI testObj = new UI(\"test\", \"chair\", \"1\", \"jdbc:mysql://localhost/inventory\", \"Mohtashim\", \"assignment9\");\n\t\ttry {\n\t\t\ttestObj.processOrder();\n\t\t} catch (DatabaseProcessException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// calculate order\n\t\ttestObj.calculateOrder();\n\n\t\t// get the initial IDs that were used before deletion\n\t\tString[] beforeDeletion = testObj.getUsedIDs();\n\n\t\t// delete the Used IDs\n\t\ttry {\n\t\t\t// deletes test,and test1 IDs\n\t\t\ttestObj.deleteUsedIDs();\n\t\t} catch (DatabaseDeleteException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// calculate the order again\n\t\ttestObj.calculateOrder();\n\t\tString[] afterDeletion = testObj.getUsedIDs();\n\n\t\tassertNotEquals(\"The string arrays are identical, IDs were not deleted!\", beforeDeletion, afterDeletion);\n\n\t\t// delete the two test entries\n\t\ttest.deleteDBEntry(\"test2\");\n\t\ttest.deleteDBEntry(\"test3\");\n\n\t\t// close database\n\t\ttest.closeDelete();\n\n\t}", "title": "" }, { "docid": "3f2cb0de4841798fadc11369877f29ba", "score": "0.5166094", "text": "@Test\n\tpublic void testarRemoverPlaneta() {\n\t\tplanets.forEach(item -> planetaResource.insert(item));\n\t\tplanets.forEach(item -> assertNotNull(planetaResource.delete(item.getId())));\n\t}", "title": "" }, { "docid": "473bc9dbfdbf534c718b944d9c3c0243", "score": "0.5165654", "text": "@Override\n public Event execute() {\n try {\n AuthenticationToken token = this.authenticationService.findValidAuthenticationTokenForAUser(userId);\n Robot robot = this.storeModelService.getAllRobotsWithinAnAisle(storeId, aisleNumber,\n token.getTokenId()).get(0);\n logger.info(\"Robot \" + robot.getApplianceId() + \" is assigned to clean the mess\");\n Command robotCommand = new Command(\"Robot cleaning up \" + mess + \" in \" + aisleNumber);\n logger.info(robot.listenToCommand(robotCommand));\n\n if(mess.contains(\"dropped\")){\n String [] splitMess = mess.split(\"_\");\n Inventory inventory = this.storeModelService\n .getInventoryByProductId(splitMess[1], token.getTokenId());\n int initialCount = inventory.getCount();\n int updatedCount = this.storeModelService.updateInventoryCount(inventory.getInventoryId(),\n -1, token.getTokenId());\n logger.info(\"Inventory count for \" + inventory.getInventoryId() +\n \" updated from \" + initialCount + \" to \" + updatedCount + \" because the dropped item \"+\n \" will no longer be for sale \");\n }\n } catch (StoreException e) {\n logger.warning(\"Robot unable to clean the store \");\n } catch (AccessDeniedException e) {\n logger.warning(\"Authentication failed \" + e.getReason() + \" : \" + e.getFix());\n }\n return new Event(CleanStoreCommand.class.getName());\n }", "title": "" }, { "docid": "9c400b921c2e8cb6b7e0547229f1e669", "score": "0.5160197", "text": "private void USLCleanUpServiceData()\n {\n String testCaseName = \"USLCleanUpServiceData\";\n System.out.println(\"*** Running testcase - \" + testCaseName);\n OrclTenantManager tenantManager = new OrclTenantManager();\n Map<String, String> inParams = new HashMap<String, String>();\n inParams.putAll(inputParams);\n inParams.put(MultiTenancyConstants.IDSTORE_TENANT_NAME,\n \"creationoftenant\" + random);\n inParams.put(MultiTenancyConstants.IDSTORE_SERVICE_TYPE, \"XYZService\");\n try\n {\n try\n {\n \t//DeleteServiceInstance first\n \tinParams.put(MultiTenancyConstants.IDSTORE_SERVICE_NAME,\n \"creationofservice\" + random + \"XYZ\");\n tenantManager.deleteService(new HashMap(inParams));\n } catch (Exception e)\n {\n e.printStackTrace();\n throw new Exception(\"Deletion of XYZ Service instance failed\");\n }\n try\n {\n \t//DeleteMTService instance\n \tinParams.put(MultiTenancyConstants.IDSTORE_SERVICE_NAME,\n \"creationofMTservice\" + random + \"XYZ\");\n tenantManager.deleteMTService(inParams);\n } catch (Exception e)\n {\n e.printStackTrace();\n throw new Exception(\"Deletion of XYZ MTService instance failed\");\n }\n C9UnitTestUtil.generateTestcaseSucc(testHome, testCaseName);\n } catch (Exception e)\n {\n C9UnitTestUtil.generateTestcaseDiff(testHome, testCaseName, e);\n }\n \n }", "title": "" }, { "docid": "adf08b9f84e7b3cdd2d8455aca05d81a", "score": "0.5149308", "text": "int deleteByPrimaryKey(Integer levyfall_imposing_unit_id);", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e38bfb45d5e9a2fa6eef172b826ce7a8", "score": "0.0", "text": "public static void main(String[] args) {\n\t\t\n\t\ttry {\n\t\t\tServerSocket ss=new ServerSocket(1234);\n\t\t\tSystem.out.println(\"waiting for a connexion\\n\");\n\t\t\tSocket s=ss.accept();\n\t\t\tInputStream is=s.getInputStream();//it allows receiving the message from the client\n\t\t\tOutputStream os=s.getOutputStream();// it allows sending message to the client\n\t\t\tint nb=is.read();\n\t\t\tSystem.out.println(\"I received the number \\t\"+nb);\n\t\t\tint res=checkParity(nb);//call the method check parity to check if the number is odd or not\n\t\t\tos.write(res);\n\t\t\ts.close();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\t\t\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "11d67a80d2cd31685776b15ccccc59f0", "score": "0.65296996", "text": "@Override\n\t\t\tpublic void PridenieNaBielu() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "f9e89d9677a2c32741b998a15248d5eb", "score": "0.6487723", "text": "@Override\r\n\tpublic void Lyf() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "603f0a18e57250d8f455d8cee02b8630", "score": "0.64378566", "text": "@Override\r\n public void Refuel() {\n \r\n }", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "efda110dae3567ecb4380b4b672c3e8d", "score": "0.635662", "text": "public void anzeigen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74e8290546e9191e1ae5373cdf611067", "score": "0.632985", "text": "@Override\r\n\tpublic void Petrol() {\n\t\t\r\n\t}", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.63003165", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.62754047", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6219628", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "2a5b1784967271fc8f331ece95bee2d7", "score": "0.6173247", "text": "@Override\r\n\t\tpublic void Sudentcf() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "88ecb62c7a1a93131fb72fdf892b6e96", "score": "0.6163209", "text": "public void mo18969b() {\n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "af1d7a03c29969bf292760b5053e6876", "score": "0.61020076", "text": "@Override\r\n\tpublic void avanzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c841421384f44238db014cb90fda536", "score": "0.609516", "text": "@Override\n\tpublic void foocall() {\n\t}", "title": "" }, { "docid": "0535d453c6fc64b6eaca5802d4fcc90b", "score": "0.6038407", "text": "@Override\r\n public void atacar() {\n }", "title": "" }, { "docid": "60b0611b3c431fd71ef675a97986d8ce", "score": "0.60336334", "text": "@Override\n\tpublic void bouger() {\n\t\t\n\t}", "title": "" }, { "docid": "93def8741e9801c804ccf94cc0a8c010", "score": "0.60311055", "text": "@Override\r\n\tpublic void comenzar() {\n\r\n\t}", "title": "" }, { "docid": "1eb850cd140029c3284631b6ea4a3a92", "score": "0.6027037", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124886", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124886", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "068782d4ca6b549d5b38c417ad4e7fbc", "score": "0.6000438", "text": "@Override\n\tpublic void embauche() {\n\t\t\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "59fd0ccdce9a8709416c7bdb0b2740f7", "score": "0.59167963", "text": "@Override\n public void solidaria() {\n \n \n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5bb37ed5e0a08c04cb9e970f3e334584", "score": "0.5900665", "text": "@Override\n\tpublic void accion() {\n\n\t}", "title": "" }, { "docid": "f5d4f15bcecfb5439000bf8ce3463314", "score": "0.58953464", "text": "@Override\r\n protected void init() {\n \r\n }", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.58881694", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.58730215", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "faf38c70a5abc38e6e6819931e05fdbb", "score": "0.5862488", "text": "@Override\n protected void initialize() { \n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "d735c08559b9ccd2b05318e486d52050", "score": "0.585777", "text": "@Override\n public void generate() {\n\n }", "title": "" }, { "docid": "c27a216ac709a1e3b9e7156e1c8104e5", "score": "0.5851762", "text": "public void initailize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7a47ca8b3a55006f92a271bd71da43b7", "score": "0.583262", "text": "@Override\n\tprotected void Sessioprovide() {\n\t\t\n\t}", "title": "" }, { "docid": "ea53a5ca5e3b174f6cc9c79515550cf9", "score": "0.58291394", "text": "@Override\n\tpublic void Faild() {\n\t}", "title": "" }, { "docid": "d8211552b23c886f56d98e4efc7a55fa", "score": "0.58270997", "text": "private void OI() {\n\t\t\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a92ef4f07b07ea7007bb9f92475a6a97", "score": "0.580496", "text": "private void UDPM() {\n\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d4dcf8d1b9c1a18d89084161416469f7", "score": "0.5784581", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "329dcd36a53fe338909407efceaa048a", "score": "0.57815796", "text": "@Override\n\tpublic void ovr() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5772904", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "1c10afc999966d89d84d1fb549910281", "score": "0.5767454", "text": "@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "ec8745d1f613de3522e52b19973434de", "score": "0.5756245", "text": "@Override\n protected void initialize()\n {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6e516d7c552dcd925edbe971705ed31a", "score": "0.5742983", "text": "public void mo41019a() {\n }", "title": "" }, { "docid": "b07fa371b39d89d85ee2b46058153640", "score": "0.5741075", "text": "private void set() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f523d2f53f60a1ff3244e79927814898", "score": "0.5737052", "text": "public void mo46998a() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c5279e0c512854cbd0006208a1abf1e4", "score": "0.57304084", "text": "public void sprzedaj() {\n\t\t\n\t}", "title": "" }, { "docid": "4791f18ffa1db9cf9896372a4bb400cd", "score": "0.5712386", "text": "@Override\n\t\t\t\tpublic void update() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "b329688e04bd48d0184ad83234db5580", "score": "0.5702716", "text": "@Override\r\n public int describeContents() {\n return 0;\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "7a5ce2d278c2d189c1b8ef8c5af5d416", "score": "0.5686818", "text": "@Override\n\tprotected void initValue() {\n\n\t}", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5685303", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "be566411d6ed8758a024d201a025c102", "score": "0.5682171", "text": "@Override\r\n\tprotected void update() {\n\t}", "title": "" }, { "docid": "264b73ede67394b8d57db8f3623673db", "score": "0.56804705", "text": "@Override\r\n\tpublic void afterConstruct() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a055db97fb04dc3ace542d55ba4eb731", "score": "0.5659786", "text": "public void wypozycz() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "704e96abbfbd46ebb60411493a1aaa91", "score": "0.5653795", "text": "@Override\r\n\tpublic void magic() {\n\r\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "24c0ab8df82d9f154911f034d89e630a", "score": "0.0", "text": "public void resetToStart(Agent e) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6646134", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.64631", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6461734", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f9de8c9acb961a9d05ed00de5fe361e7", "score": "0.60638905", "text": "@Override\n\tpublic void seRetrage() {\n\t\t\n\t}", "title": "" }, { "docid": "483ae2cb94563f8e11864a532e44b464", "score": "0.606149", "text": "@Override\r\n public void perturb() {\n \r\n }", "title": "" }, { "docid": "e41230eaa4480036f1db3ae4856b5e2c", "score": "0.6048755", "text": "@Override\n\tpublic void evoluer() {\n\t\t\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.6040993", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "432a53d7cc7bff50c3cce7662418fe22", "score": "0.60228735", "text": "private static void daelijeom() {\n\t\t\n\t}", "title": "" }, { "docid": "feb1a9485d06df38283881186fb528a9", "score": "0.6014977", "text": "@Override\n \tprotected void initialize() {\n \n \t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.6005143", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.59771466", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "f3ea867fdaa4b61546bfc393614a093c", "score": "0.59687567", "text": "@Override\n\tpublic void setingInicial() {\n\t\t\n\t}", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.59549016", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "e98e1f8ddb7a94a5d95c29c94232f737", "score": "0.5943817", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2d61391fe8770661f25917f3770f2a26", "score": "0.5926535", "text": "@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.5925673", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.591947", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "8f8a1c1dfa100614be8cac1247e068d5", "score": "0.59192646", "text": "@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.5910928", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "3e6e2e657db69bfc88c40c8467801266", "score": "0.5899844", "text": "@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1134c4caabd33b9bbd414763740fddde", "score": "0.5896682", "text": "@Override\n\tpublic void respirar() {\n\n\t}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "1dc1426b3b1c079ac18377166a6b34d3", "score": "0.5893354", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "f737e2251cf43d326f43b44297696e55", "score": "0.58891016", "text": "@Override\n\tpublic void patrol() {\n\n\t}", "title": "" }, { "docid": "de8c2aa495b8cdade7e8895e58745ea2", "score": "0.5887025", "text": "public void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "13e4409784fd6f872b474e6effe9726e", "score": "0.5879506", "text": "@Override\n protected void initialization() {\n\n\n\n }", "title": "" }, { "docid": "bafce2e94d56e61baeadcb37047f6035", "score": "0.5858384", "text": "@Override\n\tprotected void postprocess() {\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "cdf2a119ee69429ad4420d45c29db1b6", "score": "0.5849137", "text": "@Override\n\tpublic void netword() {\n\t\t\n\t}", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.5848443", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "6ed3e363c02164bd00163fa46e2c48c2", "score": "0.58366287", "text": "@Override\n public void init_moduule() {\n \n }", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b04ed49986fb3f4321a90ec19ab7f86d", "score": "0.57759553", "text": "@Override\n public void alistar() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "10e00e5505d97435b723aeadb7afb929", "score": "0.57712233", "text": "@Override\n\tpublic void pintar2() {\n\t\t\n\t}", "title": "" }, { "docid": "683eea6c39ec4e6df90f6be05200559d", "score": "0.5769485", "text": "@Override\r\n public void confer(){\n \r\n }", "title": "" }, { "docid": "728d084a23664ecf9b5c04acb6367b9c", "score": "0.5769356", "text": "@Override\r\n\tpublic void descarnsar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.5769273", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "0e6111ae009ad752a364e5e9fb168e98", "score": "0.5768801", "text": "@Override\n\tpublic void volumne() {\n\t\t\n\t}", "title": "" }, { "docid": "3f651ef5a6fad17e313e8da4ea72b6e3", "score": "0.57645357", "text": "@Override\n\tpublic void CT() {\n\t\t\n\t}", "title": "" }, { "docid": "615018f0186427ab904e872db6726b2d", "score": "0.5759138", "text": "@Override\n public void init()\n {\n \n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e634836bc1d61a011e04bfb67a971792", "score": "0.5745885", "text": "@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a7cff18dc205a0d79dbe54bb988e6894", "score": "0.57428306", "text": "public void emettreSon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "ac5a7a92eda66d2b7ef40199230fa4af", "score": "0.5731894", "text": "@Override\n\tpublic void arbeiteInPizzeria() {\n\n\t}", "title": "" }, { "docid": "d1c2c284b75d7d46145b6f407496cd96", "score": "0.5725441", "text": "@Override\n\t\tprotected void initParameters() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "65022f0bb57de78da8518cd156b102e6", "score": "0.57112384", "text": "private void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "216da885329e8d80cdc3490fda895c11", "score": "0.57087225", "text": "@Override\n\tpublic void yaz1() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f3e16954465fbae384d88f411211419", "score": "0.56972444", "text": "@Override\r\n public int E_generar() {\r\n return 0;\r\n }", "title": "" }, { "docid": "365a661b2084f764f5e458915ff735ac", "score": "0.56864643", "text": "@Override\n public int getMunition() {\n return 0;\n }", "title": "" }, { "docid": "40539b782464082aab77fae6b047eade", "score": "0.5681723", "text": "@Override\n\tprotected int get_count() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5f628d368579dd40ef68362831006940", "score": "0.56769013", "text": "@Override\n\tpublic void fahreFahrzeug() {\n\n\t}", "title": "" }, { "docid": "5ae17f2516c21590c850e6758048effe", "score": "0.56625473", "text": "@Override\n public int getID()\n {\n return 0;\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.5660459", "text": "public void mo3639d() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
681160c3d04fa760aac66d62d8833306
Pauses the timer and the animation.
[ { "docid": "1f09c7b179f765fa320eebbbab5f46ad", "score": "0.7694912", "text": "public void pause(){\n\t\tif(timer == null){ return; }\n\t\ttimer.stop();\n\t}", "title": "" } ]
[ { "docid": "ecb02b0edd32fc6cdae4830c795b3a34", "score": "0.7910716", "text": "public void pause() {\n\n if (timer != null) {\n\n // Arreter le timer\n stop();\n\n // Mise à jour\n update();\n }\n }", "title": "" }, { "docid": "1825c0a260d9666b7a5bf1b1e8820a6b", "score": "0.7588812", "text": "private void pause() {\n pause(myDelay);\n }", "title": "" }, { "docid": "84c6b5498a450a9bea536c03076e052b", "score": "0.7502926", "text": "@Override\n public void pause(){\n view.pauseHide();\n if (isRunning){\n timer.stopTimer();\n isRunning = false;\n }else{\n timer.startTimer();\n isRunning = true;\n }\n }", "title": "" }, { "docid": "0a2ba26c5cc51e0ec69dcc0fcb68f958", "score": "0.7411321", "text": "private void timerPause() {\n timerStop();\n\n // Start the pause timer\n pauseTimer_startTime = System.currentTimeMillis();\n pauseTimerHandler.postDelayed(pauseTimerRunnable, 0);\n }", "title": "" }, { "docid": "7cedd725e562773987341c5db865fada", "score": "0.73969865", "text": "public void pause() {\n\t\tsleep(2000);\n\t}", "title": "" }, { "docid": "859d14638b3f503db97688c9a6f84f81", "score": "0.7342364", "text": "public void pause() {\n isPaused = true;\n System.out.println(\"pausing\");\n timeline.stop();\n }", "title": "" }, { "docid": "d3c1d80fecbed511666940d461083bc1", "score": "0.73262686", "text": "public void pause() {\n if (currentAnimation != null) currentAnimation.pause();\n }", "title": "" }, { "docid": "a6ffbd3e50aa64e7faee5a06efba1028", "score": "0.7295401", "text": "public void pause() {\r\n\t}", "title": "" }, { "docid": "2366133c07cfeb2e2f8ec3611b58ff35", "score": "0.7290496", "text": "public void pause()\n\t{\n\t\tplayState = Status.PAUSED;\n\t\tlastUpdate = -1;\n\t\ttmr.stop();\n\t}", "title": "" }, { "docid": "1a5a4e1c7e48549543cd34c74bd94674", "score": "0.72620064", "text": "public void pause() {}", "title": "" }, { "docid": "94f57335a6e9b78592b34e5b3bf0ce9e", "score": "0.7244873", "text": "protected void pause() {\n sleep(300);\n }", "title": "" }, { "docid": "135ebdb514b5534fa682cbae2c30864e", "score": "0.72036505", "text": "protected void pause(){}", "title": "" }, { "docid": "a1303d04672c624a4465f1b18a892111", "score": "0.7189745", "text": "private void pauseTimer() {\n myTimer.stop();\n disableGamePlayKeys();\n repaint();\n }", "title": "" }, { "docid": "94863edb994f42f1fe8bed107cc1c1a2", "score": "0.7189457", "text": "public void pause() {\r\n fPause = true;\r\n }", "title": "" }, { "docid": "726e5a14341a02c914efa8ff971675c1", "score": "0.7156239", "text": "public void pause() {\n }", "title": "" }, { "docid": "a83ba27595321f69f3410861e0b137f4", "score": "0.71087", "text": "public void pause() {\n cancelCallback();\n mStartTimeMillis *= -1;\n }", "title": "" }, { "docid": "a8e9e2321d18361433ecb1b7ecae5f30", "score": "0.7106934", "text": "public void pause() {\n pause = true;\n }", "title": "" }, { "docid": "dbaa62869abfbb82bbf2c1edf3143ab6", "score": "0.70910317", "text": "@Override\n\t\tpublic void pause() {\n\t\t \n\t\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.70491695", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "15380f7f69c0385960d83b9522619eed", "score": "0.70306855", "text": "public void pause()\n {\n paused = true;\n }", "title": "" }, { "docid": "bc4113dc79713681db382345c9acfe22", "score": "0.7028876", "text": "private void pause() {\n\t\t// TODO\n\t}", "title": "" }, { "docid": "86d3ab9a1c7f2712d86fb8d74b21e5e9", "score": "0.7014052", "text": "public void pause() {\n paused = true;\n }", "title": "" }, { "docid": "86d3ab9a1c7f2712d86fb8d74b21e5e9", "score": "0.7014052", "text": "public void pause() {\n paused = true;\n }", "title": "" }, { "docid": "7973d1b421972c134ad872fa51862857", "score": "0.7002907", "text": "public void pause() {\n\t\t// TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "52a3eba6efdc1c37f9f3a361b8d07b0d", "score": "0.6995088", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "57fe3a63c635c2b9c0f88f3344ab2532", "score": "0.69883966", "text": "public void pause();", "title": "" }, { "docid": "57fe3a63c635c2b9c0f88f3344ab2532", "score": "0.69883966", "text": "public void pause();", "title": "" }, { "docid": "57fe3a63c635c2b9c0f88f3344ab2532", "score": "0.69883966", "text": "public void pause();", "title": "" }, { "docid": "3381a01168117e88c105ea4d5fcc8caa", "score": "0.69650966", "text": "@Override\n\tpublic void pause()\n\t{\n\n\t}", "title": "" }, { "docid": "87eef377bed7ad1c89282a37423224cf", "score": "0.6963193", "text": "public void pause() {\n long currentTime = System.currentTimeMillis();\n ms = originalms - currentTime;\n }", "title": "" }, { "docid": "f6c19d3caa2e4b9d6b65871d40993326", "score": "0.6959807", "text": "@Override\n\tpublic void pause() \n\t{\n\n\t}", "title": "" }, { "docid": "ee80004fe92ced5da5f8db8e817a26b4", "score": "0.69568074", "text": "@Override\r\n public void pause() {\n }", "title": "" }, { "docid": "ee80004fe92ced5da5f8db8e817a26b4", "score": "0.69568074", "text": "@Override\r\n public void pause() {\n }", "title": "" }, { "docid": "ee80004fe92ced5da5f8db8e817a26b4", "score": "0.69568074", "text": "@Override\r\n public void pause() {\n }", "title": "" }, { "docid": "e6c3999a04dc76acc554d52381d21967", "score": "0.6951356", "text": "@Override\r\n public void pause() {\r\n\r\n }", "title": "" }, { "docid": "e6c3999a04dc76acc554d52381d21967", "score": "0.6951356", "text": "@Override\r\n public void pause() {\r\n\r\n }", "title": "" }, { "docid": "cba5b8838df5e1d7c20bc25c6a7f166f", "score": "0.6946925", "text": "@Override\r\n\tpublic void pause() {\n\t}", "title": "" }, { "docid": "83b3a45d433f78675c37aa2fb3e12c0a", "score": "0.6933724", "text": "public synchronized void pause() {\r\n\r\n\t\tpaused = true;\r\n\t}", "title": "" }, { "docid": "ac13131f10e9aed7433ca9d77812b1a3", "score": "0.6931131", "text": "@Override\r\n public void pause() {}", "title": "" }, { "docid": "bfe9455f20e3baa1a10c75a5cfaa77c7", "score": "0.69277567", "text": "private void pause() throws InterruptedException {\n component.repaint();\n Thread.sleep(delay);\n }", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "e50b100be547f84dd8fe1bc9114f6762", "score": "0.69129455", "text": "@Override\n\tpublic void pause() {\n\t\t\n\t}", "title": "" }, { "docid": "5e358204482c16993f968333fb25ad6d", "score": "0.69020164", "text": "@Override\n\tpublic void pause() {\n\t\tsuper.pause();\n\t}", "title": "" }, { "docid": "91b6cbbf1dee0b8c54a92acd5a06ccf4", "score": "0.6901035", "text": "public void pause() {\n\t\tsynchronized(this) {\n\t\t\tpaused = true;\n\t\t}\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "2ec1ade1893ccb9fb8deb48ae9583a8f", "score": "0.68938285", "text": "@Override\n\tpublic void pause() {\n\n\t}", "title": "" }, { "docid": "28ae0a5fe7f423cb493ec6770da66cfb", "score": "0.68923724", "text": "public void pause() {\n\t\tmusic.pause();\n\t}", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.68845433", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.68845433", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.68845433", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.68845433", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.68845433", "text": "@Override\n public void pause() {\n }", "title": "" } ]
8e5c9ba292d58c3f38225a427135c40c
Gets the attribute value for EndBit, using the alias name EndBit.
[ { "docid": "4edd498df36bc4bdc9fda7b11cb719e8", "score": "0.7686555", "text": "public Number getEndBit() {\n return (Number)getAttributeInternal(ENDBIT);\n }", "title": "" } ]
[ { "docid": "0dc4adbad4f31e45943aa81e76f99fec", "score": "0.6815199", "text": "public Number getEndBit2() {\n return (Number)getAttributeInternal(ENDBIT2);\n }", "title": "" }, { "docid": "b755dec0bdceab7a5652bf61212c7f88", "score": "0.66335356", "text": "public String getEndBitUom() {\n return (String)getAttributeInternal(ENDBITUOM);\n }", "title": "" }, { "docid": "bff055efc1cee04691dc1d1b31d08885", "score": "0.65488756", "text": "public String getEndNum() {\n return (String) getAttributeInternal(ENDNUM);\n }", "title": "" }, { "docid": "2bfbc1d0801d8a0301d8f97a00c4c373", "score": "0.6090569", "text": "public String getEndBitUom2() {\n return (String)getAttributeInternal(ENDBITUOM2);\n }", "title": "" }, { "docid": "daa72f2172be701281425fd2e71c8a68", "score": "0.5836962", "text": "java.lang.Long getEndValue();", "title": "" }, { "docid": "9e3d12fa6a39043310c3aa6e826a5aff", "score": "0.5778278", "text": "public void setEndBit(Number value) {\n setAttributeInternal(ENDBIT, value);\n }", "title": "" }, { "docid": "eab668088d18d8f07aed2771344f9601", "score": "0.57485104", "text": "public long getEnd() {\n\t\treturn end;\n\t}", "title": "" }, { "docid": "20b6562e9eba5ec951817bb93492cb09", "score": "0.5745164", "text": "public int getEndNum() {\r\n return this.endNum;\r\n }", "title": "" }, { "docid": "2b413273816ba4eeaf31cbe39e608bd2", "score": "0.57450753", "text": "public long getEndAddress() {\n\t\treturn endAddress;\n\t}", "title": "" }, { "docid": "3443c678bef672a2f23d08cbef94ed5c", "score": "0.5736025", "text": "public String getEnd() {\n\t\treturn end;\n\t}", "title": "" }, { "docid": "96d78dea7e3e433b868007834c885dbd", "score": "0.5731807", "text": "public long getEnd() {\r\n\t\treturn end;\r\n\t}", "title": "" }, { "docid": "34b519ebed7b5cecfafe0f1ea1bc596d", "score": "0.5724314", "text": "public long getValueEndsAt() throws ASN1Exception {\n if (state == inState.tag || state == inState.value) {\n return tagEndsAt;\n } else {\n throw new ASN1Exception(\"In wrong state\");\n }\n }", "title": "" }, { "docid": "fc133f0f2a8c596f3b33965163af7dea", "score": "0.5690865", "text": "public long getEnd() {\n return end;\n }", "title": "" }, { "docid": "a010881e20af67bbb07212e44e700926", "score": "0.56746304", "text": "public Long endNumber() {\n return (Long) storedValueForKey(\"endNumber\");\n }", "title": "" }, { "docid": "e050161c561c4fb5cb6c12c040d04681", "score": "0.5645629", "text": "public long getEnd() {\n return end;\n }", "title": "" }, { "docid": "60293d9187ed261a5e1b4200a31aa7d1", "score": "0.5622428", "text": "public long getEnd() {\n return end_;\n }", "title": "" }, { "docid": "4d590665c155b453fdecfe345cf488a7", "score": "0.5622294", "text": "public long getEndNumber() {\n return endNumber;\n }", "title": "" }, { "docid": "8396c4286b738e7322ab77c329534038", "score": "0.56163603", "text": "public int getEnd() {\n\n return this.end;\n }", "title": "" }, { "docid": "15c69b82d895ebd7092b1653bac1175a", "score": "0.56051534", "text": "@jakarta.annotation.Nullable\n @JsonIgnore\n public Long getEnd() {\n return end.orElse(null);\n }", "title": "" }, { "docid": "34139c0f7f1f6b3a54efa1ae8bec6e5e", "score": "0.5594939", "text": "public int getEnd()\r\n\t{\r\n\t\treturn this.end;\r\n\t}", "title": "" }, { "docid": "979eb4a65d1e78a0834d37c4a165c7d4", "score": "0.5590308", "text": "public long getEnd() {\n return end_;\n }", "title": "" }, { "docid": "576ed10d1367056d5e7f86750fa3bec9", "score": "0.55799973", "text": "public Timestamp getEndDate() {\n return (Timestamp) getAttributeInternal(ENDDATE);\n }", "title": "" }, { "docid": "c6d21182323df664101b37472ac6e5cb", "score": "0.55674887", "text": "public Number getMinEndBit() {\n return (Number)getAttributeInternal(MINENDBIT);\n }", "title": "" }, { "docid": "2c423b9309a056cd236356c531e5e716", "score": "0.55579096", "text": "public float getEnd() {\n return this.end;\n }", "title": "" }, { "docid": "b3ad6cf3dd1b1e1e2618c5082508f2ac", "score": "0.5552399", "text": "public double getStaEnd()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STAEND$4);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "title": "" }, { "docid": "ddd7c834e827a23caba175a7356d6ecd", "score": "0.55203396", "text": "public Cell getEnd() {\r\n\t\treturn end;\r\n\t}", "title": "" }, { "docid": "a8abe5bb61175e0292a14a90d3e365af", "score": "0.5506655", "text": "public int getEndChar() {\r\n\treturn this.endChar;\r\n }", "title": "" }, { "docid": "2d5547bc9497bd6b576e1e7360cffc15", "score": "0.5503394", "text": "public Object getEndRef() {\n return endRef;\n }", "title": "" }, { "docid": "66f451b464c8d868577d092a2c2bcf57", "score": "0.5483443", "text": "public int getEnd() {\n\t\t\n\t\treturn end;\n\t}", "title": "" }, { "docid": "5e47b16859e35c83e044c5fbad0a2dbc", "score": "0.5468593", "text": "public char getEnd() {\n return this.close;\n }", "title": "" }, { "docid": "93ba0c4bab8b05da72c3634b67ba8703", "score": "0.545637", "text": "public Position getEnd() {\n return this.end;\n }", "title": "" }, { "docid": "4cd11c9f602b841f7209b0d0c7ab9b62", "score": "0.54545945", "text": "public Point2D.Double getEnd() {\n\t\treturn end;\n\t}", "title": "" }, { "docid": "cc953a2ea05b867d32bf8cdd32243670", "score": "0.54442847", "text": "public Node getEnd() {\n\t\treturn end;\n\t}", "title": "" }, { "docid": "b5a7bb73ee8d2b820d6abc9565c52e3b", "score": "0.54383516", "text": "public int getEnd() {\n\t\treturn getStart() + getLength();\n\t}", "title": "" }, { "docid": "11610010e8838b36a17aae777b2b4998", "score": "0.543749", "text": "public org.landxml.schema.landXML11.ZoneVertType.Enum getEndVertType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENDVERTTYPE$12);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return (org.landxml.schema.landXML11.ZoneVertType.Enum)target.getEnumValue();\r\n }\r\n }", "title": "" }, { "docid": "3b3525c0634b9860bc5191e21565d743", "score": "0.5415561", "text": "public int getEnd() {\n\t return end;\n\t}", "title": "" }, { "docid": "9ac6c626da57cded357d3279b3191942", "score": "0.54096967", "text": "public Position getEnd() {\r\n\t\treturn end;\r\n\t}", "title": "" }, { "docid": "6769b7457d0a0d724ba6ac102a6eca90", "score": "0.54040605", "text": "public void setEndBitUom(String value) {\n setAttributeInternal(ENDBITUOM, value);\n }", "title": "" }, { "docid": "830b5b89075e6c591615a9cc06a6dd0b", "score": "0.5404026", "text": "public Mass getEnd () {\n return mEnd;\n }", "title": "" }, { "docid": "1bced1323926c56326e0bb07135b2f57", "score": "0.53997046", "text": "public int getEnd() {\n return end;\n }", "title": "" }, { "docid": "ecf3c2a837d81b6f2927bd424295e573", "score": "0.5397957", "text": "@Override\n\tprotected long getEnd() {\n\t\treturn super.getEnd();\n\t}", "title": "" }, { "docid": "c0d90bb3a7e06650303a4e15f746edae", "score": "0.539272", "text": "public double getEndLng() {\n\t\treturn endLng;\n\t}", "title": "" }, { "docid": "b99efaef8d179b497aeca0445ff91e1c", "score": "0.53919387", "text": "public byte[] getEnd() {\n\t}", "title": "" }, { "docid": "4189750ceb5cd9922642ac370313f493", "score": "0.53876054", "text": "public Integer getCashboxEndId() {\n return cashboxEndId;\n }", "title": "" }, { "docid": "b7aaa6e860bbfeccb9deca1238b0e274", "score": "0.5367239", "text": "public int getEnd() {\n return end;\n }", "title": "" }, { "docid": "b7aaa6e860bbfeccb9deca1238b0e274", "score": "0.5367239", "text": "public int getEnd() {\n return end;\n }", "title": "" }, { "docid": "00eea34098a11617fbd21ff39adc8cd2", "score": "0.5348666", "text": "@SystemAPI\n\tpublic TimeStamp getEnd() {\n\t\treturn end;\n\t}", "title": "" }, { "docid": "440e3531184a396943f63dd5ee961809", "score": "0.5341197", "text": "public Integer getEnd(){\n return span != null ? span[1] : null;\n }", "title": "" }, { "docid": "f6caafd7e8cdcf2ec7154265ad7aaa40", "score": "0.5325355", "text": "public Point getEnd() {\n\t\treturn end;\n\t}", "title": "" }, { "docid": "a885dc02b679ceb55e0950624f747cb9", "score": "0.53182495", "text": "public int getEndIndex() {\n if (Mention_Type.featOkTst && ((Mention_Type)jcasType).casFeat_endIndex == null)\n jcasType.jcas.throwFeatMissing(\"endIndex\", \"ts.Mention\");\n return jcasType.ll_cas.ll_getIntValue(addr, ((Mention_Type)jcasType).casFeatCode_endIndex);}", "title": "" }, { "docid": "e8a97e6d449584354dab3e577fdc9583", "score": "0.52975637", "text": "public int getEnd() {return end;}", "title": "" }, { "docid": "6a0457599c111a64ecd3313259a1546b", "score": "0.5291829", "text": "public void setEndBit2(Number value) {\n setAttributeInternal(ENDBIT2, value);\n }", "title": "" }, { "docid": "2d478a06a1d3082112788ebbf415633c", "score": "0.52856565", "text": "public Position getEnd() {\n return end;\n }", "title": "" }, { "docid": "bba28706b4f6aa00138a7d1ffaf1dff6", "score": "0.52852404", "text": "int getEnd(int unitEntry) {\n\t\treturn units[unitEntry].end;\n\t}", "title": "" }, { "docid": "a9de1669df2625eadab3fea82bfb75e8", "score": "0.5283544", "text": "java.lang.String getEnd();", "title": "" }, { "docid": "1284d58b09bb2cbb7135f51d7e467867", "score": "0.5281375", "text": "public OffsetDateTime usageEnd() {\n return this.usageEnd;\n }", "title": "" }, { "docid": "d377c2c3da0f6b7da642f8b103969ab7", "score": "0.52808756", "text": "public Date getEnd() {\n\t\treturn this.end;\n\t}", "title": "" }, { "docid": "fc7ccc2972e81f3866054cb678ec0816", "score": "0.5272484", "text": "public double getEndValue()\n {\n return endpoint2;\n }", "title": "" }, { "docid": "11b3278782bc483043eb851d7a8b3d6c", "score": "0.52693236", "text": "private int getEndDay() {\r\n return itemToInteger(endDayBox.getSelectedItem());\r\n }", "title": "" }, { "docid": "c4de635f5c2cd7426928858c727c0dd1", "score": "0.52613163", "text": "public int getEnd() { return getIndex(len() - 1).intValue(); }", "title": "" }, { "docid": "b15e7132c5d0ea5a290441db3a88681e", "score": "0.52592945", "text": "@SuppressWarnings(\"deprecation\")\n public String getEndDay() {\n // Obtain day\n Integer numericDay;\n numericDay = eventEnd.getDate();\n return numericDay.toString();\n }", "title": "" }, { "docid": "8c49b821407e360289340663df96f5cf", "score": "0.52273035", "text": "public int getEndCoord(){\n\t\treturn endCoord;\n\t}", "title": "" }, { "docid": "779ebbded3df73f6b3b9c61341c7dbac", "score": "0.52198577", "text": "public org.apache.xmlbeans.XmlDouble xgetEndVertValue()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlDouble target = null;\r\n target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(ENDVERTVALUE$10);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "1f7bda8e931f2a1de4b187f4bbf30145", "score": "0.5212694", "text": "public org.landxml.schema.landXML11.Station xgetStaEnd()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.Station target = null;\r\n target = (org.landxml.schema.landXML11.Station)get_store().find_attribute_user(STAEND$4);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "89ae2f786624729cd6dcb6d9e33e5fc2", "score": "0.5198099", "text": "public synchronized final long endAddress()\n\t{\n\t\treturn endAddress;\n\t}", "title": "" }, { "docid": "8a26786ee9969fd2343927da6f3265f6", "score": "0.51756126", "text": "public double getEndMoney() {\n return endMoney;\n }", "title": "" }, { "docid": "c3047cc72944a8c8313d41fa1b1feb06", "score": "0.51673526", "text": "public long getEnd() {\n return offset + size;\n }", "title": "" }, { "docid": "ac47a55360d5a8a5266b9752c6659ae0", "score": "0.51529723", "text": "private Position getEndPosition() {\n\t\treturn this.endPosition;\n\t}", "title": "" }, { "docid": "bf7ca15647bcaba37c63496b39d8b0a6", "score": "0.51520437", "text": "public long end() {\n return end;\n }", "title": "" }, { "docid": "11daca1ad5f9db24e2708fd5061bed57", "score": "0.51506627", "text": "@SuppressWarnings(\"deprecation\")\n public String getEndHour() {\n // Obtain hour\n Integer numericHour;\n numericHour = eventEnd.getHours();\n return numericHour.toString();\n }", "title": "" }, { "docid": "9339dbac553314413d9265b0b4823c09", "score": "0.5146321", "text": "public Node getEndNode(){\r\n\t\treturn endNode;\r\n\t}", "title": "" }, { "docid": "80e51bace9c78c055937ebb8ed78360c", "score": "0.5142762", "text": "public void setEndBitUom2(String value) {\n setAttributeInternal(ENDBITUOM2, value);\n }", "title": "" }, { "docid": "8815db670798a63f49106c03fc70a7aa", "score": "0.5116423", "text": "public Function getEndFunction() {\n return endFunction;\n }", "title": "" }, { "docid": "8914e37950adfa4d6d3b9cf36f78a0b6", "score": "0.51075643", "text": "public double getEndVertValue()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENDVERTVALUE$10);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "title": "" }, { "docid": "22fa3bb0b4dd96c9fb5342cd64f127fb", "score": "0.51040125", "text": "public String getEndingString() {\n\t\treturn this.endingString;\n\t}", "title": "" }, { "docid": "bc157e0547a9b9a82e36ba22d5998197", "score": "0.51015085", "text": "public int getEndCycleNumber()\r\n {\r\n return alarmSetNumber;\r\n }", "title": "" }, { "docid": "d29f2013dd4bb143fe0228f27b28cc6f", "score": "0.50921816", "text": "public int get_end_time() {\n return (int)getUIntElement(offsetBits_end_time(), 16);\n }", "title": "" }, { "docid": "27a1f3352c0f9924661fdbbcbd78ae31", "score": "0.50835335", "text": "public byte getEndWeek() {\n return endWeek;\n }", "title": "" }, { "docid": "5264156b74aec226e87a0a908869ad3d", "score": "0.5059181", "text": "@JsonIgnore\n public long getIntervalEnd()\n {\n return this.intervalEnd;\n }", "title": "" }, { "docid": "b82329c589ebed7e1d145d123fd3d3ad", "score": "0.50479424", "text": "public AssociationEnd getAssociationEnd();", "title": "" }, { "docid": "829329de30b97ce54e9be459e72ab9f6", "score": "0.50469303", "text": "public double getEndX() {\n \n return myEndX;\n }", "title": "" }, { "docid": "07fb6c9020d481af13f27191be798065", "score": "0.5043943", "text": "int getEndpointerTypeValue();", "title": "" }, { "docid": "946ce177b2050f27ef7599f9a79f859f", "score": "0.50313187", "text": "public boolean getEnd() {\n\t\t\treturn this.end;\n\t\t}", "title": "" }, { "docid": "494e5b1af678c5fcf466a46c0c27e6b5", "score": "0.5025551", "text": "public Stop getSegmentEndLoc(){\n return this.segmentEndLoc;\n }", "title": "" }, { "docid": "c29899e6f94810d680124ce055295edf", "score": "0.5023084", "text": "public Time getEndRange() {\r\n\t\treturn rangeEnd;\r\n\t}", "title": "" }, { "docid": "0aa1893c1d8d61d68a1176113567d171", "score": "0.5022882", "text": "public long getStructureEnd() {\n\t\treturn structureStart + getStructureLength();\n\t}", "title": "" }, { "docid": "4bd0890b97bb740f28114ce5b24b4228", "score": "0.50216544", "text": "public double getEndY () {\n return mEnd.y;\n }", "title": "" }, { "docid": "6880ca701f857e550d73891f4a5b254e", "score": "0.5014647", "text": "public byte last()\n\t{\n\t\treturn aData[nSize - 1];\n\t}", "title": "" }, { "docid": "682432829e70f830edbb117490c51248", "score": "0.5010652", "text": "public int getEndLine() {\r\n\treturn this.endLine;\r\n }", "title": "" }, { "docid": "fc15a46f9fd6f79c06a3ea89c7f4a8e5", "score": "0.50078183", "text": "public SimFlightDef setEndLng(double endLng) {\n\t\tthis.endLng = endLng;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "fc4b1042ecbf164b95bcb98f9784fce0", "score": "0.50062084", "text": "public BasicBlock getEndBlock() {\n return endBlock;\n }", "title": "" }, { "docid": "294315c1b8a7e60700cc1841964129e1", "score": "0.5005746", "text": "public String getEndText() {\n\n return this.endText;\n }", "title": "" }, { "docid": "09cc6d249d82bad59b97bfea7a4ce5d7", "score": "0.49985266", "text": "public double getEndX () {\n return mEnd.x;\n }", "title": "" }, { "docid": "b7c2ffd65f9491cad2f73802d378af4b", "score": "0.49907947", "text": "public String getEndStockOrgCode() {\n\t\treturn endStockOrgCode;\n\t}", "title": "" }, { "docid": "8dc6b2292d20664c522b86d0b7568aa8", "score": "0.4990593", "text": "@Nullable\n public DynamicInstant getEndExclusive() {\n if (mImpl.hasEndExclusive()) {\n return DynamicBuilders.dynamicInstantFromProto(mImpl.getEndExclusive());\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "a440b63cad4b35eefecfc8cedd7bd7e1", "score": "0.49902648", "text": "public double getEndY() {\n \n return myEndY;\n \n }", "title": "" }, { "docid": "275fc435d8958a1491d0cab24c1ef347", "score": "0.49811792", "text": "public int getEndY() {\n\t\treturn this.EndY;\n\t}", "title": "" }, { "docid": "0249ada60da752660ef83b2d4a466a5c", "score": "0.4979347", "text": "public float getEndAltFt() {\n\t\treturn endAltFt;\n\t}", "title": "" }, { "docid": "77259482326ce547df7ed5b86e59d9c0", "score": "0.49782044", "text": "public int getEnd() {\n return 0;\n }", "title": "" }, { "docid": "f4b801dcf75307a4d65c5918260538a9", "score": "0.49743718", "text": "public int[][] getEndCell() {\n return endCell;\n }", "title": "" } ]
a373671156d5f08bf5c0915fe6ffd62d
Test of Pay method, of class RentalList.
[ { "docid": "f1fd5773bb5934ac7b567e755fab6cc3", "score": "0.797397", "text": "@Test\n public static void testPay() {\n System.out.println(\"pay\");\n Rental currentRental = new Rental(0, 0, 30, 40, true);\n currentRental.setDateIn(new Date(2017, 4, 22));\n currentRental.setDateOut(new Date(2017, 4, 23));\n RentalList instance = new RentalList();\n int expResult = 30 * 24;\n long result = instance.pay(currentRental);\n\n if (expResult == result) {\n System.out.println(\"PASSED\");\n } else {\n System.out.println(\"FAILED\");\n System.out.println(instance.pay(currentRental));\n }\n }", "title": "" } ]
[ { "docid": "1277ac385bc4d2b7392c12410c20a7f2", "score": "0.681426", "text": "public void pay() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ab5d21e51cce5b10ecfa85ff461e8a6b", "score": "0.6757007", "text": "@Test\r\n\tpublic final void testGetPayments() {\n\t}", "title": "" }, { "docid": "44af87eef1c20fcab7e58cbaf4b4f1d1", "score": "0.66996187", "text": "public void testGetPay() {\n\t\tProgrammer local1 = new Programmer(\"Local Value\", \"L12345\", 1000.00);\r\n\t\tlocal1.setOvertimePay(500.00);\r\n\r\n\t\t//expect-1500\r\n\t\tassertEquals(500.00,local1.getOvertimePay());\r\n\t\tassertEquals(1500.00,local1.getPay());\r\n\t}", "title": "" }, { "docid": "520864a9cb26cb2b4d4898127b39f776", "score": "0.65094095", "text": "public abstract void pay();", "title": "" }, { "docid": "e102b886b9209f1bc9d9c66f6be781f5", "score": "0.64722407", "text": "public void payday ()\r\n {\r\n double amount;\r\n\r\n for (int count=0; count < staffList.length; count++)\r\n {\r\n System.out.println (staffList[count]);\r\n\r\n amount = staffList[count].pay(); // polymorphic\r\n\r\n if (amount == 0.0)\r\n System.out.println (\"Thanks!\");\r\n else\r\n System.out.println (\"Paid: \" + amount);\r\n\r\n System.out.println (\"-----------------------------------\");\r\n }\r\n }", "title": "" }, { "docid": "d024aba74f656ec3dd8269d5e28f6610", "score": "0.6389636", "text": "@Test\r\n\tpublic final void testSetPayments() {\n\t}", "title": "" }, { "docid": "65481bff6a6de901d7e222ca54a533d0", "score": "0.6259155", "text": "@org.junit.jupiter.api.Test\n public void testPaymentProcess() {\n System.out.println(\"paymentProcess\");\n int amountPaid = 0;\n Sale instance = new Sale();\n instance.paymentProcess(amountPaid);\n float change = amountPaid - instance.receipt.getTotalPrice();\n assertTrue(instance.receipt.getChange() == change, \"works\");\n }", "title": "" }, { "docid": "17db34f2cc530d3496591d18a7705c1f", "score": "0.62338066", "text": "public void pay() {\n getDistributeMoney(DistributeMoneyOption.PAY).distributeMoney();\n setInstallmentPaid();\n UpdateLoan.update(loan);\n }", "title": "" }, { "docid": "2c1a6303e62f00e15179f64062e6e8c0", "score": "0.62255794", "text": "void payBill(Bill bill);", "title": "" }, { "docid": "00599d0fa0a426232b102e8278a1c93d", "score": "0.6214251", "text": "@Test \n public void shouldReturnCorrectReceiptWhenBuy() \n throws IllegalCoinException {\n ps.addPayment(5);\n ps.addPayment(10);\n ps.addPayment(25);\n Receipt receipt;\n receipt = ps.buy();\n assertNotNull( \"Receipt reference cannot be null\",\n receipt );\n assertEquals( \"Receipt value must be correct.\",\n 5+10+25, receipt.value() );\n }", "title": "" }, { "docid": "0366078a2665d0877cba99f8100e497a", "score": "0.6191889", "text": "@Test \n public void shouldReturnReceiptWhenBuy100c() \n throws IllegalCoinException {\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(10);\n ps.addPayment(25);\n ps.addPayment(25);\n\n Receipt receipt;\n receipt = ps.buy();\n assertEquals((5*10+2*25) , receipt.value() );\n }", "title": "" }, { "docid": "1a98224d07482f995abbe07e65de17c6", "score": "0.6179177", "text": "@Test\n public void payerTest() {\n // TODO: test payer\n }", "title": "" }, { "docid": "b2b093cfa8e99baadc2b55b28aea8857", "score": "0.61116403", "text": "public abstract double calculatePay();", "title": "" }, { "docid": "75c89d19e5d0d5ae33a9b658d29a4a25", "score": "0.60552585", "text": "@Override\n\tpublic void computePay() {\n\t\t\n\t}", "title": "" }, { "docid": "93d377bfe67b2a5675a3c18fa675051a", "score": "0.60455155", "text": "public void payPrice() {\n if (!hasBorrowed) {\n if (this.getBudget() >= currentContract.getPrice()) {\n // Proceed with the payment\n this.setBudget(this.getBudget() - currentContract.getPrice());\n currentDistributor.setBudget(currentDistributor.getBudget()\n + currentContract.getPrice());\n } else {\n // The consumer has insufficient funds\n hasBorrowed = true;\n oldPayment = currentContract.getPrice();\n oldDistributor = currentDistributor;\n }\n } else {\n // The consumer has unpaid payments from last month\n long totalPayment = Math.round(Math.floor(Constants.RATE * oldPayment))\n + currentContract.getPrice();\n\n // Proceed with the payment\n if (currentDistributor.equals(oldDistributor)) {\n if (this.getBudget() >= totalPayment) {\n this.setBudget(this.getBudget() - totalPayment);\n currentDistributor.setBudget(currentDistributor.getBudget()\n + currentContract.getPrice());\n oldDistributor.setBudget(oldDistributor.getBudget()\n + Math.round(Math.floor(Constants.RATE * oldPayment)));\n\n // The consumer has paid all his debts\n oldDistributor = null;\n oldPayment = 0;\n hasBorrowed = false;\n } else {\n // The consumer has insufficient funds and as a result,\n // he will go bankrupt\n setIsBankrupt(true);\n }\n } else {\n if (this.getBudget() >= totalPayment - currentContract.getPrice()) {\n // The distributor can only pay\n this.setBudget(this.getBudget() - (totalPayment - currentContract.getPrice()));\n if (this.getBudget() >= currentContract.getPrice()) {\n this.setBudget(this.getBudget() - currentContract.getPrice());\n\n // The consumer has paid all his debts\n oldDistributor = null;\n oldPayment = 0;\n hasBorrowed = false;\n } else {\n\n // The distributor has insufficient funds\n // to proceed his current contract price\n oldDistributor = currentDistributor;\n oldPayment = currentContract.getPrice();\n }\n } else {\n // The consumer has insufficient funds and as a result,\n // he will go bankrupt\n setIsBankrupt(true);\n }\n }\n }\n\n // Update the current contract (the remaining contract months)\n currentContract.contractUpdate();\n }", "title": "" }, { "docid": "da2e19ac812b1fb7fd8d7e355b4e3aa2", "score": "0.60163546", "text": "public void payTaxes() {\n\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9787b65765e4d17eaa5cee0139fbacc9", "score": "0.600664", "text": "@Test\n public void testBuy(){\n b0.getInv().addItem(g0);\n\n assertNull(s0.getInv().getObj(\"COD\")); //check buyer's inventory before buying\n assertEquals(g0, b0.getInv().getObj(\"COD\")); //check seller's inventory before selling\n\n s0.buy(g0);\n assertNull(s0.getInv().getObj(\"COD\")); //check seller's inventory after selling\n\n assertEquals(1000.0, b0.getCredit()); //check buyer's credit after calling sell\n assertEquals(2000.0, s0.getCredit()); //check seller's credit after calling sell\n }", "title": "" }, { "docid": "91a31680ca52f96745447ffe562a1d2a", "score": "0.59977967", "text": "public void pay() {\r\n System.out.println(this.getName() + \" is paid \" + (this.getRate() * this.getHours()));\r\n }", "title": "" }, { "docid": "840183d7514123f97d4c51758339a761", "score": "0.5993545", "text": "@Override\n\tpublic double pay() {\n\t\treturn commission*(0.01*totalSales);\n\t}", "title": "" }, { "docid": "ec84654d3c3815cab8e944a27a95c428", "score": "0.59897", "text": "@Test public void add_addsItemToReceipt() throws IllegalAccessException {\n itemList = new CsLinkedList<Item>();\n receipt = new Receipt(\"Target\" ,\"123\");\n itemToScan = new Item(5.50, \"pens\");\n customerCheckout = new CustomerCheckout(\"storeName\" ,\"storeNum\");\n customerCheckout.scanAnItem(itemToScan);\n //itemList.add(itemToScan);\n totalPrice += itemToScan.getPrice();\n totalItems++;\n\n assertEquals(\"pens\", customerCheckout.endTransaction());\n }", "title": "" }, { "docid": "f0d6987b1d1bb48c8664d543302c75bb", "score": "0.5985267", "text": "@Test\n\tpublic void calculateTestCase12(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(6,11);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Management > 3 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\n\t\tSystem.out.println(\"The Actual Payment for Management > 3 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(18);\n\t\tSystem.out.println(\"The Expected Payment for Management > 3 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "7abaad0c37e2737a6a021fb87901892a", "score": "0.5981217", "text": "@Test\n public static void testFindRental() {\n System.out.println(\"findRental\");\n int rentalID = 3;\n RentalList instance = new RentalList();\n Rental result = instance.findRental(rentalID);\n System.out.println(result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "e95df5618588c9c569ddd8283fab0e7b", "score": "0.5975304", "text": "@Test\n public void testCreatePaymentValid() {\n Product laptop = seedProduct(\"Dell Latitude 7390 2-in-1\", 6500, 17);\n Product handphone = seedProduct(\"iPhone XS\", 6000, 6);\n\n Order order = seedOrder();\n orderRepo.save(order);\n\n LineItem lineItem1 = seedLineItem(order, handphone, 2, 12000);\n lineItemRepo.save(lineItem1);\n\n LineItem lineItem2 = seedLineItem(order, laptop, 3, 19500); \n lineItemRepo.save(lineItem2);\n\n Long orderId = order.getId();\n \n // WHEN:\n // Payment is created for the order.\n Payment result = shoppingService.checkCreatePayment(orderId);\n\n // THEN:\n // Check if this is a valid payment.\n // Check if the payment is created with correct details - order_id/paid=true/refunded=false/amount=<subtotal of all line items>.\n assertNotEquals(null, result);\n assertNotEquals(null, result.getId());\n assertEquals(orderId, result.getOrder().getId());\n assertEquals(true, result.getPaid());\n assertEquals(false, result.getRefunded());\n assertEquals(31500, result.getAmount());\n }", "title": "" }, { "docid": "0ebebb4cf5665082ac5c16f36f6c5a9f", "score": "0.5975146", "text": "@Test\n\tpublic void calculateTestCase14(){\n\t\tPeriod reducedPeriod1 = new Period(21,22);\n\t\tPeriod reducedPeriod2 = new Period(9,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Management < 3 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Management < 3 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(3);\n\t\tSystem.out.println(\"The Expected Payment for Management < 3 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "b907c3737f27d217478765a4f3f6b739", "score": "0.5974541", "text": "@Test\n public static int testCreateRental() {\n System.out.println(\"createRental\");\n int custID = 12;\n int carID = 10;\n int payment = 720;\n RentalList instance = new RentalList();\n instance.createRental(custID, carID, payment);\n instance.createRental(1, 1, 1);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n System.out.println(instance.findRental(1210).getRentalID());\n return instance.findRental(11).getRentalID();\n }", "title": "" }, { "docid": "b4f0b5c878c9d8b675e7b8d922851ebc", "score": "0.594758", "text": "@Test\n\tpublic void calculateTestCase3(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(6,11);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Staff > 16 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\n\t\tSystem.out.println(\"The Actual Payment for Staff > 16 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(16);\n\t\tSystem.out.println(\"The Expected Payment for Staff > 16 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "f248c387e27e72d95daf26493df0dd19", "score": "0.59242904", "text": "@Test\n\tpublic void calculateTestCase4(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(7,11);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Staff == 16 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(7, 20));\n\t\tSystem.out.println(\"The Actual Payment for Staff == 16 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(16);\n\t\tSystem.out.println(\"The Expected Payment for Staff == 16 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "e6d7a953f69ad62e4558dadfb1a25112", "score": "0.59135455", "text": "public void calcPay()\r\n\t{\r\n\t\tsetPay(salary + bonus); // for a salary employee, pay is salary plus bonus. pay is private in Employee.\r\n\t\t\t\t\t\t// payRate has private access in Employee.\r\n\t}", "title": "" }, { "docid": "37f29c44e3f08f01bad4bb8a14ada974", "score": "0.5888933", "text": "public void payBill() {\n /* keep the status payment of old contract */\n hasOverduePayment = !oldDistributionContract.wasPaid();\n\n /* compare budget with monthly payment to check the situation */\n if (budget >= computePayment()) {\n budget -= computePayment();\n distributionContract.setPaymentStatus(true);\n } else if (!hasOverduePayment) {\n distributionContract.setPaymentStatus(false);\n } else {\n if (budget >= computePayment()) {\n budget -= computePayment();\n distributionContract.setPaymentStatus(true);\n } else {\n isBankrupt = true;\n distributionContract = null;\n oldDistributionContract = null;\n }\n }\n }", "title": "" }, { "docid": "981152cf17f9bc6b4d61eab264c05669", "score": "0.58746576", "text": "int createPayment(Payment payment, double balance) throws BusinessException;", "title": "" }, { "docid": "9a79d6948bdec2f4cb04894a1e90931a", "score": "0.587361", "text": "@Test\n\tpublic void calculateTestCase13(){\n\t\tPeriod reducedPeriod1 = new Period(10,11);\n\t\tPeriod reducedPeriod2 = new Period(8,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.MANAGEMENT, new BigDecimal(5.0), new BigDecimal(1.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Management == 3 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Management == 3 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(3);\n\t\tSystem.out.println(\"The Expected Payment for Management == 3 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "abc51ed0f030cf407b141d69206ab1e8", "score": "0.58735794", "text": "public void makePayment() {\n\t\tSystem.out.println(\"Amount Debited....\");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.println(\"Amount Credited....\");\n\t}", "title": "" }, { "docid": "287f80be5386d844f83c94a47726c0be", "score": "0.5862604", "text": "@Override\n\tpublic void PayCash() {\n\t\t\n\t}", "title": "" }, { "docid": "f9efed5fae3e831244b604bb86a216f6", "score": "0.58571374", "text": "public void pay(int recievedAmt) {\n sale.addPaymentObservers(observers);\n Receipt receipt = sale.doPay(recievedAmt, sale);\n printer.printReceipt(receipt);\n sale.updateExternalSystems(sale);\n \n }", "title": "" }, { "docid": "a7aa769c977773e063baefe4e643800a", "score": "0.5852423", "text": "@Test\n\tpublic void calculateTestCase10(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(8,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Visitor == 8 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Visitor == 8 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(0);\n\t\tSystem.out.println(\"The Expected Payment for Visitor == 8 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "4e656b165202b444046ca52b717e43be", "score": "0.58067006", "text": "@Test\n public void testAddPaidTransactionDoesAffectBalance() {\n\n // add a paid credit (does count towards balance)\n int transactionId = accountBook.generateNewId();\n int value = 23;\n accountBook.addTransaction(new Credit(transactionId, LocalDate.now(), value, OperationStatus.PAID));\n\n // transaction was added\n assertEquals(transactionId, accountBook.getTransaction(transactionId).getBalanceId());\n\n // balance did change\n assertEquals(initialBalance + value, accountBook.getBalance(), 0.01);\n }", "title": "" }, { "docid": "5f113b4ff6cd629c24be5b523dbc4e1c", "score": "0.58048636", "text": "@Test\n\tpublic void testMakePurchase() {\n\t\tvm.balance = 2.00;\n\t\tvm.addItem(vmi, \"A\");\n\t\tassertTrue(vm.makePurchase(\"A\"));\n\t\tvm.balance = 0.0;\n\t\tassertEquals(0.00,vm.balance,0.001);\n\t}", "title": "" }, { "docid": "9c8514bcfe3a73cf960f65811722f2c9", "score": "0.5800498", "text": "@Test\n\tpublic void calculateTestCase5(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(7,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STAFF, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\n\t\tSystem.out.println(\"The Rate for Staff < 16 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Staff < 16 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(8);\n\t\tSystem.out.println(\"The Expected Payment for Staff < 16 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "11fc65386b0d38405a01f872b63bdeed", "score": "0.57834226", "text": "@Override\n\tpublic void autoPay() {\n\n\t}", "title": "" }, { "docid": "ec5e13ec39588e226935107038209d72", "score": "0.5780664", "text": "@Test\n\tpublic void stateDCoverageOne(){\n\t\tassertTrue(accountServer.getAccount(\"SavingsTest2\").deposit(100));\n\t}", "title": "" }, { "docid": "a5c8f03fdfbfef868c9ca573e783f48e", "score": "0.57757527", "text": "@Test\n public void testInsufficientBillAmounts() {\n for (int i=0; i < this.purchasePricesInsufficient.length; i++) {\n ArrayList<Double> expectedResult = this.expectedResultsInsufficient.get(i);\n\n // initialize purchase and payment\n double purchaseAmount = purchasePricesInsufficient[i];\n double paymentAmount = this.paymentAmountsInsufficient[i];\n\n // get bills and counts\n ArrayList<Double> bills = new ArrayList<>(Arrays.asList(0.01, 0.05, 0.1, 0.25, 0.5, 1.00, 5.00, 10.00, 20.00));\n ArrayList<Integer> billCounts = billCountsInsufficient.get(i);\n int totalBills = totalBillsInsufficient[i];\n\n // set bills, counts, and total\n cashRegister.setBills(bills);\n cashRegister.setBillCounts(billCounts);\n cashRegister.setTotalBills(totalBills);\n\n // get change from transaction\n ArrayList<Double> returnedChange = cashRegister.calculateChange(purchaseAmount, paymentAmount);\n\n if (!returnedChange.equals(expectedResult)) {\n System.out.println(\"Results: \" + returnedChange);\n System.out.println(\"Expected: \" + expectedResult);\n }\n assert(returnedChange.equals(expectedResult));\n }\n }", "title": "" }, { "docid": "e76455338388c061d336ad390c6af843", "score": "0.57359135", "text": "@Test\n public void testChangeStateToPaidDoesAffectBalance() {\n\n // add a closed credit transaction (does not count towards balance)\n int transactionId = accountBook.generateNewId();\n int value = 10;\n accountBook.addTransaction(new Credit(transactionId, LocalDate.now(), value, OperationStatus.CLOSED));\n\n // set status to paid\n accountBook.setTransactionStatus(transactionId, OperationStatus.PAID);\n\n // balance did change\n assertEquals(initialBalance + value, accountBook.getBalance(), 0.01);\n }", "title": "" }, { "docid": "145c17dc48513cf2a5d181170e959008", "score": "0.57328427", "text": "public boolean billPay(String ToWhom,double Amount );", "title": "" }, { "docid": "85a980a7f7336d36444f302098c060eb", "score": "0.5726893", "text": "@Test\n\t public void testGetRentPrice() {\n\t lease = new Lease();\n\t lease.setRentPrice(2400);\n\t Double expResult = 2400.00;\n\t Double result = lease.getRentPrice();\n\t assertEquals(expResult, result);\n\t }", "title": "" }, { "docid": "bc17042122660fe0e8f6e3b155e7d2a9", "score": "0.57213855", "text": "@Test\r\n public void testDeposit()\r\n {\r\n System.out.println(\"deposit\");\r\n double amount = this.amount;\r\n Konto instance = new Konto();\r\n instance.deposit(amount);\r\n // TODO review the generated test code and remove the default call to fail.\r\n assertEquals(instance.getAmount(), 50+amount, 0.1);\r\n }", "title": "" }, { "docid": "fcbcbec92153c971907e4f9cd9c7dbf0", "score": "0.571751", "text": "@Test\n\tpublic void calculateTestCase11(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(7,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Visitor < 8 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\tSystem.out.println(\"The Actual Payment for Visitor < 8 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(0);\n\t\tSystem.out.println(\"The Expected Payment for Visitor < 8 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "e213227f2cf452d9a0fe6795b905a484", "score": "0.57133335", "text": "public void payments(){\r\n\t\tdouble totalAmount = 0.0;\r\n\t\tfor(int i = 0; i<index; i++){\r\n\t\t\ttotalAmount = totalAmount + myArray[i].getAmountDue();\r\n\t\t} //end for\r\n\t\t// Wasn't exactly sure what the goal was, so I provided the amount due, plus payments added.\r\n\t\tSystem.out.println(\"Outstanding Balances: $\" + totalAmount);\r\n\t\tSystem.out.println(\"Total Payments: $\" + allPayments);\r\n\t}", "title": "" }, { "docid": "f7613690114f2a50e9a83769dfe063a2", "score": "0.5699678", "text": "public void processPayments(){ //process payments for all employees\n for(int i = 0; i < numEmployee; i++){\n emplist[i].calculatePayment();\n }\n }", "title": "" }, { "docid": "3ee13058710b819da5f198c89967c881", "score": "0.5696411", "text": "public void payEmployees()\n\t{\n\t\tfor (int i = 0; i < residents.size(); i++)\n\t\t{\n\t\t\tif (residents.get(i) instanceof Employee)\n\t\t\t{\n\t\t\t\tSystem.out.printf(\"Paid %s %s $%f\\n\", residents.get(i).getFirstName(), residents.get(i).getLastName(), ((Employee)residents.get(i)).givePay());\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d75edbd44bd94667ad4a821bd35b5e21", "score": "0.56948173", "text": "@Test\n\tpublic void testIterationBasicFunctionality() {\n\t\tcontroller.addPayment(testCard1);\n\t\tcontroller.addPayment(testCard2);\n\t\tcontroller.addPayment(testLoan1);\n\t\tcontroller.addPayment(testLoan2);\n\t\t// order the array on the controller\n\t\tcontroller.createOrderedDebts();\n\t\t// get the ordered debt array from controller\n\t\ttestIteration.getOrderedDebtsArray();\n\t\ttestIteration.runAnIteration(100.00);\n\t\t\n\t\tassertEquals(testIteration.getDebt(0).getBalance(), 750.00);\n\t\tassertEquals(testIteration.getDebt(1).getBalance(), 750.00);\n\t\tassertEquals(testIteration.getDebt(2).getBalance(), 8700.00);\n\t\tassertEquals(testIteration.getDebt(3).getBalance(), 13400.00);\n\t}", "title": "" }, { "docid": "3b290fa26238e33bf932a1955b7aaad9", "score": "0.5687772", "text": "@Test\n\tpublic void calculateTestCase7(){\n\t\tPeriod reducedPeriod1 = new Period(8,9);\n\t\tPeriod reducedPeriod2 = new Period(7,8);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Student < 5.5 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(7, 20));\n\t\tSystem.out.println(\"The Actual Payment for Student < 5.5 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(4);\n\t\tSystem.out.println(\"The Expected Payment for Student < 5.5 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "c8ae3162e1207de6c18e4bccd3284ee3", "score": "0.5682207", "text": "@Override\n\tpublic void PayCredit() {\n\t\t\n\t}", "title": "" }, { "docid": "79fe9fc29c049f6bac8d4b0def044c22", "score": "0.5678155", "text": "@Test\r\n public void testGetBalances() {\r\n Bank bank = getBank();\r\n long ssnum1 = 123456789;\r\n long ssnum2 = 123456789 + 20;\r\n long ssnum3 = 123456789 + 10;\r\n String userName = \"diament\";\r\n String password = \"1234\";\r\n double amount = 1000d;\r\n //create 3 accounts\r\n try {\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum2, userName, password);\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum1, userName, password);\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum3, userName, password);\r\n bank.openSavingsAccount(ssnum1, userName, password);\r\n bank.openSavingsAccount(ssnum2, userName, password);\r\n bank.openSavingsAccount(ssnum3, userName, password);\r\n bank.depositCashIntoSavings(ssnum1, userName, password, amount);\r\n bank.depositCashIntoSavings(ssnum2, userName, password, amount * 2d);\r\n bank.depositCashIntoSavings(ssnum3, userName, password, amount * 3d);\r\n //withdraw some cash\r\n bank.withdrawCashFromSavings(ssnum3, userName, password, amount * 2d);\r\n //check total remaining in ssnum3\r\n Assert.assertEquals(\"Incorrect total savings cash in SS# \" + ssnum3, amount, bank.checkBalanceSavings(ssnum3, userName, password), 10);\r\n //check that the correct total remains in the bank\r\n Assert.assertEquals(\"Incorrect total savings cash in bank\", amount * 4d, bank.getTotalSavingsInBank(), 10);\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace();\r\n Assert.fail(\"getTotalSavingsInBank incorrectly failed\");\r\n }\r\n }", "title": "" }, { "docid": "07c0a39a971736177b8c3f6c59cfb0d4", "score": "0.56775314", "text": "@Test\n\tpublic void calculateTestCase9(){\n\t\tPeriod reducedPeriod1 = new Period(11,15);\n\t\tPeriod reducedPeriod2 = new Period(6,11);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.VISITOR, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Visitor > 8 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(6, 20));\n\t\tSystem.out.println(\"The Actual Payment for Visitor > 8 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(5);\n\t\tSystem.out.println(\"The Expected Payment for Visitor > 8 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "0727fe65376987d6474490936dc079ed", "score": "0.566931", "text": "@Test\n public void testGetTransaction() {\n assertEquals(order1, accountBook.getTransaction(order1.getBalanceId()));\n assertEquals(credit, accountBook.getTransaction(credit.getBalanceId()));\n }", "title": "" }, { "docid": "d396e66fd901dbb0804860387ef1bf76", "score": "0.5659339", "text": "public double pay(){\r\n\t\tdouble payment = super.pay() + bonus;\r\n\t\t\r\n\t\tbonus = 0;\r\n\t\t\r\n\t\treturn payment;\r\n\t}", "title": "" }, { "docid": "ffc4ab3da9c12d67151f148fdf9d83d9", "score": "0.56592935", "text": "Individual_Test(int ques, float cost, float paid) {\n bought_item = ques;\n amount_paid = paid;\n cost_item = cost;\n\n if (is_purchase) {\n correct_amount = cost_item;\n if (correct_amount <= 0) {\n throw new AssertionError(\"Correct amount must be >0\");\n }\n } else {\n correct_amount = paid - cost_item;\n if (paid <= 0)\n throw new AssertionError(\"paid should be > 0\");\n if (correct_amount < 0)\n throw new AssertionError(\"Change should be >=\");\n }\n\n\n }", "title": "" }, { "docid": "3eba31667ab45c2070e766c81f81b68a", "score": "0.5654632", "text": "@Test\n\tpublic void calculateTestCase6(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(7,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(2.0), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Student > 5.5 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal actualPayment = rate.calculate(new Period(8, 20));\n\t\t//Period reducedPeriod1 = new Period(10,12);\n\t\t//Period givenPeriod = new Period(8,20);\n\t\t//BigDecimal workingPayment = rate.calculate(new Period(8, 20));\n\t\t//BigDecimal actualPayment = rate;\n\t\tSystem.out.println(\"The Actual Payment for Student > 5.5 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(6);\n\t\tSystem.out.println(\"The Expected Payment for Student > 5.5 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "df49bb45668f2c1145fc88747d6595ad", "score": "0.56465364", "text": "public void payCharge()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3221852d0b608e84ff5d28696d1cbc3e", "score": "0.56463337", "text": "@Test\n\tpublic void Test_depositSomeMoney_ShouldSendtooMuchMoneyOnYouAccount() {\n\n\t\tBankAccountWithdrawalDepositInformation testItem = new BankAccountWithdrawalDepositInformation();\n\t\ttestItem.setAmount(150.00);\n\t\t\n\t\twhen(operationOnAccountServices.checkIfCurrentUserCanStillDepositToItsAccount(currentUser,testItem.getAmount())).thenReturn(false);\n\n\n\t\tModelAndView theView = operationController.depositSomeMoney(testItem, model, session);\n\n\t\tassertTrue(theView.getViewName().toString().equals(\"redirect:/userHome\") && theView.getModel().containsKey(\"tooMuchMoneyOnYouAccount\"));\n\n\t}", "title": "" }, { "docid": "9f3ad1dfe20c766fec696f7d94d47ee3", "score": "0.5639919", "text": "@org.junit.Test\n public void testPayWithCreditAccount_checkTrue() {\n assertTrue(transactionManagerTest1.pay());\n }", "title": "" }, { "docid": "02a7d6aed81fb45777f68a694a652d99", "score": "0.56380767", "text": "private void calculatePayments() {\n newCompany.processPayments();\n System.out.println(\"Calculation of employee payments is done.\");\n }", "title": "" }, { "docid": "16b54985be726f5b1cb911a937bded4b", "score": "0.5619023", "text": "int addPayment(PaymentModel payment);", "title": "" }, { "docid": "a9549dc7936e7357e9923f51af14d3f4", "score": "0.5616786", "text": "@Override\n public double calculatePay ()\n {\n double salaryPay = this.salary / 52;\n return salaryPay;\n }", "title": "" }, { "docid": "8d705745365e7921bd500a67f69cf0ca", "score": "0.56073195", "text": "@Test\n public void amountOrderTest() {\n // TODO: test amountOrder\n }", "title": "" }, { "docid": "89b50e3777d0aa214e48a23070ccd1e9", "score": "0.560026", "text": "public void makePayment(Money cashTendered) {\n payment = new Payment(cashTendered); \n }", "title": "" }, { "docid": "12cb1d5dc68e1ce62790a91bdddab53b", "score": "0.5591862", "text": "public double makePayment(double payment);", "title": "" }, { "docid": "77c482035f8ff06af4772ef27e959501", "score": "0.55856264", "text": "public void makePayment (double returnMoney)\n\t{\n\t\t\trunningBalance -= returnMoney;\t\n\t}", "title": "" }, { "docid": "f6499cfc715251c3079f6b8cd4b2821b", "score": "0.5570548", "text": "@Test\n public final void testGetPayLevel() {\n PayLevel testPayLevel = new PayLevel();\n testWorkPackageBudget.setPayLevel(testPayLevel);\n assertEquals(testPayLevel, testWorkPackageBudget.getPayLevel());\n }", "title": "" }, { "docid": "729cdb45f570e1a8fecf7b3accfc95ea", "score": "0.5569039", "text": "@Test\n public void shouldNotTakePaymentForAPreviouslyPaidOrder() throws Exception {\n Payment payment = payment().build();\n PaymentRepository.current().store(storedOrderIdentifier, payment);\n\n PaymentResource paymentResource = new PaymentResource(mockUriInfo);\n Response response = paymentResource.pay(new PaymentRepresentation(payment));\n assertEquals(403, response.getStatus());\n\n }", "title": "" }, { "docid": "6d29ccaa9fc79489ff648bbf1af47242", "score": "0.556822", "text": "@Test\r\n\tpublic void creditTest()\r\n\t{\r\n\t\ttry {\r\n\t\t\tSystem.out.println(RateBLL.getRate(760));\r\n\t\t\tassertEquals(RateBLL.getRate(760), 5.75);\r\n\t\t} catch (RateException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5931e8e67fc48207d3e6db2ccc216745", "score": "0.55627257", "text": "public String sell(ArrayList<Investment> list, String symbol, int quantity, double price) {\n int x = isInList(symbol, list);\n DecimalFormat df = new DecimalFormat(\"####0.00\");\n if (x != -1) {\n if (quantity >= list.get(x).quantity) {\n double paymentRec1 = list.get(x).paymentRecieved();\n list.remove(list.get(x));\n return \"All your stocks were sold. Payment Recieved: $\" + df.format(paymentRec1) + \"\\n\";\n } else {\n double paymentRec = 0;\n paymentRec = list.get(x).computePayment(quantity, price);\n double updatedQuantity = (double) list.get(x).quantity - quantity;\n double denominator = updatedQuantity / list.get(x).quantity;\n double updatedBookVal = 0;\n updatedBookVal = list.get(x).getBookVal(denominator);\n String stockSymbol = list.get(x).symbol;\n String stockName = list.get(x).name;\n if (updatedQuantity != 0) {\n list.get(x).change(list, stockSymbol, stockName, (int) updatedQuantity, price, updatedBookVal);\n }\n list.remove(list.get(x));\n return \"Payment Recieved: $\" + df.format(paymentRec) + \"\\n\";\n }\n } else {\n return \"Sorry, that investment does not exist\\n\";\n }\n }", "title": "" }, { "docid": "03238700abccec24607f22b15d7c045e", "score": "0.5561909", "text": "void updatePayments() {\n for (Staff staff : staffs)\n staff.pay();\n for (Instructor instructor : instructors)\n instructor.pay();\n for (TeachingAssistant ta : teachingAssistants)\n ta.pay();\n\n int total = staffs.size() + instructors.size() + teachingAssistants.size();\n System.out.println(total + \" payments have been processed.\");\n }", "title": "" }, { "docid": "fe64f2598e72caec56db2cf141d749d2", "score": "0.55548954", "text": "public void payAll() {\n getDistributeMoney(DistributeMoneyOption.PAY_ALL).distributeMoney();\n setAllInstallmentsPaid();\n UpdateLoan.update(loan);\n }", "title": "" }, { "docid": "1b18b25c899758ed3e8d532b20755bc6", "score": "0.5554209", "text": "public double calculatePay() {//start calculatePay\n\t\treturn annualSalary/12;\n\t}", "title": "" }, { "docid": "3882fe3653df939899321fcca50e6b84", "score": "0.5541274", "text": "@Test\n @MediumTest\n @Feature({\"Payments\"})\n public void testPaymentAppCanPayWithModifiers()\n throws InterruptedException, ExecutionException, TimeoutException {\n mPaymentRequestTestRule.installPaymentApp(HAVE_INSTRUMENTS, DELAYED_RESPONSE);\n mPaymentRequestTestRule.triggerUIAndWait(mPaymentRequestTestRule.getReadyToPay());\n\n assertTrue(mPaymentRequestTestRule.getSelectedPaymentInstrumentLabel().startsWith(\n \"https://bobpay.com\"));\n assertEquals(\"USD $4.00\", mPaymentRequestTestRule.getOrderSummaryTotal());\n\n mPaymentRequestTestRule.clickAndWait(\n R.id.button_primary, mPaymentRequestTestRule.getDismissed());\n\n mPaymentRequestTestRule.expectResultContains(\n new String[] {\"https://bobpay.com\", \"\\\"transaction\\\"\", \"1337\"});\n }", "title": "" }, { "docid": "4f023b9c8cb4c02423d369d348d0a319", "score": "0.55315804", "text": "@Test\n public void testToAllocate() {\n System.out.println(\"toAllocate\");\n String clientType = \"\";\n Integer qtd = null;\n List<DayType> dayTypes = null;\n CarRental instance = new CarRental();\n String expResult = \"\";\n String result = instance.toAllocate(clientType, qtd, dayTypes);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "9ef143e7a34871c0286e15b009743171", "score": "0.5529692", "text": "@Test\r\n public void testGetNetWorth() {\r\n Bank bank = getBank();\r\n long ssnum1 = 123456789;\r\n long ssnum2 = 123456789 + 20;\r\n long ssnum3 = 123456789 + 10;\r\n String userName = \"diament\";\r\n String password = \"1234\";\r\n double amount = 1000d;\r\n //create 3 accounts\r\n try {\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum1, userName, password);\r\n bank.openSavingsAccount(ssnum1, userName, password);\r\n bank.depositCashIntoSavings(ssnum1, userName, password, amount);\r\n //do other things with other patrons\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum2, userName, password);\r\n bank.openSavingsAccount(ssnum2, userName, password);\r\n bank.depositCashIntoSavings(ssnum2, userName, password, amount * 2d);\r\n bank.createNewPatron(\"Judah\", \"Diament\", ssnum3, userName, password);\r\n bank.openSavingsAccount(ssnum3, userName, password);\r\n //deposit more cash\r\n bank.depositCashIntoSavings(ssnum1, userName, password, amount * 3d);\r\n //withdraw some cash from a different patron\r\n bank.withdrawCashFromSavings(ssnum2, userName, password, amount * 2d);\r\n //check that the correct total remains\r\n Assert.assertEquals(\"Incorrect Net Worth for SS# \" + ssnum1, amount * 4d, bank.getNetWorth(ssnum1, userName, password), 10);\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace();\r\n Assert.fail(\"getTotalSavingsInBank incorrectly failed\");\r\n }\r\n }", "title": "" }, { "docid": "d78ed0c46d3c209bca843e3d119d0721", "score": "0.5527274", "text": "@Test \n public void shouldClearAfterBuy() \n throws IllegalCoinException {\n ps.addPayment(25);\n ps.buy(); // I do not care about the result\n // verify that the display reads 0\n assertEquals( \"Display should have been cleared\",\n 0 , ps.readDisplay() );\n // verify that a following buy scenario behaves properly\n ps.addPayment(10); ps.addPayment(25);\n assertEquals( \"Next add payment should display correct time\",\n 10+25, ps.readDisplay() );\n Receipt r = ps.buy();\n assertEquals( \"Next buy should return valid receipt\",\n (10+25), r.value() );\n assertEquals( \"Again, display should be cleared\",\n 0 , ps.readDisplay() );\n }", "title": "" }, { "docid": "79630bcc82877f35a4dbff21dfcc8792", "score": "0.55108386", "text": "@Test\r\n public void getTempRepayPlanListone() {\r\n\r\n }", "title": "" }, { "docid": "efd0ba98c0265112c297a11deac224bb", "score": "0.5510575", "text": "Payroll createPayroll(Payroll payroll) throws Exception;", "title": "" }, { "docid": "f7d44ed38c6d46716da56a088715d324", "score": "0.5502061", "text": "@org.junit.Test\n\tpublic void deposit() throws Exception{\n\t\t\n\t\tdouble balance = this.account.deposit(200, true);\n\t\tassertEquals(1200, balance,0);\n\t\tSystem.out.println(\"Execution Count \" + showWhenExecuted++);\n\t}", "title": "" }, { "docid": "bae4e65f846f2749fe95cc6e0e2da0bf", "score": "0.5496621", "text": "@Test\n\tpublic void calculateTestCase8(){\n\t\tPeriod reducedPeriod1 = new Period(10,12);\n\t\tPeriod reducedPeriod2 = new Period(8,10);\n\t\tArrayList<Period> reducedPeriods = new ArrayList<Period>();\n\n\t\treducedPeriods.add(reducedPeriod1);\n\t\treducedPeriods.add(reducedPeriod2);\n\n\t\tPeriod normalPeriod1 = new Period(4,6);\n\t\tPeriod normalPeriod2 = new Period(1,4);\n\t\tArrayList<Period> normalPeriods = new ArrayList<Period>();\n\n\t\tnormalPeriods.add(normalPeriod1);\n\t\tnormalPeriods.add(normalPeriod2);\n\n\t\tRate rate = new Rate(CarParkKind.STUDENT, new BigDecimal(5.0), new BigDecimal(1.37), reducedPeriods, normalPeriods);\n\t\tSystem.out.println(\"The Rate for Student == 5.5 is \" + rate);\n\t\tAssert.assertNotNull(rate);\n\n\t\tBigDecimal payment = rate.calculate(new Period(8, 20));\n\t\tBigDecimal actualPayment;\n\t\tactualPayment = payment.setScale(1, RoundingMode.CEILING);\n\t\tSystem.out.println(\"The Actual Payment for Student == 5.5 is \" + actualPayment);\n\t\tBigDecimal expectedPayment = new BigDecimal(5.5);\n\t\tSystem.out.println(\"The Expected Payment for Student == 5.5 is \" + expectedPayment);\n\t\tAssert.assertTrue(expectedPayment.compareTo(actualPayment) == 0);\n\t}", "title": "" }, { "docid": "adf3b2d63710c06b621e1d37b5ecae11", "score": "0.54949313", "text": "public int getPayout(HandCards hand,int bet);", "title": "" }, { "docid": "3660e39d3d12144b098149926c05ac02", "score": "0.5493591", "text": "public static void main(String[] args) {\n int amount = 1291;\n //int[] d = {1,7,10};\n int[] d = {1,2,5,8,10,14};\n pay(d,amount);\n }", "title": "" }, { "docid": "1d75812acbc629ab030e8d7b50d0b900", "score": "0.5492772", "text": "private void payBill(int tableNum) {\n Bill bill = billList.get(tableNum); // Retrieve the bill object\n\n for (Integer key : bill.getDishList().keySet()) {\n dishList.remove(key); // Remove all dishes that were on this bill from this waiter's dishList.\n }\n\n Restaurant.addToPaidBills(bill);\n billList.remove(tableNum); // Remove the bill from the active bills list\n\n printToScreen(\"Table \" + tableNum + \" has paid!\");\n }", "title": "" }, { "docid": "8632f371057761a27671ca02da7f3e1b", "score": "0.5492768", "text": "@Test\n public void testPurchaseGreaterThanPayment() {\n ArrayList<Double> expectedResult = new ArrayList<>();\n\n for (int i=0; i < this.purchasePricesGreater.length; i++) {\n double purchaseAmount = purchasePricesGreater[i];\n double paymentAmount = paymentAmountsGreater[i];\n\n ArrayList<Double> returnedChange = cashRegister.calculateChange(purchaseAmount, paymentAmount);\n\n if (!returnedChange.equals(expectedResult)) {\n System.out.println(\"Returned: \" + returnedChange);\n System.out.println(\"Expected: \" + expectedResult);\n }\n \n assert(returnedChange.equals(expectedResult));\n }\n }", "title": "" }, { "docid": "a684bbc47615442e38ee9f5c764add16", "score": "0.5492479", "text": "public void setPayment(int payment) {\n this.payment = payment;\n }", "title": "" }, { "docid": "b7dc989c47d9951b53bdf4dd8a6b690d", "score": "0.5492285", "text": "@Test\n public void calculatePrice(){\n setUpDiscountAdded();\n Subscribe sub = daoHolder.getSubscribeDao().find(\"Yuval\");\n Product p = daoHolder.getProductDao().find(data.getRealProduct(Data.VALID));\n assertEquals(store.getProducts().get(p.getName()).getName(), p.getName());\n sub.addProductToCart(store, p, 1);\n Cart cart = daoHolder.getCartDao().find(sub.getName());\n Map<String, ProductInCart> productAmount = cart.getBasket(store.getName()).getProducts();\n double expected = 0;\n double discount = 1;\n for(ProductInCart productInCart: productAmount.values()) {\n expected += productInCart.getAmount() * productInCart.getPrice() - discount;\n }\n double price = store.calculatePrice(productAmount);\n assertEquals(price, expected,0.001);\n }", "title": "" }, { "docid": "abe44d9641b9372fee0882af424f2eea", "score": "0.5491905", "text": "@Test\n public void adapterPurchaseTest() throws Exception\n {\n DDRPrice ddrPrice = getTestDDRPrice( DDRTypeCategory.ADAPTER_PURCHASE, 10.0, \"Test\", UnitType.PART,\n AdapterType.EMAIL, null );\n assertThat( ddrPrice.getDdrTypeId(), Matchers.notNullValue() );\n String createAdapter = adapterAgent.createEmailAdapter( \"[email protected]\", \"test\", null, null, null, null, null,\n null, null, TEST_ACCOUNTID, null, null );\n //check if a ddr record is created\n Object ddrRecords = ddrRecordAgent.getDDRRecords(null, TEST_ACCOUNTID, null, null, null, null, null, null,\n null, null, null, null);\n TypeUtil<Collection<DDRRecord>> typesInjector = new TypeUtil<Collection<DDRRecord>>()\n {\n };\n Collection<DDRRecord> allDdrRecords = typesInjector.inject( ddrRecords );\n assertThat( allDdrRecords.size(), Matchers.is( 1 ) );\n DDRRecord ddrRecord = allDdrRecords.iterator().next();\n assertThat( ddrRecord.getAccountId(), Matchers.is( TEST_ACCOUNTID ) );\n assertThat( ddrRecord.getAdapterId(), Matchers.is( createAdapter ) );\n assertThat( DDRUtils.calculateDDRCost( ddrRecord ), Matchers.is( 10.0 ) );\n }", "title": "" }, { "docid": "d7b90654eaf54bf9b1232b5696fd1a11", "score": "0.54893833", "text": "@Test\n public void testGetPayPeriods() {\n\tSystem.out.println(\"getPayPeriods\");\n\tlong expResult = 24L;\n\tSalariedEmployee instance = new SalariedEmployee(\"Joe C Doe\", \"123 45th Street\", \"Normal\", \"IL\", \"01/01/1969\", \"IT\", \"Peon\", \"Hi There\", 10000.00, expResult, 14);\n\tlong result = instance.getPayPeriods();\n\tassertEquals(expResult, result);\n }", "title": "" }, { "docid": "1634a65dc8d3211c37d9b18183971c09", "score": "0.5481489", "text": "public void testC_FindPendingTrade(){\n User friend = new User(\"Enter Desired Username\", \"Enter Email\", \"Enter City\", \"Enter Phone Number\");\n friend.setUserCity(\"Hawii\");\n UserManager UM = new UserManager();\n TradeManager TM = new TradeManager();\n TM.getCurrent().clearTradelist();\n UM.setPendinglist(TM.getCurrent());\n assertTrue(UM.getTrader().getPendingTrades().isEmpty());\n assertNotNull(UM.getTrader().getPendingTrades());\n TradeList tradeList = new TradeList();\n ArrayList<Item> o_tradeitem = new ArrayList<Item>();\n ArrayList<Item> b_tradeitem = new ArrayList<Item>();\n Item item_1 = new Item(\"Call of Duty\", \"01-01-2000\", false, 5, 5, \"It's Okay\");\n Item item_2 = new Item(\"Call of Doom\", \"02-02-1000\", true, 2, 5, \"It's better than Okay\");\n o_tradeitem.add(item_1);\n b_tradeitem.add(item_2);\n // TM.createTrade(\"Owner\", \"Borrower\", o_tradeitem, b_tradeitem);\n // Trade trade = new Trade(\"Owner\", \"Borrower\", o_tradeitem, b_tradeitem);\n //assertTrue(TM.getTrade(0,1).equals(trade));\n }", "title": "" }, { "docid": "c32d0325a5931f9146fdac8b486cc923", "score": "0.54783577", "text": "public interface PayPlanManager {\r\n static final String BEAN_NAME = \"payPlanManager\";\r\n static final int INITIAL_INSTALLMENT_PERIOD = 4;\r\n static final int MAX_INSTALLMENTS = 1500;\r\n\r\n public List<PaymentInvoice> getAllPaymentInvoices();\r\n\r\n // Plan Template\r\n List<PayPlanTemplate> getPayPlanTemplates();\r\n\r\n List<PayPlanTemplate> getPayPlanTemplates(String templateType);\r\n\r\n // Interest Rate\r\n List<PayPlanInterestRate> getInterestRates();\r\n\r\n void saveInterestRate(PayPlanInterestRate interestRate);\r\n\r\n void deleteInterestRate(PayPlanInterestRate interestRate);\r\n\r\n\r\n // Pay Plan\r\n PayPlan getPayPlan(String payPlanNumber);\r\n\r\n List<PayPlan> getPayPlans(String payPlanNumber);\r\n\r\n List<PayPlan> getActivePayPlans(String payPlanNumber, int maxResults);\r\n\r\n List<PayPlan> getPayPlans();\r\n\r\n List<PayPlan> getPayPlans(Long caseId);\r\n\r\n void savePayPlan(PayPlan payPlan);\r\n\r\n void assignPayPlanNumber(PayPlan payPlan);\r\n\r\n String getPayPlanNumberNextVersion(PayPlan payPlan);\r\n\r\n // Pay Plan Item\r\n List<PayPlanItem> getPayPlanItems(Long responsiblePartyId);\r\n\r\n void deletePayPlanItem(PayPlanItem payPlanItem);\r\n\r\n // Fund transfer instrument\r\n void deleteFundTransferInstrument(FundTransferInstrument fundTransferInstrument);\r\n\r\n\r\n // Installment\r\n List<Installment> getInstallments(Long payPlanId, InstallmentType installmentType);\r\n\r\n Installment getInstallment(String payPlanNumber);\r\n\r\n Installment getNextUnpaidInstallment(PayPlan payPlan);\r\n\r\n\r\n // Installment item\r\n List<InstallmentItem> getOpenInstallmentItems();\r\n\r\n // Installment payment\r\n void updateInstallmentPayment(InstallmentPayment installmentPayment, PaymentInvoice paymentInvoice);\r\n\r\n InstallmentPayment createInstallmentPayment(Installment installment, PaymentInvoice paymentInvoice);\r\n\r\n PaymentInvoice getLastPaymentInvoice(Installment installment);\r\n\r\n double getBalance(Installment installment);\r\n\r\n boolean fullyPaid(Installment installment);\r\n\r\n List<PayPlan> searchPayPlans(PayPlanSearchCriteria payPlanSearchCriteria);\r\n\r\n void delete(DomainObject domainObject);\r\n}", "title": "" }, { "docid": "de490a0f08d625208740c398d5ac8c57", "score": "0.54775155", "text": "@Test\n public void testDeal() {\n DealInfo dealInfo = null;\n int allianceNodeID = -1;\n service.deal(dealInfo, allianceNodeID);\n\n allianceNodeID = 123;\n service.deal(dealInfo, allianceNodeID);\n\n // case2: dealInfo != null 无返回结果直接运行,由于本方法简单且会调用processDeal方法,因此本测试方法主要测试processDeal\n dealInfo = new DealInfo();\n\n List<CoinInfo> fromCoinList = new ArrayList<>();\n CoinInfo ci1 = new CoinInfo();\n ci1.setBalance(1);\n fromCoinList.add(ci1);\n CoinInfo ci2 = new CoinInfo();\n ci2.setBalance(2);\n fromCoinList.add(ci2);\n dealInfo.setFromCoinList(fromCoinList);\n\n dealInfo.setDealCost(1.2);\n\n\n service.deal(dealInfo, allianceNodeID);\n }", "title": "" }, { "docid": "553308e622812b9a9a091e61bb7a437b", "score": "0.54772365", "text": "@Test\r\n\tpublic void testCalculateSalary() \r\n\t{\r\n\t\tassertEquals(510.6, sales1.calculateSalary(37), 0.01);\r\n\t\tassertEquals(517.5, sales1.calculateSalary(37.5), 0.01);\r\n\t\tassertEquals(531.3, sales1.calculateSalary(38), 0.01);\r\n\t\tassertEquals(546.96, sales1.calculateSalary(38.5674), 0.01);\r\n\t}", "title": "" }, { "docid": "c673ba68623a175e09e66130d3ed187c", "score": "0.547473", "text": "public void setPayments(java.util.List<Payment> payments) {\n this.payments = payments;\n }", "title": "" }, { "docid": "41b665e7527c979ff104c9b4533a8a60", "score": "0.5472561", "text": "public Pay() {\n super();\n }", "title": "" }, { "docid": "fc30187953521ccff24aae35eff03303", "score": "0.54675364", "text": "public void payTicket(int p){\n profit+=p;\n }", "title": "" }, { "docid": "c435243cc8cc4071169662b35b376ff0", "score": "0.5463504", "text": "public void Payment(PaymentForTxn payment){\r\n\t\tdouble costPaid = 0.0;\r\n\t\tString query = \"insert into `payment_info` (`Payment_amount`,`Payment_txn_id`, `Payment_Client_Id`)\"\r\n\t\t\t\t+ \" values (\"+payment.getPaymentAmount()+\",\"+payment.getTxnId()+\",'\" +payment.getClientId()+ \"');\";\r\n\t\t\r\n\t\ttry{\r\n\t\t\tMySqlExecute.executeUpdateMySqlQuery(query);\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlog.error(\"Error in payment \"+e);\r\n\t\t}\r\n\t\t\r\n\t\tquery = \"select txn_cost_paid from transaction where txn_Id = \" + payment.getTxnId();\r\n\t\t\r\n\t\ttry{\r\n\t\t\tResultSet rs = MySqlExecute.executeMySqlQuery(query);\r\n\t\t\twhile(rs.next()){\r\n\t\t\t\tcostPaid = rs.getDouble(1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlog.error(\"Error while fetching cost paid for transaction\" + e);\r\n\t\t}\r\n\t\t\r\n\t\tcostPaid += payment.getPaymentAmount();\r\n\t\tquery = \"update `Transaction` set `Txn_Cost_Paid` = \" + costPaid + \"where `txn_id` = \"+payment.getTxnId() + \";\";\r\n\t\t\r\n\t\ttry{\r\n\t\t\tMySqlExecute.executeUpdateMySqlQuery(query);\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tlog.error(\"Error in deducting cost paid in transaction after payment \"+e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "554dfa2b5d2ddf98a897742dd305249a", "score": "0.5461387", "text": "public void getPayStatus();", "title": "" } ]
5f6aadbf28f0e5feafbadb9230f5a865
Metodo para obtener una cadena con los datos de la obra
[ { "docid": "d6c999ff43565d2bea45563f3488114b", "score": "0.0", "text": "public String toString() {\n return autor + \"\\t\"+ titulo + \"\\t\"+ tema + \"\\t\" + anio;\n }", "title": "" } ]
[ { "docid": "2f4a234051cee0136f5c7341a15dcd49", "score": "0.6354505", "text": "private String getCampo4() {\r\n String campo = \tgetNumero() + String.valueOf(boleto.getMoeda()) +\r\n boleto.getFatorVencimento() + boleto.getValorTitulo() + \"9\" + boleto.getCodCliente() +\r\n String.valueOf(boleto.getNossoNumero()) + boleto.getIOS() + boleto.getCarteira();\r\n \r\n return boleto.getDigitoCodigoBarras(campo);\r\n }", "title": "" }, { "docid": "a2a7edb5e0e642f4310137eb51ccfcda", "score": "0.63172144", "text": "Object obtenerObjeto() \n\t { \n\t return dato; \n\t }", "title": "" }, { "docid": "8e9011c7e9d5df92bc37da314cd71601", "score": "0.6277951", "text": "private String getCampo1() {\r\n String campo = getNumero() + String.valueOf(boleto.getMoeda()) + boleto.getCodCliente().substring(0,4);\r\n \r\n return boleto.getDigitoCampo(campo,2);\r\n }", "title": "" }, { "docid": "ebd25349d16a250457345a1905bbfde1", "score": "0.6202321", "text": "public final ClasseAutovetturaTO getData() {\r\n return new ClasseAutovetturaTO(this);\r\n }", "title": "" }, { "docid": "6465bbb6d282fd980c2c1d3ff536b615", "score": "0.62009454", "text": "Emprestimo getDiasDeAtraso();", "title": "" }, { "docid": "faf733a1cb170b0f3d0de57b66190fa9", "score": "0.61618614", "text": "private String ObtenerCabecera(){\n int columns = jTable1.getColumnCount();\n String [] headers = new String[columns];\n for (int i = 0; i < columns; i++)\n {\n headers[i] = jTable1.getColumnName(i);\n }\n String header = Arrays.toString(headers);\n String head = header.substring(1,header.indexOf(\"]\"));\n return head;\n \n }", "title": "" }, { "docid": "c6922120536900e3fbf649969209c078", "score": "0.61600274", "text": "public static String getDatosVehiculo (String placa, String motor, String NombreAutomovilista){\n System.out.println(\"Metodo getDatosVehiculo\");\r\n return null;\r\n }", "title": "" }, { "docid": "e2894bf5f47db8539a4b687014e4b394", "score": "0.615782", "text": "public long getDataCompra() {\r\n return dataCompra;\r\n }", "title": "" }, { "docid": "0bfe732c3f2dc7806ce9c530d10e98b6", "score": "0.6137211", "text": "@Override\n\tpublic Date getDataCadastro() {\n\t\treturn this.dataCadastro;\n\t}", "title": "" }, { "docid": "8e693e4296e70f6108ade0fd1f67910e", "score": "0.61297965", "text": "public ArrayList<DatosRegistro> obtenerDatos(){\n SQLiteDatabase sqlb = getReadableDatabase();\r\n\r\n //creo un cursor para que me haga la consulta\r\n Cursor cursor = sqlb.query(Constantes.TABLA_FORMULARIO,new String[] {Constantes._ID,Constantes.NOMBRE,Constantes.DNI,Constantes.CORREO,Constantes.NACIONALIDAD,Constantes.BOLETIN_NOTICIAS},null,null,null,null,Constantes._ID);\r\n\r\n //creo la array para meter los registros\r\n ArrayList<DatosRegistro> registro = new ArrayList<DatosRegistro>();\r\n\r\n //recorro la tabla\r\n while(cursor.moveToNext()){\r\n\r\n //añado los registros\r\n registro.add(new DatosRegistro(cursor.getInt(0),cursor.getString(1),cursor.getString(2),cursor.getString(3),cursor.getString(4),cursor.getString(5)));\r\n\r\n }\r\n\r\n cursor.close();\r\n sqlb.close();\r\n return registro;\r\n }", "title": "" }, { "docid": "509d62bd6624d8ffeaa3b08a18115215", "score": "0.6105526", "text": "private ResultSet getComprobantes()\t\tthrows Exception{\n //CONSULTA PARA OBTENER LOS DATOS\n\t\tString sql =\n\t\t\"SELECT * \" +\n\t\t\"FROM \" +\n\t\t\"(\tSELECT i.AD_CLient_ID as CLIENTE,\" +\n\t\t\"\t \t\ti.AD_ORG_ID AS ORG,\" +\n\t\t\"\t\t\ti.DATEACCT as FECHA,\" +\n\t\t\"\t d.NAME as TIPO,\" +\n\t\t\"\t\t\ti.DocumentNo as NUMERO,\" +\n\t\t\"\t\t\tt.name as CONDICION,\" +\n\t\t\"\t i.C_CURRENCY_ID as MONEDA,\" +\n\t\t\"\t b.C_BPartner_ID as BP_ID,\" +\n\t\t\"\t b.VALUE as CLAVE,\" +\n\t\t\"\t b.name as NOMBRE,\" +\n\t\t\"\t\t\tCASE d.docbasetype\" +\n\t\t\"\t\t\t\tWHEN 'ARI' THEN i.grandtotal\" +\n\t\t\" WHEN 'API' THEN null\" +\n\t\t\" \t\t\t\tWHEN 'ARF' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tWHEN 'ARC' THEN null\" +\n\t\t\"\t\t\t\tWHEN 'APC' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tELSE 0\" +\n\t\t\" END as DEBE,\" +\n\t\t\"\t\t\tCASE d.docbasetype\" +\n\t\t\"\t\t\t\tWHEN 'ARI' THEN null\" +\n\t\t\"\t\t\t\tWHEN 'API' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tWHEN 'ARF' THEN null\" +\n\t\t\"\t\t\t\tWHEN 'ARC' THEN i.grandtotal\" +\n\t\t\"\t\t\t\tWHEN 'APC' THEN null\" +\n\t\t\"\t\t\t\tELSE 0\" +\n\t\t\" END as HABER,\" +\n\t\t\" CASE\" +\n\t\t\"\t\t\t\tWHEN i.COTIZACION is null THEN 1\" +\n\t\t\"\t\t\t\tELSE i.COTIZACION\" +\n\t\t\" END as COTIZACION,\" +\n\t\t\" y.ISO_CODE as CODMONEDA,\" +\n\t\t\" CASE\" +\n\t\t\"\t\t\t\tWHEN bpl.C_BPartner_Location_ID is null THEN 0\" +\n\t\t\"\t\t\t\tELSE bpl.C_BPartner_Location_ID\" +\n\t\t\"\t\t\tEND as C_BPartner_Location_ID,\" +\n\t\t\"\t\t\tCASE\" +\n\t\t\"\t\t\t\tWHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\" +\n\t\t\"\t\t\t\tELSE TO_CHAR(bpl.name)\" +\n\t\t\"\t\t\tEND as C_BPartner_Location_Name, \" + \n \" i.DATEINVOICED as fecha_cbte\" +\n\n\t\t\"\tFROM C_Invoice i\" +\n\t\t\"\t\tINNER JOIN C_BPARTNER b ON(i.C_BPARTNER_ID = b.C_BPARTNER_ID)\" +\n\t\t\"\t\tINNER JOIN C_DocType d ON(i.C_DocType_ID = d.C_DocType_ID)\" +\n\t\t\"\t\tINNER JOIN C_PaymentTerm t ON(i.C_PaymentTerm_ID = t.C_PaymentTerm_ID)\" +\n\t\t\" \tINNER JOIN C_Currency y ON(y.C_Currency_ID = i.C_Currency_ID)\" +\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n * Sacamos el Join con Location ya que C_Invoice tiene el C_BPartner_Location_ID\n * y podemos hacer directamente el Join con C_BPartner_Location\n *\n * Modificacion : LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\n *\n */\n\t//\t\"\t\tLEFT JOIN C_Location l ON (i.BILL_LOCATION_ID = l.C_Location_ID)\" +\n\n\t\t/* 05-05-2011 Camarzana Mariano\n\t\t * Se agrego a la sentencia\n\t\t * LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID\n\t\t * la restriccion bpl.c_bpartner_id = b.c_bpartner_id, debido a que en el caso\n\t\t * en que una misma direccion este asignada a dos socios\n\t\t *\n\t\t */\n\n\t\t\"\t\tLEFT JOIN C_BPartner_Location bpl ON (bpl.C_Location_ID = i.Bill_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\" +\n\n\t\t\tgetSqlWhere(\"i.ISSOTRX\",\"i.DATEACCT\",\"i.C_CURRENCY_ID\",\"i.DocStatus\",\"i.DateAcct\",\"t.netDays\") +\n\n\t\t\"\tUNION ALL \" +\n\t\t\"\t(\tSELECT p.AD_CLient_ID as CLIENTE,\" +\n\t\t\" p.AD_ORG_ID AS ORG,\" +\n\t\t\" p.DATEACCT as FECHA,\" +\n\t\t\" d.NAME as TIPO,\" +\n\t\t\" p.DOCUMENTNO as NUMERO,\" +\n\t\t\" null as CONDICION,\" +\n\t\t\" p.C_CURRENCY_ID as MONEDA,\" +\n\t\t\" b.C_BPartner_ID as BP_ID,\" +\n\t\t\" b.VALUE as CLAVE,\" +\n\t\t\" b.name as NOMBRE,\" +\n\t\t\" CASE d.docbasetype\" +\n\t\t\"\t WHEN 'ARR' THEN null\" +\n\t\t\" WHEN 'APP' THEN -al.AMOUNT\" +\n\t\t\" ELSE 0\" +\n\t\t\" END as DEBE,\" +\n\t\t\" CASE d.docbasetype\" +\n\t\t\"\t WHEN 'ARR' THEN al.AMOUNT\" +\n\t\t\" \t WHEN 'APP' THEN null\" +\n\t\t\" ELSE 0\" +\n\t\t\" END as HABER,\" +\n\t\t\" CASE\" +\n\t\t\" WHEN p.COTIZACION is null THEN 1\" +\n\t\t\" ELSE p.COTIZACION\" +\n\t\t\" END as COTIZACION,\" +\n\t\t\"\t y.ISO_CODE as CODMONEDA,\" +\n\t\t\" CASE\" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 0\" +\n\t\t\" ELSE bpl.C_BPartner_Location_ID\" +\n\t\t\" END as C_BPartner_Location_ID,\" +\n\t\t\" CASE\" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\" +\n\t\t\" ELSE TO_CHAR(bpl.name)\" +\n\t\t\" END as C_BPartner_Location_Name,\" +\n \" p.DATETRX as fecha_cbte \" +\n\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n *\n * Como la localizacion que se toma es la del pago, no debemos hacer el Join por localizacion con\n * la factura, ya que pueden tener localizaciones diferentes. Solo tomamos la localizacion del pago.\n * Es por esto que hacemos el Join con C_BPartner_Location a partir del C_Payment, que antes lo tenia\n * con el C_Location.\n *\n *\n */\n\n\t\t\"\t\tFROM C_Payment p\" +\n\n\t\t\"\t INNER JOIN C_DocType d ON(p.C_DocType_ID = d.C_DocType_ID)\" +\n\t\t\" \t\t INNER JOIN C_BPARTNER b ON(p.C_BPARTNER_ID = b.C_BPARTNER_ID)\" +\n\t\t\" INNER JOIN C_Currency y ON(y.C_Currency_ID = p.C_Currency_ID)\" +\n\t\t\" INNER JOIN C_AllocationLine al ON (al.C_Payment_ID = p.C_Payment_ID)\" +\n\t\t\" INNER JOIN C_Allocationhdr ah ON (ah.C_AllocationHdr_ID = al.C_AllocationHdr_ID)\" +\n\t//\t\" LEFT JOIN C_Invoice i ON (al.C_Invoice_ID = i.C_Invoice_ID)\" +\n\t//\t\" LEFT JOIN C_Location l ON (i.BILL_LOCATION_ID = l.C_Location_ID)\" +\n\n\t\t/* 05-05-2011 Camarzana Mariano\n\t\t * Se agrego a la sentencia\n\t\t * LEFT JOIN C_BPartner_Location bpl ON (bpl.C_LOCATION_ID = l.C_Location_ID\n\t\t * la restriccion bpl.c_bpartner_id = b.c_bpartner_id, debido a que en el caso\n\t\t * en que una misma direccion este asignada a dos socios\n\t\t *\n\t\t */\n\n\t\t\"\t\t LEFT JOIN C_BPartner_Location bpl ON (bpl.C_BPartner_Location_ID = p.C_BPartner_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\" +\n\n\t getSqlWhere(\"p.ISRECEIPT\",\"p.DATEACCT\",\"p.C_CURRENCY_ID\",\"p.DocStatus\",\"p.dateAcct\",\"0\") +\n\n /*\n * Zynnia 09/03/2012\n * Modificado de UNION a UNION ALL para que tome los registros duplicados en la\n * consulta ya que por las características de la misma puede darse que dos\n * facturas tengan mismo importe en un mismo pago y se duplica exactamente el\n * registro.\n *\n */\n\n\n\n\t \"\t\tUNION ALL \" +\n\t \"\t\t(\tSELECT t.AD_CLient_ID as CLIENTE,\" +\n\t \" t.AD_ORG_ID AS ORG,\" +\n\t \" t.DATEACCT as FECHA,\" +\n\t \" d.NAME as TIPO,\" +\n\t \" t.DOCUMENTNO as NUMERO,\" +\n\t \" null as CONDICION,\" +\n\t \" t.C_CURRENCY_ID as MONEDA,\" +\n\t \" b.C_BPartner_ID as BP_ID,\" +\n\t \" b.VALUE as CLAVE,\" +\n\t \" b.name as NOMBRE,\" +\n\t \" CASE d.docbasetype\" +\n\t \"\t WHEN 'ARR' THEN null\" +\n\t \" WHEN 'APP' THEN PAYMENTAVAILABLE(t.C_Payment_ID) * -1\" +\n\t \" ELSE 0\" +\n\t \" END as DEBE,\" +\n\t \" CASE d.docbasetype\" +\n\t \" WHEN 'ARR' THEN PAYMENTAVAILABLE(t.C_Payment_ID)\" +\n\t \" WHEN 'APP' THEN null\" +\n\t \"\t ELSE 0\" +\n\t \" END as HABER,\" +\n\t \" CASE\" +\n\t \" WHEN t.COTIZACION is null THEN 1\" +\n\t \" ELSE t.COTIZACION\" +\n\t \" END as COTIZACION,\" +\n\t \" y.ISO_CODE as CODMONEDA,\" +\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n *\n * Cambiamos lo que retorna en C_BPartner, ya que siempre va a tener una localizacion\n * el pago.\n *\n *\n */\n \" CASE \" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 0\" +\n\t\t\" ELSE bpl.C_BPartner_Location_ID\" +\n\t\t\" END as C_BPartner_Location_ID,\" +\n\t\t\" CASE\" +\n\t\t\"\t WHEN bpl.C_BPartner_Location_ID is null THEN 'SIN ASIGNAR'\" +\n\t\t\" ELSE TO_CHAR(bpl.name)\" +\n\t\t\" END as C_BPartner_Location_Name, \" +\n//\t \" 0 as C_BPartner_Location_ID,\" +\n//\t \" 'SIN ASIGNAR' as C_BPartner_Location_Name\" +\n \" t.DATETRX as fecha_cbte\" +\n\n\t \" FROM C_Payment t\" +\n\t \"\t INNER JOIN C_DocType d ON(t.C_DocType_ID = d.C_DocType_ID)\" +\n\t \"\t\t\t INNER JOIN C_BPARTNER b ON(t.C_BPARTNER_ID = b.C_BPARTNER_ID)\" +\n\t \" INNER JOIN C_Currency y ON(y.C_Currency_ID = t.C_Currency_ID)\" +\n /*\n * Modificacion 28/06/2012 Maria Jesus Martin\n *\n * Agregamos el C_BPartner_Location, ya que no importa si no tiene una factura asignadada.\n * Un pago siempre tiene una direccion.\n *\n *\n */\n\n \" LEFT JOIN C_BPartner_Location bpl ON (bpl.C_BPartner_Location_ID = t.C_BPartner_Location_ID and bpl.c_bpartner_id = b.c_bpartner_id)\" +\n\n\t getSqlWhere(\"t.ISRECEIPT\",\"t.DATEACCT\",\"t.C_CURRENCY_ID\",\"t.DocStatus\",\"t.dateAcct\",\"0\") +\n\t \" \tAND t.isAllocated = 'N' AND PAYMENTAVAILABLE(t.C_Payment_ID) <> 0\" +\n\n\t \" )\" +\n\t \" )\" +\n\t \") ORDER BY CLAVE,C_BPartner_Location_ID,FECHA\";\n\n System.out.println(sql);\n PreparedStatement pstmt = DB.prepareStatement(sql, get_TrxName());\n int paramIndex = 1;\n\n if (isSOTrx.booleanValue() == true)\n \tpstmt.setString(paramIndex, \"Y\");\n else\n \tpstmt.setString(paramIndex, \"N\");\n paramIndex++;\n\n if (fromDate!=null){\n pstmt.setTimestamp(paramIndex, fromDate);\n paramIndex++;\n }\n if (toDate!=null){\n pstmt.setTimestamp(paramIndex, toDate);\n paramIndex++;\n }\n if (fromBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\n \t\tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n if (toBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\n \tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n if (fromVenc!=null){\n pstmt.setTimestamp(paramIndex, fromVenc);\n paramIndex++;\n }\n \n if (toVenc!=null){\n pstmt.setTimestamp(paramIndex, toVenc);\n paramIndex++;\n }\n\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\n paramIndex++;\n\n if (isSOTrx.booleanValue() == true)\n \tpstmt.setString(paramIndex, \"Y\");\n else\n \tpstmt.setString(paramIndex, \"N\");\n paramIndex++;\n\n if (fromDate!=null){\n pstmt.setTimestamp(paramIndex, fromDate);\n paramIndex++;\n }\n if (toDate!=null){\n pstmt.setTimestamp(paramIndex, toDate);\n paramIndex++;\n }\n if (fromBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\n \t\tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n \n if (toBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\n \tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n \n if (fromVenc!=null){\n pstmt.setTimestamp(paramIndex, fromVenc);\n paramIndex++;\n }\n \n if (toVenc!=null){\n pstmt.setTimestamp(paramIndex, toVenc);\n paramIndex++;\n }\n\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\n paramIndex++;\n\n if (isSOTrx.booleanValue() == true)\n \tpstmt.setString(paramIndex, \"Y\");\n else\n \tpstmt.setString(paramIndex, \"N\");\n paramIndex++;\n\n if (fromDate!=null){\n pstmt.setTimestamp(paramIndex, fromDate);\n paramIndex++;\n }\n if (toDate!=null){\n pstmt.setTimestamp(paramIndex, toDate);\n paramIndex++;\n }\n if (fromBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(fromBPartner),null);\n \t\tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n if (toBPartner!=null){\n \tMBPartner partner = new MBPartner(getCtx(),Integer.parseInt(toBPartner),null);\n \tpstmt.setString(paramIndex, partner.getValue());\n paramIndex++;\n }\n \n if (fromVenc!=null){\n pstmt.setTimestamp(paramIndex, fromVenc);\n paramIndex++;\n }\n \n if (toVenc!=null){\n pstmt.setTimestamp(paramIndex, toVenc);\n paramIndex++;\n }\n\n pstmt.setInt(paramIndex, C_Currency_ID.intValue());\n\n return pstmt.executeQuery();\n }", "title": "" }, { "docid": "5e9204906c5d1ff8dfb2e7870522d086", "score": "0.60914564", "text": "private void buscarCompra() {\n Conexion cn = new Conexion();\n try {\n cn.conectar();\n ResultSet pedi = cn.consultar(\"SELECT * from compra\\n\"\n + \"where compra_id::varchar(255) LIKE '%\" + txtBuscar.getText() + \"%' and estado != 'ANULADO'\\n\"\n + \"ORDER BY compra_id desc\"); //order by ordena de menor a mayor, si se quiere de mayor a menor se le agrega desc al final\n Metodos.limpiarTabla(grillaBuscador);\n//\n// System.out.println(grillaBuscador.getColumnCount());\n// if (grillaBuscador.getColumnCount() > 8) {\n// grillaBuscador.getColumnModel().removeColumn(grillaBuscador.getColumnModel().getColumn(grillaBuscador.getColumnCount() - 1));\n// }\n if (pedi.isBeforeFirst()) {\n while (pedi.next()) {\n Metodos.cargarTabla(grillaBuscador, new Object[]{\n pedi.getString(\"compra_id\"),\n pedi.getString(\"nro_factura\"),\n pedi.getString(\"tipo\"),\n pedi.getString(\"comp_fecha\"),\n pedi.getString(\"cuotas\"),\n pedi.getString(\"sucur_id\"),\n pedi.getString(\"ord_id\"),\n pedi.getString(\"pro_id\"),\n pedi.getString(\"pro_id\"),\n pedi.getString(\"usu_id\"),\n pedi.getString(\"emp_id\")\n });\n }\n } else {\n\n JOptionPane.showMessageDialog(null, \"No hay registros en la base de datos\");\n }\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(clientes.class.getName()).log(Level.SEVERE, null, ex);\n JOptionPane.showMessageDialog(null, \"No se encuentra \" + ex.getMessage());\n } catch (SQLException ex) {\n Logger.getLogger(clientes.class.getName()).log(Level.SEVERE, null, ex);\n JOptionPane.showMessageDialog(null, ex.getMessage());\n }\n }", "title": "" }, { "docid": "27523ec82ee3126b3ed0872036a5094c", "score": "0.60787016", "text": "public String getDatos() {\n\t\treturn \"El titulo es: \" + titulo + \" El autor es: \" + autor + \" El ISBN ES: \" + ISBN;\n\n\t}", "title": "" }, { "docid": "d24d57a28ef8aeef6e1e90ccb76b80d0", "score": "0.6069707", "text": "public Tarifa recuperarTarifas(){\n try {\n this.conectarDB(); \n declaracionSegura = conexion.prepareStatement(\"SELECT* FROM Tarifa;\");\n resultado = declaracionSegura.executeQuery();\n while(resultado.next()){\n tarifa = new Tarifa(resultado.getDouble(\"TarifaOperacionGlobal\"), resultado.getDouble(\"PrecioLibraGlobal\"), resultado.getDouble(\"CuotaPriorizacionGlobal\"), resultado.getDouble(\"CuotaDestinoGlobal\"));\n }\n } \n catch (SQLException ex) {\n System.out.println(ex);\n }\n return tarifa;\n }", "title": "" }, { "docid": "6ac412574c1e9af72cca04386f886df1", "score": "0.60521144", "text": "public Object [][] getDatos(){\n int registros = 0;\n //obtenemos la cantidad de registros existentes en la tabla\n try{ \n PreparedStatement pstm = con.getConnection().prepareStatement(\"SELECT count(1) as total FROM CONSULTA_MEDICA\"); \n try (ResultSet res = pstm.executeQuery()) {\n res.next();\n registros = res.getInt(\"total\");\n }\n }catch(SQLException e){\n System.out.println(e);\n }\n \n Object[][] data = new String[registros][3]; \n //realizamos la consulta sql y llenamos los datos en \"Object\"\n try{ \n PreparedStatement pstm = con.getConnection().prepareStatement(\"SELECT \" +\n \" FECHA_CONSULTA, DIAGNOSTICO, TRATAMIENTO \" +\n \" FROM CONSULTA_MEDICA \" ); // \" ORDER BY FECHA_CONSULTA \"\n try (ResultSet res = pstm.executeQuery()) {\n int i = 0;\n while(res.next()){\n String estFecha = res.getString(\"FECHA_CONSULTA\");\n String estDiagnostico = res.getString(\"DIAGNOSTICO\");\n String estTratamiento = res.getString(\"TRATAMIENTO\");\n data[i][0] = estFecha;\n data[i][1] = estDiagnostico; \n data[i][2] = estTratamiento;\n i++;\n \n }}\n }catch(SQLException e){\n System.out.println(e);\n }\n return data;\n \n }", "title": "" }, { "docid": "39ec9a8668d702456f2365ab5e456a66", "score": "0.60351515", "text": "public final AgenziaTO getData() {\r\n return new AgenziaTO(this);\r\n }", "title": "" }, { "docid": "3a35ae1b301297f010f92cf74e8faf5b", "score": "0.6029856", "text": "public void getObra() {\r\n System.out.println(\"PUBLICAÇÕES DO AUTOR\");\r\n for (int i = 0; i < Obra.size(); i++){\r\n System.out.println(\"\\t: \" + this.Obra.get(i).getTitulo());\r\n }\r\n }", "title": "" }, { "docid": "31eacaab9e990bfb8c40eec517ae96bf", "score": "0.6002146", "text": "@Path(\"Orden\")\n\t@GET\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Platillo getOrdenes(){\n\t\tCliente aux=cheffS.getCola().getClientes().get(0);\n\t\tcheffS.getCola().getClientes().remove(0);\n\t\t\n\t\treturn cheffS.busquedaBinaria(cheffS.getPlat(),aux.getNombrePlatillo());\n\t}", "title": "" }, { "docid": "f8de778a74eb2eac2029689e1ddc3bc3", "score": "0.5998911", "text": "private ArrayList<ReciboDetalle> getReciboLineaxTrans(Connection con, Recibo cab) throws ObteniendoReciboException, ConexionException {\r\n\t\t\r\n\t\tArrayList<ReciboDetalle> lst = new ArrayList<ReciboDetalle>();\r\n\t\r\n\t\ttry {\r\n\t\t\t\r\n\t \tConsultas clts = new Consultas();\r\n\t \tString query = clts.getReciboDetxTrans();\r\n\t \tPreparedStatement pstmt1 = con.prepareStatement(query);\r\n\t \t\r\n\t \tResultSet rs;\r\n\t \t\r\n\t \tpstmt1.setLong(1, cab.getNroTrans());\r\n\t\t\trs = pstmt1.executeQuery();\r\n\t\t\t\r\n\t\t\tReciboDetalle aux;\r\n\t\t\t\r\n\t\t\twhile(rs.next ()) {\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\taux = new ReciboDetalle();\r\n\t\t\t\t\r\n\t\t\t\t/*Cuenta ind es el del cabezal (en la linea solo tenemos la cuenta)*/\r\n\t\t\t\taux.setCodCuentaInd(cab.getCuenta().getCodCuenta());\r\n\t\t\t\t\r\n\t\t\t\t/*El titular es el del Cabezal*/\r\n\t\t\t\t\r\n\t\t\t\taux.setTitInfo(new TitularInfo(cab.getTitInfo().getCodigo(), cab.getTitInfo().getNombre()) );\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\taux.setCuenta(new CuentaInfo(rs.getString(\"cod_cuenta\"), rs.getString(\"nom_cuenta\")));\r\n\t\t\t\t\r\n\t\t\t\taux.setCodEmp(cab.getCodEmp());\r\n\t\t\t\taux.setCodDocum(rs.getString(\"cod_docum\"));\r\n\t\t\t\taux.setSerieDocum(rs.getString(\"serie_docum\"));\r\n\t\t\t\taux.setNroDocum(rs.getInt(\"nro_docum\"));\r\n\t\t\t\taux.setCodProceso(rs.getString(\"cod_proceso\"));\r\n\t\t\t\taux.setDescProceso(rs.getString(\"nom_proceso\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setRubroInfo(new RubroInfo(rs.getString(\"cod_rubro\"), rs.getString(\"nom_rubro\")));\r\n\t\t\t\t\r\n\t\t\t\taux.setFecDoc(rs.getTimestamp(\"fec_doc\"));\r\n\t\t\t\taux.setFecValor(rs.getTimestamp(\"fec_valor\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setMoneda(new MonedaInfo(rs.getString(\"cod_moneda\"), rs.getString(\"nom_moneda\"), rs.getString(\"simbolo\")));\r\n\t\t\t\taux.getMoneda().setNacional(rs.getBoolean(\"nacional\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpuestoInfo(new ImpuestoInfo(rs.getString(\"cod_impuesto\"), rs.getString(\"nom_impuesto\"), rs.getDouble(\"porcentaje\")));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpImpuMn(rs.getDouble(\"imp_impu_mn\"));\r\n\t\t\t\taux.setImpImpuMo(rs.getDouble(\"imp_impu_mo\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpSubMn(rs.getDouble(\"imp_sub_mn\"));\r\n\t\t\t\taux.setImpSubMo(rs.getDouble(\"imp_sub_mo\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setImpTotMn(rs.getDouble(\"imp_tot_mn\"));\r\n\t\t\t\taux.setImpTotMo(rs.getDouble(\"imp_tot_mo\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setTcMov(rs.getDouble(\"tc_mov\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setReferencia(rs.getString(\"referencia\"));\r\n\t\t\t\taux.setNroTrans(rs.getInt(\"nro_trans\"));\r\n\t\t\t\t\r\n\t\t\t\taux.setUsuarioMod(rs.getString(\"usuario_mod\"));\r\n\t\t\t\taux.setFechaMod(rs.getTimestamp(\"fecha_mod\"));\r\n\t\t\t\taux.setOperacion(rs.getString(\"operacion\"));\r\n\t\t\t\taux.setLinea(rs.getInt(\"linea\"));\r\n\t\t\t\taux.setEstadoGasto(\"0\");\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tlst.add(aux);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\trs.close ();\r\n\t\t\tpstmt1.close ();\r\n \t}\t\r\n \t\r\n\t\tcatch (SQLException e) {\r\n\t\t\tthrow new ObteniendoReciboException();\r\n\t\t\t\r\n\t\t}\r\n \t\r\n \treturn lst;\r\n\t}", "title": "" }, { "docid": "a3a573ec707bdf9817b894b9578044b3", "score": "0.59750324", "text": "public String getConsumCotaIndivizia(String ap, String luna, String an){\n String consum=\"0.0\";\n String sql=\" SELECT cotaIndivizia FROM \"+TABLE_NAME_Intretinere+\" where Nr_ap=\"+\"'\"+ap+\"'\"+\" and dataLuna=\"+\"'\"+luna+\"'\" +\" and dataAn=\"+\"'\"+an+\"'\";\n Cursor cursor=getReadableDatabase().rawQuery(sql,null);\n if(cursor.getCount()>0){\n cursor.moveToNext();\n consum=cursor.getString(0);\n }\n return consum;\n }", "title": "" }, { "docid": "b3d94211b74b2e63b476dd819d868c64", "score": "0.59685445", "text": "private void llenar_celdas() {\n String data[] = new String[12];\n for (int i = 0; i < listac.size(); i++) {\n data[0] = listac.get(i).getId();\n data[1] = listac.get(i).getDni();\n data[2] = listac.get(i).getApellidos();\n data[3] = listac.get(i).getNombres();\n data[4] = listac.get(i).getEstado();\n data[5] = listac.get(i).getPeriodo();\n data[6] = listac.get(i).getFecha();\n data[7] = listac.get(i).getDescripcion();\n data[8] = listac.get(i).getPlan();\n data[9] = listac.get(i).getDeuda();\n data[11] = listac.get(i).getMonto();\n modelo.addRow(data);\n }\n }", "title": "" }, { "docid": "5b2a25f40fa8c81e654c770b06957323", "score": "0.5932301", "text": "public ArrayList<String[]> Datos_Cadete(String nombre){\r\n\t\t\tdatos_Cadetes=new ArrayList<String[]>();\r\n\t\t\ttry{\r\n\t\t\t\tinstruccion = this.conexion.createStatement();\r\n\t\t\t\tconjuntoResultados = instruccion.executeQuery(\"SELECT * FROM cadetes WHERE nombre='\"+nombre+\"'\");\r\n\t\t\t\t\r\n\t\t\t\twhile(conjuntoResultados.next()){\r\n\t\t\t\t\tString[] datos_cadete = new String[6];\r\n\t\t\t\t\tdatos_cadete[0]=conjuntoResultados.getString(COD_ID);\r\n\t\t\t\t\tdatos_cadete[1]=conjuntoResultados.getString(COD_NOMBRE);\r\n\t\t\t\t\tdatos_cadete[2]=conjuntoResultados.getString(COD_APELLIDOS);\r\n\t\t\t\t\tdatos_cadete[3]=conjuntoResultados.getString(COD_EDAD);\r\n\t\t\t\t\tdatos_cadete[4]=conjuntoResultados.getString(COD_NACIONALIDAD);\r\n\t\t\t\t\tdatos_cadete[5]=conjuntoResultados.getString(COD_EQUIPO);\r\n\t\t\t\t\tdatos_Cadetes.add(datos_cadete);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcatch( SQLException excepcionSql ) \r\n\t\t\t{\r\n\t\t\t\texcepcionSql.printStackTrace();\r\n\t\t\t}\r\n\t\t\tfinally{\r\n\t\t\t\ttry{\r\n\t\t\t\t\tconjuntoResultados.close();\r\n\t\t\t\t\tinstruccion.close();\r\n\t\t\t\t}\r\n\t\t\t\tcatch( SQLException excepcionSql ) \r\n\t\t\t\t{\r\n\t\t\t\t\texcepcionSql.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn datos_Cadetes;\r\n\t\t}", "title": "" }, { "docid": "8a96655ad9d5e68f2195205b0e084e79", "score": "0.5931334", "text": "private List<RitmoCardiaco> getRitmoCardiacoBD() throws SQLException {\n\t\tList<RitmoCardiaco> listaReturn = new ArrayList<>();\n\t\t\n\t\tfinal String query = \"select * from sensor_ritmo_cardiaco order by FECHA\";\n\t\tStatement statement;\n\t\tResultSet rs;\n\t\tconn = DriverManager.getConnection(myUrl, userBD, passBD);\n\t\tstatement = conn.createStatement();\n\t\trs = statement.executeQuery(query);\n\t\twhile (rs.next()) {\n\t\t\tRitmoCardiaco temporal = new RitmoCardiaco(rs.getString(\"DNI_PACIENTE\"), rs.getTimestamp(\"FECHA\"), rs.getInt(\"VALOR\"));\n\t\t\tlistaReturn.add(temporal);\n\t\t}\n\t\tconn.close();\n\t\tstatement.close();\n rs.close();\n \n\t\treturn listaReturn;\n\t}", "title": "" }, { "docid": "5ff7d532fa197e981baaf6da799d1335", "score": "0.59169775", "text": "private String getData() {\n\t\tDateFormat formater = new SimpleDateFormat(\"dd/MM/yyyy\");\n\t\treturn formater.format(this.dataDePublicacao);\n\t}", "title": "" }, { "docid": "23e901973c7781a870b748e9141fa7ec", "score": "0.5904527", "text": "@Override\n\tpublic Cuota mostrar() {\n\t\tLOG.info(\"Mostrar los datos de la cuota\");\n\t\treturn cuota;\n\t}", "title": "" }, { "docid": "51d919038ae6c82fcfab4ad7fd1680cd", "score": "0.58969975", "text": "public String getAplicaConvenio()\r\n/* 188: */ {\r\n/* 189:346 */ return this.aplicaConvenio;\r\n/* 190: */ }", "title": "" }, { "docid": "e646c79d25c5daf4e3188d0aa2f2ee9d", "score": "0.58843553", "text": "public void obtenerDias() {\r\n\t\tlong dias = FechasUtil.getInstancia().restarFechas(polizaBean.getVigenciaDesde(), polizaBean.getVigenciaHasta());\r\n\r\n\t\tpolizaBean.setDiasCobertura(Integer.parseInt(Long.toString(dias)));\r\n\r\n\t}", "title": "" }, { "docid": "9527b97ce7fa2d4413f634b0737dfb99", "score": "0.58818823", "text": "public double getCreditosEscolhidos() {\n pessoa = docente;\n //List<Disponibilidade> quad = disponibilidadeFacade.findByDocenteQuad(pessoa, quadrimestre);\n List<Disp> quad = dispFacade.findByDocenteQuad(pessoa, quadrimestre);\n //Busca de oferta de disciplinas no quadrimestre\n List<OfertaDisciplina> oferta = turmasFacade.findAllQuad(quadrimestre);\n //For para listar apenas as disciplinas planejadas pelo docente\n List<OfertaDisciplina> planejados = new ArrayList<>();\n long id_o = 0;\n long id_d = 0;\n for(OfertaDisciplina o : oferta){\n /*for(Disponibilidade d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n planejados.add(o);\n }\n }*/\n for(Disp d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n planejados.add(o);\n }\n }\n }\n //Contagem de créditos\n int creditos=0;\n for(OfertaDisciplina o : planejados){\n /*for(Disponibilidade d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n if(d.getTp().equals(\"Teoria\")){\n creditos += o.getT();\n }\n else if(d.getTp().equals(\"Pratica\")){\n creditos += o.getP();\n }\n else{\n creditos += o.getP() + o.getT();\n }\n }\n }*/\n for(Disp d : quad){\n id_o = o.getID();\n id_d = d.getOfertaDisciplina().getID();\n if(id_o == id_d){\n if(d.getTp().equals(\"Teoria\")){\n creditos += o.getT();\n }\n else if(d.getTp().equals(\"Pratica\")){\n creditos += o.getP();\n }\n else{\n creditos += o.getP() + o.getT();\n }\n }\n }\n }\n int total = creditos;\n \n return creditosEscolhidos = total;\n }", "title": "" }, { "docid": "b6630647c9e83f9f4596377afab70171", "score": "0.5878648", "text": "private void llenarCabezales() {\n\t\tfor (int i = 1; i < datos.length; i++)\n\t\t\tdatos[i][0] = this.agencias[i - 1];\n\n\t\tfor (int i = 1; i < datos[0].length; i++)\n\t\t\tdatos[0][i] = this.actividades[i - 1];\n\n\t\tdatos[0][0] = \"Agencia\";\n\t}", "title": "" }, { "docid": "563c9052ee546c844430ebab320aa4a6", "score": "0.5877319", "text": "String getContrasenia();", "title": "" }, { "docid": "e44f97cf79e958fc96a0f69b304e59b3", "score": "0.58757293", "text": "public Nodo datos() {\n Nodo nodoraiz = new Nodo(\"A\");\n this.nodoraiz = nodoraiz;\n Nodo nodo = new Nodo(\"D\");\n Nodo nodo1 = new Nodo(\"F\");\n Nodo nodo2 = new Nodo(\"G\");\n Nodo nodo3 = new Nodo(\"J\");\n Nodo nodo4 = new Nodo(\"H\");\n Nodo nodo5 = new Nodo(\"C\");\n Nodo nodo6 = new Nodo(\"E\");\n Nodo nodo7 = new Nodo(\"K\");\n Nodo nodo8 = new Nodo(\"B\");\n Nodo nodo9 = new Nodo(\"Z\");\n Nodo nodo10 = new Nodo(\"W\");\n Nodo nodo11 = new Nodo(\"L\");\n nodoraiz.getNodos().add(nodo);\n nodoraiz.getNodos().add(nodo1);\n nodoraiz.getNodos().add(nodo2);\n nodoraiz.getAristas().add(new Arista(\"D\", 4));\n nodoraiz.getAristas().add(new Arista(\"F\", 5));\n nodoraiz.getAristas().add(new Arista(\"G\", 6));\n nodo.getPadre().add(nodoraiz);\n nodo1.getPadre().add(nodoraiz);\n nodo2.getPadre().add(nodoraiz);\n nodoraiz.setHeuristica(10);\n\n nodo.getNodos().add(nodo3);\n nodo.getNodos().add(nodo4);\n nodo.getAristas().add(new Arista(\"J\", 4));\n nodo.getAristas().add(new Arista(\"H\", 3));\n nodo4.getPadre().add(nodo);\n nodo3.getPadre().add(nodo);\n nodo.setHeuristica(10);\n\n nodo1.getNodos().add(nodo5);\n nodo1.getNodos().add(nodo6);\n nodo1.getAristas().add(new Arista(\"C\", 2));\n nodo1.getAristas().add(new Arista(\"E\", 3));\n nodo5.getPadre().add(nodo1);\n nodo6.getPadre().add(nodo1);\n nodo1.setHeuristica(20);\n\n nodo2.setHeuristica(30);\n\n nodo3.getNodos().add(nodo7);\n nodo3.getAristas().add(new Arista(\"K\", 6));\n nodo7.getPadre().add(nodo3);\n nodo3.setHeuristica(15);\n\n nodo7.getNodos().add(nodo11);\n nodo7.getAristas().add(new Arista(\"L\", 4));\n nodo11.getPadre().add(nodo7);\n nodo7.setHeuristica(6);\n\n nodo4.getNodos().add(nodo8);\n nodo4.getAristas().add(new Arista(\"B\", 2));\n nodo8.getPadre().add(nodo4);\n nodo4.setHeuristica(4);\n\n nodo6.getNodos().add(nodo9);\n nodo6.getNodos().add(nodo10);\n nodo6.getAristas().add(new Arista(\"Z\", 2));\n nodo6.getAristas().add(new Arista(\"W\", 3));\n nodo9.getPadre().add(nodo6);\n nodo10.getPadre().add(nodo6);\n nodo6.setHeuristica(5);\n\n nodo5.setHeuristica(10);\n nodo8.setHeuristica(4);\n nodo9.setHeuristica(6);\n nodo10.setHeuristica(0);\n nodo11.setHeuristica(3);\n return nodoraiz;\n }", "title": "" }, { "docid": "c86bc079336be520e68c27ea87e1c159", "score": "0.5870166", "text": "@Override\r\n\tpublic void llenar_datos() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d2d4b8866737df870f0c1d4719da1a38", "score": "0.58666986", "text": "@Data(size=4, value=\"0061\")\n IString conhecimDepObrig() ;", "title": "" }, { "docid": "9a3f38525779764d1135735906b3f923", "score": "0.5866402", "text": "public void cargartxtCarro() {\n\t\tString carros=\"\";\n\t\tfor (int i = 0; i < listaCarros.size(); i++) {\n\t\t\tcarros+=listaCarros.get(i).toString()+\"\\n\";\n\t\t}\n\t\ta.SobreescribirInformacion(RUTACARRO, carros);\n\t}", "title": "" }, { "docid": "9a30bbce74fffb9469ac9f62281a1b81", "score": "0.5864441", "text": "public NodoDoble nodoCabeza(){\r\n return mat.getLd();\r\n }", "title": "" }, { "docid": "6568c2693fa6e52c70b26f4dd992ef6b", "score": "0.5837161", "text": "public Aeronave getDados() {\n\t\tAeronave aero= new Aeronave();\n\t\tProprietarioDAO proprietarioDAO= new ProprietarioDAO();\n\t\tint idProp=proprietarioDAO.selecionarIdProprietarioByName((String)txtProprietario.getSelectedItem());\n\t\taero.setIdProprietario(idProp);\n\t\tTipoAeronaveDAO tipoAeronaveDAO= new TipoAeronaveDAO();\n\t\tint idTipoAeronave= tipoAeronaveDAO.selecionarId((String)txtEquipamento.getSelectedItem());\n\t\taero.setIdTipoAeronave(idTipoAeronave);\n\t\taero.setMatricula(txtMatricula.getText().toUpperCase());\n\t\taero.setTipoAsa((String)txtTipoDeAsa.getSelectedItem());\n\t\t\n\t\treturn aero;\n\t}", "title": "" }, { "docid": "4eac9edf12cc1bf4b248800ce35246bd", "score": "0.58084923", "text": "public void obtenerOficinas() {\n try {\n setOficinas((List<MarOficinasRegistros>) genericDAOBean.findAllByColumn(MarOficinasRegistros.class, \"morEstado\", \"A\", true, \"morNombre asc\"));\n getOficinas().add(0, null);\n } catch (Exception e) {\n logger.error(\"Error cargando listas desplegables, causado por :\" + e, e);\n }\n }", "title": "" }, { "docid": "f7921c43d02617d11db6c55aae1b5241", "score": "0.58013076", "text": "private FacturasDTO llenaCamposDto(){\n\t\tfactura = new FacturasDTO();\r\n\t\t//en las facturas emitidas no hay proveedor\r\n\t\tfactura.setProveedor(0);\r\n\t\tfactura.setBaseImpo(Double.valueOf(textBaseImponible.getText()));\r\n\t\tfactura.setDescuento(Double.valueOf(textDescuento.getText()));\r\n\t\tString dia = Integer.toString(textFecha.getCalendar().get(Calendar.DAY_OF_MONTH));\r\n\t\tif (textFecha.getCalendar().get(Calendar.DAY_OF_MONTH)<10) {\r\n\t\t\tdia = (\"0\"+dia);\r\n\t\t}\r\n\t\tString mes = Integer.toString(textFecha.getCalendar().get(Calendar.MONTH)+1);\r\n\t\tif (textFecha.getCalendar().get(Calendar.MONTH)+1<10) {\r\n\t\t\tmes = (\"0\"+mes);\r\n\t\t}\r\n\t\tString ano = Integer.toString(textFecha.getCalendar().get(Calendar.YEAR));\r\n\t\tString varFecha = (ano+mes+dia);\r\n\t\tfactura.setFecha(Integer.valueOf(varFecha));\r\n\t\t\r\n\t\tfactura.setIban(textIban.getText());\r\n\t\tfactura.setIdFactura(idFactura);\r\n\t\tfactura.setIrpf(Double.valueOf(textIrpf.getText()));\r\n\t\tfactura.setIva(Double.valueOf(textIva.getText()));\r\n\t\tfactura.setTasa(Double.valueOf(textTasa.getText()));\r\n\t\t\r\n\t\tdia = Integer.toString(textVencimiento.getCalendar().get(Calendar.DAY_OF_MONTH));\r\n\t\tif (textVencimiento.getCalendar().get(Calendar.DAY_OF_MONTH)<10) {\r\n\t\t\tdia = (\"0\"+dia);\r\n\t\t}\r\n\t\tmes = Integer.toString(textVencimiento.getCalendar().get(Calendar.MONTH)+1);\r\n\t\tif (textVencimiento.getCalendar().get(Calendar.MONTH)+1<10) {\r\n\t\t\tmes = (\"0\"+mes);\r\n\t\t}\r\n\t\tano = Integer.toString(textVencimiento.getCalendar().get(Calendar.YEAR));\r\n\t\tvarFecha = (ano+mes+dia);\r\n\t\tfactura.setVencimiento(Integer.valueOf(varFecha));\t\t\t\t\r\n\t\t\r\n\t\tString variable = (String) comboCliente.getSelectedItem().toString();\r\n\t\tfactura.setCliente(accClientes.buscaCliente(variable,sesionGlobal.getIdEmpresa()));\r\n\t\t\r\n\t\tvariable = (String) comboConcepto.getSelectedItem().toString();\r\n\t\tfactura.setConcepto(accConceptos.buscaConcepto(variable));\r\n\t\t\r\n\t\tvariable = (String) comboCoste.getSelectedItem().toString();\r\n\t\tfactura.setCoste(accCostes.buscaCoste(variable));\r\n\t\t\r\n\t\tfactura.setEmpresa(sesionGlobal.getIdEmpresa());\r\n\r\n\t\tvariable = (String) comboProyecto.getSelectedItem().toString();\r\n\t\tfactura.setProyecto(accProyecto.buscaProyecto(variable,sesionGlobal.getIdEmpresa()));\r\n\t\t\r\n\t\tfactura.setPagado(comboPagado.getSelectedItem().toString());\r\n\t\t\t\t\r\n\t\treturn factura;\r\n\t}", "title": "" }, { "docid": "723a0d252736c15d9b46a92f8308bbc0", "score": "0.57988316", "text": "public Vector BuscarTodo() {\n Vector<cPeriodo> Lista = new Vector<cPeriodo>();\n try {\n DBManager dbm = new DBManager();\n Connection con = dbm.getConnection();\n if (con == null) {\n throw new NullPointerException(dbm.getError());\n }\n CallableStatement stm=con.prepareCall(\"{call sp_periodo_tt}\");\n ResultSet rs=stm.executeQuery();\n while (rs.next()) {\n Lista.addElement(\n\n new cPeriodo (\n rs.getInt(\"idPeriodo\"),\n rs.getInt(\"año\"), \n rs.getInt(\"mes\"),\n rs.getInt(\"semana\"),\n rs.getDate(\"fechaini\") ,\n rs.getDate(\"fechafin\") ,\n rs.getString(\"tema1\"),\n rs.getString(\"tema2\"),\n rs.getString(\"estado\")\n \n \n ));\n }\n rs.close();\n stm.close();\n dbm = null;\n } catch (Exception e) {\n System.out.println(\"Error:\" + e.getMessage());\n }\n return Lista;\n }", "title": "" }, { "docid": "3ab8b38398ccbc24afd7751579a0c6a0", "score": "0.5795989", "text": "public Vector BuscarTodo3() {\n Vector<cPeriodo> Lista = new Vector<cPeriodo>();\n try {\n DBManager dbm = new DBManager();\n Connection con = dbm.getConnection();\n if (con == null) {\n throw new NullPointerException(dbm.getError());\n }\n CallableStatement stm=con.prepareCall(\"{call sp_periodo_ttf}\");\n ResultSet rs=stm.executeQuery();\n while (rs.next()) {\n Lista.addElement(\n\n new cPeriodo (\n rs.getInt(\"idPeriodo\"),\n rs.getInt(\"año\"), \n rs.getInt(\"mes\"),\n rs.getInt(\"semana\"),\n rs.getDate(\"fechaini\") ,\n rs.getDate(\"fechafin\") ,\n rs.getString(\"tema1\"),\n rs.getString(\"tema2\"),\n rs.getString(\"estado\")\n )\n );\n }\n rs.close();\n stm.close();\n dbm = null;\n } catch (Exception e) {\n System.out.println(\"Error:\" + e.getMessage());\n }\n return Lista;\n }", "title": "" }, { "docid": "27a2fd7577ab42615775e19f02843b7a", "score": "0.5792726", "text": "public Object getDatosAsociados() {\n\t\treturn datosAsociados;\n\t}", "title": "" }, { "docid": "9be57e19280f21e6a0d042a69fa9a968", "score": "0.57863903", "text": "@Override\n public List<Descuentos> descuentosaAplicar(){\n List<Descuentos> lista=null;\n //System.out.println(\"VALOR INICIAL \"+ordentrabajo.getCodigo());\n String consulta;\n try{\n consulta=\"SELECT d FROM Descuentos d WHERE d.montopend>'0.0' or d.deley=true\";\n Query query=em.createQuery(consulta);\n \n lista= query.getResultList();\n \n }catch (Exception e){\n System.out.println(e.getMessage());\n }\n return lista;\n }", "title": "" }, { "docid": "ed2c96bd6043c0d5438ba9f5e04aa2a1", "score": "0.5784799", "text": "public final java.lang.String getCentroCusto() {\r\n return centroCusto;\r\n}", "title": "" }, { "docid": "7268a01837fc2aea2088d4cc3c541dfc", "score": "0.57847893", "text": "public void conversion_dato() //FUNCION\n {\n presion_yacimiento = Double.parseDouble(TXT_presion_yacimiento);\n presion_burbuja = Double.parseDouble(TXT_presion_burbuja);\n densidad_petroleo = Double.parseDouble(TXT_densidad_petroleo);\n gravedad_especifica_petroleo = Double.parseDouble(TXT_gravedad_especifica_petroleo);\n gravedad_especifica_gas = Double.parseDouble(TXT_gravedad_especifica_gas);\n relacion_gas_petroleo = Double.parseDouble(TXT_relacion_gas_petroleo);\n temperatura= Double.parseDouble(TXT_temperatura);\n gravedad_API = Double.parseDouble(TXT_gravedad_API);\n viscosidad_cp = Double.parseDouble(TXT_viscosidad_cp);\n }", "title": "" }, { "docid": "26ac17b92711822eaf4a1e98981533cc", "score": "0.5778241", "text": "public String procesarDatos(Empleado e) {\n\t\t// calcular total\n\t\tdouble tot = e.getDias() * e.getHoras() * e.getPago();\n\t\t// encapsular tot\n\t\te.setTotal(tot);\n\t\t// calcular renta\n\t\tdouble renta = 0;\n\t\tif (tot > 1500) {\n\t\t\trenta = tot * 0.08;\n\t\t}\n\t\t// encapsular renta\n\t\te.setRenta(renta);\n\t\t// calcular neto\n\t\te.setNeto(tot - renta);\n\t\tString boleta = generaBoleta(e);\n\t\treturn boleta;\n\t}", "title": "" }, { "docid": "40263366bab9297150d6e717d8f97b5d", "score": "0.5777445", "text": "public String getDataDiaBr() {\n DateFormat df = new SimpleDateFormat(\"dd/MM/yyyy\");\n String diaIguana = df.format(new Date());\n return diaIguana;\n }", "title": "" }, { "docid": "30c099c9f404a6c815c2c70dbf38ef26", "score": "0.57680553", "text": "public java.lang.String getDatiFascicolo(){\n return localDatiFascicolo;\n }", "title": "" }, { "docid": "1a73746df62fe7896bf3ee23a0ccd327", "score": "0.5760321", "text": "public OceData getOceData(OceData databean) {\n List list = new ArrayList();\n StringBuffer mySQL = new StringBuffer(128);\n String listOrder = null;\n String whereClause;\n ResultSet resultSet = null;\n PreparedStatement pStmt = null;\n Connection con = ApiFunctions.getDbConnection();\n try {\n if (ApiFunctions.safeEquals(\"Asc\", databean.getListOrder())) {\n listOrder = \"ABSTRACT_DATE ASC\";\n }\n else if (ApiFunctions.safeEquals(\"Dsc\", databean.getListOrder())) {\n listOrder = \"ABSTRACT_DATE DESC\";\n }\n else if (ApiFunctions.safeEquals(\"Alpha\", databean.getListOrder())) {\n listOrder = \"UPPER(TRIM(OTHER_TEXT))\";\n }\n if (ApiFunctions.safeEquals(\"A\", databean.getStatus())) {\n whereClause =\n \"WHERE TABLE_NAME='\"\n + databean.getTableName()\n + \"' AND TYPE_CODE='\"\n + databean.getAttribute()\n + \"'\";\n }\n else if (ApiFunctions.safeEquals(\"NHC\", databean.getStatus())){\n whereClause =\n \"WHERE TABLE_NAME='\"\n + databean.getTableName()\n + \"' AND TYPE_CODE='\"\n + databean.getAttribute()\n + \"' AND (status_FLAG='N' OR STATUS_FLAG='H' OR STATUS_FLAG='C')\";\n }\n else {\n whereClause =\n \"WHERE TABLE_NAME='\"\n + databean.getTableName()\n + \"' AND TYPE_CODE='\"\n + databean.getAttribute()\n + \"' AND status_FLAG='\"\n + databean.getStatus()\n + \"'\";\n }\n \n //MR7413\n //if a start date has been specified, put it into the query\n if (!ApiFunctions.isEmpty(databean.getStartDate())) {\n whereClause = whereClause + \" AND ABSTRACT_DATE >= to_date('\" + databean.getStartDate() + \" 00:00:00', 'MM/DD/YYYY HH24:MI:SS')\";\n }\n //if an end date has been specified, put it into the query\n if (!ApiFunctions.isEmpty(databean.getEndDate())) {\n whereClause = whereClause + \" AND ABSTRACT_DATE <= to_date('\" + databean.getEndDate() + \" 23:59:59', 'MM/DD/YYYY HH24:MI:SS')\";\n }\n \n //tack on the order by clause\n whereClause = whereClause + \" ORDER BY \" + listOrder; \n\n mySQL.append(\"SELECT OTHER_LINE_ID, OTHER_TEXT, STATUS_FLAG, \");\n mySQL.append(\"EDIT_TEXT, WHERE_CLAUSE FROM ARD_OTHER_CODE_EDITS \");\n mySQL.append(whereClause);\n pStmt = con.prepareStatement(mySQL.toString());\n resultSet = pStmt.executeQuery();\n while (resultSet.next()) {\n OceRowData rowData =\n new OceRowData(\n resultSet.getString(\"OTHER_LINE_ID\"),\n resultSet.getString(\"OTHER_TEXT\"),\n OceUtil.lookupOceConstant(resultSet.getString(\"STATUS_FLAG\")));\n rowData.setFullySpecifiedName(resultSet.getString(\"EDIT_TEXT\"));\n rowData.setWhereClause(resultSet.getString(\"WHERE_CLAUSE\"));\n list.add(rowData);\n }\n databean.setList(list);\n }\n catch (SQLException SQLex) {\n ApiLogger.log(SQLex);\n throw new ApiException(SQLex.getMessage());\n }\n finally {\n ApiFunctions.close(resultSet);\n ApiFunctions.close(pStmt);\n ApiFunctions.close(con);\n }\n return databean;\n }", "title": "" }, { "docid": "a8ba3fd956cd07543a69be1cb5cfbc4f", "score": "0.5759398", "text": "public static void getVCTDatas(){\n con = getInstance();\n \n if(con != null){\n // Abfrage-Statement erzeugen.\n Statement query;\n try {\n query = con.createStatement();\n \n // Tabelle anzeigen\n String sql = \"SELECT * FROM Account WHERE kundenart !='Firma'\";\n ResultSet result = query.executeQuery(sql);\n \n // Ergebnisstabelle durchforsten\n while (result.next()) {\n String kundenname = result.getString(\"kundenname\");\n String strassenname = result.getString(\"strassenname\");\n String plz = result.getString(\"plz\");\n String stadt = result.getString(\"stadt\");\n String land = result.getString(\"land\");\n String kontonummer = result.getString(\"kontonummer\");\n String saldo = result.getString(\"saldo\");\n\n \n //Kundenname aufteilen\n String[] part = kundenname.split(\"\\\\s\");\n if(part.length == 2) {\n \t vorname = part[0];\n \t nachname = part[1];\n } else if(kundenname.contains(\"Dr\")){\n \t vorname = part[1];\n \t nachname = part[2];\n } else if(kundenname.contains(\"van\") || kundenname.contains(\"von\")) {\n \t vorname = part[0];\n \t nachname = part[1] + \" \" + part[2];\n }\n else if(part.length == 3 & part[0].length() <= 2 & part[1].length() <= 2) {\n \t vorname = part[0] + \" \" + part[1];\n \t nachname = part[2];\n }else if(part.length == 3 & part[0].length() > 2 & part[1].length() > 2){\n \t vorname = part[0];\n \t nachname = part[1] + \" \" + part[2];\n }\n vorname = vorname.replace(\"\\u00FC\", \"ue\");\n vorname = vorname.replace(\"\\u00E4\", \"ae\");\n vorname = vorname.replace(\"\\u00F6\", \"oe\");\n vorname = WordUtils.capitalizeFully(vorname);\n nachname = nachname.replace(\"\\u00FC\", \"ue\");\n nachname = nachname.replace(\"\\u00E4\", \"ae\");\n nachname = nachname.replace(\"\\u00F6\", \"oe\");\n nachname = WordUtils.capitalizeFully(nachname);\n nachname = nachname.replace(\"Van\", \"van\");\n nachname = nachname.replace(\"Von\", \"von\");\n \n \n //Adresse zusammenfŸhren\n addresse = strassenname + \", \" + plz + \" \" + stadt;\n \n \n //LŠndercode erstellen\n if(land.equals(\"Schweiz\") || land.equals(\"Switzerland\")) {\n \t laendercode = \"CH\";\n } else if(land.equals(\"Germany\")) {\n \t laendercode = \"DE\";\n } else if(land.equals(\"The Netherlands\")) {\n \t laendercode = \"NL\";\n }\n\n \n //Kontostand\n kontostand = Float.parseFloat(saldo); \n \n \n // IBAN fŸr Kontokorrent generieren\n String nullen = new String();\n // EinfŸgen von Nullen damit IBAN LŠnge von 21 erreicht wird\n for(int y = kontonummer.length(); y < 12; y++){\n nullen += \"0\";\n }\n iban = \"CH\" + \"27\" + \"00261\" + nullen + kontonummer;\n \n \n MergeBanks.KundenArray.add(new Kunde(MergeBanks.kundenidcnt, vorname, nachname, addresse, laendercode, status));\n MergeBanks.KontenArray.add(new Konto(MergeBanks.kundenidcnt, iban, kontostand, kontoart));\n MergeBanks.kundenidcnt++;\n \n \n \n \n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "95c288cedb3a27b130e078d1a7c01257", "score": "0.57500464", "text": "@Data(size=4, value=\"0093\")\n IString debitoCcorrentes() ;", "title": "" }, { "docid": "0c4e83c44b0c806ea3d6d70fc9621bfc", "score": "0.5747175", "text": "public String cargarDatos()\r\n/* 224: */ {\r\n/* 225:251 */ return null;\r\n/* 226: */ }", "title": "" }, { "docid": "f24b98cfff90ebf90a1da07c24bdac35", "score": "0.5746191", "text": "public List<CorteDTO> getVendaRef(String ref_pesquisar, String tipo_pedido, String data_entrega) {\n ArrayList<CorteDTO> cortes = new ArrayList<CorteDTO>();\n\t\ttry {\n \n \n Conexao.ConectDB();\n Statement stmt = Conexao.con.createStatement();\n ResultSet rs;\n String sql;\n if (tipo_pedido.equals(\"TODOS\")){\n sql = \"select ip.codigo, ip.cor, sum(ip.t1) as T1, sum(ip.t2) as T2, sum(ip.t3) as T3, sum(ip.t4) as T4, sum(ip.total) as total\\n\" +\n \"from item_pedido ip\\n\" +\n \"INNER JOIN pedidos pe\\n\" +\n \"\ton ip.n_pedido = pe.n_pedido\\n\" +\n \"\twhere codigo = '\"+ref_pesquisar+\"' and data_entrega <= '\"+data_entrega+\"'\\n\" +\n \"\tgroup by ip.codigo, ip.cor\";\n rs = stmt.executeQuery(sql);\n \n System.out.println(sql);\n\t\t\n }\n else{//se for ESPECIAL / DIV\n sql = \"select ip.codigo, ip.cor, sum(ip.t1) as T1, sum(ip.t2) as T2, sum(ip.t3) as T3, sum(ip.t4) as T4, sum(ip.total) as total\\n\" +\n \"from item_pedido ip\\n\" +\n \"INNER JOIN pedidos pe\\n\" +\n \"\ton ip.n_pedido = pe.n_pedido\\n\" +\n \"\twhere codigo = '\"+ref_pesquisar+\"' and tipo_pedido = '\"+tipo_pedido+\"' and data_entrega <= '\"+data_entrega+\"'\\n\" +\n \"\tgroup by ip.codigo, ip.cor\";\n rs = stmt.executeQuery(sql);\n \n System.out.println(sql);\n }\n \n \n while (rs.next()) {\n\t\t\t\tCorteDTO corte = new CorteDTO();\n \n\t\t\t\t\n corte.setCodigo(rs.getString(\"codigo\"));\n corte.setCor(rs.getString(\"cor\"));\n\t\t\t\tcorte.setT1(rs.getInt(\"t1\"));\n corte.setT2(rs.getInt(\"t2\"));\n corte.setT3(rs.getInt(\"t3\"));\n corte.setT4(rs.getInt(\"t4\"));\n corte.setTotal(rs.getInt(\"total\"));\n cortes.add(corte);\n \n\t\t\t}\n\t\t\tConexao.CloseDB();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Erro ao Listar vendas por referencia com data_entrega\");\n System.err.println(e.getMessage());\n\t\t}\n\t\treturn cortes;\n\t}", "title": "" }, { "docid": "eef8e3ad3e944674a1bd1ab5ef5c64f7", "score": "0.5728621", "text": "public DateTime getDataCriacao() {\r\n\t\treturn dataCriacao;\r\n\t}", "title": "" }, { "docid": "3c283c7bfb4204f2d740f6dbe95d5542", "score": "0.5727416", "text": "public String getCodigoBarras() {\r\n return getNumero() + String.valueOf(boleto.getMoeda()) + String.valueOf(getCampo4()) + String.valueOf(getCampo5()) + \"9\" + boleto.getCodCliente() + \"00000\" + boleto.getNossoNumero() + boleto.getIOS() + boleto.getCarteira();\r\n }", "title": "" }, { "docid": "bd8209126dd20f30d48acaee3769e976", "score": "0.57260257", "text": "private Collection getFincaCatastroRusticasBuscadasPorPoligonoDB(String idMunicipio,String patronPoligono,\r\n\t\t\tString patronParcela) throws Exception\r\n\t\t\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.id_via, parcelas.primer_numero, parcelas.referencia_catastral,\" +\r\n\t\t\" parcelas.codigopoligono, parcelas.codigoparcela\" +\r\n\t\t\" from parcelas where parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"'\"+\r\n\t\t\" and (parcelas.codigopoligono is not null and (parcelas.codigopoligono like upper('%\"+patronPoligono+\"%')))\"+\r\n\t\t\" and (parcelas.codigoparcela is not null and (parcelas.codigoparcela like upper('%\"+patronParcela+\"%')))\" +\r\n\t\t\" order by parcelas.codigopoligono asc\";\r\n\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"referencia_catastral\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}//fin if\r\n\t\t\t\t\t}//fin if\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t\t\t}", "title": "" }, { "docid": "9ba3132e5e50543801c00d316041720a", "score": "0.5722195", "text": "public SolicitudCompra getSolicitudCompra()\r\n/* 100: */ {\r\n/* 101:111 */ return this.solicitudCompra;\r\n/* 102: */ }", "title": "" }, { "docid": "c29152af736f76ce55010c8ead831b60", "score": "0.57220894", "text": "private Collection getFincaCatastroBuscadasDB(String idMunicipio,String patron) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.referencia_catastral, parcelas.primer_numero, parcelas.codigopoligono,\" +\r\n\t\t\" parcelas.codigoparcela, parcelas.id_via from parcelas where\" +\r\n\t\t\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"' \"\r\n\t\t+\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \"\r\n\t\t+ \" order by parcelas.referencia_catastral asc\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"referencia_catastral\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null; \r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "77c6fd799f85ddc5a67c9ef4bb215dd6", "score": "0.57044566", "text": "private String getCampo5() {\r\n String campo = boleto.getFatorVencimento() + boleto.getValorTitulo();\r\n return campo;\r\n }", "title": "" }, { "docid": "ee09180f07686cd412f7e449b3024697", "score": "0.56987643", "text": "public ArbolBinario[] obtener() throws ClassNotFoundException {\n try {\n ObjectInputStream recuperar = new ObjectInputStream(new FileInputStream(\"./Data/arbol.dat\"));\n ArbolBinario[] aux;\n aux = (ArbolBinario[]) recuperar.readObject();\n recuperar.close();\n return aux;\n } catch (EOFException e) {\n //e.printStackTrace();\n return null;\n }catch(IOException e) {\n //e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "43103b1041101b6d5a54de5f6360d016", "score": "0.56924087", "text": "public String getDevedores(){\r\n\t\tArrayList<String[]> result = banco.select();\r\n\t\tString result_print = null;\r\n\t\tfor (int i = 0; i < result.size(); i = i+1){\r\n\t\t\tif(i == 0){\r\n\t\t\t\tresult_print = (i+1)+\") \"+result.get(i)[0] + \" - R$\" + result.get(i)[1];\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tresult_print = result_print +\"\\n\"+ (i+1)+\") \"+ result.get(i)[0] + \" - R$\" + result.get(i)[1];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result_print;\r\n\t}", "title": "" }, { "docid": "574937080b56c415023bf35a3602c099", "score": "0.56893855", "text": "public void visualizaDatosBocateria(){\n System.out.println(\"\\n *******************Estado actual de la Bocateria.**********\");\n\n System.out.println(\"\\n====== Facturación actual; \"+facturacionActual+ \" €.\\n\");\n visualizaDatosClienteEnLaCola();\n System.out.println(\"\\n====== Clientes despachados. ========\");\n Iterator it = clientesDepachados.keySet().iterator();\n while(it.hasNext()){\n Integer clave = (Integer) it.next();\n int numBocadillos = clientesDepachados.get(clave).getNumeroDeBocadillos();\n System.out.println(\"Cliente: \" +clientesDepachados.get(clave).getNumeroCliente()\n + \": \" +numBocadillos + \" bocadillo/s ( \" +numBocadillos * PRECIO_BOCADILLO+ \" euros ) \");\n }\n\n }", "title": "" }, { "docid": "fe7c150ec8ca724fc14b026d05644cb9", "score": "0.5686923", "text": "public String cargarDatos()\r\n/* 163: */ {\r\n/* 164:188 */ return \"\";\r\n/* 165: */ }", "title": "" }, { "docid": "2dee8ced5800725903bd8859643d8b8b", "score": "0.5685723", "text": "private String getCampo2() {\r\n String campo = boleto.getCodCliente().substring(4) + boleto.getNossoNumero().substring(0,7);\r\n \r\n return boleto.getDigitoCampo(campo,1);\r\n }", "title": "" }, { "docid": "c425de5271252db758d9452a8ae2d1a1", "score": "0.5683249", "text": "public String getCDENC_OBSERVACION(){\n\t\treturn this.myCdenc_observacion;\n\t}", "title": "" }, { "docid": "562736d8249348617fbd9b643b4729fe", "score": "0.56827205", "text": "@Override\r\n /**\r\n * @return numero,metros,precio,alquilado\r\n */\r\n public String toString() {\r\n return \"a{\" + \"numero=\" + numero + \", metros=\" + metros + \", precio=\" + precio + \", alquilado=\" + alquilado + '}';\r\n }", "title": "" }, { "docid": "163e486841f4bf9e67558f74ba4d3538", "score": "0.5678267", "text": "@Override\n public ArrayList<Alimento> buscarCardapio() {\n return gerAlimento.buscarCardapio();\n }", "title": "" }, { "docid": "295de6d56bf16642a5356fe7e01f4f0c", "score": "0.56773865", "text": "public abstract String getInfoAjuda(String atributo);", "title": "" }, { "docid": "8ca9c9c8bc68f24eaa03426792509149", "score": "0.5676919", "text": "public ArrayList<Contacto> obtenerDatos(){\n BaseDatos db = new BaseDatos(context);\n insertarTresContactos(db);\n return db.obtenerTodosLosContactos();\n }", "title": "" }, { "docid": "c97e42c672cad6975d6b9e3690689aae", "score": "0.56706446", "text": "public List letrasVencidasTramos_cobrador_ordenDireccion_SC(int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.codCobrador = :par1\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"par1\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "93d1fb738a02d8f6c172fd3e9db7ed1b", "score": "0.56685215", "text": "public List<Membro> consultarMembroOrdData(String entrada) {\n\t\t// TODO Auto-generated method stub\n\t\tString[] partesData = new String[2];\n\t\tpartesData = entrada.split(\"/\");\n\t\tlistaDeMembros = new ArrayList<>();\n\t\tString sql = \"SELECT * FROM membro where mes = ? AND dia = ?\"\n\t\t\t\t+ \" ORDER BY ano, mes, dia ASC\";\n\t\t\n\t\ttry {\n\t\t\tPreparedStatement preparado = conex.prepareStatement(sql);\n\t\t\tpreparado.setInt(1, Integer.parseInt(partesData[1]));\n\t\t\tpreparado.setInt(2, Integer.parseInt(partesData[0]));\n\t\t\tResultSet todos = preparado.executeQuery();\n\t\t\t\n\t\t\twhile(todos.next()) {\n\t\t\t\t\n\t\t\t\tmembro = new Membro();\n\t\t\t\t\n\t\t\t\tmembro.setIdMembro(todos.getInt(\"id\"));\n\t\t\t\tmembro.setNome(todos.getString(\"nome\"));\n\t\t\t\tmembro.setApelido(todos.getString(\"apelido\"));\n\t\t\t\tmembro.setSobrenomes(todos.getString(\"sobrenomes\"));\n\t\t\t\tmembro.setCargo(todos.getString(\"cargo\"));\n\t\t\t\tmembro.setDia(todos.getInt(\"dia\"));\n\t\t\t\tmembro.setMes(todos.getInt(\"mes\"));\n\t\t\t\tmembro.setAno(todos.getInt(\"ano\"));\n\t\t\t\tlistaDeMembros.add(membro);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tJOptionPane.showMessageDialog(null, \"Erro de Banco de Dados:\\n\" + e.getMessage());\n\t\t}\n\t\t\n\t\t\n\t\treturn listaDeMembros;\n\t\t\n\t}", "title": "" }, { "docid": "5dc8d8740699c0ad0d37dabeb5f201ba", "score": "0.5666644", "text": "public List letrasVencidasTramos_cobrador_ordenNombresC_SC(int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.codCobrador = :par1\"\r\n + \" order by vcl.ventas.persona.nombresC,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"par1\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "0a7964e789aae2b45868f5103f0ba856", "score": "0.566618", "text": "private void consultarCodig() throws Exception {\n traza(\"el oid es \" + oid);\n\n DTOOID dtoOid = new DTOOID();\n dtoOid.setOidPais(pais);\n dtoOid.setOidIdioma(idioma);\n dtoOid.setOid(new Long(oid)); \n\n traza(\"dtoOid \" + dtoOid);\n\n MareBusinessID id = new MareBusinessID(\"CARCodConfConsulta\");\n Vector paramEntrada = new Vector();\n paramEntrada.add(dtoOid);\n paramEntrada.add(id);\n traza(\"los parametros de entrada son \" + paramEntrada);\n\n traza(\"****************************** antes de conectar con 'CARConsultaCodigoConf' \");\n DruidaConector con = conectar(\"CARConsultaCodigoConf\", paramEntrada);\n traza(\"****************************** después de conectar con 'CARConsultaCodigoConf' \");\n \n dtoCodConf = (DTOCodigoConfiguracion) con.objeto(\n \"DTOCodigoConfiguracion\"); \n traza(\"dtoCodConf \" + dtoCodConf.toString());\n }", "title": "" }, { "docid": "c9204833681bd12f2c4740e618f9dbf2", "score": "0.5663404", "text": "public String getDatC() {\r\n return datC;\r\n }", "title": "" }, { "docid": "ac59dbcfc7b804a139f7dc6b2e188e85", "score": "0.5662028", "text": "private Collection<AsignacionTipoDescuentoDTO> buscarAsignacionTipoDescuentoCol(Integer codigoCompania)throws SICException{\n\t\tCollection<AsignacionTipoDescuentoDTO> asiTipoDes = null;\n\t\ttry{\t\t\t\n\t\t\tAsignacionTipoDescuentoDTO asignacionTipoDescuentoDTO = new AsignacionTipoDescuentoDTO();\n\t\t\tasignacionTipoDescuentoDTO.getId().setCodigoCompania(codigoCompania);\n\t\t\tasignacionTipoDescuentoDTO.setEstado(SICConstantes.ESTADO_ACTIVO_NUMERICO);\n\t\t\tasignacionTipoDescuentoDTO.setCodigoAsignacionTipoDescuento(EnumTipoAsignacionDescuento.CODIGO_TIPO_ASIGNACION_DESCUENTO);\n\t\t\tasignacionTipoDescuentoDTO.setValorAsignacionTipoDescuento(EnumTipoAsignacionDescuento.ARTICULO.getValorTipoAsignacionDescuento());\n\t\t\tasignacionTipoDescuentoDTO.setCodigoAplicacionTipoDescuento(EnumTipoAplicacionDescuento.CODIGO_TIPO_APLICACION_DESCUENTO);\n\t\t\tasignacionTipoDescuentoDTO.addCriteriaSearchParameter(new CriteriaSearchParameter<String>(\"valorAplicacionTipoDescuento\", ComparatorTypeEnum.IN_COMPARATOR, new String[] { EnumTipoAplicacionDescuento.COSTO_COMPRA.getValorTipoAplicacionDescuento(), EnumTipoAplicacionDescuento.COSTO_CONVENIO.getValorTipoAplicacionDescuento() }));\n\t\t\tasiTipoDes = SICFactory.getInstancia().administracion.getDataService().findObjects(asignacionTipoDescuentoDTO);\n\t\t}catch (SICException e) {\n\t\t\tLogeable.LOG_SICV2.error(\"Error al consultar los tipos de descuentos del art\\u00EDculo.\", e.getMessage());\n\t\t\tthrow new SICException(\"Error al consultar los tipos de descuentos del art\\u00EDculo.. {}\",e.getMessage());\n\t\t}\n\t\treturn asiTipoDes;\n\t}", "title": "" }, { "docid": "ee94203f65dca610661fb155d80cc447", "score": "0.5655638", "text": "public String getCSOBJ_DESCRIPCION(){\n\t\treturn this.myCsobj_descripcion;\n\t}", "title": "" }, { "docid": "13815b3eeb4a16ed704afc4c58ec3c8a", "score": "0.56507754", "text": "public static String[] getDatosAlturaMayor() {\n\t\tSession session = null;\n\t\tTransaction tx = null;\n\t\t\t\t\n\t\t// Iniciar la sesion con Hibernate\n SessionFactory sess = HibernateUtil.getSessionFactory();\n session = sess.getCurrentSession();\n \n // Comenzar la transaccion\n tx = session.beginTransaction();\n \n Logger log = Logger.getLogger(\"Obtener los datos de la mayor altura\");\n\t\tlog.info(\"Obtener los datos de la mayor altura\");\n\t\t\n\t\tString[] strDevolucion = new String[3];\n\t try {\t\t\n\t \t\t//hago un query con todos los datos \n\t\t StringBuilder queryObjeto= new StringBuilder();\n\t\t queryObjeto.append(\"select dp.altura, dp.promedioVelocidadRenglon, dp.promedioTempRenglon from DatosPerfilVertical as dp where dp.altura = \");\n\t\t queryObjeto.append(\"(select MAX(dp2.altura) from DatosPerfilVertical as dp2)\");\n\t\t \n\t\t //lo ejecuto y lo guardo en un iterador.\n\t\t Iterator listaDatosArchivo = session.createQuery(queryObjeto.toString()).list().iterator();\n\n\t\t Object[] tupla = (Object[]) listaDatosArchivo.next();\n\t\t\n\t\t strDevolucion[0] = tupla[0].toString();\n\t\t\t strDevolucion[1] = tupla[1].toString();\n\t\t\t strDevolucion[2] = tupla[2].toString();\n\t\t //cometer la transaccion o sino no se escribe nada en la BD\n\t\t\t\ttx.commit();\n\n\t\t\t\t// cerrar la sesion\n\t\t\t\t//session.close();\n\t\t\t\t\n\t } catch (HibernateException e) {\n\n\t\t \tSystem.out.println(e.getMessage());\n\t\t \tlog.warn(\"Ocurrio un error al buscar los datos de la mayor Altura\");\n\n\t\t // cuando ocurre un error hace rollback\n\t\t \tif (tx != null)\n\t\t \t\ttry {\n\t\t \t\t\ttx.rollback();\n\t\t \t\t} catch (HibernateException e1) {\n\t\t \t\t\tSystem.out.println(\"El rollback no fue exitoso\");\n\t\t \t\t\tlog.warn(\"El rollback no fue exitoso\");\n\t\t \t\t}\n\n if (session != null)\n \ttry {\n \t\tsession.close();\n \t} catch (HibernateException e2) {\n \t\tSystem.out.println(\"El cierre de sesion no fue exitoso\");\n\t\t\t\t\tlog.warn(\"El cierre de sesion no fue exitoso\");\n \t}\n\t }\t\n\t\n\t\treturn strDevolucion;\n\t}", "title": "" }, { "docid": "4d33752c076fe9635cec6bb0789f500e", "score": "0.5636927", "text": "public DataTable getDtOrdenFabricacion()\r\n/* 287: */ {\r\n/* 288:327 */ return this.dtOrdenFabricacion;\r\n/* 289: */ }", "title": "" }, { "docid": "3e7784437908f68e313f1119b7f1c704", "score": "0.56337035", "text": "public BigDecimal getCostoManoObraCalculo()\r\n/* 435: */ {\r\n/* 436:458 */ return this.costoManoObraCalculo;\r\n/* 437: */ }", "title": "" }, { "docid": "24aba4f6fc4eea6a7840062ffe333adf", "score": "0.56298655", "text": "public java.sql.ResultSet BusActFp(String codigo){\n\r\n java.sql.ResultSet rs=null;\r\n Statement st = null;\r\n try{\r\n \tConexion con=new Conexion();\r\n \tst = con.conn.createStatement();\r\n \trs=st.executeQuery(\"SELECT oa.codigo, oa.actividad_economica, oa.codigo_ciiu, oa.cod_crefk, oc.valor AS val_cre, of.descripcion, p.cta, orfte.codigo AS cod_rfte, orfte.valor AS val_rfte, oic.codigo AS cod_ica , oic.valor AS val_ica, p.cod_formapagofk \"+\r\n \t\t\t \"FROM ord_prove_actecono p, ord_formadepago of, ord_actividadeconomica oa, ord_retefuente orfte, ord_ica oic, ord_cre oc \"+\r\n \"WHERE p.cod_aecofk=oa.codigo AND of.codigo=p.cod_formapagofk AND oa.cod_crefk=oc.codigo AND orfte.codigo=p.cod_reftefk AND p.cod_icafk=oic.codigo AND p.cod_provefk='\"+codigo+\"' \");\r\n \r\n }\r\n catch(Exception ex){\r\n \tSystem.out.println(\"Error en MetodoProve>>BusActFp \"+ex);\r\n }\t\r\n return rs;\r\n}", "title": "" }, { "docid": "e148734f3665b2d351589f6f60d715da", "score": "0.5627523", "text": "DATA getData();", "title": "" }, { "docid": "190f864d590ff2367b2e8d86255c0528", "score": "0.5627309", "text": "public DTOSalida obtenerTiposOperacion(Long oidOperacion ) throws Exception{\n traza(\"*** LPOperacion.obtenerTiposOperacion: Entrada ***\");\n \n Vector paramConector = new Vector();\n DTOOID dtoOid=new DTOOID();\n dtoOid.setOidIdioma(idioma);\n dtoOid.setOidPais(pais);\n dtoOid.setOid(oidOperacion);\n paramConector.add(dtoOid);\n paramConector.add(new MareBusinessID(\"RECObtenerTiposOperacion\")); \n traza(\"Antes de Conectar ConectorObtenerTiposOperacion\");\n DruidaConector conector = conectar(\"ConectorObtenerTiposOperacion\", paramConector);\t\t\t\t\t\t\t\n traza(\"Despues de Conectar ConectorObtenerTiposOperacion\");\n Object objeto=conector.objeto(\"DTOSalida\");\n traza(\"Objeto recogido\"+objeto);\n DTOSalida salida = (DTOSalida)conector.objeto(\"DTOSalida\");\n traza(\"DTOSalida obtenido\");\n \n // Modificamos los valores boolean por un si o un no que es lo que aparece en la lista\n RecordSet rs = salida.getResultado();\n if(!rs.esVacio()){\n for(int i=0;i<rs.getRowCount();i++){\n \n if(rs.getValueAt(i,3) != null){\n if( ((BigDecimal)rs.getValueAt(i,3)).intValue() == 1)\n rs.setValueAt(\"Si\",i,3);\n else\n rs.setValueAt(\"No\",i,3);\n }\n if(rs.getValueAt(i,5) != null){\n if( ((BigDecimal)rs.getValueAt(i,5)).intValue() == 1)\n rs.setValueAt(\"Si\",i,5);\n else\n rs.setValueAt(\"No\",i,5);\n }\n if(rs.getValueAt(i,6) != null){\n if( ((BigDecimal)rs.getValueAt(i,6)).intValue() == 1)\n rs.setValueAt(\"Si\",i,6);\n else\n rs.setValueAt(\"No\",i,6);\n }\n if(rs.getValueAt(i,7) != null){\n if( ((BigDecimal)rs.getValueAt(i,7)).intValue() == 1)\n rs.setValueAt(\"Si\",i,7);\n else\n rs.setValueAt(\"No\",i,7);\n }\t\n }\n }\n salida.setResultado(rs);\t\n \n \n traza(\"*** LPOperacion.obtenerTiposOperacion: Salida ***\");\n return salida;\n }", "title": "" }, { "docid": "d00e787a8ab3330fbf8a9df29042736b", "score": "0.5616437", "text": "private Collection getBienInmuebleCatastroBuscadosBD(String idMunicipio,String patron) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString sSQL;\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tif(CPoolDatabase.isPostgres(conn))\r\n\t\t\t{\r\n\t\t\t\tsSQL =\"select distinct bien_inmueble.identificador, bien_inmueble.poligono_rustico, bien_inmueble.parcela, bien_inmueble.primer_numero, \"+\r\n\t\t\t\t\" bien_inmueble.id_via , bien_inmueble.clase_bieninmueble\"+\r\n\t\t\t\t\" from bien_inmueble, parcelas where parcelas.referencia_catastral \"+\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"' \" +\r\n\t\t\t\t\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \" +\r\n\t\t\t\t\" and bien_inmueble.identificador like parcelas.referencia_catastral || '%' \" +\r\n\t\t\t\t\" order by bien_inmueble.identificador asc\";\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tsSQL =\"select distinct bien_inmueble.identificador, bien_inmueble.poligono_rustico, bien_inmueble.parcela, bien_inmueble.primer_numero, \"+\r\n\t\t\t\t\" bien_inmueble.id_via, bien_inmueble.clase_bieninmueble\"+\r\n\t\t\t\t\" from bien_inmueble, parcelas where parcelas.referencia_catastral \"+\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"' \" +\r\n\t\t\t\t\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \" +\r\n\t\t\t\t\" and bien_inmueble.identificador like concat(parcelas.referencia_catastral,'%') \" +\r\n\t\t\t\t\" order by bien_inmueble.identificador asc\";\r\n\t\t\t}\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\r\n\t\t\t\tIdBienInmueble idBI = new IdBienInmueble();\r\n\t\t\t\tidBI.setIdBienInmueble(rs.getString(\"identificador\"));\r\n\t\t\t\tbien.setIdBienInmueble(idBI);\r\n\t\t\t\tbien.setClaseBienInmueble(rs.getString(\"clase_bieninmueble\"));\r\n\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"parcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"poligono_rustico\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\t\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}catch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tbien.setDomicilioTributario(dir);\r\n\t\t\t\taux.add(bien);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "54146ad6666348997ea80cbcad70c82e", "score": "0.56159484", "text": "public String getDataInizio() {\r\n return dataInizio;\r\n }", "title": "" }, { "docid": "dbdf50950b43d6f8d4f5232e274d571a", "score": "0.56157756", "text": "public void obtener_datos_general(){\r\n String datos_general=\"Nombre: \"+nombre+\"\\nTitulo: \"+titulo+\"\\nSexo: \"+sexo+\"\\nTamaño: \"+tamaño+\"\\nEmail: \"+email;\r\n System.out.println(\"Los datos obtenidos en general de la clase docente son: \"+\"\\n\"+datos_general);\r\n \r\n \r\n }", "title": "" }, { "docid": "8b2446dda58eb00ec1c605e22abf06b9", "score": "0.56104213", "text": "public String [] bmcIndividuoObject(String INDV_CONSECUTIVO, String EQAL_METODOLOGIA, String EQAL_CODIGO, String EQAL_ID) throws ClassNotFoundException, Exception {\n\t\tString [] a_bmc = new String[3];\n\t\ta_bmc = new String[]{\"\", \"\", \"\"};\n\t\t\n\t\tBD dbREDD = new BD();\n\t\n\t Auxiliar aux = new Auxiliar();\n\n\t \n\t // OBTENER DATOS INDIVIDUO NECESARIOS PARA CALCULAR\n\t \n\t // OBTENER VARIABLES \n\t // Math.exp(3.652 - 1.697 * Math.log(_[D]_) + 1.169 * Math.pow(Math.log(_[D]_),2) - 0.122 * (Math.pow(Math.log(_[D]_), 3) + 1.285 * Math.log(_[p]_) + (Math.pow(0.336, 2)/2))\n\t \n\t \n\t // OBTENER DAP\n\t String sDAP = dbREDD.obtenerDato(\"SELECT SUM((TAYO_DAP1 + TAYO_DAP2)/2) FROM RED_TALLO WHERE TAYO_INDV_CONSECUTIVO=\"+INDV_CONSECUTIVO, \"\");\n\t \n\t if (!Auxiliar.esDAP(sDAP)) {\n\t \treturn new String []{\"\", \"\", \"DAP \"+sDAP+\" no es un DAP válido\"};\n\t }\n\t \n\t double DAP = Double.parseDouble(sDAP);\n\t \n\t // OBTENER DENSIDAD\n\t \n\t // PRIMERO, DIRECTAMENTE DE LA TABLA DE INDIVIDUOS\n\t \n\t String sDENSIDAD = dbREDD.obtenerDato(\"SELECT INDV_DENSIDAD FROM RED_INDIVIDUO WHERE INDV_CONSECUTIVO=\"+INDV_CONSECUTIVO, \"\");\n\t \n\t if (!Auxiliar.tieneAlgo(sDENSIDAD)) {\n\t \tString INDV_TXCT_ID = dbREDD.obtenerDato(\"SELECT INDV_TXCT_ID FROM RED_INDIVIDUO WHERE INDV_CONSECUTIVO=\"+INDV_CONSECUTIVO, \"\");\n\t \t\n\t \tif (!Auxiliar.tieneAlgo(INDV_TXCT_ID)) {\n\t\t \treturn new String []{\"\", \"\", \"No encontré la taxonomía del individuo, y por ende, su densidad taxonómica.\"};\n\t \t}\n\t \tsDENSIDAD = dbREDD.obtenerDato(\"SELECT TXCT_DENSIDAD FROM IDT_TAXONOMY_CATALOGUE WHERE INDV_CONSECUTIVO=\"+INDV_CONSECUTIVO, \"\");\n\t }\n\t \n\t if (!Auxiliar.tieneAlgo(sDENSIDAD)) {\n\t \treturn new String []{\"\", \"\", \"No encontré la densidad de la madera por ningún lado.\"};\n\t }\n\t \n\t if (!Auxiliar.esDensidad(sDENSIDAD)) {\n\t \treturn new String []{\"\", \"\", \"La densidad \"+sDENSIDAD+\" no es válida.\"};\n\t }\n\t \n\t double DENSIDAD = Double.parseDouble(sDENSIDAD);\n\t \n\t \n\t String w_id = \"\";\n\t if (Auxiliar.tieneAlgo(EQAL_ID)) {\n\t \tw_id = \" AND EQAL_ID=\" + EQAL_ID;\n\t }\n\t \n\t\tString w_mc = \"\";\n\t if (Auxiliar.tieneAlgo(EQAL_METODOLOGIA) && Auxiliar.tieneAlgo(EQAL_CODIGO)) {\n\t \tw_mc = \" AND EQAL_METODOLOGIA=\"+EQAL_METODOLOGIA+\" AND EQAL_CODIGO=\"+EQAL_CODIGO+\" \";\n\t }\n\t \n\t // OBTENER LA ECUACION\n\t \n\t String parametrizable = dbREDD.obtenerDato(\"SELECT EQAL_PARAMETRIZABLE FROM RED_ECUACIONALOMETRICA WHERE 1=1 \"+w_id+\" \"+w_mc, \"\");\n\t \n\t if (!Auxiliar.tieneAlgo(parametrizable)) {\n\t \treturn new String []{\"\", \"\", \"No se pudo obtener la ecuación alométrica parametrizable\"};\n\t }\n\t \n\t // REEMPLAZAR PARÁMETROS POR VARÍABLES\n\t \n\t parametrizable = parametrizable.replace(\"_[D]_\", sDAP);\n\t parametrizable = parametrizable.replace(\"_[p]_\", sDENSIDAD);\n\t parametrizable = parametrizable.replace(\"Math.\", \"\");\n\t \n\t \n\t \n\t // EVALUACIÓN DE LA ECUACIÓN ALOMÉTRICA\n\t \n\t // Set up library\n\t Class[] staticLib=new Class[1];\n\t try {\n\t staticLib[0]=Class.forName(\"java.lang.Math\");\n\t } catch(ClassNotFoundException e) {\n\t // Can't be ;)) ...... in java ... ;)\n\t };\n\t Library lib=new Library(staticLib,null,null,null,null);\n\t try {\n\t lib.markStateDependent(\"random\",null);\n\t } catch (CompilationException e) {\n\t // Can't be also\n\t };\n\n\t // Compile\n\t CompiledExpression expr_c=null;\n\t try {\n\t expr_c=Evaluator.compile(parametrizable,lib);\n\t } catch (CompilationException ce) {\n\t Auxiliar.mensajeImpersonal(\"advertencia\", \"--- COMPILATION ERROR :\");\n\t Auxiliar.mensajeImpersonal(\"advertencia\", ce.getMessage());\n\t //System.err.print(\" \");\n\t Auxiliar.mensajeImpersonal(\"advertencia\", parametrizable);\n\t int column=ce.getColumn(); // Column, where error was found\n\t Auxiliar.mensajeImpersonal(\"advertencia\", \"Error encontrado en el caracter \" + column);\n\t //for(int i=0;i<column+23-1;i++) System.err.print(' ');\n\t //System.err.println('^');\n\t };\n\n\t\tObject result=null;\n\t\t\n\t if (expr_c !=null) {\n \n\t\t\t// Evaluate (Can do it now any number of times FAST !!!)\n\t\t\ttry {\n\t\t\t\tresult=expr_c.evaluate(null);\n\t\t\t} catch (Throwable e) {\n\t\t\t\tAuxiliar.mensajeImpersonal(\"error\", \"Exception emerged from JEL compiled code (IT'S OK) :\");\n\t\t\t\tAuxiliar.mensajeImpersonal(\"error\", e.toString());\n\t\t\t};\n\t\t\t\t \n\t\t\t\t// Print result\n\t\t\tif (result==null) \n\t\t\t\tAuxiliar.mensajeImpersonal(\"advertencia\", \"Resultado es void\");\n\t\t\telse\n\t\t\t\tAuxiliar.mensajeImpersonal(\"confirmacion\", \"BA del individuo \" + INDV_CONSECUTIVO + \"=\" +result.toString());\n\t\t\t\n\t\t};\n\t\t\n\t\tif (result != null) {\n\t\t\tif (!Auxiliar.esBiomasaAerea(result.toString())) {\n\t\t\t\tdbREDD.desconectarse();\n\t\t \treturn new String []{\"\", \"\", \"El resultado [\"+result.toString()+\"] no es válido para el individuo \"+INDV_CONSECUTIVO };\n\t\t\t}\n\t\t\t\n\t\t\tdouble BA = Double.parseDouble(result.toString());\n\n\t\t\tif (!Auxiliar.esBiomasaAerea(String.valueOf(BA))) {\n\t\t\t\tdbREDD.desconectarse();\n\t\t \treturn new String []{\"\", \"\", \"Biomasa aerea [\"+String.valueOf(BA)+\"] no es válida para el individuo \"+INDV_CONSECUTIVO };\n\t\t\t}\n\n\t\t\ta_bmc = new String []{String.valueOf(BA), String.valueOf(BA/2), \"Biomasa Aérea=\"+String.valueOf(BA) + \", Carbono=\"+String.valueOf(BA/2)};\n\t\t}\n\n\t \n\t\tdbREDD.desconectarse();\n\t\treturn a_bmc;\n\t}", "title": "" }, { "docid": "00a95efda52ba273bb449534139666b3", "score": "0.5610357", "text": "public String cargarDatos()\r\n/* 224: */ {\r\n/* 225:270 */ return \"\";\r\n/* 226: */ }", "title": "" }, { "docid": "2d76d0f20a4573f1a66f36461ce2f179", "score": "0.5610175", "text": "public String buscarOficina(Oficina oficina){\r\n\r\n\r\n String nombreOficina=\"\";\r\n crearConexionGeneral();\r\n //crearConexionGeneralAnthonny();\r\n\r\n try {\r\n\r\n s = connection.createStatement();\r\n rs = s.executeQuery(\"SELECT * FROM oficinas WHERE id_oficina='\" +oficina.getIdentificador()+ \"'\");\r\n\r\n while (rs.next()) {\r\n\r\n nombreOficina=rs.getString(\"nombre_oficina\");\r\n }\r\n\r\n } catch (Exception e) {\r\n System.out.println(\"Problemas \" + e);\r\n\r\n }\r\n\r\n return nombreOficina;\r\n }", "title": "" }, { "docid": "2948d5681310cfbbd76868a2bfdcbe65", "score": "0.56069875", "text": "String metodo(String cadena);", "title": "" }, { "docid": "0fa8408c8a8eb59bc4fb6a5500451695", "score": "0.5603472", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic List<List<Object[]>> getDatosCasosxOU(Long desde, Long hasta) {\n\t\t\n\t\tList<List<Object[]>> resultadosTotales = new ArrayList<List<Object[]>>();\n\t\tString sqlQueryRegionVista = \"\";\n\t\tString sqlQueryTiempoWhere = \"\";\n\t\tString sqlQueryGroupBY = \"\";\n\t\t\n\t\t/**\n\t\t * Regresa datos de positivos de SISVIG\n\t\t * \n\t\t */\n\t\t\n\t\t\n\t\t// Retrieve session from Hibernate\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tQuery query;\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.corregimiento.distrito.region.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.corregimiento.distrito.region.ident\";\n\t\tTimestamp timeStampInicio = new Timestamp(desde);\n\t\tTimestamp timeStampFinal = new Timestamp(hasta);\n\t\t\n\t\t//Datos por region\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.corregimiento.distrito.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.corregimiento.distrito.ident\";\n\t\t\n\t\t\n\t\t//Datos por distrito\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.corregimiento.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.corregimiento.ident\";\n\t\t\n\t\t\n\t\t//Datos por corregimiento\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\t\t\n\t\tsqlQueryRegionVista = \"SELECT mc.pdrMuestraLocalidad.ident, count(mc.id)\";\n\t\tsqlQueryTiempoWhere = \"se.fechaIni <= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and se.fechaFin >= CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END and CASE WHEN mc.fis IS NOT NULL then mc.fis ELSE mc.pdrfecha END between :fechaInicio and :fechaFinal\";\n\t\tsqlQueryGroupBY = \"group by mc.pdrMuestraLocalidad.ident\";\n\t\t\n\t\t\n\t\t//Datos por localidad\n\t\tquery = session.createQuery(sqlQueryRegionVista \n\t\t\t\t+ \" FROM MalariaCaso mc, SemanaEpidemiologica se where \" + sqlQueryTiempoWhere \n\t\t\t\t+ \" and mc.eliminado=:eliminado and mc.estado=:estado \" + sqlQueryGroupBY);\n\t\tquery.setTimestamp(\"fechaInicio\", timeStampInicio);\n\t\tquery.setTimestamp(\"fechaFinal\", timeStampFinal);\n\t\tquery.setParameter(\"eliminado\", false);\n\t\tquery.setParameter(\"estado\", \"confirmado\");\n\t\t\n\t\t// Retrieve all\n\t\tresultadosTotales.add(query.list());\n\n\n\n\t\treturn resultadosTotales;\n\t}", "title": "" }, { "docid": "1edd58dfe5cfcae2cde4bfc903db4239", "score": "0.5599408", "text": "public ArrayList<Contacto> obtenerDatos(){\n BaseDatos db = new BaseDatos(context);\n insertarTresContactos(db);\n return db.obtenerAllContacts();\n }", "title": "" }, { "docid": "abd71531ce6160dc526c9a805c379057", "score": "0.5591975", "text": "public List letrasVencidasTramos_todos_ordenNombresC_SC() {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" order by vcl.ventas.persona.nombresC,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\");\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "a373ac5e025f89adcba4638a35f7c941", "score": "0.5586839", "text": "private Collection getFincaCatastroBuscadasPorDirDB(String idMunicipio,String patronNombreVia, String patronTipoVia) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.referencia_catastral as ID, vias.tipovianormalizadocatastro, vias.nombrecatastro, \" +\r\n\t\t\" parcelas.primer_numero, parcelas.codigopoligono, parcelas.codigoparcela from parcelas LEFT JOIN \" +\r\n\t\t\" vias ON parcelas.id_via=vias.codigocatastro where\" +\r\n\t\t\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"' \"\r\n\t\t+ \" and ((vias.nombrecatastro like upper('%\" + patronNombreVia + \"%')) \"\r\n\t\t+ \" and (vias.tipovianormalizadocatastro like upper('%\" + patronTipoVia + \"%'))) \"\r\n\t\t+ \" and vias.id_municipio='\"+idMunicipio+\"'\" \r\n\t\t+ \" order by vias.nombrecatastro asc\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"id\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setNombreVia(rs.getString(\"nombrecatastro\"));\r\n\t\t\t\tdir.setTipoVia(rs.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "7afa2b2c42b4dc9e9cf97ec8e77f4b3e", "score": "0.55750453", "text": "public List letrasVencidasTramos_empresaConvenio_cobrador_ordenDireccion_SC(int codEmpresaConvenio,\r\n int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.empresaConvenio.codEmpresaConvenio = :ter1\"\r\n + \" and dc.codCobrador = :par2\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"ter1\", codEmpresaConvenio)\r\n .setInteger(\"par2\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "1b47546a8c6c74a6d3d25524373d691f", "score": "0.55706203", "text": "private BigDecimal corregirDato(String Dato){\r\n String datoAcorregir = Dato.replace(\"C\", \"\");\r\n DecimalFormat decimalformat = (DecimalFormat) NumberFormat.getInstance();\r\n decimalformat.setParseBigDecimal(true);\r\n BigDecimal DatoCorregido = null;\r\n try {\r\n DatoCorregido = (BigDecimal) decimalformat.parseObject(datoAcorregir);\r\n } catch (ParseException ex) {\r\n Logger.getLogger(MyTableModelListener_FACT.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return DatoCorregido;\r\n \r\n }", "title": "" }, { "docid": "5a5c68f4561ba0e003d652c32a939ad7", "score": "0.5567695", "text": "public Docente obtenerPorCedula(String cedula) throws ObjectNotFoundException, NoResponseBDException;", "title": "" }, { "docid": "b81b8fa34098a7b17372fe2bb4bbd559", "score": "0.5563295", "text": "private Hashtable getCodigoNombreProvinciaBD() throws Exception\r\n\t{\r\n\t\tHashtable aux= new Hashtable();\r\n\t\tArrayList codigos = new ArrayList();\r\n\t\tArrayList nombres = new ArrayList();\r\n\t\tString sSQL= \"select id, nombreoficial from provincias order by translate(nombreoficial, 'ÁÉÍÓÚáéíóú','AEIOUaeiou')\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tcodigos.add(rs.getString(\"id\"));\r\n\t\t\t\tnombres.add(rs.getString(\"nombreoficial\"));\r\n\t\t\t}\r\n\t\t\t//TODO esto mirar y mejorar\r\n\t\t\taux.put(\"codigos\",codigos);\r\n\t\t\taux.put(\"nombres\",nombres);\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "1380cc9edf7fce2323538d24c1434fc3", "score": "0.555952", "text": "public String getCSOBJ_CODIGO(){\n\t\treturn this.myCsobj_codigo;\n\t}", "title": "" }, { "docid": "abba40203ec31bd192985ca1bd40d069", "score": "0.5559459", "text": "private void buscaDato()\n {\n String consulta=\"SELECT DISTINCT obj from Almacen obj \";\n String aux=\"\";\n if(c_filtro.getSelectedItem().toString().compareTo(\"N° Entrada\")==0)\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\" where obj.idAlmacen =\" + t_busca.getText();\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"Pedido\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"where ped.idPedido like'%\"+t_busca.getText()+\"%'\";\n }\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"O. Taller\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n {\n aux=\"SELECT DISTINCT obj from Almacen obj \"\n + \"WHERE obj.pedido.partida.ordenByIdOrden.idOrden like '%\"+t_busca.getText()+\"%'\";\n consulta+=\"LEFT JOIN FETCH obj.movimientos objM \"\n + \"LEFT JOIN objM.partida part \"\n + \"LEFT JOIN part.ordenByIdOrden ord \"\n + \"where ord.idOrden like'%\"+t_busca.getText()+\"%' OR obj.orden.idOrden like'%\"+t_busca.getText()+\"%'\";\n }\n }\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"No Proveedor (pedido)\")==0)\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"LEFT JOIN ped.proveedorByIdProveedor prov \"\n + \"where prov.idProveedor like'%\"+t_busca.getText()+\"%'\";\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"Nombre de Proveedor (pedido)\")==0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"LEFT JOIN ped.proveedorByIdProveedor prov \"\n + \"where prov.nombre like'%\"+t_busca.getText()+\"%'\";\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"Entrego/recibió\")==0)\n consulta+=\"LEFT JOIN obj.pedido ped \"\n + \"where obj.entrego like'%\"+t_busca.getText()+\"%'\";\n\n if(c_filtro.getSelectedItem().toString().compareTo(\"No Proveedor (s. compañía)\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN FETCH obj.movimientos objM \"\n + \"LEFT JOIN objM.partida part \"\n + \"LEFT JOIN part.proveedor prov \"\n + \"where prov.idProveedor like'%\"+t_busca.getText()+\"%'\";\n }\n if(c_filtro.getSelectedItem().toString().compareTo(\"Nombre de Proveedor (s. compañía)\")==0)\n {\n if(t_busca.getText().compareTo(\"\")!=0)\n consulta+=\"LEFT JOIN FETCH obj.movimientos objM \"\n + \"LEFT JOIN objM.partida part \"\n + \"LEFT JOIN part.proveedor prov \"\n + \"where prov.nombre like'%\"+t_busca.getText()+\"%'\";\n }\n\n\n Session session = HibernateUtil.getSessionFactory().openSession();\n try\n {\n session.beginTransaction();\n Query q = session.createQuery(consulta);\n List resultList = q.list();\n\n if(aux.compareTo(\"\")!=0)\n {\n Query q1 = session.createQuery(aux);\n resultList.addAll(q1.list());\n }\n\n if(resultList.size()>0)\n {\n t_datos.setModel(ModeloTablaReporte(resultList.size(), columnas));\n int i=0;\n for (Object o : resultList) \n {\n Almacen actor = (Almacen) o;\n model.setValueAt(actor.getIdAlmacen(), i, 0);\n model.setValueAt(actor.getUsuario().getEmpleado().getNombre(), i, 1);\n model.setValueAt(actor.getFecha(), i, 2);\n if(actor.getPedido()!=null)\n model.setValueAt(actor.getPedido().getIdPedido(), i, 3);\n else\n model.setValueAt(\"\", i, 3);\n model.setValueAt(actor.getNotas(), i, 4);\n if(actor.getTipoMovimiento()==1)\n {\n if(actor.getOperacion()==1)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P. Valuacion\", i, 6);\n }\n if(actor.getOperacion()==2)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P. Externo\", i, 6);\n }\n if(actor.getOperacion()==3)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P. Directo\", i, 6);\n }\n if(actor.getOperacion()==4)\n {\n model.setValueAt(\"Entregada\", i, 5);\n model.setValueAt(\"Compañía\", i, 6);\n }\n\n if(actor.getOperacion()==5)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"Operarios\", i, 6);\n }\n if(actor.getOperacion()==6)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"Venta\", i, 6);\n }\n if(actor.getOperacion()==7)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"P.Consumibles\", i, 6);\n }\n if(actor.getOperacion()==8)\n {\n model.setValueAt(\"Devolucion\", i, 5);\n model.setValueAt(\"Consumibles\", i, 6);\n }\n if(actor.getOperacion()==9)\n {\n model.setValueAt(\"Entrada\", i, 5);\n model.setValueAt(\"Ajuste\", i, 6);\n }\n }\n else\n {\n\n if(actor.getOperacion()==1)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P. Valuacion\", i, 6);\n }\n if(actor.getOperacion()==2)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P. Externo\", i, 6);\n }\n if(actor.getOperacion()==3)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P. Directo\", i, 6);\n }\n if(actor.getOperacion()==4)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"Compañía\", i, 6);\n }\n if(actor.getOperacion()==5)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Operarios\", i, 6);\n }\n if(actor.getOperacion()==6)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Venta\", i, 6);\n }\n if(actor.getOperacion()==7)\n {\n model.setValueAt(\"Devolución\", i, 5);\n model.setValueAt(\"P.Consumibles\", i, 6);\n }\n if(actor.getOperacion()==8)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Consumibles\", i, 6);\n }\n if(actor.getOperacion()==9)\n {\n model.setValueAt(\"Salida\", i, 5);\n model.setValueAt(\"Ajuste\", i, 6);\n }\n }\n i++;\n }\n }\n else\n t_datos.setModel(ModeloTablaReporte(0, columnas));\n t_busca.requestFocus();\n }catch(Exception e)\n {\n System.out.println(e);\n }\n if(session!=null)\n if(session.isOpen())\n session.close();\n titulos();\n }", "title": "" }, { "docid": "b24738efe79be78f76a0e4ac4244fddc", "score": "0.5558655", "text": "@Override\r\n public String datosEmpleado(){\r\n String datosPersonales=super.datosEmpleado();\r\n datosPersonales+= \"Horas trabajadas: \" + this.horas + \"( a\" + this.precioHora+\"€ \\n\";\r\n return datosPersonales;\r\n }", "title": "" }, { "docid": "8d46d5bdb52445cf75f084c249b95fb7", "score": "0.55584204", "text": "public String getDataLancamentoFormatoBr() {\n String dataFormatoBr;\n dataFormatoBr = dataLancamento.substring(8) + '/' +\n dataLancamento.substring(5,7) + '/' + dataLancamento.substring(0,4);\n return dataFormatoBr;\n }", "title": "" }, { "docid": "1e3c517db0039b00405aa597a76cc35f", "score": "0.5551515", "text": "private void getBienInmuebleCatastroExpedienteDB(Expediente exp, String idMunicipio)throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select e.id_bieninmueble, e.id_dialogo,e.actualizado, b.poligono_rustico, b.parcela, b.id_via,b.primer_numero, \" +\r\n\t\t\" b.codigo_municipiodgc, b.clase_bieninmueble, p.codigodelegacionmeh from \" +\r\n\t\t\" Expediente_BienInmueble e,Bien_Inmueble b, parcelas p where e.id_expediente=\" +exp.getIdExpediente()+\r\n\t\t\" and e.id_BienInmueble=b.IDentificador and p.referencia_catastral=b.parcela_catastral and\" +\r\n\t\t\" p.id_municipio=\" +\r\n\t\tidMunicipio;\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\r\n\t\t\t\tIdBienInmueble idBI = new IdBienInmueble();\r\n\t\t\t\tidBI.setIdBienInmueble(rs.getString(\"id_bieninmueble\"));\r\n\t\t\t\tbien.setIdBienInmueble(idBI);\r\n\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\t\r\n\t\t\t\tString codDelegacionMEH = rs.getString(\"codigodelegacionmeh\");\r\n\t\t\t\tif(codDelegacionMEH == null || codDelegacionMEH.equalsIgnoreCase(\"\"))\r\n\t\t\t\t\tcodDelegacionMEH = String.valueOf(exp.getEntidadGeneradora().getCodigo());\r\n\r\n\t\t\t\tdir.setProvinciaINE(codDelegacionMEH);\r\n\t\t\t\t\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"poligono_rustico\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"parcela\"));\r\n\t\t\t\tbien.setCodMunicipioDGC(rs.getString(\"codigo_municipiodgc\"));\r\n\t\t\t\tbien.setClaseBienInmueble(rs.getString(\"clase_bieninmueble\"));\r\n\t\t\t\tif(rs.getString(\"id_dialogo\") == null ){\r\n\t\t\t\t\tbien.setIdentificadorDialogo(\"\");\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tbien.setIdentificadorDialogo(rs.getString(\"id_dialogo\"));\r\n\t\t\t\t}\r\n\t\t\t\tbien.setActualizadoOVC(rs.getBoolean(\"actualizado\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}catch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tbien.setDomicilioTributario(dir);\r\n\t\t\t\taux.add(bien);\r\n\t\t\t}\r\n\t\t\texp.setListaReferencias(aux);\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t}", "title": "" } ]
59182070c9fe1695c8215b9d5d99c302
Update fields in view
[ { "docid": "3a2ee56d3cb9a9e4f9c8403c13571c63", "score": "0.0", "text": "private void bind(Person person) {\n this.person = person;\n\n // Set name\n String nameString = person.getFirstName() + \" \" + person.getLastName();\n primaryText.setText(nameString);\n\n // Set gender icon\n if (\"m\".equals(person.getGender())) {\n imageView.setBackgroundResource(R.drawable.male_icon);\n }\n else {\n imageView.setBackgroundResource(R.drawable.female_icon);\n }\n }", "title": "" } ]
[ { "docid": "2b076d0521581115f1c4b89031fdd6c9", "score": "0.69226193", "text": "@Override\n public void updateModelFromView() {\n }", "title": "" }, { "docid": "4e720aa95ec395bba387230608e647a0", "score": "0.64221156", "text": "public void updateViews();", "title": "" }, { "docid": "bd0d008144821c4588fd1a5f2a0f49a8", "score": "0.6257973", "text": "public void updateView()\r\n {}", "title": "" }, { "docid": "7d9db6162bd53ef59ca505116d0d680a", "score": "0.6198622", "text": "public void updateViewWithData() {\n model.loadFriends();\n List<UserData> friends = model.getFriends();\n view.updateFriendsList(friends);\n }", "title": "" }, { "docid": "90f112539883c3e1b681fa8ed306c3b2", "score": "0.6185455", "text": "private void updateTextFields() {\n this.myEditCid.setText(\"\" + this.myCellID);\n this.myEditLac.setText(\"\" + this.myLAC);\n }", "title": "" }, { "docid": "8ea91ed1fc0f9914554ba7f8247a13bc", "score": "0.6184482", "text": "private void modifiedModel() {\n this.i.update();\n v.update();\n }", "title": "" }, { "docid": "49e78471ad4cd6854ee0c4fc6f62b5c3", "score": "0.61596745", "text": "public void updateView();", "title": "" }, { "docid": "49e78471ad4cd6854ee0c4fc6f62b5c3", "score": "0.61596745", "text": "public void updateView();", "title": "" }, { "docid": "7ed8bf41d9b67b733af7f41167b5016f", "score": "0.61257344", "text": "public void refreshViewAttributes();", "title": "" }, { "docid": "af9a3c1b09da7b47b95a7b929dc5b830", "score": "0.6110327", "text": "@Override\n\tpublic void updateViews(Object obj) {\n\t\t\n\t}", "title": "" }, { "docid": "6c2b4609a26dd4926fe148b3a43b28ff", "score": "0.6100213", "text": "abstract void updateView();", "title": "" }, { "docid": "6690ece2289a220a844a68b8010c8961", "score": "0.60985625", "text": "@Override\n\tpublic void updateModel() {\n\t\t\n\t}", "title": "" }, { "docid": "3e691d8ac7b7b6c3eeca07907e7c87aa", "score": "0.6094163", "text": "public void updateView() {\n \tsuper.updateView();\n }", "title": "" }, { "docid": "2ce5c58f83ffd062330079c27718277e", "score": "0.6086783", "text": "public void fieldsUpdated(Collection<DataModelField<ValueType>> fields);", "title": "" }, { "docid": "9e486aebf4c22920a44845b50be08e08", "score": "0.60757756", "text": "public void fieldUpdated(DataModelField<ValueType> field);", "title": "" }, { "docid": "d12074f34aab2df69b3107a8e0cae4f7", "score": "0.59854233", "text": "public abstract void updateFromView(View view);", "title": "" }, { "docid": "05e0d8a92a701838e873faad760840e0", "score": "0.59695697", "text": "public void testUpdate() {\n Runnable extraSetup = new Runnable() {\n @Override\n public void run() {\n setText(R.id.update_object_type_text, \"objTypeUpdate\");\n setText(R.id.update_object_id_text, \"objIdUpdate\");\n setText(R.id.update_fields_text, \"{\\\"field1\\\":\\\"update1\\\",\\\"field2\\\":\\\"update2\\\"}\");\n }\n };\n gotoTabAndRunAction(UPDATE_TAB, R.id.update_button, \"Go\", extraSetup, \"[PATCH \" + TEST_INSTANCE_URL + \"/services/data/\" + ApiVersionStrings.getVersionNumber(targetContext) + \"/sobjects/objTypeUpdate/objIdUpdate {\\\"field1\\\":\\\"update1\\\",\\\"field2\\\":\\\"update2\\\"}]\");\n }", "title": "" }, { "docid": "c4e6eca02482e349b5a605ed8ce28552", "score": "0.59528273", "text": "private void fillFields() {\n if (this.selectedEntry != null) {\n this.titleTextField.setText(this.selectedEntry.getTitle());\n this.usernameTextField.setText(this.selectedEntry.getUsername());\n this.passwordVisibleTextField\n .setText(this.selectedEntry.getPassword());\n this.repeatPasswordField.setText(this.selectedEntry.getPassword());\n this.urlTextField.setText(this.selectedEntry.getUrl());\n this.emailTextField.setText(this.selectedEntry.getEmail());\n this.notesTextArea.setText(this.selectedEntry.getNotes());\n }\n }", "title": "" }, { "docid": "3dc0596084cf88bcdceed47be6dd5b40", "score": "0.59508693", "text": "public void editInformation(){\n \t//This method is a blank method created in version 1.0 \n \t//and will be implemented in future application versions.\n }", "title": "" }, { "docid": "a9144a04422706dc9ef66e62bc8490d3", "score": "0.5899251", "text": "@Override\n public void viewUpdate() {\n\n }", "title": "" }, { "docid": "e1179eae0146d48b2951b65b72982408", "score": "0.58895886", "text": "public ViewAdminUpdate() {\n initComponents();\n db = new Database();\n Con = db.getConnection();\n \n //showPreOrder();\n }", "title": "" }, { "docid": "63489cb681b0e579c0569793ea6167df", "score": "0.58647543", "text": "public void viewToModel() {\n for ( int i=0; i < days.size(); i++ ) {\n days.get(i).setWorkingHours( Double.parseDouble( fields.get(i).getText() ) );\n days.get(i).setWorkingDay( checks.get(i).isSelected() );\n }\n }", "title": "" }, { "docid": "56b4c3afcf14f875119b7b3d81f841e8", "score": "0.5863506", "text": "private void updateView()\n {\n locName = (TextView)findViewById(R.id.nameText);\n locName.setText(location.getLocationName());\n locDescript = (TextView)findViewById(R.id.descriptText);\n locDescript.setText(location.getLocationDescription());\n response = (TextView)findViewById(R.id.responseText);\n }", "title": "" }, { "docid": "a099fd43f7aa87a352f59ebf4096fd71", "score": "0.5857589", "text": "void updateView(List<List<String>> update);", "title": "" }, { "docid": "8388cc6ded710f2b504f197514e5171b", "score": "0.5838064", "text": "public String callUpdate() {\r\n\t\tString opt = request.getParameter(\"opt\");\r\n\t\tString id = request.getParameter(\"para\");\r\n\t\tsurveyQuestionnaire.setOptionTextarea(opt);\r\n\t\tsurveyQuestionnaire.setParaId(id);\r\n\t\treturn \"viewOptions\";\r\n\t}", "title": "" }, { "docid": "b6593e2dd5ebf82877d33a98e4d3618a", "score": "0.58276016", "text": "public void updateViews()\r\n\t{\r\n\t\tview.updateView();\r\n\t}", "title": "" }, { "docid": "62c4f89653d19fd711c1a60b926017c5", "score": "0.58215415", "text": "public void update(){\n\t\tthis.binder_Actualizacion.clear();\n\t\tthis.cb_Dependencia.setValue((String)(\"\"));\n\t}", "title": "" }, { "docid": "fc0aec0885b18e833210f3766846432a", "score": "0.57891256", "text": "public void updateView(){\n\n // Actualizo el texto de valor del subtotal y total en billetera\n initializeSubtotalAndLoadTotal();\n\n // Actualizo todas las imágenes dentro del Slide\n updateImages();\n\n // Inhabilito el botón de carga\n Button saveButton = (Button) rootView.findViewById(R.id.button13);\n saveButton.setEnabled(false);\n\n }", "title": "" }, { "docid": "a719a8fb994dcecdbef9e705a67d4896", "score": "0.57873887", "text": "private void populateFields(){\n\n patientIdJTextField.setText(String.valueOf(patient.getId()));\n patientNameJTextField.setText(patient.getName());\n priDoctorJTextField.setText(patient.getPrimaryDoctorName());\n doctorContactJTextField.setText(patient.getPrimaryDoctorContact());\n \n}", "title": "" }, { "docid": "a30e07f7465b8ce37b98345f241d6bb4", "score": "0.5775898", "text": "void update(Model model);", "title": "" }, { "docid": "872f228b1b43f5ed3641e629c77f2497", "score": "0.576204", "text": "public void edit()\n\t\t{\n\t\t}", "title": "" }, { "docid": "872f228b1b43f5ed3641e629c77f2497", "score": "0.576204", "text": "public void edit()\n\t\t{\n\t\t}", "title": "" }, { "docid": "74bd67572af28adee551963d0455e835", "score": "0.5758252", "text": "@Override\r\n\tpublic void update(RecVO recVO) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7720a667ba550de39ea14385f9b19bc8", "score": "0.57542455", "text": "@Override\n public void updateView() {\n \n }", "title": "" }, { "docid": "0945772f390c6f3bf4212aca0239509b", "score": "0.5739237", "text": "@RequestMapping(\"/updatedailyupdates/{id}\")\n \t\tpublic String updateForm(@PathVariable(\"id\") Long id, Model model) {\n \t\t\tDailyUpdates dailyUpdates = this.dailyUpdatesService.getDailyUpdates(id);\n \t\t\tmodel.addAttribute(\"dailyUpdates\", dailyUpdates);\n \t\t\treturn \"updatedailyupdates\";\n \t\t}", "title": "" }, { "docid": "2816ab47bccc9727042261a91d287af7", "score": "0.5730947", "text": "protected void setFieldValues()\n\t{\n\t\tif (this.player.getPlayerID() > 0)\n\t\t{\n\t\t\tthis.heading.setText(\"Edit Player\");\n\t\t\tthis.firstName.setText(this.player.getFirstName());\n\t\t\tthis.lastName.setText(this.player.getLastName());\n\t\t\tthis.numSeasonsPlayed.setText(Integer.toString(this.player.getNumSeasonsPlayed()));\n\t\t\tthis.position.setValue(this.player.getPosition());\n\t\t\tthis.team.setValue(this.player.getTeam());\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.heading.setText(\"New Player\");\n\t\t}\n\t}", "title": "" }, { "docid": "2d3a096cc32d6cca58fefed966e207d0", "score": "0.57167876", "text": "@Override\n public void updateView() {\n }", "title": "" }, { "docid": "865db4da6b7bee7c93a0f2ccce2937e0", "score": "0.5714381", "text": "@Bindable\n public void refreshFields() throws ModelerException {\n workspace.refresh();\n }", "title": "" }, { "docid": "d73a64d851889e1fd414998905be9266", "score": "0.5707816", "text": "public void setTextFields() { \r\n productIdField.setText(Integer.toString(selectedProduct.productIdProperty().get()));\r\n productNameField.setText(selectedProduct.productNameProperty().getValueSafe());\r\n productInvField.setText(Integer.toString(selectedProduct.productInvProperty().get()));\r\n productCostField.setText(Double.toString(selectedProduct.productCostProperty().get()));\r\n maxField.setText(Integer.toString(selectedProduct.maxProperty().get()));\r\n minField.setText(Integer.toString(selectedProduct.minProperty().get()));\r\n \r\n }", "title": "" }, { "docid": "d4abce1ce5362df5cd560f5e25e7e51e", "score": "0.5698604", "text": "public void updateView(){\n\t\tapc.setView(new GameSelect(apc,cn,sn,t));\n\t}", "title": "" }, { "docid": "4f9a27ecbcfba8b9008382d8269d5c2f", "score": "0.56915945", "text": "public void updateFields(Set<String> newFields);", "title": "" }, { "docid": "ab27a4bf2cde369e3cf5c21c45306c95", "score": "0.5691362", "text": "public void update(){}", "title": "" }, { "docid": "136d5d68e54f6f644f2c84d3ee13ab32", "score": "0.56800437", "text": "protected abstract boolean update(String field, TableRow row);", "title": "" }, { "docid": "3087b835576bca7559a601c023169edb", "score": "0.5679155", "text": "public void updateView() {\n\t\tif(myView != null) {\n\t\t\tmyView.updateView();\n\t\t}\n\t}", "title": "" }, { "docid": "9be19949ca8b4bc80ef5f0325f48913d", "score": "0.566193", "text": "public void update(MainModel model);", "title": "" }, { "docid": "e69b7d5963d9af452ab7a5bade698213", "score": "0.56559366", "text": "@Update\n void edita(Aluno aluno);", "title": "" }, { "docid": "254006cbdb7ffa7b8eb79c7db4bdca05", "score": "0.5633941", "text": "protected abstract void setSpecificFields();", "title": "" }, { "docid": "e50af8df5872d0eabe0641325e62cf56", "score": "0.5626147", "text": "public void EditarLivro() {\r\n LivroDao dao = new LivroDao();\r\n dao.atualizar(livro);\r\n }", "title": "" }, { "docid": "0dcf3a765e6c0e091eeabca60e0652bc", "score": "0.5621627", "text": "public abstract void updateView();", "title": "" }, { "docid": "841369ab9140710df3a396d35bcf3197", "score": "0.56192535", "text": "@Override\n\tpublic void doUpdateDynaBean() {\n\t\tString tableCode = \"\";\n\t\tDynaBean dynaBean = serviceTemplate.selectOne(tableCode, \" AND 1=1\");\n\t\tdynaBean.set(\"字段1\", \"字段值\");\n\t\tdynaBean.set(\"字段2\", \"字段值\");\n\t\t// 删除字段key,实现局部更新\n\t\tdynaBean.remove(\"字段名\");\n\t\tserviceTemplate.buildModelModifyInfo(dynaBean);\n\t\tserviceTemplate.update(dynaBean);\n\t}", "title": "" }, { "docid": "086a62008c14bdce90069444deb752d7", "score": "0.56187177", "text": "@Override\n public void onUpdateObject(IViewContract.UpdateViewEvent e, Object o) {\n\n }", "title": "" }, { "docid": "afd942617a0dad3eeab5d7907cfa1e75", "score": "0.5613868", "text": "@Test\n public void testUpdateView() {\n model.setBusinessId(1);\n o.updateView();\n \n String result = \"Offers: \\nID: 1\\nName: testName\\nLatitude: 1.0\\nLongitude: 1.0\\nOffer: testOffer\\n\";\n assertEquals(result, outContent.toString());\n \n }", "title": "" }, { "docid": "535c815968bf9cda3b5398e1db44a878", "score": "0.56105345", "text": "@Override\n\tpublic void update(T pojo) {\n\t\t\n\t}", "title": "" }, { "docid": "b6341971b807764f62659bd5370640ba", "score": "0.56042844", "text": "public void modelToView() {\n for ( int i=0; i < days.size(); i++ ) {\n fields.get(i).setText( String.valueOf( days.get(i).getWorkingHours() ) );\n\n if ( days.get(i).isWorkingDay() ) {\n checks.get(i).setSelected(true);\n } else {\n checks.get(i).setSelected(false);\n }\n }\n }", "title": "" }, { "docid": "dca77279049087ddf41353e3556056bd", "score": "0.5593691", "text": "private void updateFieldsFromMap(JSONObject newModel) {\n // Get the field map for new model and old fields list\n String [][] oldFields = mEditorNote.items();\n Map<String, Pair<Integer, JSONObject>> fMapNew = getCol().getModels().fieldMap(newModel);\n // Build array of label/values to provide to field EditText views\n String[][] fields = new String[fMapNew.size()][2];\n for (String fname : fMapNew.keySet()) {\n // Field index of new note type\n Integer i = fMapNew.get(fname).first;\n // Add values from old note type if they exist in map, otherwise make the new field empty\n if (mModelChangeFieldMap.containsValue(i)) {\n // Get index of field from old note type given the field index of new note type\n Integer j = getKeyByValue(mModelChangeFieldMap, i);\n // Set the new field label text\n if (allowFieldRemapping()) {\n // Show the content of old field if remapping is enabled\n fields[i][0] = String.format(getResources().getString(R.string.field_remapping), fname, oldFields[j][0]);\n } else {\n fields[i][0] = fname;\n }\n\n // Set the new field label value\n fields[i][1] = oldFields[j][1];\n } else {\n // No values from old note type exist in the mapping\n fields[i][0] = fname;\n fields[i][1] = \"\";\n }\n }\n populateEditFields(fields, true);\n updateCards(newModel);\n }", "title": "" }, { "docid": "25ea81fe10a498eccf6326abaf879e19", "score": "0.55914223", "text": "private void editContact(IView source) {\n try {\r\n\t\tmodel.editContact();\r\n\t\tsetUpdatEnabled(true);\r\n\t} catch (IllegalAccessException e) {\r\n\t\t System.out.println(\"There are no contacts!\");\r\n\t}\r\n\r\n\t\t\r\n\r\n\r\n\t}", "title": "" }, { "docid": "d4501177eaa33d496532da7951e3276e", "score": "0.5588326", "text": "public void refresh() {\n\t\tif (model != null) {\n\t\t\ttextField.setText(\"\" + model.getValue());\n\t\t}\n\t}", "title": "" }, { "docid": "b7e2c8026fb6f5622269296f82e4703b", "score": "0.5569788", "text": "@OnClick(R.id.tvSave)\n void updateProfile() {\n if (validateField()) {\n callEditProfileService();\n }\n }", "title": "" }, { "docid": "96aea71ccdb50db9a01ee35bb92f52e4", "score": "0.55676234", "text": "public String update() {\n\t\tif (getElement().getIdTipo() == null) {\n\t\t\tFacesContext.getCurrentInstance()\n\t\t\t\t\t.addMessage(\n\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\tnew FacesMessage(\"Tipo non valido\",\n\t\t\t\t\t\t\t\t\t\"Selezionare il tipo.\"));\n\t\t\treturn null;\n\t\t}\n\t\t@SuppressWarnings(\"unused\")\n\t\tPubblicazione t = getSession().update(element);\n\t\t// refresh locale\n\t\tthis.element = getSession().find(this.element.getId());\n\t\trefreshModel();\n\t\t// vista di destinzione\n\t\toperazioniLogHandler.save(OperazioniLog.MODIFY, JSFUtils.getUserName(),\n\t\t\t\t\"modifica publicazione: \" + this.element.getTitolo());\n\t\treturn viewPage();\n\t}", "title": "" }, { "docid": "573fc55a80de94ef1de5315fa8df5300", "score": "0.5563989", "text": "@Override\n\tprotected void pageComplete() {\n\t\tupdateModel();\n\t}", "title": "" }, { "docid": "9105d195277b6bd9859cbc4811567fc4", "score": "0.5562356", "text": "public void update() {\n /**\n * GET THE NEW TEXT\n */\n newName = name.getText().toString();\n\n /**\n * UPDATE THE DEVELOPER\n */\n if(newName.trim().equals(\"\"))\n Toast.makeText(EditDeveloper.this, R.string.error_empty_fields, Toast.LENGTH_SHORT).show();\n else {\n developerViewModel.update(dev.getId(), newName);\n\n /**\n * SHOW INFORMATIONS AND CLOSE\n */\n Toast.makeText(EditDeveloper.this, R.string.developer_edited, Toast.LENGTH_SHORT).show();\n finish();\n }\n }", "title": "" }, { "docid": "0610ed6534f4e45c8dad89ceb22beedf", "score": "0.5561287", "text": "private void update() {\n String getTitle=titleField.getText().toString();\n String getAuthor=authorField.getText().toString();\n float getRating=ratingField.getRating();\n boolean isTitleEmpty=titleField.getText().toString().isEmpty();\n boolean isAuthorEmpty=authorField.getText().toString().isEmpty();\n boolean isNoRating=ratingField.getRating()==0;\n boolean isNullPhotoURL=coverPhotoURL==null;\n String book_id=getIntent().getExtras().getString(Config.BOOK_ID);\n\n if(isTitleEmpty){\n titleField.setError(Config.TITLE_EMPTY_MESSAGE);\n }\n\n if(isAuthorEmpty){\n authorField.setError(Config.AUTHOR_EMPTY_MESSAGE);\n }\n\n if(isNoRating){\n Toast.makeText(this, Config.RATING_ZERO_MESSAGE, Toast.LENGTH_SHORT).show();\n }\n\n if(isNullPhotoURL){\n Toast.makeText(this, Config.IMAGE_URL_NULL_MESSAGE, Toast.LENGTH_SHORT).show();\n }\n\n if(!isTitleEmpty && !isAuthorEmpty && !isNoRating && !isNullPhotoURL){\n bookDatabaseHelper.edit(getApplicationContext(),book_id,getTitle,getAuthor,getRating,coverPhotoURL);\n }\n }", "title": "" }, { "docid": "1ea9df4cd46b1b2bd9a4843c0901ec20", "score": "0.5559954", "text": "@Override\r\n\tpublic void update(Object obj) {\n\t\ttbPersonaDao.update(obj);\r\n\t}", "title": "" }, { "docid": "707f75955252ffcec961027ef901be69", "score": "0.55468273", "text": "private void editCustomerDetails() {\n nameField.setEditable(true);\n addressField.setEditable(true);\n address2Field.setEditable(true);\n cityComboBox.setEditable(true);\n postalCodeField.setEditable(true);\n phoneField.setEditable(true);\n }", "title": "" }, { "docid": "2be196db8b09517544b3d9cfb8ae93d3", "score": "0.55454916", "text": "public void getUpdate(DepartmentModel department);", "title": "" }, { "docid": "af5f0688430e1d5189a86f28fa0dbe9b", "score": "0.5540499", "text": "protected void updatePropertyFields()\n {\n for (int i = 0; i < labelText.length; i++)\n {\n labels[i].setText(retrieveText(labelTags[i], labels[i]));\n }\n }", "title": "" }, { "docid": "cc1b2edddc963e13ad0f018826fbc003", "score": "0.5539071", "text": "@Override\n public void update(Client editElement, Integer code) {\n \n }", "title": "" }, { "docid": "540f381cc18a56ab733f39c3cc2bcc96", "score": "0.5530625", "text": "public void updateData();", "title": "" }, { "docid": "5536378ce2f0af57d6f8bc62bdf97cae", "score": "0.5528906", "text": "private void editable() {\n idTextField.setEditable(true);\n textFname.setEditable(true);\n textLname.setEditable(true);\n textEmail.setEditable(true);\n textDiploma.setEditable(true);\n textWorker.setEditable(true);\n textCourseID.setEditable(true);\n textCourseName.setEditable(true);\n textLocation.setEditable(true);\n textIndustry.setEditable(true);\n }", "title": "" }, { "docid": "a7f777ba23724af7b97fc1c519b20d2c", "score": "0.5517741", "text": "public void editInfo(View view) {\r\n Intent intent = new Intent(this, EditInfoActivity.class);\r\n intent.putExtra(\"userInfo\", users);\r\n intent.putExtra(\"clientKey\", client);\r\n intent.putExtra(\"passwords\", authentication);\r\n intent.putExtra(\"flights\", flights);\r\n startActivity(intent);\r\n }", "title": "" }, { "docid": "982739cb15716d568ce2f76485201908", "score": "0.5512053", "text": "@Test\n public void testUpdateViewWithValidInput() throws Exception {\n mController.updateView(new DocumentInfo());\n mHeaderTestDouble.assertCalled();\n mDetailsTestDouble.assertCalled();\n }", "title": "" }, { "docid": "1e03133c143b468aa6071b73ebb344e2", "score": "0.54998344", "text": "private void edit(HttpServletRequest request, HttpServletResponse response) {\n\t\ttry {\n\t\t\tString id = request.getParameter(\"id\");\n\t\t\tProductService ps = new ProductService();\n\t\t\tProduct pro=ps.getProById(id);\n\t\t\trequest.setAttribute(\"pro\", pro);\n\t\t\trequest.getRequestDispatcher(\"/update.jsp\").forward(request, response);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "0bcea6e7733806970385d37c8c05a1eb", "score": "0.54979455", "text": "public void update(FieldData fieldData) {\n if (fieldData.getPlanted().plantedNotEmpty()) {\r\n if (fieldData.isCompleted()) {\r\n setPageFieldDetailHarvest();\r\n } else {\r\n setPageFieldDetail();\r\n }\r\n } else {\r\n setPageFieldDetailPlant();\r\n }\r\n\r\n fieldNameGuiText.setText(fieldData.getNameID());\r\n\r\n if (page == PAGE_FIELD_DETAIL) {\r\n progressBar.update(fieldData.getPercentageCompleted());\r\n timeGuiText.setText(fieldData.getTimeLeft());\r\n cropGuiText.setText(\"Planted: \" + fieldData.getPlanted().getPlantName());\r\n\r\n } else if (page == PAGE_FIELD_DETAIL_PLANT) {\r\n plantListButtonPanel.update(); // todo pass playerLevel\r\n\r\n if(plantListButtonPanel.getSelectedButton() == PlantListButtonPanel.NO_BUTTON_SELECTED) {\r\n plantButton.setDisabled(true);\r\n plantSomethingGuiText.setText(\"Plant Something !\");\r\n } else {\r\n plantButton.setDisabled(false);\r\n int selectedButton = plantListButtonPanel.getSelectedButton();\r\n plantSomethingGuiText.setText(\r\n \"Plant \" + plantListButtonPanel.plantListItems[selectedButton].getPlantNameGuiText());\r\n }\r\n\r\n } else if (page == PAGE_FIELD_DETAIL_HARVEST) {\r\n cropGuiText.setText(\"Planted: \" + fieldData.getPlanted().getPlantName());\r\n }\r\n\r\n }", "title": "" }, { "docid": "95786633560773f6b9903b3cdf6834ed", "score": "0.5495319", "text": "@RequestMapping(\"/{id}\")\n public String showUpdateTodo(@PathVariable(name = \"id\")Long id, Model model){\n model.addAttribute(\"todoForm\",todoService.getTodo(id));\n return \"edit_todo\";\n }", "title": "" }, { "docid": "8c741b1bd6395acd3eb43c68e993d148", "score": "0.548248", "text": "public void editSelectedValue() {\n }", "title": "" }, { "docid": "29746bb15941504c6e8e9e871ba50d36", "score": "0.5479225", "text": "@FXML\n void OnClick_Edit(ActionEvent event) {\n resetErrorDisplay();\n TextField_Username.setVisible(true);\n TextField_Email.setVisible(true);\n PasswordField_Password.setVisible(true);\n\n TextField_Username.setText(App.currentUser.getUsername());\n TextField_Email.setText(App.currentUser.getEmail());\n }", "title": "" }, { "docid": "aef5fb7d76ab65fcaf2b726832485c6c", "score": "0.54700893", "text": "public void editReview(Review review);", "title": "" }, { "docid": "a6bc276697cc33b8e956b6f0f21c3b05", "score": "0.5465024", "text": "private void updateFields() {\n\t\t\t// Does math and does rounding to get a mostly-correct number.\n\t\t\tamount.setText(Double.toString(Math.round(1000 * amountPerGram\n\t\t\t\t\t* gramsOfFood) / 1000.0));\n\t\t\t// Refreshes to make sure the graphics are being displayed correctly\n\t\t\tamount.revalidate();\n\t\t\tamount.repaint();\n\t\t}", "title": "" }, { "docid": "7b6d2834bd579727f27319722b606748", "score": "0.54623306", "text": "public void updateValues(){\n CityEntry.setText(w.getCity());\n DescriptionEntry.setText(w.getDescription());\n WindSpeed.setText(w.getWindSpeed() + \" mph\");\n Humidity.setText(w.getHumidity() + \"%\");\n MaxTemp.setText(w.getTempMax() + \" °F\");\n CurrentTemp.setText(w.getTemp() + \" °F\");\n MinTemp.setText(w.getTempMin() + \" °F\");\n }", "title": "" }, { "docid": "550066bac6fb333f9b0364586eb50342", "score": "0.54541594", "text": "protected void doEdit() {\n this.pageStatus = ZcSettingConstants.PAGE_STATUS_EDIT;\r\n updateFieldEditorsEditable();\r\n setButtonStatus();\r\n\r\n }", "title": "" }, { "docid": "82703da49eb848cecbcad39756ac11a2", "score": "0.5445452", "text": "public UpdateView() {\n\t\tbuildMainLayout();\n\t\tsetCompositionRoot(mainLayout);\n\n\t\tstartDateField.setValue(new Date(System.currentTimeMillis()));\n\t\tendDateField.setValue(new Date(System.currentTimeMillis()));\n\t\t\n\t\tstartDateField.setImmediate(true);\n\t\tstartDateField.setResolution(DateField.RESOLUTION_DAY);\n\t\tstartDateField.setLocale(new Locale(\"fi\", \"FI\"));\n\t\t\n\t\tendDateField.setImmediate(true);\n\t\tendDateField.setResolution(DateField.RESOLUTION_DAY);\n\t\tendDateField.setLocale(new Locale(\"fi\", \"FI\"));\n\t\t\n\t\t\n\t\tupdatePlayerStatsButton.addListener(new ClickListener() {\n\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\n\t\t\t\tif(startDateField.getValue() instanceof Date && endDateField.getValue() instanceof Date){\n\t\t\t\t\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\n\t\t\t\t\tDataScraper scraper = new DataScraper();\n\t\t\t\t\tLocalDate startDate = new LocalDate(((Date)startDateField.getValue()).getTime());\n\t\t\t\t\tLocalDate endDate = new LocalDate(((Date)endDateField.getValue()).getTime());\n\t\t\t\t\t\n\t\t\t\t\ttry{\n\t\t\t\t\t\tscraper.updateStats(startDate, endDate);\n\t\t\t\t\t\tmain.showNotification(\"Update succesful!\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException e){\n\t\t\t\t\t\tmain.showNotification(e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\troundTotalUpdateButton.addListener(new ClickListener() {\n\t\t\t\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\n\t\t\t\tif(roundSelect.getValue() != null){\n\t\t\t\t\t//ugly boy strikes\n\t\t\t\t\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\n\t\t\t\t\tDataUpdater dataUpdater = new DataUpdater();\n\t\t\t\t\t\n\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\tRound selectedRound = ((BeanItem<Round>) (roundSelect.getContainerDataSource().getItem(roundSelect.getValue()))).getBean();\n\t\t\t\t\ttry{\n\t\t\t\t\t\tdataUpdater.updateAllRoundTotals(selectedRound);\n\t\t\t\t\t\tdataUpdater.updateRoundLeaguePoints(selectedRound);\n\t\t\t\t\t\t\n\t\t\t\t\t\tmain.showNotification(\"Update succesful!\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(JpaOptimisticLockingFailureException e){\n\t\t\t\t\t\tmain.showNotification(\"Something went wrong. Please try again. \" + e.getCause().getMessage());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\tupdateWinsButton.addListener(new ClickListener() {\n\t\t\t\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\tif(roundSelectWins.getValue() != null){\n\t\t\t\t\tfinal Window main = (Window)(getParent().getParent().getParent().getParent().getParent().getParent());\n\t\t\t\t\tDataUpdater dataUpdater = new DataUpdater();\n\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\tRound selectedRound = ((BeanItem<Round>) (roundSelectWins.getContainerDataSource().getItem(roundSelectWins.getValue()))).getBean();\n\t\t\t\t\ttry{\n\t\t\t\t\t\tdataUpdater.updateWins(selectedRound);\n\t\t\t\t\t\tmain.showNotification(\"Update succesful!\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(JpaOptimisticLockingFailureException e){\n\t\t\t\t\t\tmain.showNotification(\"Something went wrong. Please try again. \" + e.getCause().getMessage());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "17641c171fbc1daaef059fcc5aebb3f0", "score": "0.5442857", "text": "@Override\n protected void Edit() {\n\n }", "title": "" }, { "docid": "17641c171fbc1daaef059fcc5aebb3f0", "score": "0.5442857", "text": "@Override\n protected void Edit() {\n\n }", "title": "" }, { "docid": "fea534924edcaf3e15587eabe2e39e02", "score": "0.54363596", "text": "private void populateFields() {\n MonthlyUtilityBill bill = singleton.getMonthlyBill(position);\n EditText editName = (EditText) findViewById(R.id.editTextBillName);\n EditText editElec = (EditText) findViewById(R.id.editTextElectrcity);\n EditText editGas = (EditText) findViewById(R.id.editTextGas);\n EditText editUsers = (EditText) findViewById(R.id.editTextUsers);\n TextView textDateFrom = (TextView) findViewById(R.id.textViewDateFrom);\n TextView textDateTo = (TextView) findViewById(R.id.textViewDateTo);\n textDateFrom.setText(bill.getDateFrom().toString());\n textDateTo.setText(bill.getDateTo().toString());\n editName.setText(bill.getName());\n editElec.setText(Double.toString(bill.getNumElectricity()));\n editGas.setText(Double.toString(bill.getNumGas()));\n editUsers.setText(Integer.toString(bill.getNumUsers()));\n }", "title": "" }, { "docid": "f62d74ede92a508c52885b4b235bded9", "score": "0.5423608", "text": "public void updateFields() {\n String check = \"\" + clockHours;\n \n if (check.length() > 1) {\n Hours.setText(\"\" + clockHours);\n }\n else {\n Hours.setText(\"0\" + clockHours);\n }\n \n check = \"\" + clockMinutes;\n \n if (check.length() > 1) {\n Minutes.setText(\"\" + clockMinutes);\n }\n else {\n Minutes.setText(\"0\" + clockMinutes);\n }\n \n check = \"\" + clockSeconds;\n \n if (check.length() > 1) {\n Seconds.setText(\"\" + clockSeconds);\n }\n else {\n Seconds.setText(\"0\" + clockSeconds);\n }\n }", "title": "" }, { "docid": "83053e6578986bba735dec531406b9a3", "score": "0.5413203", "text": "@Override\n\tpublic void edit() {\n\n\t}", "title": "" }, { "docid": "448197c246153954c91ae251cdb9d0bd", "score": "0.53981686", "text": "private void update(HttpServletRequest request, HttpServletResponse response) {\n\t\ttry {\n\t\t\tInteger id = Integer.parseInt(request.getParameter(\"id\"));\n\t\t\tString name = request.getParameter(\"name\");\n\n\t\t\tProject pro = new Project();\n\t\t\tpro.setName(name);\n\t\t\tboolean flag = proDao.update(pro);\n\t\t\tif (flag) {\n\t\t\t\tresponse.sendRedirect(\"project?page=1\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "a7e951b263a4650f2dee6e3029923cc1", "score": "0.53962976", "text": "@GetMapping(value=\"/{id}\")\n\tpublic String editForm(@PathVariable(\"id\") int id, Model model){\n\t\tSystem.out.println(\"update form\");\n\t\tmodel.addAttribute(\"beer\", database.load(id));\n\t\treturn \"createOrUpdate\";\n\t}", "title": "" }, { "docid": "d54d0028cf3d2e1a9a3dae2c431308cc", "score": "0.5395583", "text": "public updation() {\n initComponents();\n }", "title": "" }, { "docid": "a538905faeaf3ccdb0a77d4b56843b3f", "score": "0.53831536", "text": "private void setField(int i, int j) {\n\t\ttry {\n\t\t\tmodel.setField(i, j);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tview.update();\n\t\tif (model.isMatchover()) {\n\t\t\tint newgame = JOptionPane.showConfirmDialog(null, \"New Game?\",\n\t\t\t\t\t\"That's that\", JOptionPane.YES_NO_OPTION);\n\t\t\tif (newgame == 0) {\n\t\t\t\tthis.startNewMatch();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "df78599c2c05e49b740febe90b4cb18e", "score": "0.5377257", "text": "void edit(Item item);", "title": "" }, { "docid": "11c98c4ee66a8259eca3f5d68012f789", "score": "0.53693604", "text": "public void editAction() {\n\t\t\n\t}", "title": "" }, { "docid": "d54eb9f6e19d7a1f97f94960f96f684d", "score": "0.5367149", "text": "@Override\n\tpublic void handleMsgUpdateToView() {\n\t\t\n\t}", "title": "" }, { "docid": "c37664473b7c60e688d83fd174ad2d7e", "score": "0.53511393", "text": "int updateByPrimaryKey(TsForm record);", "title": "" }, { "docid": "201abbb3cc11023a2c359195cfc88f83", "score": "0.535022", "text": "private void updateOpcionais() {\n modelOpc.setDataVector(facade.getComponentesOpcConfig(), ConfiguraFacil.colunasComponentesId);\n }", "title": "" }, { "docid": "5bbb55a399a9d1246500d62280098e2f", "score": "0.5345183", "text": "public void updateFields() {\n\t\tgameArea.setText(game.toString());\n\t}", "title": "" }, { "docid": "94435d58d1a8a87e3f02d9fbfa6fcbec", "score": "0.53445125", "text": "@Override\n\tpublic void update(TableServeur o) {\n\n\t}", "title": "" }, { "docid": "3f839263d1a9abcda4de5a05f0c82024", "score": "0.53436524", "text": "public void updatePropertyView() {\n propertyView.updateTree();\n }", "title": "" }, { "docid": "08ef0859dfd2efa86a3067da7020e8ce", "score": "0.5340996", "text": "@FXML\n\t\tpublic void editableallfields() {\n\t\t\ttxteventtitle.setEditable(false);\n\t\t\ttxteventdesc.setEditable(false);\n\t\t\ttxtadd.setEditable(false);\n\t\t\tstartdate.setEditable(false);\n\t\t\tenddate.setEditable(false);\n\t\t\tstarttime.setEditable(false);\n\t\t\tendtime.setEditable(false);\n\t\t\tchrRadio.setDisable(true);\n\t\t\tentRadio.setDisable(true);\n\t\t\tnetRadio.setDisable(true);\n\t\t\ttraRadio.setDisable(true);\n\t\t\tchildquty.setEditable(false);\n\t\t\tchildprice.setEditable(false);\n\t\t\tadultquty.setEditable(false);\n\t\t\tadultprice.setEditable(false);\n\t\t\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "49979f1995b0c1d7dd1b09cb2b7a372b", "score": "0.53349453", "text": "public boolean update(Formacion f) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "620b4235c348f431c885e1f44fa2545c", "score": "0.53326374", "text": "private void updateTaskView(){\n\n int selectedToDoListIndex = todoListView.getSelectionModel().getSelectedIndex();\n int selectedTaskIndex = incompleteTaskListView.getSelectionModel().getSelectedIndex();\n\n EventHandler<ActionEvent> toggleAction = observable -> {\n\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\n };\n\n lowPriorityToggle.setOnAction(toggleAction);\n mediumPriorityToggle.setOnAction(toggleAction);\n highPriorityToggle.setOnAction(toggleAction);\n\n taskNameTextField.setOnKeyPressed(event -> {\n\n saveNewTaskNameButton.disableProperty().setValue(false);\n });\n\n saveNewTaskNameButton.setOnAction(event -> {\n\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\n });\n\n clearDueDate.setOnAction(event -> {\n\n taskDueDatePicker.setValue(null);\n saveTaskInfo(incompleteTaskListView.getSelectionModel().getSelectedItem());\n });\n }", "title": "" } ]
46270bcb964ca53171c0d960800e2e10
Returns true if type is instantiation of type.
[ { "docid": "d3342c86493c0cdde6ff1003dad92cc6", "score": "0.8099991", "text": "public abstract boolean isInstantiatedType(CsmType type);", "title": "" } ]
[ { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7367337", "text": "boolean hasType();", "title": "" }, { "docid": "d9d1ddede06a3582a2b0eff947a6a687", "score": "0.70128226", "text": "public boolean hasType() {\n\t\t\n\t\treturn getType() != null;\n\t\t\n\t}", "title": "" }, { "docid": "f95d9683fc8f08ec47da2804243ab8d6", "score": "0.6987295", "text": "public boolean hasType() {\n\t\treturn this.type != null;\n\t}", "title": "" }, { "docid": "6f4dc573fa54cf6a82f0d7733c940fb2", "score": "0.6954183", "text": "public static boolean is(Class type) {\n return types.containsKey(type);\n }", "title": "" }, { "docid": "fa2bc6569ed3aeca200dbae7f815feb9", "score": "0.69102496", "text": "private boolean hasType() {\n return this.type != null;\n }", "title": "" }, { "docid": "5d47de3fb9b821419349f35a51bd37a7", "score": "0.68732446", "text": "public boolean hasType() {\n\t\treturn (this.type != null ? true : false);\n\t}", "title": "" }, { "docid": "f667c018b72c59b220ab85036c31fd95", "score": "0.6762875", "text": "public boolean isInstanceOf(final Type t) {\n\t\treturn t == type;\n\t}", "title": "" }, { "docid": "2ea0ef792b12ef5589fc2029ae2120b4", "score": "0.65605825", "text": "boolean hasTypes();", "title": "" }, { "docid": "9a657d4796a1bb87a7ef9929749dfbb0", "score": "0.6545781", "text": "public boolean isClass();", "title": "" }, { "docid": "f299bf1a6a816160aca1916ca06b3a94", "score": "0.6496182", "text": "public static synchronized boolean isInstanciated()\n {\n return (instance != null);\n }", "title": "" }, { "docid": "a4d7881e6baa1ab84f1e4ef9e129c633", "score": "0.64826345", "text": "public abstract boolean isViableInstantiation(CsmInstantiation instantiation, boolean acceptTemplateParams);", "title": "" }, { "docid": "33d40458f467a6192c5f8367c8935f54", "score": "0.6448792", "text": "public boolean isInstanceCreationStatementOfSubType(Unit aUnit,\n\t\t\tSootClass aType) {\n\t\tboolean result = false;\n\t\tif (aUnit instanceof JAssignStmt) {\n\t\t\tString rightSide = aUnit.getUseBoxes().get(0).getValue().toString();\n\t\t\tif (rightSide.matches(\"new .*\")) {\n\t\t\t\tString className = rightSide.substring(4);\n\t\t\t\tSootClass createdClass = classMap.get(className);\n\t\t\t\tif (createdClass != null) {\n\t\t\t\t\tresult = isClassOfSubType(createdClass, aType);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "9d9d9d5a25b3db7fd8bd6f3b32e92391", "score": "0.64432096", "text": "public boolean hasType(Class<?> type);", "title": "" }, { "docid": "c4564b5676732092c36c0b25032396d8", "score": "0.64418864", "text": "boolean hasInstanceWithType(String className) {\n if (eventObject == null)\n return false;\n String varType = eventObject.getClass().getName();\n if (varType.equals(className))\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "ce6d88ecfb4cae59955558420c0ad413", "score": "0.6330791", "text": "boolean isClass();", "title": "" }, { "docid": "63822a58d950c9068e3038a4f3009d60", "score": "0.62952286", "text": "public boolean canConvert(Class type) {\n return (this.type == null || this.type == type) && beanProvider.canInstantiate(type);\n }", "title": "" }, { "docid": "229c302f61471575c9c1128a93d19547", "score": "0.6254548", "text": "boolean isMemberType();", "title": "" }, { "docid": "110429b798401164676810eb201958b4", "score": "0.62404615", "text": "public boolean hasType() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "e7c8c5ba70944cf587892b4ada37fd23", "score": "0.6214", "text": "boolean isDefaultInstantiable();", "title": "" }, { "docid": "44004f6c0f377143f93e5e2953d9469b", "score": "0.6213466", "text": "boolean isConstructor();", "title": "" }, { "docid": "afef3c729a868599b025d2947806fbaa", "score": "0.62131196", "text": "public boolean hasType(String name) {\n return null != findType(name);\n }", "title": "" }, { "docid": "056abc8649eea906f4f5b5412e5f5485", "score": "0.61980194", "text": "public boolean checkType()\n\t{\n\t\treturn true;\n\t}", "title": "" }, { "docid": "5e9075ccc90bbbfa1e9c3d4e2c2759c5", "score": "0.6186073", "text": "public boolean hasFactory(String type)\n {\n \tboolean retValue = m_registry.containsKey(type);\n \t return retValue;\n }", "title": "" }, { "docid": "5b343559ab43e4ebc08fdc20a76b1c69", "score": "0.6111649", "text": "private boolean isConsistentTypeByOccurence(TypeElement type, Occurrence oc)\n {\n if(type != null && oc != null && this.evalVisitor != null)\n return this.evalVisitor.visitTripletOccurence(oc.type, type, classInfo);\n else\n return false;\n }", "title": "" }, { "docid": "c14539066478e6f65225564a4bc28c77", "score": "0.61005425", "text": "boolean isReferenceType();", "title": "" }, { "docid": "0e2467c44464cb84aa878c69f74a4499", "score": "0.59983987", "text": "public boolean getType(){\r\n return type;\r\n }", "title": "" }, { "docid": "597ea25224292a702ceb4e8cd7a8cccc", "score": "0.5983973", "text": "boolean hasCodeTypeName();", "title": "" }, { "docid": "597ea25224292a702ceb4e8cd7a8cccc", "score": "0.5983973", "text": "boolean hasCodeTypeName();", "title": "" }, { "docid": "597ea25224292a702ceb4e8cd7a8cccc", "score": "0.5983973", "text": "boolean hasCodeTypeName();", "title": "" }, { "docid": "40f008adbe61b175a51e9aab53b4efa6", "score": "0.59495175", "text": "public boolean isIsTypeOnly() {\n return isTypeOnly;\n }", "title": "" }, { "docid": "23d283b51471975e07bde86b6dd64fd7", "score": "0.59491843", "text": "public static boolean isConfigurationObject()\n\t{\n\t\tif ( \"Instantiation\".equals(\"Configuration\") )\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "230b8b9bc02b4501dc2495a0afdc1c00", "score": "0.59279424", "text": "@Override\n\tpublic boolean instantiated() {\n\t\treturn f.instantiated();\n\t}", "title": "" }, { "docid": "5b1ca26e5eb68a467f661abe70992e58", "score": "0.5924241", "text": "public boolean isTarifftypeidInitialized() {\n return tarifftypeid_is_initialized; \n }", "title": "" }, { "docid": "cbff4f02e586d92fe2eb2a0c12c954f6", "score": "0.59231365", "text": "public static boolean isInstantiated() {\n return !(oaclient == null);\n }", "title": "" }, { "docid": "796ea30d7c78598ed40447331ab3b83b", "score": "0.59086466", "text": "public boolean isTypeAccessible(Type<?> type) {\r\n \r\n try {\r\n Class<?> loadedType = Thread.currentThread().getContextClassLoader().loadClass(type.getName());\r\n if (!type.getRawType().equals(loadedType)) {\r\n return false;\r\n }\r\n compilerStrategy.assureTypeIsAccessible(type.getRawType());\r\n return true;\r\n } catch (ClassNotFoundException e) {\r\n return false;\r\n } catch (SourceCodeGenerationException e) {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "b57d617d53d8c6c19cf5fead4e18150a", "score": "0.59076077", "text": "static boolean isTypeAClassOfPackage(String typeName) {\r\n String type = returnClassName(typeName);\r\n boolean result = bcClass.stream().anyMatch((c) -> (c.is(\"name\", type)));\r\n return result;\r\n }", "title": "" }, { "docid": "7281337f3a1bdb374ef937c99ed206e9", "score": "0.5904404", "text": "private static boolean checkClass(Class<?> clazz) {\n\t\ttry {\n\t\t\tcreateInstance(clazz);\n\t\t\treturn true;\n\t\t} catch (InstantiationException e) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "2bcebfdb589bb8089fdfd212680b1cac", "score": "0.58979535", "text": "public boolean e(Type type) {\n return type instanceof TypeVariable ? c((TypeVariable) type) : false;\n }", "title": "" }, { "docid": "84492f4806af5a9c91a34b65fc6b2b39", "score": "0.5889293", "text": "public boolean atomicType() {\n\n\t\treturn typeDisjuncts.size() == 1;\n\t}", "title": "" }, { "docid": "29c16ad2c501c41ccdb2bbdd96066c00", "score": "0.5884205", "text": "boolean isAnnotationType();", "title": "" }, { "docid": "21c951231a85723f4f8a61dcc6663d90", "score": "0.5871827", "text": "boolean isInstance(Object value);", "title": "" }, { "docid": "21c951231a85723f4f8a61dcc6663d90", "score": "0.5871827", "text": "boolean isInstance(Object value);", "title": "" }, { "docid": "7ef403853484c6bf932ae85de01157cf", "score": "0.58628577", "text": "private boolean determineClass(Class classObject, PasteType type) {\n return type.getClass().equals(classObject);\n }", "title": "" }, { "docid": "7c95aba8c21d357091bbea71887c205d", "score": "0.58581954", "text": "@Signature\n public boolean canInstantiate() {\n return getWrappedObject().canInstantiate();\n }", "title": "" }, { "docid": "02ce92c23dba9561b880ccc0b72e02f9", "score": "0.5856351", "text": "public boolean hasTypes() {\n return fieldSetFlags()[1];\n }", "title": "" }, { "docid": "e69baa63bf106fb855046a90acf064a3", "score": "0.58140874", "text": "public static boolean isSystem(Type type) {\n Class c = null;\n try {\n c = Class.forName(type.className().replace('/', '.'));\n\n } catch(ClassNotFoundException ex) {\n System.err.println(\"** Could not find class \" +\n\t\t\t type.className());\n ex.printStackTrace(System.err);\n System.exit(1);\n }\n\n // Have to use == because class loader might be null\n return(c.getClassLoader() == systemCL);\n }", "title": "" }, { "docid": "df0ae2b4929e3a15815201e7c5b02276", "score": "0.5808663", "text": "public boolean isSetObjectType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(OBJECTTYPE$4) != 0;\n }\n }", "title": "" }, { "docid": "c0a139c98b6e73caf07b3594d1b9b7ab", "score": "0.5794565", "text": "public abstract CsmInstantiation getInstantiatedTypeInstantiation(CsmType type);", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.5792914", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "a4da91dc13e152123aa6a9934cd7785a", "score": "0.5776348", "text": "public abstract boolean isInstant();", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11bc60b02d715f6f9d8d437d21ae45d8", "score": "0.5761645", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "a85835dad338df309967f6859d2cd72e", "score": "0.57604766", "text": "private boolean matchClass(G2Type type, Cons pattern)\n {\n return type instanceof ClassType;\n }", "title": "" }, { "docid": "3b54cbd62244b9157d66e79cc8c702e7", "score": "0.5754819", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "1c24e7366ce3e87350811c69591926f6", "score": "0.5752677", "text": "boolean hasSuperClass();", "title": "" }, { "docid": "e4cc753b4b3c677dc2224805fe7ddb3c", "score": "0.5752196", "text": "public abstract boolean isCreatable(Class<? extends ValueType<?>> clazz);", "title": "" }, { "docid": "0bd86e2b08af7f9745856c6b0f828366", "score": "0.5751776", "text": "public boolean hasService(Class type);", "title": "" }, { "docid": "e23fe7510ff9bc49570f8e0fbf6081a8", "score": "0.575031", "text": "boolean isAnnotationTypeElement();", "title": "" }, { "docid": "5294eb49a0de39f6007831a6cd971f88", "score": "0.5738479", "text": "private boolean isEligible(Class<?> type) {\n\t\treturn !(type.isAnonymousClass() || isGroovyClosure(type) || hasNoConstructors(type));\n\t}", "title": "" }, { "docid": "c725f13444f6ffda0e8fa29ec1b63571", "score": "0.5721717", "text": "boolean isSetObjectType();", "title": "" }, { "docid": "950706e0f3f23848a21141be436780d2", "score": "0.57093096", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "c6586fd95a454452fefa979272feb76f", "score": "0.57014364", "text": "boolean hasNodeType();", "title": "" }, { "docid": "f38a18d95e86978a30baacd50c01843a", "score": "0.570125", "text": "@Override\n\tpublic Boolean existbytype(String type) {\n\t\tList<Abonnement> AB = AbonnementRepository.findByType(type);\n\n\t\tif (AB.size() == 0)\n\t\t\treturn false;\n\n\t\treturn true;\n\t}", "title": "" } ]
936d5da695c10637c7a6589ce14788c2
Adds or sets userdefined properties of this Message.
[ { "docid": "83d691089d9460b4aa35c552bfc92dba", "score": "0.53163755", "text": "public void setProperty(String name, String value) {\n // Codes_SRS_MESSAGE_11_028: [If name is null, the function shall throw an IllegalArgumentException.]\n if (name == null) {\n throw new IllegalArgumentException(\"Property name cannot be 'null'.\");\n }\n\n // Codes_SRS_MESSAGE_11_029: [If value is null, the function shall throw an IllegalArgumentException.]\n if (value == null) {\n throw new IllegalArgumentException(\"Property value cannot be 'null'.\");\n }\n\n // Codes_SRS_MESSAGE_11_026: [The function shall set the message property to the given value.]\n MessageProperty messageProperty = null;\n\n for (MessageProperty currentMessageProperty: this.properties) {\n if (currentMessageProperty.hasSameName(name)) {\n messageProperty = currentMessageProperty;\n break;\n }\n }\n\n if (messageProperty != null) {\n this.properties.remove(messageProperty);\n }\n\n this.properties.add(new MessageProperty(name, value));\n }", "title": "" } ]
[ { "docid": "280f0ea98d19cee6f6f6fa390b10fbcd", "score": "0.6383134", "text": "public void setUserProperties( boolean userProps )\n {\n dictionary.setBoolean( \"UserProperties\", userProps );\n }", "title": "" }, { "docid": "2d575adb25deb8b88c2474eef223683c", "score": "0.5876209", "text": "public com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties addNewProperties() {\r\n synchronized (monitor()) {\r\n check_orphaned();\r\n com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties target = null;\r\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().add_element_user(\r\n PROPERTIES$0);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "7227d7e2d0fd861fb7f757c6fd37f708", "score": "0.58667153", "text": "@Override\n public void addProperty(String arg0, String arg1) {\n }", "title": "" }, { "docid": "e9b24d738395c1451fab0a5ed8b47cc8", "score": "0.582414", "text": "protected void addToSystemProperties() {\r\n if (systemProperties == null) {\r\n systemProperties = new Properties();\r\n }\r\n // Add any properties configured by the user as system properties\r\n Iterator<String> iter = systemProperties.stringPropertyNames().iterator();\r\n while (iter.hasNext()) {\r\n String key = iter.next();\r\n String value = systemProperties.getProperty(key);\r\n System.setProperty(key, value);\r\n }\r\n }", "title": "" }, { "docid": "5709a919d96c9e0135a1dde8a0d2029b", "score": "0.57534623", "text": "@Override\n protected void registerProperties() {\n super.registerProperties();\n\n this.registerProperty(ItemSchema.Subject);\n this.registerProperty(ItemSchema.Body);\n this.registerProperty(EmailMessageSchema.ToRecipients);\n this.registerProperty(EmailMessageSchema.CcRecipients);\n this.registerProperty(EmailMessageSchema.BccRecipients);\n this.registerProperty(EmailMessageSchema.IsReadReceiptRequested);\n this.registerProperty(EmailMessageSchema.IsDeliveryReceiptRequested);\n this.registerProperty(ResponseObjectSchema.ReferenceItemId);\n this.registerProperty(ResponseObjectSchema.BodyPrefix);\n }", "title": "" }, { "docid": "46891032bd2ceb1939988397bc51a105", "score": "0.5621031", "text": "public void addProperties(Properties p){\n\t\tproperties.putAll(p);\n\t}", "title": "" }, { "docid": "74f535ea352ff8da640484205ff0d62a", "score": "0.5519946", "text": "void addProperty(Property property);", "title": "" }, { "docid": "6e96c40971efa9bcbcfb942094815aaf", "score": "0.5493487", "text": "public void addProperty(String name, String value) \n {\n if(properties == null)\n properties = new Hashtable();\n properties.put(name, value);\n }", "title": "" }, { "docid": "517c6758110e1f8cacae80607f5f66ac", "score": "0.5458826", "text": "protected void addProperties(Map<String, String> props) {\n properties.putAll(props);\n }", "title": "" }, { "docid": "56a6626f46f096a13207c61e191719b8", "score": "0.54329", "text": "void setUserProperties(DtoProperties properties);", "title": "" }, { "docid": "c543841b6c518c3c570662a7fa9e7708", "score": "0.5432419", "text": "public void setProperties(Properties in);", "title": "" }, { "docid": "3b1e61d53c899f2fe36544e25851cbae", "score": "0.54234385", "text": "protected void addUserDefinedPropertyElements(int indentLvl, FieldProperties instProperties, String instName) {\n\t\tif (!instProperties.hasUserDefinedProperties()) return; // done if no external properties\n\t\tPropertyList pList = instProperties.getUserDefinedProperties();\n\t\tfor (String name : pList.getProperties().keySet()) {\n\t\t\tString value = (pList.getProperty(name) == null)? \"\" : pList.getProperty(name);\n\t\t\toutputList.add(new OutputLine(indentLvl, \"this.\" + instName + \".add_def_property(\\\"\" + name + \"\\\", \\\"\" + cleanSysVerString(value) + \"\\\");\")); \n\t\t}\n\t}", "title": "" }, { "docid": "7d530e9d9e3b5ad103a21c644bccb4d9", "score": "0.54040277", "text": "protected void addUserDefinedPropertyElements(String parentID, InstanceProperties instProperties, String instName) {\n\t\tif (!instProperties.hasUserDefinedProperties()) return; // done if no external properties\n\t\tPropertyList pList = instProperties.getUserDefinedProperties();\n\t\tfor (String name : pList.getProperties().keySet()) {\n\t\t\tString value = (pList.getProperty(name) == null)? \"\" : pList.getProperty(name);\n\t\t\tsubcompBuildList.addStatement(parentID, \" this.\" + instName + \".add_def_property(\\\"\" + name + \"\\\", \\\"\" + cleanSysVerString(value) + \"\\\");\"); \n\t\t}\n\t}", "title": "" }, { "docid": "797427b7466ebb976a8415c3c3e3e86c", "score": "0.54007185", "text": "public net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props addNewProps()\n {\n synchronized (monitor())\n {\n check_orphaned();\n net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props target = null;\n target = (net.mytestbed.schema.omf.x60.protocol.PropsDocument.Props)get_store().add_element_user(PROPS$6);\n return target;\n }\n }", "title": "" }, { "docid": "1aca7137feb7dfdfa46da36ee38d4481", "score": "0.53750294", "text": "private void addImportantProperties() {\n FxBean beanInfo = getBeanInfo();\n if (beanInfo == null) {\n return;\n }\n HashSet<String> names = new HashSet<String>();\n boolean next = false;\n do {\n addPropertiesFrom(beanInfo.getDeclareadInfo(), names, next);\n if (beanInfo.getBuilder() != null) {\n addPropertiesFrom(beanInfo.getBuilder().getDeclareadInfo(), names, next);\n }\n beanInfo = beanInfo.getSuperclassInfo();\n next = true;\n } while (beanInfo != null && resultItems.size() < IMPORTANT_PROPERTIES_TRESHOLD);\n }", "title": "" }, { "docid": "bee22f5a0175c11f51cac88afe568d97", "score": "0.5352235", "text": "public SimpleMessageProperty(){\n\t\tsuper();\n\t}", "title": "" }, { "docid": "66980fd1db8f5dcb8099c24f58465321", "score": "0.53494865", "text": "protected void addPropNames() { addPropNames(\"Source\"); super.addPropNames(); }", "title": "" }, { "docid": "cc7aa9e34907f33f2c9839b63de9caa9", "score": "0.5349306", "text": "@Override\r\n\tpublic void setProperties(Properties properties) {\n\t\tthis.props=properties;\r\n\t}", "title": "" }, { "docid": "1f1a4e2aad28941796bad56a78b2c3d7", "score": "0.53407663", "text": "public void addProperty(String key, String value);", "title": "" }, { "docid": "9240cb693f4fb56da98bd21c2e40cdf1", "score": "0.52946496", "text": "@Override\r\n\tpublic void setProperties(Properties properties)\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "d3544019e0f3b766d5bdcc7dd9142d7c", "score": "0.5291199", "text": "@Override\n public void setProperties(Properties properties) {\n\n }", "title": "" }, { "docid": "614768a12fc36e99d70234ac823cc8c7", "score": "0.5286681", "text": "@Override\r\n\tpublic void setProperties(Properties properties) {\n\r\n\t}", "title": "" }, { "docid": "56ee52a53c14fa62273a8eeb1c66aa9e", "score": "0.52575237", "text": "public void setProperties(PropertiesEx properties);", "title": "" }, { "docid": "5678e047827af48977882ec4788250cd", "score": "0.5254953", "text": "public void setProperties(String props) {\n this.properties = props;\n }", "title": "" }, { "docid": "3bfdaf34a5c49819fae7d70e5ed7d1a6", "score": "0.52237797", "text": "public void setProperties(Properties properties);", "title": "" }, { "docid": "2358716fc88f7c84da28d8ea23e11cbb", "score": "0.5209448", "text": "@Override\r\n\tpublic void setProperties(Properties p) {\n\t\tproperties = p;\r\n\t}", "title": "" }, { "docid": "eb126ca19b976730ef3a26fa769176d3", "score": "0.52039886", "text": "void addProperty(String aName, String aValue)\n {\n mProperties.put(aName, aValue);\n }", "title": "" }, { "docid": "06b4630b87856f86647ac928398aa7e0", "score": "0.5200979", "text": "private void addPropertiesWithID(Connection dbConnection, String userID, Map<String, String> properties,\n String profileName) throws UserStoreException {\n\n String type;\n try {\n type = DatabaseCreator.getDatabaseType(dbConnection);\n } catch (Exception e) {\n String msg = \"Error occurred while adding user properties for user : \" + userID;\n if (log.isDebugEnabled()) {\n log.debug(msg, e);\n }\n throw new UserStoreException(msg, e);\n }\n\n String sqlStmt = realmConfig.getUserStoreProperty(JDBCRealmConstants.ADD_USER_PROPERTY_WITH_ID + \"-\" + type);\n if (sqlStmt == null) {\n sqlStmt = realmConfig.getUserStoreProperty(JDBCRealmConstants.ADD_USER_PROPERTY_WITH_ID);\n }\n if (sqlStmt == null) {\n throw new UserStoreException(\"The sql statement for add user property sql is null\");\n }\n\n PreparedStatement prepStmt = null;\n boolean localConnection = false;\n\n try {\n if (dbConnection == null) {\n localConnection = true;\n dbConnection = getDBConnection();\n }\n prepStmt = dbConnection.prepareStatement(sqlStmt);\n\n Map<String, String> userAttributes = new HashMap<>();\n for (Map.Entry<String, String> entry : properties.entrySet()) {\n String attributeName = entry.getKey();\n String attributeValue = entry.getValue();\n userAttributes.put(attributeName, attributeValue);\n }\n\n for (Map.Entry<String, String> entry : userAttributes.entrySet()) {\n String propertyName = entry.getKey();\n String propertyValue = entry.getValue();\n if (sqlStmt.contains(UserCoreConstants.UM_TENANT_COLUMN)) {\n if (UserCoreConstants.OPENEDGE_TYPE.equals(type)) {\n batchUpdateStringValuesToDatabase(prepStmt, propertyName, propertyValue, profileName, tenantId,\n userID, tenantId);\n } else {\n batchUpdateStringValuesToDatabase(prepStmt, userID, tenantId, propertyName, propertyValue,\n profileName, tenantId);\n }\n } else {\n batchUpdateStringValuesToDatabase(prepStmt, userID, propertyName, propertyValue, profileName);\n }\n }\n\n int[] counts = prepStmt.executeBatch();\n if (log.isDebugEnabled()) {\n int totalUpdated = 0;\n if (counts != null) {\n for (int i : counts) {\n totalUpdated += i;\n }\n }\n\n if (totalUpdated == 0) {\n log.debug(\"No rows were updated\");\n }\n log.debug(\"Executed query is \" + sqlStmt + \" and number of updated rows :: \" + totalUpdated);\n }\n\n if (localConnection) {\n dbConnection.commit();\n }\n } catch (SQLException e) {\n String msg = \"Error occurred while updating string values to database.\";\n if (log.isDebugEnabled()) {\n log.debug(msg, e);\n }\n throw new UserStoreException(msg, e);\n } finally {\n if (localConnection) {\n DatabaseUtil.closeAllConnections(dbConnection);\n }\n DatabaseUtil.closeAllConnections(null, prepStmt);\n }\n }", "title": "" }, { "docid": "a3afb282b85f5805aced51f34b5590b3", "score": "0.5170954", "text": "public Htmlmessages.CMsgJSValue.JSObjectProperty.Builder addObjectPropertiesBuilder() {\n return getObjectPropertiesFieldBuilder().addBuilder(\n Htmlmessages.CMsgJSValue.JSObjectProperty.getDefaultInstance());\n }", "title": "" }, { "docid": "d3b8db615e33671ee47d2bacff068427", "score": "0.51637405", "text": "@Override\n\tpublic void receiveProperties(Properties prop) {\n\t\t\n\t}", "title": "" }, { "docid": "0a6aeb4c5611fdc75d45ee9ce1652ca6", "score": "0.5156642", "text": "public void setProperties(String properties) {\n if (properties != null)\n this.properties = properties + \" \";\n else\n this.properties = \"\";\n }", "title": "" }, { "docid": "11f0fcae87b2aeaa278371de4b8115f8", "score": "0.5149849", "text": "@JsonAnySetter\n public void setAdditionalProperty(String name, Object value) {\n this.additionalProperties.put(name, value);\n }", "title": "" }, { "docid": "11f0fcae87b2aeaa278371de4b8115f8", "score": "0.5149849", "text": "@JsonAnySetter\n public void setAdditionalProperty(String name, Object value) {\n this.additionalProperties.put(name, value);\n }", "title": "" }, { "docid": "fda559763546fe1a714af85cd174f9fe", "score": "0.51327366", "text": "public void customizeProperties(Properties properties)\n{\n\t// by default, no customization takes place\n}", "title": "" }, { "docid": "be5dc1ce05468edb1ee64d3fe1a9731c", "score": "0.5131437", "text": "private void addPropertyDefinitions(Enumeration properties, TypeTopic typeTopic, Vector hiddenProperties,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSession session, CorporateDirectives directives) {\n\t\t// ### Note: if no property layout is set, PROPERTY_LAYOUT_SUPER_FIRST is used as default\n\t\t// ### int index = propertyLayout.equals(PROPERTY_LAYOUT_SUB_FIRST) ? propDefinition.size() : 0;\n\t\t// add property definition for every enumerated property\n\t\twhile (properties.hasMoreElements()) {\n\t\t\tBaseTopic bt = (BaseTopic) properties.nextElement();\n\t\t\tLiveTopic lt = as.getLiveTopic(bt, session, directives);\n\t\t\t// ### error check\n\t\t\tif (!checkProperty(lt, typeTopic)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t//\n\t\t\tPropertyTopic property = (PropertyTopic) lt;\n\t\t\t//\n\t\t\tproperty.initPropertyDefinition(session, directives);\n\t\t\t//\n\t\t\tString fieldName = property.getName();\n\t\t\tString visualization = hiddenProperties != null && hiddenProperties.contains(fieldName) ?\n\t\t\t\tVISUAL_HIDDEN : property.getVisualization();\n\t\t\t// create property definition\n\t\t\tPropertyDefinition propDef = new PropertyDefinition(fieldName, property.getDataType(),\n\t\t\t\tvisualization, property.getDefaultValue(), property.getEditIconfile(), property.getOptions());\n\t\t\tpropDef.setOrdinalNr(bt.ordNr);\n\t\t\t// --- trigger buttonCommand() hook ---\n\t\t\taddButton(propDef, typeTopic, session);\n\t\t\t// --- trigger propertyLabel() hook ---\n\t\t\tsetPropertyLabel(propDef, typeTopic, session);\n\t\t\t// --- add property definition ---\n\t\t\taddToTypeDefinition(propDef, typeDefinition);\n\t\t\taddToTypeDefinition(propDef, propDefinition, propDefinitionTable, propDef.getPropertyName());\n\t\t\t//\n\t\t\t// build \"ownPropNames\"\n\t\t\tif (typeTopic == this) {\n\t\t\t\t// ### System.out.println(\">>> TypeTopic.makeTypeDefinition: individual prop for \" + getName() + \": \" + propDef.getPropertyName());\n\t\t\t\townPropNames.addElement(propDef.getPropertyName());\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b8b2b8c1dc02137a4ec338efa519bf70", "score": "0.5107778", "text": "public void putClientProperty( String property, String value );", "title": "" }, { "docid": "4b4d7af9ae8ca83f3449ab787851f492", "score": "0.5105494", "text": "@Override\r\n\t\tpublic void propertyAdded(PropertyManager pm, Property p) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "68f539174620ccc2dc0ca964d9c662ce", "score": "0.50949174", "text": "@Override\n public GeneralException setPropertyMessageList(Collection<?> messageList) {\n this.messages = PropertyMessageExUtil.makePropertyMessageList(messageList); // SCIPIO: make property messages\n return this;\n }", "title": "" }, { "docid": "c39f5bbc92931f1f5a1c6d5ba26207aa", "score": "0.50821054", "text": "T setCustomProperties(Map<String, String> properties);", "title": "" }, { "docid": "6432452b5e70e2105a29997d5e74d608", "score": "0.50675505", "text": "@JsonAnySetter\n public SyntheticsBasicAuthWeb putAdditionalProperty(String key, Object value) {\n if (this.additionalProperties == null) {\n this.additionalProperties = new HashMap<String, Object>();\n }\n this.additionalProperties.put(key, value);\n return this;\n }", "title": "" }, { "docid": "9221ff88b3cefa9fd7db13d6c251830f", "score": "0.5066879", "text": "public com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType addNewProperty()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType target = null;\n target = (com.sun.java.xml.ns.jaxRpc.ri.config.PropertyType)get_store().add_element_user(PROPERTY$0);\n return target;\n }\n }", "title": "" }, { "docid": "361abe054dd31569004404f7859973f8", "score": "0.5061107", "text": "public synchronized void addProps(String key, InputStream in)\n throws IOException {\n Properties newProps = new SystemProperties();\n newProps.load(in);\n in.close();\n\n if (this.additionalProps == null) {\n this.additionalProps = new HashMap();\n }\n this.additionalProps.put(key, newProps);\n\n // fully reload properties and mark as updated\n reload();\n this.lastadd = System.currentTimeMillis();\n }", "title": "" }, { "docid": "8f6649654d8b0aac596d29333a98807f", "score": "0.5057465", "text": "@Override\n\tpublic void setProperties(Properties properties) \n\t{\n\t\tthis.properties = properties;\n\t}", "title": "" }, { "docid": "af476ab626eedda1a0e3ea4f437c2a5d", "score": "0.504391", "text": "@Override\n\tpublic void setProperty(String key, String value) {\n\n\t}", "title": "" }, { "docid": "5dfaaa05a7e41dc9cdbfe97a15f918c0", "score": "0.50438815", "text": "private void setProperties() {\r\n setEnabled(graph.getUndoManager().canUndo());\r\n }", "title": "" }, { "docid": "9de65179a032721824ceee38f4d7a3cd", "score": "0.50394106", "text": "public void setProperties(com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties properties) {\r\n synchronized (monitor()) {\r\n check_orphaned();\r\n com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties target = null;\r\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().find_element_user(\r\n PROPERTIES$0,\r\n 0);\r\n if (target == null) {\r\n target = (com.realtybaron.jillow.comps.CompsDocument.Comps.Response.Properties) get_store().add_element_user(\r\n PROPERTIES$0);\r\n }\r\n target.set(properties);\r\n }\r\n }", "title": "" }, { "docid": "85da03ca654d95d1293b8288428f6ae3", "score": "0.50184655", "text": "void setProperties(Properties properties)\n\t{\n\t\tthis.properties = properties;\n\t}", "title": "" }, { "docid": "d313f57ed53d6146e597132582b28778", "score": "0.50163716", "text": "void addMetaBeanProperty(MetaBeanProperty metaBeanProperty);", "title": "" }, { "docid": "f657f5afdee7f63955d6c9e212aa3336", "score": "0.5012229", "text": "public Configuration addProperties(Properties extraProperties) {\n \t\tthis.properties.putAll( extraProperties );\n \t\treturn this;\n \t}", "title": "" }, { "docid": "f657f5afdee7f63955d6c9e212aa3336", "score": "0.5012229", "text": "public Configuration addProperties(Properties extraProperties) {\n \t\tthis.properties.putAll( extraProperties );\n \t\treturn this;\n \t}", "title": "" }, { "docid": "2bdf4c7badf921abf4ebba28bf45629e", "score": "0.4996949", "text": "public BuildInfoMavenBuilder addProperty(Object key, Object value) {\n super.addProperty(key, value);\n return this;\n }", "title": "" }, { "docid": "9fe3f6ccb967a8bcee9106fbbd56b684", "score": "0.4989913", "text": "@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f66132f7edef6d2284bfe04b78193433", "score": "0.49816406", "text": "protected void setAbstractCrosswordProperties(final Map<String, Object> properties) {\r\n\t}", "title": "" }, { "docid": "97a7477a2a4e301e46cc030e0dcff3e4", "score": "0.49765176", "text": "@Override\n public void setProperty(String arg0, String arg1) {\n }", "title": "" }, { "docid": "bc6f316e284b0a3e786f038f1f08bb11", "score": "0.49754363", "text": "public void initProperties() {\n\t\tsuper.initProperties();\n\t}", "title": "" }, { "docid": "76de856a87bc3e49e0a4d3a19919ca50", "score": "0.4972848", "text": "public void registerSuperProperties(Map<String, Object> properties) {\n if (Config.IS_LOG_ENABLE) {\n log.info(\"RegisterSuperProperties(countly-sdk-java): \\n properties=\" + properties);\n }\n for (Map.Entry<String, Object> item : properties.entrySet()) {\n superProperties.put(item.getKey(), item.getValue());\n }\n }", "title": "" }, { "docid": "32cad0fe53a6415c3ef94dff9eb16393", "score": "0.49710962", "text": "public boolean setProperties(Properties props) {\n String str;\n\n str=props.getProperty(\"print_msg\");\n if(str != null) {\n print_msg=new Boolean(str).booleanValue();\n props.remove(\"print_msg\");\n }\n\n str=props.getProperty(\"min_size\");\n if(str != null) {\n min_size=Integer.parseInt(str);\n props.remove(\"min_size\");\n }\n\n if(props.size() > 0) {\n System.err.println(\"SIZE.setProperties(): the following properties are not recognized:\");\n props.list(System.out);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "b68b29a6736f3a6b0bc6a36b7b6a897b", "score": "0.496809", "text": "public void addProp(int playerID,int propID){\n // gives a property to a player\n\n \n\n int prevOwner = findOwner(propID);\n if(prevOwner == playerID){\n // do nothing, person already owns it\n return;\n } else if (prevOwner != -1){\n // take this property away from whoever used to own it\n this.removeProp(propID);\n }\n // pass on the request to the player with the corresponding jsonData\n _players[playerID].addProp(propID,_data[propID]);\n }", "title": "" }, { "docid": "b55e0bf9dcc5b0a966f55dd8c8c1fec9", "score": "0.4965737", "text": "public void addProperty(PropertyMeta property)\n {\n _properties.put(property.getName(), property);\n }", "title": "" }, { "docid": "0b275d42839d31e6d41cfed54c1fdd92", "score": "0.4964668", "text": "public void setProperties(Properties properties) {\n this.properties = properties;\n }", "title": "" }, { "docid": "86c039d08e257c23e02174958e5a96d6", "score": "0.49627957", "text": "@Override\n public void newProperties(PropertySheet ps) throws PropertyException {\n }", "title": "" }, { "docid": "eeeed81f56eeee5c79633af5b0cdcb24", "score": "0.49592778", "text": "Property setProperty(String name, Object val);", "title": "" }, { "docid": "c15a5a40547ae4de3cedbb215bbb9701", "score": "0.49533325", "text": "Schema getAdditonalProperties();", "title": "" }, { "docid": "52d0c368934ac4b0e2e0fde32fcc7ae7", "score": "0.49518472", "text": "public void setProps (Prop props)\n {\n this.props = props;\n\n }", "title": "" }, { "docid": "e366f59bf0dca66d88c11a4710b9316f", "score": "0.4946719", "text": "void addPropertySet(PropertySet propertySet);", "title": "" }, { "docid": "786c1bc261e62d0ebb3199447e141c06", "score": "0.49463165", "text": "public NotificationDispatcherMetadata setProperty(String key, String value) {\n properties.put(key, value);\n return this;\n }", "title": "" }, { "docid": "4fb8ee589b339e33b204955e7a4b221b", "score": "0.49413255", "text": "public void addProp()\n {\n propTimer = new Timeline(new KeyFrame(Duration.millis(5), e->\n {\n updateProp();\n updatePellet();\n }\n ));\n propTimer.setCycleCount(Animation.INDEFINITE);\n propTimer.setRate(propSpeed);\n }", "title": "" }, { "docid": "d761e5d027e153097fe2113173ddb783", "score": "0.49380055", "text": "public void setProperty(String newProperty) {\n\t}", "title": "" }, { "docid": "b1bae5159a9591c6eda0843e428bb444", "score": "0.4929312", "text": "public boolean usesUserProperties()\n {\n return dictionary.getBoolean( \"UserProperties\", false );\n }", "title": "" }, { "docid": "92fdee6662394cd30b306dbebc826221", "score": "0.48920512", "text": "void setProperty(String name, String value);", "title": "" }, { "docid": "0f519d8b54fddecb071b8f3c36be9ef4", "score": "0.48707423", "text": "public Builder addObjectProperties(Htmlmessages.CMsgJSValue.JSObjectProperty value) {\n if (objectPropertiesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureObjectPropertiesIsMutable();\n objectProperties_.add(value);\n onChanged();\n } else {\n objectPropertiesBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "7040ab4af34dc688c7a9b421e6129d23", "score": "0.48699006", "text": "T addCustomProperty(@Nonnull String key, @Nonnull String value);", "title": "" }, { "docid": "5c1f6807f5d448652623720324ae6923", "score": "0.48674044", "text": "public void addProperties(Map<String,Object> parentProps)\n {\n // only add those new properties for which we\n // do not already have a value. first prop set wins.\n Map<String,Object> properties = getProps();\n for (Map.Entry<String,Object> prop : parentProps.entrySet())\n {\n if (!properties.containsKey(prop.getKey()))\n {\n properties.put(prop.getKey(), prop.getValue());\n }\n }\n }", "title": "" }, { "docid": "3a1831821942802cbbe8aa7b04b20093", "score": "0.48637572", "text": "@PUT\n \t@Path(\"/job/{jobname}/property/\")\n \t@RolesAllowed(\"User\")\n \tvoid addJobProperties(@PathParam(\"jobname\") String jobname,\n \t\t\t@QueryParam(\"properties\") DtoJob properties)\n \t\t\t\t\tthrows NoSuchJobException;", "title": "" }, { "docid": "aa8fd31e3f97c1857f2e92838be12822", "score": "0.4863315", "text": "@Override\n public final void afterPropertiesSet() throws Exception {\n Assert.notNull(this.userCache, \"A user cache must be set\");\n Assert.notNull(this.messages, \"A message source must be set\");\n doAfterPropertiesSet();\n }", "title": "" }, { "docid": "ebf6669251b6f106939fcfa28428e13e", "score": "0.48596653", "text": "public void setPeerProperties(Hashtable<String, String> properties){ //this method is called from FedMeteorDrtsPeer\r\n peerProperties=properties;\r\n }", "title": "" }, { "docid": "c05e0f1d1d279c0e57321de9a1512d0e", "score": "0.48514226", "text": "private void addProperties(String pluginName)\n throws IOException\n {\n // see if the velocity properties exist for the current plugin\n URL propertiesUri =\n ResourceUtils.getResource(PROPERTIES_DIR + StringUtils.trimToEmpty(pluginName) + PROPERTIES_SUFFIX);\n\n if (propertiesUri != null)\n {\n if (logger.isDebugEnabled())\n {\n logger.debug(\"loading properties from --> '\" + propertiesUri + '\\'');\n }\n\n Properties properties = new Properties();\n properties.load(propertiesUri.openStream());\n\n for (Map.Entry entry : properties.entrySet())\n {\n final String property = (String) entry.getKey();\n final String value = (String)entry.getValue();\n if (logger.isDebugEnabled())\n {\n logger.debug(\"setting property '\" + property + \"' with --> '\" + value + '\\'');\n }\n this.velocityEngine.setProperty(property, value);\n }\n }\n }", "title": "" }, { "docid": "769cefe4441eee0bc70982bd03567109", "score": "0.48483962", "text": "Properties createProperties();", "title": "" }, { "docid": "a75742b98c20ae34d38412d8f8ccd23f", "score": "0.48436436", "text": "public void setProperties(long value1)\n // -end- 394746C20200 set_head3940EE310270 \"properties\"\n {\n // -beg- preserve=no 394746C20200 set_body3940EE310270 \"properties\"\n if(properties != value1){\n properties = value1;\n ch.ehi.uml1_4.changepropagation.MetaModel.getInstance().notifyChange(new ch.ehi.uml1_4.changepropagation.MetaModelChange(this,\"setProperties\"));\n }\n // -end- 394746C20200 set_body3940EE310270 \"properties\"\n }", "title": "" }, { "docid": "571ad0fc401924b717afff5329ff33e1", "score": "0.48424426", "text": "public void addProperty(String key, String value) {\n if (properties == null) {\n properties = new HashMap<>();\n }\n properties.put(key, value);\n }", "title": "" }, { "docid": "3bda9ffaf9c7f4d9d90f0fcf594c6980", "score": "0.48362723", "text": "public PropertyRequest addProperty(ElementDescriptor<?> property)\n {\n if (mProp == null)\n {\n mProp = new HashMap<ElementDescriptor<?>, Object>(16);\n }\n mProp.put(property, null);\n return this;\n }", "title": "" }, { "docid": "cd79cb08b226fcce067c71b1c91ab1ef", "score": "0.4834019", "text": "@Override\n public GeneralException setPropertyMessage(PropertyMessage propertyMessage) {\n this.propertyMessage = propertyMessage;\n return this;\n }", "title": "" }, { "docid": "b0ce5c7ddf51e76cbbfe7da10a945796", "score": "0.48319334", "text": "protected void addPropertiesTo(DataAdaptor container) {}", "title": "" }, { "docid": "396a4a962eb6c57e5121cd3dc029cb6c", "score": "0.4831444", "text": "protected final void addSettings(Property... props) {\n for(final Property prop : props) {\n properties.add(new ModProperty(prop));\n addCommand(CommandBuilder.create()\n .setProperty(prop)\n .setProcessor(options -> {\n List<?> args = options.nonOptionArguments();\n if(args.size() > 0) {\n // easier to deal with if its always a string\n String arg = PropertyTypeConverter.getConvertedString(prop, String.valueOf(args.get(0)));\n // save old value\n String old = prop.getString();\n if(!Objects.equal(arg, old)) {\n // set\n prop.set(arg);\n // inform client there has been changes\n printMessage(String.format(\"Set '%s' from '%s' to '%s'\",\n CommandLine.toUniqueId(getModName(), prop.getName()),\n Objects.firstNonNull(old, \"<null>\"),\n Objects.firstNonNull(prop.getString(), \"<null>\")\n ));\n return true; // success, call callbacks\n }\n } else {\n printMessage(String.format(\"%s = %s\",\n CommandLine.toUniqueId(getModName(), prop.getName()),\n Objects.firstNonNull(prop.getString(), \"<null>\")\n ));\n }\n return false; // nothing changed, dont call callbacks\n })\n .addCallback(command -> {\n update();\n MOD.getConfig().save();\n })\n .build()\n );\n }\n }", "title": "" }, { "docid": "244872ca6f3758c4e25f6940619b0bbe", "score": "0.48298886", "text": "public interface UserProperties {\n\n\t/**\n\t * Get user property.\n\t * \n\t * @param key\n\t * property name\n\t * @return property or <code>null</code> if property isn't set.\n\t */\n\t<T> T getUserProperty(String key);\n\n\t/**\n\t * Set user property.\n\t * \n\t * @param key\n\t * property name\n\t * @param value\n\t * property value. <code>null</code> to unset property\n\t * \n\t * @return instance of <code>this</code> {@linkplain UserProperties}\n\t */\n\tUserProperties setUserProperty(String key, Object value);\n\n}", "title": "" }, { "docid": "99fab9a242b6b4814fc3a4180ad2563b", "score": "0.48281103", "text": "void setProperty(String propertyName, Object value);", "title": "" }, { "docid": "89450fdd95f47c4a57560d9485a49010", "score": "0.48216316", "text": "public void setProperties(ArrayList<Property> properties) {\n this.properties = properties;\n }", "title": "" }, { "docid": "47612e8a3f526004780dd526708a95c6", "score": "0.48201758", "text": "public void setProperties(Properties p)\n\t{\n\t\t_p=p;\n\t}", "title": "" }, { "docid": "63a11adc4b79d99a7d26773fad8cc0c6", "score": "0.48149326", "text": "public void setProperties(List<Property> theProps)\n {\n while (getPropertyCount() > 0) removeProperty(0);\n for (Property prop : theProps) addProperty(prop);\n }", "title": "" }, { "docid": "d6fddcc58d48f312c86c8d3dc9cf7445", "score": "0.481453", "text": "private void addProperty(String attributeName, Map<String, List<Attribute>> properties, Attribute att) {\n if (!properties.containsKey(attributeName)) {\n List<Attribute> a = new ArrayList<>();\n a.add(att);\n properties.put(attributeName, a);\n } else {\n properties.get(attributeName).add(att);\n }\n }", "title": "" }, { "docid": "0a59d5d282d123d476380cb322e49eeb", "score": "0.48132095", "text": "private void setProp() {\n\t\tthis.setCardOwnerName(this.xpay.getCustomerName());\n\t\tthis.setCustCardNo(this.xpay.getCreditCardNo());\n\t\tthis.setCardExpMonthDate(this.xpay.getCardExpMonth() +\"/\"+ this.xpay.getCardExpYear());\n\t\tthis.setCVVNo(this.xpay.getCardCVVNo().intValue());\n\t\tthis.setTotalAmount(this.xpay.getAmount());\n\t}", "title": "" }, { "docid": "fc0a9c0e07b53a6cd6cd07388f365339", "score": "0.48045826", "text": "public void loadAdditionallProperties(Properties testProp) {\n\t\t// TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "f66d782e7f752365a2a2103bb1d38e0a", "score": "0.48023057", "text": "public void setProperty(Property property);", "title": "" }, { "docid": "b89b2360ba7ad33a18c3dad24e2310f6", "score": "0.48011878", "text": "public void setProperties(Dictionary properties);", "title": "" }, { "docid": "8847b0095cb985e45bbf66a08d3287d6", "score": "0.47985524", "text": "public void addDirectProperty(String key, String value);", "title": "" }, { "docid": "665dec019c5f99b660b1d44aa591491e", "score": "0.47878528", "text": "public void setProperty(String key, Object value) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "6d5092baea794904ba77e0f503ddadb3", "score": "0.47849524", "text": "@JsonAnySetter\n public SLOCorrectionResponseAttributes putAdditionalProperty(String key, Object value) {\n if (this.additionalProperties == null) {\n this.additionalProperties = new HashMap<String, Object>();\n }\n this.additionalProperties.put(key, value);\n return this;\n }", "title": "" }, { "docid": "278098899ec17ee6e10eaafbb3ea7d7b", "score": "0.47815886", "text": "@Override\n\tpublic void onUserChangeRoomProperty (\n RoomData roomData,\n String userName,\n HashMap<String, Object> properties,\n HashMap<String, String> lockProperties) {\n\t}", "title": "" }, { "docid": "c7eb48542c48fc1b26b10ed8dd7d8b17", "score": "0.4779107", "text": "public synchronized void addProperties(\n final String name,\n final Properties properties\n ) throws RootPropertiesDoesNotContainsKeyException\n {\n check(properties);\n this.childProperties.put( name, properties );\n }", "title": "" }, { "docid": "c10b1e8c4ba7bf63560e2bda3de42aa8", "score": "0.47783065", "text": "private void addToProperties(Properties tbl, String fieldNames, String fieldTypes) {\n tbl.setProperty(serdeConstants.SERIALIZATION_FORMAT, \"9\");\n\n tbl.setProperty(\"columns\", fieldNames);\n tbl.setProperty(\"columns.types\", fieldTypes);\n\n tbl.setProperty(serdeConstants.SERIALIZATION_NULL_FORMAT, \"NULL\");\n }", "title": "" } ]
910aaa701312929e1f7dec7179309bce
Removes the association, if any, between a client and a view process. This may allow the view process to be terminated and removed.
[ { "docid": "63a2813b0b0076dd000c5d2852906d07", "score": "0.64560664", "text": "public void detachClientFromViewProcess(final UniqueId clientId) {\n ArgumentChecker.notNull(clientId, \"clientId\");\n _processLock.lock();\n try {\n final Pair<ViewProcessImpl, ViewResultListener> processAttachment = _clientToProcess.remove(clientId);\n if (processAttachment == null) {\n return;\n }\n final ViewProcessImpl process = processAttachment.getFirst();\n final ViewResultListener listener = processAttachment.getSecond();\n process.detachListener(listener);\n\n removeViewProcessIfUnused(process);\n } finally {\n _processLock.unlock();\n }\n }", "title": "" } ]
[ { "docid": "ef25561586a2ca8fc1cb8aaac10794cd", "score": "0.6095138", "text": "public void removeView(GraphItemView view) {\n\t\trecoverableItems.add(view);\n\t\tview.delete();\n\n\t\tif (view instanceof VertexView){\n\t\t\tEnumeration<EdgeView> edges = ((VertexView)view).getEdges();\n\t\t\tVector<EdgeView> edgesToBeRemoved = new Vector<EdgeView>(10, 10);\n\t\t\twhile (edges.hasMoreElements()) {\n\t\t\t\tedgesToBeRemoved.add(edges.nextElement());\t\t\t\n\t\t\t}\n\t\t\tfor (EdgeView e:edgesToBeRemoved)\n\t\t\t\tremoveEdgeAndView(e);\n\t\t\tvertexItems.remove(view);\n\t\t}\n\t\t\t\n\t\telse if (view instanceof EdgeView){\n\t\t\t((EdgeView)view).getOrigin().removeEdge(((EdgeView)view));\n\t\t\t((EdgeView)view).getDestination().removeEdge(((EdgeView)view));\n\t\t\t((EdgeView)view).getOrigin().getVertex().unlink(((EdgeView)view).getDestination().getVertex());\n\t\t\tedgeItems.remove(view);\n\t\t}\n\t}", "title": "" }, { "docid": "8abf8cced3a42eb0d6533d7699483ffe", "score": "0.5424354", "text": "public void deleteRoute(View view) {\r\n\t\tprogress.show();\r\n\t\tDatabaseInteractor.endRoute(this, PreferenceData.getUserId(this), displayedRoute.getId());\r\n\t}", "title": "" }, { "docid": "e2bdc81bace9aed17efbd03ef63ad759", "score": "0.5390436", "text": "public void removeViewClient(final UniqueId clientId) {\n ArgumentChecker.notNull(clientId, \"clientId\");\n checkIdScheme(clientId, CLIENT_SCHEME);\n LOGGER.info(\"Removing view client {}\", clientId);\n final ViewClient client = _allClientsById.remove(clientId);\n if (client == null) {\n throw new DataNotFoundException(\"View client not found: \" + clientId);\n }\n detachClientFromViewProcess(clientId);\n _viewProcessorEventListenerRegistry.notifyViewClientRemoved(clientId);\n }", "title": "" }, { "docid": "235d2ca702ab796397b195068c375433", "score": "0.53679216", "text": "void removeProcess(SimulatedProcess p) {\n processControlBlock.remove(p.processNumber());\n }", "title": "" }, { "docid": "e1e3b26d2d2416125095335e9f409f13", "score": "0.53434265", "text": "public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgManipulatorListenerRefPtr(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }", "title": "" }, { "docid": "fbad4e43a95d833f8fff18680079ca9d", "score": "0.53144145", "text": "public void remove(IntraClient aClient) {\n/* 372 */ this.done = true;\n/* */ }", "title": "" }, { "docid": "2a45e0a65d46276c26567a83491cd4b8", "score": "0.5234619", "text": "public void dropAssociation()\r\n {\r\n io.outputString(\"Dropping a new Doctor-Patient Association...\");\r\n io.outputString(\"Getting Patient information...\");\r\n String healthNumber = io.readString(\"Enter the health number of the patient: \");\r\n\r\n Patient p = patients.get(healthNumber);\r\n if (p == null)\r\n throw new NoSuchElementException(\"There is no patient with health number \"\r\n + healthNumber);\r\n\r\n io.outputString(\"Getting Doctor information...\");\r\n String name = io.readString(\"Enter the name of the doctor: \");\r\n\r\n Doctor d = doctors.get(name);\r\n if (d == null)\r\n throw new NoSuchElementException(\"There is no doctor with name \" + name);\r\n\r\n String pHealthNumber = p.getHealthNumber();\r\n if (!d.hasPatient(pHealthNumber))\r\n throw new IllegalStateException(\"This doctor is not associated with this patient.\");\r\n if (!p.hasDoctor(name))\r\n throw new IllegalStateException(\"This doctor and this patient are incorrectly \"\r\n + \"associated. The doctor has the patient, \"\r\n + \"but the patient does not have the doctor\");\r\n\r\n p.removeDoctor(name);\r\n d.removePatient(healthNumber);\r\n }", "title": "" }, { "docid": "b8b0d5738bcfafa2f264b2084fdc1d0f", "score": "0.52200806", "text": "public void sendRemove(PID pid);", "title": "" }, { "docid": "bde3cf58767eaab9f05ffa4aeaf73512", "score": "0.52160066", "text": "@Override\n\tpublic void removeView(IView view) {\n\t\t\n\t}", "title": "" }, { "docid": "ffd1a7fcd95b01d245f9207986954517", "score": "0.51868844", "text": "public void doRemove() {\n super.doRemove();\n if (sequenceManager != null) {\n sequenceManager.clearSequence();\n }\n sequenceManager = null;\n }", "title": "" }, { "docid": "cd55c00b5cfc5e40246fb995bd15e83a", "score": "0.5159932", "text": "public void shutdownViewProcess(final UniqueId viewProcessId) {\n final ViewProcessImpl viewProcess = getViewProcess(viewProcessId);\n shutdownViewProcess(viewProcess);\n }", "title": "" }, { "docid": "983bb34e014df5205ab6590319683a5f", "score": "0.51560396", "text": "public void remove() {\n this.polyline.remove();\n }", "title": "" }, { "docid": "03b80f8d7650ca6051fefea37fceb024", "score": "0.5130186", "text": "public abstract void onRemoveAssociation(String association, GenericArtifact source,\n GenericArtifact target) throws GovernanceException;", "title": "" }, { "docid": "892f0a8b94df3403608effe2f253f064", "score": "0.5099924", "text": "public void unregisterProcess(Process process) {\n \n processes.remove(process);\n }", "title": "" }, { "docid": "461d4e5059427ca90e09b8ba13340d55", "score": "0.509554", "text": "public void removeGraphItemAndView(GraphItemView itemView) {\n\t\tif (itemView == null) return;\n\t\tif (itemView instanceof VertexView) removeVertexAndView((VertexView) itemView);\n\t\telse if (itemView instanceof EdgeView) removeEdgeAndView((EdgeView) itemView);\n\t}", "title": "" }, { "docid": "b89a1ebd2b9ab50b3ccbc60b10b0f547", "score": "0.50889665", "text": "void removeProcessFromMemory(Integer ID);", "title": "" }, { "docid": "e8198b0c20dc51d877f0204cb6398a38", "score": "0.50756425", "text": "public void remove() {\n\t\ttry {\n\t\t\t// first remove all local properties\n\t\t\tPropertyFacade.removeLocalProperties(dto.getUserId(), dto.getRunId());\n\n\t\t\t// next remove role particiations\n\t\t\tCollection rps = RoleParticipation.findByUser(User.findByPrimaryKey(dto.getUserId()), Run\n\t\t\t\t\t.findByPrimaryKey(dto.getRunId()));\n\t\t\tIterator iter = rps.iterator();\n\t\t\twhile (iter.hasNext()) {\n\t\t\t\tRoleParticipation rp = (RoleParticipation) iter.next();\n\t\t\t\trp.remove();\n\t\t\t}\n\n\t\t\t// Now remove this run participation\n\t\t\tRunParticipationEntityPK pk = new RunParticipationEntityPK(dto.getRunId(), dto.getUserId());\n\t\t\tRunParticipationEntityHome rpHome = getRunParticipationHome();\n\t\t\tRunParticipationEntity rp = rpHome.findByPrimaryKey(pk);\n\t\t\trp.remove();\n\n\t\t\tComponentFactory.getPropertyFactory().clearCache();\n\n\t\t} catch (Exception ex) {\n\t\t\tthrow new EJBException(ex);\n\t\t}\n\t}", "title": "" }, { "docid": "df71ba931f626678690204ee13611e63", "score": "0.5049702", "text": "void removePersonUD()\n {\n //One-way link from Group to Person.\n this.person = null;\n }", "title": "" }, { "docid": "e05c18cb3de12fb3e4fdf364693bfe6e", "score": "0.50465304", "text": "public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgIResourceRequestRefPtr(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }", "title": "" }, { "docid": "32f9d0b336118cdb5c6962011d5408e5", "score": "0.50307304", "text": "public void detachView() {\n\t}", "title": "" }, { "docid": "715784ec7f6f03b3e483ee3eed4c1ef5", "score": "0.5030236", "text": "AMFICOMClient remove(AccessIdentity_Transferable key)\n\t\t\tthrows AMFICOMRemoteException;", "title": "" }, { "docid": "ea86f0cc98dacd1a37bb0d13d8ec8d8f", "score": "0.5015248", "text": "public void delete() {\n try {\n Task task = vm.destroy_Task();\n task.waitForTask();\n } catch (ManagedObjectNotFound e) {\n // the vm has been deleted manually.\n // skip this error to let wp remove\n // the VM record.\n if (vm.getMOR().equals(e.getObj())) {\n log.info(\"VM not found, skip destroyVM().\");\n return;\n }\n throw new WorkpoolException(e);\n } catch (RemoteException e) {\n throw new WorkpoolException(e);\n } catch (InterruptedException e) {\n throw new WorkpoolException(e);\n }\n }", "title": "" }, { "docid": "ed0d3a7ad8026b98dc6017f272ff0b59", "score": "0.50095505", "text": "@SuppressWarnings(\"unused\")\n\t@PreDestroy\n\tprivate void destroyViews() {\n\t\tthreadFelixRepositoryAdminService.set(null);\n\t\tthreadObrRepositoryAdminService.set(null);\n\t\tthreadBundleContextService.set(null);\n\t\t\n\t}", "title": "" }, { "docid": "4ee75157a0d29b2df14decca1c910179", "score": "0.4997955", "text": "public void removeConversationId() {\n jenaModel.removeAll(metadataInstance, jenaModel.createProperty(MESSAGEMETADATA.ConversationId), null);\n }", "title": "" }, { "docid": "a7b9e0910a12debb82c6f697fa8220be", "score": "0.49945962", "text": "public void del(View view) {\n AccountManager am = AccountManager.get(this);\n Account[] accounts = am.getAccounts();\n if (accounts.length > 0) {\n Account accountToRemove = accounts[0];\n am.removeAccount(accountToRemove, null, null);\n }\n }", "title": "" }, { "docid": "1509ee9283c27f62ba0745a94501d712", "score": "0.49889243", "text": "public void removeAppointment() {\n\t}", "title": "" }, { "docid": "87af2cc6f5924155f341e81a43195e44", "score": "0.498225", "text": "void secondaryRemoveRepiters(com.hps.july.persistence.Repiter aRepiters) throws java.rmi.RemoteException;", "title": "" }, { "docid": "8f6990578653b0c13146f8c10f5db5fa", "score": "0.4976601", "text": "@Override\n public void onDelete(int pid, String key) {\n final MirrorCacheParcelable p = mirrorCache.remove(key);\n if (p != null) {\n\n if (pid != SHUNT_PID) {\n p.onDelete(); //notify individual instance listeners\n MirrorCache.this.onDelete(p.payloadObject);\n }\n\n p.payloadObject = null;\n }\n }", "title": "" }, { "docid": "0a17c374fe10579800716905cfd8fb6a", "score": "0.4968248", "text": "public void removeClientId() {\n jenaModel.removeAll(metadataInstance, jenaModel.createProperty(MESSAGEMETADATA.ClientId), null);\n }", "title": "" }, { "docid": "eb6359e3875f1568daa0fb1170fd32b9", "score": "0.496557", "text": "public void removeRelationship(MainActivity callingActivity){\n Toast.makeText(callingActivity, \"You are no longer paired with \"+\n callingActivity.relationship.partnerTwoName, Toast.LENGTH_LONG).show();\n\n ended = true;\n\n if (listenerForBreakup!=null)\n ref.removeEventListener(listenerForBreakup);\n\n Firebase root = new Firebase(\"https://dazzling-inferno-7112.firebaseio.com/relationships\");\n root.child(callingActivity.relationship.rel_id).setValue(null);\n //callingActivity.myCustomAdapter.removeRelationship();\n callingActivity.relationship.partnerTwoName = null;\n callingActivity.relationship.partnerTwoEmail = null;\n Intent intent = new Intent(callingActivity, SignInActivity.class);\n callingActivity.stopService(callingActivity.backgroundIntent);\n callingActivity.startActivity(intent);\n callingActivity.finish();\n }", "title": "" }, { "docid": "f8089aa8c46866779aa628f50f5176e2", "score": "0.49617642", "text": "private void removeUndeployedViews() {\n for (ViewEntity viewEntity : viewDAO.findAll()) {\n String name = viewEntity.getName();\n if (!ViewRegistry.getInstance().viewDefinitions.containsKey(name)) {\n try {\n viewDAO.remove(viewEntity);\n } catch (Exception e) {\n LOG.error(\"Caught exception undeploying view \" + viewEntity.getName(), e);\n }\n }\n }\n }", "title": "" }, { "docid": "d1bb715323ea9b298841187c6a902f16", "score": "0.4956852", "text": "public void updateMyViewRemove(Peer p) {\n\n\t\tknowledge.get(0).updateViewRemove(p);\n\t\tknowledge.get(0).setClock(knowledge.get(0).getClock() + 1);\n\n\t}", "title": "" }, { "docid": "5bdeab70e1a721ed30fa40118182d6e7", "score": "0.49559155", "text": "public void remove(ViewI view) {\n boolean found = false;\n if (views.contains(view)) {\n views.removeElement(view);\n found = true;\n }\n if (linearViews.contains(view)) {\n linearViews.removeElement(view);\n }\n if (pickViews.contains(view)) {\n pickViews.removeElement(view);\n }\n if (layout_manager != null) {\n layout_manager.removeLayoutView(view);\n }\n if (found) {\n invalidate();\n validate();\n }\n }", "title": "" }, { "docid": "95d88006c374254d964ede72f18c0c93", "score": "0.49465063", "text": "public void removeEdgeAndView(EdgeView edgeView) {\n\t\tundoStack.addUndoInfo(new RemoveGraphItemEdit(edgeView, this));\n\t\tremoveView(edgeView);\n\t}", "title": "" }, { "docid": "ae3d3d78e3c96be713be04156240f830", "score": "0.4945796", "text": "public void unlink(){\r\n\t\tuser._getCommentVoters().remove( this );\r\n\t\t((Comment)comment)._getCommentVoters().remove( this );\r\n\t\t\r\n\t\tuser = null;\r\n\t\tcomment = null;\r\n\t}", "title": "" }, { "docid": "9d19c787de0824a990a343b789221adb", "score": "0.4943239", "text": "void cleanUp() {\n ProcessReference reference;\n while ((reference = referenceQueue.poll()) != null) {\n synchronized (processReferences) {\n processReferences.remove(reference.processId);\n }\n }\n }", "title": "" }, { "docid": "efe420bb60484c51e7299e2646ebe837", "score": "0.49431255", "text": "@Override\r\n\tpublic void deleteProcessInstances(final Set<Long> processIds) {\r\n\r\n\t}", "title": "" }, { "docid": "83d596ebbab62c9c7ad3c5df56ab6e16", "score": "0.49349162", "text": "public void removeAppointment(String cId){\n Appointment appointment = getAppointment(cId);\n appointments.remove(appointment);\n}", "title": "" }, { "docid": "f2352dd5ef47eec59f1b12256f60d373", "score": "0.49281737", "text": "@Override\n\tpublic void delete(AsesoriaPorMesP app) {\n\t\taspmpr.delete(app);\n\t}", "title": "" }, { "docid": "b6ce1d2f1c703d37f1d603b76f3d94d4", "score": "0.49242085", "text": "public void handleRemoveAssocPart() {\n Part currentPart = assocPartsTable.getSelectionModel().getSelectedItem();\n newProduct.deleteAssociatedPart(currentPart);\n Alert confirm = new Alert(Alert.AlertType.INFORMATION);\n confirm.setHeaderText(\"Removed\");\n confirm.setContentText(currentPart.getName() + \" has been removed.\");\n confirm.show();\n }", "title": "" }, { "docid": "521610979c7f1b3741266b06ad5d6855", "score": "0.49149388", "text": "public void removeGStrucutureRelation(String serviceProviderCode, StructureModel structureROC1,\r\n\t\t\tStructureModel structureROC2, String callerID) throws RemoteException, AAException;", "title": "" }, { "docid": "2dc54092ccf44f1599ac98285f7ec0f4", "score": "0.49116254", "text": "synchronized public void remove(ServerSideClientIO serverSideClientToRemove) {\n serverSideClientIOList.remove(serverSideClientToRemove);\n }", "title": "" }, { "docid": "8b313050d9a0a281766ad4bb4893e2cf", "score": "0.49048412", "text": "void destroyLink() {\n CAMQPControlDetach data = new CAMQPControlDetach();\n data.setClosed(true);\n data.setHandle(linkHandle);\n linkStateActor.sendDetach(data);\n linkStateActor.waitForDetached(targetAddress);\n }", "title": "" }, { "docid": "f1065bff4c4696fae8d0131bdbd16a0a", "score": "0.49014905", "text": "public void removeCollidable(Collidable c) {\r\n this.environment.removeCollidable(c);\r\n }", "title": "" }, { "docid": "a02d833da4106d9a19b5a75471684fac", "score": "0.49012932", "text": "void processCollectionDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex);", "title": "" }, { "docid": "848eb0298a9303c30ed143ad090023f0", "score": "0.4888951", "text": "@Override\n\tpublic void deleteModuleView() {\n\t\tthis.controller.removeModuleView(this);\n\t}", "title": "" }, { "docid": "09a664e44c2a4e268e1285e46651da66", "score": "0.48828006", "text": "public void destroy()\r\n {\r\n this.vector=null;\r\n \r\n try\r\n {\r\n _poa().deactivate_object( _object_id() );\r\n }\r\n catch ( Exception ex )\r\n { \r\n ex.printStackTrace(); \r\n }\r\n }", "title": "" }, { "docid": "db972828a5619ce60bca3a8d0c50b8f9", "score": "0.48815173", "text": "public void deallocateApplication(Application a)\n {\n\t A_n.remove(a);\n\t a.decrementValidator();\n }", "title": "" }, { "docid": "7b90021d9f4afba7a97379e12cc0a0bd", "score": "0.48775807", "text": "public void remove(V v) {\n Collection<? extends V> outs = myGraph.getOuts(v);\n Collection<? extends V> backOuts = myConjugateGraph.getOuts(v);\n myGraph.removeVertex(v);\n myConjugateGraph.removeVertex(v);\n for (V v1 : outs) myConjugateGraph.removeEdge(v1, v);\n for (V v1 : backOuts) myGraph.removeEdge(v1, v);\n }", "title": "" }, { "docid": "3718f8d9e6b9d86b7b4314c2683e038c", "score": "0.4876286", "text": "void detachRoute(String routeId);", "title": "" }, { "docid": "7353c2b5e9310f8c6929424662a4371c", "score": "0.48732224", "text": "protected abstract void removeDialogView(PropertyModel model);", "title": "" }, { "docid": "525756361ce3f1a31cff814dcd1203d7", "score": "0.48711357", "text": "public void removeProcessListener(final JFXProcessListener listener) {\n\t\tlisteners.remove(listener);\n\t}", "title": "" }, { "docid": "ac8aa4fb298faf3e3536da52b67806f6", "score": "0.48615143", "text": "void detachView(boolean retainInstance);", "title": "" }, { "docid": "f6d85a8cbebebb73e6c3d8c1cd5ff469", "score": "0.48608232", "text": "public synchronized void remove(ClientThread client) {\n\t\tclientList.remove(client);\n\t\tthis.sendremoveMessage(client.getClientName());\n\t}", "title": "" }, { "docid": "49f78072554049b9779420c8443f3e44", "score": "0.48517895", "text": "public void eraseContact(View v)\n {\n appState.firebaseReference.child(receivedbusinessInfo.key).removeValue();\n finish();\n }", "title": "" }, { "docid": "bce5124f8f28f090af594136acce824c", "score": "0.4849557", "text": "void removeView(View view);", "title": "" }, { "docid": "c671eee739935e57d7a9ed659f21791c", "score": "0.48391312", "text": "@Override\r\n\tpublic void deleteProcessInstances(List<ProcessInstance> processes) {\r\n\r\n\t}", "title": "" }, { "docid": "b04330fd2a2097d4f6355352cebf95c9", "score": "0.4837101", "text": "@Override\n\tpublic void removeMessageNotificationClient(MessageNotificationClient messageNotificationClient){\n\t\tLOG.debug(\"client instanceId:\"+m_instanceId+\": removing messageNotificationClient:\"+messageNotificationClient.toString());\n\t\tmessageNotificationClientList.remove(messageNotificationClient);\n\t}", "title": "" }, { "docid": "72fb26c8de855242830c2f75e1e35d3d", "score": "0.48302156", "text": "public void removeVaccineConfirmed(){\n\t\t//deleted the vaccine\n\t\tvaccineDao.deleteVaccine(getCurrentlySelectedVaccine());\n\t\t//refresh the list\n\t\trefreshVaccines(null);\n\t\t//remove the confirmation dialog\n\t\tui.remove(ui.find(CONFIRMATION_DIALOG));\n\t}", "title": "" }, { "docid": "28a27e3b23ae584cf37afd72b7dccbee", "score": "0.48255005", "text": "@Override\r\n\tpublic void supprimerFactureClient(FactureClient t) {\n\t\t\r\n\t}", "title": "" }, { "docid": "868e7119d2d63b7eceb95bc76b3e5d67", "score": "0.48174682", "text": "public void removeVertexAndView(VertexView vtxView) {\n\t\tundoStack.addUndoInfo(new RemoveGraphItemEdit(vtxView, this));\n\t\t\t\tremoveView(vtxView);\n\t}", "title": "" }, { "docid": "4835c51c9db31c107571f00347f5dd60", "score": "0.48165047", "text": "public void removeForeignKeyRelationship(Relationship table)\r\n\t{\r\n\t\tforeignKeyRelationships.remove(table);\r\n\t\tfirePropertyChange(OUTPUT, table, null);\r\n\t}", "title": "" }, { "docid": "1373f01c41d15daf4de1435c441c6bdf", "score": "0.481177", "text": "protected abstract void removeFromManager();", "title": "" }, { "docid": "b6169671c6da49d9c62f31a5fb0c4456", "score": "0.48101175", "text": "@DeleteMapping(\"/application-processes/{id}\")\n @Timed\n public ResponseEntity<Void> deleteApplicationProcess(@PathVariable Long id) {\n log.debug(\"REST request to delete ApplicationProcess : {}\", id);\n applicationProcessService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "title": "" }, { "docid": "cf96fe1686b2cbc5ae3ddac07d76709f", "score": "0.48018804", "text": "public void removePerson()\n {\n //Two-way link between Group and Person.\n this.getPerson().setGroupUD(null);\n this.removePersonUD();\n }", "title": "" }, { "docid": "b0c075a31c165c4de1379e63b610bd96", "score": "0.47999114", "text": "public void delete() {\n setObjectiveEvaluation(null);\n setSiadapRootModule(null);\n deleteDomainObject();\n }", "title": "" }, { "docid": "a8ca577d8469f9217163d4f68a456a11", "score": "0.47907186", "text": "public abstract void removeWorkflow(String processID, String operation, String status, String correlationKey, String correlationValue) throws SQLException;", "title": "" }, { "docid": "70b6c8e733e6a56b3676ed3a1ce4ac05", "score": "0.4774375", "text": "private void removeApprovals(ClientDetails clientDetails) {\n\t\tuserRepository.findAll().forEach(user -> {\n\t\t\tCollection<Approval> approvals = approvalStore.getApprovals(user.getUsername(), clientDetails.getClientId());\n\t\t\tapprovalStore.revokeApprovals(approvals);\n\t\t});\n\t}", "title": "" }, { "docid": "4487b6bc11838ac7e0ff23f6440f21ee", "score": "0.47662655", "text": "private void removeView(EditView editView)\n\t{\n\t\tboolean found = false;\n\t\t\n\t\tfor(int iterator = 0; iterator < this.editView.size() && !found; iterator++)\n\t\t{\n\t\t\tif (editView == this.editView.elementAt(iterator))\n\t\t\t{\n\t\t\t\tfound = true;\n\t\t\t\tthis.editView.remove(iterator);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a3edb646902d04f2d3d89c9d117eef80", "score": "0.47591105", "text": "public void despawnTownManagerVillager() {\r\n\tvillager.remove();\r\n }", "title": "" }, { "docid": "34dfc2adc42e66b02bb1ab89e4a762ba", "score": "0.47576454", "text": "void removeClient(ClientIdentifier clientId);", "title": "" }, { "docid": "c4f4ffd4d035781d7e891ad3691fa856", "score": "0.4754261", "text": "public void DeleteParticipation(int idProg, int idClient) {\n try {\n String jdbcDriver, dbUrl, username, password;\n DatabaseAccessProperties dap = new DatabaseAccessProperties(configurationFile);\n jdbcDriver = dap.getJdbcDriver();\n dbUrl = dap.getDatabaseUrl();\n username = dap.getUsername();\n password = dap.getPassword();\n // Load the database driver\n Class.forName(jdbcDriver);\n // Get a connection to the database\n Connection conn = DriverManager.getConnection(dbUrl, username, password);\n // Print information about connection warnings\n Statement stmt = conn.createStatement();\n // Execute the query\n ResultSet rs = stmt.executeQuery(\"DELETE FROM PARTICIPATION WHERE idProg = \" + idProg + \" and idClient = \" + idClient + \"\");\n rs.close();\n stmt.close();\n conn.close();\n } catch (SQLException se) {\n // Print information about SQL exceptions\n SQLWarningsExceptions.printExceptions(se);\n return;\n } catch (Exception e) {\n System.err.println(\"Exception: \" + e.getMessage());\n e.printStackTrace();\n return;\n }\n }", "title": "" }, { "docid": "2d9ab53f3b002cd681b6dceeb9d847b5", "score": "0.47332555", "text": "private void m18121a(Context context, Map<View, C8039b> map, View view) {\n if (map.remove(view) != null) {\n if (IAlog.f16291a <= 2) {\n IAlog.m18019a(\"removeViewFromContext found view for removal!\");\n }\n if (map.isEmpty()) {\n this.f16378c.remove(context);\n Pair pair = (Pair) this.f16377b.get(context);\n if (pair != null) {\n if (((ViewTreeObserver) pair.first).isAlive()) {\n ((ViewTreeObserver) pair.first).removeOnPreDrawListener((OnPreDrawListener) pair.second);\n }\n this.f16377b.remove(context);\n }\n }\n }\n }", "title": "" }, { "docid": "eeb1b2b548eb2a891c91be3965696c6f", "score": "0.47321522", "text": "public void removeDoseConfirmed(){\n\t\tgetCurrentlySelectedVaccine().removeDose((VaccineDose) doseTableController.getCurrentlySelectedObject());\n\t\tvaccineDao.saveOrUpdateVaccine(getCurrentlySelectedVaccine());\n\t\tvaccineDoseDao.deleteVaccineDose((VaccineDose) doseTableController.getCurrentlySelectedObject());\n\t\tint vaccineIndex = ui.getSelectedIndex(find(VACCINE_LIST));\n\t\trefreshVaccines(null);\n\t\tsetVaccineListSelectedIndex(vaccineIndex);\n\t\tui.remove(ui.find(CONFIRMATION_DIALOG));\n\t}", "title": "" }, { "docid": "ce537a887c123e1a1b0e6e22a1ea100f", "score": "0.47300172", "text": "void removeConnectedClient();", "title": "" }, { "docid": "6faef333f80f60ca3253a3db59a98d2c", "score": "0.47206286", "text": "@Override\n public void delete() {\n setUser(null);\n setDropboxAPI(null);\n deleteDomainObject();\n }", "title": "" }, { "docid": "ac780aa9f955c270a60545210423eb00", "score": "0.47162196", "text": "public void removeGStrucutureRelation(String serviceProviderCode, long parentStructureNumber,\r\n\t\t\tlong childStructureNumber, String relationship, String auditID, String callerID) throws RemoteException,\r\n\t\t\tAAException;", "title": "" }, { "docid": "1e7263561c5a098324533ea995c26797", "score": "0.47156316", "text": "private void clearOwnership(List<Object> removedPath) {\n Iterator<List<Object>> it = m_pathOwnership.keySet().iterator();\n while (it.hasNext()) {\n List<Object> keyPath = it.next();\n if (keyPath.size() >= removedPath.size() && keyPath.subList(0, removedPath.size()).equals(removedPath)) {\n // removedPath is a more general version of keyPath.\n // For example, keyPath might be @graph,1,hasTitle,subTitle\n // and the removed path @graph,1,hasTitle\n // Therefore, keyPath must be cleared.\n it.remove();\n }\n }\n }", "title": "" }, { "docid": "851a5a83f5e53a1a30746762d2b5a57f", "score": "0.47128022", "text": "void removeClient(ClientNetInterface client);", "title": "" }, { "docid": "2b4e7c2ca9030d6c5d54324c4a93aa39", "score": "0.47121018", "text": "private void _removeActivity(long actId) {\n\t\tString[] resp = null;\n\n\t\t// Removing all relations with super activities\n\t\tresp = query( \"abc.relation.[].to.==.\" + actId );\n\t\tfor( String wip : resp )\n\t\t\tquery( \"abc.relation.-.\" + wip );\n\t\t\n\t\t// Removing all state instances activity:user\n\t\tresp = query( \"abc.state.[].name.~=.{{\" + actId + \":[0-9]*}}\" );\n\t\tfor( String wip : resp )\n\t\t\tquery( \"abc.state.-.\" + wip );\n\n\t\t// Removing ecologies by incrementally removing all attached assets.\n\t\tString[] ecologies = query( \"abc.ecology.[].name.~=.{{\" + actId + \":[0-9]*}}\" );\n\t\tfor( String wip : ecologies ) {\n\t\t\tresp = query( \"abc.ecology.\"+wip+\".asset\" );\n\t\t\tfor( String tmp : resp ) \n\t\t\t\tquery( \"abc.asset.-.\"+ tmp );\n\t\t\tquery( \"abc.ecology.-.\"+ wip );\n\t\t}\n\t\t\n\t\t// Removing the activity\n\t\tquery( \"abc.activity.-.\"+ actId );\n\n\t\t// TODO > As in creation, Properties are still there\n\t}", "title": "" }, { "docid": "dbfaace18f953b98a2ffbedb91ac703f", "score": "0.47113734", "text": "void removeRepiters(com.hps.july.persistence.Repiter aRepiters) throws java.rmi.RemoteException;", "title": "" }, { "docid": "8f130d5fce722dbc0b854d2874963721", "score": "0.47099718", "text": "@Override\r\n\tpublic void removeNotify()\r\n\t{\r\n\t\tsuper.removeNotify();\r\n\t\tEditBus.removeFromBus(this);\r\n\t}", "title": "" }, { "docid": "e4ec3581bde61070fcfbf758609dc915", "score": "0.47092652", "text": "@Override\r\n\tpublic void removeRefObjectMap(RefObjectMap rom) {\r\n\t\tif (refObjList.size() + objList.size() == 1) {\r\n\t\t\tthrow new IllegalStateException(\r\n\t\t\t\t\t\"Can't remove the last ObjectMap or RefObjectMap.\");\r\n\t\t}\r\n\r\n\t\trefObjList.remove(rom);\r\n\t}", "title": "" }, { "docid": "57b8efa7203297445e7559904f20844a", "score": "0.47022384", "text": "public void removeVaccine(){\n\t\tif(scheduledDoseDao.getScheduledDoses(getCurrentlySelectedVaccine(),null).size() != 0){\n\t\t\tui.alert(\"You cannot delete a vaccine with scheduled doses.\");\n\t\t}else{\n\t\t\tui.showConfirmationDialog(\"removeVaccineConfirmed()\", this,\"medic.vaccine.confirm.delete\");\n\t\t}\n\t}", "title": "" }, { "docid": "23de4406e159349301c29c00e8e3cece", "score": "0.4700131", "text": "public void removePrimaryKeyRelationship(Relationship table)\r\n\t{\r\n\t\tprimaryKeyRelationships.remove(table);\r\n\t\tfirePropertyChange(INPUT, table, null);\r\n\t}", "title": "" }, { "docid": "f57dd2b20082d45fb9ee288e04f9974d", "score": "0.46962643", "text": "public void removeClass(View view) {\n //Don't forget to add RemoveClass algorithm\n //no intent needed\n }", "title": "" }, { "docid": "ea8a79d37e5dd8b3262c959dc12b18e0", "score": "0.46936452", "text": "public void delete(AutoProcIntegration3VO vo) {\r\n\t\tentityManager.remove(vo);\r\n\t}", "title": "" }, { "docid": "3bd06edd3bb02a63ea1e9dc65e9deac0", "score": "0.4690454", "text": "protected void removeAssociation(AssociationIF association) {\n // Check to see if association is not a member of this topic map\n if (association.getTopicMap() != this) {\n return;\n }\n // Notify listeners\n fireEvent(TopicMapIF.EVENT_REMOVE_ASSOCIATION, null, association);\n // Unset topic map property\n ((Association)association).setTopicMap(null);\n }", "title": "" }, { "docid": "f16de0d5750922edccbf8542e87a603a", "score": "0.4688878", "text": "public void deleteItem(View view) {\n\t\tint id = Integer.parseInt(hiddenTv.getText().toString());\n\t\tdeleteItem(id);\t\t\n\t}", "title": "" }, { "docid": "0499fe107a5f43a911f2ad8d65804a9b", "score": "0.46786004", "text": "@Override\n public void close() {\n if (participant != null) {\n participant.delete_contained_entities();\n\n DomainParticipantFactory.get_instance()\n .delete_participant(participant);\n }\n }", "title": "" }, { "docid": "e922c6978ba180987dbc2b9c5e16e11d", "score": "0.46772048", "text": "public void deleteProposalPersonBiography(ProposalDevelopmentDocument proposaldevelopmentDocument, int lineToDelete);", "title": "" }, { "docid": "5e357fede862b905de022e6a20607842", "score": "0.46756765", "text": "public void eraseContact(View v){\n appState.firebaseReference.child(receivedPersonInfo.uid).removeValue();\n finish();\n Intent intent = new Intent(this, MainActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "f5c34363e8e8f6583068d1ec19bdf1bd", "score": "0.46724173", "text": "public void removeAgent() {\n\t\tif (currentAgentsTable.getSelectionModel().getSelectedItem() != null) {\n\t\t\tSession session = factory.getCurrentSession();\n\t\t\tsession.beginTransaction();\n\t\t\tAgent agent = currentAgentsTable.getSelectionModel().getSelectedItem();\n\t\t\tSingleton.getInstance().getStorage().removeAgent(agent);\n\t\t\tStorage tempStorage = Singleton.getInstance().getStorage();\n\t\t\tsession.update(tempStorage);\n\n\t\t\tcurrentAgentList.remove(agent);\n\t\t\tallAgentList.add(agent);\n\n\t\t\tsession.getTransaction().commit();\n\t\t} else\n\t\t\tSystem.out.println(\"No selection!\");\n\t}", "title": "" }, { "docid": "c0f5a4de41b173a101b37454d45580ac", "score": "0.46707422", "text": "private void removeNodeView(CyNode node)\n\t{\n\t\tsynchronized (m_sync)\n\t\t{\n\t\t\tZZNodeView nodeView = nodeViews.get(node);\n\t\t\tif (nodeView == null)\n\t\t\t\treturn;\n\t\t\t\n\t\t\tnodeView.dispose(gl);\n\t\t\tnodeViews.remove(node);\n\t\n\t\t\teventHelper.addEventPayload((CyNetworkView)this, (View<CyNode>)nodeView, AboutToRemoveNodeViewsEvent.class);\n\t\t}\n\t}", "title": "" }, { "docid": "81eddf435348fdffec4f22472c93e383", "score": "0.46698913", "text": "@Override\n\tpublic void removeAds() {\n\t\tIabHelper.OnIabPurchaseFinishedListener mPurchaseFinishedListener = new IabHelper.OnIabPurchaseFinishedListener() {\n\t\t\tpublic void onIabPurchaseFinished(IabResult result, Purchase purchase) {\n\t\t\t\tif (purchase == null)\n\t\t\t\t\treturn;\n\t\t\t\tLog.d(\"IAB\", \"Purchase finished: \" + result + \", purchase: \" + purchase);\n\n\t\t\t\t// if we were disposed of in the meantime, quit.\n\t\t\t\tif (mHelper == null)\n\t\t\t\t\treturn;\n\n\t\t\t\tif (result.isFailure()) {\n\t\t\t\t\t// complain(\"Error purchasing: \" + result);\n\t\t\t\t\t// setWaitScreen(false);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\trunOnUiThread(new Runnable() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tlayout.removeView(adView);\n\t\t\t\t\t}\n\t\t\t\t});\n// if (!verifyDeveloperPayload(purchase)) {\n// //complain(\"Error purchasing. Authenticity verification failed.\");\n// //setWaitScreen(false);\n// return;\n// }\n\n\t\t\t\tLog.d(\"IAB\", \"Purchase successful.\");\n\n\t\t\t}\n\t\t};\n\t\tmHelper.flagEndAsync();\n\t\tmHelper.launchPurchaseFlow(this, SKU_REMOVE_ADS, RC_REQUEST, mPurchaseFinishedListener,\n\t\t\t\t\"HANDLE_PAYLOADS\");\n\n\t}", "title": "" }, { "docid": "c8098843c7023cdf71e6f8aca0e2b196", "score": "0.46659604", "text": "public synchronized void delete() {\n if (this.swigCPtr != 0) {\n if (this.swigCMemOwn) {\n this.swigCMemOwn = false;\n libVisioMoveJNI.delete_VgGeoReferencedSRSConstRefPtr(this.swigCPtr);\n }\n this.swigCPtr = 0;\n }\n }", "title": "" }, { "docid": "5c436a6b4fa74b7b8fdf451e1af15bba", "score": "0.46646035", "text": "public void destroy() {\n\t\tapp.client.close();\n\t}", "title": "" }, { "docid": "eb6ffe22f0485376e5880770fa5ad8d5", "score": "0.46605325", "text": "private void onRemoveGraph()\n {\n Window parent = SwingUtilities.windowForComponent(_desktopPane);\n int res = JOptionPane.showConfirmDialog(parent, s_stringMgr.getString(\"graph.delGraph\"));\n if(res == JOptionPane.YES_OPTION)\n {\n _listener.removeRequest();\n }\n }", "title": "" }, { "docid": "a1f4815736ab58de4fd7196c8d3aa38b", "score": "0.46522313", "text": "void removeClientSession(ClientSession session);", "title": "" }, { "docid": "039d3fecd5efdc91b0d0dd4ca4729954", "score": "0.4650827", "text": "public void delete() {\r\n synchronized (this.delLock) {\r\n if (this.agpCptrMeshPrimitiveDescArrView != 0) {\r\n if (this.isAgpCmemOwn) {\r\n this.isAgpCmemOwn = false;\r\n CoreJni.deleteCoreMeshPrimitiveDescArrayView(this.agpCptrMeshPrimitiveDescArrView);\r\n }\r\n this.agpCptrMeshPrimitiveDescArrView = 0;\r\n }\r\n }\r\n }", "title": "" } ]
93a760fe55d6e6220624d34733971a0f
If user has answered last question then display the Report window.
[ { "docid": "c317d0f36c04e16eece1828e7f4ed0aa", "score": "0.55685264", "text": "public void finished() {\n if (reportWindow == null) {\n reportWindow = new JQReportSummaryWindow(new SummaryGet());\n }\n reportWindow.updateDisplay();\n reportWindow.setVisible(true);\n }", "title": "" } ]
[ { "docid": "7a86772eba19b4751d9e1bc9ddddf442", "score": "0.63809365", "text": "private void displayQuestion() {\n if (currentQuestion.correct()) {\n displayCorrectQuestion(currentQuestion.clone());\n } else {\n displayIncorrectQuestion(currentQuestion.clone());\n }\n }", "title": "" }, { "docid": "f855a25b473466b5d2a012a0dfe73cf8", "score": "0.61274636", "text": "private void finishSurvey() {\n questionLabel.setText(\"Survey complete\");\n answer1Button.setText(\"Finish and claim points\");\n answer2Button.setVisible(false);\n answer3Button.setVisible(false);\n }", "title": "" }, { "docid": "39731c3feb31bf64775782f36d0d5844", "score": "0.6016284", "text": "public boolean displayQuestion() {\n\t\treturn super.displayQuestion(); // call super displayQuestion\n\t}", "title": "" }, { "docid": "5995df002b1f2e89ce738cd0f0ce20d3", "score": "0.59306186", "text": "static void displayQuestion(String ans1, String ans2, String ans3){\r\n\t\tisQuestion = true;\r\n\t\tif(isDone == true){\r\n\t\t\tquestionAreaFilter.a = 1f;\r\n\r\n\t\t\tanswer1=ans1;\r\n\t\t\tanswer2=ans2;\r\n\t\t\tanswer3=ans3;\r\n\t\t\t\r\n\t\t\tans1X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans1Y = ( ( questionArea.getHeight()/4 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\tans2X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans2Y = ( ( questionArea.getHeight()/2 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\tans3X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\r\n\t\t\tans3Y = ( ( questionArea.getHeight()/4 ) + ( questionArea.getHeight()/2 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\t\r\n\t\t\tquestionChoiceFilter.a = 1f;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3592fd58764a8346511bd8e8a93700f6", "score": "0.5913954", "text": "public void displayQuestion()\r\n\t{\r\n\t\tSystem.out.println(text);\r\n\t\tfor(String curr : answerChoices)\r\n\t\t\tSystem.out.println(\" \" + curr);\r\n\t}", "title": "" }, { "docid": "2b3f0c7632c8ccd72566b968e79d8dc0", "score": "0.5805156", "text": "private void displayQuestionRecord(Question question) {\n currentlyDisplayedQuestion = question;\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\n\n if (question.getQuestionType() == QuestionType.MULTI_CHOICE) {\n hintText = question.getHintText();\n explainText = question.getExplainText();\n multiChoicePanel.displayQuestionRecord(question, currentAnswer);\n\n innerCardLayout.show(innerCardPanel, \"multiChoicePanel\");\n } else if (question.getQuestionType() == QuestionType.DRAG_N_DROP) {\n hintText = question.getHintText();\n explainText = question.getExplainText();\n\n dndPanel.displayQuestionRecord(question, null);\n innerCardLayout.show(innerCardPanel, \"dndPanel\");\n }\n\n updateCountLabel();\n }", "title": "" }, { "docid": "3cb2cb5c731581596eff90bb1d3a2209", "score": "0.57997996", "text": "static void displayQuestion(String ans1, String ans2){\r\n\t\tisQuestion = true;\r\n\t\tif(isDone == true){\r\n\t\t\tquestionAreaFilter.a = 1f;\r\n\t\t\t\r\n\t\t\tanswer1=ans1;\r\n\t\t\tanswer2=ans2;\r\n\t\t\t\r\n\t\t\tans1X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans1Y = ( ( questionArea.getHeight()/4 ) - ( questionChoice.getHeight()/2 ) );\r\n\t\t\tans2X = ( ( questionArea.getWidth()/2 ) - ( questionChoice.getWidth()/2 ) );\t\r\n\t\t\tans2Y = ( ( questionArea.getHeight()/4 ) + ( questionArea.getHeight()/2 ) - ( questionChoice.getHeight()/2 ) );;\r\n\t\t\tans3X = 0;\r\n\t\t\tans3Y = -52;\r\n\t\t\t\r\n\t\t\tquestionChoiceFilter.a = 1f;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "61861eaf4d7d7d721439eca51c0eb1d9", "score": "0.57840025", "text": "private void askQuestion() {\n //Disable the submit & next button\n //as this is a new question and the user\n //is yet to select an answer\n next.setEnabled(false);\n //Get the next question on the list\n quest = questions.get(index);\n\n //Set the question, category and difficulty texts\n question.setText(++index + \".\" + quest.getQuestion());\n category.setText(\"Category: \" + quest.getCategory());\n difficulty.setText(\"Difficulty: \" + quest.getDifficulty().toUpperCase() + \" - \" + quest.getScore() + \"pts\");\n\n //Increase the total score and display the score to the user\n totalScore += quest.getScore();\n score.setText(\"Score: \" + userScore + \"/\" + totalScore);\n\n //Get the list of options and set the first two radio buttons\n List<String> optionValues = quest.getOptions();\n option1.setText(optionValues.get(0));\n option2.setText(optionValues.get(1));\n //If the question type is multiple, then set the last two options\n // and make it visible\n if (quest.getType().equalsIgnoreCase(\"multiple\")) {\n option3.setText(optionValues.get(2));\n option4.setText(optionValues.get(3));\n option3.setVisibility(View.VISIBLE);\n option4.setVisibility(View.VISIBLE);\n } else {\n //else make the last two options invisible\n option3.setVisibility(View.INVISIBLE);\n option4.setVisibility(View.INVISIBLE);\n }\n }", "title": "" }, { "docid": "c450601ae4eae9d3924613c562977030", "score": "0.5727993", "text": "public String printReport() {\n\t\treturnValue = \"\";\n\t\tfor (int qid : this.questionNumberMap.keySet()) {\n\n\t\t\tif (qid>1) {\n\t\t\t\treturnValue += \"\\n\\n\";\n\t\t\t}\n\t\t\treturnValue += \"Question \" + qid + \": \";\n\n\t\t\treturnValue += questionNumberMap.get(qid).toString();\n\t\t\t\n\t\t\tQuestionStrategy currentQuestion = questionNumberMap.get(qid);\n\n\t\t\tArrayList<String> options = currentQuestion.getOptions();\n\n\n\t\t\ttry {\n\t\t\t\tanswerData = database.printSeparatedReport(qid);\n\t\t\t} catch (SQLException e) { \n\t\t\t\te.printStackTrace();\n\t\t\t\tSystem.out.println(\"Error in printReport\");\n\t\t\t}\n\t\t\t\n\t\t\tif (options != null) { //question is of type multiple choice\n\t\t\t\tint i = 0;\n\t\t\t\tfor (String answer : answerData.keySet()) {\n\t\t\t\t\tint count = answerData.get(answer)-1;\t\t\n\t\t\t\t\treturnValue += \"\\nAnswer: \" + options.get(i) + \" ➪ Tally: \" + count;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tfor (String answer : answerData.keySet()) {\n\t\t\t\t\tint count = answerData.get(answer);\t\t\n\t\t\t\t\treturnValue += \"\\nAnswer: \" + answer + \" ➪ Tally: \" + count;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t//System.out.println(returnValue);\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "e01878fc427092e04b4bfeeda3f152d4", "score": "0.56861746", "text": "public void AskForCorrectAnswer() {\n\t\tfor (int i = 0; i < GetQuestions().size(); i++ ) {\n\t\t\tQuestion currentQuestion = GetQuestions().get(i);\n\t\t\tSystem.out.println(currentQuestion.GetQuestion());\n\t\t\t\n\t\t\tString answer;\n\t\t\tResponseCorrectAnswer rca = null;\n\t\t\t\n\t\t\t// Call super.AddResponse(), check if the response lives in Survey or Test\n\t\t\tswitch ( currentQuestion.GetQuestionType() ) {\n\t\t\tcase \"TrueFalse\":\n\t\t\t\tSystem.out.println(\"What is the correct answer? (T/F\");\n\t\t\t\tanswer = MainDriver.scanner.next();\n\t\t\t\tString trueFalse = null;\n\t\t\t\t\n\t\t\t\tif (answer.equals(\"T\") ) {\n\t\t\t\t\ttrueFalse = ((TrueFalse) currentQuestion).GetOptions(0);\n\t\t\t\t}\n\t\t\t\telse if (answer.equals(\"F\")) {\n\t\t\t\t\ttrueFalse = ((TrueFalse) currentQuestion).GetOptions(1);\n\t\t\t\t}\n\t\t\t\trca = new ResponseCorrectAnswer(trueFalse);\n\t\t\t\tcurrentQuestion.AddCorrectAnswer(rca);\n\t\t\t\tSystem.out.println(currentQuestion.GetCorrectAnswer().GetResponse());\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\tcase \"MultipleChoice\":\n\t\t\t\tSystem.out.println(\"Which of these options? (1 - 4)\");\n\t\t\t\tcurrentQuestion.Display();\n//\t\t\t\tint choice = MainDriver.scanner.nextInt();\n//\t\t\t\tcurrentQuestion.choices[choice]\n\t\t\t\tbreak;\n\t\t\tcase \"Essay\":\n\t\t\t\tSystem.out.println(\"What is the correct answer?\");\n\t\t\t\tanswer = MainDriver.scanner.next();\n\t\t\t\trca = new ResponseCorrectAnswer(answer);\n\t\t\t\tbreak;\n\t\t\tcase \"ShortAnswer\":\n\t\t\t\tSystem.out.println(\"What is the correct answer?\");\n\t\t\t\tanswer = MainDriver.scanner.next();\n\t\t\t\trca = new ResponseCorrectAnswer(answer);\n\t\t\t\tbreak;\n\t\t\tcase \"Ranking\":\n\t\t\t\tbreak;\n\t\t\tcase \"Matching\":\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a2d827b0b6464aaafb25354d97f66ea8", "score": "0.5679266", "text": "private void nextButtonActionPerformed() {\n QuestionPool qPool;\n\n try {\n qPool = JQuestions.getQuestionPool();\n } catch (NullPointerException npe) {\n return;\n } catch (Exception ex) {\n ex.printStackTrace();\n return;\n }\n\n // 1. save current UserAnswer state.\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\n\n if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.MULTI_CHOICE) {\n\n int options = currentlyDisplayedQuestion.getNumberOfPossibleAnswers();\n for (int i = 0; i < options; i++) {\n currentAnswer.setAnswerBox(i, multiChoicePanel.getAnswerBox(i).isSelected());\n }\n } else if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.DRAG_N_DROP) {\n // The contents of the JTextFields in a DnD question are conveniently\n // stored 'automatically' in the JTextField object itself, so we don't\n // need to update them every time they are displayed.\n //currentAnswer.setAnswerField(x, answerField1.isSelected());....\t\t\t\t\t\t\n }\n\n // 2. isCorrect()\n boolean correct = isCorrect(currentlyDisplayedQuestion, currentAnswer);\n\n // 3. Store the correctness.\n currentAnswer.setCorrectness(correct);\n\n if (!isExam) { // Give instant feedback\n displayCorrectness(correct);\n }\n\n\n if ((nQuestions == 0) && (qIdsIndex >= qPool.getSize() - 1)\n || ((nQuestions > 0) && (qIdsIndex < nQuestions))) {\n\n finished();\n\n return;\n }\n\n\n // 4. If not end, display next record.\n qIdsIndex += 1;\n\n\n int index = questionIds.get(qIdsIndex);\n currentlyDisplayedQuestion = qPool.getQuestion(index);\n if (currentlyDisplayedQuestion != null) {\n currentRecordIndex = index;\n displayQuestionRecord(currentlyDisplayedQuestion);\n setFieldsEditable(false);\n } else { // No records.\n currentRecordIndex = -1;\n }\n }", "title": "" }, { "docid": "a35afb65f13cc4283432c96eb9260807", "score": "0.5655741", "text": "public void sendMessageLessonQuizNext(View view) {\n if (quiz.size() > count) {\n //---- display next quiz\n displayQuiz();\n enableRadioButtons();\n tvFeedback.setVisibility(View.INVISIBLE);\n buttonNext.setVisibility(View.INVISIBLE);\n buttonSubmit.setVisibility(View.VISIBLE);\n } else {\n //---- close Activity and go back to previous activity\n Intent returnIntent = new Intent();\n returnIntent.putExtra(\"result\",1);\n setResult(Activity.RESULT_OK,returnIntent);\n finish();\n }\n }", "title": "" }, { "docid": "c9ffbc951051e0e64181cabd594fdb51", "score": "0.56053364", "text": "public void startRecordDifficulty(boolean isFirstQuestions) {\n finished = false;\n startTime = System.nanoTime(); // Beginning of the recording\n\n // Create new frame on top of the main window\n JFrame tempFrame = new JFrame(\"Measuring Perceived Difficulty\");\n tempFrame.setUndecorated(true);\n DisplayerComponent dc = new DisplayerComponent(this.frame.getWidth()+10, this.frame.getHeight()+10);\n\n //this.mariocomponent.pause();\n setFrame(tempFrame);\n tempFrame.setContentPane(dc);\n tempFrame.setResizable(false);\n //tempFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n tempFrame.addWindowListener(new WindowAdapter() {\n @Override\n public void windowClosing(WindowEvent e) {\n // Do nothing. User has to submit his answers.\n }\n });\n tempFrame.pack();\n\n if (isFirstQuestions) {\n //loadFirstQuestions(dc);\n loadSwapLevelQuestions(dc, true);\n } else {\n loadSwapLevelQuestions(dc, false);\n }\n\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n tempFrame.setLocation((screenSize.width - frame.getWidth()) / 2, (screenSize.height - frame.getHeight()) / 2);\n tempFrame.setVisible(true);\n }", "title": "" }, { "docid": "887d58b61a1c180fd100b8a43162196a", "score": "0.5603807", "text": "public void displayAnswers() {\n int answerNumber = 1;\n for(Map.Entry<String, Boolean> answer : answers.entrySet()) {\n System.out.println(answerNumber + \". \" + answer.getKey());\n answerNumber++;\n }\n }", "title": "" }, { "docid": "55d52cec493f13cf4265b75a2e2a4517", "score": "0.56008804", "text": "public void displayQuestion(Question question, String nickname);", "title": "" }, { "docid": "bfa84d49e7f15edd492654549b95992d", "score": "0.5600683", "text": "public void displayNextTaskPromptSpeaker(){\n System.out.print(\"Please enter next task (reminder, you can type '5' to see what you can do): \");\n }", "title": "" }, { "docid": "968e4f2a1237b1d7fe3f0cc07c9aebcd", "score": "0.5544336", "text": "private void checkAnswerAndDisplayNext() {\n\t\tboolean correct = false;\n\t\t\n\t\tString attempt = _attemptInput.getText();\n\t\t\n\t\t// Make it case-insensitive and trim all leading and trailing spaces.\n\t\tattempt = attempt.toLowerCase();\n\t\tattempt = attempt.trim();\n\t\t\n\t\tPracticeSolutionScreen solScrn = new PracticeSolutionScreen(_pane, _clue, _answers[0]);\n\t\t\n\t\t// A for loop is used because there can be multiple solutions and we want to \n\t\t// check if the attempt matches with at least one solution.\n\t\tfor (String solution : _answers) {\n\t\t\tsolution = solution.toLowerCase();\n\t\t\tsolution = solution.trim();\n\t\t\t\n\t\t\t//For clues that have multiple answers separated by \",\"\n\t\t\tif (solution.contains(\",\")) {\n\t\t\t\tString[] solutions = solution.split(\",\");\n\t\t\t\tString[] attemptAns = attempt.split(\",\");\n\t\t\t\tif (solutions.length == attemptAns.length) {\n\t\t\t\t\tint count = 0;\n\t\t\t\t\tfor (int i = 0; i < solutions.length; i++) {\n\t\t\t\t\t\tif (solutions[i].trim().equals(attemptAns[i].trim())) {\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t\tSystem.out.println(count);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(count);\n\t\t\t\t\tif (count == solutions.length) {\n\t\t\t\t\t\tcorrect = true;\n\t\t\t\t\t\tsolScrn.displayCorrect();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (attempt.equals(solution)) {\n\t\t\t\tsolScrn.displayCorrect();\n\t\t\t\tcorrect = true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (!correct) {\n\t\t\t_remainingAttempts--;\n\t\t\t\n\t\t\t// Only add wrongText when two attempts remain to prevent from duplicate \n\t\t\t// children from being added.\n\t\t\t\n\t\t\tSoundAdjuster adjuster = new SoundAdjuster(\"Incorrect\", false);\n\n\t\t\tif (_remainingAttempts == 2) {\n\t\t\t\t_wrongText.getStyleClass().remove(\"invisible-component\");\n\t\t\t\tadjuster.speak(adjuster.getText());\n\t\t\t}\n\n\t\t\t\n\t\t\tif (_remainingAttempts == 1) {\n\t\t\t\t_hint.getStyleClass().remove(\"invisible-component\");\n\t\t\t\tadjuster.speak(\"The first letter of the answer is \" + _answers[0].charAt(0));\n\t\t\t} else if (_remainingAttempts < 1) {\n\t\t\t\tsolScrn.displayIncorrect();\n\t\t\t}\n\n\t\t\t_attemptsCountText.setText(\"Number of attempts remaining: \" + (_remainingAttempts));\n\t\t}\n\t}", "title": "" }, { "docid": "b5714d9b28a054f0469188fc2291f479", "score": "0.5541291", "text": "public void endQuiz()\r\n\t\t\t{\r\n\t\t\t\tgame_interface_manager.showResults();\r\n\r\n\t\t\t\trecord_manager.checkOnRecord(gamer_name, Math.round(100*right_answers / question_amount));\r\n\t\t\t}", "title": "" }, { "docid": "f6f7be75d746fbf5ca553d445f6304f9", "score": "0.55318964", "text": "private static void printReport(Connection c, Scanner k, String ssn, String answer) throws SQLException {\r\n\t // if yes (has dependents) print info, works_on, dependents\r\n \tif(answer.equals(\"yes\")) {\r\n\t\t printEmployeeInfo(c, ssn);\r\n\t\t printEmployeeWorks_on(c, ssn);\r\n\t\t PrintEmployeeDependent(c, ssn);\r\n\t }\r\n \t// if no (no dependents) just print info and works_on\r\n\t else {\r\n\t\t printEmployeeInfo(c, ssn);\r\n\t\t printEmployeeWorks_on(c, ssn);\r\n\t }\r\n\r\n }", "title": "" }, { "docid": "799930244e6b76770c80e508d4b3ef4b", "score": "0.5529342", "text": "private void updateQuestion() {\n if (mQuestionNumber < mQuestionLibrary.getLength()) {\n // set the text for new question, and new 4 alternative to answer on four buttons\n mQuestionView.setText(mQuestionLibrary.getQuestion(mQuestionNumber));\n mButtonChoice1.setText(mQuestionLibrary.getChoice(mQuestionNumber, 1));\n mButtonChoice2.setText(mQuestionLibrary.getChoice(mQuestionNumber, 2));\n mButtonChoice3.setText(mQuestionLibrary.getChoice(mQuestionNumber, 3));\n mButtonChoice4.setText(mQuestionLibrary.getChoice(mQuestionNumber, 4));\n mButtonChoice5.setText(mQuestionLibrary.getChoice(mQuestionNumber, 5));\n\n\n\n mAnswer = mQuestionLibrary.getCorrectAnswer(mQuestionNumber);\n\n\n mQuestionNumber++;\n } else {\n Toast.makeText(QuizActivity.this, \"Venha ser o nosso aluno ! Você terá acesso a novas questões diárias e ainda terá 'recompensas'\", Toast.LENGTH_LONG).show();\n Intent intent = new Intent(QuizActivity.this, HighestScoreActivity.class);\n intent.putExtra(\"score\", mScore); // pass the current score to the second screen\n startActivity(intent);\n finish();\n }\n }", "title": "" }, { "docid": "bef3011b1179bedd4c740a4477e0d7c4", "score": "0.5525498", "text": "private void displayNextFightDialogue(){\n this.state=FIGHT_STATE.SELECT_ACTION;\n dialogueBox.setVisible(true);\n dialogueBox.animateText(\"What do you wnat to do next ?\");\n }", "title": "" }, { "docid": "2418fcf5008d98a5d26d0f0a930a01e7", "score": "0.55159104", "text": "void showCorrectAnswer();", "title": "" }, { "docid": "c3d1c2d9fca002c1a48732801c9a9ec7", "score": "0.550629", "text": "public void askQuestion() {\n System.out.println(this.prompt);\n }", "title": "" }, { "docid": "d63212c9056e1f842f74f1a9a60ec40c", "score": "0.55060005", "text": "private void setViewAfterQuestionAttempt(boolean isCorrectResponse) {\n\n if (isCorrectResponse) {\n mTopViewBinding.chronometerQuestionTimer.stop();\n if (mQuestionList.size() == mQuestionCounter) {\n mBinding.buttonDone.setText(getString(R.string.finish));\n } else {\n mBinding.buttonDone.setText(getString(R.string.next));\n }\n hideHintLayouts();\n } else {\n if (mUserAttemptPerQuestion < mMaxAttemptLimitPerQuestion) {\n mBinding.buttonDone.setText(getString(R.string.submit));\n Question question = mQuestionList.get(mQuestionCounter - 1);\n mBinding.layoutChoices.removeAllViews();\n setChoicesView(question);\n } else if (mQuestionList.size() == mQuestionCounter) {\n mTopViewBinding.chronometerQuestionTimer.stop();\n mBinding.buttonDone.setText(getString(R.string.finish));\n hideHintLayouts();\n } else {\n mTopViewBinding.chronometerQuestionTimer.stop();\n mBinding.buttonDone.setText(getString(R.string.next));\n hideHintLayouts();\n }\n }\n\n }", "title": "" }, { "docid": "52cb6da16affa3111da1f67129e53eac", "score": "0.55037755", "text": "private void showPracticeEndDialog(QuizResponse quizResponse, ArrayList<ChartConfigurationData> quizAnalyticsConfigData) {\n\n LayoutQuizEndBinding view = DataBindingUtil.inflate(LayoutInflater.from(getBaseContext()), R.layout.layout_quiz_end, null, false);\n final Dialog dialog = new Dialog(QuizPlayerActivity.this);\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\n dialog.setCancelable(false);\n dialog.setContentView(view.getRoot());\n setQuizDataOnEndDialog(view, quizResponse, quizAnalyticsConfigData);\n view.textViewGreetingMessage.setText(getString(R.string.quiz_end_response_submitted));\n view.lottie.setVisibility(View.GONE);\n\n view.buttonClose.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //sendPointsToServer();\n dialog.dismiss();\n mRxBus.send(new RefreshLRPAAccordingToType(ConstantUtil.TYPE_LEARN));\n finish();\n }\n });\n\n\n WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);\n Display display = wm.getDefaultDisplay();\n DisplayMetrics metrics = new DisplayMetrics();\n display.getMetrics(metrics);\n Double dialogWidth = metrics.widthPixels * 0.95;\n Double dialogHeight = metrics.heightPixels * 0.85;\n Window win = dialog.getWindow();\n win.setLayout(dialogWidth.intValue(), ViewGroup.LayoutParams.WRAP_CONTENT);\n\n\n dialog.show();\n }", "title": "" }, { "docid": "65b2dfde7900c931e980879771e2066f", "score": "0.5495376", "text": "public void printAnswerIsIncorrect (Question question);", "title": "" }, { "docid": "09bd339fb127bd628cb5c7f664cfe2e3", "score": "0.5489168", "text": "public void viewAnswer () {\n\t\tif (tfQ.getAnswer()) {\n\t\t\tbtnTrue.setBackground(green);\n\t\t\tbtnTrue.setEnabled(false);\n\t\t}\n\t\telse {\n\t\t\tbtnFalse.setBackground(green);\n\t\t\tbtnFalse.setEnabled(false);\n\t\t}\n\t}", "title": "" }, { "docid": "bc221efd71af713d7a86f4fd96083cbd", "score": "0.54887587", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tJButton source = (JButton)e.getSource();\n\t\tString btnClicked = e.getActionCommand();\n\t\tif(btnClicked.equalsIgnoreCase(\"Start Session\")){\n\t\t\tsource.setText(\"Next\");\n\t\t\twelcome.setVisible(false);\n\t\t\tquestionInfo.setText(question[counter]);\n\t\t\tquestionInfo.setFont(questionI);\n\t\t\tmainPanel.add(questionInfo, BorderLayout.PAGE_START);\n\t\t\tmainPanel.add(answer, BorderLayout.CENTER);\n\t\t\tSystem.out.println(counter);\n\t\t\tcounter++;\n\t\t\t\n\t\t}\n\t\telse if(btnClicked.equalsIgnoreCase(\"Next\")){\n\t\t\tfile.writeToFile(\"Patient.txt\", questionInfo.getText());\n\t\t\tfile.writeToFile(\"Patient.txt\", answer.getText());\n\t\t\tfile.writeToFile(\"PatientAnswer.txt\", answer.getText());\n\t\t\tif(counter < question.length){\n\t\t\tSystem.out.println(counter);\n\t\t\tquestionInfo.setText(question[counter]);\n\n\n\t\t\tanswer.setText(\"\");\n\t\t\tcounter++;\n\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\n\t\t\t\tanswer.setText(\"\");\n\t\t\t\tsource.setText(\"Finish\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tint rep = JOptionPane.showConfirmDialog(null, \"Questions are over, are you ready for the result?\", \"Result\", JOptionPane.YES_NO_OPTION);\n\t\t\t\tif (rep == JOptionPane.YES_OPTION) {\n\t\t\t\t\tanswer.setVisible(false);\n\t\t\t\t\tquestionInfo.setVisible(false);\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tint repFinal = JOptionPane.showConfirmDialog(null, \"Do you want to quit?\", \"WHAT?!!\", JOptionPane.YES_NO_OPTION);\n\t\t\t\t\tif (repFinal == JOptionPane.YES_OPTION){\n\t\t\t\t\t\tcounter = 0;\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"GOODBYE\");\n\t\t\t\t\t\tSystem.exit(0);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please Press Finish Button!\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}//end Start Session\n\t\tif(btnClicked.equalsIgnoreCase(\"Finish\")){\n\t\t\tSTARTSESSION.setVisible(false); //hide next/finish button\n\t\t\tmainPanel.add(textarea, BorderLayout.CENTER);\n\t\t\tStartPanel.add(VIEWALLQUESTION);\n\t\t\tStartPanel.add(VIEWLONGESTWORD);\n\t\t\tStartPanel.add(VIEWSHORTESTWORD);\n\t\t\tStartPanel.add(SORTWORDALPHABETICALLY);\n\t\t\tStartPanel.add(VIEWANALYSIS);\n\t\t\t\n\t\t\tscroll = new JScrollPane(textarea);\n\t\t\tscroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n\t\t\tmainPanel.add(scroll);\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View all Q & A\")){\n\t\t\ttextarea.setText(ReadFile(\"Patient.txt\"));\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View longest word\")){\n\t\t\ttry {\n\t\t\t\ttextarea.setText(getLongestWords(\"PatientAnswer.txt\"));\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View shortest word\")){\n\t\t\ttry {\n\t\t\t\ttextarea.setText(getShortestWords(\"PatientAnswer.txt\"));\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"Sort answer alphabetically\")){\n\t\t\tSortingAlphabetically(\"PatientAnswer.txt\");\n\t\t\ttextarea.setText(ReadFile(\"PatientAnswer.txt\"));\n\t\t}\n\t\tif(btnClicked.equalsIgnoreCase(\"View analysis\")){\n\t\t\tString l = null;\n\t\t\ttry {\n\t\t\t\tl = getLongestWords(\"PatientAnswer.txt\");\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tString s = null;\n\t\t\ttry {\n\t\t\t\ts = getShortestWords(\"PatientAnswer.txt\");\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tString analysis = \"Wow \"+ \"[\" + l + \"]\" + \" and \" + \"[\" + s + \"]\" + \" seemed to be very important to you!\" ;\n\t\t\tJOptionPane.showMessageDialog(null, analysis);\n\t\t}\n\t\t\n\t\t//Start Sesson Button\n//\t\tif(btnClicked.equals(\"STARTSESSON\")){\n////\t\t\twelcome.setVisible(false);\n////\t\t\twelcome.setEnabled(false);\n//\t\t\tStartPanel.setVisible(false);\n//\t\t\tStartPanel.setEnabled(false);\n//\t\t\t\n//\t\t\tquestionPanel.add(welcome, BorderLayout.PAGE_START);\n//\t\t\tquestionPanel.setVisible(true);\n//\t\t\tquestionPanel.setEnabled(true);\n//\t\t\tquestionButton.setVisible(true);\n//\t\t\tquestionButton.setEnabled(true);\n//\t\t\t\n//\t\t\t\n//\t\t\t\t\n//\t\t}\n//\t\tif(btnClicked.equals(\"NEXTQUESTION\")){\n//\t\t\tSystem.out.println(counter);\n//\t\t\t\n//\t\t\tif(counter <10 ){\n//\t\t\t\twelcome.setText(question[counter]);\n//\t\t\t\tfile.writeToFile(\"Patient.txt\", welcome.getText());\n//\t\t\t\tfile.writeToFile(\"Patient.txt\", answer.getText());\n////\t\t\t\tquestionInfo.setText(question[counter]);\n//\t\t\t\t\n//\t\t\t\tcounter++;\n//\t\t\t\tanswer.setText(\"\");\n//\t\t\t\t\n//\t\t\t\t\n//\t\t\t}\n//\t\t\t if(counter == 10){\n//\t\t\t\t NEXTQUESTION.setText(\"Finish Session\");\n//\t\t\t\t System.out.println(\"Stop\");\n//\t\t\t\t \n//\t\t\t \n//\t\t\t if(btnClicked.equalsIgnoreCase(\"NEXTQUESTION\")){\n//\t\t\t\t \tquestionPanel.setVisible(false);\n//\t\t\t\t\tquestionPanel.setEnabled(false);\n//\t\t\t\t\tquestionButton.setVisible(false);\n//\t\t\t\t\tquestionButton.setEnabled(false);\n//\t\t\t\t\t\n//\t\t\t\t\tfinishPanel.setVisible(true);\n//\t\t\t\t\tfinishPanel.setEnabled(true);\n//\t\t\t }\n//\t\t\t }\n//\t\t}\n//\t\t\t\tint rep = JOptionPane.showConfirmDialog(null, \"Questions are over, are you ready?\", \"Result\", JOptionPane.YES_NO_OPTION);\n//\t\t\t\tif (rep == JOptionPane.YES_OPTION) {\n//\t\t\t\t\tcounter = 0;\n//\t\t\t\t\tquestionPanel.setVisible(false);\n//\t\t\t\t\tquestionPanel.setEnabled(false);\n//\t\t\t\t\tquestionButton.setVisible(false);\n//\t\t\t\t\tquestionButton.setEnabled(false);\n//\t\t\t\t\t\n//\t\t\t\t\tfinishPanel.setVisible(true);\n//\t\t\t\t\tfinishPanel.setEnabled(true);\n//\t\t\t\t} else {\n//\t\t\t\t\tint repFinal = JOptionPane.showConfirmDialog(null, \"Do you want to quit?\", \"WHAT?!!\", JOptionPane.YES_NO_OPTION);\n//\t\t\t\t\tif (repFinal == JOptionPane.YES_OPTION){\n//\t\t\t\t\t\tcounter = 0;\n//\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"GOODBYE\");\n//\t\t\t\t\t\tSystem.exit(0);\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tcounter = 0;\n//\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"VERY GOOD!\");\n//\t\t\t\t\t\tquestionPanel.setVisible(false);\n//\t\t\t\t\t\tquestionPanel.setEnabled(false);\n//\t\t\t\t\t\tquestionButton.setVisible(false);\n//\t\t\t\t\t\tquestionButton.setEnabled(false);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t\t\n \n\t}", "title": "" }, { "docid": "c60871b20bb8819dedd53768c8b0f07f", "score": "0.5481989", "text": "private void showNextQuestion() {\n /* Hide all quiz types */\n multipleChoice_view.setVisibility(View.GONE);\n singleChoice_view.setVisibility(View.GONE);\n freeText_view.setVisibility(View.GONE);\n\n /* Pick a state number to question about (zero based) */\n stateNumber = getRandom(stateNames.length);\n\n /* Create the question */\n\n /* find least used type of question and select that type */\n int smallestValueIdx = 0;\n for (int i = 0; i < totalQuestionsAskedByType.length; i++) {\n if (totalQuestionsAskedByType[i] < totalQuestionsAskedByType[smallestValueIdx]) {\n smallestValueIdx = i;\n }\n }\n switch (smallestValueIdx) {\n case 0:\n questionType = questionTypeENUM.SINGLE_CHOICE;\n break;\n case 1:\n questionType = questionTypeENUM.MULTIPLE_CHOICE;\n break;\n case 2:\n questionType = questionTypeENUM.FREE_TEXT;\n break;\n }\n\n /* Toggle proper visibilities and question/answer values */\n switch (questionType) {\n case SINGLE_CHOICE:\n questionAnswerIdx = getPossibleAnswers(stateNumber);\n questionText = \"Which city is the capital of \" + stateNames[stateNumber] + \"?\";\n for (int idx = 0; idx < 4; idx++) {\n questionAnswerText[idx] = capitalNames[questionAnswerIdx[idx]];\n }\n\n /* Clear Radio Buttons */\n singleChoice_view.clearCheck();\n\n question_text_view.setText(questionText);\n if (questionAnswerIdx[0] != -1) {\n radioButton1_view.setText(questionAnswerText[0]);\n radioButton1_view.setVisibility(View.VISIBLE);\n } else {\n radioButton1_view.setVisibility(View.GONE);\n }\n\n if (questionAnswerIdx[1] != -1) {\n radioButton2_view.setText(questionAnswerText[1]);\n radioButton2_view.setVisibility(View.VISIBLE);\n } else {\n radioButton2_view.setVisibility(View.GONE);\n }\n\n if (questionAnswerIdx[2] != -1) {\n radioButton3_view.setText(questionAnswerText[2]);\n radioButton3_view.setVisibility(View.VISIBLE);\n } else {\n radioButton3_view.setVisibility(View.GONE);\n }\n\n if (questionAnswerIdx[3] != -1) {\n radioButton4_view.setText(questionAnswerText[3]);\n radioButton4_view.setVisibility(View.VISIBLE);\n } else {\n radioButton4_view.setVisibility(View.GONE);\n }\n\n totalQuestionsAskedByType[0]++;\n singleChoice_view.setVisibility(View.VISIBLE);\n break;\n case MULTIPLE_CHOICE:\n questionAnswerIdx = getPossibleAnswers(stateNumber);\n questionText = getString(R.string.cities_are_not) + stateNames[stateNumber] + \"?\";\n for (int idx = 0; idx < 4; idx++) {\n questionAnswerText[idx] = capitalNames[questionAnswerIdx[idx]];\n }\n question_text_view.setText(questionText);\n\n\n checkbox1_view.setChecked(false);\n if (questionAnswerIdx[0] != -1) {\n checkbox1_view.setText(questionAnswerText[0]);\n checkbox1_view.setVisibility(View.VISIBLE);\n } else {\n checkbox1_view.setVisibility(View.GONE);\n }\n\n checkbox2_view.setChecked(false);\n if (questionAnswerIdx[1] != -1) {\n checkbox2_view.setText(questionAnswerText[1]);\n checkbox2_view.setVisibility(View.VISIBLE);\n } else {\n checkbox2_view.setVisibility(View.GONE);\n }\n\n checkbox3_view.setChecked(false);\n if (questionAnswerIdx[2] != -1) {\n checkbox3_view.setText(questionAnswerText[2]);\n checkbox3_view.setVisibility(View.VISIBLE);\n } else {\n checkbox3_view.setVisibility(View.GONE);\n }\n\n checkbox4_view.setChecked(false);\n if (questionAnswerIdx[3] != -1) {\n checkbox4_view.setText(questionAnswerText[3]);\n checkbox4_view.setVisibility(View.VISIBLE);\n } else {\n checkbox4_view.setVisibility(View.GONE);\n }\n\n totalQuestionsAskedByType[1]++;\n multipleChoice_view.setVisibility(View.VISIBLE);\n break;\n case FREE_TEXT:\n questionText = getString(R.string.capital_of_which) + capitalNames[stateNumber] + \"?\";\n question_text_view.setText(questionText);\n editText_view.setText(\"\");\n freeText_view.setVisibility(View.VISIBLE);\n editText_view.requestFocus();\n totalQuestionsAskedByType[2]++;\n break;\n }\n\n /* Show quiz panel */\n quiz_view.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "ea29af33d8943375d965b1e6dcaf4651", "score": "0.5472903", "text": "private void onFinish() {\n MainActivity.mDatabaseHelper.updateScore(topic.getId(), score);\n\n //provide dynamic \"finished\" text\n if (score == 5) {\n question.setText(\"WOOHOO!!! PERFECT SCORE: \" + score + \"/5 for \" + topic.getName());\n } else if (score >= 3) {\n question.setText(\"Nice work! You scored: \" + score + \"/5 for \" + topic.getName());\n } else if (score == 0) {\n question.setText(\"Wow you scored \" + score + \"/5 for \" + topic.getName() + \"...better get back to revising\");\n } else {\n question.setText(\"Uh oh... you only scored \" + score + \"/5 for \" + topic.getName());\n }\n //remove the true/false buttons and replace with a back button\n falseButton.setVisibility(View.INVISIBLE);\n trueButton.setVisibility(View.INVISIBLE);\n backButton.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "ab2d18b809cc16379c1be6144aba0470", "score": "0.545651", "text": "@Override\n\t\t\t\t\tpublic void handle(ActionEvent e)\n\t\t\t\t\t{\n\t\t\t\t\t\t//Increment the number solved\n\t\t\t\t\t\tnumSolved++;\n\t\t\t\t\t\t//When the user solve all questions \n\t\t\t\t\t\tif(quizList.size()==numSolved)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//Set the numsolved field 0 for the future work\n\t\t\t\t\t\t\tnumSolved=0;\n\t\t\t\t\t\t\t//Draw result page\n\t\t\t\t\t\t\tdrawResultPage();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//Otherwise\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//Show the next question\n\t\t\t\t\t\t\tdrawStartWindow();\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "title": "" }, { "docid": "29f4c9bd78be3b9ff1075e4653794bfe", "score": "0.5455421", "text": "public void displayNextTaskPromptOrganizer(){\n System.out.print(\"Please enter next task (reminder, you can type '14' to see what you can do): \");\n }", "title": "" }, { "docid": "08ff483b95e50f176d14cc14b104e86a", "score": "0.54509634", "text": "public void displayReportMenu() {\n\t\tSystem.out.println(\"\\nReport Menu\\n\" + \"***************************\\n\" + \"1. Modules taught by\\n\"\n\t\t\t\t+ \"2. Students registered on\\n\" + \"3. Staff who teach student\\n\" + \"4. Staff who teach more than\\n\"\n\t\t\t\t+ \"0. Back\\n\");\n\t}", "title": "" }, { "docid": "35270779bc455c1802e18a09f7c85f86", "score": "0.54468036", "text": "public void displayNextTaskPromptAttendee(){\n System.out.print(\"Please enter next task (reminder, you can type '7' to see what you can do): \");\n }", "title": "" }, { "docid": "0fa01cd174993d51b78d6ba71fe91f7f", "score": "0.5435575", "text": "public boolean saveAnswersForCurrentScreen(boolean evaluateConstraints) {\n /**\n * only try to save if the current event is a question or a field-list group\n */\n\n\t\t/*\n * //CHIUDO LA TASTIERA InputMethodManager imm =\n\t\t * (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);\n\t\t * if(imm.isActive()) { try {\n\t\t * //imm.hideSoftInputFromWindow(getWindow().getDecorView\n\t\t * ().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);\n\t\t * imm.hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(),\n\t\t * 0); } catch(Exception e) { Log.e(\"CHIUSURA DELLA TASTIERA\",\n\t\t * \"LA TASTIERA NON AVEVA IL FOCUS\"); e.printStackTrace(); } }\n\t\t */\n\n // CLEAR DI TUTTI I FOCUS DELLE EDIT TEXT\n // mCurrentView.clearFocus(); //<--------------------------12/11/2013 SE\n // DECOMMENTO VA IN ERRORE NEI ROSTER PER I MULTILINE E SINGLELINE\n // MULTIPLI\n\n try {\n if (mFormController.getEvent() == FormEntryController.EVENT_QUESTION\n || (mFormController.getEvent() == FormEntryController.EVENT_GROUP && mFormController\n .indexIsInFieldList())) {\n\n if (mCurrentView != null) {\n\n HashMap<FormIndex, IAnswerData> answers = ((ODKView) mCurrentView).getAnswers();\n\n ArrayList<QuestionWidget> list = ODKView.getWidget();\n\n for (int i = 0; i < list.size(); i++) {\n //if (list.get(i) instanceof SelectOneWidget|| list.get(i) instanceof SpinnerWidget) {//LL eliminato crea delle anomalie nella inizializzazione degli spinner quando ancora non hanno una risposta\n if (list.get(i) instanceof SelectOneWidget) {\n answers.put(\n list.get(i).getPrompt().getIndex(),\n FormEntryActivity.mFormController\n .getQuestionPrompt(\n list.get(i).getPrompt()\n .getIndex()\n )\n .getAnswerValue()\n );\n }\n }\n\n Set<FormIndex> indexKeys = answers.keySet();\n /**\n * check the contraints before to do swipe\n */\n int lestIndex=0;\n for (FormIndex index : indexKeys) {\n if (mFormController.getEvent(index) == FormEntryController.EVENT_QUESTION) {\n int saveStatus = saveAnswer(answers.get(index), index,\n evaluateConstraints);\n\n// if(saveStatus==2)\n// {\n//\n// list.get(lestIndex).mQuestionText.setBackgroundColor(colorHelper.getMandatoryBackgroundColor());\n// list.get(lestIndex).mQuestionText.setTextColor(colorHelper.getMandatoryForeColor());\n//\n// }\n if (arrValidForm.size() == 0) {\n if (evaluateConstraints\n && saveStatus != FormEntryController.ANSWER_OK) {\n createConstraintToast(mFormController\n .getQuestionPrompt(index)\n .getConstraintText(), saveStatus);\n return false;\n }\n } else {\n Log.w(t,\n \"Attempted to save an index referencing something other than a question: \"\n + index.getReference()\n );\n }\n for (int i = 0; i <= arrValidForm.size() - 1; i++) {\n String rep = index.toString().trim()\n .substring(0, 4);\n String splitrep[] = rep.split(\",\");\n String splitrep2[] = arrValidForm.get(i).toString()\n .substring(0, 4).split(\", ,\");\n if (splitrep2[0].toString().equals(rep)) {\n if (evaluateConstraints\n && saveStatus != FormEntryController.ANSWER_OK) {\n createConstraintToast(mFormController\n .getQuestionPrompt(index)\n .getConstraintText(), saveStatus);\n arrValidForm.set(i + 1, \"false\");\n return false;\n } else {\n arrValidForm.set(i + 1, \"true\");\n Log.w(t,\n \"Attempted to save an index referencing something other than a question: \"\n + index.getReference()\n );\n }\n }\n if (i < arrValidForm.size() - 1) {\n i = i + 1;\n }\n }\n }\n lestIndex++;\n }\n } else {\n System.out.println(\"View is null ................ \");\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return true;\n }", "title": "" }, { "docid": "bf1e9dbc697d661dd1bb77a9298f3657", "score": "0.5406019", "text": "public void displayResults() {\n\t\t\r\n\t\tSystem.out.printf(\"You took %d tries to guess the answer!\\n\", ref);\r\n\t\t\r\n\t\tfor(int x=0; x<ref; x++) {\r\n\t\t\t\r\n\t\t\tSystem.out.printf(\"Answer %2d: \\t %2d \\n\", x+1, answerArray[x]);\r\n\t\t\t\r\n\t\t}\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "5fd49498b20de4a42108c75e758de64c", "score": "0.5402624", "text": "private void displayRandomProgressReport() {\n\n // Gets a random double to act as the probability.\n double ran = Math.random();\n\n // Displays a goal or distance motivation pop up with a chance of 50%.\n if (ran <= 1) {\n int stepGoal = user.getStepGoal();\n double totalSteps = ApplicationManager.getDatabaseManager().getActivityManager().getUpdatedStepGoal(ApplicationManager.getCurrentUserID());\n double stepsLeft = stepGoal - totalSteps;\n String stepsLeftString = String.format(\"%.0f Steps\", stepsLeft);\n ApplicationManager.displayPopUp(\"Congratulations\", \"You only have \" + stepsLeftString + \" until you reach your goal steps.\", \"confirmation\");\n } else {\n int distanceGoal = user.getDistanceGoal();\n double totalDistance = ApplicationManager.getDatabaseManager().getActivityManager().getUpdatedDistanceGoal(ApplicationManager.getCurrentUserID());\n double distanceLeft = distanceGoal - totalDistance;\n String distanceLeftString = String.format(\"%.0f Kilometers\", distanceLeft);\n ApplicationManager.displayPopUp(\"Congratulations\", \"You only have \" + distanceLeftString + \" until you reach your goal distance.\" , \"confirmation\");\n }\n }", "title": "" }, { "docid": "c188b566a506ac0d53d10a209d81bd23", "score": "0.5401527", "text": "private void showBackAlertDialog() {\n\n new AlertDialog.Builder(QuizPlayerActivity.this)\n .setMessage(getString(R.string.close_alert_title))\n .setPositiveButton(R.string.exit, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n if (mQuestionResponses != null && mQuestionResponses.size() > 0) {\n submitQuizResponse();\n } else {\n finish();\n }\n\n }\n }).setNegativeButton(R.string.label_continue, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n }).show();\n }", "title": "" }, { "docid": "34e202d019e132eb2b76b327d44921a9", "score": "0.5396236", "text": "private void showAnswer(boolean truth) {\n correct = truth;\n TextView correctionView = findViewById(R.id.correction);\n if (truth) {\n correctionView.setText(\"Correct\\nthe answer was: \" + question.getAnswer());\n correctionView.setTextColor(Color.parseColor(\"#96DC96\"));\n int pointsQuestion = question.getDifficulty();\n if (pointsQuestion == 0) {\n score += 200;\n } else{\n score += question.getDifficulty();\n }\n } else {\n correctionView.setText(\"Wrong\\nthe answer was: \" + question.getAnswer());\n correctionView.setTextColor(Color.parseColor(\"#DC9696\"));\n TextView livesView = findViewById(R.id.lives);\n String livesText = \"Lives: \" + lives;\n if (lives < 1) {\n livesView.setTextColor(Color.parseColor(\"#DC9696\"));\n }\n livesView.setText(livesText);\n }\n correctionView.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "46f24951dcaaa7d791315c8e4eb9aaa6", "score": "0.5396159", "text": "public void printAnswerIsCorrect(Question question);", "title": "" }, { "docid": "642944334e71df9672e110bb9fc1d80d", "score": "0.5393923", "text": "private void previousButtonActionPerformed() {\n QuestionPool qPool;\n try {\n qPool = JQuestions.getQuestionPool();\n } catch (NullPointerException npe) {\n // logic.Question Pool doesn't exist !\n return;\n } catch (Exception ex) {\n ex.printStackTrace();\n return;\n }\n\n // 1. save current UserAnswer state.\n JQUserAnswer currentAnswer = jQUserAnswers.get(currentRecordIndex);\n\n if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.MULTI_CHOICE) {\n\n int options = currentlyDisplayedQuestion.getNumberOfPossibleAnswers();\n for (int i = 0; i < options; i++) {\n currentAnswer.setAnswerBox(i, multiChoicePanel.getAnswerBox(i).isSelected());\n }\n } else if (currentlyDisplayedQuestion.getQuestionType() == QuestionType.DRAG_N_DROP) {\n // The contents of the JTextFields in a DnD question are conveniently\n // stored 'automatically' in the JTextField object itself, so we don't\n // need to update them every time they are displayed.\n //currentAnswer.setAnswerField(x, answerField1.isSelected());....\t\t\t\t\t\t\n }\n\n\n // 2. Display previous record.\n if (qIdsIndex > 0) {\n qIdsIndex -= 1;\n }\n int index = questionIds.get(qIdsIndex);\n currentlyDisplayedQuestion = qPool.getQuestion(index);\n if (currentlyDisplayedQuestion != null) {\n currentRecordIndex = index;\n displayQuestionRecord(currentlyDisplayedQuestion);\n setFieldsEditable(false);\n } else { // No records.\n currentRecordIndex = -1;\n }\n }", "title": "" }, { "docid": "be4656598017179bb137e6b601b54726", "score": "0.53875947", "text": "private void checkAnswer (char answer)\n {\n if (gamePanel.getStage())\n {\n if (gamePanel.getQuestion().getAnswer()==answer)\n {\n if (currentQuestion==0)\n {\n System.out.println (\"More\");\n gamePanel.getAButton().setEnabled(true);\n gamePanel.getBButton().setEnabled(true);\n gamePanel.getCButton().setEnabled(true);\n gamePanel.getDButton().setEnabled(true);\n Question temp=currentCountry.getRandQuestion(difficulty);\n while (temp==gamePanel.getQuestion())\n {\n temp=currentCountry.getRandQuestion(difficulty);\n }\n gamePanel.setQuestion(temp);\n currentQuestion++;\n }\n else\n {\n System.out.println (\"Exec\");\n levelsRemaining--;\n System.out.println (levelsRemaining);\n alreadyBeen.add(currentCountry);\n showMapPanel();\n }\n }\n else\n {\n System.out.println (\"remove\");\n gamePanel.removeWrongAnswer(answer);\n }\n }\n else\n {\n if (answer-65==gamePanel.getAnswer())\n {\n showCountryPanel();\n System.out.println (\"show country\");\n }\n else\n {\n gamePanel.removeWrongDestination(answer-65);\n System.out.println (\"remove country \" + (answer-65));\n }\n }\n }", "title": "" }, { "docid": "085eed0b37cc806094529dcc37a2e564", "score": "0.53823256", "text": "public boolean askQuestion() {\n // generate random question and answer choices\n String currentQ = qa.generateRandomQ();\n String [] answers = qa.generateAnswers(currentQ);\n \n // dialogue box\n String s = (String) JOptionPane.showInputDialog (null, currentQ, \n \"Answer carefully, or a life will be deducted!\", \n JOptionPane.PLAIN_MESSAGE, null, \n answers, answers[0]);\n boolean correct = qa.isCorrect(currentQ,s);\n \n // case where user answers incorrectly\n if (!correct) {\n // decrement life, give opponent turn\n if (b.getCurrentTurn()==1){\n playerOneLives--;\n b.currentTurn=2; \n } else {\n playerTwoLives--;\n b.currentTurn = 1;\n } \n } \n return correct; \n }", "title": "" }, { "docid": "2a8443388510e65b3dc526f8b0a343d6", "score": "0.5371491", "text": "public void printAnswer() {\n\t\tSystem.out.println(\"TODO... FORMAT THIS: \" + this.answer);\n\n\n\t}", "title": "" }, { "docid": "f3da860f831d7c1e51755cce47538ae2", "score": "0.5346851", "text": "private void checkProgress() {\n\n // Triggered if user is on the final question and this is the user's first time through the questions.\n if (isFirstPass == true && questionIndex == questionArray.length - 1) {\n isFirstPass = false; // Change global variable to show user has finished their first pass through the questions.\n // Cycle through the questions, checking to see if any were skipped\n for (int i = 0; i < questionArray.length; i++) {\n if (questionArray[i].wasAnswered == false) {\n lastChance(); // Since all questions have been viewed and some have been skipped, send user to the Last Chance screen\n break;\n } else if (i == questionArray.length - 1 && questionArray[i].wasAnswered == true) {\n // If execution reaches this line, there are no skipped questions and the Grade Quiz screen will be shown.\n gradeQuiz();\n }\n\n }\n\n } else if (isFirstPass == false && questionIndex == questionArray.length - 1) { // Triggered if user is on the final question and it is user's second time through (skipped questions).\n gradeQuiz(); // Grade Quiz screen will be shown\n } else { // If current question is not the final question (whether first pass or revisitig skipped questions), move on to checking/loading the next question.\n questionIndex++; // Increment questionIndex\n nextQuestion(); // Call the this method again to load the next question\n }\n }", "title": "" }, { "docid": "ee5603b30cdec9b004fb100b7ed5da53", "score": "0.5346069", "text": "public void results(){\r\n\t\tif (this.hasBegun()){\r\n\t\t\tif (this.getWindow().askForResults()){\r\n\t\t\t\tthis.window.openView(Game.RESULTS);\r\n\t\t\t} else {\r\n\t\t\t\tthis.getWindow().openView(Game.END);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.window.openView(Game.RESULTS);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "15f49fbcaac7e900599ccde7cd26477c", "score": "0.5341297", "text": "private void showResult(int level) {\n if (enteredNumber == showNumber){\n gFourNextBtn.setVisible(true);\n }else{\n gFourLabelStart.setText(\"You Lose\");\n gFourLabelStart.setVisible(true);\n save_score_btn.setDisable(false);\n }\n gFourTextField.clear();\n gFourTextField.setVisible(false);\n gFourLabelHeading.setText(\"Level: \"+ level);\n gFourLabelInfo.setText(\"Shown Number: \" + showNumber + \" You Entered: \"+ enteredNumber);\n }", "title": "" }, { "docid": "f2030c9a74983a57b1ec19b0eaa6aa84", "score": "0.53400433", "text": "public void updateView() {\n nextButton.setEnabled(false);\n\n Question questions = dataBaseManager.selectByID(1);\n questionTx2.setText(\"???\");\n answer = questions.getCorrectAns();\n\n\n questionTx.setText(questions.getQuestion());\n\n\n\n }", "title": "" }, { "docid": "6fb7cd9536b37d02826d32fe170ea657", "score": "0.5333004", "text": "public BeansReportOralExaminationQuestion() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "1ed716df8a6b70f8ce7e2be592e9068d", "score": "0.5325603", "text": "private void show_question() {\n String q = all_questions[current_question]; //Sacamos la info de la pregunta 0 del array all_questions\n String[] parts = q.split(\";\"); //Partimos el string en trozos con ;\n\n group.clearCheck(); //Quitamos la seleccion de la pregunta anterior\n\n text_questions.setText(parts[0]);\n // String[] answers = getResources().getStringArray(R.array.answers); ya no va asi\n\n for(int i=0; i < ids_answers.length;i++)\n {\n RadioButton rb= (RadioButton) findViewById(ids_answers[i]);\n String ans = parts[i+1];\n if(ans.charAt(0)=='*'){ //Ojo que si pones \"\" es para strings y '' es para caracteres\n correct_answer = i; //Estamos creando la variable correct_answer nos sale en rojo, le damos Alt+Enter y le damos a crear campo\n ans = ans.substring(1); // enseña el string a partir del caracter 1\n }\n rb.setText(ans);\n if(answer[current_question]==i)\n {\n rb.setChecked(true);\n }\n }\n if(current_question==0)\n {\n btn_prev.setVisibility(View.INVISIBLE);\n }\n else\n {\n btn_prev.setVisibility(View.VISIBLE);\n }\n if(current_question == all_questions.length-1)\n {\n btn_next.setText(R.string.finish);\n }\n else\n {\n btn_next.setText(R.string.next);\n }\n }", "title": "" }, { "docid": "b190e9a54a238b6171ee90f68591f5fc", "score": "0.53173006", "text": "public void reportBtnShow() {\r\n\t\treportButton.setVisible(true);\r\n\t}", "title": "" }, { "docid": "551ff234e3b654eff15295610748af11", "score": "0.5309476", "text": "private void showIncorrect() {\n\t\t// Get all incorrect questions\n\t\tList<Question> incorrect = getIncorrect();\n\t\t\n\t\t// Select a random question\n\t\tQuestion randomQ = (Question) randomElement(incorrect);\n\t\t\n\t\t// Display\n\t\tgame.practiceQuestionPage().show(randomQ, \"Incorrect\");\n\t}", "title": "" }, { "docid": "e6ba1d85a619e7390e30f134dc5708e2", "score": "0.5286992", "text": "private StringBuilder displayWhatStatisticDialog() {\n ConsoleIOUtility.print(\"\");\n return ConsoleIOUtility.read(\n \"- Choose \\\"0\\\" for back to main menu\\n\" + //\n \"- Choose \\\"1\\\" for calculate last page statistics, display statistics of the last page\\n\");\n }", "title": "" }, { "docid": "d783116c8597d5c425a25fa7b9039750", "score": "0.5282574", "text": "private String askQuestion(String question, List<String> answers) {\n String response = \"\";\n Scanner keyboard = new Scanner(System.in);\n boolean choices = ((answers == null) || answers.size() == 0) ? false : true;\n boolean firstRun = true;\n do {\n if (!firstRun) {\n System.out.println(\"Invalid selection. Please try again.\");\n }\n System.out.print(question);\n if (choices) {\n System.out.print(\"(\");\n for (int i = 0; i < answers.size() - 1; ++i) {\n System.out.print(answers.get(i) + \"/\");\n }\n System.out.print(answers.get(answers.size() - 1));\n System.out.print(\"): \");\n }\n response = keyboard.nextLine();\n firstRun = false;\n if (!choices) {\n break;\n }\n } while (!answers.contains(response));\n return response;\n }", "title": "" }, { "docid": "97b83b75a50062b756b208f0fad550e2", "score": "0.5282487", "text": "@Override\n\tpublic void receiveReport(QualifiedObservableReport incomingReport)\n\t{\n\t\tif (incomingReport instanceof SendChatMessageReport)\n\t\t{\n\t\t\tString answer = question.getAnswer().toLowerCase().replaceAll(\" \", \"\");\n\t\t\tSendChatMessageReport report = (SendChatMessageReport) incomingReport;\n\t\t\tString userAnswer = report.getMessage().toLowerCase().replaceAll(\" \", \"\");\n\t\t\tif (answer.equals(userAnswer))\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tint playerID = PlayerManager.getSingleton().getPlayerIDFromPlayerName(report.getSenderName());\n\t\t\t\t\tPlayer player = PlayerManager.getSingleton().getPlayerFromID(playerID);\n\n\t\t\t\t\tChatManager.getSingleton().sendChatToClients(\n\t\t\t\t\t\t\tplayer.getPlayerName() + \" answered correctly. The answer was \" + question.getAnswer(),\n\t\t\t\t\t\t\t\"Quiz Bot\", new Position(0, 0), ChatType.Zone);\n\t\t\t\t\tplayer.incrementQuizScore();\n\t\t\t\t\tChatManager.getSingleton().sendChatToClients(\n\t\t\t\t\t\t\tplayer.getPlayerName() + \" score is now \" + player.getQuizScore(), \"Quiz Bot\",\n\t\t\t\t\t\t\tnew Position(0, 0), ChatType.Zone);\n\t\t\t\t} catch (PlayerNotFoundException e)\n\t\t\t\t{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tpullNewQuestion();\n\t\t\t\taskQuestion();\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "69374de9c32f370b2272ba39e15554f2", "score": "0.52721214", "text": "@Override\n public void onClick(View v) {\n count++;\n\n if(count<questions.length){\n display();}\n else{\n gotoResults();\n }\n\n\n }", "title": "" }, { "docid": "bb2da2b7bde330a10508e9bc5eafb583", "score": "0.52668774", "text": "@Override\n public void onFinish() {\n txtToast.setText(\"Correct Answers: \" + String.valueOf(noCorrectAnswer) + \"\\n All Questions: \" + String.valueOf(noAllQuestions));\n resetGame();\n\n }", "title": "" }, { "docid": "3c7685fd78ca37bad3773f802628da45", "score": "0.52645415", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\t\tif(!answered) {\n\t\t\t\t\t\tif (aRadioButton.isSelected()||bRadioButton.isSelected()||cRadioButton.isSelected()||dRadioButton.isSelected()) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tcheckAnswer();\n\t\t\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(submitButton, \"Why not guess an answer even if you do not know it?\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tshowQuestion();\n\t\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "3b986826b384b8d1e938cd0fac3cdda7", "score": "0.52602434", "text": "private String handleAnswer(int answerIndex) {\n if (isCorrectAnswer(answerIndex)) {\n flashCardOk();\n return answerFeedback(true);\n } else {\n flashCardAgain();\n return answerFeedback(false);\n }\n }", "title": "" }, { "docid": "1bb78317c1b33fb3c5639996f6ffe99a", "score": "0.5258637", "text": "public void reportAnsweredLast(long time) {\n ExplanationResult explanationResult = createStatEntry(ExplanationResult.Result.GUESSED, time);\n roundResult.addExplanationResult(explanationResult);\n currentWord ++;\n }", "title": "" }, { "docid": "a20d4705f6d9c5b8437229f7e1171426", "score": "0.5253885", "text": "private void setReportButton() {\n reportBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if (reportedMonths.contains(calendarView.getCurrentPageDate().getTime())) return;\n reportSuccessDialog();\n }\n });\n }", "title": "" }, { "docid": "845b81041cd2cfac618bed2c37f7b1fc", "score": "0.52533966", "text": "private void submitAnswer() {\n //Get the selected option and answer\n int selectedId = options.getCheckedRadioButtonId();\n RadioButton radioButton = (RadioButton) findViewById(selectedId);\n\n //Determine if the selected answer is the correct one\n if (quest.getAnswer().equals(radioButton.getText().toString())) {\n //If yes, the add to the user score\n userScore += quest.getScore();\n }\n //clear the selected options on the UI\n options.clearCheck();\n //if the current question index equals the total number of questions\n //then forward user to the FinishActivity\n //Send the userScore and total to the new activity\n if (index == questions.size()) {\n Intent intent = new Intent(this, FinishActivity.class);\n intent.putExtra(\"userScore\", userScore);\n intent.putExtra(\"total\", totalScore);\n startActivity(intent);\n } else {\n // if the current question is the last question,\n // set next button to Finish Quiz\n if (index == questions.size() - 1) {\n next.setText(\"Finish Quiz\");\n }\n //call the ask question method\n askQuestion();\n }\n }", "title": "" }, { "docid": "4b4eaf595c763fcf31fc336749479670", "score": "0.5253277", "text": "public void quiz()\n {\n Scanner input = new Scanner( System.in );\n\n int guess; // the user's guess\n\n createQuestion(); // display the first question\n\n System.out.println( \"Enter your answer (-1 to exit):\" );\n guess = input.nextInt();\n\n while ( guess != -1 )\n {\n checkResponse( guess );\n \n System.out.println( \"Enter your answer (-1 to exit):\" );\n guess = input.nextInt();\n } // end while\n }", "title": "" }, { "docid": "f291f5c9bf8b2efe8856bd9010bd9f07", "score": "0.52469915", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n this.question = ((QuestionButton)e.getSource()).getQuestion();\n \n //3. retrieve question\n // this.question = this.game.getQuiz().getQustionFromIndex(index);\n String userAnswer = JOptionPane.showInputDialog(null,this.question.getQuestion(),\"Category: \" + this.question.getCategory(),3); \n if (this.question.getAnswer().equals(userAnswer)){\n JOptionPane.showMessageDialog(null, \"Correct Answer, \" + this.game.getStudents().get(playerNumber).getName() +\"!\");\n points[playerNumber] += this.question.getPoints();\n } else {\n JOptionPane.showMessageDialog(null, \"Wrong. You'll get it next time, \" + this.game.getStudents().get(playerNumber).getName()+ \"!\");\n \n points[playerNumber] -= this.question.getPoints();\n }\n label.setText(this.game.getStudents().get(playerNumber).getName() + \" score: \" + points[playerNumber]);\n \n }", "title": "" }, { "docid": "4605126fa3916f89795d3b04dd69b0ac", "score": "0.52373046", "text": "private void askNumber() {\n gFourLabelHeading.setText(\"What was the Number?\");\n gFourLabelInfo.setVisible(true);\n gFourLabelInfo.setText(\"Press Enter To Submit\");\n gFourTextField.setVisible(true);\n gFourSubmitButton.setVisible(true);\n }", "title": "" }, { "docid": "6b6f6dfcde2ead7cd5f5385a19c4954f", "score": "0.523092", "text": "private void displayLastSection() {\n a5 = new JLabel(questions.getQuestion(20));\n c5 = new JLabel(questions.getQuestion(21));\n s5 = new JLabel(questions.getQuestion(22));\n e5 = new JLabel(questions.getQuestion(23));\n i5 = new JLabel(questions.getQuestion(24));\n }", "title": "" }, { "docid": "3b4958c58249f49c856ef0b38128ad8a", "score": "0.52292573", "text": "void displayForTestQuestion(final TestQuestion testQuestion);", "title": "" }, { "docid": "e5eed4e489e6261133b91bdbd993a0ee", "score": "0.5229034", "text": "@Override\n\tpublic void displayQuestion() {\n\t\to.send(prompt);\n\t\tfor (int i=0; i < leftChoices.size(); i++)\n\t\t{\n\t\t\tSystem.out.println((i+1) + \") \" + leftChoices.get(i) + \" \" + (i+1) + \") \" + rightChoices.get(i));\n\t\t}\n\t\t\n\t\t/*for (int k=0; k < rightChoices.size(); k++)\n\t\t{\n\t\t\tSystem.out.println(k+1 + \") \" + rightChoices.get(k));\n\t\t}\n\t\t*/\n\t\t\n\t}", "title": "" }, { "docid": "3e93549421e88f3e28c14f4405b71a92", "score": "0.52179193", "text": "private String answerFeedback(boolean isCorrectAnswer) {\n if (isCorrectAnswer) {\n return \"Correct answer!\";\n } else {\n String msg = String.format(\"Incorrect answer!.\\nThe answer should be %s instead!\",\n getCurrentFlashCard().getBackText());\n return msg;\n }\n }", "title": "" }, { "docid": "c010b2c8e7c3a6aaa32f86aa92b2f31f", "score": "0.5210195", "text": "public void ShowApp()\n\t{\n\t\tString answer = \"keep going\";\n\t\t\n\t\twhile(answer == null || !answer.equals(\"no\"))\n\t\t{\n\t\t\tJOptionPane.showMessageDialog(null,myChatBot.getRandomTopic());\n\t\t\tanswer = GetInput();\n\t\t\tuseInput(answer);\n\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "472aa705161531ec43a615a6a0af321a", "score": "0.5201203", "text": "public void actionPerformed(ActionEvent e) {\n if (alwaysuseThisAnswer.isSelected()) {\n BugSettings.SHOW_BUGS.setValue(false);\n }\n String userComments = userCommentsTextArea.getText();\n if(!userComments.equals(defaultDesc))\n info.addUserComments(userComments);\n sendToServlet(info);\n DIALOG.dispose();\n _dialogsShowing--;\n }", "title": "" }, { "docid": "dcbe2a7ed3cbfa06046ed7f8da3dc077", "score": "0.5199455", "text": "public void button_answer_onClick(View view) {\n hideSoftKeyboard();\n numberOfQuestionsAnswered++;\n if (answerCorrect()) {\n numberOfQuestionsAnsweredCorrectly++;\n }\n updateScore();\n if (numberOfQuestionsAnswered == numberOfQuestionsPerQuiz) {\n scoreText = \"You answered \" + numberOfQuestionsAnsweredCorrectly + \" out of \" + numberOfQuestionsAnswered + \" correctly.\";\n numberOfQuestionsAnsweredCorrectly = 0;\n numberOfQuestionsAnswered = 0;\n for (int idx = 0; idx < totalQuestionsAskedByType.length; idx++) {\n totalQuestionsAskedByType[idx] = 0;\n }\n filter_view.setVisibility(View.GONE);\n quiz_view.setVisibility(View.GONE);\n button_begin_view.setVisibility(View.VISIBLE);\n scoreboard_view.setVisibility(View.GONE);\n Toast.makeText(getApplicationContext(), scoreText, Toast.LENGTH_LONG).show();\n } else {\n showNextQuestion();\n }\n }", "title": "" }, { "docid": "c29b794b0f4cca983c65aa4eaed6f006", "score": "0.51965415", "text": "public String displayQuestion() {\n\t\treturn this.text;\n\t}", "title": "" }, { "docid": "98fe32cc94a6a7d57302d7b0024ffa10", "score": "0.519167", "text": "private void showExercise() {\r\n ex = getCurrentExercise();\r\n \r\n // Show the directions for this exercise. If there are both\r\n // group-level directions and exercise-level instructions,\r\n // only display both together for the first exercise in the\r\n // group so that when the user goes on to the next problem,\r\n // it is very obvious that the directions displayed have changed.\r\n String directions = \"There are no directions for this exercise.\";\r\n if (!getCurrentGroup().getDirections().trim().equals(\"\")\r\n && (ex.getIndex() == 0 || ex.getInstructions() == null)) {\r\n directions = getCurrentGroup().getDirections();\r\n if (ex.getInstructions() != null)\r\n directions += \"\\n\\n\" + ex.getInstructions();\r\n } else if (ex.getInstructions() != null) {\r\n directions = ex.getInstructions();\r\n }\r\n lblDirections.setText(directions);\r\n lblDirections.setCaretPosition(0);\r\n \r\n if (ex instanceof TypeExercise) { \r\n btnTransfer.setEnabled(false);\r\n switchViewTo(TYPES_AND_CONVERSIONS);\r\n } else if (ex instanceof LambdaConversionExercise) {\r\n switchViewTo(TYPES_AND_CONVERSIONS);\r\n } else if (ex instanceof TreeExercise) {\r\n btnTransfer.setEnabled(false);\r\n switchViewTo(TREES);\r\n treeDisplay.initialize((TreeExercise)ex);\r\n lexiconList.initialize(getCurrentExFile(), ex, treeDisplay);\r\n }\r\n\r\n btnPrev.setEnabled(currentEx > 0 || currentGroup > 0);\r\n btnNext.setEnabled(currentEx+1 < getCurrentGroup().size() || currentGroup+1 < getCurrentExFile().size() );\r\n \r\n //TitledBorder tb = (TitledBorder)jPanelQuestion.getBorder();\r\n //tb.setTitle(\"Current Problem: \" + ex.getShortDirective());\r\n \r\n jLabelAboveQuestion.setText((ex.getIndex()+1) + \". \" + ex.getShortDirective());\r\n \r\n jLabelAboveDirections.setText(getCurrentGroup().getNumberedTitle());\r\n \r\n setAnswerEnabledState();\r\n setQuestionText();\r\n\r\n if (txtUserAnswer.isEnabled()) {\r\n txtUserAnswer.requestFocusInWindow();\r\n }\r\n\r\n try {\r\n updatingTree = true; // this prevents recursion when the event is\r\n // fired as if the user is clicking on this node\r\n jTreeExerciseFile.setSelectionPath\r\n (new TreePath\r\n (new Object[] { getCurrentExFile(), \r\n new ExerciseTreeModel.ExerciseGroupWrapper(getCurrentGroup()), \r\n new ExerciseTreeModel.ExerciseWrapper(ex) } ));\r\n jTreeExerciseFile.scrollPathToVisible(jTreeExerciseFile.getSelectionPath());\r\n } finally {\r\n updatingTree = false;\r\n }\r\n\r\n if (ex instanceof HasIdentifierTyper) {\r\n //lblIdentifierTypes.setVisible(true);\r\n IdentifierTyper typer = ((HasIdentifierTyper)ex).getIdentifierTyper();\r\n setCurrentTypingConventions(typer);\r\n lblIdentifierTypes.setText(\"Use the following typing conventions:\\n\" + typer.toString());\r\n ScratchPadWindow.setTypingConventions(typer);\r\n } else {\r\n //lblIdentifierTypes.setVisible(false);\r\n }\r\n\r\n wrongInARowCount = 0;\r\n \r\n previousGroup = getCurrentGroup();\r\n \r\n txtUserAnswer.requestFocusInWindow();\r\n }", "title": "" }, { "docid": "34e9c8d59fd031311941488e4dd2b8f2", "score": "0.5185089", "text": "private void showPreviousView() {\n /**\n * The answer is saved on a back swipe, but question constraints are\n * ignored.\n */\n\n verifica = true;\n radioFirstCheck = true; // controllo sui radioButton\n ImageWidget.prevView=true;\n// if (done){\n ImageWidget.cropsPicturesIndex-=4;\n ImageWidget.picturesIndex-=2;\n// done = false;\n// }\n // else {\n// ImageWidget.picturesIndex = ImageWidget.picturesIndex - 2;\n// ImageWidget.cropsPicturesIndex -= 4;\n// }\n // TODO: tolto per provare\n // verifica = false;\n//****disabled to allow the user to go back to the previous page even if the current fields are required*******************//\n// if (!saveAnswersForCurrentScreen(EVALUATE_CONSTRAINTS)) {\n// /**\n// * A constraint was violated so a dialog should be showing.\n// */\n// return;\n// }\n if (mFormController.getEvent() != FormEntryController.EVENT_BEGINNING_OF_FORM) {\n int event = mFormController.stepToPreviousEvent();\n\n while (event != FormEntryController.EVENT_BEGINNING_OF_FORM\n && event != FormEntryController.EVENT_QUESTION\n && !(event == FormEntryController.EVENT_GROUP\n && mFormController.indexIsInFieldList() && mFormController\n .getQuestionPrompts().length != 0)) {\n event = mFormController.stepToPreviousEvent();\n }\n View next = createView(event, null, true);\n showView(next, AnimationType.LEFT, null);\n } else {\n mBeenSwiped = false;\n }\n }", "title": "" }, { "docid": "ef20de3a6f60dd36c9bf709330fd2aee", "score": "0.5182466", "text": "public void waitForFirstSubmission() throws Exception {\n\t\tJFrame frmOpt = new JFrame(); // We are declaring the frame\n\t\tfrmOpt.setAlwaysOnTop(true);// This is the line for displaying it above all windows\n\n\t\tThread.sleep(1000);\n\t\tString s = \"<html>Press 1 For Calculations<br>Press 2 For Results<br>\";\n\n\t\tJLabel label = new JLabel(s);\n\t\tJTextPane jtp = new JTextPane();\n\t\tjtp.setSize(new Dimension(480, 10));\n\t\tjtp.setPreferredSize(new Dimension(480, jtp.getPreferredSize().height));\n\t\tlabel.setFont(new Font(\"Arial\", Font.BOLD, 26));\n\t\tUIManager.put(\"OptionPane.minimumSize\", new Dimension(700, 300));\n\t\tUIManager.put(\"TextField.font\", new FontUIResource(new Font(\"Verdana\", Font.BOLD, 20)));\n\t\t// Getting Input from user\n\n\t\tString option = JOptionPane.showInputDialog(frmOpt, label);\n\n\t\tint useroption = Integer.parseInt(option);\n\n\t\tswitch (useroption) {\n\n\t\tcase 1:\n\n\t\t\t// Function for Re-Submission\n\n\t\t\tbreak;\n\n\t\tcase 2:\n\n\t\t\tSystem.out.println(\"Results\");\n\t\t\tif (attemptNo == 0) {\n\t\t\t\ttest = Extent.createTest(\"Resubmission - Confirmation \");\n\t\t\t\ttest.info(\" The test run complete. Please review test result(s)\");\n\t\t\t}\n\n\t\t\telse {\n\n\t\t\t\ttest = Extent.createTest(\"Resubmission - Confirmation \");\n\t\t\t\ttest.info(\" The test run complete. Please review test result(s)\");\n\t\t\t}\n\n\t\t\tThread.sleep(3000);\n\n\t\t\tdriver.close();\n\t\t\tdriver.quit();\n\t\t\tbreak;\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "a8ad2050c89f785cdf0f0a66c92602e2", "score": "0.51785797", "text": "private static void presentResults(int[] questionsMissed, boolean passFail, int countWrong, int countCorrect)\r\n {\r\n System.out.println(\"Your results are as follows:\");\r\n System.out.println(\"Question\\tResult\");\r\n System.out.println(\"____________________\");\r\n\r\n for (int question =0;question<10;question++)\r\n {\r\n if (questionsMissed[question] == 99)\r\n {\r\n System.out.println((question+1) + \"\\t\\t\\tCORRECT\");\r\n }\r\n else\r\n {\r\n System.out.println((question+1) + \"\\t\\t\\tWRONG\");\r\n }\r\n }\r\n System.out.println(\"You answered \"+ countCorrect +\" questions correctly.\");\r\n System.out.println(\"You answered \"+ countWrong +\" questions incorrectly.\");\r\n if (passFail)\r\n {\r\n System.out.println(\"Congratulations - You Passed!\");\r\n }\r\n else\r\n {\r\n System.out.println(\"Sorry - You Failed.\");\r\n }\r\n\r\n }", "title": "" }, { "docid": "3c70e5ddb6004ef3e030913a2b5bf34c", "score": "0.5171291", "text": "public void displayQuiz() {\n a1 = new JLabel(questions.getQuestion(0));\n c1 = new JLabel(questions.getQuestion(1));\n s1 = new JLabel(questions.getQuestion(2));\n e1 = new JLabel(questions.getQuestion(3));\n i1 = new JLabel(questions.getQuestion(4));\n\n a2 = new JLabel(questions.getQuestion(5));\n c2 = new JLabel(questions.getQuestion(6));\n s2 = new JLabel(questions.getQuestion(7));\n e2 = new JLabel(questions.getQuestion(8));\n i2 = new JLabel(questions.getQuestion(9));\n\n a3 = new JLabel(questions.getQuestion(10));\n c3 = new JLabel(questions.getQuestion(11));\n s3 = new JLabel(questions.getQuestion(12));\n e3 = new JLabel(questions.getQuestion(13));\n i3 = new JLabel(questions.getQuestion(14));\n\n a4 = new JLabel(questions.getQuestion(15));\n c4 = new JLabel(questions.getQuestion(16));\n s4 = new JLabel(questions.getQuestion(17));\n e4 = new JLabel(questions.getQuestion(18));\n i4 = new JLabel(questions.getQuestion(19));\n\n displayLastSection();\n }", "title": "" }, { "docid": "afd327bf9581e60e1f520a1f4f4cda4f", "score": "0.5170364", "text": "public static void ShowResult(PersonGUI[] defaultOrder, PersonGUI[] AccendingOrder, PersonGUI[] descendingOrder) {\n \tJFrame frame = new JFrame(\"Result Window\");\r\n \t\r\n \t//Add content to the window.\r\n \tframe.add(new ResultWindow(defaultOrder,AccendingOrder,descendingOrder), BorderLayout.CENTER);\r\n \tframe.setLocation(100, 50);\r\n \t//Display the window.\r\n \tframe.pack();\r\n \tframe.setVisible(true);\r\n }", "title": "" }, { "docid": "197b1f99a2c06061d4ab772ee0c9d622", "score": "0.5166553", "text": "private void displayeTest() {\n\n\t\tState[] opt = questions[questionNumber].getOptions();\n\t\to1.setText(opt[0].getName());\n\t\to2.setText(opt[1].getName());\n\t\to3.setText(opt[2].getName());\n\t\to4.setText(opt[3].getName());\n\t\tmTextView.setText((1 + questionNumber) + \"/\" + questionLimit);\n\t\tResources r = new Resources(getAssets(), new DisplayMetrics(), new Configuration());\n\t\tmImgSw.setForeground(r.getDrawable(myImages[questions[questionNumber].getAnswerID()]));\n\t\tmProgressBar.setProgress((questionNumber));\n\t\tquestionNumber++;\n\n\t}", "title": "" }, { "docid": "d8363b524030e7011f064c5f65a4d098", "score": "0.51488215", "text": "public void displayUserReplyError(){\n System.out.print(\"That user is not one you can reply to, please re-enter the username \" +\n \"of someone who has messaged you or enter \\\"q\\\" to go back to your options: \");\n }", "title": "" }, { "docid": "393a77020c19e71808290d510ec3fcca", "score": "0.51432675", "text": "private void report(String message) {\n reportBox.setVisible(true);\n reportBox.setText(message);\n }", "title": "" }, { "docid": "221a2b315ef45a56a3f987f6fd80080d", "score": "0.5142747", "text": "public void EQGenerateNewReport() {\r\n\t\t\tfrmEquipmentInventory.setVisible(true);\t\t\t\t\t\r\n\t\t\t\r\n\t\t\ttabbedPane.setEnabledAt(4, true);\t\t\t//Make sure the generate new report tab is enabled\r\n\t\t\ttabbedPane.setSelectedIndex(4);\t\t\t\t//Make sure the generate new report tab is the one being displayed\r\n//\t\t\ttabbedPane.setEnabledAt(0, false);\t\t\t//Make sure the report equipment problem tab is not enabled\r\n//\t\t\ttabbedPane.setEnabledAt(1, false);\t\t\t//Make sure the update an equipment problem tab is not enabled\r\n//\t\t\ttabbedPane.setEnabledAt(2, false);\t\t\t//Make sure the query equipment tab is not enabled\r\n//\t\t\ttabbedPane.setEnabledAt(3, false);\t\t\t//Make sure the vendor list maintenance tab is not enabled\r\n//\t\t\r\n\t\t}", "title": "" }, { "docid": "0487fbfec36f7098d66f545069084e73", "score": "0.5141044", "text": "public void nextQuestion() {\n\t\tif (questionNo < noOfQuestions)\n\t\t{\n\t\t\tquestionNo++;\n\t\t\tupdateFields();\n\t\t}\n\t}", "title": "" }, { "docid": "7f166718df19ca1fd4abe288c58bd27f", "score": "0.5138324", "text": "@Override\n public void onQuestionReturned(Question question) {\n if (currentPoint.getId() == initialPointId) {\n progressDialog.dismiss();\n }\n showQuestionDialog(question);\n }", "title": "" }, { "docid": "8079396624914ff0e0fd1218fa03a9f0", "score": "0.51304764", "text": "public void displayAllSpeakerMessagePrompt(){\n System.out.println(\"Enter what you want to say to all the speakers (1 line) or type 'q' to exit.\");\n }", "title": "" }, { "docid": "bb9bc257264c670e0a2e46b328bd748d", "score": "0.5125862", "text": "private void showFeedbackAnswer(boolean isCorrect) {\n if (isCorrect) {\n quizScore += 1;\n feedbackTextView.setText(R.string.feedback_correct);\n feedbackTextView.setTextColor(Color.parseColor(\"#4CAF50\"));\n } else {\n feedbackTextView.setText(R.string.feedback_incorrect);\n feedbackTextView.setTextColor(Color.RED);\n }\n }", "title": "" }, { "docid": "63c9282a3c8837a069ef22dd6ff53c6e", "score": "0.5124536", "text": "public void checkfullreport(Boolean flag) {\n\t\tif (flag == false)\n\t\t\tMessageBox.DisplayMessage(\"The report is empty\", \"\", \"Park maneger\", AlertType.WARNING);\n\n\t\telse\n\t\t\tMessageBox.DisplayMessage(\"The report was submeted.\", \"\", \"Park maneger\", AlertType.WARNING);\n\t}", "title": "" }, { "docid": "37c2e8911f6a2c4535cd108af9ff8081", "score": "0.5118523", "text": "private void updateQuestion(){\n mAnsweredQuestions++;\n if (mAnsweredQuestions < mQuestionBank.length) {\n String question = mQuestionBank[mCurrentIndex].getmQuestionText();\n mQuestionTextView.setText(question);\n mButtonA.setText(mQuestionBank[mCurrentIndex].getmAnswerA());\n mButtonB.setText(mQuestionBank[mCurrentIndex].getmAnswerB());\n mButtonC.setText(mQuestionBank[mCurrentIndex].getmAnswerC());\n mButtonD.setText(mQuestionBank[mCurrentIndex].getmAnswerD());\n mCorrectAnswer = mQuestionBank[mCurrentIndex].getmCorrectAnswer();\n } else if (mAnsweredQuestions >= mQuestionBank.length) {\n for (Result r : mResultsBank) {\n uploadResults(r);\n }\n Intent intent = new Intent(QuizActivity.this, QuizResultActivity.class);\n intent.putExtra(\"Result\", mCorrectAnswers);\n intent.putExtra(\"Questions\", mQuestionBank.length);\n startActivity(intent);\n }\n }", "title": "" }, { "docid": "84bdddeb659c86eb318a82aa6a9b70d8", "score": "0.51168644", "text": "public void showDraw() {\n\t\tString winner = \"The game is a draw.\";\n\t\t// sets size of the JOptionPage\n\t\tUIManager.put(\"\", new Dimension(500, 500));\n\t\t// shows draw and offers to play again or quit\n\t\tJLabel label = new JLabel(\" You guys are the real deal, nice draw! Would you like to play again?\");\n\t\tlabel.setFont(new Font(\"Arial\", Font.BOLD, 24));\n\t\tint n = JOptionPane.showConfirmDialog(null, label, winner, JOptionPane.YES_NO_OPTION);\n\t\t// if Yes is picked JApplet board will reset\n\t\tif (n < 1) {\n\t\t\tclearBoard();\n\t\t} else // the board will close\n\t\t\tSystem.exit(0);\n\t}", "title": "" }, { "docid": "2e771c835654119efc2aa7315a868567", "score": "0.5114625", "text": "public void askQuestion() {\n\n NotificationCompat.Builder mBuilder =\n new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.miniicon)\n .setContentTitle(\"Habitualizer\")\n .setContentText(\"It's time to post an update.\")\n .setVibrate(new long[] { 0, 1000 } )\n .setLights(Color.MAGENTA, 3000, 3000);\n\n Intent resultIntent = new Intent(this, AskQuestion.class);\n PendingIntent resultPendingIntent =\n PendingIntent.getActivity(\n this,\n 0,\n resultIntent,\n PendingIntent.FLAG_UPDATE_CURRENT\n );\n\n mBuilder.setContentIntent(resultPendingIntent);\n int mNotificationId = 001;\n NotificationManager mNotifyMgr =\n (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n mNotifyMgr.notify(mNotificationId, mBuilder.build());\n\n /* COPY/PASTE OVER */\n }", "title": "" }, { "docid": "e0792cd1d241a612276bb90ad667dbb7", "score": "0.5105439", "text": "public void actionPerformed(ActionEvent event)\n\t\t\t{\n\t\t\t\tinTimer = true;\n\n\t\t\t\t//if counter is less than 0, check if the answer is incorrect and display the correct answer\n\t\t\t\tif(counter < 0)\n\t\t\t\t{\n\t\t\t\t\tif (incorrect) {\n\t\t\t\t\t\tviewAnswer();\n\t\t\t\t\t\ttimer.start();\n\t\t\t\t\t\tincorrect = false;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\ttimer.stop();\n\t\t\t\t\t\tcloseState = true; //window should not be closed\n\t\t\t\t\t\t//System.out.println(\"Done\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tcounter--; //count down\n\t\t\t\t\tcloseState = false; //window should not be closed\n\t\t\t\t\t//System.out.println(\"Hello\");\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "94c67bf0d5215ba46c5a6adbcc12f8f7", "score": "0.5089781", "text": "public void showNextView() {\n// if (formName.equalsIgnoreCase(\"LivestockWalking\") && ImageWidget.cropsPicturesIndex +1 == 10 )\n// done =true;\n// if(formName.equalsIgnoreCase(\"CropsWalking\") && ImageWidget.cropsPicturesIndex +1 == 18 ) //from 18 to 6\n// done =true;\n // verifica = true;\n // TODO: tolto per provare\n verifica = true;\n radioFirstCheck = true;\n if(!roasterRepeatCount) {\n refreshCurrentView(null);\n }\n if (currentPromptIsQuestion()) {\n if (!saveAnswersForCurrentScreen(EVALUATE_CONSTRAINTS)) {\n // A constraint was violated so a dialog should be showing.\n return;\n }\n }\n if (mFormController.getEvent() != FormEntryController.EVENT_END_OF_FORM) {\n int event;\n\n group_skip:\n do {\n event = mFormController\n .stepToNextEvent(FormController.STEP_INTO_GROUP); // repetition event there is a roster\n\n switch (event) {\n case FormEntryController.EVENT_QUESTION:\n case FormEntryController.EVENT_END_OF_FORM:\n View next = null;\n next = createView(event, null, true);\n // next.requestFocus(View.FOCUS_UP);\n\n showView(next, AnimationType.RIGHT, null);\n\n break group_skip;\n case FormEntryController.EVENT_PROMPT_NEW_REPEAT:\n\n createRepeatDialog();\n break group_skip;\n\n case FormEntryController.EVENT_GROUP:\n /**\n * CREATE THE VIEW\n */\n if (mFormController.indexIsInFieldList()\n && mFormController.getQuestionPrompts().length != 0) {\n View nextGroupView = createView(event, null, true);\n nextGroupView.requestFocus(View.FOCUS_UP);\n showView(nextGroupView, AnimationType.RIGHT, null);\n\n if (PreferencesActivity.TO_SAVE_FORM) {\n saveDataToDisk(DO_NOT_EXIT, isInstanceComplete(false), null);\n\n break group_skip;\n } else\n break group_skip;\n }\n /**\n * otherwise it's not a field-list group, so just skip it\n */\n break;\n case FormEntryController.EVENT_REPEAT:\n Log.i(t, \"repeat: \"\n + mFormController.getFormIndex().getReference());\n FormEntryActivity.ROSTER = true;\n /**\n * skip repeats\n */\n break;\n case FormEntryController.EVENT_REPEAT_JUNCTURE:\n Log.i(t, \"repeat juncture: \"\n + mFormController.getFormIndex().getReference());\n /**\n * skip repeat junctures until we implement them\n */\n break;\n default:\n Log.w(t,\n \"JavaRosa added a new EVENT type and didn't tell us... shame on them.\");\n break;\n }\n } while (event != FormEntryController.EVENT_END_OF_FORM);\n\n } else {\n mBeenSwiped = false;\n }\n }", "title": "" }, { "docid": "da14ef65ddbfb8f675b0f811022400ec", "score": "0.5087611", "text": "private static void displayReportSessionMode() {\n mode = \"displayReportSession\";\n reportSessionScrollPane.setVisible(true);\n selectReportSessionButton.setVisible(true);\n// deleteReportSessionButton.setVisible(true);\n backToReportSessionListButton.setVisible(false);\n reportDetailsScrollPane.setVisible(false);\n reportSessionScrollPane.setVisible(true);\n reportTextArea.setText(\"\");\n displayHtmlButton.setVisible(false);\n }", "title": "" }, { "docid": "09cb558eeda1eda49c6006cefe0360d6", "score": "0.50865537", "text": "@FXML\n private void doneEditing(Event event) {\n \n boolean finishedEditing = ApplicationManager.getAnswerFromPopUp(\"Are you sure you are finished editing these records?\\nFurther editing can be done in Raw Data Viewer if desired.\");\n\n if (finishedEditing) {\n\n // Checks if the user has achieved their step goal, if so displays a congratulatory message.\n if (stepsAchieved(user)) {\n int stepGoal = user.getStepGoal();\n String stepGoalString = Integer.toString(stepGoal) + \" steps\";\n ApplicationManager.displayPopUp(\"Congratulations\", \"You have achieved your weekly step goal of \" + stepGoalString + \".\" , \"confirmation\");\n }\n\n // Checks if the user has achieved their distance goal and if so displays a congratulatory message. Otherwise there is a chance to display a random progress report.\n if (distanceAchieved(user)) {\n int distanceGoal = user.getDistanceGoal();\n String distanceGoalString = Integer.toString(distanceGoal) + \" kilometers\";\n ApplicationManager.displayPopUp(\"Congratulations\", \"You have achieved your weekly distance goal of \" + distanceGoalString + \".\" , \"confirmation\");\n }\n\n // If no weekly goal has been achieved, display a random progress pop up\n if (!stepsAchieved(user) & !distanceAchieved(user)) {\n displayRandomProgressReport();\n }\n\n toAddWorkout(event);\n }\n }", "title": "" }, { "docid": "6bfb4de64251b4716e0bd677d94c97a3", "score": "0.50865054", "text": "private void reportSuccessDialog() {\n Log.d(LOG_TAG, \"Report Clicked!\");\n\n // Create popup window\n LayoutInflater inflater = getLayoutInflater();\n View reportSuccessView = inflater.inflate(R.layout.activity_popup_success, null);\n popup = new PopupWindow(reportSuccessView,\n ActionBar.LayoutParams.WRAP_CONTENT, ActionBar.LayoutParams.WRAP_CONTENT);\n popup.showAtLocation(calendarView, Gravity.CENTER,0,0);\n\n // Update the text by the current month\n String m = getCurMonthName();\n String txt = getResources().getString(R.string.month_x_reported_successfully, m);\n TextView reportBox = reportSuccessView.findViewById(R.id.popUpWindow);\n reportBox.setText(txt);\n\n // Sign this month as reported\n reportedMonths.add(calendarView.getCurrentPageDate().getTime());\n totalReported += monthHours;\n\n Button btn = reportSuccessView.findViewById(R.id.buttonclose);\n btn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n popup.dismiss();\n updateReportedMonth();\n updateTextViews();\n }\n });\n }", "title": "" }, { "docid": "e5f881c852e8706ed2dc40205137d718", "score": "0.5085143", "text": "public void displayAndChooseAnswerChoices(){\n\t\tanswer = null; //Sets the correct answer to null. \n\t\t//Creates 3 JRadioButtons - one for each answer choice. \n\t\tJRadioButton answer1 = new JRadioButton(\"<html>\" + questions[arrayIndex].answerChoices[0] + \"</html>\");\n\t\tanswer1.setFont(new Font((\"SansSerif\"), Font.PLAIN,16));\n\t\tJRadioButton answer2 = new JRadioButton(\"<html>\" + questions[arrayIndex].answerChoices[1] + \"</html>\");\n\t\tanswer2.setFont(new Font((\"SansSerif\"), Font.PLAIN,16));\n\t\tJRadioButton answer3 = new JRadioButton(\"<html>\" + questions[arrayIndex].answerChoices[2] + \"</html>\");\n\t\tanswer3.setFont(new Font((\"SansSerif\"), Font.PLAIN,16));\n\t\t//System.out.println(\"<html>\"+questions[arrayIndex].answerChoices[0]+\"</html>\");\n\t\t//System.out.println(\"<html>\"+questions[arrayIndex].answerChoices[1]+\"</html>\");\n\t\t//System.out.println(\"<html>\"+questions[arrayIndex].answerChoices[2]+\"</html>\");\n\n\t\t//ButtonGroup that controls the answer choices. \n\t\tButtonGroup answerGroup = new ButtonGroup();\n\t\tanswerGroup.add(answer1);\n\t\tanswerGroup.add(answer2);\n\t\tanswerGroup.add(answer3);\n\t\t\t\t\t\t\n\t\tCheckForCorrectAnswer cfca = new CheckForCorrectAnswer();\n\t\tanswer1.addActionListener(cfca);\n\t\tanswer2.addActionListener(cfca);\n\t\tanswer3.addActionListener(cfca);\n\t\t\t\t\n\t\t//Sets answer to the correct answer. \n\t\tif(questions[arrayIndex].correctAnswer==0){\n\t\t answer = answer1;\n\t\t}\t\t\t\t\n\t\telse if(questions[arrayIndex].correctAnswer ==1){\n\t\t answer = answer2;\n\t\t}\t\t\t\t\n\t\telse if(questions[arrayIndex].correctAnswer ==2){\n\t\t answer = answer3;\n\t\t}\n\t\t\t\t\n\t\t//Creates a JPanel to put the answer choices on. \n\t\tJPanel radioPanel = new JPanel(new GridLayout(3,1));\n\t\tradioPanel.setPreferredSize(new Dimension(400,400));\n\t\t//radioPanel.setBounds(100,100,150,150);\n\t\tradioPanel.add(answer1);\n\t\tradioPanel.add(answer2);\n\t\tradioPanel.add(answer3);\n\n\t\tquestionPanel.add(radioPanel);\n\t\trepaint();\n\t\t\t\t\t\n\t }", "title": "" }, { "docid": "a8c2fa633628c64c8fbcc0bd5b3f51bc", "score": "0.5074458", "text": "public void checkAnswers(){\n\n getAnswers();\n\n //set initial values for wright(true) or wrong false) results\n String result1 = \"Wrong\";\n String result2 = \"Wrong\";\n String result3 = \"Wrong\";\n String result4 = \"Wrong\";\n String allResults = \"\";\n int numOfRightAnswers=0;\n\n //for addition\n if (answer1 == number1 + number2){\n result1 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n //for subtraction\n if (answer2 == number1 - number2) {\n result2 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n //for multiplication\n if (answer3 == number1 * number2) {\n result3 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n //for inequality\n if (answer4 == R.id.trueRadioButton && number1>number2){\n result4 = \"Right\";\n numOfRightAnswers+=1;\n }\n else if (answer4 == R.id.falseRadioButton && number1<number2){\n result4 = \"Right\";\n numOfRightAnswers+=1;\n }\n\n if (numOfRightAnswers == 4){\n allResults = getString(R.string.results_Toast_Message1);\n }\n else{\n allResults = getString(R.string.results_Toast_Message2);\n }\n displayResults(result1, result2, result3, result4, allResults);\n }", "title": "" }, { "docid": "52da7ef414a2e810549debc7ec54f315", "score": "0.50702137", "text": "@Override\n public void isAnswerCorrect(boolean isCorrect) {\n if (isCorrect) {\n view.updateLeftToAnswerQuestionsCounter(\"\" + --questionsToSolveCounters);\n }\n\n if (questionsToSolveCounters == 0) {\n view.success();\n }\n\n // After answering to all mQuestions - stop alarm\n if (mQuestionNumber == questionsCount-1) {\n view.success();\n }\n }", "title": "" }, { "docid": "ae7dc9e81bd179a24fe24286b8151407", "score": "0.5057148", "text": "public void showText() {\n\t\t// get the text of the current binary tree node's data\n\t\tString text = controller.getCurrNode().getData();\n\n\t\t// set the text\n\t\tquestionText.setText(text);\n\n\t\t// if the current node is the object then game is ended, show end game\n\t\t// message\n\t\tif (controller.getCurrNode().isLeaf()) {\n\t\t\tquestionText.append(\"\\nAm I correct? If I am then press restart to restart the game. If not, my apology!\");\n\t\t}\n\t}", "title": "" } ]
4c70294b62a212cb7ec7feeeafc9ec4a
/ This method plays the scenario file specified by the argument. The argument can be specified either as an absolute or a relative path.
[ { "docid": "416b8103d639d6edfeac65b6ff9bc179", "score": "0.6824492", "text": "public void setScenarioFile (String scenarioFile) \r\n {\r\n try\r\n {\r\n \t\r\n File f = new File (scenarioFile);\r\n fileScanner = new Scanner (f);\r\n String absolutePath = f.getAbsolutePath();\r\n scenarioFilePath = absolutePath.substring(0,absolutePath.lastIndexOf(File.separator));\r\n setCellAndButton();\r\n play();\r\n }\r\n catch (Exception e)\r\n {\r\n errorLog (\"Exception error: \" + e.toString(), \"Expected the directory path of the scenario file to\"\r\n + \" a file exists in the project folder. \\n Could not find directory to path: \" + scenarioFile \r\n + \" \\n Perhaps\" + \" you forgot to add the file to the directory or \"\r\n + \" you are looking for a different directory?\");\r\n }\r\n }", "title": "" } ]
[ { "docid": "999fafe20cd6411f0a5c8ead1b7b4865", "score": "0.6621364", "text": "public static void play(String file) {\n\t\t// YOUR CODE HERE\n\n\t}", "title": "" }, { "docid": "4d51da4c5af0b202305f8a7941e45c9b", "score": "0.6417568", "text": "public abstract void Play(String path);", "title": "" }, { "docid": "38bbefc42a9dc3ae376737f8dbbc71d8", "score": "0.57887334", "text": "public static void main(String[] args) {\n String audioFilePath = \"D:/nature.wav\";\n AudioPlayerUsedClip player = new AudioPlayerUsedClip();\n player.play(audioFilePath);\n }", "title": "" }, { "docid": "d913c009438c7156723b33ca50d323b0", "score": "0.5785891", "text": "@Override\n\tpublic void play(String AudioFile) {\n\t\t\n\t}", "title": "" }, { "docid": "0d2e766ed16315c301397e972d498473", "score": "0.56702", "text": "@Test\n public void testPlayingFile() {\n System.out.println(\"PlayingFile\");\n PlayPressed instance = new PlayPressed();\n instance.PlayingFile();\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "7c0c544f36a95b687612daee1382f711", "score": "0.56571347", "text": "private static void playAudio(String musicFile) {\n }", "title": "" }, { "docid": "b0d4e7d681e0d1edd0b6e12742c2f371", "score": "0.5543684", "text": "private void play()\r\n {\r\n String fileLine;\r\n try\r\n {\r\n while (fileScanner.hasNextLine())\r\n {\r\n //This while loop is created to wait for a user to press a button.\r\n while (userInput)\r\n {\r\n Thread.sleep(400);\r\n }\r\n fileLine = fileScanner.nextLine();\r\n logger.log(Level.INFO, \"Current line in file: {0}\", fileLine.toString());\r\n performAction (fileLine);\r\n }\r\n if (!fileScanner.hasNextLine())\r\n {\r\n fileScanner.close ();\r\n //The if statement is created to check if there is an /~endrepeat for a previously \r\n //declared /~repeat in the scenario file.\r\n if (repeat)\r\n {\r\n errorLog (\"Exception error: IllegalArgumentException\", \"Expected the keyphrase: \\n\"\r\n + \"/~endrepeat \" + \"\\n ,somewhere in the scenario file, to indicate when \"\r\n + \" to stop storing the text to be repeated, but the keyphrase was \"\r\n + \"nowhere to be found.\" + \"\\n The program ended due to an \"\r\n + \"incorrect formatted scenario file.\"); \r\n }\r\n exit ();\r\n }\r\n }\r\n catch (Exception e)\r\n {\r\n errorLog (\"Exception error : \" + e.toString (), \"Strange error occurred if you are able to read this message. Possibilities \"\r\n + \"could include possible file corruption, or that you have enter characters that \"\r\n + \"could not be read/interpreted.\");\r\n }\r\n }", "title": "" }, { "docid": "182ed05f3b98ebe354e5cb91bc8287d0", "score": "0.5479235", "text": "public void playFile(String filePath) {\n\t\t\n\t\tinit(filePath);\n\t\t\n\t\tgetNextDecodedFrame();\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "795762f4d3bc0bb6fcd9171c5493182d", "score": "0.54694504", "text": "public void play(String fileName) {\n\t\tplay(fileName, true);\n\t}", "title": "" }, { "docid": "5b1fe4cfe72e7a48a68b95689aba57e4", "score": "0.545936", "text": "private void howToPlay() {\n }", "title": "" }, { "docid": "8f80632c4b7ec287731fc4ab521882e0", "score": "0.54577863", "text": "private void playAudioClip(String filePath) {\n\t\tAudioClip audioClip = new AudioClip(getClass().getResource(filePath).toString());\n\t\taudioClip.play();\n\t}", "title": "" }, { "docid": "0807d28d5b6011c1c332fd918a1a5c26", "score": "0.5455431", "text": "public static void play(String path) {\r\n\t\tplay(path, 1);\r\n\t}", "title": "" }, { "docid": "13cfa8ee4b0a40ff02ef5fa7d951e613", "score": "0.54391897", "text": "public static void main(String[] args) throws IOException {\n File file = new ClassPathResource(\"sampleGame.xml\").getFile();\n PladiQuest zork = new PladiQuest(file.getAbsolutePath());\n }", "title": "" }, { "docid": "62fd465ad61927e9bd36ac9877606192", "score": "0.5425967", "text": "public void playFile(File input) {\n if (input != null && checkFileValidity(input)) {\n Synthesizer synthesizer = null;\n javax.sound.midi.Sequencer sequencer = null;\n InputStream inputStream = null;\n try {\n synthesizer = MidiSystem.getSynthesizer();\n synthesizer.open();\n synthesizer.loadAllInstruments(synthesizer.getDefaultSoundbank());\n\n sequencer = MidiSystem.getSequencer(false);\n sequencer.open();\n sequencer.getTransmitter().setReceiver(synthesizer.getReceiver());\n inputStream = new BufferedInputStream(new FileInputStream(input));\n sequencer.setSequence(inputStream);\n\n org.jfugue.player.SequencerManager.getInstance().setSequencer(sequencer);\n player.play(sequencer.getSequence());\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n synthesizer.close();\n sequencer.close();\n }\n }\n }", "title": "" }, { "docid": "07d22fea6fcfeef3803bc304074dcb07", "score": "0.5425576", "text": "public void PlayHitSound() {\n\t\n\t\t//demonstrating how paths.get can be used with an inline string instead of a pre existing variable.\n\t\tfinal AudioClip sound = new AudioClip(Paths.get(\"res/ballhit.wav\").toUri().toString()); \n\t\tsound.play();\n\t\t\n\t}", "title": "" }, { "docid": "cb541fe8599e874813ab2e3755e754f9", "score": "0.5390551", "text": "public static void main(String[] args) {\n play();\n }", "title": "" }, { "docid": "159c821749b7fac1fe0c4a7601b2f8ee", "score": "0.5376035", "text": "public static void playSong(String musicLocation){\n\n try{\n\n File musicPath = new File(musicLocation);\n\n if (musicPath.exists()){\n\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);\n track = AudioSystem.getClip();\n track.open(audioInput);\n track.start();\n\n\n }\n\n else{ System.out.println(\"File does not exist\"); }\n\n }\n\n catch(Exception ex){ ex.printStackTrace();}\n\n }", "title": "" }, { "docid": "cb5a336ee8641cb30a41ee96ed1bfee6", "score": "0.5347018", "text": "private void playSound (String sound)\r\n {\r\n String soundFileName = scenarioFilePath + File.separator + \"AudioFiles\" + File.separator + sound;\r\n File file = new File(soundFileName);\r\n if (!file.exists())\r\n {\r\n \tsoundFileName = sound;\r\n }\r\n try\r\n {\r\n Clip clip = AudioSystem.getClip();\r\n clip.open(AudioSystem.getAudioInputStream(new File(soundFileName)));\r\n clip.start();\r\n //This while loop is to check if the audio file has played or not, and if it has not then it will\r\n //continue to wait until it does.\r\n while (!clip.isRunning())\r\n Thread.sleep(10);\r\n while (clip.isRunning())\r\n Thread.sleep(10); \r\n clip.close(); \r\n\r\n }\r\n catch (IOException e)\r\n {\r\n errorLog(\"Exception error: \" + e.toString(), \"File \" + soundFileName + \" not found!\", \"Sound file not found!\");\r\n }\r\n catch (Exception e)\r\n {\r\n errorLog (\"Exception error: \" + e.toString(), \"Sound file \" + soundFileName + \" could not be played!\" +\r\n \"Most likely due to unsupported format. Try again using the .wav format, with a sample rate of 44.1kHz and a bit depth of 16.\",\r\n \"Unsupported sound file format\");\r\n }\r\n }", "title": "" }, { "docid": "734a645f661f22a1aaafc6750e7ee287", "score": "0.53090644", "text": "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tif (arg0.getSource() == b1) {\n\t\t\ttry {\n\t\t\t\tplayFromAFile(\"/Users/ethanhyde/Documents/workspace/TestTHingy/src/Happy Plane.mp3\");\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (JavaLayerException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\telse {\n\n\t\ttry {\n\t\t\tplayFromAFile(\"/Users/ethanhyde/Documents/workspace/TestTHingy/src/Excision - Bass Cannon.mp3\");\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (JavaLayerException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tif (arg0.getSource() == b2) {\n\t\t\n\t\t\t}\n\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "20a4e2915f4a31b291f39cf14e06741c", "score": "0.5302024", "text": "public void play() {\n\t\t\n\t}", "title": "" }, { "docid": "9487499162718fb69ff4f4861ea8494e", "score": "0.5298307", "text": "public static void main(String[] args) {\n playGame();\n\n }", "title": "" }, { "docid": "0e25eae668b10a5438e82e9a6404a22e", "score": "0.52978134", "text": "public void loadGame(String file) throws IOException;", "title": "" }, { "docid": "804374020edff69454c3a4be978c262e", "score": "0.5288691", "text": "public void playMusicFromFile() throws FileNotFoundException {\r\n Scanner sc = new Scanner(rd);\r\n try {\r\n ap.append(\"File path:\\n\");\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n String path = sc.next();\r\n\r\n FileReader file = new FileReader(new File(path));\r\n\r\n MusicModel fromFile = MusicReader.parseFile(file, new MusicModelImp1.Builder());\r\n try {\r\n ap.append(\"View type:\\n\");\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n String type = sc.next();\r\n\r\n ViewFactory.createView(type, fromFile, ap);\r\n if (type.equals(\"midi\")) {\r\n try {\r\n Thread.sleep((fromFile.totalBeats() + 1) * fromFile.getTempo() / 1000);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "e47620a9b34cab7ef3d0537b1e9a8bc7", "score": "0.52718246", "text": "public void soundPlayc(){\n AudioClip sound = new AudioClip(getClass().getResource(\"MediaSweng/T-Rex.wav\").toString());\n sound.play();\n }", "title": "" }, { "docid": "13cd39e43f0eba9b677f8668354ec173", "score": "0.52570534", "text": "public static void play() {\n intro();\n name();\n explanation();\n }", "title": "" }, { "docid": "612e64db0569569895cc391b4521af3d", "score": "0.52489287", "text": "public void scenarioStarted(String name) {\n\t\t\t/*\n\t\t\t * the current scene should be set in sam via the RElistener\" BUT\n\t\t\t * this isn't going to work for the garden scenes, because in the re\n\t\t\t * it's the same scenario with different backgrounds, so need to set\n\t\t\t * the current scene from sod, where the re is called need to\n\t\t\t * convert from Rendering Engine name to DM and PC name unless can\n\t\t\t * check the background as well\n\t\t\t */\n\t\t}", "title": "" }, { "docid": "77264a0413bbc3f6e6419190cdb01cf6", "score": "0.5230593", "text": "protected void playStepSound(int par1, int par2, int par3, int par4)\n {\n this.playSound(Blocks.ice.stepSound.soundName, 1.0F, 1.0F);\n }", "title": "" }, { "docid": "f5fe92bc2b176ee15b1cbfae70386e62", "score": "0.5224185", "text": "public void soundPlay(){\n AudioClip sound = new AudioClip(getClass().getResource(\"MediaSweng/Triceratops.wav\").toString());\n sound.play();\n }", "title": "" }, { "docid": "196a36de69832ccc4100864e2a1adeee", "score": "0.5223051", "text": "public static void playSound(String filePath)\n {\n try\n {\n java.io.File soundFile = new java.io.File(filePath);\n javax.sound.sampled.AudioInputStream audioIn\n = javax.sound.sampled.AudioSystem.getAudioInputStream(soundFile);\n javax.sound.sampled.Clip sound\n = javax.sound.sampled.AudioSystem.getClip();\n sound.open(audioIn);\n sound.start();\n }\n catch (IOException e)\n {\n System.err.println(\"Minor problem: File could not be played:\");\n System.err.println(e.toString() + \"\\n\");\n }\n catch (Exception e)\n {\n System.err.println(\"Other problem:\\n\" + e.toString());\n }\n }", "title": "" }, { "docid": "2ff1feb7614e95705e0f18aeed48aa88", "score": "0.5222031", "text": "public void soundPlayd(){\n AudioClip sound = new AudioClip(getClass().getResource(\"MediaSweng/Suchomimus.wav\").toString());\n sound.play();\n }", "title": "" }, { "docid": "4acabfbdca564b78c354dc5899bcddea", "score": "0.52173424", "text": "@Override\n\tpublic void play(String content) {\n\n\t}", "title": "" }, { "docid": "a0259fb5091d2f35023c840df70b563c", "score": "0.52165574", "text": "@Override\r\n\tpublic void run(IAction action) {\n\t\tIPath path = browse(getSourceLocation(), false);\r\n\t\tif (path == null)\r\n\t\t\tMessageDialog.openError(window.getShell(), \"Path\", \"Invalid path\");\r\n\r\n\t\t// IPath rootLoc =\r\n\t\t// ResourcesPlugin.getWorkspace().getRoot().getLocation();\r\n\t\t// if (rootLoc.isPrefixOf(path))\r\n\t\t// path = path.setDevice(null).removeFirstSegments(\r\n\t\t// rootLoc.segmentCount());\r\n\t\tsourceFilePath = path.toString();\r\n\t\t// inject the XML to Scenario.ecore model\r\n\t\tScenarioXMLInjector injector = new ScenarioXMLInjectorImpl();\r\n\t\tInputStream inStream = null;\r\n\t\ttry {\r\n\t\t\tinStream = new FileInputStream(sourceFilePath);\r\n\t\t} catch (FileNotFoundException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\tif (inStream == null)\r\n\t\t\tMessageDialog.openError(window.getShell(), \"File error\",\r\n\t\t\t\t\t\"Could not open path: \" + sourceFilePath);\r\n\r\n\t\tResource scenarioXML = injector.inject(inStream);\r\n\t\tSystem.err.println(\"XML Scenario file injected !\");\r\n\r\n\t\tif (scenarioXML.getContents().size() > 0) {\r\n\t\t\tScenario scenario = (Scenario) scenarioXML.getContents().get(0);\r\n\t\t\ttry {\r\n\t\t\t\tcontroller.playScenario(scenario);\r\n\t\t\t} catch (EIFSimException e) {\r\n\t\t\t\tMessageDialog.openError(window.getShell(), \"Simulator error:\"\r\n\t\t\t\t\t\t+ e.getMessage(), \"Simulator error\");\r\n\t\t\t}\r\n\t\t\tcontroller.updateScenarioRes(scenario);\r\n\r\n\t\t\ttry {\r\n\t\t\t\tIFClipseView view = controller.getView(ScenarioView.ID);\r\n\t\t\t\tview.setOCLContext(controller.getScenarioRes());\r\n\t\t\t} catch (PartInitException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "f1f2f64cbd4b98678cfac83010762fed", "score": "0.521209", "text": "public void play(String movie) {\n\t\t\n\t}", "title": "" }, { "docid": "7541d723ee7de11f3488555edbf6cc8e", "score": "0.51987135", "text": "@Override\n public void play(String mediaType, String fileName) {\n\n if (mediaType.equals(\"mp3\")) {\n super.play(mediaType, fileName);\n } else if (mediaType.equals(\"mp4\")) {\n advancedMediaPlayer.MP4Play(fileName);\n } else if (mediaType.equals(\"avi\")) {\n advancedMediaPlayer.AVIPlay(fileName);\n }\n\n }", "title": "" }, { "docid": "333a34eab6e61c6d64d2ee3403f3b42a", "score": "0.51746184", "text": "private void replayScenario() {\n final String rawFile = Utils.getProperty(PerfCakeConst.REPLAY_PROPERTY);\n\n log.info(\"Replaying raw results recorded in {}.\", rawFile);\n\n try (final ReplayResults replay = new ReplayResults(scenario, rawFile)) {\n replay.replay();\n } catch (IOException ioe) {\n log.fatal(\"Unable to replay scenario: \", ioe);\n System.exit(PerfCakeConst.ERR_SCENARIO_REPLAY);\n }\n }", "title": "" }, { "docid": "24d01f633b1bf91d5ca53e51c33ee85f", "score": "0.5163672", "text": "public void soundPlayb(){\n AudioClip sound = new AudioClip(getClass().getResource(\"MediaSweng/Spinosaurus.wav\").toString());\n sound.play();\n }", "title": "" }, { "docid": "19525f4fc5cd61e1a02fe6b25150f8a6", "score": "0.5151604", "text": "public void play(){\n\t}", "title": "" }, { "docid": "6c648c7f5b84b7bb955396e62c771f9a", "score": "0.514705", "text": "public static void playGameMusic(String filePath)\n {\n try\n {\n java.io.File soundFile = new java.io.File(filePath);\n javax.sound.sampled.AudioInputStream audioIn\n = javax.sound.sampled.AudioSystem.getAudioInputStream(soundFile);\n gameMusic = javax.sound.sampled.AudioSystem.getClip();\n gameMusic.open(audioIn);\n gameMusic.start();\n gameMusic.loop(Clip.LOOP_CONTINUOUSLY);\n }\n catch (IOException e)\n {\n System.err.println(\"Minor problem: File could not be played:\");\n System.err.println(e.toString() + \"\\n\");\n }\n catch (Exception e)\n {\n System.err.println(\"Other problem:\\n\" + e.toString());\n }\n }", "title": "" }, { "docid": "e3989f3472473e8aee01a53686258257", "score": "0.51419735", "text": "public void play();", "title": "" }, { "docid": "e3989f3472473e8aee01a53686258257", "score": "0.51419735", "text": "public void play();", "title": "" }, { "docid": "e3989f3472473e8aee01a53686258257", "score": "0.51419735", "text": "public void play();", "title": "" }, { "docid": "e3989f3472473e8aee01a53686258257", "score": "0.51419735", "text": "public void play();", "title": "" }, { "docid": "20b04eb6f98e9398538499be54d28d3e", "score": "0.51197976", "text": "public static void main(String[] args) {\n Game game = new Game();\n game.play(); \n \n }", "title": "" }, { "docid": "c2f1010df973253eefc0d8eb985d423e", "score": "0.5114838", "text": "public void play(String filename) throws Exception {\n\t\tsynchronized (AudioPlayer.lock) {\n\t\t\tlogger.info(String.format(\"Audio Play using Filename --> %s\", filename));\n\t\t\t\tplay(new File(filename));\n\t\t}\n\t}", "title": "" }, { "docid": "476a683db756f7989289df9ebc605e62", "score": "0.51147026", "text": "@Override\r\n\tpublic void play() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e1a5a4ce214a8187694d321a8aaff8d0", "score": "0.5103711", "text": "public void run(){\n ourMediaPlayer.getMediaPlayer().playMedia(mediaPath);\n }", "title": "" }, { "docid": "2a8c43c742d0b403561d1b4c7dca43e3", "score": "0.50949377", "text": "@Override\n\tpublic void play() {\n\t\t\n\t}", "title": "" }, { "docid": "2a8c43c742d0b403561d1b4c7dca43e3", "score": "0.50949377", "text": "@Override\n\tpublic void play() {\n\t\t\n\t}", "title": "" }, { "docid": "cc574d0b2226cfa15a69bae78b950e0d", "score": "0.5082546", "text": "public void playCorrect() {\n this.correct.start();\n }", "title": "" }, { "docid": "ff6f1756309a1d5f1a0b51864f1c76b5", "score": "0.50632226", "text": "public abstract void play();", "title": "" }, { "docid": "ff6f1756309a1d5f1a0b51864f1c76b5", "score": "0.50632226", "text": "public abstract void play();", "title": "" }, { "docid": "ff6f1756309a1d5f1a0b51864f1c76b5", "score": "0.50632226", "text": "public abstract void play();", "title": "" }, { "docid": "ff6f1756309a1d5f1a0b51864f1c76b5", "score": "0.50632226", "text": "public abstract void play();", "title": "" }, { "docid": "a8133d700e5c987d417b32c73ea0bdc3", "score": "0.506208", "text": "public static void main(String[] args) {\n\t\t\n\t\tfileName = \"Gomoku.txt\";//args[0];\n\t\tSystem.out.println(\"File Name = \"+fileName);\n\t\tGame game = new Game();\n\t\tgame.start();\n\t}", "title": "" }, { "docid": "4a8064be15684f5d13d2c8049a077c6c", "score": "0.50562", "text": "public static void main(String[] args) \n\t{\n//\t\tFile file = new File(\"start.ini\");\n//\t\tBufferedReader init_file;\n//\t\ttry {\n//\t\tinit_file = new BufferedReader(new FileReader(file));\n//\t\tString line = init_file.readLine().split(\" //\")[0];\n//\t\twhile(line != null) {\n//\t\t\tSystem.out.println(line);\n//\t\t\tline = init_file.readLine().split(\" //\")[0];\n//\t\t}\n//\t\t}\n//\t\tcatch(Exception e) {\n//\t\t\tSystem.out.println(e.toString());\n//\t\t}\n\t\tSystem.out.println(\"start\");\n\t\tBattleController battleController = new BattleController();\n\t\tString load_file = \"\";\n\t\tbattleController.play(true);\n\t\t\n\t}", "title": "" }, { "docid": "983b782ca3768f467393549aff49af1d", "score": "0.5052548", "text": "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String example = input.nextLine();\n FileName(example);\n }", "title": "" }, { "docid": "615a0c1619426e9634bf7d968a6d0123", "score": "0.50411737", "text": "public void playGame()\n {\n // TODO: You write this!\n // I strongly recommend that you break this up into smaller methods.\n\n // ---------------------------------\n }", "title": "" }, { "docid": "021d1e84ca07bf7d7d803b738975d941", "score": "0.5030646", "text": "public static void main(String[] args) {\n\t\ttry {\n\t\t\tsoundFile = new File(\"Start Song.wav\");\n\t\t\tin = AudioSystem.getAudioInputStream(soundFile);\n\t\t\tclip = AudioSystem.getClip();\n\t\t\tclip.open(in);\n\t\t\tclip.start();\n\t\t\tclip.loop(Clip.LOOP_CONTINUOUSLY);\n\t\t\t// in = new FileInputStream(\"Start Song.wav\");\n\t\t\t// as = new AudioStream(in);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// AudioPlayer.player.start(as);\n\t\tstartMenu();\n\t}", "title": "" }, { "docid": "38cd437d434c509c7bbba3a17761a13d", "score": "0.5024412", "text": "@Test\n public void testPlay(){\n\n player.play();\n\n }", "title": "" }, { "docid": "74d7e9eef08fcab8926f46a786ab7397", "score": "0.5013056", "text": "private void playSound(String fileName) {\n\t\tAudioClip sound = JApplet.newAudioClip(getClass().getResource(fileName));\n\t\tsound.play();\n\t}", "title": "" }, { "docid": "4d0fa4dac47198aced8c6675b07a2a5f", "score": "0.49934602", "text": "void play();", "title": "" }, { "docid": "4d0fa4dac47198aced8c6675b07a2a5f", "score": "0.49934602", "text": "void play();", "title": "" }, { "docid": "4e40069ed2873af74a6f630857685ae4", "score": "0.49884686", "text": "public static void main(String[] args) throws Exception {\n\t\tplay(); \n\t\tSystem.out.println(\"Done\");\n\t}", "title": "" }, { "docid": "700ee5a4d99d21f6e48060072da4159a", "score": "0.49879482", "text": "private void loadScenario() {\n final String scenarioFile = Utils.getProperty(PerfCakeConst.SCENARIO_PROPERTY);\n\n try {\n scenario = ScenarioLoader.load(scenarioFile);\n } catch (final Exception e) {\n log.fatal(String.format(\"Cannot load scenario '%s': \", scenarioFile), e);\n System.exit(PerfCakeConst.ERR_SCENARIO_LOADING);\n }\n }", "title": "" }, { "docid": "863e151140aaafa64591389e4a5f4da6", "score": "0.4982033", "text": "public static String getScenarioSrcFile(String scenarioName) {\n\t\treturn JSystemProperties.getInstance().getPreference(\n\t\t\t\tFrameworkOptions.RESOURCES_SOURCE_FOLDER)\n\t\t\t\t+ \"/\" + scenarioName + \".xml\";\n\t}", "title": "" }, { "docid": "d02d6c94c4ab3099d4842ce3d3407bc4", "score": "0.4973675", "text": "public static void main(String[] args) {\n Game mygame = new Game();\n mygame.play();\n }", "title": "" }, { "docid": "f8563c181c007c412c43c01ad8ece8f4", "score": "0.49695075", "text": "private void playSoundRecorded()\n\t\t{\n\t\t\tmy_player.PlayCuaq(this.getFilename());\n\t\t}", "title": "" }, { "docid": "e3ee2116ab1e9bfb9385cbf2cc148940", "score": "0.49650815", "text": "public void test(String screen) {\n\t\tif (screen.equals(\"scenario\"))\n\t\t\tnifty.gotoScreen(screen);\n\t\telse if (screen.equals(\"settings\"))\n\t\t\tnifty.gotoScreen(screen);\n\t\tpageTurnSound.play();\n\t}", "title": "" }, { "docid": "ba0406b651f431a8c35dc400f472de32", "score": "0.4960837", "text": "public static void playClip(String musicLocation, String songName){\n\n try{\n File clipPath = new File(musicLocation);\n\n if (clipPath.exists()){\n\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(clipPath);\n clip = AudioSystem.getClip();\n clip.open(audioInput);\n clip.start();\n\n System.out.println(songName);\n\n\n }\n\n else{ System.out.println(\"File does not exist\"); }\n\n }\n\n catch(Exception ex){ ex.printStackTrace();}\n\n }", "title": "" }, { "docid": "dd6462ec6c20626643d77367d5b37014", "score": "0.49456617", "text": "@Override\n\tpublic void playSound(Location arg0, String arg1, float arg2, float arg3)\n\t{\n\n\t}", "title": "" }, { "docid": "6753f81f9240556840229a2d647a451b", "score": "0.4945225", "text": "void playMusic(String music){\r\n try {\r\n File musicPath = new File(\"music\\\\\" + music);\r\n // if the file exist, it starts the music\r\n if (musicPath.exists()) {\r\n AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);\r\n Clip clip = AudioSystem.getClip();\r\n clip.open(audioInput);\r\n clip.start();\r\n\r\n }\r\n }\r\n catch(Exception ex){\r\n ex.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "d986aaf6e21c9acb407d176491bdc8ab", "score": "0.4944084", "text": "public void PlaySound(File Sound){\n try{\n Clip clip = AudioSystem.getClip();\n clip.open(AudioSystem.getAudioInputStream(Sound));\n clip.start();\n\n\n }catch(Exception e)\n {\n\n }\n }", "title": "" }, { "docid": "aba158589a14a25ee6c4bc74c91b4a46", "score": "0.4942006", "text": "private void onRunEvent(Event event) {\n String filepath = (String) event.getArgs().get(0);\n mEventMgr.publish(new Event(EventType.LOAD, filepath));\n mEventMgr.publish(new Event(EventType.START));\n }", "title": "" }, { "docid": "a768fd3cf42bd6c21d26fd6ef038a3e3", "score": "0.49395543", "text": "@NonNull\n public abstract List<Step> play();", "title": "" }, { "docid": "0d3c9fc033639cdad6a85e744fbdbdd6", "score": "0.49288395", "text": "public void playWrong() {\n this.wrong.start();\n }", "title": "" }, { "docid": "f7815f03fd9f694bebc745844dc2f4a8", "score": "0.4926566", "text": "private void handleActionPlay(String param1, String param2) {\n // TODO: Handle action Foo\n //throw new UnsupportedOperationException(\"Not yet implemented\");\n\n String url_play = param1;\n Intent intent = new Intent( \"com.ucweb.intent.action.OPEN_URL\", Uri.parse( url_play ) );\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "9f022313d072fa9c4bcd07dff2e0735b", "score": "0.49201107", "text": "private void switchToGame(String loadGameName) {\n Intent tmp = null;\n if(loadType.equals(\"sliding_file\")) {\n tmp = new Intent(this, SlidingMainActivity.class);\n }else if(loadType.equals(\"snake_file\")) {\n tmp = new Intent(this, SnakeMainActivity.class);\n }else if(loadType.equals(\"mole_file\")){\n tmp = new Intent(this, MoleMainActivity.class);\n }\n\n assert tmp != null;\n tmp.putExtra(\"currentUser\",userManager.getCurrentUser().getUserName());\n tmp.putExtra(\"ifLoad\", \"load\");\n tmp.putExtra(\"loadGameName\", loadGameName);\n startActivity(tmp);\n }", "title": "" }, { "docid": "24f5e99d972005b5fd3567cbd0778e65", "score": "0.49153048", "text": "public static void main(String[] args) {\n try {\n playSound(\"beats.wav\");\n } catch (LineUnavailableException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (UnsupportedAudioFileException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n methodFromSergii();\n }", "title": "" }, { "docid": "b6a0e442f8c961b2128ca3acdd498620", "score": "0.4910352", "text": "public void run() {\n\t\t try {\n\t\t Clip clip = AudioSystem.getClip();\n\t\t //AudioInputStream inputStream = AudioSystem.getAudioInputStream(Main.class.getResourceAsStream(url));\n\t\t AudioInputStream inputStream = AudioSystem.getAudioInputStream(f.toURI().toURL());\n\t\t clip.open(inputStream);\n\t\t clip.start(); \n\t\t } catch (Exception e) {\n\t\t System.err.println(e.getMessage());\n\t\t }\n\t\t }", "title": "" }, { "docid": "a84374ec77a213f7d224243c10081293", "score": "0.490711", "text": "public static void main(String[] args) {\n\t\tUtility.gamePlay();\n\t}", "title": "" }, { "docid": "47d9aa37db5d50e79219076fee3318bd", "score": "0.49041098", "text": "@Override\n\tpublic String play() {\n\t\tint statement = rand.nextInt(4);\n\t\treturn behaviorOptions[statement];\n\t}", "title": "" }, { "docid": "f8a2b92f4484db98b4dd6e67bc0f3f19", "score": "0.48982766", "text": "public void play() {\n\t\tThread t = new Thread(new AudioEngine(filename));\n\t\tt.start();\n\t}", "title": "" }, { "docid": "541952b62d1abf672a0e51a5bc5d9533", "score": "0.48954734", "text": "public static void startActionPlay(Context context, String param1, String param2) {\n Intent intent = new Intent(context, MediaService.class);\n intent.setAction(ACTION_PLAY);\n intent.putExtra(EXTRA_DESCRIPTION, param1);\n intent.putExtra(EXTRA_FILENAME, param2);\n context.startService(intent);\n }", "title": "" }, { "docid": "f33f4975e34b25510e6ac322eec749ae", "score": "0.4888048", "text": "public static void main(final String[] argv) {\n play();\n }", "title": "" }, { "docid": "7a2893ac97a436116a76265de00d5a91", "score": "0.48843315", "text": "@Override\n\tpublic void playEffect(Location arg0, Effect arg1, int arg2)\n\t{\n\n\t}", "title": "" }, { "docid": "4f199e2a26f3eb8a75c15aad4d412ec3", "score": "0.48805812", "text": "@Test\r\n public void play()\r\n {\r\n Random rnd = new Random(0); // fixed seed\r\n String[] verbs = INVOCATIONS.keySet().toArray(new String[0]);\r\n \r\n SWOperationBean op = getOperation(SWOperationBean.TEST);\r\n op.setInt1(SWOperationBean.TEST_RESET_SEED);\r\n op.setInt2(1);\r\n SWContextBean context = SubWarGameAPI.invoke(op);\r\n assertNull(context.getLastOperationError());\r\n\r\n SWInvocationBean resp;\r\n resp = dialog(SubWarAudioAPI.CMD_LAUNCH_APP);\r\n assertNull(resp.getGame());\r\n assertFalse(resp.isEndSession());\r\n for (int i = 0; i < 512; i++)\r\n {\r\n if (resp.isEndSession())\r\n {\r\n resp = dialog(SubWarAudioAPI.CMD_LAUNCH_APP);\r\n assertNull(resp.getGame());\r\n assertFalse(resp.isEndSession());\r\n }\r\n else\r\n {\r\n String verb = verbs[rnd.nextInt(verbs.length)];\r\n String[] args = INVOCATIONS.get(verb);\r\n if (args.length == 0)\r\n resp = dialog(verb);\r\n else\r\n {\r\n String arg = args[rnd.nextInt(args.length)];\r\n resp = dialog(verb, arg);\r\n }\r\n }\r\n aiMove();\r\n }\r\n }", "title": "" }, { "docid": "3fe46ebe2d3389c13d437bf98da4669b", "score": "0.48774916", "text": "public static void main(String[] args) throws UnsupportedAudioFileException, IOException {\n JavaSoundRecorder recorder = new JavaSoundRecorder();\n recorder.Test();\n // start recording\n //recorder.start();\n }", "title": "" }, { "docid": "1d496b074ed20ab41e0277f3a10c8f02", "score": "0.4875481", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(play(21, 22));\r\n\t}", "title": "" }, { "docid": "30244467175c2223f2e8295484a5395a", "score": "0.48724452", "text": "public void run() {\n\t\t try {\n\t\t Clip clip = AudioSystem.getClip();\n\t\t AudioInputStream inputStream = AudioSystem.getAudioInputStream(Main.class.getResourceAsStream(\"/dev/angora/sounds/\" + url));\n\t\t clip.open(inputStream);\n\t\t clip.start(); \n\t\t } catch (Exception e) {\n\t\t System.err.println(e.getMessage());\n\t\t }\n\t\t }", "title": "" }, { "docid": "7928ada798e6d6daa5870e0c0aa4fcbd", "score": "0.4862948", "text": "void play(String audioFilePath) {\n File audioFile = new File(audioFilePath);\n\n try {\n AudioInputStream audioStream = AudioSystem.getAudioInputStream(audioFile);\n\n AudioFormat format = audioStream.getFormat();\n\n DataLine.Info info = new DataLine.Info(Clip.class, format);\n\n Clip audioClip = (Clip) AudioSystem.getLine(info);\n\n audioClip.addLineListener(this);\n\n audioClip.open(audioStream);\n\n int frameLength = audioClip.getFrameLength();\n LOGGER.info(\"Frame length = \" + frameLength);\n\n long duration = audioClip.getMicrosecondLength();\n LOGGER.info(\"Duration = \" + (duration / 1000000) + \" sec\");\n\n /**To specify the position to start playing back:*/\n audioClip.setMicrosecondPosition(1000000); // start playing from the 1st second\n audioClip.setFramePosition(80000); // start playing from the 80,000th frame\n /**To loop playing all the sound for 2 times:*/\n audioClip.loop(2);/**loop 2 times (total play 3 times)*/\n\n /**To stop playing back at the current position:\n audioClip.stop();\n */\n\n audioClip.start();\n\n LOGGER.info(\"Wait for playback completes\");\n while (!playCompleted) {\n try {\n Thread.sleep(100);\n } catch (InterruptedException ex) {\n ex.printStackTrace();\n }\n }\n\n /**\n To stop playing back at the current position:\n audioClip.stop();\n To resume playing, call start() method again.\n */\n\n audioClip.close();\n\n } catch (UnsupportedAudioFileException ex) {\n LOGGER.error(\"The specified audio file is not supported.\", ex.getMessage(), ex);\n } catch (LineUnavailableException ex) {\n LOGGER.error(\"Audio line for playing back is unavailable.\", ex.getMessage(), ex);\n } catch (IOException ex) {\n LOGGER.error(\"Error playing the audio file.\", ex.getMessage(), ex);\n }\n\n }", "title": "" }, { "docid": "8dea7e147fa09b7a27a69962aa7cc458", "score": "0.48626095", "text": "@Override\n public void play(){ }", "title": "" }, { "docid": "0e628cc52d4ddcd11edb5d23ab938cb0", "score": "0.48541495", "text": "@Override\n\tpublic void play() {\n\t\tSystem.out.println(\"Veena is being played\");\n\t}", "title": "" }, { "docid": "166f0fae0d2b89b143763749085d7e50", "score": "0.48432764", "text": "public static void main(String[] args) {\n\t\tnew Frame2().assignValue(\"20181024151214.txt\");\n\t//\tnew Frame2().speak(\"vishal sharma\");\n\t//\tnew Frame2().test();\n\n\t}", "title": "" }, { "docid": "8b8de90b9d544966c9e54349f4bfb584", "score": "0.48424056", "text": "public void playSound() throws UnsupportedAudioFileException, LineUnavailableException, IOException {\n\t\tclip = AudioSystem.getClip();\n\t\tAudioInputStream ais = AudioSystem.getAudioInputStream(getClass().getResource(\"/Wii_Music.wav\"));\n\t\tclip.open(ais);\n\t\tclip.loop(Clip.LOOP_CONTINUOUSLY);\n\t}", "title": "" }, { "docid": "8b12ab7b56f52bf3839f723a78dd62e8", "score": "0.48405534", "text": "@Test\n\tpublic void testPlaySound() {\n\t\t\n\t\tcustomViews.GameScene.playSound(Sounds.BrickBlow);\n\t\tassertEquals(\"Result\",Sounds.BrickBlow,customViews.GameScene.getCurrentSound());\n\t\tcustomViews.GameScene.playSound(Sounds.PaddleHit);\n\t\tassertEquals(\"Result\",Sounds.PaddleHit,customViews.GameScene.getCurrentSound());\n\t\tcustomViews.GameScene.playSound(Sounds.Win);\n\t\tassertEquals(\"Result\",Sounds.Win,customViews.GameScene.getCurrentSound());\n\t}", "title": "" }, { "docid": "89ac891fb27c1048c1907d7f48f01d35", "score": "0.4832829", "text": "public void run (String arg) {\n OpenDialog od = new OpenDialog(\"Select AVI File\", arg); //file dialog\n String fileName = od.getFileName();\n if (fileName == null) return;\n String fileDir = od.getDirectory();\n String path = fileDir + fileName;\n try {\n openAndReadHeader(path); //open and read header\n } catch (Exception e) {\n error(exceptionMessage(e));\n return;\n }\n if (!showDialog(fileName)) return; //ask for parameters\n try {\n ImageStack stack = makeStack(path, firstFrame, lastFrame, isVirtual, convertToGray, flipVertical); //read data\n } catch (Exception e) {\n error(exceptionMessage(e));\n return;\n }\n if (stack==null || aborting || (stack.isVirtual()&&stack.getProcessor(1)==null))\n return;\n if (stack.getSize() == 0) {\n String rangeText = \"\";\n if (firstFrame>1 || lastFrame!=0)\n rangeText = \"\\nin Range \"+firstFrame+\n (lastFrame>0 ? \" - \"+lastFrame : \" - end\");\n error(\"Error: No Frames Found\"+rangeText);\n return;\n }\n imp = new ImagePlus(WindowManager.getUniqueName(fileName), stack);\n if (imp.getBitDepth()==16)\n imp.getProcessor().resetMinAndMax();\n setFramesPerSecond(imp);\n FileInfo fi = new FileInfo();\n fi.fileName = fileName;\n fi.directory = fileDir;\n imp.setFileInfo(fi);\n if (arg.equals(\"\"))\n imp.show();\n IJ.showTime(imp, startTime, \"Read AVI in \", stack.getSize());\n }", "title": "" }, { "docid": "afc11032e42cf7736308457dc9a370f7", "score": "0.4829812", "text": "public void play(){\n Intent intent = new Intent(this, ResultsActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "0b65273666d1e4f3baa826710a574588", "score": "0.48282167", "text": "public AudioClip(String fileName, BattleshipGui gui) {\n try {\n InputStream is = this.getClass().getResourceAsStream(fileName);\n InputStream bufferedIs = new BufferedInputStream(is);\n AudioInputStream track = AudioSystem.getAudioInputStream(bufferedIs);\n this.audio = AudioSystem.getClip();\n this.audio.open(track);\n } catch (NullPointerException|IOException|UnsupportedAudioFileException\n |LineUnavailableException ex) {\n gui.alertException(\"Error loading audio\", ex);\n }\n }", "title": "" }, { "docid": "5988b3e23e5427212efdcd857427088d", "score": "0.48230237", "text": "@Test\n public void load_should_load_save_file() throws IOException {\n String path = \"____\";\n\n when(fsa.loadFile(path)).thenReturn(Map.of(\"location\", \"The Amazon\")); //interacts with a external file\n\n //Act\n target.load(path, g); //loads the save game factory\n\n //Assert\n //the location will be the same as the location in the save file\n assertEquals(\"The Amazon\", g.getPlayer().getLocation().getName());\n\n }", "title": "" }, { "docid": "7cdc5bc117cbee208dae4cd8c5df67df", "score": "0.48102647", "text": "private ScenarioExecution(final String[] args) {\n Utils.initTimeStamps();\n parseCommandLine(args);\n\n // now it is safe to greet the user\n log.info(String.format(PerfCakeConst.WELCOME, PerfCakeConst.VERSION));\n\n Utils.initDebugAgent();\n loadScenario();\n }", "title": "" } ]
4c7cf9d5411ba56292312f929a1672df
Draws a String into the display area for the plot.
[ { "docid": "3a39c51ca9903d86f7a32c236fc1af5a", "score": "0.6950685", "text": "protected void drawAreaString( Graphics g, int nLen, String szText, double x, double y )\n\t{\n\t\tif( nLen > 0 && szText.length( ) > nLen )\n\t\t\tszText = szText.substring( 0, nLen );\n\n\t\tg.drawString( szText, (int) (m_nInsetX + x), (int) (m_nMaxHeight + m_nInsetY - y) );\n\t}", "title": "" } ]
[ { "docid": "21a14426cb986d658ccfd14174feefdd", "score": "0.7651152", "text": "public void drawText(String text, double x, double y, int size);", "title": "" }, { "docid": "00f41b9312143fd31073995c957d5c9a", "score": "0.764941", "text": "public void drawString(String text, int x, int y)\n {\n System.out.println(text);\n }", "title": "" }, { "docid": "6617a1709d14d45bccd987c9a91a6955", "score": "0.7487221", "text": "public void draw(){\n\t\ttext1.setString(text);\n\t\tWindow.getWindow().draw(shape);\n\t\tWindow.getWindow().draw(text1);\n\t}", "title": "" }, { "docid": "efeaf8eee48eae7136b3b073a3d1983d", "score": "0.7423494", "text": "protected void display() {\n super.display();\n String finalString = str;\n sketch.textLeading(LINE_SPACING);\n sketch.textAlign(PConstants.LEFT); //overrides the current default of CENTER, CENTER\n sketch.rectMode(PConstants.CORNER); //overrides the current default of CENTER\n char[] characters = str.toCharArray();\n if (displayCursor) {\n displayCursor = false;\n finalString = \"\";\n char[] charactersWithCursor;\n int offset = 0;\n long nowTime = System.currentTimeMillis();\n if (nowTime - cursorStartTime >= CURSOR_BLINK_RATE) {\n if (cursor == '|') cursor = '\\u2009';\n else cursor = '|';\n cursorStartTime = nowTime;\n }\n charactersWithCursor = new char[characters.length + 1];\n if (cursorIndex == characters.length) finalString = str + cursor;\n else {\n for (int i = 0; i < characters.length; i++) {\n if (i == cursorIndex) {\n charactersWithCursor[i + 1] = cursor;\n offset = 1;\n }\n charactersWithCursor[i + offset] = characters[i];\n }\n finalString = new String(charactersWithCursor);\n }\n }\n sketch.text(finalString, 0f - pixelWidth / 2, 0f - pixelHeight / 2, pixelWidth, pixelHeight + textSize + 1000);\n //sketch.text(str, 0, 0);\n }", "title": "" }, { "docid": "30644f4025ddb9d05defef0f4e849534", "score": "0.73376054", "text": "public void drawString(String text, int x, int y) {\n graphic.drawString(text, x, y);\n if (autoRepaint) canvas.repaint();\n }", "title": "" }, { "docid": "e0c125bcd45727e78ff47b5093d8f72c", "score": "0.71891224", "text": "void drawString(ISurface surface, IPoint point, Color color, String string) {\n byte[] chars = toASCII(string);\n Rectangle cell = new Rectangle(Point.ORIGIN, Dimension.EMPTY);\n cell.setHeight(m_height);\n // Now draw all the characters\n Point where = new Point(point);\n for(byte ch: chars) {\n int index = ch & 0xFF;\n cell.setX(m_xpos[index]);\n cell.setY(m_ypos[index]);\n cell.setWidth(m_widths[index]);\n surface.drawIcon(where, m_icon, color, cell);\n where.setX(where.getX() + m_widths[index]);\n }\n }", "title": "" }, { "docid": "1a3afcd2087828535e953fa7e2e05d4e", "score": "0.7164616", "text": "protected void drawGraphString( Graphics g, int nLen, String szText, double x, double y )\n\t{\n\t\tif( nLen > 0 && szText.length( ) > nLen )\n\t\t\tszText = szText.substring( 0, nLen );\n\n\t\tg.drawString( szText, (int) (m_nGraphInsetX + x), (int) (m_nGraphInsetY + m_nGraphMaxHeight - y) );\n\t}", "title": "" }, { "docid": "724a77e5da3d1efb7bc60034ee66fbb6", "score": "0.711803", "text": "@Override\n\tpublic void render(Graphics g) {\n\t\tg.setColor(Color.BLACK);\n\t\tg.drawString(s, x, y);\n\t\t\n\t}", "title": "" }, { "docid": "a51f1e555a4a56f371dfc78603c2ca3d", "score": "0.7098644", "text": "public void drawTxt() {\n figure = \"\";\n for (int i = 0; i < getHeight(); i++) {\n for (int j = 0; j < getBase(); j++) {\n figure = figure + \"*\";\n }\n figure = figure + \"\\n\";\n }\n System.out.println(figure);\n }", "title": "" }, { "docid": "aefe7ddc128f3e908bb593d1e591fd52", "score": "0.70765173", "text": "protected void paintComponent(Graphics g){\n\t\tsuper.paintComponents(g);\n\t\tg.drawRect(0, 0, 70, 50);\n\t\tg.drawLine(0,20, 70, 20);\n\t\tg.drawString(str,15,15);\n\t}", "title": "" }, { "docid": "f8ca945774c61dc9c1c9316c2f1ec3c4", "score": "0.7072604", "text": "void drawString(Graphics g, String s, int x, int y) {\n g.setColor(colour);\n g.setFont(FONT);\n FontMetrics fm = g.getFontMetrics(FONT);\n g.drawString(s, x*fm.charWidth('W'), y*fm.getAscent());\n }", "title": "" }, { "docid": "5a52b74a349a1960058d4020c4af2620", "score": "0.7059682", "text": "public void drawString(String text, float px, float py, int offx, int offy, char alignment, int cr, int cg, int cb, int ca, boolean hasShadow);", "title": "" }, { "docid": "567687b8e6cd81cfb0c70b151f5f312e", "score": "0.7041191", "text": "public void drawString(String text, int x, int y) {\n\t\tgraphic.drawString(text, x, y);\n\t\tcanvas.repaint();\n\t}", "title": "" }, { "docid": "ffe5a7deb1e1a953e7d8c6c6ebadc007", "score": "0.703406", "text": "@Override\n void draw(Canvas canvas) {\n drawString(canvas, appearance, getX(), getY());\n }", "title": "" }, { "docid": "58708520398113b70b516d229b22ef2e", "score": "0.7005837", "text": "@Override\n protected void paintComponent(Graphics g)\n {\n super.paintComponent(g);\n /*\n * This line is used to draw the dynamic\n * String at the given location.\n */\n //g.drawString(message, x, y);\n valuePesoCapturado.setText(message);\n }", "title": "" }, { "docid": "20272d4ec1c66c072e0ed539c86ec0cd", "score": "0.7005254", "text": "public static void drawString(String _str, float _x, float _y)\r\n {\r\n drawString(_str, _x, _y, Color.white);\r\n }", "title": "" }, { "docid": "055aa4e1149715eb02cec1291b7d9a8e", "score": "0.697122", "text": "public void drawString(String string, int x, int y) {\n if (string == null)\n return;\n pDrawString(psd, fontMetrics.nativeFont, string, x + originX, y + originY);\n }", "title": "" }, { "docid": "0aa6589f816f0f089eabc7cd6c2c73ab", "score": "0.6955", "text": "private void drawString(Graphics g, String text, int x, int y) \r\n\t{\r\n\t\tfor (String line : text.split(\"\\n\"))\r\n\t\t{\r\n\t\t\tg.drawString(line, x, y+=20);\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "e7ec97ff8152157f4e4b15dd6fccdbe9", "score": "0.69137806", "text": "public String textdrawed() {\n drawTxt();\n return figure;\n }", "title": "" }, { "docid": "3c1bcd61f35f1d216a5214de3154693c", "score": "0.68926096", "text": "public static void drawString( Graphics2D g, String string, int x, int y ) {\r\n\r\n // Get the current text font metrics (width and hegiht)\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n double width = fontMetrics.stringWidth( string );\r\n double height = fontMetrics.getAscent( );\r\n\r\n int realX = x;\r\n int realY = y;\r\n\r\n //Check if the text don't go out of the window horizontally\r\n //and if it do correct it so it's in the window\r\n if( realX + width / 2 > WINDOW_WIDTH ) {\r\n realX = (int) ( WINDOW_WIDTH - width / 2 );\r\n }\r\n else if( realX - width / 2 < 0 ) {\r\n realX = (int) ( width / 2 );\r\n }\r\n realX -= width / 2;\r\n\r\n //Check if the text don't go out of the window vertically\r\n //and if it do correct it so it's in the window\r\n if( realY + height / 2 > WINDOW_HEIGHT ) {\r\n realY = (int) ( WINDOW_HEIGHT - height / 2 );\r\n }\r\n else if( realY < 0 ) {\r\n realY = 0;\r\n }\r\n realY += height / 2;\r\n\r\n //Draw the string\r\n g.drawString( string, realX, realY );\r\n }", "title": "" }, { "docid": "e8f204feef9709704cc7215925d5fa15", "score": "0.6881977", "text": "public void display() {\n p.fill(255);\n p.rect(this.xPos, this.yPos, this.w, this.h);\n p.fill(255);\n p.text(this.tekst, xPos + 50, yPos + 75);\n }", "title": "" }, { "docid": "7cbe61acb1dba715cdc291c6ebd80ad1", "score": "0.6878866", "text": "public static void drawStringOnto( Graphics2D g, String string, int x, int y, boolean centeredX, Color textColor, Color borderColor, boolean border, boolean showBuble ) {\r\n\r\n //Get the current text font metrics (width and hegiht)\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n double width = fontMetrics.stringWidth( string );\r\n double height = fontMetrics.getAscent( );\r\n int realX = x;\r\n int realY = y;\r\n\r\n //If the text is centered in its X coordinate\r\n if( centeredX ) {\r\n //Check if the text don't go out of the window horizontally\r\n //and if it do correct it so it's in the window\r\n if( realX + width / 2 > WINDOW_WIDTH ) {\r\n realX = (int) ( WINDOW_WIDTH - width / 2 );\r\n }\r\n else if( realX - width / 2 < 0 ) {\r\n realX = (int) ( width / 2 );\r\n }\r\n realX -= width / 2;\r\n //Check if the text don't go out of the window vertically\r\n //and if it do correct it so it's in the window\r\n if( realY > WINDOW_HEIGHT ) {\r\n realY = WINDOW_HEIGHT;\r\n }\r\n else if( realY - height < 0 ) {\r\n realY = (int) height;\r\n }\r\n //if it's not centered\r\n }\r\n else {\r\n //Check if the text don't go out of the window horizontally\r\n //and if it do correct it so it's in the window\r\n //FIXME nuevo, a ver si funciona\r\n /*if( realX + width > WINDOW_WIDTH ) {\r\n realX = (int) ( WINDOW_WIDTH - width );\r\n } else if( realX < 0 ) {\r\n realX = 0;\r\n }*/\r\n if( realX + width > WINDOW_WIDTH ) {\r\n realX = 0;\r\n //To know the width of one character\r\n double w = fontMetrics.stringWidth( new String( \"A\" ) );\r\n int position = (int) ( WINDOW_WIDTH / w ) + 18;\r\n if (position > string.length( ))\r\n position = string.length( );\r\n string = string.substring( 0, position );\r\n string = string + \"...\";\r\n }\r\n //Check if the text don't go out of the window vertically\r\n //and if it do correct it so it's in the window\r\n if( realY > WINDOW_HEIGHT ) {\r\n realY = WINDOW_HEIGHT;\r\n }\r\n else if( realY - height < 0 ) {\r\n realY = (int) height;\r\n }\r\n }\r\n //If the text has border, draw it\r\n if (showBuble) {\r\n AlphaComposite alphaComposite = AlphaComposite.getInstance( AlphaComposite.SRC_OVER, 0.8f );\r\n Composite temp = g.getComposite( );\r\n g.setComposite( alphaComposite );\r\n\r\n int descent = fontMetrics.getDescent( );\r\n g.setColor( Game.getInstance( ).getFunctionalPlayer( ).getBubbleBkgColor( ) );\r\n g.fillRoundRect( realX - 4, realY - (int) (height) + 2, (int) width + 8, (int) height + descent - 2, 4, 4 );\r\n g.setColor( Game.getInstance( ).getFunctionalPlayer( ).getBubbleBorderColor( ) );\r\n g.drawRoundRect( realX - 4, realY - (int) (height) + 2, (int) width + 8, (int) height + descent -2 , 4, 4 );\r\n\r\n g.setComposite( temp );\r\n\r\n }\r\n if( border ) {\r\n g.setColor( borderColor );\r\n g.drawString( string, realX - 1, realY - 1 );\r\n g.drawString( string, realX - 1, realY + 1 );\r\n g.drawString( string, realX + 1, realY - 1 );\r\n g.drawString( string, realX + 1, realY + 1 );\r\n g.setColor( textColor );\r\n }\r\n //Draw the text\r\n g.drawString( string, realX, realY );\r\n }", "title": "" }, { "docid": "e0cec0eb4610b277810df0e782f4e160", "score": "0.6866086", "text": "public void prepareDrawString();", "title": "" }, { "docid": "8dadae4e680c05b0972f57c0d142e689", "score": "0.68271285", "text": "private void drawString(Canvas canvas, String s, int x, int y) {\n canvas.drawText(s, x * FishTankView.charWidth, y * FishTankView.charHeight, paintText);\n }", "title": "" }, { "docid": "145e8b0a6aff99008cb91626a71719f8", "score": "0.68240684", "text": "@Override\n public void drawText(String text)\n {\n \n }", "title": "" }, { "docid": "b80a9733e7ebdab21ecd11c322b67629", "score": "0.6822093", "text": "public void paintComponent(Graphics g) {\n \t\r\n \tg.setColor(Color.magenta);\r\n \tg.drawString(display, this.xLoc, this.yLoc);\r\n \t\r\n }", "title": "" }, { "docid": "23e5ce25ab672e0db0d538c1e71690d9", "score": "0.68132204", "text": "public void drawText(String toDraw, float f, float textBaseY, Paint mPaint);", "title": "" }, { "docid": "d953886f45d7cba722c557bc332e002c", "score": "0.6784583", "text": "public void drawComponent()\n\t{\n\t\tRenderManager.drawString(this.label, x + (this.width / 2) - (RenderManager.getTextWidth(this.label) / 2), this.y + (this.height / 2) - 4, Theme.WHITE);\n\t}", "title": "" }, { "docid": "3160941fc7f6ccb8ec1bed06352e3025", "score": "0.6751573", "text": "@Override\n void drawString(Canvas canvas, String s, int x, int y) {\n canvas.drawText(s, x * FishTankView.charWidth,\n y * FishTankView.charHeight, paintText);\n }", "title": "" }, { "docid": "b07e14be4677a7ae37b38c191512eab8", "score": "0.6750923", "text": "public void draw (Canvas canvas){\n drawString(canvas, appearance, this.getWidth(), this.getHeight());\n }", "title": "" }, { "docid": "5a35eacc1bf5e4ac328767dcec55f0bf", "score": "0.67444396", "text": "public void show (StringBuffer text, int x, int y)\r\n {\r\n show(text.toString(), x, y);\r\n }", "title": "" }, { "docid": "ab2dc8765b9be515506df6f1d7c4067d", "score": "0.674266", "text": "private static void showText(String str, int x, int y, int color) { minecraft.fontRenderer.drawStringWithShadow(str,x,y,color); }", "title": "" }, { "docid": "022acd8a08fb9ac941ed2421cc7431e4", "score": "0.669415", "text": "public void draw(float x , float y , float FontSize, String text){\n\t\tdraw(x, y, FontSize, text, Color.white);\n\t}", "title": "" }, { "docid": "5ccc80c7f12b78bf8c42bbd6eb1fe08f", "score": "0.6663153", "text": "static public void drawText(PGraphics g, float height, String text, float x, float y) {\n\t\tg.pushMatrix();\n\t\tg.translate(x, y);\n\t\tg.scale(-0.01f,0.01f);\n\t\tg.textSize(height*100);\n\t\tg.text(text, 0, 0);\n\t\tg.popMatrix();\n\t}", "title": "" }, { "docid": "55a1471ccd90d12ecb3f780946d4e4d1", "score": "0.6630895", "text": "void draw(Graphics g) {\n drawString(g, appearance, r, c);\n }", "title": "" }, { "docid": "8b51a38775d2aaf0fdcc1f96e60a5199", "score": "0.6617985", "text": "private void renderString(GL2 gl, int font, String string) {\n if (bFontTypeBitmap) {\n gl.glRasterPos2f(0f, 0f);\n ipglut.glutBitmapString(gl, font, string);\n } else {\n ipglut.glutStrokeString(gl, font, string);\n }\n }", "title": "" }, { "docid": "37d9810ac457ebe941dddf0ed7e13cb8", "score": "0.6607676", "text": "private void drawText(String indexString,int x,int y){\n }", "title": "" }, { "docid": "664fcdcd3be1c46e55112249c204a275", "score": "0.6512837", "text": "private void drawText(Graphics g,Color c,int fontSize,String text,int x,int y){\n\t\tg.setFont(new Font(\"Segoe Print\",Font.BOLD,fontSize));\n\t\t//drop shadow effect\n\t\tg.setColor(new Color(0,0,0,122));\n\t\tg.drawString(text,x,y);\n\t\t//draw with colour\n\t\tg.setColor(c);\n\t\tg.drawString(text,x-2,y-1);\n\t}", "title": "" }, { "docid": "76514d68cf43bbebda68c82ee43cbe94", "score": "0.64737767", "text": "public void drawText(Graphics g, String s, int x, int y) {\n int len = s.length();\n int srcX = 0;\n int srcY = 0;\n int srcWidth = 23;\n int srcHeight = 54;\n String c;\n for (int i =0; i<len ; i++){\n\t\t\tfor(int j=0; j<=9; j++){\n\t\t\t\tc = \"\"+j;\n\t\t\t\tif(c.charAt(0) == s.charAt(i)){\n\t\t \tsrcX = j * 23;\n\t\t g.drawPixmap(Assets.numbers, x, y, srcX, srcY, srcWidth, srcHeight); \n\t\t\t\t}\n\t\t\t}\n\t\t\tx += 23;\n }\n }", "title": "" }, { "docid": "641117da331e7a8bcacdab2b980e4195", "score": "0.6467163", "text": "static public void drawText(PGraphics g, float height, String text, float x, float y, float x2, float y2) {\n\t\tg.pushMatrix();\n\t\tg.translate(x, y);\n\t\tfloat scale=100f;\n\t\tg.scale(-1/scale,1/scale); // Flip coordinate system so we don't have mirror images\n\t\tg.textSize(height*scale);\n\t\tg.text(text, 0, 0,x2*scale,y2*scale);\n\t\tg.popMatrix();\n\t}", "title": "" }, { "docid": "0e7dbe879c6d1d1356fb0baa8b522266", "score": "0.64594686", "text": "public abstract void drawText(String text, int fontSize);", "title": "" }, { "docid": "0d7a819c8076f206808789f33a39f1ff", "score": "0.6438936", "text": "public void drawStringAt(String text, int count)\n {\n System.out.println(text);\n }", "title": "" }, { "docid": "e4b9c67cbde12387e2550da8018a214e", "score": "0.6425063", "text": "public void drawString(String name, String str, int x, int y)\n {\n if(commands.containsKey(name))\n {\n \n throw new IllegalArgumentException(\"There is already an object with the name \" + name + \" in this tool\");\n }\n TextCommand command = new TextCommand(str, x, y, f);\n commands.put(name, command);\n panel.addCommand(command);\n panel.repaint();\n }", "title": "" }, { "docid": "08221efa073f4ae87aa350f8352734bc", "score": "0.6413279", "text": "@Override\n\tpublic String generateTextVisualization(String textToVisualize) {\n\t\tif (!textToVisualize.startsWith(\"'\"))\n\t\t\ttextToVisualize = \"'\" + textToVisualize.replace(\"'\", \"\\\\'\") + \"'\";\n\t\t\n\t\treturn \"disp(sprintf(\" + textToVisualize + \"))\\r\\n\";\n\t}", "title": "" }, { "docid": "c61a2a4472f0e2a23348c49112aa1ec5", "score": "0.6384944", "text": "public void draw_regular_text(java.lang.CharSequence str, float x, float y,\n\t\t\tGameColor color) {\n\t\tregular_text.setColor(color);\n\t\tregular_text.draw(this, str, x, y);\n\t\t// regular_text.setColor(previousColor);\n\t}", "title": "" }, { "docid": "56dfe0d0d43b7a9f833a27d06c1d58b8", "score": "0.63792765", "text": "public void displayPointValue() { Draw the text at computed x, y location\n //\n \ttextSize(20);\n \ttextAlign(CENTER);\n \tfill(0);\n \ttext(pointValue, x, y);\n }", "title": "" }, { "docid": "81d819705cd632bc29065bd688e04203", "score": "0.6347103", "text": "public void paint (Graphics g) {\n System.out.println(\"***[3] paint()***\");\n char ch;\n\n ch = msg.charAt(0);\n msg = msg.substring(1, msg.length());\n msg += ch;\n g.drawString(msg, 50, 30);\n }", "title": "" }, { "docid": "cbdd88d8d7e633443370a16833ef5096", "score": "0.6336577", "text": "void show(){\n fill(c);\n ellipse(x, y, 30, 30);\n fill(0);\n textSize(20);\n text(number, x-5, y+7);\n textSize(12);\n }", "title": "" }, { "docid": "ff2fc20fe60d0248dad6748f15ea024c", "score": "0.63313854", "text": "public void drawText(Canvas canvas) {\n int i = 0;\n int j = 0;\n while (i < this.m_iRealLine) {\n drawLineEN((String) this.m_String.elementAt(i), this.f55x, (this.m_iFontHeight * ((float) j)) + this.f56y, canvas, i);\n i++;\n j++;\n }\n }", "title": "" }, { "docid": "a70199efa3018f244668026b24dd4a7b", "score": "0.6326062", "text": "public void drawText(int x, int y, String sText) {\n //save gl matrix\n gl.glPushMatrix();\n\n position3DObjectInPlane(x, y);\n\n //scale text to draw it\n gl.glScalef(fontScaleX, fontScaleY, 1f);\n //translate text so that it's top-left corner is situated in (0,0,0)\n gl.glTranslatef(0f, -fontHeightTop, 0f);\n //draw text\n //on several rows if \"\\n\" character is encountered\n String[] result = sText.split(\"\\\\n\");\n for (int i = 0; i < result.length; i++) {\n gl.glPushMatrix();\n //renderStrokeString( gl, font, result[i]);\n renderString(gl, font, result[i]);\n gl.glPopMatrix();\n //translate so that next tokens be under current, with full height\n //of text and the font spaceing on y\n gl.glTranslatef(0f, -(1 + fontSpaceY) * (fontHeightTop - fontHeightBottom), 0f);\n }\n\n //revert to initial draw matrix\n gl.glPopMatrix();\n }", "title": "" }, { "docid": "bd20927e4ab8b07b9eeeb1f8460bdf50", "score": "0.62914854", "text": "private void paintStrings(Graphics2D g) {\r\n g.setColor(Color.BLACK);\r\n\r\n int a;\r\n int b;\r\n int realRow;\r\n int realCol;\r\n String output;\r\n\r\n for (a = 0; a < cols; a++) {\r\n for (b = 0; b < rows; b++) {\r\n realCol = a + this.col;\r\n realRow = b + this.row;\r\n\r\n output = this.sheet.evaluateCell(new Coord(realCol, realRow)).toString();\r\n\r\n Shape oldClip = g.getClip();\r\n Shape newClip = new Rectangle(widthInc * (a + 1),heightInc * (b + 1),\r\n widthInc, heightInc);\r\n g.setClip(newClip);\r\n\r\n\r\n if (realCol == this.selectedCol & realRow == this.selectedRow) {\r\n g.setColor(Color.RED);\r\n g.fillRect(0, 0, width, height);\r\n g.setColor(Color.BLACK);\r\n }\r\n\r\n g.drawString(output, (int) (widthInc * (a + 1.1)), (int) (heightInc * (b + 1.9)));\r\n g.setClip(oldClip);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "1ba59fa275201a028f8b7168a974d318", "score": "0.6282777", "text": "@Override\n public void draw(PGraphics g) {\n g.textAlign(PConstants.LEFT,PConstants.TOP);\n g.textSize(50);\n g.text(text,getX(),getY());\n }", "title": "" }, { "docid": "88b14f6828e2529af688b3f7a91fc885", "score": "0.62819564", "text": "private void drawText(Graphics g, FontMetrics metrics) {\r\n\r\n\t\t\r\n\t\tif (selectedText != \"\") {\r\n\t\t\tint y =((this.getHeight() - metrics.getHeight()) / 2) - this.getYTotalOffset();\r\n\t\t\tint x = metrics.stringWidth(this.leftText) + this.getXTotalOffset();\r\n\t\t\tg.setColor(Color.blue);\r\n\t\t\tg.fillRect(x, y, metrics.stringWidth(selectedText), metrics.getHeight());\r\n\t\t\tg.setColor(Color.black);\r\n\t\t}\r\n\t\t\r\n\t\tint y = ((this.getHeight() - metrics.getHeight()) / 2) + metrics.getAscent()-this.getYTotalOffset();\r\n\t\t//g.drawString(this.getText(), super.getX(), y);\r\n\t\tg.drawString(this.getText(), this.getXTotalOffset(), y);\r\n\t}", "title": "" }, { "docid": "02ca3ac1b26c59a76095fdfef1608ae5", "score": "0.6235166", "text": "public void draw_smaller_text(java.lang.CharSequence str, float x, float y) {\n\t\tdraw_smaller_text(str, x, y, DEFAULT_TEXT_COLOR);\n\t}", "title": "" }, { "docid": "c5fef4477e0965c8573da3c63569bbe8", "score": "0.6221953", "text": "void drawChar(ISurface surface, IPoint point, Color color, char ch) {\n // Get the character cell\n Rectangle cell = new Rectangle(\n m_xpos[(int)ch],\n m_ypos[(int)ch],\n m_widths[(int)ch],\n m_height\n );\n // Now draw the character\n surface.drawIcon(point, m_icon, color, cell);\n }", "title": "" }, { "docid": "def7bafd12e639e725898e2bf5e3c24b", "score": "0.6220846", "text": "@Override\n\tpublic void draw () {\n\t\tif (!mouseInside () && mouseDown ()) {\n\t\t\tfocus = false;\n\t\t\tif (value.equals (\"\")) {\n\t\t\t\tvalue = defaultString;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Okay here's the reasonable code\n\t\t//Set the outline color\n\t\tint outlineColor = OUTLINE_COLOR;\n\t\tif (!valid) {\n\t\t\toutlineColor = OUTLINE_COLOR_INVALID;\n\t\t}\n\t\t//Then do the stuff\n\t\tRectangle bounds = getBoundingRectangle ();\n\t\tGraphics g = getGraphics ();\n\t\tg.setColor (new Color (FILL_COLOR));\n\t\tg.fillRect (0, 0, bounds.width, bounds.height);\n\t\tg.setColor (new Color (outlineColor));\n\t\tg.drawRect (0, 0, bounds.width - 1, bounds.height - 1);\n\t\tg.setColor (new Color (TEXT_COLOR));\n\t\tg.drawString (value, TEXT_PADDING_LEFT, TEXT_PADDING_TOP + g.getFontMetrics ().getAscent ());\n\t}", "title": "" }, { "docid": "83f26b331c018d3c1b30c945417eeb82", "score": "0.62152505", "text": "@Override\t\r\n\tpublic void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\t//pout la couleur de fond\r\n\r\n\t\tFont police = new Font(\"Comic sans MS\",0, 15);\t\r\n\t\tg.setFont(police);\r\n\t\tString phrase = \"Azizi a toutes et tous ceci est moi qui suis content de vous voir en ce jour, yallah al vie de ma mère je suis refait de toutes ces friandises\";\r\n\r\n\t\tg.drawString(phrase, 10, 20);\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f6a5137d2145e5a361c26e56f4c285d3", "score": "0.6207367", "text": "public void drawOn(Graphics2D g2) {\t\t\r\n\r\n\t\t// HINT FOR PART 3\r\n\t\t// Drawing a string fitted to a particular size is tricky...don't try to do it yourself\r\n\t\t// Instead, use the handy static function we've provided you in RectangleTextUtils\r\n\t\t// (check out the comments in that class to see the details)\r\n\t\t//\r\n\t\t// It takes coordinates similar to drawRect, and draws the given text in that rectangle.\r\n\t\t// It won't draw the text rotated through. You'll have to handle that in a similar\r\n\t\t// way to what you've done in BiggestFan or Faces.\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a44a86c2e95f354c104feccf2b5b3f8e", "score": "0.617959", "text": "public static void out (String outtext){ \r\n\t\t//System.out.print(outtext);\r\n\t\ttextWindow.append(outtext);\r\n\t\ttextWindow.repaint();\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4cc85a5eb87b40c728aeead610b36181", "score": "0.61500746", "text": "public static void drawStringOnto( Graphics2D g, String[] strings, int x, int y, Color textColor, Color borderColor, Color bkgColor, Color bubbleBorder, boolean showArrow ) {\r\n\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( );\r\n\r\n int maxWidth = 25;\r\n for( String line : strings )\r\n maxWidth = ( fontMetrics.stringWidth( line ) > maxWidth ? (int) fontMetrics.stringWidth( line ) : maxWidth );\r\n\r\n int tempX = x;\r\n int tempY = y;\r\n if( tempX - maxWidth / 2 < 0 )\r\n tempX = maxWidth / 2;\r\n if( tempY - textBlockHeight < 0 )\r\n tempY = textBlockHeight;\r\n if( tempX + maxWidth / 2 > GUI.WINDOW_WIDTH )\r\n tempX = GUI.WINDOW_WIDTH - maxWidth / 2;\r\n\r\n AlphaComposite alphaComposite = AlphaComposite.getInstance( AlphaComposite.SRC_OVER, 0.8f );\r\n Composite temp = g.getComposite( );\r\n g.setComposite( alphaComposite );\r\n g.setColor( bkgColor );\r\n g.fillRoundRect( tempX - maxWidth / 2 - 5, tempY - textBlockHeight - 5, maxWidth + 10, textBlockHeight + 10, 20, 20 );\r\n\r\n g.setComposite( temp );\r\n g.setColor( bubbleBorder );\r\n g.drawRoundRect( tempX - maxWidth / 2 - 5, tempY - textBlockHeight - 5, maxWidth + 10, textBlockHeight + 10, 20, 20 );\r\n\r\n if( showArrow ) {\r\n g.setComposite( alphaComposite );\r\n g.setColor( bkgColor );\r\n int x_p[] = new int[] { tempX - 10, tempX + 10, tempX };\r\n int y_p[] = new int[] { tempY + 5, tempY + 5, tempY + 15 };\r\n g.fillPolygon( x_p, y_p, 3 );\r\n\r\n g.setComposite( temp );\r\n g.setColor( bubbleBorder );\r\n g.drawLine( x_p[0], y_p[0], x_p[2], y_p[2] );\r\n g.drawLine( x_p[1], y_p[1], x_p[2], y_p[2] );\r\n }\r\n\r\n drawStringOnto( g, strings, x, y, textColor, borderColor );\r\n }", "title": "" }, { "docid": "659a9799bc3f9d25a11f875fbb9d6b62", "score": "0.6147225", "text": "public void addTextToDraw( String string, int x, int y, Color textColor, Color borderColor ) {\r\n\r\n boolean added = false;\r\n int i = 0;\r\n if( !string.equals( \"\" ) ) {\r\n Text text = new Text( string, x, y, textColor, borderColor );\r\n while( !added && i < textToDraw.size( ) ) {\r\n if( y <= textToDraw.get( i ).getY( ) ) {\r\n textToDraw.add( i, text );\r\n added = true;\r\n }\r\n i++;\r\n }\r\n if( !added )\r\n textToDraw.add( text );\r\n }\r\n }", "title": "" }, { "docid": "765633e37cbe4d0ef12ef93bc56f0eb7", "score": "0.61459666", "text": "public static void drawStringOnto( Graphics2D g, String[] strings, int x, int y, Color textColor, Color borderColor ) {\r\n\r\n //Calculate the total height of the block text\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( );\r\n\r\n // This is the y lower position of the first line\r\n int realY = y - textBlockHeight + fontMetrics.getAscent( );\r\n if( realY < fontMetrics.getAscent( ) )\r\n realY = fontMetrics.getAscent( );\r\n\r\n //Draw each line of the string array\r\n for( String line : strings ) {\r\n drawStringOnto( g, line, x, realY, true, textColor, borderColor, true, false);\r\n realY += fontMetrics.getHeight( );\r\n }\r\n }", "title": "" }, { "docid": "ccdba7f1fa2b170e2114ac6e15245f8a", "score": "0.61341256", "text": "public void drawString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)\n {\n par1FontRenderer.drawStringWithShadow(par2Str, par3, par4, par5);\n }", "title": "" }, { "docid": "42efce3ff6004936ffbae9ebaf362e43", "score": "0.6127323", "text": "public void print2(Graphics g, String head, int z, int x, int y){\n\n g.drawString(head,x,y);\n y+=15;\n g.drawString(String.valueOf(z),x,y);\n x+=20;\n\n }", "title": "" }, { "docid": "a2cb6dde58d1fa901bfaf5a12aecce23", "score": "0.6126847", "text": "public void paint ( Graphics g )\n {\n super.paint(g);\n g.drawString(\"Welcome to java Applet\",20,30);\n\n }", "title": "" }, { "docid": "0d7d8bf3319d5fbf54780a97595a28dc", "score": "0.61242867", "text": "public void text(String data, int x, int y, int width, int height) {\n String[] lines = textWrap(data, width, height);\n //// draw lines\n text(lines, x, y, width, height);\n }", "title": "" }, { "docid": "964c0d2c55aaf70ed024e7feb6f0b7a8", "score": "0.61233187", "text": "public void show (char character, int x, int y)\r\n {\r\n show(\" \" + character + \" \", x, y);\r\n }", "title": "" }, { "docid": "208dd77e1620e8f43c13cbeafc889ab0", "score": "0.61229867", "text": "public void draw(Graphics g){\n g.setColor(color);\n g.setFont(buttonFont);\n // Drawing the text in the center of the rectangle\n int width = g.getFontMetrics().stringWidth(text);\n int height = g.getFontMetrics().getHeight();\n g.drawString(text, buttonRect.x + (buttonRect.width - width)/2, buttonRect.y + (buttonRect.height - height)/2 + 25);\n }", "title": "" }, { "docid": "e968d1a9fa0b6f85d6ee46aae0025823", "score": "0.6122189", "text": "public static void TextDraw(String string, int time) {\n\t\tfor (int i = 0; i < string.length(); i++) \n\t\t{ \t\t\t\t\t \n\t\t\tSystem.out.print(string.charAt(i));\t\t\t\t//Outputs the contents of any string one character\n\t\t\tpause(time); \t\t\t\t\t\t\t\t\t//at a time with a pause() in between\n\t\t}\n\t}", "title": "" }, { "docid": "4d2c1069a896a8e201c33ffa5dce5fe2", "score": "0.61193883", "text": "public void render(){\n batch.begin();\n if(mouseOn(dimensions.x, dimensions.y)) {\n font.setColor(Color.RED);\n hovered = true;\n }\n else {\n font.setColor(Color.WHITE);\n hovered = false;\n }\n layout.setText(font, display);\n textHeight = layout.height;\n font.draw(batch, display, position.x-dimensions.x/2, position.y+dimensions.y/2-textHeight/2);\n batch.end();\n }", "title": "" }, { "docid": "20ff555451df62eda71f3b0937b9740e", "score": "0.6116141", "text": "public static void displayMessage(String message) {\n processing.fill(0);\n processing.textSize(20);\n processing.text(message, processing.width / 2, 50);\n processing.textSize(12);\n }", "title": "" }, { "docid": "0ef8133197299c64335bd96119dfd6bb", "score": "0.6114876", "text": "static void drawInput(String s) {\n StdDraw.clear(Color.BLACK);\n StdDraw.text(Game.WIDTH / 2, (Game.HEIGHT / 2) - 5, s);\n drawNewGameScreen();\n }", "title": "" }, { "docid": "244718763d3d2948496d17d62fcb8aec", "score": "0.6112552", "text": "public void println() {\r\n\t\tprint(\"\\n\");\r\n\t\ttext.repaint();\r\n\t}", "title": "" }, { "docid": "0d154424ae7bebda01e9165ad5491b9e", "score": "0.6104385", "text": "private void printText() {\r\n GLabel text = new GLabel(\"Flag of Germany\");\r\n text.setFont(\"SERIF-25\");\r\n double x = (getWidth() - text.getWidth());\r\n double y = (getHeight() - ((text.getHeight()) - (text.getAscent())));\r\n\r\n //Print text\r\n add(text, x, y);\r\n }", "title": "" }, { "docid": "3bda4f079ce63a7c9d3da1fcbb50cf61", "score": "0.60920095", "text": "public void displayString(String string) {\n\t\tinfoPanel.addText(string);\n\t}", "title": "" }, { "docid": "50ef1998b2eeeb41892587ff4820080a", "score": "0.60872406", "text": "public static void render(){\n\n String print = \"<html><pre><span style='color:white;'>\";\n\n int drawn = 0;\n int current = 0;\n // Draw out grid loop\n while (drawn < (height * width)) {\n while (current < width) {\n // Draw color if requested\n if(renderArray[drawn].color != 0){\n print += \"<span style='color:\" + colorValues[renderArray[drawn].color] + \"'>\";\n }\n // Add next pixel to print string.\n print = print + renderArray[drawn].value;\n // Close color tag\n if(renderArray[drawn].color != 0){\n print += \"</span>\";\n }\n\n current++;\n drawn++;\n }\n current = 0;\n print = print + \"<br>\";\n }\n\n // End of print string\n print = print + \"</span></pre></html>\";\n // Print out the rendered text.\n pixelFrame.setText(print);\n\n // Old render system - System.out.print(print);\n }", "title": "" }, { "docid": "fcfc630b7fc30172dfe0bdb376272395", "score": "0.60857105", "text": "public void addTextToDraw( String string, int x, int y, Color textColor, Color borderColor, Color bubbleBkgColor, Color bubbleBorderColor, boolean showArrow ) {\r\n\r\n boolean added = false;\r\n int i = 0;\r\n if( !string.equals( \"\" ) ) {\r\n Text text = new Text( string, x, y, textColor, borderColor, bubbleBkgColor, bubbleBorderColor, showArrow );\r\n while( !added && i < textToDraw.size( ) ) {\r\n if( y <= textToDraw.get( i ).getY( ) ) {\r\n textToDraw.add( i, text );\r\n added = true;\r\n }\r\n i++;\r\n }\r\n if( !added )\r\n textToDraw.add( text );\r\n }\r\n }", "title": "" }, { "docid": "e603b11421062db38eb126d078383ee1", "score": "0.606493", "text": "public void draw(Graphics g) {\r\n\t\tg.setColor(Color.white);\r\n\t\tg.setFont(new Font(\"Serif\", Font.BOLD, 36));\r\n\t\tg.drawString(\"\" + score, location.x, location.y);\r\n\r\n\t}", "title": "" }, { "docid": "3b6fcf6802253c06ef7792984b6977a5", "score": "0.60506403", "text": "private void drawString(Graphics2D g, String s, double tx, double ty, double theta) { //double rotx, double roty) {\n AffineTransform aff = AffineTransform.getRotateInstance(theta, tx, ty);\n aff.translate(tx, ty);\n\n Graphics2D g2D = ((Graphics2D) g);\n g2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);\n BufferedImage stringImage = createStringImage(g, s);\n aff.translate(-stringImage.getWidth()/2, 0); // Move image so it is centered around tx, ty\n g2D.drawImage(stringImage, aff, this);\n }", "title": "" }, { "docid": "b85d25cd65178785b1a98c0ec45b9907", "score": "0.6030328", "text": "public static void drawString( Graphics2D g, String[] strings, int x, int y ) {\r\n\r\n //Calculate the total height of the block text\r\n FontMetrics fontMetrics = g.getFontMetrics( );\r\n int textBlockHeight = fontMetrics.getHeight( ) * strings.length - fontMetrics.getLeading( ) - fontMetrics.getDescent( );\r\n\r\n // This is the y center position of the first line\r\n int realY = y - textBlockHeight / 2 + fontMetrics.getAscent( ) / 2;\r\n\r\n //Draw each line of the string array\r\n for( String line : strings ) {\r\n drawString( g, line, x, realY );\r\n realY += fontMetrics.getHeight( );\r\n }\r\n }", "title": "" }, { "docid": "a4e233b008c27e51b4a79400d6dc09fb", "score": "0.6011739", "text": "public void draw_smaller_text(java.lang.CharSequence str, float x, float y,\n\t\t\tGameColor color) {\n\t\tsmaller_text.setColor(color);\n\t\tsmaller_text.draw(this, str, x, y);\n\t\t// smaller_text.setColor(previousColor);\n\t}", "title": "" }, { "docid": "808a6963568cec9a64d792f6da94c618", "score": "0.60077935", "text": "private void display(final String s) {\r\n EventQueue.invokeLater(new Runnable() {\r\n //@Override\r\n public void run() {\r\n textArea.append(s + \"\\n\");\r\n }\r\n });\r\n }", "title": "" }, { "docid": "98f778e4b61a5e8fe1f3edbea761cb50", "score": "0.5990955", "text": "public void paintComponent(Graphics g) {\n\t\tString symbol = stockName+\" \"+Double.toString(stockPrice);\n\t\t\n\t\t// clear drawing surface.\n\t\tsuper.paintComponent(g);\n\t\t\n\t\t// determine the width of the string\n\t\tFontMetrics fm = g.getFontMetrics();\n\t\tsymbolWidth = fm.stringWidth(symbol);\n\t\t\n\t\t// draw the string\n\t\tg.setColor(Color.black);\n\t\tg.drawString(symbol, x, y);\n\t}", "title": "" }, { "docid": "0c716084f1321ee7c3e29ddd5439d434", "score": "0.59685194", "text": "public void drawString(Graphics g, String s, int x, int y, int width) {\n FontMetrics fm = g.getFontMetrics();\n\n int lineHeight = fm.getHeight();\n\n int curX = x;\n int curY = y;\n\n String[] words = s.split(\" \");\n\n for (String word : words) {\n // Find out thw width of the word.\n int wordWidth = fm.stringWidth(word + \" \");\n\n // If text exceeds the width, then move to next line.\n if (curX + wordWidth >= x + width) {\n curY += lineHeight;\n curX = x;\n }\n\n g.drawString(word, curX, curY);\n\n // Move over to the right for next word.\n curX += wordWidth;\n }\n }", "title": "" }, { "docid": "3befaedd7736939bf043edde0914eb4b", "score": "0.5965806", "text": "public void drawString(FontRenderer par1FontRenderer, String par2Str,\r\n int par3, int par4, int par5) {\r\n par1FontRenderer.drawStringWithShadow(par2Str, par3, par4, par5);\r\n }", "title": "" }, { "docid": "8aed258eb25af34440dde023eb14878f", "score": "0.5956504", "text": "public static void draw(int x, int y, String value){\n int pos = getPos(x,y);\n try{\n renderArray[pos] = new Pixel(value, 0);\n } catch(ArrayIndexOutOfBoundsException e){\n return;\n }\n render();\n return;\n }", "title": "" }, { "docid": "e9412e5bee1ce6fb66b2f156e2c6cd1d", "score": "0.59487355", "text": "public static void vdrawString(FontRenderer fontRendererIn, String text, int x, int y, int color) {\r\n\t\tfontRendererIn.drawStringWithShadow(text, x, y, color);\r\n\t}", "title": "" }, { "docid": "42b6d29f29365edecfea4ee2bfcc4086", "score": "0.5937003", "text": "public void draw(float x , float y , float FontSize, String text, Color color){\n\t\tfloat derivedFont = FontSize/baseFontSize;\n\t\tglPushAttrib(GL_ENABLE_BIT);\n\t\tglEnable(GL_BLEND);\n\t\tglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\n\t\tglPushMatrix();\n\t\tglTranslatef(x, y, 0);\n\t\tglScalef(derivedFont, derivedFont, derivedFont);\n\t\tTextureImpl.unbind();\n\t\tmyfont.drawString(0, 0, text,color);\n\t\tglPopMatrix();\n\t\tglPopAttrib();\n\t}", "title": "" }, { "docid": "a2a459ea9401df40474aba63b930182f", "score": "0.59339297", "text": "public void Draw() {\r\n\t\tSystem.out.println(\"║ Willkommen bei Javagotchi ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Bitte wähle eines der verfügbaren Javagotchie! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ 1) Hund ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ 2) Katze ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ 3) Bunny ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Bitte drücke die Nummer des Javagotchie, das du haben willst! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Dein Javagotchie hat Hunger, will schlafen und spielen. Wenn eines seiner ║\");\r\n\t\tSystem.out.println(\"║ Bedürfnisse über 500 steigt, wird es sterben! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"║ Viel Spaß! ║\");\r\n\t\tSystem.out.println(\"║ ║\");\r\n\t\tSystem.out.println(\"╚══════════════════════════════════════════════════════════════════════════════╝\");\r\n\t}", "title": "" }, { "docid": "4bd2ec47f770c1426937976ffa4ea777", "score": "0.59291023", "text": "public void drawText(int x, int z, final String text, final byte startColor, final int size) {\n final MapFont font = MinecraftFont.Font;\n\n final int xStart = x;\n byte color = startColor;\n if (!font.isValid(text)) {\n throw new IllegalArgumentException(\"text contains invalid characters\");\n } else {\n int currentIndex = 0;\n\n while (true) {\n if (currentIndex >= text.length()) {\n return;\n }\n\n final char ch = text.charAt(currentIndex);\n if (ch == '\\n') {\n // Increment z if the char is a line separator\n x = xStart;\n z += font.getHeight() + 1;\n } else if (ch == '\\u00A7' /*-> §*/) {\n // Get distance from current char to end char (';')\n final int end = text.indexOf(';', currentIndex);\n if (end < 0) {\n break;\n }\n\n // Parse color\n try {\n color = Byte.parseByte(text.substring(currentIndex + 1, end));\n currentIndex = end;\n } catch (final NumberFormatException var12) {\n break;\n }\n } else {\n // Draw text if the character is not a special character\n final MapFont.CharacterSprite sprite = font.getChar(text.charAt(currentIndex));\n\n for (int row = 0; row < font.getHeight(); ++row) {\n for (int col = 0; col < sprite.getWidth(); ++col) {\n if (sprite.get(row, col)) {\n for (int eX = 0; eX < size; eX++) {\n for (int eZ = 0; eZ < size; eZ++) {\n this.setPixel(x + (size * col) + (eX), z + (size * row) + (eZ), color);\n }\n }\n }\n }\n }\n\n // Increment x\n x += (sprite.getWidth() + 1) * size;\n }\n\n ++currentIndex;\n }\n\n throw new IllegalArgumentException(\"Text contains unterminated color string\");\n }\n }", "title": "" }, { "docid": "d8655a1be58501e2858bd989ee4500ec", "score": "0.5923362", "text": "public void draw() {\n /* DO NOT MODIFY */\n //StdDraw.point(x, y);\n }", "title": "" }, { "docid": "11584e30a820606fe39bebcfea88d76b", "score": "0.5914237", "text": "public void renderText(String text)\n\t{\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ecc7005ca08a263663122facf8fe6bd3", "score": "0.5911857", "text": "protected void drawText(int w, int h, float scale, String text, Graphics2D g2)\n\t{\n\t\tint fw = g2.getFontMetrics().stringWidth(text);\n\t\tint fh = g2.getFontMetrics().getAscent() - g2.getFontMetrics().getDescent();\n\t\tint textx = (w - fw) / 2;\n\t\tint texty = h / 2 + fh / 2;\n\t\t\n\t\t// draw the text\n\t\tg2.setColor(new Color(0, 0, 0, 70));\n\t\tg2.drawString(text, (int) ((float) textx + scale * (0.04f)), (int) ((float) texty + scale * (0.04f)));\n\t\tg2.setColor(Color.black);\n\t\tg2.drawString(text, textx, texty);\n\t}", "title": "" }, { "docid": "1046808e671bb9862c01ddeb02255e76", "score": "0.58885336", "text": "public void paint(Graphics graphics)\n {\n int width = this.displayInfoSingleton.getLast()[this.displayInfoSingleton.WIDTH];\n \n int topScoresWidth = (graphics.getFont().stringWidth(this.text) >> 1);\n\n graphics.setColor(this.getBasicColor().intValue());\n \n graphics.drawString(this.text, (width >> 1) - topScoresWidth, HEIGHT * 3, anchor); \n }", "title": "" }, { "docid": "0b80fc49c1e59ca3c75613e1f0ec64fe", "score": "0.5886136", "text": "public void draw(){\n colorMode(HSB, 100);\n // Fill the rectangle\n fill(colorNumber%100,mySaturation,myBrightness,myAlpha);\n // Draw the rectangle\n rect(x,y,squareWidth,squareHeight);\n // Draw the number if its there\n if(displayNumber != null){\n fill((50+colorNumber)%100,100,100);\n textAlign(CENTER,CENTER);\n textFont(font);\n text(displayNumber,x+squareWidth/2,y+squareHeight/2);\n displayNumber = null;\n }\n }", "title": "" }, { "docid": "bc0c6d026761a67fbb664e5d80459a2b", "score": "0.5883907", "text": "public void render() {\n ArrayList<Coord> coords = w.nonEmptyCoords();\n\n for (int i = 0; i < coords.size(); i++) {\n Coord c = coords.get(i);\n\n // this part appends the coordinate in string form with its contents\n String s = c.toString() + \" \" + w.getContents(c).toString();\n\n try {\n pw.append(s + \"\\n\");\n } catch (Exception e) {\n throw new IllegalStateException(\"Cannot append to output file.\");\n }\n }\n\n pw.close();\n }", "title": "" }, { "docid": "070f0b79d0d92572a55a3dc2c569d2af", "score": "0.58636934", "text": "private void drawTitle(Graphics g, String text) {\r\n\t\t\tRectangle rect = this.getBounds();\r\n\r\n\t\t\tg.setFont(bigFont);\r\n\t\t\tg.drawString(text, (int) ((rect.width / 2) - (bigFont.getSize()\r\n\t\t\t\t\t* text.length() * CENTERFACTOR)), rect.height / 4);\r\n\r\n\t\t}", "title": "" }, { "docid": "cf59bdec9dd4056de80541409eeacbb1", "score": "0.586148", "text": "@Override\n\tpublic void draw(Canvas window)\n\t{\n\t\tsuper.draw(window);\n\t\ttext.draw(window);\n\t}", "title": "" }, { "docid": "6a34eb8d049b1e9bbc28501d4a88ff5e", "score": "0.58554226", "text": "public void paint(Graphics g){\n\t\tg.drawString(\"Hello World!\",25,25);\n\t}", "title": "" }, { "docid": "9841e232c5f6e6207d5490ff50d1ed0e", "score": "0.58539075", "text": "private void title (String text, int x, int y)\n\t{\n\t\tc.clear ();\n\t\tc.setFont (new Font (\"Comic Sans MS\", 0, 40));\n\t\tc.setColor (Color.black);\n\t\tc.drawString (text, x, y);\n\t}", "title": "" } ]
a99726ec0c577fa2b6d4760fe9ae56e1
$ANTLR end "rule__MouseTrigger__Alternatives" $ANTLR start "rule__ColorChoice__Alternatives" InternalChessGame.g:437:1: rule__ColorChoice__Alternatives : ( ( ( 'black' ) ) | ( ( 'white' ) ) );
[ { "docid": "7b44e9bb903e49ad13ecd13828051ff3", "score": "0.7936126", "text": "public final void rule__ColorChoice__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:441:1: ( ( ( 'black' ) ) | ( ( 'white' ) ) )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0==11) ) {\n alt5=1;\n }\n else if ( (LA5_0==12) ) {\n alt5=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // InternalChessGame.g:442:2: ( ( 'black' ) )\n {\n // InternalChessGame.g:442:2: ( ( 'black' ) )\n // InternalChessGame.g:443:3: ( 'black' )\n {\n before(grammarAccess.getColorChoiceAccess().getBlackEnumLiteralDeclaration_0()); \n // InternalChessGame.g:444:3: ( 'black' )\n // InternalChessGame.g:444:4: 'black'\n {\n match(input,11,FOLLOW_2); \n\n }\n\n after(grammarAccess.getColorChoiceAccess().getBlackEnumLiteralDeclaration_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalChessGame.g:448:2: ( ( 'white' ) )\n {\n // InternalChessGame.g:448:2: ( ( 'white' ) )\n // InternalChessGame.g:449:3: ( 'white' )\n {\n before(grammarAccess.getColorChoiceAccess().getWhiteEnumLiteralDeclaration_1()); \n // InternalChessGame.g:450:3: ( 'white' )\n // InternalChessGame.g:450:4: 'white'\n {\n match(input,12,FOLLOW_2); \n\n }\n\n after(grammarAccess.getColorChoiceAccess().getWhiteEnumLiteralDeclaration_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "d56b387ee5404fa458bc5b8429c80864", "score": "0.7302018", "text": "public final void rulecolorChoice() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:357:1: ( ( ( rule__ColorChoice__Alternatives ) ) )\n // InternalChessGame.g:358:2: ( ( rule__ColorChoice__Alternatives ) )\n {\n // InternalChessGame.g:358:2: ( ( rule__ColorChoice__Alternatives ) )\n // InternalChessGame.g:359:3: ( rule__ColorChoice__Alternatives )\n {\n before(grammarAccess.getColorChoiceAccess().getAlternatives()); \n // InternalChessGame.g:360:3: ( rule__ColorChoice__Alternatives )\n // InternalChessGame.g:360:4: rule__ColorChoice__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__ColorChoice__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getColorChoiceAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b9d2945f35c267e7c535e9a47e0bb467", "score": "0.605415", "text": "public final void rule__AlertLevel__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11705:1: ( ( ( 'red' ) ) | ( ( 'yellow' ) ) | ( ( 'green' ) ) )\n int alt89=3;\n switch ( input.LA(1) ) {\n case 212:\n {\n alt89=1;\n }\n break;\n case 213:\n {\n alt89=2;\n }\n break;\n case 214:\n {\n alt89=3;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 89, 0, input);\n\n throw nvae;\n }\n\n switch (alt89) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11706:1: ( ( 'red' ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11706:1: ( ( 'red' ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11707:1: ( 'red' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getREDEnumLiteralDeclaration_0()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11708:1: ( 'red' )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11708:3: 'red'\n {\n match(input,212,FollowSets001.FOLLOW_212_in_rule__AlertLevel__Alternatives26849); if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getREDEnumLiteralDeclaration_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11713:6: ( ( 'yellow' ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11713:6: ( ( 'yellow' ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11714:1: ( 'yellow' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getYELLOWEnumLiteralDeclaration_1()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11715:1: ( 'yellow' )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11715:3: 'yellow'\n {\n match(input,213,FollowSets001.FOLLOW_213_in_rule__AlertLevel__Alternatives26870); if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getYELLOWEnumLiteralDeclaration_1()); \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11720:6: ( ( 'green' ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11720:6: ( ( 'green' ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11721:1: ( 'green' )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getGREENEnumLiteralDeclaration_2()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11722:1: ( 'green' )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:11722:3: 'green'\n {\n match(input,214,FollowSets001.FOLLOW_214_in_rule__AlertLevel__Alternatives26891); if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getGREENEnumLiteralDeclaration_2()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "26f110f92feba500768d4eb028a62e5d", "score": "0.56778216", "text": "@Override\r\n\tpublic String visit(Match m) {\n\t\treturn \"Match colored words using their color or the color they spell \";\r\n\t}", "title": "" }, { "docid": "b6a946419b96dd39000eb4c6e1e2fed9", "score": "0.55189806", "text": "String promptColorSelection(Player p, ArrayList<String> colors);", "title": "" }, { "docid": "5a680a343c7b49a8b24602af8eb093cf", "score": "0.51682585", "text": "public final void rule__CellDisplay__ColorAssignment_2_1_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:2140:1: ( ( rulecolorChoice ) )\n // InternalChessGame.g:2141:2: ( rulecolorChoice )\n {\n // InternalChessGame.g:2141:2: ( rulecolorChoice )\n // InternalChessGame.g:2142:3: rulecolorChoice\n {\n before(grammarAccess.getCellDisplayAccess().getColorColorChoiceEnumRuleCall_2_1_2_0()); \n pushFollow(FOLLOW_2);\n rulecolorChoice();\n\n state._fsp--;\n\n after(grammarAccess.getCellDisplayAccess().getColorColorChoiceEnumRuleCall_2_1_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0c8f65319d0cca387348b89b9fd2094f", "score": "0.50109047", "text": "public final void rule__Statements__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:372:1: ( ( ruleFieldSpecification ) | ( ruleCellState ) | ( ruleGameEnd ) )\n int alt2=3;\n switch ( input.LA(1) ) {\n case 13:\n {\n alt2=1;\n }\n break;\n case RULE_ID:\n {\n alt2=2;\n }\n break;\n case 27:\n {\n alt2=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n\n switch (alt2) {\n case 1 :\n // InternalChessGame.g:373:2: ( ruleFieldSpecification )\n {\n // InternalChessGame.g:373:2: ( ruleFieldSpecification )\n // InternalChessGame.g:374:3: ruleFieldSpecification\n {\n before(grammarAccess.getStatementsAccess().getFieldSpecificationParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleFieldSpecification();\n\n state._fsp--;\n\n after(grammarAccess.getStatementsAccess().getFieldSpecificationParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalChessGame.g:379:2: ( ruleCellState )\n {\n // InternalChessGame.g:379:2: ( ruleCellState )\n // InternalChessGame.g:380:3: ruleCellState\n {\n before(grammarAccess.getStatementsAccess().getCellStateParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleCellState();\n\n state._fsp--;\n\n after(grammarAccess.getStatementsAccess().getCellStateParserRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalChessGame.g:385:2: ( ruleGameEnd )\n {\n // InternalChessGame.g:385:2: ( ruleGameEnd )\n // InternalChessGame.g:386:3: ruleGameEnd\n {\n before(grammarAccess.getStatementsAccess().getGameEndParserRuleCall_2()); \n pushFollow(FOLLOW_2);\n ruleGameEnd();\n\n state._fsp--;\n\n after(grammarAccess.getStatementsAccess().getGameEndParserRuleCall_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e435afe9a5bc643c20e418311f9391a4", "score": "0.5003938", "text": "void chooseColour(Player player);", "title": "" }, { "docid": "cc6ac2837ae6c47eed3224a3eba58ef3", "score": "0.49970675", "text": "void onColorChosen(@ColorInt int color, String hex, String hexNoAlpha);", "title": "" }, { "docid": "048f410fb28424ec992b0daf636d0918", "score": "0.49908715", "text": "void chosenColour(Colour colour);", "title": "" }, { "docid": "130beb0cb650ac9cdaa7f5db216f714e", "score": "0.49755186", "text": "public final void rule__Property__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:472:1: ( ( RULE_WORD ) | ( RULE_HEX_DIGIT ) | ( RULE_HEX_COLOR ) | ( RULE_VARIABLE ) | ( ruleFunction ) )\n int alt5=5;\n switch ( input.LA(1) ) {\n case RULE_WORD:\n {\n int LA5_1 = input.LA(2);\n\n if ( (LA5_1==EOF||(LA5_1>=RULE_WORD && LA5_1<=RULE_MULTIPLY)||LA5_1==RULE_SEMI_COLON||LA5_1==RULE_COMMA||LA5_1==RULE_PAREN_RIGHT) ) {\n alt5=1;\n }\n else if ( (LA5_1==RULE_PAREN_LEFT) ) {\n alt5=5;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 1, input);\n\n throw nvae;\n }\n }\n break;\n case RULE_HEX_DIGIT:\n {\n alt5=2;\n }\n break;\n case RULE_HEX_COLOR:\n {\n alt5=3;\n }\n break;\n case RULE_VARIABLE:\n {\n alt5=4;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n\n switch (alt5) {\n case 1 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:473:1: ( RULE_WORD )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:473:1: ( RULE_WORD )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:474:1: RULE_WORD\n {\n before(grammarAccess.getPropertyAccess().getWORDTerminalRuleCall_0()); \n match(input,RULE_WORD,FOLLOW_RULE_WORD_in_rule__Property__Alternatives957); \n after(grammarAccess.getPropertyAccess().getWORDTerminalRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:479:6: ( RULE_HEX_DIGIT )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:479:6: ( RULE_HEX_DIGIT )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:480:1: RULE_HEX_DIGIT\n {\n before(grammarAccess.getPropertyAccess().getHEX_DIGITTerminalRuleCall_1()); \n match(input,RULE_HEX_DIGIT,FOLLOW_RULE_HEX_DIGIT_in_rule__Property__Alternatives974); \n after(grammarAccess.getPropertyAccess().getHEX_DIGITTerminalRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:485:6: ( RULE_HEX_COLOR )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:485:6: ( RULE_HEX_COLOR )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:486:1: RULE_HEX_COLOR\n {\n before(grammarAccess.getPropertyAccess().getHEX_COLORTerminalRuleCall_2()); \n match(input,RULE_HEX_COLOR,FOLLOW_RULE_HEX_COLOR_in_rule__Property__Alternatives991); \n after(grammarAccess.getPropertyAccess().getHEX_COLORTerminalRuleCall_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:491:6: ( RULE_VARIABLE )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:491:6: ( RULE_VARIABLE )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:492:1: RULE_VARIABLE\n {\n before(grammarAccess.getPropertyAccess().getVARIABLETerminalRuleCall_3()); \n match(input,RULE_VARIABLE,FOLLOW_RULE_VARIABLE_in_rule__Property__Alternatives1008); \n after(grammarAccess.getPropertyAccess().getVARIABLETerminalRuleCall_3()); \n\n }\n\n\n }\n break;\n case 5 :\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:497:6: ( ruleFunction )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:497:6: ( ruleFunction )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:498:1: ruleFunction\n {\n before(grammarAccess.getPropertyAccess().getFunctionParserRuleCall_4()); \n pushFollow(FOLLOW_ruleFunction_in_rule__Property__Alternatives1025);\n ruleFunction();\n\n state._fsp--;\n\n after(grammarAccess.getPropertyAccess().getFunctionParserRuleCall_4()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c42b1d1acb4b43a63ad5fb7b6a2a5715", "score": "0.4948021", "text": "public final void rule__ColumnAttribute__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10181:1: ( ( ruleCellColor ) | ( ruleCellText ) | ( ruleEnd ) | ( ruleFontColor ) | ( ruleHAlign ) | ( ruleListItem ) | ( ruleListType ) | ( rulePeriod ) | ( ruleScale ) | ( ruleStart ) | ( ruleTitle ) | ( ruleToolTip ) | ( ruleWidth ) | ( ruleMacroCall ) | ( ruleExtendedResourceAttributeColumn ) )\n int alt66=15;\n alt66 = dfa66.predict(input);\n switch (alt66) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10182:1: ( ruleCellColor )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10182:1: ( ruleCellColor )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10183:1: ruleCellColor\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getCellColorParserRuleCall_0()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleCellColor_in_rule__ColumnAttribute__Alternatives22654);\n ruleCellColor();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getCellColorParserRuleCall_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10188:6: ( ruleCellText )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10188:6: ( ruleCellText )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10189:1: ruleCellText\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getCellTextParserRuleCall_1()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleCellText_in_rule__ColumnAttribute__Alternatives22671);\n ruleCellText();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getCellTextParserRuleCall_1()); \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10194:6: ( ruleEnd )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10194:6: ( ruleEnd )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10195:1: ruleEnd\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getEndParserRuleCall_2()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleEnd_in_rule__ColumnAttribute__Alternatives22688);\n ruleEnd();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getEndParserRuleCall_2()); \n }\n\n }\n\n\n }\n break;\n case 4 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10200:6: ( ruleFontColor )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10200:6: ( ruleFontColor )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10201:1: ruleFontColor\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getFontColorParserRuleCall_3()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleFontColor_in_rule__ColumnAttribute__Alternatives22705);\n ruleFontColor();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getFontColorParserRuleCall_3()); \n }\n\n }\n\n\n }\n break;\n case 5 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10206:6: ( ruleHAlign )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10206:6: ( ruleHAlign )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10207:1: ruleHAlign\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getHAlignParserRuleCall_4()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleHAlign_in_rule__ColumnAttribute__Alternatives22722);\n ruleHAlign();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getHAlignParserRuleCall_4()); \n }\n\n }\n\n\n }\n break;\n case 6 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10212:6: ( ruleListItem )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10212:6: ( ruleListItem )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10213:1: ruleListItem\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getListItemParserRuleCall_5()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleListItem_in_rule__ColumnAttribute__Alternatives22739);\n ruleListItem();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getListItemParserRuleCall_5()); \n }\n\n }\n\n\n }\n break;\n case 7 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10218:6: ( ruleListType )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10218:6: ( ruleListType )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10219:1: ruleListType\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getListTypeParserRuleCall_6()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleListType_in_rule__ColumnAttribute__Alternatives22756);\n ruleListType();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getListTypeParserRuleCall_6()); \n }\n\n }\n\n\n }\n break;\n case 8 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10224:6: ( rulePeriod )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10224:6: ( rulePeriod )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10225:1: rulePeriod\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getPeriodParserRuleCall_7()); \n }\n pushFollow(FollowSets001.FOLLOW_rulePeriod_in_rule__ColumnAttribute__Alternatives22773);\n rulePeriod();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getPeriodParserRuleCall_7()); \n }\n\n }\n\n\n }\n break;\n case 9 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10230:6: ( ruleScale )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10230:6: ( ruleScale )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10231:1: ruleScale\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getScaleParserRuleCall_8()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleScale_in_rule__ColumnAttribute__Alternatives22790);\n ruleScale();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getScaleParserRuleCall_8()); \n }\n\n }\n\n\n }\n break;\n case 10 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10236:6: ( ruleStart )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10236:6: ( ruleStart )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10237:1: ruleStart\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getStartParserRuleCall_9()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleStart_in_rule__ColumnAttribute__Alternatives22807);\n ruleStart();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getStartParserRuleCall_9()); \n }\n\n }\n\n\n }\n break;\n case 11 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10242:6: ( ruleTitle )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10242:6: ( ruleTitle )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10243:1: ruleTitle\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getTitleParserRuleCall_10()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleTitle_in_rule__ColumnAttribute__Alternatives22824);\n ruleTitle();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getTitleParserRuleCall_10()); \n }\n\n }\n\n\n }\n break;\n case 12 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10248:6: ( ruleToolTip )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10248:6: ( ruleToolTip )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10249:1: ruleToolTip\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getToolTipParserRuleCall_11()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleToolTip_in_rule__ColumnAttribute__Alternatives22841);\n ruleToolTip();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getToolTipParserRuleCall_11()); \n }\n\n }\n\n\n }\n break;\n case 13 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10254:6: ( ruleWidth )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10254:6: ( ruleWidth )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10255:1: ruleWidth\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getWidthParserRuleCall_12()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleWidth_in_rule__ColumnAttribute__Alternatives22858);\n ruleWidth();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getWidthParserRuleCall_12()); \n }\n\n }\n\n\n }\n break;\n case 14 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10260:6: ( ruleMacroCall )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10260:6: ( ruleMacroCall )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10261:1: ruleMacroCall\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getMacroCallParserRuleCall_13()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleMacroCall_in_rule__ColumnAttribute__Alternatives22875);\n ruleMacroCall();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getMacroCallParserRuleCall_13()); \n }\n\n }\n\n\n }\n break;\n case 15 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10266:6: ( ruleExtendedResourceAttributeColumn )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10266:6: ( ruleExtendedResourceAttributeColumn )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:10267:1: ruleExtendedResourceAttributeColumn\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getColumnAttributeAccess().getExtendedResourceAttributeColumnParserRuleCall_14()); \n }\n pushFollow(FollowSets001.FOLLOW_ruleExtendedResourceAttributeColumn_in_rule__ColumnAttribute__Alternatives22892);\n ruleExtendedResourceAttributeColumn();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getColumnAttributeAccess().getExtendedResourceAttributeColumnParserRuleCall_14()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4ff34a0274552ba208d6c0fa1b9503db", "score": "0.48575884", "text": "@Test\n public void defaultMatchesSuggested2() throws Exception {\n // available default suggestion\n baseTest( MIN_MARGINS[2],\n MEDIA_SIZES, MEDIA_SIZES[2], MEDIA_SIZES[2],\n // There are only two color modes, hence pick [1]\n COLOR_MODES, COLOR_MODES[1], COLOR_MODES[1],\n DUPLEX_MODES, DUPLEX_MODES[2], DUPLEX_MODES[2],\n RESOLUTIONS, RESOLUTIONS[2], RESOLUTIONS[2]);\n }", "title": "" }, { "docid": "1bccef15ab0b96c6c80a046708229b8d", "score": "0.4778348", "text": "private void purpleButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_purpleButtonActionPerformed\n round++;\n if( \"MAGENTA\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }", "title": "" }, { "docid": "9c6b5dd01b6039633fbce9c471a023e0", "score": "0.4736079", "text": "public static void main(String[] args) {\n\t\tint choice=4;\r\n\t\t switch(choice){\r\n\t\t case 1: System.out.println(\"I Like Black Colour\");\r\n\t\t\t\tbreak;\r\n\t\t case 2: System.out.println(\"I Like Merun Colour\");\r\n\t\t\t\tbreak;\r\n\t\t case 3: System.out.println(\"I Like Blue Colour\");\r\n\t\t\t\tbreak;\r\n\t\t case 4: System.out.println(\"I LikeYellow Colour\");\r\n\t\t\t\tbreak;\r\n\t\t default: System.out.println(\"I Dont Like Any Colour\");\r\n\r\n\t}\r\n\r\n}", "title": "" }, { "docid": "9b73f46c6514d270bed537e3001b9405", "score": "0.46805826", "text": "public final void ruleMouseTrigger() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:216:2: ( ( ( rule__MouseTrigger__Alternatives ) ) )\n // InternalChessGame.g:217:2: ( ( rule__MouseTrigger__Alternatives ) )\n {\n // InternalChessGame.g:217:2: ( ( rule__MouseTrigger__Alternatives ) )\n // InternalChessGame.g:218:3: ( rule__MouseTrigger__Alternatives )\n {\n before(grammarAccess.getMouseTriggerAccess().getAlternatives()); \n // InternalChessGame.g:219:3: ( rule__MouseTrigger__Alternatives )\n // InternalChessGame.g:219:4: rule__MouseTrigger__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__MouseTrigger__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMouseTriggerAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cd3f4c16bfe4f989c7ba04b651e5016c", "score": "0.4666331", "text": "public final void ruleStatements() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:91:2: ( ( ( rule__Statements__Alternatives ) ) )\n // InternalChessGame.g:92:2: ( ( rule__Statements__Alternatives ) )\n {\n // InternalChessGame.g:92:2: ( ( rule__Statements__Alternatives ) )\n // InternalChessGame.g:93:3: ( rule__Statements__Alternatives )\n {\n before(grammarAccess.getStatementsAccess().getAlternatives()); \n // InternalChessGame.g:94:3: ( rule__Statements__Alternatives )\n // InternalChessGame.g:94:4: rule__Statements__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__Statements__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getStatementsAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "366b728064cecd98bb03a1213450eec4", "score": "0.4654819", "text": "public final void rule__WebDriverActionCondition__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:481:1: ( ( ruleElementByCssToBePresent ) | ( ruleTextOfElementWithCssSelectorToBe ) )\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0==27) ) {\n int LA1_1 = input.LA(2);\n\n if ( (LA1_1==28) ) {\n int LA1_2 = input.LA(3);\n\n if ( (LA1_2==29) ) {\n int LA1_3 = input.LA(4);\n\n if ( (LA1_3==40) ) {\n int LA1_4 = input.LA(5);\n\n if ( (LA1_4==RULE_STRING) ) {\n int LA1_5 = input.LA(6);\n\n if ( (LA1_5==30) ) {\n alt1=1;\n }\n else if ( (LA1_5==37) ) {\n alt1=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 5, input);\n\n throw nvae;\n }\n }\n else if ( (LA1_4==RULE_ID) ) {\n int LA1_6 = input.LA(6);\n\n if ( (LA1_6==30) ) {\n alt1=1;\n }\n else if ( (LA1_6==37) ) {\n alt1=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 6, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 4, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 3, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 0, input);\n\n throw nvae;\n }\n switch (alt1) {\n case 1 :\n // InternalBromium.g:482:2: ( ruleElementByCssToBePresent )\n {\n // InternalBromium.g:482:2: ( ruleElementByCssToBePresent )\n // InternalBromium.g:483:3: ruleElementByCssToBePresent\n {\n before(grammarAccess.getWebDriverActionConditionAccess().getElementByCssToBePresentParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleElementByCssToBePresent();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionConditionAccess().getElementByCssToBePresentParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalBromium.g:488:2: ( ruleTextOfElementWithCssSelectorToBe )\n {\n // InternalBromium.g:488:2: ( ruleTextOfElementWithCssSelectorToBe )\n // InternalBromium.g:489:3: ruleTextOfElementWithCssSelectorToBe\n {\n before(grammarAccess.getWebDriverActionConditionAccess().getTextOfElementWithCssSelectorToBeParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleTextOfElementWithCssSelectorToBe();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionConditionAccess().getTextOfElementWithCssSelectorToBeParserRuleCall_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b7d2a5d01d5c6ed2e5e3019d9d4a8372", "score": "0.46503973", "text": "private Color or(Color a, Color b) {\n return new Color(\n a.getRed() | b.getRed(), a.getGreen() | b.getGreen(), a.getBlue() | b.getBlue());\n }", "title": "" }, { "docid": "4feac31bd972ec0c0058d93df0182e6e", "score": "0.4641594", "text": "public int toolCardLetPlayerChoose(String color){\n return 6;\n }", "title": "" }, { "docid": "27f34a2223a4356c15a6578215e2bc53", "score": "0.46378046", "text": "public final void mT__174() throws RecognitionException {\n try {\n int _type = T__174;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalPub.g:168:8: ( 'red' )\n // InternalPub.g:168:10: 'red'\n {\n match(\"red\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "5e4560e6cc9b76d7adcfece093ccbf84", "score": "0.46355382", "text": "void BanColor(String color);", "title": "" }, { "docid": "0d040011d03c7381b112d95de72f7cc5", "score": "0.4622158", "text": "public final void rule__Type__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2618:1: ( ( ( 'void' ) ) | ( ( 'integer' ) ) | ( ( 'real' ) ) | ( ( 'boolean' ) ) | ( ( 'string' ) ) )\r\n int alt24=5;\r\n switch ( input.LA(1) ) {\r\n case 46:\r\n {\r\n alt24=1;\r\n }\r\n break;\r\n case 47:\r\n {\r\n alt24=2;\r\n }\r\n break;\r\n case 48:\r\n {\r\n alt24=3;\r\n }\r\n break;\r\n case 49:\r\n {\r\n alt24=4;\r\n }\r\n break;\r\n case 50:\r\n {\r\n alt24=5;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 24, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt24) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2619:1: ( ( 'void' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2619:1: ( ( 'void' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2620:1: ( 'void' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getVoidEnumLiteralDeclaration_0()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2621:1: ( 'void' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2621:3: 'void'\r\n {\r\n match(input,46,FOLLOW_46_in_rule__Type__Alternatives5728); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getVoidEnumLiteralDeclaration_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2626:6: ( ( 'integer' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2626:6: ( ( 'integer' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2627:1: ( 'integer' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getIntegerEnumLiteralDeclaration_1()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2628:1: ( 'integer' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2628:3: 'integer'\r\n {\r\n match(input,47,FOLLOW_47_in_rule__Type__Alternatives5749); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getIntegerEnumLiteralDeclaration_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2633:6: ( ( 'real' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2633:6: ( ( 'real' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2634:1: ( 'real' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getRealEnumLiteralDeclaration_2()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2635:1: ( 'real' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2635:3: 'real'\r\n {\r\n match(input,48,FOLLOW_48_in_rule__Type__Alternatives5770); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getRealEnumLiteralDeclaration_2()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2640:6: ( ( 'boolean' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2640:6: ( ( 'boolean' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2641:1: ( 'boolean' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getBooleanEnumLiteralDeclaration_3()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2642:1: ( 'boolean' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2642:3: 'boolean'\r\n {\r\n match(input,49,FOLLOW_49_in_rule__Type__Alternatives5791); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getBooleanEnumLiteralDeclaration_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 5 :\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2647:6: ( ( 'string' ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2647:6: ( ( 'string' ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2648:1: ( 'string' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getStringEnumLiteralDeclaration_4()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2649:1: ( 'string' )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:2649:3: 'string'\r\n {\r\n match(input,50,FOLLOW_50_in_rule__Type__Alternatives5812); if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getStringEnumLiteralDeclaration_4()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e76a0060809a36f0c16d2fd913065011", "score": "0.46205547", "text": "public void parseColorChange() throws IOException {\r\n\t\t// parse exact command\r\n\t\tString colorType = ParseSupport.parseWord(stok, \"color change operation\");\r\n\t\t// boolean contextMode = false;\r\n\t\tboolean elemMode = colorType.toLowerCase().endsWith(\"elem\");\r\n\t\tboolean highlightMode = colorType.startsWith(\"high\");\r\n\t\t// String targetProperty = null;\r\n\r\n\t\tParseSupport.parseMandatoryWord(stok, colorType + \" keyword 'on'\", \"on\");\r\n\r\n\t\tString targetArray = AnimalParseSupport.parseText(stok, colorType\r\n\t\t\t\t+ \" array name\");\r\n\t\tint arrayID = getObjectIDs().getIntProperty(targetArray, -1);\r\n\t\tPTGraphicObject ptgo = animState.getCloneByNum(arrayID);\r\n\t\tif ((arrayID <= 0) || !(ptgo instanceof PTArray)) {\r\n\t\t\tParseSupport.formatException(\"Target object '\" + targetArray\r\n\t\t\t\t\t+ \"' unknown or not an array.\", stok);\r\n\t\t}\r\n\t\t//PTArray theArray = (PTArray) ptgo;\r\n\t\tPTArray theArray = (PTArray) objectMap.get(arrayID);\r\n\t\t\r\n\t\tint fromRange = 0;\r\n\t\tint toRange = getObjectProperties().getIntProperty(targetArray + \".length\") - 1;\r\n\t\tif (ParseSupport.parseOptionalWord(stok, colorType + \" keyword 'position'\",\r\n\t\t\t\t\"position\")) {\r\n\t\t\tfromRange = ParseSupport.parseInt(stok, colorType + \" array index\",\r\n\t\t\t\t\t0, getObjectProperties().getIntProperty(targetArray + \".length\", 0));\r\n\t\t\ttoRange = fromRange;\r\n\t\t} else {\r\n\t\t\tif (ParseSupport.parseOptionalWord(stok, colorType\r\n\t\t\t\t\t+ \" cell/element range keyword 'from'\", \"from\")) {\r\n\t\t\t\tfromRange = ParseSupport.parseInt(stok, colorType + \" array index\", 0,\r\n\t\t\t\t\t\tgetObjectProperties().getIntProperty(targetArray + \".length\"));\r\n\t\t\t}\r\n\r\n\t\t\tif (ParseSupport.parseOptionalWord(stok, colorType\r\n\t\t\t\t\t+ \" cell/element range keyword 'to'\", \"to\")) {\r\n\t\t\t\ttoRange = ParseSupport.parseInt(stok, colorType + \" array index\",\r\n\t\t\t\t\t\tfromRange, getObjectProperties().getIntProperty(\r\n\t\t\t\t\t\t\t\ttargetArray + \".length\"));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// System.err.println(\"Range: \");\r\n\t\t// for (int ii=0;ii<targetOIDs.length; ii++)\r\n\t\t// System.err.println(targetOIDs[ii] +\" \");\r\n\r\n\t\tif(toRange-fromRange>=0){\r\n\t\t\tColor c = null;\r\n\t\t\tfor(int i=fromRange ; i<=toRange ; i++){\r\n\t\t\t\tif (elemMode) {\r\n\t\t\t\t\ttheArray.setElemHighlighted(i, highlightMode);\r\n\t\t\t\t\tc = theArray.getElemColor(i);\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttheArray.setHighlighted(i, highlightMode);\r\n\t\t\t\t\tc = theArray.getCellFillColor(i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tString method = highlightMode ? \"highlight \" : \"unhighlight \";\r\n\t\t\tmethod += elemMode ? \"elements\" : \"cells\";\r\n//\t\t\tmethod = \"cellFillColor\";\r\n\t\t\tmethod += \" \"+fromRange+\" \"+toRange;\r\n\t\t\tColorChanger colChanger = new ColorChanger(currentStep, theArray.getNum(true), 0,\r\n\t\t\t\t\tmethod, c);\r\n\t\t\t// parse optional timing - is set within the method!\r\n\t\t\tAnimalParseSupport.parseTiming(stok, colChanger, \"Color\");\r\n\t\t\t// insert into list of animators\r\n\t\t\tBasicParser.addAnimatorToAnimation(colChanger, anim);\r\n\t\t}\r\n\r\n\t\tobjectMap.put(theArray.getNum(true), theArray);\r\n\t}", "title": "" }, { "docid": "7089acfa2314e72301dafc2d2e9d9b3d", "score": "0.46173772", "text": "public final void ruleType() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1894:1: ( ( ( rule__Type__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1895:1: ( ( rule__Type__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1895:1: ( ( rule__Type__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1896:1: ( rule__Type__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1897:1: ( rule__Type__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1897:2: rule__Type__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__Type__Alternatives_in_ruleType3944);\r\n rule__Type__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8d7a92c789990433abc6c4f9f486fcdd", "score": "0.45957538", "text": "public final void rule__MouseTrigger__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalChessGame.g:420:1: ( ( ( rule__MouseTrigger__MouseAssignment_0 ) ) | ( ( rule__MouseTrigger__Group_1__0 ) ) )\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0==36) ) {\n alt4=1;\n }\n else if ( (LA4_0==26) ) {\n alt4=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 4, 0, input);\n\n throw nvae;\n }\n switch (alt4) {\n case 1 :\n // InternalChessGame.g:421:2: ( ( rule__MouseTrigger__MouseAssignment_0 ) )\n {\n // InternalChessGame.g:421:2: ( ( rule__MouseTrigger__MouseAssignment_0 ) )\n // InternalChessGame.g:422:3: ( rule__MouseTrigger__MouseAssignment_0 )\n {\n before(grammarAccess.getMouseTriggerAccess().getMouseAssignment_0()); \n // InternalChessGame.g:423:3: ( rule__MouseTrigger__MouseAssignment_0 )\n // InternalChessGame.g:423:4: rule__MouseTrigger__MouseAssignment_0\n {\n pushFollow(FOLLOW_2);\n rule__MouseTrigger__MouseAssignment_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMouseTriggerAccess().getMouseAssignment_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalChessGame.g:427:2: ( ( rule__MouseTrigger__Group_1__0 ) )\n {\n // InternalChessGame.g:427:2: ( ( rule__MouseTrigger__Group_1__0 ) )\n // InternalChessGame.g:428:3: ( rule__MouseTrigger__Group_1__0 )\n {\n before(grammarAccess.getMouseTriggerAccess().getGroup_1()); \n // InternalChessGame.g:429:3: ( rule__MouseTrigger__Group_1__0 )\n // InternalChessGame.g:429:4: rule__MouseTrigger__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__MouseTrigger__Group_1__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMouseTriggerAccess().getGroup_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a237158d37745b51a749fb1315da6aa9", "score": "0.45938593", "text": "public final void ruleAlertLevel() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7216:1: ( ( ( rule__AlertLevel__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7217:1: ( ( rule__AlertLevel__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7217:1: ( ( rule__AlertLevel__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7218:1: ( rule__AlertLevel__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAlertLevelAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7219:1: ( rule__AlertLevel__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7219:2: rule__AlertLevel__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__AlertLevel__Alternatives_in_ruleAlertLevel15301);\n rule__AlertLevel__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAlertLevelAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "baa0653a8cacb4cfea2b834d1f99a3b6", "score": "0.45852727", "text": "public final void rule__PhaseType__ColorTypeAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPhases.g:726:1: ( ( ruleCOLORS_TYPE ) )\n // InternalPhases.g:727:2: ( ruleCOLORS_TYPE )\n {\n // InternalPhases.g:727:2: ( ruleCOLORS_TYPE )\n // InternalPhases.g:728:3: ruleCOLORS_TYPE\n {\n before(grammarAccess.getPhaseTypeAccess().getColorTypeCOLORS_TYPEParserRuleCall_2_0()); \n pushFollow(FOLLOW_2);\n ruleCOLORS_TYPE();\n\n state._fsp--;\n\n after(grammarAccess.getPhaseTypeAccess().getColorTypeCOLORS_TYPEParserRuleCall_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ffa628adcdde1f77f7e8c170c88f6e3c", "score": "0.45837432", "text": "public void nextColor();", "title": "" }, { "docid": "4c12c8cd34f4441232cbc67e5c15db8b", "score": "0.4580642", "text": "Color randomColor(ArrayList<Color> possColors) {\r\n return possColors.get(this.rand.nextInt(this.numColors));\r\n }", "title": "" }, { "docid": "6bbac90c95b7a41cf75dbda5923191fe", "score": "0.45791247", "text": "public final void ruleRelationalOp() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalACLParser.g:521:5: ( ( ( rule__RelationalOp__Alternatives ) ) )\n // InternalACLParser.g:522:1: ( ( rule__RelationalOp__Alternatives ) )\n {\n // InternalACLParser.g:522:1: ( ( rule__RelationalOp__Alternatives ) )\n // InternalACLParser.g:523:1: ( rule__RelationalOp__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRelationalOpAccess().getAlternatives()); \n }\n // InternalACLParser.g:524:1: ( rule__RelationalOp__Alternatives )\n // InternalACLParser.g:524:2: rule__RelationalOp__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RelationalOp__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRelationalOpAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ef6620ee45211f68ff6fbd8b698d2e1a", "score": "0.456916", "text": "public final void rule__TermExpression__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3954:1: ( ( ruleTuple ) | ( ruleListOrComprehension ) | ( ruleBinaryOrComprehension ) | ( ( rule__TermExpression__Group_3__0 ) ) | ( ruleLiteralExpression ) )\n int alt21=5;\n switch ( input.LA(1) ) {\n case 74:\n {\n alt21=1;\n }\n break;\n case 78:\n {\n alt21=2;\n }\n break;\n case 100:\n {\n alt21=3;\n }\n break;\n case 84:\n {\n alt21=4;\n }\n break;\n case RULE_ATOM:\n case RULE_VARIABLE:\n case RULE_INT:\n case RULE_BASED_INT:\n case RULE_STRING:\n case RULE_CHAR:\n case 19:\n case 20:\n case 21:\n case 22:\n case 23:\n case 24:\n case 53:\n case 54:\n case 55:\n case 56:\n case 57:\n case 58:\n case 59:\n case 60:\n case 61:\n case 62:\n case 63:\n case 64:\n case 65:\n case 66:\n case 67:\n case 68:\n {\n alt21=5;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 21, 0, input);\n\n throw nvae;\n }\n\n switch (alt21) {\n case 1 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3955:1: ( ruleTuple )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3955:1: ( ruleTuple )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3956:1: ruleTuple\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getTupleParserRuleCall_0()); \n }\n pushFollow(FOLLOW_ruleTuple_in_rule__TermExpression__Alternatives8541);\n ruleTuple();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getTupleParserRuleCall_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3961:6: ( ruleListOrComprehension )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3961:6: ( ruleListOrComprehension )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3962:1: ruleListOrComprehension\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getListOrComprehensionParserRuleCall_1()); \n }\n pushFollow(FOLLOW_ruleListOrComprehension_in_rule__TermExpression__Alternatives8558);\n ruleListOrComprehension();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getListOrComprehensionParserRuleCall_1()); \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3967:6: ( ruleBinaryOrComprehension )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3967:6: ( ruleBinaryOrComprehension )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3968:1: ruleBinaryOrComprehension\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getBinaryOrComprehensionParserRuleCall_2()); \n }\n pushFollow(FOLLOW_ruleBinaryOrComprehension_in_rule__TermExpression__Alternatives8575);\n ruleBinaryOrComprehension();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getBinaryOrComprehensionParserRuleCall_2()); \n }\n\n }\n\n\n }\n break;\n case 4 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3973:6: ( ( rule__TermExpression__Group_3__0 ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3973:6: ( ( rule__TermExpression__Group_3__0 ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3974:1: ( rule__TermExpression__Group_3__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getGroup_3()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3975:1: ( rule__TermExpression__Group_3__0 )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3975:2: rule__TermExpression__Group_3__0\n {\n pushFollow(FOLLOW_rule__TermExpression__Group_3__0_in_rule__TermExpression__Alternatives8592);\n rule__TermExpression__Group_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getGroup_3()); \n }\n\n }\n\n\n }\n break;\n case 5 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3979:6: ( ruleLiteralExpression )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3979:6: ( ruleLiteralExpression )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3980:1: ruleLiteralExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTermExpressionAccess().getLiteralExpressionParserRuleCall_4()); \n }\n pushFollow(FOLLOW_ruleLiteralExpression_in_rule__TermExpression__Alternatives8610);\n ruleLiteralExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTermExpressionAccess().getLiteralExpressionParserRuleCall_4()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "576aa31ab19923449c0141edb15904e0", "score": "0.45465514", "text": "public final void rule__CellColor__ColorAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39900:1: ( ( ruleRGB ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39901:1: ( ruleRGB )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39901:1: ( ruleRGB )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:39902:1: ruleRGB\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getCellColorAccess().getColorRGBParserRuleCall_2_0()); \n }\n pushFollow(FollowSets003.FOLLOW_ruleRGB_in_rule__CellColor__ColorAssignment_284708);\n ruleRGB();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getCellColorAccess().getColorRGBParserRuleCall_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c90e0e7359e501234fccd87d1fc93251", "score": "0.45422927", "text": "public final void rule__XSwitchExpression__Alternatives_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2740:1: ( ( ( rule__XSwitchExpression__Group_2_0__0 ) ) | ( ( rule__XSwitchExpression__Group_2_1__0 ) ) )\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( ((LA22_0>=RULE_ID && LA22_0<=RULE_STRING)||LA22_0==22||(LA22_0>=29 && LA22_0<=30)||LA22_0==35||(LA22_0>=38 && LA22_0<=39)||LA22_0==42||LA22_0==51||LA22_0==53||LA22_0==55||(LA22_0>=59 && LA22_0<=61)||(LA22_0>=63 && LA22_0<=68)||LA22_0==78) ) {\n alt22=1;\n }\n else if ( (LA22_0==45) ) {\n int LA22_2 = input.LA(2);\n\n if ( (LA22_2==RULE_ID) ) {\n int LA22_3 = input.LA(3);\n\n if ( (LA22_3==56) ) {\n alt22=2;\n }\n else if ( ((LA22_3>=13 && LA22_3<=34)||LA22_3==36||(LA22_3>=44 && LA22_3<=45)||(LA22_3>=48 && LA22_3<=49)||LA22_3==51||LA22_3==62||(LA22_3>=74 && LA22_3<=75)) ) {\n alt22=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 3, input);\n\n throw nvae;\n }\n }\n else if ( ((LA22_2>=RULE_HEX && LA22_2<=RULE_STRING)||LA22_2==22||(LA22_2>=29 && LA22_2<=30)||LA22_2==35||(LA22_2>=38 && LA22_2<=39)||LA22_2==42||LA22_2==45||LA22_2==51||LA22_2==53||LA22_2==55||(LA22_2>=59 && LA22_2<=61)||(LA22_2>=63 && LA22_2<=68)||LA22_2==78) ) {\n alt22=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 2, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 0, input);\n\n throw nvae;\n }\n switch (alt22) {\n case 1 :\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2741:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2741:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2742:1: ( rule__XSwitchExpression__Group_2_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \n }\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2743:1: ( rule__XSwitchExpression__Group_2_0__0 )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2743:2: rule__XSwitchExpression__Group_2_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0_in_rule__XSwitchExpression__Alternatives_25931);\n rule__XSwitchExpression__Group_2_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2747:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2747:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2748:1: ( rule__XSwitchExpression__Group_2_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \n }\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2749:1: ( rule__XSwitchExpression__Group_2_1__0 )\n // ../org.xtext.mongobeans.ui/src-gen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:2749:2: rule__XSwitchExpression__Group_2_1__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0_in_rule__XSwitchExpression__Alternatives_25949);\n rule__XSwitchExpression__Group_2_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "36c932fcc0ff92029cdf1e3a2ee5d344", "score": "0.45186722", "text": "private void blueButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_blueButtonActionPerformed\n round++;\n if( \"BLUE\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }", "title": "" }, { "docid": "144f9d04a148db834494a4e49227d3ec", "score": "0.45175162", "text": "public final void ruleType() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3258:2: ( ( ( rule__Type__Alternatives ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3259:1: ( ( rule__Type__Alternatives ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3259:1: ( ( rule__Type__Alternatives ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3260:1: ( rule__Type__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeAccess().getAlternatives()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3261:1: ( rule__Type__Alternatives )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:3261:2: rule__Type__Alternatives\n {\n pushFollow(FOLLOW_rule__Type__Alternatives_in_ruleType6902);\n rule__Type__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e875d809877368a6d7368cac277574a7", "score": "0.45140576", "text": "public final void ruleOperator() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:297:2: ( ( ( rule__Operator__Alternatives ) ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:298:1: ( ( rule__Operator__Alternatives ) )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:298:1: ( ( rule__Operator__Alternatives ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:299:1: ( rule__Operator__Alternatives )\n {\n before(grammarAccess.getOperatorAccess().getAlternatives()); \n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:300:1: ( rule__Operator__Alternatives )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:300:2: rule__Operator__Alternatives\n {\n pushFollow(FOLLOW_rule__Operator__Alternatives_in_ruleOperator575);\n rule__Operator__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOperatorAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9b35faddcd5b2f6e6cdd4e52839a1e62", "score": "0.45076346", "text": "public final void rule__COLORS_TYPE__NameAssignment_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPhases.g:775:1: ( ( ( 'COLORS' ) ) )\n // InternalPhases.g:776:2: ( ( 'COLORS' ) )\n {\n // InternalPhases.g:776:2: ( ( 'COLORS' ) )\n // InternalPhases.g:777:3: ( 'COLORS' )\n {\n before(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n // InternalPhases.g:778:3: ( 'COLORS' )\n // InternalPhases.g:779:4: 'COLORS'\n {\n before(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n match(input,17,FOLLOW_2); \n after(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n\n }\n\n after(grammarAccess.getCOLORS_TYPEAccess().getNameCOLORSKeyword_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ae0011d41954b7082ac9b74a68f7e500", "score": "0.45074177", "text": "public final void rule__MobaRegexpConstraint__Alternatives_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMoba.g:3110:1: ( ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) ) | ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) ) )\n int alt40=2;\n int LA40_0 = input.LA(1);\n\n if ( (LA40_0==RULE_STRING) ) {\n alt40=1;\n }\n else if ( (LA40_0==RULE_CONSTANT) ) {\n alt40=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 40, 0, input);\n\n throw nvae;\n }\n switch (alt40) {\n case 1 :\n // InternalMoba.g:3111:2: ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) )\n {\n // InternalMoba.g:3111:2: ( ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 ) )\n // InternalMoba.g:3112:3: ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMobaRegexpConstraintAccess().getFilterStringAssignment_2_0()); \n }\n // InternalMoba.g:3113:3: ( rule__MobaRegexpConstraint__FilterStringAssignment_2_0 )\n // InternalMoba.g:3113:4: rule__MobaRegexpConstraint__FilterStringAssignment_2_0\n {\n pushFollow(FOLLOW_2);\n rule__MobaRegexpConstraint__FilterStringAssignment_2_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMobaRegexpConstraintAccess().getFilterStringAssignment_2_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // InternalMoba.g:3117:2: ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) )\n {\n // InternalMoba.g:3117:2: ( ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 ) )\n // InternalMoba.g:3118:3: ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMobaRegexpConstraintAccess().getFilterConstAssignment_2_1()); \n }\n // InternalMoba.g:3119:3: ( rule__MobaRegexpConstraint__FilterConstAssignment_2_1 )\n // InternalMoba.g:3119:4: rule__MobaRegexpConstraint__FilterConstAssignment_2_1\n {\n pushFollow(FOLLOW_2);\n rule__MobaRegexpConstraint__FilterConstAssignment_2_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMobaRegexpConstraintAccess().getFilterConstAssignment_2_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fc4c9bd11cb71575fb29984031b68872", "score": "0.45000005", "text": "public final void ruleDecl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:91:2: ( ( ( rule__Decl__Alternatives ) ) )\n // InternalGame.g:92:2: ( ( rule__Decl__Alternatives ) )\n {\n // InternalGame.g:92:2: ( ( rule__Decl__Alternatives ) )\n // InternalGame.g:93:3: ( rule__Decl__Alternatives )\n {\n before(grammarAccess.getDeclAccess().getAlternatives()); \n // InternalGame.g:94:3: ( rule__Decl__Alternatives )\n // InternalGame.g:94:4: rule__Decl__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__Decl__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getDeclAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "57acdcb6885f9a6b588cd134023b17e4", "score": "0.44906697", "text": "public void makeGuessEyeColor(String guess) {\n ArrayList<Person> temp = new ArrayList<>();\r\n switch (guess) {\r\n case \"black\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has black eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have black eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"green\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has green eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"green\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have green eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"green\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"blue\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has blue eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"blue\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have blue eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"blue\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"brown\":\r\n if(guess.equals(game.getChosenPerson().getEyeColor())){\r\n System.out.println(\"The person has brown eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getEyeColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have brown eyes.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getEyeColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n default:\r\n break; \r\n }\r\n }", "title": "" }, { "docid": "fe0f12e89f9733bf57f43027447c4611", "score": "0.448452", "text": "public static void main(String[] args) {\n\t\tString a = JOptionPane.showInputDialog(\"Do you know what my least favorite color is?\");\n\t\t// 2. If they say \"yes\", tell them they will rule the world.\n\t\nif(a.equalsIgnoreCase(\"Orange\")) {\n\t\n\tJOptionPane.showMessageDialog(null, \"ORANGE IS THE WORST COLOR OF ALL TIME (in my opinion)\");\n}\n\t\t// 3. Otherwise, wish them good luck washing dishes.\nelse { \n\tJOptionPane.showMessageDialog(null,\"ay I like dat color\");\n\n\n\n}\n}", "title": "" }, { "docid": "dc609b22e27588dfb42b925203957d15", "score": "0.44776347", "text": "public ASSColor(String color){\r\n\t\tPattern pattern = Pattern.compile(\"^&h[0-9a-f]{8}$\",Pattern.CASE_INSENSITIVE);\r\n\t\tMatcher matcher = pattern.matcher(color);\r\n\t\tboolean match = matcher.matches();\r\n\t\tif (match) {\r\n\t\t\ta = Integer.parseInt(color.substring(2, 3),16);\r\n\t\t\tb = Integer.parseInt(color.substring(4, 5),16);\r\n\t\t\tg = Integer.parseInt(color.substring(6, 7),16);\r\n\t\t\tr = Integer.parseInt(color.substring(8, 9),16);\r\n\t\t\t// swap red and blue component\r\n\t\t\tint nb = r;\r\n\t\t\tint nr = b;\r\n\t\t\tb = nb;\r\n\t\t\tr = nr;\r\n\t\t\t// invert alpha value\r\n\t\t\ta = 255 - a;\r\n\t\t\tif(a!=255) {\r\n\t\t\t\thasAlpha = true; \r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\t// excepiton\r\n\t\t\tthrow new IllegalArgumentException(\"the format of color notation is wrong!\");\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "accb5903d29215f2806be0755f320335", "score": "0.447592", "text": "private void redButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_redButtonActionPerformed\n round++;\n if( \"RED\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }", "title": "" }, { "docid": "5b447f9afebe76a5b6b9c3cfc245a1f9", "score": "0.4461677", "text": "@Test\n\tpublic void testMoveColorRecognition() {\n\t\tgame2.setCurrentColor(Arrays.asList(\"move S all 14\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"all\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move B green 21\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"green\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move 4 purple 12\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"purple\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move 2 yellow 6\".split(\"[\\\\s']\")));\n\t\tassertTrue(game2.currentColor.equals(\"yellow\"));\n\t\tgame2.setCurrentColor(Arrays.asList(\"move 4 grey 3\".split(\"[\\\\s']\")));\n\t\t//Should not be set, as grey is invalid. Thus, old setting should remain.\n\t\tassertTrue(game2.currentColor.equals(\"yellow\"));\n\t}", "title": "" }, { "docid": "435281ef9e35a19f0cbbee345a0ef0d1", "score": "0.44471064", "text": "public final void rule__AddExpr__OpAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:5231:1: ( ( ( rule__AddExpr__OpAlternatives_1_1_0 ) ) )\n // InternalGame.g:5232:2: ( ( rule__AddExpr__OpAlternatives_1_1_0 ) )\n {\n // InternalGame.g:5232:2: ( ( rule__AddExpr__OpAlternatives_1_1_0 ) )\n // InternalGame.g:5233:3: ( rule__AddExpr__OpAlternatives_1_1_0 )\n {\n before(grammarAccess.getAddExprAccess().getOpAlternatives_1_1_0()); \n // InternalGame.g:5234:3: ( rule__AddExpr__OpAlternatives_1_1_0 )\n // InternalGame.g:5234:4: rule__AddExpr__OpAlternatives_1_1_0\n {\n pushFollow(FOLLOW_2);\n rule__AddExpr__OpAlternatives_1_1_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAddExprAccess().getOpAlternatives_1_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d96f732084fdc92af34c5cd03150aebe", "score": "0.44458318", "text": "private void greenButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_greenButtonActionPerformed\n round++;\n if( \"GREEN\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }", "title": "" }, { "docid": "e4571150b9b60a70abc5bbf6d4e1b7cd", "score": "0.44456154", "text": "public final void entryRuleRGB() throws RecognitionException {\n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4380:1: ( ruleRGB EOF )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4381:1: ruleRGB EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRGBRule()); \n }\n pushFollow(FollowSets000.FOLLOW_ruleRGB_in_entryRuleRGB9310);\n ruleRGB();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRGBRule()); \n }\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRGB9317); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "39a0ad320ceb28df5e58bc99c380e946", "score": "0.443857", "text": "public final void ruleRGB() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4392:2: ( ( ( rule__RGB__ValueAssignment ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4393:1: ( ( rule__RGB__ValueAssignment ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4393:1: ( ( rule__RGB__ValueAssignment ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4394:1: ( rule__RGB__ValueAssignment )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRGBAccess().getValueAssignment()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4395:1: ( rule__RGB__ValueAssignment )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:4395:2: rule__RGB__ValueAssignment\n {\n pushFollow(FollowSets000.FOLLOW_rule__RGB__ValueAssignment_in_ruleRGB9343);\n rule__RGB__ValueAssignment();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRGBAccess().getValueAssignment()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b276c44f17ae1ee23a0d189d0d71de65", "score": "0.44230494", "text": "SELF choose(Function<ChooseSyntax<S,E,R>, ChooseSyntax.End> choose);", "title": "" }, { "docid": "0dc0678198714df9f2a2c29ee1b19d3c", "score": "0.44191784", "text": "private void yellowButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_yellowButtonActionPerformed\n round++;\n if( \"YELLOW\".equals(wordColor)){\n score += 100;\n }\n randomize();\n }", "title": "" }, { "docid": "f5598672e763c998bce1f4d15531d0b0", "score": "0.44188204", "text": "public String checkColor(String inputColor){\r\n\t\tfor(int c = 0; c < Constant.COLOR.length; c++){\r\n\t\t\tif(inputColor.compareToIgnoreCase(Constant.COLOR[c]) == 0){\r\n\t\t\t\treturn Constant.COLOR[c];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn \"colorless\";\r\n\t}", "title": "" }, { "docid": "1b82fbde9050e6337b05ab546a3f8a0f", "score": "0.4412141", "text": "public int randomColor(){\n return color(random(50,255),random(50,255),random(50,255));\n}", "title": "" }, { "docid": "78d95b8dd6072ac9130cd9e9250d50eb", "score": "0.4403602", "text": "public ASSColor(int r,int g,int b,int a){\r\n\t\tthis.r = r;\r\n\t\tthis.g = g;\r\n\t\tthis.b = b;\r\n\t\tthis.a = a;\r\n\t\thasAlpha = true;\r\n\t}", "title": "" }, { "docid": "86a17773bf18d2fe727dae381fe7213f", "score": "0.44004455", "text": "void editColors(int deltaRed, int deltaGreen, int deltaBlue);", "title": "" }, { "docid": "371a163304f27d30d4996454f47bc1a0", "score": "0.43910936", "text": "public final void ruleBlock() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:466:2: ( ( ( rule__Block__Alternatives ) ) )\n // InternalGame.g:467:2: ( ( rule__Block__Alternatives ) )\n {\n // InternalGame.g:467:2: ( ( rule__Block__Alternatives ) )\n // InternalGame.g:468:3: ( rule__Block__Alternatives )\n {\n before(grammarAccess.getBlockAccess().getAlternatives()); \n // InternalGame.g:469:3: ( rule__Block__Alternatives )\n // InternalGame.g:469:4: rule__Block__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__Block__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getBlockAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0e2b4e6264d9386dee9b5c65e1653324", "score": "0.43898293", "text": "boolean getGamerule(String rule);", "title": "" }, { "docid": "7bf6daf34cfd3c55c5427b124307e8fe", "score": "0.43817246", "text": "public final void ruleDirection() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1792:1: ( ( ( rule__Direction__Alternatives ) ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1793:1: ( ( rule__Direction__Alternatives ) )\n {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1793:1: ( ( rule__Direction__Alternatives ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1794:1: ( rule__Direction__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getDirectionAccess().getAlternatives()); \n }\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1795:1: ( rule__Direction__Alternatives )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1795:2: rule__Direction__Alternatives\n {\n pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection3752);\n rule__Direction__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getDirectionAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b0e4d72daaab0cf0e29c571c624e0cf8", "score": "0.4381311", "text": "public final void ruleStatement() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1115:2: ( ( ( rule__Statement__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1116:1: ( ( rule__Statement__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1116:1: ( ( rule__Statement__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1117:1: ( rule__Statement__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getStatementAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1118:1: ( rule__Statement__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1118:2: rule__Statement__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__Statement__Alternatives_in_ruleStatement2324);\r\n rule__Statement__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getStatementAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "2c1e27366867d54e0db7356ca7cfd476", "score": "0.437298", "text": "private int[] findThreePairPattern(Player player, Game game, int[] colors,Color[] c, int[] exchnageOptions) {\n\t\t if(colors[0] == 2 && colors[1] == 2 && colors[2] == 1 && colors[3] == 1 && player.getNumberOfFavorTokens() >= 2){\n\t\t\t if(checkSupply(c[2],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[3],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[3],c[2],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else if(colors[0] == 3 && colors[1] == 1 && colors[2] == 1 && player.getNumberOfFavorTokens() >= 2){\n\t\t\t if(checkSupply(c[0],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[1],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[1],c[0],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else if(colors[0] == 3 && colors[1] == 2 && player.getNumberOfFavorTokens() >= 2){\n\t\t\t if(checkSupply(c[0],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[1],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[1],c[0],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else if(colors[0] == 2 && colors[1] == 1 && colors[2] == 1 && colors[3] == 1 && colors[4] == 1 && player.getNumberOfFavorTokens() >= 4){\n\t\t\t if(checkSupply(c[1],game)){\n\t\t\t\t exchnageOptions[0] = choosePlayerLanternCard(c[4],game,player);\n\t\t\t\t exchnageOptions[1] = chooseSupplyLanternCard(c[4],c[1],game,player);\n\t\t\t }\n\t\t \t else{\n\t\t \t\t exchnageOptions[0] = 9;\n\t\t \t exchnageOptions[1] = 9;\n\t\t \t }\n\t\t }\n\t\t else{\n\t\t\t exchnageOptions[0] = 9;\n\t\t\t exchnageOptions[1] = 9;\n\t\t }\n\t\t return exchnageOptions;\n\t}", "title": "" }, { "docid": "4a143410d107b79f56f67f05d0b1f8d7", "score": "0.43728152", "text": "public final void rule__Rule__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:808:1: ( ( ( rule__Rule__Alternatives_0 ) ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:809:1: ( ( rule__Rule__Alternatives_0 ) )\n {\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:809:1: ( ( rule__Rule__Alternatives_0 ) )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:810:1: ( rule__Rule__Alternatives_0 )\n {\n before(grammarAccess.getRuleAccess().getAlternatives_0()); \n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:811:1: ( rule__Rule__Alternatives_0 )\n // ../com.dubture.editor.sass.ui/src-gen/com/dubture/editor/sass/ui/contentassist/antlr/internal/InternalSass.g:811:2: rule__Rule__Alternatives_0\n {\n pushFollow(FOLLOW_rule__Rule__Alternatives_0_in_rule__Rule__Group__0__Impl1660);\n rule__Rule__Alternatives_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRuleAccess().getAlternatives_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d824f00ab6daaf8a101c0aba34d85c20", "score": "0.4371026", "text": "public final void rule__Tuple__Alternatives_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4247:1: ( ( () ) | ( ( rule__Tuple__Group_1_1__0 ) ) )\n int alt33=2;\n int LA33_0 = input.LA(1);\n\n if ( (LA33_0==75) ) {\n alt33=1;\n }\n else if ( ((LA33_0>=RULE_ATOM && LA33_0<=RULE_BASED_INT)||(LA33_0>=RULE_STRING && LA33_0<=RULE_CHAR)||(LA33_0>=19 && LA33_0<=24)||(LA33_0>=27 && LA33_0<=28)||(LA33_0>=41 && LA33_0<=42)||(LA33_0>=53 && LA33_0<=68)||LA33_0==71||LA33_0==74||LA33_0==78||(LA33_0>=83 && LA33_0<=84)||LA33_0==86||(LA33_0>=88 && LA33_0<=92)||LA33_0==94||(LA33_0>=96 && LA33_0<=97)||LA33_0==100) ) {\n alt33=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 33, 0, input);\n\n throw nvae;\n }\n switch (alt33) {\n case 1 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4248:1: ( () )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4248:1: ( () )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4249:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTupleAccess().getErlTupleAction_1_0()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4250:1: ()\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4252:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTupleAccess().getErlTupleAction_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4256:6: ( ( rule__Tuple__Group_1_1__0 ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4256:6: ( ( rule__Tuple__Group_1_1__0 ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4257:1: ( rule__Tuple__Group_1_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTupleAccess().getGroup_1_1()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4258:1: ( rule__Tuple__Group_1_1__0 )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:4258:2: rule__Tuple__Group_1_1__0\n {\n pushFollow(FOLLOW_rule__Tuple__Group_1_1__0_in_rule__Tuple__Alternatives_19253);\n rule__Tuple__Group_1_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTupleAccess().getGroup_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "101c0641469048a3e0640ab7f0130fb2", "score": "0.43688762", "text": "public final void ruleWebDriverActionCondition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:141:2: ( ( ( rule__WebDriverActionCondition__Alternatives ) ) )\n // InternalBromium.g:142:2: ( ( rule__WebDriverActionCondition__Alternatives ) )\n {\n // InternalBromium.g:142:2: ( ( rule__WebDriverActionCondition__Alternatives ) )\n // InternalBromium.g:143:3: ( rule__WebDriverActionCondition__Alternatives )\n {\n before(grammarAccess.getWebDriverActionConditionAccess().getAlternatives()); \n // InternalBromium.g:144:3: ( rule__WebDriverActionCondition__Alternatives )\n // InternalBromium.g:144:4: rule__WebDriverActionCondition__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__WebDriverActionCondition__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getWebDriverActionConditionAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2acd5ea885c706b385a4a709a7fb4e85", "score": "0.43435156", "text": "public final void ruleExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:946:2: ( ( ( rule__Expression__Alternatives ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:947:1: ( ( rule__Expression__Alternatives ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:947:1: ( ( rule__Expression__Alternatives ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:948:1: ( rule__Expression__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExpressionAccess().getAlternatives()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:949:1: ( rule__Expression__Alternatives )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:949:2: rule__Expression__Alternatives\n {\n pushFollow(FOLLOW_rule__Expression__Alternatives_in_ruleExpression1965);\n rule__Expression__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExpressionAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bacf2a614522cb4ddb0fd9662cc05795", "score": "0.43421268", "text": "public final void ruleSelectArgument() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7178:1: ( ( ( rule__SelectArgument__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7179:1: ( ( rule__SelectArgument__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7179:1: ( ( rule__SelectArgument__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7180:1: ( rule__SelectArgument__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSelectArgumentAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7181:1: ( rule__SelectArgument__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7181:2: rule__SelectArgument__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__SelectArgument__Alternatives_in_ruleSelectArgument15229);\n rule__SelectArgument__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSelectArgumentAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "14fd7b9605173379554373c8ef550186", "score": "0.43307382", "text": "void announceGameWinner(Color color);", "title": "" }, { "docid": "92f914e4beb96069c4a9eb8d1661659c", "score": "0.4325934", "text": "public final void ruleWebDriverAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:166:2: ( ( ( rule__WebDriverAction__Alternatives ) ) )\n // InternalBromium.g:167:2: ( ( rule__WebDriverAction__Alternatives ) )\n {\n // InternalBromium.g:167:2: ( ( rule__WebDriverAction__Alternatives ) )\n // InternalBromium.g:168:3: ( rule__WebDriverAction__Alternatives )\n {\n before(grammarAccess.getWebDriverActionAccess().getAlternatives()); \n // InternalBromium.g:169:3: ( rule__WebDriverAction__Alternatives )\n // InternalBromium.g:169:4: rule__WebDriverAction__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__WebDriverAction__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getWebDriverActionAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "67d8d01ba2b6115bf075030a0c5ed301", "score": "0.432564", "text": "public final void ruleOpCompare() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3160:2: ( ( ( rule__OpCompare__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3161:1: ( ( rule__OpCompare__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3161:1: ( ( rule__OpCompare__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3162:1: ( rule__OpCompare__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOpCompareAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3163:1: ( rule__OpCompare__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:3163:2: rule__OpCompare__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__OpCompare__Alternatives_in_ruleOpCompare6704);\n rule__OpCompare__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOpCompareAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b671dce75c109ebff649ccd2f1ecc45f", "score": "0.43222225", "text": "public void gameChoices () {\r\n \tsetFont(new Font(\"Times New Roman\", Font.BOLD, 24));\r\n \tsetForegroundColor(Color.red);\r\n \tdrawString(\" Choices Menu \", width/2 - 40, height/2 - 40);\r\n \t\r\n \tsetForegroundColor(Color.white);\r\n \tsetFont(new Font(\"Times New Roman\", Font.PLAIN, 20));\r\n \tdrawString(\" ( 1 ) - Artificial Intelligence \", width/2 - 100, height/2);\r\n \tdrawString(\" ( 2 ) - Human Player \", width/2 - 100, height/2 + 20);\r\n \tdrawString(\" ( 3 ) - Human Player vs. AI\", width/2 - 100, height/2 + 40);\r\n \tdrawString(\" ( 0 ) - QUIT \", width/2 - 100, height/2 + 60);\r\n \t\r\n \tsetForegroundColor(Color.red);\r\n }", "title": "" }, { "docid": "684732dd104bf20fa557fa1ecffa5a96", "score": "0.4318425", "text": "String getplayercolor();", "title": "" }, { "docid": "72abe2a4bd62baa5451e41544beb05f3", "score": "0.43106127", "text": "@Test\n public void noSuggestion2() throws Exception {\n // available default suggestion\n baseTest( MIN_MARGINS[2],\n MEDIA_SIZES, MEDIA_SIZES[2], null,\n // There are only two color modes, hence pick [1]\n COLOR_MODES, COLOR_MODES[1], 0,\n DUPLEX_MODES, DUPLEX_MODES[2], 0,\n RESOLUTIONS, RESOLUTIONS[2], null);\n }", "title": "" }, { "docid": "dfc6289c5215e7235ba1dc537ef2c3d1", "score": "0.43076968", "text": "public final void rule__FontColor__ColorAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40640:1: ( ( RULE_STRING ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40641:1: ( RULE_STRING )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40641:1: ( RULE_STRING )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:40642:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getFontColorAccess().getColorSTRINGTerminalRuleCall_1_0()); \n }\n match(input,RULE_STRING,FollowSets003.FOLLOW_RULE_STRING_in_rule__FontColor__ColorAssignment_186205); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getFontColorAccess().getColorSTRINGTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "aaccc56d33c8cf00a77bb153b04657f9", "score": "0.43044564", "text": "@Test\n public void aLiteralDescriptionOfAColorCanBeParsedCorrectly() throws SVGException {\n\n cut.setText(\"RED\");\n\n final Paint paint = cut.getValue();\n\n assertThat(paint, instanceOf(Color.class));\n assertEquals(Color.RED, paint);\n }", "title": "" }, { "docid": "1b10433db9059490e704aa9c17ca886f", "score": "0.4303856", "text": "public final void ruleDirection() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1723:1: ( ( ( rule__Direction__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1724:1: ( ( rule__Direction__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1724:1: ( ( rule__Direction__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1725:1: ( rule__Direction__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getDirectionAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1726:1: ( rule__Direction__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1726:2: rule__Direction__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection3620);\r\n rule__Direction__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getDirectionAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "01284e1ed3ba089f389c537a44e55391", "score": "0.42998114", "text": "public final void rule__PhaseType__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPhases.g:231:1: ( ( ( rule__PhaseType__StreetTypeAssignment_0 ) ) | ( ( rule__PhaseType__NumbersTypeAssignment_1 ) ) | ( ( rule__PhaseType__ColorTypeAssignment_2 ) ) )\n int alt2=3;\n switch ( input.LA(1) ) {\n case 18:\n {\n alt2=1;\n }\n break;\n case 16:\n {\n alt2=2;\n }\n break;\n case 17:\n {\n alt2=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n\n switch (alt2) {\n case 1 :\n // InternalPhases.g:232:2: ( ( rule__PhaseType__StreetTypeAssignment_0 ) )\n {\n // InternalPhases.g:232:2: ( ( rule__PhaseType__StreetTypeAssignment_0 ) )\n // InternalPhases.g:233:3: ( rule__PhaseType__StreetTypeAssignment_0 )\n {\n before(grammarAccess.getPhaseTypeAccess().getStreetTypeAssignment_0()); \n // InternalPhases.g:234:3: ( rule__PhaseType__StreetTypeAssignment_0 )\n // InternalPhases.g:234:4: rule__PhaseType__StreetTypeAssignment_0\n {\n pushFollow(FOLLOW_2);\n rule__PhaseType__StreetTypeAssignment_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPhaseTypeAccess().getStreetTypeAssignment_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalPhases.g:238:2: ( ( rule__PhaseType__NumbersTypeAssignment_1 ) )\n {\n // InternalPhases.g:238:2: ( ( rule__PhaseType__NumbersTypeAssignment_1 ) )\n // InternalPhases.g:239:3: ( rule__PhaseType__NumbersTypeAssignment_1 )\n {\n before(grammarAccess.getPhaseTypeAccess().getNumbersTypeAssignment_1()); \n // InternalPhases.g:240:3: ( rule__PhaseType__NumbersTypeAssignment_1 )\n // InternalPhases.g:240:4: rule__PhaseType__NumbersTypeAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__PhaseType__NumbersTypeAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPhaseTypeAccess().getNumbersTypeAssignment_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalPhases.g:244:2: ( ( rule__PhaseType__ColorTypeAssignment_2 ) )\n {\n // InternalPhases.g:244:2: ( ( rule__PhaseType__ColorTypeAssignment_2 ) )\n // InternalPhases.g:245:3: ( rule__PhaseType__ColorTypeAssignment_2 )\n {\n before(grammarAccess.getPhaseTypeAccess().getColorTypeAssignment_2()); \n // InternalPhases.g:246:3: ( rule__PhaseType__ColorTypeAssignment_2 )\n // InternalPhases.g:246:4: rule__PhaseType__ColorTypeAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__PhaseType__ColorTypeAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPhaseTypeAccess().getColorTypeAssignment_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bedae08ff3fb80629ccd6f562bff3bc2", "score": "0.42974672", "text": "public void wishColor(Card.colors colorWish) {\n lastCardColor = colorWish;\n lastCardValue = Card.values.CHOOSE_COLOR;\n }", "title": "" }, { "docid": "50763cba13eaea704cb8a2c28db0c914", "score": "0.42930248", "text": "private String ChooseColor (String[] userData ,double rssi)\r\n\t{\r\n\t\tif(rssi < -90)\r\n\t\t{\r\n\t\t\treturn \"#green\";\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn \"#red\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2e215bd0583d9873c7f75f4adb9bffe7", "score": "0.42914292", "text": "public final void ruleElement() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:101:2: ( ( ( rule__Element__Alternatives ) ) )\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:102:1: ( ( rule__Element__Alternatives ) )\n {\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:102:1: ( ( rule__Element__Alternatives ) )\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:103:1: ( rule__Element__Alternatives )\n {\n before(grammarAccess.getElementAccess().getAlternatives()); \n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:104:1: ( rule__Element__Alternatives )\n // ../org.pklose.espl.ui/src-gen/org/pklose/espl/ui/contentassist/antlr/internal/InternalEsplm.g:104:2: rule__Element__Alternatives\n {\n pushFollow(FOLLOW_rule__Element__Alternatives_in_ruleElement154);\n rule__Element__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getElementAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "aa656caf04e4250bd981b403db476e34", "score": "0.4291403", "text": "public final void rule__RelExpr__OpAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:5201:1: ( ( ( rule__RelExpr__OpAlternatives_1_1_0 ) ) )\n // InternalGame.g:5202:2: ( ( rule__RelExpr__OpAlternatives_1_1_0 ) )\n {\n // InternalGame.g:5202:2: ( ( rule__RelExpr__OpAlternatives_1_1_0 ) )\n // InternalGame.g:5203:3: ( rule__RelExpr__OpAlternatives_1_1_0 )\n {\n before(grammarAccess.getRelExprAccess().getOpAlternatives_1_1_0()); \n // InternalGame.g:5204:3: ( rule__RelExpr__OpAlternatives_1_1_0 )\n // InternalGame.g:5204:4: rule__RelExpr__OpAlternatives_1_1_0\n {\n pushFollow(FOLLOW_2);\n rule__RelExpr__OpAlternatives_1_1_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRelExprAccess().getOpAlternatives_1_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e07023d8d5e8c14e7c6e8a8dfd6b4c28", "score": "0.42898706", "text": "public final void rule__ReactionEffect__ActionsAssignment_2_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10165:1: ( ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10166:1: ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) )\n {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10166:1: ( ( rule__ReactionEffect__ActionsAlternatives_2_1_0 ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10167:1: ( rule__ReactionEffect__ActionsAlternatives_2_1_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getReactionEffectAccess().getActionsAlternatives_2_1_0()); \n }\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10168:1: ( rule__ReactionEffect__ActionsAlternatives_2_1_0 )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:10168:2: rule__ReactionEffect__ActionsAlternatives_2_1_0\n {\n pushFollow(FOLLOW_rule__ReactionEffect__ActionsAlternatives_2_1_0_in_rule__ReactionEffect__ActionsAssignment_2_120673);\n rule__ReactionEffect__ActionsAlternatives_2_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getReactionEffectAccess().getActionsAlternatives_2_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "05eb7b0028e7a309a222363d3083c6bd", "score": "0.4285557", "text": "public final void rule__WebDriverAction__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBromium.g:502:1: ( ( ruleClickCssSelector ) | ( ruleClickClassByText ) | ( rulePageLoad ) | ( ruleTypeTextInElementFoundByCssSelector ) )\n int alt2=4;\n switch ( input.LA(1) ) {\n case 32:\n {\n int LA2_1 = input.LA(2);\n\n if ( (LA2_1==33) ) {\n int LA2_4 = input.LA(3);\n\n if ( (LA2_4==27) ) {\n int LA2_5 = input.LA(4);\n\n if ( (LA2_5==28) ) {\n int LA2_6 = input.LA(5);\n\n if ( (LA2_6==43) ) {\n alt2=2;\n }\n else if ( (LA2_6==29) ) {\n alt2=1;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 6, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 5, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 4, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 1, input);\n\n throw nvae;\n }\n }\n break;\n case 34:\n {\n alt2=3;\n }\n break;\n case 35:\n {\n alt2=4;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n\n switch (alt2) {\n case 1 :\n // InternalBromium.g:503:2: ( ruleClickCssSelector )\n {\n // InternalBromium.g:503:2: ( ruleClickCssSelector )\n // InternalBromium.g:504:3: ruleClickCssSelector\n {\n before(grammarAccess.getWebDriverActionAccess().getClickCssSelectorParserRuleCall_0()); \n pushFollow(FOLLOW_2);\n ruleClickCssSelector();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getClickCssSelectorParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalBromium.g:509:2: ( ruleClickClassByText )\n {\n // InternalBromium.g:509:2: ( ruleClickClassByText )\n // InternalBromium.g:510:3: ruleClickClassByText\n {\n before(grammarAccess.getWebDriverActionAccess().getClickClassByTextParserRuleCall_1()); \n pushFollow(FOLLOW_2);\n ruleClickClassByText();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getClickClassByTextParserRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalBromium.g:515:2: ( rulePageLoad )\n {\n // InternalBromium.g:515:2: ( rulePageLoad )\n // InternalBromium.g:516:3: rulePageLoad\n {\n before(grammarAccess.getWebDriverActionAccess().getPageLoadParserRuleCall_2()); \n pushFollow(FOLLOW_2);\n rulePageLoad();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getPageLoadParserRuleCall_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // InternalBromium.g:521:2: ( ruleTypeTextInElementFoundByCssSelector )\n {\n // InternalBromium.g:521:2: ( ruleTypeTextInElementFoundByCssSelector )\n // InternalBromium.g:522:3: ruleTypeTextInElementFoundByCssSelector\n {\n before(grammarAccess.getWebDriverActionAccess().getTypeTextInElementFoundByCssSelectorParserRuleCall_3()); \n pushFollow(FOLLOW_2);\n ruleTypeTextInElementFoundByCssSelector();\n\n state._fsp--;\n\n after(grammarAccess.getWebDriverActionAccess().getTypeTextInElementFoundByCssSelectorParserRuleCall_3()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "74b2eff3cef2d527d923ac1ac276fdc2", "score": "0.42823324", "text": "java.lang.String getColor();", "title": "" }, { "docid": "74b2eff3cef2d527d923ac1ac276fdc2", "score": "0.42823324", "text": "java.lang.String getColor();", "title": "" }, { "docid": "312e19e91522f882d7cff541edb67d87", "score": "0.42815986", "text": "@Override\n\tpublic void visit(ChoicePEG n) {\n\t\t\n\t}", "title": "" }, { "docid": "7f091bf9942633ef204072cfdce9c43a", "score": "0.42762157", "text": "private Color chooseColor() {\n if (listMessageReceive.size() > 10) {\n return Color.red;\n }\n if (listMessageReceive.size() > 2) {\n return Color.orange;\n }\n if (listMessageReceive.size() > 0) {\n return Color.green;\n }\n\n return null;\n }", "title": "" }, { "docid": "606c03cbb7a15db2a8bb03ef78cec81c", "score": "0.4273987", "text": "public final void ruleTimeEventType() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1811:1: ( ( ( rule__TimeEventType__Alternatives ) ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1812:1: ( ( rule__TimeEventType__Alternatives ) )\n {\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1812:1: ( ( rule__TimeEventType__Alternatives ) )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1813:1: ( rule__TimeEventType__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \n }\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1814:1: ( rule__TimeEventType__Alternatives )\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1814:2: rule__TimeEventType__Alternatives\n {\n pushFollow(FOLLOW_rule__TimeEventType__Alternatives_in_ruleTimeEventType3788);\n rule__TimeEventType__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6c7af751b0c170ad004ae2c19a688a41", "score": "0.426763", "text": "public final void mT__178() throws RecognitionException {\n try {\n int _type = T__178;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalPub.g:172:8: ( 'blue' )\n // InternalPub.g:172:10: 'blue'\n {\n match(\"blue\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "a7e62c5011bb01aed37d20cf66d5739e", "score": "0.42673346", "text": "public final void ruleNAME() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2714:2: ( ( ( rule__NAME__Alternatives ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2715:1: ( ( rule__NAME__Alternatives ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2715:1: ( ( rule__NAME__Alternatives ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2716:1: ( rule__NAME__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getNAMEAccess().getAlternatives()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2717:1: ( rule__NAME__Alternatives )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:2717:2: rule__NAME__Alternatives\n {\n pushFollow(FOLLOW_rule__NAME__Alternatives_in_ruleNAME5749);\n rule__NAME__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getNAMEAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "adf0b3c8b4a3c24d81d81815c10c4ce0", "score": "0.4259497", "text": "private void acceptColors(EntityState state){\n // implement\n }", "title": "" }, { "docid": "02958a2fd9aa2ff91a30e5dda4b877c2", "score": "0.42572328", "text": "public final void rule__FeatureEdgeKind__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalFml.g:5965:1: ( ( ( 'mand' ) ) | ( ( 'opt' ) ) | ( ( 'Xor' ) ) | ( ( 'Or' ) ) | ( ( 'Mutex' ) ) )\n int alt62=5;\n switch ( input.LA(1) ) {\n case 74:\n {\n alt62=1;\n }\n break;\n case 75:\n {\n alt62=2;\n }\n break;\n case 76:\n {\n alt62=3;\n }\n break;\n case 77:\n {\n alt62=4;\n }\n break;\n case 78:\n {\n alt62=5;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 62, 0, input);\n\n throw nvae;\n }\n\n switch (alt62) {\n case 1 :\n // InternalFml.g:5966:2: ( ( 'mand' ) )\n {\n // InternalFml.g:5966:2: ( ( 'mand' ) )\n // InternalFml.g:5967:3: ( 'mand' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getMANDATORYEnumLiteralDeclaration_0()); \n // InternalFml.g:5968:3: ( 'mand' )\n // InternalFml.g:5968:4: 'mand'\n {\n match(input,74,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getMANDATORYEnumLiteralDeclaration_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalFml.g:5972:2: ( ( 'opt' ) )\n {\n // InternalFml.g:5972:2: ( ( 'opt' ) )\n // InternalFml.g:5973:3: ( 'opt' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getOPTIONALEnumLiteralDeclaration_1()); \n // InternalFml.g:5974:3: ( 'opt' )\n // InternalFml.g:5974:4: 'opt'\n {\n match(input,75,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getOPTIONALEnumLiteralDeclaration_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalFml.g:5978:2: ( ( 'Xor' ) )\n {\n // InternalFml.g:5978:2: ( ( 'Xor' ) )\n // InternalFml.g:5979:3: ( 'Xor' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getALTERNATIVEEnumLiteralDeclaration_2()); \n // InternalFml.g:5980:3: ( 'Xor' )\n // InternalFml.g:5980:4: 'Xor'\n {\n match(input,76,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getALTERNATIVEEnumLiteralDeclaration_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // InternalFml.g:5984:2: ( ( 'Or' ) )\n {\n // InternalFml.g:5984:2: ( ( 'Or' ) )\n // InternalFml.g:5985:3: ( 'Or' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getOREnumLiteralDeclaration_3()); \n // InternalFml.g:5986:3: ( 'Or' )\n // InternalFml.g:5986:4: 'Or'\n {\n match(input,77,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getOREnumLiteralDeclaration_3()); \n\n }\n\n\n }\n break;\n case 5 :\n // InternalFml.g:5990:2: ( ( 'Mutex' ) )\n {\n // InternalFml.g:5990:2: ( ( 'Mutex' ) )\n // InternalFml.g:5991:3: ( 'Mutex' )\n {\n before(grammarAccess.getFeatureEdgeKindAccess().getMUTEXEnumLiteralDeclaration_4()); \n // InternalFml.g:5992:3: ( 'Mutex' )\n // InternalFml.g:5992:4: 'Mutex'\n {\n match(input,78,FOLLOW_2); \n\n }\n\n after(grammarAccess.getFeatureEdgeKindAccess().getMUTEXEnumLiteralDeclaration_4()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "48cfbdf072c3f0b9629d67572075241c", "score": "0.4253592", "text": "void onColorChange(String color);", "title": "" }, { "docid": "31c5870265f2b682c2f72a81baa923b2", "score": "0.42516857", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isChoiceTerm2Avl();", "title": "" }, { "docid": "ec1a4d8ecfcc23e9b8dc8c7f3f518256", "score": "0.42481196", "text": "public final void ruleCriterionDirection() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7100:1: ( ( ( rule__CriterionDirection__Alternatives ) ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7101:1: ( ( rule__CriterionDirection__Alternatives ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7101:1: ( ( rule__CriterionDirection__Alternatives ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7102:1: ( rule__CriterionDirection__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getCriterionDirectionAccess().getAlternatives()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7103:1: ( rule__CriterionDirection__Alternatives )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:7103:2: rule__CriterionDirection__Alternatives\n {\n pushFollow(FollowSets000.FOLLOW_rule__CriterionDirection__Alternatives_in_ruleCriterionDirection15083);\n rule__CriterionDirection__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getCriterionDirectionAccess().getAlternatives()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c6200e4b6518f6407dc75744f2bee6dd", "score": "0.4247557", "text": "public final void ruleComparisonOperator() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalFml.g:3751:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) )\n // InternalFml.g:3752:2: ( ( rule__ComparisonOperator__Alternatives ) )\n {\n // InternalFml.g:3752:2: ( ( rule__ComparisonOperator__Alternatives ) )\n // InternalFml.g:3753:3: ( rule__ComparisonOperator__Alternatives )\n {\n before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); \n // InternalFml.g:3754:3: ( rule__ComparisonOperator__Alternatives )\n // InternalFml.g:3754:4: rule__ComparisonOperator__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__ComparisonOperator__Alternatives();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "37a98ee0e18605563b517f503acdbfb0", "score": "0.4245953", "text": "public Color callColor(List<Card> hand) {\r\n\r\n double bestColor = 0;\r\n double currentColor;\r\n UnoPlayer.Color which = UnoPlayer.Color.NONE;\r\n\r\n int totalRed = 0;\r\n int totalBlue = 0;\r\n int totalYellow = 0;\r\n int totalGreen = 0;\r\n int totalPain = 0;\r\n for (int i = 0; i < hand.size(); i++){\r\n switch (hand.get(i).getColor()){\r\n case RED:\r\n totalRed++;\r\n break;\r\n case BLUE:\r\n totalBlue++;\r\n break;\r\n case YELLOW:\r\n totalYellow++;\r\n break;\r\n case GREEN:\r\n totalGreen++;\r\n break;\r\n case NONE:\r\n totalPain++;\r\n break;\r\n }\r\n }\r\n int compareColor[] = {totalRed, totalBlue, totalYellow, totalGreen};\r\n for (int i = 0; i < compareColor.length; i++){\r\n if (compareColor[i] > bestColor){\r\n bestColor = compareColor[i];\r\n }\r\n }\r\n if (bestColor == totalRed){\r\n return UnoPlayer.Color.RED;\r\n }\r\n if (bestColor == totalGreen){\r\n return UnoPlayer.Color.GREEN;\r\n }\r\n if (bestColor == totalBlue){\r\n return UnoPlayer.Color.BLUE;\r\n }\r\n if (bestColor == totalYellow){\r\n return UnoPlayer.Color.YELLOW;\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "f558dadb7e99de7c37323be65402c0eb", "score": "0.42450154", "text": "public final void rule__AutoConfMode__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalFml.g:6310:1: ( ( ( 'RANDOM' ) ) | ( ( 'MAX' ) ) | ( ( 'MIN' ) ) )\n int alt73=3;\n switch ( input.LA(1) ) {\n case 115:\n {\n alt73=1;\n }\n break;\n case 116:\n {\n alt73=2;\n }\n break;\n case 117:\n {\n alt73=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 73, 0, input);\n\n throw nvae;\n }\n\n switch (alt73) {\n case 1 :\n // InternalFml.g:6311:2: ( ( 'RANDOM' ) )\n {\n // InternalFml.g:6311:2: ( ( 'RANDOM' ) )\n // InternalFml.g:6312:3: ( 'RANDOM' )\n {\n before(grammarAccess.getAutoConfModeAccess().getRANDOMEnumLiteralDeclaration_0()); \n // InternalFml.g:6313:3: ( 'RANDOM' )\n // InternalFml.g:6313:4: 'RANDOM'\n {\n match(input,115,FOLLOW_2); \n\n }\n\n after(grammarAccess.getAutoConfModeAccess().getRANDOMEnumLiteralDeclaration_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalFml.g:6317:2: ( ( 'MAX' ) )\n {\n // InternalFml.g:6317:2: ( ( 'MAX' ) )\n // InternalFml.g:6318:3: ( 'MAX' )\n {\n before(grammarAccess.getAutoConfModeAccess().getMAXEnumLiteralDeclaration_1()); \n // InternalFml.g:6319:3: ( 'MAX' )\n // InternalFml.g:6319:4: 'MAX'\n {\n match(input,116,FOLLOW_2); \n\n }\n\n after(grammarAccess.getAutoConfModeAccess().getMAXEnumLiteralDeclaration_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // InternalFml.g:6323:2: ( ( 'MIN' ) )\n {\n // InternalFml.g:6323:2: ( ( 'MIN' ) )\n // InternalFml.g:6324:3: ( 'MIN' )\n {\n before(grammarAccess.getAutoConfModeAccess().getMINEnumLiteralDeclaration_2()); \n // InternalFml.g:6325:3: ( 'MIN' )\n // InternalFml.g:6325:4: 'MIN'\n {\n match(input,117,FOLLOW_2); \n\n }\n\n after(grammarAccess.getAutoConfModeAccess().getMINEnumLiteralDeclaration_2()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a8c96f2ee45e7c03dd23644b6d2d0b52", "score": "0.42413834", "text": "public final void rule__LCExpr__OpAssignment_1_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27892:1: ( ( ( rule__LCExpr__OpAlternatives_1_0_0 ) ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27893:1: ( ( rule__LCExpr__OpAlternatives_1_0_0 ) )\n {\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27893:1: ( ( rule__LCExpr__OpAlternatives_1_0_0 ) )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27894:1: ( rule__LCExpr__OpAlternatives_1_0_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLCExprAccess().getOpAlternatives_1_0_0()); \n }\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27895:1: ( rule__LCExpr__OpAlternatives_1_0_0 )\n // ../org.erlide.erlang.ui/src-gen/org/erlide/ui/contentassist/antlr/internal/InternalErlang.g:27895:2: rule__LCExpr__OpAlternatives_1_0_0\n {\n pushFollow(FOLLOW_rule__LCExpr__OpAlternatives_1_0_0_in_rule__LCExpr__OpAssignment_1_056302);\n rule__LCExpr__OpAlternatives_1_0_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLCExprAccess().getOpAlternatives_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e0c7655772d5df6a1cfb97bbc2dff8b6", "score": "0.42397416", "text": "public final void rule__Sort__Alternatives_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9821:1: ( ( ( rule__Sort__TreeAssignment_1_0 )? ) | ( ( rule__Sort__CriteriaAssignment_1_1 ) ) )\n int alt54=2;\n switch ( input.LA(1) ) {\n case EOF:\n case 58:\n case 82:\n case 87:\n case 89:\n case 91:\n case 92:\n case 93:\n case 94:\n case 95:\n case 111:\n case 112:\n case 113:\n case 232:\n case 236:\n case 237:\n case 250:\n case 256:\n case 261:\n case 264:\n case 269:\n case 270:\n case 271:\n case 275:\n case 276:\n case 278:\n case 280:\n case 285:\n case 291:\n case 292:\n case 295:\n case 296:\n case 301:\n case 302:\n case 303:\n case 304:\n case 305:\n case 309:\n case 311:\n case 323:\n case 324:\n case 325:\n case 326:\n case 330:\n case 348:\n {\n alt54=1;\n }\n break;\n case 148:\n {\n int LA54_2 = input.LA(2);\n\n if ( (LA54_2==233) ) {\n alt54=2;\n }\n else if ( (LA54_2==RULE_ID) ) {\n alt54=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 2, input);\n\n throw nvae;\n }\n }\n break;\n case 168:\n {\n int LA54_3 = input.LA(2);\n\n if ( (LA54_3==RULE_DATE||LA54_3==230||LA54_3==240) ) {\n alt54=1;\n }\n else if ( (LA54_3==233) ) {\n alt54=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 3, input);\n\n throw nvae;\n }\n }\n break;\n case 81:\n {\n int LA54_4 = input.LA(2);\n\n if ( (LA54_4==233) ) {\n alt54=2;\n }\n else if ( (LA54_4==RULE_ID) ) {\n alt54=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 4, input);\n\n throw nvae;\n }\n }\n break;\n case 204:\n {\n int LA54_5 = input.LA(2);\n\n if ( (LA54_5==RULE_DATE||LA54_5==230||LA54_5==240) ) {\n alt54=1;\n }\n else if ( (LA54_5==233) ) {\n alt54=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 5, input);\n\n throw nvae;\n }\n }\n break;\n case RULE_ID:\n case 78:\n case 97:\n case 98:\n case 114:\n case 115:\n case 125:\n case 142:\n case 143:\n case 144:\n case 145:\n case 146:\n case 147:\n case 149:\n case 150:\n case 151:\n case 152:\n case 153:\n case 154:\n case 155:\n case 156:\n case 157:\n case 158:\n case 159:\n case 160:\n case 161:\n case 162:\n case 163:\n case 164:\n case 165:\n case 166:\n case 167:\n case 169:\n case 170:\n case 171:\n case 172:\n case 173:\n case 174:\n case 175:\n case 176:\n case 177:\n case 178:\n case 179:\n case 180:\n case 181:\n case 182:\n case 183:\n case 184:\n case 185:\n case 186:\n case 187:\n case 188:\n case 189:\n case 190:\n case 191:\n case 192:\n case 193:\n case 194:\n case 195:\n case 196:\n case 197:\n case 198:\n case 199:\n case 200:\n case 201:\n case 202:\n case 203:\n case 205:\n case 206:\n case 207:\n case 208:\n case 209:\n case 210:\n case 211:\n {\n alt54=2;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 54, 0, input);\n\n throw nvae;\n }\n\n switch (alt54) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9822:1: ( ( rule__Sort__TreeAssignment_1_0 )? )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9822:1: ( ( rule__Sort__TreeAssignment_1_0 )? )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9823:1: ( rule__Sort__TreeAssignment_1_0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSortAccess().getTreeAssignment_1_0()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9824:1: ( rule__Sort__TreeAssignment_1_0 )?\n int alt53=2;\n int LA53_0 = input.LA(1);\n\n if ( (LA53_0==348) ) {\n alt53=1;\n }\n switch (alt53) {\n case 1 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9824:2: rule__Sort__TreeAssignment_1_0\n {\n pushFollow(FollowSets001.FOLLOW_rule__Sort__TreeAssignment_1_0_in_rule__Sort__Alternatives_121783);\n rule__Sort__TreeAssignment_1_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSortAccess().getTreeAssignment_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9828:6: ( ( rule__Sort__CriteriaAssignment_1_1 ) )\n {\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9828:6: ( ( rule__Sort__CriteriaAssignment_1_1 ) )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9829:1: ( rule__Sort__CriteriaAssignment_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSortAccess().getCriteriaAssignment_1_1()); \n }\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9830:1: ( rule__Sort__CriteriaAssignment_1_1 )\n // ../EclipseTaskJuggler.ui/src-gen/de/sos/etj/ui/contentassist/antlr/internal/InternalETJ.g:9830:2: rule__Sort__CriteriaAssignment_1_1\n {\n pushFollow(FollowSets001.FOLLOW_rule__Sort__CriteriaAssignment_1_1_in_rule__Sort__Alternatives_121802);\n rule__Sort__CriteriaAssignment_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSortAccess().getCriteriaAssignment_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bbedb25b3a574b7d248b8af32c96d2a0", "score": "0.42367178", "text": "public void matchSeekBarToColor()\n\t{\n\t\tSeekBar sb;\n\t\tColorHistory ch = GameActivity.pr.getColorHistory();\n\t\tint t, r, g, b;\n\n\t\tswitch(elementId)\n\t\t{\n\t\t\tcase GroundView.ELEMENT_FIELD:\t\tt = Color.alpha(ch.field);\tr = Color.red(ch.field);\tg = Color.green(ch.field);\tb = Color.blue(ch.field);\tbreak;\n\t\t\tcase GroundView.ELEMENT_OUTLINE:\tt = Color.alpha(ch.outline);r = Color.red(ch.outline);\tg = Color.green(ch.outline);b = Color.blue(ch.outline);\tbreak;\n\t\t\tcase GroundView.ELEMENT_BLACK_PAWN:\tt = Color.alpha(ch.black);\tr = Color.red(ch.black);\tg = Color.green(ch.black);\tb = Color.blue(ch.black);\tbreak;\n\t\t\tcase GroundView.ELEMENT_WHITE_PAWN:\tt = Color.alpha(ch.white);\tr = Color.red(ch.white);\tg = Color.green(ch.white);\tb = Color.blue(ch.white);\tbreak;\n\t\t\tdefault:\tthrow new RuntimeException(\"Unhandeled elementId\");\n\t\t}\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerTransparency);\n\t\tsb\t.setProgress(t);\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerRed);\n\t\tsb\t.setProgress(r);\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerGreen);\n\t\tsb\t.setProgress(g);\n\n\t\tsb\t= (SeekBar)findViewById(R.id.colorChooserCustomSeekerBlue);\n\t\tsb\t.setProgress(b);\n\t}", "title": "" }, { "docid": "d99b73dd07046ef99a378a66daf48db3", "score": "0.42283422", "text": "public void makeGuessSkinColor(String guess) {\n ArrayList<Person> temp = new ArrayList<>();\r\n switch (guess) {\r\n case \"black\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has black skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have black skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"black\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"brown\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has brown skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have brown skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"brown\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"white\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has white skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"white\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have white skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"white\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n case \"yellow\":\r\n if(guess.equals(game.getChosenPerson().getSkinColor())){\r\n System.out.println(\"The person has yellow skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (p.getSkinColor().equals(\"yellow\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } else{\r\n System.out.println(\"The person does not have yellow skin.\");\r\n for (Person p : game.getGameBoard()) {\r\n if (!p.getSkinColor().equals(\"yellow\")) {\r\n temp.add(p);\r\n }\r\n }\r\n game.setGameBoard(temp);\r\n game.outputBoard();\r\n game.incrementTurn();\r\n } break;\r\n default:\r\n break; \r\n }\r\n }", "title": "" }, { "docid": "515a5a4e3b1c210c5afa38d972d757b9", "score": "0.42239183", "text": "public final void ruleTimeEventType() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1742:1: ( ( ( rule__TimeEventType__Alternatives ) ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1743:1: ( ( rule__TimeEventType__Alternatives ) )\r\n {\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1743:1: ( ( rule__TimeEventType__Alternatives ) )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1744:1: ( rule__TimeEventType__Alternatives )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \r\n }\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1745:1: ( rule__TimeEventType__Alternatives )\r\n // ../org.yakindu.sct.model.stext.ui/src-gen/org/yakindu/sct/model/stext/ui/contentassist/antlr/internal/InternalSText.g:1745:2: rule__TimeEventType__Alternatives\r\n {\r\n pushFollow(FOLLOW_rule__TimeEventType__Alternatives_in_ruleTimeEventType3656);\r\n rule__TimeEventType__Alternatives();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTimeEventTypeAccess().getAlternatives()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2d2ed890157ed52f8322863b5ef79ce9", "score": "0.0", "text": "public void mouseExited(MouseEvent event) {\n\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "title": "" }, { "docid": "63918b2e510c9040bbddcac00095b41a", "score": "0.6605982", "text": "private void recuperation() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "6a98c5d2724fce37914819c5694da3c3", "score": "0.6509783", "text": "@Override\r\n\tpublic void anular() {\n\r\n\t}", "title": "" }, { "docid": "dae8b602ea36995333bfb23acf8fc88d", "score": "0.6496443", "text": "@Override\n\tpublic void respire() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "f099266a753a2faacd6b8dfa57904378", "score": "0.64321727", "text": "@Override\r\n\tpublic void courrir() {\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.6386121", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "6141981a3ecff744fc5ac85a76ccce98", "score": "0.63590497", "text": "@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.6327681", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "0792d032a803e20f3b87637fd91001d5", "score": "0.62811846", "text": "@Override\n\tpublic void getSugary() {\n\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8ee8a5581ce765ec4ab398c0459e014", "score": "0.61750215", "text": "@Override\r\n\tpublic void koklama() {\n\r\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.6149904", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bae22ac805011d799a49bd7b5316540", "score": "0.612467", "text": "@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "8c5b7f2508d01c106c784ecca7153f46", "score": "0.6119395", "text": "@Override\n\tvoid comer() {\n\t\t\n\t}", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.610188", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.60646844", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.6055265", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.6021345", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "2762ca3c2d0df2e43c2974f74b6f5794", "score": "0.6013198", "text": "public void mo23507LF() {\n }", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "119b459aa82980ed18ed9f73e4c0c1f6", "score": "0.5970375", "text": "public void mo8248e() {\n }", "title": "" }, { "docid": "c7fe9cc2a6c42140d48d92c4796a998c", "score": "0.5924626", "text": "@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.58991617", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "4790ff4cb67532ccdfaae8968e73fbc3", "score": "0.58832747", "text": "@Override\n protected void initData() {\n\n\n }", "title": "" }, { "docid": "023182f0f855d46c66b41a6d83583efa", "score": "0.5871911", "text": "@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d96d27dfdf5b1a8cc8b8a7627c83bc1", "score": "0.5869012", "text": "@Override\n public void afficher() {\n\n }", "title": "" }, { "docid": "298aa14afe5846b172f76bcf90564013", "score": "0.58663046", "text": "@Override\n\tprotected void initAfterData() {\n\t\t\n\t}", "title": "" }, { "docid": "e065a728f99482f0172c0250b07109a9", "score": "0.58587575", "text": "public void MIENTRAS() {\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "6c15d2233a095a738527f0099df0e328", "score": "0.58534765", "text": "@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7da3b15ef60da758589933b21890a100", "score": "0.5835782", "text": "@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810359", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "ac3fa8f374744c1d8419fb42b093eb87", "score": "0.58098364", "text": "@Override\n public void ATOM() {\n\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "17bf5dfb3822657f7beb964bbcaf351d", "score": "0.58010787", "text": "private void getdata() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1cba83b623b4186565c3383ace251b9", "score": "0.5798524", "text": "@Override\n public void RES() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "04320a5131c4ec5a83b61f5170f3303b", "score": "0.578828", "text": "private void refreash() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96aa62cb7c02dc761fce03adeea3bae6", "score": "0.5768868", "text": "public void consumidor() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.5732497", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "0da844a8d21284fc890b9866b17625b3", "score": "0.5729389", "text": "public void auton() {\r\n\r\n\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "e0989255fd1af22841693489e1afa33b", "score": "0.57214063", "text": "public void mo24349a() {\n }", "title": "" }, { "docid": "b860b78be8e10589ee5bd58e2ab7be8e", "score": "0.57196456", "text": "@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.5708199", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "24b649f4fd4e2e8f4e195b19c09f4c8b", "score": "0.56936413", "text": "@Override\n public void FUNMAYORQ() {\n\n }", "title": "" }, { "docid": "b3c7aad07c4af0cfec14c4b0f0f289ef", "score": "0.5692504", "text": "@Override\n\tpublic void arb() {\n\n\t}", "title": "" }, { "docid": "8657ef720f12b2480d4363be4e46781e", "score": "0.5691313", "text": "protected boolean method_4310() {\r\n return true;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" } ]
c07f4b0a2ea09576de2985837d5d111e
Generated method Getter of the AbstractAsConfigurableSearchConfiguration.excludedFacets attribute defined at extension adaptivesearch. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
[ { "docid": "e2aa5f135eb2e222aa9f5d1059f09e00", "score": "0.6802305", "text": "@Accessor(qualifier = \"excludedFacets\", type = Accessor.Type.GETTER)\n\tpublic List<AsExcludedFacetModel> getExcludedFacets()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(EXCLUDEDFACETS);\n\t}", "title": "" } ]
[ { "docid": "bbf21ff3d9662f6416591c80adff9cfc", "score": "0.5418006", "text": "@Override\r\n\t@Transient\r\n\tpublic List<String> getExcludePropertiesWhenSearch() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "f38c01f90fda5b67d70aa12a29356147", "score": "0.5236197", "text": "@Accessor(qualifier = \"excludedFacets\", type = Accessor.Type.SETTER)\n\tpublic void setExcludedFacets(final List<AsExcludedFacetModel> value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(EXCLUDEDFACETS, value);\n\t}", "title": "" }, { "docid": "8fcb905ff5f0ef9d027614c0ad29c03a", "score": "0.52116644", "text": "ExcludesType getExcludes();", "title": "" }, { "docid": "8148fd363bf6d8dd392910471728a124", "score": "0.51142377", "text": "@Accessor(qualifier = \"excludedItems\", type = Accessor.Type.GETTER)\n\tpublic List<AsExcludedItemModel> getExcludedItems()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(EXCLUDEDITEMS);\n\t}", "title": "" }, { "docid": "d154ddf0f9915892115059f284208259", "score": "0.51114464", "text": "@Override\r\n\tList<String> getExcludeList() {\n\t\tfinal List<String> existingList = super.getExcludeList();\r\n\t\tfinal List<String> additionalList = asList(\"components\", \"versions\");\r\n\t\treturn Stream.of(existingList, additionalList).flatMap(Collection::stream).collect(toList());\r\n\t}", "title": "" }, { "docid": "c3d06a4af09f534c6f1d91f815738321", "score": "0.49954313", "text": "public String getExcludes() {\n return excludes;\n }", "title": "" }, { "docid": "29dd61398d60715b4900b61b1c8e28f2", "score": "0.49184066", "text": "public Collection<String> getExcludes() {\n return excludes;\n }", "title": "" }, { "docid": "a3285e1a5ba0c46287ca41ee93ba03bc", "score": "0.4916117", "text": "public AnalyzedSummaryBeanBuilder setBa_excluded(boolean ba_excluded) {\n\t\t\tthis.ba_excluded = ba_excluded;\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "2388bfe99f1c6f3744e94b3796e5f4f0", "score": "0.48522216", "text": "@Accessor(qualifier = \"excludedSorts\", type = Accessor.Type.GETTER)\n\tpublic List<AsExcludedSortModel> getExcludedSorts()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(EXCLUDEDSORTS);\n\t}", "title": "" }, { "docid": "ce485ec9738dd8ef3bde12b220564ddb", "score": "0.4845013", "text": "void setExcluded(boolean excluded);", "title": "" }, { "docid": "0f4b54ece1b72e0a3d89ad8f662eaf28", "score": "0.47616214", "text": "public String[] getExcludedDirectories() {\n slowScan();\n String[] directories = new String[dirsExcluded.size()];\n dirsExcluded.copyInto(directories);\n return directories;\n }", "title": "" }, { "docid": "d4609d677df4857edefbc42d886ee8b5", "score": "0.4752751", "text": "default Set<String> getExcludedServices() {\n return null;\n }", "title": "" }, { "docid": "7062ec60d22bbb0b00b0f966be09085c", "score": "0.46950632", "text": "public int getExcludeFlags() {\n return RecastJNI.dtQueryFilter_getExcludeFlags(swigCPtr, this);\n }", "title": "" }, { "docid": "cfca28843995b924d82b5f30e8cb3ed0", "score": "0.4662109", "text": "public List<String> getFilterExcludeProperties() {\n\n return filterExcludeProperties;\n }", "title": "" }, { "docid": "9d9036c8f1d8f9543af473e978da3c57", "score": "0.46596047", "text": "public AnalyzedSummaryBeanBuilder setQa_excluded(boolean qa_excluded) {\n\t\t\tthis.qa_excluded = qa_excluded;\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "77f1a8f12bde015af4abcc90f17af5de", "score": "0.45151684", "text": "public boolean isSearchNoConditional() {\n\t\treturn conditional.equals(\"searchNOconditional\");\n\t}", "title": "" }, { "docid": "3c76751ea9aaf9d0da303fc485bc54db", "score": "0.44741333", "text": "@Override\n\tpublic String[] OnExclusions() {\n\t\treturn new String[] {\"deal\", \"item\"};\n\t}", "title": "" }, { "docid": "98972f22b39cb14b15873d583f59e170", "score": "0.44672862", "text": "public void setExclude(List<String> exclude) {\n\t\tthis.exclude = exclude;\n\t}", "title": "" }, { "docid": "35bead05ddc976637093f91385aa2b1b", "score": "0.44664437", "text": "public static ExclusionStrategy getExclusionStrategy() {\n return new ExclusionStrategy() {\n @Override\n public boolean shouldSkipField(FieldAttributes f) {\n return f.getName().equals(\"parent\") || f.getName().equals(\"children\");\n }\n\n @Override\n public boolean shouldSkipClass(Class<?> clazz) {\n return false;\n }\n };\n }", "title": "" }, { "docid": "e9802cd05f221718bf9aa182fa385682", "score": "0.44629475", "text": "String getPollFromGroupExcludeIdsQuery();", "title": "" }, { "docid": "bd76c8e57c4327ebe26c65d8cba01b48", "score": "0.44348767", "text": "@Override\n\tpublic JsonSerializer<ReqQueryBindedResult> getExcludeJsonSerializer() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f16651a087f3469434d7f31d6c98d55a", "score": "0.44089335", "text": "@ZapApiIgnore\n public List<DomainMatcher> getProxyExcludedDomainsEnabled() {\n return proxyExcludedDomainsEnabled;\n }", "title": "" }, { "docid": "31c38256b88eae74d787a8210efabb17", "score": "0.44046378", "text": "public List getNotIncluded() {\n return notIncluded;\n }", "title": "" }, { "docid": "50ef74bc4b29c31b5e403e0ebaaa3229", "score": "0.44030446", "text": "protected String[] getExcludes() {\n List<String> excludeList = new ArrayList<>();\n if (StringUtils.isNotEmpty(warSourceExcludes)) {\n excludeList.addAll(List.of(StringUtils.split(warSourceExcludes, \",\")));\n }\n\n // if contextXML is specified, omit the one in the source directory\n if (containerConfigXML != null && StringUtils.isNotEmpty(containerConfigXML.getName())) {\n excludeList.add(\"**/\" + META_INF + \"/\" + containerConfigXML.getName());\n }\n\n return excludeList.toArray(EMPTY_STRING_ARRAY);\n }", "title": "" }, { "docid": "1f8ceb19cb3618cb73ae198d07d7bd4f", "score": "0.43843105", "text": "public NavigatableEspFastCommandConfig getSearchConfiguration() {\n return (NavigatableEspFastCommandConfig) super.getSearchConfiguration();\n }", "title": "" }, { "docid": "3ca0b708a81a993f264ff55ab93b88bb", "score": "0.43402556", "text": "@Nullable\n public com.commercetools.api.models.product_selection.ProductVariantExclusion getVariantExclusion() {\n return this.variantExclusion;\n }", "title": "" }, { "docid": "3c63273de26b476e2c1ec4ddfdca4776", "score": "0.43319145", "text": "public String[] getExcludedFiles() {\n slowScan();\n String[] files = new String[filesExcluded.size()];\n filesExcluded.copyInto(files);\n return files;\n }", "title": "" }, { "docid": "1716670462c73da90bb60ebb60894709", "score": "0.4324862", "text": "public boolean disableIndexes();", "title": "" }, { "docid": "757c2b4751a1d9b7b11fb9417e4785ed", "score": "0.4312506", "text": "ExcludeFilter createExcludeFilter();", "title": "" }, { "docid": "632a7b2471b2e09bda2369b11041868a", "score": "0.43043232", "text": "@ZapApiIgnore\n public List<DomainMatcher> getProxyExcludedDomains() {\n return proxyExcludedDomains;\n }", "title": "" }, { "docid": "90264e9e3983f1887e53653ee12f2d84", "score": "0.43015394", "text": "@Override\n\tprotected Set<String> getExcludeFields(int index) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e321ce02a85ff9ec9ca06dc5bf952fd7", "score": "0.429704", "text": "@Override\n public List<Advertisement> searchAdvertisements(AdSearchCriteria criteria) {\n AdSpecification spec = new AdSpecification();\n if (criteria.getAdId() > 0) {\n spec.add(new SearchCriteria(\"adId\", criteria.getAdId(), SearchOperation.EQUAL));\n }\n if (criteria.getId() != null && !criteria.getId().isEmpty()) {\n spec.add(new SearchCriteria(\"id\", criteria.getId(), SearchOperation.EQUAL));\n }\n if (criteria.getAdCode() != null && !criteria.getAdCode().isEmpty()) {\n spec.add(new SearchCriteria(\"adCode\", criteria.getAdCode(), SearchOperation.EQUAL));\n }\n if (criteria.getAdType() > 0) {\n spec.add(new SearchCriteria(\"advertisementType~id\", criteria.getAdType(), SearchOperation.EQUAL));\n }\n if (criteria.getUserId() != null && !criteria.getUserId().isEmpty()) {\n spec.add(new SearchCriteria(\"userAdvertisement~id\", criteria.getUserId(), SearchOperation.MATCH));\n }\n if (criteria.getTeamId() != null && !criteria.getTeamId().isEmpty()) {\n spec.add(new SearchCriteria(\"userAdvertisement:userTeam:id\", criteria.getTeamId(), SearchOperation.MATCH));\n }\n if (criteria.getOrgId() > 0) {\n spec.add(new SearchCriteria(\"orgId\", criteria.getOrgId(), SearchOperation.EQUAL));\n }\n if (criteria.getCompanyName() != null && !criteria.getCompanyName().isEmpty()) {\n spec.add(new SearchCriteria(\"orgName\", criteria.getCompanyName(), SearchOperation.EQUAL));\n }\n if (criteria.getStatus() > 0) {\n spec.add(new SearchCriteria(\"status\", criteria.getStatus(), SearchOperation.EQUAL));\n }\n\n\n List<Advertisement> result = advertisementRepository.findAll(spec);\n return result;\n }", "title": "" }, { "docid": "ac0878199847e9a4e06b83dc34b4f3fa", "score": "0.42889175", "text": "public Collection<Belief> getExcludesBelief(){\n\t\tIterator<GenericClass> genCollIt = GenericProvider.getIndividualColl(indi, GenericProvider.excludesBelProp, onto, factory,manager).iterator(); \n\t\tCollection<Belief> coll = new LinkedList<Belief>();\n\t\twhile(genCollIt.hasNext()){\n\t\t\tcoll.add(genCollIt.next().asBelief());\n\t\t}\n\t\treturn coll;\n\t}", "title": "" }, { "docid": "a39e78259279b44b1a025bd69725ed04", "score": "0.42809448", "text": "public AnalyzedSummaryBeanBuilder setDev_excluded(boolean dev_excluded) {\n\t\t\tthis.dev_excluded = dev_excluded;\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "15923eef2fba32182cba600cfee4e707", "score": "0.42718515", "text": "default Set<String> getExcludedAttributes() {\n return new LinkedHashSet<>(0);\n }", "title": "" }, { "docid": "d77908c46eca1d86545f81f5042ac66e", "score": "0.42597863", "text": "protected String[] getDependentWarExcludes() {\n String[] excludes;\n if (StringUtils.isNotEmpty(dependentWarExcludes)) {\n excludes = StringUtils.split(dependentWarExcludes, \",\");\n } else {\n excludes = EMPTY_STRING_ARRAY;\n }\n return excludes;\n }", "title": "" }, { "docid": "ac2d97d019663d2c3391968080dbe38a", "score": "0.42520896", "text": "protected int suggestConstraintToExclude() {\n\n int retVal = -1;\n\n int[] included = this.getIncluded();\n int lastIncluded = this.getLastIncluded();\n int indexOfLastIncluded = -1;\n\n double tmpMin = ZERO;\n double tmpVal;\n\n int nbEqus = this.countEqualityConstraints();\n Primitive64Store soluL = this.getSolutionL();\n\n if (this.isLogDebug() && included.length > 0) {\n double[] multipliers = soluL.offsets(nbEqus, 0).rows(included).toRawCopy1D();\n this.log(\"Looking for the largest negative lagrange multiplier among these: {}.\", multipliers);\n }\n\n for (int i = 0, limit = included.length; i < limit; i++) {\n\n if (included[i] != lastIncluded) {\n\n tmpVal = soluL.doubleValue(nbEqus + included[i], 0);\n\n if (tmpVal < tmpMin && !LAGRANGE.isZero(tmpVal)) {\n tmpMin = tmpVal;\n retVal = i;\n if (this.isLogDebug()) {\n this.log(1, \"Best so far: {} @ {} ({}).\", tmpMin, retVal, included[retVal]);\n }\n }\n\n } else {\n\n indexOfLastIncluded = i;\n }\n }\n\n if (retVal < 0 && indexOfLastIncluded >= 0) {\n\n tmpVal = soluL.doubleValue(nbEqus + included[indexOfLastIncluded], 0);\n\n if (tmpVal < tmpMin && !LAGRANGE.isZero(tmpVal)) {\n tmpMin = tmpVal;\n retVal = indexOfLastIncluded;\n if (this.isLogProgress()) {\n this.log(\"Only the last included needs to be excluded: {} @ {} ({}).\", tmpMin, retVal, included[retVal]);\n }\n }\n }\n\n if (this.isLogProgress()) {\n if (retVal < 0) {\n this.log(\"Nothing to exclude\");\n } else {\n this.log(\"Suggest to exclude: {} @ {} ({}).\", tmpMin, retVal, included[retVal]);\n }\n }\n\n return retVal >= 0 ? included[retVal] : retVal;\n }", "title": "" }, { "docid": "37674bd973dad9bf275ec62cfb6d9a6e", "score": "0.42512828", "text": "public ConvertConfig getSearchConfig() {\n final ConvertConfig searchConfig = this.copy();\n searchConfig.setBooleanAttribute(ConvertConfig.SYNONYMS, false);\n searchConfig.query = true;\n return searchConfig;\n }", "title": "" }, { "docid": "1aedf5d72a484950ee88fd3ecadf51cd", "score": "0.4243662", "text": "protected String[] getExcludes()\n {\n List excludeList = new ArrayList();\n if ( StringUtils.isNotEmpty( warSourceExcludes ) )\n {\n excludeList.addAll( Arrays.asList( StringUtils.split( warSourceExcludes, \",\" ) ) );\n }\n\n // if webXML is specified, omit the one in the source directory\n if ( webXml != null && StringUtils.isNotEmpty( webXml.getName() ) )\n {\n excludeList.add( \"**/\" + WEB_INF + \"/web.xml\" );\n }\n\n // if contextXML is specified, omit the one in the source directory\n if ( containerConfigXML != null && StringUtils.isNotEmpty( containerConfigXML.getName() ) )\n {\n excludeList.add( \"**/\" + META_INF + \"/\" + containerConfigXML.getName() );\n }\n\n return (String[]) excludeList.toArray( EMPTY_STRING_ARRAY );\n }", "title": "" }, { "docid": "5458223e254c9416f7d4d8d2a0b9e291", "score": "0.42400885", "text": "B excludedClassificationIdIn(List<String> excludedClassificationIds);", "title": "" }, { "docid": "da49db1b33947ee7c9fe895394e506e4", "score": "0.42326", "text": "@Override\n\tpublic String[] OnExclusions() {\n\t\treturn new String[] {\"item\"};\n\t}", "title": "" }, { "docid": "cca8e57dd0f360e82f909d93a7d7211e", "score": "0.42273483", "text": "public List<Long> getExcludedAlerts() {\n return excludedAlerts;\n }", "title": "" }, { "docid": "a2a7f80b265060491ce003db39334021", "score": "0.421521", "text": "public ExcludeBean(String excludes)\r\n {\r\n this();\r\n setExcludes(excludes);\r\n }", "title": "" }, { "docid": "d5d867fa0d1e7c94f8a3247aecdb30fe", "score": "0.4211532", "text": "protected String[] getDependentWarExcludes()\n {\n String[] excludes;\n if ( StringUtils.isNotEmpty( dependentWarExcludes ) )\n {\n excludes = StringUtils.split( dependentWarExcludes, \",\" );\n }\n else\n {\n excludes = EMPTY_STRING_ARRAY;\n }\n return excludes;\n }", "title": "" }, { "docid": "a53cb673713be9f457235fc203bfbf71", "score": "0.42055675", "text": "public void setExcludes(String excludes) {\n this.excludes = excludes;\n }", "title": "" }, { "docid": "d0d486fb47b5246a48ed602c33de82b3", "score": "0.41558677", "text": "public String[] getNotIncludedDirectories() {\n slowScan();\n String[] directories = new String[dirsNotIncluded.size()];\n dirsNotIncluded.copyInto(directories);\n return directories;\n }", "title": "" }, { "docid": "50533a63ed2db551e929bb28c5ef2c26", "score": "0.41492105", "text": "boolean getHasNonFKFactFilters();", "title": "" }, { "docid": "c057cd7e8ea4f36b645ed332af48a53f", "score": "0.41217244", "text": "public Boolean getAdditionalFeesExcludedIndicator() {\n return additionalFeesExcludedIndicator;\n }", "title": "" }, { "docid": "bf150433b85bf76a787cd234d54b8dd4", "score": "0.41194034", "text": "public static String[] getDefaultExcludes() {\n return (String[]) defaultExcludes.toArray(new String[defaultExcludes\n .size()]);\n }", "title": "" }, { "docid": "9c3778382b0b89f0d02460c1d5514f28", "score": "0.41071728", "text": "String getPriorityPollFromGroupExcludeIdsQuery();", "title": "" }, { "docid": "ddf2b61e6a994225592392c45dea1326", "score": "0.40950355", "text": "@NonNull\r\n public abstract Set<Class<?>> getExcludedModuleClasses();", "title": "" }, { "docid": "248767bbbc1178eedc8aedb27487d279", "score": "0.4092864", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getExcludeReason();", "title": "" }, { "docid": "3e3dcf7ecbdef4dac0a7b7ef7012e049", "score": "0.40855008", "text": "SearchCondition getSearchCondition();", "title": "" }, { "docid": "6d1264cd17edeffedf0cfd7e71858639", "score": "0.40663987", "text": "public void setExclude(String excludes)\n {\n if (inclusions != null)\n {\n throw new IllegalArgumentException(Messages.getString(\"BeanConverter.OnlyIncludeOrExclude\"));\n }\n\n exclusions = new ArrayList();\n\n String toSplit = LocalUtil.replace(excludes, \",\", \" \");\n StringTokenizer st = new StringTokenizer(toSplit);\n while (st.hasMoreTokens())\n {\n String rule = st.nextToken();\n if (rule.startsWith(\"get\"))\n {\n log.warn(\"Exclusions are based on property names and not method names. '\" + rule + \"' starts with 'get' so it looks like a method name and not a property name.\");\n }\n\n exclusions.add(rule);\n }\n }", "title": "" }, { "docid": "43ca35377d71bbebc4b7feb83cc2a81e", "score": "0.40631458", "text": "protected EnumSet<DialogOption> getDisabledDialogOptions() {\n if (!mCanDeleteBrowsingHistory) {\n return EnumSet.of(DialogOption.CLEAR_HISTORY);\n }\n return EnumSet.noneOf(DialogOption.class);\n }", "title": "" }, { "docid": "e76cbe092e9bf52f63da4ceef30158d2", "score": "0.40619963", "text": "public boolean isExcludeUnapprovedProducts() {\n return excludeUnapprovedProducts;\n }", "title": "" }, { "docid": "203df6325bbe976182aa06b323cd7cab", "score": "0.40526113", "text": "private List<Criteria> getOppositeDirectionContainmentCriteria() {\n List<Criteria> crits = new ArrayList<>();\n\n crits.add(where(EdgeField.CONTAINS.toString()).is(DirectionNotation.OPPOSITE.toString()));\n\n crits.add(where(EdgeField.DIRECTION.toString()).is(Direction.OUT.toString()).and(EdgeField.CONTAINS.toString())\n .is(Direction.IN.toString()));\n\n crits.add(where(EdgeField.DIRECTION.toString()).is(Direction.IN.toString()).and(EdgeField.CONTAINS.toString())\n .is(Direction.OUT.toString()));\n\n return crits;\n }", "title": "" }, { "docid": "97809213fe28c830a584d55e7531e7ff", "score": "0.40110195", "text": "SearchSpec getSearch();", "title": "" }, { "docid": "f92915a5637151ad3228136f6bdb66da", "score": "0.40020382", "text": "Requirement<T> excludingPassingTermsFor(T givens);", "title": "" }, { "docid": "0d59c1ba456e6f8a5efb7ca1699f7099", "score": "0.40017414", "text": "public void disallowQuerying(final String name) {\n disallowQuerying(name, disallowQueryingSearchIndexOptions());\n }", "title": "" }, { "docid": "bba3873cd43ed3764070952526b29751", "score": "0.40000728", "text": "boolean getHasNonFKDimFilters();", "title": "" }, { "docid": "9bd8974e305287280d14fcd8922e14f6", "score": "0.40000203", "text": "public RobotsExclusionPolicy getRobots() {\n return robots;\n }", "title": "" }, { "docid": "25779c05f0f597c0c2ec377e9b246b40", "score": "0.39958465", "text": "public boolean isDisabledIncluded() {\n\t\treturn includeDisabled;\n\t}", "title": "" }, { "docid": "31403dca4b65d310bf6c12e587a0bbed", "score": "0.39929116", "text": "public List<String> excludedRPList() {\n return this.excludedRPList;\n }", "title": "" }, { "docid": "52fdc3d143e6f898a024fc07e816ad68", "score": "0.39914492", "text": "private boolean excludeField(FieldDoc field, String translatedName) {\n\t\tif (field.isStatic() || field.isTransient() || field.name().charAt(0) == '_') {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore fields that have no name which will be the case for fields annotated with one of the\n\t\t// ignore annotations like JsonIgnore or XmlTransient\n\t\tif (translatedName == null) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore deprecated fields\n\t\tif (this.options.isExcludeDeprecatedFields() && ParserHelper.isDeprecated(field, this.options)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore fields we are to explicitly exclude\n\t\tif (ParserHelper.hasTag(field, this.options.getExcludeFieldTags())) {\n\t\t\treturn true;\n\t\t}\n\t\tif (ParserHelper.hasAnnotation(field, this.options.getExcludeFieldAnnotations(), this.options)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// ignore fields that are for a different json view\n\t\tClassDoc[] jsonViews = ParserHelper.getJsonViews(field, this.options);\n\t\tif (!ParserHelper.isItemPartOfView(this.viewClasses, jsonViews)) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c76403581b1499a66b8600b5b8200393", "score": "0.39693618", "text": "public void removeExcludesBelief(Belief oldExcludesBelief){\n\t\tGenericProvider.removeIndividual(indi, oldExcludesBelief.indi, GenericProvider.excludesBelProp, onto, factory, manager);\n\t}", "title": "" }, { "docid": "cf9034fe5d6e5d691f5b2d1bea6f595c", "score": "0.39690083", "text": "protected boolean excluded(PyObject key) {\n\n\t\tPyObject lowered = Py.newString(((PyString)key).lower());\n\n\t\treturn this.exclude.contains(lowered);\n\t}", "title": "" }, { "docid": "94e52c6a6c19388867f5bc0e2059dcdf", "score": "0.39637718", "text": "public java.lang.String get__exclude_columns(){\n return local__exclude_columns;\n }", "title": "" }, { "docid": "8ca23ff0759155ac2598bc7b581fc6b7", "score": "0.3959821", "text": "@ApiModelProperty(value = \"If true, then vouchers won't be applied for this item\")\n public Boolean isDisableVouchers() {\n return disableVouchers;\n }", "title": "" }, { "docid": "b7f1e1f5955593765571c92625ef6513", "score": "0.3951624", "text": "ICPT eliminateExcept(List<String> queryVars);", "title": "" }, { "docid": "97af32cc7f33e27172b23cd73cf05376", "score": "0.3950335", "text": "public ExcludeBean()\r\n {\r\n super();\r\n }", "title": "" }, { "docid": "daeb27df719d59add2bb23f44e28ef62", "score": "0.39460713", "text": "public void setFilterExcludeProperties(List<String> filterExcludeProperties) {\n\n this.filterExcludeProperties = filterExcludeProperties;\n }", "title": "" }, { "docid": "4e9f479cb6837385964286ddc1cb265a", "score": "0.39356267", "text": "public Boolean isExcludesOperation() {\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "75fd5b4f340c4c5016768a9cb19abfbb", "score": "0.39345694", "text": "protected Set<N> getExcludedNativeElements(@NonNull ElementQuery.Result<?> result) {\n return Collections.emptySet();\n }", "title": "" }, { "docid": "855f1b02a93bf2753715bc9e97ca3877", "score": "0.3917004", "text": "public static boolean isExclusion(final G_PropertyMatchDescriptor descriptor) {\n\t\treturn G_Constraint.NOT.equals(descriptor.getConstraint()) || !descriptor.getInclude();\n\t}", "title": "" }, { "docid": "6cb549fcc063ebd7931c3d5635b0b0d4", "score": "0.39164758", "text": "public int getBadgeTypesToExcludeCount() {\n return badgeTypesToExclude_.size();\n }", "title": "" }, { "docid": "66d2c06e610545254b38a5e960d7611f", "score": "0.39083162", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isExcludedFromArchive() {\n return (java.lang.Boolean)__getInternalInterface().getFieldValue(EXCLUDEDFROMARCHIVE_PROP.get());\n }", "title": "" }, { "docid": "3e9e41287982ee71694d14bf24af72af", "score": "0.3905532", "text": "protected LuceneQueryAdapter getQueryAdapter() {\n return this.queryAdapter;\n }", "title": "" }, { "docid": "aacd6f40483033766ec72a142ddf9041", "score": "0.39018765", "text": "@Override\n\tpublic String[] getDefaultSearchFields() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e51da9f06b8db48924b9e9c4de094c87", "score": "0.38978955", "text": "void getAllPrisonersExcept(long excludedPrisoner);", "title": "" }, { "docid": "b9e344ee3cdc6c11c45d003c62a4e7ab", "score": "0.38828304", "text": "protected Collection<String> getExcludeItemDescriptions(final JSONObject advancedConfig, final String formName,\n final String itemName) {\n final Collection<String> descriptions = new HashSet<String>();\n\n final JSONArray excludes = JSONArray.fromObject(advancedConfig.get(formName));\n\n for (int i = 0; i < excludes.size(); i++) {\n final JSONObject param = excludes.getJSONObject(i);\n\n if (!param.isNullObject()) {\n final String exclude = param.getString(itemName);\n\n if (exclude.length() > 0) {\n descriptions.add(exclude);\n }\n }\n }\n\n return descriptions;\n\n }", "title": "" }, { "docid": "f0a7de3e9bbda1514f4bb2348bb4bade", "score": "0.3877979", "text": "public void disallowQuerying(final String name, final DisallowQueryingSearchIndexOptions options) {\n block(asyncIndexManager.disallowQuerying(name, options));\n }", "title": "" }, { "docid": "dac6f471ac8ff5babaa2f79e784ddbfa", "score": "0.38732502", "text": "public static void resetDefaultExcludes() {\n defaultExcludes = new Vector();\n \n for (int i = 0; i < DEFAULTEXCLUDES.length; i++) {\n defaultExcludes.add(DEFAULTEXCLUDES[i]);\n }\n }", "title": "" }, { "docid": "acc79ac59f683421d077a014f8d3c6d5", "score": "0.38664588", "text": "private void relayoutAllViewsExcept(View excluded) {\n final int count = mVisibleTailSuggestions.size();\n for (int index = 0; index < count; ++index) {\n final View view = mVisibleTailSuggestions.valueAt(index);\n if (view == excluded) continue;\n ViewUtils.requestLayout(view, \"AlignmentManger.relayoutAllViewsExcept\");\n }\n }", "title": "" }, { "docid": "9cb1dbcf5def2362c35ddeb26ed9e89a", "score": "0.3860085", "text": "List<SearchableField> getSearchableFields();", "title": "" }, { "docid": "1cf73028b92d8a8a154b9ae6003aaa53", "score": "0.3858965", "text": "com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder();", "title": "" }, { "docid": "1cf73028b92d8a8a154b9ae6003aaa53", "score": "0.3858965", "text": "com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder();", "title": "" }, { "docid": "6fb06fd639e6a61cbedb25f33b77d733", "score": "0.38511413", "text": "public com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder() {\n return doNotDisturb_;\n }", "title": "" }, { "docid": "6fb06fd639e6a61cbedb25f33b77d733", "score": "0.38511413", "text": "public com.weizhu.proto.SettingsProtos.Settings.DoNotDisturbOrBuilder getDoNotDisturbOrBuilder() {\n return doNotDisturb_;\n }", "title": "" }, { "docid": "f7c38637aa7c8b9523cbc55b9640b634", "score": "0.38500732", "text": "@Accessor(qualifier = \"facets\", type = Accessor.Type.GETTER)\n\tpublic List<AsFacetModel> getFacets()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(FACETS);\n\t}", "title": "" }, { "docid": "155d5802aa9e0066917cd2ff7724f02a", "score": "0.3840236", "text": "public void addExcludesBelief(Belief newExcludesBelief){\n\t\tGenericProvider.addIndividual(indi, newExcludesBelief.indi, GenericProvider.excludesBelProp, onto, factory, manager);\n\t}", "title": "" }, { "docid": "2ab118bfe85d3a9f86e1ffcd1466313b", "score": "0.38378048", "text": "@Accessor(qualifier = \"excludedItems\", type = Accessor.Type.SETTER)\n\tpublic void setExcludedItems(final List<AsExcludedItemModel> value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(EXCLUDEDITEMS, value);\n\t}", "title": "" }, { "docid": "04a81bbf38539b535918dd31bc6d8cce", "score": "0.38376376", "text": "public void setExcludeUnapprovedProducts(boolean excludeUnapprovedProducts) {\n this.excludeUnapprovedProducts = excludeUnapprovedProducts;\n }", "title": "" }, { "docid": "c472fba104c563de5e3d4332368f6423", "score": "0.3837395", "text": "public void setExcludeArchived(boolean excludeArchived){\n put(SlackParamsConstants.EXCLUDE_ARCHIVED, excludeArchived);\n }", "title": "" }, { "docid": "b09c34e913000ad103cb620cb2ed4524", "score": "0.3834303", "text": "public void setExcludeParameterPatterns(String[] excludeParameterPatterns) {\n this.excludeParameterPatterns = excludeParameterPatterns;\n }", "title": "" }, { "docid": "f84a1ba5f02d0c6258d1917c4763b3df", "score": "0.38291916", "text": "public Boolean getDisabled() {\n return disabled;\n }", "title": "" }, { "docid": "12d14cf0790ea3a08f899a80a1b677e7", "score": "0.38281485", "text": "public boolean isScopeProvidedExcluded() throws CoreException\r\n {\r\n return getAttribute(false, ATTR_EXCLUDE_SCOPE_PROVIDED, true);\r\n }", "title": "" }, { "docid": "cfa535a9ac99524a61120bfdda9aa5f6", "score": "0.38238963", "text": "@SuppressWarnings(\"rawtypes\")\n\t@Override\n\tprotected ArrayList<Enum> getFieldsToIgnoreInEqualsMethod() {\n\t\treturn new ArrayList<Enum>(Arrays.asList(new Enum[] { Fields.EMAIL, Fields.REMINDER_ID }));\n\t}", "title": "" }, { "docid": "1da17755e6e4f2fd9e319063313f85c2", "score": "0.38198596", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isExcludedFromArchive();", "title": "" }, { "docid": "f4157fafbdb3cb866c897bab610fbd67", "score": "0.38177362", "text": "public SearchAditionalPropertiesPanel getAditionalSearchPanel() {\n\t\treturn driver.getAditionalSearchPanel();\n\t}", "title": "" } ]
c40b4362a073c80dd06f42be4009ad0a
/ Este enpoint asocia un registro de Reina con un registro de Reuna
[ { "docid": "981360e791295b4422837319d7f3aa10", "score": "0.0", "text": "@CrossOrigin\n\t@RequestMapping(value = \"/expediente/{idJoven}\", method = RequestMethod.PUT, consumes = {MediaType.APPLICATION_JSON_UTF8_VALUE}, produces = {MediaType.APPLICATION_JSON_UTF8_VALUE})\n\tpublic @ResponseBody ResponseEntity<String> actualizarJoven(@PathVariable Integer idJoven, @RequestBody AsociadorDTO asociador, HttpServletRequest request) throws ReinaException {\n\t\tExpediente exp = expedienteServicioImpl.traerExpediente(idJoven);\n\t\t\n\t\tif( exp.getLegajo() == null ) {\n\t\t\tif(idJoven != null && asociador.getIdCaratulador() != null && asociador.getLegajo() != null) {\n\t\t\t\texpedienteServicioImpl.agergarExpedienteExterno(idJoven, asociador.getIdCaratulador(), asociador.getLegajo());\n\t\t\t\treturn new ResponseEntity(\"El objeto fue modificado correctamente\", HttpStatus.CREATED);\n\t\t\t}else {\n\t\t\t\treturn new ResponseEntity(\"Revise los parámetros que está enviando al servidor.\", HttpStatus.BAD_REQUEST);\n\t\t\t}\n\t\t}else {\n\t\t\treturn new ResponseEntity(\"El joven ya tiene asignado otro legajo.\", HttpStatus.BAD_REQUEST);\n\t\t}\n\t\t\n\t}", "title": "" } ]
[ { "docid": "be6f9359960ab9f4e45ac6e84bc107bd", "score": "0.63655543", "text": "public void registroEmpresa(Empresa miempresa);", "title": "" }, { "docid": "075599073a37a5bf2c047dfc76aa63d2", "score": "0.6121079", "text": "public void ingresar(Object dato){\n raiz = agregarRecursivo(raiz, dato);\n }", "title": "" }, { "docid": "293b86752f3e1421fff34fbca4d41555", "score": "0.60954314", "text": "@Override\r\n\tpublic Resultado grabarOrden(TransactionRequest<List<OrdenDto>> request) throws Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tList<OrdenDto> ordenes = request.getEntityTransaction();\r\n\t\tOrdenDto ordenDto = null;\r\n\t\tInteger idOrden;\r\n\t\tInteger idgrupodocumento;\r\n\t\tfor (int i = 0; i < ordenes.size(); i++) {\r\n\t\t\tordenDto = ordenes.get(i);\r\n\t\t\tif (ordenDto.getIdOrden() != null) {\r\n\t\t\t\t// Update\r\n\t\t\t\tOrden ordenEdit = ordenMapper.selectByPrimaryKeyBasic(ordenDto.getIdOrden());\r\n\t\t\t\tidgrupodocumento = ordenEdit.getIdgrupodocumento();\r\n\t\t\t\tordenEdit.setFechainicioprestacion(ordenDto.getFechaInicioPrestacion());\r\n\t\t\t\tordenEdit.setFechafinprestacion(ordenDto.getFechaFinPrestacion());\r\n\t\t\t\tordenEdit.setAnio(ordenDto.getAnio());\r\n\t\t\t\tordenEdit.setEstadoexpedientesiaf(ordenDto.getNroExpedienteSiaf());\r\n\t\t\t\tordenEdit.setEstadoorden(ordenDto.getEstadoOrden());\r\n\t\t\t\tordenEdit.setMoneda(ordenDto.getMoneda());\r\n\t\t\t\tordenEdit.setPlazoejecucion(ordenDto.getPlazo());\r\n\t\t\t\t// ordenEdit.setEstadoorden(estadoorden); TODO: CHECK\r\n\r\n\t\t\t\t// Audit\r\n\t\t\t\tordenEdit.setFechamodificacionauditoria(new Date());\r\n\t\t\t\tordenEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tordenEdit.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\tordenEdit.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tordenMapper.updateByPrimaryKey(ordenEdit);\r\n\t\t\t\tidOrden = ordenEdit.getIdorden();\r\n\t\t\t} else {\r\n\t\t\t\t// Insert grupo\r\n\t\t\t\t// Inserta grupo documento\r\n\t\t\t\tGrupodocumento grupodocumento = new Grupodocumento();\r\n\t\t\t\tidgrupodocumento = (int) utilsBusiness.getNextSeq(Sequence.SEQ_GRUPODOCUMENTO).longValue();\r\n\t\t\t\tgrupodocumento.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\t\tgrupodocumento.setAnio(ordenDto.getAnio());\r\n\t\t\t\tgrupodocumento.setCodigocentrocosto(ordenDto.getCodigoCentroCosto());\r\n\t\t\t\tgrupodocumento.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tgrupodocumento.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\tgrupodocumento.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tgrupodocumento.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\tgrupodocumentoMapper.insert(grupodocumento);\r\n\r\n\t\t\t\t// Insert\r\n\t\t\t\tOrden ordenNew = new Orden();\r\n\t\t\t\tordenNew.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\t\tordenNew.setFechainicioprestacion(ordenDto.getFechaFinPrestacion());\r\n\t\t\t\tordenNew.setFechafinprestacion(ordenDto.getFechaFinPrestacion());\r\n\t\t\t\tordenNew.setAnio(ordenDto.getAnio());\r\n\t\t\t\tordenNew.setEstadoexpedientesiaf(ordenDto.getNroExpedienteSiaf());\r\n\t\t\t\tordenNew.setEstadoorden(ordenDto.getEstadoOrden());\r\n\t\t\t\tordenNew.setMoneda(ordenDto.getMoneda());\r\n\t\t\t\tordenNew.setPlazoejecucion(ordenDto.getPlazo());\r\n\t\t\t\tordenNew.setIdpacconsolidado(ordenDto.getIdPacConsolidado());\r\n\r\n\t\t\t\t// Orden data\r\n\t\t\t\tordenNew.setNroorden(ordenDto.getNroOrden().toString()); // verificar\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// nro\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// type\r\n\t\t\t\tordenNew.setFechaorden(ordenDto.getFechaOrden());\r\n\t\t\t\tordenNew.setAnio(ordenDto.getAnio());\r\n\t\t\t\tordenNew.setAnioorden(ordenDto.getAnio());\r\n\t\t\t\tordenNew.setNroexpedientesiaf(ordenDto.getNroExpedienteSiaf().toString());\r\n\t\t\t\tordenNew.setMoneda(ordenDto.getMoneda());\r\n\t\t\t\t\r\n\t\t\t\tdouble monto = ordenDto.getTotalFactSoles();\r\n\t\t\t\tBigDecimal bigmontonew = new BigDecimal(monto);\r\n\t\t\t\tordenNew.setMontoorden(Utils.round(bigmontonew));\r\n\t\t\t\t\r\n\t\t\t\tordenNew.setEstadoexpedientesiaf(ordenDto.getEstadoOrden());\r\n\t\t\t\tordenNew.setIdcatalogotipobien(ordenDto.getIdTipoBien());\r\n\t\t\t\tordenNew.setIdunidadejecutora(ordenDto.getIdUnidadEjecutora());\r\n\r\n\t\t\t\t// Audit\r\n\t\t\t\tordenNew.setFechacreacionauditoria(new Date());\r\n\t\t\t\tordenNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tordenNew.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\tordenNew.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tordenNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\tidOrden = (int) utilsBusiness.getNextSeq(pe.com.sisabas.resources.Sequence.SEQ_CUADROCOMPARATIVOVR)\r\n\t\t\t\t\t\t.longValue();\r\n\t\t\t\tordenNew.setIdorden(idOrden);\r\n\t\t\t\tordenMapper.insert(ordenNew);\r\n\t\t\t}\r\n\r\n\t\t\t// delete details\r\n\t\t\tList<Entregable> entregablesDelete = entregableMapper.getEntegablesByOrden(ordenDto.getIdOrden());\r\n\t\t\tfor (Entregable item : ordenDto.getEntegables()) {\r\n\t\t\t\tfor (Entregable delete : entregablesDelete) {\r\n\t\t\t\t\tif (item.getIdentregable() == delete.getIdentregable()) {\r\n\t\t\t\t\t\tdelete.setEstadoauditoria(\"Keep\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// Elimino aquelos no estas\r\n\t\t\tfor (Entregable entregable : entregablesDelete) {\r\n\t\t\t\tif (!entregable.getEstadoauditoria().equals(\"Keep\")) {\r\n\t\t\t\t\tentregableMapper.deleteByPrimaryKey(entregable.getIdentregable());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// save details\r\n\t\t\tfor (int j = 0; j < ordenDto.getEntegables().size(); j++) {\r\n\t\t\t\tEntregable entregable = ordenDto.getEntegables().get(j);\r\n\t\t\t\tif (entregable.getIdentregable() != null) {\r\n\t\t\t\t\t// Update\r\n\t\t\t\t\tEntregable entregableEdit = entregableMapper.selectByPrimaryKeyBasic(entregable.getIdentregable());\r\n\t\t\t\t\tif (entregableEdit != null) {\r\n\t\t\t\t\t\tentregableEdit.setNroentregable(entregable.getNroentregable());\r\n\t\t\t\t\t\tentregableEdit.setPlazoentregable(entregable.getPlazoentregable());\r\n\t\t\t\t\t\tentregableEdit.setMontoentregable(entregable.getMontoentregable());\r\n\t\t\t\t\t\tentregableEdit.setMontopenalidadentregable(entregable.getMontopenalidadentregable());\r\n\t\t\t\t\t\tentregableEdit.setFechapresentacionentregable(entregable.getFechapresentacionentregable());\r\n\t\t\t\t\t\tentregableEdit.setObservacionesentregable(entregable.getObservacionesentregable());\r\n\t\t\t\t\t\tentregableEdit.setIdcatalogoestadoentregable(entregable.getIdcatalogoestadoentregable());\r\n\r\n\t\t\t\t\t\t// Audit\r\n\t\t\t\t\t\tentregableEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\t\tentregableEdit.setFechamodificacionauditoria(new Date());\r\n\t\t\t\t\t\tentregableMapper.updateByPrimaryKey(entregableEdit);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Insert\r\n\t\t\t\t\tentregable.setIdorden(idOrden);\r\n\t\t\t\t\tentregable.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\t\t\tentregable.setAnio(ordenDto.getAnio());\r\n\r\n\t\t\t\t\t// Audit\r\n\t\t\t\t\tentregable.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\tentregable.setFechacreacionauditoria(new Date());\r\n\t\t\t\t\tentregable.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\t\tentregable.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t\tentregable.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\t\tentregable.setIdentregable((int) utilsBusiness\r\n\t\t\t\t\t\t\t.getNextSeq(pe.com.sisabas.resources.Sequence.SEQ_ENTREGABLE).longValue());\r\n\t\t\t\t\tentregableMapper.insert(entregable);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "45e161b3eca8647c735570f33288132c", "score": "0.60393643", "text": "private static void registrarAuditoriaDetallesRetencionVenta(Connexion connexion,RetencionVenta retencionventa)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getid_empresa().equals(retencionventa.getRetencionVentaOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getid_periodo_declara().equals(retencionventa.getRetencionVentaOriginal().getid_periodo_declara()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getid_periodo_declara()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_periodo_declara().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getid_periodo_declara()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getid_periodo_declara().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDPERIODODECLARA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getid_tipo_retencion().equals(retencionventa.getRetencionVentaOriginal().getid_tipo_retencion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getid_tipo_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getid_tipo_retencion().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getid_tipo_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getid_tipo_retencion().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.IDTIPORETENCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getruc().equals(retencionventa.getRetencionVentaOriginal().getruc()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getruc()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getruc();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getruc()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getruc() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.RUC,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getnumero_retencion().equals(retencionventa.getRetencionVentaOriginal().getnumero_retencion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getnumero_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getnumero_retencion();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getnumero_retencion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getnumero_retencion() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.NUMERORETENCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getbase_imponible().equals(retencionventa.getRetencionVentaOriginal().getbase_imponible()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getbase_imponible()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getbase_imponible().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getbase_imponible()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getbase_imponible().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.BASEIMPONIBLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getporcentaje().equals(retencionventa.getRetencionVentaOriginal().getporcentaje()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getporcentaje()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getporcentaje().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getporcentaje()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getporcentaje().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.PORCENTAJE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getvalor().equals(retencionventa.getRetencionVentaOriginal().getvalor()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getvalor()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getvalor().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getvalor()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getvalor().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.VALOR,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(retencionventa.getIsNew()||!retencionventa.getes_debito().equals(retencionventa.getRetencionVentaOriginal().getes_debito()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(retencionventa.getRetencionVentaOriginal().getes_debito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=retencionventa.getRetencionVentaOriginal().getes_debito().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(retencionventa.getes_debito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=retencionventa.getes_debito().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),RetencionVentaConstantesFunciones.ESDEBITO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}", "title": "" }, { "docid": "f07791c373cd5d23b0e29f4b1da40134", "score": "0.60030895", "text": "public DTOReemplazoArticuloLote verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso) throws MareException {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Entrada\"); \n UtilidadesLog.debug(\"articuloLote: \" + articuloLote);\n \n RecordSet rs = new RecordSet();\n StringBuffer query = new StringBuffer();\n BelcorpService bs;\n DTOReemplazoArticuloLote dtoReemplazoArticuloLote = null;\n\n try {\n bs = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n query.append(\" (SELECT reemL.OID_REEM_ARTI_LOTE, reemL.CTRE_OID_CRIT_REEM, reemL.VAL_CRIT_REEM, \"); \n query.append(\" reemL.PROD_OID_PROD, reemL.COD_VENT_FICT, reemL.NUM_UNID, reemL.IMP_PREC_PUBL, reemL.IND_COMU, \"); \n query.append(\" prod.COD_SAP COD_SAP_REEM, i18n.VAL_I18N DESC_PROD_REEM, prod2.COD_SAP COD_SAP_ORIG, \"); \n query.append(\" con.NUM_CONC, desp.MENS_OID_MENS_AUTO, reeml.num_orde \"); \n query.append(\" ,nvl(reemL.COD_TIPO_AGRU,'I') COD_TIPO_AGRU \"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" FROM INC_REEMP_ARTIC_LOTE reemL, INC_REEMP_REGIO_ZONA reemRZ, \"); \n query.append(\" MAE_PRODU prod, v_gen_i18n_sicc i18n, MAE_PRODU prod2, INC_ARTIC_LOTE artLote, \"); \n query.append(\" INC_CONCU_PARAM_GENER con, INC_DESPA_PREMI desp \"); \n query.append(\" WHERE reemL.ARLO_OID_ARTI_LOTE = \" + articuloLote.getOidArticuloLote()); \n query.append(\" AND reemL.IND_ACTI = 1 \"); \n query.append(\" AND reemL.OID_REEM_ARTI_LOTE = reemRZ.RARL_OID_REEM_ARTI_LOTE \");\n query.append(\" AND (SELECT COUNT(1) \"); \n query.append(\" FROM MAE_CLIEN_UNIDA_ADMIN unidAdm, ZON_TERRI_ADMIN terrAdm, ZON_SECCI secc, \"); \n query.append(\" ZON_ZONA zon, ZON_REGIO reg \"); \n query.append(\" WHERE unidAdm.CLIE_OID_CLIE= \" + clientePremiacion.getOidCliente()); \n query.append(\" AND unidAdm.IND_ACTI = 1 \"); \n query.append(\" AND unidAdm.ZTAD_OID_TERR_ADMI = terrAdm.OID_TERR_ADMI \"); \n query.append(\" AND terrAdm.ZSCC_OID_SECC = secc.OID_SECC \"); \n query.append(\" AND secc.ZZON_OID_ZONA = zon.OID_ZONA \"); \n query.append(\" AND zon.ZORG_OID_REGI = reg.OID_REGI \"); \n query.append(\" AND zon.zorg_oid_regi = NVL (reemrz.zorg_oid_regi, zon.zorg_oid_regi) \"); \n query.append(\" AND zon.oid_zona = NVL (reemrz.zzon_oid_zona, zon.oid_zona)) >= 1 \"); \n query.append(\" AND reemL.PROD_OID_PROD = prod.OID_PROD \"); \n query.append(\" AND i18n.ATTR_ENTI = 'MAE_PRODU' \"); \n query.append(\" AND i18n.ATTR_NUM_ATRI = 1 \"); \n query.append(\" AND i18n.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query.append(\" AND i18n.VAL_OID = prod.OID_PROD \"); \n query.append(\" AND reemL.ARLO_OID_ARTI_LOTE = artLote.OID_ARTI_LOTE \"); \n query.append(\" AND artLote.PROD_OID_PROD = prod2.OID_PROD \"); \n query.append(\" AND con.OID_PARA_GRAL = \" + clienteConcurso.getOidConcurso()); \n query.append(\" AND desp.COPA_OID_PARA_GRAL = con.OID_PARA_GRAL \"); \n query.append(\" AND reemL.COMP_OID_REEM_ARTI_LOTE IS NULL \"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" UNION \"); \n \n query.append(\" SELECT reemL.OID_REEM_ARTI_LOTE, reemL.CTRE_OID_CRIT_REEM, reemL.VAL_CRIT_REEM, \"); \n query.append(\" reemL.PROD_OID_PROD, reemL.COD_VENT_FICT, reemL.NUM_UNID, reemL.IMP_PREC_PUBL, reemL.IND_COMU, \"); \n query.append(\" prod.COD_SAP COD_SAP_REEM, i18n.VAL_I18N DESC_PROD_REEM, prod2.COD_SAP COD_SAP_ORIG, \"); \n query.append(\" con.NUM_CONC, desp.MENS_OID_MENS_AUTO, reeml.num_orde \"); \n query.append(\" ,nvl(reemL.COD_TIPO_AGRU,'I') COD_TIPO_AGRU \"); // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" FROM INC_REEMP_ARTIC_LOTE reemL, \"); \n query.append(\" MAE_PRODU prod, v_gen_i18n_sicc i18n, MAE_PRODU prod2, INC_ARTIC_LOTE artLote, \"); \n query.append(\" INC_CONCU_PARAM_GENER con, INC_DESPA_PREMI desp \"); \n query.append(\" WHERE reemL.ARLO_OID_ARTI_LOTE = \" + articuloLote.getOidArticuloLote()); \n query.append(\" AND reemL.IND_ACTI = 1 \"); \n query.append(\" AND NOT EXISTS (SELECT 1 \"); \n query.append(\" FROM inc_reemp_regio_zona reemrz \"); \n query.append(\" where reemrz.RARL_OID_REEM_ARTI_LOTE = reeml.OID_REEM_ARTI_LOTE) \"); \n query.append(\" AND reemL.PROD_OID_PROD = prod.OID_PROD \"); \n query.append(\" AND i18n.ATTR_ENTI = 'MAE_PRODU' \"); \n query.append(\" AND i18n.ATTR_NUM_ATRI = 1 \"); \n query.append(\" AND i18n.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query.append(\" AND i18n.VAL_OID = prod.OID_PROD \"); \n query.append(\" AND reemL.ARLO_OID_ARTI_LOTE = artLote.OID_ARTI_LOTE \"); \n query.append(\" AND artLote.PROD_OID_PROD = prod2.OID_PROD \"); \n query.append(\" AND con.OID_PARA_GRAL = \" + clienteConcurso.getOidConcurso()); \n \n // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n query.append(\" AND reemL.COMP_OID_REEM_ARTI_LOTE IS NULL \"); \n \n query.append(\" AND desp.COPA_OID_PARA_GRAL = con.OID_PARA_GRAL) \"); \n query.append(\" ORDER BY NUM_ORDE \"); \n \n try {\n rs = bs.dbService.executeStaticQuery(query.toString());\n } catch (Exception ex) {\n UtilidadesLog.error(\"ERROR \", ex);\n throw new MareException(ex, UtilidadesError.armarCodigoError(CodigosError.ERROR_DE_ACCESO_A_BASE_DE_DATOS));\n }\n \n UtilidadesLog.debug(\"rs: \" + rs);\n \n if(rs.esVacio()){\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\"); \n return dtoReemplazoArticuloLote;\n \n } else {\n \n int cant = rs.getRowCount();\n Boolean reemplazoValido = Boolean.FALSE;\n \n for(int i=0; i< cant; i++){\n \n \n reemplazoValido = this.reemplazoValido(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"CTRE_OID_CRIT_REEM\")).toString()),\n articuloLote.getOidCodigoProducto(),\n Long.valueOf(((BigDecimal)rs.getValueAt(i, \"PROD_OID_PROD\")).toString()),\n ((rs.getValueAt(i, \"VAL_CRIT_REEM\")!=null)?(Integer.valueOf(((BigDecimal)rs.getValueAt(i, \"VAL_CRIT_REEM\")).toString())):null),\n clientePremiacion.getOidPais());\n \n \n if(reemplazoValido.booleanValue()){ \n \n if(((BigDecimal)rs.getValueAt(i, \"IND_COMU\")).intValue()== 1 && ((BigDecimal)rs.getValueAt(i, \"MENS_OID_MENS_AUTO\")!= null)){\n this.actualizarBuzonMensajeDespacho(clientePremiacion.getOidCliente(),\n Long.valueOf(((BigDecimal)rs.getValueAt(i, \"MENS_OID_MENS_AUTO\")).toString()),\n (String)rs.getValueAt(i, \"NUM_CONC\"),\n (String)rs.getValueAt(i, \"COD_SAP_ORIG\"),\n (String)rs.getValueAt(i, \"COD_SAP_REEM\"),\n (String)rs.getValueAt(i, \"DESC_PROD_REEM\"),\n (String)rs.getValueAt(i, \"COD_VENT_FICT\"));\n }\n \n dtoReemplazoArticuloLote = new DTOReemplazoArticuloLote();\n dtoReemplazoArticuloLote.setProdOidProd(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"PROD_OID_PROD\")).toString()));\n dtoReemplazoArticuloLote.setCodVentFict((String)rs.getValueAt(i, \"COD_VENT_FICT\"));\n dtoReemplazoArticuloLote.setNumUnid(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"NUM_UNID\")).toString()));\n dtoReemplazoArticuloLote.setImpPrecPubi((BigDecimal)rs.getValueAt(i, \"IMP_PREC_PUBL\"));\n \n // sapaza -- COL-SiCC-2014-0174 -- 20/06/2014\n dtoReemplazoArticuloLote.setOidReemArtiLote(Long.valueOf(((BigDecimal)rs.getValueAt(i, \"OID_REEM_ARTI_LOTE\")).toString()));\n dtoReemplazoArticuloLote.setTipoAgrupacion((String)rs.getValueAt(i, \"COD_TIPO_AGRU\"));\n \n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\"); \n return dtoReemplazoArticuloLote;\n \n }\n } \n }\n \n UtilidadesLog.info(\"DAOClientePremiacionConcurso.verificarArticuloReemplazo(ArticuloLote articuloLote, ClientePremiacion clientePremiacion, ClientePremiacionConcurso clienteConcurso): Salida\"); \n return null;\n \n }", "title": "" }, { "docid": "bf7d283643841b82942ff1275a4f4c57", "score": "0.6002746", "text": "public void gravarRemocaoCliente(String registro){\n\t}", "title": "" }, { "docid": "ae6a0c9a095723964c70e1b44a2998fc", "score": "0.60013294", "text": "@Override\n @Transactional\n public Reservation getResaById(Integer resaId) throws FunctionalException, NotFoundException{\n if (resaId<=0) throw new FunctionalException(\"les données sont incorrectes\");\n else{\n resaReturn = resaDao.findById(resaId);\n if (resaReturn==null) throw new NotFoundException(\"réservation non trouvée\");\n else{\n return resaReturn;\n }\n }\n }", "title": "" }, { "docid": "d303be5e5544b45417dce06869cdd480", "score": "0.5989093", "text": "private void proceseazaRezultate() {\n }", "title": "" }, { "docid": "8541900e415ff6137d9ef72e69d157b8", "score": "0.5969671", "text": "public default Ropa create(Ropa ropa) throws Exception{\n\t\t\n\t\tif( ropa.getId()<0){\n\t\t\t\n\t\t\tSystem.out.println(\"falta id\");\n\t\t\treturn ropa;\n\t\t}\n\t\telse{\n\t\t\tlistados.add(ropa);\n\t\t\treturn ropa;\n}\n}", "title": "" }, { "docid": "e1b13e118b3265abfae570d703b5f328", "score": "0.5964795", "text": "private void registrarVenta(Usuario usuario, ArrayList<Mueble> inventario) {\n Mueble mueble;\n for (int i = 0; i < inventario.size(); i++)\n {\n mueble = inventario.get(i);\n Mueble editar=(Mueble) persistencia.findById(Mueble.class, mueble.getReferencia());\n editar.setCantidad(editar.getCantidad() - mueble.getCantidad());\n RegistroVenta compra = new RegistroVenta(new Date(System.currentTimeMillis()), \n mueble, mueble.getCantidad(), null, usuario);\n usuario.agregarRegistro(compra);\n\n persistencia.update(usuario);\n persistencia.update(editar);\n }\n }", "title": "" }, { "docid": "5c5fdee118bb7eb77443ba0a4c9f4580", "score": "0.5862272", "text": "public RestauranteEntity addRestaurante (String nombre, String nit) {\n LOGGER.log(Level.INFO, \"Inicia proceso de asociar un autor al evento con nombre = {0}\", nombre);\n EventoEntity eventoEntity = getEvento(nombre);\n RestauranteEntity restauranteEntity = new RestauranteEntity();\n restauranteEntity.setNit(nit);\n eventoEntity.getRestaurantes().add(restauranteEntity);\n return getRestaurante(nombre, nit);\n }", "title": "" }, { "docid": "d8fee32c78fca07838b2602a3ce6d8f1", "score": "0.58505505", "text": "private void insertarRerAdjunto(Long idDocumento){\r\n\t\t\tReferenciaAdjuntos referenciaAdjuntos= new ReferenciaAdjuntos();\r\n\t\t\treferenciaAdjuntos.setPersona(persona);\r\n\t\t\treferenciaAdjuntos.setDocumentos(em.find(Documentos.class, idDocumento));\r\n\t\t\t//referenciaAdjuntos.setIdRegistroTabla(empleadoPuesto.getIdEmpleadoPuesto());\r\n\t\t\treferenciaAdjuntos.setIdRegistroTabla(solicitudTrasladoCab.getIdSolicitudTrasladoCab());\r\n\t\t\treferenciaAdjuntos.setUsuAlta(usuarioLogueado.getCodigoUsuario());\r\n\t\t\treferenciaAdjuntos.setFechaAlta(new Date());\r\n\t\t\tif(actividadProcesoRespuesta() != null){\r\n\t\t\t\treferenciaAdjuntos.setActividadProceso(actividadProcesoRespuesta());\r\n\t\t\t}\r\n\t\t\tem.persist(referenciaAdjuntos);\r\n\t\t}", "title": "" }, { "docid": "c4932b8b470bd3b5a0c18bc7709145ec", "score": "0.5842644", "text": "public void registroCentro(Centro micentro, Empresa miempresa);", "title": "" }, { "docid": "a72e2c1e01285bcac6c9dab5a8bcf093", "score": "0.57924086", "text": "public Cliente RellenarAnamnesis (Cliente cli)\n\t\t{\n\t\t\tCliente auxcli=new Cliente();\n\t\t\tc=new Conexion();\n\t\t\tString query=\"select * from tcliente where oid_cliente = '\"+cli.getOid()+\"'\";\n\t\t\t\t\t\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\tResultSet rs=c.getstm().executeQuery(query);\n\t\t\t\twhile (rs.next())\n\t\t\t\t{\n\t\t\t\t\tauxcli.setOid(rs.getInt(1));\n\t\t\t\t\tauxcli.setNombre(rs.getString(2));\n\t\t\t\t\tauxcli.setApellido1(rs.getString(3));\n\t\t\t\t\tauxcli.setApellido2(rs.getString(4));\n\t\t\t\t\tauxcli.setEdad(rs.getString(5));\n\t\t\t\t\tauxcli.setTelefono(rs.getString(6));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\t\n\t\t\t\tSystem.err.println(\"error en buscar Consultadal.RellenarConsulta \"+ e.getLocalizedMessage() );\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tc.cerrarConexion();\n\t\t\t}\n\t\t\t\n\t\t\treturn auxcli;\n\t\t}", "title": "" }, { "docid": "bf347b52cc58ccc1ace866d88011c604", "score": "0.5785463", "text": "public RegistroCliente(){\n setSubOrden(\"Cliente (nombre_cliente, nit, telefono_cliente, credito)\");\n }", "title": "" }, { "docid": "27116730c8eb07b9c181128cfbf4637c", "score": "0.57753515", "text": "@Override\n\tpublic int Registrar_Detalle_Venta(Detalle_VentaDTO obj) {\n\t\tint rs=-1;\n\t\tConnection con=null;\n\t\tPreparedStatement pst=null;\n\t\ttry {\n\t\t\tcon=new MySqlDbConexion().getConexion();\n\t\t\tString sql=\"insert into DETALLE_VENTA values (null,?,?,?,?,?)\";\n\t\t\tpst=con.prepareStatement(sql);\n\t\t\t\n\t\t\tpst.setInt(1,obj.getCodigo_venta());\n\t\t\tpst.setInt(2,obj.getCodigo_producto());\n\t\t\tpst.setDouble(3,obj.getPrecio_venta());\n\t\t\tpst.setInt(4,obj.getCantidad());\n\t\t\tpst.setInt(5,obj.getDescuento());\n\t\t\t\n\t\t\t\n\t\t \n\t\t rs=pst.executeUpdate();\n\t\t \t\t\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tSystem.out.println(\"Error en la Sentencia\"+e.getMessage());\n\t\t\t\n\t\t}\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif(pst!=null) pst.close();\n\t\t\t\tif(con!=null) con.close();\n\t\t\t}\n\t\t\tcatch (SQLException e) {\n\t\t\t\tSystem.out.println(\"Error al cerrar\");\n\t\t\t}\n\t\t}\n\t\treturn rs;\n\t}", "title": "" }, { "docid": "a94b5d220523b7fe6e60af1d25e7e6e9", "score": "0.5738567", "text": "public void associarArbitro(int idEncontro, int numFederativo) throws ApplicationException {\n\t\tEntityManager em = emf.createEntityManager();\n\t\tCatalogoArbitros catalogoArbitros = new CatalogoArbitros(em);\n\t\tCatalogoEncontros catalogoEncontros = new CatalogoEncontros(em);\n\t\tboolean check = true;\n\t\ttry {\n\t\t\tem.getTransaction().begin();\n\t\t\tEncontro e = catalogoEncontros.getEncontro(idEncontro); //Encontro com o id\n\t\t\tArbitro a = catalogoArbitros.getArbitro(numFederativo); //Arbitro com o numFederativo\n\t\t\tDate dataEncontro = e.getData();\n\t\t\tList<Encontro> listaEncontrosArbitro = a.getCalendarioEncontros(); //Encontros do arbitro\n\t\t\tString tipo = e.getTipo(); //Tipo da prova\n\t\t\twhile (check == true) {\n\t\t\t\tfor (Encontro encontro : listaEncontrosArbitro) {\n\t\t\t\t\t//Se a prova for do tipo campeonato\n\t\t\t\t\tif (tipo.equals(\"campeonato\")) {\n\t\t\t\t\t\tList<Participante> listaParticipantes = e.getParticipantes();\n\t\t\t\t\t\tParticipante p1 = listaParticipantes.get(0);\n\t\t\t\t\t\tParticipante p2 = listaParticipantes.get(listaParticipantes.size() - 1);\n\t\t\t\t\t\tList<Participante> listaAux = encontro.getParticipantes();\n\t\t\t\t\t\t//Se o arbitro ja arbitrar outro jogo com os mesmos participantes\n\t\t\t\t\t\tif (listaAux.contains(p1) && listaAux.contains(p2)) {\n\t\t\t\t\t\t\tcheck = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//Se o arbitro ja tiver outro encontro na mesma data ou arbitrar outro jogo na mesma fase\n\t\t\t\t\tif (encontro.getData().equals(dataEncontro) || encontro.getFase().equals(e.getFase())) {\n\t\t\t\t\t\tcheck = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcheck = false;\n\t\t\t}\n\t\t\tif (!check) {\n\t\t\t\tthrow new Exception(\" \");\n\t\t\t}\n\t\t\te.addArbitro(a);\n\t\t\ta.addEncontro(e);\n\t\t\tem.getTransaction().commit();\n\t\t} catch (Exception e) {\n\t\t\tif (em.getTransaction().isActive())\n\t\t\t\tem.getTransaction().rollback();\n\t\t\tthrow new ApplicationException(\"Erro a associar o arbitro\", e);\n\t\t} finally {\n\t\t\tem.close();\n\t\t}\n\t}", "title": "" }, { "docid": "48b4fe516a2e03cee4e6c904e3e3bc2a", "score": "0.57249063", "text": "@Override\r\n\tpublic Resultado observarDocumentoTecnico(TransactionRequest<EvaluacionDocumentoResponse> request)\r\n\t\t\tthrows Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tDate dateUpdate = new Date();\r\n\t\tEvaluacionDocumentoResponse item = request.getEntityTransaction();\r\n\r\n\t\t// PAO - PROGRAMADO\r\n\t\t/*\r\n\t\t * if (item.getIdpedido() == null && item.getIdPacProgramado() != null)\r\n\t\t * { Pacprogramado programado =\r\n\t\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.\r\n\t\t * getIddocumentotecnico()); // programado.setGentablaIdcatalogoestado(\r\n\t\t * OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\t * programado.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * programado.setUsuariomodificacionauditoria(request.\r\n\t\t * getUsuarioAuditoria());\r\n\t\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * \r\n\t\t * pacprogramadoMapper.updateByPrimaryKey(programado);\r\n\t\t * \r\n\t\t * } else if (item.getIdpedido() != null && item.getIdPacProgramado() ==\r\n\t\t * null) { // PEDIDO - NO PROGRAMADO Pedido pedido =\r\n\t\t * pedidoMapper.selectByPrimaryKeyBasic(item.getIddocumentotecnico());\r\n\t\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\r\n\t\t * OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\t * pedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\r\n\t\t * ; pedidoMapper.updateByPrimaryKey(pedido); }\r\n\t\t */\r\n\t\t// SE UTILIZA LA MISMA TABLA PARA PROGRAMADOS Y NO PROGRAMDOS, tabla de\r\n\t\t// pedido\r\n\t\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\tpedido.setEstadopedido(Constantes.estadosPorEtapa.OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\tpedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\tpedidoMapper.updateByPrimaryKey(pedido);\r\n\r\n\t\t// Insertamos históricos de estados\r\n\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.OBSERVADO_POR_DOCUMENTO_TECNICO);\r\n\t\t// Estadosportipodocumento estados =\r\n\t\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\tif (estado != null) {\r\n\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\trecord.setNrodocumento(item.getIdpedido());\r\n\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\t\trecord.setFechaingreso(date);\r\n\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\r\n\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t}\r\n\r\n\t\tfor (ObservacionDocumentoTecnicoDto obs : item.getObservaciones()) {\r\n\t\t\tObservacionesdocumentotecnico obsNew = new Observacionesdocumentotecnico();\r\n\t\t\tobsNew.setIdobservacionesdocumentotecnico(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_OBSERVACIONESDOCUMENTOTECNICO).longValue());\r\n\t\t\tobsNew.setIddocumentotecnico(item.getIddocumentotecnico());\r\n\t\t\tobsNew.setIdseccionesdocumentotecnico(obs.getIdseccionesdocumentotecnico());\r\n\t\t\tobsNew.setObservacion(obs.getObservacion());\r\n\t\t\t\r\n\t\t\t//AUDIT\r\n\t\t\tobsNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\tobsNew.setFechamodificacionauditoria(new Date());\r\n\t\t\tobsNew.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\tobsNew.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\tobsNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\tobservacionesdocumentotecnicoMapper.insert(obsNew);\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "1c818565a9a7a37b78fd6244e9c8f9ed", "score": "0.56989086", "text": "public PoaActividadResponsableDTO leerRegistro() {\n/* */ try {\n/* 79 */ PoaActividadResponsableDTO reg = new PoaActividadResponsableDTO();\n/* */ \n/* 81 */ reg.setIdActividad(this.rs.getInt(\"id_actividad\"));\n/* 82 */ reg.setIdUsuario(this.rs.getInt(\"id_usuario\"));\n/* 83 */ reg.setCodigoPoa(this.rs.getInt(\"codigo_poa\"));\n/* 84 */ reg.setEstado(this.rs.getString(\"estado\"));\n/* 85 */ reg.setFechaInsercion(this.rs.getString(\"fecha_insercion\"));\n/* 86 */ reg.setUsuarioInsercion(this.rs.getString(\"usuario_insercion\"));\n/* 87 */ reg.setFechaModificacion(this.rs.getString(\"fecha_modificacion\"));\n/* 88 */ reg.setUsuarioModificacion(this.rs.getString(\"usuario_modificacion\"));\n/* 89 */ return reg;\n/* */ }\n/* 91 */ catch (Exception e) {\n/* 92 */ e.printStackTrace();\n/* 93 */ Utilidades.writeError(\"PoaActividadResponsableDAO:leerRegistro \", e);\n/* */ \n/* 95 */ return null;\n/* */ } \n/* */ }", "title": "" }, { "docid": "cca8d9285d3d46f0a7d49549b46267d9", "score": "0.5676352", "text": "@Override\n public void run(String... args) throws Exception {\n Noeud noeud = noeudRepository.findByIdNoeud(\"a7d09761-030f-418d-a657-a9af67eecd49\");\n\n arbreService.nextArbre(noeud);\n arbreService.positionInTree(2);\n /*Adherent adherent = new Adherent();\n adherent.setCompte(\"aa3d3ac9-f153-47fb-ade7-34d66ded0058\");\n adherent.setPrenom(\"Sandrine\");\n adherent.setNom(\"HAGBE\");\n\n\n Noeud noeud = new Noeud();\n noeud.setActif(true);\n noeud.setFull(false);\n noeud.setAdherent(adherentRepository.save(adherent));\n noeud.setPere(null);\n noeud.setArbre(arbreRepository.findByNiveau(1));\n noeudRepository.save(noeud);*/\n\n // System.out.println(noeudRepository.findByAdherentAndActifIsTrue(adherentRepository.findByCompte(\"bf6c8b5a-954c-4942-829b-bb830ceeaefa\")));\n\n\n //System.out.println(noeudRepository.findByAdherent_CompteAndActifIsTrue(a.getCompte()));\n\n\n /* Noeud noeud = new Noeud();\n noeud.setPere(null);\n noeud.setAdherent(adherentRepository.findAll().get(0));\n noeud.setArbre(arbreRepository.findByNiveau(1));\n noeudRepository.save(noeud);\n*/\n\n\n\n\n\n\n\n\n\n }", "title": "" }, { "docid": "0b5f480206f6ee63e89aabd024c2f351", "score": "0.5656017", "text": "@Override\r\n\tpublic Resultado recibirDocumentoTecnico(EvaluacionDocumentoResponse item, TransactionRequest request)\r\n\t\t\tthrows Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tDate dateUpdate = new Date();\r\n\r\n\t\tInteger idDocumento;\r\n\t\t/*\r\n\t\t * if\r\n\t\t * (item.getIdcatalogotiponecesidad().equals(Constantes.tipoNecesidad.\r\n\t\t * TIPO_NECESIDAD_PROGRAMADO)) { Pacprogramado programado =\r\n\t\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.getIdPacProgramado()\r\n\t\t * ); programado.setEstado(Constantes.estadosPorEtapa.\r\n\t\t * EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t * programado.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * programado.setUsuariomodificacionauditoria(request.\r\n\t\t * getUsuarioAuditoria());\r\n\t\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * \r\n\t\t * idDocumento = item.getIdPacProgramado();\r\n\t\t * pacprogramadoMapper.updateByPrimaryKey(programado); } else { Pedido\r\n\t\t * pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\r\n\t\t * EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t * pedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\r\n\t\t * ;\r\n\t\t * \r\n\t\t * idDocumento = pedido.getIdpedido();\r\n\t\t * pedidoMapper.updateByPrimaryKey(pedido); }\r\n\t\t */\r\n\r\n\t\t// PARA PROGRAMADOS Y NO PROGRAMADOS, se utiliza la misma tabla de\r\n\t\t// pedidos\r\n\t\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\tpedido.setEstadopedido(Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tpedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\r\n\t\tidDocumento = pedido.getIdpedido();\r\n\t\tpedidoMapper.updateByPrimaryKey(pedido);\r\n\r\n\t\t// Insertamos históricos de estados\r\n\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t// Estadosportipodocumento estados =\r\n\t\t// @.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\tif (estado != null) {\r\n\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\trecord.setNrodocumento(idDocumento); // item.getIdpedido()\r\n\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\t\trecord.setFechaingreso(date);\r\n\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\r\n\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "c810acfc7841c3e872f38313718bd34d", "score": "0.5639594", "text": "@Transactional()\r\n @Override\r\n public void modificarReto(Retos r){\n em.persist(r);\r\n\r\n }", "title": "" }, { "docid": "b6f8af2e955b01c49e69311b53fdbba4", "score": "0.56347466", "text": "public int AltaConsulta()\n\t\t{\n\t\t\t// 1º oid_consulta , 2º oid_cliente , 3º oid_anamnesis , 4º oid_exploracion , 5º oid_tratamiento \n\t\t\t// 6º fecha , 7º motivo\n\t\t\t \n\t\t\tint insercion = 0;\n\t\t\tc=new Conexion();\n\t\t\tString query=\"insert into vipr_tconsulta values (?,?,?,?,?,?,?)\";\n\t\t\tGregorianCalendar g=new GregorianCalendar();\n\t\t\tDate d1=new Date();\n\t\t\tSystem.out.print(\"Alta de consulta : en la fecha \");\n\t\t\tSystem.out.println(d1);\n\t\t\tString newdate=new SimpleDateFormat(\"yyyy-MM-dd\").format(d1);\n\t\t\tSystem.out.println(\"Fecha con formato \"+newdate);\n\t\t\ttry {\n\t\t\t\tPreparedStatement psResulset = c.getConexion().prepareStatement(query);\n\t\t\t\tpsResulset.setInt(1,0); // Este campo es autoincremental en la bd\n\t\t\t\tpsResulset.setInt(2, consul.getOid_cliente());\n\t\t\t\tpsResulset.setInt(3,consul.getOid_anamnesis());\n\t\t\t\tpsResulset.setInt(4,consul.getOid_exploración());\n\t\t\t\tpsResulset.setInt(5,consul.getOid_tratamiento());\t\t\t\t\n\t\t\t\tpsResulset.setString(6,newdate); // fecha\n\t\t\t\tpsResulset.setString(7,consul.getMotivo());\n\t\t\t\tinsercion=psResulset.executeUpdate();\n\t\t\t\t\t\t\t \n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\t\n\t\t\t\tSystem.err.println(\"error en buscar ExploracionDAL.AltaExploracion al realizar el insert\" + e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tc.cerrarConexion();\n\t\t\t}\n\t\t\treturn insercion;\n\t\t}", "title": "" }, { "docid": "82012a16b20bd1be27bb2a71951c2bb2", "score": "0.56147647", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic short registro (String idioma, String idUsuario, String correo, String clave) throws PersistenciaException {\n\t\tUtilValidacionParametros.validarIdIdioma(idioma);\n\t\tUtilValidacionParametros.validarIdUsuario(idUsuario);\n\t\tUtilValidacionParametros.validarCorreo(correo);\n\t\tUtilValidacionParametros.validarClave(clave);\t\t\n\t\tSession session = sessions.openSession();\n\t\tTransaction tx = null;\t\t\n\t\t\n\t\ttry {\n\t\t\tString alias = idUsuario;\n\t\t\tidUsuario = idUsuario.toLowerCase(LOCALE);\n\t\t\tcorreo = correo.toLowerCase(LOCALE);\n\t\t\ttx = session.beginTransaction();\t\t\t\n\t\t\tUsuario u = (Usuario) session.get(Usuario.class, idUsuario);\n\t\t\t\n\t\t\tif (u != null)\n\t\t\t\treturn REGISTRO_USUARIO_EXISTENTE;\n\t\t\telse {\t\t\t\n\t\t\t\tQuery selUsuario = session.createQuery(\"FROM Usuario WHERE correo = :mail\");\n\t\t\t\tselUsuario.setString(\"mail\", correo);\t\t\t\t\n\t\t\t\tList<Usuario> l = selUsuario.list();\n\t\t\t\t\n\t\t\t\tif (!l.isEmpty())\n\t\t\t\t\treturn REGISTRO_CORREO_EXISTENTE;\n\t\t\t\telse {\n\t\t\t\t\t/** Idioma */\n\t\t\t\t\tIdioma lang = (Idioma) session.get(Idioma.class, idioma);\n\t\t\t\t\t\n\t\t\t\t\tif (lang == null) {\n\t\t\t\t\t\tQuery selIdioma = session.createQuery(\"FROM \" + Idioma.class.getName());\n\t\t\t\t\t\tList<Idioma> li = selIdioma.list();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (li.isEmpty())\n\t\t\t\t\t\t\tthrow new PersistenciaException(\"No se han definido idiomas\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tlang = li.get(0);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t/** Primer nivel de la ruta por defecto */\n\t\t\t\t\tQuery selRuta = session.createQuery(\"FROM \" + Ruta.class.getName() + \" WHERE id.id = :idRuta ORDER BY nivel\");\n\t\t\t\t\tselRuta.setShort(\"idRuta\", ConfiguracionLoadHelper.getInstancia().getIdRutaXDefecto());\n\t\t\t\t\tList<Ruta> niveles = selRuta.list();\n\t\t\t\t\tRuta ruta = null;\n\t\t\t\t\t\n\t\t\t\t\tif (niveles.isEmpty()) {\n\t\t\t\t\t\tQuery selRutas = session.createQuery(\"FROM \" + Ruta.class.getName() + \" ORDER BY nivel\");\n\t\t\t\t\t\tniveles = selRutas.list();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (niveles.isEmpty())\n\t\t\t\t\t\t\tthrow new PersistenciaException(\"No se ha definido ni una sola ruta\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\truta = niveles.get(0); \n\t\t\t\t\t} else\n\t\t\t\t\t\truta = niveles.get(0);\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t\tu = new Usuario();\n\t\t\t\t\tu.setAlias(alias);\n\t\t\t\t\tu.setClave(UtilSeguridad.getClaveEncriptada(idUsuario, clave));\n\t\t\t\t\tu.setCorreo(correo);\n\t\t\t\t\tu.setEstado(\"\");\n\t\t\t\t\tu.setId(idUsuario);\t\t\t\t\t\n\t\t\t\t\tu.setIdioma(lang);\n\t\t\t\t\tu.setLogeado(false);\n\t\t\t\t\tu.setRutaNivel(ruta);\n\t\t\t\t\tsession.save(u);\n\t\t\t\t\ttx.commit();\n\t\t\t\t\t\n\t\t\t\t\treturn REGISTRO_OK;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (ConfiguracionException e) {\n\t\t\tUtilHibernate.rollback(tx);\n\t\t\tthrow new PersistenciaException(\"Error en el logout del usuario\", e);\n\t\t} finally {\n\t\t\tUtilHibernate.closeSession(session);\n\t\t}\n\t}", "title": "" }, { "docid": "6dade683e2ea6f5e0475fa1d19489fcd", "score": "0.56146723", "text": "private void addRechnung(Auftrag au)\r\n {\r\n Rechnung re = new Rechnung();\r\n if (au == null)\r\n {\r\n Kunde kd = selectKunde();\r\n if (kd != null)\r\n {\r\n au = selectAuftrag(kd);\r\n }\r\n }\r\n\r\n if (au.getAbgerechnetBis() == au.getEnd())\r\n {\r\n Message(\"Der Auftrag ist bereits vollständig abgerechnet !\");\r\n return;\r\n }\r\n if (au != null)\r\n {\r\n try\r\n {\r\n // set rechnung base data\r\n re.setRechnungNr(rechnungen.getIndex() + 1);\r\n re.setAuftragNr(au.getAuftragNr());\r\n re.setDozentId(dozenten.get(currDozent).getId());\r\n\r\n // set rechnung start date\r\n if (au.getAbgerechnetBis().isEqual(au.getStart()))\r\n {\r\n re.setVon_Datum(Date.valueOf(au.getStart()));\r\n }\r\n else\r\n {\r\n re.setVon_Datum(Date.valueOf(au.getAbgerechnetBis().plusDays(1)));\r\n }\r\n\r\n // set rechnung end date\r\n if (au.getEnd().isAfter(LocalDate.now()))\r\n {\r\n re.setBis_Datum(Date.valueOf(LocalDate.now())); // it is not allowed to create invoice the future\r\n }\r\n else\r\n {\r\n re.setBis_Datum(Date.valueOf(au.getEnd()));\r\n }\r\n\r\n // set teilrechnung flag\r\n if (re.getVon_Datum().isEqual(au.getStart()) || re.getBis_Datum().isEqual(au.getEnd()))\r\n {\r\n re.setTeilRechnung(false);\r\n }\r\n else\r\n {\r\n re.setTeilRechnung(true);\r\n }\r\n\r\n // set einheiten\r\n if (!re.getKorrigiert() || re.getEinheiten() == 0)\r\n {\r\n re.setEinheiten(countWorkDays(re.getVon_Datum(), re.getBis_Datum()) * 9);\r\n }\r\n\r\n // calculate rechnung summe\r\n re.setSumme(String.valueOf(Double.parseDouble(au.getHonorar().replace(\",\", \".\")) * re.getEinheiten()));\r\n\r\n // create dialog\r\n Dialog<ButtonType> dlg = new Dialog<>();\r\n FXMLLoader dlgLoader = new FXMLLoader(DozentenFaktura.class\r\n .getResource(\"gui/DialogRechnung.fxml\"));\r\n DialogPane pane = (DialogPane) dlgLoader.load();\r\n dlg.setDialogPane(pane);\r\n DialogRechnungController dlgHandle = (DialogRechnungController) dlgLoader.getController();\r\n dlgHandle.setData(re);\r\n dlgHandle.setHeaderText(\"Neue Rechnung anlegen\");\r\n dlg.initOwner(DozentenFaktura.getStage());\r\n\r\n Optional<ButtonType> result = dlg.showAndWait();\r\n\r\n if (result.isPresent())\r\n {\r\n if (result.get().getButtonData() == ButtonBar.ButtonData.OK_DONE)\r\n {\r\n re = dlgHandle.getData();\r\n String file = \"Rechnungen/Rechnung_\" + String.format(\"%02d\", re.getDatum().getMonthValue()) + \"-\" + String.valueOf(re.getDatum().getYear()) + \".pdf\";\r\n Invoice document = new Invoice(re);\r\n if (document.createDocument(file))\r\n {\r\n re.setPath(file);\r\n }\r\n if (rechnungen.add(re))\r\n {\r\n // update table view rechnung\r\n tblRechnung.setItems(FXCollections.observableArrayList(rechnungen));\r\n // update auftrag data\r\n au.setAbgerechnetBis(Date.valueOf(re.getBis_Datum()));\r\n auftraege.set(auftraege.indexOf(au), au);\r\n tblAuftrag.setItems(FXCollections.observableArrayList(auftraege));\r\n }\r\n }\r\n }\r\n\r\n } catch (IOException e)\r\n {\r\n e.printStackTrace();\r\n }\r\n }\r\n UpdateUi();\r\n }", "title": "" }, { "docid": "9e67fcc7b95bfc9ce956f07407a3c523", "score": "0.55941665", "text": "@Override\n @Transactional\n public List<Reservation> getResaByUserId(Integer demandeurId) throws FunctionalException {\n if (demandeurId <= 0) throw new FunctionalException(\"Les données sont incorrectes\");\n else {\n\n resaListReturn=resaDao.getResaByUserId(demandeurId);\n return resaListReturn;\n }\n\n }", "title": "" }, { "docid": "e1994a1ace7263be4666a57ec4eec7e9", "score": "0.5560262", "text": "@WebMethod(operationName = \"ingresarIniciativaborrador\")\r\n public void ingresarIniciativaborrador(@WebParam(name = \"nombre\") String nombre, @WebParam(name = \"descripcion\") String descripcion, @WebParam(name = \"tiempo\") String tiempo, @WebParam(name = \"cod_subcategoria\") String cod_subcategoria, @WebParam(name = \"cod_usuario\") String cod_usuario, @WebParam(name = \"meta\") String meta, @WebParam(name = \"estado\") String estado) {\r\n String instruccion = String.format(\"insert into Iniciativa(nombre,descripcion,tiempo,cod_subcategoria,cod_usuario,meta,estado) values('%s','%s','%s',%s,%s,%s,'%s');\",nombre,descripcion,tiempo,cod_subcategoria,cod_usuario,meta,estado);\r\n try{\r\n conexiones con= new conexiones();\r\n con.agregar(instruccion);\r\n \r\n }catch(Exception e){\r\n \r\n }\r\n }", "title": "" }, { "docid": "b87d20eed14b8b87eeb0f25ce8aa49c4", "score": "0.55556315", "text": "public void acceptRequest(utente relative) throws SQLException, NotAllowedException {\n \n ResultSet request = Database.selectRecord(\"richieste\", \"idsender = '\" + relative.getId() + \"' AND idreciver = '\" + this.id + \"'\");\n String relationship = \"\";\n\n while(request.next()){\n relationship = request.getString(\"relazione\");\n }\n \n try {\n // Effettua il collegamento tra i due parenti\n relative.setRelative(this, relationship);\n //this.setRelative(relative, relationship);\n \n } finally {\n // Rimuovi la richiesta dal database\n Database.deleteRecord(\"richieste\", \"idsender = '\" + relative.getId() + \"' AND idreciver = '\" + this.id + \"'\");\n }\n \n \n \n }", "title": "" }, { "docid": "8f4fed2f769b2b94323d4574d1fd8c89", "score": "0.554701", "text": "private int registrarEgresoDetalle(Egreso oEgreso) {\n oEgresoDetalleBl = new EgresoDetalleBl();\n for (EgresoDetalle obj : listEgresoDetalle) {\n oEgresoDetalle = obj;\n oEgresoDetalle.setEgreso(oEgreso);\n oEgresoDetalleBl.registrar(oEgresoDetalle);\n }\n return SUCESS;\n }", "title": "" }, { "docid": "69207ac39ab49e9478d108df993d8e85", "score": "0.5533602", "text": "public static void registrarAuditoria(Connexion connexion,Long idUsuario,RetencionVenta retencionventa,String sUsuarioPC,String sNamePC,String sIPPC)throws Exception {\n\t\t\r\n\t\ttry {\r\n\t\t\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIA) {\r\n\t\t\t\tif(retencionventa.getIsNew()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAINSERTAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if(retencionventa.getIsDeleted()) {\r\n\t\t\t\t\t/*if(!retencionventa.getIsExpired()) {\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.RegistrarNuevaAuditoria(Constantes.getLOidSistemaActual(),idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.getSAuditoriaEliminarLogicamente(),\"\",sUsuarioPC,sNamePC,sIPPC,Timestamp.valueOf(Funciones.getStringMySqlCurrentDateTime()),\"\");\r\n\t\t\t\t\t\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t} else {*/\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAELIMINARFISICAMENTE,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t//}\r\n\t\t\t\t} else if(retencionventa.getIsChanged()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,RetencionVentaDataAccess.TABLENAME, retencionventa.getId(), Constantes.SAUDITORIAACTUALIZAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(RetencionVentaConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////RetencionVentaLogic.registrarAuditoriaDetallesRetencionVenta(connexion,retencionventa,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t\t\r\n\t}", "title": "" }, { "docid": "23037feee0808dd396e4496140a336a9", "score": "0.55309683", "text": "public Clientes BuscarClienteId(Clientes ClienteObj);", "title": "" }, { "docid": "43dd6d49f5c12d8954439ef9fa6b6f4b", "score": "0.5530268", "text": "@Override\n\tpublic Cliente cadastrar(Cliente cliente) {\n\t\treturn clientRepository.save(cliente);\n\t}", "title": "" }, { "docid": "29707f69e5d0e78a250ddf89a285b596", "score": "0.5530048", "text": "@Override\r\n\tpublic Resultado grabarCompraDirecta(TransactionRequest<CompraDirectaDatosGeneralesDto> request) throws Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tCompraDirectaDatosGeneralesDto compraDirecta = request.getEntityTransaction();\r\n\t\tPacconsolidado pc;\r\n\t\tInteger idPacConsolidado = 0;\r\n\t\tboolean saveEstado = false;\r\n\t\tif (compraDirecta.getIdPacConsolid() != null) {\r\n\t\t\tpc = pacconsolidadoMapper.selectByPrimaryKeyBasic(compraDirecta.getIdPacConsolid());\r\n\t\t\tif (pc != null) {\r\n\t\t\t\t// UPDATE PAC CONSOLIDADO\r\n\r\n\t\t\t\t// pc.setNroproceso(compraDirecta.getNroProceso());\r\n\t\t\t\tpc.setCodigotipoproceso(\"14\");\r\n\t\t\t\tpc.setNroproceso(compraDirecta.getNroProceso());\r\n\t\t\t\tdouble valorMoneda = compraDirecta.getValorMoneda();\r\n\t\t\t\tBigDecimal valorEstimado = new BigDecimal(valorMoneda);\r\n\t\t\t\t//pc.setValorestimadocontracion(valorEstimado);\r\n\t\t\t\tpc.setValorestimadocontracion(Utils.round(valorEstimado));\r\n\t\t\t\t\r\n\t\t\t\t// pc.setEstadoauditoria(); // ITEM UNICO\r\n\t\t\t\t// pc.setNroitems(0); // NUMERO DE ITEMS\r\n\t\t\t\t// pc.setCantidad(); // CANTIDAD DE ITEMS\r\n\t\t\t\tpc.setFlagcd(compraDirecta.getFlagCD());\r\n\t\t\t\t// pc.setUnidadmedida(); //UNIDAD DE MEDIDA\r\n\t\t\t\t// pc.setNombreespecialistavr(); //NOMBRE ESPECIALISTA VR\r\n\t\t\t\tpc.setFechaasignacionespecialista(compraDirecta.getFechaDocumentoTecnico());\r\n\r\n\t\t\t\t// AUDITORIA\r\n\t\t\t\tpc.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\tpc.setFechamodificacionauditoria(new Date());\r\n\t\t\t\tpc.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\tpc.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t// END AUDITORIA\r\n\r\n\t\t\t\tpacconsolidadoMapper.updateByPrimaryKey(pc);\r\n\t\t\t\tidPacConsolidado = pc.getIdpacconsolidado();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tsaveEstado = true;\r\n\t\t\t// Inserta grupo documento\r\n\t\t\tGrupodocumento grupodocumento = new Grupodocumento();\r\n\t\t\tInteger idgrupodocumento = (int) utilsBusiness.getNextSeq(Sequence.SEQ_GRUPODOCUMENTO).longValue();\r\n\t\t\tgrupodocumento.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\tgrupodocumento.setAnio(compraDirecta.getAnio());\r\n\t\t\tgrupodocumento.setCodigocentrocosto(compraDirecta.getCodigoCentroCosto());\r\n\t\t\tgrupodocumento.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\tgrupodocumento.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\tgrupodocumento.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\tgrupodocumento.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\tgrupodocumentoMapper.insert(grupodocumento);\r\n\r\n\t\t\t// NEW PAC CONSOLIDADO\r\n\t\t\tpc = new Pacconsolidado();\r\n\t\t\tpc.setNroconsolid(compraDirecta.getNroConsolid());\r\n\t\t\tpc.setAnio(compraDirecta.getAnio());\r\n\t\t\tpc.setIdunidadejecutora(compraDirecta.getIdUnidadEjecutora());\r\n\t\t\tpc.setIdgrupodocumento(idgrupodocumento);\r\n\t\t\tpc.setCodigotipoproceso(compraDirecta.getTipoProceso());\r\n\t\t\tpc.setFlagcd(compraDirecta.getFlagCD());\r\n\t\t\tpc.setNroproceso(compraDirecta.getNroProceso());\r\n\t\t\tpc.setUnidadmedida(compraDirecta.getUnidadMedida());\r\n\t\t\tpc.setCantidad(compraDirecta.getCantidad());\r\n\t\t\t\r\n\t\t\tdouble valorMoneda = compraDirecta.getValorMoneda();\r\n\t\t\tBigDecimal valorEstimado = new BigDecimal(valorMoneda);\r\n\t\t\tpc.setValorestimadocontracion(Utils.round(valorEstimado));\t\r\n\t\t\t\r\n\t\t\tpc.setIdcatalogotipocontratacion(compraDirecta.getIdTipoContratacion());\r\n\t\t\tpc.setIdcatalogoestadopac(null);\r\n\t\t\tpc.setIdcatalogotipobien(compraDirecta.getIdTipoBien());\r\n\t\t\tpc.setIdcatalogotiponecesidad(compraDirecta.getIdTipoNecesidad());\r\n\t\t\tpc.setEstadorequerimiento(compraDirecta.getEstadoRequerimiento());\r\n\r\n\t\t\t// pc.setEstadoauditoria(); // ITEM UNICO\r\n\t\t\t// pc.setNroitems(0); // NUMERO DE ITEMS\r\n\t\t\t// pc.setCantidad(); // CANTIDAD DE ITEMS\r\n\t\t\t// pc.setUnidadmedida(); //UNIDAD DE MEDIDA\r\n\t\t\t// pc.setNombreespecialistavr(); //NOMBRE ESPECIALISTA VR\r\n\t\t\tpc.setFechaasignacionespecialista(compraDirecta.getFechaDocumentoTecnico());\r\n\t\t\tidPacConsolidado = (int) utilsBusiness.getNextSeq(Sequence.SEQ_PACCONSOLIDADO).longValue();\r\n\t\t\tpc.setIdpacconsolidado(idPacConsolidado);\r\n\r\n\t\t\t// AUDITORIA\r\n\t\t\tpc.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\tpc.setFechacreacionauditoria(new Date());\r\n\t\t\tpc.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\tpc.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\tpc.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t// END AUDITORIA\r\n\r\n\t\t\tpacconsolidadoMapper.insert(pc);\r\n\r\n\t\t\tif (compraDirecta.getIdTipoNecesidad().equals(Constantes.tipoNecesidad.TIPO_NECESIDAD_NO_PROGRAMADO)) {\r\n\t\t\t\t// PEDIDOS POR PAC CONSOLIDADO\r\n\t\t\t\tList<PedidosPaoResponse> pedidos = compraDirecta.getPedidos();\r\n\t\t\t\tfor (int i = 0; i < pedidos.size(); i++) {\r\n\t\t\t\t\tPedidosporpacconsolidado pedidoItem = new Pedidosporpacconsolidado();\r\n\t\t\t\t\tpedidoItem.setIdpedidoporpacconsolidado(\r\n\t\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_PEDIDOSPORPACCONSOLIDADO).longValue());\r\n\t\t\t\t\tpedidoItem.setIdpacconsolidado(idPacConsolidado);\r\n\t\t\t\t\tpedidoItem.setIdpedido(pedidos.get(i).getIdPedido());\r\n\t\t\t\t\tpedidoItem.setFechacreacionauditoria(new Date());\r\n\t\t\t\t\tpedidoItem.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\t\tpedidoItem.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\tpedidoItem.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t\tpedidoItem.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\t\tpedidosporpacconsolidadoMapper.insert(pedidoItem);\r\n\t\t\t\t}\r\n\t\t\t\t// SINAD POR PAC CONSOLIDADO\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tresult.setResultInt(idPacConsolidado);\r\n\r\n\t\t// REQUISITOS CONFORMIDAD\r\n\t\tList<RequisitoConformidadDto> listaRequisitos = compraDirecta.getListaRequisitosConformidad();\r\n\t\tfor (RequisitoConformidadDto requisitoConformidadDto : listaRequisitos) {\r\n\t\t\tif (requisitoConformidadDto.getIdrequisitoconformidad() != null\r\n\t\t\t\t\t&& requisitoConformidadDto.getIdrequisitoconformidad() != 0) {\r\n\t\t\t\tRequisitosconformidad requisitoEdit = requisitosconformidadMapper\r\n\t\t\t\t\t\t.selectByPrimaryKeyBasic(requisitoConformidadDto.getIdrequisitoconformidad());\r\n\t\t\t\tif (requisitoEdit != null) {\r\n\t\t\t\t\trequisitoEdit.setIdcatalogotipodocumento(requisitoConformidadDto.getIdcatalogotipodocumento());\r\n\r\n\t\t\t\t\t// AUDIT\r\n\t\t\t\t\trequisitoEdit.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\t\trequisitoEdit.setFechamodificacionauditoria(new Date());\r\n\t\t\t\t\trequisitoEdit.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\t\trequisitoEdit.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\t\trequisitosconformidadMapper.updateByPrimaryKey(requisitoEdit);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tRequisitosconformidad requisitoNew = new Requisitosconformidad();\r\n\t\t\t\trequisitoNew.setIdcatalogotipodocumento(requisitoConformidadDto.getIdcatalogotipodocumento());\r\n\t\t\t\trequisitoNew.setIdpacconsolidado(compraDirecta.getIdPacConsolid());\r\n\r\n\t\t\t\t// AUDIT\r\n\t\t\t\trequisitoNew.setFechacreacionauditoria(new Date());\r\n\t\t\t\trequisitoNew.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\trequisitoNew.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\trequisitoNew.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\trequisitoNew.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\trequisitoNew.setIdrequisitoconformidad(\r\n\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_REQUISITOSCONFORMIDAD).longValue());\r\n\t\t\t\trequisitosconformidadMapper.insert(requisitoNew);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// ESTADOS\r\n\t\tint idTipoDocumento = Constantes.tipoDocumento.PAO;\r\n\t\tif (pc.getEstadorequerimiento().equals(Constantes.estadosPorEtapa.EN_GIRO_DE_ORDEN)) {\r\n\t\t\tsaveEstado = true;\r\n\t\t\tidTipoDocumento = Constantes.tipoDocumento.ORDEN;\r\n\t\t}\r\n\r\n\t\tif (saveEstado) {\r\n\t\t\t// Insertamos históricos de estados\r\n\t\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\t\tparam.setIdtipodocumento(idTipoDocumento);\r\n\t\t\tparam.setIdestadosporetapa(pc.getEstadorequerimiento());\r\n\t\t\t// Estadosportipodocumento estados =\r\n\t\t\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\t\tif (estado != null) {\r\n\t\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\t\tEstadosporetapapordocumento estadoDoc = new Estadosporetapapordocumento();\r\n\t\t\t\testadoDoc.setNrodocumento(pc.getIdpacconsolidado());\r\n\t\t\t\testadoDoc.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\t\testadoDoc.setFechaingreso(date);\r\n\r\n\t\t\t\testadoDoc.setFechacreacionauditoria(date);\r\n\t\t\t\testadoDoc.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\testadoDoc.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\testadoDoc.setProgramaauditoria(request.getProgramaAuditoria());\r\n\t\t\t\testadoDoc.setIdtipodocumento(Constantes.tipoDocumento.PAO);\r\n\r\n\t\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\t\t\t\testadoDoc.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\t\testadoDoc.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\testadosporetapapordocumentoMapper.insert(estadoDoc);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "d94549cbe7c2f922a6b50c030ed21f02", "score": "0.5529202", "text": "@Test\n\t@UsingDataSet({ \"persona.json\" })\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\tpublic void agregarRecolectorTest() {\n\n\t\tRecolector recolector = new Recolector();\n\n\t\trecolector.setNombre(\"tomas\");\n\t\trecolector.setApellido(\"la\");\n\t\trecolector.setCedula(\"111\");\n\t\trecolector.setContrasenia(\"12345\");\n\t\trecolector.setCorreo(\"[email protected]\");\n\t\trecolector.setTelefono(\"12\");\n\n\t\tentityManager.persist(recolector);\n\n\t\tRecolector rec2 = entityManager.find(Recolector.class, recolector.getCedula());\n\t\tAssert.assertNotNull(rec2);\n\n\t}", "title": "" }, { "docid": "49f5acad58ac1c36d9dc6316116f7352", "score": "0.5526024", "text": "Restaurante createRestaurante();", "title": "" }, { "docid": "faf57ab25c4feaa82d8b3fa0b13e1ff0", "score": "0.5524878", "text": "public List<Despesa> findRelatorio(int idTipoDespesa, int idTag, int idStatus, int mes, int ano) throws SQLException {\n List<Despesa> despesas = new ArrayList<>();\r\n Despesa despesa = null;\r\n Calendar dataInicio = new GregorianCalendar(ano, mes-1, 01);\r\n Calendar dataFim = null;\r\n try(PreparedStatement stm = conexao.prepareStatement(SQLRelatorio)){\r\n stm.setInt(1, idStatus);\r\n stm.setInt(2, idTipoDespesa);\r\n stm.setInt(3, idTag);\r\n stm.setDate(4, new java.sql.Date (dataInicio.getTime().getTime()));\r\n if(mes == 1 || mes == 3 || mes == 5 || mes == 7 || mes == 8 || mes == 10 || mes == 12){\r\n dataFim = new GregorianCalendar(ano, mes-1, 31);\r\n } else if(mes == 2){\r\n \r\n } else{\r\n dataFim = new GregorianCalendar(ano, mes-1, 30);\r\n }\r\n stm.setDate(5, new java.sql.Date (dataFim.getTime().getTime()));\r\n stm.execute();\r\n try(ResultSet resultSet = stm.getResultSet()) {\r\n while(resultSet.next()) {\r\n int id = (resultSet.getInt(\"id\"));\r\n String descricaoD = (resultSet.getString(\"descricao\"));\r\n String local = (resultSet.getString(\"local\"));\r\n TipoDespesa idTipo = TipoDespesaDAO.findByIdTipoDespesa(resultSet.getInt(\"tipo_despesa\"));\r\n Cartao cartao = CartaoDAO.findByIdCartao(resultSet.getInt(\"cartao_usado\"));\r\n Tag tag = TagDAO.findByIdTag(resultSet.getInt(\"tag\"));\r\n BigDecimal parcelas = (resultSet.getBigDecimal(\"numero_parcelas\"));\r\n BigDecimal total = (resultSet.getBigDecimal(\"valor_total\"));\r\n Date data = (resultSet.getDate(\"data_despesa\"));\r\n int status = resultSet.getInt(\"status_parcela\");\r\n despesa = new Despesa(descricaoD, local, idTipo, cartao, tag, parcelas, total, data);\r\n despesa.setIdDespesa(id);\r\n despesas.add(despesa);\r\n }\r\n resultSet.close();\r\n }\r\n stm.close();\r\n }catch(Exception ex){\r\n JOptionPane.showMessageDialog(null,ex.getMessage(),\"Erro ao tentar gerar o Relatório\",JOptionPane.ERROR_MESSAGE);\r\n// System.out.println(\"Erro ao tentar executar busca por fatura: \" + ex.getMessage());\r\n } \r\n return despesas;\r\n }", "title": "" }, { "docid": "452bb2f915082127f0bc84a7b5cf458b", "score": "0.55177116", "text": "public void gravarTreino(String registro){\n\t}", "title": "" }, { "docid": "fb6dd7afe41a591b684fa7ace08504e0", "score": "0.5512081", "text": "public void ValoresRealesInvitado(){\n dao.actualizar(usuario);\n }", "title": "" }, { "docid": "f248b8adc109238278e94219cdefba20", "score": "0.55097467", "text": "public void registrar() {\n marcaView = marcaController.consultarMarca(marcaView).get(0);\n referenciaView.setSmsMarca(marcaView);//relacionamos la referencia con la marca\n\n referenciaDao.registrarReferencia(referenciaView);//Registramos la referencia\n\n referenciaView = new SmsReferencia();//Limpiamos objetos\n marcaView = new SmsMarca();\n referenciasListView = referenciaDao.mostrarReferencias();//recargamos la lista de referencias\n }", "title": "" }, { "docid": "3b42596e91d1093942b23156547f2e96", "score": "0.5509083", "text": "public void salvarReditar() {\n\n\t\tVistoriaRN vistoriaRN = new VistoriaRN();\n\t\tvistoriaRN.salvar(this.vistoria);\n\n\t\tif (vistoria.getVisPendente() == 'N') {\n\t\t\tif (vistoria.getImovel().getImoEfetivo()== false) {\n\t\t\t\tvistoria.getImovel().setImoDataRejeicao(new Date());\n\n\t\t\t\tSystem.out.println(\"OK\");\n\t\t\t}\n\t\t\tImovelRN imovelRN = new ImovelRN();\n\t\t\timovelRN.salvar(vistoria.getImovel());\n\t\t}\n\n\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\tcontext.addMessage(null, new FacesMessage(\"Alterado com sucesso\"));\n\n\t\tthis.imovel = new Imovel();\n\t\tthis.funcionario = new Funcionario();\n\t\tthis.listaVistorias = null;\n\t\tthis.vistoria = new Vistoria();\n\t}", "title": "" }, { "docid": "ecb7a31c85559a7dd28c337adc30e16a", "score": "0.5508867", "text": "public void retiraOrgao(String nome, String tipoSanguineo) throws Exception {\r\n\t\ttry {\r\n\t\t\tcontrol.retiraOrgao(nome, tipoSanguineo);\r\n\t\t} catch (ControllerException e) {\r\n\t\t\tthrow new Exception(\"Erro na retirada de orgaos. \" + e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2af0ead1d0d95b6faf9d95ac482ea487", "score": "0.55080396", "text": "void agregar(Cliente cliente);", "title": "" }, { "docid": "7406a1e2308dc5f665de2fd355fea13e", "score": "0.55066574", "text": "public ArrayList recuperarPremiosNivelesPremiacion(\n ClientePremiacionConcurso clientePremiacionConcurso,\n ClientePremiacion clientePremiacion) throws MareException {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.recuperarPremiosNivel\"\n +\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso\"\n +\", ClientePremiacion clientePremiacion):Entrada\");\n\n BelcorpService bs1;\n RecordSet respuesta1;\n StringBuffer query1 = new StringBuffer();\n\n try {\n bs1 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n //Recuperar todos los registros de la entidad parNivel\n //ordenados por numeroNivel de mayor a menor coste en puntos\n //(para ello nos fijamos en el campo cantidadFijaPuntos,\n //si este no esta informado usaremos cantidadInicialPuntos).\n try {\n query1.append(\" SELECT \");\n query1.append(\" NVL(NUM_CANT_FIJA_PUNT, NUM_CANT_INIC_PUNT) AS PUNTOS, \");\n query1.append(\" TPRE_OID_TIPO_PREM, \");\n query1.append(\" OID_PARA_NIVE_PREM, \");\n query1.append(\" INC_PARAM_NIVEL_PREMI.NUM_NIVE, \");\n query1.append(\" NUM_CANT_FIJA_PUNT, \");\n query1.append(\" NUM_CANT_INIC_PUNT, \");\n query1.append(\" NUM_CANT_FINA_PUNT, \");\n query1.append(\" NUM_PUNT_PROD_EXIG, \");\n query1.append(\" PERD_OID_PERI, \");\n query1.append(\" conc.MARC_OID_MARC, \");\n query1.append(\" conc.CANA_OID_CANA, \");\n query1.append(\" conc.PAIS_OID_PAIS, \");\n // vbongiov -- 5/07/2006 -- inc 723\n query1.append(\" V.VAL_I18N descTipoPremio \");\n query1.append(\" FROM INC_PARAM_GENER_PREMI, \");\n query1.append(\" INC_PARAM_NIVEL_PREMI, \");\n query1.append(\" INC_CONCU_PARAM_GENER conc, CRA_PERIO, \");\n query1.append(\" V_GEN_I18N_SICC V \");\n query1.append(\" WHERE PAGP_OID_PARA_GENE_PREM = OID_PARA_GENE_PREM \");\n query1.append(\" AND COPA_OID_PARA_GRAL = \" +\n clientePremiacionConcurso.getOidConcurso());\n query1.append(\" AND conc.OID_PARA_GRAL = COPA_OID_PARA_GRAL \");\n query1.append(\" AND conc.PERD_OID_PERI_DESD = OID_PERI \");\n query1.append(\" AND V.VAL_OID = TPRE_OID_TIPO_PREM \");\n query1.append(\" AND V.ATTR_NUM_ATRI = 1 \");\n query1.append(\" AND V.ATTR_ENTI = 'INC_TIPO_PREMI' \");\n query1.append(\" AND V.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query1.append(\" ORDER BY PUNTOS DESC \");\n \n respuesta1 = bs1.dbService.executeStaticQuery(query1.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta1: \" + respuesta1);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n Periodo periodoDespacho = new Periodo();\n String descTipoPremio = null;\n\n ArrayList salida = new ArrayList();\n int saldoPuntosAux = clientePremiacionConcurso.getSaldoPuntos().intValue();\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"recuperarPremiosNivelesPremiacion --- saldoPuntosAux \" +\n saldoPuntosAux);\n\n for (int i1 = 0; i1 < respuesta1.getRowCount(); i1++) {\n // vbongiov -- 5/07/2006 -- inc 723\n descTipoPremio = (String) respuesta1.getValueAt(0, \"DESCTIPOPREMIO\");\n \n NivelPremiacion nivelPre = new NivelPremiacion();\n nivelPre.setNivel((respuesta1.getValueAt(i1, \"NUM_NIVE\") != null)\n ? new Integer(\n ((BigDecimal) respuesta1.getValueAt(i1, \"NUM_NIVE\")).intValue())\n : null);\n nivelPre.setOidNivel((\n respuesta1.getValueAt(i1, \"OID_PARA_NIVE_PREM\") != null)\n ? new Long(((BigDecimal) \n respuesta1.getValueAt(i1, \"OID_PARA_NIVE_PREM\")).longValue())\n : null);\n nivelPre.setCantidadFijaPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_FIJA_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_FIJA_PUNT\")).doubleValue())\n : new Double(0));\n nivelPre.setCantidadInicialPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_INIC_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_INIC_PUNT\")).doubleValue())\n : new Double(0));\n nivelPre.setCantidadFinalPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_FINA_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_FINA_PUNT\")).doubleValue())\n : new Double(0));\n\n if (respuesta1.getValueAt(i1, \"PERD_OID_PERI\") != null) {\n periodoDespacho.setOidPeriodo(new Long(((BigDecimal) \n respuesta1.getValueAt(i1, \"PERD_OID_PERI\")).longValue()));\n }\n\n int puntosLeidos = ((respuesta1.getValueAt(i1, \"PUNTOS\") != null)\n ? ((BigDecimal) respuesta1.getValueAt(i1, \"PUNTOS\")).intValue()\n : 0);\n \n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\n \"recuperarPremiosNivelesPremiacion --- puntosLeidos \" +\n puntosLeidos);\n UtilidadesLog.debug(\"recuperarPremiosNivelesPremiacion \"\n + \"saldoPuntosAux >= puntosLeidos \" \n +(saldoPuntosAux >= puntosLeidos));\n } \n\n if (saldoPuntosAux >= puntosLeidos) {\n UtilidadesLog.debug(\"saldoPuntosAux >= puntosLeidos \");\n\n long tipoPremioLeido = ((BigDecimal) respuesta1.getValueAt(i1,\n \"TPRE_OID_TIPO_PREM\")).longValue();\n long oidNivelPremiacion = ((BigDecimal) \n respuesta1.getValueAt(i1,\"OID_PARA_NIVE_PREM\"))\n .longValue();\n BigDecimal puntosObtenerProdExigidos = (BigDecimal) \n respuesta1.getValueAt(i1,\"NUM_PUNT_PROD_EXIG\");\n \n Long numPremio = null;\n\n // procesar premio monetario\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_MONETARIO\n .longValue()) {\n UtilidadesLog.debug(\"Premio Monetario\");\n\n PremioMonetario premioMonetario = new PremioMonetario();\n premioMonetario.setNivel(nivelPre);\n premioMonetario.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioMonetario.setDescripcionTipoPremio(descTipoPremio);\n premioMonetario.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs2;\n RecordSet respuesta2;\n StringBuffer query2 = new StringBuffer();\n\n try {\n bs2 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query2.append(\" SELECT \");\n query2.append(\" OID_PREM_MONE, \");\n query2.append(\" NUM_PREM, \");\n query2.append(\" VAL_CANT, \");\n query2.append(\" VAL_PORC, \");\n query2.append(\" IND_PAGO_PART, \");\n query2.append(\" IND_DESC_PAGO_ANTI, \");\n query2.append(\" TPMO_OID_TIPO_PREM_MONE, \");\n query2.append(\" FPAG_OID_FORM_PAGO \");\n query2.append(\" FROM INC_PREMI_MONET \");\n query2.append(\" WHERE PANP_OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta2 = bs2.dbService.executeStaticQuery(\n query2.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta2: \" + respuesta2);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta2.esVacio()) {\n UtilidadesLog.debug(\"Encontre premio monetario\");\n\n long oidPremioMonetario = ((BigDecimal)\n respuesta2.getValueAt(0,\"OID_PREM_MONE\"))\n .longValue();\n\n {\n BigDecimal cantidad = (BigDecimal) \n respuesta2.getValueAt(0,\"VAL_CANT\");\n premioMonetario.setCantidad((cantidad != null)\n ? cantidad : new BigDecimal(0));\n }\n\n {\n BigDecimal descontar = (BigDecimal) \n respuesta2.getValueAt(0,\"IND_DESC_PAGO_ANTI\");\n\n if (descontar == null) {\n premioMonetario\n .setDescontarPagosAnticipados(false);\n } else {\n if (descontar.compareTo(new BigDecimal(1)) == 0) {\n premioMonetario\n .setDescontarPagosAnticipados(true);\n } else {\n premioMonetario\n .setDescontarPagosAnticipados(false);\n }\n }\n }\n\n premioMonetario.setNumeroPremio(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioMonetario.getNumeroPremio();\n\n premioMonetario.setOidFormaPago(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"FPAG_OID_FORM_PAGO\")).longValue()));\n\n {\n BigDecimal pagoPartes = (BigDecimal) \n respuesta2.getValueAt(0,\"IND_PAGO_PART\");\n\n if (pagoPartes == null) {\n premioMonetario.setPagoEnPartes(false);\n } else {\n if (pagoPartes.compareTo(new BigDecimal(1)) \n == 0) {\n premioMonetario.setPagoEnPartes(true);\n } else {\n premioMonetario.setPagoEnPartes(false);\n }\n }\n }\n\n premioMonetario.setPorcentaje((BigDecimal) \n respuesta2.getValueAt(0, \"VAL_PORC\"));\n premioMonetario.setTipoPremioMonetario(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"TPMO_OID_TIPO_PREM_MONE\")).longValue()));\n\n //Si tipoPremio es premioMonetario, y el campo \n //pagoPartes==True,\n //entonces tendremos que ir a la entidad PagoPartes\n //y crear objetos PagoPartes rellenando sus atributos.\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"premioMonetario.getPagoEnPartes() \" +\n premioMonetario.getPagoEnPartes());\n\n if (premioMonetario.getPagoEnPartes()) {\n BelcorpService bs3;\n RecordSet respuesta3;\n StringBuffer query3 = new StringBuffer();\n\n try {\n bs3 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query3.append(\" SELECT \");\n query3.append(\" NUM_PAGO, \");\n query3.append(\" VAL_PORC_PREM, \");\n query3.append(\" PERD_OID_PERI, \");\n query3.append(\" COD_PERI, \");\n query3.append(\" FEC_INIC, \");\n query3.append(\" FEC_FINA, \");\n query3.append(\" CANA_OID_CANA, \");\n query3.append(\" MARC_OID_MARC, \");\n query3.append(\" PAIS_OID_PAIS \");\n query3.append(\" FROM INC_PAGO_MONET PAGO, \");\n query3.append(\" CRA_PERIO CRA, \");\n query3.append(\" SEG_PERIO_CORPO SEG \");\n query3.append(\" WHERE PRMO_OID_PREM_MONE = \" +\n oidPremioMonetario);\n query3.append(\n \" AND PAGO.PERD_OID_PERI = CRA.OID_PERI \");\n query3.append(\n \" AND CRA.PERI_OID_PERI = SEG.OID_PERI \");\n respuesta3 = bs3.dbService.executeStaticQuery(\n query3.toString());\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta3: \" + respuesta3);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n premioMonetario.setPagosEnPartes(new ArrayList());\n\n for (int i3 = 0; i3 < respuesta3.getRowCount();\n i3++) {\n PagoPartes pagoPartes = new PagoPartes();\n pagoPartes.setNumeroPago(new Integer(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"NUM_PAGO\")).intValue()));\n pagoPartes.setPorcentajePremio((BigDecimal)\n respuesta3.getValueAt(i3, \"VAL_PORC_PREM\"));\n\n Periodo periodoControl = new Periodo();\n periodoControl.setCodperiodo((String)\n respuesta3.getValueAt(i3, \"COD_PERI\"));\n periodoControl.setFechaDesde((Date) \n respuesta3.getValueAt(i3, \"FEC_INIC\"));\n periodoControl.setFechaHasta((Date) \n respuesta3.getValueAt(i3, \"FEC_FINA\"));\n periodoControl.setOidCanal(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"CANA_OID_CANA\")).longValue()));\n periodoControl.setOidMarca(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"MARC_OID_MARC\")).longValue()));\n periodoControl.setOidPais(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"PAIS_OID_PAIS\")).longValue()));\n periodoControl.setOidPeriodo(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"PERD_OID_PERI\")).longValue()));\n \n // Periodo \n pagoPartes.setPeriodoControl(periodoControl); \n premioMonetario.getPagosEnPartes()\n .add(pagoPartes);\n }\n }\n }\n\n UtilidadesLog.debug(\"guarde.... premio monet\");\n salida.add(premioMonetario);\n }\n\n // procesar premio articulo lote\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_ARTICULO\n .longValue()) {\n UtilidadesLog.debug(\"Premio Articulo\");\n\n PremioArticuloLote premioArticuloLote = \n new PremioArticuloLote();\n PremioArticulo premioArticulo = new PremioArticulo();\n premioArticuloLote.setNivel(nivelPre);\n premioArticuloLote.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioArticuloLote.setDescripcionTipoPremio(descTipoPremio);\n premioArticuloLote.setPeriodoDeDespacho(periodoDespacho);\n premioArticuloLote.setPuntosObtenerProdExigidos((\n puntosObtenerProdExigidos != null)\n ? new Double(puntosObtenerProdExigidos.doubleValue())\n : new Double(0));\n\n BelcorpService bs4;\n RecordSet respuesta4;\n StringBuffer query4 = new StringBuffer();\n\n try {\n bs4 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n /* INC 001 - gPineda - 13/01/2007\n * Se agrega la recuperacion del atributo VAL_DESC_LOTE_PREM_ARTI. (2)\n */\n query4.append(\" SELECT \");\n query4.append(\" NUM_UNID, NUM_LOTE, \");\n query4.append(\" NUM_PREM, \");\n query4.append(\" OID_LOTE_PREM_ARTI \");\n query4.append(\" ,INC_LOTE_PREMI_ARTIC.VAL_DESC_LOTE_PREM_ARTI\"); //(2)\n query4.append(\" FROM INC_PREMI_ARTIC, \");\n query4.append(\" INC_LOTE_PREMI_ARTIC \");\n query4.append(\n \" WHERE PRAR_OID_PREM_ARTI = OID_PREM_ARTI \");\n query4.append(\" AND PANP_OID_PARA_NIVE_PREM = \" + oidNivelPremiacion);\n query4.append(\" ORDER BY NUM_LOTE \"); \n \n respuesta4 = bs4.dbService.executeStaticQuery(\n query4.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta4: \" + respuesta4);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta4.esVacio()) {\n premioArticuloLote.setDescripcionLote( (String) respuesta4.getValueAt(0, \"VAL_DESC_LOTE_PREM_ARTI\") );//(2)\n \n premioArticuloLote.setNumeroLote(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_LOTE\")).longValue()));\n premioArticuloLote.setNumeroPremio(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioArticuloLote.getNumeroPremio();\n\n premioArticulo.setNumeroUnidades(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_UNID\")).longValue()));\n premioArticuloLote.setPremio(premioArticulo);\n\n Long oidLotePremioArticulo = new Long(((BigDecimal) \n respuesta4.getValueAt(0, \"OID_LOTE_PREM_ARTI\"))\n .longValue());\n ArrayList articulos = new ArrayList();\n\n BelcorpService bs7;\n RecordSet respuesta7;\n\n try {\n bs7 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n //Brecha INC-003 6-9-07 jrivas\n respuesta7 = bs7.dbService.executeStaticQuery(queryArticuloLote(oidLotePremioArticulo).toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta7: \" + respuesta7);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n \n ArticuloLote articuloLote = null;\n \n if (!respuesta7.esVacio()) {\n \n int cant7 = respuesta7.getRowCount();\n for(int i7=0; i7 < cant7; i7++) {\n articuloLote = new ArticuloLote();\n \n articuloLote.setNombre((String)respuesta7.getValueAt(i7, \"DESCPRODU\"));\n \n articuloLote.setNumeroUnidades(new Long(\n ((BigDecimal) respuesta7.getValueAt(i7, \"NUM_UNID\"))\n .longValue()));\n articuloLote.setCodigoVentaFicticio(respuesta7.getValueAt(\n i7, \"COD_VENT_FICT\").toString());\n articuloLote.setOidCodigoProducto(new Long(\n ((BigDecimal) respuesta7.getValueAt(i7,\n \"PROD_OID_PROD\")).longValue()));\n articuloLote.setPrecioPublico((BigDecimal) \n respuesta7.getValueAt(i7, \"IMP_PREC_PUBL\"));\n \n articuloLote.setCodSapProducto((String)\trespuesta7.getValueAt(i7, \"COD_SAP\")); \n \n articuloLote.setTipoEntregaPremio(respuesta7.getValueAt(i7, \"IND_TIPO_ENTR_PREM\").toString()); \n if (respuesta7.getValueAt(i7, \"COD_CENT_SERV\") != null) {\n articuloLote.setCodigoCentroServicio((String) respuesta7.getValueAt(i7, \"COD_CENT_SERV\")); \n } else {\n articuloLote.setCodigoCentroServicio(\"\"); \n }\n \n if (respuesta7.getValueAt(i7, \"DES_CENT_SERV\") != null) {\n articuloLote.setDescripcionCentroServicio((String) respuesta7.getValueAt(i7, \"DES_CENT_SERV\")); \n } else {\n articuloLote.setDescripcionCentroServicio(\"\"); \n } \n \n // vbongiov -- Cambio 20090828 -- 8/06/2009\n articuloLote.setOidArticuloLote(new Long(((BigDecimal) respuesta7.getValueAt(i7, \"OID_ARTI_LOTE\")).longValue())); \n \n articulos.add(articuloLote);\n }\n }\n premioArticuloLote.setArticulos(articulos);\n }\n salida.add(premioArticuloLote);\n }\n\n // procesar premio descuento\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_DESCUENTOS\n .longValue()) {\n UtilidadesLog.debug(\"tipoPremioLeido = ConstantesINC.TIPO_PREMIO_DESCUENTOS.longValue() ***\");\n\n PremioDescuento premioDescuento = new PremioDescuento();\n premioDescuento.setNivel(nivelPre);\n premioDescuento.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioDescuento.setDescripcionTipoPremio(descTipoPremio);\n premioDescuento.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs5;\n RecordSet respuesta5;\n RecordSet respuesta6;\n StringBuffer query5 = new StringBuffer();\n StringBuffer query6 = new StringBuffer();\n\n try {\n bs5 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query5.append(\" SELECT OID_PREM_DESC,\");\n query5.append(\" NUM_PREM, \");\n query5.append(\" VAL_CANT_DESC, \");\n query5.append(\" VAL_PORC_DESC, \");\n query5.append(\" PERD_OID_PERI_DESD, \");\n query5.append(\" PERD_OID_PERI \");\n query5.append(\" FROM INC_PREMI_DESCU \");\n query5.append(\" WHERE OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta5 = bs5.dbService.executeStaticQuery(\n query5.toString());\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta5.esVacio()) {\n \n BigDecimal oidPremDesc = (BigDecimal) respuesta5.getValueAt(0,\n \"OID_PREM_DESC\");\n \n BigDecimal cantidad = (BigDecimal) respuesta5.getValueAt(0,\n \"VAL_CANT_DESC\");\n premioDescuento.setCantidad((cantidad != null) ? cantidad\n : new BigDecimal(0));\n \n\n premioDescuento.setNumeroPremio(new Long(\n ((BigDecimal) respuesta5.getValueAt(0, \"NUM_PREM\"))\n .longValue()));\n premioDescuento.setOidPeriodoDesde(new Long(\n ((BigDecimal) respuesta5.getValueAt(0,\n \"PERD_OID_PERI_DESD\")).longValue()));\n\n \n BigDecimal periodoHasta = (BigDecimal) \n respuesta5.getValueAt(0,\"PERD_OID_PERI\");\n premioDescuento.setOidPeriodoHasta((periodoHasta != null)\n ? new Long(periodoHasta.longValue()) : null);\n \n\n premioDescuento.setPorcentaje((BigDecimal) \n respuesta5.getValueAt(0, \"VAL_PORC_DESC\"));\n \n ArrayList prodDesc = new ArrayList();\n \n // Productos del premio descuento \n try {\n query6.append(\" SELECT prodD.MAPR_OID_MARC_PROD,\");\n query6.append(\" prodD.SGEN_OID_SUPE_GENE, prodD.GENE_OID_GENE, \");\n query6.append(\" prodD.UNEG_OID_UNID_NEGO, prodD.NEGO_OID_NEGO, \");\n query6.append(\" prodD.PROD_OID_PROD \");\n query6.append(\" FROM INC_PRODU_DESCU prodD \");\n query6.append(\" WHERE prodD.PRDE_OID_PREM_DESC = \" + oidPremDesc);\n \n respuesta6 = bs5.dbService.executeStaticQuery(query6.toString());\n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n ProductoDescuento prodDescuento = null;\n \n if (!respuesta6.esVacio()) {\n int cant6 = respuesta6.getRowCount();\n \n for(int i6=0; i6 < cant6; i6++) {\n prodDescuento = new ProductoDescuento();\n \n prodDescuento.setOidMarcaProducto(new Long(((BigDecimal)respuesta6.getValueAt(i6,\"MAPR_OID_MARC_PROD\")).intValue()));\n \n BigDecimal oidSupeGen = (BigDecimal) \n respuesta6.getValueAt(i6,\"SGEN_OID_SUPE_GENE\");\n prodDescuento.setOidSuperGenerico((oidSupeGen != null)\n ? new Long(oidSupeGen.longValue()) : null);\n \n BigDecimal oidGene = (BigDecimal) \n respuesta6.getValueAt(i6,\"GENE_OID_GENE\");\n prodDescuento.setOidGenerico((oidGene != null)\n ? new Long(oidGene.longValue()) : null);\n \n BigDecimal oidUniNeg = (BigDecimal) \n respuesta6.getValueAt(i6,\"UNEG_OID_UNID_NEGO\");\n prodDescuento.setOidUnidadNegocio((oidUniNeg != null)\n ? new Long(oidUniNeg.longValue()) : null);\n \n BigDecimal oidNeg = (BigDecimal) \n respuesta6.getValueAt(i6,\"NEGO_OID_NEGO\");\n prodDescuento.setOidNegocio((oidNeg != null)\n ? new Long(oidNeg.longValue()) : null);\n \n BigDecimal oidProd = (BigDecimal) \n respuesta6.getValueAt(i6,\"PROD_OID_PROD\");\n prodDescuento.setOidProducto((oidProd != null)\n ? new Long(oidProd.longValue()) : null);\n \n prodDesc.add(prodDescuento);\n }\n }\n \n premioDescuento.setListaProductos(prodDesc);\n \n }\n\n salida.add(premioDescuento);\n }\n\n // procesar premio puntaje\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_PUNTUACION\n .longValue()) {\n UtilidadesLog.debug(\"Premio premioPuntos\");\n\n PremioPuntos premioPuntos = new PremioPuntos();\n premioPuntos.setNivel(nivelPre);\n premioPuntos.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioPuntos.setDescripcionTipoPremio(descTipoPremio);\n premioPuntos.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs6;\n RecordSet respuesta6;\n StringBuffer query6 = new StringBuffer();\n\n try {\n bs6 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query6.append(\" SELECT \");\n query6.append(\" VAL_CANT, \");\n query6.append(\" NUM_PREM, \");\n query6.append(\" COPA_OID_PARA_GRAL, \");\n query6.append(\" VAL_PORC, \");\n query6.append(\" TPPU_OID_TIPO_PREM_PUNT \");\n query6.append(\" FROM INC_PREMI_PUNTO \");\n query6.append(\" WHERE PANP_OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta6 = bs6.dbService.executeStaticQuery(\n query6.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta6: \" + respuesta6);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta6.esVacio()) {\n {\n BigDecimal cantidad = (BigDecimal)\n respuesta6.getValueAt(0,\"VAL_CANT\");\n premioPuntos.setCantidad((cantidad != null)\n ? cantidad : new BigDecimal(0));\n }\n\n premioPuntos.setNumeroPremio(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioPuntos.getNumeroPremio();\n\n premioPuntos.setOidConcursoDestino(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"COPA_OID_PARA_GRAL\")).longValue()));\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"premioPuntos.setOidConcursoDestino \" +\n premioPuntos.getOidConcursoDestino());\n premioPuntos.setPorcentaje((BigDecimal) \n respuesta6.getValueAt(0, \"VAL_PORC\"));\n premioPuntos.setOidTipoPremioPuntos(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"TPPU_OID_TIPO_PREM_PUNT\")).longValue()));\n }\n\n salida.add(premioPuntos);\n }\n\n PremiosElegidosLocalHome premiosElegidosHome = this.getPremiosElegidosLocalHome();\n\n try {\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"insertando PremiosElegidosLocal\");\n UtilidadesLog.debug(\"numPremio : \" + numPremio);\n UtilidadesLog.debug(\"clientePremiacion.getOidCliente(): \"+clientePremiacion.getOidCliente());\n UtilidadesLog.debug(\"clientePremiacionConcurso.getOidConcurso() : \" +clientePremiacionConcurso.getOidConcurso());\n UtilidadesLog.debug(\"oidNivelPremiacion : \" +oidNivelPremiacion);\n } \n\n premiosElegidosHome.create(new Integer(numPremio\n .intValue()), clientePremiacion.getOidCliente(),\n clientePremiacionConcurso.getOidConcurso(),\n new Long(oidNivelPremiacion),\n new Date(System.currentTimeMillis()));\n\n } catch (PersistenceException ce) {\n UtilidadesLog.error(\"ERROR \", ce);\n throw new MareException(ce,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_ESCRITURA_EN_BASE_DE_DATOS));\n }\n\n saldoPuntosAux = saldoPuntosAux - puntosLeidos;\n }\n }\n\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.recuperarPremiosNivel\"\n +\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso,\"\n +\"ClientePremiacion clientePremiacion):Salida\");\n\n return salida;\n }", "title": "" }, { "docid": "fa95ded365017b838e015c34e5a63250", "score": "0.5501381", "text": "@Override\n public boolean addPartecipants(String idAttivita, String idPartecipante) {\n FirebaseFirestore.getInstance().collection(DataFetch.EVENTI).document(idAttivita).get().addOnSuccessListener(new OnSuccessListener<DocumentSnapshot>() {\n @Override\n public void onSuccess(DocumentSnapshot documentSnapshot) {\n Event event = documentSnapshot.toObject(Event.class);\n if(event.getPartecipanti() != null){\n partecipanti = event.getPartecipanti();\n partecipanti.add(idPartecipante);\n event.setPartecipanti(partecipanti);}\n else{\n partecipanti.add(idPartecipante);\n event.setPartecipanti(partecipanti);}\n event.setnMaxPartecipanti(event.getnMaxPartecipanti()-1);\n event.updateEventToDatabase(idAttivita);\n }\n\n });\n\n return true;\n\n}", "title": "" }, { "docid": "48a65e8e7c0cd303748248d92c914280", "score": "0.5494958", "text": "public void substituir(EnderecoAvulso enderecoAvulso)\n\t{\n\t\ttry\n\t\t{\n\t\t\tenderecoAvulso.setUltimaAtualizacao(dataHoraCorrente());\n\t\t\tDocument documento = converter.paraDocumento(enderecoAvulso);\n\t\t\tcolecao.replaceOne(eq(\"_id\", documento.get(\"_id\")), documento);\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tString msg = \"Erro na alteracao. log[\" + enderecoAvulso.getLogradouro() + \"].\";\n\t\t\tSystem.err.println(msg);\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(msg);\n\t\t}\n\t}", "title": "" }, { "docid": "88d0e8987e4c5188a024c2ddfa6c314e", "score": "0.5491571", "text": "CuentaCliente findById(Integer numPoliza, Integer numConsignatario);", "title": "" }, { "docid": "602479579be9ac727a181128497c4048", "score": "0.5488811", "text": "public Boolean recibirRemitoEntrada(RemitoEntradaTO remitoEntrada, String usuarioSistema) {\n\t\tlogger.info(\"Se recibio remito \" + remitoEntrada.getNroRemito() + \".\");\n\t\t//Construyo entity RemitoEntrada\n\t\tRemitoEntrada re = new RemitoEntrada();\n\t\tre.setAnchoCrudo(remitoEntrada.getAnchoCrudo());\n\t\tre.setAnchoFinal(remitoEntrada.getAnchoFinal());\n\t\tre.setArticuloStock(remitoEntrada.getIdArticuloStock() == null ? null : artDAO.getReferenceById(remitoEntrada.getIdArticuloStock()));\n\t\tre.setCliente(clienteDAO.getReferenceById(remitoEntrada.getIdCliente()));\n\t\tre.setCondicionDeVenta(condVentaDAO.getReferenceById(remitoEntrada.getIdCondicionDeVenta()));\n\t\tre.setEnPalet(remitoEntrada.getEnPalet());\n\t\tre.setFechaEmision(new Date(remitoEntrada.getDateFechaEmision()));\n\t\tre.setNroRemito(remitoEntrada.getNroRemito());\n\t\tre.setPesoTotal(remitoEntrada.getPesoTotal());\n\t\tre.setControl(remitoEntrada.getControl());\n\t\tMap<Integer, PiezaRemito> piezasRemitoMap = getPiezasRemitoMap(remitoEntrada.getPiezas());\n\t\tre.getPiezas().addAll(piezasRemitoMap.values());\n\t\tfor(Integer paId : remitoEntrada.getProductoArticuloIdsList()) {\n\t\t\tre.getProductoArticuloList().add(paDAO.getReferenceById(paId));\n\t\t}\n\t\t//Construyo entitys ODT\n\t\tList<TransicionODT> transiciones = new ArrayList<TransicionODT>();\n\t\tList<OrdenDeTrabajo> odtList = new ArrayList<OrdenDeTrabajo>();\n\t\tfor(ODTEagerTO odtTO : remitoEntrada.getOdts()) {\n\t\t\tOrdenDeTrabajo odt = new OrdenDeTrabajo();\n\t\t\todt.setAvance(EAvanceODT.getById(odtTO.getIdAvance()));\n\t\t\todt.setCodigo(odtTO.getCodigo());\n\t\t\t//el estado más problable es EN_OFICINA que significa que del otro lado tenía RemitoDeSalida (ver llamada OrdenDeTrabajoFacade.cambiarODTAOficina) si es así => se cambia a EN_PROCESO (estado anterior)\n\t\t\t//caso contrario se deja el estado que tenía\n\t\t\todt.setEstadoODT(odtTO.getIdEstadoODT() == EEstadoODT.EN_OFICINA.getId() ? EEstadoODT.EN_PROCESO : EEstadoODT.getById(odtTO.getIdEstadoODT()));\n\t\t\todt.setFechaODT(new Timestamp(odtTO.getTimestampFechaODT()));\n\t\t\todt.setMaquinaActual(odtTO.getIdMaquinaActual() == null ? null : maqDAO.getReferenceById(odtTO.getIdMaquinaActual()));\n\t\t\todt.setMaquinaPrincipal(odtTO.getIdMaquinaPrincipal() == null ? null : maqDAO.getReferenceById(odtTO.getIdMaquinaPrincipal()));\n\t\t\todt.setOrdenEnMaquina(odtTO.getOrdenEnMaquina());\n\t\t\todt.setProductoArticulo(paDAO.getReferenceById(odtTO.getIdProductoArticulo()));\n\t\t\todt.setRemito(re);\n\t\t\todt.getPiezas().addAll(getPiezasODT(odt, odtTO.getPiezas(), piezasRemitoMap));\n\t\t\todt.setSecuenciaDeTrabajo(secuenciaODTFromTO(odt, odtTO.getSecuenciaDeTrabajo()));\n\t\t\todtList.add(odt);\n\t\t\ttransiciones.addAll(transicionesEntityFromTOWSList(odt, odtTO.getTransiciones()));\n\t\t\t\n\t\t\t//de nuevo, si estado anterior es EN_OFICINA => estoy trayendo una transición de más, que es el pasaje a EN_OFICINA\n\t\t\t//rastreo esa transición (es la última) y no la incluyo en la lista de transiciones a grabar\n\t\t\tif(odtTO.getIdEstadoODT() == EEstadoODT.EN_OFICINA.getId() && !transiciones.isEmpty()) {\n\t\t\t\tList<TransicionODT> transicionesTmp = new ArrayList<TransicionODT>();\n\t\t\t\tfor(int i=0; i < transiciones.size()-1; i++) {//recorro todas menos la última\n\t\t\t\t\ttransicionesTmp.add(transiciones.get(i));\n\t\t\t\t}\n\t\t\t\ttransiciones.clear();\n\t\t\t\ttransiciones.addAll(transicionesTmp);\n\t\t\t\t\n\t\t\t\t//y ahora para dejar todo consistente debo setear la máq. de la última transición ya que eso determina el estado de la ODT dentro de visión general\n\t\t\t\tif(!transiciones.isEmpty()) {\n\t\t\t\t\tTransicionODT ultTransicion = transiciones.get(transiciones.size() - 1);\n\t\t\t\t\tif(ultTransicion.getMaquina() != null) {\n\t\t\t\t\t\todt.setMaquinaActual(ultTransicion.getMaquina());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t//Construyo las Transiciones\n\t\tremitoEntradaFacade.saveWithTransiciones(re, odtList, transiciones, usuarioSistema);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "47d62cdc1ff595a2c0358c82747967bf", "score": "0.5488741", "text": "Ingrediente createIngrediente();", "title": "" }, { "docid": "1e6e4f3290c6cd6f21f89385eab245c3", "score": "0.54867995", "text": "@PostMapping(\"/enderecos\")\n @ApiOperation(value=\"Cria um objeto do tipo Endereço\")\n public ResponseEntity<Endereco> createEndereco(@RequestBody Endereco endereco) throws URISyntaxException {\n log.debug(\"REST request to save Endereco : {}\", endereco);\n if (endereco.getId() != null) {\n \t return ResponseEntity.notFound().build();\n }\n Endereco result = enderecoRepository.save(endereco);\n return ResponseEntity.created(new URI(\"/api/enderecos/\" + result.getId()))\n .body(result);\n }", "title": "" }, { "docid": "3ff1d25b432060b4bd5e683a646a04e0", "score": "0.54838914", "text": "public void registrar(){\n\t\tSystem.out.println(\"Proveedor !!!\");\n\t\t//invocar el servicio\n\t\tProveedor proveedor=getProveedor();\n\t\tproveedorService.insertProveedor(proveedor);\n\t\t//limpia los valores del objeto\n\t\tsetProveedor(new Proveedor());\n\t\t//se actualiza los valores de la tabla\n\t\tsetlistaProveedor(proveedorService.findAllProveedor());\n\t\tgetlistaProveedor();\n\t}", "title": "" }, { "docid": "7005344cfd17cb204847103f40cf1c1f", "score": "0.54829764", "text": "@Transactional\r\npublic interface ClienteRepository extends JpaRepository<Cliente,Long> {\r\n\r\n Cliente findByUsuarioActivacionAndEstatus(Usuario usuario_activacion, String estatus);\r\n Cliente findOneByIdclienteAndEstatus(Long id, String estatus);\r\n Cliente findOneByIdcliente(Long id);\r\n\r\n}", "title": "" }, { "docid": "3400c53a7290db9090815daa8336a5a4", "score": "0.5480115", "text": "public RetencionVentaLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.retencionventaDataAccess = new RetencionVentaDataAccess();\r\n\t\t\t\r\n\t\t\tthis.retencionventas= new ArrayList<RetencionVenta>();\r\n\t\t\tthis.retencionventa= new RetencionVenta();\r\n\t\t\t\r\n\t\t\tthis.retencionventaObject=new Object();\r\n\t\t\tthis.retencionventasObject=new ArrayList<Object>();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList<DatoGeneral>();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.retencionventaDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.retencionventaDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }", "title": "" }, { "docid": "6eb00c40ad2e2f629e074b17b6740411", "score": "0.5478858", "text": "private PorraRellenada convertirPorraAPorraRellenada(Porra porra) {\r\n\t\tPorraRellenada result = new PorraRellenada();\r\n\t\tresult.setPorra(porra);\r\n\t\tPartidoRellenado partidoRellenado;\r\n\t\tList<PartidoRellenado> partidosRellenados = new ArrayList<PartidoRellenado>();\r\n\t\tfor (Partido partido : porra.getPartidos()) {\r\n\t\t\tpartidoRellenado = new PartidoRellenado();\r\n\t\t\tpartidoRellenado.setLocal(partido.getLocal());\r\n\t\t\tpartidoRellenado.setOrdinal(partido.getOrdinal());\r\n\t\t\tpartidoRellenado.setVisitante(partido.getVisitante());\r\n\t\t\tpartidosRellenados.add(partidoRellenado);\r\n\t\t}\r\n\t\tresult.setPartidosRellenados(partidosRellenados);\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "874f408b254814c704f4dec3a90c34d9", "score": "0.54741615", "text": "@Override\n\tpublic Residuo registrarResiduo(Residuo residuo) {\n\t\treturn residuoDao.save(residuo);\n\t}", "title": "" }, { "docid": "67651345f1dae61bd533539f004dd690", "score": "0.54733044", "text": "@Override\r\n\tpublic Resultado aprobarDocumentoTecnico(EvaluacionDocumentoResponse item, TransactionRequest request)\r\n\t\t\tthrows Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tDate dateUpdate = new Date();\r\n\t\tInteger idDocumento;\r\n\t\t/*\r\n\t\t * if\r\n\t\t * (item.getIdcatalogotiponecesidad().equals(Constantes.tipoNecesidad.\r\n\t\t * TIPO_NECESIDAD_PROGRAMADO)) { Pacprogramado programado =\r\n\t\t * pacprogramadoMapper.selectByPrimaryKeyBasic(item.getIdPacProgramado()\r\n\t\t * ); programado.setEstado(Constantes.estadosPorEtapa.\r\n\t\t * DOCUMENTO_TECNICO_APROBADO);\r\n\t\t * programado.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * programado.setUsuariomodificacionauditoria(request.\r\n\t\t * getUsuarioAuditoria());\r\n\t\t * programado.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * \r\n\t\t * idDocumento = programado.getIdpacprogramado();\r\n\t\t * pacprogramadoMapper.updateByPrimaryKey(programado); } else { Pedido\r\n\t\t * pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\t * pedido.setEstadopedido(Constantes.estadosPorEtapa.\r\n\t\t * DOCUMENTO_TECNICO_APROBADO);\r\n\t\t * pedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\t * pedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t * pedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria())\r\n\t\t * ;\r\n\t\t * \r\n\t\t * idDocumento = pedido.getIdpedido();\r\n\t\t * pedidoMapper.updateByPrimaryKey(pedido); }\r\n\t\t */\r\n\t\t// SE UTILIZA LA MISMA TABLA PARA PROGRAMADOS Y NO PROGRAMDOS, tabla de\r\n\t\t// pedido\r\n\t\tPedido pedido = pedidoMapper.selectByPrimaryKeyBasic(item.getIdpedido());\r\n\t\tpedido.setEstadopedido(Constantes.estadosPorEtapa.DOCUMENTO_TECNICO_APROBADO);\r\n\t\tpedido.setFechamodificacionauditoria(dateUpdate);\r\n\t\tpedido.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\tpedido.setUsuariomodificacionauditoria(request.getUsuarioAuditoria());\r\n\r\n\t\tidDocumento = pedido.getIdpedido();\r\n\t\tpedidoMapper.updateByPrimaryKey(pedido);\r\n\r\n\t\t// Insertamos históricos de estados\r\n\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.DOCUMENTO_TECNICO_APROBADO);\r\n\t\t// Estadosportipodocumento estados =\r\n\t\t// estadosportipodocumentoMapper.selectByEtapaTipoDocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO,\r\n\t\t// Constantes.estadosPorEtapa.EN_REVISION_DE_DOCUMENTO_TECNICO);\r\n\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\tif (estado != null) {\r\n\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\trecord.setNrodocumento(idDocumento); // item.getIdpedido()\r\n\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\trecord.setIdtipodocumento(Constantes.tipoDocumento.DOCUMENTO_TECNICO);\r\n\t\t\trecord.setFechaingreso(date);\r\n\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\r\n\t\t\t// record.setIdestadosporetapapordocumento((int)utilsBusiness.getNextSeqTemporal(pe.com.sisabas.resources.Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "8dc315100b50fe43673547242d034c37", "score": "0.5472137", "text": "@Override\t\n\tpublic List<Docente> retornar() {\n\t\treturn docenteDao.retornar();\n\t}", "title": "" }, { "docid": "85323ebc836211daa6451fef2adc3bb3", "score": "0.5471021", "text": "public void apresentarResumo();", "title": "" }, { "docid": "d4a4f2b33ac38315cfa1e2ec5d59ea91", "score": "0.546761", "text": "@Test\n public void findTest()\n {\n ResenaEntity entity = data.get(0);\n ResenaEntity newEntity = resenaPersistence.find(entity.getId());\n Assert.assertNotNull(newEntity);\n Assert.assertEquals(entity.getId(), newEntity.getId());\n Assert.assertEquals(entity.getCalificacion(), newEntity.getCalificacion());\n \n }", "title": "" }, { "docid": "64e0dfe11a020961e428d0b8abfa6118", "score": "0.54642266", "text": "boolean insertarTransaccionContable(\n contabilidad.entity.ConContable conContable,\n java.util.List<contabilidad.entity.ConDetalle> listaConDetalle,\n sistemaWeb.entity.SisSuceso sisSuceso,\n contabilidad.entity.ConNumeracion conNumeracion,\n java.util.List<rrhh.entity.RhAnticipo> rhAnticipos,\n rrhh.entity.RhPrestamo rhPrestamo,\n rrhh.entity.RhVacaciones rhVacaciones,\n rrhh.entity.RhViatico rhViatico,\n java.util.List<rrhh.entity.RhBono> rhBonos,\n java.util.List<rrhh.entity.RhRol> rhRoles,\n java.util.List<rrhh.entity.RhXiiiSueldo> rhXiiiSueldos,\n java.util.List<rrhh.entity.RhXivSueldo> rhXivSueldos,\n java.util.List<rrhh.entity.RhUtilidades> rhUtilidades,\n rrhh.entity.RhSalarioDigno rhSalarioDigno,\n boolean provisiones,\n rrhh.entity.RhEmpleado rhEmpleado,\n cartera.entity.CarPagos carPagos,\n java.util.List<cartera.entity.CarPagosDetalleAnticipos> carPagosDetalleAnticiposes,\n java.util.List<cartera.entity.CarPagosDetalleCompras> carPagosDetalleCompras,\n java.util.List<cartera.entity.CarPagosDetalleForma> carPagosDetalleFormas,\n inventario.entity.InvCompras invCompras,\n cartera.entity.CarCobros carCobros, \n java.util.List<cartera.entity.CarCobrosDetalleAnticipos> carCobrosDetalleAnticiposes, \n java.util.List<cartera.entity.CarCobrosDetalleVentas> carCobrosDetalleVentas, \n java.util.List<cartera.entity.CarCobrosDetalleForma> carCobrosDetalleFormas,\n java.util.List<inventario.entity.InvVentas> invVentas,\n cartera.entity.CarPagosAnticipos carPagosAnticipos,\n cartera.entity.CarCobrosAnticipos carCobrosAnticipos,\n banco.entity.BanCheque banCheque, \n sistema.TO.SisInfoTO sisInfoTO) throws java.lang.Exception;", "title": "" }, { "docid": "ebe15a487735ed30c5ffbc1f6d49d5a3", "score": "0.5457984", "text": "public Vendedor obtenerVendedorPorCodigo(long codigoVendedor) {\n Vendedor vendedor = new Vendedor();\n\n // Consulta para realizar en base de datos\n MapSqlParameterSource map = new MapSqlParameterSource();\n map.addValue(\"codigo\", codigoVendedor);\n SqlRowSet sqlRowSet = springDbMgr.executeQuery(\"select vendedor.codigo codigo, \"\n + \" vendedor.nombre nombre, \"\n + \" vendedor.apellido apellido, \"\n + \" vendedor.direccion direccion, \"\n + \" vendedor.telefono telefono, \"\n + \" vendedor.fechaNacimiento fechaNacimiento, \"\n + \" vendedor.fechaIngreso fechaI, \"\n + \" vendedor.idTienda idTienda \"\n \n + \"from vendedor \"\n + \"ORDER BY vendedor.codigo desc\");\n\n // Consulto si el vendedor existe\n if (sqlRowSet.next()) {\n // Almaceno los datos de la tienda\n vendedor.setCodigo(sqlRowSet.getInt(\"codigo\"));\n vendedor.setNombre(sqlRowSet.getString(\"nombre\"));\n vendedor.setApellido(sqlRowSet.getString(\"apellido\"));\n vendedor.setDireccion(sqlRowSet.getString(\"direccion\"));\n vendedor.setTelefono(sqlRowSet.getString(\"telefono\"));\n vendedor.setFechaNacimiento(sqlRowSet.getDate(\"fechaNacimiento\"));\n vendedor.setFechaIngreso(sqlRowSet.getDate(\"fechaI\"));\n vendedor.setNombreTienda(sqlRowSet.getInt(\"idTienda\"));\n \n }\n\n // Retorna el vendedor desde base de datos\n return vendedor;\n }", "title": "" }, { "docid": "763a7e1f575999915f851fba98613cbd", "score": "0.5455378", "text": "public void consultarRadicarExcepcion() {\n LOGGER.debug(\"RadicarExcepcionMB::consultarRadicarExcepcion()\");\n ConsultaSeguimientoHolderFL consultaSegHolderFL = findFlowObject(ConsultaSeguimientoHolderFL.class,\n ConsultaSeguimientoHolderFL.NOMBRE_BEAN);\n RadicarExcepcionFL radicarExcepcionFL = findFlowObject(RadicarExcepcionFL.class,\n RadicarExcepcionFL.NOMBRE_BEAN);\n radicarExcepcionFL.getRegistroRadicarExcepcionDTO().setRadicarExcepcionDTO(\n iRCoactivo.consultarRadicarExcepcion(consultaSegHolderFL.getSegSeleccionado().getIdCoactivo()));\n }", "title": "" }, { "docid": "8da315f3bd9dc0998ced4bd2b2698a50", "score": "0.5455221", "text": "private static void registrarAuditoriaDetallesDetalleAsientoContable(Connexion connexion,DetalleAsientoContable detalleasientocontable)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_empresa().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_sucursal().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_sucursal().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_sucursal()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_sucursal().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDSUCURSAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_asiento_contable().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_asiento_contable().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_asiento_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_asiento_contable().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDASIENTOCONTABLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getnumero_documento().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_documento();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getnumero_documento()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getnumero_documento() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.NUMERODOCUMENTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_ejercicio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_ejercicio().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_ejercicio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_ejercicio().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDEJERCICIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_periodo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_periodo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_periodo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_periodo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDPERIODO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_anio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_anio().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_anio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_anio().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDANIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_mes().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_mes().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_mes()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_mes().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDMES,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_cuenta_contable().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_cuenta_contable().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_cuenta_contable()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_cuenta_contable().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCUENTACONTABLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdebito_local().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_local().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getdebito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getdebito_local().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DEBITOLOCAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcredito_local().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_local().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcredito_local()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcredito_local().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CREDITOLOCAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdebito_extran().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdebito_extran().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getdebito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getdebito_extran().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DEBITOEXTRAN,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcredito_extran().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcredito_extran().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcredito_extran()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcredito_extran().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CREDITOEXTRAN,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_centro_actividad().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_actividad().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_centro_actividad()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_centro_actividad().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCENTROACTIVIDAD,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_centro_costo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_centro_costo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_centro_costo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDCENTROCOSTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcotizacion().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcotizacion().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcotizacion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcotizacion().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.COTIZACION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getdetalle().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getdetalle();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getdetalle()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getdetalle() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.DETALLE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getid_tipo_cambio().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getid_tipo_cambio().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getid_tipo_cambio()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getid_tipo_cambio().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.IDTIPOCAMBIO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getcon_centro_costo().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getcon_centro_costo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getcon_centro_costo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getcon_centro_costo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.CONCENTROCOSTO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getfecha().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getfecha()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getfecha()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getfecha().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getfecha()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getfecha().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.FECHA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(detalleasientocontable.getIsNew()||!detalleasientocontable.getnumero_deposito().equals(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=detalleasientocontable.getDetalleAsientoContableOriginal().getnumero_deposito();\r\n\t\t\t\t}\r\n\t\t\t\tif(detalleasientocontable.getnumero_deposito()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=detalleasientocontable.getnumero_deposito() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),DetalleAsientoContableConstantesFunciones.NUMERODEPOSITO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}", "title": "" }, { "docid": "ddab0bf49a64efddd7bd845f9afa0f50", "score": "0.5455173", "text": "public void gravarPersistencia(String registro){\n\t}", "title": "" }, { "docid": "8d799f01e7873178ffe39b3a56c2f957", "score": "0.5453954", "text": "public RespuestaBD crearRegistro(int idActividad, int idUsuario, int codigoPoa, String estado, String usuarioInsercion) {\n/* 270 */ RespuestaBD rta = new RespuestaBD();\n/* */ \n/* */ try {\n/* 273 */ String s = \"insert into POA_ACTIVIDAD_RESPONSABLE(id_actividad,id_usuario,codigo_poa,estado,fecha_insercion,usuario_insercion) values (\" + idActividad + \",\" + \"\" + idUsuario + \",\" + \"\" + codigoPoa + \",\" + \"'\" + estado + \"',\" + \"\" + Utilidades.getFechaBD() + \",\" + \"'\" + usuarioInsercion + \"'\" + \")\";\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 288 */ rta = this.dat.executeUpdate2(s);\n/* */ }\n/* 290 */ catch (Exception e) {\n/* 291 */ e.printStackTrace();\n/* 292 */ Utilidades.writeError(\"%PoaActividadResponsableDAO:crearRegistro \", e);\n/* 293 */ rta.setMensaje(e.getMessage());\n/* */ } \n/* 295 */ return rta;\n/* */ }", "title": "" }, { "docid": "d7e02194e7584444c65c7b7bc58c8f12", "score": "0.544553", "text": "@Override\r\n\tpublic Resultado derivarExpediente(TransactionRequest<PacConsolidadoDto> request) throws Exception {\n\t\tResultado result = new Resultado(true, Constantes.mensajeGenerico.REGISTRO_CORRECTO);\r\n\t\tPacConsolidadoDto pac = request.getEntityTransaction();\r\n\t\tPacconsolidado pacEdit = pacconsolidadoMapper.selectByPrimaryKeyBasic(pac.getIdPacConsolidado());\r\n\t\tif (pacEdit != null) {\r\n\t\t\tpacEdit.setFechaaprobacionexpediente(new Date());\r\n\t\t\tpacEdit.setEstadorequerimiento(Constantes.estadosPorEtapa.REMITIDO_A_PROCESOS);\r\n\t\t\tpacconsolidadoMapper.updateByPrimaryKey(pacEdit);\r\n\r\n\t\t\t// STATUS: REMITIDO_A_PROCESOS\r\n\t\t\tEstadosportipodocumento param = new Estadosportipodocumento();\r\n\t\t\tparam.setIdtipodocumento(Constantes.tipoDocumento.PROCESO);\r\n\t\t\tparam.setIdestadosporetapa(Constantes.estadosPorEtapa.REMITIDO_A_PROCESOS);\r\n\r\n\t\t\tEstadosportipodocumento estado = estadosportipodocumentoMapper.selectByEtapaTipoDocumento(param);\r\n\t\t\tif (estado != null) {\r\n\t\t\t\tjava.util.Date date = new java.util.Date();\r\n\t\t\t\tEstadosporetapapordocumento record = new Estadosporetapapordocumento();\r\n\t\t\t\trecord.setNrodocumento(pac.getIdPacConsolidado());\r\n\t\t\t\trecord.setIdestadosportipodocumento(estado.getIdestadosportipodocumento());\r\n\t\t\t\trecord.setFechaingreso(date);\r\n\t\t\t\trecord.setFechacreacionauditoria(date);\r\n\t\t\t\trecord.setUsuariocreacionauditoria(request.getUsuarioAuditoria());\r\n\t\t\t\trecord.setEquipoauditoria(request.getEquipoAuditoria());\r\n\t\t\t\trecord.setIdestadosporetapapordocumento(\r\n\t\t\t\t\t\t(int) utilsBusiness.getNextSeq(Sequence.SEQ_ESTADOSPORETAPAPORDOCUMENTO).longValue());\r\n\r\n\t\t\t\trecord.setEstadoauditoria(Constantes.estadoAuditoria.ACTIVO);\r\n\t\t\t\testadosporetapapordocumentoMapper.insert(record);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "9807db146c0bc42d10fc8dec3c76e7c8", "score": "0.5434085", "text": "int insert(SupervisorEntidad record);", "title": "" }, { "docid": "4b8fa854df0ecb145a952e0521c3f42c", "score": "0.543375", "text": "public IngresoEgreso(){\n\t}", "title": "" }, { "docid": "e8ce7907ebe641119d59c955a32955bc", "score": "0.5430562", "text": "private void readWriteData() throws Exception {\n\t\t// create an instance of Resolucao\n\t\tResolucao resolucao = new Resolucao();\n\t\tresolucao.setPassos(\"\");\n\n\t\t// persist the account object to the database\n\t\t\t\t\n\t\tList<Resolucao> resolucoes = resolucaoDao.queryForAll();\n\t\t\t\t\t\t\n\t\tfor(Resolucao res: resolucoes){\n\t\t\tSystem.out.println(\"Resolucao \"+res.getId()+\": \"+res.getPassos());\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "d185d876775def0767cf7c2162ebc532", "score": "0.54262453", "text": "@RooService(entity = Budynek.class)\npublic interface BudynekService extends EntityResolver<Budynek, Long>, ValidatorService<Budynek> {\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param id\n * @return Budynek\n */\n public abstract Budynek findOne(Long id);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n */\n public abstract void delete(Budynek budynek);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param entities\n * @return List\n */\n public abstract List<Budynek> save(Iterable<Budynek> entities) throws PSQLException;\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param ids\n */\n public abstract void delete(Iterable<Long> ids);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param entity\n * @return Budynek\n */\n public abstract Budynek save(Budynek entity) throws PSQLException;\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param id\n * @return Budynek\n */\n public abstract Budynek findOneForUpdate(Long id);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param ids\n * @return List\n */\n public abstract List<Budynek> findAll(Iterable<Long> ids);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @return List\n */\n public abstract List<Budynek> findAll();\n\n /**\n * TODO Auto-generated method documentation\n *\n * @return Long\n */\n public abstract long count();\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param globalSearch\n * @param pageable\n * @return Page\n */\n public abstract Page<Budynek> findAll(GlobalSearch globalSearch, Pageable pageable);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param ids\n * @param globalSearch\n * @param pageable\n * @return Page\n */\n public abstract Page<Budynek> findAllByIdsIn(List<Long> ids, GlobalSearch globalSearch, Pageable pageable);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n * @param saleToAdd\n * @return Budynek\n */\n public abstract Budynek addToSale(Budynek budynek, Iterable<Long> saleToAdd);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n * @param saleToRemove\n * @return Budynek\n */\n public abstract Budynek removeFromSale(Budynek budynek, Iterable<Long> saleToRemove);\n\n /**\n * TODO Auto-generated method documentation\n *\n * @param budynek\n * @param sale\n * @return Budynek\n */\n public abstract Budynek setSale(Budynek budynek, Iterable<Long> sale);\n}", "title": "" }, { "docid": "7f0464cd1bb3a4e687dd08752abf37e7", "score": "0.5420553", "text": "int insert(Pincidencia record);", "title": "" }, { "docid": "e6bcf6cee4d08f55df08d08a77b902e9", "score": "0.54176694", "text": "@Override\n public Entity getEspecificList(Entity e) throws SQLException {\n\n ListaDeReproduccion lista = (ListaDeReproduccion) e;\n Integer idListaBuscada = lista.getIdLista();\n CallableStatement preStatement = null;\n ResultSet resultSet = null;\n Connection conn;\n\n try {\n //Creando la instancia de Conexion a la BD\n conn = getBdConnect();\n //Invocando el SP\n preStatement = conn.prepareCall(\"{call m05_obtenerlistaespecifica(?)}\"); //HAY QUE AGREGAR ESTE METODO A POSTGRE\n //Seteo lo que le estoy mandando al procedimiento con ese \"?\"\n preStatement.setInt(1,idListaBuscada);\n //Ejecucion del query\n resultSet = preStatement.executeQuery();\n while (resultSet.next()) {\n\n int idLista = resultSet.getInt(\"LIS_REP_ID\");\n String nombre = resultSet.getString(\"LIS_REP_NOMBRE\");\n String descripcion = resultSet.getString(\"LIS_REP_DESCRIPCION\");\n String imagen = resultSet.getString(\"LIS_REP_IMG\");\n String fechaCreacion = resultSet.getString(\"LIS_REP_FECHA\");\n int numReproducciones = resultSet.getInt(\"LIS_REP_NUMREP\");\n int idUsuario = resultSet.getInt(\"id_usu\");\n\n lista = (ListaDeReproduccion) EntityFactory.listaDeReproduccion(idLista, nombre, descripcion, imagen, numReproducciones, fechaCreacion, idUsuario);\n\n }\n resultSet.close();\n\n } catch (SQLException e1) {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n\n System. out. println(e1.getMessage());\n }\n catch(Exception ex)\n {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n }\n finally {\n closeConnection();\n }\n return lista;\n }", "title": "" }, { "docid": "3bc411aa3d54f26225c1aa6a6cf2d768", "score": "0.5414311", "text": "public boolean agregaVenta(Venta venta) {\n\n\t\tint llave;\n\n\t\ttry {\n\t\t\t// Crea el statement\n\t\t\t//Statement statement = ManejadorBD.dameConnection().createStatement();\n\t\t\tquery=\"insert into Ventas values (DEFAULT,'\"+venta.dameNombreCliente()+\"','\"+venta.dameApellidoCliente()+\"','\"+venta.dameFechaInicio()+\"',\"+venta.dameTipoPago()+\",\"+venta.damePagoTotal()+\")\";\n\t\t\t// Envia instruccion SQL, nota el DEFAULT es para insertar la llave \n\t\t\t//statement.execute(\"insert into Ventas values (DEFAULT,'\"+venta.dameNombreCliente()+\"','\"+venta.dameApellidoCliente()+\"','\"+venta.dameFechaInicio()+\"',\"+venta.dameTipoPago()+\",\"+venta.damePagoTotal()+\")\",Statement.RETURN_GENERATED_KEYS);\n\t\t\t//ResultSet rs = statement.getGeneratedKeys(); // Recupera la llave\n\t\t\tconexion.ejecutarSQL(query);\n\t\t\tquery=\"select * from Apartados\";\n\t\t\trs=conexion.ejecutarSQLSelect(query);\n\t\t\tif (rs != null && rs.next()) {\n\t\t\t llave = rs.getInt(1);\n\t\t\t venta.cambiaId(llave); // Asigna la llave al producto\n\t\t\t System.out.println(\"venta agregada\");\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\n\t\t\t// Cacha excepcion\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "2b1718eff6bfd38a61c75402b70093fe", "score": "0.5406229", "text": "public Empresa save(Empresa empresa);", "title": "" }, { "docid": "7857a7aecf0c3e8b757096a653c060e3", "score": "0.54061776", "text": "public Result save(String cep, String solicitacaoBairro, String solicitacaoEndereco, String solicitacaoDescricao, String enderecoReferencia)\r\n\t{\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t/*\r\n\t\t\tString cep = resultado.get(\"cep\").asText();\r\n\t\t\tString solicitacaoBairro = resultado.get(\"solicitacaoBairro\").asText();\r\n\t\t\tString solicitacaoEndereco = resultado.get(\"solicitacaoEndereco\").asText();\r\n\t\t\tString solicitacaoDescricao = resultado.get(\"solicitacaoDescricao\").asText();\r\n\t\t\tString enderecoReferencia = resultado.get(\"enderecoReferencia\").asText(); \r\n\t\t\tint statusAux = resultado.get(\"status\").intValue();\r\n\t\t\tSTATUS status = STATUS.values()[statusAux];\r\n\t\t\tFloat latitude = resultado.get(\"latitude\").floatValue();\r\n\t\t\tFloat longitude = resultado.get(\"longitude\").floatValue();\r\n\t\t\tLong processoNumero = resultado.get(\"processoNumero\").longValue();\r\n\t\t\tDate dataSolicitacao = Date.valueOf(resultado.get(\"dataSolicitacao\").asText());\r\n\t\t\tDate dataAceitacao = Date.valueOf(resultado.get(\"dataAceitacao\").asText());\r\n\t\t\tint riscoAux = resultado.get(\"risco\").intValue();\r\n\t\t\tRISCO risco = RISCO.values()[riscoAux];\r\n\t\t\tLong avaliadorID = resultado.get(\"avaliadorID\").asLong();\r\n\t\t\t*/\r\n\t\t\r\n\t\t\t\r\n\t\t\tPontoRisco ponto = new PontoRisco(cep, solicitacaoBairro, solicitacaoEndereco, solicitacaoDescricao, enderecoReferencia);\r\n\t\t\tponto.save();\r\n\t\t\treturn ok(Json.toJson(ponto));\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b46f416b503f908efdc8f31840d488d6", "score": "0.5405346", "text": "public RestauranteEntity getRestaurante(String nombre, String nit) {\n LOGGER.log(Level.INFO, \"Inicia proceso de consultar un restaurante del evento con nombre = {0}\", nombre);\n List<RestauranteEntity> list = getEvento(nombre).getRestaurantes();\n RestauranteEntity entity = new RestauranteEntity();\n entity.setNit(nit);\n int index = list.indexOf(entity);\n if (index >= 0) {\n return list.get(index);\n }\n return null;\n }", "title": "" }, { "docid": "0cddc28a83eff98097dace797957e708", "score": "0.5405269", "text": "private void calificar() throws Exception{\n pagina(\"salidaGenerica\");\n \n DTOComunicarParticipantes dto = new DTOComunicarParticipantes();\n \n String clientes = conectorParametroLimpia(\"oidClientes\", \"\", true);\n String posiciones = conectorParametroLimpia(\"posiciones\", \"\", true);\n traza(\"las posiciones \" + posiciones);\n ArrayList oidsClientes = new ArrayList();\n ArrayList numPosiciones = new ArrayList();\n \n StringTokenizer tokTemp = new StringTokenizer(clientes, \",\");\n StringTokenizer tokTempPos = new StringTokenizer(posiciones, \",\");\n \n while (tokTemp.hasMoreTokens()) {\n oidsClientes.add( new Long(tokTemp.nextToken()));\n }\n \n while (tokTempPos.hasMoreTokens()) {\n numPosiciones.add( new Long(tokTempPos.nextToken()));\n }\n \n \n dto.setClientes((Long[])oidsClientes.toArray(new Long[oidsClientes.size()]));\n dto.setPosicion((Long[])numPosiciones.toArray(new Long[numPosiciones.size()]));\n dto.setOidPais(UtilidadesSession.getPais(this));\n\t dto.setOidIdioma(UtilidadesSession.getIdioma(this));\n dto.setOidConcurso(new Long(conectorParametroLimpia(\"oidConcurso\", \"\", true)));\n dto.setOidTipoPremio(new Long(conectorParametroLimpia(\"oidTipoPremio\", \"\", true)));\n dto.setOidNivelPremiacion(new Long(conectorParametroLimpia(\"oidNivelPremiacion\", \"\", true)));\n \n traza(\"el dto: \" + dto);\n MareBusinessID id = new MareBusinessID(\"INCCalificar\");\n Vector vec = new Vector();\n \n vec.add(dto);\n vec.add(id);\n \n DruidaConector con;\n \n con = conectar(\"ConectorCalificar\", vec);\n \n \n }", "title": "" }, { "docid": "2d4f88c0900c7237a296cfc3c2d50b88", "score": "0.5395917", "text": "@Transactional\n\tpublic Reserva_servicio create(Reserva_servicio rs) {\n\t\treturn this.rsRepository.save(rs);\n\t}", "title": "" }, { "docid": "92c42ae95a7c531f11e274e2a799bd9c", "score": "0.53895074", "text": "private void citireInregistrari() {\n \n try {\n //Step 2: Inregistrarea driverului JDBC\n Class.forName(\"org.mariadb.jdbc.Driver\");\n //Step 3: Deschiderea unei conexiuni\n System.out.println(\"Conexiune la baza de date.....\");\n conn = DriverManager.getConnection(DB_URL);\n System.out.println(\"Crearea Statement .............\");\n //Step 4: Executarea unei interogari\n stm = conn.createStatement();\n String sql = \"SELECT id, nume, prenume, varsta FROM REGISTRATION\";\n ResultSet rs = stm.executeQuery(sql);\n //Step 5: Extragerea datelor din ResultSet rs\n printColoane();\n while (rs.next()){\n int id = rs.getInt(\"id\");\n int varsta = rs.getInt(\"varsta\");\n String nume = rs.getString(\"nume\");\n String prenume = rs.getString(\"prenume\");\n printSiruri(id, varsta, nume, prenume);\n \n// System.out.print(\"ID: \"+id);\n// System.out.print(\" VARSTA: \"+varsta);\n// System.out.print(\" NUME: \"+nume);\n// System.out.print(\" PRENUME: \"+prenume);\n }\n rs.close();\n \n } catch (SQLException ex) {\n ex.printStackTrace();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n try {\n if(stm != null) conn.close();\n } catch (SQLException e) {\n //nu adaugam nimic\n }\n try {\n if(conn != null) conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"\\nLA REVEDERE!\");\n }", "title": "" }, { "docid": "a9a94a258d52bb4d1d5faff48beadf25", "score": "0.538573", "text": "@Override\n @Transactional\n public List<Reservation> getResaByLivreId(Integer livreId) throws FunctionalException {\n if (livreId <= 0) throw new FunctionalException(\"Les données sont incorrectes\");\n else {\n resaListReturn=resaDao.getResaByLivreId(livreId);\n return resaListReturn;\n }\n }", "title": "" }, { "docid": "59f52d083e4e40e0bb573571e7b0add7", "score": "0.53717786", "text": "public void recuperarSuper(){\n \r\n produtoDAO = new ProdutosDao();\r\n this.produtosLDM = new ListDataModel(produtoDAO.recuperarTodosProdutosSuper(idSupermercado));\r\n }", "title": "" }, { "docid": "f3ca3cb65e305c4f64690a82a67e6596", "score": "0.53699833", "text": "private static void registrarAuditoriaDetallesTipoDiscapacidad(Connexion connexion,TipoDiscapacidad tipodiscapacidad)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getid_empresa().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getid_empresa().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getid_empresa()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getid_empresa().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.IDEMPRESA,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getnombre().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getnombre();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getnombre() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.NOMBRE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getporcentaje_inicial().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_inicial().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getporcentaje_inicial()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getporcentaje_inicial().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.PORCENTAJEINICIAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(tipodiscapacidad.getIsNew()||!tipodiscapacidad.getporcentaje_final().equals(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=tipodiscapacidad.getTipoDiscapacidadOriginal().getporcentaje_final().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(tipodiscapacidad.getporcentaje_final()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=tipodiscapacidad.getporcentaje_final().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),TipoDiscapacidadConstantesFunciones.PORCENTAJEFINAL,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}", "title": "" }, { "docid": "b6e2313c37014ccd80a4225bd61cd4ea", "score": "0.5369646", "text": "@Test\n\t@UsingDataSet({ \"persona.json\" })\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\tpublic void buscarRecolectorTest() {\n\n\t\tRecolector recolector = entityManager.find(Recolector.class, \"323456789\");\n\t\tAssert.assertNotNull(recolector);\n\n\t}", "title": "" }, { "docid": "fad19aa0e946f1328262be6bba72708a", "score": "0.5368466", "text": "public Cesta recuperarPedidos() throws ClassNotFoundException, SQLException {\n conectar();\n int precioFinal = 0;\n sql = \"Select nombrePro , precio , nombre_cat , id_pedido\\n\"//Select que recoge los productos con su id de pedido correspondiente\n + \"from pedido_producto , producto\\n\"\n + \"where nombrePro = producto_pedidos order by nombre_cat;\";\n rs = stmt.executeQuery(sql);\n while (rs.next()) {//Recorre los resultados obtenidos por el select \n pro = new Producto(rs.getString(\"nombrePro\"), rs.getInt(\"precio\"), rs.getString(\"nombre_cat\"));//Instancia de un objeto de la clase producto al que se le pasan los datos recogidos de la BBDD\n cest.getProductosRecogidos().add(pro);//Agrega el producto instanciado a un array de productos recogidos \n cest.getIdPedido().add(rs.getInt(\"id_pedido\"));//Agrega el id del pedido de cada producto a un array de id's\n precioFinal = precioFinal + rs.getInt(\"precio\");//Incrementa el precio final con el precio de cada producto recogido\n }\n cest.setPrecioFinal(precioFinal);\n return cest;\n }", "title": "" }, { "docid": "84b23da99531cb8b00754fe7ac535bc4", "score": "0.53589606", "text": "public List<ReferenciaComercianteDTO> getReferenciasComerciante(String tipoIdentificacion, String identificacion, ClienteDTO cliente) {\n List<ReferenciaComercianteDTO> response = new ArrayList<ReferenciaComercianteDTO>();\r\n try {\r\n \t// INDIVIDUAL\r\n \tif (TipoPersona.N.equals(cliente.getTipoPersona())) {\r\n\t List<ReferenciaComercianteDatoContador> rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\r\n\t List<ReferenciaComerciante> rcs = this.catalogoService.findReferenciaComercianteByCliente(tipoIdentificacion, identificacion);\r\n\t if (rcs != null && !rcs.isEmpty()) {\r\n\t \tfor (ReferenciaComerciante rf : rcs) {\r\n\t \t\tReferenciaComercianteDTO referencia = new ReferenciaComercianteDTO(rf);\r\n\t// try {\r\n\t// DireccionCliente direccion = this.catalogoService.findDireccionClienteById(tipoIdentificacion, identificacion, referencia.getCodigoDireccion());\r\n\t// if (direccion != null) {\r\n\t// DireccionDTO direDTO = new DireccionDTO(direccion);\r\n\t// String idDireccion = getIdDireccionParaCamposAdicionales(idCliente, direccion.getId().getCodigo());\r\n\t// String email = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EMAIL, idDireccion);\r\n\t// String extension = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EXTENSION, idDireccion);\r\n\t// if (email != null && !email.trim().isEmpty()) {\r\n\t// direDTO.setEmail(email);\r\n\t// }\r\n\t// if (extension != null && !extension.trim().isEmpty()) {\r\n\t// direDTO.setExtension(extension);\r\n\t// }\r\n\t// ref.setDireccion(direDTO);\r\n\t// }\r\n\t//\r\n\t// } catch (RuntimeException e) {\r\n\t// e.printStackTrace();\r\n\t// }\r\n\t \t\tif (null != rds && !rds.isEmpty()) {\r\n\t \t\t\tContadorDTO c = null;\r\n\t \t\t\tcontadores : for (ReferenciaComercianteDatoContador contador : rds) {\r\n\t \t\t\t\tif (referencia.getCorrelativoReferencia().compareTo(contador.getId().getCorrelativo()) == 0) {\r\n\t \t\t\t\t\tc = new ContadorDTO(contador);\r\n\t \t\t\t\t\treferencia.setContador(c);\r\n\t \t\t\t\t\tbreak contadores;\r\n\t \t\t\t\t}\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t response.add(referencia);\r\n\t }\r\n\t }\r\n \t}\r\n \t// JURIDICA\r\n \tif (TipoPersona.J.equals(cliente.getTipoPersona())) {\r\n ReferenciaComercianteDTO referencia = null;\r\n List<ReferenciaComercianteDatoContador> rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\r\n if (null != rds && !rds.isEmpty()) {\r\n \tContadorDTO c = null;\r\n for (ReferenciaComercianteDatoContador contador : rds) {\r\n \treferencia = new ReferenciaComercianteDTO();\r\n \tc = new ContadorDTO(contador);\r\n referencia.setContador(c);\r\n response.add(referencia);\r\n }\r\n }\r\n }\r\n } catch (RuntimeException e) {\r\n e.printStackTrace();\r\n }\r\n \r\n return response;\r\n }", "title": "" }, { "docid": "16784f583d74511cecb4cbeed4e8b293", "score": "0.53557754", "text": "public void getSetVersionRowRetencionVentaWithConnection()throws Exception {\n\t\tif(retencionventa.getIsChangedAuxiliar() && Constantes.ISSETVERSIONROWUPDATE) {\r\n\t\t \t//TEMPORAL\r\n\t\t\t//if((retencionventa.getIsDeleted() || (retencionventa.getIsChanged()&&!retencionventa.getIsNew()))&& Constantes.ISSETVERSIONROWUPDATE) {\r\n\t\t\tTimestamp timestamp=null;\r\n\t\t\t\r\n\t\t\ttry {\t\r\n\t\t\t\tconnexion=connexion.getNewConnexion(this.connexionType,this.parameterDbType,this.entityManagerFactory);connexion.begin();\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\ttimestamp=retencionventaDataAccess.getSetVersionRowRetencionVenta(connexion,retencionventa.getId());\r\n\t\t\t\t\r\n\t\t\t\tif(!retencionventa.getVersionRow().equals(timestamp)) {\t\r\n\t\t\t\t\tretencionventa.setVersionRow(timestamp);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tconnexion.commit();\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tretencionventa.setIsChangedAuxiliar(false);\r\n\t\t\t\t\r\n\t\t\t} catch(Exception e) {\r\n\t\t\t\tconnexion.rollback();\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tthrow e;\r\n\t\t\t\t\r\n\t \t} finally {\r\n\t\t\t\tconnexion.close();\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dd24aa1178c2f5b1aaa460f8c746d702", "score": "0.5352297", "text": "@Override\n public ArrayList<Entity> getLista(Entity e) throws SQLException {\n\n ArrayList<Entity> listaContenedora= new ArrayList<>();\n ListaDeReproduccion lista = (ListaDeReproduccion) e;\n Integer idUsuario = lista.getIdUsuario();\n CallableStatement preStatement = null;\n ResultSet resultSet = null;\n Connection conn;\n\n try {\n //Creando la instancia de Conexion a la BD\n conn = getBdConnect();\n //Invocando el SP\n preStatement = conn.prepareCall(\"{call M05_OBTENERLISTA(?)}\"); //HAY QUE AGREGAR ESTE METODO A POSTGRE\n //Seteo lo que le estoy mandando al procedimiento con ese \"?\"\n preStatement.setInt(1,idUsuario);\n //Ejecucion del query\n resultSet = preStatement.executeQuery();\n while (resultSet.next()) {\n\n int idLista = resultSet.getInt(\"LIS_REP_ID\");\n String nombre = resultSet.getString(\"LIS_REP_NOMBRE\");\n String descripcion = resultSet.getString(\"LIS_REP_DESCRIPCION\");\n String imagen = resultSet.getString(\"LIS_REP_IMG\");\n String fechaCreacion = resultSet.getString(\"LIS_REP_FECHA\");\n int numReproducciones = resultSet.getInt(\"LIS_REP_NUMREP\");\n int idUsuarioF = resultSet.getInt(\"id_usu\");\n\n lista = (ListaDeReproduccion) EntityFactory.listaDeReproduccion(idLista, nombre, descripcion, imagen, numReproducciones, fechaCreacion, idUsuarioF);\n listaContenedora.add(lista);\n\n }\n resultSet.close();\n\n } catch (SQLException e1) {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n\n System. out. println(e1.getMessage());\n }\n catch(Exception ex)\n {\n //throw new ViUcabException(e1.mensaje, e1.codigo);\n }\n finally {\n closeConnection();\n }\n return listaContenedora;\n }", "title": "" }, { "docid": "a2fc9162123b96e78d974da88a0bd8e5", "score": "0.53501165", "text": "public static void restituisciIdTipoTorneo(Aquisizioni dati, ConnDB db){\n \n qry = \"select tipo_torneo.ID from torneo, tipo_torneo where torneo.Nome = '\"+dati.getGlobalID()+\"' and torneo.Tipo = tipo_torneo.ID\";\n risultato = db.interrogazione(qry);\n try {\n if(risultato.next()) dati.setGlobalId(risultato.getString(\"ID\"));\n \n } catch (SQLException ex) {\n Logger.getLogger(Operazioni.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "c4537f610b24388a96be973af5b8a766", "score": "0.5347386", "text": "public Single<Object> save(RequestNewClien cliente);", "title": "" }, { "docid": "2f9c8fc2d56a84459ab0cf670c46c39d", "score": "0.5342597", "text": "public String resgistrarConvenio(int idConvenio, String nombre, String fecha_inicio, String fecha_fin, String objetivo, String estado, String fundacion, String des) {\n \n \n \n \n Fundacion f = consulta.obtenerFundacion(fundacion);\n String msg= \"Registro no Exitoso\";\n if(!f.equals(null)){\n if(!consulta.BuscarConvenio(idConvenio)){\n \n \n try{\n \n \n \n Convenio c =new Convenio( idConvenio, nombre,fecha_inicio, fecha_fin, objetivo, f, des);\n ConvenioDao co = new ConvenioDao();\n co.insertarConvenio(idConvenio, nombre, fecha_inicio, fecha_fin, objetivo, estado, fundacion, des);\n msg=\"registro exitoso\";\n return msg;\n }catch (SQLException e){\n e.printStackTrace();\n }\n \n \n }\n return \"Convenio ya existe\";\n }\n \n return \"Fundacion ya existe\";\n }", "title": "" }, { "docid": "d393598a33b2eb1db76bb370579d44b6", "score": "0.5333548", "text": "private void crearEntidad()\r\n/* 63: */ {\r\n/* 64:109 */ this.tipoSubsidio = new TipoSubsidio();\r\n/* 65:110 */ this.tipoSubsidio.setIdOrganizacion(AppUtil.getOrganizacion().getId());\r\n/* 66:111 */ this.tipoSubsidio.setIdSucursal(AppUtil.getSucursal().getId());\r\n/* 67: */ }", "title": "" }, { "docid": "2cd594ee196b4afa9cd05a1f729887c6", "score": "0.5325903", "text": "public void adicionaTransportadoraACorrespondenciaDaEncomendaEscolhida (String codUser , String codEncomenda){\n Transportadoras t = (Transportadoras) this.contas.get(codUser);\n\n List <Transportadoras> correspondenciaAntiga = correspondencia.get(codEncomenda); // lista das possiveis transportadoras a entregar esta encomenda antes de adicionar a transportadora\n correspondenciaAntiga.add(t.clone()); // adicionamos a nova transportadora a lista\n correspondencia.put(codEncomenda, correspondenciaAntiga); // e damos replace no map com a nova lista\n }", "title": "" }, { "docid": "787b4b4e40bfd33753c5f21e967e5e0c", "score": "0.53247416", "text": "@Test\n @Transactional\n void createEtniaIndigenaWithExistingId() throws Exception {\n etniaIndigena.setId(1L);\n\n int databaseSizeBeforeCreate = etniaIndigenaRepository.findAll().size();\n\n // An entity with an existing ID cannot be created, so this API call must fail\n restEtniaIndigenaMockMvc\n .perform(post(ENTITY_API_URL).contentType(MediaType.APPLICATION_JSON).content(TestUtil.convertObjectToJsonBytes(etniaIndigena)))\n .andExpect(status().isBadRequest());\n\n // Validate the EtniaIndigena in the database\n List<EtniaIndigena> etniaIndigenaList = etniaIndigenaRepository.findAll();\n assertThat(etniaIndigenaList).hasSize(databaseSizeBeforeCreate);\n }", "title": "" }, { "docid": "50d45cd447784d44d3c4aeb302ba6716", "score": "0.5324031", "text": "public Receitas getUnaReceita(String indrec) {\n try {\n ResultSet sent = EjecutarSentencia(\"SELECT * FROM receita WHERE Id = \" + indrec);\n sent.first();\n\n Receitas re = new Receitas();\n\n re.setId(sent.getInt(\"Id\"));\n re.setNumero((sent.getString(\"numero\")));\n re.setCoordenada((sent.getString(\"coordenada\")));\n re.setCategoria(sent.getString(\"categoria\"));\n re.setCantidad(sent.getInt(\"cantidad\"));\n re.setValor(sent.getFloat(\"valor\"));\n re.setTotal(sent.getFloat(\"total\"));\n re.setIdresumen(sent.getInt(\"idresumen\"));\n\n return re;\n } catch (SQLException ex) {\n Logger.getLogger(connectBD.class.getName()).log(Level.SEVERE, null, ex);\n }\n return new Receitas();\n }", "title": "" }, { "docid": "37699bfa2373162dd869199305f789a8", "score": "0.5322517", "text": "public org.apache.ws.axis2.ViaxeAMonequilandResponse viaxeAMonequiland(\n org.apache.ws.axis2.ViaxeAMonequiland viaxeAMonequiland) throws ConfigurationException, TransportException, RemoteException {\n \n buscar = new Buscar();\n \n /**********ARGUMENTOS QUE NOS PASA O USUARIO***********/\n String corpoCeleste = viaxeAMonequiland.getArgs0();\n String vehiculo = viaxeAMonequiland.getArgs1();\n /*****************************************************/\n\n /*************************OBXECTO RESPOSTA DO NOSO SERVIZO*************************/\n ViaxeAMonequilandResponse BoaViaxe = new ViaxeAMonequilandResponse();\n /**********************************************************************************/\n\n System.out.println(\"Espera un momentiño...\\n\");\n \n String respostaCache = TesAmiñaConsulta(corpoCeleste, vehiculo);//Creamos unha conexion coa cache e preguntamoslle se ten gardada esta consulta\n \n if(respostaCache != null)//Se a ten gardada, finalizamos e pasamoslle a resposta ao cliente\n {\n BoaViaxe.set_return(respostaCache);\n return BoaViaxe;\n }\n \n String distanciaAtaOcorpoCeleste = IstoOndeQueda(corpoCeleste); //Creamos unha conexion co noso servizo propio DistanciaPlaneta e obtemos a distancia\n \n String tempoAtaOcorpoCeleste = PeroCantoTardoOh(distanciaAtaOcorpoCeleste, vehiculo); //Creamos unha conexion co noso servizo propio TempoViaxe e obtemos o tempo que se tarda en chegar no vehiculo seleccionado\n \n GardameIsto(corpoCeleste, vehiculo, tempoAtaOcorpoCeleste); //Gardamos a consulta e a resposta na cache para futuras consultas\n\n BoaViaxe.set_return(tempoAtaOcorpoCeleste); //Enviamos a resposta ao usuario\n \n return BoaViaxe;\n \n }", "title": "" }, { "docid": "63122e9c56a0fd67fd91818199039929", "score": "0.53220916", "text": "public static void generarOtrosIngresos(Poliza poliza,Abono abono,String ref1,String asiento){\r\n\t\tString ref2=abono.getSucursal().getNombre();\r\n\t\tBigDecimal diferencia=abono.getDiferencia();\r\n System.out.println(\"aaaaaaaaa\"+abono.getId());\r\n\t\tif(diferencia.doubleValue()>0 && DateUtils.isSameDay(abono.getDirefenciaFecha(), poliza.getFecha())){\r\n\t\t\tif(abono.getDiferencia().doubleValue()>0){\r\n\t\t\t\tBigDecimal importeDiferencia=PolizaUtils.calcularImporteDelTotal(diferencia);\r\n\t\t\t\tBigDecimal ivaDiferencia=PolizaUtils.calcularImpuesto(importeDiferencia);\r\n\t\t\t\timporteDiferencia=PolizaUtils.redondear(importeDiferencia);\r\n\t\t\t\tivaDiferencia=PolizaUtils.redondear(ivaDiferencia);\r\n\t\t\t\tString sufix=\"01\";\r\n\t\t\t\tif(ref1.equals(\"MOS\"))\r\n\t\t\t\t\tsufix=\"01\";\r\n\t\t\t\tif(ref1.equals(\"CAM\"))\r\n\t\t\t\t\tsufix=\"03\";\r\n\t\t\t\tif(ref1.equals(\"CRE\"))\r\n\t\t\t\t\tsufix=\"02\";\r\n\t\t\t\tif(ref1.equals(\"CHE\"))\r\n\t\t\t\t\tsufix=\"04\";\r\n\t\t\t\tif(DateUtils.isSameDay(abono.getDirefenciaFecha(), abono.getPrimeraAplicacion())){\r\n\t\t\t\t\t//Abono Otros ingresos\r\n\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"702\", \"OING\"+sufix, false, diferencia,\"OI AJUSTE Menor a $10: \"+abono.getInfo(), ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tif(abono instanceof PagoConDeposito){\r\n\t\t\t\t\t\tPagoConDeposito dep= (PagoConDeposito) abono;\r\n\t\t\t\t\t\tBigDecimal importeDif=MonedasUtils.calcularImporteDelTotal(diferencia, 2);\t\t\t\t\t\t\r\n\t\t\t\t\t\tBigDecimal ivaDif=MonedasUtils.calcularImpuestoDelTotal(diferencia);\r\n\t\t\t\t\t\tString desc2=MessageFormat.format(\" {0} Ref:{1} F.D:\"\r\n\t\t\t\t\t\t\t\t, dep.getBanco(),dep.getReferenciaBancaria())\r\n\t\t\t\t\t\t\t\t+new SimpleDateFormat(\"dd/MM/yyyy\").format(dep.getFechaDeposito());\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(!DateUtil.isSameMonth(abono.getPrimeraAplicacion(), dep.getFechaDeposito())){\r\n\t\t\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"203\", \"DEPI01\", true, diferencia,\"OI AJUSTE Menor a $10: \"+abono.getInfo(), ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t//\t\tPolizaDetFactory.generarPolizaDet(poliza, \"206\", \"IVAD01\", true, ivaDif, desc2, ref1, ref2, asiento);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(diferencia.doubleValue()>10){\r\n\t\t\t\t\t\t\tif(!DateUtil.isSameMonth(dep.getPrimeraAplicacion(), dep.getFechaDeposito())){\r\n\t\t\t\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"203\", \"DEPI01\", true, importeDif,desc2, ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t\t//\t\tPolizaDetFactory.generarPolizaDet(poliza, \"206\", \"IVAD01\", true, ivaDif, desc2, ref1, ref2, asiento);\r\n\t\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\t//Abono a Otros ingresos\r\n\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"702\", \"OING\"+sufix, false, diferencia,\"OI AJUSTE < $10 \"+abono.getInfo(), ref1, ref2, asiento+\" \"+ref1);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// Cargo a Acredores diversos\r\n\t\t\t\t\tPolizaDetFactory.generarPolizaDet(poliza, \"203\", \"DIVR\"+sufix, true, diferencia,\"OI AJUSTE < $10 \"+abono.getInfo(), ref1, ref2, asiento);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//PolizaDetFactory.generarPolizaDet(poliza, \"902\", \"IETUA07\", false, importeAcumulado, cuentaAIETUDesc +\"ACUMULABLE IETU OI\", ref1, ref2, asiento);\r\n\t\t\t\t\t//PolizaDetFactory.generarPolizaDet(poliza, \"903\", \"AIETU07\", true, importeAcumulado,cuentaIETUADesc +\"IETU ACUMULABLE OI\", ref1, ref2, asiento);\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5e8438d1f5b45993ad5f6e5389e014e0", "score": "0.5320424", "text": "@Override\n\tpublic void repararEscudo(ITanque tanque) {\n\t\ttanque.restaurarEscudo(AUMENTO);\n\t}", "title": "" }, { "docid": "f8c0814509e09d4627cd375a5327a76d", "score": "0.53199077", "text": "@Override\n\tpublic long addEnderecoPorEmpresa(AgenteEndereco agenteEndereco) {\n\t\treturn (Integer)hibernateTemplate.save(agenteEndereco);\n\t}", "title": "" }, { "docid": "8713b1e5a0c1b88848ac536e8c15fff5", "score": "0.53184724", "text": "public List<Agendamento> recuperarAgendamentos() {\n try {\n conectar();\n \n String sql = \"SELECT * FROM AGENDAMENTO\";\n ResultSet rs = comando.executeQuery(sql);\n \n List<Agendamento> agendamentos = new ArrayList<Agendamento>();\n while (rs.next()) { \n Agendamento agendamento = new Agendamento();\n agendamento.setIdAgendamento(rs.getInt(\"id_agendamento\"));\n agendamento.setCpfPaciente(rs.getString(\"cpfPacienteAgenda\"));\n agendamento.setCpfMedico(rs.getString(\"cpfMedico\"));\n agendamento.setData(rs.getDate(\"data\"));\n agendamento.setHora(rs.getTime(\"hora\"));\n agendamento.setStatus(rs.getString(\"status\"));\n agendamento.setComentario(rs.getString(\"comentario\"));\n \n agendamentos.add(agendamento);\n }\n \n for (Iterator<Agendamento> iterator = agendamentos.iterator(); iterator.hasNext();) {\n Agendamento agendamento = (Agendamento) iterator.next();\n \n StringBuffer buffer = new StringBuffer();\n buffer.append(\"SELECT id_servico, horaServico, dataServico, preco, descricao, estaPago\");\n buffer.append(\" FROM AGENDAMENTO_SERVICO WHERE id_age_servico=\");\n buffer.append(formatarParaStringSql(Integer.toString(agendamento.getIdAgendamento())));\n sql = buffer.toString();\n rs = comando.executeQuery(sql);\n while (rs.next()) {\n Servico servico = new Servico();\n servico.setIdServico(rs.getInt(\"id_servico\"));\n servico.setHoraServico(rs.getTime(\"horaServico\"));\n servico.setDataServico(rs.getDate(\"dataServico\"));\n servico.setPreco(rs.getDouble(\"preco\"));\n servico.setDescricao(rs.getString(\"descricao\"));\n servico.setEstaPago(rs.getInt(\"estaPago\"));\n \n agendamento.getServicos().add(servico);\n } \n \n }\n \n fechar();\n \n return agendamentos;\n \n } catch (SQLException e) {\n e.printStackTrace();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "5f81c341d03938a7d2456c62eaa46ebd", "score": "0.53087074", "text": "@Test\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\t@UsingDataSet({ \"persona.json\", \"registro.json\", \"administrador.json\", \"cuenta.json\", \"empleado.json\",\n\t\t\t\"familia.json\", \"genero.json\", \"recolector.json\", \"planta.json\" })\n\tpublic void buscarRecolectorPorId() {\n\t\tRecolector recolector = entityManager.find(Recolector.class, \"127\");\n\t\tAssert.assertNotNull(recolector);\n\t}", "title": "" }, { "docid": "1f386f2d1cf40a704b61498f8bc695a7", "score": "0.53068703", "text": "private T convertAnObject(ResultSet r)\r\n {\r\n // this.contListaObjRef++;\r\n try {\r\n if(r.isBeforeFirst())\r\n r.next();\r\n // while(r.next())\r\n // {\r\n \r\n T objBlanco=getObjectBlank();\r\n ArrayList<Columna> columnas=objBlanco.getMapeo().getColumnas();\r\n for (Columna columna : columnas) {\r\n \r\n Field field=columna.getRefAtributo();\r\n //System.out.println(columna.getName());\r\n \r\n //field.set(objBlanco,valor);\r\n String nameAtributo=field.getName();\r\n char primero=nameAtributo.charAt(0);\r\n String texto=nameAtributo;\r\n texto = \"set\"+Character.toUpperCase(primero) + texto.substring(1,texto.length());\r\n Method[] metodos=getClassEntity().getMethods();\r\n //buscar el metodo que coincida con el nombre del atributo con el metodo set\r\n Method metodoEncontrado=findMethod(getClassEntity().getMethods(),texto);\r\n \r\n \r\n //verificar si el valor es directo o es una referencia fk\r\n String tipoClave=columna.getTypekey();\r\n if(tipoClave.equals(\"fk\"))\r\n {\r\n String tipo=field.getType().getName();\r\n Object value=r.getString(columna.getName());\r\n \r\n String nombreClaseReferencia=tipo;\r\n Class claseReferencia=Class.forName(nombreClaseReferencia);\r\n \r\n ///verificar que el objeto exista no exista en la lista\r\n Object objReferencia;\r\n Object tempReferencia=findLista(newObjectPrimaryKey(claseReferencia,value));\r\n if(tempReferencia!=null)\r\n {\r\n objReferencia=tempReferencia; \r\n }\r\n else\r\n {\r\n //cuando no existe el objeto\r\n Method metodoGetFacade=findMethod(claseReferencia.getMethods(),\"getDao\");\r\n Class claseFacade=(Class) metodoGetFacade.invoke(claseReferencia.newInstance());\r\n\r\n Method metodoFindPrimaryKey=findMethod(claseFacade.getMethods(),\"findByPrimaryKeyRecursive\");\r\n AbstractFacade facadeReferencia=(AbstractFacade) claseFacade.newInstance();\r\n objReferencia=metodoFindPrimaryKey.invoke(facadeReferencia,value);\r\n AbstractFacade.addLista((AbstractMapeo) objReferencia);\r\n }\r\n \r\n //agrega el objeto de referencia al objeto principal\r\n metodoEncontrado.invoke(objBlanco,objReferencia);\r\n\r\n }\r\n else\r\n {\r\n //obtner el valor segun el tipo de dato del atributo\r\n \r\n String tipo=field.getType().getSimpleName();\r\n String nombreColumna=columna.getName();\r\n Object value=r.getObject(nombreColumna);\r\n //System.out.println(value.getClass().getTypeName());\r\n metodoEncontrado.invoke(objBlanco,value);\r\n\r\n }\r\n\r\n }\r\n //agregar el objto a la lista si no se encuentra \r\n if(!AbstractFacade.isFindLista(objBlanco))\r\n {\r\n AbstractFacade.addLista(objBlanco);\r\n }\r\n \r\n ////consultar los arrays enlazados dentro de cada objeto\r\n List<Lista> areglos = objBlanco.getMapeo().getArrays();\r\n for (Lista areglo : areglos) \r\n {\r\n Class claseResultado=areglo.getClase();\r\n String tabla=areglo.getTablaBusqueda();\r\n String condicion=areglo.getKeyNameFilter();\r\n //obtener el valor de la clave principal\r\n Columna columaPk=objBlanco.getMapeo().getColumaPk();\r\n String texto=columaPk.getName();\r\n String nombreMetodo=\"get\"+Character.toUpperCase(texto.charAt(0)) + texto.substring(1,texto.length());;\r\n Method metodoGetValor=findMethod(objBlanco.getClass().getMethods(),nombreMetodo);\r\n Object valor=metodoGetValor.invoke(objBlanco);\r\n String consulta=\"SELECT * FROM \"+tabla+\" WHERE \"+condicion+\"='\"+valor.toString()+\"'\";\r\n //System.out.println(consulta);\r\n ResultSet rs=this.conexion.ejecutarConsulta(consulta);\r\n //recorrer uno por uno para obtner la variable de la columna que necesito\r\n\r\n int tamnioArray=sizeResulSet(r);\r\n Object arrayResultado=Array.newInstance(claseResultado,tamnioArray);\r\n r.beforeFirst();\r\n \r\n int indice=0;\r\n while(rs.next())\r\n {\r\n //obtengo el valor de la columna de que corresponde al objeto de la solucion\r\n Object valorRespuesta=rs.getObject(areglo.getKeyNameResult());\r\n Object objResultado;\r\n Object tempReferencia=findLista(newObjectPrimaryKey(claseResultado,valorRespuesta));\r\n if (tempReferencia != null) \r\n {\r\n objResultado = tempReferencia;\r\n } \r\n else \r\n {\r\n Object objRes = claseResultado.newInstance();\r\n Method metodoGetDao = findMethod(objRes.getClass().getMethods(), \"getDao\");\r\n Class classDao = (Class) metodoGetDao.invoke(objRes);\r\n Object objDao = classDao.newInstance();\r\n Method metodoFindPrimaryKey = findMethod(classDao.getMethods(), \"findByPrimaryKeyRecursive\");\r\n \r\n //ObjectnewObjectPrimaryKey(classDao,valorRespuesta);\r\n //encuentro un objeto del tipo respuesta para agregar a la lista de referencias\r\n Method metodoGetObjectBlanck=findMethod(classDao.getMethods(),\"getObjectBlank\");\r\n objResultado=metodoGetObjectBlanck.invoke(objDao);\r\n objResultado=newObjectPrimaryKey(objResultado.getClass(),valorRespuesta);\r\n AbstractFacade.addLista((AbstractMapeo) objResultado);\r\n objResultado = metodoFindPrimaryKey.invoke(objDao, valorRespuesta);\r\n \r\n }\r\n \r\n //Array.set(arrayResultado,indice++,claseResultado.cast(objResultado)); \r\n areglo.copyObj(objResultado);\r\n }\r\n \r\n //////////convertir de array en una lista para asignar\r\n //List listaResultado=Arrays.asList(arrayResultado);\r\n //areglo.copyList((Object[]) arrayResultado);\r\n //areglo.getKeyNameFilter();\r\n \r\n }\r\n \r\n \r\n return objBlanco;\r\n //}\r\n } catch (SQLException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (IllegalArgumentException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (SecurityException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (IllegalAccessException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (InvocationTargetException ex) {\r\n System.out.println(ex.getCause());\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (ClassNotFoundException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (InstantiationException ex) {\r\n Logger.getLogger(AbstractFacade.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "c2f0ce6e6574fa551b22288ae89d8a05", "score": "0.5304634", "text": "@GetMapping(\"/obtener\")\n\tpublic List<Registro> obtenerRegistros(){\n\t\n\t\treturn vigilanteService.obtenerTodosLosRegistrosDeVehiculosParqueados();\n\t}", "title": "" } ]
403d65de9bb70875ae1bb20606fbadad
Byte length of Input Stream
[ { "docid": "f56342a67e2ac94038b4a0d5f5a75e48", "score": "0.0", "text": "public static void DownLoadPages(String urlStr, String outPath) {\r\n int chByte = 0;\r\n /** URL Address */\r\n URL url = null;\r\n /** http link */\r\n HttpURLConnection httpConn = null;\r\n /** Input Stream */\r\n InputStream in = null;\r\n /** File Output Stream */\r\n FileOutputStream out = null;\r\n try {\r\n url = new URL(urlStr);\r\n httpConn = (HttpURLConnection) url.openConnection();\r\n HttpURLConnection.setFollowRedirects(true);\r\n httpConn.setRequestMethod(\"GET\");\r\n httpConn.setRequestProperty(\"User-Agent\", \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 2000)\");\r\n\r\n in = httpConn.getInputStream();\r\n out = new FileOutputStream(new File(outPath));\r\n\r\n chByte = in.read();\r\n while (chByte != -1) {\r\n out.write(chByte);\r\n chByte = in.read();\r\n }\r\n } catch (MalformedURLException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n try {\r\n out.close();\r\n in.close();\r\n httpConn.disconnect();\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n }", "title": "" } ]
[ { "docid": "dde6a073a105ed2feca13b6ec87f5a47", "score": "0.7995091", "text": "@Override public long Size() {return (int)stream.Len();}", "title": "" }, { "docid": "9f85c7bd0a4543b279e9d5859767b21d", "score": "0.7876036", "text": "private static int streamLength(InputStream in) {\r\n\t\tint length = 0;\r\n\t\ttry {\r\n\t\t\twhile (in.read() >= 0) {\r\n\t\t\t\tlength++;\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\t/*\r\n\t\t\t * Do nothing.\r\n\t\t\t */\r\n\t\t}\r\n\t\treturn length;\r\n\t}", "title": "" }, { "docid": "0bce9ade022ad3165bd93f00948134f9", "score": "0.7364798", "text": "public int getSize() throws IOException {\n InputStream s = getInputStream();\n byte[] b = new byte[4096];\n \n int size = 0;\n int read = 0;\n while ((read = s.read(b)) != -1) {\n size += read;\n }\n \n return size;\n }", "title": "" }, { "docid": "04d22260ca688ce2d2c77e415caa90cd", "score": "0.7351965", "text": "int getStreamLen() {\n return length + 12;\n }", "title": "" }, { "docid": "d301703d853d4259fddae9e7c51cdcf4", "score": "0.72706217", "text": "long length() throws IOException;", "title": "" }, { "docid": "5f70412c4270de88734af948b4273743", "score": "0.71914136", "text": "@Override\n public long getBinaryLength()\n throws ManifoldCFException\n {\n return outputStream.size();\n }", "title": "" }, { "docid": "60b93c4133186bd48fe62a51dc669160", "score": "0.7110461", "text": "public int getLengthInBytes() {\n\t\treturn buffer.length;\n\t}", "title": "" }, { "docid": "3888c0350055aa7f2c715f10df4b8b00", "score": "0.70430326", "text": "int getBytesCount();", "title": "" }, { "docid": "8405fc780f4d616fb31d6d0108f77342", "score": "0.6988617", "text": "public int getLength() {\r\n\t\treturn bytes.length;\r\n\t}", "title": "" }, { "docid": "c5da8ec0b147a75ac6555670e3038ef5", "score": "0.6943382", "text": "public abstract int getByteLength();", "title": "" }, { "docid": "a9131678d1d328c21f567424f56b72e4", "score": "0.6905211", "text": "public int getFileSize() throws MalformedInputException, IOException {\n\t\tURL url = new URL(server_address);\n\t\tURLConnection uCon = url.openConnection();\n\t\tuCon.setConnectTimeout(timeout);\n\t\tuCon.setReadTimeout(timeout);\n\t\treturn uCon.getContentLength();\n\t}", "title": "" }, { "docid": "49e40fd273098dd3cbc00ebe2a7a290e", "score": "0.68598175", "text": "abstract public int length() throws IOException;", "title": "" }, { "docid": "382cf08450169fcc77c34497d5405dfb", "score": "0.68359184", "text": "@ProtocolState(1)\n\tpublic int readBinaryLength(Buffer buf) throws Exception {\n\t\tbyte b;\n\t\tint t,len;\n\t\tlen = 0;\n\t\t\n\t\tdo {\n\t\t\tb = buf.read();\n\t\t\tif( (b&0x80) == 0x80 ) {\n\t\t\t\t//end of length, store the len info and go to 2\n\t\t\t\tbuf.put(BINARY_LEN, len);\n\t\t\t\treturn 2;\n\t\t\t} else {\n\t\t\t\t//update the len\n\t\t\t\tt = b & 0x7f;\n\t\t\t\tlen = t + (len*128);\n\t\t\t}\n\t\t}while(true);\n\t}", "title": "" }, { "docid": "12a62834e7eb814f686115575a967e92", "score": "0.68316853", "text": "public long length() {\n/* 444 */ long length = -1L;\n/* */ \n/* */ \n/* */ try {\n/* 448 */ length = this.channel.size();\n/* 449 */ } catch (IOException iOException) {}\n/* */ \n/* */ \n/* */ \n/* 453 */ return length;\n/* */ }", "title": "" }, { "docid": "f05c3d49e979f4ffb2f085f5a37a19bf", "score": "0.6805523", "text": "int byteSize();", "title": "" }, { "docid": "f05c3d49e979f4ffb2f085f5a37a19bf", "score": "0.6805523", "text": "int byteSize();", "title": "" }, { "docid": "ebb49e969f0230bcc166a6649057a7d4", "score": "0.6801402", "text": "@Override\n public long getLength() throws IOException, InterruptedException {\n FileSystemHandler fsHandler = new FileSystemHandler(fs);\n return fsHandler.getFileSizeInBytes( inputPath );\n }", "title": "" }, { "docid": "55f7cb2e52d5fc82be8de118e4dd6189", "score": "0.67717904", "text": "int getByteCount();", "title": "" }, { "docid": "b5b802dba1d079db62a99b0e8fde3402", "score": "0.6709495", "text": "public int getlength() {\n return(payload_size + HEADER_SIZE);\n }", "title": "" }, { "docid": "b3b451f3bcff875ec1606fa7c41871a2", "score": "0.6674157", "text": "long getFileLength();", "title": "" }, { "docid": "b3b451f3bcff875ec1606fa7c41871a2", "score": "0.6674157", "text": "long getFileLength();", "title": "" }, { "docid": "e8a948b44449b4f6c184adc661f81f51", "score": "0.66459405", "text": "@Override\n public long getBinaryLength()\n throws ManifoldCFException\n {\n return outputFile.length();\n }", "title": "" }, { "docid": "969cf2852c65adf607605295318bc899", "score": "0.66323465", "text": "abstract public int data_length();", "title": "" }, { "docid": "b024be608b980d833b99e56e1307a273", "score": "0.6622743", "text": "public int getDataLength(){\n return ((ET.bytesToIntTool(4, 2, header)& 0xff) -8);\n }", "title": "" }, { "docid": "a0782cef7f0b4b42a362847ea69ca777", "score": "0.6602327", "text": "public final int getLength() {\r\n return getDataLength();\r\n }", "title": "" }, { "docid": "48ba328977b6991f7e9ec42bfbf15e66", "score": "0.6593945", "text": "public long getLength() throws IOException, InterruptedException {\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "b24983bb458d41c263716b9f96357a8b", "score": "0.65885985", "text": "public int getSizeInBytes() {\n return header.length / Byte.SIZE;\n }", "title": "" }, { "docid": "9e5bd29cf00427ab34ecd5ce1f8fb756", "score": "0.65761477", "text": "int getPayloadLength();", "title": "" }, { "docid": "abda01a816d38333ac3eeb281abe6e2f", "score": "0.6572969", "text": "int getSizeInBytes();", "title": "" }, { "docid": "a36b9696145e6f6dd1aee3fc67f89652", "score": "0.65632474", "text": "public long getLength();", "title": "" }, { "docid": "862e95da372d5316f9e177866b752928", "score": "0.65437835", "text": "public int getSizeInBytes();", "title": "" }, { "docid": "868d03bd0758e34d074b979d998ad56c", "score": "0.6539066", "text": "public int size() throws IOException {\r\n return (int) (file.length() / RECORD_SIZE);\r\n }", "title": "" }, { "docid": "5974a5199dd8f2890cfeab1783e5650c", "score": "0.6530585", "text": "public int size()\n {\n return this.buffer_size; \n }", "title": "" }, { "docid": "0073d4f76a4243577fba999bf11f4bba", "score": "0.65223664", "text": "public long getNumBytes();", "title": "" }, { "docid": "08b0f5ab4ba0b97927de1320e024be00", "score": "0.65173775", "text": "public int byteCount() throws IOException {\n\n\t\tint count = 0;\n\t\tFileInputStream stream = new FileInputStream(this.file);\n\t\twhile (stream.read() != -1) {\n\t\t\tcount++;\n\t\t}\n\t\tstream.close();\n\t\treturn count;\n\t}", "title": "" }, { "docid": "151e74dfc598a40e78a342bde74bee55", "score": "0.65090907", "text": "public long readCount() throws IOException;", "title": "" }, { "docid": "ff725c206a12a623a302bec2d14367d4", "score": "0.6508801", "text": "long getLength();", "title": "" }, { "docid": "bd59ae81a4675b46090b1bc70aa9de2f", "score": "0.6486666", "text": "public long getBitstreamLength(){\n return super.value[0];\n }", "title": "" }, { "docid": "38f8e631d89f519276d36741526fd218", "score": "0.64737934", "text": "public int length() {\n\t\treturn data.length();\n\t}", "title": "" }, { "docid": "862c1c921bd7d3fffaf7f1c79830c64f", "score": "0.6471035", "text": "@Override\n\tpublic long getLength() throws IOException, InterruptedException {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "9a57f52661ef4be98f578226c132df44", "score": "0.64588606", "text": "int len();", "title": "" }, { "docid": "5812dfea13dd380954a4c037ba187d83", "score": "0.6447266", "text": "public int byteCount() {\n return count;\n }", "title": "" }, { "docid": "6b303fdbf596713b7937a2c73a88c2a9", "score": "0.6443943", "text": "public int getLength() {\n\t\treturn fLength; \n\t}", "title": "" }, { "docid": "d56fa55595ddca598fd22467f790b63e", "score": "0.64366436", "text": "public final int getBytesLen()\n {\n return this.bytes.length;\n }", "title": "" }, { "docid": "45bbdbaf1b5794d6b4bc2b831cb28647", "score": "0.6436237", "text": "public final int yylength() {\n return input.readLength();\n }", "title": "" }, { "docid": "8cee0eec446150efb48711adeba13bd1", "score": "0.64323217", "text": "public synchronized int getLen()\t\t{\treturn len ; }", "title": "" }, { "docid": "c6584fa37a238802172e1681893c771b", "score": "0.642709", "text": "public int getLength()\n {\n return _data.length;\n }", "title": "" }, { "docid": "d994cb2e6526cf743a61b4f0f36836d1", "score": "0.6419492", "text": "public Long streamSize() {\n return this.streamSize;\n }", "title": "" }, { "docid": "5fcad5895b95941619ce73818f5a9b6b", "score": "0.6412951", "text": "public int readCount() {\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "8796fea69e5771589920ce3b5a32d17a", "score": "0.64096975", "text": "public int getTextLength() {\n/* 446 */ switch (this.state) { case StartTag:\n/* */ case EndTag:\n/* 448 */ return 0; }\n/* */ \n/* */ \n/* 451 */ return this.payloadReader.getTextLength();\n/* */ }", "title": "" }, { "docid": "b84b137959821ef20d80d69fd963f4bd", "score": "0.6391299", "text": "public int getDataSize();", "title": "" }, { "docid": "5cfae1cbb10950061eb42f17d02365f5", "score": "0.63854915", "text": "public int getLength() {\n return fLength;\n }", "title": "" }, { "docid": "5f3c67312a37a3ee100b9b546bbe440f", "score": "0.6338984", "text": "long getSerializedLength();", "title": "" }, { "docid": "0dbdb203f4b910e6be7612398b723f79", "score": "0.63189137", "text": "public int getSize() {\n synchronized(byteCounter) {\n byteCounter.reset();\n synchronized(dataCounter) {\n try {\n write(dataCounter);\n } catch (IOException ex) {\n throw new RuntimeException(\"ByteCounter should never \" +\n \" throw an IOException\");\n }\n }\n return byteCounter.size();\n }\n }", "title": "" }, { "docid": "6d1f96b06869dbdcfb7164614e42b9b9", "score": "0.6308418", "text": "public int getPayloadSize() {\r\n return dataLength;\r\n }", "title": "" }, { "docid": "96ede0def0dca7789c01dade3a986039", "score": "0.63053185", "text": "public int getDataLength() {\n return data.length;\n }", "title": "" }, { "docid": "ba5693249adff5d78b3ef43de63af30e", "score": "0.62965274", "text": "public int getpayload_length() {\n return(payload_size);\n }", "title": "" }, { "docid": "015d6425a70d40d6d336efb3cb36bd43", "score": "0.62935936", "text": "@Override\n public int read() throws IOException {\n int read = in.read();\n readCount(read);\n return read;\n }", "title": "" }, { "docid": "7541df001591cd339b22ff06cfaf9892", "score": "0.6290651", "text": "public long getLength() {\n return getCount() * 12 + (hasNextOffset ? 4 : 0);\n }", "title": "" }, { "docid": "088add37376f64d79f08e0761a446f4f", "score": "0.62766707", "text": "public final int byteSize() {\n\t\treturn m_Data.length;\n\t}", "title": "" }, { "docid": "7c9b28ff787f92c3e65fa9d3220dc910", "score": "0.6262641", "text": "public Long getLenByte() {\n return lenByte;\n }", "title": "" }, { "docid": "c946dc3f95cb39a584de0e537235f30d", "score": "0.6252454", "text": "public static int getLength() {\n return length;\n }", "title": "" }, { "docid": "06351d5b639b209e832178486db3da80", "score": "0.6250738", "text": "private int length(){\n\t\tint cnt = 0;\n\t\tfor (char c:data){\n\t\t\tif (c==0){\n\t\t\t\treturn cnt;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\treturn cnt;\n\t}", "title": "" }, { "docid": "74db61555c23e22b1622edf1f4d49854", "score": "0.6250281", "text": "public final int getRawLength() { return this.length; }", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.62405396", "text": "int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.62402064", "text": "public int getLength();", "title": "" }, { "docid": "b08bd8ff01bd6426bccca469c4514f84", "score": "0.6238645", "text": "public abstract int readableBytes();", "title": "" }, { "docid": "181859db98d3da09a5de4d714b2d1f35", "score": "0.62382925", "text": "public int getBytesCount() {\n return bytes_.size();\n }", "title": "" }, { "docid": "37c25b4443581e1d1b6ee1d9a6c4eaac", "score": "0.6231774", "text": "long getFilesize();", "title": "" }, { "docid": "e623c866bcc06a1becd10a7e6a4f4aa3", "score": "0.6231723", "text": "public int getSize() {\n // null-terminated unicode + 1 byte\n int size = 2;\n try {\n size += paramName.getBytes(\"UTF-8\").length;\n } catch (UnsupportedEncodingException e) {\n // UTF-8 should always be available\n }\n return size;\n }", "title": "" }, { "docid": "02a19807bc3d549fa43d1a7a8f569a1b", "score": "0.62169164", "text": "abstract public long length();", "title": "" }, { "docid": "7f30fec30317262a69a995b16625296b", "score": "0.6208585", "text": "public synchronized int getSize()\n {\n return (int)m_Sb.length();\n }", "title": "" }, { "docid": "6df6070064634e1e2e7dab68f7e2fe16", "score": "0.62075925", "text": "public int getLength() {\n return length_;\n }", "title": "" }, { "docid": "6df6070064634e1e2e7dab68f7e2fe16", "score": "0.62075925", "text": "public int getLength() {\n return length_;\n }", "title": "" }, { "docid": "edbf8c0492a77bc36d4b024c6eed99ff", "score": "0.6205403", "text": "public int getSize()\n {\n return length;\n }", "title": "" }, { "docid": "c1ff96f63974a888134e87e11aceaebd", "score": "0.6204964", "text": "public int length()\n\t{\n\t\treturn length;\n\t}", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.6194962", "text": "public int length();", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.6194962", "text": "public int length();", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.6194962", "text": "public int length();", "title": "" }, { "docid": "66b972b422d474f00fa6f839eed8b804", "score": "0.6194103", "text": "Integer read(InputStream in, byte[] b, int offset, int length) throws IOException;", "title": "" }, { "docid": "b34317803089997c783d0811395c4070", "score": "0.61930895", "text": "public static int copyStream(OutputStream out, InputStream in) throws java.io.IOException {\n int len;\n int totalLength = 0;\n byte[] buf = new byte[BUFFER_SIZE];\n while ((len = in.read(buf, 0, BUFFER_SIZE)) != -1) {\n out.write(buf, 0, len);\n totalLength += len;\n }\n out.flush();\n return totalLength;\n }", "title": "" }, { "docid": "feeb9acb8830d0df0cd1f925c1dc664d", "score": "0.6182662", "text": "public int length() {\r\n\t\treturn s.length();\r\n\t}", "title": "" }, { "docid": "ca7bd45d3da24ebe46e4599f08affb0c", "score": "0.61771166", "text": "@Override\n\tpublic long getContentLength() {\n\t\treturn inputEntity.getContentLength();\n\t}", "title": "" }, { "docid": "e4ede8ea42987ff8a7e5136011e2f46b", "score": "0.6173188", "text": "public long getLength() {\r\n return length;\r\n }", "title": "" }, { "docid": "2f49101913f8b85fee6852634e417152", "score": "0.6169498", "text": "public long getContentLength(MIMETypedStream stream) {\n long length = 0;\n if (stream.header != null) {\n for (int i = 0; i < stream.header.length; i++) {\n if (stream.header[i].name != null\n && !stream.header[i].name.equalsIgnoreCase(\"\")\n && stream.header[i].name.equalsIgnoreCase(\"content-length\")) {\n length = Long.parseLong(stream.header[i].value);\n break;\n }\n }\n }\n return length;\n }", "title": "" } ]
aebc7e9163c465be30adf9f3e7baf83e
Configure the workflow view.
[ { "docid": "24bb5001405e5a96adb8f23f96870bb5", "score": "0.5864272", "text": "protected void doInitView() {\n view.setWidget(groupEditor.asWidget())\n .setCancelButtonVisible(true)\n .setSaveButtonVisible(true)\n .setSaveButtonEnabled(isDirty)\n .setSaveButtonText(getSaveButtonText())\n .setCallback(new EntityWorkflowView.Callback() {\n @Override\n public void onSave() {\n GroupEditorWorkflow.this.onSave();\n }\n\n @Override\n public void onCancel() {\n GroupEditorWorkflow.this.onCancel();\n }\n });\n }", "title": "" } ]
[ { "docid": "6c59e78347977659b3aae9af4200e818", "score": "0.6242158", "text": "public SlidesConfigView()\n {\n // Initialize the variables to the default values.\n folderPathTextField = \"\";\n soundPathTextField = \"\";\n\n // Initialization of the JFrame\n setContentPane(mainPanel);\n\n configureWidgets();\n setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n setJMenuBar(menuBar);\n setVisible(true);\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "96ec4259410ca2b578d1ff24e2c7f149", "score": "0.58248085", "text": "public void setViewConfig(ModelViewConfig viewConfig) {\n this.viewConfig = viewConfig;\n }", "title": "" }, { "docid": "432af502341e84b2716ee1319962f090", "score": "0.5804659", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n EditBuiltInWorkflowDetailsViewModel model = new ViewModelProvider(this).get(EditBuiltInWorkflowDetailsViewModel.class);\n options = getActivity().getIntent().getExtras();\n model.workflowId.setValue(options.getString(EditWorkflowActivity.IntentExtras.ID));\n setHasOptionsMenu(true);\n controls = FragmentEditBuiltInWorkflowBinding.inflate(LayoutInflater.from(getContext()), container, false);\n controls.setModel(model);\n controls.detailsRoot.setBackgroundColor(ContextCompat.getColor(getContext(), options.getInt(EditWorkflowActivity.IntentExtras.COLOR)));\n\n model.getWorkflow().observe(getViewLifecycleOwner(), builtInWorkflow -> initializeUI(builtInWorkflow));\n return controls.getRoot();\n }", "title": "" }, { "docid": "bb5afea28520297b8ea06d1c05dffe8d", "score": "0.5794648", "text": "public void configure() {\n\t\tsetVisible(false);\n\t\tmvp.setVisible(false);\n\t\tcf = new ConfigureFrame(this);\n\t\tsetVisible(false);\n\t\tcf.setVisible(true);\n\t}", "title": "" }, { "docid": "75dfc7ed97eeed05f02187cace16f3ef", "score": "0.5793593", "text": "private ConfigureView() {\r\n\t\t\r\n\t\tsuper();\r\n\t\t\r\n\t\twidgetsPanel = new JPanel();\r\n\t\twidgetsPanel.setLayout(new MigLayout(\"hidemode 3, wrap 4, insets 0, gap \" + Theme.padding, \"[pref][min!][min!][grow]\"));\r\n\t\twidgetsPanel.setBorder(new EmptyBorder(Theme.padding, Theme.padding, Theme.padding, Theme.padding));\r\n\t\tscrollableRegion = new JScrollPane(widgetsPanel, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r\n\t\tscrollableRegion.setBorder(null);\r\n\t\tbuttonsPanel = new JPanel();\r\n\t\tbuttonsPanel.setLayout(new MigLayout(\"insets 0\", \"[33%!][grow][33%!]\")); // 3 equal columns\r\n\t\tbuttonsPanel.setBorder(new EmptyBorder(Theme.padding * 2, Theme.padding, Theme.padding, Theme.padding)); // extra padding above\r\n\t\t\r\n\t\tsetLayout(new MigLayout(\"wrap 1, insets 0\")); // 1 column, no border\r\n\t\tadd(scrollableRegion, \"growx\");\r\n\t\tadd(buttonsPanel, \"growx\");\r\n\t\t\r\n\t\tsetPreferredSize(new Dimension(0, 0));\r\n\t\t\r\n\t}", "title": "" }, { "docid": "32449ef25f54b3b87c98f2e0ecf4fa19", "score": "0.5779331", "text": "@Override\n\tpublic void setView(Resultado resultado, ServletConfig config) {\n\t\t\n\t}", "title": "" }, { "docid": "d4af87ce5c44165c506478ff58c1f6fb", "score": "0.5597723", "text": "public void setWorkflow(Workflow p_workflow);", "title": "" }, { "docid": "273fa12414b26a2c67bbbd84c620edbb", "score": "0.55420214", "text": "public void configureView(int viewStatus) {\n\n\t\tswitch (viewStatus) {\n\t\tcase VIEW_IDLE: // Regular view\n\t\t\tStopAction.getInstance().setEnabled(false);\n\t\t\ttableController.checkPlayActionMode();\n\t\t\tPauseAction.getInstance().setEnabled(false);\n\t\t\tRefreshAction.getInstance().setEnabled(true);\n\t\t\tprogressController.setRunning(false);\n\t\t\tCheckStatusAction.getInstance().setEnabled(true);\n\t\t\tReportersPanel.setInitReportsEnable(true);\n\t\t\ttableController.setEnableToolBar(true);\n\t\t\tconfigureSutStatus(true);\n\t\t\tmenuBuilder.setView(VIEW_IDLE);\n\t\t\ttableController.updateEnabledAndDisabledActions(null);\n\t\t\tSwitchProjectAction.getInstance().setEnabled(true);\n\t\t\tImportProjectAction.getInstance().setEnabled(true);\n\t\t\tPublishXmlResultAction.getInstance().setEnabled(false);\n\t\t\tViewTestCodeAction.getInstance().setEnabled(true);\n\t\t\trepeatAmount.setEnabled(true);\n\t\t\trepeatCheckBox.setEnabled(true);\n\t\t\tdebugCheckBox.setEnabled(true);\n\t\t\tfreezeCheckBox.setEnabled(true);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(true);\n\t\t\tfixtureView.endFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tcase VIEW_RUNNING: // During execution\n\t\t\tfirsIdle = false;\n\t\t\tStopAction.getInstance().setEnabled(true);\n\t\t\tPlayAction.getInstance().setEnabled(false);\n\t\t\tPauseAction.getInstance().setEnabled(true);\n\t\t\tRefreshAction.getInstance().setEnabled(false);\n\t\t\tCheckStatusAction.getInstance().setEnabled(false);\n\t\t\tReportersPanel.setInitReportsEnable(false);\n\t\t\tconfigureSutStatus(false);\n\t\t\tprogressController.setRunning(true);\n\t\t\tmenuBuilder.setView(VIEW_RUNNING);\n\t\t\ttableController.setEnableToolBar(false);\n\t\t\tSwitchProjectAction.getInstance().setEnabled(false);\n\t\t\tImportProjectAction.getInstance().setEnabled(false);\n\t\t\tViewTestCodeAction.getInstance().setEnabled(false);\n\t\t\tPublishXmlResultAction.getInstance().setEnabled(false);\n\t\t\trepeatAmount.setEnabled(false);\n\t\t\tdebugCheckBox.setEnabled(false);\n\t\t\trepeatCheckBox.setEnabled(repeatAmount.getText().equals(\"0\"));\n\t\t\tfreezeCheckBox.setEnabled(false);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\n\t\t\tfixtureView.startFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tcase VIEW_PAUSED:\n\t\t\tPlayAction.getInstance().setEnabled(true);\n\t\t\tPauseAction.getInstance().setEnabled(false);\n\t\t\tconfigureSutStatus(true);\n\t\t\ttableController.setEnableToolBar(false);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\n\t\t\tfixtureView.startFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tcase VIEW_WAIT_FOR_PAUSE:\n\t\t\tInitReportersAction.getInstance().setEnabled(false);\n\t\t\tPlayAction.getInstance().setEnabled(false);\n\t\t\tPauseAction.getInstance().setEnabled(false);\n\t\t\ttableController.setEnableToolBar(false);\n\t\t\tconfigureSutStatus(false);\n\t\t\tRemoteAgentUIComponents.checkJSystemPropsAndEnableAgentList(false);\n\t\t\tfixtureView.startFixturring();\n\t\t\trepaint();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "3f11057297892dc510e40550765c4da6", "score": "0.54951304", "text": "public WorkflowComponent() {\n VerticalLayout vbox = new VerticalLayout();\n HorizontalLayout hbox = new HorizontalLayout();\n\n //grid holds workflowDto,\n TreeGrid<WorkflowDto> workflowDtoGrid = new TreeGrid<>(WorkflowDto.class);\n List<WorkflowDto> WorkflowDtoList = new ArrayList<>();\n WorkflowDtoList.add(new WorkflowDto(\"workflowDto1\"));\n WorkflowDtoList.add(new WorkflowDto(\"workflowDto2\"));\n workflowDtoGrid.setItems(WorkflowDtoList);\n\n hbox.add(workflowDtoGrid);\n add(workflowDtoGrid);\n workflowDtoGrid.setHeight(\"300px\");\n workflowDtoGrid.setWidth(\"1000px\");\n workflowDtoGrid.setColumns(\"workflowName\");\n\n workflowDtoGrid.setSelectionMode(Grid.SelectionMode.NONE);\n\n// formLayout.add(name, age);\n// formLayout.addFormItem(name, \"Name\");\n// formLayout.addFormItem(age, \"Age\");\n// formLayout.addFormItem(column, \"Column\");\n//\n// workflowDtoGrid.addItemClickListener(\n// event -> {\n// name.setText(event.getItem().getFirstName());\n// age.setText(String.valueOf(event.getItem().getAge()));\n// column.setText(event.getColumn().getKey());\n// });\n }", "title": "" }, { "docid": "72fb16ab18dba187dba51fa8730a4974", "score": "0.5452524", "text": "@Override\r\n\tprotected void initView() {\n\t}", "title": "" }, { "docid": "44811e389a63b471a37653cf4bc2bd64", "score": "0.5432149", "text": "@Override\n\tprotected void initView() {\n\t\t\n\t}", "title": "" }, { "docid": "bce19f5ace9093482495d67bc6d20d39", "score": "0.54284555", "text": "@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6b9d1673e3d3f1b02507da2765dce10c", "score": "0.5391447", "text": "public PrefSetView() {\n initComponents();\n \n }", "title": "" }, { "docid": "357beb959ed9775b481dedb25de92a9a", "score": "0.5364857", "text": "private void initView() {\n\t\tJPanel p = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Task ID: \", SwingConstants.LEFT));\n\t\tp.add(getTaskID());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Task Title: \", SwingConstants.LEFT));\n\t\tp.add(getTaskTitle());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Category\", SwingConstants.LEFT));\n\t\tp.add(getCategory());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Start Date & Time: \", SwingConstants.LEFT));\n\t\tp.add(getTaskStartSpinner());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Due Date & Time: \", SwingConstants.LEFT));\n\t\tp.add(getTaskDueSpinner());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Completed Date & Time: \", SwingConstants.LEFT));\n\t\tp.add(getTaskCompletedSpinner());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Completed? \", SwingConstants.LEFT));\n\t\tp.add(getComplete());\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(new JLabel(\"Task Details: \", SwingConstants.LEFT));\n\t\tthis.add(p);\n\t\tp = new JPanel(new FlowLayout(FlowLayout.LEADING));\n\t\tp.add(getTaskDetails());\n\t\tthis.add(p);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "4753fb000a01c5f307199573780f0f32", "score": "0.5336632", "text": "@Override\n public void configure(\n WikiPageKey wikiKey,\n Map<String, String> widgetDescriptor,\n Callback widgetRefreshRequired,\n Long wikiVersionInView\n ) {\n descriptor = widgetDescriptor;\n view.configure();\n }", "title": "" }, { "docid": "9da8cd123e516b3de0ef8e61bbc67866", "score": "0.5329102", "text": "@Override\n protected void initView() {\n }", "title": "" }, { "docid": "c120523f4173927f4ad9ed409968f987", "score": "0.5265961", "text": "protected void initWorkflow() {\n Workflow workflow = new Workflow();\n\n Project project = getProject();\n String repositoryDomain = project.getProperty(\"domain.savant.repository\");\n String mappingFile = project.getProperty(\"file.savant.mapping\");\n if (repositoryDomain != null || mappingFile != null) {\n File mapping = new File(mappingFile);\n if (!mapping.exists() || mapping.isDirectory()) {\n mapping = null;\n }\n\n SavantInternetProcess sip = new SavantInternetProcess();\n sip.setDefaultdomain(repositoryDomain);\n sip.setMapping(mapping);\n workflow.addProcess(sip);\n }\n\n mediator.setWorkflow(workflow);\n }", "title": "" }, { "docid": "0e09e3c7fc37df85f2e8bdd9f50b4774", "score": "0.5264381", "text": "public DefaultViewActionBean(Resolution view) {\n this.view = view;\n }", "title": "" }, { "docid": "430b63b4cea441d85fa41e7430830817", "score": "0.52463984", "text": "@Override\r\n\tprotected void initViews() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b58bc4eec54db2d726cb5c37ae3201d6", "score": "0.52430904", "text": "public ConfigurationPane() \n {\n initTraders();\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "2244779af1613355aec26d32bbdcc2d7", "score": "0.52301157", "text": "@Override\n\tprotected void initViews() {\n\n\t}", "title": "" }, { "docid": "f5dbcb7f21099952f1dc665106fdb0aa", "score": "0.5229736", "text": "private void setupUI() {\n LayoutHandler layoutHandler;\n try {\n layoutHandler = BuildConfig.layoutHandler.newInstance();\n } catch (IllegalAccessException | InstantiationException e) {\n // Incorrectly configured build?\n throw new RuntimeException(\"Unable to create tripActionLayout handler\", e);\n }\n layoutHandler.setup(this, binding);\n binding.setClickHandler(this);\n binding.mockDriveLayout.setClickHandler(layoutHandler);\n binding.setState(sdkState);\n titleTextView = binding.titleTextView;\n tripListView = binding.tripListView;\n tripListView.setOnItemClickListener(this);\n }", "title": "" }, { "docid": "45ceafd7109417de7efd3a6296a8289b", "score": "0.5223968", "text": "@Override\r\n\tpublic void initView() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7314aab73e42a7adcdfd7bb3958e8957", "score": "0.52198327", "text": "@Override\n\tpublic void initView() {\n\t}", "title": "" }, { "docid": "22fd957b2e8e22988ee7f5a5475430b9", "score": "0.5212209", "text": "public void initView() {\n\t}", "title": "" }, { "docid": "87b41894fb94f9c702a8db4e756b2d6a", "score": "0.5210493", "text": "@Override\n protected void setup(View view) {\n final Organization organization = new Organization();\n organization.setName(\"CodePath\");\n\n final User user = new User();\n user.setName(\"John Doe\");\n\n // Get the DAO\n final UserDao userDao = ((RestApplication) getApplicationContext()).getMyDatabase().userDao();\n\n // Define the task\n ((RestApplication) getApplicationContext()).getMyDatabase().runInTransaction(new Runnable() {\n @Override\n public void run() {\n userDao.insertOrganization(organization);\n userDao.insertModel(user);\n }\n });\n }", "title": "" }, { "docid": "89d3afd09ddee96d14ce1edc762daef9", "score": "0.5203266", "text": "@Override\n\tpublic void initView() {\n\t\t\n\t}", "title": "" }, { "docid": "0461e64251f533646a38efe28454bd99", "score": "0.51849324", "text": "@Override\n protected void onConfigure() {\n\n final ScalarModel scalarModel = getModel();\n\n final boolean hidden = scalarModel.whetherHidden();\n setVisibilityAllowed(!hidden);\n\n super.onConfigure();\n }", "title": "" }, { "docid": "d6ed7f6451f6f72205f18501f59280a1", "score": "0.51665217", "text": "@Override\r\n protected void init() {\n \r\n mainComponent.setWidth(FORM_WIDTH);\r\n\r\n chemStructQuestionOptGrpLayout = new ChemStructQuestionOptGrpLayout(this);\r\n tnAttachmentsListLayout = new TnAttachmentsListLayout(this);\r\n publishQuestionOptGrpLayout = new PublishQuestionOptGrpLayout(this);\r\n exportQuestionOptGrpLayout = new ExportQuestionLayout(this);\r\n outstdCommentsCheckBoxLayout = new OutstdCommentsCheckBoxLayout(this);\r\n //inciNameTextAreaLayout = new InciNameTextAreaLayout(this);\r\n monoIdInciNameLayout = new MonoIdInciNameLayout(this);\r\n inciNameDateFieldLayout = new InciNameDateFieldLayout(this); // Assignment Date\r\n //monoIdFieldLayout = new MonoIdFieldLayout(this);\r\n sendAssignmentEmailButton = new SendAssignmentEmailButton(parentView);\r\n \r\n // Contact User Information\r\n userFormLayout = new UserFormLayout();\r\n //userFormLayout.setUser(user);\r\n userFormLayout.setEditable(false); \r\n \r\n // Contact Company Information\r\n userCompanyFormLayout = new CompanyFormLayout();\r\n //userCompanyFormLayout.setUserCompany(user.getUserCompany());\r\n userCompanyFormLayout.setEditable(false); \r\n \r\n userCompanySupplierIdFieldLayout = new UserCompanySupplierIdFieldLayout(this);\r\n \r\n // Publication Company\r\n publicationCompanyFormLayout = new CompanyFormLayout(\"tradeName.detail.pub_company.title\");\r\n //publicationCompanyFormLayout.setUserCompany(new UserCompany(formTn.pubCompany));\r\n //publicationCompanyFormLayout.setEditable(parentView.isEditable());\r\n \r\n publicationCompanySupplierIdFieldLayout = new PublicationCompanySupplierIdFieldLayout(this);\r\n }", "title": "" }, { "docid": "85dbe48d6301aeb62d17b58157512882", "score": "0.5160709", "text": "public TransViewTemplateConfigurer build() {\n createNashornTransViewResourcePool();\n return this;\n }", "title": "" }, { "docid": "9472a3ad40135fe141d69c44ab1931fe", "score": "0.5139055", "text": "private void configureView() {\n \t\t// parametrage de la JFrame\n \t\tthis.setExtendedState(JFrame.MAXIMIZED_BOTH);\n \t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \t\tthis.setSize(1400, 880);\n \t\tgetContentPane().setBackground(Color.GRAY);\n \n \t\tWebStatusBar statusBar = new WebStatusBar();\n \t\tWebMemoryBar memoryBar = new WebMemoryBar();\n \t\tmemoryBar.setShowMaximumMemory(false);\n \t\tstatusBar.add(memoryBar);\n \n \t\tgetContentPane().add(BorderLayout.SOUTH, statusBar);\n \n \t\t// TODO remonter les evenements start et stop\n \n \t\tDimension dim = Toolkit.getDefaultToolkit().getScreenSize();\n \t\tthis.setLocation(dim.width / 2 - this.getSize().width / 2, dim.height\n \t\t\t\t/ 2 - this.getSize().height / 2);\n \t\tthis.setResizable(true);\n \n \t\t// ajout des raccourcis clavier aux elements du menu\n \t\tmenuItemNew.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemOpen.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemSave.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemSaveAs.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,\n \t\t\t\tActionEvent.SHIFT_MASK + ActionEvent.CTRL_MASK));\n \t\tmenuItemQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemDoc.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_D,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t\tmenuItemAbout.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_B,\n \t\t\t\tActionEvent.CTRL_MASK));\n \t}", "title": "" }, { "docid": "33f178414ddd72144168c57af35a06c7", "score": "0.513452", "text": "@Override\n protected void initView()\n {\n\t\n }", "title": "" }, { "docid": "84290eb34a5b9c016ae95baf4054f9d6", "score": "0.51254183", "text": "@Override\n\tpublic void createInitialLayout(IPageLayout layout) {\n\t\tlayout.addNewWizardShortcut(\"cn.edu.buaa.sei.rucm.newModelWizard\");\n\n // Add \"show views\".\n// layout.addShowViewShortcut(IPageLayout.ID_RES_NAV);\n// layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS);\n// layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);\n layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);\n// layout.addShowViewShortcut(\"cn.edu.buaa.sei.rucm.modelNavigator\");\n layout.addShowViewShortcut(\"cn.edu.buaa.sei.rucm.commonNavigator\");\n// layout.addShowViewShortcut(\"org.eclipse.jdt.ui.PackageExplorer\");\n// layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);\n \n // Editors are placed for free.\n String editorArea = layout.getEditorArea();\n\n // Place navigator and outline to left of\n // editor area.\n IFolderLayout left = layout.createFolder(\"left\", IPageLayout.LEFT, 0.25f, editorArea);\n left.addView(\"cn.edu.buaa.sei.rucm.commonNavigator\");\n// left.addView(IPageLayout.ID_OUTLINE);\n \n IFolderLayout right = layout.createFolder(\"right\", IPageLayout.RIGHT, 0.70f, editorArea);\n right.addView(IPageLayout.ID_PROP_SHEET);\n\t}", "title": "" }, { "docid": "bdaf0070cc715e106bfaa69de129d467", "score": "0.5118993", "text": "public abstract void setWorkflow(IWorkflow iw);", "title": "" }, { "docid": "dcc5a5e41d841c215220ac21022a68f8", "score": "0.5115025", "text": "private void InitializeView() {\n ConfigureWindow();\n\n /* set up screen */\n ConfigureScreen();\n\n /* set up text screen */\n ConfigureTextScreen();\n\n /* set up buttons */\n ConfigureButtons();\n\n frame.pack();\n frame.setVisible(true);\n frame.setResizable(false);\n }", "title": "" }, { "docid": "21301e6e11d8f0816daf81899e72b89a", "score": "0.50957006", "text": "public EditViewPannel() {\n initComponents();\n }", "title": "" }, { "docid": "8f389fb6aeebf9ca021ee17e4fcb411a", "score": "0.5087285", "text": "private void initView() {\n }", "title": "" }, { "docid": "d3c190cce6e268b4e7fdc7a8e6a5d2a2", "score": "0.50785756", "text": "public ScheduleView() {\n initComponents();\n Controller.Instance().addObserver(this);\n renderSchedule();\n }", "title": "" }, { "docid": "122b3eed7d5e4722bbfb13d8c806ce3a", "score": "0.5077318", "text": "protected abstract void initViews();", "title": "" }, { "docid": "1f0eab775c308446fc74f5c027039d69", "score": "0.50662255", "text": "public ToolboxView() {\n setUpTable();\n }", "title": "" }, { "docid": "7a10103fb2127566268d5c0557b241b0", "score": "0.505577", "text": "@Override\n protected void setupViewInterceptors(EJBViewDescription view) {\n super.setupViewInterceptors(view);\n\n // add a Tx configurator\n view.getConfigurators().add(new ViewConfigurator() {\n @Override\n public void configure(DeploymentPhaseContext context, ComponentConfiguration componentConfiguration, ViewDescription description, ViewConfiguration configuration) throws DeploymentUnitProcessingException {\n EJBComponentDescription ejbComponentDescription = (EJBComponentDescription) componentConfiguration.getComponentDescription();\n // Add CMT interceptor factory\n if (TransactionManagementType.CONTAINER.equals(ejbComponentDescription.getTransactionManagementType())) {\n configuration.addViewInterceptor(CMTTxInterceptor.FACTORY, InterceptorOrder.View.CMT_TRANSACTION_INTERCEPTOR);\n }\n }\n });\n\n //now we need to figure out if this is a home or object view\n if (view instanceof EjbHomeViewDescription) {\n view.getConfigurators().add(getHomeViewConfigurator());\n } else {\n view.getConfigurators().add(getObjectViewConfigurator());\n }\n\n if (view.getMethodIntf() == MethodIntf.REMOTE) {\n view.getConfigurators().add(new ViewConfigurator() {\n @Override\n public void configure(final DeploymentPhaseContext context, final ComponentConfiguration componentConfiguration, final ViewDescription description, final ViewConfiguration configuration) throws DeploymentUnitProcessingException {\n final EEModuleDescription moduleDescription = componentConfiguration.getComponentDescription().getModuleDescription();\n final String appName = moduleDescription.getEarApplicationName() == null ? \"\" : moduleDescription.getEarApplicationName();\n configuration.setViewInstanceFactory(getRemoteViewInstanceFactory(appName, componentConfiguration.getModuleName(), moduleDescription.getDistinctName(), componentConfiguration.getComponentName()));\n }\n });\n }\n\n }", "title": "" }, { "docid": "34e19d51202de41c3d26a37620412991", "score": "0.5052135", "text": "public WizardView() {\n initComponents();\n }", "title": "" }, { "docid": "88964b17493ee0e0fbcad9826fcded70", "score": "0.50483346", "text": "private void configViewModeToolBar() {\n StiViewModeToolBar stiViewModeToolBar = getStiViewModeToolBar();\n\n singlePage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(0);\n continuousPage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(1);\n multiplePage = (StiToggleFlatButton) stiViewModeToolBar.getComponent(2);\n }", "title": "" }, { "docid": "2c42276b6e972e9eb50929809c8f1c53", "score": "0.50460136", "text": "public ApplicationUI() {\n\t\trepository = new InMemoryMapRepository(); //\n\t\ttaskSelected = new SimpleLongProperty(); //\n\t\t\n\t\trepository.create(new TaskData(\"Task1\", \"erster Task fuer test\" , LocalDate.now(), State.Todo));\n\t\trepository.create(new TaskData(\"Task2\", \"zweiter Task fuer test\" , LocalDate.now(), State.Doing));\n\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Doing));\n\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Doing));\n\t\trepository.create(new TaskData(\"Task1\", \"erster Task fuer test\" , LocalDate.now(), State.Todo));\n\t\trepository.create(new TaskData(\"Task2\", \"zweiter Task fuer test\" , LocalDate.now(), State.Done));\n\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Doing));\n//\t\trepository.create(new TaskData(\"Task3\", \"dritter Task fuer test\" , LocalDate.now(), State.Review));\n\t\t\n\t\tinitializeControls();\n\t\tlayoutControls();\n\t}", "title": "" }, { "docid": "5249624c9fe5bb97ecd9b6d12ac086be", "score": "0.5045567", "text": "private void initView() {\n\n }", "title": "" }, { "docid": "4688a026c09446c2af04523f8f80ad36", "score": "0.50402945", "text": "public ViewPanel() {\n initComponents();\n }", "title": "" }, { "docid": "7594d31470a915e6520cef61d5433e81", "score": "0.50375193", "text": "@Override\n\tprotected void configure() {\n\t\tMultibinder<MenuContribution> menu = Multibinder.newSetBinder(binder(), MenuContribution.class);\n\n\t\tmenu.addBinding().toInstance(\n\t\t\t\tnew DefaultMenuContribution(DataManager.APPLICATION_ID, MenuBuilder.menu(\"File\", \"New\"),\n\t\t\t\t\t\tnew NewProjectAction()));\n\t}", "title": "" }, { "docid": "846f67329736a33deee33a0377ab0426", "score": "0.5026718", "text": "public ObmenSettingsViewImpl() {\n }", "title": "" }, { "docid": "812e0b3bf1164d482d856abcdbabd900", "score": "0.50225914", "text": "public AuthenticationAdminView() {\n initComponents();\n }", "title": "" }, { "docid": "44eedfee41b154dc931a0c4f3831cb68", "score": "0.501774", "text": "void viewTvShow(ConfigurationModel configuration, TvShowModel tvShow);", "title": "" }, { "docid": "106b223e7a1b43084e8c7c94a749fb36", "score": "0.5008214", "text": "public tugaslayout() {\n initComponents();\n }", "title": "" }, { "docid": "717eac4ee2ffb2e3275a8952de1f75ee", "score": "0.49842194", "text": "public ProjectSettingsPage()\n {\n initialize();\n }", "title": "" }, { "docid": "65096f0decb1c45c7ac5b6121dbf0bc0", "score": "0.49710256", "text": "public void setWorkflowType(WorkflowType workflowType) {\n this.workflowType = workflowType;\n }", "title": "" }, { "docid": "dccf34fc90467b74c6026f266f7374cf", "score": "0.49631894", "text": "private void initView() {\n\t\tsuper.setLayout(new BorderLayout());\n\t\tinitGrammarTable();\n\t\tJPanel rightPanel = initRightPanel();\n\t\tJSplitPane mainSplit = SplitPaneFactory.createSplit(environment, true,\n\t\t\t\t0.4, new JScrollPane(grammarTable), rightPanel);\n\t\tadd(mainSplit, BorderLayout.CENTER);\n\t}", "title": "" }, { "docid": "0554c31961cce1d04b6174a792f2fd45", "score": "0.49606472", "text": "public void setWorkflowTask(WorkflowTaskInstance p_wfTaskInstance);", "title": "" }, { "docid": "d0622743fa9f7e16840066248d7d1e23", "score": "0.49601147", "text": "public MastermindView() {\n initialiseNodes();\n layoutNodes();\n }", "title": "" }, { "docid": "01de74455df4296009856f5a82611587", "score": "0.49599475", "text": "@Override\n\tpublic void viewSetting() {\n\t\tsetBackground(myColor.backgroundCol());\n\t\t\n\t\tbackBtn.setSize(70,40);\n\t\tbackBtn.setLocation(10,10);\n\t\t\n\t\tsettingLabel.setSize(50,50);\n\t\tsettingLabel.setLocation(90,100);\n\t\t\n\t\tchargeLabel.setSize(50,50);\n\t\tchargeLabel.setLocation(90,200);\n\t\t\n\t\tinterestLabel.setSize(50,50);\n\t\tinterestLabel.setLocation(90,250);\n\t\t\n\t\tuserListLabel.setSize(50,50);\n\t\tuserListLabel.setLocation(400,100);\n\t\t\n\t\tsettingBtn.setSize(200,50);\n\t\tsettingBtn.setLocation(80,310);\n\t\t\n\t\tchargeValue.setSize(150,50);\n\t\tchargeValue.setLocation(130,200);\n\t\t\n\t\tinterestValue.setSize(150,50);\n\t\tinterestValue.setLocation(130,250);\n\t\t\n\t\tuserList.setSize(230,600);\n\t\tuserList.setLocation(350,150);\n\t\t\n\t\ttranListLabel.setSize(50,50);\n\t\ttranListLabel.setLocation(610,100);\n\t\t\n\t\ttransactionList.setSize(400,600);\n\t\ttransactionList.setLocation(610,150);\n\t\t\n\t\tusrDeleteBtn.setSize(100,30);\n\t\tusrDeleteBtn.setLocation(470,110);\n\t}", "title": "" }, { "docid": "b5cd1c7ed3dee419bc681d8402a07a17", "score": "0.49556866", "text": "private void viewInitilization() {\n }", "title": "" }, { "docid": "e0c99e06c99ac93bd6da0883dbc0e924", "score": "0.4940475", "text": "public AbstractFxmlView() {\n LOGGER.debug(\"AbstractFxmlView construction\");\n // Set the root path to package path\n final String filePathFromPackageName = PropertyReaderHelper.determineFilePathFromPackageName(getClass());\n setFxmlRootPath(filePathFromPackageName);\n annotation = getFXMLAnnotation();\n resource = getURLResource(annotation);\n presenterProperty = new SimpleObjectProperty<>();\n bundle = getResourceBundle(getBundleName());\n }", "title": "" }, { "docid": "83f8b7430019d589c073d575c72f8589", "score": "0.49404544", "text": "public SchedPrefView() {\n initComponents();\n }", "title": "" }, { "docid": "613fddc14111920c0714b7bb6ff36399", "score": "0.49324745", "text": "public void goToView(){\r\n\t\tgrammarDevPanel.setMode(ViewSemanticsPanel.MODE_VIEW);\r\n\t}", "title": "" }, { "docid": "57f53d995fc422f52866328e4904d99f", "score": "0.49324667", "text": "void setCreateView(NeverNoteCreateView createView);", "title": "" }, { "docid": "39a899258c11bb56d26e26e65e876877", "score": "0.49322876", "text": "public ActionView() {\n initComponents();\n customInit();\n }", "title": "" }, { "docid": "5e48e3662080857dcf15ff14035e0069", "score": "0.49312136", "text": "public ProdutoView() {\n // método para exibir view no centro da tela\n initComponents();\n }", "title": "" }, { "docid": "efd9d50424aa7cbd3b8dc2438714ac8c", "score": "0.49282518", "text": "private void initialConfigView(){\n\t\t// video depth\n\t\tthis.videoDepth = ((Button) findViewById(R.id.cp_video_depth));\n\t\tthis.videoDepth.setText(getResources().getString(R.string.video_depth)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)+Locals.VideoDepthBpp+\"bpp\");\n\t\tthis.videoDepth.setOnClickListener(this);\n\t\t// screen ratio\n\t\tthis.screenRatio = ((Button) findViewById(R.id.cp_screen_ratio));\n\t\tthis.screenRatio.setText(getResources().getString(R.string.screen_ratio)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)\n\t\t\t\t+((Locals.VideoXRatio > 0 && Locals.VideoYRatio > 0)?(Locals.VideoXRatio+\":\"+Locals.VideoYRatio):(getResources().getString(R.string.full))));\n\t\tthis.screenRatio.setOnClickListener(this);\n\t\t// smooth video\n\t\tthis.smoothVideo = ((Button) findViewById(R.id.cp_smooth_video));\n\t\tthis.smoothVideo.setText(getResources().getString(R.string.smooth_video)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)\n\t\t\t\t+(Locals.VideoSmooth?\"Yes\":\"No\"));\n\t\tthis.smoothVideo.setOnClickListener(this);\n\t\t// never show\n\t\tthis.nevershow = ((Button) findViewById(R.id.cp_never_show));\n\t\tthis.nevershow.setText(getResources().getString(R.string.never_show)\n\t\t\t\t+\"\\n\"+getResources().getString(R.string.current)\n\t\t\t\t+(Locals.AppLaunchConfigUse?\"No\":\"Yes\"));\n\t\tthis.nevershow.setOnClickListener(this);\n\t\t// gallery\n\t\tthis.gallery = ((Button) findViewById(R.id.cp_gallery));\n\t\tthis.gallery.setOnClickListener(this);\n\t\t// about\n\t\tthis.about = ((Button) findViewById(R.id.cp_about));\n\t\tthis.about.setOnClickListener(this);\n\t\t// run game\n\t\tthis.run = ((Button) findViewById(R.id.cp_run));\n\t\tthis.run.setOnClickListener(this);\n\t}", "title": "" }, { "docid": "4f851293feebd05d81c5643179ca213c", "score": "0.49214798", "text": "public ViewConfigurationExportTask(InitParams initParams, String name) {\n this.initParams = initParams;\n this.name = name;\n }", "title": "" }, { "docid": "2759a1e32a6cd9ad5e2e82539b7a9233", "score": "0.49196488", "text": "public void layoutForSimView()\n {\n preferredSize = new Dimension(644, 456);\n ((ViewableComponent)withName(\"proc1\")).setPreferredLocation(new Point(119, 125));\n ((ViewableComponent)withName(\"ef\")).setPreferredLocation(new Point(21, 200));\n ((ViewableComponent)withName(\"switch0\")).setPreferredLocation(new Point(-13, 68));\n ((ViewableComponent)withName(\"proc0\")).setPreferredLocation(new Point(120, 18));\n }", "title": "" }, { "docid": "bf9a73cbeeb04b1f1c080e606efc39c7", "score": "0.4896192", "text": "public ModelViewConfig getViewConfig() {\n return this.viewConfig;\n }", "title": "" }, { "docid": "02662b0f7b97d8c63a85d1102af53670", "score": "0.48903573", "text": "private void setupUI() {\n JFrame frame = (JFrame) getUIComponent();\n \n Container content = frame.getContentPane();\n content.add((Component) getSettingsView().getUIComponent(), SOUTH);\n content.add((Component) getListView().getUIComponent(), CENTER);\n \n try {\n String look = renamer.getConfig().getString(LOOK_AND_FEEL);\n \n if (look == null || look.equals(LOOK_N_FEEL_CROSS_PLATFORM))\n UIManager.setLookAndFeel(\n UIManager.getCrossPlatformLookAndFeelClassName());\n \n else if (look.equals(LOOK_N_FEEL_SYSTEM))\n UIManager.setLookAndFeel(\n UIManager.getSystemLookAndFeelClassName());\n \n SwingUtilities.updateComponentTreeUI(frame);\n \n } catch (Exception e) {\n e.printStackTrace();\n assert false;\n }\n \n new DropTarget(frame, getDropTargetListener());\n \n frame.setJMenuBar(menuBar = new MenuBar(this));\n frame.pack();\n frame.setSize(Utils.getDefaultWindowSize(this));\n frame.setLocation(Utils.getDefaultWindowPosition(this));\n frame.addWindowListener(windowListener);\n frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n frame.setVisible(true);\n }", "title": "" }, { "docid": "81b789647b5f84f0c2f6e7194112c479", "score": "0.48899308", "text": "public EmailView() {\n initComponents();\n relatedInfoEditorPane.setContentType(\"text/html\");\n \n }", "title": "" }, { "docid": "a4a275f5ccf5bb006f843689add7c87f", "score": "0.48879322", "text": "private void makePredefinedConfigurationsPanel() {\n predefinedConfController = new PredefinedConfController(this, \"config\", \"predefinedConfiguration.apv\");\n configPanel = predefinedConfController.getJPanel();\n ActionListener selectConfListener = new ActionListener() {\n\n public void actionPerformed(ActionEvent e) {\n URL url = (URL) e.getSource();\n if (url == null) {\n Toolkit.getDefaultToolkit().beep();\n messageTextLocal.setText(null);\n messageTextLocal.setText(\"Cannot find an input configuration file!\");\n }\n cleanUp();\n readArrayPVViewerDocument(url);\n setHasChanges(false);\n setFontForAll(globalFont);\n setActivePanel(VIEW_PANEL);\n }\n };\n predefinedConfController.setSelectorListener(selectConfListener);\n }", "title": "" }, { "docid": "d9b66869a8c825bf18432d847ab71271", "score": "0.48876828", "text": "ProjectSettingsPage(SettingsContainer container)\n {\n super(container);\n initialize();\n }", "title": "" }, { "docid": "8f2bba44fd834fbb869c6a09be3bb015", "score": "0.48846596", "text": "@Override\n\tpublic void Create() {\n\t\tinitView();\n\t}", "title": "" }, { "docid": "df94e7dff9cb797b1d79aa1c3e08f63f", "score": "0.48798758", "text": "public SettingsView(Context context) {\n super(context);\n }", "title": "" }, { "docid": "4b879e7fe77ae82c13b3aa335cbfe2f5", "score": "0.48781592", "text": "void initView();", "title": "" }, { "docid": "7693f8317713e4532393649b09085ee1", "score": "0.4876874", "text": "@Override\n public void initView() {\n super.initView();\n super.setTitle(\"设置\");\n super.setGone();\n setBack();\n }", "title": "" }, { "docid": "ca9d00e4a26b643f7c76ef886a4a2843", "score": "0.48727566", "text": "@Override\n protected void initView() {\n ActionBar actionBar = getSupportActionBar();\n if (actionBar != null) {\n actionBar.setDisplayHomeAsUpEnabled(true);\n }\n\n // init functions\n buildBills();\n loadCompacts();\n setCardInfo();\n\n // init mode\n mode = Mode.SUBMIT;\n }", "title": "" }, { "docid": "977177565c8ade59276a7d55328981bf", "score": "0.48725238", "text": "public void configureWidgets() {\n // Set JMenuChoosers for image directory and sounds.\n setSlidesFolderChooser();\n setSoundFileChooser();\n\n // Initialize spinner\n List<Integer> spinnerValues = new ArrayList<>();\n for (int i = 1; i<=60; i++)\n spinnerValues.add(i);\n intervalInSecondsSpinner.setModel(new SpinnerListModel(spinnerValues));\n\n // Add Action Listeners to RadioButtons\n manualChangeRadioButton.addActionListener(e -> {\n if (manualChangeRadioButton.isSelected())\n intervalInSecondsSpinner.setEnabled(false);\n });\n\n autoChangeRadioButton.addActionListener(e -> {\n if (autoChangeRadioButton.isSelected())\n intervalInSecondsSpinner.setEnabled(true);\n });\n\n // Initially have manual button chosen\n manualChangeRadioButton.setSelected(true);\n\n // Add action listeners to buttons\n addSlideButton.addActionListener(e -> {\n // Add image to be in the slideshow\n thumbnailComponent.applyToSelected(imageThumbnail -> slideComponent.add(imageThumbnail.getData()));\n });\n\n playButton.addActionListener(e -> {\n if(getSlidesConfig().getSlidesFileList().length > 0){\n // Make the current frame invisible\n setVisible(false);\n // Open up SlidesPlayer (the Run-Time slideshow player)\n new SlidesPlayer(this);\n\n }else{\n JOptionPane.showMessageDialog(null, \"No Images Present\");\n }\n });\n\n // Configure JMenuBar\n menuBar = new JMenuBar();\n JMenu fileMenu = new JMenu(\"File\");\n\n JMenuItem saveMenuItem = new JMenuItem(\"Save ...\");\n saveMenuItem.addActionListener(e -> {\n JFileChooser fileChooser = new JFileChooser();\n fileChooser.addChoosableFileFilter(new FileNameExtensionFilter(\"Text file\", \"txt\"));\n fileChooser.setCurrentDirectory(new File(\".\"));\n fileChooser.setDialogTitle(\"Save slides config file\");\n if (fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {\n File fileToSave = fileChooser.getSelectedFile();\n try {\n FileSave fs = new FileSave();\n fs.addFile(getSlidesConfig());\n fs.printFile(fileToSave.getAbsolutePath());\n } catch (Exception exception) {\n exception.printStackTrace();\n }\n }\n });\n\n JMenuItem loadMenuItem = new JMenuItem(\"Load ...\");\n loadMenuItem.addActionListener(e -> {\n JFileChooser fileChooser = new JFileChooser();\n fileChooser.setCurrentDirectory(new File(\".\"));\n fileChooser.setDialogTitle(\"Open slides config file\");\n fileChooser.setMultiSelectionEnabled(false);\n if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\n try {\n FileLoad fl = new FileLoad(fileChooser.getSelectedFile());\n SlidesConfig slidesConfig = fl.getSlidesConfig();\n if (slidesConfig != null)\n loadSlidesConfig(slidesConfig);\n } catch (Exception exception) {\n exception.printStackTrace();\n }\n }\n });\n\n JMenuItem openFolderItem = new JMenuItem(\"Open image folder...\");\n openFolderItem.addActionListener(e -> {\n slidesFolderChooser.setAcceptAllFileFilterUsed(false);\n if (slidesFolderChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\n File folderPath = slidesFolderChooser.getSelectedFile();\n processSelectedFolder(folderPath);\n folderPathTextField = folderPath.toString();\n }\n });\n\n JMenuItem musicFileItem = new JMenuItem(\"Select audio...\");\n musicFileItem.addActionListener(e -> {\n soundFileChooser.setAcceptAllFileFilterUsed(false);\n if (soundFileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {\n File[] selected = soundFileChooser.getSelectedFiles();\n wavComponent.processSelectedPaths(Arrays.stream(selected).map(f -> Paths.get(f.getPath())).collect(Collectors.toList()));\n }\n });\n\n fileMenu.add(saveMenuItem);\n fileMenu.add(loadMenuItem);\n fileMenu.addSeparator();\n fileMenu.add(openFolderItem);\n fileMenu.add(musicFileItem);\n menuBar.add(fileMenu);\n\n thumbnailComponent = new ThumbnailComponent(thumbnailFlowPanel);\n wavFlowPanel.setLayout(new BoxLayout(wavFlowPanel, BoxLayout.Y_AXIS));\n wavComponent = new WavComponent(wavFlowPanel, null, leftWavButton, rightWavButton, null, removeWavButton);\n slideComponent = new SlideComponent(slidesFlowPanel, startSlideButton, leftSlideButton, rightSlideButton, finishSlideButton, removeSlideButton, fxButton);\n musicPanel.setLayout(new BoxLayout(musicPanel, BoxLayout.Y_AXIS));\n\n Runnable musicTracksUpdater = () -> {\n musicPanel.removeAll();\n int counter = 1;\n for (WavThumbnail wavThumbnail : wavComponent.getElements()) {\n int slideLength = 10;\n if (autoChangeRadioButton.isSelected())\n slideLength = Integer.valueOf(intervalInSecondsSpinner.getValue().toString());\n musicPanel.add(new TrackPanel(MessageFormat.format(\"Track {0}\", counter), wavThumbnail, slideLength));\n counter++;\n }\n musicPanel.revalidate();\n musicPanel.repaint();\n };\n\n wavComponent.setApplyOnUpdate(musicTracksUpdater);\n autoChangeRadioButton.addActionListener(e -> musicTracksUpdater.run());\n intervalInSecondsSpinner.addChangeListener(e -> musicTracksUpdater.run());\n }", "title": "" }, { "docid": "b35c631bc72907a340afb990b5870114", "score": "0.4866953", "text": "public void setWorkflowEnabled(Boolean workflowEnabled){\r\n\t\tthis.workflowEnabled = workflowEnabled;\r\n\t}", "title": "" }, { "docid": "4a524c5d4258a2ae29b80f51e4f04e11", "score": "0.4856825", "text": "public void setupView(NovaGLView view) {\n\t\tview.setListener(listener);\n\t}", "title": "" }, { "docid": "f9c897f9723bcf3834bcec8461cf792d", "score": "0.48508462", "text": "public MainView() {\r\n initComponents();\r\n getMiddle();\r\n }", "title": "" }, { "docid": "83beed638f2876cd20db683b5bf1039b", "score": "0.48492235", "text": "@Override\n protected void startup() {\n\n view = new EVView(this);\n model = new EVModel(this);\n monitor = new EVMonitor(this);\n\n loadProperties();\n\n initBehavior();\n initMenu();\n initWindows();\n\n show(view);\n }", "title": "" }, { "docid": "0d84eba72882667364f6497a315f449f", "score": "0.4848254", "text": "public void setExperimentView (ExperimentView experView) {\n\t\tview = experView;\n\t\treturn;\n\t}", "title": "" }, { "docid": "72668e1346b67aef84a17fa442f6d5a6", "score": "0.48481575", "text": "void setScheduleView(String scheduleView);", "title": "" }, { "docid": "717c2ae224c832848d5b99ce0db9d573", "score": "0.4847897", "text": "public MeetingView() {\n initComponents();\n displayAttendeesNameToList();\n displayCalledByEmployeeToComboBox();\n displayOfficeNameToComboBox();\n displayDataIntoTable();\n setJMenuBar(DashboardMenu.displayMenu(this));\n setExtendedState(JFrame.MAXIMIZED_BOTH);\n }", "title": "" }, { "docid": "95a3e808b289b69a13f9d915c0ab5984", "score": "0.4847076", "text": "public MainView() {\n initComponents();\n jToolBar1.setVisible(false);\n \n /*tfIP.setText(\"192.168.0.17\");\n tfSrcFolder.setText(\"D:\\\\Desktop\\\\Shared Files\");\n tfDestFolder.setText(\"D:\\\\Desktop\\\\Received Files from Server\");*/\n }", "title": "" }, { "docid": "5b247f1d8b8e2b03393342266f6ec335", "score": "0.48434085", "text": "@Override\n public void beforeShow(final Callback<Boolean> onReadyCallback) {\n\n super.beforeShow(new Callback<Boolean>() {\n\n @Override\n public void exec(final Boolean result) { //Don't place a breakpoint here: It will stall debugging for some unknown reason!\n\n if (result) {\n // Make sure workflow actions and status updated before showing.\n ((WorkflowEnhancedNavController) controller).getWfUtilities().refresh();\n\n // Show validation errors if they exist\n ((WorkflowEnhancedNavController) controller).getWfUtilities().doValidationCheck(new Callback<List<ValidationResultInfo>>() {\n \n @Override\n public void exec(List<ValidationResultInfo> validationResults) { //Don't place a breakpoint here: It will stall debugging for some unknown reason!\n\n tableSection.enableValidation(showingValidation); // I think passing true here turns on all validation highlighting automatically (i.e: without requiring \"click to show\") \n \n initializeHeaders(validationResults);\n resolveMissingFieldsWarnings();\n // proposal submission warnings resolution moved to overridden processValidationResults below.\n \n onReadyCallback.exec(result); // calls CourseProposalController.showView.finalView \n }\n });\n } else {\n onReadyCallback.exec(result);\n }\n }\n });\n }", "title": "" }, { "docid": "5e48d4b87f4d5f32373bde24fbe58358", "score": "0.4842509", "text": "@Override\n public void Create() {\n initView();\n }", "title": "" }, { "docid": "23a191eb9760628cb677201371d1f55e", "score": "0.4836921", "text": "public ChartPreferencesView() {\n initComponents();\n postInit();\n }", "title": "" }, { "docid": "69353ed73b389967b0ce7e0536bcaa4d", "score": "0.483523", "text": "public PanShorcutView() {\n initComponents();\n }", "title": "" }, { "docid": "bbfdd010e16da1449c6d90029d89f48c", "score": "0.48277214", "text": "public void handleSettings(View view) {\n\t Intent intent = new Intent();\n\t ComponentName cp = new ComponentName(\"com.onskreen.cornerstone.panel\", \"com.onskreen.cornerstone.panel.CSSettings\");\n\t intent.setComponent(cp);\n\t ActivityLauncher aLauncher = new ActivityLauncher(intent, -2);\n\t aLauncher.launch();\n\t}", "title": "" }, { "docid": "a2ef89509056a9a49dd7895af0b233af", "score": "0.48241317", "text": "public OperationView() {\n initComponents();\n PopulateCheckOut();\n }", "title": "" }, { "docid": "63d16d9f020bd1b3bf927822cf1b6cb5", "score": "0.48208988", "text": "@Override\n public void configureUIForFollowUpDataLoadPhase() {\n }", "title": "" }, { "docid": "426228e111b0992acbaa1e5a3ba20f70", "score": "0.48175648", "text": "public void initializeView() {\n\t\t// Get the number of nodes.\n\t\tParameters p = RunEnvironment.getInstance().getParameters();\n\t\tnNodes = p.getInteger(\"NUMBER_NODES\");\n\n\t\t// Add a maximum of three nodes as the initial view.\n\t\tfor (int i = 0; i < Math.min(3, MAX_SIZE_VIEW); i++) {\n\t\t\tview.add(random.nextInt(nNodes));\n\t\t}\n\t}", "title": "" }, { "docid": "ab5b3e07852a46b6b1d6dcf58361437e", "score": "0.48088947", "text": "private void initView(){\n }", "title": "" }, { "docid": "1ae0eb0f0a1e70edfa60d8c6a004c2cc", "score": "0.4807969", "text": "public formView() {\n initComponents();\n \n this.setLocationRelativeTo(null);\n new ConfigDB().tampilTabel(judul, SQLView, JTableView);\n new ConfigDB().aturLebarKolom(JTableView, LebarKolom);\n }", "title": "" }, { "docid": "529d7941741adfb3e9238507303cfa4d", "score": "0.48073316", "text": "@Override\n protected void config() {\n\n }", "title": "" }, { "docid": "aec3b4183adb8983e6eab85ebd3c27b0", "score": "0.47994843", "text": "public ViewMain() {\n initComponents();\n this.setVisible(true);\n }", "title": "" }, { "docid": "7174ff265fb216a76992be51cd0dbf66", "score": "0.47963303", "text": "public ReturnView() {\n \n initComponents();\n }", "title": "" }, { "docid": "e1966e1ba64aa62b5d3b6569ced08926", "score": "0.47945827", "text": "public HomeView() {\n initComponents();\n \n setUkuranLokasiFrame(0.8, true);\n }", "title": "" } ]
48dbd4cb7dd3ab1125f22c98db502eeb
Constructs an empty BloomFilter with a given length for the bit vector, guarenteeing a maximum error rate.
[ { "docid": "1eda5d7f3bf02d8f0b4589348897ed21", "score": "0.62624705", "text": "public BloomFilter(int numKeys, double errorRate) {\n\t\tthis();\n\t\tdouble lowest_m = Double.MAX_VALUE;\n\t\tint best_k = 1;\n\t\tfor (int k = 1; k <= 100; k++) {\n\t\t\tdouble m =\n\t\t\t\t(-1 * k * numKeys)\n\t\t\t\t\t/ (Math.log(1 - (Math.pow(errorRate, (1 / k)))));\n\t\t\tif (m < lowest_m) {\n\t\t\t\tlowest_m = m;\n\t\t\t\tbest_k = k;\n\t\t\t}\n\t\t}\n\t\tthis.keys = new boolean[numKeys];\n\t\tthis.numFunctions = best_k;\n\t\tfor (int i = 0; i < numKeys; i++)\n\t\t\tthis.keys[i] = false;\n\t}", "title": "" } ]
[ { "docid": "2dcaf39cc31c47e9e1ef764e9035f9ca", "score": "0.65316856", "text": "public BloomFilter(int numKeys) {\n\t\tthis(numKeys, 10);\n\t}", "title": "" }, { "docid": "6086845860b51a75e9225dd55bd5eba9", "score": "0.62839484", "text": "public SliceBloomFilter(int expectedNumberOfElements, double falsePositiveProbability)\n {\n if (this.bitset == null) {\n SetAttributes(Math.ceil(-(Math.log(falsePositiveProbability) / Math.log(2))) / Math.log(2), // c = k / ln(2)\n expectedNumberOfElements, (int)Math.ceil(-(Math.log(falsePositiveProbability) / Math.log(2))));\n }\n }", "title": "" }, { "docid": "5e6f9a3d2725ee4d256081027a13d5a6", "score": "0.6152728", "text": "public BloomFilter(long[] bits, int numFuncs) {\n super();\n // input long[] is set as such without copying, so any modification to the source will affect bloom filter\n this.bitSet = new BitSet(bits);\n this.numBits = bits.length * Long.SIZE;\n this.numHashFunctions = numFuncs;\n }", "title": "" }, { "docid": "232fafccb3ecd69feed0619f77fb1908", "score": "0.6112504", "text": "public SimpleBloomFilter(final ByteBuf channelBuffer) {\n\t\tthis.byteArraySize = channelBuffer.readUnsignedShort() - (SIZE_HEADER_ELEMENTS + SIZE_HEADER_LENGTH);\n\t\tthis.bitArraySize = byteArraySize * Byte.SIZE;\n\t\tint expectedElements = channelBuffer.readInt();\n\t\tthis.expectedElements = expectedElements;\n\t\tdouble hf = (bitArraySize / (double) expectedElements) * Math.log(2.0);\n\t\tthis.k = (int) Math.ceil(hf);\n\t\tif (byteArraySize > 0) {\n\t\t\tbyte[] me = new byte[byteArraySize];\n\t\t\tchannelBuffer.readBytes(me);\n\t\t\tthis.bitSet = RPCUtils.fromByteArray(me);\n\t\t} else {\n\t\t\tthis.bitSet = new BitSet();\n\t\t}\n\t}", "title": "" }, { "docid": "4b4bed6b46f0625d8ac64a0db5a37cb6", "score": "0.5995643", "text": "public static void regularBF() {\n BloomFilter<String> bf = new FilterBuilder(1000, 0.1).buildBloomFilter();\n\n // Add a few elements\n bf.add(\"Just\");\n bf.add(\"a\");\n bf.add(\"test.\");\n\n // Test if they are contained\n print(bf.contains(\"Just\")); // true\n print(bf.contains(\"a\")); // true\n print(bf.contains(\"test.\")); // true\n\n // Test with a non-existing element\n print(bf.contains(\"WingDangDoodel\")); // false\n\n // Add 300 elements\n for (int i = 0; i < 300; i++) {\n String element = \"Element \" + i;\n bf.add(element);\n }\n\n // test for false positives\n for (int i = 300; i < 1000; i++) {\n String element = \"Element \" + i;\n if (bf.contains(element)) {\n print(element); // two elements: 440, 669\n }\n }\n // Compare with the expected amount\n print(bf.getFalsePositiveProbability(303) * 700); // 1.74\n\n // Estimate cardinality/population\n print(bf.getEstimatedPopulation()); // 303.6759147801151\n\n // Clone the Bloom filter\n bf.clone();\n // Reset it\n bf.clear();\n // add in Bulk\n List<String> bulk = Arrays.asList(\"one\", \"two\", \"three\");\n bf.addAll(bulk);\n print(bf.containsAll(bulk)); // true\n\n // Create a more customized Bloom filter\n BloomFilter<Integer> bf2 = new FilterBuilder().expectedElements(6666) // elements\n .size(10000) // bits to use\n .hashFunction(HashMethod.Murmur3) // our hash\n .buildBloomFilter();\n\n print(\"#Hashes:\" + bf2.getHashes()); // 2\n print(FilterBuilder.optimalK(6666, 10000)); // you can also do these calculations yourself\n\n // Create two Bloom filters with equal parameters\n BloomFilter<String> one = new FilterBuilder(100, 0.1).buildBloomFilter();\n BloomFilter<String> other = new FilterBuilder(100, 0.1).buildBloomFilter();\n one.add(\"this\");\n other.add(\"that\");\n one.union(other);\n print(one.contains(\"this\")); // true\n print(one.contains(\"that\")); // true\n\n other.add(\"this\");\n other.add(\"boggles\");\n one.intersect(other);\n print(one.contains(\"this\")); // true\n print(one.contains(\"boggles\")); // false\n\n }", "title": "" }, { "docid": "aeae6f7307972f6fecb22087c4bfe2b1", "score": "0.5912256", "text": "public BitVector(int length) {\n this.length = length;\n int numBuckets = this.length / BUCKET_SIZE;\n if (this.length % BUCKET_SIZE > 0)\n numBuckets++;\n vector = new int[numBuckets];\n }", "title": "" }, { "docid": "97057150a9a19d1381f9f9be763e0f10", "score": "0.5812493", "text": "public SimpleBloomFilter(final int byteArraySize, final int expectedElements) {\n\t\tthis(byteArraySize, expectedElements, new BitSet(byteArraySize * Byte.SIZE));\n\t}", "title": "" }, { "docid": "d16dfbdac64a7ac901d202463d56e305", "score": "0.5768185", "text": "BloomFilter(int [] sizes)\n\t{\n\t\tif (sizes != null && sizes.length > 0)\n\t\t{\n\t\t\tbloom = new boolean[sizes.length][];\n\t\t\tfor (int i = 0; i < bloom.length; i++)\n\t\t\t{\n\t\t\t\tbloom[i] = new boolean[sizes[i]];\n\t\t\t}\n\t\t}\n\n\t\telse\n\t\t{\n\t\t\tbloom = null;\n\t\t}\n\t}", "title": "" }, { "docid": "e372a056fc90bc0f809a949695e46a00", "score": "0.56797457", "text": "public BloomFilter(int numKeys, int numHashFunctions) {\n\t\tthis();\n\t\tthis.keys = new boolean[numKeys];\n\t\tthis.numFunctions = numHashFunctions;\n\t\tfor (int i = 0; i < numKeys; i++)\n\t\t\tthis.keys[i] = false;\n\t}", "title": "" }, { "docid": "5dc3217df2da1b57d4c67e3945236a43", "score": "0.56108457", "text": "public static BloomFilter create(String file, double fpp) {\n readStrings(file);\n int expectedInsertions = objects.size();\n int length = optimalNumOfBits(expectedInsertions, fpp);\n int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, length);\n try {\n return new BloomFilter(objects, length, numHashFunctions);\n } catch (IllegalArgumentException e) {\n throw new IllegalArgumentException(\"Could not create BloomFilter of \" + length + \" bits\", e);\n }\n }", "title": "" }, { "docid": "a549395675417e55535f2dd095b0bd4a", "score": "0.5579385", "text": "public DLeftBloomFilter(int maxsize) {\r\n this.capacity = maxsize;\r\n this.bucketCount = ((this.capacity - 1) / fingerBitsSize) + 1;\r\n this.subtables = new byte[HASHCOUNT][];\r\n this.buckets = new short[HASHCOUNT][];\r\n this.bucketCapacity = (3 << 3) + 1;\r\n for (int i = 0; i < HASHCOUNT; i++) {\r\n // 8cell + 1byte(负载)\r\n subtables[i] = new byte[(this.bucketCount * this.bucketCapacity)];\r\n buckets[i] = new short[this.bucketCount];\r\n }\r\n }", "title": "" }, { "docid": "2d2928c7283881ea1b3e4a1627ca10f2", "score": "0.5409597", "text": "public BloomFilter(String filter) {\n\t\tthis();\n\t\tint index1 = filter.indexOf(\":\");\n\t\tint index2 = filter.lastIndexOf(\":\");\n\t\tnumFunctions = new Integer(filter.substring(0, index1)).intValue();\n\t\tkeys =\n\t\t\tnew boolean[new Integer(filter.substring(index1, index2))\n\t\t\t\t.intValue()];\n\t\tfor (int i = index2 + 1; i < filter.length(); i++) {\n\t\t\tif (filter.charAt(i) == '1')\n\t\t\t\tkeys[i] = true;\n\t\t\telse\n\t\t\t\tkeys[i] = false;\n\t\t}\n\t}", "title": "" }, { "docid": "1fc238d4f52a17699f5568c88ae872dc", "score": "0.54035634", "text": "public SimpleBloomFilter(final int byteArraySize, final int expectedElements, final BitSet bitSet) {\n\t\tthis.byteArraySize = byteArraySize;\n\t\tthis.bitArraySize = byteArraySize * Byte.SIZE;\n\t\tthis.expectedElements = expectedElements;\n\t\tdouble hf = (bitArraySize / (double) expectedElements) * Math.log(2.0);\n\t\tthis.k = (int) Math.ceil(hf);\n\t\tif (hf < 1.0) {\n\t\t\tLOG.warn(\n\t\t\t \"Bit size too small for storing all expected elements. For optimum result increase byteArraySize to {}\",\n\t\t\t expectedElements / Math.log(2.0));\n\t\t}\n\t\tthis.bitSet = bitSet;\n\t}", "title": "" }, { "docid": "9e1a566471f42951c00e8311452e6565", "score": "0.5393167", "text": "public BloomFilter() {\n\t\ttable32 = new int[256];\n\t\ttable40 = new int[256];\n\t\ttable48 = new int[256];\n\t\ttable54 = new int[256];\n\t\tbuffer = new byte[READ_BUFFER_SIZE];\n\t\t// We want to have mods[i] == x^(P_DEGREE+i)\n\t\tint[] mods = new int[P_DEGREE];\n\t\tmods[0] = POLYNOMIAL;\n\t\tfor (int i = 1; i < P_DEGREE; i++) {\n\t\t\t// x^i == x(x^(i-1)) (mod P)\n\t\t\tmods[i] = mods[i - 1] << 1;\n\t\t\t// if x^(i-1) had a x_(P_DEGREE-1) term then x^i has a\n\t\t\t// x^P_DEGREE term that 'fell off' the top end.\n\t\t\t// Since x^P_DEGREE == P (mod P), we should add P\n\t\t\t// to account for this:\n\t\t\tif ((mods[i - 1] & X_P_DEGREE) != 0) {\n\t\t\t\tmods[i] ^= POLYNOMIAL;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 256; i++) {\n\t\t\tint c = i;\n\t\t\tfor (int j = 0; j < 8 && c != 0; j++) {\n\t\t\t\tif ((c & 1) != 0) {\n\t\t\t\t\ttable32[i] ^= mods[j];\n\t\t\t\t\ttable40[i] ^= mods[j + 8];\n\t\t\t\t\ttable48[i] ^= mods[j + 16];\n\t\t\t\t\ttable54[i] ^= mods[j + 24];\n\t\t\t\t}\n\t\t\t\tc >>>= 1;\n\t\t\t}\n\t\t}\n\t\tmods = null;\n\t\tthis.keys = new boolean[1000];\n\t\tthis.numFunctions = 10;\n\t\tfor (int i = 0; i < 1000; i++)\tthis.keys[i] = false;\n\t}", "title": "" }, { "docid": "b8860a70075c54f46ccd76a37aa2142b", "score": "0.53197354", "text": "public DropFilter()\r\n\t{\r\n\t\tthis(true, true); \r\n\t}", "title": "" }, { "docid": "d1eaeb6a116aebb22d5d991e8a96416e", "score": "0.52273923", "text": "private void addBloom(ViewPort viewPort) {\r\n assert viewPort != null;\r\n\r\n BloomFilter bloom = new BloomFilter(BloomFilter.GlowMode.Objects);\r\n bloom.setBloomIntensity(1.7f);\r\n bloom.setBlurScale(2.5f);\r\n bloom.setExposurePower(1f);\r\n int numSamples = TestSkyControl.numSamples;\r\n Heart.getFpp(viewPort, assetManager, numSamples).addFilter(bloom);\r\n skyControl.getUpdater().addBloomFilter(bloom);\r\n }", "title": "" }, { "docid": "c98207834a0df016bab8387b6156207d", "score": "0.50204015", "text": "public BFOLS(int unisize, int d){\n MOLS mols_data = new MOLS();\n int s = (int) Math.ceil(Math.pow(unisize, 1.0/(double)2));\n s = initializeMOLSData(s, mols_data);\n if(s != -1){\n this.m = s * (d + 1);\n this.k = d + 1;\n this.bloomFilter = new Vector<>();\n OLS_HF ols_hf = new OLS_HF(s,d);\n\n ols_hf.set(mols_data);\n this.hashFunction = ols_hf;\n\n System.out.println(\"BFOLS values s = \" + s);\n if (d > mols_data.choose_OLS_vec(s).size() + 1){\n this.m = -1;\n System.out.println(\"set is bigger than BF can represent without false positives\");\n }\n }else this.m = -1;\n }", "title": "" }, { "docid": "afa1c49c7f0fdc05ff6ce7b28fb4eb16", "score": "0.5003888", "text": "public MyBlockingQueue(int noOfRequests) {\r\n\t\tthis.maxLength = noOfRequests;\r\n\t}", "title": "" }, { "docid": "b759dc6b3789f4a82aeb5b2590120999", "score": "0.49650222", "text": "public static void countingBF() throws MalformedURLException {\n CountingBloomFilter<String> cbf = new FilterBuilder(1000, 0.01).buildCountingBloomFilter();\n cbf.add(\"http://google.com\");\n cbf.add(\"http://twitter.com\");\n print(cbf.contains(\"http://google.com\")); // true\n print(cbf.contains(\"http://twitter.com\")); // true\n\n // What only the Counting Bloom filter can do:\n cbf.remove(\"http://google.com\");\n print(cbf.contains(\"http://google.com\")); // false\n\n // Use the Memory Bloom filter explicitly:\n FilterBuilder fb = new FilterBuilder(1000, 0.01).countingBits(4);\n CountingBloomFilterMemory<String> filter = new CountingBloomFilterMemory<>(fb);\n filter.setOverflowHandler(() -> print(\"ups\"));\n\n for (int i = 1; i < 20; i++) {\n print(\"Round \" + i);\n filter.add(\"http://example.com\"); // Causes onOverflow() in Round >= 16\n }\n\n // See the inner structure\n CountingBloomFilter<String> small = new FilterBuilder(3, 0.2).countingBits(4).buildCountingBloomFilter();\n small.add(\"One\");\n small.add(\"Two\");\n small.add(\"Three\");\n print(small.toString());\n\n }", "title": "" }, { "docid": "4de879ffa7bbec2161e2e1e818b8940e", "score": "0.49535918", "text": "public static StateSet emptySet(int length) {\n return new StateSet(nbits2size(length));\n }", "title": "" }, { "docid": "e6522eaa5de10ad9b653b4135384086d", "score": "0.49515602", "text": "@Override\n public float[] initWeight(int length) {\n return new float[length];\n }", "title": "" }, { "docid": "0b9a584df1bd226bcb07b9258c684792", "score": "0.49286744", "text": "public Block(Filter F){\n this.filter = F;\n }", "title": "" }, { "docid": "cd4cf8c0d03db3504931e2a16f63808a", "score": "0.49178672", "text": "public FrameBuilderFilter(ArrayBlockingQueue<String> inputBuffer, ArrayBlockingQueue<String> outputBuffer) {\n super(inputBuffer, outputBuffer);\n }", "title": "" }, { "docid": "819fb6b330ead32040176f4e574e7fde", "score": "0.49115837", "text": "public BlastFilter() {\n\t\trejectedOligos = new ArrayList<Oligo>();\n\t\tcheckValues();\n\t}", "title": "" }, { "docid": "3efb2dbff8c9b93ed76e00402377f373", "score": "0.49085635", "text": "@RecentlyNonNull\n/* */ public BluetoothDeviceFilter build() {\n/* 89 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "ba2732181ffa9d05255d69a3e0aed8d1", "score": "0.4902103", "text": "public Builder clearFilteredSize() {\n bitField0_ = (bitField0_ & ~0x00000004);\n filteredSize_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ba2732181ffa9d05255d69a3e0aed8d1", "score": "0.4902103", "text": "public Builder clearFilteredSize() {\n bitField0_ = (bitField0_ & ~0x00000004);\n filteredSize_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "dcb67a06096ac39371b556dbeee93800", "score": "0.48798543", "text": "public BitBucket(int size){\n\t\tdata = new BitVector(size);\n\t}", "title": "" }, { "docid": "3bf261734a3fc4d4792177ef5fe13896", "score": "0.48750606", "text": "public BaseFilter() {\r\n \t\t// reset is called in initialize method - no need to call it in the\r\n \t\t// constructor\r\n \t}", "title": "" }, { "docid": "93ea52b2af23729a565ba60377f994f8", "score": "0.48239234", "text": "public Bulp() {\r\n maxLuminescence = STANDARD_MAX_LUMINESCENCE;\r\n currentLuminescence = 0;\r\n System.out.println(\"A bulb with max luminescence of \" + maxLuminescence + \" created.\");\r\n }", "title": "" }, { "docid": "c3363e7410622872ba623ff7606dc336", "score": "0.48230693", "text": "@Test\n public void testNewCreatedInstanceIsNotEmpty()\n {\n FilterConfig filterConfig = FilterConfig.builder().build();\n MatcherAssert.assertThat(filterConfig, Matchers.not(Matchers.emptyIterable()));\n Assertions.assertEquals(2, filterConfig.size());\n Assertions.assertFalse(filterConfig.isSupported());\n Assertions.assertEquals(FilterConfig.DEFAULT_MAX_RESULTS, filterConfig.getMaxResults());\n }", "title": "" }, { "docid": "fa6e00d3b6a74bbfaf59bfe7c0897a09", "score": "0.4802213", "text": "public Object clone() {\n\t\treturn new BloomFilter(this.toString());\n\t}", "title": "" }, { "docid": "e1b4f739ed565f69ee26bd14853feb1b", "score": "0.47566694", "text": "public List<Byte> nextBloatBytes(int length) {\n // Generate random bytes according to the maximum length of the given protocol block\n int fuzzDataLength = nextInt((length * 10000) + 1);\n byte[] bytes = new byte[fuzzDataLength];\n nextBytes(bytes);\n List<Byte> result = new ArrayList<>(bytes.length);\n for (byte each : bytes) {\n result.add(each);\n }\n return result;\n }", "title": "" }, { "docid": "a2d5a43f539f9f09057edc264b8b906d", "score": "0.4736649", "text": "public Builder setFilterBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n filter_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "6c98eea16aa4f14b26c15197fcb100b5", "score": "0.47342813", "text": "public BFOLS(int s, int d, HashFunction hashFunction){\n this.m = s * (d + 1);\n this.k = d + 1;\n this.bloomFilter = new Vector<>();\n this.hashFunction = hashFunction;\n }", "title": "" }, { "docid": "5145c0df9aeca132a09a452a67a8763b", "score": "0.4733944", "text": "public WeibullDistribution()\n {\n this( DEFAULT_SHAPE, DEFAULT_SCALE );\n }", "title": "" }, { "docid": "c13977c236d6c0f5b458927c28965cb5", "score": "0.47320625", "text": "public MCSFilter() {\n }", "title": "" }, { "docid": "29eb6fb32d0cbc29758eadb922a2e9b2", "score": "0.47306606", "text": "public FireInsurancePolicyFilterBuilder() {\r\n fireInsurancePolicyFilter = new FireInsurancePolicyFilter();\r\n }", "title": "" }, { "docid": "d4d774848fd2879295766f7f47c90500", "score": "0.47289804", "text": "public BitVector(int size)\n {\n if (size < 1)\n {\n throw new IllegalArgumentException(\"n must be >= 1\");\n }\n fSize = size;\n fBits = new byte[((size - 1) >> 3) + 1];\n }", "title": "" }, { "docid": "260aa92d5cb50eea0ee180d87b1fa617", "score": "0.47161573", "text": "public BoundedBuffer(int size) { super(size); }", "title": "" }, { "docid": "1b36492fb9ee764d096a68b28417fc9b", "score": "0.47076997", "text": "public BinaryBidder() {\n this.p = 0.6f;\n }", "title": "" }, { "docid": "cd4b4484f39155dfb2bb2c926f42ee30", "score": "0.4696796", "text": "public Bomb(PlayerID ownerID, Cell position, int fuseLength, int range)\r\n {\r\n this(ownerID, position, Sq.iterate(ArgumentChecker.requireNonNegative(fuseLength), s -> s - 1).limit(ArgumentChecker.requireNonNegative(fuseLength)), range);\r\n }", "title": "" }, { "docid": "087a863ea16dde68a3c5ee7ebc8d4e0f", "score": "0.4693921", "text": "public Builder clearFilterable() {\n bitField0_ = (bitField0_ & ~0x00000004);\n filterable_ = false;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4a9e72a5a87b7bbf8382bf15ed6d861b", "score": "0.46893144", "text": "public Balisong() {\n super(2, 2, 5f, 0);\n setQiAccumulationRate(0.35f);\n }", "title": "" }, { "docid": "b641bb9c824e3d50a91524addc157b00", "score": "0.46833205", "text": "@Override\r\n\t\tpublic FuelFilter create() {\n\t\t\treturn null;\r\n\t\t}", "title": "" }, { "docid": "9c6f5ffae7b0fcadcd86e6860aec7535", "score": "0.46796417", "text": "private void filterSettingInit() {\n gaussianKernelSize_ = 5;\n gaussianKernelSigma_ = 3;\n hypHighThreshold_ = 80; //80//30\n hypLowThreshold_ = 30; //30//10\n sobelHighThreshold_ = 30; //30//25\n sobelLowThreshold_ = -30; //-30//25\n }", "title": "" }, { "docid": "c80ea5adfd91408b3480a0bcb92ddc6b", "score": "0.46766147", "text": "public Builder bufferLimit(final int bufferLimit) {\n this.bufferLimit = bufferLimit;\n return this;\n }", "title": "" }, { "docid": "fe71788e99bfdab7a1ffbf9e648fee14", "score": "0.46657524", "text": "public Builder setFilteredSize(int value) {\n bitField0_ |= 0x00000004;\n filteredSize_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "fe71788e99bfdab7a1ffbf9e648fee14", "score": "0.46657524", "text": "public Builder setFilteredSize(int value) {\n bitField0_ |= 0x00000004;\n filteredSize_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "799bd6b327ce0e452617f003aef9ed23", "score": "0.46646753", "text": "public void testIsEmptyWhenConstructed() {\n SemaphoreBoundedBuffer<Integer> bb = new SemaphoreBoundedBuffer<Integer>(10); // A freshly created buffer should identify itself as empty, and also as not full.\n assertTrue(bb.isEmpty());\n assertFalse(bb.isFull());\n }", "title": "" }, { "docid": "fdd6ce6d1773d50fc345d2d9466ca0a8", "score": "0.4620605", "text": "public void init()\n {\n int b = 1;\n while (CommonState.r.nextBoolean())\n b++;\n \n // pick a bucket\n int bucket;\n bucket = CommonState.r.nextInt(I);\n \n // Mark it in my BitSet\n bitsets = new BitSet[I];\n for (int i=0; i<I; i++)\n bitsets[i] = new BitSet();\n bitsets[bucket].set(b-1);\n }", "title": "" }, { "docid": "898aac4451502fd8ca9f7d8c932cb317", "score": "0.4607821", "text": "public BinarySumLayer() {\n this(1.0, 1.0);\n }", "title": "" }, { "docid": "4f6a4c02a6da570be9a0fb3e22ec16b9", "score": "0.46071732", "text": "public static <TVector, TDistance extends Comparable<TDistance>> Builder<TVector, TDistance> newBuilder(\n int dimensions,\n DistanceFunction<TVector, TDistance> distanceFunction,\n int maxItemCount) {\n\n Comparator<TDistance> distanceComparator = Comparator.naturalOrder();\n\n return new Builder<>(dimensions, distanceFunction, distanceComparator, maxItemCount);\n }", "title": "" }, { "docid": "c5f8a5e841e3111015cccc78407cc2dc", "score": "0.4601578", "text": "public BQueue(int limit) {\n\n this.limit = limit;\n this.queue = new PriorityQueue<>(limit);\n }", "title": "" }, { "docid": "b9db40943859a739efa3f5a050e94ccc", "score": "0.459723", "text": "public BinaryNumber(int length) {\n\t\tif (length > 0)\n\t\t\tdata = new int[length];\n\t\telse\n\t\t\tthrow new IllegalArgumentException(\"Error: integer input must be greater than 0\");\n\t}", "title": "" }, { "docid": "3ebc86c7b0cc6e466da56c9690235613", "score": "0.45823386", "text": "public TemporalRangeBloomFilterV2(int bitNum, int hashNum, int level)\n\t{\n\t\tthis.bitNum = bitNum;\n\t\tthis.hashNum = hashNum;\n\t\tthis.level = level;\n\t\tthis.g = 1 << (this.level);\n\t\tthis.queryNum = 0;\n\t\tbs = new BitSet(bitNum);\n\t}", "title": "" }, { "docid": "f043ddefee98ab71a4d7213e732f7ec7", "score": "0.4565489", "text": "default LazyFutureStream<U> boundedWaitFree(int size){\n\t\treturn this.withQueueFactory(QueueFactories.boundedNonBlockingQueue(size));\n\t}", "title": "" }, { "docid": "5fa6f58baf6d70073306e6b06f2b96d2", "score": "0.4560695", "text": "Bucket(){\n\t\tif(is_init == false)\n\t\t{\n\t\t\tthrow new RuntimeException(\"Please set bucket size before creating a bucket\");\n\t\t}\n\t\telse {\n\t\t\t//Block newdummy = new Block(-1, -1, new byte[24]);\n\t\t\tfor (int i=0; i<max_size_Z; i++) {\n\t\t\t\t\n\t\t\t\tdummyblocks.add(new Block());\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t//TODO Must complete this method for submission\n\t}", "title": "" }, { "docid": "5611710043620a79b16d8ccb1413da99", "score": "0.45572045", "text": "public SimpleBloomFilter<E> merge(final SimpleBloomFilter<E> toMerge) {\n\t\tif (toMerge.bitArraySize != bitArraySize) {\n\t\t\tthrow new RuntimeException(\"The two bloomfilters must have the same size.\");\n\t\t}\n\t\tBitSet mergedBitSet = (BitSet) bitSet.clone();\n\t\tmergedBitSet.or(toMerge.bitSet);\n\t\treturn new SimpleBloomFilter<E>(bitArraySize, expectedElements, mergedBitSet);\n\t}", "title": "" }, { "docid": "db975754557b28d24ff33354000341f5", "score": "0.45534968", "text": "public void setBinMaxValue(double value) {\r\n this.binMaxValue = value;\r\n }", "title": "" }, { "docid": "87d2d8e90b06ef056edce8ab4c593cba", "score": "0.45466498", "text": "public Builder clearB() {\n b_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000008);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "33d968936f4da9cc01150a35f9cbc654", "score": "0.45408243", "text": "public Builder clearLength() {\n bitField0_ = (bitField0_ & ~0x00000002);\n length_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "33d968936f4da9cc01150a35f9cbc654", "score": "0.45408243", "text": "public Builder clearLength() {\n bitField0_ = (bitField0_ & ~0x00000002);\n length_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ddcc9fea3a6617b022fdb7cd97b21d97", "score": "0.45377415", "text": "public Balloom() {\n\t\tspeed = (float) 1;\n\t\tintelligence = 1;\n\t\tpoints = 100;\n\t\twallPass = false;\n\t\tscoreValue = 100;\n\n\t}", "title": "" }, { "docid": "1b83b6243b11cee955071b4df85ee289", "score": "0.45374188", "text": "public EvMessyBinaryVectorSpace(\n EvObjectiveFunction<EvMessyBinaryVectorIndividual> objective_function,\n int vector_length) {\n if (vector_length < 1)\n throw new IllegalArgumentException(\n \"Length of vector must be positive number.\");\n\n this.setObjectiveFuntion(objective_function);\n this.vector_length = vector_length;\n }", "title": "" }, { "docid": "fcb7eb539c74b9bf18150b9759fc7eca", "score": "0.45365867", "text": "public GrayFilter(boolean paramBoolean, int paramInt) {\n/* 64 */ this.brighter = paramBoolean;\n/* 65 */ this.percent = paramInt;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 71 */ this.canFilterIndexColorModel = true;\n/* */ }", "title": "" }, { "docid": "ec471c3cc976f8174c287e743933c40a", "score": "0.45302844", "text": "public ShorterBucketSolution() {\n time = new int[300];\n occurs = new int[300];\n }", "title": "" }, { "docid": "94e2074ab4c61519973432b1244018c2", "score": "0.4525733", "text": "public Pool(int initialCapacity) {\n this(initialCapacity, Integer.MAX_VALUE);\n }", "title": "" }, { "docid": "00c6564e113de573d5d16b9f80fb39ee", "score": "0.45209348", "text": "public ByteBuffer(int initialSize) {\r\n elems = new byte[initialSize];\r\n length = 0;\r\n }", "title": "" }, { "docid": "12901ef1902cd53ed712caa348ba008c", "score": "0.4516795", "text": "public static <TVector, TDistance> Builder<TVector, TDistance> newBuilder(\n int dimensions,\n DistanceFunction<TVector, TDistance> distanceFunction,\n Comparator<TDistance> distanceComparator,\n int maxItemCount) {\n\n return new Builder<>(dimensions, distanceFunction, distanceComparator, maxItemCount);\n }", "title": "" }, { "docid": "af87591f3c633d4f1c6728257dc3088b", "score": "0.45116904", "text": "public BitSet()\r\n {\r\n initWords(BITS_PER_WORD);\r\n sizeIsSticky = false;\r\n }", "title": "" }, { "docid": "9af788bc8749520ae90ccbaeeb95485b", "score": "0.45108756", "text": "public Builder clearMaxBatchTotalSizeBytes() {\n \n maxBatchTotalSizeBytes_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4f550b66d20264b5e1e56cb8cafed8d2", "score": "0.45104277", "text": "public UCB1()\n\t{\n\t\tthis(Math.sqrt(2.0));\n\t}", "title": "" }, { "docid": "aa33cc37db9931dd189bbe1b0c4e3c29", "score": "0.4494426", "text": "public Builder clearFilter() {\n \n filter_ = getDefaultInstance().getFilter();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f70ace61893dd6a0c577f3627e352445", "score": "0.4493699", "text": "@Test\n\tpublic void testAddHashValue() {\n\t\tBloomFilter blom = new BloomFilter(1024,24,8);\n\t\t\n\t\tHashValue hash = new TigerHashValue(\"UDRJ6EGCH3CGWIIU2V6CH7VLFN4N2PCZKSPTBQA\"),\n\t\t\t\t\thash2 = new TigerHashValue(\"HSLRLA6TA6LWZICV326JTMKWWAJU4JP4GHWEG3Y\"),\n\t\t\t\t\thash3 = new TigerHashValue(\"QNWNDWLXIHZDZRQA7XEMHX7D5PJCZEQSTM7A45I\");\n\t\t\n\t\tblom.addHashValue(hash);\n\t\tblom.addHashValue(hash2);\n\t\t\n\t\tassertTrue(blom.possiblyContains(hash));\n\t\tassertTrue(blom.possiblyContains(hash2));\n\t\tassertFalse(blom.possiblyContains(hash3));\n\t\t\n\t\tBloomFilter blom2 = new BloomFilter(1024,64,2);\n\t\tblom2.addHashValue(hash);\n\t\tblom2.addHashValue(hash2);\n\t\t\n\t\tassertTrue(blom2.possiblyContains(hash));\n\t\tassertTrue(blom2.possiblyContains(hash2));\n\t\tassertFalse(blom2.possiblyContains(hash3));\n\t\t\n\t\t\n\t\t\n\t\tbyte[] b = blom2.getBytes();\n\t\t\n\t\tassertEquals(1024 / 8, b.length);\n\t\t\n\t\tBloomFilter blom2copy = new BloomFilter(b,64,2);\n\t\t\n\t\tassertTrue(blom2copy.possiblyContains(hash));\n\t\tassertTrue(blom2copy.possiblyContains(hash2));\n\t\tassertFalse(blom2copy.possiblyContains(hash3));\n\t\t\n\t//\tSystem.out.println(\"BLOM 1: \"+BASE32Encoder.encode(blom.getBytes()));\n\t//\tSystem.out.println(\"BLOM 2: \"+BASE32Encoder.encode(blom2.getBytes()));\n\t}", "title": "" }, { "docid": "bee2cdd5306a65deca7b6f976e77491c", "score": "0.4479797", "text": "public static BloomFilter retrieveBloomFilter(final GenericRecord record,\n final String encodingFieldName,\n int N) {\n GenericData.Fixed fixed = (GenericData.Fixed) record.get(encodingFieldName);\n return new BloomFilter(N,fixed.bytes());\n }", "title": "" }, { "docid": "dc96340640d69bc396e44249be2873d4", "score": "0.44770297", "text": "public io.envoyproxy.envoy.config.core.v3.RuntimeFractionalPercent.Builder getFilterEnabledBuilder() {\n \n onChanged();\n return getFilterEnabledFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "c4e24a676e060992d0e50df4b65ea224", "score": "0.4474037", "text": "public BitSetBackedSelection(int size) {\n this.bitmap = new BitSet(size);\n }", "title": "" }, { "docid": "1a6ee1891f80777b1dd5a0deed82a396", "score": "0.44733787", "text": "public Pool() {\n this(16, Integer.MAX_VALUE);\n }", "title": "" }, { "docid": "13f8b1e14374242ebac160cdb17c4ec2", "score": "0.44674456", "text": "public ThresholdFilter(int threshold) {\r\n this(threshold, 255, 0);\r\n }", "title": "" }, { "docid": "e38677f478734c60be55a292f7229c3e", "score": "0.446555", "text": "public static void redisCBF() {\n CountingBloomFilter<String> cbfr = new FilterBuilder(10000, 0.01).name(\"myfilter\").overwriteIfExists(true) // instead of loading it, overwrite it if it's already there\n .redisBacked(true).buildCountingBloomFilter();\n cbfr.add(\"cow\");\n\n // Open a second Redis-backed Bloom filter with a new connection\n CountingBloomFilter<String> bfr2 = new FilterBuilder(10000, 0.01).name(\"myfilter\") // this time it will be load it\n .redisBacked(true).buildCountingBloomFilter();\n bfr2.add(\"bison\");\n bfr2.remove(\"cow\");\n\n print(cbfr.contains(\"bison\")); // true\n print(cbfr.contains(\"cow\")); // false\n }", "title": "" }, { "docid": "131c6bdf1211b38d6c6db0bc16a4ef78", "score": "0.44587415", "text": "public ElasticBank(int initialCapacity) {\n this.size = 0;\n this.coins = new Coin[initialCapacity];// the capacity of the array is the initialCapacity\n }", "title": "" }, { "docid": "8a6dc9af65dc0954001d14492d590888", "score": "0.44579124", "text": "public static influent.idl.FL_BoundedRange.Builder newBuilder() {\n return new influent.idl.FL_BoundedRange.Builder();\n }", "title": "" }, { "docid": "f0ab7fca83faefb6fdb13d11f5616d33", "score": "0.44474125", "text": "public static void fillBuckets(int numberOfElements) {\r\n\r\n\t\tString input;\r\n\r\n\t\tfor (int i = 0; i < numberOfElements; i++) {\r\n\t\t\tinput = generateRandomHash();\r\n\t\t\tif (buckets[getBucketNr(input)] < getNumberOfZero(input)) {\r\n\t\t\t\tbuckets[getBucketNr(input)] = getNumberOfZero(input);\r\n\t\t\t\tSystem.out.println(\"Bucket \" + getBucketNr(input) + \" : \" + getNumberOfZero(input));\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7514cd0409d48f91a1ca8f8c8aca9463", "score": "0.44443366", "text": "private void SetAttributes(double bitsPerElement, int expectedNumberOfFilterElements, int numberOfHashes)\n {\n this.expectedNumberOfFilterElements = expectedNumberOfFilterElements;\n this.numberOfHashes = numberOfHashes;\n this.bitSetSize = (int)Math.ceil(bitsPerElement * expectedNumberOfFilterElements);\n numberOfAddedElements = 0;\n this.bitset = new BitSet(bitSetSize);\n }", "title": "" }, { "docid": "2bc0f3b31a395e1a30d4accad8d3edd7", "score": "0.44430348", "text": "private double _blackbodyFlux(final double lambda, final double temp) {\n\n return (1 / java.lang.Math.pow(lambda / 1000, 4)) * (1 / (java.lang.Math.exp(14387 / (lambda / 1000 * temp)) - 1));\n\n }", "title": "" }, { "docid": "a7e663298155f130cb67229cf6531a9b", "score": "0.4431225", "text": "public LargeBufferStream() {\n inCoreLimit = DEFAULT_IN_CORE_LIMIT;\n blocks = new ArrayList<Block>(inCoreLimit / Block.SZ);\n blocks.add(new Block());\n }", "title": "" }, { "docid": "d3aea4b636cbfffed606a9c6b4b7bd1c", "score": "0.4418513", "text": "Filter createFilter();", "title": "" }, { "docid": "d5c45d12ac408434111b6c229ce37daf", "score": "0.44166568", "text": "protected VariantFilter makeVariantFilter() {\n logger.warn(\"Variants with only one sample genotyped will be skipped\");\n return new NumberOfMissingFilter(header.getNGenotypeSamples() - 1);\n }", "title": "" }, { "docid": "9842bae14298325c93529c2ac2d44fb6", "score": "0.44013318", "text": "public StateSet() {\n this(256);\n }", "title": "" }, { "docid": "5ee9787cd5ccddea3187b46fda949d71", "score": "0.43992165", "text": "public BitSet(int nbits)\r\n {\r\n // nbits can't be negative; size 0 is OK\r\n if (nbits < 0)\r\n throw new NegativeArraySizeException(\"nbits < 0: \" + nbits);\r\n \r\n initWords(nbits);\r\n sizeIsSticky = true;\r\n }", "title": "" }, { "docid": "a6254df032e58748512113e23be8d01a", "score": "0.43973085", "text": "public static Vec zeros(int length) {\n return new DenseVector(length);\n }", "title": "" }, { "docid": "be3cd7238444438e2b0df9b6055db14e", "score": "0.43969092", "text": "public CircularBuffer(int length) {\n if (length > 0) {\n buffer = new Object[length];\n size = length;\n counter = 0; // Initially an empty buffer.\n start = 0; // To reference the first index in the buffer.\n end = (length - 1); // To reference the last index of the buffer.\n }\n }", "title": "" }, { "docid": "3aee04867bbfad517f005c3ec6b1700f", "score": "0.4382746", "text": "public Bulp(int maxLuminescenceValue) {\r\n maxLuminescence = maxLuminescenceValue;\r\n currentLuminescence = 0;\r\n name = \"bulb\" + new String((new Integer(maxLuminescence)).toString());\r\n System.out.println(\"A bulb \" + name + \" with max luminescence of \" + maxLuminescence + \" created.\");\r\n }", "title": "" }, { "docid": "e0f47600207f1d155fd74abadeb4ca42", "score": "0.43718323", "text": "public ArrayBasedBag() {\n // Call the 1-parameter constructor from this class\n this(DEFAULT_CAPACITY);\n }", "title": "" }, { "docid": "2c1d54f481b17eb36212ddffbe399663", "score": "0.4369703", "text": "public Builder clearIntvFilter() {\n if (intvFilterBuilder_ == null) {\n intvFilter_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000400);\n onChanged();\n } else {\n intvFilterBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "d63f7567be9946700203955ae2f71a58", "score": "0.4362856", "text": "public Continuous()\n {\n this(-Double.MAX_VALUE,Double.MAX_VALUE,false,false);\n }", "title": "" }, { "docid": "b17bf8d9d250e30d006862d9e765ec9e", "score": "0.43591848", "text": "public Discrete()\n {\n this(Integer.MIN_VALUE,Integer.MAX_VALUE,false,false,false,false);\n }", "title": "" }, { "docid": "1cf8c4a63aecf5f54a7abb96e06b87d6", "score": "0.43577576", "text": "public ArrayBitByBit(int max) // constructor\n {\n theArray = new long[max]; // create the array\n nElems = 0; // no items yet\n }", "title": "" }, { "docid": "a2204f54eac47c644c1461aa35d89c38", "score": "0.43571788", "text": "@Override\n public RequestLimiter<StreamOp> build() {\n RequestLimiterBuilder rpsHardLimiterBuilder = RequestLimiterBuilder.newRpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"rps_hard_limit\"))\n .limit(dynConf.getRpsHardWriteLimit())\n .overlimit(new OverlimitFunction<StreamOp>() {\n @Override\n public void apply(StreamOp op) throws OverCapacityException {\n throw new OverCapacityException(\"RPS limit exceeded for stream \" + streamName);\n }\n });\n RequestLimiterBuilder rpsSoftLimiterBuilder = RequestLimiterBuilder.newRpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"rps_soft_limit\"))\n .limit(dynConf.getRpsSoftWriteLimit());\n\n // BPS hard, soft limits\n RequestLimiterBuilder bpsHardLimiterBuilder = RequestLimiterBuilder.newBpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"bps_hard_limit\"))\n .limit(dynConf.getBpsHardWriteLimit())\n .overlimit(new OverlimitFunction<StreamOp>() {\n @Override\n public void apply(StreamOp op) throws OverCapacityException {\n throw new OverCapacityException(\"BPS limit exceeded for stream \" + streamName);\n }\n });\n RequestLimiterBuilder bpsSoftLimiterBuilder = RequestLimiterBuilder.newBpsLimiterBuilder()\n .statsLogger(limiterStatLogger.scope(\"bps_soft_limit\"))\n .limit(dynConf.getBpsSoftWriteLimit());\n\n ChainedRequestLimiter.Builder<StreamOp> builder = new ChainedRequestLimiter.Builder<StreamOp>();\n builder.addLimiter(rpsSoftLimiterBuilder.build());\n builder.addLimiter(rpsHardLimiterBuilder.build());\n builder.addLimiter(bpsSoftLimiterBuilder.build());\n builder.addLimiter(bpsHardLimiterBuilder.build());\n builder.statsLogger(limiterStatLogger);\n return builder.build();\n }", "title": "" } ]
b113bb425e5642a1f5d2632e94043447
Initializes the object. This is a method declared in javassist.Translator.
[ { "docid": "771dc943ca2430bc83c7c45ad4210df3", "score": "0.0", "text": "public void start(ClassPool pool) throws NotFoundException {\n classPool = pool;\n CtClass c = pool.get(sampleClass);\n forwardMethod = c.getDeclaredMethod(\"forward\");\n forwardStaticMethod = c.getDeclaredMethod(\"forwardStatic\");\n\n proxyConstructorParamTypes\n = pool.get(new String[] { \"javassist.tools.rmi.ObjectImporter\",\n \"int\" });\n interfacesForProxy\n = pool.get(new String[] { \"java.io.Serializable\",\n \"javassist.tools.rmi.Proxy\" });\n exceptionForProxy\n = new CtClass[] { pool.get(\"javassist.tools.rmi.RemoteException\") };\n }", "title": "" } ]
[ { "docid": "882e4134c9d8f60572e2052977cf132e", "score": "0.7376834", "text": "public void init() {\r\n }", "title": "" }, { "docid": "5961936750e422c4cd8f3e95229a3e2a", "score": "0.73474556", "text": "public void init() { }", "title": "" }, { "docid": "ec1364f5596c5ceac1be2aca06546db3", "score": "0.73380524", "text": "public void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.7285585", "text": "public void init() {\n }", "title": "" }, { "docid": "85b70c1075ad53dc721f21ffe41ae78c", "score": "0.72801375", "text": "public void init() { \r\n\t}", "title": "" }, { "docid": "b7e696d3072f95e58c1b860b7b615c70", "score": "0.7262597", "text": "protected void init() { }", "title": "" }, { "docid": "f1be3defd1b6e608b8995eb6221bb211", "score": "0.7256143", "text": "public void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f1be3defd1b6e608b8995eb6221bb211", "score": "0.7256143", "text": "public void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f1be3defd1b6e608b8995eb6221bb211", "score": "0.7256143", "text": "public void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f1be3defd1b6e608b8995eb6221bb211", "score": "0.7256143", "text": "public void init() {\n\t\t\n\t}", "title": "" }, { "docid": "229a70d481924829deec962d4aa9542c", "score": "0.7247818", "text": "public void init() {}", "title": "" }, { "docid": "229a70d481924829deec962d4aa9542c", "score": "0.7247818", "text": "public void init() {}", "title": "" }, { "docid": "229a70d481924829deec962d4aa9542c", "score": "0.7247818", "text": "public void init() {}", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.72250295", "text": "private void init() {\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.72250295", "text": "private void init() {\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.72250295", "text": "private void init() {\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.72250295", "text": "private void init() {\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.72250295", "text": "private void init() {\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.72250295", "text": "private void init() {\n }", "title": "" }, { "docid": "cd779aacc91809113f74aef470842acb", "score": "0.721167", "text": "protected void init() {}", "title": "" }, { "docid": "7b2ed9aa1a6f17d265f092b245f8c4c3", "score": "0.720356", "text": "public void init() {\n\t}", "title": "" }, { "docid": "7b2ed9aa1a6f17d265f092b245f8c4c3", "score": "0.720356", "text": "public void init() {\n\t}", "title": "" }, { "docid": "7b2ed9aa1a6f17d265f092b245f8c4c3", "score": "0.720356", "text": "public void init() {\n\t}", "title": "" }, { "docid": "b5f98df2a78f6e56684a9c86b47f0177", "score": "0.71920645", "text": "private void init()\n {\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.7190775", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ee990933b050e8948a61e0ff05746025", "score": "0.718952", "text": "public void init()\n {\n }", "title": "" }, { "docid": "ee990933b050e8948a61e0ff05746025", "score": "0.718952", "text": "public void init()\n {\n }", "title": "" }, { "docid": "ee990933b050e8948a61e0ff05746025", "score": "0.718952", "text": "public void init()\n {\n }", "title": "" }, { "docid": "95be4fdee6d995b424f0a4e840e2c875", "score": "0.71732765", "text": "@Override\r\n\tpublic void init()\r\n\t{\r\n\t}", "title": "" }, { "docid": "9aace6abe1929ddb11697d6fcd2fa69c", "score": "0.7128375", "text": "@Override\r\n public void init() {\n }", "title": "" }, { "docid": "8bd324684c93dd6749e133e246743e1d", "score": "0.7111825", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.70990646", "text": "private void init() {\n\t}", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.7094774", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "e3703eb2c6cc86259185fe8219e31285", "score": "0.7091879", "text": "public void init() {\n\n }", "title": "" }, { "docid": "af85e0355d9e4b6d2816928d3c4dadb7", "score": "0.7082734", "text": "private void init() {\n\n }", "title": "" }, { "docid": "ece7b93e929b0e9f097d3e22b45185f3", "score": "0.7082551", "text": "void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "aa75d86997e0fff38cfa94690332bad9", "score": "0.70824033", "text": "public void init(){\n\t\t\n\t}", "title": "" }, { "docid": "aa75d86997e0fff38cfa94690332bad9", "score": "0.70824033", "text": "public void init(){\n\t\t\n\t}", "title": "" }, { "docid": "f8978d93b84e5118882a4ff5e000e716", "score": "0.7079293", "text": "private void init() {\n\t\t\n\t}", "title": "" }, { "docid": "454e48aebeafed7eb849e528254ea857", "score": "0.7076682", "text": "@Override\r\n\tpublic void initObject() {\n\t\t\r\n\t}", "title": "" }, { "docid": "37034bdc752aa207a24759e0bb57cd7d", "score": "0.7050096", "text": "public void init()\n\t{\n\t\tsuper.init();\n\n\t\tM_log.info(\"init()\");\n\t}", "title": "" }, { "docid": "f00b81d6357998a4dcfacd35be1346f2", "score": "0.70439273", "text": "public void init(){\n\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.7038008", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.7034747", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.7034747", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.7034747", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.7034747", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.7034747", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.70186025", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.70186025", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "cea0c16d28e76a4d422054cbb9485079", "score": "0.70151067", "text": "public void init()\n\t{\n\t\tsuper.init();\n\t\tM_log.info(\"init()\");\n\t}", "title": "" }, { "docid": "3c398f4215785505c4019c32b243a599", "score": "0.70140105", "text": "public static void init() {\n }", "title": "" }, { "docid": "660f591cf6b6ae4eaefa4de8f9abf33f", "score": "0.70120287", "text": "public void init() {\n\n\n }", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.7010759", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.70095336", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.70095336", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "5625c1d2d351b5fe26350020f8e57260", "score": "0.70025766", "text": "void init()\r\n\t{\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.6994309", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "748a0cd346ace97e8650640546927586", "score": "0.6991381", "text": "protected void init() {\n\t}", "title": "" }, { "docid": "748a0cd346ace97e8650640546927586", "score": "0.6991381", "text": "protected void init() {\n\t}", "title": "" }, { "docid": "d5df12c7fc56f53e0c3ce4a4c21583e1", "score": "0.69829834", "text": "private void init() {\n\r\n\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.694738", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.6944361", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.6944361", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.6944361", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.6944361", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.6944361", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.6929253", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "3ee2cced5db7360a6674cb2754198711", "score": "0.69269013", "text": "public static void init() { }", "title": "" }, { "docid": "647b3d3a624de36109e8878d3527c73a", "score": "0.69121635", "text": "public static void init() {\n\t}", "title": "" }, { "docid": "5039a5e0517d7ccdaa395488a6db65bc", "score": "0.6909708", "text": "protected void initialize() {\n \t\n }", "title": "" }, { "docid": "5039a5e0517d7ccdaa395488a6db65bc", "score": "0.6909708", "text": "protected void initialize() {\n \t\n }", "title": "" }, { "docid": "6048b899be4aa5c1e59cd788fe95888b", "score": "0.6909135", "text": "public static final void init() {\n\t}", "title": "" }, { "docid": "1ff51aa998af283884395769cfe4f5b2", "score": "0.6898726", "text": "protected void initialize() \n {\n \t\n }", "title": "" }, { "docid": "d6fc8d914a3a50bdc2a54f4114e2fd26", "score": "0.6898711", "text": "@Override\n\tpublic void init() {\n\t\tsuper.init();\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.68967646", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "4793b3f06be638b7034b8e3eba968ec6", "score": "0.6871927", "text": "void init() {\n }", "title": "" }, { "docid": "45c86e30ed1b20294fd17b14e9d4975e", "score": "0.68711704", "text": "@Override\r\n\tprotected void init() {\n\t\tsuper.init();\r\n\t}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.68695587", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "9d5f2bf1b3e98ad28e915163671e4689", "score": "0.68661934", "text": "public void init() {... }", "title": "" }, { "docid": "259e9844ca303fe30f38418187fbc868", "score": "0.6857203", "text": "public void initialize() {\r\n super.initialize();\r\n }", "title": "" }, { "docid": "4720bfdf4a23f15d17f6cb5463f6ae09", "score": "0.68349975", "text": "public void initialize() { }", "title": "" }, { "docid": "34b879275f807604307186be7ae549a3", "score": "0.68253684", "text": "public static final void init() {\n }", "title": "" }, { "docid": "9cee6e60fac7ba9a00b37f73cd934aa1", "score": "0.681154", "text": "public void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "b143d0f78c645d849408ad7bd54e8e4c", "score": "0.6809829", "text": "public void initialize() {\n }", "title": "" }, { "docid": "cbef866e9c19db54b39ff5329003cc79", "score": "0.67998827", "text": "private void initialize() {\n\t\t\n\t\t\n\n\t\t\n\t}", "title": "" }, { "docid": "7a746a1c67298b2e74e373fda044da38", "score": "0.67974114", "text": "@Override\n public void init() {\n super.init();\n }", "title": "" } ]
274e352eed81b81a2cd9d0c409e584d3
Bien dich cau lenh
[ { "docid": "00ab790d755e314862bd12e67d691aac", "score": "0.0", "text": "public ResultSet get(String sql, String value) {\n\t\ttry {\n\t\t\tPreparedStatement preCet = this.con.prepareStatement(sql);\n\t\t\tif (!value.isEmpty()) {\n\t\t\t\tpreCet.setString(1, value);\n\t\t\t}\n\t\t\treturn preCet.executeQuery();\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t\ttry {\n\t\t\t\tthis.con.rollback();\n\t\t\t} catch (SQLException ex1) {\n\t\t\t\tex1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "1ab74e9357baf8c11945695ab15c4df3", "score": "0.70190245", "text": "abstract void je_len_calc();", "title": "" }, { "docid": "b047a2d8dcd04c54bb5062a994c18bc8", "score": "0.6856752", "text": "int getLen();", "title": "" }, { "docid": "b047a2d8dcd04c54bb5062a994c18bc8", "score": "0.6856752", "text": "int getLen();", "title": "" }, { "docid": "5d0e5bdf882e972de3538a1cacca96c2", "score": "0.6738579", "text": "public int length() { return toString().length(); }", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.6696131", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.6696131", "text": "int getLength();", "title": "" }, { "docid": "e476071d991289b0d71989dbd9453c16", "score": "0.6696131", "text": "int getLength();", "title": "" }, { "docid": "5f6a986fa6ce5423ee8b3d99e7dd64a7", "score": "0.66775584", "text": "public int getLength(){\n return 8+s.length();\n }", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.66383004", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.66383004", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.66383004", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.66383004", "text": "public int getLength();", "title": "" }, { "docid": "e191a66674b7cf111bb9ed4a490a2097", "score": "0.66383004", "text": "public int getLength();", "title": "" }, { "docid": "ff725c206a12a623a302bec2d14367d4", "score": "0.66054654", "text": "long getLength();", "title": "" }, { "docid": "ff725c206a12a623a302bec2d14367d4", "score": "0.66054654", "text": "long getLength();", "title": "" }, { "docid": "9b1671b24eadc701f665f7f168f24e49", "score": "0.6594239", "text": "public int len();", "title": "" }, { "docid": "b25a9b819ac3ca17c3560df0b883fc34", "score": "0.6551207", "text": "@Override\r\n\tpublic int length() {\n\t\treturn super.length();\r\n\t}", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.65163434", "text": "public int length();", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.65163434", "text": "public int length();", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.65163434", "text": "public int length();", "title": "" }, { "docid": "3dad475358b268ec262a2ba49d03047c", "score": "0.65163434", "text": "public int length();", "title": "" }, { "docid": "0ed753efc1e69765f143658177d6285e", "score": "0.649057", "text": "private int getLenghtForCaptionHeader(int chars){\n //return chars * 8 - chars;\n Integer integer = new Integer(chars);\n Double qsrt = new Double(Math.sqrt(integer.doubleValue()));\n return chars * 7 - ((chars / 2) - 3 * qsrt.intValue());\n }", "title": "" }, { "docid": "5aeb02d97ab8a6204760f76fb701e183", "score": "0.64768434", "text": "long length();", "title": "" }, { "docid": "51b991fddde0dbdfedf782328be78034", "score": "0.64517933", "text": "abstract public int length();", "title": "" }, { "docid": "4c1388f328c9063a1bb4485b941360aa", "score": "0.64460385", "text": "public int getLength() {\n return 0;\n }", "title": "" }, { "docid": "34545df969fb4363b027733743ee708f", "score": "0.6416469", "text": "public int getLength() {\n return 0;\n }", "title": "" }, { "docid": "7b01a7c49943cebba0d18204584af804", "score": "0.6415048", "text": "short getLength();", "title": "" }, { "docid": "de8c37fa81d5c207da5a0ff2f6f813d1", "score": "0.64124966", "text": "public int length ();", "title": "" }, { "docid": "9c5da42492bdbb194fa00d53d8811856", "score": "0.64073473", "text": "private int getLenghtForCaption(int chars) {\n /*if(chars == 2 ) {\n return chars * 7;\n }\n Integer integer = new Integer(chars);\n Double qsrt = new Double(Math.sqrt(integer.doubleValue()));\n return chars * 8 - ((chars / 2) - 3 * qsrt.intValue());*/\n\n return chars * 8;\n }", "title": "" }, { "docid": "a8e0997257d343c162f965f912617d95", "score": "0.63928896", "text": "public abstract int getLength();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.639133", "text": "int length();", "title": "" }, { "docid": "d92e07c22bcaeccb7567f98c3bd92979", "score": "0.6353416", "text": "public int getLength() { return this.length; }", "title": "" }, { "docid": "cce8d8f2e56b6fdd7eaaa13c106f4615", "score": "0.6351815", "text": "public final int length() {return length;}", "title": "" }, { "docid": "6691c116c3b8f8d65c83131934e11e01", "score": "0.63384295", "text": "public int nbOfChars() {\r\n\t return this.value.length();\r\n }", "title": "" }, { "docid": "0094fb02659155ba13beacc3b424f7b9", "score": "0.6334986", "text": "public short length() {\n return (coh == null) ? 0: coh.length;\n }", "title": "" }, { "docid": "41e8f6049b30934f42b01171d8249d58", "score": "0.6324404", "text": "@Override\r\n\tpublic int length() {\r\n\t\treturn 1;\r\n\t}", "title": "" }, { "docid": "868ce0b179ea833ba5aef579c86bfa88", "score": "0.63221633", "text": "public int length() {\r\n\treturn value.length();\r\n }", "title": "" }, { "docid": "6664e278574378ad1b73d5efeb6bd4f2", "score": "0.6321763", "text": "public long length() {\r\n return 2 + 2;\r\n }", "title": "" }, { "docid": "db40c7a76d75b3362967b553dbe771e3", "score": "0.6313741", "text": "public Integer getLength();", "title": "" }, { "docid": "7160b503e5da0f55c1b000544885a6ed", "score": "0.62897426", "text": "int getUtfLength();", "title": "" }, { "docid": "7a6ebd1cd8b25e140ac22803ae2f64e8", "score": "0.6282801", "text": "int size() {\n return alphabet.length();\n }", "title": "" }, { "docid": "f41f83093f4a527b2a3a659cf67fca0f", "score": "0.627844", "text": "public int getLength() { return length; }", "title": "" }, { "docid": "f41f83093f4a527b2a3a659cf67fca0f", "score": "0.627844", "text": "public int getLength() { return length; }", "title": "" }, { "docid": "1f8dd0a5f3a61121081ad8b6d8392b56", "score": "0.6274141", "text": "@Override\n public int length() {\n return back.length();\n }", "title": "" }, { "docid": "68616217aaa5b3de504bacc64773c43a", "score": "0.62730163", "text": "@Override\n\t\t\t\t\t\tpublic int getLength() {\n\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t}", "title": "" }, { "docid": "e485eca9f120e76ef68f6a6b17b17905", "score": "0.6272099", "text": "public abstract int getFixedLength();", "title": "" }, { "docid": "02c19318ff9cd06c33f016a41cb089e6", "score": "0.62718", "text": "public int getLength(){\n return localLength;\n }", "title": "" }, { "docid": "02c19318ff9cd06c33f016a41cb089e6", "score": "0.62718", "text": "public int getLength(){\n return localLength;\n }", "title": "" }, { "docid": "07798364665d151473ff47884c483815", "score": "0.62704605", "text": "@Override\n\tpublic int getMaxLenth() {\n\t\treturn 11;\n\t}", "title": "" }, { "docid": "cbf31999609e5f2bdac7ab1a7ddb64af", "score": "0.62616056", "text": "boolean hasLen();", "title": "" }, { "docid": "b9d7251ee2431d07c28ed09425021e8a", "score": "0.62403", "text": "long length ();", "title": "" }, { "docid": "b3a1cf48653ce25e3f67ded33dccd081", "score": "0.62394154", "text": "public void validLength() {\n\t}", "title": "" }, { "docid": "653a7713bbeccef8d04d9dfe3945308f", "score": "0.6233536", "text": "public int getTotalLength();", "title": "" }, { "docid": "129bfcfb24b20297d5003017a76355c3", "score": "0.6213134", "text": "public abstract long getLength();", "title": "" }, { "docid": "ba015285fcde465aba9eec6d72a7c508", "score": "0.61872214", "text": "public abstract int getTextLength();", "title": "" }, { "docid": "2e0f0e664d58f2c7f4aa2b456b5d622f", "score": "0.6181469", "text": "@Override\n public int length() {\n return length;\n }", "title": "" }, { "docid": "8b30ac186645446e7ce6cd3bbae76665", "score": "0.6179235", "text": "public int getLength()\r\n {\r\n return length;\r\n }", "title": "" }, { "docid": "2fff1dee4025a403fa71f009eded524d", "score": "0.6160308", "text": "public int length() { return sb.length(); }", "title": "" }, { "docid": "5fa1179c69e895a465c9acba13dfe82c", "score": "0.6151246", "text": "int size() {\n return alphabet().size();\n }", "title": "" }, { "docid": "c78dba0bf1cd73b4753614d8b6239a1b", "score": "0.6149414", "text": "public int getLength(){\n\t\treturn length;\n\t}", "title": "" }, { "docid": "f23616e5eaa654e27384d28ce2272ae6", "score": "0.6135971", "text": "@Override\n\t\tprotected int toLength(int level) {\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "edaea9f4c842e19b3cc181fe11eda048", "score": "0.6113911", "text": "public int length() {\n return -1;\n }", "title": "" }, { "docid": "9918f5cfdeb6275cd66209492e5411c9", "score": "0.6108507", "text": "public final int getLength() {\n/* 379 */ return this._length;\n/* */ }", "title": "" }, { "docid": "128f456a84087a93ff27314ba9dba799", "score": "0.6103029", "text": "public int getLength() {\n return length;\n }", "title": "" }, { "docid": "7e8433a3bc4ad7c6b51cbf4b4803cb41", "score": "0.6099276", "text": "private int length() {\n\t\treturn f.length();\n\t}", "title": "" }, { "docid": "c00a6cbb64883e8481912db36c56c6f9", "score": "0.6098305", "text": "public String getLength(){\n\t\treturn length;\n\t}", "title": "" }, { "docid": "96ff5a6a75add1b42e411ab584900031", "score": "0.6097638", "text": "public int getLength() {\n return this.length;\n }", "title": "" }, { "docid": "2d100b138d72059fd9aea9dda7f5fc0f", "score": "0.60953677", "text": "public int length() {\n return 0;\n }", "title": "" }, { "docid": "b8284d244a8a0c0d0486e30877d5265f", "score": "0.609038", "text": "@Override\n\tpublic int getLength() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "e0961587d8ac8a3b868c8d6987bea352", "score": "0.60749567", "text": "public int getLength() {\r\n return this.length;\r\n }", "title": "" }, { "docid": "e0961587d8ac8a3b868c8d6987bea352", "score": "0.60749567", "text": "public int getLength() {\r\n return this.length;\r\n }", "title": "" }, { "docid": "e0961587d8ac8a3b868c8d6987bea352", "score": "0.60749567", "text": "public int getLength() {\r\n return this.length;\r\n }", "title": "" }, { "docid": "d0ab567704e46dda57fab27105eceeb6", "score": "0.6071469", "text": "public abstract int length() throws BadKind;", "title": "" }, { "docid": "b73119f94f70d4382ae0235003df4b04", "score": "0.6066769", "text": "@Override\n public int getLength() {\n return fLength;\n }", "title": "" }, { "docid": "04d4e6da8390148e1f6bc2a2422a83f7", "score": "0.60566366", "text": "public int GetLength() {\r\n\t\treturn length;\r\n\t}", "title": "" }, { "docid": "ede0dff836440788dc37ba24690ed3e9", "score": "0.6054797", "text": "@Override\n\tint getLength() {\n\t\treturn 3;\n\t}", "title": "" }, { "docid": "82b28024922d967649f0ed6caced4a18", "score": "0.60342467", "text": "public int getLength()\n\t{\n\t\treturn this.length;\n\t}", "title": "" }, { "docid": "7b240b0f9208f166038e36da8fbf892e", "score": "0.60331225", "text": "@Override\n public int length() {\n return 5;\n }", "title": "" }, { "docid": "a31a49754dcc3b4e2ff0ac764456a7c8", "score": "0.60293186", "text": "public static void getMaxLen() {\n //максимальная длина слова в массиве \n Scanner scanner = new Scanner(System.in);\n //определение размерности массива\n System.out.println(\"Введите размерность массива\");\n int i1 = scanner.nextInt();\n String[] words = new String[i1];\n //заполнение массива\n for (int i = 0; i < words.length; i++) {\n System.out.println(\"Введите \" + (i+1) + \"-ый элемент массива\");\n words[i] = scanner.next();\n }\n //задание переменной 'номер элемента с максимальной длиной'\n int maxLenNum = 0;\n //поиск элемента с максимальной длиной: считаем, что если длины равны - берем элемент с большим номером\n for (int i = 0; i < i1; i++) {\n if ((words[i].length())>=(words[maxLenNum].length())) {\n maxLenNum = i;\n }\n }\n System.out.printf(\"Максимальная длина у %d элемента массива равна %d. Самое длинное слово: %s\", (maxLenNum+1),words[maxLenNum].length(),words[maxLenNum]);\n scanner.close();\n }", "title": "" }, { "docid": "25f419cc2c40159baa7f01c025029a65", "score": "0.60273015", "text": "@Override\n\tpublic long getSaysLength() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "856cf0f020a8c80f6d63577b74f74a29", "score": "0.60198", "text": "double getLength();", "title": "" }, { "docid": "9b4e1de1c40ed225dc3a2e2ce740cb6e", "score": "0.6018184", "text": "public int NombreTortue(Byte[] jeu){\r\n\t\tint nb=0;\r\n\t\tfor(int i=0; i<37; i++){\r\n\t\t\tif(jeu[i] != 0){\r\n\t\t\t\tnb++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn nb;\r\n\t}", "title": "" }, { "docid": "014f5b23ab08d98c37dfe4d3d372ac4d", "score": "0.6015006", "text": "public int getLength() {\n return length;\n }", "title": "" }, { "docid": "014f5b23ab08d98c37dfe4d3d372ac4d", "score": "0.6015006", "text": "public int getLength() {\n return length;\n }", "title": "" }, { "docid": "014f5b23ab08d98c37dfe4d3d372ac4d", "score": "0.6015006", "text": "public int getLength() {\n return length;\n }", "title": "" }, { "docid": "8abf15921060b28d2475f80a2abf4a73", "score": "0.60128", "text": "public int getLength()\n{\n\treturn _length;\n}", "title": "" }, { "docid": "888fd23702ee04f65366c0f580b156b1", "score": "0.601095", "text": "public int getClen() {\r\n return clen;\r\n }", "title": "" }, { "docid": "97c1f73983f9eff68e1da46beb5994de", "score": "0.6009904", "text": "boolean getIsVlen();", "title": "" }, { "docid": "97c1f73983f9eff68e1da46beb5994de", "score": "0.6009904", "text": "boolean getIsVlen();", "title": "" }, { "docid": "97c1f73983f9eff68e1da46beb5994de", "score": "0.6009635", "text": "boolean getIsVlen();", "title": "" }, { "docid": "97c1f73983f9eff68e1da46beb5994de", "score": "0.6009635", "text": "boolean getIsVlen();", "title": "" }, { "docid": "5b6ba2e075d70e44d38cdd14e00f7d8a", "score": "0.59977555", "text": "public int getLength() {\r\n\t\treturn size() ;\r\n\t}", "title": "" }, { "docid": "4b826b36f67afdd74e51cc862b5c49b8", "score": "0.59914577", "text": "int getUmchpCount();", "title": "" }, { "docid": "871ef024ded34fcfe2d008a7fb6133ac", "score": "0.5973942", "text": "@Override\n public int getLength() {\n return 0;\n }", "title": "" } ]
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "83ec530ee403d94cdbd96296c2d59a84", "score": "0.0", "text": "public static C4242a m11618a(byte[] bArr, int i, int i2) {\n byte[] bArr2 = new byte[i2];\n System.arraycopy(bArr, i, bArr2, 0, i2);\n return new C4242a(bArr2);\n }", "title": "" } ]
[ { "docid": "fc84bfffbb135cb8d4b6f8f6e4fc5d30", "score": "0.62497115", "text": "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "title": "" }, { "docid": "01ed565ecd5da249ab9411db2a325750", "score": "0.6242887", "text": "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "title": "" }, { "docid": "2ec4d662013bbc07c24377a284193414", "score": "0.61394435", "text": "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "title": "" }, { "docid": "098acf3d25743c26951b7c137d6b5241", "score": "0.61176854", "text": "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "title": "" }, { "docid": "43976bf51e52fb1bd1f4238d171e6204", "score": "0.6114027", "text": "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "title": "" }, { "docid": "437bb90fa6e00569dcd1e241c0eb51e7", "score": "0.60893", "text": "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "title": "" }, { "docid": "868d35bc809a72be50ff335e5a6db12e", "score": "0.6046901", "text": "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "title": "" }, { "docid": "29850e186fa126e94b2bbd6fa6c19fc3", "score": "0.6024682", "text": "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "title": "" }, { "docid": "6619c8b04c9f07c442e55e1218970e1e", "score": "0.60201293", "text": "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "title": "" }, { "docid": "3100a48282b7b764700b169c3b098b1b", "score": "0.5975212", "text": "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "title": "" }, { "docid": "c6c234dd83030caeed72c3ce20189880", "score": "0.59482527", "text": "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "title": "" }, { "docid": "bd7f4e1e4e645f4b452b70f4dbb8c6dc", "score": "0.59121317", "text": "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "title": "" }, { "docid": "3f00385c41e9bc67fa06398c1a0de7d9", "score": "0.5883635", "text": "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "title": "" }, { "docid": "71e1636aef9163f0d87af21a319420fa", "score": "0.587841", "text": "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "title": "" }, { "docid": "4691a93584fd0806b37e2b6e8189521b", "score": "0.58703005", "text": "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "title": "" }, { "docid": "b123edd15ba08fe12a51841736a84462", "score": "0.5868436", "text": "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "title": "" }, { "docid": "666d9df89e6736838e69c3c82d12b0aa", "score": "0.5864884", "text": "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "title": "" }, { "docid": "449b6491b2fe8f8468a85a35e28c8259", "score": "0.5857492", "text": "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "title": "" }, { "docid": "9b3a5fa71ba9a603811b29470ea4bfb6", "score": "0.58306104", "text": "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "title": "" }, { "docid": "d8dd89277ac7a5c007c8684a9c6cca20", "score": "0.5827752", "text": "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "title": "" }, { "docid": "9da98f366c702538238d77b2b4994183", "score": "0.58272064", "text": "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "title": "" }, { "docid": "e7eae714822cbcbca0c1db80e113402e", "score": "0.5794689", "text": "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "title": "" }, { "docid": "c2479159be12a21c77910c092fceb564", "score": "0.57890314", "text": "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "title": "" }, { "docid": "1c0deb99854e0f88c66a266283221013", "score": "0.57838726", "text": "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "title": "" }, { "docid": "5975b4003249e3b564fae60d5299cbd2", "score": "0.5775679", "text": "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "title": "" }, { "docid": "7a1052255f1048f551c1776d2f1e8159", "score": "0.57694733", "text": "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "title": "" }, { "docid": "dfcbab2d69a670d9daeb2a1df7b265d1", "score": "0.5769128", "text": "public void a() {\n ((a) this.a).a();\n }", "title": "" }, { "docid": "3612fb97c8d2b8f3fec6f2c351cf922f", "score": "0.57526815", "text": "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "title": "" }, { "docid": "299f0c9b74c537eb6fcf3585a35f07e0", "score": "0.56907034", "text": "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "title": "" }, { "docid": "86c447dd732ada573e3fc12f6a7e9493", "score": "0.5677874", "text": "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "title": "" }, { "docid": "9e81f92a0b590f23e83d0bf1a4109b2a", "score": "0.5670547", "text": "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "title": "" }, { "docid": "32ce16d3f6d76b47f657f11f3770e494", "score": "0.56666386", "text": "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d70b1635e035b918da0d7569839ec014", "score": "0.56592244", "text": "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "title": "" }, { "docid": "daf43e993efc8b98cdf3fe2b0afbb466", "score": "0.5658682", "text": "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "title": "" }, { "docid": "a4e9d056edb171d95dc9a1921a5fe442", "score": "0.56574154", "text": "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "title": "" }, { "docid": "644598039edddcf3faefa364a5ba3193", "score": "0.5654324", "text": "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "title": "" }, { "docid": "006a517dc3baa87b3270848f6e8b4626", "score": "0.5644676", "text": "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "title": "" }, { "docid": "aa2a16ebbeb265f4ac4992adabc88152", "score": "0.56399715", "text": "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "title": "" }, { "docid": "8f3c1e41ba8acc82c1050da792361542", "score": "0.5638734", "text": "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "title": "" }, { "docid": "4c84511dde13e0ba18a6422f80a84d8b", "score": "0.5630582", "text": "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56183887", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "bde0f552b3d5b8c4484911314c573f66", "score": "0.5615435", "text": "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "title": "" }, { "docid": "89e9dc8cf037d7625b831e559ac044f3", "score": "0.56069666", "text": "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "title": "" }, { "docid": "66a26f9ccca930416a6f89aa9bf1b173", "score": "0.5605207", "text": "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "title": "" }, { "docid": "b5b50bf3e7a20f1df72605a90e956a06", "score": "0.56005067", "text": "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "title": "" }, { "docid": "d725a917e4e6030ba9195f790ccfff65", "score": "0.559501", "text": "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "title": "" }, { "docid": "78a3486a59361b759c6be90b827a8425", "score": "0.55910283", "text": "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "title": "" }, { "docid": "22c9838acfcdee08174bf3617ea96f8a", "score": "0.5590222", "text": "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "title": "" }, { "docid": "319d09da803527a6a06bbf7cc2887316", "score": "0.55736613", "text": "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "title": "" }, { "docid": "b3dc8a3c14d2ee83e60c6560e422679c", "score": "0.5556682", "text": "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "title": "" }, { "docid": "9be89af1bb56da53326d2f09ae555d8b", "score": "0.5554544", "text": "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "title": "" }, { "docid": "091b31225464506d6bd1e08727e712d7", "score": "0.5550076", "text": "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "title": "" }, { "docid": "1288345207fb16885bf860a102e4eaa8", "score": "0.55493855", "text": "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "title": "" }, { "docid": "7b85dbcc8aa70db8e8a7481c51065d79", "score": "0.55446684", "text": "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "title": "" }, { "docid": "bf0f20a06091c30776990d814c848d2a", "score": "0.5538079", "text": "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "title": "" }, { "docid": "5fe376bb4764d8d4ad2567d147bc1fcc", "score": "0.5529058", "text": "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "title": "" }, { "docid": "b3b2fedc9f525bea8a2349e6dce201fb", "score": "0.5528109", "text": "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "title": "" }, { "docid": "c2a394a2b842d95cc0e883b841d9f283", "score": "0.552641", "text": "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "title": "" }, { "docid": "13217711f83a6833e3fef29d1814cd44", "score": "0.5525864", "text": "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "title": "" }, { "docid": "0d07baf9ce5331f454f1d47a24cee622", "score": "0.552186", "text": "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "title": "" }, { "docid": "0dc9e140b9547032b784f43a942c4e87", "score": "0.5519972", "text": "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "title": "" }, { "docid": "82288d49730f74b92af9749ca1fe8231", "score": "0.5509587", "text": "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "title": "" }, { "docid": "e8fa1b69564f29db70fe4f6fa46349fe", "score": "0.5507195", "text": "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "title": "" }, { "docid": "00d622ec17496c72311e952fde13ef3b", "score": "0.54881203", "text": "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "title": "" }, { "docid": "49ff4ba7b256475d4bfc81f6e66948f8", "score": "0.5485328", "text": "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "title": "" }, { "docid": "e528b25232e1e107445f9f7f31a381fc", "score": "0.54826045", "text": "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "title": "" }, { "docid": "6311a887a4ae923531409d83c7da50b8", "score": "0.5482066", "text": "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "title": "" }, { "docid": "c90cb1d49988bdadad52d6fff6740c8a", "score": "0.5481586", "text": "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "title": "" }, { "docid": "32227e5dc9e15ad3763e078cc1fb606f", "score": "0.5479751", "text": "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "title": "" }, { "docid": "18b0c3978bc1361e7463da1c55ec9fe6", "score": "0.54776895", "text": "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "title": "" }, { "docid": "2f7ac463983b04d3f3e56961fdb4ba43", "score": "0.54671466", "text": "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "title": "" }, { "docid": "4134d0fab03b3fa765ceb91b52ec0dbb", "score": "0.5463307", "text": "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "title": "" }, { "docid": "1a94ebbc41776ed2216a34180eb5a7f6", "score": "0.54505056", "text": "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "title": "" }, { "docid": "fc18815bc6e649fec1a5abc3890052ae", "score": "0.54436916", "text": "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "title": "" }, { "docid": "58de1edc0c1420fdff331cc22707123e", "score": "0.5440517", "text": "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "title": "" }, { "docid": "b1c89121f3910f51c93098ba9ec3a21b", "score": "0.5439747", "text": "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "title": "" }, { "docid": "63aa596b4b88e7f89cd3097e4e54cfca", "score": "0.5431944", "text": "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "title": "" }, { "docid": "9c2afd79755607e15de270eb193b236e", "score": "0.5422869", "text": "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "title": "" }, { "docid": "8fa65e13dc0cdff3a90d9f62507cb9a5", "score": "0.54217863", "text": "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "title": "" }, { "docid": "e60d809a85b4c98e16589f1529561044", "score": "0.5417556", "text": "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "title": "" }, { "docid": "d8fd4f06199d8efcef24fc1505addbcd", "score": "0.5403905", "text": "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "title": "" }, { "docid": "83bbf46e0144c3dcce2d271f13bee782", "score": "0.5400223", "text": "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "title": "" }, { "docid": "82ffdbe6aa6621b279c74468f80b5912", "score": "0.53998446", "text": "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "title": "" }, { "docid": "aeadc18012a7c861c02f1c65eb820994", "score": "0.5394735", "text": "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "title": "" }, { "docid": "2508060fe41b983c50d6ca46a915395e", "score": "0.5388649", "text": "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "title": "" }, { "docid": "087386378b393a0e96fa18f708ca65ce", "score": "0.5388258", "text": "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "title": "" }, { "docid": "9f1c9cd821755538a8a9bda91b904acc", "score": "0.5374842", "text": "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "title": "" }, { "docid": "6ecc192a1fb1f66ec2d6f47439a4d9f8", "score": "0.5368887", "text": "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "title": "" }, { "docid": "e181411550d85cf1e62f33e2fa38c92f", "score": "0.53591394", "text": "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "title": "" }, { "docid": "d99a3faf82861610af051d036f6e5a50", "score": "0.5357029", "text": "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "title": "" }, { "docid": "a0e21ee501dec77d3b013c6bba646f86", "score": "0.5355688", "text": "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "title": "" }, { "docid": "47b905976cd909c479269de128f16ffc", "score": "0.535506", "text": "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "title": "" }, { "docid": "d124618b4b65ff1a4c5f0386a0b0a101", "score": "0.5355034", "text": "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "title": "" }, { "docid": "40044121d9a1d21cd1c28865a7d0f30f", "score": "0.53494394", "text": "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "title": "" }, { "docid": "2b75e6696ca89a5bd713b64ef3c8ca12", "score": "0.5341044", "text": "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "title": "" }, { "docid": "8ffd671a8e9a13dff8feccdbbbcb8737", "score": "0.5326166", "text": "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "title": "" }, { "docid": "b370df3daf04308a9df898bf450c4c19", "score": "0.53236824", "text": "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "title": "" }, { "docid": "2942e8417b1b46bc317e65c06b2d0abd", "score": "0.53199095", "text": "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "title": "" }, { "docid": "337feecf03fd626594145801b5fc943e", "score": "0.53177035", "text": "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "title": "" }, { "docid": "0cbbba7c7ba683d273d25272a6e29808", "score": "0.53112453", "text": "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "title": "" }, { "docid": "ad4fcb3c5e30d79489772b08711b9163", "score": "0.5298229", "text": "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5d1ef491d34d8ac17e81018ca01aa4b2", "score": "0.0", "text": "@Override\n\tpublic String addEstimate(EstimateVO estimateVo) {\n\t\tString addEstimate_check = null;\n\t\tString maxEst_no = null;\n\t\t\n\t\ttry {\n\t\t\tSystem.out.println(estimateVo);\n\t\t\tthis.commonDao.insertData(\"estimate.insertEstimate\", estimateVo);\n\t\t\t\n\t\t\tmaxEst_no = (String) this.commonDao.getReadData(\"estimate.MaxEst_no\");\n\t\t\t\n\t\t\tSystem.out.println(maxEst_no);\n\t\t\tif(maxEst_no != null && maxEst_no != \"\"){\n\t\t\t\testimateVo.setEst_no(maxEst_no);\n\t\t\t\tthis.commonDao.insertData(\"estimate.insertEstimate_field\", estimateVo);\n\t\t\t}else{\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn addEstimate_check;\n\t}", "title": "" } ]
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" }, { "docid": "651ef6275f1a33ed6582a1599cab78d2", "score": "0.66211534", "text": "@Override\n\tpublic void bekle() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "c56ced5e9768caa7a88a0e86dc1d02eb", "score": "0.6557507", "text": "@Override\n\tpublic void pintate() {\n\t\t\n\t}", "title": "" }, { "docid": "534c466f09845319b9edaf959a891c09", "score": "0.6546559", "text": "@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.62550694", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "761f5db0b07474bff2090f23a6693efb", "score": "0.6211042", "text": "private void Prodto() {\n\n\t}", "title": "" }, { "docid": "74578344538dd194907dffc0406cacac", "score": "0.6166714", "text": "@Override\n public void suicide() {\n \n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.6153736", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "db51ad8e6f15ad35a767d84e1e1eda68", "score": "0.61275035", "text": "@Override\n\t\t\tpublic void cry() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e24a2515146ce17481b567e14f6d3258", "score": "0.6075012", "text": "public void retrievecart() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "fba36b6a112c0dbc3dd5aa61fe730a40", "score": "0.60609394", "text": "@Override\n\tpublic void subir() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "280c1f1bfe3582788f566eafe40085dd", "score": "0.60448366", "text": "@Override\n \tpublic void init() {\n \t\t\n \t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "2ba22ff158b6e941041f9460eddd0944", "score": "0.5991409", "text": "@Override\n public void operation() {\n \n }", "title": "" }, { "docid": "afc2a2ef708681a23da24526386fa543", "score": "0.5979341", "text": "@Override\r\n\tpublic void demo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "951638c11e887c3f81bcc83306f4e413", "score": "0.5957303", "text": "@Override\r\n\tpublic void trunon() {\n\r\n\t}", "title": "" }, { "docid": "03a6fa2a6dc40f30e9f67797ea87ac0e", "score": "0.5950196", "text": "@Override\n\tvoid generate() {\n\t\t\n\t}", "title": "" }, { "docid": "86b315eabc97abef1ea325b454b16656", "score": "0.5934478", "text": "@Override\n\tpublic void veneno() {\n\t\t\n\t}", "title": "" }, { "docid": "4f4340003331db95a2feee0084056a02", "score": "0.59033096", "text": "@Override\n\tprotected void inicializar() {\n\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58815277", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "a6c80a6456cfc74acaa16a2f9c3063c5", "score": "0.5881057", "text": "@Override\n\t\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "bf75e876384ccbd3516440064d914edb", "score": "0.585407", "text": "@Override\r\n\t\t\tpublic void process() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "22f2421f5b9cc11d1699c42857b4dfe9", "score": "0.5850562", "text": "protected void mo1582st() {\n }", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.58336115", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "d07c1f5c9d405e36c1ebf9e7e586652e", "score": "0.5830177", "text": "private Solution() {\n /** Not using this function**/\n }", "title": "" }, { "docid": "fab6f4103beb4667b90da1eb3672a4fa", "score": "0.5821835", "text": "@Override\n\tprotected void update() {\n\n\t}", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58195674", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "4112f041d618773e927eaf69a897467b", "score": "0.5817743", "text": "@Override\r\n\tpublic void tempup() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "8d9539007d174aa71cae3fdbfe4952c6", "score": "0.5801801", "text": "@Override \n\tpublic void init() {\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "5243b8d363dba36edfd9e64eb96cc9d5", "score": "0.57880706", "text": "@Override\n public int getStatus() {\n return 0;\n }", "title": "" }, { "docid": "b096eae650ba80789eb6446d859169a3", "score": "0.5776792", "text": "protected void mo1586sx() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5773822", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c897821a3b00faa6e582b1c5bd5b3c6", "score": "0.57677484", "text": "@Override\r\n\tpublic void direksiyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "81ea0647fff57e17ec5107049b4dbf8b", "score": "0.57594514", "text": "@Override\n public int size() {\n return 1;\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5755988", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "33572cd017818797318a53dbacbc00b9", "score": "0.57530975", "text": "@Override\r\n\t\t\tpublic void initialize() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.57492036", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "b6c53604ad2f38e9cacf958a442de4cf", "score": "0.57409", "text": "@Override\n\tprotected void initAfterData() {\n\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5736822", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4f5334e4c63e1b16e38cf957e8576a25", "score": "0.5735921", "text": "@Override\n\tpublic void getHaned() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.57304126", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "ba3ff1d644c6b502f46e78f3112e984c", "score": "0.57151", "text": "@Override\r\n\tpublic void toss() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57141805", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "20aa3abef3af4ea8bcf5e834227be04c", "score": "0.57137775", "text": "@Override\n\tpublic void Pessoa() {\n\t\t\n\t}", "title": "" }, { "docid": "6894ea3aa25d3dee3c3dd8331b9a9cdd", "score": "0.57120746", "text": "@Override\n\t public int correr() {\n\t return 7;\n\t }", "title": "" }, { "docid": "d7405dbb7f385c28de1f97859172342b", "score": "0.5705621", "text": "@Override\n\tpublic void affiche() {\n\t}", "title": "" }, { "docid": "f9fa4d6203b441d4a00a824c3219ddb2", "score": "0.5704342", "text": "@Override\n\tprotected void doOperate() {\n\n\t}", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "2d9072b54f55f18557f92b99be58ec2f", "score": "0.56886935", "text": "@Override\r\n public String toString() {\n\treturn null;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "af5603f291fb4fc9dd83e46e0602225b", "score": "0.56868714", "text": "@Override\r\n\tpublic void demo3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.56740177", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "e8efac2ee01f452014413fb75d28b3a6", "score": "0.5659524", "text": "@Override\r\n\tpublic void initState() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1857996533d34551ac38dd34ec5213a3", "score": "0.56573755", "text": "public void koniecReplikacie() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
2f0e08327892afddea54946bd0f29ebf
Sets the appointmentRequestedPayRate attribute.
[ { "docid": "cb981552376b8cf8ab5c8396f0738283", "score": "0.81258005", "text": "public void setAppointmentRequestedPayRate(BigDecimal appointmentRequestedPayRate) {\n this.appointmentRequestedPayRate = appointmentRequestedPayRate;\n }", "title": "" } ]
[ { "docid": "0b9dff4f92d95510fb24d9fe7c6f0ed5", "score": "0.6808781", "text": "public BigDecimal getAppointmentRequestedPayRate() {\n return appointmentRequestedPayRate;\n }", "title": "" }, { "docid": "fcacba1c1bddff38b86aaee9d1706a30", "score": "0.6565741", "text": "public void setAppointmentRequestedAmount(KualiInteger appointmentRequestedAmount) {\n this.appointmentRequestedAmount = appointmentRequestedAmount;\n }", "title": "" }, { "docid": "809aa8df0a0eed09a50919899d26dcef", "score": "0.58123845", "text": "public void setPayRate(double payRate) { this.payRate = payRate; }", "title": "" }, { "docid": "5daf50885246ea0ddcd3e52eb743f818", "score": "0.57122135", "text": "public Informer reqInformVentilationAirFlowRateSetting() {\n\t\t\treqInformProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "f8536a80e076eb78cd1ef680a612470f", "score": "0.5609811", "text": "public void setAppointmentRequestedCsfAmount(KualiInteger appointmentRequestedCsfAmount) {\n this.appointmentRequestedCsfAmount = appointmentRequestedCsfAmount;\n }", "title": "" }, { "docid": "296d1a8f2bfdd3912c7669b7d89feea1", "score": "0.55794746", "text": "public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) {\n this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity;\n }", "title": "" }, { "docid": "dfde92965a4dbdb61c6571b7c61f6aed", "score": "0.55563366", "text": "public KualiInteger getAppointmentRequestedAmount() {\n return appointmentRequestedAmount;\n }", "title": "" }, { "docid": "e55fb5e2ff2ee23e3f3ec4c794446eca", "score": "0.5551417", "text": "public void setAppointmentRequestedTimePercent(BigDecimal appointmentRequestedTimePercent) {\n this.appointmentRequestedTimePercent = appointmentRequestedTimePercent;\n }", "title": "" }, { "docid": "cf8ef91a29653a5f9ec645064c8b317a", "score": "0.53752947", "text": "public Getter reqGetVentilationAirFlowRateSetting() {\n\t\t\treqGetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "c11d4fdcac8847e22459b4dda08fe236", "score": "0.53490305", "text": "public Setter reqSetVentilationAirFlowRateSetting(byte[] edt) {\n\t\t\treqSetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING, edt);\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "553f3ed17fd0b18560e078c37b0c4218", "score": "0.5277977", "text": "public void setMinimumBearerRate(float rate);", "title": "" }, { "docid": "c8409374953ce5fa84314ff63a9b9ef4", "score": "0.5247723", "text": "public void setRate(int r) {\n\t\trate = r;\r\n\t}", "title": "" }, { "docid": "9c958c34fe14e69bad47a986ecd693d5", "score": "0.5179722", "text": "public static void setCommissionRate(double rate) {\n commissionRate = rate;\n }", "title": "" }, { "docid": "e7706f966eb0085ec2b81d978d3abc76", "score": "0.5111874", "text": "public void setAppointmentTotalIntendedAmount(KualiInteger appointmentTotalIntendedAmount) {\n this.appointmentTotalIntendedAmount = appointmentTotalIntendedAmount;\n }", "title": "" }, { "docid": "852eb7d8eb03214df1e433c50c21afc5", "score": "0.50971514", "text": "@Override\r\n\tpublic void setRate(int rateValue) {\n\t\tthis.rateValue=rateValue;\r\n\t}", "title": "" }, { "docid": "b1ff889d124abbd9072e2d3f97d4213e", "score": "0.5084252", "text": "@Override\n\tpublic void setRate() {\n\t\tthis.rate=getBaseRate()* 0.15;\n\t}", "title": "" }, { "docid": "1328df1dc8945524ea86d8cbfd71324d", "score": "0.50560987", "text": "public void setRate(int value) {\r\n this.rate = value;\r\n }", "title": "" }, { "docid": "f317b85d6ad50596a71465be7da77273", "score": "0.50286996", "text": "@Override\n public void setRate(int newRate) {\n int oldRate = rate.get();\n rate.set(newRate);\n\n Notification n = new AttributeChangeNotification(this,\n sequenceNumber++, System.currentTimeMillis(),\n \"Trx Rate Changed\", \"Rate\", \"int\",\n oldRate, rate.get());\n\n sendNotification(n);\n logger.info(\"TRX Rate changed\");\n }", "title": "" }, { "docid": "d59f97be953cba1b16642a8a74dc082e", "score": "0.50203186", "text": "public void setRate(java.math.BigDecimal rate) {\r\n this.rate = rate;\r\n }", "title": "" }, { "docid": "c3d42743f5d8aa42d212c4daa3ef71cc", "score": "0.50040376", "text": "public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) {\n this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity;\n }", "title": "" }, { "docid": "9e21fd375c84610c9141f92e7fa85efa", "score": "0.49934885", "text": "public void setAnnualRate(String annualRate) {\r\n this.annualRate = annualRate;\r\n }", "title": "" }, { "docid": "21991d1c901e23a2a132dd21907d8356", "score": "0.49852997", "text": "void setTotalPolicyPremiumPaid(CurrencyAmount value);", "title": "" }, { "docid": "62735403d7143fd2668d2bf48e588a30", "score": "0.49707735", "text": "public void setRequestedAmount(BigInteger requestedAmount) {\n this.requestedAmount = requestedAmount;\n }", "title": "" }, { "docid": "196215f3e4fc32d26296be824c0c5f1f", "score": "0.49462065", "text": "public void setInteractionRate(double param){\r\n \r\n this.localInteractionRate=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "5f42b1e0be0f81e7ace29f38d099f90b", "score": "0.4943898", "text": "public void setMinBrakingRate(int minBrakingRate) {\r\n\t\tminBrakingRate_ = minBrakingRate;\r\n\t}", "title": "" }, { "docid": "f162546eb89b369898ffe07919b12891", "score": "0.4941534", "text": "public void setIsRateTaxInclusive(boolean value) {\n this.isRateTaxInclusive = value;\n }", "title": "" }, { "docid": "8abfda77ea282257c21a0a8bd6754244", "score": "0.4933829", "text": "public void setPenaltyAmt(String penaltyAmt) {\r\n this.penaltyAmt = penaltyAmt;\r\n }", "title": "" }, { "docid": "802b1c31d91183a4e0fafcf9e37a36b4", "score": "0.49244896", "text": "public void setRate(java.math.BigDecimal rate) {\n\t\tthis.rate = rate;\n\t}", "title": "" }, { "docid": "014f5d3ac3d9db1bdd96d1b16e55a83b", "score": "0.49004382", "text": "void setTotalPolicyPremiumBilled(CurrencyAmount value);", "title": "" }, { "docid": "2625a300b0ef040d478676ac017ad088", "score": "0.4883799", "text": "public void setAppointmentRequestedCsfTimePercent(BigDecimal appointmentRequestedCsfTimePercent) {\n this.appointmentRequestedCsfTimePercent = appointmentRequestedCsfTimePercent;\n }", "title": "" }, { "docid": "c1c189bf987488c3eb5ba40a4deeeb8a", "score": "0.48554447", "text": "public BigDecimal getAppointmentRequestedTimePercent() {\n return appointmentRequestedTimePercent;\n }", "title": "" }, { "docid": "b2bbbecaa4d8d1e7fab6c4d31c279558", "score": "0.48238212", "text": "@Override\n\tpublic void setRate() {\n\t\trate = getBaseRate() - .25;\n\t}", "title": "" }, { "docid": "351c40f100c1e6eec1a682e8320fc8c8", "score": "0.47873425", "text": "public void setRate(BigDecimal rate) {\n this.rate = rate;\n }", "title": "" }, { "docid": "c3d89ea0c4d92133842a652e6595362a", "score": "0.47830698", "text": "public KualiInteger getAppointmentRequestedCsfAmount() {\n return appointmentRequestedCsfAmount;\n }", "title": "" }, { "docid": "e11660528cda7699ae36a1d4bd432d99", "score": "0.47741377", "text": "public void setRequesterPaysEnabled(boolean isRequesterPays) {\r\n this.isRequesterPaysEnabled = isRequesterPays;\r\n }", "title": "" }, { "docid": "5486a8abeb7e8081c10fab983492ec10", "score": "0.4767102", "text": "public void setIdPersonRequestOlympiadAward(int value) {\n this.idPersonRequestOlympiadAward = value;\n }", "title": "" }, { "docid": "69b75359dc3b13ed42749df5996f523e", "score": "0.47639593", "text": "protected abstract void setInterestRate();", "title": "" }, { "docid": "04d0ce99847c23cfba6379c7c6b88a85", "score": "0.47617665", "text": "public void setDeliveryRate(double param){\r\n \r\n this.localDeliveryRate=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "05d721cf6c570cd6519d034aecbdd5d1", "score": "0.47464257", "text": "public void setMinPayment(int newMinPayment) {\n this.minPayment = newMinPayment;\n }", "title": "" }, { "docid": "06ee2818ecad3d592b0374007cfed6ce", "score": "0.47401786", "text": "public void setAnnualInterestRate ( double newAnnualInterestRate){\n\t\tannualInterestRate = newAnnualInterestRate;\n\t}", "title": "" }, { "docid": "380dc2ef0b7f7e39c0db985bb4fbe971", "score": "0.47291103", "text": "public Builder setMinNextBidIncrementRate(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n minNextBidIncrementRate_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "15c1eb988bae5ca5f381d6b1208b2969", "score": "0.47162345", "text": "@Override\n public void setRateValue(double value) {\n\n }", "title": "" }, { "docid": "88a405f35d55962a1032e5a74c702708", "score": "0.46965498", "text": "public final void setRateValue(int rateVal) {\n this.rateValue = rateVal;\n }", "title": "" }, { "docid": "9386b94a40b9d2f3e43c59e460cb0b20", "score": "0.4671687", "text": "public void setRate(String rate) {\r\n this.rate = rate;\r\n }", "title": "" }, { "docid": "a90368f7cb2f08a9137c43fb02522bb8", "score": "0.46670413", "text": "public void setFRate(int fRate) {\r\n this.fRate = fRate;\r\n }", "title": "" }, { "docid": "f76013aaa4c740b72a2c23ad31c63eff", "score": "0.46660376", "text": "public void setXrate (String _xrate) {\n\t\tthis._xrate = _xrate;\n\t}", "title": "" }, { "docid": "2cd7c354973bad3364249452209555c0", "score": "0.46628758", "text": "public void setIntake(double rate) {\n\t\tsetIntakeSeparate(rate, -rate);\n\t}", "title": "" }, { "docid": "6f2414ed3776f5b406830b3be1ec4282", "score": "0.466136", "text": "public void setPaid(double paid) {\r\n this.paid = paid;\r\n }", "title": "" }, { "docid": "993ef0d1036506dd093ba6d56ee39788", "score": "0.46318233", "text": "public void setIsRequested(boolean isRequested) {\n this.isRequested = isRequested;\n }", "title": "" }, { "docid": "d04f68acb4a02a8220790e133259e082", "score": "0.46108118", "text": "public void setAppRequest(String appRequest) {\n this.appRequest = appRequest;\n }", "title": "" }, { "docid": "f3f8299965146ebe06faba628c286a88", "score": "0.46077207", "text": "public void updateRate() {\n rateData = limitStrategy.updateRate(rateData, requestLimit, durationMs);\n }", "title": "" }, { "docid": "33afe11b60fddeb4411d9004b5ba9598", "score": "0.46027157", "text": "public void adjustPayRate(StaffConsultant c, int newPayRate ) {\n\t\ttry { \n\t\t\tif ( log.isInfoEnabled() ) {\n\t\t\t\t\tdouble percentChange = Math.abs(newPayRate - c.getPayRate())*10000.0/c.getPayRate()/100;\n\t\t\t\t\tfinal String msg = \"Percent change is =\" + percentChange ;\n\t\t\t\t\tlog.info (msg);\n\t\t\t}\n\t\t\tc.setPayRate(newPayRate);\n\t\t\tlog.info(\"approved raise for \" + c.getName());\n\t\t\t} catch ( final PropertyVetoException pve) {\n\t\t\t\t\t\t\t\t\n\t\t}\n\n\t\t\n\t}", "title": "" }, { "docid": "f4336efe09b25f36b552bb18e1221d61", "score": "0.4594388", "text": "void setTotalPolicyPremiumRefunded(CurrencyAmount value);", "title": "" }, { "docid": "e08ed68c22a6cd9c74a49bff90542f66", "score": "0.4593941", "text": "public DankContainer setInputRate (long rate) {\r\n \r\n this.inputRate = rate;\r\n return this;\r\n }", "title": "" }, { "docid": "e712dc7d15a78aa07d73a1efb9372747", "score": "0.4589748", "text": "public void setClickthroughRate(double param){\r\n \r\n this.localClickthroughRate=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c4a2c9340961e205c853fa1fba2665a1", "score": "0.45840496", "text": "public void setAvgRate(String userRate)\r\n\t{\r\n\t\tthis.avgRate=Double.parseDouble(userRate);\r\n\t}", "title": "" }, { "docid": "60ab0388f6d600d2a9d6d04d849a380e", "score": "0.4583537", "text": "public void setBuyerRate (boolean buyerRate) {\n\t\tthis.buyerRate = buyerRate;\n\t}", "title": "" }, { "docid": "c6506250125a6f80db451f5d3c1f00f4", "score": "0.4580055", "text": "public synchronized void setAgreed(boolean agreed)\n {\n this.m_agreed = agreed;\n stopTimeout();\n }", "title": "" }, { "docid": "2725fc086d58537ebeffeebebf01b7b8", "score": "0.45730433", "text": "public boolean hasValidPayRateOrAnnualAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding, MessageMap errorMap);", "title": "" }, { "docid": "12f0db9dc3ee37883e3008adb6642c55", "score": "0.45704168", "text": "public void setDateRequested(java.util.Calendar dateRequested) {\n this.dateRequested = dateRequested;\n }", "title": "" }, { "docid": "e9973f839f32fcf6cb886fd0e3d72d4b", "score": "0.45694172", "text": "public void setAgentAppointed(boolean agentAppointed)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENTAPPOINTED$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENTAPPOINTED$4);\n }\n target.setBooleanValue(agentAppointed);\n }\n }", "title": "" }, { "docid": "93024ba64268e4b39f1c9d082c4bc4ed", "score": "0.45636156", "text": "@Override\n\tpublic void calculatePayment() {\n\t\tsuper.calculatePayment();\n\t\tsuper.setPayPerPeriod(super.getPayPerPeriod() + bonus/(double)PAYPERIODSPERYEAR);\n\t\t\n\t}", "title": "" }, { "docid": "d94be3fec3f9cb2f9d3ef65f53d6b497", "score": "0.4563011", "text": "public void setAppointmentTotalIntendedFteQuantity(BigDecimal appointmentTotalIntendedFteQuantity) {\n this.appointmentTotalIntendedFteQuantity = appointmentTotalIntendedFteQuantity;\n }", "title": "" }, { "docid": "7f4383a5a9c14b78300e03035918061d", "score": "0.45620987", "text": "public PreApprovalRequestBuilder withAmountPerPayment(BigDecimal amountPerPayment) {\n this.amountPerPayment = amountPerPayment;\n return this;\n }", "title": "" }, { "docid": "04423683869e876161af3f7d71839573", "score": "0.45581755", "text": "private void setDefaultRate(SettingProto value) {\n if (value != null) {\n this.defaultRate_ = value;\n this.bitField0_ |= 1;\n return;\n }\n throw new NullPointerException();\n }", "title": "" }, { "docid": "4ff2e760d309dfb9992ee192c0520048", "score": "0.45481408", "text": "public void setMinAccelerationRate(int minAccelerationRate) {\r\n\t\tminAccelerationRate_ = minAccelerationRate;\r\n\t}", "title": "" }, { "docid": "ab576af85d1466a42d82cf968b8f597f", "score": "0.45354682", "text": "public void setfRate(int fRate) \r\n\t{\r\n\t\tswitch(fRate)\r\n\t\t{\r\n\t\t\tcase 1: this.fRate = filmRate.G; break;\r\n\t\t\tcase 2: this.fRate = filmRate.PG; break;\r\n\t\t\tcase 3: this.fRate = filmRate.PG13; break;\r\n\t\t\tcase 4: this.fRate = filmRate.NC16; break;\r\n\t\t\tcase 5: this.fRate = filmRate.M18; break;\r\n\t\t\tcase 6: this.fRate = filmRate.R21; break;\r\n\t\t\tdefault: System.out.println(\"Invalid input\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "92a857ec5bd8986b3e1f3734c53be0c6", "score": "0.4535296", "text": "public BigDecimal getAppointmentRequestedFteQuantity() {\n return appointmentRequestedFteQuantity;\n }", "title": "" }, { "docid": "75ab1b40f855ce2a56a7254a1f0ca809", "score": "0.45030752", "text": "public void setRequestAdvice(com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.RequestAdvice requestAdvice) {\n this.requestAdvice = requestAdvice;\n }", "title": "" }, { "docid": "8e4bdc302be008317c8373999119e492", "score": "0.448711", "text": "public DialerCampaignConfigChangeCampaign abandonRate(BigDecimal abandonRate) {\n this.abandonRate = abandonRate;\n return this;\n }", "title": "" }, { "docid": "614e207daf762bedadb87a775b56fd12", "score": "0.44847122", "text": "public void setAnnualPercentageRate(double value) {\n this.annualPercentageRate = value;\n }", "title": "" }, { "docid": "bb173985590feac924f1bd66afdf672c", "score": "0.4482417", "text": "public void setfRate(String fRate)\r\n\t{\r\n\t\tthis.fRate = filmRate.valueOf(fRate);\r\n\t}", "title": "" }, { "docid": "e8caafcbf323be3e6ff8445681840d0d", "score": "0.44708827", "text": "public void setExchangeRate(java.math.BigDecimal exchangeRate) {\n this.exchangeRate = exchangeRate;\n }", "title": "" }, { "docid": "cecaa1b49c0cf6e3e55d663a3bc143e8", "score": "0.44661477", "text": "public void setPayPoints(Integer payPoints) {\n this.payPoints = payPoints;\n }", "title": "" }, { "docid": "7d5eca57bba92d81afad0a7883dc7273", "score": "0.44640982", "text": "public void setTaxRate(String taxRate) {\n this.taxRate = taxRate;\n }", "title": "" }, { "docid": "f93beb3641b20fb6a0f118bc57e6e92a", "score": "0.44608623", "text": "public void setLatePayPenalty(int newPenalty) {\n this.latePaymentPenalty = newPenalty;\n }", "title": "" }, { "docid": "8d06bc7e7c948b7912d2feb13bff7a79", "score": "0.44583604", "text": "public void setRating(int rating) {\n ValidationHelper.checkNumberInBounds(rating, MIN_RATING_VALUE, MAX_RATING_VALUE);\n this.rating = rating;\n }", "title": "" }, { "docid": "7df9d6b31d6477ad8fdfd1ca5f336e35", "score": "0.44495547", "text": "public void setPayable(double amount) {\r\n this.payable = amount;\r\n }", "title": "" }, { "docid": "442ab1e205c6976e27df5242a8df6fb5", "score": "0.4447579", "text": "public void setHourlyRate(double newHourlyRate) {\r\n\t\tif(validate(newHourlyRate)) {\r\n\t\t\thourly_rate = newHourlyRate;\r\n\t\t}\t\t\t\r\n\t}", "title": "" }, { "docid": "c514ca21f8486c5b6d7c3ae06d980e52", "score": "0.44271344", "text": "public void raiseRate(float inc)\n\t{\n\t\tthis.payrate= this.payrate + inc;\t\t\n\t\t\n\t}", "title": "" }, { "docid": "1f7cdad9cc86764ba4ae4a6e9acb5ef2", "score": "0.44227222", "text": "public void setImpReqCode(String impReqCode);", "title": "" }, { "docid": "fd666d5ffeac2d01699ad28fe22458c2", "score": "0.4418867", "text": "public void xsetAgentAppointed(au.gov.asic.types.TrueType agentAppointed)\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.TrueType target = null;\n target = (au.gov.asic.types.TrueType)get_store().find_element_user(AGENTAPPOINTED$4, 0);\n if (target == null)\n {\n target = (au.gov.asic.types.TrueType)get_store().add_element_user(AGENTAPPOINTED$4);\n }\n target.set(agentAppointed);\n }\n }", "title": "" }, { "docid": "7fc859e8ac82413b4a6f17029d392362", "score": "0.4417283", "text": "@Override\n\tpublic void setRating(double rating) {\n\t\tsuper.setRating(rating);\n\t}", "title": "" }, { "docid": "a0a8d9c31ebe7228d052773286c1a997", "score": "0.4416679", "text": "public void setRateType(typekey.RateType value);", "title": "" }, { "docid": "6884bd50ce13d255316193a7510077e8", "score": "0.44118127", "text": "public void setRequesterIp(String requesterIP) {\n this.requesterIp = requesterIP;\n }", "title": "" }, { "docid": "50365c2cacca0451ff43ce83a191f67a", "score": "0.44115755", "text": "public void setApprover(Integer approver) {\n this.approver = approver;\n }", "title": "" }, { "docid": "4b44c651350c43463a0f798ccd2474fa", "score": "0.4409016", "text": "private AccessRate newSurveyAccessRate(final Survey survey,\n final String ipAddress, final Boolean rate) {\n return this.newAccessRateItem(null, null, survey, ipAddress, rate);\n }", "title": "" }, { "docid": "2c22ab33d7e9c2797b8a7a89304b5531", "score": "0.44084913", "text": "void setTotalClaimPaymentsMade(CurrencyAmount value);", "title": "" }, { "docid": "e48e71687f87e48b2938da240974ee26", "score": "0.44000864", "text": "public void setAskingPrice(Double askingPrice) {\n\t\tthis.askingPrice = askingPrice;\n\t}", "title": "" }, { "docid": "bd5f627f844acc824dda561b9532af51", "score": "0.43997982", "text": "public BigDecimal getAppointmentRequestedCsfTimePercent() {\n return appointmentRequestedCsfTimePercent;\n }", "title": "" }, { "docid": "bf8700a3e171f7435b8d1598dd27226f", "score": "0.43939131", "text": "public void setAppointmentTimeStart(Date appointmentTimeStart) {\r\n\t\tthis.appointmentTimeStart = appointmentTimeStart;\r\n\t}", "title": "" }, { "docid": "bb3929d9cc9ef11432f98f4e7165be70", "score": "0.43911603", "text": "public void setRequestACI(com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.RequestACI requestACI) {\n this.requestACI = requestACI;\n }", "title": "" }, { "docid": "d1c38b9b5e7dca04cf7fd7f8cb97116b", "score": "0.43907678", "text": "public void awardBonus(double execBonus) {\r\n\t\tthis.bonus = execBonus;\r\n\t}", "title": "" }, { "docid": "b8f8531b6f6de4836c4ebe8adcaf75c9", "score": "0.43793964", "text": "public void setTimeRequested(java.lang.Integer timeRequested) {\n this.timeRequested = timeRequested;\n }", "title": "" }, { "docid": "182d98e5cdd1b6a39dce5d18f3d48782", "score": "0.43701136", "text": "public int selectAppointment(int appointmentAmount) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "001b33c0ae5d3b7373c590cee8f8905d", "score": "0.43695086", "text": "public void setBikePrice(double x) {bikeDailyRate = x;}", "title": "" }, { "docid": "1b3141d777e8659b9a5d671b718a628d", "score": "0.43565196", "text": "public void setEmployeePlusOneClaimCostRate(com.vsp.xl.dto.v003.CurrencyValue employeePlusOneClaimCostRate) {\n this.employeePlusOneClaimCostRate = employeePlusOneClaimCostRate;\n }", "title": "" }, { "docid": "d6b636d1a99e3369d7db453073952fca", "score": "0.435322", "text": "private void setPayRaise ()\r\n {\r\n Random randomizer = new Random ();\r\n payRaise = (randomizer.nextInt (5) + 1) * 10000;\r\n }", "title": "" }, { "docid": "8b84ae4d784d61e0b0c80d431889aebd", "score": "0.4352292", "text": "public void testSetCurrentPaymentAccrualAmount() {\r\n instance.setCurrentPaymentAccrualAmount(1);\r\n assertEquals(\"Failed to setCurrentPaymentAccrualAmount correctly.\", 1,\r\n instance.getCurrentPaymentAccrualAmount());\r\n }", "title": "" }, { "docid": "96768a41112783fa44c6107ee157796f", "score": "0.43460417", "text": "protected void setMessageRate(int messageRate)\n {\n this.messageRate = messageRate;\n }", "title": "" } ]
b43dd72d36f9140ff2ec8d1a730b17d4
Absolute put method for writing a double value&nbsp;&nbsp;(optional operation). Writes eight bytes containing the given double value, in the current byte order, into this buffer at the given index.
[ { "docid": "6b3e8bf0443eeed0f574bc7464a2bec2", "score": "0.77606815", "text": "public Buffer putDouble(int index, double value);", "title": "" } ]
[ { "docid": "da9851078587a8f5123c77a1575af677", "score": "0.7412845", "text": "BigByteBuffer putDouble(double value);", "title": "" }, { "docid": "596ce327ee1e0a402cfd5b52dada18e2", "score": "0.7343551", "text": "public void putDouble(long index, double value)\n {\n putDouble(index, value, getByteOrder());\n }", "title": "" }, { "docid": "4904e711fc37a697ad046efe9dc9a468", "score": "0.7297702", "text": "public Buffer putDouble(double value);", "title": "" }, { "docid": "e172e93abd528a3c398235edfebd5470", "score": "0.7226655", "text": "public abstract ByteBuf writeDouble(double paramDouble);", "title": "" }, { "docid": "1824c12ed4db5abc0b84a3b0f9e467de", "score": "0.7145612", "text": "public void putDouble(long index, double value, ByteOrder byteOrder)\n {\n final long bits = Double.doubleToLongBits(value);\n putLong(index, bits, byteOrder);\n }", "title": "" }, { "docid": "7cac4adbe5c13af0be8656c91ee34b0e", "score": "0.70763624", "text": "public final CheckedMemorySegment putDouble(int index, double value) {\n\t\tputLong(index, Double.doubleToLongBits(value));\n\t\treturn this;\n\t}", "title": "" }, { "docid": "4c9f7b610af5863b275a631b1ced1605", "score": "0.70428956", "text": "void writeDouble(double value);", "title": "" }, { "docid": "d4993b06fd87c09c0e9aed6eb73f0702", "score": "0.6992934", "text": "public ByteBuf setDoubleLE(int index, double value)\r\n/* 187: */ {\r\n/* 188:1157 */ return setLongLE(index, Double.doubleToRawLongBits(value));\r\n/* 189: */ }", "title": "" }, { "docid": "ef27c7de9812aca18e1f7ff0f29ad2bd", "score": "0.68446916", "text": "public void writeDouble(double val) {\n\t\tbyte[] bytes = new byte[8];\n\t\tByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).putDouble(val);\n\t\tfor (byte b : bytes) {\n\t\t\tput(b);\n\t\t}\n\t}", "title": "" }, { "docid": "960d6c1b6b12fac43f04902fe8ceeb3e", "score": "0.6784282", "text": "public abstract ByteBuf setDouble(int paramInt, double paramDouble);", "title": "" }, { "docid": "3b4d7b042934bcf81174e7c32352e54c", "score": "0.6675974", "text": "@Override\n public void writeDouble(double value)\n {\n writeLong(Double.doubleToLongBits(value));\n }", "title": "" }, { "docid": "17b137af16e17872ff41416aba533a6d", "score": "0.6669873", "text": "BigByteBuffer putDouble(double[] src);", "title": "" }, { "docid": "2a3c1e857c3d088dc42d23beaabc6d6b", "score": "0.66016334", "text": "public static void putDouble(long addr, double val) {\n if (UNALIGNED)\n UNSAFE.putDouble(addr, val);\n else\n putLongByByte(addr, Double.doubleToLongBits(val), BIG_ENDIAN);\n }", "title": "" }, { "docid": "8e2c572736fb37724b3c0d560089ab0e", "score": "0.656473", "text": "public final void writeDouble(double val) {\n \tthrow new IllegalStateException(\"unimplemented\");\n }", "title": "" }, { "docid": "c871a508d5beacaa8adee81134b388c7", "score": "0.65618867", "text": "void writeDouble(String name, double value);", "title": "" }, { "docid": "7a098a8d6c8356fd776a0cff619d2a98", "score": "0.6532423", "text": "void putVDouble(double v);", "title": "" }, { "docid": "785f888018d68300132a20b78e14a411", "score": "0.6457739", "text": "public ByteBuf writeDoubleLE(double value)\r\n/* 329: */ {\r\n/* 330:1908 */ return writeLongLE(Double.doubleToRawLongBits(value));\r\n/* 331: */ }", "title": "" }, { "docid": "9b5bf6214292f42b91d887dcdf638fa9", "score": "0.6447981", "text": "public static void putDouble(byte[] arr, long off, double val) {\n if (UNALIGNED)\n UNSAFE.putDouble(arr, off, val);\n else\n putLongByByte(arr, off, Double.doubleToLongBits(val), BIG_ENDIAN);\n }", "title": "" }, { "docid": "198d282a84e773d245a751e207ac6b7c", "score": "0.64337444", "text": "void write()\n throws IOException {\n if ( keyType == 0 ) {\n byte[] currentKeyBytes = ( (String) data ).getBytes();\n file.write( currentKeyBytes );\n file.write( new byte[keyLength - currentKeyBytes.length] );\n } else {\n file.writeDouble( ( (Double) data ).doubleValue() );\n }\n }", "title": "" }, { "docid": "acb47c9f1edc62f76ae9e21bee499bd2", "score": "0.6418108", "text": "private static native void setDoubleImpl(JSObject jsObj, int index, double aValue);", "title": "" }, { "docid": "511baafc2e9c55165f2c0c733412710e", "score": "0.64046264", "text": "@Override\n public final void writeDouble(double d) throws IOException {\n writeLong(Double.doubleToLongBits(d));\n }", "title": "" }, { "docid": "fe21cd3da636e54777f9e6e1ac7d9cfa", "score": "0.6388299", "text": "public void putDouble(double value)\n {\n putDouble(value, getByteOrder());\n }", "title": "" }, { "docid": "e93f2ea6108c31c0ffe00b7f83c6998d", "score": "0.62749755", "text": "void appendDouble(double value);", "title": "" }, { "docid": "9aa2d10dcdb2d6266c4e5488b7df850c", "score": "0.6205559", "text": "private void writeDoubleTagPayload(DoubleTag tag)\n/* */ throws IOException\n/* */ {\n/* 204 */ this.os.writeDouble(tag.getValue().doubleValue());\n/* */ }", "title": "" }, { "docid": "94cd3275cc550415566329ab56de6b9e", "score": "0.5993821", "text": "public static void writeDouble(OutputStream outputStream, double x) throws IOException {\r\n byte[] bytes = new byte[8];\r\n ByteBuffer.wrap(bytes).putDouble(x);\r\n outputStream.write(bytes);\r\n }", "title": "" }, { "docid": "9a37968c88056b5149a8d3c656b800f0", "score": "0.5983713", "text": "public void putDouble(double value, ByteOrder byteOrder)\n {\n final long bits = Double.doubleToLongBits(value);\n putLong(bits, byteOrder);\n }", "title": "" }, { "docid": "63b23f5f0c1ba9986758e50ebade9ca9", "score": "0.5966917", "text": "public static void putDoubleLE(long addr, double val) {\n long longVal = Double.doubleToLongBits(val);\n\n if (UNALIGNED)\n UNSAFE.putLong(addr, Long.reverseBytes(longVal));\n else\n putLongByByte(addr, longVal, false);\n }", "title": "" }, { "docid": "2fdcf569930680e16e7990dacb6e56c5", "score": "0.5928891", "text": "public static void putDoubleLE(byte[] arr, long off, double val) {\n long longVal = Double.doubleToLongBits(val);\n\n if (UNALIGNED)\n UNSAFE.putLong(arr, off, Long.reverseBytes(longVal));\n else\n putLongByByte(arr, off, longVal, false);\n }", "title": "" }, { "docid": "7a0d2b522dea3863954fa87d08e7bc45", "score": "0.5869037", "text": "void putSVDouble(double v);", "title": "" }, { "docid": "dd57314e5ee16e07be9a0b1a8d1d5d79", "score": "0.5868882", "text": "@NativeCallable\n public void putDouble(String key, double value) {\n mMap.put(key, value);\n }", "title": "" }, { "docid": "7fa08806b21f9e29fcf2e301c8cf0e5f", "score": "0.5811141", "text": "public synchronized void setElement(int index, double value)\r\n/* 273: */ {\r\n/* 274:696 */ if (index < 0) {\r\n/* 275:697 */ throw new ArrayIndexOutOfBoundsException(index);\r\n/* 276: */ }\r\n/* 277:699 */ if (index + 1 > this.numElements) {\r\n/* 278:700 */ this.numElements = (index + 1);\r\n/* 279: */ }\r\n/* 280:702 */ if (this.startIndex + index >= this.internalArray.length) {\r\n/* 281:703 */ expandTo(this.startIndex + (index + 1));\r\n/* 282: */ }\r\n/* 283:705 */ this.internalArray[(this.startIndex + index)] = value;\r\n/* 284: */ }", "title": "" }, { "docid": "c77651970645b06ea0e2d6936c7556fb", "score": "0.5781622", "text": "public void set(long index, double value) {\n if (nonzero >= indices.length) {\n allocMore();\n }\n indices[nonzero++] = index;\n }", "title": "" }, { "docid": "c6fbd88838f1f6a83d4254be53d0bdb9", "score": "0.5748629", "text": "public double getDouble(long index)\n {\n return getDouble(index, getByteOrder());\n }", "title": "" }, { "docid": "a1a5140f6cb1bbbdf7ba7d801fc859da", "score": "0.5718195", "text": "@Override\n\t\tpublic void writeTo(org.xmlpull.v1.XmlSerializer xmlWriter) throws java.io.IOException {\n\t\t\txmlWriter.startTag(\"\", \"double\");\n\t\t\txmlWriter.attribute(\"\", \"value\", java.lang.Double.toString(fValue));\n\t\t\txmlWriter.endTag(\"\", \"double\");\n\t\t}", "title": "" }, { "docid": "1c1cb16fba8eb8383e263d9f58521e44", "score": "0.57084554", "text": "@Override\r\n\tpublic void setDouble(int row, int column, double value) {\n }", "title": "" }, { "docid": "a465bed82df58b03542ee9f041084e09", "score": "0.5694916", "text": "public double getDouble(long index, ByteOrder byteOrder)\n {\n final long bits = getLong(index, byteOrder);\n final double value = Double.longBitsToDouble(bits);\n return value;\n }", "title": "" }, { "docid": "80c68f25f78179157e93acd8cf0bb321", "score": "0.56474864", "text": "public static void putDoubleField(Object obj, long fieldOff, double val) {\n UNSAFE.putDouble(obj, fieldOff, val);\n }", "title": "" }, { "docid": "efdb16bcd8ab9e927341556d78c56a80", "score": "0.5634817", "text": "public void _write(OutputStream output) {\n output.write_double(value);\n }", "title": "" }, { "docid": "083cd5cfdbdf97941fa34aa03de732df", "score": "0.562885", "text": "void setDouble(String key, double value);", "title": "" }, { "docid": "cb1f186013bbe05d71db3f05826214d7", "score": "0.5627332", "text": "public final double getDouble(int index) {\n\t\treturn Double.longBitsToDouble(getLong(index));\n\t}", "title": "" }, { "docid": "d08f683e7f8a3d71c13e84090f831639", "score": "0.56163603", "text": "public void appendDouble(double d) {\r\n this.sb.append(d);\r\n return;\r\n }", "title": "" }, { "docid": "bdaaa20495ebcf62d9422d8549eabb47", "score": "0.5593644", "text": "public void setElemDouble(int bank, int i, double val)\n {\n setElem(bank, i, (int) val);\n }", "title": "" }, { "docid": "b646df2db7972156a57c0846fcd119e5", "score": "0.5557409", "text": "public void put(double d) throws MathLinkException;", "title": "" }, { "docid": "701513f4760aca45ceae04cceddf594b", "score": "0.554637", "text": "@Override\n public void encodeDouble(Double att) throws IllegalArgumentException, MALException {\n EncodingHelper.checkForNull(att);\n internalEncodeAttributes(Constants.DOUBLE, att.toString());\n }", "title": "" }, { "docid": "7f04c54ff99eebe55e7eacf2271e0bdc", "score": "0.5516731", "text": "void setDouble(int parameterIndex, double x) throws SQLException;", "title": "" }, { "docid": "f86a56c83f0ff20cb43340a0c4033438", "score": "0.54941046", "text": "public double getDouble(int index);", "title": "" }, { "docid": "db083a1d383cef78841e4d021091e20c", "score": "0.54847884", "text": "@Test\n public void testWriteDoubleValue() throws IOException\n {\n {\n when(reader.getDouble(column)).thenReturn(10.0);\n writer.writeDoubleValue(builder, reader, column);\n verify(builder).writeBoolean(true);\n }\n\n // write false if the round to nearest of double value is equal to 0\n {\n when(reader.getDouble(column)).thenReturn(0.5);\n writer.writeDoubleValue(builder, reader, column);\n verify(builder).writeBoolean(false);\n }\n }", "title": "" }, { "docid": "e77a0c08b95a909e73046a846666350a", "score": "0.54687166", "text": "public double setDouble(long tnIndex, double tnValue)\n {\n return getMarkerWithIndex(tnIndex).set(tnIndex, tnValue);\n }", "title": "" }, { "docid": "a5b41de5d753f08558ac8ccb94aa871b", "score": "0.5451722", "text": "@Override\n\tpublic void write(DataOutput out) throws IOException\n\t{\n\t\tout.writeShort(tag);\n\t\tout.writeInt(index);\n\t\tout.writeDouble(value);\t\t\n\t}", "title": "" }, { "docid": "310c2b13b6243d5da61c7801bfb27f46", "score": "0.54445845", "text": "public void writeDouble(double d) {\n\t\tif (!socket.isClosed() && socket.isConnected()) {\n\t\t\ttry {\n\t\t\t\toutput.writeDouble(d);\n\t\t\t\toutput.flush();\n\t\t\t} catch (Exception e) {\n\t\t\t\tAJPFLogger.warning(logname, e.getMessage());\n\t\t\t}\n\t\t} else {\n\t\t\twrite (\"error\");\n\t\t}\n\t}", "title": "" }, { "docid": "599c12ec0ed1e1616f3632c2bda14fca", "score": "0.5428441", "text": "@Override\n public void encodeNullableDouble(Double att) throws MALException {\n internalEncodeNullableAttribute(att, Constants.DOUBLE, () -> encodeDouble(att));\n }", "title": "" }, { "docid": "cd6943dba0a4ec45818d2e7745243691", "score": "0.5408245", "text": "public synchronized void addDouble(long tnIndex, double tnValue)\n {\n ArrayMarker loMarker = getMarkerWithIndex(tnIndex);\n\n if ((loMarker.m_nStartIndex + loMarker.getCapacity() >= tnIndex || loMarker.m_nEndIndex+1 >= tnIndex))\n {\n // The value can be added inside, or appended to the marker\n }\n else\n {\n // A new marker needs to be created\n ArrayMarker loNewMarker = new ArrayMarker(0, loMarker.m_nEndIndex, (int)tnIndex);\n m_oMarkers.add(loNewMarker);\n loNewMarker.add(tnValue);\n }\n }", "title": "" }, { "docid": "11a182e99adb1cbd87cefddcefb41c13", "score": "0.53662467", "text": "public void log(String key, Double value){\n try {\n if(!contains(key)){\n byte[] bytes = new byte[8];\n ByteBuffer.wrap(bytes).putDouble(value);\n\n log.put(key.getBytes(), bytes);\n }\n } catch (RocksDBException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0687955a63e2827d315053221b33d01d", "score": "0.5364582", "text": "public String setDouble(String key, double value) {\n\t\t\tif ((key = this.sanitizeKey(key)) == null)\n\t\t\t\treturn null;\n\t\t\treturn this.setValue(key, (\"\" + value));\n\t\t}", "title": "" }, { "docid": "3222fcf173c059f53f28cd45f7d589b0", "score": "0.5360756", "text": "double getDouble( int index );", "title": "" }, { "docid": "9761e7cb406fe30ef40141ff4d63137a", "score": "0.5349589", "text": "public Tuple put(String name, double value)\r\n\t{\r\n\t\tthis.insert(name, value);\r\n\t\t\r\n\t\t// add 24 bytes, 24 bytes is derived from \r\n\t\t// java.lang.instrument.Instrumentation to test \r\n\t\t// Double.MAX_VALUE (as the value will be auto-boxed\r\n\t\t// into Double) on a 64bit VM.\r\n\t\tthis.estimate_size_in_bytes += 24;\r\n\t\t\r\n\t\treturn this;\r\n\t}", "title": "" }, { "docid": "26130c200abb374a42d2884d9fc69382", "score": "0.5336989", "text": "public void write(int y, int x, double value){\r\n\t\twrite(y, x, value, 43);\r\n\t}", "title": "" }, { "docid": "604a921834ecfd038830185712add0ce", "score": "0.53136736", "text": "@Override\n public void setQuick(int index, double value) {\n elements[offset + offsets[zero + index * stride]] = value;\n }", "title": "" }, { "docid": "46758c4ba6e4bf151569815420e7a930", "score": "0.5312232", "text": "public void setValue(final int index, final double value)\n {\n this.data[index] = value;\n }", "title": "" }, { "docid": "2e56397e7a10f0ee37c235dfec8c0da4", "score": "0.52948767", "text": "private void put(long index, byte data) {\r\n \t\tif (!this.open) \r\n \t\t\tUtil.fatalError(\"Attempt to write to closed database.\");\r\n \t\ttry {\t\t\t\r\n \t\t\t/* if (index >= this.capacity) {\r\n \t\t\t\twhile(index >= this.capacity)\r\n \t\t\t\t\tthis.capacity = this.capacity << 1;\r\n \t\t\t\tthis.memoryStorage.ensureCapacity(this.capacity); }\r\n \t\t\tif (this.memoryStorage.size() <= index)\r\n \t\t\t\tthis.memoryStorage.add((int) index, data);\r\n \t\t\telse\r\n \t\t\t\tthis.memoryStorage.set((int) index, data); */\r\n \t\t\t\r\n \t\t\tif (index >= this.capacity) {\r\n \t\t\t\twhile (index >= this.capacity)\r\n \t\t\t\t\tthis.capacity = this.capacity << 2; // Grow by factor of 4\r\n \t\t\t\tbyte[] temp = this.memoryStorage;\r\n \t\t\t\tthis.memoryStorage = new byte[this.capacity];\r\n \t\t\t\tfor (int i = 0; i < temp.length; i ++) {\r\n \t\t\t\t\tthis.memoryStorage[i] = temp[i];\t}\r\n \t\t\t\ttemp = null;\r\n \t\t\t}\r\n \t\t\tthis.memoryStorage[(int) index] = data;\r\n \t\t} catch (Exception e) {\r\n \t\t\tUtil.fatalError(\"Write to DB failed.\", e);\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "ec24bce5b8dab552372e2ab5ecd4229a", "score": "0.52477896", "text": "public void updateDouble(int columnIndex, double x) throws SQLException {\n notOnARow();\n columnIndexOutOfRange(columnIndex);\n _currentRow.update(columnIndex - 1, new Double(x));\n }", "title": "" }, { "docid": "03e5a7e037eb74f42778e7daf50eb6c8", "score": "0.5245004", "text": "public static void writeDouble(PrintWriter w, double n) {\r\n if (w == null) return;\r\n\r\n try {\r\n w.println(n);\r\n } catch (Exception e) {\r\n logger.log(Level.SEVERE, \"exception\", e);\r\n }\r\n }", "title": "" }, { "docid": "d9a7a940f519ff34f18d6172f4c7ed7b", "score": "0.5220285", "text": "public void setElemDouble(int i, double val)\n {\n setElem(i, (int) val);\n }", "title": "" }, { "docid": "a42cef0809657b6b1a0bbe7a4035c81b", "score": "0.52180755", "text": "public JSONObject put(String key, double value) throws JSONException {\n/* 1730 */ return put(key, Double.valueOf(value));\n/* */ }", "title": "" }, { "docid": "917b4b66ca9967222a8fc9334592324e", "score": "0.51993245", "text": "@Nullable\n Double double_(@NotNull String key);", "title": "" }, { "docid": "44997dd885a61aa88436f86ffe444a0c", "score": "0.5195364", "text": "public void addDoubleValue(String key, double val, String comment)\n\tthrows HeaderCardException\n {\n String sval = \"\"+val;\n replaceCard(key, sval, comment);\n }", "title": "" }, { "docid": "5e8673a9ef4ba7883f2ecbdb34c8ea88", "score": "0.51855314", "text": "@Override\n\tpublic void updateDouble(String arg0, double arg1) throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "80c31c6c6bd0e68a97680e67e9f9e274", "score": "0.517082", "text": "default SmallDoubleBuffer asDoubleBuffer() {\n\t\treturn new SmallDoubleBuffer(duplicate());\n\t}", "title": "" }, { "docid": "9121c9c5cddaa009955bb5050df6bd3d", "score": "0.51643467", "text": "public void put(String key, double value) {\r\n super.put(key, new Double(value));\r\n }", "title": "" }, { "docid": "9382cf19034b7c4e83838d0669f08c5b", "score": "0.5158364", "text": "public synchronized void addElement(double value)\r\n/* 83: */ {\r\n/* 84:301 */ this.numElements += 1;\r\n/* 85:302 */ if (this.startIndex + this.numElements > this.internalArray.length) {\r\n/* 86:303 */ expand();\r\n/* 87: */ }\r\n/* 88:305 */ this.internalArray[(this.startIndex + (this.numElements - 1))] = value;\r\n/* 89:306 */ if (shouldContract()) {\r\n/* 90:307 */ contract();\r\n/* 91: */ }\r\n/* 92: */ }", "title": "" }, { "docid": "efae158bc979cd060e0d1453e16c2da6", "score": "0.5154179", "text": "@Override\n public double readDouble() {\n double d = Bits.getDouble(positionAddr);\n\n addPosition(8);\n return d;\n }", "title": "" }, { "docid": "659d62e590d3dfe0d7ca61f327e636e4", "score": "0.5144274", "text": "public java.lang.StringBuffer format(double number, java.lang.StringBuffer result, java.text.FieldPosition fieldPosition) { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "d904b9c3864a7fd87875ce65ebacd0ea", "score": "0.51442546", "text": "public StringBufferFast append(double d) {\r\n\treturn append(String.valueOf(d));\r\n }", "title": "" }, { "docid": "298d372789497c9489def5ac1ec7f15c", "score": "0.5116365", "text": "public void setElement(\n int rowIndex,\n int columnIndex,\n double value );", "title": "" }, { "docid": "95457e89511806ecdc4ea539b6d56304", "score": "0.5107393", "text": "protected void doRecordDouble(double value) {\n throw new UnsupportedOperationException(\n \"This aggregator does not support recording double values.\");\n }", "title": "" }, { "docid": "7fb6885f7092ace33b3fddb67789a4de", "score": "0.5107195", "text": "@Override\n\tpublic synchronized void addValue(String metric, double value) throws IOException {\n\t\tfinal long timeInSeconds = System.currentTimeMillis() / 1000;\n\t\tif (lastTime != timeInSeconds) {\n\t\t\tlastTimestamp = String.valueOf(timeInSeconds);\n\t\t\tlastTime = timeInSeconds;\n\t\t}\n\t\tbufferWriter.append(prefix).append(metric).append(tags).append(SEPARATOR);\n\t\tbufferWriter.append(\"value=\").append(decimalFormat.format(value)).append(SEPARATOR);\n\t\tbufferWriter.append(lastTimestamp).append('\\n');\n\t}", "title": "" }, { "docid": "3fe65fb65ff65b68fdb64d9efbc87b2d", "score": "0.5107033", "text": "double getDouble(String key, double backup);", "title": "" }, { "docid": "3fe65fb65ff65b68fdb64d9efbc87b2d", "score": "0.5107033", "text": "double getDouble(String key, double backup);", "title": "" }, { "docid": "f7d47ac9ce84bc6a474492d1c0c1812f", "score": "0.5100219", "text": "@Override\n\tpublic void setDouble(int arg0, double arg1) throws OdaException {\n\t\t\n\t}", "title": "" }, { "docid": "2c84abb91d40c984fe1a1261988509cc", "score": "0.5097796", "text": "public void setDouble(int parameterIndex, double x)\r\n throws java.sql.SQLException {\r\n wrappedStatement.setDouble(parameterIndex, x);\r\n saveQueryParamValue(parameterIndex, new Double(x));\r\n }", "title": "" }, { "docid": "11846e7f67a9376ecbc1bf2b26f8781c", "score": "0.50878495", "text": "public native boolean write(final long pAgentId, final long pObjectId,\n final int pVariable, final double pValue, final int pTime)\n throws RollbackException, SSVNotFoundException;", "title": "" }, { "docid": "647f1427b7f834758c59fbdeecd94466", "score": "0.5087054", "text": "public StringBufferFast insert(int offset, double d) {\r\n\treturn insert(offset, String.valueOf(d));\r\n }", "title": "" }, { "docid": "b4b46623a4711f913f50fcdfe4631df1", "score": "0.50801784", "text": "public void setXB(java.lang.Double value) {\n this.xB = value;\n }", "title": "" }, { "docid": "29db1c8d5ff84bcb399bea6dd8f314f9", "score": "0.5072374", "text": "public BsonDouble(final double value) {\n this.value = value;\n }", "title": "" }, { "docid": "08f56b973550f800649c0855b492b0e7", "score": "0.5061166", "text": "@Override\n public double getDouble(int pos) {\n return (double) values[pos];\n }", "title": "" }, { "docid": "51f9a21efb2f8fbace3f0e4d6a4138b2", "score": "0.5045896", "text": "@Override\n\t\tpublic void writeToParcel(android.os.Parcel parcel, int flags) {\n\t\t\tparcel.writeDouble(fValue);\n\t\t}", "title": "" }, { "docid": "f6e915aa1b7df00c943a19897e600ca0", "score": "0.50440264", "text": "@Override\n\tpublic void updateDouble(int arg0, double arg1) throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "8d3ac54be0d17d25f3b6dfccb3cb45b0", "score": "0.5041382", "text": "void setPropertyDouble(\n\t\tString schemaNS,\n\t\tString propName,\n\t\tdouble propValue,\n\t\tPropertyOptions options) throws XMPException;", "title": "" }, { "docid": "ede453ea70b0352371fe8916d090b1df", "score": "0.5022135", "text": "@Ignore\n\t@Test\n\tpublic void testWriteSpeedDouble() throws Exception\n\t{\n\t\tif (writer == null)\n\t\t\treturn;\n\n\t\tSystem.out.println(\"Write test: Adding samples to \" + name + \" for \" + TEST_DURATION_SECS + \" secs\");\n\t\tfinal WriteChannel channel = writer.getChannel(name);\n\t\tfinal INumericMetaData meta =\n\t\t\tValueFactory.createNumericMetaData(0, 10, 2, 8, 1, 10, 1, \"a.u.\");\n\n\t\tlong count = 0;\n\t\tfinal BenchmarkTimer timer = new BenchmarkTimer();\n\t\tfinal long start = System.currentTimeMillis();\n\t\tfinal long end = start + TEST_DURATION_SECS*1000L;\n\t\tdo\n\t\t{\n\t\t\t++count;\n\t\t\tfinal IValue sample = ValueFactory.createDoubleValue(TimestampFactory.now(),\n\t\t\t\tValueFactory.createOKSeverity(), \"OK\",\n\t\t\t\tmeta,\n\t\t\t\tIValue.Quality.Original,\n\t\t\t\tnew double[] { count });\n\t\t\twriter.addSample(channel, sample);\n\t\t\tif (count % FLUSH_COUNT == 0)\n\t\t\t\twriter.flush();\n\t\t}\n\t\twhile (System.currentTimeMillis() < end);\n\t\twriter.flush();\n\t\ttimer.stop();\n\n\t\tSystem.out.println(\"Wrote \" + count + \" samples in \" + timer);\n\t\tSystem.out.println(count / timer.getSeconds() + \" samples/sec\");\n\t}", "title": "" }, { "docid": "fb958ea7b50eb621f5c1f02125e85a47", "score": "0.5017924", "text": "@Override\n\tpublic void setDouble(String arg0, double arg1) throws OdaException {\n\t\t\n\t}", "title": "" }, { "docid": "dd8024fbd31a0c205e946dd5d3ae6067", "score": "0.5005475", "text": "@Override\r\n\tpublic double getDouble(final String key) {\r\n\t\treturn getDouble(key, 0.0D);\r\n\t}", "title": "" }, { "docid": "023036711a5e357881bc3e8fb774b3bd", "score": "0.5001733", "text": "public double getDouble(int index) {\r\n Json e = get(index);\r\n\r\n if (e != null) {\r\n return e.getDouble();\r\n } else {\r\n return Double.NaN;\r\n }\r\n }", "title": "" }, { "docid": "ae07f3fb4d0d6ec5634502a23800591d", "score": "0.4970321", "text": "@Override\n\tpublic void foundCellContentAsDouble(int arg0, int arg1, int arg2,\n\t\t\tdouble arg3) {\n\n\t}", "title": "" }, { "docid": "69f5b0413d2cccf861fcc3ea9a2ccf51", "score": "0.49627873", "text": "public abstract double getDouble(int attributeIndex);", "title": "" }, { "docid": "b9a6b655a1ee8b118b00f8e4f7d963de", "score": "0.49485362", "text": "public native double getValueDouble();", "title": "" }, { "docid": "4bc143242961fd584c6aaceb8dba8ca9", "score": "0.49392313", "text": "public void set_double(org.apache.axis2.databinding.types.soapencoding._double param){\n \n this.local_double=param;\n \n\n }", "title": "" }, { "docid": "1a54d4353cb7960040b8640db59a65cd", "score": "0.4922259", "text": "public double getDoubleLE(int index)\r\n/* 128: */ {\r\n/* 129: 796 */ return Double.longBitsToDouble(getLongLE(index));\r\n/* 130: */ }", "title": "" }, { "docid": "9a367d23748feaea8f5652a8b6225276", "score": "0.49193475", "text": "public void updateDouble(String columnName, double x) throws SQLException {\n int columnIndex = findColumn(columnName);\n updateDouble(columnIndex, x);\n }", "title": "" }, { "docid": "079ca16ca502c957132f899941f5c820", "score": "0.49159938", "text": "@Override\n\tpublic void set(double v) \n\t{\n\t}", "title": "" }, { "docid": "a3821930fa83845a66d822aef38040f7", "score": "0.4907452", "text": "public double getDouble(int index) throws MorseException {\n\t\t\treturn 0;\r\n\t\t}", "title": "" } ]
235f833b54ed9ec3e3d2c77577ac099c
Interface indicates a requestmessage.
[ { "docid": "2f54177ea90915fe6acec34668a4aea6", "score": "0.60453826", "text": "public interface SWTRequest extends SWTMessage {\n\n}", "title": "" } ]
[ { "docid": "50dc7d540ec71cb91828ba0e15597c97", "score": "0.6917762", "text": "public void onRequestMessage (RequestMessage msg);", "title": "" }, { "docid": "d1415a6a1a587681d741453ec8d630f2", "score": "0.6385365", "text": "int getRequestMessage();", "title": "" }, { "docid": "79404cd817fa351d5e31772599797453", "score": "0.61898285", "text": "interface Message {\n}", "title": "" }, { "docid": "c3b150464f69c6072359cffd347e7da0", "score": "0.596299", "text": "public interface IRequest {}", "title": "" }, { "docid": "d6572be2d379b4fc5a7a881a70b6949f", "score": "0.59603673", "text": "protected void doMessage(javax.servlet.sip.SipServletRequest req) throws javax.servlet.ServletException, java.io.IOException{\n \tif (req.isInitial())\n \t\t\tnotImplemented(req);\n }", "title": "" }, { "docid": "3fc2ff89b145bad801e4419235f1d00d", "score": "0.5948047", "text": "public IMsg getReq()\n {\n return m_req;\n }", "title": "" }, { "docid": "91d58252ef9cf143d837e812fb2a170f", "score": "0.58936614", "text": "public java.lang.String getRequestMessageString(){\n return localRequestMessageString;\n }", "title": "" }, { "docid": "f412641e3c662db4c73b8a88853caa84", "score": "0.5891968", "text": "public void getSpecificRequest() {\r\n\t\tSystem.out.println(\"Adaptee received request\");\r\n\t}", "title": "" }, { "docid": "c6641edb6b751c6f9d7d5afb057290e7", "score": "0.5889523", "text": "experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder();", "title": "" }, { "docid": "b1b69b08e635caca290e128fcafdb568", "score": "0.5882867", "text": "protected interface Request\n {\n }", "title": "" }, { "docid": "5f16ede6b84eacc47e1219922d587816", "score": "0.5876638", "text": "public interface MessageTypeInterface {\n /**\n * Type of the message\n */\n public enum MessageType{\n START,\n TOKEN,\n GET_WORK,\n STOP,\n WORK_TERMINATED,\n IDLE\n }\n}", "title": "" }, { "docid": "abc29665372be74182ca213a6892bd0d", "score": "0.58715856", "text": "public interface Message {\n}", "title": "" }, { "docid": "27d92cf0f79b70684cd515832ebf1e11", "score": "0.5850757", "text": "MessageType getMessageIn();", "title": "" }, { "docid": "f6b28a843ca6180e09c28d7af7fa1fc0", "score": "0.5842984", "text": "experiment.protocolgen.MsgProtocol.Request getRequest();", "title": "" }, { "docid": "8a658dd6c78f827b963e2a16b8419205", "score": "0.5829528", "text": "public MenuRequestMessage() {\n\t\tsuper(PizzaMessage.MENU_REQUEST);\n\t}", "title": "" }, { "docid": "0e5daccdf005802e792695dd4e6ba030", "score": "0.58129096", "text": "@Override\n protected void beforeRequest(HttpServletRequest request, String message) {\n }", "title": "" }, { "docid": "873d4100dcfa32bead2c6d2f25798bc6", "score": "0.5762814", "text": "public synchronized String processMessage(String request) {\n return request;\n }", "title": "" }, { "docid": "01c5bbcf8453a622d50bcff6059c70cf", "score": "0.57295364", "text": "public interface Request {\n}", "title": "" }, { "docid": "55ccc7a414a1456f0ec48cce1642ee87", "score": "0.57117546", "text": "@Override\n public Message getMessage() {\n return message;\n }", "title": "" }, { "docid": "e141caae1aa1ec0c1a28f1acf9133cf9", "score": "0.57005954", "text": "public interface Response extends Message {\n}", "title": "" }, { "docid": "5b8d29118e8ef5a690547f74590a610a", "score": "0.56844825", "text": "public experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder() {\n return request_;\n }", "title": "" }, { "docid": "4bd1d982ada75ef85aa282e87d1e252d", "score": "0.568283", "text": "public experiment.protocolgen.MsgProtocol.Request getRequest() {\n return request_;\n }", "title": "" }, { "docid": "14152c0069ac27f6f7ba3fabe3518266", "score": "0.56593823", "text": "public void setRequestMessageString(java.lang.String param){\n localRequestMessageStringTracker = true;\n \n this.localRequestMessageString=param;\n \n\n }", "title": "" }, { "docid": "a89ace58f2db34085a1a7f9c8b6b24c3", "score": "0.5655544", "text": "public String targetMessage();", "title": "" }, { "docid": "103f36451b3a390510493fa07aaba397", "score": "0.5650616", "text": "public experiment.protocolgen.MsgProtocol.RequestOrBuilder getRequestOrBuilder() {\n if (requestBuilder_ != null) {\n return requestBuilder_.getMessageOrBuilder();\n } else {\n return request_;\n }\n }", "title": "" }, { "docid": "5a0f2a4319182ade150731c3f4afb264", "score": "0.56464785", "text": "public void doMessage(SipServletRequest req) throws ServletException,\r\n\t\t\tIOException {\n\t\tCallflowRequest request = new CallflowRequest((Vector<Object>)super.getAll(),req,null,SipMethods.MESSAGE);\r\n\t\tThreadManager.instance().execute(request);\r\n\t}", "title": "" }, { "docid": "064e0e5499eb251b21b8c99d644fab91", "score": "0.5613861", "text": "public interface IsMessage {\n\t/**\n\t * Who is sending this message\n\t * @return\tThe author\n\t **/\n\tpublic String getFrom();\n\t/**\n\t * What is the subject of this message\n\t * @return\tThe subject\n\t **/\n\tpublic String getSubject();\n\t/**\n\t * Get the content of this message\n\t * @return\tThe content message\n\t **/\n\tpublic String getContent();\n}", "title": "" }, { "docid": "e852a9800390ab376b43ce65f24db9cd", "score": "0.55971223", "text": "public void onInterestedMessage (InterestedMessage msg);", "title": "" }, { "docid": "0e304c56c6d12fd654533e38db098881", "score": "0.5594442", "text": "protected void addMessageCode(HttpServletRequest request, String code)\n\t{\n\t\tsess(request).addMessageCode(code);\n\t}", "title": "" }, { "docid": "62ca547c9e5f7f56c24862d08a6e8b9a", "score": "0.55847627", "text": "public experiment.protocolgen.MsgProtocol.Request getRequest() {\n if (requestBuilder_ == null) {\n return request_;\n } else {\n return requestBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1df8dbdd80b5057515f76e2cea1b8b9b", "score": "0.5576852", "text": "public interface INaRequest {\n NaHttpType getType();\n\n void setType(NaHttpType type);\n\n String getUrl();\n\n void setUrl(String url);\n\n INaParams getParams();\n\n void setParams(INaParams params);\n\n INaHeaders getHeaders();\n\n void setHeaders(INaHeaders headers);\n\n INaCallBack getCallBack();\n\n void setCallBack(INaCallBack callBack);\n\n void setId(int id);\n\n}", "title": "" }, { "docid": "668e9ca09b72b5355023037d192650c4", "score": "0.55760926", "text": "@Override\n public String getMessage(){\n return message;\n }", "title": "" }, { "docid": "246daa835f44835c009571141bbdf6a3", "score": "0.557021", "text": "public String requestId() {\n return this.requestId;\n }", "title": "" }, { "docid": "dfb84f9f4aa339f40790ed669acec1c4", "score": "0.5527992", "text": "@Override\n\tpublic String[] getInterestedMessageTypes() {\n\t\treturn new String[] {\"ENTER_DEVILSQUARE_REQ\"};\n\t}", "title": "" }, { "docid": "4b7c7803363bec930c299db592374e72", "score": "0.55256635", "text": "public void setMessage(String message);", "title": "" }, { "docid": "4b7c7803363bec930c299db592374e72", "score": "0.55256635", "text": "public void setMessage(String message);", "title": "" }, { "docid": "cfbcb8982e8d2ffb202a46230cdbe7d7", "score": "0.5520667", "text": "Message getMsg();", "title": "" }, { "docid": "65372ef4e68f702c4e1540b3a3586ec4", "score": "0.5518648", "text": "public void setReq(IMsg req)\n {\n m_req = req;\n }", "title": "" }, { "docid": "b63a74adaee13d78004e387399e4a3f1", "score": "0.55179244", "text": "public boolean isRequest() {\n\t\treturn CodeRegistry.isRequest(code);\n\t}", "title": "" }, { "docid": "63872e6b43244b6bc469a8bdd198df8e", "score": "0.55159605", "text": "protected void addInformazione(HttpServletRequest request, String messaggio){\n\t\taddMessaggio(request,Messaggio.INFORMAZIONE,messaggio);\n\t}", "title": "" }, { "docid": "f92c846cdd34797d06fdfb0a5770c234", "score": "0.5510968", "text": "public void clientMessage(String message) {\n\t\t\n\t}", "title": "" }, { "docid": "191fafec74859812c87a26e8c1398e56", "score": "0.5505632", "text": "@Override\n\tpublic void doWhatForRequest(int what, String info) {\n\n\t}", "title": "" }, { "docid": "2ee4146c6af56d7cec1c2d5c730b734c", "score": "0.5501674", "text": "public interface IInAppMessage\n\textends IPutIntoJson\n{\n\n\tpublic abstract boolean getAnimateIn();\n\n\tpublic abstract boolean getAnimateOut();\n\n\tpublic abstract int getBackgroundColor();\n\n\tpublic abstract Bitmap getBitmap();\n\n\tpublic abstract ClickAction getClickAction();\n\n\tpublic abstract CropType getCropType();\n\n\tpublic abstract DismissType getDismissType();\n\n\tpublic abstract int getDurationInMilliseconds();\n\n\tpublic abstract long getExpirationTimestamp();\n\n\tpublic abstract Map getExtras();\n\n\tpublic abstract String getIcon();\n\n\tpublic abstract int getIconBackgroundColor();\n\n\tpublic abstract int getIconColor();\n\n\tpublic abstract boolean getImageDownloadSuccessful();\n\n\tpublic abstract String getImageUrl();\n\n\tpublic abstract String getLocalImageUrl();\n\n\tpublic abstract String getMessage();\n\n\tpublic abstract TextAlign getMessageTextAlign();\n\n\tpublic abstract int getMessageTextColor();\n\n\tpublic abstract boolean getOpenUriInWebView();\n\n\tpublic abstract Orientation getOrientation();\n\n\tpublic abstract String getRemoteAssetPathForPrefetch();\n\n\tpublic abstract String getRemoteImageUrl();\n\n\tpublic abstract Uri getUri();\n\n\tpublic abstract boolean isControl();\n\n\tpublic abstract boolean logClick();\n\n\tpublic abstract boolean logDisplayFailure(InAppMessageFailureType inappmessagefailuretype);\n\n\tpublic abstract boolean logImpression();\n\n\tpublic abstract void onAfterClosed();\n\n\tpublic abstract void setAnimateIn(boolean flag);\n\n\tpublic abstract void setAnimateOut(boolean flag);\n\n\tpublic abstract void setBackgroundColor(int i);\n\n\tpublic abstract void setBitmap(Bitmap bitmap);\n\n\tpublic abstract boolean setClickAction(ClickAction clickaction);\n\n\tpublic abstract boolean setClickAction(ClickAction clickaction, Uri uri);\n\n\tpublic abstract void setCropType(CropType croptype);\n\n\tpublic abstract void setDismissType(DismissType dismisstype);\n\n\tpublic abstract void setDurationInMilliseconds(int i);\n\n\tpublic abstract void setExpirationTimestamp(long l);\n\n\tpublic abstract void setIcon(String s);\n\n\tpublic abstract void setIconBackgroundColor(int i);\n\n\tpublic abstract void setIconColor(int i);\n\n\tpublic abstract void setImageDownloadSuccessful(boolean flag);\n\n\tpublic abstract void setImageUrl(String s);\n\n\tpublic abstract void setLocalAssetPathForPrefetch(String s);\n\n\tpublic abstract void setLocalImageUrl(String s);\n\n\tpublic abstract void setMessage(String s);\n\n\tpublic abstract void setMessageTextAlign(TextAlign textalign);\n\n\tpublic abstract void setMessageTextColor(int i);\n\n\tpublic abstract void setOpenUriInWebView(boolean flag);\n\n\tpublic abstract void setOrientation(Orientation orientation);\n\n\tpublic abstract void setRemoteImageUrl(String s);\n}", "title": "" }, { "docid": "42e25d6d7547625d4d19a716ea09a714", "score": "0.54985464", "text": "public interface MessagePrestener {\n\n}", "title": "" }, { "docid": "994015b4bc1a4ea6e54d5bdb1cde5920", "score": "0.54911333", "text": "private void onMessage(Message message) {\n if (GET_METADATA_REQ.equals(message.qualifier())) {\n onMetadataRequest(message);\n }\n }", "title": "" }, { "docid": "3774789f111f33d262a54a3c3024404e", "score": "0.5487653", "text": "@Override\r\n\tpublic String getMessage()\r\n\t{\r\n\t\treturn message;\r\n\t}", "title": "" }, { "docid": "f1a554a0329254e84712273a5672939a", "score": "0.54780096", "text": "public String getResponseMessage();", "title": "" }, { "docid": "f1a554a0329254e84712273a5672939a", "score": "0.54780096", "text": "public String getResponseMessage();", "title": "" }, { "docid": "a01619ef72b7d420e9c63c14edf9e8cc", "score": "0.54773843", "text": "public interface IResponse extends IRequest {\n \n /**\n * Creates a Response object\n * @param opType\n * @param parameter \n */\n public void createResponse(EnumOperationType opType, IParameter parameter); \n\t/**\n\t * This method returns Status of the request.\n\t * \n\t * @see IStatus\n\t * @return\n\t */\n\tpublic IStatus getStatus();\n\t\n\t/**\n\t * This method returns response id of the response.\n\t * @return\n\t \n\tpublic long getResponseID();\n\t*/\n \n\t/**\n\t * This method returns Message object for the response. \n\t * @return\n\t * \n\t * @see IMessage\n\t */\n\tpublic String getMessage();\n}", "title": "" }, { "docid": "f9d367b748398c6ef9172f20531f4973", "score": "0.5475025", "text": "public interface MessageListener extends EventListener{\n\n public void onGroupMessageReceived(RequestMessage message);\n\n public void onSingleMessageReceived(RequestMessage message);\n\n public void onCMDMessage(RequestMessage message);\n}", "title": "" }, { "docid": "e753700e2950f0437a4266612e428c65", "score": "0.5474879", "text": "@Override\n\tpublic String message() {\n\t\treturn message;\n\t}", "title": "" }, { "docid": "6ff503ea0adc9823bbd83c2c1cf9c0d5", "score": "0.5471179", "text": "public String actionMessage ();", "title": "" }, { "docid": "d99b65970018ae67fcf1e80d170e570c", "score": "0.54689103", "text": "public RpcRequestCommand() {\n super(RpcCommandCode.RPC_REQUEST);\n }", "title": "" }, { "docid": "4d4adc874d563edaad23b98413540087", "score": "0.5468725", "text": "@Override\n public String getMessage() {\n return message;\n }", "title": "" }, { "docid": "5988dc086ee08fa8377b9dbdf95c52f9", "score": "0.54659307", "text": "public interface ReceivedMessage {\n\n\tpublic Message getOriginalMessage();\n\t\n\tpublic long getTimestamp();\n\t\n\tpublic MessageStatus getStatus();\n\t\n\tpublic AppID getAppId();\n\n\tpublic String getAppName();\n\n}", "title": "" }, { "docid": "bc0d63768c9abf67e606aaad461869ed", "score": "0.5448936", "text": "public int getRequestType() {\n return requestType;\n }", "title": "" }, { "docid": "543193260ce0f2bcf059ce90cdaa07a3", "score": "0.5445334", "text": "void statusMessage(String message);", "title": "" }, { "docid": "36fb8eb22a887443213db122c57a7673", "score": "0.5438446", "text": "public interface INetworkMessage {\n\t/**\n\t * size of the job to be transferred over the network\n\t * if <= 0 the size is treated as unknown (for RECV messages).\n\t * @return\n\t */\n\tpublic long getSize();\n\n\t/**\n\t * The destination of this message (part) inside the network\n\t * @return\n\t */\n\tpublic INetworkExit getMessageTarget();\n\n\t/**\n\t * The source of this message (part)\n\t * @return\n\t */\n\tpublic INetworkEntry getMessageSource();\n}", "title": "" }, { "docid": "2e3ac23325d7876490cebfe34f2ead34", "score": "0.54370415", "text": "LocateRequestMessage_1_2(ORB paramORB) {\n/* 51 */ this.orb = paramORB;\n/* */ }", "title": "" }, { "docid": "19b46f7b67a5302ca94ac8e5b7d1ff21", "score": "0.5436484", "text": "public interface RequestStatistics {\n\n /**\n * Gets the total number of messages that have been sent on behalf of this request.\n * @return\n * the number of messages sent (number of retries plus one).\n */\n int getTotalMessagesSent();\n\n /**\n * Sets the total number of messages that have been sent on behalf of this request.\n * @param totalMessagesSent\n * the total message count for this request.\n */\n void setTotalMessagesSent(int totalMessagesSent);\n\n /**\n * Gets the index of the message that has been responded.\n * @return\n * 0 if the initial message has been responded by the command responder.\n * A value greater than zero indicates, that a retry message has been responded.\n */\n int getIndexOfMessageResponded();\n\n /**\n * Sets the index of the message that has been responded.\n * @param indexOfMessageResponded\n * the zero-based index of the message for which the response had been received.\n */\n void setIndexOfMessageResponded(int indexOfMessageResponded);\n\n /**\n * Gets the time elapsed between the sending of the message and receiving its response.\n * @return\n * the runtime of the successful request and response message pair in nanoseconds.\n */\n long getResponseRuntimeNanos();\n\n /**\n * Sets the time elapsed between the sending of the message and receiving its response.\n * @param responseRuntimeNanos\n * the runtime of the successful request and response message pair in nanoseconds.\n */\n void setResponseRuntimeNanos(long responseRuntimeNanos);\n\n}", "title": "" }, { "docid": "a64170dfccca4f67d54e373153de5457", "score": "0.54329324", "text": "public RequestToJoin getMessage() {\n return message;\n }", "title": "" }, { "docid": "34a12e7f5fe8ec6b457cb355a9f3aac1", "score": "0.5432287", "text": "@Override\n\tpublic String getMessage() {\n\t\treturn message;\n\t}", "title": "" }, { "docid": "34a12e7f5fe8ec6b457cb355a9f3aac1", "score": "0.5432287", "text": "@Override\n\tpublic String getMessage() {\n\t\treturn message;\n\t}", "title": "" }, { "docid": "34a12e7f5fe8ec6b457cb355a9f3aac1", "score": "0.5432287", "text": "@Override\n\tpublic String getMessage() {\n\t\treturn message;\n\t}", "title": "" }, { "docid": "20931e929597ce50218e0160b570a041", "score": "0.54285264", "text": "public interface RequestResponse {\n}", "title": "" }, { "docid": "d6b7a484059ef7853ec3ce9e01433360", "score": "0.54278445", "text": "@Override\n public RequestLine getRequestLine()\n {\n return this.requestLine;\n }", "title": "" }, { "docid": "4292a6407ab2bb19310f28874e70cfd3", "score": "0.5426076", "text": "@Override\n\tpublic void setMessage(String message) {\n\n\t}", "title": "" }, { "docid": "88f7fd290a2a4136ddf0e246e3786527", "score": "0.5425126", "text": "public void onRequestConfirmation(String text);", "title": "" }, { "docid": "0fec6b0321325b7984c4b11678713f8a", "score": "0.541933", "text": "public String getMessageFromOperation();", "title": "" }, { "docid": "6063b26fff964de1c7c5fed53d845b56", "score": "0.54144746", "text": "public interface NetworkReqListener {\r\n /**\r\n * This method use for process new network requests.\r\n * @param request request message\r\n * @return answer immediate answer messsage. Method may return null and an\r\n * Answer will be sent later on\r\n */\r\n Answer processRequest(Request request);\r\n}", "title": "" }, { "docid": "566e3bff16b4dfdf2410a9628dac2343", "score": "0.5411273", "text": "@Override\n protected String createMessage(HttpServletRequest request, String prefix, String suffix) {\n StringBuilder msg = new StringBuilder();\n msg.append(prefix);\n msg.append(\"uri=\").append(request.getRequestURI());\n String payload;\n\n if (this.isIncludeQueryString()) {\n payload = request.getQueryString();\n if (payload != null) {\n msg.append('?').append(payload);\n }\n }\n\n if (this.isIncludeClientInfo()) {\n payload = request.getRemoteAddr();\n if (StringUtils.hasLength(payload)) {\n msg.append(\";client=\").append(payload);\n }\n\n HttpSession session = request.getSession(false);\n if (session != null) {\n msg.append(\";session=\").append(session.getId());\n }\n\n String user = request.getRemoteUser();\n if (user != null) {\n msg.append(\";user=\").append(user);\n }\n }\n if (this.isIncludeHeaders()) {\n HttpHeaders headers = new ServletServerHttpRequest(request).getHeaders();\n String authorizationHeader = headers.getFirst(HttpHeaders.AUTHORIZATION);\n if (nonNull(authorizationHeader)) {\n int lastPointIndex = authorizationHeader.lastIndexOf(\".\");\n if (lastPointIndex != -1) {\n headers.set(HttpHeaders.AUTHORIZATION, authorizationHeader.substring(0, lastPointIndex));\n }\n }\n msg.append(\";headers=\").append(headers);\n }\n\n if (this.isIncludePayload()) {\n payload = this.getMessagePayload(request);\n if (payload != null) {\n msg.append(\";payload=\").append(payload);\n }\n }\n\n msg.append(suffix);\n return msg.toString();\n }", "title": "" }, { "docid": "a898b8e5d0e66618bee88228e2009919", "score": "0.5391003", "text": "@Override\r\n\t\tpublic boolean applies(String message) {\n\t\t\treturn message != null && message.length() > 0 && message.startsWith(IProtocolConstants.PROTOCOL);\r\n\t\t}", "title": "" }, { "docid": "f69ea10d074e44d119fbcfe1b61ea6c8", "score": "0.5388799", "text": "void incomingMessage(String message);", "title": "" }, { "docid": "92db8eff9b7eaa7479c65b21521f4d6f", "score": "0.53711337", "text": "boolean hasRequestType();", "title": "" }, { "docid": "92db8eff9b7eaa7479c65b21521f4d6f", "score": "0.53711337", "text": "boolean hasRequestType();", "title": "" }, { "docid": "53ff78f838b986005e7f052a53222dbd", "score": "0.5368779", "text": "public interface Message extends Serializable {\n\tlong getMessageID();\n\tString getMessageType();\n}", "title": "" }, { "docid": "f99a6bb04b65f0f1cf189eaf5153a7de", "score": "0.536786", "text": "public interface MessageBundle\n{\n /**\n * Message key.\n *\n * @since 1.0\n */\n @Retention(RetentionPolicy.RUNTIME)\n @Target(ElementType.METHOD)\n @Documented\n public @interface Key\n {\n String value();\n }\n\n /**\n * Default message.\n *\n * @since 1.0\n */\n @Retention(RetentionPolicy.RUNTIME)\n @Target(ElementType.METHOD)\n @Documented\n public @interface DefaultMessage\n {\n String value();\n }\n}", "title": "" }, { "docid": "9daefb980eed722625bf8d8c48ce709b", "score": "0.5363448", "text": "public String othersMessage();", "title": "" }, { "docid": "a2e567b5700ac734bf33940a6877197d", "score": "0.5361134", "text": "void info(Object message);", "title": "" }, { "docid": "75a924a920841dafe3fd429eec239668", "score": "0.53584725", "text": "@Override\npublic String getMessage() {\n\treturn \"Message AAAAA\";\n}", "title": "" }, { "docid": "bc2953181012ddc14c204c3945ec9896", "score": "0.5357226", "text": "public interface OnSendRequestListener {\n public void onSendRequest(String s);\n }", "title": "" }, { "docid": "bc2953181012ddc14c204c3945ec9896", "score": "0.5357226", "text": "public interface OnSendRequestListener {\n public void onSendRequest(String s);\n }", "title": "" }, { "docid": "4c999d9cbf6ab09c47faa31545987830", "score": "0.5351254", "text": "public interface MessageCallback {\n}", "title": "" }, { "docid": "17be02ea289ecc6b56b483c7c30911d5", "score": "0.5349251", "text": "com.maxsam.pingpong.proto.RequestInfo getStatus();", "title": "" }, { "docid": "800b8acac32ce911ef4fd6158910a7d1", "score": "0.53448933", "text": "private String sendRequestMessage(MessageType type, Object arg) throws MessageSerializationException, IOException {\n String requestId = createUniqueRequestId();\n sendRequest(new RequestMessage(handlerId, requestId, type, arg));\n return requestId;\n }", "title": "" }, { "docid": "4c84862f94932c8154f993c39ab2dfd6", "score": "0.5340373", "text": "public void onHaveMessage (HaveMessage msg);", "title": "" }, { "docid": "c9c9a660f2ead77b23f918bf428ad94b", "score": "0.53374", "text": "@Override\n\tprotected void handleUiMessage(Message msg) {\n\t\tsuper.handleUiMessage(msg);\n\t\t// 收起菊花\n\t\thideProgressDialog();\n\t\tswitch ( RequestFlag.values()[msg.what] ) {\n\t\tcase REQUEST_SUCCESS:{\n\t\t\t// 请求成功\n\t\t\tReloadData();\n\t\t}break;\n\t\tcase REQUEST_FAIL:{\n\t\t\t// 请求失败\n\t\t}break;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "02481e4f9b4747c7462438c3d1b7d972", "score": "0.5335827", "text": "public interface IRequestStat {\n void onRequestEnd();\n\n void onRequestFailed();\n\n void onRequestStart();\n\n void onRequestSucceed(boolean z);\n}", "title": "" }, { "docid": "febc1cc54fc5706143364e8075c441a9", "score": "0.5335802", "text": "public interface MessageListsRequest {\n\n void onSuccess(List<Message> list);\n void onError(List<Message> list);\n}", "title": "" }, { "docid": "9252d05d753df25bf12237d747d35648", "score": "0.5330649", "text": "public void setMessage( String message )\n {\n this.message = message;\n }", "title": "" }, { "docid": "0ada9b1ff9943303dd39f132d7e3098a", "score": "0.5327193", "text": "public interface Request\r\n extends Actionable\r\n{\r\n\r\n /**\r\n * Returns the endpoint as an URI, or null if the request is invalid.\r\n * \r\n * @return the endpoint as an Uri\r\n */\r\n @Nullable\r\n URI getUri();\r\n\r\n\r\n /**\r\n * Returns the http request uri\r\n * \r\n * @return the endpoint uri\r\n */\r\n String getEndpoint();\r\n\r\n\r\n /**\r\n * Returns the http requst payload\r\n * \r\n * @return the request payload\r\n */\r\n String getPayload();\r\n\r\n\r\n /**\r\n * Returns the request http method\r\n * \r\n * @return The request method\r\n */\r\n String getMethod();\r\n\r\n\r\n /**\r\n * Returns the request security requirement\r\n * \r\n * @return The request security\r\n */\r\n String getSecurity();\r\n\r\n\r\n /**\r\n * Returns the content mime type\r\n * \r\n * @return the type\r\n */\r\n String getContentType();\r\n\r\n\r\n /**\r\n * Encode as Base 64\r\n * \r\n * @return true if base 64 encoded\r\n */\r\n Boolean getBase64();\r\n\r\n\r\n /**\r\n * Test for {@code Request} actionability.\r\n * \r\n * @return True if {@code Request} can sent via HTTP\r\n */\r\n @Override\r\n boolean isActionable();\r\n\r\n}", "title": "" }, { "docid": "39c3c9fa2d3e41e7329a6430c66134e0", "score": "0.5319248", "text": "public void onNotInterestedMessage (NotInterestedMessage msg);", "title": "" }, { "docid": "aac8c3940276b4a9ef63ec0498f6b367", "score": "0.531905", "text": "public void setMessage(String message) {\r\n this.message=message;\r\n }", "title": "" }, { "docid": "42e0d424198d0a8cd16651349ec5eb68", "score": "0.5313582", "text": "public boolean isRequested() {\r\n\t\treturn status.equals(STATUS_REQUESTED);\r\n\t}", "title": "" }, { "docid": "e966905dd0c415e8743f9becb510ffe5", "score": "0.53126824", "text": "protected void sequence_Request(ISerializationContext context, Request semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, SimpleAgentPackage.Literals.MESSAGE__NAME) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SimpleAgentPackage.Literals.MESSAGE__NAME));\n\t\t\tif (transientValues.isValueTransient(semanticObject, SimpleAgentPackage.Literals.MESSAGE__MSG) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SimpleAgentPackage.Literals.MESSAGE__MSG));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getRequestAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());\n\t\tfeeder.accept(grammarAccess.getRequestAccess().getMsgPHeadParserRuleCall_3_0(), semanticObject.getMsg());\n\t\tfeeder.finish();\n\t}", "title": "" }, { "docid": "592640f44aac1a3491e678a04d23ed49", "score": "0.5312211", "text": "void setRequiredMessage(Localizable message);", "title": "" }, { "docid": "fe1fa81a2c7bcaec58747e22f100f4ff", "score": "0.5310527", "text": "public ParticipantRequestMAP(final ParticipantRequestMessage message) {\n this.message = message;\n }", "title": "" }, { "docid": "131d6f3f89ce8a8f2c485eaeab5b895f", "score": "0.5310406", "text": "public String getRequestType() {\n return requestType;\n }", "title": "" }, { "docid": "ba321fce4f9e6297537368d6533ad375", "score": "0.53085315", "text": "@Override\n public String getMessage() {\n return this.message.toString();\n }", "title": "" }, { "docid": "630a2f77cc108866e1881baeaa503b9e", "score": "0.5308364", "text": "public interface IRequest extends IProtocol {\n}", "title": "" } ]
0b2fe1bcb395483a18e1e61dd8b23777
Test case number: 100 /Coverage entropy=0.0
[ { "docid": "a3f2a86367bbed760b7e7e7f87b13feb", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test100() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.executeQuery((ISession) null, \"net.sourceforge.squirrel_sql.plugins.dbcopy.dbcopy\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"net.sourceforge.squirrel_sql.plugins.dbcopy.util.DBUtil\", e);\n }\n }", "title": "" } ]
[ { "docid": "d6df76b4cd9e17e2c3e4b99debdb01f6", "score": "0.7087746", "text": "@Test\n public void test16() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "0587e50e9925562c252a95f819808dbd", "score": "0.65072083", "text": "@Test(timeout = 4000)\n public void test008() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = Evaluation.MIN_SF_PROB;\n evaluation0.setDiscardPredictions(false);\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendStringToFile(evoSuiteFile0, \"setFolds\");\n CoverTree coverTree0 = new CoverTree();\n assertEquals(1.3, coverTree0.getBase(), 0.01);\n }", "title": "" }, { "docid": "1e076fed62c990d73299d563576ffae4", "score": "0.65053326", "text": "@Test(timeout = 4000)\n public void test014() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n costMatrix0.initialize();\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n evaluation0.toSummaryString(\".arff\", true);\n String string0 = evaluation0.toSummaryString(\"@data\", false);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(\"@data\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }", "title": "" }, { "docid": "000ff4e5fd4fd6cb2d75fe37a3628a8c", "score": "0.64789224", "text": "@Test\n public void levelOfEvidenceTest() {\n // TODO: test levelOfEvidence\n }", "title": "" }, { "docid": "a778a1ec3c09a8a4e9807f175bed9ab6", "score": "0.64493114", "text": "@Test(timeout = 4000)\n public void test013() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.m_SumClass;\n String string0 = evaluation0.toSummaryString();\n assertEquals(\"\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "28fc1c03589c689478e686556e2e01ff", "score": "0.64108616", "text": "@Test\n public void test28() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\"LzUl=-U!>\", true);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n }", "title": "" }, { "docid": "e18a904c7be6dd7dc3afae3e3d935dcb", "score": "0.63233227", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n textDirectoryLoader0.setRetrieval(100000);\n evaluation0.toSummaryString();\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendLineToFile(evoSuiteFile0, \"@relation\");\n CostMatrix costMatrix0 = new CostMatrix(7);\n evaluation0.recall(0);\n evaluation0.weightedMatthewsCorrelation();\n int[] intArray0 = new int[3];\n intArray0[0] = 0;\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n regressionByDiscretization0.setDeleteEmptyBins(false);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(Double.NaN, double0, 0.01);\n \n String string0 = evaluation0.toClassDetailsString();\n assertEquals(\"=== Detailed Accuracy By Class ===\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }", "title": "" }, { "docid": "928ec49755c160eca8f8e6438653dbca", "score": "0.6312664", "text": "@Test(timeout = 4000)\n public void test012() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n double double0 = evaluation0.incorrect();\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.falseNegativeRate(0);\n assertEquals(0.0, double1, 0.01);\n \n evaluation0.setPriors(instances0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "35c1c7eba9604f64cf85b3ae55305a6c", "score": "0.62797105", "text": "@Test\n public void costTest() {\n // TODO: test cost\n }", "title": "" }, { "docid": "ffdf504bca7096b6b62a4b7b51266eba", "score": "0.6251995", "text": "@Test(timeout = 4000)\n public void test010() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n evaluation0.setNumericPriorsFromBuffer();\n evaluation0.setNumericPriorsFromBuffer();\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 59;\n doubleArray0[2] = 202.6;\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 2.0);\n double double1 = evaluation0.pctUnclassified();\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(double1, double0, 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, double1, 0.01);\n }", "title": "" }, { "docid": "4be36023b9506f0fe469cbffbfb571e3", "score": "0.6249352", "text": "@Test\n public void test08() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\"zUl=-U!>\", false);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "96ec9f7aa97af13ced46aea15561aa02", "score": "0.61791307", "text": "@Test(timeout = 4000)\n public void test025() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n MockRandom mockRandom0 = new MockRandom();\n boolean[] booleanArray0 = new boolean[7];\n booleanArray0[0] = true;\n booleanArray0[1] = true;\n booleanArray0[2] = true;\n booleanArray0[3] = true;\n booleanArray0[4] = false;\n booleanArray0[5] = false;\n booleanArray0[6] = true;\n textDirectoryLoader0.getDataSet();\n instances0.resampleWithWeights((Random) mockRandom0, booleanArray0);\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.m_SumPriorEntropy;\n double double1 = evaluation0.SFMeanSchemeEntropy();\n assertEquals(Double.NaN, double1, 0.01);\n \n double double2 = evaluation0.matthewsCorrelationCoefficient(1243);\n assertEquals(0.0, double2, 0.01);\n }", "title": "" }, { "docid": "70ed22b84aebe1102b77c4bf7aacbb48", "score": "0.61735356", "text": "@Test\n public void test31() throws Throwable {\n AdditiveRegression additiveRegression0 = new AdditiveRegression();\n Capabilities capabilities0 = additiveRegression0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate(\"setOptions\");\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = evaluation0.makeDistribution(1774.70273682);\n assertArrayEquals(new double[] {1774.70273682}, doubleArray0, 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "d9ecd407f1fc3f0588c72936212d5549", "score": "0.61486095", "text": "@Test(timeout = 4000)\n public void test005() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.errorRate();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "b1272446634fa95b586bb2c5218e00c9", "score": "0.6144983", "text": "@Test\n public void testProbabilityViaConstructor() {\n }", "title": "" }, { "docid": "d16371413e002b2d8e04f3fe250eadc7", "score": "0.6113199", "text": "@Test\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFPriorEntropy();\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "6ab0176bbe6b8ad90fb6351ea883fba1", "score": "0.61123854", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.globalInfo();\n assertEquals(3, jRip0.getFolds());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "765aabea734e44b10569de16c4f71ed8", "score": "0.6112276", "text": "@Test(timeout = 4000)\n public void test024() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_CoverageStatisticsAvailable = false;\n double double0 = evaluation0.weightedMatthewsCorrelation();\n double double1 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(double1, double0, 0.01);\n \n double[] doubleArray0 = evaluation0.makeDistribution(Double.NaN);\n assertNotNull(doubleArray0);\n assertEquals(0, doubleArray0.length);\n \n GaussianProcesses gaussianProcesses0 = new GaussianProcesses();\n evaluation0.equals(gaussianProcesses0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "932939b848e4cd1297dd7ffe8d5ae4d5", "score": "0.6089984", "text": "@Test\n public void testEstimateErrorRateForBigCardinalities() {\n double stdError = (1.04 / Math.sqrt(1 << precision())) * 100;\n double maxError = Math.ceil(stdError + 3.0);\n\n IntHashSet actualCount = new IntHashSet(runLength(), -1);\n Random random = new Random();\n Histogram histogram = new Histogram(5);\n ByteBuffer bb = ByteBuffer.allocate(4);\n\n int sampleStep = 100;\n long expected;\n long actual;\n\n for (int i = 1; i <= runLength(); i++) {\n int toCount = random.nextInt();\n actualCount.add(toCount);\n\n bb.clear();\n bb.putInt(toCount);\n encoder.add(HashUtil.MurmurHash3_x64_64(bb.array(), 0, bb.array().length));\n\n if (i % sampleStep == 0) {\n expected = actualCount.size();\n actual = encoder.estimate();\n double errorPct = ((actual * 100.0) / expected) - 100;\n histogram.recordValue(Math.abs((long) (errorPct * 100)));\n }\n }\n\n double errorPerc99 = histogram.getValueAtPercentile(99) / 100.0;\n if (errorPerc99 > maxError) {\n fail(\"For P=\" + precision() + \", max error=\" + maxError + \"% expected.\"\n + \" Error: \" + errorPerc99 + \"%.\");\n }\n }", "title": "" }, { "docid": "4b9ee5074ea12292494f23641e368910", "score": "0.60475624", "text": "@Test(timeout = 4000)\n public void test43() throws Throwable {\n JRip jRip0 = new JRip();\n double[] doubleArray0 = new double[0];\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(2576.86, doubleArray0);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, (String) null);\n Attribute attribute0 = new Attribute((String) null);\n binarySparseInstance0.setValue(attribute0, (-713.7029286));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n boolean boolean0 = jRip_NominalAntd0.covers(binarySparseInstance0);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertFalse(boolean0);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n }", "title": "" }, { "docid": "7e124d4619cdf828bd97450427ec2633", "score": "0.6012665", "text": "public int getTests()\n {\n return 1; //JG\n }", "title": "" }, { "docid": "f795a86160c9c0a0d83c4a29e2a71b46", "score": "0.5998693", "text": "@Test\n public void energyUsedTest() {\n // TODO: test energyUsed\n }", "title": "" }, { "docid": "631ff8df6557cc1a8326fc7169a0fbfe", "score": "0.5972166", "text": "@Test(timeout = 4000)\n public void test01() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.enumerateMeasures();\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "45558a2f8e85852a55243c9d83489ac4", "score": "0.5963265", "text": "@Test\n public void test13() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBMeanInformation();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "4f73bccc5332eb269e5021a2a327a97f", "score": "0.5931537", "text": "@Test(timeout = 4000)\n public void test011() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Evaluation.handleCostOption(\"\", 7);\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n MockRandom mockRandom0 = new MockRandom();\n }", "title": "" }, { "docid": "c72a3e9c79744973bbe1ba4fd2f1627f", "score": "0.59212273", "text": "@Test public void calculateScore2(){\n p1.hitscount = 13;\n p1.misscount = 0;\n String score= \"250\";\n\n assertEquals(score,test.calcScore(50000,p1, false));\n }", "title": "" }, { "docid": "f5070ec68192f3af3e567cbe8b807618", "score": "0.59201723", "text": "@RepeatedTest(100)\n public void hpConsistencyWildTest() {\n hitPointsConsistencyTest(chicken);\n hitPointsConsistencyTest(seagull);\n }", "title": "" }, { "docid": "fa2896d45f38d5381aa00d0235ff545c", "score": "0.5905349", "text": "@Test\n public void test07() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toClassDetailsString(\"The first argument must be the class name of a classifier\");\n assertEquals(\"The first argument must be the class name of a classifier\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "c05768ce698fd279088bf55bcde4d165", "score": "0.5904223", "text": "public void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\n\r\n }", "title": "" }, { "docid": "da65591930d1a5692670c96825f9221e", "score": "0.58942395", "text": "@Test(timeout = 4000)\n public void test006() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n textDirectoryLoader0.setOutputFilename(true);\n CostMatrix costMatrix0 = new CostMatrix(0);\n textDirectoryLoader0.setCharSet(\"classifiersTipText\");\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0, doubleArray0.length);\n \n double double0 = evaluation0.priorEntropy();\n assertEquals(0.0, double0, 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n }", "title": "" }, { "docid": "5bcd8e581459589e2860de7f0fcebc73", "score": "0.5893196", "text": "public void onTestFailedButWithinSuccessPercentage(ITestResult result) {\n\t\n}", "title": "" }, { "docid": "0e729087a3f1bfa439624c053448a55b", "score": "0.58891314", "text": "@Test(timeout = 4000)\n public void test50() throws Throwable {\n JRip jRip0 = new JRip();\n String[] stringArray0 = jRip0.getOptions();\n jRip0.setOptions(stringArray0);\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(11, stringArray0.length);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "b61677c7be7067eeabe363bf9284a481", "score": "0.5881872", "text": "@Test\n public void victoryPointsThresholdTest() {\n // TODO: test victoryPointsThreshold\n }", "title": "" }, { "docid": "825ea4dbbb73bf07e85bbc96571ca987", "score": "0.5880432", "text": "@Test\n public void test09() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.SFMeanEntropyGain();\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "b885cb3dfbdca1004c4bd26139082e91", "score": "0.58785033", "text": "public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 65000);\n nbTC = readInt(reader);\n for (tc = 1; tc <= nbTC; ++tc) {\n result.append(oneTestCase(reader));\n result.append(\"\\n\");\n }\n System.out.print(result);\n System.out.flush();\n }", "title": "" }, { "docid": "86cb608aeed261199a7a49535035bda5", "score": "0.5873928", "text": "@Test\n public void test10() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "bec4928214a9054453d8848402de9a81", "score": "0.58668524", "text": "@Test\n public void test11() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "4766b33af139dbaacedd0b6b72cf9e7a", "score": "0.58585715", "text": "@Test(timeout = 4000)\n public void test50() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertNotNull(textDirectoryLoader0);\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n \n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"qZ+\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT <column-list>|* FROM <table> [WHERE <conditions>]\", databaseLoader0.queryTipText());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertEquals(\"\", databaseLoader0.getUser());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n \n // Undeclared exception!\n try { \n evaluation0.weightedMatthewsCorrelation();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "4bfd3ec0cbd82e5f5e1cc19e11b604ef", "score": "0.584892", "text": "@Test\n void test4() {\n int r = o.countGoodNumbers(4);\n assertEquals(400, r);\n }", "title": "" }, { "docid": "a9e10bab72bee3aadd85f54d625f4438", "score": "0.5846561", "text": "@Test\n public void test004() {\n\n //Home work\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The gift options under the first product are: \");\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "title": "" }, { "docid": "2e9d58e49cbecc5dbe2ee65daea7c0e3", "score": "0.58437675", "text": "@Test\n\tpublic void getResultsTest() \n\t{\n\t\tint test_Case1 = -20;\n\t\tint test_Case2 = 20;\n\t\t\n\t\tint test_Case3 = -21;\n\t\tint test_Case4 = 21;\n\t\t\n\t\t// if (num < 20)\n\t\tint test_Case5 = -4;\n\t\tint test_Case6 = 4;\n\t\t\n\t\tint test_Case7 = -5;\n\t\tint test_Case8 = 5;\n\t\t\n\t\tassertEquals(20, Utilities.getResults(test_Case1));\n\t\tassertEquals(20, Utilities.getResults(test_Case2));\n\t\tassertEquals(22, Utilities.getResults(test_Case3));\n\t\tassertEquals(22, Utilities.getResults(test_Case4));\n\t\tassertEquals(24, Utilities.getResults(test_Case5));\n\t\tassertEquals(24, Utilities.getResults(test_Case6));\n\t\tassertEquals(26, Utilities.getResults(test_Case7));\n\t\tassertEquals(26, Utilities.getResults(test_Case8));\n\t}", "title": "" }, { "docid": "227ee5f837f1b4cf60ea5ea3df930b5f", "score": "0.5841961", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n JRip jRip0 = new JRip();\n double double0 = jRip0.getMinNo();\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, double0, 0.01);\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "1bfa61ad671abd352f3575b7f4062cb2", "score": "0.58377254", "text": "@Test(timeout = 4000)\n public void test078() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertFalse(textDirectoryLoader0.getDebug());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertNotNull(textDirectoryLoader0);\n \n CostMatrix costMatrix0 = new CostMatrix(0);\n assertEquals(0, costMatrix0.numRows());\n assertEquals(0, costMatrix0.size());\n assertEquals(0, costMatrix0.numColumns());\n assertNotNull(costMatrix0);\n \n double double0 = Evaluation.MIN_SF_PROB;\n assertEquals(4.9E-324, double0, 0.01);\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"setFolds\");\n assertFalse(boolean0);\n \n CoverTree coverTree0 = new CoverTree();\n assertEquals(\"The distance function to use for finding neighbours (default: weka.core.EuclideanDistance). \", coverTree0.distanceFunctionTipText());\n assertEquals(0.0, coverTree0.measureNumLeaves(), 0.01);\n assertEquals(0.0, coverTree0.measureMaxDepth(), 0.01);\n assertFalse(coverTree0.getMeasurePerformance());\n assertEquals(0.0, coverTree0.measureTreeSize(), 0.01);\n assertEquals(1.3, coverTree0.getBase(), 0.01);\n assertEquals(\"The base for the expansion constant.\", coverTree0.baseTipText());\n assertEquals(\"Whether to calculate performance statistics for the NN search or not\", coverTree0.measurePerformanceTipText());\n assertNotNull(coverTree0);\n \n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertNotNull(evaluation0);\n \n double double1 = evaluation0.kappa();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(1.0, double1, 0.01);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertNotEquals(double1, double0, 0.01);\n }", "title": "" }, { "docid": "d6b19fca8aaaff886d861407acc8a480", "score": "0.58352077", "text": "public void testGetCases() {\n assertEquals(1000, r1.getCases());\n }", "title": "" }, { "docid": "6eed51adfff8ae1ec9c877be19f9d0c3", "score": "0.58295286", "text": "@Test(timeout = 4000)\n public void test020() throws Throwable {\n Logistic logistic0 = new Logistic();\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n evaluation0.setDiscardPredictions(true);\n assertTrue(evaluation0.getDiscardPredictions());\n }", "title": "" }, { "docid": "4467bc4bff2dcc7485c3f24a9bdea4bd", "score": "0.58225983", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.getRevision();\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(\"8118\", string0);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "821a4887fdac9ba5c9d502391f65d2ab", "score": "0.5819462", "text": "@Test public void calculateScore(){\n p1.hitscount = 17;\n p1.misscount = 0;\n String score= \"270\";\n\n assertEquals(score,test.calcScore(60000,p1, false));\n }", "title": "" }, { "docid": "baf4430f4ea27636c58ded0aab3cf5f9", "score": "0.58165777", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t\tint n = 1000;\r\n\t\tint d = n/1000;\r\n\t\t//test1(n,10,100,n/2,1,n); // 100%\r\n\t\ttest1(n,10,100,n/2,n/2-n/20,n/2+n/20); // 45%-55%\r\n\t\t//test2(n,1,1,n,n,1,n);\r\n\t}", "title": "" }, { "docid": "031b6f88d6e9e1c7e1d35cb2a70343bb", "score": "0.57894015", "text": "public static void main(String[] args) {\n javaai.ann.output.EquilateralEncoding.load();\n\n Random ran = new Random(0);\n\n int success = 0;\n\n for(int n=0; n < NUM_TESTS; n++) {\n // Pick a species randomly\n int actualIndex = ran.nextInt(ideals.length);\n\n // TODO:\n // 1. Get a random encoding with the actual index.\n // 2. Create a new array of activations perturbed by the tolerance divided by 100.\n // 3. Decode these perturbed activations.\n // 4. If the predicted index equals the actual index, update success count.\n // Get its encoding\n double[] encodings = ideals[actualIndex];\n\n double[] activations = new double[encodings.length];\n\n // Perturb each activation by training error tolerance\n for(int k=0; k < encodings.length; k++) {\n double epsilon = 1 + ran.nextGaussian() * TOLERANCE / 100.;\n\n activations[k] = encodings[k] * epsilon;\n }\n\n int predictedIndex = EquilateralEncoding.eq.decode(activations);\n\n String species1 = species.get(actualIndex);\n String species2 = species.get(predictedIndex);\n String outcome = species1 == species2 ? \"\" : \"MISSED!\";\n\n System.out.println(\n \"actual: \" + species1+asString(encodings) + \" \" +\n \"predicted: \"+species2+asString(activations) + \" \" +\n outcome);\n\n if(species1 == species2)\n success++;\n }\n\n double rate = (double)success / NUM_TESTS;\n\n System.out.printf(\"%d of %d or %4.2f%% tolerance = %5.2f%%\\n\",success, NUM_TESTS, rate, TOLERANCE);\n }", "title": "" }, { "docid": "c2ad9fddd739c602efa2cb6581be6bb7", "score": "0.57853466", "text": "@Test(timeout = 4000)\n public void test009() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n assertEquals(Double.NaN, double0, 0.01);\n \n evaluation0.setNumericPriorsFromBuffer();\n Evaluation evaluation1 = new Evaluation(instances0);\n double double1 = evaluation1.numInstances();\n assertEquals(0.0, double1, 0.01);\n }", "title": "" }, { "docid": "3ccd9a7d1d37774efa013e9e0eba2469", "score": "0.57832503", "text": "private double performChiTest(){\r\n\t\tdouble[] expected = getExpected();\r\n\t\tlong[] pov = getPov();\r\n\t\tdouble chiTestResult = new ChiSquareTest().chiSquareTest(expected, pov);\r\n\t\treturn chiTestResult;\r\n\t}", "title": "" }, { "docid": "03fa8eecc763846ad4b52e440f4963fe", "score": "0.5781389", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n SparseInstance sparseInstance0 = new SparseInstance(120);\n instances0.deleteWithMissingClass();\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.correct();\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.SFSchemeEntropy();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, double1, 0.01);\n }", "title": "" }, { "docid": "a50f3866d136e80efcd053a4e17ed74b", "score": "0.5779414", "text": "@Test(timeout = 4000)\n public void test016() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n String[] stringArray0 = new String[4];\n stringArray0[0] = \".cost\";\n stringArray0[1] = \".bsi\";\n stringArray0[2] = \"numBinsTipText\";\n stringArray0[3] = \".cost\";\n textDirectoryLoader0.setOptions(stringArray0);\n byte[] byteArray0 = new byte[7];\n byteArray0[0] = (byte)97;\n byteArray0[1] = (byte)97;\n byteArray0[2] = (byte)97;\n byteArray0[3] = (byte)12;\n byteArray0[4] = (byte)97;\n byteArray0[5] = (byte)70;\n byteArray0[6] = (byte)97;\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n // Undeclared exception!\n try { \n evaluation0.makeDistribution(423.28734579);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 423\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "8e9010ac1a61ef7dfa7b269facd893e6", "score": "0.5758979", "text": "@Test(timeout = 4000)\n public void test27() throws Throwable {\n JRip jRip0 = new JRip();\n Capabilities capabilities0 = jRip0.getCapabilities();\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, capabilities0.getMinimumNumberInstances());\n assertFalse(jRip0.getDebug());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "fbb082cd6e688fa891b9bd3921c5e047", "score": "0.5756892", "text": "@Test\n public void trainAndTest() {\n // train\n this.learner.train(irisData);\n // test\n int[] results = learner.test(irisData);\n double proportionCorrect = results[0] / irisData.size();\n System.out.println(proportionCorrect);\n Assert.assertTrue(proportionCorrect > 0.95);\n }", "title": "" }, { "docid": "006dbeb783c5bb77acbf52bd9fba486d", "score": "0.5752428", "text": "@Test(timeout = 4000)\n public void test35() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n boolean boolean0 = jRip_RipperRule0.covers((Instance) null);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertTrue(boolean0);\n assertEquals(2, jRip0.getOptimizations());\n }", "title": "" }, { "docid": "433bb5852f576c1e834d934f1c8d42be", "score": "0.57482404", "text": "public long getTestDataCoverage(String outDirectory) {\n\t\t/**\n\t\t * \n\t\t * TODO\n\t\t */\n\t\tFile scenarioDirectory = new File(outDirectory + ConfigApp.SCENARII);\n\t\tif (!scenarioDirectory.exists()) {\n\t\t\treturn 0;\n\t\t}\n\t\t@SuppressWarnings(\"unused\")\n\t\tScenarioData scenario = readLastScenario(scenarioDirectory);\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "1ce84876270f932f5c128633afa04df8", "score": "0.5742118", "text": "Reference getCoverage();", "title": "" }, { "docid": "03ed04a1d5f861c488badc380ac121b3", "score": "0.5740877", "text": "@Test public void calculateScore1(){\n p1.hitscount = 17;\n p1.misscount = 30;\n String score= \"340\";\n\n assertEquals(score,test.calcScore(30000,p1, false));\n }", "title": "" }, { "docid": "491895f297e06ffe900f1d76167ed1ac", "score": "0.5735229", "text": "public void DHTGetPerformanceTest() {\n long total = 0;\n\n int[] tests = { 5, 10, 15, 20, 25, 30 };\n for(int t = 50; t < 100; t++) {\n count = t;\n total = GetProfilesTest();\n long avg = total / profileRequests;\n System.out.println(avg);\n }\n }", "title": "" }, { "docid": "8b4005398128cb8b78e057b21c69e281", "score": "0.57281333", "text": "@Test\n abstract public void testCompactWithTwentySquareMeter();", "title": "" }, { "docid": "592087f54d598fe4fc54154fcfe508d6", "score": "0.572741", "text": "public static void main(String[] args) {\n\t\tHitCounter counter = new HitCounter();\n\t\tcounter.hit(1);\n\t\tcounter.hit(2);\n\t\tcounter.hit(3);\n\t\tSystem.out.println(counter.getHits(4));\n\t\tcounter.hit(300);\n\t\tSystem.out.println(counter.getHits(300));\n\t\tSystem.out.println(counter.getHits(301));\n\t\t\n\t}", "title": "" }, { "docid": "69591b5d309759c7ac5b78133a3adcd5", "score": "0.5719286", "text": "@Test\n\tpublic void test5bestSeq() {\n\t}", "title": "" }, { "docid": "5f58a61367639bc3aa18f5239681f98f", "score": "0.57074434", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tnew Controller();\r\n\t\t\r\n/*\t\t\r\n\t\tint testInputCount = 900;\r\n\t\t\r\n\t\tdouble testNetSum = 600;\r\n\t\t\r\n\t\tdouble scaleFactor = 1/new Double(testInputCount); \r\n\t\t\r\n\t\tdouble result = Utils.logisticFunction(testNetSum*scaleFactor);\r\n\t\t\r\n\t\tSystem.out.println(result);\r\n*/\r\n\t}", "title": "" }, { "docid": "2a8f65b8bcdff88b4b6df64997076995", "score": "0.5705013", "text": "@Override\n\tvoid test() {\n\t\tClassificationResult result;\n\t\tList<Feature> features;\n\t\tint successes = 0;\n\t\tint failures = 0;\n\t\tfor (Entry<String, List<List <String>>> cat : testData.entrySet()) { // loop through test data\n\t\t\tfor (List<String> item : cat.getValue()) {\n\t\t\t\tfeatures = extractor.extractFeatures(item);\n\t\t\t\tresult = getClassifier().classify(features); \n\t\t\t\tif (result.getCategory().equals(cat.getKey())) { // check if classification is correct\t\n\t\t\t\t\tif (GlobalConfig.DEBUG)\n\t\t\t\t\t\tSystem.out.println(\"Succeeded for category \" + cat.getKey());\n\t\t\t\t\tregisterSuccess(cat.getKey());\n\t\t\t\t\tsuccesses++;\n\t\t\t\t} else {\n\t\t\t\t\tif (GlobalConfig.DEBUG) {\n\t\t\t\t\t\tSystem.out.println(\"Failed for category: \" + cat.getKey());\n\t\t\t\t\t\tprintWriter.println(\"Category \" + cat.getKey() + \" \" + Utilities.detokenize(item));\n\t\t\t\t\t}\n\t\t\t\t\tregisterFailure(cat.getKey());\n\t\t\t\t\tfailures++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprintWriter.close();\n\t\treport += (\"Successes: \" + successes + \" Failures: \" + failures);\n\t\tdouble percentage = (double) successes / ((double) successes + failures);\n\t\treport += (\" Percentage: \" + percentage * 100);\t\n\t\tsetSuccessRate(percentage);\n\t\t// Print individual success rates\n\t\tif (categories != null) {\n\t\t\tint failure;\n\t\t\tint success;\n\t\t\tdouble rate;\n\t\t\tfor (String category : getCategories()) {\n\t\t\t\tif (failureForCategory.get(category) != null) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfailure = failureForCategory.get(category);\n\t\t\t\t\t\tsuccess = successesForCategory.get(category);\n\t\t\t\t\t\trate = (double) success / ((double) success + failure);\n\t\t\t\t\t\treport += \"\\n\";\n\t\t\t\t\t\treport += \"Success rate for \" + category + \": \" + rate + \"\\n\";\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\treport += \"\\n Error printing result for category \" + category;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*\n\t\t * Unload data\n\t\t */\n\t\ttestData = trainingData = null;\n\t\textractor = null;\n\t\tdictionary = null;\n\t}", "title": "" }, { "docid": "1162289c1b1d1522ca365b6913602248", "score": "0.57048535", "text": "@Test\n\tpublic void testGetCoverageZero() {\n\t\t// Setup\n\t\tList<Line> lines = new ArrayList<Line>();\n\t\tlines.add(new Line(\"3\", \"3\", \"dog.java\"));\n\t\tlines.add(new Line(\"2\", \"55\", \"dog.java\"));\n\t\tChange change = new Change(null, null, null, null, lines);\n\n\t\tList<String> types = new ArrayList<String>();\n\t\ttypes.add(\"java\");\n\t\t\n\t\t// Exercise\n\t\tdouble diff = change.getCoverage(types);\n\t\t\n\t\t// Verify\n\t\tassertEquals(0, diff, 0.1);\n\t}", "title": "" }, { "docid": "449c59c01c664e4fd59bf0ac56e5448b", "score": "0.5703529", "text": "@Test\n public void codeCoverage() {\n Assert.assertEquals(\"123\", node.toString());\n }", "title": "" }, { "docid": "c2dfc45070722d3e6179b84bfbb28281", "score": "0.570271", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n LinkedList<SGD> linkedList0 = new LinkedList<SGD>();\n SGD sGD0 = new SGD();\n FileSystemHandling.shouldAllThrowIOExceptions();\n instances0.removeAll(linkedList0);\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[1];\n textDirectoryLoader0.getDataSet();\n doubleArray0[0] = (double) 0;\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n databaseLoader0.getNextInstance(instances0);\n Evaluation evaluation1 = new Evaluation(instances0);\n String string0 = evaluation0.toClassDetailsString(\":\\n\\n\");\n assertEquals(\":\\n\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n \n double double0 = evaluation1.avgCost();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n }", "title": "" }, { "docid": "31e13c60656034e753cb3db66754f8ea", "score": "0.57017815", "text": "@Test\n abstract public void testIdealWithFifteenSquareMeter();", "title": "" }, { "docid": "2dc64acab6c4a5c94d5389928a4e65dc", "score": "0.5691225", "text": "@Test(timeout = 4000)\n public void test45() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"5.\", (-1514));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n SparseInstance sparseInstance0 = new SparseInstance(0);\n boolean boolean0 = jRip_NominalAntd0.covers(sparseInstance0);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertTrue(boolean0);\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n }", "title": "" }, { "docid": "d8635af511911150f5178cf33e161231", "score": "0.5687611", "text": "@Test\n public void rateMeasuredInTest() {\n // TODO: test rateMeasuredIn\n }", "title": "" }, { "docid": "ea1f91bf59491d0215757d6ab7f238ff", "score": "0.5681729", "text": "@Test\n void test5() {\n int r = o.countGoodNumbers(50);\n assertEquals(564908303, r);\n }", "title": "" }, { "docid": "2e56ef0b5a3eea1c6c26b6b977f7e60b", "score": "0.5679079", "text": "@Test\n public void testGetSelfRegulatedLearningHourCount() {\n System.out.println(\"getSelfRegulatedLearningHourCount\");\n float expResult = createdModule.getSelfRegulatedLearningHourCount();\n float result = importedModule.getSelfRegulatedLearningHourCount();\n assertEquals(expResult, result, 0.0);\n }", "title": "" }, { "docid": "17016ee4daeb09fb8c6cd5bdcd26141a", "score": "0.5675644", "text": "@Test\n public void bandwidthUsedTest() {\n // TODO: test bandwidthUsed\n }", "title": "" }, { "docid": "3e6dcfacd1a9a7eddc0aad1bf9568ecf", "score": "0.56692606", "text": "@Test(timeout = 4000)\n public void test100() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertNotNull(textDirectoryLoader0);\n \n SMOreg sMOreg0 = new SMOreg();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertNotNull(sMOreg0);\n \n Capabilities capabilities0 = sMOreg0.getCapabilities();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertNotNull(capabilities0);\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(3, instances0.numAttributes());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(3, instances0.numAttributes());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertNotNull(evaluation0);\n \n String string0 = instances0.getRevision();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"9186\", string0);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(3, instances0.numAttributes());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.numClasses());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertNotNull(string0);\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\n assertEquals(\"The serialized classifier model to use for predictions.\", serializedClassifier0.modelFileTipText());\n assertEquals(\"A wrapper around a serialized classifier model. This classifier loads a serialized models and uses it to make predictions.\\n\\nWarning: since the serialized model doesn't get changed, cross-validation cannot bet used with this classifier.\", serializedClassifier0.globalInfo());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", serializedClassifier0.debugTipText());\n assertFalse(serializedClassifier0.getDebug());\n assertNotNull(serializedClassifier0);\n \n MockRandom mockRandom0 = new MockRandom();\n assertNotNull(mockRandom0);\n \n try { \n evaluation0.crossValidateModel((Classifier) sMOreg0, instances0, 2, (Random) mockRandom0, (Object[]) testInstances0.DEFAULT_WORDS);\n fail(\"Expecting exception: ClassCastException\");\n \n } catch(ClassCastException e) {\n //\n // java.lang.String cannot be cast to weka.classifiers.evaluation.output.prediction.AbstractOutput\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "085e8650cd2e6a5dc0891a9809558102", "score": "0.5664636", "text": "@Test\r\n\tpublic void test() {\r\n\t\tLesson10_CountFactors l = new Lesson10_CountFactors();\r\n\t\ttry {\r\n\t\t\tassertEquals(l.solution(24),8);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\r\n\t}", "title": "" }, { "docid": "aec16615fb5a7e10d588b02bd85ffef5", "score": "0.56583494", "text": "int getTestExecutionsCount();", "title": "" }, { "docid": "06024bd3b31c933de8eb76d9487a3cc7", "score": "0.5655141", "text": "@Test(timeout = 4000)\n public void test61() throws Throwable {\n Attribute attribute0 = new Attribute(\"\", \"\");\n attribute0.copy((String) null);\n byte[] byteArray0 = new byte[9];\n byteArray0[0] = (byte)93;\n byteArray0[1] = (byte)6;\n byteArray0[2] = (byte)59;\n byteArray0[3] = (byte) (-37);\n byteArray0[4] = (byte)16;\n byteArray0[5] = (byte)97;\n byteArray0[6] = (byte) (-54);\n byteArray0[7] = (byte) (-4);\n byteArray0[8] = (byte) (-47);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n attribute0.copy(\"@end\");\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"integer\", arrayList0, 2);\n Instances instances1 = new Instances(instances0, 0, 0);\n Instances instances2 = new Instances(instances1);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \".bsi\");\n JRip jRip0 = new JRip();\n jRip0.setUsePruning(false);\n try { \n jRip0.rulesetForOneClass(0, instances0, 2, 1);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Class index is negative (not set)!\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "2dc9062cea3836763d442bc08eaa8e83", "score": "0.5651052", "text": "public int countByTestUnitNumber(long number);", "title": "" }, { "docid": "74a1ec398c11b8c9b8666539e6c0447a", "score": "0.56498945", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n String string0 = jRip_NumericAntd0.getRevision();\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(\"8118\", string0);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n }", "title": "" }, { "docid": "5b5fc87d98c006736c0d89f99a9df6cf", "score": "0.5647929", "text": "@Test(timeout = 4000)\n public void test069() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\n resultMatrixHTML0.listOptions();\n resultMatrixCSV0.assign(resultMatrixHTML0);\n resultMatrixCSV0.doubleToString(0, 0);\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixCSV0);\n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(46, 12);\n resultMatrixSignificance2.getVisibleColCount();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 0);\n resultMatrixLatex0.toStringKey();\n resultMatrixLatex0.setRowName(2, \"v\");\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(123, 1076);\n }", "title": "" }, { "docid": "badc7c9e9d9e3fa5dca576d6790c043b", "score": "0.5647136", "text": "@Test(timeout = 4000)\n public void test49() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"+HgP:6|49H\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT <column-list>|* FROM <table> [WHERE <conditions>]\", databaseLoader0.queryTipText());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"\", databaseLoader0.getUser());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n \n evaluation0.m_NoPriors = true;\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double double0 = evaluation0.weightedMatthewsCorrelation();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double double1 = evaluation0.relativeAbsoluteError();\n assertEquals(double1, double0, 0.01);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double1, 0.01);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n }", "title": "" }, { "docid": "93dbdea5907550894336d0c737aae7da", "score": "0.56432337", "text": "@Override\r\n\tpublic int getTotalCases() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "daf2f93fcf30bfc75a829efb7413b259", "score": "0.56386167", "text": "@Test(timeout = 4000)\n public void test41() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"\");\n JRip jRip1 = new JRip();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n Attribute attribute0 = new Attribute(\"weka.classifiers.rules.JRip$RipperRule\", linkedList0, 71);\n Attribute attribute1 = attribute0.copy(\"weka.classifiers.rules.JRip$RipperRule\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n JRip.NominalAntd jRip_NominalAntd1 = jRip0.new NominalAntd(attribute1);\n jRip_NominalAntd0.getAccuRate();\n double[] doubleArray0 = new double[2];\n doubleArray0[0] = 20.0;\n doubleArray0[1] = 2325.50591;\n }", "title": "" }, { "docid": "c12e63e41a33a7041f575d50b71b6d98", "score": "0.5638004", "text": "@Test\r\npublic void test1()\r\n{\n\tReporter.log(\"qspiders\");\r\n\tReporter.log(\"jspiders\",true);\r\n\tReporter.log(\"tspiders\",false);\r\n}", "title": "" }, { "docid": "fa00c0d155d7c9a7180f5df713434a4c", "score": "0.56342375", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = 1732.955775904258;\n doubleArray0[1] = 1732.955775904258;\n doubleArray0[2] = 1732.955775904258;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1732.955775904258, doubleArray0);\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, (String) null);\n binarySparseInstance0.setMissing(attribute0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.value = 1.0;\n jRip_NumericAntd0.accuRate = (double) 2;\n jRip_NumericAntd0.covers(binarySparseInstance0);\n System.setCurrentTimeMillis(1);\n Random.setNextRandom(2);\n }", "title": "" }, { "docid": "c091f9a154640d44eeea3a78039fb679", "score": "0.562649", "text": "@Test\n void test3() {\n int r = o.countGoodNumbers(3);\n assertEquals(100, r);\n }", "title": "" }, { "docid": "62c5f19437b138808d3152888d3e8b17", "score": "0.5625364", "text": "@Test\n public void testCalculCirculationGlobal() {\n \n }", "title": "" }, { "docid": "31673d069ae8db06cb0fa634a22efcc1", "score": "0.56237465", "text": "@Test\n public void affinityTest() {\n // TODO: test affinity\n }", "title": "" }, { "docid": "5b99e3b6a6d755974dce8cae6e42773d", "score": "0.56209886", "text": "@Test\n public void testGetFollowersCount() {\n System.out.println(\"getFollowersCount\");\n EncodeChromosome instance = new EncodeChromosome();\n instance.setFollowersCount(150);\n int expResult = 2;\n int result = instance.getFollowersCount();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "562ddf750d72ab5170622e5cb85180ba", "score": "0.56188715", "text": "public void doTest(){\r\n\r\n\t\tint draws;\r\n\t\tint effectiveSamples;\r\n\t\t\r\n\t\tif(!dataReady){\t\t\r\n\t\t\tSystem.out.println(\"Data is not ready\");\r\n\t\t\treturn;\t\r\n\t\t}\r\n\t\t\r\n\t\t//compute K statistics\r\n\t\t\t\t\r\n\t\tK=0;\r\n\t\tK2=0;\r\n\t\tdraws=0;\r\n\t\t\r\n\t\tfor(int i=0;i<sequence.size();i++){\r\n\t\t\tif(sequence.get(i)>0){\r\n\t\t\t\tK++;\r\n\t\t\t}\r\n\t\t\tif(sequence.get(i)<0){\r\n\t\t\t\tK2++;\r\n\t\t\t}\r\n\t\t\tif(sequence.get(i)==0){\r\n\t\t\t\tdraws++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\t\t\r\n\t\t//compute p-values\r\n\t\t\r\n\t\teffectiveSamples=sequence.size()-draws;\r\n\t\tbinomial.setN(effectiveSamples);\r\n\t\t\r\n\t\texactLeftTail=binomial.computeCumulativeProbability(effectiveSamples-K2);\r\n\t\texactRightTail=binomial.computeCumulativeProbability(effectiveSamples-K);\r\n\t\texactDoubleTail=Math.min(Math.min(exactLeftTail,exactRightTail)*2.0,1.0);\r\n\t\t\t\t\t\t\t\r\n\t\t//asymptotic p-values\r\n\t\tdouble numerator, denominator;\r\n\t\t\r\n\t\tdenominator=0.5*Math.sqrt(effectiveSamples);\r\n\t\t\r\n\t\tnumerator=((double)K-(0.5*effectiveSamples)+0.5);\r\n\r\n\t\tasymptoticLeftTail=normal.getTipifiedProbability(numerator/denominator, false);\r\n\r\n\t\tnumerator=((double)K-(0.5*effectiveSamples)-0.5);\r\n\t\tasymptoticRightTail=1.0-normal.getTipifiedProbability(numerator/denominator, false);\r\n\t\t\r\n\t\tasymptoticDoubleTail=Math.min(Math.min(asymptoticLeftTail,asymptoticRightTail)*2.0,1.0);\r\n\t\t\r\n\t\tperformed=true;\r\n\r\n\t}", "title": "" }, { "docid": "f96a0aaab37d7488bc445516b8d55c55", "score": "0.56162006", "text": "@Test\n public void test21() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "1980a097b8ee60cb94fb0fb44d6dd41c", "score": "0.5613143", "text": "@Test\n public void test26() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toMatrixString();\n assertEquals(\"=== Confusion Matrix ===\\n\\n <-- classified as\\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "f05d20bbcc0261c170c2ffa44521c16f", "score": "0.5611014", "text": "@Test\n public void test14() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBRelativeInformation();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "c46c59123bc851d8874cac39c9f41b4f", "score": "0.56094927", "text": "@Test\n public void testGetFinal_weight_res() {\n Assert.assertEquals(18.02, value);\n// Assert.assertEquals(66, value1);\n// Assert.assertEquals(207, value2);\n// Assert.assertEquals(18, value3);\n }", "title": "" }, { "docid": "c02f6b09a9799aa3010856ee1aba676a", "score": "0.56008893", "text": "@Test(timeout = 4000)\n public void test021() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n SMOreg sMOreg0 = new SMOreg();\n Capabilities capabilities0 = sMOreg0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n Evaluation evaluation0 = new Evaluation(instances0);\n instances0.getRevision();\n Object object0 = new Object();\n try { \n evaluation0.toClassDetailsString();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Evaluation: No per class statistics possible!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "9446f64c341ab2cbca25c00f34df7e75", "score": "0.5576509", "text": "public static void main(String args[]) {\n double death_distribution = 6.00d / 100;\n double life_distribuion = 1d - death_distribution;\n\n DistributedRandomNumberGenerator drng = new DistributedRandomNumberGenerator();\n // 1 is dead\n // 0 is live\n drng.addNumber(1, death_distribution);\n drng.addNumber(0, life_distribuion);\n\n int testCount = 100000;\n\n HashMap<Integer, Double> test = new HashMap<>();\n\n for (int i = 0; i < testCount; i++) {\n int random = drng.getDistributedRandomNumber();\n test.put(random, (test.get(random) == null) ? (1d / testCount) : test.get(random) + 1d / testCount);\n }\n\n System.out.println(test.toString());\n\n System.out.println(\"Did person die? \" + ((drng.getDistributedRandomNumber() == 0) ? \"No\" : \"Yes\"));\n\n }", "title": "" }, { "docid": "293f8d9a55f52edacf64c35f2477df57", "score": "0.5573502", "text": "@Test(timeout = 4000)\n public void test43() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"+HgP:6|49H\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT <column-list>|* FROM <table> [WHERE <conditions>]\", databaseLoader0.queryTipText());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"\", databaseLoader0.getUser());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n double double0 = evaluation0.rootRelativeSquaredError();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n evaluation0.addNumericTrainClass((-3405.506471419351), (-1));\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n try { \n evaluation0.correlationCoefficient();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute correlation coefficient: class is nominal!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "f6d1b54cd64031ab613eb9130995cc9d", "score": "0.5573474", "text": "@Test(timeout = 4000)\n public void test29() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setFolds(3322);\n Random.setNextRandom(1733);\n }", "title": "" }, { "docid": "d523fa0587ed0fe4772747b427902029", "score": "0.55699784", "text": "@Test\n public void codeCoverage() {\n Node node = Node.of(id, cost);\n assertEquals(\"123\", node.getID());\n assertEquals(Cost.ZERO, node.getNodeCost());\n }", "title": "" }, { "docid": "d490d0235c7b4b9a663378a469ec1ced", "score": "0.5567871", "text": "@Override\n\tpublic void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\n\t\t\n\t}", "title": "" } ]
321fc5dc242af2c8b896a7c4f12d73de
Delete the account identified by accountId
[ { "docid": "5b9376c8a175608ab07837cc8e040575", "score": "0.8279193", "text": "public void delete(String accountId) {\n Session session = this.currentSession();\n session.delete(get(accountId));\n session.getTransaction().commit();\n }", "title": "" } ]
[ { "docid": "c819b7f7495f08da11d334f6dd8c6a12", "score": "0.77448964", "text": "public void deleteAccountSync(long accountId, Context context) {\n try {\n mLegacyControllerMap.remove(accountId);\n // Get the account URI.\n final Account account = Account.restoreAccountWithId(context, accountId);\n if (account == null) {\n return; // Already deleted?\n }\n\n // Delete account data, attachments, PIM data, etc.\n deleteSyncedDataSync(accountId);\n\n // Now delete the account itself\n Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);\n context.getContentResolver().delete(uri, null, null);\n\n // For unit tests, don't run backup, security, and ui pieces.\n if (mInUnitTests) {\n return;\n }\n\n // Clean up\n AccountBackupRestore.backup(context);\n SecurityPolicy.getInstance(context).reducePolicies();\n Email.setServicesEnabledSync(context);\n Email.setNotifyUiAccountsChanged(true);\n MailService.actionReschedule(context);\n } catch (Exception e) {\n Log.w(Logging.LOG_TAG, \"Exception while deleting account\", e);\n }\n }", "title": "" }, { "docid": "8ff489c50fa8e23614d55bc2a88b21e6", "score": "0.761551", "text": "public void removeAccount(String accountId) \r\n throws RemoteException, AccountNotFoundException, \r\n InvalidParameterException;", "title": "" }, { "docid": "1d9cff4bf7e287c34925cf899ae36a77", "score": "0.73617643", "text": "public void deleteAccount(long acc_id) {\n\t\taccountRepository.deleteById(acc_id);\r\n\t}", "title": "" }, { "docid": "486876a3fe1eede2e09808e86cd4825d", "score": "0.73199654", "text": "@Override\r\n\tpublic void delete(Account account) {\n\t\taccRep.delete(account);\r\n\t}", "title": "" }, { "docid": "c59d0d5c821791cc072f8449357a8228", "score": "0.7062954", "text": "protected abstract void deleteAccount(Account ac);", "title": "" }, { "docid": "13289738f53e25c6a523c65183aff019", "score": "0.6935854", "text": "private void deleteAccount() {\n CategoryNode node =\n (CategoryNode) navigationTree\n .getSelectionPath()\n .getLastPathComponent();\n Account account = (Account) node.getUserObject();\n session.getCategories().removeNodeFromParent(account.getCategoryNode());\n session.getAccounts().removeElement(account);\n navigator.removeNodeFromParent(node);\n session.modified();\n }", "title": "" }, { "docid": "0023d6a5a8d066487eca029dca4ac97c", "score": "0.69339424", "text": "public boolean deletedAccount(int accountId) {\n\n\t\tboolean deleted = false;\n\n\t\ttry {\n\t\t\tdeleted = accountMapper.deleteAccount(accountId);\n\n\t\t} catch (Exception e) {\n\t\t\t\n\t\t\te.printStackTrace(ExceptionWriter.getStream());\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn deleted;\n\t}", "title": "" }, { "docid": "285a996c82e0675c60a53229a2134439", "score": "0.69331694", "text": "@Override\n\tpublic void deleteAccountById(Long accountNumber) {\n\t\taccountRepository.deleteById(accountNumber);\t}", "title": "" }, { "docid": "a9301e09e0f5292d83bb421f3b9c0d18", "score": "0.6928822", "text": "@Transactional\n public void removeAccount(AccountDTO account) {\n this.dao.delete(account);\n }", "title": "" }, { "docid": "b339be0e14bbbc1b9f852db01ddcce3e", "score": "0.6900874", "text": "public void deleteAccount(\n com.google.analytics.admin.v1beta.DeleteAccountRequest request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {\n io.grpc.stub.ClientCalls.asyncUnaryCall(\n getChannel().newCall(getDeleteAccountMethod(), getCallOptions()),\n request,\n responseObserver);\n }", "title": "" }, { "docid": "4c8523fc75d657fa1866209791cbb7ec", "score": "0.67758745", "text": "public abstract AccountListPage deleteAnAccount();", "title": "" }, { "docid": "9d621791656e66eef79a78217530c592", "score": "0.67650455", "text": "public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>\n deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request);\n }", "title": "" }, { "docid": "9b3f78170cbb498ca88719b1cb7ff62b", "score": "0.6615928", "text": "public static int deleteAccount(int id) {\n\t\treturn Dao.deleteLine(\"Account\", id);\n\t}", "title": "" }, { "docid": "6ba0cdabbdd8c04e176b8b4a37f421fa", "score": "0.6609844", "text": "@Override\n\tpublic void deleteById(long accno) {\n\t\t accountRepository.deleteById(accno);\n\t\t\n\t}", "title": "" }, { "docid": "022005093996e783ceb51102e1ee1466", "score": "0.6523349", "text": "void deleteAccount(byte[] address);", "title": "" }, { "docid": "7df9250868355a5cc419522896003bf4", "score": "0.6517967", "text": "public com.google.protobuf.Empty deleteAccount(\n com.google.analytics.admin.v1beta.DeleteAccountRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getDeleteAccountMethod(), getCallOptions(), request);\n }", "title": "" }, { "docid": "0e081070b62f9a1b1fc35868ea059459", "score": "0.6470906", "text": "@Override\r\n\tpublic boolean deleteAccount(String account_num, Connection conn) throws Exception {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "318f21f881921a2c4a37e0b1ed42fd57", "score": "0.6469257", "text": "@Override\n\tpublic boolean deleteAccount(long accountNumber) {\n\t\treturn accountDAO.deleteAccount(accountNumber);\n\t}", "title": "" }, { "docid": "9afa71d4ae8b2e361e0172d7649db193", "score": "0.6468809", "text": "public void setAccountId(java.lang.String accountId) {\n this.accountId = accountId;\n }", "title": "" }, { "docid": "228b79ca1182784b3e2426d65cdaf4f6", "score": "0.64575785", "text": "default void deleteAccount(\n com.google.analytics.admin.v1beta.DeleteAccountRequest request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(\n getDeleteAccountMethod(), responseObserver);\n }", "title": "" }, { "docid": "97f2698096dc4c79cdcc81962345d7e4", "score": "0.6456678", "text": "int deleteByPrimaryKey(String accountRoleId);", "title": "" }, { "docid": "29a05fa89e6b02590899285ff960fbc0", "score": "0.6376164", "text": "public void setAccountId(String accountId) {\n this.accountId = accountId;\n }", "title": "" }, { "docid": "29a05fa89e6b02590899285ff960fbc0", "score": "0.6376164", "text": "public void setAccountId(String accountId) {\n this.accountId = accountId;\n }", "title": "" }, { "docid": "b4b0be5fdfb92fd27da7efafba508c9f", "score": "0.6352149", "text": "public void removeParticipant(Account account) {\n participants.remove(account);\n }", "title": "" }, { "docid": "e0e2cec25814c7387dd33bd0b44ff468", "score": "0.6350596", "text": "public void remove(Account account) {\n \tchildAccounts.remove(account);\n }", "title": "" }, { "docid": "bd059c3f4e1a1d82938ef198ef6fe107", "score": "0.63419086", "text": "@Override\r\n\tpublic boolean delete(Account account) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "7aba8f63310b5420868965de7f411f45", "score": "0.6285141", "text": "@DeleteMapping(\"/vendor-accounts/{id}\")\n @Timed\n public ResponseEntity<Void> deleteVendorAccount(@PathVariable Long id) {\n log.debug(\"REST request to delete VendorAccount : {}\", id);\n\n vendorAccountRepository.deleteById(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "title": "" }, { "docid": "47eea05731d9ff76eec245cfd020858c", "score": "0.6280869", "text": "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete UserAccount : {}\", id); userAccountRepository.deleteById(id);\n }", "title": "" }, { "docid": "3b9856eff1521189ccdf4240edfc559a", "score": "0.6268564", "text": "@Override\r\n\tpublic boolean deleteAccount(Account ob) {\n\t\taccmap.remove(ob);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "2f7e35d5f98c79ad24dbd5e78274fa60", "score": "0.61649525", "text": "@Override\r\n\tpublic void deleteAccount(Users user) {\n\r\n\t}", "title": "" }, { "docid": "1730d53a32a76da7f61bf7de39433d8f", "score": "0.610243", "text": "public final void removeAccount() throws InterruptedException {\n \n lnkAccountChooser.get(0).click();\n lnkRemoveAccount.click();\n lnkSelectAccount.click();\n lnkRemoveAccount.click();\n }", "title": "" }, { "docid": "f0751bcbdd4a19938452cee1ffcf484f", "score": "0.6073851", "text": "@Override\n\tpublic int deleteUser(String accountID) {\n\t\treturn userDao.deleteUser(accountID);\n\t}", "title": "" }, { "docid": "36b7d2f9bdaa1f6e51d40b6e64c02f5d", "score": "0.6039708", "text": "private void deleteAccount() {\r\n UserServiceAsync userServiceAsync = GWT.create(UserService.class);\r\n AsyncCallback<String> asyncCallback = new AsyncCallback<String>() {\r\n \r\n public void onSuccess(String result) {\r\n if (result != null) {\r\n if (result.equals(User.USER_INVALID)) {\r\n System.out.println(\"Unsuccessfully deleted\"); \r\n }\r\n if (result.equals(String.valueOf(User.OK))) {\r\n System.out.println(\"Successfully deleted\");\r\n }\r\n History.newItem(\"welcome\");\r\n History.newItem(\"logout\");\r\n }\r\n }\r\n \r\n public void onFailure(Throwable caught) {\r\n System.out.println(caught);\r\n }\r\n };\r\n \r\n userServiceAsync.delete(user, asyncCallback);\r\n }", "title": "" }, { "docid": "d782a81a8e0a126fd5fd96fb6bbcb4d9", "score": "0.6031292", "text": "private void doDeleteAccount() {\n String usernameCommand;\n String passwordCommand;\n Registration account;\n\n System.out.println(\"Username and Password are not capital-sensitive\");\n System.out.println(\"\\nEnter the username of the account you wish to delete\");\n System.out.print(\"Username: \");\n usernameCommand = input.nextLine();\n usernameCommand = usernameCommand.toLowerCase();\n\n System.out.println(\"\\nEnter the password of the account you wish to delete\");\n System.out.print(\"Password: \");\n passwordCommand = input.nextLine();\n passwordCommand = passwordCommand.toLowerCase();\n\n account = new Registration(usernameCommand, passwordCommand);\n JsonNode accountNode = Json.toJson(account);\n try {\n Json.removeRegistrationFromFile(accountNode, \"User\");\n } catch (IOException e) {\n System.out.println(\"Could not register user\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "fd2e3afdfceccd665a71ed8ecfc44f68", "score": "0.60212785", "text": "public void setAccountId(Integer accountId) {\r\n\t\tthis.accountId = accountId;\r\n\t}", "title": "" }, { "docid": "65f25927390849117e839f8683c9579e", "score": "0.60082006", "text": "@RequestMapping(value = \"/bankAccounts/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public void delete(@PathVariable Long id) {\n log.debug(\"REST request to delete BankAccount : {}\", id);\n bankAccountRepository.delete(id);\n }", "title": "" }, { "docid": "139601f196bdef634b7fcb688024c098", "score": "0.5998785", "text": "public void setAccountId(String accountId) {\n this.accountId = accountId == null ? null : accountId.trim();\n }", "title": "" }, { "docid": "410d79b51f0c8509d78e7b501cf98c2c", "score": "0.5997636", "text": "public void removeCustomerFromAccount(String customerId, \r\n String accountId) throws RemoteException, \r\n AccountNotFoundException, CustomerRequiredException, \r\n CustomerNotInAccountException, InvalidParameterException;", "title": "" }, { "docid": "8ebc8ebfa754b8df454314d32dfe8aa5", "score": "0.59478223", "text": "public void filedelete(AccountDTO acct, String filenum) throws RemoteException, RejectedException,\r\n AccountException;", "title": "" }, { "docid": "3fe30f9b8530e84f874eb18c1c96e012", "score": "0.5918913", "text": "@Override\n\tpublic void delete(BankAccounts obj) {\n\t\t\n\t}", "title": "" }, { "docid": "42a6fa5d5a9f7216d4053a19fd1f0e62", "score": "0.5918213", "text": "public void deleteAccount(String username){\n File file = new File(username + Constants.FILE_ACC_EXTENTION.getFull());\n if (file.delete()) {\n System.out.println(\"Account deleted: \" + username);\n } else {\n System.out.println(\"Failed to delete the account: \" + username);\n } \n }", "title": "" }, { "docid": "9a0eb2c4b5f6b072208b9418011056ca", "score": "0.58699614", "text": "public void deleteAccount(String delAccName, MongoDatabase db) {\n\t\tMongoCollection<Document> accounts = db.getCollection(\"users\");\n\t\tMongoCollection<Document> courses = db.getCollection(\"courses\");\n\t\n\t\t\n\t\t\n\t\tBasicDBObject fields = new BasicDBObject(\"class_list\", \n\t\t new BasicDBObject( \"student_name\", delAccName));\n\t BasicDBObject update = new BasicDBObject(\"$pull\",fields);\n\t //deregistering user from all courses he registered in\n\t courses.updateMany(fields, update);\n\t \n\t //incrementing capacity by one, since we deregister user from all courses\n\t BasicDBObject newDocument = new BasicDBObject().append(\"$inc\", new BasicDBObject().append(\"capacity\", 1));\n\t\tcourses.updateMany(fields, newDocument);\n\t \n\t \n\t //deleting student's existence in system\n\t\taccounts.deleteOne(Filters.eq(\"name\", delAccName));\n\t\tSystem.out.println(\"Deleting \" + delAccName);\n\t\t\n\t}", "title": "" }, { "docid": "97da6b2a1f331c279f0afadcb6d83394", "score": "0.58670086", "text": "@CrossOrigin\n\t@RequestMapping(\n\t\t\tvalue=\"/qlik/api/message/{id}\",\n\t\t\tmethod=RequestMethod.DELETE,\n\t\t\tconsumes=MediaType.APPLICATION_JSON_VALUE,\n\t\t\tproduces=MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<Void> deleteAccount(@PathVariable(\"id\") Long id) {\n\t\tboolean b = messageService.deleteMessage(id);\n\t\tif(b){\n\t\t\treturn new ResponseEntity<Void>(HttpStatus.OK);\n\t\t}\n\t\telse{\n\t\t\tthrow new IllegalArgumentException(\"invalid data\");\n\t\t}\n\t}", "title": "" }, { "docid": "2b0e3b0a17fc0240e8cc12ff64cea1b1", "score": "0.58444124", "text": "@DELETE\n @Path(\"{login}\")\n public void deleteAccount(@PathParam(\"login\") String login) {\n try {\n accounts.remove(login);\n\n } catch (AccountStorage.UserNotFoundException e) {\n throw new NotFoundException(\"User \"+login+\" does not exist\");\n } catch (IOException e) {\n throw new WebApplicationException(e.getMessage(), Response.Status.INTERNAL_SERVER_ERROR);\n }\n }", "title": "" }, { "docid": "cfcda50bcb56b8d49d27eac44c4e3311", "score": "0.58134466", "text": "@Override\n\tpublic Mono<Void> deleteaccount(String id) {\n\t\treturn accountrepo.findById(id).switchIfEmpty(Mono.error(new Exception(\"No encontrado\"))).flatMap(accountrepo::delete);\n \t}", "title": "" }, { "docid": "728fa4a946ba849d45d1ed1d9295fc6e", "score": "0.57604593", "text": "public Response deleteBen(String account, String benId) {\n\t\tResponse response = new Response();\r\n\t\tAccount account1 = accountRepository.findOne(account);\r\n\t\tAccount account2 = accountRepository.findOne(benId);\r\n\r\n\t\tif (account1 != null && account2 != null && account1.getBeneficiaries().contains(account2)) {\r\n\t\t\taccount1.getBeneficiaries().remove(account2);\r\n\t\t\tSystem.out.println(account1.getBeneficiaries());\r\n\t\t\tresponse.setStatus(\"SUCCESS\");\r\n\t\t\tresponse.setError(\"NONE\");\r\n\t\t\taccountRepository.save(account1);\r\n\t\t} else {\r\n\t\t\tresponse.setStatus(\"FAILED\");\r\n\t\t\tresponse.setError(\"INVALID DETAILS\");\r\n\t\t}\r\n\r\n\t\treturn response;\r\n\t}", "title": "" }, { "docid": "1ad215b345312f657d6dfee10303b949", "score": "0.57391083", "text": "public void deleteAccountData() {\n SharedPreferences.Editor mAppPrefEditor = appPreferences.edit();\n mAppPrefEditor.remove(Account.ACCOUNT_MAIN_KEY);\n mAppPrefEditor.apply();\n }", "title": "" }, { "docid": "bf043c9bfa2d6c0e4abd1f9028cb7d4d", "score": "0.5738815", "text": "public void setId(String accountId);", "title": "" }, { "docid": "7e21aa1e30f6d32366839de65dba59bb", "score": "0.5720753", "text": "ILoA remove(int accountNum);", "title": "" }, { "docid": "4a2129a67425f57046d7980930ec9498", "score": "0.56511736", "text": "int deleteByExample(AccountModelExample example);", "title": "" }, { "docid": "a8446fd1684a85a450798bfe3e241a2f", "score": "0.56508696", "text": "@Test\n public void deleteAccountTest() throws Exception {\n Account account = jpaAccountDao.findById(1);\n entityManager.getTransaction().begin();\n boolean removed = jpaAccountDao.delete(account.getId());\n entityManager.getTransaction().commit();\n\n Account res = jpaAccountDao.findById(1);\n assertNull(res);\n assertNotEquals(jpaAccountDao.findById(1), \"Account{id=1, customer=Customer{customerId=1, firstName='Kim', lastName='Pedersen', email='[email protected]', phoneNumber='90045870', birth=1980-11-05 00:00:00.0}, login= 'Login{Id=1, username='kimPedda', password='kimSimDimSum'}}\");\n assertTrue(removed);\n }", "title": "" }, { "docid": "104ccd14735d8f15d3c7190849083d23", "score": "0.56370586", "text": "@Override\n\tpublic void delete(UserAccount user) {\n\t\tlogger.info(\"aaaaaa===delete====\",user);\n\t\tthis.redisUserAccountDao.delete(user);\n\t}", "title": "" }, { "docid": "bf028dca3dc5931d0ec7c168c5fd75aa", "score": "0.56357634", "text": "public void setAccountId(int value) {\n this.accountId = value;\n }", "title": "" }, { "docid": "c0f5d3f0bc4ec9b29e4c33fefceee307", "score": "0.56338644", "text": "@Test\r\n\tpublic void testDeleteAccount() {\r\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\tsession.beginTransaction();\r\n\r\n\t\tAccount account = createAccount();\r\n\t\tSystem.out.println(\"var account = \" + account);\r\n\r\n\t\t// delete the account\r\n\t\t// ------ --- -------\r\n\t\tAccountService accountService = new AccountService();\r\n\t\taccountService.deleteAccount(account);\r\n\r\n\t\tsession.getTransaction().commit();\r\n\t\tHibernateUtil.getSessionFactory().close();\r\n\r\n\t\t// try to get the account again -- should be null\r\n\t\t// --- -- --- --- ------- ----- -- ------ -- ----\r\n\t\tSession session2 = HibernateUtil.getSessionFactory()\r\n\t\t\t\t.getCurrentSession();\r\n\t\tsession2.beginTransaction();\r\n\r\n\t\tAccount anotherCopy = accountService.getAccount(account.getAccountId());\r\n\r\n\t\tSystem.out.println(\"var anotherCopy = \" + anotherCopy);\r\n\r\n\t\tAssert.assertNull(anotherCopy);\r\n\r\n\t\tsession2.getTransaction().commit();\r\n\t\tHibernateUtil.getSessionFactory().close();\r\n\t}", "title": "" }, { "docid": "8fbe790a07b85ea3b65ae85abebe2ea5", "score": "0.56251794", "text": "public void delete(AccountLevelPk pk) throws DataBaseJdbcException;", "title": "" }, { "docid": "4c6dd381746f51dc4a76324380718f51", "score": "0.56249297", "text": "public final void deleteAccount(final User user, final Account account)\n throws NotExistStorageException {\n Objects.requireNonNull(user, \"user must not be null\");\n Objects.requireNonNull(user, \"account must not be null\");\n if (this.map.containsKey(user)) {\n this.map.get(user).remove(account);\n } else {\n throw new NotExistStorageException(\"The user is't in storage\");\n }\n }", "title": "" }, { "docid": "0666b6c92bf006cd83c0f2e72b0acbc1", "score": "0.56142545", "text": "Completable deleteAsync(String resourceGroupName, String accountName);", "title": "" }, { "docid": "e3f40bdc196e8d122da37c6014565eb7", "score": "0.55905855", "text": "@Override\n public void deletePolicyForAccount(String accountId, String policyId, String serverDomainName, String username, String bearerToken) throws DsmClientException {\n Policy policy = new Policy();\n policy.setVendorPolicyId(policyId);\n policy.setHostName(serverDomainName);\n policy.setUsername(username);\n policyMessageSender.deletePolicyForAccount(new PolicyBean(accountId, policy, bearerToken.substring(7)));\n }", "title": "" }, { "docid": "83d92b617e39e0bd43e55c5875a58988", "score": "0.55740297", "text": "public void deleteSyncedDataSync(long accountId) {\n try {\n // Delete synced attachments\n AttachmentUtilities.deleteAllAccountAttachmentFiles(mProviderContext,\n accountId);\n\n // Delete synced email, leaving only an empty inbox. We do this in two phases:\n // 1. Delete all non-inbox mailboxes (which will delete all of their messages)\n // 2. Delete all remaining messages (which will be the inbox messages)\n ContentResolver resolver = mProviderContext.getContentResolver();\n String[] accountIdArgs = new String[] { Long.toString(accountId) };\n resolver.delete(Mailbox.CONTENT_URI,\n MAILBOXES_FOR_ACCOUNT_EXCEPT_ACCOUNT_MAILBOX_SELECTION,\n accountIdArgs);\n resolver.delete(Message.CONTENT_URI, MESSAGES_FOR_ACCOUNT_SELECTION, accountIdArgs);\n\n // Delete sync keys on remaining items\n ContentValues cv = new ContentValues();\n cv.putNull(Account.SYNC_KEY);\n resolver.update(Account.CONTENT_URI, cv, Account.ID_SELECTION, accountIdArgs);\n cv.clear();\n cv.putNull(Mailbox.SYNC_KEY);\n resolver.update(Mailbox.CONTENT_URI, cv,\n MAILBOXES_FOR_ACCOUNT_SELECTION, accountIdArgs);\n\n // Delete PIM data (contacts, calendar), stop syncs, etc. if applicable\n IEmailService service = getServiceForAccount(accountId);\n if (service != null) {\n service.deleteAccountPIMData(accountId);\n }\n } catch (Exception e) {\n Log.w(Logging.LOG_TAG, \"Exception while deleting account synced data\", e);\n }\n }", "title": "" }, { "docid": "e09545512d7c91dfb79529beb88f9514", "score": "0.55523103", "text": "public boolean deleteAccount (String username) \n throws SQLException, NamingException {\n boolean result = false;\n Connection con = null;\n PreparedStatement stmt = null;\n \n try {\n con = DBHelper.makeConnection();\n\n if (con != null) {\n String sqlStr = \"DELETE \"\n + \"FROM accountInfo \"\n + \"WHERE username = ?\";\n stmt = con.prepareStatement(sqlStr);\n stmt.setString(1, username);\n\n int iCount = stmt.executeUpdate();\n\n if (iCount > 0) {\n result = true;\n }\n }\n } finally {\n if (stmt != null) {\n stmt.close();\n }\n if (con != null) {\n con.close();\n }\n }\n \n return result;\n }", "title": "" }, { "docid": "7f8ba8a2e4b0fed9ba93d5e9a943aa40", "score": "0.55403155", "text": "public void remove(int id){\r\n accountList.remove(id);\r\n }", "title": "" }, { "docid": "458a45c1e3ddf01cc26eb695fb534b0f", "score": "0.553507", "text": "void unsetAccountUserID();", "title": "" }, { "docid": "bbf9e9f99d7eaf4f5bed0e720f177b13", "score": "0.552892", "text": "public AccountDelete(User user) {\r\n\t\tthis.user = user;\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "91c78b9364e122f6750fe7f7d96cc575", "score": "0.5526575", "text": "public static void deleteUser(User u) {\r\n\t\ttry {\r\n\t\t\tConnection c = Database.getConnection(); //get connection from sqllite database\r\n\t String sql = \"DELETE FROM Accounts WHERE appUser = ? and type = ? and username = ?;\"; //sql query\r\n\t\t\tPreparedStatement ps = c.prepareStatement(sql);\r\n\t\t\tps.setString(1,u.getUsername());\r\n\t\t\tps.setString(2,u.a.getType().toUpperCase());\r\n\t\t\tps.setString(3, u.a.getUsername());\r\n\t\t\t\r\n\t\t\tps.executeUpdate();\r\n\t\t\t\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Account was successfully deleted from the System!\");\r\n\t\t\t\r\n\t\t\t//closing sql variables to prevent resource leak\r\n\t\t\t ps.close();\r\n\t\t\t c.close();\r\n\t\t\t \r\n\t\t\t\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n //if the account could not be deleted for what ever reason\r\n\t\t\tJOptionPane.showMessageDialog(null,\"Account could not be deleted at this moment. Please try again later.\");\r\n\t}\r\n}", "title": "" }, { "docid": "532b24c8dabae96f2f7297d9bb29d819", "score": "0.5475527", "text": "public Integer deleteParticipant(ParticipantObject participantObject) throws AppException;", "title": "" }, { "docid": "53ad80ec0322867c633af19110e443fc", "score": "0.54729384", "text": "public void removeAccount()\n {\n check = 5;\n screen.append(\"Enter account name to be removed...\\n\");\n }", "title": "" }, { "docid": "3a2a7dde85fc9b54e9d0f3d02a0c6e40", "score": "0.5470848", "text": "@Ignore\n @Test\n public void testDeleteAccount() throws Exception {\n System.out.println(\"deleteAccount\");\n String accountId = \"251\";\n ManagerImplementation instance = new ManagerImplementation();\n boolean result = instance.deleteAccount(accountId);\n assertTrue(result);\n }", "title": "" }, { "docid": "3edc864665180c952874b9f9b939ce41", "score": "0.54692435", "text": "public static int deleteUserAccount(int userID) {\n\t\tcsvDB.addRemovedPatientAppointmentHistory(userID);\n\t\treturn UserAccountDB.deleteUserAccount(userID);\n\t}", "title": "" }, { "docid": "d059f74bcc9e8c8b33dbe250e7e8d3f5", "score": "0.5459376", "text": "int deleteByExample(KsmAccountExample example);", "title": "" }, { "docid": "785beddbdf57be179d3496455cb9f336", "score": "0.5453215", "text": "@Test\n @Ignore(\"Tested in other test\")\n public void deleteAccountQueueTest() throws ApiException {\n\n Integer accountId = null;\n Integer queueId = null;\n DeleteQueue response = api.deleteAccountQueue(accountId, queueId);\n assertNotNull(response);\n }", "title": "" }, { "docid": "8449808ca9c7e1166117fe046d4252a1", "score": "0.54394966", "text": "private com.squareup.okhttp.Call deleetAccountCall(Integer accountNumber, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {\n Object localVarPostBody = null;\n \n // verify the required parameter 'accountNumber' is set\n if (accountNumber == null) {\n throw new ApiException(\"Missing the required parameter 'accountNumber' when calling deleetAccount(Async)\");\n }\n \n\n // create path and map variables\n String localVarPath = \"/account-delete/{accountNumber}\".replaceAll(\"\\\\{format\\\\}\",\"json\")\n .replaceAll(\"\\\\{\" + \"accountNumber\" + \"\\\\}\", apiClient.escapeString(accountNumber.toString()));\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n\n final String[] localVarAccepts = {\n \n };\n final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) localVarHeaderParams.put(\"Accept\", localVarAccept);\n\n final String[] localVarContentTypes = {\n \n };\n final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n if(progressListener != null) {\n apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {\n @Override\n public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {\n com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());\n return originalResponse.newBuilder()\n .body(new ProgressResponseBody(originalResponse.body(), progressListener))\n .build();\n }\n });\n }\n\n String[] localVarAuthNames = new String[] { };\n return apiClient.buildCall(localVarPath, \"DELETE\", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);\n }", "title": "" }, { "docid": "1f088ce94d884b1a506957bc8a7485c1", "score": "0.5437859", "text": "void delete(String projectId);", "title": "" }, { "docid": "fa47d27bd05fa3ee820d474130caf86c", "score": "0.54047763", "text": "void deleteByProjectIdentifier(String projectIdentifier);", "title": "" }, { "docid": "8bbca1b0fe19526a62d7798af66925e7", "score": "0.5398122", "text": "@Override\n\tpublic void deleteTenant(int tenantId) throws TenantNotFoundException {\n\t\tlogger.info(\"Called deleteTenant() method of TenantService\");\n\t\tTenant value = tenantRepository.findById(tenantId)\n\t\t\t\t.orElseThrow(() -> new TenantNotFoundException(\"Tenant with id \" + tenantId + \" does not exist.\"));\n\t\ttenantRepository.delete(value);\n\t}", "title": "" }, { "docid": "05db2bd8d66b67e39366a909473c32ce", "score": "0.53969765", "text": "@RequestMapping({\"/delete-account.html\"})\r\n/* 153: */ @ResponseBody\r\n/* 154: */ @PreAuthorize(\"hasAnyRole('ROLE_USER') \")\r\n/* 155: */ public boolean delete_account(@RequestParam(\"id\") int id)\r\n/* 156: */ throws Exception\r\n/* 157: */ {\r\n/* 158:164 */ logger.log(Level.FINE, \"delete-account called.\");\r\n/* 159:165 */ Accounts account = (Accounts)this.accountsDAO.getRecordByPrimaryKey(Integer.valueOf(id));\r\n/* 160:166 */ if (account != null)\r\n/* 161: */ {\r\n/* 162:167 */ account.setVisible(Boolean.valueOf(false));\r\n/* 163:168 */ int updateResult = this.accountsDAO.update(account);\r\n/* 164:169 */ if (updateResult > 0)\r\n/* 165: */ {\r\n/* 166:170 */ logger.log(Level.INFO, \"Account with id {0} deleted successfully\", account.getId());\r\n/* 167:171 */ return true;\r\n/* 168: */ }\r\n/* 169:174 */ logger.log(Level.WARNING, \"Error occurred while deleting account with id {0}\", account.getId());\r\n/* 170:175 */ return false;\r\n/* 171: */ }\r\n/* 172:178 */ logger.log(Level.INFO, \"Account with id {0} is already deleted\", Integer.valueOf(id));\r\n/* 173:179 */ return true;\r\n/* 174: */ }", "title": "" }, { "docid": "25472d311428d715e445c30a0591d72a", "score": "0.5385109", "text": "public void removeAccount(Account toBeDeleted) {\r\n\t\t/* PROTECTED REGION ID(java.implementation._16_0_129203bc_1271098548578_11924_332) ENABLED START */\r\n\t\t// TODO: implementation of method 'AccountBean.removeAccount(...)'\r\n\t\tthrow new UnsupportedOperationException(\"The implementation of this generated method stub is missing!\");\r\n\t\t/* PROTECTED REGION END */\r\n\t}", "title": "" }, { "docid": "af1e4abc0c13212a3a4bcba4d8b75287", "score": "0.53834605", "text": "boolean confirmAccount(Long id);", "title": "" }, { "docid": "03bcdefa3633337a5898eb5b4b040581", "score": "0.5368234", "text": "Project deleteProjectById(int projectId, Integer userId) throws Exception;", "title": "" }, { "docid": "78a8794c24e86b6d99bd6636f62d24cb", "score": "0.5363361", "text": "int deleteByExample(SysAccountRoleExample example);", "title": "" }, { "docid": "bfb5786d441be9449c85b6bcefe19526", "score": "0.53559667", "text": "public void cancelAccount(String id){\n\t\tint i = findMatchingAccount(id);\n\t\tif(i == -1){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tlist.get(i).closeAccount();\n\t\tlist.remove(i);\n\t}", "title": "" }, { "docid": "54b45476a312b3c681397ad57d090240", "score": "0.53550744", "text": "public AccountModel deleteSpecificAccountByUserId(UUID userid) {\n\n Set set = accountList.entrySet();\n Iterator iterator = set.iterator();\n while(iterator.hasNext()) {\n Map.Entry mentry = (Map.Entry)iterator.next();\n\n if (tools.regexFoundString(FOUND_USER_ID, mentry.getValue().toString())){\n LOG.info(\"found user in account list: \" + mentry.getValue().toString());\n //--- extract uuid account and delete it\n String idAccount = tools.regexFoundAndExtractString(ID_ACCOUNT, mentry.getValue().toString());\n LOG.info(\"found id account: \" + idAccount);\n deleteSpecificAccountById(UUID.fromString(idAccount));\n }\n }\n LOG.debug(\"can't delete account with {} uuid \", userid);\n return null;\n }", "title": "" }, { "docid": "444b363de0ba2517bf191d54271c75e0", "score": "0.5336336", "text": "public void deleteAccount(int rowNumber) {\n\t\ttry {\t\t\t\n\t\t\tdoConnect(); // Connect to the database\t\n\t\t\t\n\t\t\t// Move to the specified row and delete it from the ResultSet\n\t\t\tresults.absolute(rowNumber);\n\t\t\tresults.deleteRow(); \n\t\t\t\n\t\t\t// Close these objects to make changes to the database\n\t\t\tmyConnection.close();\n\t\t\tmyStatement.close();\n\n\t\t\tdoConnect(); // Re-connect to the database\t\n\t\t\t\n\t\t\t// Move to the last row and store the number of rows\n\t\t\tresults.last();\n\t\t\tint numberOfRows = results.getRow();\n\n\t\t\t// Then move back to the previously specified row\n\t\t\tresults.absolute(rowNumber); \n\n\t\t\t/* Loop through the rows starting from the specified row till the\n\t\t\tlast one and decrement each row's ID by one to get the new order. */\n\t\t\tfor (int i = rowNumber; i <= numberOfRows; i++) {\n\t\t\t\tresults.absolute(i);\n\t\t\t\tresults.updateInt(\"CustomerID\", i);\n\t\t\t\tresults.updateRow();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tlogger.log(Level.SEVERE, \"Exception: \", e);\n\n\t\t} finally {\n\t\t\tif (myConnection != null) {\n\t\t\t\ttry {\n\t\t\t\t\tmyConnection.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tlogger.log(Level.SEVERE, \"Exception: \", e);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (myStatement != null) {\n\t\t\t\ttry {\n\t\t\t\t\tmyStatement.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tlogger.log(Level.SEVERE, \"Exception: \", e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e60cd1d0e6e4227a99c9f2d666c9d7d6", "score": "0.5333243", "text": "public static void deleteUser() throws Exception {\r\n\t\tLOG.info(\"Entering delete\");\r\n\t\tOktaMigrator migrator = new OktaMigrator();\r\n\t\tString oktaId = \"/00uocb4vjrESanRHG0h7\";\r\n\t\t\t\t\r\n String results = migrator.deleteUserByOktaId(apiUrl, apiKey, oktaId);\r\n\t LOG.debug(results);\r\n\t LOG.info(\"Exiting delete\");\r\n\t}", "title": "" }, { "docid": "e3a78ac4833e480783484f0fb276e1c5", "score": "0.5332404", "text": "@Override\n\tpublic void deleteParticipant(int aId, int userId) {\n\t\tSession session = null;\n\t\ttry{\n\t\t\tsession = HiberSessionFactory.getSession(); \n\t\t\tsession.beginTransaction(); \n\t\t\tActivity activity = (Activity) session.get(Activity.class, aId);\n\t\t\tUser user = (User)session.get(User.class, userId);\n\t\t\tactivity.getParticipants().remove(user);\n\t\t\tsession.getTransaction().commit();\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally{\n\t\t HiberSessionFactory.closeSession();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "df6a3f7d6de255952a06f3b952006051", "score": "0.5329495", "text": "public Integer deleteCredential(Integer credId){\r\n return credMapper.deleteCredential(credId);\r\n }", "title": "" }, { "docid": "914acc6144db7bfbd47a00b2c3aa719f", "score": "0.53285235", "text": "public int deleteTrialbalance(Trialbalance p) throws Exception {\n\n\t\tString sql = \"DELETE FROM trialbalance WHERE ID = ?\";\n\n\t\treturn ds.execDML(sql, p.getId());\n\t}", "title": "" }, { "docid": "7f44969a60606f0fa58f8d4897850059", "score": "0.5325475", "text": "public void setAccountId(long value) {\n this.accountId = value;\n }", "title": "" }, { "docid": "7be094b2d7f2dd78cab74b38883fc04f", "score": "0.53253406", "text": "public void deleetAccount(Integer accountNumber) throws ApiException {\n deleetAccountWithHttpInfo(accountNumber);\n }", "title": "" }, { "docid": "494f6995c0f41c46db6094d6741e07b6", "score": "0.5317449", "text": "@ApiMethod(name = \"unregister\")\n public void unregisterDevice(@Named(\"regId\") String regId, @Named(\"accountId\") String accountId) {\n RegistrationRecord record = findRecord(regId, accountId);\n if(record == null) {\n log.info(\"Device \" + regId + \" not registered for account \" + accountId);\n return;\n }\n ofy().delete().entity(record).now();\n }", "title": "" }, { "docid": "b01da6e57ad95c7c6f81280dd775f528", "score": "0.5313304", "text": "@Override\r\n\tpublic void delete(AccountHistory entity) {\n\r\n\t}", "title": "" }, { "docid": "aca964bb6fa244f291c83ab2a5d2d11e", "score": "0.5300732", "text": "void deleteUser(final String username);", "title": "" }, { "docid": "21a4ab230ed3d47f51b0a631b9201743", "score": "0.52922964", "text": "void deleteCustomer(Integer customerId);", "title": "" }, { "docid": "fef46f4520bc701c753e38b8181f5e05", "score": "0.5282105", "text": "void deleteUserById(Long userId);", "title": "" }, { "docid": "a4d598ab00f84dd89b8225b4975e872e", "score": "0.5280516", "text": "@Modifying\n @Query(value = \"delete from GroupAccount ga where ga.accountId.accountId in (:accountIds) and ga.groupId.groupId = :groupId\")\n public void removeAccountFromGroup(@Param(\"accountIds\") List<Integer> accountIds,\n @Param(\"groupId\") int groupId);", "title": "" }, { "docid": "6928b39b3fa042be72bb2691ce9e21b1", "score": "0.5278001", "text": "void deleteUser(Long userId);", "title": "" }, { "docid": "630f72ce15919328c368c184e522b680", "score": "0.52716184", "text": "public int deleteTrialbalance(Long id) throws Exception {\n\n\t\tString sql = \"DELETE FROM trialbalance WHERE ID = ?\";\n\n\t\treturn ds.execDML(sql, id);\n\t}", "title": "" }, { "docid": "ab74b2c451ea1811a3d1856e3db7cdb4", "score": "0.5260445", "text": "public static void deleteTenant(String formData) {\n String id = formData.substring(7);\n Long tenantId = Long.parseLong(id);\n Tenant tenant = Tenant.findById(tenantId);\n\n Logger.info(\"Deleting tenant: \" + tenant.firstName + \" \" + tenant.lastName);\n Residence res = tenant.residence;\n res.tenant = null;\n res.save();\n tenant.delete();\n ajaxDeleteResponse(id);\n }", "title": "" }, { "docid": "36597f13fb2a9caea93bc3daff4538d0", "score": "0.52507025", "text": "public void deleteUser(int id,User user) throws Exception;", "title": "" }, { "docid": "0629931ac1ef0dd8949d125fef278482", "score": "0.5245528", "text": "public boolean delete(Credential credential) throws CredentialNotFoundException;", "title": "" }, { "docid": "bab70f5d8f9b6aac3f78fb4ad1c032bb", "score": "0.52300256", "text": "public boolean deleteProfile(Integer tenantId, String itemId, String itemType);", "title": "" } ]
3678301272d577e225b9c736e6cc465a
Constructs a new instance defined by the default element.
[ { "docid": "b543a37f991db635979d7e5310b193e7", "score": "0.52793324", "text": "public BasketItem()\n {\n this(biz.c24.retaildemo.model.java.BasketItemClass.getInstance().getNullDefiningElementDecl());\n }", "title": "" } ]
[ { "docid": "96dae842601a64420b1f821295da9496", "score": "0.65984637", "text": "BasicElem createBasicElem();", "title": "" }, { "docid": "5a8869c9cce079817a18e62432ca2050", "score": "0.6395638", "text": "public abstract Element create();", "title": "" }, { "docid": "e4188f3ffbbb944b5cc4a82cd182ff2d", "score": "0.6348992", "text": "public Elemento() {\r\n\t}", "title": "" }, { "docid": "85df92017a9c7c08c00ea98d246b8d2e", "score": "0.6136131", "text": "protected T createDefaultValue() {\r\n return defaultValue;\r\n }", "title": "" }, { "docid": "fdd5637922196a96d802693b461d4e4e", "score": "0.6011907", "text": "public AssociatedElement() {}", "title": "" }, { "docid": "da22442eb581b9b435b244f2781ad00c", "score": "0.5960177", "text": "protected ManagedElement() {\n \t}", "title": "" }, { "docid": "8adee79b4cf79a1c9f0a76e245aa0650", "score": "0.5955213", "text": "public void initializeDefault();", "title": "" }, { "docid": "9eae753c47805844488c392c8440861e", "score": "0.59517753", "text": "public DefaultStructurePolicyValue() {\n }", "title": "" }, { "docid": "545cd2b341c5293e878263c6cfa3fb4b", "score": "0.5948499", "text": "public Elemento() {\r\n this.setIdentificador(\"elemento sin nombre\");\r\n this.setNodoA(new Nodo());\r\n this.setNodoB(new Nodo());\r\n this.setSeccion(new Seccion());\r\n this.setMaterial(new Material());\r\n //this.setMarcoPadre(0);\r\n }", "title": "" }, { "docid": "f29b7f0cd5157eed7345ef87f65ed09b", "score": "0.5921387", "text": "public T getDefault();", "title": "" }, { "docid": "47683955403a9bb7836677d410685640", "score": "0.589201", "text": "public void setDefault() {\n }", "title": "" }, { "docid": "e2b20533d4ee218dcbfdbd4bd06a103f", "score": "0.5823287", "text": "public IDElementImpl() {\r\n\t\tsuper();\r\n\t\tthis.id = IDGenerator.generateId();\r\n\t\tcreationTime = System.currentTimeMillis();\r\n\t}", "title": "" }, { "docid": "ecb943f81972e71493c4b95d0fcb34fa", "score": "0.58181006", "text": "private XMLNode() {}", "title": "" }, { "docid": "ff9f6354cf00cff26898693fdedb5b89", "score": "0.579249", "text": "public KeyValueElement() {}", "title": "" }, { "docid": "7e3120e5463fc74767ce6e61e8af1e50", "score": "0.57596284", "text": "protected InputElement() {/* intentionally empty block */}", "title": "" }, { "docid": "51a09b6f9d94c415c3a13f3e9af852b1", "score": "0.5736343", "text": "@Override\n public AnimaBook createDefault(){\n\n return new AnimaBook(\"Anima\", 40, 1, 3);\n }", "title": "" }, { "docid": "0c41a9f77b3af6bdb32ac7f3bb4d3ee5", "score": "0.5732052", "text": "protected Document createDefaultConfigProperty() {\n try {\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n factory.setNamespaceAware(true);\n Document document = factory.newDocumentBuilder().newDocument();\n Element root = document.createElement(\"values\");\n document.appendChild(root);\n Element config = document.createElement(\"config\");\n root.appendChild(config);\n return document;\n } catch (ParserConfigurationException e) {\n throw new AssertionError(e);\n }\n }", "title": "" }, { "docid": "b99860b3114896cd1677e70e2f5e454a", "score": "0.5703012", "text": "public DefaultBodyDescriptor() {\n this(null);\n }", "title": "" }, { "docid": "5b7beac23c5e9fe85828e01ffff57e90", "score": "0.5700551", "text": "protected Document createDefaultModel() {\n\t\treturn new NumericPlainDocument();\n\t}", "title": "" }, { "docid": "ae44aeb50b73820442264c3d00947665", "score": "0.5685122", "text": "public Node createConstructorNode(ConstructorElement element) {\n ConstructorElementNode n = new ConstructorElementNode(element, false);\n n.setDefaultAction(SystemAction.get(PropertiesAction.class));\n n.setActions(getDefaultActions());\n return n;\n }", "title": "" }, { "docid": "e0ae40a171707278d939fa092c1680b3", "score": "0.56807303", "text": "public Object getDefaultValue();", "title": "" }, { "docid": "74c9582e548696c8eb156764bae437fc", "score": "0.5657764", "text": "@Override\r\n\tpublic Element getDefaultRootElement() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "9037d56bbd34c5c669820a83c2652497", "score": "0.56111056", "text": "protected Object createComponent( final String role, final Class defaultImpl )\n throws Exception\n {\n return defaultImpl.newInstance();\n }", "title": "" }, { "docid": "278aff62a17e56b4d271a64487dc01ed", "score": "0.56100416", "text": "public GNElement newElement(String name)\n throws XMLException\n {\n try\n {\n return GNXMLDocumentUtility.newElement(name);\n }\n catch (Exception ex)\n {\n Logger.warn(\"[XMLServiceHandler.newElement]\",\n \"Unable to create GNElement\", ex);\n throw new XMLException(\"[XMLServiceHandler.newElement] Unable to create GNElement\", ex);\n }\n }", "title": "" }, { "docid": "54577239d6480fe05ec7fa995789cee7", "score": "0.5607846", "text": "protected Document createDefaultModel() {\n\t\treturn new StringDocument();\n\t}", "title": "" }, { "docid": "f29e982d9140b141671e6b6841711f70", "score": "0.55937153", "text": "public DefaultValueTestGraphImpl() {\n\t\tthis(null);\n\t}", "title": "" }, { "docid": "dc5a25f625f7220c550748415df8e4a8", "score": "0.5581912", "text": "Element createElement();", "title": "" }, { "docid": "e39be9e0910ca9cbb05c935b3ef59868", "score": "0.5577637", "text": "public void init(String defaultURI) throws Exception;", "title": "" }, { "docid": "465359df1752999aa46ad8aed0565910", "score": "0.5559103", "text": "public DefaultGeoDevice(){\n\t\tthis(new GeoLocation(0.0, 0.0, 0.0f), new GeoVelocity(0, 0));\n\t}", "title": "" }, { "docid": "a7813e6397670844efb86a9c2a9ec896", "score": "0.55508757", "text": "public DefaultXmlCodec() {\n }", "title": "" }, { "docid": "1c57e8b1fa3ccf2116dfbb5d68b79f63", "score": "0.55392104", "text": "public static Activator getDefault() {\n\t\treturn instance;\n\t}", "title": "" }, { "docid": "e62a7cccc5a1772485f38d0099671642", "score": "0.5536368", "text": "private Element createParamElement(YVariable param, Namespace defNS) {\n Element element = new Element(\"element\", defNS);\n element.setAttribute(\"name\", param.getName());\n\n // simple types are defined by attribute, user-defined types are defined by\n // sub elements\n String dataType = param.getDataTypeNameUnprefixed();\n if (isXSDType(dataType)) {\n element.setAttribute(\"type\", prefix(dataType, defNS));\n }\n else if (YInternalType.isType(dataType)) {\n element = YInternalType.getSchemaFor(dataType, param.getName());\n }\n else {\n element = createComplexType(param, element, defNS);\n }\n\n // set default min and max occurs for this parameter\n element.setAttribute(\"minOccurs\", param.isOptional() ? \"0\" : \"1\");\n element.setAttribute(\"maxOccurs\", \"1\");\n\n return element;\n }", "title": "" }, { "docid": "d15657e756b7bcc2109c717c919eb67c", "score": "0.5528516", "text": "public XmlGen(Option<String> defaultNamespace) {\n document = createDocument();\n this.defaultNamespace = defaultNamespace;\n }", "title": "" }, { "docid": "5eb06d2cda6999abf9131e7e4129da22", "score": "0.5502567", "text": "protected Document createDefaultDocument()\n/* */ {\n/* 75 */ return new DefaultStyledDocument();\n/* */ }", "title": "" }, { "docid": "4947db0166b7400d38721c7909090db6", "score": "0.55016994", "text": "default public void newInterfaceUsingDefault() {\n System.out.println(\"newInterfaceUsingDefault\");\n }", "title": "" }, { "docid": "92a7462b13dbe5c0754ca76b54a15344", "score": "0.54989576", "text": "<T> T getDefaultValue();", "title": "" }, { "docid": "f7267f067412882a0e17c7f7a5a21fff", "score": "0.5498728", "text": "public Model(Element element) {\n super(element);\n }", "title": "" }, { "docid": "b96abfb5577524c4a4e59c98ef40e306", "score": "0.54916054", "text": "void setDefault();", "title": "" }, { "docid": "b83a64c5ffa301c5fba496dc267b1c26", "score": "0.54865474", "text": "public static IoTTestSession.Builder createDefault() {\n return create()\n .preDeploy(withDefaultServices());\n }", "title": "" }, { "docid": "ca922f123c5c59347f0ea3473f1aa96a", "score": "0.548441", "text": "public NativeNode(final String defaultName) {\n this(null, defaultName);\n }", "title": "" }, { "docid": "b21f36199ba5116429cdc1b0b0870d82", "score": "0.54772896", "text": "public Element(String parNom) throws mesExceptions {\r\n\r\n if (parNom.equals(\"\")) {\r\n throw new mesExceptions(\"Le nom ne doit pas etre vide\");\r\n } else {\r\n nom = parNom;\r\n }\r\n }", "title": "" }, { "docid": "af919b8f58a1a1fa4ebc835a9e6a8132", "score": "0.54734766", "text": "protected abstract Element createElement();", "title": "" }, { "docid": "29b850020944b78a9a80019213710ba0", "score": "0.5470952", "text": "public DocumentBuilder() {\n\t\tdoc = new DefaultDocument();\n\t}", "title": "" }, { "docid": "d47b0ba0bd111b9bf164b9a0226576c6", "score": "0.546951", "text": "private Button initDefaultConfigButton() {\n\t\tButton defaultConfig = new Button(\"DEFAULT CONFIG\");\n\t\tdefaultConfig.setOnMouseClicked((evt) -> {\n\t\t\tstartTemperature.setText(Settings.SA_DEFAULT_START_TEMPERATURE.toString());\n\t\t\tcoolingRate.setText(Settings.SA_DEFAULT_COOLING_RATE.toString());\n\t\t\tminTemperature.setText(Settings.SA_DEFAULT_MIN_TEMPERATURE.toString());\n\t\t\tmaxIteration.setText(Settings.SA_DEFAULT_MAX_ITERATION.toString());\n\n\t\t\tSettings.saStartTemperature = Settings.SA_DEFAULT_START_TEMPERATURE;\n\t\t\tSettings.saCoolingRate = Settings.SA_DEFAULT_COOLING_RATE;\n\t\t\tSettings.saMinTemperature = Settings.SA_DEFAULT_MIN_TEMPERATURE;\n\t\t\tSettings.saMaxIteration = Settings.SA_DEFAULT_MAX_ITERATION;\n\n\t\t\tstartTemperatureWarning.setText(\"\");\n\t\t\tcoolingRateWarning.setText(\"\");\n\t\t\tminTemperatureWarning.setText(\"\");\n\t\t\tmaxIterationWarning.setText(\"\");\n\t\t});\n\t\treturn defaultConfig;\n\t}", "title": "" }, { "docid": "2ec0591c8890ed23b6442a4239f64f6b", "score": "0.54646355", "text": "public XDElementIdentity() {\n super();\n }", "title": "" }, { "docid": "e39b59afbb147c6a4d2e5ca067a2757f", "score": "0.5463682", "text": "private static AgentExecutor createDefaultInstance() {\n synchronized (sAgentExecutorMap) {\n AgentExecutor agentExecutor = sAgentExecutorMap.get(DEFAULT_AGENT_EXECUTOR_ID);\n if (agentExecutor == null) {\n agentExecutor = builder(DEFAULT_AGENT_EXECUTOR_ID).build();\n Log.d(TAG, \"Built Default \" + String.valueOf(agentExecutor));\n sAgentExecutorMap.put(DEFAULT_AGENT_EXECUTOR_ID, agentExecutor);\n }\n return agentExecutor;\n }\n }", "title": "" }, { "docid": "88c6b3d61087ed18f6968c65ee2895d0", "score": "0.54556024", "text": "private Element cloneElement(Element element, Namespace defNS) {\n Element cloned = new Element(element.getName(), defNS);\n cloned.setAttributes(cloneAttributes(element, defNS));\n return cloned;\n }", "title": "" }, { "docid": "f62d44c5f20b98f4dd2959bd05420732", "score": "0.5437541", "text": "abstract public XalInternalDocument newEmptyDocument();", "title": "" }, { "docid": "9440747613663d2407c77fc203ca5046", "score": "0.5435776", "text": "public static DomTCController getDefault() {\n return DEFAULT;\n }", "title": "" }, { "docid": "63bbaace02d28752b7cf452c67c81e87", "score": "0.54150975", "text": "public DefaultPresenter(){}", "title": "" }, { "docid": "7eb59a5a6789aa49b34453cbd79c0680", "score": "0.541276", "text": "public EventBuilder() {\n name = new Name(DEFAULT_NAME);\n date = new Date(DEFAULT_DATE);\n note = new Note(DEFAULT_NOTE);\n toDate = new Date(DEFAULT_TO_DATE);\n fromDate = new Date(DEFAULT_FROM_DATE);\n }", "title": "" }, { "docid": "0604f6d52440aa12f07298e3f57f1565", "score": "0.5406196", "text": "PrimitiveElement createPrimitiveElement();", "title": "" }, { "docid": "4ee0105e8bd19584babc68957a140719", "score": "0.54048485", "text": "protected Document createDefaultModel()\n {\n return new ConstrainedTextDocument(Integer.MAX_VALUE);\n }", "title": "" }, { "docid": "f253d895b4ca78e1b412714c9611a014", "score": "0.5386892", "text": "public BlueprintDefaultsDefinition(Document doc, ParserContext parserContext) {\r\n\t\tsuper(doc, parserContext);\r\n\t\tElement root = doc.getDocumentElement();\r\n\t\tString timeout = getAttribute(root, BLUEPRINT_NS, DEFAULT_TIMEOUT);\r\n\t\tsetTimeout(StringUtils.hasText(timeout) ? timeout.trim() : TIMEOUT_DEFAULT);\r\n\r\n\t\tString availability = getAttribute(root, BLUEPRINT_NS, DEFAULT_AVAILABILITY);\r\n\t\tif (StringUtils.hasText(availability)) {\r\n\t\t\tAvailability avail = ReferenceParsingUtil.determineAvailability(availability);\r\n\t\t\tsetAvailability(avail);\r\n\t\t}\r\n\r\n\t\t// default initialization\r\n\t\tString initialization = getAttribute(root, BLUEPRINT_NS, DEFAULT_INITIALIZATION);\r\n\t\tdefaultInitialization =\r\n\t\t\t\t(StringUtils.hasText(initialization) ? initialization.trim().equalsIgnoreCase(LAZY_INITIALIZATION)\r\n\t\t\t\t\t\t: INITIALIZATION_DEFAULT);\r\n\t}", "title": "" }, { "docid": "92ce0e1f817cb6009542a43a8b5028e1", "score": "0.53789246", "text": "@SuppressWarnings(\"unchecked\")\r\n public static <T> T createFactory(IConfigurationElement elem, String factoryAttr, Class<? extends T> defaultFactory)\r\n {\r\n // create and initialize the factory\r\n // (the default value in the extensionpoint doesn't work atm so its null\r\n // in the default case)\r\n T factory = null;\r\n if (elem.getAttribute(factoryAttr) != null)\r\n {\r\n try\r\n {\r\n factory = (T) elem.createExecutableExtension(factoryAttr);\r\n }\r\n catch (CoreException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n }\r\n // in the default or error case use the default factory\r\n if (factory == null)\r\n {\r\n try\r\n {\r\n factory = defaultFactory.newInstance();\r\n }\r\n catch (InstantiationException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n catch (IllegalAccessException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n // set initiaization data (configuration element) if the factory requires it\r\n if (factory != null && factory instanceof IExecutableExtension)\r\n {\r\n try\r\n {\r\n ((IExecutableExtension) factory).setInitializationData(elem, factoryAttr, null);\r\n }\r\n catch (CoreException exc)\r\n {\r\n FujabaCommonsPlugin.getDefault().logError(exc.getMessage(), exc);\r\n }\r\n }\r\n }\r\n return factory;\r\n }", "title": "" }, { "docid": "cf59098dbe381f3af7b4039281eb72e0", "score": "0.5360123", "text": "public Object getDefault() {\r\n return this.def;\r\n }", "title": "" }, { "docid": "5364b1515357bd6957b2bd504795db6c", "score": "0.5359534", "text": "public XMLDocumentBuilder() {\n\t}", "title": "" }, { "docid": "980a422f139d5ad9aff56139462d2ce7", "score": "0.53320473", "text": "public void testDefaultElementsSetupCorrectly() {\n\t\tEvent anEvent = new Event();\n\t\t\n\t\tassertNotNull(\"Should have a generated id\", anEvent.getId());\n\t\tassertTrue(\"Should have a reasonable length id\", anEvent.getId().length() > 4);\n\t\tassertNull(\"Should not have a payload\", anEvent.getPayload());\n\t}", "title": "" }, { "docid": "5533bfd3d9c2c5950478370b29c1bbac", "score": "0.53306836", "text": "protected UXElement()\n {\n parent = SketchMain.getAccess();\n if(parent == null) throw new RuntimeException(\"Unable to access main sketch!\");\n BG = parent.color(0);\n pos = new PVector();\n size = new PVector();\n log = null;\n }", "title": "" }, { "docid": "755640721676aa74ee92b139c6ee7b1e", "score": "0.53041214", "text": "public void newElement() {\n }", "title": "" }, { "docid": "2c7a2d7b41fa192916cab99deaa8fac8", "score": "0.5301817", "text": "public Node createFieldNode(FieldElement element) {\n FieldElementNode n = new FieldElementNode(element, false);\n n.setDefaultAction(SystemAction.get(PropertiesAction.class));\n n.setActions(getDefaultActions());\n return n;\n }", "title": "" }, { "docid": "5aa4323cf2890ff37086e0039a4cd933", "score": "0.53001267", "text": "public AbstractElement(ElementName elementName) {\n setElementName(elementName);\n }", "title": "" }, { "docid": "dcbafb4b885fc44f5c6ae34c76fc9766", "score": "0.5299249", "text": "Object defaultValue();", "title": "" }, { "docid": "31a482197e509ac1f04ad296f75ce21c", "score": "0.52969486", "text": "Attribute createAttribute(int id, String name, Object defaultValue);", "title": "" }, { "docid": "f6398dcdf78c55abf044828335096422", "score": "0.5295375", "text": "public DefaultWebElementsDriver(WebDriver wd) {\n this(wd, DefaultWebElements.class, DebugWebElements.class, TipWebElements.class);\n }", "title": "" }, { "docid": "eb360682d80e7bf6fd18e655a7ec78a9", "score": "0.5286611", "text": "public static NodeDef constructElement(\n DOMWrapper wrapper, Class enclosure, String prefix)\n throws XOMException\n {\n switch (wrapper.getType()) {\n case DOMWrapper.ELEMENT:\n Class elemClass = getElementClass(wrapper, enclosure, prefix);\n if (elemClass == null) {\n if (true) {\n return new WrapperElementDef(wrapper, enclosure, prefix);\n } else {\n throw new XOMException(\"No class corresponding to element \"\n + wrapper.getTagName()\n + \" could be found in enclosure \"\n + enclosure.getName());\n }\n } else {\n return constructElement(wrapper, elemClass);\n }\n case DOMWrapper.COMMENT:\n return new CommentDef(wrapper.getText());\n case DOMWrapper.CDATA:\n return new CdataDef(wrapper.getText());\n case DOMWrapper.FREETEXT:\n return new TextDef(wrapper.getText());\n default:\n throw new XOMException(\"Unknown type: \" + wrapper.getText());\n }\n }", "title": "" }, { "docid": "1c738efb983c20e62b005f3dde0ed330", "score": "0.5282782", "text": "protected Document createDefaultModel()\n {\n return new DriversLicenseDocument(Integer.MAX_VALUE);\n }", "title": "" }, { "docid": "37ee01955d40ac2becde8ffdd23dde31", "score": "0.52804637", "text": "public static MolecularFormulaRange creatingDefaultRange() {\n\t\tString[] stringElements = {\"C\",\"H\",\"N\",\"O\"};\n\t\tint[] elementsMax = {50,100,30,30};\n\t\tint[] elementsMin = {1,1,0,0,0};\n\t\treturn creatingRange(stringElements, elementsMax, elementsMin);\n\t}", "title": "" }, { "docid": "edffab727070e84badfd10f1d56232bc", "score": "0.5275378", "text": "public DataElement newElement( String name )\r\n {\r\n PDElement e = new PDElement( name );\r\n elements.addElement( e );\r\n return e;\r\n }", "title": "" }, { "docid": "539cbf1e10858809291fcf59d9cc027e", "score": "0.52732104", "text": "Model() {\n\n init(DEFAULT_SIZE, DEFAULT_SIZE);\n }", "title": "" }, { "docid": "a6711ea1ae6d8a7c96fe1dc83205d714", "score": "0.52705485", "text": "public PersistenceMemberElement ()\n\t{\n\t\tthis(null, null);\n\t}", "title": "" }, { "docid": "61fc62209b08aa598129e8defaf68865", "score": "0.52666456", "text": "public void setDefault(String def) {\n }", "title": "" }, { "docid": "f314acfed5a433030b32dd6dc108e798", "score": "0.52650726", "text": "@Override\n\tprotected void createDefaultAxes() {\n\t\tAxis axisX = new Axis();\n\t\tAxis axisY = new Axis();\n\t\tsetAxis(AXIS_X, axisX);\n\t\tsetAxis(AXIS_Y, axisY);\n\t}", "title": "" }, { "docid": "adca5035ececdc789e054b7881a28dbd", "score": "0.5262167", "text": "private Element generateElement(String input) {\r\n\t\tif(isInteger(input)) {\r\n\t\t\treturn new ElementConstantInteger(Integer.parseInt(input));\r\n\t\t} else if(isDouble(input)) {\r\n\t\t\treturn new ElementConstantDouble(Integer.parseInt(input));\r\n\t\t} else if(isVariable(input)) {\r\n\t\t\treturn new ElementVariable(input);\r\n\t\t} else if(isFunction(input)) {\r\n\t\t\treturn new ElementFunction(input);\r\n\t\t} else if(isString(input)) {\r\n\t\t\treturn new ElementString(input.replace(\"\\\\r\\\\n\", System.lineSeparator()));\r\n\t\t} else if(isOperator(input)) {\r\n\t\t\treturn new ElementOperator(input);\r\n\t\t} else {\r\n\t\t\tthrow new IllegalArgumentException(\"Element \" + input + \" is not valid!\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "94640e5ecb01173149925410cfa58cae", "score": "0.5249709", "text": "public GNElement newElement(String name, String prefix, String uri)\n throws XMLException\n {\n try\n {\n return GNXMLDocumentUtility.newElement(name, prefix, uri);\n }\n catch (Exception ex)\n {\n Logger.warn(\"[XMLServiceHandler.newElement]\",\n \"Unable to create GNElement\", ex);\n throw new XMLException(\"[XMLServiceHandler.newElement] Unable to create GNElement\", ex);\n }\n }", "title": "" }, { "docid": "42f2f79fefe4c48829f0eadf2401a5f4", "score": "0.52450377", "text": "protected Document createDefaultModel()\n {\n return new NumberDocument(Double.class);\n }", "title": "" }, { "docid": "a2d31a8db600fbba51727f12753d00b7", "score": "0.52377886", "text": "public DefaultTeleopCommand() {\r\n\r\n\t\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR\r\n\t\t// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=VARIABLE_SETTING\r\n\r\n\t\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=VARIABLE_SETTING\r\n\t\t// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES\r\n\t\trequires(Robot.driveTrain);\r\n\r\n\t\t// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES\r\n\t}", "title": "" }, { "docid": "6d80228226f904f82f12b5c7b49cf80d", "score": "0.52362806", "text": "public static String getTagDefault()\n\t{\n\t\treturn sTagDefault;\n\t}", "title": "" }, { "docid": "60d9b8ad1c6db2710c6458300a8a8ca9", "score": "0.5233421", "text": "protected Element createElement()\n\t{\n\t\treturn new Element(\"input\").addAttribute(\"type\", \"submit\");\n\t}", "title": "" }, { "docid": "fa96dc63aabf0a2a061373f057930ae1", "score": "0.52322066", "text": "protected DefaultGraphCell createDefaultGraphCell() {\n\t\tDefaultGraphCell cell = new FastCircleCell(\"Cell \"\n\t\t\t\t+ new Integer(cellCount++));\n\t\t// Restrict to a square shape\n\t\tGraphConstants.setConstrained(cell.getAttributes(), true);\n\t\t// Add one central fixed port\n\t\tPoint2D point = new Point2D.Double(GraphConstants.PERMILLE / 2,\n\t\t\t\tGraphConstants.PERMILLE / 2);\n\t\tcell.addPort(point);\n\t\treturn cell;\n\t}", "title": "" }, { "docid": "b61e7dfbcfdd434fda69e76cf164bae7", "score": "0.52262676", "text": "@Override\n public Object getDefaultValue() {\n return defaultValue;\n }", "title": "" }, { "docid": "f743c5f5d704d421ec711e889cd2c6ff", "score": "0.5225851", "text": "public SnippetBaseXml() {\n }", "title": "" }, { "docid": "a627aa2bc754d828e94f2c53ad78be9e", "score": "0.5222588", "text": "public Simple() {\r\n super();\r\n }", "title": "" }, { "docid": "629550e961ca8787d272631bf591a813", "score": "0.52196074", "text": "public AbstractSubkey(String... defaultAttr) {\n\t\tif (defaultAttr.length > 0) {\n\t\t\tthis.setDefaultAttribute(defaultAttr);\n\t\t}\n\t}", "title": "" }, { "docid": "65aeb79b7999a19b7d93954480ac56bd", "score": "0.5219276", "text": "private void generateDefualt()\n\t{\n\t\tSystem.out.println(\"Generating default values...\");\n\t\t\n\t\tElement root = makeRoot();\n\t\t\n\t\t//TODO generate default values to config file\n\t\troot.addContent(new Element(\"connection\")\n\t\t .addContent(new Element(\"port\").setText(\"3306\")));\n\t\troot.addContent(new Element(\"db\")\n\t\t\t.addContent(new Element(\"dbHost\").setText(\"localhost\"))\n\t\t\t.addContent(new Element(\"dbName\").setText(\"itkStock\"))\n\t\t\t.addContent(new Element(\"dbUser\").setText(\"itkStock\"))\n\t\t\t.addContent(new Element(\"dbPass\").setText(\"itkStock\"))\n\t\t);\n\t\t\n\t\tmakeFile(root);\n\t\t\n\t\tSystem.out.println(\"Default configuration generated. Reloading...\");\n\t\t\n\t\ttry {\n\t\t\tparseFile(\"ServerConfig.xml\");\n\t\t} catch (JDOMException | IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "fa0d197bd71cfa442ba8c4487b918d41", "score": "0.5217211", "text": "public Page createDefaultPage() {\n\t\treturn new EmptyPage();\n\t}", "title": "" }, { "docid": "24ed1ce0a7e8bec5714ec47dd5ddc896", "score": "0.5215993", "text": "WorkflowElement createWorkflowElement();", "title": "" }, { "docid": "524c094a7c70fca2fc91f15d81a81e6b", "score": "0.5215805", "text": "protected Element createElementInstance(final String className, final Context context, final Node node, final Element parentElement) throws JMXEvalException {\r\n try {\r\n final Constructor<?>[] constructors = Class.forName(className).getConstructors();\r\n if (constructors.length != 1) {\r\n throw new JMXEvalException(className + \" has more than one constructor, it should only have one constructor which can optionally accept the following types: \"\r\n + Context.class.getName() + \" (execution context), \" + Node.class.getName() + \" (XML Node for the element), \" + Element.class.getName() + \" (parent Element)\");\r\n }\r\n\r\n final List<Object> args = new ArrayList<>();\r\n for (final Class<?> argClass : constructors[0].getParameterTypes()) {\r\n if (argClass.equals(Context.class)) {\r\n args.add(context);\r\n } else if (argClass.equals(Node.class)) {\r\n args.add(node);\r\n } else if (Element.class.equals(argClass)) {\r\n args.add(parentElement);\r\n }\r\n }\r\n return (Element) constructors[0].newInstance(args.toArray());\r\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | InvocationTargetException e) {\r\n throw new JMXEvalException(\"Could create instance of \" + className, e);\r\n }\r\n }", "title": "" }, { "docid": "e34cbf9e1da4dc2e637b2f31ba54b0c2", "score": "0.5209976", "text": "public static NodeDef constructElement(DOMWrapper wrapper,\n Class elemClass)\n throws XOMException\n {\n // Find a constructor of this class which takes an \"Element\" object\n Constructor[] constructors = elemClass.getDeclaredConstructors();\n Constructor elemConstructor = null;\n for (int i = 0; i < constructors.length; i++) {\n Class[] params = constructors[i].getParameterTypes();\n if (params.length == 1 && params[0] == DOMWrapper.class) {\n elemConstructor = constructors[i];\n break;\n }\n }\n if (elemConstructor == null) {\n throw new XOMException(\n \"No constructor taking class DOMWrapper \"\n + \"could be found in class \"\n + elemClass.getName());\n }\n\n // Call the constructor to instantiate the object\n Object[] args = new Object[1];\n args[0] = wrapper;\n try {\n return (ElementDef)(elemConstructor.newInstance(args));\n } catch (InstantiationException ex) {\n throw new XOMException(\"Unable to instantiate object of class \"\n + elemClass.getName() + \": \"\n + ex.getMessage());\n } catch (InvocationTargetException ex) {\n // the Element constructor can only throw XOMException or\n // RuntimeException or Error, so cast to whichever type is appropriate\n // and throw here.\n Throwable target = ex.getTargetException();\n if (target instanceof XOMException) {\n throw (XOMException) target;\n } else if (target instanceof RuntimeException) {\n throw (RuntimeException) target;\n } else if (target instanceof Error) {\n throw (Error) target;\n } else {\n throw new XOMException(\n \"Unexpected exception while \"\n + \"instantiating object: \"\n + target.toString());\n }\n } catch (IllegalAccessException ex) {\n throw new XOMException(\"Unable to instantiate object of class \"\n + elemClass.getName() + \": \"\n + ex.getMessage());\n }\n }", "title": "" }, { "docid": "e6dd3cb8beb2e65c57bcf96d5e7d229b", "score": "0.52071697", "text": "public Building createDefaultBuilding(final int NO_FLOORS, final int NO_CUSTOMERS) {\r\n\t\t\r\n\t\tBuilding build = new DefaultBuilding(NO_FLOORS, NO_CUSTOMERS);\r\n\t\t\r\n\t\treturn build;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fec208fe603fb3cb77675e786bee9bc6", "score": "0.52025634", "text": "String getDefaultValue();", "title": "" }, { "docid": "d5e17e5ba78485412757e2d10b38fee8", "score": "0.51934755", "text": "public Tag createNewTag() {\n\t\tlong newIdentifier = IdentifierProvider.newIdentifier();\n\t\tTag newTag = new Tag(newIdentifier);\n\t\tnewTag.setName(Messages.get(\"default.tagName\"));\n\t\tthis.allTags.add(newTag);\n\t\tthis.tagsByIdentifier.put(newTag.getIdentifier(), newTag);\n\t\treturn newTag;\n\t}", "title": "" }, { "docid": "8913fef4adc866126e413661f11362e5", "score": "0.5184669", "text": "@Override\n public T getDefaultValue() {\n return defaultValue;\n }", "title": "" }, { "docid": "8cc40f8cd31c8a44f1ee6d2f43e7f105", "score": "0.5180173", "text": "public Node() //# create a node with a null element and next reference\n {\n this(null, null);\n }", "title": "" }, { "docid": "cf4ff6c6fdd95d245dd8adb8e687597c", "score": "0.51765794", "text": "@Override\n public Object getDefaultValue() {\n return null;\n }", "title": "" }, { "docid": "f08bc2b5443e7fb54373c2c90ebd132b", "score": "0.51758057", "text": "public static RDKitNodePlugin getDefault() {\n\t\treturn g_instance;\n\t}", "title": "" }, { "docid": "3efe249abce80445d7d1329e1499e948", "score": "0.5172726", "text": "@Override\r\n\tpublic Seleccion newInstance() {\n\t\treturn new SeleccionUniversalEstocastica();\r\n\t}", "title": "" }, { "docid": "83a6e342a2ac1f4954a22cb8424e4c7e", "score": "0.51702446", "text": "protected AttribEditor createDefaultEditor() {\n\t\treturn new TextBasedEditor();\n\t}", "title": "" }, { "docid": "24d80416fe1e3d59e8b023c512969e56", "score": "0.51679015", "text": "public ISettings getDefaultSettings() {\r\n\t\treturn new VeniTreeCreatorSettings();\r\n\t}", "title": "" }, { "docid": "6c3459a73385daec52d9807c3a427a7f", "score": "0.5164308", "text": "public DefaultEntry(final String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" } ]
d5829363d04faafca19da2c3b866c09c
Turns a value into a string and aims at emulating the currently missing label provider relying on the actual value. This shall later be replaced by relying on GUIvariables! Then this method can be deleted.
[ { "docid": "356cd27aa7e7d7cacee102c1302d8ee7", "score": "0.643482", "text": "protected static String toString(Value value) {\n String result = StringProvider.toIvmlString(value);\n IDatatype type = value.getType();\n if (StringType.TYPE.isAssignableFrom(type)) {\n while (result.startsWith(\"\\\"\")) {\n result = result.substring(1);\n }\n while (result.endsWith(\"\\\"\")) {\n result = result.substring(0, result.length() - 1);\n }\n } else if (Enum.TYPE.isAssignableFrom(type)) {\n int pos = result.lastIndexOf(\".\");\n if (pos > 0 && pos + 1 < result.length()) {\n result = result.substring(pos + 1);\n }\n } else if (Container.TYPE.isAssignableFrom(type)) {\n if (result.startsWith(\"{\\\"\")) {\n result = result.substring(2);\n }\n while (result.endsWith(\"\\\"}\")) {\n result = result.substring(0, result.length() - 2);\n }\n }\n return result;\n }", "title": "" } ]
[ { "docid": "ba213db4b0f6d365047c90ca16bcf8ef", "score": "0.70077866", "text": "private String getLabel(int aValue) {\n\t\tif (fRadix == radix_Hex) {\n\t\t\treturn Format.toHexString(aValue);\n\t\t} else {\n\t\t\tif (fType == type_Float) {\n\t\t\t\treturn \"\" + (double)aValue;\n\t\t\t} else {\n\t\t\t\treturn \"\" + aValue;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f877a4e19269a70fb968bc4cdcbaa8b3", "score": "0.6814678", "text": "private void checkLabelValue()\n\t{\n\t\tif(labelValue != null && !\"\".equals(labelValue))\n\t\t{\n\t\t\tlabelValue += \": \";\n\t\t}\n\t}", "title": "" }, { "docid": "4f34c5c3204d69338584ab1c075f564d", "score": "0.67702544", "text": "protected String formatValue (Object value)\n {\n return String.valueOf(value);\n }", "title": "" }, { "docid": "cfa85600aad7bb552f8a45207a1fda0d", "score": "0.6764993", "text": "@Override\r\n\t\t\t\tpublic String textFormatter(String value) {\n\t\t\t\t\tString label = \"(\" + value + \")\";\r\n\t\t\t\t\treturn (label);\r\n\t\t\t\t}", "title": "" }, { "docid": "63628d8d9a0ebef2aac749dc8693e4ea", "score": "0.6487066", "text": "java.lang.String getLabel();", "title": "" }, { "docid": "79fa072b073cdaf09841329722d2009b", "score": "0.6429616", "text": "public static String getValueToRender(FacesContext context, UIComponent component, Object value) {\n if (component instanceof ValueHolder) {\n\n if (component instanceof EditableValueHolder) {\n EditableValueHolder input = (EditableValueHolder) component;\n Object submittedValue = input.getSubmittedValue();\n PrimeConfiguration config = PrimeApplicationContext.getCurrentInstance(context).getConfig();\n\n if (config.isInterpretEmptyStringAsNull()\n && submittedValue == null\n && !input.isLocalValueSet()\n && context.isValidationFailed()\n && !input.isValid()) {\n return null;\n }\n else if (submittedValue != null) {\n return submittedValue.toString();\n }\n }\n\n ValueHolder valueHolder = (ValueHolder) component;\n if (value == UNDEFINED_VALUE) {\n if (component instanceof HtmlOutputFormat) {\n value = encodeComponent(component, context);\n }\n else {\n value = valueHolder.getValue();\n }\n }\n\n //format the value as string\n if (value != null) {\n Converter converter = valueHolder.getConverter();\n if (converter == null) {\n Class<?> valueType = value.getClass();\n if (valueType == String.class\n && !PrimeApplicationContext.getCurrentInstance(context).getConfig().isStringConverterAvailable()) {\n return (String) value;\n }\n\n converter = context.getApplication().createConverter(valueType);\n }\n\n if (converter != null) {\n return converter.getAsString(context, component, value);\n }\n else {\n return value.toString(); //Use toString as a fallback if there is no explicit or implicit converter\n }\n }\n else {\n //component is a value holder but has no value\n return null;\n }\n }\n\n //component it not a value holder\n return null;\n }", "title": "" }, { "docid": "a5d298e4d64ad818bef3e75ac6276b46", "score": "0.6422027", "text": "public String getStrLabelValue() {\r\n\t\treturn strLabelValue;\r\n\t}", "title": "" }, { "docid": "c155757eb4670299fa1e08045ab769b2", "score": "0.6403989", "text": "@Override\n public String toString(){\n return String.valueOf(value);\n }", "title": "" }, { "docid": "317bc094dfac4048fc79d157911cd18e", "score": "0.6402099", "text": "@Override\r\n\t\t\t\tpublic String textFormatter(String value) {\n\t\t\t\t\tDouble tmp = Double.parseDouble(value);\r\n\t\t\t\t\tDecimalFormat df = new DecimalFormat(\"0.00\");\r\n\t\t\t\t\tString label = df.format(tmp).toString();\r\n\t\t\t\t\treturn (label);\r\n\t\t\t\t}", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.63973016", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.63973016", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.63973016", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.63973016", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.63973016", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.63973016", "text": "java.lang.String getValue();", "title": "" }, { "docid": "944e1b2a8732f79a98b03c0030174faf", "score": "0.6391976", "text": "public String getFormattedValue() {\n if (labelFormatter != null) {\n return labelFormatter.getText();\n } else {\n return \"\" + getValue();\n }\n }", "title": "" }, { "docid": "d838b5b35efdb03813373cf2f166dff9", "score": "0.63710487", "text": "public void setLabel(Object value) {\n this.setValue(LABEL_PROPERTY_KEY, value);\n }", "title": "" }, { "docid": "e442251e79d06da8be1ea829ccfda35b", "score": "0.6362012", "text": "public Builder setLabel(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n label_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9ff8e02aa97db641d287e53437fda5ad", "score": "0.6337704", "text": "public void setLabel(final String labelValue) {\n this.label = labelValue;\n }", "title": "" }, { "docid": "9ff8e02aa97db641d287e53437fda5ad", "score": "0.6337704", "text": "public void setLabel(final String labelValue) {\n this.label = labelValue;\n }", "title": "" }, { "docid": "d858f8d391240c6be3986c15196a816e", "score": "0.63351804", "text": "public void setLabel(final String labelValue) {\n this.label = labelValue;\n }", "title": "" }, { "docid": "b3aceb84ceed8a99d72786d8f4f8720d", "score": "0.63105506", "text": "void setLabelString() {\n int pad = 5; // fudge to make up for variable width fonts\n float maxVal = Math.max(Math.abs(min), Math.abs(max));\n intDigits = Math.round((float) (Math.log(maxVal) / Math.log(10))) + pad;\n if (min < 0) {\n intDigits++; // add one for the '-'\n }\n // fractDigits is num digits of resolution for fraction. Use base 10 log\n // of scale, rounded up, + 2.\n fractDigits = (int) Math.ceil((Math.log(scale) / Math.log(10)));\n nf.setMinimumFractionDigits(fractDigits);\n nf.setMaximumFractionDigits(fractDigits);\n String value = nf.format(current);\n while (value.length() < (intDigits + fractDigits)) {\n value = value + \" \";\n }\n valueLabel.setText(value);\n }", "title": "" }, { "docid": "7c40f52d2e00e4b66fd7add8183bc385", "score": "0.62511134", "text": "public void setStrLabelValue(String strLabelValue) {\r\n\t\tthis.strLabelValue = strLabelValue;\r\n\t}", "title": "" }, { "docid": "bb710a64c6b0d50ee0ccd265da671e68", "score": "0.62470984", "text": "String displayValue();", "title": "" }, { "docid": "a11071fbeb916089b45478c48750f0bf", "score": "0.61765146", "text": "public java.lang.String getLabel();", "title": "" }, { "docid": "48f23f781bfdd4f5fc8a65d9eba43b08", "score": "0.6160587", "text": "String getLabel();", "title": "" }, { "docid": "48f23f781bfdd4f5fc8a65d9eba43b08", "score": "0.6160587", "text": "String getLabel();", "title": "" }, { "docid": "c0596d5ddad1b324f7f130f921d41f1a", "score": "0.61402863", "text": "@NotNull\n protected String format(@NotNull final Object value) {\n return value != null\n ? value.toString()\n : \"\";\n }", "title": "" }, { "docid": "9a0177784ba1fac10f0982385e4fa617", "score": "0.6116138", "text": "@Override\n public String toString() {\n return String.valueOf(value());\n }", "title": "" }, { "docid": "61d1fe2329bf405f0593c0b7f5ff4235", "score": "0.6109493", "text": "@Override\r\n public @Nullable String getFormattedText(RenderContext ctx)\r\n {\n String oorPrefix = getOORPrefix(ctx);\r\n String formattedValue = \"\";\r\n Object value = getDisplayValue(ctx);\r\n if (null != value)\r\n {\r\n formattedValue = super.getFormattedText(ctx);\r\n if (null == formattedValue)\r\n formattedValue = ConvertUtils.convert(value);\r\n }\r\n assert null != formattedValue;\r\n return oorPrefix + formattedValue;\r\n }", "title": "" }, { "docid": "98450c607be102c280e0327c20ccef7b", "score": "0.6109197", "text": "String getValueAsString();", "title": "" }, { "docid": "71e333a6bcb0a1b1c81fcf1afb64d33c", "score": "0.6093687", "text": "@Override public String toString() {\n return \"\" + \"Value=\" + Value; // NOI18N\n }", "title": "" }, { "docid": "1be546bb66a20fe820bd922798a7efe8", "score": "0.60830283", "text": "public String getValue() {\n return String.valueOf(value);\n }", "title": "" }, { "docid": "d07504010976af68ffe0cdb2b6757f8c", "score": "0.6065273", "text": "@Override\r\n public String toString() {\r\n return (value == null) ? \"\" : value;\r\n }", "title": "" }, { "docid": "be11b13be3371c990622b772fd12a964", "score": "0.60515034", "text": "@Override\n\tpublic String visitValue(ValueContext ctx) {\n\t \n\t\t\n\t return ctx.getChild(0).getText();\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ec8330e3135544bbd41665837cba8cc4", "score": "0.6041613", "text": "@Override\n protected String formatValue(Object value) {\n String formatted = \"float\".equals(format) ? formatWithDigits(value, this.digits) : String.valueOf(value);\n return formatted + \" \" + this.unitText;\n }", "title": "" }, { "docid": "6807061b62226c34ef7341c7a9c7e5c3", "score": "0.6026598", "text": "public String getValue() { return value; }", "title": "" }, { "docid": "67f3df1ab529c6222e4b450efb129135", "score": "0.60262984", "text": "private String getLabel(String label, String text) {\n\t\tStringBuffer buffer = new StringBuffer(label);\n\t\tif (text != null && !\"\".equals(text)) {\n\t\t\tif (!\"Choose One\".equals(text)) {\n\t\t\t\tbuffer.append(\": '\" + text + \"'\");\n\t\t\t}\n\t\t}\n\n\t\treturn buffer.toString();\n\t}", "title": "" }, { "docid": "bc49e8c2731a0438a0a137fcc047d477", "score": "0.6025528", "text": "public String toString() {\n StringBuffer sb = new StringBuffer(\"LabelValueBean[\");\n sb.append(this.label);\n sb.append(\", \");\n sb.append(this.value);\n sb.append(\"]\");\n return (sb.toString());\n }", "title": "" }, { "docid": "4305850716ae9fbe8b4bc6c0cb70de0f", "score": "0.6023683", "text": "private String toString(Object value) {\n if (value == null) return \"null\";\n // TODO: handle arrays in a nicer way.\n return value.toString();\n }", "title": "" }, { "docid": "efbce411bc362c607052059599464cef", "score": "0.6010408", "text": "@Override\n public final String toString() {\n return this.value;\n }", "title": "" }, { "docid": "714ecfad160b0baa565101ca3fdc3f76", "score": "0.60015774", "text": "@Override\n public String toString() {\n return \"\" + this.value;\n }", "title": "" }, { "docid": "38db62c6f6a31e20c37a061683b5ff50", "score": "0.59918183", "text": "@Override\r\n\tpublic String toString() {\n\t\treturn value + \"\";\r\n\t}", "title": "" }, { "docid": "fe32606a3212f2fa6d8be9db9deac306", "score": "0.59815073", "text": "@Override\n\tpublic String toString() {\n\t\tString str = labelTemplate.toString();\n\t\tswitch (type) {\n\t\tcase SET: str += \":=\"; break;\n\t\tcase DISCARD: str += \"!=\"; break;\n\t\tcase ADD: str += \"+=\"; break;\n\t\t}\n\t\tstr += valueTemplate.toString();\n\t\treturn str;\n\t}", "title": "" }, { "docid": "a7f963fa05b7ad211426a05841075fb1", "score": "0.5960393", "text": "@Override\n\tpublic String toString() {\n\t\treturn (\"\"+label);\n\t}", "title": "" }, { "docid": "e0d8ea37755de7a9d7b5f2386016da3d", "score": "0.5942975", "text": "public LabelValueBean(String label, String value) {\n this.label = label;\n this.value = value;\n }", "title": "" }, { "docid": "7ddf66689f6fc40184b8a452a82ea9bf", "score": "0.59310603", "text": "String getValueFormatted();", "title": "" }, { "docid": "dc03115a3f517f84c93f949ecf89bbf3", "score": "0.59277374", "text": "public String toString()\r\n\t{\r\n\t\treturn \" \" + this.value;\r\n\t}", "title": "" }, { "docid": "82ba232c33cd2f865a51f21d33d103dc", "score": "0.5927449", "text": "public String getValue () { return value; }", "title": "" }, { "docid": "48c406e4ae58ecbccbb3b29e5c02c8fb", "score": "0.592297", "text": "@Override\n public String asText() {\n return value;\n }", "title": "" }, { "docid": "b75356ae3f566da4ca6c2cdea1ad48d2", "score": "0.59217626", "text": "org.hl7.fhir.String getValueString();", "title": "" }, { "docid": "4611a56a8434afdf9f15d0001d658a35", "score": "0.5918887", "text": "public abstract String valueAsText();", "title": "" }, { "docid": "291f8adea3c310797509f70de6961680", "score": "0.5899095", "text": "@Override\n public String getValue() {\n return value;\n }", "title": "" }, { "docid": "2f0eaa6d1aebfacc5c0f42dbbabcbee2", "score": "0.5895604", "text": "protected String getFormattedValue(FacesContext context, UIComponent component,\n Object currentValue ) {\n return currentValue.toString();\n }", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.5888772", "text": "String getValue();", "title": "" }, { "docid": "6a44962afe3dd2d4b31d4dd2a5a84a1e", "score": "0.58796126", "text": "public static String toDisplayValue(Value value, boolean encodeLtGt) {\n\t\tif (value instanceof URI)\n \t\treturn EndpointImpl.api().getRequestMapper().getReconvertableUri((URI) value, encodeLtGt);\n \t\treturn value.stringValue();\n\t}", "title": "" }, { "docid": "b9cbf7406a8497b7cf976e930f737937", "score": "0.5879003", "text": "public String getLabel();", "title": "" }, { "docid": "b9cbf7406a8497b7cf976e930f737937", "score": "0.5879003", "text": "public String getLabel();", "title": "" }, { "docid": "b9cbf7406a8497b7cf976e930f737937", "score": "0.5879003", "text": "public String getLabel();", "title": "" }, { "docid": "b9cbf7406a8497b7cf976e930f737937", "score": "0.5879003", "text": "public String getLabel();", "title": "" }, { "docid": "b128b7af7a18c4590511c9ea6d26e09f", "score": "0.587548", "text": "@Override\n public String toString() {\n \treturn String.valueOf(val);\n }", "title": "" }, { "docid": "2032bc57e8df4ecf99f2f2c323dc0865", "score": "0.5873474", "text": "public String toString() {\n/* 67 */ return String.valueOf(this.val);\n/* */ }", "title": "" }, { "docid": "a95a9d3a8d74edbff273c2332a0d87eb", "score": "0.5873285", "text": "abstract String display(T value);", "title": "" }, { "docid": "b7fa011b28778cd3f7e7829aa1823942", "score": "0.5869866", "text": "public abstract String getLabel();", "title": "" }, { "docid": "312fd22c08f2e75a8cca0b08b7c6d3d2", "score": "0.5862535", "text": "public String toString() {\n return value;\r\n }", "title": "" }, { "docid": "4e12f1d583ec8c8a5b56d3e25e156da3", "score": "0.58489233", "text": "public String getStringValue() {\n return box.getFormat().format(box, box.getValue());\n }", "title": "" }, { "docid": "bd8e2ffab77b26f22b76e8354409c3c8", "score": "0.5833674", "text": "protected String getStringValueText(String value) {\n // TODO(igorkarp): do not quote expressions once they could be detected.\n return getQuote() + value + getQuote();\n }", "title": "" }, { "docid": "119d06d2a28d241a7547b918602ed929", "score": "0.5833426", "text": "String getValue()\n {\n return value.toString();\n }", "title": "" }, { "docid": "7eb3e4960e4e813d5e2020cb908d2eea", "score": "0.58295983", "text": "@Override\n\t\t\tpublic String getValue() {\n\t\t\t\treturn value;\n\t\t\t}", "title": "" }, { "docid": "43d4868e88ee22f9fedbb4f42ff917de", "score": "0.58224237", "text": "public static String readString(Value value) {\n return SafeEncoder.encode((byte[]) value.get());\n }", "title": "" }, { "docid": "0f6b9e145f7a1a9c94113957bb766516", "score": "0.5822345", "text": "@Override\n\tpublic String getString() {\n\t\treturn value;\n\t}", "title": "" }, { "docid": "f301c04db2bf8270cf7195f93ea9197e", "score": "0.58175576", "text": "public String toString() {\n return label;\n }", "title": "" }, { "docid": "b973bff2f0a8749e5bc5f87da98a6fb0", "score": "0.580359", "text": "@Override\n public String getValue() {\n return this.value.toString();\n }", "title": "" }, { "docid": "9d86a7f76ffba9f966b8a3f8d5c4cb19", "score": "0.5796127", "text": "private static String formatClassAndValue(Object value, String valueString)\n\t\t{\n\t\tString className = value == null ? \"null\" : value.getClass().getName();\n\t\treturn className + \"<\" + valueString + \">\";\n\t\t}", "title": "" }, { "docid": "a3dac06fe201e0d9d5fd43a0bd9ec144", "score": "0.5792584", "text": "public Object getLabel(T instance) {\n if (labels.containsKey(instance)) {\n return labels.get(instance);\n } else {\n return \"\";\n }\n }", "title": "" }, { "docid": "f1e44b3a3de974a1451e413427305f68", "score": "0.57859224", "text": "protected String toString(Object expectedValue) {\n\t\treturn expectedValue == null ? \"\" : expectedValue.toString(); //$NON-NLS-1$\n\t}", "title": "" }, { "docid": "e796132646020e09798c512af843b7d7", "score": "0.5784025", "text": "@Override\n\tpublic String toString() {\n\t\treturn label;\n\t}", "title": "" }, { "docid": "a669dded3a6e3320fc543098a41e5a25", "score": "0.57777065", "text": "public String toString() {\n return value;\n }", "title": "" }, { "docid": "f735d58a665218bc0c2b74b0985e2828", "score": "0.5776326", "text": "public String toString()\n\t{\n\t\treturn \"\" + val;\n\t}", "title": "" }, { "docid": "9c6e09d1b60457ba5916a6383a532e2f", "score": "0.57730687", "text": "public abstract String getLabelText();", "title": "" }, { "docid": "f6bd4b76e41ad5ff5a31a16d7c17e341", "score": "0.5772224", "text": "public void setValue (String Value);", "title": "" }, { "docid": "89622e1d189bb478b4d089ab42de27c7", "score": "0.5769627", "text": "public String\ttoString() { return Integer.toString(value); }", "title": "" }, { "docid": "649e92229398bbeaf04be9e82a2f2e01", "score": "0.57572955", "text": "public String getLabelText();", "title": "" }, { "docid": "790343b1bc329e6052fdc6bc3b8f2914", "score": "0.57564825", "text": "public abstract String toText(T value);", "title": "" }, { "docid": "0b007e0d3cf2449323121d5ae4370c62", "score": "0.57548106", "text": "@Override\n\tpublic String getValue() {\n\t\treturn value;\n\t}", "title": "" }, { "docid": "be2a673515cdc1c01e17a99c3b01146d", "score": "0.5735519", "text": "private void setText(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n text_ = value;\n }", "title": "" }, { "docid": "0e2ddf297b18bc25dcac00608f8d14a5", "score": "0.57348275", "text": "public static Label createInputLabel(String lblValue) {\n\t\tLabel lbl = new Label(lblValue);\n\t\tlbl.setFont(Font.font(\"Arial\", FontWeight.SEMI_BOLD, 20));\n\t\treturn lbl;\n\t}", "title": "" }, { "docid": "dd36867cbc83497f8ba74458f94a8491", "score": "0.57333726", "text": "ReadOnlyStringProperty labelProperty();", "title": "" }, { "docid": "d128cc26b36fa7bca73f0adda9482895", "score": "0.57316536", "text": "protected void updateDisplay() {\r\n setValue(Integer.toString(value.getValue()));\r\n }", "title": "" }, { "docid": "a41ba4677cb96656e7a142a37af16d69", "score": "0.5730447", "text": "private String getAllStringForValue(final String value) {\n\t\treturn \"\\\"\" + value + \"\\\"\";\n\t}", "title": "" }, { "docid": "e1f8c5ab0d2c2412d08f96d433e45ba8", "score": "0.5720415", "text": "StringValue createStringValue();", "title": "" } ]